1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2292],{10900:e=>{e.exports={container:"LinkWithArrow_container__9r0mz",image:"LinkWithArrow_image__7Wirb"}},12160:(e,t,r)=>{"use strict";function a(e){try{var t;let r=e();if((t=r)instanceof o||t instanceof l)return r;return i(r)}catch(e){return n(e)}}r.d(t,{_q:()=>n,o4:()=>a,ok:()=>i});class o{isOk(){return!0}isErr(){return!1}map(e){return a(()=>e(this.value))}unwrap(){return this.value}constructor(e){this.tag="ok",this.value=e}}function i(e){return new o(e)}class l{isOk(){return!1}isErr(){return!0}map(e){return n(this.error)}unwrap(){throw this.error}constructor(e){this.tag="err",this.error=e}}function n(e){return new l(e instanceof Error?e:Error(String(e)))}},17932:(e,t,r)=>{"use strict";async function a(e,t){return new Promise(r=>{let a=new IntersectionObserver(e=>{r(e.every(e=>e.isIntersecting)),a.disconnect()},t);a.observe(e)})}r.d(t,{c:()=>a})},25595:(e,t,r)=>{"use strict";function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Value is nullable";if(null==e)throw Error(t);return e}r.d(t,{t:()=>a})},29100:e=>{e.exports={"of-image":"ImageWithSets_of-image__wSWcT","of-image__picture":"ImageWithSets_of-image__picture__7Bplo","of-image__img":"ImageWithSets_of-image__img__0dUWu"}},31435:(e,t,r)=>{"use strict";r.d(t,{N:()=>a});var a=function(e){return e[e.UltraWide21to9=2.33]="UltraWide21to9",e[e.Wide16to9=1.78]="Wide16to9",e[e.Default3to2=1.5]="Default3to2",e[e.Square=1]="Square",e}({})},34366:(e,t,r)=>{"use strict";r.d(t,{Y:()=>s});var a=r(68495),o=r(48734),i=r(12160),l=r(47877),n=r(51218);let s=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,s=(0,a.u)(r)?r:t;return(0,o.O)(e).reduce((e,r)=>{let[a,o]=r,c=(0,i.o4)(()=>({lightModeUrl:n.g.buildImgSrc({...o,src:t}).unwrap(),darkModeUrl:n.g.buildImgSrc({...o,src:s}).unwrap()}));return c.isErr()?(0,l.z3)(c.error.message,c.error):e[a]={...o,...c.value},e},{mobile:{...e.mobile,lightModeUrl:"",darkModeUrl:""},tabletPortrait:{...e.mobile,lightModeUrl:"",darkModeUrl:""},tabletLandscape:{...e.mobile,lightModeUrl:"",darkModeUrl:""},desktop:{...e.mobile,lightModeUrl:"",darkModeUrl:""}})}},35850:e=>{e.exports={list:"HorizontalScrollingContainer_list__gGTVj",listItem:"HorizontalScrollingContainer_listItem__WDLz_",arrowButtonLeft:"HorizontalScrollingContainer_arrowButtonLeft__bsN3I",arrowButtonRight:"HorizontalScrollingContainer_arrowButtonRight__tHBpg",lastItem:"HorizontalScrollingContainer_lastItem__EtoGM",container:"HorizontalScrollingContainer_container__hfrwx",containerWithLimit:"HorizontalScrollingContainer_containerWithLimit__sA0Dt",visibleChunk:"HorizontalScrollingContainer_visibleChunk__TbRoM"}},45585:(e,t,r)=>{"use strict";r.d(t,{n:()=>_});var a=r(76235),o=r(28019),i=r(47451),l=r(29100),n=r.n(l),s=r(38645),c=r(6738),d=r(51218),u=r(47877),m=r(26998),h=r(81351),g=r.n(h),b=r(48734),p=r(6757);function f(){let e=(0,a._)(["IMAGE_NOT_AVAILABLE"]);return f=function(){return e},e}let _=e=>{let{alt:t="",classNames:r="",image:a,isPreloaded:l=!1,placeholderImagePath:h="https://images.onefootball.com/cw/icons/placeholder_image-light.svg"}=e,_=(0,c.l)(),w=(0,s.W)(),[k,v]=(0,i.useState)(!0),{t:S}=(0,m.A)("web-payments"),M=(0,i.useMemo)(()=>{if("string"!=typeof a)return a;{let e=d.g.buildImageSourceSetsFromUrl(a);return e.isErr()?((0,u.z3)(e.error.message,e.error),null):e.value}},[a]),U="auto"!==w.uiMode&&"dark"===w.schema?"darkModeUrl":"lightModeUrl",x=(0,i.useCallback)(e=>e<=0?"0":"".concat(1/e*100,"%"),[]),I=(0,i.useCallback)(()=>{v(!1)},[]),j=(0,i.useCallback)(()=>{v(!0)},[]),L=(0,i.useMemo)(()=>M?(0,b.O)(M).flatMap(e=>{let[,t]=e;if("auto"!==w.uiMode)return[(0,o.jsx)("source",{media:t.media,srcSet:t[U]},t.media)];{let e="".concat(t.media," and ").concat(p.T),r="".concat(t.media," and ").concat(p.z);return[(0,o.jsx)("source",{media:e,srcSet:t.darkModeUrl},e),(0,o.jsx)("source",{media:r,srcSet:t.lightModeUrl},r)]}}):[],[M,w.uiMode,U]);return((0,i.useEffect)(()=>{"unknown"!==_&&(null==M?void 0:M[_][U])!=null&&v(!0)},[M,U,_]),M)?(0,o.jsxs)(o.Fragment,{children:[l&&(0,o.jsx)(g(),{children:(0,b.O)(M).map(e=>{let[,t]=e;return(0,o.jsx)("link",{rel:"preload",as:"image",media:t.media,href:t[U]},t[U])})}),(0,o.jsx)("div",{className:n()["of-image"],style:{"--padding-bottom-mobile":x(M.mobile.ratio),"--padding-bottom-tablet-portrait":x(M.tabletPortrait.ratio),"--padding-bottom-tablet-landscape":x(M.tabletLandscape.ratio),"--padding-bottom-desktop":x(M.desktop.ratio)},children:(0,o.jsx)("picture",{className:n()["of-image__picture"],
1children:k?(0,o.jsxs)(o.Fragment,{children:[L,(0,o.jsx)("img",{onError:I,onLoad:j,alt:t,decoding:l?"sync":"async",height:M.mobile.width/M.mobile.ratio,loading:l?"eager":"lazy",src:M.mobile[U],width:M.mobile.width,className:[n()["of-image__img"],r].join(" "),...{importance:l?"high":"low"}})]}):(0,o.jsx)("img",{alt:S(f()),src:h,className:[n()["of-image__img"],r].join(" "),loading:"lazy"})})})]}):(0,o.jsx)(o.Fragment,{})}},48270:(e,t,r)=>{"use strict";r.d(t,{I:()=>i,O:()=>s});var a=r(69832),o=r(31435);let i={mobile:280,tabletPortrait:336,tabletLandscape:620,desktop:840},l={media:a.Wi.desktop,width:i.desktop,ratio:o.N.Default3to2},n={media:a.Wi.tabletLandscape,width:i.tabletLandscape,ratio:o.N.Default3to2},s={desktop:l,tabletLandscape:n,tabletPortrait:{media:a.Wi.tabletPortrait,width:i.tabletPortrait,ratio:o.N.Default3to2},mobile:{media:a.Wi.mobile,width:i.mobile,ratio:o.N.Default3to2}}},48734:(e,t,r)=>{"use strict";function a(e){let t=[];for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push([r,e[r]]);return t}r.d(t,{O:()=>a})},51218:(e,t,r)=>{"use strict";r.d(t,{g:()=>c});var a=r(12160),o=r(48270),i=r(31435),l=r(25595),n=r(42891);let s=RegExp("^(?:[a-z+]+:)?//","i"),c={buildImageSourceSetsFromUrl(e){let{mobile:t,tabletPortrait:r,tabletLandscape:i,desktop:l}=o.O;return(0,a.o4)(()=>({mobile:this.buildImgSrc({...o.O.mobile,src:e}).unwrap(),tabletPortrait:this.buildImgSrc({...o.O.tabletPortrait,src:e}).unwrap(),tabletLandscape:this.buildImgSrc({...o.O.tabletLandscape,src:e}).unwrap(),desktop:this.buildImgSrc({...o.O.desktop,src:e}).unwrap()})).map(e=>({mobile:{...t,lightModeUrl:e.mobile,darkModeUrl:e.mobile},tabletPortrait:{...r,lightModeUrl:e.tabletPortrait,darkModeUrl:e.tabletPortrait},tabletLandscape:{...i,lightModeUrl:e.tabletLandscape,darkModeUrl:e.tabletLandscape},desktop:{...l,lightModeUrl:e.desktop,darkModeUrl:e.desktop}}))},buildImgSrc(e){let{quality:t,ratio:r=i.N.Default3to2,src:o,width:c}=e;if(!s.test(o))return(0,a.ok)(o);let d=o.startsWith(n.ZU.imageServiceUrl);return(0,a.o4)(()=>d?(0,l.t)(new URL(o).searchParams.get("image")):encodeURIComponent(o)).map(e=>{let o=new URL("".concat(n.ZU.imageServiceUrl,"/transform"));return(o.searchParams.set("w",c.toString()),r<=0)?(0,a._q)("ratio should be greater than 0"):(o.searchParams.set("h",Math.round(c/r).toString()),void 0!==t&&o.searchParams.set("q",t.toString()),o.searchParams.set("dpr","2"),o.searchParams.set("image",e),o.href)})}}},57529:(e,t,r)=>{"use strict";r.d(t,{Y:()=>g});var a=r(28019),o=r(19978),i=r(19157),l=r.n(i),n=r(97149),s=r(32965),c=r(97812),d=r(10900),u=r.n(d),m=r(50582),h=r.n(m);let g=e=>{let{trackingEvents:t,urlPath:r,name:i,className:d}=e;return(0,a.jsxs)(l(),{onClick:()=>{o.Pw.sendXpaTracking(t,s.Bx.EVENT_CLICK)},href:r,className:h()("title-7-medium",u().container,d),children:[i,(0,a.jsx)(n.o,{"data-testid":"arrow",className:u().image,...c.b})]})}},77971:(e,t,r)=>{"use strict";r.d(t,{r:()=>k});var a=r(76235),o=r(28019),i=r(47451),l=r(47877),n=r(26998),s=r(21209),c=r(6738),d=r(72173),u=r(17932),m=r(35850),h=r.n(m),g=r(50582),b=r.n(g),p=r(55756),f=r(97149);function _(){let e=(0,a._)(["CAROUSEL_MOVE_BACK"]);return _=function(){return e},e}function w(){let e=(0,a._)(["CAROUSEL_MOVE_FORWARD"]);return w=function(){return e},e}let k=e=>{let{desktopChunkItemsCount:t=3,mobileChunkItemsCount:r=1,tabletPortraitChunkItemsCount:a=2,tabletLandscapeChunkItemsCount:m=3,autoScrollTimeoutMs:g,items:k,isDark:v=!1,forTeamPage:S=!1}=e,M=(0,c.l)(),{t:U}=(0,n.A)("web-payments"),[x,I]=(0,i.useState)(),[j,L]=(0,i.useState)(),[C,N]=(0,i.useState)(),E=(0,i.useRef)(null),[W,y]=(0,i.useState)(0),O=k.length,P=O%t,z=0===P?0:t-P,R=Math.ceil(O/t),A=Array(z).fill("");(0,i.useEffect)(()=>{let e="mobile"===M,t=(0,d.R)(g)&&e,r=(0,d.R)(x)||(0,d.R)(j)||(0,d.R)(C);if(!t||r)return;let a=setInterval(()=>{(0,p.w)(E.current)||Promise.all(Array.prototype.map.bind(E.current.children)(e=>(0,u.c)(e,{threshold:.7}))).then(e=>{var t;let r;if((0,p.w)(E.current))return;let a=e.lastIndexOf(!0);r=a===k.length-1?0:a+1,null==(t=E.current.children[r])||t.scrollIntoView({behavior:"smooth",inline:"center",block:"nearest"})}).catch(e=>{(0,l.z3)(e)})},g);return()=>{clearInterval(a)}},[g,k,x,j,C,M]),(0,i.useEffect)(()=>{y(0),(0,p.w)(E.current)||E.current.scroll({top:0,left:0,behavior:"smooth"})},[k]);let B=(0,i.useCallback)(()=>{y(W+1)},[W,y]),D=(0,i.useCallback)(()=>{y(W-1)},[W,y]),H=(0,i.useMemo)(()=>k.map((e,t)=>(0,o.jsx)("li",{className:b()(h().listItem,e.liClassName),onMouseEnter:()=>{I(t)},onMouseLeave:()=>{I(void 0)},onFocus:()=>{L(t)},onBlur:()=>{L(void 0)},onTouchStart:()=>{N(t)},onTouchEnd:()=>{N(void 0)},children:e.element},e.key)),[k]),T=(0,i.useMemo)(()=>A.map((e,t)=>(0,o.jsx)("li",{className:h().lastItem},t)),[A]);return(0,o.jsxs)("div",{className:b()(h().container,!S&&h().containerWithLimit),style:{"--offset":W,"--chunks-count":R,"--total-items-count":O+z,"--hor-scr-container-visible-items-count-mobile":r,"--hor-scr-container-visible-items-count-tablet-portrait":a,"--hor-scr-container-visible-items-count-tablet-landscape":m},children:[W>0&&(0,o.jsxs)(s.$,{variant:"icon-only",onClick:D,className:h().arrowButtonLeft,children:[(0,o.jsx)("span",{className:"screen-reader-only",children:U(_())}
1),(0,o.jsx)(f.o,{width:42,height:42,alt:"",src:v?"https://images.onefootball.com/cw/icons/simple-arrow-left-dark-v2.svg":"https://images.onefootball.com/cw/icons/simple-arrow-left-light-v2.svg",darkModeSrc:"https://images.onefootball.com/cw/icons/simple-arrow-left-dark-v2.svg"})]}),(0,o.jsx)("div",{className:h().visibleChunk,children:(0,o.jsxs)("ul",{className:h().list,ref:E,children:[H,T]})}),W!==R-1&&(0,o.jsxs)(s.$,{variant:"icon-only",onClick:B,className:h().arrowButtonRight,children:[(0,o.jsx)("span",{className:"screen-reader-only",children:U(w())}),(0,o.jsx)(f.o,{width:42,height:42,alt:"",src:v?"https://images.onefootball.com/cw/icons/simple-arrow-right-dark.svg":"https://images.onefootball.com/cw/icons/simple-arrow-right-light.svg",darkModeSrc:"https://images.onefootball.com/cw/icons/simple-arrow-right-dark.svg"})]})]})}},97812:(e,t,r)=>{"use strict";r.d(t,{b:()=>a});let a={width:24,height:24,alt:"",src:"https://images.onefootball.com/cw/icons/simple-arrow-right-light.svg",darkModeSrc:"https://images.onefootball.com/cw/icons/simple-arrow-right-dark.svg"}}}]);
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.