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