import{r as c,j as e,bA as l,L as s,cN as i,a3 as p,a5 as y}from"./index-_eM6l4Nf.js";const x=({isOpen:t,onClose:a,onSave:r,createdKey:o,...n})=>e.jsxs(l,{title:"Save the key",secondaryText:"Your API key has been generated.",isOpen:t,onClose:a,closeOnBackdropClick:!1,secondaryButtonProps:{children:"I saved the API key",onClick:r},closeOnEsc:!1,...n,children:[e.jsx(s,{sx:{wordBreak:"break-all"},children:e.jsx(i,{copyButton:!0,content:o,title:"API key"})}),e.jsx(s,{my:"20px",children:e.jsx(p,{content:"Save this API key securely. It will not be accessible afterwards.",type:y.warning})})]}),k=c.memo(x);export{k as A};
