import{r as e}from"./chunk-QTnfLwEv.js";import{n as t,t as n}from"./jsx-runtime-BWRPWl8p.js";import{Ei as r,Kr as i,ma as a}from"./index-DccLTdzK.js";var o=e(t(),1),s=n(),c=({title:e,icon:t,buttons:n=[],onAddClick:c,addText:l=`Agregar`})=>(0,s.jsx)(`div`,{className:`glass-header-container mb-4`,children:(0,s.jsx)(`div`,{className:`glass-card header-glass-card`,children:(0,s.jsxs)(`div`,{className:`d-flex flex-column flex-md-row justify-content-between align-items-md-center`,children:[(0,s.jsxs)(`div`,{className:`d-flex align-items-center mb-3 mb-md-0`,children:[t&&(0,s.jsx)(`div`,{className:`header-icon-wrapper me-3`,children:(0,s.jsx)(r,{icon:t,className:`header-icon`})}),(0,s.jsxs)(`div`,{children:[(0,s.jsx)(`h1`,{className:`header-title m-0`,children:e}),(0,s.jsx)(`div`,{className:`header-divider`})]})]}),(0,s.jsxs)(`div`,{className:`header-actions d-flex align-items-center flex-wrap gap-2`,children:[n.map((e,t)=>(0,s.jsx)(o.Fragment,{children:e},t)),c&&(0,s.jsxs)(a,{onClick:c,className:`btn-premium d-flex align-items-center`,children:[(0,s.jsx)(r,{icon:i,className:`me-2`}),l]})]})]})})});export{c as t};