import{h as i,R as d,g as s,O as m,z as b,c as h,B as g}from"./hMDby_vn.js";const k=Symbol.for("nuxt:client-only"),y=i({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(a,{slots:e,attrs:l}){const t=d(!1);s(()=>{t.value=!0});const c=m();return c&&(c._nuxtClientOnly=!0),g(k,!0),()=>{var r;if(t.value){const n=(r=e.default)==null?void 0:r.call(e);return n&&n.length===1?[b(n[0],l)]:n}const o=e.fallback||e.placeholder;if(o)return o();const f=a.fallback||a.placeholder||"",u=a.fallbackTag||a.placeholderTag||"span";return h(u,l,f)}}});export{y as _,k as c};
