@marketrix.ai/widget 3.3.150 → 3.3.159

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.
@@ -1,16 +1,16 @@
1
1
  import { type ReactNode } from 'react';
2
- import { type RadiusToken } from '../../design-system/component-tokens';
3
- import type { ShadowToken } from '../../design-system/shadows';
4
- import { type LayoutProps } from './layoutProps';
5
- import { type SurfaceBackground, type SurfacePadding } from './Surface';
6
- export interface FlexProps extends LayoutProps, Omit<React.HTMLAttributes<HTMLElement>, 'className'> {
7
- background?: SurfaceBackground;
2
+ import { type SurfaceProps } from './Surface';
3
+ /**
4
+ * Flex extends Surface with flexbox semantics.
5
+ *
6
+ * Composes `Surface` so that the prop-forwarding, className merging, and
7
+ * elevation/padding/background/radius/layout handling all live in exactly
8
+ * one place. Flex's only contribution is the `flex` utility class plus an
9
+ * optional `flex-col` from the `direction` prop. Public API is unchanged
10
+ * for callers.
11
+ */
12
+ export interface FlexProps extends SurfaceProps {
8
13
  direction?: 'row' | 'column';
9
- elevation?: ShadowToken;
10
- paddingPreset?: SurfacePadding;
11
- radius?: RadiusToken;
12
- /** @internal blocks/ only */
13
- className?: string;
14
14
  children?: ReactNode;
15
15
  }
16
16
  export declare const Flex: import("react").ForwardRefExoticComponent<FlexProps & import("react").RefAttributes<HTMLElement>>;
@@ -1 +1 @@
1
- {"version":3,"file":"Flex.d.ts","sourceRoot":"","sources":["../../../../src/components/base/Flex.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAInD,OAAO,EAAqB,KAAK,WAAW,EAAE,MAAM,sCAAsC,CAAC;AAC3F,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,KAAK,WAAW,EAA0C,MAAM,eAAe,CAAC;AACzF,OAAO,EAA2C,KAAK,iBAAiB,EAAE,KAAK,cAAc,EAAE,MAAM,WAAW,CAAC;AAEjH,MAAM,WAAW,SAAU,SAAQ,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,WAAW,CAAC;IAClG,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAC/B,SAAS,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;IAC7B,SAAS,CAAC,EAAE,WAAW,CAAC;IACxB,aAAa,CAAC,EAAE,cAAc,CAAC;IAC/B,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,eAAO,MAAM,IAAI,mGA+Bf,CAAC"}
1
+ {"version":3,"file":"Flex.d.ts","sourceRoot":"","sources":["../../../../src/components/base/Flex.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAInD,OAAO,EAAW,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AAEvD;;;;;;;;GAQG;AACH,MAAM,WAAW,SAAU,SAAQ,YAAY;IAC7C,SAAS,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;IAC7B,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,eAAO,MAAM,IAAI,mGAGf,CAAC"}
@@ -3,6 +3,17 @@
3
3
  *
4
4
  * Consolidates all widget localStorage into a single key: marketrix_chat_context
5
5
  * Contains: chat_id, messages, widget state, and config
6
+ *
7
+ * **Canonical implementation.** This file is the source of truth for the
8
+ * `StorageService` mirror pair. The matching `app/src/services/StorageService.ts`
9
+ * in the dashboard repo should be byte-identical to this file (modulo its
10
+ * own `'../types'` import path). When updating storage semantics, change
11
+ * this file first and copy the result over to the app mirror.
12
+ *
13
+ * Why widget is canonical: the chat context object (chat_id, messages,
14
+ * task progress, widget config) originates in the embeddable widget — the
15
+ * widget owns the read/write lifecycle, and the dashboard only ever reads
16
+ * the same shape for parity. See Wave 13 cleanup (F-048).
6
17
  */
7
18
  import type { ChatMessage, InstructionType, MarketrixConfig, TaskProgress } from '../types';
8
19
  /**
@@ -27,6 +38,12 @@ export interface MarketrixChatContext {
27
38
  config: MarketrixConfig | null;
28
39
  timestamp: number;
29
40
  }
41
+ /**
42
+ * Singleton wrapper around `localStorage` for the unified widget chat context.
43
+ *
44
+ * Canonical implementation — see file header. Mirror in `app/src/services/StorageService.ts`
45
+ * must be byte-identical (modulo the relative path of the `../types` import).
46
+ */
30
47
  declare class StorageService {
31
48
  private static instance;
32
49
  private context;
@@ -1 +1 @@
1
- {"version":3,"file":"StorageService.d.ts","sourceRoot":"","sources":["../../../src/services/StorageService.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAK5F;;GAEG;AACH,KAAK,aAAa,GAAG,IAAI,CAAC,WAAW,EAAE,aAAa,GAAG,WAAW,CAAC,GAAG;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC;AAE5F;;GAEG;AACH,MAAM,WAAW,oBAAoB;IAEnC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAGvB,QAAQ,EAAE,aAAa,EAAE,CAAC;IAC1B,aAAa,EAAE,OAAO,CAAC;IACvB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,YAAY,EAAE,YAAY,EAAE,CAAC;IAC7B,WAAW,EAAE,eAAe,CAAC;IAC7B,MAAM,EAAE,OAAO,CAAC;IAChB,WAAW,EAAE,OAAO,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;IAGnB,MAAM,EAAE,eAAe,GAAG,IAAI,CAAC;IAG/B,SAAS,EAAE,MAAM,CAAC;CACnB;AAmBD,cAAM,cAAc;IAClB,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAiB;IACxC,OAAO,CAAC,OAAO,CAAqC;IAEpD,OAAO;IAIP,MAAM,CAAC,WAAW,IAAI,cAAc;IAOpC;;OAEG;IACH,OAAO,CAAC,WAAW;IA6BnB;;OAEG;IACH,OAAO,CAAC,WAAW;IAanB;;OAEG;IACH,UAAU,IAAI,oBAAoB;IAOlC;;OAEG;IACH,aAAa,CAAC,OAAO,EAAE,OAAO,CAAC,oBAAoB,CAAC,GAAG,IAAI;IAW3D;;OAEG;IACH,OAAO,CAAC,aAAa;IAIrB;;;OAGG;IACH,SAAS,IAAI,MAAM,GAAG,IAAI;IAiB1B;;;OAGG;IACH,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI;IAWtC,WAAW,IAAI,aAAa,EAAE;IAI9B,WAAW,CAAC,QAAQ,EAAE,aAAa,EAAE,GAAG,IAAI;IAM5C,YAAY,IAAI,IAAI,CAClB,oBAAoB,EACpB,eAAe,GAAG,cAAc,GAAG,cAAc,GAAG,aAAa,GAAG,QAAQ,GAAG,aAAa,GAAG,WAAW,CAC3G;IAaD,YAAY,CACV,KAAK,EAAE,OAAO,CACZ,IAAI,CACF,oBAAoB,EACpB,eAAe,GAAG,cAAc,GAAG,cAAc,GAAG,aAAa,GAAG,QAAQ,GAAG,aAAa,GAAG,WAAW,CAC3G,CACF,GACA,IAAI;IAMP,SAAS,IAAI,eAAe,GAAG,IAAI;IAInC,SAAS,CAAC,MAAM,EAAE,eAAe,GAAG,IAAI,GAAG,IAAI;IAM/C,KAAK,IAAI,IAAI;IAOb;;OAEG;IACH,eAAe,IAAI,OAAO;CAI3B;AAED,eAAO,MAAM,cAAc,gBAA+B,CAAC"}
1
+ {"version":3,"file":"StorageService.d.ts","sourceRoot":"","sources":["../../../src/services/StorageService.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAK5F;;GAEG;AACH,KAAK,aAAa,GAAG,IAAI,CAAC,WAAW,EAAE,aAAa,GAAG,WAAW,CAAC,GAAG;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC;AAE5F;;GAEG;AACH,MAAM,WAAW,oBAAoB;IAEnC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAGvB,QAAQ,EAAE,aAAa,EAAE,CAAC;IAC1B,aAAa,EAAE,OAAO,CAAC;IACvB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,YAAY,EAAE,YAAY,EAAE,CAAC;IAC7B,WAAW,EAAE,eAAe,CAAC;IAC7B,MAAM,EAAE,OAAO,CAAC;IAChB,WAAW,EAAE,OAAO,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;IAGnB,MAAM,EAAE,eAAe,GAAG,IAAI,CAAC;IAG/B,SAAS,EAAE,MAAM,CAAC;CACnB;AAmBD;;;;;GAKG;AACH,cAAM,cAAc;IAClB,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAiB;IACxC,OAAO,CAAC,OAAO,CAAqC;IAEpD,OAAO;IAIP,MAAM,CAAC,WAAW,IAAI,cAAc;IAOpC;;OAEG;IACH,OAAO,CAAC,WAAW;IA6BnB;;OAEG;IACH,OAAO,CAAC,WAAW;IAanB;;OAEG;IACH,UAAU,IAAI,oBAAoB;IAOlC;;OAEG;IACH,aAAa,CAAC,OAAO,EAAE,OAAO,CAAC,oBAAoB,CAAC,GAAG,IAAI;IAW3D;;OAEG;IACH,OAAO,CAAC,aAAa;IAIrB;;;OAGG;IACH,SAAS,IAAI,MAAM,GAAG,IAAI;IAiB1B;;;OAGG;IACH,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI;IAWtC,WAAW,IAAI,aAAa,EAAE;IAI9B,WAAW,CAAC,QAAQ,EAAE,aAAa,EAAE,GAAG,IAAI;IAM5C,YAAY,IAAI,IAAI,CAClB,oBAAoB,EACpB,eAAe,GAAG,cAAc,GAAG,cAAc,GAAG,aAAa,GAAG,QAAQ,GAAG,aAAa,GAAG,WAAW,CAC3G;IAaD,YAAY,CACV,KAAK,EAAE,OAAO,CACZ,IAAI,CACF,oBAAoB,EACpB,eAAe,GAAG,cAAc,GAAG,cAAc,GAAG,aAAa,GAAG,QAAQ,GAAG,aAAa,GAAG,WAAW,CAC3G,CACF,GACA,IAAI;IAMP,SAAS,IAAI,eAAe,GAAG,IAAI;IAInC,SAAS,CAAC,MAAM,EAAE,eAAe,GAAG,IAAI,GAAG,IAAI;IAM/C,KAAK,IAAI,IAAI;IAOb;;OAEG;IACH,eAAe,IAAI,OAAO;CAI3B;AAED,eAAO,MAAM,cAAc,gBAA+B,CAAC"}
package/dist/widget.mjs CHANGED
@@ -7,8 +7,8 @@ return f(Hd,{previewMode:t,uiActions:r,currentMode:n.currentMode,children:/* @__
7
7
  return f(du.Provider,{value:{state:l,actions:c},children:e})},pu=({children:e,previewMode:t=!1})=>/* @__PURE__ */f(cu,{previewMode:t,children:/* @__PURE__ */f(uu,{children:e})});var hu=({config:e}={})=>{const{state:t,actions:n}=(()=>{const e=s(du);if(void 0===e)throw new Error("useWidgetContext must be used within a WidgetProvider");return e})(),r=d(()=>e||Bd.getConfig()||{},[e]),i=function(e){return Object.keys(Ba.shape).every(t=>void 0!==e[t])}(r);a(()=>{i&&Bd.saveConfig(r)},[r,i]);const l=o(()=>i&&!0===r.widget_enabled,[r,i]),c=r.isPreviewMode??!1;return{state:t,config:r,actions:n,shouldShow:l(),isPreviewMode:c,configValid:i}},mu=(e=/* @__PURE__ */new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),fu="-",gu=[],yu=e=>{const t=vu(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]"))return bu(e);const n=e.split(fu);return wu(n,""===n[0]&&n.length>1?1:0,t)},getConflictingClassGroupIds:(e,t)=>{if(t){const t=r[e],i=n[e];return t?i?((e,t)=>{const n=new Array(e.length+t.length);for(let r=0;r<e.length;r++)n[r]=e[r];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n})(i,t):t:i||gu}return n[e]||gu}}},wu=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const r=e[t],i=n.nextPart.get(r);if(i){const n=wu(e,t+1,i);if(n)return n}const o=n.validators;if(null===o)return;const s=0===t?e.join(fu):e.slice(t).join(fu),a=o.length;for(let l=0;l<a;l++){const e=o[l];if(e.validator(s))return e.classGroupId}},bu=e=>-1===e.slice(1,-1).indexOf(":")?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),r=t.slice(0,n);return r?"arbitrary.."+r:void 0})(),vu=e=>{const{theme:t,classGroups:n}=e;return xu(n,t)},xu=(e,t)=>{const n=mu();for(const r in e){const i=e[r];ku(i,n,r,t)}return n},ku=(e,t,n,r)=>{const i=e.length;for(let o=0;o<i;o++){const i=e[o];_u(i,t,n,r)}},_u=(e,t,n,r)=>{"string"!=typeof e?"function"!=typeof e?Iu(e,t,n,r):Cu(e,t,n,r):Su(e,t,n)},Su=(e,t,n)=>{(""===e?t:Eu(t,e)).classGroupId=n},Cu=(e,t,n,r)=>{Tu(e)?ku(e(r),t,n,r):(null===t.validators&&(t.validators=[]),t.validators.push(((e,t)=>({classGroupId:e,validator:t}))(n,e)))},Iu=(e,t,n,r)=>{const i=Object.entries(e),o=i.length;for(let s=0;s<o;s++){const[e,o]=i[s];ku(o,Eu(t,e),n,r)}},Eu=(e,t)=>{let n=e;const r=t.split(fu),i=r.length;for(let o=0;o<i;o++){const e=r[o];let t=n.nextPart.get(e);t||(t=mu(),n.nextPart.set(e,t)),n=t}return n},Tu=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,Au=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null);const i=(i,o)=>{n[i]=o,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];return void 0!==t?t:void 0!==(t=r[e])?(i(e,t),t):void 0},set(e,t){e in n?n[e]=t:i(e,t)}}},Mu=[],zu=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),Ou=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=e=>{const t=[];let n,r=0,i=0,o=0;const s=e.length;for(let d=0;d<s;d++){const s=e[d];if(0===r&&0===i){if(":"===s){t.push(e.slice(o,d)),o=d+1;continue}if("/"===s){n=d;continue}}"["===s?r++:"]"===s?r--:"("===s?i++:")"===s&&i--}const a=0===t.length?e:e.slice(o);let l=a,c=!1;a.endsWith("!")?(l=a.slice(0,-1),c=!0):a.startsWith("!")&&(l=a.slice(1),c=!0);return zu(t,c,l,n&&n>o?n-o:void 0)};if(t){const e=t+":",n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):zu(Mu,!1,t,void 0,!0)}if(n){const e=r;r=t=>n({className:t,parseClassName:e})}return r},Ru=e=>{const t=/* @__PURE__ */new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{const n=[];let r=[];for(let i=0;i<e.length;i++){const o=e[i],s="["===o[0],a=t.has(o);s||a?(r.length>0&&(r.sort(),n.push(...r),r=[]),n.push(o)):r.push(o)}return r.length>0&&(r.sort(),n.push(...r)),n}},Pu=/\s+/,Nu=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Nu(e[r]))&&(n&&(n+=" "),n+=t);return n},Lu=(e,...t)=>{let n,r,i,o;const s=e=>{const t=r(e);if(t)return t;const o=((e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:o}=t,s=[],a=e.trim().split(Pu);let l="";for(let c=a.length-1;c>=0;c-=1){const e=a[c],{isExternal:t,modifiers:d,hasImportantModifier:u,baseClassName:p,maybePostfixModifierPosition:h}=n(e);if(t){l=e+(l.length>0?" "+l:l);continue}let m=!!h,f=r(m?p.substring(0,h):p);if(!f){if(!m){l=e+(l.length>0?" "+l:l);continue}if(f=r(p),!f){l=e+(l.length>0?" "+l:l);continue}m=!1}const g=0===d.length?"":1===d.length?d[0]:o(d).join(":"),y=u?g+"!":g,w=y+f;if(s.indexOf(w)>-1)continue;s.push(w);const b=i(f,m);for(let n=0;n<b.length;++n){const e=b[n];s.push(y+e)}l=e+(l.length>0?" "+l:l)}return l})(e,n);return i(e,o),o};return o=a=>(n=(e=>({cache:Au(e.cacheSize),parseClassName:Ou(e),sortModifiers:Ru(e),...yu(e)}))(t.reduce((e,t)=>t(e),e())),r=n.cache.get,i=n.cache.set,o=s,s(a)),(...e)=>o(((...e)=>{let t,n,r=0,i="";for(;r<e.length;)(t=e[r++])&&(n=Nu(t))&&(i&&(i+=" "),i+=n);return i})(...e))},Du=[],$u=e=>{const t=t=>t[e]||Du;return t.isThemeGetter=!0,t},ju=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Fu=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Uu=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Bu=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Wu=/\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$/,Gu=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Hu=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Zu=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Vu=e=>Uu.test(e),qu=e=>!!e&&!Number.isNaN(Number(e)),Yu=e=>!!e&&Number.isInteger(Number(e)),Ju=e=>e.endsWith("%")&&qu(e.slice(0,-1)),Ku=e=>Bu.test(e),Qu=()=>!0,Xu=e=>Wu.test(e)&&!Gu.test(e),ep=()=>!1,tp=e=>Hu.test(e),np=e=>Zu.test(e),rp=e=>!op(e)&&!hp(e),ip=e=>xp(e,Cp,ep),op=e=>ju.test(e),sp=e=>xp(e,Ip,Xu),ap=e=>xp(e,Ep,qu),lp=e=>xp(e,Ap,Qu),cp=e=>xp(e,Tp,ep),dp=e=>xp(e,_p,ep),up=e=>xp(e,Sp,np),pp=e=>xp(e,Mp,tp),hp=e=>Fu.test(e),mp=e=>kp(e,Ip),fp=e=>kp(e,Tp),gp=e=>kp(e,_p),yp=e=>kp(e,Cp),wp=e=>kp(e,Sp),bp=e=>kp(e,Mp,!0),vp=e=>kp(e,Ap,!0),xp=(e,t,n)=>{const r=ju.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},kp=(e,t,n=!1)=>{const r=Fu.exec(e);return!!r&&(r[1]?t(r[1]):n)},_p=e=>"position"===e||"percentage"===e,Sp=e=>"image"===e||"url"===e,Cp=e=>"length"===e||"size"===e||"bg-size"===e,Ip=e=>"length"===e,Ep=e=>"number"===e,Tp=e=>"family-name"===e,Ap=e=>"number"===e||"weight"===e,Mp=e=>"shadow"===e,zp=/* @__PURE__ */Lu(()=>{const e=$u("color"),t=$u("font"),n=$u("text"),r=$u("font-weight"),i=$u("tracking"),o=$u("leading"),s=$u("breakpoint"),a=$u("container"),l=$u("spacing"),c=$u("radius"),d=$u("shadow"),u=$u("inset-shadow"),p=$u("text-shadow"),h=$u("drop-shadow"),m=$u("blur"),f=$u("perspective"),g=$u("aspect"),y=$u("ease"),w=$u("animate"),b=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",hp,op],v=()=>[hp,op,l],x=()=>[Vu,"full","auto",...v()],k=()=>[Yu,"none","subgrid",hp,op],_=()=>["auto",{span:["full",Yu,hp,op]},Yu,hp,op],S=()=>[Yu,"auto",hp,op],C=()=>["auto","min","max","fr",hp,op],I=()=>["auto",...v()],E=()=>[Vu,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...v()],T=()=>[Vu,"screen","full","dvw","lvw","svw","min","max","fit",...v()],A=()=>[Vu,"screen","full","lh","dvh","lvh","svh","min","max","fit",...v()],M=()=>[e,hp,op],z=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",gp,dp,{position:[hp,op]}],O=()=>["auto","cover","contain",yp,ip,{size:[hp,op]}],R=()=>[Ju,mp,sp],P=()=>["","none","full",c,hp,op],N=()=>["",qu,mp,sp],L=()=>[qu,Ju,gp,dp],D=()=>["","none",m,hp,op],$=()=>["none",qu,hp,op],j=()=>["none",qu,hp,op],F=()=>[qu,hp,op],U=()=>[Vu,"full",...v()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Ku],breakpoint:[Ku],color:[Qu],container:[Ku],"drop-shadow":[Ku],ease:["in","out","in-out"],font:[rp],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Ku],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Ku],shadow:[Ku],spacing:["px",qu],text:[Ku],"text-shadow":[Ku],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Vu,op,hp,g]}],container:["container"],columns:[{columns:[qu,op,hp,a]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"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:b()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:x()}],"inset-x":[{"inset-x":x()}],"inset-y":[{"inset-y":x()}],start:[{"inset-s":x(),start:x()}],end:[{"inset-e":x(),end:x()}],"inset-bs":[{"inset-bs":x()}],"inset-be":[{"inset-be":x()}],top:[{top:x()}],right:[{right:x()}],bottom:[{bottom:x()}],left:[{left:x()}],visibility:["visible","invisible","collapse"],z:[{z:[Yu,"auto",hp,op]}],basis:[{basis:[Vu,"full","auto",a,...v()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[qu,Vu,"auto","initial","none",op]}],grow:[{grow:["",qu,hp,op]}],shrink:[{shrink:["",qu,hp,op]}],order:[{order:[Yu,"first","last","none",hp,op]}],"grid-cols":[{"grid-cols":k()}],"col-start-end":[{col:_()}],"col-start":[{"col-start":S()}],"col-end":[{"col-end":S()}],"grid-rows":[{"grid-rows":k()}],"row-start-end":[{row:_()}],"row-start":[{"row-start":S()}],"row-end":[{"row-end":S()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":C()}],"auto-rows":[{"auto-rows":C()}],gap:[{gap:v()}],"gap-x":[{"gap-x":v()}],"gap-y":[{"gap-y":v()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:v()}],px:[{px:v()}],py:[{py:v()}],ps:[{ps:v()}],pe:[{pe:v()}],pbs:[{pbs:v()}],pbe:[{pbe:v()}],pt:[{pt:v()}],pr:[{pr:v()}],pb:[{pb:v()}],pl:[{pl:v()}],m:[{m:I()}],mx:[{mx:I()}],my:[{my:I()}],ms:[{ms:I()}],me:[{me:I()}],mbs:[{mbs:I()}],mbe:[{mbe:I()}],mt:[{mt:I()}],mr:[{mr:I()}],mb:[{mb:I()}],ml:[{ml:I()}],"space-x":[{"space-x":v()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":v()}],"space-y-reverse":["space-y-reverse"],size:[{size:E()}],"inline-size":[{inline:["auto",...T()]}],"min-inline-size":[{"min-inline":["auto",...T()]}],"max-inline-size":[{"max-inline":["none",...T()]}],"block-size":[{block:["auto",...A()]}],"min-block-size":[{"min-block":["auto",...A()]}],"max-block-size":[{"max-block":["none",...A()]}],w:[{w:[a,"screen",...E()]}],"min-w":[{"min-w":[a,"screen","none",...E()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[s]},...E()]}],h:[{h:["screen","lh",...E()]}],"min-h":[{"min-h":["screen","lh","none",...E()]}],"max-h":[{"max-h":["screen","lh",...E()]}],"font-size":[{text:["base",n,mp,sp]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,vp,lp]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Ju,op]}],"font-family":[{font:[fp,cp,t]}],"font-features":[{"font-features":[op]}],"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,hp,op]}],"line-clamp":[{"line-clamp":[qu,"none",hp,ap]}],leading:[{leading:[o,...v()]}],"list-image":[{"list-image":["none",hp,op]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",hp,op]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:M()}],"text-color":[{text:M()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[qu,"from-font","auto",hp,sp]}],"text-decoration-color":[{decoration:M()}],"underline-offset":[{"underline-offset":[qu,"auto",hp,op]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:v()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",hp,op]}],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",hp,op]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:z()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:O()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Yu,hp,op],radial:["",hp,op],conic:[Yu,hp,op]},wp,up]}],"bg-color":[{bg:M()}],"gradient-from-pos":[{from:R()}],"gradient-via-pos":[{via:R()}],"gradient-to-pos":[{to:R()}],"gradient-from":[{from:M()}],"gradient-via":[{via:M()}],"gradient-to":[{to:M()}],rounded:[{rounded:P()}],"rounded-s":[{"rounded-s":P()}],"rounded-e":[{"rounded-e":P()}],"rounded-t":[{"rounded-t":P()}],"rounded-r":[{"rounded-r":P()}],"rounded-b":[{"rounded-b":P()}],"rounded-l":[{"rounded-l":P()}],"rounded-ss":[{"rounded-ss":P()}],"rounded-se":[{"rounded-se":P()}],"rounded-ee":[{"rounded-ee":P()}],"rounded-es":[{"rounded-es":P()}],"rounded-tl":[{"rounded-tl":P()}],"rounded-tr":[{"rounded-tr":P()}],"rounded-br":[{"rounded-br":P()}],"rounded-bl":[{"rounded-bl":P()}],"border-w":[{border:N()}],"border-w-x":[{"border-x":N()}],"border-w-y":[{"border-y":N()}],"border-w-s":[{"border-s":N()}],"border-w-e":[{"border-e":N()}],"border-w-bs":[{"border-bs":N()}],"border-w-be":[{"border-be":N()}],"border-w-t":[{"border-t":N()}],"border-w-r":[{"border-r":N()}],"border-w-b":[{"border-b":N()}],"border-w-l":[{"border-l":N()}],"divide-x":[{"divide-x":N()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":N()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:M()}],"border-color-x":[{"border-x":M()}],"border-color-y":[{"border-y":M()}],"border-color-s":[{"border-s":M()}],"border-color-e":[{"border-e":M()}],"border-color-bs":[{"border-bs":M()}],"border-color-be":[{"border-be":M()}],"border-color-t":[{"border-t":M()}],"border-color-r":[{"border-r":M()}],"border-color-b":[{"border-b":M()}],"border-color-l":[{"border-l":M()}],"divide-color":[{divide:M()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[qu,hp,op]}],"outline-w":[{outline:["",qu,mp,sp]}],"outline-color":[{outline:M()}],shadow:[{shadow:["","none",d,bp,pp]}],"shadow-color":[{shadow:M()}],"inset-shadow":[{"inset-shadow":["none",u,bp,pp]}],"inset-shadow-color":[{"inset-shadow":M()}],"ring-w":[{ring:N()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:M()}],"ring-offset-w":[{"ring-offset":[qu,sp]}],"ring-offset-color":[{"ring-offset":M()}],"inset-ring-w":[{"inset-ring":N()}],"inset-ring-color":[{"inset-ring":M()}],"text-shadow":[{"text-shadow":["none",p,bp,pp]}],"text-shadow-color":[{"text-shadow":M()}],opacity:[{opacity:[qu,hp,op]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"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":[qu]}],"mask-image-linear-from-pos":[{"mask-linear-from":L()}],"mask-image-linear-to-pos":[{"mask-linear-to":L()}],"mask-image-linear-from-color":[{"mask-linear-from":M()}],"mask-image-linear-to-color":[{"mask-linear-to":M()}],"mask-image-t-from-pos":[{"mask-t-from":L()}],"mask-image-t-to-pos":[{"mask-t-to":L()}],"mask-image-t-from-color":[{"mask-t-from":M()}],"mask-image-t-to-color":[{"mask-t-to":M()}],"mask-image-r-from-pos":[{"mask-r-from":L()}],"mask-image-r-to-pos":[{"mask-r-to":L()}],"mask-image-r-from-color":[{"mask-r-from":M()}],"mask-image-r-to-color":[{"mask-r-to":M()}],"mask-image-b-from-pos":[{"mask-b-from":L()}],"mask-image-b-to-pos":[{"mask-b-to":L()}],"mask-image-b-from-color":[{"mask-b-from":M()}],"mask-image-b-to-color":[{"mask-b-to":M()}],"mask-image-l-from-pos":[{"mask-l-from":L()}],"mask-image-l-to-pos":[{"mask-l-to":L()}],"mask-image-l-from-color":[{"mask-l-from":M()}],"mask-image-l-to-color":[{"mask-l-to":M()}],"mask-image-x-from-pos":[{"mask-x-from":L()}],"mask-image-x-to-pos":[{"mask-x-to":L()}],"mask-image-x-from-color":[{"mask-x-from":M()}],"mask-image-x-to-color":[{"mask-x-to":M()}],"mask-image-y-from-pos":[{"mask-y-from":L()}],"mask-image-y-to-pos":[{"mask-y-to":L()}],"mask-image-y-from-color":[{"mask-y-from":M()}],"mask-image-y-to-color":[{"mask-y-to":M()}],"mask-image-radial":[{"mask-radial":[hp,op]}],"mask-image-radial-from-pos":[{"mask-radial-from":L()}],"mask-image-radial-to-pos":[{"mask-radial-to":L()}],"mask-image-radial-from-color":[{"mask-radial-from":M()}],"mask-image-radial-to-color":[{"mask-radial-to":M()}],"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":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[qu]}],"mask-image-conic-from-pos":[{"mask-conic-from":L()}],"mask-image-conic-to-pos":[{"mask-conic-to":L()}],"mask-image-conic-from-color":[{"mask-conic-from":M()}],"mask-image-conic-to-color":[{"mask-conic-to":M()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:z()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:O()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",hp,op]}],filter:[{filter:["","none",hp,op]}],blur:[{blur:D()}],brightness:[{brightness:[qu,hp,op]}],contrast:[{contrast:[qu,hp,op]}],"drop-shadow":[{"drop-shadow":["","none",h,bp,pp]}],"drop-shadow-color":[{"drop-shadow":M()}],grayscale:[{grayscale:["",qu,hp,op]}],"hue-rotate":[{"hue-rotate":[qu,hp,op]}],invert:[{invert:["",qu,hp,op]}],saturate:[{saturate:[qu,hp,op]}],sepia:[{sepia:["",qu,hp,op]}],"backdrop-filter":[{"backdrop-filter":["","none",hp,op]}],"backdrop-blur":[{"backdrop-blur":D()}],"backdrop-brightness":[{"backdrop-brightness":[qu,hp,op]}],"backdrop-contrast":[{"backdrop-contrast":[qu,hp,op]}],"backdrop-grayscale":[{"backdrop-grayscale":["",qu,hp,op]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[qu,hp,op]}],"backdrop-invert":[{"backdrop-invert":["",qu,hp,op]}],"backdrop-opacity":[{"backdrop-opacity":[qu,hp,op]}],"backdrop-saturate":[{"backdrop-saturate":[qu,hp,op]}],"backdrop-sepia":[{"backdrop-sepia":["",qu,hp,op]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":v()}],"border-spacing-x":[{"border-spacing-x":v()}],"border-spacing-y":[{"border-spacing-y":v()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",hp,op]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[qu,"initial",hp,op]}],ease:[{ease:["linear","initial",y,hp,op]}],delay:[{delay:[qu,hp,op]}],animate:[{animate:["none",w,hp,op]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,hp,op]}],"perspective-origin":[{"perspective-origin":b()}],rotate:[{rotate:$()}],"rotate-x":[{"rotate-x":$()}],"rotate-y":[{"rotate-y":$()}],"rotate-z":[{"rotate-z":$()}],scale:[{scale:j()}],"scale-x":[{"scale-x":j()}],"scale-y":[{"scale-y":j()}],"scale-z":[{"scale-z":j()}],"scale-3d":["scale-3d"],skew:[{skew:F()}],"skew-x":[{"skew-x":F()}],"skew-y":[{"skew-y":F()}],transform:[{transform:[hp,op,"","none","gpu","cpu"]}],"transform-origin":[{origin:b()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:U()}],"translate-x":[{"translate-x":U()}],"translate-y":[{"translate-y":U()}],"translate-z":[{"translate-z":U()}],"translate-none":["translate-none"],accent:[{accent:M()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:M()}],"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",hp,op]}],"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":v()}],"scroll-mx":[{"scroll-mx":v()}],"scroll-my":[{"scroll-my":v()}],"scroll-ms":[{"scroll-ms":v()}],"scroll-me":[{"scroll-me":v()}],"scroll-mbs":[{"scroll-mbs":v()}],"scroll-mbe":[{"scroll-mbe":v()}],"scroll-mt":[{"scroll-mt":v()}],"scroll-mr":[{"scroll-mr":v()}],"scroll-mb":[{"scroll-mb":v()}],"scroll-ml":[{"scroll-ml":v()}],"scroll-p":[{"scroll-p":v()}],"scroll-px":[{"scroll-px":v()}],"scroll-py":[{"scroll-py":v()}],"scroll-ps":[{"scroll-ps":v()}],"scroll-pe":[{"scroll-pe":v()}],"scroll-pbs":[{"scroll-pbs":v()}],"scroll-pbe":[{"scroll-pbe":v()}],"scroll-pt":[{"scroll-pt":v()}],"scroll-pr":[{"scroll-pr":v()}],"scroll-pb":[{"scroll-pb":v()}],"scroll-pl":[{"scroll-pl":v()}],"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",hp,op]}],fill:[{fill:["none",...M()]}],"stroke-w":[{stroke:[qu,mp,sp,ap]}],stroke:[{stroke:["none",...M()]}],"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 Op(...e){return zp(e.filter(Boolean).join(" "))}var Rp={none:"none",card:"0 1px 4px rgba(0,0,0,0.1)",section:"0 2px 8px rgba(0,0,0,0.06)",panel:"0 12px 40px rgba(0,0,0,0.16), 0 4px 12px rgba(0,0,0,0.08)",fab:"0 2px 8px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.04)",button:"0 4px 6px -1px rgba(0,0,0,0.1)"},Pp={none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl",theme:"rounded-[var(--radius)]",pill:"rounded-full",circle:"rounded-full"},Np={default:"text-foreground",muted:"text-foreground-muted",faint:"text-foreground-faint",primary:"text-primary",success:"text-success",warning:"text-warning",inherit:"text-inherit"},Lp={tight:"leading-tight",snug:"leading-snug",normal:"leading-normal",relaxed:"leading-relaxed"},Dp={header:{height:40},tabBar:{height:48},launcher:{width:56,height:56},launcherCore:{width:48,height:48}},$p={info:{background:"#f0f9ff",border:"1px solid #bae6fd",titleColor:"#0c4a6e",bodyColor:"#0369a1",closeColor:"#7dd3fc",closeHoverColor:"#38bdf8",actionBackground:"#e0f2fe"},error:{background:"#fef2f2",border:"1px solid #fecaca",titleColor:"#b91c1c",bodyColor:"#b91c1c",closeColor:"#f87171",closeHoverColor:"#ef4444",actionBackground:"#fee2e2"}};function jp(e){if(e&&"none"!==e)return{boxShadow:Rp[e]}}var Fp={none:"0","2xs":"1",xs:"0.5",sm:"1.5",md:"2",lg:"3",xl:"4","2xl":"6"},Up=new Set(["padding","paddingX","paddingY","paddingTop","paddingBottom","margin","marginX","marginY","marginTop","marginBottom","gap","align","justify","wrap","grow","shrink","position","inset","overflow","overflowY","width","height","minWidth","minHeight","border","rounded","shadow","cursor","opacity","animate","hidden","as","style"]);function Bp(e){const t=[];if(void 0!==e.padding&&t.push(`p-${Fp[e.padding]}`),void 0!==e.paddingX&&t.push(`px-${Fp[e.paddingX]}`),void 0!==e.paddingY&&t.push(`py-${Fp[e.paddingY]}`),void 0!==e.paddingTop&&t.push(`pt-${Fp[e.paddingTop]}`),void 0!==e.paddingBottom&&t.push(`pb-${Fp[e.paddingBottom]}`),void 0!==e.margin&&t.push(`m-${Fp[e.margin]}`),void 0!==e.marginX&&t.push(`mx-${Fp[e.marginX]}`),void 0!==e.marginY&&t.push(`my-${Fp[e.marginY]}`),void 0!==e.marginTop&&t.push(`mt-${Fp[e.marginTop]}`),void 0!==e.marginBottom&&t.push(`mb-${Fp[e.marginBottom]}`),void 0!==e.gap&&t.push(`gap-${Fp[e.gap]}`),void 0!==e.align&&t.push(`items-${e.align}`),void 0!==e.justify&&t.push(`justify-${e.justify}`),!0===e.wrap&&t.push("flex-wrap"),!0===e.grow&&t.push("flex-1"),!1===e.shrink&&t.push("flex-shrink-0"),void 0!==e.position&&t.push(e.position),void 0!==e.inset&&t.push("0"===e.inset?"inset-0":`inset-${Fp[e.inset]}`),void 0!==e.overflow&&t.push(`overflow-${e.overflow}`),void 0!==e.overflowY&&t.push(`overflow-y-${e.overflowY}`),void 0!==e.width&&t.push(`w-${e.width}`),void 0!==e.height&&t.push(`h-${e.height}`),"0"===e.minWidth&&t.push("min-w-0"),"0"===e.minHeight&&t.push("min-h-0"),void 0!==e.border&&!1!==e.border)if(!0===e.border)t.push("border","border-border");else{const n={top:"t",bottom:"b",left:"l",right:"r"}[e.border];t.push(`border-${n}`,"border-border")}if(void 0!==e.rounded&&!1!==e.rounded)if(!0===e.rounded)t.push(Pp.theme);else if("full"===e.rounded)t.push(Pp.pill);else{const n="lg"===e.rounded?"lg":e.rounded;t.push(Pp[n])}return!0!==e.shadow&&"theme"!==e.shadow||t.push("shadow-[var(--shadow)]"),void 0!==e.cursor&&t.push(`cursor-${e.cursor}`),void 0!==e.opacity&&t.push(`opacity-${e.opacity}`),void 0!==e.animate&&"none"!==e.animate&&t.push({spin:"animate-spin",ping:"animate-ping",pulse:"animate-pulse",fadeIn:"animate-fade-in"}[e.animate]),!0===e.hidden&&t.push("hidden"),t.join(" ")}function Wp(e){const t={};for(const n in e)Up.has(n)||(t[n]=e[n]);return t}var Gp={default:"",card:"bg-card text-card-foreground",transparent:"bg-transparent",muted:"bg-muted",secondary:"bg-secondary-bg",primary:"bg-primary text-primary-foreground"},Hp={none:"",compact:"px-2 py-1.5",card:"px-3 py-2",dialog:"p-4",toast:"py-2 pl-2 pr-3"},Zp=i(function(e,t){const{as:n="div",background:r="default",className:i,elevation:o,paddingPreset:s="none",radius:a,style:l,...c}=e,d=Bp(e);/* @__PURE__ */
8
8
  return f(n,{...Wp(c),ref:t,className:Op(Gp[r],Hp[s],a&&Bp({rounded:a}),d,i),style:{...jp(o),...l}})}),Vp="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%20viewBox='0%200%20361%20360'%3e%3c!--%20Generator:%20Adobe%20Illustrator%2030.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%202.1.1%20Build%20136)%20--%3e%3cdefs%3e%3cstyle%3e%20.st0%20{%20display:%20none;%20fill:%20none;%20stroke:%20%23cdc9c2;%20stroke-width:%201.3px;%20}%20.st1%20{%20fill:%20%23fff;%20}%20.st2,%20.st3%20{%20fill:%20%237cffa6;%20}%20.st3%20{%20stroke:%20%237cffa6;%20stroke-width:%20.38px;%20}%20.st4%20{%20fill:%20%23101828;%20}%20%3c/style%3e%3c/defs%3e%3crect%20class='st4'%20x='.5'%20width='360'%20height='360'/%3e%3cpath%20class='st2'%20d='M83.37,209.58c15.35,0,27.8-12.45,27.8-27.8s-12.44-27.79-27.8-27.79-27.8,12.44-27.8,27.79,12.44,27.8,27.8,27.8Z'/%3e%3cpath%20class='st1'%20d='M85.86,68.28l152.45,223.44h67.29l-70.62-113.77,68.13-109.67h-67.29l-41.12,65.31-41.54-65.31h-67.29Z'/%3e%3cpath%20class='st3'%20d='M176.61,249.83l-35.08-51-57.82,92.71h66.85l26.05-41.7Z'/%3e%3crect%20class='st0'%20x='1.25'%20y='.65'%20width='358.7'%20height='358.7'%20rx='43.35'%20ry='43.35'/%3e%3c/svg%3e",qp={sm:"w-5 h-5",md:"w-8 h-8",lg:"w-12 h-12"},Yp=i(function({src:e,alt:t,elevation:n,fit:r="contain",size:i="md",rounded:o,className:s,style:a,...l},c){const d="string"==typeof i,u=d?qp[i]:void 0,p=d?a:{width:i,height:i,...a};/* @__PURE__ */
9
9
  return f("img",{...l,ref:c,alt:t,className:Op("flex-shrink-0","contain"===r?"object-contain":"object-cover",u,!0===o||"theme"===o?Pp.theme:"full"===o?Pp.pill:o?Pp[o]:void 0,s),src:e,style:{...jp(n),...p}})});function Jp(e){return"undefined"!=typeof window&&(e instanceof HTMLElement||e instanceof function(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}(e).HTMLElement)}var Kp={};function Qp(t,n){const r=e.useRef(Kp);return r.current===Kp&&(r.current=t(n)),r}var Xp=e[`useInsertionEffect${Math.random().toFixed(1)}`.slice(0,-3)],eh=Xp&&Xp!==e.useLayoutEffect?Xp:e=>e();function th(e){const t=Qp(nh).current;return t.next=e,eh(t.effect),t.trampoline}function nh(){const e={next:void 0,callback:rh,trampoline:(...t)=>e.callback?.(...t),effect:()=>{e.callback=e.next}};return e}function rh(){}var ih="undefined"!=typeof document?e.useLayoutEffect:()=>{};function oh(e,t){return e&&!t?e:!e&&t?t:e||t?{...e,...t}:void 0}var sh={};function ah(e,t,n,r,i){if(!(n||r||i||e))return lh(t);let o=lh(e);return t&&(o=ch(o,t)),n&&(o=ch(o,n)),r&&(o=ch(o,r)),i&&(o=ch(o,i)),o}function lh(e){return uh(e)?{...ph(e,sh)}:function(e){const t={...e};for(const n in t){const e=t[n];dh(n,e)&&(t[n]=mh(e))}return t}(e)}function ch(e,t){return uh(t)?ph(t,e):function(e,t){if(!t)return e;for(const n in t){const r=t[n];switch(n){case"style":e[n]=oh(e.style,r);break;case"className":e[n]=gh(e.className,r);break;default:dh(n,r)?e[n]=hh(e[n],r):e[n]=r}}return e}(e,t)}function dh(e,t){const n=e.charCodeAt(0),r=e.charCodeAt(1),i=e.charCodeAt(2);return 111===n&&110===r&&i>=65&&i<=90&&("function"==typeof t||void 0===t)}function uh(e){return"function"==typeof e}function ph(e,t){return uh(e)?e(t):e??sh}function hh(e,t){return t?e?(...n)=>{const r=n[0];if(yh(r)){const i=r;fh(i);const o=t(...n);return i.baseUIHandlerPrevented||e?.(...n),o}const i=t(...n);return e?.(...n),i}:mh(t):e}function mh(e){return e?(...t)=>{const n=t[0];return yh(n)&&fh(n),e(...t)}:e}function fh(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function gh(e,t){return t?e?t+" "+e:t:e}function yh(e){return null!=e&&"object"==typeof e&&"nativeEvent"in e}var wh,bh,vh=(wh="https://base-ui.com/production-error",bh="Base UI",function(e,...t){const n=new URL(wh);return n.searchParams.set("code",e.toString()),t.forEach(e=>n.searchParams.append("args[]",e)),`${bh} error #${e}; visit ${n} for the full message.`}),xh=/* @__PURE__ */e.createContext(void 0);function kh(t={}){const{disabled:n=!1,focusableWhenDisabled:r,tabIndex:i=0,native:o=!0,composite:s}=t,a=e.useRef(null),l=function(t=!1){const n=e.useContext(xh);if(void 0===n&&!t)throw new Error(vh(16));return n}(!0),c=s??void 0!==l,{props:d}=function(t){const{focusableWhenDisabled:n,disabled:r,composite:i=!1,tabIndex:o=0,isNativeButton:s}=t,a=i&&!1!==n,l=i&&!1===n;return{props:e.useMemo(()=>{const e={onKeyDown(e){r&&n&&"Tab"!==e.key&&e.preventDefault()}};return i||(e.tabIndex=o,!s&&r&&(e.tabIndex=n?o:-1)),(s&&(n||a)||!s&&r)&&(e["aria-disabled"]=r),!s||n&&!l||(e.disabled=r),e},[i,r,n,a,l,s,o])}}({focusableWhenDisabled:r,disabled:n,composite:c,tabIndex:i,isNativeButton:o}),u=e.useCallback(()=>{const e=a.current;_h(e)&&c&&n&&void 0===d.disabled&&e.disabled&&(e.disabled=!1)},[n,d.disabled,c]);return ih(u,[u]),{getButtonProps:e.useCallback((e={})=>{const{onClick:t,onMouseDown:r,onKeyUp:i,onKeyDown:s,onPointerDown:a,...l}=e;return ah({type:o?"button":void 0,onClick(e){n?e.preventDefault():t?.(e)},onMouseDown(e){n||r?.(e)},onKeyDown(e){if(n)return;if(fh(e),s?.(e),e.baseUIHandlerPrevented)return;const r=e.target===e.currentTarget,i=e.currentTarget,a=_h(i),l=!o&&(d=i,Boolean("A"===d?.tagName&&d?.href));var d;const u=r&&(o?a:!l),p="Enter"===e.key,h=" "===e.key,m=i.getAttribute("role"),f=m?.startsWith("menuitem")||"option"===m||"gridcell"===m;if(r&&c&&h){if(e.defaultPrevented&&f)return;return e.preventDefault(),void(l||o&&a?(i.click(),e.preventBaseUIHandler()):u&&(t?.(e),e.preventBaseUIHandler()))}u&&(o||!h&&!p||e.preventDefault(),!o&&p&&t?.(e))},onKeyUp(e){n||(fh(e),i?.(e),e.target===e.currentTarget&&o&&c&&_h(e.currentTarget)&&" "===e.key?e.preventDefault():e.baseUIHandlerPrevented||e.target!==e.currentTarget||o||c||" "!==e.key||t?.(e))},onPointerDown(e){n?e.preventDefault():a?.(e)}},o?void 0:{role:"button"},d,l)},[n,d,c,o]),buttonRef:th(e=>{a.current=e,u()})}}function _h(e){return Jp(e)&&"BUTTON"===e.tagName}function Sh(e,t,n,r){const i=Qp(Ch).current;return function(e,t,n,r,i){return e.refs[0]!==t||e.refs[1]!==n||e.refs[2]!==r||e.refs[3]!==i}(i,e,t,n,r)&&Ih(i,[e,t,n,r]),i.callback}function Ch(){return{callback:null,cleanup:null,refs:[]}}function Ih(e,t){e.refs=t,t.every(e=>null==e)?e.callback=null:e.callback=n=>{if(e.cleanup&&(e.cleanup(),e.cleanup=null),null!=n){const r=Array(t.length).fill(null);for(let e=0;e<t.length;e+=1){const i=t[e];if(null!=i)switch(typeof i){case"function":{const t=i(n);"function"==typeof t&&(r[e]=t);break}case"object":i.current=n}}e.cleanup=()=>{for(let e=0;e<t.length;e+=1){const n=t[e];if(null!=n)switch(typeof n){case"function":{const t=r[e];"function"==typeof t?t():n(null);break}case"object":n.current=null}}}}}}var Eh=parseInt(e.version,10);function Th(t){if(!/* @__PURE__ */e.isValidElement(t))return null;const n=t,r=n.props;return(Eh>=19?r?.ref:n.ref)??null}Object.freeze([]);var Ah=Object.freeze({});function Mh(t,n,i={}){const o=n.render,s=function(e,t={}){const{className:n,style:r,render:i}=e,{state:o=Ah,ref:s,props:a,stateAttributesMapping:l,enabled:c=!0}=t,d=c?function(e,t){return"function"==typeof e?e(t):e}(n,o):void 0,u=c?function(e,t){return"function"==typeof e?e(t):e}(r,o):void 0,p=c?function(e,t){const n={};for(const r in e){const i=e[r];if(t?.hasOwnProperty(r)){const e=t[r](i);null!=e&&Object.assign(n,e);continue}!0===i?n[`data-${r.toLowerCase()}`]="":i&&(n[`data-${r.toLowerCase()}`]=i.toString())}return n}(o,l):Ah,h=c&&a?function(e){return Array.isArray(e)?function(e){if(0===e.length)return sh;if(1===e.length)return lh(e[0]);let t=lh(e[0]);for(let n=1;n<e.length;n+=1)t=ch(t,e[n]);return t}(e):ah(void 0,e)}(a):void 0,m=c?oh(p,h)??{}:Ah;"undefined"!=typeof document&&(c?Array.isArray(s)?m.ref=function(e){const t=Qp(Ch).current;return function(e,t){return e.refs.length!==t.length||e.refs.some((e,n)=>e!==t[n])}(t,e)&&Ih(t,e),t.callback}([m.ref,Th(i),...s]):m.ref=Sh(m.ref,Th(i),s):Sh(null,null));if(!c)return Ah;void 0!==d&&(m.className=gh(m.className,d));void 0!==u&&(m.style=oh(m.style,u));return m}(n,i);return!1===i.enabled?null:function(t,n,i,o){if(n){if("function"==typeof n)return n(i,o);const t=ah(i,n.props);t.ref=i.ref;let r=n;return r?.$$typeof===zh&&(r=e.Children.toArray(n)[0]),/* @__PURE__ */e.cloneElement(r,t)}if(t&&"string"==typeof t)return function(t,n){return"button"===t?/* @__PURE__ */r("button",{type:"button",...n,key:n.key}):"img"===t?/* @__PURE__ */r("img",{alt:"",...n,key:n.key}):/* @__PURE__ */e.createElement(t,n)}(t,i);throw new Error(vh(8))}(t,o,s,i.state??Ah)}var zh=Symbol.for("react.lazy");var Oh=/* @__PURE__ */e.forwardRef(function(e,t){const{render:n,className:r,disabled:i=!1,focusableWhenDisabled:o=!1,nativeButton:s=!0,style:a,...l}=e,{getButtonProps:c,buttonRef:d}=kh({disabled:i,focusableWhenDisabled:o,native:s});return Mh("button",e,{state:{disabled:i},ref:[t,d],props:[l,c]})}),Rh={primary:"bg-primary text-primary-foreground border-transparent hover:bg-primary/90",secondary:"bg-secondary text-secondary-foreground border-transparent hover:bg-secondary/80",ghost:"bg-transparent text-foreground border-border hover:bg-muted",bare:"bg-transparent text-inherit border-transparent hover:bg-transparent p-0 min-h-0",chip:"bg-secondary-bg text-foreground border-transparent hover:bg-primary hover:text-primary-foreground hover:border-primary",tab:"bg-transparent text-foreground-muted border-transparent hover:text-foreground hover:bg-transparent p-0 min-h-0",inline:"bg-transparent text-primary border-transparent hover:bg-transparent hover:text-primary p-0 min-h-0",toolbar:"bg-transparent text-foreground border-transparent opacity-60 hover:opacity-100"},Ph={sm:"px-2 py-1 text-xs min-h-7",md:"px-4 py-2 text-sm min-h-9"},Nh={default:"rounded-lg",theme:Pp.theme,pill:Pp.pill},Lh=i(function({active:e=!1,className:t,disabled:n,elevation:r,full:i,loading:o=!1,shape:s="default",size:a="md",stacked:l=!1,type:c="button",variant:d="primary",style:u,...p},h){const m=!["bare","inline","tab","toolbar"].includes(d),g=n||o;/* @__PURE__ */
10
- return f(Oh,{...p,ref:h,className:Op("inline-flex items-center justify-center gap-2 font-medium cursor-pointer transition-all focus-visible:outline-2 focus-visible:outline-ring focus-visible:outline-offset-2",m&&"border",Nh[s],Rh[d],"bare"!==d&&"inline"!==d&&"tab"!==d&&Ph[a],l&&"flex-col gap-0.5","tab"===d&&"h-full min-w-0 flex-1",e&&"tab"===d&&"text-primary font-semibold",g&&"opacity-50 cursor-not-allowed pointer-events-none",o&&"opacity-70 cursor-wait pointer-events-none",i&&"w-full",t),"aria-busy":o?"true":void 0,"data-disabled":n?"true":"false","data-loading":o?"true":"false","data-size":a,"data-variant":d,disabled:g,style:{...jp(r),...u},type:c})}),Dh=i(function(e,t){const{as:n="div",background:r="default",direction:i,className:o,elevation:s,paddingPreset:a="none",radius:l,style:c,...d}=e,u=Bp(e);/* @__PURE__ */
11
- return f(n,{...Wp(d),ref:t,className:Op("flex","column"===i&&"flex-col",Gp[r],Hp[a],l&&Bp({rounded:l}),u,o),style:{...jp(s),...c}})}),$h={spinner:{viewBox:"0 0 512 512",paths:[{d:"M304 48c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48 48 21.49 48 48zm-48 368c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zm208-208c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zM96 256c0-26.51-21.49-48-48-48S0 229.49 0 256s21.49 48 48 48 48-21.49 48-48zm12.922 99.078c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.491-48-48-48zm294.156 0c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.49-48-48-48zM108.922 60.922c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.491-48-48-48z",fill:"currentColor"}]},checkCircle:{viewBox:"0 0 512 512",paths:[{d:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z",fill:"currentColor"}]},circle:{viewBox:"0 0 512 512",paths:[{d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8z",fill:"currentColor"}]},exclamationCircle:{viewBox:"0 0 512 512",paths:[{d:"M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z",fill:"currentColor"}]},timesCircle:{viewBox:"0 0 512 512",paths:[{d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z",fill:"currentColor"}]},ban:{viewBox:"0 0 512 512",paths:[{d:"M256 8C119.034 8 8 119.033 8 256s111.034 248 248 248 248-111.034 248-248S392.967 8 256 8zm130.108 117.892c65.448 65.448 70 165.481 20.677 235.637L150.47 105.216c70.204-49.356 170.226-44.735 235.638 20.676zM125.892 386.108c-65.448-65.448-70-165.481-20.677-235.637L361.53 406.784c-70.203 49.356-170.226 44.736-235.638-20.676z",fill:"currentColor"}]},arrowUp:{viewBox:"0 0 448 512",paths:[{d:"M34.9 289.5l-22.2-22.2c-9.4-9.4-9.4-24.6 0-33.9L207 39c9.4-9.4 24.6-9.4 33.9 0l194.3 194.3c9.4 9.4 9.4 24.6 0 33.9L413 289.4c-9.5 9.5-25 9.3-34.3-.4L264 168.6V456c0 13.3-10.7 24-24 24h-32c-13.3 0-24-10.7-24-24V168.6L69.2 289.1c-9.3 9.8-24.8 10-34.3.4z",fill:"currentColor"}]},arrowDown:{viewBox:"0 0 448 512",paths:[{d:"M413.1 222.5l22.2 22.2c9.4 9.4 9.4 24.6 0 33.9L241 473c-9.4 9.4-24.6 9.4-33.9 0L12.7 278.6c-9.4-9.4-9.4-24.6 0-33.9l22.2-22.2c9.5-9.5 25-9.3 34.3.4L184 343.4V56c0-13.3 10.7-24 24-24h32c13.3 0 24 10.7 24 24v287.4l114.8-120.5c9.3-9.8 24.8-10 34.3-.4z",fill:"currentColor"}]},info:{viewBox:"0 0 24 24",paths:[{d:"M 12 2 A 10 10 0 1 1 11.9999 2 Z",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},{d:"M12 16L12 12",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},{d:"M12 8L12.01 8",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}]},trash:{viewBox:"0 0 24 24",paths:[{d:"M3 6L5 6L21 6",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},{d:"M10 11L10 17",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},{d:"M14 11L14 17",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}]},x:{viewBox:"0 0 24 24",paths:[{d:"M18 6L6 18",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},{d:"M6 6L18 18",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}]},chatBubble:{viewBox:"0 0 512 512",paths:[{d:"M87.48 380c1.2-4.38-1.43-10.47-3.94-14.86a42.63 42.63 0 0 0-2.54-3.8 199.81 199.81 0 0 1-33-110C47.64 139.09 140.72 48 255.82 48 356.2 48 440 117.54 459.57 209.85a199 199 0 0 1 4.43 41.64c0 112.41-89.49 204.93-204.59 204.93-18.31 0-43-4.6-56.47-8.37s-26.92-8.77-30.39-10.11a31.14 31.14 0 0 0-11.13-2.07 30.7 30.7 0 0 0-12.08 2.43L81.5 462.78a15.92 15.92 0 0 1-4.66 1.22 9.61 9.61 0 0 1-9.58-9.74 15.85 15.85 0 0 1 .6-3.29z",fill:"none",stroke:"currentColor",strokeWidth:32,strokeLinecap:"round"},{d:"M160 256 m-32 0 a32 32 0 1 1 64 0 a32 32 0 1 1 -64 0",fill:"currentColor"},{d:"M256 256 m-32 0 a32 32 0 1 1 64 0 a32 32 0 1 1 -64 0",fill:"currentColor"},{d:"M352 256 m-32 0 a32 32 0 1 1 64 0 a32 32 0 1 1 -64 0",fill:"currentColor"}]},stop:{viewBox:"0 0 512 512",paths:[{d:"M392 432H120a40 40 0 0 1-40-40V120a40 40 0 0 1 40-40h272a40 40 0 0 1 40 40v272a40 40 0 0 1-40 40z",fill:"currentColor"}]},mousePointerClick:{viewBox:"0 0 24 24",paths:[{d:"M14 4.1 12 6",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},{d:"m5.1 8-2.9-.8",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},{d:"m6 12-1.9 2",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},{d:"M7.2 2.2 8 5.1",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},{d:"M9.037 9.69a.498.498 0 0 1 .653-.653l11 4.5a.5.5 0 0 1-.074.949l-4.349 1.041a1 1 0 0 0-.74.739l-1.04 4.35a.5.5 0 0 1-.95.074z",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}]},scroll:{viewBox:"0 0 24 24",paths:[{d:"M19 17V5a2 2 0 0 0-2-2H4",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},{d:"M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}]},ticktick:{viewBox:"0 0 24 24",paths:[{d:"M12 0C5.383 0 0 5.383 0 12s5.383 12 12 12 12-5.383 12-12h-2.7c0 5.128-4.172 9.3-9.3 9.3-5.128 0-9.3-4.172-9.3-9.3 0-5.128 4.172-9.3 9.3-9.3V0Zm7.4 2.583-7.505 9.371L8.388 9.08l-2.002 2.436 4.741 3.888a1.573 1.573 0 0 0 2.231-.233l8.504-10.617L19.4 2.583Z",fill:"currentColor"}]},arrowRight:{viewBox:"0 0 24 24",paths:[{d:"M13.5 4.5 21 12m0 0-7.5 7.5M21 12H3",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}]},documentText:{viewBox:"0 0 24 24",paths:[{d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}]},globe:{viewBox:"0 0 24 24",paths:[{d:"M12 21a9.004 9.004 0 0 0 8.716-6.747M12 21a9.004 9.004 0 0 1-8.716-6.747M12 21c2.485 0 4.5-4.03 4.5-9S14.485 3 12 3m0 18c-2.485 0-4.5-4.03-4.5-9S9.515 3 12 3m0 0a8.997 8.997 0 0 1 7.843 4.582M12 3a8.997 8.997 0 0 0-7.843 4.582m15.686 0A11.953 11.953 0 0 1 12 10.5c-2.998 0-5.74-1.1-7.843-2.918m15.686 0A8.959 8.959 0 0 1 21 12c0 .778-.099 1.533-.284 2.253",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}]},magnifyingGlass:{viewBox:"0 0 24 24",paths:[{d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}]},xMark:{viewBox:"0 0 24 24",paths:[{d:"M6 18 18 6M6 6l12 12",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}]},keyboard:{viewBox:"0 0 24 24",paths:[{d:"M20 7v10H4V7h16m0-2H4c-1.1 0-1.99.9-1.99 2L2 17c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm-9 3h2v2h-2zm0 3h2v2h-2zM8 8h2v2H8zm0 3h2v2H8zm-3 0h2v2H5zm0-3h2v2H5zm3 6h8v2H8zm6-3h2v2h-2zm0-3h2v2h-2zm3 3h2v2h-2zm0-3h2v2h-2z",fill:"currentColor"}]},selectAll:{viewBox:"0 0 24 24",paths:[{d:"M3 5h2V3c-1.1 0-2 .9-2 2zm0 8h2v-2H3v2zm4 8h2v-2H7v2zM3 9h2V7H3v2zm10-6h-2v2h2V3zm6 0v2h2c0-1.1-.9-2-2-2zM5 21v-2H3c0 1.1.9 2 2 2zm-2-4h2v-2H3v2zM9 3H7v2h2V3zm2 18h2v-2h-2v2zm8-8h2v-2h-2v2zm0 8c1.1 0 2-.9 2-2h-2v2zm0-12h2V7h-2v2zm0 8h2v-2h-2v2zm-4 4h2v-2h-2v2zm0-16h2V3h-2v2zM7 17h10V7H7v10zm2-8h6v6H9V9z",fill:"currentColor"}]},tablerArrowDown:{viewBox:"0 0 24 24",paths:[{d:"M12 5l0 14",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},{d:"M18 13l-6 6",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},{d:"M6 13l6 6",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}]},fileUpload:{viewBox:"0 0 24 24",paths:[{d:"M14 3v4a1 1 0 0 0 1 1h4",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},{d:"M12 11v6",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},{d:"M9.5 13.5l2.5 -2.5l2.5 2.5",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}]},home:{viewBox:"0 0 24 24",paths:[{d:"M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}]},chat:{viewBox:"0 0 24 24",paths:[{d:"M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}]},help:{viewBox:"0 0 24 24",paths:[{d:"M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}]},send:{viewBox:"0 0 24 24",paths:[{d:"M5 12h14m-7-7l7 7-7 7",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}]},closeSmall:{viewBox:"0 0 12 12",paths:[{d:"M9 3L3 9M3 3l6 6",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}]},close:{viewBox:"0 0 20 20",paths:[{d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}]},chevronDown:{viewBox:"0 0 24 24",paths:[{d:"M19 9l-7 7-7-7",fill:"none",stroke:"currentColor",strokeWidth:2.5,strokeLinecap:"round",strokeLinejoin:"round"}]},screenShare:{viewBox:"0 0 24 24",paths:[{d:"M15 10l4.553-2.276A1 1 0 0121 8.618v6.764a1 1 0 01-1.447.894L15 14M5 18h8a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v8a2 2 0 002 2z",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}]},moreVertical:{viewBox:"0 0 20 20",paths:[{d:"M10 6a2 2 0 110-4 2 2 0 010 4zM10 12a2 2 0 110-4 2 2 0 010 4zM10 18a2 2 0 110-4 2 2 0 010 4z",fill:"currentColor"}]},chevronRight:{viewBox:"0 0 24 24",paths:[{d:"M9 5l7 7-7 7",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}]},alertCircle:{viewBox:"0 0 24 24",paths:[{d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}]}},jh=i(function({name:e,size:t=16,className:n,...r},i){const o=$h[e];return o?/* @__PURE__ */f("svg",{...r,ref:i,"aria-hidden":"true",className:Op("inline-block flex-shrink-0",n),fill:"none",height:t,viewBox:o.viewBox,width:t,xmlns:"http://www.w3.org/2000/svg",children:o.paths.map((e,t)=>/* @__PURE__ */f("path",{clipRule:e.clipRule,d:e.d,fill:e.fill??(e.stroke?"none":"currentColor"),fillRule:e.fillRule,stroke:e.stroke,strokeLinecap:e.strokeLinecap,strokeLinejoin:e.strokeLinejoin,strokeMiterlimit:e.strokeMiterlimit,strokeWidth:e.strokeWidth},t))}):null}),Fh={primary:"bg-primary text-primary-foreground hover:bg-primary-hover",secondary:"bg-secondary-bg text-foreground hover:bg-secondary-hover",ghost:"bg-transparent text-foreground opacity-60 hover:opacity-100",toolbar:"bg-transparent text-foreground opacity-60 hover:opacity-100"},Uh={xs:"w-5 h-5 min-w-5",sm:"w-7 h-7 min-w-7"},Bh={circle:Pp.circle,theme:Pp.theme},Wh=i(function({variant:e="ghost",size:t="sm",shape:n="circle",tone:r,label:i,disabled:o,elevation:s,className:a,children:l,style:c,...d},u){/* @__PURE__ */
10
+ return f(Oh,{...p,ref:h,className:Op("inline-flex items-center justify-center gap-2 font-medium cursor-pointer transition-all focus-visible:outline-2 focus-visible:outline-ring focus-visible:outline-offset-2",m&&"border",Nh[s],Rh[d],"bare"!==d&&"inline"!==d&&"tab"!==d&&Ph[a],l&&"flex-col gap-0.5","tab"===d&&"h-full min-w-0 flex-1",e&&"tab"===d&&"text-primary font-semibold",g&&"opacity-50 cursor-not-allowed pointer-events-none",o&&"opacity-70 cursor-wait pointer-events-none",i&&"w-full",t),"aria-busy":o?"true":void 0,"data-disabled":n?"true":"false","data-loading":o?"true":"false","data-size":a,"data-variant":d,disabled:g,style:{...jp(r),...u},type:c})}),Dh=i(function(e,t){const{className:n,direction:r,...i}=e;/* @__PURE__ */
11
+ return f(Zp,{...i,ref:t,className:Op("flex","column"===r&&"flex-col",n)})}),$h={spinner:{viewBox:"0 0 512 512",paths:[{d:"M304 48c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48 48 21.49 48 48zm-48 368c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zm208-208c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zM96 256c0-26.51-21.49-48-48-48S0 229.49 0 256s21.49 48 48 48 48-21.49 48-48zm12.922 99.078c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.491-48-48-48zm294.156 0c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.49-48-48-48zM108.922 60.922c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.491-48-48-48z",fill:"currentColor"}]},checkCircle:{viewBox:"0 0 512 512",paths:[{d:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z",fill:"currentColor"}]},circle:{viewBox:"0 0 512 512",paths:[{d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8z",fill:"currentColor"}]},exclamationCircle:{viewBox:"0 0 512 512",paths:[{d:"M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z",fill:"currentColor"}]},timesCircle:{viewBox:"0 0 512 512",paths:[{d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z",fill:"currentColor"}]},ban:{viewBox:"0 0 512 512",paths:[{d:"M256 8C119.034 8 8 119.033 8 256s111.034 248 248 248 248-111.034 248-248S392.967 8 256 8zm130.108 117.892c65.448 65.448 70 165.481 20.677 235.637L150.47 105.216c70.204-49.356 170.226-44.735 235.638 20.676zM125.892 386.108c-65.448-65.448-70-165.481-20.677-235.637L361.53 406.784c-70.203 49.356-170.226 44.736-235.638-20.676z",fill:"currentColor"}]},arrowUp:{viewBox:"0 0 448 512",paths:[{d:"M34.9 289.5l-22.2-22.2c-9.4-9.4-9.4-24.6 0-33.9L207 39c9.4-9.4 24.6-9.4 33.9 0l194.3 194.3c9.4 9.4 9.4 24.6 0 33.9L413 289.4c-9.5 9.5-25 9.3-34.3-.4L264 168.6V456c0 13.3-10.7 24-24 24h-32c-13.3 0-24-10.7-24-24V168.6L69.2 289.1c-9.3 9.8-24.8 10-34.3.4z",fill:"currentColor"}]},arrowDown:{viewBox:"0 0 448 512",paths:[{d:"M413.1 222.5l22.2 22.2c9.4 9.4 9.4 24.6 0 33.9L241 473c-9.4 9.4-24.6 9.4-33.9 0L12.7 278.6c-9.4-9.4-9.4-24.6 0-33.9l22.2-22.2c9.5-9.5 25-9.3 34.3.4L184 343.4V56c0-13.3 10.7-24 24-24h32c13.3 0 24 10.7 24 24v287.4l114.8-120.5c9.3-9.8 24.8-10 34.3-.4z",fill:"currentColor"}]},info:{viewBox:"0 0 24 24",paths:[{d:"M 12 2 A 10 10 0 1 1 11.9999 2 Z",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},{d:"M12 16L12 12",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},{d:"M12 8L12.01 8",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}]},trash:{viewBox:"0 0 24 24",paths:[{d:"M3 6L5 6L21 6",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},{d:"M10 11L10 17",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},{d:"M14 11L14 17",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}]},x:{viewBox:"0 0 24 24",paths:[{d:"M18 6L6 18",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},{d:"M6 6L18 18",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}]},chatBubble:{viewBox:"0 0 512 512",paths:[{d:"M87.48 380c1.2-4.38-1.43-10.47-3.94-14.86a42.63 42.63 0 0 0-2.54-3.8 199.81 199.81 0 0 1-33-110C47.64 139.09 140.72 48 255.82 48 356.2 48 440 117.54 459.57 209.85a199 199 0 0 1 4.43 41.64c0 112.41-89.49 204.93-204.59 204.93-18.31 0-43-4.6-56.47-8.37s-26.92-8.77-30.39-10.11a31.14 31.14 0 0 0-11.13-2.07 30.7 30.7 0 0 0-12.08 2.43L81.5 462.78a15.92 15.92 0 0 1-4.66 1.22 9.61 9.61 0 0 1-9.58-9.74 15.85 15.85 0 0 1 .6-3.29z",fill:"none",stroke:"currentColor",strokeWidth:32,strokeLinecap:"round"},{d:"M160 256 m-32 0 a32 32 0 1 1 64 0 a32 32 0 1 1 -64 0",fill:"currentColor"},{d:"M256 256 m-32 0 a32 32 0 1 1 64 0 a32 32 0 1 1 -64 0",fill:"currentColor"},{d:"M352 256 m-32 0 a32 32 0 1 1 64 0 a32 32 0 1 1 -64 0",fill:"currentColor"}]},stop:{viewBox:"0 0 512 512",paths:[{d:"M392 432H120a40 40 0 0 1-40-40V120a40 40 0 0 1 40-40h272a40 40 0 0 1 40 40v272a40 40 0 0 1-40 40z",fill:"currentColor"}]},mousePointerClick:{viewBox:"0 0 24 24",paths:[{d:"M14 4.1 12 6",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},{d:"m5.1 8-2.9-.8",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},{d:"m6 12-1.9 2",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},{d:"M7.2 2.2 8 5.1",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},{d:"M9.037 9.69a.498.498 0 0 1 .653-.653l11 4.5a.5.5 0 0 1-.074.949l-4.349 1.041a1 1 0 0 0-.74.739l-1.04 4.35a.5.5 0 0 1-.95.074z",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}]},scroll:{viewBox:"0 0 24 24",paths:[{d:"M19 17V5a2 2 0 0 0-2-2H4",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},{d:"M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}]},ticktick:{viewBox:"0 0 24 24",paths:[{d:"M12 0C5.383 0 0 5.383 0 12s5.383 12 12 12 12-5.383 12-12h-2.7c0 5.128-4.172 9.3-9.3 9.3-5.128 0-9.3-4.172-9.3-9.3 0-5.128 4.172-9.3 9.3-9.3V0Zm7.4 2.583-7.505 9.371L8.388 9.08l-2.002 2.436 4.741 3.888a1.573 1.573 0 0 0 2.231-.233l8.504-10.617L19.4 2.583Z",fill:"currentColor"}]},arrowRight:{viewBox:"0 0 24 24",paths:[{d:"M13.5 4.5 21 12m0 0-7.5 7.5M21 12H3",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}]},documentText:{viewBox:"0 0 24 24",paths:[{d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}]},globe:{viewBox:"0 0 24 24",paths:[{d:"M12 21a9.004 9.004 0 0 0 8.716-6.747M12 21a9.004 9.004 0 0 1-8.716-6.747M12 21c2.485 0 4.5-4.03 4.5-9S14.485 3 12 3m0 18c-2.485 0-4.5-4.03-4.5-9S9.515 3 12 3m0 0a8.997 8.997 0 0 1 7.843 4.582M12 3a8.997 8.997 0 0 0-7.843 4.582m15.686 0A11.953 11.953 0 0 1 12 10.5c-2.998 0-5.74-1.1-7.843-2.918m15.686 0A8.959 8.959 0 0 1 21 12c0 .778-.099 1.533-.284 2.253",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}]},magnifyingGlass:{viewBox:"0 0 24 24",paths:[{d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}]},xMark:{viewBox:"0 0 24 24",paths:[{d:"M6 18 18 6M6 6l12 12",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}]},keyboard:{viewBox:"0 0 24 24",paths:[{d:"M20 7v10H4V7h16m0-2H4c-1.1 0-1.99.9-1.99 2L2 17c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm-9 3h2v2h-2zm0 3h2v2h-2zM8 8h2v2H8zm0 3h2v2H8zm-3 0h2v2H5zm0-3h2v2H5zm3 6h8v2H8zm6-3h2v2h-2zm0-3h2v2h-2zm3 3h2v2h-2zm0-3h2v2h-2z",fill:"currentColor"}]},selectAll:{viewBox:"0 0 24 24",paths:[{d:"M3 5h2V3c-1.1 0-2 .9-2 2zm0 8h2v-2H3v2zm4 8h2v-2H7v2zM3 9h2V7H3v2zm10-6h-2v2h2V3zm6 0v2h2c0-1.1-.9-2-2-2zM5 21v-2H3c0 1.1.9 2 2 2zm-2-4h2v-2H3v2zM9 3H7v2h2V3zm2 18h2v-2h-2v2zm8-8h2v-2h-2v2zm0 8c1.1 0 2-.9 2-2h-2v2zm0-12h2V7h-2v2zm0 8h2v-2h-2v2zm-4 4h2v-2h-2v2zm0-16h2V3h-2v2zM7 17h10V7H7v10zm2-8h6v6H9V9z",fill:"currentColor"}]},tablerArrowDown:{viewBox:"0 0 24 24",paths:[{d:"M12 5l0 14",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},{d:"M18 13l-6 6",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},{d:"M6 13l6 6",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}]},fileUpload:{viewBox:"0 0 24 24",paths:[{d:"M14 3v4a1 1 0 0 0 1 1h4",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},{d:"M12 11v6",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},{d:"M9.5 13.5l2.5 -2.5l2.5 2.5",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}]},home:{viewBox:"0 0 24 24",paths:[{d:"M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}]},chat:{viewBox:"0 0 24 24",paths:[{d:"M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}]},help:{viewBox:"0 0 24 24",paths:[{d:"M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}]},send:{viewBox:"0 0 24 24",paths:[{d:"M5 12h14m-7-7l7 7-7 7",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}]},closeSmall:{viewBox:"0 0 12 12",paths:[{d:"M9 3L3 9M3 3l6 6",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}]},close:{viewBox:"0 0 20 20",paths:[{d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}]},chevronDown:{viewBox:"0 0 24 24",paths:[{d:"M19 9l-7 7-7-7",fill:"none",stroke:"currentColor",strokeWidth:2.5,strokeLinecap:"round",strokeLinejoin:"round"}]},screenShare:{viewBox:"0 0 24 24",paths:[{d:"M15 10l4.553-2.276A1 1 0 0121 8.618v6.764a1 1 0 01-1.447.894L15 14M5 18h8a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v8a2 2 0 002 2z",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}]},moreVertical:{viewBox:"0 0 20 20",paths:[{d:"M10 6a2 2 0 110-4 2 2 0 010 4zM10 12a2 2 0 110-4 2 2 0 010 4zM10 18a2 2 0 110-4 2 2 0 010 4z",fill:"currentColor"}]},chevronRight:{viewBox:"0 0 24 24",paths:[{d:"M9 5l7 7-7 7",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}]},alertCircle:{viewBox:"0 0 24 24",paths:[{d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}]}},jh=i(function({name:e,size:t=16,className:n,...r},i){const o=$h[e];return o?/* @__PURE__ */f("svg",{...r,ref:i,"aria-hidden":"true",className:Op("inline-block flex-shrink-0",n),fill:"none",height:t,viewBox:o.viewBox,width:t,xmlns:"http://www.w3.org/2000/svg",children:o.paths.map((e,t)=>/* @__PURE__ */f("path",{clipRule:e.clipRule,d:e.d,fill:e.fill??(e.stroke?"none":"currentColor"),fillRule:e.fillRule,stroke:e.stroke,strokeLinecap:e.strokeLinecap,strokeLinejoin:e.strokeLinejoin,strokeMiterlimit:e.strokeMiterlimit,strokeWidth:e.strokeWidth},t))}):null}),Fh={primary:"bg-primary text-primary-foreground hover:bg-primary-hover",secondary:"bg-secondary-bg text-foreground hover:bg-secondary-hover",ghost:"bg-transparent text-foreground opacity-60 hover:opacity-100",toolbar:"bg-transparent text-foreground opacity-60 hover:opacity-100"},Uh={xs:"w-5 h-5 min-w-5",sm:"w-7 h-7 min-w-7"},Bh={circle:Pp.circle,theme:Pp.theme},Wh=i(function({variant:e="ghost",size:t="sm",shape:n="circle",tone:r,label:i,disabled:o,elevation:s,className:a,children:l,style:c,...d},u){/* @__PURE__ */
12
12
  return f("button",{...d,ref:u,type:"button",disabled:o,"aria-label":i,className:Op("inline-flex items-center justify-center flex-shrink-0 border-none cursor-pointer transition-all",Bh[n],Fh[e],r&&Np[r],Uh[t],o&&"opacity-50 cursor-not-allowed pointer-events-none",a),style:{...jp(s),...c},children:l})}),Gh=i(function(e,t){const{background:n="default",className:r,elevation:i,paddingPreset:o="none",radius:s,style:a,...l}=e,c=Bp(e);/* @__PURE__ */
13
13
  return f("div",{...Wp(l),ref:t,className:Op("flex flex-col",Gp[n],Hp[o],s&&Bp({rounded:s}),c,r),style:{...jp(i),...a}})}),Hh={xxs:"text-[10px]",xs:"text-xs",sm:"text-sm",base:"text-base",lg:"text-lg"},Zh={normal:"font-normal",medium:"font-medium",semibold:"font-semibold"},Vh={center:"text-center",right:"text-right"},qh=i(function({as:e="span",block:t=!1,clamp:n,code:r=!1,inheritColor:i=!1,italic:o=!1,leading:s,tone:a,variant:l="default",size:c,weight:d,truncate:u,align:p,className:h,style:m,...g},y){/* @__PURE__ */
14
14
  return f(e,{...g,ref:y,className:Op(Np[i?"inherit":a??{default:"default",muted:"muted",faint:"faint"}[l]],c&&Hh[c],d&&Zh[d],p&&Vh[p],s&&Lp[s],t&&"block",r&&"font-mono",o&&"italic",u&&"truncate",h),style:n?{...m,display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:n,overflow:"hidden"}:m})});function Yh(e){return"above-fab"===e?{bottom:"90px",left:"50%",transform:"translateX(-50%)"}:{bottom:"20px",left:"50%",transform:"translateX(-50%)"}}var Jh=({tone:e,title:t,body:n,onDismiss:r,onRetry:i,position:s="bottom-center"})=>{const[l,c]=p(!1),d=o(()=>{c(!0),setTimeout(r,300)},[r]);a(()=>{if("info"!==e)return;const t=setTimeout(d,8e3);return()=>clearTimeout(t)},[e,d]);const u=$p[e];/* @__PURE__ */
@@ -19,7 +19,7 @@ return f(Zp,{position:"fixed",style:{zIndex:b,maxWidth:"420px",opacity:l?0:1,tra
19
19
  return g(Zp,{ref:_,className:`${O} ${C?"":z} ${S?"":"transition-transform duration-300 ease-in-out"}`,style:{zIndex:p,pointerEvents:e?"none":"auto",...R,...C},children:[/* @__PURE__ */g(Zp,{className:`\n group relative w-14 h-14 overflow-visible transition-all duration-300 ease-in-out\n ${e?"scale-0 opacity-0 pointer-events-none":"scale-100 opacity-100 hover:scale-110"}\n `,children:[w&&/* @__PURE__ */f(Zp,{className:v,"aria-hidden":!0}),b&&!S&&/* @__PURE__ */f(Lh,{type:"button",variant:"secondary",size:"sm",onClick:e=>{e.preventDefault(),e.stopPropagation(),o?.()},className:"absolute top-1/2 z-20 -translate-y-1/2 rounded-full border border-white/25 bg-gray-900 px-2.5 py-1 text-[11px] font-semibold uppercase tracking-wide text-white shadow-lg opacity-0 transition-opacity duration-150 pointer-events-none group-hover:opacity-100 group-hover:pointer-events-auto group-focus-within:opacity-100 group-focus-within:pointer-events-auto "+(h.includes("left")?"left-full ml-2":"right-full mr-2"),style:{border:"1px solid rgba(255,255,255,0.25)"},"aria-label":"Stop running task",children:"Stop"}),
20
20
  /* @__PURE__ */f(Lh,{type:"button",variant:"bare",onClick:()=>{Date.now()<M.current||i()},onDragStart:e=>e.preventDefault(),onPointerDown:I,onPointerMove:E,onPointerUp:T,onPointerCancel:A,className:"relative z-10 w-14 h-14 min-w-14",style:{touchAction:"none",cursor:S?"grabbing":"grab",userSelect:"none",WebkitUserSelect:"none"},"aria-label":e?"Close":"Open","aria-live":"polite",children:/* @__PURE__ */f(Dh,{className:"w-full h-full items-center justify-center relative",children:/* @__PURE__ */g(Zp,{className:"\n relative w-12 h-12 overflow-hidden transition-[transform,opacity,background-color] duration-[167ms] ease-[cubic-bezier(0.33,0,0,1)]\n hover:scale-110 hover:duration-[250ms] active:scale-[0.85] active:duration-[134ms] active:ease-[cubic-bezier(0.45,0,0.2,1)]\n animate-launcher-entrance\n ",style:{borderRadius:l,backgroundColor:e?a:s,boxShadow:Rp.fab},children:[w&&/* @__PURE__ */f("svg",{className:x,viewBox:"0 0 54 54",fill:"none","aria-hidden":!0,children:/* @__PURE__ */f("rect",{x:"1.25",y:"1.25",width:"51.5",height:"51.5",rx:k+1,ry:k+1})}),
21
21
  /* @__PURE__ */f(Dh,{className:"absolute inset-0 items-center justify-center transition-[transform,opacity] duration-[160ms] linear",style:{transform:e?"rotate(30deg) scale(0)":"rotate(0deg) scale(1)",opacity:e?0:1,transitionProperty:"transform, opacity",transitionDuration:"0.16s, 0.08s",transitionTimingFunction:"linear"},"aria-hidden":e,children:/* @__PURE__ */f(Yp,{src:Vp,alt:"",className:"relative z-10 w-full h-full object-contain",draggable:!1,onDragStart:e=>e.preventDefault(),style:{borderRadius:l,border:"none",outline:"none",backgroundColor:"transparent",pointerEvents:"none",userSelect:"none"}})}),
22
- /* @__PURE__ */f(Dh,{className:"absolute inset-0 items-center justify-center transition-[transform,opacity] duration-[160ms] linear",style:{transform:e?"rotate(0deg) scale(1)":"rotate(-30deg) scale(0)",opacity:e?1:0,transitionProperty:"transform, opacity",transitionDuration:"0.16s, 0.08s",transitionTimingFunction:"linear"},"aria-hidden":!e,children:/* @__PURE__ */f(jh,{name:"chevronDown",size:24,className:"relative z-10 text-foreground pointer-events-none"})})]})})})]}),!e&&/* @__PURE__ */g(Zp,{className:`absolute bottom-16 ${h.includes("left")?"left-0":"right-0"} mb-2 px-3 py-2 text-sm rounded-lg shadow-lg whitespace-nowrap opacity-0 group-hover:opacity-100 transition-opacity duration-200`,style:{backgroundColor:c,color:d},children:[/* @__PURE__ */f(qh,{as:"span",className:"text-inherit",children:"Support Agent"}),/* @__PURE__ */f(Zp,{"aria-hidden":!0,className:`absolute top-full ${h.includes("left")?"left-4":"right-4"} w-0 h-0 border-l-4 border-r-4 border-t-4 border-transparent`,style:{borderTopColor:c}})]})]})},rm="3.3.150";function im(e){return Array.from(e.querySelectorAll('button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])')).filter(e=>null!==e.offsetParent&&!e.hasAttribute("aria-hidden"))}function om(e){if(!e)return 360;const t=parseInt(e.replace(/px|rem|em/gi,""),10);return isNaN(t)?360:t}function sm(e,t,n){return Math.min(Math.max(e,t),n)}function am(e,t,n,r,i){const o={"bottom-right":"nwse-resize","bottom-left":"nesw-resize","top-right":"nesw-resize","top-left":"nwse-resize"};switch(e){case"bottom-right":return{dx:r-t,dy:i-n,cursor:o[e]};case"bottom-left":return{dx:t-r,dy:i-n,cursor:o[e]};case"top-right":return{dx:r-t,dy:n-i,cursor:o[e]};case"top-left":return{dx:t-r,dy:n-i,cursor:o[e]}}}var lm={count:"inline-flex items-center rounded-full bg-muted px-1.5 py-0.5 text-[9px] font-medium text-muted-foreground",live:"inline-flex items-center gap-1",status:"inline-flex items-center text-[9px] font-medium px-1.5 py-0.5 rounded"},cm={default:"bg-muted text-muted-foreground",muted:"bg-muted text-muted-foreground",primary:"bg-chart-1/15 text-chart-1",success:"bg-success/15 text-success",warning:"bg-warning/15 text-warning"},dm=i(function({variant:e,color:t,tone:n="default",className:r,style:i,children:o,...s},a){/* @__PURE__ */
22
+ /* @__PURE__ */f(Dh,{className:"absolute inset-0 items-center justify-center transition-[transform,opacity] duration-[160ms] linear",style:{transform:e?"rotate(0deg) scale(1)":"rotate(-30deg) scale(0)",opacity:e?1:0,transitionProperty:"transform, opacity",transitionDuration:"0.16s, 0.08s",transitionTimingFunction:"linear"},"aria-hidden":!e,children:/* @__PURE__ */f(jh,{name:"chevronDown",size:24,className:"relative z-10 text-foreground pointer-events-none"})})]})})})]}),!e&&/* @__PURE__ */g(Zp,{className:`absolute bottom-16 ${h.includes("left")?"left-0":"right-0"} mb-2 px-3 py-2 text-sm rounded-lg shadow-lg whitespace-nowrap opacity-0 group-hover:opacity-100 transition-opacity duration-200`,style:{backgroundColor:c,color:d},children:[/* @__PURE__ */f(qh,{as:"span",className:"text-inherit",children:"Support Agent"}),/* @__PURE__ */f(Zp,{"aria-hidden":!0,className:`absolute top-full ${h.includes("left")?"left-4":"right-4"} w-0 h-0 border-l-4 border-r-4 border-t-4 border-transparent`,style:{borderTopColor:c}})]})]})},rm="3.3.159";function im(e){return Array.from(e.querySelectorAll('button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])')).filter(e=>null!==e.offsetParent&&!e.hasAttribute("aria-hidden"))}function om(e){if(!e)return 360;const t=parseInt(e.replace(/px|rem|em/gi,""),10);return isNaN(t)?360:t}function sm(e,t,n){return Math.min(Math.max(e,t),n)}function am(e,t,n,r,i){const o={"bottom-right":"nwse-resize","bottom-left":"nesw-resize","top-right":"nesw-resize","top-left":"nwse-resize"};switch(e){case"bottom-right":return{dx:r-t,dy:i-n,cursor:o[e]};case"bottom-left":return{dx:t-r,dy:i-n,cursor:o[e]};case"top-right":return{dx:r-t,dy:n-i,cursor:o[e]};case"top-left":return{dx:t-r,dy:n-i,cursor:o[e]}}}var lm={count:"inline-flex items-center rounded-full bg-muted px-1.5 py-0.5 text-[9px] font-medium text-muted-foreground",live:"inline-flex items-center gap-1",status:"inline-flex items-center text-[9px] font-medium px-1.5 py-0.5 rounded"},cm={default:"bg-muted text-muted-foreground",muted:"bg-muted text-muted-foreground",primary:"bg-chart-1/15 text-chart-1",success:"bg-success/15 text-success",warning:"bg-warning/15 text-warning"},dm=i(function({variant:e,color:t,tone:n="default",className:r,style:i,children:o,...s},a){/* @__PURE__ */
23
23
  return g("span",{...s,ref:a,className:Op(lm[e],"status"===e&&cm[n],r),"data-variant":e,style:{color:t,...i},children:["live"===e&&/* @__PURE__ */g("span",{className:"relative flex h-1.5 w-1.5",children:[/* @__PURE__ */f("span",{className:"absolute inline-flex h-full w-full animate-ping rounded-full bg-current opacity-75"}),/* @__PURE__ */f("span",{className:"relative inline-flex h-1.5 w-1.5 rounded-full bg-current"})]}),o]})}),um=i(function({background:e="card",border:t=!0,children:n,className:r,elevation:i="card",paddingPreset:o="card",radius:s="xl",style:a,...l},c){/* @__PURE__ */
24
24
  return f(Zp,{...l,ref:c,as:"div",background:e,border:t,className:r,elevation:i,paddingPreset:o,radius:s,style:a,children:n})});var pm=n(null);function hm(e){const t=s(pm);if(!t)throw new Error(`${e} must be used within Dialog`);return t}function mm({children:e,defaultOpen:t,onOpenChange:n,open:r}){const{isOpen:i,setIsOpen:s}=function({defaultOpen:e=!1,onOpenChange:t,open:n}){const[r,i]=p(e),s=void 0!==n;return{isOpen:s?n:r,setIsOpen:o(e=>{s||i(e),t?.(e)},[s,t])}}({defaultOpen:t,onOpenChange:n,open:r}),a=l(),c=l(),u=l(),h=d(()=>({contentId:a,descriptionId:u,open:i,setOpen:s,titleId:c}),[a,u,i,s,c]);/* @__PURE__ */
25
25
  return f(pm.Provider,{value:h,children:e})}function fm({children:e,className:t,onKeyDown:n,...r}){const i=hm("DialogContent"),{variant:o="default",style:s,...l}=r;return a(()=>{if(!i.open)return;const e=e=>{"Escape"===e.key&&i.setOpen(!1)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[i]),i.open?/* @__PURE__ */f("div",{...l,"aria-describedby":i.descriptionId,"aria-labelledby":i.titleId,"aria-modal":"true",className:Op("fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 z-[calc(var(--layer-dialog)+1)] flex flex-col w-full max-h-[85vh] overflow-auto bg-card animate-dialog-content-in","default"===o&&"max-w-[500px] rounded-lg p-6","confirm"===o&&"max-w-sm rounded-lg p-4","info"===o&&"w-64 rounded-md border border-border p-0",t),"data-state":"open",id:i.contentId,onKeyDown:e=>{n?.(e),e.defaultPrevented||"Escape"!==e.key||i.setOpen(!1)},role:"dialog",style:{...jp("info"===o?"section":"panel"),...s},tabIndex:-1,children:e}):null}function gm({className:e,variant:t="default",...n}){const r=hm("DialogTitle");/* @__PURE__ */