1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1758],{1758:function(e,r,t){"use strict";t.r(r),t.d(r,{CursorLottie:function(){return d}});var n=t(5893),i=t(5035),u=t.n(i),o=t(7294),c=t(5152);let l=t.n(c)()(()=>t.e(8388).then(t.bind(t,9879)).then(e=>e.Player),{loadableGenerated:{webpack:()=>[9879]},ssr:!1}),s=e=>{let{lottieSrc:r,autoplay:t=!0,loop:i=!0,styles:u={},className:o}=e;return(0,n.jsx)("div",{className:o,children:(0,n.jsx)(l,{src:r,autoplay:t,loop:i,style:u})})};var a=t(1983);let d=e=>{let{lottie:r,video:t,variant:i="desktop"}=e,[c,l]=(0,o.useState)(!1),d=(0,o.useRef)(null),m=(0,o.useRef)({height:0,top:0}),f=(0,o.useRef)(null),w=(0,o.useRef)({x:0,y:0}),h=(0,o.useRef)({x:0,y:0}),x=(0,o.useRef)(Date.now()),p=(0,o.useRef)({x:0,y:0}),v=(0,o.useRef)(0),y=(0,o.useRef)(null),L=(0,o.useRef)("desktop"===i&&c||"mobile"===i&&!c),{fadeOutSectionHoverImage:_}=(0,a.LA)();return(0,o.useEffect)(()=>{let e=e=>{let{x:r,y:t}=e,n={x:r,y:t};return m.current&&window&&(n.y=t-(m.current.top-window.scrollY)),n},r=r=>{if(c)return;let t=r.clientX-window.innerWidth/2,n=r.clientY-m.current.height/2;p.current={x:t,y:n},h.current=e({x:t,y:n})},t=()=>{if(c)return;let{x:r,y:t}=p.current;h.current=e({x:r,y:t})},n=()=>{clearTimeout(y.current),y.current=setTimeout(()=>{u()},1e3)},u=()=>{o(),s()},o=()=>{let e="ontouchstart"in window||navigator.maxTouchPoints>0;if(e===c)return;let r="desktop"===i&&e||"mobile"===i&&!e;if(L.current=r,!r){if(e){if(cancelAnimationFrame(v.current),w.current={x:0,y:0},!f.current)return;f.current.style.transform="translate(0px, 0px)"}else cancelAnimationFrame(v.current),v.current=requestAnimationFrame(a);l(e)}},s=()=>
1{if(!d.current||!window)return;let e=d.current.getBoundingClientRect();if(!e)return;let r=(null==e?void 0:e.height)||0,t=((null==e?void 0:e.top)||0)+window.scrollY;m.current={height:r,top:t}},a=()=>{if(c)return;let e=Date.now(),r=Math.min(1e3,e-x.current),t={x:w.current.x+(h.current.x-w.current.x)*r*.007,y:w.current.y+(h.current.y-w.current.y)*r*.007};f.current&&(w.current=t,f.current.style.transform="translate(".concat(t.x,"px, ").concat(t.y,"px)"),x.current=e,v.current=requestAnimationFrame(a))};return u(),window.addEventListener("resize",n),c||L.current||(v.current=requestAnimationFrame(a),window.addEventListener("scroll",t),window.addEventListener("mousemove",r)),()=>{window.removeEventListener("resize",n),c&&L.current||(cancelAnimationFrame(v.current),window.addEventListener("scroll",t),window.removeEventListener("mousemove",r))}},[c,r,i,d.current,f.current,m.current]),(0,n.jsxs)(n.Fragment,{children:[!L.current&&(r.filename||t.filename)&&(0,n.jsx)("div",{ref:d,className:u().cursorLottie,children:(0,n.jsx)("div",{ref:f,className:[u().lottieWrap,_?u().hidden:null].join(" "),children:r&&r.filename&&r.filename.length>0?(0,n.jsx)(s,{lottieSrc:r.filename}):(0,n.jsx)("video",{autoPlay:!0,loop:!0,muted:!0,playsInline:!0,src:t.filename,className:u().video})})}),L.current&&(0,n.jsx)("div",{"data-hide":!0})]})}},5035:function(e){e.exports={cursorLottie:"CursorLottie_cursorLottie__NA928",lottieWrap:"CursorLottie_lottieWrap__UfWK4",hidden:"CursorLottie_hidden__dhGBw"}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.