import{o as e}from"./rolldown-runtime-iuO8RvI4.js";import{Ei as r,Mi as s,ki as l}from"./vendor-frame-CwiylG4Y.js";var i=e(s()),a=l(),o=(0,i.memo)(({title:e,headerAction:s,tabs:l,children:i,footer:o,contentClassName:n})=>(0,a.jsxs)("div",{className:r("border-r border-border-300 flex flex-col h-full overflow-hidden","w-[280px] min-w-[280px] xl:w-[360px] xl:min-w-[360px]"),children:[(0,a.jsxs)("div",{className:"flex items-center justify-between gap-2 pl-6 pr-4 py-3 min-h-14",children:[(0,a.jsx)("h2",{className:"text-heading-medium text-primary flex-1 min-w-0 truncate has-[input]:overflow-visible",children:e}),s]}),l&&(0,a.jsx)("div",{className:"px-4",children:l}),(0,a.jsx)("div",{className:r("flex-1 overflow-y-auto px-4",n),children:i}),o&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("hr",{className:"border-t border-border-300 mx-5"}),(0,a.jsx)("div",{className:"flex-none py-3 px-3",children:o})]})]}));export{o as t};