import{j as r}from"./vendor-react-wBh_31cN.js";import{b as o}from"./vendor-utils-OeoE2qq_.js";import{d as e}from"./index-dNe6i2rS.js";import{_ as s,$ as n,a0 as d,a1 as l}from"./vendor-radix-BRyWS4bQ.js";function f({className:t,orientation:a="horizontal",...i}){return r.jsx(s,{"data-slot":"tabs","data-orientation":a,className:e("group/tabs flex gap-2 data-horizontal:flex-col",t),...i})}const u=o("group/tabs-list inline-flex w-fit items-center justify-center rounded-lg p-[3px] text-muted-foreground group-data-horizontal/tabs:h-8 group-data-vertical/tabs:h-fit group-data-vertical/tabs:flex-col data-[variant=line]:rounded-none",{variants:{variant:{default:"border border-border bg-muted",line:"gap-1 bg-transparent"}},defaultVariants:{variant:"default"}});function v({className:t,variant:a="default",...i}){return r.jsx(n,{"data-slot":"tabs-list","data-variant":a,className:e(u({variant:a}),t),...i})}function x({className:t,...a}){return r.jsx(d,{"data-slot":"tabs-trigger",className:e("relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-1.5 py-0.5 text-sm font-medium whitespace-nowrap text-foreground/60 transition-all group-data-vertical/tabs:w-full group-data-vertical/tabs:justify-start hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 dark:text-muted-foreground dark:hover:text-foreground group-data-[variant=default]/tabs-list:data-active:shadow-sm group-data-[variant=line]/tabs-list:data-active:shadow-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4","group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent group-data-[variant=line]/tabs-list:data-active:border-transparent dark:group-data-[variant=line]/tabs-list:data-active:border-transparent dark:group-data-[variant=line]/tabs-list:data-active:bg-transparent","data-active:border-border data-active:bg-background data-active:text-foreground dark:data-active:border-input dark:data-active:bg-input/30 dark:data-active:text-foreground","after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-horizontal/tabs:after:inset-x-0 group-data-horizontal/tabs:after:bottom-[-5px] group-data-horizontal/tabs:after:h-0.5 group-data-vertical/tabs:after:inset-y-0 group-data-vertical/tabs:after:-right-1 group-data-vertical/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-active:after:opacity-100",t),...a})}function m({className:t,...a}){return r.jsx(l,{"data-slot":"tabs-content",className:e("flex-1 text-sm outline-none",t),...a})}export{f as T,v as a,x as b,m as c};
