function toggleMenu(e,t){e.menuActive?(e.animate(t.close),e.menuActive=!1):(e.animate(t.open),e.menuActive=!0)}function closeWindow(e){e.close(),e.destroy&&e.destroy(),e=null}function isNum(e){return!isNaN(parseFloat(e))&&isFinite(e)}function padEditionLabel(e,t,i,s){if("right"===s)switch(e){case"iran":case"ar":case"ar-eg":case"ar-sa":return i+t;default:return t+i}else switch(e){case"iran":case"ar":case"ar-eg":case"ar-sa":return t+i;default:return i+t}}function setFavouriteTeams(e){Alloy.Globals.favourites.teams=e,Ti.App.Properties.setList("favouriteTeams",e)}function setFavouriteLeagues(e){Alloy.Globals.favourites.leagues=e,Ti.App.Properties.setList("favouriteLeagues",e),infoStringify("favouriteLeagues",e)}function setTeams(e){Alloy.Globals.teams=e,Ti.App.Properties.setList("teams",e),Ti.App.Properties.setString("teamEdition",Ti.App.Properties.getString("settingEdition"))}var info=function(){},infoStringify=function(e){try{}catch(t){Ti.API.info(e+" >>> EX:"+t)}},error=function(){};exports.i=info,exports.is=infoStringify,exports.e=error,exports.toggleMenu=toggleMenu,exports.closeWindow=closeWindow,exports.isNum=isNum,exports.padEditionLabel=padEditionLabel,exports.setFaveTeams=setFavouriteTeams,exports.setFaveLeagues=setFavouriteLeagues,exports.setTeams=setTeams;