import{r,c as o,h as s}from"./p-78e3ebb9.js";const t="iframe{border:none}.taro-webview{position:fixed;top:0;bottom:0;z-index:999;width:100%;height:100%}";const e=class{constructor(s){r(this,s);this.onLoad=o(this,"load",7);this.onError=o(this,"error",7);this.src=undefined}render(){const{src:r,onLoad:o,onError:t}=this;return s("iframe",{class:"taro-webview",onLoad:s=>{s.stopPropagation();o.emit({src:r})},onError:o=>{o.stopPropagation();t.emit({src:r})},src:r})}};e.style=t;export{e as taro_web_view_core};
//# sourceMappingURL=p-2049bdc4.entry.js.map