import{d as m,e as p,r as t,h as s,B as v,Y as h,w as x,U as g,dk as k,o as w,g as d,t as B}from"./index.789dd106.js";const R={class:"frame"},y=["src"],S=m({__name:"index",setup(C){var f,i;const o=p(),a=t(!1),c=t(null),r=t("");(f=s(o.meta))!=null&&f.frameSrc&&(r.value=(i=s(o.meta))==null?void 0:i.frameSrc);function _(){a.value=!1}function u(){g(()=>{const e=s(c);if(!e)return;const n=e;n.attachEvent?n.attachEvent("onload",()=>{_()}):e.onload=()=>{_()}})}return v(()=>{a.value=!0,u()}),(e,n)=>{const l=k;return w(),h(l,{show:a.value},{default:x(()=>[d("div",R,[d("iframe",{src:r.value,class:"frame-iframe",ref_key:"frameRef",ref:c},null,8,y)])]),_:1},8,["show"])}}});const I=B(S,[["__scopeId","data-v-508d955d"]]);export{I as default};
