!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="05bca20a-c40b-49c5-8779-6af7ba649d8a",t._sentryDebugIdIdentifier="sentry-dbid-05bca20a-c40b-49c5-8779-6af7ba649d8a")}catch(t){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[66735,77587],{13731:(t,e,r)=>{var a=r(53325),i=r(25725),n=Object.prototype.hasOwnProperty;t.exports=i(function(t,e,r){n.call(t,r)?t[r].push(e):a(t,r,[e])})},16007:(t,e,r)=>{"use strict";r.d(e,{UA:()=>m,UG:()=>n,UH:()=>l,fH:()=>c,fi:()=>u,rC:()=>o});var a=r(41735),i=r(19991);let n=330,s=(0,a.keyframes)` from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } `,o=(0,a.keyframes)` from { clip-path: inset(50% 0 50% 0); } to { clip-path: inset(0 0 0 0); } `,l=(0,a.keyframes)` 0% { clip-path: inset(0 15px 0 0); transform: matrix(1, 0, 0, 0.01, 0, 11.5); } 50% { clip-path: inset(0 15px 0 0); transform: matrix(1, 0, 0, 1, 0, 0); } 100% { clip-path: inset(0 0 0 0); transform: matrix(1, 0, 0, 1, 0, 0); } `,c=(0,a.keyframes)` 0% { clip-path: inset(0 0 0 15px); transform: matrix(1, 0, 0, 0.01, 0, -11.5); } 50% { clip-path: inset(0 0 0 15px); transform: matrix(1, 0, 0, 1, 0, 0); } 100% { clip-path: inset(0 0 0 0); transform: matrix(1, 0, 0, 1, 0, 0); } `,u=(0,a.css)` ${s} ease-in ${n}ms 1 `,m=(0,a.css)` ${t=>((t,e)=>{let r=(0,i.q2)(t);return t&&e&&t>e?(0,a.keyframes)` 0% { background-position: 0 -100%; } 100% { background-position: 0 0; background-image: ${r}; } `:(0,a.keyframes)` 0% { background-position: 0 100%; } 100% { background-position: 0 0; background-image: ${r}; } `})(t.rating,t.previousRating)} ${n}ms ease-in 1 `},16419:t=>{t.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},19991:(t,e,r)=>{"use strict";r.d(e,{Et:()=>n,MR:()=>s,q2:()=>o});var a=r(25940),i=r(98914);let n=t=>{let e=Number(t),r="scoreRating.s00";return e>=9?r="scoreRating.s90":e>=8?r="scoreRating.s80":e>=7?r="scoreRating.s70":e>=6.5?r="scoreRating.s65":e>=6?r="scoreRating.s60":e>0&&(r="scoreRating.s10"),r},s=(t,e,r)=>{let a=Number(t);if(!a||isNaN(a))return{formattedRating:"-",ratingColorKey:"scoreRating.s00"};let s=(0,i.M)(a,"sideBox"===e||2===r?2:1);return Number(s)>=10?{formattedRating:"10",ratingColorKey:"scoreRating.s90"}:{formattedRating:s,ratingColorKey:n(s)}},o=(t,e)=>{if(t&&e)return`linear-gradient(to bottom, ${(0,a.$5)(n(t))} 50%, ${(0,a.$5)(n(e))} 50%)`;let r=(0,a.$5)(n(t));return`linear-gradient(to bottom, ${r}, ${r})`}},20825:(t,e,r)=>{"use strict";r.d(e,{D:()=>c});var a=r(6029),i=r(76356),n=r(6813),s=r(56132),o=r(85974);let l=t=>{switch(t){case s.x.Teams:return"teams";case s.x.Athletes:return"athletes";case s.x.Events:return"events";case s.x.Competitions:return"competitions";default:return"basic.all"}},c=t=>{let{entity:e,searchAll:r=!1,hasFavoriteTeams:c=!1}=t,u=e===s.x.Events&&c;return(0,a.jsx)(i.az,{pt:{base:"sm",md:"[0px]"},px:{base:"sm",md:"[0px]"},children:(0,a.jsx)(n.p,{graphic:u?"no-events-calendar":void 0,titleMessageId:u?"no_upcoming_events":e===s.x.Events?"add_items_to_favourites":"select_favourite_".concat(l(e)),descriptionMessageId:u?"no_upcoming_events_description":e===s.x.Events?"add_items_to_favourites_description":"select_favourite_".concat(l(e),"_description"),children:!u&&(0,a.jsx)(i.az,{pt:"xl",children:(0,a.jsx)(o.M,{searchEntity:r?s.x.All:e})})})})}},25725:(t,e,r)=>{var a=r(81648),i=r(78492),n=r(68988),s=r(91544);t.exports=function(t,e){return function(r,o){var l=s(r)?a:i,c=e?e():{};return l(r,t,n(o,2),c)}}},27869:(t,e,r)=>{t.exports=r(14165)({"&":"&","<":"<",">":">",""":'"',"'":"'"})},30774:(t,e,r)=>{"use strict";r.d(e,{w:()=>l});var a=r(947),i=r(80055),n=r(97431),s=r(79154);let o={};function l(t){let e=(0,a.A)();if(o[t.id])return o[t.id];let r=(0,i.s)(t,e.locale,{skipFallback:!0});if(r)return o[t.id]=r,r;let l=(0,n.t)(t.name,t.category.sport.slug,e);if(!t.uniqueTournament)return o[t.id]=l,l;let c=s[t.uniqueTournament.id.toString()];if(c){let r=t.uniqueTournament.name,a=e.formatMessage({id:c});l=l.replace(new RegExp("\\b".concat(r,"\\b")),a)}return o[t.id]=l,l}},37721:(t,e,r)=>{"use strict";r.d(e,{l:()=>o});var a=r(64082),i=r(6029),n=r(21377),s=r(25940);function o(t){var{id:e,name:r,size:o=56,placeholder:l="/static/images/placeholders/tournament.svg",fallback:c}=t,u=(0,a.T)(t,["id","name","size","placeholder","fallback"]);let m=u.w||u.width||o,d=u.h||u.height||o;return(0,i.jsx)(s._V,Object.assign({fallback:c||(0,i.jsx)(s._V,{w:m,h:d,src:l,alt:r}),src:e?n.yKR.image(e):"",alt:r,w:m,h:d,isGrayscale:u.grayscale},u))}},39975:(t,e,r)=>{"use strict";r.d(e,{A:()=>l,q:()=>o});var a=r(6029),i=r(25940),n=r(55729),s=r(43072);let o=t=>{let{initialVisible:e=!1,defaultHeight:r=0,visibleOffset:o=1e3,persist:l=!1,loader:c,children:u,...m}=t,d={initialInView:e,rootMargin:"".concat(o,"px 0px ").concat(o,"px 0px")},[p,f,g]=(0,s.Wx)(d),x=(0,n.useRef)(e),h=(0,n.useRef)(r);(0,n.useEffect)(()=>{f&&!0!==x.current&&(x.current=!0),f&&h.current!==r&&(h.current=(null==g?void 0:g.boundingClientRect.height)||r)},[f,g]);let v=c||(h.current?(0,a.jsx)(i.az,{h:h.current}):null),b=f||l&&x.current;return(0,a.jsx)(i.az,{ref:p,...m,children:b?u:v})},l=o},47177:(t,e,r)=>{"use strict";r.d(e,{s:()=>o});var a=r(25940),i=r(41735),n=r(16007),s=r(19991);let o=(0,i.default)(a.az)` width: 16px; height: 16px; position: relative; &.animate { > .sideBox-inner { position: relative; width: 16px; height: 16px; background-size: 100% 200%; background-image: ${t=>(0,s.q2)(t.rating,t.previousRating)}; clip-path: inset(50% 0 50% 0); animation: ${n.rC} ease-in-out ${n.UG}ms 1, ${n.UA}; animation-delay: ${n.UG}ms, 0ms; animation-fill-mode: forwards; transform: translate3d(0, 0, 0); z-index: ${a.Py.Backdrop}; } ::before { content: ''; display: block; position: absolute; top: 0; left: 0; width: calc(100% - 1px); height: 50%; border-top: 1px solid; border-left: 1px solid; transform: translate3d(0, 0, 0); animation: ${n.UH} ease-in-out ${2*n.UG}ms 1; z-index: ${a.Py.Button}; } ::after { content: ''; display: block; position: absolute; bottom: 0; right: 0; width: calc(100% - 1px); height: 50%; border-right: 1px solid; border-bottom: 1px solid; transform: translate3d(0, 0, 0); animation: ${n.fH} ease-in-out ${2*n.UG}ms 1; z-index: ${a.Py.Button}; } } // change width for textual part of rating in a transition + span { transition: width ${n.UG}ms ease-in; transition-delay: ${t=>"10"===t.rating?n.UG:0}ms; } `},54521:(t,e,r)=>{"use strict";r.d(e,{C:()=>s});var a=r(55729),i=r(494),n=r(72753);function s(t){let e=(0,a.useMemo)(()=>(0,n.vt)(),[]);return(0,i.d4)(e,t)}},55575:(t,e,r)=>{var a=r(60567),i=r(27869),n=/&(?:amp|lt|gt|quot|#39);/g,s=RegExp(n.source);t.exports=function(t){return(t=a(t))&&s.test(t)?t.replace(n,i):t}},61497:(t,e,r)=>{"use strict";r.d(e,{V:()=>a});let a="search_entity_key"},66735:(t,e,r)=>{"use strict";r.d(e,{e:()=>a});let a=(0,r(55729).createContext)({})},70917:(t,e,r)=>{var a=r(74283),i=r(87567);t.exports=function(t){return null==t?[]:a(t,i(t))}},74283:(t,e,r)=>{var a=r(88601);t.exports=function(t,e){return a(e,function(e){return t[e]})}},76155:(t,e,r)=>{"use strict";r.d(e,{J:()=>n});var a=r(6029),i=r(30774);let n=t=>{let{tournament:e}=t,r=(0,i.w)(e);return(0,a.jsx)(a.Fragment,{children:r})}},78492:(t,e,r)=>{var a=r(50956);t.exports=function(t,e,r,i){return a(t,function(t,a,n){e(i,t,r(t),n)}),i}},79634:(t,e,r)=>{"use strict";r.d(e,{q:()=>a.q});var a=r(39975)},81648:t=>{t.exports=function(t,e,r,a){for(var i=-1,n=null==t?0:t.length;++i{"use strict";r.d(e,{T:()=>c});var a=r(6029),i=r(25940),n=r(55729),s=r(41735),o=r(52462);let l=(0,s.default)(i.az)` cursor: inherit; > span { display: none; } &.animate { --rating: ${t=>t.rating}; --temp: calc(var(--rating)); --v1: max(var(--temp) - 0.5, 0); --v2: max( (var(--temp) - var(--v1)) * ${t=>2===t.decimalPoints?99:10} - ${t=>2===t.decimalPoints?.05:.5}, 0 ); animation: ${t=>((t,e)=>(0,s.keyframes)` from { --rating: ${e||(t?t-1.5:0)}; } to { --rating: ${t}; } `)(t.rating,t.previousRating)} 660ms ease-in; counter-reset: v1 var(--v1) v2 var(--v2); &::after { content: ${t=>!t.rating||"-"===t.rating||isNaN(+t.rating)?"-":2===t.decimalPoints?"counter(v1) '.' counter(v2, decimal-leading-zero)":"counter(v1) '.' counter(v2)"}; } } &.animation-complete { &::after { content: ${t=>`"${t.rating}"`}; } } `;function c({rating:t,previousRating:e,decimalPoints:r,animate:i}){let{isCountUpSupported:s}=(0,n.useContext)(o.N_),c=(0,n.useRef)(null);return((0,n.useEffect)(()=>{var t;null==(t=c.current)||t.classList.remove("animation-complete"),setTimeout(()=>{requestAnimationFrame(()=>{c.current&&c.current.classList.replace("animate","animation-complete")})},660)},[t,i]),s&&"10"!==t&&"-"!==t)?(0,a.jsx)(l,{ref:c,className:i?"animate":"",rating:t,previousRating:t===e?void 0:e,decimalPoints:r,children:(0,a.jsx)("span",{children:t})}):(0,a.jsx)(a.Fragment,{children:t})}},83359:(t,e,r)=>{"use strict";r.d(e,{n:()=>o});var a=r(6029),i=r(90248),n=r(74620),s=r(91113);let o=t=>{let{id:e}=t;return(0,a.jsx)(i.A,{id:(0,s.O)(n,e)})}},85974:(t,e,r)=>{"use strict";r.d(e,{M:()=>m});var a=r(6029),i=r(28349),n=r(76356),s=r(90248),o=r(52466),l=r(56132),c=r(95084),u=r(61497);let m=t=>{let{searchEntity:e,spread:r}=t,{isMobile:m}=(0,i.$c)();return(0,a.jsxs)(n.so,{direction:"column",onClick:()=>{let t=e===l.x.Competitions?"unique-tournaments":e===l.x.Athletes?"player-team-persons":e;if(sessionStorage.setItem(u.V,t),m){let t=document.getElementById("search-trigger-button");t&&t.click()}else{let t=document.getElementById("search-input");t&&t.focus()}(0,c.ke)({action:"click",location:"favorite_tab",type:"add_button"})},cursor:"pointer",w:r?"100%":"[144px]",h:"[96px]",p:"sm",br:"sm",bg:"primary.highlight",maxW:r?"100%":"[144px]",justify:"space-between",align:"center",children:[(0,a.jsx)(n.so,{w:"[40px]",h:"[40px]",br:"50%",border:"2px solid {colors.primary.default}",justify:"center",align:"center",bg:"surface.s1",children:(0,a.jsx)(o.xZp,{fill:"primary.default"})}),(0,a.jsx)(i.EY,{textStyle:"display.small",w:"100%",py:"sm",textAlign:"center",color:"primary.default",textTransform:"capitalize",children:(0,a.jsx)(s.A,{id:"add"})})]})}},87827:(t,e,r)=>{"use strict";r.d(e,{G:()=>a.A});var a=r(94400)},90510:(t,e,r)=>{"use strict";r.d(e,{XU:()=>m,Gr:()=>p,ib:()=>d});var a,i,n=r(13829),s=r(55729),o=r(947);!function(t){t.formatDate="FormattedDate",t.formatTime="FormattedTime",t.formatNumber="FormattedNumber",t.formatList="FormattedList",t.formatDisplayName="FormattedDisplayName"}(a||(a={})),function(t){t.formatDate="FormattedDateParts",t.formatTime="FormattedTimeParts",t.formatNumber="FormattedNumberParts",t.formatList="FormattedListParts"}(i||(i={}));var l=function(t){var e=(0,o.A)(),r=t.value,a=t.children,i=(0,n.Tt)(t,["value","children"]);return a(e.formatNumberToParts(r,i))};function c(t){var e=function(e){var r=(0,o.A)(),a=e.value,i=e.children,s=(0,n.Tt)(e,["value","children"]),l="string"==typeof a?new Date(a||0):a;return i("formatDate"===t?r.formatDateToParts(l,s):r.formatTimeToParts(l,s))};return e.displayName=i[t],e}function u(t){var e=function(e){var r=(0,o.A)(),a=e.value,i=e.children,l=(0,n.Tt)(e,["value","children"]),c=r[t](a,l);if("function"==typeof i)return i(c);var u=r.textComponent||s.Fragment;return s.createElement(u,null,c)};return e.displayName=a[t],e}l.displayName="FormattedNumberParts",l.displayName="FormattedNumberParts";var m=u("formatDate"),d=u("formatTime"),p=u("formatNumber");u("formatList"),u("formatDisplayName"),c("formatDate"),c("formatTime")},94400:(t,e,r)=>{"use strict";r.d(e,{A:()=>h});var a=r(64082),i=r(6029),n=r(21501),s=r(25940),o=r(43072),l=r(21377),c=r(55729),u=r(16007);function m({duration:t="330ms",repeatCount:e=1,delay:r=u.UG,width:a=24,height:n=24,animate:o}){let[m,d]=(0,c.useState)(!1);return((0,c.useLayoutEffect)(()=>{let t;return o||(0,l.NuQ)()?t=window.setTimeout(()=>{requestAnimationFrame(()=>{d(!0)})},r):d(!1),()=>{window.clearTimeout(t)}},[o]),m)?(0,i.jsx)(s.az,{position:"absolute",top:"1",left:"1",h:n-2,w:a-2,zIndex:s.Py.Sticky,overflow:"hidden",children:(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",viewBox:"0 0 32 32",width:a,height:n,style:{width:"100%",height:"100%",transform:"translate3d(0px, 0px, 0px)",display:"block",overflow:"hidden"},preserveAspectRatio:"xMidYMid meet",children:[(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{fill:"white",d:"M -64 0 H -32 L 0 32 H -32 Z",fillOpacity:".6",children:(0,i.jsx)("animate",{attributeName:"d",values:"M -64 0 H -32 L 0 32 H -32 Z;M 32 0 H 36 L 72 32 H 68 Z",dur:t,repeatCount:e,keySplines:"0.86 0.12 0.92 0.79"})}),(0,i.jsx)("animateTransform",{attributeName:"transform",type:"translate",from:"-32 0",to:"32 0",dur:t,repeatCount:e})]}),(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{fill:"white",d:"M -36 0 H -32 L 0 32 H -4 Z",fillOpacity:"1.0",children:(0,i.jsx)("animate",{attributeName:"d",values:"M -36 0 H -32 L 0 32 H -4 Z;M 0 0 H 4 L 36 32 H 32 Z;M 32 0 H 48 L 80 32 H 64 Z",dur:t,repeatCount:e,keySplines:"1 0 1 0.1"})}),(0,i.jsx)("animateTransform",{attributeName:"transform",type:"translate",from:"-128 0",to:"0 0",dur:t,repeatCount:e})]})]})}):null}var d=r(47177),p=r(97824),f=r(83204),g=r(19991);let x={sm:[16,12],md:[24,14],lg:[32,16],xl:[40,24]};function h(t){var{rating:e,format:r,cursor:l="default",isOnColor:c}=t,u=(0,a.T)(t,["rating","format","cursor","isOnColor"]);let{formattedRating:h}=(0,g.MR)(e,r,u.decimalPoints),[v,b]=(0,o.Wx)({triggerOnce:!0}),y=(0,n.ZC)(h);if("sideBox"===r)return(0,i.jsxs)(s.so,{position:"relative",children:[(0,i.jsxs)(d.s,{ref:v,className:b?"animate":"",rating:h,previousRating:y,c:c?"onColor.primary":"onSurface.nLv1",mr:"xs",cursor:l,children:[(0,i.jsx)(s.az,{className:"sideBox-inner"}),"10"===h&&(0,i.jsx)(m,{width:16,height:16,delay:660,animate:b})]}),(0,i.jsx)(s.EY,{role:"meter","aria-valuemin":3,"aria-valuemax":10,"aria-valuenow":h,userSelect:"none",cursor:"inherit",font:"display.large",color:c?"onColor.primary":"onSurface.nLv1",w:"10"===h?24:36,h:"16",lineHeight:"16px",letterSpacing:"-0.5px",fontVariant:"tabular-nums",children:(0,i.jsx)(f.T,{rating:h,previousRating:y,decimalPoints:2,animate:b})})]});let w=u.size||"md",$=u.decimalPoints||1,[j,k]=x[w];return(0,i.jsx)(s.az,{ref:v,children:(0,i.jsxs)(p.v,{cursor:l,className:b?2===$?"animate border":"animate":"",align:"center",justify:"center",h:j,w:2===$&&"10"!==h?j+8:j,textAlign:"center",rating:h,previousRating:y,shrink:0,grow:0,fontSize:k,c:c?"onColor.primary":"onSurface.nLv1",children:["10"===h&&(0,i.jsx)(m,{height:j,width:j,animate:b}),(0,i.jsx)(s.EY,{role:"meter","aria-valuemin":3,"aria-valuemax":10,"aria-valuenow":h,userSelect:"none",cursor:"inherit",align:"center",font:"table.lineupsRating",letterSpacing:"-0.5px",fontSize:k,fontVariant:"tabular-nums",color:"white",lineHeight:1,children:(0,i.jsx)(f.T,{rating:h,previousRating:y,decimalPoints:$,animate:b})})]})})}},97824:(t,e,r)=>{"use strict";r.d(e,{v:()=>o});var a=r(25940),i=r(41735),n=r(16007),s=r(19991);let o=(0,i.default)(a.so)` position: relative; transform: translate3d(0, 0, 0); opacity: 0; background-size: 100% 200%; background-image: ${t=>(0,s.q2)(t.rating,t.previousRating)}; &.animate { opacity: 1; animation: ${n.fi}, ${n.UA}; } &.border { ::before { content: ''; display: block; position: absolute; top: 0; left: 0; width: 50%; height: 50%; border-top: 1px solid; border-left: 1px solid; transform: translate3d(0, 0, 0); animation: ${n.UH} ease-in-out ${2*n.UG}ms 1; z-index: ${a.Py.Button}; } ::after { content: ''; display: block; position: absolute; bottom: 0; right: 0; width: 50%; height: 50%; border-right: 1px solid; border-bottom: 1px solid; transform: translate3d(0, 0, 0); animation: ${n.fH} ease-in-out ${2*n.UG}ms 1; z-index: ${a.Py.Button}; } } `},98914:(t,e,r)=>{"use strict";r.d(e,{M:()=>a});let a=function(t,e=0){var r,a,i;return(r="round",a=t,0==+(i=-e)?Math[r](+a):(i*=1,isNaN(a*=1)||"number"!=typeof i||i%1!=0)?NaN:+((a=(a=Math[r](+((a=a.toString().split("e"))[0]+"e"+(a[1]?a[1]-i:-i)))).toString().split("e"))[0]+"e"+(a[1]?+a[1]+i:i))).toFixed(e)}}}]);