import m from"./CQaFeM-A.js";import"./B-XSawTn.js";import"./D_HjwF_l.js";import{d as f,m as i,p as c,r as u}from"./CGuWR5z3.js";const y=r=>f({name:r,inheritAttrs:!1,props:{lazy:Boolean},emits:["error"],setup(o,{attrs:t,slots:s,expose:n,emit:p}){const a=c(),e=u(null);return n({refresh:()=>e.value?.refresh()}),()=>i(m,{name:r,lazy:o.lazy,props:t,scopeId:a?.vnode.scopeId,ref:e,onError:l=>{p("error",l)}},s)}});export{y as c};