"use strict";define(["app","handlebars","View","text!/v2/webapps/FirstAccess/Success/Templates/SuccessTemplate.html","utils"],function(c,e,d,f,a){var b=d.extend({id:"success",successTemplate:e.compile(f),events:{"click #quit, #quit-sidebar":"quit"},quit:function(g){g.preventDefault();this.trigger("view:quit");c.instance().router.navigate("/FirstAccess");return false;},initialize:function(g){d.prototype.initialize.apply(this,arguments);this.options=g||{};},render:function(g){d.prototype.render.apply(this,arguments);this.$el.html(this.successTemplate(g));this.$el.find(".logo").css({background:"url("+c.instance().Cache.logo+")"});return this;}});return b;});