"use strict";var tributeDemo={init:function(){this.bindUIActions()},bindUIActions:function(){this.handleTributes()},handleTributes:function(){new Tribute({values:this.getNames()}).attach($("#tributeDemo1")[0]),new Tribute({values:this.getNames(),menuItemTemplate:function(a){return'<span class="user-avatar user-avatar-sm mr-2"><img src="'+a.original.avatar+'"></span> '+a.string}}).attach($("#tributeDemo2")[0]),new Tribute({values:this.getNames(),selectTemplate:function(a){return'<a href="#"><strong>@'+a.original.value+"</strong></a>"},menuItemTemplate:function(a){return'<span class="user-avatar user-avatar-sm mr-2"><img src="'+a.original.avatar+'"></span> '+a.string}}).attach($("#tributeDemo3")[0])},getNames:function(){return[{key:"Peeta Mellark",value:"peetm",avatar:"assets/images/avatars/uifaces1.jpg"},{key:"Cinna",value:"cinnastyles",avatar:"assets/images/avatars/uifaces2.jpg"},{key:"Rue",value:"rue74",avatar:"assets/images/avatars/uifaces3.jpg"},{key:"Foxface",value:"Foxyweapons",avatar:"assets/images/avatars/uifaces4.jpg"},{key:"Cato",value:"catod2",avatar:"assets/images/avatars/uifaces5.jpg"},{key:"Clove",value:"clove74",avatar:"assets/images/avatars/uifaces6.jpg"},{key:"Thresh",value:"tmoney",avatar:"assets/images/avatars/uifaces7.jpg"},{key:"Glimmer",value:"glimmerofhope",avatar:"assets/images/avatars/uifaces8.jpg"},{key:"Marvel",value:"MarvelvsDC",avatar:"assets/images/avatars/uifaces9.jpg"},{key:"Effie Trinket",value:"effetiquette",avatar:"assets/images/avatars/uifaces10.jpg"},{key:"Haymitch Abernathy ",value:"heymentor",avatar:"assets/images/avatars/uifaces11.jpg"},{key:"Gale Hawthorne",value:"ghaw",avatar:"assets/images/avatars/uifaces12.jpg"},{key:"Primrose Everdeen",value:"primhealer",avatar:"assets/images/avatars/uifaces13.jpg"},{key:"Madge Undersee",value:"madfire",avatar:"assets/images/avatars/uifaces14.jpg"},{key:"President Snow",value:"panem_master",avatar:"assets/images/avatars/uifaces15.jpg"},{key:"Finnick Odair",value:"odaircpr",avatar:"assets/images/avatars/uifaces16.jpg"},{key:"Mags",value:"oldthunder",avatar:"assets/images/avatars/uifaces17.jpg"},{key:"Johanna Mason",value:"jmtrator",avatar:"assets/images/avatars/uifaces18.jpg"},{key:"Beetee Latier",value:"wire_guided",avatar:"assets/images/avatars/uifaces19.jpg"},{key:"Wiress",value:"finisher",avatar:"assets/images/avatars/uifaces20.jpg"},{key:"Enobaria",value:"blade_tooth",avatar:"assets/images/avatars/uifaces1.jpg"}]}};tributeDemo.init();