import{c as e,j as o,N as n,d as s,e as i,f as t,g as l,h as a,i as d,k as r,l as c}from"./index-B3sZ9mqA.js";const C=({open:e,title:s,text:i,dismissable:t,openConnectionModalOnClose:l,setConnectionModalOpen:a,onNotificationClose:d})=>o.jsx("div",{children:o.jsxs(n,{size:"large",open:e,onClose:()=>{t&&(d(),l&&a())},"aria-labelledby":"form-dialog-title",disableCloseButton:!t,children:[o.jsx(n.Header,{id:"form-dialog-title",children:s}),o.jsx(n.Content,{style:{minWidth:"300px"},children:i?.toString()})]})}),p=e((e=>({open:s(e),openConnectionModalOnClose:!i(e)&&!t(e),title:l(e),text:a(e),dismissable:d(e)})),(e=>({onNotificationClose:()=>e(r()),setConnectionModalOpen:()=>e(c(!0))})))(C);export{C as NeoNotificationModal,p as default};
