"function"!=typeof Object.create&&(Object.create=function(a){function b(){}return b.prototype=a,new b});var NotyObject={init:function(a){return this.options=$.extend({},$.noty.defaults,a),this.options.layout=this.options.custom?$.noty.layouts.inline:$.noty.layouts[this.options.layout],$.noty.themes[this.options.theme]?this.options.theme=$.noty.themes[this.options.theme]:a.themeClassName=this.options.theme,delete a.layout,delete a.theme,this.options=$.extend({},this.options,this.options.layout.options),this.options.id="noty_"+(new Date).getTime()*Math.floor(1e6*Math.random()),this.options=$.extend({},this.options,a),this._build(),this},_build:function(){var a=$('
').attr("id",this.options.id);if(a.append(this.options.template).find(".noty_text").html(this.options.text),this.$bar=null!==this.options.layout.parent.object?$(this.options.layout.parent.object).css(this.options.layout.parent.css).append(a):a,this.options.themeClassName&&this.$bar.addClass(this.options.themeClassName).addClass("noty_container_type_"+this.options.type),this.options.buttons){this.options.closeWith=[],this.options.timeout=!1;var b=$("").addClass("noty_buttons");null!==this.options.layout.parent.object?this.$bar.find(".noty_bar").append(b):this.$bar.append(b);var c=this;$.each(this.options.buttons,function(a,b){var d=$("").addClass(b.addClass?b.addClass:"gray").html(b.text).attr("id",b.id?b.id:"button-"+a).appendTo(c.$bar.find(".noty_buttons")).on("click",function(){$.isFunction(b.onClick)&&b.onClick.call(d,c)})})}this.$message=this.$bar.find(".noty_message"),this.$closeButton=this.$bar.find(".noty_close"),this.$buttons=this.$bar.find(".noty_buttons"),$.noty.store[this.options.id]=this},show:function(){var a=this;return a.options.custom?a.options.custom.find(a.options.layout.container.selector).append(a.$bar):$(a.options.layout.container.selector).append(a.$bar),a.options.theme&&a.options.theme.style&&a.options.theme.style.apply(a),"function"===$.type(a.options.layout.css)?this.options.layout.css.apply(a.$bar):a.$bar.css(this.options.layout.css||{}),a.$bar.addClass(a.options.layout.addClass),a.options.layout.container.style.apply($(a.options.layout.container.selector)),a.showing=!0,a.options.theme&&a.options.theme.style&&a.options.theme.callback.onShow.apply(this),$.inArray("click",a.options.closeWith)>-1&&a.$bar.css("cursor","pointer").one("click",function(b){a.stopPropagation(b),a.options.callback.onCloseClick&&a.options.callback.onCloseClick.apply(a),a.close()}),$.inArray("hover",a.options.closeWith)>-1&&a.$bar.one("mouseenter",function(){a.close()}),$.inArray("button",a.options.closeWith)>-1&&a.$closeButton.one("click",function(b){a.stopPropagation(b),a.close()}),-1==$.inArray("button",a.options.closeWith)&&a.$closeButton.remove(),a.options.callback.onShow&&a.options.callback.onShow.apply(a),"string"==typeof a.options.animation.open?(a.$bar.css("height",a.$bar.innerHeight()),a.$bar.show().addClass(a.options.animation.open).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function(){a.options.callback.afterShow&&a.options.callback.afterShow.apply(a),a.showing=!1,a.shown=!0})):a.$bar.animate(a.options.animation.open,a.options.animation.speed,a.options.animation.easing,function(){a.options.callback.afterShow&&a.options.callback.afterShow.apply(a),a.showing=!1,a.shown=!0}),a.options.timeout&&a.$bar.delay(a.options.timeout).promise().done(function(){a.close()}),this},close:function(){if(!(this.closed||this.$bar&&this.$bar.hasClass("i-am-closing-now"))){var a=this;if(this.showing)return a.$bar.queue(function(){a.close.apply(a)}),void 0;if(this.$bar.dequeue(),!this.shown&&!this.showing){var b=[];return $.each($.noty.queue,function(c,d){d.options.id!=a.options.id&&b.push(d)}),$.noty.queue=b,void 0}a.$bar.addClass("i-am-closing-now"),a.options.callback.onClose&&a.options.callback.onClose.apply(a),"string"==typeof a.options.animation.close?a.$bar.addClass(a.options.animation.close).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function(){a.options.callback.afterClose&&a.options.callback.afterClose.apply(a),a.closeCleanUp()}):a.$bar.clearQueue().stop().animate(a.options.animation.close,a.options.animation.speed,a.options.animation.easing,function(){a.options.callback.afterClose&&a.options.callback.afterClose.apply(a)}).promise().done(function(){a.closeCleanUp()})}},closeCleanUp:function(){var a=this;a.options.modal&&($.notyRenderer.setModalCount(-1),0==$.notyRenderer.getModalCount()&&$(".noty_modal").fadeOut("fast",function(){$(this).remove()})),$.notyRenderer.setLayoutCountFor(a,-1),0==$.notyRenderer.getLayoutCountFor(a)&&$(a.options.layout.container.selector).remove(),"undefined"!=typeof a.$bar&&null!==a.$bar&&("string"==typeof a.options.animation.close?(a.$bar.css("transition","all 100ms ease").css("border",0).css("margin",0).height(0),a.$bar.one("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(){a.$bar.remove(),a.$bar=null,a.closed=!0,a.options.theme.callback&&a.options.theme.callback.onClose&&a.options.theme.callback.onClose.apply(a)})):(a.$bar.remove(),a.$bar=null,a.closed=!0)),delete $.noty.store[a.options.id],a.options.theme.callback&&a.options.theme.callback.onClose&&a.options.theme.callback.onClose.apply(a),a.options.dismissQueue||($.noty.ontap=!0,$.notyRenderer.render()),a.options.maxVisible>0&&a.options.dismissQueue&&$.notyRenderer.render()},setText:function(a){return this.closed||(this.options.text=a,this.$bar.find(".noty_text").html(a)),this},setType:function(a){return this.closed||(this.options.type=a,this.options.theme.style.apply(this),this.options.theme.callback.onShow.apply(this)),this},setTimeout:function(a){if(!this.closed){var b=this;this.options.timeout=a,b.$bar.delay(b.options.timeout).promise().done(function(){b.close()})}return this},stopPropagation:function(a){a=a||window.event,"undefined"!=typeof a.stopPropagation?a.stopPropagation():a.cancelBubble=!0},closed:!1,showing:!1,shown:!1};$.notyRenderer={},$.notyRenderer.init=function(a){var b=Object.create(NotyObject).init(a);return b.options.killer&&$.noty.closeAll(),b.options.force?$.noty.queue.unshift(b):$.noty.queue.push(b),$.notyRenderer.render(),"object"==$.noty.returns?b:b.options.id},$.notyRenderer.render=function(){var a=$.noty.queue[0];"object"===$.type(a)?a.options.dismissQueue?a.options.maxVisible>0?$(a.options.layout.container.selector+" li").length").addClass("noty_modal").addClass(a.options.theme).data("noty_modal_count",0);a.options.theme.modal&&a.options.theme.modal.css&&b.css(a.options.theme.modal.css),b.prependTo($("body")).fadeIn("fast"),$.inArray("backdrop",a.options.closeWith)>-1&&b.on("click",function(){$.noty.closeAll()})}},$.notyRenderer.getLayoutCountFor=function(a){return $(a.options.layout.container.selector).data("noty_layout_count")||0},$.notyRenderer.setLayoutCountFor=function(a,b){return $(a.options.layout.container.selector).data("noty_layout_count",$.notyRenderer.getLayoutCountFor(a)+b)},$.notyRenderer.getModalCount=function(){return $(".noty_modal").data("noty_modal_count")||0},$.notyRenderer.setModalCount=function(a){return $(".noty_modal").data("noty_modal_count",$.notyRenderer.getModalCount()+a)},$.fn.noty=function(a){return a.custom=$(this),$.notyRenderer.init(a)},$.noty={},$.noty.queue=[],$.noty.ontap=!0,$.noty.layouts={},$.noty.themes={},$.noty.returns="object",$.noty.store={},$.noty.get=function(a){return $.noty.store.hasOwnProperty(a)?$.noty.store[a]:!1},$.noty.close=function(a){return $.noty.get(a)?$.noty.get(a).close():!1},$.noty.setText=function(a,b){return $.noty.get(a)?$.noty.get(a).setText(b):!1},$.noty.setType=function(a,b){return $.noty.get(a)?$.noty.get(a).setType(b):!1},$.noty.clearQueue=function(){$.noty.queue=[]},$.noty.closeAll=function(){$.noty.clearQueue(),$.each($.noty.store,function(a,b){b.close()})};var windowAlert=window.alert;$.noty.consumeAlert=function(a){window.alert=function(b){a?a.text=b:a={text:b},$.notyRenderer.init(a)}},$.noty.stopConsumeAlert=function(){window.alert=windowAlert},$.noty.defaults={layout:"top",theme:"defaultTheme",type:"alert",text:"",dismissQueue:!0,template:'',animation:{open:{height:"toggle"},close:{height:"toggle"},easing:"swing",speed:500},timeout:!1,force:!1,modal:!1,maxVisible:5,killer:!1,closeWith:["click"],callback:{onShow:function(){},afterShow:function(){},onClose:function(){},afterClose:function(){},onCloseClick:function(){}},buttons:!1},$(window).on("resize",function(){$.each($.noty.layouts,function(a,b){b.container.style.apply($(b.container.selector))})}),window.noty=function(a){return jQuery.notyRenderer.init(a)},$.noty.layouts.bottom={name:"bottom",options:{},container:{object:'',selector:"ul#noty_bottom_layout_container",style:function(){$(this).css({bottom:0,left:"5%",position:"fixed",width:"90%",height:"auto",margin:0,padding:0,listStyleType:"none",zIndex:9999999})}},parent:{object:"",selector:"li",css:{}},css:{display:"none"},addClass:""},$.noty.layouts.bottomCenter={name:"bottomCenter",options:{},container:{object:'',selector:"ul#noty_bottomCenter_layout_container",style:function(){$(this).css({bottom:20,left:0,position:"fixed",width:"310px",height:"auto",margin:0,padding:0,listStyleType:"none",zIndex:1e7}),$(this).css({left:($(window).width()-$(this).outerWidth(!1))/2+"px"})}},parent:{object:"",selector:"li",css:{}},css:{display:"none",width:"310px"},addClass:""},$.noty.layouts.bottomLeft={name:"bottomLeft",options:{},container:{object:'',selector:"ul#noty_bottomLeft_layout_container",style:function(){$(this).css({bottom:20,left:20,position:"fixed",width:"310px",height:"auto",margin:0,padding:0,listStyleType:"none",zIndex:1e7}),window.innerWidth<600&&$(this).css({left:5})}},parent:{object:"",selector:"li",css:{}},css:{display:"none",width:"310px"},addClass:""},$.noty.layouts.bottomRight={name:"bottomRight",options:{},container:{object:'',selector:"ul#noty_bottomRight_layout_container",style:function(){$(this).css({bottom:20,right:20,position:"fixed",width:"310px",height:"auto",margin:0,padding:0,listStyleType:"none",zIndex:1e7}),window.innerWidth<600&&$(this).css({right:5})}},parent:{object:"",selector:"li",css:{}},css:{display:"none",width:"310px"},addClass:""},$.noty.layouts.center={name:"center",options:{},container:{object:'',selector:"ul#noty_center_layout_container",style:function(){$(this).css({position:"fixed",width:"310px",height:"auto",margin:0,padding:0,listStyleType:"none",zIndex:1e7});var a=$(this).clone().css({visibility:"hidden",display:"block",position:"absolute",top:0,left:0}).attr("id","dupe");$("body").append(a),a.find(".i-am-closing-now").remove(),a.find("li").css("display","block");var b=a.height();a.remove(),$(this).hasClass("i-am-new")?$(this).css({left:($(window).width()-$(this).outerWidth(!1))/2+"px",top:($(window).height()-b)/2+"px"}):$(this).animate({left:($(window).width()-$(this).outerWidth(!1))/2+"px",top:($(window).height()-b)/2+"px"},500)}},parent:{object:"",selector:"li",css:{}},css:{display:"none",width:"310px"},addClass:""},$.noty.layouts.centerLeft={name:"centerLeft",options:{},container:{object:'',selector:"ul#noty_centerLeft_layout_container",style:function(){$(this).css({left:20,position:"fixed",width:"310px",height:"auto",margin:0,padding:0,listStyleType:"none",zIndex:1e7});var a=$(this).clone().css({visibility:"hidden",display:"block",position:"absolute",top:0,left:0}).attr("id","dupe");$("body").append(a),a.find(".i-am-closing-now").remove(),a.find("li").css("display","block");var b=a.height();a.remove(),$(this).hasClass("i-am-new")?$(this).css({top:($(window).height()-b)/2+"px"}):$(this).animate({top:($(window).height()-b)/2+"px"},500),window.innerWidth<600&&$(this).css({left:5})}},parent:{object:"",selector:"li",css:{}},css:{display:"none",width:"310px"},addClass:""},$.noty.layouts.centerRight={name:"centerRight",options:{},container:{object:'',selector:"ul#noty_centerRight_layout_container",style:function(){$(this).css({right:20,position:"fixed",width:"310px",height:"auto",margin:0,padding:0,listStyleType:"none",zIndex:1e7});var a=$(this).clone().css({visibility:"hidden",display:"block",position:"absolute",top:0,left:0}).attr("id","dupe");$("body").append(a),a.find(".i-am-closing-now").remove(),a.find("li").css("display","block");var b=a.height();a.remove(),$(this).hasClass("i-am-new")?$(this).css({top:($(window).height()-b)/2+"px"}):$(this).animate({top:($(window).height()-b)/2+"px"},500),window.innerWidth<600&&$(this).css({right:5})}},parent:{object:"",selector:"li",css:{}},css:{display:"none",width:"310px"},addClass:""},$.noty.layouts.inline={name:"inline",options:{},container:{object:'',selector:"ul.noty_inline_layout_container",style:function(){$(this).css({width:"100%",height:"auto",margin:0,padding:0,listStyleType:"none",zIndex:9999999})}},parent:{object:"",selector:"li",css:{}},css:{display:"none"},addClass:""},$.noty.layouts.top={name:"top",options:{},container:{object:'',selector:"ul#noty_top_layout_container",style:function(){$(this).css({top:0,left:"5%",position:"fixed",width:"90%",height:"auto",margin:0,padding:0,listStyleType:"none",zIndex:9999999})}},parent:{object:"",selector:"li",css:{}},css:{display:"none"},addClass:""},$.noty.layouts.topCenter={name:"topCenter",options:{},container:{object:'',selector:"ul#noty_topCenter_layout_container",style:function(){$(this).css({top:20,left:0,position:"fixed",width:"310px",height:"auto",margin:0,padding:0,listStyleType:"none",zIndex:1e7}),$(this).css({left:($(window).width()-$(this).outerWidth(!1))/2+"px"})}},parent:{object:"",selector:"li",css:{}},css:{display:"none",width:"310px"},addClass:""},$.noty.layouts.topLeft={name:"topLeft",options:{},container:{object:'',selector:"ul#noty_topLeft_layout_container",style:function(){$(this).css({top:20,left:20,position:"fixed",width:"310px",height:"auto",margin:0,padding:0,listStyleType:"none",zIndex:1e7}),window.innerWidth<600&&$(this).css({left:5})}},parent:{object:"",selector:"li",css:{}},css:{display:"none",width:"310px"},addClass:""},$.noty.layouts.topRight={name:"topRight",options:{},container:{object:'',selector:"ul#noty_topRight_layout_container",style:function(){$(this).css({top:20,right:20,position:"fixed",width:"310px",height:"auto",margin:0,padding:0,listStyleType:"none",zIndex:1e7}),window.innerWidth<600&&$(this).css({right:5})}},parent:{object:"",selector:"li",css:{}},css:{display:"none",width:"310px"},addClass:""},$.noty.themes.bootstrapTheme={name:"bootstrapTheme",modal:{css:{position:"fixed",width:"100%",height:"100%",backgroundColor:"#000",zIndex:1e4,opacity:.6,display:"none",left:0,top:0}},style:function(){var a=this.options.layout.container.selector;switch($(a).addClass("list-group"),this.$closeButton.append('×Close'),this.$closeButton.addClass("close"),this.$bar.addClass("list-group-item").css("padding","0px"),this.options.type){case"alert":case"notification":this.$bar.addClass("list-group-item-info");break;case"warning":this.$bar.addClass("list-group-item-warning");break;case"error":this.$bar.addClass("list-group-item-danger");break;case"information":this.$bar.addClass("list-group-item-info");break;case"success":this.$bar.addClass("list-group-item-success")}this.$message.css({fontSize:"13px",lineHeight:"16px",textAlign:"center",padding:"8px 10px 9px",width:"auto",position:"relative"})},callback:{onShow:function(){},onClose:function(){}}},$.noty.themes.defaultTheme={name:"defaultTheme",helpers:{borderFix:function(){if(this.options.dismissQueue){var a=this.options.layout.container.selector+" "+this.options.layout.parent.selector;switch(this.options.layout.name){case"top":$(a).css({borderRadius:"0px 0px 0px 0px"}),$(a).last().css({borderRadius:"0px 0px 5px 5px"});break;case"topCenter":case"topLeft":case"topRight":case"bottomCenter":case"bottomLeft":case"bottomRight":case"center":case"centerLeft":case"centerRight":case"inline":$(a).css({borderRadius:"0px 0px 0px 0px"}),$(a).first().css({"border-top-left-radius":"5px","border-top-right-radius":"5px"}),$(a).last().css({"border-bottom-left-radius":"5px","border-bottom-right-radius":"5px"});break;case"bottom":$(a).css({borderRadius:"0px 0px 0px 0px"}),$(a).first().css({borderRadius:"5px 5px 0px 0px"})}}}},modal:{css:{position:"fixed",width:"100%",height:"100%",backgroundColor:"#000",zIndex:1e4,opacity:.6,display:"none",left:0,top:0}},style:function(){switch(this.$bar.css({overflow:"hidden",background:"url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAoCAQAAAClM0ndAAAAhklEQVR4AdXO0QrCMBBE0bttkk38/w8WRERpdyjzVOc+HxhIHqJGMQcFFkpYRQotLLSw0IJ5aBdovruMYDA/kT8plF9ZKLFQcgF18hDj1SbQOMlCA4kao0iiXmah7qBWPdxpohsgVZyj7e5I9KcID+EhiDI5gxBYKLBQYKHAQoGFAoEks/YEGHYKB7hFxf0AAAAASUVORK5CYII=') repeat-x scroll left top #fff"}),this.$message.css({fontSize:"13px",lineHeight:"16px",textAlign:"center",padding:"8px 10px 9px",width:"auto",position:"relative"}),this.$closeButton.css({position:"absolute",top:4,right:4,width:10,height:10,background:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAQAAAAnOwc2AAAAxUlEQVR4AR3MPUoDURSA0e++uSkkOxC3IAOWNtaCIDaChfgXBMEZbQRByxCwk+BasgQRZLSYoLgDQbARxry8nyumPcVRKDfd0Aa8AsgDv1zp6pYd5jWOwhvebRTbzNNEw5BSsIpsj/kurQBnmk7sIFcCF5yyZPDRG6trQhujXYosaFoc+2f1MJ89uc76IND6F9BvlXUdpb6xwD2+4q3me3bysiHvtLYrUJto7PD/ve7LNHxSg/woN2kSz4txasBdhyiz3ugPGetTjm3XRokAAAAASUVORK5CYII=)",display:"none",cursor:"pointer"}),this.$buttons.css({padding:5,textAlign:"right",borderTop:"1px solid #ccc",backgroundColor:"#fff"}),this.$buttons.find("button").css({marginLeft:5}),this.$buttons.find("button:first").css({marginLeft:0}),this.$bar.on({mouseenter:function(){$(this).find(".noty_close").stop().fadeTo("normal",1)},mouseleave:function(){$(this).find(".noty_close").stop().fadeTo("normal",0)}}),this.options.layout.name){case"top":this.$bar.css({borderRadius:"0px 0px 5px 5px",borderBottom:"2px solid #eee",borderLeft:"2px solid #eee",borderRight:"2px solid #eee",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.1)"});break;case"topCenter":case"center":case"bottomCenter":case"inline":this.$bar.css({borderRadius:"5px",border:"1px solid #eee",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.1)"}),this.$message.css({fontSize:"13px",textAlign:"center"});break;case"topLeft":case"topRight":case"bottomLeft":case"bottomRight":case"centerLeft":case"centerRight":this.$bar.css({borderRadius:"5px",border:"1px solid #eee",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.1)"}),this.$message.css({fontSize:"13px",textAlign:"left"});break;case"bottom":this.$bar.css({borderRadius:"5px 5px 0px 0px",borderTop:"2px solid #eee",borderLeft:"2px solid #eee",borderRight:"2px solid #eee",boxShadow:"0 -2px 4px rgba(0, 0, 0, 0.1)"});break;default:this.$bar.css({border:"2px solid #eee",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.1)"})}switch(this.options.type){case"alert":case"notification":this.$bar.css({backgroundColor:"#FFF",borderColor:"#CCC",color:"#444"});break;case"warning":this.$bar.css({backgroundColor:"#FFEAA8",borderColor:"#FFC237",color:"#826200"}),this.$buttons.css({borderTop:"1px solid #FFC237"});break;case"error":this.$bar.css({backgroundColor:"red",borderColor:"darkred",color:"#FFF"}),this.$message.css({fontWeight:"bold"}),this.$buttons.css({borderTop:"1px solid darkred"});break;case"information":this.$bar.css({backgroundColor:"#57B7E2",borderColor:"#0B90C4",color:"#FFF"}),this.$buttons.css({borderTop:"1px solid #0B90C4"});break;case"success":this.$bar.css({backgroundColor:"lightgreen",borderColor:"#50C24E",color:"darkgreen"}),this.$buttons.css({borderTop:"1px solid #50C24E"});break;default:this.$bar.css({backgroundColor:"#FFF",borderColor:"#CCC",color:"#444"})}},callback:{onShow:function(){$.noty.themes.defaultTheme.helpers.borderFix.apply(this)},onClose:function(){$.noty.themes.defaultTheme.helpers.borderFix.apply(this)}}},$.noty.themes.relax={name:"relax",helpers:{},modal:{css:{position:"fixed",width:"100%",height:"100%",backgroundColor:"#000",zIndex:1e4,opacity:.6,display:"none",left:0,top:0}},style:function(){switch(this.$bar.css({overflow:"hidden",margin:"4px 0",borderRadius:"2px"}),this.$message.css({fontSize:"14px",lineHeight:"16px",textAlign:"center",padding:"10px",width:"auto",position:"relative"}),this.$closeButton.css({position:"absolute",top:4,right:4,width:10,height:10,background:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAQAAAAnOwc2AAAAxUlEQVR4AR3MPUoDURSA0e++uSkkOxC3IAOWNtaCIDaChfgXBMEZbQRByxCwk+BasgQRZLSYoLgDQbARxry8nyumPcVRKDfd0Aa8AsgDv1zp6pYd5jWOwhvebRTbzNNEw5BSsIpsj/kurQBnmk7sIFcCF5yyZPDRG6trQhujXYosaFoc+2f1MJ89uc76IND6F9BvlXUdpb6xwD2+4q3me3bysiHvtLYrUJto7PD/ve7LNHxSg/woN2kSz4txasBdhyiz3ugPGetTjm3XRokAAAAASUVORK5CYII=)",display:"none",cursor:"pointer"}),this.$buttons.css({padding:5,textAlign:"right",borderTop:"1px solid #ccc",backgroundColor:"#fff"}),this.$buttons.find("button").css({marginLeft:5}),this.$buttons.find("button:first").css({marginLeft:0}),this.$bar.on({mouseenter:function(){$(this).find(".noty_close").stop().fadeTo("normal",1)},mouseleave:function(){$(this).find(".noty_close").stop().fadeTo("normal",0)}}),this.options.layout.name){case"top":this.$bar.css({borderBottom:"2px solid #eee",borderLeft:"2px solid #eee",borderRight:"2px solid #eee",borderTop:"2px solid #eee",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.1)"});break;case"topCenter":case"center":case"bottomCenter":case"inline":this.$bar.css({border:"1px solid #eee",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.1)"}),this.$message.css({fontSize:"13px",textAlign:"center"});break;case"topLeft":case"topRight":case"bottomLeft":case"bottomRight":case"centerLeft":case"centerRight":this.$bar.css({border:"1px solid #eee",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.1)"}),this.$message.css({fontSize:"13px",textAlign:"left"});break;case"bottom":this.$bar.css({borderTop:"2px solid #eee",borderLeft:"2px solid #eee",borderRight:"2px solid #eee",borderBottom:"2px solid #eee",boxShadow:"0 -2px 4px rgba(0, 0, 0, 0.1)"});break;default:this.$bar.css({border:"2px solid #eee",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.1)"})}switch(this.options.type){case"alert":case"notification":this.$bar.css({backgroundColor:"#FFF",borderColor:"#dedede",color:"#444"});break;case"warning":this.$bar.css({backgroundColor:"#FFEAA8",borderColor:"#FFC237",color:"#826200"}),this.$buttons.css({borderTop:"1px solid #FFC237"});break;case"error":this.$bar.css({backgroundColor:"#FF8181",borderColor:"#e25353",color:"#FFF"}),this.$message.css({fontWeight:"bold"}),this.$buttons.css({borderTop:"1px solid darkred"});break;case"information":this.$bar.css({backgroundColor:"#78C5E7",borderColor:"#3badd6",color:"#FFF"}),this.$buttons.css({borderTop:"1px solid #0B90C4"});break;case"success":this.$bar.css({backgroundColor:"#BCF5BC",borderColor:"#7cdd77",color:"darkgreen"}),this.$buttons.css({borderTop:"1px solid #50C24E"});break;default:this.$bar.css({backgroundColor:"#FFF",borderColor:"#CCC",color:"#444"})}},callback:{onShow:function(){},onClose:function(){}}};