我也分享个超级精简实用的返回顶部js代码

2012.10.14 分享 33413 人浏览 1 条留言

之前在别的博客看到了挺漂亮的返回顶部效果,就直接拿来用了,也用了挺久的了,就是一个js调用。

后来在精简我的点点模板代码时候才发现,这个返回顶部代码居然是那么的臃肿,且还搞的看不懂他的源码如下

注:此处是别人的代码,不建议使用。。。

<div data-widget="backtop"><script src="http://diancom.sinaapp.com/backtop.js" charset="utf-8"></script></div>

div和js一起的,看起来很简单,把里面的js部分打开来看下,内容如下

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}('(Y(){12 o=7.1O=Y(i){11(i==15){X"15"}11(i.$2A){X i.$2A()}11(i.1X){11(i.1G==1){X"1v"}11(i.1G==3){X(/\\S/).1u(i.3r)?"9P":"9L"}}1a{11(24 i.17=="4z"){11(i.et){X"1g"}11("es"1m i){X"9y"}}}X 24 i};12 j=7.7e=Y(t,i){11(t==15){X 1i}12 s=t.$3d||t.3d;1w(s){11(s===i){X 1b}s=s.2q}X t ef i};12 f=7.21;12 p=1b;18(12 k 1m{4c:1}){p=15}11(p){p=["5O","e0","dZ","dY","9j","4c","3d"]}f.1p.3a=Y(s){12 i=7;X Y(u,t){11(u==15){X 7}11(s||24 u!="2p"){18(12 v 1m u){i.1e(7,v,u[v])}11(p){18(12 w=p.17;w--;){v=p[w];11(u.5O(v)){i.1e(7,v,u[v])}}}}1a{i.1e(7,u,t)}X 7}};f.1p.9h=Y(s){12 i=7;X Y(u){12 v,t;11(s||24 u!="2p"){v=u}1a{11(1g.17>1){v=1g}}11(v){t={};18(12 w=0;w<v.17;w++){t[v[w]]=i.1e(7,v[w])}}1a{t=i.1e(7,u)}X t}};f.1p.1Z=Y(i,s){7[i]=s}.3a();f.1p.1l=Y(i,s){7.1p[i]=s}.3a();12 n=1h.1p.34;f.1n=Y(i){X(o(i)=="Y")?i:Y(){X i}};1h.1n=Y(i){11(i==15){X[]}X(a.4v(i)&&24 i!="2p")?(o(i)=="4a")?i:n.1e(i):[i]};22.1n=Y(s){12 i=3H(s);X 9f(i)?i:15};1W.1n=Y(i){X i+""};f.1l({3h:Y(){7.$49=1b;X 7},2K:Y(){7.$5M=1b;X 7}});12 a=7.2i=Y(u,t){11(u){12 s=u.2x();12 i=Y(v){X(o(v)==s)};a["dI"+u]=i;11(t!=15){t.1p.$2A=(Y(){X s}).3h()}}11(t==15){X 15}t.1Z(7);t.$3d=a;t.1p.$3d=t;X t};12 e=1x.1p.4c;a.4v=Y(i){X(i!=15&&24 i.17=="4z"&&e.1e(i)!="[2t 21]")};12 q={};12 r=Y(i){12 s=o(i.1p);X q[s]||(q[s]=[])};12 b=Y(t,x){11(x&&x.$49){X}12 s=r(7);18(12 u=0;u<s.17;u++){12 w=s[u];11(o(w)=="1L"){b.1e(w,t,x)}1a{w.1e(7,t,x)}}12 v=7.1p[t];11(v==15||!v.$5M){7.1p[t]=x}11(7[t]==15&&o(x)=="Y"){m.1e(7,t,Y(i){X x.1s(i,n.1e(1g,1))})}};12 m=Y(i,t){11(t&&t.$49){X}12 s=7[i];11(s==15||!s.$5M){7[i]=t}};a.1l({1l:b.3a(),1Z:m.3a(),97:Y(i,s){b.1e(7,i,7.1p[s])}.3a(),48:Y(i){r(7).1j(i);X 7}});1d a("2i",a);12 d=Y(s,w,u){12 t=(w!=1x),A=w.1p;11(t){w=1d a(s,w)}18(12 x=0,v=u.17;x<v;x++){12 B=u[x],z=w[B],y=A[B];11(z){z.2K()}11(t&&y){1F A[B];A[B]=y.2K()}}11(t){w.1l(A)}X d};d("1W",1W,["47","dq","3i","2j","8X","1R","dc","1o","1K","34","5J","d4","ct","2x","4g"])("1h",1h,["8J","1j","5F","4o","3A","4q","5E","3i","3s","34","2j","8X","2u","4F","8x","2c","8w","bU","bT"])("22",22,["bQ","8u","9j","bC"])("21",f,["1s","1e","6F"])("2l",2l,["6B","1u"])("1x",1x,["bn","aF","aD","2N","aB","aA","a5","9S","a3","9X","9W","9V","eN"])("3S",3S,["5u"]);1x.1Z=m.3a();3S.1Z("5u",Y(){X+(1d 3S)});1d a("7C",7C);22.1p.$2A=Y(){X 9f(7)?"4z":"15"}.3h();22.1Z("6h",Y(s,i){X 1H.7w(1H.6h()*(i-s+1)+s)});12 g=1x.1p.5O;1x.1Z("4F",Y(i,t,u){18(12 s 1m i){11(g.1e(i,s)){t.1e(u,i[s],s,i)}}});1x.1t=1x.4F;1h.1l({4F:Y(u,v){18(12 t=0,s=7.17;t<s;t++){11(t 1m 7){u.1e(v,7[t],t,7)}}},1t:Y(i,s){1h.4F(7,i,s);X 7}});12 l=Y(i){3j(o(i)){1B"4a":X i.2Z();1B"2t":X 1x.2Z(i);5s:X i}};1h.1l("2Z",Y(){12 s=7.17,t=1d 1h(s);1w(s--){t[s]=l(7[s])}X t});12 h=Y(s,i,t){3j(o(t)){1B"2t":11(o(s[i])=="2t"){1x.5r(s[i],t)}1a{s[i]=1x.2Z(t)}1q;1B"4a":s[i]=t.2Z();1q;5s:s[i]=t}X s};1x.1Z({5r:Y(z,u,t){11(o(u)=="2p"){X h(z,u,t)}18(12 y=1,s=1g.17;y<s;y++){12 w=1g[y];18(12 x 1m w){h(z,x,w[x])}}X z},2Z:Y(i){12 t={};18(12 s 1m i){t[s]=l(i[s])}X t},2S:Y(w){18(12 v=1,t=1g.17;v<t;v++){12 s=1g[v]||{};18(12 u 1m s){w[u]=s[u]}}X w}});["1x","e3","dU","dT","dM"].1t(Y(i){1d a(i)});12 c=3S.5u();1W.1Z("9v",Y(){X(c++).4c(36)})}).1e(7);1h.1l({3R:Y(a){12 b=1h.34(1g,1);X 7.2c(Y(c){X c[a].1s(c,b)})},8x:Y(c,d){18(12 b=0,a=7.17;b<a;b++){11((b 1m 7)&&!c.1e(d,7[b],b,7)){X 1i}}X 1b},2u:Y(d,e){12 c=[];18(12 b=0,a=7.17;b<a;b++){11((b 1m 7)&&d.1e(e,7[b],b,7)){c.1j(7[b])}}X c},50:Y(){X 7.2u(Y(a){X a!=15})},2j:Y(c,d){12 a=7.17;18(12 b=(d<0)?1H.4T(0,a+d):d||0;b<a;b++){11(7[b]===c){X b}}X-1},2c:Y(d,e){12 c=[];18(12 b=0,a=7.17;b<a;b++){11(b 1m 7){c[b]=d.1e(e,7[b],b,7)}}X c},8w:Y(c,d){18(12 b=0,a=7.17;b<a;b++){11((b 1m 7)&&c.1e(d,7[b],b,7)){X 1b}}X 1i},3Q:Y(c){12 d={},b=1H.5n(7.17,c.17);18(12 a=0;a<b;a++){d[c[a]]=7[a]}X d},4i:Y(c){12 a={};18(12 e=0,b=7.17;e<b;e++){18(12 d 1m c){11(c[d](7[e])){a[d]=7[e];1F c[d];1q}}}X a},1z:Y(a,b){X 7.2j(a,b)!=-1},2S:Y(a){7.1j.1s(7,a);X 7},63:Y(){X(7.17)?7[7.17-1]:15},d3:Y(){X(7.17)?7[22.6h(0,7.17-1)]:15},62:Y(a){11(!7.1z(a)){7.1j(a)}X 7},cf:Y(c){18(12 b=0,a=c.17;b<a;b++){7.62(c[b])}X 7},3P:Y(b){18(12 a=7.17;a--;){11(7[a]===b){7.4q(a,1)}}X 7},4t:Y(){7.17=0;X 7},3E:Y(){12 d=[];18(12 b=0,a=7.17;b<a;b++){12 c=1O(7[b]);11(c=="15"){2D}d=d.3i((c=="4a"||c=="9y"||c=="1g"||7e(7[b],1h))?1h.3E(7[b]):7[b])}X d},5Y:Y(){18(12 b=0,a=7.17;b<a;b++){11(7[b]!=15){X 7[b]}}X 15},5m:Y(b){11(7.17!=3){X 15}12 a=7.2c(Y(c){11(c.17==1){c+=c}X c.3b(16)});X(b)?a:"2e("+a+")"},4C:Y(d){11(7.17<3){X 15}11(7.17==4&&7[3]==0&&!d){X"8t"}12 b=[];18(12 a=0;a<3;a++){12 c=(7[a]-0).4c(16);b.1j((c.17==1)?"0"+c:c)}X(d)?b:"#"+b.3s("")}});1W.1l({1u:Y(a,b){X((1O(a)=="5R")?a:1d 2l(""+a,b)).1u(7)},1z:Y(a,b){X(b)?(b+7+b).2j(b+a+b)>-1:7.2j(a)>-1},8l:Y(){X 7.1o(/^\\s+|\\s+$/g,"")},50:Y(){X 7.1o(/\\s+/g," ").8l()},5l:Y(){X 7.1o(/-\\D/g,Y(a){X a.47(1).4g()})},8i:Y(){X 7.1o(/[A-Z]/g,Y(a){X("-"+a.47(0).2x())})},8a:Y(){X 7.1o(/\\b[a-z]/g,Y(a){X a.4g()})},5k:Y(){X 7.1o(/([-.*+?^${}()|[\\]\\/\\\\])/g,"\\\\$1")},3b:Y(a){X 76(7,a||10)},7Y:Y(){X 3H(7)},5m:Y(b){12 a=7.1R(/^#?(\\w{1,2})(\\w{1,2})(\\w{1,2})$/);X(a)?a.34(1).5m(b):15},4C:Y(b){12 a=7.1R(/\\d{1,3}/g);X(a)?a.4C(b):15},aR:Y(a,b){X 7.1o(b||(/\\\\?\\{([^{}]+)\\}/g),Y(d,c){11(d.47(0)=="\\\\"){X d.34(1)}X(a[c]!=15)?a[c]:""})}});22.1l({aM:Y(b,a){X 1H.5n(a,1H.4T(b,7))},2U:Y(a){a=1H.7S(10,a||0).8u(a<0?-a:0);X 1H.2U(7*a)/a},70:Y(b,c){18(12 a=0;a<7;a++){b.1e(c,a,7)}},7Y:Y(){X 3H(7)},3b:Y(a){X 76(7,a||10)}});22.97("1t","70");(Y(b){12 a={};b.1t(Y(c){11(!22[c]){a[c]=Y(){X 1H[c].1s(15,[7].3i(1h.1n(1g)))}}});22.1l(a)})(["aG","aj","ai","ab","aa","a7","7O","a0","7w","eI","4T","5n","7S","eg","ed","ec"]);21.1Z({4D:Y(){18(12 b=0,a=1g.17;b<a;b++){1D{X 1g[b]()}1E(c){}}X 15}});21.1l({4D:Y(a,c){1D{X 7.1s(c,1h.1n(a))}1E(b){}X 15},6F:Y(c){12 a=7,b=(1g.17>1)?1h.34(1g,1):15;X Y(){11(!b&&!1g.17){X a.1e(c)}11(b&&1g.17){X a.1s(c,b.3i(1h.1n(1g)))}X a.1s(c,b||1g)}},4H:Y(b,c){12 a=7;11(b!=15){b=1h.1n(b)}X Y(){X a.1s(c,b||1g)}},6g:Y(b,c,a){X 9m(7.4H((a==15?[]:a),c),b)},9g:Y(c,b,a){X dV(7.4H((a==15?[]:a),b),c)}});(Y(){12 k=7.19;12 i=k.1P=7;12 b=1;7.$26=(i.5b)?Y(e){X(e.26||(e.26=[b++]))[0]}:Y(e){X e.26||(e.26=b++)};$26(i);$26(k);12 a=4U.dR.2x(),c=4U.dP.2x(),j=a.1R(/(5a|59|4h|dK|3l)[\\s\\/:]([\\w\\d\\.]+)?.*?(8H|3l[\\s\\/:]([\\w\\d\\.]+)|$)/)||[15,"dr",0],f=j[1]=="59"&&k.dj;12 o=7.1U={1Z:21.1p.1Z,1N:(j[1]=="3l")?j[3]:j[1],3l:f||3H((j[1]=="5a"&&j[4])?j[4]:j[2]),58:{1N:a.1R(/dd(?:ad|d9|cV)/)?"8y":(a.1R(/(?:cB|cu)/)||c.1R(/cs|ch|bY/)||["br"])[0]},7v:{bg:!!(k.aS),aL:!!(i.eQ),eJ:!!(k.4E),dJ:!!(i.c9)},8F:{}};o[o.1N]=1b;o[o.1N+76(o.3l,10)]=1b;o.58[o.58.1N]=1b;o.8p=(Y(){12 q=Y(){X 1d bs()};12 p=Y(){X 1d 5b("bq.7Z")};12 e=Y(){X 1d 5b("b4.7Z")};X 21.4D(Y(){q();X q},Y(){p();X p},Y(){e();X e})})();o.7v.bx=!!(o.8p);12 h=(21.4D(Y(){X 4U.bw["dL 7B"].ds},Y(){X 1d 5b("7A.7A").c0("$3l")})||"0 bX").1R(/\\d+/g);o.8F.7B={3l:22(h[0]||"0."+h[1])||0,bD:22(h[2])||0};o.6B=Y(p){11(!p){X p}11(i.8g){i.8g(p)}1a{12 e=k.2M("6c");e.4Y("1L","6o/bl");e.6o=p;k.4Z.3C(e);k.4Z.68(e)}X p};1W.1l("d5",Y(p){12 e="";12 q=7.1o(/<6c[^>]*>([\\s\\S]*?)<\\/6c>/b7,Y(r,s){e+=s+"\\n";X""});11(p===1b){o.6B(e)}1a{11(1O(p)=="Y"){p(e,q)}}X q});o.1Z({2g:7.2g,2k:7.2k,1c:7.1c,3n:7.3n});7.2k=7.$3d=1d 2i("2k",Y(){});7.$2A=21.1n("1P").3h();2k.48(Y(e,p){i[e]=p});7.2g=k.$3d=1d 2i("2g",Y(){});k.$2A=21.1n("19").3h();2g.48(Y(e,p){k[e]=p});k.2L=k.4R;k.4Z=k.2r("4Z")[0];11(k.7G){1D{k.7G("by",1i,1b)}1E(g){}}11(7.5o&&!7.52){12 d=Y(){7.8E("92",d);k.4Z=k.2L=k.1P=15};7.5o("92",d)}12 m=1h.1n;1D{m(k.2L.99)}1E(g){1h.1n=Y(p){11(24 p!="2p"&&2i.4v(p)&&1O(p)!="4a"){12 e=p.17,q=1d 1h(e);1w(e--){q[e]=p[e]}X q}X m(p)};12 l=1h.1p,n=l.34;["8J","1j","5F","4o","3A","4q","5E","3i","3s","34"].1t(Y(e){12 p=l[e];1h[e]=Y(q){X p.1s(1h.1n(q),n.1e(1g,1))}})}}).1e(7);12 3n=1d 2i("3n",Y(a,i){11(!i){i=1P}12 o=i.19;a=a||i.3g;11(a.$9c){X a}7.$9c=1b;12 n=a.1L,k=a.7s||a.bv,m={},c={},q=15,h,l,b,p;1w(k&&k.1G==3){k=k.1Y}11(n.2j("30")!=-1){b=a.7u||a.bA;p=1x.bB(3n.7y,b);11(n=="7z"){12 d=b-bZ;11(d>0&&d<13){p="f"+d}}11(!p){p=1W.cY(b).2x()}}1a{11((/6l|de|di/i).1u(n)){o=(!o.53||o.53=="7X")?o.2L:o.2V;m={x:(a.4L!=15)?a.4L:a.7j+o.4K,y:(a.4J!=15)?a.4J:a.5V+o.4I};c={x:(a.4L!=15)?a.4L-i.8s:a.7j,y:(a.4J!=15)?a.4J-i.8D:a.5V};11((/64|44/).1u(n)){l=(a.8Z)?a.8Z/bJ:-(a.bM||0)/3}h=(a.7u==3)||(a.bN==2);11((/bW|6d/).1u(n)){q=a.6e||a[(n=="6f"?"1n":"43")+"1c"];12 j=Y(){1w(q&&q.1G==3){q=q.1Y}X 1b};12 g=(1U.cv)?j.4D():j();q=(g)?q:15}}1a{11((/cw|cU/i).1u(n)){7.9A=a.9A;7.9B=a.9B;7.9D=a.9D;7.7o=a.7o;12 f=7.7p=a.7p;11(f&&f[0]){12 e=f[0];m={x:e.4L,y:e.4J};c={x:e.7j,y:e.5V}}}}}X 1x.2S(7,{3g:a,1L:n,dx:m,dz:c,dB:h,dH:l,6e:19.1f(q),7s:19.1f(k),7q:b,30:p,4o:a.dO,dS:a.dW,dX:a.e2,ee:a.ei})});3n.7y={ek:13,ep:38,eH:40,2I:37,3u:39,f5:27,a1:32,a6:8,aK:9,"1F":46};3n.1l({4B:Y(){X 7.54().55()},54:Y(){11(7.3g.54){7.3g.54()}1a{7.3g.b8=1b}X 7},55:Y(){11(7.3g.55){7.3g.55()}1a{7.3g.bd=1i}X 7}});(Y(){12 a=7.2R=1d 2i("2R",Y(h){11(7e(h,21)){h={3X:h}}12 g=Y(){e(7);11(g.$6w){X 7}7.$29=15;12 i=(7.3X)?7.3X.1s(7,1g):7;7.$29=7.29=15;X i}.1Z(7).1l(h);g.$3d=a;g.1p.$3d=g;g.1p.2q=c;X g});12 c=Y(){11(!7.$29){6E 1d 6G(\'6K 6N "2q" 7I be 7P.\')}12 g=7.$29.$1N,h=7.$29.$7Q.2q,i=(h)?h.1p[g]:15;11(!i){6E 1d 6G(\'6K 6N "\'+g+\'" bE bF 2q.\')}X i.1s(7,1g)};12 e=Y(g){18(12 h 1m g){12 j=g[h];3j(1O(j)){1B"2t":12 i=Y(){};i.1p=j;g[h]=e(1d i);1q;1B"4a":g[h]=j.2Z();1q}}X g};12 b=Y(g,h,j){11(j.$6U){j=j.$6U}12 i=Y(){11(j.$5M&&7.$29==15){6E 1d 6G(\'6K 6N "\'+h+\'" 7I be 7P.\')}12 l=7.29,m=7.$29;7.29=m;7.$29=i;12 k=j.1s(7,1g);7.$29=m;7.29=l;X k}.1Z({$7Q:g,$6U:j,$1N:h});X i};12 f=Y(h,i,g){11(a.7a.5O(h)){i=a.7a[h].1e(7,i);11(i==15){X 7}}11(1O(i)=="Y"){11(i.$49){X 7}7.1p[h]=(g)?i:b(7,h,i)}1a{1x.5r(7.1p,h,i)}X 7};12 d=Y(g){g.$6w=1b;12 h=1d g;1F g.$6w;X h};a.1l("1l",f.3a());a.7a={56:Y(g){7.2q=g;7.1p=d(g)},83:Y(g){1h.1n(g).1t(Y(j){12 h=1d j;18(12 i 1m h){f.1e(7,i,h[i],1b)}},7)}}}).1e(7);(Y(){7.8f=1d 2R({$2T:[],2T:Y(){7.$2T.2S(1h.3E(1g));X 7},5S:Y(){X(7.$2T.17)?7.$2T.4o().1s(7,1g):1i},8j:Y(){7.$2T.4t();X 7}});12 a=Y(b){X b.1o(/^57([A-Z])/,Y(c,d){X d.2x()})};7.33=1d 2R({$28:{},2b:Y(d,c,b){d=a(d);7.$28[d]=(7.$28[d]||[]).62(c);11(b){c.8r=1b}X 7},5W:Y(b){18(12 c 1m b){7.2b(c,b[c])}X 7},3e:Y(e,c,b){e=a(e);12 d=7.$28[e];11(!d){X 7}c=1h.1n(c);d.1t(Y(f){11(b){f.6g(b,7,c)}1a{f.1s(7,c)}},7);X 7},3z:Y(e,d){e=a(e);12 c=7.$28[e];11(c&&!d.8r){12 b=c.2j(d);11(b!=-1){1F c[b]}}X 7},4r:Y(d){12 e;11(1O(d)=="2t"){18(e 1m d){7.3z(e,d[e])}X 7}11(d){d=a(d)}18(e 1m 7.$28){11(d&&d!=e){2D}12 c=7.$28[e];18(12 b=c.17;b--;){11(b 1m c){7.3z(e,c[b])}}}X 7}});7.8C=1d 2R({5X:Y(){12 b=7.1A=1x.5r.1s(15,[{},7.1A].2S(1g));11(7.2b){18(12 c 1m b){11(1O(b[c])!="Y"||!(/^57[A-Z]/).1u(c)){2D}7.2b(c,b[c]);1F b[c]}}X 7}})}).1e(7);(Y(){12 k,n,l,g,a={},c={},m=/\\\\/g;12 e=Y(q,p){11(q==15){X 15}11(q.1r===1b){X q}q=(""+q).1o(/^\\s+|\\s+$/g,"");g=!!p;12 o=(g)?c:a;11(o[q]){X o[q]}k={1r:1b,2o:[],5Z:q,5F:Y(){X e(7.5Z,1b)}};n=-1;1w(q!=(q=q.1o(j,b))){}k.17=k.2o.17;X o[k.5Z]=(g)?h(k):k};12 i=Y(o){11(o==="!"){X" "}1a{11(o===" "){X"!"}1a{11((/^!/).1u(o)){X o.1o(/^!/,"")}1a{X"!"+o}}}};12 h=Y(u){12 r=u.2o;18(12 p=0;p<r.17;p++){12 t=r[p];12 q={df:[],2y:"*",1V:i(t[0].1V)};18(12 o=0;o<t.17;o++){12 s=t[o];11(!s.4k){s.4k=" "}s.1V=s.4k;1F s.4k}t.5F().1j(q)}X u};12 f=Y(o){X o.1o(/[-[\\]{}()*+?.\\\\^$|,#\\s]/g,Y(p){X"\\\\"+p})};12 j=1d 2l("^(?:\\\\s*(,)\\\\s*|\\\\s*(<1V>+)\\\\s*|(\\\\s+)|(<4j>+|\\\\*)|\\\\#(<4j>+)|\\\\.(<4j>+)|\\\\[\\\\s*(<8I>+)(?:\\\\s*([*^$!~|]?=)(?:\\\\s*(?:([\\"\']?)(.*?)\\\\9)))?\\\\s*\\\\](?!\\\\])|(:+)(<4j>+)(?:\\\\((?:(?:([\\"\'])([^\\\\13]*)\\\\13)|((?:\\\\([^)]+\\\\)|[^()]*)+))\\\\))?)".1o(/<1V>/,"["+f(">+~`!@$%^&={}\\\\;</")+"]").1o(/<4j>/g,"(?:[\\\\w\\\\8K-\\\\8O-]|\\\\\\\\[^\\\\8Y-9a-f])").1o(/<8I>/g,"(?:[:\\\\w\\\\8K-\\\\8O-]|\\\\\\\\[^\\\\8Y-9a-f])"));Y b(x,s,D,z,r,C,q,B,A,y,u,F,G,v,p,w){11(s||n===-1){k.2o[++n]=[];l=-1;11(s){X""}}11(D||z||l===-1){D=D||" ";12 t=k.2o[n];11(g&&t[l]){t[l].4k=i(D)}t[++l]={1V:D,2y:"*"}}12 o=k.2o[n][l];11(r){o.2y=r.1o(m,"")}1a{11(C){o.1f=C.1o(m,"")}1a{11(q){q=q.1o(m,"");11(!o.3M){o.3M=[]}11(!o.4V){o.4V=[]}o.3M.1j(q);o.4V.1j({1Q:q,5R:1d 2l("(^|\\\\s)"+f(q)+"(\\\\s|$)")})}1a{11(G){w=w||p;w=w?w.1o(m,""):15;11(!o.4P){o.4P=[]}o.4P.1j({30:G.1o(m,""),1Q:w,1L:F.17==1?"2d":"1v"})}1a{11(B){B=B.1o(m,"");u=(u||"").1o(m,"");12 E,H;3j(A){1B"^=":H=1d 2l("^"+f(u));1q;1B"$=":H=1d 2l(f(u)+"$");1q;1B"~=":H=1d 2l("(^|\\\\s)"+f(u)+"(\\\\s|$)");1q;1B"|=":H=1d 2l("^"+f(u)+"(-|$)");1q;1B"=":E=Y(I){X u==I};1q;1B"*=":E=Y(I){X I&&I.2j(u)>-1};1q;1B"!=":E=Y(I){X u!=I};1q;5s:E=Y(I){X!!I}}11(u==""&&(/^[*$^]=$/).1u(A)){E=Y(){X 1i}}11(!E){E=Y(I){X I&&H.1u(I)}}11(!o.3Z){o.3Z=[]}o.3Z.1j({30:B,6k:A,1Q:u,1u:E})}}}}}X""}12 d=(7.1r||{});d.2s=Y(o){X e(o)};d.5k=f;11(!7.1r){7.1r=d}}).1s((24 5c!="6n")?5c:7);(Y(){12 j={},l={},b=1x.1p.4c;j.6r=Y(c){X(/\\{\\s*\\[er 7q\\]\\s*\\}/).1u(""+c)};j.5d=Y(c){X(!!c.ev)||(!!c.ew)||(b.1e(c)=="[2t ex]")||(c.1G==9&&c.4R.1X!="eF")};j.5e=Y(w){12 t=w.1G;11(t==9){}1a{11(t){w=w.3o}1a{11(w.4U){w=w.19}1a{X}}}11(7.19===w){X}7.19=w;12 y=w.4R,u=7.6A(y),o=l[u],A;11(o){18(A 1m o){7[A]=o[A]}X}o=l[u]={};o.5f=y;o.5g=7.5d(w);o.5h=o.6L=o.5i=o.6O=o.4p=o.6P=o.6T=o.2J=o.3J=1i;12 m,n,x,q,r;12 s,c="a9";12 z=w.2M("3k");12 p=w.2V||w.2r("2V")[0]||y;p.3C(z);1D{z.2w=\'<a 1f="\'+c+\'"></a>\';o.2J=!!w.4s(c)}1E(v){}11(o.2J){z.1y.av="ay";z.3C(w.aE(""));n=(z.2r("*").17>1);1D{z.2w="5j</5j>";s=z.2r("*");m=(s&&!!s.17&&s[0].1X.47(0)=="/")}1E(v){}o.5h=n||m;1D{z.2w=\'<a 1N="\'+c+\'"></a><b 1f="\'+c+\'"></b>\';o.5i=w.4s(c)===z.2X}1E(v){}11(z.2W){1D{z.2w=\'<a 2d="f"></a><a 2d="b"></a>\';z.2W("b").17;z.2X.2h="b";q=(z.2W("b").17!=2)}1E(v){}1D{z.2w=\'<a 2d="a"></a><a 2d="f b a"></a>\';x=(z.2W("a").17!=2)}1E(v){}o.4p=q||x}11(z.3t){1D{z.2w="5j</5j>";s=z.3t("*");o.6L=(s&&!!s.17&&s[0].1X.47(0)=="/")}1E(v){}1D{z.2w=\'<a 2d="7U"></a>\';o.6O=!z.3t(".7U").17}1E(v){}1D{z.2w=\'<4l><74 2H="2H">a</74></4l>\';o.6P=(z.3t(":3f").17==0)}1E(v){}1D{z.2w=\'<a 2d=""></a>\';o.6T=(z.3t(\'[2d*=""]\').17!=0)}1E(v){}}1D{z.2w=\'<80 78="s"><4W 1f="78"/></80>\';r=(z.2X.1J("78")!="s")}1E(v){}o.3J=y.bm||y.bo||y.bp;11(o.3J){1D{o.3J.1e(y,":8c");o.3J=15}1E(v){}}}1D{y.8e=1;1F y.8e;o.23=7.7f}1E(v){o.23=7.6A}p.68(z);z=s=p=15;o.1J=(o.2J&&r)?Y(D,B){12 E=7.4S[B];11(E){X E.1e(D)}12 C=D.3v(B);X(C)?C.3r:15}:Y(C,B){12 D=7.4S[B];X(D)?D.1e(C):C.1J(B)};o.4N=(y&&7.6r(y.4N))?Y(C,B){X C.4N(B)}:Y(C,B){C=C.3v(B);X!!(C&&(C.8o||C.3r))};o.1z=(y&&7.6r(y.1z))?Y(B,C){X B.1z(C)}:(y&&y.3N)?Y(B,C){X B===C||!!(B.3N(C)&16)}:Y(B,C){11(C){do{11(C===B){X 1b}}1w((C=C.1Y))}X 1i};o.5T=(y.3N)?Y(C,B){11(!C.3N||!B.3N){X 0}X C.3N(B)&4?-1:C===B?0:1}:("4G"1m y)?Y(C,B){11(!C.4G||!B.4G){X 0}X C.4G-B.4G}:(w.5U)?Y(E,C){11(!E.3o||!C.3o){X 0}12 D=E.3o.5U(),B=C.3o.5U();D.8z(E,0);D.8B(E,0);B.8z(C,0);B.8B(C,0);X D.bO(bP.bV,B)}:15;y=15;18(A 1m o){7[A]=o[A]}};12 e=/^([#.]?)((?:[\\w-]+|\\*))$/,g=/\\[.+[*$^]=(?:""|\'\')?\\]/,f={};j.1K=Y(q,D,P,v){12 B=7.3O=(v)?15:(P||[]);11(!q){X B}1a{11(q.4U){q=q.19}1a{11(!q.1G){X B}}}12 z,O,s=7.4x={},y=!!(P&&P.17),c=(q.1G==9);11(7.19!==(c?q:q.3o)){7.5e(q)}11(y){18(O=B.17;O--;){s[7.23(B[O])]=1b}}11(24 D=="2p"){12 C=D.1R(e);4w:11(C){12 L=C[1],W=C[2],I,G;11(!L){11(W=="*"&&7.5h){1q 4w}G=q.2r(W);11(v){X G[0]||15}18(O=0;I=G[O++];){11(!(y&&s[7.23(I)])){B.1j(I)}}}1a{11(L=="#"){11(!7.2J||!c){1q 4w}I=q.4s(W);11(!I){X B}11(7.5i&&I.3v("1f").3r!=W){1q 4w}11(v){X I||15}11(!(y&&s[7.23(I)])){B.1j(I)}}1a{11(L=="."){11(!7.2J||((!q.2W||7.4p)&&q.3t)){1q 4w}11(q.2W&&!7.4p){G=q.2W(W);11(v){X G[0]||15}18(O=0;I=G[O++];){11(!(y&&s[7.23(I)])){B.1j(I)}}}1a{12 u=1d 2l("(^|\\\\s)"+d.5k(W)+"(\\\\s|$)");G=q.2r("*");18(O=0;I=G[O++];){2h=I.2h;11(!(2h&&u.1u(2h))){2D}11(v){X I}11(!(y&&s[7.23(I)])){B.1j(I)}}}}}}11(y){7.3A(B)}X(v)?15:B}4E:11(q.3t){11(!7.2J||7.6O||f[D]||(7.6P&&D.2j(":3f")>-1)||(7.6T&&g.1u(D))||d.cg){1q 4E}12 A=D;11(!c){12 N=q.1J("1f"),p="cq";q.4Y("1f",p);A="#"+p+" "+A}1D{11(v){X q.4E(A)||15}1a{G=q.3t(A)}}1E(Q){f[D]=1;1q 4E}cr{11(!c){11(N){q.4Y("1f",N)}1a{q.61("1f")}}}11(7.6L){18(O=0;I=G[O++];){11(I.1X>"@"&&!(y&&s[7.23(I)])){B.1j(I)}}}1a{18(O=0;I=G[O++];){11(!(y&&s[7.23(I)])){B.1j(I)}}}11(y){7.3A(B)}X B}z=7.1r.2s(D);11(!z.17){X B}}1a{11(D==15){X B}1a{11(D.1r){z=D}1a{11(7.1z(q.4R||q,D)){(B)?B.1j(D):B=D;X B}1a{X B}}}}7.8P={};7.8R={};7.8T={};7.8U={};7.1j=(!y&&(v||(z.17==1&&z.2o[0].17==1)))?7.8V:7.8W;11(B==15){B=[]}12 M,H,F;12 J,V,E,U,R,x,t;12 w,r,o,S,T=z.2o;1K:18(O=0;(r=T[O]);O++){18(M=0;(o=r[M]);M++){J="1V:"+o.1V;11(!7[J]){2D 1K}V=(7.5g)?o.2y:o.2y.4g();E=o.1f;U=o.3M;R=o.4V;x=o.3Z;t=o.4P;S=(M===(r.17-1));7.4O={};11(S){7.4x=s;7.3O=B}1a{7.4x={};7.3O=[]}11(M===0){7[J](q,V,E,R,x,t,U);11(v&&S&&B.17){1q 1K}}1a{11(v&&S){18(H=0,F=w.17;H<F;H++){7[J](w[H],V,E,R,x,t,U);11(B.17){1q 1K}}}1a{18(H=0,F=w.17;H<F;H++){7[J](w[H],V,E,R,x,t,U)}}}w=7.3O}}11(y||(z.2o.17>1)){7.3A(B)}X(v)?(B[0]||15):B};j.65=1;j.66="8c-dh";j.6A=Y(m){12 c=m.1J(7.66);11(!c){c=7.65++;m.4Y(7.66,c)}X c};j.7f=Y(c){X c.9k||(c.9k=7.65++)};j.3A=Y(c){11(!7.5T){X c}c.3A(7.5T);X c};j.67={};j.9n=/^([+-]?\\d*)?([a-z]+)?([+-]\\d+)?$/;j.9o=Y(p){12 n=p.1R(7.9n);11(!n){X 1i}12 o=n[2]||1i;12 m=n[1]||1;11(m=="-"){m=-1}12 c=+n[3]||0;n=(o=="n")?{a:m,b:c}:(o=="9q")?{a:2,b:1}:(o=="9t")?{a:2,b:0}:{a:0,b:m};X(7.67[p]=n)};j.4M=Y(o,m,c,n){X Y(r,p){12 t=7.23(r);11(!7[c][t]){12 z=r.1Y;11(!z){X 1i}12 q=z[o],s=1;11(n){12 y=r.1X;do{11(q.1X!=y){2D}7[c][7.23(q)]=s++}1w((q=q[m]))}1a{do{11(q.1G!=1){2D}7[c][7.23(q)]=s++}1w((q=q[m]))}}p=p||"n";12 u=7.67[p]||7.9o(p);11(!u){X 1i}12 x=u.a,w=u.b,v=7[c][t];11(x==0){X w==v}11(x>0){11(v<w){X 1i}}1a{11(w<v){X 1i}}X((v-w)%x)==0}};j.8V=Y(o,c,q,n,m,p){11(7.51(o,c,q,n,m,p)){7.3O.1j(o)}};j.8W=Y(p,c,r,o,m,q){12 n=7.23(p);11(!7.4x[n]&&7.51(p,c,r,o,m,q)){7.4x[n]=1b;7.3O.1j(p)}};j.69=Y(m,n){11(7.2J&&7.3J){1D{X 7.3J.1e(m,n.1o(/\\[([^=]+)=\\s*([^\'"\\]]+?)\\s*\\]/g,\'[$1="$2"]\'))}1E(u){}}12 t=7.1r.2s(n);11(!t){X 1b}12 r=t.2o,p,s=0,q;18(q=0;(6a=r[q]);q++){11(6a.17==1){12 o=6a[0];11(7.51(m,(7.5g)?o.2y:o.2y.4g(),o.1f,o.4V,o.3Z,o.4P)){X 1b}s++}}11(s==t.17){X 1i}12 c=7.1K(7.19,t),v;18(q=0;v=c[q++];){11(v===m){X 1b}}X 1i};j.9G=Y(p,c,o){12 m="3w:"+c;11(7[m]){X 7[m](p,o)}12 n=7.1J(p,c);X(o)?o==n:!!n};j.51=Y(n,u,c,o,p,r){11(u){12 s=(7.5g)?n.1X:n.1X.4g();11(u=="*"){11(s<"@"){X 1i}}1a{11(s!=u){X 1i}}}11(c&&n.1J("1f")!=c){X 1i}12 q,m,t;11(o){18(q=o.17;q--;){t=n.1J("2d")||n.2h;11(!(t&&o[q].5R.1u(t))){X 1i}}}11(p){18(q=p.17;q--;){m=p[q];11(m.6k?!m.1u(7.1J(n,m.30)):!7.4N(n,m.30)){X 1i}}}11(r){18(q=r.17;q--;){m=r[q];11(!7.9G(n,m.30,m.1Q)){X 1i}}}X 1b};12 i={" ":Y(p,v,m,q,r,t,o){12 s,u,n;11(7.2J){9J:11(m){u=7.19.4s(m);11((!u&&p.9Q)||(7.5i&&u&&u.3v("1f").3r!=m)){n=p.9Q[m];11(!n){X}11(!n[0]){n=[n]}18(s=0;u=n[s++];){12 c=u.3v("1f");11(c&&c.3r==m){7.1j(u,v,15,q,r,t);1q}}X}11(!u){11(7.1z(7.5f,p)){X}1a{1q 9J}}1a{11(7.19!==p&&!7.1z(p,u)){X}}7.1j(u,v,15,q,r,t);X}7m:11(q&&p.2W&&!7.4p){n=p.2W(o.3s(" "));11(!(n&&n.17)){1q 7m}18(s=0;u=n[s++];){7.1j(u,v,m,15,r,t)}X}}7n:{n=p.2r(v);11(!(n&&n.17)){1q 7n}11(!7.5h){v=15}18(s=0;u=n[s++];){7.1j(u,v,m,q,r,t)}}},">":Y(o,c,q,n,m,p){11((o=o.2X)){do{11(o.1G==1){7.1j(o,c,q,n,m,p)}}1w((o=o.2G))}},"+":Y(o,c,q,n,m,p){1w((o=o.2G)){11(o.1G==1){7.1j(o,c,q,n,m,p);1q}}},"^":Y(o,c,q,n,m,p){o=o.2X;11(o){11(o.1G==1){7.1j(o,c,q,n,m,p)}1a{7["1V:+"](o,c,q,n,m,p)}}},"~":Y(p,c,r,o,m,q){1w((p=p.2G)){11(p.1G!=1){2D}12 n=7.23(p);11(7.4O[n]){1q}7.4O[n]=1b;7.1j(p,c,r,o,m,q)}},"++":Y(o,c,q,n,m,p){7["1V:+"](o,c,q,n,m,p);7["1V:!+"](o,c,q,n,m,p)},"~~":Y(o,c,q,n,m,p){7["1V:~"](o,c,q,n,m,p);7["1V:!~"](o,c,q,n,m,p)},"!":Y(o,c,q,n,m,p){1w((o=o.1Y)){11(o!==7.19){7.1j(o,c,q,n,m,p)}}},"!>":Y(o,c,q,n,m,p){o=o.1Y;11(o!==7.19){7.1j(o,c,q,n,m,p)}},"!+":Y(o,c,q,n,m,p){1w((o=o.3q)){11(o.1G==1){7.1j(o,c,q,n,m,p);1q}}},"!^":Y(o,c,q,n,m,p){o=o.6b;11(o){11(o.1G==1){7.1j(o,c,q,n,m,p)}1a{7["1V:!+"](o,c,q,n,m,p)}}},"!~":Y(p,c,r,o,m,q){1w((p=p.3q)){11(p.1G!=1){2D}12 n=7.23(p);11(7.4O[n]){1q}7.4O[n]=1b;7.1j(p,c,r,o,m,q)}}};18(12 h 1m i){j["1V:"+h]=i[h]}12 k={4t:Y(c){12 m=c.2X;X!(m&&m.1G==1)&&!(c.6s||c.5p||"").17},e1:Y(c,m){X!7.69(c,m)},1z:Y(c,m){X(c.6s||c.5p||"").2j(m)>-1},"7r-3m":Y(c){1w((c=c.3q)){11(c.1G==1){X 1i}}X 1b},"5q-3m":Y(c){1w((c=c.2G)){11(c.1G==1){X 1i}}X 1b},"7t-3m":Y(n){12 m=n;1w((m=m.3q)){11(m.1G==1){X 1i}}12 c=n;1w((c=c.2G)){11(c.1G==1){X 1i}}X 1b},"3F-3m":j.4M("2X","2G","8P"),"3F-5q-3m":j.4M("6b","3q","8R"),"3F-4n-1L":j.4M("2X","2G","8T",1b),"3F-5q-4n-1L":j.4M("6b","3q","8U",1b),eh:Y(m,c){X 7["3w:3F-3m"](m,""+c+1)},9t:Y(c){X 7["3w:3F-3m"](c,"2n")},9q:Y(c){X 7["3w:3F-3m"](c,"2n+1")},"7r-4n-1L":Y(c){12 m=c.1X;1w((c=c.3q)){11(c.1X==m){X 1i}}X 1b},"5q-4n-1L":Y(c){12 m=c.1X;1w((c=c.2G)){11(c.1X==m){X 1i}}X 1b},"7t-4n-1L":Y(n){12 m=n,o=n.1X;1w((m=m.3q)){11(m.1X==o){X 1i}}12 c=n;1w((c=c.2G)){11(c.1X==o){X 1i}}X 1b},ej:Y(c){X!c.4y},4y:Y(c){X c.4y},3f:Y(c){X c.3f||c.2H},7x:Y(c){X 7.2J&&7.19.eq===c&&(c.3K||c.1L||7.4N(c,"6i"))},5f:Y(c){X(c===7.5f)},2H:Y(c){X c.2H}};18(12 a 1m k){j["3w:"+a]=k[a]}j.4S={"2d":Y(){X 7.1J("2d")||7.2h},"18":Y(){X("6j"1m 7)?7.6j:7.1J("18")},3K:Y(){X("3K"1m 7)?7.1J("3K",2):7.1J("3K")},1y:Y(){X(7.1y)?7.1y.5t:7.1J("1y")},6i:Y(){12 c=7.3v("6i");X(c&&c.8o)?c.3r:15},1L:Y(){X 7.1J("1L")}};12 d=j.1r=(7.1r||{});d.3l="1.1.5";d.1K=Y(m,n,c){X j.1K(m,n,c)};d.3I=Y(c,m){X j.1K(c,m,15,1b)};d.1z=Y(c,m){j.5e(c);X j.1z(c,m)};d.1J=Y(m,c){X j.1J(m,c)};d.1R=Y(m,c){11(!(m&&c)){X 1i}11(!c||c===m){X 1b}j.5e(m);X j.69(m,c)};d.eB=Y(c,m){j.4S[c]=m;X 7};d.eC=Y(c){X j.4S[c]};d.eD=Y(c,m){j["3w:"+c]=Y(o,n){X m.1e(o,n)};X 7};d.eE=Y(c){12 m=j["3w:"+c];11(m){X Y(n){X m.1e(7,n)}}X 15};d.7D=Y(m,c){j.7D(m,c);X 7};d.5d=j.5d;d.7E=Y(c){X j.7f(c)};11(!7.1r){7.1r=d}}).1s((24 5c!="6n")?5c:7);12 1c=Y(b,g){12 h=1c.7F[b];11(h){X h(g)}11(24 b!="2p"){X 19.1f(b).1T(g)}11(!g){g={}}11(!(/^[\\w-]+$/).1u(b)){12 e=1r.2s(b).2o[0][0];b=(e.2y=="*")?"3k":e.2y;11(e.1f&&g.1f==15){g.1f=e.1f}12 d=e.3Z;11(d){18(12 f=0,c=d.17;f<c;f++){12 a=d[f];11(a.1Q!=15&&a.6k=="="&&g[a.30]==15){g[a.30]=a.1Q}}}11(e.3M&&g["2d"]==15){g["2d"]=e.3M.3s(" ")}}X 19.7H(b,g)};11(1U.1c){1c.1p=1U.1c.1p}1d 2i("1c",1c).48(Y(a){11(1h.1p[a]){X}12 b={};b[a]=Y(){12 h=[],e=1g,j=1b;18(12 g=0,d=7.17;g<d;g++){12 f=7[g],c=h[g]=f[a].1s(f,e);j=(j&&1O(c)=="1v")}X(j)?1d 1C(h):h};1C.1l(b)});11(!1U.1c){1c.2q=1x;1c.6m={"$2A":21.1n("1v").3h()};1c.48(Y(a,b){1c.6m[a]=b})}1c.7F={};12 7J=1d 2i("7J",Y(){12 e=1h.4i(1g,{7K:2i.eR,5v:Y(f){X(f!=15)}});12 c=e.7K||{},b;11(e.5v){b=19.1f(e.5v)}12 d=c.7L||Y(){};1F c.7L;c.1f=c.1N=[c.1f,c.1N,b?(b.1f||b.1N):"9T"+1W.9v()].5Y();b=1d 1c(b||"5v",c);12 a=Y(){d.1e(b.9U)};11(1P.2z[c.1f]){a()}1a{b.3T("3U",a)}X b});12 1C=7.1C=Y(a){11(a&&a.17){12 e={},d;18(12 c=0;d=a[c++];){12 b=1r.7E(d);11(!e[b]){e[b]=1b;7.1j(d)}}}};1C.1p={17:0};1C.2q=1h;1d 2i("1C",1C).1l({2u:Y(a,b){11(!a){X 7}X 1d 1C(1h.2u(7,(1O(a)=="2p")?Y(c){X c.1R(a)}:a,b))}.2K(),1j:Y(){12 d=7.17;18(12 b=0,a=1g.17;b<a;b++){12 c=19.1f(1g[b]);11(c){7[d++]=c}}X(7.17=d)}.2K(),5E:Y(){12 b=[];18(12 c=0,a=1g.17;c<a;c++){12 d=19.1f(1g[c]);11(d){b.1j(d)}}X 1h.1p.5E.1s(7,b)}.2K(),3i:Y(){12 b=1d 1C(7);18(12 c=0,a=1g.17;c<a;c++){12 d=1g[c];11(2i.4v(d)){b.2S(d)}1a{b.1j(d)}}X b}.2K(),2S:Y(c){18(12 b=0,a=c.17;b<a;b++){7.1j(c[b])}X 7}.2K(),4t:Y(){1w(7.17){1F 7[--7.17]}X 7}.2K()});(Y(){12 g=1h.1p.4q,b={"0":0,"1":1,17:2};g.1e(b,1,1);11(b[1]==1){1C.1l("4q",Y(){12 e=7.17;g.1s(7,1g);1w(e>=7.17){1F 7[e--]}X 7}.2K())}1C.1l(1h.1p);1h.48(1C);12 f;1D{12 a=19.2M("<4W 1N=x>");f=(a.1N=="x")}1E(c){}12 d=Y(e){X(""+e).1o(/&/g,"&9Y;").1o(/"/g,"&9Z;")};2g.1l({7H:Y(e,h){11(h&&h.3f!=15){h.7M=h.3f}11(f&&h){e="<"+e;11(h.1N){e+=\' 1N="\'+d(h.1N)+\'"\'}11(h.1L){e+=\' 1L="\'+d(h.1L)+\'"\'}e+=">";1F h.1N;1F h.1L}X 7.1f(7.2M(e)).1T(h)}})})();2g.1l({7N:Y(a){X 7.a2(a)},2O:Y(){X 7},2B:Y(){X 7.1P},1f:(Y(){12 a={2p:Y(d,c,b){d=1r.3I(b,"#"+d.1o(/(\\W)/g,"\\\\$1"));X(d)?a.1v(d,c):15},1v:Y(b,c){$26(b);11(!c&&!b.$2A&&!(/^(?:2t|a4)$/i).1u(b.3V)){1x.2S(b,1c.6m)}X b},2t:Y(c,d,b){11(c.6p){X a.1v(c.6p(b),d)}X 15}};a.9P=a.9L=a.1P=a.19=Y(b){X b};X Y(c,e,d){11(c&&c.$2A&&c.26){X c}12 b=1O(c);X(a[b])?a[b](c,e,d||19):15}})()});11(1P.$==15){2k.1l("$",Y(a,b){X 19.1f(a,b,7.19)})}2k.1l({2O:Y(){X 7.19},2B:Y(){X 7}});[2g,1c].3R("1l",{6q:Y(a){X 1r.1K(7,a,1d 1C)},a8:Y(a){X 19.1f(1r.3I(7,a))}});11(1P.$$==15){2k.1l("$$",Y(a){11(1g.17==1){11(24 a=="2p"){X 1r.1K(7.19,a,1d 1C)}1a{11(2i.4v(a)){X 1d 1C(a)}}}X 1d 1C(1g)})}(Y(){12 k={},i={};12 n={4W:"3f",74:"2H",7R:"1Q"};12 e=Y(p){X(i[p]||(i[p]={}))};12 j=Y(q){12 p=q.26;11(q.4r){q.4r()}11(q.5w){q.5w()}11(p!=15){1F k[p];1F i[p]}X q};12 o=["7T","ac","ae","af","ag","ah","5x","7V","ak","al","am"];12 d=["an","ao","ap","aq","ar","3f","4y","7V","as","2H","at","au","7M"];12 g={2L:"2w","2d":"2h","18":"6j",6o:(Y(){12 p=19.2M("3k");X(p.5p==15)?"6s":"5p"})()};12 m=["1L"];12 h=["1Q","7T"];12 l=/^(?:3K|7W|aw)$/i;d=d.3Q(d);o=o.3Q(o.2c(1W.2x));m=m.3Q(m);1x.2S(g,h.3Q(h));12 c={ax:Y(q,p){12 r=p.1Y;11(r){r.6t(q,p)}},az:Y(q,p){12 r=p.1Y;11(r){r.6t(q,p.2G)}},2C:Y(q,p){p.3C(q)},2E:Y(q,p){p.6t(q,p.2X)}};c.aC=c.2C;12 b=Y(s,r){11(!s){X r}s=1x.2Z(1r.2s(s));12 q=s.2o;18(12 p=q.17;p--;){q[p][0].1V=r}X s};1c.1l({1T:Y(r,q){12 p=1c.2m[r];(p&&p.1T)?p.1T.1e(7,q):7.6u(r,q)}.3a(),1M:Y(q){12 p=1c.2m[q];X(p&&p.1M)?p.1M.1s(7):7.6v(q)}.9h(),3P:Y(q){12 p=1c.2m[q];(p&&p.3P)?p.3P.1s(7):7.5y(q);X 7},6u:Y(q,r){q=o[q]||q;11(r==15){X 7.5y(q)}12 p=g[q];(p)?7[p]=r:(d[q])?7[q]=!!r:7.4Y(q,""+r);X 7},aH:Y(p){18(12 q 1m p){7.6u(q,p[q])}X 7},6v:Y(q){q=o[q]||q;12 p=g[q]||m[q];X(p)?7[p]:(d[q])?!!7[q]:(l.1u(q)?7.1J(q,2):(p=7.3v(q))?p.3r:15)||15},aI:Y(){12 p=1h.1n(1g);X p.2c(7.6v,7).3Q(p)},5y:Y(q){q=o[q]||q;12 p=g[q];(p)?7[p]="":(d[q])?7[q]=1i:7.61(q);X 7},aJ:Y(){1h.1t(1g,7.5y,7);X 7},6x:Y(p){X 7.2h.50().1z(p," ")},81:Y(p){11(!7.6x(p)){7.2h=(7.2h+" "+p).50()}X 7},82:Y(p){7.2h=7.2h.1o(1d 2l("(^|\\\\s)"+p+"(?:\\\\s|$)"),"$1");X 7},aN:Y(p,q){11(q==15){q=!7.6x(p)}X(q)?7.81(p):7.82(p)},aO:Y(){12 s=7,p,u=1h.3E(1g),t=u.17;11(t>1){s=p=19.aP()}18(12 r=0;r<t;r++){12 q=19.1f(u[r],1b);11(q){s.3C(q)}}11(p){7.3C(p)}X 7},aQ:Y(q,p){X 7.6y(7.2O().7N(q),p)},6y:Y(q,p){c[p||"2C"](19.1f(q,1b),7);X 7},84:Y(q,p){c[p||"2C"](7,19.1f(q,1b));X 7},85:Y(p){p=19.1f(p,1b);p.1Y.aT(7,p);X 7},aU:Y(q,p){q=19.1f(q,1b);X 7.85(q).6y(q,p)},aV:Y(p){X 19.1f(1r.3I(7,b(p,"!~")))},aW:Y(p){X 1r.1K(7,b(p,"!~"),1d 1C)},aX:Y(p){X 19.1f(1r.3I(7,b(p,"~")))},aY:Y(p){X 1r.1K(7,b(p,"~"),1d 1C)},aZ:Y(p){X 19.1f(1r.1K(7,b(p,">"))[0])},63:Y(p){X 19.1f(1r.1K(7,b(p,">")).63())},b0:Y(p){X 19.1f(1r.3I(7,b(p,"!")))},b1:Y(p){X 1r.1K(7,b(p,"!"),1d 1C)},b2:Y(p){X 1r.1K(7,b(p,"~~"),1d 1C)},b3:Y(p){X 1r.1K(7,b(p,">"),1d 1C)},2B:Y(){X 7.3o.1P},2O:Y(){X 7.3o},4s:Y(p){X 19.1f(1r.3I(7,"#"+(""+p).1o(/(\\W)/g,"\\\\$1")))},86:Y(){7.b5;X 1d 1C(1h.1n(7.1A).2u(Y(p){X p.2H}))},b6:Y(){12 p=[];7.6q("4W, 4l, 7R").1t(Y(r){12 q=r.1L;11(!r.1N||r.4y||q=="87"||q=="88"||q=="b9"||q=="ba"){X}12 s=(r.1M("2y")=="4l")?r.86().2c(Y(t){X 19.1f(t).1M("1Q")}):((q=="bb"||q=="bc")&&!r.3f)?15:r.1M("1Q");1h.1n(s).1t(Y(t){11(24 t!="6n"){p.1j(89(r.1N)+"="+89(t))}})});X p.3s("&")},bf:Y(){12 p=j(7).2r("*");1h.1t(p,j);1c.6z(7);X 15},4t:Y(){1h.1n(7.99).1t(1c.6z);X 7},6z:Y(){X(7.1Y)?7.1Y.68(7):7},1R:Y(p){X!p||1r.1R(7,p)}});12 a=Y(t,s,q){11(!q){t.bh(19.bi("1f"))}11(t.5w){t.5w();t.bj(s);t.61("26");11(t.1A){12 u=t.1A,p=s.1A;18(12 r=u.17;r--;){u[r].2H=p[r].2H}}}12 v=n[s.3V.2x()];11(v&&s[v]){t[v]=s[v]}};1c.1l("2Z",Y(r,p){r=r!==1i;12 w=7.bk(r),q;11(r){12 s=w.2r("*"),u=7.2r("*");18(q=s.17;q--;){a(s[q],u[q],p)}}a(w,7,p);11(1U.59){12 t=w.2r("2t"),v=7.2r("2t");18(q=t.17;q--;){t[q].8b=v[q].8b}}X 19.1f(w)});12 f={1z:Y(p){X 1r.1z(7,p)}};11(!19.1z){2g.1l(f)}11(!19.2M("3k").1z){1c.1l(f)}[1c,2k,2g].3R("1l",{3T:Y(s,r){11(s=="5z"){12 p=r,q=7;r=Y(){q.4X("5z",r);p()}}1a{k[$26(7)]=7}11(7.52){7.52(s,r,!!1g[2])}1a{7.5o("57"+s,r)}X 7},4X:Y(q,p){11(7.8d){7.8d(q,p,!!1g[2])}1a{7.8E("57"+q,p)}X 7},2F:Y(q,p){12 s=e($26(7)),r=s[q];11(p!=15&&r==15){r=s[q]=p}X r!=15?r:15},6C:Y(q,p){12 r=e($26(7));r[q]=p;X 7},6D:Y(p){12 q=e($26(7));1F q[p];X 7}});11(1P.5o&&!1P.52){1P.3T("5z",Y(){1x.1t(k,j);11(1P.8h){8h()}})}})();1c.2m={};1c.2m.1y={1T:Y(a){7.1y.5t=a},1M:Y(){X 7.1y.5t},3P:Y(){7.1y.5t=""}};1c.2m.2y={1M:Y(){X 7.3V.2x()}};(Y(a){11(a!=15){1c.2m.bt=1c.2m.5x={1M:Y(){12 b=7.1J("5x");X b==a?15:b}}}})(19.2M("4W").1J("5x"));(Y(){12 c=19.2L;1c.2m.bu={1T:Y(f){7.5A(f)}};12 e=(c.1y.25!=15);12 d=/8k\\(25=([\\d.]+)\\)/i;12 b=Y(g,f){11(!g.5B||!g.5B.bz){g.1y.8m=1}11(e){g.1y.25=f}1a{f=(f==1)?"":"8k(25="+f*8n+")";12 h=g.1y.2u||g.3L("2u")||"";g.1y.2u=d.1u(h)?h.1o(d,f):h+f}};1c.2m.25={1T:Y(g){12 f=7.1y.6H;11(g==0&&f!="49"){7.1y.6H="49"}1a{11(g!=0&&f!="6I"){7.1y.6H="6I"}}b(7,g)},1M:(e)?Y(){12 f=7.1y.25||7.3L("25");X(f=="")?1:f}:Y(){12 f,g=(7.1y.2u||7.3L("2u"));11(g){f=g.1R(d)}X(f==15||g==15)?1:(f[1]/8n)}};12 a=(c.1y.8q==15)?"bG":"8q";1c.1l({3L:Y(h){11(7.5B){X 7.5B[h.5l()]}12 g=1c.2O(7).bH,f=g?g.3L(7,15):15;X(f)?f.bI((h==a)?"6J":h.8i()):15},bK:Y(f){b(7,f);X 7},bL:Y(){X 7.1M("25")},5C:Y(g,f){3j(g){1B"25":X 7.1T("25",3H(f));1B"6J":g=a}g=g.5l();11(1O(f)!="2p"){12 h=(1c.5D[g]||"@").5J(" ");f=1h.1n(f).2c(Y(k,j){11(!h[j]){X""}X(1O(k)=="4z")?h[j].1o("@",1H.2U(k)):k}).3s(" ")}1a{11(f==1W(22(f))){f=1H.2U(f)}}7.1y[g]=f;X 7},3x:Y(l){3j(l){1B"25":X 7.1M("25");1B"6J":l=a}l=l.5l();12 f=7.1y[l];11(!f||l=="8v"){f=[];18(12 k 1m 1c.4u){11(l!=k){2D}18(12 j 1m 1c.4u[k]){f.1j(7.3x(j))}X f.3s(" ")}f=7.3L(l)}11(f){f=1W(f);12 h=f.1R(/bR?\\([\\d\\s,]+\\)/);11(h){f=f.1o(h[0],h[0].4C())}}11(1U.5a||(1U.59&&bS(3H(f)))){11((/^(3W|2P)$/).1u(l)){12 g=(l=="2P")?["2I","3u"]:["2E","2C"],i=0;g.1t(Y(m){i+=7.3x("2Q-"+m+"-2P").3b()+7.3x("4Q-"+m).3b()},7);X 7["6M"+l.8a()]-i+"1k"}11(1U.5a&&1W(f).2j("1k")!=-1){X f}11((/^2Q(.+)8A|3Y|4Q/).1u(l)){X"c1"}}X f},5A:Y(g){18(12 f 1m g){7.5C(f,g[f])}X 7},c2:Y(){12 f={};1h.3E(1g).1t(Y(g){f[g]=7.3x(g)},7);X f}});1c.5D={2I:"@1k",2E:"@1k",2C:"@1k",3u:"@1k",2P:"@1k",3W:"@1k",c3:"@1k",c4:"@1k",c5:"@1k",c6:"@1k",c7:"2e(@, @, @)",c8:"@1k @1k",5G:"2e(@, @, @)",ca:"@1k",cb:"@1k",cc:"@1k",cd:"ce(@1k @1k @1k @1k)",3Y:"@1k @1k @1k @1k",4Q:"@1k @1k @1k @1k",2Q:"@1k @ 2e(@, @, @) @1k @ 2e(@, @, @) @1k @ 2e(@, @, @)",6Q:"@1k @1k @1k @1k",6R:"@ @ @ @",6S:"2e(@, @, @) 2e(@, @, @) 2e(@, @, @) 2e(@, @, @)",8v:"@",8m:"@",ci:"@",cj:"@1k",25:"@"};1c.4u={3Y:{},4Q:{},2Q:{},6Q:{},6R:{},6S:{}};["ck","cl","cm","co"].1t(Y(l){12 k=1c.4u;12 g=1c.5D;["3Y","4Q"].1t(Y(m){12 n=m+l;k[m][n]=g[n]="@1k"});12 j="2Q"+l;k.2Q[j]=g[j]="@1k @ 2e(@, @, @)";12 i=j+"8A",f=j+"cp",h=j+"8G";k[j]={};k.6Q[i]=k[j][i]=g[i]="@1k";k.6R[f]=k[j][f]=g[f]="@";k.6S[h]=k[j][h]=g[h]="2e(@, @, @)"})}).1e(7);(Y(){1c.2m.28={1T:Y(b){7.5W(b)}};[1c,2k,2g].3R("1l",{2b:Y(f,h){12 i=7.2F("28",{});11(!i[f]){i[f]={2N:[],5H:[]}}11(i[f].2N.1z(h)){X 7}i[f].2N.1j(h);12 g=f,b=1c.33[f],d=h,j=7;11(b){11(b.5I){b.5I.1e(7,h)}11(b.4A){d=Y(k){11(b.4A.1e(7,k)){X h.1e(7,k)}X 1b}}g=b.41||g}12 e=Y(){X h.1e(j)};12 c=1c.6V[g];11(c){11(c==2){e=Y(k){k=1d 3n(k,j.2B());11(d.1e(j,k)===1i){k.4B()}}}7.3T(g,e,1g[2])}i[f].5H.1j(e);X 7},3z:Y(e,d){12 c=7.2F("28");11(!c||!c[e]){X 7}12 h=c[e];12 b=h.2N.2j(d);11(b==-1){X 7}12 g=h.5H[b];1F h.2N[b];1F h.5H[b];12 f=1c.33[e];11(f){11(f.8L){f.8L.1e(7,d)}e=f.41||e}X(1c.6V[e])?7.4X(e,g,1g[2]):7},5W:Y(b){18(12 c 1m b){7.2b(c,b[c])}X 7},4r:Y(b){12 d;11(1O(b)=="2t"){18(d 1m b){7.3z(d,b[d])}X 7}12 c=7.2F("28");11(!c){X 7}11(!b){18(d 1m c){7.4r(d)}7.6D("28")}1a{11(c[b]){c[b].2N.1t(Y(e){7.3z(b,e)},7);1F c[b]}}X 7},3e:Y(e,c,b){12 d=7.2F("28");11(!d||!d[e]){X 7}c=1h.1n(c);d[e].2N.1t(Y(f){11(b){f.6g(b,7,c)}1a{f.1s(7,c)}},7);X 7},8M:Y(e,d){e=19.1f(e);12 c=e.2F("28");11(!c){X 7}11(!d){18(12 b 1m c){7.8M(e,b)}}1a{11(c[d]){c[d].2N.1t(Y(f){7.2b(d,f)},7)}}X 7}});1c.6V={6l:2,cx:2,cy:2,cz:2,cA:2,44:2,64:2,6f:2,8N:2,cC:2,cD:2,cE:2,7z:2,cF:2,cG:2,cH:2,cI:2,cJ:2,cK:2,cL:2,cM:2,cN:2,cO:2,7x:2,cP:2,cQ:2,88:2,4l:2,87:2,3U:2,5z:1,cR:2,cS:1,cT:1,6W:1,6X:1,cW:1,cX:1,8Q:1};12 a=Y(b){12 c=b.6e;11(c==15){X 1b}11(!c){X 1i}X(c!=7&&c.cZ!="d0"&&1O(7)!="19"&&!7.1z(c))};1c.33={d1:{41:"6f",4A:a},d2:{41:"8N",4A:a},44:{41:(1U.4h)?"64":"44"}}}).1e(7);(Y(){12 h=19.2M("3k"),e=19.2M("3k");h.1y.3W="0";h.3C(e);12 d=(e.6Y===h);h=e=15;12 l=Y(m){X k(m,"42")!="8S"||a(m)};12 i=Y(m){X l(m)||(/^(?:d6|d7|d8)$/i).1u(m.3V)};1c.1l({6Z:Y(m,n){11(a(7)){7.2B().6Z(m,n)}1a{7.4K=m;7.4I=n}X 7},2f:Y(){11(a(7)){X 7.2B().2f()}X{x:7.da,y:7.db}},45:Y(){11(a(7)){X 7.2B().45()}X{x:7.71,y:7.72}},2v:Y(){11(a(7)){X 7.2B().2v()}X{x:7.4K,y:7.4I}},73:Y(){12 n=7.1Y,m={x:0,y:0};1w(n&&!a(n)){m.x+=n.4K;m.y+=n.4I;n=n.1Y}X m},dg:d?Y(){12 m=7;11(a(m)||k(m,"42")=="5K"){X 15}12 n=(k(m,"42")=="8S")?i:l;1w((m=m.1Y)){11(n(m)){X m}}X 15}:Y(){12 m=7;11(a(m)||k(m,"42")=="5K"){X 15}1D{X m.6Y}1E(n){}X 15},90:Y(){11(7.91&&!1U.58.8y){12 r=7.91(),o=19.1f(7.2O().4R),q=o.2v(),t=7.73(),s=(k(7,"42")=="5K");X{x:r.2I.3b()+t.x+((s)?0:q.x)-o.dk,y:r.2E.3b()+t.y+((s)?0:q.y)-o.dl}}12 n=7,m={x:0,y:0};11(a(7)){X m}1w(n&&!a(n)){m.x+=n.dm;m.y+=n.dn;11(1U.4h){11(!c(n)){m.x+=b(n);m.y+=g(n)}12 p=n.1Y;11(p&&k(p,"dp")!="6I"){m.x+=b(p);m.y+=g(p)}}1a{11(n!=7&&1U.8H){m.x+=b(n);m.y+=g(n)}}n=n.6Y}11(1U.4h&&!c(7)){m.x-=b(7);m.y-=g(7)}X m},2Y:Y(p){11(a(7)){X{x:0,y:0}}12 q=7.90(),n=7.73();12 m={x:q.x-n.x,y:q.y-n.y};11(p&&(p=19.1f(p))){12 o=p.2Y();X{x:m.x-o.x-b(p),y:m.y-o.y-g(p)}}X m},75:Y(o){11(a(7)){X 7.2B().75()}12 m=7.2Y(o),n=7.2f();12 p={2I:m.x,2E:m.y,2P:n.x,3W:n.y};p.3u=p.2I+p.2P;p.2C=p.2E+p.3W;X p},93:Y(m){X{2I:m.x-j(7,"3Y-2I"),2E:m.y-j(7,"3Y-2E")}},dt:Y(m){X 7.5A(7.93(m))}});[2g,2k].3R("1l",{2f:Y(){12 m=f(7);X{x:m.du,y:m.dv}},2v:Y(){12 n=7.2B(),m=f(7);X{x:n.8s||m.4K,y:n.8D||m.4I}},45:Y(){12 o=f(7),n=7.2f(),m=7.2O().2V;X{x:1H.4T(o.71,m.71,n.x),y:1H.4T(o.72,m.72,n.y)}},2Y:Y(){X{x:0,y:0}},75:Y(){12 m=7.2f();X{2E:0,2I:0,2C:m.y,3u:m.x,3W:m.y,2P:m.x}}});12 k=1c.3L;Y j(m,n){X k(m,n).3b()||0}Y c(m){X k(m,"-dw-94-dy")=="2Q-94"}Y g(m){X j(m,"2Q-2E-2P")}Y b(m){X j(m,"2Q-2I-2P")}Y a(m){X(/^(?:2V|2L)$/i).1u(m.3V)}Y f(m){12 n=m.2O();X(!n.53||n.53=="7X")?n.2L:n.2V}}).1e(7);[2k,2g,1c].3R("1l",{95:Y(){X 7.2f().y},dA:Y(){X 7.2f().x},96:Y(){X 7.2v().y},dC:Y(){X 7.2v().x},dD:Y(){X 7.45().y},dE:Y(){X 7.45().x},dF:Y(){X 7.2Y().y},dG:Y(){X 7.2Y().x}});(Y(){12 f=7.1I=1d 2R({83:[8f,33,8C],1A:{3B:60,98:1i,5L:9b,2z:15,77:1b,4i:"dN"},3X:Y(g){7.31=7.31||7;7.5X(g)},9d:Y(){X Y(g){X-(1H.7O(1H.dQ*g)-1)/2}},9e:Y(g){11(7.1A.77){12 h=(7.3y!=15)?(g-7.3y):0,i=h/7.79;7.3y=g;7.35+=i}1a{7.35++}11(7.35<7.2z){12 j=7.9i(7.35/7.2z);7.1T(7.2a(7.1n,7.43,j))}1a{7.35=7.2z;7.1T(7.2a(7.1n,7.43,1));7.4B()}},1T:Y(g){X g},2a:Y(i,h,g){X f.2a(i,h,g)},5N:Y(){11(!7.4b()){X 1b}3j(7.1A.4i){1B"3G":7.3G();X 1b;1B"2T":7.2T(7.29.4H(1g,7));X 1i}X 1i},1S:Y(k,j){11(!7.5N(k,j)){X 7}7.1n=k;7.43=j;7.35=(7.1A.77)?0:-1;7.3y=15;7.9i=7.9d();12 i=7.1A.2z,h=7.1A.3B,g=7.1A.5L;7.5L=f.9l[g]||g.3b();7.79=7b/h;7.2z=i||1H.2U(7.5L/7.79);7.3e("1S",7.31);b.1e(7,h);X 7},4B:Y(){11(7.4b()){7.3y=15;d.1e(7,7.1A.3B);11(7.2z==7.35){7.3e("7c",7.31);11(!7.5S()){7.3e("e4",7.31)}}1a{7.3e("4B",7.31)}}X 7},3G:Y(){11(7.4b()){7.3y=15;d.1e(7,7.1A.3B);7.35=7.2z;7.3e("3G",7.31).8j()}X 7},e5:Y(){11(7.4b()){7.3y=15;d.1e(7,7.1A.3B)}X 7},e6:Y(){11((7.35<7.2z)&&!7.4b()){b.1e(7,7.1A.3B)}X 7},4b:Y(){12 g=e[7.1A.3B];X g&&g.1z(7)}});f.2a=Y(i,h,g){X(h-i)*g+i};f.9l={"e7":e8,e9:9b,"ea":7b};12 e={},c={};12 a=Y(){12 h=3S.5u();18(12 j=7.17;j--;){12 g=7[j];11(g){g.9e(h)}}};12 b=Y(h){12 g=e[h]||(e[h]=[]);g.1j(7);11(!c[h]){c[h]=a.9g(1H.2U(7b/h),g)}};12 d=Y(h){12 g=e[h];11(g){g.3P(7);11(!g.17&&c[h]){1F e[h];c[h]=eb(c[h])}}}}).1e(7);1I.3c=1d 2R({56:1I,9p:Y(c,d,b){b=1h.1n(b);11(b[1]==15){b[1]=b[0];b[0]=c.3x(d)}12 a=b.2c(7.2s);X{1n:a[0],43:a[1]}},2s:Y(a){a=21.1n(a)();a=(24 a=="2p")?a.5J(" "):1h.1n(a);X a.2c(Y(c){c=1W(c);12 b=1i;1x.1t(1I.3c.7d,Y(f,e){11(b){X}12 d=f.2s(c);11(d||d===0){b={1Q:d,4d:f}}});b=b||{1Q:c,4d:1I.3c.7d.1W};X b})},2a:Y(d,c,b){12 a=[];(1H.5n(d.17,c.17)).70(Y(e){a.1j({1Q:d[e].4d.2a(d[e].1Q,c[e].1Q,b),4d:d[e].4d})});a.$2A=21.1n("9r:9s:1Q");X a},4e:Y(c,b){11(1O(c)!="9r:9s:1Q"){c=7.2s(c)}12 a=[];c.1t(Y(d){a=a.3i(d.4d.4e(d.1Q,b))});X a},9u:Y(a,d,c,b){a.5C(d,7.4e(c,b))},1K:Y(a){11(1I.3c.5P[a]){X 1I.3c.5P[a]}12 c={},b=1d 2l("^"+a.5k()+"$");1h.1t(19.el,Y(f,e){12 d=f.3K;11(d&&d.1z("://")&&!d.1z(19.em)){X}12 g=f.en||f.eo;1h.1t(g,Y(k,h){11(!k.1y){X}12 j=(k.9w)?k.9w.1o(/^\\w+/,Y(i){X i.2x()}):15;11(!j||!b.1u(j)){X}1x.1t(1c.5D,Y(l,i){11(!k.1y[i]||1c.4u[i]){X}l=1W(k.1y[i]);c[i]=((/^2e/).1u(l))?l.4C():l})})});X 1I.3c.5P[a]=c}});1I.3c.5P={};1I.3c.7d={8G:{2s:Y(a){11(a.1R(/^#[0-9a-f]{3,6}$/i)){X a.5m(1b)}X((a=a.1R(/(\\d+),\\s*(\\d+),\\s*(\\d+)/)))?[a[1],a[2],a[3]]:1i},2a:Y(c,b,a){X c.2c(Y(e,d){X 1H.2U(1I.2a(c[d],b[d],a))})},4e:Y(a){X a.2c(22)}},22:{2s:3H,2a:1I.2a,4e:Y(b,a){X(a)?b+a:b}},1W:{2s:21.1n(1i),2a:Y(b,a){X a},4e:Y(a){X a}}};1I.9x=1d 2R({56:1I.3c,3X:Y(b,a){7.1v=7.31=19.1f(b);7.2q(a)},1T:Y(b,a){11(1g.17==1){a=b;b=7.4m||7.1A.4m}7.9u(7.1v,b,a,7.1A.98);X 7},1S:Y(c,e,d){11(!7.5N(c,e,d)){X 7}12 b=1h.3E(1g);7.4m=7.1A.4m||b.4o();12 a=7.9p(7.1v,7.4m,b);X 7.2q(a.1n,a.43)}});1c.2m.3p={1T:Y(a){7.1M("3p").3G().5X(a);X 7},1M:Y(){12 a=7.2F("3p");11(!a){a=1d 1I.9x(7,{4i:"3G"});7.6C("3p",a)}X a}};1c.1l({3p:Y(a,c,b){7.1M("3p").1S(1g);X 7},3D:Y(c){12 e=7.1M("3p"),d="25",a;c=[c,"9z"].5Y();3j(c){1B"1m":e.1S(d,1);1q;1B"6d":e.1S(d,0);1q;1B"eu":e.1T(d,1);1q;1B"3h":e.1T(d,0);1q;1B"9z":12 b=7.2F("3D:7g",7.1M("25")==1);e.1S(d,(b)?0:1);7.6C("3D:7g",!b);a=1b;1q;5s:e.1S(d,1g)}11(!a){7.6D("3D:7g")}X 7},7h:Y(c,a){11(!a){a=7.2F("7h:9C",7.3x("7i-5G"));a=(a=="8t")?"#ey":a}12 b=7.1M("3p");b.1S("7i-5G",c||"#ez",a).2T(Y(){7.5C("7i-5G",7.2F("7h:9C"));b.5S()}.6F(7));X 7}});(Y(j,l){12 m,g,f=[],c,b,n=1b;1D{n=j.eA!=15}1E(i){}12 h=Y(){9E(b);11(m){X}1U.9F=m=1b;l.4X("6W",h).4X("6X",a);l.3e("5Q");j.3e("5Q")};12 a=Y(){18(12 e=f.17;e--;){11(f[e]()){h();X 1b}}X 1i};12 k=Y(){9E(b);11(!a()){b=9m(k,10)}};l.3T("6W",h);12 d=l.2M("3k");11(d.9H&&!n){f.1j(Y(){1D{d.9H();X 1b}1E(o){}X 1i});c=1b}11(l.9I){f.1j(Y(){12 e=l.9I;X(e=="9F"||e=="7c")})}11("eG"1m l){l.3T("6X",a)}1a{c=1b}11(c){k()}1c.33.5Q={5I:Y(e){11(m){e.1e(7)}}};1c.33.3U={41:"3U",5I:Y(e){11(g&&7==j){e.1e(7)}},4A:Y(){11(7==j){h();1F 1c.33.3U}X 1b}};j.2b("3U",Y(){g=1b})})(1P,19);(Y(){1I.7k=1d 2R({56:1I,1A:{6M:{x:0,y:0},9K:1b},3X:Y(c,b){7.1v=7.31=19.1f(c);7.2q(b);11(1O(7.1v)!="1v"){7.1v=19.1f(7.1v.2O().2V)}11(7.1A.9K){12 d=7.1v,e=7.3G.4H(1i,7);7.2b("1S",Y(){d.2b("44",e)},1b);7.2b("7c",Y(){d.3z("44",e)},1b)}},1T:Y(){12 b=1h.3E(1g);11(1U.4h){b=[1H.2U(b[0]),1H.2U(b[1])]}7.1v.6Z(b[0],b[1]);X 7},2a:Y(d,c,b){X[0,1].2c(Y(e){X 1I.2a(d[e],c[e],b)})},1S:Y(c,d){11(!7.5N(c,d)){X 7}12 b=7.1v.2v();X 7.2q([b.x,b.y],[c,d])},4f:Y(g,f){12 d=7.1v,b=d.45(),h=d.2v(),j=d.2f(),c=7.1A.6M,i={x:g,y:f};18(12 e 1m i){11(!i[e]&&i[e]!==0){i[e]=h[e]}11(1O(i[e])!="4z"){i[e]=b[e]-j[e]}i[e]+=c[e]}X[i.x,i.y]},9M:Y(){X 7.1S.1s(7,7.4f(1i,0))},eK:Y(){X 7.1S.1s(7,7.4f(0,1i))},eL:Y(){X 7.1S.1s(7,7.4f("3u",1i))},eM:Y(){X 7.1S.1s(7,7.4f(1i,"2C"))},6p:Y(d,e){e=e?1h.1n(e):["x","y"];12 c=a(7.1v)?{x:0,y:0}:7.1v.2v();12 b=1x.2c(19.1f(d).2Y(7.1v),Y(g,f){X e.1z(f)?g+c[f]:1i});X 7.1S.1s(7,7.4f(b.x,b.y))},9N:Y(d,g,e){g=g?1h.1n(g):["x","y"];d=19.1f(d);12 i={},f=d.2Y(7.1v),j=d.2f(),h=7.1v.2v(),b=7.1v.2f(),c={x:f.x+j.x,y:f.y+j.y};["x","y"].1t(Y(k){11(g.1z(k)){11(c[k]>h[k]+b[k]){i[k]=c[k]-b[k]}11(f[k]<h[k]){i[k]=f[k]}}11(i[k]==15){i[k]=h[k]}11(e&&e[k]){i[k]=i[k]+e[k]}},7);11(i.x!=h.x||i.y!=h.y){7.1S(i.x,i.y)}X 7},9O:Y(e,f,h){f=f?1h.1n(f):["x","y"];e=19.1f(e);12 i={},c=e.2Y(7.1v),d=e.2f(),b=7.1v.2v(),g=7.1v.2f();["x","y"].1t(Y(j){11(f.1z(j)){i[j]=c[j]-(g[j]-d[j])/2}11(i[j]==15){i[j]=b[j]}11(h&&h[j]){i[j]=i[j]+h[j]}},7);11(i.x!=b.x||i.y!=b.y){7.1S(i.x,i.y)}X 7}});1I.7k.1l({eO:Y(){X 7.9O.1s(7,1g)},eP:Y(){X 7.9N.1s(7,1g)}});Y a(b){X(/^(?:2V|2L)$/i).1u(b.3V)}})();(Y(b){12 K={};K.7l=1d 33();K.9R=Y(d){12 c="eS-eT";d=d||19;11(!d){X}d.6q("["+c+"]").1t(Y(g){12 f=g.1M(c);11(f){f=f.5J(" ")}1a{X}f.1t(Y(e){12 h=K.7l[e];11(24 h=="Y"){h(g)}})})};19.2b("5Q",Y(){K.9R()});K.7l.eU=(Y(){12 c=1i;Y d(){12 e=1d 1c("3k",{2L:\'<eV 7W="eW://eX.eY.cn/eZ/f0/f1/14/f2.f3" f4="杩斿洖椤堕儴" />\'}).5A({42:"5K",3u:20,2C:20,f6:"f7"}).84(b(19.2V)).3D("3h");11(1U.f8){X}1P.2b("8Q",Y(){11(1P.96()>1P.95()){e.3D("1m")}1a{e.3D("6d")}});e.2b("6l",Y(){1d 1I.7k(1P).9M()})}X Y(){11(!c){d();c=1b}}})()})(19.1f);',62,939,'|||||||this||||||||||||||||||||||||||||||||||||||||||||||||||||return|function|||if|var|||null||length|for|document|else|true|Element|new|call|id|arguments|Array|false|push|px|implement|in|from|replace|prototype|break|Slick|apply|each|test|element|while|Object|style|contains|options|case|Elements|try|catch|delete|nodeType|Math|Fx|getAttribute|search|type|get|name|typeOf|window|value|match|start|set|Browser|combinator|String|nodeName|parentNode|extend||Function|Number|getUID|typeof|opacity|uid||events|caller|compute|addEvent|map|class|rgb|getSize|Document|className|Type|indexOf|Window|RegExp|Properties||expressions|string|parent|getElementsByTagName|parse|object|filter|getScroll|innerHTML|toLowerCase|tag|frames|family|getWindow|bottom|continue|top|retrieve|nextSibling|selected|left|isHTMLDocument|protect|html|createElement|keys|getDocument|width|border|Class|append|chain|round|body|getElementsByClassName|firstChild|getPosition|clone|key|subject||Events|slice|frame|||||overloadSetter|toInt|CSS|constructor|fireEvent|checked|event|hide|concat|switch|div|version|child|Event|ownerDocument|tween|previousSibling|nodeValue|join|querySelectorAll|right|getAttributeNode|pseudo|getStyle|time|removeEvent|sort|fps|appendChild|fade|flatten|nth|cancel|parseFloat|find|nativeMatchesSelector|href|getComputedStyle|classList|compareDocumentPosition|found|erase|associate|invoke|Date|addListener|load|tagName|height|initialize|margin|attributes||base|position|to|mousewheel|getScrollSize||charAt|mirror|hidden|array|isRunning|toString|parser|serve|calculateScroll|toUpperCase|firefox|link|unicode|reverseCombinator|select|property|of|shift|brokenGEBCN|splice|removeEvents|getElementById|empty|ShortStyles|isEnumerable|simpleSelectors|uniques|disabled|number|condition|stop|rgbToHex|attempt|querySelector|forEach|sourceIndex|pass|scrollTop|pageY|scrollLeft|pageX|createNTHPseudo|hasAttribute|bitUniques|pseudos|padding|documentElement|attributeGetters|max|navigator|classes|input|removeListener|setAttribute|head|clean|matchSelector|addEventListener|compatMode|stopPropagation|preventDefault|Extends|on|Platform|ie|opera|ActiveXObject|exports|isXML|setDocument|root|isXMLDocument|brokenStarGEBTN|idGetsName|foo|escapeRegExp|camelCase|hexToRgb|min|attachEvent|textContent|last|merge|default|cssText|now|iframe|clearAttributes|maxLength|removeProperty|unload|setStyles|currentStyle|setStyle|Styles|unshift|reverse|color|values|onAdd|split|fixed|duration|protected|check|hasOwnProperty|Cache|domready|regexp|callChain|documentSorter|createRange|clientY|addEvents|setOptions|pick|raw||removeAttribute|include|getLast|DOMMouseScroll|uidx|uidk|cacheNTH|removeChild|matchNode|currentExpression|lastChild|script|out|relatedTarget|mouseover|delay|random|tabindex|htmlFor|operator|click|Prototype|undefined|text|toElement|getElements|isNativeCode|innerText|insertBefore|setProperty|getProperty|prototyping|hasClass|grab|dispose|getUIDXML|exec|store|eliminate|throw|bind|Error|visibility|visible|float|The|starSelectsClosedQSA|offset|method|brokenMixedCaseQSA|brokenCheckedQSA|borderWidth|borderStyle|borderColor|brokenEmptyAttributeQSA|origin|NativeEvents|DOMContentLoaded|readystatechange|offsetParent|scrollTo|times|scrollWidth|scrollHeight|getScrolls|option|getCoordinates|parseInt|frameSkip|action|frameInterval|Mutators|1000|complete|Parsers|instanceOf|getUIDHTML|flag|highlight|background|clientX|Scroll|widgets|getByClass|getByTag|changedTouches|touches|code|first|target|only|which|Features|floor|focus|Keys|keydown|ShockwaveFlash|Flash|Boolean|override|uidOf|Constructors|execCommand|newElement|cannot|IFrame|properties|onload|defaultChecked|newTextNode|cos|called|owner|textarea|pow|defaultValue|MiX|readOnly|src|CSS1Compat|toFloat|XMLHTTP|form|addClass|removeClass|Implements|inject|replaces|getSelected|submit|reset|encodeURIComponent|capitalize|outerHTML|slick|removeEventListener|slick_expando|Chain|execScript|CollectGarbage|hyphenate|clearChain|alpha|trim|zoom|100|specified|Request|cssFloat|internal|pageXOffset|transparent|toFixed|zIndex|some|every|ios|setStart|Width|setEnd|Options|pageYOffset|detachEvent|Plugins|Color|safari|unicode1|pop|u00a1|onRemove|cloneEvents|mouseout|uFFFF|posNTH|scroll|posNTHLast|static|posNTHType|posNTHTypeLast|pushArray|pushUID|lastIndexOf|s0|wheelDelta|getOffsets|getBoundingClientRect|onunload|computePosition|box|getHeight|getScrollTop|alias|unit|childNodes||500|extended|getTransition|step|isFinite|periodical|overloadGetter|transition|toLocaleString|uniqueNumber|Durations|setTimeout|matchNTH|parseNTHArgument|prepare|odd|fx|css|even|render|uniqueID|selectorText|Tween|collection|toggle|rotation|scale|original|targetTouches|clearTimeout|loaded|matchPseudo|doScroll|readyState|getById|wheelStops|whitespace|toTop|toElementEdge|toElementCenter|textnode|all|applyWidgets|preventExtensions|IFrame_|contentWindow|freeze|isSealed|seal|amp|quot|exp|space|createTextNode|isExtensible|embed|getOwnPropertyNames|backspace|ceil|getElement|slick_uniqueid|atan2|atan|accessKey||cellPadding|cellSpacing|colSpan|frameBorder|asin|acos|rowSpan|tabIndex|useMap|compact|nowrap|ismap|declare|noshade|multiple|noresize|defer|display|usemap|before|none|after|getOwnPropertyDescriptor|getPrototypeOf|inside|defineProperties|createComment|defineProperty|abs|setProperties|getProperties|removeProperties|tab|air|limit|toggleClass|adopt|createDocumentFragment|appendText|substitute|evaluate|replaceChild|wraps|getPrevious|getAllPrevious|getNext|getAllNext|getFirst|getParent|getParents|getSiblings|getChildren|Microsoft|selectedIndex|toQueryString|gi|cancelBubble|file|image|radio|checkbox|returnValue||destroy|xpath|setAttributeNode|createAttribute|mergeAttributes|cloneNode|javascript|matchesSelector|create|mozMatchesSelector|webkitMatchesSelector|MSXML2|other|XMLHttpRequest|maxlength|styles|srcElement|plugins|xhr|BackgroundImageCache|hasLayout|keyCode|keyOf|toPrecision|build|has|no|styleFloat|defaultView|getPropertyValue|120|setOpacity|getOpacity|detail|button|compareBoundaryPoints|Range|toExponential|rgba|isNaN|reduceRight|reduce|START_TO_END|over|r0|linux|111|GetVariable|0px|getStyles|maxWidth|maxHeight|minWidth|minHeight|backgroundColor|backgroundPosition|JSON|fontSize|letterSpacing|lineHeight|clip|rect|combine|disableQSA|win|fontWeight|textIndent|Top|Right|Bottom||Left|Style|slickid__|finally|mac|substring|android|firefox2|gesture|dblclick|mouseup|mousedown|contextmenu|webos|mousemove|selectstart|selectend|keypress|keyup|orientationchange|touchstart|touchmove|touchend|touchcancel|gesturestart|gesturechange|gestureend|blur|change|beforeunload|resize|move|touch|hone|error|abort|fromCharCode|prefix|xul|mouseenter|mouseleave|getRandom|substr|stripScripts|table|td|th|od|offsetWidth|offsetHeight|quote|ip|mouse|parts|getOffsetParent|uniqueid|menu|documentMode|clientLeft|clientTop|offsetLeft|offsetTop||overflow|charCodeAt|unknown|description|setPosition|clientWidth|clientHeight|moz|page|sizing|client|getWidth|rightClick|getScrollLeft|getScrollHeight|getScrollWidth|getTop|getLeft|wheel|is|json|chrome|Shockwave|Arguments|ignore|shiftKey|platform|PI|userAgent|control|Collection|TextNode|setInterval|ctrlKey|alt|propertyIsEnumerable|isPrototypeOf|valueOf|not|altKey|WhiteSpace|chainComplete|pause|resume|short|250|normal|long|clearInterval|tan|sqrt|meta|instanceof|sin|index|metaKey|enabled|enter|styleSheets|domain|rules|cssRules|up|activeElement|native|item|callee|show|xmlVersion|xml|XMLDocument|fff|ffff88|frameElement|defineAttributeGetter|lookupAttributeGetter|definePseudo|lookupPseudo|HTML|onreadystatechange|down|log|query|toLeft|toRight|toBottom|isFrozen|scrollToCenter|scrollIntoView|runtime|isObject|data|widget|backtop|img|http|img170|poco|mypoco|myphoto|20120429|61279828201204291423333116442926539_000|jpg|title|esc|cursor|pointer|ie6'.split('|'),0,{}))

看到了吧,密密麻麻的,还是经过压缩的,我们给他解压和美化一下一共有4000多行啊 有木有

这怎么受得了呢。

我又不太懂js,所以在网上掏了整整一整天才找到了我想要的代码,效果和上面的一样,但是这个代码长度却只有一行。。。

js部分如下

<script type="text/javascript">
$(function(){$(".backtotop").click(function(){$("html,body").animate({scrollTop:0},200);return false});$(window).scroll(function(){var A=jQuery(".backtotop");if(A.offset().top>800){A.show()}else{A.hide()}});});
</script>

div部分

<a title="返回顶部" href="#header" class="backtotop"></a>

注:确实div部分只要有一个backtotop的class就可以了(话说 这个真花了我不少时间,js得真心要学下啊。。。。)其中里面的#header是为了不支持js的浏览器兼容性使用的,改成你的相应id内容即可。。。现在基本浏览器都支持js了吧。。。

css部分
.backtotop {position: fixed;visibility: visible;width:40px;height:40px;right: 20px;bottom: 20px;display: none;background: transparent url('http://img170.poco.cn/mypoco/myphoto/20120429/14/61279828201204291423333116442926539_000.jpg') no-repeat top left;}
很简单吧,如果想改成别的图片 自定修改css部分的图片地址以及修改相应的高度和宽度即可。

之前使用本站分享的公告栏教程的 ,想添加返回顶部的话 请转至在你的点点(通用)博客中加入底部公告栏

演示效果:记忆碎片底部公告栏部分

文章地址:https://huilang.me/back-to-top/

“我也分享个超级精简实用的返回顶部js代码” 有 1 条评论

  1. gnjkweekg说道:

    有用吗?还不是没有用

回复本文

您的电子邮箱地址不会被公开。 必填项已用 * 标注

icon_wink.gif icon_neutral.gif icon_mad.gif icon_twisted.gif icon_smile.gif icon_eek.gif icon_sad.gif icon_rolleyes.gif icon_razz.gif icon_redface.gif icon_surprised.gif icon_mrgreen.gif icon_lol.gif icon_idea.gif icon_biggrin.gif icon_evil.gif icon_cry.gif icon_cool.gif icon_arrow.gif icon_confused.gif icon_question.gif icon_exclaim.gif