import{j as l,T as a,a3 as n}from"./app-BgLa5dit.js";const t="_panel_4uo1d_1",i="_selected_4uo1d_6",s="_logoContainer_4uo1d_9",c="_logo_4uo1d_9",d="_labelContainer_4uo1d_19",r="_label_4uo1d_19",_="_actions_4uo1d_29",o={panel:t,selected:i,logoContainer:s,logo:c,labelContainer:d,label:r,actions:_};function b(e){return l.jsx(a,{title:e.tooltip,spanHack:!0,children:l.jsxs("div",{className:`rounded p-2 cursor-pointer d-flex flex-column me-3 position-relative ${o.panel} ${e.isSelected?o.selected:""} ${e.isDisabled?"bg-light cursor-default":""}`,onClick:()=>{e.isDisabled||e.onClick(e.id)},children:[l.jsx("div",{className:`${o.logoContainer}`,children:l.jsx("img",{src:e.imageUrl,alt:e.label,className:`${o.logo} rounded-circle`})}),l.jsx("div",{className:`${o.labelContainer} text-center`,children:l.jsx("label",{className:`m-0 p-0 ${o.label}`,title:e.label,children:e.label})}),e.actions&&l.jsx("div",{className:`position-absolute ${o.actions}`,children:l.jsx(n,{actionsDropdownClassName:"btn",actions:e.actions})})]},e.id)})}export{b as P};
//# sourceMappingURL=B4GQiiZ9.chunk.js.map
