@chaibuilder/sdk 2.0.0-beta.110 → 2.0.0-beta.113

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/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "author": "Suraj Air",
6
6
  "license": "BSD-3-Clause",
7
7
  "homepage": "https://chaibuilder.com",
8
- "version": "2.0.0-beta.110",
8
+ "version": "2.0.0-beta.113",
9
9
  "type": "module",
10
10
  "repository": {
11
11
  "type": "git",
@@ -53,7 +53,7 @@
53
53
  }
54
54
  },
55
55
  "peerDependencies": {
56
- "@chaibuilder/runtime": "2.0.0-beta.24",
56
+ "@chaibuilder/runtime": "2.0.0-beta.25",
57
57
  "@types/react": "*",
58
58
  "@types/react-dom": "*",
59
59
  "jotai": "2.12.1",
@@ -69,7 +69,7 @@
69
69
  }
70
70
  },
71
71
  "dependencies": {
72
- "@chaibuilder/runtime": "2.0.0-beta.24",
72
+ "@chaibuilder/runtime": "2.0.0-beta.25",
73
73
  "@floating-ui/dom": "1.6.13",
74
74
  "@floating-ui/react-dom": "2.1.2",
75
75
  "@mhsdesign/jit-browser-tailwindcss": "0.4.2",
@@ -1 +0,0 @@
1
- "use strict";const a=require("react/jsx-runtime"),Fe=require("react"),Be=require("@radix-ui/react-accordion"),f=require("@radix-ui/react-icons"),Ve=require("@radix-ui/react-alert-dialog"),Ee=require("@radix-ui/react-slot"),C=require("class-variance-authority"),m=require("cmdk"),Je=require("@radix-ui/react-dialog"),Ke=require("@radix-ui/react-context-menu"),Qe=require("@radix-ui/react-dropdown-menu"),Ue=require("@radix-ui/react-hover-card"),We=require("@radix-ui/react-label"),Xe=require("@radix-ui/react-popover"),Ye=require("@radix-ui/react-scroll-area"),Ze=require("@radix-ui/react-separator"),$e=require("next-themes"),et=require("sonner"),tt=require("@radix-ui/react-switch"),ot=require("@radix-ui/react-tabs"),at=require("@radix-ui/react-tooltip"),st=require("clsx"),rt=require("tailwind-merge");function p(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const o in e)if(o!=="default"){const n=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(t,o,n.get?n:{enumerable:!0,get:()=>e[o]})}}return t.default=e,Object.freeze(t)}const r=p(Fe),x=p(Be),l=p(Ve),u=p(Je),d=p(Ke),i=p(Qe),h=p(Ue),T=p(We),N=p(Xe),g=p(Ye),k=p(Ze),v=p(tt),b=p(ot),y=p(at),s=(...e)=>rt.twMerge(st.clsx(e)),nt=x.Root,M=r.forwardRef(({className:e,...t},o)=>a.jsx(x.Item,{ref:o,className:s("border-b",e),...t}));M.displayName="AccordionItem";const S=r.forwardRef(({className:e,children:t,...o},n)=>a.jsx(x.Header,{className:"flex",children:a.jsxs(x.Trigger,{ref:n,className:s("flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",e),...o,children:[t,o.hideArrow?null:a.jsx(f.ChevronDownIcon,{className:"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200"})]})}));S.displayName=x.Trigger.displayName;const I=r.forwardRef(({className:e,children:t,...o},n)=>a.jsx(x.Content,{ref:n,className:s("text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",e),...o,children:a.jsx("div",{className:"pb-4 pt-0",children:t})}));I.displayName=x.Content.displayName;const w=C.cva("inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),P=r.forwardRef(({className:e,variant:t,size:o,asChild:n=!1,...c},Ge)=>{const Oe=n?Ee.Slot:"button";return a.jsx(Oe,{className:s(w({variant:t,size:o,className:e})),ref:Ge,...c})});P.displayName="Button";const dt=l.Root,it=l.Trigger,_=({className:e,...t})=>a.jsx(l.Portal,{className:s(e),...t});_.displayName=l.Portal.displayName;const A=r.forwardRef(({className:e,...t},o)=>a.jsx(l.Overlay,{className:s("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:o}));A.displayName=l.Overlay.displayName;const z=r.forwardRef(({className:e,...t},o)=>a.jsxs(_,{children:[a.jsx(A,{}),a.jsx(l.Content,{ref:o,className:s("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg md:w-full",e),...t})]}));z.displayName=l.Content.displayName;const q=({className:e,...t})=>a.jsx("div",{className:s("flex flex-col space-y-2 text-center sm:text-left",e),...t});q.displayName="AlertDialogHeader";const L=({className:e,...t})=>a.jsx("div",{className:s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});L.displayName="AlertDialogFooter";const H=r.forwardRef(({className:e,...t},o)=>a.jsx(l.Title,{ref:o,className:s("text-lg font-semibold",e),...t}));H.displayName=l.Title.displayName;const G=r.forwardRef(({className:e,...t},o)=>a.jsx(l.Description,{ref:o,className:s("text-sm text-muted-foreground",e),...t}));G.displayName=l.Description.displayName;const O=r.forwardRef(({className:e,...t},o)=>a.jsx(l.Action,{ref:o,className:s(w(),e),...t}));O.displayName=l.Action.displayName;const F=r.forwardRef(({className:e,...t},o)=>a.jsx(l.Cancel,{ref:o,className:s(w({variant:"outline"}),"mt-2 sm:mt-0",e),...t}));F.displayName=l.Cancel.displayName;const B=C.cva("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}}),lt=({className:e,variant:t,...o})=>a.jsx("div",{className:s(B({variant:t}),e),...o}),V=r.forwardRef(({className:e,...t},o)=>a.jsx("div",{ref:o,className:s("rounded-xl border bg-card text-card-foreground shadow",e),...t}));V.displayName="Card";const E=r.forwardRef(({className:e,...t},o)=>a.jsx("div",{ref:o,className:s("flex flex-col space-y-1.5 p-6",e),...t}));E.displayName="CardHeader";const J=r.forwardRef(({className:e,...t},o)=>a.jsx("h3",{ref:o,className:s("font-semibold leading-none tracking-tight",e),...t}));J.displayName="CardTitle";const K=r.forwardRef(({className:e,...t},o)=>a.jsx("p",{ref:o,className:s("text-sm text-muted-foreground",e),...t}));K.displayName="CardDescription";const Q=r.forwardRef(({className:e,...t},o)=>a.jsx("div",{ref:o,className:s("p-6 pt-0",e),...t}));Q.displayName="CardContent";const U=r.forwardRef(({className:e,...t},o)=>a.jsx("div",{ref:o,className:s(" flex items-center p-6 pt-0",e),...t}));U.displayName="CardFooter";const W=u.Root,ct=u.Trigger,X=({className:e,...t})=>a.jsx(u.Portal,{className:s(e),...t});X.displayName=u.Portal.displayName;const Y=r.forwardRef(({className:e,...t},o)=>a.jsx(u.Overlay,{ref:o,className:s("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));Y.displayName=u.Overlay.displayName;const j=r.forwardRef(({className:e,children:t,...o},n)=>a.jsxs(X,{children:[a.jsx(Y,{}),a.jsxs(u.Content,{ref:n,className:s("fixed left-[50%] top-[50%] z-[999] grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg md:w-full",e),...o,children:[t,a.jsxs(u.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[a.jsx(f.Cross2Icon,{className:"h-4 w-4"}),a.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));j.displayName=u.Content.displayName;const Z=({className:e,...t})=>a.jsx("div",{className:s("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});Z.displayName="DialogHeader";const $=({className:e,...t})=>a.jsx("div",{className:s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});$.displayName="DialogFooter";const ee=r.forwardRef(({className:e,...t},o)=>a.jsx(u.Title,{ref:o,className:s("text-lg font-semibold leading-none tracking-tight",e),...t}));ee.displayName=u.Title.displayName;const te=r.forwardRef(({className:e,...t},o)=>a.jsx(u.Description,{ref:o,className:s("text-sm text-muted-foreground",e),...t}));te.displayName=u.Description.displayName;const D=r.forwardRef(({className:e,...t},o)=>a.jsx(m.Command,{ref:o,className:s("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",e),...t}));D.displayName=m.Command.displayName;const mt=({children:e,...t})=>a.jsx(W,{...t,children:a.jsx(j,{className:"overflow-hidden p-0",children:a.jsx(D,{className:"[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5",children:e})})}),oe=r.forwardRef(({className:e,...t},o)=>a.jsxs("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[a.jsx(f.MagnifyingGlassIcon,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),a.jsx(m.Command.Input,{ref:o,className:s("flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",e),...t})]}));oe.displayName=m.Command.Input.displayName;const ae=r.forwardRef(({className:e,...t},o)=>a.jsx(m.Command.List,{ref:o,className:s("max-h-[300px] overflow-y-auto overflow-x-hidden",e),...t}));ae.displayName=m.Command.List.displayName;const se=r.forwardRef((e,t)=>a.jsx(m.Command.Empty,{ref:t,className:"py-6 text-center text-sm",...e}));se.displayName=m.Command.Empty.displayName;const re=r.forwardRef(({className:e,...t},o)=>a.jsx(m.Command.Group,{ref:o,className:s("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",e),...t}));re.displayName=m.Command.Group.displayName;const ne=r.forwardRef(({className:e,...t},o)=>a.jsx(m.Command.Separator,{ref:o,className:s("-mx-1 h-px bg-border",e),...t}));ne.displayName=m.Command.Separator.displayName;const de=r.forwardRef(({className:e,...t},o)=>a.jsx(m.Command.Item,{ref:o,className:s("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-selected:bg-accent aria-selected:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...t}));de.displayName=m.Command.Item.displayName;const ie=({className:e,...t})=>a.jsx("span",{className:s("ml-auto text-xs tracking-widest text-muted-foreground",e),...t});ie.displayName="CommandShortcut";const pt=d.Root,ut=d.Trigger,ft=d.Group,gt=d.Portal,xt=d.Sub,bt=d.RadioGroup,le=r.forwardRef(({className:e,inset:t,children:o,...n},c)=>a.jsxs(d.SubTrigger,{ref:c,className:s("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",t&&"pl-8",e),...n,children:[o,a.jsx(f.ChevronRightIcon,{className:"ml-auto h-4 w-4"})]}));le.displayName=d.SubTrigger.displayName;const ce=r.forwardRef(({className:e,...t},o)=>a.jsx(d.SubContent,{ref:o,className:s("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));ce.displayName=d.SubContent.displayName;const me=r.forwardRef(({className:e,...t},o)=>a.jsx(d.Portal,{children:a.jsx(d.Content,{ref:o,className:s("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t})}));me.displayName=d.Content.displayName;const pe=r.forwardRef(({className:e,inset:t,...o},n)=>a.jsx(d.Item,{ref:n,className:s("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",e),...o}));pe.displayName=d.Item.displayName;const ue=r.forwardRef(({className:e,children:t,checked:o,...n},c)=>a.jsxs(d.CheckboxItem,{ref:c,className:s("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:o,...n,children:[a.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:a.jsx(d.ItemIndicator,{children:a.jsx(f.CheckIcon,{className:"h-4 w-4"})})}),t]}));ue.displayName=d.CheckboxItem.displayName;const fe=r.forwardRef(({className:e,children:t,...o},n)=>a.jsxs(d.RadioItem,{ref:n,className:s("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...o,children:[a.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:a.jsx(d.ItemIndicator,{children:a.jsx(f.DotFilledIcon,{className:"h-4 w-4 fill-current"})})}),t]}));fe.displayName=d.RadioItem.displayName;const ge=r.forwardRef(({className:e,inset:t,...o},n)=>a.jsx(d.Label,{ref:n,className:s("px-2 py-1.5 text-sm font-semibold text-foreground",t&&"pl-8",e),...o}));ge.displayName=d.Label.displayName;const xe=r.forwardRef(({className:e,...t},o)=>a.jsx(d.Separator,{ref:o,className:s("-mx-1 my-1 h-px bg-border",e),...t}));xe.displayName=d.Separator.displayName;const be=({className:e,...t})=>a.jsx("span",{className:s("ml-auto text-xs tracking-widest text-muted-foreground",e),...t});be.displayName="ContextMenuShortcut";const yt=i.Root,Nt=i.Trigger,ht=i.Group,wt=i.Portal,vt=i.Sub,Ct=i.RadioGroup,ye=r.forwardRef(({className:e,inset:t,children:o,...n},c)=>a.jsxs(i.SubTrigger,{ref:c,className:s("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",t&&"pl-8",e),...n,children:[o,a.jsx(f.ChevronRightIcon,{className:"ml-auto h-4 w-4"})]}));ye.displayName=i.SubTrigger.displayName;const Ne=r.forwardRef(({className:e,...t},o)=>a.jsx(i.SubContent,{ref:o,className:s("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));Ne.displayName=i.SubContent.displayName;const he=r.forwardRef(({className:e,sideOffset:t=4,...o},n)=>a.jsx(i.Portal,{children:a.jsx(i.Content,{ref:n,sideOffset:t,className:s("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...o})}));he.displayName=i.Content.displayName;const we=r.forwardRef(({className:e,inset:t,...o},n)=>a.jsx(i.Item,{ref:n,className:s("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",e),...o}));we.displayName=i.Item.displayName;const ve=r.forwardRef(({className:e,children:t,checked:o,...n},c)=>a.jsxs(i.CheckboxItem,{ref:c,className:s("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:o,...n,children:[a.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:a.jsx(i.ItemIndicator,{children:a.jsx(f.CheckIcon,{className:"h-4 w-4"})})}),t]}));ve.displayName=i.CheckboxItem.displayName;const Ce=r.forwardRef(({className:e,children:t,...o},n)=>a.jsxs(i.RadioItem,{ref:n,className:s("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...o,children:[a.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:a.jsx(i.ItemIndicator,{children:a.jsx(f.DotFilledIcon,{className:"h-4 w-4 fill-current"})})}),t]}));Ce.displayName=i.RadioItem.displayName;const je=r.forwardRef(({className:e,inset:t,...o},n)=>a.jsx(i.Label,{ref:n,className:s("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...o}));je.displayName=i.Label.displayName;const De=r.forwardRef(({className:e,...t},o)=>a.jsx(i.Separator,{ref:o,className:s("-mx-1 my-1 h-px bg-muted",e),...t}));De.displayName=i.Separator.displayName;const Re=({className:e,...t})=>a.jsx("span",{className:s("ml-auto text-xs tracking-widest opacity-60",e),...t});Re.displayName="DropdownMenuShortcut";const jt=h.Root,Dt=h.Trigger,Te=r.forwardRef(({className:e,align:t="center",sideOffset:o=4,...n},c)=>a.jsx(h.Content,{ref:c,align:t,sideOffset:o,className:s("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));Te.displayName=h.Content.displayName;const ke=r.forwardRef(({className:e,type:t,...o},n)=>a.jsx("input",{type:t,className:s("flex h-9 w-full rounded-md border border-border bg-background px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:n,...o,autoCapitalize:"off",autoCorrect:"off",spellCheck:"false"}));ke.displayName="Input";const Rt=C.cva("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),Me=r.forwardRef(({className:e,...t},o)=>a.jsx(T.Root,{ref:o,className:s(Rt(),e),...t}));Me.displayName=T.Root.displayName;const Tt=N.Root,kt=N.Trigger,Se=r.forwardRef(({className:e,align:t="center",sideOffset:o=4,...n},c)=>a.jsx(N.Portal,{children:a.jsx(N.Content,{ref:c,align:t,sideOffset:o,className:s("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n})}));Se.displayName=N.Content.displayName;const Ie=r.forwardRef(({className:e,children:t,...o},n)=>a.jsxs(g.Root,{ref:n,className:s("relative overflow-hidden",e),...o,children:[a.jsx(g.Viewport,{className:"h-full w-full rounded-[inherit]",children:t}),a.jsx(R,{}),a.jsx(g.Corner,{})]}));Ie.displayName=g.Root.displayName;const R=r.forwardRef(({className:e,orientation:t="vertical",...o},n)=>a.jsx(g.ScrollAreaScrollbar,{ref:n,orientation:t,className:s("flex touch-none select-none transition-colors",t==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",t==="horizontal"&&"h-2.5 border-t border-t-transparent p-[1px]",e),...o,children:a.jsx(g.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));R.displayName=g.ScrollAreaScrollbar.displayName;const Pe=r.forwardRef(({className:e,orientation:t="horizontal",decorative:o=!0,...n},c)=>a.jsx(k.Root,{ref:c,decorative:o,orientation:t,className:s("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...n}));Pe.displayName=k.Root.displayName;const Mt=({className:e,...t})=>a.jsx("div",{className:s("animate-pulse rounded-md bg-primary/10",e),...t}),St=({...e})=>{const{theme:t="system"}=$e.useTheme();return a.jsx(et.Toaster,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})},_e=r.forwardRef(({className:e,...t},o)=>a.jsx(v.Root,{className:s("peer inline-flex h-[24px] w-[44px] shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-slate-400 focus-visible:ring-offset-2 focus-visible:ring-offset-white disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-slate-900 data-[state=unchecked]:bg-slate-200 dark:focus-visible:ring-slate-800 dark:focus-visible:ring-offset-slate-950 dark:data-[state=checked]:bg-slate-50 dark:data-[state=unchecked]:bg-slate-800",e),...t,ref:o,children:a.jsx(v.Thumb,{className:s("pointer-events-none block h-5 w-5 rounded-full bg-white shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0 dark:bg-slate-950")})}));_e.displayName=v.Root.displayName;const It=b.Root,Ae=r.forwardRef(({className:e,...t},o)=>a.jsx(b.List,{ref:o,className:s("inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",e),...t}));Ae.displayName=b.List.displayName;const ze=r.forwardRef(({className:e,...t},o)=>a.jsx(b.Trigger,{ref:o,className:s("inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",e),...t}));ze.displayName=b.Trigger.displayName;const qe=r.forwardRef(({className:e,...t},o)=>a.jsx(b.Content,{ref:o,className:s("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",e),...t}));qe.displayName=b.Content.displayName;const Le=r.forwardRef(({className:e,...t},o)=>a.jsx("textarea",{className:s("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:o,...t,autoCapitalize:"off",autoCorrect:"off",spellCheck:"false"}));Le.displayName="Textarea";const Pt=y.Portal,_t=y.Provider,At=y.Root,zt=y.Trigger,He=r.forwardRef(({className:e,sideOffset:t=4,...o},n)=>a.jsx(y.Content,{ref:n,sideOffset:t,className:s("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...o}));He.displayName=y.Content.displayName;exports.Accordion=nt;exports.AccordionContent=I;exports.AccordionItem=M;exports.AccordionTrigger=S;exports.AlertDialog=dt;exports.AlertDialogAction=O;exports.AlertDialogCancel=F;exports.AlertDialogContent=z;exports.AlertDialogDescription=G;exports.AlertDialogFooter=L;exports.AlertDialogHeader=q;exports.AlertDialogTitle=H;exports.AlertDialogTrigger=it;exports.Badge=lt;exports.Button=P;exports.Card=V;exports.CardContent=Q;exports.CardDescription=K;exports.CardFooter=U;exports.CardHeader=E;exports.CardTitle=J;exports.Command=D;exports.CommandDialog=mt;exports.CommandEmpty=se;exports.CommandGroup=re;exports.CommandInput=oe;exports.CommandItem=de;exports.CommandList=ae;exports.CommandSeparator=ne;exports.CommandShortcut=ie;exports.ContextMenu=pt;exports.ContextMenuCheckboxItem=ue;exports.ContextMenuContent=me;exports.ContextMenuGroup=ft;exports.ContextMenuItem=pe;exports.ContextMenuLabel=ge;exports.ContextMenuPortal=gt;exports.ContextMenuRadioGroup=bt;exports.ContextMenuRadioItem=fe;exports.ContextMenuSeparator=xe;exports.ContextMenuShortcut=be;exports.ContextMenuSub=xt;exports.ContextMenuSubContent=ce;exports.ContextMenuSubTrigger=le;exports.ContextMenuTrigger=ut;exports.Dialog=W;exports.DialogContent=j;exports.DialogDescription=te;exports.DialogFooter=$;exports.DialogHeader=Z;exports.DialogTitle=ee;exports.DialogTrigger=ct;exports.DropdownMenu=yt;exports.DropdownMenuCheckboxItem=ve;exports.DropdownMenuContent=he;exports.DropdownMenuGroup=ht;exports.DropdownMenuItem=we;exports.DropdownMenuLabel=je;exports.DropdownMenuPortal=wt;exports.DropdownMenuRadioGroup=Ct;exports.DropdownMenuRadioItem=Ce;exports.DropdownMenuSeparator=De;exports.DropdownMenuShortcut=Re;exports.DropdownMenuSub=vt;exports.DropdownMenuSubContent=Ne;exports.DropdownMenuSubTrigger=ye;exports.DropdownMenuTrigger=Nt;exports.HoverCard=jt;exports.HoverCardContent=Te;exports.HoverCardTrigger=Dt;exports.Input=ke;exports.Label=Me;exports.Popover=Tt;exports.PopoverContent=Se;exports.PopoverTrigger=kt;exports.ScrollArea=Ie;exports.ScrollBar=R;exports.Separator=Pe;exports.Skeleton=Mt;exports.Switch=_e;exports.Tabs=It;exports.TabsContent=qe;exports.TabsList=Ae;exports.TabsTrigger=ze;exports.Textarea=Le;exports.Toaster=St;exports.Tooltip=At;exports.TooltipContent=He;exports.TooltipPortal=Pt;exports.TooltipProvider=_t;exports.TooltipTrigger=zt;exports.badgeVariants=B;exports.buttonVariants=w;exports.cn=s;