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