"use strict";define(["View"],function(b){var a=b.extend({timeoutId:null,events:{},initialize:function(c){b.prototype.initialize.apply(this,arguments);this.options=c||{};},close:function(){var c=$("#notify");c.removeClass("slideup").addClass("slidedown");this.timeoutId=null;c.hide();c.removeAttr("style");$("#closePopup").off("click");},render:function(d){$("#closePopup").on("click",this.close);var c=$("#notify");if(this.options.css){c.css(this.options.css);}if(c.hasClass("slideup")===true){return;}c.find(".title").text(d);c.addClass("slideup");if(this.timeoutId!==null){window.clearTimeout(this.timeoutId);}}});return a;});