import{R as i,j as n,a2 as a,at as l,bk as o,O as c,Q as d,U as u,c_ as b}from"./app-BgLa5dit.js";function C(e){const[t,s]=i.useState(!!e.defaultIsCollapsed);return n.jsxs("div",{className:a("border rounded-3 mb-3",e.className),children:[n.jsxs("div",{className:a("d-flex justify-content-between align-items-center p-3 bg-light rounded-top-3",t?"border-bottom":"",e.innerContainerClassName),children:[n.jsxs("div",{className:"d-flex align-items-center justify-content-between w-100",children:[e.heading,(e.onClick||e.buttonAppLink)&&n.jsx(l,{svg:e.svg||o,onClick:e.onClick,appLink:e.buttonAppLink,className:e.buttonClassname||"btn btn-outline-dark",children:e.buttonText}),e.button&&e.button]}),!e.disableCollapse&&n.jsx(c,{onClick:()=>s(!t),children:n.jsx(d,{svg:t?u:b})})]}),!t&&e.children]})}export{C as D};
//# sourceMappingURL=C4BcftDO.chunk.js.map
