function Controller(){function e(){t.teamSelectTableRow.favourite?(t.favouriteStar.backgroundImage="images/iconFavouriteOff.png",t.teamSelectTableRow.favourite=!1):(t.favouriteStar.backgroundImage="images/iconFavouriteOn.png",t.teamSelectTableRow.favourite=!0)}require("alloy/controllers/BaseController").apply(this,Array.prototype.slice.call(arguments)),this.__controllerPath="teamSelectTableRow",arguments[0]?arguments[0].__parentSymbol:null,arguments[0]?arguments[0].$model:null,arguments[0]?arguments[0].__itemTemplate:null;var t=this,a={};t.__views.teamSelectTableRow=Ti.UI.createTableViewRow({backgroundColor:Alloy.CFG.colors.darkBlue,height:46,id:"teamSelectTableRow"}),t.__views.teamSelectTableRow&&t.addTopLevelView(t.__views.teamSelectTableRow),t.__views.activeBar=Ti.UI.createView({width:5,left:0,backgroundColor:"transparent",id:"activeBar"}),t.__views.teamSelectTableRow.add(t.__views.activeBar),t.__views.logo=Ti.UI.createImageView({width:32,height:Ti.UI.SIZE,left:10,touchEnabled:!1,id:"logo"}),t.__views.teamSelectTableRow.add(t.__views.logo),t.__views.title=Ti.UI.createLabel({font:{fontSize:14,fontFamily:Alloy.CFG.fonts.default},left:52,color:Alloy.CFG.colors.white,id:"title"}),t.__views.teamSelectTableRow.add(t.__views.title),t.__views.favouriteStar=Ti.UI.createView({width:33,height:33,backgroundImage:"images/iconFavouriteOff.png",right:64,visible:!1,id:"favouriteStar"}),t.__views.teamSelectTableRow.add(t.__views.favouriteStar),a.destroy=function(){},_.extend(t,t.__views),require("helpers");var l=arguments[0]||{};t.teamSelectTableRow.args={id:l.id,name:l.title},t.teamSelectTableRow.favourite=!1,l.active&&e(),t.teamSelectTableRow.controller="team",t.teamSelectTableRow.activeBar=t.activeBar,t.title.text=l.title,t.logo.image=l.logo,t.teamSelectTableRow.toggle=e,_.extend(t,a)}var Alloy=require("alloy"),Backbone=Alloy.Backbone,_=Alloy._;module.exports=Controller;