import{bZ as u,u as d,aB as f,p as m,j as s,M as x,T as b}from"./bundle.CHKSNOJF.js";const p=u(!1);function j({onClick:a,onClose:i,disabledButton:n,title:l,message:o,disableButtonWithoutLoadingIcon:c}){const[e]=d(),[r,t]=f(p);return m.useEffect(()=>()=>{t(!1)},[]),s.jsx(x,{title:l??e("are_you_sure"),visible:r,onClose:()=>{t(!1),i?.()},children:s.jsxs("div",{className:"flex flex-col space-y-6",children:[!!o&&s.jsx("span",{className:"font-medium text-sm",children:o}),s.jsx(b,{behavior:"button",onClick:()=>a(),disabled:n,disableWithoutIcon:c,children:e("continue")})]})})}export{j as C,p as c};
