"+this.options.message+"<\/div>","<\/div>"].join("")).data("notifyMessage",this);this.options.status&&(this.element.addClass("alert alert-"+this.options.status),this.currentstatus=this.options.status);this.group=this.options.group;t[this.uuid]=this;i[this.options.pos]||(i[this.options.pos]=n('
<\/div>').appendTo("body").on("click",".uk-notify-message",function(){n(this).data("notifyMessage").close()}))};return n.extend(r.prototype,{uuid:!1,element:!1,timout:!1,currentstatus:"",group:!1,show:function(){var n,t;if(!this.element.is(":visible"))return n=this,i[this.options.pos].show().prepend(this.element),t=parseInt(this.element.css("margin-bottom"),10),this.element.css({opacity:0,"margin-top":-1*this.element.outerHeight(),"margin-bottom":0}).animate({opacity:1,"margin-top":0,"margin-bottom":t},function(){if(n.options.timeout){var t=function(){n.close()};n.timeout=setTimeout(t,n.options.timeout);n.element.hover(function(){clearTimeout(n.timeout)},function(){n.timeout=setTimeout(t,n.options.timeout)})}}),this},close:function(n){var r=this,u=function(){r.element.remove();i[r.options.pos].children().length||i[r.options.pos].hide();delete t[r.uuid]};this.timeout&&clearTimeout(this.timeout);n?u():this.element.animate({opacity:0,"margin-top":-1*this.element.outerHeight(),"margin-bottom":0},function(){u()})},content:function(n){var t=this.element.find(">div");return n?(t.html(n),this):t.html()},status:function(n){return n?(this.element.removeClass("alert alert-"+this.currentstatus).addClass("alert alert-"+n),this.currentstatus=n,this):this.currentstatus}}),r.defaults={message:"",status:"normal",timeout:2e3,group:null,pos:"top-center"},n.notify=u,n.notify.message=r,n.notify.closeAll=f,u}(jQuery,window,document)