define(["Marionette"],function(a){return a.ItemView.extend({className:"maxDiv",initialize:function(a){this.isNext=a.isNext,_.bindAll(this,"template")},template:function(){return window.Tmpl.nextPrev({isNext:this.isNext})},events:{"click .action":"triggerHandler"},triggerHandler:function(a){componentUtils.stopEvent(a),this.trigger("request:"+a.currentTarget.dataset.action,a.currentTarget.dataset.id)}})});