-
Notifications
You must be signed in to change notification settings - Fork 10
/
ymPrompt.js
1 lines (1 loc) · 10.5 KB
/
ymPrompt.js
1
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('(6(){u(1d.x)q;5 3e=6(2W){q 3k 3i(\'o\',"q 3z.4R.4O.4e(o)==\'[2Y "+2W+"]\'")};5 1W=3e(\'4D\'),2z=3e(\'3z\');1d.x={4K:\'4.1\',4F:\'54-5r-5s\',K:6(o,c,d){u(d)x.K(o,d);u(o&&c&&2z(c))1g(5 p 1F c)o[p]=c[p];q o},2C:[]};5 3y=[\'2w\',\'19\'],1E={},t;1H(t=3y.1p())x[t]=2H(\'0,6(){1E.\'+t+\'?1E.\'+t+\'.1h(1m):(1E.\'+t+\'=[1m])}\');5 1v=!+\'\\5y\';5 1N=R.5t==\'5k\';5 1t=1v&&/59 (\\d)\\./.3f(58.57)&&18(5z.$1)<7;5 2a=!1v||(!1t&&1N);5 $=6(C){q R.5e(C)};5 $M=6(J){q 18(J.D.M)||J.2f};5 Q=(6(){q 3k 3i(\'1r\',\'16\',\'J\',\'J=J||R;\'+(1d.3o?"J.3o(\'3D\'+1r,16)":\'J.5d(1r,16,B)\')+\';x.2C.1h([1r,16,J])\')})();5 1j=(6(){q 3k 3i(\'1r\',\'16\',\'J\',\'J=J||R;\'+(1d.3o?"J.1j(\'3D\'+1r,16)":\'J.5c(1r,16,B)\'))})();5 A=6(17,n,v){u(!17)q;u(2z(n)){1g(5 i 1F n)A(17,i,n[i]);q}u(1W(17)||/56|55/i.3f(\'\'+17)){1g(5 i=17.14-1;i>=0;i--)A(17[i],n,v);q}2v{17.D[n]=v}2r(e){}};5 15=0,X,3x=0;5 3b=6(1G,2s,1a,C){u(!1G)q;u(1W(1G)){5 2D,t=[],3A={1Y:[k.3Z,\'5a\'],4w:[k.3X,\'5j\']};1H(1G.14)(2D=1G.1p())&&t[t.1h(3b.K(1f,3A[2D]||2D))-1]||t.5v();q t}C=C||\'5w\'+3x++;1a=1a==2M?\'2M\':!!1a;q{C:C,1V:"<3t 2W=\'5l\' C=\'"+C+"\' 5n=\'x.2X(\\""+2s+"\\","+1a+")\' D=\'3J:5o\' E=\'5q 2V\' 5p=\'"+1G+"\' />"}};5 4t=6(F){u(!F)q X=\'\';u(!1W(F))F=[F];u(!F.14)q X=\'\';X=F.2B();5 1V=[];1H(F.14)1V.1h(F.1p().1V);q 1V.3R(\'&3v;&3v;\')};5 2O={2E:\'内容\',1u:4H,M:4G,1A:\'标题\',2V:6(){},4y:\'#4r\',2L:0.1,U:B,1I:\'\',F:1f,1a:V,29:V,43:B,3I:B,3m:V,3r:V,4g:\'c\',3E:0.8,4I:V,2q:B,1C:B,1S:{3c:0.3,34:50},4J:\'关闭\',3Z:\' 确 定 \',3X:\' 取 消 \',4k:\'y-4E\',4C:B,4M:\'最小化\',3F:B,53:\'最大化\',4l:B,4n:B},k={};(6(){5 G=R.2x,2t=1m.2t;u(!G||4N G!=\'2Y\')q Q(\'4W\',2t,1d);u(1v&&R.45!=\'44\')q Q(\'4Y\',6(){R.45=="44"&&2t()});G=1N?R.52:G;5 2l=R.4b(\'2l\').14;u(!1v&&2l)q;5 1U=6(){q k.29&&2a?[0,0]:[G.3s,G.3w]};5 2i=6(){5 L=1U();x.K(1w,{3u:18(H.D.1b)-L[0],3B:18(H.D.1c)-L[1]})};5 2G=\'1s:1B;1c:0;1b:0;I:S;3K-51:4V\';5 m=R.4U(\'m\');m.1k=["<m C=\'1J\' D=\\\'"+2G+\';z-1Q:3M;\\\'></m>\',1t?("<U C=\'3N\' 30=\'3U:B\' D=\'"+2G+";z-1Q:4P;1y:O(Y=0);Y:0\'></U>"):\'\',"<m C=\'y-1d\' D=\'1s:1B;z-1Q:4Q;I:S\'>",1t?"<U 30=\'3U:B\' D=\'1u:1x%;M:1x%;1s:1B;1c:0;1b:0;z-1Q:-1\'></U>":\'\',"<m E=\'y-35\' C=\'y-35\'><m E=\'y-4T\'><m E=\'y-4d\' D=\'3J:4S;\'><m E=\'y-3H-3K\'></m><m E=\'y-3H-5M\'>","<m E=\'3Q\' 1A=\'最小化\'><1O>0</1O></m>","<m E=\'3G\' 1A=\'最大化\'><1O>1</1O></m>","<m E=\'61\' 1A=\'关闭\'><1O>r</1O></m>","</m></m></m></m>","<m E=\'y-2o\' C=\'y-2o\'><m E=\'y-3L\'><m E=\'y-66\'><m E=\'y-2x\' D=\'1s:5A\'></m></m></m></m>","<m E=\'y-2o\' C=\'y-3O\'><m E=\'y-3L\'><m E=\'y-F\'></m></m></m>","<m E=\'y-38\' C=\'y-38\'><m E=\'y-65\'><m E=\'y-60\'></m></m></m>","</m>",1v?"<m C=\'y-3S\' D=\'1s:1B;z-1Q:3M;3d:#62;1y:O(Y=63) 6i:6j.6g.6f(6c=2);I:S\'></m>":\'\'].3R(\'\');R.2x.6e(m);5 1J=$(\'1J\');5 H=$(\'y-1d\');5 23=$(\'y-3S\');5 1z;5 2g=$(\'y-35\');5 1q=2g.P.P;5 2b=1q.P;5 25=2b.2N;5 1n=$(\'y-2o\').P.P.P;5 2A=$(\'y-3O\');5 4s=2A.P.P;5 4h=$(\'y-38\');5 1X=[1J];1t&&1X.1h($(\'3N\'));5 N=25.5X;5 1w={};5 1e=\'22\',2h=[0,0];5 2n=6(){5 L=1U();2h=[18(H.D.1b)-L[0],18(H.D.1c)-L[1]]};5 3p=6(){2n();1e=\'T\';N[1].P.1k=\'2\';N[1].1P=\'3P\';1D(G.2e,G.21,[0,0])};5 3l=6(){2n();1e=\'12\';N[0].P.1k=\'2\';N[0].1P=\'3P\';1D(0,$M(2g),2h)};5 24=6(1T){!1T&&1e==\'12\'&&2n();1e=\'22\';N[0].P.1k=\'0\';N[1].P.1k=\'1\';N[0].1P=\'3Q\';N[1].1P=\'3G\';1D.K(5G,1T?[]:[0,0,2h])};5 T,12;Q(\'3h\',12=6(){1e!=\'22\'?24():3l()},N[0]);Q(\'3h\',T=6(){1e!=\'22\'?24():3p()},N[1]);Q(\'5B\',6(e){k.3F&&(e.31||e.3a).46!=25&&T()},1q);Q(\'3h\',6(){x.2X(\'3j\')},N[2]);5 2c=6(){q[1l.T(G.5D,G.2e),1l.T(G.5E,G.21)]};5 3T=2c();5 11=1q.48&&1q;5 1L=6(v){!2l&&A(H,v==1&&1N?{1y:\'\',Y:\'\'}:{1y:\'4A(Y=\'+v*1x+\')\',Y:v})};5 2S=6(e){5 2m=1w.47+e.42;5 2d=1w.41+e.3W;u(!k.3I){5 L=1U(),32=L[0],2I=L[1];2m=1l.12(1l.T(2m,32),G.2e-H.2T+32);2d=1l.12(1l.T(2d,2I),G.21-H.2f+2I)}4o u(k.3r&&\'\'+3T!=\'\'+2c())28(V);A(1z,{1b:2m+\'Z\',1c:2d+\'Z\'})};5 20=6(){1L(1);1j("3V",2S,11);1j("3Y",20,11);2i();k.U&&A(1K().2N,\'I\',\'S\');11&&(1j("40",20,11),11.5U())};Q(\'5V\',6(e){u(k.43)q B;u((e.31||e.3a).46==25)q B;1L(k.3E);x.K(1w,{47:18(H.D.1b)-e.42,41:18(H.D.1c)-e.3W});Q("3V",2S,11);Q("3Y",20,11);u(k.U){5 1i={I:\'\'},2j=1K();1N&&1t&&x.K(1i,{1u:2j.2T,M:2j.2f});A(2j.2N,1i)}11&&(Q("40",20,11),11.48())},1q);5 4i=6(){A(H,{1b:1w.3u+G.3s+\'Z\',1c:1w.3B+G.3w+\'Z\'})};5 4v=6(e){5 W=e.W;u(W==27)2u();u(X){5 l=X.14,26;R.3C&&R.3C.C!=X[15].C&&(26=V);u(W==9||W==39)26&&(15=-1),$(X[++15==l?(--15):15].C).33();u(W==37)26&&(15=l),$(X[--15<0?(++15):15].C).33();u(W==13)q V}q 1R(e,(W>5F&&W<5Y)||W==9||W==13)};5 1R=6(e,d){e=e||6b;u(!d&&/3t|6a|5Z/i.3f((e.31||e.3a).68))q V;2v{e.6h=B;e.W=0}2r(69){e.4x&&e.4x()}q B};1J.4m=1R;5 28=6(4z){A(1X,\'I\',\'S\');5 2Z=2c();5 1Z=6(){A(1X,{1u:2Z[0]+\'Z\',M:2Z[1]+\'Z\',I:\'\'})};1v?4z===V?1Z():64(1Z,0):1Z();1e==\'12\'?3l():1e==\'T\'?3p():1D()};5 2y=6(1o){u(!k.3r)q;(1o===B?1j:Q)("1Z",28,1d);u(1o===B)q A(1X,\'I\',\'S\');A(1J,{3d:k.4y,1y:\'4A(Y=\'+k.2L*1x+\')\',Y:k.2L});28(V)};5 4u=6(f){f=1W(f)&&f.14==2?(f[0]+\'+{2},{3}+\'+f[1]):(2P[f]||2P[\'c\']);5 L=[G.2e-H.2T,G.21-H.2f].2B(1U());5 2Q=f.5R(/\\{(\\d)\\}/g,6(s,49){q L[49]}).5J(\',\');q[2H(2Q[0]),2H(2Q[1])]};5 2P={c:\'{0}/2+{2},{1}/2+{3}\',l:\'{2},{1}/2+{3}\',r:\'{0}+{2},{1}/2+{3}\',t:\'{0}/2+{2},{3}\',b:\'{0}/2,{1}+{3}\',5Q:\'{2},{3}\',5P:\'{2},{1}+{3}\',5O:\'{0}+{2},{1}+{3}\',5N:\'{0}+{2},{3}\'};5 1D=6(w,h,L){u(H.D.I==\'S\')q;h=18(h)||k.M;w=18(w)||k.1u;A(1z,{1u:w+\'Z\',M:h+\'Z\',1b:0,1c:0});L=4u(L||k.4g);A(1z,{1c:L[1]+\'Z\',1b:L[0]+\'Z\'});2i();A(1n,\'M\',h-$M(2g)-$M(2A)-$M(4h)+\'Z\');1N&&1t&&k.U&&A(1K(),{M:1n.21})};5 2k=[];5 1M=[];5 3q=6(1o){5 16=1o===B?1j:Q;16(\'5S\',k.29&&!2a?4i:2i,1d);A(1z,\'1s\',k.29&&2a?\'5W\':\'1B\');16(\'5T\',4v);u(1o===B){A(23,\'I\',\'S\');5 2J=6(){A(H,\'I\',\'S\');A(2k,\'2U\',\'1o\');2k=[];1M.1p();u(1M.14)x.19.K(1f,1M[0].2B(V))};5 4a=6(){5 O=1;5 2K=6(){O=1l.T(O-k.1S.3c,0);1L(O);u(O==0){2y(B);2J();4q(2p)}};2K();5 2p=4p(2K,k.1S.34)};k.1C?4a():2J();q}1g(5 o=R.4b(\'2Y\'),i=o.14-1;i>-1;i--)o[i].D.2U!=\'4c\'&&2k.1h(o[i])&&(o[i].D.2U=\'4c\');A([2b,25],\'I\',(k.3m?\'\':\'S\'));1q.1P=\'y-4d\'+(k.3m?\'\':\' y-5L\');2b.1k=k.1A;1g(5 i=0,c=[\'12\',\'T\',\'3j\'];i<3;i++){N[i].D.I=k[c[i]+\'5C\']?\'\':\'S\';N[i].1A=k[c[i]+\'5K\']}5 36=\'1s:1B;1u:1x%;M:1x%;1c:0;1b:0;Y:1;1y:O(Y=1x)\';1n.1k=!k.U?(\'<m E="\'+k.4k+\'">\'+k.2E+\'</m>\'):"<U D=\'"+36+"\' 5I=\'0\' 5H=\'0\' 30=\'"+k.2E+"\'></U><m D=\'"+36+";3d:#4r;Y:0.1;1y:O(Y=10);I:S\'></m>";(6(17,J){1g(5 i 1F J)2v{17[i]=J[i]}2r(e){}})(1n.P,k.U);1n.1P="y-2x "+k.1I;A(2A,\'I\',((4s.1k=4t(3b(k.F)))?\'\':\'S\'));!k.1C&&k.2q&&A(23,\'I\',\'\');A(H,\'I\',\'\');24(V);1L(k.1C?0:1);k.1C&&(6(){5 O=0;5 3g=6(){O=1l.12(O+k.1S.3c,1);1L(O);u(O==1){4q(2p);k.2q&&A(23,\'I\',\'\')}};3g();5 2p=4p(3g,k.1S.34)})();X&&$(X[15=0].C).33();H.6d=k.4l?1f:1R;H.4m=k.4n?1f:1R};5 1T=6(){1z=[H].2B(k.2q?23:\'\');2y();3q()};5 2u=6(){!k.1C&&2y(B);3q(B)};5 1K=6(){q k.U?1n.P:1f};x.K(x,{3j:2u,T:T,12:12,22:24,1K:1K,19:6(3n,2F,19){u(!19&&1M.1h([3n,2F])&&1M.14>1)q;5 a=[].67.4e(3n,0),o={},j=-1;u(!2z(a[0])){1g(5 i 1F 2O)u(a[++j])o[i]=a[j]}4o{o=a[0]}x.K(k,x.K({},o,2F),x.2w());1g(5 i 1F k)k[i]=k[i]!=1f?k[i]:x.1i[i];1T()},2X:6(2s,1a,4Z){u(1a==2M?k.1a:1a)2u();2v{(k.2V)(2s)}2r(e){4f(e.2E)}},4L:1D,2w:6(1i){q x.1i=x.K({},1i,x.K({},x.1i,2O))},4X:6(){5 4j=X||[],F,2R=[];1H(F=4j.1p())2R.1h($(F.C));q 2R}});x.2w();5 t;1g(5 i 1F 1E)1H(t=1E[i].1p())x[i].K(1f,t);Q(\'5m\',6(){1H(x.2C.14)1j.K(1f,x.2C.1p())},1d)})()})();x.K(x,{4f:6(){x.19(1m,{1I:\'5u\',F:[\'1Y\']})},5b:6(){x.19(1m,{1I:\'5h\',F:[\'1Y\']})},5i:6(){x.19(1m,{1I:\'5g\',F:[\'1Y\']})},5f:6(){x.19(1m,{1I:\'5x\',F:[\'1Y\',\'4w\']})},4B:6(){x.19(1m)}});',62,392,'|||||var|function||||||||||||||curCfg||div||||return||||if|||ymPrompt|ym||setStyle|false|id|style|class|btn|rootEl|ym_win|display|obj|apply|pos|height|ym_ico|alpha|firstChild|addEvent|document|none|max|iframe|true|keyCode|btnCache|opacity|px||bindEl|min||length|btnIndex|fn|el|parseInt|show|autoClose|left|top|window|cur_state|null|for|push|cfg|detachEvent|innerHTML|Math|arguments|ym_body|visible|shift|ym_head|env|position|IE6|width|isIE|dragVar|100|filter|ym_wins|title|absolute|useSlide|setWinSize|_initFn|in|txt|while|icoCls|maskLevel|getPage|filterWin|cacheWin|isCompat|strong|className|index|keyEvent|slideCfg|init|getScrollPos|html|isArray|maskEl|OK|resize|uEvent|clientHeight|normal|ym_shadow|doNormal|ym_hTool|nofocus||resizeMask|fixPosition|useFixed|ym_hText|getWinSize|sTop|clientWidth|offsetHeight|ym_headbox|cur_cord|saveWinInfo|pg|_obj|frameset|sLeft|cal_cord|ml|it|showShadow|catch|sign|callee|destroy|try|setDefaultCfg|body|maskVisible|isObj|ym_btn|concat|eventList|item|message|fargs|maskStyle|eval|st|closeFn|hideFn|maskAlpha|undefined|nextSibling|dftCfg|posMap|arr|rBtn|mEvent|offsetWidth|visibility|handler|type|doHandler|object|size|src|srcElement|sl|focus|interval|tl|ifmStyle||bl||target|mkBtn|increment|background|objType|test|showFn|click|Function|close|new|doMin|titleBar|args|attachEvent|doMax|winVisible|showMask|scrollLeft|input|_offX|nbsp|scrollTop|seed|initFn|Object|dftBtn|_offY|activeElement|on|winAlpha|maxBtn|ymPrompt_max|header|dragOut|cursor|text|mr|10000|maskIframe|btnl|ymPrompt_normal|ymPrompt_min|join|shadow|winSize|javascript|mousemove|clientY|cancelTxt|mouseup|okTxt|losecapture|offY|clientX|disableDrag|complete|readyState|parentNode|offX|setCapture|s1|alphaClose|getElementsByTagName|hidden|tc|call|alert|winPos|ym_bottom|scrollEvent|btns|msgCls|allowSelect|oncontextmenu|allowRightMenu|else|setInterval|clearInterval|000|ym_btnContent|joinBtn|getPos|keydownEvent|CANCEL|preventDefault|maskAlphaColor|noDelay|Alpha|win|minBtn|Array|content|pubDate|185|300|closeBtn|closeTxt|version|resizeWin|minTxt|typeof|toString|9999|10001|prototype|move|tr|createElement|center|load|getButtons|readystatechange|closeFirst||align|documentElement|maxTxt|2013|nodelist|htmlcollection|userAgent|navigator|MSIE|ok|succeedInfo|removeEventListener|addEventListener|getElementById|confirmInfo|ymPrompt_error|ymPrompt_succeed|errorInfo|cancel|CSS1Compat|button|unload|onclick|pointer|value|btnStyle|03|09|compatMode|ymPrompt_alert|pop|ymPrompt_btn_|ymPrompt_confirm|v1|RegExp|relative|dblclick|Btn|scrollWidth|scrollHeight|110|this|frameborder|border|split|Txt|ttc|tools|rt|rb|lb|lt|replace|scroll|keydown|releaseCapture|mousedown|fixed|childNodes|123|textarea|bc|ymPrompt_close|808080|80|setTimeout|br|mc|slice|tagName|ex|select|event|pixelradius|onselectstart|appendChild|Blur|Microsoft|returnValue|progid|DXImageTransform'.split('|'),0,{}));