1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2406],{62406:function(e,t,r){r.r(t);var u=r(85893),a=r(67294),n=r(60111);t.default=()=>{let[e,t]=(0,a.useState)(0),[r,s]=(0,a.useState)(0),[c,l]=(0,a.useState)(0),[i,f]=(0,a.useState)("up"),[o,m]=(0,a.useState)(!0),[p,b]=(0,a.useState)(!1),d=(0,a.useRef)(null),h=(0,a.useRef)(null),k=(0,a.useRef)(null),_=(0,a.useRef)([]),S=(0,a.useCallback)(()=>{h.current&&d.current&&(l(h.current.clientWidth),s(d.current.clientWidth))},[]),g=(0,a.useCallback)(()=>{clearTimeout(k.current),k.current=setTimeout(()=>{t(e=>{let t=i,r=e;return e<=0&&(t="up"),e>=500&&(t="down"),"up"===t&&(r+=.3),"down"===t&&(r-=.3),f(t),r}),g()},20)},[i]),C=(0,a.useCallback)(()=>{clearTimeout(k.current)},[]);return(0,a.useEffect)(()=>{S(),g();let e=(0,n.Ld)("resize",S,{useRAF:!0,enableScrollInfo:!0});return _.current.push(e),()=>{C(),_.current.forEach(e=>e.unsubscribe())}},[S,g,C]),(0,u.jsx)("div",{className:"panorama-banner",ref:h,children:(0,u.jsx)("div",{className:"panorama-banner__image",ref:d,style:{backgroundImage:"url(/front_static/images/panorama_2.jpg)",transform:"translateX(".concat(e,"px)")}})})}}}]);
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.