1"use strict";(self.webpackChunkflashscore=self.webpackChunkflashscore||[]).push([[35156,49139],{78660(e,t){Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(){}return e.prototype.parse=function(e){var t=e.match(/A1÷(\S*)¬~$/);if(null===t)throw"Invalid sign in feed content";return t[1]},e}();t.ContentSignParser=s},57748(e,t,s){Object.defineProperty(t,"__esModule",{value:!0});var i=s(2702),r=s(65835),a=s(52239),n=s(84517),l=s(79277),o=function(){function e(){}return e.makeSimple=function(){return new i.FeedCutterImpl(e.DEFAULT_DELIMITER_ROW,e.DEFAULT_DELIMITER_COLUMN,e.DEFAULT_DELIMITER_VALUE)},e.makeForKeys=function(){return new n.FeedCutterWrapper(function(t,s){new i.FeedCutterImpl(e.DEFAULT_DELIMITER_ROW,e.DEFAULT_DELIMITER_COLUMN,e.DEFAULT_DELIMITER_VALUE).cutFeed(t,new l.FeedKeysParserWrapper(s))})},e.makeForKeysForEventData=function(t){return new n.FeedCutterWrapper(function(s,i){e.makeSimple().cutFeed(s,new r.TranslatePreParser(e.TRANSLATE_KEY,t,e.makeSubFeed(),new l.FeedKeysParserWrapper(i)))})},e.makeForKeysForEventListData=function(t,s){return new n.FeedCutterWrapper(function(i,n){e.makeSimple().cutFeed(i,new r.TranslatePreParser(e.TRANSLATE_KEY,s,e.makeSubFeed(),new a.ParserSwitcher(new l.FeedKeysParserWrapper(n),e.PARSER_SWITCH_KEY,function(s){return s===e.PARSER_SWITCH_KEY_VALUE_REPAIR?new l.FeedKeysParserWrapper(t):null})))})},e.makeSubFeed=function(){return new i.FeedCutterImpl(e.SUB_FEED_DELIMITER_ROW,e.SUB_FEED_DELIMITER_COLUMN,e.SUB_FEED_DELIMITER_VALUE)},e.makeForEventListData=function(t,s){return new n.FeedCutterWrapper(function(i,n){e.makeSimple().cutFeed(i,new r.TranslatePreParser(e.TRANSLATE_KEY,s,e.makeSubFeed(),new a.ParserSwitcher(n,e.PARSER_SWITCH_KEY,function(s){return s===e.PARSER_SWITCH_KEY_VALUE_REPAIR?t:null})))})},e.makeRow=function(t,s){return t+e.DEFAULT_DELIMITER_VALUE+s+e.DEFAULT_DELIMITER_COLUMN+e.DEFAULT_DELIMITER_ROW},e.DEFAULT_DELIMITER_ROW="~",e.DEFAULT_DELIMITER_COLUMN="¬",e.DEFAULT_DELIMITER_VALUE="÷",e.SUB_FEED_DELIMITER_ROW="â¾",e.SUB_FEED_DELIMITER_COLUMN="â",e.SUB_FEED_DELIMITER_VALUE="â",e.TRANSLATE_KEY="LV",e.PARSER_SWITCH_KEY="ST",e.PARSER_SWITCH_KEY_VALUE_REPAIR="repair",e}();t.FeedCutterFactory=o},2702(e,t){Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t,s){this.delimiterRow=e,this.delimiterColumn=t,this.delimiterValue=s}return e.prototype.cutFeed=function(e,t){t.startFeed();for(var s=0,i=this.splitString(this.delimiterRow,e);s<i.length;s++){var r=i[s];t.startRow();for(var a=0,n=this.splitString(this.delimiterColumn,r);a<n.length;a++){var l=n[a],o=this.splitString(this.delimiterValue,l);1==o.length?t.parseKey("",o[0]):2==o.length&&t.parseKey(o[0],o[1])}t.endRow()}t.endFeed()},e.prototype.splitString=function(e,t){return 0==t.length?[]:t.split(e)},e}();t.FeedCutterImpl=s},84517(e,t){Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e){this.cutFeedFunction=e}return e.prototype.cutFeed=function(e,t){this.cutFeedFunction(e,t)},e}();t.FeedCutterWrapper=s},79277(e,t){Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e){this.wrappedKeysParser=e}return e.prototype.startFeed=function(){},e.prototype.startRow=function(){},e.prototype.parseKey=function(e,t){this.wrappedKeysParser.parseKey(e,t)},e.prototype.endRow=function(){},e.prototype.endFeed=function(){this.parsedModel=this.wrappedKeysParser.getParsedModel()},e.prototype.getParsedModel=function(){return this.parsedModel},e}();t.FeedKeysParserWrapper=s},52239(e,t){Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t,s){this.mainParser=e,this.parserSwitchKey=t,this.parserBySwitchKeyValue=s}return e.prototype.startFeed=function(){this.currentParser=this.mainParser,this.currentParser.startFeed()},e.prototype.startRow=function(){this.currentParser.startRow()},e.prototype.parseKey=function(e,t){if(e==this.parserSwitchKey){var s=this.parserBySwitchKeyValue(t);null!=s&&(this.currentParser.endRow(),this.currentParser.endFeed(),this.currentParser=s,this.currentParser.startFeed(),this.currentParser.startRow())}else this.currentParser.parseKey(e,t)},e.prototype.endRow=function(){this.currentParser.endRow()},e.prototype.endFeed=function(){this.currentParser.endFeed()},e.prototype.getParsedModel=function(){return this.mainParser.getParsedModel()},e}();t.ParserSwitcher=s}
1,65835(e,t){Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t,s,r){this.translates={},this.translateKey=e,this.missingKeyCallback=t,this.rowsFeedCutter=s,this.delegateParser=r,this.rowsParserWrapper=new i(r)}return e.prototype.startFeed=function(){this.delegateParser.startFeed()},e.prototype.startRow=function(){this.delegateParser.startRow()},e.prototype.parseKey=function(e,t){if(e!=this.translateKey){var s=t.match(/{([a-zA-Z0-9-]*)}/g);if(null!=s){if(null==(t=this.translateValue(t,s)))return void this.missingKeyCallback(e);if(""==e)return this.rowsParserWrapper.reset(),void this.rowsFeedCutter.cutFeed(t,this.rowsParserWrapper)}this.delegateParser.parseKey(e,t)}else{var i=t.split("_"),r=i.slice(1).join("_");this.translates[i[0]]=r}},e.prototype.translateValue=function(e,t){for(var s=0,i=t;s<i.length;s++){var r=i[s],a=this.translates[r];if(null==a)return null;e=e.replace(r,a)}return e},e.prototype.endRow=function(){this.delegateParser.endRow()},e.prototype.endFeed=function(){this.delegateParser.endFeed()},e.prototype.getParsedModel=function(){return this.delegateParser.getParsedModel()},e}();t.TranslatePreParser=s;var i=function(){function e(e){this.startRowCounter=0,this.wrappedParser=e}return e.prototype.reset=function(){this.startRowCounter=0},e.prototype.startFeed=function(){},e.prototype.startRow=function(){this.startRowCounter>0&&(this.wrappedParser.endRow(),this.wrappedParser.startRow()),this.startRowCounter++},e.prototype.parseKey=function(e,t){this.wrappedParser.parseKey(e,t)},e.prototype.endRow=function(){},e.prototype.endFeed=function(){},e.prototype.getParsedModel=function(){throw Error("Unsupported!!")},e}()},78991(e,t,s){Object.defineProperty(t,"__esModule",{value:!0});var i=s(57748);t.FeedCutterFactory=i.FeedCutterFactory;var r=s(79277);t.FeedKeysParserWrapper=r.FeedKeysParserWrapper;var a=s(78660);t.ContentSignParser=a.ContentSignParser},77617(e,t,s){s.d(t,{A:()=>i});class i{constructor(e,t,s){this.maxWidth=400,this.isInit=!1,this.div=null,this.divContent=null,this.isDisabled=void 0,this.divId=void 0,this.ident=void 0,this.containerId=void 0,this.defaultZIndex="var(--zIndex-tooltip)",this.currentZIndex=void 0,this.timeoutId=null,this.isDisabled=s||!1,this.divId=void 0===e?null:e,this.ident=void 0===t?1:t,this.containerId="tooltip-"+this.ident,this.currentZIndex=this.defaultZIndex,this.init()}init(){this.isInit||this.isDisabled||this.createTooltipElement()&&(this.isInit=!0)}show(e,t,s,i){if(this.timeoutId&&clearTimeout(this.timeoutId),this.isInit&&!this.isDisabled&&this.div&&this.divContent){var r=e.title;if(r||(r=e.getAttribute("title")||""),r){var a=r.length;if(r=(r=(r=(r=(r=(r=(r=(r=r.replace(/\[bl\]([^]+)/gi,(t,s)=>{var i=e.closest("[data-bookmaker-id]");if(!i)return"";var r=i.getAttribute("data-bookmaker-id");if(r){var a=(s=s.replace(/\[br\]/,"\n")).split("\n"),n=a[0],l="";a[1]&&(l='<span class="tooltip-second-row">'+a[1]+"</span>");var o=!1,d=null,h="";"undefined"!=typeof cjs&&cjs.Api.loader.get("bookmakerSettings").call(e=>{d=e.getLogo(r),h=e.getBookmakerNameByGeoIpAndId(cjs.geoIP,cjs.geoIPIsoSubdivisionCode0,r),o=1===e.showBookmakerLogoMatchSummary(cjs.geoIP,cjs.geoIPIsoSubdivisionCode0)});var u="";return d&&(u='<span class="tooltip-logo"><a><span class="tooltip-first-row"><span style="background: transparent url('+d.getUrl()+') no-repeat" class="detail-blogos"></span><span class="tooltip-first-row__text">'+n+"</span></span>"+l+"</a></span>",o&&(u='<span class="tooltip-logo"><a><span class="tooltip-first-row"><span class="tooltip-first-row__text">'+h+" "+n+"</span></span>"+l+"</a></span>")),u}return""})).replace(/\[b\]/gi,"<strong>")).replace(/\[\/b\]/gi,"</strong>")).replace(/\[br\]/gi,"<br />")).replace(/\[u\]/i," » ")).replace(/\[d\]/i," » ")).replace(/\n/g,"<br />")).replace(/\\'/g,"'"),a>0){var n=t.clientX;this.divContent.innerHTML=r,e.title="",this.div.style.display="block",(this.div.style.width="auto")&&(this.div.style.width=this.div.offsetWidth+"px");var l=this.div.offsetWidth;if(l>this.maxWidth&&(l=this.maxWidth,this.div.style.width=this.maxWidth+"px",this.divContent.style.whiteSpace="normal"),void 0!==s&&null===s&&null!=i){var o=document.getElementById(i);if(o)s=!0,n+l>parseFloat(getComputedStyle(o,null).width.replace("px",""))&&(s=!1)}else{s=parseFloat(getComputedStyle(window.document.body,null).width.replace("px",""))/2-n>0}!0===s&&this.div.classList.add("revert"),this.div.style.zIndex=this.getZIndex();var d=e.getBoundingClientRect(),h=e.ownerDocument.defaultView;if(!h)return;var u,c={top:d.top+h.pageYOffset,left:d.left+h.pageXOffset},T=parseFloat(getComputedStyle(e,null).width.replace("px","")),m=parseFloat(getComputedStyle(e,null).height.replace("px","")),p=isNaN(T)?10:T,g=isNaN(m)?10:m,v=c.top+10+g,b=c.left?Math.floor(p/2):Math.ceil(p/2),S=c.left+b-11,I=c.left-l+Math.ceil(p/2)+11;!s&&I>0?u=I:!s&&I<=0?(u=0,this.div.style.width=this.div.offsetWidth+I-10+"px",this.div.classList.add("tooltip-wide")):(u=S,this.div.classList.add("revert-wide")),this.div.title="",this.div.style.top=v+"px",this.div.style.left=u+"px"}}}}hide(e){if(this.isInit&&!this.isDisabled&&this.div&&this.divContent){var t=this.divContent.innerHTML.replace(/<br( \/){0,1}>/gi,"\n");(t=(t=t.replace(/\<strong\>/gi,"[b]")).replace(/\<\/strong\>/gi,"[/b]")).length>0&&(null!=e&&""===e.title&&(e.title=t),this.div.style.display="none",this.div.style.width="auto",this.divContent.innerHTML="",this.div.classList.remove("revert"),this.div.classList.remove("revert-wide"),this.div.classList.remove("tooltip-wide"))}}hide_all(){this.isInit&&!this.isDisabled&&this.div&&(this.div.style.display="none",this.div.style.width="auto",this.div.classList.remove("revert"),this.div.classList.remove("revert-wide"),this.div.classList.remove("tooltip-wide"))}
1getTooltipWrapper(){return this.divId?document.getElementById(this.divId):document.getElementsByTagName("body")[0]}createTooltipElement(){if(this.div=document.getElementById(this.containerId),null!==this.div)return this.divContent=this.div.getElementsByTagName("span")[0],!0;var e=this.getTooltipWrapper();if(!e)return!1;this.div=document.createElement("div"),this.div.id=this.containerId,this.div.className="tooltip",this.divContent=document.createElement("span"),this.div.appendChild(this.divContent);var t=document.createElement("div");t.id=this.containerId+"-lt",t.className="tooltip-lt",this.div.appendChild(t);var s=document.createElement("div");s.id=this.containerId+"-rt",s.className="tooltip-rt",this.div.appendChild(s);var i=document.createElement("div");i.id=this.containerId+"-lb",i.className="tooltip-lb",this.div.appendChild(i);var r=document.createElement("div");r.id=this.containerId+"-cb",r.className="tooltip-cb",this.div.appendChild(r);var a=document.createElement("div");a.id=this.containerId+"-rb",a.className="tooltip-rb",this.div.appendChild(a);var n=document.createElement("div");return n.id=this.containerId+"-ct",n.className="tooltip-ct",this.div.appendChild(n),e.appendChild(this.div),!0}setZIndex(e){this.currentZIndex=e}getZIndex(){return this.currentZIndex}getDefaultZIndex(){return this.defaultZIndex}revertZIndex(){this.setZIndex(this.getDefaultZIndex())}setTimeoutId(e){this.timeoutId=e}}},29163(e,t,s){s.d(t,{j:()=>a,s:()=>i});var i,r=s(12431);!function(e){e.OVER_SELF_PROMO="over_self_promo",e.UNDER="under",e.STANDINGS="standings"}(i||(i={}));class a{constructor(){this._SELECTOR_BOX_OVER_IFRAME_SELF_PROMO="#box-over-content-b .boxOverContent",this._PARENT_ID_BOX_OVER_IFRAME_SELF_PROMO="box-over-content-b",this._SELECTOR_BOX_UNDER_IFRAME="#box-under-content-wrapper .boxOverContent",this._PARENT_ID_UNDER_IFRAME="box-under-content-wrapper",this._PARENT_ID_BOX_STANDINGS="box-over-content-standings",this._SELECTOR_BOX_STANDINGS="#box-over-content-standings .boxOverContent",this._IS_NOT_CLOSED="isNotClosed",this.SELECTORS_BY_BOX_TYPE={[i.OVER_SELF_PROMO]:[this._SELECTOR_BOX_OVER_IFRAME_SELF_PROMO,this._PARENT_ID_BOX_OVER_IFRAME_SELF_PROMO],[i.UNDER]:[this._SELECTOR_BOX_UNDER_IFRAME,this._PARENT_ID_UNDER_IFRAME],[i.STANDINGS]:[this._SELECTOR_BOX_STANDINGS,this._PARENT_ID_BOX_STANDINGS]}}boxTypesIterator(e){Object.values(i).forEach(t=>{var s=this.getSelector(t);document.querySelectorAll(s).forEach(t=>{e(t)})})}showPlaceholders(){this.boxTypesIterator(e=>{var t=e.id;e instanceof HTMLDivElement&&this.isClosedByUser(t)?e.remove():e.classList.add(this._IS_NOT_CLOSED)})}clearPlaceholders(){this.boxTypesIterator(e=>{e.classList.remove(this._IS_NOT_CLOSED)})}getSelector(e,t){return void 0===t&&(t=!1),this.SELECTORS_BY_BOX_TYPE[e][Number(t)]}storeClosedBox(e,t){r.j.store(this.getStorageKey(e),0,86400*t)}isClosedByUser(e){return"0"===r.j.get(this.getStorageKey(e))}getStorageKey(e){return"close_"+e}}},24485(e,t,s){s.d(t,{V:()=>i});class i{constructor(){this._configData={}}initConfig(e){return this._configData=e,this}get(){for(var e=this._configData,t=arguments.length,s=new Array(t),i=0;i<t;i++)s[i]=arguments[i];if(!this._configData||0===s.length)return null;for(var r of s){if(!e.hasOwnProperty(r))return null;e=e[r]}return e}}},9511(e,t,s){s.d(t,{K:()=>i});class i{constructor(){this._utilDate=null,this._actualTimezone=0}initTimezone(utilDate){return this._utilDate=utilDate,this._actualTimezone=this.getTimezoneFromUserTime(),this}getActualTimezone(){return this._actualTimezone}getGmtOffset(){return-3600*this.getActualTimezone()}getGmtOffsetDiff(){var e=60*(new Date).getTimezoneOffset();return this.getGmtOffset()-e}getHour(){var e=Math.floor(this.getActualTimezone());return this._isMidnightShifted()&&(e+=1),e}_isMidnightShifted(){var e,t=new Date,s=this.getGmtOffset(),i=60*t.getTimezoneOffset(),r=(null==(e=this._utilDate)?void 0:e.getTimestamp())||Math.round(t.getTime()/1e3);return t.setTime(1e3*(r+i-s)),0!==s/60%60&&0===t.getHours()}getTimezoneFromUserTime(){return-1*(new Date).getTimezoneOffset()/60}}},53784(e,t,s){s.d(t,{G:()=>a});var i,r=s(40535);!function(e){e[e.ByGeoIP=0]="ByGeoIP",e[e.ByGeoIPAndSubdivisionCode0=1]="ByGeoIPAndSubdivisionCode0"}(i||(i={}));class a{constructor(e,t,s){void 0===s&&(s=1),this.boxOverContentHandler=void 0,this.isMobile=void 0,this.splitCount=void 0,this.DEFAULT_GEOIP="default",this.IS_STICKY="isSticky",this.IS_MOBILE_STICKY="isMobileSticky",this.supportedGeoIPGroups=[],this.boxOverContentHandler=e,this.isMobile=t,this.splitCount=s}filterByGeoIP(e,t,s){var r=this.isGeoIpSupported(e,t);
1if(e){var a=this.hasSpecificBoxByGeoIP(e,t,s),n=this.boxOverContentHandler.getSelector(s);document.querySelectorAll(n).forEach(s=>{var n=this.getGeoIPFromBox(s),l=this.showDefaultGeoIPBox((null==n?void 0:n.geoIP)||null,a)&&!r,o=a===i.ByGeoIP?(null==n?void 0:n.geoIP)===e:!(a!==i.ByGeoIPAndSubdivisionCode0||!t)&&((null==n?void 0:n.geoIP)===e&&(null==n?void 0:n.geoIPIsoSubdivisionCode0)===t);s instanceof HTMLDivElement&&null!=n&&n.geoIP&&!l&&!o&&s.remove()})}}setSupportedGeoIPGroups(e){return this.supportedGeoIPGroups=e,this}closeBox(e,t){var s=document.getElementById(e);s instanceof HTMLDivElement&&(s.style.display="none",this.boxOverContentHandler.storeClosedBox(e,t))}showByType(e){var t=this.boxOverContentHandler.getSelector(e),s=document.querySelectorAll(t),i=document.getElementById(this.boxOverContentHandler.getSelector(e,!0));if(s.length&&i)if(s.length<1)s.forEach(e=>{e.remove()});else{for(var r=[...s.keys()],a=[],n=0;n<1;n++){var l=Math.floor(Math.random()*r.length);a.push(r[l]),r.splice(l,1)}s.forEach((e,t)=>{e instanceof HTMLDivElement&&!a.includes(t)&&e.remove()}),a.forEach(e=>{var t=s[e];t.classList.add("boxOverContent--active"),this.setParentElementViaSelectedBox(t,i),this.setMobileUrl(t),this.bindArrowClick(t)})}}setMobileUrl(e){this.isMobile&&[...e.getElementsByTagName("a")].forEach(e=>{var t=this.getMobileUrl(e);t&&e.setAttribute("href",t)})}setParentElementViaSelectedBox(e,t){e.classList.contains(this.IS_STICKY)&&!t.classList.contains(this.IS_STICKY)?t.classList.add(this.IS_STICKY):!e.classList.contains(this.IS_STICKY)&&t.classList.contains(this.IS_STICKY)&&t.classList.remove(this.IS_STICKY),e.classList.contains(this.IS_MOBILE_STICKY)&&!t.classList.contains(this.IS_MOBILE_STICKY)?t.classList.add(this.IS_MOBILE_STICKY):!e.classList.contains(this.IS_MOBILE_STICKY)&&t.classList.contains(this.IS_MOBILE_STICKY)&&t.classList.remove(this.IS_MOBILE_STICKY)}show(e,t,s,i){var a=(0,r.F)(i,null!=e?e:"");s.forEach(s=>{a.isConfirmed()?(this.filterByGeoIP(e,t,s),this.showByType(s)):this.hideAll(s)})}hasSpecificBoxByGeoIP(e,t,s){var r,a=this.boxOverContentHandler.getSelector(s),n=null,l=document.querySelectorAll(a);for(var o in l){r=l[o];var d=this.getGeoIPFromBox(r);if((null==d?void 0:d.geoIP)===e&&null==d.geoIPIsoSubdivisionCode0)n=i.ByGeoIP;else if(t&&(null==d?void 0:d.geoIP)===e&&d.geoIPIsoSubdivisionCode0===t)return i.ByGeoIPAndSubdivisionCode0}return n}isGeoIpSupported(e,t){return this.supportedGeoIPGroups.includes(e||"")||this.supportedGeoIPGroups.includes(e+":"+t)}showDefaultGeoIPBox(e,t){return null===t&&e===this.DEFAULT_GEOIP}getGeoIPFromBox(e){if(e.dataset&&e.dataset.hasOwnProperty("geoip")){var t=(e.dataset.geoip||"").split(":");return{geoIP:t[0],geoIPIsoSubdivisionCode0:t[1]}}return null}getMobileUrl(e){return e.dataset&&e.dataset.hasOwnProperty("mobileUrl")?""+e.dataset.mobileUrl:""}hideAll(e){var t=this.boxOverContentHandler.getSelector(e);document.querySelectorAll(t).forEach(e=>{e.remove()})}bindArrowClick(e){var t;null==(t=e.querySelector(".boxOverContent__arrow"))||t.addEventListener("click",()=>{document.querySelectorAll(".boxOverContent__banner").forEach(e=>e.classList.toggle("isExpanded"))})}}},11619(e,t,s){s.d(t,{default:()=>i});class i{constructor(utilDate,e,t){this._usTimeFormat=void 0,this._utilDate=void 0,this._gmtOffsetGetter=void 0,this._utilDate=utilDate,this._gmtOffsetGetter=e,this._usTimeFormat=t}format(e,t,s){var i="";i=this._usTimeFormat?s?"M d":"M d, h:i A":s?"d.m.":"d.m. H:i";var r=[];for(var a of t)r.push(this._utilDate.timestamp2date(i,a,this._gmtOffsetGetter()));return r.join(" / ")}}},34333(e,t,s){s.d(t,{q:()=>h});var i=s(74848),r=(s(96540),s(46942)),a=s.n(r),n=s(24174),l=s(21673),o=s(93710),d=s(24785);function h(e){var{participantDetailLink:t,participantImageSource:s,alt:r,title:h,className:u,isTeam:c,staticFsCdn:T}=e;return(0,i.jsx)("a",{className:a()(u||"participant__participantLink",c&&"participant__participantLink--team"),href:(0,n.h)(t),target:(0,o.j)(!(0,d.W)()),title:h,tabIndex:-1,"aria-hidden":"true",children:(0,i.jsx)(l.E,{className:"participant__image",src:s,alt:r,loading:"lazy",staticFsCdn:T})})}}
1,62498(e,t,s){var i;s.d(t,{J:()=>i}),function(e){e.WIN="W",e.LOSS="L",e.DRAW="D",e.DRAW_LOSS="DL",e.DRAW_WIN="DW",e.WIN_WIN="WW",e.LOSS_LOSS="LL",e.WIN_LOSS="WL",e.LOSS_WIN="LW",e.WIN_OVERTIME="WO",e.LOSS_OVERTIME="LO",e.DRAW_OVERTIME="DO",e.WIN_DRAW="WD",e.LOSS_DRAW="LD",e.DRAW_DRAW="DD",e.UNKNOWN="?",e.EMPTY=""}(i||(i={}))},82079(e,t,s){s.d(t,{f:()=>n});var i=s(74848),r=(s(96540),s(46942)),a=s.n(r);function n(e){var{countryId:t,countryName:s,extendClasses:r}=e;return t?(0,i.jsx)("span",{className:a()("flag","fl_"+t,r),title:s}):null}},73634(e,t,s){s.d(t,{M:()=>r,Z:()=>i});function i(e){return a("Enter",e)}function r(e){return a("Space",e)}function a(e,t){return{onKeyDown:s=>{s.key!==e&&s.code!==e||t(s)}}}},98424(e,t,s){s.d(t,{a:()=>Ve});var i=s(16522),r=s(74848),a=s(96540),n=s(97131),l=s(58808),o=s(34360),d=s(28633),h=s(93972),u=s(90927),c=s(30041);function T(e){var t,s,a=(0,i.c)(7),{show:l}=e,{filters:o}=(0,u.a)(),{showMore:T,onClick:m}=(0,h.B)(),p=(0,n.useDI)();if(a[0]!==o||a[1]!==m||a[2]!==l||a[3]!==T||a[4]!==p){s=Symbol.for("react.early_return_sentinel");var g=p.getTrans();l?!T&&(0,d.kp)(o)?t=(0,r.jsx)(c.vxq,{className:"wclButtonLink wclButtonLink--topScorers",type:"primary",trailIconId:"action-navigation-arrow-down",onClick:m,isUnderline:!0,children:g.translate("TRANS_SHOW_MORE")}):s=null:s=null,a[0]=o,a[1]=m,a[2]=l,a[3]=T,a[4]=p,a[5]=t,a[6]=s}else t=a[5],s=a[6];return s!==Symbol.for("react.early_return_sentinel")?s:t}function m(){for(var e=[],t=0;t<12;t++)e.push((0,r.jsx)("div",{className:"topScorers__skeleton__row",children:(0,r.jsx)("div",{})},"skeleton-row-"+t));return(0,r.jsxs)("div",{className:"topScorers__skeleton",children:[(0,r.jsx)("div",{className:"topScorers__skeleton__dropDowns"}),(0,r.jsx)("div",{className:"topScorers__skeleton__header"}),(0,r.jsx)("div",{className:"topScorers__skeleton__rows ska__se ska__chp",children:e})]})}function p(e){var{feed:t}=e;return null===t?(0,r.jsx)(m,{}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.v,{filters:t.getFilters().getFilters()}),(0,r.jsx)(d.vO,{filters:t.getFilters(),columnDefinition:t.getColumnDefinition(),topScorers:t.getTopScorers()}),(0,r.jsx)(T,{show:t.getTopScorers().length>d.zr})]})}var g=s(76625),v=s(49393),b=s(4235),S=s(7877);function I(e){var{sportId:t,detailOpenerBuilder:i,translator:n,startTimeFormatter:l,participantEncodedIds:o,isSwappedParticipants:d,drawFeedFetcher:h,staticFsCdn:u}=e,c=(0,b.sj)(h,null),T=(0,S.M_)(()=>Promise.all([s.e(18096),s.e(18393)]).then(s.bind(s,75743)));return c?(0,r.jsx)(a.Suspense,{fallback:(0,r.jsx)(v.q,{}),children:(0,r.jsx)(T,{sportId:t,formatter:l,draw:c,detailOpenerWithEventIdAndParticipants:(e,t)=>i.setDetailId(e).setParticipants(t).build().getUrl(location),participantEncodedIds:o,transClickForListOfMatches:n.translate("TRANS_CLICK_FOR_LIST_OF_MATCHES")||"",transClickForMatchDetail:n.translate("TRANS_CLICK_FOR_MATCH_DETAIL")||"",isSwappedParticipants:d,transSwapTeam:n.translate("TRANS_SWAP_TEAM_AT_IFRAME")||"",transStagePrevious:n.translate("TRANS_STAGE_PREVIOUS")||"",transStageNext:n.translate("TRANS_STAGE_NEXT")||"",staticFsCdn:u})}):(0,r.jsx)(v.q,{})}var _=s(11619),f=s(73594),A=s(24485);function O(e){var t,s=(0,i.c)(8),{tournamentStageId:a}=e,l=(0,g.d)(0,!1),o=(0,n.useConfig)(),d=(0,n.useDI)();if(s[0]!==o||s[1]!==d||s[2]!==l||s[3]!==a){var h,u=new _.default(d.getDate(),d.getGmtOffset,o.getIsUsTimeFormate()),c=o.getSwappedParticipants();s[5]!==d||s[6]!==a?(h=()=>d.getDrawFetcher(a).fetch(),s[5]=d,s[6]=a,s[7]=h):h=s[7],t=(0,r.jsx)("div",{className:"draw__cover",ref:l,children:(0,r.jsx)(f.Q.Provider,{value:(new A.V).initConfig({app:{swap_participants:{show_at_sign:c.showAtSign}}}),children:(0,r.jsx)(I,{sportId:o.getSportId(),detailOpenerBuilder:d.getDetailOpenerBuilder(),translator:d.getTrans(),startTimeFormatter:u,participantEncodedIds:o.getHomeParticipantIds()||[],isSwappedParticipants:c.isSwapped,drawFeedFetcher:h,staticFsCdn:o.getStaticFsCdn()})})}),s[0]=o,s[1]=d,s[2]=l,s[3]=a,s[4]=t}else t=s[4];return t}var y=s(26087),L=s(72781);function E(e){var{countryType:t}=e;return t?(0,r.jsx)("div",{className:"table__headerInfo",children:t}):null}function w(){return w=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var i in s)({}).hasOwnProperty.call(s,i)&&(e[i]=s[i])}return e},w.apply(null,arguments)}class R{constructor(e){this.maxValues=void 0,this.maxValues=e.reduce((e,t)=>
1t.getRows().reduce((e,t)=>w(w({},e),{},{[this.createId(t.getParticipants())]:Math.max(t.getHtftWinWin(),t.getHtftWinDraw(),t.getHtftWinLoss(),t.getHtftDrawWin(),t.getHtftDrawDraw(),t.getHtftDrawLoss(),t.getHtftLossWin(),t.getHtftLossDraw(),t.getHtftLossLoss())}),e),{})}createId(e){return e.map(e=>e.getId()).join("-")}getMaxValueForRow(e){return this.maxValues[this.createId(e)]}}var P=a.createContext(null);var N=e=>{var{tables:t,children:s}=e,i=new R(t);return(0,r.jsx)(P.Provider,{value:i,children:s})},C=s(4752),D=s(9820),x=s(58105),M=s(39888),F=s(34333),k=s(29340),B=s(65150),j=s(80286);function H(){return H=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var i in s)({}).hasOwnProperty.call(s,i)&&(e[i]=s[i])}return e},H.apply(null,arguments)}var W=e=>{var t,s=(0,i.c)(3),a=(0,n.useDI)();if(s[0]!==a||s[1]!==e){var l=a.getTooltip(),o=a.isMobile();t=(0,r.jsx)(j.T,H({tooltip:l,isMobile:o},e)),s[0]=a,s[1]=e,s[2]=t}else t=s[2];return t},U=s(62297),V=s(46942),G=s.n(V);function K(e){var t,s,a,l,o,d,h,u=(0,i.c)(16),{row:T}=e,m=(0,n.useDI)();if(u[0]!==T||u[1]!==m){d=Symbol.for("react.early_return_sentinel");var p=m.getTrans();(t=T.getLiveTablePositionChange())?(l=r.jsx,o=W,a="positionChange "+(t>0?"positionChange--up":"positionChange--down"),s=p.translate("TRANS_STANDINGS_LIVE_POSITION_CHANGE")):d=null,u[0]=T,u[1]=m,u[2]=t,u[3]=s,u[4]=a,u[5]=l,u[6]=o,u[7]=d}else t=u[2],s=u[3],a=u[4],l=u[5],o=u[6],d=u[7];if(d!==Symbol.for("react.early_return_sentinel"))return d;u[8]!==T?(h=T.getRank(),u[8]=T,u[9]=h):h=u[9];var g,v="[b]"+s+"[/b]:\n "+(T.getRank()+t)+". » "+h+".";return u[10]!==t||u[11]!==a||u[12]!==l||u[13]!==o||u[14]!==v?(g=l(o,{className:a,title:v,children:(0,r.jsx)(c.Int,{id:"incidents-shift",className:G()("positionChange__arrow","sortArrow-ico",t>0?"positionChange__arrow--up":"positionChange__arrow--down")})}),u[10]=t,u[11]=a,u[12]=l,u[13]=o,u[14]=v,u[15]=g):g=u[15],g}var Y=s(60304),z=s(82079),Z=s(93710);function q(e){var t,s,a=(0,i.c)(9),{imageUrl:l,url:o,name:d,participantImages:h,country:u}=e,c=(0,n.useConfig)();if(l){var T,m="/res/image/data/"+l;return a[0]!==c||a[1]!==d||a[2]!==m||a[3]!==o?(T=(0,r.jsx)(F.q,{participantDetailLink:o,participantImageSource:m,alt:d,title:d,className:"tableCellParticipant__image",staticFsCdn:c.getStaticFsCdn()}),a[0]=c,a[1]=d,a[2]=m,a[3]=o,a[4]=T):T=a[4],T}return u?(a[5]!==u?(t=(0,r.jsx)(z.f,{countryId:u.getCountryId(),countryName:u.getCountryName()}),a[5]=u,a[6]=t):t=a[6],t):Object.keys(h.getImages()).length>0?(a[7]!==d?(s=(0,r.jsx)(B.hx,{enabled:!0,title:d,extendClasses:"tableCellTeamLogoPlaceholder"}),a[7]=d,a[8]=s):s=a[8],s):null}function J(e,t){return(0,r.jsx)("span",{children:" / "},t+"separator")}var X=s(23546),Q=s(62498),$=s(24785),ee=s(92985),te=s(28721),se=s(18059),ie=s(72320);function re(){return re=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var i in s)({}).hasOwnProperty.call(s,i)&&(e[i]=s[i])}return e},re.apply(null,arguments)}function ae(e){var t,s,a=(0,i.c)(8),{lastMatch:l,isDoubles:o}=e,d=(0,n.useDI)(),h=d.getTrans();a[0]!==l?(t=l.getAwayParticipantIdEncoded(),a[0]=l,a[1]=t):t=a[1],a[2]!==l?(s=l.getHomeParticipantIdEncoded(),a[2]=l,a[3]=s):s=a[3];var u,T=(0,x.e9)(t,s);a[4]!==d?(u=e=>d.getDate().timestamp2date(d.getDateFormat(),e,d.getGmtOffset()),a[4]=d,a[5]=u):u=a[5];var m,p=u,g=d.getDetailOpenerBuilder().setDetailId(l.getEventIdEncoded()).setParticipants(d.isIndexedDetailAllowed()&&!o?[{name:l.getHomeUrl(),hash:l.getHomeParticipantIdEncoded()},{name:l.getAwayUrl(),hash:l.getAwayParticipantIdEncoded()}]:null).setOpenInNewTab((0,$.W)()||(0,ee.r)()).build().getUrl(location);a[6]!==l?(m=l.getType(),a[6]=l,a[7]=m):m=a[7];var v=m===Q.J.UNKNOWN,b=d.getEventTitleFormatter(),S=d.getIsStandings()?{target:"_blank",rel:"noreferrer"}:{target:"_self",rel:void 0},I={overall:l.getHomeScore(),afterExtraTime:l.getHomeScoreAfterExtraTime()||null,fullTime:l.getHomeScoreFullTime()||null,penalties:l.getHomeScorePenalties()||null},_={overall:l.getAwayScore(),afterExtraTime:l.getAwayScoreAfterExtraTime()||null,fullTime:l.getAwayScoreFullTime()||null,penalties:l.getAwayScorePenalties()||null},f=(0,te.N)(l.hasSwitchedParticipants()?_:I,l.hasSwitchedParticipants()?I:_),A=l.getSymbol();return(0,r.jsx)("a",{href:g,target:S.target,rel:S.rel,className:G()("tableCellFormIcon",v&&"tableCellFormIcon--TBD"),children:(0,r.jsx)(c.g2O,re(re({type:(0,X.L)({badgeState:l.getType()}),tooltip:v?b.getNextEventTitle(l.getHomeParticipantName(),l.getAwayParticipantName(),l.hasSwitchedParticipants(),l.getEventStartTime(),p):b.getEventTitleWithResults(l.getHomeParticipantName(),l.getAwayParticipantName(),l.hasSwitchedParticipants(),l.getEventStartTime(),l.getEventStageId(),p,new se.i(f,d.getSportId(),h))},T),{},{children:A||(0,ie.D)(l.getType(),h).titleShort}),l.getEventIdEncoded())})}var ne=s(85874);function le(){return le=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var i in s)({}).hasOwnProperty.call(s,i)&&(e[i]=s[i])}return e},le.apply(null,arguments)}var oe=e=>(0,r.jsx)(ne.k,le({className:"table__cell--greyedOut"},e));function de(){return de=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var i in s)({}).hasOwnProperty.call(s,i)&&(e[i]=s[i])}return e},de.apply(null,arguments)}var he=e=>{var t,s=(0,i.c)(12),{row:n,getter:l,deps:o,columnId:d}=e,{tableId:h}=o,{accessor:u}=(0,U.q2)(h);s[0]!==n?(t=n.getParticipants(),s[0]=n,s[1]=t):t=s[1];var c,T=function(e){var t,s=(0,i.c)(3),r=(0,a.useContext)(P);if(null===r)throw new Error("Tournament table HtFt highlight context was not initialized.");return s[0]!==r||s[1]!==e?(t=r.getMaxValueForRow(e),s[0]=r,s[1]=e,s[2]=t):t=s[2],t}(t);s[2]!==l||s[3]!==n?(c=l(n),s[2]=l,s[3]=n,s[4]=c):c=s[4];var m,p=T&&c===T;if(p){var g,v="table__cell table__cell--value "+(u===d?"table__cell--sorted":"");
1return s[5]!==l||s[6]!==p||s[7]!==n||s[8]!==v?(g=(0,r.jsx)("div",{className:v,children:(0,r.jsx)("div",{className:"tableCellHtFtValue "+(p?"tableCellHtFtValue--highlighted":""),children:(0,r.jsx)(r.Fragment,{children:l(n)})})}),s[5]=l,s[6]=p,s[7]=n,s[8]=v,s[9]=g):g=s[9],g}return s[10]!==e?(m=(0,r.jsx)(ne.k,de({className:"table__cell"},e)),s[10]=e,s[11]=m):m=s[11],m};function ue(){return ue=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var i in s)({}).hasOwnProperty.call(s,i)&&(e[i]=s[i])}return e},ue.apply(null,arguments)}var ce=s(92814);function Te(){return Te=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var i in s)({}).hasOwnProperty.call(s,i)&&(e[i]=s[i])}return e},Te.apply(null,arguments)}function me(){return me=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var i in s)({}).hasOwnProperty.call(s,i)&&(e[i]=s[i])}return e},me.apply(null,arguments)}function pe(e,t,s){return void 0===s&&(s=ne.k),function(i){var{row:a}=i,n=e(a),l=t(a);return l&&n!==l?(0,r.jsx)(W,{title:n+" » "+l,children:(0,r.jsx)(ne.k,me({className:"table__cell--changedValue"},i))}):(0,r.jsx)(s,me({},i))}}function ge(){return ge=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var i in s)({}).hasOwnProperty.call(s,i)&&(e[i]=s[i])}return e},ge.apply(null,arguments)}var ve=[ce.h.SOCCER,ce.h.HOCKEY,ce.h.RUGBY_LEAGUE,ce.h.CRICKET,ce.h.BEACH_SOCCER,ce.h.FLOORBALL,ce.h.FIELD_HOCKEY,ce.h.FUTSAL,ce.h.HANDBALL,ce.h.KABADDI,ce.h.WATER_POLO,ce.h.NETBALL,ce.h.DARTS,ce.h.BANDY,ce.h.ESPORTS,ce.h.GOLF,ce.h.MOTORSPORT,ce.h.MOTORSPORT_MOTO_RACING,ce.h.MOTORSPORT_AUTO_RACING,ce.h.RUGBY_UNION,ce.h.TENNIS,ce.h.VOLLEYBALL,ce.h.BADMINTON,ce.h.BEACH_VOLLEYBALL,ce.h.TABLE_TENNIS,ce.h.SNOOKER,ce.h.AUSSIE_RULES,ce.h.PESAPALLO],be=e=>{var[t,s]=e.split(":");return parseInt(t)-parseInt(s)},Se={valueGetter:e=>e.getLiveTableGoals()||e.getGoals(),renderer:pe(e=>e.getGoals(),e=>e.getLiveTableGoals()),simplifiedViewPresence:{presentInSports:ve},sortValueGetter:e=>be(e.getLiveTableGoals()||e.getGoals())},Ie={[L.m.RANK]:{valueGetter:e=>e.getRank(),renderer:e=>{var t,s,a,n=(0,i.c)(4),{row:l,columnId:o,deps:d}=e,{legend:h,tableId:u}=d,{accessor:c}=(0,U.q2)(u),T="table__cell table__cell--rank "+(c===o?"table__cell--sorted":"");n[0]!==h||n[1]!==l||n[2]!==T?(t=(0,r.jsx)("div",{className:T,children:(0,r.jsxs)(W,{className:"tableCellRank",title:(null==(s=h.getRankLegendByKey(l.getRankKey()))?void 0:s.getText())||"",style:(a=l.getRankColor(),a?{backgroundColor:"#"+a,color:"white"}:{}),children:[l.getRank(),"."]})}),n[0]=h,n[1]=l,n[2]=T,n[3]=t):t=n[3];return t},simplifiedViewPresence:{alwaysPresent:!0},onFirstClickSortAsc:!0},[L.m.MATCHES_PLAYED]:{valueGetter:e=>e.getLiveTableMatches()||e.getMatches(),renderer:pe(e=>e.getMatches(),e=>e.getLiveTableMatches()),simplifiedViewPresence:{presentInSports:[...ve,ce.h.BASKETBALL,ce.h.AMERICAN_FOOTBALL,ce.h.BASEBALL]}},[L.m.WINS]:{valueGetter:e=>e.getLiveTableWins()||e.getWins(),renderer:pe(e=>e.getWins(),e=>e.getLiveTableWins()),simplifiedViewPresence:{presentInSports:[ce.h.BASKETBALL,ce.h.AMERICAN_FOOTBALL]}},[L.m.WINS_REGULAR]:{valueGetter:e=>e.getLiveTableWinsRegular()||e.getWinsRegular(),renderer:pe(e=>e.getWinsRegular(),e=>e.getLiveTableWinsRegular()),simplifiedViewPresence:{presentInSports:[ce.h.AMERICAN_FOOTBALL,ce.h.BASEBALL,ce.h.BASKETBALL]}},[L.m.WINS_OT]:{valueGetter:e=>e.getWinsInOvertime()},[L.m.WINS_PEN]:{valueGetter:e=>e.getWinsAfterPenalties()},[L.m.LOSSES_PEN]:{valueGetter:e=>e.getLossesAfterPenalties(),onFirstClickSortAsc:!0},[L.m.DRAWS]:{valueGetter:e=>e.getLiveTableDraws()||e.getDraws(),renderer:pe(e=>e.getDraws(),e=>e.getLiveTableDraws()),simplifiedViewPresence:{presentInSports:[ce.h.BASEBALL]}},[L.m.DRAWS_AE]:{valueGetter:e=>e.getDraws(),simplifiedViewPresence:{presentInSports:[ce.h.AMERICAN_FOOTBALL]}},[L.m.LOSSES]:{valueGetter:e=>e.getLiveTableLosses()||e.getLosses(),renderer:pe(e=>e.getLosses(),e=>e.getLiveTableLosses()),simplifiedViewPresence:{presentInSports:[ce.h.BASKETBALL,ce.h.AMERICAN_FOOTBALL]},onFirstClickSortAsc:!0},[L.m.LOSSES_REGULAR]:{valueGetter:e=>e.getLiveTableLossesRegular()||e.getLossesRegular(),renderer:pe(e=>e.getLossesRegular(),e=>e.getLiveTableLossesRegular()),simplifiedViewPresence:{presentInSports:[ce.h.AMERICAN_FOOTBALL,ce.h.BASEBALL,ce.h.BASKETBALL]},onFirstClickSortAsc:!0},[L.m.LOSSES_OT]:{valueGetter:e=>e.getLossesInOvertime(),onFirstClickSortAsc:!0},[L.m.POINTS]:{valueGetter:e=>e.getLiveTablePctOrPoints()||e.getPoints(),renderer:pe(e=>e.getPoints(),e=>e.getLiveTablePctOrPoints(),e=>{var t=e.row.getPointsIncidentMessage();return t?(0,r.jsx)(W,{title:t,className:"table__cell",children:(0,r.jsx)(ne.k,ue({className:"tableCellPoints"},e))}):(0,r.jsx)(ne.k,ue({},e))}),simplifiedViewPresence:{presentInSports:[...ve,ce.h.BASKETBALL,ce.h.AMERICAN_FOOTBALL]}},[L.m.POINTS_PER_MATCHES_PLAYED]:{valueGetter:e=>e.getPointsPerMatchesPlayed().toFixed(2),simplifiedViewPresence:{presentInSports:ve},sortValueGetter:e=>e.getPointsPerMatchesPlayed()},[L.m.PCT]:{valueGetter:e=>(e.getLiveTablePctOrPoints()||e.getPct()).toFixed(3),renderer:pe(e=>e.getPct()?e.getPct().toFixed(3):null,e=>e.getLiveTablePctOrPoints()?e.getLiveTablePctOrPoints().toFixed(3):null),simplifiedViewPresence:{presentInSports:[ce.h.BASKETBALL,ce.h.AMERICAN_FOOTBALL,ce.h.BASEBALL,ce.h.HOCKEY,ce.h.RUGBY_LEAGUE]},sortValueGetter:e=>e.getLiveTablePctOrPoints()||e.getPct()},[L.m.NET_RR]:ge(ge({},Se),{},{sortValueGetter:e=>parseFloat(e.getLiveTableGoals()||e.getGoals())}),[L.m.WINS_WITH_ABANDONED]:{valueGetter:e=>e.getCricketLiveTableWinsWithAbandoned()||e.getCricketWinsWithAbandoned(),simplifiedViewPresence:{presentInSports:[ce.h.CRICKET]}},[L.m.OVER]:{valueGetter:e=>e.getOverUnderOver()},[L.m.UNDER]:{valueGetter:e=>e.getOverUnderUnder()},[L.m.GOALS_PER_MATCH]:{valueGetter:e=>e.getGoalsPerMatch()},[L.m.WW]:{valueGetter:e=>e.getHtftWinWin(),renderer:he}
1,[L.m.WD]:{valueGetter:e=>e.getHtftWinDraw(),renderer:he},[L.m.WL]:{valueGetter:e=>e.getHtftWinLoss(),renderer:he},[L.m.DW]:{valueGetter:e=>e.getHtftDrawWin(),renderer:he},[L.m.DD]:{valueGetter:e=>e.getHtftDrawDraw(),renderer:he},[L.m.DL]:{valueGetter:e=>e.getHtftDrawLoss(),renderer:he},[L.m.LW]:{valueGetter:e=>e.getHtftLossWin(),renderer:he},[L.m.LD]:{valueGetter:e=>e.getHtftLossDraw(),renderer:he},[L.m.LL]:{valueGetter:e=>e.getHtftLossLoss(),renderer:he},[L.m.FOR_AGAINST_PERCENTAGE]:{valueGetter:e=>e.getAgainsPercentage()?e.getAgainsPercentage().toFixed(2):"-"},[L.m.NO_RESULT_MATCH]:{valueGetter:e=>e.getNoResultMatches()},[L.m.COUNT_3_POINT]:{valueGetter:e=>e.getPesapallo3PointMatches()},[L.m.COUNT_2_POINT]:{valueGetter:e=>e.getPesapallo2PointMatches()},[L.m.COUNT_1_POINT]:{valueGetter:e=>e.getPesapallo1PointMatches()},[L.m.COUNT_0_POINT]:{valueGetter:e=>e.getPesapallo0PointMatches()},[L.m.GOALS_FOR_AGAINST_DIFF]:{valueGetter:e=>e.getLiveTableGoals()?e.getLiveTableGoalsForAgainstDiff():e.getGoalsForAgainstDiff(),renderer:pe(e=>e.getGoalsForAgainstDiff(),e=>e.getLiveTableGoalsForAgainstDiff())},[L.m.GOALS_FOR_PER_EVENT]:{valueGetter:e=>e.getPesapalloPointsPerEvent().toFixed(2),simplifiedViewPresence:{presentInSports:ve},sortValueGetter:e=>e.getPesapalloPointsPerEvent()},[L.m.PARTICIPANT_IDS]:{valueGetter:e=>e.getParticipants().map(e=>e.getName()).join("/"),renderer:e=>{var t,s=(0,i.c)(2),{row:a,columnId:l,deps:o}=e,{participantImages:d,tableId:h}=o,{accessor:u}=(0,U.q2)(h),T=(0,n.useConfig)().getShouldOpenOnCurrentTab(),m=a.getParticipants().map((e,t,s)=>{var i=1===s.length?d.getImage(e.getId()):void 0,a=e.getUrl(),n=e.getName(),l=1===s.length?e.getCountry():null;return[(0,r.jsx)(q,{imageUrl:i,url:a,name:n,country:l,participantImages:d},i||"empty-image-"+t),(0,r.jsx)("a",{href:a,target:(0,Z.j)(T),className:"tableCellParticipant__name",children:n},a)]}),{selectedView:p}=(0,C.DJ)();s[0]!==p?(t=[p],s[0]=p,s[1]=t):t=s[1];var[v,b]=(0,g.i)(t),S=a.getCertainTitleTitle(),I=(0,r.jsx)(c.Int,{id:"incidents-next-stage",className:"winner-ico tableCellParticipant__promotionIcon "+(a.getCertainTitleIconDesc()?"desc-ico":"")}),_=Re.includes(parseInt(h))||p===C.Wx.OVERFLOW;return(0,r.jsx)("div",{ref:v,className:"table__cell table__cell--participant "+(u===l?"table__cell--sorted":"")+" "+(_&&b&&b<=Y.c?"table__cell--participantShadow":""),children:(0,r.jsx)("div",{className:"tableCellParticipant",children:(0,r.jsxs)("div",{className:"tableCellParticipant__block",children:[(0,k.R)(m,J),S&&(0,r.jsx)(W,{title:S,children:I}),(0,r.jsx)(K,{row:a})]})})})},simplifiedViewPresence:{alwaysPresent:!0},onFirstClickSortAsc:!0},[L.m.SCORE]:Se,[L.m.FORM_LAST5]:{valueGetter:e=>e.getLastMatches(),renderer:e=>{var{row:t}=e,s=2===t.getParticipants().length;return(0,r.jsx)("div",{className:"table__cell table__cell--form",children:t.getLastMatches().map(e=>(0,r.jsx)(ae,{lastMatch:e,isDoubles:s},e.getEventIdEncoded()))})},sortable:!1},[L.m.WINS_OT_PLUS_PEN]:{valueGetter:e=>e.getWinsInOvertimeAfterPenalties()},[L.m.LOSSES_OT_PLUS_PEN]:{valueGetter:e=>e.getLossesInOvertimeAfterPenalties(),onFirstClickSortAsc:!0},[L.m.SETS]:Se,[L.m.TOTAL_POINTS]:Se,[L.m.RUNS]:{valueGetter:e=>e.getCricketLiveTableNetRunRate()||e.getCricketRuns()||e.getLiveTableGoals()||e.getGoals(),renderer:pe(e=>e.getCricketRuns()||e.getGoals(),e=>e.getCricketLiveTableNetRunRate()||e.getLiveTableGoals()),simplifiedViewPresence:{presentInSports:ve},sortValueGetter:e=>e.getCricketLiveTableNetRunRate()||be(e.getCricketRuns()||e.getLiveTableGoals()||e.getGoals())},[L.m.FRAMES]:Se,[L.m.POINTS_DIFFERENCE]:Se,[L.m.LIVESCORE]:{valueGetter:e=>e.getLiveTableScore(),renderer:e=>{var{row:t}=e,s=(0,n.useDI)().getDetailOpenerBuilder(),i=(0,x.e9)(...t.getLiveTableScoreHomeIds(),...t.getLiveTableScoreAwayIds()),a=(0,n.useDI)().getIsStandings()?{target:"_blank",rel:"noreferrer"}:{target:"_self",rel:void 0},l=s.setDetailId(t.getLiveTableScoreEventId()).setParticipants([{name:t.getLiveTableScoreHomeUrl(),hash:t.getLiveTableScoreHomeIds()[0]},{name:t.getLiveTableScoreAwayUrl(),hash:t.getLiveTableScoreAwayIds()[0]}]).build().getUrl(location);return(0,r.jsx)(W,Te(Te({className:"table__cell table__cell--live",title:t.getLiveTableScoreTitle()},i),{},{children:(0,r.jsx)("a",{href:l,target:a.target,rel:a.rel,className:G()("liveScore",t.isTeam
1Losing()&&"liveScore--isLosing",t.isTeamWinning()&&"liveScore--isWinning"),children:t.getLiveTableScore()})}))},sortable:!1,simplifiedViewPresence:{presentInSports:[ce.h.SOCCER,ce.h.HOCKEY]}}},_e=ge(ge({},Ie),{},{[L.m.SCORE]:ge(ge({},Ie[L.m.SCORE]),{},{renderer:oe}),[L.m.GOALS_PER_MATCH]:ge(ge({},Ie[L.m.GOALS_PER_MATCH]),{},{renderer:oe})}),fe=s(476);class Ae{constructor(){this.memoizedResults=[]}memoize(e,t){var s=this.memoizedResults.find(e=>{var{deps:s}=e;return s.reduce((e,i,r)=>e&&s[r]===t[r],!0)});if(s)return s.result;var i=e(...t);return this.memoizedResults=[...this.memoizedResults,{deps:t,result:i}],i}}function Oe(){return Oe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var i in s)({}).hasOwnProperty.call(s,i)&&(e[i]=s[i])}return e},Oe.apply(null,arguments)}function ye(e,t){var s=e.getCountry()||e.getRoundType();return s?t.map(e=>e.accessor!==L.m.PARTICIPANT_IDS?e:Oe(Oe({},e),{},{name:s,title:s})):t}var Le=(e,t)=>e.getParticipants().some(e=>t.includes(e.getId())),Ee=(e,t)=>{var s=e.getParticipants().some(e=>t.includes(e.getId()));return e.getParticipantSelected()||s?"table__row--selected":""},we=e=>{var{table:t,tableColumnSettings:s,viewDefinition:i,allColumnDefinitionIds:l,highlightedParticipants:o,participantsSelectedByConfiguration:h,rendererDependencies:u}=e,c=(0,U.q2)(u.tableId),T=(0,U.eh)(),utilString=(0,n.useDI)().getUtilString(),m=(0,a.useRef)(new Ae),p=(0,a.useCallback)((e,t)=>{T((0,fe.e)(Oe(Oe({},e),{},{sortAsc:t}),u.tableId))},[u.tableId]),g=(e,t)=>{var s=e.serialize(i,l),a=l.reduce(((e,t,s,i)=>(e,a)=>{var n,l=t[a];return l?Oe(Oe({},e),{},{[a]:(0,r.jsx)(l,{getter:(null==(n=Ie[a])?void 0:n.valueGetter)||(()=>0),columnId:a,row:s,deps:i},a)}):e})(0,s,e,u),{});return Oe(Oe(Oe({},s),a),{},{className:Ee(e,h)+" "+(t?"table__row--highlighted":"")})},v=t.getRows().map(e=>m.current.memoize(g,[e,Le(e,o)]));return(0,r.jsx)("div",{className:"tableWrapper",children:(0,r.jsx)(M.X,{columns:ye(t,s),onSort:p,sort:{sortByAccessor:c.sortValueAccessor,sortAsc:c.sortAsc,fallbackAccessorsToSortBy:[{sortByAccessor:(0,d.Sj)(L.m.RANK),sortAsc:!0}]},data:v,arrowOnlyForSortingColumn:!0,stringComparingFunc:(e,t)=>utilString.compare(e,t)})})},Re=[l.w.HTFT_AWAY.id,l.w.HTFT_OVERALL.id,l.w.HTFT_HOME.id,l.w.OVERUNDER_OVERALL.id,l.w.OVERUNDER_HOME.id,l.w.OVERUNDER_AWAY.id];function Pe(e){var{viewDefinition:t,columnDefinition:s,tables:i,participantImages:l,legend:o,tableId:d,subTableId:h}=e,{showMobileResolver:u}=(0,C.Wz)(),{selectedView:c}=(0,C.DJ)(),T=(0,n.useConfig)(),m=T.getSportId(),p=T.getAllParticipantIds(),v=Re.includes(parseInt(d)),b=(0,g.d)(function(e){return[ce.h.AUSSIE_RULES,ce.h.CRICKET,ce.h.FIELD_HOCKEY].includes(e)?569:540}(m),v),{eventIds:S}=(0,x.fR)(),I=(0,a.useMemo)(()=>s.getColumns().filter((e,s,i)=>{var r,a;if(v)return!0;if(!u)return!0;if(c===C.Wx.OVERFLOW)return!0;var n=null==(r=t[e.getId()])?void 0:r.simplifiedViewPresence;return(m!==ce.h.CRICKET||!i.some(e=>e.getId()===L.m.NET_RR)||e.getId()!==L.m.RUNS)&&((null==n?void 0:n.alwaysPresent)||(null==n||null==(a=n.presentInSports)?void 0:a.includes(m)))}).map(e=>{var s,i,r,a;return{name:e.getName(),title:e.getTitle(),accessor:e.getId(),style:(0,D.U)(e.getId()),sortable:null==(s=null==(i=t[e.getId()])?void 0:i.sortable)||s,onFirstClickSortAsc:null!=(r=null==(a=t[e.getId()])?void 0:a.onFirstClickSortAsc)&&r,sortValueAccessor:e.getId()+"ValueToSortBy"}}),[s,v,c,m,t,u]),_=s.getColumns().map(e=>e.getId());return(0,r.jsx)("div",{ref:b,children:(0,r.jsx)(N,{tables:i,children:i.filter(e=>((e,t)=>!t||e.getExtendedType()===t)(e,h)).map((e,s)=>{var i,n,u,c=null!=(i=null!=(n=e.getRoundTypeId())?n:e.getCountryId())?i:s;return(0,r.jsxs)(a.Fragment,{children:[(0,r.jsx)(E,{countryType:e.getCountryType()}),(0,r.jsx)(we,{table:e,tableColumnSettings:I,viewDefinition:t,allColumnDefinitionIds:_,highlightedParticipants:S,participantsSelectedByConfiguration:p,rendererDependencies:{tableId:(u=c,(0,fe.M)(d,h,u)),participantImages:l,legend:o}})]},c)})})})}function Ne(e){var{color:t,text:s}=e;return(0,r.jsxs)("div",{className:"tableLegend__row",children:[(0,r.jsx)("div",{className:"tableLegend__coloredSquare",style:{backgroundColor:"#"+t}}),(0,r.jsx)("span",{children:s})]})}function Ce(e){var{rankLegend:t}=e;return(0,r.jsx)("div",{className:"tableLegend__rank",children:t.map(e=>(0,r.jsx)(Ne,{color:e.getColor(),text:e.getText()},e.getColor()))})}function De(e){var{text:t}=e;return(0,r.jsxs)("div",{className:"tableLegend__infoLegendRow",children:[(0,r.jsx)(c.Int,{id:"settings-info-rounded",title:t,className:"tableLegend__infoIcon",size:14}),(0,r.jsx)("span",{children:t})]})}function xe(e){var{info:t}=e;return(0,r.jsx)("div",{className:"tableLegend__info",children:t.map((e,t)=>(0,r.jsx)(De,{text:e},t))})}function Me(e){var{info:t}=e;return(0,r.jsx)("div",{className:"tableLegend__note",children:t.map((e,t)=>(0,r.jsx)("div",{children:e},t))})}function Fe(e){var{legend:t}=e;return(0,r.jsxs)("div",{className:"tableLegend",children:[(0,r.jsx)(Ce,{rankLegend:t.getRankLegend()}),(0,r.jsx)(xe,{info:t.getInfoText()}),(0,r.jsx)(Me,{info:t.getExtraInfoText()})]})}function ke(e){var t,s,l,o=(0,i.c)(6),{feed:d,tableId:h,subTableId:u}=e,{showMobileResolver:c,setShowMobileResolver:T}=(0,C.Wz)(),m=(0,n.useConfig)().getMainTableOnly();if(o[0]!==T||o[1]!==c||o[2]!==h?(t=()=>{c&&Re.includes(parseInt(h))&&T(!1)},s=[h,c,T],o[0]=T,o[1]=c,o[2]=h,o[3]=t,o[4]=s):(t=o[3],s=o[4]),a.useEffect(t,s),null===d)return o[5]===Symbol.for("react.memo_cache_sentinel")?(l=(0,r.jsx)(y.o,{withTabs:!0}),o[5]=l):l=o[5],l;var p=Be(h);return(0,r.jsxs)("div",{children:[(0,r.jsx)(Pe,{viewDefinition:p,columnDefinition:d.getColumnDefinition(),tables:d.getTable(m),participantImages:d.getParticipantImages(),legend:d.getLegend(),subTableId:u,tableId:h}),(0,r.jsx)(Fe,{legend:d.getLegend()})]})}var Be=e=>{switch(e){case String(l.w.OVERUNDER_OVERALL.id):case String(l.w.OVERUNDER_HOME.id):case String(l.w.OVERUNDER_AWAY.id):return _e;default:return Ie}},je=s(85647);var He=s(81494);function We(){var e,t,s=(0,i.c)(4),{pathname:r}=(0,je.zy)(),n=(0,He.Op)();s[0]!==n||s[1]!==r?(e=()=>{"/"!==r&&Ue(n,r)},t=[r,n],s[0]=n,s[1]=r,s[2]=e,s[3]=t):(e=s[2],t=s[3]),(0,a.useEffect)(e,t)}function Ue(e,t){var s=t.split("/"),i=s.slice(0,-1).join("/"),r=s[s.length-1];i&&Ue(e,i),i&&r&&e({type:"selectTab",selectedTabParentUrl:i,selectedTabUrl:r})}function Ve(e){var t=(0,i.c)(26),{stageId:s,tableId:o,subTableId:d}=e,h=(0,n.useDI)();
1We(),h.getStandingsTabFeedUpdaterByTournamentStageId(s).setSelectedTable(o);var u,c,T=h.getTournamentTableFeedUpdater();t[0]===Symbol.for("react.memo_cache_sentinel")?(u=Object.values(l.w),t[0]=u):u=t[0],t[1]!==o?(c=u.find(e=>String(e.id)===o),t[1]=o,t[2]=c):c=t[2];var m=c;if(void 0===m)throw new Error("Trying to get updater of not existing table id.");var g,v=h.getFeedNameComposer().getTournamentTableTab(s,o);t[3]!==h||t[4]!==o?(g=o===String(l.w.TOP_SCORERS.id)?h.getTopScorersFeedParser():h.getTournamentTableFeedParser(),t[3]=h,t[4]=o,t[5]=g):g=t[5];var b,S,I,_,f,A=g,[y,L]=a.useState(T.getCurrentValueOf(v));return t[6]!==m||t[7]!==h||t[8]!==v||t[9]!==A||t[10]!==s||t[11]!==T?(b=()=>{var e=T.subscribe(v,A,h.getStandingsTabFeedUpdaterByTournamentStageId(s),m.sign,L);return()=>null==e?void 0:e.unsubscribe()},t[6]=m,t[7]=h,t[8]=v,t[9]=A,t[10]=s,t[11]=T,t[12]=b):b=t[12],t[13]!==m||t[14]!==v||t[15]!==A||t[16]!==T?(S=[v,A,T,m],t[13]=m,t[14]=v,t[15]=A,t[16]=T,t[17]=S):S=t[17],a.useEffect(b,S),o===String(l.w.TOP_SCORERS.id)?(t[18]!==y?(I=(0,r.jsx)(p,{feed:y}),t[18]=y,t[19]=I):I=t[19],I):o===String(l.w.DRAW.id)?(t[20]!==s?(_=(0,r.jsx)(O,{tournamentStageId:s}),t[20]=s,t[21]=_):_=t[21],_):(t[22]!==y||t[23]!==d||t[24]!==o?(f=(0,r.jsx)(ke,{feed:y,tableId:o,subTableId:d}),t[22]=y,t[23]=d,t[24]=o,t[25]=f):f=t[25],f)}},58808(e,t,s){var i;s.d(t,{w:()=>a}),function(e){e[e.DRAW=-1]="DRAW",e[e.OVERALL=1]="OVERALL",e[e.HOME=2]="HOME",e[e.AWAY=3]="AWAY",e[e.ADVANCED=4]="ADVANCED",e[e.FORM_OVERALL=5]="FORM_OVERALL",e[e.OVERUNDER_OVERALL=6]="OVERUNDER_OVERALL",e[e.STREAKS=7]="STREAKS",e[e.FORM_HOME=8]="FORM_HOME",e[e.FORM_AWAY=9]="FORM_AWAY",e[e.TOP_SCORERS=10]="TOP_SCORERS",e[e.HTFT_OVERALL=13]="HTFT_OVERALL",e[e.HTFT_HOME=14]="HTFT_HOME",e[e.HTFT_AWAY=15]="HTFT_AWAY",e[e.LIVE_OVERALL=16]="LIVE_OVERALL",e[e.OVERUNDER_HOME=17]="OVERUNDER_HOME",e[e.OVERUNDER_AWAY=18]="OVERUNDER_AWAY"}(i||(i={}));var r=s(39031),a={DRAW:{id:i.DRAW,sign:null},OVERALL:{id:i.OVERALL,sign:r.c.OVERALL_HASH},HOME:{id:i.HOME,sign:r.c.HOME_HASH},AWAY:{id:i.AWAY,sign:r.c.AWAY_HASH},ADVANCED:{id:i.ADVANCED,sign:r.c.ADVANCED_HASH},FORM_OVERALL:{id:i.FORM_OVERALL,sign:r.c.OVERALL_FORM_HASH},OVERUNDER_OVERALL:{id:i.OVERUNDER_OVERALL,sign:r.c.OVERALL_OVER_UNDER_HASH},STREAKS:{id:i.STREAKS,sign:r.c.STREAKS_HASH},FORM_HOME:{id:i.FORM_HOME,sign:r.c.HOME_FORM_HASH},FORM_AWAY:{id:i.FORM_AWAY,sign:r.c.AWAY_FORM_HASH},TOP_SCORERS:{id:i.TOP_SCORERS,sign:r.c.TOP_SCORERS_HASH},OVERUNDER_HOME:{id:i.OVERUNDER_HOME,sign:r.c.HOME_OVER_UNDER_HASH},OVERUNDER_AWAY:{id:i.OVERUNDER_AWAY,sign:r.c.AWAY_OVER_UNDER_HASH},HTFT_OVERALL:{id:i.HTFT_OVERALL,sign:r.c.OVERALL_HALF_TIME_FULL_TIME_HASH},HTFT_HOME:{id:i.HTFT_HOME,sign:r.c.HOME_HALF_TIME_FULL_TIME_HASH},HTFT_AWAY:{id:i.HTFT_AWAY,sign:r.c.AWAY_HALF_TIME_FULL_TIME_HASH},LIVE_OVERALL:{id:i.LIVE_OVERALL,sign:r.c.OVERALL_LIVE_HASH}}},51821(e,t,s){s.d(t,{O:()=>i});class i{constructor(e){this.window=void 0,this.window=e}getTransConfig(){return this.window.translations}getSportName(){return this.window.environment.sport}getEventStageTypeId(){return this.window.environment.eventStageTypeId}}},26087(e,t,s){s.d(t,{o:()=>r});var i=s(74848);s(96540);function r(e){var{withTabs:t}=e;return(0,i.jsxs)("div",{className:"tournamentTablesTabSkeleton__skeleton",children:[(0,i.jsxs)("div",{className:"tournamentTablesTabSkeleton__skeletonHeader "+(t&&"tournamentTablesTabSkeleton__skeletonHeader--rounded"),children:[(0,i.jsx)("div",{className:"tournamentTablesTabSkeleton__skeletonHeaderCell"}),(0,i.jsx)("div",{className:"tournamentTablesTabSkeleton__skeletonHeaderCell"}),(0,i.jsx)("div",{className:"tournamentTablesTabSkeleton__skeletonHeaderCell"}),(0,i.jsx)("div",{className:"tournamentTablesTabSkeleton__skeletonHeaderCell"}),(0,i.jsx)("div",{className:"tournamentTablesTabSkeleton__skeletonHeaderCell"})]}),(0,i.jsxs)("div",{className:"ska__se",children:[(0,i.jsxs)("span",{className:"tournamentTablesTabSkeleton__skeletonRow",children:[(0,i.jsx)("div",{}),(0,i.jsx)("div",{}),(0,i.jsx)("div",{}),(0,i.jsx)("div",{}),(0,i.jsx)("div",{})]}),(0,i.jsxs)("span",{className:"tournamentTablesTabSkeleton__skeletonRow",children:[(0,i.jsx)("div",{}),(0,i.jsx)("div",{}),(0,i.jsx)("div",{}),(0,i.jsx)("div",{}),(0,i.jsx)("div",{})]}),(0,i.jsxs)("span",{className:"tournamentTablesTabSkeleton__skeletonRow",children:[(0,i.jsx)("div",{}),(0,i.jsx)("div",{}),(0,i.jsx)("div",{}),(0,i.jsx)("div",{}),(0,i.jsx)("div",{})]}),(0,i.jsxs)("span",{className:"tournamentTablesTabSkeleton__skeletonRow",children:[(0,i.jsx)("div",{}),(0,i.jsx)("div",{}),(0,i.jsx)("div",{}),(0,i.jsx)("div",{}),(0,i.jsx)("div",{})]}),(0,i.jsxs)("span",{className:"tournamentTablesTabSkeleton__skeletonRow",children:[(0,i.jsx)("div",{}),(0,i.jsx)("div",{}),(0,i.jsx)("div",{}),(0,i.jsx)("div",{}),(0,i.jsx)("div",{})]}),(0,i.jsxs)("span",{className:"tournamentTablesTabSkeleton__skeletonRow",children:[(0,i.jsx)("div",{}),(0,i.jsx)("div",{}),(0,i.jsx)("div",{}),(0,i.jsx)("div",{}),(0,i.jsx)("div",{})]}),(0,i.jsxs)("span",{className:"tournamentTablesTabSkeleton__skeletonRow",children:[(0,i.jsx)("div",{}),(0,i.jsx)("div",{}),(0,i.jsx)("div",{}),(0,i.jsx)("div",{}),(0,i.jsx)("div",{})]}),(0,i.jsxs)("span",{className:"tournamentTablesTabSkeleton__skeletonRow",children:[(0,i.jsx)("div",{}),(0,i.jsx)("div",{}),(0,i.jsx)("div",{}),(0,i.jsx)("div",{}),(0,i.jsx)("div",{})]}),(0,i.jsxs)("span",{className:"tournamentTablesTabSkeleton__skeletonRow",children:[(0,i.jsx)("div",{}),(0,i.jsx)("div",{}),(0,i.jsx)("div",{}),(0,i.jsx)("div",{}),(0,i.jsx)("div",{})]})]})]})}},52330(e,t,s){s.r(t),s.d(t,{STANDINGS_ELEMENT_ID:()=>M,addLiveTabIfSelected:()=>F,default:()=>k});var i=s(74848),r=s(96540),a=s(85647),n=s(89632),l=s(50163),o=s(97131),d=s(12181),h=s(88930),u=s(98424);class c{prepareTab(e,t,s,r,a){return(0,i.jsx)(h.p,{tabIdForEventTracking:e,url:t,name:s,isSubFilter:r,isIndexRoute:a},"tournament-table-item-"+s)}prepareContent(e,t,s,r,n){var l=(0,i.jsx)(u.a,{stageId:t,tableId:s,subTableId:r},s+"-"+(r||""));return n?(0,i.jsx)(a.qh,{index:!0,element:l},e):(0,i.jsx)(a.qh,{path:e+"/",element:l},e)}}var T=s(30041),m=s(99409),p=s(58808),g=s(45545),v="table",b="form",S="over_under",I="htft",_="overall",f="home",A="away";function O(e,t){switch(parseInt(e)){case p.w.OVERALL.id:return 1===t.length?v:v+"-"+_;case p.w.HOME.id:return v+"-"+f;case p.w.AWAY.id:return v+"-"+A;case p.w.DRAW.id:return"draw";case p.w.FORM_OVERALL.id:return 1===t.length?b:b+"-"+_;case p.w.FORM_HOME.id:return b+"-"+f;case p.w.FORM_AWAY.id:return b+"-"+A;case p.w.OVERUNDER_OVERALL.id:return 1===t.length?S:S+"-"+_;case p.w.OVERUNDER_HOME.id:return S+"-"+f;case p.w.OVERUNDER_AWAY.id:return S+"-"+A;case p.w.HTFT_OVERALL.id:return 1===t.length?I:I+"-"+_;case p.w.HTFT_HOME.id:return I+"-"+f;case p.w.HTFT_AWAY.id:return I+"-"+A;case p.w.TOP_SCORERS.id:return"top_scorers";case p.w.LIVE_OVERALL.id:return"live-"+v;default:return t.join("-")}}class y{constructor(e,t,s,i,r){this.tournamentStageId=void 0,this.parsedAvailableTables=void 0,this.statsOverUnderConfig=void 0,this.savedSelectedSubtabs=void 0,this.tableRenderer=void 0,this.tournamentStageId=e,this.parsedAvailableTables=t,this.statsOverUnderConfig=s,this.savedSelectedSubtabs=i,this.tableRenderer=r}createSubItems(e,t,s){return this.isFormTable(t)?this.getFormSubItems(e,t,s):this.getOverUnderSubItems(e,t,s)}isFormTable(e){return[p.w.FORM_OVERALL.id,p.w.FORM_HOME.id,p.w.FORM_AWAY.id].includes(parseInt(e))}findStoredPath(e){var t=Object.entries(this.savedSelectedSubtabs).find(t=>{var[s]=t;return s.endsWith(e.join("/"))});return t?t[1]+"/":null}getFormSubItems(e,t,s){var r=this.parsedAvailableTables[parseInt(t)].reduce((e,r,n)=>{var l=5*(r+1),o=String(l);return e.tabs.push(this.tableRenderer.prepareTab([O(t,s),l].join("-"),o,l,!0)),e.contents.push(this.tableRenderer.prepareContent(o,this.tournamentStageId,t,l)),0===n&&e.contents.push((0,i.jsx)(a.qh,{path:"*",element:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(m.d,{}),(0,i.jsx)(g.E,{replace:!0,to:this.findStoredPath(s)?"../"+this.findStoredPath(s):"../"+o+"/"})]})},"initial-redirect")),e},{tabs:[],contents:[],path:e});return r.tabs=[(0,i.jsx)("div",{className:"subFilterOver",children:(0,i.jsx)(T.tUM,{type:"tertiary",children:r.tabs})},"subFilters")],r}getOverUnderSubItems(e,t,s){var r=this.parsedAvailableTables[parseInt(t)],n=-1/0,l=r.reduce((e,r,l)=>{var o=this.statsOverUnderConfig[r];if(!o)return e;var d=String(o.name),h=this.findStoredPath(s)?"../"+this.findStoredPath(s):"../"+d+"/";return 0===l&&(e.contents[0]=(0,i.jsx)(a.qh,{path:"*",element:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(m.d,{}),(0,i.jsx)(g.E,{replace:!0,to:h})]})},"initial-redirect")),o.default_tab_order>n&&(n=o.default_tab_order,e.contents[0]=(0,i.jsx)(a.qh,{path:"*",element:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(m.d,{}),(0,i.jsx)(g.E,{replace:!0,to:h})]})},"initial-redirect")),e.tabs.push(this.tableRenderer.prepareTab([O(t,s),o.name].join("-"),d,o.name,!0)),e.contents.push(this.tableRenderer.prepareContent(d,this.tournamentStageId,t,o.name)),e},{tabs:[],contents:[],path:e});return l.tabs=[(0,i.jsx)("div",{className:"subFilterOver",children:(0,i.jsx)(T.tUM,{type:"tertiary",children:l.tabs})},"subFilters")],l}}var L=s(16522),E=s(4752);function w(){var e,t,s,r=(0,L.c)(7),{showMobileResolver:a}=(0,E.Wz)(),{selectedView:n,setSelectedView:l}=(0,E.DJ)();if(!a)return null;
1r[0]!==n||r[1]!==l?(r[3]!==l?(t=()=>l(E.Wx.SIMPLIFIED),r[3]=l,r[4]=t):t=r[4],r[5]!==l?(s=()=>l(E.Wx.OVERFLOW),r[5]=l,r[6]=s):s=r[6],e=(0,i.jsxs)(T.tUM,{type:"icon",children:[(0,i.jsx)(T.$du,{expanded:!1,selected:n===E.Wx.SIMPLIFIED,onClick:t}),(0,i.jsx)(T.$du,{expanded:!0,selected:n===E.Wx.OVERFLOW,onClick:s})]}),r[0]=n,r[1]=l,r[2]=e):e=r[2];return e}function R(){return(0,i.jsx)(w,{})}class P{constructor(e,t,s,i,r,a,n,l){void 0===l&&(l=!1),this.tournamentStageId=void 0,this.parsedAvailableTables=void 0,this.statsTabsConfig=void 0,this.tableSubTabs=void 0,this.tableRenderer=void 0,this.path=void 0,this.savedSelectedSubtabs=void 0,this.isDetailTournament=void 0,this.tournamentStageId=e,this.parsedAvailableTables=t,this.statsTabsConfig=s,this.tableSubTabs=i,this.tableRenderer=r,this.path=a,this.savedSelectedSubtabs=n,this.isDetailTournament=l}getTabs(){return this.getAllowedTabs(this.path,this.statsTabsConfig,[])}isTabAllowed(e){return Object.keys(this.parsedAvailableTables).includes(e)}getFilteredTabsConfigs(e){return void 0===e&&(e=[]),Object.entries(e).filter(e=>{var[t]=e;return this.isTabAllowed(t)})}findStoredPath(e){var t=""+(this.path?"/"+this.path:"")+(e.length?"/"+e.join("/"):"");return this.savedSelectedSubtabs[t]||null}getAllowedTabs(e,t,s){var r=s.length>0,n=[],l=this.getFilteredTabsConfigs(t),o=[...l].sort((e,t)=>{var[s,i]=e,[r,a]=t;return i.sortKey-a.sortKey}).reduce((e,t,o)=>{var[d,h]=t,u=h.isIndexRoute&&this.isDetailTournament,c=u?"../":h.url,T=[...s,c];n.push(c),e.tabs.push(this.tableRenderer.prepareTab(O(d,T),c,h.name,r,u));var p=this.getFilteredTabsConfigs(h.items);if(p.length>1&&h.items?e.contents.push(this.getAllowedTabs(c,h.items,T)):1===p.length&&p[0][1].has_sub_items?e.contents.push(this.tableSubTabs.createSubItems(c,p[0][0],T)):h.has_sub_items?e.contents.push(this.tableSubTabs.createSubItems(c,d,T)):r||0!==o||u?e.contents.push(this.tableRenderer.prepareContent(c,this.tournamentStageId,d,void 0,u)):e.contents.push({tabs:[(0,i.jsx)("div",{className:"subFilterOver subFilterOver--end",children:(0,i.jsx)(R,{})},"mobileResolver")],contents:[this.tableRenderer.prepareContent("/",this.tournamentStageId,d,void 0,u),(0,i.jsx)(a.qh,{path:"*",element:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(m.d,{}),(0,i.jsx)(g.E,{replace:!0,to:"../"})]})},"initial-redirect")],path:c}),o===l.length-1){var v=this.findStoredPath(s),b=v&&n.includes(v)?v:n[0];e.contents.push((0,i.jsx)(a.qh,{path:"*",element:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(m.d,{}),(0,i.jsx)(g.E,{replace:!0,to:"../"===b?b:"../"+b+"/"})]})},"initial-redirect"))}return e},{tabs:[],contents:[],path:e});return o.tabs=[r?(0,i.jsxs)("div",{className:"subFilterOver",children:[(0,i.jsx)(T.tUM,{type:"tertiary",children:o.tabs}),(0,i.jsx)(w,{},"mobileResolver")]},"group"):(0,i.jsx)(T.tUM,{type:"secondary",className:"filterOver filterOver--table",children:o.tabs},"group")],o}}var N=s(89976),C=s(49393),D=s(81494);function x(){return x=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var i in s)({}).hasOwnProperty.call(s,i)&&(e[i]=s[i])}return e},x.apply(null,arguments)}var M="tournament-table-tabs-and-content";function F(e,t,s){return t?e[p.w.LIVE_OVERALL.id]||s?e:x(x({},e),{},{[p.w.LIVE_OVERALL.id]:[]}):e}function k(e){var{tournamentStageId:t,parentTabPath:s="",isDetailTournament:h}=e,{pathname:u}=(0,a.zy)(),m=(0,l.c)(t),g=(0,o.useConfig)(),v=g.getStats2Config(),{selectedTabs:b}=(0,D.kZ)(),S=u.includes(v.statsTabsConfig[p.w.LIVE_OVERALL.id].url),I=new c,_=(0,r.useMemo)(()=>F((new d.Y).parse(m),S,""!==m),[m,S]),f=new y(t,_,v.statsOverUnderTypes,b,I),A=new P(t,_,v.statsTabsConfig,f,I,s,b,h).getTabs();return 0===A.contents.length?g.itWillBeDraw()?(0,i.jsx)(C.q,{}):(0,i.jsx)(n.D,{}):(0,i.jsx)(T.IL_,{children:(0,i.jsx)(E.zf,{children:(0,i.jsx)("div",{id:M,children:(0,i.jsx)(N.T,x(x({},A),{},{hasNewLayout:!0}))})})})}},4752(e,t,s){s.d(t,{DJ:()=>T,Wx:()=>i,Wz:()=>c,Ze:()=>m,zf:()=>h});var i,r=s(16522),a=s(74848),n=s(96540);!function(e){e.OVERFLOW="overflow",e.SIMPLIFIED="simplified"}(i||(i={}));var l="tournamentTableSelectedView",o=i.OVERFLOW,d=(0,n.createContext)(null),h=e=>{var t,s=(0,r.c)(7),{children:i}=e;s[0]===Symbol.for("react.memo_cache_sentinel")?(t=localStorage.getItem(l)||o,s[0]=t):t=s[0];
1var h,u=t,[c,T]=(0,n.useState)(!1),[m,p]=(0,n.useState)(u),[g,v]=(0,n.useState)(!1);s[1]===Symbol.for("react.memo_cache_sentinel")?(h=e=>{localStorage.setItem(l,e),p(e)},s[1]=h):h=s[1];var b,S=h;return s[2]!==i||s[3]!==m||s[4]!==g||s[5]!==c?(b=(0,a.jsx)(d.Provider,{value:{showMobileResolver:c,setShowMobileResolver:T,selectedView:m,setSelectedView:S,showFilters:g,setShowFilters:v},children:i}),s[2]=i,s[3]=m,s[4]=g,s[5]=c,s[6]=b):b=s[6],b};function u(){var e=(0,n.useContext)(d);if(null===e)throw new Error("Mobile resolver context was not initialized.");return e}function c(){var e,t=(0,r.c)(3),{showMobileResolver:s,setShowMobileResolver:i}=u();return t[0]!==i||t[1]!==s?(e={showMobileResolver:s,setShowMobileResolver:i},t[0]=i,t[1]=s,t[2]=e):e=t[2],e}function T(){var e,t=(0,r.c)(3),{selectedView:s,setSelectedView:i}=u();return t[0]!==s||t[1]!==i?(e={selectedView:s,setSelectedView:i},t[0]=s,t[1]=i,t[2]=e):e=t[2],e}function m(){var e,t=(0,r.c)(3),{showFilters:s,setShowFilters:i}=u();return t[0]!==i||t[1]!==s?(e={showFilters:s,setShowFilters:i},t[0]=i,t[1]=s,t[2]=e):e=t[2],e}},97131(e,t,s){s.r(t),s.d(t,{TournamentTableEnvironmentContext:()=>Ue,default:()=>Ve,useConfig:()=>Ke,useDI:()=>Ye,useLegalAge:()=>Ze,useServerRender:()=>ze});var i=s(16522),r=s(74848),a=s(96540);class n{constructor(e,t,s){this.di=void 0,this.config=void 0,this.serverRender=void 0,this.di=e,this.config=t,this.serverRender=s}getDI(){return this.di}getConfig(){return this.config}getServerRender(){return this.serverRender}}var l=s(58808);class o{constructor(e,t,s){this.projectTypeId=void 0,this.tournamentId=void 0,this.eventId=void 0,this.projectTypeId=e,this.tournamentId=t,this.eventId=s}getStandingsTabs(e){return"tx_"+this.tournamentId+"_"+e}getTournamentTableTab(e,t){return t===String(l.w.TOP_SCORERS.id)?this.getTopScorersTab(e):t===String(l.w.LIVE_OVERALL.id)?this.getLiveTournamentTableTab(e):this.eventId?"df_to_"+this.projectTypeId+"_"+this.eventId+"_"+t:"to_"+this.tournamentId+"_"+e+"_"+t}getTopScorersTab(e){return this.eventId?"df_tt_"+this.projectTypeId+"_"+this.eventId:"tt_"+this.tournamentId+"_"+e}getLiveTournamentTableTab(e){return this.eventId?"df_tl_"+this.projectTypeId+"_"+this.eventId:"tl_"+this.tournamentId+"_"+e}getDrawTab(e){return this.eventId?"dr_"+this.tournamentId+"_"+e+"_"+this.eventId:"dr_"+this.tournamentId+"_"+e}}var d=s(27291),h=s(49426),u=s(25100),c=s(31731),T=s(81160),m=s(41900),p=s(63720),g=s(67791),v=s(1005),b=s(33136),S=s(62116),I=s(12181),_=s(52330),f=s(39031),A=s(18896);class O extends S.I{constructor(e){super(),this.STANDINGS_TABS_FEED_DOWNLOAD_PERIOD_IN_MILLISECONDS=6e4,this.LIVE_STANDINGS_TABS_FEED_DOWNLOAD_PERIOD_IN_MILLISECONDS=5e3,this.availableTablesParser=void 0,this.selectedTableId="",this.startObservable=new d.B,this.stopObservable=new d.B,this.timerIsRunning=!0,this.behaviorSubject=void 0,this.observable=void 0,this.availableTablesParser=new I.Y,this.behaviorSubject=new h.t(new A.o({}));var t=(0,u.O)(0,this.LIVE_STANDINGS_TABS_FEED_DOWNLOAD_PERIOD_IN_MILLISECONDS).pipe((0,T.T)(()=>this.hasLiveTable()?this.LIVE_STANDINGS_TABS_FEED_DOWNLOAD_PERIOD_IN_MILLISECONDS:this.STANDINGS_TABS_FEED_DOWNLOAD_PERIOD_IN_MILLISECONDS),(0,m.F)()),s=()=>{var e=document.getElementById(_.STANDINGS_ELEMENT_ID);return!e||function(e){var{top:t,bottom:s}=e.getBoundingClientRect();return s>0&&t<window.innerHeight}(e)};window.addEventListener("scroll",()=>{s()?this.startPeriodicalDownloads():this.stopPeriodicalDownloads()}),this.observable=t.pipe((0,p.n)(t=>this.fetchPeriodically(e,t,0,s).pipe((0,g.Q)(this.stopObservable),(0,c.u)({delay:()=>this.startObservable}))),(0,v.u)({connector:()=>this.behaviorSubject,resetOnRefCountZero:!0}))}startPeriodicalDownloads(){this.timerIsRunning||(this.timerIsRunning=!0,this.startObservable.next())}stopPeriodicalDownloads(){this.timerIsRunning&&(this.timerIsRunning=!1,this.stopObservable.next())}hasLiveTable(){if(this.selectedTableId===String(l.w.LIVE_OVERALL.id))return!0;var e=this.behaviorSubject.getValue().getAvailableTables();if(!e)return!1;var t=this.availableTablesParser.parse(e);return Object.keys(t).includes(String(l.w.LIVE_OVERALL.id))}setSelectedTable(e){this.selectedTableId=e}}var y=s(77617),L=s(1900),E=s(42776),w=s(9511),R=s(16126),P=s(59099);class N{constructor(e){this.fetcher=void 0,this.observers={},this.fetcher=e}getTableDataObserable(e){return this.observers[e]||(this.observers[e]={hash:null,
1subject:new h.t(null)}),this.observers[e]}subscribe(e,t,s,i,r,a,n){if(!i)return null;var l=new b.Q(e,this.fetcher,t);return s.getHashObservable(i).pipe((0,R.p)(t=>{var s=this.getTableDataObserable(e);return t!==s.hash||null===s.subject.getValue()}),(0,P.M)(t=>this.observers[e].hash=t),(0,p.n)(()=>l.fetch())).pipe((0,v.u)({connector:()=>this.getTableDataObserable(e).subject,resetOnRefCountZero:!0})).subscribe({next:r,error:a,complete:n})}getCurrentValueOf(e){return this.getTableDataObserable(e).subject.getValue()}}var C=s(1018),D=s(30908),x=s(26273),M=s(48561),F=s(43963);class k{constructor(e,t){this.feedName=void 0,this.fetcher=void 0,this.feedName=e,this.fetcher=t}fetch(){return this.fetcher.fetch(this.feedName).then(e=>(new F.zs).parse(e.getBody()))}}var B=s(98712),j=s(33409),H=s(53784),W=s(29163),U=s(32910),V=s(28007),G=s(52456),K=s(26978),Y=s(49660);class z{constructor(e,t,s,i){this.mainMenuTrans=void 0,this.topScorers=void 0,this.filters=void 0,this.columnDefinition=void 0,this.mainMenuTrans=e,this.topScorers=t,this.filters=s,this.columnDefinition=i}getTopScorers(){return this.topScorers}getFilters(){return this.filters}getColumnDefinition(){return this.columnDefinition}}class Z{constructor(e,t){this.filtersBuilder=void 0,this.columnDefinitionBuilder=void 0,this.mainMenuTrans="",this.topScorers=[],this.filtersBuilder=e,this.columnDefinitionBuilder=t}setMainMenuTrans(e){return this.mainMenuTrans=e,this}addTopScorer(e){return this.topScorers=[...this.topScorers,e],this}build(){return new z(this.mainMenuTrans,this.topScorers,this.filtersBuilder.build(this.topScorers),this.columnDefinitionBuilder.build())}}var q=s(58034),J=s(86370),X=s(12536);function Q(){return Q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var i in s)({}).hasOwnProperty.call(s,i)&&(e[i]=s[i])}return e},Q.apply(null,arguments)}class ${constructor(e,t,s,i,r,a,n,l,o,d,h,u,c,T,m,p,g,v){this.rank=void 0,this.activeParticipant=void 0,this.playerId=void 0,this.playerUrl=void 0,this.playerCountryId=void 0,this.playerCountryName=void 0,this.playerName=void 0,this.playerTypeId=void 0,this.playerTeamId=void 0,this.playerTeamUrl=void 0,this.points=void 0,this.goals=void 0,this.assists=void 0,this.assists2=void 0,this.teamName=void 0,this.teamName3Char=void 0,this.playerPositionName=void 0,this.playerPositionOrder=void 0,this.rank=e,this.activeParticipant=t,this.playerId=s,this.playerUrl=i,this.playerCountryId=r,this.playerCountryName=a,this.playerName=n,this.playerTypeId=l,this.playerTeamId=o,this.playerTeamUrl=d,this.points=h,this.goals=u,this.assists=c,this.assists2=T,this.teamName=m,this.teamName3Char=p,this.playerPositionName=g,this.playerPositionOrder=v}getRank(){return this.rank}getActiveParticipant(){return this.activeParticipant}getPlayerId(){return this.playerId}getPlayerUrl(){return this.playerUrl}getPlayerCountryId(){return this.playerCountryId}getPlayerCountryName(){return this.playerCountryName}getPlayerName(){return this.playerName}getPlayerTeamId(){return this.playerTeamId}getPlayerTeamUrl(){return this.playerTeamUrl}getPoints(){return this.points}getGoals(){return this.goals}getAssists(){return this.assists}getAssists2(){return this.assists2}getTeamName(){return this.teamName}getTeamName3Char(){return this.teamName3Char}getPlayerPositionName(){return this.playerPositionName}getPlayerPositionOrder(){return this.playerPositionOrder}serializeColumn(e){var t=J.v[e];return{[e]:t.renderer||X.j,[e+"ValueToSortBy"]:t.valueGetter(this)}}serialize(e){return e.reduce((e,t)=>Q(Q({},e),this.serializeColumn(t)),{rowKey:this.getPlayerId()})}}class ee{constructor(){this.rank=0,this.activeParticipant=!1,this.playerId="",this.playerUrl="",this.playerCountryId=0,this.playerCountryName="",this.playerName="",this.playerTypeId=0,this.playerTeamId="",this.playerTeamUrl="",this.points=0,this.goals=0,this.assists=0,this.assists2=0,this.teamName="",this.teamName3Char="",this.playerPositionName="",this.playerPositionOrder=0}setRank(e){return this.rank=e,this}setActiveParticipant(e){return this.activeParticipant=e,this}setPlayerId(e){return this.playerId=e,this}setPlayerUrl(e){return this.playerUrl=e,this}setPlayerCountryId(e){return this.playerCountryId=e,this}setPlayerCountryName(e){return this.playerCountryName=e,this}setPlayerName(e){return this.playerName=e,this}setPlayerTypeId(e){return this.playerTypeId=e,this}setPlayerTeamId(e){return this.playerTeamId=e,this}setPlayerTeamUrl(e){return this.playerTeamUrl=e,this}setPoints(e){return this.points=e,this}setGoals(e){return this.goals=e,this}setAssists(e){return this.assists=e,this}setAssists2(e){return this.assists2=e,this}setTeamName(e){return this.teamName=e,this}setTeamName3Char(e){return this.teamName3Char=e,this}setPlayerPositionName(e){return this.playerPositionName=e,this}setPlayerPositionOrder(e){return this.playerPositionOrder=e,this}build(){return new $(this.rank,this.activeParticipant,this.playerId,this.playerUrl,this.playerCountryId,this.playerCountryName,this.playerName,this.playerTypeId,this.playerTeamId,this.playerTeamUrl,this.points,this.goals,this.assists,this.assists2,this.teamName,this.teamName3Char,this.playerPositionName,this.playerPositionOrder)}}var te,se=s(5387);class ie{constructor(e,t){this.filters=void 0,this.noResultText=void 0,this.filters=e,this.noResultText=t}getFilters(){return this.filters}
1getNoResultText(){return this.noResultText}}class re{constructor(){this.filters=[],this.noResultText=""}setNoResultText(e){return this.noResultText=e,this}addFilter(e){return this.filters=[...this.filters,e],this}build(e){return new ie(this.filters.map(t=>t.build(e)),this.noResultText)}}class ae{constructor(e,t,s){this.id=void 0,this.name=void 0,this.title=void 0,this.id=e,this.name=t,this.title=s}getId(){return this.id}getName(){return this.name}getTitle(){return this.title}}class ne{constructor(){this.id=0,this.name="",this.title=""}setId(e){return this.id=e,this}setName(e){return this.name=e,this}setTitle(e){return this.title=e,this}build(){return new ae(this.id,this.name,this.title)}}class le{constructor(e){this.columns=void 0,this.columns=e}getColumns(){return this.columns}}class oe{constructor(){this.columns=[]}addColumn(e){return this.columns=[...this.columns,e],this}build(){return new le(this.columns)}}class de extends Y.M{constructor(utilString){super(),this.utilString=void 0,this.newRowStarted=!1,this.topScorersBuilder=void 0,this.filtersBuilder=new re,this.columnDefinitionBuilder=new oe,this.scorerBuilder=null,this.filterBuilder=null,this.columnBuilder=null,this.utilString=utilString,this.topScorersBuilder=new Z(this.filtersBuilder,this.columnDefinitionBuilder)}endLastScorer(){this.scorerBuilder&&(this.topScorersBuilder.addTopScorer(this.scorerBuilder.build()),this.scorerBuilder=null)}startNewScorer(){this.scorerBuilder=new ee}endLastFilter(){this.filterBuilder&&(this.filtersBuilder.addFilter(this.filterBuilder),this.filterBuilder=null)}startNewFilter(){this.filterBuilder=new se.WZ(this.utilString)}startNewColumn(){this.columnBuilder=new ne}endLastColumn(){this.columnBuilder&&(this.columnDefinitionBuilder.addColumn(this.columnBuilder.build()),this.columnBuilder=null)}startFeed(){this.filtersBuilder=new re,this.columnDefinitionBuilder=new oe,this.topScorersBuilder=new Z(this.filtersBuilder,this.columnDefinitionBuilder)}startRow(){this.newRowStarted=!0}parse(e,t){var s,i,r,a,n,l,o,d,h,u,c,T,m,p,g,v,b,S,I,_,f,A,O;if(this.newRowStarted){switch(e){case q.aoh:case q.ehG:this.endLastFilter(),this.startNewFilter();break;case q.SHn:case q.KQo:case q.aYZ:case q.uQH:case q.YOv:case q.Dac:case q.pdT:case q.lqW:case q.$pc:case q.Svc:case q.Pd$:case q.n4h:case q.G1V:case q.bqO:case q.uFt:case q.ZUj:case q.PsT:case q.AUL:this.endLastScorer(),this.startNewScorer();break;case q.LSr:case q.FkR:case q.u8l:this.endLastColumn(),this.startNewColumn()}this.newRowStarted=!1}switch(e){case q.UcW:this.topScorersBuilder.setMainMenuTrans(t);break;case q.aoh:null==(s=this.filterBuilder)||s.setType(t);break;case q.ehG:null==(i=this.filterBuilder)||i.setLabel(t);break;case q.S7T:this.filtersBuilder.setNoResultText(t);break;case q.SHn:null==(r=this.scorerBuilder)||r.setAssists2(this.getNumberValueOf(t));break;case q.KQo:null==(a=this.scorerBuilder)||a.setAssists(this.getNumberValueOf(t));break;case q.aYZ:null==(n=this.scorerBuilder)||n.setGoals(this.getNumberValueOf(t));break;case q.uQH:null==(l=this.scorerBuilder)||l.setPlayerCountryId(this.getNumberValueOf(t));break;case q.YOv:null==(o=this.scorerBuilder)||o.setPlayerCountryName(t);break;case q.Dac:null==(d=this.scorerBuilder)||d.setPlayerId(t);break;case q.pdT:null==(h=this.scorerBuilder)||h.setPlayerUrl(t);break;case q.lqW:null==(u=this.scorerBuilder)||u.setPlayerName(t);break;case q.$pc:null==(c=this.scorerBuilder)||c.setPlayerPositionName(t);break;case q.Svc:null==(T=this.scorerBuilder)||T.setPlayerPositionOrder(this.getNumberValueOf(t));break;case q.Pd$:null==(m=this.scorerBuilder)||m.setPlayerTeamId(t);break;case q.n4h:null==(p=this.scorerBuilder)||p.setPlayerTeamUrl(t);break;case q.G1V:null==(g=this.scorerBuilder)||g.setPlayerTypeId(this.getNumberValueOf(t));break;case q.bqO:null==(v=this.scorerBuilder)||v.setPoints(this.getNumberValueOf(t));break;case q.uFt:null==(b=this.scorerBuilder)||b.setRank(this.getNumberValueOf(t));break;case q.ZUj:null==(S=this.scorerBuilder)||S.setTeamName(t);break;case q.PsT:null==(I=this.scorerBuilder)||I.setTeamName3Char(t);break;case q.AUL:null==(_=this.scorerBuilder)||_.setActiveParticipant(this.getBooleanValueOf(t));break;case q.LSr:null==(f=this.columnBuilder)||f.setId(this.getNumberValueOf(t));break;case q.FkR:null==(A=this.columnBuilder)||A.setName(t);break;case q.u8l:null==(O=this.columnBuilder)||O.setTitle(t)}
1}endFeed(){this.endLastScorer(),this.endLastFilter(),this.endLastColumn()}getParsedModel(){return this.topScorersBuilder.build()}}!function(e){e[e.CONTINENT=1]="CONTINENT",e[e.COUNTRY=2]="COUNTRY",e[e.STATE=3]="STATE",e[e.AREA=4]="AREA",e[e.CONFERENCE=5]="CONFERENCE",e[e.DIVISION=6]="DIVISION",e[e.GROUP=7]="GROUP",e[e.LEAGUE=8]="LEAGUE"}(te||(te={}));class he{constructor(e,t,s,i,r,a){this.mainMenuTrans=void 0,this.subMenuTrans=void 0,this.participantImages=void 0,this.table=void 0,this.columnDefinition=void 0,this.legend=void 0,this.mainMenuTrans=e,this.subMenuTrans=t,this.participantImages=s,this.table=i,this.columnDefinition=r,this.legend=a}getParticipantImages(){return this.participantImages}getTable(e){var t=this;if(!e)return this.table;var s,i=[te.CONFERENCE,te.DIVISION],r=function(e){var s=t.table.filter(t=>t.getCountryTypeId()===e);if(s.length)return{v:s}};for(var a of i)if(s=r(a))return s.v;return this.table}getColumnDefinition(){return this.columnDefinition}getLegend(){return this.legend}}class ue{constructor(e,t,s){this.participantImagesBuilder=void 0,this.columnDefinitionBuilder=void 0,this.legendBuilder=void 0,this.mainMenuTrans="",this.subMenuTrans="",this.table=[],this.participantImagesBuilder=e,this.columnDefinitionBuilder=t,this.legendBuilder=s}setMainMenuTrans(e){return this.mainMenuTrans=e,this}setSubMenuTrans(e){return this.subMenuTrans=e,this}addTable(e){return this.table=[...this.table,e],this}build(){return new he(this.mainMenuTrans,this.subMenuTrans,this.participantImagesBuilder.build(),this.table,this.columnDefinitionBuilder.build(),this.legendBuilder.build())}}function ce(){return ce=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var i in s)({}).hasOwnProperty.call(s,i)&&(e[i]=s[i])}return e},ce.apply(null,arguments)}class Te{constructor(e){this.images=void 0,this.images=e}getImage(e){return this.images[e]}getImages(){return this.images}}class me{constructor(){this.images={}}addImage(e,t){return this.images=ce(ce({},this.images),{},{[e]:t}),this}build(){return new Te(this.images)}}class pe{constructor(e,t,s){this.rankLegend=void 0,this.infoText=void 0,this.extraInfoText=void 0,this.rankLegend=e,this.infoText=t,this.extraInfoText=s}getRankLegend(){return this.rankLegend}getInfoText(){return this.infoText}getExtraInfoText(){return this.extraInfoText}getRankLegendByKey(e){if(e)return this.getRankLegend().find(t=>t.getKey()===e)}}class ge{constructor(){this.rankLegend=[],this.infoText=[],this.extraInfoText=[]}addRankLegend(e){return this.rankLegend=[...this.rankLegend,e],this}setInfoText(e){return this.infoText=e,this}addExtraInfoText(e){return this.extraInfoText=[...this.extraInfoText,e],this}build(){return new pe(this.rankLegend,this.infoText,this.extraInfoText)}}class ve{constructor(e,t,s){this.key=void 0,this.text=void 0,this.color=void 0,this.key=e,this.text=t,this.color=s}getKey(){return this.key}getText(){return this.text}getColor(){return this.color}}class be{constructor(){this.key="",this.text="",this.color=""}setKey(e){return this.key=e,this}setText(e){return this.text=e,this}setColor(e){return this.color=e,this}build(){return new ve(this.key,this.text,this.color)}}class Se{constructor(e,t,s,i,r,a,n,l,o){this.countryTypeId=void 0,this.countryType=void 0,this.countryId=void 0,this.country=void 0,this.roundTypeId=void 0,this.roundType=void 0,this.extendedTypeId=void 0,this.extendedType=void 0,this.rows=void 0,this.countryTypeId=e,this.countryType=t,this.countryId=s,this.country=i,this.roundTypeId=r,this.roundType=a,this.extendedTypeId=n,this.extendedType=l,this.rows=o}getCountryTypeId(){return this.countryTypeId}getCountryType(){return this.countryType}getCountryId(){return this.countryId}getCountry(){return this.country}getRoundTypeId(){return this.roundTypeId}getRoundType(){return this.roundType}getExtendedType(){return this.extendedType}getRows(){return this.rows}}class Ie{constructor(){this.countryTypeId=void 0,this.countryType=void 0,this.countryId=void 0,this.country=void 0,this.roundTypeId=void 0,this.roundType=void 0,this.extendedTypeId=void 0,this.extendedType=void 0,this.rows=[]}setCountryTypeId(e){return this.countryTypeId=e,this}setCountryType(e){return this.countryType=e,this}setCountryId(e){return this.countryId=e,this}setCountry(e){return this.country=e,this}setRoundTypeId(e){return this.roundTypeId=e,this}setRoundType(e){return this.roundType=e,this}setExtendedTypeId(e){return this.extendedTypeId=e,this}setExtendedType(e){return this.extendedType=e,this}addRow(e){return this.rows=[...this.rows,e],this}setRows(e){return this.rows=e,this}build(){return new Se(this.countryTypeId,this.countryType,this.countryId,this.country,this.roundTypeId,this.roundType,this.extendedTypeId,this.extendedType,this.rows)}}var _e=s(85874);class fe{constructor(e,t){this.countryId=void 0,this.countryName=void 0,this.countryId=e,this.countryName=t}getCountryId(){return this.countryId}getCountryName(){return this.countryName}}class Ae{constructor(e,t,s,i){void 0===i&&(i=null),this.id=void 0,this.name=void 0,this.url=void 0,this.country=void 0,this.id=e,this.name=t,this.url=s,this.country=i}getId(){return this.id}getName(){return this.name}getUrl(){return this.url}getCountry(){return this.country}}class Oe{constructor(){this.id="",this.name="",this.url="",this.country=null}setId(e){return this.id=e,this}setName(e){return this.name=e,this}setUrl(e){return this.url=e,this}setCountry(e,t){return e&&t&&(this.country=new fe(e,t)),this}build(){return new Ae(this.id,this.name,this.url,this.country)}}var ye=s(28633);function Le(){return Le=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var i in s)({}).hasOwnProperty.call(s,i)&&(e[i]=s[i])}return e},Le.apply(null,arguments)}class Ee{constructor(e,t,s,i,r,a,n,l,o,d,h,u,c,T,m,p,g,v,b,S,I,_,f,A,O,y,L,E,w,R,P,N,C,D,x,M,F,k,B,j,H,W,U,V,G,K,Y,z,Z,q,J,X,Q,$,ee,te,se,ie,re,ae,ne,le,oe){void 0===oe&&(oe=!1),this.participantSelected=void 0,this.rank=void 0,this.rankKey=void 0,this.rankColor=void 0,this.participants=void 0,this.wins=void 0,this.winsRegular=void 0,this.winsInOvertime=void 0,this.winsAfterPenalties=void 0,this.winsInOvertimeAfterPenalties=void 0,this.draws=void 0,this.losses=void 0,this.lossesRegular=void 0,this.lossesInOvertime=void 0,this.lossesAfterPenalties=void 0,this.lossesInOvertimeAfterPenalties=void 0,this.overUnderOver=void 0,this.overUnderUnder=void 0,this.goalsPerMatch=void 0,this.htftWinWin=void 0,this.htftWinDraw=void 0,this.htftWinLoss=void 0,this.htftDrawWin=void 0,this.htftDrawDraw=void 0,this.htftDrawLoss=void 0,this.htftLossWin=void 0,this.htftLossDraw=void 0,this.htftLossLoss=void 0,this.againsPercentage=void 0,this.noResultMatches=void 0,this.pesapallo3PointMatches=void 0,this.pesapallo2PointMatches=void 0,this.pesapallo1PointMatches=void 0,this.pesapallo0PointMatches=void 0,this.pesapalloGoalsForAgainstDiff=void 0,this.pesapalloPointsPerEvent=void 0,this.cricketWinsWithAbandoned=void 0,this.matches=void 0,this.cricketRuns=void 0,this.cricketNetRunRate=void 0,this.goals=void 0,this.pct=void 0,this.points=void 0,this.pointsIncidentMessage=void 0,this.pointsPerMatchesPlayed=void 0,this.cricketLiveTableWinsWithAbandoned=void 0,this.liveTableMatches=void 0,this.cricketLiveTableNetRun
1Rate=void 0,this.liveTableGoals=void 0,this.liveTablePctOrPoints=void 0,this.liveTablePositionChange=void 0,this.liveTableScore=void 0,this.liveTableScoreTitle=void 0,this.liveTableScoreEventId=void 0,this.liveTableScoreHomeIds=void 0,this.liveTableScoreAwayIds=void 0,this.liveTableScoreHomeUrl=void 0,this.liveTableScoreAwayUrl=void 0,this.lastMatches=void 0,this.liveTableGoalsForAgainstDiff=void 0,this.certainTitleTitle=void 0,this.certainTitleIconDesc=void 0,this.swappedParticipants=void 0,this.participantSelected=e,this.rank=t,this.rankKey=s,this.rankColor=i,this.participants=r,this.wins=a,this.winsRegular=n,this.winsInOvertime=l,this.winsAfterPenalties=o,this.winsInOvertimeAfterPenalties=d,this.draws=h,this.losses=u,this.lossesRegular=c,this.lossesInOvertime=T,this.lossesAfterPenalties=m,this.lossesInOvertimeAfterPenalties=p,this.overUnderOver=g,this.overUnderUnder=v,this.goalsPerMatch=b,this.htftWinWin=S,this.htftWinDraw=I,this.htftWinLoss=_,this.htftDrawWin=f,this.htftDrawDraw=A,this.htftDrawLoss=O,this.htftLossWin=y,this.htftLossDraw=L,this.htftLossLoss=E,this.againsPercentage=w,this.noResultMatches=R,this.pesapallo3PointMatches=P,this.pesapallo2PointMatches=N,this.pesapallo1PointMatches=C,this.pesapallo0PointMatches=D,this.pesapalloGoalsForAgainstDiff=x,this.pesapalloPointsPerEvent=M,this.cricketWinsWithAbandoned=F,this.matches=k,this.cricketRuns=B,this.cricketNetRunRate=j,this.goals=H,this.pct=W,this.points=U,this.pointsIncidentMessage=V,this.pointsPerMatchesPlayed=G,this.cricketLiveTableWinsWithAbandoned=K,this.liveTableMatches=Y,this.cricketLiveTableNetRunRate=z,this.liveTableGoals=Z,this.liveTablePctOrPoints=q,this.liveTablePositionChange=J,this.liveTableScore=X,this.liveTableScoreTitle=Q,this.liveTableScoreEventId=$,this.liveTableScoreHomeIds=ee,this.liveTableScoreAwayIds=te,this.liveTableScoreHomeUrl=se,this.liveTableScoreAwayUrl=ie,this.lastMatches=re,this.liveTableGoalsForAgainstDiff=ae,this.certainTitleTitle=ne,this.certainTitleIconDesc=le,this.swappedParticipants=oe}getParticipantSelected(){return this.participantSelected}getRank(){return this.rank}getRankKey(){return this.rankKey}getRankColor(){return this.rankColor}getParticipants(){return this.participants}getWins(){return this.wins}getLiveTableWins(){return this.getWins()+(this.isTeamWinning()?1:0)}getLiveTableWinsRegular(){return this.getWinsRegular()+(this.isTeamWinning()?1:0)}getWinsRegular(){return this.winsRegular}getWinsInOvertime(){return this.winsInOvertime}getWinsAfterPenalties(){return this.winsAfterPenalties}getWinsInOvertimeAfterPenalties(){return this.winsInOvertimeAfterPenalties}getDraws(){return this.draws}getLiveTableDraws(){return this.getDraws()+(this.isItADraw()?1:0)}getLosses(){return this.losses}getLiveTableLosses(){return this.getLosses()+(this.isTeamLosing()?1:0)}getLiveTableLossesRegular(){return this.getLossesRegular()+(this.isTeamLosing()?1:0)}getLossesRegular(){return this.lossesRegular}getLossesInOvertime(){return this.lossesInOvertime}getLossesAfterPenalties(){return this.lossesAfterPenalties}getLossesInOvertimeAfterPenalties(){return this.lossesInOvertimeAfterPenalties}getOverUnderOver(){return this.overUnderOver}getOverUnderUnder(){return this.overUnderUnder}getGoalsPerMatch(){return this.goalsPerMatch}getHtftWinWin(){return this.htftWinWin}getHtftWinDraw(){return this.htftWinDraw}getHtftWinLoss(){return this.htftWinLoss}getHtftDrawWin(){return this.htftDrawWin}getHtftDrawDraw(){return this.htftDrawDraw}getHtftDrawLoss(){return this.htftDrawLoss}getHtftLossWin(){return this.htftLossWin}getHtftLossDraw(){return this.htftLossDraw}getHtftLossLoss(){return this.htftLossLoss}getAgainsPercentage(){return this.againsPercentage}getNoResultMatches(){return this.noResultMatches}getPesapallo3PointMatches(){return this.pesapallo3PointMatches}getPesapallo2PointMatches(){return this.pesapallo2PointMatches}getPesapallo1PointMatches(){return this.pesapallo1PointMatches}getPesapallo0PointMatches(){return this.pesapallo0PointMatches}getGoalsForAgainstDiff(){return this.pesapalloGoalsForAgainstDiff}getPesapalloPointsPerEvent(){return this.pesapalloPointsPerEvent}getCricketWinsWithAbandoned(){return this.cricketWinsWithAbandoned}getMatches(){return this.matches}getCricketRuns(){return this.cricketRuns}getGoals(){return this.goals}getPct(){return this.pct}getPoints(){return this.points}getPointsIncidentMessage(){return this.pointsIncidentMessage}getPointsPerMatchesPlayed(){return this.pointsPerMatchesPlayed}getCricketLiveTableWinsWithAbandoned(){return this.cricketLiveTableWinsWithAbandoned}getLiveTableMatches(){return this.liveTableMatches}
1getCricketLiveTableNetRunRate(){return this.cricketLiveTableNetRunRate}getLiveTableGoals(){return this.liveTableGoals}getLiveTablePctOrPoints(){return this.liveTablePctOrPoints}getLiveTablePositionChange(){return this.liveTablePositionChange}getLastMatches(){return this.lastMatches}getCertainTitleTitle(){return this.certainTitleTitle}getCertainTitleIconDesc(){return this.certainTitleIconDesc}getSwappedParticipants(){return this.swappedParticipants}getLiveTableGoalsForAgainstDiff(){return this.liveTableGoalsForAgainstDiff}getLiveTableScore(){var e=this.liveTableScore;if(!e)return null;var t=e.split(":"),[s,i]=t;return this.getSwappedParticipants()?i+"-"+s:s+"-"+i}getLiveTableScoreDifference(){var e=this.getLiveTableScore();if(!e)return null;var[t,s]=e.split("-");return parseInt(t)-parseInt(s)}isTeamWinning(){var e=this.getLiveTableScoreDifference();return null!==e&&e>0}isTeamLosing(){var e=this.getLiveTableScoreDifference();return null!==e&&e<0}isItADraw(){var e=this.getLiveTableScoreDifference();return null!==e&&0===e}getLiveTableScoreTitle(){return this.liveTableScoreTitle}getLiveTableScoreEventId(){return this.liveTableScoreEventId}getLiveTableScoreHomeIds(){return this.liveTableScoreHomeIds}getLiveTableScoreAwayIds(){return this.liveTableScoreAwayIds}getLiveTableScoreHomeUrl(){return this.liveTableScoreHomeUrl}getLiveTableScoreAwayUrl(){return this.liveTableScoreAwayUrl}serializeColumn(e,t){var s,i=e[t];return{[t]:null!=(s=null==i?void 0:i.renderer)?s:_e.k,[(0,ye.Sj)(t)]:((null==i?void 0:i.sortValueGetter)||(null==i?void 0:i.valueGetter)||(()=>()=>0))(this)}}serialize(e,t){return t.reduce((t,s)=>Le(Le({},t),this.serializeColumn(e,s)),{rowKey:this.getParticipants().map(e=>e.getId()).join()})}}class we{constructor(){this.participantSelected=!1,this.rank=0,this.rankKey="",this.rankColor="",this.participantNames=[],this.participantUrls=[],this.participantIds=[],this.participantCountryIds=[],this.participantCountryNames=[],this.wins=0,this.winsRegular=0,this.winsInOvertime=0,this.winsAfterPenalties=0,this.winsInOvertimeAfterPenalties=0,this.draws=0,this.losses=0,this.lossesRegular=0,this.lossesInOvertime=0,this.lossesAfterPenalties=0,this.lossesInOvertimeAfterPenalties=0,this.overUnderOver=0,this.overUnderUnder=0,this.goalsPerMatch=0,this.htftWinWin=0,this.htftWinDraw=0,this.htftWinLoss=0,this.htftDrawWin=0,this.htftDrawDraw=0,this.htftDrawLoss=0,this.htftLossWin=0,this.htftLossDraw=0,this.htftLossLoss=0,this.againsPercentage=0,this.noResultMatches=0,this.pesapallo3PointMatches=0,this.pesapallo2PointMatches=0,this.pesapallo1PointMatches=0,this.pesapallo0PointMatches=0,this.goalsForAgainstDiff=0,this.pesapalloPointsPerEvent=0,this.cricketWinsWithAbandoned=0,this.matches=0,this.cricketRuns="",this.cricketNetRunRate=0,this.goals="",this.pct=0,this.points=0,this.pointsIncidentMessage="",this.pointsPerMatchesPlayed=0,this.cricketLiveTableWinsWithAbandoned=0,this.liveTableMatches=0,this.cricketLiveTableNetRunRate=0,this.liveTableGoals="",this.liveTablePctOrPoints=0,this.liveTablePositionChange=0,this.liveTableScore="",this.liveTableScoreTitle="",this.liveTableScoreEventId="",this.liveTableScoreHomeIds=[],this.liveTableScoreAwayIds=[],this.liveTableScoreHomeUrl="",this.liveTableScoreAwayUrl="",this.lastMatches=[],this.certainTitleTitle=void 0,this.certainTitleIconDesc=void 0,this.swappedParticipants=void 0,this.liveTableGoalsForAgainstDiff=0}setParticipantSelected(e){return this.participantSelected=e,this}setRank(e){return this.rank=e,this}setRankKey(e){return this.rankKey=e,this}setRankColor(e){return this.rankColor=e,this}setParticipantNames(e){return this.participantNames=e,this}setParticipantIds(e){return this.participantIds=e,this}setParticipantUrls(e){return this.participantUrls=e,this}setParticipantCountryIds(e){return this.participantCountryIds=e,this}setParticipantCountryNames(e){return this.participantCountryNames=e,this}setWins(e){return this.wins=e,this}setWinsRegular(e){return this.winsRegular=e,this}setWinsInOvertime(e){return this.winsInOvertime=e,this}setWinsAfterPenalties(e){return this.winsAfterPenalties=e,this}setWinsInOvertimeAfterPenalties(e){return this.winsInOvertimeAfterPenalties=e,this}setDraws(e){return this.draws=e,this}setLosses(e){return this.losses=e,this}setLossesRegular(e){return this.lossesRegular=e,this}setLossesInOvertime(e){return this.lossesInOvertime=e,this}setLossesAfterPenalties(e){return this.lossesAfterPenalties=e,this}setLossesInOvertimeAfterPenalties(e){return this.lossesInOvertimeAfterPenalties=e,this}setOverUnderOver(e){return this.overUnderOver=e,this}setOverUnderUnder(e){return this.overUnderUnder=e,this}setGoalsPerMatch(e){return this.goalsPerMatch=e,this}setHtftWinWin(e){return this.htftWinWin=e,this}setHtftWinDraw(e){return this.htftWinDraw=e,this}setHtftWinLoss(e){return this.htftWinLoss=e,this}setHtftDrawWin(e){return this.htftDrawWin=e,this}setHtftDrawDraw(e){return this.htftDrawDraw=e,this}setHtftDrawLoss(e){return this.htftDrawLoss=e,this}setHtftLossWin(e){return this.htftLossWin=e,this}setHtftLossDraw(e){return this.htftLossDraw=e,this}setHtftLossLoss(e){return this.htftLossLoss=e,this}setAgainsPercentage(e){return this.againsPercentage=e,this}setNoResultMatches(e){return this.noResultMatches=e,this}setPesapallo3PointMatches(e){return this.pesapallo3PointMatches=e,this}setPesapallo2PointMatches(e){return this.pesapallo2PointMatches=e,this}setPesapallo1PointMatches(e){return this.pesapallo1PointMatches=e,this}setPesapallo0PointMatches(e){return this.pesapallo0PointMatches=e,this}setGoalsForAgainstDiff(e){return this.goalsForAgainstDiff=e,this}setPesapalloPointsPerEvent(e){return this.pesapalloPointsPerEvent=e,this}setCricketWinsWithAbandoned(e){return this.cricketWinsWithAbandoned=e,this}setMatches(e){return this.matches=e,this}setCricketRuns(e){return this.cricketRuns=e,this}setCricketNetRunRate(e){return this.cricketNetRunRate=e,this}setGoals(e){return this.goals=e,this}setPct(e){return this.pct=e,this}setPoints(e){return this.points=e,this}setPointsIncidentMessage(e){return this.pointsIncidentMessage=e,this}setPointsPerMatchesPlayed(e){return this.pointsPerMatchesPlayed=e,this}setCricketLiveTableWinsWithAbandoned(e){return this.cricketLiveTableWinsWithAbandoned=e,this}setLiveTableMatches(e){return this.liveTableMatches=e,this}
1setCricketLiveTableNetRunRate(e){return this.cricketLiveTableNetRunRate=e,this}setLiveTableGoals(e){return this.liveTableGoals=e,this}setLiveTablePctOrPoints(e){return this.liveTablePctOrPoints=e,this}setLiveTablePositionChange(e){return this.liveTablePositionChange=e,this}setLiveTableScore(e){return this.liveTableScore=e,this}setLiveTableScoreTitle(e){return this.liveTableScoreTitle=e,this}setLiveTableScoreEventId(e){return this.liveTableScoreEventId=e,this}setLiveTableScoreHomeIds(e){return this.liveTableScoreHomeIds=e,this}setLiveTableScoreAwayIds(e){return this.liveTableScoreAwayIds=e,this}setLiveTableScoreHomeUrl(e){return this.liveTableScoreHomeUrl=e,this}setLiveTableScoreAwayUrl(e){return this.liveTableScoreAwayUrl=e,this}addLastMatch(e){return this.lastMatches=[...this.lastMatches,e],this}setCertainTitleTitle(e){return this.certainTitleTitle=e,this}setCertainTitleIconDesc(e){return this.certainTitleIconDesc=e,this}setSwappedParticipants(e){return this.swappedParticipants=e,this}setLiveTableGoalsForAgainstDiff(e){return this.liveTableGoalsForAgainstDiff=e,this}build(){var e=this.participantIds.map((e,t)=>(new Oe).setId(e).setUrl(this.participantUrls[t]).setName(this.participantNames[t]).setCountry(this.participantCountryIds[t],this.participantCountryNames[t]).build());return new Ee(this.participantSelected,this.rank,this.rankKey,this.rankColor,e,this.wins,this.winsRegular,this.winsInOvertime,this.winsAfterPenalties,this.winsInOvertimeAfterPenalties,this.draws,this.losses,this.lossesRegular,this.lossesInOvertime,this.lossesAfterPenalties,this.lossesInOvertimeAfterPenalties,this.overUnderOver,this.overUnderUnder,this.goalsPerMatch,this.htftWinWin,this.htftWinDraw,this.htftWinLoss,this.htftDrawWin,this.htftDrawDraw,this.htftDrawLoss,this.htftLossWin,this.htftLossDraw,this.htftLossLoss,this.againsPercentage,this.noResultMatches,this.pesapallo3PointMatches,this.pesapallo2PointMatches,this.pesapallo1PointMatches,this.pesapallo0PointMatches,this.goalsForAgainstDiff,this.pesapalloPointsPerEvent,this.cricketWinsWithAbandoned,this.matches,this.cricketRuns,this.cricketNetRunRate,this.goals,this.pct,this.points,this.pointsIncidentMessage,this.pointsPerMatchesPlayed,this.cricketLiveTableWinsWithAbandoned,this.liveTableMatches,this.cricketLiveTableNetRunRate,this.liveTableGoals,this.liveTablePctOrPoints,this.liveTablePositionChange,this.liveTableScore,this.liveTableScoreTitle,this.liveTableScoreEventId,this.liveTableScoreHomeIds,this.liveTableScoreAwayIds,this.liveTableScoreHomeUrl,this.liveTableScoreAwayUrl,this.lastMatches,this.liveTableGoalsForAgainstDiff,this.certainTitleTitle,this.certainTitleIconDesc,this.swappedParticipants)}}var Re=s(62498),Pe=s(79992);class Ne{constructor(e,t,s,i,r,a,n,l,o,d,h,u,c,T,m,p,g,v,b,S){this.symbol=void 0,this.type=void 0,this.eventIdEncoded=void 0,this.homeParticipantIdEncoded=void 0,this.awayParticipantIdEncoded=void 0,this.eventStageId=void 0,this.homeParticipantName=void 0,this.awayParticipantName=void 0,this.homeScore=void 0,this.homeScoreFullTime=void 0,this.homeScoreAfterExtraTime=void 0,this.homeScorePenalties=void 0,this.awayScore=void 0,this.awayScoreFullTime=void 0,this.awayScoreAfterExtraTime=void 0,this.awayScorePenalties=void 0,this.homeUrl=void 0,this.awayUrl=void 0,this.eventStartTime=void 0,this.switchedParticipants=void 0,this.symbol=e,this.type=t,this.eventIdEncoded=s,this.homeParticipantIdEncoded=i,this.awayParticipantIdEncoded=r,this.eventStageId=a,this.homeParticipantName=n,this.awayParticipantName=l,this.homeScore=o,this.homeScoreFullTime=d,this.homeScoreAfterExtraTime=h,this.homeScorePenalties=u,this.awayScore=c,this.awayScoreFullTime=T,this.awayScoreAfterExtraTime=m,this.awayScorePenalties=p,this.homeUrl=g,this.awayUrl=v,this.eventStartTime=b,this.switchedParticipants=S}getSymbol(){return this.symbol}getType(){return this.type}getEventIdEncoded(){return this.eventIdEncoded}getHomeParticipantIdEncoded(){return this.homeParticipantIdEncoded}getAwayParticipantIdEncoded(){return this.awayParticipantIdEncoded}getEventStageId(){return this.eventStageId}getHomeParticipantName(){return this.homeParticipantName}getAwayParticipantName(){return this.awayParticipantName}getHomeScore(){return this.homeScore}getHomeScoreFullTime(){return this.homeScoreFullTime}getHomeScoreAfterExtraTime(){return this.homeScoreAfterExtraTime}getHomeScorePenalties(){return this.homeScorePenalties}getAwayScore(){return this.awayScore}getAwayScoreFullTime(){return this.awayScoreFullTime}getAwayScoreAfterExtraTime(){return this.awayScoreAfterExtraTime}getAwayScorePenalties(){return this.awayScorePenalties}getHomeUrl(){return this.homeUrl}getAwayUrl(){return this.awayUrl}getEventStartTime(){return this.eventStartTime}hasSwitchedParticipants(){return this.switchedParticipants}}class Ce{constructor(){this.symbol="",this.type=Re.J.UNKNOWN,this.eventIdEncoded="",this.homeParticipantIdEncoded="",this.awayParticipantIdEncoded="",this.eventStageId=Pe.N.UNKNOWN,this.homeParticipantName="",this.awayParticipantName="",this.homeScore="",this.homeScoreFullTime="",this.homeScoreAfterExtraTime="",this.homeScorePenalties="",this.awayScore="",this.awayScoreFullTime="",this.awayScoreAfterExtraTime="",this.awayScorePenalties="",this.homeUrl="",this.awayUrl="",this.eventStartTime=0,this.switchedParticipants=!1}setSymbol(e){return this.symbol=e,this}setType(e){return this.type=e,this}setEventIdEncoded(e){return this.eventIdEncoded=e,this}setHomeParticipantIdEncoded(e){return this.homeParticipantIdEncoded=e,this}setAwayParticipantIdEncoded(e){return this.awayParticipantIdEncoded=e,this}setEventStageId(e){return this.eventStageId=e,this}setHomeParticipantName(e){return this.homeParticipantName=e,this}setAwayParticipantName(e){return this.awayParticipantName=e,this}setHomeScore(e){return this.homeScore=e,this}setHomeScoreFullTime(e){return this.homeScoreFullTime=e,this}setHomeScoreAfterExtraTime(e){return this.homeScoreAfterExtraTime=e,this}setHomeScorePenalties(e){return this.homeScorePenalties=e,this}setAwayScore(e){return this.awayScore=e,this}setAwayScoreFullTime(e){return this.awayScoreFullTime=e,this}setAwayScoreAfterExtraTime(e){return this.awayScoreAfterExtraTime=e,this}setAwayScorePenalties(e){return this.awayScorePenalties=e,this}setHomeUrl(e){return this.homeUrl=e,this}setAwayUrl(e){return this.awayUrl=e,this}setEventStartTime(e){return this.eventStartTime=e,this}setSwitchedParticipants(e){return this.switchedParticipants=e,this}build(){return new Ne(this.symbol,this.type,this.eventIdEncoded,this.homeParticipantIdEncoded,this.awayParticipantIdEncoded,this.eventStageId,this.homeParticipantName,this.awayParticipantName,this.homeScore,this.homeScoreFullTime,this.homeScoreAfterExtraTime,this.homeScorePenalties,this.awayScore,this.awayScoreFullTime,this.awayScoreAfterExtraTime,this.awayScorePenalties,this.homeUrl,this.awayUrl,this.eventStartTime,this.switchedParticipants)}}var De=s(8995);class xe extends Y.M{constructor(e){void 0===e&&(e=!1),super(),this.swappedParticipants=void 0,this.newRowStarted=!1,this.lastImageParticipantId=null,this.lastCountryTypeId=null,this.feedBuilder=void 0,this.imagesBuilder=new me,this.columnDefinitionBuilder=new oe,this.legendBuilder=new ge,this.tableBuilder=null,this.rowBuilder=null,this.lastMatchBuilder=null,this.columnBuilder=null,this.participantUrls={},this.swappedParticipants=e,this.feedBuilder=new ue(this.imagesBuilder,this.columnDefinitionBuilder,this.legendBuilder)}endLastTable(){this.endLastRow(),this.tableBuilder&&(this.feedBuilder.addTable(this.tableBuilder.build()),this.tableBuilder=null)}endLastTableButPreserveItsSettings(){this.endLastRow(),this.tableBuilder&&(this.feedBuilder.addTable(this.tableBuilder.build()),this.tableBuilder.setRows([]),this.tableBuilder.setExtendedType(-1),this.tableBuilder.setExtendedTypeId(-1))}startNewTable(){this.tableBuilder=new Ie,this.lastCountryTypeId&&this.tableBuilder.setCountryTypeId(this.lastCountryTypeId)}endLastRow(){this.endLastLastMatch(),this.tableBuilder&&this.rowBuilder&&(this.tableBuilder.addRow(this.rowBuilder.build()),this.rowBuilder=null)}startNewRow(){this.rowBuilder=new we,this.rowBuilder.setSwappedParticipants(this.swappedParticipants)}endLastLastMatch(){this.rowBuilder&&this.lastMatchBuilder&&(this.rowBuilder.addLastMatch(this.lastMatchBuilder.build()),this.lastMatchBuilder=null)}startNewColumn(){this.columnBuilder=new ne}endLastColumn(){this.columnBuilder&&(this.columnDefinitionBuilder.addColumn(this.columnBuilder.build()),this.columnBuilder=null)}startNewLastMatch(){this.lastMatchBuilder=new Ce}startFeed(){this.imagesBuilder=new me,this.columnDefinitionBuilder=new oe,this.legendBuilder=new ge,this.feedBuilder=new ue(this.imagesBuilder,this.columnDefinitionBuilder,this.legendBuilder)}startRow(){this.newRowStarted=!0}parse(e,t){var s,i,r,a,n,l,o,d,h,u,c,T,m,p,g,v,b,S,I,_,f,A,O,y,L,E,w,R,P,N,C,D,x,M,F,k,B,j,H,W,U,V,G,K,Y,z,Z,J,X,Q,$,ee,te,se,ie,re,ae,ne,le,oe,de,he,ue,ce,Te,me,pe,ge,ve,Se,Ie,_e,fe,Ae,Oe,ye,Le,Ee,we,Re,Pe,Ne,Ce,xe,Me,Fe,ke,Be,je,He,We,Ue,Ve,Ge,Ke;if(this.newRowStarted){switch(e){case q.xhh:case q.L9u:case q.aAZ:case q.Y3I:case q.uZM:case q.kMz:null!=(s=this.tableBuilder)&&s.build().getRows().length&&this.endLastTable(),this.tableBuilder||this.startNewTable();break;case q.dZf:case q.Hvx:null!=(i=this.tableBuilder)&&i.build().getRows().length&&this.endLastTableButPreserveItsSettings(),this.tableBuilder||this.startNewTable();break;case q.wZZ:case q.DLM:case q.yTj:case q.Fys:case q.nE6:case q.$hf:case q.tz3:case q.cf1:case q.qf0:case q.i0A:case q.VDq:case q.SEE:case q.rYU:case q.XXQ:case q.WZ9:case q.q4E:case q.z_z:case q.EZz:case q.bAt:case q.D$j:case q.Xix:case q.$bY:case q.T0M:case q.DHU:case q.n2b:case q.Ov4:case q.NcC:case q.VZP:case q.utG
1:case q.yUT:case q.gfu:case q.tcX:case q.rOw:case q.WLh:case q.VyV:case q.EsZ:case q.Xwh:case q.AHz:case q.R4G:case q.jb3:case q.c4c:case q.eIV:case q.Lzt:case q.PAz:case q.bHf:case q.m10:case q.O4c:case q.Zpi:case q._03:case q.eIv:case q.HX2:case q.kBL:case q.r9z:case q.V9i:case q.QeU:case q.Oms:case q.Uun:case q.Jry:case q.rVU:case q.it3:case q.j__:case q.udZ:case q.jaQ:this.endLastRow(),this.startNewRow();break;case q.ubb:case q.kCT:case q.Rni:case q.k9L:case q.PuE:case q.F9w:case q.Riv:case q.Qnm:case q.iTF:case q.sS8:case q.A5L:case q.Tv3:case q.Htb:case q.BNk:case q.Toh:case q.PKL:case q.agj:case q.jl2:this.endLastLastMatch(),this.startNewLastMatch();break;case q.yLp:case q.sl$:case q.bwd:this.endLastColumn(),this.startNewColumn()}this.newRowStarted=!1}switch(e){case q.pbO:this.lastImageParticipantId=t;break;case q.xl8:this.lastImageParticipantId&&(this.imagesBuilder.addImage(this.lastImageParticipantId,t),this.lastImageParticipantId=null);break;case q.bD2:this.participantUrls=JSON.parse(t);break;case q.Ppf:this.feedBuilder.setMainMenuTrans(t);break;case q.oiq:this.feedBuilder.setSubMenuTrans(t);break;case q.xhh:t&&(null==(r=this.tableBuilder)||r.setCountry(t));break;case q.L9u:t&&(null==(a=this.tableBuilder)||a.setCountryId(this.getNumberValueOf(t)));break;case q.aAZ:t&&(null==(n=this.tableBuilder)||n.setCountryType(t));break;case q.Y3I:if(t){var Ye,ze=this.getNumberValueOf(t);null==(Ye=this.tableBuilder)||Ye.setCountryTypeId(ze),this.lastCountryTypeId=ze}break;case q.uZM:t&&(null==(l=this.tableBuilder)||l.setRoundType(t));break;case q.kMz:t&&(null==(o=this.tableBuilder)||o.setRoundTypeId(this.getNumberValueOf(t)));break;case q.dZf:t&&(null==(d=this.tableBuilder)||d.setExtendedType(this.getFloatValueOf(t)));break;case q.Hvx:t&&(null==(h=this.tableBuilder)||h.setExtendedTypeId(this.getFloatValueOf(t)));break;case q.wZZ:null==(u=this.rowBuilder)||u.setParticipantSelected(this.getBooleanValueOf(t));break;case q.DLM:null==(c=this.rowBuilder)||c.setRank(this.getNumberValueOf(t));break;case q.yTj:null==(T=this.rowBuilder)||T.setRankKey(t);break;case q.Fys:null==(m=this.rowBuilder)||m.setRankColor(t);break;case q.nE6:null==(p=this.rowBuilder)||p.setParticipantNames(this.getStringArray(t));break;case q.$hf:null==(g=this.rowBuilder)||g.setParticipantIds(this.getStringArray(t));break;case q.tz3:null==(v=this.rowBuilder)||v.setParticipantUrls(this.getStringArray(t));break;case q.cf1:null==(b=this.rowBuilder)||b.setParticipantCountryIds(this.getNumberValuesOf(t));break;case q.qf0:null==(S=this.rowBuilder)||S.setParticipantCountryNames(this.getStringArray(t));break;case q.i0A:null==(I=this.rowBuilder)||I.setWins(this.getNumberValueOf(t));break;case q.VDq:null==(_=this.rowBuilder)||_.setWinsRegular(this.getNumberValueOf(t));break;case q.SEE:null==(f=this.rowBuilder)||f.setWinsInOvertime(this.getNumberValueOf(t));break;case q.rYU:null==(A=this.rowBuilder)||A.setWinsAfterPenalties(this.getNumberValueOf(t));break;case q.XXQ:null==(O=this.rowBuilder)||O.setWinsInOvertimeAfterPenalties(this.getNumberValueOf(t));break;case q.WZ9:null==(y=this.rowBuilder)||y.setDraws(this.getNumberValueOf(t));break;case q.q4E:null==(L=this.rowBuilder)||L.setLosses(this.getNumberValueOf(t));break;case q.z_z:null==(E=this.rowBuilder)||E.setLossesRegular(this.getNumberValueOf(t));break;case q.EZz:null==(w=this.rowBuilder)||w.setLossesInOvertime(this.getNumberValueOf(t));break;case q.bAt:null==(R=this.rowBuilder)||R.setLossesAfterPenalties(this.getNumberValueOf(t));break;case q.D$j:null==(P=this.rowBuilder)||P.setLossesInOvertimeAfterPenalties(this.getNumberValueOf(t));break;case q.Xix:null==(N=this.rowBuilder)||N.setOverUnderOver(this.getNumberValueOf(t));break;case q.$bY:null==(C=this.rowBuilder)||C.setOverUnderUnder(this.getNumberValueOf(t));break;case q.T0M:null==(D=this.rowBuilder)||D.setGoalsPerMatch(this.getFloatValueOf(t));break;case q.DHU:null==(x=this.rowBuilder)||x.setHtftWinWin(this.getNumberValueOf(t));break;case q.n2b:null==(M=this.rowBuilder)||M.setHtftWinDraw(this.getNumberValueOf(t));break;case q.Ov4:null==(F=this.rowBuilder)||F.setHtftWinLoss(this.getNumberValueOf(t));break;case q.NcC:null==(k=this.rowBuilder)||k.setHtftDrawWin(this.getNumberValueOf(t));break;case q.VZP:null==(B=this.rowBuilder)||B.setHtftDrawDraw(this.getNumberValueOf(t));break;
1case q.utG:null==(j=this.rowBuilder)||j.setHtftDrawLoss(this.getNumberValueOf(t));break;case q.yUT:null==(H=this.rowBuilder)||H.setHtftLossWin(this.getNumberValueOf(t));break;case q.gfu:null==(W=this.rowBuilder)||W.setHtftLossDraw(this.getNumberValueOf(t));break;case q.tcX:null==(U=this.rowBuilder)||U.setHtftLossLoss(this.getNumberValueOf(t));break;case q.rOw:null==(V=this.rowBuilder)||V.setAgainsPercentage(this.getFloatValueOf(t));break;case q.WLh:null==(G=this.rowBuilder)||G.setNoResultMatches(this.getNumberValueOf(t));break;case q.VyV:null==(K=this.rowBuilder)||K.setPesapallo3PointMatches(this.getNumberValueOf(t));break;case q.EsZ:null==(Y=this.rowBuilder)||Y.setPesapallo2PointMatches(this.getNumberValueOf(t));break;case q.Xwh:null==(z=this.rowBuilder)||z.setPesapallo1PointMatches(this.getNumberValueOf(t));break;case q.AHz:null==(Z=this.rowBuilder)||Z.setPesapallo0PointMatches(this.getNumberValueOf(t));break;case q.R4G:null==(J=this.rowBuilder)||J.setGoalsForAgainstDiff(this.getNumberValueOf(t));break;case q.jb3:null==(X=this.rowBuilder)||X.setPesapalloPointsPerEvent(this.getFloatValueOf(t));break;case q.c4c:case q.eIV:null==(Q=this.rowBuilder)||Q.setCricketWinsWithAbandoned(this.getNumberValueOf(t)),null==($=this.rowBuilder)||$.setMatches(this.getNumberValueOf(t));break;case q.Lzt:null==(ee=this.rowBuilder)||ee.setCricketRuns(t);break;case q.PAz:case q.bHf:null==(te=this.rowBuilder)||te.setCricketNetRunRate(this.getNumberValueOf(t)),null==(se=this.rowBuilder)||se.setGoals(t);break;case q.m10:null==(ie=this.rowBuilder)||ie.setPct(this.getFloatValueOf(t));break;case q.O4c:null==(re=this.rowBuilder)||re.setPoints(this.getFloatValueOf(t));break;case q.Zpi:null==(ae=this.rowBuilder)||ae.setPointsIncidentMessage(t);break;case q._03:null==(ne=this.rowBuilder)||ne.setPointsPerMatchesPlayed(this.getFloatValueOf(t));break;case q.it3:case q.eIv:null==(le=this.rowBuilder)||le.setCricketLiveTableWinsWithAbandoned(this.getNumberValueOf(t)),null==(oe=this.rowBuilder)||oe.setLiveTableMatches(this.getNumberValueOf(t));break;case q.j__:case q.HX2:null==(de=this.rowBuilder)||de.setCricketLiveTableNetRunRate(this.getNumberValueOf(t)),null==(he=this.rowBuilder)||he.setLiveTableGoals(t);break;case q.kBL:null==(ue=this.rowBuilder)||ue.setLiveTablePctOrPoints(this.getNumberValueOf(t));break;case q.r9z:null==(ce=this.rowBuilder)||ce.setLiveTablePositionChange(this.getNumberValueOf(t));break;case q.rVU:null==(Te=this.rowBuilder)||Te.setLiveTableGoalsForAgainstDiff(this.getNumberValueOf(t));break;case q.jaQ:null==(me=this.rowBuilder)||me.setCertainTitleTitle(t);break;case q.udZ:null==(pe=this.rowBuilder)||pe.setCertainTitleIconDesc(this.getBooleanValueOf(t));break;case q.V9i:null==(ge=this.rowBuilder)||ge.setLiveTableScore(t);break;case q.QeU:null==(ve=this.rowBuilder)||ve.setLiveTableScoreTitle(t);break;case q.Oms:null==(Se=this.rowBuilder)||Se.setLiveTableScoreEventId(t);break;case q.Uun:var Ze,qe,Je,Xe=this.getStringArray(t);if(null==(Ze=this.rowBuilder)||Ze.setLiveTableScoreHomeIds(Xe),1===Xe.length)null==(qe=this.rowBuilder)||qe.setLiveTableScoreHomeUrl(null!=(Je=this.participantUrls[t])?Je:"");break;case q.Jry:var Qe,$e,et,tt=this.getStringArray(t);if(null==(Qe=this.rowBuilder)||Qe.setLiveTableScoreAwayIds(tt),1===tt.length)null==($e=this.rowBuilder)||$e.setLiveTableScoreAwayUrl(null!=(et=this.participantUrls[t])?et:"");break;case q.ubb:null==(Ie=this.lastMatchBuilder)||Ie.setSymbol(t);break;case q.kCT:null==(_e=this.lastMatchBuilder)||_e.setType((0,De.I)(t));break;case q.Rni:null==(fe=this.lastMatchBuilder)||fe.setEventIdEncoded(t);break;case q.k9L:null==(Ae=this.lastMatchBuilder)||Ae.setHomeParticipantIdEncoded(t),null==(Oe=this.lastMatchBuilder)||Oe.setHomeUrl(null!=(ye=this.participantUrls[t])?ye:"");break;case q.PuE:null==(Le=this.lastMatchBuilder)||Le.setAwayParticipantIdEncoded(t),null==(Ee=this.lastMatchBuilder)||Ee.setAwayUrl(null!=(we=this.participantUrls[t])?we:"");break;case q.F9w:null==(Re=this.lastMatchBuilder)||Re.setEventStartTime(this.getNumberValueOf(t));break;case q.Riv:null==(Pe=this.lastMatchBuilder)||Pe.setEventStageId(this.getNumberValueOf(t));break;case q.Qnm:null==(Ne=this.lastMatchBuilder)||Ne.setHomeScore(t);break;case q.iTF:null==(Ce=this.lastMatchBuilder)||Ce.setHomeScoreFullTime(t);break;case q.sS8:null==(xe=this.lastMatchBuilder)||xe.setHomeScoreAfterExtraTime(t);break;case q.A5L:null==(Me=this.lastMatchBuilder)||Me.setHomeScorePenalties(t);break;case q.Tv3:null==(Fe=this.lastMatchBuilder)||Fe.setAwayScore(t);break;case q.Htb:null==(ke=this.lastMatchBuilder)||ke.setAwayScoreFullTime(t);break;case q.BNk:null==(Be=this.lastMatchBuilder)||Be.setAwayScoreAfterExtraTime(t);break;case q.Toh:null==(je=this.lastMatchBuilder)||je.setAwayScorePenalties(t);break;case q.PKL:null==(He=this.lastMatchBuilder)||He.setHomeParticipantName(t);break;case q.agj:null==(We=this.lastMatchBuilder)||We.setAwayParticipantName(t);break;case q.jl2:null==(Ue=this.lastMatchBuilder)||Ue.setSwitchedParticipants(this.getBooleanValueOf(t));break;case q.yLp:null==(Ve=this.columnBuilder)||Ve.setId(this.getNumberValueOf(t));break;case q.sl$:null==(Ge=this.columnBuilder)||Ge.setName(t);break;
1case q.bwd:null==(Ke=this.columnBuilder)||Ke.setTitle(t);break;case q.RMU:var[st,it,rt]=this.getStringArray(t);this.legendBuilder.addRankLegend((new be).setKey(st).setText(it).setColor(rt).build());break;case q.QMD:this.legendBuilder.addExtraInfoText(t);break;case q.Jp2:this.legendBuilder.setInfoText(this.getStringArray(t))}}endFeed(){this.endLastTable(),this.endLastColumn()}getParsedModel(){return this.feedBuilder.build()}}var Me=s(19092),Fe=s(92814);class ke{constructor(e,t,geoIpStorage,s,i,r,a){var n;void 0===a&&(a=!1),this.fetcher=void 0,this.config=void 0,this.eventSource=void 0,this.isStandings=void 0,this.utilString=void 0,this.topScorersFeedParser=void 0,this.tournamentTableFeedParser=void 0,this.standingsTabFeedUpdatersByTournamentStageId={},this.tournamentTableFeedUpdater=void 0,this.trans=void 0,this.detailOpenerBuilder=void 0,this.tooltip=null,this.date=void 0,this.timezone=void 0,this.feedNameComposer=void 0,this.geoIpResolver=void 0,this.boxOverContentManager=void 0,this.boxOverContentHandler=void 0,this.persistentStorage=void 0,this.eventTitleFormatter=void 0,this.getGmtOffset=()=>(0,M.S)(this.timezone.getActualTimezone()),this.fetcher=e,this.config=t,this.eventSource=i,this.isStandings=a,this.utilString=new C.r(t.getCharset(),t.getLanguage()),this.feedNameComposer=new o(t.getProjectTypeId(),t.getStats2Config().tournament,t.getEventId()),this.topScorersFeedParser=new de(this.utilString),this.tournamentTableFeedParser=new xe(t.getSwappedParticipants().isSwapped),this.date=s||new V.S(this.config.getIsUsTimeFormate(),{getGmtOffset:()=>this.getGmtOffset,getGmtOffsetDiff:this.getGmtOffsetDiff,getSudate:()=>0}),this.timezone=r||(new w.K).initTimezone(this.date),this.geoIpResolver=new B.Z(geoIpStorage,e,new j.E(new U.P(t.getProjectTypeId()),null!=(n=t.getEventId())?n:"",t.getLanguage(),t.getProjectTypeId(),this.timezone).getGeoIpFeed()),this.tournamentTableFeedUpdater=new N(e),this.trans=new L.V(t.getTransConfig()),this.detailOpenerBuilder=new E.Q(this.trans).setUrlPrefix(this.config.getUrlPrefix()||"").setIsIos(this.isIos()).setOpenInPopup(this.config.getOpenDetailInPopup()).setSportUrl(t.getSportUrl()),this.persistentStorage=new K.z,this.boxOverContentHandler=new W.j,this.boxOverContentManager=new H.G(this.boxOverContentHandler,this.isMobile()),this.eventTitleFormatter=new Me.l(this.trans),this.initializeStandingsTabFeedUpdaters(t,e)}getUtilString(){return this.utilString}getFeedNameComposer(){return this.feedNameComposer}getTopScorersFeedParser(){return this.topScorersFeedParser}getTournamentTableFeedParser(){return this.tournamentTableFeedParser}getStandingsTabFeedUpdaterByTournamentStageId(e){return this.standingsTabFeedUpdatersByTournamentStageId[e]}getTournamentTableFeedUpdater(){return this.tournamentTableFeedUpdater}getDrawFetcher(e){return new k(this.feedNameComposer.getDrawTab(e),this.fetcher)}getTrans(){return this.trans}getDetailOpenerBuilder(){return this.detailOpenerBuilder}getTooltip(){return this.tooltip||(this.tooltip=new y.A),this.tooltip}getDate(){return this.date}getDateFormat(){return G.n.get(G.$.FULL_DATE_DI,this.config.getIsUsTimeFormate())}getGmtOffsetDiff(){var e=60*(new Date).getTimezoneOffset();return this.getGmtOffset()-e}isMobile(){return(0,D.F)()}isIos(){return(0,x.a)()}getEventSource(){return this.eventSource}getGeoIpResolver(){return this.geoIpResolver}getBoxOverContentManager(){return this.boxOverContentManager}getBoxOverContentHandler(){return this.boxOverContentHandler}getEventTitleFormatter(){return this.eventTitleFormatter}initializeStandingsTabFeedUpdaters(e,t){(e.getTournamentStageGroups().stages.length>0?e.getTournamentStageGroups().stages.map(e=>e.id):[e.getStats2Config().tournamentStage]).forEach(e=>{this.standingsTabFeedUpdatersByTournamentStageId[e]=function(e,t,s){var i=new f.Z,r=new b.Q(e.getStandingsTabs(s),t,i);return new O(r)}(this.feedNameComposer,t,e)})}isIndexedDetailAllowed(){return![Fe.h.CRICKET,Fe.h.GOLF,Fe.h.MOTORSPORT_MOTO_RACING].includes(this.config.getSportId())}getIsStandings(){return this.isStandings}getSportId(){return this.config.getSportId()}}var Be=s(51821),je=s(85755),He=s(4235),We=s(40535);var Ue=a.createContext(null);function Ve(e){var{children:t,tournamentTableDIParams:s}=e,i=new ke(...s),a=new Be.O(window);return(0,r.jsx)(Ue.Provider,{value:new n(i,s[1],a),children:t})}function Ge(){var e=(0,a.useContext)(Ue);
1if(null===e)throw new Error("Tournament table environment context was not initialized.");return e}function Ke(){var e,t=(0,i.c)(2),s=Ge();return t[0]!==s?(e=s.getConfig(),t[0]=s,t[1]=e):e=t[1],e}function Ye(){var e,t=(0,i.c)(2),s=Ge();return t[0]!==s?(e=s.getDI(),t[0]=s,t[1]=e):e=t[1],e}function ze(){var e,t=(0,i.c)(2),s=Ge();return t[0]!==s?(e=s.getServerRender(),t[0]=s,t[1]=e):e=t[1],e}function Ze(){var e,t=(0,i.c)(5),s=Ye(),r=(0,je.U)();t[0]!==s?(e=()=>s.getGeoIpResolver().getGeoIp(),t[0]=s,t[1]=e):e=t[1];var a,n=(0,He.sj)(e);return n?(t[2]!==r||t[3]!==n?(a=function(e,t){var s,i=(0,We.F)(e.app.legal_age_confirmation,null!=(s=t.getGlobalGeoIp())?s:"");return i.mustBeConfirmed()?i.isConfirmed():null}(r,n),t[2]=r,t[3]=n,t[4]=a):a=t[4],!1!==a):null}},76625(e,t,s){s.d(t,{i:()=>o,d:()=>l});var i=s(16522),r=s(96540);var a=s(4752),n=s(88301);function l(e,t){var s,r=(0,i.c)(4),{setShowMobileResolver:n}=(0,a.Wz)();return r[0]!==t||r[1]!==e||r[2]!==n?(s=s=>{t||n(s<=e)},r[0]=t,r[1]=e,r[2]=n,r[3]=s):s=r[3],d(s)}function o(e){var t,s=(0,i.c)(3),[a,n]=(0,r.useState)(0),l=d(n,e);return s[0]!==a||s[1]!==l?(t=[l,a],s[0]=a,s[1]=l,s[2]=t):t=s[2],t}function d(e,t){void 0===t&&(t=[]);var s=(0,r.useRef)(null),i=(0,r.useCallback)(()=>{return e(null===(t=s.current)?0:t.getBoundingClientRect().width);var t},[e]);return(0,r.useEffect)(i,[s.current,...t]),(0,n.M)("resize",i,window),s}},50163(e,t,s){s.d(t,{c:()=>l});var i=s(16522),r=s(96540),a=s(39031),n=s(97131);function l(e){return function(e,t){var s,a,l=(0,i.c)(4),o=(0,n.useDI)().getStandingsTabFeedUpdaterByTournamentStageId(e),[d,h]=r.useState(o.getCurrentValueOf(t));return l[0]!==t||l[1]!==o?(s=()=>{h(o.getCurrentValueOf(t));var e=o.subscribe(t,h);return()=>e.unsubscribe()},a=[t,o],l[0]=t,l[1]=o,l[2]=s,l[3]=a):(s=l[2],a=l[3]),r.useEffect(s,a),d}(e,a.c.AVAILABLE_TABLES)}},18896(e,t,s){s.d(t,{o:()=>r});var i=s(39031);class r{constructor(e){this.hashes=void 0,this.hashes=e}getRawFeed(){return this.hashes}getAvailableTables(){return this.hashes[i.c.AVAILABLE_TABLES]}}},5387(e,t,s){s.d(t,{WZ:()=>n,N9:()=>r});class i{constructor(e,t,s){this.label=void 0,this.option=void 0,this.valueToSortBy=void 0,this.label=e,this.option=t,this.valueToSortBy=s}getLabel(){return this.label}getOption(){return this.option}getValueToSortBy(){return this.valueToSortBy}}var r=Object.freeze({TEAM_NAME:"team_name",NATIONALITY:"nationality",POSITION:"position"});class a{constructor(e,t,s){this.label=void 0,this.type=void 0,this.options=void 0,this.label=e,this.type=t,this.options=s}getLabel(){return this.label}getType(){return this.type}getOptions(){return this.options}}class n{constructor(utilString){this.utilString=void 0,this.label="",this.type="",this.utilString=utilString}setLabel(e){return this.label=e,this}setType(e){return this.type=e,this}createOptionsFromTopScorers(e){return e.map(e=>{switch(this.type){case r.TEAM_NAME:return new i(e.getTeamName(),e.getPlayerTeamId(),e.getTeamName());case r.NATIONALITY:return new i(e.getPlayerCountryName(),String(e.getPlayerCountryId()),e.getPlayerCountryName());case r.POSITION:return new i(e.getPlayerPositionName(),e.getPlayerPositionName(),String(e.getPlayerPositionOrder()))}}).filter(e=>e.getLabel()&&e.getOption()).filter((e,t,s)=>s.map(e=>e.getOption()).indexOf(e.getOption())===t).sort((e,t)=>this.utilString.compare(e.getValueToSortBy()||"",t.getValueToSortBy()||""))}build(e){return new a(this.label,this.type,this.createOptionsFromTopScorers(e))}}},39031(e,t,s){s.d(t,{Z:()=>n,c:()=>a});var i=s(18896),r=s(49660),a=Object.freeze({AVAILABLE_TABLES:"TB",ADVANCED_HASH:"SD",STREAKS_HASH:"SG",TOP_SCORERS_HASH:"SJ",OVERALL_HASH:"SA",OVERALL_FORM_HASH:"SE",OVERALL_OVER_UNDER_HASH:"SF",OVERALL_HALF_TIME_FULL_TIME_HASH:"SM",OVERALL_LIVE_HASH:"ST",HOME_HASH:"SB",HOME_FORM_HASH:"SH",HOME_OVER_UNDER_HASH:"SK",HOME_HALF_TIME_FULL_TIME_HASH:"SN",AWAY_HASH:"SC",AWAY_FORM_HASH:"SI",AWAY_OVER_UNDER_HASH:"SL",AWAY_HALF_TIME_FULL_TIME_HASH:"SO"});class n extends r.M{constructor(){super(...arguments),this.hashes={}}startFeed(){this.hashes={}}parse(e,t){this.hashes[e]=t}getParsedModel(){return new i.o(this.hashes)}}},476(e,t,s){function i(){for(var e=arguments.length,t=new Array(e),s=0;s<e;s++)t[s]=arguments[s];return t.filter(e=>void 0!==e).join("-")}function r(e,t){return{type:"sortTableBy",tableId:t.toString(),column:e}}s.d(t,{M:()=>i,e:()=>r})},12536(e,t,s){s.d(t,{j:()=>o});var i=s(74848),r=(s(96540),s(62297)),a=s(58808),n=["scorer","getter","columnId","className"];function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var i in s)({}).hasOwnProperty.call(s,i)&&(e[i]=s[i])}return e},l.apply(null,arguments)}var o=e=>{var{scorer:t,getter:s,columnId:o,className:d}=e,h=function(e,t){if(null==e)return{};var s={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;s[i]=e[i]}return s}
1(e,n),u=void 0===d?"":d,{accessor:c}=(0,r.q2)(a.w.TOP_SCORERS.id);return(0,i.jsx)("span",l(l({className:u+" topScorers__cell "+(c===o?"topScorers__cell--sorting":"")},h),{},{children:s(t)}))}},34360(e,t,s){s.d(t,{j:()=>m,v:()=>p});var i=s(16522),r=s(74848),a=(s(96540),s(30041)),n=s(90927),l=s(97131);function o(e){var t,s=(0,i.c)(23),{filter:o}=e,u=(0,n.Xf)(),c=(0,n.a)(),T=(0,l.useDI)();s[0]!==T?(t=T.getUtilString(),s[0]=T,s[1]=t):t=s[1];var p,g,v,b,utilString=t;(s[2]!==o?(p=o.getLabel(),s[2]=o,s[3]=p):p=s[3],s[4]!==p?(g={value:m,label:p},s[4]=p,s[5]=g):g=s[5],s[6]!==o||s[7]!==g||s[8]!==utilString)?(s[10]!==utilString?(b=(e,t)=>utilString.compare(e.getValueToSortBy()||"",t.getValueToSortBy()||""),s[10]=utilString,s[11]=b):b=s[11],v=[g,...[...o.getOptions()].sort(b).map(h)],s[6]=o,s[7]=g,s[8]=utilString,s[9]=v):v=s[9];var S,I,_=v;s[12]!==o||s[13]!==c.filters?(S=null!=(I=c.filters[o.getType()])?I:m,s[12]=o,s[13]=c.filters,s[14]=S):S=s[14];var f,A=S;if(s[15]!==u||s[16]!==o||s[17]!==A||s[18]!==_){var O,y,L=_.find(e=>A===e.value);s[20]!==u||s[21]!==o?(y=e=>u(function(e,t){return{type:"filter",filterName:e,filterValue:t}}(o.getType(),e)),s[20]=u,s[21]=o,s[22]=y):y=s[22];var E=y;f=(0,r.jsx)(a.l6P,{value:A,selectButton:(0,r.jsx)(a.JCQ,{asPlaceholder:A===m,size:"xsmall",appearance:"solid",children:null!=(O=null==L?void 0:L.label)?O:""}),onChange:E,children:_.map(d)}),s[15]=u,s[16]=o,s[17]=A,s[18]=_,s[19]=f}else f=s[19];return f}function d(e){return(0,r.jsx)(a.kst,{value:e.value,children:e.label},e.value)}function h(e){return{value:e.getOption(),label:e.getLabel()}}var u=s(4752),c=s(76625),T=s(65150),m="-1";function p(e){var t,s=(0,i.c)(4),{filters:a}=e,{showMobileResolver:n}=(0,u.Wz)(),l=(0,c.d)(500,!1);if(s[0]!==a||s[1]!==l||s[2]!==n){var o=a.map(g);t=(0,r.jsx)("div",{ref:l,className:"topScorers__dropDowns "+(n?"topScorers__dropDowns--showResolvers":""),children:n?(0,r.jsx)(v,{children:o}):o}),s[0]=a,s[1]=l,s[2]=n,s[3]=t}else t=s[3];return t}function g(e){return(0,r.jsx)(o,{filter:e},e.getType())}var v=e=>{var t,s=(0,i.c)(7),{children:n}=e,{showFilters:l,setShowFilters:o}=(0,u.Ze)();s[0]!==o||s[1]!==l?(t=()=>o(!l),s[0]=o,s[1]=l,s[2]=t):t=s[2];var d,h=t;return s[3]!==n||s[4]!==l||s[5]!==h?(d=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{onClick:h,onKeyPress:h,className:"topScorersFilter",role:"button",tabIndex:0,children:l?(0,r.jsx)(a.Int,{id:"action-navigation-close",className:"topScorers__closeButton"}):(0,r.jsx)(T.YG,{enabled:!0,title:""})}),l&&(0,r.jsx)("div",{className:"topScorersFilter__dropdowns",children:n})]}),s[3]=n,s[4]=l,s[5]=h,s[6]=d):d=s[6],d}},60304(e,t,s){s.d(t,{Z:()=>m,c:()=>T});var i=s(16522),r=s(74848),a=(s(96540),s(98429)),n=s(62297),l=s(58808),o=s(92814),d=s(97131),h=s(76625),u=s(93710),c=[o.h.FLOORBALL],T=120,m=e=>{var t,s=(0,i.c)(10),{scorer:o,columnId:m}=e,p=(0,d.useConfig)();if(s[0]!==p){var g=p.getSportId();t=c.includes(g),s[0]=p,s[1]=t}else t=s[1];var v,b=!t,{accessor:S}=(0,n.q2)(l.w.TOP_SCORERS.id),[I,_]=(0,h.i)(),f=(0,d.useConfig)();if(s[2]!==S||s[3]!==m||s[4]!==b||s[5]!==I||s[6]!==o||s[7]!==f||s[8]!==_){var A=f.getShouldOpenOnCurrentTab();v=(0,r.jsx)("div",{ref:I,className:"topScorers__participantCell topScorers__participantCell--player "+(S===m?"topScorers__cell--sorting":"")+" "+(_&&_<=T?"topScorers__cell--participantShadow":""),children:b?(0,r.jsxs)("a",{className:"topScorersParticipant topScorersParticipant--clickable",href:o.getPlayerUrl(),target:(0,u.j)(A),children:[(0,r.jsx)(a.i,{title:o.getPlayerCountryName(),countryId:String(o.getPlayerCountryId())}),o.getPlayerName()]}):(0,r.jsxs)("div",{className:"topScorersParticipant",children:[(0,r.jsx)(a.i,{title:o.getPlayerCountryName(),countryId:String(o.getPlayerCountryId())}),o.getPlayerName()]})}),s[2]=S,s[3]=m,s[4]=b,s[5]=I,s[6]=o,s[7]=f,s[8]=_,s[9]=v}else v=s[9];return v}},28633(e,t,s){s.d(t,{zr:()=>_,vO:()=>A,kp:()=>P,Sj:()=>f});var i=s(16522),r=s(74848),a=(s(96540),s(90927)),n=s(39888),l=s(86370),o=s(16102),d=s(5387),h=s(34360),u=s(93972),c=s(62297),T=s(476),m=s(58808);function p(e){switch(e){case o.B.RANK:return"topScorers__headerCell topScorers__headerCell--rank";case o.B.PLAYER_ID:return"topScorers__headerCell topScorers__headerCell--player";case o.B.TEAM_ID:return"topScorers__headerCell topScorers__headerCell--team";case o.B.GOALS_FOR:return"topScorers__headerCell topScorers__headerCell--goals";case o.B.POINTS:return"topScorers__headerCell topScorers__headerCell--points";default:return"topScorers__headerCell"}}var g=s(97131),v=s(63799),b=s(83853),S=["sortAsc"];function I(){return I=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var i in s)({}).hasOwnProperty.call(s,i)&&(e[i]=s[i])}return e},I.apply(null,arguments)}var _=50,f=e=>e+"ValueToSortBy";function A(e){var t,s=(0,i.c)(5),{filters:l,topScorers:h,columnDefinition:p}=e,{filters:A}=(0,a.a)(),{showMore:R}=(0,u.B)(),D=(0,g.useConfig)().getAllParticipantIds(),utilString=(0,g.useDI)().getUtilString(),x=(0,c.q2)(m.w.TOP_SCORERS.id),M=(0,c.eh)();s[0]!==M?(t=(e,t)=>
1{M((0,T.e)(I(I({},e),{},{sortAsc:t}),m.w.TOP_SCORERS.id))},s[0]=M,s[1]=t):t=s[1];var F,k=t,B=p.getColumns().map(w),j=p.getColumns().map(E),H=h.filter(N(A[d.N9.TEAM_NAME],L)).filter(N(A[d.N9.NATIONALITY],y)).filter(N(A[d.N9.POSITION],O)),W={sortByAccessor:x.sortValueAccessor,sortAsc:x.sortAsc,fallbackAccessorsToSortBy:[{sortByAccessor:f(o.B.RANK),sortAsc:!0},{sortByAccessor:f(o.B.PLAYER_ID),sortAsc:!0}]};return s[2]!==A||s[3]!==R?(F=(e,t)=>!(!R&&P(A))||t<_,s[2]=A,s[3]=R,s[4]=F):F=s[4],(0,r.jsx)(b.L,{breakpoint:(0,g.useConfig)().getMobileBreakpoint(),children:(0,r.jsxs)("div",{className:"topScorers__tableWrapper",children:[(0,r.jsx)(n.X,{columns:B,onSort:k,sort:W,data:H.map(e=>{var t=e.serialize(j);return I(I(I({},t),j.reduce(C(t,e),{})),{},{className:"topScorers__row "+(e.getActiveParticipant()||D.includes(e.getPlayerTeamId())?"topScorers__row--selected":"")})}).sort((0,v.DJ)([{sortByAccessor:W.sortByAccessor,sortAsc:W.sortAsc},...W.fallbackAccessorsToSortBy.map(e=>{var{sortAsc:t}=e;return I(I({},function(e,t){if(null==e)return{};var s={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;s[i]=e[i]}return s}(e,S)),{},{sortAsc:(0,v.XX)(B,W.sortAsc,W.sortByAccessor)?t:!t})})],(e,t)=>utilString.compare(e,t))).filter(F),arrowOnlyForSortingColumn:!0}),!H.length&&(0,r.jsx)("div",{className:"topScorers__emptyRow",children:l.getNoResultText()})]})})}function O(e){return e.getPlayerPositionName()}function y(e){return String(e.getPlayerCountryId())}function L(e){return e.getPlayerTeamId()}function E(e){return e.getId()}function w(e){var t;return{name:e.getName(),title:e.getTitle(),accessor:e.getId(),style:p(e.getId()),sortable:null==(t=l.v[e.getId()].sortable)||t,onFirstClickSortAsc:l.v[e.getId()].onFirstClickSortAsc,sortValueAccessor:f(e.getId())}}var R=e=>void 0===e||e===h.j,P=e=>R(e[d.N9.TEAM_NAME])&&R(e[d.N9.NATIONALITY])&&R(e[d.N9.POSITION]),N=(e,t)=>s=>!!R(e)||t(s)===e,C=(e,t)=>(s,i)=>{var a=e[i];return a?I(I({},s),{},{[i]:(0,r.jsx)(a,{getter:l.v[i].valueGetter,scorer:t,columnId:i},i)}):s}},86370(e,t,s){s.d(t,{v:()=>S});var i=s(16102),r=s(74848),a=(s(96540),s(12536));function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var i in s)({}).hasOwnProperty.call(s,i)&&(e[i]=s[i])}return e},n.apply(null,arguments)}var l=e=>(0,r.jsx)(a.j,n({className:"topScorers__cell topScorers__cell--gray"},e)),o=s(60304),d=s(16522),h=s(62297),u=s(58808),c=s(97131),T=s(83853),m=s(93710),p=["getter"];function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var i in s)({}).hasOwnProperty.call(s,i)&&(e[i]=s[i])}return e},g.apply(null,arguments)}function v(){return v=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var i in s)({}).hasOwnProperty.call(s,i)&&(e[i]=s[i])}return e},v.apply(null,arguments)}function b(){return b=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var i in s)({}).hasOwnProperty.call(s,i)&&(e[i]=s[i])}return e},b.apply(null,arguments)}var S={[i.B.RANK]:{valueGetter:e=>e.getRank(),renderer:e=>{var{getter:t}=e,s=function(e,t){if(null==e)return{};var s={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;s[i]=e[i]}return s}(e,p);return(0,r.jsx)(a.j,g({className:"topScorers__cell--rank",getter:function(){return t(...arguments)+"."}},s))},onFirstClickSortAsc:!0},[i.B.PLAYER_ID]:{valueGetter:e=>e.getPlayerName(),renderer:o.Z,onFirstClickSortAsc:!0},[i.B.TEAM_ID]:{valueGetter:e=>e.getTeamName(),renderer:e=>{var t=(0,d.c)(2),{scorer:s,columnId:i}=e,{accessor:a}=(0,h.q2)(u.w.TOP_SCORERS.id),n=(0,c.useConfig)().getShouldOpenOnCurrentTab(),l=(0,T.i)();if(!s.getPlayerTeamId()){var o,p="topScorers__participantCell--withoutTeam "+(a===i?"topScorers__cell--sorting":"");return t[0]!==p?(o=(0,r.jsx)("div",{className:p}),t[0]=p,t[1]=o):o=t[1],o}return(0,r.jsx)("div",{className:"topScorers__participantCell "+(a===i?"topScorers__cell--sorting":""),children:(0,r.jsx)("a",{href:s.getPlayerTeamUrl(),target:(0,m.j)(n),className:"topScorersParticipant topScorersParticipant--clickable",children:l?s.getTeamName3Char():s.getTeamName()})})},onFirstClickSortAsc:!0},[i.B.POINTS]:{valueGetter:e=>e.getPoints(),renderer:e=>(0,r.jsx)(a.j,b({className:"topScorers__cell topScorers__cell--points"},e))},[i.B.GOALS_FOR]:{valueGetter:e=>e.getGoals(),renderer:e=>(0,r.jsx)(a.j,v({className:"topScorers__cell topScorers__cell--goals"},e))},[i.B.ASSISTS]:{valueGetter:e=>e.getAssists(),renderer:l},[i.B.ASSISTS_2]:{valueGetter:e=>e.getAssists2(),renderer:l}}},85874(e,t,s){s.d(t,{k:()=>d});var i=s(16522),r=s(74848),a=(s(96540),s(9820)),n=s(62297),l=["row","getter","deps","columnId","className"];function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var i in s)({}).hasOwnProperty.call(s,i)&&(e[i]=s[i])}return e},o.apply(null,arguments)}var d=e=>{var t,s=(0,i.c)(2),{row:d,getter:h,deps:u,columnId:c,className:T}=e,m=function(e,t){if(null==e)return{};var s={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;s[i]=e[i]}return s}(e,l),{tableId:p}=u,g=void 0===T?"":T,{accessor:v}=(0,n.q2)(p);return s[0]!==c?(t=(0,a.U)(c),s[0]=c,s[1]=t):t=s[1],(0,r.jsx)("span",o(o({className:g+" table__cell table__cell--value "+(v===c?"table__cell--sorted":"")+" "+t+" "},m),{},{children:(0,r.jsx)(r.Fragment,{children:h(d)})}))}},9820(e,t,s){s.d(t,{U:()=>r});var i=s(72781);function r(e){switch(e){case i.m.RANK:return"table__headerCell--rank";case i.m.OVER:return"table__cell--over";case i.m.UNDER:return"table__cell--under";case i.m.SCORE:return"table__cell--score";case i.m.FORM_LAST5:return"table__headerCell--form";case i.m.PARTICIPANT_IDS:return"table__headerCell--participant";case i.m.LIVESCORE:return"table__cell--live";case i.m.RUNS:return"table__cell--runs";case i.m.POINTS:return"table__cell--points";case i.m.TOTAL_POINTS:return"table__cell--totalPoints";case i.m.PCT:return"table__cell--pct";case i.m.NET_RR:return"table__cell--netRunRate";case i.m.POINTS_DIFFERENCE:return"table__cell--pointsDifference";case i.m.GOALS_FOR_AGAINST_DIFF:return"table__cell--goalsForAgainstDiff";case i.m.SETS:return"table__cell--sets";case i.m.FOR_AGAINST_PERCENTAGE:return"table__cell--forAgainstPercentage";case i.m.FRAMES:return"table__cell--frames";default:return""}}}
1,98429(e,t,s){s.d(t,{g:()=>i,i:()=>l});var i,r=s(74848),a=(s(96540),s(46942)),n=s.n(a);function l(e){var{countryId:t,title:s,className:a,iconType:l=i.FLAG}=e;return(0,r.jsx)("span",{className:n()(a,l===i.FLAG&&"flag",l===i.ICON_FLAG&&"icon--flag","fl_"+t),title:s})}!function(e){e[e.FLAG=0]="FLAG",e[e.ICON_FLAG=1]="ICON_FLAG"}(i||(i={}))},19092(e,t,s){s.d(t,{l:()=>r});var i=s(74848);s(96540);class r{constructor(e){this.trans=void 0,this.getParticipantsLabel=(e,t,s)=>s?t+" @ "+e:e+" - "+t,this.trans=e}getEventTitleWithResults(e,t,s,r,a,n,l){var o=this.getParticipantsLabel(e,t,s),d=l.getCurrentScoreForDisplay({eventStageId:a});return(0,i.jsxs)("div",{children:[(0,i.jsx)("strong",{children:d}),(0,i.jsxs)("span",{children:[" (",o,")"]}),(0,i.jsx)("br",{}),(0,i.jsx)("span",{children:n(r)})]})}getNextEventTitle(e,t,s,r,a){var n=this.getParticipantsLabel(e,t,s);return(0,i.jsxs)("div",{children:[(0,i.jsxs)("strong",{children:[this.trans.translate("TRANS_NEXT_MATCH"),":"]}),(0,i.jsx)("br",{}),(0,i.jsx)("span",{children:n}),(0,i.jsx)("br",{}),(0,i.jsx)("span",{children:a(r)})]})}}},93710(e,t,s){s.d(t,{j:()=>i});var i=e=>e?"_self":"_blank"},39888(e,t,s){s.d(t,{X:()=>g});var i=s(16522),r=s(74848),a=s(96540),n=s(46942),l=s.n(n),o=s(73634),d=s(30041);function h(e){var t,s=(0,i.c)(9),{children:a,sortable:n,shouldShowArrow:h,sortAsc:c,onClick:T,style:m,title:p}=e,g=void 0===T?u:T,v=void 0===m?"":m,{onKeyDown:b}=(0,o.Z)(g);return s[0]!==a||s[1]!==g||s[2]!==b||s[3]!==h||s[4]!==c||s[5]!==n||s[6]!==v||s[7]!==p?(t=(0,r.jsxs)("div",{className:l()("ui-table__headerCell",v,n&&"ui-table__headerCell--sortable",h&&"ui-table__headerCell--sorted"),onClick:g,role:"button",tabIndex:0,title:p,onKeyDown:b,children:[a,h&&n&&(0,r.jsx)(d.Int,{id:"incidents-shift",className:l()("table__sortArrow","sortArrow-ico",!c&&"table__sortArrow--desc")})]}),s[0]=a,s[1]=g,s[2]=b,s[3]=h,s[4]=c,s[5]=n,s[6]=v,s[7]=p,s[8]=t):t=s[8],t}function u(){}function c(e){var{columns:t,sortingOptions:s,arrowOnlyForSortingColumn:i}=e;return(0,r.jsx)("div",{className:"ui-table__header",children:t.map(e=>{var{name:t,title:a,sortable:n,sortValueAccessor:l,style:o}=e,d=s.sortByAccessor!==l||!!s.sortAsc,u=n&&l?()=>s.onColumnClick(l):void 0;return(0,r.jsx)(h,{sortable:n,shouldShowArrow:!i||s.sortByAccessor===l,sortAsc:d,onClick:u,style:o,title:a,children:t},t+"-"+a)})})}var T=s(63799);function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var i in s)({}).hasOwnProperty.call(s,i)&&(e[i]=s[i])}return e},m.apply(null,arguments)}var p={sortAsc:void 0,sortByAccessor:void 0};function g(e){var t,s=(0,i.c)(16),{columns:n,data:o,sort:d,onSort:h,arrowOnlyForSortingColumn:u,className:g,stringComparingFunc:v}=e;s[0]!==d?(t=void 0===d?{}:d,s[0]=d,s[1]=t):t=s[1];var b,S=t,I=void 0!==u&&u;s[2]!==S?(b=m(m({},p),S),s[2]=S,s[3]=b):b=s[3];var _,[f,A]=(0,a.useState)(b);s[4]!==n||s[5]!==h||s[6]!==f?(_=e=>{var t,{sortByAccessor:s,sortAsc:i,fallbackAccessorsToSortBy:r}=f,a=e===s?!i:(null==(t=n.find(t=>t.sortValueAccessor===e))?void 0:t.onFirstClickSortAsc)||!1;if(A({sortByAccessor:e,sortAsc:a,fallbackAccessorsToSortBy:r}),h){var l=n.find(t=>t.sortValueAccessor===e);l&&h(l,a)}},s[4]=n,s[5]=h,s[6]=f,s[7]=_):_=s[7];var O,y=_;return s[8]!==I||s[9]!==g||s[10]!==n||s[11]!==o||s[12]!==y||s[13]!==f||s[14]!==v?(O=(0,r.jsxs)("div",{className:l()("ui-table",g),children:[(0,r.jsx)(c,{columns:n,sortingOptions:m(m({},f),{},{onColumnClick:y}),arrowOnlyForSortingColumn:I}),(0,r.jsx)(T.BF,{columns:n,data:o,sortingOptions:f,stringComparingFunc:v})]}),s[8]=I,s[9]=g,s[10]=n,s[11]=o,s[12]=y,s[13]=f,s[14]=v,s[15]=O):O=s[15],O}}
1,63799(e,t,s){s.d(t,{BF:()=>m,DJ:()=>c,XX:()=>T});var i=s(74848),r=s(96540);function a(e){var{children:t}=e;return(0,i.jsx)(r.Fragment,{children:t})}var n=s(46942),l=s.n(n);function o(e){var{columns:t,row:s}=e;return(0,i.jsx)("div",{className:l()("ui-table__row",s.className),onClick:s.onClick,children:t.map((e,t)=>(0,i.jsx)(a,{children:s[e.accessor]},t))})}const d=r.memo(o);var h=["sortAsc"];function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var i in s)({}).hasOwnProperty.call(s,i)&&(e[i]=s[i])}return e},u.apply(null,arguments)}var c=(e,t)=>(s,i)=>e.reduce((e,r)=>{var{sortByAccessor:a,sortAsc:n}=r;return a?e||(n?-1:1)*((e,t)=>(s,i)=>{var{[e]:r}=s,{[e]:a}=i;return t&&"string"==typeof r&&"string"==typeof a?-1*t(r,a):r<a?1:r>a?-1:0})(a,t)(s,i):e},0);function T(e,t,s){var i;return((null==(i=e.find(e=>e.sortValueAccessor===s))?void 0:i.onFirstClickSortAsc)||!1)===t}function m(e){var{columns:t,data:s,sortingOptions:{sortAsc:r,sortByAccessor:a,fallbackAccessorsToSortBy:n=[]},stringComparingFunc:l}=e;return a&&s.sort(c([{sortByAccessor:a,sortAsc:r},...n.map(e=>{var{sortAsc:s}=e;return u(u({},function(e,t){if(null==e)return{};var s={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;s[i]=e[i]}return s}(e,h)),{},{sortAsc:T(t,r,a)?s:!s})})],l)),(0,i.jsx)("div",{className:"ui-table__body",children:s.map(e=>(0,i.jsx)(d,{row:e,columns:t},e.rowKey))})}},33409(e,t,s){s.d(t,{E:()=>r,I:()=>initFeedNameComposer});var i=s(32910);function initFeedNameComposer(){return new r(new i.P(cjs.Api.config.get("app","project_type","id")),"",cjs.Api.config.get("app","lang","web"),cjs.Api.config.get("app","project_type","id"),cjs.Api.timezone)}class r{constructor(e,t,s,i,r){this.sysFeedNameComposer=void 0,this.eventId=void 0,this.lang=void 0,this.projectTypeId=void 0,this.timezone=void 0,this.sysFeedNameComposer=e,this.eventId=t,this.lang=s,this.projectTypeId=i,this.timezone=r}getGeoIpFeed(){return"f_"}getSysFeed(){return this.sysFeedNameComposer.getSysFeed()}getGameFeed(){return"g_"+this.projectTypeId+"_"+this.eventId}getSummaryTab(){return"d_su_"+this.eventId+"_"+this.lang+"_"+this.projectTypeId}getH2hTab(){return"df_hh_"+this.projectTypeId+"_"+this.eventId}getLineupsTab(){return"df_li_"+this.projectTypeId+"_"+this.eventId}getPlayerStatsTab(){return"df_psn_"+this.projectTypeId+"_"+this.eventId}getPlayerStatsPreviewTab(){return"df_psp_"+this.projectTypeId+"_"+this.eventId}getNewsTab(){return"df_nf_"+this.projectTypeId+"_"+this.eventId}getMatchHistoryFeed(){return"df_mh_"+this.projectTypeId+"_"+this.eventId}getCommonFeed(){return"dc_"+this.projectTypeId+"_"+this.eventId}getSummaryHorizontalFeed(){return"df_sur_"+this.projectTypeId+"_"+this.eventId}getCurrentDartsLegFeed(){return"df_mhsn_"+this.projectTypeId+"_"+this.eventId}getCurrentTennisGameFeed(){return"df_mhs_"+this.projectTypeId+"_"+this.eventId}getSummaryVerticalFeed(){return"df_sui_"+this.projectTypeId+"_"+this.eventId}getPrematchOddsFeed(e){return void 0===e&&(e=""),"df_dos_"+this.projectTypeId+"_"+this.eventId+"_"+e}getVideoHighlightFeed(){return"df_hi_"+this.projectTypeId+"_"+this.eventId}getStatisticsFeed(){return"df_st_"+this.projectTypeId+"_"+this.eventId}getScratchesFeed(){return"df_scr_"+this.projectTypeId+"_"+this.eventId}getParticipantFeed(e,t){return void 0===t&&(t="0"),"pl_"+this.timezone.getHour()+"_"+e+"_"+t}getParticipantEventDataFeed(e){return"pe_"+this.projectTypeId+"_"+this.timezone.getHour()+"_"+e+"_x"}getRepairFeed(e){return void 0===e&&(e=0),"r_"+e+"_"+this.projectTypeId}getDartsMatchHistoryFeed(){return"df_mhn_"+this.projectTypeId+"_"+this.eventId}getSoccerLiveCommentaryOldFeed(){return"df_lc_"+this.projectTypeId+"_"+this.eventId}getSoccerLiveCommentaryOldPreviewFeed(){return"df_lcpo_"+this.projectTypeId+"_"+this.eventId}getMyFsNewsFeed(e,t){return"mynf_"+e+"_"+t}getPushServiceFeed(){return"service"}getBaseballPitchersFeed(){return"df_pi_"+this.projectTypeId+"_"+this.eventId}getDartsStatisticsFeed(){return"df_stn_"+this.projectTypeId+"_"+this.eventId}getDartsStatisticsOnSummaryFeed(){return"df_stp_"+this.projectTypeId+"_"+this.eventId}getParticipantEventListFeed(e){return"pel_"+this.timezone.getHour()+"_"+e}getMatchReportFeed(){return"df_mr_"+this.projectTypeId+"_"+this.eventId}getDuelGolfSummaryFeed(){return"df_sur_"+this.projectTypeId+"_"+this.eventId}getRankingLiveFeed(e,t){return"ral_"+e+"_"+t}getRankingFeed(e,t){return"ran_"+e+"_"+t}getTeamTransfersFeed(e,t,s){return"tetr_"+e+"_"+t+"_"+s}getParticipantNews(e){return"pnf_"+e}getNewsListFeed(e,t,s){return void 0===s&&(s=0),"nl_"+s+"_"+(s?e:t)}}}
1,98712(e,t,s){function i(e,t,s,i,r,a,n){try{var l=e[a](n),o=l.value}catch(e){return void s(e)}l.done?t(o):Promise.resolve(o).then(i,r)}function initGeoIpResolver(geoIpStorage,Feed_FetcherWithPropertiesResolvingResponse,Feed_NameComposer){return new r(geoIpStorage,Feed_FetcherWithPropertiesResolvingResponse,Feed_NameComposer.getGeoIpFeed())}s.d(t,{Z:()=>r,q:()=>initGeoIpResolver});class r{constructor(geoIpStorage,e,t){this.geoIpStorage=void 0,this.fetcher=void 0,this.geoIpFeed=void 0,this.thePromise=null,this.geoIpStorage=geoIpStorage,this.fetcher=e,this.geoIpFeed=t}getGeoIp(){var e,t=this;return(e=function*(){return t.isGeoIpLoaded()||(yield t.loadGeoIp()),t.geoIpStorage},function(){var t=this,s=arguments;return new Promise(function(r,a){var n=e.apply(t,s);function l(e){i(n,r,a,l,o,"next",e)}function o(e){i(n,r,a,l,o,"throw",e)}l(void 0)})})()}isGeoIpLoaded(){return!!this.geoIpStorage.getGlobalGeoIp()}loadGeoIp(){return this.thePromise||(this.thePromise=this.fetcher.fetch(this.geoIpFeed,{headers:{"x-geoip":"1"}})),this.thePromise}}},29340(e,t,s){function i(e,t){return e.reduce((e,s,i)=>{var r=function(e){return"function"==typeof e}(t)?t(s,i):t;return[...e,...i>0?[r]:[],s]},[])}s.d(t,{R:()=>i})},26978(e,t,s){s.d(t,{z:()=>r});class i{constructor(e){this.storage=void 0,this.storage=e}get(e){var t=this.storage.getItem(e);if(!t)return null;var{value:s,validTo:i}=JSON.parse(t);return i&&!this.checkValidTo(i)?(this.storage.removeItem(e),null):s}store(e,t,s){return this.storage.setItem(e,JSON.stringify({value:t,validTo:s?Math.round(s)+this._getTimeStamp():void 0})),!0}_getTimeStamp(){return Math.round((new Date).getTime()/1e3)}checkValidTo(e){return e>this._getTimeStamp()}}class r extends i{constructor(){super(localStorage)}}},32910(e,t,s){s.d(t,{P:()=>i});class i{constructor(e){this.projectTypeId=void 0,this.projectTypeId=e}getSysFeed(){return"sys_"+this.projectTypeId}}},45545(e,t,s){s.d(t,{E:()=>o});var i=s(16522),r=s(74848),a=(s(96540),s(85647));function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var i in s)({}).hasOwnProperty.call(s,i)&&(e[i]=s[i])}return e},n.apply(null,arguments)}var l=(e,t)=>{var s=new URLSearchParams(e),i=new URLSearchParams(t);for(var[r,a]of i.entries())s.set(r,a);return s.toString()?"?"+s.toString():""},o=e=>{var t,s=(0,i.c)(6),{search:o}=(0,a.zy)();s[0]!==e.to||s[1]!==o?(t=()=>{if("string"==typeof e.to){var t=new URL(e.to,window.location.origin),s=l(t.search,o);return{pathname:e.to,search:s}}return e.to.search?n(n({},e.to),{},{search:l(e.to.search,o)}):n(n({},e.to),{},{search:o})},s[0]=e.to,s[1]=o,s[2]=t):t=s[2];var d,h=t;return s[3]!==e||s[4]!==h?(d=(0,r.jsx)(a.C5,n(n({},e),{},{to:h()})),s[3]=e,s[4]=h,s[5]=d):d=s[5],d}},30334(e,t,s){s.d(t,{BG:()=>A,IM:()=>O,d:()=>L,iO:()=>y});var i=s(72885),r=s(36460),a="summary",n="match-report",l="odds-comparison",o="head-2-head",d="live-table",h="standings",u="draw",c="highlights",T="newsfeed",m="timeline",p="statistics",g="lineups",v="predicted-lineups",b="history",S="commentary",I="player-statistics",_="player-match-statistics",f="live",A=l,O=I,y="stats-detail";class L{constructor(e){this.indexedTabs=void 0,this.list=void 0,this.sportList=void 0,this.indexedTabs=e,this.list=[(new w).setId(a).setTranslationKey("").setEventTrackingName("match-summary").setIsIndexRoute().build(),(new w).setId(n).setTranslationKey("TRANS_MATCH_REPORT_LABEL").setEventTrackingName("report").setIsIndexedTab(e.includes(r.b.REPORT)).build(),(new w).setId(l).setTranslationKey("TRANS_DETAIL_BOOKMARK_ODDS").setIsIndexedTab(e.includes(r.b.ODDS_COMPARISON)).build(),(new w).setId(o).setTranslationKey("TRANS_DETAIL_BOOKMARK_H2H").setEventTrackingName("h2h").setIsIndexedTab(e.includes(r.b.H2H)).build(),(new w).setId(d).setName(f).setTranslationKey("TRANS_DETAIL_BOOKMARK_LIVE_TABLE").setEventTrackingName(y).build(),(new w).setId(h).setTranslationKey("TRANS_DETAIL_BOOKMARK_STANDINGS_TABLE").setEventTrackingName(y).setIsIndexedTab(e.includes(r.b.STANDINGS)).build(),(new w).setId(u).setTranslationKey("TRANS_DETAIL_BOOKMARK_STANDINGS_DRAW").setEventTrackingName(y).setIsIndexedTab(e.includes(r.b.DRAW)).build(),(new w).setId(c).setTranslationKey("TRANS_DETAIL_BOOKMARK_VIDEO_HIGHLIGHTS").setEventTrackingName("video-detail").setIsIndexedTab(e.includes(r.b.VIDEO_HIGHLIGHTS)).build(),(new w).setId(T).setTranslationKey("TRANS_DETAIL_BOOKMARK_NEWS_FEED").setIsIndexedTab(e.includes(r.b.NEWS)).build()],this.sportList=[(new P).setId(i.qL.AMERICAN_FOOTBALL).addTabItem(this.makeTimelineTab().build()).addTabItem(this.makeStatisticsTab().build()).addTabItem(this.makeLineupsTab().build()).addTabItem(this.makePredictedLineupsTab().build()).addTabItem(this.makeHistoryTab().build()).build(),(new P).setId(i.qL.AUSSIE_RULES).addTabItem(this.makeTimelineTab().build()).addTabItem(this.makeStatisticsTab().build()).addTabItem(this.makeLineupsTab().build()).addTabItem(this.makePredictedLineupsTab().build()).addTabItem(this.makePlayerStatisticsTab().build()).addTabItem(this.makeHistoryTab().build()).build(),(new P).setId(i.qL.BASEBALL).addTabItem(this.makeTimelineTab().build()).addTabItem(this.makeStatisticsTab().build()).addTabItem(this.makeLineupsTab().build()).addTabItem(this.makePredictedLineupsTab().build()).addTabItem(this.makePlayerStatisticsTab().build()).build(),(new P).setId(i.qL.BASKETBALL).addTabItem(this.makeTimelineTab().build()).addTabItem(this.makePlayerStatisticsTab().build()).addTabItem(this.makeStatisticsTab().build()).addTabItem(this.makeLineupsTab().build()).addTabItem(this.makePredictedLineupsTab().build()).addTabItem(this.makeHistoryTab().build()).build(),(new P).setId(i.qL.CRICKET).addTabItem(this.makeTimelineTab().build()).addTabItem(this.makeCommentaryTab().build()).addTabItem(this.makePlayerStatisticsTab().setTranslationKey(["TRANS_DETAIL_BOOKMARK_PLAYER_STATISTICS_CRICKET","TRANS_DETAIL_BOOKMARK_PLAYER_STATISTICS"]).build()).addTabItem(this.makeStatisticsTab().build()).addTabItem(this.makeLineupsTab().build()).addTabItem(this.makePredictedLineupsTab().build()).build(),(new P).setId(i.qL.DARTS).addTabItem(this.makeTimelineTab().build()).addTabItem(this.makeStatisticsTab().build()).addTabItem(this.makeHistoryTab().setTranslationKey("TRANS_DETAIL_BOOKMARK_MATCH_HISTORY_DARTS").build()).build(),(new P).setId(i.qL.HOCKEY).addTabItem(this.makeTimelineTab().build()).addTabItem(this.makeStatisticsTab().build()).addTabItem(this.makeLineupsTab().build()).addTabItem(this.makePredictedLineupsTab().build()).addTabItem(this.makePlayerStatisticsTab().build()).addTabItem(this.makeCommentaryTab().build()).addTabItem(this.makeLiveTableTab().build()).build(),(new P).setId(i.qL.RUGBY_LEAGUE).addTabItem(this.makeTimelineTab().build()).addTabItem(this.makeStatisticsTab().build()).addTabItem(this.makeLineupsTab().build()).addTabItem(this.makePredictedLineupsTab().build()).addTabItem(this.makePlayerStatisticsTab().build()).addTabItem(this.makeHistoryTab().build()).build(),(new P).setId(i.qL.RUGBY_UNION).addTabItem(this.makeTimelineTab().build()).addTabItem(this.makeStatisticsTab().build()).addTabItem(this.makeLineupsTab().build()).addTabItem(this.makePredictedLineupsTab().build()).addTabItem(this.makePlayerStatisticsTab().build()).addTabItem(this.makeHistoryTab().build()).build(),(new P).setId(i.qL.SOCCER).addTabItem(this.makeTimelineTab().build()).addTabItem(this.makeStatisticsTab().build()).addTabItem(this.makePlayerMatchStatisticsTab().build()).addTabItem(this.makeLineupsTab().build()).addTabItem(this.makePredictedLineupsTab().build()).addTabItem(this.makeCommentaryTab().build()).addTabItem(this.makeLiveTableTab().build()).addTabItem(this.makeHistoryTab().build()).build(),(new P).setId(i.qL.HANDBALL).addTabItem(this.makeTimelineTab().build()).addTabItem(this.makeLineupsTab().build()).addTabItem(this.makePredictedLineupsTab().build()).addTabItem(this.makeHistoryTab().build()).build(),(new P).setId(i.qL.BADMINTON).addTabItem(this.makeTimelineTab().build()).addTabItem(this.makeHistoryTab().build()).build(),(new P).setId(i.qL.FUTSAL).addTabItem(this.makeTimelineTab().build()).addTabItem(this.makeLineupsTab().build()).addTabItem(this.makePredictedLineupsTab().build()).build(),(new P).setId(i.qL.FLOORBALL).addTabItem(this.makeTimelineTab().build()).addTabItem(this.makeLineupsTab().build()).addTabItem(this.makePredictedLineupsTab().build()).build(),(new P).setId(i.qL.VOLLEYBALL).addTabItem(this.makeTimelineTab().build()).addTabItem(this.makeLineupsTab().build()).addTabItem(this.makePredictedLineupsTab().build()).addTabItem(this.makeHistoryTab().build()).build(),(new P).setId(i.qL.BEACH_VOLLEYBALL).addTabItem(this.makeTimelineTab().build()).addTabItem(this.makeLineupsTab().build()).addTabItem(this.makePredictedLineupsTab().build()).addTabItem(this.makeHistoryTab().build()).build(),(new P).setId(i.qL.TENNIS).addTabItem(this.makeTimelineTab().build()).addTabItem(this.makeStatisticsTab().build()).addTabItem(this.makeHistoryTab().setTranslationKey("TRANS_DETAIL_BOOKMARK_MATCH_HISTORY_TENNIS").build()).build(),(new P).setId(i.qL.SNOOKER).addTabItem(this.makeTimelineTab().build()).addTabItem(this.makeHistoryTab().build()).build(),(new P).setId(i.qL.GOLF).addTabItem(this.makeTimelineTab().setTranslationKey("TRANS_DETAIL_BOOKMARK_ROUND_RESULTS").setDisplayTab("summary-player-card").build()).addTabItem(this.makePlayerStatisticsTab().setTranslationKey("TRANS_DETAIL_BOOKMARK_PLAYER_STATISTICS_GOLF").build()).build(),(new P).setId(i.qL.KABADDI).addTabItem(this.makeTimelineTab().build()).addTabItem(this.makeStatisticsTab().build()).addTabItem(this.makeLineupsTab().build()).addTabItem(this.makePredictedLineupsTab().build()).addTabItem(this.makePlayerStatisticsTab().build()).build()]}makeTimelineTab(){return(new w).setId(m).setName(m).setTranslationKey("TRANS_DETAIL_BOOKMARK_MATCH_SUMMARY_2").setEventTrackingName("match-summary").setIsIndexRoute()}makeStatisticsTab(){return(new w).setId(p).setIsIndexedTab(this.indexedTabs.includes(r.b.
1STATISTICS)).setTranslationKey("TRANS_DETAIL_BOOKMARK_STATISTICS").setEventTrackingName("match-statistics")}makeLineupsTab(){return(new w).setId(g).setIsIndexedTab(this.indexedTabs.includes(r.b.LINEUPS)).setEventTrackingName("lineups").setTranslationKey("TRANS_DETAIL_BOOKMARK_LINEUPS")}makePredictedLineupsTab(){return(new w).setId(v).setIsIndexedTab(this.indexedTabs.includes(r.b.LINEUPS)).setEventTrackingName("predicted-lineups").setTranslationKey("TRANS_DETAIL_BOOKMARK_LINEUPS")}makeHistoryTab(){return(new w).setId(b).setIsIndexedTab(this.indexedTabs.includes(r.b.MATCH_HISTORY)).setName("match-history").setTranslationKey("TRANS_DETAIL_BOOKMARK_MATCH_HISTORY").setEventTrackingName("match-history")}makePlayerStatisticsTab(){return(new w).setId(I).setIsIndexedTab(this.indexedTabs.includes(r.b.PLAYER_STATISTICS)).setTranslationKey("TRANS_DETAIL_BOOKMARK_PLAYER_STATISTICS")}makePlayerMatchStatisticsTab(){return(new w).setId(_).setIsIndexedTab(this.indexedTabs.includes(r.b.PLAYER_MATCH_STATISTICS)).setTranslationKey("TRANS_DETAIL_BOOKMARK_PLAYER_STATISTICS")}makeCommentaryTab(){return(new w).setId(S).setIsIndexedTab(this.indexedTabs.includes(r.b.LIVE_COMMENTARY)).setTranslationKey("TRANS_DETAIL_BOOKMARK_LIVE_COMMENTARY").setEventTrackingName("live-comentary")}makeLiveTableTab(){return(new w).setId(d).setName(f).setTranslationKey("TRANS_DETAIL_BOOKMARK_LIVE_TABLE")}getList(){return this.list}getSummaryList(e){var t,s=this.sportList.find(t=>t.getId()===e);return null!=(t=null==s?void 0:s.getTabItems())?t:[this.makeTimelineTab().build()]}}class E{constructor(e,t,s,i,r,a,n,l){this.id=void 0,this.name=void 0,this.translationKey=void 0,this.displayTab=void 0,this.eventTrackingName=void 0,this.isNewFeatureValue=void 0,this.isIndexRouteValue=void 0,this.isIndexedTabValue=void 0,this.id=e,this.name=t,this.translationKey=s,this.displayTab=i,this.eventTrackingName=r,this.isNewFeatureValue=a,this.isIndexRouteValue=n,this.isIndexedTabValue=l}getEventTrackingName(){return this.eventTrackingName}getId(){return this.id}getName(){return this.name}getDisplayTab(){return this.displayTab}getTranslationKey(){return this.translationKey}isNewFeature(){return this.isNewFeatureValue}isIndexRoute(){return this.isIndexRouteValue}isIndexedTab(){return this.isIndexedTabValue}}class w{constructor(){this.id="",this.name="",this.translationKey="",this.displayTab="",this.eventTrackingName="",this.isNewFeature=!1,this.isIndexRoute=!1,this.isIndexedTab=!1}setId(e){return this.id=e,this}setName(e){return this.name=e,this}setTranslationKey(e){return this.translationKey=e,this}setEventTrackingName(e){return this.eventTrackingName=e,this}setDisplayTab(e){return this.displayTab=e,this}setIsNewFeature(e){return this.isNewFeature=e,this}setIsIndexRoute(){return this.isIndexRoute=!0,this.setIsIndexedTab(!0)}setIsIndexedTab(e){return this.isIndexedTab=e,this}build(){return this.name||this.setName(this.id),this.eventTrackingName||this.setEventTrackingName(this.id),new E(this.id,this.name,this.translationKey,this.displayTab,this.eventTrackingName,this.isNewFeature,this.isIndexRoute,this.isIndexedTab)}}class R{constructor(e,t){this.id=void 0,this.tabItems=void 0,this.id=e,this.tabItems=t}getId(){return this.id}getTabItemByIndex(e){return this.tabItems[e]?this.tabItems[e]:null}getTabItems(){return this.tabItems}}class P{constructor(){this.id=i.qL.UNKNOWN,this.tabItems=[]}setId(e){return this.id=e,this}addTabItem(e){return this.tabItems.push(e),this}build(){return new R(this.id,this.tabItems)}}},59600(e,t,s){var i;s.d(t,{p:()=>i}),function(e){e.SUMMARY="",e.ODDS_COMPARISON="OD",e.HEAD_2_HEAD="HH",e.TEAM_FORM="DTF",e.LIVE_TABLE="LT",e.STANDINGS="TA",e.DRAW="DR",e.HIGHLIGHTS="HI",e.HIGHLIGHTS_TOP="HIO",e.HIGHLIGHTS_TOP_OFFICIAL="HITO",e.NEWSFEED="NF",e.STATISTICS="ST",e.TOP_STATISTICS="TTS",e.LINEUPS="LI",e.PREDICTED_LINEUPS="PLI",e.PLAYER_STATISTICS="PS",e.PLAYER_MATCH_STATISTICS="PMS",e.MATCH_HISTORY="MH",e.MATCH_HISTORY_DARTS="MHN",e.COMMENTARY="LC",e.SCRATCHES="SCR",e.MATCH_REPORT="MR",e.TIMELINE="TL",e.MATCH_MOMENTUM="MMT"}(i||(i={}))},36460(e,t,s){s.d(t,{D:()=>n,b:()=>i});var i,r=s(59600);!function(e){e.LINEUPS="lineups",e.PLAYER_STATISTICS="player-statistics",e.PLAYER_MATCH_STATISTICS="player-match-statistics",e.STATISTICS="statistics",e.ODDS_COMPARISON="odds",e.LIVE_COMMENTARY="live-comments",e.MATCH_HISTORY="match-history",e.DRAW="draw",e.H2H="h2h",e.NEWS="news",e.REPORT="report",e.STANDINGS="standings",e.VIDEO_HIGHLIGHTS="highlights"}(i||(i={}));var a={[i.LINEUPS]:r.p.LINEUPS,[i.PLAYER_STATISTICS]:r.p.PLAYER_STATISTICS,[i.PLAYER_MATCH_STATISTICS]:r.p.PLAYER_MATCH_STATISTICS,[i.STATISTICS]:r.p.STATISTICS,[i.ODDS_COMPARISON]:r.p.ODDS_COMPARISON,[i.LIVE_COMMENTARY]:r.p.COMMENTARY,[i.MATCH_HISTORY]:r.p.MATCH_HISTORY,[i.DRAW]:r.p.DRAW,[i.H2H]:r.p.HEAD_2_HEAD,[i.NEWS]:r.p.NEWSFEED,[i.REPORT]:r.p.MATCH_REPORT,[i.STANDINGS]:r.p.STANDINGS,[i.VIDEO_HIGHLIGHTS]:r.p.HIGHLIGHTS},n=e=>a[e]}
1,16102(e,t,s){var i;s.d(t,{B:()=>i}),function(e){e[e.RANK=513]="RANK",e[e.PLAYER_ID=803]="PLAYER_ID",e[e.TEAM_ID=806]="TEAM_ID",e[e.GOALS_FOR=510]="GOALS_FOR",e[e.POINTS=169]="POINTS",e[e.ASSISTS=541]="ASSISTS",e[e.ASSISTS_2=543]="ASSISTS_2"}(i||(i={}))},92985(e,t,s){function i(){var{userAgent:e}=navigator,t=/Tablet|iPad/i.test(e);return/Mobi|Android/i.test(e)||t}s.d(t,{K:()=>r,r:()=>i});var r=()=>({target:i()?"_blank":"_self"})},17925(e,t,s){s.d(t,{I:()=>n});var i=s(79992),r=s(99576),a=s(42405);class n{constructor(e,t){this.matchResult=void 0,this.sportId=void 0,this.matchResult=e,this.sportId=t}getCurrentScoreForDisplay(e){var t,s;void 0===e&&(e={});var n=null!=(t=e.side)?t:r.DW.UNKNOWN,l=null!=(s=e.eventStageId)?s:i.N.UNKNOWN;return(0,a.V)(this.sportId)?this.formatPenaltySportResult(n):this.formatStandardResult(l,n)}getPenaltiesForDisplay(e){var t;if(!(0,a.V)(this.sportId))return null;var s=e===r.DW.HOME?"home":"away";return null!=(t=this.matchResult[s].penalties)?t:null}getHomeAwayScores(){return{homeScore:this.getCurrentScoreForDisplay({side:r.DW.HOME}),awayScore:this.getCurrentScoreForDisplay({side:r.DW.AWAY}),homePenalties:this.getPenaltiesForDisplay(r.DW.HOME),awayPenalties:this.getPenaltiesForDisplay(r.DW.AWAY)}}formatStandardResult(e,t){return this.formatOverall(t)}formatPenaltySportResult(e){var t=this.matchResult;return this.isPenaltiesAfterExtraTime(t)?this.formatPenaltiesAfterExtraTime(t,e):this.isPenaltiesAfterFullTime(t)?this.formatPenaltiesAfterFullTime(t,e):this.isAfterExtraTime(t)?this.formatAfterExtraTime(t,e):this.formatOverall(e)}isAfterExtraTime(e){return Boolean(e.home.afterExtraTime&&e.away.afterExtraTime)}isPenaltiesAfterExtraTime(e){return this.isPenalties(e)&&this.isAfterExtraTime(e)}isPenaltiesAfterFullTime(e){return this.isPenalties(e)&&Boolean(e.home.fullTime&&e.away.fullTime)}isPenalties(e){return Boolean(e.home.penalties&&e.away.penalties)}}},18059(e,t,s){s.d(t,{i:()=>a});var i=s(17925),r=s(79992);class a extends i.I{constructor(e,t,s){super(e,t),this.trans=void 0,this.trans=s}formatPenaltiesAfterExtraTime(e){return e.home.afterExtraTime+"-"+e.away.afterExtraTime+" "+this.trans.translate("TRANS_SOCCER_MATCH_STATUS_SHORT_FIN_AET")+", "+this.trans.translate("TRANS_SOCCER_SHORTCUT_PENALTY_SHOOTOUT")+": "+e.home.penalties+"-"+e.away.penalties}formatPenaltiesAfterFullTime(e){return e.home.fullTime+"-"+e.away.fullTime+", "+this.trans.translate("TRANS_SOCCER_SHORTCUT_PENALTY_SHOOTOUT")+": "+e.home.penalties+"-"+e.away.penalties}formatAfterExtraTime(e){return e.home.afterExtraTime+"-"+e.away.afterExtraTime+" "+this.trans.translate("TRANS_SOCCER_MATCH_STATUS_SHORT_FIN_AET")}formatOverall(){return this.matchResult.home.overall+"-"+this.matchResult.away.overall}formatStandardResult(e){var t=this.formatOverall();return e===r.N.AFTER_PENALTIES?t+" "+this.trans.translate("TRANS_TOOLTIP_AFTER_PENALTIES"):e===r.N.AFTER_EXTRA_TIME?t+" "+this.trans.translate("TRANS_TOOLTIP_AFTER_OVER_TIME"):t}}},28721(e,t,s){function i(e,t){return{home:r(e),away:r(t)}}function r(e){var t,s,i,r;return{overall:null!=(t=null==e?void 0:e.overall)?t:"",fullTime:null!=(s=null==e?void 0:e.fullTime)?s:void 0,afterExtraTime:null!=(i=null==e?void 0:e.afterExtraTime)?i:void 0,penalties:null!=(r=null==e?void 0:e.penalties)?r:void 0}}s.d(t,{N:()=>i})},42405(e,t,s){s.d(t,{V:()=>r});var i=[s(92814).h.SOCCER],r=e=>i.includes(e)},12181(e,t,s){s.d(t,{Y:()=>i});class i{parse(e){return e.split(",").reduce((e,t)=>{var[s,i]=t.split(":");return s&&!e[parseInt(s)]&&(e[parseInt(s)]=[]),s&&i&&e[parseInt(s)].push(parseInt(i)),e},{})}}},88930(e,t,s){s.d(t,{p:()=>u});var i=s(74848),r=s(96540),a=s(30041),n=s(85647),l=s(97131),o=s(34147),d=s(91215),h=s(30334);function u(e){var{url:t,name:s,isSubFilter:u,isIndexRoute:c,tabIdForEventTracking:T,onClick:m}=e,p=(0,l.useServerRender)(),g=(0,l.useDI)(),{search:v}=(0,n.zy)(),b=(0,r.useRef)(!1),S={pathname:c?"../":"../"+t+"/",search:v},I=void 0,_=void 0,f=void 0;if(T){var A=T.split("-").map(e=>e.replace("_","-")).join("_"),O=h.iO+"_"+A;u?f=()=>{o.H.trackEventWithMatchInfo(d.j.TAB_ON_DETAIL,O,p.getEventStageTypeId(),p.getSportName(),g.getEventSource()?{eventSource:g.getEventSource()}:{})}:(I=d.j.TAB,_=O)}return(0,i.jsx)(n.k2,{role:"tab",to:S,end:c,"data-analytics-element":I,"data-analytics-alias":_,onClick:()=>{var e;b.current||(null==(e=f)||e(),null==m||m())},children:e=>{var{isActive:t}=e;return b.current=t,(0,i.jsx)(a.yPj,{selected:t,content:s})}})}},62116(e,t,s){s.d(t,{I:()=>d});var i=s(25100),r=s(95864),a=s(41900),n=s(16126),l=s(81160),o=s(21059);class d extends o.v{fetchPeriodically(e,t,s,a){return void 0===s&&(s=0),void 0===a&&(a=()=>!0),(0,i.O)(s,t).pipe((0,n.p)(a),(0,r.H)(()=>e.fetch()))}getHashObservable(e){return this.observable.pipe((0,l.T)(t=>t.getRawFeed()[e]),(0,n.p)(e=>void 0!==e),(0,a.F)())}subscribe(e,t,s,i){return this.getHashObservable(e).subscribe({next:t,error:s,complete:i})}getCurrentValueOf(e){return this.behaviorSubject.getValue().getRawFeed()[e]||""}}},23546(e,t,s){s.d(t,{L:()=>i});var i=e=>{var{badgeState:t,isTeamPage:s=!1}=e;if(s)switch(t){case"WL":return"lose-win";case"LW":return"win-lose";case"DW":return"win-draw";
1case"DL":return"lose-draw"}switch(t){case"W":case"WW":return"win";case"L":case"LL":return"lose";case"D":case"DO":case"DD":return"draw";case"LO":case"DL":return"draw-lose";case"WO":case"DW":return"draw-win";case"WL":return"win-lose";case"LW":return"lose-win";case"WD":return"win-draw";case"LD":return"lose-draw";default:return"unknown"}}},48561(e,t,s){function i(e){return-3600*e}s.d(t,{S:()=>i})},8995(e,t,s){s.d(t,{I:()=>r});var i=s(62498),r=e=>{switch(e){case"w":return i.J.WIN;case"l":return i.J.LOSS;case"lo":return i.J.LOSS_OVERTIME;case"wo":return i.J.WIN_OVERTIME;case"do":return i.J.DRAW_OVERTIME;case"d":return i.J.DRAW;case"dl":return i.J.DRAW_LOSS;case"dw":return i.J.DRAW_WIN;case"ww":return i.J.WIN_WIN;case"ll":return i.J.LOSS_LOSS;case"wl":return i.J.WIN_LOSS;case"lw":return i.J.LOSS_WIN;case"ld":return i.J.LOSS_DRAW;case"wd":return i.J.WIN_DRAW}return i.J.UNKNOWN}},72320(e,t,s){s.d(t,{D:()=>r});var i=s(62498),r=(e,t)=>{switch(e){case i.J.WIN:return{title:t.translate("TRANS_WIN"),titleShort:t.translate("TRANS_WIN_SHORT")};case i.J.LOSS:return{title:t.translate("TRANS_LOST"),titleShort:t.translate("TRANS_LOST_SHORT")};case i.J.DRAW:return{title:t.translate("TRANS_DRAW"),titleShort:t.translate("TRANS_DRAW_SHORT")};case i.J.DRAW_OVERTIME:case i.J.DRAW_DRAW:return{title:t.translate("TRANS_DRAW")+"/"+t.translate("TRANS_DRAW"),titleShort:t.translate("TRANS_DRAW_SHORT")};case i.J.LOSS_OVERTIME:case i.J.DRAW_LOSS:return{title:t.translate("TRANS_DRAW")+"/"+t.translate("TRANS_LOST"),titleShort:""+t.translate("TRANS_LOST_SHORT")};case i.J.WIN_OVERTIME:case i.J.DRAW_WIN:return{title:t.translate("TRANS_DRAW")+"/"+t.translate("TRANS_WIN"),titleShort:""+t.translate("TRANS_WIN_SHORT")};case i.J.WIN_WIN:return{title:t.translate("TRANS_WIN")+"/"+t.translate("TRANS_WIN"),titleShort:""+t.translate("TRANS_WIN_SHORT")};case i.J.LOSS_LOSS:return{title:t.translate("TRANS_LOST")+"/"+t.translate("TRANS_LOST"),titleShort:""+t.translate("TRANS_LOST_SHORT")};case i.J.WIN_LOSS:return{title:t.translate("TRANS_WIN")+"/"+t.translate("TRANS_LOST"),titleShort:""+t.translate("TRANS_LOST_SHORT")};case i.J.LOSS_WIN:return{title:t.translate("TRANS_LOST")+"/"+t.translate("TRANS_WIN"),titleShort:""+t.translate("TRANS_WIN_SHORT")};case i.J.WIN_DRAW:return{title:t.translate("TRANS_WIN")+"/"+t.translate("TRANS_DRAW"),titleShort:""+t.translate("TRANS_DRAW_SHORT")};case i.J.LOSS_DRAW:return{title:t.translate("TRANS_LOST")+"/"+t.translate("TRANS_DRAW"),titleShort:""+t.translate("TRANS_DRAW_SHORT")};case i.J.UNKNOWN:default:return{title:"?",titleShort:"?"}}}},28007(e,t,s){s.d(t,{S:()=>DatesImpl,z:()=>initUtilDate});class DatesImpl{constructor(e,utilEnviroment){this._usTimeFormat=void 0,this._utilEnviroment=void 0,this.serverAndClientTimeDiff=null,this._usTimeFormat=e,this._utilEnviroment=utilEnviroment}gmtOffsetGetter(){return this._utilEnviroment.getGmtOffset()()}getIsUsTimeFormat(){return this._usTimeFormat}getLocalTimezoneOffsetFSDS(e){var t=60*e.getTimezoneOffset()-this._utilEnviroment.getGmtOffsetDiff(),s=String(t/-3600);return 2===s.split(".").length?s:s+".0"}setServerTimestamp(e){return null===this.serverAndClientTimeDiff&&(this.serverAndClientTimeDiff=this.getLocalUTime()-Math.floor(e)),this}getServerAndClientTimeDiff(){return this.serverAndClientTimeDiff||0}getTimestamp(){return this.getLocalUTime()-this.getServerAndClientTimeDiff()}createCalendarDate(e,t){void 0===t&&(t=0);var s=this.getTimestamp()||e.getTime()/1e3;return e.setTime(1e3*(s-60*e.getTimezoneOffset()-this._utilEnviroment.getGmtOffsetDiff())),e.setDate(e.getDate()+t),e}fromUnixtimeToDatetime(e,t,s){var i=this._utilEnviroment.getGmtOffset()();document.querySelectorAll(s).forEach(s=>{var r="",a=[],n="",l="",o=0;if("title"===t){var d=s.getAttribute("title");d&&((a=d.split("\n"))[0]&&(n=a[0]),a[1]&&(l=a[1]),r=a[o=a.length-1])}else r=s.textContent||"";if(""!==r){var h=this.getFormat(e),u=this.timestamp2date(h,parseInt(r),i);if("title"===t){var c=n+"\n";2===o&&(c+=l+"\n"),s.setAttribute("title",c+u)}else s.innerHTML=u}})}getFormat(e){var t=this._usTimeFormat?"M d":"d.m.";switch(e){case"tv":t+=this._usTimeFormat?", g:i A":" G:i";break;case"short":t+=(this._usTimeFormat?", ":"")+"y";break;case"kickoff":t=this._usTimeFormat?"h:i A":"H:i";break;case"event":t+=this._usTimeFormat?", h:i A":" H:i"}return t}getLocalUTime(){return Math.round((new Date).getTime()/1e3)}
1timestamp2date(e,t,s){void 0===s&&(s=0);var i=new Date;t||0==t||(t=Math.round((new Date).getTime()/1e3)),i.setTime(1e3*(t+60*i.getTimezoneOffset()-s));var r=function(e,t){var s;for(t||(t=2),s=e.length;s<t;)s=(e="0"+e).length;return e},a=i.getDate(),n=i.getMonth()+1,l=i.getFullYear(),o=i.getHours(),d=i.getMinutes(),h=i.getSeconds(),u=i.getDay(),c={d:r(String(a)),j:a,F:["January","February","March","April","May","June","July","August","September","October","November","December"][n-1],m:r(String(n)),M:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][n-1],n,y:String(l).slice(2),Y:l,g:o%12||12,G:o,h:r(String(o%12||12)),H:r(String(o)),i:r(String(d)),s:r(String(h)),a:o>11?"pm":"am",A:o>11?"PM":"AM",w:u};return e.replace(/[djFmMnyYgGhHisaAw]|"[^"]*"|'[^']*'/g,e=>e in c?c[e]:e.slice(1,e.length-1))}formatBirthOrDeathDay(e,t){var s=new Date(1e3*t),i=this.isDaylightSavingTime(s)?0:-3600;return this.timestamp2date(e,t,i)}getLastMidnight(){return this.getMidnight()}getNextMidnight(){return this.getMidnight()+86400}getMidnight(e){var t=new Date;e&&(t=new Date(1e3*e));var s=this._utilEnviroment.getGmtOffset()(),i=60*t.getTimezoneOffset();return t.setTime(1e3*(t.getTime()/1e3+i-s)),Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0)/1e3+s}getNow(){return Math.floor((new Date).getTime()/1e3)}getAge(e,t){var s=t||this.getNow(),i=new Date(1e3*s),r=new Date(1e3*e),a=i.getFullYear()-r.getFullYear(),n=i.getMonth()-r.getMonth();return(n<0||0===n&&i.getDate()<r.getDate())&&a--,a}isToday(){return 0===this._utilEnviroment.getSudate()}isDaylightSavingTime(e){var t=e.getTimezoneOffset(),s=new Date(e.getFullYear(),0,1).getTimezoneOffset(),i=new Date(e.getFullYear(),6,1).getTimezoneOffset();return Math.max(s,i)>t}getMatchDay(e,t){var s=this._utilEnviroment.getGmtOffset()(),i=new Date;i.setTime(1e3*(this.getTimestamp()+60*i.getTimezoneOffset()-s));var r=Date.UTC(i.getFullYear(),i.getMonth(),i.getDate(),0,0,0)/1e3+s,a=this._getDayDiff(e,r);if(!t)return[a];var n=this._getDayDiff(t,r),l=[];if(n>=a)for(var o=a;o<=n;)l.push(o),o++;return l}_getDayDiff(e,t){var s=(e-t)/86400;return Math.floor(s)}}var initUtilDate=utilEnviroment=>new DatesImpl(cjs.Api.config.get("app","US_time_format"),utilEnviroment)},1018(e,t,s){s.d(t,{r:()=>StringsImpl});class StringsImpl{constructor(e,t){this.charset=void 0,this.webLanguage=void 0,this._accents={},this._language="",this._locale="",this._letters={},this._lettersUpper={},this._localeCompareSupported=null,this._globalReplaceRegexCache={},this.LANG_GREEK="el",this.charset=e,this.webLanguage=t,this._fillAccents(),this._fillLetters(),this._setLocaleAndLanguage()}_fillLetters(){this._letters={tr:["i"],el:["ά","Î","ή","ί","Ï","Ï","Ï","Ï","Ï","Ï"]},this._lettersUpper={tr:["İ"],el:["Î","Î","Î","Î","Î","Î¥","Ω","Î","Î¥","Σ"]}}_setLocaleAndLanguage(){this._locale=(this.charset+"").replace("_","-"),this._language=this.webLanguage}_fillAccents(){this._accents={default:{Ã:"A",Ã:"A",Ã:"A",Ã:"A",Ã:"A",Ã
:"A",Ã:"AE",Ã:"C",Ã:"E",Ã:"E",Ã:"E",Ã:"E",Ã:"I",Ã:"I",Ã:"I",Ã:"I",Ã:"D",Ã:"N",Ã:"O",Ã:"O",Ã:"O",Ã:"O",Ã:"O",Ã:"O",Ã:"U",Ã:"U",Ã:"U",Ã:"U",Ã:"Y",Ã:"s",à :"a",á:"a",â:"a",ã:"a",ä:"a",Ã¥:"a",æ:"ae",ç:"c",è:"e",é:"e",ê:"e",ë:"e",ì:"i",Ã:"i",î:"i",ï:"i",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",ù:"u",ú:"u",û:"u",ü:"u",ý:"y",ÿ:"y",Ä:"A",Ä:"a",Ä:"A",Ä:"a",Ä:"A",Ä
:"a",Ä:"C",Ä:"c",Ä:"C",Ä:"c",Ä:"C",Ä:"c",Ä:"C",Ä:"c",Ä:"D",Ä:"d",Ä:"D",Ä:"d",Ä:"E",Ä:"e",Ä:"E",Ä:"e",Ä:"E",Ä:"e",Ä:"E",Ä:"e",Ä:"E",Ä:"e",Ä:"G",Ä:"g",Ä:"G",Ä:"g",Ä :"G",Ä¡:"g",Ä¢:"G",Ä£:"g",Ĥ:"H",Ä¥:"h",Ħ:"H",ħ:"h",Ĩ:"I",Ä©:"i",Ī:"I",Ä«:"i",Ĭ:"I",Ä:"i",Ä®:"I",į:"i",ı:"i",IJ:"IJ",ij:"ij",Ä´:"J",ĵ:"j",Ķ:"K",Ä·:"k",Ĺ:"L",ĺ:"l",Ä»:"L",ļ:"l",Ľ:"L",ľ:"l",Ä¿:"L",Å:"l",Å:"L",Å:"l",Å:"N",Å:"n",Å
:"N",Å:"n",Å:"N",Å:"n",Å:"n",Å:"O",Å:"o",Å:"O",Å:"o",Å:"O",Å:"o",Å:"OE",Å:"oe",Å:"R",Å:"r",Å:"R",Å:"r",Å:"R",Å:"r",Å:"S",Å:"s",Å:"S",Å:"s",Å:"S",Å:"s",Å :"S",Å¡:"s",Å¢:"T",Å£:"t",Ť:"T",Å¥:"t",Ŧ:"T",ŧ:"t",Ũ:"U",Å©:"u",Ū:"U",Å«:"u",Ŭ:"U",Å:"u",Å®:"U",ů:"u",Ű:"U",ű:"u",Ų:"U",ų:"u",Å´:"W",ŵ:"w",Ŷ:"Y",Å·:"y",Ÿ:"Y",Ź:"Z",ź:"z",Å»:"Z",ż:"z",Ž:"Z",ž:"z",Å¿:"s",Æ:"f",Æ :"O",Æ¡:"o",Ư:"U",ư:"u",Ç:"A",Ç:"a",Ç:"I",Ç:"i",Ç:"O",Ç:"o",Ç:"U",Ç:"u",Ç:"U",Ç:"u",Ç:"U",Ç:"u",Ç:"U",Ç:"u",Ç:"U",Ç:"u",Ǻ:"A",Ç»:"a",Ǽ:"AE",ǽ:"ae",Ǿ:"O",Ç¿:"o"},cs:{Ã:"Aÿ",Ä:"Cÿ",Ä:"Dÿ",Ã:"Eþ",Ä:"Eÿ",CH:"Hþ",Ch:"Hÿ",Ã:"Iÿ",Å:"Nÿ",Ã:"Oÿ",Å:"Rÿ",Å :"Sÿ",Ť:"Tÿ",Ã:"Uþ",Å®:"Uÿ",Ã:"Yÿ",Ž:"Zÿ",á:"aÿ",Ä:"cÿ",ch:"hÿ",Ä:"dÿ",é:"eï",Ä:"eÿ",Ã:"iÿ",Å:"nÿ",ó:"oÿ",Å:"rÿ",Å¡:"sÿ",Å¥:"tÿ",ú:"uï",ů:"uÿ",ý:"yÿ",ž:"zÿ"},da:{Ã:"Zý",Ã:"Zþ",Ã
:"Zÿ",æ:"zý",ø:"zþ",Ã¥:"zÿ"},de:{Ã:"Aÿ",Ã:"Oÿ",Ã:"Uÿ",ä:"aÿ",ö:"oÿ",ü:"uÿ"},en:{},"en-africa":{},"en-asia":{},"en-au":{},"en-ca":{},"en-india":{},"en-uk":{},"en-usa":{},el:{Î:"Aÿ",Î:"Bÿ",Î:"Cÿ",Î:"DxFF",Î:"Eÿ",Î:"Fÿ",Î:"Hÿ",Î:"Iþ",Î:"Iÿ",Î:"Kÿ",Î:"Lÿ",Î:"Mÿ",Î:"Nÿ",Î:"Oþ",Î:"Oÿ",Î :"Pþ",Ρ:"Pÿ",Σ:"Rÿ",Τ:"Tÿ",Î¥:"Yþ",Φ:"Yÿ",Χ:"Zý",Ψ:"Zþ",Ω:"Zÿ",Î:"Aý",Î:"Eý",Î:"Hþ",Î:"Iÿ",Î:"Oý",Î:"Vþ",Î:"Zÿ",ά:"aþ",α:"aÿ",β:"bÿ",γ:"cÿ",δ:"dÿ",Î:"eþ",ε:"eÿ",ζ:"fÿ",η:"gÿ",ή:"hþ",θ:"hÿ",ι:"iþ",ί:"iÿ",κ:"kÿ",λ:"lÿ",μ:"mÿ",ν:"nÿ",ξ:"oý",Ï:"oþ",ο:"oÿ",Ï:"pÿ",Ï:"rÿ",Ï:"sÿ",Ï:"tÿ",Ï
:"uÿ",Ï:"vï",Ï:"vÿ",Ï:"xÿ",Ï:"yÿ",Ï:"zï",Ï:"zÿ"},es:{Ã:"Nÿ",ñ:"nÿ"},fi:{Ã
:"Zý",Ã:"Zþ",Ã:"Zÿ",Ã¥:"zý",ä:"zþ",ö:"zÿ"},fr:{Ã:"Eý",Ã:"Eþ",Ã:"Eÿ",à :"aÿ",ç:"cÿ",é:"eý",è:"eþ",ê:"eÿ"},hr:{Ä:"Cþ",Ä:"Cÿ",DŽ:"Dþ",Dž:"Dþ",Ä:"Dÿ",LJ:"Lÿ",Lj:"Lÿ",NJ:"Nÿ",Nj:"Nÿ",Å :"Sÿ",Ž:"Zÿ",Ä:"cþ",Ä:"cÿ",dž:"dþ",Ä:"dÿ",lj:"lÿ",nj:"nÿ",Å¡:"sÿ",ž:"zÿ"},hu:{Ã:"Aþ","ÃÂ":"Aþ",CS:"Cÿ",Cs:"Cÿ",Dz:"Dþ",DZ:"Dþ",Dzs:"Dÿ",Ã:"Eÿ",Gy:"Gÿ",GY:"Gÿ",Ã:"Iÿ",Ly:"Lÿ",LY:"Lÿ",Ny:"Nÿ",NY:"Nÿ",Ã:"Oý",Ã:"Oþ",Å:"Oÿ",Sz:"Sÿ",SZ:"Sÿ",Ty:"Tÿ",TY:"Tÿ",Ã:"Uý",Ã:"Uþ",Ű:"Uÿ",Zs:"Zÿ",ZS:"Zÿ",á:"aÿ",cs:"cÿ",dz:"dþ",dzs:"dFF",é:"eÿ",gy:"gÿ",Ã:"iÿ",ly:"lÿ",ny:"nÿ",ó:"oý",ö:"oþ",Å:"oÿ",sz:"sÿ",ty:"tÿ",ú:"uý",ü:"uþ",ű:"uÿ",zs:"zÿ"},it:{Ã:"Aÿ",Ã:"Eÿ",Ã:"Iÿ",Ã:"Oÿ",Ã:"Uÿ",á:"aÿ",é:"eÿ",Ã:"iÿ",ó:"oÿ",ú:"uÿ"},lt:{Ä:"Aÿ",Ä:"Cÿ",Ä:"Eþ",Ä:"Eÿ",Ä®:"Iþ",Y:"Iÿ",Å :"Sÿ",Ų:"Uþ",Ū:"Uÿ",Ž:"Zÿ",Ä
:"aÿ",Ä:"cÿ",Ä:"eþ",Ä:"eÿ",į:"iþ",y:"iÿ",Å¡:"sÿ",ų:"uþ",Å«:"uÿ",ž:"zÿ"},nl:{Ã:"Aþ",Ã:"Aÿ",Ã:"Eþ",Ã:"Eÿ",Ã:"Iÿ",Ã:"Oþ",Ã:"Oÿ",Ã:"Uþ",Ã:"Uÿ",á:"aþ",ä:"aÿ",é:"eþ",ë:"eÿ",ï:"iÿ",ó:"oþ",ö:"oÿ",ú:"uþ",ü:"uÿ"},no:{Ã:"Zý",Ã:"Zþ",Ã
:"Zÿ",æ:"zý",ø:"zþ",Ã¥:"zÿ"},pl:{Ä:"Aÿ",Ä:"Cÿ",Ä:"Eÿ",Å:"Lÿ",Å:"Nÿ",Ã:"Oÿ",Å:"Sÿ",Ź:"Zþ",Å»:"Zÿ",Ä
:"aÿ",Ä:"cÿ",Ä:"eÿ",Å:"lÿ",Å:"nÿ",ó:"oÿ",Å:"sÿ",ź:"zþ",ż:"zÿ"},pt:{Ã:"Aÿ",Ã:"Eÿ",Ã:"Iÿ",Ã:"Oÿ",Ã:"Uÿ",á:"aÿ",é:"eÿ",Ã:"iÿ",ó:"oÿ",ú:"uÿ"},"pt-br":{Ã:"Aü",Ã:"Aý",Ã:"Aþ",Ã:"Aÿ",Ã:"Cÿ",Ã:"Eþ",Ã:"Eÿ",Ã:"Iÿ",Ã:"Oý",Ã:"Oþ",Ã:"Oÿ",Ã:"Uþ",Ã:"Uÿ",à :"aü",á:"aý",â:"aþ",ã:"aÿ",ç:"cÿ",é:"eþ",ê:"eÿ",Ã:"iÿ",ó:"oý",ô:"oþ",õ:"oÿ",ú:"uþ",ü:"uÿ"},ro:{Ä:"Aþ",Ã:"Aÿ",Ã:"Iÿ",È:"Sÿ",È:"Tþ",Å¢:"Tÿ",Ä:"aþ",â:"aÿ",È:"sÿ",È:"tÿ"},ru:{Ð:"Aú",Ð:"Aû",Ð:"Aü",Ð:"Aý",Ð:"Aþ",Ð:"Aÿ",Ð:"Bú",Ð:"Bû",Ð:"Bü",Ð:"Bý",Ð:"Bþ",Ð:"Bÿ",Ð:"Cú",Ð:"Cû",Ð:"Cü",Ð:"Cý",Ð:"Cþ",Ð :"Cÿ",С:"Dú",Т:"Dû",У:"Dü",Ф:"Dý",Ð¥:"Dþ",Ц:"Dÿ",Ч:"Eú",Ш:"Eû",Щ:"Eü",Ъ:"Eý",Ы:"Eþ",Ь:"Eÿ",Ð:"Fý",Ю:"Fþ",Я:"Fÿ",а:"aú",б:"aû",в:"aü",г:"aý",д:"aþ",е:"aÿ",Ñ:"bú",ж:"bû",з:"bü",и:"bý",й:"bþ",к:"bÿ",л:"cú",м:"cû",н:"cü",о:"cý",п:"cþ",Ñ:"cÿ",Ñ:"dú",Ñ:"dû",Ñ:"dü",Ñ:"dý",Ñ
:"dþ",Ñ:"dÿ",Ñ:"eú",Ñ:"eû",Ñ:"eü",Ñ:"eý",Ñ:"eþ",Ñ:"eÿ",Ñ:"fý",Ñ:"fþ",Ñ:"fÿ"},sk:{Ã:"Aþ",Ã:"Aÿ",Ä:"Cÿ",Ä:"Dý",DZ:"Dþ",DŽ:"Dÿ",Dz:"Dþ",Dž:"Dÿ",Ã:"Eÿ",CH:"Hþ",Ch:"Hÿ",Ã:"Iÿ",Ĺ:"Lþ",Ľ:"Lÿ",Å:"Nÿ",Ã:"Oþ",Ã:"Oÿ",Å:"Rÿ",Å :"Sÿ",Ť:"Tÿ",Ã:"Uÿ",Ã:"Yÿ",Ž:"Zÿ",á:"aþ",ä:"aÿ",Ä:"cÿ",Ä:"dý",dz:"dþ",dž:"dÿ",é:"eÿ",ch:"hÿ",Ã:"iÿ",ĺ:"lþ",ľ:"lÿ",Å:"nÿ",ó:"oþ",ô:"oÿ",Å:"rÿ",Å¡:"sÿ",Å¥:"tÿ",ú:"uÿ",ý:"yÿ",ž:"zÿ"},sl:{Ä:"Cÿ",Å :"Sÿ",Ž:"Zÿ",Ä:"cÿ",Å¡:"sÿ",ž:"zÿ"},sr:{Ä:"Cþ",Ä:"Cÿ",DŽ:"Dþ",Ä:"Dÿ",LJ:"Lÿ",NJ:"Nÿ",Lj:"Lÿ",Nj:"Nÿ",Å :"Sÿ",Ž:"Zÿ",Ä:"cþ",Ä:"cÿ",dž:"dþ",Ä:"dÿ",lj:"lÿ",nj:"nÿ",Å¡:"sÿ",ž:"zÿ"},sv:{Ã
:"Zý",Ã:"Zþ",Ã:"Zÿ",Ã¥:"zý",ä:"zþ",ö:"zÿ"},tr:{Ã:"Cÿ",Ä:"Gÿ",İ:"Iÿ",Ã:"Oÿ",Å:"Sÿ",Ã:"Uÿ",ç:"cÿ",Ä:"gÿ",ı:"hÿ",ö:"oÿ",Å:"sÿ",ü:"uÿ"},vi:{Ä:"Aþ",Ã:"Aÿ",Ä:"Dÿ",Ã:"Eÿ",Ã:"Oþ",Æ :"Oÿ",Ư:"Uÿ",Ä:"aþ",â:"aÿ",Ä:"dÿ",ê:"eÿ",ô:"oþ",Æ¡:"oÿ",ư:"uÿ"}},this._accents["de-at"]=this._accents.de,this._accents.in=this._accents.en,this._accents.ms=this._accents.en,this._fillMissingAccentsFromDefault()}_fillMissingAccentsFromDefault(){var e="",t="",s="";for(t in this._accents)if("default"!==t)for(e in this._accents.default)s=this._accents.default[e],null==this._accents[t][e]&&(this._accents[t][e]=s)}_globalReplace(e,t,s){if(!this._globalReplaceRegexCache.hasOwnProperty(s)){var i=[];for(var r in t)i.push(r);if(!i.length)return e;this._globalReplaceRegexCache[s]=new RegExp(i.join("|"),"g")}return e.replace(this._globalReplaceRegexCache[s],e=>t[e])}toUpperFirstChar(e){return e.charAt(0).toUpperCase()+e.slice(1)}toUpper(e){var t,s;
1if(this._language===this.LANG_GREEK?(t=e.charAt(0).toUpperCase(),s=e.slice(1)):(t="",s=e),this._letters[this._language]&&this._letters[this._language].length===this._lettersUpper[this._language].length)for(var i=0;i<=this._letters[this._language].length-1;i++){var r=new RegExp(this._letters[this._language][i],"g");s=s.replace(r,this._lettersUpper[this._language][i])}return t+s.toUpperCase()}ltrim(e,t){return void 0===t&&(t="\\s"),e.replace(new RegExp("^"+t+"+","g"),"")}rtrim(e,t){return void 0===t&&(t="\\s"),e.replace(new RegExp(t+"+$","g"),"")}trim(e,t){return void 0===t&&(t="\\s"),e.replace(new RegExp("^"+t+"+|"+t+"+$","g"),"")}pad(e,t,s,i){void 0===s&&(s=" "),void 0===i&&(i=!1);var r=e,a=t-e.length,n="";if(a<0)r=e.substring(0,t);else if(a>0&&s.length>0)for(var l=1;l<=a/s.length;l++)n+=s;return r=i?n+r:r+n}lpad(e,t,s){return void 0===s&&(s=" "),this.pad(e,t,s,!0)}rpad(e,t,s){return void 0===s&&(s=" "),this.pad(e,t,s)}fastCompare(e,t){return e===t?0:e<t?-1:1}compare(e,t){return this.isLocaleCompareSupported()?e.localeCompare(t,this._locale):this.fastCompare(e,t)}isLocaleCompareSupported(){if("boolean"!=typeof this._localeCompareSupported&&(this._localeCompareSupported=!1,this._locale&&"function"==typeof"".localeCompare))try{"".localeCompare("",this._locale),this._localeCompareSupported=!0}
1catch(e){}return this._localeCompareSupported}replaceAccents(e){var t=this.hasAccentsForLanguage()?this._language:"default";return this._globalReplace(e,this._accents[t],t)}hasAccentsForLanguage(){return!(!this._accents||!this._accents[this._language])}}}}]);
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.