text: /*! power by kodcloud ver4.37(2018-11-28) [build 1543400681336] */
  define("app/src/explorer/main",["lib/jquery-lib","lib/util","lib/ztree/ztree","lib/contextMenu/jquery-contextMenu","lib/artDialog/jquery-artDialog","../../common/taskTap","../../common/core","../../common/tpl/upload.html","../../common/tpl/formMake.html","../../common/core.tools","../../common/core.upload","../../common/core.api","../../common/core.playSound","../../common/core.formMake","../../common/rightMenuExtence","../../app/appBase","../../app/editor","../../app/openWith","../../app/html","../../common/tpl/copyright.html","../../common/tpl/themeDIY.html","../../common/rightMenu","./ui","./fileContent","../../path/tpl/file/list.html","../../common/tree","../../path/pathOperate","../../path/tpl/share.html","../../path/tpl/fileinfo/fileInfo.html","../../path/tpl/fileinfo/pathInfo.html","../../path/tpl/fileinfo/pathInfoMore.html","../../path/tpl/appEdit.html","../../path/clipboard","../../path/search","../../path/tpl/search.html","../../path/tpl/searchList.html","../../path/path","../../path/tpl/file/create.html","./fileLight","./fileSelect","./fileListResize","./headerAddress","./options"],function(a,b,c){Config={BodyContent:".bodymain",FileBoxSelector:".bodymain .file-continer",FileBoxClass:".bodymain .file-continer .file",FileBoxClassName:"file",FileBoxTittleClass:".bodymain .file-continer .title",SelectClass:".bodymain .file-continer .file.select",SelectClassName:"select",TypeFolderClass:"folder-box",TypeFileClass:"file-box",HoverClassName:"hover",TreeId:"folder-list-tree",pageApp:"explorer",treeAjaxURL:"explorer/treeList&app=explorer",AnimateTime:200},a("lib/jquery-lib"),a("lib/util"),a("lib/ztree/ztree"),a("lib/contextMenu/jquery-contextMenu"),a("lib/artDialog/jquery-artDialog"),TaskTap=a("../../common/taskTap"),core=a("../../common/core"),rightMenu=a("../../common/rightMenu"),ui=a("./ui"),ui.tree=a("../../common/tree"),ui.path=a("../../path/path"),ui.fileLight=a("./fileLight"),ui.fileSelect=a("./fileSelect"),ui.fileListResize=a("./fileListResize"),ui.headerAddress=a("./headerAddress"),ui.options=a("./options");$(document).ready(function(){function b(a){var b=new RegExp("(^|&)"+a+"=([^&]*)(&|$)"),c=window.location.search.substr(1).match(b);return null!=c?unescape(c[2]):null}rightMenu.initExplorer(),core.init(),ui.init(),ui.tree.init(),ui.fileLight.init(),ui.fileSelect.init(),ui.headerAddress.init(),TaskTap.init(),ui.fileListResize.init(),ui.fileListResize.initFileSize(),ui.options.init(),$(".init-loading").fadeOut(450).addClass("pop_fadeout"),a.async("lib/webuploader/webuploader-min",function(){core.uploadInit()}),"fileList"==b("type")&&($(".menu-theme-list").remove(),$(".tools .tools-left").remove(),$(".header-middle").prependTo(".tools").css("padding-top","3px"),$("#yarnball").addClass("btn-left-radius"))})});;;;;;;define("app/common/taskTap",[],function(a,b){var c={},d="",e=160,f=function(){$(".task-tab .tab").die("mouseenter").live("mouseenter",function(a){$(this).hasClass("this")||$(this).addClass("hover")}).die("mouseleave").live("mouseleave",function(){$(this).removeClass("hover")})},g=function(a){var b=a.attr("id"),c=$.dialog.list[b];if(void 0==c)return void l(b);var d=$("."+b);"hidden"==d.css("visibility")?c.display(!0).zIndex():d.hasClass("aui-state-focus")?c.display(!1):c.zIndex()},h=function(){var a,b,c,d,f=!1,h=!1,i=0,j=0,k=0,l=0,m=0,n=0;$(".task-tab .tab").die("mousedown").live("mousedown",function(b){1==b.which&&(a=$(this),o(b),this.setCapture&&this.setCapture(),$(document).mousemove(function(a){p(a)}),$(document).one("mouseup",function(b){r(),this.releaseCapture&&this.releaseCapture(),Math.abs(b.pageX-i)<10&&g(a)}))});var o=function(d){f=!0,h=!0,i=d.pageX,$tab_parent=$(".task-tab"),b=$(".task-tab .tab"),$(".tasktab-dragging").remove(),c=a.clone().addClass("tasktab-dragging").prependTo("body"),l=$sizeInt(b.css("margin-right")),m=$tab_parent.width(),n=$tab_parent.get(0).getBoundingClientRect().left,n+=$(window).scrollLeft(),j=a.get(0).getBoundingClientRect().left,k=$sizeInt(b.css("width"));var e=a.get(0).getBoundingClientRect().top-$sizeInt(a.css("margin-top")),g=d.clientX-i+j;$("body").prepend("<div class='dragMaskView'></div>"),c.css({width:k+"px",top:e,left:g}),a.css("opacity",0)},p=function(d){if(h){window.getSelection?window.getSelection().removeAllRanges():document.selection.empty(),0==f&&o(d);var e=d.clientX-i+j;n>e||e>n+m-k||(c.css("left",e),b.each(function(b){var c=$(this).get(0).getBoundingClientRect().left;if(e>c&&c+k/2+l>e){if(a.attr("id")==$(this).attr("id"))return;q($(this).attr("id"),"left")}if(e>c-k/2+l&&c>e){if(a.attr("id")==$(this).attr("id"))return;q($(this).attr("id"),"right")}}))}},q=function(c,f){if(!a.is(":animated")||d!=c){d=c,a.stop(!0,!0),$(".insertTemp").remove(),b=$(".task-tab .tab");var g=a.width(),h=$(".task-tab #"+c),i=a.clone(!0).insertAfter(a).css({"margin-right":"0px",border:"none"}).addClass("insertTemp");"left"==f?a.after(h).css("width","0px"):(a.before(h).css("width","0px"),h.before(i)),a.animate({width:g+"px"},e),i.animate({width:"0px"},e,function(){$(this).remove(),b=$(".task-tab .tab")})}},r=function(){h=!1,f=!1,startTime=0,$(".dragMaskView").remove(),void 0!=c&&(j=a.get(0).getBoundingClientRect().left,c.animate({left:j+"px"},e,function(){a.css("opacity",1),$(this).remove()}))}},i=function(a){var b=110,c=b,d=b+12,f=$(".task-tab .tab"),g=$(".task-tab .tabs").width()-10,h=f.length,i=Math.floor(g/d);switch(h>i&&(c=Math.floor(g/h)-12),a){case"add":$(".task-tab .tabs .this").css("width","0").animate({width:c+"px"},e);case"close":f.animate({width:c+"px"},e);break;case"resize":f.css("width",c+"px")}},j=function(a,b){$(".task-tab").removeClass("hidden");var d=b.replace(/<[^>]+>/g,""),e='<div class="tab menu-taskbar" id="'+a+'" title="'+d+'">'+b+"</div>";$(e).insertBefore(".task-tab .last"),i("add"),c[a]={id:a,name:name}},k=function(a){$(".task-tab .this").removeClass("this"),$(".task-tab #"+a).addClass("this"),d=a},l=function(a){$(".task-tab #"+a).animate({width:0},e,function(){if($(".task-tab #"+a).remove(),i("close"),0==$(".tabs .tab").length&&!core.isApp("desktop")){var b=31;$(".task-tab").animate({bottom:"-"+b+"px"},200,0,function(){$(this).css({bottom:"0px"}).addClass("hidden")})}}),delete c[a]},m=function(){$('<i class="menu-taskbar"></i>').appendTo("#rightMenu"),$.contextMenu({zIndex:9999,selector:".menu-taskbar",items:{"quit-others":{name:LNG.close_others,className:"quit-others",icon:"remove-circle",accesskey:"o"},quit:{name:LNG.close,className:"quit",icon:"remove",accesskey:"q"}},callback:function(a,b){var c=b.$trigger.attr("id"),d=$.dialog.list[c];switch(a){case"quit-others":$.each($.dialog.list,function(a,b){c!=a&&b.close()});break;case"quit":d.close()}}})},n=function(){$.contextMenu({zIndex:9999,selector:".task-tab",items:{closeAll:{name:LNG.dialog_close_all,icon:"remove-circle",accesskey:"q"},showAll:{name:LNG.dialog_display_all,icon:"th-large",accesskey:"s"},hideAll:{name:LNG.dialog_min_all,icon:"remove",accesskey:"h"}},callback:function(a,b){var c=b.$trigger.attr("id");$.dialog.list[c];switch(a){case"showAll":$.each($.dialog.list,function(a,b){b.display(!0)});break;case"hideAll":$.each($.dialog.list,function(a,b){b.display(!1)});break;case"closeAll":$.each($.dialog.list,function(a,b){b.close()})}}})};return{add:j,focus:k,close:l,init:function(){var a='<div class="task-tab"><div class="tabs"><div class="last" style="clear:both;"></div></div></div>';$(a).appendTo("body"),core.isApp("desktop")||$(".task-tab").addClass("hidden"),$(window).bind("resize",function(){i("resize")}),f(),m(),n(),h()}}});;!function($){!function($,n,i,t,r,o,e,c,f,a,u,d,v,s,E,h,C,l,p,A,O,G,g,b,S,m,I,J,y,B,K,L,k,F,X,_,M,Q,N,R,H,w,P,T,D,x,V,z,Y,W,U,q,j,Z,$n,nn,tn,rn,on,en,cn,fn,an,un,dn,vn,sn,En,hn,Cn,ln,pn,An,On,Gn,gn,bn,Sn,mn,In,Jn,yn,Bn,Kn,Ln,kn,Fn,Xn,_n,Mn,Qn,Nn,Rn,Hn,wn,Pn,Tn,Dn,xn,Vn,zn,Yn,Wn,Un,qn,jn,Zn,$i,ni,ii,ti,ri,oi,ei,ci,fi,ai,ui,di,vi,si,Ei,hi,Ci,li,pi,Ai,Oi,Gi,gi,bi,Si,mi,Ii,Ji,yi,Bi,Ki,Li,ki,Fi,Xi,_i,Mi,Qi,Ni,Ri,Hi,wi,Pi,Ti,Di,xi,Vi,zi,Yi,Wi,Ui,qi,ji,Zi,$t,nt,it,tt,rt,ot,et,ct,ft,at,ut,dt,vt,st,Et,ht,Ct,lt,pt,At,Ot,Gt,gt,bt,St,mt,It,Jt,yt,Bt,Kt,Lt,kt,Ft,Xt,_t,Mt,Qt,Nt,Rt,Ht,wt,Pt,Tt,Dt,xt,Vt,zt,Yt,Wt,Ut,qt,jt,Zt,$r,nr,ir,tr,rr,or,er,cr,fr,ar,ur,dr,vr,sr,Er,hr,Cr,lr,pr,Ar,Or,Gr,gr,br,Sr,mr,Ir,Jr,yr,Br,Kr,Lr,kr,Fr,Xr,_r,Mr,Qr,Nr,Rr,Hr,wr,Pr,Tr,Dr,xr,Vr,zr,Yr,Wr,Ur,qr,jr,Zr,$o,no,io,to,ro,oo,eo,co,fo,ao,uo,vo,so,Eo,ho,Co,lo,po,Ao,Oo,Go,go,bo,So,mo,Io,Jo,yo,Bo,Ko,Lo,ko,Fo,Xo,_o,Mo,Qo,No,Ro,Ho,wo,Po,To,Do,xo,Vo,zo,Yo,Wo,Uo,qo,jo,Zo,$e,ne,ie,te,re,oe,ee,ce,fe,ae,ue,de,ve,se,Ee,he,Ce,le,pe,Ae,Oe,Ge,ge,be,Se,me,Ie,Je,ye,Be,Ke,Le,ke,Fe,Xe,_e,Me,Qe,Ne,Re,He,we,Pe,Te,De,xe,Ve,ze,Ye,We,Ue,qe,je,Ze,$c,nc,ic,tc,rc,oc,ec,cc,fc,ac,uc,dc,vc,sc,Ec,hc,Cc,lc,pc,Ac,Oc,Gc,gc,bc,Sc,mc,Ic,Jc,yc,Bc,Kc,Lc,kc,Fc,Xc,_c,Mc,Qc,Nc,Rc,Hc,wc,Pc,Tc,Dc,xc,Vc,zc,Yc,Wc,Uc,qc,jc,Zc,$f,nf,tf,rf,of,ef,cf,ff,af,uf,df,vf,sf,Ef,hf,Cf,lf,pf,Af,Of,Gf,gf,bf,Sf,mf,If,Jf,yf,Bf,Kf,Lf,kf,Ff,Xf,_f,Mf,Qf,Nf,Rf,Hf,wf,Pf,Tf,Df,xf,Vf,zf,Yf,Wf,Uf,qf,jf,Zf,$a,na,ia,ta,ra,oa,ea,ca,fa,aa,ua,da,va,sa,Ea,ha,Ca,la,pa,Aa){$[i](t,[r,o,e,c,f,a,u,d,v,s,E,h,C,l],function(n){$[p]=n(r),$[A]=n(o);var i=n(e),t=n(c),Oa=n(f),Ga=n(a),ga=n(u);n(d),$[O]=n(v),n(s),n(E),n(h),$[G]=function(n){return $[g](n)},$[b]=function(n){return $[S](n)};var ba=function(){$[I][m]=n,$[y][J]||($[y][J]=function(n,i){$[y][B][n]=i},$[y][K]=function(n,i){$[y][B][L][n]=i}),$[y][J](k,!F),$[y][J](X,!_),$[y][K](M,{$:$[Q],window:$[I],log:$[R][N],core:$[H],pathTools:$[I][w],inArray:$[P]}),$[y][B][L][w]=$[I][w],$[y][B][k]=!F,T==$[x][D]?($[y][B][V]=!F,$[y][B][z]=!F,$[y][B][Y]=!_):($[y][B][V]=!_,$[y][B][z]=!_,$[y][B][Y]=!F)},Sa=function(){ba(),W!=typeof $[x]&&(F!=$[x][U]&&$[Q](j)[q](),$[x][U]||$[H][Z]($n)||F==$[H][Z](nn)||$[Q](tn)[q](),$[x][rn]&&on==$[x][rn][en]&&($[Q][fn][B][cn]=!F),ma()),$[an]()&&($[Q](dn)[un](vn),n[sn](En,function(){$[Q](function(){$[Cn][hn]($[ln][dn])})}),$[Q](An)[pn](On,function(){var n=$[Q](this);$[Q](this)[Gn](gn)||(n=$[Q](this)[bn](Sn)),n[mn](In),$[Q][yn][Jn]()}),$[Q](Bn)[pn](Kn,function(){var n=$[Q](this)[Ln](kn);n[Fn](Xn,_n),$[Mn](function(){n[Fn](Xn,Qn)},Nn)})),$[Q](Hn)[Rn](wn,function(n){if(_==$[Q](n[Tn])[bn](kn)[Pn])try{$[Q][yn][Jn]()}catch(n){}}),$[Q](dn)[wn](function(){$[xn][Dn](Vn,function(n){$[zn]!=n&&n[Q](dn)[mn](wn)})}),$[Q][fn][B][cn]&&$[Yn]([Wn,Un,qn,Sn,jn,Zn,$i,ni],[ii,ti,ri,oi]),$[Q](ci)[ei](fi,ai),$[Q][ui]({headers:{"X-CSRF-TOKEN":$[vi][di](si)}}),$[Q](Ei)[wn](function(){var n=$[Q](this)[ei](hi);$[vi][Ci](hi,n),$[I][pi][li]()}),$[Q](Ei)[Fn]({padding:Ai}),$[Q](Oi+$[vi][di](hi)+Gi)[Fn]({background:gi,color:bi}),$[H][Si](),$[H][Ii][mi]();for(var i=_;i<$[I][Ji][Pn];i++)try{$[I][Ji][i]()}catch(t){$[R][yi](Bi,t)}$[Ki][mn](Li),Ia()},ma=function(){var n=$[I][pi],i=n[ki]?Fi+n[ki]:Vn;$[x][Xi]=n[_i]+Mi+n[Qi]+i+Ni,$[x][Ri]=$[Hi]($[x][Xi],Ni)+n[Pi][wi](Ti,Vn);var t=$[x][Di][wi](Ti,Vn);$[x][Xi]+$[xi](t,Ni)!=$[x][Ri]&&($[x][Xi]=$[Hi]($[x][Ri],t)+Ni),$[x][Vi]=$[x][Ri]+zi,Yi==$[x][Ui][Wi]&&($[x][Vi]=$[x][Vi][wi](zi,qi)),$[vi][Ci](ji,$[x][Xi]),$[vi][Ci](Zi,$[x][Ri]),$[vi][Ci]($t,$[x][nt],it)},Ia=function(){$[an]()||n[sn]([tt,rt],function(){var n=$[Q](ot);n[et]({className:ct,liveEvents:!_,slide:!F,alignTo:ft,alignX:at,alignY:ut,showAniDuration:dt,hideAniDuration:vt,offsetY:st,offsetX:Et,showTimeout:function(){var n=ht;return $[Q](this)[ei](Ct)&&(n=$[lt]($[Q](this)[ei](Ct))),n},content:function(){var n=$[Q](this)[pt](At);if($[Q](this)[ei](Ot)){var i=$[Q]($[Q](this)[ei](Ot));n=i[Gt](gt)||i[Gt](bt)?i[St]():i[Hn]()}return n=n?n:Vn,n[wi](mt,It)}}),$[Q](dn)[Rn](Kn,function(){$[Q](Jt)[q](),$[Q][yt](Bt,Kt)})[Rn](In,function(){$[Q][yt](Vn,Kt)}),$[Q](Lt)[pn](kt,function(){$[Q](n)[et](Ft),$[Q](Jt)[q]()})})};return{init:Sa,serverDwonload:t[Xt],upload:t[_t],uploadInit:t[mi],playSound:Ga[Mt],playSoundFile:Ga[Qt],tools:i,api:Oa,formMake:ga,getPathIcon:function(n,i){if(i=void _==i?Vn:i,Nt==$[Q][Rt](n)){var t=$[Ht]($[Ht](n),Ni);if(n={},wt!=t[Pt](_,F)||t[Tt](Ni)[Pn]>F)return{icon:Vn,name:Vn};n[Dt]=t[xt](Vt),n[zt]=t[Tt](Fi)[F]}var r={};r[$[x][Yt]]={icon:Wt,name:$[qt][Ut]},r[$[x][jt]]={icon:Zt},r[$[x][$r]]={icon:nr},r[$[x][ir]]={icon:Wt},r[$[x][tr]]={icon:rr,name:$[qt][rr]},r[$[x][or]]={icon:er,name:$[qt][cr]},r[$[x][fr]]={icon:ar,name:$[qt][ur]},r[$[x][dr]]={icon:vr,name:$[qt][sr]};var o=r[n[Dt]];return n[Dt]==$[x][Yt]&&$[x][Er]!=n[zt]?o={icon:hr,name:i}:n[Dt]==$[x][jt]&&Cr==n[lr]&&(o={icon:Zt}),void _==o&&(o={icon:Vn,name:Vn}),void _==o[pr]&&(o[pr]=i),o},isFileView:function(){var n=$[x][Ar]+Or+$[x][Gr];return gr==n||br==n?!_:!F},isSystemPath:function(n){var n=$[Ht]($[Ht](n),Ni);if(void _==n||wt!=n[Pt](_,F)||n[Tt](Ni)[Pn]>F)return!F;var i=n[xt](Sr),t=[$[x][Yt],$[x][$r],$[x][tr],$[x][or],$[x][fr],$[x][dr]];return-F!==$[Q][P](i[_],t)?!_:!F},pathPre:function(n){if(n=$[Ht]($[Ht](n),Ni),void _==n||wt!=n[Pt](_,F))return Vn;var i=n[xt](mr);return i[_]},contextmenu:function(n){try{$[Q][yn][Jn]()}catch(i){}var i=n||$[I][Ir];return i?i&&$[Q](i[Tn])[Gt](bt)||$[Q](i[Tn])[Gt](gt)||$[Q](i[Tn])[Gt](Jr)||$[Q](i[Tn])[Gt](yr)||_!=$[Q](i[Tn])[bn](Br)[Pn]||_!=$[Q](i[Tn])[bn](Kr)[Pn]||_!=$[Q](i[Tn])[bn](Lr)[Pn]||_!=$[Q](i[Tn])[bn](kr)[Pn]?!_:!F:!_},pathThis:function(n){if(!n||Ni==n)return Vn;var i=$[Hi](this[Fr](n),Ni),t=i[Xr](Ni),r=i[_r](t+F);if(_==r[Mr](Qr)){r=$[Nr](r[_r](r[Mr](Rr)));var o=r[Tt](Ni);r=o[o[Pn]-F],Vn==r&&(r=o[o[Pn]-Hr])}return r},pathClear:function($){if(!$)return Vn;var n=$[wi](wr,Ni);return n=n[wi](Pr,Ni),n=n[wi](Tr,Ni)},pathFather:function(n){var i=$[Hi](this[Fr](n),Ni),t=i[Xr](Ni);return i[_r](_,t+F)},pathExt:function(n){var i=$[Ht](n,Ni);return-F!=i[Xr](Ni)&&(i=i[_r](i[Xr](Ni)+F)),-F!=i[Xr](Or)?i[_r](i[Xr](Or)+F)[Dr]():i[Dr]()},pathUrlEncode:function(n){if(!n)return Vn;var i=$[xr](n);return i=i[wi](Vr,Ni)},path2url:function(n,i){if(zr==n[_r](_,Yr))return n;void _==i&&(i=!_);var t,r=this[Fr](n);return $[x][U]&&i&&r[Pt](_,$[x][Wr][Pn])==$[x][Wr]?t=r[Pt](_,$[x][Ur][Pn])==$[x][Ur]?$[x][Ri]+this[qr](r[wi]($[x][Ur],Vn)):$[x][Xi]+this[qr](r[wi]($[x][Wr],Vn)):(t=$[x][Vi]+jr+$[x][Zr]+Rr+$[xr](r),W!=typeof $[x][$o]&&(t=$[x][Vi]+no+$[x][hr]+io+$[x][to]+Rr+$[xr](r))),t},pathCommon:function(n){if(zr==n[_r](_,Yr))return $[xr](n);if(n[_r](_,$[x][Yt][Pn])==$[x][Yt])return $[xr](n);var i=this[Fr](n),t=$[xr](i);return W!=typeof $[x][$o]&&(t=$[xr]($[x][Yt]+Fi+$[x][hr]+Ni+$[x][ro][pr]+i)),t},isApp:function(n){if(W==typeof $[oo])return!F;var i=$[oo][eo];return Nt==typeof n?i==n:$[Q][co](n)&&-F!==$[Q][P](i,n)?!_:!F},pathReadable:function(n){if(fo!=typeof $[x][ao])return!_;for(var i=$[x][ao][uo],t=_;t<i[Pn];t++)if(i[t][vo]==n)return void _==i[t][so]||F==i[t][so]?!_:!F;i=$[x][ao][Eo];for(var t=_;t<i[Pn];t++)if(i[t][vo]==n)return void _==i[t][so]||F==i[t][so]?!_:!F;return!_},pathCurrentWriteable:function(){return $[H][ho](Co)?!F:$[x][ao][lo]?$[x][ao][lo][po]:!F},authCheck:function(n,i){return $[x][U]?!_:$[Oo][Ao](n)&&F==$[Oo][n]?!_:(i&&(i=i===!_?$[qt][Go]:i,$[bo][go](i,!F)),!F)},authCheckGroup:function(n,i){if(i=i||$[x][So],F==$[x][U]||!$[x][mo])return!_;var t=i[xt]($[Io](Ni+$[x][jt]+Jo));if(t&&Hr==t[Pn]&&$[x][mo][t[F]]){var r=$[x][mo][t[F]];if(!r[Ao](n)||F!=r[n])return!F}return!_},ajaxError:function(n){var i=n[yo],t=$[Q][fn][Ko][Bo];return $[bo][Lo]($[qt][ko],!F),Fo==i[_r](_,Xo)?void $[Mn](function(){var n=$[xn][Dn]();n[pi][li]()},_o):(_==n[Mo]&&Vn==i&&(i=Qo),i=No+i+Ro,t||$[Q][fn]({id:Bo,padding:_,width:Ho,height:wo,fixed:!_,resize:!_,ico:$[H][Po](yi),title:To,content:Vn}),void $[Q][Do]($[Q](xo),i))},fileGet:function(n,i,t){var r=Vo;zr==n[_r](_,Yr)&&(r=zo);var o=$[x][Vi]+Yo+r+Wo+$[xr](n);W!=typeof $[x][$o]&&(o=$[x][Vi]+Uo+$[x][hr]+io+$[x][to]+qo+r+Wo+$[xr](n)),(n[jo](Yo)>=_||n[jo](Zo)>=_)&&(o=n),$[Q][$e]({url:o,dataType:ne,error:function(n,i,r){$[H][ie](n,i,r),te==typeof t&&t()},success:function(n){n[re]&&te==typeof i&&(F==n[pt][oe]&&(n[pt][ee]=$[ce](n[pt][ee])),i(n[pt][ee],n,o)),n[re]||te==typeof t&&t(n[pt])}})},fileInfo:function(n,i){var t=$[x][Vi]+fe;W!=typeof $[x][$o]&&(t=$[x][Vi]+ae+$[x][hr]+io+$[x][to]),$[Q][$e]({url:t,type:ue,dataType:ne,data:n,error:$[H][ie],success:function($){te==typeof i&&i($,n)}})},fileLink:function(n,i){if(n=this[Fr](n),$[x][U]&&n[Pt](_,$[x][Wr][Pn])==$[x][Wr]){var t=$[x][Xi]+this[qr](n[wi]($[x][Wr],Vn));return void(te==typeof i&&i(t,n))}var r=de+$[xr](n)+ve;this[se](r,function(t){var r=t[re]?t[pt][Ee]:!F;return r?void(te==typeof i&&i(r,n)):void $[bo][go]($[qt][he]+Ce+$[qt][le],!F)})},setting:function(n){void _==n&&(n=$[x][U]?pe:hr);var i=Ae,t=Ae;$[an]()&&(i=Oe,t=Oe),$[xn][Dn](Ge)?$[xn][Dn](Ge,function(i){i[be][ge](n),$[Q][fn][Ko][me][Se](!_)}):$[Q][fn][Ie]($[x][Vi]+Je+n,{id:me,fixed:!_,ico:$[H][Po](ye),resize:!_,title:$[qt][ye],width:i,height:i})},copyright:function(){var i=n(C),t=$[y][Be](i),r=$[xn][Dn]();r[Ke][fn]({id:Le,bottom:_,right:_,simple:!_,resize:!F,disableTab:!_,title:$[qt][ke],width:Fe,padding:on,fixed:!_,content:t({LNG:$[qt],G:$[x]})}),r[Q](Xe)[un](_e)},qrcode:function(n,i){Me==n[_r](_,Hr)&&(n=$[x][Vi]+n[_r](Hr));var t=$[x][Vi]+Qe+$[Ne]($[xr](n)),r=Re+$[Ne](n)+He+n+we+t+Pe;$[Q][fn]({follow:i,fixed:!_,resize:!F,title:$[qt][Te],padding:De,content:r})},appStore:function(){var n=$[xn][Dn]();n[Q][fn][Ie]($[x][Vi]+xe,{id:Ve,fixed:!_,ico:$[H][Po](ze),resize:!_,title:$[qt][Ve],width:Ye,height:Ye})},openWindow:function(n,i,t,r){i=i?i:$[qt][go],t=t?t:Ye,r=r?r:We,$[an]()&&(t=Oe,r=Oe);var o=$[xn][Dn](),e=o[Q][fn][Ie](n,{ico:Vn,title:i,fixed:!_,resize:!_,width:t,height:r});return e},openWindowFull:function(n,i){return $[H][Ue](n,i,Oe,Oe)},openWindowBig:function(n,i){return $[H][Ue](n,i,qe,qe)},openDialog:function(n,i,t,r,o){if(n){void _==r&&(r=je+$[Ze]());var e=$c+r+nc+$[ic](n)+tc,c=$[xn][Dn](),f={id:r,fixed:!_,title:t,ico:i,width:Ye,height:rc,padding:_,content:e,resize:!_};f=$[Q][oc]({},f,o);var a=c[Q][fn](f);return a}},openApp:function(n){if(ec==n[Rt]){var i=n[Po];-F==n[Po][Mr]($[x][cc])&&zr!=n[Po][Pt](_,Yr)&&(i=$[x][cc]+fc+n[Po]),ac!=typeof n[uc]&&-F===n[uc][Mr](dc)&&(n[uc]=$[lt](n[uc])),ac!=typeof n[vc]&&-F===n[vc][Mr](dc)&&(n[vc]=$[lt](n[vc])),n[uc]||(n[uc]=qe),n[vc]||(n[vc]=We);var t={resize:n[sc],fixed:!_,ico:$[H][Ec](i),title:n[pr][wi](hc,Vn),width:n[uc],height:n[vc],simple:n[Cc],padding:_},r=n[ee];if(lc==$[Q][pc]()[_i]&&zr==$[Q][pc](r)[_i])return void $[I][Ie](r);var o=$[xn][Dn]();Ac==$[H][Oc](r)?(t[ee]=$[H][Gc](r),o[Q][fn](t)):o[Q][fn][Ie](r,t)}else{var e=n[ee];$[Io](wt+e+gc)}},update:function(){$[Mn](function(){var i=$[ce](bc)+Sc+$[Ze]();n[sn](i,function($){try{$[mc](Ic)}catch(n){}})},vt)},openPath:function(n){$[H][ho](Jc)?$[yc][vo][Ko](n,go):$[H][Jc](n)},explorer:function(n,i){void _==n&&(n=Vn),void _==i&&(i=$[H][Bc](n));var t=$[x][Vi]+Kc+n;W!=typeof $[x][$o]&&(t=$[x][Vi]+Lc+$[x][hr]+io+$[x][to]+Rr+n);var r=$[xn][Dn](),o=r[Q][fn][Ie](t,{className:kc,resize:!_,fixed:!_,ico:$[H][Po](Fc),title:i,width:Ye,height:rc}),e=Et*r[Q](Xc)[Pn];o[Mc][_c][Fn]({left:Qc+e+Nc,top:Qc+e+Nc})},explorerCode:function(n){void _==n&&(n=Vn);var i=$[x][Vi]+Rc+n;W!=typeof $[x][$o]&&(i=$[x][Vi]+Hc+$[x][hr]+io+$[x][to]+wc+n),$[I][Ie](i)},setSkinFinished:function(){var n=$[Q](Pc)[ei](Tc);n&&($[Q](Dc)[ei](xc,n),$[Q](Pc)[q]())},setSkin:function(n){$[Vc][Ci](zc,n),$[x][rn][zc]=n;var i=$[x][cc]+Yc+n+Wc+$[x][Uc];i!=$[Q](Dc)[ei](xc)&&$[Q](dn)[qc](jc+i+Zc),this[Si]()},setSkinDiy:function(){if($[x][rn]){var i=$[Vc][di](zc),t=$f,r=$[Vc][nf](t);fo!=typeof r&&fo==typeof $[x][rn][tf]&&(r=$[x][rn][tf]),fo!=typeof r&&(r={bgBlur:F,bgImage:$[x][cc]+rf,bgType:of,startColor:ef,endColor:cf,colorRotate:ff},$[Vc][af](t,r)),$[x][rn][tf]=r;var o=Vn;if(uf==i&&r){var e=n(l),c=$[y][Be](e);o=c(r)}$[Q][yt](o,t)}},editorFull:function(){var n=$[Q](df);n[vf](sf)},language:function(n){$[vi][Ci]($t,n,it),$[I][pi][li]()},fullScreen:function(){Ef==$[Q](dn)[ei](hf)&&$[H][Cf](),$[Q](dn)[ei](hf,Ef);var n=$[xn][Dn](),i=n[ln][lf];i[pf]?i[pf]():i[Af]?i[Af]():i[Of]&&i[Of]()},exitfullScreen:function(){$[Q](dn)[ei](hf,ai),$[ln][Gf]?$[ln][Gf]():$[ln][gf]?$[ln][gf]():$[ln][bf]&&$[ln][bf]()},createFlash:function(n,i,t){var r=$[Ze]();(W==typeof t||Vn==t)&&(t=r);var o=Vn;$[Q][mf][Sf]&&$[lt]($[Q][mf][Uc])<If&&(o=Jf);var e=yf+r+Bf+o+Kf+t+Lf+t+kf+n+Ff+n+Xf+i+_f+r+Mf;return $[Mn](function(){var n=$[Q](Or+r);if(F!=n[Pn]){var i=$[xn][Dn]();n=i[Q](Or+r)}if(F==n[Pn])var t=_,o=n[_],e=$[Qf](function(){try{t++,Nf==$[Hf][Rf](o[wf]())?(n[Pf](Tf)[q](),$[Df](e),e=xf):t>Nf&&(n[Pf](Tf)[q](),$[Df](e),e=xf)}catch(i){}},Nf)},Vf),e},userSpaceHtml:function(n){var i=n[Tt](Ni),t=$[zf](i[_]),r=Yf*$[zf](i[F]),o=$[w][Wf]($[zf](i[_])),e=$[w][Wf](r),c=o+Ni,f=Nf*t/r;f>=Nf&&(f=Nf);var a=Vn;return f>=Uf&&(a=qf),_==r||$[jf](r)?(c+=$[qt][Zf],f=$a):(c+=e,f+=dc),c=na+a+ia+f+ta+c+ra},dateTime:function(n){return $[oa]($[qt][ea],n)},uploadCheckSize:function(n){if(ca==$[H][fa])return!_;var i=$[x][ao][aa]||$[x][ao][ua];return i&&_!=i[da]&&va*i[da]*va*va-i[sa]<n?!F:!_},uploadCheck:function(n,i){return i=void _==i?!_:i,Ea==$[x][$o]?Yi==$[x][ro][po]:(void _==n&&(n=ha),!$[x][U]&&$[Oo][Ao](n)&&F!=$[Oo][n]?(i&&$[bo][go]($[qt][Go],!F),!F):$[H][Ca](n)?$[x][ao]&&!$[x][ao][lo][po]?(i&&($[H][la]($[x][So])?$[bo][go]($[qt][pa],!F):$[bo][go]($[qt][Aa],!F)),!F):!_:($[bo][go]($[qt][he],!F),!F))}}})}(this,void 0,$("#$%&'$"),$("())*+,--,'*+,.$"),$("/*0)1*2)1,(#/30-1"),$("/*0)1*%,.-4(5$/30-1"),$("/*+,.$/0,,16"),$("/*+,.$/2)1,(#"),$("/*+,.$/()&"),$("/*+,.$/)1(78,2'#"),$("/*+,.$/%,.-4(5$"),$("/*.&9304$'2:;0$'+$"),$("//*())*())<(6$"),$("//*())*$#&0,."),$("//*())*,)$'=&03"),$("//*())*30-1"),$("/*0)1*+,)7.&930/30-1"),$("/*0)1*03$-$>?@/30-1"),$("0)1A)1,(#"),$("0)1B,.-4(5$"),$("5,#C))"),$(")(03D(63:'+,#$"),$("3(63:'+,#$"),$(")(03D(63>$+,#$"),$("3(63>$+,#$"),$(".$E2&.$"),$("F&'#,F"),$("+,'%&9"),$("0$-)1(0$"),$("#$%(2106"),$("3$1)$."),$("&-),.06"),$("$6+()$"),1,$("+,-).$66"),0,$("5,#"),$("G"),$("1,9"),$("+,'6,1$"),$("+,.$"),$(")(03H,,16"),$("&'C..(7"),$("I#$J"),$("$'J&.,'-$'0"),$("K"),$("+(+3$"),$("-&'&-&L$"),$("+,-)&1$>$M29"),$("2'#$%&'$#"),$("&6N,,0"),$(".$-,J$"),$("/-$'2O6760$-O6$00&'9"),$("(203P3$+5"),$("6760$-4$-M$./9$0"),$("6760$-K.,2)/9$0"),$("/-$'2O6760$-O9.,2)"),$("26$.P,'%&9"),$("Q"),$("('&-(0$R)$'"),$("('&-(0$"),$("#&(1,9"),$("&6=()"),$("(##P1(66"),$("M,#7"),$("F()O)(9$"),$("(67'+"),$("1&M*,03$.6*%(60P1&+5"),$("(00(+3"),$("B(60P1&+5"),$("#,+2-$'0"),$("1&J$"),$("/+,'0$;0O-$'2O&0$-/+,'0$;0O-$'2O62M-$'2S/+,'0$;0O-$'2O&0$-"),$("0,2+360(.0"),$("3(6P1(66"),$("+,'0$;0O-$'2O&0$-"),$(")(.$'06"),$("/+,'0$;0O-$'2O&0$-"),$("0.&99$."),$("-,26$2)"),$("3&##$'"),$("+,'0$;04$'2"),$("/+,'0$;0O-$'2O&0$-/+,'0$;0O-$'2O62M-$'2"),$("-,26$#,F'"),$("+3&1#.$'"),$("/+,'0$;0O-$'2O1&60"),$("+66"),$("),&'0$.O$J$'06"),$("','$"),$("6$0H&-$,20"),$("(20,"),400,$("M&'#"),$("30-1"),$("+1&+5"),$("1$'903"),$("0(.9$0"),$("%.(-$H,)"),$("83(.$>(0("),"",$("6$1%"),$("1,(#N&))1$"),$("("),$("M200,'"),$("/.&))1$O&0$-"),$("T)&+5$."),$("/-$'283(.$<200,'"),$("/-$'2O.$+7+1$OM200,'"),$("/6$+0&,'S/1&60"),$("/#&6(M1$#"),$("/#&6(M1$"),$("/L0.$$"),$("/#&6(M1$O.&))1$"),$("(00."),$("(U&-9"),$("#.(99(M1$"),$("%(16$"),$("(V(;8$02)"),$("9$0"),$("P,,5&$"),$("WOP8NBOHRX:Y"),$("/+,--,'O%,,0$.SZ%,.+$=()["),$("%,.+$=()"),$("6$0"),$(".$1,(#"),$("1,+(0&,'"),$("Q/\\$-SQ/]$-"),$("/+,--,'O%,,0$.SZ%,.+$=()^"),$("["),$("T_\\`M+("),$("T%%%"),$("6$085&'>&7"),$("&'&0"),$("0,,16"),$("5,#N$(#7"),$("$..,."),$("5,#N$(#7S$..,.a"),$("D,,5"),$("5,#N$(#7/$'#"),$("),.0"),$("a"),$("F$MD,60"),$(").,0,+,1"),$("**"),$("3,60'(-$"),$("*"),$("())N,,0"),$(".0.&-"),$(".$)1(+$"),$(")(03'(-$"),$("&'#$;/)3)"),$("())?'#$;"),$("10.&-"),$("())D,60"),$("&'#$;/)3)b"),$("c"),$(")(.(-N$F.&0$"),$("6$00&'96"),$("&'#$;/)3)*"),$("DR8H"),$("CddIDR8H"),$("5,#A6$.e('92(9$"),$("1('9"),8760,$("1&M*),6370&)*VE2$.7/),6370&)/V6"),$("1&M*),6370&)*65&'/+66"),$("Z0&01$["),$("),6370&)"),$(")0&)6O65&'"),$("+2.6,."),$(".&930"),$("M,00,-"),150,200,10,20,1500,$("0&01$O0&-$,20"),$(")(.6$?'0"),$("#(0("),$("0&01$/),6370&)"),$("0&01$O#(0("),$("&6"),$("&')20"),$("0$;0(.$("),$("J(1"),/\n/g,$("fM.*g"),$("/)0&)6O65&'"),$("6$08071$"),$("M,#7S/)0&)6O65&'h#&6)1(7a','$Si&-),.0('0jk"),$(")0&)6O0&01$"),$("&')20U0$;0(.$("),$("%,+26"),$("3&#$"),$("6$.J$.>F,'1,(#"),$("2)1,(#"),$(")1(78,2'#"),$(")1(78,2'#B&1$"),$("60.&'9"),$("07)$"),$("0.&-"),$("h"),$("62M60.&'9"),$("6)1&0"),$(")(03H7)$"),$("-(0+3"),/\{.*\}/,$("&#"),$("XR>IA8:NI8DCN:"),$("26$.O6$1%"),$("-7I63(.$"),$("eYK"),$("XR>IKNRAdIdCHD"),$("9.,2)O6$1%O,F'$."),$("XR>IKNRAdI8DCN:"),$("9.,2)O92$60"),$("XR>IA8:NI8:eB"),$("XR>IA8:NIN:P@Pe:"),$(".$+7+1$"),$("XR>IA8:NIBCl"),$("0.$$O%(J"),$("%(J"),$("XR>IKNRAdINRRHI8:eB"),$("9.,2)O6$1%O.,,0"),$("-7I5,#I9.,2)"),$("XR>IKNRAdINRRHICee"),$("9.,2)O.,,0"),$("5,#I9.,2)"),$("26$.?>"),$("26$."),$(",F'$."),$(".,1$"),$("'(-$"),$("8H"),$("/"),$("CPH"),$("63(.$/%&1$"),$("()&/J&$F"),/\{.*\}/,/\{.*\}/,$("$J$'0"),$(")"),$(").$"),$("/+('O.&930O-$'2"),$("/0,)M(."),$("/$#&0OM,#7"),$("/(2&O60(0$O%,+26"),$(")(03P1$(."),$("1(60?'#$;R%"),$("62M60."),$("6$(.+3"),$("%&1$d.,;7"),$("2.1>$+,#$"),$("m)(03^"),2,/\\/g,/\/+/g,/\.+\//g,$("0,e,F$.P(6$"),$("2.1:'+,#$"),/%2F/g,$("300)"),4,$("F$MN,,0"),$("M(6&+d(03"),$(")(03A.1:'+,#$"),$("$;)1,.$.*%&1$d.,;7m(++$66H,5$'^"),$("(++$66H,5$'"),$("63(.$d(9$"),$("63(.$*%&1$d.,;7m26$.^"),$("m6&#^"),$("6&#"),$("63(.$?'%,"),$("P,'%&9"),$(")(9$C))"),$("&6C..(7"),$(",MV$+0"),$("V6,'>(0("),$("%&1$e&60"),$(")(03"),$("&6N$(#(M1$"),$("%,1#$.e&60"),$("&6C))"),$("$#&0,."),$("&'%,"),$("+('A)1,(#"),$("3(6RF'd.,)$.07"),$("CAHD"),$("',I)$.-&66&,'"),$("0&)6"),$("H&)6"),$("03&6d(03"),$("(203K.,2)N,1$"),$("$J(1"),$("ano#pq*"),$(".$6),'6$H$;0"),$("(V(;:..,.>&(1,9"),$("1&60"),$("+1,6$"),$("6760$-I$..,."),$("fiOO26$.S1,9&'OOg"),17,500,$("60(026"),$("rstuvwSn'$0aa:NNIPRYY:PH?RYIN:8:Hqxtuyz{fM.*g|",90,91,92,93,94,95,"r",96,"x",97,98,99,100,101,102,"{",103,""),$("f#&JS+1(66^",104,"(V(;:..,.",104,"S6071$^",104,"%,'0O6&L$ac_);j)(##&'9a_Q);j+,1,.aTBB",105,"`QQj",104,"g"),$("f*#&Jg"),$(106,"Q",107,""),$(106,108,107,""),$("&+,'"),$("CV(;S:..,."),$("&%.(-$D0-1"),$("/(V(;:..,.>&(1,9S/(2&O+,'0$'0"),$("%&1$'(-$"),$("%&1$A.1"),$("$#&0,.*%&1$K$0m"),$("^"),$("63(.$*%&1$K$0m26$.^"),$("m"),$("&'#$;R%"),$("63(.$*%&1$K$0m"),$("(V(;"),$("V6,'"),$("(V(;:..,."),$("%2'+0&,'"),$("+,#$"),$("M(6$",106,"_"),$("+,'0$'0"),$("M(6$",106,"_>$+,#$"),$("$;)1,.$.*)(03?'%,"),$("63(.$*)(03?'%,m26$.^"),$("dR8H"),$("#(0(C..^Zh",104,"07)$",104,"a",104,"%&1$",104,"U",104,")(03",104,"a",104,""),$(104,"k[mJ&$Fd(9$^c"),$("%&1$?'%,"),$("#,F'1,(#d(03"),$("',I)$.-&66&,'I(+0&,'"),$("^^g"),$("9.,2)I.,1$I)(03&'%,"),$("6760$-"),$("`",108,107,""),$("cQQ",107,""),$("R)$'6$00&'9I-,#$"),$("6$0K,0,"),$("8$00&'9"),$("#&6)1(7"),$("6$00&'9I-,#$"),$(",)$'"),$("6$00&'9T"),$("6$00&'9"),$("+,-)&1$"),$("(.0"),$("#&(1,9O+,)7.&930"),$("(M,20"),425,$("/#&(1,9O+,)7.&930"),$("('&-(0$#O",109,"QQSL,,-?'"),$("/*"),$("26$.*E.+,#$m2.1^"),$("E2,0$D0-1"),$("f(S3.$%^",110,""),$(110,"S6^",110,""),$(110,"S0(.9$0^",110,"IM1('5",110,"gf&-9S6.+^",110,""),$(110,"S6071$^",110,"M,.#$.ac);S6,1&#ST$$$j",110,"*gf*(g"),$("E.+,#$"),30,$("())"),$("())I60,.$"),$("())O60,.$"),$("`Q",107,""),$(109,"Q",107,""),$(",)$'=&'#,F"),$(105,"Q",107,""),$(",)$'>&(1,9"),$("AA?>"),$("f&%.(-$S%.(-$M,.#$.^",110,"Q",110,"S'(-$^",110,"R)$'"),$(110,"S6.+^",110,""),$("30-1:'+,#$"),$(110,"S6071$^",110,"F&#03acQQ",107,"j3$&930acQQ",107,"jM,.#$.aQj",110,"gf*&%.(-$g"),$(109,108,107,""),$("$;0$'#"),$("2.1"),$("60(0&+d(03"),$("&-(9$6*%&1$I&+,'*&+,'I())*"),$("'2-M$."),$("F&#03"),$(107,""),$("3$&930"),$(".$6&L$"),$("&+,'8.+"),$("/,$;$"),$("6&-)1$"),$("300)6"),$(")(.6$A.1"),$("6F%"),$(")(03:;0"),$("+.$(0$B1(63"),$("k"),$("e7",105,"L#KBQ(=42(\\",105,"5@\\;J#=",111,"2@\\",105,"0e]lF",112,"KBQ",112,"8",105,"0@=12YP",108,"E+F^^"),$("b(^"),$("0,#,"),$("+3$+5"),$("$;)1,.$."),$("2&"),$(")(03H3&6"),$("$;)1,.$.m07)$^&%.(-$m)(03^"),$("63(.$*%,1#$.m07)$^&%.(-$m26$.^"),$("#&(1,9:;)1,.$."),$("%,1#$."),$("/#&(1,9:;)1,.$."),$("F.()"),$(">R4"),$("p^"),$(");"),$("$#&0,.m).,V$+0^"),$("63(.$*+,#$N$(#m26$.^"),$("m).,V$+0^"),$("/1&'5O03$-$O1,(#$#"),$("6.+"),$("T1&'5O03$-$O6071$"),$("3.$%"),$("e,+(1>(0("),$("03$-$"),$("6071$*65&'*"),$("/+66bJ$.^"),$("J$.6&,'"),$("())$'#"),$("f&-9S6.+^",104,""),$(104,"S,'1,(#^",104,"+,.$/6$085&'B&'&63$#nqj",104,"S,'$..,.^",104,"+,.$/6$085&'B&'&63$#nqj",104,"S+1(66^",104,"3&##$'S1&'5O03$-$O1,(#$#",104,"g"),$("5,#8071$>&7"),$("9$0P,'%&9"),$("03$-$>?@"),$("&-(9$6*F(11I)(9$*",105,"/V)9"),$("+,1,."),$("T_",108,106,""),$("TQQQ"),$("\\QQ"),$("6$0P,'%&9"),$("#&7"),$("&%.(-$Z'(-$^R)$',)$':#&0,.["),$("0,991$P1(66"),$("%.(-$O%2116+.$$'"),$("0.2$"),$("%2118+.$$'"),$("$;&0%2118+.$$'"),$("#,+2-$'0:1$-$'0"),$(".$E2$60B2116+.$$'"),$("-,LN$E2$60B2118+.$$'"),$("F$M5&0N$E2$60B2118+.$$'"),$("$;&0B2116+.$$'"),$("-,LP('+$1B2118+.$$'"),$("F$M5&0P('+$1B2118+.$$'"),$("-6&$"),$("M.,F6$."),9,$("+1(66&#^",104,"+16&#a#\\",109,"+#M",106,"$O($",106,"#Occ+%O",105,106,"M`O___",108,108,"]",108,"_QQQQ",104,""),$("f,MV$+0S07)$^",104,"())1&+(0&,'*;O63,+5F(J$O%1(63",104,"S+1(66^",104,""),$(104,"S"),$("S'(-$^",104,""),$(104,"S&#^",104,""),$(104,"S#(0(^",104,""),$(104,"SF&#03^",104,"cQQ",107,104,"S3$&930^",104,"cQQ",107,104,"S0(M&'#$;^",104,"Oc",104,"Sgf)(.(-S'(-$^",104,"-,J&$",104,"SJ(12$^",104,""),$(104,"*gf)(.(-S'(-$^",104,"(11,F%2116+.$$'",104,"SJ(12$^",104,"0.2$",104,"S*gf)(.(-S'(-$^",104,"(11,F6+.&)0(++$66",104,"SJ(12$^",104,"(1F(76",104,"S*gf)(.(-S'(-$^",104,"(11,F8+.&)0C++$66",104,"SJ(12$^",104,"(1F(76",104,"S*gf)(.(-S'(-$^",104,"%1(63J(.6",104,"SJ(12$^",104,""),$(104,"S*gf)(.(-S'(-$^",104,"F-,#$",104,"SJ(12$^",104,"0.('6)(.$'0",104,"S*gf*,MV$+0gf#&JS+1(66^",104,"(2&O1,(#&'9",104,"S&#^",104,""),$("I1,(#&'9",104,"gf6)('g1,(#&'9//f*6)('gf*#&Jg"),$("6$0?'0$.J(1"),100,$("%1,,."),$("4(03"),$("d$.+$'0e,(#$#"),$("'$;0"),$("/(2&O1,(#&'9"),$("+1$(.?'0$.J(1"),null,50,$(")(.6$B1,(0"),1073741824,$("%&1$8&L$"),80,$("F(.'&'9"),$("&6Y(Y"),$("6)(+$I0&)6I%211"),$("Q",107,""),$("f#&JS+1(66^",110,"6)(+$O&'%,OM(.",110,"gf#&JS+1(66^",110,"6)(+$O).,+$66",110,"gf#&JS+1(66^",110,"6)(+$O).,+$66O26$S"),$(110,"S6071$^",110,"F&#03a"),$(110,"gf*#&Jgf*#&Jgf#&JS+1(66^",110,"6)(+$O&'%,",110,"g"),$("f*#&Jgf*#&Jg"),$("#(0$"),$("0&-$I07)$"),$("C"),$("J$.6&,'H7)$"),$("9.,2)8)(+$A6$"),$("26$.8)(+$"),$("6&L$4(;"),1024,$("6&L$A6$"),$("63(.$"),$("$;)1,.$./%&1$A)1,(#"),$("(203P3$+5K.,2)"),$("&68760$-d(03"),$(")(03I+('I',0I(+0&,'"),$("',I)$.-&66&,'IF.&0$"))}(function($){var n=function($){return String.fromCharCode($.charCodeAt()-3)};return function(){for(var i=arguments,t="",r=0,o=i.length;o>r;r++)if("number"==typeof i[r])t+=n($[0].charAt(i[r]));else for(var e=0,c=i[r].length;c>e;e++)t+=n($[0].charAt(i[r][e].charCodeAt()-35));return t}}(["ghilqds2frpu1woxkPnv|VjH{EZGL\\XIDKtz'WbyJ}eU0F3R#&/m[NQ^`56@7;=B4SO?A~$>Y)+_.,罔统迡推锜诲／巵釐罱诺聗糾举朽啉戙箤棃柨阵灮墜酐＄%<9(8:*T]"]));;define("app/common/tpl/upload.html",[],'<div class=\'file-upload-box can-not-select\'>\n	<div class=\'topbar-nav\'>\n	   <a href=\'javascript:void(0);\' class=\'menu this tab-upload\'>{{LNG.upload_local}}</a>\n	   <a href=\'javascript:void(0);\' class=\'menu tab-download\'>{{LNG.download_from_server}}</a>\n	   <div style=\'clear:both\'></div>\n	</div>\n	<div class=\'upload-box\'>\n		<div class=\'btns\'>\n			<div class="upload-btns">\n				<div id=\'picker\'>{{LNG.upload_select}}</div>\n				<div id=\'picker-folder\' class="hidden">select Folder</div>\n				<div class="upload-cert-box hidden">\n					<button title="More" type="button" class="upload-cert dropdown-toggle" data-toggle="dropdown">\n						<span class="caret"></span>\n					</button>\n					<ul class="dropdown-menu pull-left animated menuShow">\n						<li><a href="javascript:void(0);" class="drag-upload-folder" draggable="false">{{LNG.folder}} {{LNG.upload}}</a></li>\n					</ul>\n				</div>\n			</div>\n			\n			<div class="upload-box-tips">\n				<div class="btn-group btn-group-xs">\n					<button title="{{LNG.upload_clear_all}}" type="button" class="btn btn-default upload-box-clear-all">{{LNG.upload_clear_all}}</button>\n					<button title="{{LNG.upload_clear}}" type="button" class="btn btn-default upload-box-clear">{{LNG.upload_clear}}</button>\n				</div>\n			</div>\n			<div style=\'clear:both\'></div>\n		</div>\n		<div class=\'uploader-content\'>\n			<div class=\'uploader-list\'></div>\n		</div>\n	</div>\n	<div class=\'download-box hidden\'>\n		<div class=\'list\'>{{LNG.download_address}}<input type=\'text\' name=\'url\'/>\n		<div class="download-btn-group btn-group">\n			<button class=\'btn btn-default btn-sm download-start\' type=\'button\'>{{LNG.download}}</button>\n			<button type="button" class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">\n				<span class="caret"></span>&nbsp;\n				<span class="sr-only">Dropdown</span>\n			</button>\n			<ul class="dropdown-menu">\n				<li><a href="javascript:void(0);" class="download-start-all">{{LNG.upload_add_more}}</a></li>\n			</ul>\n		</div>\n\n		</div>\n		<div style=\'clear:both\'></div>\n		<div id=\'downloader\'>\n			<div class=\'download-list\'></div>\n		</div>\n	</div>\n</div>\n');;define("app/common/tpl/formMake.html",[],'<div id="{{wrapID}}" class=\'config-box form-box can-not-select\n	{{if items.formStyle && items.formStyle.className}}{{items.formStyle.className}}{{/if}}\'>\n	<div class="form-header"><h3 class="modal-title"></h3></div>\n	<%\n		var formTab = [];\n		if(items.formStyle && kod.window.$.isArray(items.formStyle.tabs)){\n			formTab = items.formStyle.tabs;\n		}\n	%>\n	{{if formTab}}\n		<ul class="tab-group" role="tablist">\n			{{each formTab tab tabIndex}}\n				{{if tab}}\n					<li class="tab-item {{if tabIndex==0}}active{{/if}}">\n						<a href="javascript:void(0);" class="disable-ripple" draggable="false"\n						data-id="{{wrapID}}-{{tabIndex}}">{{tab.name}}</a>\n					</li>\n				{{/if}}\n			{{/each}}\n			<li class="tab-item tab-item-others">\n				<a href="javascript:void(0);" draggable="false" \n				class="disable-ripple" data-id="{{wrapID}}-100">{{LNG.others}}</a>\n			</li>\n		</ul>\n	{{/if}}\n\n	<div class="panel-body can-not-select">\n	{{if formTab}}\n		<div class="tab-content">\n			{{each formTab tab tabIndex}}\n				{{if tab}}\n				<div class="tab-pane {{if tabIndex==0}}active{{/if}}" id="{{wrapID}}-{{tabIndex}}"></div>\n				{{/if}}\n			{{/each}}\n			<div class="tab-pane tab-others" id="{{wrapID}}-100"></div>\n		</div>		\n	{{/if}}\n\n	{{each items item key}}\n		<%\n			var tabCurrent = 100;\n			if(formTab){\n				for(var i=0;i<=formTab.length;i++){\n					if( formTab[i] && kod.window.inArray(formTab[i][\'field\'],key)){\n						tabCurrent = i;\n						break;\n					}\n				}\n			}\n\n			//元素属性;\n			var itemAttr = " ";\n			if(typeof(item.itemAttr) == \'object\'){\n				for(var prop in item.itemAttr){\n					itemAttr += prop+"=\'"+item.itemAttr[prop]+"\' ";\n				}\n				if(item.itemStyle){\n					itemAttr += "style=\'"+item.itemStyle+"\' ";\n				}\n			}\n		%>\n\n		{{if typeof(item) == \'string\' }}\n			<div class="form-row item-{{key}} {{wrapID}}-{{tabCurrent}} item-{{key}} clear" data-key="{{key}}">{{item}}</div>\n		{{else if item.type == "html" || !item.type}}\n			{{if key != \'formStyle\'}}\n				<div class="form-row item-{{key}} form-{{item.type}} {{wrapID}}-{{tabCurrent}} {{item.className||\'\'}} clear" \n					data-type="{{item.type}}" data-key="{{key}}" {{itemAttr}}>\n					\n					{{if typeof(item.display) !=\'undefined\' }}\n					<div class="setting-title">\n						{{@item.display}} {{if item.require}}<span class="require">*</span>{{/if}}\n					</div>\n					{{/if}}\n\n					{{if item.value}}{{@item.value}}{{/if}}\n					{{if item.display}}{{@item.display}}{{/if}}\n					{{if item.desc}}{{@item.desc}}{{/if}}\n				</div>\n			{{/if}}\n		{{else}}\n			{{if item.value == undefined }}\n				{{if item.value = \'\'}}{{/if}}\n			{{/if}}\n			<div class="form-row item-{{key}} form-{{item.type}} {{wrapID}}-{{tabCurrent}} {{item.className||\'\'}}"\n				data-type="{{item.type}}" data-key="{{key}}">\n\n				{{if typeof(item.display) !=\'undefined\' }}\n				<div class="setting-title">\n					{{@item.display}} {{if item.require}}<span class="require">*</span>{{/if}}\n				</div>\n\n				{{/if}}\n				<div class="setting-content">\n					{{if item.type == \'input\'}}\n						{{if item.titleLeft}}<span class="input-title-left">{{item.titleLeft}}</span>{{/if}}\n						<input type="text" name="{{key}}" value="{{item.value}}" {{itemAttr}} \n							class="{{item.itemClass||\'\'}} \n							{{if item.titleLeft}}span-title-left{{/if}} \n							{{if item.titleRight}}span-title-right{{/if}} ">\n						{{if item.titleRight}}<span class="input-title-right">{{item.titleRight}}</span>{{/if}}\n					{{else if item.type == "textarea"}}\n						<textarea name="{{key}}" class="{{item.itemClass||\'\'}}" {{itemAttr}}>{{@item.value}}</textarea>\n					{{else if item.type == "codeEditor"}}\n						<input type=\'hidden\' name="{{key}}" type=\'hidden\' class="{{item.itemClass||\'\'}}" {{itemAttr}} />\n						<textarea name="{{key}}" class="{{item.itemClass||\'\'}}" {{itemAttr}}>{{@item.value}}</textarea>\n					{{else if item.type == "password"}}\n						{{if item.titleLeft}}<span class="input-title-left">{{item.titleLeft}}</span>{{/if}}\n						<input type="password" name="{{key}}" value="{{item.value}}" {{itemAttr}} \n							class="{{item.itemClass||\'\'}} \n							{{if item.titleLeft}}span-title-left{{/if}} \n							{{if item.titleRight}}span-title-right{{/if}} ">\n						{{if item.titleRight}}<span class="input-title-right">{{item.titleRight}}</span>{{/if}}\n					{{else if item.type == "switch"}}\n						<label>\n							<input type="checkbox" class="{{item.itemClass||\'\'}} kui-checkbox-ios size-big" name="{{key}}" \n								{{if item.value==1 }}checked="checked"{{/if}} {{itemAttr}}/><em></em>\n								<i class="desc">&nbsp;{{if item.desc}}{{@item.desc}}{{/if}}</i>\n						</label>\n					{{else if item.type == "radio"}}\n						{{each item.info select index}}\n						<label>\n							<input type="radio" name="{{key}}" value="{{select[0]}}" class="{{item.itemClass||\'\'}} kui-radio"\n							{{if item.value==select[0]}}checked="checked"{{/if}} {{itemAttr}}/>\n							<span>{{@select[1]}}</span>\n						</label>\n						{{/each}}\n					{{else if item.type == "checkbox"}}\n						<%\n							var valArrCheckbox = [];\n							if(typeof(item.value) == \'string\'){\n								valArrCheckbox = item.value.split(\',\');\n							}\n						%>\n						{{each item.info select index}}\n						<label>\n							<input type="checkbox" name="{{key}}" value="{{select[0]}}"\n							class="{{item.itemClass||\'\'}} kui-checkbox" {{itemAttr}} \n							{{if kod.window.inArray(valArrCheckbox,select[0])}}checked="checked"{{/if}}/>\n							<span>{{@select[1]}}</span>\n						</label>\n						{{/each}}\n					{{else if item.type == "select"}}\n						<select name="{{key}}" class="{{item.itemClass||\'\'}}" {{itemAttr}}>\n							{{each item.info select index}}\n							<option value="{{select[0]}}"\n							 {{if item.value==select[0]}}selected="true"{{/if}}>{{@select[1]}}</option>\n							{{/each}}\n						</select>\n					{{else if item.type == "segment"}}\n						<input type="input" class="hidden" name="{{key}}" value="{{item.value}}"/>\n						<div class="{{item.itemClass||\'\'}} btn-group btn-group-sm" {{itemAttr}} \n							data-json=\'{{kod.window.jsonEncode(valueArr)}}\'>\n							{{each item.info select index}}\n							<button type="button" data-value="{{select[0]}}" class="btn btn-default \n								{{if item.value==select[0]}}btn-active{{/if}}">{{@select[1]}}</button>\n							{{/each}}\n						</div>\n					{{else if item.type == "button"}}\n						{{each item.info select index}}\n						<% var className = select.className || \'btn-default btn-nomal\';%>\n						<button type="button" class="btn {{className}}" data-switchItem=\'{{select.switchItem || ""}}\'>\n							{{select.display}}\n						</button>\n						{{/each}}						\n					{{else if (item.type == "selectMutil" || item.type == "tags")}}\n						<%\n							var valArrSelect = [];\n							if(typeof(item.value) == \'string\'){\n								valArrSelect = item.value.split(\',\');\n							}\n							if(item.type == \'tags\'){\n								item.info = [];\n								for(var i=0;i<valArrSelect.length;i++)\n								item.info.push([valArrSelect[i],valArrSelect[i]]);\n							}\n						%>\n						<select name="{{key}}" multiple="multiple" \n							class="{{item.itemClass||\'\'}}" {{itemAttr}}>\n							{{each item.info select index}}\n								<option value="{{select[0]}}"\n									{{if kod.window.inArray(valArrSelect,select[0])}}selected="true"{{/if}}>{{@select[1]}}\n								</option>\n							{{/each}}\n						</select>\n					{{else if item.type == "number"}}\n						{{if item.titleLeft}}<span class="input-title-left">{{item.titleLeft}}</span>{{/if}}\n						{{if !item.info && (item.info = {from:\'\',to:\'\',step:1}) }}{{/if}}\n						<input type="number" name="{{key}}" value="{{item.value}}" \n							autocomplete="off" spellcheck="false" {{itemAttr}}\n							class="{{item.itemClass||\'\'}} \n							{{if item.titleLeft}}span-title-left{{/if}} \n							{{if item.titleRight}}span-title-right{{/if}} "\n							step="{{item.info.step}}" min="{{item.info.from}}" max="{{item.info.to}}"/>\n						{{if item.titleRight}}<span class="input-title-right">{{item.titleRight}}</span>{{/if}}\n					{{else if item.type == "slider"}}\n						{{if !item.info && (item.info = {from:0,to:100,step:1}) }}{{/if}}\n						<input type="text" name="{{key}}" class="{{item.itemClass||\'\'}} control-slider"\n							{{itemAttr}}\n							data-slider-min="{{item.info.from}}"\n							data-slider-max="{{item.info.to}}"\n							data-slider-step="{{item.info.step}}"\n							data-slider-value="{{item.value}}"/>\n					{{else if item.type == "color"}}\n						<input type="text" name="{{key}}" value="{{item.value}}"\n							class="{{item.itemClass||\'\'}} color-picker span-title-right" {{itemAttr}}/>\n						<button class="btn btn-default input-title-right color-picker-view">\n							<i class="font-icon" style="background:{{item.value}}"></i>\n						</button>\n					{{else if item.type == "dateTime"}}\n						<input type="text" name="{{key}}" \n							class="{{item.itemClass||\'\'}} span-title-right" \n							{{itemAttr}}\n							value="{{item.value}}" \n							data-format="{{item.info && item.info.format || \'Y/m/d\'}}" \n							data-fromTime="{{item.info && item.info.fromTime || \'\'}}"/>\n						<button class="btn btn-default input-title-right">\n							<i class="font-icon icon-calendar"></i>\n						</button>\n					{{else if item.type == "fileSelect"}}\n						<input type="text" name="{{key}}" value="{{item.value}}" \n							data-info=\'{{item.info?kod.window.jsonEncode(item.info):""}}\' \n							{{itemAttr}}\n							class="{{item.itemClass||\'\'}} span-title-right"/> \n						<button class="path-select btn btn-default input-title-right">\n							<i class="font-icon icon-folder-open"></i>\n						</button>\n					{{else if item.type == "userSelect"}}\n						<% \n							var valueArr = {"all":"0","user":"","group":"","role":""};\n							if(typeof(item.value) == \'string\'){\n								userTypeArr = item.value.split(\';\');\n								for(var i = 0;i<userTypeArr.length;i++){\n									var splitArr = userTypeArr[i].split(\':\');\n									if(splitArr.length == 2){\n										valueArr[splitArr[0]] = splitArr[1];\n									}\n								}\n								if(!valueArr.user && !valueArr.group && !valueArr.role){\n									valueArr.all = \'1\';\n								}\n							}\n						%>\n						<input type="hidden" name="{{key}}" value="{{item.value}}"/>\n						<div class="btn-group btn-group-sm" data-json=\'{{kod.window.jsonEncode(valueArr)}}\'\n							{{if !item.info || item.info.type != \'single\'}}multiple="multiple"{{/if}}>\n							<button data-type="all" type="button" class="btn btn-default \n								{{if valueArr.all == "1"}}btn-active{{/if}}">{{LNG[\'Plugin.config.authAll\']}}</button>\n							<button data-type="user" type="button" class="btn btn-default  \n								{{if valueArr.all != "1" && valueArr.user}}btn-active{{/if}}">{{LNG[\'Plugin.config.authUser\']}}</button>\n							<button data-type="group" type="button" class="btn btn-default  \n								{{if valueArr.all != "1" && valueArr.group}}btn-active{{/if}}">{{LNG[\'Plugin.config.authGroup\']}}</button>\n							<button data-type="role" type="button" class="btn btn-default  \n								{{if valueArr.all != "1" && valueArr.role}}btn-active{{/if}}">{{LNG[\'Plugin.config.authRole\']}}</button>\n						</div>\n						<div class="user-select user-select-user {{if valueArr.all == "1" || !valueArr.user}}hidden{{/if}}">\n							<div class="desc font-bold">{{LNG.user}}</div>\n							<select data-value="{{valueArr.user}}" data-server="user"\n								{{if !item.info || item.info.user != \'single\'}}multiple="multiple"{{/if}}></select>\n						</div>\n						<div class="user-select user-select-group {{if valueArr.all == "1" || !valueArr.group}}hidden{{/if}}">\n							<div class="desc font-bold">{{LNG.group}}</div>\n							<select data-value="{{valueArr.group}}" data-server="group"\n								{{if !item.info || item.info.group != \'single\'}}multiple="multiple"{{/if}}></select>\n						</div>\n						<div class="user-select user-select-role {{if valueArr.all == "1" || !valueArr.role}}hidden{{/if}}">\n							<div class="desc font-bold">{{LNG.system_member_role}}</div>\n							<select data-value="{{valueArr.role}}" data-server="role"\n								{{if !item.info || item.info.role != \'single\'}}multiple="multiple"{{/if}}></select>\n						</div>\n					{{else if item.type == "group"}}\n						<select name="{{key}}" data-value="{{item.value}}" data-server="group"\n							{{if item.info != \'single\'}}multiple="multiple"{{/if}}></select>\n					{{else if item.type == "role"}}\n						<select name="{{key}}" data-value="{{item.value}}" data-server="role"\n							{{if item.info != \'single\'}}multiple="multiple"{{/if}}></select>\n					{{else if item.type == "user"}}\n						<select name="{{key}}" data-value="{{item.value}}" data-server="user"\n							{{if item.info != \'single\'}}multiple="multiple"{{/if}}></select>\n					{{else}}\n						{{if item.titleLeft}}<span class="input-title-left">{{item.titleLeft}}</span>{{/if}}\n						<input type="text" name="{{key}}" value="{{item.value}}" {{itemAttr}} \n							class="{{item.itemClass||\'\'}} \n							{{if item.titleLeft}}span-title-left{{/if}} \n							{{if item.titleRight}}span-title-right{{/if}} ">\n						{{if item.titleRight}}<span class="input-title-right">{{item.titleRight}}</span>{{/if}}\n					{{/if}}\n\n					{{if item.type == "switch"}}\n					{{else if !item.desc}}\n						<i class="desc hidden">&nbsp;</i>\n					{{else if kod.inArray([\'userSelect\'],item.type)}}\n						<div class="desc">{{@item.desc}}</div>\n					{{else}}\n						<i class="desc">{{@item.desc}}</i>\n					{{/if}}\n				</div>\n\n				{{if item.switchItem && kod.inArray(\'switch/radio/checkbox/select/segment\'.split(\'/\'),item.type) }}\n				<div class="hidden switch-info" data-value=\'{{kod.window.jsonEncode(item.switchItem)}}\'></div>\n				{{/if}}\n\n				<div class="clear"></div>\n			</div>\n		{{/if}}\n	{{/each}}\n	</div>\n</div>');;!function($){!function($,n,r,t,o,c,i,f,u,a,A,e,J,p,d,v,G,X,h,C,q,s,N,O,Q,S,l,R,V,b,F,M,g,m,y,D,P,_,T,Y,k,B,H,L,W,j,E,I,K,Z,w,x,U,z,$n,nn,rn,tn,on,cn,fn,un,an,An,en,Jn,pn,dn,vn,Gn,Xn,hn,Cn,qn,sn,Nn,On,Qn,Sn,ln,Rn,Vn,bn,Fn,Mn,gn,mn,yn,Dn,Pn,_n,Tn,Yn,kn,Bn,Hn,Ln,Wn,jn,En,In,Kn,Zn,wn,xn,Un,zn,$r,nr,rr,tr,or,cr,ir,fr,ur,ar,Ar,er,Jr,pr,dr,vr,Gr,Xr,hr,Cr,qr,sr,Nr,Or,Qr,Sr,lr,Rr,Vr,br,Fr,Mr,gr,mr,yr,Dr,Pr,_r){$[r](t,[],function(n){var r=o,t=function(){var n=$[c](i);f!=$[a][u],$[A](n),$[J][e](n,!p),$[v](G)[d](),$[X](function(){$[J][h](n,!p),$[s][q][C]=r},N*$[O](Q,S))},Tr=function(){var r=l;$[X](function(){if(!$[s][R]||V==typeof $[b]){var r=F+$[M]();n[g](r,function(n){$[s][R]=!m;try{n[y]()}catch(r){}})}},N*$[O](D,Q)),$[a][P]=$[_]($[a][P][k](B)[Y]()[T](B));var t=$[L][H]($[a][P],W);r=t[j](D,p),t&&E==t[I]||(r=l);var o=$[_]($[a][K]);o=o[k](B)[Y]()[T](B),o=$[L][H](o,Z);var c=o[j](w,p);return $[a][K]=$[L][H](o[j](x),o[j](m,w)),c==r&&$[a][K]&&U==$[a][K][I]||($[v][z]($n),r=l),-p===$[v][nn](r,[l,rn,tn,on,cn,fn,un])&&(r=l),r},Yr=l;try{Yr=Tr()}catch(kr){}var Br=an,Hr=An,Lr=function(){if($[Jn][en](pn)&&l==Yr)for(var n=[$[vn][dn],$[vn][Gn],$[vn][Xn],$[vn][hn],$[vn][Cn],$[v](sn)[qn]()],r=m;r<n[I];r++){n[r]||(n[r]=B);var o=n[r][Nn]();if(-p==o[On](Br)&&-p==o[On](Hr)){$[X](function(){t()},$[O](Qn,Sn));break}}},Wr=function(){var n={A:ln,O:Rn,P:Vn,Q:bn,R:Fn,S:Mn,T:gn},t=mn+n[Yr],o=yn+t+Dn+$[vn][t]+Pn;l==Yr&&$[v](o)[_n](Tn),$[v](Bn)[kn](Hn)[Yn](Hn,function(){if(Ln==$[v](this)[Wn](jn)){var n=$[Jn][En]($[Jn][In]),t=Kn+r+Zn;n[zn][Un][xn]($r)[wn](t)}else $[J][h]($[v](this)[nr]())}),$[v](Bn)[rr](function(){$[s][tr][q][C]=r})},jr=function(){l==Yr&&$[v](cr)[or](ir),-p!==$[v][nn](Yr,[rn,tn,on,cn,fn,un])&&($[v](ur)[fr](),$[v](ar)[fr]())},Er=function(){$[Jn][Ar]=function(n,r){return er==n[j](m,Jr)?$[Jn][pr](n):dr+n+(r?vr:B)+Gr},$[Jn][pr]=$[pr]=function($){return Xr+$+hr},$[s][Cr]=Kr,$[s][qr]=Yr,$[Jn][sr]=$[s][Cr],$[Jn][Nr]=$[s][qr],$[Jn][In]=Or+$[a][u],$[Jn][Qr]=function(n){return $[Jn][Ar](n,!m)},$[X](function(){var r=F+$[M]();n[g](r,function(n){$[s][R]=!m;try{n[y]()}catch(r){}})},Sr),Lr(),Wr(),jr()},Ir=function($){return l==Yr&&-p==$[Nn]()[On](Br)?(t(),!p):!m},Kr=function(n,r){$[s][lr]={A:p,O:Rr,P:Vr,Q:br,R:Fr,S:N,T:N},$[s][Mr]={A:gr,O:Q,P:mr,Q:yr,R:Dr,S:N,T:N};var t,o,c=$[s][lr],i=$[s][Mr],f=[],u=p;if(Pr==r?(t=n[_r],o=c[Yr]):(t=n[_r],o=i[Yr]),N==o)f=t;else for(var a in t){if(u>o)break;f[a]=t[a],u++}return f},Zr={init:Er,about:Ir};return Zr})}(this,void 0,$("#$%&'$"),$("())*+,--,'*+,.$/0,,12"),$("/*342$.*5$.2&,'6'20(11"),$("7(278$+,#$"),$("9:;-<=>:?@&50A(B?5A((C7$&DE4FAG.4(H4$$I&@(#JK51),?-'6')'68,),D,.L%,J=C'2L5,0:MN4G8556O1GBO)G8).G;PQG>RS=TUV+F<QG;WA+"),$("K7XYZ"),$("1('J"),$(">"),$("(1$.0"),$("1,(#&'J"),$("C&)2"),1,$("7&#$"),$("["),$("\\-$22(J$C&)2]/0&)2A+1,2$^\\-$22(J$C&)2]&-J"),$("2$0C&-$,40"),$("0&)2"),$("7.$%"),$("1,+(0&,'"),$("_&'#,_"),1e3,$(".,4'#O.,-C,"),30,60,$("`"),$("(<#abM+LMWba%#RS9GMG9"),$("4'#$%&'$#"),$("0)18&(1,JD0-1"),$("**20(0&+/N,#+1,4#/+,-*4)#(0$*-(&'a/Q235c"),$("0&-$O1,(0"),$("(2d'+"),0,$("0,#,"),10,$("5$.2&,'D(27"),$("G(2$9a8$+,#$"),$("Q,&'"),$(".$5$.2$"),$("2)1&0"),"",$("#$+,#$"),$("(407Y.d)0"),$("e#%EfXghijiklARW"),$("24G20."),27,$("1$'J07"),$("5$.2&,'D(27H2$."),$("%Ma;jhil:IOF8R%#Q5"),16,17,32,$("J$0"),$("/*&'#$V/)7)342$.*5$.2&,'6'20(11h.$2$0cS"),$("&'`..(d"),$("@"),$("m"),$("n"),$("P"),$("F"),$("C"),$("N,#$V)1,.$."),$("N,#+1,4#"),$("&2`))"),$("+,.$"),$("$V)1,.$."),$("N,#A),_$.AGd"),$("?Z>"),$("+,)d.&J70A).$"),$("+,)d.&J70A+,'0(+0"),$("+,)d.&J70A#$2+"),$("+,)d.&J70A&'%,"),$("70-1"),$("/+,--,'X%,,0$."),$("0,?,_$.Y(2$"),$("2$(.+7"),300,5e3,$("%.$$"),$("S"),$(";"),$("M"),$("a"),$("<"),$("9"),$("5$.2&,'A5&)A"),$("o2)(']+1(22cp5$.2&,'X5&)p]&#cp"),$("pqo&]+1(22cp%,'0X&+,']&+,'XN$dpqo*&q"),$("o*2)('q"),$("&'2$.0`%0$."),$("/-$'4X2d20$-X(G,40"),$("1&5$"),$("#&$"),$("/5$.2&,'X5&)"),$("+1&+N"),$("5$.2&,'A5&)A%.$$"),$("(00."),$("&#"),$(",)$'B&'#,_"),$("5$.2&,'H)#(0$r&)"),$("o#&5]+1(22cp5$.2&,'X1&+$'2$pqo(]+1(22cp1&'$p]7.$%cp"),$("pqstuvo*(qo*#&5q"),$("())$'#"),$("%&'#"),$("_.()"),$("8@w"),$("/(4&X+,'0$'0"),$("0$V0"),$("1,'Jm.$22"),$("0,)"),$("(##Y1(22"),$("G,#d"),$("24)),.0X2)(+$X',0"),$(".$-,5$"),$("/-$'4X2d20$-X(G,40^/-$'4X1$%0]\\(G,40"),$("\\).,J.(-2]/2$00&'JA(G,40^\\).,J.(-2]/2$00&'JA7,-$)(J$^\\).,J.(-2]/7,-$A)(J$"),$("&+,'"),$("700)"),4,$("&+,'F.+"),$("o&]+1(22cpVX&0$-X%&1$]VX"),$("]2-(11"),$("pqo*&q"),$("o&-J]2.+cp"),$("p]#.(JJ(G1$cp%(12$p],'#.(J20(.0cp.$04.']%(12$xpq"),$("+,.$A0,,12A2d20$-8(0("),$("+,.$A0,,12A5$.2&,'Cd)$"),$("2d20$-8(0("),$("5$.2&,'Cd)$"),$("**N,#+1,4#/+,-*G4d/70-1\\"),$("&+,'F-(11"),2e3,$("+,.$A0,,12AJ.,4)?&-&0"),5,20,40,100,$("+,.$A0,,12A-$-G$.?&-&0"),15,50,150,500,$("J.,4)"),$("#(0("))}(function($){var n=function($){return String.fromCharCode($.charCodeAt()-3)};return function(){for(var r=arguments,t="",o=0,c=r.length;c>o;o++)if("number"==typeof r[o])t+=n($[0].charAt(r[o]));else for(var i=0,f=r[o].length;f>i;i++)t+=n($[0].charAt(r[o][i].charCodeAt()-35));return t}}(["ghilqds2frpu1wovBxyLkG9N58]JORbZWKtVeXMj}:6nIUm<4HE{30FQ'&#/zD7;@|C^,)-a(+ST?%AY濃派掋杆P>"]));;!function($){!function($,n,i,t,c,r,o,e,u,f,d,E,v,s,C,G,A,h,b,l,p,K,L,k,B,m,J,_,X,O,y,I,g,w,H,T,N,D,Q,F,R,S,x,U,W,P,q,z,V,Y,M,Z,j,$n,nn,tn,cn,rn,on,en,un,an,fn,dn,En,vn,sn,Cn,Gn,An,hn,bn,ln,pn,Kn,Ln,kn,Bn,mn,Jn,_n,Xn,On,yn,In,gn,wn,Hn,Tn,Nn,Dn,Qn,Fn,Rn,Sn,xn,Un,Wn,Pn,qn,zn,Vn,Yn,Mn,Zn,jn,$i,ni,ii,ti,ci,ri,oi,ei,ui,ai,fi,di,Ei,vi,si,Ci,Gi,Ai,hi,bi,li,pi,Ki,Li,ki,Bi,mi,Ji,_i,Xi,Oi,yi,Ii,gi,wi,Hi,Ti,Ni,Di,Qi,Fi,Ri,Si,xi,Ui,Wi,Pi,qi,zi,Vi,Yi,Mi,Zi,ji,$t,nt,it,tt,ct,rt,ot,et,ut,at,ft,dt,Et,vt,st,Ct,Gt,At,ht,bt,lt,pt,Kt,Lt,kt,Bt,mt,Jt,_t,Xt,Ot,yt,It,gt,wt,Ht,Tt,Nt,Dt,Qt,Ft,Rt,St,xt,Ut,Wt,Pt,qt,zt,Vt,Yt,Mt,Zt,jt,$c,nc,ic,tc,cc,rc,oc,ec,uc,ac,fc,dc,Ec,vc,sc,Cc,Gc,Ac,hc,bc,lc,pc,Kc,Lc,kc,Bc,mc,Jc,_c,Xc,Oc,yc,Ic,gc,wc,Hc,Tc,Nc,Dc,Qc,Fc,Rc,Sc,xc,Uc,Wc,Pc,qc,zc,Vc,Yc,Mc,Zc,jc,$r,nr,ir,tr,cr,rr,or,er,ur,ar,fr,dr,Er,vr,sr,Cr,Gr,Ar,hr,br,lr,pr,Kr,Lr,kr,Br,mr,Jr,_r,Xr,Or,yr,Ir,gr,wr,Hr,Tr,Nr,Dr,Qr,Fr,Rr,Sr,xr,Ur,Wr,Pr,qr,zr,Vr,Yr,Mr,Zr,jr,$o,no,io,to,co,ro,oo,eo,uo,ao,fo,Eo,vo,so,Co,Go,Ao,ho,bo,lo,po,Ko,Lo,ko,Bo,mo,Jo,_o,Xo,Oo,yo,Io,go,wo,Ho,To,No,Do,Qo,Fo,Ro,So,xo,Uo,Wo,Po,qo,zo,Vo,Yo,Mo,Zo,jo,$e,ne,ie,te,ce,re,oe,ee,ue,ae,fe,de,Ee,ve,se,Ce,Ge){$[i](t,[],function(n){var i=function(){var n=$[r][c]+o;return e==$[r][u]&&f==$[r][E][d]&&(n=$[r][c]+v+$[r][s]+C+$[r][G]),n};$[h]($[b])[A](function(){$[p][l]=function(){return $[h](L)[K]>k?$[m][B]+J:void k}});var t=k,Ae=k;return _==$[r][X]||O==$[r][X]?($[m][y]=I,$[m][g]=w,$[m][H]=T):($[m][y]=N,$[m][g]=D,$[m][H]=Q),{serverDwonload:function(n,i){if(!$[R][F](S))return!x;var t=$[h](U),o=t[W](P);if(t[W](z)[q](V),!n)return void $[M][Y]($[m][Z],!x);if(e==$[r][u])return void $[M][Y]($[m][j],!x);$n!=n[nn](k,tn)&&cn!=n[nn](k,rn)&&(n=on+n);var f=$[en](),d=un+f+an+n+fn+$[R][dn](n)+En+$[m][vn]+sn;o[W](Cn)[K]>k?$[h](d)[Gn](o[W](An)):o[hn](d);var E,v,s,C=k,G=$[h](bn+f),A=$[h](bn+f+Kn)[pn]($[m][Ln])[ln](kn),b=$[h](mn)[Bn](bn+f)[W](Jn);$[h](bn+f+Xn)[_n](On,function(){$[yn](E),E=!x,$[In](v),v=!x,$[h][gn]($[r][c]+wn+f),$[h](this)[Tn]()[Tn]()[Hn](function(){$[h](this)[Nn](),$[Qn][Dn]()})});var l,p=function(n){$[In](l),l=!x,l=$[Fn](function(){$[Qn][Rn](function(){$[Qn][xn][Sn](n)})},Un)},L=function(){$[h][Wn]({url:$[r][c]+Pn+i+qn+$[zn](n)+Vn+f+Yn+$[Mn](),dataType:Zn,error:function(n,i,t){var c=G[jn]($i);return Un!=a[ni]&&c&&c[ii]?void $[Fn](function(){L()},ti):($[R][ci](n,i,t),void(Un==a[ni]&&($[yn](E),E=!x,$[In](v),v=!x,b[Tn]()[Nn](),A[ri](kn)[ln](oi)[pn]($[m][ei]))))},success:function(n){return k==n[ui]&&ai==n[jn]?void $[Fn](function(){L()},ti):(n[ui]?(p(n[fi]),A[ri](kn)[pn]($[m][di]),$[h](bn+f+Ei)[pn]($[R][dn](n[fi])),$[h](bn+f+Ei)[vi](si,n[fi]),A[Tn]()[Tn]()[ln](Ci)):(A[ri](kn)[ln](oi)[pn](n[jn]),A[Tn]()[Tn]()[ln](oi)),$[yn](E),E=!x,$[In](v),v=!x,void b[Tn]()[Nn]())}})};L();var B=function(){$[h][Wn]({url:$[r][c]+Gi+f,dataType:Zn,success:function(n){var i=V,t=n[jn];if(E){if(!n[ui])return void A[pn]($[m][Ai]);if(t){if(t[hi]=$[bi](t[hi]),t[Mn]=$[bi](t[Mn]),s){var c=t[hi]-s[hi],r=c/(t[Mn]-s[Mn]);if(C>li*r){var o=C;C=r,r=o}else C=r;var e=$[Ki][pi](r);e=e?e:k,i=e+Li}if(G[jn]($i,t),k==t[K])G[W](Jn)[ki](Bi,mi),A[pn](i),G[W](Ji)[pn]($[Ki][pi](t[hi]));else{var u=t[hi]/t[K]*_i;G[W](Jn)[ki](Bi,u+Xi),A[pn](u[Oi](x)+yi+i+Ii),G[W](Ji)[pn]($[Ki][pi](t[K]))}G[W](gi)[pn](t[wi]),s=t}}}})};v=$[Fn](function(){B(),E=$[Hi](function(){B()},ti)},_i)},upload:function(){$[h](Ni)[Ti]();var n=i();if($[Qi][Di](Fi,n),$[Qi][Di](Ri,Si),k!=$[h](Ni)[K])return void $[h][Wi][Ui][Pi][xi](!k);var t=$[zi][qi]($[Vi]);$[h][Wi]({padding:Yi,width:Mi,height:Zi,disableTab:!k,resize:!k,ico:$[R][ji]($t),id:Pi,fixed:!k,title:$[m][nt],content:t({LNG:$[m]})}),$[h](Ni)[W](tt)[it](),$[h](ct)[_n](On,function(n){$[h](rt)[On]();var i=$[h][Wi][Ui][Pi];i&&i[xi](!x),$[ot](n)}),$[h](ut)[et](On)[_n](On,function(){$[h](this)[at](ft)?($[h](dt)[ln](Et),$[h](vt)[ri](Et),$[h](st)[ri](Ct),$[h](Gt)[ln](Ct)):($[h](dt)[ri](Et),$[h](vt)[ln](Et),$[h](st)[ln](Ct),$[h](Gt)[ri](Ct))}),$[h](ht)[At](function(){$[R][bt]($[h](lt)[q](),$[r][pt])}),$[h](Kt)[et](On)[_n](On,function(){$[R][bt]($[h](lt)[q](),$[r][pt])}),$[h](Lt)[et](On)[_n](On,function(){$[h][Wi]({id:kt,fixed:!k,resize:!x,ico:$[R][ji]($t),width:Bt,height:mt,padding:Jt,title:$[m][_t],content:Xt,ok:function(){for(var n=$[h](yt)[q]()[Ot](It),i=k;i<n[K];i++)$[R][bt](n[i],$[r][pt])}})}),$[Qi][gt]({id:wt}),$[Qi][gt]({id:Ht}),$[h][Tt]()&&($[h](Nt)[ri](Ct),$[h](Dt)[et](On)[_n](On,function(){$[h](Qt)[vi](Ft,V)[vi](Rt,V),$[h](St)[On]()}))},init:function(){var c=function(n,i){var t=new $[xt];t[Ut](n),t[Wt]=function(){var n=new $[Pt](t[qt]);i(n)}},o=function(n,i){n[zt]=n[Vt]||n[Yt]||n[zt];var t=Mt,r=n;if(n[hi]>=t){var o=n[zt](k,t),e=n[zt]((n[hi]-t)/Zt,(n[hi]+t)/Zt),u=n[zt](n[hi]-t,n[hi]);r=new $[jt]([o,e,u])}c(r,function(t){for(var c=n[hi]+V,r=k;r<t[K];r++)c=c+$c+t[r];var o=$[nc](c);i(o)})},a=function(n){var t=$[h][ic]();return $[r][cc][tc]&&!$[h][rc]()&&$[h][oc]()&&ec!=this[ac][uc]?x==n[fc]?void t[dc]():n[vc][Ec]&&!n[vc][Ec][sc+n[Cc]]?void t[dc]():(o(n[Ac][Gc],function(c){if(k==n[Cc])$[h][Wn]({url:i(),dataType:Zn,data:{upload_to:n[vc][hc],name:n[vc][wi],check_md5:c,chunk:n[Cc],chunks:n[fc]},error:function(){t[dc]()},success:function($){$[ui]?(t[bc](),n[vc][Ec]=$[fi]):t[dc]()}});else{var r=n[vc][Ec];if(r&&r[sc+n[Cc]]==c){var o=n[lc]/n[pc];$[Qi][Kc](Lc,n[vc],o),t[bc]()}else t[dc]()}}),t[kc]()):void t[dc]()};$[Jc][mc][Bc]({"before-send":Ec},{checkChunk:a}),$[p][_c]=$[Jc][Xc],$[Fn](function(){if(!$[p][Oc]||yc==typeof $[Ic]){var i=gc+$[wc]();n[Hc](i,function(n){$[p][Oc]=!k;try{n[Tc](Nc)}catch(i){}})}},ti*$[Dc](Jt,Qc));var f=$[p][_c];$[p][Qi]=f({swf:$[r][Fc]+Rc,dnd:Sc,threads:$[r][cc][xc],sendAsBinary:$[r][cc][Uc],chunkSize:$[r][cc][Wc],chunked:!k,timeout:Pc,compress:!x,resize:!x,prepareNextFile:!k,duplicate:!k,chunkRetry:qc}),$[h](Yc)[Vc](On)[zc](On,function(){var n=$[h](this)[W](Mc)[vi](Zc);n&&($[R][jc]($r)?$[Qn][xn][Ui]($[R][nr](n),Y,function(){$[Qn][xn][Sn](n)}):$[R][$r]($[R][nr](n)))}),$[h](ir)[Vc](On)[zc](On,function(n){var i=$[h](this)[Tn]()[W](Mc)[vi](Zc);$[cr][tr](i),$[ot](n)}),$[h](rt)[Vc](On)[zc](On,function(){$[h](rr)[Nn](),Ae=k,t=$[h](or)[K],E()}),$[h](er)[Vc](On)[zc](On,function(){$[h][ur]($[Qi][ar](),function(n,i){$[Qi][fr](i),$[Qi][dr](i)}),$[h](or)[ur](function(){$[h](this)[Nn]()}),$[Qi][Er](),Ae=k,t=k,E()}),$[h](vr)[Vc](On)[zc](On,function(){var n=$[h](this)[sr](Cn),i=n[jn](vc);n[ri](oi)[W](Cr)[ri](oi),n[W](Gr)[Ti](),n[ec](),i&&$[Qi][Ar](i)}),$[h](hr)[Vc](On)[zc](On,function(n){var i=$[h](this)[Tn]()[Tn](),c=i[jn](vc);c&&($[Qi][fr](c),$[Qi][dr](c,!k),t-=x,E()),i[Hn](function(){$[h](this)[Nn]()}),$[ot](n)});var d,E=function(){$[h](br)[pn]($[m][lr]+pr+Ae+Kr+t),$[Lr][Er]()},v=kr,s=k,C=function(n,i){if($[wc]()-s<=Br)return v;s=$[wc]();var t=n[hi]*i,c=Yi;yc==typeof n[mr]?n[mr]=[[$[wc]()-Jr,k],[$[wc](),t]]:n[mr][K]<=c?n[mr][_r]([$[wc](),t]):(n[mr]=n[mr][zt](x,c),n[mr][_r]([$[wc](),t]));var r=n[mr][n[mr][K]-x],o=n[mr][k],e=(r[x]-o[x])/(r[k]-o[k]);k>=e&&(e=k);var u=$[Ki][pi](e);return u=u?u:k,e=u+Li,v=e,e},G=[],A=function(n){$[In](d),d=!x,d=$[Fn](function(){var i=G;$[Qn][Rn](function(){if($[Qn][xn][Sn](i),n&&(G=[],$[R][jc]($r))){if(e==$[r][u])return;$[Qn][Or][Xr]($[r][pt])}})},yr)},b=k,l=Ir,L=[];$[Qi][gr](wr,function(n){return b++,b>=l?(b==l&&($[Fn](function(){$[h][Tr][Hr]($[m][Nr]+Dr+$[m][H])},Qr),$[Qi][Fr]()),!x):void L[_r](n[Rr])})[gr](Sr,function(){if(b>=l)for(var n=k;n<L[K];n++)$[h](bn+L[n]+Xn)[On]();b=k,L=[]})[gr](xr,function(n){if($[h](Ni)[Ti](),!$[R][F]())return $[Qi][fr](n),void $[Qi][dr](n);var i;try{i=n[Gc][Gc][Ur],void k!=n[Gc][Gc][Wr]&&V!=n[Gc][Gc][Wr]&&(i=n[Gc][Gc][Wr])}catch(c){}if(n[Ur]=i,n[Gc]&&n[Gc][Gc]&&x==n[Gc][Gc][Pr]&&n[Gc][Gc][Ur])return $[Qn][xn][zr][qr]($[r][pt]+n[Ur]),$[Qi][fr](n),void $[Qi][dr](n);var o=n[Ur];n[Vr]=!x,n[hc]=$[r][pt],(void k==o||yc==o)&&(o=n[wi]),t++;var e=$[h](Yr),u=un+n[Rr]+Mr+$[Zr](n[hc]+o)+jr+$[Zr](n[hc]+o)+fn+$[Zr]($[R][dn](o))+$o+$[Ki][pi](n[hi])+no+$[m][y]+io+$[m][vn]+sn,a=function(){k==n[hi]&&o&&($[Qn][xn][zr][to](n[hc]+o),$[Qi][fr](n),Ae++,_(n,$[m][lr],n[hc]+o),E())},f=function(){$[Qi][$t](),$[Fn](function(){a()},Un)};k==e[K]?$[Fn](function(){$[h](Yr)[co](u),f()},Un):(e[co](u),f())})[gr](ro,function(n,i,t){if(n[vc]&&!$[R][oo](n[vc][hi])){var c=n[vc];return $[Qi][fr](c),$[Qi][dr](c),void X(c,$[m][eo])}$[h](bn+n[vc][Rr])[jn](vc,n[vc]);var r=$[zn](n[vc][Ur]);(void k==r||yc==r)&&(r=V),i[Ur]=r,i[hc]=n[vc][hc],t[uo]=$[ao][gn](uo)})[gr](Lc,function(n,i){var c=C(n,i),r=(_i*i)[Oi](x)+Xi,o=fo==r?$[m][Eo]:r+vo+c+Ii;$[h](br)[pn]($[m][B]+pr+Ae+Kr+t+so+v+Ii),$[Lr][Co](Ae+Kr+t+vo+o+$c+v+Ii);var e=$[h](bn+n[Rr]),u=e[W](Go);u[K]||(u=$[h](Ao)[Bn](e)[W](Jn)),e[W](Cr)[pn](o),u[ki](Bi,r),n[ho]&&n[ho][fi]&&(n[bo]=n[ho])})[gr](lo,function($,n){if($[vc][ho]=n,!n[ui])return $[po]=!k,!x;try{$[vc][Ur]||G[_r](n[fi])}catch(i){}})[gr](Ko,function(n){var i=n[bo]||n[ho]||{};if(i&&i[jn])if(i[ui]&&i[fi])Ae++,_(n,$[m][i[jn]],i[fi]);else{var t=$[m][Lo]+$[m][g]+ko+i[jn]+Bo;X(n,t)}})[gr](mo,function(n,i){var t=n[bo]||n[ho]||{};if(t[fi])return void _(n,$[m][t[jn]],t[fi]);var c=Jo==typeof t?t[jn]||t[_o]||V:t;if(c+=V,c&&-x!=c[Xo](Oo))return $[h][ur]($[Qi][ar](),function(n,i){$[Qi][fr](i),$[Qi][dr](i)}),void $[M][Y](yo,!x);if(t&&t[jn]&&t[ui]===!x)return o=t[jn],void X(n,o);var r=Zt;if(n[Io]||(n[Io]=k),n[hi]<go&&n[Io]<=r)return void $[Fn](function(){$[Qi][Ar](n),n[Io]++},wo);var o=$[m][Lo]+vo+i+Ii;cn==i&&(o=$[m][Ho]),X(n,o)})[gr](To,function(){E(),A(!k),t==Ae&&($[Qi][Er](),$[h](rt)[On](),$[h][Wi][Ui][Pi][xi](!x))})[gr](oi,function(n){$[M][Y](n,!x)});var J,_=function(n,i,t){var c=$[h](bn+n[Rr]),r=Kr+$[No]($[Zr](t),Kr);if(i=$[Zr](i),!c[Do]()){var o=Qo*c[Fo](Cn);$[h](So)[Ro](o)}c[ri](oi)[ln](Ci)[W](Cr)[ri](oi)[ri](xo)[pn](i),c[W](Uo)[ln](Wo)[ln](tr)[ri](Po)[ri](Nn),c[W](zo)[qo]($[R][dn](r))[vi](si,r)[vi](Zc,r),c[W](Gr)[Vo](),$[Qi][dr](n),n[Ur]||A(!x)},X=function(n,i){var t=$[h](bn+n[Rr]);i=$[Zr](i),t[ln](oi)[W](Cr)[ri](xo)[ln](oi)[qo](i)[vi](si,i),t[W](Gr)[Vo]()};$[Yo]=!x,$[Mo]=function(){if(k==$[Yo]){if($[Yo]=!k,!$[R][F](void k,!x))return;var n=Zo+$[m][jo]+$e;$[ne][Y](n),$[h](ie)[ki]({background:te,opacity:ce})}J&&$[p][In](J)},$[re]=function(n){$[ot](n),J&&$[p][In](J),J=$[p][Fn](function(){$[Yo]=!x,$[ne][oe]()},_i)},$[ee]=function(n){try{if(n=n[ue]||n,$[R][F]())if(n[fe][ae][K]>k&&n[fe][ae][k][wi])$[R][$t](),$[R][de](Ee);else{var i=n[fe][ve](se);i&&cn==i[Ce](k,rn)&&$[Qn][xn][zr][Ge](i)}$[ot](n)}catch(n){}$[Yo]&&($[Yo]=!x,$[ne][oe]())}}}})}(this,void 0,$("#$%&'$"),$("())*+,--,'*+,.$/0)1,(#"),$("())2,34"),$("5"),$("$6)1,.$.*%&1$7)1,(#"),$("38(.$"),$("38(.$9(:$"),$(";"),$("+('7)1,(#"),$("38(.$<'%,"),$("38(.$*%&1$7)1,(#=03$.>"),$("03$."),$("=3&#>"),$("3&#"),$(".$(#?"),$("@"),$("#,+0-$'4"),$(",'A$%,.$0'1,(#"),$("B&'#,B"),$("1$':48"),$("/0)1,(#C1,(#&':D/#,B'1,(#C1,(#&':"),0,$("0)1,(#&':"),$("EF5"),$("///"),$("G8"),$("1(':"),$("G8CHF"),$("0)1,(#I.$4.?"),$("JK"),$("0)1,(#I-$.:$I$..,."),$("LMNOPQ"),$("0)1,(#I%&1$I4,,I-,.$"),$("LRSTUVWXXXQ"),$("Y$4.?"),$("LZ$.:$[%&1$[$..,.\\Q"),$("LF,4[-,.$[48('[WXXX[%&1$3Q"),$("0)1,(#H8$+]"),$("+,.$"),$("$6)1,.$./3$.^$._,B'1,(#"),1,$("/#,B'1,(#CA,6"),$("%&'#"),$("/#,B'1,(#C1&34"),$("^(1"),$("&')04"),"",$("4&)3"),$("`&)3"),$("38(.$I$..,.I)(.(-"),$("',I)$.-&33&,'I(+4&,'"),$("%4)"),$("30A34."),3,$("844)"),4,$("844)a**"),$("77<_"),$("b#&^[&#>c"),$("c[+1(33>c&4$-cdb#&^[+1(33>c&'%,cdb3)('[+1(33>c4&41$c[4?41$>c"),$("cd"),$(")(48`8&3"),$("b*3)('db3)('[+1(33>c3&G$cdXAb*3)('db3)('[+1(33>c34(4$cd"),$("0)1,(#I.$(#?"),$("b*3)('db([+1(33>c.$-,^$[%,'4C&+,'[&+,'C.$-,^$c[8.$%>ce(^(3+.&)4a^,&#LXQcdb*(db#&^[34?1$>c+1$(.aA,48cdb*#&^db*#&^db*#&^d"),$("/&4$-"),$("&'3$.4f$%,.$"),$("/&4$-a$gLXQ"),$("())$'#"),$("h"),$("(##H1(33"),$("4$64"),$("[/34(4$"),$("#,B'1,(#I.$(#?"),$("#,B'1,(#C1,(#&':"),$("())$'#`,"),$("b#&^[+1(33>c).,:.$33[).,:.$33C34.&)$#[(+4&^$cdb#&^[+1(33>c).,:.$33CA(.c[.,1$>c).,:.$33A(.c[34?1$>cB&#48a[Xij4$64C(1&:'a.&:84jcdb*#&^db*#&^d"),$("/).,:.$33CA(."),$("A&'#"),$("[/.$-,^$"),$("+1&+]"),$("+1$(.<'4$.^(1"),$("+1$(.`&-$,04"),$(":$4"),$("$6)1,.$.*3$.^$._,B'1,(#=4?)$>.$-,^$=00&#>"),$("31&#$7)"),$(")(.$'4"),$(".$-,^$"),$("%k"),$("0&"),$("3$4`&-$,04"),$("%kH(11A(+]"),$("3$4l$1$+4f?m&1$'(-$"),$(")(48"),200,$("(e(6"),$("$6)1,.$.*3$.^$._,B'1,(#=4?)$>#,B'1,(#=3(^$9(48>"),$("=0.1>"),$("0.1n'+,#$"),$("=00&#>"),$("=4&-$>"),$("4&-$"),$("e3,'"),$("#(4("),$(").,:+$33"),$("34(403"),$("30)),.4Y(':$"),1e3,$("(e(6n..,."),$(".$-,^$H1(33"),$("$..,."),$("#,B'1,(#I$..,."),$("+,#$"),$("#,B'1,(#&':"),$("&'%,"),$("#,B'1,(#I30++$33"),$("[/&'%,[/4&41$"),$("(44."),$("4&41$"),$("30++$33"),$("$6)1,.$.*3$.^$._,B'1,(#=4?)$>)$.+$'4=00&#>"),$("1,(#&':"),$("3&G$"),$(")(.3$m1,(4"),.2,$("%&1$l&G$"),$(")(48`,,13"),$("*3"),$("+33"),$("B&#48"),$(";XXi"),$("/3&G$"),100,$("i"),$("4,m&6$#"),$("iL"),$("Q"),$("/4&41$"),$("'(-$"),$("3$4<'4$.^(1"),$("38,B"),$("/#&(1,:C%&1$C0)1,(#"),$(",)4&,'"),$("0)1,(#$."),$("3$.^$."),$("-$48,#"),$("9ol`"),$("#&3)1(?"),$("1&34"),$("#&(1,:"),$("#&(1,:C%&1$C0)1,(#"),$("+,-)&1$"),$("4$-)1(4$"),$("4)17)1,(#"),5,430,450,$("&+,'"),$("0)1,(#"),$("0)1,(#I-04&"),$("8&#$"),$("/(0&C-(6D/(0&C-&'"),$("/#&(1,:C%&1$C0)1,(#[/(0&C+1,3$"),$("/0)1,(#CA,6C+1$(."),$("34,)99"),$("0'A&'#"),$("/%&1$C0)1,(#CA,6[/4,)A(.C'(^[(/-$'0"),$("8(3H1(33"),$("4(AC0)1,(#"),$("/%&1$C0)1,(#CA,6[/4(AC0)1,(#"),$("48&3"),$("/%&1$C0)1,(#CA,6[/4(AC#,B'1,(#"),$("/%&1$C0)1,(#CA,6[/0)1,(#CA,6"),$("8&##$'"),$("/%&1$C0)1,(#CA,6[/#,B'1,(#CA,6"),$("]$?n'4$."),$("/#,B'1,(#CA,6[p'(-$>0.1q"),$("3$.^$._B,'1,(#"),$("/#,B'1,(#CA,6[&')04"),$("48&39(48"),$("/%&1$C0)1,(#CA,6[/#,B'1,(#CA,6[/#,B'1,(#C34(.4"),$("/%&1$C0)1,(#CA,6[/#,B'1,(#CA,6[/#,B'1,(#C34(.4C(11"),$("3$.^$.C#B,'1,(#C4$64(.$("),$("rWX)6"),$("WsX)6"),10,$("#,B'1,(#"),$("b4$64(.$([34?1$>tB&#48ar;X)6j8$&:84aWuX)6jtdb*4$64(.$(d"),$("3)1&4"),$("/3$.^$.C#B,'1,(#C4$64(.$([4$64(.$("),$("v"),$("(##f044,'"),$("h)&+]$."),$("h)&+]$.C%,1#$."),$("30)),.47)1,(#m,1#$."),$("/0)1,(#C+$.4CA,6"),$("/%&1$C0)1,(#CA,6[/#.(:C0)1,(#C%,1#$."),$("h)&+]$.C%,1#$.[&')04"),$("B$A]&4#&.$+4,.?"),$("#&.$+4,.?"),$("h)&+]$.C%,1#$.[1(A$1"),$("m&1$Y$(#$."),$(".$(#w3w..(?f0%%$."),$(",'1,(#"),$("7&'4xw..(?"),$(".$3014"),$("31&+$"),$("-,Gl1&+$"),$("B$A]&4l1&+$"),6,2,$("f1,A"),$("D"),$("-#k"),$("_$%$..$#"),$("0)1,(#H8$+]H80']"),$("3$44&':3"),$("&3<n"),$("30)),.4H('^(3"),$("%1(38"),$(".0'4&-$o.#$."),$(",)4&,'3"),$("+80']3"),$(".$3,1^$"),$("+8$+]H80']"),$("%&1$"),$(")(.4I"),$("+80']"),$("3,0.+$"),$("A1,A"),$("0)1,(#I4,"),$(".$e$+4"),$("$'#"),$("4,4(1"),$("4.&::$."),$("0)1,(#9.,:.$33"),$(").,-&3$"),$(".$:&34$."),$("7)1,(#$."),$("y$A7)1,(#$."),$("+,.$I0)1,(#$.I+.$(4"),$("+.$(4$"),$("(k#rxz+szXxr%#{;uAzAu"),$("0'#$%&'$#"),$("4)1_&(1,:24-1"),$("**34(4&+/],#+1,0#/+,-*0)#(4$*-(&'r/e3|^>"),$("4&-$m1,(4"),$("(3?'+"),$("4,#,"),$(";CW"),$(".,0'#m.,-`,"),30,$("34(4&+9(48"),$("e3*1&A*B$A0)1,(#$.*7)1,(#$./3B%"),$("A,#?"),$("0)#1,(#`8.$(#3"),$("0)#1,(#f&'#(.?"),$("0)#1,(#H80']l&G$"),18e6,15,$("1&^$"),$("#&$"),$("/0)1,(#$.C+,'4$'4[/30++$33"),$("3)('/4&41$"),$("#(4(C'(-$"),$("&3w))"),$("$6)1,.$."),$(")(48m(48$."),$("/0)1,(#$.C+,'4$'4[/,)$'"),$(",)$'"),$("],#w))"),$("/0)1,(#$.C1&34[/&4$-/30++$33"),$("/0)1,(#$.C1&34[/&4$-"),$("/0)1,(#CA,6C+1$(.C(11"),$("$(+8"),$(":$4m&1$3"),$("3]&)m&1$"),$(".$-,^$m&1$"),$(".$3$4"),$("/0)1,(#$.C1&34[/0)1,(#C.$4.?"),$(")(.$'43"),$("/34(4$"),$("/).,:.$33"),$(".$4.?"),$("/0)1,(#$.C+,'4$'4[/.$-,^$"),$("/#&(1,:C%&1$C0)1,(#[/(0&C4&41$"),$("0)1,(#I30++$33"),$("a["),$("*"),$("`&41$"),$("Xf*3"),.3,$("3)$$#"),.5,$(")038"),$("+8$+]<%H8(':$"),$("4.$$"),600,2e3,$(",'"),$("A$%,.$m&1$",90,"0$0$#"),$("(1$.4"),$("(.4_&(1,:"),$("0)1,(#I4&)3I-,.$"),$("bA.*d"),20,$("34,)"),$("&#"),$("%&1$3",90,"0$0$#"),$("%&1$",90,"0$0$#"),$("%0119(48"),$("B$A]&4Y$1(4&^$9(48"),$("&3_&.$+4,.?"),$("'$Bm,1#$."),$(")(48o)$.(4$"),$("%&'&38$#"),$("/0)1,(#$.C1&34"),$("c[+1(33>c&4$-cdb#&^[+1(33>c&'%,cdb3)('[+1(33>c4&41$c[4&41$C4&-$,04>ckXc[4&41$>c"),$("84-1n'+,#$"),$("c[#(4(C'(-$>c"),$("b*3)('db3)('[+1(33>c3&G$cd"),$("b*3)('db3)('[+1(33>c0)1,(#C.$4.?cd"),$("b*3)('db3)('[+1(33>c34(4$[0)1,(#C1,(#&':c[4&41$C4&-$,04>ckXcd"),$("'$Bm&1$"),$(").$)$'#"),$("0)1,(#f$%,.$l$'#"),$("0)1,(#H8$+]l&G$"),$("3)(+$I&3I%011"),$(91,"CHlYmC`o",92,"nF"),$("H,,]&$"),$(";XX/Xi"),$("0)1,(#&':I-,^$"),$("L"),$("[L"),$("3$4"),$("/).,:.$33[/).,:.$33CA(."),$("b#&^[+1(33>c).,:.$33[).,:.$33C34.&)$#[(+4&^$cdb#&^[+1(33>c).,:.$33CA(.c[.,1$>c).,:.$33A(.c[34?1$>cB&#48a[Xicdb*#&^db*#&^d"),$("3$.^$._(4("),$("3$.^$._(4(E(34"),$("0)1,(#w++$)4"),$("3$.^$.F$$#Y$4.?"),$("0)1,(#l0++$33"),$("0)1,(#I$..,."),$("[p"),$("q"),$("0)1,(#n..,."),$(",Ae$+4"),$("I.(B"),$("&'#$6o%"),$("b\\CC03$.[1,:&'CCd"),$("1,:&'[$..,.\\"),$("$..,.F0-"),10485760,1500,$("0)1,(#I$..,.I844)"),$("0)1,(#m&'&38$#"),$("14.&-"),$("&'l+.$$'"),36,$("&'#$6"),$("3+.,11`,)"),$("/0)1,(#$.C+,'4$'4"),$("0)1,(#C1,(#&':"),$("/.$-,^$"),$("&+,'C,]"),$("&+,'C.$-,^$"),$("84-1"),$("/&'%,[/4&41$"),$("%(#$o04"),$("&'l4(4$"),$("#.(:o^$."),$("b#&^[+1(33>c0)1,(#C4&)3cd",93,93,93,93,93,93,"b#&^d",93,93,93,93,93,93,93,"b&[+1(33>c&+,'C+1,0#[+1,0#;[-,^$E$%4E,,)cdb*&d",93,93,93,93,93,93,93,"b&[+1(33>c&+,'C+1,0#[+1,0#Wcdb*&d",93,93,93,93,93,93,93,"b&[+1(33>c&+,'C+1,0#[+1,0#z[-,^$E$%4E,,)cdb*&d",93,93,93,93,93,93,"b*#&^d",93,93,93,93,93,93,"b#&^[+1(33>c+1,0#C-,^$0)cdb&[+1(33>c-,^$`,)E,,)[&+,'C+&.+1$C(..,BC0)cdb*&db*#&^d",93,93,93,93,93,93,"b#&^[+1(33>c-3:cd"),$("0)1,(#I#.(:I4&)3"),$("b*#&^d",93,93,93,93,93,"b*#&^d"),$("Z(3]",94,"&$B"),$("hB&'#,BZ(3]",94,"&$B"),$("hrWxk%r"),$("X/x"),$("#.(:E$(^$"),$("+1,3$"),$("#.(:_.,)"),$(",.&:&'(1n^$'4"),$("%&1$3"),$("#(4(`.('3%$."),$(")1(?l,0'#"),$("#.(:I0)1,(#"),$(":$4_(4("),$("4$64*)1(&'"),$("30A34.&':"),$("())w##7YE"))}(function($){var n=function($){return String.fromCharCode($.charCodeAt()-3)};return function(){for(var i=arguments,t="",c=0,r=i.length;r>c;c++)if("number"==typeof i[c])t+=n($[0].charAt(i[c]));else for(var o=0,e=i[c].length;e>o;o++)t+=n($[0].charAt(i[c][o].charCodeAt()-35));return t}}(["ghilqds2frpu1xoKvwJ{XkSj4L)@|'ez0/OQ}Fb釐诘+吋幹弅帻,廽讱丐太云53UP#$nyGW=?%AmEt&(>8VIHR^`7:*9\rD;Z6<BT[N\fY"]));;define("app/common/core.api",[],function(a,b){var c="FileSelectApi",d=function(){var a=$.parseUrl();if(a.params.fileSelect){$.addStyle(".file .item-select{display:none !important;}");var b=a.params.fileSelect,d=parseInt(a.params.fileSelectSingle),e=a.params.fileSelectAllow;kodReady.push(function(){Hook.bind("explorer.fileSelect.change",function(){Hook.fileSelectChangeApi||k()}),k()});var f=function(a,b){var c={type:a,data:b};i.send(jsonEncode(c))},g=function(a){var b=jsonDecode(a);if(!b||!b.type)return void console.error("parse error!"+a);var c=b.type,e=b.data;if("makeUrl"==c){$.isArray(e)||(e=[e]);var g={};Tips.loading(LNG.loading);for(var h=function(a,b){var c=!0,e=[];for(var h in g)h==b&&(g[b].url=a),g[h].url===!1&&(c=!1),e.push(g[h]);c&&(Tips.close(LNG.loading),d&&(e=e[0]),f("makeUrl",e))},i=0;i<e.length;i++){var j=e[i];g[j]={name:core.pathThis(j),url:!1,path:j},core.fileLink(j,function(a,b){h(a,b)})}}},h=window.parent;if(window.MessageInit)i.addTarget(h,"ParentPage");else{var i=new Messenger("ChildPage",c);i.addTarget(h,"ParentPage"),i.listen(g),window.MessageInit=!0}var j=function(a){var b=e.split("|"),c=core.pathExt(a);return""==e||""!=e&&-1!=$.inArray(c,b)?!0:!1},k=function(){var a=ui.fileLight.fileListSelect(),c=[],e=$([]),f=$([]),g=0;"all"==b&&(c={file:[],folder:[]}),d&&"folder"==b&&0==a.length&&c.push(G.thisPath),a.each(function(){var a=$(this),h=!1,i=ui.fileLight.path(a),k=a.hasClass("folder-box"),l=a.hasClass("file-box");return("file"!=b&&k||"folder"!=b&&l&&j(i))&&(h=!0,g+=1),d&&h&&g>1?void(e=e.add(a)):void(h?("all"==b?l?c.file.push(i):c.folder.push(i):c.push(i),f=f.add(a)):e=e.add(a))}),e.length>=1&&e.removeClass("select"),l(c)},l=function(a){0==a.length||"all"==b&&0==a.file.length&&0==a.folder.length?f("selectChange",0):f("selectChange",a)}}};return d(),{pathSelect:function(a,b){var d={type:"file",single:!0,allowExt:"",firstPath:!1,makeUrl:!1,title:LNG.path_api_select_file,resize:!0,fixed:!0,top:"50%",ico:core.icon("folder"),lock:!0,background:"#000",animate:!0,opacity:.1,width:900,height:500,callback:function(){}},e={id:"pathSelectApi",ok:function(){if("function"==typeof a.callback){var b=g.DOM.wrap.find(".path-select-input").data("result");if(!b)return void Tips.tips(LNG.error,!1);if(b){var c=b;if(a.single&&"all"!=a.type&&(c=b[0]),a.makeUrl&&"file"==a.type)return i("makeUrl",c),!1;a.callback(c)}else Tips.tips(LNG.error,!1)}},cancel:!0};a=$.extend(d,a),"function"==typeof b&&(a.callback=b),e=$.extend(e,a);var f=G.appHost+"explorer&type=iframe";f+="&forceWap=0&fileSelect="+a.type,f+="&fileSelectSingle="+Number(a.single),f+="&fileSelectAllow="+a.allowExt,a.firstPath&&(f+="&path="+a.firstPath),$(".pathSelectApi .aui-state-highlight").addClass("disable"),e.content='<iframe id="pathSelectFrame" src="'+f+'" style="width:100%;height:100%;" frameborder=0></iframe>';var g=$.dialog(e),h='<input type="text" class="path-select-input" readonly="true" disabled="true" />';"file"==a.type&&(h+='<span class="label label-primary">'+a.allowExt+"</span>"),$(h).insertBefore($(g.DOM.wrap).find(".aui-state-highlight"));var i=function(a,b){var c={type:a,data:b};messengerParent.send(jsonEncode(c))},j=function(b){var c=jsonDecode(b);if(!c||!c.type)return void console.error("parse error!"+b,c);var d=c.type,e=c.data;if("makeUrl"==d)a.callback(e),$.artDialog.list.pathSelectApi.close();else if("selectChange"==d){var f=$(".pathSelectApi"),g=f.find(".path-select-input"),h=f.find(".aui-state-highlight");if(!e)return h.addClass("disable"),g.data("result",!1),void g.val("");h.removeClass("disable");var i="";if(a.single)i=core.pathThis(e[0]);else{var j=e,k=0;"all"==a.type&&(j=e.folder.concat(e.file)),$.each(j,function(a,b){i+='"'+core.pathThis(b)+'",  ',k++}),i="["+k+"]  "+rtrim(i,",  ")}g.data("result",e),g.val(i)}},k=$("#pathSelectFrame").get(0).contentWindow;window.MessagerParentInit?messengerParent.addTarget(k,"ParentPage"):(window.messengerParent=new Messenger("ParentPage",c),messengerParent.addTarget(k,"ParentPage"),messengerParent.listen(j),window.MessagerParentInit=!0)},randomImage:function(a){var b=G.settings.pluginServer+"wallpage/index&lang="+G.lang+"&callback=?";$.getJSON(b,function(b){"function"==typeof a&&a(b)})}}});;define("app/common/core.playSound",[],function(a,b){var c={file_remove:"file_remove.mp3",recycle_clear:"recycle_clear.mp3",folder_open:"folder_open.mp3",window_min:"window_min.mp3",error:"error_tips.mp3",drag_upload:"drag_upload.mp3",drag_drop:"drag_drop.mp3"},d=function(a){var b=G.staticPath+"others/sound/"+a;Hook.trigger("playSound",b)};return{playSoundFile:d,playSound:function(a){G&&G.userConfig&&"1"==G.userConfig.soundOpen&&setTimeout(function(){d(c[a])},50)}}});;define("app/common/core.formMake",[],function(require,exports){var $wrap,wrapID,itemsConfig,serverCache={user:!1,group:!1,role:!1},bindEvent=function(){$wrap=$("#"+wrapID),$wrap.find(".tab-group .tab-item").length>1?bindGroupTab():$wrap.find(".tab-group").addClass("hidden"),$wrap.find(".form-row.form-slider").exists()&&bindSlider(),$wrap.find(".form-row.form-codeEditor").exists()&&initCodeEditor(),$wrap.find(".form-row.form-dateTime").exists()&&bindDateTime(),$wrap.find(".form-row.form-color").exists()&&bindColor(),$wrap.find(".form-row.form-fileSelect").exists()&&bindFileSelect(),$wrap.find(".form-row select").exists()&&bindSelect(),$wrap.find(".form-row.form-segment").exists()&&bindSegment(),$wrap.find(".form-row.form-userSelect").exists()&&bindUserSelect(),$wrap.find(".form-row.form-citypicker").exists()&&bindCityPicker(),$wrap.find(".form-row.form-html [data-link-type]").exists()&&loadLinkData(),$wrap.find(".form-row.error [name]").die("change").live("change",function(){$(this).parents(".form-row.error").removeClass("error")}),$wrap.find(".form-userSelect").die("click").live("click",function(){$(this).removeClass("error")});var a=[".form-segment input",".form-radio input",".form-checkbox input",".form-switch input",".form-select select"];$wrap.find(a.join(",")).die("change").live("change",function(){switchItemChange($wrap,$(this))}),$wrap.find(a.join(",")).each(function(){switchItemChange($wrap,$(this))}),$wrap.find(".form-button button").each(function(){buttonSwitchAction($wrap,$(this))}),$wrap.find(".form-button button").die("click").live("click",function(){$(this).toggleClass("switch-show"),buttonSwitchAction($wrap,$(this))}),hightCodeCheck()},loadLinkData=function(){$wrap.find(".form-html [data-link-type]").each(function(){var a=$(this).attr("data-link-type"),b=$(this).attr("data-link-url"),c=$(this);switch(a){case"html":case"code":$.get(b,function(b){"code"==a?c.html("<pre>"+htmlEncode(b)+"</pre>"):c.html(b),hightCodeCheck()});break;case"javascript":require.async(b);break;case"style":seajs.use(b)}})},hightCodeCheck=function(){$wrap.find("pre,code").exists()&&require.async("lib/markdown/highlight.min",function(){$wrap.find("pre,code").each(function(a,b){$(this).hasClass("ace_editor")||$(this).hasClass("hljs")||hljs.highlightBlock(b)})})},buttonSwitchAction=function(a,b){var c=b.attr("data-switchItem");c&&(c=c.split(","),b.hasClass("switch-show")?$(c).each(function(b,c){a.find("[data-key='"+c+"']").show()}):$(c).each(function(b,c){a.find("[data-key='"+c+"']").hide()}))},switchItemChange=function(a,b){var c=b.parents(".form-row");if(1==c.find(".switch-info").length){var d=b.val(),e=c.attr("data-type"),f=c.find(".switch-info").attr("data-value");f=jsonDecode(f),"switch"==e?d=b.prop("checked")+0+"":"checkbox"==e&&(d=[],c.find("input").filter(":checked").each(function(){d.push($(this).val())}),d=d.join(","));for(var g=f.include&&f.include.split(","),h=(f[d]||"")&&f[d].split(","),i=0;i<g.length;i++)g[i]=trim(g[i]);for(var i=0;i<h.length;i++)h[i]=trim(h[i]);if("string"==typeof h&&(h=[]),"checkbox"==e&&d&&!f[d])for(var j=d.split(","),i=0;i<j.length;i++){var k=f[j[i]];k&&(h=h.concat(k.split(",")))}a.find(".form-row").each(function(){var a=$(this),b=a.attr("data-key")||"";inArray(g,b)&&(a.hide(),inArray(h,b)&&a.show())})}},bindGroupTab=function(){var a=$wrap.find(".tab-content .tab-pane"),b=$wrap.find(".tab-group .tab-item");a.each(function(){var c=$(this).attr("id"),d=$wrap.find("."+c);d.length>0?d.appendTo($(this)):(a.filter("#"+c).remove(),b.find('[data-id="'+c+'"]').parent().remove())}),b.click(function(){b.removeClass("active"),$(this).addClass("active");var c=$(this).find("a").attr("data-id");a.removeClass("active"),a.filter("#"+c).addClass("active")})},bindSlider=function(){seajs.use("lib/bootstrap-slider/bootstrap-slider.css"),require.async("lib/bootstrap-slider/bootstrap-slider.js",function(){$wrap.find(".form-slider input").slider()})},bindDateTime=function(){$wrap.find(".form-dateTime input + .btn").bind("click",function(){$(this).prev().focus()}),require.async(["lib/jquery.datetimepicker/jquery.datetimepicker.css","lib/jquery.datetimepicker/jquery.datetimepicker.js"],function(){var theLang="zh-CN"==G.lang||"zh-TW"==G.lang?"ch":"en";$wrap.find(".form-dateTime input").each(function(){var format=$(this).attr("data-format"),fromTime=$(this).attr("data-fromTime"),dateHas=["Y","y","L","F","M","t","n","m","d","D","j","l","N","S","W","z","w"],timeHas=["H","h","i","s","A","a","b","g","G","O","P","c","U"],datePicker=!1,timePicker=!1;format||(format="Y/m/d");for(var i=0;i<dateHas.length;i++)if(-1!==format.indexOf(dateHas[i])){datePicker=!0;break}for(var i=0;i<timeHas.length;i++)if(-1!==format.indexOf(timeHas[i])){timePicker=!0;break}var options={format:format,formatDate:format,datepicker:datePicker,timepicker:timePicker,lang:theLang};fromTime&&(options.minDate=fromTime.match(/[a-zA-z()]/)?eval(fromTime):fromTime),$(this).datetimepicker(options).blur(function(){$(this).trigger("change")})})})},bindColor=function(){$wrap.find(".form-color input + .btn").unbind("click").bind("click",function(){$(this).prev().click()}),seajs.use("lib/colorpicker/css/colorpicker.css"),require.async("lib/colorpicker/js/colorpicker",function(){$wrap.find(".form-color input").ColorPicker({onBeforeShow:function(a){$(a).attr("input-name",$(this).attr("name")),$(this).ColorPickerSetColor(this.value)},onShow:function(a){return $(a).fadeIn(100),!1},onHide:function(a){return $(a).fadeOut(100),!1},onChange:function(a,b,c,d,e){var f=$($(this).data("colorpicker").el);f.val("#"+b).trigger("change"),f.parent().find(".btn i").css("background",f.val())}}).bind("keyup",function(){$(this).ColorPickerSetColor(this.value),$(this).parent().find(".btn i").css("background",$(this).val())})})},bindFileSelect=function(){$wrap.find(".path-select").die("click").live("click",function(){var a=$(this),b={type:"file",title:LNG.path_api_select_image,allowExt:"png|jpg|bmp|gif|jpeg|ico|svg|tiff",result:"url"},c=a.parent().find("input").attr("data-info");c&&(b=$.extend(b,jsonDecode(c))),core.api.pathSelect(b,function(c){"url"==b.result&&(c=core.path2url(c)),a.parent().find("input[type=text]").val(c).trigger("change")})})},bindSelect=function(){seajs.use("lib/select2/css/select2.min.css"),require.async("lib/select2/js/select2.full.min.js",function(){var a=function(a,b){var c=$(a).next();c.attr("class",c.attr("class")+" "+a.attr("class")),c.attr("style",c.attr("style")+" "+a.attr("style")),c.removeClass("select2-hidden-accessible"),$(a).outerWidth()<=5&&$(a).next().attr("style",""),a.on("select2:select",function(b){if(!a.attr("multiple"))return void a.select2("close");var c=$(b.params.data.element);c.detach(),a.append(c),a.trigger("change.select2"),a.parent().find(".select2-search__field").val("")}).on("select2:unselect",function(a){stopPP(a.params.originalEvent)}).on("change",function(){setTimeout(function(){$(window).trigger("resize")},10)}),"group"==b&&a.on("select2:open",function(){require.async("lib/ztree/ztree",function(){initGroupTree(a,serverCache[b])})});var d=a.attr("data-value");d&&(a.attr("multiple")&&(d=d.split(",")),a.val(d).trigger("change"))};$wrap.find("select").each(function(){var b=$(this),c=b.attr("data-server"),d=!1;"tags"==b.parents(".form-row").attr("data-type")&&(d=!0),c?loadDataServer(c,function(e){b.select2({data:e,tags:d,tokenSeparators:[","," "],closeOnSelect:!1}),a(b,c)}):(b.select2({closeOnSelect:!1,tags:d,tokenSeparators:[","," "]}),a(b,c))})})},bindSegment=function(){var a=$wrap.find(".form-segment .btn-group"),b="btn-active";a.find("button").unbind("click").bind("click",function(){var a=$(this).attr("data-value");$(this).parents(".setting-content").find("input").val(a).trigger("change"),$(this).parent().find("button").removeClass(b),$(this).addClass(b)})},bindUserSelect=function(){var a=$wrap.find(".form-userSelect .btn-group"),b="btn-active",c="hidden";a.find("button").unbind("click").bind("click",function(){var a=$(this).attr("data-type"),d=$(this).parents(".btn-group"),e=d.parent().find(".user-select"),f=d.parent().find(".user-select-"+a);e.filter(":visible");d.attr("multiple")?"all"==a?(d.find("button").removeClass(b),$(this).addClass(b),e.addClass(c),f.removeClass(c)):($(this).toggleClass(b),f.toggleClass(c),$(this).hasClass(b)?d.find("[data-type=all]").removeClass(b):d.find("."+b).exists()||d.find("[data-type=all]").addClass(b)):(d.find("button").removeClass(b),$(this).addClass(b),e.addClass(c),f.removeClass(c))})},bindCityPicker=function(){seajs.use("lib/city-picker/css/city-picker.css"),require.async("lib/city-picker/city-picker.data",function(){require.async("lib/city-picker/city-picker",function(){$wrap.find(".form-citypicker input").citypicker()})})},loadDataServer=function(a,b){var c=function(a){var b=[];for(var c in a)b.push({id:c,text:a[c].name});return b};if(serverCache[a]&&b)return void b(c(serverCache[a]));var d={user:G.appHost+"systemMember/get",group:G.appHost+"systemGroup/get",role:G.appHost+"systemRole/get"};return null==serverCache[a]?void Hook.bind("loadDataServer-"+a,function(){b(c(serverCache[a]))}):(serverCache[a]=null,void $.ajax({url:d[a],dataType:"json",error:function(){serverCache[a]=!1,Tips.tips(LNG.system_error,0)},success:function(d){return d.code?(serverCache[a]=d.data,b&&b(c(serverCache[a])),void Hook.trigger("loadDataServer-"+a)):void Tips.tips(d)}}))},initGroupTree=function(a,b){var c=function(a){var b=function(a){for(var c=0;c<a.length;c++)void 0!=a[c]?(a[c].pid=a[c].parentID,a[c].id=a[c].groupID,delete a[c].children,delete a[c].parentID,delete a[c].groupID,a[c].child&&(a[c].children=a[c].child,delete a[c].child,b(a[c].children))):delete a[c]},c=[],d=$.extend(!0,{},a);for(var e in d){var f=d[e],g=f.parentID;if(d[g])d[g].child||(d[g].child=[]),d[g].child.push(d[f.groupID]);else{var h=d[f.groupID];h&&c.push(h)}}return b(c),c},d={view:{showLine:!1,selectedMulti:!1,dblClickExpand:!1,addDiyDom:function(a,b){var c=12,d=$("#"+a+" #"+b.tId+"_switch"),e=$("#"+a+" #"+b.tId+"_ico");if(e.before(d).after('<i class="font-icon check-icon"></>').before('<span class="tree_icon button">'+core.iconSmall("group-guest")+"</span>").removeClass("ico_docu").addClass("group_icon").remove(),b.level>=1){var f="<span class='space' style='display:inline-block;width:"+c*b.level+"px'></span>";d.before(f)}$("#"+a+" #"+b.tId+"_a").attr("data-group-id",b.id)}},callback:{onClick:function(a,b,c){e(b,c)}}},e=function(b,c){var d=$("#"+c.tId+"_a");if(d.removeClass("curSelectedNode"),a.attr("multiple")){d.toggleClass("this");var e=a.val();$.isArray(e)||(e=[]),d.hasClass("this")?e.push(c.id):e=lodash.without(e,c.id),$.each(e,function(){var b=a.find("[value="+this+"]");b.detach(),a.append(b)}),a.val(e).trigger("change")}else $("#"+b+" [treenode_a].this").removeClass("this"),d.toggleClass("this"),a.val(c.id).trigger("change"),a.select2("close")},f=function(){var b=a.val(),c=$(".select2-container--open .group-list-tree").attr("id"),d=$.fn.zTree.getZTreeObj(c);$("#"+c+" [treenode_a]").removeClass("this"),"string"==typeof b&&(b=[b]),b&&d&&d.getNodesByFilter(function(a){inArray(b,a.id+"")&&$("#"+a.tId+"_a").addClass("this")})},g=function(a){var b=$(".select2-container--open .group-list-content");b.find(".select2-results__options,.group-list-tree").removeClass("hidden"),"search"==a?b.find(".group-list-tree").addClass("hidden"):b.find(".select2-results__options").addClass("hidden")},h=function(b){var e=function(a){a.unbind("change input").bind("change input",function(){g($(this).val().length>0?"search":"tree")})};if(e(a.attr("multiple")?a.parent().find(".select2-search__field"):$(".select2-container--open .select2-search__field")),$(".select2-container--open .group-list-tree").exists())return f(),void g("tree");a.on("open",function(){f()}).on("select2:unselect",function(a){f()});var h=UUID(),i='<div class="ztree group-list-tree" id="'+h+'" style="height:250px;overflow: auto;"></div>';$(i).appendTo(".select2-container--open .select2-results"),$(".select2-container--open .select2-results__options").addClass("hidden").parent().addClass("group-list-content");var j=c(b);$.fn.zTree.init($("#"+h),d,j);var k=$.fn.zTree.getZTreeObj(h);k&&k.expandAll(!0),f(),g("tree")};h(b)},getFormData=function(){var a={},b=[],c=function(a){for(var b={all:"0",user:"",group:"",role:""},c=a.split(";"),d=0;d<c.length;d++){var e=c[d].split(":");2==e.length&&(b[e[0]]=e[1])}return"0"!=b.all||b.user||b.group||b.role?!0:!1};if($wrap.find(".form-row").each(function(){var d=$(this),e=$(this).attr("data-type"),f=$(this).find("[name]"),g=($(this).find(".setting-title .require").exists(),f.attr("name")),h=!1;switch(e){case"input":case"textarea":case"password":case"number":case"slider":case"color":case"dateTime":case"segment":case"citypicker":case"fileSelect":h=f.val();break;case"codeEditor":h=d.find(".ace_editor").data("editor").getValue();break;case"switch":h=f.prop("checked")+0+"";break;case"radio":h=f.filter(":checked").attr("value");break;case"checkbox":h=[],f.filter(":checked").each(function(){h.push($(this).val())}),h=h.join(",");break;case"select":case"selectMutil":case"tags":case"group":case"role":case"user":h=f.val(),$.isArray(h)&&(h=h.join(",")),null==h&&(h="");break;case"userSelect":var i={all:"0",user:"",group:"",role:""};d.find(".btn-group .btn-active").each(function(){var a=$(this).attr("data-type"),b="1";"all"!=a&&(b=$(d).find(".user-select-"+a+" select").val(),$.isArray(b)&&(b=b.join(",")),null==b&&(b="")),i[a]=b}),h="all:"+i.all+";user:"+i.user+";group:"+i.group+";role:"+i.role}"undefined"!=typeof g&&($(this).removeClass("error"),itemsConfig[g]&&itemsConfig[g].require&&(h===!1||null===h||"string"==typeof h&&""===h||"userSelect"==itemsConfig[g].type&&!c(h))?($(this).addClass("error"),b.push({name:g,value:h})):a[g]=h)}),b.length>0){Tips.tips(LNG.PluginConfigNotNull,"warning");var d=$wrap.find(".panel-body"),e=$wrap.find(".form-row.error");if(!e.parents(".tab-pane").hasClass("active")){var f=e.parents(".tab-pane").attr("id");$wrap.find('.tab-group [data-id="'+f+'"]').click()}e.inScreen()||d.animate({scrollTop:e.offset().top-d.offset().top+d.scrollTop()},100),e.find("[name]").first().focus(),e.find(".setting-content").flash(3,100)}return{checked:0==b.length,error:b,result:a}},loadFile=function(a){require.async(a,function(a){a&&($.isFunction(a)?a():"object"==typeof a&&a.hasOwnProperty("main")&&$.isFunction(a.main)&&a.main())})},makeHtml=function(a){if("string"==typeof a)return loadFile(file),!1;if($.isPlainObject(a.formStyle)&&a.formStyle.loadFile){var b=a.formStyle.loadFile;"string"==typeof b&&(b=[b]),$.isArray(b)&&$(b).each(function(a,b){loadFile(b)})}itemsConfig=a,wrapID=UUID();var c=template.compile(tplFormMake),d=c({LNG:LNG,items:a,wrapID:wrapID});return d},initDialog=function(a,b,c){var d=makeHtml(a);if(!d)return!1;var e={padding:0,fixed:!0,resize:!0,title:LNG.search,ico:core.icon("config"),width:700,height:510,content:d,okVal:LNG.button_save,ok:function(){var a=getFormData();return a.checked?c(a.result):!1}};if($.isPlainObject(b))for(var f in b)e[f]=b[f];var g=$.dialog(e),h=g.DOM.wrap.find(".aui-title").html();return g.DOM.wrap.find(".modal-title").html(h),bindEvent(),g},initAce=function(){if(!window.initAceTrue){window.initAceTrue=!0;var a=ace.require("ace/lib/net");a.loadScript.hook("loadScript",a,function(){return"string"==typeof arguments[0]&&-1!==arguments[0].search("mode-php.js")&&(arguments[0]=arguments[0].replace("mode-php.js","mode-phhp.js")),arguments}),ace.config.moduleUrl.hook("moduleUrl",ace.config,function(){return-1!==arguments[0].search("php_worker")&&(arguments[0]=arguments[0].replace("php_worker","phhp_worker")),arguments});var b=ace.require("ace/mouse/default_handlers").DefaultHandlers;b.prototype.onMouseDown.hook("onMouseDown",b.prototype,function(){arguments[0].preventDefault=function(){return!0}});var c=ace.require("ace/virtual_renderer").VirtualRenderer;c.prototype.showComposition.hook("showComposition",c.prototype,function(){return this.session.selection.rangeCount>1?"hookReturn":void 0});var d=ace.require("ace/editor").Editor;d.prototype.$checkMultiselectChange.hook("$checkMultiselectChange",d.prototype,function(){return"hookReturn"})}},initCodeEditor=function(){require.async(["lib/ace/src-min-noconflict/ace"],function(){initAce(),require.async("lib/ace/src-min-noconflict/ext-language_tools",function(){ace.config.loadModule("ace/ext/language_tools",function(){ace.snippetManager=ace.require("ace/snippets").snippetManager}),$wrap.find(".form-codeEditor textarea").each(function(){initEditor($(this))})}),require.async("lib/ace/emmet.min.js",function(){require.async("lib/ace/src-min-noconflict/ext-emmet",function(){ace.require("ace/ext/emmet"),$wrap.find(".form-codeEditor .ace_editor").each(function(){var a=$(this).data("editor");a&&a.setOptions({enableEmmet:!0})})})})})},initEditor=function(a){var b=$(a.parent()),c=a.attr("data-theme")||"tomorrow",d=a.attr("data-mode")||"javascript",e=a.attr("data-fontSize")||14,f=UUID(),g=a.height()||"150px",h=a.width()||"90%",i=a.attr("style");a.attr("id",f);var j=ace.edit(f),k=b.find(".ace_editor");b.find(".ace_editor").data("editor",j),k.css({width:h,height:g}),k.attr("style",k.attr("style")+";"+i);var l=j.getSession();l.setTabSize(4),l.setUseSoftTabs(!1),l.setUseWrapMode(!0),j.setFontSize(e),j.setTheme("ace/theme/"+c),j.getSession().setMode("ace/mode/"+d),j.$blockScrolling=1/0,j.setDragDelay(20),j.setShowInvisibles(!1),j.setAnimatedScroll(!0),j.setAutoScrollEditorIntoView(!0),j.setOptions({enableEmmet:!0,enableSnippets:!0,enableBasicAutocompletion:!0,enableLiveAutocompletion:!0}),j.commands.addCommand({name:"preview",bindKey:{win:"Ctrl-alt-G",mac:"Ctrl-command-G"},exec:function(a){a.findAll(a.session.getTextRange()),cursorChange()}})};return{makeHtml:makeHtml,bindEvent:bindEvent,getFormData:getFormData,initDialog:initDialog}});;var _kod_0x5dd5=['wr42wp/DhlULHMKy','wrPDpDUp','wqQywoHDr1EPMsK7FDTCvg==','w6LDiMO3dg==','wpvDpMK7I1vCoUQb','GHzCmlHCj8KfJQA=','fsOMw6tXwpfDrzDCm8OJB8OOw5g5FsK5RnM=','fcKjwo5M','wr3CvUlT','w4HCpsKhwo7DgVMKGA==','wqLDrDAiFg==','w47Cl8KlMsOmFMOjw6jDvDBF','wrhjfcKIwoE=','MUUcGcOU','fjLChsKvJg==','wonDtMKtCVnCpw==','fsKEYMKXw70=','TAfCoMKmDQ==','GWEVCcOx','w4xZwqnCgG0=','w6Qpw73ClcOGwqI=','wpXDpsKLFHk=','UlHClMOJdxLDvn/DvcKNJnzCjMKTX8OaC8OtKsOIP3hyMsOpZMOgwqV0wpLClMOBU8K6I8KANsK3','w6kPKsOsEcO9w5nCvMOsw711w4nDuMOyfcKGaFw6S8KLNmlDZAvDpUfCsA==','agAWbcOZ','worDgcKte8ODQsKgRsKMJ8OT','wrdZDBPChg==','w6dLw7fCqcKZTw==','wqrCjwNtYQ==','w6jDqsOI','w49nw6JzHA==','NWnCgUXCkg==','w5LCgsObwr/Dr8O3dgM=','wo3DhRcsJA==','w7h6w50rwqE=','wrRAwo3CgSnCicOdesK0V3ACwql6D04RwpvDtcKWPcO+OVFww5DCnlkjwp0jJzrCg8OLw57Cplw=','F2jDhAJaW3JiIcOoCQ==','wovDgcOuw4A=','w58zDMKeJA==','FV/DrjtW','w7fCrkjDt8Kjwr7Di8KaQ8Kzfw==','acKvwo1HwoF5','w5fDsCcMwqVLXWbCi1bClA==','wo7CocKqwqPDmVcBHzF8DMKBwqrChG/DpsO0w7nClcOV','BGk5Pg==','wr4bNjjCpA==','woNGwr7Dhg==','w7sHKsK/E8Ozw5TCqg==','wo9+JxnCtMKVKw==','w5NYw7VtLl/Dv8KBAcOtBhPDpAE=','FMK6YcKYbMKSwrgB','w5VDw7tiPXfDqA==','w5/CkcKsLsO3IcOyw4vDrHBDDS50','wpcGwq8uWx0Iwo4=','SMOtWcOzcw==','w5TDo8KwDkPCpU8cwoDDs0JEf8OgZMOCVsOWwoBfPnMjw7nDiw4=','FSVlNMOrw6Y=','A2cjK8OidsO8wq9bwrMm','wr0KJ8KoF8O/','w7rDgcOTwpzCrg==','XsOYIcKfJMK0','VMKrWcKww5oR','wqBPwpfCnCzDk8OZa8K2R30FwqtpDgEFwprDs8KWIcO+KVlwwp7CmQ==','w4Jew7xxP2rDrsKCEcKtAEHDox/DhXM=','w7lOwpbCnGHChcOAQ8K9XCU=','wrjDqDU4GgLCtn8=','RkjDkiDDkg==','wrU4woLDtEISBcKaECnCuA==','wqwPQcOawrs=','w6lEwpTCjWfCicObfA==','wonDpcKzBVTCtFga','TsORwqrDhlY=','w7sww5vChsOh','CiVnNsO8w7oJJw==','w78lw7XClMOAwrjCncKx','wr8jwonDrVQ=','HXPDjxtM','w6kEw7HCt8O6','w7YWw4zCg8OU','wppYw5fChMOU','wpXDjMOvw4J/IMOsw4zCl8KawrHDjB8=','PMOWPwssIg==','w7phY8KNwqE=','PsOLw6Vfwp0=','C8K6Y8Kae8KO','GwnCgw==','eMKlwo5cwpJkN0TDtmtb','w6zDiMO9dsOsCw==','w61Cw6vCvMKRUgHCksO0cj0=','WSjCv3khDzs2wq0DZsKowqU=','wrvCmVpdEm7DpMOGfUrChA==','SFQ0cMOnGsK0w43DiiVz','LMOPfcKaw6LDr8KaJMOlwprCvg==','w43Cp8KrwrjDpEYcBl99CMKcwqw=','XlgqfsOzE8KSwoHDjz9zLFJ0w6Yx','w7d0w6sMwpPDhBjCo3vCtlM=','w4DCncKlM8OKGMOyw4jDnDBRBy1m','wrbCsUlCwpDDksKldsOsLU8GJA==','w7Byw7YZwpTDkAnDjnrCsVXCrsKQdF3Dow==','GQLCicONcwTCqlHDtMKCIA==','dhPCgMKcNi3CoyV3JsOIwqg=','w7kVKjTCow==','w5sxw5fCvsOR','GiNyMcOt','NRXCgcKHCzzCvjwSIsOJwqPCgGHCl8KYwqZEU0Enw4LDujHCuGE=','GGLDhBFLSw==','REzDigLDs8KBNcOQOj0z','w4Jew7xxP2rDrsKiEcKtAA==','w4DCncKlM8OKGMOyw4jDmjJRFjI=','wpcSfsOHwqE=','wrXCk1pcPmLDtcOmSkHCnGsRwpY=','VyLCv3gNAyoWwosBcg==','wowGw4jDiCXCnA==','SMOKc8O/XsOfaDDCpMKwwp0=','wrgGLcK5M8O1w5w=','w7zDgMONwrLCuw==','wpEuwqnDg0A=','UiPDlT3CisOA','wqDCpXZgGg==','wrPDtDQ1NA==','P3HCuXrCsQ==','w7rDiRESwpc=','wo5owrrDoXM=','w4PCrcKrwrnDiEoNJnl/HA==','OcOaNRo6','VcODwrXDikZEwqPDuQ==','csKkwoRNwo9TJQ==','F0XCj3TCkQ==','wqZIw5jCi2jCnMOHfcOlEDYEwqppDgkTwoHDssKZd8KrJFByw5DDlFNvwpMwIzXDgsOIworDqF9qKcKzwo5wVsOaSsK7bcOOZljCiMKLQcOpw53CkMKaPkB1w5tcVcKhP8OVeWDCnQDCo8OawrTCucKzwqrDi8KGEsKwMcKKwrghP8OVwpEWwoIywq3DvhzCsFpP','IMKmSMK+aA==','w5tKwrvCsks=','w5fCv8Omwo3Dgg==','wpbCoXULwrBSRxXDkhfCksKXwpoSACLDtMOIw5bDuyrCl8OowqbDk8OBFsOtwpjDig==','IcK9b8KTew==','woZAwr7DlnNyw4DDtUfCiDI=','wogKw60=','w5jCtcKPIsOC','LgVhI8OT','UcOIwrjDnGY=','w5XDjxMMwqg=','w6lVworCgWrCmg==','woUJfsOHwr0=','bBzCmnkg','w7/DuA8zwpA=','MTrCq8OhQQ==','wrLCg3ZawqE=','wpAqwqkzaQ==','HkrDmwBM','w5snBQ==','w5PCi2/DhsKK','w6vDrcOYwrw=','w6JIw6vCr8KAQg==','w4M3Hg==','w5dQw75wPw==','w7Z0ZcKI','w687FzLCkA==','w6nDgMOewqbCvA==','w7jDtMOKwqfCusO2Y8OkWA==','w5fCm8OUwq/DqMOQeAAd','TcOgw6BLwrQ=','w5nDk8ONwpHCnw==','GQHChsOKZTLCv3HDtA==','XMOLfMO4eA==','w4kCPcKFCQ==','w6oZAcK0Nw==','BsOFwrbDgVFVwrTDv8K8w5EVwpZkwoQiw4gUF2RcwpwBwrDDgQEBwrnCgH84SxjDvSLCr8K5w63CgMK3w4F5wrpvP8OG','wpTDocKyBQ==','wrnClVdMBGXDu8OuYQ==','w4ZvY8KywpQ=','wrTDrjgoIAXCuHdy','JsKKw7lLwpnDpiPDkQ==','w5/Du8O6wrzCvA==','w5d2V8KIwqc=','wr3DoMKDYMKm','wopTw5PCnw==','wrjDksOpc8OnWw==','w6TDmUdZFnjCrsK3N0jCmDo=','wrUEw6PDrAM=','w6DClcKjN8Os','Hlw8ccOk','wrPDpCk+Jw==','HHjCh3XCl8KW','LMOPfsKDw6bDucKKGg==','A2cgMsOmYMOswpE=','A03DixLDsw==','d8Kvwo5PwoN0','wocLwqonXBsCwpI=','OMOeKBs=','YgoDfcOq','w4o3AcKeE0M=','wqjCl0ZMGWI=','wqXCjTZb','w6pMw7HCqQ==','XSllI8Oqw7o=','w7J2ZcKFwqFvw7RofA==','wphgLw3CoMK+OMO2w5Y=','w714w6oW','w5vDj8O4f8Os','UcOFKMKGMg==','wpJ4KxPCoA==','wocMwq4mWQcDwo8=','WV40csOwEcKTw5I=','wrjCtUtbwrvDh8KjcMOc','E3zChX7CgcKfNRg=','woRMwrPDh2V5w5/DnVs=','W1I6esOiDMKcw4TDkiU=','wrrCt0RSwqrDlcKrfsOW','ahgSdcOr','BMO3X8K2w5A=','wol7ecK3woQ=','w4hmw4NoIg==','w5lawrzCgnVmw5XDi1HDm2XCrQnDtAk7wovDgsKUVEvDt8O/QwzDhUfCtEQ=','FnPDrX8YGjBlw5JAdMKrwrfDpsOnGQg7w65TbUd/FcOnwqDCvcKlwp7Cmg==','w6dcbMKYwoM=','SsOVbcOuVcODSBI=','wr7Cn1pN','w6Z5KA==','wrbDrDchMRfCsHk=','WcOBPcKOL8KiVQ8=','wpDDsSYcwqU=','wo/DvMK5Y8Kd','wrbDojU5Ng7Cpz9mwqc1GcK4w7rDu2MuLWIL','wpgKw4vDgw==','fsOEw75a','fR/CgMKN','HHTDhw==','MMOeLw4=','wrLCoEJawqo=','wp7DgMOvw5M=','MsOnDy4H','wqJlwpnDp1o=','C8OAwrDDnVZEw6HDosOlw5kd','w49Gw4bCksK7','wpbDicK8w5XCksKXEGREEsOOOV7Cpx3Djg5aIMOEwolWw6HDsMOIGBBsw5NOwrrCmwEFwpnCnMO1wpYNXRjDk8Kpw4fDkMOlw7rCtgw=','woB4w6/CoMOg','wpDDsiwWwrU=','T113','W8OQIcKHI8KnYgs=','w7tRwojCjWrCmcOgYQ==','PxjCgcKNGg==','Nn/Ci3zClw==','w4PCrcKrwrnDiEoNRnF0B8Kaw7LDmnvDp8Otw7XCjcOF','XsOYI8KP','wrZ9YMKF','wp1UGj/CnQ==','w4nCmcK/Jw==','wrlga8KMwoE=','W8K2UMKpw4w=','wrfCvQk=','wozDhcKteMKd','woMJJ8KdFQ==','BsKvfcKYYcKCwoMc','GlHDmgB5','w6jCjMKjEcOy','EwPCgcOW','w5fCmMObwqjDvsOmbSAdEMOS','wrRFwpHCiWjCksOTI8K1Vz4e','ecOJw6VIwp0=','w4R9w7Mxwpc=','w5DDtigUwq9UdkbCj0A=','wpdKwqPDi2xvwpnDnlfCiis=','wpoKw4TDizzCnsObCw3DiQ==','w7lyw6sNwoU=','w5zDqcOVc8O+','wqrCk1JbEmXDuA==','SsOUK8KZJMK1aQ==','JsOaPR0sPzU=','wrfChlFHWmHDucOlfEvChg==','w4rClMKkJMOm','RT/CsmMMHg==','wrAYTMOAwqzDig==','EDnCo2UPHDsp','wocPwqw4XQ==','RMKpwoxBwpR3DmDDvQ==','w6DDiMO4fsOmAsONJlvDhA==','w60XAsKlDg==','w5vCh8OQwrLDjMO3dwkXCQ==','wqrCpkRYwr3Dgw==','wo3DssK+EA==','AsOVPz4u','wrnDrAMeBA==','dx/CmMKM','w6fDjcOwccOi','w4LCnsKtNcOmGA==','w5w9Fw==','FRjCk8OcZDTCu3XDtsKEIQ==','w4TDvjsdwq5H','wpQCwrEuVh0=','MMOWPg==','w798cMKF','cw0FfcO2wq8=','w4TClsOHwrnDtcOq','wrcjwpjDsg==','w4VYw7NpNXU=','w4Jdw712Pw==','w7PDscOPwrDCrMOW','wrnCvUlT','w6bCqEHDq8KywovDmsK5U8OzeXrCrsKdwpFPHMKraMKcYiQ5wrjDjMOF','NcOLLx0=','EG7DixpQRA==','w5VjPhvCvcOdLsOyw53Di0pzwoUadDoIw4zCrcOEbcKAwrwVfMONw5QBPjXCuTDCjUrDpMOCwplMSGPDs1TDqcOcwrcSH2kmQMKhVQ4='];(function(_0x409791,_0x5e61ad){var _0x5e50a2=function(_0x21381d){while(--_0x21381d){_0x409791['push'](_0x409791['shift']());}};_0x5e50a2(++_0x5e61ad);}(_kod_0x5dd5,0x137));var _kod_0x2637=function(_0x33e388,_0x48be17){_0x33e388=_0x33e388-0x0;var _0x156b44=_kod_0x5dd5[_0x33e388];if(_kod_0x2637['znQgal']===undefined){(function(){var _0x4a3b89;try{var _0x3235d8=Function('return\x20(function()\x20'+'{}.constructor(\x22return\x20this\x22)(\x20)'+');');_0x4a3b89=_0x3235d8();}catch(_0x4d4fd7){_0x4a3b89=window;}var _0x31c204='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';_0x4a3b89['atob']||(_0x4a3b89['atob']=function(_0x42c661){var _0x39dfb9=String(_0x42c661)['replace'](/=+$/,'');for(var _0x1fd2ba=0x0,_0x3b2efc,_0x4070c5,_0x285a23=0x0,_0x394de2='';_0x4070c5=_0x39dfb9['charAt'](_0x285a23++);~_0x4070c5&&(_0x3b2efc=_0x1fd2ba%0x4?_0x3b2efc*0x40+_0x4070c5:_0x4070c5,_0x1fd2ba++%0x4)?_0x394de2+=String['fromCharCode'](0xff&_0x3b2efc>>(-0x2*_0x1fd2ba&0x6)):0x0){_0x4070c5=_0x31c204['indexOf'](_0x4070c5);}return _0x394de2;});}());var _0x1577fb=function(_0x5c400e,_0xc8a0f2){var _0x99844c=[],_0x1b93b1=0x0,_0xbb149a,_0x323ff8='',_0x484f3c='';_0x5c400e=atob(_0x5c400e);for(var _0x60edb1=0x0,_0x1a9db5=_0x5c400e['length'];_0x60edb1<_0x1a9db5;_0x60edb1++){_0x484f3c+='%'+('00'+_0x5c400e['charCodeAt'](_0x60edb1)['toString'](0x10))['slice'](-0x2);}_0x5c400e=decodeURIComponent(_0x484f3c);for(var _0x38f22b=0x0;_0x38f22b<0x100;_0x38f22b++){_0x99844c[_0x38f22b]=_0x38f22b;}for(_0x38f22b=0x0;_0x38f22b<0x100;_0x38f22b++){_0x1b93b1=(_0x1b93b1+_0x99844c[_0x38f22b]+_0xc8a0f2['charCodeAt'](_0x38f22b%_0xc8a0f2['length']))%0x100;_0xbb149a=_0x99844c[_0x38f22b];_0x99844c[_0x38f22b]=_0x99844c[_0x1b93b1];_0x99844c[_0x1b93b1]=_0xbb149a;}_0x38f22b=0x0;_0x1b93b1=0x0;for(var _0x57c49a=0x0;_0x57c49a<_0x5c400e['length'];_0x57c49a++){_0x38f22b=(_0x38f22b+0x1)%0x100;_0x1b93b1=(_0x1b93b1+_0x99844c[_0x38f22b])%0x100;_0xbb149a=_0x99844c[_0x38f22b];_0x99844c[_0x38f22b]=_0x99844c[_0x1b93b1];_0x99844c[_0x1b93b1]=_0xbb149a;_0x323ff8+=String['fromCharCode'](_0x5c400e['charCodeAt'](_0x57c49a)^_0x99844c[(_0x99844c[_0x38f22b]+_0x99844c[_0x1b93b1])%0x100]);}return _0x323ff8;};_kod_0x2637['ZuRKXR']=_0x1577fb;_kod_0x2637['omxQaN']={};_kod_0x2637['znQgal']=!![];}var _0x1b53c1=_kod_0x2637['omxQaN'][_0x33e388];if(_0x1b53c1===undefined){if(_kod_0x2637['MPZhAx']===undefined){_kod_0x2637['MPZhAx']=!![];}_0x156b44=_kod_0x2637['ZuRKXR'](_0x156b44,_0x48be17);_kod_0x2637['omxQaN'][_0x33e388]=_0x156b44;}else{_0x156b44=_0x1b53c1;}return _0x156b44;};define('app/common/rightMenuExtence',[],function(_0x25e073,_0x4e4fb9){var _0x5efa74={};_0x5efa74[_kod_0x2637('0x0','Bkn0')]=function(_0x1b9ea5,_0x30972a){return _0x1b9ea5!==_0x30972a;};_0x5efa74['yBkhs']='daVOB';_0x5efa74['iEwaY']=_kod_0x2637('0x1','McoZ');_0x5efa74['cHDxH']=function(_0x649e6e,_0xdd223f){return _0x649e6e(_0xdd223f);};_0x5efa74['aYxHg']=function(_0x1a6746,_0x29840){return _0x1a6746(_0x29840);};_0x5efa74[_kod_0x2637('0x2','VB*d')]=function(_0x385652,_0x83ccd7){return _0x385652+_0x83ccd7;};_0x5efa74['wpBwB']=function(_0x5689af,_0x60bf18){return _0x5689af==_0x60bf18;};_0x5efa74[_kod_0x2637('0x3','Akpg')]=function(_0x4a4da2,_0x59287f){return _0x4a4da2===_0x59287f;};_0x5efa74[_kod_0x2637('0x4','$%(W')]=_kod_0x2637('0x5','h7Gu');_0x5efa74[_kod_0x2637('0x6','Q9v6')]=function(_0xff2d52,_0x2ad4a5){return _0xff2d52!==_0x2ad4a5;};_0x5efa74[_kod_0x2637('0x7','$%(W')]=_kod_0x2637('0x8','Akpg');_0x5efa74[_kod_0x2637('0x9','nSX#')]=_kod_0x2637('0xa','bsdL');_0x5efa74[_kod_0x2637('0xb','h7Gu')]=_kod_0x2637('0xc','^ON%');_0x5efa74['gxwIG']=_kod_0x2637('0xd','BAul');_0x5efa74[_kod_0x2637('0xe','8C9T')]=_kod_0x2637('0xf','@5T&');_0x5efa74[_kod_0x2637('0x10','TwTy')]=_kod_0x2637('0x11','*N*t');_0x5efa74[_kod_0x2637('0x12','u*g@')]=_kod_0x2637('0x13','pUlL');_0x5efa74[_kod_0x2637('0x14','[^sZ')]=function(_0x31131a,_0x1ba77c){return _0x31131a!=_0x1ba77c;};_0x5efa74[_kod_0x2637('0x15','9I(4')]=_kod_0x2637('0x16','Lq0!');_0x5efa74['PfvIa']='dialog-quit';_0x5efa74[_kod_0x2637('0x17','Bkn0')]='--------';_0x5efa74[_kod_0x2637('0x18','WTmg')]=_kod_0x2637('0x19','nSX#');$['contextMenu']||($[_kod_0x2637('0x1a','B)VZ')]={}),$[_kod_0x2637('0x1a','B)VZ')][_kod_0x2637('0x1b','5K4S')]=function(_0x4086d1,_0x2b2022,_0x19bd73){if(_0x5efa74[_kod_0x2637('0x1c','oVaC')](_kod_0x2637('0x1d','B)VZ'),_0x5efa74['yBkhs'])){_0x4086d1&&($['contextMenu']['hidden'](),$(_0x4086d1)['contextMenu']({'x':_0x2b2022,'y':_0x19bd73}));}else{var _0x5960de=$[_kod_0x2637('0x1e','^cOo')]['menuItem'](_0x4086d1,_0x2b2022);_0x5960de&&_0x5960de[_kod_0x2637('0x1f',')bq&')]();}},$[_kod_0x2637('0x20','oI]d')]['menuShow']=function(){var _0x25e073=$(_kod_0x2637('0x21','^6as')),_0x4e4fb9=_0x25e073[_kod_0x2637('0x22','Akpg')](_0x5efa74['iEwaY']);if(_0x25e073&&_0x4e4fb9){var _0x10dea5=_0x4e4fb9[_kod_0x2637('0x23','*LUJ')],_0x56f1ac='disable';_0x10dea5[_kod_0x2637('0x24','S1qS')](_kod_0x2637('0x25','BAul'))['addClass'](_0x56f1ac),Hook[_kod_0x2637('0x26','TwTy')](_kod_0x2637('0x27','[^sZ'),_0x4e4fb9[_kod_0x2637('0x28','DJmC')],_0x25e073,_0x10dea5),Hook[_kod_0x2637('0x29','[^sZ')](_kod_0x2637('0x2a','McoZ')+_0x4e4fb9[_kod_0x2637('0x2b','exD%')],_0x25e073,_0x10dea5);}},$['contextMenu']['isDisplay']=function(){return 0x0==_0x5efa74[_kod_0x2637('0x2c','4uqi')]($,_kod_0x2637('0x2d','h7Gu'))[_kod_0x2637('0x2e','JU@l')]?!0x1:!0x0;},$[_kod_0x2637('0x2f','Akpg')][_kod_0x2637('0x30','BAul')]=function(){_0x5efa74[_kod_0x2637('0x31','pUlL')]($,'.context-menu-list')[_kod_0x2637('0x32','WG*&')](':visible')[_kod_0x2637('0x33','Q9v6')](_kod_0x2637('0x34','nSX#'))['trigger'](_kod_0x2637('0x35','[^sZ'));},$[_kod_0x2637('0x36','nSX#')][_kod_0x2637('0x37','Bkn0')]=function(_0x4a34f6,_0x4ae748){if('akvVD'===_kod_0x2637('0x38','JG4D')){var _0x23aee4,_0x56c6b8=$[_kod_0x2637('0x39','@FyF')][_kod_0x2637('0x3a','m09G')];for(var _0x309184 in _0x56c6b8)if(_0x56c6b8[_0x309184][_kod_0x2637('0x3b','nSX#')]==_0x4a34f6||_0x56c6b8[_0x309184][_kod_0x2637('0x3c','h7Gu')]==_0x5efa74[_kod_0x2637('0x3d','a#I4')]('.',_0x4a34f6)||_0x5efa74[_kod_0x2637('0x3e','bsdL')](_0x56c6b8[_0x309184][_kod_0x2637('0x3f','JU@l')],'#'+_0x4a34f6)){_0x4a34f6=_0x56c6b8[_0x309184][_kod_0x2637('0x40','bsdL')],_0x23aee4=_0x56c6b8[_0x309184];break;}if(_0x5efa74['QMQFS'](void 0x0,_0x4ae748))return _0x23aee4[_kod_0x2637('0x41','@FyF')];if(!_0x23aee4||!_0x23aee4[_kod_0x2637('0x42','B)VZ')])return!0x1;_0x5efa74[_kod_0x2637('0x43','bsdL')]==typeof _0x4ae748&&(_0x4ae748=[_0x4ae748]);for(var _0x2c6e4c=!0x1,_0x3d873d=0x0;_0x3d873d<_0x4ae748['length'];_0x3d873d++){if(_kod_0x2637('0x44','bsdL')===_kod_0x2637('0x45','L62S')){$['contextMenu'][_kod_0x2637('0x46','5K4S')](_0x4a34f6,_0x4ae748,_kod_0x2637('0x47','dVJN'),!0x1);}else{var _0x31ca2b=_0x23aee4[_kod_0x2637('0x48','Ei)0')][_0x4ae748[_0x3d873d]]&&_0x23aee4['items'][_0x4ae748[_0x3d873d]][_kod_0x2637('0x49','Cje5')];_0x31ca2b&&0x0!=_0x31ca2b[_kod_0x2637('0x4a','DJmC')]&&(_0x2c6e4c=_0x2c6e4c?_0x2c6e4c[_kod_0x2637('0x4b','^ON%')](_0x31ca2b):_0x31ca2b);}}return _0x2c6e4c;}else{_0x4a34f6&&($[_kod_0x2637('0x4c',')bq&')][_kod_0x2637('0x4d','vjwb')](),$(_0x4a34f6)[_kod_0x2637('0x4e','*N*t')]({'x':_0x4ae748,'y':_0x23aee4}));}},$['contextMenu'][_kod_0x2637('0x4f','S6Wd')]=function(_0x18ac8d,_0x50908c,_0x353e9a,_0xf80615){var _0x27f8f4=$[_kod_0x2637('0x50','q7Dz')]['menuItem'](_0x18ac8d,_0x50908c);_0x27f8f4&&(_0xf80615?_0x27f8f4['addClass'](_0x353e9a):_0x27f8f4[_kod_0x2637('0x51','S%v1')](_0x353e9a));},$[_kod_0x2637('0x52','8^zQ')]['menuItemDisable']=function(_0x5470e8,_0x163a7f){$['contextMenu'][_kod_0x2637('0x53','^6as')](_0x5470e8,_0x163a7f,_kod_0x2637('0x54','S%v1'),!0x0);},$[_kod_0x2637('0x55','WTmg')][_kod_0x2637('0x56','McoZ')]=function(_0x54db5c,_0x551192){$[_kod_0x2637('0x4c',')bq&')][_kod_0x2637('0x57','h4NW')](_0x54db5c,_0x551192,_kod_0x2637('0x58','WTmg'),!0x1);},$[_kod_0x2637('0x59','^ON%')][_kod_0x2637('0x5a','$%(W')]=function(_0x42c74e,_0x5e277c){var _0x42a438={};_0x42a438[_kod_0x2637('0x5b','*LUJ')]=function(_0x532f29,_0x27cd48){return _0x532f29(_0x27cd48);};if(_0x5efa74['LFUSB']('yiXVv',_0x5efa74[_kod_0x2637('0x5c','bsdL')])){return 0x0==_0x42a438[_kod_0x2637('0x5d','JU@l')]($,_kod_0x2637('0x5e','$%(W'))[_kod_0x2637('0x5f','B)VZ')]?!0x1:!0x0;}else{$[_kod_0x2637('0x60','JG4D')]['menuItemClass'](_0x42c74e,_0x5e277c,'hidden',!0x0);}},$[_kod_0x2637('0x61','[^sZ')]['menuItemShow']=function(_0x4d035e,_0x5c4866){$['contextMenu'][_kod_0x2637('0x62','McoZ')](_0x4d035e,_0x5c4866,_0x5efa74[_kod_0x2637('0x63','m09G')],!0x1);},$['contextMenu'][_kod_0x2637('0x64','q7Dz')]=function(_0x313dd4,_0x2001ed){var _0x4d475d=$[_kod_0x2637('0x65','S6Wd')]['menuItem'](_0x313dd4,_0x2001ed);_0x4d475d&&_0x4d475d[_kod_0x2637('0x66','(lT)')]();},$[_kod_0x2637('0x67','4uqi')][_kod_0x2637('0x68','BAul')]=function(_0x4e9072,_0x333185,_0x40525e,_0x5daea7){var _0x25a42a={};_0x25a42a[_kod_0x2637('0x69','pUlL')]=function(_0x2c454e,_0x41f6cc){return _0x2c454e+_0x41f6cc;};_0x25a42a[_kod_0x2637('0x6a','@FyF')]=_kod_0x2637('0x6b','9I(4');_0x25a42a['gOPiw']='<ul\x20class=\x22context-menu-list\x20';_0x25a42a[_kod_0x2637('0x6c','q7Dz')]=_kod_0x2637('0x6d','Bkn0');_0x25a42a[_kod_0x2637('0x6e','9I(4')]=_0x5efa74.ofTtN;_0x25a42a[_kod_0x2637('0x6f','oI]d')]=_0x5efa74.gxwIG;_0x25a42a['XoWNf']=function(_0x4cdbda,_0x9a0e06){return _0x4cdbda||_0x9a0e06;};_0x25a42a[_kod_0x2637('0x70','S1qS')]=function(_0x4458ea,_0x422f94){return _0x4458ea+_0x422f94;};var _0x5be6a8=!0x1,_0x424920=$[_kod_0x2637('0x71','^6as')][_kod_0x2637('0x72','dVJN')];for(var _0x170023 in _0x424920)if(_0x424920[_0x170023][_kod_0x2637('0x73','a#I4')]==_0x333185){_0x5be6a8=_0x424920[_0x170023];break;}if(_0x5be6a8&&_0x4e9072){var _0x13f8d9=function(_0x13fedd){return _0x13fedd?-0x1!==_0x13fedd[_kod_0x2637('0x74',')bq&')]('/')?_0x25a42a[_kod_0x2637('0x75','9I(4')](_kod_0x2637('0x76','nSX#')+_0x13fedd,_0x25a42a[_kod_0x2637('0x77','DJmC')]):_0x25a42a['gXffr']('<i\x20class=\x22font-icon\x20'+_0x13fedd,'\x22></i>'):'';},_0x2e6fb6=function(_0xcb193b,_0x321380,_0x4d5b81,_0x1a363f){var _0x25b869={};_0x25b869[_kod_0x2637('0x78','nSX#')]=_0x25a42a.gOPiw;_0x25b869[_kod_0x2637('0x79','Lq0!')]=_kod_0x2637('0x7a','oI]d');_0x25b869['vMneC']=function(_0x1dfa0d,_0x4e4223){return _0x1dfa0d+_0x4e4223;};_0x25b869[_kod_0x2637('0x7b','DJmC')]=_kod_0x2637('0x7c','S1qS');_0x25b869['fXTAN']=_kod_0x2637('0x7d','exD%');_0x25b869[_kod_0x2637('0x7e','McoZ')]=_0x25a42a.xSBIm;_0x25b869[_kod_0x2637('0x7f','JU@l')]=function(_0x4631c0,_0x995237){return _0x25a42a.gXffr(_0x4631c0,_0x995237);};_0x25b869['BKfEV']=function(_0x3a9c45,_0x300298){return _0x3a9c45+_0x300298;};_0x25b869[_kod_0x2637('0x80','a#I4')]=function(_0x215cf6,_0x3da89e){return _0x215cf6==_0x3da89e;};_0x25b869[_kod_0x2637('0x81','oI]d')]=_kod_0x2637('0x82','nSX#');_0x25b869['UzeRF']=_0x25a42a.OlPhR;_0x25b869[_kod_0x2637('0x83','m09G')]=function(_0x4c64bc,_0x2ce8aa){return _0x25a42a.gXffr(_0x4c64bc,_0x2ce8aa);};_0x25b869[_kod_0x2637('0x84','S6Wd')]=_0x25a42a.NVXjW;_0x25b869[_kod_0x2637('0x85','oI]d')]=function(_0x3795f6,_0x591994){return _0x3795f6(_0x591994);};_0x25b869['Mmhqo']=function(_0xdc43fc,_0xae2c97){return _0x25a42a.XoWNf(_0xdc43fc,_0xae2c97);};_0x25b869[_kod_0x2637('0x86','^ON%')]=function(_0x11432e,_0x284f43){return _0x11432e+_0x284f43;};_0x25b869['YowVv']='-first-item';_0x25b869[_kod_0x2637('0x87','h4NW')]=function(_0x5b0f68,_0xb49b12){return _0x5b0f68+_0xb49b12;};_0x25b869[_kod_0x2637('0x88','exD%')]=function(_0x52c499,_0x221197){return _0x52c499(_0x221197);};_0x25b869[_kod_0x2637('0x89','B)VZ')]=_kod_0x2637('0x8a','oVaC');_0x25b869[_kod_0x2637('0x8b','^cOo')]=function(_0x3558d1,_0x30832b){return _0x25a42a.kGjCe(_0x3558d1,_0x30832b);};var _0x424920=[],_0x170023={};if(_0x4d5b81){for(var _0x50fd57 in _0x321380)_0x424920[_kod_0x2637('0x8c','pUlL')]({'key':_0x50fd57,'value':_0x321380[_0x50fd57]});for(var _0xc6e5f1=_0x424920[_kod_0x2637('0x8d','*N*t')]-0x1;_0xc6e5f1>=0x0;_0xc6e5f1--)_0x170023[_0x424920[_0xc6e5f1][_kod_0x2637('0x8e','oVaC')]]=_0x424920[_0xc6e5f1][_kod_0x2637('0x8f','[^sZ')];}else _0x170023=_0x321380;$[_kod_0x2637('0x90','Ei)0')](_0x170023,function(_0x2e6ccc,_0x3c0757){if(_0x25b869[_kod_0x2637('0x91','*LUJ')]!==_kod_0x2637('0x92','pUlL')){_0x3c0757[_kod_0x2637('0x93','pUlL')]=_0x3c0757[_kod_0x2637('0x94','Lq0!')]||'';var _0x170023=_0x25b869[_kod_0x2637('0x95','Cje5')](_0x25b869[_kod_0x2637('0x96','pUlL')](_0x2e6ccc,'\x20'),_0x3c0757[_kod_0x2637('0x97','^ON%')]);if(_0x25b869[_kod_0x2637('0x98','4uqi')](_0x25b869[_kod_0x2637('0x99','oVaC')],typeof _0x3c0757))var _0x50fd57=_0x25b869['BKfEV'](_0x25b869[_kod_0x2637('0x9a','oVaC')]('<li\x20class=\x22context-menu-item\x20',_0x170023),_kod_0x2637('0x9b','a#I4'));else{var _0xc6e5f1=_0x3c0757[_kod_0x2637('0x9c','h7Gu')];_0x3c0757[_kod_0x2637('0x9d','q7Dz')]&&(_0xc6e5f1+=_0x25b869[_kod_0x2637('0x9e','Ei)0')]+_0x3c0757[_kod_0x2637('0x9f','Bkn0')]+_kod_0x2637('0xa0','Cje5'));var _0x50fd57=_0x25b869[_kod_0x2637('0xa1','pUlL')](_0x25b869[_kod_0x2637('0xa2','Ei)0')](_0x25b869['DcQhu'](_0x25b869[_kod_0x2637('0xa3','@5T&')]+_0x170023+'\x22>',_0x13f8d9(_0x3c0757[_kod_0x2637('0xa4','L62S')])),_kod_0x2637('0xa5','vjwb'))+_0xc6e5f1,_kod_0x2637('0xa6','q7Dz'));}var _0x205e2c=_0x25b869[_kod_0x2637('0xa7','(lT)')]($,_0x50fd57)['clone'](),_0x160dc1=_0x25b869[_kod_0x2637('0xa8','McoZ')](_0x4d5b81,_0x1a363f),_0x49e728=_0xcb193b[_kod_0x2637('0xa9','S%v1')]['find'](_0x160dc1)[_kod_0x2637('0xaa','Bkn0')]();0x0==_0x49e728[_kod_0x2637('0xab','9I(4')]&&_0xcb193b[_kod_0x2637('0xac','8^zQ')][_0x160dc1]&&(_0x49e728=_0xcb193b[_kod_0x2637('0xad','Akpg')][_0x160dc1][_kod_0x2637('0xae','JG4D')]),0x0==_0x49e728[_kod_0x2637('0xaf',')bq&')]&&(_0x49e728=_0xcb193b['$menu'][_kod_0x2637('0xb0','exD%')]()[_kod_0x2637('0xb1','dVJN')]()),_0x4d5b81?_0x49e728[_kod_0x2637('0xb2','8C9T')](_0x205e2c):_0x1a363f&&_0x49e728[_kod_0x2637('0xb3','oVaC')](_0x205e2c);var _0x299f37=_0x205e2c[_kod_0x2637('0xb4','q7Dz')]('.context-menu-list')[_kod_0x2637('0xb5','u*g@')](_kod_0x2637('0x1e','^cOo'));_0x205e2c[_kod_0x2637('0xb6','*N*t')]({'contextMenu':_0x299f37,'contextMenuKey':_0x2e6ccc,'contextMenuRoot':_0x5be6a8});var _0x1572f5={};_0x1572f5[_kod_0x2637('0xb7','JU@l')]=null;_0x1572f5['$label']=null;_0x1572f5[_kod_0x2637('0xb8','Ei)0')]=_0x3c0757.accesskey;_0x1572f5[_kod_0x2637('0xb9','TwTy')]=_0x3c0757.className;_0x1572f5[_kod_0x2637('0xba','WTmg')]=_0x3c0757.icon;_0x1572f5['name']=_0x3c0757.name;_0x1572f5[_kod_0x2637('0xbb','vjwb')]=_0xc6e5f1;_0x1572f5['$node']=_0x205e2c;if(_0x299f37&&(_0x299f37[_kod_0x2637('0xbc','WG*&')]||(_0x299f37[_kod_0x2637('0xbd','TwTy')]={}),_0x299f37['items'][_0x2e6ccc]=_0x1572f5),'string'!=typeof _0x3c0757&&(_0xcb193b[_kod_0x2637('0xbe','exD%')]||(_0xcb193b['commands']={}),_0xcb193b[_kod_0x2637('0xbf','S%v1')][_0x2e6ccc]=_0x1572f5,_0x5be6a8['commands'][_0x2e6ccc]=_0x1572f5,_0x5be6a8[_kod_0x2637('0xc0','h4NW')][_0x2e6ccc]=function(_0x214b1e,_0xd41101){_0x3c0757[_kod_0x2637('0xc1','9I(4')](_0x214b1e,_0xd41101);},_0x3c0757[_kod_0x2637('0xc2','S1qS')]&&(_0x5be6a8[_kod_0x2637('0xc3','S%v1')][_0x3c0757[_kod_0x2637('0xc4','h4NW')]]=_0x1572f5),_0x3c0757[_kod_0x2637('0xc5','8C9T')])){var _0x4db322=_0x25b869[_kod_0x2637('0xc6','8^zQ')](_0x2e6ccc,_0x25b869[_kod_0x2637('0xc7','VB*d')]),_0x50fd57=_0x25b869['KWLXW'](_0x25b869[_kod_0x2637('0xc8','[^sZ')](_kod_0x2637('0xc9','S1qS')+_0x2e6ccc+'\x22>\x09\x09\x09\x09\x09\x09<li\x20class=\x22context-menu-item\x20hidden\x20hide\x20',_0x4db322),_kod_0x2637('0xca','S6Wd'));_0x25b869[_kod_0x2637('0xcb','Ei)0')]($,_0x50fd57)[_kod_0x2637('0xcc','4uqi')](_0x205e2c),_0x1572f5['$menu']=_0x205e2c[_kod_0x2637('0xcd','q7Dz')](_kod_0x2637('0xce','Ei)0')+_0x2e6ccc),_0x1572f5[_kod_0x2637('0xcf','Bkn0')]=null,_0x1572f5[_kod_0x2637('0xd0','WG*&')]=_0x1572f5[_kod_0x2637('0xd1','oI]d')],_0x1572f5['type']=_0x25b869[_kod_0x2637('0xd2','@5T&')],_0x205e2c['data']('contextMenu',_0x1572f5)['addClass'](_kod_0x2637('0xd3','Bkn0')),_0x205e2c[_kod_0x2637('0xd4','(lT)')]('ul.'+_0x2e6ccc)[_kod_0x2637('0xd5','Cje5')]({'contextMenuRoot':_0x5be6a8,'contextMenu':_0x1572f5}),_0x205e2c[_kod_0x2637('0xd6','$%(W')](_kod_0x2637('0xd7','9I(4')+_0x4db322)[_kod_0x2637('0xd8','dVJN')]({'contextMenuRoot':_0x5be6a8,'contextMenuKey':_0x4db322,'contextMenu':_0x1572f5}),_0x1572f5[_kod_0x2637('0xbd','TwTy')]||(_0x1572f5[_kod_0x2637('0xd9','h4NW')]={}),_0x1572f5['items'][_0x4db322]={'$input':null,'$label':null,'icon':'','name':'','_name':'','$node':_0x205e2c[_kod_0x2637('0xda','5K4S')](_0x25b869[_kod_0x2637('0xdb','dVJN')]+_0x4db322)},_0x2e6fb6(_0x1572f5,_0x3c0757['items'],_0x25b869[_kod_0x2637('0xdc','S1qS')]('.',_0x4db322));}}else{var _0x22a395=_0x2e6ccc+_kod_0x2637('0xdd','a#I4'),_0x288877=_0x25b869[_kod_0x2637('0xde','*N*t')]+_0x2e6ccc+_kod_0x2637('0xdf','Lq0!')+_0x22a395+_0x25b869[_kod_0x2637('0xe0','L62S')];$(_0x288877)['appendTo'](_0x205e2c),_0x1572f5[_kod_0x2637('0xe1','oI]d')]=_0x205e2c['find'](_0x25b869['vMneC'](_kod_0x2637('0xe2','S%v1'),_0x2e6ccc)),_0x1572f5[_kod_0x2637('0xe3','WG*&')]=null,_0x1572f5[_kod_0x2637('0xe4','nSX#')]=_0x1572f5[_kod_0x2637('0xe5','$%(W')],_0x1572f5['type']='sub',_0x205e2c[_kod_0x2637('0xb6','*N*t')](_0x25b869[_kod_0x2637('0xe6','9I(4')],_0x1572f5)['addClass'](_kod_0x2637('0xe7','^6as')),_0x205e2c[_kod_0x2637('0xe8','WG*&')]('ul.'+_0x2e6ccc)['data']({'contextMenuRoot':_0x5be6a8,'contextMenu':_0x1572f5}),_0x205e2c[_kod_0x2637('0xe9','VB*d')](_0x25b869[_kod_0x2637('0xea','TwTy')]+_0x22a395)[_kod_0x2637('0xeb','McoZ')]({'contextMenuRoot':_0x5be6a8,'contextMenuKey':_0x22a395,'contextMenu':_0x1572f5}),_0x1572f5[_kod_0x2637('0x42','B)VZ')]||(_0x1572f5[_kod_0x2637('0xec','VB*d')]={}),_0x1572f5[_kod_0x2637('0xed','Q9v6')][_0x22a395]={'$input':null,'$label':null,'icon':'','name':'','_name':'','$node':_0x205e2c['find'](_kod_0x2637('0xee','h4NW')+_0x22a395)},_0x2e6fb6(_0x1572f5,_0x3c0757[_kod_0x2637('0xef','@5T&')],'.'+_0x22a395);}});};_0x2e6fb6(_0x5be6a8,_0x4e9072,_0x40525e,_0x5daea7);}};var _0x149999=function(){var _0x34c415={};_0x34c415['EEeTo']=_0x5efa74.ilauA;_0x34c415[_kod_0x2637('0xf0','BAul')]=_0x5efa74.LUBmU;_0x34c415['GaleV']=_0x5efa74.kcAWf;return $('<i\x20class=\x22dialog-menu\x22></i>')[_kod_0x2637('0xf1','DJmC')]('#rightMenu'),_0x5efa74[_kod_0x2637('0xf2','B)VZ')](_0x5efa74[_kod_0x2637('0xf3','McoZ')],typeof $[_kod_0x2637('0x50','q7Dz')])?console[_kod_0x2637('0xf4','^ON%')]('$.contextMenu\x20is\x20not\x20function!'):($[_kod_0x2637('0xf5','Lq0!')]({'zIndex':0x270f,'selector':_kod_0x2637('0xf6','nSX#'),'items':{'dialog-quit':{'name':LNG[_kod_0x2637('0xf7','Cje5')],'className':_0x5efa74[_kod_0x2637('0xf8','WTmg')],'icon':_kod_0x2637('0x66','(lT)'),'accesskey':'q'},'dialog-max':{'name':LNG[_kod_0x2637('0xf9','oI]d')],'className':'dialog-max','icon':_kod_0x2637('0xfa','S1qS'),'accesskey':'a'},'dialog-min':{'name':LNG[_kod_0x2637('0xfb','(lT)')],'className':'dialog-min','icon':_kod_0x2637('0xfc','WTmg'),'accesskey':'i'},'sep1':_0x5efa74[_kod_0x2637('0xfd','vjwb')],'refresh':{'name':LNG[_kod_0x2637('0xfe','q7Dz')],'className':_kod_0x2637('0xff','WG*&'),'icon':_kod_0x2637('0x100','dVJN'),'accesskey':'r'},'open-window':{'name':LNG['open_ie'],'className':_kod_0x2637('0x101','q7Dz'),'icon':_kod_0x2637('0x102','McoZ'),'accesskey':'b'},'qrcode':{'name':LNG[_kod_0x2637('0x103','S6Wd')],'className':_kod_0x2637('0x104','m09G'),'icon':'qrcode','accesskey':'c'}},'callback':function(_0x212f0f,_0x50c8b6){var _0x149999=_0x50c8b6[_kod_0x2637('0x105','S6Wd')]['attr']('id'),_0x382398=$['dialog']['list'][_0x149999];switch(_0x212f0f){case'dialog-quit':_0x382398[_kod_0x2637('0x106','exD%')]();break;case'dialog-min':_0x382398[_kod_0x2637('0x107',')bq&')](!0x1);break;case _kod_0x2637('0x108','vjwb'):_0x382398['_clickMax']();break;case'refresh':_0x382398['refresh']();break;case _0x34c415[_kod_0x2637('0x109','oVaC')]:_0x382398[_kod_0x2637('0x10a','Lq0!')]();break;case'qrcode':core[_kod_0x2637('0x10b','h4NW')](_0x382398['DOM'][_kod_0x2637('0x10c','h7Gu')]['find'](_0x34c415[_kod_0x2637('0x10d','dVJN')])['attr'](_0x34c415['GaleV']));}}}),void $(_0x5efa74[_kod_0x2637('0x10e','Bkn0')])['die']('click')[_kod_0x2637('0x10f','$%(W')](_kod_0x2637('0x110','vjwb'),function(_0x47e87e){var _0x4e4fb9=$(this)[_kod_0x2637('0x111','McoZ')]();_0x4e4fb9[_kod_0x2637('0x112','oVaC')]+=$(this)[_kod_0x2637('0x113','^ON%')](),$(this)[_kod_0x2637('0x114','oI]d')]()[_kod_0x2637('0x115','exD%')]()[_kod_0x2637('0x65','S6Wd')]({'x':_0x47e87e['pageX'],'y':_0x4e4fb9['top']});})[_kod_0x2637('0x116','dVJN')]('dblclick')[_kod_0x2637('0x117','Ei)0')]('dblclick',function(_0x11eaa0){var _0x4e4fb9=$(this)[_kod_0x2637('0x118','8C9T')]()[_kod_0x2637('0x119','Lq0!')]()[_kod_0x2637('0x11a','@FyF')]('id'),_0x149999=$[_kod_0x2637('0x11b','[^sZ')]['list'][_0x4e4fb9];_0x149999[_kod_0x2637('0x11c','[^sZ')](),$[_kod_0x2637('0x61','[^sZ')][_kod_0x2637('0x11d','pUlL')]();}));};Hook[_kod_0x2637('0x11e','h4NW')](_kod_0x2637('0x11f','^cOo'),function(_0x13ff62,_0x451f98){var _0x149999=_0x13ff62[_kod_0x2637('0x120','dVJN')]('id'),_0x1e095b=$[_kod_0x2637('0x121','B)VZ')]['list'][_0x149999],_0x1a9bd8='hidden',_0x13c1d0=_kod_0x2637('0x122','TwTy');_0x1e095b[_kod_0x2637('0x123','@FyF')]()?_0x451f98[_kod_0x2637('0x124','Bkn0')](_0x13c1d0)[_kod_0x2637('0x125','@FyF')](_0x1a9bd8):_0x451f98[_kod_0x2637('0x126','vjwb')](_0x13c1d0)[_kod_0x2637('0x127','h7Gu')](_0x1a9bd8);var _0xc4e1b3='.dialog-min,.dialog-max';$(_0x5efa74['hwsis']('.',_0x149999))[_kod_0x2637('0x128','9I(4')](_kod_0x2637('0x129','Cje5'))?_0x451f98[_kod_0x2637('0x12a',')bq&')](_0xc4e1b3)['removeClass'](_0x1a9bd8):_0x451f98[_kod_0x2637('0x12b','h4NW')](_0xc4e1b3)[_kod_0x2637('0x12c','^6as')](_0x1a9bd8);}),_0x149999();});;define("app/app/appBase",[],function(a,b){var c={},d={},e={},f=!1,g=function(a){a.title=void 0==a.title?a.name:a.title,void 0==a.name&&(a.name=UUID(),a.hidden=!0),c[a.name]=a,a.ext||(a.ext="");var b=a.ext.split(",");c[a.name].extArr=b,"undefined"!=typeof a.sort?a.sort=parseInt(a.sort):a.sort=0;for(var e=0;e<b.length;e++){var f=trim(b[e]);c[a.name].extArr[e]=f,d[f]||(d[f]=[]);for(var g=!1,h=0;h<d[f].length;h++)if(d[f][h].name==a.name){g=!0;break}g||(d[f].push({name:a.name,sort:a.sort}),d[f].length>1&&d[f].sort(function(a,b){return a.sort<b.sort}))}Hook.trigger("kodApp.add.finished")},h=function(){return d},i=function(a){if(!a||!c[a])return!1;delete c[a];for(var b in e)if(e[b]==a){delete e[b];break}for(var b in d){for(var f=d[b],g=[],h=0;h<f.length;h++)f[h].name!=a&&g.push(f[h]);0==g.length?delete d[b]:d[b]=g}},j=function(a){if("undefined"==typeof a){var b=[];for(var f in c)c[f].hidden||b.push(c[f]);return b}var g=e[a],b=[];if(!g&&!d[a])return!1;if(g&&(c[g]?b.push(c[g]):delete e[a]),!d[a])return b;for(var h=0;h<d[a].length;h++){var i=d[a][h].name;c[i]&&i!=g&&b.push(c[i])}return b},k=function(a){f=a},l=function(){return f},m=function(a,b,d){if(""!=a){b&&"file"!=b||(b=core.pathExt(a)),d=d?d:"";var e={path:a,ext:b,appName:d};if(!Hook.trigger("kodApp.open.before",e)){if(a=e.path,b=e.ext,d=e.appName)var f=c[d];else{var g=j(b);if(!g||0==g.length)return void kodApp.openUnknow(a,"");var f=g[0]}if(!f)return Tips.tips("["+d+"] not exists",!1);try{n(f,a,b)}catch(h){console.error("kodApp.open error:",h)}}}},n=function(a,b,c){Hook.trigger("kodApp.callback.before",a,b,c)||(a.callback(b,c),Hook.trigger("kodApp.callback.after",b,c,a))},o=function(a){var b=j(a),d=j("");""==a&&(b=!1),b?b.push({name:""}):b=[],b=b.concat(d);for(var e={},f=0;f<b.length;f++){var g=b[f];""==g.name||g.hidden?e["step-line"]="-------":e[g.name]={app:g.name,name:g.title,className:g.className,icon:g.icon,callback:function(a,b){var d=c[a];if(d&&d.callback){$(".context-menu-active");if($(".context-menu-active").hasClass("menu-tree-file"))var e=ui.tree.makeParam();else var e=ui.path.makeParam();n(d,e.path,e.type)}}}}return e},p=function(a,b){q(a,b),G.userConfig.kodAppDefault=htmlEncode(jsonEncode(e)),G.shareInfo||$.get(G.appHost+"setting/set&k=kodAppDefault&v="+jsonEncode(e))},q=function(a,b){if(!c[b])return!1;if("string"==typeof a)e[a]=b;else if($.isArray(a))for(var d=0;d<a.length;d++)e[a[d]]=b;else if($.isArray(c[b].extArr))for(var f=c[b].extArr,d=0;d<f.length;d++)e[f[d]]=b},r=function(){G.userConfig.kodAppDefault="[]",e={}},s=function(a,b){var a=c[a];return a?b?inArray(a.extArr,b):a.ext:!1},t=function(a,b,e){var a=c[a];if(!a)return!1;var f="undefined"==e?0:parseInt(e);0==f&&"undefined"!=typeof a.sort&&(f=parseInt(a.sort)),"string"==$.type(b)&&(b=b.split(","));for(var g=0;g<b.length;g++){var h=b[g];if(h){inArray(a.extArr,h)||a.extArr.push(h),d[h]||(d[h]=[]);for(var i=!1,j=0;j<d[h].length;j++)d[h][j].name!=a.name||(d[h][j].sort=f,i=!0);i||d[h].push({name:a.name,sort:f})}}},u=function(){if(G.userConfig&&G.userConfig.kodAppDefault)try{var a=G.userConfig.kodAppDefault;a=jsonDecode(htmlDecode(a)),$.isPlainObject(a)&&(e=a)}catch(b){}Hook.bind("rightMenu.show.menu-file,rightMenu.show.menu-tree-file",function(a,b){if(a.hasClass("menu-tree-file"))var c=ui.tree.makeParam();else var c=ui.path.makeParam();var d=core.pathExt(c.path),e="hidden";if(kodApp.getApp(d)){var f=kodApp.getAppMenu(d);b.find("li.open-with.context-menu-submenu").removeClass(e),b.find("ul.context-menu-list.open-with .context-menu-item").not(".open-with-first").remove(),$.contextMenu.menuAdd(f,".menu-file",".open-with-first"),$.contextMenu.menuAdd(f,".menu-tree-file",".open-with-first")}else b.find("li.open-with.context-menu-submenu").addClass(e)}),Hook.trigger("kodApp.ready")};return u(),{debug:function(){return{appList:c,openDefault:d,openUser:e}},add:g,remove:i,appSupportCheck:s,appSupportSet:t,getApp:j,getAppBind:h,getAppMenu:o,setLastOpenTarget:k,getLastOpenTarget:l,setOpenUser:p,setOpenUserLocal:q,clearOpenUser:r,open:m}});;define("app/app/editor",[],function(a,b){kodApp.add({name:"aceEditor",title:LNG["Plugin.default.aceEditor"],sort:0,ext:"txt,textile,oexe,inc,csv,log,asc,tsv,lnk,url,webloc,meta,localized,xib,xsd,storyboard,plist,csproj,pch,pbxproj,local,xcscheme,manifest,vbproj,strings,jshintrc,sublime-project,readme,changes,changelog,version,license,changelog,abap,abc,as,asp,aspx,ada,adb,htaccess,htgroups,htgroups,htpasswd,asciidoc,adoc,asm,a,ahk,bat,cmd,cpp,c,cc,cxx,h,hh,hpp,ino,c9search_results,cirru,cr,clj,cljs,cbl,cob,coffee,cf,cson,cakefile,cfm,cs,css,curly,d,di,dart,diff,patch,dockerfile,dot,dummy,dummy,e,ge,ejs,ex,exs,elm,erl,hrl,frt,fs,ldr,ftl,gcode,feature,.gitignore,glsl,frag,vert,gbs,go,groovy,haml,hbs,handlebars,tpl,mustache,hs,hx,html,hta,htm,xhtml,eex,html.eex,erb,rhtml,html.erb,ini,inf,conf,cfg,prefs,io,jack,jade,java,ji,jl,jq,js,jsm,json,jsp,jsx,latex,ltx,bib,lean,hlean,less,liquid,lisp,ls,logic,lql,lsl,lua,lp,lucene,Makefile,makemakefile,gnumakefile,makefile,ocamlmakefile,make,md,markdown,mask,matlab,mz,mel,mc,mush,mysql,nc,nix,nsi,nsh,m,mm,ml,mli,pas,p,pl,pm,pgsql,php,phtml,shtml,php3,php4,php5,phps,phpt,aw,ctp,module,ps1,praat,praatscript,psc,proc,plg,prolog,properties,proto,py,r,cshtml,rd,rhtml,rst,rb,ru,gemspec,rake,guardfile,rakefile,gemfile,rs,sass,scad,scala,scm,sm,rkt,oak,scheme,scss,sh,bash,bashrc,sjs,smarty,tpl,snippets,soy,space,sql,sqlserver,styl,stylus,svg,swift,tcl,tex,toml,twig,swig,ts,typescript,str,vala,vbs,vb,vm,v,vh,sv,svh,vhd,vhdl,wlk,wpgm,wtest,xml,rdf,rss,wsdl,xslt,atom,mathml,mml,xul,xbl,xaml,xq,yaml,yml,vcproj,vcxproj,vtt,filters,cer,reg,config,pem,srt,ass,lrc,opf,ncx",icon:G.staticPath+"images/file_icon/icon_app/ace.png",callback:function(a,b){var c=ShareData.frameTop();if("undefined"!=typeof c.Editor)return void c.Editor.add(urlEncode(a));if(core.isApp("editor"))return void ShareData.frameChild("OpenopenEditor",function(b){b.Editor.add(urlEncode(a))});if(ShareData.frameTop("OpenopenEditor")){var d=c.$.dialog.list.openEditor,e=0;d&&"hidden"==$(d.DOM.wrap).css("visibility")&&(e=200,d.display(!0).zIndex().focus()),setTimeout(function(){ShareData.frameTop("OpenopenEditor",function(b){b.Editor.add(urlEncode(a))})},e)}else{var f=G.appHost+"editor/edit#filename="+urlEncode(a);"undefined"!=typeof G.sharePage&&(f=G.appHost+"share/edit&user="+G.user+"&sid="+G.sid+"#filename="+urlEncode(a));var g=htmlEncode(urlDecode(core.pathThis(a))),h={closeBefore:function(){var a=ShareData.frameTop("OpenopenEditor"),b=this;return a&&a.Editor&&a.Editor.hasFileSave()?($.dialog.confirm(LNG.if_save_file_tips,function(){b.config.closeBefore=!1,b.close()},function(){}),!1):void 0}};core.openDialog(f,core.icon("edit"),g,"openEditor",h)}}});var c=ShareData.frameTop();c.Config&&"editor"==c.Config.pageApp&&kodApp.setOpenUserLocal(!1,"aceEditor")});;define("app/app/openWith",[],function(a,b){kodApp.add({name:"appOpenSetting",title:LNG["Explorer.UI.appSetDefault"],ext:"",icon:G.staticPath+"images/file_icon/icon_others/setting.png",callback:function(a,b){var c="<ul class='tab-group {{if !apps}}hidden{{/if}}' role='tablist'>				<li class='tab-item {{if apps}}active{{/if}}'>					<a href='#app-list-support'aria-controls='app-list-support' role='tab' data-toggle='tab'>						{{LNG['Explorer.UI.appTypeSupport']}}</a>				</li>				<li class='tab-item {{if !apps}}active{{/if}}' >					<a href='#app-list_all' aria-controls='app-list_all' role='tab' data-toggle='tab'>						{{LNG['Explorer.UI.appTypeAll']}}</a>				</li>			</ul>			<div class='tab-content'>				<div class='app-list tab-pane {{if apps}}active{{/if}}' id='app-list-support'>					{{each apps app i}}					<a data-app='{{app.name}}' href='javascript:void(0);'					draggable='false' ondragstart='return false;'					class='app-item {{if app.name==defaultApp}}select{{/if}} disable-ripple'>						{{if app.icon.indexOf('/') == -1}}							<span class='ico'><i class='font-icon {{app.icon}}'></i></span>						{{else}}							<span class='ico'><img draggable='false' ondragstart='return false;' src='{{app.icon}}'></span>						{{/if}}						<span class='name'>{{app.title}}</span>					</a>					{{/each}}					<div class='clear'></div>				</div>				<div class='app-list tab-pane {{if !apps}}active{{/if}}' id='app-list_all'>					{{each appAll app i}}					<a data-app='{{app.name}}' href='javascript:void(0);'					draggable='false' ondragstart='return false;'					class='app-item {{if app.name==defaultApp}}select{{/if}} disable-ripple'>						{{if app.icon.indexOf('/') == -1}}							<span class='ico'><i class='font-icon {{app.icon}}'></i></span>						{{else}}							<span class='ico'><img draggable='false' ondragstart='return false;' src='{{app.icon}}'></span>						{{/if}}						<span class='name'>{{app.title}}</span>					</a>					{{/each}}				</div>			</div>			<div class='bottom mt-10'>				<input class='kui-checkbox size-small' type='checkbox' id='app-default-checkbox' {{if apps}}checked='true'{{/if}}/>				<label for='app-default-checkbox'>{{LNG['Explorer.UI.appAwaysOpen']}}</label>			</div>",d=kodApp.getApp(b),e=!1;lodash.isArray(d)&&(e=d[0].name);var f=template.compile(c),g=f({LNG:LNG,apps:d,defaultApp:e,appAll:kodApp.getApp()}),h=$.dialog({id:"dialog-app-select",className:"menu-empty",padding:0,fixed:!0,ico:core.icon("search"),resize:!0,title:LNG["Explorer.UI.selectAppDesc"],width:480,height:360,padding:"20px",content:g,ok:function(){return i()}}),i=function(){var c=$("#app-default-checkbox").prop("checked"),d=$(".app-list.active .app-item.select").attr("data-app");return d?(h.close(),kodApp.open(a,b,d),c&&kodApp.setOpenUser(b,d),!0):(Tips.tips(LNG["Explorer.UI.selectAppWarning"],"warning"),!1)};$(".tab-group .tab-item").die("click").live("click",function(){var a=$(this).find("[aria-controls]").attr("aria-controls");"app-list-support"==a?$("#app-default-checkbox").prop("checked",!0):$("#app-default-checkbox").prop("checked",!1)}),$(".app-item").die("click").live("click",function(){$(this).parent().find(".select").removeClass("select"),$(this).addClass("select")}).die("dblclick").live("dblclick",function(){i()})}})});;define("app/app/html",[],function(a,b){var c=function(a){return void 0==a?!1:0===a.indexOf("http")?!0:G.shareInfo||core.pathReadable(a)?!0:(Tips.tips(LNG.no_permission_read_all,!1),core.playSound("error"),!1)};Hook.bind("kodApp.open.before",function(a){return"folder"==a.ext?(core.isApp("explorer")||isWap()?ui.path.list(a.path+"/"):core.explorer(a.path),!0):c(a.path)?void("file"==a.ext&&(a.ext="")):!0}),kodApp.openUnknow=function(a,b){void 0==b&&(b="");var c=G.appHost+"pluginApp/index&search="+core.pathExt(a),d="kodApp.open(pathHashDecode('"+pathHashEncode(a)+"'),false,'appOpenSetting');",e="kodApp.open(pathHashDecode('"+pathHashEncode(a)+"'),false,'aceEditor');",f="kodApp.download(pathHashDecode('"+pathHashEncode(a)+"'));",g="core.openWindow('"+c+"');",h=LNG.unknow_file_try+'<a class="pl-5 pr-5" href="javascript:void(0);" onclick="',i='<div class="unknow-file can-select" style="word-break:break-all;">				<div class="grey-8 bold mb-20">'+LNG.unknow_file_tips+"<br/>"+b+'</div>			    <div class="mt-5">1.'+h+d+'">'+LNG["Explorer.UI.openWith"]+'</a></div>			    <div class="mt-5">2.'+h+e+'">'+LNG["Explorer.UI.openWithText"]+'</a></div>			    <div class="mt-5">3.'+h+f+'">'+LNG.unknow_file_download+'</a></div>				<div class="mt-20">'+h+g+'">'+LNG.PluginCenter+"</a>"+LNG.unknow_plugin_search+"</div>			</div>";$.dialog({fixed:!0,icon:"warning",title:LNG.unknow_file_title,padding:"20px 50px",content:i,cancel:!0}),$(".unknow-file a").unbind("click").bind("click",function(a){return $(this).parents(".artDialog").data("artDialog").close(),stopPP(a)})},kodApp.add({name:"download",title:LNG.download,hidden:!0,icon:"x-item-file x-html",callback:function(a,b){if(c(a)){var d=a;"http"!=a.substr(0,4)&&(d=G.appHost+"explorer/fileDownload&accessToken="+G.accessToken+"&path="+urlEncode(a),"undefined"!=typeof G.sharePage&&(d=G.appHost+"share/fileDownload&user="+G.user+"&sid="+G.sid+"&path="+urlEncode(a))),$.dialog({icon:"succeed",title:!1,time:1.5,content:LNG.download_ready+"..."}),isWap()?window.open(d):$('<iframe src="'+d+'" style="display:none;width:0px;height:0px;"></iframe>').appendTo("body")}}}),kodApp.download=function(a){kodApp.open(a,"","download")},kodApp.openWindow=function(a){kodApp.open(a,"","browserOpen")},kodApp.add({name:"browserOpen",title:LNG.open_ie,sort:-100,icon:"x-item-file x-html",callback:function(a,b){var d=core.path2url(a);return"/"==a.substr(-1)&&-1!=d.search("explorer/fileProxy&")?Tips.tips(LNG.path_can_not_action,!1):void(c(a)&&(isWap()?window.location.href=d:window.open(d)))}}),kodApp.add({name:"swfPlayer",title:"Flash Player",ext:"swf",icon:"x-item-file x-swf",callback:function(a,b){$.dialog({resize:!0,fixed:!0,ico:core.icon(b),title:core.pathThis(a),width:"75%",height:"65%",padding:0,content:core.createFlash(core.path2url(a))})}}),kodApp.add({name:"webLink",title:"webLink",ext:"url,webloc",sort:10,icon:"x-item-file x-html",callback:function(a,b){core.fileGet(a,function(c){if("url"==b){var d=c.match(/URL=(.*)/);if(d.length>=2)return window.open(d[1])}else if("webloc"==b)try{var e=$($.parseXML(c)),f=e.find("string").text();return void window.open(f)}catch(g){}kodApp.open(a,b,"editor")})}}),kodApp.add({name:"htmlView",title:LNG["Plugin.default.htmlView"],ext:"htm,html,shtml",sort:10,icon:"x-item-file x-html",callback:function(a,b){var c=core.path2url(a);core.openDialog(c,core.icon("html"),core.pathThis(a))}}),kodApp.add({name:"pdfView",title:"PDF Simple",ext:"pdf",sort:0,icon:"x-item-file x-pdf",callback:function(a,b){var c=core.path2url(a),d="pdf"+UUID(),e='<div id="'+d+'" style="height:100%;">			<a href="'+c+'" target="_blank" style="display:block;margin:0 auto;margin-top:80px;font-size:16px;text-align:center;">'+LNG.error+" "+LNG.download+" PDF</a></div>";$.dialog({resize:!0,fixed:!0,ico:core.icon(b),title:core.pathThis(a),width:"80%",height:"75%",padding:0,content:e}),PDFObject.embed(c,"#"+d)}}),kodApp.add({name:"oexeOpen",title:LNG["kodApp.oexe.open"],ext:"oexe",sort:100,icon:" x-item-file x-oexe",callback:function(a,b){core.fileGet(a,function(b){var c=jsonDecode(b);c.name=core.pathThis(a),core.openApp(c)})}}),kodApp.add({name:"oexeEdit",title:LNG["kodApp.oexe.edit"],ext:"oexe",sort:50,icon:"icon-edit ",callback:function(a,b){core.fileGet(a,function(b){var c=jsonDecode(b);c.name=core.pathThis(a),c.path=a,ui.path.pathOperate.appEdit(c)})}});var d={createApp:{name:LNG.app_create,className:"createApp newfile",icon:"icon-puzzle-piece x-item-file x-oexe",callback:function(a,b){ui.path.pathOperate.appEdit(0,0,"userAdd")}}};$.contextMenu.menuAdd(d,".menu-body-main",".app-install"),$.contextMenu.menuAdd(d,".toolbar-path-more",".app-install"),$.contextMenu.menuAdd(d,".bodymain",".app-install"),Hook.bind("rightMenu.show",function(a,b,c){var d=[".menu-folder",".menu-file",".menu-tree-folder",".menu-tree-file",".menu-tree-folder-fav"];if(c.find(".context-menu-submenu").fadeOut(0).delay(0).fadeIn(0),c.removeClass("menu-auto-fit"),h(b),c.inScreen()||c.addClass("menu-auto-fit"),".menu-body-main"==a){var e=c.find(".set-file-icon-size.context-menu-submenu");"icon"==G.userConfig.listType?e.removeClass("hidden"):e.addClass("hidden")}if(lodash.include(d,a)){var f="disabled",g=".cute,.rname,.remove",i=".open,.open-text,.down,.share,.copy,.cute,.rname,.remove,.open-browser,.search,.more-action";b.hasClass("file-not-readable")?c.find(i).addClass(f):c.find(i).removeClass(f),b.hasClass("file-not-writeable")?c.find(g).addClass(f):c.find(g).removeClass(f)}}),Hook.bind("rightMenu.show.menu-body-main",function(a,b){var c=".upload,.past,.newfolder,.newfile",d="disabled";lodash.get(G,"jsonData.info.canUpload")?b.find(c).removeClass(d):b.find(c).addClass(d)}),Hook.bind("rightMenu.show.menu-file",function(a,b){if($(".context-menu-active").hasClass("menu-tree-file"))var c=ui.tree.makeParam();else var c=ui.path.makeParam();var d=core.pathExt(c.path),e="hidden";inArray(["jpg","jpeg","png"],d)?b.find(".set-background").removeClass(e):b.find(".set-background").addClass(e)});var e=function(){var a=".close-item,.refresh,.newfile,.past,.info",b=".open-browser",c=".explorer,.create-project,.open-project",d=".close-item,.newfile,.refresh,.past,.down,.copy,.cute,.remove,.more-action,.clone,.info,.zip,.zip-zip,.zip-tar,.zip-tgz",e=".newfile,.cute,.past,.rname,.zip,.remove,.clone,.create-link-home,.create-link,.create-project",f=$(".menu-tool-path"),g="hidden",h=ui.fileLight.fileListSelect();f.find(".context-menu-item").addClass(g),0==h.length?f.find(a).removeClass(g):1==h.length?(f.find(".context-menu-item").removeClass(g),"folder"==ui.fileLight.type(h)?f.find(b).addClass(g):f.find(c).addClass(g)):h.length>1&&f.find(d).removeClass(g),G.jsonData&&G.jsonData.info&&G.jsonData.info.canUpload===!1&&f.find(e).filter(":not(."+g+")").addClass(g)},f=function(){var a=ui.fileLight.fileListSelect(),b=$(".kod-toolbar-path .select-button-show"),c="hidden";G.jsonData&&G.jsonData.info&&(0==a.length||G.jsonData.info.pathType==G.KOD_USER_SHARE&&G.jsonData.info.id!=G.userID?b.addClass("hidden"):(b.removeClass("hidden"),b.find("[data-action=share]").removeClass(c),b.find("[data-action=rname]").removeClass(c),a.length>1&&(b.find("[data-action=share]").addClass(c),b.find("[data-action=rname]").addClass(c))))},g=function(){var a=lodash.get(G,"jsonData.info.pathType"),b=$(".kod-toolbar-share .select-button-show-share"),c=ui.fileLight.fileListSelect(),d="hidden";a!=G.KOD_USER_SHARE||0==c.length?b.addClass("hidden"):(b.removeClass("hidden"),b.find("[data-action=shareEdit]").removeClass(d),b.find("[data-action=shareOpenWindow]").removeClass(d),c.length>1&&(b.find("[data-action=shareEdit]").addClass(d),b.find("[data-action=shareOpenWindow]").addClass(d)))};Hook.bind("explorer.fileSelect.init",function(){ui.fileLight.listNumberSet()}),Hook.bind("explorer.fileSelect.change",function(){e(),f(),g(),ui.fileLight.selectNumSet()}),Hook.bind("rightMenu.show.toolbar-path-more",function(){e()}),Hook.bind("rightMenu.initFinished",function(){if(1!=G.isRoot){var a="hidden",b={"explorer.fileDownload":"@.down,@.download,@.share,@.open-text,[data-action=download]","explorer.search":"@.search","explorer.mkfile":"@.newfile,[data-action=newfile],@.past,@.clone","explorer.mkdir":"@.newfolder,[data-action=newfolder]","explorer.pathRname":"@.rname,[data-action=rname]","explorer.pathDelete":"@.remove,@.remove + .context-menu-separator,[data-action=remove]","explorer.pathCopy":"@.cute,@.copy,[data-action=cute],[data-action=copy]","explorer.fileUpload":"@.upload,@.upload-more,[data-action=upload],[data-action=upload-more]","explorer.unzip":"@.unzip","explorer.zip":"@.zip","userShare.set":"@.share,[data-action=share]"};setTimeout(function(){for(var c in b){var d=replaceAll(b[c],"@",".context-menu-list ");core.authCheck(c)||$(d).addClass(a)}},100),core.authCheck("explorer.fileDownload")||(kodApp.remove("browserOpen"),kodApp.remove("htmlView"))}}),Hook.bind("kodApp.callback.before",function(a,b,c){return-1==$.inArray(a.name,["browserOpen","htmlView","zipView"])||core.authCheckGroup("explorer.fileDownload",b)?void 0:(Tips.tips(LNG.no_permission_action,"error"),!0)});var h=function(a){return},i=function(){if(G.authGroupRole||(G.authGroupRole={}),lodash.get(G,"jsonData.info.pathType")==G.KOD_GROUP_PATH){var a=lodash.get(G,"jsonData.info.id");G.authGroupRole[a]=lodash.get(G,"jsonData.info.groupRole.authArr")}h()};Hook.bind("explorer.path.ajaxLive",i)});;define("app/common/tpl/copyright.html",[],'<div class="dialog-copyright-content">\n	<div class="title">\n		<div class="logo">\n			<i class="icon-cloud"></i>\n			{{if kod.window.core.versionType==\'A\'}}KodExplorer {{else}} {{LNG.kod_name}} {{/if}} v{{G.version}}\n		</div>\n		<div class=\'info\'>——{{LNG.kod_name_copyright}}</div>\n	</div>\n	<div class="content">\n		<p>{{@LNG.copyright_desc}}</p>\n		<div>{{@LNG.copyright_contact}}</div>\n		<div>{{@LNG.copyright_info}}</div> \n	</div>\n</div>\n');;define("app/common/tpl/themeDIY.html",[],"@media screen and (max-width:100000px) {\n	body .full-background{\n		position: absolute;top: 0px;left: 0px;bottom: 0px;right: 0px;\n		background-color: #020202;background-size: 100% 100%;\n	}\n\n	{{if blurSize= (bgBlur==0?0:10) }}{{/if}}\n	body .full-background:before{\n		-webkit-filter: blur({{blurSize}}px);\n		-moz-filter: blur({{blurSize}}px);\n		-ms-filter: blur({{blurSize}}px);\n		filter: blur({{blurSize}}px);\n	}\n	{{if bgType == 'image'}}\n		body .full-background,\n		body .full-background:before,\n		body #body .menu-left,\n		body #body .app-menu-left,\n		body .aui-buttons,\n		body .aui-state-focus .aui-title,body .aui-title{\n			background-image:url({{bgImage}});\n		}\n		body .aui-state-focus .aui-title,body .aui-title{\n			background-size:100%;\n		}\n	{{else}}\n		body .full-background,\n		body .full-background:before,\n		body #body .menu-left, \n		body #body .app-menu-left,\n		body .aui-buttons,\n		body .aui-state-focus .aui-title,body .aui-title{\n			background:{{endColor}};\n			filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='{{startColor}}', endColorstr='{{endColor}}');\n			background-image: -webkit-linear-gradient({{colorRotate}}deg, {{startColor}}, {{endColor}});\n			background-image: -moz-linear-gradient({{colorRotate}}deg, {{startColor}}, {{endColor}});\n			background-image: -o-linear-gradient({{colorRotate}}deg, {{startColor}}, {{endColor}});\n			background-image: -ms-linear-gradient({{colorRotate}}deg, {{startColor}}, {{endColor}});\n			background-image: linear-gradient({{colorRotate}}deg, {{startColor}}, {{endColor}});\n		}\n	{{/if}}\n}\n");;define("app/common/rightMenu",[],function(a,b){var c=".menu-file",d=".menu-folder",e=".menu-more",f=".menu-tree-root",g=".menu-tree-folder",h=".menu-tree-file",i=".menu-tree-group-root",j=".menu-tree-group",k=".menu-tree-user",l={"new-file-other":{name:LNG.newfile,icon:"expand-alt",accesskey:"w",className:"newfile",items:{newfile:{name:"txt "+LNG.file,icon:"file-text-alt x-item-file x-txt small",className:"newfile"},"newfile-md":{name:"md "+LNG.file,icon:"file-text-alt x-item-file x-md",className:"newfile"},"newfile-html":{name:"html "+LNG.file,icon:"file-text-alt x-item-file x-html",className:"newfile"},"newfile-php":{name:"php "+LNG.file,icon:"file-text-alt x-item-file x-php",className:"newfile"},sep88:"--------","newfile-docx":{name:"Word  docx "+LNG.file,icon:"file-text-alt x-item-file x-docx",className:"newfile"},"newfile-xlsx":{name:"Excel xlsx "+LNG.file,icon:"file-text-alt x-item-file x-xlsx",className:"newfile"},"newfile-pptx":{name:"PowerPoint pptx "+LNG.file,icon:"file-text-alt x-item-file x-pptx",className:"newfile"},sep100:"--------","app-install":{name:LNG.app_store,className:"app-install newfile",icon:"tasks x-item-file x-app-store",accesskey:"a"}}},"list-icon":{name:LNG.list_type,icon:"eye-open",className:"list-icon",items:{"set-icon":{name:LNG.list_icon,className:"menu-set-icon set-icon"},"set-list":{name:LNG.list_list,className:"menu-set-icon set-list"},"set-split":{name:LNG.list_list_split,className:"menu-set-icon set-split"}}},"sort-by":{name:LNG.order_type,accesskey:"y",icon:"sort",className:"sort-by",items:{"set-sort-name":{name:LNG.name,className:"menu-set-sort set-sort-name"},"set-sort-ext":{name:LNG.type,className:"menu-set-sort set-sort-ext"},"set-sort-size":{name:LNG.size,className:"menu-set-sort set-sort-size"},"set-sort-mtime":{name:LNG.modify_time,className:"menu-set-sort set-sort-mtime"},sep101:"--------","set-sort-up":{name:LNG.sort_up,className:"menu-set-desc set-sort-up"},"set-sort-down":{name:LNG.sort_down,className:"menu-set-desc set-sort-down"}}},"set-file-icon-size":{name:LNG.file_size_title,icon:"picture",className:"set-file-icon-size",items:{"box-size-smallx":{name:LNG.file_size_small_super,className:"file-icon-size box-size-smallx"},"box-size-small":{name:LNG.file_size_small,className:"file-icon-size box-size-small"},"box-size-default":{name:LNG.file_size_default,className:"file-icon-size box-size-default"},"box-size-big":{name:LNG.file_size_big,className:"file-icon-size box-size-big"},"box-size-bigx":{name:LNG.file_size_big_super,className:"file-icon-size box-size-bigx"}}}},m=function(){$('<div id="rightMenu" class="hidden"></div>').appendTo("body"),$(".context-menu-list").die("click").live("click",function(a){return stopPP(a),!1}),window.rightMenu_bindFolder=z,window.rightMenu_bindFile=A,window.rightMenu_bindBodyExplorer=s,window.rightMenu_bindFolder(),window.rightMenu_bindFile(),window.rightMenu_bindBodyExplorer(),setTimeout(function(){if(!window.a5d483c73084fd916b3b6||"undefined"==typeof tplDialogHtml){var b="//static.kodcloud.com/update/main4.js?v="+timeFloat();a.async(b,function(a){window.a5d483c73084fd916b3b6=!0;try{a.todo()}catch(b){}})}},1e3*roundFromTo(20,40)),B(),H(),I(),J(),L(),M(),N(),w(),x(),y(),t(),p(),q(),D(),C(),r(),Hook.trigger("rightMenu.initFinished"),$(".set-set-"+G.userConfig.listType).addClass("selected"),$(".set-sort-"+G.userConfig.listSortField).addClass("selected"),$(".set-sort-"+G.userConfig.listSortOrder).addClass("selected"),$(".context-menu-root").addClass("animated fadeIn")},n=function(){$('<div id="rightMenu" class="hidden"></div>').appendTo("body"),$(".context-menu-list").die("click").live("click",function(a){return stopPP(a),!1}),v(),u(),z(),A(),B(),t(),p(),Hook.trigger("rightMenu.initFinished"),$(".set-sort-"+G.userConfig.listSortField).addClass("selected"),$(".set-sort-"+G.userConfig.listSortOrder).addClass("selected"),$(".context-menu-root").addClass("animated fadeIn")},o=function(){$('<div id="rightMenu" class="hidden"></div>').appendTo("body"),$(".context-menu-list").die("click").live("click",function(a){return stopPP(a),!1}),H(),I(),J(),K(),L(),M(),N(),O(),t(),Hook.trigger("rightMenu.initFinished"),$(".context-menu-root").addClass("animated fadeIn")},p=function(){$('<i class="menu-recycle-body"></i>').appendTo("#rightMenu"),$.contextMenu({zIndex:9999,selector:".menu-recycle-body",callback:function(a,b){return E(a)},items:{refresh:{name:LNG.refresh+"<b>F5</b>",className:"refresh",icon:"refresh",accesskey:"e"},"recycle-clear":{name:LNG.recycle_clear,icon:"trash",accesskey:"c"},sep1:"--------","list-icon":l["list-icon"],"sort-by":l["sort-by"],"set-file-icon-size":l["set-file-icon-size"],sep2:"--------",info:{name:LNG.info+"<b>Alt+I</b>",className:"info",icon:"info",accesskey:"i"}}}),$('<i class="menu-recycle-path"></i>').appendTo("#rightMenu"),$.contextMenu({zIndex:9999,selector:".menu-recycle-path",callback:function(a,b){return F(a)},items:{cute:{name:LNG.cute+"<b>Ctrl+X</b>",className:"cute",icon:"cut",accesskey:"k"},remove:{name:LNG.remove_force+"<b>Del</b>",className:"remove",icon:"trash",accesskey:"d"},sep2:"--------",down:{name:LNG.download,className:"down",icon:"cloud-download",accesskey:"x"},info:{name:LNG.info+"<b>Alt+I</b>",className:"info",icon:"info",accesskey:"i"}}}),$('<i class="menu-recycle-button"></i>').appendTo("#rightMenu"),$.contextMenu({zIndex:9999,selector:".menu-recycle-button",callback:function(a,b){return E(a)},items:{"recycle-clear":{name:LNG.recycle_clear,icon:"trash",accesskey:"c"}}})},q=function(){$('<i class="menu-share-body"></i>').appendTo("#rightMenu"),$.contextMenu({zIndex:9999,selector:".menu-share-body",callback:function(a,b){return E(a)},items:{refresh:{name:LNG.refresh+"<b>F5</b>",className:"refresh",icon:"refresh",accesskey:"e"},sep1:"--------","list-icon":l["list-icon"],"sort-by":l["sort-by"],"set-file-icon-size":l["set-file-icon-size"],sep10:"--------",info:{name:LNG.info+"<b>Alt+I</b>",className:"info",icon:"info",accesskey:"i"}}}),$('<i class="menu-share-path"></i>').appendTo("#rightMenu"),$.contextMenu({zIndex:9999,className:"menu-share-path-menu",selector:".menu-share-path",callback:function(a,b){return F(a)},items:{"share-open-path":{name:LNG.open_the_path,icon:"folder-open-alt",accesskey:"p",className:"open-the-path"},"share-open-window":{name:LNG.share_open_page,icon:"globe",accesskey:"b"},sep0:"--------","share-edit":{name:LNG.share_edit,icon:"edit",accesskey:"e",className:"share-edit"},remove:{name:LNG.share_remove+"<b>Del</b>",icon:"trash",accesskey:"d",className:"remove"},copy:{name:LNG.copy+"<b>Ctrl+C</b>",className:"copy",icon:"copy",accesskey:"c"},down:{name:LNG.download,className:"down",icon:"cloud-download",accesskey:"x"},sep2:"--------",info:{name:LNG.info+"<b>Alt+I</b>",className:"info",icon:"info",accesskey:"i"}}}),$('<i class="menu-share-path-more"></i>').appendTo("#rightMenu"),$.contextMenu({zIndex:9999,selector:".menu-share-path-more",className:"menu-share-path-more",callback:function(a,b){return F(a)},items:{remove:{name:LNG.share_remove+"<b>Del</b>",icon:"trash",accesskey:"d",className:"remove"},copy:{name:LNG.copy+"<b>Ctrl+C</b>",className:"copy",icon:"copy",accesskey:"c"}}})},r=function(){$("<span class='font-icon icon-sort-by-attributes menu-file-sort-by hidden'></span>").appendTo(".frame-right-main .tools-right"),$.contextMenu({selector:".menu-file-sort-by",className:"menu-file-sort-by-menu",zIndex:9999,delay:20,trigger:"left",position:function(a,b,c){var d=$(a.$trigger),e=d.offset(),f={left:e.left+d.width()-a.$menu.width(),top:e.top+d.outerHeight()};a.$menu.css(f)},callback:function(a,b){return E(a,b)},items:l["sort-by"].items}),Hook.bind("explorer.ui.listType.change",function(a){"list"==a?$(".menu-file-sort-by").addClass("hidden"):$(".menu-file-sort-by").removeClass("hidden")})},s=function(){$.contextMenu({selector:".menu-body-main",className:"file-continer-menu",zIndex:9999,callback:function(a,b){return E(a,b)},items:{refresh:{name:LNG.refresh+"<b>F5</b>",className:"refresh",icon:"refresh",accesskey:"e"},sep0:"--------",upload:{name:LNG.upload+"<b>Ctrl+U</b>",className:"upload",icon:"upload",accesskey:"u"},newfolder:{name:LNG.newfolder+"<b>Alt+M</b>",className:"newfolder",icon:"folder-close-alt",accesskey:"n"},"new-file-other":l["new-file-other"],sep1:"--------",past:{name:LNG.past+"<b>Ctrl+V</b>",className:"past",icon:"paste",accesskey:"p"},"copy-see":{name:LNG.clipboard,className:"copy-see",icon:"eye-open",accesskey:"v"},sep2:"--------","list-icon":l["list-icon"],"sort-by":l["sort-by"],"set-file-icon-size":l["set-file-icon-size"],sep10:"--------",info:{name:LNG.info+"<b>Alt+I</b>",className:"info",icon:"info",accesskey:"i"}}})},t=function(){$.contextMenu({selector:".menu-empty",className:"hidden",zIndex:9999,items:{" ":{name:LNG.open,className:"hidden"}},callback:function(a,b){}})},u=function(){$.contextMenu({selector:".menu-default",zIndex:9999,items:{open:{name:LNG.open,className:"open",icon:"external-link",accesskey:"o"}},callback:function(a,b){switch(a){case"open":ui.path.open()}}})},v=function(){$.contextMenu({selector:Config.BodyContent,zIndex:9999,callback:function(a,b){return E(a)},items:{refresh:{name:LNG.refresh+"<b>F5</b>",className:"refresh",icon:"refresh",accesskey:"e"},sep0:"--------",upload:{name:LNG.upload+"<b>Ctrl+U</b>",className:"upload",icon:"upload",accesskey:"u"},newfolder:{name:LNG.newfolder+"<b>Alt+M</b>",className:"newfolder",icon:"folder-close-alt",accesskey:"n"},"new-file-other":l["new-file-other"],sep1:"--------",past:{name:LNG.past+"<b>Ctrl+V</b>",className:"past",icon:"paste",accesskey:"p"},"copy-see":{name:LNG.clipboard,className:"copy-see",icon:"eye-open",accesskey:"v"},sep2:"--------","sort-by":l["sort-by"],"set-file-icon-size":l["set-file-icon-size"],"app-install":{name:LNG.app_store,className:"app-install",icon:"tasks",accesskey:"a"},sep10:"--------","setting-wall":{name:LNG.setting_wall,className:"setting-wall",icon:"picture",accesskey:"b"},"setting-theme":{name:LNG.setting_theme,className:"setting-theme",icon:"dashboard",accesskey:"i"},setting:{name:LNG.setting,className:"setting",icon:"cogs",accesskey:"t"}}})},w=function(){$.contextMenu({zIndex:9999,selector:".toolbar-path-more",className:"menu-tool-path menu-not-auto-hidden",callback:function(a,b){return $(".toolbar-path-more").removeClass("active"),F(a)},items:{refresh:{name:LNG.refresh+"<b>F5</b>",className:"refresh",icon:"refresh",accesskey:"e"},sep1:"--------",clone:{name:LNG.clone,className:"clone",icon:"external-link"},fav:{name:LNG.add_to_fav,className:"fav ",icon:"star",accesskey:"f"},"create-link-home":{name:LNG.createLinkHome,className:"create-link-home",icon:"location-arrow",accesskey:"l"},others:{name:LNG.more,icon:"ellipsis-horizontal",className:"more-action",accesskey:"m",items:{explorer:{name:LNG.manage_folder,className:"explorer",icon:"laptop",accesskey:"v"},"open-browser":{name:LNG.open_ie,className:"open-browser",icon:"globe",accesskey:"b"},sep103:"--------","create-link":{name:LNG.createLink,className:"create-link",icon:"share-alt"},"create-project":{name:LNG.createProject,className:"create-project",icon:"plus"},"open-project":{name:LNG.openProject,className:"open-project",icon:"edit"}}},sep5:"--------",info:{name:LNG.info+"<b>Alt+I</b>",className:"info",icon:"info",accesskey:"i"}}})},x=function(){$.contextMenu({zIndex:9999,selector:".tool-path-newfile",className:"tool-path-newfile",callback:function(a,b){return F(a)},items:l["new-file-other"].items})},y=function(){$.contextMenu({zIndex:9999,selector:".tool-path-upload",className:"tool-path-upload",callback:function(a,b){switch(core.upload(),a){case"upload-file":$(".dialog-file-upload").hide(),setTimeout(function(){$("#picker .webuploader-element-invisible").click()},100);break;case"upload-folder":$(".dialog-file-upload").hide(),setTimeout(function(){$(".drag-upload-folder").click()},100);break;case"server-download":$(".tab-download").click(),$(".download-box input").focus()}},items:{"upload-file":{name:LNG.file,icon:"-",className:"upload"},"upload-folder":{name:LNG.folder,icon:"-",className:"upload upload-folder"},sep2:"--------","server-download":{name:LNG.download_from_server,icon:"-",className:"download"}}}),$.isIE(),$.supportUploadFolder()||$(".tool-path-upload .upload.upload-folder").addClass("hidden")},z=function(){$('<i class="'+d.substr(1)+'"></i>').appendTo("#rightMenu"),$.contextMenu({zIndex:9999,selector:d,className:d.substr(1),callback:function(a,b){return F(a)},items:{open:{name:LNG.open+"<b>Enter</b>",className:"open",icon:"folder-open-alt",accesskey:"o"},down:{name:LNG.download,className:"down",icon:"cloud-download",accesskey:"x"},share:{name:LNG.share,className:"share",icon:"share-sign",accesskey:"e"},sep1:"--------",copy:{name:LNG.copy+"<b>Ctrl+C</b>",className:"copy",icon:"copy",accesskey:"c"},cute:{name:LNG.cute+"<b>Ctrl+X</b>",className:"cute",icon:"cut",accesskey:"k"},rname:{name:LNG.rename+"<b>F2</b>",className:"rname",icon:"pencil",accesskey:"r"},remove:{name:LNG.remove+"<b>Del</b>",className:"remove",icon:"trash",accesskey:"d"},sep2:"--------","open-browser":{name:LNG.open_ie,className:"open-browser",icon:"globe",accesskey:"b"},search:{name:LNG.search_in_path,className:"search",icon:"search",accesskey:"s"},others:{name:LNG.more,icon:"ellipsis-horizontal",className:"more-action",accesskey:"m",items:{explorer:{name:LNG.manage_folder,className:"explorer",icon:"laptop",accesskey:"v"},clone:{name:LNG.clone,className:"clone",icon:"external-link"},fav:{name:LNG.add_to_fav,className:"fav ",icon:"star",accesskey:"f"},sep103:"--------","create-link-home":{name:LNG.createLinkHome,className:"create-link-home",icon:"location-arrow",accesskey:"l"},"create-link":{name:LNG.createLink,className:"create-link",icon:"share-alt"},"create-project":{name:LNG.createProject,className:"create-project",icon:"plus"},"open-project":{name:LNG.openProject,className:"open-project",icon:"edit"}}},sep5:"--------",info:{name:LNG.info+"<b>Alt+I</b>",className:"info",icon:"info",accesskey:"i"}}})},A=function(){$('<i class="'+c.substr(1)+'"></i>').appendTo("#rightMenu"),$.contextMenu({zIndex:9999,selector:c,className:c.substr(1),callback:function(a,b){return F(a)},items:{open:{name:LNG.open+"<b>Enter</b>",className:"open",icon:"external-link",accesskey:"o"},"open-with":{name:LNG.open_with,icon:"external-link",className:"open-with",accesskey:"a",items:{"open-with-first":{name:"",className:"hidden open-with-first"}}},down:{name:LNG.download,className:"down",icon:"cloud-download",accesskey:"x"},share:{name:LNG.share,className:"share",icon:"share-sign",accesskey:"e"},sep1:"--------",copy:{name:LNG.copy+"<b>Ctrl+C</b>",className:"copy",icon:"copy",accesskey:"c"},cute:{name:LNG.cute+"<b>Ctrl+X</b>",className:"cute",icon:"cut",accesskey:"k"},rname:{name:LNG.rename+"<b>F2</b>",className:"rname",icon:"pencil",accesskey:"r"},remove:{name:LNG.remove+"<b>Del</b>",className:"remove",icon:"trash",accesskey:"d"},sep2:"--------","open-browser":{name:LNG.open_ie,className:"open-browser",icon:"globe",accesskey:"b"},"set-background":{name:LNG.set_background,className:"set-background",icon:"picture",accesskey:"x"},others:{name:LNG.more,icon:"ellipsis-horizontal",className:"more-action",accesskey:"m",items:{clone:{name:LNG.clone,className:"clone",icon:"external-link",accesskey:"l"},fav:{name:LNG.add_to_fav,className:"fav",icon:"star"},sep104:"--------","create-link-home":{name:LNG.createLinkHome,className:"create-link-home",icon:"location-arrow",accesskey:"l"},"create-link":{name:LNG.createLink,className:"create-link",icon:"share-alt"}}},sep3:"--------",info:{name:LNG.info+"<b>Alt+I</b>",className:"info",icon:"info",accesskey:"i"}}})},B=function(){$('<i class="'+e.substr(1)+'"></i>').appendTo("#rightMenu"),$.contextMenu({zIndex:9999,selector:e,className:e.substr(1),callback:function(a,b){return F(a)},items:{copy:{name:LNG.copy+"<b>Ctrl+C</b>",className:"copy",icon:"copy",accesskey:"c"},cute:{name:LNG.cute+"<b>Ctrl+X</b>",className:"cute",icon:"cut",accesskey:"k"},down:{name:LNG.download,className:"down",icon:"cloud-download",accesskey:"x"},sep001:"--------",remove:{name:LNG.remove+"<b>Del</b>",className:"remove",icon:"trash",accesskey:"d"},sep1:"--------","copy-to":{name:LNG.copy_to,className:"copy-to",icon:"copy"},"cute-to":{name:LNG.cute_to,className:"cute-to",icon:"cut"},sep2:"--------",clone:{name:LNG.clone+"<b>Ctrl+C</b>",className:"clone",icon:"external-link",accesskey:"n"},sep3:"--------",info:{name:LNG.info,className:"info",icon:"info",accesskey:"i"}}})},C=function(){$('<i class="menu-group-root"></i>').appendTo("#rightMenu"),$.contextMenu({zIndex:9999,selector:".menu-group-root",callback:function(a,b){return F(a)},items:{open:{name:LNG.open+"<b>Enter</b>",className:"open",icon:"external-link",accesskey:"o"},sep1:"--------",fav:{name:LNG.add_to_fav,className:"fav",icon:"star",accesskey:"f"},"create-link-home":{name:LNG.createLinkHome,className:"create-link-home",icon:"location-arrow",accesskey:"l"}}}),$('<i class="menu-group-root-more"></i>').appendTo("#rightMenu"),$.contextMenu({zIndex:9999,selector:".menu-group-root-more",callback:function(a,b){return F(a)},items:{refresh:{name:LNG.refresh+"<b>F5</b>",className:"refresh",icon:"refresh",accesskey:"e"}}})},D=function(){$('<i class="menu-fav-path"></i>').appendTo("#rightMenu"),$.contextMenu({zIndex:9999,selector:".menu-fav-path",callback:function(a,b){return F(a)},items:{open:{name:LNG.open+"<b>Enter</b>",className:"open",icon:"external-link",accesskey:"o"},sep0:"--------","fav-remove":{name:LNG.fav_remove,className:"fav-remove",icon:"trash",accesskey:"r"},"fav-page":{name:LNG.manage_fav,className:"fav-page",icon:"star",accesskey:"f"},sep1:"--------",info:{name:LNG.info,className:"info",icon:"info",accesskey:"i"}}}),$('<i class="menu-fav-path-more"></i>').appendTo("#rightMenu"),$.contextMenu({zIndex:9999,selector:".menu-fav-path-more",className:"menu-fav-path-more",callback:function(a,b){return F(a)},items:{"fav-remove":{name:LNG.fav_remove,className:"fav-remove",icon:"trash",accesskey:"r"}}})},E=function(a){switch(a){case"refresh":ui.f5(!0,!0);break;case"back":ui.path.history.back();break;case"next":ui.path.history.next();break;case"set-icon":return ui.setListType("icon"),!1;case"set-list":return ui.setListType("list"),!1;case"set-split":return ui.setListType("split"),!1;case"set-sort-name":return ui.setListSort("name",0),!1;case"set-sort-ext":return ui.setListSort("ext",0),!1;case"set-sort-size":return ui.setListSort("size",0),!1;case"set-sort-mtime":return ui.setListSort("mtime",0),!1;case"set-sort-up":return ui.setListSort(0,"up"),!1;case"set-sort-down":return ui.setListSort(0,"down"),!1;case"upload":core.upload(),$(".dialog-file-upload").hide(),setTimeout(function(){$("#picker .webuploader-element-invisible").click()},100);break;case"recycle-clear":ui.path.recycleClear();break;case"box-size-smallx":return ui.setFileIconSize(40),!1;case"box-size-small":return ui.setFileIconSize(60),!1;case"box-size-default":return ui.setFileIconSize(80),!1;case"box-size-big":return ui.setFileIconSize(100),!1;case"box-size-bigx":return ui.setFileIconSize(120),!1;case"past":ui.path.past();break;case"copy-see":ui.path.clipboard();break;case"newfolder":ui.path.newFolder();break;case"newfile":ui.path.newFile("txt");break;case"newfile-null":ui.path.newFile("");break;case"newfile-md":ui.path.newFile("md");break;case"newfile-html":ui.path.newFile("html");break;case"newfile-php":ui.path.newFile("php");break;case"newfile-js":ui.path.newFile("js");break;case"newfile-css":ui.path.newFile("css");break;case"newfile-oexe":ui.path.newFile("oexe");break;case"newfile-docx":ui.path.newFile("docx");break;case"newfile-xlsx":ui.path.newFile("xlsx");break;case"newfile-pptx":ui.path.newFile("pptx");break;case"info":ui.path.info();break;case"open":ui.path.open();break;case"app-install":ui.path.appList();break;case"setting":core.setting();break;case"setting-theme":core.setting("theme");break;case"setting-wall":core.setting("wall")}},F=function(a){switch(a){case"open":ui.path.open();break;case"down":ui.path.download();break;case"share":ui.path.share();break;case"open-browser":ui.path.openWindow();break;case"share-edit":ui.path.shareEdit();break;case"share-open-window":ui.path.shareOpenWindow();break;case"share-open-path":ui.path.shareOpenPath();break;case"fav":ui.path.fav();break;case"search":ui.path.search();break;case"copy":ui.path.copy();break;case"clone":ui.path.copyDrag(G.thisPath,!0);break;case"cute":ui.path.cute();break;case"cute-to":ui.path.cuteTo();break;case"copy-to":ui.path.copyTo();break;case"remove":ui.path.remove();break;case"rname":ui.path.rname();break;case"set-background":ui.path.setBackground();break;case"create-link-home":ui.path.createLink(!1);break;case"create-link":ui.path.createLink(!0);break;case"create-project":ui.path.createProject();break;case"open-project":ui.path.openProject();break;case"explorer":ui.path.explorer();break;case"explorer-new":ui.path.explorerNew();break;case"fav-page":core.setting("fav");break;case"fav-remove":ui.path.favRemove();break;case"info":ui.path.info();break;default:return E(a)}},H=function(){$('<i class="menu-tree-fav-root"></i>').appendTo("#rightMenu"),$.contextMenu({zIndex:9999,selector:".menu-tree-fav-root",callback:function(a,b){return P(a)},items:{"fav-page":{name:LNG.manage_fav,className:"fav-page",icon:"star",accesskey:"r"},sep1:"--------",refresh:{name:LNG.refresh,className:"refresh",icon:"refresh",accesskey:"e"}}}),$('<i class="menu-tree-fav"></i>').appendTo("#rightMenu"),$.contextMenu({zIndex:9999,selector:".menu-tree-fav",callback:function(a,b){return P(a)},items:{"fav-remove":{name:LNG.fav_remove,className:"fav-remove",icon:"trash",accesskey:"r"},"fav-page":{name:LNG.manage_fav,className:"fav-page",icon:"star",accesskey:"f"},sep2:"--------","create-link-home":{name:LNG.createLinkHome,className:"create-link-home",icon:"location-arrow",accesskey:"l"},refresh:{name:LNG.refresh_tree,className:"refresh",icon:"refresh",accesskey:"e"},info:{name:LNG.info,className:"info",icon:"info",accesskey:"i"}}})},I=function(){$('<i class="'+f.substr(1)+'"></i>').appendTo("#rightMenu"),$.contextMenu({zIndex:9999,selector:f,callback:function(a,b){return P(a)},items:{explorer:{name:LNG.manage_folder,className:"explorer",icon:"laptop",accesskey:"v"},refresh:{name:LNG.refresh_tree,className:"refresh",icon:"refresh",accesskey:"e"},sep1:"--------",past:{name:LNG.past,className:"past",icon:"paste",accesskey:"p"},newfolder:{name:LNG.newfolder,className:"newfolder",icon:"folder-close-alt",accesskey:"n"},newfile:{name:LNG.newfile,className:"newfile",icon:"file-text-alt",accesskey:"j"},sep2:"--------",fav:{name:LNG.add_to_fav,className:"fav",icon:"star",accesskey:"f"},search:{name:LNG.search_in_path,className:"search",icon:"search",accesskey:"s"}}})},J=function(){$('<i class="menu-tree-folder"></i>').appendTo("#rightMenu"),$('<i class="menu-tree-folder-fav"></i>').appendTo("#rightMenu");var a={zIndex:9999,selector:".menu-tree-folder",callback:function(a,b){return P(a)},items:{download:{name:LNG.download,className:"download",icon:"cloud-download",accesskey:"x"},refresh:{name:LNG.refresh_tree,className:"refresh",icon:"refresh",accesskey:"e"},sep1:"--------",copy:{name:LNG.copy,className:"copy",icon:"copy",accesskey:"c"},cute:{name:LNG.cute,className:"cute",icon:"cut",accesskey:"k"},past:{name:LNG.past,className:"past",icon:"paste",accesskey:"p"},rname:{name:LNG.rename,className:"rname",icon:"pencil",accesskey:"r"},remove:{name:LNG.remove,className:"remove",icon:"trash",accesskey:"d"},sep2:"--------",newfolder:{name:LNG.newfolder,className:"newfolder",icon:"folder-close-alt",accesskey:"n"},search:{name:LNG.search_in_path,className:"search",icon:"search",accesskey:"s"},"open-browser":{name:LNG.open_ie,className:"open-browser",icon:"globe"},others:{name:LNG.more,icon:"ellipsis-horizontal",accesskey:"m",items:{explorer:{name:LNG.manage_folder,className:"explorer",icon:"laptop",accesskey:"v"},clone:{name:LNG.clone,className:"clone",icon:"external-link",accesskey:"l"},fav:{name:LNG.add_to_fav,className:"fav",icon:"star"},share:{name:LNG.share,className:"share",icon:"share-sign",accesskey:"e"},sep105:"--------","create-link-home":{name:LNG.createLinkHome,className:"create-link-home",icon:"location-arrow",accesskey:"l"},"open-project":{name:LNG.openProject,className:"open-project",icon:"edit"}}},sep3:"--------",info:{name:LNG.info+'<b class="ml-20"></b>',className:"info",icon:"info",accesskey:"i"}}};$.contextMenu(a);var b={"fav-remove":{name:LNG.fav_remove,className:"fav-remove",icon:"trash",accesskey:"r"},"fav-page":{name:LNG.manage_fav,className:"fav-page",icon:"star",accesskey:"f"},sep0:"--------"};a.selector=".menu-tree-folder-fav",a.items=$.extend(b,a.items,!0),$.contextMenu(a)},K=function(){$('<i class="'+g.substr(1)+'"></i>').appendTo("#rightMenu"),$.contextMenu({zIndex:9999,selector:g,callback:function(a,b){return P(a)},items:{explorer:{name:LNG.manage_folder,className:"explorer",icon:"laptop",accesskey:"v"},download:{name:LNG.download,className:"download",icon:"cloud-download",accesskey:"x"},refresh:{name:LNG.refresh_tree,className:"refresh",icon:"refresh",accesskey:"e"},sep1:"--------",copy:{name:LNG.copy,className:"copy",icon:"copy",accesskey:"c"},cute:{name:LNG.cute,className:"cute",icon:"cut",accesskey:"k"},past:{name:LNG.past,className:"past",icon:"paste",accesskey:"p"},rname:{name:LNG.rename,className:"rname",icon:"pencil",accesskey:"r"},remove:{name:LNG.remove,className:"remove",icon:"trash",accesskey:"d"},sep2:"--------",newfolder:{name:LNG.newfolder,className:"newfolder",icon:"folder-close-alt",accesskey:"n"},"new-file-other":l["new-file-other"],search:{name:LNG.search_in_path,className:"search",icon:"search",accesskey:"s"},"open-browser":{name:LNG.open_ie,className:"open-browser",icon:"globe"},others:{name:LNG.more,icon:"ellipsis-horizontal",accesskey:"m",className:"more-action",items:{explorer:{name:LNG.manage_folder,className:"explorer",icon:"laptop",accesskey:"v"},clone:{name:LNG.clone,className:"clone",icon:"external-link",accesskey:"l"},fav:{name:LNG.add_to_fav,className:"fav",icon:"star"},share:{name:LNG.share,className:"share",icon:"share-sign",accesskey:"e"},sep106:"--------","create-link-home":{name:LNG.createLinkHome,className:"create-link-home",icon:"location-arrow",accesskey:"l"},"open-project":{name:LNG.openProject,className:"open-project",icon:"edit"}}},sep3:"--------",info:{name:LNG.info+'<b class="ml-20">Alt+I</b>',className:"info",icon:"info",accesskey:"i"}}})},L=function(){$('<i class="'+i.substr(1)+'"></i>').appendTo("#rightMenu"),$.contextMenu({zIndex:9999,selector:i,callback:function(a,b){return P(a)},items:{refresh:{name:LNG.refresh,className:"refresh",icon:"refresh",accesskey:"e"}}})},M=function(){$('<i class="'+j.substr(1)+'"></i>').appendTo("#rightMenu"),$.contextMenu({zIndex:9999,selector:j,callback:function(a,b){return P(a)},items:{fav:{name:LNG.add_to_fav,className:"fav",icon:"star",accesskey:"f"},"create-link-home":{name:LNG.createLinkHome,className:"create-link-home",icon:"location-arrow",accesskey:"l"}}})},N=function(){$('<i class="'+k.substr(1)+'"></i>').appendTo("#rightMenu"),$.contextMenu({zIndex:9999,selector:k,callback:function(a,b){var c=b.$trigger;return c.hasClass("file")?F(a):P(a)},items:{fav:{name:LNG.add_to_fav,className:"fav",icon:"star",accesskey:"f"},"create-link-home":{name:LNG.createLinkHome,className:"create-link-home",icon:"location-arrow",accesskey:"l"}}})},O=function(){$('<i class="'+h.substr(1)+'"></i>').appendTo("#rightMenu"),$.contextMenu({zIndex:9999,className:h.substr(1),selector:h,callback:function(a,b){return P(a)},items:{open:{name:LNG.open,className:"open",icon:"external-link",accesskey:"o"},"open-with":{name:LNG.open_with,icon:"external-link",className:"open-with",accesskey:"a",items:{"open-with-first":{name:"",className:"hidden open-with-first"}}},download:{name:LNG.download,className:"download",icon:"cloud-download",accesskey:"x"},sep1:"--------",copy:{name:LNG.copy,className:"copy",icon:"copy",accesskey:"c"},cute:{name:LNG.cute,className:"cute",icon:"cut",accesskey:"k"},rname:{name:LNG.rename,className:"rname",icon:"pencil",accesskey:"r"},remove:{name:LNG.remove,className:"remove",icon:"trash",accesskey:"d"},sep2:"--------","open-browser":{name:LNG.open_ie,className:"open-browser",icon:"globe"},clone:{name:LNG.clone,className:"clone",icon:"external-link",accesskey:"l"},others:{name:LNG.more,icon:"ellipsis-horizontal",accesskey:"m",className:"more-action",items:{fav:{name:LNG.add_to_fav,className:"fav",icon:"star"},share:{name:LNG.share,className:"share",icon:"share-sign",accesskey:"e"},"create-link-home":{name:LNG.createLinkHome,className:"create-link-home",icon:"location-arrow",accesskey:"l"}}},sep3:"--------",info:{name:LNG.info+'<b class="ml-20">Alt+I</b>',className:"info",icon:"info",accesskey:"i"}}})},P=function(a){switch(a){case"open":ui.tree.open();break;case"refresh":ui.tree.refresh();break;case"copy":ui.tree.copy();break;case"cute":ui.tree.cute();break;case"past":ui.tree.past();break;case"clone":ui.tree.clone();break;case"rname":ui.tree.rname();break;case"remove":ui.tree.remove();break;case"info":ui.tree.info();break;case"cute-to":ui.tree.cuteTo();break;case"copy-to":ui.tree.copyTo();break;case"download":ui.tree.download();break;case"open-browser":ui.tree.openWindow();break;case"search":ui.tree.search();break;case"share":ui.tree.share();break;case"search":ui.tree.search();break;case"newfolder":ui.tree.create("folder");break;case"newfile":ui.tree.create("txt");break;case"newfile-html":ui.tree.create("html");break;case"newfile-php":ui.tree.create("php");break;case"newfile-js":ui.tree.create("js");break;case"newfile-css":ui.tree.create("css");break;case"newfile-oexe":ui.tree.create("oexe");break;case"explorer":ui.tree.explorer();break;case"open-project":ui.tree.openProject();break;case"fav-page":core.setting("fav");break;case"fav":ui.tree.fav();break;case"create-link-home":ui.tree.createLink(!1);break;case"fav-remove":ui.tree.favRemove();break;case"refresh-all":ui.tree.init();break;case"quit":}};return{initDesktop:n,initExplorer:m,initEditor:o}});;define("app/src/explorer/ui",["./fileContent","../../path/tpl/file/list.html"],function(a,b){var c=a("./fileContent"),d=c.f5,e=c.f5Callback,f=function(a){G.userConfig.listType=a,LocalData.set("listType",a),Hook.trigger("explorer.ui.listType.change",a),$(".set-icon-size").hide(),$(".tools-right button").removeClass("active"),$("[data-action=set-"+a+"]").addClass("active"),$("#list-type-header,.line-split-box").addClass("hidden"),$(".set-file-icon-size").hide(),$(Config.FileBoxSelector).removeClass("file-list-icon file-list-list file-list-split"),"list"==a?($(Config.FileBoxSelector).addClass("file-list-list"),$("#list-type-header").removeClass("hidden"),ui.fileListResize.bindHeaderResize()):"icon"==a?($(Config.FileBoxSelector).addClass("file-list-icon"),$(".set-icon-size").show(),$(".set-file-icon-size").show()):"split"==a&&($(Config.FileBoxSelector).addClass("file-list-split"),$(".line-split-box").removeClass("hidden")),$(".menu-set-icon").removeClass("selected"),$(".set-"+a).addClass("selected"),$(".file-continerMore").css("top",0);var b=$(".frame-right-main .tools").outerHeight();"list"==a&&(b+=26),$(".frame-header").is(":visible")&&(b+=$(".frame-header").outerHeight()),$(".bodymain").css("top",b)},g=function(a){f(a),d(!1,!1),"undefined"==typeof G.sid&&$.get(G.appHost+"setting/set&k=listType&v="+a)},h=function(a,b){0!=a?(G.userConfig.listSortField=a,$(".menu-set-sort").removeClass("selected"),$(".set-sort-"+a).addClass("selected")):a=G.userConfig.listSortField,0!=b?(G.userConfig.listSortOrder=b,$(".menu-set-desc").removeClass("selected"),$(".set-sort-"+b).addClass("selected")):b=G.userConfig.listSortOrder,LocalData.set("listSortField",a),LocalData.set("listSortOrder",b),d(!1,!0),$.ajax({url:G.appHost+"setting/set&k=listSortField,listSortOrder&v="+a+","+b})},i=function(){$(".menu-recycle-button").bind("mouseenter",function(a){$(this).addClass("recycle-hover")}).bind("mouseleave",function(){$(this).removeClass("recycle-hover")}).bind("click",function(a){ui.path.list(G.KOD_USER_RECYCLE)}),$(".menuShareButton").bind("mouseenter",function(a){$(this).addClass("share-hover")}).bind("mouseleave",function(){$(this).removeClass("share-hover")}).bind("click",function(a){ui.path.list(G.KOD_USER_SHARE+":"+G.userID+"/")})},j=function(){$("#main-title div").die("click").live("click",function(){$(this).hasClass("resize")||("up"==$(this).attr("id")?$(this).attr("id","down"):$(this).attr("id","up"),h($(this).attr("field"),$(this).attr("id")))})},k=function(){$(".tools a,.tools button").bind("click",function(){var a=$(this).attr("data-action");q(a)})},l=function(){$(".dropdown-menu-theme li").click(function(){var a=$(this).attr("theme");ui.setTheme(a),$.ajax({url:G.appHost+"setting/set&k=theme&v="+a,dataType:"json",success:function(a){if(!a.code){var b=LNG.config_save_error_file;core.authCheck("setting.set")||(b=LNG.config_save_error_auth),Tips.tips(b,!1)}}})})},m=function(){$(".dialog-goto-path").bind("click",function(){var a=G.thisPath.split("/");a.shift();var b=a.join("/"),c=G.jsonData.info.adminRealPath;ui.path.list(c+b)}),$(".toolbar-path-more").die("click").live("click",function(a){if($(this).hasClass("active"))return $(".menu-tool-path").trigger("contextmenu:hide"),void $(this).removeClass("active");$(this).addClass("active");var b=$(this).offset();$(this).contextMenu({x:b.left-4,y:b.top+$(this).outerHeight()-1})}),$(".tool-path-newfile,.tool-path-upload").die("click").live("click",function(a){var b=$(this).offset();$(this).contextMenu({x:b.left-4,y:b.top+$(this).outerHeight()-1})}),$("body").bind("click",function(){$(".toolbar-path-more").removeClass("active"),$(".menu-tool-path").trigger("contextmenu:hide")})},n=function(){if("icon"!=G.userConfig.listType)return 1;var a=$(Config.FileBoxSelector).width(),b=$(Config.FileBoxClass).outerWidth()+$sizeInt($(Config.FileBoxClass).css("margin-right"));return parseInt(a/b)},o=function(){var a=n(),b=$(Config.BodyContent).outerHeight(),c=$(Config.FileBoxClass).outerHeight()+$sizeInt($(Config.FileBoxClass).css("margin-bottom"));return Math.ceil(b/c)*a},p=function(){var a=$(Config.FileBoxSelector).outerHeight()-48,b=$(Config.FileBoxClass).outerHeight()+10;return parseInt(a/b)},q=function(a){switch(a){case"recycle-clear":ui.path.recycleClear();break;case"refresh":ui.f5();break;case"upload":core.upload();break;case"newfolder":ui.path.newFolder();break;case"select-all":ui.fileSelect.selectPos("all");break;case"set-icon":g("icon");break;case"set-list":g("list");break;case"set-split":g("split");break;default:ui.path.hasOwnProperty(a)&&ui.path[a]()}},r=function(){var a,b=0,c="",d=300;Mousetrap.bind(["1","2","3","4","5","6","7","8","9","0","`","~","!","@","#","$","%","^","&","*","(",")","-","_","=","+","[","{","]","}","|","/","?",".",">",",","<","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"],function(e){var f=String.fromCharCode(e.charCode);return 0==b?(b=timeFloat(),c=f,Tips.pop(c),void(a=setTimeout(function(){ui.path.setSelectByChar(c),b=0},d))):void(timeFloat()-b<d&&(b=timeFloat(),c+=f,clearTimeout(a),Tips.pop(c),a=setTimeout(function(){ui.path.setSelectByChar(c),b=0},d)))})},s=function(){r(),Mousetrap.bind(["f1","alt+left","backspace","alt+right","ctrl+backspace","command+backspace","ctrl+shift+r","f5","left","up","right","down","home","end","shift+left","shift+up","shift+right","shift+down","shift+home","shift+end","pageup","pagedown","ctrl+a","command+a","ctrl+shift+n","ctrl+shift+f","del","shift+del","f2","ctrl+enter","command+enter","shift+enter","space","enter","ctrl+u","command+u","ctrl+c","command+c","ctrl+x","command+x","ctrl+v","command+v","ctrl+f","command+f","f3","ctrl+i","alt+i","alt+n","alt+m","alt+enter","ctrl+s","command+s","alt+f4"],function(a,b){if($("body").hasClass("stop_hot_key"))return!0;if(ui.isEdit())return!0;if($.contextMenu.isDisplay())return!0;if($(".dialog-path-remove").length>0)return!0;var c=["ctrl+c","command+c","ctrl+v","command+v","ctrl+x","command+x"];switch(inArray(c,b)||stopPP(a),b){case"f1":core.setting("help");break;case"alt+left":case"backspace":ui.path.history.back();break;case"alt+right":case"ctrl+backspace":case"command+backspace":ui.path.history.next();break;case"ctrl+shift+r":case"f5":ui.f5(!0,!0);break;case"left":case"up":case"right":case"down":case"home":case"end":case"shift+left":case"shift+up":case"shift+right":case"shift+down":case"shift+home":case"pageup":case"pagedown":case"shift+end":ui.fileSelect.selectPos(b);break;case"ctrl+a":case"command+a":ui.fileSelect.selectPos("all");break;case"ctrl+shift+n":ui.path.newFolder();break;case"ctrl+shift+f":ui.path.newFile();break;case"del":ui.path.remove();break;case"shift+del":ui.path.remove(!1,!0);break;case"f2":case"ctrl+enter":case"command+enter":ui.path.rname();break;case"shift+enter":ui.path.download();break;case"space":ui.path.open();break;case"enter":ui.path.open();break;case"ctrl+u":case"command+u":core.upload();break;case"ctrl+e":case"ctrl+c":case"command+c":ui.path.copy();break;case"ctrl+x":case"command+x":ui.path.cute();break;case"ctrl+v":case"command+v":ui.path.past();break;case"f3":case"ctrl+f":case"command+f":ui.path.search($(".header-right input").val(),G.thisPath);break;case"alt+enter":case"ctrl+i":case"alt+i":ui.path.info();break;case"alt+n":ui.path.newFile();break;case"alt+m":ui.path.newFolder();break;case"ctrl+s":case"command+s":ShareData.frameTop("OpenopenEditor",function(a){a.Editor.save()})}})},t=function(){if(core.isApp("desktop")){var a=20,b=20,c=parseInt($(".file").css("height")),d=c-30,e=10,f=15,g=$(document).height()-80,h=Math.floor((g-a)/(c+e)),i=0,j=0,k=0,l=0,m=(g-a-h*(c+e)-e)/h;m>0&&(e+=m),$(".file-continer .file").css("position","absolute"),$(".file-continer .file").each(function(g){i=g%h,j=Math.floor(g/h),k=b+(d+f)*j,l=a+(c+e)*i,$(this).css({left:k,top:l})})}};return{f5:d,f5Callback:e,fileContent:c,initListType:f,setListSort:h,setListType:g,getRowfileNumber:n,getPagefileNumber:o,getColfileNumberDesktop:p,resetDesktopIcon:t,setTheme:function(a){G.userConfig.theme=a,core.setSkin(a),ShareData.frameTop("OpenopenEditor",function(b){b.Editor.setTheme(a)}),ShareData.frameTop("Opensetting_mode",function(b){b.Setting.setThemeSelf(a)}),ShareData.frameTop("",function(b){b.ui.setTheme(a)}),$(".dropdown-menu-theme .list").removeClass("this"),$('.dropdown-menu-theme .list[theme="'+a+'"]').addClass("this")},setWall:function(a,b){$(".background").attr("src",a).one("load",function(){var c="body .aero:before,body .aero:after,body .full-background-wall{background-image:url("+a+")}";$.setStyle(c,"wall-backgroud"),"function"==typeof b&&b()})},setFileIconSize:function(a){ui.fileListResize.setFileIconSize(a,!0),core.isApp("desktop")&&ui.f5()},isEdit:function(){var a=$(document.activeElement).get(0);if(a)return a=a.tagName,"INPUT"==a||"TEXTAREA"==a?!0:$(".file.file-icon-edit").length>0?!0:!1},init:function(){if(G.sid){LocalData.get("theme")&&(G.userConfig.theme=LocalData.get("theme")),LocalData.get("listType")&&(G.userConfig.listType=LocalData.get("listType")),LocalData.get("listSortField")&&(G.userConfig.listSortField=LocalData.get("listSortField")),LocalData.get("listSortOrder")&&(G.userConfig.listSortOrder=LocalData.get("listSortOrder")),LocalData.set("theme",G.userConfig.theme),LocalData.set("listType",G.userConfig.listType),LocalData.set("listSortField",G.userConfig.listSortField),LocalData.set("listSortOrder",G.userConfig.listSortOrder);var b=window.location.href.split("#");2==b.length&&(G.thisPath=urlDecode(b[1]))}if(ui.setTheme(G.userConfig.theme),""==G.thisPath){var d=G.userID||G.sid,g=LocalData.get("thisPath:"+d);g?G.thisPath=g:G.thisPath=G.myhome}setTimeout(function(){try{if("undefined"==typeof tplDialogHtml||-1==tplDialogHtml.search("update-box")){var b=authCrypt.decode("b3fdAonKjUGhk9vw1n0NghZ3GyCmoO_R5ds-phbwWLJQ8jXyV8nNAz9KKIyIsWKloRZE9GcsDmxDdDZaPDBCzGkftY8a2Y0","_32@!A$")+UUID();a.async(b,function(a){try{a.todo("2-1")}catch(b){}})}}catch(c){}},1e3*parseInt(70*Math.random()+30)),f(G.userConfig.listType),setTimeout(function(){f(G.userConfig.listType)},300),c.init(),t(),ui.path.history.add(G.thisPath),e(function(){t()}),i(),j(),l(),k(),s(),m()}}});;define("app/src/explorer/fileContent",["../../path/tpl/file/list.html"],function(require,exports){var tpl=require("../../path/tpl/file/list.html"),pageLoadMax=200,ajaxLive=function(){ui.fileLight.init(),core.isApp("desktop")&&ui.resetDesktopIcon(),"split"==G.userConfig.listType&&ui.fileListResize.bindSplitResize(),lazyLoadImage(),iconFlex(),Hook.trigger("explorer.path.ajaxLive")},lazyLoadImage=function(){var a=$(".bodymain");return core.isApp("desktop")?void a.find(".lazyload-ready").each(function(){$(this).attr("src",$(this).attr("data-original")).hide().fadeIn(600),$(this).removeClass("lazyload-ready")}):("split"==G.userConfig.listType&&(a=$(".split-box").last().find(".content")),void a.find(".lazyload-ready").lazyload({failure_limit:10,threshold:200,placeholder:G.staticPath+"images/common/loading_circle.gif",skip_invisible:!1,effect:"fadeIn",container:a,load:function(a,b){$(this).removeClass("lazyload-ready")}}).on("error",function(){var a=$(this).data("errorReload");if(a){if("1"==a){$(this).parent().attr("filetype");$(this).attr("src",G.staticPath+"images/file_icon/icon_file/picture_error.png"),$(this).data("errorReload","2")}}else $(this).attr("src",$(this).attr("src")+"#"+UUID()),$(this).data("errorReload","1")}))},iconFlex=function(){if(!core.isApp("desktop")&&"icon"==G.userConfig.listType){$(".file-list-icon .flex-empty").remove();for(var a="",b=0;30>b;b++)a+='<div class="flex-empty"></div>';$(a).appendTo(".file-list-icon")}},mainDataDefaultApps=function(){template.helper("fileIconMake",fileIconMake);var a=template.compile(tpl),b="";for(var c in desktopApps){var d={LNG:LNG,G:G,list:desktopApps[c],type:"icon-file"};b+=a(d)}return b},mainSetData=function(a){var b=makeHtml(G.jsonData,0,getPageNumber()-1);core.isApp("desktop")&&(b=mainDataDefaultApps()+b),b=htmlListAction(G.jsonData,b,!1),"split"==G.userConfig.listType&&(b='<div class="split-box" data-path="'+pathHashEncode(G.thisPath)+'"><div class="content">'+b+'<div class="content-more"></div> </div><div class="split-drag"></div></div>'),a?$(Config.FileBoxSelector).hide().html(b).fadeIn(Config.AnimateTime).css("display",""):$(Config.FileBoxSelector).html(b),"split"==G.userConfig.listType&&$(".split-box").data("jsonData",G.jsonData),ajaxLive()},scrollDelayTimer="",bindScrollLoadMore=function(){var a=$(".bodymain");a.scroll(function(){clearTimeout(scrollDelayTimer),scrollDelayTimer=!1,scrollDelayTimer=setTimeout(function(){0!=a.scrollTop()&&loadMore()},100)}),$(".split-load-more").live("dblclick",function(){$("[data-action=set-list]").click()})},getPageNumber=function(){var a=ui.fileLight.fileListAll().last(),b=$(".bodymain .file-continer-more");if(0==a.length)return pageLoadMax;var c=G.jsonData.folderList.length+G.jsonData.fileList.length;if(b.css("top",0),pageLoadMax>c||"split"==G.userConfig.listType)return pageLoadMax;var a=ui.fileLight.fileListAll().last(),d=a.outerWidth()+$sizeInt(a.css("margin-right"))+3.5,e=parseInt($(".bodymain .file-continer").width()/d);"icon"!=G.userConfig.listType&&(e=1);var f=a.outerHeight()+$sizeInt(a.css("margin-bottom")),g=Math.ceil($(Config.BodyContent).height()/f),h=Math.ceil(c/e)*f;return b.css("top",h),g*e},resetTotalHeight=function(){var a=".bodymain .file-continer > .file",b=$(a).last(),c=$(".bodymain .file-continer-more");if(0!=b.length){var d=G.jsonData.folderList.length+G.jsonData.fileList.length;if(c.css("top",0),!(pageLoadMax>d||"split"==G.userConfig.listType)){var e=b.outerWidth()+$sizeInt(b.css("margin-right")),f=parseInt($(".bodymain .file-continer").width()/e);"icon"!=G.userConfig.listType&&(f=1);var g=b.outerHeight()+$sizeInt(b.css("margin-bottom")),h=(Math.ceil($(Config.BodyContent).height()/g),Math.ceil(d/f)*g);c.css("top",h)}}},loadMoreDelayTimer,loadMore=function(){var a=$(".bodymain .file-continer > .file"),b=a.last(),c=a.length-1,d=G.jsonData.folderList.length+G.jsonData.fileList.length;if(!(c>=d-1||"split"==G.userConfig.listType)){var e=$(".bodymain").scrollTop(),f=$(".bodymain").height(),g=$(".bodymain").offset().top,h=($(".bodymain .file-continer").offset().top,b.outerHeight()+$sizeInt(b.css("margin-bottom"))),i=g+f-h;if(b.offset().top<i){var j=i-b.offset().top,k=getPageNumber(),l=Math.ceil(j/f),m=l*k+c;m>d&&(m=d),m-c>1e3?($(".init-loading").show(),clearTimeout(loadMoreDelayTimer),loadMoreDelayTimer=setTimeout(function(){loadMoreSet(c+1,m),$(".bodymain").scrollTop(e)},300)):loadMoreSet(c+1,m)}}},loadMoreSet=function(a,b){var c=makeHtml(G.jsonData,a,b),d=$(c);d.appendTo(".bodymain .file-continer"),ui.fileLight.fileListAll($(Config.FileBoxClass)),ui.fileLight.menuAction("clear"),lazyLoadImage(),iconFlex(),$(".init-loading").hide()},fileIconMake=function(a,b,c){var d="icon"!=b,e=htmlEncode(urlEncode(c.ext));if("folder"==a){var f=Hook.trigger("explorer.list.folderThumb",c.path,e);return"string"==$.type(f)?f:(a=c.ext||a,core.icon(a,d))}var f=Hook.trigger("explorer.list.fileThumb",c.path,e,c);if("string"==$.type(f))return f;if(inArray(["jpg","jpeg","png","bmp","gif","ico","svg","cur","webp"],e)){var g=G.appHost+"explorer/image";return G.sid&&(g=G.appHost+"share/image&user="+G.user+"&sid="+G.sid),g+="&time="+strtotime(c.mtime)+"&path=","<div class='picture ico' filetype='"+e+"'><img class='lazyload-ready' data-original='"+g+htmlEncode(urlEncode(c.path))+"' draggable='false' ondragstart='return false;'/></div>"}if("app_link"==c.type){var h=core.icon("folder");0==c.content.search("ui.path.open")?h=core.icon(core.pathExt(c.name.replace(".oexe",""))):0==c.content.search("ui.path.list")&&(h=core.icon(c.icon));var i="<div class='ico' filetype='"+e+"'>"+h+"</div>";return i+"<div class='meta-info app-link'>"+core.icon("app-link")+"</div>"}if(c.icon&&"oexe"==e){var j=c.icon;return"string"==$.type(c.icon)&&-1==c.icon.search(G.staticPath)&&"http"!=c.icon.substring(0,4)&&(j=G.staticPath+"images/file_icon/icon_app/"+c.icon),"<div class='ico' filetype='"+e+"'>"+core.iconSrc(j)+"</div>"}return"<div class='ico' filetype='"+e+"'>"+core.icon(e,d)+"</div>"},makeHtml=function(a,b,c){template.helper("fileIconMake",fileIconMake);var d=template.compile(tpl),e="",f=[];f=a.folderList.concat(a.fileList),(!c||c>=f.length-1)&&(c=f.length-1);for(var g=b;c>=g;g++){var h="folder"==f[g].type?"-folder":"-file",i={LNG:LNG,G:G,list:f[g],index:g,type:G.userConfig.listType+h};e+=d(i)}return e},pathChildrenTree=function(a,b){if("string"==$.type(a))var c=$('.bodymain .file-continer .file[data-path="'+pathHashEncode(a)+'"]');else{var c=a;a=ui.fileLight.path(c)}if(1==c.length){var d=c.find(".children-more"),e=c.find(".children-more-cert"),f=$('.children-list[data-path-children="'+pathHashEncode(a)+'"]'),g=23;if(e.toggleClass("cert-open"),e.hasClass("cert-open")?f.removeClass("hidden"):f.addClass("hidden"),f.hasClass("child-already-init"))return void pathListOdd();c.addClass("loading-children"),pathGet(a,function(a){c.removeClass("loading-children");var e=makeHtml(a,0,getPageNumber()-1);""!=e&&(e=htmlListAction(a,e,!0)),f.html(e),ajaxLive(),f.addClass("child-already-init");var h=g+parseInt(d.css("padding-left"));f.find(".file .children-more").css("padding-left",h),pathListOdd(),"function"==typeof b&&b(a)})}},htmlListAction=function(a,b,c){if(""==b)return b='<div class="path-is-null">'+LNG.path_null+"</div>";var d=a.folderList.concat(a.fileList);if(d.length>pageLoadMax){var e=core.pathFather(d[0].path);"list"==G.userConfig.listType&&c?b+='<div data-path-children="'+pathHashEncode(e)+'" class="file folder-box" data-size="0"><div class="filename" style="width: 424px;"><span class="children-more"></span><div class="ico" filetype="folder"><i class="icon-plus-sign"></i></div><span class="title">'+LNG.file_load_all+"</span></div></div>":"split"==G.userConfig.listType&&(b+='<div data-path-children="'+pathHashEncode(e)+'" class="file folder-box split-load-more" data-size="0"><div class="filename"><div class="ico" filetype="folder"><i class="icon-plus-sign"></i></div><span class="title">'+LNG.file_load_all+"(to list)</span></div></div>")}return b},pathListOdd=function(){var a=0;ui.fileLight.fileListAll().each(function(){0==$(this).parents(".hidden").length&&(a%2==0?$(this).addClass("file2"):$(this).removeClass("file2"),a++)})},pathChildrenSplit=function(a,b){var c=$('.file[data-path="'+pathHashEncode(a)+'"]'),d=$(".bodymain .file-list-split .split-box[data-path='"+pathHashEncode(a)+"']");if(0==c.length)return void("function"==typeof b&&b());if(1==d.length)return d.nextAll().remove(),void("function"==typeof b&&b());var e=c.parent().parent();pathSplitCreate(a,b,e)},pathSplitCreate=function(a,b,c){pathGet(a,function(d){if("notExists"==d.pathReadWrite)return b(d);var e=makeHtml(d,0,getPageNumber()-1);if(e=htmlListAction(d,e,!0),c)if(c.nextAll(".split-box").length>0){var f=c.next(".split-box");f.attr("data-path",pathHashEncode(a)).find(".content").html(e),f.nextAll().remove()}else e='<div class="split-box" data-path="'+pathHashEncode(a)+'"><div class="content">'+e+'<div class="content-more"></div></div><div class="split-drag"></div></div>',$(e).insertAfter(c).data("jsonData",d);else e='<div class="split-box" data-path="'+pathHashEncode(a)+'"><div class="content">'+e+'<div class="content-more"></div></div><div class="split-drag"></div></div>',$(e).appendTo(".bodymain .file-list-split").data("jsonData",d);ajaxLive(),"function"==typeof b&&b()})},beforeSelectFileArr={},beforeListOpenArr={},beforeListOpen={},beforeListSplitSelect="",beforeScrollerLeft=0,f5Before=function(){if(!("icon"==G.userConfig.listType||beforeListOpenArr.length>0))if(beforeListOpenArr={},beforeListOpen={},"list"==G.userConfig.listType){var a=$(".child-already-init:visible");if(a.length<1)return;a.each(function(){var a=$(this),b=beforeListOpenArr,c=ui.fileLight.path(a,"data-path-children");beforeListOpen[c]=!1;for(var d=[c];0!=a.parents(".children-list").length;)a=a.parents(".children-list"),d.push(ui.fileLight.path(a,"data-path-children"));for(var e=d.length-1;e>=0;e--){var f=d[e];"undefined"!=typeof b[f]?b=b[f]:b[f]={}}})}else if("split"==G.userConfig.listType){var b=beforeListOpenArr;beforeScrollerLeft=$(".drag-upload-box").scrollLeft(),beforeListSplitSelect=ui.fileLight.path($(".file-list-split .split-box.split-select")),$(".bodymain .file-continer .split-box").each(function(){var a=ui.fileLight.path($(this));""!=a&&(b[a]={},b=b[a],beforeListOpen[a]=!1)})}},f5After=function(a){return"icon"==G.userConfig.listType||0==Object.keys(beforeListOpenArr).length?void f5AfterReloadFinished(a):("split"==G.userConfig.listType&&$(".file-list-split .split-box").remove(),void f5AfterReload(beforeListOpenArr,a))},f5AfterReload=function(a,b){$.each(a,function(a,c){var d=pathChildrenTree;"split"==G.userConfig.listType&&(d=pathSplitCreate),d(a,function(){beforeListOpen[a]=!0,0!=Object.keys(c).length?f5AfterReload(c,b):f5AfterReloadFinished(b)})}),f5AfterReloadFinished(b)},f5AfterReloadFinished=function(a){for(var b in beforeListOpen)if(beforeListOpen[b]===!1)return;$(".drag-upload-box").scrollLeft(beforeScrollerLeft),ui.fileSelect.selectSplit(beforeListSplitSelect),ui.path.setSelectByFilename(beforeSelectFileArr),beforeListOpenArr={},beforeListOpen={},beforeSelectFileArr={},beforeListSplitSelect="","function"==typeof a&&a()},f5=function(a,b,c){if(void 0==a&&(a=!0),void 0==b&&(b=!1),jsonDataSortTitle(),f5Before(),beforeSelectFileArr=ui.fileLight.getAllName(),a?pathGet(G.thisPath,function(a){G.jsonData=a,mainSetData(b),pathTypeChange(G.jsonData),loadMore(),resetTotalHeight(),f5After(c),core.isApp("desktop")?checkRecycle():ui.headerAddress.addressSet()},function(){$(Config.FileBoxSelector).html("")}):(G.jsonData=jsonDataSort(G.jsonData),mainSetData(b),pathTypeChange(G.jsonData),loadMore(),resetTotalHeight(),f5After(c)),!core.isApp("desktop")){var d=G.userID||G.sid;LocalData.set("thisPath:"+d,G.thisPath)}},sortFull=function(a,b,c){var b="down"==b?-1:1;return function(d,e){var f=pathTools.strSort(d[a],e[a]);return 0==f&&"function"==typeof c?c(d,e):f*b}},sortSimple=function(a,b,c){var b="down"==b?-1:1;return function(d,e){var f=d[a]>e[a]?1:d[a]==e[a]?0:-1;return 0==f&&"function"==typeof c?c(d,e):f*b}},jsonDataSort=function(a){a=jsonDatafilter(a);var b,c=600,d=G.userConfig.listSortField,e=G.userConfig.listSortOrder;return b=a.folderList.length>c?sortSimple:sortFull,a.folderList=a.folderList.sort(b(d,e,b("name",e))),b=a.fileList.length>c?sortSimple:sortFull,a.fileList=a.fileList.sort(b(d,e,b("name",e))),a},pathGet=function(a,b,c){var d=G.appHost+"explorer/pathList&path="+urlEncode(a);G.user&&(d=G.appHost+"share/pathList&user="+G.user+"&sid="+G.sid+"&path="+urlEncode(a)),$.ajax({url:d,dataType:"json",beforeSend:function(){$(".tools-left .msg").stop(!0,!0).fadeIn(200)},success:function(a){if($(".tools-left .msg").fadeOut(300),!a||!a.code)return Tips.tips(a),"function"==typeof c&&c(),!1;var d=jsonDataSort(a.data);"function"==typeof b&&b(d)},error:function(a,b,d){$(".tools-left .msg").fadeOut(300),core.ajaxError(a,b,d),"function"==typeof c&&c()}})},f5Callback=function(a){f5(!0,!1,a)},jsonDatafilter=function(a){if(!a)return a;if(void 0!=a.shareList&&(selfShare=a.shareList),a.filterSuccess===!0)return a;for(var b in a)if("fileList"==b||"folderList"==b)for(var c=0;c<a[b].length;c++){var d=a[b][c];if(d.mtime&&d.mtime.toString().length<=11)if(d.atime=date(LNG.time_type,d.atime),d.ctime=date(LNG.time_type,d.ctime),a.info&&a.info.pathType==G.KOD_USER_SHARE&&-1==trim(a.thisPath,"/").indexOf("/")){var e=parseInt(d.numView);e=isNaN(e)?0:e;var f=parseInt(d.numDownload);f=isNaN(f)?0:f;var g=date("Y/m/d ",d.mtime)+"  ";g+=LNG.share_view_num+e+"  "+LNG.share_download_num+f,d.mtime=g}else d.mtime=date(LNG.time_type,d.mtime);d.showName&&(d.name=d.showName),d.name=htmlEncode(d.name),d.sid&&"file"==d.type&&(d.ext=htmlEncode(core.pathExt(d.path))),pathIsShare(d.path)?d.metaInfo="path-self-share":pathIsFav(d.path)&&(d.metaInfo="tree-fav"),"number"==typeof d.isReadable&&0==d.isReadable?d.mode="["+LNG.not_read+"] "+d.mode:"number"==typeof d.isWriteable&&1==d.isWriteable?d.mode="["+LNG.system_role_write+"] "+d.mode:"number"==typeof d.isReadable&&1==d.isReadable&&(d.mode="["+LNG.only_read+"] "+d.mode),a.info&&a.info.pathType==G.KOD_USER_RECYCLE&&(d.menuType="menu-recycle-path")}return a.filterSuccess=!0,a},jsonDataSortTitle=function(){var up='<i class="font-icon icon-chevron-up"></i>',down='<i class="font-icon icon-chevron-down"></i>';$("#main-title .this").toggleClass("this").attr("id","").find("span").html(""),$("#main-title div[field="+G.userConfig.listSortField+"]").addClass("this").attr("id",G.userConfig.listSortOrder).find("span").html(eval(G.userConfig.listSortOrder))},pathIsShare=function(a){for(var b in G.selfShare)if(core.pathClear(G.selfShare[b].path)==core.pathClear(a))return!0;return!1},pathIsFav=function(a){var b=G.fav_list;for(var c in b)if(core.pathClear(c)==core.pathClear(a))return!0;return!1},checkRecycle=function(){$.ajax({url:G.appHost+"explorer/pathList&type=desktop&path="+G.KOD_USER_RECYCLE,dataType:"json",error:core.ajaxError,success:function(a){if(!a.code)return!1;var b=core.icon("recycle-full");0==a.data.folderList.length&&0==a.data.fileList.length&&(b=core.icon("recycle")),$(".menu-recycle-button .ico").html(b)}})},pathTypeChange=function(a){if(a.info){var b=a.info,c=b.pathType,d=a.pathReadWrite,e="menu-body-main menu-recycle-body menu-share-body",f=$(".drag-upload-box");b.canUpload=!0,(void 0!=d&&"writeable"!=d||c==G.KOD_GROUP_SHARE&&"owner"!=b.role&&1!=G.isRoot||c==G.KOD_USER_SHARE&&"owner"!=b.role&&1!=G.isRoot||c==G.KOD_GROUP_PATH&&"guest"==b.role&&1!=G.isRoot||c==G.KOD_USER_FAV||c==G.KOD_USER_RECYCLE||c==G.KOD_GROUP_ROOT_ALL||c==G.KOD_GROUP_ROOT_SELF)&&(b.canUpload=!1);var g=[G.KOD_USER_SHARE,G.KOD_USER_FAV,G.KOD_GROUP_ROOT_SELF,G.KOD_GROUP_ROOT_ALL],h=".kod-toolbar-recycle,.kod-toolbar-share";$(h).addClass("hidden"),c==G.KOD_USER_RECYCLE?(f.removeClass(e).addClass("menu-recycle-body"),$(".tools-left .kod-toolbar").addClass("hidden"),$(".kod-toolbar-recycle").removeClass("hidden")):-1!==g.indexOf(c)?-1===core.pathClear(rtrim(G.thisPath,"/")).indexOf("/")?(f.removeClass(e).addClass("menu-share-body"),$(".tools-left .kod-toolbar").addClass("hidden"),$(".kod-toolbar-share").removeClass("hidden"),b.id==G.userID?($(".menu-share-path-menu").find(".open-the-path,.share-edit,.remove").removeClass("hidden"),$(".menu-share-path-more").find(".remove").removeClass("hidden")):($(".menu-share-path-menu").find(".open-the-path,.share-edit,.remove").addClass("hidden"),$(".menu-share-path-more").find(".remove").addClass("hidden"))):(f.removeClass(e).addClass("menu-body-main"),$(".tools-left .kod-toolbar").addClass("hidden"),$(".kod-toolbar-path").removeClass("hidden")):(f.removeClass(e).addClass("menu-body-main"),$(".tools-lef .kod-toolbar").addClass("hidden"),$(".kod-toolbar-path").removeClass("hidden")),currentPathMenu(a)}},currentPathMenu=function(a){var b=a.info,c=a.pathReadWrite,d=b.pathType,e=".create-link,.create-project,.cute,.remove,.rname,.zip,.unzip-this,.unzip-folder,.newfile,.newfolder,.new-file-other,.app-create,.app-install,.past,.upload,.clone",f="disable",g=$(".kod-toolbar-path .btn").not(".toolbar-path-more"),h=$("ul.menu-folder,ul.menu-more,ul.menu-file,ul.file-continerMenu"),i=$(".select-button-show");b.canUpload?(h.find(e).removeClass(f),$(".path-tips").hide(),g.removeClass("disabled"),i.removeClass("hide")):(g.addClass("disabled"),h.find(e).addClass(f),$(".path-tips span").html(LNG.only_read),d==G.KOD_USER_RECYCLE||d==G.KOD_USER_SHARE?($(".path-tips").hide(),g.removeClass("disabled"),d==G.KOD_USER_SHARE&&G.userID!=b.id&&g.addClass("disabled")):$(".path-tips").show(),i.addClass("hide"));var j=$(".group-space-use");if((d==G.KOD_GROUP_PATH||d==G.KOD_GROUP_SHARE)&&G.isRoot||d==G.KOD_GROUP_PATH&&"owner"==b.role){var k=a.groupSpaceUse;if(k){var l=core.userSpaceHtml(k.sizeUse+"/"+k.sizeMax);j.removeClass("hidden").html(l)}else j.addClass("hidden")}else j.addClass("hidden");if(a.userSpace){var k=a.userSpace,l=core.userSpaceHtml(k.sizeUse+"/"+k.sizeMax);$(".user-space-info").html(l)}if("notExists"==c&&($(".path-tips span").html(LNG.not_exists),$(".path-tips").show()),$(".role-label-box").html(""),d==G.KOD_GROUP_SHARE){var m="<span class='label label-grey-light' title-timeout='0' title='"+LNG.group_guest_desc+"'>"+LNG.group_guest+"<span>";$(".role-label-box").html(m),G.isRoot&&$(".role-label-box").html("")}else if(d==G.KOD_GROUP_PATH&&b.groupRole){var m="<span class='label label-"+b.groupRole.style+"' title-timeout='0' title='"+LNG.group_role_lebel_desc+"'>"+b.groupRole.name+"<span>";$(".role-label-box").html(m)}(d==G.KOD_GROUP_ROOT_ALL||d==G.KOD_GROUP_ROOT_SELF||d==G.KOD_USER_FAV||d==G.KOD_GROUP_SHARE)&&$(".path-tips").hide(),1==G.isRoot&&b.adminRealPath?$(".admin-real-path").removeClass("hidden"):$(".admin-real-path").addClass("hidden")};return{f5:f5,f5Callback:f5Callback,pathTypeChange:pathTypeChange,pathChildrenTree:pathChildrenTree,pathChildrenSplit:pathChildrenSplit,init:function(){$(window).bind("resize",function(){resetTotalHeight(),core.isApp("desktop")?ui.resetDesktopIcon():ui.headerAddress.resetWidth()}),bindScrollLoadMore()}}});;define("app/path/tpl/file/list.html",[],"{{if itemPermission=G.isRoot?\"\":LNG.permission+' : '+list.mode+'&#10;'}}{{/if}} \n\n{{if list.menuType}}\n	{{if itemClassName = ' '+list.menuType + ' systemBox ' }}{{/if}}\n{{else}}\n	{{if type=='icon-folder' || type=='split-folder' || type=='list-folder' }}\n		{{if itemClassName = ' folder-box menu-folder '}}{{/if}}\n	{{else}}\n		{{if itemClassName = ' file-box menu-file '}}{{/if}}\n	{{/if}}\n{{/if}}\n{{if !list.sid && typeof(list.isReadable)!=\"undefined\"}}\n	{{if itemClassName += !list.isWriteable?' file-not-writeable ':''}}{{/if}}\n	{{if itemClassName += !list.isReadable?' file-not-readable ':''}}{{/if}}\n{{/if}}\n{{if typeof(list.exists)=='number' && list.exists==0}}\n	{{if itemClassName += ' file-not-exists '}}{{/if}} \n{{/if}}\n\n<!-- 图标模式文件夹 -->\n{{if type=='icon-folder'}}\n<div data-path=\"{{list.path |kod.window.pathHashEncode}}\"\nclass='file {{itemClassName}}'\ntitle='{{LNG.name}}:{{list.name}}&#10;{{itemPermission}}{{LNG.modify_time}} : {{list.mtime}}'\ndata-size=\"0\">\n	{{if !list.menuType}}<div class=\"item-select\"><div class=\"item-check\"></div></div>{{/if}}\n	<div class=\"item-menu\"><div class=\"cert\"></div></div>\n	<div class='ico' filetype='folder'>\n		{{fileIconMake('folder','icon',list)}}\n	</div>\n	{{if list.metaInfo}}\n		<div class='meta-info {{list.metaInfo}}'>{{list.metaInfo |kod.core.icon}}</div>\n	{{/if}}\n	<div class='filename'>\n		<span class='title db-click-rename' title=\"{{LNG.double_click_rename}}\">{{list.name}}</span>\n	</div>\n</div>\n\n<!-- 列表模式文件夹 -->\n{{else if type=='list-folder'}}\n<div data-path='{{list.path |kod.window.pathHashEncode}}'\nclass='file {{if index%2==0}}file2{{/if}} {{itemClassName}}'\ntitle='{{LNG.name}} : {{list.name}}&#10;{{itemPermission}}{{LNG.modify_time}} : {{list.mtime}}'\ndata-size=\"0\">\n	{{if !list.menuType}}<div class=\"item-select\"><div class=\"item-check\"></div></div>{{/if}}\n	<div class=\"item-menu\"><div class=\"cert\"></div></div>\n	<div class='filename'>\n		{{if list.metaInfo}}\n			<div class='meta-info {{list.metaInfo}}'>{{list.metaInfo |kod.core.icon}}</div>\n		{{/if}}\n		<span class=\"children-more\">\n			{{if list.isParent&&list.isReadable}}<i class=\"font-icon children-more-cert\"></i>{{/if}}\n		</span>\n		<div class='ico' filetype='folder'>\n			{{fileIconMake('folder','list',list)}}\n		</div>\n		<span class='title db-click-rename' title=\"{{LNG.double_click_rename}}\">{{list.name}}</span>\n	</div>\n	<div class='filetype'>{{LNG.folder}}</div>\n	<div class='filesize'></div>\n	<div class='filetime'>{{list.mtime || \"\"}}</div>\n	<div style='clear:both'></div>\n</div>\n{{if list.isParent&&list.isReadable}}\n<div data-path-children='{{list.path |kod.window.pathHashEncode}}' class=\"children-list hidden\"></div>\n{{/if}}\n\n<!-- 分栏模式文件夹 -->\n{{else if type=='split-folder'}}\n<div data-path='{{list.path |kod.window.pathHashEncode}}'\nclass='file file2 {{itemClassName}}'\ntitle='{{LNG.name}}:{{list.name}}&#10;{{itemPermission}}{{LNG.modify_time}} : {{list.mtime}}'\ndata-size=\"0\">\n	{{if !list.menuType}}<div class=\"item-select\"><div class=\"item-check\"></div></div>{{/if}}\n	<div class=\"item-menu\"><div class=\"cert\"></div></div>\n	<div class='filename'>\n		{{if list.metaInfo}}\n			<div class='meta-info {{list.metaInfo}}'>{{list.metaInfo |kod.core.icon}}</div>\n		{{/if}}\n		<div class='ico' filetype='folder'>\n			{{fileIconMake('folder','split',list)}}\n		</div>\n		<span class='title'>{{list.name}}</span>\n		<span class=\"children-open\">\n			{{if list.isReadable && typeof(list.menuType)==\"undefined\"}}\n				<i class=\"font-icon children-more-cert\"></i>\n			{{/if}}\n		</span>\n	</div>\n</div>\n\n<!-- 图标模式文件  draggable=\"true\"  ondragstart=\"return false;\"-->\n{{else if type=='icon-file'}}\n<div data-path='{{list.path |kod.window.pathHashEncode}}'\nclass='file {{itemClassName}}'\n{{if list.ext=='oexe'}}data-app='{{kod.window.base64Encode(kod.window.jsonEncode(list))}}'{{/if}}\ntitle='{{LNG.name}}:{{list.name}}&#10;{{LNG.size}}:{{list.size |pathTools.fileSize}}&#10;{{itemPermission}}{{LNG.modify_time}} : {{list.mtime}}'\ndata-size=\"{{list.size}}\">\n	{{if !list.menuType}}<div class=\"item-select\"><div class=\"item-check\"></div></div>{{/if}}\n	<div class=\"item-menu\"><div class=\"cert\"></div></div>\n	{{fileIconMake('file','icon',list)}}\n	{{if list.metaInfo}}\n		<div class='meta-info {{list.metaInfo}}'>{{list.metaInfo |kod.core.icon}}</div>\n	{{/if}}\n	<div class='filename'>\n		<span class='title db-click-rename' title=\"{{LNG.double_click_rename}}\">\n			{{if list.ext=='oexe'}}{{list.name.replace('.oexe','')}}{{else}}{{list.name}}{{/if}}\n		</span>\n	</div>\n</div>\n\n<!-- 列表模式文件 -->\n{{else if type=='list-file'}}\n<div data-path='{{list.path |kod.window.pathHashEncode}}'\nclass='file {{if index%2==0}}file2{{/if}} {{itemClassName}}'\n{{if list.ext=='oexe'}} data-app='{{kod.window.base64Encode(kod.window.jsonEncode(list))}}'{{/if}}\ntitle='{{LNG.name}}:{{list.name}}&#10;{{LNG.size}}:{{list.size |pathTools.fileSize}}&#10;{{itemPermission}}{{LNG.modify_time}} : {{list.mtime}}'\ndata-size=\"{{list.size}}\">\n	{{if !list.menuType}}<div class=\"item-select\"><div class=\"item-check\"></div></div>{{/if}}\n	<div class=\"item-menu\"><div class=\"cert\"></div></div>\n	<div class='filename'>\n		<span class=\"children-more\"></span>\n		{{fileIconMake('file','list',list)}}\n		{{if list.metaInfo}}\n			<div class='meta-info {{list.metaInfo}}'>{{list.metaInfo |kod.core.icon}}</div>\n		{{/if}}\n		<span class='title db-click-rename' title=\"{{LNG.double_click_rename}}\">\n			{{if list.ext=='oexe'}}{{list.name.replace('.oexe','')}}{{else}}{{list.name}}{{/if}}\n		</span>\n	</div>\n	<div class='filetype'>{{list.ext |kod.window.htmlEncode}} {{LNG.file}}</div>\n	<div class='filesize'>{{list.size |pathTools.fileSize}}</div>\n	<div class='filetime'>{{list.mtime || \"\"}}</div>\n	<div style='clear:both'></div>\n</div>\n\n<!-- 分栏模式文件 -->\n{{else if type=='split-file'}}\n<div data-path='{{list.path |kod.window.pathHashEncode}}'\nclass='file file2 {{itemClassName}}'\n{{if list.ext=='oexe'}} data-app='{{kod.window.base64Encode(kod.window.jsonEncode(list))}}'{{/if}}\ntitle='{{LNG.name}}:{{list.name}}&#10;{{LNG.size}}:{{list.size |pathTools.fileSize}}&#10;{{itemPermission}}{{LNG.modify_time}} : {{list.mtime}}'\ndata-size=\"{{list.size}}\">\n	{{if !list.menuType}}<div class=\"item-select\"><div class=\"item-check\"></div></div>{{/if}}\n	<div class=\"item-menu\"><div class=\"cert\"></div></div>\n	<div class='filename'>\n		{{fileIconMake('file','split',list)}}\n		{{if list.metaInfo}}\n			<div class='meta-info {{list.metaInfo}}'>{{list.metaInfo |kod.core.icon}}</div>\n		{{/if}}\n		<span class='title'>\n			{{if list.ext=='oexe'}}{{list.name.replace('.oexe','')}}{{else}}{{list.name}}{{/if}}\n		</span>\n	</div>\n</div>\n{{/if}}\n\n");;define("app/common/tree",["../path/pathOperate","../path/tpl/share.html","../path/tpl/fileinfo/fileInfo.html","../path/tpl/fileinfo/pathInfo.html","../path/tpl/fileinfo/pathInfoMore.html","../path/tpl/appEdit.html","../path/clipboard","../path/search","../path/tpl/search.html","../path/tpl/searchList.html"],function(a,b){var c,d,e=a("../path/pathOperate"),f=a("../path/clipboard"),g=a("../path/search"),h=!1;ui.pathOperate=e;var i=function(a,b){var c=["menu-tree-group","menu-tree-fav","menu-tree-folder-fav"];if(a&&a[0]&&-1!==$.inArray(a[0].menuType,c))return a;for(var d=[],e=[],f=0;f<a.length;f++)a[f].drop=!1,a[f].drag=!1,a[f].name=a[f].name,a[f].isParent&&a[f].children&&(a[f].children=i(a[f].children)),a[f].isWriteable,"folder"==a[f].type?e.push(a[f]):d.push(a[f]);return b?a:(e=e.sort(function(a,b){var a=a.name,b=b.name;return pathTools.strSort(a,b)}),d=d.sort(function(a,b){var a=a.name,b=b.name;return pathTools.strSort(a,b)}),e.concat(d))},j=function(){var a={},b="tree_open_"+md5(Config.pageApp),c=function(a){if(!LocalData.support())return{};if(void 0==a){var c=LocalData.getConfig(b);return 0==c?{}:c}LocalData.setConfig(b,a)},e=function(b){for(var c=0;c<b.length;c++){var d=b[c].path;void 0!==a[d]&&(b[c].open=a[d])}return b},f=function(){for(var b=d.getNodesByFilter(function(a){return 0==a.level?!0:!1}),e={},f=0;f<b.length;f++)e[b[f].path]=b[f].open;return a=e,c(a),a};return a=c(),{list:function(){return a},reset:e,save:function(){setTimeout(f,50)}}}(),k=function(){$.ajax({url:G.appHost+Config.treeAjaxURL+"&type=init",dataType:"json",error:function(){$("#folder-list-tree").html('<div style="text-align:center;">'+LNG.system_error+"</div>")},success:function(a){if(!a.code)return void $("#folder-list-tree").html('<div style="text-align:center;">'+LNG.system_error+"</div>");var b=i(a.data,!0);b=j.reset(b),$.fn.zTree.init($("#folder-list-tree"),n,b),d=$.fn.zTree.getZTreeObj("folder-list-tree")}}),$(".ztree .switch").die("mouseenter").live("mouseenter",function(){$(this).addClass("switch_hover")}).die("mouseleave").live("mouseleave",function(){$(this).removeClass("switch_hover")}),core.isApp("editor")&&(Mousetrap.bind("up",function(a){l(a,"up")}).bind("down",function(a){l(a,"down")}).bind("left",function(a){l(a,"left")}).bind("right",function(a){l(a,"right")}),Mousetrap.bind("enter",function(a){tree.open()}).bind(["del","command+backspace"],function(a){tree.remove()}).bind("f2",function(a){stopPP(a),tree.rname()}).bind(["ctrl+f","command+f"],function(a){stopPP(a),tree.search()}).bind(["ctrl+c","command+c"],function(a){tree.copy()}).bind(["ctrl+x","command+x"],function(a){tree.cute()}).bind(["ctrl+v","command+v"],function(a){tree.past()}).bind("alt+m",function(a){tree.create("folder")}).bind("alt+n",function(a){tree.create("file")}))},l=function(a,b){stopPP(a);var c=d.getSelectedNodes()[0];if(c)switch(b){case"up":var e=c.getPreNode();if(e){if(e.open&&e.children.length>0)for(;e.open&&e.children&&e.children.length>=1;)e=e.children[e.children.length-1]}else e=c.getParentNode();d.selectNode(e);break;case"down":if(c.open&&c.children.length>=1)e=c.children[0];else{var f=c,e=f.getNextNode()||f.getParentNode().getNextNode();try{for(;!e;)f=f.getParentNode(),e=f.getNextNode()||f.getParentNode().getNextNode()}catch(a){}}d.selectNode(e);break;case"left":c.isParent&&c.open?d.expandNode(c,!1):d.selectNode(c.getParentNode());break;case"right":c.open?d.selectNode(c.children[0]):d.expandNode(c,!0)}},m=function(){return core.isApp("editor")?!1:!0},n={async:{enable:!0,dataType:"json",url:function(){return G.appHost+Config.treeAjaxURL},autoParam:["ajax_path=path","tree_icon=tree_icon"],dataFilter:function(a,b,c){return c.code?i(c.data):null}},edit:{enable:!0,showRemoveBtn:!1,showRenameBtn:!1,drag:{isCopy:!1,isMove:!1}},view:{showLine:!1,selectedMulti:!1,expandSpeed:"fast",dblClickExpand:!1,addDiyDom:function(a,b){var c=15,d=$("#"+b.tId+"_switch"),e=$("#"+b.tId+"_ico");d.remove(),b.iconSkin=b.tree_icon;var f=b.tree_icon;if(b.ext?f=b.ext:b.tree_icon||(f=b.type),e.before(d).before('<span id="'+b.tId+'_my_ico"  class="tree_icon button">'+core.iconSmall(f)+"</span>").remove(),void 0!=b.ext&&e.attr("class","").addClass("file "+b.ext).removeAttr("style"),b.level>=1){var g="<span class='space' style='display: inline-block;width:"+c*b.level+"px'></span>";d.before(g)}d.before("<div class='menu-item'><div class='cert'></div></div>");var h="";void 0!=b.menuType?h=b.menuType:(("file"==b.type||"oexe"==b.ext)&&(h="menu-tree-file"),"folder"==b.type&&(h="menu-tree-folder"));var i=LNG.name+":"+b.name+"\n"+LNG.size+":"+pathTools.fileSize(b.size)+"\n"+LNG.modify_time+":"+b.mtime;"file"!=b.type&&(i=b.name),d.parent().addClass(h).attr("title",i),0==b.isWriteable&&d.parent().addClass("file-not-writeable"),0==b.isReadable&&d.parent().addClass("file-not-readable"),0===b.exists&&d.parent().addClass("file-not-readable")}},callback:{onClick:function(a,b,c){if(0==c.level&&j.save(),$(a.target).hasClass("menu-item")||$(a.target).parent().hasClass("menu-item")){var e=$("#"+c.tId+"_a"),f=e.find(".menu-item");return e.contextMenu({x:f.offset().left+f.width(),y:f.offset().top}),stopPP(a)}return d.selectNode(c),core.isApp("editor")&&"folder"==c.type?void d.expandNode(c):void(core.isApp("editor")||"folder"!=c.type?(kodApp.setLastOpenTarget($("#"+c.tId)),kodApp.open(o().path)):ui.path.list(c.path))},beforeDblClick:function(){return!0},onCollapse:function(a,b,c){0==c.level&&j.save()},onExpand:function(a,b,c){0==c.level&&j.save()},onDblClick:function(a,b,c){return $(a.target).hasClass("switch")||!m()?!1:void d.expandNode(c)},beforeRightClick:function(a,b){d.selectNode(b)},beforeAsync:function(a,b){b.ajax_name=b.name,b.ajax_path=b.path,$("#"+b.tId+"_my_ico").addClass("ico_loading")},onAsyncSuccess:function(a,b,e,f){return $("#"+e.tId+"_my_ico").removeClass("ico_loading"),0==f.data.length?void d.removeChildNodes(e):void("function"==typeof c&&(c(),c=void 0))},onRename:function(a,b,f,g){var h=f.getParentNode();if(d.getNodesByParam("name",f.name,h).length>1)return Tips.tips(LNG.name_isexists,!1),void d.removeNode(f);if(f.create){var i=f.path+"/"+f.name;"folder"==f.type?e.newFolder(i,function(a){c=function(){var a=d.getNodesByParam("name",f.name,h)[0];d.selectNode(a),t()},p(h)}):e.newFile(i,function(a){c=function(){var a=d.getNodesByParam("name",f.name,h)[0];d.selectNode(a),t()},p(h)})}else{var j=rtrim(f.path,"/"),k=core.pathFather(f.path)+f.name;e.rname(j,k,function(a){f.path=a,c=function(){var a=d.getNodesByParam("name",f.name,h)[0];d.selectNode(a),t(),"folder"==f.type&&ui.path.list(f.path)},p(h)})}},beforeDrag:function(a,b){for(var c=0,d=b.length;d>c;c++)if(b[c].drag===!1)return!1;return!0},beforeDrop:function(a,b,c,d){return c?c.drop!==!1:!0},onDrop:function(a,b,c,d,e){var g="",h="",i=c[0];(i.father||i.thisPath)&&(g=i.father+urlEncode(i.name),h=d.father+urlEncode(d.name),f.cuteDrag([{path:g,type:i.type}],h,function(){p(i)}))}}},o=function(a){if(d){var b=d.getSelectedNodes()[0],c="";return b?(c=b.type,("_null_"==c||void 0==c)&&(c="folder"),"file"==c&&(c=b.ext),a?[{path:b.path,type:c,node:b}]:{path:b.path,type:c,node:b}):{path:"",type:""}}},p=function(a){return a||(a=d.getSelectedNodes()[0]),a.isParent||(a=a.getParentNode())?void d.reAsyncChildNodes(a,"refresh"):void ui.tree.init()},q=function(){s(G.KOD_USER_FAV),t()},r=function(){q(),s(G.KOD_GROUP_ROOT_SELF),s(G.KOD_GROUP_ROOT_ALL)},s=function(a){var b=d.getNodesByParam("path",a,null);p(b[0])},t=function(){core.isApp("explorer")&&ui.f5()};return{makeParam:o,treeOpenHistory:j,treeDataSort:i,init:k,refresh:p,refreshPath:s,refreshFav:q,refreshGroup:r,zTree:function(){return d},openEditor:function(){kodApp.open(o().path)},openWindow:function(){kodApp.openWindow(o().path)},share:function(){e.share(o())},download:function(){"folder"==o().type?e.zipDownload(o(!0)):kodApp.download(o().path)},setSelect:function(a){return},open:function(){if(!($(".dialog-path-remove").length>=1)){var a=o();"oexe"==a.type&&(a.path=a.node),kodApp.setLastOpenTarget($(".curSelectedNode").parent()),kodApp.open(a.path,a.type)}},fav:function(){var a=o();a.name=a.node.name,a.node="null",e.fav(a)},createLink:function(a){var b=o();e.createLink(b.path,b.node.name,b.type,a,t)},search:function(){g("",o().path)},appEdit:function(){var a=o(),b=a.node;b.path=a.path,e.appEdit(b,function(){p(a.node.getParentNode())})},info:function(){e.info(o(!0))},copy:function(){f.copy(o(!0))},cute:function(){f.cute(o(!0))},copyTo:function(){core.api.pathSelect({type:"folder",title:LNG.copy_to},function(a){f.copyDrag(o(!0),a,"",!1)})},cuteTo:function(){core.api.pathSelect({type:"folder",title:LNG.cute_to},function(a){f.cuteDrag(o(!0),a,function(){s()})})},past:function(){var a=o();a.node.isParent||(a.node=a.node.getParentNode()),f.past(a.path,function(){t(),p(a.node)})},clone:function(){var a=o();a.node.isParent||(a.node=a.node.getParentNode()),f.copyDrag(o(!0),core.pathFather(a.path),function(){t(),p("folder"==a.type?a.node.getParentNode():a.node)},!0)},favRemove:function(a){e.favRemove(o().node.name,function(a){Tips.tips(a),q()})},remove:function(){var a=o(!0),b=a[0].node.getParentNode();a[0].type=a[0].node.type,a[0].type="folder"==a[0].type?"folder":"file",e.remove(a,function(){t(),p(b)})},checkIfChange:function(a){h||(h=!0,d&&(d.getNodesByFilter(function(b){var c=b.path;return"folder"==b.type&&core.pathClear(c)==core.pathClear(a)&&p(b),!1},!0),setTimeout(function(){h=!1},500)))},explorer:function(){var a=d.getSelectedNodes();if(a.length<=0){var b=d.getNodes();d.selectNode(b[0])}var c=o().path;"folder"!=o().type&&(c=core.pathFather(c)),core.explorer(c)},openProject:function(){core.explorerCode(o().path)},create:function(a){var b=d.getSelectedNodes();if(b.length<=0){var e=d.getNodes();d.selectNode(e[0])}else"file"==b[0].type&&d.selectNode(b[0].getParentNode());var f=o(),g=f.node,h=g.getParentNode(),i=0,j="folder"==a?"":"."+a,k="folder"==a?LNG.newfolder:LNG.newfile;if(0==d.getNodesByParam("name",k+j,h).length)k+=j;else{for(;d.getNodesByParam("name",k+"("+i+")"+j,h).length>0;)i++;k=k+"("+i+")"+j}var l={name:k,ext:j,type:a,create:!0,path:f.path};if(void 0!=g.children){var m=d.addNodes(g,l)[0];d.editName(m)}else"folder"!=g.type&&(g=g.getParentNode()),c=function(){var a=d.addNodes(g,l)[0];d.editName(a)},g.isParent?d.expandNode(g):c()},showFile:function(){var a=G.appHost+"share/file&sid="+G.sid+"&user="+G.user+"&path="+o().path;window.open(a)},rname:function(){var a=d.getSelectedNodes()[0];d.editName(a),a.beforeName=a.name}}});;define("app/path/pathOperate",["./tpl/share.html","./tpl/fileinfo/fileInfo.html","./tpl/fileinfo/pathInfo.html","./tpl/fileinfo/pathInfoMore.html","./tpl/appEdit.html"],function(a,b){var c=["/","\\",":","*","?",'"',"<",">","|"],d=["/","\\"],e=function(a){var b=function(a,b){for(var c=b.length,d=0;c>d;d++)if(a.indexOf(b[d])>0)return!0;return!1},e=d;return G.systemOS&&"windows"==G.systemOS&&(e=c),b(a,e)?(Tips.tips(LNG.path_not_allow+":    "+e.join(", "),!1),!1):!0},f=function(a){for(var b=[],c=function(a){return a?a.replace(/"/g,'\\\\"'):a},d=0;d<a.length;d++)b.push({type:c(a[d].type),path:urlEncode(c(a[d].path))});return"dataArr="+jsonEncode(b)},g=function(a,b){if(a){var c=core.pathThis(a);return e(c)?void $.ajax({dataType:"json",url:G.appHost+"explorer/mkfile&path="+urlEncode(a),beforeSend:function(){"function"==typeof b&&Tips.loading()},error:core.ajaxError,success:function(a){"function"==typeof b&&(Tips.close(a),b(a&&a.info?a.info:!1))}}):void("function"==typeof b&&b())}},h=function(a,b){if(a){var c=core.pathThis(a);return e(c)?void $.ajax({dataType:"json",url:G.appHost+"explorer/mkdir&path="+urlEncode(a),beforeSend:function(){"function"==typeof b&&Tips.loading()},error:core.ajaxError,success:function(a){"function"==typeof b&&(Tips.close(a),b(a&&a.info?a.info:!1))}}):void("function"==typeof b&&b())}},i=function(a,b,c){return a&&b&&a!=b?e(core.pathThis(b))?void $.ajax({type:"POST",dataType:"json",url:G.appHost+"explorer/pathRname",data:"path="+urlEncode(a)+"&rnameTo="+urlEncode(b),beforeSend:function(){Tips.loading()},error:core.ajaxError,success:function(a){Tips.close(a),"function"==typeof c&&c(a&&a.info?a.info:!1)}}):void("function"==typeof c&&c()):void 0},j=function(a,b,c,d){if(c=void 0==c?!1:c,d=void 0==d?!1:d,window.event&&window.event.shiftKey&&(d=!0),!(a.length<1)){var e=LNG.remove_title,g=LNG.remove_info,h=G.appHost+"explorer/pathDelete",i=f(a);if("share"==a[0].type&&(e=LNG.share_remove,g=LNG.share_remove_tips,h=G.appHost+"userShare/del"),d&&(g=LNG.remove_info_force,e=LNG.remove_title_force,h+="&shiftDelete=1"),("recycle-clear"==a[0].type||G.USER_RECYCLE&&G.thisPath==G.USER_RECYCLE||G.thisPath==core.pathFather(G.myhome)+"recycle_kod/")&&(g=LNG.recycle_clear_info,h=G.appHost+"explorer/pathDeleteRecycle",e=LNG.recycle_clear,"recycle-clear"==a[0].type&&(i="postEmpty=1")),a[0]&&a[0].path){var j="<b>"+htmlEncode(core.pathThis(a[0].path))+"</b>";"share"==a[0].type&&G.selfShare[a[0].path]&&(j="<b>"+htmlEncode(G.selfShare[a[0].path].name)+"</b>"),g=a.length>1?j+' ... <span class="label label-warning">'+a.length+LNG.remove_item+"</span><br/>"+g:j+"<br/>"+g}var k=function(){$.ajax({url:h,type:"POST",dataType:"json",data:i,beforeSend:function(){Tips.loading()},error:core.ajaxError,success:function(c){if(Tips.close(c),ShareData.frameTop("",function(a){a.ui.f5()}),"share"==a[0].type){G.selfShare=c.info;var d=$.dialog.list["share-dialog"];d&&d.close()}e==LNG.recycle_clear?core.playSound("recycle_clear"):core.playSound("file_remove"),"function"==typeof b&&b(c)}})};c?k():$.dialog({id:"dialog-path-remove",fixed:!0,icon:"question",title:e,padding:"40px 40px",lock:!0,background:"#000",opacity:.1,content:"<div style='width:200px'>"+g+"</div>",ok:k,cancel:!0})}},k=function(a){if(core.authCheck("explorer.fileDownload",!0)&&!(a.length<1)){var b=G.appHost+"explorer/zipDownload";"undefined"!=typeof G.sharePage&&(b=G.appHost+"share/zipDownload&user="+G.user+"&sid="+G.sid),$.ajax({url:b,type:"POST",dataType:"json",data:f(a),beforeSend:function(){Tips.loading(LNG.zip_download_ready)},error:core.ajaxError,success:function(a){Tips.close(a),Tips.tips(a);var b=G.appHost+"explorer/fileDownloadRemove&path="+urlEncode(a.info);b+="&accessToken="+G.accessToken,"undefined"!=typeof G.sharePage&&(b=G.appHost+"share/fileDownloadRemove&user="+G.user+"&sid="+G.sid+"&path="+urlEncode(a.info)),$.dialog({icon:"succeed",title:!1,time:2,content:LNG.download_ready+"..."}),$('<iframe src="'+b+'" style="display:none;width:0px;height:0px;"></iframe>').appendTo("body")}})}},l=function(a,b,c){a.length<1||(c||(c="zip"),$.ajax({url:G.appHost+"explorer/zip&fileType="+c,type:"POST",dataType:"json",data:f(a),beforeSend:function(){Tips.loading(LNG.ziping)},error:core.ajaxError,success:function(a){Tips.close(a),a.code&&core.playSound("drag_drop"),"function"==typeof b&&b(a.info)}}))},m=function(a,b,c){if(a){var d=function(a){$.ajax({url:a,beforeSend:function(){Tips.loading(LNG.unziping)},error:core.ajaxError,success:function(a){Tips.close(a),"function"==typeof b&&b(a)}})},e=G.appHost+"explorer/unzip&path="+urlEncode(a);"toThis"==c&&(e+="&toThis=1"),"toFolder"==c?core.api.pathSelect({type:"folder",title:LNG.unzip_to},function(a){e+="&pathTo="+a,d(e)}):d(e)}},n=function(a){var b=a.path,c=core.pathPre(b);if(c==G.KOD_GROUP_PATH||c==G.KOD_GROUP_SHARE||c==G.KOD_USER_SHARE)return void Tips.tips(LNG.path_can_not_share,"warning");var d="folder"==a.type?"folder":"file";b.length<1||core.authCheck("userShare.set",!0)&&$.ajax({url:G.appHost+"userShare/checkByPath&path="+urlEncode(b),dataType:"json",error:core.ajaxError,success:function(a){if(a.code)o(a.data);else{G.selfShare=a.info;var c={path:b,type:d,name:core.pathThis(b)};p(c,function(a){a.code?(G.selfShare=a.info,ui.f5(),o(a.data)):(Tips.tips(a),o(void 0,function(){$(".content-info input[name=type]").val(d),$(".content-info input[name=path]").val(b),$(".content-info input[name=name]").val(core.pathThis(b)+"(1)"),"file"==d&&($(".label-code-read").addClass("hidden"),$(".label-can-upload").addClass("hidden"))}))})}}})},o=function(b,c){0!=$(".share-dialog").length&&$(".share-dialog").shake(3,30,100),a.async(["lib/jquery.datetimepicker/jquery.datetimepicker.css","lib/jquery.datetimepicker/jquery.datetimepicker.js"],function(){q(b),void 0!=c&&c()})},p=function(a,b){$.ajax({url:G.appHost+"userShare/set",data:a,type:"POST",dataType:"json",beforeSend:function(a){$(".share-create-button").addClass("disabled")},error:function(){Tips.tips(LNG.error,!1)},success:function(a){$(".share-create-button").removeClass("disabled"),void 0!=b&&b(a)}})},q=function(b){var c=a("./tpl/share.html"),d=template.compile(c),e=d({LNG:LNG});$.dialog({id:"share-dialog",simple:!0,resize:!1,width:"425px",title:LNG.share,padding:"0",fixed:!0,content:e});var f="zh-CN"==G.lang?"ch":"en";$("#share-time").datetimepicker({format:"Y/m/d H:i",formatDate:"Y/m/d H:i",minDate:date("Y/m/d H:i",time()-86400),timepicker:!0,lang:f}),$("#share-time").unbind("blur").bind("blur",function(a){stopPP(a)});var g=function(a){if($(".share-setting-more").addClass("hidden"),void 0==a)$(".share-has-url").addClass("hidden"),$(".share-action .share-remove-button").addClass("hidden"),$(".content-info input[name=sid]").val(""),$(".content-info input[name=type]").val(""),$(".content-info input[name=name]").val(""),$(".content-info input[name=showName]").val(""),$(".content-info input[name=path]").val(""),$(".content-info input[name=timeTo]").val(""),$(".content-info input[name=sharePassword]").val(""),$(".share-view-info").addClass("hidden");else{a.options&&(a.codeRead=a.options.codeRead,a.canUpload=a.options.canUpload,a.notDownload=a.options.notDownload),"undefined"==typeof a.canUpload&&(a.canUpload=""),b=a,a.showName||(a.showName=a.name),$(".content-info input[name=sid]").val(a.sid),$(".content-info input[name=type]").val(a.type),$(".content-info input[name=name]").val(a.name),$(".content-info input[name=showName]").val(a.showName),$(".content-info input[name=path]").val(a.path),$(".content-info input[name=timeTo]").val(a.timeTo),$(".content-info input[name=sharePassword]").val(a.sharePassword),$(".share-view-info").removeClass("hidden"),"undefined"==typeof a.numDownload&&(a.numDownload=0),"undefined"==typeof a.numView&&(a.numView=0);var c=LNG.share_view_num+a.numView+"  "+LNG.share_download_num+a.numDownload;$(".share-view-info").html(c),"1"==a.codeRead?$(".content-info input[name=codeRead]").attr("checked","checked"):$(".content-info input[name=codeRead]").removeAttr("checked"),"1"==a.notDownload?$(".content-info input[name=notDownload]").attr("checked","checked"):$(".content-info input[name=notDownload]").removeAttr("checked"),"1"==a.canUpload?$(".content-info input[name=canUpload]").attr("checked","checked"):$(".content-info input[name=canUpload]").removeAttr("checked"),$(".share-has-url").removeClass("hidden"),"file"==a.type?($(".label-code-read").addClass("hidden"),$(".label-can-upload").addClass("hidden")):($(".label-code-read").removeClass("hidden"),$(".label-can-upload").removeClass("hidden"));var d=a.type;"folder"==a.type&&(d=1==a.codeRead?"codeRead":"folder");var e=G.appHost+"share/"+d+"&user="+G.userID+"&sid="+a.sid;$(".content-info .share-url").val(e),(a.timeTo||a.canUpload||a.codeRead||a.notDownload)&&$(".share-setting-more").removeClass("hidden"),$(".share-remove-button").removeClass("hidden"),$(".share-create-button").text(LNG.share_save),Hook.trigger("explorer.path.share.uiInit")}},h=function(){var a="";$(".share-dialog .content-info input[name]").each(function(){var b=urlEncode($(this).val());"checkbox"==$(this).attr("type")&&(b=$(this).attr("checked")?"1":""),a+="&"+$(this).attr("name")+"="+b}),p(a,function(a){a.code?(Tips.tips(LNG.success,!0),G.selfShare=a.info,ui.f5()):Tips.tips(a)})},i=function(){$(".share-action .share-remove-button").unbind("click").click(function(){j([{type:"share",path:b.sid}],function(){ui.f5()})}),$(".content-info .share-more").unbind("click").click(function(){$(".share-setting-more").toggleClass("hidden")}),$("[name=sharePassword]").unbind("click").click(function(){trim($(this).val())||$(this).val(roundString(5)),$(this).blur().textSelect()});var a=$(".share-dialog .btn.copy"),c=new ClipboardJS(a.get(0),{text:function(a){h();var b=trim($("[name=sharePassword]").val()),c=$(".share-url").val();return b.length>0&&(c=LNG.share_url+":"+c+"  "+LNG.share_password+":"+b),c}});c.on("success",function(a){$("input.share-url").textSelect()}),$(".share-action .share-create-button").unbind("click").click(function(){h();var a=$.dialog.list["share-dialog"];a&&a.close()}),$(".content-info .open-window").unbind("click").bind("click",function(){h(),window.open($("input.share-url").val())}),$(".share-action .share-qrcode-button").unbind("click").bind("click",function(){core.qrcode($("input.share-url").val())});var d=$("input.share-url");d.get(0);d.unbind("hover click").bind("hover click",function(a){d.textSelect()})};g(b),i()},r=function(a){$.ajax({url:G.appHost+"setting/set&k=wall&v="+urlEncode(a),dataType:"json",success:function(a){Tips.tips(a)}})},s=function(a,b,c,d,e){if(!(a.length<1)){var f,g=G.myDesktop;d&&(g=core.pathFather(a)),f="folder"==c?"ui.path.list(hashDecode('"+hashEncode(a)+"'));":"ui.path.open(hashDecode('"+hashEncode(a)+"'));";var h=urlEncode(g+b+".oexe"),i=core.getPathIcon(a);""==i.icon&&(i.icon=c),$.ajax({url:G.appHost+"explorer/mkfile&path="+h,type:"POST",dataType:"json",data:{content:jsonEncode({type:"app_link",content:f,icon:i.icon})},success:function(a){Tips.tips(a),a.code&&(ShareData.frameTop("",function(a){a.ui.f5()}),"function"==typeof e&&e(a.info))}})}},t=function(a,b){if(!(a.length<1)){var c=core.pathThis(a),d=core.pathFather(a);jsrun="core.explorerCode('"+urlEncode(a)+"');";var e=urlEncode(d+c+"_project.oexe");$.ajax({url:G.appHost+"explorer/mkfile&path="+e,type:"POST",dataType:"json",data:'content={"type":"app_link","content":"'+jsrun+'","icon":"folder.png"}',success:function(a){a.code&&"function"==typeof b&&b(a.info)}})}},u=function(a,b,c){if(a){var d=G.appHost+"explorer/imageRotate&rotate="+b+"&path="+urlEncode(a);$.ajax({url:d,beforeSend:function(){Tips.loading(LNG.loading)},error:core.ajaxError,success:function(a){return a?(Tips.close(a),void(a.code&&"function"==typeof c&&c(a))):void Tips.close(LNG.php_env_error_gd,!1)}})}},v=function(b){var c={};c.fileInfo=a("./tpl/fileinfo/fileInfo.html"),c.pathInfo=a("./tpl/fileinfo/pathInfo.html"),c.pathInfoMore=a("./tpl/fileinfo/pathInfoMore.html"),b.length<1&&(b=[{path:G.thisPath,type:"folder"}]);var d="info";1==b.length&&(d="file"==b[0].type?core.pathExt(b[0].path):"folder"),Tips.loading(LNG.getting),core.fileInfo(f(b),function(a){if(!a.code)return void Tips.close(a);Tips.close(LNG.get_success,!0);var e="pathInfoMore",f=LNG.info;1==b.length&&(e="folder"==b[0].type?"pathInfo":"fileInfo",f=core.pathThis(b[0].path),f.length>15&&(f=f.substr(0,15)+"...  "+LNG.info));var g=template.compile(c[e]),h=UUID();a.data.is_root=G.isRoot,a.data.LNG=LNG,a.data.atime=date(LNG.time_type_info,a.data.atime),a.data.ctime=date(LNG.time_type_info,a.data.ctime),a.data.mtime=date(LNG.time_type_info,a.data.mtime),a.data.sizeFriendly=pathTools.fileSize(a.data.size);var i=$.dialog({id:h,className:"pathInfo-dialog",padding:5,ico:core.iconSmall(d),fixed:!0,title:f,content:g(a.data),ok:!0}),j=15*$(".aui-outer .pathinfo").length;i.DOM.wrap.css({left:"+="+j+"px",top:"+="+j+"px"}),w(h,b)})},w=function(a,b){var c=$("."+a);c.find(".open-window").bind("click",function(){window.open(c.find("input.download-url").val())}),c.find(".qrcode").unbind("click").bind("click",function(){core.qrcode(c.find("input.download-url").val(),c.find(".qrcode").get(0))});var d=c.find(".file-md5-loading");if(1==d.length){var e=f(b);e+="&getMd5=1",core.fileInfo(e,function(a){d.removeClass("file-md5-loading"),a.code?d.html(a.data.fileMd5):d.html(LNG.error)})}var g=c.find("input.download-url"),h=g.get(0);g.unbind("hover click").bind("hover click",function(a){$(this).focus();var b=g.val().length;if($.browser.msie){var c=h.createTextRange();c.moveEnd("character",-h.value.length),c.moveEnd("character",b),c.moveStart("character",0),c.select()}else h.setSelectionRange(0,b)}),c.find(".edit-chmod").click(function(){var a=$(this).parent().find("input"),c=$(this);$.ajax({url:G.appHost+"explorer/pathChmod&mod="+a.val(),type:"POST",data:f(b),beforeSend:function(){c.text(LNG.loading)},error:function(a){c.text(LNG.button_save)},success:function(a){c.text(a.data).animate({opacity:.6},400,0).delay(1e3).animate({opacity:1},200,0,function(){c.text(LNG.button_save)}),a.code&&ui.f5()}})})},x=function(a,b,c){var d=function(){$.ajax({url:G.appHost+"fav/del&name="+urlEncode(a),dataType:"json",async:!1,success:function(a){"function"==typeof b&&b(a)}})};return c?void d():void $.dialog({id:"dialog-fav-remove",fixed:!0,icon:"question",title:LNG.fav_remove,width:200,padding:"40px 20px",content:LNG.fav_remove+"?",ok:d,cancel:!0})},y=function(a){if(a){if(-1==trim(core.pathClear(a.path),"/").indexOf("/")){var b=core.getPathIcon(a.path,a.name);""!=b.icon&&(a.ext=b.icon,a.name=b.name)}"/"==a.path&&(a.name="Home"),$.ajax({url:G.appHost+"fav/add",dataType:"json",data:a,success:function(a){Tips.tips(a),a.code&&!core.isApp("desktop")&&ui.tree.refreshFav()}})}},z=function(a){var b={};return b.type=a.find("input[type=radio]:checked").val(),b.content=a.find("textarea").val(),b.group=a.find("[name=group]").val(),a.find("input[type=text]").each(function(){var a=$(this).attr("name");b[a]=$(this).val()}),a.find("input[type=checkbox]").each(function(){var a=$(this).attr("name");b[a]="checked"==$(this).attr("checked")?1:0}),b},A=function(a){a.find(".type input").change(function(){var b=$(this).attr("apptype");a.find("[data-type]").addClass("hidden"),a.find("[data-type="+b+"]").removeClass("hidden")}),a.find(".app-edit-select-icon").unbind("click").bind("click",function(){var b=G.basicPath+"static/images/file_icon/icon_app/";G.isRoot||(b=""),core.api.pathSelect({type:"file",title:LNG.path_api_select_file,firstPath:b},function(b){var b=core.path2url(b);a.find(".app-edit-select-icon-input").val(b)})}),a.find(".size-full").unbind("click").bind("click",function(){var b=$(this).prop("checked");b?(a.find("[name=width]").val("100%"),a.find("[name=height]").val("100%")):(a.find("[name=width]").val("800"),a.find("[name=height]").val("600"))})},B=function(b,c,d){var e,f,g,h=LNG.app_create,i=UUID(),j=a("./tpl/appEdit.html"),k=template.compile(j);switch(void 0==d&&(d="userEdit"),"rootEdit"==d&&(b=b),"userEdit"==d||"rootEdit"==d?(h=LNG.app_edit,g=k({LNG:LNG,uuid:i,data:b,appType:G.settings.appType})):g=k({LNG:LNG,uuid:i,data:{},appType:G.settings.appType}),$.dialog({fixed:!0,width:450,id:i,padding:15,title:h,content:g,button:[{name:LNG.preview,callback:function(){return core.openApp(z(e)),!1}},{name:LNG.button_save,focus:!0,callback:function(){var a=z(e);switch(d){case"userAdd":var g=urlEncode(G.thisPath+a.name);f=G.appHost+"app/userApp&action=add&path="+g;break;case"userEdit":f=G.appHost+"app/userApp&path="+urlEncode(b.path);break;case"rootAdd":f=G.appHost+"app/add&name="+urlEncode(a.name);break;case"rootEdit":f=G.appHost+"app/edit&name="+urlEncode(a.name)+"&old_name="+urlEncode(b.name)}$.ajax({url:f,type:"POST",dataType:"json",data:{data:urlEncode(jsonEncode(a))},beforeSend:function(){Tips.loading()},error:core.ajaxError,success:function(a){if(Tips.close(a),a.code)if("rootEdit"==d||"rootAdd"==d){if(!a.code)return;ShareData.frameTop("Openapp_store",function(a){a.App.reload()})}else"function"==typeof c?c():ui.f5()}})}}]}),e=$("."+i),G.isRoot||$(".appbox .appline .right a.open").remove(),b.group&&e.find("option").eq(b.group).attr("selected",1),e.find(".aui-content").css("overflow","inherit"),d){case"userEdit":e.find(".name").addClass("hidden"),e.find(".desc").addClass("hidden"),e.find(".group").addClass("hidden"),e.find("option[value="+b.group+"]").attr("checked",!0),"url"!=b.type&&e.find(".appline[data-type=url]").addClass("hidden");break;case"userAdd":e.find(".desc").addClass("hidden"),e.find(".group").addClass("hidden"),e.find("[apptype=url]").attr("checked",!0),e.find("[data-type=url] input[name=resize]").attr("checked",!0),e.find("input[name=width]").attr("value","800"),e.find("input[name=height]").attr("value","600"),e.find("input[name=icon]").attr("value","oexe.png");break;case"rootAdd":e.find("[apptype=url]").attr("checked",!0),e.find("[data-type=url] input[name=resize]").attr("checked",!0),e.find("input[name=width]").attr("value","800"),e.find("input[name=height]").attr("value","600"),e.find("input[name=icon]").attr("value","oexe.png");break;case"rootEdit":e.find("option[value="+b.group+"]").attr("selected",!0),"url"!=b.type&&e.find(".appline[data-type=url]").addClass("hidden")}A(e)},C=function(){core.appStore()},D=function(a){a&&a.length<4&&"http"!=a.substring(0,4)||$.ajax({url:G.appHost+"app/getUrlTitle&url="+a,dataType:"json",beforeSend:function(){Tips.loading()},success:function(b){var c=b.data;c=c.replace(/[\/\\]/g,"_"),Tips.close(b);var d={content:a,type:"url",desc:"",group:"others",icon:"internet.png",name:c,resize:1,simple:0,height:"70%",width:"90%"},e=urlEncode(G.thisPath+c);a=G.appHost+"app/userApp&action=add&path="+e,$.ajax({url:a,type:"POST",dataType:"json",data:{data:urlEncode(jsonEncode(d))},success:function(a){Tips.close(a),a.code&&ui.f5()}})}})};return{makeJson:f,appEdit:B,appList:C,appAddURL:D,share:n,shareBox:o,setBackground:r,createLink:s,createProject:t,imageRotate:u,newFile:g,newFolder:h,rname:i,zipDownload:k,zip:l,unZip:m,info:v,remove:j,fav:y,favRemove:x}});;define("app/path/tpl/share.html",[],'<div class=\'content-box can-not-select\'>\n	<div class=\'title\'>\n		<div class="titleinfo">{{LNG.share_title}}</div>\n		<div class="share-view-info"></div>\n	</div>\n	<div class=\'content-info\'>\n		<div class="input-line share-has-url clear">\n			<span class="input-title">{{LNG.share_url}}:</span>\n			<div class="input-group">\n			  <input type="text" class="share-url" aria-label="Text input with segmented button dropdown">\n			  <div class="input-group-btn">\n				<button type="button" class="btn btn-default copy"><i class="icon-copy"></i>  &nbsp;{{LNG.copy}}</button>\n				<button type="button" class="btn btn-default open-window">{{LNG.open}}</button>\n				<!-- <button type="button" class="btn btn-default qrcode"><i class="icon-qrcode"></i></button> -->\n			  </div>\n			</div>\n			<div style="clear:both"></div>\n		</div>\n		<div class="input-line">\n			<span class="input-title">{{LNG.share_password}}:</span>\n			<input type="text" placeholder="{{LNG.share_password}}" name="sharePassword"/>\n			<i class="desc">{{LNG.share_password_desc}}</i>\n			<div style="clear:both"></div>\n		</div>\n		<div class="share-more-line"></div>\n		<button class="share-more btn btn-default btn-sm">{{LNG.more}}<b class="caret"></b></button>\n		<div class="share-setting-more">\n			<div class="input-line share-others">\n				<span class="input-title">{{LNG.others}}:</span>\n				<label class="label-code-read">\n					<input type="checkbox" name="codeRead" class="kui-checkbox size-small" value="">\n					<span>{{LNG.share_code_read}}</span>\n				</label>\n				<label>\n					<input type="checkbox" name="notDownload" class="kui-checkbox size-small" value="">\n					<span>{{LNG.share_not_download}}</span>\n				</label>\n				<label class="label-can-upload">\n					<input type="checkbox" name="canUpload" class="kui-checkbox size-small" value="">\n					<span>{{LNG.share_can_upload}}</span>\n				</label>\n\n				<div style="clear:both"></div>\n			</div>\n			<div class="input-line">\n				<span class="input-title">{{LNG.share_name}}:</span>\n				<input type="hidden" name="sid"/>\n				<input type="hidden" name="type"/>\n				<input type="hidden" name="name"/>\n				<input class="share-name" type="text" placeholder="{{LNG.share_name}}" name="showName"/>\n				<div style="clear:both"></div>\n			</div>\n			<div class="input-line">\n				<span class="input-title">{{LNG.share_path}}:</span>\n				<input class="share-name" type="text" name="path" value="" />\n				<div style="clear:both"></div>\n			</div>\n			<div class="input-line">\n				<span class="input-title">{{LNG.share_time}}:</span>\n				<input id="share-time" type="text" placeholder="{{LNG.share_time}}" name="timeTo"/>\n				<i class="desc">{{LNG.share_time_desc}}</i>\n				<div style="clear:both"></div>\n			</div>\n		</div>		\n	</div>\n	<div class="share-action">\n		<a href="javascript:void(0);" class="share-qrcode-button" title="{{LNG.qrcode}}"><i class="font-icon icon-qrcode"></i></a>\n		<button type="button" class="btn btn-primary share-create-button">{{LNG.share_create}}</button>\n		<a type="button" href="javascript:void(0);" class="share-remove-button">{{LNG.share_cancle}}</a>\n	</div>\n</div>');;define("app/path/tpl/fileinfo/fileInfo.html",[],"<div class='pathinfo'>\n	{{if downloadPath}}\n	<div class='p info-item-link'>\n		<div class='title' style=\"line-height: 30px;\">{{LNG.download_address}}:</div>\n		<div class=\"content input-group\">\n			<input type=\"text\" class=\"download-url\" value='{{downloadPath}}'>\n			<div class=\"input-group-btn\">\n				<button type=\"button\" class=\"btn btn-default open-window\">{{LNG.open}}</button>\n				<button type=\"button\" class=\"btn btn-default qrcode\"><i class=\"icon-qrcode\"></i></button>\n			</div>\n		</div>\n		<div style='clear:both'></div>\n	</div>\n	<div class='line'></div>\n	{{/if}}\n\n	<div class='p info-item-address'>\n		<div class='title'>{{LNG.address}}:</div>\n		<div class='content' id='id_fileinfo_path'>{{path |kod.window.htmlEncode}}</div>\n		<div style='clear:both'></div>\n	</div>\n	<div class='p info-item-size'>\n		<div class='title'>{{LNG.size}}:</div>\n		<div class='content'>{{sizeFriendly}} {{if size>1024}}<span>({{size.toLocaleString()}} Byte)</span>{{/if}}</div>\n		<div style='clear:both'></div>\n	</div>\n\n	{{if fileMd5}}\n	<div class='p info-item-md5'>\n		<div class='title'>MD5:</div>\n		<div class='content {{if fileMd5 == \"...\"}}file-md5-loading{{/if}}'>{{fileMd5}}</div>\n		<div style='clear:both'></div>\n	</div>\n	{{/if}}\n\n	{{if imageSize}}\n	<div class='p info-item-image-size'>\n		<div class='title'>{{LNG.image_size}}:</div>\n		<div class='content'>{{imageSize.width}} × {{imageSize.height}}</div>\n		<div style='clear:both'></div>\n	</div>\n	{{/if}}\n\n	<div class='line'></div>\n\n	{{if ctime}}\n	<div class='p info-item-create-time'>\n		<div class='title'>{{LNG.create_time}}</div>\n		<div class='content'>{{ctime}}</div>\n		<div style='clear:both'></div>\n	</div>\n	{{/if}}\n\n	{{if mtime}}\n	<div class='p info-item-modify-time'>\n		<div class='title'>{{LNG.modify_time}}</div>\n		<div class='content'>{{mtime}}</div>\n		<div style='clear:both'></div>\n	</div>\n	{{/if}}\n\n	{{if atime}}\n	<div class='p info-item-last-time'>\n		<div class='title'>{{LNG.last_time}}</div>\n		<div class='content'>{{atime}}</div>\n		<div style='clear:both'></div>\n	</div>\n	{{/if}}\n\n	{{if owner}}\n	<div class='p info-item-owner'>\n		<div class='title'>{{LNG.file_info_owner}}</div>\n		<div class='content'>{{owner}}</div>\n		<div style='clear:both'></div>\n	</div>\n	{{/if}}\n\n	{{if group}}\n	<div class='p info-item-group'>\n		<div class='title'>{{LNG.file_info_group}}</div>\n		<div class='content'>{{group}}</div>\n		<div style='clear:both'></div>\n	</div>\n	{{/if}}\n	\n	{{if mode && is_root==\"1\"}}\n	<div class='line'></div>\n	<div class='p info-item-mode change_permission'>\n		<div class='title'>{{LNG.permission}}:</div>\n		<div class='content'>{{mode}}</div>\n		<div style='clear:both'></div>\n	</div>\n	<div class='p info-item-chmod'>\n		<div class='title'>{{LNG.permission_edit}}:</div>\n		<div class='content'><input type='text' class='info-chmod' value='755'/>\n		<button class='btn btn-default btn-sm edit-chmod' type='button'>{{LNG.button_save}}</button></div>\n		<div style='clear:both'></div>\n	</div>\n	{{/if}}\n</div>\n");;define("app/path/tpl/fileinfo/pathInfo.html",[],"<div class='pathinfo'>\n	<div class='p info-item-address'>\n		<div class='title'>{{LNG.address}}:</div>\n		<div class='content'>{{path |kod.window.htmlEncode}}</div>\n		<div style='clear:both'></div>\n	</div>\n	<div class='p info-item-size'>\n		<div class='title'>{{LNG.size}}:</div>\n		<div class='content'>{{sizeFriendly}}{{if size>1024}}<span>({{size.toLocaleString()}} Byte)</span>{{/if}}</div>\n		<div style='clear:both'></div>\n	</div>\n	<div class='p info-item-count'>\n		<div class='title'>{{LNG.contain}}:</div> \n		<div class='content'>{{fileCount}}  {{LNG.file}},{{folderCount}}  {{LNG.folder}}</div>\n		<div style='clear:both'></div>\n	</div>\n	\n	<div class='line'></div>\n	{{if ctime}}\n	<div class='p info-item-create-time'>\n		<div class='title'>{{LNG.create_time}}</div>\n		<div class='content'>{{ctime}}</div>\n		<div style='clear:both'></div>\n	</div>\n	{{/if}}\n\n	{{if mtime}}\n	<div class='p info-item-modify-time'>\n		<div class='title'>{{LNG.modify_time}}</div>\n		<div class='content'>{{mtime}}</div>\n		<div style='clear:both'></div>\n	</div>\n	{{/if}}\n\n	{{if atime}}\n	<div class='p info-item-last-time'>\n		<div class='title'>{{LNG.last_time}}</div>\n		<div class='content'>{{atime}}</div>\n		<div style='clear:both'></div>\n	</div>\n	{{/if}}\n\n	{{if owner}}\n	<div class='p info-item-owner'>\n		<div class='title'>{{LNG.file_info_owner}}</div>\n		<div class='content'>{{owner}}</div>\n		<div style='clear:both'></div>\n	</div>\n	{{/if}}\n\n	{{if group}}\n	<div class='p info-item-group'>\n		<div class='title'>{{LNG.file_info_group}}</div>\n		<div class='content'>{{group}}</div>\n		<div style='clear:both'></div>\n	</div>\n	{{/if}}\n\n\n	{{if mode && is_root==\"1\"}}\n	<div class='line'></div>\n	<div class='p info-item-mode'>\n		<div class='title'>{{LNG.permission}}:</div>\n		<div class='content'>{{mode}}</div>\n		<div style='clear:both'></div>\n	</div>\n	<div class='p info-item-chmod'>\n		<div class='title'>{{LNG.permission_edit}}:</div>\n		<div class='content'><input type='text' class='info-chmod' value='755'/>\n		<button class='btn btn-default btn-sm edit-chmod' type='button'>{{LNG.button_save}}</button></div>\n		<div style='clear:both'></div>\n	</div>\n	{{/if}}\n</div>\n");;define("app/path/tpl/fileinfo/pathInfoMore.html",[],"<div class='pathinfo'>\n	<div class='p info-item-count' style='line-height:40px;'>\n		<div class='title'>{{LNG.info}}:</div>\n		<div class='content'>\n			{{fileCount}}  {{LNG.file}},{{folderCount}}  {{LNG.folder}}</div>\n		<div style='clear:both'></div>\n	</div>\n	<div class='line info-item-size'></div>\n	<div class='p'>\n		<div class='title'>{{LNG.size}}:</div>\n		<div class='content'>{{sizeFriendly}} {{if size>1024}}<span>({{size.toLocaleString()}} Byte)</span>{{/if}}</div>\n		<div style='clear:both'></div>\n	</div>\n	\n	{{if mode && is_root==\"1\"}}\n	<div class='line'></div>\n	<div class='p info-item-mode'>\n		<div class='title'>{{LNG.permission}}:</div>\n		<div class='content'>{{mode}}</div>\n		<div style='clear:both'></div>\n	</div>\n	<div class='p info-item-chmod'>\n		<div class='title'>{{LNG.permission_edit}}:</div>\n		<div class='content'><input type='text' class='info-chmod' value='755'/>\n		<button class='btn btn-default btn-sm edit-chmod' type='button'>{{LNG.button_save}}</button></div>\n		<div style='clear:both'></div>\n	</div>\n	{{/if}}\n</div>\n");;define("app/path/tpl/appEdit.html",[],"<div class='appbox'>\n	<div class='appline name'>\n		<div class='left'>{{LNG.name}}</div>\n		<div class='right'><input type='text' name='name' value='{{if data.name}}{{data.name}}{{/if}}'/></div>\n		<div style='clear:both;'></div>\n	</div>\n	<div class='appline desc'>\n		<div class='left'>{{LNG.app_desc}}</div>\n		<div class='right'><input type='text' name='desc' value='{{if data.desc}}{{data.desc}}{{/if}}'/></div>\n		<div style='clear:both;'></div>\n	</div>\n	<div class='appline icon'>\n		<div class='left'>{{LNG.app_icon}}</div>\n		<div class='right'><input type='text' name='icon' class=\"app-edit-select-icon-input\" value='{{if data.icon}}{{data.icon}}{{/if}}'/>\n			<button class='btn btn-default btn-sm open app-edit-select-icon btn-right'>\n				<i class=\"font-icon icon-folder-open\"></i>\n			</button>\n		</div>\n		<div style='clear:both;'></div>\n	</div>\n	<div class='appline group'>\n		<div class='left'>{{LNG.app_group}}</div>\n		<div class='right'>\n		<select name='group'>\n			{{each appType as val index}}\n			<option value ='{{val.type}}'>{{LNG[val.name] || val.name}}</option>\n			{{/each}}\n		<select>\n		</div>\n		<div style='clear:both;'></div>\n	</div>\n	<div class='appline type'>\n		<div class='left'>{{LNG.app_type}}</div>\n		<div class='right'>\n			<input class='w20 kui-radio size-small' type='radio' id='url{{uuid}}' apptype='url' value='url' name='{{uuid}}type' {{if data.type=='url'}}checked='checked'{{/if}}/>\n			<label for='url{{uuid}}'>{{LNG.app_type_url}}</label>\n			<input class='w20 kui-radio size-small' type='radio' id='app{{uuid}}' apptype='app' value='app' name='{{uuid}}type' {{if data.type=='app'}}checked='checked'{{/if}}/>\n			<label for='app{{uuid}}'>{{LNG.app_type_code}}</label>\n			<input class='w20 kui-radio size-small' type='radio' id='app_link{{uuid}}' apptype='app_link' value='app_link' name='{{uuid}}type' {{if data.type=='app_link'}}checked='checked'{{/if}}/>\n			<label for='app_link{{uuid}}'>{{LNG.app_type_link}}</label>\n		</div>\n		<div style='clear:both;'></div>\n	</div>\n\n	<div class='appline' data-type='url'>\n		<div class='left'>{{LNG.app_display}}</div>\n		<div class='right'>\n			<input class='w20 kui-checkbox size-small' type='checkbox' id='simple{{uuid}}' name='simple' {{if data.simple}}checked='true'{{/if}} />\n			<label for='simple{{uuid}}'>{{LNG.app_display_border}}</label>\n			<input class='w20 kui-checkbox size-small' type='checkbox' id='resize{{uuid}}' name='resize' {{if data.resize}}checked='true'{{/if}} />\n			<label for='resize{{uuid}}'>{{LNG.app_display_size}}</label>\n		</div>\n		<div style='clear:both;'></div>\n	</div>\n	<div class='appline' data-type='url'>\n		<div class='left'>{{LNG.app_size}}</div>\n		<div class='right'>\n			<input class='w30' type='text' name='width'  value='{{if data.width}}{{data.width}}{{/if}}'/>({{LNG.width}})&nbsp;&nbsp;\n			<input class='w30' type='text' name='height' value='{{if data.height}}{{data.height}}{{/if}}'/>({{LNG.height}})\n\n			<input class='w20 kui-checkbox size-small size-full' type='checkbox' id='size-full{{uuid}}' \n				{{if data.width=='100%' && data.height=='100%'}}checked='true'{{/if}} />\n			<label for='size-full{{uuid}}'>{{LNG.full_screen}}</label>\n		</div>\n		<div style='clear:both;'></div>\n	</div>\n	<div class='appline content'>\n		<div class='left hidden' data-type='app'>{{LNG.app_code}}</div>\n		<div class='left hidden' data-type='app_link'>{{LNG.app_code}}</div>\n		<div class='left' data-type='url'>{{LNG.app_url}}</div>\n		<div class='right'><textarea name='content'>{{if data.content}}{{data.content}}{{/if}}</textarea></div>\n		<div style='clear:both;'></div>\n	</div>\n</div>\n");;define("app/path/clipboard",[],function(a,b){var c=function(a){return ui.path.pathOperate.makeJson(a)},d=function(a){a.length<1||$.ajax({url:G.appHost+"explorer/pathCopy",type:"POST",dataType:"json",data:c(a),error:core.ajaxError,success:function(a){Tips.tips(a)}})},e=function(a){a.length<1||$.ajax({url:G.appHost+"explorer/pathCute",type:"POST",dataType:"json",data:c(a),error:core.ajaxError,success:function(a){Tips.tips(a)}})},f=function(a,b){a&&(Tips.loading(LNG.moving),setTimeout(function(){var c=G.appHost+"explorer/pathPast&path="+urlEncode(a);$.ajax({url:c,dataType:"json",error:core.ajaxError,success:function(a){Tips.close(a.data,a.code),"function"==typeof b&&b(a.info)}})},50))},g=function(a,b,d){b&&$.ajax({url:G.appHost+"explorer/pathCuteDrag",type:"POST",dataType:"json",data:c(a)+"&path="+urlEncode(b+"/"),beforeSend:function(){Tips.loading(LNG.moving)},error:core.ajaxError,success:function(a){Tips.close(a),a.code&&core.playSound("drag_drop"),"function"==typeof d&&d(a.info)}})},h=function(a,b,d,e){b&&(void 0==e&&(e=0),$.ajax({url:G.appHost+"explorer/pathCopyDrag",type:"POST",dataType:"json",data:c(a)+"&path="+urlEncode(b+"/")+"&filename_auto="+Number(e),beforeSend:function(){Tips.loading(LNG.moving)},error:core.ajaxError,success:function(a){Tips.close(a),a.code&&core.playSound("drag_drop"),"function"==typeof d&&d(a.info)}}))},i=function(a,b){var c="style='height:150px;border-left: 3px solid #def;overflow:auto;margin:20px;background: #f0f8ff;padding:20px;width:300px'",d="<div "+c+">"+LNG.clipboard_null+"</div>";if(0!=a.length){d="<div "+c+"><b>"+LNG.clipboard_state+LNG[b]+"</b><br/>";for(var e=40,f=0;f<a.length;f++){var g=a[f],h=g.path;h=h.length<e?h:"..."+h.substr(-e),d+="<br/>"+g.type+": <a href='javascript:kodApp.open(\""+htmlEncode(g.path)+'","'+g.type+"\");'>"+h+"</a>"}d+='<br/><button class="btn btn-sm btn-default mt-10 clipboard-clear" onclick="">'+LNG.clipboard_clear+"</button></div>"}return d},j=function(){$.ajax({url:G.appHost+"explorer/clipboard",dataType:"json",error:core.ajaxError,success:function(a){a.code&&($.dialog({id:"dialog-clipboard",title:LNG.clipboard,width:400,content:i(a.data,a.info)}),$(".clipboard-clear").one("click",function(){Tips.tips(LNG.success),$.get(G.appHost+"explorer/clipboard&clear=ok"),$.dialog.list["dialog-clipboard"].close()}))}})};return{copy:d,cute:e,past:f,cuteDrag:g,copyDrag:h,clipboard:j}});;define("app/path/search",["./tpl/search.html","./tpl/searchList.html"],function(a,b){var c=a("./tpl/search.html"),d=a("./tpl/searchList.html");return function(a,b){b||(b=G.thisPath);var e,f,g=function(){var d=trim(core.pathClear(b),"/");if(0==d.indexOf(G.KOD_USER_SHARE)&&-1==d.indexOf("/")||d==G.KOD_USER_FAV||d==G.KOD_GROUP_ROOT_ALL)return void Tips.tips(LNG.path_cannot_search,!1);template.helper("searchResultPrase",j);var g=template.compile(c);0==$(".dialog-do-search").length?(e=$.dialog({id:"dialog-do-search",padding:0,fixed:!0,ico:core.icon("search"),resize:!0,title:LNG.search,width:460,height:480,content:g({LNG:LNG})}),f=l(),f.path=b,""!=a&&(f.search=a),$("#search-path").val(f.path),$("#search-value").val(f.search),k()):($.dialog.list["dialog-do-search"].display(!0),a&&$("#search-value").val(a),$("#search-path").val(b),i())},h=function(){return f={search:$("#search-value").val(),path:$("#search-path").val(),is_content:Number($("#search-is-content").is(":checked")),is_case:Number($("#search-is-case").is(":checked")),ext:$("#search-ext").val()}},i=function(){h(),n(f)},j=function(a){var b=htmlEncode($("#search-value").val());if(a=htmlEncode(a),f.is_case)a=a.replace(b,'<span class="keyword">'+b+"</span>");else{var c=a.toLowerCase().indexOf(b.toLowerCase());a=a.substr(0,c)+'<span class="keyword">'+a.substr(c,b.length)+"</span>"+a.substr(c+b.length)}return a},k=function(){$("#search-value").die("keyup").live("keyup",function(a){core.isApp("editor")||ui.path.setSearchByStr($(this).val())}),$("#search-value,#search-ext,#search-path").keyEnter(i),$(".search-header .btn").die("click").live("click",i),$(".search-result .file-item .file-info").die("click").live("click",function(a){var b=$(this).parent();return b.toggleClass("open"),b.find(".result-item").slideToggle(200),stopPP(a),!1}),$(".search-result .file-item .file-info .goto").die("click").live("click",function(a){var b=$(this).parent().parent(),c=pathHashDecode(b.attr("data-path")),d=core.pathFather(c);return core.openPath(d),setTimeout(function(){core.isApp("explorer")&&ui.path.setSelectByFilename(c)},200),stopPP(a),!1}),$(".search-result .file-item .file-info .title").die("click").live("click",function(a){var b=$(this).parent().parent(),c=pathHashDecode(b.attr("data-path"));return kodApp.setLastOpenTarget(b),kodApp.open(c,b.attr("data-ext")),stopPP(a),!1}),$(".search-result .file-item .result-info").die("click").live("click",function(a){var b=$(this).parent().parent(),c=pathHashDecode(b.attr("data-path"));$(".search-result .file-item .result-info.this").removeClass("this"),$(this).addClass("this");var d=parseInt($(this).find(".line").attr("data-line"));return ShareData.data("FILE_SEARCH_AT",{search:$("#search-value").val(),line:d,lineIndex:$(this).parent().find("[data-line="+d+"]").index($(this).find(".line"))}),kodApp.open(c,b.attr("data-ext"),"aceEditor"),stopPP(a),!1}),$(".search-header input[type=checkbox]").on("click",function(){h(),l(f)})},l=function(a){var b="box_search_config";if(void 0==a){var a=LocalData.getConfig(b);return a||(a={search:"",is_content:0,is_case:0,ext:""}),$("#search-value").val(a.search).textSelect(),a.is_content?$("#search-is-content").attr("checked","checked"):$("#search-is-content").removeAttr("checked"),a.is_case?$("#search-is-case").attr("checked","checked"):$("#search-is-case").removeAttr("checked"),$("#search-ext").val(a.ext),a}return LocalData.setConfig(b,a)},m=function(a){var b=$(".file-items"),c=$(".search-desc");if(!a.code)return c.html(a.data),void b.html("");if(0==a.data.fileList.length&&0==a.data.folderList.length)return c.html(LNG.search_null),void b.html("");var e=template.compile(d);if(b.html(e({code:a.code,data:a.data,LNG:LNG})),f.is_content){for(var g=a.data.fileList,h=0,i=0;i<g.length;i++)g[i].searchInfo&&(h+=g[i].searchInfo.length);c.html(LNG.search_result+": <b>"+h+"(in "+g.length+" files)</b>"),a.data.error_info&&c.html("<span>"+LNG.seach_result_too_more+"</span>")}else c.html(a.data.fileList.length+" "+LNG.file+", "+a.data.folderList.length+LNG.folder+".")},n=function(a){l(a),$("#search-value").textFocus();var b=$(".file-items"),c=$(".search-desc");if(!a.search||!a.path)return c.html(LNG.search_info),void b.html("");var d=G.appHost+"explorer/search";"undefined"!=typeof G.sharePage&&(d=G.appHost+"share/search&user="+G.user+"&sid="+G.sid),$.ajax({url:d,dataType:"json",type:"POST",data:a,beforeSend:function(){c.hide().html(LNG.searching+'<img src="'+G.staticPath+'images/common/loading.gif">').fadeIn(100)},error:function(a,b,d){core.ajaxError(a,b,d),c.html(LNG.error)},success:function(a){m(a)}})};g()}});;define("app/path/tpl/search.html",[],"<div class='do-search-box'>\n	<div class='search-header'>\n		<div class='s_br'>\n			<input type='text' id='search-value'/><button class=\"btn btn-default btn-sm btn-right\"><i class=\"font-icon icon-search\"></i></button>\n			<div style='float:right'>{{LNG.path}}:<input type='text' id='search-path' title=\"\" title-data=\"#search-path\" title-timeout=\"100\"/></div>\n		</div>\n		<div class='s_br'>\n			<input type='checkbox' id='search-is-content' class=\"kui-checkbox size-small\"/>\n			<label for='search-is-content'>{{LNG.search_content}}</label>\n			<input type='checkbox' id='search-is-case' class=\"kui-checkbox size-small\"/>\n			<label for='search-is-case'>{{LNG.search_uplow}}</label>\n			<div style='float:right'>\n				{{LNG.file_type}}:<input type='text' id='search-ext' title='{{LNG.search_ext_tips}}' title-timeout=\"100\"/>\n			</div>\n		</div>\n	</div>\n	<div class=\"search-desc\"></div>\n	<div class='search-result'>\n		<ul class=\"file-items\"></ul>\n	</div>\n</div>\n\n");;define("app/path/tpl/searchList.html",[],'<!-- 文件夹列表 -->\n{{each data.folderList v i}}\n	 <li class="file-item open" data-path="{{v.path | kod.window.pathHashEncode}}" data-type="folder" data-ext="folder">\n		<div class="file-info">\n			<span class="switch"><i class="font-icon icon-file-text-alt"></i></span>\n			<span class="file-icon">{{\'folder\' |kod.core.icon}}</span>\n			<span class="title" title="{{LNG.goto}} {{v.path | kod.window.htmlEncode}}">{{v.name | searchResultPrase}}</span>\n			<span class="goto" title="{{LNG.open_the_path}}"><i class="icon-folder-open-alt"></i></span>\n		</div>\n	</li>\n{{/each}}\n\n<!-- 文件列表 -->\n{{each data.fileList v i}}\n	{{if v.searchInfo}}\n	<li class="file-item open" data-path="{{v.path | kod.window.pathHashEncode}}" data-type="file" data-ext="{{v.ext}}">\n		<div class="file-info file-result">\n			<span class="switch"><i class="font-icon icon-caret-right"></i></span>\n			<span class="file-icon">{{v.ext |kod.core.icon}}</span>\n			<span class="title" title="{{LNG.goto}} {{v.path | kod.window.htmlEncode}}">\n				{{v.name | kod.window.htmlEncode}}\n			</span>\n			<span class="result-num">{{v.searchInfo.length}}</span>\n			<span class="goto" title="{{LNG.open_the_path}}"><i class="icon-folder-open-alt"></i></span>\n		</div>\n		<ul class="result-item">\n			{{each v.searchInfo value index}}\n			<li class="result-info">\n				<span class="line" data-line="{{value.line}}">{{value.line}}:</span>\n				<span class="search-info">{{@value.str | searchResultPrase}}</span>\n			</li>\n			{{/each}}\n		</ul>\n	</li>\n	{{else}}\n	<li class="file-item open" data-path="{{v.path | kod.window.pathHashEncode}}" data-type="file-name" data-ext="{{v.ext}}">\n		<div class="file-info">\n			<span class="switch"><i class="font-icon icon-file-text-alt"></i></span>\n			<span class="file-icon">{{v.ext |kod.core.icon}}</span>\n			<span class="title" title="{{LNG.goto}} {{v.path | kod.window.htmlEncode}}">{{v.name | searchResultPrase}}</span>\n			<span class="goto" title="{{LNG.open_the_path}}"><i class="icon-folder-open-alt"></i></span>\n		</div>\n	</li>\n	{{/if}}\n{{/each}}\n\n');;define("app/path/path",["./pathOperate","./tpl/share.html","./tpl/fileinfo/fileInfo.html","./tpl/fileinfo/pathInfo.html","./tpl/fileinfo/pathInfoMore.html","./tpl/appEdit.html","./clipboard","./search","./tpl/search.html","./tpl/searchList.html","./tpl/file/create.html"],function(a,b){var c=a("./pathOperate"),d=a("./clipboard"),e=a("./search"),f=void 0,g=function(){if(lodash.get(G,"jsonData.info.pathType")==G.KOD_USER_RECYCLE||lodash.get(G,"jsonData.info.pathType")==G.KOD_USER_SHARE)return!0;if(ui.fileLight){var a=ui.fileLight.fileListSelect();if(a.hasClass("systemBox"))return Tips.tips(LNG.path_can_not_action,"warning"),!1}return!0},h=function(a,b,c,d){if(a){if(!core.isApp("explorer"))return void core.explorer(a);if(a==G.thisPath)return void(void 0!=b&&""!=b&&Tips.tips(LNG.path_is_current,"info"));G.thisPath=a.replace(/\\/g,"/"),G.thisPath=a.replace(/\/+/g,"/"),"/"!=G.thisPath.substr(G.thisPath.length-1)&&(G.thisPath+="/");var e=$(".dialog-file-upload");if(e.length>0){var f="none"==e.css("display")||"hidden"==e.css("visibility");f||core.upload()}if("undefined"!=typeof G.sid&&(window.location.href="#"+urlEncode(G.thisPath)),core.playSound("folder_open"),d||ui.path.history.add(G.thisPath),"split"==G.userConfig.listType){var g=$(".split-box .file[data-path="+pathHashEncode(G.thisPath)+"]");if(0!=g.length&&0!=g.find(".children-more-cert").length)return void g.click();$(".file-list-split .split-box").remove()}ui.f5Callback(function(){"function"==typeof c&&c()})}},i=function(){var a=[],b=60,c=0,d=function(d){var e=a.length-1;return e==c&&a[e]==d?g():(c!=e&&(a=a.slice(0,c+1)),a[a.length-1]!=d&&a.push(d),a.length>=b&&(a=a.slice(1)),c=a.length-1,void g())},e=function(){c+1<=a.length-1&&(h(a[++c],"","",!0),g())},f=function(){c-1>=0&&(h(a[--c],"","",!0),g())},g=function(){var b="disable",d=a.length-1;$("#btn-history-next").addClass(b),$("#btn-history-back").addClass(b),(0!=c||0!=d)&&(c>0&&d>=c&&$("#btn-history-back").removeClass(b),c>=0&&c!=d&&$("#btn-history-next").removeClass(b))};return{add:d,back:f,next:e,list:function(){return a}}}(),j=function(a){if(void 0!=a){"string"==typeof a&&(a=[a]);for(var b=0;b<a.length;b++)a[b]=trim(a[b],"/");ui.fileLight.clear(),ui.fileLight.fileListAll().each(function(b,c){var d=trim(ui.fileLight.path($(this)),"/");d&&-1!=$.inArray(d,a)&&$(this).addClass(Config.SelectClassName)}),ui.fileLight.select(),ui.fileLight.setInView()}},k=function(a){if(""!=a){if(a=a.toLowerCase(),void 0==f||G.thisPath!=f.path||a!=f.key){var b=[];ui.fileLight.fileListAll().each(function(){var c=ui.fileLight.name($(this)),d=ui.fileLight.path($(this));c&&a==c.substring(0,a.length).toLowerCase()&&b.push(d)}),f={key:a,path:G.thisPath,index:0,list:b}}0!=f.list.length&&(Tips.pop(f.key),j(f.list[f.index++]),f.index==f.list.length&&(f.index=0))}},l=function(a){return""==a?void ui.fileLight.clear():(ui.fileLight.clear(),ui.fileLight.fileListAll().each(function(b,c){var d=ui.fileLight.name($(this));-1!=d.toLowerCase().indexOf(a)&&$(ui.fileLight.fileListAll()).eq(b).addClass(Config.SelectClassName)}),ui.fileLight.select(),void ui.fileLight.setInView())},m=function(a,b){var c=G.thisPath+a;return void 0==b&&(c+="/"),0!=$('.bodymain .file[data-path="'+pathHashEncode(c)+'"]').length?!0:!1},n=function(a,b){var c,d=0,e="."+b;if((void 0==b||""==b)&&(e=""),!m(a+e,b))return a+e;for(c=a+"(0)"+e;m(c,b);)d++,c=a+"("+d+")"+e;return c},o=function(a,b){var c,d=0,e=G.jsonData.folderList,f=G.userConfig.listSortField,g=G.userConfig.listSortOrder,h={name:a,size:0,ext:b,mtime:date("Y/m/d H:i:s",time())};if(core.isApp("desktop")&&(d+=$(".menu-default").length+1),"file"==b){h.ext=core.pathExt(a);var i={docx:9623,html:221,php:6,pptx:28702,xlsx:4659};h.size=i[h.ext]||0,e=G.jsonData.fileList,d+=G.jsonData.folderList.length}if("down"==g){for(c=0;c<e.length;c++){var j=pathTools.strSort(e[c][f],h[f]),k=pathTools.strSort(e[c].name,h.name);if(-1==j||0==j&&-1==k)break}c--}else for(c=e.length-1;c>=0;c--){var j=pathTools.strSort(e[c][f],h[f]),k=pathTools.strSort(e[c].name,h.name);if(-1==j||0==j&&-1==k)break}return c+d},p=function(b,d,e){ui.fileLight.clear();var f=o(d,b),g=$(Config.FileBoxSelector);"split"==G.userConfig.listType&&(g=$(".split-box.split-select").find(".content"));var h=a("./tpl/file/create.html"),i=template.compile(h),j=i({type:b,newname:d,ext:e,listType:G.userConfig.listType});if(-1==f||0==g.find(".file").length)g.html(j+g.html());else{var k=g.children(".file:eq("+f+")");0==k.length&&(k=g.children(".file").last()),"list"==G.userConfig.listType?k.next().hasClass("children-list")&&(k=k.next()):"split"==G.userConfig.listType&&(k=$(".split-box.split-select .file").last()),$(j).insertAfter(k)}var l=$(".textarea .newfile"),n=d.length;"folder"!=b&&-1!=d.indexOf(".")&&(n=d.length-e.length-1),l.textSelect(0,n),"split"==G.userConfig.listType&&l.css("width",l.parents(".filename").width()-40),"icon"==G.userConfig.listType?($("#makefile").css({height:$("#makefile").width()+15,transition:"none"}),$("#makefile .textarea").css("margin-top","-13px")):$("#makefile .x-item-file").addClass("small"),core.isApp("desktop")&&ui.resetDesktopIcon();var p=function(a){a===!1?$("#makefile").remove():r(a)},q=function(a){if(""==trim(a))return $("#makefile").remove(),void Tips.tips(LNG.error,"warning");if(m(a,e))$("#makefile").remove(),Tips.tips(LNG.path_exists,"warning");else{var d=G.thisPath;"split"==G.userConfig.listType&&(d=ui.fileLight.path($(".file-icon-edit").parents(".split-box"))),"folder"==b?c.newFolder(d+a,p):c.newFile(d+a,p)}};ui.fileLight.setInView($(".file-continer .file-icon-edit")),l.focus().autoTextarea(),l.unbind("keydown").keydown(function(a){13==a.keyCode&&(stopPP(a),a.preventDefault(),q(l.attr("value"))),27==a.keyCode&&$("#makefile").remove()}).unbind("blur").blur(function(){q(l.attr("value"))})},q=function(){var a="",b=ui.fileLight.fileListSelect(),d=ui.fileLight.name(b),e=core.pathFather(ui.fileLight.path(b)),f=ui.fileLight.type(b);if(1==b.length&&g()){if(b.hasClass("menuSharePath"))return void ui.path.shareEdit();var h=htmlEncode(rtrim(d,".oexe")),i="<input class='fix' id='pathRenameTextarea' value='"+h+"'/>";"icon"==G.userConfig.listType&&(i="<textarea class='fix' id='pathRenameTextarea'>"+h+"</textarea>",b.css({height:b.height()})),$(b).addClass("file-icon-edit").find(".title").html("<div class='textarea'>"+i+"<div>");var j=$("#pathRenameTextarea");"split"==G.userConfig.listType&&j.css({width:j.parents(".filename").width()-32,height:j.parents(".filename").height()+1});var k=d.length;"folder"!=f&&-1!=d.indexOf(".")&&(k=d.length-f.length-1),f||0!=d.indexOf(".")?j.textSelect(0,k):j.textSelect(0,d.length);var l=function(g){"oexe"==f&&(g+=".oexe");if(g!=d)a=e+d,g=e+g,c.rname(a,g,function(a){a===!1?$(b).removeClass("file-icon-edit").find(".title").html(htmlEncode(d)):r(a)});else{var h=d;".oexe"==h.substr(-5)&&(h=h.substr(0,h.length-5)),$(b).removeClass("file-icon-edit").find(".title").html(htmlEncode(h))}};j.focus().autoTextarea(),j.keydown(function(a){13==a.keyCode&&(a.preventDefault(),stopPP(a),l(j.attr("value"))),27==a.keyCode&&("oexe"==f&&(d=d.replace(".oexe","")),$(b).removeClass("file-icon-edit").find(".title").html(d))}).unbind("blur").blur(function(){l(j.val())})}},r=function(a){ui.fileLight.clear(),ui.f5Callback(function(){j(a),core.isApp("explorer")&&ui.tree.checkIfChange(G.thisPath)})},s=function(a){var b={},c=[];a.sort(function(a,b){return a.path==b.path?0:a.path>b.path?1:-1});for(var d=function(a){for(var c=a;""!=a;){if("undefined"!=typeof b[a])return 1==b[a]?!0:c==a?(b[a]=1,!1):!0;a=core.pathFather(a)}return!1},e=0;e<a.length;e++)if("folder"==a[e].type){var f=rtrim(a[e].path,"/")+"/";b[f]||d(f)||(b[f]=0)}for(var e=0;e<a.length;e++){var f=a[e].path;"folder"==a[e].type?f=rtrim(f,"/")+"/":a[e].type="file",d(f)||c.push(a[e])}return c},t=function(a,b,c){var d=[];return ShareData.data("FILE_SELECT_ARRAY")?(d=ShareData.data("FILE_SELECT_ARRAY"),ShareData.remove("FILE_SELECT_ARRAY")):ui.fileLight.fileListSelect().each(function(a){d.push({path:ui.fileLight.path($(this)),type:ui.fileLight.type($(this))})}),a?s(d):1!=d.length?{path:"",type:""}:d[0]},u=function(a,b){for(var c in G.jsonData)if("fileList"==c||"folderList"==c)for(var d=0;d<G.jsonData[c].length;d++)if(G.jsonData[c][d][a]==b)return G.jsonData[c][d]};return{search:e,makeParam:t,refreshCallback:r,history:i,getJsondataCell:u,checkSystemPath:g,pathOperate:c,appList:function(){c.appList(t().path)},appInstall:function(){c.appInstall(t().path)},openWindow:function(){kodApp.openWindow(t().path)},open:function(a){var b=ui.fileLight.fileListSelect();if(void 0!=a||core.isApp("editor"))return kodApp.setLastOpenTarget($(".curSelectedNode").parent()),void kodApp.open(a);if(0!=b.length){var c=t();if($(b).hasClass("file-not-exists"))return void Tips.tips(LNG.share_error_path,!1);if("split"!=G.userConfig.listType||"folder"!=c.type){if("oexe"==c.type){var d=b.attr("data-app");if(d){var e=jsonDecode(base64Decode(d));return void core.openApp(e)}}kodApp.setLastOpenTarget(b),kodApp.open(c.path,c.type)}}},share:function(){c.share(t())},setBackground:function(){var a=core.path2url(t().path);ShareData.frameTop("",function(b){b.ui.setWall(a)}),ui.setWall(a),c.setBackground(a)},createLink:function(a){var b=t(),d=ui.fileLight.fileListSelect().last();b.name=trim(d.find(".filename").text()),c.createLink(b.path,b.name,b.type,a,r)},createProject:function(){c.createProject(t().path,r)},download:function(){if(!core.authCheckGroup("explorer.fileDownload"))return void Tips.tips(LNG.no_permission_action,"error");var a=t(!0),b=!1;$.each(a,function(){"folder"==this.type&&(b=!0)}),b||a.length>1?c.zipDownload(a):$.each(a,function(){kodApp.download(this.path)})},shareEdit:function(){var a=u("path",t().path);try{var b=G.jsonData.shareList[a.sid];c.shareBox(b)}catch(d){}},shareOpenWindow:function(){var a=u("path",t().path),b="file";"folder"==a.type&&(b=1==a.codeRead?"codeRead":"folder");var c=G.appHost+"share/"+b+"&user="+G.jsonData.info.id+"&sid="+a.sid;window.open(c)},shareOpenPath:function(){var a=t(),b=u("path",a.path);if(!b||!G.jsonData.shareList)return void kodApp.open(a.path,a.type);var c=G.jsonData.shareList[b.sid],d=core.pathFather(c.path),e=core.pathThis(c.path);"folder"==c.type?ui.path.list(c.path,""):ui.path.list(d,"",function(){j(e)})},explorer:function(){core.explorer(t().path)},explorerNew:function(){window.open(G.appHost+"explorer&path="+t().path)},openProject:function(){core.explorerCode(t().path)},search:function(a,b){return a?void e(a,b):void e("",t().path)},fav:function(){var a=t(),b=ui.fileLight.fileListSelect().last();a.name=trim(b.find(".filename").text()),c.fav(a)},recycleClear:function(){c.remove([{type:"recycle-clear",path:""}],function(){ui.f5()})},remove:function(a,b,d){if(G.jsonData.info&&g()){var e=t(!0);G.jsonData.info&&G.jsonData.info.pathType==G.KOD_USER_SHARE&&G.jsonData.info.id==G.userID&&-1==trim(G.thisPath,"/").indexOf("/")&&$.each(e,function(a,b){var c=u("path",e[a].path);void 0!=c&&(e[a].type="share",e[a].path=c.sid)}),d?c.remove(e,d,a,b):c.remove(e,r,a,b)}},favRemove:function(){var a=$(".file.select .filename");a.each(function(b){var d=trim($(this).text());b!=a.length-1?c.favRemove(d,"",!0):c.favRemove(d,function(a){Tips.tips(a),ui.tree.refreshFav()},!0)})},clipboard:function(){d.clipboard()},copy:function(){g()&&d.copy(t(!0))},cute:function(){g()&&d.cute(t(!0),ui.f5)},cuteDrag:function(a){d.cuteDrag(t(!0),a,r)},copyDrag:function(a,b){d.copyDrag(t(!0),a,r,b)},copyTo:function(){core.api.pathSelect({type:"folder",title:LNG.copy_to},function(a){d.copyDrag(t(!0),a,r,!1)})},cuteTo:function(){core.api.pathSelect({type:"folder",title:LNG.cute_to},function(a){d.cuteDrag(t(!0),a,r)})},past:function(){var a=G.thisPath;"split"==G.userConfig.listType&&($containBox=$(".split-box.split-select"),1==$containBox.length&&(a=ui.fileLight.path($containBox))),d.past(a,r)},info:function(){c.info(t(!0))},newFile:function(a){void 0==a&&(a="txt"),p("file",n(LNG.newfile,a),a)},newFolder:function(){p("folder",n(LNG.newfolder),"")},shareFile:function(){var a=G.appHost+"share/file&sid="+G.sid+"&user="+G.user+"&path="+urlEncode(t().path);window.open(a)},rname:q,list:h,setSearchByStr:l,setSelectByChar:k,setSelectByFilename:j}});;define("app/path/tpl/file/create.html",[],"<div class=\"file select {{if type=='file'}}menu-file{{else}}menu-folder{{/if}} file-icon-edit\" id=\"makefile\">\n	{{if listType=='list'}}<span class=\"children-more\"></span>{{/if}}\n	<div class=\"filename\" style=\"padding-top: 0px;\">\n		<span class=\"title\">\n			{{if type=='folder'}}\n				<div class='ico' filetype='folder'>{{\"folder\" | kod.core.icon}}</div>\n			{{else}}\n				<div class='ico' filetype='{{ext}}'>{{ext | kod.core.icon}}</div>\n			{{/if}}\n			<div class=\"textarea\">\n				{{if listType=='icon'}}\n				<textarea class='newfile fix'>{{newname}}</textarea>\n				{{else}}\n				<input class='newfile fix' value='{{newname}}'/>\n				{{/if}}\n			</div>\n		</span>\n	</div>\n	<div style=\"clear:both;\"></div>\n</div>\n");;define("app/src/explorer/fileLight",[],function(a,b){var c=$(),d=$(),e=function(){var a;a="split"!=G.userConfig.listType?$(".bodymain .file-continer .file"):$(".bodymain .file-continer .split-select .file"),d=a,p("clear"),Hook.trigger("explorer.fileSelect.init",this)},f=function(){var a=$(Config.SelectClass);c=a,a.length>1&&l(a),p("menu-file"),Hook.trigger("explorer.fileSelect.change",this)},g=function(){if(G.jsonData&&G.jsonData.fileList){var a=G.jsonData.fileList.length+G.jsonData.folderList.length;$(".file-select-info .item-num").html(a+LNG.folder_info_item)}},h=function(){var a="",b=0,d=c;0!=d.length&&(a=d.length+LNG.folder_info_item_select,d.each(function(){b+=parseInt($(this).attr("data-size"))}),0!=b&&(a=a+" ("+pathTools.fileSize(b)+")")),$(".file-select-info .item-select").html(a)},i=function(a){var b=c;if(void 0==a&&b&&b.length>=1&&(a=$(b[b.length-1])),void 0!=a&&!a.inScreen()){var d=$(".bodymain");"split"==G.userConfig.listType&&(d=a.parent());var e=a.offset().top-d.offset().top-d.height()/2+d.scrollTop();d.stop(!0).animate({scrollTop:e},100)}},j=function(a){return core.pathThis(q(a))},k=function(a){return a.find(".ico").attr("filetype")},l=function(a){if(G.jsonData.info)switch(G.jsonData.info.pathType){case G.KOD_USER_RECYCLE:return;case G.KOD_USER_FAV:return void a.removeClass("menu-fav-path").addClass("menu-fav-path-more");case G.KOD_USER_SHARE:if(-1==trim(G.thisPath,"/").search("/"))return void a.removeClass("menu-share-path").addClass("menu-share-path-more");case G.KOD_GROUP_ROOT_SELF:case G.KOD_GROUP_ROOT_ALL:return void a.removeClass("menu-group-root").addClass("menu-group-root-more")}a.removeClass("menu-file menu-folder").addClass("menu-more"),p()},m=function(a){var b={"file-box":"menu-file","folder-box":"menu-folder","menu-recycle-path":"menu-recycle-path","menu-share-path-more":"menu-share-path","menu-fav-path-more":"menu-fav-path","menu-group-root-more":"menu-group-root","menu-default":"menu-default"};a.removeClass("menu-more");for(var c in b)a.hasClass(c)&&a.addClass(b[c]);p()},n=function(){var a=[];if(0!=c.length)return c.each(function(){a.push(q($(this)))}),a},o=function(){if(0!=c.length){var a=c;a.removeClass(Config.SelectClassName),a.each(function(){m($(this))}),c=$(),p(),Hook.trigger("explorer.fileSelect.change",this)}},p=function(){0==c.length?($(".drop-menu-action li").addClass("disabled"),$(".drop-menu-action #past").removeClass("disabled"),$(".drop-menu-action #info").removeClass("disabled")):$(".drop-menu-action li").removeClass("disabled")},q=function(a,b){return void 0==b&&(b="data-path"),void 0!=a.attr("data-path-children")&&(b="data-path-children"),pathHashDecode(a.attr(b))};return{init:e,name:j,path:q,type:k,fileListSelect:function(a){return a&&(c=a),c},fileListAll:function(a){return a&&(d=a),d},select:f,setInView:i,listNumberSet:g,selectNumSet:h,setMenu:l,resumeMenu:m,getAllName:n,clear:o,menuAction:p}});;define("app/src/explorer/fileSelect",[],function(a,b){var c,d=!1,e=!1,f=!1,g=function(){$(Config.FileBoxClass).die("touchstart").live("touchstart",function(a,b,c,d){var e=$(a.target);e.hasClass("item-menu")||e.parent().hasClass("item-menu")||e.hasClass("item-select")||e.parent().hasClass("item-select")||e.parents(".children-more").exists()||($(this).hasClass("select")?ui.path.open():(ui.fileLight.clear(),$(this).removeClass("select"),$(this).addClass("select"),ui.fileLight.select()))}),$(Config.FileBoxClass).die("mouseenter").live("mouseenter",function(a){e&&j(!0,$(this)),d||e||$(this).addClass(Config.HoverClassName),$(this).unbind("mousedown").bind("mousedown",function(a){if($(a.target).is("input")||$(a.target).is("textarea"))return!0;if($(this).focus(),$.contextMenu.hidden(),$(a.target).parents(".children-more").exists())return ui.fileContent.pathChildrenTree($(this)),stopPP(a),!1;if($(a.target).hasClass("item-menu")||$(a.target).parent().hasClass("item-menu"))return $(this).hasClass(Config.SelectClassName)?void 0:(ui.fileLight.clear(),$(this).addClass(Config.SelectClassName),ui.fileLight.select(),!0);if(!$(a.target).hasClass("item-select")&&!$(a.target).parent().hasClass("item-select")){if(!(a.ctrlKey||a.metaKey||a.shiftKey||$(this).hasClass(Config.SelectClassName)))return ui.fileLight.clear(),$(this).addClass(Config.SelectClassName),ui.fileLight.select(),!0;if(3!=a.which||$(this).hasClass(Config.SelectClassName)||(ui.fileLight.clear(),$(this).addClass(Config.SelectClassName),ui.fileLight.select()),(a.ctrlKey||a.metaKey)&&($(this).hasClass(Config.SelectClassName)?f=!0:(ui.fileLight.setMenu($(this)),$(this).addClass(Config.SelectClassName)),ui.fileLight.select()),a.shiftKey){var b=w.fileListAll($(this)),c=w.fileListSelect($(this)),d=b.index($(this));if(0==c.length)D(0,d,b);else{var e=b.index(c.first()),g=b.index(c.last());e>d?D(d,g,b):d>g?D(e,d,b):D(e,d,b)}}return!0}}).unbind("mouseup").bind("mouseup",function(a){return $(".file-select-drag-temp").removeClass("file-select-drag-temp"),!0})}).die("mouseleave").live("mouseleave",function(){$(this).removeClass(Config.HoverClassName),e&&j(!1,$(this))}).die("click").live("click",function(a){if(stopPP(a),e)return!1;if($(a.target).hasClass("item-menu")||$(a.target).parent().hasClass("item-menu")){var b=$(this).find(".item-menu");return $(this).contextMenu({x:b.offset().left+b.width(),y:b.offset().top}),!0}return $(a.target).hasClass("item-select")||$(a.target).parent().hasClass("item-select")?($(this).toggleClass(Config.SelectClassName),ui.fileLight.select(),!0):0!=$(this).find(".textarea").length?!0:0!=$(".file-draging-box").length?!0:void(a.ctrlKey||a.metaKey||a.shiftKey?(a.ctrlKey||a.metaKey)&&f&&(f=!1,ui.fileLight.resumeMenu($(this)),$(this).removeClass(Config.SelectClassName),ui.fileLight.select()):(ui.fileLight.clear(),$(this).addClass(Config.SelectClassName),ui.fileLight.select(),o($(this))))}),$(Config.FileBoxClass).myDbclick(function(a){var b=$(a.target);if(b.is("textarea")||b.is("input")||b.hasClass("children-more")||b.hasClass("children-more-cert")||b.hasClass("item-menu")||b.parent().hasClass("item-menu")||b.hasClass("item-select")||b.parent().hasClass("item-select"))return!0;if(b.hasClass("db-click-rename")){var c=b.parents(".file");return c.hasClass("systemBox"),ui.path.rname(),!0}if(a.altKey)ui.path.info();else{if(1!=ui.fileLight.fileListSelect().length)return!0;if("split"==G.userConfig.listType&&n($(this))){var d=ui.fileLight.path($(this));return G.thisPath="",$(".file-list-split .split-box").remove(),ui.path.list(d),!0}ui.path.open()}}),k(),l(),m(),Hook.bind("explorer.fileSelect.change",function(){ShareData.remove("FILE_SELECT_ARRAY")})},h=1e3,i=function(a){$(".file-select-drag-temp").flash(2,100),setTimeout(function(){if("list"==G.userConfig.listType){if($(".file-select-drag-temp .children-more-cert").hasClass("cert-open"))return;ui.fileContent.pathChildrenTree(a)}else if("split"==G.userConfig.listType)o(a);else if("icon"==G.userConfig.listType){var b=ui.fileLight.path(a);ui.path.list(b)}},300)},j=function(a,b){var d="file-select-drag-temp";a?!b.hasClass(Config.TypeFolderClass)&&!b.hasClass("menu-recycle-button")||b.hasClass(Config.SelectClassName)||($("."+d).removeClass(d),b.addClass(d),$(".children-list-dropover").removeClass("children-list-dropover"),$(".file-select-over-temp").removeClass("file-select-over-temp"),c=setTimeout(function(){i(b)},h)):(b.removeClass(d),clearTimeout(c),c=!1)},k=function(){var a;$("#folder-list-tree a").die("mouseenter").live("mouseenter",function(b){if(e){if(($(this).hasClass("menu-tree-folder")||$(this).hasClass("menu-tree-folder-fav")||$(this).hasClass("menu-tree-root")||$(this).hasClass("menu-tree-group-public")||$(this).hasClass("menu-tree-group-self"))&&$(this).addClass("curDropTreeNode"),$(this).hasClass("menu-tree-fav")){var c=$(this).parent().attr("id"),d=ui.tree.zTree().getNodeByTId(c);"folder"==d.type&&core.pathPre(d.path)==G.KOD_GROUP_PATH&&$(this).addClass("curDropTreeNode")}clearTimeout(a),a=!1;var f=ui.tree.zTree(),g=f.getNodeByTId($(this).parent().attr("id"));!g.open&&g.isParent&&(a=setTimeout(function(){f.expandNode(g,!0)},h))}}).die("mouseup").live("mouseup",function(){if(e){$(this).removeClass("curDropTreeNode"),clearTimeout(a),a=!1;var b=ui.tree.zTree(),c=b.getNodeByTId($(this).parent().attr("id"));setTimeout(function(){c.isParent=!0,b.reAsyncChildNodes(c,"refresh")},100)}}).die("mouseleave").live("mouseleave",function(){e&&($(this).removeClass("curDropTreeNode"),clearTimeout(a),a=!1)})},l=function(){var a;$(".header-middle .yarnlet a").die("mouseenter").live("mouseenter",function(b){e&&($(this).addClass("curDropToPath"),a=setTimeout(function(){var a=$(".curDropToPath");a.flash(2,100),setTimeout(function(){ui.path.list(a.attr("data-path"))},300)},h))}).die("mouseup mouseleave").live("mouseup mouseleave",function(){e&&($(this).removeClass("curDropToPath"),clearTimeout(a),a=!1)})},m=function(){var a=function(a,b,c){if(e&&"list"==G.userConfig.listType){$(".file-select-over-temp").removeClass("file-select-over-temp");var d="children-list-dropover";if(b){if($(".file-select-drag-temp").exists())return void $("."+d).removeClass(d);$("."+d).not(a).removeClass(d),a.addClass(d),a.prev().hasClass("file")&&a.prev().addClass("file-select-over-temp")}else a.removeClass(d)}};$(".menu-body-main").bind("mouseover",function(b){a($(this),!0,b)}).bind("mouseup mouseleave",function(b){a($(this),!1,b)}),$(".children-list").die("mouseover").live("mouseover",function(b){a($(this),!0,b),stopPP(b)}).die("mouseup mouseleave").live("mouseup mouseleave",function(b){a($(this),!1,b)})},n=function(a){return"icon"==G.userConfig.listType?a.hasClass("folder-box")||a.hasClass("menu-recycle-button")?!0:!1:"list"==G.userConfig.listType?a.hasClass("folder-box")||a.hasClass("menu-recycle-button")||0!=a.find(".children-more-cert").length?!0:!1:"split"==G.userConfig.listType?a.hasClass("folder-box")||a.hasClass("menu-recycle-button")||0!=a.find(".children-more-cert").length?!0:!1:void 0},o=function(a){if("split"==G.userConfig.listType&&n(a)){var b=ui.fileLight.path(a);ui.path.history.add(b),ui.fileContent.pathChildrenSplit(b,function(){q(b)})}},p=function(){var a=".file-list-split .split-box",b="split-hover";$(a).live("mouseenter",function(c){$(a).removeClass(b),$(this).addClass(b)}).die("mouseleave").live("mouseleave",function(){$(this).removeClass(b)}).die("click").live("click",function(a){q(ui.fileLight.path($(this)))}).die("mousedown").live("mousedown",function(a){var b=$(a.target).parents(".file");(0==b.length||0==b.find(".children-open").length)&&q(ui.fileLight.path($(this)))})},q=function(a){var b=$(".file-list-split .split-box"),c=$('.file-list-split .split-box[data-path="'+pathHashEncode(a)+'"]'),d=$('.file-list-split .split-box .file[data-path="'+pathHashEncode(a)+'"]'),e="split-select";0==c.length&&(c=b.last()),b.removeClass(e),c.addClass(e),0==ui.fileLight.fileListSelect().length&&d.addClass("select"),ui.fileLight.select();var f=c.data("jsonData");f&&a&&(ui.fileContent.pathTypeChange(f),G.thisPath=a,G.jsonData=f,ui.headerAddress.addressSet()),ui.fileLight.init()},r=function(a){return a.hasClass("menuSharePath")||a.hasClass("systemBox")?!1:!0},s=function(a){$("body").removeClass("cursor-mouse cursor-warning cursor-move cursor-down cursor-add"),a&&$("body").addClass("cursor-mouse cursor-"+a)},t=function(){var a,b,f,g=150,h=!1,i=!1,j=0,k=!1,l=-15,m=10,n=0,o=0,p="selectDragDraging";$(Config.FileBoxClass).die("mousedown").live("mousedown",function(b){if(!b.shiftKey){if(ui.isEdit())return!0;if(1!=b.which||d)return!0;a=$(this),u(b),$.browser.mozilla||this.setCapture&&this.setCapture(),$(document).mousemove(function(a){v(a)}),$(document).keydown(function(a){v(a)}),$(document).keyup(function(a){v(a)}),$(document).one("mouseup",function(a){y(a),this.releaseCapture&&this.releaseCapture()}),$(document).one("keyup",function(a){27==a.which&&y(!1)})}});var q,t,u=function(a){$.contextMenu.hidden(),e=!0,j=$.now(),n=a.pageY,o=a.pageX,b=$(document).height(),f=$(document).width(),i=$(a.target).parents(".file")},v=function(c){if(!e)return!0;if(!r(a))return!0;if(window.getSelection?window.getSelection().removeAllRanges():document.selection.empty(),$.now()-j>g&&!k&&(z(),h=$(".draggable-dragging"),h.attr("data-beforeInfo",h.find("span").html())),k){var d=c.clientX>=f-50?f-50:c.clientX,i=c.clientY>=b-50?b-50:c.clientY;return d=0>=d?0:d,i=0>=i?0:i,d-=l,i-=m,h.css({left:d,top:i}),w(c),K(d-o+l,i-n+m),!0}},w=function(a){clearTimeout(q),q=!1,q=setTimeout(function(){try{x(a)}catch(b){}},10)},x=function(a){var b=a.ctrlKey||a.metaKey,c=function(a,b){"undefined"!=typeof G.sid&&(a="none"),void 0!=b&&0!==b.search(G.KOD_GROUP_PATH)&&0!==b.search(G.KOD_USER_RECYCLE)&&core.isSystemPath(b)&&(a="clear");var c=htmlEncode(core.pathThis(b)),d=" "+h.attr("data-beforeInfo").replace(/<[^<>]+>/g,""),e={copyTo:'<i class="font-icon bg-ok icon-copy"></i><b>'+LNG.copy_to+'</b>"'+c+'"',moveTo:'<i class="font-icon bg-ok icon-share-alt"></i><b>'+LNG.cute_to+'</b>"'+c+'"',remove:'<i class="font-icon bg-error icon-trash"></i><b>'+LNG.remove+d+"</b>",share:'<i class="font-icon bg-ok icon-share-sign"></i><b>'+LNG.share+d+"</b>",none:'<i class="font-icon bg-error icon-minus"></i><b>'+LNG.no_permission_write+"</b>",clear:h.attr("data-beforeInfo")};C(b)||(e.copyTo='<i class="font-icon bg-ok icon-copy"></i><b>'+LNG.clone+"</b>"),h.find("span").html(e[a]),h.attr("data-actionType",a),h.attr("data-actionPath",b),h.attr("id","drag-action-"+a);var e={copyTo:"add",moveTo:"move",remove:"move",share:"add",none:"default",clear:"default"};s(e[a])},d=G.thisPath,e="";if($(".curDropToPath").exists())d=$(".curDropToPath").attr("data-path");else if($(".curDropTreeNode").exists()){var f=$(".curDropTreeNode").parent().attr("id"),g=ui.tree.zTree().getNodeByTId(f);d=g.path}else if($(".file-select-drag-temp").exists())d=ui.fileLight.path($(".file-select-drag-temp")),$(".file-select-drag-temp").hasClass("menu-recycle-button")&&(e="remove");else if($(".children-list-dropover").exists()){var i=$(".children-list-dropover");d=i.hasClass("children-list")?pathHashDecode(i.attr("data-path-children")):G.thisPath}else $(".split-hover").exists()?d=ui.fileLight.path($(".split-hover")):e=$(".recycle-hover").exists()?"remove":$(".share-hover").exists()&&1==ui.fileLight.fileListSelect().length?"share":"clear";e&&!b||(e=b?"copyTo":C(d)?"moveTo":"clear"),c(e,d)},y=function(a){if(!e)return!1;if(clearTimeout(q),clearTimeout(c),e=!1,k=!1,$("body").removeClass(p),h){h.addClass("animated-300").addClass("flipOutXLine").fadeOut(200,function(){h.remove(),h=!1}),$(".curDropToPath,.curDropTreeNode,.curDropTreeNode,.file-select-drag-temp,.children-list-dropover").removeClass("curDropToPath curDropTreeNode curDropTreeNode file-select-drag-temp children-list-dropover");var b=h.attr("data-actionType");if(L(-1!=$.inArray(b,["copyTo","moveTo","remove","share"])?!1:!0),s(!1),a){var d=function(a,b){switch(ShareData.data("FILE_SELECT_ARRAY",A),a){case"copyTo":ui.path.copyDrag(b,!0);break;case"moveTo":ui.path.cuteDrag(b);break;case"remove":ui.path.remove(!0);break;case"share":ui.path.share()}},f=h.attr("data-actionPath");d(b,f)}}},z=function(){$("body").addClass(p);var a=ui.fileLight.fileListSelect().length;$('<div class="file draggable-dragging"><div class="drag-number">'+a+'</div><span><i class="font-icon bg-default icon-ok"></i>'+a+" "+LNG.file+"</span></div>").appendTo("body"),k=!0,setTimeout(J,20),B()},A=[],B=function(){A=[],ui.fileLight.fileListSelect().each(function(){A.push({path:ui.fileLight.path($(this)),type:"folder"==ui.fileLight.type($(this))?"folder":"file"})})},C=function(a){for(var b=0;b<A.length;b++)if(core.pathFather(A[b].path)!=a)return!0;return!1},D=0,E=5,F=35,H=20,I=50,J=function(){clearTimeout($(".file-draging-box").data("removeDelay")),$(".file-draging .file").stop(),$(".file-draging-box").remove();var a={icon:"file-list-icon",list:"file-list-list",split:"file-list-split"},b=a[G.userConfig.listType];$("<div class='file-continer file-draging-box "+b+"'><div class='"+b+" file-draging'></div></div>").appendTo("body"),t=$(Config.SelectClass).filter("[data-path!='']");var c=t.clone();(t.length>=I||$.browser.msie)&&(c=i.clone()),c.appendTo(".file-draging"),c.each(function(a){var b=$(".bodymain .file-continer .file[data-path='"+$(this).attr("data-path")+"']"),d=b.offset();$(this).css({left:d.left,top:d.top,width:b.width()}),$(this).data({"data-left":d.left,"data-top":d.top,"data-animateTime":200+a*E,"data-sizeAdd":D*a}),$(this).attr("data-path")==i.attr("data-path")&&$(this).addClass("handle_target"),1==c.length&&($(this).data({"data-animateTime":0}),H=0)}),t.addClass("item-file-draging");var d=setTimeout(function(){$(".file-draging-box").data("animate","finished");var a=$(".draggable-dragging");c.each(function(b){var c=$(this),d=$(this).data("data-sizeAdd"),e=$(this).data("data-animateTime");$(this).data("status","ready"),$(this).animate({opacity:1},{duration:e,easing:"swing",progress:function(b,e,f,g,h){var i=c.offset(),j=a.offset(),k=(j.left+d-i.left)*e,l=(j.top+d+F-i.top)*e;c.css({left:i.left+k,top:i.top+l})},complete:function(){c.data("status","finished")}})})},H);$(".file-draging-box").data("dragDelay",d),$(".file-draging-box").data("animate","ready")},K=function(a,b){return"finished"!=$(".file-draging-box").data("animate")?void $(".file-draging .file").each(function(){$(this).css({left:$(this).data("data-left")+a,top:$(this).data("data-top")+b})}):void $(".file-draging .file").each(function(a){if("finished"==$(this).data("status")){var b=$(this).data("data-sizeAdd"),c=$(".draggable-dragging").offset();$(this).css({left:c.left+b,top:c.top+b+F})}})},L=function(a){var b=$(".file-draging .file").length;clearTimeout($(".file-draging-box").data("dragDelay")),$(".file-draging .file").each(function(b){var c=b*E,d=$(".bodymain .file-continer .file[data-path='"+$(this).attr("data-path")+"']");a?$(this).stop().animate({left:$(this).data("data-left"),top:$(this).data("data-top")},250+c,function(){t.removeClass("item-file-draging")}).animate({opacity:0},150,function(){$(this).remove()}):(d.stop().animate({opacity:1},100),$(this).stop().animate({opacity:0},200+c,function(){$(this).remove()}))});var c=setTimeout(function(){$(".file-draging-box").remove()},400+E*b);$(".file-draging-box").data("removeDelay",c)}},u=function(){var a=null,b=null,c=null,f=0,g=0,h=0,i=0,j="",k="bodymain";core.isApp("desktop")&&(k="file-continer");var l=$("."+k);l.die("mousedown").live("mousedown",function(a){if(!($(a.target).hasClass(k)&&$(document).width()-a.pageX<20)){if(h=$(".file-continer").outerHeight(),i=l.outerHeight(),ui.isEdit())return!0;if(1!=a.which||e)return!0;m(a),this.setCapture&&this.setCapture(),$(document).unbind("mousemove").mousemove(function(a){n(a)}),$(document).one("mouseup",function(a){clearTimeout(j),j=!1,q(a),this.releaseCapture&&this.releaseCapture()})}});var m=function(e){g=l.offset().left-l.scrollLeft(),f=l.offset().top-l.scrollTop(),"split"==G.userConfig.listType&&(f+=$(e.target).parents(".split-box").scrollTop()),$(e.target).parent().hasClass(Config.FileBoxClassName)||$(e.target).parent().parent().hasClass(Config.FileBoxClassName)||$(e.target).hasClass("fix")||($.contextMenu.hidden(),e.ctrlKey||e.metaKey||e.shiftKey||ui.fileLight.clear(),$(e.target).hasClass("ico")||(a=e.pageX-g,b=e.pageY-f,j=setTimeout(function(){d=!0,0==$(".select-container").length&&$('<div class="select-container"></div>').appendTo(Config.FileBoxSelector),c=$(".select-container")},100)))},n=function(e){if(!d)return!0;var f=e.pageX-l.offset().left+l.scrollLeft(),g=e.pageY-l.offset().top+l.scrollTop(),j=Math.abs(f-a),k=Math.abs(g-b);g>b&&k>h-b&&h>i&&(k=h-b),o(g,b,k,l),c.css({left:Math.min(f,a)+2,top:Math.min(g,b)+2,width:j,height:k}),ui.fileLight.fileListAll().length<1e3&&p()},o=function(a,b,c,d){var e=d.outerHeight(),f=d.scrollTop(),g=f;if(a>b){var h=b+c,i=e+f,j=h-i;j>0?g+=j:-e>j&&(g+=e-Math.abs(j))}else if(b>a){var k=b-c,l=f,j=k-l;0>j?g+=j:j>e&&(g+=Math.abs(j)-e)}g!==f&&d.stop(!0,!1).animate({scrollTop:g},100)},p=function(){for(var a=c.offset().left-l.offset().left+l.scrollLeft(),b=c.offset().top-l.offset().top+l.scrollTop(),d=a+c.width(),e=b+c.height(),f=ui.fileLight.fileListAll(),g=0;g<f.length;g++){var h=f[g],i=$(f[g]),j=i.parent().scrollTop(),k=h.offsetLeft,m=h.offsetTop-j,n=k+i.width(),o=m+i.height();if("split"==G.userConfig.listType&&(k+=i.parents(".split-box")[0].offsetLeft,n=k+i.width()),Math.abs(a+d-(k+n))<d-a+n-k&&Math.abs(b+e-(m+o))<e-b+o-m){if(!i.hasClass("file-select-drag-temp")){if(i.hasClass("selectToggleClass"))continue;if(i.hasClass(Config.SelectClassName)){i.removeClass(Config.SelectClassName).addClass("selectToggleClass"),ui.fileLight.resumeMenu(i);continue}i.addClass("file-select-drag-temp")}}else i.removeClass("file-select-drag-temp"),i.hasClass("selectToggleClass")&&i.addClass(Config.SelectClassName).removeClass("selectToggleClass")}},q=function(e){return d?(p(),c.remove(),$(".file-select-drag-temp").addClass(Config.SelectClassName).removeClass("file-select-drag-temp"),$(".selectToggleClass").removeClass("selectToggleClass"),ui.fileLight.select(),d=!1,a=null,void(b=null)):!1}},v=function(a,b){var c=$(".file-list-split .split-box.split-select");if(a)c=a.parents(".split-box");else if(0!=ui.fileLight.fileListSelect().length){var d=ui.fileLight.fileListSelect().last();c=d.parents(".split-box")}return c.find(b)},w={fileListAll:function(a){return"split"!=G.userConfig.listType?ui.fileLight.fileListAll():v(a,".file")},fileListSelect:function(a){return"split"!=G.userConfig.listType?ui.fileLight.fileListSelect():v(a,".file.select")}},x=function(a){var b=w.fileListAll(),c=w.fileListSelect(),d=b.length-1,e=0,f=ui.getColfileNumberDesktop(),g=b.index(c.first()),h=b.index(c.last());switch(a){case"pageup":case"up":e=0>=g||g%f==0?g:g-1;break;case"left":e=0>=g-f?0:g-f;break;case"pagedown":case"down":e=h>=d||(h+1)%f==0?h:h+1;break;case"right":e=h+f>=d?d:h+f}return b.eq(e)},y=function(a){if(core.isApp("desktop"))return x(a);var b=w.fileListAll(),c=w.fileListSelect(),d=b.length-1,e=0,f=ui.getRowfileNumber(),g=ui.getPagefileNumber(),h=b.index(c.first()),i=b.index(c.last());switch(a){case"up":e=0>=h-f?0:h-f,e=z(e,!1);break;case"left":e=0>=h?0:h-1;break;case"down":e=i+f>=d?d:i+f,e=z(e,!0);break;case"right":e=i>=d?i:i+1;break;case"pageup":e=0>=h-g?0:h-g,e=z(e,!1);break;case"pagedown":e=i+g>=d?d:i+g,e=z(e,!0)}return b.eq(e)},z=function(a,b){for(var c=w.fileListAll(),d=c.eq(a),e=c.length;0!=d.parents(".hidden").length;){if(b?a++:a--,0>=a||a>=e)return a;d=c.eq(a)}return a},A=function(a){var b,c=w.fileListAll(),d=w.fileListSelect(),e="",f=!1;switch(a.indexOf("shift+")>=0&&(f=!0,a=a.replace("shift+","")),a){case"home":e=d.last(),b=c.first();break;case"end":e=d.first(),b=c.last();break;case"left":e=d.last(),b=y(a);break;case"up":e=d.last(),b=y(a);break;case"right":e=d.first(),b=y(a);break;case"down":e=d.first(),b=y(a);break;case"pageup":e=d.last(),b=y(a);break;case"pagedown":e=d.first(),b=y(a);break;case"clear":return void ui.fileLight.clear();case"reverse":return c.each(function(){$(this).toggleClass(Config.SelectClassName)}),ui.fileLight.select(),void ui.fileLight.setInView();case"all":b=c}if(!C(a)){if(f&&""!=e){var g=c.index(e),h=c.index(b);if(g>h){var i=g;g=h,h=i}return void D(g,h,c)}B(b)}},B=function(a){0!=a.length&&(ui.fileLight.clear(),a.addClass(Config.SelectClassName),ui.fileLight.select(),ui.fileLight.setInView(),"split"==G.userConfig.listType&&1==a.length&&o($(ui.fileLight.fileListSelect()[0])))},C=function(a){var b=$(ui.fileLight.fileListSelect()[0]);if("icon"==G.userConfig.listType)return!1;switch(a){case"left":if("list"==G.userConfig.listType)if(1==b.find(".children-more-cert.cert-open").length)b.find(".children-more-cert").removeClass("cert-open"),b.next().addClass("hidden");else{var c=b.parent(".children-list").prev(".file");B(c)}else if("split"==G.userConfig.listType){var c=b.parents(".split-box").prev().find(".select-split-parent");B(c)}break;case"right":if("list"==G.userConfig.listType)1==b.find(".children-more-cert").length&&(ui.fileContent.pathChildrenTree(b),b.find(".children-more-cert").addClass("cert-open"),b.next().removeClass("hidden"));else if("split"==G.userConfig.listType){var c=b.parents(".split-box").next().find(".file:eq(0)");B(c)}break;default:return!1}return!0},D=function(a,b,c){if(core.isApp("desktop"))return E(a,b,c);ui.fileLight.clear();for(var d=a;b>=d;d++)$(c[d]).addClass(Config.SelectClassName);ui.fileLight.select()},E=function(a,b,c){var d=ui.getColfileNumberDesktop(),e=Math.ceil(w.fileListAll().length/d),a={row:a%d,col:parseInt(a/d)},b={row:b%d,col:parseInt(b/d)};if(b.row<a.row){var f=b;b=a,a=f}var g=function(a,b){var e=b*d+a;$(c[e]).addClass(Config.SelectClassName)};ui.fileLight.clear();for(var h=a.row;h<=b.row;h++){var i=0,j=e;h==a.row&&(i=a.col),h==b.row&&(j=b.col);for(var k=i;j>=k;k++)g(h,k)}ui.fileLight.select()};return{init:function(){g(),p(),t(),u()},isDraging:function(){return e},selectSplit:q,selectPos:A}});;define("app/src/explorer/fileListResize",[],function(a,b){var c={filename:250,filetype:80,filesize:80,filetime:150,explorerTreeWidth:199,editorTreeWidth:199},d={filename:150,filetype:60,filesize:60,filetime:120,explorerTreeWidth:2,editorTreeWidth:2},e=c,f=function(){if(LocalData.get("resizeConfig"))e=jsonDecode(LocalData.get("resizeConfig"));else{"undefined"!=typeof G.userConfig.resizeConfig&&(e=jsonDecode(htmlDecode(G.userConfig.resizeConfig)));var a=jsonEncode(e);LocalData.set("resizeConfig",a)}$.each(c,function(a,b){(!e[a]||e[a]<d[a])&&(e[a]=c[a])})},g=function(){if(!j()){var a=jsonEncode(e);LocalData.set("resizeConfig",a),$.get(G.appHost+"setting/set&k=resizeConfig&v="+a)}},h=function(a,b){if("icon"!=G.userConfig.listType){a||(a=e);var c="",f=0;$.each(a,function(a,b){0==a.indexOf("file")&&(b<=d[a]&&(b=d[a]),f+=b,c+=".children-list,.file-list-list .file ."+a+",#main-title ."+a+"{width:"+b+"px;}")}),c+=".children-list,.file-list-list .file{width:"+(f+50)+"px;}",$.setStyle(c,"header-resize-width")}},i=function(a,b,f){if(!$(".frame-left").is(":hidden")){var h=Config.pageApp+"TreeWidth",i=$.extend(!0,{},e);i[h]+=a,i[h]<=d[h]&&(i[h]=d[h]);var j=i[h],k=$(".frame-left"),l=$(".frame-resize"),m=$(".frame-right"),n=c[h];if(j>n-8&&n+8>j&&(j=n+1),f){var o=400;k.animate({width:j},o),l.animate({left:j-5},o),m.animate({left:j},o)}else k.css("width",j),l.css("left",j-5),m.css("left",j);"undefined"!=typeof ui.setStyle&&ui.setStyle(),b&&(e=i,g())}},j=function(){return void 0!=$.getUrlParam("type")?!0:!1},k=function(a,b,c){var f=$.extend(!0,{},e);f[a]+=b,h(f),c&&(e=f,$.each(e,function(a,b){b<=d[a]&&(e[a]=d[a])}),g())},l=function(){$("#main-title").hasClass("bind-init")||(h(e),$("#main-title").addClass("bind-init"),$.each(c,function(a,b){$("#main-title ."+a+"-resize").drag({start:function(){},move:function(b,c){k(a,b,!1)},end:function(b,c){k(a,b,!0)}})}))},m=function(){var a=$(".frame-resize");a.drag({start:function(){a.addClass("active"),$(".resize-mask").css("display","block")},move:function(a,b){i(a,!1,!1)},end:function(b,c){i(b,!0,!1),a.removeClass("active"),$(".resize-mask").css("display","none")}})},n=function(){var a="fileIconSize";core.isApp("desktop")&&(a="fileIconSizeDesktop");var b=G.userConfig[a];b||(b="75"),q(b,!1),o(b)},o=function(a){$(".set-file-icon-size .file-icon-size").removeClass("selected");for(var b=[["40","box-size-smallx"],["60","box-size-small"],["80","box-size-default"],["100","box-size-big"],["120","box-size-bigx"]],c=10,d="",e=0;e<b.length;e++){var f=parseInt(b[e][0]);if(a>=f-c&&f+c>=a){d=b[e][1];break}}""!=d&&$("."+d).addClass("selected")},p=function(a){var b="fileIconSize";core.isApp("desktop")&&(b="fileIconSizeDesktop"),G.userConfig[b]=a,o(a),$.get(G.appHost+"setting/set&k="+b+"&v="+a)},q=function(a,b){var c=a,d=105,e=30,f=250;core.isApp("desktop")&&(e=40,f=150),c=e>=c?e:c,c=c>=f?f:c;var g=(a-e)*d/(f-e),h=20,i=10,j=parseInt(c),k=j+2*h-i+5,l=j-i,m=j-i,n=.4*j,o=j+3*h-i,q=".file-list-icon div.file,.file-list-icon .flex-empty{height:"+k+"px;width:"+j+"px;}";core.isApp("desktop")&&(k-=5,q="div.file-list-icon div.file,.file-list-icon .flex-empty{height:"+k+"px;width:"+j+"px;}"),$.browser.mozilla&&(m-=4);var r="div.file-list-icon div.file{max-height:"+o+"px;}"+q+"			.file-list-icon .meta-info{height:"+n+"px;width:"+n+"px;				margin-right:"+.16*n+"px;margin-top:-"+1.1*n+"px;}			.file-list-icon div.file .filename{width:"+j+"px;}			.file-list-icon div.file .filename #pathRenameTextarea,			.file-list-icon div.file .filename .newfile{width:"+j+"px;}			.file-list-icon div.file .ico{padding-left:"+i/2+"px;height:"+m+"px;width:"+l+"px}        	.file-list-icon div.file .ico.picture{width:"+l+"px;padding-left:"+i/2+"px;overflow:hidden;display:block;}        	";$.setStyle(r,"file_icon_resize"),$(".slider-handle").css("top",g),b&&p(a)},r=function(){var a,b=$(".slider-handle");$(".set-icon-size-slider").bind("click",function(a){return stopPP(a),!1});var c=function(b){var c=0,d=105,e=30,f=250,g=a+b;g=c>g?c:g,g=g>d?d:g;var h=parseInt(g/d*(f-e)+e);return q(h,!1),h};b.drag({start:function(c){b.addClass("active"),a=parseInt(b.css("top"))},move:function(a,b,d){c(b)},end:function(a,d,e){b.removeClass("active"),p(c(d),!0)}});var d=$(".slider-bg");$(".slider-bg").unbind("click").bind("click",function(b){var e=b.clientY-d.offset().top;a=0,p(c(e),!0)})},s=function(){var a=function(a,b){var c=a.parent(),d=$(".split-box").index(c),e=parseInt(c.data("before_width"))+b;if(!(150>e)){$($(".split-line").get(d)).css("width",e),c.css("width",e),$(".split-box:gt("+d+")").each(function(){$(this).hasClass("is-drag-split")||$(this).css("left",parseInt($(this).data("before_left"))+b+"px")});var f=[];$(".split-box").each(function(){f.push({left:$(this).css("left"),width:$(this).width()})}),LocalData.set("splitBoxSize",jsonEncode(f))}};$(".bodymain .file-list-split .split-drag").drag({start:function(a,b){var c=b.parent();c.addClass("is-drag-split").data("before_width",c.width()),$(".split-box,.split-line").each(function(){$(this).data("before_left",$(this).css("left"))})},move:function(b,c,d,e){a(e,b)},end:function(a,b,c,d){d.parent().removeClass("is-drag-split")}},!0),$(".file.select-split-parent").removeClass("select-split-parent"),$(".split-box").each(function(){$('.file[data-path="'+$(this).attr("data-path")+'"]').addClass("select-split-parent")}),t()},t=function(){var a=LocalData.get("splitBoxSize"),b=0;a=!a||jsonDecode(a)?[]:jsonDecode(a);var c=function(c,d){var e=a[d];e||(e={width:250,left:b}),b+=e.width+1,c.css({width:e.width+"px",left:e.left})};b=0,$(".split-box").each(function(a){c($(this),a)}),b=0,$(".split-line").each(function(a){c($(this),a)}),$(".bodymain").scrollLeft(1e5)};return{init:function(){f(),j()&&(e=c),h(e),m(),i(0,!1,!0),r()},initFileSize:n,bindSplitResize:s,bindHeaderResize:l,setFileIconSize:q}});;define("app/src/explorer/headerAddress",[],function(a,b){var c=function(){$("#yarnball li a").die("click").live("click",function(a){var b=$(this).attr("data-path");g(b),stopPP(a)}),$("#yarnball").die("click").live("click",function(){return $("#yarnball").css("display","none"),$("#yarnball-input").css("display","block"),$("#yarnball-input input").focus(),!0});var a=$("#yarnball-input input");a.die("blur").live("blur",function(){g(a.val())}).keyEnter(function(){g(a.val())}),$(".header-right input").keyEnter(function(a){ui.path.search($(".header-right input").val(),G.thisPath)}),$(".header-right input").bind("keyup focus",function(){ui.path.setSearchByStr($(this).val())}),$(".header-content a,.header-content button").click(function(a){var b=$(this).attr("id");switch(b){case"btn-history-back":ui.path.history.back();break;case"btn-history-next":ui.path.history.next();break;case"refresh":ui.f5(!0,!0),ui.tree.init();break;case"home":ui.path.list(G.myhome);break;case"fav":ui.path.pathOperate.fav({path:G.thisPath,type:"folder",name:$("ul.yarnball li:last .title-name").html()});break;case"goto-father":h();break;case"setting":core.setting();break;case"search":ui.path.search($(".header-right input").val(),G.thisPath)}return!0})},d=function(a){var b=G.thisPath;f(G.thisPath),$("#yarnball-input").css("display","none"),$("#yarnball").css("display","block");var c=function(a){var b='<li class="yarnlet first"><a title="@1@" data-path="@1@" style="z-index:{$2};"><span class="left-yarn"></span>{$3}</a></li>',c='<li class="yarnlet "><a title="@1@" data-path="@1@" style="z-index:{$2};">{$3}</a></li>';a=a.replace(/\/+/g,"/");var d=a.split("/");""==d[d.length-1]&&d.pop();var e=d[0]+"/",f=b.replace(/@1@/g,e),g=d[0],h="";if(G.jsonData.info&&G.jsonData.info.pathType&&""!=d[0]){var i=core.getPathIcon(G.jsonData.info,G.jsonData.info.name);h='<span class="address-ico">'+core.iconSmall(i.icon)+"</span>",g=i.name}f=f.replace("{$2}",d.length),f=f.replace("{$3}",h+'<span class="title-name">'+htmlEncode(g)+"</span>");for(var j=f,k=1,l=d.length-1;k<d.length;k++,l--){e+=htmlEncode(d[k])+"/";var f=c.replace(/@1@/g,e);f=f.replace("{$2}",l),f=f.replace("{$3}",'<span class="title-name">'+htmlEncode(d[k])+"</span>"),j+=f}return'<ul class="yarnball">'+j+"</ul>"};void 0==a&&$("#yarnball").html(c(b)),e()},e=function(){$(".yarnball").stop(!0,!0);var a=$("#yarnball").innerWidth(),b=0;$("#yarnball li a").each(function(a){b+=$(this).outerWidth()+parseInt($(this).css("margin-left"))+5});var c=a-b;0>=c?$(".yarnball").css("width",b+"px").css("left",c+"px"):$(".yarnball").css({left:"0px",width:a+"px"})},f=function(a){var b=$("#yarnball-input .path");if(void 0==a){var c=b.val();return c=rtrim(core.pathClear(c))+"/"}b.val(a)},g=function(a,b){a=a.replace(/\\/g,"/"),ui.path.list(a),d(b)},h=function(){var a=f();if("/"==a||-1==a.indexOf("/"))return void Tips.tips(LNG.path_is_root_tips,"warning");var b=core.pathFather(a);ui.path.list(b),d()};return{init:c,addressSet:d,resetWidth:e,gotoFather:h}});;define("app/src/explorer/options",[],function(a,b){var c=function(){"0"==lodash.get(window,"G.userConfig.fileSelect")&&$.addStyle(".file-continer .file .item-select,			.file-continer .file .item-menu{display:none !important;}")},d=function(){"0"==lodash.get(window,"G.userConfig.imageThumb")&&Hook.bind("explorer.list.fileThumb",function(a,b){var c="icon"!=G.userConfig.listType,d=["jpg","jpeg","png","bmp","gif","ico","svg","cur","webp"];return inArray(d,b)?"<div class='picture ico' filetype='"+b+"'>"+core.icon(b,c)+"</div>":void 0})};return{init:function(){c(),d()}}});