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