import{r as s,j as n}from"./vendor-rThclpOQ.js";const f=t=>{const r=s.useRef(null);return s.useEffect(()=>{if(!r.current)return;const e=r.current.querySelector("iframe");e&&(e.style.width="100%",e.style.height="100%",e.style.border="none")},[t.src]),n.jsx("div",{ref:r,className:"relative h-full w-full overflow-hidden",dangerouslySetInnerHTML:{__html:t.src||""}})};export{f as default};
