import{j as o}from"./tanstack-1.0.74-aU0azVkW.js";import{D as l,P as r,a as c,b as d,c as g,d as m,B as x}from"./ConfirmDialog-1.0.74-CXu4CqK2.js";const j=n=>{const{title:a,message:s,open:t,setOpen:e,onConfirm:i}=n;return o.jsxs(l,{open:t,onClose:()=>e(!1),PaperComponent:r,"aria-labelledby":"confirm-dialog",closeAfterTransition:!1,children:[o.jsx(c,{sx:{marginTop:"10px",cursor:"move"},id:"draggable-dialog-title",children:a}),o.jsx(d,{children:o.jsx(g,{component:"div",children:s})}),o.jsx(m,{sx:{marginRight:"15px",marginBottom:"15px"},children:o.jsx(x,{variant:"contained",onClick:()=>{e(!1),i!==void 0&&i()},children:"OK"})})]})};export{j as A};
