/*! layer-v2.0 弹层组件 License LGPL layer.layui.com/ By 贤心 */ ;!function(a,b){“use strict”;var c,d,e={getPath:function(){var a=document.scripts,b=a,c=b.src;if(!b.getAttribute(“merge”))return c.substring(0,c.lastIndexOf(“/”)+1)}(),enter:function(a){13===a.keyCode&&a.preventDefault()},config:{},end:{},btn:,type:},f={v:“2.0”,ie6:!!a.ActiveXObject&&!a.XMLHttpRequest,index:0,path:e.getPath,config:function(a,b){var d=0;return a=a||{},f.cache=e.config=c.extend(e.config,a),f.path=e.config.path||f.path,“string”==typeof a.extend&&(a.extend=),f.use(“../stylesheets/layer.css”,a.extend&&a.extend.length>0?function g(){var c=a.extend;f.use(c[c?d:d-1],d<c.length?function(){return++d,g}():b)}():b),this},use:function(a,b,d){var e=c(“head”),a=a.replace(/s/g,“”),g=/.css$/.test(a),h=document.createElement(g?“link”:“script”),i=“layui_layer_”+a.replace(/.|//g,“”);return f.path?(g&&(h.rel=“stylesheet”),h=/^///.test(a)?a:f.path+a,h.id=i,c(“#”+i)[0]||e.appendChild(h),function j(){(g?1989===parseInt(c(“#”+i).css(“width”)):f)?function(){b&&b();try{g||e.removeChild(h)}catch(a){}}():setTimeout(j,100)}(),this):void 0},ready:function(a,b){var d=“function”==typeof a;return d&&(b=a),f.config(c.extend(e.config,function(){return d?{}:{path:a}}()),b),this},alert:function(a,b,d){var e=“function”==typeof b;return e&&(d=b),f.open(c.extend({content:a,yes:d},e?{}:b))},confirm:function(a,b,d,g){var h=“function”==typeof b;return h&&(g=d,d=b),f.open(c.extend({content:a,btn:e.btn,yes:d,cancel:g},h?{}:b))},msg:function(a,d,g){var i=“function”==typeof d,j=e.config.skin,k=(j?j+“ ”j
“-msg”:“”)||“layui-layer-msg”,l=h.anim.length-1;return i&&(g=d),f.open(c.extend({content:a,time:3e3,shade:!1,skin:k,title:!1,closeBtn:!1,btn:!1,end:g},i&&!e.config.skin?{skin:k+“ layui-layer-hui”,shift:l}:function(){return d=d||{},(-1===d.icon||d.icon===b&&!e.config.skin)&&(d.skin=k+“ ”+(d.skin||“layui-layer-hui”)),d}()))},load:function(a,b){return f.open(c.extend({type:3,icon:a||0,shade:.01},b))},tips:function(a,b,d){return f.open(c.extend({type:4,content:,closeBtn:!1,time:3e3,maxWidth:210},d))}},g=function(a){var b=this;b.index=++f.index,b.config=c.extend({},b.config,e.config,a),b.creat()};g.pt=g.prototype;var h=;h.anim=,g.pt.config={type:0,shade:.3,fix:!0,move:h,title:“信息”,offset:“auto”,area:“auto”,closeBtn:1,time:0,zIndex:19891014,maxWidth:360,shift:0,icon:-1,scrollbar:!0,tips:2},g.pt.vessel=function(a,b){var c=this,d=c.index,f=c.config,g=f.zIndex+d,i=“object”==typeof f.title,j=f.maxmin&&(1===f.type||2===f.type),k=f.title?'<div class=“layui-layer-title” style=“‘+(i?f.title:”“)+'”>'+(i?f.title:f.title)+“</div>”:“”;return f.zIndex=g,b([f.shade?'<div class=“layui-layer-shade” id=“layui-layer-shade'd
'” times=“'d
'” style=“'+(”z-index:“+(g-1)+”; background-color:“+(f.shade||”#000“)+”; opacity:“+(f.shade||f.shade)+”; filter:alpha(opacity=“+(100*f.shade||100*f.shade)+”);“)+'”></div>':“”,'<div class=“’h[0]
” “+(h.anim||”“)+(” layui-layer-“e.type[f.type])
(0!=f.type&&2!=f.type||f.shade?”“:” layui-layer-border“)+” “+(f.skin||”“)+'” id=“‘+hd
'” type=“’e.type[f.type]
'” times=“'d
'” showtime=“'f.time
'” conType=“'+(a?”object“:”string“)+'” style=“z-index: 'g
”; width:“f.area[0]
”;height:“f.area[1]
(f.fix?”“:”;position:absolute;“)+'”>'+(a&&2!=f.type?“”:k)+'<div class=“layui-layer-content'+(0==f.type&&-1!==f.icon?” layui-layer-padding“:”“)+(3==f.type?” layui-layer-loading“+f.icon:”“)+'”>'+(0==f.type&&-1!==f.icon?'<i class=“layui-layer-ico layui-layer-ico'f.icon
'”></i>':“”)+(1==f.type&&a?“”:f.content||“”)+'</div><span class=“layui-layer-setwin”>'+function(){var a=j?'<a class=“layui-layer-min” href=“javascript:;”><cite></cite></a><a class=“layui-layer-ico layui-layer-max” href=“javascript:;”></a>':“”;return f.closeBtn&&(a+='<a class=“layui-layer-ico 'h[7]
” “h[7]
(f.title?f.closeBtn:4==f.type?”1“:”2“)+'” href=“javascript:;”></a>'),a}()+“</span>”+(f.btn?function(){var a=“”;“string”==typeof f.btn&&(f.btn=);for(var b=0,c=f.btn.length;c>b;b++)a+='<a class=“‘+hb
’”>‘f.btn[b]
“</a>”;return'<div class=“’h[6]
'”>'a
“</div>”}():“”)+“</div>”],k),c},g.pt.creat=function(){var a=this,b=a.config,g=a.index,i=b.content,j=“object”==typeof i;switch(“string”==typeof b.area&&(b.area=“auto”===b.area?:[b.area,“”]),b.type){case 0:b.btn=“btn”in b?b.btn:e.btn,f.closeAll(“dialog”);break;case 2:var i=b.content=j?b.content:[b.content||“http://layer.layui.com”,“auto”];b.content=‘