@mortenbrudvik/waveui 0.4.0

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 waveui contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,262 @@
1
+ # waveui
2
+
3
+ A comprehensive React component library inspired by Fluent UI 2 design language with shadcn/ui-inspired patterns. 65 accessible, composable components built with TypeScript, Tailwind CSS, and a flexible slot system.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install waveui
9
+ ```
10
+
11
+ ## Quick Start
12
+
13
+ ```tsx
14
+ import { WaveProvider, Button } from 'waveui';
15
+ import 'waveui/styles';
16
+
17
+ function App() {
18
+ return (
19
+ <WaveProvider theme="light">
20
+ <Button appearance="primary" onClick={() => alert('Clicked!')}>
21
+ Get Started
22
+ </Button>
23
+ </WaveProvider>
24
+ );
25
+ }
26
+ ```
27
+
28
+ Wrap your app (or subtree) in `<WaveProvider>` to apply Wave UI theming. All components inherit theme tokens automatically.
29
+
30
+ ## Component Catalog
31
+
32
+ ### Buttons & Actions
33
+
34
+ | Component | Description |
35
+ |---|---|
36
+ | `Button` | Standard button with primary, outline, subtle, transparent appearances |
37
+ | `CompoundButton` | Button with primary and secondary text lines |
38
+ | `ToggleButton` | Button with pressed/unpressed toggle state |
39
+ | `SplitButton` | Two-part button: main action + dropdown menu trigger |
40
+ | `MenuButton` | Button with integrated dropdown chevron |
41
+ | `Link` | Styled anchor with inline, standalone, and subtle variants |
42
+ | `Toolbar` | Container for grouping button controls |
43
+
44
+ ### Inputs & Forms
45
+
46
+ | Component | Description |
47
+ |---|---|
48
+ | `Input` | Text input with contentBefore/contentAfter slots |
49
+ | `Textarea` | Multi-line text input |
50
+ | `Select` | Dropdown select element |
51
+ | `Checkbox` | Checkbox with label, supports indeterminate state |
52
+ | `Switch` | Toggle switch control |
53
+ | `RadioGroup` | Radio button group with vertical/horizontal orientation |
54
+ | `SearchBox` | Search input with icon and clear button |
55
+ | `Slider` | Range input with visual track and thumb |
56
+ | `SpinButton` | Numeric input with increment/decrement buttons |
57
+ | `DatePicker` | Interactive calendar-based date picker with validation and min/max constraints |
58
+ | `TimePicker` | Dropdown time picker with searchable options and 12h/24h format support |
59
+ | `Field` | Form field wrapper with label, hint, and error support |
60
+ | `Label` | Form label with required indicator and size variants |
61
+ | `Combobox` | Filterable dropdown with type-ahead, Option/OptionGroup sub-components |
62
+ | `Dropdown` | Non-editable selection dropdown with Option/OptionGroup |
63
+ | `SwatchPicker` | Color swatch grid with radiogroup selection pattern |
64
+ | `ColorPicker` | Hex color input with preset swatches and opacity slider |
65
+ | `TagPicker` | Multi-select input with dismissible tags and filterable dropdown |
66
+ | `Rating` | Star-based rating input with hover preview and keyboard navigation |
67
+
68
+ ### Data Display
69
+
70
+ | Component | Description |
71
+ |---|---|
72
+ | `Avatar` | User avatar with image, initials, or icon |
73
+ | `AvatarGroup` | Multiple avatars with overflow handling |
74
+ | `Badge` | Labeled badge with appearance and color variants |
75
+ | `CounterBadge` | Numeric badge with overflow display |
76
+ | `PresenceBadge` | User presence status indicator |
77
+ | `Tag` | Labeled tag with optional dismiss |
78
+ | `InfoLabel` | Label with info tooltip |
79
+ | `Persona` | Avatar with name and status display |
80
+ | `Divider` | Separator with optional label |
81
+ | `Image` | Styled image with fit modes, shapes, and shadow support |
82
+ | `List` | Vertical list with single/multi-select and keyboard navigation |
83
+
84
+ ### Typography
85
+
86
+ | Component | Description |
87
+ |---|---|
88
+ | `Text` | Polymorphic text with 11 Wave UI typography variants |
89
+
90
+ ### Layout
91
+
92
+ | Component | Description |
93
+ |---|---|
94
+ | `Card` | Container with Header, Body, Footer sub-components |
95
+ | `Accordion` | Expandable sections (single or multiple open) |
96
+ | `TabList` | Tab navigation with horizontal/vertical orientation |
97
+ | `Tree` | Hierarchical expandable list with TreeItem sub-components |
98
+ | `Carousel` | Content slider with prev/next buttons and dot indicators |
99
+ | `Overflow` | Overflow detection container with OverflowItem sub-components |
100
+ | `Grid` | CSS Grid layout with customizable columns, rows, gaps, and alignment |
101
+ | `Stack` | Flexbox stacking layout with vertical/horizontal direction and semantic spacing |
102
+ | `Flex` | Low-level flexbox layout with full direction, wrapping, and grow/shrink control |
103
+
104
+ ### Feedback
105
+
106
+ | Component | Description |
107
+ |---|---|
108
+ | `MessageBar` | Status messages (info, success, warning, error) |
109
+ | `ProgressBar` | Linear progress indicator with indeterminate mode |
110
+ | `Skeleton` | Loading placeholder (text, circular, rectangular) |
111
+ | `Spinner` | Animated loading indicator |
112
+ | `Toast` | Floating notification with auto-dismiss, status variants, and Toaster container |
113
+
114
+ ### Navigation
115
+
116
+ | Component | Description |
117
+ |---|---|
118
+ | `Breadcrumb` | Breadcrumb navigation with chevron separators |
119
+ | `Menu` | Dropdown menu with icons, shortcuts, and dividers |
120
+ | `Nav` | Sidebar navigation with NavCategory, NavItem, NavSubItem |
121
+ | `Stepper` | Multi-step process indicator with horizontal/vertical layouts and completion tracking |
122
+ | `Pagination` | Page navigation with ellipsis support and previous/next controls |
123
+
124
+ ### Overlays
125
+
126
+ | Component | Description |
127
+ |---|---|
128
+ | `Dialog` | Modal dialog with trigger, content, and footer |
129
+ | `Drawer` | Slide-out panel (left or right) |
130
+ | `Popover` | Floating content with trigger |
131
+ | `Tooltip` | Hover/focus tooltip (dark and light variants) |
132
+ | `TeachingPopover` | Step-based onboarding popover with navigation controls |
133
+
134
+ ### Data
135
+
136
+ | Component | Description |
137
+ |---|---|
138
+ | `Table` | Data table with Head, Body, Row, Cell sub-components |
139
+ | `DataGrid` | Interactive data grid with sorting and row selection |
140
+
141
+ ### Provider
142
+
143
+ | Component | Description |
144
+ |---|---|
145
+ | `WaveProvider` | Theme and direction provider (light, dark, high-contrast) |
146
+
147
+ ## Theming
148
+
149
+ ### Built-in Themes
150
+
151
+ ```tsx
152
+ <WaveProvider theme="light"> {/* Default */}
153
+ <WaveProvider theme="dark"> {/* Dark mode */}
154
+ <WaveProvider theme="high-contrast"> {/* High contrast */}
155
+ ```
156
+
157
+ ### Direction (RTL Support)
158
+
159
+ ```tsx
160
+ <WaveProvider theme="light" dir="rtl">
161
+ {/* Right-to-left content */}
162
+ </WaveProvider>
163
+ ```
164
+
165
+ ### Theme Context
166
+
167
+ Access the current theme in any component:
168
+
169
+ ```tsx
170
+ import { useWaveTheme } from 'waveui';
171
+
172
+ function MyComponent() {
173
+ const { theme, dir } = useWaveTheme();
174
+ // theme: 'light' | 'dark' | 'high-contrast'
175
+ // dir: 'ltr' | 'rtl'
176
+ }
177
+ ```
178
+
179
+ ## Design Tokens
180
+
181
+ The library uses CSS custom properties for consistent styling:
182
+
183
+ | Token | Light Value | Description |
184
+ |---|---|---|
185
+ | `--color-primary` | `#0f6cbd` | Brand / primary actions |
186
+ | `--color-foreground` | `#242424` | Default text |
187
+ | `--color-background` | `#ffffff` | Page background |
188
+ | `--color-muted-foreground` | `#707070` | Secondary text |
189
+ | `--color-border` | `#d1d1d1` | Default borders |
190
+ | `--color-destructive` | `#c50f1f` | Error states |
191
+ | `--color-success` | `#107c10` | Success states |
192
+ | `--color-warning` | `#bc8b00` | Warning states |
193
+
194
+ ### Spacing
195
+
196
+ 4px base unit grid — all spacing follows multiples of 4px.
197
+
198
+ ### Typography
199
+
200
+ Segoe UI font family with 11 size variants from `caption-2` (10px) to `display` (68px).
201
+
202
+ ### Border Radius
203
+
204
+ 4px default (Wave medium), consistent across all components.
205
+
206
+ ## Hooks
207
+
208
+ | Hook | Description |
209
+ |---|---|
210
+ | `useControllable` | Manage controlled/uncontrolled component state |
211
+ | `useId` | Generate stable unique IDs for accessibility |
212
+ | `useEventCallback` | Stable callback reference without stale closures |
213
+ | `useRovingTabIndex` | Roving tab index for keyboard navigation in composite widgets |
214
+
215
+ ## Slot System
216
+
217
+ Components support a flexible slot system for customizable sub-elements:
218
+
219
+ ```tsx
220
+ <Input
221
+ contentBefore={<SearchIcon />}
222
+ contentAfter={{ children: '🔍', className: 'text-lg' }}
223
+ />
224
+ ```
225
+
226
+ Slots accept `ReactNode` for simple cases or `SlotObject` for full control over props.
227
+
228
+ ## Development
229
+
230
+ ```bash
231
+ # Install dependencies
232
+ npm install
233
+
234
+ # Start dev server
235
+ npm run dev
236
+
237
+ # Run tests (928 unit tests)
238
+ npx vitest run
239
+
240
+ # Type check
241
+ npx tsc --noEmit
242
+
243
+ # Build
244
+ npm run build
245
+
246
+ # Launch Storybook
247
+ npx storybook dev -p 6006
248
+ ```
249
+
250
+ ## Storybook
251
+
252
+ Browse all 65 components with interactive controls:
253
+
254
+ ```bash
255
+ npx storybook dev -p 6006
256
+ ```
257
+
258
+ Then open [http://localhost:6006](http://localhost:6006) to explore components, adjust props via the Controls panel, and see all variants.
259
+
260
+ ## License
261
+
262
+ MIT
package/dist/index.cjs ADDED
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},s=(n,r,a)=>(a=n==null?{}:e(i(n)),o(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));let c=require(`react`);c=s(c);let l=require(`react/jsx-runtime`),u=require(`react-dom`);function d(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=d(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function f(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=d(e))&&(r&&(r+=` `),r+=t);return r}var p=(e,t)=>{let n=Array(e.length+t.length);for(let t=0;t<e.length;t++)n[t]=e[t];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},m=(e,t)=>({classGroupId:e,validator:t}),h=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),g=`-`,_=[],v=`arbitrary..`,y=e=>{let t=S(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith(`[`)&&e.endsWith(`]`))return x(e);let n=e.split(g);return b(n,n[0]===``&&n.length>1?1:0,t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];return t?i?p(i,t):t:i||_}return n[e]||_}}},b=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=b(e,t+1,i);if(n)return n}let a=n.validators;if(a===null)return;let o=t===0?e.join(g):e.slice(t).join(g),s=a.length;for(let e=0;e<s;e++){let t=a[e];if(t.validator(o))return t.classGroupId}},x=e=>e.slice(1,-1).indexOf(`:`)===-1?void 0:(()=>{let t=e.slice(1,-1),n=t.indexOf(`:`),r=t.slice(0,n);return r?v+r:void 0})(),S=e=>{let{theme:t,classGroups:n}=e;return C(n,t)},C=(e,t)=>{let n=h();for(let r in e){let i=e[r];w(i,n,r,t)}return n},w=(e,t,n,r)=>{let i=e.length;for(let a=0;a<i;a++){let i=e[a];T(i,t,n,r)}},T=(e,t,n,r)=>{if(typeof e==`string`){E(e,t,n);return}if(typeof e==`function`){D(e,t,n,r);return}O(e,t,n,r)},E=(e,t,n)=>{let r=e===``?t:k(t,e);r.classGroupId=n},D=(e,t,n,r)=>{if(A(e)){w(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(m(n,e))},O=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];w(o,k(t,a),n,r)}},k=(e,t)=>{let n=e,r=t.split(g),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=h(),n.nextPart.set(t,i)),n=i}return n},A=e=>`isThemeGetter`in e&&e.isThemeGetter===!0,j=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null),i=(i,a)=>{n[i]=a,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];if(t!==void 0)return t;if((t=r[e])!==void 0)return i(e,t),t},set(e,t){e in n?n[e]=t:i(e,t)}}},M=`!`,N=`:`,P=[],ee=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),F=e=>{let{prefix:t,experimentalParseClassName:n}=e,r=e=>{let t=[],n=0,r=0,i=0,a,o=e.length;for(let s=0;s<o;s++){let o=e[s];if(n===0&&r===0){if(o===N){t.push(e.slice(i,s)),i=s+1;continue}if(o===`/`){a=s;continue}}o===`[`?n++:o===`]`?n--:o===`(`?r++:o===`)`&&r--}let s=t.length===0?e:e.slice(i),c=s,l=!1;s.endsWith(M)?(c=s.slice(0,-1),l=!0):s.startsWith(M)&&(c=s.slice(1),l=!0);let u=a&&a>i?a-i:void 0;return ee(t,l,c,u)};if(t){let e=t+N,n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):ee(P,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r},te=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{let n=[],r=[];for(let i=0;i<e.length;i++){let a=e[i],o=a[0]===`[`,s=t.has(a);o||s?(r.length>0&&(r.sort(),n.push(...r),r=[]),n.push(a)):r.push(a)}return r.length>0&&(r.sort(),n.push(...r)),n}},ne=e=>({cache:j(e.cacheSize),parseClassName:F(e),sortModifiers:te(e),...y(e)}),re=/\s+/,ie=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a}=t,o=[],s=e.trim().split(re),c=``;for(let e=s.length-1;e>=0;--e){let t=s[e],{isExternal:l,modifiers:u,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:p}=n(t);if(l){c=t+(c.length>0?` `+c:c);continue}let m=!!p,h=r(m?f.substring(0,p):f);if(!h){if(!m){c=t+(c.length>0?` `+c:c);continue}if(h=r(f),!h){c=t+(c.length>0?` `+c:c);continue}m=!1}let g=u.length===0?``:u.length===1?u[0]:a(u).join(`:`),_=d?g+M:g,v=_+h;if(o.indexOf(v)>-1)continue;o.push(v);let y=i(h,m);for(let e=0;e<y.length;++e){let t=y[e];o.push(_+t)}c=t+(c.length>0?` `+c:c)}return c},I=(...e)=>{let t=0,n,r,i=``;for(;t<e.length;)(n=e[t++])&&(r=L(n))&&(i&&(i+=` `),i+=r);return i},L=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r<e.length;r++)e[r]&&(t=L(e[r]))&&(n&&(n+=` `),n+=t);return n},R=(e,...t)=>{let n,r,i,a,o=o=>(n=ne(t.reduce((e,t)=>t(e),e())),r=n.cache.get,i=n.cache.set,a=s,s(o)),s=e=>{let t=r(e);if(t)return t;let a=ie(e,n);return i(e,a),a};return a=o,(...e)=>a(I(...e))},ae=[],z=e=>{let t=t=>t[e]||ae;return t.isThemeGetter=!0,t},B=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,oe=/^\((?:(\w[\w-]*):)?(.+)\)$/i,se=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,ce=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,le=/\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$/,ue=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,de=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,fe=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,V=e=>se.test(e),H=e=>!!e&&!Number.isNaN(Number(e)),U=e=>!!e&&Number.isInteger(Number(e)),pe=e=>e.endsWith(`%`)&&H(e.slice(0,-1)),W=e=>ce.test(e),me=()=>!0,he=e=>le.test(e)&&!ue.test(e),ge=()=>!1,_e=e=>de.test(e),ve=e=>fe.test(e),ye=e=>!G(e)&&!q(e),be=e=>J(e,Le,ge),G=e=>B.test(e),K=e=>J(e,Re,he),xe=e=>J(e,ze,H),Se=e=>J(e,Ve,me),Ce=e=>J(e,Be,ge),we=e=>J(e,Fe,ge),Te=e=>J(e,Ie,ve),Ee=e=>J(e,He,_e),q=e=>oe.test(e),De=e=>Pe(e,Re),Oe=e=>Pe(e,Be),ke=e=>Pe(e,Fe),Ae=e=>Pe(e,Le),je=e=>Pe(e,Ie),Me=e=>Pe(e,He,!0),Ne=e=>Pe(e,Ve,!0),J=(e,t,n)=>{let r=B.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Pe=(e,t,n=!1)=>{let r=oe.exec(e);return r?r[1]?t(r[1]):n:!1},Fe=e=>e===`position`||e===`percentage`,Ie=e=>e===`image`||e===`url`,Le=e=>e===`length`||e===`size`||e===`bg-size`,Re=e=>e===`length`,ze=e=>e===`number`,Be=e=>e===`family-name`,Ve=e=>e===`number`||e===`weight`,He=e=>e===`shadow`,Ue=R(()=>{let e=z(`color`),t=z(`font`),n=z(`text`),r=z(`font-weight`),i=z(`tracking`),a=z(`leading`),o=z(`breakpoint`),s=z(`container`),c=z(`spacing`),l=z(`radius`),u=z(`shadow`),d=z(`inset-shadow`),f=z(`text-shadow`),p=z(`drop-shadow`),m=z(`blur`),h=z(`perspective`),g=z(`aspect`),_=z(`ease`),v=z(`animate`),y=()=>[`auto`,`avoid`,`all`,`avoid-page`,`page`,`left`,`right`,`column`],b=()=>[`center`,`top`,`bottom`,`left`,`right`,`top-left`,`left-top`,`top-right`,`right-top`,`bottom-right`,`right-bottom`,`bottom-left`,`left-bottom`],x=()=>[...b(),q,G],S=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],C=()=>[`auto`,`contain`,`none`],w=()=>[q,G,c],T=()=>[V,`full`,`auto`,...w()],E=()=>[U,`none`,`subgrid`,q,G],D=()=>[`auto`,{span:[`full`,U,q,G]},U,q,G],O=()=>[U,`auto`,q,G],k=()=>[`auto`,`min`,`max`,`fr`,q,G],A=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`,`center-safe`,`end-safe`],j=()=>[`start`,`end`,`center`,`stretch`,`center-safe`,`end-safe`],M=()=>[`auto`,...w()],N=()=>[V,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...w()],P=()=>[V,`screen`,`full`,`dvw`,`lvw`,`svw`,`min`,`max`,`fit`,...w()],ee=()=>[V,`screen`,`full`,`lh`,`dvh`,`lvh`,`svh`,`min`,`max`,`fit`,...w()],F=()=>[e,q,G],te=()=>[...b(),ke,we,{position:[q,G]}],ne=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],re=()=>[`auto`,`cover`,`contain`,Ae,be,{size:[q,G]}],ie=()=>[pe,De,K],I=()=>[``,`none`,`full`,l,q,G],L=()=>[``,H,De,K],R=()=>[`solid`,`dashed`,`dotted`,`double`],ae=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],B=()=>[H,pe,ke,we],oe=()=>[``,`none`,m,q,G],se=()=>[`none`,H,q,G],ce=()=>[`none`,H,q,G],le=()=>[H,q,G],ue=()=>[V,`full`,...w()];return{cacheSize:500,theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[W],breakpoint:[W],color:[me],container:[W],"drop-shadow":[W],ease:[`in`,`out`,`in-out`],font:[ye],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[W],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[W],shadow:[W],spacing:[`px`,H],text:[W],"text-shadow":[W],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,V,G,q,g]}],container:[`container`],columns:[{columns:[H,G,q,s]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"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:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:T()}],"inset-x":[{"inset-x":T()}],"inset-y":[{"inset-y":T()}],start:[{"inset-s":T(),start:T()}],end:[{"inset-e":T(),end:T()}],"inset-bs":[{"inset-bs":T()}],"inset-be":[{"inset-be":T()}],top:[{top:T()}],right:[{right:T()}],bottom:[{bottom:T()}],left:[{left:T()}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[U,`auto`,q,G]}],basis:[{basis:[V,`full`,`auto`,s,...w()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[H,V,`auto`,`initial`,`none`,G]}],grow:[{grow:[``,H,q,G]}],shrink:[{shrink:[``,H,q,G]}],order:[{order:[U,`first`,`last`,`none`,q,G]}],"grid-cols":[{"grid-cols":E()}],"col-start-end":[{col:D()}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":E()}],"row-start-end":[{row:D()}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":k()}],"auto-rows":[{"auto-rows":k()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:[...A(),`normal`]}],"justify-items":[{"justify-items":[...j(),`normal`]}],"justify-self":[{"justify-self":[`auto`,...j()]}],"align-content":[{content:[`normal`,...A()]}],"align-items":[{items:[...j(),{baseline:[``,`last`]}]}],"align-self":[{self:[`auto`,...j(),{baseline:[``,`last`]}]}],"place-content":[{"place-content":A()}],"place-items":[{"place-items":[...j(),`baseline`]}],"place-self":[{"place-self":[`auto`,...j()]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pbs:[{pbs:w()}],pbe:[{pbe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:M()}],mx:[{mx:M()}],my:[{my:M()}],ms:[{ms:M()}],me:[{me:M()}],mbs:[{mbs:M()}],mbe:[{mbe:M()}],mt:[{mt:M()}],mr:[{mr:M()}],mb:[{mb:M()}],ml:[{ml:M()}],"space-x":[{"space-x":w()}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":w()}],"space-y-reverse":[`space-y-reverse`],size:[{size:N()}],"inline-size":[{inline:[`auto`,...P()]}],"min-inline-size":[{"min-inline":[`auto`,...P()]}],"max-inline-size":[{"max-inline":[`none`,...P()]}],"block-size":[{block:[`auto`,...ee()]}],"min-block-size":[{"min-block":[`auto`,...ee()]}],"max-block-size":[{"max-block":[`none`,...ee()]}],w:[{w:[s,`screen`,...N()]}],"min-w":[{"min-w":[s,`screen`,`none`,...N()]}],"max-w":[{"max-w":[s,`screen`,`none`,`prose`,{screen:[o]},...N()]}],h:[{h:[`screen`,`lh`,...N()]}],"min-h":[{"min-h":[`screen`,`lh`,`none`,...N()]}],"max-h":[{"max-h":[`screen`,`lh`,...N()]}],"font-size":[{text:[`base`,n,De,K]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,Ne,Se]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,pe,G]}],"font-family":[{font:[Oe,Ce,t]}],"font-features":[{"font-features":[G]}],"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:[i,q,G]}],"line-clamp":[{"line-clamp":[H,`none`,q,xe]}],leading:[{leading:[a,...w()]}],"list-image":[{"list-image":[`none`,q,G]}],"list-style-position":[{list:[`inside`,`outside`]}],"list-style-type":[{list:[`disc`,`decimal`,`none`,q,G]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"placeholder-color":[{placeholder:F()}],"text-color":[{text:F()}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...R(),`wavy`]}],"text-decoration-thickness":[{decoration:[H,`from-font`,`auto`,q,K]}],"text-decoration-color":[{decoration:F()}],"underline-offset":[{"underline-offset":[H,`auto`,q,G]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:w()}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,q,G]}],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`,q,G]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:te()}],"bg-repeat":[{bg:ne()}],"bg-size":[{bg:re()}],"bg-image":[{bg:[`none`,{linear:[{to:[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},U,q,G],radial:[``,q,G],conic:[U,q,G]},je,Te]}],"bg-color":[{bg:F()}],"gradient-from-pos":[{from:ie()}],"gradient-via-pos":[{via:ie()}],"gradient-to-pos":[{to:ie()}],"gradient-from":[{from:F()}],"gradient-via":[{via:F()}],"gradient-to":[{to:F()}],rounded:[{rounded:I()}],"rounded-s":[{"rounded-s":I()}],"rounded-e":[{"rounded-e":I()}],"rounded-t":[{"rounded-t":I()}],"rounded-r":[{"rounded-r":I()}],"rounded-b":[{"rounded-b":I()}],"rounded-l":[{"rounded-l":I()}],"rounded-ss":[{"rounded-ss":I()}],"rounded-se":[{"rounded-se":I()}],"rounded-ee":[{"rounded-ee":I()}],"rounded-es":[{"rounded-es":I()}],"rounded-tl":[{"rounded-tl":I()}],"rounded-tr":[{"rounded-tr":I()}],"rounded-br":[{"rounded-br":I()}],"rounded-bl":[{"rounded-bl":I()}],"border-w":[{border:L()}],"border-w-x":[{"border-x":L()}],"border-w-y":[{"border-y":L()}],"border-w-s":[{"border-s":L()}],"border-w-e":[{"border-e":L()}],"border-w-bs":[{"border-bs":L()}],"border-w-be":[{"border-be":L()}],"border-w-t":[{"border-t":L()}],"border-w-r":[{"border-r":L()}],"border-w-b":[{"border-b":L()}],"border-w-l":[{"border-l":L()}],"divide-x":[{"divide-x":L()}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":L()}],"divide-y-reverse":[`divide-y-reverse`],"border-style":[{border:[...R(),`hidden`,`none`]}],"divide-style":[{divide:[...R(),`hidden`,`none`]}],"border-color":[{border:F()}],"border-color-x":[{"border-x":F()}],"border-color-y":[{"border-y":F()}],"border-color-s":[{"border-s":F()}],"border-color-e":[{"border-e":F()}],"border-color-bs":[{"border-bs":F()}],"border-color-be":[{"border-be":F()}],"border-color-t":[{"border-t":F()}],"border-color-r":[{"border-r":F()}],"border-color-b":[{"border-b":F()}],"border-color-l":[{"border-l":F()}],"divide-color":[{divide:F()}],"outline-style":[{outline:[...R(),`none`,`hidden`]}],"outline-offset":[{"outline-offset":[H,q,G]}],"outline-w":[{outline:[``,H,De,K]}],"outline-color":[{outline:F()}],shadow:[{shadow:[``,`none`,u,Me,Ee]}],"shadow-color":[{shadow:F()}],"inset-shadow":[{"inset-shadow":[`none`,d,Me,Ee]}],"inset-shadow-color":[{"inset-shadow":F()}],"ring-w":[{ring:L()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:F()}],"ring-offset-w":[{"ring-offset":[H,K]}],"ring-offset-color":[{"ring-offset":F()}],"inset-ring-w":[{"inset-ring":L()}],"inset-ring-color":[{"inset-ring":F()}],"text-shadow":[{"text-shadow":[`none`,f,Me,Ee]}],"text-shadow-color":[{"text-shadow":F()}],opacity:[{opacity:[H,q,G]}],"mix-blend":[{"mix-blend":[...ae(),`plus-darker`,`plus-lighter`]}],"bg-blend":[{"bg-blend":ae()}],"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":B()}],"mask-image-linear-to-pos":[{"mask-linear-to":B()}],"mask-image-linear-from-color":[{"mask-linear-from":F()}],"mask-image-linear-to-color":[{"mask-linear-to":F()}],"mask-image-t-from-pos":[{"mask-t-from":B()}],"mask-image-t-to-pos":[{"mask-t-to":B()}],"mask-image-t-from-color":[{"mask-t-from":F()}],"mask-image-t-to-color":[{"mask-t-to":F()}],"mask-image-r-from-pos":[{"mask-r-from":B()}],"mask-image-r-to-pos":[{"mask-r-to":B()}],"mask-image-r-from-color":[{"mask-r-from":F()}],"mask-image-r-to-color":[{"mask-r-to":F()}],"mask-image-b-from-pos":[{"mask-b-from":B()}],"mask-image-b-to-pos":[{"mask-b-to":B()}],"mask-image-b-from-color":[{"mask-b-from":F()}],"mask-image-b-to-color":[{"mask-b-to":F()}],"mask-image-l-from-pos":[{"mask-l-from":B()}],"mask-image-l-to-pos":[{"mask-l-to":B()}],"mask-image-l-from-color":[{"mask-l-from":F()}],"mask-image-l-to-color":[{"mask-l-to":F()}],"mask-image-x-from-pos":[{"mask-x-from":B()}],"mask-image-x-to-pos":[{"mask-x-to":B()}],"mask-image-x-from-color":[{"mask-x-from":F()}],"mask-image-x-to-color":[{"mask-x-to":F()}],"mask-image-y-from-pos":[{"mask-y-from":B()}],"mask-image-y-to-pos":[{"mask-y-to":B()}],"mask-image-y-from-color":[{"mask-y-from":F()}],"mask-image-y-to-color":[{"mask-y-to":F()}],"mask-image-radial":[{"mask-radial":[q,G]}],"mask-image-radial-from-pos":[{"mask-radial-from":B()}],"mask-image-radial-to-pos":[{"mask-radial-to":B()}],"mask-image-radial-from-color":[{"mask-radial-from":F()}],"mask-image-radial-to-color":[{"mask-radial-to":F()}],"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":b()}],"mask-image-conic-pos":[{"mask-conic":[H]}],"mask-image-conic-from-pos":[{"mask-conic-from":B()}],"mask-image-conic-to-pos":[{"mask-conic-to":B()}],"mask-image-conic-from-color":[{"mask-conic-from":F()}],"mask-image-conic-to-color":[{"mask-conic-to":F()}],"mask-mode":[{mask:[`alpha`,`luminance`,`match`]}],"mask-origin":[{"mask-origin":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]}],"mask-position":[{mask:te()}],"mask-repeat":[{mask:ne()}],"mask-size":[{mask:re()}],"mask-type":[{"mask-type":[`alpha`,`luminance`]}],"mask-image":[{mask:[`none`,q,G]}],filter:[{filter:[``,`none`,q,G]}],blur:[{blur:oe()}],brightness:[{brightness:[H,q,G]}],contrast:[{contrast:[H,q,G]}],"drop-shadow":[{"drop-shadow":[``,`none`,p,Me,Ee]}],"drop-shadow-color":[{"drop-shadow":F()}],grayscale:[{grayscale:[``,H,q,G]}],"hue-rotate":[{"hue-rotate":[H,q,G]}],invert:[{invert:[``,H,q,G]}],saturate:[{saturate:[H,q,G]}],sepia:[{sepia:[``,H,q,G]}],"backdrop-filter":[{"backdrop-filter":[``,`none`,q,G]}],"backdrop-blur":[{"backdrop-blur":oe()}],"backdrop-brightness":[{"backdrop-brightness":[H,q,G]}],"backdrop-contrast":[{"backdrop-contrast":[H,q,G]}],"backdrop-grayscale":[{"backdrop-grayscale":[``,H,q,G]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[H,q,G]}],"backdrop-invert":[{"backdrop-invert":[``,H,q,G]}],"backdrop-opacity":[{"backdrop-opacity":[H,q,G]}],"backdrop-saturate":[{"backdrop-saturate":[H,q,G]}],"backdrop-sepia":[{"backdrop-sepia":[``,H,q,G]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[``,`all`,`colors`,`opacity`,`shadow`,`transform`,`none`,q,G]}],"transition-behavior":[{transition:[`normal`,`discrete`]}],duration:[{duration:[H,`initial`,q,G]}],ease:[{ease:[`linear`,`initial`,_,q,G]}],delay:[{delay:[H,q,G]}],animate:[{animate:[`none`,v,q,G]}],backface:[{backface:[`hidden`,`visible`]}],perspective:[{perspective:[h,q,G]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:se()}],"rotate-x":[{"rotate-x":se()}],"rotate-y":[{"rotate-y":se()}],"rotate-z":[{"rotate-z":se()}],scale:[{scale:ce()}],"scale-x":[{"scale-x":ce()}],"scale-y":[{"scale-y":ce()}],"scale-z":[{"scale-z":ce()}],"scale-3d":[`scale-3d`],skew:[{skew:le()}],"skew-x":[{"skew-x":le()}],"skew-y":[{"skew-y":le()}],transform:[{transform:[q,G,``,`none`,`gpu`,`cpu`]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:[`3d`,`flat`]}],translate:[{translate:ue()}],"translate-x":[{"translate-x":ue()}],"translate-y":[{"translate-y":ue()}],"translate-z":[{"translate-z":ue()}],"translate-none":[`translate-none`],accent:[{accent:F()}],appearance:[{appearance:[`none`,`auto`]}],"caret-color":[{caret:F()}],"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`,q,G]}],"field-sizing":[{"field-sizing":[`fixed`,`content`]}],"pointer-events":[{"pointer-events":[`auto`,`none`]}],resize:[{resize:[`none`,``,`y`,`x`]}],"scroll-behavior":[{scroll:[`auto`,`smooth`]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mbs":[{"scroll-mbs":w()}],"scroll-mbe":[{"scroll-mbe":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pbs":[{"scroll-pbs":w()}],"scroll-pbe":[{"scroll-pbe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"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`,q,G]}],fill:[{fill:[`none`,...F()]}],"stroke-w":[{stroke:[H,De,K,xe]}],stroke:[{stroke:[`none`,...F()]}],"forced-color-adjust":[{"forced-color-adjust":[`auto`,`none`]}]},conflictingClassGroups:{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`]},orderSensitiveModifiers:[`*`,`**`,`after`,`backdrop`,`before`,`details-content`,`file`,`first-letter`,`first-line`,`marker`,`placeholder`,`selection`]}});function Y(...e){return Ue(f(e))}function We(e){return typeof e==`object`&&!!e&&!c.isValidElement(e)&&!Array.isArray(e)}function Ge(e,t,n){if(e==null||e===!1)return null;let r=t??`span`;if(We(e)){let{as:t,children:i,className:a,...o}=e;return{Component:t??r,props:{...o,className:Y(n,a)},children:i}}return{Component:r,props:{className:n},children:e}}function X(e,t,n){let r=Ge(e,t,n);if(!r)return null;let{Component:i,props:a,children:o}=r;return c.createElement(i,a,o)}function Z(e,t,n){let r=(0,c.useRef)(e!==void 0),i=r.current,[a,o]=(0,c.useState)(t);return(0,c.useEffect)(()=>{if(process.env.NODE_ENV!==`production`){let t=r.current,n=e!==void 0;t!==n&&console.warn(`A component is changing from %s to %s. Components should not switch between controlled and uncontrolled.`,t?`controlled`:`uncontrolled`,n?`controlled`:`uncontrolled`)}},[e]),[i?e:a,(0,c.useCallback)(e=>{if(!i)o(t=>{let r=typeof e==`function`?e(t):e;return n?.(r),r});else{let t=typeof e==`function`?e(a):e;n?.(t)}},[i,n,a])]}function Q(e){let t=(0,c.useId)();return e?`${e}-${t}`:t}function Ke(e){let t=(0,c.useRef)(e);return(0,c.useInsertionEffect)(()=>{t.current=e}),(0,c.useCallback)((...e)=>t.current?.(...e),[])}function qe(e,t){let{activeValue:n,items:r,orientation:i=`horizontal`,loop:a=!0,onFocusMove:o}=t,s=c.useRef(n);return c.useEffect(()=>{s.current=n},[n]),{handleKeyDown:c.useCallback(t=>{let n=r;if(n.length===0)return;let c=null,l=i===`horizontal`||i===`both`,u=i===`vertical`||i===`both`,d=n.indexOf(s.current);switch(t.key){case`ArrowRight`:l&&d!==-1&&(c=d+1);break;case`ArrowLeft`:l&&d!==-1&&(c=d-1);break;case`ArrowDown`:u&&d!==-1&&(c=d+1);break;case`ArrowUp`:u&&d!==-1&&(c=d-1);break;case`Home`:c=0;break;case`End`:c=n.length-1;break;default:return}if(c===null)return;if(t.preventDefault(),a)c=(c%n.length+n.length)%n.length;else if(c=Math.max(0,Math.min(n.length-1,c)),c===d)return;let f=n[c];s.current=f;let p=e.current;p&&p.querySelector(`[data-roving-value="${CSS.escape(f)}"]`)?.focus(),o?.(f)},[r,i,a,o,e]),getTabIndex:c.useCallback(e=>r.includes(n)?e===n?0:-1:e===r[0]?0:-1,[n,r])}}var Je=c.createContext({theme:`light`,dir:`ltr`});function Ye(){return c.useContext(Je)}var Xe={light:``,dark:`dark`,"high-contrast":`high-contrast`},Ze=({theme:e=`light`,dir:t=`ltr`,children:n,className:r,ref:i,...a})=>{process.env.NODE_ENV!==`production`&&e&&!Xe[e]&&console.warn(`WaveProvider: unknown theme "${e}". Valid themes: ${Object.keys(Xe).join(`, `)}`);let o=c.useMemo(()=>({theme:e,dir:t}),[e,t]);return(0,l.jsx)(Je.Provider,{value:o,children:(0,l.jsx)(`div`,{ref:i,dir:t,className:Y(Xe[e],r),...a,children:n})})};Ze.displayName=`WaveProvider`;var Qe={"extra-small":`h-5 px-1.5 text-[10px]`,small:`h-6 px-2 text-xs`,medium:`h-8 px-3 text-sm`,large:`h-10 px-4 text-base`,"extra-large":`h-12 px-5 text-sm`},$e={primary:`bg-primary text-primary-foreground hover:bg-[#115ea3] active:bg-[#0c3b5e]`,outline:`border border-[#d1d1d1] bg-background text-foreground hover:bg-[#f5f5f5] active:bg-[#e0e0e0]`,subtle:`bg-transparent text-foreground hover:bg-[#f5f5f5] active:bg-[#e0e0e0]`,transparent:`bg-transparent text-primary hover:underline`},et=({as:e,appearance:t=`outline`,size:n=`medium`,icon:r,disabled:i,className:a,children:o,ref:s,...c})=>{let u=e||`button`;return(0,l.jsxs)(u,{ref:s,type:u===`button`?`button`:void 0,disabled:i,className:Y(`rounded font-semibold inline-flex items-center justify-center min-w-[96px] transition-colors`,`focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring`,Qe[n],$e[t],r&&o&&`gap-1.5`,i&&`opacity-50 cursor-not-allowed`,a),...c,children:[X(r,`span`,`shrink-0`),o]})};et.displayName=`Button`;var tt={"extra-small":`px-1.5 py-0.5 text-[10px]`,small:`px-2 py-1 text-xs`,medium:`px-3 py-2 text-sm`,large:`px-4 py-3 text-base`,"extra-large":`px-5 py-4 text-sm`},nt={primary:`bg-primary text-primary-foreground hover:bg-[#115ea3] active:bg-[#0c3b5e]`,outline:`border border-[#d1d1d1] bg-background text-foreground hover:bg-[#f5f5f5] active:bg-[#e0e0e0]`,subtle:`bg-transparent text-foreground hover:bg-[#f5f5f5] active:bg-[#e0e0e0]`,transparent:`bg-transparent text-primary hover:underline`},rt=({as:e,secondaryText:t,appearance:n=`outline`,size:r=`medium`,disabled:i,className:a,children:o,ref:s,...c})=>(0,l.jsxs)(e||`button`,{ref:s,disabled:i,className:Y(`rounded font-semibold inline-flex flex-col items-start justify-center min-w-[96px] transition-colors`,`focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring`,tt[r],nt[n],i&&`opacity-50 cursor-not-allowed`,a),...c,children:[(0,l.jsx)(`span`,{className:`font-bold`,children:o}),t&&(0,l.jsx)(`span`,{className:Y(`text-caption-1 font-normal`,n===`primary`?`text-primary-foreground/80`:`text-muted-foreground`),children:t})]});rt.displayName=`CompoundButton`;var it={"extra-small":`h-5 px-1.5 text-[10px]`,small:`h-6 px-2 text-xs`,medium:`h-8 px-3 text-sm`,large:`h-10 px-4 text-base`,"extra-large":`h-12 px-5 text-sm`},at={primary:`bg-[#0c3b5e] text-primary-foreground`,outline:`bg-[#ebf3fc] border border-primary text-primary`,subtle:`bg-[#ebf3fc] text-primary`,transparent:`bg-[#ebf3fc] text-primary`},ot={primary:`bg-primary text-primary-foreground hover:bg-[#115ea3] active:bg-[#0c3b5e]`,outline:`border border-[#d1d1d1] bg-background text-foreground hover:bg-[#f5f5f5] active:bg-[#e0e0e0]`,subtle:`bg-transparent text-foreground hover:bg-[#f5f5f5] active:bg-[#e0e0e0]`,transparent:`bg-transparent text-primary hover:underline`},st=({pressed:e,defaultPressed:t=!1,onPressedChange:n,appearance:r=`outline`,size:i=`medium`,icon:a,disabled:o,className:s,children:c,onClick:u,ref:d,...f})=>{let[p,m]=Z(e,t,n),h=e=>{m(!p),u?.(e)};return(0,l.jsxs)(`button`,{ref:d,"aria-pressed":p,disabled:o,onClick:h,className:Y(`rounded font-semibold inline-flex items-center justify-center min-w-[96px] transition-colors`,`focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring`,it[i],p?at[r]:ot[r],a&&c&&`gap-1.5`,o&&`opacity-50 cursor-not-allowed`,s),...f,children:[X(a,`span`,`shrink-0`),c]})};st.displayName=`ToggleButton`;var ct={"extra-small":`h-5 px-1.5 text-[10px]`,small:`h-6 px-2 text-xs`,medium:`h-8 px-3 text-sm`,large:`h-10 px-4 text-base`,"extra-large":`h-12 px-5 text-sm`},lt={"extra-small":`h-5 px-0.5`,small:`h-6 px-1`,medium:`h-8 px-2`,large:`h-10 px-2`,"extra-large":`h-12 px-3`},ut={primary:`bg-primary text-primary-foreground hover:bg-[#115ea3] active:bg-[#0c3b5e]`,outline:`border border-[#d1d1d1] bg-background text-foreground hover:bg-[#f5f5f5] active:bg-[#e0e0e0]`,subtle:`bg-transparent text-foreground hover:bg-[#f5f5f5] active:bg-[#e0e0e0]`,transparent:`bg-transparent text-primary hover:underline`},dt={primary:`border-l border-[rgba(255,255,255,0.3)]`,outline:`border-l border-[#d1d1d1]`,subtle:`border-l border-[#d1d1d1]`,transparent:`border-l border-[#d1d1d1]`},ft=()=>(0,l.jsx)(`svg`,{width:`12`,height:`12`,viewBox:`0 0 12 12`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`,children:(0,l.jsx)(`path`,{d:`M2.22 4.47a.75.75 0 0 1 1.06 0L6 7.19l2.72-2.72a.75.75 0 1 1 1.06 1.06L6.53 8.78a.75.75 0 0 1-1.06 0L2.22 5.53a.75.75 0 0 1 0-1.06Z`,fill:`currentColor`})}),pt=({appearance:e=`outline`,size:t=`medium`,disabled:n,className:r,children:i,onClick:a,onMenuClick:o,ref:s,...c})=>(0,l.jsxs)(`div`,{ref:s,role:`group`,className:Y(`inline-flex`,r),...c,children:[(0,l.jsx)(`button`,{type:`button`,disabled:n,onClick:a,className:Y(`rounded-l font-semibold inline-flex items-center justify-center min-w-[96px] transition-colors`,`focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring`,ct[t],ut[e],n&&`opacity-50 cursor-not-allowed`),children:i}),(0,l.jsx)(`button`,{disabled:n,onClick:o,"aria-label":`More options`,"aria-haspopup":`menu`,className:Y(`rounded-r inline-flex items-center justify-center transition-colors`,`focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring`,lt[t],ut[e],dt[e],n&&`opacity-50 cursor-not-allowed`),children:(0,l.jsx)(ft,{})})]});pt.displayName=`SplitButton`;var mt={"extra-small":`h-5 px-1.5 text-[10px]`,small:`h-6 px-2 text-xs`,medium:`h-8 px-3 text-sm`,large:`h-10 px-4 text-base`,"extra-large":`h-12 px-5 text-sm`},ht={primary:`bg-primary text-primary-foreground hover:bg-[#115ea3] active:bg-[#0c3b5e]`,outline:`border border-[#d1d1d1] bg-background text-foreground hover:bg-[#f5f5f5] active:bg-[#e0e0e0]`,subtle:`bg-transparent text-foreground hover:bg-[#f5f5f5] active:bg-[#e0e0e0]`,transparent:`bg-transparent text-primary hover:underline`},gt=()=>(0,l.jsx)(`svg`,{width:`12`,height:`12`,viewBox:`0 0 12 12`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`,children:(0,l.jsx)(`path`,{d:`M2.22 4.47a.75.75 0 0 1 1.06 0L6 7.19l2.72-2.72a.75.75 0 1 1 1.06 1.06L6.53 8.78a.75.75 0 0 1-1.06 0L2.22 5.53a.75.75 0 0 1 0-1.06Z`,fill:`currentColor`})}),_t=({appearance:e=`outline`,size:t=`medium`,icon:n,menuIcon:r,expanded:i,disabled:a,className:o,children:s,ref:c,...u})=>(0,l.jsxs)(`button`,{ref:c,disabled:a,"aria-haspopup":`menu`,"aria-expanded":i,className:Y(`rounded font-semibold inline-flex items-center justify-center min-w-[96px] transition-colors gap-1.5`,`focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring`,mt[t],ht[e],a&&`opacity-50 cursor-not-allowed`,o),...u,children:[X(n,`span`,`shrink-0`),s,r==null?(0,l.jsx)(gt,{}):X(r,`span`,`shrink-0`)]});_t.displayName=`MenuButton`;var vt={inline:`text-primary hover:underline`,standalone:`font-semibold text-primary hover:underline`,subtle:`text-foreground hover:underline`},yt=({as:e,variant:t=`inline`,disabled:n,className:r,children:i,onClick:a,ref:o,...s})=>{let c=e||`a`,u=e=>{if(n){e.preventDefault();return}a?.(e)};return(0,l.jsx)(c,{ref:o,"aria-disabled":n||void 0,tabIndex:n?-1:void 0,onClick:u,className:Y(`transition-colors cursor-pointer`,`focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring`,vt[t],n&&`opacity-50 cursor-not-allowed`,r),...s,children:i})};yt.displayName=`Link`;var bt=({as:e,className:t,children:n,ref:r,...i})=>(0,l.jsx)(e||`div`,{ref:r,role:`toolbar`,className:Y(`inline-flex items-center gap-1 p-1 border border-border rounded`,t),...i,children:n});bt.displayName=`Toolbar`;var xt=({error:e,contentBefore:t,contentAfter:n,className:r,ref:i,...a})=>t!=null||n!=null?(0,l.jsxs)(`span`,{className:Y(`inline-flex items-center h-8 w-full rounded border border-input bg-background text-sm text-foreground`,`focus-within:border-b-2 focus-within:border-b-primary`,e&&`border-destructive focus-within:border-b-destructive`,a.disabled&&`opacity-50 cursor-not-allowed`,r),children:[t!=null&&X(t,`span`,`shrink-0 pl-2`),(0,l.jsx)(`input`,{ref:i,className:Y(`h-full w-full bg-transparent px-2 text-sm text-foreground`,`placeholder:text-[#707070]`,`focus:outline-none`,`disabled:cursor-not-allowed`),"aria-invalid":e?!0:void 0,...a}),n!=null&&X(n,`span`,`shrink-0 pr-2`)]}):(0,l.jsx)(`input`,{ref:i,className:Y(`h-8 w-full rounded border border-input bg-background px-3 text-sm text-foreground`,`placeholder:text-[#707070]`,`focus:outline-none focus:border-b-2 focus:border-b-primary`,`disabled:opacity-50 disabled:cursor-not-allowed`,e&&`border-destructive focus:border-b-destructive`,r),"aria-invalid":e?!0:void 0,...a});xt.displayName=`Input`;var St=({error:e,className:t,ref:n,...r})=>(0,l.jsx)(`textarea`,{ref:n,className:Y(`min-h-[80px] w-full resize-y rounded border border-input bg-background px-3 py-2 text-sm text-foreground`,`placeholder:text-[#707070]`,`focus:outline-none focus:border-b-2 focus:border-b-primary`,`disabled:opacity-50 disabled:cursor-not-allowed`,e&&`border-destructive focus:border-b-destructive`,t),"aria-invalid":e?!0:void 0,...r});St.displayName=`Textarea`;var Ct=({label:e,hint:t,error:n,required:r,htmlFor:i,className:a,children:o,ref:s,...u})=>{let d=Q(`field`),f=i??d,p=n?`${f}-error`:void 0,m=t?`${f}-hint`:void 0,h=[p,m].filter(Boolean).join(` `)||void 0;return(0,l.jsxs)(`div`,{ref:s,className:Y(`flex flex-col`,a),...u,children:[e&&(0,l.jsxs)(`label`,{htmlFor:f,className:`mb-1 text-sm font-semibold text-foreground`,children:[e,r&&(0,l.jsx)(`span`,{className:`ml-0.5 text-destructive`,children:`*`})]}),c.Children.map(o,e=>c.isValidElement(e)?c.cloneElement(e,{id:f,"aria-describedby":h,"aria-invalid":n?!0:void 0,"aria-required":r?!0:void 0}):e),n?(0,l.jsx)(`p`,{id:p,className:`mt-1 text-xs text-destructive`,children:n}):t?(0,l.jsx)(`p`,{id:m,className:`mt-1 text-xs text-muted-foreground`,children:t}):null]})};Ct.displayName=`Field`;var wt=({checked:e,defaultChecked:t=!1,indeterminate:n=!1,onChange:r,disabled:i,label:a,className:o,ref:s,...c})=>{let[u,d]=Z(e,t,r),f=Q(`checkbox`);return(0,l.jsxs)(`label`,{ref:s,className:Y(`inline-flex items-center gap-2 select-none`,i?`opacity-50 cursor-not-allowed`:`cursor-pointer`,o),...c,children:[(0,l.jsx)(`button`,{id:f,role:`checkbox`,type:`button`,"aria-checked":n?`mixed`:u,disabled:i,onClick:()=>d(!u),className:Y(`flex h-[18px] w-[18px] shrink-0 items-center justify-center rounded-sm border border-input transition-colors`,`focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring`,(u||n)&&`border-primary bg-primary`),children:n?(0,l.jsx)(`svg`,{width:`12`,height:`12`,viewBox:`0 0 12 12`,fill:`none`,"aria-hidden":`true`,children:(0,l.jsx)(`path`,{d:`M2.5 6h7`,stroke:`white`,strokeWidth:`2`,strokeLinecap:`round`})}):u?(0,l.jsx)(`svg`,{width:`12`,height:`12`,viewBox:`0 0 12 12`,fill:`none`,"aria-hidden":`true`,children:(0,l.jsx)(`path`,{d:`M2.5 6l2.5 2.5L9.5 3`,stroke:`white`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`})}):null}),a&&(0,l.jsx)(`span`,{className:`text-sm text-foreground`,children:a})]})};wt.displayName=`Checkbox`;var Tt=c.createContext(null),Et=({value:e,defaultValue:t=``,onChange:n,orientation:r=`vertical`,children:i,className:a,"aria-label":o,ref:s,...u})=>{let[d,f]=Z(e,t,n),p=Q(`radio`),m=c.useRef(null),{handleKeyDown:h,getTabIndex:g}=qe(m,{activeValue:d,items:c.useMemo(()=>{let e=[];return c.Children.forEach(i,t=>{c.isValidElement(t)&&t.props.value&&!t.props.disabled&&e.push(t.props.value)}),e},[i]),orientation:r===`horizontal`?`horizontal`:`vertical`,loop:!0,onFocusMove:e=>{f(e)}}),_=c.useCallback(e=>{m.current=e,typeof s==`function`?s(e):s&&(s.current=e)},[s]);return(0,l.jsx)(Tt.Provider,{value:{name:p,value:d,onChange:f,getTabIndex:g},children:(0,l.jsx)(`div`,{ref:_,role:`radiogroup`,"aria-label":o,className:Y(`flex`,r===`vertical`?`flex-col gap-2`:`flex-row gap-4`,a),onKeyDown:h,...u,children:i})})};Et.displayName=`RadioGroup`;function Dt({value:e,label:t,disabled:n,className:r}){let i=c.useContext(Tt);if(!i)throw Error(`RadioItem must be used within a RadioGroup`);let a=i.value===e,o=Q(`radio-item`);return(0,l.jsxs)(`label`,{className:Y(`inline-flex items-center gap-2 select-none`,n?`opacity-50 cursor-not-allowed`:`cursor-pointer`,r),children:[(0,l.jsx)(`button`,{id:o,type:`button`,role:`radio`,"aria-checked":a,disabled:n,tabIndex:n?-1:i.getTabIndex(e),"data-roving-value":e,onClick:()=>i.onChange(e),className:Y(`flex h-[18px] w-[18px] shrink-0 items-center justify-center rounded-full border transition-colors`,`focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring`,a?`border-2 border-primary`:`border-input`),children:a&&(0,l.jsx)(`span`,{className:`block h-2 w-2 rounded-full bg-primary`})}),t&&(0,l.jsx)(`span`,{className:`text-sm text-foreground`,children:t})]})}var Ot=({checked:e,defaultChecked:t=!1,onChange:n,disabled:r,label:i,className:a,ref:o,...s})=>{let[c,u]=Z(e,t,n),d=Q(`switch`);return(0,l.jsxs)(`label`,{ref:o,className:Y(`inline-flex items-center gap-2 select-none`,r?`opacity-50 cursor-not-allowed`:`cursor-pointer`,a),...s,children:[(0,l.jsx)(`button`,{id:d,type:`button`,role:`switch`,"aria-checked":c,disabled:r,onClick:()=>u(!c),className:Y(`relative inline-flex h-5 w-10 shrink-0 items-center rounded-full transition-colors duration-200`,`focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring`,c?`bg-primary`:`bg-[#d1d1d1]`),children:(0,l.jsx)(`span`,{className:Y(`block h-[14px] w-[14px] rounded-full bg-white shadow transition-transform duration-200`,c?`translate-x-[23px]`:`translate-x-[3px]`)})}),i&&(0,l.jsx)(`span`,{className:`text-sm text-foreground`,children:i})]})};Ot.displayName=`Switch`;var kt=({error:e,className:t,children:n,ref:r,...i})=>(0,l.jsx)(`select`,{ref:r,className:Y(`h-8 w-full appearance-none rounded border border-input bg-background px-3 pr-8 text-sm text-foreground`,`bg-[length:16px_16px] bg-[position:right_8px_center] bg-no-repeat`,`bg-[url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23707070' d='M3.5 5.5l4.5 5 4.5-5z'/%3E%3C/svg%3E")]`,`focus:outline-none focus:border-b-2 focus:border-b-primary`,`disabled:opacity-50 disabled:cursor-not-allowed`,e&&`border-destructive focus:border-b-destructive`,t),"aria-invalid":e?!0:void 0,...i,children:n});kt.displayName=`Select`;var At=()=>(0,l.jsx)(`svg`,{"aria-hidden":`true`,className:`pointer-events-none h-4 w-4 text-[#707070]`,xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,children:(0,l.jsx)(`path`,{fillRule:`evenodd`,d:`M9 3.5a5.5 5.5 0 100 11 5.5 5.5 0 000-11zM2 9a7 7 0 1112.45 4.38l3.09 3.08a.75.75 0 11-1.06 1.06l-3.09-3.08A7 7 0 012 9z`,clipRule:`evenodd`})}),jt=()=>(0,l.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,className:`h-4 w-4`,children:(0,l.jsx)(`path`,{d:`M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z`})}),Mt=({value:e,defaultValue:t=``,onChange:n,onClear:r,placeholder:i=`Search`,disabled:a,contentBefore:o,contentAfter:s,dismiss:c,className:u,ref:d,...f})=>{let[p,m]=Z(e,t,n),h=()=>{m(``),r?.()};return(0,l.jsxs)(`div`,{ref:d,className:Y(`relative inline-flex items-center w-full`,u),...f,children:[(0,l.jsx)(`span`,{className:`pointer-events-none absolute left-2`,children:o==null?(0,l.jsx)(At,{}):X(o,`span`,`shrink-0`)}),(0,l.jsx)(`input`,{type:`search`,value:p,onChange:e=>m(e.target.value),placeholder:i,disabled:a,className:Y(`h-8 w-full rounded border border-input bg-background pl-8 pr-8 text-sm text-foreground`,`placeholder:text-[#707070]`,`focus:outline-none focus:border-b-2 focus:border-b-primary`,`[&::-webkit-search-cancel-button]:hidden`)}),s!=null&&(0,l.jsx)(`span`,{className:`absolute right-8`,children:X(s,`span`,`shrink-0`)}),p&&(0,l.jsx)(`button`,{type:`button`,onClick:h,disabled:a,className:`absolute right-2 flex h-4 w-4 items-center justify-center text-[#707070] hover:text-foreground`,"aria-label":`Clear search`,children:c==null?(0,l.jsx)(jt,{}):X(c,`span`)})]})};Mt.displayName=`SearchBox`;var Nt=({className:e,label:t,ref:n,...r})=>(0,l.jsx)(`input`,{ref:n,type:`range`,"aria-label":t,className:Y(`w-full cursor-pointer appearance-none bg-transparent`,`[&::-webkit-slider-runnable-track]:h-1 [&::-webkit-slider-runnable-track]:rounded-full [&::-webkit-slider-runnable-track]:bg-[#e0e0e0]`,`[&::-webkit-slider-thumb]:mt-[-8px] [&::-webkit-slider-thumb]:h-5 [&::-webkit-slider-thumb]:w-5 [&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:rounded-full [&::-webkit-slider-thumb]:border-2 [&::-webkit-slider-thumb]:border-white [&::-webkit-slider-thumb]:bg-primary [&::-webkit-slider-thumb]:shadow`,`[&::-moz-range-track]:h-1 [&::-moz-range-track]:rounded-full [&::-moz-range-track]:bg-[#e0e0e0]`,`[&::-moz-range-thumb]:h-5 [&::-moz-range-thumb]:w-5 [&::-moz-range-thumb]:rounded-full [&::-moz-range-thumb]:border-2 [&::-moz-range-thumb]:border-white [&::-moz-range-thumb]:bg-primary [&::-moz-range-thumb]:shadow`,`disabled:opacity-50 disabled:cursor-not-allowed`,`focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring`,e),...r});Nt.displayName=`Slider`;var Pt=({value:e,defaultValue:t=0,onChange:n,min:r=-1/0,max:i=1/0,step:a=1,disabled:o,className:s,ref:c,...u})=>{let[d,f]=Z(e,t,n),p=e=>Math.min(i,Math.max(r,e)),m=()=>f(p(d+a)),h=()=>f(p(d-a)),g=e=>{let t=parseFloat(e.target.value);Number.isNaN(t)||f(p(t))};return(0,l.jsxs)(`div`,{ref:c,className:Y(`inline-flex items-center rounded border border-input`,o&&`opacity-50 cursor-not-allowed`,s),...u,children:[(0,l.jsx)(`button`,{type:`button`,onClick:h,disabled:o||d<=r,"aria-label":`Decrement`,className:`flex h-8 w-8 items-center justify-center border-r border-input text-foreground hover:bg-[#f5f5f5] active:bg-[#e0e0e0] disabled:pointer-events-none disabled:opacity-50`,children:(0,l.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`12`,height:`12`,viewBox:`0 0 12 12`,fill:`none`,children:(0,l.jsx)(`path`,{d:`M2.5 6h7`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`})})}),(0,l.jsx)(`input`,{type:`text`,inputMode:`numeric`,role:`spinbutton`,"aria-valuenow":d,"aria-valuemin":r===-1/0?void 0:r,"aria-valuemax":i===1/0?void 0:i,value:d,onChange:g,disabled:o,className:`h-8 w-12 border-none bg-transparent text-center text-sm text-foreground outline-none [appearance:textfield] [&::-webkit-inner-spin-button]:hidden [&::-webkit-outer-spin-button]:hidden`,"aria-label":`Value`}),(0,l.jsx)(`button`,{type:`button`,onClick:m,disabled:o||d>=i,"aria-label":`Increment`,className:`flex h-8 w-8 items-center justify-center border-l border-input text-foreground hover:bg-[#f5f5f5] active:bg-[#e0e0e0] disabled:pointer-events-none disabled:opacity-50`,children:(0,l.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`12`,height:`12`,viewBox:`0 0 12 12`,fill:`none`,children:(0,l.jsx)(`path`,{d:`M6 2.5v7M2.5 6h7`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`})})})]})};Pt.displayName=`SpinButton`;var Ft={small:`text-caption-1`,medium:`text-body-1`,large:`text-body-2`},It=({required:e=!1,disabled:t=!1,size:n=`medium`,weight:r=`regular`,className:i,children:a,ref:o,...s})=>(0,l.jsxs)(`label`,{ref:o,className:Y(`text-foreground`,Ft[n],r===`semibold`&&`font-semibold`,t&&`text-muted-foreground`,i),...s,children:[a,e&&(0,l.jsx)(`span`,{className:`text-destructive ml-1`,"aria-hidden":`true`,children:`*`})]});It.displayName=`Label`;var $=({value:e,disabled:t=!1,className:n,children:r,ref:i,...a})=>(0,l.jsx)(`li`,{ref:i,role:`option`,"data-value":e,"aria-disabled":t||void 0,className:Y(`px-3 py-1.5 text-body-1 cursor-pointer select-none`,`hover:bg-[#f5f5f5]`,t&&`text-muted-foreground cursor-not-allowed`,n),...a,children:r??e});$.displayName=`Option`;var Lt=({label:e,className:t,children:n,ref:r,...i})=>(0,l.jsxs)(`div`,{ref:r,role:`group`,"aria-label":e,className:Y(t),...i,children:[(0,l.jsx)(`div`,{className:`px-3 py-1 text-caption-1 font-semibold text-muted-foreground`,children:e}),(0,l.jsx)(`ul`,{role:`presentation`,children:n})]});Lt.displayName=`OptionGroup`;var Rt=c.createContext({selectedValue:``,selectOption:()=>{},activeIndex:-1}),zt=({value:e,defaultValue:t=``,onOptionSelect:n,placeholder:r,disabled:i=!1,freeform:a=!1,className:o,children:s,ref:u,...d})=>{let[f,p]=Z(e,t,n),[m,h]=c.useState(t),[g,_]=c.useState(!1);c.useEffect(()=>{e!==void 0&&h(e)},[e]);let[v,y]=c.useState(-1),b=Q(`combobox-listbox`),x=c.useRef(null),S=c.useRef(void 0);c.useEffect(()=>()=>{S.current&&clearTimeout(S.current)},[]);let C=c.useCallback((e,t)=>{p(e),h(t),_(!1),x.current?.focus()},[p]),w=c.useMemo(()=>{let e=[];return c.Children.forEach(s,t=>{if(c.isValidElement(t)&&t.type===$){let n=t.props;e.push({value:n.value,label:typeof n.children==`string`?n.children:n.value})}}),e},[s]),T=c.useMemo(()=>{if(!a||!m)return s;let e=m.toLowerCase();return c.Children.toArray(s).filter(t=>{if(!c.isValidElement(t))return!0;if(t.type===$){let n=t.props;return(typeof n.children==`string`?n.children:n.value).toLowerCase().includes(e)}return!0})},[s,m,a]),E=e=>{if(e.key===`ArrowDown`)e.preventDefault(),_(!0),y(e=>Math.min(e+1,w.length-1));else if(e.key===`ArrowUp`)e.preventDefault(),y(e=>Math.max(e-1,0));else if(e.key===`Enter`&&v>=0&&g){e.preventDefault();let t=w[v];t&&C(t.value,t.label)}else e.key===`Escape`&&_(!1)};return(0,l.jsx)(Rt.Provider,{value:{selectedValue:f,selectOption:C,activeIndex:v},children:(0,l.jsxs)(`div`,{ref:u,className:Y(`relative inline-flex flex-col`,o),...d,children:[(0,l.jsx)(`input`,{ref:x,role:`combobox`,"aria-expanded":g,"aria-controls":b,"aria-autocomplete":`list`,disabled:i,placeholder:r,value:m,onChange:e=>{h(e.target.value),_(!0),y(-1),a&&p(e.target.value)},onFocus:()=>_(!0),onBlur:()=>{S.current=setTimeout(()=>_(!1),200)},onKeyDown:E,className:Y(`h-8 w-full rounded border border-input bg-background px-3 text-sm text-foreground`,`focus:outline-none focus:border-b-2 focus:border-b-primary`,`disabled:opacity-50 disabled:cursor-not-allowed`)}),g&&(0,l.jsx)(`ul`,{id:b,role:`listbox`,className:`absolute top-full left-0 z-50 mt-1 w-full max-h-60 overflow-auto rounded border border-border bg-background py-1 shadow-4`,onMouseDown:e=>e.preventDefault(),children:c.Children.map(T,(e,t)=>{if(!c.isValidElement(e))return e;if(e.type===$){let n=e.props,r=e.props.onClick;return c.cloneElement(e,{"aria-selected":n.value===f,className:Y(n.className,n.value===f&&`bg-[#f0f0f0]`,t===v&&`bg-[#f5f5f5]`),onClick:e=>{if(n.disabled)return;let t=typeof n.children==`string`?n.children:n.value;C(n.value,t),r?.(e)}})}return e})})]})})};zt.displayName=`Combobox`;var Bt=Object.assign(zt,{Option:$,OptionGroup:Lt}),Vt=({value:e,defaultValue:t=``,onOptionSelect:n,placeholder:r=`Select an option`,disabled:i=!1,className:a,children:o,ref:s,...u})=>{let[d,f]=Z(e,t,n),[p,m]=c.useState(!1),[h,g]=c.useState(-1),_=Q(`dropdown-listbox`),v=c.useRef(null),y=c.useRef(void 0);c.useEffect(()=>()=>{y.current&&clearTimeout(y.current)},[]);let b=c.useMemo(()=>{let e=``;return c.Children.forEach(o,t=>{if(c.isValidElement(t)&&t.type===$){let n=t.props;n.value===d&&(e=typeof n.children==`string`?n.children:n.value)}}),e||d},[o,d]),x=c.useMemo(()=>{let e=[];return c.Children.forEach(o,t=>{c.isValidElement(t)&&t.type===$&&e.push(t.props.value)}),e},[o]),S=c.useCallback(e=>{f(e),m(!1),v.current?.focus()},[f]),C=e=>{if(e.key===`ArrowDown`||e.key===` `||e.key===`Enter`){if(e.preventDefault(),!p)m(!0);else if(e.key===`ArrowDown`)g(e=>Math.min(e+1,x.length-1));else if((e.key===`Enter`||e.key===` `)&&h>=0){let e=x[h];e&&S(e)}}else e.key===`ArrowUp`?(e.preventDefault(),g(e=>Math.max(e-1,0))):e.key===`Escape`&&m(!1)};return(0,l.jsxs)(`div`,{ref:s,className:Y(`relative inline-flex flex-col`,a),...u,children:[(0,l.jsxs)(`button`,{ref:v,type:`button`,role:`combobox`,"aria-expanded":p,"aria-controls":_,"aria-haspopup":`listbox`,disabled:i,onClick:()=>m(e=>!e),onKeyDown:C,onBlur:()=>{y.current=setTimeout(()=>m(!1),200)},className:Y(`h-8 w-full rounded border border-input bg-background px-3 text-sm text-left`,`flex items-center justify-between`,`focus:outline-none focus:border-b-2 focus:border-b-primary`,`disabled:opacity-50 disabled:cursor-not-allowed`,!b&&`text-muted-foreground`),children:[(0,l.jsx)(`span`,{className:`truncate`,children:b||r}),(0,l.jsx)(`svg`,{"aria-hidden":`true`,width:`12`,height:`12`,viewBox:`0 0 12 12`,fill:`none`,className:Y(`shrink-0 ml-2 transition-transform`,p&&`rotate-180`),children:(0,l.jsx)(`path`,{d:`M3 4.5l3 3 3-3`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})})]}),p&&(0,l.jsx)(`ul`,{id:_,role:`listbox`,className:`absolute top-full left-0 z-50 mt-1 w-full max-h-60 overflow-auto rounded border border-border bg-background py-1 shadow-4`,onMouseDown:e=>e.preventDefault(),children:c.Children.map(o,(e,t)=>{if(!c.isValidElement(e))return e;if(e.type===$){let n=e.props,r=e.props.onClick;return c.cloneElement(e,{"aria-selected":n.value===d,className:Y(n.className,n.value===d&&`bg-[#f0f0f0]`,t===h&&`bg-[#f5f5f5]`),onClick:e=>{n.disabled||(S(n.value),r?.(e))}})}return e})})]})};Vt.displayName=`Dropdown`;var Ht=Object.assign(Vt,{Option:$,OptionGroup:Lt}),Ut={small:`w-6 h-6`,medium:`w-8 h-8`,large:`w-10 h-10`},Wt={circular:`rounded-full`,square:`rounded-none`,rounded:`rounded`},Gt=({items:e,value:t,defaultValue:n=``,onChange:r,size:i=`medium`,shape:a=`circular`,className:o,ref:s,...c})=>{let[u,d]=Z(t,n,r);return(0,l.jsx)(`div`,{ref:s,role:`radiogroup`,"aria-label":`Color picker`,className:Y(`flex flex-wrap gap-2`,o),...c,children:e.map(e=>{let t=u===e.value;return(0,l.jsx)(`button`,{type:`button`,role:`radio`,"aria-checked":t,"aria-label":e.label||e.color,onClick:()=>d(e.value),className:Y(Ut[i],Wt[a],`relative border-2 transition-all flex items-center justify-center flex-shrink-0`,`focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring`,t?`border-primary shadow-2`:`border-transparent hover:border-[#c0c0c0]`),style:{backgroundColor:e.color},children:t&&(0,l.jsx)(`svg`,{width:`14`,height:`14`,viewBox:`0 0 14 14`,fill:`none`,"aria-hidden":`true`,className:`drop-shadow-sm`,children:(0,l.jsx)(`path`,{d:`M3 7l3 3 5-5`,stroke:`white`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`})})},e.value)})})};Gt.displayName=`SwatchPicker`;var Kt=e=>/^#[0-9A-Fa-f]{6}([0-9A-Fa-f]{2})?$/.test(e),qt=({value:e,defaultValue:t=`#0f6cbd`,onChange:n,presets:r=[`#0f6cbd`,`#d13438`,`#107c10`,`#ffb900`,`#5c2d91`,`#008272`,`#e3008c`,`#242424`],showOpacity:i=!1,className:a,ref:o,...s})=>{let[u,d]=Z(e,t,n),[f,p]=c.useState(u),[m,h]=c.useState(100);c.useEffect(()=>{p(u)},[u]);let g=e=>{let t=e.target.value;t.startsWith(`#`)||(t=`#`+t),p(t),Kt(t)&&d(t)},_=()=>{Kt(f)||p(u)},v=e=>{d(e),p(e)},y=(e,t)=>{let n=e;/^#[0-9a-fA-F]{3}$/.test(e)&&(n=`#${e[1]}${e[1]}${e[2]}${e[2]}${e[3]}${e[3]}`);let r=Math.round(t/100*255).toString(16).padStart(2,`0`);return n.slice(0,7)+r},b=e=>{let t=Number(e.target.value);h(t),i&&d(y(u,t))};return(0,l.jsxs)(`div`,{ref:o,className:Y(`inline-flex flex-col gap-3 p-3 bg-background border border-border rounded shadow-4`,a),...s,children:[(0,l.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,l.jsx)(`div`,{className:`w-10 h-10 rounded border border-border flex-shrink-0`,style:{backgroundColor:i?y(u.slice(0,7),m):u},"aria-hidden":`true`}),(0,l.jsxs)(`label`,{className:`flex flex-col gap-1`,children:[(0,l.jsx)(`span`,{className:`text-caption-1 text-muted-foreground`,children:`Hex`}),(0,l.jsx)(`input`,{type:`text`,value:f,onChange:g,onBlur:_,"aria-label":`Hex color value`,maxLength:9,className:`w-24 px-2 py-1 text-body-1 border border-border rounded bg-background text-foreground focus:outline-none focus:border-primary`})]})]}),r.length>0&&(0,l.jsx)(`div`,{className:`flex flex-wrap gap-1.5`,role:`radiogroup`,"aria-label":`Preset colors`,children:r.map(e=>{let t=u===e;return(0,l.jsx)(`button`,{type:`button`,role:`radio`,"aria-checked":t,"aria-label":e,onClick:()=>v(e),className:Y(`w-7 h-7 rounded border-2 transition-all flex-shrink-0`,`focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring`,t?`border-primary shadow-2`:`border-transparent hover:border-[#c0c0c0]`),style:{backgroundColor:e}},e)})}),i&&(0,l.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,l.jsx)(`span`,{className:`text-caption-1 text-muted-foreground w-14`,children:`Opacity`}),(0,l.jsx)(`input`,{type:`range`,min:0,max:100,value:m,onChange:b,"aria-label":`Opacity`,className:`flex-1 h-1 accent-primary`}),(0,l.jsxs)(`span`,{className:`text-caption-1 text-muted-foreground w-10 text-right`,children:[m,`%`]})]})]})};qt.displayName=`ColorPicker`;var Jt=({options:e,value:t,defaultValue:n,onChange:r,placeholder:i=`Select...`,disabled:a=!1,className:o,ref:s,...u})=>{let[d,f]=Z(t,n??[],r),[p,m]=c.useState(``),[h,g]=c.useState(!1),[_,v]=c.useState(-1),y=c.useRef(null),b=c.useRef(void 0),x=Q(`tagpicker-listbox`);c.useEffect(()=>()=>{b.current&&clearTimeout(b.current)},[]);let S=e.filter(e=>!d.includes(e.value)&&e.label.toLowerCase().includes(p.toLowerCase())),C=e=>{d.includes(e)||f([...d,e]),m(``),v(-1),y.current?.focus()},w=e=>{f(d.filter(t=>t!==e)),y.current?.focus()},T=e=>{if(e.key===`Backspace`&&p===``&&d.length>0){w(d[d.length-1]);return}e.key===`ArrowDown`&&(e.preventDefault(),g(!0),v(e=>Math.min(e+1,S.length-1))),e.key===`ArrowUp`&&(e.preventDefault(),v(e=>e<=0?-1:e-1)),e.key===`Enter`&&_>=0&&S[_]&&(e.preventDefault(),C(S[_].value)),e.key===`Escape`&&(g(!1),v(-1))},E=d.map(t=>e.find(e=>e.value===t)).filter(Boolean);return(0,l.jsxs)(`div`,{ref:s,className:Y(`relative`,a&&`opacity-50 pointer-events-none`,o),...u,children:[(0,l.jsxs)(`div`,{className:Y(`flex flex-wrap items-center gap-1 rounded border border-border bg-background px-2 py-1.5`,`focus-within:border-[#0f6cbd] focus-within:ring-1 focus-within:ring-[#0f6cbd]`),onClick:()=>y.current?.focus(),children:[E.map(e=>(0,l.jsxs)(`span`,{className:`inline-flex items-center gap-1 rounded bg-[#f0f0f0] px-2 py-0.5 text-body-1`,children:[e.label,(0,l.jsx)(`button`,{type:`button`,className:`ml-0.5 text-[#616161] hover:text-[#242424]`,onClick:t=>{t.stopPropagation(),w(e.value)},"aria-label":`Remove ${e.label}`,children:(0,l.jsx)(`svg`,{className:`h-3 w-3`,viewBox:`0 0 12 12`,fill:`currentColor`,"aria-hidden":`true`,children:(0,l.jsx)(`path`,{d:`M9.35 3.35L8.65 2.65 6 5.29 3.35 2.65 2.65 3.35 5.29 6 2.65 8.65 3.35 9.35 6 6.71 8.65 9.35 9.35 8.65 6.71 6z`})})})]},e.value)),(0,l.jsx)(`input`,{ref:y,type:`text`,className:`min-w-[60px] flex-1 bg-transparent outline-none text-body-1 py-0.5`,value:p,onChange:e=>{m(e.target.value),g(!0),v(-1)},onFocus:()=>g(!0),onBlur:()=>{b.current=setTimeout(()=>g(!1),150)},onKeyDown:T,placeholder:d.length===0?i:``,role:`combobox`,"aria-autocomplete":`list`,"aria-expanded":h,"aria-controls":x,"aria-activedescendant":_>=0?`${x}-option-${_}`:void 0,disabled:a})]}),h&&S.length>0&&(0,l.jsx)(`ul`,{id:x,role:`listbox`,className:`absolute z-50 mt-1 max-h-48 w-full overflow-auto rounded border border-border bg-background py-1 shadow-4`,children:S.map((e,t)=>(0,l.jsx)(`li`,{id:`${x}-option-${t}`,role:`option`,"aria-selected":t===_,className:Y(`cursor-pointer px-3 py-1.5 text-body-1`,t===_?`bg-[#f0f0f0]`:`hover:bg-[#f5f5f5]`),onMouseDown:t=>{t.preventDefault(),C(e.value)},children:e.label},e.value))})]})};Jt.displayName=`TagPicker`;var Yt={"extra-small":`h-3 w-3`,small:`h-4 w-4`,medium:`h-5 w-5`,large:`h-6 w-6`,"extra-large":`h-8 w-8`};function Xt({filled:e,className:t}){return(0,l.jsx)(`svg`,{className:t,viewBox:`0 0 20 20`,fill:e?`currentColor`:`none`,stroke:`currentColor`,strokeWidth:e?0:1.5,"aria-hidden":`true`,children:(0,l.jsx)(`path`,{d:`M10 1.5l2.47 5.01 5.53.8-4 3.9.94 5.49L10 13.88l-4.94 2.82.94-5.49-4-3.9 5.53-.8L10 1.5z`})})}var Zt=({value:e,defaultValue:t,onChange:n,max:r=5,size:i=`medium`,disabled:a=!1,className:o,ref:s,...u})=>{let[d,f]=Z(e,t??0,n),[p,m]=c.useState(0),h=p||d,g=Yt[i],_=e=>{(e.key===`ArrowRight`||e.key===`ArrowUp`)&&(e.preventDefault(),f(Math.min(d+1,r))),(e.key===`ArrowLeft`||e.key===`ArrowDown`)&&(e.preventDefault(),f(Math.max(d-1,0)))};return(0,l.jsx)(`div`,{ref:s,role:`radiogroup`,"aria-label":`Rating`,className:Y(`inline-flex items-center gap-0.5`,`focus-visible:outline focus-visible:outline-2 focus-visible:outline-[#0f6cbd] rounded`,a&&`opacity-50 pointer-events-none`,o),onKeyDown:_,tabIndex:a?-1:0,...u,children:Array.from({length:r},(e,t)=>{let n=t+1;return(0,l.jsx)(`button`,{type:`button`,role:`radio`,"aria-checked":d===n,"aria-label":`${n} star${n===1?``:`s`}`,className:Y(`inline-flex cursor-pointer bg-transparent border-0 p-0.5 transition-colors`,h>=n?`text-[#f7b538]`:`text-[#c4c4c4]`),tabIndex:-1,onClick:()=>!a&&f(n),onMouseEnter:()=>!a&&m(n),onMouseLeave:()=>!a&&m(0),disabled:a,children:(0,l.jsx)(Xt,{filled:h>=n,className:g})},t)})})};Zt.displayName=`Rating`;var Qt=({value:e,max:t=5,size:n=`medium`,className:r,ref:i,...a})=>{let o=Yt[n];return(0,l.jsx)(`div`,{ref:i,role:`img`,"aria-label":`Rating: ${e} out of ${t}`,className:Y(`inline-flex items-center gap-0.5`,r),...a,children:Array.from({length:t},(t,n)=>(0,l.jsx)(`span`,{className:Y(`inline-flex`,e>=n+1?`text-[#f7b538]`:`text-[#c4c4c4]`),children:(0,l.jsx)(Xt,{filled:e>=n+1,className:o})},n))})};Qt.displayName=`RatingDisplay`;function $t(e){let t=e.split(`:`).map(Number);if(t.length!==2||t.some(e=>Number.isNaN(e)))return NaN;let[n,r]=t;return(n??0)*60+(r??0)}function en(e,t){let n=Math.floor(e/60)%24,r=e%60;if(t===`24h`)return`${String(n).padStart(2,`0`)}:${String(r).padStart(2,`0`)}`;let i=n>=12?`PM`:`AM`;return`${n===0?12:n>12?n-12:n}:${String(r).padStart(2,`0`)} ${i}`}function tn(e,t,n,r){let i=$t(t),a=$t(n);if(Number.isNaN(i)||Number.isNaN(a))return[];let o=[];for(let t=i;t<=a;t+=e){let e=Math.floor(t/60)%24,n=t%60,i=`${String(e).padStart(2,`0`)}:${String(n).padStart(2,`0`)}`,a=en(t,r);o.push({value:i,label:a})}return o}var nn=({value:e,defaultValue:t=``,onChange:n,format:r=`12h`,step:i=30,minTime:a=`00:00`,maxTime:o=`23:59`,placeholder:s=`Select a time`,disabled:u=!1,clearable:d=!1,className:f,ref:p,...m})=>{let[h,g]=Z(e,t,n),[_,v]=c.useState(!1),[y,b]=c.useState(``),[x,S]=c.useState(-1),C=Q(`timepicker-listbox`),w=c.useRef(null),T=c.useRef(null),E=c.useRef(void 0);c.useEffect(()=>()=>{E.current&&clearTimeout(E.current)},[]);let D=c.useMemo(()=>tn(i,a,o,r),[i,a,o,r]),O=c.useMemo(()=>{if(!y)return D;let e=y.toLowerCase();return D.filter(t=>t.label.toLowerCase().includes(e)||t.value.includes(e))},[D,y]),k=c.useMemo(()=>{if(!h)return``;let e=D.find(e=>e.value===h);return e?e.label:h},[h,D]);c.useEffect(()=>{_||b(k)},[_,k]),c.useEffect(()=>{_&&x>=0&&T.current&&T.current.children[x]?.scrollIntoView({block:`nearest`})},[_,x]);let A=c.useCallback(e=>{g(e),v(!1),S(-1),w.current?.focus()},[g]),j=e=>{b(e.target.value),_||v(!0),S(-1)},M=()=>{v(!0)},N=e=>{e.key===`ArrowDown`?(e.preventDefault(),_?S(e=>Math.min(e+1,O.length-1)):v(!0)):e.key===`ArrowUp`?(e.preventDefault(),S(e=>Math.max(e-1,0))):e.key===`Enter`?(e.preventDefault(),_&&x>=0&&O[x]&&A(O[x].value)):e.key===`Escape`&&(v(!1),S(-1))},P=e=>{e.stopPropagation(),g(``),b(``),w.current?.focus()};return(0,l.jsxs)(`div`,{ref:p,className:Y(`relative inline-flex flex-col`,f),...m,children:[(0,l.jsxs)(`div`,{className:`relative flex items-center`,children:[(0,l.jsx)(`input`,{ref:w,type:`text`,role:`combobox`,"aria-expanded":_,"aria-controls":C,"aria-haspopup":`listbox`,"aria-autocomplete":`list`,value:y,onChange:j,onFocus:M,onKeyDown:N,onBlur:()=>{E.current=setTimeout(()=>v(!1),200)},placeholder:s,disabled:u,className:Y(`h-8 w-full rounded border border-input bg-background px-3 text-sm`,`focus:outline-none focus:border-b-2 focus:border-b-primary`,`disabled:opacity-50 disabled:cursor-not-allowed`,d&&h&&`pr-8`)}),d&&h&&(0,l.jsx)(`button`,{type:`button`,onClick:P,disabled:u,className:`absolute right-2 flex h-4 w-4 items-center justify-center text-[#707070] hover:text-foreground`,"aria-label":`Clear time`,children:(0,l.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,className:`h-4 w-4`,children:(0,l.jsx)(`path`,{d:`M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z`})})})]}),_&&O.length>0&&(0,l.jsx)(`ul`,{ref:T,id:C,role:`listbox`,className:`absolute top-full left-0 z-50 mt-1 w-full max-h-60 overflow-auto rounded border border-border bg-background py-1 shadow-4`,onMouseDown:e=>e.preventDefault(),children:O.map((e,t)=>(0,l.jsx)(`li`,{role:`option`,"aria-selected":e.value===h,className:Y(`cursor-pointer px-3 py-1.5 text-sm`,`hover:bg-[#f5f5f5]`,e.value===h&&`bg-[#f0f0f0]`,t===x&&`bg-[#f5f5f5]`),onClick:()=>A(e.value),children:e.label},e.value))})]})};nn.displayName=`TimePicker`;var rn=nn;function an(e,t,n){let r=(new Date(e,t,1).getDay()-n+7)%7,i=[];for(let n=-r;n<42-r;n++)i.push(new Date(e,t,1+n));return i}function on(e,t){return e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}function sn(e,t){return e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()}function cn(e,t,n,r){return!!(t&&e<new Date(t.getFullYear(),t.getMonth(),t.getDate())||n&&e>new Date(n.getFullYear(),n.getMonth(),n.getDate())||r?.(e))}var ln=[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],un=[`Su`,`Mo`,`Tu`,`We`,`Th`,`Fr`,`Sa`];function dn(e){return e.toLocaleDateString()}function fn(e){if(!e.trim())return null;let t=new Date(e);return isNaN(t.getTime())?null:t}var pn=({value:e,defaultValue:t=null,onChange:n,formatDate:r=dn,parseDate:i=fn,minDate:a,maxDate:o,disabledDates:s,placeholder:u=`Select a date`,disabled:d=!1,clearable:f=!1,firstDayOfWeek:p=0,open:m,onOpenChange:h,className:g,ref:_,...v})=>{let[y,b]=Z(e,t,n),[x,S]=c.useState(!1),C=m===void 0?x:m,w=c.useCallback(e=>{m===void 0&&S(e),h?.(e)},[m,h]),[T,E]=c.useState(``),[D,O]=c.useState(()=>{let e=y??new Date;return new Date(e.getFullYear(),e.getMonth(),1)}),[k,A]=c.useState(null),j=Q(`datepicker-grid`),M=c.useRef(null),N=c.useRef(null),P=c.useRef(void 0),ee=new Date;c.useEffect(()=>()=>{P.current&&clearTimeout(P.current)},[]),c.useEffect(()=>{C||E(y?r(y):``)},[C,y,r]),c.useEffect(()=>{y&&O(new Date(y.getFullYear(),y.getMonth(),1))},[y]);let F=c.useMemo(()=>an(D.getFullYear(),D.getMonth(),p),[D,p]),te=c.useMemo(()=>{let e=[];for(let t=0;t<7;t++)e.push(un[(p+t)%7]);return e},[p]),ne=c.useCallback(e=>{cn(e,a,o,s)||(b(e),w(!1),M.current?.focus())},[b,w,a,o,s]),re=e=>{E(e.target.value)},ie=()=>{let e=i(T);e&&!cn(e,a,o,s)?b(e):T.trim()?E(y?r(y):``):b(null),P.current=setTimeout(()=>w(!1),200)},I=e=>{if(e.key===`Enter`){e.preventDefault();let t=i(T);t&&!cn(t,a,o,s)&&ne(t)}else e.key===`Escape`&&w(!1)},L=()=>{if(!d&&(w(!C),!C)){let e=y??ee;A(e),O(new Date(e.getFullYear(),e.getMonth(),1))}},R=e=>{O(t=>new Date(t.getFullYear(),t.getMonth()+e,1))},ae=e=>{if(!k)return;let t=null;switch(e.key){case`ArrowRight`:e.preventDefault(),t=new Date(k.getFullYear(),k.getMonth(),k.getDate()+1);break;case`ArrowLeft`:e.preventDefault(),t=new Date(k.getFullYear(),k.getMonth(),k.getDate()-1);break;case`ArrowDown`:e.preventDefault(),t=new Date(k.getFullYear(),k.getMonth(),k.getDate()+7);break;case`ArrowUp`:e.preventDefault(),t=new Date(k.getFullYear(),k.getMonth(),k.getDate()-7);break;case`PageDown`:e.preventDefault(),t=new Date(k.getFullYear(),k.getMonth()+1,k.getDate());break;case`PageUp`:e.preventDefault(),t=new Date(k.getFullYear(),k.getMonth()-1,k.getDate());break;case`Enter`:e.preventDefault(),ne(k);return;case`Escape`:e.preventDefault(),w(!1),M.current?.focus();return}t&&(A(t),sn(t,D)||O(new Date(t.getFullYear(),t.getMonth(),1)))},z=e=>{e.stopPropagation(),b(null),E(``),M.current?.focus()};return(0,l.jsxs)(`div`,{ref:_,className:Y(`relative inline-flex flex-col`,g),...v,children:[(0,l.jsxs)(`div`,{className:`relative flex items-center`,children:[(0,l.jsx)(`input`,{ref:M,type:`text`,value:T,onChange:re,onBlur:ie,onKeyDown:I,placeholder:u,disabled:d,className:Y(`h-8 w-full rounded border border-input bg-background px-3 pr-16 text-sm`,`focus:outline-none focus:border-b-2 focus:border-b-primary`,`disabled:opacity-50 disabled:cursor-not-allowed`)}),f&&y&&(0,l.jsx)(`button`,{type:`button`,onClick:z,disabled:d,className:`absolute right-8 flex h-4 w-4 items-center justify-center text-[#707070] hover:text-foreground`,"aria-label":`Clear date`,children:(0,l.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,className:`h-4 w-4`,children:(0,l.jsx)(`path`,{d:`M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z`})})}),(0,l.jsx)(`button`,{type:`button`,onClick:L,disabled:d,className:`absolute right-2 flex h-4 w-4 items-center justify-center text-[#707070] hover:text-foreground`,"aria-label":`Open calendar`,children:(0,l.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,className:`h-4 w-4`,children:(0,l.jsx)(`path`,{fillRule:`evenodd`,d:`M5.75 2a.75.75 0 01.75.75V4h7V2.75a.75.75 0 011.5 0V4h.25A2.75 2.75 0 0118 6.75v8.5A2.75 2.75 0 0115.25 18H4.75A2.75 2.75 0 012 15.25v-8.5A2.75 2.75 0 014.75 4H5V2.75A.75.75 0 015.75 2zm-1 5.5c-.69 0-1.25.56-1.25 1.25v6.5c0 .69.56 1.25 1.25 1.25h10.5c.69 0 1.25-.56 1.25-1.25v-6.5c0-.69-.56-1.25-1.25-1.25H4.75z`,clipRule:`evenodd`})})})]}),C&&(0,l.jsxs)(`div`,{className:`absolute top-full left-0 z-50 mt-1 rounded border border-border bg-background p-3 shadow-4`,onMouseDown:e=>e.preventDefault(),children:[(0,l.jsxs)(`div`,{className:`mb-2 flex items-center justify-between`,children:[(0,l.jsx)(`button`,{type:`button`,onClick:()=>R(-1),className:`flex h-6 w-6 items-center justify-center rounded hover:bg-[#f5f5f5]`,"aria-label":`Previous month`,children:(0,l.jsx)(`svg`,{width:`12`,height:`12`,viewBox:`0 0 12 12`,fill:`none`,children:(0,l.jsx)(`path`,{d:`M7.5 9L4.5 6l3-3`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})})}),(0,l.jsxs)(`span`,{className:`text-sm font-semibold`,children:[ln[D.getMonth()],` `,D.getFullYear()]}),(0,l.jsx)(`button`,{type:`button`,onClick:()=>R(1),className:`flex h-6 w-6 items-center justify-center rounded hover:bg-[#f5f5f5]`,"aria-label":`Next month`,children:(0,l.jsx)(`svg`,{width:`12`,height:`12`,viewBox:`0 0 12 12`,fill:`none`,children:(0,l.jsx)(`path`,{d:`M4.5 3l3 3-3 3`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})})})]}),(0,l.jsxs)(`table`,{ref:N,id:j,role:`grid`,tabIndex:0,onKeyDown:ae,className:`border-collapse`,"aria-label":`Calendar`,children:[(0,l.jsx)(`thead`,{children:(0,l.jsx)(`tr`,{children:te.map(e=>(0,l.jsx)(`th`,{className:`h-7 w-7 text-center text-xs font-medium text-muted-foreground`,scope:`col`,children:e},e))})}),(0,l.jsx)(`tbody`,{children:Array.from({length:6},(e,t)=>(0,l.jsx)(`tr`,{children:F.slice(t*7,t*7+7).map((e,t)=>{let n=sn(e,D),r=y!=null&&on(e,y),i=on(e,ee),c=k!=null&&on(e,k),u=cn(e,a,o,s);return(0,l.jsx)(`td`,{className:`p-0`,children:(0,l.jsx)(`button`,{type:`button`,tabIndex:-1,disabled:u,onClick:()=>ne(e),className:Y(`h-7 w-7 rounded text-xs`,`hover:bg-[#f5f5f5]`,!n&&`text-muted-foreground opacity-40`,i&&!r&&`border border-primary`,r&&`bg-primary text-white hover:bg-primary`,c&&!r&&`ring-1 ring-primary`,u&&`opacity-50 cursor-not-allowed hover:bg-transparent`),"aria-label":e.toDateString(),children:e.getDate()})},t)})},t))})]})]})]})};pn.displayName=`DatePicker`;var mn=pn,hn={"extra-small":`w-6 h-6 text-[10px]`,small:`w-8 h-8 text-xs`,medium:`w-10 h-10 text-sm`,large:`w-12 h-12 text-base`,"extra-large":`w-14 h-14 text-lg`};function gn(e){let t=e.trim();if(!t)return``;let n=t.split(/\s+/);return((n[0]?.[0]??``)+(n.length>1?n[n.length-1][0]:``)).toUpperCase()}var _n=({src:e,name:t,size:n=`medium`,icon:r,image:i,badge:a,className:o,ref:s,...c})=>{let u=e?``:r?`bg-[#f0f0f0] text-[#707070]`:`bg-primary text-white`,d=(0,l.jsx)(`span`,{ref:s,className:Y(`inline-flex items-center justify-center rounded-full overflow-hidden shrink-0 font-bold`,hn[n],u,o),...c,children:i?X(i,`img`,`w-full h-full object-cover`):e?(0,l.jsx)(`img`,{src:e,alt:t??``,className:`w-full h-full object-cover`}):r||(t?(0,l.jsx)(`span`,{children:gn(t)}):null)});return a?(0,l.jsxs)(`span`,{className:`relative inline-flex`,children:[d,(0,l.jsx)(`span`,{className:`absolute bottom-0 right-0`,children:X(a,`span`)})]}):d};_n.displayName=`Avatar`;var vn={"extra-small":`w-6 h-6 text-[10px]`,small:`w-8 h-8 text-xs`,medium:`w-10 h-10 text-sm`,large:`w-12 h-12 text-base`,"extra-large":`w-14 h-14 text-lg`},yn=({max:e,size:t=`medium`,className:n,children:r,ref:i,...a})=>{let o=c.Children.toArray(r),s=e&&o.length>e?o.slice(0,e):o,u=e&&o.length>e?o.length-e:0;return(0,l.jsxs)(`div`,{ref:i,className:Y(`inline-flex items-center`,n),...a,children:[s.map((e,t)=>(0,l.jsx)(`span`,{className:Y(t>0&&`-ml-2`,`ring-2 ring-white rounded-full`),children:e},e?.key??t)),u>0&&(0,l.jsxs)(`span`,{className:Y(`-ml-2 ring-2 ring-white rounded-full inline-flex items-center justify-center bg-muted text-muted-foreground font-semibold`,vn[t]),children:[`+`,u]})]})};yn.displayName=`AvatarGroup`;var bn={brand:{bg:`bg-primary`,text:`text-white`,tintBg:`bg-[#ebf3fc]`,tintText:`text-[#0f6cbd]`,border:`border-primary`},success:{bg:`bg-success`,text:`text-white`,tintBg:`bg-[#e6f2e6]`,tintText:`text-[#107c10]`,border:`border-success`},warning:{bg:`bg-warning`,text:`text-[#242424]`,tintBg:`bg-[#fefce8]`,tintText:`text-[#4d2c00]`,border:`border-warning`},danger:{bg:`bg-destructive`,text:`text-white`,tintBg:`bg-[#fde7e9]`,tintText:`text-[#c50f1f]`,border:`border-destructive`},important:{bg:`bg-severe`,text:`text-white`,tintBg:`bg-[#fdf0ec]`,tintText:`text-[#da3b01]`,border:`border-severe`},informative:{bg:`bg-muted`,text:`text-foreground`,tintBg:`bg-muted`,tintText:`text-foreground`,border:`border-border`}},xn={"extra-small":`text-[10px] leading-[14px] px-1`,small:`text-[10px] leading-[14px] px-1`,medium:`text-caption-1 px-2 py-0.5`,large:`text-body-2 px-2.5 py-0.5`,"extra-large":`text-body-2 px-2.5 py-0.5`},Sn=({appearance:e=`filled`,color:t=`brand`,size:n=`medium`,className:r,children:i,ref:a,...o})=>{let s=bn[t],c=e===`filled`?Y(s.bg,s.text):e===`tint`?Y(s.tintBg,s.tintText):Y(`bg-transparent border`,s.border,`text-foreground`);return(0,l.jsx)(`span`,{ref:a,className:Y(`rounded-full inline-flex items-center font-semibold`,xn[n],c,r),...o,children:i})};Sn.displayName=`Badge`;var Cn={available:`bg-success`,busy:`bg-destructive`,away:`bg-warning`,offline:`bg-[var(--grey-60)]`,dnd:`bg-destructive`,oof:`bg-severe`},wn={available:`Available`,busy:`Busy`,away:`Away`,offline:`Offline`,dnd:`Do not disturb`,oof:`Out of office`},Tn={"extra-small":`w-1.5 h-1.5`,small:`w-2 h-2`,medium:`w-2.5 h-2.5`,large:`w-3 h-3`,"extra-large":`w-3.5 h-3.5`},En=({status:e,size:t=`medium`,className:n,ref:r,...i})=>(0,l.jsx)(`span`,{ref:r,className:Y(`rounded-full inline-block`,Tn[t],Cn[e],n),role:`status`,"aria-label":wn[e],...i});En.displayName=`PresenceBadge`;var Dn=({count:e,overflowCount:t=99,appearance:n=`filled`,className:r,ref:i,...a})=>{if(e<=0)return null;let o=e>t?`${t}+`:String(e);return(0,l.jsx)(`span`,{ref:i,className:Y(`min-w-5 h-5 rounded-full text-caption-1 font-semibold inline-flex items-center justify-center px-1.5`,n===`filled`?`bg-primary text-white`:`bg-transparent border border-primary text-primary`,r),...a,children:o})};Dn.displayName=`CounterBadge`;var On=({as:e=`span`,dismissible:t,onDismiss:n,dismissIcon:r,className:i,children:a,ref:o,...s})=>{let c=(0,l.jsx)(`button`,{type:`button`,onClick:n,className:`relative w-5 h-5 inline-flex items-center justify-center rounded-full hover:bg-[#e0e0e0] text-foreground`,"aria-label":`Dismiss`,children:(0,l.jsx)(`svg`,{width:`12`,height:`12`,viewBox:`0 0 12 12`,fill:`none`,children:(0,l.jsx)(`path`,{d:`M3 3l6 6M9 3l-6 6`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`})})});return(0,l.jsxs)(e,{ref:o,className:Y(`bg-[#f0f0f0] rounded-full pl-3 py-1 text-body-1 inline-flex items-center gap-1`,t?`pr-1.5`:`pr-3`,i),...s,children:[a,t&&(r?X(r,`span`):c)]})};On.displayName=`Tag`;function kn(e){return e===`extra-small`||e===`small`?`small`:`medium`}var An=({name:e,secondaryText:t,src:n,size:r=`medium`,status:i,avatar:a,badge:o,className:s,ref:c,...u})=>(0,l.jsxs)(`div`,{ref:c,className:Y(`inline-flex items-center gap-3`,s),...u,children:[(0,l.jsxs)(`div`,{className:`relative`,children:[a?X(a,`span`):(0,l.jsx)(_n,{src:n,name:e,size:r}),o?(0,l.jsx)(`span`,{className:`absolute bottom-0 right-0`,children:X(o,`span`)}):i?(0,l.jsx)(`span`,{className:`absolute bottom-0 right-0`,children:(0,l.jsx)(En,{status:i,size:kn(r)})}):null]}),(0,l.jsxs)(`div`,{className:`flex flex-col`,children:[(0,l.jsx)(`span`,{className:`font-semibold text-body-1`,children:e}),t&&(0,l.jsx)(`span`,{className:`text-caption-1 text-muted-foreground`,children:t})]})]});An.displayName=`Persona`;var jn=({as:e,orientation:t=`horizontal`,className:n,children:r,ref:i,...a})=>t===`vertical`?(0,l.jsx)(e||`div`,{ref:i,className:Y(`border-l border-border h-6 inline-block`,n),role:`separator`,"aria-orientation":`vertical`,...a}):r?(0,l.jsxs)(e||`div`,{ref:i,className:Y(`flex items-center gap-3`,n),role:`separator`,...a,children:[(0,l.jsx)(`hr`,{className:`flex-1 border-t border-border`}),(0,l.jsx)(`span`,{className:`text-caption-1 text-muted-foreground shrink-0`,children:r}),(0,l.jsx)(`hr`,{className:`flex-1 border-t border-border`})]}):(0,l.jsx)(e||`hr`,{ref:i,className:Y(`border-t border-border w-full`,n),role:`separator`,...a});jn.displayName=`Divider`;var Mn=({label:e,info:t,className:n,ref:r,...i})=>(0,l.jsxs)(`span`,{ref:r,className:Y(`inline-flex items-center gap-1 text-body-1`,n),...i,children:[e,(0,l.jsx)(`span`,{className:`text-muted-foreground cursor-help`,title:t,tabIndex:0,"aria-label":t,role:`img`,children:(0,l.jsxs)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 16 16`,fill:`none`,"aria-hidden":`true`,children:[(0,l.jsx)(`circle`,{cx:`8`,cy:`8`,r:`7`,stroke:`currentColor`,strokeWidth:`1.2`}),(0,l.jsx)(`text`,{x:`8`,y:`12`,textAnchor:`middle`,fill:`currentColor`,fontSize:`10`,fontWeight:`600`,children:`i`})]})})]});Mn.displayName=`InfoLabel`;var Nn={none:`object-none`,center:`object-none object-center`,contain:`object-contain`,cover:`object-cover`,default:``},Pn={circular:`rounded-full`,rounded:`rounded`,square:`rounded-none`},Fn=({fit:e=`default`,shape:t=`square`,shadow:n=!1,block:r=!1,bordered:i=!1,className:a,alt:o,ref:s,...c})=>(0,l.jsx)(`img`,{ref:s,alt:o,className:Y(Nn[e],Pn[t],r?`block w-full`:`inline-block`,n&&`shadow-4`,i&&`border border-border`,a),...c});Fn.displayName=`Image`;var In=c.createContext({selectable:!1,selectionMode:`single`,selectedItems:[],toggleItem:()=>{}}),Ln=({selectable:e=!1,selectionMode:t=`single`,selectedItems:n,defaultSelectedItems:r=[],onSelectionChange:i,className:a,children:o,ref:s,...u})=>{let[d,f]=Z(n,r,i),p=c.useCallback(e=>{f(t===`single`?d.includes(e)?[]:[e]:d.includes(e)?d.filter(t=>t!==e):[...d,e])},[t,d,f]),m=e=>{let t=e.currentTarget.querySelectorAll(`[role="option"], [role="listitem"]`),n=Array.from(t).indexOf(document.activeElement),r=n;e.key===`ArrowDown`?(e.preventDefault(),r=n<t.length-1?n+1:0):e.key===`ArrowUp`?(e.preventDefault(),r=n>0?n-1:t.length-1):e.key===`Home`?(e.preventDefault(),r=0):e.key===`End`&&(e.preventDefault(),r=t.length-1),t[r]?.focus()};return(0,l.jsx)(In.Provider,{value:{selectable:e,selectionMode:t,selectedItems:d,toggleItem:p},children:(0,l.jsx)(`ul`,{ref:s,role:e?`listbox`:`list`,"aria-multiselectable":e&&t===`multi`?!0:void 0,onKeyDown:e?m:void 0,className:Y(`list-none m-0 p-0`,a),...u,children:o})})};Ln.displayName=`List`;var Rn=({value:e,action:t,className:n,children:r,onClick:i,ref:a,...o})=>{let{selectable:s,selectedItems:u,toggleItem:d}=c.useContext(In),f=e?u.includes(e):!1,p=t=>{s&&e&&d(e),i?.(t)},m=t=>{s&&e&&(t.key===`Enter`||t.key===` `)&&(t.preventDefault(),d(e))};return(0,l.jsxs)(`li`,{ref:a,role:s?`option`:`listitem`,tabIndex:s?0:void 0,"aria-selected":s?f:void 0,onClick:p,onKeyDown:m,className:Y(`flex items-center px-4 py-2 text-body-1 border-b border-border`,s&&`cursor-pointer hover:bg-[#f5f5f5]`,f&&`bg-[#f0f0f0]`,n),...o,children:[(0,l.jsx)(`span`,{className:`flex-1`,children:r}),t&&(0,l.jsx)(`span`,{className:`flex-shrink-0 ml-2`,children:t})]})};Rn.displayName=`ListItem`;var zn=Object.assign(Ln,{Item:Rn}),Bn={"caption-2":`text-caption-2`,"caption-1":`text-caption-1`,"body-1":`text-body-1`,"body-2":`text-body-2`,"subtitle-2":`text-subtitle-2`,"subtitle-1":`text-subtitle-1`,"title-3":`text-title-3`,"title-2":`text-title-2`,"title-1":`text-title-1`,"large-title":`text-large-title`,display:`text-display`},Vn={400:`font-normal`,600:`font-semibold`,700:`font-bold`},Hn=({variant:e=`body-1`,weight:t,as:n=`span`,className:r,ref:i,...a})=>(0,l.jsx)(n,{ref:i,className:Y(Bn[e],t&&Vn[t],r),...a});Hn.displayName=`Text`;var Un=c.createContext({}),Wn=({as:e=`div`,selected:t,onSelect:n,className:r,children:i,ref:a,...o})=>(0,l.jsx)(Un.Provider,{value:{selected:t},children:(0,l.jsx)(e,{ref:a,className:Y(`border border-border rounded-lg bg-card shadow-4 overflow-hidden`,t&&`border-primary bg-[#ebf3fc]`,n&&`cursor-pointer`,r),onClick:n,...o,children:i})});Wn.displayName=`Card`;var Gn=({as:e=`div`,title:t,subtitle:n,className:r,children:i,ref:a,...o})=>(0,l.jsxs)(e,{ref:a,className:Y(`p-4`,r),...o,children:[t&&(0,l.jsx)(`div`,{className:`text-subtitle-1`,children:t}),n&&(0,l.jsx)(`div`,{className:`text-caption-1 text-muted-foreground`,children:n}),i]});Gn.displayName=`CardHeader`;var Kn=({as:e=`div`,className:t,ref:n,...r})=>(0,l.jsx)(e,{ref:n,className:Y(`p-4 pt-0`,t),...r});Kn.displayName=`CardBody`;var qn=({as:e=`div`,className:t,ref:n,...r})=>(0,l.jsx)(e,{ref:n,className:Y(`p-4 pt-0 flex justify-end gap-2`,t),...r});qn.displayName=`CardFooter`;var Jn=Object.assign(Wn,{Header:Gn,Body:Kn,Footer:qn}),Yn=c.createContext({openItems:[],toggle:()=>{}}),Xn=({type:e=`single`,openItems:t,defaultOpenItems:n=[],onOpenItemsChange:r,className:i,children:a,ref:o,...s})=>{let[u,d]=Z(t,n,r),f=c.useCallback(t=>{d(u.includes(t)?u.filter(e=>e!==t):e===`single`?[t]:[...u,t])},[e,u,d]);return(0,l.jsx)(Yn.Provider,{value:{openItems:u,toggle:f},children:(0,l.jsx)(`div`,{ref:o,className:Y(`divide-y divide-border`,i),...s,children:a})})};Xn.displayName=`Accordion`;var Zn=(e,t)=>{let n=[];return c.Children.forEach(e,e=>{c.isValidElement(e)&&e.type===t&&n.push(e)}),n},Qn=({value:e,className:t,children:n,ref:r,...i})=>{let{openItems:a,toggle:o}=c.useContext(Yn),s=a.includes(e),u=e.replace(/[^a-zA-Z0-9-_]/g,`_`),d=`accordion-panel-${u}`,f=`accordion-trigger-${u}`,p=Zn(n,$n),m=Zn(n,er),h=[];return c.Children.forEach(n,e=>{c.isValidElement(e)&&e.type!==$n&&e.type!==er&&h.push(e)}),(0,l.jsxs)(`div`,{ref:r,className:Y(t),...i,children:[(0,l.jsxs)(`button`,{type:`button`,id:f,"aria-controls":d,"aria-expanded":s,onClick:()=>o(e),className:`w-full flex justify-between items-center py-3 px-4 font-semibold text-body-1`,children:[p.length>0?p.map(e=>c.isValidElement(e)?e.props.children:e):e,(0,l.jsx)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 16 16`,fill:`none`,className:Y(`transition-transform shrink-0`,s&&`rotate-180`),children:(0,l.jsx)(`path`,{d:`M4 6l4 4 4-4`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})})]}),s&&(0,l.jsxs)(`div`,{id:d,role:`region`,"aria-labelledby":f,className:`px-4 pb-3 text-body-1 text-muted-foreground`,children:[m.length>0?m.map(e=>c.isValidElement(e)?e.props.children:e):null,h]})]})};Qn.displayName=`AccordionItem`;var $n=({children:e,ref:t,...n})=>(0,l.jsx)(`span`,{ref:t,...n,children:e});$n.displayName=`AccordionTrigger`;var er=({children:e,ref:t,...n})=>(0,l.jsx)(`div`,{ref:t,...n,children:e});er.displayName=`AccordionPanel`;var tr=Object.assign(Xn,{Item:Qn,Trigger:$n,Panel:er}),nr=c.createContext(null);function rr(){let e=c.useContext(nr);if(!e)throw Error(`Tab/TabPanel must be used within a TabList`);return e}var ir=({selectedValue:e,defaultSelectedValue:t=``,onTabSelect:n,vertical:r,className:i,children:a,ref:o,...s})=>{let[u,d]=Z(e,t,n),f=c.useRef(null),p=c.useCallback(e=>{f.current=e,typeof o==`function`?o(e):o&&(o.current=e)},[o]),{handleKeyDown:m,getTabIndex:h}=qe(f,{activeValue:u,items:c.useMemo(()=>{let e=[];return c.Children.forEach(a,t=>{c.isValidElement(t)&&t.props.value&&t.type===ar&&e.push(t.props.value)}),e},[a]),orientation:r?`vertical`:`horizontal`,loop:!0,onFocusMove:e=>{d(e)}});return(0,l.jsx)(nr.Provider,{value:{selectedValue:u,onSelect:d,vertical:r,getTabIndex:h},children:(0,l.jsxs)(`div`,{className:Y(r&&`flex`),children:[(0,l.jsx)(`div`,{ref:p,role:`tablist`,"aria-orientation":r?`vertical`:`horizontal`,onKeyDown:m,className:Y(r?`flex flex-col w-40 border-r border-border`:`flex border-b border-border`,i),...s,children:c.Children.map(a,e=>c.isValidElement(e)&&e.type===ar?e:null)}),c.Children.map(a,e=>c.isValidElement(e)&&e.type!==ar?e:null)]})})};ir.displayName=`TabList`;var ar=({value:e,className:t,children:n,ref:r,...i})=>{let{selectedValue:a,onSelect:o,vertical:s,getTabIndex:c}=rr(),u=a===e;return(0,l.jsx)(`button`,{ref:r,type:`button`,role:`tab`,id:`tab-${e.replace(/[^a-zA-Z0-9-_]/g,`_`)}`,"aria-controls":u?`tabpanel-${e.replace(/[^a-zA-Z0-9-_]/g,`_`)}`:void 0,"aria-selected":u,tabIndex:c(e),"data-roving-value":e,onClick:()=>o(e),className:Y(`px-4 py-2 text-body-1 font-semibold transition-colors`,`focus-visible:outline-2 focus-visible:outline-offset-[-2px] focus-visible:outline-ring`,s?Y(`text-left`,u?`border-l-2 border-l-primary text-primary`:`text-muted-foreground hover:text-foreground`):Y(u?`text-primary border-b-2 border-b-primary`:`text-muted-foreground hover:text-foreground`),t),...i,children:n})};ar.displayName=`Tab`;var or=({value:e,children:t,className:n,ref:r,...i})=>{let{selectedValue:a}=rr();return a===e?(0,l.jsx)(`div`,{ref:r,role:`tabpanel`,id:`tabpanel-${e.replace(/[^a-zA-Z0-9-_]/g,`_`)}`,"aria-labelledby":`tab-${e.replace(/[^a-zA-Z0-9-_]/g,`_`)}`,tabIndex:0,className:Y(`p-4`,n),...i,children:t}):null};or.displayName=`TabPanel`;var sr=Object.assign(ir,{Tab:ar,Panel:or}),cr=c.createContext({expandedItems:new Set,toggleItem:()=>{}}),lr=({defaultExpandedItems:e=[],className:t,children:n,ref:r,...i})=>{let[a,o]=c.useState(()=>new Set(e)),s=c.useCallback(e=>{o(t=>{let n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n})},[]);return(0,l.jsx)(cr.Provider,{value:{expandedItems:a,toggleItem:s},children:(0,l.jsx)(`div`,{ref:r,role:`tree`,className:Y(`text-body-1`,t),...i,children:n})})};lr.displayName=`Tree`;var ur=({value:e,icon:t,leaf:n=!1,className:r,children:i,ref:a,...o})=>{let{expandedItems:s,toggleItem:u}=c.useContext(cr),d=s.has(e),f=[],p=[];c.Children.forEach(i,e=>{c.isValidElement(e)&&(e.type===ur||e.type===lr)?f.push(e):p.push(e)});let m=f.length>0&&!n,h=t=>{t.key===`Enter`||t.key===` `?(t.preventDefault(),m&&u(e)):(t.key===`ArrowRight`&&m&&!d||t.key===`ArrowLeft`&&m&&d)&&(t.preventDefault(),u(e))};return(0,l.jsxs)(`div`,{ref:a,className:r,...o,children:[(0,l.jsxs)(`div`,{role:`treeitem`,"aria-expanded":m?d:void 0,tabIndex:0,onClick:()=>m&&u(e),onKeyDown:h,className:Y(`flex items-center gap-1.5 px-2 py-1 cursor-pointer rounded`,`hover:bg-[#f5f5f5] focus-visible:outline focus-visible:outline-2 focus-visible:outline-primary`),children:[m&&(0,l.jsx)(`svg`,{width:`12`,height:`12`,viewBox:`0 0 12 12`,fill:`none`,className:Y(`shrink-0 transition-transform`,d&&`rotate-90`),"aria-hidden":`true`,children:(0,l.jsx)(`path`,{d:`M4.5 2.5l4 3.5-4 3.5`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})}),!m&&(0,l.jsx)(`span`,{className:`w-3 shrink-0`}),t&&(0,l.jsx)(`span`,{className:`shrink-0`,children:t}),(0,l.jsx)(`span`,{className:`truncate`,children:p})]}),m&&d&&(0,l.jsx)(`div`,{role:`group`,className:`pl-4`,children:f})]})};ur.displayName=`TreeItem`;var dr=Object.assign(lr,{Item:ur}),fr=c.createContext({activeIndex:0,total:0,goTo:()=>{},prev:()=>{},next:()=>{}}),pr=({value:e,defaultValue:t=0,onValueChange:n,autoPlay:r=!1,autoPlayInterval:i=5e3,loop:a=!1,className:o,children:s,ref:u,...d})=>{let[f,p]=Z(e,t,n),m=c.Children.toArray(s).filter(e=>c.isValidElement(e)&&e.type===mr),h=m.length,g=c.useCallback(()=>{p(f<=0?a?h-1:0:f-1)},[f,a,h,p]),_=c.useCallback(()=>{p(f>=h-1?a?0:h-1:f+1)},[f,a,h,p]),v=c.useCallback(e=>{e>=0&&e<h&&p(e)},[h,p]);return c.useEffect(()=>{if(!r||h<=1)return;let e=setInterval(()=>{p(f>=h-1?a?0:f:f+1)},i);return()=>clearInterval(e)},[r,i,a,h,f,p]),h===0?(0,l.jsx)(`div`,{ref:u,className:Y(`relative`,o),...d}):(0,l.jsx)(fr.Provider,{value:{activeIndex:f,total:h,goTo:v,prev:g,next:_},children:(0,l.jsxs)(`div`,{ref:u,role:`region`,"aria-roledescription":`carousel`,"aria-label":`Carousel`,className:Y(`relative overflow-hidden`,o),...d,children:[(0,l.jsx)(`div`,{className:`flex transition-transform duration-300 ease-in-out`,style:{transform:`translateX(-${f*100}%)`},children:m.map((e,t)=>(0,l.jsx)(`div`,{role:`group`,"aria-roledescription":`slide`,"aria-label":`Slide ${t+1} of ${h}`,className:`w-full flex-shrink-0`,children:e},t))}),(0,l.jsx)(`div`,{"aria-live":`polite`,"aria-atomic":`true`,className:`sr-only`,children:`Slide ${f+1} of ${h}`}),(0,l.jsx)(`button`,{type:`button`,"aria-label":`Previous slide`,onClick:g,disabled:!a&&f===0,className:Y(`absolute left-2 top-1/2 -translate-y-1/2 w-8 h-8 rounded-full bg-background border border-border shadow-2 flex items-center justify-center`,`hover:bg-[#f5f5f5] disabled:opacity-40 disabled:cursor-not-allowed`),children:(0,l.jsx)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 16 16`,fill:`none`,"aria-hidden":`true`,children:(0,l.jsx)(`path`,{d:`M10 12L6 8l4-4`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})})}),(0,l.jsx)(`button`,{type:`button`,"aria-label":`Next slide`,onClick:_,disabled:!a&&f===h-1,className:Y(`absolute right-2 top-1/2 -translate-y-1/2 w-8 h-8 rounded-full bg-background border border-border shadow-2 flex items-center justify-center`,`hover:bg-[#f5f5f5] disabled:opacity-40 disabled:cursor-not-allowed`),children:(0,l.jsx)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 16 16`,fill:`none`,"aria-hidden":`true`,children:(0,l.jsx)(`path`,{d:`M6 4l4 4-4 4`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})})}),(0,l.jsx)(`div`,{className:`absolute bottom-3 left-1/2 -translate-x-1/2 flex gap-1.5`,role:`tablist`,children:Array.from({length:h},(e,t)=>(0,l.jsx)(`button`,{type:`button`,role:`tab`,"aria-label":`Go to slide ${t+1}`,"aria-selected":t===f,onClick:()=>v(t),className:Y(`w-2 h-2 rounded-full transition-colors`,t===f?`bg-primary`:`bg-[#e0e0e0] hover:bg-[#c0c0c0]`)},t))})]})})};pr.displayName=`Carousel`;var mr=({className:e,children:t,ref:n,...r})=>(0,l.jsx)(`div`,{ref:n,className:Y(`p-4`,e),...r,children:t});mr.displayName=`CarouselItem`;var hr=Object.assign(pr,{Item:mr}),gr=c.createContext({registerItem:()=>{},unregisterItem:()=>{},hiddenIds:new Set});function _r(e){let[t,n]=c.useState(!1);return c.useEffect(()=>{let t=e.current;if(!t)return;let r=new ResizeObserver(()=>{n(t.scrollWidth>t.clientWidth)});return r.observe(t),()=>r.disconnect()},[e]),t}var vr=({overflowButton:e,children:t,className:n,ref:r,...i})=>{let a=c.useRef(null),o=c.useRef(new Map),[s,u]=c.useState(new Set),d=c.useCallback(e=>{a.current=e,typeof r==`function`?r(e):r&&(r.current=e)},[r]),f=c.useCallback(()=>{let e=a.current;if(!e)return;let t=e.clientWidth,n=0,r=new Set,i=Array.from(o.current.entries());for(let e=0;e<i.length;e++){let[a,o]=i[e];o.style.visibility=`visible`,o.style.position=`static`,o.style.width=``,o.style.height=``;let s=o.offsetWidth;e!==0&&n+s>t-60?r.add(a):n+=s}if(r.size===0){let e=0,n=new Set;for(let[r,a]of i)e+=a.offsetWidth,e>t&&n.add(r);u(n)}else u(r)},[]);c.useEffect(()=>{let e=a.current;if(!e)return;let t=new ResizeObserver(()=>{f()});return t.observe(e),f(),()=>t.disconnect()},[f,t]);let p=c.useRef(null),m=c.useCallback(()=>{p.current&&clearTimeout(p.current),p.current=setTimeout(()=>{p.current=null,f()},0)},[f]);c.useEffect(()=>()=>{p.current&&clearTimeout(p.current)},[]);let h=c.useCallback((e,t)=>{o.current.set(e,t),m()},[m]),g=c.useCallback(e=>{o.current.delete(e),m()},[m]),_=c.useMemo(()=>({registerItem:h,unregisterItem:g,hiddenIds:s}),[h,g,s]),v=s.size;return(0,l.jsx)(gr.Provider,{value:_,children:(0,l.jsxs)(`div`,{ref:d,className:Y(`flex items-center overflow-hidden`,n),...i,children:[t,v>0&&e&&(0,l.jsx)(`div`,{className:`flex-shrink-0 ml-1`,children:e(v)})]})})};vr.displayName=`Overflow`;var yr=({itemId:e,children:t,className:n,style:r,ref:i,...a})=>{let{registerItem:o,unregisterItem:s,hiddenIds:u}=c.useContext(gr),d=c.useRef(null),f=u.has(e),p=c.useCallback(e=>{d.current=e,typeof i==`function`?i(e):i&&(i.current=e)},[i]);return c.useEffect(()=>{let t=d.current;return t&&o(e,t),()=>s(e)},[e,o,s]),(0,l.jsx)(`div`,{ref:p,className:Y(`flex-shrink-0`,n),style:{...r,...f?{visibility:`hidden`,position:`absolute`,width:0,height:0,overflow:`hidden`}:{}},"aria-hidden":f||void 0,...a,children:t})};yr.displayName=`OverflowItem`;var br=Object.assign(vr,{Item:yr}),xr={none:`gap-0`,xs:`gap-1`,sm:`gap-2`,md:`gap-3`,lg:`gap-4`,xl:`gap-6`},Sr={start:`items-start`,center:`items-center`,end:`items-end`,stretch:`items-stretch`},Cr={start:`justify-start`,center:`justify-center`,end:`justify-end`,between:`justify-between`,around:`justify-around`,evenly:`justify-evenly`},wr=({as:e=`div`,direction:t=`vertical`,gap:n=`md`,align:r,justify:i,wrap:a,inline:o,className:s,children:c,ref:u,...d})=>(0,l.jsx)(e,{ref:u,className:Y(o?`inline-flex`:`flex`,t===`horizontal`?`flex-row`:`flex-col`,xr[n],r&&Sr[r],i&&Cr[i],a&&`flex-wrap`,s),...d,children:c});wr.displayName=`Stack`;var Tr=wr,Er={row:`flex-row`,"row-reverse":`flex-row-reverse`,column:`flex-col`,"column-reverse":`flex-col-reverse`},Dr={nowrap:`flex-nowrap`,wrap:`flex-wrap`,"wrap-reverse":`flex-wrap-reverse`},Or={start:`items-start`,center:`items-center`,end:`items-end`,stretch:`items-stretch`,baseline:`items-baseline`},kr={start:`justify-start`,center:`justify-center`,end:`justify-end`,between:`justify-between`,around:`justify-around`,evenly:`justify-evenly`},Ar={none:`gap-0`,xs:`gap-1`,sm:`gap-2`,md:`gap-3`,lg:`gap-4`,xl:`gap-6`},jr=({as:e=`div`,direction:t=`row`,wrap:n,align:r,justify:i,gap:a,inline:o,grow:s,shrink:c,className:u,children:d,ref:f,...p})=>(0,l.jsx)(e,{ref:f,className:Y(o?`inline-flex`:`flex`,Er[t],n&&Dr[n],r&&Or[r],i&&kr[i],a&&Ar[a],s&&`grow`,c&&`shrink`,u),...p,children:d});jr.displayName=`Flex`;var Mr=jr,Nr={1:`grid-cols-1`,2:`grid-cols-2`,3:`grid-cols-3`,4:`grid-cols-4`,5:`grid-cols-5`,6:`grid-cols-6`,12:`grid-cols-12`},Pr={none:`gap-0`,xs:`gap-1`,sm:`gap-2`,md:`gap-3`,lg:`gap-4`,xl:`gap-6`},Fr={none:`gap-x-0`,xs:`gap-x-1`,sm:`gap-x-2`,md:`gap-x-3`,lg:`gap-x-4`,xl:`gap-x-6`},Ir={none:`gap-y-0`,xs:`gap-y-1`,sm:`gap-y-2`,md:`gap-y-3`,lg:`gap-y-4`,xl:`gap-y-6`},Lr={start:`items-start`,center:`items-center`,end:`items-end`,stretch:`items-stretch`},Rr={start:`justify-items-start`,center:`justify-items-center`,end:`justify-items-end`,stretch:`justify-items-stretch`},zr=({as:e=`div`,columns:t,rows:n,gap:r,columnGap:i,rowGap:a,align:o,justify:s,className:c,style:u,children:d,ref:f,...p})=>{let m=n?{gridTemplateRows:`repeat(${n}, minmax(0, 1fr))`}:void 0;return(0,l.jsx)(e,{ref:f,className:Y(`grid`,t&&Nr[t],r&&Pr[r],i&&Fr[i],a&&Ir[a],o&&Lr[o],s&&Rr[s],c),style:{...m,...u},...p,children:d})};zr.displayName=`Grid`;var Br=zr,Vr=()=>(0,l.jsx)(`svg`,{width:`12`,height:`12`,viewBox:`0 0 12 12`,fill:`none`,className:`text-muted-foreground`,children:(0,l.jsx)(`path`,{d:`M4.5 2.5L7.5 6L4.5 9.5`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})}),Hr=({children:e,className:t,ref:n,...r})=>{let i=c.Children.toArray(e);return(0,l.jsx)(`nav`,{ref:n,"aria-label":`Breadcrumb`,...r,className:t,children:(0,l.jsx)(`ol`,{className:`flex items-center gap-1 text-body-1 list-none m-0 p-0`,children:i.map((e,t)=>(0,l.jsxs)(`li`,{className:`flex items-center gap-1`,children:[t>0&&(0,l.jsx)(`span`,{"aria-hidden":`true`,children:(0,l.jsx)(Vr,{})}),e]},t))})})};Hr.displayName=`Breadcrumb`;var Ur=({href:e,current:t,icon:n,children:r,className:i,ref:a,...o})=>{let s=X(n,`span`,`flex-shrink-0 mr-1`);return t?(0,l.jsxs)(`span`,{ref:a,"aria-current":`page`,...o,className:Y(`text-foreground font-semibold inline-flex items-center`,i),children:[s,r]}):(0,l.jsxs)(`a`,{ref:a,href:e,...o,className:Y(`text-primary hover:underline cursor-pointer inline-flex items-center`,i),children:[s,r]})};Ur.displayName=`BreadcrumbItem`;var Wr=Object.assign(Hr,{Item:Ur}),Gr=({children:e,className:t,ref:n,...r})=>(0,l.jsx)(`div`,{ref:n,role:`menu`,tabIndex:0,onKeyDown:e=>{let t=e.currentTarget.querySelectorAll(`[role="menuitem"]:not([aria-disabled="true"])`),n=Array.from(t).indexOf(document.activeElement),r=n;e.key===`ArrowDown`?(e.preventDefault(),r=n<t.length-1?n+1:0):e.key===`ArrowUp`?(e.preventDefault(),r=n>0?n-1:t.length-1):e.key===`Home`?(e.preventDefault(),r=0):e.key===`End`&&(e.preventDefault(),r=t.length-1),t[r]?.focus()},...r,className:Y(`border border-border rounded-lg shadow-4 bg-background py-1 min-w-[180px]`,t),children:e});Gr.displayName=`Menu`;var Kr=({icon:e,shortcut:t,disabled:n,onClick:r,children:i,className:a,ref:o,...s})=>(0,l.jsxs)(`div`,{ref:o,role:`menuitem`,tabIndex:-1,"aria-disabled":n||void 0,onClick:n?void 0:r,onKeyDown:e=>{!n&&(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),e.currentTarget.click())},...s,className:Y(`px-3 py-1.5 text-body-1 hover:bg-[#f0f0f0] cursor-pointer flex items-center gap-2`,n&&`opacity-50 pointer-events-none`,a),children:[e!==void 0&&X(e,`span`,`flex-shrink-0 w-5 h-5 flex items-center justify-center`),(0,l.jsx)(`span`,{className:`flex-1`,children:i}),t&&(0,l.jsx)(`span`,{className:`text-caption-1 text-muted-foreground ml-4`,children:t})]});Kr.displayName=`MenuItem`;var qr=({className:e,ref:t,...n})=>(0,l.jsx)(`div`,{ref:t,role:`separator`,...n,className:Y(`border-t border-border my-1`,e)});qr.displayName=`MenuDivider`;var Jr=Object.assign(Gr,{Item:Kr,Divider:qr}),Yr=c.createContext({selectedValue:``,onSelect:()=>{},openCategories:[],toggleCategory:()=>{}}),Xr=({selectedValue:e,defaultSelectedValue:t=``,onNavItemSelect:n,className:r,children:i,ref:a,...o})=>{let[s,u]=Z(e,t,n),[d,f]=c.useState([]),p=c.useCallback(e=>{f(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e])},[]);return(0,l.jsx)(Yr.Provider,{value:{selectedValue:s,onSelect:u,openCategories:d,toggleCategory:p},children:(0,l.jsx)(`nav`,{ref:a,"aria-label":`Navigation`,className:Y(`w-60 py-2 bg-background border-r border-border`,r),...o,children:(0,l.jsx)(`ul`,{className:`list-none m-0 p-0`,children:i})})})};Xr.displayName=`Nav`;var Zr=({value:e,icon:t,className:n,children:r,ref:i,...a})=>{let{openCategories:o,toggleCategory:s}=c.useContext(Yr),u=o.includes(e);return(0,l.jsxs)(`li`,{ref:i,className:Y(n),...a,children:[(0,l.jsxs)(`button`,{type:`button`,"aria-expanded":u,onClick:()=>s(e),className:`w-full flex items-center gap-2 px-4 py-2 text-body-1 font-semibold text-foreground hover:bg-[#f5f5f5] transition-colors`,children:[t&&(0,l.jsx)(`span`,{className:`w-5 h-5 flex items-center justify-center flex-shrink-0`,children:t}),(0,l.jsx)(`span`,{className:`flex-1 text-left`,children:typeof r==`string`?r:c.Children.toArray(r).find(e=>typeof e==`string`)||``}),(0,l.jsx)(`svg`,{width:`12`,height:`12`,viewBox:`0 0 12 12`,fill:`none`,"aria-hidden":`true`,className:Y(`transition-transform flex-shrink-0`,u&&`rotate-180`),children:(0,l.jsx)(`path`,{d:`M3 4.5l3 3 3-3`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})})]}),u&&(0,l.jsx)(`ul`,{className:`list-none m-0 p-0`,children:c.Children.map(r,e=>typeof e==`string`?null:e)})]})};Zr.displayName=`NavCategory`;var Qr=({value:e,icon:t,href:n,className:r,children:i,onClick:a,ref:o,...s})=>{let{selectedValue:u,onSelect:d}=c.useContext(Yr),f=u===e,p=t=>{d(e),a?.(t)},m=Y(`w-full flex items-center gap-2 px-4 py-2 text-body-1 transition-colors no-underline`,f?`bg-[#f0f0f0] text-primary font-semibold border-l-2 border-l-primary`:`text-foreground hover:bg-[#f5f5f5]`,r);return(0,l.jsx)(`li`,{children:n?(0,l.jsxs)(`a`,{ref:o,href:n,"aria-current":f?`page`:void 0,onClick:p,className:m,...s,children:[t&&(0,l.jsx)(`span`,{className:`w-5 h-5 flex items-center justify-center flex-shrink-0`,children:t}),(0,l.jsx)(`span`,{className:`flex-1 text-left`,children:i})]}):(0,l.jsxs)(`button`,{ref:o,type:`button`,"aria-current":f?`page`:void 0,onClick:p,className:m,...s,children:[t&&(0,l.jsx)(`span`,{className:`w-5 h-5 flex items-center justify-center flex-shrink-0`,children:t}),(0,l.jsx)(`span`,{className:`flex-1 text-left`,children:i})]})})};Qr.displayName=`NavItem`;var $r=({value:e,href:t,className:n,children:r,onClick:i,ref:a,...o})=>{let{selectedValue:s,onSelect:u}=c.useContext(Yr),d=s===e,f=t=>{u(e),i?.(t)},p=Y(`w-full flex items-center pl-11 pr-4 py-1.5 text-body-1 transition-colors no-underline`,d?`text-primary font-semibold`:`text-muted-foreground hover:text-foreground hover:bg-[#f5f5f5]`,n);return(0,l.jsx)(`li`,{children:t?(0,l.jsx)(`a`,{ref:a,href:t,"aria-current":d?`page`:void 0,onClick:f,className:p,...o,children:r}):(0,l.jsx)(`button`,{ref:a,type:`button`,"aria-current":d?`page`:void 0,onClick:f,className:p,...o,children:r})})};$r.displayName=`NavSubItem`;var ei=Object.assign(Xr,{Category:Zr,Item:Qr,SubItem:$r});function ti(e,t,n,r){if(e<=r*2+n*2+3)return Array.from({length:e},(e,t)=>t+1);let i=[],a=new Set;for(let t=1;t<=Math.min(r,e);t++)a.add(t);for(let t=Math.max(1,e-r+1);t<=e;t++)a.add(t);for(let r=Math.max(1,t-n);r<=Math.min(e,t+n);r++)a.add(r);a.add(t);let o=Array.from(a).sort((e,t)=>e-t);for(let e=0;e<o.length;e++){if(e>0){let t=o[e]-o[e-1];t===2?i.push(o[e-1]+1):t>2&&i.push(`ellipsis`)}i.push(o[e])}return i}var ni=()=>(0,l.jsx)(`svg`,{width:`12`,height:`12`,viewBox:`0 0 12 12`,fill:`none`,"aria-hidden":`true`,children:(0,l.jsx)(`path`,{d:`M7.5 2.5L4.5 6L7.5 9.5`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})}),ri=()=>(0,l.jsx)(`svg`,{width:`12`,height:`12`,viewBox:`0 0 12 12`,fill:`none`,"aria-hidden":`true`,children:(0,l.jsx)(`path`,{d:`M4.5 2.5L7.5 6L4.5 9.5`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})}),ii=()=>(0,l.jsxs)(`svg`,{width:`12`,height:`12`,viewBox:`0 0 12 12`,fill:`none`,"aria-hidden":`true`,children:[(0,l.jsx)(`path`,{d:`M6.5 2.5L3.5 6L6.5 9.5`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`}),(0,l.jsx)(`path`,{d:`M10 2.5L7 6L10 9.5`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})]}),ai=()=>(0,l.jsxs)(`svg`,{width:`12`,height:`12`,viewBox:`0 0 12 12`,fill:`none`,"aria-hidden":`true`,children:[(0,l.jsx)(`path`,{d:`M2 2.5L5 6L2 9.5`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`}),(0,l.jsx)(`path`,{d:`M5.5 2.5L8.5 6L5.5 9.5`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})]}),oi=({currentPage:e,defaultCurrentPage:t=1,totalPages:n,onPageChange:r,siblingCount:i=1,boundaryCount:a=1,showPreviousNext:o=!0,showFirstLast:s=!1,disabled:c=!1,size:u=`medium`,className:d,ref:f,...p})=>{let[m,h]=Z(e,t,r);if(n<1)return null;let g=ti(n,m,i,a),_=u===`small`?`h-7 w-7 text-caption-1`:`h-8 w-8 text-body-1`,v=Y(`inline-flex items-center justify-center rounded border border-border transition-colors`,_,c?`opacity-50 pointer-events-none`:`cursor-pointer`),y=e=>{!c&&e>=1&&e<=n&&h(e)};return(0,l.jsx)(`nav`,{ref:f,"aria-label":`Pagination`,...p,className:Y(d),children:(0,l.jsxs)(`ol`,{className:`flex items-center gap-1 list-none m-0 p-0`,children:[s&&(0,l.jsx)(`li`,{children:(0,l.jsx)(`button`,{type:`button`,"aria-label":`First page`,disabled:c||m===1,onClick:()=>y(1),className:Y(v,`hover:bg-[#f0f0f0]`,(c||m===1)&&`opacity-50 pointer-events-none`),children:(0,l.jsx)(ii,{})})}),o&&(0,l.jsx)(`li`,{children:(0,l.jsx)(`button`,{type:`button`,"aria-label":`Previous page`,disabled:c||m===1,onClick:()=>y(m-1),className:Y(v,`hover:bg-[#f0f0f0]`,(c||m===1)&&`opacity-50 pointer-events-none`),children:(0,l.jsx)(ni,{})})}),g.map((e,t)=>e===`ellipsis`?(0,l.jsx)(`li`,{children:(0,l.jsx)(`span`,{className:Y(`inline-flex items-center justify-center text-muted-foreground`,_),"aria-hidden":`true`,children:`...`})},`ellipsis-${t}`):(0,l.jsx)(`li`,{children:(0,l.jsx)(`button`,{type:`button`,"aria-label":`Page ${e}`,"aria-current":e===m?`page`:void 0,disabled:c,onClick:()=>y(e),className:Y(v,e===m?`bg-primary text-white border-primary`:`hover:bg-[#f0f0f0] text-foreground`),children:e})},e)),o&&(0,l.jsx)(`li`,{children:(0,l.jsx)(`button`,{type:`button`,"aria-label":`Next page`,disabled:c||m===n,onClick:()=>y(m+1),className:Y(v,`hover:bg-[#f0f0f0]`,(c||m===n)&&`opacity-50 pointer-events-none`),children:(0,l.jsx)(ri,{})})}),s&&(0,l.jsx)(`li`,{children:(0,l.jsx)(`button`,{type:`button`,"aria-label":`Last page`,disabled:c||m===n,onClick:()=>y(n),className:Y(v,`hover:bg-[#f0f0f0]`,(c||m===n)&&`opacity-50 pointer-events-none`),children:(0,l.jsx)(ai,{})})})]})})};oi.displayName=`Pagination`;var si=c.createContext({activeStep:0,onStepChange:()=>{},orientation:`horizontal`,linear:!1,totalSteps:0}),ci=()=>(0,l.jsx)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 24 24`,fill:`none`,"aria-hidden":`true`,children:(0,l.jsx)(`path`,{d:`M5 12l5 5L20 7`,stroke:`currentColor`,strokeWidth:`2`,fill:`none`})}),li=()=>(0,l.jsx)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 24 24`,fill:`none`,"aria-hidden":`true`,children:(0,l.jsx)(`path`,{d:`M6 6l12 12M6 18L18 6`,stroke:`currentColor`,strokeWidth:`2`,fill:`none`})}),ui=({label:e,description:t,icon:n,disabled:r,completed:i,error:a,className:o,onClick:s,ref:u,...d})=>{let{activeStep:f,onStepChange:p,orientation:m,linear:h,totalSteps:g}=c.useContext(si),_=d.index??0,{index:v,...y}=d,b=_===f,x=i??_<f,S=!r&&(!h||_<=f+1),C=_===g-1,w=e=>{S&&p(_),s?.(e)},T=()=>a?(0,l.jsx)(li,{}):x&&!n?(0,l.jsx)(ci,{}):n||(0,l.jsx)(`span`,{className:`text-caption-1 font-semibold`,children:_+1}),E=Y(`w-8 h-8 rounded-full flex items-center justify-center flex-shrink-0 transition-colors border-2`,a?`border-error bg-error/10 text-error`:b?`border-primary bg-primary text-white`:x?`border-success bg-success/10 text-success`:`border-border bg-background text-muted-foreground`),D=Y(`transition-colors`,m===`horizontal`?`flex-1 h-0.5 mx-2`:`w-0.5 min-h-[24px] ml-4 my-1`,x?`bg-success`:`bg-border`);return m===`vertical`?(0,l.jsxs)(`div`,{ref:u,className:Y(`flex flex-col`,o),...y,children:[(0,l.jsxs)(`div`,{role:`button`,tabIndex:S?0:-1,"aria-disabled":r||!S||void 0,onClick:w,onKeyDown:e=>{S&&(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),p(_))},className:Y(`flex items-center gap-3`,S?`cursor-pointer`:`cursor-default`,r&&`opacity-50`),children:[(0,l.jsx)(`div`,{className:E,children:T()}),(0,l.jsxs)(`div`,{className:`flex flex-col`,children:[(0,l.jsx)(`span`,{className:Y(`text-body-1 font-semibold`,a?`text-error`:b?`text-primary`:x?`text-success`:`text-foreground`),children:e}),t&&(0,l.jsx)(`span`,{className:`text-caption-1 text-muted-foreground`,children:t})]})]}),!C&&(0,l.jsx)(`div`,{className:D})]}):(0,l.jsxs)(`div`,{ref:u,className:Y(`flex items-center`,!C&&`flex-1`,o),...y,children:[(0,l.jsxs)(`div`,{role:`button`,tabIndex:S?0:-1,"aria-disabled":r||!S||void 0,onClick:w,onKeyDown:e=>{S&&(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),p(_))},className:Y(`flex flex-col items-center gap-1`,S?`cursor-pointer`:`cursor-default`,r&&`opacity-50`),children:[(0,l.jsx)(`div`,{className:E,children:T()}),(0,l.jsx)(`span`,{className:Y(`text-caption-1 font-semibold whitespace-nowrap`,a?`text-error`:b?`text-primary`:x?`text-success`:`text-foreground`),children:e}),t&&(0,l.jsx)(`span`,{className:`text-caption-2 text-muted-foreground whitespace-nowrap`,children:t})]}),!C&&(0,l.jsx)(`div`,{className:D})]})};ui.displayName=`Step`;var di=({activeStep:e,defaultActiveStep:t=0,onStepChange:n,orientation:r=`horizontal`,linear:i=!1,className:a,children:o,ref:s,...u})=>{let[d,f]=Z(e,t,n),p=c.Children.toArray(o),m=p.length;return(0,l.jsx)(si.Provider,{value:{activeStep:d,onStepChange:f,orientation:r,linear:i,totalSteps:m},children:(0,l.jsx)(`div`,{ref:s,role:`group`,"aria-label":`Progress`,...u,className:Y(`flex`,r===`horizontal`?`flex-row items-start`:`flex-col`,a),children:p.map((e,t)=>c.isValidElement(e)?c.cloneElement(e,{index:t}):e)})})};di.displayName=`Stepper`;var fi=Object.assign(di,{Step:ui}),pi={info:`bg-[#ebf3fc] border-l-[#0f6cbd]`,success:`bg-[#e0f2e0] border-l-[#107c10]`,warning:`bg-[#fff8cc] border-l-[#fde300]`,error:`bg-[#fde7e9] border-l-[#c50f1f]`},mi={info:(0,l.jsx)(`svg`,{width:`20`,height:`20`,viewBox:`0 0 20 20`,fill:`#0f6cbd`,children:(0,l.jsx)(`path`,{d:`M10 2a8 8 0 100 16 8 8 0 000-16zm.5 5v1h-1V7h1zm0 3v4h-1v-4h1z`})}),success:(0,l.jsx)(`svg`,{width:`20`,height:`20`,viewBox:`0 0 20 20`,fill:`#107c10`,children:(0,l.jsx)(`path`,{d:`M10 2a8 8 0 100 16 8 8 0 000-16zm3.36 5.65l-4 5a.5.5 0 01-.72.05l-2-2a.5.5 0 01.72-.7L9.13 11.76l3.6-4.5a.5.5 0 01.78.62l-.15.17z`})}),warning:(0,l.jsx)(`svg`,{width:`20`,height:`20`,viewBox:`0 0 20 20`,fill:`#bc8b00`,children:(0,l.jsx)(`path`,{d:`M9.15 3.45a1 1 0 011.7 0l6.86 11.44A1 1 0 0116.86 17H3.14a1 1 0 01-.85-1.53L9.15 3.45zM10.5 13v1h-1v-1h1zm0-5v4h-1V8h1z`})}),error:(0,l.jsx)(`svg`,{width:`20`,height:`20`,viewBox:`0 0 20 20`,fill:`#c50f1f`,children:(0,l.jsx)(`path`,{d:`M10 2a8 8 0 100 16 8 8 0 000-16zm.5 5v4h-1V7h1zm0 6v1h-1v-1h1z`})})},hi=({status:e=`info`,onDismiss:t,icon:n,dismiss:r,children:i,className:a,ref:o,...s})=>{let c=n===void 0?(0,l.jsx)(`span`,{className:`flex-shrink-0 mt-0.5`,children:mi[e]}):X(n,`span`,`flex-shrink-0 mt-0.5`),u=r===void 0?t?(0,l.jsx)(`button`,{onClick:t,className:`ml-auto bg-transparent border-none cursor-pointer p-1 rounded hover:bg-black/5 text-muted-foreground`,"aria-label":`Dismiss`,children:(0,l.jsx)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 16 16`,fill:`none`,children:(0,l.jsx)(`path`,{d:`M3.5 3.5L12.5 12.5M12.5 3.5L3.5 12.5`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`})})}):null:X(r,`button`,`ml-auto bg-transparent border-none cursor-pointer p-1 rounded hover:bg-black/5 text-muted-foreground`);return(0,l.jsxs)(`div`,{ref:o,role:e===`error`||e===`warning`?`alert`:`status`,...s,className:Y(`px-4 py-3 rounded flex items-start gap-3 border-l-4`,pi[e],a),children:[c,(0,l.jsx)(`div`,{className:`flex-1 text-body-1`,children:i}),u]})};hi.displayName=`MessageBar`;var gi=({value:e,max:t=100,label:n,className:r,ref:i,...a})=>{let o=e===void 0,s=o?0:Math.min(100,Math.max(0,e/t*100));return(0,l.jsx)(`div`,{ref:i,role:`progressbar`,"aria-valuenow":o?void 0:e,"aria-valuemin":0,"aria-valuemax":t,"aria-label":n,...a,className:Y(`h-2 rounded-full bg-[#e0e0e0] overflow-hidden`,r),children:(0,l.jsx)(`div`,{className:Y(`h-full bg-primary rounded-full`,o&&`w-[40%] animate-[wave-indeterminate_1.5s_ease-in-out_infinite]`),style:o?void 0:{width:`${s}%`}})})};gi.displayName=`ProgressBar`;var _i={"extra-small":`w-3 h-3`,small:`w-4 h-4`,medium:`w-6 h-6`,large:`w-9 h-9`,"extra-large":`w-12 h-12`},vi=({size:e=`medium`,label:t,labelVisible:n,className:r,ref:i,...a})=>{let o=(0,l.jsx)(`span`,{className:Y(`border-2 border-[#e0e0e0] border-t-primary rounded-full animate-[wave-spin_0.8s_linear_infinite]`,_i[e])});return n&&t?(0,l.jsxs)(`span`,{ref:i,...a,className:Y(`inline-flex items-center gap-2`,r),role:`status`,children:[o,(0,l.jsx)(`span`,{className:`text-body-1 text-muted-foreground`,children:t})]}):(0,l.jsxs)(`span`,{ref:i,...a,className:Y(`inline-flex items-center gap-2`,r),role:`status`,children:[o,t&&(0,l.jsx)(`span`,{className:`sr-only`,children:t})]})};vi.displayName=`Spinner`;var yi={text:`rounded`,circular:`rounded-full`,rectangular:`rounded`},bi=({width:e,height:t,variant:n=`text`,className:r,style:i,ref:a,...o})=>(0,l.jsx)(`div`,{ref:a,...o,className:Y(`bg-[#e0e0e0] animate-[wave-pulse_1.5s_ease-in-out_infinite]`,yi[n],r),style:{width:e,height:t,...i},"aria-hidden":`true`});bi.displayName=`Skeleton`;var xi=c.createContext({dispatchToast:()=>{},dismissToast:()=>{}});function Si(){return c.useContext(xi)}var Ci={success:`border-l-4 border-l-green-600`,warning:`border-l-4 border-l-yellow-500`,error:`border-l-4 border-l-destructive`,info:`border-l-4 border-l-primary`},wi={success:`✓`,warning:`⚠`,error:`✗`,info:`ℹ`},Ti=({status:e=`info`,title:t,onDismiss:n,className:r,children:i,ref:a,...o})=>(0,l.jsxs)(`div`,{ref:a,role:e===`error`?`alert`:`status`,"aria-live":e===`error`?`assertive`:`polite`,className:Y(`flex items-start gap-3 rounded border border-border bg-background p-3 shadow-4`,Ci[e],r),...o,children:[(0,l.jsx)(`span`,{className:`shrink-0 text-sm`,"aria-hidden":`true`,children:wi[e]}),(0,l.jsxs)(`div`,{className:`flex-1 min-w-0`,children:[t&&(0,l.jsx)(`div`,{className:`text-body-2 font-semibold text-foreground`,children:t}),i&&(0,l.jsx)(`div`,{className:`text-body-1 text-muted-foreground mt-0.5`,children:i})]}),n&&(0,l.jsx)(`button`,{type:`button`,onClick:n,className:`shrink-0 text-muted-foreground hover:text-foreground`,"aria-label":`Dismiss`,children:(0,l.jsx)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 16 16`,fill:`none`,children:(0,l.jsx)(`path`,{d:`M4 4l8 8M12 4l-8 8`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`})})})]});Ti.displayName=`Toast`;var Ei={"top-right":`top-4 right-4`,"top-left":`top-4 left-4`,"bottom-right":`bottom-4 right-4`,"bottom-left":`bottom-4 left-4`},Di=({position:e=`bottom-right`,className:t,children:n,ref:r,...i})=>{let[a,o]=c.useState([]),s=Q(`toast`),u=c.useRef(0),d=c.useRef(new Map);c.useEffect(()=>{let e=d.current;return()=>{e.forEach(clearTimeout)}},[]);let f=c.useCallback(e=>{let t=`${s}-${++u.current}`,n={id:t,...e};o(e=>[...e,n]);let r=e.timeout??5e3;if(r>0){let e=setTimeout(()=>{o(e=>e.filter(e=>e.id!==t)),d.current.delete(t)},r);d.current.set(t,e)}},[s]),p=c.useCallback(e=>{o(t=>t.filter(t=>t.id!==e))},[]);return(0,l.jsxs)(xi.Provider,{value:{dispatchToast:f,dismissToast:p},children:[n,(0,l.jsx)(`div`,{ref:r,className:Y(`fixed z-[100] flex flex-col gap-2 w-80`,Ei[e],t),...i,children:a.map(e=>(0,l.jsx)(Ti,{status:e.status,title:e.title,onDismiss:()=>p(e.id),children:e.body},e.id))})]})};Di.displayName=`Toaster`;var Oi=Ti,ki=c.createContext({open:!1,setOpen:()=>{}});function Ai(){return c.useContext(ki)}function ji({open:e,defaultOpen:t,onOpenChange:n,children:r}){let[i,a]=Z(e,t??!1,n);return(0,l.jsx)(ki.Provider,{value:{open:i,setOpen:a},children:r})}var Mi=({children:e,ref:t,...n})=>{let{setOpen:r}=Ai();return(0,l.jsx)(`span`,{ref:t,...n,onClick:()=>r(!0),className:`inline-block`,children:e})};Mi.displayName=`DialogTrigger`;var Ni={small:`w-[400px]`,medium:`w-[600px]`},Pi=({title:e,size:t=`medium`,children:n,className:r,ref:i,...a})=>{let{open:o,setOpen:s}=Ai(),d=c.useRef(null),f=c.useRef(null),p=Q(`dialog-title`),[m,h]=c.useState(!1);c.useEffect(()=>{h(!0)},[]),c.useEffect(()=>{if(o){let e=document.body.style.overflow;return document.body.style.overflow=`hidden`,()=>{document.body.style.overflow=e}}},[o]);let g=c.useCallback(e=>{d.current=e,typeof i==`function`?i(e):i&&(i.current=e)},[i]);return c.useEffect(()=>{o?(f.current=document.activeElement,requestAnimationFrame(()=>{(d.current?.querySelector(`button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])`))?.focus()})):f.current&&=(f.current.focus(),null)},[o]),c.useEffect(()=>{if(!o)return;let e=e=>{if(e.key===`Escape`&&s(!1),e.key===`Tab`){let t=d.current?.querySelectorAll(`button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])`);if(!t?.length){e.preventDefault(),d.current?.focus();return}let n=t[0],r=t[t.length-1];e.shiftKey?document.activeElement===n&&(e.preventDefault(),r.focus()):document.activeElement===r&&(e.preventDefault(),n.focus())}};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[o,s]),!m||!o?null:(0,u.createPortal)((0,l.jsx)(`div`,{className:`fixed inset-0 bg-black/40 z-50 flex items-center justify-center`,onClick:e=>{d.current&&!d.current.contains(e.target)&&s(!1)},children:(0,l.jsxs)(`div`,{ref:g,role:`dialog`,"aria-modal":`true`,"aria-labelledby":e?p:void 0,tabIndex:-1,...a,className:Y(`bg-background rounded-xl p-6 relative`,`shadow-[0px_32px_64px_rgba(0,0,0,0.14),0px_2px_21px_rgba(0,0,0,0.07)]`,Ni[t],r),children:[e&&(0,l.jsx)(`h2`,{id:p,className:`text-subtitle-1 font-semibold`,children:e}),(0,l.jsx)(`button`,{onClick:()=>s(!1),className:`absolute top-4 right-4 p-1 rounded hover:bg-[#f5f5f5] text-muted-foreground`,"aria-label":`Close`,children:(0,l.jsx)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 16 16`,fill:`none`,children:(0,l.jsx)(`path`,{d:`M3.5 3.5L12.5 12.5M12.5 3.5L3.5 12.5`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`})})}),(0,l.jsx)(`div`,{className:`text-body-1 text-muted-foreground mt-2`,children:n})]})}),document.body)};Pi.displayName=`DialogContent`;var Fi=({children:e,className:t,ref:n,...r})=>(0,l.jsx)(`div`,{ref:n,...r,className:Y(`flex justify-end gap-2 mt-6`,t),children:e});Fi.displayName=`DialogFooter`,ji.displayName=`Dialog`;var Ii=Object.assign(ji,{Trigger:Mi,Content:Pi,Footer:Fi}),Li=c.createContext({open:!1,setOpen:()=>{},contentId:``});function Ri(){return c.useContext(Li)}function zi({open:e,defaultOpen:t,onOpenChange:n,children:r}){let[i,a]=Z(e,t??!1,n),o=c.useRef(null),s=Q(`popover-content`);return c.useEffect(()=>{if(!i)return;let e=e=>{o.current&&!o.current.contains(e.target)&&a(!1)};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[i,a]),c.useEffect(()=>{if(!i)return;let e=e=>{e.key===`Escape`&&a(!1)};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[i,a]),(0,l.jsx)(Li.Provider,{value:{open:i,setOpen:a,contentId:s},children:(0,l.jsx)(`div`,{ref:o,className:`relative inline-block`,children:r})})}var Bi=({children:e,ref:t,...n})=>{let{open:r,setOpen:i,contentId:a}=Ri();return(0,l.jsx)(`span`,{ref:t,...n,className:`inline-block`,onClick:()=>i(!r),"aria-expanded":r,"aria-controls":a,children:e})};Bi.displayName=`PopoverTrigger`;var Vi=({children:e,className:t,ref:n,...r})=>{let{open:i,contentId:a}=Ri();return i?(0,l.jsxs)(`div`,{ref:n,role:`dialog`,id:a,...r,className:Y(`absolute mt-2 bg-background border border-border rounded-lg p-4 shadow-4 w-64 z-40`,t),children:[(0,l.jsx)(`div`,{className:`absolute -top-[6px] left-4 w-3 h-3 rotate-45 bg-background border-l border-t border-border`}),e]}):null};Vi.displayName=`PopoverContent`,zi.displayName=`Popover`;var Hi=Object.assign(zi,{Trigger:Bi,Content:Vi}),Ui={dark:`bg-[#242424] text-white`,light:`bg-white border border-border text-foreground`},Wi=({content:e,variant:t=`dark`,delay:n=200,children:r,className:i,ref:a,...o})=>{let[s,u]=c.useState(!1),d=c.useRef(void 0),f=Q(`tooltip`),p=()=>{d.current=setTimeout(()=>u(!0),n)},m=()=>{clearTimeout(d.current),u(!1)};if(c.useEffect(()=>()=>clearTimeout(d.current),[]),!c.isValidElement(r))return null;let h=c.cloneElement(r,{"aria-describedby":s?f:void 0});return(0,l.jsxs)(`span`,{ref:a,...o,className:Y(`relative inline-block`,i),onMouseEnter:p,onMouseLeave:m,onFocus:p,onBlur:m,children:[h,s&&(0,l.jsx)(`span`,{role:`tooltip`,id:f,className:Y(`absolute bottom-full left-1/2 -translate-x-1/2 mb-2 text-caption-1 px-3 py-1.5 rounded shadow whitespace-nowrap z-50`,Ui[t]),children:e})]})};Wi.displayName=`Tooltip`;var Gi={left:`left-0 top-0 h-full w-80`,right:`right-0 top-0 h-full w-80`},Ki=({open:e,defaultOpen:t,onOpenChange:n,position:r=`right`,title:i,children:a,className:o,ref:s,...d})=>{let[f,p]=Z(e,t??!1,n),m=c.useRef(null),h=c.useRef(null),g=Q(`drawer-title`),[_,v]=c.useState(!1);c.useEffect(()=>{v(!0)},[]),c.useEffect(()=>{if(f){let e=document.body.style.overflow;return document.body.style.overflow=`hidden`,()=>{document.body.style.overflow=e}}},[f]);let y=c.useCallback(e=>{m.current=e,typeof s==`function`?s(e):s&&(s.current=e)},[s]);return c.useEffect(()=>{f?(h.current=document.activeElement,requestAnimationFrame(()=>{(m.current?.querySelector(`button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])`))?.focus()})):h.current&&=(h.current.focus(),null)},[f]),c.useEffect(()=>{if(!f)return;let e=e=>{if(e.key===`Escape`&&p(!1),e.key===`Tab`){let t=m.current?.querySelectorAll(`button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])`);if(!t?.length){e.preventDefault(),m.current?.focus();return}let n=t[0],r=t[t.length-1];e.shiftKey?document.activeElement===n&&(e.preventDefault(),r.focus()):document.activeElement===r&&(e.preventDefault(),n.focus())}};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[f,p]),!_||!f?null:(0,u.createPortal)((0,l.jsx)(`div`,{className:`fixed inset-0 bg-black/40 z-50`,onClick:e=>{m.current&&!m.current.contains(e.target)&&p(!1)},children:(0,l.jsxs)(`div`,{ref:y,role:`dialog`,"aria-modal":`true`,"aria-labelledby":i?g:void 0,tabIndex:-1,...d,className:Y(`fixed bg-background shadow-[0px_32px_64px_rgba(0,0,0,0.24)] flex flex-col`,Gi[r],o),children:[(0,l.jsxs)(`div`,{className:`p-4 border-b border-border flex justify-between items-center`,children:[i&&(0,l.jsx)(`h2`,{id:g,className:`text-subtitle-1 font-semibold`,children:i}),(0,l.jsx)(`button`,{onClick:()=>p(!1),className:`p-1 rounded hover:bg-[#f5f5f5] text-muted-foreground ml-auto`,"aria-label":`Close`,children:(0,l.jsx)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 16 16`,fill:`none`,children:(0,l.jsx)(`path`,{d:`M3.5 3.5L12.5 12.5M12.5 3.5L3.5 12.5`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`})})})]}),(0,l.jsx)(`div`,{className:`p-4 overflow-y-auto flex-1`,children:a})]})}),document.body)};Ki.displayName=`Drawer`;var qi=({steps:e,currentStep:t,defaultCurrentStep:n,onStepChange:r,onDismiss:i,open:a=!0,className:o,ref:s,...u})=>{let[d,f]=Z(t,n??0,r),p=Q(`teaching-popover-title`),m=c.useRef(null);if(c.useEffect(()=>{a&&m.current?.focus()},[a]),!a||e.length===0)return null;let h=e[d]??e[0],g=d===0,_=d===e.length-1,v=()=>{g||f(d-1)},y=()=>{_?i?.():f(d+1)},b=e=>{e.key===`Escape`&&i?.()};return(0,l.jsxs)(`div`,{ref:e=>{m.current=e,typeof s==`function`?s(e):s&&(s.current=e)},role:`dialog`,"aria-labelledby":p,className:Y(`relative bg-background border border-border rounded-lg p-5 shadow-8 w-80`,o),onKeyDown:b,tabIndex:-1,...u,children:[(0,l.jsx)(`button`,{type:`button`,className:`absolute top-3 right-3 text-[#616161] hover:text-[#242424] bg-transparent border-0 p-1 rounded cursor-pointer`,onClick:i,"aria-label":`Close`,children:(0,l.jsx)(`svg`,{className:`h-4 w-4`,viewBox:`0 0 16 16`,fill:`currentColor`,"aria-hidden":`true`,children:(0,l.jsx)(`path`,{d:`M12.35 4.35L11.65 3.65 8 7.29 4.35 3.65 3.65 4.35 7.29 8 3.65 11.65 4.35 12.35 8 8.71 11.65 12.35 12.35 11.65 8.71 8z`})})}),(0,l.jsx)(`h3`,{id:p,className:`text-subtitle-1 font-semibold text-[#242424] mb-2 pr-6`,children:h.title}),(0,l.jsx)(`div`,{className:`text-body-1 text-[#616161] mb-4`,children:h.body}),(0,l.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,l.jsx)(`div`,{className:`flex items-center gap-1.5`,role:`group`,"aria-label":`Steps`,children:e.map((e,t)=>(0,l.jsx)(`span`,{"aria-hidden":`true`,className:Y(`h-1.5 w-1.5 rounded-full transition-colors`,t===d?`bg-[#0f6cbd]`:`bg-[#d1d1d1]`)},t))}),(0,l.jsxs)(`div`,{className:`flex items-center gap-2`,children:[!g&&(0,l.jsx)(`button`,{type:`button`,className:`px-3 py-1 text-body-1 rounded border border-border bg-background hover:bg-[#f5f5f5] transition-colors cursor-pointer`,onClick:v,children:`Back`}),(0,l.jsx)(`button`,{type:`button`,className:`px-3 py-1 text-body-1 rounded bg-[#0f6cbd] text-white hover:bg-[#0e5faa] transition-colors border-0 cursor-pointer`,onClick:y,children:_?`Done`:`Next`})]})]})]})};qi.displayName=`TeachingPopover`;var Ji=c.createContext({striped:!1}),Yi=({striped:e=!1,children:t,className:n,ref:r,...i})=>(0,l.jsx)(Ji.Provider,{value:{striped:e},children:(0,l.jsx)(`div`,{className:`overflow-hidden rounded-lg border border-border`,children:(0,l.jsx)(`table`,{ref:r,className:Y(`w-full border-separate border-spacing-0`,n),...i,children:t})})});Yi.displayName=`Table`;var Xi=({children:e,className:t,ref:n,...r})=>(0,l.jsx)(`thead`,{ref:n,...r,className:Y(`bg-[#fafafa]`,t),children:e});Xi.displayName=`TableHead`;var Zi=({children:e,className:t,ref:n,...r})=>(0,l.jsx)(`th`,{ref:n,scope:`col`,className:Y(`px-4 py-3 text-left font-semibold text-caption-1 uppercase tracking-wider border-b`,t),...r,children:e});Zi.displayName=`TableHeadCell`;var Qi=({children:e,className:t,ref:n,...r})=>(0,l.jsx)(`tbody`,{ref:n,...r,className:t,children:e});Qi.displayName=`TableBody`;var $i=({children:e,className:t,ref:n,...r})=>{let{striped:i}=c.useContext(Ji);return(0,l.jsx)(`tr`,{ref:n,className:Y(`hover:bg-[#f0f0f0] transition-colors`,i&&`odd:bg-[#fafafa]`,t),...r,children:e})};$i.displayName=`TableRow`;var ea=({children:e,className:t,ref:n,...r})=>(0,l.jsx)(`td`,{ref:n,className:Y(`px-4 py-3 text-body-1 border-b border-[#f0f0f0]`,t),...r,children:e});ea.displayName=`TableCell`;var ta=Object.assign(Yi,{Head:Xi,HeadCell:Zi,Body:Qi,Row:$i,Cell:ea}),na=c.createContext({sortColumn:``,sortDirection:`ascending`,handleSort:()=>{},selectionMode:`none`,selectedKeys:new Set,toggleSelection:()=>{},toggleAll:()=>{}});function ra(){return c.useContext(na)}var ia=({sortColumn:e,defaultSortColumn:t,sortDirection:n,defaultSortDirection:r,onSortChange:i,selectionMode:a=`none`,selectedKeys:o,defaultSelectedKeys:s,onSelectionChange:u,children:d,className:f,columns:p,ref:m,...h})=>{let[g,_]=Z(e,t??``,void 0),[v,y]=Z(n,r??`ascending`,void 0),[b,x]=Z(o,s??new Set,u),S=c.useCallback(e=>{let t=g===e&&v===`ascending`?`descending`:`ascending`;_(e),y(t),i?.(e,t)},[g,v,_,y,i]),C=c.useCallback(e=>{let t=new Set(b);a===`single`?t.has(e)?t.delete(e):(t.clear(),t.add(e)):t.has(e)?t.delete(e):t.add(e),x(t)},[b,a,x]),w=c.useCallback(e=>{b.size===e.length?x(new Set):x(new Set(e))},[b,x]),T=c.useMemo(()=>({sortColumn:g,sortDirection:v,handleSort:S,selectionMode:a,selectedKeys:b,toggleSelection:C,toggleAll:w}),[g,v,S,a,b,C,w]);return(0,l.jsx)(na.Provider,{value:T,children:(0,l.jsx)(`div`,{className:`overflow-hidden rounded-lg border border-border`,children:(0,l.jsx)(`table`,{ref:m,role:`grid`,className:Y(`w-full border-separate border-spacing-0`,f),...h,children:d})})})};ia.displayName=`DataGrid`;var aa=({children:e,className:t,ref:n,...r})=>(0,l.jsx)(`thead`,{ref:n,className:Y(`bg-[#fafafa]`,t),...r,children:e});aa.displayName=`DataGridHeader`;var oa=({columnId:e,sortable:t=!1,children:n,className:r,ref:i,...a})=>{let{sortColumn:o,sortDirection:s,handleSort:c}=ra(),u=e!=null&&o===e,d=()=>{t&&e&&c(e)},f=n=>{t&&e&&(n.key===`Enter`||n.key===` `)&&(n.preventDefault(),c(e))};return(0,l.jsx)(`th`,{ref:i,scope:`col`,className:Y(`px-4 py-3 text-left font-semibold text-caption-1 uppercase tracking-wider border-b`,t&&`cursor-pointer select-none hover:bg-[#f0f0f0]`,r),"aria-sort":t?u?s:`none`:void 0,tabIndex:t?0:void 0,onClick:d,onKeyDown:f,...a,children:(0,l.jsxs)(`span`,{className:`inline-flex items-center gap-1`,children:[n,u&&(0,l.jsx)(`svg`,{className:`h-3 w-3`,viewBox:`0 0 12 12`,fill:`currentColor`,"aria-hidden":`true`,children:s===`ascending`?(0,l.jsx)(`path`,{d:`M6 2L10 8H2L6 2Z`}):(0,l.jsx)(`path`,{d:`M6 10L2 4H10L6 10Z`})})]})})};oa.displayName=`DataGridHeaderCell`;var sa=({children:e,className:t,ref:n,...r})=>(0,l.jsx)(`tbody`,{ref:n,className:t,...r,children:e});sa.displayName=`DataGridBody`;var ca=({rowId:e,children:t,className:n,ref:r,...i})=>{let{selectionMode:a,selectedKeys:o,toggleSelection:s}=ra(),c=e!=null&&o.has(e),u=t=>{a!==`none`&&e&&(t.key===`Enter`||t.key===` `)&&(t.preventDefault(),s(e))};return(0,l.jsxs)(`tr`,{ref:r,className:Y(`hover:bg-[#f0f0f0] transition-colors`,c&&`bg-[#e8f4fd]`,n),"aria-selected":a===`none`?void 0:c,tabIndex:a===`none`?void 0:0,onKeyDown:u,...i,children:[a!==`none`&&(0,l.jsx)(`td`,{className:`w-10 px-3 py-3 border-b border-[#f0f0f0]`,children:(0,l.jsx)(`input`,{type:a===`multiple`?`checkbox`:`radio`,checked:c,onChange:()=>e&&s(e),"aria-label":`Select row ${e}`,className:`accent-[#0f6cbd]`})}),t]})};ca.displayName=`DataGridRow`;var la=({children:e,className:t,ref:n,...r})=>(0,l.jsx)(`td`,{ref:n,className:Y(`px-4 py-3 text-body-1 border-b border-[#f0f0f0]`,t),...r,children:e});la.displayName=`DataGridCell`;var ua=Object.assign(ia,{Header:aa,HeaderCell:oa,Body:sa,Row:ca,Cell:la});exports.Accordion=tr,exports.Avatar=_n,exports.AvatarGroup=yn,exports.Badge=Sn,exports.Breadcrumb=Wr,exports.Button=et,exports.Card=Jn,exports.Carousel=hr,exports.Checkbox=wt,exports.ColorPicker=qt,exports.Combobox=Bt,exports.CompoundButton=rt,exports.CounterBadge=Dn,exports.DataGrid=ua,exports.DatePicker=mn,exports.Dialog=Ii,exports.Divider=jn,exports.Drawer=Ki,exports.Dropdown=Ht,exports.Field=Ct,exports.Flex=Mr,exports.Grid=Br,exports.Image=Fn,exports.InfoLabel=Mn,exports.Input=xt,exports.Label=It,exports.Link=yt,exports.List=zn,exports.Menu=Jr,exports.MenuButton=_t,exports.MessageBar=hi,exports.Nav=ei,exports.Option=$,exports.OptionGroup=Lt,exports.Overflow=br,exports.OverflowItem=yr,exports.Pagination=oi,exports.Persona=An,exports.Popover=Hi,exports.PresenceBadge=En,exports.ProgressBar=gi,exports.RadioGroup=Et,exports.RadioItem=Dt,exports.Rating=Zt,exports.RatingDisplay=Qt,exports.SearchBox=Mt,exports.Select=kt,exports.Skeleton=bi,exports.Slider=Nt,exports.SpinButton=Pt,exports.Spinner=vi,exports.SplitButton=pt,exports.Stack=Tr,exports.Stepper=fi,exports.SwatchPicker=Gt,exports.Switch=Ot,exports.TabList=sr,exports.Table=ta,exports.Tag=On,exports.TagPicker=Jt,exports.TeachingPopover=qi,exports.Text=Hn,exports.Textarea=St,exports.TimePicker=rn,exports.Toast=Oi,exports.Toaster=Di,exports.ToggleButton=st,exports.Toolbar=bt,exports.Tooltip=Wi,exports.Tree=dr,exports.WaveProvider=Ze,exports.cn=Y,exports.renderSlot=X,exports.resolveSlot=Ge,exports.useControllable=Z,exports.useEventCallback=Ke,exports.useId=Q,exports.useIsOverflowing=_r,exports.useRovingTabIndex=qe,exports.useToastController=Si,exports.useWaveTheme=Ye;