(function(a){jQuery.Pop=jQuery.Pop||{};jQuery.Pop=function(g,e,c){function h(){a("#"+f).removeClass("showAlert");a("#"+f).addClass("hideAlert");0").addClass("box").addClass(d.Class);e=a("
").addClass("box-title");var k= a("").html("\u00d7"),p=a("
").addClass("box-content"),q=a("
").addClass("box-button"),n=a("
").css({position:"fixed",left:0,top:0,width:"100%",height:"100%","z-index":d.ZIndex-1,"background-color":"rgba(0,0,0,"+d.BoxBgopacity+")"}).attr("id",f+"bg");d.Close=d.Close?d.Close:k=a("");d.BoxBg=d.BoxBg?d.BoxBg:n=a("");0>=a("style[pop-style]").length&&a("head").append(""); 0>=a("style[pop-animation]").length&&a("head").append(""); a("body").append(l.append(e.html(d.Title).append(k)).append(p.html(g)).append(q.html(function(){var c=a("
"),b=d.Btn;b.yes&&c.append(a("").addClass(b.yes.class).html(b.yes.vla).click(b.yes.ope));b.no&&c.append(a("").addClass(b.no.class).html(b.no.vla).click(b.no.ope));b.cancel&&c.append(a("").addClass(b.cancel.class).html(b.cancel.vla).click(b.cancel.ope));b.bnt1&&c.append(a("").addClass(b.bnt1.class).html(b.bnt1.vla).click(b.bnt1.ope));b.bnt2&&c.append(a("").addClass(b.bnt2.class).html(b.bnt2.vla).click(b.bnt2.ope)); b.bnt3&&c.append(a("").addClass(b.bnt3.class).html(b.bnt3.vla).click(b.bnt3.ope));b.bnt4&&c.append(a("").addClass(b.bnt4.class).html(b.bnt4.vla).click(b.bnt4.ope));b.bnt5&&c.append(a("").addClass(b.bnt5.class).html(b.bnt5.vla).click(b.bnt5.ope));return c}()))).append(n);l.css({"margin-left":.5*-l.width(),"margin-top":.5*-l.height(),"z-index":d.ZIndex}).addClass("showAlert").attr("id",f).attr("data-animation",d.Animation);k.click(h);d.BoxDrag&&e.mouseover(function(){a(this).css("cursor", "move")}).mousedown(function(c){var b=!0,d=c.pageX-a(this).parent().offset().left,e=c.pageY-a(this).parent().offset().top;a(document).mousemove(function(a){b&&l.offset({left:a.pageX-d,top:a.pageY-e}).css({"margin-left":0,"margin-top":0})}).mouseup(function(){b=!1})})};jQuery.Pro=jQuery.Pro||{};jQuery.Pro=function(g,e){var c=a.extend(!0,{Img:!1,ImgWh:"100*100",BoxBgopacity:.8,ZIndex:99999,Time:3,StartOn:!1,EndOn:!1,Class:!1},e);$Box=a("
").css({"user-select":"none","font-family":"Microsoft YaHei', '\u5fae\u8f6f\u96c5\u9ed1', 'Lantinghei SC', 'Open Sans', Arial, 'Hiragino Sans GB', 'STHeiti', 'WenQuanYi Micro Hei', SimSun, sans-serif", position:"fixed",display:"inline-block",left:"50%",top:"50%","max-width":"300px","background-color":"rgba(0,0,0,"+c.BoxBgopacity+")",padding:"13px 18px",color:"#fff","border-radius":" 6px","line-height":"30px","font-size":"14px","text-align":"center"}).addClass(c.Class);$BoxHtml=a("

").css({width:"100%",margin:"0",padding:"0"}).html(g);$BoxImg=a("").attr({src:c.Img});a("body").append($Box.append($BoxHtml));c.Img&&$Box.prepend($BoxImg);c.ImgWh&&(g=c.ImgWh.split("*"),$BoxImg.attr({width:g[0], height:g[1]}));$Box.css({"margin-left":.5*-$Box.outerWidth(),"margin-top":.5*-$Box.outerHeight(),"z-index":c.ZIndex});c.StartOn&&c.StartOn();setTimeout(function(){$Box.fadeOut("show",function(){$Box.remove()});c.EndOn&&c.EndOn()},1E3*c.Time)}})(jQuery);