diff --git a/app/admin/controller/Index.php b/app/admin/controller/Index.php index 8623252..94d04a0 100644 --- a/app/admin/controller/Index.php +++ b/app/admin/controller/Index.php @@ -32,6 +32,8 @@ class Index extends BaseController $list = list_to_tree($menu); \think\facade\Cache::tag('adminMenu')->set('menu' . $admin['id'], $list); } + $theme = Db::name('Admin')->where('id',$admin['id'])->value('theme'); + View::assign('theme',$theme); View::assign('menu', $list); return View(); } @@ -56,4 +58,18 @@ class Index extends BaseController View::assign('TP_VERSION',\think\facade\App::version()); return View(); } + + //设置theme + public function set_theme() + { + if (request()->isAjax()) { + $param = get_params(); + $admin = get_login_admin(); + Db::name('Admin')->where('id',$admin['id'])->update(['theme'=>$param['theme']]); + return to_assign(); + } + else{ + return to_assign(1,'操作错误'); + } + } } diff --git a/app/admin/view/index/index.html b/app/admin/view/index/index.html index 804f0cc..d2cb8e6 100644 --- a/app/admin/view/index/index.html +++ b/app/admin/view/index/index.html @@ -24,13 +24,18 @@
->>10&1023|55296),P=56320|P&1023);h.push(P);d+=e}u=h.length;if(u<=H)h=String.fromCharCode.apply(String,h);else{A="";for(d=0;du)throw new RangeError("offset is not uint"); + if(u+d>A)throw new RangeError("Trying to access beyond buffer length");}function f(u,d,A,h,v,P){if(!b.isBuffer(u))throw new TypeError('"buffer" argument must be a Buffer instance');if(d>v||d
u.length)throw new RangeError("Index out of range");}function N(u,d,A,h){0>d&&(d=65535+d+1);for(var v=0,P=Math.min(u.length-A,2);v
>>8*(h?v:1-v)}function T(u,d,A,h){0>d&&(d=4294967295+d+1);for(var v=0,P=Math.min(u.length- + A,4);v
>>8*(h?v:3-v)&255}function q(u,d,A,h,v,P){if(A+h>u.length)throw new RangeError("Index out of range");if(0>A)throw new RangeError("Index out of range");}function F(u,d,A,h,v){v||q(u,d,A,4,3.4028234663852886E38,-3.4028234663852886E38);Q.write(u,d,A,h,23,4);return A+4}function G(u,d,A,h,v){v||q(u,d,A,8,1.7976931348623157E308,-1.7976931348623157E308);Q.write(u,d,A,h,52,8);return A+8}function k(u){u=u.trim?u.trim():u.replace(/^\s+|\s+$/g,"");u=u.replace(X,"");if(2>u.length)return"";
+ for(;0!==u.length%4;)u+="=";return u}function J(u,d){d=d||Infinity;for(var A,h=u.length,v=null,P=[],e=0;e d&&(u+=" ... "));return" >=-p;for(p+=b;0 >1,r=23===l?Math.pow(2,-24)-Math.pow(2,-77):0;a=b?0:a-1;var E=b?1:-1,K=0>m||0===m&&0>1/m?1:0;m=Math.abs(m);isNaN(m)||Infinity===m?(m=isNaN(m)?1:0,b=p):(b=Math.floor(Math.log(m)/Math.LN2),1>m*(c=Math.pow(2,-b))&&(b--,c*=2),m=1<=b+w?m+r/c:m+r*Math.pow(2,1-w),2<=m*c&&(b++,c/=2),b+w>=p?(m=0,b=p):1<=b+w?(m=(m*c-1)*Math.pow(2,l),b+=w):(m=m*Math.pow(2,w-1)*Math.pow(2,l),b=0));for(;8<=
+ l;n[g+a]=m&255,a+=E,m/=256,l-=8);b=b< r)w[t++]=
+ r;else{var E=b[r];if(4 r?1:2048>r?2:65536>r?3:4}var K=m.uint8array?new Uint8Array(w):Array(w);for(c=t=0;t a.length&&(r=a.length);for(w=r-1;0<=w&&128===(a[w]&192);)w--;w=0>w?r:0===w?r:w+b[a[w]]>r?w:r;m.uint8array?c.push(l(a.subarray(t,w))):c.push(l(a.slice(t,w)));t=w}return c.join("")}},{"./nodeBuffer":94,"./support":100,"./utils":104}],104:[function(x,W,D){function n(p){return p}function m(p,w){for(var r=0;r r?1:2048>r?2:65536>r?3:4}var K=new m.Buf8(w);for(c=t=0;t r)w[t++]=r;else{var E=l[r];if(4 M&&(I=M);if(0===M)return w[r++]=20971520,w[r++]=20971520,K.bits=1,0;for(U=1;U R?(A=k[J+E[z]],h=S[q+E[z]]):(A=96,h=0);f=1< =f)break;p++;f<<=1}H+=1< >>8&255}function l(d,A,h){d.bi_valid>16-h?(d.bi_buf|=A< >>8&255;d.pending_buf[d.d_buf+2*d.last_lit+1]=A&255;d.pending_buf[d.l_buf+d.last_lit]=h&255;d.last_lit++;0===A?d.dyn_ltree[2*h]++:(d.matches++,A--,d.dyn_ltree[2*(S[h]+256+1)]++,d.dyn_dtree[2*(256>A?I[A]:I[256+(A>>>7)])]++);return d.last_lit===d.lit_bufsize-1};D._tr_align=function(d){l(d,2,3);a(d,256,
+ k);16===d.bi_valid?(b(d,d.bi_buf),d.bi_buf=0,d.bi_valid=0):8<=d.bi_valid&&(d.pending_buf[d.pending++]=d.bi_buf&255,d.bi_buf>>=8,d.bi_valid-=8)}},{"../utils/common":123}],135:[function(x,W,D){W.exports=function(){this.input=null;this.total_in=this.avail_in=this.next_in=0;this.output=null;this.total_out=this.avail_out=this.next_out=0;this.msg="";this.state=null;this.data_type=2;this.adler=0}},{}],136:[function(x,W,D){(function(n){function m(a,c){for(var t=0,p=a.length-1;0<=p;p--){var w=a[p];"."===w?
+ a.splice(p,1):".."===w?(a.splice(p,1),t++):t&&(a.splice(p,1),t--)}if(c)for(;t--;t)a.unshift("..");return a}function g(a,c){if(a.filter)return a.filter(c);for(var t=[],p=0;p c&&(c=a.length+c);return a.substr(c,t)}}).call(this,x("_process"))},{_process:138}],137:[function(x,W,D){(function(n){function m(g,b,l,a){if("function"!==typeof g)throw new TypeError('"callback" argument must be a function');
+ var c=arguments.length;switch(c){case 0:case 1:return n.nextTick(g);case 2:return n.nextTick(function(){g.call(null,b)});case 3:return n.nextTick(function(){g.call(null,b,l)});case 4:return n.nextTick(function(){g.call(null,b,l,a)});default:var t=Array(c-1);for(c=0;c >>10&1023|55296),P=56320|P&1023);h.push(P);d+=e}u=h.length;if(u<=H)h=String.fromCharCode.apply(String,h);else{A="";for(d=0;du)throw new RangeError("offset is not uint");
+ if(u+d>A)throw new RangeError("Trying to access beyond buffer length");}function f(u,d,A,h,w,P){if(!b.isBuffer(u))throw new TypeError('"buffer" argument must be a Buffer instance');if(d>w||d u.length)throw new RangeError("Index out of range");}function N(u,d,A,h){0>d&&(d=65535+d+1);for(var w=0,P=Math.min(u.length-A,2);w >>8*(h?w:1-w)}function T(u,d,A,h){0>d&&(d=4294967295+d+1);for(var w=0,P=Math.min(u.length-
+ A,4);w >>8*(h?w:3-w)&255}function q(u,d,A,h,w,P){if(A+h>u.length)throw new RangeError("Index out of range");if(0>A)throw new RangeError("Index out of range");}function F(u,d,A,h,w){w||q(u,d,A,4,3.4028234663852886E38,-3.4028234663852886E38);Q.write(u,d,A,h,23,4);return A+4}function G(u,d,A,h,w){w||q(u,d,A,8,1.7976931348623157E308,-1.7976931348623157E308);Q.write(u,d,A,h,52,8);return A+8}function k(u){u=u.trim?u.trim():u.replace(/^\s+|\s+$/g,"");u=u.replace(X,"");if(2>u.length)return"";
+ for(;0!==u.length%4;)u+="=";return u}function J(u,d){d=d||Infinity;for(var A,h=u.length,w=null,P=[],e=0;e d&&(u+=" ... "));return" >=-p;for(p+=b;0 >1,r=23===l?Math.pow(2,-24)-Math.pow(2,-77):0;a=b?0:a-1;var E=b?1:-1,K=0>m||0===m&&0>1/m?1:0;m=Math.abs(m);isNaN(m)||Infinity===m?(m=isNaN(m)?1:0,b=p):(b=Math.floor(Math.log(m)/Math.LN2),1>m*(c=Math.pow(2,-b))&&(b--,c*=2),m=1<=b+v?m+r/c:m+r*Math.pow(2,1-v),2<=m*c&&(b++,c/=2),b+v>=p?(m=0,b=p):1<=b+v?(m=(m*c-1)*Math.pow(2,l),b+=v):(m=m*Math.pow(2,v-1)*Math.pow(2,l),b=0));for(;8<=
+ l;n[g+a]=m&255,a+=E,m/=256,l-=8);b=b< r)v[t++]=
+ r;else{var E=b[r];if(4 r?1:2048>r?2:65536>r?3:4}var K=m.uint8array?new Uint8Array(v):Array(v);for(c=t=0;t a.length&&(r=a.length);for(v=r-1;0<=v&&128===(a[v]&192);)v--;v=0>v?r:0===v?r:v+b[a[v]]>r?v:r;m.uint8array?c.push(l(a.subarray(t,v))):c.push(l(a.slice(t,v)));t=v}return c.join("")}},{"./nodeBuffer":94,"./support":100,"./utils":104}],104:[function(x,W,C){function n(p){return p}function m(p,v){for(var r=0;r r?1:2048>r?2:65536>r?3:4}var K=new m.Buf8(v);for(c=t=0;t r)v[t++]=r;else{var E=l[r];if(4 M&&(I=M);if(0===M)return v[r++]=20971520,v[r++]=20971520,K.bits=1,0;for(U=1;U R?(A=k[J+E[z]],h=S[q+E[z]]):(A=96,h=0);f=1< =f)break;p++;f<<=1}H+=1< >>8&255}function l(d,A,h){d.bi_valid>16-h?(d.bi_buf|=A< >>8&255;d.pending_buf[d.d_buf+2*d.last_lit+1]=A&255;d.pending_buf[d.l_buf+d.last_lit]=h&255;d.last_lit++;0===A?d.dyn_ltree[2*h]++:(d.matches++,A--,d.dyn_ltree[2*(S[h]+256+1)]++,d.dyn_dtree[2*(256>A?I[A]:I[256+(A>>>7)])]++);return d.last_lit===d.lit_bufsize-1};C._tr_align=function(d){l(d,2,3);a(d,256,
+ k);16===d.bi_valid?(b(d,d.bi_buf),d.bi_buf=0,d.bi_valid=0):8<=d.bi_valid&&(d.pending_buf[d.pending++]=d.bi_buf&255,d.bi_buf>>=8,d.bi_valid-=8)}},{"../utils/common":123}],135:[function(x,W,C){W.exports=function(){this.input=null;this.total_in=this.avail_in=this.next_in=0;this.output=null;this.total_out=this.avail_out=this.next_out=0;this.msg="";this.state=null;this.data_type=2;this.adler=0}},{}],136:[function(x,W,C){(function(n){function m(a,c){for(var t=0,p=a.length-1;0<=p;p--){var v=a[p];"."===v?
+ a.splice(p,1):".."===v?(a.splice(p,1),t++):t&&(a.splice(p,1),t--)}if(c)for(;t--;t)a.unshift("..");return a}function g(a,c){if(a.filter)return a.filter(c);for(var t=[],p=0;p c&&(c=a.length+c);return a.substr(c,t)}}).call(this,x("_process"))},{_process:138}],137:[function(x,W,C){(function(n){function m(g,b,l,a){if("function"!==typeof g)throw new TypeError('"callback" argument must be a function');
+ var c=arguments.length;switch(c){case 0:case 1:return n.nextTick(g);case 2:return n.nextTick(function(){g.call(null,b)});case 3:return n.nextTick(function(){g.call(null,b,l)});case 4:return n.nextTick(function(){g.call(null,b,l,a)});default:var t=Array(c-1);for(c=0;c \u62d6\u653e\u4e00\u5f20\u6587\u4ef6\u81f3\u6b64 i.pages||(i.curr=e,t.render())});e&&o.on(e,"change",function(){var e=this.value;i.curr*e>i.count&&(i.curr=Math.ceil(i.count/e)),i.limit=e,t.render()}),n&&o.on(n,"click",function(){s()})}},t.prototype.skip=function(t){var i,e;t&&(i=this,(e=t[c]("input")[0])&&o.on(e,"keyup",function(e){var a=this.value,e=e.keyCode;/^(37|38|39|40)$/.test(e)||(/\D/.test(a)&&(this.value=a.replace(/\D/,"")),13===e&&i.jump(t,!0))}))},t.prototype.render=function(e){var a=this,t=a.config,i=a.type(),r=a.view(),i=(2===i?t.elem&&(t.elem.innerHTML=r):3===i?t.elem.html(r):n[u](t.elem)&&(n[u](t.elem).innerHTML=r),t.jump&&t.jump(t,e),n[u]("layui-laypage-"+t.index));a.jump(i),t.hash&&!e&&(location.hash="!"+t.hash+"="+t.curr),a.skip(i)},{render:function(e){return new t(e).index},index:layui.laypage?layui.laypage.index+1e4:0,on:function(a,e,t){return a.attachEvent?a.attachEvent("on"+e,function(e){e.target=e.srcElement,t.call(a,e)}):a.addEventListener(e,t,!1),this}});e("laypage",o)});!function(i,r){"use strict";var n=i.layui&&layui.define,l={getPath:i.lay&&lay.getPath?lay.getPath:"",link:function(e,t,a){u.path&&i.lay&&lay.layui&&lay.layui.link(u.path+e,t,a)}},e=i.LAYUI_GLOBAL||{},u={v:"5.3.1",config:{weekStart:0},index:i.laydate&&i.laydate.v?1e5:0,path:e.laydate_dir||l.getPath,set:function(e){var t=this;return t.config=lay.extend({},t.config,e),t},ready:function(e){var t="laydate",a=(n?"modules/laydate/":"theme/")+"default/laydate.css?v="+u.v;return n?layui.addcss(a,e,t):l.link(a,e,t),this}},s=function(){var t=this,e=t.config.id;return{hint:function(e){t.hint.call(t,e)},config:(s.that[e]=t).config}},a="laydate",w="layui-this",x="laydate-disabled",h=[100,2e5],p="layui-laydate-static",M="layui-laydate-list",o="layui-laydate-hint",E=".laydate-btns-confirm",C="laydate-time-text",k="laydate-btns-time",f="layui-laydate-preview",g=function(e){var t=this,a=(t.index=++u.index,t.config=lay.extend({},t.config,u.config,e),lay(e.elem||t.config.elem));if(1R||9J||9k.pending_buf_size-5&&(I=k.pending_buf_size-5);;){if(1>=k.lookahead){t(k);if(0===k.lookahead&&0===J)return 1;if(0===k.lookahead)break}k.strstart+=k.lookahead;k.lookahead=0;var S=k.block_start+I;if(0===k.strstart||k.strstart>=S)if(k.lookahead=k.strstart-S,k.strstart=
+ S,b(k,!1),0===k.strm.avail_out)return 1;if(k.strstart-k.block_start>=k.w_size-262&&(b(k,!1),0===k.strm.avail_out))return 1}k.insert=0;if(4===J)return b(k,!0),0===k.strm.avail_out?3:4;k.strstart>k.block_start&&b(k,!1);return 1}),new K(4,4,8,4,p),new K(4,5,16,8,p),new K(4,6,32,32,p),new K(4,4,16,16,w),new K(8,16,32,32,w),new K(8,16,128,128,w),new K(8,32,128,256,w),new K(32,128,258,1024,w),new K(32,258,258,4096,w)];D.deflateInit=function(k,J){return M(k,J,8,15,8,0)};D.deflateInit2=M;D.deflateReset=z;
+ D.deflateResetKeep=O;D.deflateSetHeader=function(k,J){if(!k||!k.state||2!==k.state.wrap)return-2;k.state.gzhead=J;return 0};D.deflate=function(k,J){if(!k||!k.state||5
>>8&255;q.check=w(q.check,N,2,0);Q=R=0;q.mode=2;break}q.flags=0;q.head&&(q.head.done=!1);if(!(q.wrap&1)||(((R&255)<<8)+(R>>8))%31){z.msg="incorrect header check";q.mode=30;break}if(8!==(R&15)){z.msg="unknown compression method";q.mode=30;break}R>>>=4;Q-=4;var u=(R&15)+8;if(0===q.wbits)q.wbits=u;else if(u>
+ q.wbits){z.msg="invalid window size";q.mode=30;break}q.dmax=1<Q;){if(0===S)break a;S--;R+=I[J++]<
>8&1);q.flags&512&&(N[0]=R&255,N[1]=R>>>8&255,q.check=w(q.check,N,2,0));Q=R=0;q.mode=3;case 3:for(;32>Q;){if(0===S)break a;S--;R+=I[J++]<
>>8&255,N[2]=R>>>16&255,N[3]=R>>>24&255,q.check=w(q.check,N,4,0));Q=R=0;q.mode=4;case 4:for(;16>Q;){if(0===S)break a;S--;R+=I[J++]<
>8);q.flags&512&&(N[0]=R&255,N[1]=R>>>8&255,q.check=w(q.check,N,2,0));Q=R=0;q.mode=5;case 5:if(q.flags&1024){for(;16>Q;){if(0===S)break a;S--;R+=I[J++]<
>>8&255,q.check=w(q.check,N,2,0));Q=R=0}else q.head&&(q.head.extra=
+ null);q.mode=6;case 6:if(q.flags&1024){var d=q.length;d>S&&(d=S);d&&(q.head&&(u=q.head.extra_len-q.length,q.head.extra||(q.head.extra=Array(q.head.extra_len)),t.arraySet(q.head.extra,I,J,d,u)),q.flags&512&&(q.check=w(q.check,I,d,J)),S-=d,J+=d,q.length-=d);if(q.length)break a}q.length=0;q.mode=7;case 7:if(q.flags&2048){if(0===S)break a;d=0;do u=I[J+d++],q.head&&u&&65536>q.length&&(q.head.name+=String.fromCharCode(u));while(u&&d
q.length&&(q.head.comment+=String.fromCharCode(u));while(u&&dQ;){if(0===S)break a;S--;R+=I[J++]<>9&1,q.head.done=!0);z.adler=q.check=
+ 0;q.mode=12;break;case 10:for(;32>Q;){if(0===S)break a;S--;R+=I[J++]<
>>=Q&7;Q-=Q&7;q.mode=27;break}for(;3>Q;){if(0===S)break a;S--;R+=I[J++]<
>>=1;--Q;switch(R&3){case 0:q.mode=14;break;case 1:u=q;if(K){U=new t.Buf32(512);O=new t.Buf32(32);for(d=0;144>
+ d;)u.lens[d++]=8;for(;256>d;)u.lens[d++]=9;for(;280>d;)u.lens[d++]=7;for(;288>d;)u.lens[d++]=8;E(1,u.lens,0,288,U,0,u.work,{bits:9});for(d=0;32>d;)u.lens[d++]=5;E(2,u.lens,0,32,O,0,u.work,{bits:5});K=!1}u.lencode=U;u.lenbits=9;u.distcode=O;u.distbits=5;q.mode=20;if(6===M){R>>>=2;Q-=2;break a}break;case 2:q.mode=17;break;case 3:z.msg="invalid block type",q.mode=30}R>>>=2;Q-=2;break;case 14:R>>>=Q&7;for(Q-=Q&7;32>Q;){if(0===S)break a;S--;R+=I[J++]<
>>16^65535)){z.msg="invalid stored block lengths";
+ q.mode=30;break}q.length=R&65535;Q=R=0;q.mode=15;if(6===M)break a;case 15:q.mode=16;case 16:if(d=q.length){d>S&&(d=S);d>k&&(d=k);if(0===d)break a;t.arraySet(G,I,J,d,F);S-=d;J+=d;k-=d;F+=d;q.length-=d;break}q.mode=12;break;case 17:for(;14>Q;){if(0===S)break a;S--;R+=I[J++]<
>>=5;Q-=5;q.ndist=(R&31)+1;R>>>=5;Q-=5;q.ncode=(R&15)+4;R>>>=4;Q-=4;if(286
>>=3;Q-=3}for(;19>q.have;)q.lens[T[q.have++]]=0;q.lencode=q.lendyn;q.lenbits=7;d={bits:q.lenbits};X=E(0,q.lens,0,19,q.lencode,0,q.work,d);q.lenbits=d.bits;if(X){z.msg="invalid code lengths set";q.mode=30;break}q.have=0;q.mode=19;case 19:for(;q.have
A)R>>>=d,Q-=d,q.lens[q.have++]=A;else{if(16===
+ A){for(u=d+2;Q>>=d;Q-=d;if(0===q.have){z.msg="invalid bit length repeat";q.mode=30;break}u=q.lens[q.have-1];d=3+(R&3);R>>>=2;Q-=2}else if(17===A){for(u=d+3;Q>>=d;Q-=d;u=0;d=3+(R&7);R>>>=3;Q-=3}else{for(u=d+7;Q>>=d;Q-=d;u=0;d=11+(R&127);R>>>=7;Q-=7}if(q.have+d>q.nlen+q.ndist){z.msg="invalid bit length repeat";q.mode=30;break}for(;d--;)q.lens[q.have++]=u}}if(30===
+ q.mode)break;if(0===q.lens[256]){z.msg="invalid code -- missing end-of-block";q.mode=30;break}q.lenbits=9;d={bits:q.lenbits};X=E(1,q.lens,0,q.nlen,q.lencode,0,q.work,d);q.lenbits=d.bits;if(X){z.msg="invalid literal/lengths set";q.mode=30;break}q.distbits=6;q.distcode=q.distdyn;d={bits:q.distbits};X=E(2,q.lens,q.nlen,q.ndist,q.distcode,0,q.work,d);q.distbits=d.bits;if(X){z.msg="invalid distances set";q.mode=30;break}q.mode=20;if(6===M)break a;case 20:q.mode=21;case 21:if(6<=S&&258<=k){z.next_out=F;
+ z.avail_out=k;z.next_in=J;z.avail_in=S;q.hold=R;q.bits=Q;r(z,H);F=z.next_out;G=z.output;k=z.avail_out;J=z.next_in;I=z.input;S=z.avail_in;R=q.hold;Q=q.bits;12===q.mode&&(q.back=-1);break}for(q.back=0;;){A=q.lencode[R&(1<
>h)];d=A>>>24;u=A>>>16&255;A&=65535;if(h+d<=Q)break;if(0===S)break a;S--;R+=I[J++]<
>>=h;Q-=h;q.back+=
+ h}R>>>=d;Q-=d;q.back+=d;q.length=A;if(0===u){q.mode=26;break}if(u&32){q.back=-1;q.mode=12;break}if(u&64){z.msg="invalid literal/length code";q.mode=30;break}q.extra=u&15;q.mode=22;case 22:if(q.extra){for(u=q.extra;Q>>=q.extra;Q-=q.extra;q.back+=q.extra}q.was=q.length;q.mode=23;case 23:for(;;){A=q.distcode[R&(1<
>h)];d=A>>>24;u=A>>>16&255;A&=65535;if(h+d<=Q)break;if(0===S)break a;S--;R+=I[J++]<
>>=h;Q-=h;q.back+=h}R>>>=d;Q-=d;q.back+=d;if(u&64){z.msg="invalid distance code";q.mode=30;break}q.offset=A;q.extra=u&15;q.mode=24;case 24:if(q.extra){for(u=q.extra;Q>>=q.extra;Q-=q.extra;q.back+=q.extra}if(q.offset>q.dmax){z.msg="invalid distance too far back";q.mode=30;break}q.mode=25;
+ case 25:if(0===k)break a;d=H-k;if(q.offset>d){d=q.offset-d;if(d>q.whave&&q.sane){z.msg="invalid distance too far back";q.mode=30;break}d>q.wnext?(d-=q.wnext,u=q.wsize-d):u=q.wnext-d;d>q.length&&(d=q.length);h=q.window}else h=G,u=F-q.offset,d=q.length;d>k&&(d=k);k-=d;q.length-=d;do G[F++]=h[u++];while(--d);0===q.length&&(q.mode=21);break;case 26:if(0===k)break a;G[F++]=q.length;k--;q.mode=21;break;case 27:if(q.wrap){for(;32>Q;){if(0===S)break a;S--;R|=I[J++]<
Q;){if(0===S)break a;S--;R+=I[J++]<
q.mode&&(27>q.mode||4!==M))&&c(z,z.output,z.next_out,H-z.avail_out))return q.mode=31,-4;B-=z.avail_in;H-=z.avail_out;z.total_in+=B;z.total_out+=H;q.total+=H;q.wrap&&H&&(z.adler=q.check=q.flags?w(q.check,G,H,z.next_out-H):p(q.check,G,H,z.next_out-H));z.data_type=q.bits+(q.last?64:0)+(12===q.mode?128:0)+(20===q.mode||15===q.mode?256:0);(0===B&&0===H||4===M)&&0===X&&(X=-5);return X};D.inflateEnd=function(z){if(!z||!z.state)return-2;var M=z.state;M.window&&(M.window=null);z.state=null;return 0};D.inflateGetHeader=
+ function(z,M){if(!z||!z.state)return-2;z=z.state;if(0===(z.wrap&2))return-2;z.head=M;M.done=!1;return 0};D.inflateSetDictionary=function(z,M){var f=M.length;if(!z||!z.state)return-2;var N=z.state;if(0!==N.wrap&&11!==N.mode)return-2;if(11===N.mode){var T=p(1,M,f,0);if(T!==N.check)return-3}if(c(z,M,f,f))return N.mode=31,-4;N.havedict=1;return 0};D.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":123,"./adler32":125,"./crc32":127,"./inffast":130,"./inftrees":132}],132:[function(x,
+ W,D){var n=x("../utils/common"),m=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],g=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],b=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],l=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];W.exports=function(a,c,t,p,w,r,E,K){var U=K.bits,O,z,M,f,N,
+ T,q=0,F=new n.Buf16(16);var G=new n.Buf16(16);var k,J=0;for(O=0;15>=O;O++)F[O]=0;for(z=0;z
>=7;30>v;v++)for(Q[v]=h<<7,A=
+ 0;A<1<
=A;A++)P[A]=0;for(A=0;143>=A;)k[2*A+1]=8,A++,P[8]++;for(;255>=A;)k[2*A+1]=9,A++,P[9]++;for(;279>=A;)k[2*A+1]=7,A++,P[7]++;for(;287>=A;)k[2*A+1]=8,A++,P[8]++;t(k,287,P);for(A=0;30>A;A++)J[2*A+1]=5,J[2*A]=c(A,5);B=new m(k,T,257,286,15);H=new m(J,q,0,30,15);X=new m([],F,0,19,7);u=!0}d.l_desc=new g(d.dyn_ltree,B);d.d_desc=new g(d.dyn_dtree,H);d.bl_desc=new g(d.bl_tree,X);d.bi_buf=0;d.bi_valid=0;p(d)};D._tr_stored_block=f;D._tr_flush_block=function(d,A,h,v){var P=
+ 0;if(0
")}return this.stream.write(this.endline(f))};M.prototype.processingInstruction=function(f,N){this.stream.write(this.space(N)+""+f.target);f.value&&this.stream.write(" "+f.value);return this.stream.write(this.spacebeforeslash+"?>"+this.endline(f))};M.prototype.raw=function(f,N){return this.stream.write(this.space(N)+f.value+this.endline(f))};M.prototype.text=function(f,N){return this.stream.write(this.space(N)+
+ f.value+this.endline(f))};M.prototype.dtdAttList=function(f,N){this.stream.write(this.space(N)+""+this.endline(f))};M.prototype.dtdElement=function(f,N){this.stream.write(this.space(N)+""+this.endline(f))};M.prototype.dtdEntity=function(f,N){this.stream.write(this.space(N)+""+this.endline(f))};M.prototype.dtdNotation=function(f,N){this.stream.write(this.space(N)+
+ ""+this.endline(f))};M.prototype.endline=function(f){return f.isLastRootNode?"":this.newline};return M}(O)}).call(this)},{"./XMLCData":160,"./XMLComment":161,"./XMLDTDAttList":162,"./XMLDTDElement":163,"./XMLDTDEntity":164,"./XMLDTDNotation":165,"./XMLDeclaration":166,
+ "./XMLDocType":167,"./XMLElement":170,"./XMLProcessingInstruction":172,"./XMLRaw":173,"./XMLText":177,"./XMLWriterBase":178}],175:[function(x,W,D){(function(){var n=function(z,M){function f(){this.constructor=z}for(var N in M)m.call(M,N)&&(z[N]=M[N]);f.prototype=M.prototype;z.prototype=new f;z.__super__=M.prototype;return z},m={}.hasOwnProperty;var g=x("./XMLDeclaration");var b=x("./XMLDocType");var l=x("./XMLCData");var a=x("./XMLComment");var c=x("./XMLElement");var t=x("./XMLRaw");var p=x("./XMLText");
+ var w=x("./XMLProcessingInstruction");var r=x("./XMLDTDAttList");var E=x("./XMLDTDElement");var K=x("./XMLDTDEntity");var U=x("./XMLDTDNotation");var O=x("./XMLWriterBase");W.exports=function(z){function M(f){M.__super__.constructor.call(this,f)}n(M,z);M.prototype.document=function(f){var N;this.textispresent=!1;var T="";var q=f.children;f=0;for(N=q.length;f
R||9J||9k.pending_buf_size-5&&(I=k.pending_buf_size-5);;){if(1>=k.lookahead){t(k);if(0===k.lookahead&&0===J)return 1;if(0===k.lookahead)break}k.strstart+=k.lookahead;k.lookahead=0;var S=k.block_start+I;if(0===k.strstart||k.strstart>=S)if(k.lookahead=k.strstart-S,k.strstart=
+ S,b(k,!1),0===k.strm.avail_out)return 1;if(k.strstart-k.block_start>=k.w_size-262&&(b(k,!1),0===k.strm.avail_out))return 1}k.insert=0;if(4===J)return b(k,!0),0===k.strm.avail_out?3:4;k.strstart>k.block_start&&b(k,!1);return 1}),new K(4,4,8,4,p),new K(4,5,16,8,p),new K(4,6,32,32,p),new K(4,4,16,16,v),new K(8,16,32,32,v),new K(8,16,128,128,v),new K(8,32,128,256,v),new K(32,128,258,1024,v),new K(32,258,258,4096,v)];C.deflateInit=function(k,J){return M(k,J,8,15,8,0)};C.deflateInit2=M;C.deflateReset=z;
+ C.deflateResetKeep=O;C.deflateSetHeader=function(k,J){if(!k||!k.state||2!==k.state.wrap)return-2;k.state.gzhead=J;return 0};C.deflate=function(k,J){if(!k||!k.state||5
>>8&255;q.check=v(q.check,N,2,0);Q=R=0;q.mode=2;break}q.flags=0;q.head&&(q.head.done=!1);if(!(q.wrap&1)||(((R&255)<<8)+(R>>8))%31){z.msg="incorrect header check";q.mode=30;break}if(8!==(R&15)){z.msg="unknown compression method";q.mode=30;break}R>>>=4;Q-=4;var u=(R&15)+8;if(0===q.wbits)q.wbits=u;else if(u>
+ q.wbits){z.msg="invalid window size";q.mode=30;break}q.dmax=1<Q;){if(0===S)break a;S--;R+=I[J++]<
>8&1);q.flags&512&&(N[0]=R&255,N[1]=R>>>8&255,q.check=v(q.check,N,2,0));Q=R=0;q.mode=3;case 3:for(;32>Q;){if(0===S)break a;S--;R+=I[J++]<
>>8&255,N[2]=R>>>16&255,N[3]=R>>>24&255,q.check=v(q.check,N,4,0));Q=R=0;q.mode=4;case 4:for(;16>Q;){if(0===S)break a;S--;R+=I[J++]<
>8);q.flags&512&&(N[0]=R&255,N[1]=R>>>8&255,q.check=v(q.check,N,2,0));Q=R=0;q.mode=5;case 5:if(q.flags&1024){for(;16>Q;){if(0===S)break a;S--;R+=I[J++]<
>>8&255,q.check=v(q.check,N,2,0));Q=R=0}else q.head&&(q.head.extra=
+ null);q.mode=6;case 6:if(q.flags&1024){var d=q.length;d>S&&(d=S);d&&(q.head&&(u=q.head.extra_len-q.length,q.head.extra||(q.head.extra=Array(q.head.extra_len)),t.arraySet(q.head.extra,I,J,d,u)),q.flags&512&&(q.check=v(q.check,I,d,J)),S-=d,J+=d,q.length-=d);if(q.length)break a}q.length=0;q.mode=7;case 7:if(q.flags&2048){if(0===S)break a;d=0;do u=I[J+d++],q.head&&u&&65536>q.length&&(q.head.name+=String.fromCharCode(u));while(u&&d
q.length&&(q.head.comment+=String.fromCharCode(u));while(u&&dQ;){if(0===S)break a;S--;R+=I[J++]<>9&1,q.head.done=!0);z.adler=q.check=
+ 0;q.mode=12;break;case 10:for(;32>Q;){if(0===S)break a;S--;R+=I[J++]<
>>=Q&7;Q-=Q&7;q.mode=27;break}for(;3>Q;){if(0===S)break a;S--;R+=I[J++]<
>>=1;--Q;switch(R&3){case 0:q.mode=14;break;case 1:u=q;if(K){U=new t.Buf32(512);O=new t.Buf32(32);for(d=0;144>
+ d;)u.lens[d++]=8;for(;256>d;)u.lens[d++]=9;for(;280>d;)u.lens[d++]=7;for(;288>d;)u.lens[d++]=8;E(1,u.lens,0,288,U,0,u.work,{bits:9});for(d=0;32>d;)u.lens[d++]=5;E(2,u.lens,0,32,O,0,u.work,{bits:5});K=!1}u.lencode=U;u.lenbits=9;u.distcode=O;u.distbits=5;q.mode=20;if(6===M){R>>>=2;Q-=2;break a}break;case 2:q.mode=17;break;case 3:z.msg="invalid block type",q.mode=30}R>>>=2;Q-=2;break;case 14:R>>>=Q&7;for(Q-=Q&7;32>Q;){if(0===S)break a;S--;R+=I[J++]<
>>16^65535)){z.msg="invalid stored block lengths";
+ q.mode=30;break}q.length=R&65535;Q=R=0;q.mode=15;if(6===M)break a;case 15:q.mode=16;case 16:if(d=q.length){d>S&&(d=S);d>k&&(d=k);if(0===d)break a;t.arraySet(G,I,J,d,F);S-=d;J+=d;k-=d;F+=d;q.length-=d;break}q.mode=12;break;case 17:for(;14>Q;){if(0===S)break a;S--;R+=I[J++]<
>>=5;Q-=5;q.ndist=(R&31)+1;R>>>=5;Q-=5;q.ncode=(R&15)+4;R>>>=4;Q-=4;if(286
>>=3;Q-=3}for(;19>q.have;)q.lens[T[q.have++]]=0;q.lencode=q.lendyn;q.lenbits=7;d={bits:q.lenbits};X=E(0,q.lens,0,19,q.lencode,0,q.work,d);q.lenbits=d.bits;if(X){z.msg="invalid code lengths set";q.mode=30;break}q.have=0;q.mode=19;case 19:for(;q.have
A)R>>>=d,Q-=d,q.lens[q.have++]=A;else{if(16===
+ A){for(u=d+2;Q>>=d;Q-=d;if(0===q.have){z.msg="invalid bit length repeat";q.mode=30;break}u=q.lens[q.have-1];d=3+(R&3);R>>>=2;Q-=2}else if(17===A){for(u=d+3;Q>>=d;Q-=d;u=0;d=3+(R&7);R>>>=3;Q-=3}else{for(u=d+7;Q>>=d;Q-=d;u=0;d=11+(R&127);R>>>=7;Q-=7}if(q.have+d>q.nlen+q.ndist){z.msg="invalid bit length repeat";q.mode=30;break}for(;d--;)q.lens[q.have++]=u}}if(30===
+ q.mode)break;if(0===q.lens[256]){z.msg="invalid code -- missing end-of-block";q.mode=30;break}q.lenbits=9;d={bits:q.lenbits};X=E(1,q.lens,0,q.nlen,q.lencode,0,q.work,d);q.lenbits=d.bits;if(X){z.msg="invalid literal/lengths set";q.mode=30;break}q.distbits=6;q.distcode=q.distdyn;d={bits:q.distbits};X=E(2,q.lens,q.nlen,q.ndist,q.distcode,0,q.work,d);q.distbits=d.bits;if(X){z.msg="invalid distances set";q.mode=30;break}q.mode=20;if(6===M)break a;case 20:q.mode=21;case 21:if(6<=S&&258<=k){z.next_out=F;
+ z.avail_out=k;z.next_in=J;z.avail_in=S;q.hold=R;q.bits=Q;r(z,H);F=z.next_out;G=z.output;k=z.avail_out;J=z.next_in;I=z.input;S=z.avail_in;R=q.hold;Q=q.bits;12===q.mode&&(q.back=-1);break}for(q.back=0;;){A=q.lencode[R&(1<
>h)];d=A>>>24;u=A>>>16&255;A&=65535;if(h+d<=Q)break;if(0===S)break a;S--;R+=I[J++]<
>>=h;Q-=h;q.back+=
+ h}R>>>=d;Q-=d;q.back+=d;q.length=A;if(0===u){q.mode=26;break}if(u&32){q.back=-1;q.mode=12;break}if(u&64){z.msg="invalid literal/length code";q.mode=30;break}q.extra=u&15;q.mode=22;case 22:if(q.extra){for(u=q.extra;Q>>=q.extra;Q-=q.extra;q.back+=q.extra}q.was=q.length;q.mode=23;case 23:for(;;){A=q.distcode[R&(1<
>h)];d=A>>>24;u=A>>>16&255;A&=65535;if(h+d<=Q)break;if(0===S)break a;S--;R+=I[J++]<
>>=h;Q-=h;q.back+=h}R>>>=d;Q-=d;q.back+=d;if(u&64){z.msg="invalid distance code";q.mode=30;break}q.offset=A;q.extra=u&15;q.mode=24;case 24:if(q.extra){for(u=q.extra;Q>>=q.extra;Q-=q.extra;q.back+=q.extra}if(q.offset>q.dmax){z.msg="invalid distance too far back";q.mode=30;break}q.mode=25;
+ case 25:if(0===k)break a;d=H-k;if(q.offset>d){d=q.offset-d;if(d>q.whave&&q.sane){z.msg="invalid distance too far back";q.mode=30;break}d>q.wnext?(d-=q.wnext,u=q.wsize-d):u=q.wnext-d;d>q.length&&(d=q.length);h=q.window}else h=G,u=F-q.offset,d=q.length;d>k&&(d=k);k-=d;q.length-=d;do G[F++]=h[u++];while(--d);0===q.length&&(q.mode=21);break;case 26:if(0===k)break a;G[F++]=q.length;k--;q.mode=21;break;case 27:if(q.wrap){for(;32>Q;){if(0===S)break a;S--;R|=I[J++]<
Q;){if(0===S)break a;S--;R+=I[J++]<
q.mode&&(27>q.mode||4!==M))&&c(z,z.output,z.next_out,H-z.avail_out))return q.mode=31,-4;B-=z.avail_in;H-=z.avail_out;z.total_in+=B;z.total_out+=H;q.total+=H;q.wrap&&H&&(z.adler=q.check=q.flags?v(q.check,G,H,z.next_out-H):p(q.check,G,H,z.next_out-H));z.data_type=q.bits+(q.last?64:0)+(12===q.mode?128:0)+(20===q.mode||15===q.mode?256:0);(0===B&&0===H||4===M)&&0===X&&(X=-5);return X};C.inflateEnd=function(z){if(!z||!z.state)return-2;var M=z.state;M.window&&(M.window=null);z.state=null;return 0};C.inflateGetHeader=
+ function(z,M){if(!z||!z.state)return-2;z=z.state;if(0===(z.wrap&2))return-2;z.head=M;M.done=!1;return 0};C.inflateSetDictionary=function(z,M){var f=M.length;if(!z||!z.state)return-2;var N=z.state;if(0!==N.wrap&&11!==N.mode)return-2;if(11===N.mode){var T=p(1,M,f,0);if(T!==N.check)return-3}if(c(z,M,f,f))return N.mode=31,-4;N.havedict=1;return 0};C.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":123,"./adler32":125,"./crc32":127,"./inffast":130,"./inftrees":132}],132:[function(x,
+ W,C){var n=x("../utils/common"),m=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],g=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],b=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],l=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];W.exports=function(a,c,t,p,v,r,E,K){var U=K.bits,O,z,M,f,N,
+ T,q=0,F=new n.Buf16(16);var G=new n.Buf16(16);var k,J=0;for(O=0;15>=O;O++)F[O]=0;for(z=0;z
>=7;30>w;w++)for(Q[w]=h<<7,A=
+ 0;A<1<
=A;A++)P[A]=0;for(A=0;143>=A;)k[2*A+1]=8,A++,P[8]++;for(;255>=A;)k[2*A+1]=9,A++,P[9]++;for(;279>=A;)k[2*A+1]=7,A++,P[7]++;for(;287>=A;)k[2*A+1]=8,A++,P[8]++;t(k,287,P);for(A=0;30>A;A++)J[2*A+1]=5,J[2*A]=c(A,5);B=new m(k,T,257,286,15);H=new m(J,q,0,30,15);X=new m([],F,0,19,7);u=!0}d.l_desc=new g(d.dyn_ltree,B);d.d_desc=new g(d.dyn_dtree,H);d.bl_desc=new g(d.bl_tree,X);d.bi_buf=0;d.bi_valid=0;p(d)};C._tr_stored_block=f;C._tr_flush_block=function(d,A,h,w){var P=
+ 0;if(0
")}return this.stream.write(this.endline(f))};M.prototype.processingInstruction=function(f,N){this.stream.write(this.space(N)+""+f.target);f.value&&this.stream.write(" "+f.value);return this.stream.write(this.spacebeforeslash+"?>"+this.endline(f))};M.prototype.raw=function(f,N){return this.stream.write(this.space(N)+f.value+this.endline(f))};M.prototype.text=function(f,N){return this.stream.write(this.space(N)+
+ f.value+this.endline(f))};M.prototype.dtdAttList=function(f,N){this.stream.write(this.space(N)+""+this.endline(f))};M.prototype.dtdElement=function(f,N){this.stream.write(this.space(N)+""+this.endline(f))};M.prototype.dtdEntity=function(f,N){this.stream.write(this.space(N)+""+this.endline(f))};M.prototype.dtdNotation=function(f,N){this.stream.write(this.space(N)+
+ ""+this.endline(f))};M.prototype.endline=function(f){return f.isLastRootNode?"":this.newline};return M}(O)}).call(this)},{"./XMLCData":160,"./XMLComment":161,"./XMLDTDAttList":162,"./XMLDTDElement":163,"./XMLDTDEntity":164,"./XMLDTDNotation":165,"./XMLDeclaration":166,
+ "./XMLDocType":167,"./XMLElement":170,"./XMLProcessingInstruction":172,"./XMLRaw":173,"./XMLText":177,"./XMLWriterBase":178}],175:[function(x,W,C){(function(){var n=function(z,M){function f(){this.constructor=z}for(var N in M)m.call(M,N)&&(z[N]=M[N]);f.prototype=M.prototype;z.prototype=new f;z.__super__=M.prototype;return z},m={}.hasOwnProperty;var g=x("./XMLDeclaration");var b=x("./XMLDocType");var l=x("./XMLCData");var a=x("./XMLComment");var c=x("./XMLElement");var t=x("./XMLRaw");var p=x("./XMLText");
+ var v=x("./XMLProcessingInstruction");var r=x("./XMLDTDAttList");var E=x("./XMLDTDElement");var K=x("./XMLDTDEntity");var U=x("./XMLDTDNotation");var O=x("./XMLWriterBase");W.exports=function(z){function M(f){M.__super__.constructor.call(this,f)}n(M,z);M.prototype.document=function(f){var N;this.textispresent=!1;var T="";var q=f.children;f=0;for(N=q.length;f
\n
\n
\u5fc5\u987b\u9075\u5faa\u4e0b\u8ff0\u683c\u5f0f\uff1a
","
\u5df2\u4e3a\u4f60\u91cd\u7f6e"],preview:"\u5f53\u524d\u9009\u4e2d\u7684\u7ed3\u679c"},en:{weeks:["Su","Mo","Tu","We","Th","Fr","Sa"],time:["Hours","Minutes","Seconds"],timeTips:"Select Time",startTime:"Start Time",endTime:"End Time",dateTips:"Select Date",month:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],tools:{confirm:"Confirm",clear:"Clear",now:"Now"},timeout:"End time cannot be less than start Time
Please re-select",invalidDate:"Invalid date",formatError:["The date format error
Must be followed\uff1a
","
It has been reset"],preview:"The selected result"}};return e[this.config.lang]||e.cn},g.prototype.init=function(){var r=this,o=r.config,e="static"===o.position,t={year:"yyyy",month:"yyyy-MM",date:"yyyy-MM-dd",time:"HH:mm:ss",datetime:"yyyy-MM-dd HH:mm:ss"};o.elem=lay(o.elem),o.eventElem=lay(o.eventElem),o.elem[0]&&(r.rangeStr=o.range?"string"==typeof o.range?o.range:"-":"","array"===layui.type(o.range)&&(r.rangeElem=[lay(o.range[0]),lay(o.range[1])]),t[o.type]||(i.console&&console.error&&console.error("laydate type error:'"+o.type+"' is not supported"),o.type="date"),o.format===t.date&&(o.format=t[o.type]||t.date),r.format=s.formatArr(o.format),o.weekStart&&!/^[0-6]$/.test(o.weekStart)&&(t=r.lang(),o.weekStart=t.weeks.indexOf(o.weekStart),-1===o.weekStart&&(o.weekStart=0)),r.EXP_IF="",r.EXP_SPLIT="",lay.each(r.format,function(e,t){e=new RegExp(y).test(t)?"\\d{"+(new RegExp(y).test(r.format[0===e?e+1:e-1]||"")?/^yyyy|y$/.test(t)?4:t.length:/^yyyy$/.test(t)?"1,4":/^y$/.test(t)?"1,308":"1,2")+"}":"\\"+t;r.EXP_IF=r.EXP_IF+e,r.EXP_SPLIT=r.EXP_SPLIT+"("+e+")"}),r.EXP_IF_ONE=new RegExp("^"+r.EXP_IF+"$"),r.EXP_IF=new RegExp("^"+(o.range?r.EXP_IF+"\\s\\"+r.rangeStr+"\\s"+r.EXP_IF:r.EXP_IF)+"$"),r.EXP_SPLIT=new RegExp("^"+r.EXP_SPLIT+"$",""),r.isInput(o.elem[0])||"focus"===o.trigger&&(o.trigger="click"),o.elem.attr("lay-key")||(o.elem.attr("lay-key",r.index),o.eventElem.attr("lay-key",r.index)),o.mark=lay.extend({},o.calendar&&"cn"===o.lang?{"0-1-1":"\u5143\u65e6","0-2-14":"\u60c5\u4eba","0-3-8":"\u5987\u5973","0-3-12":"\u690d\u6811","0-4-1":"\u611a\u4eba","0-5-1":"\u52b3\u52a8","0-5-4":"\u9752\u5e74","0-6-1":"\u513f\u7ae5","0-9-10":"\u6559\u5e08","0-10-1":"\u56fd\u5e86","0-12-25":"\u5723\u8bde"}:{},o.mark),lay.each(["min","max"],function(e,t){var a,n,i=[],l=[];l="number"==typeof o[t]?(n=o[t],a=new Date,a=r.newDate({year:a.getFullYear(),month:a.getMonth(),date:a.getDate(),hours:"23",minutes:"59",seconds:"59"}).getTime(),i=[(n=new Date(n?n<864e5?a+864e5*n:n:a)).getFullYear(),n.getMonth()+1,n.getDate()],[n.getHours(),n.getMinutes(),n.getSeconds()]):(i=(o[t].match(/\d+-\d+-\d+/)||[""])[0].split("-"),(o[t].match(/\d+:\d+:\d+/)||[""])[0].split(":")),o[t]={year:0|i[0]||(new Date).getFullYear(),month:i[1]?(0|i[1])-1:(new Date).getMonth(),date:0|i[2]||(new Date).getDate(),hours:0|l[0],minutes:0|l[1],seconds:0|l[2]}}),r.elemID="layui-laydate"+o.elem.attr("lay-key"),(o.show||e)&&r.render(),e||r.events(),o.value&&o.isInitValue&&("date"===layui.type(o.value)?r.setValue(r.parse(0,r.systemDate(o.value))):r.setValue(o.value)))},g.prototype.render=function(){var n,e,t=this,o=t.config,s=t.lang(),i="static"===o.position,a=t.elem=lay.elem("div",{id:t.elemID,"class":["layui-laydate",o.range?" layui-laydate-range":"",i?" "+p:"",o.theme&&"default"!==o.theme&&!/^#/.test(o.theme)?" laydate-theme-"+o.theme:""].join("")}),y=t.elemMain=[],d=t.elemHeader=[],m=t.elemCont=[],c=t.table=[],l=t.footer=lay.elem("div",{"class":"layui-laydate-footer"});o.zIndex&&(a.style.zIndex=o.zIndex),lay.each(new Array(2),function(e){if(!o.range&&0"];lay.each(new Array(e),function(e){n.push("
",m.appendChild(a)}),l()),p&&h.removeChild(p),h.appendChild(m),"year"===t||"month"===t?(lay(o.elemMain[n]).addClass("laydate-ym-show"),lay(m).find("li").on("click",function(){var e=0|lay(this).attr("lay-ym");lay(this).hasClass(x)||(0===n?(y[t]=e,o.limit(lay(o.footer).find(E),null,0)):o.endDate[t]=e,"year"===s.type||"month"===s.type?(lay(m).find("."+w).removeClass(w),lay(this).addClass(w),"month"===s.type&&"year"===t&&(o.listYM[n][0]=e,a&&((n?o.endDate:y).year=e),o.list("month",n))):(o.checkDate("limit").calendar(null,n),o.closeList()),o.setBtnStatus(),s.range||("month"===s.type&&"month"===t||"year"===s.type&&"year"===t)&&o.setValue(o.parse()).remove().done(),o.done(null,"change"),lay(o.footer).find("."+k).removeClass(x))})):(e=lay.elem("span",{"class":C}),r=function(){lay(m).find("ol").each(function(e){var a=this,t=lay(a).find("li");a.scrollTop=30*(o[D][T[e]]-2),a.scrollTop<=0&&t.each(function(e,t){if(!lay(this).hasClass(x))return a.scrollTop=30*(e-2),!0})})},u=lay(c[2]).find("."+C),r(),e.innerHTML=s.range?[d.startTime,d.endTime][n]:d.timeTips,lay(o.elemMain[n]).addClass("laydate-time-show"),u[0]&&u.remove(),c[2].appendChild(e),lay(m).find("ol").each(function(t){var a=this;lay(a).find("li").on("click",function(){var e=0|this.innerHTML;lay(this).hasClass(x)||(s.range?o[D][T[t]]=e:y[T[t]]=e,lay(a).find("."+w).removeClass(w),lay(this).addClass(w),l(),r(),!o.endDate&&"time"!==s.type||o.done(null,"change"),o.setBtnStatus())})})),o},g.prototype.listYM=[],g.prototype.closeList=function(){var a=this;a.config;lay.each(a.elemCont,function(e,t){lay(this).find("."+M).remove(),lay(a.elemMain[e]).removeClass("laydate-ym-show laydate-time-show")}),lay(a.elem).find("."+C).remove()},g.prototype.setBtnStatus=function(e,t,a){var n=this,i=n.config,l=n.lang(),r=lay(n.footer).find(E);i.range&&"time"!==i.type&&(t=t||i.dateTime,a=a||n.endDate,i=n.newDate(t).getTime()>n.newDate(a).getTime(),n.limit(null,t)||n.limit(null,a)?r.addClass(x):r[i?"addClass":"removeClass"](x),e&&i&&n.hint("string"==typeof e?l.timeout.replace(/\u65e5\u671f/g,e):l.timeout))},g.prototype.parse=function(e,t){var a=this,n=a.config,t=t||("end"==e?lay.extend({},a.endDate,a.endTime):n.range?lay.extend({},n.dateTime,a.startTime):n.dateTime),t=u.parse(t,a.format,1);return n.range&&e===undefined?t+" "+a.rangeStr+" "+a.parse("end"):t},g.prototype.newDate=function(e){return e=e||{},new Date(e.year||1,e.month||0,e.date||1,e.hours||0,e.minutes||0,e.seconds||0)},g.prototype.getDateTime=function(e){return this.newDate(e).getTime()},g.prototype.setValue=function(e){var t=this,a=t.config,n=t.bindElem||a.elem[0];return"static"===a.position||(e=e||"",t.isInput(n)?lay(n).val(e):(a=t.rangeElem)?("array"!==layui.type(e)&&(e=e.split(" "+t.rangeStr+" ")),a[0].val(e[0]||""),a[1].val(e[1]||"")):(0===lay(n).find("*").length&&lay(n).html(e),lay(n).attr("lay-date",e))),t},g.prototype.preview=function(){var e,t=this,a=t.config;a.isPreview&&(e=lay(t.elem).find("."+f),a=!a.range||t.endDate?t.parse():"",e.html(a).css({color:"#5FB878"}),setTimeout(function(){e.css({color:"#666"})},300))},g.prototype.done=function(e,t){var a=this,n=a.config,i=lay.extend({},lay.extend(n.dateTime,a.startTime)),l=lay.extend({},lay.extend(a.endDate,a.endTime));return lay.each([i,l],function(e,t){"month"in t&&lay.extend(t,{month:t.month+1})}),a.preview(),e=e||[a.parse(),i,l],"function"==typeof n[t||"done"]&&n[t||"done"].apply(n,e),a},g.prototype.choose=function(e,a){var n=this,i=n.config,l=n.thisDateTime(a),t=(lay(n.elem).find("td"),{year:0|(t=e.attr("lay-ymd").split("-"))[0],month:(0|t[1])-1,date:0|t[2]});e.hasClass(x)||(lay.extend(l,t),i.range?(lay.each(["startTime","endTime"],function(e,t){n[t]=n[t]||{hours:e?23:0,minutes:e?59:0,seconds:e?59:0},a===e&&(n.getDateTime(lay.extend({},l,n[t]))a",y.leadingWhitespace=3===S.firstChild.nodeType,y.tbody=!S.getElementsByTagName("tbody").length,y.htmlSerialize=!!S.getElementsByTagName("link").length,y.html5Clone="<:nav>"!==g.createElement("nav").cloneNode(!0).outerHTML,q.type="checkbox",q.checked=!0,k.appendChild(q),y.appendChecked=q.checked,S.innerHTML="",y.noCloneChecked=!!S.cloneNode(!0).lastChild.defaultValue,k.appendChild(S),(q=g.createElement("input")).setAttribute("type","radio"),q.setAttribute("checked","checked"),q.setAttribute("name","t"),S.appendChild(q),y.checkClone=S.cloneNode(!0).cloneNode(!0).lastChild.checked,y.noCloneEvent=!!S.addEventListener,S[C.expando]=1,y.attributes=!S.getAttribute(C.expando);var x={option:[1,""],legend:[1,""],area:[1,""],param:[1,""],thead:[1,"
","
"],tr:[2,"","
"],col:[2,"
"],td:[3,"
"],_default:y.htmlSerialize?[0,"",""]:[1,"X","