import{P as e,n as t,r as n,t as r,v as i}from"./jsx-runtime-DLhMyTcm.js";import{Y as a}from"./index-B9ptohSA.js";var o=r();function s({title:e,description:n,titleItem:r,children:i,className:a}){return(0,o.jsxs)(`div`,{className:t(`px-4 py-2`,a),children:[(0,o.jsxs)(`div`,{className:`mb-4`,children:[(0,o.jsxs)(`div`,{className:`flex flex-col sm:flex-row justify-between items-start sm:items-center gap-2`,children:[(0,o.jsx)(`h1`,{className:`text-3xl font-semibold tracking-tight`,children:e}),(0,o.jsx)(`div`,{className:`w-full sm:w-fit`,children:r})]}),(0,o.jsx)(`p`,{className:`mt-2 text-lg text-muted-foreground`,children:n})]}),i]})}var c=n(`group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!`,{variants:{variant:{default:`bg-primary text-primary-foreground [a]:hover:bg-primary/80`,secondary:`bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80`,destructive:`bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20`,outline:`border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground`,ghost:`hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50`,link:`text-primary underline-offset-4 hover:underline`}},defaultVariants:{variant:`default`}});function l({className:e,variant:n=`default`,render:r,...o}){return a({defaultTagName:`span`,props:i({className:t(c({variant:n}),e)},o),render:r,state:{slot:`badge`,variant:n}})}e();function u({className:e,...n}){return(0,o.jsx)(`div`,{"data-slot":`table-container`,className:`relative w-full overflow-x-auto`,children:(0,o.jsx)(`table`,{"data-slot":`table`,className:t(`w-full caption-bottom text-sm`,e),...n})})}function d({className:e,...n}){return(0,o.jsx)(`thead`,{"data-slot":`table-header`,className:t(`[&_tr]:border-b`,e),...n})}function f({className:e,...n}){return(0,o.jsx)(`tbody`,{"data-slot":`table-body`,className:t(`[&_tr:last-child]:border-0`,e),...n})}function p({className:e,...n}){return(0,o.jsx)(`tr`,{"data-slot":`table-row`,className:t(`border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted`,e),...n})}function m({className:e,...n}){return(0,o.jsx)(`th`,{"data-slot":`table-head`,className:t(`h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0`,e),...n})}function h({className:e,...n}){return(0,o.jsx)(`td`,{"data-slot":`table-cell`,className:t(`p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0`,e),...n})}export{d as a,s as c,m as i,f as n,p as o,h as r,l as s,u as t};