import{a as y,q as _}from"./solid.C2pQeiPA.js";import{r as g,c as p}from"./store.BMKvgBPi.js";import{h as N,j as S}from"./web.Bb1N--5L.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="8d2b8216-4ba4-4f66-9af8-51359dbb44b8",e._sentryDebugIdIdentifier="sentry-dbid-8d2b8216-4ba4-4f66-9af8-51359dbb44b8")}catch{}})();const d=new WeakMap;var m=e=>(o,s,i,{client:f})=>{if(!e.hasAttribute("ssr"))return;const u=f!=="only",I=u?N:S;let a,n={};if(Object.keys(i).length>0){if(f!=="only"){const t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,r=>r===e?NodeFilter.FILTER_SKIP:r.nodeName==="ASTRO-SLOT"?NodeFilter.FILTER_ACCEPT:r.nodeName==="ASTRO-ISLAND"?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_SKIP);for(;a=t.nextNode();)n[a.getAttribute("name")||"default"]=a}for(const[t,r]of Object.entries(i))n[t]||(n[t]=document.createElement("astro-slot"),t!=="default"&&n[t].setAttribute("name",t),n[t].innerHTML=r)}const{default:c,...l}=n,E=e.dataset.solidRenderId;if(d.has(e))d.get(e)(g({...s,...l,children:c}));else{const[t,r]=p({...s,...l,children:c});d.set(e,r);const T=I(()=>{const b=()=>y(o,t);return u?y(_,{get children(){return b()}}):b()},e,{renderId:E});e.addEventListener("astro:unmount",()=>T(),{once:!0})}};export{m as default}; //# sourceMappingURL=client.WZp4gl1N.js.map