import{cM as o,j as e,T as t,B as r,L as m,E as l}from"./main-TIUJvpaR.js";import{u as g}from"./use-admin-settings-BMDiXI8M.js";import{S as u}from"./section-helper-C7SXMwEZ.js";function f(){const s=o("/admin/settings/email/:page"),{data:a}=g();if(a==null?void 0:a.server.mail_setup)return null;const i=(s==null?void 0:s.params.page)==="outgoing";return e.jsx(u,{color:"neutral",className:"mb-24",leadingIcon:e.jsx(l,{size:"xs",className:"text-danger"}),title:e.jsx(t,{message:"Outgoing email is not configured"}),description:e.jsx(t,{message:"Please configure outgoing email or app emails will not be sent out properly. <a>Fix now</a>",values:{a:n=>i?e.jsx(e.Fragment,{}):e.jsx(r,{elementType:m,variant:"outline",size:"xs",display:"flex",className:"mt-10 max-w-max",to:"/admin/settings/email/outgoing#provider",children:n})}})})}export{f as O};
