module.exports=[86875,a=>{"use strict";var b=a.i(87924),c=a.i(47929),d=a.i(27598);let e=(0,a.i(64831).default)("arrow-up-down",[["path",{d:"m21 16-4 4-4-4",key:"f6ql7i"}],["path",{d:"M17 20V4",key:"1ejh1v"}],["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}]]);a.s(["DataTable",0,function({columns:a,sortBy:f,sortDir:g,onSortChange:h,children:i}){return(0,b.jsx)("div",{className:"overflow-x-auto rounded-lg border border-border",children:(0,b.jsxs)("table",{className:"w-full text-sm",children:[(0,b.jsx)("thead",{className:"bg-primary/5",children:(0,b.jsx)("tr",{children:a.map(a=>{let i=f===a.key,j=a.sortable?i?"asc"===g?d.ArrowUp:c.ArrowDown:e:null;return(0,b.jsx)("th",{className:`px-4 py-3 text-left font-semibold text-foreground ${a.headerClassName??""}`,children:a.sortable&&h?(0,b.jsxs)("button",{type:"button",onClick:()=>h(a.key),className:"inline-flex items-center gap-1 hover:text-accent",children:[a.label,j&&(0,b.jsx)(j,{size:13,className:i?"text-accent":"text-muted","aria-hidden":!0})]}):a.label},a.key)})})}),(0,b.jsx)("tbody",{className:"divide-y divide-border",children:i})]})})}],86875)},47929,a=>{"use strict";let b=(0,a.i(64831).default)("arrow-down",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]);a.s(["ArrowDown",0,b],47929)},27598,a=>{"use strict";let b=(0,a.i(64831).default)("arrow-up",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]);a.s(["ArrowUp",0,b],27598)}];

//# sourceMappingURL=_20hlgyz._.js.map