!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]="58b559f8-bdec-4f5c-9480-45bab2ad7e92",e._sentryDebugIdIdentifier="sentry-dbid-58b559f8-bdec-4f5c-9480-45bab2ad7e92")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6680],{44758:function(e,t,n){n.d(t,{C:function(){return y}});var r=n(95235),o=n(82269),i=n(13980),a=n.n(i),s=n(82731),c=n(53770),u=n(52322),d=n(39878),l=n(60597);const f=["entryId","anchorOffset","children","className"];function p(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 m(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),[y,b]=(0,o.useState)(1),v=(0,o.useRef)(null),g=(0,o.useRef)(null),w=(0,o.useRef)(),x=(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),b(c),p(a),h(a{x();const e=()=>{w.current&&clearTimeout(w.current),w.current=setTimeout(x,200)};window.addEventListener("resize",e);const t=w.current;return()=>{clearTimeout(t),window.removeEventListener("resize",e)}}),[x]),(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:y,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=6680.bfa1e5dee1ebca0c.js.map