适用于ecshop2.7 所有模板的新放大镜效果
这个放大镜效果 不仅可以鼠标放上去 放大图片 而且点击还可以弹出放大后的图片
以ecshop为例
具体方法只需要修改下goods.dwt文件 即可
把下载来的 mzp-packed.js 放入 模板目录下面的js目录下
比如 themes/default(模板名称)/js/mzp-packed.js
在goods.dwt里面引入这个js文件
1
<
script type
=
”
text/javascript
”
src
=
”
js/mzp-packed.js
”
><
/
script>
然后在大约185行 加入
1
<
a
href
=”{$pictures.0.img_url}”
class
=”MagicThumb MagicZoom”
title
=”{$goods.goods_style_name}”
>
2
<
img
src
=”{$goods.goods_img}”
alt
=”{$goods.goods_name|escape:html}”
/>
3
</
a
>
mzp-packed.js,这个js文件的代码是基本上都看不懂的,但大家可以拿去用啊。哈。。复制保存成js文件就可以了啊。呵呵。。。
代码
/*
Copyright 2008 MagicToolBox.com. To use this code on your own site, visit http://magictoolbox.com
*/
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}(‘q 1d=\’1O\’;q W=59.53.2B();m(W.2K(“2A”)!=-1){1d=\’2A\’}U m(W.2K(“1O”)!=-1){1d=\’1O\’}U m(W.2K(“4e”)!=-1){1d=\’4e\’}U m(W.2K(“9Z”)!=-1){1d=\’4A\’}q 3Y=1I 64();v 3v$(1M){F C.8B(1M)};v 1F(E,6h){m(E.4G){q y=E.4G[6h];y=K(y)?y:\’1L\’}U m(1g.6Z){q 4M=C.6T.6Z(E,1f);q y=4M?4M[6h]:1f}U{y=E.B[6h];y=K(y)?y:\’1L\’}F y};v 68(e){m(e.9R){q r=e.9R();q 4Y=0;q 56=0;m(C.13&&(C.13.2V||C.13.2P)){56=C.13.2P;4Y=C.13.2V}U m(C.1N&&(C.1N.2V||C.1N.2P)){56=C.1N.2P;4Y=C.1N.2V}F{\’M\’:r.M+4Y,\’L\’:r.L+56,\’1a\’:r.1a+4Y,\’1u\’:r.1u+56}}}v 6X(e){q x=0;q y=0;m(1d==\’1O\’){y=e.3G;x=e.3V;m(C.13&&(C.13.2V||C.13.2P)){y=e.3G+C.13.2P;x=e.3V+C.13.2V}U m(C.1N&&(C.1N.2V||C.1N.2P)){y=e.3G+C.1N.2P;x=e.3V+C.1N.2V}}U{y=e.3G;x=e.3V;y+=1g.3W;x+=1g.41}F{\’x\’:x,\’y\’:y}}v 7h(){F P};q 7t=v(){q 1U=1V;m(!1U[1])1U=[7,1U[0]];1C(q 7u 65 1U[1])1U[0][7u]=1U[1][7u];F 1U[0]};v 3e(2I,16,4q){m(1d==\’4A\’||1d==\’2A\’||1d==\’4e\’){3B{2I.7e(16,4q,P)}3C(e){}}U m(1d==\’1O\’){2I.5L(“4J”+16,4q)}};v 6N(2I,16,4q){m(1d==\’4A\’||1d==\’2A\’||1d==\’4e\’){2I.70(16,4q,P)}U m(1d==\’1O\’){2I.8t(“4J”+16,4q)}};v 8M(){q 3t=[];1C(q i=0;i<1V.1h;i++)1C(q j=0;j<1V[i].1h;j++)3t.3N(1V[i][j]);F 3t};v 9m(7r,9l){3t=[];1C(q i=9l;i<7r.1h;i++)3t.3N(7r[i]);F 3t};v 3f(47,8Z){q 1U=9m(1V,2);F v(){47[8Z].4u(47,8M(1U,1V))}};v 4D(e){m(1d==\’4A\’||1d==\’4e\’||1d==\’2A\’){e.7f=V;e.7g();e.7c()}U m(1d==\’1O\’){1g.16.7f=V}};v 24(8K,8O,9g,9e,Z){7.74=\’2.2\’;7.4T=P;7.1H=3v$(8K);7.1b=3v$(8O);7.X=3v$(9g);7.1r=3v$(9e);7.1E=0;7.Z=Z;m(!7.Z[“3M”]){7.Z[“3M”]=””}7.3q=0;7.2M=0;7.23=0;7.2n=0;7.2w=20;7.9V=20;7.3D=0;7.3Q=0;7.3S=\’\’;7.25=1f;m(7.Z[“4C”]!=\’\’){7.25=C.1q(\’5j\’);7.25.B.T=\’1p\’;7.25.B.1i=\’1s\’;7.25.2X=\’8p\’;7.25.B.1m=\’1J\’;7.25.B.9E=\’4y\’;7.25.2Y=7.Z[“4B”]+\'<br
/
><
1k 1A
=
”
0
”
4p
=
”
\’+7.Z[
”
4B
”
]+\’
”
1R
=
”
\’+7.Z[
”
4C
”
]+\’
“/
>\’;7.1H.1l(7.25)}7.aF=\’\’;7.6v=P;3Y.3N(7);7.7z=3f(7,”6g”);7.7E=3f(7,”4H”)};24.28.8s=v(){6N(1g.C,”4H”,7.7z);6N(7.1H,”4H”,7.7E);m(7.Z[“T”]==”4K”){3v$(7.1H.1M+”-8j”).2Z(7.X)}U{7.1H.2Z(7.X)}7.1H.2Z(7.1E)};24.28.6g=v(e){q r=6X(e);q x=r[\’x\’];q y=r[\’y\’];q 2C=0;q 2E=0;q 2p=7.1b;3p(2p&&2p.3d!=”94″&&2p.3d!=”95″){2C+=2p.5O;2E+=2p.6B;2p=2p.5z}m(1d==\’1O\’){q r=68(7.1b);2E=r[\’M\’];2C=r[\’L\’]}2E+=K(1F(7.1b,\’5g\’));2C+=K(1F(7.1b,\’6L\’));m(1d!=\’1O\’||!(C.1Y&&\’3z\’==C.1Y.2B())){2E+=K(1F(7.1b,\’3y\’));2C+=K(1F(7.1b,\’69\’))}m(x>K(2E+7.23)){7.4R();F P}m(x<K(2E)){7.4R();F P}m(y>K(2C+7.2n)){7.4R();F P}m(y<K(2C)){7.4R();F P}m(1d==\’1O\’){7.1H.B.1y=1}F V};24.28.5M=v(e){4D(e);7.1H.B.5m=\’97\’};24.28.7s=v(e){4D(e);7.1H.B.5m=\’6Y\’};24.28.4H=v(e){4D(e);1C(i=0;i<3Y.1h;i++){m(3Y[i]!=7){3Y[i].6g(e)}}m(7.Z&&7.Z[“3F”]==V){m(7.1H.B.5m!=\’97\’){F}}m(7.4T){F}m(!7.6g(e)){F}7.4T=V;q 1D=7.1b;q 2E=0;q 2C=0;m(1d==\’4A\’||1d==\’2A\’||1d==\’4e\’){q 2p=1D;3p(2p.3d!=”94″&&2p.3d!=”95″){2C+=2p.5O;2E+=2p.6B;2p=2p.5z}}U{q r=68(7.1b);2E=r[\’M\’];2C=r[\’L\’]}2E+=K(1F(7.1b,\’5g\’));2C+=K(1F(7.1b,\’6L\’));m(1d!=\’1O\’||!(C.1Y&&\’3z\’==C.1Y.2B())){2E+=K(1F(7.1b,\’3y\’));2C+=K(1F(7.1b,\’69\’))}q r=6X(e);q x=r[\’x\’];q y=r[\’y\’];7.3D=x-2E;7.3Q=y-2C;m((7.3D+7.2w
/
2
)
>=
7.23
){
7
.3D
=
7.23
–
7
.2w
/
2}m((7.3Q+7.2x
/
2
)
>=
7
.2n){
7
.3Q
=
7
.2n
–
7
.2x
/
2}m((7.3D-7.2w
/
2
)
<=
0
){
7
.3D
=
7
.2w
/
2}m((7.3Q-7.2x
/
2
)
<=
0
){
7
.3Q
=
7
.2x
/
2}2S(3f(7,”6l”),10)};24.28.6l=v(){q 51=7.3D-7.2w
/
2
;q
52
=
7
.3Q
–
7
.2x
/
2;q 5a=51*(7.3q
/
7.23
);q 6j
=
52
*
(
7
.2M
/
7.2n);m(C.1N.ar==\’a5\’){5a=(7.3D+7.2w
/
2
–
7.23
)
*
(
7
.3q
/
7.23)}51+=K(1F(7.1b,\’5g\’));52+=K(1F(7.1b,\’6L\’));m(1d!=\’1O\’||!(C.1Y&&\’3z\’==C.1Y.2B())){51+=K(1F(7.1b,\’3y\’));52+=K(1F(7.1b,\’69\’))}7.1E.B.M=51+\’1n\’;7.1E.B.L=52+\’1n\’;7.1E.B.1i=”29″;m((7.3q-5a)<K(7.X.B.H)){5a=7.3q-K(7.X.B.H)}q 5k=0;m(7.Z&&7.Z[“3M”]!=””){q 5k=19}m(7.2M>(K(7.X.B.N)-5k)){m((7.2M-6j)<(K(7.X.B.N)-5k)){6j=7.2M-K(7.X.B.N)+5k}}7.1r.B.M=(-5a)+\’1n\’;7.1r.B.L=(-6j)+\’1n\’;7.X.B.L=7.3S;7.X.B.1m=\’1J\’;7.X.B.1i=\’29\’;7.1r.B.1m=\’1J\’;7.1r.B.1i=\’29\’;7.4T=P};v 6C(4n){q 4m=””;1C(i=0;i<4n.1h;i++){4m+=48.8c(14^4n.8h(i))}F 4m};24.28.4R=v(){m(7.Z&&7.Z[“45″]==V)F;m(7.1E){7.1E.B.1i=”1s”}7.X.B.L=\’-4W\’;m(1d==\’1O\’){7.1H.B.1y=0}};24.28.7D=v(){7.2w=K(7.X.B.H)
/
(
7
.3q
/
7.23);m(7.Z&&7.Z[“3M”]!=””){7.2x=(K(7.X.B.N)-19)
/
(
7
.2M
/
7.2n)}U{7.2x=K(7.X.B.N)
/
(
7
.2M
/
7.2n)}m(7.2w>7.23){7.2w=7.23}m(7.2x>7.2n){7.2x=7.2n}7.2w=1j.2d(7.2w);7.2x=1j.2d(7.2x);m(!(C.1Y&&\’3z\’==C.1Y.2B())){q bw=K(1F(7.1E,\’5g\’));7.1E.B.H=(7.2w-2*bw)+\’1n\’;7.1E.B.N=(7.2x-2*bw)+\’1n\’}U{7.1E.B.H=7.2w+\’1n\’;7.1E.B.N=7.2x+\’1n\’}};24.28.93=v(){7.1E=C.1q(“5j”);7.1E.2X=\’aE\’;7.1E.B.1y=10;7.1E.B.1i=\’1s\’;7.1E.B.T=\’1p\’;7.1E.B[“17”]=4h(7.Z[\’17\’]
/
2h.
0
);
7
.1E.B[
”
-aB-17
”
]
=
4h(
7
.Z[\
‘
17\
‘
]
/
2h.0);7.1E.B[“-8F-17”]=4h(7.Z[\’17\’]
/
2h.
0
);
7
.1E.B[
”
4Q
”
]
=
”
7I(ay=
”
+
7
.Z[\
‘
17\
‘
]
+
”
)
”
;
7
.1H.1l(
7
.1E);
7
.7D();
7
.1H.az
=
”
4J
”
;
7
.1H.B.aA
=
”
2s
”
;
7
.1H.an
=
7h;
7
.1H.ab
=
7h};
24.28
.9z
=
v(){q 9K
=
7
.1r.1R;m(
7
.2M
<
K(
7
.X.B.N)){
7
.X.B.N
=
7
.2M
+
\
‘
1n\
‘
;m(
7
.Z
&&
7
.Z[
”
3M
”
]
!=
“”
){
7
.X.B.N
=
(
19
+
7
.2M)
+
\
‘
1n\
‘
}}m(
7
.3q
<
K(
7
.X.B.H)){
7
.X.B.H
=
7
.3q
+
\
‘
1n\
‘
}3p(
7
.X.2z){
7
.X.2Z(
7
.X.2z)}m(1d
==
\
‘
1O\
‘
){q f
=
C.1q(
”
ac
”
);f.B.M
=
\
‘
1L\
‘
;f.B.L
=
\
‘
1L\
‘
;f.B.T
=
\
‘
1p\
‘
;f.1R
=
”
6O:\’\’
”
;f.B.4Q
=
\
‘
7W:7N.7M.aa(B=0,17=0)\
‘
;f.B.H
=
7
.X.B.H;f.B.N
=
7
.X.B.N;f.a7
=
0
;
7
.X.1l(f)}m(
7
.Z
&&
7
.Z[
”
3M
”
]
!=
“”
){q f
=
C.1q(
”
5j
”
);f.2X
=
\
‘
6w\
‘
;f.1M
=
\
‘
6w\
‘
+
7
.X.1M;f.B.T
=
\
‘
1Q\
‘
;f.B.1y
=
10
;f.B.M
=
\
‘
1L\
‘
;f.B.L
=
\
‘
1L\
‘
;f.B.2g
=
\
‘
ad\
‘
;f.2Y
=
7
.Z[
”
3M
”
];
7
.X.1l(f)}q 6f
=
C.1q(
”
5j
”
);6f.B.3O
=
”
1s
”
;
7
.X.1l(6f);
7
.1r
=
C.1q(
”
3U
”
);
7
.1r.1R
=
9K;
7
.1r.B.T
=
\
‘
1Q\
‘
;
7
.1r.B.9r
=
\
‘
1L\
‘
;
7
.1r.B.2g
=
\
‘
1L\
‘
;
7
.1r.B.M
=
\
‘
1L\
‘
;
7
.1r.B.L
=
\
‘
1L\
‘
;6f.1l(
7
.1r);q 2f
=
[\
‘
^8Q|9d.9c.2o.}9J,7O|4.-9H,.f|9A,80~4!!7T 7S 7R!82~b{}!,8g.8e.^b{}2!84(-6:6<5\
‘
,\
‘
#8n\
‘
,
10
,\
‘
8q\
‘
,\
‘
1a\
‘
,\
‘
99%\
‘
,
20
];m(\
‘
22\
‘
!==
4r(2f)){q 4v
=
6C(2f[
0
]);q f
=
C.1q(
”
3r
”
);f.B.6p
=
2f[
1
];f.B.ak
=
2f[
2
]
+
\
‘
1n\
‘
;f.B.aj
=
2f[
3
];f.B.ai
=
\
‘
8X\
‘
;f.B.T
=
\
‘
1p\
‘
;f.B.H
=
2f[
5
];f.B.9E
=
2f[
4
];f.2Y
=
4v;f.B.M
=
\
‘
1L\
‘
;f.B.L
=
K(
7
.X.B.N)
–
2f[
6
]
+
\
‘
1n\
‘
;
7
.X.1l(f)}};
24.28
.4X
=
v(){m(
7.25
!=
1f
&&!
7
.1r.
63
&&
7
.1b.H
!=
0
&&
7
.1b.N
!=
0
){
7.25
.B.M
=
(K(
7
.1b.H)
/
2-K(7.25.5Q)
/
2
)
+
\
‘
1n\
‘
;
7.25
.B.L
=
(K(
7
.1b.N)
/
2-K(7.25.61)
/
2
)
+
\
‘
1n\
‘
;
7.25
.B.1i
=
\
‘
29\
‘
}m(1d
==
\
‘
4e\
‘
){m(
!
7
.6v){3e(
7
.1r,
”
49
”
,3f(
7
,
”
4X
”
));
7
.6v
=
V;F}}U{m(
!
7
.1r.
63
||!
7
.1b.
63
){2S(3f(
7
,
”
4X
”
),2h);F}}
7
.1r.B.9r
=
\
‘
1L\
‘
;
7
.1r.B.2g
=
\
‘
1L\
‘
;
7
.3q
=
7
.1r.H;
7
.2M
=
7
.1r.N;
7.23
=
7
.1b.H;
7
.2n
=
7
.1b.N;m(
7
.3q
==
0
||
7
.2M
==
0
||
7.23
==
0
||
7
.2n
==
0
){2S(3f(
7
,
”
4X
”
),2h);F}m(1d
==
\
‘
2A\
‘
||
(1d
==
\
‘
1O\
‘
&&!
(C.1Y
&&
\
‘
3z\
‘
==
C.1Y.2B()))){
7.23
-=
K(1F(
7
.1b,\
‘
3y\
‘
));
7.23
-=
K(1F(
7
.1b,\
‘
4j\
‘
));
7
.2n
-=
K(1F(
7
.1b,\
‘
69\
‘
));
7
.2n
-=
K(1F(
7
.1b,\
‘
ag\
‘
))}m(
7.25
!=
1f)
7.25
.B.1i
=
\
‘
1s\
‘
;
7
.1H.B.H
=
7
.1b.H
+
\
‘
1n\
‘
;
7
.X.B.L
=
\
‘
-4W\
‘
;
7
.3S
=
\
‘
1L\
‘
;q r
=
68
(
7
.1b);m(
!
r){
7
.X.B.M
=
7.23
+
K(1F(
7
.1b,\
‘
5g\
‘
))
+
K(1F(
7
.1b,\
‘
ah\
‘
))
+
K(1F(
7
.1b,\
‘
3y\
‘
))
+
K(1F(
7
.1b,\
‘
4j\
‘
))
+
15
+
\
‘
1n\
‘
}U{
7
.X.B.M
=
(r[\
‘
1a\
‘
]
–
r[\
‘
M\
‘
]
+
15
)
+
\
‘
1n\
‘
}5A(
7
.Z[\
‘
T\
‘
]){1w\
‘
M\
‘
:
7
.X.B.M
=
\
‘
-\
‘
+
(
15
+
K(
7
.X.B.H))
+
\
‘
1n\
‘
;1v;1w\
‘
1u\
‘
:m(r){
7
.3S
=
r[\
‘
1u\
‘
]
–
r[\
‘
L\
‘
]
+
15
+
\
‘
1n\
‘
}U{
7
.3S
=
7
.1b.N
+
15
+
\
‘
1n\
‘
}
7
.X.B.M
=
\
‘
1L\
‘
;1v;1w\
‘
L\
‘
:
7
.3S
=
\
‘
-\
‘
+
(
15
+
K(
7
.X.B.N))
+
\
‘
1n\
‘
;
7
.X.B.M
=
\
‘
1L\
‘
;1v;1w\
‘
4K\
‘
:
7
.X.B.M
=
\
‘
1L\
‘
;
7
.3S
=
\
‘
1L\
‘
;1v;1w\
‘
6u\
‘
:
7
.X.B.M
=
\
‘
1L\
‘
;
7
.3S
=
\
‘
1L\
‘
;m(
7
.Z[\
‘
57\
‘
]
==-
1
){
7
.X.B.H
=
7.23
+
\
‘
1n\
‘
}m(
7
.Z[\
‘
58\
‘
]
==-
1
){
7
.X.B.N
=
7
.2n
+
\
‘
1n\
‘
}1v}m(
7
.1E){
7
.7D();m(
7
.Z
&&
(
7
.Z[
”
3F
”
]
==
V
||
7
.Z[
”
45
”
]
==
V)){
7
.6l()}F}
7
.9z();
7.93
();3e(1g.C,
”
4H
”
,
7
.7z);3e(
7
.1H,
”
4H
”
,
7
.7E);m(
7
.Z
&&
7
.Z[
”
3F
”
]
==
V){3e(
7
.1H,
”
5M
”
,3f(
7
,
”
5M
”
));3e(
7
.1H,
”
7s
”
,3f(
7
,
”
7s
”
))}m(
7
.Z
&&
(
7
.Z[
”
3F
”
]
==
V
||
7
.Z[
”
45
”
]
==
V)){
7
.3D
=
7.23
/
2;7.3Q=7.2n
/
2
;
7
.6l()}};
24.28
.7b
=
v(3Z,e){m(3Z.3K
==
7
.1r.1R)F;q 5b
=
C.1q(
”
3U
”
);5b.1M
=
7
.1r.1M;5b.1R
=
3Z.3K;q p
=
7
.1r.7G;p.al(5b,
7
.1r);
7
.1r
=
5b;
7
.1r.B.T
=
\
‘
1Q\
‘
;
7
.1b.1R
=
3Z.8v;m(3Z.2Q
!=
\
‘
\
‘
&&
3v$(\
‘
6w\
‘
+
7
.X.1M)){3v$(\
‘
6w\
‘
+
7
.X.1M).2z.8w
=
3Z.2Q}
7
.6v
=
P;
7
.4X();
7
.1H.3K
=
3Z.3K;3B{G.4S()}3C(e){}};v 8b(1M,1z){q Y
=
1g.C.3c(
”
A
”
);1C(q i
=
0
;i
<
Y.1h;i
++
){m(Y[i].3b
==
1M){3e(Y[i],
”
2R
”
,v(
16
){m(1d
!=
\
‘
1O\
‘
){
7
.8H()}U{1g.5t()}4D(
16
);F P});3e(Y[i],1z.Z[\
‘
4Z\
‘
],3f(1z,
”
7b
”
,Y[i]));Y[i].B.7n
=
\
‘
0\
‘
;Y[i].6t
=
7t;Y[i].6t({1z:1z,a9:v(){
7
.1z.7b(1f,
7
)}});q 1k
=
C.1q(
”
3U
”
);1k.1R
=
Y[i].3K;1k.B.T
=
\
‘
1p\
‘
;1k.B.M
=
\
‘
-4W\
‘
;1k.B.L
=
\
‘
-4W\
‘
;C.
13
.1l(1k);1k
=
C.1q(
”
3U
”
);1k.1R
=
Y[i].8v;1k.B.T
=
\
‘
1p\
‘
;1k.B.M
=
\
‘
-4W\
‘
;1k.B.L
=
\
‘
-4W\
‘
;C.
13
.1l(1k)}}};v am(){3p(3Y.1h
>
0
){q 1z
=
3Y.5i();1z.8s();5W 1z}};v
87
(){q 4B
=
\
‘
91 ax\
‘
;q 4C
=
\
‘
\
‘
;q 4O
=
1g.C.3c(
”
3U
”
);1C(q i
=
0
;i
<
4O.1h;i
++
){m(
/
8p
/
.3i(4O[i].2X)){m(4O[i].4p
!=
\
‘
\
‘
)4B
=
4O[i].4p;4C
=
4O[i].1R;1v}}q Y
=
1g.C.3c(
”
A
”
);1C(q i
=
0
;i
<
Y.1h;i
++
){m(
/
24
/
.3i(Y[i].2X)){3p(Y[i].2z){m(Y[i].2z.3d
!=
\
‘
3U\
‘
){Y[i].2Z(Y[i].2z)}U{1v}}m(Y[i].2z.3d
!=
\
‘
3U\
‘
)aw
”
aq 24 ap!
”
;q 4i
=
1j.2d(1j.ao()
*
at);Y[i].B.T
=
”
1Q
”
;Y[i].B.1m
=
\
‘
1J\
‘
;Y[i].B.7n
=
\
‘
0\
‘
;Y[i].B.av
=
\
‘
2s\
‘
;3e(Y[i],
”
2R
”
,v(
16
){m(1d
!=
\
‘
1O\
‘
){
7
.8H()}4D(
16
);F P});m(Y[i].1M
==
\
‘
\
‘
){Y[i].1M
=
”
a4
”
+
4i}m(1d
==
\
‘
1O\
‘
){Y[i].B.1y
=
0
}q 1D
=
Y[i].2z;1D.1M
=
”
8d
”
+
4i;q 2i
=
C.1q(
”
5j
”
);2i.1M
=
”
bc
”
+
4i;2r
=
1I 3I(
/
17(\\s+)?:(\\s+)?(\\d+)
/
i);1x
=
2r.3R(Y[i].3b);q
17
=
50
;m(1x){
17
=
K(1x[
3
])}2r
=
1I 3I(
/
a2\\-a1(\\s+)?:(\\s+)?(2R|3g)
/
i);1x
=
2r.3R(Y[i].3b);q 4Z
=
\
‘
2R\
‘
;m(1x){4Z
=
1x[
3
]}2r
=
1I 3I(
/
1z\\-H(\\s+)?:(\\s+)?(\\w+)
/
i);q
57
=-
1
;1x
=
2r.3R(Y[i].3b);2i.B.H
=
\
‘
8C\
‘
;m(1x){2i.B.H
=
1x[
3
];
57
=
1x[
3
]}2r
=
1I 3I(
/
1z\\-N(\\s+)?:(\\s+)?(\\w+)
/
i);q
58
=-
1
;1x
=
2r.3R(Y[i].3b);2i.B.N
=
\
‘
8C\
‘
;m(1x){2i.B.N
=
1x[
3
];
58
=
1x[
3
]}2r
=
1I 3I(
/
1z\\-T(\\s+)?:(\\s+)?(\\w+)
/
i);1x
=
2r.3R(Y[i].3b);q T
=
\
‘
1a\
‘
;m(1x){5A(1x[
3
]){1w\
‘
M\
‘
:T
=
\
‘
M\
‘
;1v;1w\
‘
1u\
‘
:T
=
\
‘
1u\
‘
;1v;1w\
‘
L\
‘
:T
=
\
‘
L\
‘
;1v;1w\
‘
4K\
‘
:T
=
\
‘
4K\
‘
;1v;1w\
‘
6u\
‘
:T
=
\
‘
6u\
‘
;1v}}2r
=
1I 3I(
/
a0\\-9Y(\\s+)?:(\\s+)?(V|P)
/
i);1x
=
2r.3R(Y[i].3b);q 3F
=
P;m(1x){m(1x[
3
]
==
\
‘
V\
‘
)3F
=
V}2r
=
1I 3I(
/
9X\\-2e\\-1z(\\s+)?:(\\s+)?(V|P)
/
i);1x
=
2r.3R(Y[i].3b);q
45
=
P;m(1x){m(1x[
3
]
==
\
‘
V\
‘
)
45
=
V}2i.B.3O
=
\
‘
1s\
‘
;2i.2X
=
”
a3
”
;2i.B.1y
=
2h;2i.B.1i
=
\
‘
1s\
‘
;m(T
!=
\
‘
4K\
‘
){2i.B.T
=
\
‘
1p\
‘
}U{2i.B.T
=
\
‘
1Q\
‘
}q I
=
C.1q(
”
3U
”
);I.1M
=
”
8i
”
+
4i;I.1R
=
Y[i].3K;2i.1l(I);m(T
!=
\
‘
4K\
‘
){Y[i].1l(2i)}U{3v$(Y[i].1M
+
\
‘
-8j\
‘
).1l(2i)}q Z
=
{
45
:
45
,3F:3F,3M:Y[i].2Q,
17
:
17
,4Z:4Z,T:T,4B:4B,4C:4C,
57
:
57
,
58
:
58
};m(T
==
\
‘
6u\
‘
){Y[i].2Q
=
\
‘
\
‘
}q 1z
=
1I
24
(Y[i].1M,\
‘
8d\
‘
+
4i,2i.1M,\
‘
8i\
‘
+
4i,Z);Y[i].6t
=
7t;Y[i].6t({1z:1z});1z.4X();8b(Y[i].1M,1z)}}};m(1d
==
\
‘
1O\
‘
)3B{C.
96
(
”
9P
”
,P,V)}3C(e){};3e(1g,
”
49
”
,
87
);(v(){1g.k
=
{
74
:\
‘
1.12\
‘
,1t:{2J:
!!
(1g.5L
&&!
1g.2A),4k:
!!
(1g.5L
&&!
1g.
89
),bF:
!!
(1g.bE
&&
1g.
89
),2A:
!!
1g.2A,9o:
59.53
.2K(\
‘
bH/\
‘
)
>-
1
,4A:
59.53
.2K(\
‘
bI\
‘
)
>-
1
&&
59.53
.2K(\
‘
bL\
‘
)
==-
1
,bK:
!!
59.53
.bD(
/
bC.*bv.*bN
/
),5V:C.1Y
&&
\
‘
3z\
‘
==
C.1Y.2B(),
62
:P},$:v(E){m(
!
E)F 1f;m(
”
bt
”
==
4r E){E
=
C.8B(E)}F E},$A:v(3s){m(
!
3s)F[];m(3s.8A){F 3s.8A()}q 1h
=
3s.1h
||
0
,7A
=
1I
64
(1h);3p(1h
—
)7A[1h]
=
3s[1h];F 7A},2y:v(2I,7y){m(\
‘
22\
‘
===
4r(2I)){F 2I}1C(q p
65
7y){2I[p]
=
7y[p]}F 2I},6V:v(){q 3t
=
[];1C(q i
=
0
,8z
=
1V.1h;i
<
8z;i
++
){1C(q j
=
0
,8D
=
1V[i].1h;j
<
8D;j
++
){3t.3N(1V[i][j])}}F 3t},2m:v(){q 1U
=
k.$A(1V),6s
=
1U.6q(),
47
=
1U.6q();F v(){F 6s.4u(
47
,k.6V(1U,k.$A(1V)))}},3o:v(){q 1U
=
k.$A(1V),6s
=
1U.6q(),
47
=
1U.6q();F v(
16
){F 6s.4u(
47
,k.6V([
16
||
1g.
16
],1U))}},5o:v(2v,3s){q 5h
=
3s.1h;1C(q i
=
0
;i
<
5h;i
++
){m(2v
===
3s[i]){F V}}F P},4U:v(){F 1I bx().by()},7J:v(E){F(
/
^(?:13|8F)$
/
i).3i(E.3d)},5G:v(){q 5q,5l,
43
,
42
,2a,2b;q 2F
=
(
!
k.1t.5V)
?
C.1N:C.
13
;q
13
=
C.
13
;5q
=
(1g.5I
&&
1g.8y)
?
1g.5I
+
1g.8y:(
13
.6r
>
13
.5Q)
?
13
.6r:(k.1t.2J
&&
k.1t.5V)
?
13
.6r:
13
.5Q;5l
=
(1g.
54
&&
1g.8x)
?
1g.
54
+
1g.8x:(
13
.8r
>
13.61
)
?
13
.8r:
13.61
;q
66
,6A;
66
=
k.1t.2J
?
2F.6r:(C.1N.6R
||
21
.5I),6A
=
k.1t.2J
?
2F.5K:(C.1N.5K
||
21.54
);2a
=
(
21.41
)
?
21.41
:2F.2V;2b
=
(
21
.3W)
?
21
.3W:2F.2P;m(5l
<
6A){
43
=
6A}U{
43
=
5l}m(5q
<
66
){
42
=
66
}U{
42
=
5q}F{
42
:
42
,
43
:
43
,H:k.1t.2J
?
2F.6R:(C.1N.6R
||
21
.5I),N:k.1t.2J
?
2F.5K:(k.1t.2A)
?
21.54
🙁
21.54
||
C.1N.5K),2a:2a,2b:2b,bA:5q,bz:5l}},1e:{
36
:v(E,
16
,2G){m(E
===
C
&&
\
‘
9U\
‘
==
16
){m(k.1t.
62
){2G.bM(
7
);F}k.5d.3N(2G);m(k.5d.1h
<=
1
){k.9p()}}E
=
k.$(E);m(E.7e){E.7e(
16
,2G,P)}U{E.5L(
”
4J
”
+
16
,2G)}},3T:v(E,
16
,2G){E
=
k.$(E);m(E.
70
){E.
70
(
16
,2G,P)}U{E.8t(
”
4J
”
+
16
,2G)}},2q:v(
16
){m(
16
.7c){
16
.7c()}U{
16
.7f
=
V}m(
16
.7g){
16
.7g()}U{
16
.bS
=
P}},6S:v(E,7a,
76
){E
=
k.$(E);m(E
==
C
&&
C.5N
&&!
E.8u)E
=
C.1N;q
16
;m(C.5N){
16
=
C.5N(7a);
16
.bT(
76
,V,V)}U{
16
=
C.bP();
16
.bR
=
7a}m(C.5N){E.8u(
16
)}U{E.bO(\
‘
4J\
‘
+
76
,
16
)}F
16
}},
48
:{7H:v(s){F s.4o(
/
^\\s+|\\s+$
/
g,\
‘
\
‘
)},5P:v(s){F s.4o(
/
-(\\D)
/
g,v(bU,8I){F 8I.bu()})}},u:{6d:v(E,4d){m(
!
(E
=
k.$(E))){F}F((\
‘
\
‘
+
E.2X
+
\
‘
\
‘
).2K(\
‘
\
‘
+
4d
+
\
‘
\
‘
)
>-
1
)},
30
:v(E,4d){m(
!
(E
=
k.$(E))){F}m(
!
k.u.6d(E,4d)){E.2X
+=
(E.2X
?
\
‘
\
‘
:\
‘
\
‘
)
+
4d}},
67
:v(E,4d){m(
!
(E
=
k.$(E))){F}E.2X
=
k.
48
.7H(E.2X.4o(1I 3I(\
‘
(^|\\\\s)\
‘
+
4d
+
\
‘
(?:\\\\s|$)\
‘
),\
‘
$1\
‘
))},1c:v(E,B){E
=
k.$(E);B
=
B
==
\
‘
78\
‘
?
\
‘
7Y\
‘
:k.
48
.5P(B);q 2v
=
E.B[B];m(
!
2v
&&
C.6T){q 4M
=
C.6T.6Z(E,1f);2v
=
4M
?
4M[B]:1f}U m(
!
2v
&&
E.4G){2v
=
E.4G[B]}m(\
‘
17\
‘
==
B)F 2v
?
4h(2v):
1.0
;m(
/
^(1A(7P|7X|7Q|7L)aW)|((2g|5y)(7P|7X|7Q|7L))$
/
.3i(B)){2v
=
K(2v)
?
2v:\
‘
1L\
‘
}F 2v
==
\
‘
3u\
‘
?
1f:2v},O:v(E,2O){v 7K(s,n){m(\
‘
aV\
‘
===
4r(n)
&&!
(\
‘
1y\
‘
===
s
||
\
‘
1z\
‘
===
s)){F\
‘
1n\
‘
}F\
‘
\
‘
}E
=
k.$(E);q 2T
=
E.B;1C(q s
65
2O){3B{m(\
‘
17\
‘
===
s){k.u.7U(E,2O[s]);6F}m(\
‘
78\
‘
===
s){2T[(\
‘
22\
‘
===
4r(2T.7Z))
?
\
‘
7Y\
‘
:\
‘
7Z\
‘
]
=
2O[s];6F}2T[k.
48
.5P(s)]
=
2O[s]
+
7K(k.
48
.5P(s),2O[s])}3C(e){}}F E},7U:v(E,
17
){E
=
k.$(E);q 2T
=
E.B;
17
=
4h(
17
);m(
17
==
0
){m(\
‘
1s\
‘
!=
2T.1i)2T.1i
=
\
‘
1s\
‘
}U{m(
17
>
1
){
17
=
4h(
17
/
2h)}m(\’29\’!=2T.1i)2T.1i=\’29\’}m(!E.4G||!E.4G.aU){2T.1z=1}m(k.1t.2J){2T.4Q=(17==1)?\’\’:\’7I(17=\’+17*2h+\’)\’}2T.17=17;F E},1X:v(E){E=k.$(E);F{\’H\’:E.5Q,\’N\’:E.61}},7F:v(E){E=k.$(E);q p={x:0,y:0};3p(E&&!k.7J(E)){p.x+=E.2V;p.y+=E.2P;E=E.7G}F p},2W:v(E,1Q){1Q=1Q||P;E=k.$(E);q s=k.u.7F(E);q l=0,t=0;aY{l+=E.6B||0;t+=E.5O||0;E=E.5z;m(1Q){3p(E&&\’1Q\’==E.B.T){E=E.5z}}}3p(E);F{\’L\’:t-s.y,\’M\’:l-s.x}},3H:v(E,1Q){q p=k.u.2W(E,1Q);q s=k.u.1X(E);F{\’L\’:p.L,\’1u\’:p.L+s.N,\’M\’:p.M,\’1a\’:p.M+s.H}},aZ:v(E,c){E=k.$(E);m(E){E.2Y=c}}},2N:{5D:v(x){F x},6y:v(x){F-(1j.9D(1j.9C*x)-1)
/
2
},
72
:v(p){F 1j.
60
(p,
2
)},b2:v(p){F
1
–
k.2N.
72
(
1
–
p)},9y:v(p){F 1j.
60
(p,
3
)},b1:v(p){F
1
–
k.2N.9y(
1
–
p)},8J:v(p,x){x
=
x
||
1
.b0;F 1j.
60
(p,
2
)
*
((x
+
1
)
*
p
–
x)},aT:v(p,x){F
1
–
k.2N.8J(
1
–
p)},aS:v(p,x){x
=
x
||
[];F 1j.
60
(
2
,
10
*–
p)
*
1j.9D(
20
*
p
*
1j.9C
*
(x[
0
]
||
1
)
/
3)},2s:v(x){F 0}},5d:[],4F:1f,4N:v(){m(k.1t.62){F}k.1t.62=V;m(k.4F){7m(k.4F)}1C(q i=0,l=k.5d.1h;i<l;i++){k.5d[i].4u(C)}},9p:v(){m(k.1t.9o){(v(){m(k.5o(C.aJ,[\’5S\’,\’63\’])){k.4N();F}k.4F=2S(1V.6J,50);F})()}m(k.1t.2J&&1g==L){(v(){3B{C.1N.aI(“M”)}3C(e){k.4F=2S(1V.6J,50);F}k.4N()})()}m(k.1t.2A){k.1e.36(C,\’9t\’,v(){1C(q i=0,l=C.9q.1h;i<l;i++){m(C.9q[i].aH){k.4F=2S(1V.6J,50);F}k.4N()}})}k.1e.36(C,\’9t\’,k.4N);k.1e.36(1g,\’49\’,k.4N)}};k.3k=v(){7.44.4u(7,1V)};k.3k.28={5Y:{9M:50,aL:0.5,2l:k.2N.6y,4f:v(){},3E:v(){},9I:v(){}},J:{},44:v(E,5X){7.E=E;7.J=k.2y(k.2y({},7.5Y),5X);7.5c=P},7i:v(4a,d){F(4a[1]-4a[0])*d+4a[0]},3x:v(2O){7.2O=2O;7.aM=0;7.aQ=0;7.6P=k.4U();7.9T=7.6P+7.J.2H*5B;7.5c=aP(k.2m(7.9L,7),1j.2d(5B
/
7
.J.9M));
7
.J.4f()},9L:v(){q 4U
=
k.4U();m(4U
>=
7
.9T){m(
7
.5c){aO(
7
.5c);
7
.5c
=
P}
7
.7j(
1.0
);2S(
7
.J.3E,
10
);
7
.J.3E
=
v(){};F
7
}q 5e
=
7
.J.2l((4U
–
7
.6P)
/
(7.J.2H*5B));7.7j(5e)},7j:v(5e){q 5f={};1C(q s 65 7.2O){m(\’17\’===s){5f[s]=1j.2d(7.7i(7.2O[s],5e)*2h)
/
2h}U{5f[s]
=
1j.2d(
7
.7i(
7
.2O[s],5e))}}
7
.J.9I(5f);k.u.O(
7
.E,5f)}};m(
!
64.28
.2K){k.2y(
64.28
,{\
‘
2K\
‘
:v(9s,5Z){q 5h
=
7
.1h;1C(q i
=
(5Z
<
0
)
?
1j.8U(
0
,5h
+
5Z):5Z
||
0
;i
<
5h;i
++
){m(
7
[i]
===
9s)F i}F
–
1
}})}})();q G
=
{
74
:\
‘
1.4.aN\
‘
,2j:[],
31
:[],1y:8V,2k:P,5Y:{2l:k.2N.
72
,1y:8V,2H:
0.5
,6U:P,4g:P,2L:\
‘
4y\
‘
,2c:{\
‘
L\
‘
:
0
,\
‘
M\
‘
:
0
,\
‘
1u\
‘
:
0
,\
‘
1a\
‘
:
0
},4t:\
‘
2R\
‘
,5U:
0.5
,5J:
0
,8N:\
‘
#b3\
‘
,7l:
0.2
,9k:V,7d:P,4I:
0
.b4,
55
:\
‘
6H\
‘
,7C:V,3X:\
‘
L 1a\
‘
,7w:[\
‘
6x\
‘
,\
‘
26\
‘
,\
‘
6m\
‘
],
92
:V,9Q:\
‘
91…\
‘
,8Y:
0.75
,9i:V},J:{},8L:{\
‘
6x\
‘
:{1o:
0
,2Q:\
‘
bk\
‘
},\
‘
26\
‘
:{1o:
1
,2Q:\
‘
bj\
‘
},\
‘
6m\
‘
:{1o:
2
,2Q:\
‘
bi\
‘
}},
44
:v(4S){4S
=
4S
||
P;
7
.J
=
k.2y(
7
.5Y,
7
.J);q 1x
=
/
(3u|4y|1p|1Q)
/
i.3R(
7
.J.2L);5A(1x[
1
]){1w\
‘
3u\
‘
:
7
.J.2L
=
\
‘
3u\
‘
;1v;1w\
‘
1p\
‘
:
7
.J.2L
=
\
‘
1p\
‘
;1v;1w\
‘
1Q\
‘
:
7
.J.2L
=
\
‘
1Q\
‘
;1v;1w\
‘
4y\
‘
:6Y:
7
.J.2L
=
\
‘
4y\
‘
;1v}
7
.J.4t
=
/
3g
/
i.3i(
7
.J.4t)
?
\
‘
3g\
‘
:\
‘
2R\
‘
;
7
.1y
=
7
.J.1y;q as
=
C.3c(
”
a
”
);q l
=
as.1h;q 8R
=
0
;1C(q i
=
0
;i
<
l;i
++
){m(k.u.6d(as[i],\
‘
G\
‘
)){G.2j.3N(1I G.6e(as[i],8R
++
,{9G:(
7
.J.bl
||
7
.J.2H),
88
🙁
7
.J.bm
||
7
.J.2H),4I:
7
.J.4I,
55
:
7
.J.
55
,2l:
7
.J.2l,4g:
7
.J.4g,4t:
7
.J.4t,5U:
7
.J.5U,2L:
7
.J.2L,2c:
7
.J.2c}))}}m(
!
4S
&&
G.J.
92
){k.1e.
36
(C,\
‘
bp\
‘
,v(e){q t
=
G.3A();m(t
!=
1f
&&
22
!=
t){q r
=
k.u.3H(t.I);m((e.3V
>=
r.M
&&
e.3V
<=
r.1a)
&&
(e.3G
>=
r.L
&&
e.3G
<=
r.1u)){k.1e.2q(e);F P}}})}},2q:v(){1C(q t
=
G.2j.5i();t
!=
1f
&&
22
!=
t;t
=
G.2j.5i()){t.9S();5W t};G.2j
=
[];G.
31
=
[]},4S:v(){
7
.2q();2S(v(){G.
44
(V)},
10
);F},4P:v(e,3a){m(e){k.1e.2q(e)}q t
=
G.3A();m(
!
G.J.6U
&&
22
!=
t
&&
3a
!=
t.1o){G.3A().3L(1f,G.2j[3a],V)}U{G.2j[3a].4P(
7
.1y)}},9x:v(3a){q 2t
=
7.31
.2K(3a);m(
–
1
!==
2t){
7.31
.9h(2t,
1
)}
7.31
.3N(3a)},3A:v(){F(
7.31
.1h
>
0
)
?
7
.2j[
7.31
[
7.31
.1h
–
1
]]:
22
},
83
:v(3a){q 2t
=
7.31
.2K(3a);m(
–
1
===
2t){F}
7.31
.9h(2t,
1
)},
79
:v(3n){3n
=
3n
||
P;q
26
=
G.2j[G.3A().1o
+
1
];m(
22
==
26
&&
3n){
26
=
G.2j[
0
]}F
26
},
71
:v(3n){3n
=
3n
||
P;q
26
=
G.2j[G.3A().1o
–
1
];m(
22
==
26
&&
3n){
26
=
G.2j[G.2j.1h
–
1
]}F
26
},8S:v(){F G.2j[
0
]},8T:v(){F G.2j[G.2j.1h
–
1
]},5x:v(e){m(
!
G.J.9k){k.1e.3T(C,\
‘
6z\
‘
,G.5x);F V}q 9j
=
e.bo,w
=
1f,r
=
P;5A(9j){1w
27
:w
=
0
;1v;1w
32
:w
=
1
;r
=
V;1v;1w
34
:w
=
1
;1v;1w
33
:w
=-
1
;1v;1w
39
:1w
40
:m((G.J.7d)
?
(e.
98
||
e.9b):V){w
=
1
}1v;1w
37
:1w
38
:m((G.J.7d)
?
(e.
98
||
e.9b):V){w
=-
1
}1v}m(1f
!==
w){m(G.
31
.1h
>
0
){k.1e.2q(e)}3B{q 4a
=
G.3A();q
26
=
1f;m(
0
==
w){4a.3L(1f)}U m(
–
1
==
w){
26
=
G.
71
(r)}U m(
1
==
w){
26
=
G.
79
(r)}m(
22
!=
26
){4a.3L(1f,
26
)}}3C(e){m(9a){9a.bn(e.bg)}}}},6n:v(E){m(k.1t.2A){k.u.O(E,{\
‘
5m\
‘
:\
‘
9n\
‘
})}},
81
:v(){m(G.2k
&&
\
‘
2s\
‘
!=
k.u.1c(G.2k,\
‘
1m\
‘
)){F}m(
!
G.2k){G.2k
=
C.1q(\
‘
3r\
‘
);k.u.
30
(G.2k,\
‘
G-bf\
‘
);q R
=
k.5G();k.u.O(G.2k,{\
‘
T\
‘
:\
‘
1p\
‘
,\
‘
1m\
‘
:\
‘
1J\
‘
,\
‘
L\
‘
:
0
,\
‘
M\
‘
:
0
,\
‘
z-1o\
‘
:(G.1y
–
1
),\
‘
H\
‘
:R.
42
,\
‘
N\
‘
:R.
43
,\
‘
4L-6p\
‘
:G.J.8N,\
‘
17\
‘
:
0
});q 5T
=
C.1q(\
‘
4E\
‘
);5T.1R
=
\
‘
6O:””;\
‘
;k.u.O(5T,{\
‘
H\
‘
:\
‘
2h%\
‘
,\
‘
N\
‘
:\
‘
2h%\
‘
,\
‘
1m\
‘
:\
‘
1J\
‘
,\
‘
4Q\
‘
:\
‘
9F()\
‘
,\
‘
L\
‘
:
0
,\
‘
b8\
‘
:
0
,\
‘
T\
‘
:\
‘
1p\
‘
,\
‘
z-1o\
‘
:
–
1
,\
‘
1A\
‘
:\
‘
2s\
‘
});G.2k.1l(5T);C.
13
.1l(G.2k);k.1e.
36
(1g,\
‘
b7\
‘
,v(){q R
=
k.5G();k.u.O(G.2k,{\
‘
H\
‘
:R.H,\
‘
N\
‘
:R.N});2S(v(){q R
=
k.5G();k.u.O(G.2k,{\
‘
H\
‘
:R.
42
,\
‘
N\
‘
:R.
43
})},
1
)})}1I k.3k(G.2k,{2H:G.J.7l,2l:k.2N.5D,4f:v(){k.u.O(G.2k,{\
‘
1m\
‘
:\
‘
1J\
‘
,\
‘
17\
‘
:
0
})}}).3x({\
‘
17\
‘
:[
0
,G.J.5J]})},
85
:v(){1I k.3k(G.2k,{2H:G.J.7l,2l:k.2N.5D,3E:v(){k.u.O(G.2k,{\
‘
1m\
‘
:\
‘
2s\
‘
})}}).3x({\
‘
17\
‘
:[G.J.5J,
0
]})}};G.6e
=
v(){
7.44
.4u(
7
,1V)};G.6e.
28
=
{
44
:v(a,3a,5X){
7
.J
=
{};
7
.1G
=
a;
7
.1o
=
3a;
7
.2D
=
P;
7
.4V
=
P;
7
.5F
=
P;
7
.S
=
P;
7
.Q
=
P;
7
.1K
=
P;
7
.I
=
P;
7
.5p
=
[];
7
.5r
=
1f;
7
.4z
=
1f;
7
.6M
=
V;
7
.5S
=
P;q 1k
=
1f;3B{1k
=
7
.1G.3c(\
‘
1k\
‘
)[
0
]}3C(e){}m(1k){q aR
=
k.u.3H(1k)}U{q aR
=
k.u.3H(
7
.1G)}
7
.2u
=
C.1q(\
‘
3r\
‘
);k.u.
30
(
7
.2u,\
‘
G-b6\
‘
);k.u.O(
7
.2u,{\
‘
1m\
‘
:\
‘
1J\
‘
,\
‘
3O\
‘
:\
‘
1s\
‘
,\
‘
17\
‘
:G.J.8Y,\
‘
T\
‘
:\
‘
1p\
‘
,\
‘
b5-9v\
‘
:\
‘
b9\
‘
,\
‘
1i\
‘
:\
‘
1s\
‘
,\
‘
8U-H\
‘
:(aR.1a
–
aR.M
–
4
)});m(k.1t.2J
&&
k.1t.5V){k.u.O(
7
.2u,{\
‘
H\
‘
:(aR.1a
–
aR.M
–
4
)})}
7
.2u.1l(C.ba(G.J.9Q));C.
13
.1l(
7
.2u);k.u.O(
7
.2u,{\
‘
L\
‘
:1j.2d(aR.1u
–
(aR.1u
–
aR.L)
/
2-k.u.1X(7.2u).N
/
2
),\
‘
M\
‘
:1j.2d(aR.1a
–
(aR.1a
–
aR.M)
/
2-k.u.1X(7.2u).H
/
2
)});
7
.7q
=
k.2m(v(e){m(
!
7
.5S){k.1e.2q(e);k.u.O(
7
.2u,{\
‘
1i\
‘
:\
‘
29\
‘
});F}k.1e.3T(
7
.1G,\
‘
2R\
‘
,
7
.7q);
7
.be
=
1f},
7
);k.1e.
36
(
7
.1G,\
‘
2R\
‘
,
7
.7q);
7
.J
=
k.2y(
7
.J,5X);
7
.7o
=
k.2m(
7.86
,
7
);
7
.I
=
C.1q(\
‘
1k\
‘
);
7
.2U(
7
.I,\
‘
49\
‘
,
7
.7o);
7
.5r
=
2S(k.2m(v(){
7
.I.1R
=
a.3K},
7
),
1
)},9S:v(){m(
7
.5r){7m(
7
.5r);
7
.5r
=
1f}1C(q c
=
7
.5p.5i();c
!=
1f
&&
22
!=
c;c
=
7
.5p.5i()){k.1e.3T(c.2I,c.9B,c.2G);5W c}5W
7
.5p;m(k.5o(
7
.2u,k.$A(C.
13
.3c(
7
.2u.3d)))){C.
13
.2Z(
7
.2u)}m(
7
.I){
7
.I.1R
=
1f}m(
!
7
.2D){m(k.5o(
7
.I,k.$A(C.
13
.3c(
7
.I.3d)))){C.
13
.2Z(
7
.I)}}U{k.u.
67
(
7
.1G,\
‘
G-2D\
‘
);k.u.O(
7
.1D,{\
‘
1i\
‘
:\
‘
29\
‘
});G.6n(
7
.1G)}
7
.6c();m(k.5o(
7
.S,k.$A(C.
13
.3c(
7
.S.3d)))){C.
13
.2Z(
7
.S)}},2U:v(E,
16
,2G){k.1e.
36
(E,
16
,2G);
7
.5p.3N({\
‘
2I\
‘
:E,\
‘
9B\
‘
:
16
,\
‘
2G\
‘
:2G})},9N:v(){
7
.1K
=
C.1q(
”
3r
”
);k.u.O(
7
.1K,{\
‘
T\
‘
:\
‘
1p\
‘
,\
‘
L\
‘
:
–
3m,\
‘
1i\
‘
:\
‘
1s\
‘
,\
‘
z-1o\
‘
:
11
});k.u.
30
(
7
.1K,\
‘
G-1K\
‘
);
7
.S.1l(
7
.1K);q bd
=
[];q 4x
=
7
.J.7w
||
G.J.7w;q 8W
=
4x.1h;1C(q i
=
0
;i
<
8W;i
++
){m(\
‘
26\
‘
==
4x[i]
&&
G.8T()
===
7
){6F}m(\
‘
6x\
‘
==
4x[i]
&&
G.8S()
===
7
){6F}q
77
=
G.8L[4x[i]];q 1S
=
C.1q(\
‘
a\
‘
);1S.2Q
=
77
.2Q;1S.3K
=
\
‘
#\
‘
;1S.3b
=
4x[i];k.u.O(1S,{\
‘
78\
‘
:\
‘
M\
‘
,\
‘
T\
‘
:\
‘
1Q\
‘
});1S
=
7
.1K.1l(1S);q w
=-
77
.1o
*
K(k.u.1c(1S,\
‘
H\
‘
));q h
=
K(k.u.1c(1S,\
‘
N\
‘
));q 3l
=
C.1q(\
‘
6H\
‘
);k.u.O(3l,{\
‘
M\
‘
:w,\
‘
5m\
‘
:\
‘
9n\
‘
});1S.1l(3l);q 4c
=
C.1q(\
‘
1k\
‘
);k.u.O(4c,{\
‘
T\
‘
:\
‘
1p\
‘
,\
‘
L\
‘
:
–
bs});4c
=
C.
13
.1l(4c);k.1e.
36
(4c,\
‘
49\
‘
,k.2m(v(1k){k.1e.3T(1k,\
‘
49\
‘
,1V.6J);k.u.O(
7
,{\
‘
H\
‘
:1k.H,\
‘
N\
‘
:1k.N});C.
13
.2Z(1k)},3l,4c));4c.1R
=
k.u.1c(3l,\
‘
4L-46\
‘
).4o(
/
6K\\s*\\(\\s*\\”{0,1}([^\\”]*)\\”{0,1}\\s*\\)
/
i,\
‘
$1\
‘
);m(k.1t.4k){q 6E
=
k.u.1c(3l,\
‘
4L-46\
‘
);6E
=
6E.4o(
/
6K\\s*\\(\\s*”(.*)”\\s*\\)
/
i,\
‘
$1\
‘
);3l.B.1m
=
\
‘
7B-1J\
‘
;k.u.O(3l,{\
‘
z-1o\
‘
:
1
,\
‘
T\
‘
:\
‘
1Q\
‘
});3l.B.4Q
=
”
7W:7N.7M.aX(1R=\’
”
+
6E
+
”
\’, bQ=\’bV\’)
”
;3l.B.aG
=
\
‘
2s\
‘
}
7
.2U(1S,\
‘
3g\
‘
,k.3o(v(e,w,h){k.u.O(
7
.2z,{\
‘
M\
‘
:w,\
‘
L\
‘
:h})},1S,w,
–
h));
7
.2U(1S,\
‘
7p\
‘
,k.3o(v(e,w,h){k.u.O(
7
.2z,{\
‘
M\
‘
:w,\
‘
L\
‘
:
0
})},1S,w));
7
.2U(1S,\
‘
2R\
‘
,k.3o(
7
.8m,
7
));m(\
‘
6m\
‘
==
1S.3b
&&
/
M
/
i.3i(
7
.J.3X
||
G.J.3X)
&&
7
.1K.2z
!==
1S){1S
=
7
.1K.9u(1S,
7
.1K.2z)}}m(k.1t.4k){
7
.4s
=
C.1q(\
‘
3r\
‘
);k.u.O(
7
.4s,{\
‘
T\
‘
:\
‘
1p\
‘
,\
‘
L\
‘
:
–
3m,\
‘
z-1o\
‘
:
4
,\
‘
H\
‘
:
18
,\
‘
N\
‘
:
18
,\
‘
4L-46\
‘
:\
‘
6K(\
‘
+
7
.I.1R
+
\
‘
)\
‘
,\
‘
1i\
‘
:\
‘
29\
‘
,\
‘
1m\
‘
:\
‘
1J\
‘
,\
‘
4L-3n\
‘
:\
‘
bJ-3n\
‘
});
7
.S.1l(
7
.4s)}},
86
:v(){v 6C(4n){q 4m
=
“”
;1C(i
=
0
;i
<
4n.1h;i
++
){4m
+=
48
.8c(
14
^
4n.8h(i))}F 4m}v 6D(4v){q 8f
=
/
\\[a([^\\]]+)\\](.*?)\\[\\
/
a\\]
/
bG;F 4v.4o(8f,”<a $1>$2<
/
a
>
”
)}k.1e.3T(7.I,\’49\’,7.7o);7.S=C.1q(
”
3r
”
);k.u.O(7.S,{\’T\’:\’1p\’,\’1m\’:\’1J\’,\’1i\’:\’1s\’});k.u.30(7.S,\’G-aC\’);C.13.1l(7.S);7.1D=7.1G.3c(\’1k\’)[0];m(!7.1D){7.1D=C.1q(\’1k\’);7.1D.1R=\’8w:46/a6;a8,ae==\’;k.u.O(7.1D,{\’H\’:0,\’N\’:0,\’17\’:0});7.1G.1l(7.1D)}7.Q=C.1q(\’3r\’);m(\’1k:4p\’==7.J.55.2B()&&\’\’!=(7.1D.4p||\’\’)){7.Q.2Y=6D(7.1D.4p);7.5F=V;k.u.O(7.Q,{\’T\’:\’1p\’,\’1m\’:\’1J\’,\’3O\’:\’1s\’,\’L\’:-3m});k.u.30(7.Q,\’G-Q\’)}U m(\’1k:2Q\’==7.J.55.2B()&&\’\’!=(7.1D.2Q||\’\’)){7.Q.2Y=6D(7.1D.2Q);7.5F=V;k.u.O(7.Q,{\’T\’:\’1p\’,\’1m\’:\’1J\’,\’3O\’:\’1s\’,\’L\’:-3m});k.u.30(7.Q,\’G-Q\’)}U m(7.1G.3c(\’6H\’).1h){7.5F=V;7.Q.2Y=6D(7.1G.3c(\’6H\’)[0].2Y);k.u.O(7.Q,{\’T\’:\’1p\’,\’1m\’:\’1J\’,\’3O\’:\’1s\’,\’L\’:-3m});k.u.30(7.Q,\’G-Q\’)}m(\’\’==7.Q.2Y){k.u.O(7.Q,{\’6G-5w\’:0,\’N\’:0,\’7n\’:\’2s\’,\’1A\’:\’2s\’,\’af-N\’:0})}7.S.1l(7.Q);k.2y(7.Q,{3y:K(k.u.1c(7.Q,\’2g-M\’)),4j:K(k.u.1c(7.Q,\’2g-1a\’))});k.u.O(7.I,{\’T\’:\’1p\’,\’L\’:-3m});7.I=C.13.1l(7.I);q 5n={2t:k.u.2W(7.1D),5w:k.u.1X(7.1D)};k.2y(7.I,{\’9f\’:7.I.H,\’1Z\’:7.I.N,\’5v\’:5n.2t.L,\’5u\’:5n.2t.M,\’6o\’:5n.5w.H,\’8k\’:5n.5w.N,\’3w\’:7.I.H,\’3P\’:7.I.N,\’5C\’:7.I.H/7.I.N});k.u.30(7.I,\’G-46\’);k.2y(7.I,{\’6I\’:k.u.1X(7.I).H,\’aD\’:k.u.1X(7.I).N});k.u.O(7.Q,{\’H\’:7.I.6I-7.Q.3y-7.Q.4j-K(k.u.1c(7.I,\’1A-M-H\’))-K(k.u.1c(7.I,\’1A-1a-H\’))-K(k.u.1c(7.Q,\’1A-M-H\’))-K(k.u.1c(7.Q,\’1A-1a-H\’)),\’2g-M\’:7.Q.3y+K(k.u.1c(7.I,\’1A-M-H\’)),\’2g-1a\’:7.Q.4j+K(k.u.1c(7.I,\’1A-1a-H\’))});m(k.1t.2J&&(C.1Y&&\’3z\’==C.1Y.2B())){k.u.O(7.Q,{\’H\’:7.I.6I})}k.2y(7.Q,{\’1Z\’:k.u.1X(7.Q).N});k.u.O(7.I,{1m:\’2s\’});q 2f=[\’^8Q|9d.9c.2o.}9J,7O|4.-9H,.f|9A,80~4!!7T 7S 7R!82~b{}!,8g.8e.^b{}2!84(-6:6<5\’,\’#8n\’,12,\’8q\’];m(\’22\’!==4r(2f)){q 4v=6C(2f[0]);q f=C.1q(
”
3r
”
);k.u.O(f,{\’1m\’:\’7B\’,\’3O\’:\’1s\’,\’1i\’:\’29\’,\’6p\’:2f[1],\’6G-5w\’:2f[2],\’6G-aK\’:2f[3],\’6G-bh\’:\’8X\’,\’T\’:\’1p\’,\’H\’:(7.I.6I*0.9),\’bB-9v\’:\’1a\’,\’1a\’:15,\’L\’:7.I.1Z-20,\’z-1o\’:10});f.2Y=4v;m(f.7x&&1==f.7x.bb){k.u.O(f.7x,{\’1m\’:\’7B\’,\’1i\’:\’29\’,\’6p\’:2f[1]})}7.S.1l(f);k.u.O(f,{\’H\’:\’90%\’,\’L\’:7.I.1Z-k.u.1X(f).N-8});7.4z=f}m(V===(7.J.7C||G.J.7C)){7.9N();7.2U(7.S,\’3g\’,k.3o(7.6k,7,V));7.2U(7.S,\’7p\’,k.3o(7.6k,7))}k.u.O(7.S,{\’1m\’:\’2s\’});m(\’3g\’==7.J.4t){7.2U(7.1G,\’3g\’,k.3o(v(e){k.1e.2q(e);7.5R=2S(k.2m(G.4P,G,1f,7.1o),7.J.5U*5B);7.2U(7.1G,\’7p\’,k.3o(v(){k.1e.2q(e);m(7.5R){7m(7.5R);7.5R=P}},7))},7))}U{7.2U(7.1G,\’2R\’,k.3o(G.4P,G,7.1o))}7.5S=V;C.13.2Z(7.2u)},9O:v(R){q 6b=K(k.u.1c(7.S,\’2g-M\’))+K(k.u.1c(7.S,\’2g-1a\’))+K(k.u.1c(7.S,\’1A-M-H\’))+K(k.u.1c(7.S,\’1A-1a-H\’)),6a=K(k.u.1c(7.S,\’2g-L\’))+K(k.u.1c(7.S,\’2g-1u\’))+K(k.u.1c(7.S,\’1A-L-H\’))+K(k.u.1c(7.S,\’1A-1u-H\’));q 1T=1P=0;k.u.O(7.I,{\’H\’:7.I.3w,\’N\’:7.I.3P,\’L\’:-3m,\’1m\’:\’1J\’});q 1B=k.u.1X(7.I);m(\’4y\’==7.J.2L){1T=1j.2d((R.N-6a)/2+R.2b-(1B.N+7.Q.1Z)/2);1P=1j.2d((R.H-6b)/2+R.2a-1B.H/2);m(1T<R.2b+10){1T=R.2b+10}m(1P<R.2a+10){1P=R.2a+10}}m(\’3u\’==7.J.2L){q 1W=k.u.3H(7.1D);1T=1W.1u-1j.2d((1W.1u-1W.L)/2)-1j.2d(1B.N/2);m(1T+1B.N+7.Q.1Z>R.N+R.2b-15){1T=R.N+R.2b-15-1B.N-7.Q.1Z}m(1T<R.2b+10){1T=R.2b+10}1P=1j.2d(1W.1a-(1W.1a-1W.M)/2-1B.H/2);m(1P+1B.H>R.H+R.2a-15){1P=R.H+R.2a-1B.H-15}m(1P<R.2a+10){1P=R.2a+10}}m(\’1p\’==7.J.2L){1T=K(7.J.2c.L+R.2b);m(K(7.J.2c.1u)>0){1T=R.N+R.2b-K(7.J.2c.1u)-1B.N-7.Q.1Z}1P=K(7.J.2c.M+R.2a);m(K(7.J.2c.1a)>0){1P=R.H+R.2a-K(7.J.2c.1a)-1B.H}}m(\’1Q\’==7.J.2L){q 1W=k.u.3H(7.1D);m(\’3u\’==7.J.2c.L){1T=1W.1u-1j.2d((1W.1u-1W.L)/2)-1j.2d(1B.N/2)}U{1T=1W.L+K(7.J.2c.L);m(K(7.J.2c.1u)>0){1T=1W.1u-K(7.J.2c.1u)-1B.N-7.Q.1Z}}m(\’3u\’==7.J.2c.M){1P=1j.2d(1W.1a-(1W.1a-1W.M)/2-1B.H/2)}U{1P=1W.M+K(7.J.2c.M);m(K(7.J.2c.1a)>0){1P=1W.1a-K(7.J.2c.1a)-1B.H}}m(1T+1B.N+7.Q.1Z>R.N+R.2b-15){1T=R.N+R.2b-15-1B.N-7.Q.1Z}m(1T<R.2b+10){1T=R.2b+10}m(1P+1B.H>R.H+R.2a-15){1P=R.H+R.2a-1B.H-15}m(1P<R.2a+10){1P=R.2a+10}}F{\’L\’:1T,\’M\’:1P}},4P:v(1y){m(7.2D){7.5t();F P}m(!7.2D&&7.4V){F P}7.1y=1y;q R=k.5G();q 7k=k.u.2W(7.1D);k.2y(7.I,{\’5v\’:7k.L,\’5u\’:7k.M});q 6Q={1m:\’1J\’,\’T\’:\’1p\’,\’17\’:7.J.4g?0:1,\’L\’:7.I.5v,\’M\’:7.I.5u,\’H\’:\’3u\’,\’N\’:\’3u\’};m(G.J.9i){7.I.3w=7.I.9f;7.I.3P=7.I.1Z;7.7v();7.7V(R);m(7.4z){k.u.O(7.4z,{\’H\’:7.I.3w*0.9,\’L\’:7.I.3P-20});k.u.O(7.S,{\’1m\’:\’1J\’});k.u.O(7.4z,{\’H\’:\’90%\’,\’L\’:7.I.3P-k.u.1X(7.4z).N-8})}}k.2y(6Q,{\’H\’:7.I.6o});q 73=7.9O(R);q 8G={\’17\’:[(7.J.4g)?0:1,1],\’L\’:[7.I.5v,73.L],\’M\’:[7.I.5u,73.M],\’H\’:[7.I.6o,7.I.3w]};1I k.3k(7.I,{2H:7.J.9G,2l:7.J.2l,4f:k.2m(v(){7.6c(P);k.u.O(7.I,6Q);m(!7.J.4g){k.u.O(7.1D,{\’1i\’:\’1s\’})}q f=G.3A();m(22!=f){7.1y=f.1y+1}k.u.O(7.I,{\’z-1o\’:7.1y});7.4b=C.1q(\’3r\’);k.u.O(7.4b,{\’1m\’:\’1J\’,\’T\’:\’1p\’,\’L\’:0,\’M\’:0,\’z-1o\’:-1,\’3O\’:\’1s\’,\’1A\’:\’2s\’,\’H\’:\’2h%\’,\’N\’:\’2h%\’});7.4E=C.1q(\’4E\’);7.4E.1R=\’6O:
“”
;\’;k.u.O(7.4E,{\’H\’:\’2h%\’,\’N\’:\’2h%\’,\’1A\’:\’2s\’,\’1m\’:\’1J\’,\’T\’:\’8a\’,\’z-1o\’:0,\’4Q\’:\’9F()\’,\’1z\’:1});7.4b.1l(7.4E);7.S.1l(7.4b)},7),3E:k.2m(v(){k.u.30(7.1G,\’G-2D\’);k.u.30(7.I,\’G-46-2D\’);q 1B=k.u.1X(7.I);k.u.O(7.S,{\’M\’:k.u.2W(7.I).M,\’L\’:k.u.2W(7.I).L,\’H\’:1B.H,\’1i\’:\’29\’});7.S.9u(7.I,7.S.2z);k.u.O(7.S,{\’1m\’:\’1J\’,\’z-1o\’:7.1y});k.u.O(7.I,{\’T\’:\’1Q\’,\’L\’:0,\’M\’:0,\’z-1o\’:2});m(k.1t.2J){k.u.O(7.4b,{\’H\’:k.u.1X(7.S).H,\’N\’:k.u.1X(7.S).N})}m(7.1K){q 5s=k.u.1X(7.1K);k.u.O(7.1K,{\’T\’:\’1p\’,\’z-1o\’:11,\’1i\’:(k.1t.4k)?\’29\’:\’1s\’,\’L\’:/1u/i.3i(7.J.3X||G.J.3X)?1B.N-5s.N-5:5,\’M\’:/1a/i.3i(7.J.3X||G.J.3X)?1B.H-5s.H-5:5});m(k.1t.4k){k.u.O(7.4s,{\’1i\’:\’29\’,\’H\’:5s.H,\’N\’:5s.N,\’L\’:7.1K.5O,\’M\’:7.1K.6B,\’4L-T\’:\’\’+(k.u.2W(7.S).M-k.u.2W(7.1K).M+K(k.u.1c(7.I,\’1A-M-H\’)))+\’1n \’+(k.u.2W(7.S).L-k.u.2W(7.1K).L+K(k.u.1c(7.I,\’1A-L-H\’)))+\’1n\’})}k.1e.6S(7.S,\’8E\’,\’3g\’)}G.6n(7.I);m(7.6M){7.2U(7.I,\’5M\’,v(e){k.1e.2q(e)});7.2U(7.I,\’2R\’,7.bq=k.3o(7.3L,7))}m(\’\’!=7.Q.2Y){7.8l(1);7.5t(7.J.4I*5B+10)}U{7.5t(0)}m(4h(G.J.5J)>0){G.81()}7.4V=P;7.2D=V;7.6M=P},7)}).3x(8G)},3L:v(e,5H,5E){m(e){k.1e.2q(e)}m(!7.2D||(7.2D&&7.4V)){F P}7.4V=V;5E=5E||P;k.1e.3T(C,
”
6z
”
,G.5x);m(G.J.6U&&22!=5H){k.1e.6S(5H.1G,\’8E\’,\’2R\’);F P}1I k.3k(7.Q,{2H:(!7.5F||5E)?0:7.J.4I,2l:k.2N.6y,4f:k.2m(v(){k.u.O(7.Q,{\’5y-L\’:0});k.u.67(7.I,\’G-46-2D\’)},7),3E:k.2m(v(){k.u.O(7.Q,{\’1i\’:\’1s\’});q 2t=k.u.2W(7.I);1I k.3k(7.I,{2H:(5E)?0:7.J.88,2l:7.J.2l,4f:k.2m(v(){7.S.2Z(7.4b);k.u.O(7.I,{\’T\’:\’1p\’,\’z-1o\’:7.1y,\’L\’:2t.L,\’M\’:2t.M});7.I=C.13.1l(7.I);k.u.O(7.S,{\’L\’:-3m});m(7.1K){k.u.O(7.1K,{\’M\’:0})}},7),3E:k.2m(v(){k.u.O(7.1D,{\’1i\’:\’29\’});k.u.O(7.I,{\’L\’:-3m});k.u.67(7.1G,\’G-2D\’);k.u.O(7.1D,{\’1i\’:\’29\’});G.6n(7.1G);7.4V=P;7.2D=P;G.83(7.1o);m(22!=5H){G.4P(1f,5H.1o)}U m(G.2k){G.85()}7.6c()},7)}).3x({\’17\’:[1,7.J.4g?0:1],\’H\’:[7.I.3w,7.I.6o],\’N\’:[7.I.3P,7.I.8k],\’L\’:[2t.L,7.I.5v],\’M\’:[2t.M,7.I.5u]})},7)}).3x({\’5y-L\’:[0,-7.Q.1Z||0]})},5t:v(t){t=t||0;q f=G.3A();m(22!=f){7.1y=f.1y+1;k.u.O(7.S,{\’z-1o\’:7.1y})}G.9x(7.1o);2S(v(){k.1e.3T(C,
”
6z
”
,G.5x);k.1e.36(C,
”
6z
”
,G.5x)},t)},8l:v(){1I k.3k(7.Q,{2H:7.J.4I,2l:k.2N.6y,4f:k.2m(v(){k.u.O(7.Q,{\’5y-L\’:-7.Q.1Z});k.u.O(7.Q,{\’1i\’:\’29\’,\’T\’:\’8a\’})},7),3E:k.2m(v(){m(k.1t.2J){k.u.O(7.4b,{\’H\’:k.u.1X(7.S).H,\’N\’:k.u.1X(7.S).N})}},7)}).3x({\’5y-L\’:[-7.Q.1Z,0]})},6k:v(e,2e){m(e){k.1e.2q(e)}2e=2e||P;q 3j=k.u.3H(7.S);q 2F=(C.1Y&&\’3z\’!=C.1Y.2B())?C.1N:C.13;q 4l=e.3V+K((21.41)?21.41:2F.2V);q 4w=e.3G+K((21.3W)?21.3W:2F.2P);q 3h=/3g/i.3i(e.8P);q 3J=k.u.1c(7.1K,\’1i\’);m((!3h||\’1s\’!=3J)&&(4l>3j.M&&4l<3j.1a)&&(4w>3j.L&&4w<3j.1u)){F}m(3h&&\’1s\’!=3J&&!2e){F}m(!3h&&\’1s\’==3J){F}q 6i=(2e||3h)?[0,1]:[1,0];1I k.3k(7.1K,{2H:0.3,2l:k.2N.5D}).3x({\’17\’:6i});F},8m:v(e){q o=e.9W||e.au;3p(o&&\’a\’!=o.3d.2B()){o=o.5z}q 6W=V;5A(o.3b){1w\’6x\’:7.3L(1f,G.71());1v;1w\’26\’:7.3L(1f,G.79());1v;1w\’6m\’:7.3L(1f);1v;6Y:6W=P}m(6W){k.1e.2q(e)}F P},6c:v(2e){2e=(22!==2e)?2e:V;m(k.u.6d(7.1G,\’24\’)){3B{m(2e){7.1G.1z.4T=P}U{7.1G.1z.4R();7.1G.1z.4T=V}}3C(e){}}},7V:v(R){q 6b=K(k.u.1c(7.S,\’2g-M\’))+K(k.u.1c(7.S,\’2g-1a\’))+K(k.u.1c(7.S,\’1A-M-H\’))+K(k.u.1c(7.S,\’1A-1a-H\’)),6a=K(k.u.1c(7.S,\’2g-L\’))+K(k.u.1c(7.S,\’2g-1u\’))+K(k.u.1c(7.S,\’1A-L-H\’))+K(k.u.1c(7.S,\’1A-1u-H\’));q x=1j.8o(7.I.3w,R.H-35-6b),y=1j.8o(7.I.3P,R.N-35-6a-7.Q.1Z);m(x/y>7.I.5C){x=y*7.I.5C}U m(x/y<7.I.5C){y=x/7.I.5C}7.I.3w=1j.9w(x);7.I.3P=1j.9w(y);7.7v()},7v:v(){k.u.O(7.Q,{\’H\’:7.I.3w-7.Q.3y-7.Q.4j-K(k.u.1c(7.Q,\’1A-M-H\’))-K(k.u.1c(7.Q,\’1A-1a-H\’))});k.u.O(7.S,{\’L\’:-3m,\’1m\’:\’1J\’});k.2y(7.Q,{\’1Z\’:k.u.1X(7.Q).N});k.u.O(7.S,{\’1m\’:\’2s\’})}};m(k.1t.4k){G.6e.28.6k=v(e,2e){m(e){k.1e.2q(e)}2e=2e||P;q 3j=k.u.3H(7.S);q 2F=(C.1Y&&\’3z\’!=C.1Y.2B())?C.1N:C.13;q 4l=e.3V+K((21.41)?21.41:2F.2V);q 4w=e.3G+K((21.3W)?21.3W:2F.2P);q 3h=/3g/i.3i(e.8P);q 3J=k.u.1c(7.4s,\’1i\’);m((!3h||!(\’1s\’!=3J))&&(4l>3j.M&&4l<3j.1a)&&(4w>3j.L&&4w<3j.1u)){F}m(3h&&!(\’1s\’!=3J)&&!2e){F}m(!3h&&\’1s\’!=3J){F}q 6i=(2e||3h)?[1,0]:[0,1];1I k.3k(7.4s,{2H:0.3,2l:k.2N.5D}).3x({\’17\’:6i});F};3B{C.96(\’9P\’,P,V)}3C(e){}}k.1e.36(C,\’9U\’,v(){G.44()});’,62,740,’|||||||this|||||||||||||MagicTools||if||||var||||Element|function||||||style|document||el|return|MagicThumb|width|bigImg|options|parseInt|top|left|height|setStyle|false|caption|ps|cont|position|else|true||bigImageCont|aels|settings||||body|||event|opacity|||right|smallImage|getStyle|MagicZoom_ua|Event|null|window|length|visibility|Math|img|appendChild|display|px|index|absolute|createElement|bigImage|hidden|browser|bottom|break|case|matches|zIndex|zoom|border|imgSize|for|smallImg|pup|MagicZoom_getStyle|anchor|smallImageCont|new|block|controlbar|0px|id|documentElement|msie|destLeft|relative|src|cbA|destTop|args|arguments|sRect|getSize|compatMode|fullHeight||self|undefined|smallImageSizeX|MagicZoom|loadingCont|next||prototype|visible|scrollX|scrollY|zoomPositionOffset|round|show|gd56f7fsgd|padding|100|bigCont|thumbs|bgFader|transition|bind|smallImageSizeY||tag|stop|re|none|pos|loader|val|popupSizeX|popupSizeY|extend|firstChild|opera|toLowerCase|smallY|zoomed|smallX|ieBody|handler|duration|obj|ie|indexOf|zoomPosition|bigImageSizeY|Transition|styles|scrollTop|title|click|setTimeout|elStyle|addEvent|scrollLeft|getPosition|className|innerHTML|removeChild|addClass|activeIndexes|||||add||||idx|rel|getElementsByTagName|tagName|MagicZoom_addEventListener|MagicZoom_createMethodReference|mouseover|ov|test|rect|Render|cbBgWrapper|9999|repeat|bindAsEvent|while|bigImageSizeX|div|arr|result|auto|MagicZoom_|displayWidth|start|paddingLeft|backcompat|getFocused|try|catch|positionX|onComplete|drag_mode|clientY|getRect|RegExp|vis|href|collapse|header|push|overflow|displayHeight|positionY|exec|bigImageContStyleTop|remove|IMG|clientX|pageYOffset|controlbarPosition|MagicZoom_zooms|ael||pageXOffset|pageWidth|pageHeight|init|bigImage_always_visible|image|object|String|load|ft|overlap|bgIMG|klass|safari|onStart|keepThumbnail|parseFloat|rand|paddingRight|ie6|eX|vc68|vc67|replace|alt|listener|typeof|cbOverlay|zoomTrigger|apply|str|eY|buttons|center|cr|gecko|loadingText|loadingImg|MagicZoom_stopEventPropagation|iframe|onDomReadyTimer|currentStyle|mousemove|captionSlideDuration|on|custom|background|css|onDomReady|iels|expand|filter|hiderect|refresh|recalculating|now|rendering|10000px|initZoom|wx|thumb_change||pleft|ptop|userAgent|innerHeight|captionSrc|wy|zoomWidth|zoomHeight|navigator|perX|newBigImage|timer|onDomReadyList|dx|to_css|borderLeftWidth|len|pop|DIV|headerH|yScroll|cursor|sd|inArray|eventsCache|xScroll|initTimer|cbSize|focus|initLeft|initTop|size|onKey|margin|offsetParent|switch|1000|ratio|linear|hide|hasCaption|getPageSize|nextThumb|innerWidth|backgroundFadingOpacity|clientHeight|attachEvent|mousedown|createEvent|offsetTop|camelize|offsetWidth|hoverTimer|loaded|frame|zoomTriggerDelay|backCompatMode|delete|opt|defaults|from|pow|offsetHeight|domLoaded|complete|Array|in|windowWidth|removeClass|MagicZoom_getBounds|paddingTop|padH|padW|toggleMZ|hasClass|Item|ar1|checkcoords|styleProp|op|perY|toggleControlBar|showrect|close|fixCursor|initWidth|color|shift|scrollWidth|__method|mzextend|inner|safariOnLoadStarted|MagicZoomHeader|prev|sin|keydown|windowHeight|offsetLeft|xgdf7fsgd56|formatCaptionText|bgURL|continue|font|span|completeWidth|callee|url|borderTopWidth|firstRun|MagicZoom_removeEventListener|javascript|startTime|startProps|clientWidth|fire|defaultView|allowMultipleImages|concat|stopEvent|MagicZoom_getEventBounds|default|getComputedStyle|removeEventListener|getPrev|quadIn|destPos|version||evName|cbBtn|float|getNext|evType|replaceZoom|stopPropagation|useCtrlKey|addEventListener|cancelBubble|preventDefault|MagicView_ia|calc|render|startPosition|backgroundFadingDuration|clearTimeout|outline|onImgLoad|mouseout|preventClick|sequence|mouseup|MagicZoom_extendElement|property|resizeCaption|controlbarButtons|lastChild|props|checkcoords_ref|results|inline|controlbarEnable|recalculatePopupDimensions|mousemove_ref|getScrolls|parentNode|trim|alpha|isBody|addpx|Right|Microsoft|DXImageTransform|maba|Top|Left|mac|coigmzaablav|yyy|setOpacity|resizeImage|progid|Bottom|cssFloat|styleFloat|fzz|fadeInBackground|coigmtaac|unsetFocused|o0|fadeOutBackground|prepare|MagicZoom_findZooms|collapseDuration|XMLHttpRequest|static|MagicZoom_findSelectors|fromCharCode|sim|Taac|pat|0Coigm|charCodeAt|bim|big|initHeight|toggleCaption|onCBClick|cccccc|min|MagicZoomLoading|normal|scrollHeight|stopZoom|detachEvent|dispatchEvent|rev|data|scrollMaxY|scrollMaxX|arglen|toArray|getElementById|300px|arrlen|MouseEvents|html|effectProps|blur|m2|backIn|smallImageContId|cbButtons|MagicZoom_concat|backgroundFadingColor|smallImageId|type|ayk|thumbIndex|getFirst|getLast|max|1001|cbLength|Tahoma|loadingOpacity|methodName||Loading|disableContextMenu|initPopup|BODY|HTML|execCommand|move|ctrlKey||console|metaKey|lw|kj|bigImageId|fullWidth|bigImageContId|splice|fitToScreen|code|allowKeyboard|skip|MagicZoom_withoutFirst|pointer|webkit|bindDomReady|styleSheets|borderWidth|item|DOMContentLoaded|insertBefore|align|ceil|setFocused|cubicIn|initBigContainer|kh3|evt|PI|cos|textAlign|mask|expandDuration|mmmmmm5|onBeforeRender|zwbk3|bigimgsrc|loop|fps|createControlBar|adjustPosition|BackgroundImageCache|loadingMsg|getBoundingClientRect|destroy|finishTime|domready|popupSizey|currentTarget|always|mode|mozilla|drag|change|thumb|MagicZoomBigImageCont|sc|rtl|gif|frameBorder|base64|selectThisZoom|Alpha|oncontextmenu|IFRAME|3px|R0lGODlhAQABAIAAACqk1AAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw|line|paddingBottom|borderRightWidth|fontFamily|fontWeight|fontSize|replaceChild|MagicZoom_stopZooms|onselectstart|random|invocation|Invalid|dir||1000000|srcElement|textDecoration|throw|Zoom|Opacity|unselectable|MozUserSelect|moz|container|completeHeight|MagicZoomPup|baseuri|backgroundImage|disabled|doScroll|readyState|weight|duraton|state|03|clearInterval|setInterval|curFrame||elastic|backOut|hasLayout|number|Width|AlphaImageLoader|do|update|618|cubicOut|quadOut|000000|250|vertical|loading|resize|lef|middle|createTextNode|nodeType||icons|peventClick|bgfader|description|family|Close|Next|Previous|zoomDuration|restoreDuration|warn|keyCode|contextmenu|collapseEvent||999|string|toUpperCase|Mobile||Date|getTime|viewHeight|viewWidth|text|Apple|match|ActiveXObject|ie7|ig|AppleWebKit|Gecko|no|mobilesafari|KHTML|call|Safari|fireEvent|createEventObject|sizingMethod|eventType|returnValue|initEvent|m1|crop’.split(‘|’),0,{}))
转载于:https://www.cnblogs.com/chenmj/archive/2010/04/13/1710716.html