"use strict";define(["app","handlebars","View","text!/v2/webapps/FirstAccess/SignInMulti/Templates/SignInMultiTemplate.html","utils"],function(d,f,e,c,b){var a=e.extend({signInMultiTemplate:f.compile(c),events:{'click input[type="submit"]':"submit","click #quit, #quit-sidebar":"quit"},quit:function(g){g.preventDefault();d.instance().router.navigate("/FirstAccess");return false;},submit:function(g){g.preventDefault();var h=$(g.target).attr("data-appt");this.trigger("view:submit",parseInt(h,10));},initialize:function(g){e.prototype.initialize.apply(this,arguments);this.options=g||{};},render:function(g){e.prototype.render.apply(this,arguments);this.$el.html(this.signInMultiTemplate(g));this.$el.find(".logo").css({background:"url("+d.instance().Cache.logo+")"});return this;}});return a;});