var _favMatchKey="MyGames_MatchID",_favLeagueKey="MyGames_LeagueID",_favTeamKey="MyGames_TeamID",_favCleanKey="MyGames_NeedClean",_maxFavLength=2600,Config={},_soccerInpageVersionCookie;Config.getFavMatchIds=function(){let n=getCookie(_favMatchKey);return n?n.split(","):[]};Config.setFavMatchIds=function(n){while(n.toString().length>_maxFavLength)n.splice(0,1);let t=n.join(",");writeShareCookie(_favMatchKey,t,new Date((new Date).getTime()+1296e6));countFavMatch()};Config.getFavLeagueIds=function(){let n=getCookie(_favLeagueKey);return n?n.split(","):[]};Config.setFavLeagueIds=function(n){while(n.toString().length>_maxFavLength)n.splice(0,1);let t=n.join(",");writeShareCookie(_favLeagueKey,t,new Date((new Date).getTime()+1296e6));countFavMatch()};Config.getFavTeamIds=function(){let n=getCookie(_favTeamKey);return n?n.split(","):[]};Config.setFavTeamIds=function(n){while(n.toString().length>_maxFavLength)n.splice(0,1);let t=n.join(",");writeShareCookie(_favTeamKey,t,new Date((new Date).getTime()+1296e6));countFavMatch()};Config.isFavNeedClean=function(){let n=getCookie(_favCleanKey);return CheckEmpty(n)&&!CheckEmpty(this.getFavMatchIds())?!0:!1};Config.hasCleanMatchFav=function(){writeShareCookie(_favCleanKey,1,new Date((new Date).getTime()+2592e5))};_soccerInpageVersionCookie="Soccer_SummaryInpage";Config.isSummaryInpage=function(){let n=getCookie(_soccerInpageVersionCookie);return n==1?!0:!1}
