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",a=({visible:a,handleVisible:s,iframe:n})=>{const[i,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:a,placement:"center",mode:"modal",onClose:()=>s(!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:i,size:"large",style:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)"}}),o.jsx("iframe",{title:"tax",src:n,width:"100%",height:"640px",loading:"lazy",onLoad:()=>d(!1)})]})};export{a as default};
