!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8ff81a5c-b07b-45b8-a38b-3b0d425ab081",e._sentryDebugIdIdentifier="sentry-dbid-8ff81a5c-b07b-45b8-a38b-3b0d425ab081")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4977],{10932:function(e,t,n){n.d(t,{C:function(){return h}});var r=n(95235),o=n(82269),i=n(13980),a=n.n(i),s=n(82731),c=n(17844),u=n(52322),d=n(13157);const l=["entryId","anchorOffset","children","className"];function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t{let{id:t,margin:n=100}=e;(0,r.useEffect)((()=>{if(!t)return;const e=document.querySelector(`#${t}`),r=window.location.hash;if(!e||r!==`#${t}`)return;const o=setTimeout((()=>{let t=e,r=0;for(;t.offsetParent!==document.body;)r+=t.offsetTop,t=t.parentElement;t.offsetParent===document.body&&(r+=t.offsetTop),e.tabindex=-1,e.focus({preventScroll:!0}),e.removeAttribute("tabindex"),window.scroll(0,r-n)}),500);return()=>{clearTimeout(o)}}),[])}},30553:function(e,t,n){n.d(t,{R:function(){return a}});var r=n(52322),o=n(2784);function i(e=[]){if(!e||!Array.isArray(e)||!e.length)return;const t=[];return e.forEach((e=>{"string"==typeof e&&t.push(e)})),t.flat().join(" ")}function a({speed:e=50,reducedMotionSpeed:t=20,prefersReducedMotion:n=!1,playing:a=!0,reverse:c,children:u,className:d,...l}){const[f,p]=(0,o.useState)(0),[m,h]=(0,o.useState)(0),[b,y]=(0,o.useState)(1),v=(0,o.useRef)(null),g=(0,o.useRef)(null),_=(0,o.useRef)(),w=(0,o.useCallback)((()=>{var r,o;const i=(null==(r=v.current)?void 0:r.clientWidth)||0,a=(null==(o=g.current)?void 0:o.clientWidth)||0,s=n?t:e;let c=2*Math.ceil(i/a)-1;(c<1||isNaN(c))&&(c=1),y(c),p(a),h(a{w();const e=()=>{_.current&&clearTimeout(_.current),_.current=setTimeout(w,200)};window.addEventListener("resize",e);const t=_.current;return()=>{clearTimeout(t),window.removeEventListener("resize",e)}}),[w]),(0,r.jsxs)("div",{...l,ref:v,className:i(["marquee",f>0&&"marquee--ready",c&&"marquee--reverse",d]),style:{"--marquee-width":f,"--duration":m+"s","--animation-state":a?"running":"paused"},children:[(0,r.jsx)("div",{ref:g,className:"marquee__slide",children:u}),(0,r.jsx)(s,{neededAmount:b,children:u})]})}function s({children:e,neededAmount:t}){return(0,r.jsx)(r.Fragment,{children:Array.from({length:t}).map(((t,n)=>(0,r.jsx)("div",{className:"marquee__slide",children:e},n)))})}}}]); //# sourceMappingURL=4977.aac842fc61ce1a6b.js.map