!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="bbfd3aa2-68dc-46c2-816a-85ca39c27f51",e._sentryDebugIdIdentifier="sentry-dbid-bbfd3aa2-68dc-46c2-816a-85ca39c27f51")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7419],{46221:function(e,n,t){t.r(n),t.d(n,{default:function(){return r.D}});var r=t(82306);t(46533),t(82091),t(52049),t(2784),t(52322),t(80865),t(84004),t(29650),t(72692)},68054:function(e,n,t){function r(e,n){return Math.random()*(n-e)+e}t.d(n,{r:function(){return r}})},2776:function(e,n,t){t.d(n,{u:function(){return o}});var r=t(2784),u=t(17072);function o(e){let{source:n,loop:t=!0}=e;const{audioMuted:o,setAudioMuted:c,modalOpen:a}=(0,u.c)(),i=(0,r.useRef)(null),{0:f,1:s}=(0,r.useState)(!1);i.current||"function"!==typeof Audio||(i.current=new Audio(n),i.current.load()),(0,r.useEffect)((()=>{const e=i.current;function n(){s(!0)}function t(){c(!0),e.currentTime=0,e.pause()}return window.addEventListener("beforeunload",t),e.addEventListener("canplaythrough",n),()=>{window.removeEventListener("beforeunload",t),e.removeEventListener("canplaythrough",n)}}),[c]),(0,r.useEffect)((()=>{i.current.loop=t}),[t]),(0,r.useEffect)((()=>{f&&(a?i.current.pause():i.current[o?"pause":"play"]())}),[o,f,a])}},99083:function(e,n,t){t.d(n,{u:function(){return u}});var r=t(2784);function u(e){let{ref:n,callback:t,dependencies:u=[]}=e;if(!n||n&&!Object.prototype.hasOwnProperty.call(n,"current"))throw new TypeError("ref agrument must be a React ref.");if(!t||"function"!==typeof t)throw new TypeError("callback argument must be a function.");u&&!Array.isArray(u)&&console.error("dependencies argument must be an array.");const o=(0,r.useCallback)((e=>{t(e)}),[t]);(0,r.useEffect)((()=>{let e=null;const t=n.current,r=new IntersectionObserver((n=>{let[t]=n;t.isIntersecting?e=requestAnimationFrame(u):cancelAnimationFrame(e)}),{rootMargin:"0px 0px 0px 0px",threshold:0});function u(){const n=window.innerHeight,{y:r,height:c}=t.getBoundingClientRect();o((n-r)/(n+c)),e=requestAnimationFrame(u)}return r.observe(t),()=>{r.unobserve(t),cancelAnimationFrame(e)}}),[o,...u])}}}]); //# sourceMappingURL=7419.fcb4241a72fe5689.js.map