import{n,r as c,N as d,j as g,b3 as e,b4 as l,K as h}from"./index.qnLB2_zl.js";const m=n("iframe",{target:"e1q9bkxk0"})(({theme:o,disableScrolling:r})=>({colorScheme:"normal",border:"none",padding:o.spacing.none,margin:o.spacing.none,overflow:r?"hidden":void 0}));function a(o){return h(o)||o===""?void 0:o}function F({element:o,width:r}){const t=o.hasWidth?o.width:r,s=a(o.src),i=d(s)?void 0:a(o.srcdoc);return g(m,{className:"stIFrame","data-testid":"stIFrame",allow:e,disableScrolling:!o.scrolling,src:s,srcDoc:i,width:t,height:o.height,scrolling:o.scrolling?"auto":"no",sandbox:l,title:"st.iframe"})}const f=c.memo(F);export{f as default};
