1import{aP as C,a as V,af as k}from"./ihpd6ZvD.js";import{A as z,i as N,o as w,w as O,r as _,D as j,d as u}from"./CDMIIqi7.js";const m=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,b=C,p=(t,a)=>e=>{var d;if((a==null?void 0:a.variants)==null)return b(t,e==null?void 0:e.class,e==null?void 0:e.className);const{variants:c,defaultVariants:i}=a,h=Object.keys(c).map(n=>{const s=e==null?void 0:e[n],o=i==null?void 0:i[n];if(s===null)return null;const r=m(s)||m(o);return c[n][r]}),v=e&&Object.entries(e).reduce((n,s)=>{let[o,r]=s;return r===void 0||(n[o]=r),n},{}),g=a==null||(d=a.compoundVariants)===null||d===void 0?void 0:d.reduce((n,s)=>{let{class:o,className:r,...y}=s;return Object.entries(y).every(x=>{let[f,l]=x;return Array.isArray(l)?l.includes({...i,...v}[f]):{...i,...v}[f]===l})?[...n,o,r]:n},[]);return b(t,h,g,e==null?void 0:e.class,e==null?void 0:e.className)},S=z({__name:"Button",props:{variant:{},size:{},class:{},asChild:{type:Boolean},as:{default:"button"}},setup(t){const a=t;return(e,d)=>(w(),N(u(k),{as:e.as,"as-child":e.asChild,class:j(u(V)(u(B)({variant:e.variant,size:e.size}),a.class))},{default:O(()=>[_(e.$slots,"default")]),_:3},8,["as","as-child","class"]))}}),B=p("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",xs:"h-7 rounded px-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}});export{S as _,B as b,p as c};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.