@qtalo/qt-ui-library 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,319 @@
1
+ # QT UI Library
2
+
3
+ A modern, type-safe React component library built with React 19, TypeScript, Vite, and TailwindCSS 4. This library provides reusable UI primitives, components, patterns, and design tokens for building consistent user interfaces.
4
+
5
+ ## Project Overview
6
+
7
+ The QT UI Library is a component library that organizes UI elements into three main categories: primitives (low-level building blocks), components (composed elements), and patterns (higher-level combinations). It uses TailwindCSS 4 for styling and Ladle for component development and documentation.
8
+
9
+ ## Project Structure (High-Level)
10
+
11
+ ```
12
+ src/
13
+ primitives/ # Low-level, reusable UI building blocks
14
+ components/ # Composed elements built from primitives
15
+ patterns/ # Higher-level combinations for common use cases
16
+ icons/ # SVG icon components
17
+ tokens/ # Design tokens (colors, spacing, etc.)
18
+ utils/ # Shared utility functions
19
+ ```
20
+
21
+ - **Primitives**: Basic building blocks with minimal dependencies (e.g., Button, Input, Checkbox)
22
+ - **Components**: Composed elements that combine primitives (e.g., Card, Accordion, Badge)
23
+ - **Patterns**: Higher-level UI patterns that solve specific use cases (e.g., FilterBar, ActionMenu, StatusBadge)
24
+ - **Icons**: Reusable SVG icon components organized by category
25
+ - **Tokens**: Design system values that serve as the single source of truth
26
+ - **Utils**: Shared utilities like classname merging and helper functions
27
+
28
+ ## Creating UI Elements
29
+
30
+ ### Primitives
31
+
32
+ Primitives are low-level, headless UI building blocks with minimal styling and dependencies. They provide core functionality and accessibility features.
33
+
34
+ **When to create a primitive:**
35
+
36
+ - You need a basic, reusable UI element (button, input, checkbox)
37
+ - The element should be highly flexible and composable
38
+ - It serves as a foundation for other components
39
+
40
+ **Where they live:** `src/primitives/`
41
+
42
+ ### Components
43
+
44
+ Components are composed elements built from primitives. They provide more structure and styling out of the box.
45
+
46
+ **When to create a component:**
47
+
48
+ - You need a composed UI element that combines multiple primitives
49
+ - The element has a specific structure and visual design
50
+ - It's a common UI pattern that benefits from a consistent API
51
+
52
+ **Where they live:** `src/components/`
53
+
54
+ ### Patterns
55
+
56
+ Patterns are higher-level combinations of components and primitives that solve specific use cases or workflows.
57
+
58
+ **When to create a pattern:**
59
+
60
+ - You need a complete UI solution for a specific use case
61
+ - The pattern combines multiple components in a meaningful way
62
+ - It represents a reusable workflow or interaction pattern
63
+
64
+ **Where they live:** `src/patterns/`
65
+
66
+ ## Stories
67
+
68
+ This library uses [Ladle](https://ladle.dev) for component development and documentation. Stories allow you to develop and test components in isolation.
69
+
70
+ **Naming convention:** Story files use the `.story.tsx` extension and live alongside their component files.
71
+
72
+ **Example story:**
73
+
74
+ ```tsx
75
+ // src/primitives/button.story.tsx
76
+ import type { Story } from "@ladle/react";
77
+ import { Button } from "./button";
78
+
79
+ export default {
80
+ title: "Primitives/Button",
81
+ };
82
+
83
+ export const Overview: Story = () => (
84
+ <Button>Click me</Button>
85
+ );
86
+ ```
87
+
88
+ Run `npm run dev` to start the Ladle development server and view all stories.
89
+
90
+ ## Installation & Usage
91
+
92
+ ### Installation
93
+
94
+ This package is published publicly on npmjs.org.
95
+
96
+ ```bash
97
+ npm install @qtalo/qt-ui-library
98
+ ```
99
+
100
+ ### Peer Dependencies
101
+
102
+ This library requires the following peer dependencies:
103
+
104
+ ```bash
105
+ npm install react@^19.2.3 react-dom@^19.2.3 clsx@^2.1.1 tailwind-merge@^3.4.0 tailwind-variants@^3.2.2 tailwindcss@^4.1.18
106
+ ```
107
+
108
+ ### Usage
109
+
110
+ Import components, primitives, patterns, icons, and tokens from the main entry point:
111
+
112
+ ```tsx
113
+ import { Button, Card, StatusBadge, Logo } from "@qtalo/qt-ui-library";
114
+ ```
115
+
116
+ **Styles are automatically included!** This library uses `vite-plugin-lib-inject-css` to automatically inject styles when you import components. No manual CSS import is needed.
117
+
118
+ ### Tailwind CSS v4 Configuration
119
+
120
+ This library is built with **Tailwind CSS v4** and uses the modern `@theme` directive for design tokens. The styles are automatically injected into your application when you import components.
121
+
122
+ **For Next.js projects**, ensure you have Tailwind CSS v4 installed and configured:
123
+
124
+ ```bash
125
+ npm install -D tailwindcss@^4.1.18 @tailwindcss/postcss@^4.1.18
126
+ ```
127
+
128
+ **In your `app/globals.css`:**
129
+
130
+ ```css
131
+ @import "tailwindcss";
132
+
133
+ @theme {
134
+ /* Your custom design tokens (optional) */
135
+ --color-background: oklch(1 0 0);
136
+ --color-foreground: oklch(0.1 0 0);
137
+ }
138
+ ```
139
+
140
+ **In your `next.config.js`:**
141
+
142
+ ```javascript
143
+ /** @type {import('next').NextConfig} */
144
+ const nextConfig = {
145
+ transpilePackages: ['@qtalo/qt-ui-library'],
146
+ };
147
+
148
+ module.exports = nextConfig;
149
+ ```
150
+
151
+ ### Next.js Usage
152
+
153
+ This library is built with React Server Components in mind. All components that use React hooks or accept event handlers are marked as Client Components.
154
+
155
+ **⚠️ Important:** When using this library in a Next.js app, you **MUST** mark your component as a Client Component if you're passing event handlers (like `onClick`, `onChange`, etc.):
156
+
157
+ ```tsx
158
+ "use client"; // ← REQUIRED when passing event handlers
159
+
160
+ import { Button } from "@qtalo/qt-ui-library";
161
+
162
+ export function MyComponent() {
163
+ return (
164
+ <Button onClick={() => console.log("clicked")}>
165
+ Click me
166
+ </Button>
167
+ );
168
+ }
169
+ ```
170
+
171
+ **Why?** Next.js cannot serialize functions from Server Components to Client Components. Even though library components are Client Components, the component that imports and uses them must also be a Client Component when passing event handlers.
172
+
173
+ **If you see this error:**
174
+ ```
175
+ Event handlers cannot be passed to Client Component props.
176
+ ```
177
+
178
+ **Solution:** Add `"use client"` at the top of the file that's using the library component with event handlers.
179
+
180
+ ### Usage with Other Frameworks
181
+
182
+ **Vite + React:**
183
+
184
+ ```tsx
185
+ // main.tsx or App.tsx
186
+ import { Button } from "@qtalo/qt-ui-library";
187
+
188
+ function App() {
189
+ return <Button>Click me</Button>;
190
+ }
191
+ ```
192
+
193
+ Styles are automatically included - no additional setup needed!
194
+
195
+ **Create React App:**
196
+
197
+ This library works with CRA, but requires Tailwind CSS v4 to be configured in your project.
198
+
199
+ ## Design Tokens
200
+
201
+ This library uses Tailwind CSS v4's `@theme` directive for design tokens. You can access these tokens in your consuming application:
202
+
203
+ ```css
204
+ @theme {
205
+ /* Library tokens are automatically available */
206
+ --color-brand-primary: oklch(0.5 0.2 250);
207
+ --color-brand-secondary: oklch(0.6 0.15 180);
208
+ }
209
+ ```
210
+
211
+ You can override these tokens in your own application's CSS by redefining them in your `@theme` block.
212
+
213
+ ## Release & Publishing Workflow
214
+
215
+ Versioning is handled via npm's `version` command, which automatically updates `package.json`, creates a commit, and creates a git tag.
216
+
217
+ ### Supported Commands
218
+
219
+ ```bash
220
+ npm version patch --message "Update version to %s"
221
+ npm version minor --message "Update version to %s"
222
+ npm version major --message "Update version to %s"
223
+ ```
224
+
225
+ **When to use each version type:**
226
+
227
+ - **patch**
228
+ Use for small changes such as bug fixes, minor UI tweaks, or internal refactors that do not affect the public API.
229
+
230
+ _Example:_
231
+ - Fix a padding issue in `Button`
232
+ - Improve internal styles of `StatusBadge`
233
+ - Refactor code without changing component props
234
+ `0.1.0 → 0.1.1`
235
+
236
+ - **minor**
237
+ Use when adding new components, patterns, or features in a backward-compatible way. Existing usage should continue to work without changes.
238
+
239
+ _Example:_
240
+ - Add a new `FilterBar` pattern
241
+ - Introduce a new optional prop to an existing component
242
+ - Add new icons or tokens
243
+ `0.1.1 → 0.2.0`
244
+
245
+ - **major**
246
+ Use when introducing breaking changes, such as API changes, removed components, or significant behavior updates that require changes in consuming applications.
247
+
248
+ _Example:_
249
+ - Rename or remove component props
250
+ - Change component behavior in a non-compatible way
251
+ - Remove or restructure patterns
252
+ `0.2.0 → 1.0.0`
253
+
254
+ The `npm version` command automatically:
255
+
256
+ - Updates the version in `package.json`
257
+ - Creates a commit with your message
258
+ - Creates a git tag matching the version
259
+
260
+ ### Release Flow
261
+
262
+ 1. **Commit your changes:**
263
+
264
+ ```bash
265
+ git add .
266
+ git commit -m "Your changes"
267
+ ```
268
+
269
+ 2. **Bump the version:**
270
+
271
+ ```bash
272
+ npm version patch --message "Update version to %s"
273
+ # or minor/major as needed
274
+ ```
275
+
276
+ 3. **Push commits and tags:**
277
+
278
+ ```bash
279
+ git push --follow-tags
280
+ ```
281
+
282
+ 4. **Create a GitHub Release:**
283
+ - Go to GitHub → Releases
284
+ - Click "Create a new release"
285
+ - Select the tag that was just created
286
+ - Add release notes
287
+ - Click "Publish release"
288
+
289
+ 5. **Publishing happens automatically:**
290
+ - When you publish the GitHub Release, the GitHub Actions workflow triggers
291
+ - The workflow builds the package and publishes it to **npmjs.org**
292
+ - Publishing only occurs when a GitHub Release is published
293
+
294
+ **Note:** The GitHub Actions workflow verifies that the tag version matches the `package.json` version before publishing.
295
+
296
+ ## Troubleshooting
297
+
298
+ ### Styles not appearing
299
+
300
+ 1. Ensure `transpilePackages: ['@qtalo/qt-ui-library']` is in your `next.config.js`
301
+ 2. Verify Tailwind CSS v4 is installed: `npm list tailwindcss`
302
+ 3. Clear cache: `rm -rf .next node_modules/.cache`
303
+ 4. Rebuild: `npm run dev`
304
+
305
+ ### Type errors
306
+
307
+ Ensure you have the correct peer dependencies installed with compatible versions.
308
+
309
+ ### Components not rendering
310
+
311
+ Check that you're using React 19+. This library requires React 19.2.3 or higher.
312
+
313
+ ## Contributing
314
+
315
+ See [CONTRIBUTING.md](./CONTRIBUTING.md) for guidelines on contributing to this library.
316
+
317
+ ## License
318
+
319
+ MIT
package/dist/index.cjs ADDED
@@ -0,0 +1,2 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});require('./index.css');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(`clsx`);c=s(c);let l=require(`tailwind-merge`),u=require(`react`),d=require(`react/jsx-runtime`),f=require(`react-dom`),p=require(`tailwind-variants`);const m={brandPrimary:`#6558fd`,brandSecondary:`#ceff1a`};var h=[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],g=[`Mo`,`Tu`,`We`,`Th`,`Fr`,`Sa`,`Su`];function _(e,t){return new Date(e,t+1,0).getDate()}function v(e,t){return new Date(e,t,1).getDay()}function y(e){return e===0?6:e-1}function b(e){return e?`${(h[e.getMonth()]??``).substring(0,3)} ${e.getDate()}, ${e.getFullYear()}`:``}function ee(e){if(!e)return null;let t=e.split(`/`);if(t.length!==3)return null;let n=parseInt(t[0],10)-1,r=parseInt(t[1],10),i=parseInt(t[2],10),a=new Date(i,n,r);return a.getFullYear()!==i||a.getMonth()!==n||a.getDate()!==r?null:a}function x(e,t){return!e||!t?!1:e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}function te(e){return x(e,new Date)}function S(e,t){return new Date(e.getFullYear(),e.getMonth(),e.getDate())<new Date(t.getFullYear(),t.getMonth(),t.getDate())}function C(e,t,n){if(!t||!n)return!1;let r=new Date(e.getFullYear(),e.getMonth(),e.getDate()),i=new Date(t.getFullYear(),t.getMonth(),t.getDate()),a=new Date(n.getFullYear(),n.getMonth(),n.getDate());return r>=i&&r<=a}function w(e,t){if(!e)return``;if(!t||e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate())return ne(e);let n=h[e.getMonth()]?.substring(0,3)??``,r=e.getDate(),i=e.getFullYear(),a=h[t.getMonth()]?.substring(0,3)??``,o=t.getDate(),s=t.getFullYear();return i===s?`${n} ${r} - ${a} ${o}, ${i}`:`${n} ${r}, ${i} - ${a} ${o}, ${s}`}function ne(e){return`${h[e.getMonth()]?.substring(0,3)??``} ${e.getDate()}, ${e.getFullYear()}`}function re(e){return h[e]??``}function T(){return g}function E(e,t){let n=_(e,t),r=y(v(e,t)),i=[],a=t===0?11:t-1,o=t===0?e-1:e,s=_(o,a),c=s-r+1;for(let e=c;e<=s;e++)i.push({date:new Date(o,a,e),day:e,isCurrentMonth:!1});for(let r=1;r<=n;r++)i.push({date:new Date(e,t,r),day:r,isCurrentMonth:!0});let l=(7-i.length%7)%7,u=t===11?0:t+1,d=t===11?e+1:e;for(let e=1;e<=l;e++)i.push({date:new Date(d,u,e),day:e,isCurrentMonth:!1});return i}function D(...e){return(0,l.twMerge)((0,c.default)(e))}const ie=e=>e.charAt(0).toUpperCase()+e.slice(1);function ae(e){let t=0;for(let n=0;n<e.length;n++)t=e.charCodeAt(n)+((t<<5)-t)+n*31;return t+e.length*997}function oe(e){let t=e.trim().split(/\s+/);return(t.length>=2?t[0][0]+t[1][0]:t[0]?.substring(0,2)??``).toUpperCase()}function se(e,t){let n=ae(e.trim().toLowerCase());return t[Math.abs(n)%t.length]}function ce(e,t,n=450){let r=(0,u.useRef)(null),i=(0,u.useRef)(!1),a=()=>{i.current=!1,r.current=window.setTimeout(()=>{e(),i.current=!0},n)},o=()=>{r.current&&=(clearTimeout(r.current),null)};return{onMouseDown:a,onMouseUp:o,onMouseLeave:o,onTouchStart:a,onTouchEnd:o,onClick:()=>{i.current||t()}}}function O({className:e,children:t,...n}){return(0,d.jsx)(`button`,{...n,className:D(`btn-base`,e),children:t})}function k({checked:e,defaultChecked:t,icon:n,indeterminate:r,indeterminateIcon:i,onChange:a,disabled:o,children:s,className:c}){let l=(0,u.useRef)(null),[f,p]=(0,u.useState)(t??!1),m=e??f;(0,u.useEffect)(()=>{l.current&&(l.current.indeterminate=!!r)},[r]);function h(t){let n=t.target.checked;e===void 0&&p(n),a?.(n)}return(0,d.jsxs)(`label`,{className:D(`relative inline-flex w-fit cursor-pointer items-center gap-2 select-none`,o&&`pointer-events-none opacity-50`,c),children:[(0,d.jsx)(`input`,{ref:l,type:`checkbox`,className:D(`absolute h-px w-px overflow-hidden p-0 whitespace-nowrap`,`[clip-path:inset(50%)]`,`border-0`),disabled:o,onChange:h,...e===void 0?{defaultChecked:t}:{checked:e}}),(0,d.jsx)(`span`,{role:`checkbox`,"aria-checked":r?`mixed`:m,tabIndex:-1,"data-state":r?`indeterminate`:m?`checked`:`unchecked`,className:`checkbox-box inline-flex items-center justify-center`,children:(0,d.jsx)(`span`,{className:D(`checkbox-icon`,!(m||r)&&`opacity-0`),children:r?i??`—`:n??`✓`})}),s&&(0,d.jsx)(`span`,{className:`checkbox-label`,children:s})]})}const A=(0,u.createContext)(null);function j(){let e=(0,u.useContext)(A);if(!e)throw Error(`useDropdown must be used inside Dropdown`);return e}function M({trigger:e,children:t,align:n=`start`,disabled:r=!1}){let[i,a]=(0,u.useState)(!1),o=(0,u.useRef)(null),s=(0,u.useRef)(null),c=(0,u.useRef)(null),[l,p]=(0,u.useState)(null);(0,u.useLayoutEffect)(()=>{if(!i||!o.current||!s.current)return;let e=o.current.getBoundingClientRect(),t=s.current.getBoundingClientRect(),r=e.left;n===`end`&&(r=e.right-t.width),p({top:e.bottom,left:r})},[i,n]);function m(){c.current&&=(clearTimeout(c.current),null),a(!0)}function h(){c.current=window.setTimeout(()=>{a(!1)},120)}return(0,u.useEffect)(()=>{function e(e){let t=e.target;o.current?.contains(t)||s.current?.contains(t)||a(!1)}return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[]),(0,u.useEffect)(()=>()=>{c.current&&clearTimeout(c.current)},[]),(0,d.jsxs)(A.Provider,{value:{close:()=>a(!1)},children:[(0,d.jsx)(`div`,{ref:o,className:`inline-block`,onMouseEnter:m,onMouseLeave:h,onClick:()=>a(e=>!e),children:e}),i&&!r&&(0,f.createPortal)((0,d.jsx)(`div`,{ref:s,onMouseEnter:m,onMouseLeave:h,style:{position:`fixed`,top:l?.top??0,left:l?.left??0,visibility:l?`visible`:`hidden`,zIndex:1e3},children:t}),document.body)]})}function le({type:e=`text`,value:t,defaultValue:n,disabled:r=!1,error:i=!1,placeholder:a,onChange:o,className:s}){let[c,l]=(0,u.useState)(n??``),f=t!==void 0,p=f?t:c;function m(e){let t=e.target.value;f||l(t),o?.(t)}return(0,d.jsx)(`input`,{type:e,value:p,placeholder:a,disabled:r,"aria-disabled":r||void 0,"aria-invalid":i||void 0,onChange:m,className:D(`bg-transparent outline-none`,r&&`pointer-events-none`,s)})}function N({as:e=`div`,disabled:t=!1,onPress:n,className:r,children:i}){let a=(0,u.useCallback)(()=>{t||n?.()},[t,n]),o=(0,u.useCallback)(e=>{t||(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),n?.())},[t,n]);return(0,d.jsx)(e,{role:`button`,tabIndex:t?-1:0,"aria-disabled":t||void 0,onClick:a,onKeyDown:o,className:D(`select-none`,!t&&`cursor-pointer`,t&&`pointer-events-none opacity-50`,r),children:i})}function P({children:e}){return(0,d.jsx)(`div`,{className:`contents`,onClick:e=>e.stopPropagation(),onMouseDown:e=>e.stopPropagation(),onPointerDown:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),children:e})}var F=[],I=new Set;function ue(){I.forEach(e=>e(F))}const L={subscribe(e){return I.add(e),e(F),()=>{I.delete(e)}},add(e){F=[e,...F],ue()},remove(e){F=F.filter(t=>t.id!==e),ue()}};function de({content:e,duration:t=4e3,position:n=`bottom-right`}){let r=crypto.randomUUID();return L.add({id:r,content:e,duration:t,position:n}),{id:r,dismiss:()=>L.remove(r)}}function fe(e){return typeof e==`object`&&!!e&&`content`in e}function pe(e,t){return fe(e)?de(e):de({content:e,...t})}var me={"top-left":`top-0 left-0 items-start`,"top-center":`top-0 left-1/2 -translate-x-1/2 items-center`,"top-right":`top-0 right-0 items-end`,"bottom-left":`bottom-0 left-0 items-start`,"bottom-center":`bottom-0 left-1/2 -translate-x-1/2 items-center`,"bottom-right":`bottom-0 right-0 items-end`};function he(){let[e,t]=(0,u.useState)([]),n=(0,u.useRef)(new Map);(0,u.useEffect)(()=>L.subscribe(t),[]);let r=(0,u.useCallback)(e=>{let t=n.current.get(e);t&&(clearTimeout(t),n.current.delete(e))},[]),i=(0,u.useCallback)(e=>{r(e.id);let t=window.setTimeout(()=>{L.remove(e.id)},e.duration);n.current.set(e.id,t)},[r]),a=()=>{n.current.forEach(clearTimeout),n.current.clear()},o=()=>{e.forEach((e,t)=>{r(e.id);let i=window.setTimeout(()=>{L.remove(e.id)},e.duration+t*120);n.current.set(e.id,i)})};(0,u.useEffect)(()=>{e.forEach(e=>{n.current.has(e.id)||i(e)})},[e,i]);let s=e.reduce((e,t)=>((e[t.position]??=[]).push(t),e),{});return(0,f.createPortal)((0,d.jsx)(d.Fragment,{children:Object.entries(s).map(([e,t])=>(0,d.jsx)(`div`,{className:D(`fixed z-1000 flex flex-col items-end gap-2 p-4`,me[e]),onMouseEnter:a,onMouseLeave:o,children:t.map(e=>(0,d.jsx)(u.Fragment,{children:e.content},e.id))},e))}),document.body)}function ge(e,t,n){return n===`start`?e.left:n===`end`?e.right-t.width:e.left+e.width/2-t.width/2}function _e(e,t,n){return n===`start`?e.top:n===`end`?e.bottom-t.height:e.top+e.height/2-t.height/2}function R({children:e,content:t,position:n=`top`,delay:r=120,className:i}){let a=(0,u.useRef)(null),o=(0,u.useRef)(null),s=(0,u.useRef)(null),[c,l]=(0,u.useState)(!1),[p,m]=(0,u.useState)(null),h=()=>{s.current&&=(clearTimeout(s.current),null),s.current=window.setTimeout(()=>{l(!0)},r)},g=()=>{s.current&&=(clearTimeout(s.current),null),l(!1)};return(0,u.useLayoutEffect)(()=>{if(!c||!a.current||!o.current)return;let e=a.current.getBoundingClientRect(),t=o.current.getBoundingClientRect(),[r,i]=n.split(`-`),s=i??`center`,l=0,u=0;r===`top`||r===`bottom`?(l=r===`top`?e.top-t.height-4:e.bottom+4,u=ge(e,t,s)):(u=r===`left`?e.left-t.width-4:e.right+4,l=_e(e,t,s)),m(e=>e&&e.top===l&&e.left===u?e:{top:l,left:u})},[c,n]),(0,u.useEffect)(()=>()=>{s.current&&clearTimeout(s.current)},[]),(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(`div`,{ref:a,className:`inline-flex`,onMouseEnter:h,onMouseLeave:g,onFocus:h,onBlur:g,children:e}),c&&(0,f.createPortal)((0,d.jsx)(`div`,{ref:o,role:`tooltip`,style:{position:`fixed`,top:p?.top??0,left:p?.left??0,visibility:p?`visible`:`hidden`,zIndex:1e3},className:D(i),children:t}),document.body)]})}const z=(0,u.createContext)(null);function B(){let e=(0,u.useContext)(z);if(!e)throw Error(`useAccordion must be used inside Accordion`);return e}function ve({children:e,type:t=`single`,defaultValue:n,className:r}){let[i,a]=(0,u.useState)(()=>n?t===`single`?n?new Set([n]):new Set:Array.isArray(n)?new Set(n):new Set([n]):new Set);return(0,d.jsx)(z.Provider,{value:{openItems:i,toggleItem:e=>{a(n=>{let r=new Set(n);return t===`single`?r.has(e)?new Set:new Set([e]):(r.has(e)?r.delete(e):r.add(e),r)})},type:t},children:(0,d.jsx)(`div`,{className:r,children:e})})}function ye({value:e,children:t,className:n,...r}){let{openItems:i}=B(),a=i.has(e);return(0,d.jsx)(`div`,{className:n,"data-state":a?`open`:`closed`,"data-value":e,...r,children:t})}function be({value:e,children:t,className:n,asChild:r=!1,onClick:i,...a}){let{toggleItem:o,openItems:s}=B(),c=s.has(e),l=t=>{o(e),t&&i&&i(t)};return r&&(0,u.isValidElement)(t)?(0,u.cloneElement)(t,{onClick:l,"aria-expanded":c,"data-state":c?`open`:`closed`}):(0,d.jsx)(N,{type:`button`,className:n,onPress:()=>l(void 0),"aria-expanded":c,"data-state":c?`open`:`closed`,...a,children:t})}function xe({value:e,children:t,className:n,...r}){let{openItems:i}=B(),a=i.has(e);return a?(0,d.jsx)(`div`,{className:n,"data-state":a?`open`:`closed`,"data-value":e,...r,children:t}):null}function V({size:e=16,className:t,viewBox:n=`0 0 24 24`,children:r,...i}){return(0,d.jsx)(`svg`,{width:e,height:e,viewBox:n,fill:`none`,"aria-hidden":!0,focusable:`false`,className:D(`shrink-0`,t),...i,children:r})}function Se(e){return(0,d.jsx)(V,{viewBox:`0 0 32 32`,...e,children:(0,d.jsx)(`path`,{d:`M25.82 25.44C28.07 23.02 29.5 19.74 29.5 15.92C29.5 7.7 22.8 2 15.98 2C9.16 2 2.5 7.7 2.5 15.92C2.5 24.15 9.2 29.84 15.98 29.84C18.23 29.84 20.43 29.22 22.41 28.13L23.61 29.38C24 29.77 24.54 30 25.12 30C26.32 30 27.29 29.03 27.29 27.82C27.29 27.27 27.05 26.76 26.7 26.33L25.81 25.44H25.82ZM22.18 21.73L19.66 19.12C19.31 18.69 18.72 18.46 18.15 18.46C16.95 18.46 15.98 19.47 15.98 20.64C15.98 21.22 16.25 21.73 16.64 22.13L18.77 24.35C17.88 24.66 16.95 24.86 15.98 24.86C11.72 24.86 7.96 21.27 7.96 15.93C7.96 10.58 11.72 7 15.98 7C20.24 7 24.03 10.58 24.03 15.93C24.03 18.23 23.34 20.22 22.18 21.74V21.73Z`,fill:`currentColor`})})}function Ce(e){return(0,d.jsxs)(V,{viewBox:`0 0 36 36`,...e,children:[(0,d.jsx)(`path`,{d:`M16.56 6.99L6.49 11.16C5.93 11.39 5.94 12.18 6.5 12.41L16.61 16.42C17.5 16.77 18.49 16.77 19.37 16.42L29.48 12.41C30.05 12.18 30.05 11.39 29.49 11.16L19.43 6.99C18.51 6.61 17.48 6.61 16.56 6.99`,fill:`#FCB400`}),(0,d.jsx)(`path`,{d:`M18.89 18.6V28.62C18.89 29.09 19.37 29.42 19.81 29.25L31.07 24.87C31.2 24.82 31.31 24.74 31.38 24.63C31.46 24.51 31.5 24.38 31.5 24.25V14.23C31.5 13.76 31.02 13.43 30.58 13.61L19.31 17.98C19.19 18.03 19.08 18.11 19 18.23C18.93 18.34 18.89 18.47 18.89 18.6Z`,fill:`#18BFFF`}),(0,d.jsx)(`path`,{d:`M16.26 19.12L12.91 20.74L12.57 20.9L5.52 24.28C5.07 24.5 4.5 24.17 4.5 23.67V14.28C4.5 14.1 4.59 13.94 4.72 13.82C4.77 13.77 4.82 13.73 4.89 13.7C5.06 13.59 5.3 13.57 5.5 13.65L16.2 17.89C16.74 18.1 16.79 18.87 16.26 19.12Z`,fill:`#F82B60`}),(0,d.jsx)(`path`,{d:`M16.26 19.12L12.91 20.74L4.71 13.82C4.77 13.77 4.82 13.73 4.89 13.7C5.05 13.59 5.29 13.57 5.5 13.65L16.2 17.89C16.74 18.1 16.79 18.87 16.26 19.12Z`,fill:`black`,fillOpacity:`0.25`})]})}function we(e){return(0,d.jsx)(V,{viewBox:`0 0 16 16`,...e,children:(0,d.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M11.46 8.33C9.99 8.33 8.8 9.5 8.8 10.94C8.8 12.38 9.99 13.55 11.46 13.55C12.92 13.55 14.11 12.38 14.11 10.94C14.11 9.5 12.92 8.33 11.46 8.33ZM4.55 8.33C3.08 8.33 1.89 9.5 1.89 10.94C1.89 12.38 3.08 13.55 4.55 13.55C6.02 13.55 7.21 12.38 7.21 10.94C7.21 9.5 6.02 8.33 4.55 8.33ZM10.66 5.06C10.66 6.5 9.47 7.67 8 7.67C6.53 7.67 5.34 6.5 5.34 5.06C5.34 3.61 6.53 2.44 8 2.44C9.47 2.44 10.66 3.61 10.66 5.06Z`,fill:`#F06A6A`})})}function Te(e){return(0,d.jsxs)(V,{viewBox:`0 0 36 36`,...e,children:[(0,d.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M18.03 11.43L10.65 17.81L7.23 13.84L18.05 4.5L28.78 13.85L25.35 17.81L18.03 11.43Z`,fill:`url(#paint0_linear_5796_19610)`}),(0,d.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M6.76 25.23L10.91 22.05C13.11 24.93 15.46 26.26 18.06 26.26C20.67 26.26 22.93 24.95 25.03 22.08L29.24 25.19C26.21 29.32 22.43 31.5 18.06 31.5C13.69 31.5 9.89 29.33 6.76 25.23Z`,fill:`url(#paint1_linear_5796_19610)`}),(0,d.jsxs)(`defs`,{children:[(0,d.jsxs)(`linearGradient`,{id:`paint0_linear_5796_19610`,x1:`6.83`,y1:`10.64`,x2:`28.36`,y2:`10.64`,gradientUnits:`userSpaceOnUse`,children:[(0,d.jsx)(`stop`,{stopColor:`#FF02F0`}),(0,d.jsx)(`stop`,{offset:`1`,stopColor:`#FFC800`})]}),(0,d.jsxs)(`linearGradient`,{id:`paint1_linear_5796_19610`,x1:`6.37`,y1:`26.25`,x2:`28.82`,y2:`26.25`,gradientUnits:`userSpaceOnUse`,children:[(0,d.jsx)(`stop`,{stopColor:`#8930FD`}),(0,d.jsx)(`stop`,{offset:`1`,stopColor:`#49CCF9`})]})]})]})}function Ee(e){return(0,d.jsxs)(V,{viewBox:`0 0 18 18`,...e,children:[(0,d.jsx)(`path`,{d:`M3.02 14.09H5.2V8.79L2.09 6.45V13.15C2.09 13.67 2.51 14.09 3.02 14.09Z`,fill:`#4285F4`}),(0,d.jsx)(`path`,{d:`M12.68 14.09H14.87C15.38 14.09 15.8 13.67 15.8 13.15V6.45L12.68 8.79`,fill:`#34A853`}),(0,d.jsx)(`path`,{d:`M12.68 4.74V8.79L15.8 6.45V5.21C15.8 4.05 14.48 3.39 13.56 4.08`,fill:`#FBBC04`}),(0,d.jsx)(`path`,{d:`M5.2 8.79V4.74L8.94 7.54L12.68 4.74V8.79L8.94 11.59`,fill:`#EA4335`}),(0,d.jsx)(`path`,{d:`M2.09 5.21V6.45L5.2 8.79V4.74L4.33 4.08C3.4 3.39 2.09 4.05 2.09 5.21Z`,fill:`#C5221F`})]})}function De(e){return(0,d.jsxs)(V,{viewBox:`0 0 36 36`,...e,children:[(0,d.jsx)(`path`,{d:`M25.1 10.89L18.71 10.18L10.89 10.89L10.18 18L10.89 25.1L18 25.99L25.1 25.1L25.82 17.82L25.1 10.89Z`,fill:`white`}),(0,d.jsx)(`path`,{d:`M13.81 21.92C13.28 21.56 12.91 21.04 12.71 20.34L13.94 19.83C14.06 20.26 14.25 20.59 14.53 20.83C14.81 21.06 15.14 21.18 15.54 21.18C15.94 21.18 16.29 21.05 16.58 20.81C16.87 20.56 17.01 20.25 17.01 19.87C17.01 19.48 16.86 19.17 16.55 18.92C16.25 18.68 15.87 18.56 15.41 18.56H14.7V17.34H15.33C15.73 17.34 16.06 17.23 16.33 17.02C16.6 16.8 16.74 16.51 16.74 16.14C16.74 15.81 16.62 15.55 16.37 15.35C16.13 15.15 15.83 15.05 15.46 15.05C15.09 15.05 14.81 15.15 14.59 15.34C14.38 15.54 14.22 15.77 14.13 16.05L12.91 15.55C13.07 15.09 13.36 14.68 13.8 14.33C14.24 13.98 14.79 13.81 15.47 13.81C15.97 13.81 16.41 13.9 16.81 14.1C17.21 14.29 17.52 14.56 17.75 14.9C17.97 15.24 18.09 15.63 18.09 16.05C18.09 16.49 17.98 16.86 17.77 17.16C17.56 17.46 17.3 17.69 17 17.85V17.93C17.4 18.09 17.73 18.35 17.99 18.7C18.25 19.04 18.38 19.46 18.38 19.94C18.38 20.42 18.25 20.86 18.01 21.23C17.76 21.61 17.43 21.91 17 22.13C16.56 22.34 16.08 22.45 15.54 22.45C14.92 22.46 14.34 22.28 13.81 21.92Z`,fill:`#1A73E8`}),(0,d.jsx)(`path`,{d:`M21.37 15.8L20.03 16.78L19.35 15.75L21.78 14H22.71V22.26H21.37V15.8Z`,fill:`#1A73E8`}),(0,d.jsx)(`path`,{d:`M25.1 31.5L31.5 25.1L28.3 23.68L25.1 25.1L23.68 28.3L25.1 31.5Z`,fill:`#EA4335`}),(0,d.jsx)(`path`,{d:`M9.47 28.3L10.89 31.5H25.1V25.11H10.89L9.47 28.3Z`,fill:`#34A853`}),(0,d.jsx)(`path`,{d:`M6.63 4.5C5.45 4.5 4.5 5.45 4.5 6.63V25.1L7.7 26.53L10.89 25.1V10.89H25.11L26.53 7.7L25.11 4.5H6.63Z`,fill:`#4285F4`}),(0,d.jsx)(`path`,{d:`M4.5 25.11V29.37C4.5 30.55 5.45 31.5 6.63 31.5H10.89V25.11H4.5Z`,fill:`#188038`}),(0,d.jsx)(`path`,{d:`M25.1 10.89V25.11H31.5V10.89L28.3 9.47L25.1 10.89Z`,fill:`#FBBC04`}),(0,d.jsx)(`path`,{d:`M31.5 10.89V6.63C31.5 5.45 30.54 4.5 29.37 4.5H25.1V10.89H31.5Z`,fill:`#1967D2`})]})}function Oe(e){let t=(0,u.useId)(),n=`jira-gradient-0-${t}`,r=`jira-gradient-1-${t}`;return(0,d.jsxs)(V,{viewBox:`0 0 20 20`,...e,children:[(0,d.jsx)(`path`,{d:`M16.42 3H9.68C9.68 4.68 11.04 6.04 12.72 6.04H13.96V7.24C13.96 8.92 15.32 10.28 17 10.28V3.58C17 3.26 16.74 3 16.42 3Z`,fill:`#2684FF`}),(0,d.jsx)(`path`,{d:`M13.08 6.36H6.34C6.34 8.04 7.7 9.4 9.38 9.4H10.62V10.6C10.62 12.28 11.98 13.64 13.66 13.64V6.94C13.66 6.62 13.4 6.36 13.08 6.36Z`,fill:`url(#${n})`}),(0,d.jsx)(`path`,{d:`M9.74 9.72H3C3 11.4 4.36 12.76 6.04 12.76H7.28V13.96C7.28 15.64 8.64 17 10.32 17V10.3C10.32 9.98 10.06 9.72 9.74 9.72Z`,fill:`url(#${r})`}),(0,d.jsxs)(`defs`,{children:[(0,d.jsxs)(`linearGradient`,{id:n,x1:`16.73`,y1:`3.02`,x2:`11.22`,y2:`8.67`,gradientUnits:`userSpaceOnUse`,children:[(0,d.jsx)(`stop`,{offset:`0.176`,stopColor:`#0052CC`}),(0,d.jsx)(`stop`,{offset:`1`,stopColor:`#2684FF`})]}),(0,d.jsxs)(`linearGradient`,{id:r,x1:`10.37`,y1:`9.75`,x2:`7.06`,y2:`12.97`,gradientUnits:`userSpaceOnUse`,children:[(0,d.jsx)(`stop`,{offset:`0.176`,stopColor:`#0052CC`}),(0,d.jsx)(`stop`,{offset:`1`,stopColor:`#2684FF`})]})]})]})}function ke(e){return(0,d.jsxs)(V,{viewBox:`0 0 36 36`,...e,children:[(0,d.jsx)(`path`,{d:`M31.5 11.93V9.35C31.5 6.67 29.33 4.5 26.65 4.5H9.35C6.67 4.5 4.5 6.67 4.5 9.35V11.93H31.5Z`,fill:`url(#paint0_linear_5796_19583)`}),(0,d.jsx)(`path`,{d:`M4.5 11.91V26.65C4.5 29.33 6.67 31.5 9.35 31.5H26.65C29.33 31.5 31.5 29.33 31.5 26.65V11.91H4.5Z`,fill:`url(#paint1_linear_5796_19583)`}),(0,d.jsx)(`g`,{filter:`url(#filter0_d_5796_19583)`,children:(0,d.jsx)(`path`,{d:`M18.0186 25.5176C19.0579 25.5176 19.9004 24.6751 19.9004 23.6358C19.9004 22.5964 19.0579 21.7539 18.0186 21.7539C16.9793 21.7539 16.1367 22.5964 16.1367 23.6358C16.1367 24.6751 16.9793 25.5176 18.0186 25.5176Z`,fill:`#C7F4FF`})}),(0,d.jsx)(`g`,{filter:`url(#filter1_d_5796_19583)`,children:(0,d.jsx)(`path`,{d:`M11.5987 25.5176C12.638 25.5176 13.4805 24.6751 13.4805 23.6358C13.4805 22.5964 12.638 21.7539 11.5987 21.7539C10.5593 21.7539 9.7168 22.5964 9.7168 23.6358C9.7168 24.6751 10.5593 25.5176 11.5987 25.5176Z`,fill:`#C7F4FF`})}),(0,d.jsx)(`g`,{filter:`url(#filter2_d_5796_19583)`,children:(0,d.jsx)(`path`,{d:`M18.0186 19.5C19.0579 19.5 19.9004 18.6575 19.9004 17.6182C19.9004 16.5789 19.0579 15.7363 18.0186 15.7363C16.9793 15.7363 16.1367 16.5789 16.1367 17.6182C16.1367 18.6575 16.9793 19.5 18.0186 19.5Z`,fill:`#E3FAFF`})}),(0,d.jsx)(`g`,{filter:`url(#filter3_d_5796_19583)`,children:(0,d.jsx)(`path`,{d:`M24.4385 19.5C25.4778 19.5 26.3203 18.6575 26.3203 17.6182C26.3203 16.5789 25.4778 15.7363 24.4385 15.7363C23.3992 15.7363 22.5566 16.5789 22.5566 17.6182C22.5566 18.6575 23.3992 19.5 24.4385 19.5Z`,fill:`#E3FAFF`})}),(0,d.jsx)(`g`,{filter:`url(#filter4_d_5796_19583)`,children:(0,d.jsx)(`path`,{d:`M11.5987 19.5C12.638 19.5 13.4805 18.6575 13.4805 17.6182C13.4805 16.5789 12.638 15.7363 11.5987 15.7363C10.5593 15.7363 9.7168 16.5789 9.7168 17.6182C9.7168 18.6575 10.5593 19.5 11.5987 19.5Z`,fill:`#E3FAFF`})}),(0,d.jsxs)(`defs`,{children:[(0,d.jsxs)(`filter`,{id:`filter0_d_5796_19583`,x:`14.4916`,y:`20.9113`,width:`7.05391`,height:`7.05391`,filterUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,d.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,d.jsx)(`feColorMatrix`,{in:`SourceAlpha`,type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0`,result:`hardAlpha`}),(0,d.jsx)(`feOffset`,{dy:`0.8`}),(0,d.jsx)(`feGaussianBlur`,{stdDeviation:`0.82`}),(0,d.jsx)(`feComposite`,{in2:`hardAlpha`,operator:`out`}),(0,d.jsx)(`feColorMatrix`,{type:`matrix`,values:`0 0 0 0 0.0156863 0 0 0 0 0.431373 0 0 0 0 0.788235 0 0 0 0.7 0`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in2:`BackgroundImageFix`,result:`effect1_dropShadow_5796_19583`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in:`SourceGraphic`,in2:`effect1_dropShadow_5796_19583`,result:`shape`})]}),(0,d.jsxs)(`filter`,{id:`filter1_d_5796_19583`,x:`8.07168`,y:`20.9113`,width:`7.05391`,height:`7.05391`,filterUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,d.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,d.jsx)(`feColorMatrix`,{in:`SourceAlpha`,type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0`,result:`hardAlpha`}),(0,d.jsx)(`feOffset`,{dy:`0.8`}),(0,d.jsx)(`feGaussianBlur`,{stdDeviation:`0.82`}),(0,d.jsx)(`feComposite`,{in2:`hardAlpha`,operator:`out`}),(0,d.jsx)(`feColorMatrix`,{type:`matrix`,values:`0 0 0 0 0.0156863 0 0 0 0 0.431373 0 0 0 0 0.788235 0 0 0 0.7 0`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in2:`BackgroundImageFix`,result:`effect1_dropShadow_5796_19583`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in:`SourceGraphic`,in2:`effect1_dropShadow_5796_19583`,result:`shape`})]}),(0,d.jsxs)(`filter`,{id:`filter2_d_5796_19583`,x:`14.4916`,y:`14.8937`,width:`7.05391`,height:`7.05391`,filterUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,d.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,d.jsx)(`feColorMatrix`,{in:`SourceAlpha`,type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0`,result:`hardAlpha`}),(0,d.jsx)(`feOffset`,{dy:`0.8`}),(0,d.jsx)(`feGaussianBlur`,{stdDeviation:`0.82`}),(0,d.jsx)(`feComposite`,{in2:`hardAlpha`,operator:`out`}),(0,d.jsx)(`feColorMatrix`,{type:`matrix`,values:`0 0 0 0 0.0156863 0 0 0 0 0.431373 0 0 0 0 0.788235 0 0 0 0.7 0`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in2:`BackgroundImageFix`,result:`effect1_dropShadow_5796_19583`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in:`SourceGraphic`,in2:`effect1_dropShadow_5796_19583`,result:`shape`})]}),(0,d.jsxs)(`filter`,{id:`filter3_d_5796_19583`,x:`20.9115`,y:`14.8937`,width:`7.05391`,height:`7.05391`,filterUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,d.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,d.jsx)(`feColorMatrix`,{in:`SourceAlpha`,type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0`,result:`hardAlpha`}),(0,d.jsx)(`feOffset`,{dy:`0.8`}),(0,d.jsx)(`feGaussianBlur`,{stdDeviation:`0.82`}),(0,d.jsx)(`feComposite`,{in2:`hardAlpha`,operator:`out`}),(0,d.jsx)(`feColorMatrix`,{type:`matrix`,values:`0 0 0 0 0.0156863 0 0 0 0 0.431373 0 0 0 0 0.788235 0 0 0 0.7 0`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in2:`BackgroundImageFix`,result:`effect1_dropShadow_5796_19583`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in:`SourceGraphic`,in2:`effect1_dropShadow_5796_19583`,result:`shape`})]}),(0,d.jsxs)(`filter`,{id:`filter4_d_5796_19583`,x:`8.07168`,y:`14.8937`,width:`7.05391`,height:`7.05391`,filterUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,d.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,d.jsx)(`feColorMatrix`,{in:`SourceAlpha`,type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0`,result:`hardAlpha`}),(0,d.jsx)(`feOffset`,{dy:`0.8`}),(0,d.jsx)(`feGaussianBlur`,{stdDeviation:`0.82`}),(0,d.jsx)(`feComposite`,{in2:`hardAlpha`,operator:`out`}),(0,d.jsx)(`feColorMatrix`,{type:`matrix`,values:`0 0 0 0 0.0156863 0 0 0 0 0.431373 0 0 0 0 0.788235 0 0 0 0.7 0`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in2:`BackgroundImageFix`,result:`effect1_dropShadow_5796_19583`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in:`SourceGraphic`,in2:`effect1_dropShadow_5796_19583`,result:`shape`})]}),(0,d.jsxs)(`linearGradient`,{id:`paint0_linear_5796_19583`,x1:`4.5`,y1:`8.21`,x2:`31.38`,y2:`10.12`,gradientUnits:`userSpaceOnUse`,children:[(0,d.jsx)(`stop`,{stopColor:`#0879D1`}),(0,d.jsx)(`stop`,{offset:`1`,stopColor:`#056EC9`})]}),(0,d.jsxs)(`linearGradient`,{id:`paint1_linear_5796_19583`,x1:`18`,y1:`11.91`,x2:`18`,y2:`31.5`,gradientUnits:`userSpaceOnUse`,children:[(0,d.jsx)(`stop`,{stopColor:`#44CBFD`}),(0,d.jsx)(`stop`,{offset:`1`,stopColor:`#1195EA`})]})]})]})}function Ae(e){return(0,d.jsxs)(V,{viewBox:`0 0 36 36`,...e,children:[(0,d.jsx)(`mask`,{id:`mask0_5796_22925`,style:{maskType:`luminance`},maskUnits:`userSpaceOnUse`,x:`5`,y:`5`,width:`26`,height:`26`,children:(0,d.jsx)(`path`,{d:`M30.38 5.63H5.63V30.38H30.38V5.63Z`,fill:`white`})}),(0,d.jsxs)(`g`,{mask:`url(#mask0_5796_22925)`,children:[(0,d.jsx)(`path`,{d:`M27.74 7.17H14.45C13.85 7.17 13.36 7.66 13.36 8.26V9.49L20.85 11.81L28.83 9.49V8.26C28.83 7.66 28.34 7.17 27.74 7.17Z`,fill:`#0364B8`}),(0,d.jsx)(`path`,{d:`M30.1 19.09C30.22 18.73 30.31 18.37 30.37 18C30.37 17.82 30.28 17.65 30.12 17.55L30.11 17.55L30.1 17.55L21.72 12.77C21.69 12.75 21.65 12.73 21.61 12.71C21.28 12.55 20.9 12.55 20.58 12.71C20.54 12.73 20.5 12.75 20.47 12.77L12.08 17.55L12.08 17.55L12.07 17.55C11.91 17.65 11.81 17.82 11.81 18C11.88 18.37 11.97 18.73 12.08 19.09L20.97 25.59L30.1 19.09Z`,fill:`#0A2767`}),(0,d.jsx)(`path`,{d:`M24.19 9.49H18.77L17.21 11.81L18.77 14.13L24.19 18.77H28.83V14.13L24.19 9.49Z`,fill:`#28A8EA`}),(0,d.jsx)(`path`,{d:`M13.36 9.49H18.77V14.13H13.36V9.49Z`,fill:`#0078D4`}),(0,d.jsx)(`path`,{d:`M24.19 9.49H28.83V14.13H24.19V9.49Z`,fill:`#50D9FF`}),(0,d.jsx)(`path`,{d:`M24.19 18.77L18.77 14.13H13.36V18.77L18.77 23.41L27.15 24.78L24.19 18.77Z`,fill:`#0364B8`}),(0,d.jsx)(`path`,{d:`M18.77 14.13H24.19V18.77H18.77V14.13Z`,fill:`#0078D4`}),(0,d.jsx)(`path`,{d:`M13.36 18.77H18.77V23.42H13.36V18.77Z`,fill:`#064A8C`}),(0,d.jsx)(`path`,{d:`M24.19 18.77H28.83V23.42H24.19V18.77Z`,fill:`#0078D4`}),(0,d.jsx)(`path`,{opacity:`0.5`,d:`M21.24 25.13L12.12 18.48L12.5 17.81C12.5 17.81 20.81 22.54 20.94 22.61C21.04 22.65 21.16 22.65 21.26 22.6L29.72 17.78L30.1 18.46L21.24 25.13Z`,fill:`#0A2767`}),(0,d.jsx)(`path`,{d:`M30.12 18.45L30.11 18.45L30.11 18.45L21.72 23.23C21.38 23.45 20.96 23.47 20.59 23.3L23.51 27.21L29.9 28.6V28.61C30.2 28.39 30.38 28.04 30.38 27.67V18C30.38 18.18 30.28 18.35 30.12 18.45Z`,fill:`#1490DF`}),(0,d.jsx)(`path`,{opacity:`0.05`,d:`M30.38 27.67V27.1L22.66 22.7L21.72 23.23C21.38 23.45 20.96 23.47 20.59 23.3L23.51 27.21L29.9 28.6V28.61C30.2 28.39 30.38 28.04 30.38 27.67Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.1`,d:`M30.34 27.97L21.87 23.14L21.72 23.23C21.38 23.45 20.96 23.48 20.59 23.3L23.51 27.22L29.9 28.61V28.61C30.11 28.45 30.27 28.22 30.34 27.97Z`,fill:`black`}),(0,d.jsx)(`path`,{d:`M12.08 18.46V18.45H12.08L12.05 18.43C11.9 18.34 11.81 18.18 11.81 18V27.67C11.81 28.31 12.33 28.83 12.97 28.83C12.97 28.83 12.97 28.83 12.97 28.83H29.21C29.31 28.83 29.41 28.81 29.5 28.79C29.55 28.78 29.6 28.77 29.64 28.75C29.66 28.74 29.67 28.74 29.69 28.73C29.75 28.7 29.81 28.67 29.86 28.63C29.88 28.62 29.89 28.62 29.9 28.6L12.08 18.46Z`,fill:`#28A8EA`}),(0,d.jsx)(`path`,{opacity:`0.1`,d:`M19.55 24.7V12.07C19.55 11.5 19.08 11.04 18.52 11.04H13.38V16.81L12.08 17.55L12.08 17.55L12.07 17.55C11.91 17.65 11.81 17.82 11.81 18V25.73H18.52C19.08 25.73 19.55 25.27 19.55 24.7Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.2`,d:`M18.77 25.48V12.84C18.77 12.27 18.31 11.81 17.74 11.81H13.38V16.8L12.08 17.55L12.08 17.55L12.07 17.55C11.91 17.64 11.81 17.81 11.81 18V26.51H17.74C18.31 26.51 18.77 26.04 18.77 25.48Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.2`,d:`M18.77 23.93V12.84C18.77 12.27 18.31 11.81 17.74 11.81H13.38V16.8L12.08 17.55L12.08 17.55L12.07 17.55C11.91 17.64 11.81 17.81 11.81 18V24.96H17.74C18.31 24.96 18.77 24.5 18.77 23.93Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.2`,d:`M18 23.93V12.84C18 12.27 17.54 11.81 16.97 11.81H13.38V16.8L12.08 17.55L12.08 17.55L12.07 17.55C11.91 17.64 11.81 17.81 11.81 18V24.96H16.97C17.54 24.96 18 24.5 18 23.93Z`,fill:`black`}),(0,d.jsx)(`path`,{d:`M6.66 11.81H16.97C17.54 11.81 18 12.27 18 12.84V23.16C18 23.72 17.54 24.19 16.97 24.19H6.66C6.09 24.19 5.63 23.72 5.63 23.16V12.84C5.63 12.27 6.09 11.81 6.66 11.81Z`,fill:`#0078D4`}),(0,d.jsx)(`path`,{d:`M8.62 16.04C8.89 15.46 9.33 14.97 9.89 14.64C10.5 14.29 11.2 14.11 11.91 14.13C12.56 14.12 13.21 14.28 13.77 14.61C14.31 14.93 14.73 15.4 15.01 15.95C15.31 16.57 15.45 17.24 15.44 17.92C15.46 18.64 15.3 19.34 15 19.99C14.72 20.56 14.27 21.05 13.72 21.37C13.13 21.71 12.46 21.88 11.79 21.87C11.12 21.88 10.46 21.72 9.88 21.38C9.34 21.06 8.9 20.6 8.62 20.04C8.33 19.43 8.17 18.77 8.19 18.09C8.17 17.38 8.32 16.68 8.62 16.04ZM9.97 19.33C10.12 19.7 10.36 20.02 10.68 20.26C11.01 20.49 11.4 20.6 11.8 20.59C12.23 20.61 12.64 20.49 12.99 20.25C13.31 20.01 13.55 19.69 13.69 19.32C13.84 18.91 13.91 18.47 13.91 18.03C13.91 17.59 13.84 17.15 13.7 16.73C13.57 16.35 13.34 16.02 13.03 15.77C12.69 15.52 12.27 15.39 11.85 15.4C11.44 15.39 11.04 15.51 10.71 15.74C10.38 15.98 10.13 16.3 9.98 16.67C9.64 17.53 9.64 18.48 9.97 19.33Z`,fill:`white`})]})]})}function je(e){return(0,d.jsxs)(V,{viewBox:`0 0 18 18`,...e,children:[(0,d.jsx)(`path`,{d:`M5.26 10.79C5.29 11.53 4.7 12.17 3.96 12.19C3.21 12.22 2.58 11.64 2.55 10.89C2.52 10.14 3.11 9.51 3.86 9.48L5.21 9.43L5.26 10.79Z`,fill:`#E01E5A`}),(0,d.jsx)(`path`,{d:`M5.95 10.76C5.92 10.01 6.51 9.38 7.25 9.35C8 9.33 8.63 9.91 8.66 10.66L8.79 14.06C8.81 14.8 8.23 15.44 7.48 15.46C6.73 15.49 6.1 14.9 6.07 14.16L5.95 10.76Z`,fill:`#E01E5A`}),(0,d.jsx)(`path`,{d:`M7.1 5.26C6.35 5.29 5.72 4.7 5.69 3.96C5.67 3.21 6.25 2.58 7 2.55C7.75 2.52 8.38 3.11 8.41 3.86L8.46 5.21L7.1 5.26Z`,fill:`#36C5F0`}),(0,d.jsx)(`path`,{d:`M7.13 5.95C7.87 5.92 8.51 6.51 8.53 7.25C8.56 8 7.97 8.63 7.23 8.66L3.83 8.79C3.08 8.82 2.45 8.23 2.42 7.48C2.4 6.73 2.98 6.1 3.73 6.07L7.13 5.95Z`,fill:`#36C5F0`}),(0,d.jsx)(`path`,{d:`M12.62 7.1C12.6 6.35 13.18 5.72 13.93 5.69C14.68 5.67 15.31 6.25 15.34 7C15.37 7.75 14.78 8.38 14.03 8.41L12.68 8.46L12.62 7.1Z`,fill:`#2EB67D`}),(0,d.jsx)(`path`,{d:`M11.94 7.13C11.97 7.87 11.38 8.51 10.63 8.53C9.89 8.56 9.25 7.97 9.23 7.23L9.1 3.83C9.07 3.08 9.66 2.45 10.41 2.42C11.15 2.4 11.78 2.98 11.81 3.73L11.94 7.13Z`,fill:`#2EB67D`}),(0,d.jsx)(`path`,{d:`M10.79 12.63C11.53 12.6 12.17 13.18 12.19 13.93C12.22 14.68 11.63 15.31 10.89 15.34C10.14 15.37 9.51 14.78 9.48 14.03L9.43 12.68L10.79 12.63Z`,fill:`#ECB22E`}),(0,d.jsx)(`path`,{d:`M10.76 11.94C10.01 11.97 9.38 11.38 9.35 10.63C9.33 9.89 9.91 9.26 10.66 9.23L14.06 9.1C14.8 9.07 15.44 9.66 15.46 10.41C15.49 11.15 14.9 11.79 14.16 11.81L10.76 11.94Z`,fill:`#ECB22E`})]})}function Me(e){return(0,d.jsxs)(V,{viewBox:`0 0 36 36`,...e,children:[(0,d.jsxs)(`g`,{clipPath:`url(#clip0_5796_19548)`,children:[(0,d.jsx)(`path`,{d:`M23.33 14.85H30.31C30.97 14.85 31.5 15.39 31.5 16.05V22.42C31.5 24.84 29.54 26.81 27.12 26.81H27.09C24.67 26.81 22.71 24.84 22.71 22.42V15.48C22.71 15.13 22.99 14.85 23.33 14.85Z`,fill:`#5059C9`}),(0,d.jsx)(`path`,{d:`M28.05 13.59C29.61 13.59 30.87 12.33 30.87 10.76C30.87 9.2 29.61 7.93 28.05 7.93C26.49 7.93 25.22 9.2 25.22 10.76C25.22 12.33 26.49 13.59 28.05 13.59Z`,fill:`#5059C9`}),(0,d.jsx)(`path`,{d:`M19.26 13.6C21.51 13.6 23.34 11.76 23.34 9.51C23.34 7.25 21.51 5.42 19.26 5.42C17 5.42 15.17 7.25 15.17 9.51C15.17 11.76 17 13.6 19.26 13.6Z`,fill:`#7B83EB`}),(0,d.jsx)(`path`,{d:`M24.7 14.85H13.19C12.54 14.87 12.02 15.41 12.04 16.06V23.33C11.94 27.24 15.04 30.49 18.94 30.59C22.85 30.49 25.94 27.24 25.85 23.33V16.06C25.86 15.41 25.35 14.87 24.7 14.85Z`,fill:`#7B83EB`}),(0,d.jsx)(`path`,{opacity:`0.1`,d:`M19.5704 14.8545V25.0293C19.5673 25.4958 19.2851 25.915 18.8546 26.0927C18.7175 26.1508 18.5702 26.1807 18.4213 26.1808H12.588C12.5064 25.9731 12.4311 25.7655 12.3683 25.5515C12.1485 24.8295 12.0363 24.0789 12.0355 23.324V16.0626C12.0204 15.4112 12.5346 14.8706 13.1846 14.8545H19.5704Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.2`,d:`M18.9425 14.8545V25.6585C18.9424 25.8077 18.9126 25.9553 18.8546 26.0927C18.6773 26.5241 18.259 26.8069 17.7934 26.81H12.8832C12.7764 26.6023 12.676 26.3947 12.588 26.1808C12.5001 25.9668 12.4311 25.7655 12.3683 25.5515C12.1485 24.8295 12.0363 24.0789 12.0355 23.324V16.0626C12.0204 15.4112 12.5346 14.8706 13.1846 14.8545H18.9425Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.2`,d:`M18.9425 14.8545V24.4C18.9377 25.034 18.426 25.5467 17.7934 25.5515H12.3683C12.1485 24.8295 12.0363 24.0789 12.0355 23.324V16.0626C12.0204 15.4112 12.5346 14.8706 13.1845 14.8545H18.9425Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.2`,d:`M18.3145 14.8545V24.4C18.3098 25.034 17.7981 25.5467 17.1655 25.5515H12.3683C12.1485 24.8295 12.0363 24.0789 12.0355 23.324V16.0626C12.0204 15.4112 12.5346 14.8706 13.1846 14.8545H18.3145Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.1`,d:`M19.5694 11.6017V13.5838C19.4627 13.5901 19.3622 13.5964 19.2555 13.5964C19.1487 13.5964 19.0483 13.5901 18.9415 13.5838C18.7296 13.5697 18.5194 13.536 18.3136 13.4831C17.0421 13.1814 15.9916 12.2877 15.488 11.0794C15.4014 10.8765 15.3341 10.6658 15.2871 10.4502H18.4204C19.054 10.4526 19.567 10.9667 19.5694 11.6017Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.2`,d:`M18.9418 12.2296V13.5825C18.7298 13.5684 18.5196 13.5347 18.3139 13.4818C17.0423 13.1801 15.9919 12.2864 15.4883 11.0781H17.7927C18.4263 11.0805 18.9394 11.5947 18.9418 12.2296Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.2`,d:`M18.3139 12.2296V13.4818C17.0423 13.1801 15.9919 12.2864 15.4883 11.0781H17.1648C17.7984 11.0805 18.3115 11.5947 18.3139 12.2296Z`,fill:`black`}),(0,d.jsx)(`path`,{d:`M5.65 11.08H17.16C17.8 11.08 18.31 11.59 18.31 12.23V23.77C18.31 24.4 17.8 24.92 17.16 24.92H5.65C5.02 24.92 4.5 24.4 4.5 23.77V12.23C4.5 11.59 5.02 11.08 5.65 11.08Z`,fill:`url(#paint0_linear_5796_19548)`}),(0,d.jsx)(`path`,{d:`M14.44 15.47H12.14V21.75H10.67V15.47H8.38V14.25H14.44V15.47Z`,fill:`white`})]}),(0,d.jsxs)(`defs`,{children:[(0,d.jsxs)(`linearGradient`,{id:`paint0_linear_5796_19548`,x1:`6.9`,y1:`10.18`,x2:`15.94`,y2:`25.81`,gradientUnits:`userSpaceOnUse`,children:[(0,d.jsx)(`stop`,{stopColor:`#5A62C3`}),(0,d.jsx)(`stop`,{offset:`0.5`,stopColor:`#4D55BD`}),(0,d.jsx)(`stop`,{offset:`1`,stopColor:`#3940AB`})]}),(0,d.jsx)(`clipPath`,{id:`clip0_5796_19548`,children:(0,d.jsx)(`rect`,{width:`27`,height:`25.1695`,fill:`white`,transform:`translate(4.5 5.41504)`})})]})]})}function H(e){return(0,d.jsx)(V,{viewBox:`0 0 16 16`,...e,children:(0,d.jsx)(`path`,{d:`M4 8L6.5 10.5L12 5`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`})})}function U(e){return(0,d.jsx)(V,{viewBox:`0 0 28 28`,...e,children:(0,d.jsx)(`circle`,{cx:`14`,cy:`14`,r:`10.5`,stroke:`currentColor`,strokeWidth:`1.5`})})}function W(e){return(0,d.jsx)(V,{viewBox:`0 0 20 20`,...e,children:(0,d.jsx)(`path`,{d:`M8.82 13.55L14.42 7.94L13.54 7.06L8.82 11.79L6.44 9.41L5.56 10.29L8.82 13.55ZM10 17.92C8.91 17.92 7.88 17.71 6.91 17.29C5.95 16.88 5.11 16.31 4.4 15.6C3.69 14.89 3.12 14.05 2.71 13.09C2.29 12.13 2.08 11.1 2.08 10C2.08 8.91 2.29 7.88 2.71 6.91C3.12 5.95 3.69 5.11 4.4 4.4C5.11 3.69 5.95 3.12 6.91 2.71C7.88 2.29 8.9 2.08 10 2.08C11.09 2.08 12.12 2.29 13.09 2.71C14.05 3.12 14.89 3.69 15.6 4.4C16.31 5.11 16.88 5.95 17.29 6.91C17.71 7.87 17.92 8.9 17.92 10C17.92 11.09 17.71 12.12 17.29 13.09C16.88 14.05 16.31 14.89 15.6 15.6C14.89 16.31 14.05 16.88 13.09 17.29C12.13 17.71 11.1 17.92 10 17.92ZM10 16.67C11.86 16.67 13.44 16.02 14.73 14.73C16.02 13.44 16.67 11.86 16.67 10C16.67 8.14 16.02 6.56 14.73 5.27C13.44 3.98 11.86 3.33 10 3.33C8.14 3.33 6.56 3.98 5.27 5.27C3.98 6.56 3.33 8.14 3.33 10C3.33 11.86 3.98 13.44 5.27 14.73C6.56 16.02 8.14 16.67 10 16.67Z`,fill:`currentColor`})})}function G(e){return(0,d.jsx)(V,{viewBox:`0 0 20 20`,...e,children:(0,d.jsx)(`path`,{d:`M5 11.67C5 12.51 5.2 13.29 5.6 14.01C6 14.73 6.55 15.32 7.26 15.76C7.19 15.64 7.15 15.53 7.12 15.41C7.1 15.29 7.08 15.17 7.08 15.04C7.08 14.66 7.16 14.29 7.31 13.95C7.45 13.61 7.67 13.3 7.94 13.03L10 11L12.07 13.03C12.34 13.3 12.55 13.61 12.7 13.95C12.84 14.29 12.92 14.66 12.92 15.04C12.92 15.17 12.9 15.29 12.88 15.41C12.85 15.53 12.81 15.64 12.74 15.76C13.45 15.32 14 14.73 14.4 14.01C14.8 13.29 15 12.51 15 11.67C15 10.97 14.87 10.32 14.61 9.7C14.36 9.08 13.99 8.53 13.5 8.04C13.22 8.22 12.93 8.36 12.63 8.45C12.32 8.54 12.01 8.58 11.69 8.58C10.82 8.58 10.07 8.3 9.44 7.73C8.81 7.16 8.45 6.45 8.35 5.61C7.81 6.06 7.33 6.53 6.92 7.03C6.5 7.52 6.15 8.02 5.86 8.54C5.58 9.05 5.36 9.57 5.22 10.1C5.07 10.62 5 11.15 5 11.67ZM10 12.75L8.81 13.92C8.66 14.07 8.54 14.24 8.46 14.44C8.38 14.63 8.33 14.83 8.33 15.04C8.33 15.49 8.5 15.87 8.82 16.19C9.15 16.51 9.54 16.67 10 16.67C10.46 16.67 10.85 16.51 11.18 16.19C11.5 15.87 11.67 15.49 11.67 15.04C11.67 14.82 11.63 14.61 11.54 14.43C11.46 14.24 11.34 14.07 11.19 13.92L10 12.75ZM9.58 3.25V5.25C9.58 5.84 9.79 6.33 10.19 6.73C10.6 7.13 11.1 7.33 11.69 7.33C11.94 7.33 12.19 7.29 12.42 7.19C12.65 7.09 12.86 6.95 13.05 6.76L13.42 6.39C14.3 6.96 14.99 7.71 15.49 8.64C16 9.58 16.25 10.59 16.25 11.67C16.25 13.41 15.64 14.89 14.43 16.1C13.22 17.31 11.74 17.92 10 17.92C8.26 17.92 6.78 17.31 5.57 16.1C4.36 14.89 3.75 13.41 3.75 11.67C3.75 10.06 4.27 8.51 5.32 7.02C6.37 5.53 7.79 4.27 9.58 3.25Z`,fill:`currentColor`})})}function K(e){return(0,d.jsx)(V,{viewBox:`0 0 16 16`,...e,children:(0,d.jsx)(`path`,{d:`M8 4.52C8.72 6.07 10.03 7.31 11.64 8.01C10.03 8.71 8.72 9.95 8 11.5C7.27 9.95 5.97 8.71 4.36 8.01C5.97 7.31 7.27 6.07 8 4.52Z`,stroke:`currentColor`,strokeWidth:`1.25`})})}function Ne(e){return(0,d.jsxs)(V,{viewBox:`0 0 20 20`,...e,children:[(0,d.jsx)(`path`,{d:`M5 11.67C5 12.51 5.2 13.29 5.6 14.01C6 14.73 6.55 15.32 7.26 15.76C7.19 15.64 7.15 15.53 7.12 15.41C7.1 15.29 7.08 15.17 7.08 15.04C7.08 14.66 7.16 14.29 7.31 13.95C7.45 13.61 7.67 13.3 7.94 13.03L10 11L12.07 13.03C12.34 13.3 12.55 13.61 12.7 13.95C12.84 14.29 12.92 14.66 12.92 15.04C12.92 15.17 12.9 15.29 12.88 15.41C12.85 15.53 12.81 15.64 12.74 15.76C13.45 15.32 14 14.73 14.4 14.01C14.8 13.29 15 12.51 15 11.67C15 10.97 14.87 10.32 14.61 9.7C14.36 9.08 13.99 8.53 13.5 8.04C13.22 8.22 12.93 8.36 12.63 8.45C12.32 8.54 12.01 8.58 11.69 8.58C10.82 8.58 10.07 8.3 9.44 7.73C8.81 7.16 8.45 6.45 8.35 5.61C7.81 6.06 7.33 6.53 6.92 7.03C6.5 7.52 6.15 8.02 5.86 8.54C5.58 9.05 5.36 9.57 5.22 10.1C5.07 10.62 5 11.15 5 11.67ZM10 12.75L8.81 13.92C8.66 14.07 8.54 14.24 8.46 14.44C8.38 14.63 8.33 14.83 8.33 15.04C8.33 15.49 8.5 15.87 8.82 16.19C9.15 16.51 9.54 16.67 10 16.67C10.46 16.67 10.85 16.51 11.18 16.19C11.5 15.87 11.67 15.49 11.67 15.04C11.67 14.82 11.63 14.61 11.54 14.43C11.46 14.24 11.34 14.07 11.19 13.92L10 12.75ZM9.58 3.25V5.25C9.58 5.84 9.79 6.33 10.19 6.73C10.6 7.13 11.1 7.33 11.69 7.33C11.94 7.33 12.19 7.29 12.42 7.19C12.65 7.09 12.86 6.95 13.05 6.76L13.42 6.39C14.3 6.96 14.99 7.71 15.49 8.64C16 9.58 16.25 10.59 16.25 11.67C16.25 13.41 15.64 14.89 14.43 16.1C13.22 17.31 11.74 17.92 10 17.92C8.26 17.92 6.78 17.31 5.57 16.1C4.36 14.89 3.75 13.41 3.75 11.67C3.75 10.06 4.27 8.51 5.32 7.02C6.37 5.53 7.79 4.27 9.58 3.25Z`,fill:`currentColor`}),(0,d.jsx)(`line`,{x1:`17.8311`,y1:`3.53033`,x2:`2.83111`,y2:`18.5303`,stroke:`currentColor`,strokeWidth:`1.5`})]})}function Pe(e){return(0,d.jsx)(V,{viewBox:`0 0 20 20`,...e,children:(0,d.jsx)(`path`,{d:`M10.77 1.78L17.32 5.69C17.5 5.81 17.65 5.97 17.76 6.16C17.86 6.36 17.92 6.57 17.92 6.79V15.58C17.92 16 17.77 16.35 17.48 16.65C17.19 16.94 16.83 17.08 16.41 17.08H3.59C3.17 17.08 2.81 16.94 2.52 16.65C2.23 16.35 2.08 16 2.08 15.58V6.79C2.08 6.57 2.14 6.36 2.24 6.16C2.35 5.97 2.5 5.81 2.68 5.69L9.23 1.78C9.46 1.65 9.72 1.58 10 1.58C10.28 1.58 10.54 1.65 10.77 1.78ZM10.13 10.46L16.5 6.67L10.13 2.87C10.09 2.84 10.04 2.83 10 2.83C9.96 2.83 9.92 2.84 9.87 2.87L3.5 6.67L9.87 10.46C9.92 10.49 9.96 10.5 10 10.5C10.04 10.5 10.09 10.49 10.13 10.46ZM9.23 11.54L3.33 8.02V15.58C3.33 15.65 3.36 15.71 3.41 15.76C3.45 15.81 3.52 15.83 3.59 15.83H16.41C16.49 15.83 16.55 15.81 16.6 15.76C16.64 15.71 16.67 15.65 16.67 15.58V8.02L10.77 11.54C10.54 11.67 10.28 11.74 10 11.74C9.72 11.74 9.46 11.67 9.23 11.54ZM10.77 15.83H16.67H3.33H10.77Z`,fill:`currentColor`})})}function q(e){return(0,d.jsx)(V,{viewBox:`0 0 20 20`,...e,children:(0,d.jsx)(`path`,{d:`M3.59 16.25C3.17 16.25 2.81 16.1 2.52 15.81C2.23 15.52 2.08 15.16 2.08 14.74V5.26C2.08 4.84 2.23 4.48 2.52 4.19C2.81 3.9 3.17 3.75 3.59 3.75H11.23C11.4 3.75 11.55 3.81 11.68 3.93C11.8 4.06 11.86 4.21 11.85 4.38C11.85 4.56 11.78 4.7 11.66 4.82C11.54 4.94 11.4 5 11.23 5H3.33V14.74C3.33 14.82 3.36 14.88 3.41 14.93C3.45 14.98 3.52 15 3.59 15H16.41C16.49 15 16.55 14.98 16.6 14.93C16.64 14.88 16.67 14.82 16.67 14.74V9.17C16.67 8.99 16.73 8.84 16.85 8.72C16.97 8.6 17.12 8.54 17.29 8.54C17.47 8.54 17.62 8.6 17.74 8.72C17.86 8.84 17.92 8.99 17.92 9.17V14.74C17.92 15.16 17.77 15.52 17.48 15.81C17.19 16.1 16.83 16.25 16.41 16.25H3.59ZM10 9.17L12.71 7.44C12.86 7.35 13.01 7.32 13.14 7.37C13.27 7.41 13.38 7.5 13.45 7.62C13.53 7.74 13.56 7.87 13.54 8C13.52 8.14 13.43 8.26 13.28 8.36L10.4 10.21C10.27 10.29 10.14 10.33 10 10.33C9.86 10.33 9.73 10.3 9.6 10.22L3.33 6.29V5L10 9.17ZM15.83 6.78C15.2 6.78 14.66 6.56 14.21 6.11C13.77 5.66 13.54 5.12 13.54 4.49C13.54 3.85 13.77 3.31 14.21 2.86C14.66 2.42 15.2 2.2 15.83 2.2C16.47 2.2 17.01 2.42 17.46 2.86C17.9 3.31 18.13 3.85 18.13 4.49C18.13 5.12 17.9 5.66 17.46 6.11C17.01 6.56 16.47 6.78 15.83 6.78Z`,fill:`currentColor`})})}function Fe(e){return(0,d.jsx)(V,{viewBox:`0 0 24 24`,...e,children:(0,d.jsx)(`path`,{d:`M6.02 17.29C6.87 16.66 7.8 16.16 8.8 15.8C9.8 15.43 10.87 15.25 12 15.25C13.13 15.25 14.2 15.43 15.2 15.8C16.2 16.16 17.13 16.66 17.98 17.29C18.6 16.61 19.09 15.82 19.45 14.92C19.82 14.02 20 13.05 20 12C20 9.78 19.22 7.9 17.66 6.34C16.1 4.78 14.22 4 12 4C9.78 4 7.9 4.78 6.34 6.34C4.78 7.9 4 9.78 4 12C4 13.05 4.18 14.02 4.55 14.92C4.91 15.82 5.4 16.61 6.02 17.29ZM12 12.75C11.09 12.75 10.32 12.44 9.69 11.81C9.06 11.18 8.75 10.41 8.75 9.5C8.75 8.59 9.06 7.82 9.69 7.19C10.32 6.56 11.09 6.25 12 6.25C12.91 6.25 13.68 6.56 14.31 7.19C14.94 7.82 15.25 8.59 15.25 9.5C15.25 10.41 14.94 11.18 14.31 11.81C13.68 12.44 12.91 12.75 12 12.75ZM12 21.5C10.68 21.5 9.44 21.25 8.29 20.76C7.13 20.26 6.13 19.58 5.27 18.73C4.42 17.87 3.74 16.87 3.24 15.71C2.75 14.56 2.5 13.32 2.5 12C2.5 10.68 2.75 9.44 3.24 8.29C3.74 7.13 4.42 6.13 5.27 5.27C6.13 4.42 7.13 3.74 8.29 3.24C9.44 2.75 10.68 2.5 12 2.5C13.32 2.5 14.56 2.75 15.71 3.24C16.87 3.74 17.87 4.42 18.73 5.27C19.58 6.13 20.26 7.13 20.76 8.29C21.25 9.44 21.5 10.68 21.5 12C21.5 13.32 21.25 14.56 20.76 15.71C20.26 16.87 19.58 17.87 18.73 18.73C17.87 19.58 16.87 20.26 15.71 20.76C14.56 21.25 13.32 21.5 12 21.5ZM12 20C12.9 20 13.77 19.85 14.61 19.56C15.45 19.27 16.19 18.87 16.84 18.35C16.19 17.84 15.46 17.45 14.64 17.17C13.82 16.89 12.94 16.75 12 16.75C11.06 16.75 10.18 16.89 9.36 17.17C8.53 17.44 7.8 17.84 7.16 18.35C7.81 18.87 8.55 19.27 9.39 19.56C10.23 19.85 11.1 20 12 20ZM12 11.25C12.5 11.25 12.91 11.08 13.25 10.75C13.58 10.41 13.75 10 13.75 9.5C13.75 9 13.58 8.59 13.25 8.25C12.91 7.92 12.5 7.75 12 7.75C11.5 7.75 11.09 7.92 10.75 8.25C10.42 8.59 10.25 9 10.25 9.5C10.25 10 10.42 10.41 10.75 10.75C11.09 11.08 11.5 11.25 12 11.25Z`,fill:`currentColor`})})}function Ie(e){return(0,d.jsx)(V,{viewBox:`0 0 24 24`,...e,children:(0,d.jsx)(`path`,{d:`M11.5 12.5H6V11.5H11.5V6H12.5V11.5H18V12.5H12.5V18H11.5V12.5Z`,fill:`currentColor`})})}var Le={down:``,left:`rotate-90`,up:`-rotate-180`,right:`-rotate-90`};function J({direction:e=`down`,className:t,...n}){return(0,d.jsx)(V,{viewBox:`0 0 24 24`,className:D(Le[e],t),...n,children:(0,d.jsx)(`path`,{d:`m5 8.5 7 7 7-7`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`})})}function Re(e){return(0,d.jsx)(V,{viewBox:`0 0 24 24`,...e,children:(0,d.jsx)(`path`,{d:`M5.31 21.5C4.8 21.5 4.38 21.33 4.03 20.98C3.68 20.63 3.5 20.2 3.5 19.69V6.31C3.5 5.8 3.68 5.38 4.03 5.03C4.38 4.68 4.8 4.5 5.31 4.5H6.69V2.38H8.23V4.5H15.81V2.38H17.31V4.5H18.69C19.2 4.5 19.63 4.68 19.98 5.03C20.33 5.38 20.5 5.8 20.5 6.31V19.69C20.5 20.2 20.33 20.63 19.98 20.98C19.63 21.33 19.2 21.5 18.69 21.5H5.31ZM5.31 20H18.69C18.77 20 18.84 19.97 18.9 19.9C18.97 19.84 19 19.77 19 19.69V10.31H5V19.69C5 19.77 5.03 19.84 5.1 19.9C5.16 19.97 5.23 20 5.31 20ZM5 8.81H19V6.31C19 6.23 18.97 6.16 18.9 6.1C18.84 6.03 18.77 6 18.69 6H5.31C5.23 6 5.16 6.03 5.1 6.1C5.03 6.16 5 6.23 5 6.31V8.81Z`,fill:`currentColor`})})}function Y(e){return(0,d.jsx)(V,{viewBox:`0 0 24 24`,...e,children:(0,d.jsx)(`path`,{d:`M6.4 18.65L5.35 17.6L10.95 12L5.35 6.4L6.4 5.35L12 10.95L17.6 5.35L18.65 6.4L13.05 12L18.65 17.6L17.6 18.65L12 13.05L6.4 18.65Z`,fill:`currentColor`})})}function ze(e){return(0,d.jsx)(V,{viewBox:`0 0 24 24`,...e,children:(0,d.jsx)(`path`,{d:`M3.5 20.5V19H20.5V20.5H3.5ZM3.5 16.625V15.125H20.5V16.625H3.5ZM3.5 12.75V11.25H20.5V12.75H3.5ZM3.5 8.875V7.375H20.5V8.875H3.5ZM3.5 5V3.5H20.5V5H3.5Z`,fill:`currentColor`})})}function Be(e){return(0,d.jsx)(V,{viewBox:`0 0 24 24`,...e,children:(0,d.jsx)(`path`,{d:`M9.06 17.5C8.55 17.5 8.13 17.33 7.78 16.98C7.43 16.63 7.25 16.2 7.25 15.69V4.31C7.25 3.8 7.43 3.38 7.78 3.03C8.13 2.68 8.55 2.5 9.06 2.5H17.44C17.95 2.5 18.38 2.68 18.73 3.03C19.08 3.38 19.25 3.8 19.25 4.31V15.69C19.25 16.2 19.08 16.63 18.73 16.98C18.38 17.33 17.95 17.5 17.44 17.5H9.06ZM9.06 16H17.44C17.52 16 17.59 15.97 17.65 15.9C17.72 15.84 17.75 15.77 17.75 15.69V4.31C17.75 4.23 17.72 4.16 17.65 4.1C17.59 4.03 17.52 4 17.44 4H9.06C8.98 4 8.91 4.03 8.85 4.1C8.78 4.16 8.75 4.23 8.75 4.31V15.69C8.75 15.77 8.78 15.84 8.85 15.9C8.91 15.97 8.98 16 9.06 16ZM5.56 21C5.05 21 4.63 20.83 4.28 20.48C3.93 20.13 3.75 19.7 3.75 19.19V6.31H5.25V19.19C5.25 19.27 5.28 19.34 5.35 19.4C5.41 19.47 5.48 19.5 5.56 19.5H15.44V21H5.56Z`,fill:`currentColor`})})}function Ve(e){return(0,d.jsx)(V,{viewBox:`0 0 24 24`,...e,children:(0,d.jsx)(`path`,{d:`M12.1 21.5C10.77 21.5 9.52 21.25 8.36 20.74C7.2 20.24 6.18 19.55 5.31 18.69C4.45 17.82 3.76 16.8 3.26 15.64C2.75 14.48 2.5 13.23 2.5 11.9C2.5 9.71 3.17 7.76 4.5 6.05C5.84 4.34 7.56 3.22 9.68 2.68C9.5 4.29 9.66 5.84 10.18 7.35C10.69 8.86 11.52 10.19 12.67 11.33C13.81 12.48 15.14 13.31 16.65 13.82C18.16 14.34 19.71 14.5 21.32 14.32C20.79 16.44 19.67 18.16 17.96 19.5C16.24 20.83 14.29 21.5 12.1 21.5ZM12.1 20C13.57 20 14.93 19.63 16.18 18.9C17.43 18.17 18.41 17.16 19.13 15.87C17.69 15.74 16.33 15.38 15.05 14.78C13.77 14.19 12.62 13.39 11.6 12.37C10.58 11.35 9.78 10.2 9.18 8.92C8.58 7.64 8.22 6.28 8.1 4.85C6.82 5.57 5.81 6.55 5.09 7.81C4.36 9.07 4 10.43 4 11.9C4 14.15 4.79 16.06 6.36 17.64C7.94 19.21 9.85 20 12.1 20Z`,fill:`currentColor`})})}function He(e){return(0,d.jsx)(V,{viewBox:`0 0 20 20`,...e,children:(0,d.jsx)(`path`,{d:`M4.42 17.08C4 17.08 3.64 16.94 3.35 16.65C3.06 16.35 2.91 16 2.91 15.58V4.42C2.91 4 3.06 3.65 3.35 3.35C3.64 3.06 4 2.92 4.42 2.92H9.68V4.17H4.42C4.36 4.17 4.3 4.19 4.24 4.25C4.19 4.3 4.16 4.36 4.16 4.42V15.58C4.16 15.64 4.19 15.7 4.24 15.75C4.3 15.81 4.36 15.83 4.42 15.83H15.57C15.64 15.83 15.7 15.81 15.75 15.75C15.8 15.7 15.83 15.64 15.83 15.58V10.32H17.08V15.58C17.08 16 16.93 16.35 16.64 16.65C16.35 16.94 16 17.08 15.57 17.08H4.42ZM8.1 12.78L7.22 11.9L14.95 4.17H11.66V2.92H17.08V8.33H15.83V5.04L8.1 12.78Z`,fill:`currentColor`})})}function Ue(e){return(0,d.jsx)(V,{viewBox:`0 0 24 24`,...e,children:(0,d.jsx)(`path`,{d:`M11.25 5.21V1.52H12.75V5.21H11.25ZM17.32 7.73L16.29 6.7L18.87 4.04L19.94 5.12L17.32 7.73ZM18.79 12.75V11.25H22.48V12.75H18.79ZM11.25 22.48V18.8H12.75V22.48H11.25ZM6.7 7.69L4.04 5.13L5.13 4.07L7.74 6.68L6.7 7.69ZM18.86 19.96L16.29 17.3L17.31 16.29L19.93 18.84L18.86 19.96ZM1.52 12.75V11.25H5.21V12.75H1.52ZM5.12 19.96L4.07 18.87L6.65 16.29L7.19 16.81L7.75 17.33L5.12 19.96ZM12 17.5C10.48 17.5 9.18 16.97 8.11 15.9C7.04 14.83 6.5 13.53 6.5 12C6.5 10.48 7.03 9.18 8.1 8.11C9.17 7.04 10.47 6.5 12 6.5C13.53 6.5 14.82 7.03 15.89 8.1C16.97 9.17 17.5 10.47 17.5 12C17.5 13.53 16.97 14.82 15.9 15.89C14.83 16.97 13.53 17.5 12 17.5ZM12 16C13.1 16 14.04 15.61 14.83 14.83C15.61 14.04 16 13.1 16 12C16 10.9 15.61 9.96 14.83 9.18C14.04 8.39 13.1 8 12 8C10.9 8 9.96 8.39 9.18 9.18C8.39 9.96 8 10.9 8 12C8 13.1 8.39 14.04 9.18 14.83C9.96 15.61 10.9 16 12 16Z`,fill:`currentColor`})})}function We(e){return(0,d.jsx)(V,{viewBox:`0 0 16 16`,...e,children:(0,d.jsx)(`path`,{d:`M3 8H13`,stroke:`currentColor`,strokeWidth:`1`,strokeLinecap:`round`})})}function Ge(e){return(0,d.jsx)(V,{viewBox:`0 0 24 24`,...e,children:(0,d.jsx)(`path`,{d:`M10.5 6.23C10.5 5.82 10.65 5.47 10.94 5.17C11.23 4.88 11.59 4.73 12 4.73C12.41 4.73 12.77 4.88 13.06 5.17C13.35 5.47 13.5 5.82 13.5 6.23C13.5 6.64 13.35 7 13.06 7.29C12.77 7.58 12.41 7.73 12 7.73C11.59 7.73 11.23 7.58 10.94 7.29C10.65 7 10.5 6.64 10.5 6.23ZM10.5 12C10.5 11.59 10.65 11.23 10.94 10.94C11.23 10.65 11.59 10.5 12 10.5C12.41 10.5 12.77 10.65 13.06 10.94C13.35 11.23 13.5 11.59 13.5 12C13.5 12.41 13.35 12.77 13.06 13.06C12.77 13.35 12.41 13.5 12 13.5C11.59 13.5 11.23 13.35 10.94 13.06C10.65 12.77 10.5 12.41 10.5 12ZM10.5 17.77C10.5 17.36 10.65 17 10.94 16.71C11.23 16.42 11.59 16.27 12 16.27C12.41 16.27 12.77 16.42 13.06 16.71C13.35 17 13.5 17.36 13.5 17.77C13.5 18.18 13.35 18.54 13.06 18.83C12.77 19.12 12.41 19.27 12 19.27C11.59 19.27 11.23 19.12 10.94 18.83C10.65 18.54 10.5 18.18 10.5 17.77Z`,fill:`currentColor`})})}function Ke(e){return(0,d.jsx)(V,{viewBox:`0 0 24 24`,...e,children:(0,d.jsx)(`path`,{d:`M3.5 20.5V19H20.5V20.5H3.5ZM3.5 12.75V11.25H20.5V12.75H3.5ZM3.5 5V3.5H20.5V5H3.5Z`,fill:`currentColor`})})}function qe(e){return(0,d.jsx)(V,{viewBox:`0 0 24 24`,...e,children:(0,d.jsx)(`path`,{d:`M21 21L15 15M17 10C17 13.866 13.866 17 10 17C6.13401 17 3 13.866 3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10Z`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`})})}function Je(e){return(0,d.jsxs)(V,{viewBox:`0 0 24 24`,...e,children:[(0,d.jsx)(`path`,{d:`M3.5 17.6347V16.135H9.5V17.6347H3.5ZM3.5 12.7502V11.2502H13.5V12.7502H3.5ZM3.5 7.86547V6.36572H20.5V7.86547H3.5Z`,fill:`currentColor`}),(0,d.jsx)(`path`,{d:`M17.12 12.22C17.87 13.84 19.23 15.13 20.91 15.85C19.23 16.57 17.87 17.86 17.13 19.48C16.38 17.86 15.02 16.57 13.34 15.85C15.02 15.13 16.38 13.84 17.12 12.22Z`,stroke:`currentColor`,strokeWidth:`1.25`})]})}function Ye(e){return(0,d.jsx)(V,{viewBox:`0 0 24 24`,...e,children:(0,d.jsx)(`g`,{children:(0,d.jsx)(`path`,{d:`M10.07 13.93C9.49 13.34 8.96 12.72 8.48 12.07C8.01 11.42 7.59 10.72 7.21 9.99C7.05 10.31 6.94 10.63 6.87 10.97C6.81 11.31 6.77 11.65 6.77 12C6.77 13.45 7.28 14.69 8.3 15.7C9.31 16.72 10.55 17.23 12 17.23C12.34 17.23 12.68 17.19 13.03 17.11C13.37 17.04 13.7 16.93 14.01 16.78C13.28 16.41 12.58 15.99 11.93 15.51C11.28 15.04 10.66 14.51 10.07 13.93ZM11.14 12.88C11.96 13.7 12.87 14.41 13.88 15.01C14.88 15.61 15.95 16.08 17.1 16.43C16.46 17.16 15.7 17.73 14.82 18.14C13.94 18.55 13 18.75 12.02 18.75C10.14 18.75 8.55 18.1 7.24 16.79C5.93 15.48 5.27 13.88 5.27 12C5.27 11.02 5.48 10.09 5.89 9.2C6.29 8.32 6.86 7.56 7.6 6.93C7.95 8.07 8.42 9.14 9.02 10.15C9.62 11.15 10.32 12.06 11.14 12.88ZM18.3 14.49C18.05 14.43 17.81 14.36 17.56 14.28C17.32 14.2 17.08 14.11 16.84 14.02C16.98 13.7 17.08 13.37 17.15 13.03C17.22 12.7 17.25 12.35 17.25 12C17.25 10.55 16.74 9.31 15.71 8.29C14.69 7.26 13.45 6.75 12 6.75C11.65 6.75 11.3 6.78 10.96 6.85C10.63 6.91 10.3 7.01 9.98 7.15C9.89 6.91 9.8 6.68 9.73 6.44C9.66 6.21 9.6 5.97 9.53 5.72C9.93 5.56 10.33 5.45 10.75 5.37C11.17 5.29 11.59 5.25 12.02 5.25C13.9 5.25 15.5 5.91 16.81 7.21C18.12 8.52 18.77 10.12 18.77 12C18.77 12.43 18.74 12.86 18.66 13.28C18.58 13.69 18.46 14.1 18.3 14.49ZM11.25 3.13V0.44H12.75V3.13H11.25ZM11.25 23.56V20.87H12.75V23.56H11.25ZM18.8 6.26L17.74 5.19L19.62 3.33L20.69 4.38L18.8 6.26ZM4.38 20.68L3.31 19.62L5.19 17.74L6.26 18.81L4.38 20.68ZM20.86 12.75V11.25H23.56V12.75H20.86ZM0.44 12.75V11.25H3.13V12.75H0.44ZM19.62 20.69L17.74 18.81L18.8 17.74L20.67 19.62L19.62 20.69ZM5.19 6.26L3.32 4.38L4.38 3.31L6.26 5.19L5.19 6.26Z`,fill:`currentColor`})})})}function Xe({icon:e,label:t,action:n,className:r}){return(0,d.jsxs)(`div`,{className:D(`w-fit`,r),children:[e,t,n]})}function Ze({as:e,children:t,className:n,...r}){return(0,d.jsx)(e||`div`,{className:D(n),...r,children:t})}function Qe({children:e,className:t}){return(0,d.jsx)(`div`,{className:D(`grid grid-cols-[auto_1fr] grid-rows-[auto_auto_1fr_auto]`,t),children:e})}function $e({children:e,className:t}){return(0,d.jsx)(`div`,{className:D(`row-span-4`,t),children:e})}function et({children:e,className:t}){return(0,d.jsx)(`div`,{className:D(`col-start-2 row-start-1`,t),children:e})}function tt({children:e,className:t}){return(0,d.jsx)(`h3`,{className:D(`col-start-2 row-start-2`,t),children:e})}function nt({children:e,className:t}){return(0,d.jsx)(`div`,{className:D(`col-start-2 row-start-3`,t),children:e})}function rt({children:e,className:t}){return(0,d.jsx)(`div`,{className:D(`col-start-2 row-start-4`,t),children:e})}function it({children:e,className:t}){let{close:n}=j();return(0,d.jsx)(`div`,{role:`menu`,tabIndex:-1,className:D(`flex flex-col outline-none`,t),children:u.Children.map(e,e=>(0,u.cloneElement)(e,{role:`menuitem`,onClick:t=>{e.props.onClick?.(t),e.props.closeOnClick!==!1&&n()}}))})}function at(e){return(0,d.jsx)(O,{...e})}function ot({trigger:e,children:t,className:n,...r}){return(0,d.jsx)(M,{trigger:e,...r,children:(0,d.jsx)(it,{className:n,children:t})})}const X={amber:{bg:`bg-amber-200`,text:`text-amber-700`},blue:{bg:`bg-blue-200`,text:`text-blue-700`},cyan:{bg:`bg-cyan-200`,text:`text-cyan-700`},emerald:{bg:`bg-emerald-200`,text:`text-emerald-700`},fuchsia:{bg:`bg-fuchsia-200`,text:`text-fuchsia-700`},green:{bg:`bg-green-200`,text:`text-green-700`},indigo:{bg:`bg-indigo-200`,text:`text-indigo-700`},lime:{bg:`bg-lime-200`,text:`text-lime-700`},orange:{bg:`bg-orange-200`,text:`text-orange-700`},pink:{bg:`bg-pink-200`,text:`text-pink-700`},purple:{bg:`bg-purple-200`,text:`text-purple-700`},rose:{bg:`bg-rose-200`,text:`text-rose-700`},sky:{bg:`bg-sky-200`,text:`text-sky-700`},slate:{bg:`bg-slate-200`,text:`text-slate-700`},stone:{bg:`bg-stone-200`,text:`text-stone-700`},teal:{bg:`bg-teal-200`,text:`text-teal-700`},violet:{bg:`bg-violet-200`,text:`text-violet-700`}},st=Object.keys(X);var ct=(0,p.tv)({base:`flex shrink-0 items-center justify-center rounded-full leading-none font-semibold select-none`,variants:{size:{xs:`h-[16px] w-[16px] text-[0.5em]`,sm:`h-[20px] w-[20px] text-[0.625em]`,md:`h-[28px] w-[28px] text-[0.75em]`,lg:`h-[36px] w-[36px] text-[0.875em]`}},defaultVariants:{size:`sm`}});function lt(e){return oe(e.includes(`@`)?e.split(`@`)[0]:e)}function ut({name:e,size:t=`sm`,className:n}){let r=lt(e),i=X[se(e,st)];return(0,d.jsx)(`div`,{role:`img`,"aria-label":e,className:D(ct({size:t}),i.bg,i.text,n),children:r})}var dt=(0,p.tv)({slots:{root:`flex items-center gap-1 rounded-full border py-1 pr-2.5 pl-2`,text:`truncate text-xs font-semibold whitespace-nowrap`},variants:{status:{fire:{root:`border-tertiary-400 bg-tertiary-50`,text:`text-tertiary-500-variant-2`},insight:{root:`border-primary-400-variant-1 bg-primary-subtle`,text:`text-primary-600`},done:{root:`border-success-base bg-success-light`,text:`text-success-base`}}}}),ft={fire:{icon:G,label:`Fire`,action:!0},insight:{icon:K,label:`Insight`,action:!1},done:{icon:G,label:`Done`,action:!0}};function pt({className:e,label:t,status:n,onAction:r}){let i=ft[n],a=i.icon,o=dt({status:n});return(0,d.jsx)(Xe,{className:D(o.root(),e),icon:(0,d.jsx)(a,{size:16,className:o.text()}),label:(0,d.jsx)(`span`,{className:o.text(),children:`label`in i?t??i.label:t}),action:i.action&&r?(0,d.jsx)(O,{onClick:r,"aria-label":`Dismiss status`,className:`group`,children:(0,d.jsx)(Y,{size:16,className:D(`group-hover:scale-90`,o.text())})}):void 0})}function Z({icon:e,...t}){return(0,d.jsx)(O,{...t,children:(0,u.cloneElement)(e,{"aria-hidden":!0,focusable:!1,className:D(`shrink-0`,e.props.className)})})}function Q({className:e,...t}){return(0,d.jsx)(R,{...t,className:D(`rounded bg-neutral-700 px-2 py-1 text-[0.625em] font-medium whitespace-nowrap text-white`,e)})}function mt({totalItems:e=0,selectedItems:t=0,onSelectAll:n,actions:r,defaultDensity:i=`normal`,onDensityChange:a,className:o}){let s=e>0,c=s&&t===e,l=s&&t>0&&t<e,f=c?`All (${e})`:l?`${t}/${e} selected`:`Select all (${e})`,[p,m]=(0,u.useState)(i??`normal`),h=()=>{n(!c)};function g(e){m(e),a?.(e)}let _={fire:[{id:`fire`,tooltip:`Mark as fire`,icon:(0,d.jsx)(G,{size:20,className:`text-tertiary-500-variant-2`}),onClick:r.fire.on},{id:`not-fire`,tooltip:`Mark as not fire`,icon:(0,d.jsx)(Ne,{size:20,className:`text-neutral-900`}),onClick:r.fire.off}],done:[{id:`done`,tooltip:`Mark as done`,icon:(0,d.jsx)(W,{size:20,className:`text-success-base`}),onClick:r.done.on},{id:`not-done`,tooltip:`Mark as not done`,icon:(0,d.jsx)(U,{size:20,className:`text-neutral-900`}),onClick:r.done.off}],read:[{id:`unread`,tooltip:`Mark as unread`,icon:(0,d.jsx)(q,{size:20,className:`text-primary-600-variant-1`}),onClick:r.read.on},{id:`read`,tooltip:`Mark as read`,icon:(0,d.jsx)(Pe,{size:20,className:`text-neutral-900`}),onClick:r.read.off}]},v=[{value:`normal`,tooltip:`Normal density`,icon:(0,d.jsx)(Ke,{size:20})},{value:`compact`,tooltip:`Compact density`,icon:(0,d.jsx)(ze,{size:20})}];return(0,d.jsxs)(`div`,{className:D(`grid grid-cols-[minmax(0,1fr)_auto_auto] items-center gap-4`,o),children:[(0,d.jsx)(`div`,{className:`contents`,children:(0,d.jsx)(k,{checked:c,indeterminate:l,onChange:h,icon:(0,d.jsx)(H,{size:16,className:`text-white-variant-7`}),indeterminateIcon:(0,d.jsx)(We,{size:12,className:`text-neutral-900`}),className:D(`[&_.checkbox-box]:rounded`,`[&_.checkbox-box]:border`,`[&_.checkbox-box]:border-neutral-600`,`[&_.checkbox-box]:bg-white`,`[&_.checkbox-box[data-state=checked]]:border-primary-500`,`[&_.checkbox-box[data-state=checked]]:bg-primary-500`,`[&_.checkbox-box[data-state=indeterminate]]:h-[18px]`,`[&_.checkbox-box[data-state=indeterminate]]:w-[18px]`,`[&_.checkbox-label]:flex`,`[&_.checkbox-label]:items-center`,`[&_.checkbox-label]:gap-1`,`[&_.checkbox-label]:text-xs`,`[&_.checkbox-label]:font-medium`,`[&_.checkbox-label]:text-neutral-900`),children:f})}),(0,d.jsx)(`div`,{className:`flex items-center divide-x divide-neutral-400-variant-1`,children:t>0&&(0,d.jsx)(d.Fragment,{children:Object.entries(_).map(([e,t])=>(0,d.jsx)(`div`,{className:`flex items-center gap-2 px-1`,children:t.map(e=>(0,d.jsx)(Q,{content:e.tooltip,className:`border-black`,children:(0,d.jsx)(Z,{className:`h-7 w-7 p-0`,onClick:e.onClick,icon:e.icon})},e.id))},e))})}),(0,d.jsx)(`div`,{className:`flex items-center gap-2`,children:v.map(({value:e,tooltip:t,icon:n})=>{let r=p===e;return(0,d.jsx)(Q,{content:t,children:(0,d.jsx)(Z,{className:D(`h-7 w-7 p-0 text-neutral-900`,r&&`bg-white-variant-4`),onClick:()=>g(e),icon:n,"aria-pressed":r})},e)})})]})}var ht=(0,p.tv)({slots:{root:`inline-flex w-fit items-center gap-1 rounded-full border px-2 py-1 transition-colors`,label:`flex shrink-0 items-center gap-1 text-xs whitespace-nowrap`},variants:{selected:{false:{root:`border-neutral-300 bg-white hover:border-neutral-500-variant-4 hover:bg-neutral-100`,label:`font-semibold text-neutral-800 opacity-80 group-hover:opacity-100`},true:{root:`border-primary-400 bg-primary-light hover:border-primary-400`,label:`font-semibold text-neutral-900`}}},defaultVariants:{selected:!1}}),gt={fire:{icon:G,label:`Fire`,iconColor:`text-tertiary-500`},unread:{icon:q,label:`Unread`,iconColor:`text-primary-500`},insight:{icon:K,label:`Insights`,iconColor:`text-primary-600`},done:{icon:W,label:`Done`,iconColor:`text-success-base`}};function _t(e,t){return typeof e==`function`?(0,d.jsx)(e,{size:20,className:t}):(0,u.cloneElement)(e,{size:e.props.size??20,className:D(t,e.props.className)})}function vt({variant:e=`custom`,label:t,count:n,selected:r=!1,icon:i,classNames:a,disabled:o,...s}){let c=!!o,l=ht({selected:!c&&r}),u=e===`custom`?void 0:gt[e],f=i??u?.icon,p=t??u?.label,m=c?`text-neutral-400`:r&&u?.iconColor?u.iconColor:`text-neutral-900 opacity-60 group-hover:opacity-80`;return(0,d.jsxs)(O,{...s,disabled:o,"aria-label":s[`aria-label`]??p,className:D(`group`,l.root(),c&&`border-neutral-300 bg-white hover:border-neutral-300`,a?.root),children:[f&&(0,d.jsx)(`span`,{className:D(`flex items-center`,a?.icon),children:_t(f,D(`shrink-0`,m))}),p&&(0,d.jsxs)(`span`,{className:D(l.label(),c&&`font-medium text-neutral-400`,a?.label),children:[(0,d.jsx)(`span`,{children:p}),typeof n==`number`&&n>0&&(0,d.jsxs)(`span`,{"aria-label":`${n} items`,className:D(`font-medium`,a?.count),children:[`(`,n,`)`]})]})]})}var yt=(0,p.tv)({slots:{root:`flex w-fit items-center`,bubble:`flex size-8 items-center justify-center rounded-full border-[1.5px] transition-opacity hover:opacity-70`,label:`flex items-center gap-1 transition-colors`,count:`font-normal`,icon:``},variants:{variant:{primary:{},secondary:{},minimal:{bubble:`border-none text-primary-500`,label:`text-primary-500`}},status:{active:{},inactive:{}},orientation:{vertical:{root:`flex-col gap-1`,label:`text-[9px] font-semibold`},horizontal:{root:`flex-row gap-2`,label:`text-xs font-semibold`}}},compoundVariants:[{variant:`primary`,status:`active`,class:{bubble:`border-primary-400-variant-1`,label:`text-neutral-900`}},{variant:`primary`,status:`inactive`,class:{bubble:`border-neutral-300`,label:`opacity-60`,icon:`opacity-50 grayscale`}},{variant:`secondary`,status:`active`,class:{bubble:`border-primary-400-variant-1`,label:`text-neutral-900`,icon:`text-success-base`}},{variant:`secondary`,status:`inactive`,class:{bubble:`border-neutral-300`,label:`text-neutral-900`}}],defaultVariants:{variant:`primary`,orientation:`vertical`,status:`active`}});function bt({icon:e,label:t,count:n,variant:r=`primary`,orientation:i=`vertical`,status:a=`active`,alwaysShowCount:o=!1,classNames:s,...c}){let l=yt({variant:r,orientation:i,status:a});return(0,d.jsxs)(O,{...c,className:D(l.root(),s?.root),children:[(0,d.jsx)(`div`,{className:D(l.bubble(),s?.bubble),children:(0,u.cloneElement)(e,{size:e.props.size??20,className:D(l.icon(),e.props.className)})}),(0,d.jsxs)(`div`,{className:D(l.label(),s?.label),children:[(0,d.jsx)(`span`,{children:t}),typeof n==`number`&&n>0&&(o||a===`active`)&&(0,d.jsxs)(`span`,{"aria-label":`${n} items`,className:D(l.count(),s?.count),children:[`(`,n,`)`]})]})]})}function xt({icon:e,label:t,className:n,selected:r,...i}){return(0,d.jsxs)(O,{className:D(`flex items-center justify-start gap-2 bg-white px-3 py-2 hover:bg-neutral-100`,r&&`bg-primary-500 text-white hover:bg-primary-bright`,n),...i,children:[e&&(0,u.cloneElement)(e,{size:e.props.size??16,className:D(r?`text-white`:`text-neutral-600-variant-7`,e.props.className)}),(0,d.jsx)(`span`,{className:D(`text-xs font-medium transition-colors`,r?`text-white`:`text-neutral-900`),children:t})]})}function St({trigger:e,children:t,className:n,...r}){return(0,d.jsx)(ot,{trigger:e,className:D(`mt-1 min-w-20 overflow-hidden rounded border border-neutral-400 bg-white p-0 shadow-lg`,n),...r,children:t})}function Ct({mode:e,selectedDate:t,selectedRange:n,onDateSelect:r,onRangeSelect:i}){let{close:a}=j(),o=(0,u.useMemo)(()=>new Date,[]),[s,c]=(0,u.useState)(null),l=(0,u.useRef)(t),f=(0,u.useRef)(n),[p,m]=(0,u.useState)(()=>{let r=e===`single`?t??o:n.startDate??n.endDate??o;return{year:r.getFullYear(),month:r.getMonth()}});(0,u.useEffect)(()=>{(e===`single`&&t&&(!l.current||t.getTime()!==l.current.getTime())||e===`range`&&(n.startDate?.getTime()!==f.current.startDate?.getTime()||n.endDate?.getTime()!==f.current.endDate?.getTime()))&&queueMicrotask(()=>{if(e===`single`&&t)m({year:t.getFullYear(),month:t.getMonth()});else if(e===`range`){let e=n.startDate??n.endDate;e&&m({year:e.getFullYear(),month:e.getMonth()})}}),l.current=t,f.current=n},[e,t,n]);let h=(0,u.useMemo)(()=>E(p.year,p.month),[p.year,p.month]);function g(t){let o=t.getMonth(),s=t.getFullYear();if((o!==p.month||s!==p.year)&&m({year:s,month:o}),e===`single`)r(t),a();else{let{startDate:e,endDate:r}=n;!e||r||S(t,e)?i({startDate:t,endDate:null}):(i({startDate:e,endDate:t}),a())}}function _(){m(e=>e.month===0?{year:e.year-1,month:11}:{year:e.year,month:e.month-1})}function v(){m(e=>e.month===11?{year:e.year+1,month:0}:{year:e.year,month:e.month+1})}let y=T();return(0,d.jsxs)(`div`,{className:`mt-1 w-fit rounded-lg border border-neutral-400 bg-white p-2 shadow-lg`,children:[(0,d.jsxs)(`div`,{className:`mb-4 flex items-center justify-between border-b border-neutral-400 pb-2`,children:[(0,d.jsx)(Z,{icon:(0,d.jsx)(J,{direction:`left`,size:20}),onClick:_,className:`hover:opacity-60`,"aria-label":`Previous month`}),(0,d.jsxs)(`div`,{className:`text-[10px] font-bold text-neutral-900`,children:[re(p.month),` `,p.year]}),(0,d.jsx)(Z,{icon:(0,d.jsx)(J,{direction:`right`,size:20}),onClick:v,className:`hover:opacity-60`,"aria-label":`Next month`})]}),(0,d.jsx)(`div`,{className:`mb-2 grid grid-cols-7`,children:y.map(e=>(0,d.jsx)(`div`,{className:`flex items-center justify-center p-0.5 text-[9px] font-bold text-neutral-900`,children:e},e))}),(0,d.jsx)(`div`,{className:`grid grid-cols-7`,children:h.map(({day:r,date:i,isCurrentMonth:a})=>{let o=te(i),l=e===`single`&&t&&x(i,t),{startDate:u,endDate:f}=n,p=u&&x(i,u),m=f&&x(i,f),h=u,_=s;e===`range`&&u&&!f&&s&&!S(s,u)?(h=u,_=s):(h=null,_=null);let v=e===`range`&&(C(i,u,f)||C(i,h,_)),y=l||p||m;return(0,d.jsx)(O,{type:`button`,onClick:()=>g(i),onMouseEnter:()=>{e===`range`&&u&&!f&&!S(i,u)&&c(i)},onMouseLeave:()=>{e===`range`&&c(null)},className:`p-0.5`,"aria-label":`Select ${b(i)}`,"aria-selected":y||void 0,children:(0,d.jsx)(`div`,{className:D(`flex h-[26px] w-[26px] items-center justify-center rounded text-[9px] transition-colors`,y&&`bg-primary-500 font-semibold text-white-variant-1 hover:bg-primary-500`,v&&!y&&`bg-primary-500/20 font-normal text-neutral-900 hover:bg-primary-500/30`,o&&!y&&!v&&`border border-primary-500 bg-primary-500/15 font-bold hover:bg-primary-500 hover:text-white`,!y&&!v&&(a?`text-neutral-900 hover:bg-neutral-300`:`text-neutral-600 hover:bg-neutral-200`)),children:r})},`${i.getFullYear()}-${i.getMonth()}-${r}`)})})]})}function wt({displayText:e,disabled:t,className:n,onClear:r}){let{close:i}=j();function a(){r(),i()}return(0,d.jsxs)(N,{disabled:t,className:D(`flex items-center justify-start gap-1 rounded-full border border-neutral-300 bg-white px-2 py-1 text-left text-xs text-neutral-800 transition-colors hover:border-neutral-500`,e&&`border-primary-400 hover:border-primary-500 hover:bg-primary-light`,n),children:[(0,d.jsx)(Re,{size:20,className:`text-primary-600`}),(0,d.jsx)(`span`,{className:`font-semibold`,children:`Date`}),e&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(`span`,{className:`font-normal`,children:[`(`,e,`)`]}),(0,d.jsx)(P,{children:(0,d.jsx)(Z,{icon:(0,d.jsx)(Y,{size:16}),onClick:a,className:`text-neutral-600 hover:opacity-70`,"aria-label":`Close`})})]})]})}function Tt({mode:e=`single`,value:t,defaultValue:n,onChange:r,disabled:i=!1,className:a}){let[o,s]=(0,u.useState)(e===`single`&&n?n:null),[c,l]=(0,u.useState)(()=>{if(e===`range`&&n){let e=n;return{startDate:e.startDate??null,endDate:e.endDate??null}}return{startDate:null,endDate:null}}),f=t!==void 0,p=e===`single`?f?t??null:o:null,m=e===`range`?f?t??{startDate:null,endDate:null}:c:{startDate:null,endDate:null};function h(t){e===`single`&&(f||s(t),r?.(t))}function g(t){e===`range`&&(f||l(t),r?.(t))}function _(){e===`single`?h(null):g({startDate:null,endDate:null})}return(0,d.jsx)(d.Fragment,{children:(0,d.jsx)(M,{trigger:(0,d.jsx)(wt,{displayText:e===`single`?b(p):w(m.startDate,m.endDate),disabled:i,className:a,onClear:_}),disabled:i,children:(0,d.jsx)(Ct,{mode:e,selectedDate:p,selectedRange:m,onDateSelect:h,onRangeSelect:g})})})}function Et({children:e,className:t}){return(0,d.jsx)(`div`,{className:D(`flex flex-wrap items-center gap-2`,t),children:e.map(e=>(0,u.cloneElement)(e,{}))})}var Dt=(0,p.tv)({base:`bg-neutral-400-variant-4`,variants:{orientation:{horizontal:`h-px w-full`,vertical:`h-full w-px`},inset:{none:``,sm:``,md:``,lg:``}},compoundVariants:[{orientation:`horizontal`,inset:`sm`,class:`mx-2`},{orientation:`horizontal`,inset:`md`,class:`mx-4`},{orientation:`horizontal`,inset:`lg`,class:`mx-6`},{orientation:`vertical`,inset:`sm`,class:`my-2`},{orientation:`vertical`,inset:`md`,class:`my-4`},{orientation:`vertical`,inset:`lg`,class:`my-6`}],defaultVariants:{orientation:`horizontal`,inset:`none`}});function $({className:e,...t}){return(0,d.jsx)(`div`,{className:D(Dt(t),e)})}function Ot({orientation:e=`vertical`,children:t,onAddMore:n,className:r}){return(0,d.jsx)(`div`,{className:D(`size-full`,e===`vertical`?`overflow-x-hidden`:`overflow-y-hidden`),children:(0,d.jsxs)(`div`,{className:D(`grid h-full w-full place-items-center gap-4`,e===`vertical`?`grid-cols-1`:`auto-cols-max grid-flow-col`,r),children:[t.map(e=>(0,u.cloneElement)(e,{})),(0,d.jsx)($,{orientation:e===`vertical`?`horizontal`:`vertical`}),(0,d.jsx)(bt,{icon:(0,d.jsx)(Ie,{size:24}),label:`Add`,onClick:n,variant:`minimal`,orientation:e})]})})}var kt={fire:{className:`group`,icon:(0,d.jsx)(G,{size:20,className:`text-neutral-600 group-hover:text-tertiary-500-variant-2`})},done:{className:`group relative flex items-center justify-center w-6 h-6`,icon:(0,d.jsxs)(`span`,{className:`contents`,children:[(0,d.jsx)(U,{size:24,className:`block text-neutral-600-variant-1 group-hover:hidden`}),(0,d.jsx)(W,{size:24,className:`hidden text-success-base group-hover:block`})]})},link:{className:``,icon:(0,d.jsx)(He,{size:20,className:`text-primary-500`})}};function At({icon:e,sender:t,title:n,content:r,timestamp:i,workspace:a,read:o=!1,selected:s=!1,onSelect:c,checked:l=!1,onCheckedChange:u,statuses:f={},actions:p={}}){return(0,d.jsx)(Ze,{as:N,onPress:c,className:D(`rounded-lg border-[1.5px] border-primary-400 bg-white-variant-5 p-4 hover:bg-primary-light`,o&&`border-neutral-400`,s&&`border-primary-500 bg-primary-light`),children:(0,d.jsxs)(Qe,{className:`gap-x-2 gap-y-1`,children:[(0,d.jsx)($e,{children:(0,d.jsx)(P,{children:(0,d.jsx)(k,{checked:l,onChange:u,icon:(0,d.jsx)(H,{size:16,className:`text-white-variant-7`}),className:D(`[&_.checkbox-box]:rounded`,`[&_.checkbox-box]:border`,`[&_.checkbox-box]:border-neutral-600`,`[&_.checkbox-box]:bg-white`,`[&_.checkbox-box[data-state=checked]]:border-primary-500`,`[&_.checkbox-box[data-state=checked]]:bg-primary-500`,`[&_.checkbox-box[data-state=indeterminate]]:h-[18px]`,`[&_.checkbox-box[data-state=indeterminate]]:w-[18px]`,`[&_.checkbox-label]:flex`,`[&_.checkbox-label]:items-center`,`[&_.checkbox-label]:gap-1`,`[&_.checkbox-label]:text-xs`,`[&_.checkbox-label]:font-medium`,`[&_.checkbox-label]:text-neutral-900`)})})}),(0,d.jsxs)(et,{className:`grid grid-cols-[auto_minmax(0,1fr)_auto_auto] items-center gap-2`,children:[e,(0,d.jsx)(`span`,{className:D(`min-w-0 -translate-x-0.5 truncate text-sm font-bold text-neutral-900`,o&&`font-medium`),children:t}),(0,d.jsx)(`span`,{className:`text-xs leading-tight font-semibold tracking-wide whitespace-nowrap text-neutral-800`,children:i}),(0,d.jsx)(Q,{content:a,children:(0,d.jsx)(ut,{name:a})})]}),(0,d.jsx)(tt,{className:D(`text-sm font-bold text-neutral-900`,o&&`font-medium`),children:n}),(0,d.jsx)(nt,{className:`line-clamp-2 min-w-0 text-sm text-neutral-900`,children:r}),(0,d.jsxs)(rt,{className:`mt-3 grid grid-cols-[minmax(0,1fr)_auto] items-center gap-1`,children:[f&&(0,d.jsx)(`div`,{className:`flex gap-2`,children:(0,d.jsx)(P,{children:Object.keys(f).map(e=>{let t=f[e];return t?(0,d.jsx)(pt,{status:e,label:t.label,onAction:t.onAction},e):null})})}),p&&(0,d.jsx)(`div`,{className:`flex gap-2`,children:(0,d.jsx)(P,{children:Object.keys(p).map(e=>{let t=p[e];if(!t)return null;let n=kt[e];return(0,d.jsx)(Z,{...n,onClick:t.onClick},e)})})})]})]})})}function jt({value:e,defaultValue:t,placeholder:n=`Search...`,onChange:r,onClear:i,disabled:a=!1,className:o}){let[s,c]=(0,u.useState)(t??``),l=typeof e==`string`,f=l?e:s,p=f.length>0;function m(e){l||c(e),r?.(e)}function h(){l||c(``),r?.(``),i?.()}return(0,d.jsxs)(`fieldset`,{role:`search`,className:D(`flex h-8 min-w-0 items-center gap-1.5 rounded-full border border-neutral-500-variant-3 bg-white px-2 py-1`,a&&`pointer-events-none bg-neutral-200 opacity-70`,o),disabled:a,children:[(0,d.jsx)(qe,{size:20,className:`text-neutral-700`}),(0,d.jsx)(le,{type:`text`,value:f,placeholder:n,onChange:m,className:D(`m-0 h-5 min-w-0 flex-1 border-0 p-0 text-xs text-neutral-800`,`bg-transparent outline-none`,`placeholder:text-neutral-700-alpha-60`,a&&`text-neutral-700-alpha-60`)}),p&&!a&&(0,d.jsx)(Z,{type:`button`,icon:(0,d.jsx)(Y,{size:16,className:`text-neutral-700`}),onClick:h,"aria-label":`Clear search`,className:`rounded p-0 transition-opacity hover:opacity-70`})]})}exports.AVATAR_COLOR=X,exports.AVATAR_COLOR_KEYS=st,exports.Accordion=ve,exports.AccordionContent=xe,exports.AccordionItem=ye,exports.AccordionTrigger=be,exports.AccountIcon=Fe,exports.ActionMenu=St,exports.ActionMenuItem=xt,exports.AddIcon=Ie,exports.AirtableIcon=Ce,exports.ArrowIcon=J,exports.AsanaIcon=we,exports.Avatar=ut,exports.Badge=Xe,exports.BulkActions=mt,exports.Button=O,exports.CalendarIcon=Re,exports.Card=Ze,exports.CardContent=nt,exports.CardFooter=rt,exports.CardHeader=et,exports.CardLayout=Qe,exports.CardSidebar=$e,exports.CardTitle=tt,exports.CheckCircleEmptyIcon=U,exports.CheckCircleIcon=W,exports.Checkbox=k,exports.CheckboxIcon=H,exports.ClickUpIcon=Te,exports.CloseIcon=Y,exports.CompactDensityIcon=ze,exports.CopyIcon=Be,exports.DarkIcon=Ve,exports.DatePicker=Tt,exports.Divider=$,exports.Dropdown=M,exports.DropdownContext=A,exports.DropdownMenu=ot,exports.DropdownMenuItem=at,exports.ExternalLinkIcon=He,exports.FilterBar=Et,exports.FilterButton=vt,exports.FireIcon=G,exports.GmailIcon=Ee,exports.GoogleCalendarIcon=De,exports.Icon=V,exports.IconButton=Z,exports.IconCountButton=bt,exports.InfoTooltip=Q,exports.Input=le,exports.InsightIcon=K,exports.IntegrationBar=Ot,exports.JiraIcon=Oe,exports.LightIcon=Ue,exports.LogoIcon=Se,exports.MinusIcon=We,exports.MoreIcon=Ge,exports.NormalDensityIcon=Ke,exports.NotFireIcon=Ne,exports.OutlookCalendarIcon=ke,exports.OutlookIcon=Ae,exports.Pressable=N,exports.PreviewCard=At,exports.ReadIcon=Pe,exports.SearchIcon=qe,exports.SearchInput=jt,exports.SlackIcon=je,exports.StatusBadge=pt,exports.StopPropagation=P,exports.SummaryIcon=Je,exports.SystemIcon=Ye,exports.TeamsIcon=Me,exports.Toaster=he,exports.Tooltip=R,exports.UnreadIcon=q,exports.capitalize=ie,exports.cn=D,exports.colors=m,exports.formatDate=b,exports.formatDateRange=w,exports.generateCalendarDays=E,exports.getDaysInMonth=_,exports.getFirstDayOfMonth=v,exports.getInitials=oe,exports.getMonthName=re,exports.getWeekdays=T,exports.isDateBefore=S,exports.isDateInRange=C,exports.isSameDay=x,exports.isToday=te,exports.parseDate=ee,exports.pickColorFromPalette=se,exports.stringHash=ae,exports.toMondayBased=y,exports.toast=pe,exports.toastStore=L,exports.useAccordion=B,exports.useDropdown=j,exports.useLongPress=ce;
2
+ //# sourceMappingURL=index.cjs.map