import{r as e,z as o}from"./vendor-s2rfM_Vj.js";import{D as t,L as r}from"./t-r-vendor-gn7FMrPE.js";const l="_pdf-dialog_u6pwd_1",s=({visible:s,handleVisible:a,iframe:i})=>{const[n,d]=e.useState(!0);return o.jsxs(t,{className:l,style:{padding:0,overflow:"auto",backgroundColor:"var(--theme-black7)",backdropFilter:"blur(5px)",height:"fit-content"},width:"85vw",visible:s,placement:"center",mode:"modal",onClose:()=>a(!1),preventScrollThrough:!0,showOverlay:!0,theme:"default",footer:!1,header:!1,closeBtn:!1,closeOnEscKeydown:!0,closeOnOverlayClick:!0,confirmOnEnter:!1,destroyOnClose:!0,children:[o.jsx(r,{loading:n,size:"large",style:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)"}}),o.jsx("iframe",{title:"TodoListIframe",src:i,style:{opacity:.8},width:"100%",height:"640px",loading:"lazy",onLoad:()=>d(!1)})]})};export{s as default};
