(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{6889:function(e,t,n){Promise.resolve().then(n.t.bind(n,7960,23)),Promise.resolve().then(n.bind(n,1605)),Promise.resolve().then(n.t.bind(n,2972,23)),Promise.resolve().then(n.t.bind(n,9282,23))},1605:function(e,t,n){"use strict";n.d(t,{ResonanceField:function(){return s}});var i=n(7437),r=n(2265);function o(e,t,n,i){return 1/i*Math.sin(.432*i*n+(1.618033988749*e+t)*Math.PI)}function s(){let e=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let t=e.current;if(!t)return;let n=t.getContext("2d");if(!n)return;let i=0,r=0,s=0,a=0,l=0,h=()=>{t.width=window.innerWidth,t.height=window.innerHeight};h();let c=e=>{r=e.clientX/window.innerWidth,s=e.clientY/window.innerHeight},d=()=>{let e=document.body.scrollHeight-window.innerHeight;a=e>0?window.scrollY/e:0};window.addEventListener("resize",h),document.addEventListener("mousemove",c),document.addEventListener("scroll",d);let u=()=>{n.clearRect(0,0,t.width,t.height);let e=Math.max(t.width,t.height)/50;n.strokeStyle="#d4af37",n.lineWidth=.5;for(let t=0;t<50;t++)for(let l=0;l<50;l++){let h;let c=t/50,d=l/50;h=0+o(c,d,i,1)+o(c,d,i,2)+o(c,d,i,3)+o(c,d,i,5)+o(c,d,i,8);let u=c-r,f=d-s;if(Math.abs(h*=(1+Math.sqrt(u*u+f*f))*(1+.2*Math.sin(a*Math.PI*2)))>.5){let i=t*e,r=l*e,o=Math.abs(h)*e*.3,s=h*Math.PI;n.beginPath(),n.moveTo(i+Math.cos(s)*o,r+Math.sin(s)*o);for(let e=0;e<3;e++){let t=s+e*Math.PI*2/3;n.lineTo(i+Math.cos(t)*o*(1-.2*e),r+Math.sin(t)*o*(1-.2*e))}n.stroke()}}let h=Math.sin(i*Math.PI/4);t.style.opacity=String(.08+.02*h),i+=.016,l=requestAnimationFrame(u)};return l=requestAnimationFrame(u),()=>{cancelAnimationFrame(l),window.removeEventListener("resize",h),document.removeEventListener("mousemove",c),document.removeEventListener("scroll",d)}},[]),(0,i.jsx)("canvas",{ref:e,"aria-hidden":"true",className:"fixed inset-0 -z-10 pointer-events-none"})}},7960:function(){},9282:function(e){e.exports={style:{fontFamily:"'__Inter_f367f3', '__Inter_Fallback_f367f3'",fontStyle:"normal"},className:"__className_f367f3",variable:"__variable_f367f3"}}},function(e){e.O(0,[246,972,971,117,744],function(){return e(e.s=6889)}),_N_E=e.O()}]);