1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4362],{94362:(e,s,n)=>{n.r(s),n.d(s,{ResponsiveCarousel:()=>v});var t=n(37876),r=n(14232),i=n(19357),l=n(58103),o=n.n(l),a=n(52366);let c={marginTop:0},u=e=>{var s;return e?((null===(s=e.getElementsByClassName("club-card__picture-wrapper--medium-static")[0])||void 0===s?void 0:s.clientHeight)||0)+Math.max(...Array.prototype.slice.call(e.getElementsByClassName("club-card__content club-card__content--medium-static")).map(e=>e.clientHeight)):100},d=r.memo(e=>{let{onClick:s,currentSlide:n,slideCount:i}=e,[l,o]=(0,r.useState)(3),a=(0,r.useCallback)(()=>{let e=window.innerWidth;return e<768?o(1):e<983?o(2):o(3)},[]);return(0,r.useEffect)(()=>(a(),window.addEventListener("resize",a),()=>{window.removeEventListener("resize",{})}),[a]),(0,t.jsx)("button",{onClick:s,style:c,disabled:n+l>=i,className:"btn btn--link responsive-carousel__btn responsive-carousel__btn--next",children:(0,t.jsx)("i",{className:"icon-angle-right responsive-carousel__btn-icon"})})}),m=e=>{let{onClick:s,currentSlide:n}=e;return(0,t.jsx)("button",{onClick:s,style:c,disabled:0===n,className:"btn btn--link responsive-carousel__btn responsive-carousel__btn--previous",children:(0,t.jsx)("i",{className:"icon-angle-left responsive-carousel__btn-icon"})})},p=e=>{let{desktop:s,mobile:n,tablet:r,slidesToScroll:i}=e;return{dots:!1,infinite:!1,speed:300,slidesToShow:s||3,slidesToScroll:i||1,nextArrow:(0,t.jsx)(d,{}),prevArrow:(0,t.jsx)(m,{}),responsive:[{breakpoint:983,settings:{slidesToShow:r||2,slidesToScroll:i||1}},{breakpoint:767,settings:{slidesToShow:n||1,slidesToScroll:i||1}}]}},_={},v=r.memo(e=>{let{items:s=[],perPage:n=_,spacing:l=2,children:c,fixedHeight:d}=e,m=(0,r.useMemo)(()=>p(n),[n]),[v,b]=(0,r.useState)("auto"),h=(0,r.useRef)(null),w=(0,r.useCallback)(()=>{setTimeout(()=>b(u(h.current)),200)},[]);return(0,r.useEffect)(()=>(d&&(w(),window.addEventListener("resize",w)),()=>{window.removeEventListener("resize",{})}),[w,d]),(0,t.jsx)("div",{className:"responsive-carousel__container",ref:h,children:(0,t.jsx)(i.A,{...m,className:o()(["responsive-carousel__spacer",{"responsive-carousel__reduced-margin":2===l}]),children:(0,a.$r)(s).map(e=>{let s=Math.floor(999999*Math.random());return(0,t.jsx)("div",{className:"responsive-carousel__container-item",style:{margin:"0 ".concat(4*l,"px")},children:r.cloneElement(c(e),{height:v})},"".concat(e.slug).concat(s))})})})})}}]);
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.