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