(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[790],{1677:function(e,t,n){Promise.resolve().then(n.bind(n,806)),Promise.resolve().then(n.t.bind(n,2972,23))},806:function(e,t,n){"use strict";n.d(t,{default:function(){return u}});var s=n(7437),i=n(9285),r=n(6496),a=n(1448),o=n(2265),l=n(9344),c=n(5163);function h(e){let{w:t=12,h:n=7,nx:r=70,ny:l=42}=e,c=(0,o.useRef)(null),h=(0,o.useMemo)(()=>new a.Object3D,[]),u=(0,o.useMemo)(()=>{let e=[];for(let s=0;s{let t=e.clock.elapsedTime,n=e.pointer.x*(d.width/2),s=e.pointer.y*(d.height/2),i=c.current;if(!i)return;let r=0;for(let e of u){let a=e.x-n,o=e.y-s,l=Math.sqrt(a*a+o*o),c=.08*Math.sin(.9*e.x+1.2*t)+.08*Math.cos(1.1*e.y-1*t)+.06*Math.sin((e.x+e.y)*.35+.75*t)+.42*Math.exp(-(.9*l)),u=1+1.2*Math.exp(-(1.2*l));h.position.set(e.x,e.y,c),h.scale.setScalar(.055*u),h.updateMatrix(),i.setMatrixAt(r,h.matrix),r++}i.instanceMatrix.needsUpdate=!0}),(0,s.jsxs)("instancedMesh",{ref:c,args:[void 0,void 0,r*l],children:[(0,s.jsx)("sphereGeometry",{args:[1,6,6]}),(0,s.jsx)("meshStandardMaterial",{color:new a.Color("#f3e9c6"),emissive:new a.Color("#f6c945"),emissiveIntensity:.25,roughness:.6,metalness:.05})]})}function u(e){let{className:t}=e;return(0,s.jsx)("div",{className:t,children:(0,s.jsx)(r.Xz,{dpr:[1,2],camera:{position:[0,0,8],fov:52,near:.1,far:50},gl:{antialias:!0,alpha:!0,powerPreference:"high-performance"},children:(0,s.jsxs)(o.Suspense,{fallback:null,children:[(0,s.jsx)("ambientLight",{intensity:.65}),(0,s.jsx)("directionalLight",{position:[3,4,4],intensity:.9}),(0,s.jsx)("group",{rotation:[-.35,0,0],children:(0,s.jsx)(h,{})}),(0,s.jsx)(l.x,{children:(0,s.jsx)(c.d,{intensity:.55,luminanceThreshold:.15,luminanceSmoothing:.7})})]})})})}}},function(e){e.O(0,[689,723,972,378,971,117,744],function(){return e(e.s=1677)}),_N_E=e.O()}]);