const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/chunk-B3-LIlJw.js","assets/chunks/chunk-CRaMwer3.js","assets/chunks/chunk-D7HrI6pR.js","assets/chunks/chunk-WT4fnZC5.js","assets/static/onRenderClient.C5hpRi0h.css"])))=>i.map(i=>d[i]);
import{_ as c}from"./chunk-D7HrI6pR.js";import{r,j as l}from"./chunk-WT4fnZC5.js";import{b8 as i}from"./chunk-CRaMwer3.js";const m={all:255,foregrounds:2,backgrounds:1};let s=!1;async function p(a=t=>{s=t}){if(typeof window>"u")return;const{LumaSplatsThree:t}=await c(async()=>{const{LumaSplatsThree:e}=await import("./chunk-B3-LIlJw.js");return{LumaSplatsThree:e}},__vite__mapDeps([0,1,2,3,4]));i({LumaSplats:t}),a(!0)}function L({src:a,semantics:t="all",...e}){const[n,u]=r.useState(s);return r.useEffect(()=>{s||(async()=>(console.log("registering LumaSplats component. This should occur only once."),await p(o=>{u(o),s=o})))()},[]),n?l.jsx("lumaSplats",{semanticsMask:m[t],source:a,...e}):null}export{L as default};
//# sourceMappingURL=chunk-CuAwF1yc.js.map
