-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmyfocus-2.0.2.min.js
2 lines (2 loc) · 10.3 KB
/
myfocus-2.0.2.min.js
1
2
/*! myFocus v2.0.2 | http://cosmissy.com/ */
eval(function(p,a,c,k,e,r){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--)r[e(c)]=k[c]||e(c);k=[function(e){return r[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}('(7(){8 q=7(a){u T a===\'1Z\'?11.4q(a):a},$N=7(a,b){u(q(b)||11).47(a)},$2Q=7(a,b){u $25(a,b,\'N\')},$1q=7(a,b){8 c=$N(\'*\',b),1a=[];G(8 i=0,l=c.L;i<l;i++){9(2k(a,c[i])){1a.I(c[i])}}u 1a},$39=7(a,b){u $25(a,b)},$25=7(a,b,c){8 d=[],V=c===\'N\'?$N:$1q,1A=V(a,b),x=1A.L;G(8 i=0;i<x;i++){9(1A[i].19===b)d.I(1A[i]);i+=V(a,1A[i]).L}u d},2k=7(a,b){u 2W(\'/(^|\\\\s)\'+a+\'(\\\\s|$)/\').29(b.1K)};v=7(a){u 1Y v.1O(a)};v.P=7(){8 a=2Z,x=a.L;9(6===v){9(x===1)1s=v,i=0;K 1s=a[0],i=1}K{1s=6,i=0}G(i;i<x;i++){G(8 p 21 a[i]){1s[p]=a[i][p]}}u 1s};v.P({2e:{E:\'4a\',2b:\'2B\',2U:\'2h\',1L:B,28:B,2R:4,1b:0,31:3,1D:1x,2I:M,3g:B},1O:7(a){8 e=a,x=e&&e.L;9(e 4Y v.1O)u e;6.L=0;9(!e||(e.3V&&!x)||(e.3X&&!x)){1P.1y.I.S(6)}K 9(e.3g){e=q(e.Q);1P.1y.I.S(6,e);6.2p=a;6.1e=$N(\'1p\',$N(\'1n\',e)[0]);6.1F=6.1e.L}K 9(x){G(8 i=0;i<x;i++)1P.1y.I.S(6,e[i])}K{1P.1y.I.S(6,e)}u 6},V:{3d:[].3d},E:{},2l:{}});v.1O.1y=v.V;v.V.P=v.E.P=v.2l.P=v.P;v.V.P({1h:7(b){8 c=6,17=M,$=v;8 d=6.2X(b);9(6.L)G(8 i=0,x=d.L;i<x;i++){8 f=[],s=d[i];35(s.58(0)){1g\'>\':17=B;18;1g\'.\':8 g=s.2d(1);8 h=17?$39:$1q;$(c).1u(7(){f=f.4o(h(g,6))});17=M;18;1g\'#\':8 j=s.2d(1),e=q(j);9(e)f.I(q(j));17=M;18;2h:8 h=17?$2Q:$N,2m=s.4T(\'.\');8 k=2m[0],g=2m[1];$(c).1u(7(){8 a=h(k,6);G(8 i=0,x=a.L;i<x;i++){9(g&&!2k(g,a[i]))3y;f.I(a[i])}});17=M}9(!17)c=f}u $(c)},3H:7(){u v(6[0].19)},Y:7(s){9(T s!==\'2A\'){6[0].W=s;u 6}K u 6[0].W},1u:7(a){8 b=6;G(8 i=0,x=b.L;i<x;i++){8 c=a.S(b[i],i);9(c===M)18;9(c===B)3y}u 6},4b:7(n){u v(6[n])},2X:7(a){8 b=/(([^[\\]\'"]+)+\\]|\\\\.|([^ >+~,(\\[\\\\]+)+|[>+~])(\\s*,\\s*)?/g;8 c=[],m;4l((m=b.4m(a))!==1N){c.I(m[1])}u c},1L:7(a){8 o=6[0],e=11.1C(\'1f\');e.W=a;8 b=e.3B;o.19.4Z(b,o);b.1U(o);u 6},2i:7(a){8 b=6[0];8 e=11.1C(\'1f\');e.W=a;8 c=e.3W[0];b.1U(c);u v(c)},1X:7(a,b){8 c=6.1e,n=6.1F;8 d=[\'<1f 1q="\'+a+\'"><1n>\'];G(8 i=0;i<n;i++){8 e=$N(\'y\',c[i])[0],Y;35(b){1g\'2n\':Y=\'<a>\'+(i+1)+\'</a><b></b>\';18;1g\'20\':Y=e?c[i].W.1m(/\\<y(.|\\n|\\r)*?\\>/i,e.3a)+\'<p>\'+e.2z("1d")+\'</p><b></b>\':\'\';18;1g\'1G\':Y=e?\'<a><y U=\'+(e.2z("1G")||e.U)+\' /></a><b></b>\':\'\';18;2h:Y=\'<a></a><b></b>\'}d.I(\'<1p>\'+Y+\'</1p>\')}d.I(\'</1n></1f>\');u 6.2i(d.1t(\'\'))},4M:7(a){u 6.1X(a||\'2n\',\'2n\')},4N:7(a){u 6.1X(a||\'20\',\'20\')},4O:7(a){u 6.1X(a||\'1G\',\'1G\')},2P:7(){8 o=6[0];9(o)o.19.4W(o)},4X:7(n){8 n=n||2,1M=6[0].19,Y=1M.W,s=[];G(8 i=0;i<n;i++)s.I(Y);1M.W=s.1t(\'\');u v(1M).1h(6[0].53)}});v.V.P({C:7(b){8 o=6[0],10,1a=[\';\'],12=v.12;9(!o)u 6;9(T b===\'1Z\'){9(b===\'1E\')b=12?\'3Y\':\'43\';9(!(10=o.O[b]))10=(12?o.48:49(o,\'\'))[b];9(b===\'X\'&&10===2A)10=1;9(10===\'28\'&&(b===\'J\'||b===\'H\'))10=o[\'4e\'+b.1m(/\\w/i,7(a){u a.4h()})];8 c=3j(10);u 3t(c)?10:c}K{G(8 p 21 b){9(T b[p]===\'1S\'&&!6.3A[p])b[p]+=\'D\';1a.I(p.1m(/([A-Z])/g,\'-$1\')+\':\'+b[p]+\';\');9(p===\'X\')1a.I(\'3E:3G(X=\'+b[p]*1x+\')\')}o.O.2r+=1a.1t(\'\');u 6}},3I:7(a){6[0].O.X=a,6[0].O.3E=\'3G(X=\'+a*1x+\')\'},2O:7(a,b,m){6[0].O[b]=2t[m](a)+\'D\'},2v:7(a){6[0].1K+=\' \'+a;u 6},2S:7(a){8 o=6[0],2x=a&&o.1K,2V="/\\\\s*\\\\b"+a+"\\\\b/g";o.1K=2x?2x.1m(2W(2V),\'\'):\'\';u 6},3A:{55:B,5v:B,5d:B,X:B,5e:B,5f:B,5p:B,5u:B}});v.V.P({22:7(a,f,g,h,i,j){8 k=6,o=k[0],2Y=a===\'X\',2y=M;i&&i.S(o);9(T f===\'1Z\'){9(/^[+-]=\\d+/.29(f))f=f.1m(\'=\',\'\'),2y=B;f=3j(f)}8 l=k.C(a),b=3t(l)?0:l,c=2y?f:f-b,d=g,e=6.30[h],m=c>0?\'40\':\'41\',1o=\'32\'+a,2H=k[2Y?\'3I\':\'2O\'],37=(1Y 38)*1;o[1o]&&1H(o[1o]);o[1o]=2J(7(){8 t=(1Y 38)-37;9(t<=d){2H.S(k,e(t,b,c,d),a,m)}K{2H.S(k,b+c,a,m);1H(o[1o]),o[1o]=1N;j&&j.S(o)}},13);u 6},4f:7(a,b,c){9(T a!==\'1S\')c=a,a=3e;9(T b===\'7\')c=b,b=\'\';6.22(\'X\',1,a,b||\'27\',7(){v(6).C({1I:\'4j\',X:0})},c);u 6},4k:7(a,b,c){9(T a!==\'1S\')c=a,a=3e;9(T b===\'7\')c=b,b=\'\';6.22(\'X\',0,a,b||\'27\',1N,7(){6.O.1I=\'1J\';c&&c.S(6)});u 6},3v:7(a,b,c,d){9(T b!==\'1S\')d=b,b=4n;9(T c===\'7\')d=c,c=\'\';G(8 p 21 a)6.22(p,a[p],b,c||\'2a\',1N,d);u 6},4p:7(){8 o=6[0];G(8 p 21 o)9(p.3z(\'32\')!==-1)o[p]&&1H(o[p]);u 6},30:{27:7(t,b,c,d){u c*t/d+b},4s:7(t,b,c,d){u-c/2*(2t.4u(2t.4v*t/d)-1)+b},4z:7(t,b,c,d){u c*(t/=d)*t*t*t+b},2a:7(t,b,c,d){u-c*((t=t/d-1)*t*t*t-1)+b},4A:7(t,b,c,d){u((t/=d/2)<1)?(c/2*t*t*t*t+b):(-c/2*((t-=2)*t*t*t-2)+b)}}});v.V.P({16:7(a,b){v.2c(6[0],a,b);u 6},4D:7(b,c,d){8 f=6,p=f.2p,n=f.1F,t=p.2R*3C,d=d||M,1E=v(f.1e).C(\'1E\'),1i=1E===\'1v\',2f=1i?\'1v\':\'2g\',1w=1i?p.J:p.H,1j=0,R=p.1b;f.1h(\'.2j\').2P();f.1k=7(a){b&&b(1j,n);R=T a===\'1Z\'?1j+54(a.1m(\'=\',\'\')):a;9(R<=-1){R=n-1;9(d)f.1e[0].19.O[2f]=-n*1w+\'D\'}9(R>=n){9(!d)R=0;9(R>=2*n){f.1e[0].19.O[2f]=-(n-1)*1w+\'D\';R=n}}9(d&&1j>=n&&R<n)R+=n;c&&c(R,n,1j);f.2T=1j=R};1Q{f.1k(R)}1R(e){1z(7(){f.1k(R)},0)};9(p.28&&n>1){f.2o=2J(7(){f.1k(\'+=1\')},t);f.16(\'1T\',7(){1H(f.2o)}).16(\'2q\',7(){9(!f.3R)f.2o=2J(7(){f.1k(\'+=1\')},t)})}f.1h(\'a\').1u(7(){6.3S=7(){6.3T()}})},3U:7(a,b){8 c=6,p=c.2p,1l=p.2b,1D=p.1D,2s=b||{},1V=2s.33||p.33;8 d=7(){9(6.1b!==c.2T&&!2s.3Z){c.1k(6.1b);u M}};a.1u(7(i){6.1b=i;8 o=6,$o=v(o);9(1l===\'2B\'){$o.16(\'1T\',7(){$o.2v(\'34\')}).16(\'2q\',7(){$o.2S(\'34\')}).16(\'2B\',d)}K 9(1l===\'1T\'){$o.16(\'1T\',7(){9(1D===0)d.S(o);K a.2u=1z(7(){d.S(o)},1D)}).16(\'2q\',7(){a.2u&&42(a.2u)})}K{36(\'v 44 45(2b) : \\"\'+1l+\'\\"\');u M}});9(1V){8 e=a.C(\'1E\'),1i=e===\'1v\'||e===\'46\';a.1W=1i?\'1v\':\'2g\';a.n=c.1F;a.2w=1V;a.1c=p.1b;a.1B=a.1c+1V-1;a.1w=a.C(1i?\'J\':\'H\');a.3b=a.3H()}},4c:7(i,a){8 n=6.n,1W=6.1W,$1n=6.3b,C={};9(i>=6.1B){6.1B=i<n-1?i+1:i;6.1c=6.1B-6.2w+1}K 9(i<=6.1c){6.1c=i>0?i-1:0;6.1B=6.1c+6.2w-1}C[1W]=-6.1c*6.1w;$1n.3v(C,a||4d,\'2a\');u 6}});v.P({3c:7(p,b){8 F=6,Q=p.Q,15=F.3f(Q);p.E=p.E||F.2e.E;p.14=p.E+\'4g\'+Q;F.2c(3h,\'3i\',7(){F.2C=B});F.3k(p,7(){p=F.P({},F.2e,F.2l[p.E],p);F.3l(p,7(){8 a=F(q(Q));p.J=p.J||a.C(\'J\'),p.H=p.H||a.C(\'H\');F.3m(p,a,15);F.3n(a);a.2v(p.E+\' \'+p.14);F.3o(p,7(){9(p.2I)F.3p(p,a);F.E[p.E](p,F);b&&b()})})})},2C:M,3k:7(p,a){9(6.E[p.E]){a();u}8 b=6.3q()+\'4r-E/\'+p.E;8 c=11.1C("3r"),C=11.1C("4t"),U=b+\'.3s\',2D=b+\'.C\';c.1l="1d/4w",c.U=U;C.4x="4y",C.2D=2D;8 d=$N(\'3u\')[0],2E=0,3w=4B;d.1U(C);d.1U(c);c.3x=c.4C=7(){9(!c.2F||c.2F=="4E"||c.2F=="4F")a(),2E=1};1z(7(){9(!2E)36(\'4G 4H 3i: \'+U)},3w)},3q:7(){8 a=\'\';8 b=$N("3r");G(8 i=0,x=b.L;i<x;i++){8 c=b[i].U;9(c&&/4I([\\.-].*)?\\.3s/i.29(c)){a=c;18}};u a.2d(0,a.4J(\'/\')+1)},3l:7(p,a){8 F=6;(7(){1Q{9(F.12)q(p.Q).4K();K q(p.Q).W;a()}1R(e){9(!F.2C)1z(2Z.4L,0)}})()},3o:7(p,a){8 t=p.31;8 b=q(p.Q),y=$N(\'y\',b),x=y.L,2G=0,1r=M;9(!t||!x){a();u}G(8 i=0;i<x;i++){y[i].3x=7(){2G+=1;9(2G==x&&!1r){1r=B,a()}};9(6.12)y[i].U=y[i].U};8 t=t*3C;1z(7(){9(!1r){1r=B,a()}},t)},3p:7(p,a){8 b=$N(\'y\',$N(\'1n\',a[0])[0]),x=b.L,23=p.J,24=p.H;G(8 i=0;i<x;i++){8 c=1Y 4P();c.U=b[i].U;9(c.J/c.H>=23/24){b[i].O.J=23+\'D\';b[i].O.4Q=(24-23/c.J*c.H)/2+\'D\'}K{b[i].O.H=24+\'D\'}}},3m:7(p,a,b){8 c=[],w=p.J||\'\',h=p.H||\'\';9(p.1L)a.1L(\'<1f 1q="\'+p.E+\'4R"></1f>\');c.I(\'.\'+p.14+\' *{4S:0;3D:0;4U:0;4V-O:1J;}.\'+p.14+\'{2K:3F;J:\'+w+\'D;H:\'+h+\'D;2L:2M;50:51/1.5 52;1d-2N:1v;3J:#3K;56:57!3L;}.\'+p.14+\' .2j{2K:59;z-1b:5a;J:1x%;H:1x%;5b:#5c;1d-2N:3M;3D-2g:\'+0.26*h+\'D;3J:#3K;}.\'+p.14+\' .3N{2K:3F;J:\'+w+\'D;H:\'+h+\'D;2L:2M;}.\'+p.14+\' .20 1p{J:\'+w+\'D;H:\'+p.2U+\'D!3L;2L:2M;}\');9(p.2I)c.I(\'.\'+p.14+\' .3N 1p{1d-2N:3M;J:\'+w+\'D;H:\'+h+\'D;}\');1Q{b.3O.2r=c.1t(\'\')}1R(e){b.W=c.1t(\'\')}},3f:7(a){8 s=\'#\'+a+\' *{1I:1J}\',15=11.1C(\'O\');15.1l=\'1d/C\';1Q{15.3O.2r=s}1R(e){15.W=s}8 b=$N(\'3u\',11)[0];b.5g(15,b.3B);u 15},3n:7(a){8 b=a.1h(\'.2j\'),$y=b.1h(\'y\'),y=$y[0];9($y.L){b.2i(\'<p>\'+y.3a+\'</p>\');9(!y.2z(\'U\'))y.O.1I=\'1J\'}}});v.P({12:!!(11.5h&&5i.5j.3z(\'5k\')===-1),2c:7(o,a,b){8 c=6.12,e=c?\'5l\':\'5m\',t=(c?\'5n\':\'\')+a;o[e](t,7(e){8 e=e||3h.5o,3P=b.S(o,e);9(3P===M){9(c)e.5q=B,e.5r=M;K e.5s(),e.5t()}},M)}});9(T 3Q!==\'2A\'){3Q.V.P({v:7(p,a){9(!p)p={};p.Q=6[0].Q;9(!p.Q)p.Q=6[0].Q=\'4i\';v.3c(p,a)}})}})();',62,342,'||||||this|function|var|if|||||||||||||||||||||return|myFocus||len|img|||true|css|px|pattern||for|height|push|width|else|length|false|tag|style|extend|id|indexCurrent|call|typeof|src|fn|innerHTML|opacity|html||value|document|isIE||__clsName|oStyle|bind|isChild|break|parentNode|arr|index|showStart|text|HTMLUList|div|case|find|isLevel|indexLast|run|type|replace|ul|timerId|li|class|done|dest|join|each|left|distance|100|prototype|setTimeout|doms|showEnd|createElement|delay|float|HTMLUListLength|thumb|clearInterval|display|none|className|wrap|pNode|null|constr|Array|try|catch|number|mouseover|appendChild|tsNum|dir|addList|new|string|txt|in|animate|boxWidth|boxHeight|getChild||linear|auto|test|easeOut|trigger|addEvent|slice|defConfig|direction|top|default|addHtml|loading|hasClass|config|sArr|num|runTimer|settings|mouseout|cssText|par|Math|mouseoverTimer|addClass|showNum|cls|diffValue|getAttribute|undefined|click|onloadWindow|href|isSuccess|readyState|count|setProperty|autoZoom|setInterval|position|overflow|hidden|align|setAnimateStyle|remove|tag_|time|removeClass|runIndex|txtHeight|reg|eval|parseSelector|isOpacity|arguments|easing|loadIMGTimeout|__myFocusTimer__|thumbShowNum|hover|switch|alert|origTime|Date|class_|alt|slideBody|set|splice|400|initBaseCSS|__focusConstr__|window|load|parseFloat|loadPattern|getBoxReady|initCSS|initHTML|getIMGReady|zoomIMG|getFilePath|script|js|isNaN|head|slide|timeout|onload|continue|indexOf|cssNumber|firstChild|1000|padding|filter|relative|alpha|parent|setOpacity|background|fff|important|center|pic|styleSheet|flag|jQuery|isStop|onfocus|blur|bindControl|sort|childNodes|item|styleFloat|isRunning|ceil|floor|clearTimeout|cssFloat|Error|Setting|right|getElementsByTagName|currentStyle|getComputedStyle|mF_fancy|eq|scrollTo|500|offset|fadeIn|_|toUpperCase|mF__ID__|block|fadeOut|while|exec|800|concat|stop|getElementById|mf|swing|link|cos|PI|javascript|rel|stylesheet|easeIn|easeInOut|3000|onreadystatechange|play|loaded|complete|Failed|to|myfocus|lastIndexOf|doScroll|callee|addListNum|addListTxt|addListThumb|Image|marginTop|_wrap|margin|split|border|list|removeChild|repeat|instanceof|replaceChild|font|12px|Verdana|nodeName|parseInt|fillOpacity|visibility|visible|charAt|absolute|9999|color|666|lineHeight|orphans|widows|insertBefore|all|navigator|userAgent|Opera|attachEvent|addEventListener|on|event|zIndex|cancelBubble|returnValue|stopPropagation|preventDefault|zoom|fontWeight'.split('|'),0,{}))