PageSourceSearch

https://www.laliga.com/_next/static/chunks/6196-739b6510acbf1305.js

js laliga.com collected 2026-10-01 09:03:46 UTC 74,007 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6196],{26562:function(e,t,n){n.d(t,{Z:function(){return appslaliga}});var a=n(5152),r=n.n(a),o=n(67294),s=n(17592),i=n(12763),l=n(39230),c=n(98337),d=n(59499),p=n(4730),u=n(50891),g=n(3327),y=n(85893),h=["className","style","children"],m=["className","Dark","style","children"];function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(n),!0).forEach(function(t){(0,d.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var styledTag=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"div";return function(n){var a=n.className,r=n.style,s=n.children,i=(0,p.Z)(n,h);return o.createElement(t,_objectSpread({className:(0,u.cx)(e,a),style:r},(0,g.R)(i)),s)}},f=(0,u.iv)({width:"100%",maxWidth:"1296px",margin:"0 auto",position:"relative",desktopDown:{padding:"15px"},tabletPortraitDown:{padding:"10px"}});styledTag(f);var x=(0,u.cx)(f,(0,u.iv)({marginTop:"24px",width:"100%","&[data-dark=true]":{color:"contrasting.white"}})),AppsLaLigaWrap=function(e){var t=e.className,n=e.Dark,a=e.style,r=e.children,o=(0,p.Z)(e,m);return(0,y.jsx)("div",_objectSpread(_objectSpread({className:(0,u.cx)(x,t),"data-dark":n?"true":"false",style:a},(0,g.R)(o)),{},{children:r}))},b=styledTag((0,u.iv)({width:"100%",display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"1rem",tabletPortraitDown:{marginBottom:"10px"},mobilePortraitDown:{flexDirection:"column"}})),j=styledTag((0,u.iv)({textAlign:"center","& p":{marginBottom:"0.5rem"}})),v=styledTag((0,u.iv)({"& > div, & img":{height:"34px",width:"auto",display:"inline-block",marginRight:"16px","&:last-child":{marginRight:"2px"}},tabletPortraitDown:{"& img":{height:"30px",width:"auto","& + img":{marginLeft:"5px"}}}})),_=n(93324),C=r()(function(){return Promise.all([n.e(5531),n.e(4834)]).then(n.bind(n,34834))},{ssr:!1,loadableGenerated:{webpack:function(){return[34834]}}}),appslaliga=function(e){var t=e.hideButtons,n=e.Title,a=e.delay,r=e.initialSlide,o=e.Dark;return(0,y.jsxs)(AppsLaLigaWrap,{Dark:o,children:[(0,y.jsxs)(b,{children:[(0,y.jsx)(_.Z,{tagType:"h2",Font:i.C.typography.headline.l,FontColor:o?i.C.palette.contrasting.white:i.C.palette.contrasting.gray800,children:n||s.Z.t("apps_laliga")}),!(void 0!==t&&t)&&(0,y.jsxs)(j,{children:[(0,y.jsxs)(_.Z,{Font:i.C.typography.text.mRegular,children:[s.Z.t("available_in"),":"]}),(0,y.jsxs)(v,{children:[(0,y.jsx)(c.Z,{Src:"".concat(l.dw,"badges/download_apple.svg")}),(0,y.jsx)(c.Z,{Src:"".concat(l.dw,"badges/download_google_play.svg")})]})]})]}),(0,y.jsx)(C,{delay:void 0===a?5e4:a,initialSlide:void 0===r?0:r})]})}},80623:function(e,t,n){n.d(t,{Z:function(){return Z}});var a=n(92777),r=n(82262),o=n(10748),s=n(45959),i=n(63553),l=n(37247),c=n(59499),d=n(67294),p=n(68302),u=n(13927),g=n(39230),y=n(8148),h=n(17773),m=n(48204),f=n(68491),x=n(4730),b=n(50891),j=n(27420),v=n(3327),_=n(85893),C=["className","style","children"];function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(n),!0).forEach(function(t){(0,c.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var w=j.r.var("colors.contrasting.white"),O=(0,b.iv)({width:"100%","& .swiper-pagination":{display:"flex",left:0,right:0,bottom:"0 !important","& .swiper-pagination-bullet":{flex:"1 1 100%",borderRadius:"0 !important",margin:"0 !important",height:"10px !important",background:"".concat(w," !important"),opacity:"1 !important",transition:"background 0.3s"},"& .swiper-pagination-bullet-active":{background:"rgba(0, 0, 0, 0.3) !important"}},"& .swiper-slide":{height:"auto"},"& .pointer-events-none":{pointerEvents:"none"}}),S=d.forwardRef(function(e,t){var n=e.className,a=e.style,r=e.children,o=(0,x.Z)(e,C);return(0,_.jsx)("div",_objectSpread(_objectSpread({ref:t,className:(0,b.cx)(O,n),style:a},(0,v.R)(o)),{},{children:r}))});function sliderhighlight_ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function sliderhighlight_objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?sliderhighlight_ownKeys(Object(n),!0).forEach(function(t){(0,c.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sliderhighlight_ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}S.displayName="SliderContainer";var k=function(e){(0,s.Z)(SliderHighlight,e);var t,n=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n=(0,l.Z)(SliderHighlight);if(t){var a=(0,l.Z)(this).constructor;e=Reflect.construct(n,arguments,a)}else e=n.apply(this,arguments);return(0,i.Z)(this,e)});function SliderHighlight(e){var t;return(0,a.Z)(this,SliderHighlight),t=n.call(this,e),(0,c.Z)((0,o.Z)(t),"setPlaying",function(e){e!==t.state.playing&&t.setState({playing:e})}),t.state={playing:!1,index:0},t.sliderContainerRef=d.createRef(),t.swiper=null,t.params={onSwiper:function(e){t.swiper=e},autoplay:{delay:5e3,disableOnInteraction:!0},pagination:{clickable:!0},effect:"fade",onTouchStart:function(){t.setPointerEvents(!0)},onTouchEnd:function(){t.setPointerEvents(!1)},onSlideChange:function(){var e=t.swiper.activeIndex;Number.isInteger(e)&&t.state.index!==e&&t.setState({index:e})}},t}return(0,r.Z)(SliderHighlight,[{key:"componentDidMount",value:function(){(0,this.props.getDigitalAsset)(this.getDigitalAssetSlug())}},{key:"setPointerEvents",value:function(e){for(var t=this.sliderContainerRef.current?this.sliderContainerRef.current.querySelectorAll("iframe"):[],n=0;n<t.length;n++){var a=t[n];a&&(e?a.classList.add("pointer-events-none"):a.classList.remove("pointer-events-none"))}}},{key:"checkAutoPlay",value:function(){return!!this.state.playing}},{key:"getDigitalAssetSlug",value:function(){var e=this.props.isBrandDay,t=g.Te;return e&&(t=g.Jv),t}},{key:"getBackgroundImage",value:function(){var e=this.props,t=e.isBrandDay,n=e.device,a=e.digitalAssets,r=!1;if(t){var o=a[this.getDigitalAssetSlug()];if(r=!0,o&&o.brand){var s,i,l,c=o.brand.assets["highlight-background"];c&&((r=null==c?void 0:null===(s=c["1920X525"])||void 0===s?void 0:s.image)&&(!(n<=g.q$)||null==c||!c["764X850"])||(r=null==c?void 0:null===(i=c["764X850"])||void 0===i?void 0:i.image),(!r||n<=g.s&&null!=c&&c["420X620"])&&(r=null==c?void 0:null===(l=c["420X620"])||void 0===l?void 0:l.image))}}return r}},{key:"getLinkParams",value:function(e,t){switch(t){case"news":return{RouteName:"news-single",RouteParams:{slug:e.slug||"error"}};case"gallery":return{RouteName:"gallery-single",RouteParams:{slug:e.slug||"error"}}}}},{key:"render",value:function(){var e,t,n,a,r=this,o=this.props,s=o.Data,i=o.isBrandDay,l=o.arrayAdUnit;return this.swiper&&(this.checkAutoPlay()?null===(e=this.swiper)||void 0===e||null===(t=e.autoplay)||void 0===t||t.start():null===(n=this.swiper)||void 0===n||null===(a=n.autoplay)||void 0===a||a.stop()),s&&s.length>0&&(0,_.jsx)(_.Fragment,{children:(0,_.jsx)(S,{ref:this.sliderContainerRef,children:(0,_.jsx)(m.P4,{sliderState:{playing:this.state.playing,setPlaying:this.setPlaying,index:this.state.index},children:(0,_.jsx)(u.tq,sliderhighlight_objectSpread(sliderhighlight_objectSpread({modules:[p.W_,p.tl,p.xW]},this.params),{},{children:s.map(function(e,t){return(0,_.jsx)(u.o5,{children:(0,_.jsx)(f.Z,{isBrandDay:i,slugDigitalAsset:r.getDigitalAssetSlug(),backgroundImage:r.getBackgroundImage(),index:t,Data:e[e.type],Type:e.type,linkParams:r.getLinkParams(e[e.type],e.type),arrayAdUnit:l})},"highlight-".concat(t))})}))})})})}}]),SliderHighlight}(d.Component);k.defaultProps={Data:[],isBrandDay:!1};var Z=(0,h.lJ)((0,y.vm)(k))},76321:function(e,t,n){n.d(t,{Z:function(){return S}});var a,r,o=n(92777),s=n(82262),i=n(45959),l=n(63553),c=n(37247),d=n(67294),p=n(17592);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}var _404=function(e){return d.createElement("svg",_extends({xmlns:"http://www.w3.org/2000/svg",width:360,height:187},e),a||(a=d.createElement("path",{d:"M.29 154.97v-11.25l59.04-87.39h12.42v87.3h16.2v11.34h-16.2v27.36H59.33v-27.36H.29zm13.95-11.25h45.09V76.76l-45.09 66.96zm257.25 12.057v-11.25l59.04-87.39h12.42v87.3h16.2v11.34h-16.2v27.36h-12.42v-27.36h-59.04zm13.95-11.25h45.09v-66.96l-45.09 66.96zM154.391 68.325a56.818 56.818 0 00-8.601 4.08l-2.286 24.01 9.637 6.258 23.903-9.176 1.704-11.119-20.761-15.268a57.27 57.27 0 00-3.492 1.176l-.048.075-.056-.036zm-5.8-6.37l38.548-59.36 7.045 4.576-32.986 50.793a64.926 64.926 0 0128.97.558L227.888.44l7.045 4.575-36.486 56.183a64.867 64.867 0 0111.237 5.831 64.87 64.87 0 019.897 7.894l20.366-31.36 7.045 4.574-21.598 33.258a64.925 64.925 0 0112.292 26.24l39.362-60.613 7.045 4.575-44.924 69.177a64.425 64.425 0 01-10.432 35.893c-19.46 29.966-59.671 38.515-89.638 19.054-29.967-19.46-38.513-59.673-19.053-89.64a64.424 64.424 0 0128.546-24.127zm82.4 56.114l-.058-.037.05-.077a57.223 57.223 0 00-4.088-17.98l-6.554 17.22 9.84 14.397a56.704 56.704 0 00.81-13.523zm-44.785-72.724l-4.53-2.94 15.196-23.4 4.53 2.941-15.196 23.4zm40.665-2.029l-4.528-2.941 15.195-23.399 4.529 2.941-15.196 23.4zm12.546 46.78l-4.529-2.941 15.196-23.399 4.529 2.941-15.196 23.399zm-70.706-25.127l14.993 11.027 15.9-5.428c-9.809-4.876-20.522-6.653-30.893-5.599zm-11.856 44.932l1.266 24.176 23.384 6.267 13.185-20.304-15.235-18.815-22.6 8.676zM126.82 90.483a56.588 56.588 0 00-6.648 14.204l15.246-8.58 1.662-17.462a56.572 56.572 0 00-10.26 11.838zm-8.803 24.688a56.864 56.864 0 00.092 13.035l22.541 12.836 9.427-6.053-1.338-25.54-9.544-6.197-21.178 11.92zm2.434 23.666c3.251 10.07 9.315 19.292 17.918 26.354l-1.533-17.025-16.385-9.33zm26.558 32.211a56.285 56.285 0 0018.346 6.319l18.173-18.068-3.396-10.957-25.328-6.788-9.882 6.347 2.087 23.147zm29.12 7c10.837-.35 21.47-3.785 30.508-10.013l-17.264-3.156-13.243 13.168zm51.203-36.307l-13.402-19.61-11.885 1.417-14.309 22.033 3.54 11.433 23.418 4.28a56.759 56.759 0 007.266-9.026 56.76 56.76 0 005.372-10.527zm-14.467-27.618l9.03-23.73a56.325 56.325 0 00-13.39-14.33l-21.756 7.43-1.792 11.692 16.444 20.304 11.464-1.366z"})))};function _500_extends(){return(_500_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}var _500=function(e){return d.createElement("svg",_500_extends({xmlns:"http://www.w3.org/2000/svg",width:621,height:206},e),r||(r=d.createElement("path",{d:"M50.125 75.404a62.478 62.478 0 00-9.487 4.47l-2.463 26.435 10.654 6.915 26.369-10.045 1.853-12.24-22.96-16.864a63.086 63.086 0 00-3.851 1.286l-.054.083-.061-.04zm-6.42-7.03L86.118 3.107l7.79 5.055-36.292 55.851a71.884 71.884 0 0131.986.686L131.1.834l7.79 5.
1055-40.144 61.778a72.08 72.08 0 0112.42 6.449 72.062 72.062 0 0110.948 8.717L144.52 48.35l7.79 5.055-23.763 36.57a71.777 71.777 0 0113.636 28.924l43.308-66.648 7.789 5.056-49.427 76.065c.178 13.567-3.508 27.31-11.428 39.498-21.41 32.95-65.785 42.264-98.92 20.76C.375 172.125-9.161 127.822 12.249 94.872c7.92-12.188 18.983-21.142 31.458-26.498zm91.114 61.998l-.063-.041.055-.085a63.058 63.058 0 00-4.56-19.81l-7.192 18.946 10.899 15.879c.89-4.94 1.168-9.94.86-14.89zM85.193 50.178l-5.008-3.25L96.904 21.2l5.007 3.25-16.718 25.728zm44.892-2.133l-5.007-3.25 16.718-25.729 5.008 3.25-16.719 25.729zm13.968 51.544l-5.008-3.25 16.719-25.728 5.007 3.25-16.718 25.728zM65.926 71.744l16.581 12.18 17.541-5.938c-10.842-5.393-22.674-7.377-34.122-6.242zm-12.978 49.448l1.458 26.626 25.833 6.959 14.507-22.325-16.867-20.757-24.931 9.497zM19.74 99.736a61.919 61.919 0 00-7.304 15.624l16.811-9.41 1.792-19.225a61.93 61.93 0 00-11.299 13.01zM10.083 126.9c-.51 4.792-.458 9.61.134 14.354l24.919 14.19 10.392-6.642-1.54-28.126-10.553-6.849L10.083 126.9zm2.746 26.066c3.615 11.098 10.333 21.267 19.848 29.065l-1.735-18.751-18.113-10.314zm29.402 35.536a62.508 62.508 0 0020.27 7.004l20.02-19.85-3.777-12.075-27.98-7.538-10.894 6.965 2.36 25.494zm32.168 7.78c11.963-.358 23.695-4.114 33.657-10.95l-19.068-3.517-14.589 14.467zm56.44-39.853l-14.845-21.626-13.118 1.53-15.743 24.227 3.937 12.598 25.865 4.77a62.12 62.12 0 008-9.92 62.101 62.101 0 005.904-11.579zm-16.04-30.448l9.91-26.108a62.505 62.505 0 00-14.818-15.813l-24.002 8.128-1.95 12.87 18.206 22.399 12.654-1.476zM249.87 185.8c26.79 0 48.07-21.28 48.07-49.02 0-27.74-21.28-49.02-48.07-49.02s-48.07 21.28-48.07 49.02c0 27.74 21.28 49.02 48.07 49.02zm0-117.8c40.09 0 70.87 30.02 70.87 68.78 0 38.76-30.78 68.78-70.87 68.78S179 175.54 179 136.78C179 98.02 209.78 68 249.87 68zm146.828 87.02h-22.42v48.26h-22.42v-133h44.84c28.69 0 45.98 16.72 45.98 42.37s-17.29 42.37-45.98 42.37zm23.18-42.37c0-14.06-8.36-22.99-24.13-22.99h-21.47v45.98h21.47c15.77 0 24.13-8.93 24.13-22.99zm45.177 71.44l14.06-15.2c8.55 9.31 20.33 16.91 33.06 16.91 15.39 0 26.03-7.22 26.03-19 0-10.07-6.27-18.24-29.07-22.99-27.93-5.89-41.23-19.57-41.23-38.95 0-22.04 17.86-36.86 43.32-36.86 18.24 0 32.68 6.46 42.94 16.91l-13.3 15.96c-8.17-7.41-17.29-13.11-28.69-13.11-12.35 0-21.47 6.08-21.47 15.58 0 10.64 7.98 17.48 27.93 22.04 31.16 7.22 42.37 20.9 42.37 41.42 0 22.8-17.86 38.76-47.88 38.76-18.62 0-36.86-7.98-48.07-21.47zm130.298-19.19V70.28h22.42v94.62h-22.42zm-2.85 26.6c0-7.98 6.08-14.06 14.06-14.06s14.06 6.08 14.06 14.06-6.08 14.06-14.06 14.06-14.06-6.08-14.06-14.06z"})))},u=n(33152),g=n(93324),y=n(88659),h=n(59499),m=n(4730),f=n(50891),x=n(3327),b=["className","style","children"];function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}var styledTag=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"div";return function(n){var a=n.className,r=n.style,o=n.children,s=(0,m.Z)(n,b);return d.createElement(t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(n),!0).forEach(function(t){(0,h.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({className:(0,f.cx)(e,a),style:r},(0,x.R)(s)),o)}},j=styledTag((0,f.iv)({width:"100%",minHeight:"600px",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",tabletPortraitDown:{minHeight:"500px"}})),v=styledTag((0,f.iv)({width:"100%",maxWidth:"clamp(280px, 60vw, 600px)",margin:"0 auto 1rem",overflow:"hidden","& svg":{width:"100% !important",height:"auto !important",maxWidth:"100%",display:"block"}})),_=styledTag((0,f.iv)({width:"100%",height:"140px",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center","& p":{textAlign:"center"}})),C=styledTag((0,f.iv)({width:"8rem",height:"2rem",backgroundColor:"competition.primeraDivision.normal",marginTop:"20px",cursor:"pointer","&:hover":{opacity:.8},"& a":{color:"#fff"}}),"button"),w=n(12763),O=n(85893),S=function(e){(0,i.Z)(ErrorPage,e);var t,n=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n=(0,c.Z)(ErrorPage);if(t){var a=(0,c.Z)(this).constructor;e=Reflect.construct(n,arguments,a)}else e=n.apply(this,arguments);return(0,l.Z)(this,e)});function ErrorPage(){return(0,o.Z)(this,ErrorPage),n.apply(this,arguments)}return(0,s.Z)(ErrorPage,[{key:"render",value:function(){var e=this.props.statusCode;return(0,O.jsx)(y.W2,{children:(0,O.jsxs)(j,{children:[(0,O.jsx)(v,{children:d.createElement(404===e?_404:_500,{width:"100%",height:"auto",viewBox:404===e?"0 0 360 187":"0 0 621 206",style:{width:"100%",height:"auto",display:"block",maxWidth:"100%"},preserveAspectRatio:"xMidYMid meet"})}),(0,O.jsxs)(_,{children:[(0,O.jsx)(g.Z,{Font:w.C.typography.headline.xl,FontColor:"#000",children:p.Z.t("offside").toUpperCase()}),(0,O.jsx)(g.Z,{Font:w.C.typography.text.lRegular,FontColor:"#000",children:404===e?p.Z.t("404"):p.Z.t("500")}),(0,O.jsx)(C,{children:(0,O.jsx)(u.Z,{RouteName:"index",children:p.Z.t("go_home").toUpperCase()})})]})]})})}}]),ErrorPage}(d.Component)},52620:function(e,t,n){n.d(t,{Z:function(){return tA}});
1var a=n(92777),r=n(82262),o=n(45959),s=n(63553),i=n(37247),l=n(59499),c=n(90116),d=n(7739),p=n.n(d),u=n(35161),g=n.n(u),y=n(75472),h=n.n(y),m=n(11163),f=n(67294),x=n(17592),b=n(12763),j=n(39230),v=n(84458),_=n(85311),C=n(2477),w=n(33152),O=n(4730),S=n(50891),k=n(3327),Z=["className","style","children"];function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}var D=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"div",n=f.forwardRef(function(n,a){var r=n.className,o=n.style,s=n.children,i=(0,O.Z)(n,Z);return f.createElement(t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(n),!0).forEach(function(t){(0,l.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({ref:a,className:(0,S.cx)(e,r),style:o},(0,k.R)(i)),s)});return n.displayName="string"==typeof t?"styled.".concat(t):"styled",n}((0,S.iv)({width:"100%",display:"flex",justifyContent:"center","& span":{display:"inline-block",width:"auto"}})),P=n(85893);function banner_ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}var banner=function(e){var t=e.image,n=e.url,a=e.sidebar,r=t&&t.resizes?t.resizes:null;if(!r)return"";var o={Src:r.xlarge?r.xlarge:t.url,Tablet:r.large,MobilePortrait:r.medium};return void 0!==a&&a&&(o={Src:r.small?r.small:t.url,TabletPortrait:r.large,MobilePortrait:r.medium}),(0,P.jsx)(D,{children:(0,P.jsx)(w.Z,{Target:"_blank",Href:n,children:(0,P.jsx)(C.Z,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?banner_ownKeys(Object(n),!0).forEach(function(t){(0,l.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):banner_ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({Width:"100%"},o))})})}
1,B=n(54090),T=n(82388),I=n(26562),A=n(73694),F=n(57731),N=n(77900),R=n(98337),z=n(50245),E=n(93324),L=n(88659),W=n(99902),K=["className","style","children"],H=["className","alignCenter","number","style","children"];function styled_ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function styled_objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?styled_ownKeys(Object(n),!0).forEach(function(t){(0,l.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):styled_ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var q=(0,S.iv)({marginTop:"10px",display:"flex",justifyContent:"var(--sc-justify, flex-start)","& > div":{width:"calc(100% / var(--sc-number))"},mobileLandscapeDown:{justifyContent:"center"}}),SponsorsContainer=function(e){var t=e.className,n=e.alignCenter,a=e.number,r=e.style,o=e.children,s=(0,O.Z)(e,H);return(0,P.jsx)("div",styled_objectSpread(styled_objectSpread({className:(0,S.cx)(q,t),style:styled_objectSpread(styled_objectSpread({},r),{},{"--sc-justify":n?"center":void 0,"--sc-number":a})},(0,k.R)(s)),{},{children:o}))},M=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"div";return function(n){var a=n.className,r=n.style,o=n.children,s=(0,O.Z)(n,K);return f.createElement(t,styled_objectSpread({className:(0,S.cx)(e,a),style:r},(0,k.R)(s)),o)}}((0,S.iv)({height:"auto",display:"flex",justifyContent:"center",alignItems:"center",padding:"30px","& img":{objectFit:"contain"},tabletPortraitDown:{padding:"15px"}})),configSlider=function(e){return{default:{slidesPerView:"channels"===e?3:5,slidesPerGroup:1,spaceBetween:0,centeredSlides:!1}}},U={default:2,mobileLandscape:1},broadcasterschannels=function(e){var t,n,a,r,o,s,i=e.Dark,l=(0,f.useState)({residential_channels:[],residential_broadcasters:[],local_channels:[],local_broadcasters:[],residential_secondary_broadcasters:[],residential_secondary_channels:[]}),c=l[0],d=l[1],p=(0,f.useState)(!1),u=p[0],g=p[1];(0,f.useEffect)(function(){F.Br().then(function(e){d({local_channels:e.broadcasters_channels.local_channels,local_broadcasters:e.broadcasters_channels.local_broadcasters,residential_channels:e.broadcasters_channels.residential_channels,residential_broadcasters:e.broadcasters_channels.residential_broadcasters,residential_secondary_broadcasters:e.broadcasters_channels.residential_secondary_broadcasters,residential_secondary_channels:e.broadcasters_channels.residential_secondary_channels}),g(!0)})},[]);var y=(0,f.useCallback)(function(e){return c[e+"_channels"].map(function(t,n){var a,r=N.nt(t.image_secondary,["medium"]);switch(e){case"residential":a=t.web_residential;break;case"residential_secondary":a=t.web_residential_secondary;break;default:a=t.web_local}return a?(0,P.jsx)(M,{children:(0,P.jsx)(w.Z,{Target:"_blank",Href:a,title:x.Z.t("go_to_channel_web",null,{channel:t.name}),"aria-label":x.Z.t("go_to_channel_web",null,{channel:t.name}),children:(0,P.jsx)(R.Z,{Src:r,Alt:"".concat(t.name,"'s logo")})})},"chan-".concat(n)):(0,P.jsx)(M,{children:(0,P.jsx)(R.Z,{Src:r,Alt:"".concat(t.name,"'s logo")})},"chan-".concat(n))})},[c]),h=(0,f.useCallback)(function(e){return c[e+"_broadcasters"].map(function(t,n){var a,r=N.nt(t.image_secondary,["medium"]);switch(e){case"residential":a=t.web_residential;break;case"residential_secondary":a=t.web_residential_secondary;break;default:a=t.web_local}return a?(0,P.jsx)(M,{padding:"30px 10px",children:(0,P.jsx)(w.Z,{Target:"_blank",Href:a,title:x.Z.t("go_to_channel_web",null,{channel:t.name}),"aria-label":x.Z.t("go_to_channel_web",null,{channel:t.name}),children:(0,P.jsx)(R.Z,{style:{pointerEvents:"none"},Src:r,Alt:"".concat(t.name,"'s logo")})})},"operator-".concat(n)):(0,P.jsx)(M,{padding:"30px 10px",children:(0,P.jsx)(R.Z,{style:{pointerEvents:"none"},Src:r,Alt:"".concat(t.name,"'s logo")})},"operator-".concat(n))})},[c]);return(0,P.jsx)(L.W2,{children:(0,P.jsxs)(L.rj,{columns:U,children:[(0,P.jsxs)(L.bL,{width:1,children:[(null===(t=c.residential_channels)||void 0===t?void 0:t.length)>0&&(0,P.jsxs)(E.Z,{style:{margin:"10px 0 0"},Font:b.C.typography.text.lRegular,FontColor:i?b.C.palette.contrasting.gray400:b.C.palette.contrasting.black,children:[x.Z.t("residential_channels"),":"]}),u?c.residential_channels.length>3?(0,P.jsx)(W.Z,{id:"residentialChannels",alignItems:"center",config:configSlider("channels"),navigation:!1,pagination:"Show",children:y("residential")}):c.residential_channels?(0,P.jsx)(SponsorsContainer,{number:3,children:y("residential")}):null:(0,P.jsx)(z.Z,{})]}),(0,P.jsxs)(L.bL,{width:1,children:[c.residential_broadcasters.length>0&&(0,P.jsxs)(E.Z,{style:{margin:"10px 0 0"},Font:b.C.typography.text.lRegular,FontColor:i?b.C.palette.contrasting.gray400:b.C.palette.contrasting.black,children:[x.Z.t("residential_broadcasters"),":"]}),u?c.residential_broadcasters.length>5?(0,P.jsx)(W.Z,{id:"residentialBroadcasters",alignItems:"center",config:configSlider("broadcasters"),navigation:!1,pagination:"Show",children:h("residential")}):c.residential_broadcasters?(0,P.jsx)(SponsorsContainer,{number:5,children:h("residential")}):null:(0,P.jsx)(z.Z,{})]}),(0,P.jsxs)(L.bL,{width:1,children:[(null===(n=c.residential_secondary_channels)||void 0===n?void 0:n.length)>0&&(0,P.jsxs)(E.Z,{style:{margin:"10px 0 0"},Font:b.C.typography.text.lRegular,FontColor:i?b.C.palette.contrasting.gray400:b.C.palette.contrasting.black,children:[x.Z.t("residentialSecondary_channels"),":"]}),u?c.residential_secondary_channels.length>3?(0,P.jsx)(W.Z,{id:"residentialSecondaryChannels",alignItems:"center",config:configSlider("channels"),navigation:!1,pagination:"Show",children:y("residential_secondary")}):c.residential_secondary_channels?(0,P.jsx)(SponsorsContainer,{number:3,children:y("residential_secondary")}):null:(0,P.jsx)(z.Z,{})]}),(0,P.jsxs)(L.bL,{width:1,children:[(null===(a=c.residential_secondary_broadcasters)||void 0===a?void 0:a.length)>0&&(0,P.jsxs)(E.Z,{style:{margin:"10px 0 0"},Font:b.C.typography.text.lRegular,FontColor:i?b.C.palette.contrasting.gray400:b.C.palette.contrasting.black,children:[x.Z.t("residentialSecondary_broadcasters"),":"]}),u?(null===(r=c.residential_secondary_broadcasters)||void 0===r?void 0:r.length)>5?(0,P.jsx)(W.Z,{id:"residentialSecondaryBroadcasters",alignItems:"center",config:configSlider("broadcasters"),navigation:!1,pagination:"Show",children:h("residential_secondary")}):c.residential_secondary_broadcasters?(0,P.jsx)(SponsorsContainer,{number:5,children:h("residential_secondary")}):null:(0,P.jsx)(z.Z,{})]}),(0,P.jsxs)(L.bL,{width:1,children:[c.local_channels.length>0&&(0,P.jsxs)(E.Z,{style:{margin:"10px 0 0"},Font:b.C.typography.text.lRegular,FontColor:i?b.C.palette.contrasting.gray400:b.C.palette.contrasting.black,children:[x.Z.t("local_channels"),":"]}),u?c.local_channels.length>3?(0,P.jsx)(W.Z,{id:"localChannels",alignItems:"center",config:configSlider("channels"),navigation:!1,pagination:"Show",children:y("local")}):c.local_channels?(0,P.jsx)(SponsorsContainer,{number:3,children:y("local")}):null:(0,P.jsx)(z.Z,{})]}),(0,P.jsxs)(L.bL,{width:1,children:[(null===(o=c.local_broadcasters)||void 0===o?void 0:o.length)>0&&(0,P.jsxs)(E.Z,{style:{margin:"10px 0 0"},Font:b.C.typography.text.lRegular,FontColor:i?b.C.palette.contrasting.gray400:b.C.palette.contrasting.black,children:[x.Z.t("local_broadcasters"),":"]}),u?(null===(s=c.local_broadcasters)||void 0===s?void 0:s.length)>5?(0,P.jsx)(W.Z,{id:"localBroadcasters",alignItems:"center",config:configSlider("broadcasters"),navigation:!1,pagination:"Show",children:h("local")}):c.local_broadcasters?(0,P.jsx)(SponsorsContainer,{number:5,children:h("local")}):null:(0,P.jsx)(z.Z,{})]})]})})}
1,G=n(81692),X=n(13311),$=n.n(X),Q=n(98042),J=n.n(Q),V=n(50776),Y=n(96511),ee=n(15769),et=n(51443),en=n(27420),ea=["className","style","children"],er=["className","RowBackColor","style","children"],eo=["className","ColBackColor","ColWith","ColAlignContent","style","children"],es=["className","ItemAlignHorizontal","ColItemGap","ColItemWidth","style","children"],ei=["className"];function leaguefaststats_styled_ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function leaguefaststats_styled_objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?leaguefaststats_styled_ownKeys(Object(n),!0).forEach(function(t){(0,l.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):leaguefaststats_styled_ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var el=en.r.var("colors.contrasting.gray200"),leaguefaststats_styled_styledTag=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"div";return function(n){var a=n.className,r=n.style,o=n.children,s=(0,O.Z)(n,ea);return f.createElement(t,leaguefaststats_styled_objectSpread({className:(0,S.cx)(e,a),style:r},(0,k.R)(s)),o)}},ec=leaguefaststats_styled_styledTag((0,S.iv)({width:"100%",flex:"auto"})),ed=leaguefaststats_styled_styledTag((0,S.iv)({backgroundColor:"#fff",width:"100%",minHeight:"250px",display:"flex",flexDirection:"column","& .react-tabs":{flex:"auto",display:"flex",flexDirection:"column","& .show":{flex:"auto",display:"flex",flexDirection:"column","& .react-tabs__tab-panel--selected":{flex:"auto",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"}},"& .react-tabs__tab-list":{display:"flex",gap:"16px",overflow:"auto",scrollSnapType:"x mandatory",msOverflowStyle:"none",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"},"& .react-tabs__tab":{flexShrink:0,scrollSnapAlign:"start",mobilePortraitDown:{width:"50%"},"&:first-of-type":{marginLeft:0}},tabletPortraitDown:{width:"100%"}},"& .css-0":{flex:"auto",display:"flex",justifyContent:"center",alignItems:"center"}},tabletPortraitDown:{paddingLeft:0}})),ep=leaguefaststats_styled_styledTag((0,S.iv)({display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"12px",tabletPortraitDown:{flexDirection:"column",alignItems:"flex-start",marginBottom:"30px","& .titleContainer":{marginBottom:"20px"}}})),eu=(0,S.iv)({minHeight:"60px",display:"flex",marginBottom:"10px",backgroundColor:"var(--fs-row-bg)","&:last-of-type":{marginBottom:0},mobileLandscapeDown:{flexWrap:"wrap",marginBottom:0}}),FastStatsRow=function(e){var t=e.className,n=e.RowBackColor,a=e.style,r=e.children,o=(0,O.Z)(e,er);return(0,P.jsx)("div",leaguefaststats_styled_objectSpread(leaguefaststats_styled_objectSpread({className:(0,S.cx)(eu,t),style:leaguefaststats_styled_objectSpread(leaguefaststats_styled_objectSpread({},a),{},{"--fs-row-bg":n})},(0,k.R)(o)),{},{children:r}))},eg=(0,S.iv)({backgroundColor:"var(--fs-col-bg)",border:"1px solid ".concat(el),width:"var(--fs-col-w)",display:"flex",justifyContent:"var(--fs-col-justify)",alignItems:"center",padding:"0 12px",mobileLandscapeDown:{padding:"0 0 0 15px"},mobilePortraitDown:{padding:"0 0 0 10px"}}),FastStatsCol=function(e){var t=e.className,n=e.ColBackColor,a=e.ColWith,r=e.ColAlignContent,o=e.style,s=e.children,i=(0,O.Z)(e,eo);return(0,P.jsx)("div",leaguefaststats_styled_objectSpread(leaguefaststats_styled_objectSpread({className:(0,S.cx)(eg,t),style:leaguefaststats_styled_objectSpread(leaguefaststats_styled_objectSpread({},o),{},{"--fs-col-bg":n,"--fs-col-w":a?"".concat(a,"%"):void 0,"--fs-col-justify":r})},(0,k.R)(i)),{},{children:s}))};leaguefaststats_styled_styledTag((0,S.iv)({display:"flex",alignSelf:"center",alignItems:"center",borderRight:"2px solid #fff",width:"25%",justifyContent:"center",overflow:"visible",flexWrap:"wrap","&:last-of-type":{border:0},mobileLandscapeDown:{width:"50%",border:0,margin:"10px 0","&:nth-child(odd)":{borderRight:"2px solid #fff"},"& i":{paddingRight:"10px"}}}));var ey=(0,S.iv)({display:"flex",flexDirection:"var(--fs-item-dir)",alignItems:"center",height:"40px",justifyContent:"space-around",width:"var(--fs-item-w, auto)",padding:"var(--fs-item-pad, 0)","&:last-of-type":{padding:0},mobileLandscapeDown:{padding:0,"& i":{margin:"10px",fontSize:"2.6rem"}},mobilePortraitDown:{padding:0,"& i":{margin:"8px",fontSize:"2rem"}}}),FastStatsColItem=function(e){var t=e.className,n=e.ItemAlignHorizontal,a=e.ColItemGap,r=e.ColItemWidth,o=e.style,s=e.children,i=(0,O.Z)(e,es);return(0,P.jsx)("div",leaguefaststats_styled_objectSpread(leaguefaststats_styled_objectSpread({className:(0,S.cx)(ey,t),style:leaguefaststats_styled_objectSpread(leaguefaststats_styled_objectSpread({},o),{},{"--fs-item-dir":n?"row":"column","--fs-item-pad":a||void 0,"--fs-item-w":r?"".concat(r,"%"):void 0})},(0,k.R)(i)),{},{children:s}))},eh=(0,S.iv)({display:"block",margin:0,lineHeight:1}),TextBlock=function(e){var t=e.className,n=(0,O.Z)(e,ei);return(0,P.jsx)(E.Z,leaguefaststats_styled_objectSpread({className:(0,S.cx)(eh,t)},n))},em=leaguefaststats_styled_styledTag((0,S.iv)({display:"flex",flexDirection:"row",justifyContent:"flex-start",width:"100%","& figure":{position:"relative",bottom:"5px"}})),ef=leaguefaststats_styled_styledTag((0,S.iv)({overflow:"hidden",display:"flex",flexDirection:"row",width:"100%",justifyContent:"space-between",alignItems:"center",mobileLandscapeDown:{flexDirection:"column",alignItems:"flex-start"}})),ex=leaguefaststats_styled_styledTag((0,S.iv)({display:"flex",alignItems:"center",width:"100%",gap:"8px",mobileLandscapeDown:{paddingRight:"10px"}})),eb=leaguefaststats_styled_styledTag((0,S.iv)({display:"flex",flexDirection:"column",width:"100%",justifyContent:"space-between",padding:"2px 0 0","& > div":{position:"relative",top:"2px","& > p":{marginLeft:"5px"}}}));leaguefaststats_styled_styledTag((0,S.iv)({display:"flex",alignItems:"center"})),leaguefaststats_styled_styledTag((0,S.iv)({width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between"})),leaguefaststats_styled_styledTag((0,S.iv)({mobilePortraitDown:{display:"none"}}));var ej=n(93788),ev=n(8148),e_=(0,_.Th)(function(e){var t=e.SeasonYear,n=e.GetData,a=void 0===n||n,r=e.Data,o=e.ready,s=e.RowBackColor,i=void 0===s?"":s,l=e.ColItemGap,c=void 0===l?"":l,d=e.ColItemWidth,p=void 0===d?"":d,u=e.ItemAlignHorizontal,g=void 0!==u&&u,y=e.HideTabs,h=e.getCurrentSeason,m=e.DefaultCompetition,v=(0,f.useCallback)(function(e){var t=0;switch(e){case j.s3:t=0;break;case j.Zc:t=1;break;case j.uF:t=2}return t},[]),_=m?v(m):0,C=(0,f.useMemo)(function(){return t||h(j.s3,"stats_competition")},[t,h]),w=(0,f.useState)(_),O=w[0],S=w[1],k=(0,f.useState)(r||[]),Z=k[0],D=k[1],B=(0,f.useState)("".concat(x.Z.t("games")," ").concat(C,"-").concat(parseInt(C)+1)),T=B[0],I=B[1],A=(0,f.useState)(o),R=A[0],L=A[1],W=(0,f.useCallback)(function(e){var t=h(e,"stats_competition"),n=N.JB(e,t);F._k(n).then(function(e){D(e.competition_stats.stats)}).finally(function(){L(!0)})},[]);(0,f.useEffect)(function(){a?W(m):D(r)},[]),(0,f.useEffect)(function(){o!==R&&L(o),r&&r!==Z&&D(r)},[o,r]);var K=(0,f.useCallback)(function(e,t){return(0,P.jsx)(ev.m_,{children:function(n){return(0,P.jsxs)(FastStatsRow,{RowBackColor:i,
1children:[(0,P.jsxs)(FastStatsCol,{ColBackColor:b.C.palette.contrasting.gray150,ColWith:n>j.q$?"70":"50",ColAlignContent:"space-between",children:[(0,P.jsx)(FastStatsColItem,{ItemAlignHorizontal:!0,ColItemGap:c,ColItemWidth:p,children:n>j.j8&&(0,P.jsx)(ee.Z,{IconName:"icon-ball",IconSize:1.5,IconColor:b.C.palette.contrasting.gray800,IconMargin:"0 20px 0 0"})}),(0,P.jsx)(FastStatsColItem,{ItemAlignHorizontal:!0,ColItemGap:c,ColItemWidth:"100",children:(0,P.jsxs)(ef,{children:[(0,P.jsx)(TextBlock,{Font:n<j.q$?b.C.typography.text.xsBold:b.C.typography.headline.s,FontColor:b.C.palette.contrasting.gray800,TextTransform:"uppercase",children:x.Z.t("matches_played")}),(0,P.jsx)(TextBlock,{Font:n>j.j8?b.C.typography.numbers.xl:b.C.typography.numbers.m,FontColor:b.C.palette.competition.primeraDivision.normal,TextAlign:"right",children:e.stat})]})})]}),(0,P.jsx)(FastStatsCol,{ColBackColor:b.C.palette.contrasting.gray150,ColWith:n>j.q$?"30":"50",ColAlignContent:"space-between",children:(0,P.jsx)(FastStatsColItem,{ItemAlignHorizontal:!0,ColItemGap:c,ColItemWidth:"100",children:(0,P.jsxs)(ef,{children:[(0,P.jsx)(TextBlock,{Font:n<j.q$?b.C.typography.text.xsBold:b.C.typography.headline.s,FontColor:b.C.palette.contrasting.gray800,TextTransform:"uppercase",children:x.Z.t("pendings")}),(0,P.jsx)(TextBlock,{Font:n>j.j8?b.C.typography.numbers.xl:b.C.typography.numbers.m,FontColor:b.C.palette.competition.primeraDivision.normal,children:t.stat})]})})})]})}})},[c,p,i]),H=(0,f.useCallback)(function(e,t,n,a){return(0,P.jsx)(ev.m_,{children:function(r){return(0,P.jsxs)(FastStatsRow,{RowBackColor:i,children:[(0,P.jsx)(FastStatsCol,{ColBackColor:b.C.palette.contrasting.gray150,ColWith:t.team?"25":"50",ColAlignContent:"space-between",children:(0,P.jsx)(FastStatsColItem,{ItemAlignHorizontal:!0,ColItemGap:c,ColItemWidth:"100",children:(0,P.jsxs)(ef,{children:[(0,P.jsxs)(ex,{children:[r>j.j8&&(0,P.jsx)(ee.Z,{IconName:"icon-victory-ea",IconSize:1.5,IconColor:b.C.palette.contrasting.gray800}),(0,P.jsx)(TextBlock,{Font:r<j.q$?b.C.typography.text.xsBold:b.C.typography.headline.s,FontColor:b.C.palette.contrasting.gray800,TextTransform:"uppercase",children:x.Z.t("wins")})]}),(0,P.jsx)(TextBlock,{Font:r>j.j8?b.C.typography.numbers.xl:b.C.typography.numbers.m,FontColor:b.C.palette.competition.primeraDivision.normal,children:e.stat})]})})}),t.team&&(0,P.jsx)(FastStatsCol,{ColBackColor:b.C.palette.contrasting.gray150,ColWith:"50",ColAlignContent:"center",children:(0,P.jsx)(FastStatsColItem,{ItemAlignHorizontal:!0,ColItemGap:c,ColItemWidth:"100",children:(0,P.jsx)(eb,{children:(0,P.jsx)(em,{children:t.team&&(0,P.jsxs)(ef,{children:[(0,P.jsxs)(ex,{children:[r>j.j8&&(0,P.jsx)(et.Z,{Team:t.team,Size:"m"}),(0,P.jsx)(TextBlock,{Font:r<j.q$?b.C.typography.text.xsBold:b.C.typography.headline.s,FontColor:b.C.palette.contrasting.gray800,TextTransform:"uppercase",children:t.team?t.team.name:""})]}),(0,P.jsx)(TextBlock,{Font:r>j.j8?b.C.typography.numbers.xl:b.C.typography.numbers.m,FontColor:b.C.palette.competition.primeraDivision.normal,children:t.stat})]})})})})}),(0,P.jsxs)(FastStatsCol,{ColBackColor:b.C.palette.contrasting.gray150,ColWith:t.team?"25":"50",ColAlignContent:"space-between",children:[(0,P.jsx)(FastStatsColItem,{ItemAlignHorizontal:!0,ColItemGap:c,ColItemWidth:"100",children:(0,P.jsxs)(ef,{children:[(0,P.jsxs)(ex,{children:[r>j.j8&&(0,P.jsx)(ee.Z,{IconName:"icon-clasification-ea",IconSize:1.5,IconColor:b.C.palette.contrasting.gray800}),(0,P.jsx)(TextBlock,{Font:r<j.q$?b.C.typography.text.xsBold:b.C.typography.headline.s,FontColor:b.C.palette.contrasting.gray800,TextTransform:"uppercase",children:x.Z.t("ties")})]}),(0,P.jsx)(TextBlock,{Font:r>j.j8?b.C.typography.numbers.xl:b.C.typography.numbers.m,FontColor:b.C.palette.competition.primeraDivision.normal,children:n.stat})]})}),(0,P.jsxs)(FastStatsColItem,{ItemAlignHorizontal:g,ColItemGap:c,ColItemWidth:p,children:[(0,P.jsxs)(eb,{children:[(0,P.jsx)(TextBlock,{FontColor:b.C.palette.contrasting.gray800,Font:r<j.q$?b.C.typography.text.xsBold:b.C.typography.headline.s,children:a.team?a.team.name:""}),(0,P.jsx)(em,{children:a.team&&(0,P.jsxs)(f.Fragment,{children:[(0,P.jsx)(et.Z,{Team:a.team,Size:"m"}),(0,P.jsx)(TextBlock,{Font:r>j.j8?b.C.typography.numbers.xl:b.C.typography.numbers.m,FontColor:b.C.palette.contrasting.gray800,children:a.stat})]})})]})," "]})]})]})}})},[c,p,g,i]),q=(0,f.useCallback)(function(e,t,n,a){if(0!==e.stat||0!==t.stat||0!==n.stat||0!==a.stat)return(0,P.jsx)(ev.m_,{children:function(r){return(0,P.jsxs)(FastStatsRow,{RowBackColor:b.C.palette.contrasting.gray150,children:[(0,P.jsx)(FastStatsCol,{ColBackColor:b.C.palette.contrasting.gray150,ColWith:"25",ColAlignContent:"space-between",children:(0,P.jsx)(FastStatsColItem,{ItemAlignHorizontal:!0,ColItemWidth:"100",children:(0,P.jsxs)(ef,{children:[(0,P.jsxs)(ex,{children:[r>j.j8&&(0,P.jsx)(ee.Z,{IconName:"icon-ball",IconSize:1.5,IconColor:b.C.palette.contrasting.gray800,IconMargin:"0"}),(0,P.jsx)(TextBlock,{Font:r<j.q$?b.C.typography.text.xsBold:b.C.typography.headline.s,FontColor:b.C.palette.contrasting.gray800,TextTransform:"uppercase",children:x.Z.t("goals")})]}),(0,P.jsx)(TextBlock,{Font:r>j.j8?b.C.typography.numbers.xl:b.C.typography.numbers.m,FontColor:b.C.palette.competition.primeraDivision.normal,children:e.stat})]})})}),(0,P.jsx)(FastStatsCol,{ColBackColor:b.C.palette.contrasting.gray150,ColWith:"25",ColAlignContent:"space-between",children:(0,P.jsxs)(ef,{children:[(0,P.jsxs)(ex,{children:[r>j.j8&&(0,P.jsx)(ee.Z,{IconName:"icon-star-ea",IconSize:1.5,IconColor:b.C.palette.contrasting.gray800,IconMargin:"0"}),(0,P.jsx)(TextBlock,{Font:r<j.q$?b.C.typography.text.xsBold:b.C.typography.headline.s,FontColor:b.C.palette.contrasting.gray800,TextTransform:"uppercase",children:x.Z.t("assists")})]}),(0,P.jsx)(TextBlock,{Font:r>j.j8?b.C.typography.numbers.xl:b.C.typography.numbers.m,FontColor:b.C.palette.competition.primeraDivision.normal,children:n.stat})]})}),(0,P.jsx)(FastStatsCol,{ColBackColor:b.C.palette.contrasting.gray150,ColWith:"25",ColAlignContent:"space-between",children:(0,P.jsxs)(ef,{children:[(0,P.jsxs)(ex,{children:[r>j.j8&&(0,P.jsx)(ee.Z,{IconName:"icon-cards-ea",IconSize:1.5,IconColor:b.C.palette.contrasting.gray800,IconMargin:"0"}),(0,P.jsx)(TextBlock,{Font:r<j.q$?b.C.typography.text.xsBold:b.C.typography.headline.s,FontColor:b.C.palette.contrasting.gray800,TextTransform:"uppercase",children:x.Z.t("cards")})]}),(0,P.jsx)(TextBlock,{Font:r>j.j8?b.C.typography.numbers.xl:b.C.typography.numbers.m,FontColor:b.C.palette.competition.primeraDivision.normal,children:t.stat})]})}),(0,P.jsx)(FastStatsCol,{ColBackColor:b.C.palette.contrasting.gray150,ColWith:"25",ColAlignContent:"space-between",children:(0,P.jsxs)(ef,{children:[(0,P.jsxs)(ex,{children:[r>j.j8&&(0,P.jsx)(ee.Z,{IconName:"icon-penalty-ea",IconSize:1.5,IconColor:b.C.palette.contrasting.gray800,IconMargin:"0"}),(0,P.jsx)(TextBlock,{Font:r<j.q$?b.C.typography.text.xsBold:b.C.typography.headline.s,FontColor:b.C.palette.contrasting.gray800,TextTransform:"uppercase",children:x.Z.t("penalties")})]}),(0,P.jsx)(TextBlock,{Font:r>j.j8?b.C.typography.numbers.xl:b.C.typography.numbers.m,FontColor:b.C.palette.competition.primeraDivision.normal,children:a.stat})]})})]})}})},[]),M=(0,f.useCallback)(function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{stat:0};return $()(e,J()("name",t))||n}
1,[]),U=(0,f.useCallback)(function(){var e=$()(Z,J()("name","matchesplayed"))?$()(Z,J()("name","matchesplayed")):$()(Z,J()("name","games_played"))?$()(Z,J()("name","games_played")):0,t=$()(Z,J()("name","matchesPending"))?$()(Z,J()("name","matchesPending")):$()(Z,J()("name","games_pending"))?$()(Z,J()("name","games_pending")):0,n=Z.find(function(e){return"won"==e.name&&!e.team})||{stat:0},a=Z.find(function(e){return"won"==e.name&&e.team})||{stat:0},r=Z.find(function(e){return"drawn"==e.name&&!e.team})||{stat:0},o=Z.find(function(e){return"drawn"==e.name&&e.team})||{stat:0},s=M(Z,"total_goals"),i=M(Z,"total_card"),l=M(Z,"goal_assists"),c=$()(Z,J()("name","penalties_conceded"))?$()(Z,J()("name","penalties_conceded")):$()(Z,J()("name","penalties_taken"))?$()(Z,J()("name","penalties_taken")):0;return e&&e.stat||t&&t.stat||n&&n.stat||a&&a.stat||r&&r.stat||o&&o.stat||s&&s.stat||i&&i.stat||l&&l.stat||c&&c.stat?(0,P.jsxs)(ec,{children:[K(e,t),H(n,a,r,o),q(s,i,l,c)]}):(0,P.jsx)("p",{children:x.Z.t("no_stats")})},[M,q,K,H,Z]),G=(0,f.useCallback)(function(e){var t=j.s3;switch(e){case 0:t=j.s3;break;case 1:t=j.Zc;break;case 2:t=j.uF}return t},[]),X=(0,f.useCallback)(function(e){var t=G(e),n=h(t,"stats_competition");S(e),I("".concat(x.Z.t("games")," ").concat(n,"-").concat(parseInt(n)+1)),L(!1),Y.AB("changeCompetition","leagueFastStats",t),W(t)},[W,G,h]);return(0,P.jsx)(ed,{children:(0,P.jsxs)(V.mQ,{selectedIndex:O,onSelect:function(e){return X(e)},children:[(0,P.jsxs)(ep,{children:[(0,P.jsx)("div",{className:"titleContainer",children:(0,P.jsx)(E.Z,{Font:b.C.typography.headline.l,TextTransform:"uppercase",tagType:"h2",children:T})}),!(void 0!==y&&y)&&(0,P.jsxs)(V.td,{children:[(0,P.jsx)(V.OK,{children:(0,P.jsx)(ej.Z,{ButtonActive:0===O,ButtonDivision:j.s3,ButtonWidth:"185px"})}),(0,P.jsx)(V.OK,{children:(0,P.jsx)(ej.Z,{ButtonActive:1===O,ButtonDivision:j.Zc,ButtonWidth:"185px"})}),(0,P.jsx)(V.OK,{children:(0,P.jsx)(ej.Z,{ButtonActive:2===O,ButtonDivision:j.uF,ButtonWidth:"185px"})})]})]}),(0,P.jsxs)(z.Z,{Show:R,children:[(0,P.jsx)(V.x4,{children:U()}),(0,P.jsx)(V.x4,{children:U()}),(0,P.jsx)(V.x4,{children:U()})]})]})})}),eC=n(6049),ew=n(47611),eO=n(42783),eS=n(23086),ek=["className","style","children"],eZ=["className"];function quickAccess_styled_ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function quickAccess_styled_objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?quickAccess_styled_ownKeys(Object(n),!0).forEach(function(t){(0,l.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):quickAccess_styled_ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var eD=en.r.var("colors.competition.primeraDivision.normal"),eP=en.r.var("colors.contrasting.gray200"),quickAccess_styled_styledTag=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"div";return function(n){var a=n.className,r=n.style,o=n.children,s=(0,O.Z)(n,ek);return f.createElement(t,quickAccess_styled_objectSpread({className:(0,S.cx)(e,a),style:r},(0,k.R)(s)),o)}},eB=quickAccess_styled_styledTag((0,S.iv)({background:"contrasting.white",borderBottom:"1px solid ".concat(eP),width:"100%",overflow:"auto",paddingTop:"1.5rem",paddingBottom:"0.5rem",tabletPortraitDown:{paddingTop:"1rem"}})),eT=quickAccess_styled_styledTag((0,S.iv)({display:"flex",alignItems:"center"}),"ul"),eI=quickAccess_styled_styledTag((0,S.iv)({flex:"1 0 auto"}),"li"),eA=(0,S.iv)({fontFamily:"'LaLiga Text Bold'",fontSize:"14px",lineHeight:"100%",display:"block",padding:"0.75rem",textAlign:"center",borderBottom:"0.25rem solid transparent",transition:"opacity 0.3s, border-color 0.3s",whiteSpace:"nowrap","&:hover":{borderColor:eD},"&:focus-visible":{outline:"1px solid ".concat(eD),outlineOffset:"1px",borderRadius:"2px"}}),QuickAccessItemLink=function(e){var t=e.className,n=(0,O.Z)(e,eZ);return(0,P.jsx)(w.Z,quickAccess_styled_objectSpread({className:(0,S.cx)(eA,t)},n))},eF=n(57088);function generateQuickAccessLinkParams(e,t,n){var a=e.target,r=e.url,o="",s="";switch(a){case"internal":var i=(0,eF.Z)("index",{lang:t,country:n});"es"===t&&"ES"===n&&(i=i.substring(0,i.length-1)),o="".concat(i).c
1oncat(r),s="_self";break;case"external":o=r,s="_blank"}return{Href:o,Target:s}}function quickAccess_ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function quickAccess_objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?quickAccess_ownKeys(Object(n),!0).forEach(function(t){(0,l.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):quickAccess_ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var eN=(0,_.Th)(function(e){var t,n,a,r,o,s,i,l,c=e.moduleContent,d=e.competition,p=e.lang,u=e.country,g=(0,f.useCallback)(function(e){(0,Y.AB)("Interaccion","Botonera",e)},[]);return null!=c&&null!==(t=c.content)&&void 0!==t&&t.general_items||null!=c&&null!==(n=c.content)&&void 0!==n&&n.hot_items?(d||(d=j.s3),(0,P.jsx)(eB,{children:(0,P.jsx)(eS.Z,{children:(null==c?void 0:null===(a=c.content)||void 0===a?void 0:null===(r=a.general_items)||void 0===r?void 0:r.length)>0&&(0,P.jsx)("nav",{"aria-label":x.Z.t("quick_access_links"),children:(0,P.jsxs)(eT,{children:[null==c?void 0:null===(o=c.content)||void 0===o?void 0:null===(s=o.general_items)||void 0===s?void 0:s.map(function(e,t){return(0,P.jsx)(eI,{onClick:function(){return g(null==e?void 0:e.name)},color:(null==e?void 0:e.color)||b.C.palette.contrasting.gray800,children:(0,P.jsx)(QuickAccessItemLink,quickAccess_objectSpread(quickAccess_objectSpread({},generateQuickAccessLinkParams(e,p,u)),{},{children:null==e?void 0:e.name}))},t)}),null==c?void 0:null===(i=c.content)||void 0===i?void 0:null===(l=i.hot_items)||void 0===l?void 0:l.map(function(e,t){return(0,P.jsx)(eI,{onClick:function(){return g(null==e?void 0:e.name)},color:(null==e?void 0:e.color)||b.C.palette.competition.primeraDivision.normal,children:(0,P.jsx)(QuickAccessItemLink,quickAccess_objectSpread(quickAccess_objectSpread({},generateQuickAccessLinkParams(e,p,u)),{},{style:{color:b.C.palette.competition.primeraDivision.normal},children:null==e?void 0:e.name}))},t)})]})})})})):null}),eR=n(80623),ez=n(89574),eE=n(25959),eL=["className","style","children"],eW=["className","style","children"],eK=["className"];function teamfav_styled_ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function teamfav_styled_objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?teamfav_styled_ownKeys(Object(n),!0).forEach(function(t){(0,l.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):teamfav_styled_ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var teamfav_styled_styledTag=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"div";return function(n){var a=n.className,r=n.style,o=n.children,s=(0,O.Z)(n,eL);return f.createElement(t,teamfav_styled_objectSpread({className:(0,S.cx)(e,a),style:r},(0,k.R)(s)),o)}},eH=(0,S.iv)({width:"100%",minHeight:"194px",display:"flex",backgroundColor:"blues.blue400",backgroundImage:"var(--tf-bg)",backgroundRepeat:"no-repeat",backgroundPosition:"center",backgroundSize:"cover",mobileLandscapeDown:{backgroundPosition:"top center",backgroundSize:"100%"}}),TeamFavWrap=function(e){var t=e.className,n=e.style,a=e.children,r=(0,O.Z)(e,eW);return(0,P.jsx)("div",teamfav_styled_objectSpread(teamfav_styled_objectSpread({className:(0,S.cx)(eH,t),style:teamfav_styled_objectSpread(teamfav_styled_objectSpread({},n),{},{"--tf-bg":"url('".concat(j.dw,"beats/horizontal-revert.svg')")})},(0,k.R)(r)),{},{children:a}))},eq=teamfav_styled_styledTag((0,S.iv)({width:"100%",maxWidth:"1440px",margin:"0 auto",display:"flex",justifyContent:"center",alignItems:"center",padding:"0 10px",mobileLandscapeDown:{flexDirection:"column",padding:"45px 15px 40px",justifyContent:"flex-start"}})),eM=teamfav_styled_styledTag((0,S.iv)({minWidth:"calc(50% - 90px)","& p":{textAlign:"right","&:last-of-type":{marginTop:"5px"}},mobileLandscapeDown:{minWidth:"unset",padding:"0 5px","& p":{textAlign:"left","&:first-of-type":{fontSize:"1.25rem"},"&:last-of-type":{marginTop:"10px",marginBottom:"20px",fontSize:"1.25rem"}}}})),eU=teamfav_styled_styledTag((0,S.iv)({display:"flex",justifyContent:"center",alignItems:"center",minWidth:"180px",mobileLandscapeDown:{display:"none"}})),eG=teamfav_styled_styledTag((0,S.iv)({minWidth:"calc(50% - 90px)",display:"flex",alignItems:"center",justifyContent:"flex-start","& figure":{maxWidth:"100px",marginLeft:"25px"},mobileLandscapeDown:{"& figure":{display:"none"},"& button":{minWidth:"100%"},minWidth:"unset",width:"100%"}})),eX=(0,S.iv)({display:"block"}),styled_TextBlock=function(e){var t=e.className,n=(0,O.Z)(e,eK);return(0,P.jsx)(E.Z,teamfav_styled_objectSpread({className:(0,S.cx)(eX,t)},n))},teamfav=function(){return(0,P.jsx)(TeamFavWrap,{children:(0,P.jsxs)(eq,{children:[(0,P.jsxs)(eM,{children:[(0,P.jsx)(styled_TextBlock,{Font:b.C.typography.label.labelMBold,FontColor:b.C.palette.contrasting.white,children:x.Z.t("whats_your_favourite_team")}),(0,P.jsx)(styled_TextBlock,{Font:b.C.typography.label.labelMBold,FontColor:b.C.palette.contrasting.white,children:x.Z.t("keep_the_contents_that")})]}),(0,P.jsx)(eU,{children:(0,P.jsx)(R.Z,{Src:j.dw+"generic/stadium-flat.svg",Width:"144px",Height:"144px"})}),(0,P.jsxs)(eG,{children:[(0,P.jsx)(ez.Z,{linkProps:{Href:"/"}
1,ButtonBackground:b.C.palette.contrasting.white,BackgroundColor:b.C.palette.blues.blue400,ButtonWidth:"290px",ButtonHeight:"47px",children:(0,P.jsx)(E.Z,{Font:b.C.typography.label.labelSBold,children:x.Z.t("start").toUpperCase()})}),(0,P.jsx)(eE.Z,{LogoHorizontal:!0,MonocolorWhite:!0,BackgroundColor:"transparent",LogoWidth:"100px"})]})]})})},e$=n(90282),eQ=n(46874),eJ=n(93464),eV=["className","style","children"],eY=["className","BackgroundColor","style","children"],e0=["className","sidebar","style","children"];function layout_styled_ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function layout_styled_objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?layout_styled_ownKeys(Object(n),!0).forEach(function(t){(0,l.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):layout_styled_ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var e1=en.r.var("colors.contrasting.white"),layout_styled_styledTag=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"div";return function(n){var a=n.className,r=n.style,o=n.children,s=(0,O.Z)(n,eV);return f.createElement(t,layout_styled_objectSpread({className:(0,S.cx)(e,a),style:r},(0,k.R)(s)),o)}},e2=(0,S.iv)({width:"100%",maxWidth:"1296px",margin:"0 auto",position:"relative",desktopDown:{padding:"15px"},tabletPortraitDown:{padding:"10px"}});layout_styled_styledTag(e2);var e5=layout_styled_styledTag((0,S.cx)(e2,(0,S.iv)({width:"100%",height:"auto"}))),e4=layout_styled_styledTag((0,S.iv)({height:"auto",padding:"65px 0",tabletLandscapeDown:{width:"100%",padding:0}}));(0,S.iv)({height:"auto",padding:"var(--sidebar-p, 132px 0)",tabletLandscapeDown:{width:"100%",padding:"20px 0"},tabletPortraitDown:{width:"100%",display:"grid",gridAutoRows:"minmax(20px, auto)",gridTemplateColumns:"repeat(2, 1fr)",gridGap:"20px"},"@media (max-width: 600px)":{gridTemplateColumns:"1fr"}});var e8=layout_styled_styledTag((0,S.iv)({gridArea:"DASHBOARD",width:"100%",backgroundColor:"contrasting.white"}),"main"),e3=layout_styled_styledTag((0,S.iv)({width:"100%",height:"auto"})),e6=(0,S.iv)({width:"100%",height:"auto",backgroundColor:"var(--row-bg, ".concat(e1,")")}),ComponentRow=function(e){var t=e.className,n=e.BackgroundColor,a=e.style,r=e.children,o=(0,O.Z)(e,eY);return(0,P.jsx)("div",layout_styled_objectSpread(layout_styled_objectSpread({className:(0,S.cx)(e6,t),style:layout_styled_objectSpread(layout_styled_objectSpread({},a),{},{"--row-bg":n})},(0,k.R)(o)),{},{children:r}))},e7=layout_styled_styledTag((0,S.iv)({display:"flex",flexDirection:"column"})),e9=layout_styled_styledTag((0,S.iv)({display:"flex"}));layout_styled_styledTag((0,S.iv)({padding:"40px"})),layout_styled_styledTag((0,S.iv)({display:"flex"})),(0,S.iv)({width:"var(--area)"}),layout_styled_styledTag((0,S.iv)({width:"100%",height:"auto",padding:"65px 0",tabletLandscapeDown:{padding:"20px 0"}}));var te=(0,S.iv)({width:"100%","&[data-sidebar=true]":{paddingBottom:"20px"},"& span":{justifyContent:"center"}}),DigitalAssetWapper=function(e){var t=e.className,n=e.sidebar,a=e.style,r=e.children,o=(0,O.Z)(e,e0);return(0,P.jsx)("div",layout_styled_objectSpread(layout_styled_objectSpread({className:(0,S.cx)(te,t),"data-sidebar":n?"true":"false",style:a},(0,k.R)(o)),{},{children:r}))},tt=layout_styled_styledTag((0,S.iv)({width:"100%",paddingBottom:"32px"})),tn=n(70952),ta=n(47555),tr=n(17674),to=n(97928),ts=n(1216),ti=["className","style","children"];function bannerEstadiosAds_styled_ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}var tl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"div";return function(n){var a=n.className,r=n.style,o=n.children,s=(0,O.Z)(n,ti);return f.createElement(t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?bannerEstadiosAds_styled_ownKeys(Object(n),!0).forEach(function(t){(0,l.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bannerEstadiosAds_styled_ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({className:(0,S.cx)(e,a),style:r},(0,k.R)(s)),o)}}((0,S.iv)({display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",marginBlock:"32px"})),bannerEstadiosAds=function(e){var t=e.arrayAdUnit,n=(0,f.useContext)(_.GS).lang;return(0,P.jsx)(ts.ZP,{once:!0,offset:100,children:(0,P.jsx)(tl,{children:(0,P.jsx)(to.Un,{adUnit:"laliga-web/".concat((void 0===t?[]:t).join("/"),"/banner_estadios"),sizes:[[1,1],[320,50],[300,50],[300,100],[320,100]],targetingArguments:{pos:"banner_estadios",idioma_pagina:n}})})})},tc=["className","style","children"],td=["className","Dark","style","children"],tp=["className","ColWidth","style","children"],tu=["className"],tg=["className","isEven","style","children"];function stadiumassistea_styled_ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function stadiumassistea_styled_objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?stadiumassistea_styled_ownKeys(Object(n),!0).forEach(function(t){(0,l.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):stadiumassistea_styled_ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var ty=en.r.var("colors.contrasting.gray200"),stadiumassistea_styled_styledTag=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"div",n=f.forwardRef(function(n,a){var r=n.className,o=n.style,s=n.children,i=(0,O.Z)(n,tc);return f.createElement(t,stadiumassistea_styled_objectSpread({ref:a,className:(0,S.cx)(e,r),style:o},(0,k.R)(i)),s)});return n.displayName="string"==typeof t?"styled.".concat(t):"styled",n},th=stadiumassistea_styled_styledTag((0,S.iv)({width:"100%",marginBottom:"20px"})),tm=(0,S.iv)({position:"relative",margin:"0 auto",minWidth:"320px",border:"1px solid ".concat(ty),"&[data-dark=true]":{background:"contrasting.white"}}),StadiumAssistContainer=function(e){var t=e.className,n=e.Dark,a=e.style,r=e.children,o=(0,O.Z)(e,td);return(0,P.jsx)("div",stadiumassistea_styled_objectSpread(stadiumassistea_styled_objectSpread({className:(0,S.cx)(tm,t),"data-dark":n?"true":void 0,style:a},(0,k.R)(o)),{},{children:r}))},tf=stadiumassistea_styled_styledTag((0,S.iv)({position:"absolute",top:0,left:0,width:"100%",height:"4px",backgroundColor:"competition.primeraDivision.normal"})),tx=stadiumassistea_styled_styledTag((0,S.iv)({display:"flex",justifyContent:"center",gap:"10px",height:"80px",padding:"10px 25px",tabletPortraitDown:{paddingLeft:0}})),tb=(0,S.iv)({width:"var(--col-w)",justifyContent:"space-between",height:"100%",display:"flex",flexDirection:"column",alignContent:"center"}),TotalAssistCol=function(e){var t=e.className,n=e.ColWidth,a=e.style,r=e.children,o=(0,O.Z)(e,tp);return(0,P.jsx)("div",stadiumassistea_styled_objectSpread(stadiumassistea_styled_objectSpread({className:(0,S.cx)(tb,t),style:stadiumassistea_styled_objectSpread(stadiumassistea_styled_objectSpread({},a),{},{"--col-w":n?"".concat(n,"%"):void 0})},(0,k.R)(o)),{},{children:r}))},tj=stadiumassistea_styled_styledTag((0,S.iv)({display:"flex",height:"50px",borderBlock:"1px solid ".concat(ty)})),tv=stadiumassistea_styled_styledTag((0,S.iv)({display:"flex",justifyContent:"center",alignItems:"center",width:"50%",marginInline:"auto","& i":{display:"grid",placeItems:"center",marginRight:"8px"}})),t_=(0,S.iv)({display:"block",margin:0}),stadiumassistea_styled_TextBlock=function(e){var t=e.className,n=(0,O.Z)(e,tu);return(0,P.jsx)(E.Z,stadiumassistea_styled_objectSpread({className:(0,S.cx)(t_,t)},n))},tC=stadiumassistea_styled_styledTag((0,S.iv)({display:"flex",flexDirection:"column",alignItems:"center",marginTop:"16px",marginBottom:"4px",paddingInline:"1rem"})),tw=stadiumassistea_styled_styledTag((0,S.iv)({textAlign:"center",padding:"16px 30px",color:"contrasting.gray800",fontFamily:"'LaLiga Text'",fontSize:"12px",lineHeight:"120%"})),tO=stadiumassistea_styled_styledTag((0,S.iv)({color:"contrasting.gray400",width:"100%",display:"table"})),tS=stadiumassistea_styled_styledTag((0,S.iv)({width:"100%",display:"flex",padding:"4px 8px",backgroundColor:"contrasting.gray150","& .headers":{width:"100%"}})),tk=(0,S.iv)({width:"100%",display:"flex",background:"contrasting.gray150","&[data-even=true]":{background:"contrasting.white"},"& > div":{display:"flex",verticalAlign:"middle",paddingBlock:"4px",color:"contrasting.gray500",fontFamily:"'LaLiga Text'",fontSize:"12px",lineHeight:"120%","&.season":{textAlign:"left",paddingLeft:"8px",width:"100%"},"&.percentage":{textAlign:"left",fontWeight:"bold",color:"contrasting.gray800",width:"100%",display:"flex",alignItems:"center",marginLeft:"-8px","& i":{color:"greens.green500"},"&.down i":{color:"reds.red500"}},"&.number":{textAlign:"left",width:"100%"}}}),RowStadiumAssistPrevious=function(e){var t=e.className,n=e.isEven,a=e.style,r=e.children,o=(0,O.Z)(e,tg);return(0,P.jsx)("div",stadiumassistea_styled_objectSpread(stadiumassistea_styled_objectSpread({className:(0,S.cx)(tk,t),"data-even":n?"true":void 0,style:a},(0,k.R)(o)),{},{children:r}))},tZ=stadiumassistea_styled_styledTag((0,S.iv)({display:"flex",gap:"8px",width:"100%",maxWidth:"320px",marginTop:"12px",marginBottom:"8px",marginInline:"auto"})),tD=n(91324),tP=(0,_.Th)(function(e){var t,n,a,r,o,s,i,l,c,d,p=e.data,u=e.lang,g=e.arrayAdUnit,y=e.Dar
1k,h=f.useState("attendance"),m=(0,tr.Z)(h,2),j=m[0],v=m[1],_={attendance:p.attendance,occupation:p.occupation};return(0,P.jsxs)(th,{children:[(0,P.jsxs)(StadiumAssistContainer,{Dark:y,children:[(0,P.jsx)(tf,{}),(0,P.jsxs)(tC,{children:[(0,P.jsx)(E.Z,{Font:b.C.typography.headline.s,TextTransform:"uppercase",TextAlign:"center",tagType:"p",children:x.Z.t("attendance_at_stadiums")}),(0,P.jsxs)(tZ,{children:[(0,P.jsx)(ez.Z,{ButtonHoverColor:"attendance"===j?b.C.palette.contrasting.white:b.C.palette.contrasting.gray900,ButtonHoverBackground:"attendance"===j?b.C.palette.competition.primeraDivision.normal:b.C.palette.contrasting.white,ButtonHoverBorderColor:"attendance"===j?b.C.palette.competition.primeraDivision.normal:b.C.palette.contrasting.gray300,ButtonColor:"attendance"===j?b.C.palette.contrasting.white:b.C.palette.contrasting.gray900,ButtonBackground:"attendance"===j?b.C.palette.competition.primeraDivision.normal:b.C.palette.contrasting.white,ButtonBorderColor:"attendance"===j?b.C.palette.competition.primeraDivision.normal:b.C.palette.contrasting.gray300,ButtonBorderWidth:"1px",ButtonBorderRadius:"6px",onClick:function(){return v("attendance")},ButtonWidth:"50%",children:x.Z.t("attendance")}),(0,P.jsx)(ez.Z,{ButtonWidth:"50%",ButtonHoverColor:"occupation"===j?b.C.palette.contrasting.white:b.C.palette.contrasting.gray900,ButtonHoverBackground:"occupation"===j?b.C.palette.competition.primeraDivision.normal:b.C.palette.contrasting.white,ButtonHoverBorderColor:"occupation"===j?b.C.palette.competition.primeraDivision.normal:b.C.palette.contrasting.gray300,ButtonColor:"occupation"===j?b.C.palette.contrasting.white:b.C.palette.contrasting.gray900,ButtonBackground:"occupation"===j?b.C.palette.competition.primeraDivision.normal:b.C.palette.contrasting.white,ButtonBorderColor:"occupation"===j?b.C.palette.competition.primeraDivision.normal:b.C.palette.contrasting.gray300,ButtonBorderWidth:"1px",ButtonBorderRadius:"6px",onClick:function(){return v("occupation")},children:x.Z.t("occupation")})]}),(0,P.jsxs)(tx,{children:[(0,P.jsx)(TotalAssistCol,{children:(0,P.jsx)(ee.Z,{IconName:"icon-user-border-empty-ea",IconColor:b.C.palette.contrasting.gray800,IconSize:3})}),(0,P.jsxs)(TotalAssistCol,{children:[(0,P.jsxs)(E.Z,{Font:b.C.typography.numbers.xl,FontColor:b.C.palette.competition.primeraDivision.normal,TextAlign:"left",children:[(0,N.uf)(null===(t=_[j])||void 0===t?void 0:t.current,u),"occupation"===j&&"%"]}),(0,P.jsx)(E.Z,{Font:b.C.typography.text.xsRegular,FontColor:"#70707F",TextAlign:"left",children:"es"===u?p.season_es:p.season_en})]})]})]}),(0,P.jsxs)(tj,{children:["occupation"!==j&&(0,P.jsxs)(tv,{children:[(0,P.jsx)(ee.Z,{IconName:(null===(n=_[j])||void 0===n?void 0:n.current)<0?"icon-triangle_down":"icon-triangle_up",IconColor:(null===(a=_[j])||void 0===a?void 0:a.current)<0?b.C.palette.reds.red500:b.C.palette.greens.green500,IconSize:.5}),(0,P.jsx)(stadiumassistea_styled_TextBlock,{Font:b.C.typography.numbers.m,FontColor:b.C.palette.contrasting.gray800,children:(0,N.uf)(null===(r=_[j])||void 0===r?void 0:r.difference,u)})]}),(0,P.jsxs)(tv,{children:[(0,P.jsx)(ee.Z,{IconName:(null===(o=_[j])||void 0===o?void 0:o.current)<0?"icon-triangle_down":"icon-triangle_up",IconColor:(null===(s=_[j])||void 0===s?void 0:s.current)<0?b.C.palette.reds.red500:b.C.palette.greens.green500,IconSize:.5}),(0,P.jsxs)(stadiumassistea_styled_TextBlock,{Font:b.C.typography.numbers.m,FontColor:b.C.palette.contrasting.gray800,children:["attendance"===j?null===(i=_[j])||void 0===i?void 0:i.percentage:null===(l=_[j])||void 0===l?void 0:l.difference,"attendance"===j?"%":"pp"]})]})]}),(0,P.jsxs)(tS,{children:[(0,P.jsx)(E.Z,{className:"headers",Font:b.C.typography.label.labelXSBold,TextTransform:"uppercase",children:x.Z.t("season")}),(0,P.jsx)(E.Z,{className:"headers",Font:b.C.typography.label.labelXSBold,TextTransform:"uppercase",children:x.Z.t("difference")}),(0,P.jsx)(E.Z,{className:"headers",Font:b.C.typography.label.labelXSBold,TextTransform:"uppercase",children:x.Z.t("occupation")})]}),(null===(c=p[j])||void 0===c?void 0:c.previous_season)&&(0,P.jsx)(tO,{children:null===(d=p[j])||void 0===d?void 0:d.previous_season.map(function(e,t){var n="percentage";return e.percentage<0&&(n+=" down"),(0,P.jsxs)(RowStadiumAssistPrevious,{isEven:t%2==0,children:[(0,P.jsxs)("div",{className:"season",children:[x.Z.t("season_acronym")," ",e.season]}),(0,P.jsx)("div",{className:n,children:e.percentage?(0,P.jsxs)(f.Fragment,{children:[(0,P.jsx)(ee.Z,{IconName:e.percentage<0?"icon-triangle_down":"icon-triangle_up",IconSize:.3}),(0,N.uf)(e.percentage,u)]}):e.difference?(0,P.jsxs)(f.Fragment,{children:[(0,P.jsx)(ee.Z,{IconName:e.percentage<0?"icon-triangle_down":"icon-triangle_up",IconSize:.3}),(0,N.uf)(e.difference,u)]}):(0,P.jsx)(f.Fragment,{children:(0,P.jsx)("div",{style:{width:"50%",textAlign:"center"},children:"-"})})}),(0,P.jsx)("div",{className:"number",children:e.number&&(0,N.uf)(e.number,u)})]},t)})}),(0,P.jsx)(tw,{dangerouslySetInnerHTML:{__html:"es"===u?p.note_es:p.note_en}})]}),g&&(0,P.jsx)(bannerEstadiosAds,{arrayAdUnit:g}),g&&(0,P.jsx)(tD.Z,{arrayAdUnit:["home"]})]})}),tB=n(60281);function layout_ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function layout_objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?layout_ownKeys(Object(n),!0).forEach(function(t){(0,l.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):layout_ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var tT={31:[3,1],1:[4],13:[1,3]},Modules=function(e){var t,n,a,r=e.index,o=e.module,s=e.competition,i=e.sidebar,l=e.isBrandDay,d=e.moduleContent,p=e.config,u=e.baseAdUnit,g=void 0===u?[]:u,y=e.Dark;switch(o){case"carousel-hightlights":return(0,P.jsx)(eR.Z,{Data:null==d?void 0:null===(t=d.content)||void 0===t?void 0:t.highlights,competition:s,isBrandDay:l,arrayAdUnit:[].concat((0,c.Z)(g),["cabecera"])});case"sponsors":return(0,P.jsx)(A.Z,{slider:!0});case"next-matches":return(0,P.jsx)(tt,{children:(0,P.jsx)(eO.Z,{arrayAdUnit:[].concat((0,c.Z)(g),["proximos_partidos"]),DefaultCompetition:s||j.s3,Matches:null==d?void 0:d.content,Ready:!0,Dark:y})});case"last-news":return(0,P.jsx)(tt,{children:(0,P.jsx)(ew.Z,{arrayAdUnit:g,news:null==d?void 0:null===(n=d.content)||void 0===n?void 0:n.news,Title:x.Z.t("last_news",null,{category:x.Z.t("laliga")})})});case"more-readed":return(0,P.jsx)(eC.Z,{arrayAdUnit:g});case"last-videos":return(0,P.jsx)(e$.Z,{arrayAdUnit:[].concat((0,c.Z)(g),["ultimos_videos_la_liga"]),videos:null==d?void 0:null===(a=d.content)||void 0===a?void 0:a.videos,Title:x.Z.t("last_videos",null,{category:x.Z.t("laliga")}),Dark:y});case"rankings":return(0,P.jsx)(tt,{children:(0,P.jsx)(G.Z,{arrayAdUnit:[].concat((0,c.Z)(g),["lideres"]),DefaultCompetition:s||j.s3})});case"quizz":case"challenges":case"laliga-history":break;case"apps":return(0,P.jsx)(I.Z,{Dark:y});case"favourite-team":return(0,P.jsx)(teamfav,{});case"photogallery-thumbnails":case"photogallery-3-columns":return(0,P.jsx)(tt,{children:(0,P.jsx)(T.BQ,{photogalleries:null==d?void 0:d.content,Dark:y})});case"banner":case"pre-matches":case"bet-widget":case"player-of-month":case"advertising":case"broadcasters":return(0,P.jsx)("div",{children:o});case"player-comparator":return(0,P.jsx)("div",{style:{zIndex:10-r,width:"100%"},children:(0,P.jsx)(ta.Z,{})});case"team-comparator":return(0,P.jsx)("div",{style:{zIndex:10-r,width:"100%"},children:(0,P.jsx)(tn.Z,{})});case"competition-stats":return(0,P.jsx)(tt,{children:(0,P.jsx)(e_,{DefaultCompetition:s||j.s3})});case"modulo-asistencia":return(0,P.jsx)(tP,{arrayAdUnit:[].concat((0,c.Z)(g),["asistencia_estadios"]),data:p,Dark:y});case"standing":return(0,P.jsx)(tB.Z,{arrayAdUnit:[].concat((0,c.Z)(g),["clasificacion"]),DefaultCompetition:s||j.s3});case"modulo-banner":if(i)return(0,P.jsx)(banner,layout_objectSpread(layout_objectSpread({},p),{},{sidebar:i}));return(0,P.jsx)(L.W2,{children:(0,P.jsx)(banner,layout_objectSpread(layout_objectSpread({},p),{},{sidebar:i}))});case"digital-asset":if(!p.digital_asset)return"";if(p.full_width||i)return(0,P.jsx)(DigitalAssetWapper,{sidebar:i,children:(0,P.jsx)(B.Z,{slug:p.digital_asset,group:"module-layout",digitalAssetSize:{lg:i?"310X469":"1920X415",sm:"967X210",xs:"420X200"}})});return(0,P.jsx)(L.W2,{children:(0,P.jsx)(B.Z,{slug:p.digital_asset,group:"module-layout",digitalAssetSize:{lg:"1300X280",sm:"967X210",xs:"420X200"}})});case"modulo-html":if(!p)return;return(0,P.jsx)("div",{style:{width:"100%"},dangerouslySetInnerHTML:{__html:p.html}});case"modulo-accesos-rapidos":return(0,P.jsx)(eN,{moduleContent:d,competition:s});case"modulo-broadcasters-channels":return(0,P.jsx)(broadcasterschannels,{Dark:y});default:return null}},tI=function(e){(0,o.Z)(Layout,e);var t,n=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n=(0,i.Z)(Layout);if(t){var a=(0,i.Z)(this).constructor;e=Reflect.construct(n,arguments,a)}else e=n.apply(this,arguments);return(0,s.Z)(this,e)});function Layout(){return(0,a.Z)(this,Layout),n.apply(this,arguments)}return(0,r.Z)(Layout,[{key:"componentDidUpdate",value:function(){var e=this.props,t=e.router,n=e.changeCompetitionActive;"/"===t.pathname&&n(j.s3)}},{key:"render",value:function(){var e=this.props,t=e.layout,n=e.competition,a=e.baseAdUnit,r={default:b.C.layout.type.layout,tabletPortrait:"1fr"},o={default:b.C.layout.columnGap,tabletLandscape:b.C.layout.columnGapResponsive};if(t){var s=h()(t.containers,["position"],["asc"]);return(0,P.jsx)(e8,{children:(0,P.jsx)(e3,{children:(0,P.jsx)(e7,{children:g()(s,function(e,s){var i=p()(e.modules,"area"),l=tT[e.type];
1return(0,P.jsx)(ComponentRow,{BackgroundColor:"dark"===e.theme?b.C.palette.contrasting.gray900:b.C.palette.contrasting.white,as:e.padding?e4:null,children:(0,P.jsx)(eJ.Z,{as:"1"!=e.type?e5:null,columns:r,gap:o,children:g()(i,function(r,o){var i={default:l[o-1],tabletPortrait:4};return(0,P.jsx)(eQ.Z,{width:i,children:g()(r,function(r,i){return(0,P.jsx)(e9,{children:(0,P.jsx)(Modules,{index:i,module:r.module,competition:n,config:layout_objectSpread(layout_objectSpread({},r.config),r.additional_config),moduleContent:r,additionalConfig:r.additional_config,sidebar:1===tT[e.type][r.area-1],isBrandDay:t.is_brand_day,baseAdUnit:a,Dark:"dark"===e.theme})},"module-".concat(s).concat(o).concat(i))})},"cell-".concat(s).concat(o))})})},"container-".concat(s))})})})})}return null}}]),Layout}(f.PureComponent),tA=(0,_.Th)((0,m.withRouter)((0,v.M4)(tI)))}}]);

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.