1import{d as p,v as y,A as k,r as m,af as b,h as v,ag as g,u as T,ah as C,n as O,D as $}from"./BJhlU1rR.js";const A=Symbol.for("nuxt:client-only"),f="<div></div>",I=p({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:r,attrs:s}){const d=m(!1);return y(()=>{d.value=!0}),$(A,!0),a=>{var u;if(d.value)return(u=r.default)==null?void 0:u.call(r);const l=r.fallback||r.placeholder;if(l)return l();const t=a.fallback||a.placeholder||"",i=a.fallbackTag||a.placeholderTag||"span";return k(i,s,t)}}}),h=new WeakMap;function N(e){if(h.has(e))return h.get(e);const r={...e};return r.render?r.render=(s,d,a,l,t,i)=>{var u;if(l.mounted$??s.mounted$){const n=(u=e.render)==null?void 0:u.bind(s)(s,d,a,l,t,i);return n.children===null||typeof n.children=="string"?b(n):v(n)}return g(s._.vnode.el,f)}:r.template&&(r.template=` 2 <template v-if="mounted$">${e.template}</template> 3 <template v-else>${f}</template> 4 `),r.setup=(s,d)=>{var u;const a=T(),l=m(a.isHydrating===!1),t=O();if(a.isHydrating){const n={...t.attrs},c=D(t);for(const o in n)delete t.attrs[o];y(()=>{Object.assign(t.attrs,n),t.vnode.dirs=c})}y(()=>{l.value=!0});const i=((u=e.setup)==null?void 0:u.call(e,s,d))||{};return C(i)?Promise.resolve(i).then(n=>typeof n!="function"?(n||(n={}),n.mounted$=l,n):(...c)=>{if(l.value||!a.isHydrating){const o=n(...c);return o.children===null||typeof o.children=="string"?b(o):v(o)}return g(t==null?void 0:t.vnode.el,f)}):typeof i=="function"?(...n)=>l.value?v(i(...n),d.attrs):g(t==null?void 0:t.vnode.el,f):Object.assign(i,{mounted$:l})},h.set(e,r),r}function D(e){if(!e||!e.vnode.dirs)return null;const r=e.vnode.dirs;return e.vnode.dirs=null,r}export{I as C,N as c};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.