From 8ec09785d1dc168a6f5158e0a28229a457d12db4 Mon Sep 17 00:00:00 2001 From: jssor Date: Wed, 15 Nov 2017 12:02:40 +0800 Subject: [PATCH] 26.5.2 fix thumbnail $Align option --- bower.json | 2 +- component.json | 2 +- js/jssor.slider.min.js | 2 +- package.json | 2 +- transitions/slideshow-transition-builder-controller.min.js | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bower.json b/bower.json index 4849ca0..622d967 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,7 @@ { "name": "jssor-slider", "description": "Responsive Javascript Image/Content Slider/Slideshow/Carousel/Gallery/Banner/HTML5 AD", - "version": "26.5.1", + "version": "26.5.2", "homepage": "https://www.jssor.com", "keywords": [ "javascript", diff --git a/component.json b/component.json index cf8209f..ae09b34 100644 --- a/component.json +++ b/component.json @@ -2,7 +2,7 @@ "name": "jssor-slider", "repo": "jssor/slider", "description": "Responsive Javascript Image/Content Slider/Slideshow/Carousel/Gallery/Banner/HTML5 AD", - "version": "26.5.1", + "version": "26.5.2", "homepage": "https://www.jssor.com", "keywords": [ "javascript", diff --git a/js/jssor.slider.min.js b/js/jssor.slider.min.js index 18415e1..f84b573 100644 --- a/js/jssor.slider.min.js +++ b/js/jssor.slider.min.js @@ -2,4 +2,4 @@ Jssor Slider (MIT license) */ /* eslint-disable */ -!function(j,h,c,g,d,k,e){new(function(){});var f=j.$Jease$={$Swing:function(a){return-c.cos(a*c.PI)/2+.5},$Linear:function(a){return a},$InQuad:function(a){return a*a},$OutQuad:function(a){return-a*(a-2)},$InOutQuad:function(a){return(a*=2)<1?1/2*a*a:-1/2*(--a*(a-2)-1)},$InCubic:function(a){return a*a*a},$OutCubic:function(a){return(a-=1)*a*a+1},$InOutCubic:function(a){return(a*=2)<1?1/2*a*a*a:1/2*((a-=2)*a*a+2)},$InQuart:function(a){return a*a*a*a},$OutQuart:function(a){return-((a-=1)*a*a*a-1)},$InOutQuart:function(a){return(a*=2)<1?1/2*a*a*a*a:-1/2*((a-=2)*a*a*a-2)},$InQuint:function(a){return a*a*a*a*a},$OutQuint:function(a){return(a-=1)*a*a*a*a+1},$InOutQuint:function(a){return(a*=2)<1?1/2*a*a*a*a*a:1/2*((a-=2)*a*a*a*a+2)},$InSine:function(a){return 1-c.cos(c.PI/2*a)},$OutSine:function(a){return c.sin(c.PI/2*a)},$InOutSine:function(a){return-1/2*(c.cos(c.PI*a)-1)},$InExpo:function(a){return a==0?0:c.pow(2,10*(a-1))},$OutExpo:function(a){return a==1?1:-c.pow(2,-10*a)+1},$InOutExpo:function(a){return a==0||a==1?a:(a*=2)<1?1/2*c.pow(2,10*(a-1)):1/2*(-c.pow(2,-10*--a)+2)},$InCirc:function(a){return-(c.sqrt(1-a*a)-1)},$OutCirc:function(a){return c.sqrt(1-(a-=1)*a)},$InOutCirc:function(a){return(a*=2)<1?-1/2*(c.sqrt(1-a*a)-1):1/2*(c.sqrt(1-(a-=2)*a)+1)},$InElastic:function(a){if(!a||a==1)return a;var b=.3,d=.075;return-(c.pow(2,10*(a-=1))*c.sin((a-d)*2*c.PI/b))},$OutElastic:function(a){if(!a||a==1)return a;var b=.3,d=.075;return c.pow(2,-10*a)*c.sin((a-d)*2*c.PI/b)+1},$InOutElastic:function(a){if(!a||a==1)return a;var b=.45,d=.1125;return(a*=2)<1?-.5*c.pow(2,10*(a-=1))*c.sin((a-d)*2*c.PI/b):c.pow(2,-10*(a-=1))*c.sin((a-d)*2*c.PI/b)*.5+1},$InBack:function(a){var b=1.70158;return a*a*((b+1)*a-b)},$OutBack:function(a){var b=1.70158;return(a-=1)*a*((b+1)*a+b)+1},$InOutBack:function(a){var b=1.70158;return(a*=2)<1?1/2*a*a*(((b*=1.525)+1)*a-b):1/2*((a-=2)*a*(((b*=1.525)+1)*a+b)+2)},$InBounce:function(a){return 1-f.$OutBounce(1-a)},$OutBounce:function(a){return a<1/2.75?7.5625*a*a:a<2/2.75?7.5625*(a-=1.5/2.75)*a+.75:a<2.5/2.75?7.5625*(a-=2.25/2.75)*a+.9375:7.5625*(a-=2.625/2.75)*a+.984375},$InOutBounce:function(a){return a<1/2?f.$InBounce(a*2)*.5:f.$OutBounce(a*2-1)*.5+.5},$GoBack:function(a){return 1-c.abs(2-1)},$InWave:function(a){return 1-c.cos(a*c.PI*2)},$OutWave:function(a){return c.sin(a*c.PI*2)},$OutJump:function(a){return 1-((a*=2)<1?(a=1-a)*a*a:(a-=1)*a*a)},$InJump:function(a){return(a*=2)<1?a*a*a:(a=2-a)*a*a},$Early:c.ceil,$Late:c.floor};var b=j.$Jssor$=new function(){var i=this,Ab=/\S+/g,N=1,jb=2,mb=3,lb=4,pb=5,O,t=0,l=0,u=0,A=0,B=0,E=navigator,ub=E.appName,o=E.userAgent,z=h.documentElement,q=parseFloat;function Ib(){if(!O){O={fe:"ontouchstart"in j||"createTouch"in h};var a;if(E.pointerEnabled||(a=E.msPointerEnabled))O.Vd=a?"msTouchAction":"touchAction"}return O}function w(g){if(!t){t=-1;if(ub=="Microsoft Internet Explorer"&&!!j.attachEvent&&!!j.ActiveXObject){var e=o.indexOf("MSIE");t=N;u=q(o.substring(e+5,o.indexOf(";",e)));/*@cc_on A=@_jscript_version@*/;l=h.documentMode||u}else if(ub=="Netscape"&&!!j.addEventListener){var d=o.indexOf("Firefox"),b=o.indexOf("Safari"),f=o.indexOf("Chrome"),c=o.indexOf("AppleWebKit");if(d>=0){t=jb;l=q(o.substring(d+8))}else if(b>=0){var i=o.substring(0,b).lastIndexOf("/");t=f>=0?lb:mb;l=q(o.substring(i+1,b))}else{var a=/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/i.exec(o);if(a){t=N;l=u=q(a[1])}}if(c>=0)B=q(o.substring(c+12))}else{var a=/(opera)(?:.*version|)[ \/]([\w.]+)/i.exec(o);if(a){t=pb;l=q(a[2])}}}return g==t}function r(){return w(N)}function ib(){return r()&&(l<6||h.compatMode=="BackCompat")}function Bb(){return w(jb)}function kb(){return w(mb)}function Eb(){return w(lb)}function ob(){return w(pb)}function eb(){return kb()&&B>534&&B<535}function I(){w();return B>537||l>42||t==N&&l>=11}function gb(){return r()&&l<9}function fb(a){var b,c;return function(g){if(!b){b=d;var f=a.substr(0,1).toUpperCase()+a.substr(1);n([a].concat(["WebKit","ms","Moz","O","webkit"]),function(h,d){var b=a;if(d)b=h+f;if(g.style[b]!=e)return c=b})}return c}}function db(b){var a;return function(c){a=a||fb(b)(c)||b;return a}}var P=db("transform");function tb(a){return{}.toString.call(a)}var qb={};n(["Boolean","Number","String","Function","Array","Date","RegExp","Object"],function(a){qb["[object "+a+"]"]=a.toLowerCase()});function n(b,d){var a,c;if(tb(b)=="[object Array]"){for(a=0;a-1;f--){var d=c[f],e=Y(i);y(e,y(d));b.$CssCssText(e,d.style.cssText);b.Mb(e,d);b.ac(d)}return a};function Gb(a){var l=this,p="",r=["av","pv","ds","dn"],d=[],q,k=0,g=0,f=0;function j(){K(a,q,(d[f||g&2||g]||"")+" "+(d[k]||""));b.$Css(a,"pointer-events",f?"none":"")}function c(){k=0;j();i.S(h,"mouseup",c);i.S(h,"touchend",c);i.S(h,"touchcancel",c)}function o(a){if(f)i.$CancelEvent(a);else{k=4;j();i.$AddEvent(h,"mouseup",c);i.$AddEvent(h,"touchend",c);i.$AddEvent(h,"touchcancel",c)}}l.yd=function(a){if(a===e)return g;g=a&2||a&1;j()};l.$Enable=function(a){if(a===e)return!f;f=a?0:3;j()};l.$Elmt=a=i.$GetElement(a);F(a,"data-jssor-button","1");var m=b.Jf(y(a));if(m)p=m.shift();n(r,function(a){d.push(p+a)});q=cb(" ",d);d.unshift("");i.$AddEvent(a,"mousedown",o);i.$AddEvent(a,"touchstart",o)}i.mc=function(a){return new Gb(a)};i.$Css=x;i.Jb=m("overflow");i.H=m("top",2);i.Bg=m("right",2);i.vg=m("bottom",2);i.J=m("left",2);i.$CssWidth=m("width",2);i.$CssHeight=m("height",2);i.gf=m("marginLeft",2);i.Xe=m("marginTop",2);i.Y=m("position");i.Nb=m("display");i.z=m("zIndex",1);i.xc=function(b,a,c){if(a!=e)Fb(b,a,c);else return Db(b)};i.$CssCssText=function(a,b){if(b!=e)a.style.cssText=b;else return a.style.cssText};i.Zf=function(b,a){if(a===e){a=x(b,"backgroundImage")||"";var c=/\burl\s*\(\s*["']?([^"'\r\n,]+)["']?\s*\)/gi.exec(a)||[];return c[1]}x(b,"backgroundImage",a?"url('"+a+"')":"")};var L;i.Yf=L={$Opacity:i.xc,$Top:i.H,$Right:i.Bg,$Bottom:i.vg,$Left:i.J,v:i.$CssWidth,u:i.$CssHeight,ab:i.Y,bc:i.Nb,$ZIndex:i.z};i.Wc=function(c,b){var a={};n(b,function(d,b){if(L[b])a[b]=L[b](c)});return a};function s(h,l){var f=gb(),b=I(),d=eb(),j=P(h);function k(b,d,a){var e=b.yb(p(-d/2,-a/2)),f=b.yb(p(d/2,-a/2)),g=b.yb(p(d/2,a/2)),h=b.yb(p(-d/2,a/2));b.yb(p(300,300));return p(c.min(e.x,f.x,g.x,h.x)+d/2,c.min(e.y,f.y,g.y,h.y)+a/2)}function a(d,a){a=a||{};var n=a.$TranslateZ||0,p=(a.$RotateX||0)%360,q=(a.$RotateY||0)%360,u=(a.$Rotate||0)%360,l=a.$ScaleX,m=a.$ScaleY,g=a.ih;if(l==e)l=1;if(m==e)m=1;if(g==e)g=1;if(f){n=0;p=0;q=0;g=0}var c=new Cb(a.$TranslateX,a.$TranslateY,n);c.$RotateX(p);c.$RotateY(q);c.Xf(u);c.Wf(a.$SkewX,a.$SkewY);c.$Scale(l,m,g);if(b){c.$Move(a.B,a.C);d.style[j]=c.hg()}else if(!A||A<9){var o="",h={x:0,y:0};if(a.$OriginalWidth)h=k(c,a.$OriginalWidth,a.$OriginalHeight);i.Xe(d,h.y);i.gf(d,h.x);o=c.kg();var s=d.style.filter,t=new RegExp(/[\s]*progid:DXImageTransform\.Microsoft\.Matrix\([^\)]*\)/g),r=D(s,[t],o);U(d,r)}}s=function(f,c){c=c||{};var j=c.B,k=c.C,h;n(L,function(a,b){h=c[b];h!==e&&a(f,h)});i.Mf(f,c.$Clip);if(!b){j!=e&&i.J(f,(c.wd||0)+j);k!=e&&i.H(f,(c.xd||0)+k)}if(c.gg)if(d)yb(i.$CreateCallback(g,R,f,c));else a(f,c)};i.kc=R;if(d)i.kc=s;if(f)i.kc=a;else if(!b)a=R;i.D=s;s(h,l)}i.kc=s;i.D=s;function Cb(j,k,o){var d=this,b=[1,0,0,0,0,1,0,0,0,0,1,0,j||0,k||0,o||0,1],i=c.sin,h=c.cos,l=c.tan;function f(a){return a*c.PI/180}function n(a,b){return{x:a,y:b}}function m(b,c,f,g,i,l,n,o,q,t,u,w,y,A,C,F,a,d,e,h,j,k,m,p,r,s,v,x,z,B,D,E){return[b*a+c*j+f*r+g*z,b*d+c*k+f*s+g*B,b*e+c*m+f*v+g*D,b*h+c*p+f*x+g*E,i*a+l*j+n*r+o*z,i*d+l*k+n*s+o*B,i*e+l*m+n*v+o*D,i*h+l*p+n*x+o*E,q*a+t*j+u*r+w*z,q*d+t*k+u*s+w*B,q*e+t*m+u*v+w*D,q*h+t*p+u*x+w*E,y*a+A*j+C*r+F*z,y*d+A*k+C*s+F*B,y*e+A*m+C*v+F*D,y*h+A*p+C*x+F*E]}function e(c,a){return m.apply(g,(a||b).concat(c))}d.$Scale=function(a,c,d){if(a!=1||c!=1||d!=1)b=e([a,0,0,0,0,c,0,0,0,0,d,0,0,0,0,1])};d.$Move=function(a,c,d){b[12]+=a||0;b[13]+=c||0;b[14]+=d||0};d.$RotateX=function(c){if(c){a=f(c);var d=h(a),g=i(a);b=e([1,0,0,0,0,d,g,0,0,-g,d,0,0,0,0,1])}};d.$RotateY=function(c){if(c){a=f(c);var d=h(a),g=i(a);b=e([d,0,-g,0,0,1,0,0,g,0,d,0,0,0,0,1])}};d.Xf=function(c){if(c){a=f(c);var d=h(a),g=i(a);b=e([d,g,0,0,-g,d,0,0,0,0,1,0,0,0,0,1])}};d.Wf=function(a,c){if(a||c){j=f(a);k=f(c);b=e([1,l(k),0,0,l(j),1,0,0,0,0,1,0,0,0,0,1])}};d.yb=function(c){var a=e(b,[1,0,0,0,0,1,0,0,0,0,1,0,c.x,c.y,0,1]);return n(a[12],a[13])};d.hg=function(){return"matrix3d("+b.join(",")+")"};d.kg=function(){return"progid:DXImageTransform.Microsoft.Matrix(M11="+b[0]+", M12="+b[4]+", M21="+b[1]+", M22="+b[5]+", SizingMethod='auto expand')"}}new(function(){var a=this;function b(d,g){for(var j=d[0].length,i=d.length,h=g[0].length,f=[],c=0;c=11&&(j.B||j.C)&&s!=0&&s!=1)a.$Rotate=a.$Rotate||1e-8;a.gg=d}}if(j.$Clip&&o.$Move){var p=a.$Clip.ic,v=(p.$Top||0)+(p.$Bottom||0),u=(p.$Left||0)+(p.$Right||0);a.$Left=(a.$Left||0)+u;a.$Top=(a.$Top||0)+v;a.$Clip.$Left-=u;a.$Clip.$Right-=u;a.$Clip.$Top-=v;a.$Clip.$Bottom-=v}if(a.$Clip&&!a.$Clip.$Top&&!a.$Clip.$Left&&!a.$Clip.C&&!a.$Clip.B&&a.$Clip.$Right==o.$OriginalWidth&&a.$Clip.$Bottom==o.$OriginalHeight)a.$Clip=g;return a}};function o(){var a=this,d=[];function h(a,b){d.push({Ec:a,Bc:b})}function g(a,c){b.$Each(d,function(b,e){b.Ec==a&&b.Bc===c&&d.splice(e,1)})}a.$On=a.addEventListener=h;a.$Off=a.removeEventListener=g;a.j=function(a){var c=[].slice.call(arguments,1);b.$Each(d,function(b){b.Ec==a&&b.Bc.apply(j,c)})}}var l=function(A,D,g,L,O,J){A=A||0;var a=this,p,m,n,t,B=0,H,I,G,C,z=0,h=0,l=0,y,i,e,f,o,x,v=[],w;function P(a){e+=a;f+=a;i+=a;h+=a;l+=a;z+=a}function s(p){var j=p;if(o)if(!x&&(j>=f||j=e)j=((j-e)%o+o)%o+e;if(!y||t||h!=j){var k=c.min(j,f);k=c.max(k,e);if(!y||t||k!=l){if(J){var m=(k-i)/(D||1);if(g.$Reverse)m=1-m;var n=b.Fd(O,J,m,H,G,I,g);if(w)b.$Each(n,function(b,a){w[a]&&w[a](L,b)});else b.D(L,n)}a.qc(l-i,k-i);var r=l,q=l=k;b.$Each(v,function(b,c){var a=!y&&x||j<=h?v[v.length-c-1]:b;a.M(l-z)});h=j;y=d;a.Qb(r,q)}}}function E(a,b,d){b&&a.$Shift(f);if(!d){e=c.min(e,a.Yb()+z);f=c.max(f,a.mb()+z)}v.push(a)}var u=j.requestAnimationFrame||j.webkitRequestAnimationFrame||j.mozRequestAnimationFrame||j.msRequestAnimationFrame;if(b.$IsBrowserSafari()&&b.$BrowserVersion()<7||!u)u=function(a){b.$Delay(a,g.$Interval)};function K(){if(p){var d=b.R(),e=c.min(d-B,g.Dd),a=h+e*n;B=d;if(a*n>=m*n)a=m;s(a);if(!t&&a*n>=m*n)M(C);else u(K)}}function r(g,i,j){if(!p){p=d;t=j;C=i;g=c.max(g,e);g=c.min(g,f);m=g;n=m=0&&c=0&&h=0&&c=0&&df||d>h){switch(e){case j:case m:a++;break;case k:case l:case o:case i:b++;break;case p:case n:default:a--}if(a<0||b<0||a>f||b>h){switch(e){case j:case m:a=f;b++;break;case o:case i:b=h;a++;break;case k:case l:b=h;a--;break;case p:case n:default:a=0;b++}if(b>h)b=h;else if(b<0)b=0;else if(a>f)a=f;else if(a<0)a=0}d=b;c=a}}return r};h.$FormationRectangle=function(f){var d=f.$Cols||1,e=f.$Rows||1,h=[],a,b,i;i=c.round(c.min(d/2,e/2))+1;for(a=0;a1||a.$Clip;if(a.$Zoom||a.$Rotate){var J=d;if(J){e.$Zoom=a.$Zoom?a.$Zoom-1:1;f.$Zoom=1;var N=a.$Rotate||0;e.$Rotate=N*360*(x?-1:1);f.$Rotate=0}}if(K){var i=t.ic={};if(a.$Clip){var w=a.$ScaleClip||1;if(C&&z){i.$Top=g.u/2*w;i.$Bottom=-i.$Top}else if(C)i.$Bottom=-g.u*w;else if(z)i.$Top=g.u*w;if(B&&A){i.$Left=g.v/2*w;i.$Right=-i.$Left}else if(B)i.$Right=-g.v*w;else if(A)i.$Left=g.v*w}r.$Clip=t;f.$Clip=g[v]}var L=o?1:-1,M=s?1:-1;if(a.x)e.B+=n*a.x*L;if(a.y)e.C+=l*a.y*M;b.$Each(e,function(a,c){if(b.fc(a))if(a!=f[c])r[c]=a-f[c]});u[v]=j?f:e;var D=a.rf,y=c.round(m*a.$Delay/a.$Interval);h[v]=new Array(y);h[v].yf=y;h[v].wf=y+D-1;for(var F=0;F<=D;F++){var E=b.Fd(f,r,F/D,a.$Easing,a.$During,a.$Round,{$Move:a.$Move,$OriginalWidth:n,$OriginalHeight:l});E.$ZIndex=E.$ZIndex||1;h[v].push(E)}})});o.reverse();b.$Each(o,function(a){b.$Each(a,function(c){var f=c[0],e=c[1],d=f+","+e,a=i;if(e||f)a=b.$CloneNode(i);b.D(a,u[d]);b.Jb(a,"hidden");b.Y(a,"absolute");z.Se(a);m[d]=a;b.A(a,!j)})})}function w(){var a=this,b=0;l.call(a,0,v);a.Qb=function(c,a){if(a-b>i){b=a;e&&e.pc(a);h&&h.pc(a)}};a.Kc=r}a.Oe=function(){var a=0,b=u.$Transitions,d=b.length;if(x)a=y++%d;else a=c.floor(c.random()*d);b[a]&&(b[a].sb=a);return b[a]};a.uf=function(x,y,k,l,b,t){a.wb();r=b;b=j(b,i,t);var g=l.Ld,f=k.Ld;g["no-image"]=!l.dc;f["no-image"]=!k.dc;var o=g,q=f,w=b,d=b.$Brother||j({},i,t);if(!b.$SlideOut){o=f;q=g}var u=d.$Shift||0;h=new n(m,q,d,c.max(u-d.$Interval,0),s,p);e=new n(m,o,w,c.max(d.$Interval-u,0),s,p);h.pc(0);e.pc(0);v=c.max(h.fd,e.fd);a.sb=x};a.wb=function(){m.wb();h=g;e=g};a.tf=function(){var a=g;if(e)a=new w;return a};if(z&&b.$WebKitVersion()<537)i=16;o.call(a);l.call(a,-1e7,1e7)};var p={ec:1};j.$JssorBulletNavigator$=function(a,E){var f=this;o.call(f);a=b.$GetElement(a);var u,C,B,t,l=0,e,q,j,y,z,i,h,s,r,D=[],A=[];function x(a){a!=-1&&A[a].yd(a==l)}function v(a){f.j(p.ec,a*q)}f.$Elmt=a;f.Lc=function(a){if(a!=t){var d=l,b=c.floor(a/q);l=b;t=a;x(d);x(b)}};f.Oc=function(c){b.A(a,c)};var w;f.Gc=function(x){if(!w){u=c.ceil(x/q);l=0;var n=s+y,o=r+z,m=c.ceil(u/j)-1;C=s+n*(!i?m:j-1);B=r+o*(i?m:j-1);b.$CssWidth(a,C);b.$CssHeight(a,B);for(var f=0;f=A)b-=x%e;l.j(p.ec,b,k,d)}}h.sb=f;h.Hd=o;j=n.Ae||n.dc||b.$CreateDiv();h.jc=c=b.Vc(u,"thumbnailtemplate",j,d);m=b.mc(c);a.$ActionMode&1&&b.$AddEvent(c,"click",b.$CreateCallback(g,i,0));a.$ActionMode&2&&b.$AddEvent(c,"mouseenter",b.$CreateCallback(g,i,1))}l.Lc=function(a,f,d){if(a!=s){var b=s;s=a;b!=-1&&y[b].Hd();y[a].Hd()}!d&&t.$PlayTo(t.Id(c.floor(a/e)))};l.Oc=function(a){b.A(f,a)};var C;l.Gc=function(F,G){if(!C){x=F;A=c.ceil(x/e);s=-1;var g=a.$Orientation&1;j=j||c.ceil((B+q)/(w+q)*g+(z+r)/(v+r)*(1-g));j=c.min(j,A);var u=w+(w+q)*(e-1)*(1-g),p=v+(v+r)*(e-1)*g,o=u+(u+q)*(j-1)*g,n=p+(p+r)*(j-1)*(1-g);o=c.min(B,o);n=c.min(z,n);b.Y(h,"absolute");b.Jb(h,"hidden");b.$CssWidth(h,o);b.$CssHeight(h,n);b.rc(h,3);var m=[];b.$Each(G,function(k,f){var i=new D(k,f),d=i.jc,a=c.floor(f/e),j=f%e;b.J(d,(w+q)*j*(1-g));b.H(d,(v+r)*j*g);if(!m[a]){m[a]=b.$CreateDiv();b.$AppendChild(h,m[a])}b.$AppendChild(m[a],d);y.push(i)});var E=b.s({$AutoPlay:0,$NaviQuitDrag:k,$SlideWidth:u,$SlideHeight:p,$SlideSpacing:q*g+r*(1-g),$MinDragOffsetToSlide:12,$SlideDuration:200,$PauseOnHover:1,$Cols:j,$PlayOrientation:a.$Orientation,$DragOrientation:a.$NoDrag||a.$DisableDrag?0:a.$Orientation},a);t=new i(f,E);l.Kf=t.Kf;C=d}};l.Vb=a=b.s({$SpacingX:0,$SpacingY:0,$Orientation:1,$ActionMode:1},E);B=b.$CssWidth(f);z=b.$CssHeight(f);h=b.$FindChild(f,"slides",d);u=b.$FindChild(h,"prototype");w=b.$CssWidth(u);v=b.$CssHeight(u);b.ac(u,h);e=a.$Rows||1;q=a.$SpacingX;r=a.$SpacingY;j=a.$Cols;a.$Scale==k&&n.W(f,m.Pb,1);a.$AutoCenter&=a.$Orientation;a.$AutoCenter&&n.W(f,m.rb,a.$AutoCenter);n.Ub(f)};function r(e,d,c){var a=this;l.call(a,0,c);a.id=b.Ud;a.gd=0;a.ed=c}j.$JssorCaptionSlideo$=function(t,k,B,E){var a=this,u,o={},v=k.$Transitions,r=k.$Controls,m=new l(0,0),p=[],h=[],D=E,e=D?1e8:0;l.call(a,0,0);function q(d,c){var a={};b.$Each(d,function(d,f){var e=o[f];if(e){if(b.rd(d))d=q(d,c||f=="e");else if(c)if(b.fc(d))d=u[d];a[e]=d}});return a}function s(d,e){var a=[],c=b.$Children(d);b.$Each(c,function(c){var d=v[b.U(c,"t")];d&&a.push({$Elmt:c,Kc:d});a=a.concat(s(c,e+1))});return a}function n(c,e){var a=p[c];if(a==g){a=p[c]={bb:c,wc:[],Sd:[]};var d=0;!b.$Each(h,function(a,b){d=b;return a.bb>c})&&d++;h.splice(d,0,a)}return a}function y(s,t,h){var a,f;if(r){var m=r[b.U(s,"c")];if(m){a=n(m.r,0);a.sf=m.e||0}}b.$Each(t,function(i){var g=b.s(d,{},q(i)),j=b.Dc(g.$Easing);delete g.$Easing;if(g.$Left){g.B=g.$Left;j.B=j.$Left;delete g.$Left}if(g.$Top){g.C=g.$Top;j.C=j.$Top;delete g.$Top}var o={$Easing:j,$OriginalWidth:h.v,$OriginalHeight:h.u},k=new l(i.b,i.d,o,s,h,g);e=c.max(e,i.b+i.d);if(a){if(!f)f=new l(i.b,0);f.O(k)}else{var m=n(i.b,i.b+i.d);m.wc.push(k)}h=b.ne(h,g)});if(a&&f){f.hf();var i=f,k,j=f.Yb(),o=f.mb(),p=c.max(o,a.sf);if(a.bbj){i=new l(j,a.bb-j);i.O(f,d)}else i=g;k=new l(a.bb,p-j,{Hc:p-a.bb,He:d});k.O(f,d)}i&&a.wc.push(i);k&&a.Sd.push(k)}return h}function x(a){b.$Each(a,function(f){var a=f.$Elmt,e=b.$CssWidth(a),d=b.$CssHeight(a),c={$Left:b.J(a),$Top:b.H(a),B:0,C:0,$Opacity:1,$ZIndex:b.z(a)||0,$Rotate:0,$RotateX:0,$RotateY:0,$ScaleX:1,$ScaleY:1,$TranslateX:0,$TranslateY:0,$TranslateZ:0,$SkewX:0,$SkewY:0,v:e,u:d,$Clip:{$Top:0,$Right:e,$Bottom:d,$Left:0}};c.wd=c.$Left;c.xd=c.$Top;y(a,f.Kc,c)})}function A(f,e,g){var c=f.b-e;if(c){var b=new l(e,c);b.O(m,d);b.$Shift(g);a.O(b)}a.td(f.d);return c}function z(e){var c=m.Yb(),d=0;b.$Each(e,function(e,f){e=b.s({d:3e3},e);A(e,c,d);c=e.b;d+=e.d;if(!f||e.t==2){a.gd=c;a.ed=c+e.d}})}function j(k,d,f){var g=d.length;if(g>4)for(var m=c.ceil(g/4),a=0;a0&&t<1){var v=c.min(q,p);l=c.min(l/v,1/(1-t))*v}}else s=r=l=c.pow(M1e-5){var f=c.floor(b);if(f!=b&&b>e&&(C&1||b>P))f++;jc(f,g,d)}a.j(i.$EVT_POSITION_CHANGE,g,t(e),b,e)}}function Jc(){var a=this;l.call(a,0,0,{Hc:q});b.$Each(B,function(b){C&1&&b.jf(q);a.Fc(b);b.$Shift(R/W)})}function Ic(){var a=this,b=Mb.$Elmt;l.call(a,-1,2,{$Easing:f.$Linear,Ke:{ab:oc},Hc:q},b,{ab:1},{ab:-2});a.jc=b}function Ac(o,m){var b=this,e,f,h,j,c;l.call(b,-1e8,2e8,{Dd:100});b.Ed=function(){bb=d;eb=g;a.j(i.$EVT_SWIPE_START,t(w.db()),w.db())};b.md=function(){bb=k;j=k;var b=w.og();a.j(i.$EVT_SWIPE_END,t(w.db()),w.db());if(!A){Mc(b.tg,s);(!b.ab||b.sg)&&jc(s,b.bc)}};b.Qb=function(g,d){var a;if(j)a=c;else{a=f;if(h){var b=d/h;a=n.$SlideEasing(b)*(f-e)+e}}w.M(a)};b.nc=function(a,d,c,g){e=a;f=d;h=c;w.M(a);b.M(0);b.od(c,g)};b.oe=function(a){j=d;c=a;b.$Play(a,g,d)};b.kf=function(a){c=a};w=new Kc;w.O(o);w.O(m)}function Bc(){var c=this,a=mc();b.z(a,0);b.$Css(a,"pointerEvents","none");c.$Elmt=a;c.Se=function(c){b.$AppendChild(a,c);b.A(a)};c.wb=function(){b.V(a);b.Ac(a)}}function Hc(m,f){var e=this,r,K,w,j,x=[],F,y,R,G,P,C,J,h,v,p;l.call(e,-L,L+1,{});function A(a){r&&r.id();Q(m,a,0);C=d;r=new db.$Class(m,db,b.U(m,"idle",ec),!u);r.M(0)}function U(){r.PcI||c>H)){var h=k,q=I/H*c/g;if(n.$FillMode&1)h=q>1;else if(n.$FillMode&2)h=q<1;m=h?g*H/c:I;l=h?H:c*I/g}b.$CssWidth(j,m);b.$CssHeight(j,l);b.H(j,(H-l)/2);b.J(j,(I-m)/2)}b.Y(j,"absolute");a.j(i.$EVT_LOAD_END,f)}}b.V(r);p&&p(e)}function S(g,b,c,d){if(d==eb&&s==f&&u)if(!Lc){var a=t(g);D.uf(a,f,b,e,c,H/I);b.Me();ib.$Shift(a-ib.Yb()-1);ib.M(a);z.nc(a,a,0)}}function W(b){if(b==eb&&s==f){if(!h){var a=g;if(D)if(D.sb==f)a=D.tf();else D.wb();U();h=new Gc(m,f,a,r);h.Yc(p)}!h.$IsPlaying()&&h.Jc()}}function E(a,d,k){if(a==f){if(a!=d)B[d]&&B[d].Nd();else!k&&h&&h.Ue();p&&p.$Enable();var l=eb=b.R();e.Lb(b.$CreateCallback(g,W,l))}else{var j=c.min(f,a),i=c.max(f,a),o=c.min(i-j,j+q-i),m=L+n.$LazyLoading-1;(!P||o<=m)&&e.Lb()}}function X(){if(s==f&&h){h.vb();p&&p.$Quit();p&&p.$Disable();h.Yd()}}function Y(){s==f&&h&&h.vb()}function V(b){!T&&a.j(i.$EVT_CLICK,f,b)}function O(){p=v.pInstance;h&&h.Yc(p)}e.Lb=function(e,c){c=c||w;if(x.length&&!G){b.A(c);if(!R){R=d;a.j(i.$EVT_LOAD_START,f);b.$Each(x,function(a){if(!b.$Attribute(a,"src")){a.src=b.$AttributeEx(a,"src2")||"";b.Nb(a,a["display-origin"])}})}b.qg(x,j,b.$CreateCallback(g,N,e,c))}else N(e,c)};e.Uf=function(){if(q==1){e.Nd();E(f,f)}else{var a;if(D)a=D.Oe(q);if(a){var h=eb=b.R(),c=f+mb,d=B[t(c)];return d.Lb(b.$CreateCallback(g,S,c,d,a,h),w)}else Ob(mb)}};e.zc=function(){E(f,f,d)};e.Nd=function(){p&&p.$Quit();p&&p.$Disable();e.Wd();h&&h.Tf();h=g;A()};e.Me=function(){b.V(m)};e.Wd=function(){b.A(m)};e.vf=function(){p&&p.$Enable()};function Q(a,f,c,h){if(b.$Attribute(a,Gb))return;if(!C){if(a.tagName=="IMG"){x.push(a);if(!b.$Attribute(a,"src")){P=d;a["display-origin"]=b.Nb(a);b.V(a)}}var e=b.Zf(a);if(e){var g=new Image;b.$AttributeEx(g,"src2",e);x.push(g)}c&&b.z(a,(b.z(a)||0)+1)}var i=b.$Children(a);b.$Each(i,function(a){var e=a.tagName,g=b.$AttributeEx(a,"u");if(g=="player"&&!v){v=a;if(v.pInstance)O();else b.$AddEvent(v,"dataavailable",O)}if(g=="caption"){if(f){b.ke(a,b.$AttributeEx(a,"to"));b.Zd(a,b.$AttributeEx(a,"bf"));J&&b.$AttributeEx(a,"3d")&&b.ae(a,"preserve-3d")}}else if(!C&&!c&&!j){if(e=="A"){if(b.$AttributeEx(a,"u")=="image")j=b.zf(a,"IMG");else j=b.$FindChild(a,"image",d);if(j){F=a;b.D(F,kb);y=b.$CloneNode(F,d);b.xc(y,0);b.$Css(y,"backgroundColor","#000")}}else if(e=="IMG"&&b.$AttributeEx(a,"u")=="image")j=a;if(j){j.border=0;b.D(j,kb)}}Q(a,f,c+1,h)})}e.qc=function(c,b){var a=L-b;oc(K,a)};e.sb=f;o.call(e);J=b.$AttributeEx(m,"p");b.de(m,J);b.Ce(m,b.$AttributeEx(m,"po"));var M=b.$FindChild(m,"thumb",d);if(M){e.Ae=b.$CloneNode(M);b.V(M)}b.A(m);w=b.$CloneNode(Z);b.z(w,1e3);b.$AddEvent(m,"click",V);A(d);e.dc=j;e.Jd=y;e.Ld=m;e.jc=K=m;b.$AppendChild(K,w);a.$On(203,E);a.$On(28,Y);a.$On(24,X)}function Gc(z,g,p,q){var c=this,n=0,v=0,h,j,f,e,m,t,r,o=B[g];l.call(c,0,0);function w(){b.Ac(V);qc&&m&&o.Jd&&b.$AppendChild(V,o.Jd);b.A(V,!m&&o.dc)}function x(){c.Jc()}function y(a){r=a;c.vb();c.Jc()}c.Jc=function(){var b=c.cb();if(!A&&!bb&&!r&&s==g){if(!b){if(h&&!m){m=d;c.Yd(d);a.j(i.$EVT_SLIDESHOW_START,g,n,v,h,e)}w()}var k,p=i.$EVT_STATE_CHANGE;if(b!=e)if(b==f)k=e;else if(b==j)k=f;else if(!b)k=j;else k=c.kd();a.j(p,g,b,n,j,f,e);var l=u&&(!G||O);if(b==e)(f!=e&&!(G&12)||l)&&o.Uf();else(l||b!=f)&&c.od(k,x)}};c.Ue=function(){f==e&&f==c.cb()&&c.M(j)};c.Tf=function(){D&&D.sb==g&&D.wb();var b=c.cb();b=h){m=k;w();o.Wd();D.wb();a.j(i.$EVT_SLIDESHOW_END,g,n,v,h,e)}a.j(i.$EVT_PROGRESS_CHANGE,g,b,n,j,f,e)};c.Yc=function(a){if(a&&!t){t=a;a.$On($JssorPlayer$.Fe,y)}};p&&c.Fc(p);h=c.mb();c.Fc(q);j=h+q.gd;e=c.mb();f=u?h+q.ed:e}function Ib(a,c,d){b.J(a,c);b.H(a,d)}function oc(c,b){var a=x>0?x:U,d=(yb*b+Cb)*(a&1),e=(zb*b+Cb)*(a>>1&1);Ib(c,d,e)}function Db(a){if(!(C&1))a=c.min(J,c.max(a,E));return a}function Xb(a){return!(C&1)&&(a-E<.0001||J-a<.0001)}function dc(){Fb=bb;Vb=z.kd();F=w.db()}function sc(){dc();if(A||!O&&G&12){z.vb();a.j(i.Ef)}}function rc(g){if(!A&&(O||!(G&12))&&!z.$IsPlaying()){var b=w.db(),a=F,e=0;if(g&&c.abs(Q)>=n.$MinDragOffsetToSlide){a=b;e=ub}if(Xb(b)){if(!g||T)a=c.round(a)}else a=c.ceil(a);a=Db(a+e);if(!(C&1)){if(J-a<.5)a=J;if(a-E<.5)a=E}var d=c.abs(a-b);if(d<1&&n.$SlideEasing!=f.$Linear)d=1-c.pow(1-d,5);if(!T&&Fb)z.af(Vb);else if(b==a){Jb.vf();Jb.zc()}else z.nc(b,a,d*wb)}}function Ub(a){!b.Hb(b.$EvtSrc(a),"nodrag")&&b.$CancelEvent(a)}function Ec(a){nc(a,1)}function nc(c,j){var f=b.$EvtSrc(c);xb=k;var l=b.Hb(f,"1",Wb);if((!l||l===v)&&!X&&(!j||c.touches.length==1)){xb=b.Hb(f,"nodrag")||!nb||!Fc();var n=b.Hb(f,e,m.Ic);if(n)Yb=b.$Attribute(n,m.Ic);if(j){var p=c.touches[0];Kb=p.clientX;Lb=p.clientY}else{var o=b.Rd(c);Kb=o.x;Lb=o.y}A=d;eb=g;b.$AddEvent(h,j?"touchmove":"mousemove",Rb);b.R();T=0;sc();if(!Fb)x=0;Q=0;tb=0;ub=0;a.j(i.$EVT_DRAG_START,t(F),F,c)}}function Rb(g){if(A){var a;if(g.type!="mousemove")if(g.touches.length==1){var o=g.touches[0];a={x:o.clientX,y:o.clientY}}else jb();else a=b.Rd(g);if(a){var e=a.x-Kb,f=a.y-Lb;if(x||c.abs(e)>1.5||c.abs(f)>1.5){if(c.floor(F)!=F)x=x||U&X;if((e||f)&&!x){if(X==3)if(c.abs(f)>c.abs(e))x=2;else x=1;else x=X;if(vb&&x==1&&c.abs(f)>c.abs(e)*2.4)xb=d}var n=f,i=zb;if(x==1){n=e;i=yb}if(Q-tb<-1.5)ub=0;else if(Q-tb>1.5)ub=-1;tb=Q;Q=n;Y=F-Q/i/Yb;if(!(C&1)){var l=0,j=[-F+P,0,F-q+N-P];b.$Each(j,function(b,d){if(b>0){var a=c.pow(b,1/1.6);a=c.tan(a*c.PI/2);l=(a-b)*(d-1)}});var h=l+Y,m=k;j=[-h+P,0,h-q+N-P];b.$Each(j,function(a,b){if(a>0){a=c.min(a,i);a=c.atan(a)*2/c.PI;a=c.pow(a,1.6);Y=a*(b-1)+P;if(b)Y+=q-N;m=d}});if(!m)Y=h}if(Q&&x&&!xb){b.$CancelEvent(g);if(!bb)z.oe(Y);else z.kf(Y)}}}}}function jb(){Cc();if(A){T=Q;b.R();b.S(h,"mousemove",Rb);b.S(h,"touchmove",Rb);T&&u&8&&(u=0);z.vb();A=k;var c=w.db();a.j(i.$EVT_DRAG_END,t(c),c,t(F),F);G&12&&dc();rc(d)}}function wc(c){var a=b.$EvtSrc(c),d=b.Hb(a,"1",Gb);if(v===d)if(T){b.$StopEvent(c);while(a&&v!==a){(a.tagName=="A"||b.$Attribute(a,"data-jssor-button"))&&b.$CancelEvent(c);a=a.parentNode}}else u&4&&(u=0)}function Nc(d){if(d!=s){var b=ob.cb(),a=Db(d),e=c.round(t(a));if(b-a<.5)a=b;B[s];s=e;Jb=B[s];w.M(a)}}function Mc(b,c){x=0;Nc(b);if(u&2&&(mb>0&&s==q-1||mb<0&&!s))u=0;a.j(i.$EVT_PARK,s,c)}function jc(a,d,e){if(!(C&1)){a=c.max(0,a);a=c.min(a,q-N+P);a=c.round(a)}a=t(a);b.$Each(gb,function(b){b.Lc(a,d,e)})}function Fc(){var b=i.cd||0,a=nb;i.cd|=a;return X=a&~b}function Cc(){if(X){i.cd&=~nb;X=0}}function mc(){var a=b.$CreateDiv();b.D(a,kb);return a}function t(b,a){a=a||q||1;return(b%a+a)%a}function Bb(c,a,b){u&8&&(u=0);Ab(c,wb,a,b)}function Nb(){b.$Each(gb,function(a){a.Oc(a.Vb.$ChanceToShow<=O)})}function uc(){if(!O){O=1;Nb();if(!A){G&12&&rc();G&3&&B[s]&&B[s].zc()}}a.j(i.$EVT_MOUSE_LEAVE)}function tc(){if(O){O=0;Nb();A||!(G&12)||sc()}a.j(i.$EVT_MOUSE_ENTER)}function vc(){b.$Each(hb,function(a){b.D(a,kb);b.Jb(a,"hidden");b.V(a)});b.D(Z,kb)}function Ob(b,a){Ab(b,a,d)}function Ab(l,g,m,o){if(!A&&(O||!(G&12))||n.$NaviQuitDrag){bb=d;A=k;z.vb();if(g==e)g=wb;var b=t(ob.cb()),f=l;if(m){f=b+l;f=c.round(f)}var a=f;if(!(C&1)){if(o)a=t(a);else if(C&2&&(a<0&&c.abs(b-E)<.0001||a>q-N&&c.abs(b-J)<.0001))a=a<0?J:E;a=Db(a);if(J-a<.5)a=J;if(a-E<.5)a=E}var j=(a-b)%q;a=b+j;var h=b==a?0:g*c.abs(j),i=1;if(L>1)i=(U&1?sb:rb)/W;h=c.min(h,g*i*1.5);z.nc(b,a,h||1)}}a.$SlidesCount=function(){return hb.length};a.$CurrentIndex=function(){return s};a.$AutoPlay=function(a){if(a==e)return u;if(a!=u){u=a;u&&B[s]&&B[s].zc()}};a.$IsDragging=function(){return A};a.$IsSliding=function(){return bb};a.$IsMouseOver=function(){return!O};a.Be=function(){return T};a.$OriginalWidth=function(){return M};a.$OriginalHeight=function(){return K};a.$ScaleHeight=function(b){if(b==e)return lc||K;a.$ScaleSize(b/K*M,b)};a.$ScaleWidth=function(b){if(b==e)return Qb||M;a.$ScaleSize(b,b/M*K)};a.$ScaleSize=function(c,a,d){b.$CssWidth(v,c);b.$CssHeight(v,a);pc=c/M;kc=a/K;b.$Each(bc,function(a){a.$ScaleSize(pc,kc,d)});if(!Qb){b.Mb(ab,y);b.H(ab,0);b.J(ab,0)}Qb=c;lc=a};a.xe=function(a){return c.abs(a-E)<.0001};a.ye=function(a){return c.abs(a-J)<.0001};a.$PlayTo=Ab;a.$GoTo=function(a){z.nc(a,a,0)};a.$Next=function(){Ob(1)};a.$Prev=function(){Ob(-1)};a.$Pause=function(){u=0};a.$Play=function(){a.$AutoPlay(u||1)};a.$SetSlideshowTransitions=function(a){n.$SlideshowOptions.$Transitions=a};a.$SetCaptionTransitions=function(a){db.$Transitions=a;db.Pc=b.R()};a.Id=function(a){a=t(a);if(C&1){var d=R/W,b=t(ob.cb()),e=t(a-b+d),f=t(c.abs(a-b));if(e>=L){if(f>q/2)if(a>b)a-=q;else a+=q}else if(a>b&&ed)a+=q}return a};a.Wb=function(Q,o){a.$Elmt=v=b.$GetElement(Q);M=b.$CssWidth(v);K=b.$CssHeight(v);n=b.s({$FillMode:0,$LazyLoading:1,$ArrowKeyNavigation:1,$StartIndex:0,$AutoPlay:0,$Loop:1,$HWA:d,$NaviQuitDrag:d,$AutoPlaySteps:1,$AutoPlayInterval:3e3,$PauseOnHover:1,$SlideDuration:500,$SlideEasing:f.$OutQuad,$MinDragOffsetToSlide:20,$SlideSpacing:0,$UISearchMode:1,$PlayOrientation:1,$DragOrientation:1},o);n.$HWA=n.$HWA&&b.Le();if(n.$Idle!=e)n.$AutoPlayInterval=n.$Idle;if(n.$DisplayPieces!=e)n.$Cols=n.$DisplayPieces;if(n.$ParkingPosition!=e)n.$Align=n.$ParkingPosition;U=n.$PlayOrientation&3;lb=n.$SlideshowOptions;db=b.s({$Class:r},n.$CaptionSliderOptions);qb=n.$BulletNavigatorOptions;cb=n.$ArrowNavigatorOptions;S=n.$ThumbnailNavigatorOptions;!n.$UISearchMode;var s=b.$Children(v);b.$Each(s,function(a,d){var c=b.$AttributeEx(a,"u");if(c=="loading")Z=a;else{if(c=="slides")y=a;if(c=="navigator")Eb=a;if(c=="arrowleft")Sb=a;if(c=="arrowright")Pb=a;if(c=="thumbnavigator")pb=a;if(a.tagName!="STYLE"&&a.tagName!="SCRIPT")bc[c||d]=new xc(a,c=="slides",b.Uc(["slides","thumbnavigator"])[c])}});Z=Z||b.$CreateDiv(h);sb=b.$CssWidth(y);rb=b.$CssHeight(y);I=n.$SlideWidth||sb;H=n.$SlideHeight||rb;kb={v:I,u:H,$Top:0,$Left:0,bc:"block",ab:"absolute"};fb=n.$SlideSpacing;yb=I+fb;zb=H+fb;W=U&1?yb:zb;var i=U&1?sb:rb;mb=n.$AutoPlaySteps;G=n.$PauseOnHover;ec=n.$AutoPlayInterval;wb=n.$SlideDuration;Mb=new Bc;if(n.$HWA&&(!b.$IsBrowserFireFox()||vb))Ib=function(a,c,d){b.kc(a,{$TranslateX:c,$TranslateY:d})};u=n.$AutoPlay&63;a.Vb=o;b.$Attribute(v,Gb,"1");b.z(y,b.z(y)||0);b.Y(y,"absolute");ab=b.$CloneNode(y,d);b.Mb(ab,y);ib=new Ic;b.$AppendChild(ab,ib.jc);b.Jb(y,"hidden");G&=vb?10:5;var x=b.$Children(y),O=b.Uc(["DIV","A","LI"]);b.$Each(x,function(a){O[a.tagName.toUpperCase()]&&!b.$AttributeEx(a,"u")&&hb.push(a);b.z(a,(b.z(a)||0)+1)});V=mc();b.$Css(V,"backgroundColor","#000");b.xc(V,0);b.z(V,0);b.Mb(V,y.firstChild,y);q=hb.length;var m=c.ceil((i+fb)/W);if(n.$Cols)m=n.$Cols;L=c.min(q,m);N=(i+fb)/W;hc=L1&&Hb&&(!b.$IsBrowserIE()||b.$BrowserVersion()>=9)}if(!(C&1)){P=R/W;E=P;J=E+q-N}nb=(L>1||R?U:-1)&n.$DragOrientation;Tb.Vd&&b.$Css(y,Tb.Vd,([g,"pan-y","pan-x","none"])[nb]||"");if(fc)D=new Hb(Mb,I,H,lb,vb,Ib);for(var k=0;k=0){t=jb;l=q(o.substring(d+8))}else if(b>=0){var i=o.substring(0,b).lastIndexOf("/");t=f>=0?lb:mb;l=q(o.substring(i+1,b))}else{var a=/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/i.exec(o);if(a){t=N;l=u=q(a[1])}}if(c>=0)B=q(o.substring(c+12))}else{var a=/(opera)(?:.*version|)[ \/]([\w.]+)/i.exec(o);if(a){t=pb;l=q(a[2])}}}return g==t}function r(){return w(N)}function ib(){return r()&&(l<6||h.compatMode=="BackCompat")}function Bb(){return w(jb)}function kb(){return w(mb)}function Eb(){return w(lb)}function ob(){return w(pb)}function eb(){return kb()&&B>534&&B<535}function I(){w();return B>537||l>42||t==N&&l>=11}function gb(){return r()&&l<9}function fb(a){var b,c;return function(g){if(!b){b=d;var f=a.substr(0,1).toUpperCase()+a.substr(1);n([a].concat(["WebKit","ms","Moz","O","webkit"]),function(h,d){var b=a;if(d)b=h+f;if(g.style[b]!=e)return c=b})}return c}}function db(b){var a;return function(c){a=a||fb(b)(c)||b;return a}}var P=db("transform");function tb(a){return{}.toString.call(a)}var qb={};n(["Boolean","Number","String","Function","Array","Date","RegExp","Object"],function(a){qb["[object "+a+"]"]=a.toLowerCase()});function n(b,d){var a,c;if(tb(b)=="[object Array]"){for(a=0;a-1;f--){var d=c[f],e=Y(i);y(e,y(d));b.$CssCssText(e,d.style.cssText);b.Mb(e,d);b.ac(d)}return a};function Gb(a){var l=this,p="",r=["av","pv","ds","dn"],d=[],q,k=0,g=0,f=0;function j(){K(a,q,(d[f||g&2||g]||"")+" "+(d[k]||""));b.$Css(a,"pointer-events",f?"none":"")}function c(){k=0;j();i.S(h,"mouseup",c);i.S(h,"touchend",c);i.S(h,"touchcancel",c)}function o(a){if(f)i.$CancelEvent(a);else{k=4;j();i.$AddEvent(h,"mouseup",c);i.$AddEvent(h,"touchend",c);i.$AddEvent(h,"touchcancel",c)}}l.yd=function(a){if(a===e)return g;g=a&2||a&1;j()};l.$Enable=function(a){if(a===e)return!f;f=a?0:3;j()};l.$Elmt=a=i.$GetElement(a);F(a,"data-jssor-button","1");var m=b.Jf(y(a));if(m)p=m.shift();n(r,function(a){d.push(p+a)});q=cb(" ",d);d.unshift("");i.$AddEvent(a,"mousedown",o);i.$AddEvent(a,"touchstart",o)}i.mc=function(a){return new Gb(a)};i.$Css=x;i.Jb=m("overflow");i.H=m("top",2);i.Bg=m("right",2);i.vg=m("bottom",2);i.J=m("left",2);i.$CssWidth=m("width",2);i.$CssHeight=m("height",2);i.gf=m("marginLeft",2);i.Xe=m("marginTop",2);i.Y=m("position");i.Nb=m("display");i.z=m("zIndex",1);i.xc=function(b,a,c){if(a!=e)Fb(b,a,c);else return Db(b)};i.$CssCssText=function(a,b){if(b!=e)a.style.cssText=b;else return a.style.cssText};i.Zf=function(b,a){if(a===e){a=x(b,"backgroundImage")||"";var c=/\burl\s*\(\s*["']?([^"'\r\n,]+)["']?\s*\)/gi.exec(a)||[];return c[1]}x(b,"backgroundImage",a?"url('"+a+"')":"")};var L;i.Yf=L={$Opacity:i.xc,$Top:i.H,$Right:i.Bg,$Bottom:i.vg,$Left:i.J,v:i.$CssWidth,u:i.$CssHeight,ab:i.Y,bc:i.Nb,$ZIndex:i.z};i.Wc=function(c,b){var a={};n(b,function(d,b){if(L[b])a[b]=L[b](c)});return a};function s(h,l){var f=gb(),b=I(),d=eb(),j=P(h);function k(b,d,a){var e=b.yb(p(-d/2,-a/2)),f=b.yb(p(d/2,-a/2)),g=b.yb(p(d/2,a/2)),h=b.yb(p(-d/2,a/2));b.yb(p(300,300));return p(c.min(e.x,f.x,g.x,h.x)+d/2,c.min(e.y,f.y,g.y,h.y)+a/2)}function a(d,a){a=a||{};var n=a.$TranslateZ||0,p=(a.$RotateX||0)%360,q=(a.$RotateY||0)%360,u=(a.$Rotate||0)%360,l=a.$ScaleX,m=a.$ScaleY,g=a.ih;if(l==e)l=1;if(m==e)m=1;if(g==e)g=1;if(f){n=0;p=0;q=0;g=0}var c=new Cb(a.$TranslateX,a.$TranslateY,n);c.$RotateX(p);c.$RotateY(q);c.Xf(u);c.Wf(a.$SkewX,a.$SkewY);c.$Scale(l,m,g);if(b){c.$Move(a.B,a.C);d.style[j]=c.hg()}else if(!A||A<9){var o="",h={x:0,y:0};if(a.$OriginalWidth)h=k(c,a.$OriginalWidth,a.$OriginalHeight);i.Xe(d,h.y);i.gf(d,h.x);o=c.kg();var s=d.style.filter,t=new RegExp(/[\s]*progid:DXImageTransform\.Microsoft\.Matrix\([^\)]*\)/g),r=D(s,[t],o);U(d,r)}}s=function(f,c){c=c||{};var j=c.B,k=c.C,h;n(L,function(a,b){h=c[b];h!==e&&a(f,h)});i.Mf(f,c.$Clip);if(!b){j!=e&&i.J(f,(c.wd||0)+j);k!=e&&i.H(f,(c.xd||0)+k)}if(c.gg)if(d)yb(i.$CreateCallback(g,R,f,c));else a(f,c)};i.kc=R;if(d)i.kc=s;if(f)i.kc=a;else if(!b)a=R;i.D=s;s(h,l)}i.kc=s;i.D=s;function Cb(j,k,o){var d=this,b=[1,0,0,0,0,1,0,0,0,0,1,0,j||0,k||0,o||0,1],i=c.sin,h=c.cos,l=c.tan;function f(a){return a*c.PI/180}function n(a,b){return{x:a,y:b}}function m(b,c,f,g,i,l,n,o,q,t,u,w,y,A,C,F,a,d,e,h,j,k,m,p,r,s,v,x,z,B,D,E){return[b*a+c*j+f*r+g*z,b*d+c*k+f*s+g*B,b*e+c*m+f*v+g*D,b*h+c*p+f*x+g*E,i*a+l*j+n*r+o*z,i*d+l*k+n*s+o*B,i*e+l*m+n*v+o*D,i*h+l*p+n*x+o*E,q*a+t*j+u*r+w*z,q*d+t*k+u*s+w*B,q*e+t*m+u*v+w*D,q*h+t*p+u*x+w*E,y*a+A*j+C*r+F*z,y*d+A*k+C*s+F*B,y*e+A*m+C*v+F*D,y*h+A*p+C*x+F*E]}function e(c,a){return m.apply(g,(a||b).concat(c))}d.$Scale=function(a,c,d){if(a!=1||c!=1||d!=1)b=e([a,0,0,0,0,c,0,0,0,0,d,0,0,0,0,1])};d.$Move=function(a,c,d){b[12]+=a||0;b[13]+=c||0;b[14]+=d||0};d.$RotateX=function(c){if(c){a=f(c);var d=h(a),g=i(a);b=e([1,0,0,0,0,d,g,0,0,-g,d,0,0,0,0,1])}};d.$RotateY=function(c){if(c){a=f(c);var d=h(a),g=i(a);b=e([d,0,-g,0,0,1,0,0,g,0,d,0,0,0,0,1])}};d.Xf=function(c){if(c){a=f(c);var d=h(a),g=i(a);b=e([d,g,0,0,-g,d,0,0,0,0,1,0,0,0,0,1])}};d.Wf=function(a,c){if(a||c){j=f(a);k=f(c);b=e([1,l(k),0,0,l(j),1,0,0,0,0,1,0,0,0,0,1])}};d.yb=function(c){var a=e(b,[1,0,0,0,0,1,0,0,0,0,1,0,c.x,c.y,0,1]);return n(a[12],a[13])};d.hg=function(){return"matrix3d("+b.join(",")+")"};d.kg=function(){return"progid:DXImageTransform.Microsoft.Matrix(M11="+b[0]+", M12="+b[4]+", M21="+b[1]+", M22="+b[5]+", SizingMethod='auto expand')"}}new(function(){var a=this;function b(d,g){for(var j=d[0].length,i=d.length,h=g[0].length,f=[],c=0;c=11&&(j.B||j.C)&&s!=0&&s!=1)a.$Rotate=a.$Rotate||1e-8;a.gg=d}}if(j.$Clip&&o.$Move){var p=a.$Clip.ic,v=(p.$Top||0)+(p.$Bottom||0),u=(p.$Left||0)+(p.$Right||0);a.$Left=(a.$Left||0)+u;a.$Top=(a.$Top||0)+v;a.$Clip.$Left-=u;a.$Clip.$Right-=u;a.$Clip.$Top-=v;a.$Clip.$Bottom-=v}if(a.$Clip&&!a.$Clip.$Top&&!a.$Clip.$Left&&!a.$Clip.C&&!a.$Clip.B&&a.$Clip.$Right==o.$OriginalWidth&&a.$Clip.$Bottom==o.$OriginalHeight)a.$Clip=g;return a}};function o(){var a=this,d=[];function h(a,b){d.push({Ec:a,Bc:b})}function g(a,c){b.$Each(d,function(b,e){b.Ec==a&&b.Bc===c&&d.splice(e,1)})}a.$On=a.addEventListener=h;a.$Off=a.removeEventListener=g;a.j=function(a){var c=[].slice.call(arguments,1);b.$Each(d,function(b){b.Ec==a&&b.Bc.apply(j,c)})}}var l=function(A,D,g,L,O,J){A=A||0;var a=this,p,m,n,t,B=0,H,I,G,C,z=0,h=0,l=0,y,i,e,f,o,x,v=[],w;function P(a){e+=a;f+=a;i+=a;h+=a;l+=a;z+=a}function s(p){var j=p;if(o)if(!x&&(j>=f||j=e)j=((j-e)%o+o)%o+e;if(!y||t||h!=j){var k=c.min(j,f);k=c.max(k,e);if(!y||t||k!=l){if(J){var m=(k-i)/(D||1);if(g.$Reverse)m=1-m;var n=b.Fd(O,J,m,H,G,I,g);if(w)b.$Each(n,function(b,a){w[a]&&w[a](L,b)});else b.D(L,n)}a.qc(l-i,k-i);var r=l,q=l=k;b.$Each(v,function(b,c){var a=!y&&x||j<=h?v[v.length-c-1]:b;a.M(l-z)});h=j;y=d;a.Qb(r,q)}}}function E(a,b,d){b&&a.$Shift(f);if(!d){e=c.min(e,a.Yb()+z);f=c.max(f,a.mb()+z)}v.push(a)}var u=j.requestAnimationFrame||j.webkitRequestAnimationFrame||j.mozRequestAnimationFrame||j.msRequestAnimationFrame;if(b.$IsBrowserSafari()&&b.$BrowserVersion()<7||!u)u=function(a){b.$Delay(a,g.$Interval)};function K(){if(p){var d=b.R(),e=c.min(d-B,g.Dd),a=h+e*n;B=d;if(a*n>=m*n)a=m;s(a);if(!t&&a*n>=m*n)M(C);else u(K)}}function r(g,i,j){if(!p){p=d;t=j;C=i;g=c.max(g,e);g=c.min(g,f);m=g;n=m=0&&c=0&&h=0&&c=0&&df||d>h){switch(e){case j:case m:a++;break;case k:case l:case o:case i:b++;break;case p:case n:default:a--}if(a<0||b<0||a>f||b>h){switch(e){case j:case m:a=f;b++;break;case o:case i:b=h;a++;break;case k:case l:b=h;a--;break;case p:case n:default:a=0;b++}if(b>h)b=h;else if(b<0)b=0;else if(a>f)a=f;else if(a<0)a=0}d=b;c=a}}return r};h.$FormationRectangle=function(f){var d=f.$Cols||1,e=f.$Rows||1,h=[],a,b,i;i=c.round(c.min(d/2,e/2))+1;for(a=0;a1||a.$Clip;if(a.$Zoom||a.$Rotate){var J=d;if(J){e.$Zoom=a.$Zoom?a.$Zoom-1:1;f.$Zoom=1;var N=a.$Rotate||0;e.$Rotate=N*360*(x?-1:1);f.$Rotate=0}}if(K){var i=t.ic={};if(a.$Clip){var w=a.$ScaleClip||1;if(C&&z){i.$Top=g.u/2*w;i.$Bottom=-i.$Top}else if(C)i.$Bottom=-g.u*w;else if(z)i.$Top=g.u*w;if(B&&A){i.$Left=g.v/2*w;i.$Right=-i.$Left}else if(B)i.$Right=-g.v*w;else if(A)i.$Left=g.v*w}r.$Clip=t;f.$Clip=g[v]}var L=o?1:-1,M=s?1:-1;if(a.x)e.B+=n*a.x*L;if(a.y)e.C+=l*a.y*M;b.$Each(e,function(a,c){if(b.fc(a))if(a!=f[c])r[c]=a-f[c]});u[v]=j?f:e;var D=a.rf,y=c.round(m*a.$Delay/a.$Interval);h[v]=new Array(y);h[v].yf=y;h[v].wf=y+D-1;for(var F=0;F<=D;F++){var E=b.Fd(f,r,F/D,a.$Easing,a.$During,a.$Round,{$Move:a.$Move,$OriginalWidth:n,$OriginalHeight:l});E.$ZIndex=E.$ZIndex||1;h[v].push(E)}})});o.reverse();b.$Each(o,function(a){b.$Each(a,function(c){var f=c[0],e=c[1],d=f+","+e,a=i;if(e||f)a=b.$CloneNode(i);b.D(a,u[d]);b.Jb(a,"hidden");b.Y(a,"absolute");z.Se(a);m[d]=a;b.A(a,!j)})})}function w(){var a=this,b=0;l.call(a,0,v);a.Qb=function(c,a){if(a-b>i){b=a;e&&e.pc(a);h&&h.pc(a)}};a.Kc=r}a.Oe=function(){var a=0,b=u.$Transitions,d=b.length;if(x)a=y++%d;else a=c.floor(c.random()*d);b[a]&&(b[a].sb=a);return b[a]};a.uf=function(x,y,k,l,b,t){a.wb();r=b;b=j(b,i,t);var g=l.Ld,f=k.Ld;g["no-image"]=!l.dc;f["no-image"]=!k.dc;var o=g,q=f,w=b,d=b.$Brother||j({},i,t);if(!b.$SlideOut){o=f;q=g}var u=d.$Shift||0;h=new n(m,q,d,c.max(u-d.$Interval,0),s,p);e=new n(m,o,w,c.max(d.$Interval-u,0),s,p);h.pc(0);e.pc(0);v=c.max(h.fd,e.fd);a.sb=x};a.wb=function(){m.wb();h=g;e=g};a.tf=function(){var a=g;if(e)a=new w;return a};if(z&&b.$WebKitVersion()<537)i=16;o.call(a);l.call(a,-1e7,1e7)};var p={ec:1};j.$JssorBulletNavigator$=function(a,E){var f=this;o.call(f);a=b.$GetElement(a);var u,C,B,t,l=0,e,q,j,y,z,i,h,s,r,D=[],A=[];function x(a){a!=-1&&A[a].yd(a==l)}function v(a){f.j(p.ec,a*q)}f.$Elmt=a;f.Lc=function(a){if(a!=t){var d=l,b=c.floor(a/q);l=b;t=a;x(d);x(b)}};f.Oc=function(c){b.A(a,c)};var w;f.Gc=function(x){if(!w){u=c.ceil(x/q);l=0;var n=s+y,o=r+z,m=c.ceil(u/j)-1;C=s+n*(!i?m:j-1);B=r+o*(i?m:j-1);b.$CssWidth(a,C);b.$CssHeight(a,B);for(var f=0;f=A)b-=x%e;j.j(p.ec,b,k,d)}}h.sb=f;h.Hd=o;l=n.Ae||n.dc||b.$CreateDiv();h.jc=c=b.Vc(u,"thumbnailtemplate",l,d);m=b.mc(c);a.$ActionMode&1&&b.$AddEvent(c,"click",b.$CreateCallback(g,i,0));a.$ActionMode&2&&b.$AddEvent(c,"mouseenter",b.$CreateCallback(g,i,1))}j.Lc=function(a,f,d){if(a!=s){var b=s;s=a;b!=-1&&y[b].Hd();y[a].Hd()}!d&&t.$PlayTo(t.Id(c.floor(a/e)))};j.Oc=function(a){b.A(f,a)};var C;j.Gc=function(H,I){if(!C){x=H;A=c.ceil(x/e);s=-1;var g=a.$Orientation&1,o=w+(w+q)*(e-1)*(1-g),n=v+(v+r)*(e-1)*g,u=(g?c.max:c.min)(B,o),p=(g?c.min:c.max)(z,n);l=l||c.ceil((B+q)/(w+q)*g+(z+r)/(v+r)*(1-g));l=c.min(l,A);var F=o+(o+q)*(l-1)*g,E=n+(n+r)*(l-1)*(1-g);u=c.min(u,F);p=c.min(p,E);b.Y(h,"absolute");b.Jb(h,"hidden");b.$CssWidth(h,u);b.$CssHeight(h,p);b.rc(h,3);var m=[];b.$Each(I,function(k,f){var i=new D(k,f),d=i.jc,a=c.floor(f/e),j=f%e;b.J(d,(w+q)*j*(1-g));b.H(d,(v+r)*j*g);if(!m[a]){m[a]=b.$CreateDiv();b.$AppendChild(h,m[a])}b.$AppendChild(m[a],d);y.push(i)});var G=b.s({$AutoPlay:0,$NaviQuitDrag:k,$SlideWidth:o,$SlideHeight:n,$SlideSpacing:q*g+r*(1-g),$MinDragOffsetToSlide:12,$SlideDuration:200,$PauseOnHover:1,$PlayOrientation:a.$Orientation,$DragOrientation:a.$NoDrag||a.$DisableDrag?0:a.$Orientation},a);t=new i(f,G);j.Kf=t.Kf;C=d}};j.Vb=a=b.s({$SpacingX:0,$SpacingY:0,$Orientation:1,$ActionMode:1},E);B=b.$CssWidth(f);z=b.$CssHeight(f);h=b.$FindChild(f,"slides",d);u=b.$FindChild(h,"prototype");w=b.$CssWidth(u);v=b.$CssHeight(u);b.ac(u,h);e=a.$Rows||1;q=a.$SpacingX;r=a.$SpacingY;l=a.$Cols;a.$Scale==k&&n.W(f,m.Pb,1);a.$AutoCenter&=a.$Orientation;a.$AutoCenter&&n.W(f,m.rb,a.$AutoCenter);n.Ub(f)};function r(e,d,c){var a=this;l.call(a,0,c);a.id=b.Ud;a.gd=0;a.ed=c}j.$JssorCaptionSlideo$=function(t,k,B,E){var a=this,u,o={},v=k.$Transitions,r=k.$Controls,m=new l(0,0),p=[],h=[],D=E,e=D?1e8:0;l.call(a,0,0);function q(d,c){var a={};b.$Each(d,function(d,f){var e=o[f];if(e){if(b.rd(d))d=q(d,c||f=="e");else if(c)if(b.fc(d))d=u[d];a[e]=d}});return a}function s(d,e){var a=[],c=b.$Children(d);b.$Each(c,function(c){var d=v[b.U(c,"t")];d&&a.push({$Elmt:c,Kc:d});a=a.concat(s(c,e+1))});return a}function n(c,e){var a=p[c];if(a==g){a=p[c]={bb:c,wc:[],Sd:[]};var d=0;!b.$Each(h,function(a,b){d=b;return a.bb>c})&&d++;h.splice(d,0,a)}return a}function y(s,t,h){var a,f;if(r){var m=r[b.U(s,"c")];if(m){a=n(m.r,0);a.sf=m.e||0}}b.$Each(t,function(i){var g=b.s(d,{},q(i)),j=b.Dc(g.$Easing);delete g.$Easing;if(g.$Left){g.B=g.$Left;j.B=j.$Left;delete g.$Left}if(g.$Top){g.C=g.$Top;j.C=j.$Top;delete g.$Top}var o={$Easing:j,$OriginalWidth:h.v,$OriginalHeight:h.u},k=new l(i.b,i.d,o,s,h,g);e=c.max(e,i.b+i.d);if(a){if(!f)f=new l(i.b,0);f.O(k)}else{var m=n(i.b,i.b+i.d);m.wc.push(k)}h=b.ne(h,g)});if(a&&f){f.hf();var i=f,k,j=f.Yb(),o=f.mb(),p=c.max(o,a.sf);if(a.bbj){i=new l(j,a.bb-j);i.O(f,d)}else i=g;k=new l(a.bb,p-j,{Hc:p-a.bb,He:d});k.O(f,d)}i&&a.wc.push(i);k&&a.Sd.push(k)}return h}function x(a){b.$Each(a,function(f){var a=f.$Elmt,e=b.$CssWidth(a),d=b.$CssHeight(a),c={$Left:b.J(a),$Top:b.H(a),B:0,C:0,$Opacity:1,$ZIndex:b.z(a)||0,$Rotate:0,$RotateX:0,$RotateY:0,$ScaleX:1,$ScaleY:1,$TranslateX:0,$TranslateY:0,$TranslateZ:0,$SkewX:0,$SkewY:0,v:e,u:d,$Clip:{$Top:0,$Right:e,$Bottom:d,$Left:0}};c.wd=c.$Left;c.xd=c.$Top;y(a,f.Kc,c)})}function A(f,e,g){var c=f.b-e;if(c){var b=new l(e,c);b.O(m,d);b.$Shift(g);a.O(b)}a.td(f.d);return c}function z(e){var c=m.Yb(),d=0;b.$Each(e,function(e,f){e=b.s({d:3e3},e);A(e,c,d);c=e.b;d+=e.d;if(!f||e.t==2){a.gd=c;a.ed=c+e.d}})}function j(k,d,f){var g=d.length;if(g>4)for(var m=c.ceil(g/4),a=0;a0&&t<1){var v=c.min(q,p);l=c.min(l/v,1/(1-t))*v}}else s=r=l=c.pow(O1e-5){var f=c.floor(b);if(f!=b&&b>e&&(C&1||b>D))f++;jc(f,g,d)}a.j(i.$EVT_POSITION_CHANGE,g,t(e),b,e)}}function Jc(){var a=this;l.call(a,0,0,{Hc:q});b.$Each(B,function(b){C&1&&b.jf(q);a.Fc(b);b.$Shift(L/S)})}function Ic(){var a=this,b=Mb.$Elmt;l.call(a,-1,2,{$Easing:f.$Linear,Ke:{ab:oc},Hc:q},b,{ab:1},{ab:-2});a.jc=b}function Ac(o,m){var b=this,e,f,h,j,c;l.call(b,-1e8,2e8,{Dd:100});b.Ed=function(){bb=d;eb=g;a.j(i.$EVT_SWIPE_START,t(w.db()),w.db())};b.md=function(){bb=k;j=k;var b=w.og();a.j(i.$EVT_SWIPE_END,t(w.db()),w.db());if(!A){Mc(b.tg,s);(!b.ab||b.sg)&&jc(s,b.bc)}};b.Qb=function(g,d){var a;if(j)a=c;else{a=f;if(h){var b=d/h;a=n.$SlideEasing(b)*(f-e)+e}}w.M(a)};b.nc=function(a,d,c,g){e=a;f=d;h=c;w.M(a);b.M(0);b.od(c,g)};b.oe=function(a){j=d;c=a;b.$Play(a,g,d)};b.kf=function(a){c=a};w=new Kc;w.O(o);w.O(m)}function Bc(){var c=this,a=mc();b.z(a,0);b.$Css(a,"pointerEvents","none");c.$Elmt=a;c.Se=function(c){b.$AppendChild(a,c);b.A(a)};c.wb=function(){b.V(a);b.Ac(a)}}function Hc(m,f){var e=this,r,K,w,j,x=[],F,y,R,G,P,C,H,h,v,p;l.call(e,-N,N+1,{});function A(a){r&&r.id();Q(m,a,0);C=d;r=new db.$Class(m,db,b.U(m,"idle",ec),!u);r.M(0)}function T(){r.PcJ||c>I)){var h=k,q=J/I*c/g;if(n.$FillMode&1)h=q>1;else if(n.$FillMode&2)h=q<1;m=h?g*I/c:J;l=h?I:c*J/g}b.$CssWidth(j,m);b.$CssHeight(j,l);b.H(j,(I-l)/2);b.J(j,(J-m)/2)}b.Y(j,"absolute");a.j(i.$EVT_LOAD_END,f)}}b.V(r);p&&p(e)}function S(g,b,c,d){if(d==eb&&s==f&&u)if(!Lc){var a=t(g);E.uf(a,f,b,e,c,I/J);b.Me();ib.$Shift(a-ib.Yb()-1);ib.M(a);z.nc(a,a,0)}}function W(b){if(b==eb&&s==f){if(!h){var a=g;if(E)if(E.sb==f)a=E.tf();else E.wb();T();h=new Gc(m,f,a,r);h.Yc(p)}!h.$IsPlaying()&&h.Jc()}}function D(a,d,k){if(a==f){if(a!=d)B[d]&&B[d].Nd();else!k&&h&&h.Ue();p&&p.$Enable();var l=eb=b.R();e.Lb(b.$CreateCallback(g,W,l))}else{var j=c.min(f,a),i=c.max(f,a),o=c.min(i-j,j+q-i),m=N+n.$LazyLoading-1;(!P||o<=m)&&e.Lb()}}function X(){if(s==f&&h){h.vb();p&&p.$Quit();p&&p.$Disable();h.Yd()}}function Y(){s==f&&h&&h.vb()}function V(b){!U&&a.j(i.$EVT_CLICK,f,b)}function O(){p=v.pInstance;h&&h.Yc(p)}e.Lb=function(e,c){c=c||w;if(x.length&&!G){b.A(c);if(!R){R=d;a.j(i.$EVT_LOAD_START,f);b.$Each(x,function(a){if(!b.$Attribute(a,"src")){a.src=b.$AttributeEx(a,"src2")||"";b.Nb(a,a["display-origin"])}})}b.qg(x,j,b.$CreateCallback(g,M,e,c))}else M(e,c)};e.Uf=function(){if(q==1){e.Nd();D(f,f)}else{var a;if(E)a=E.Oe(q);if(a){var h=eb=b.R(),c=f+mb,d=B[t(c)];return d.Lb(b.$CreateCallback(g,S,c,d,a,h),w)}else Ob(mb)}};e.zc=function(){D(f,f,d)};e.Nd=function(){p&&p.$Quit();p&&p.$Disable();e.Wd();h&&h.Tf();h=g;A()};e.Me=function(){b.V(m)};e.Wd=function(){b.A(m)};e.vf=function(){p&&p.$Enable()};function Q(a,f,c,h){if(b.$Attribute(a,Gb))return;if(!C){if(a.tagName=="IMG"){x.push(a);if(!b.$Attribute(a,"src")){P=d;a["display-origin"]=b.Nb(a);b.V(a)}}var e=b.Zf(a);if(e){var g=new Image;b.$AttributeEx(g,"src2",e);x.push(g)}c&&b.z(a,(b.z(a)||0)+1)}var i=b.$Children(a);b.$Each(i,function(a){var e=a.tagName,g=b.$AttributeEx(a,"u");if(g=="player"&&!v){v=a;if(v.pInstance)O();else b.$AddEvent(v,"dataavailable",O)}if(g=="caption"){if(f){b.ke(a,b.$AttributeEx(a,"to"));b.Zd(a,b.$AttributeEx(a,"bf"));H&&b.$AttributeEx(a,"3d")&&b.ae(a,"preserve-3d")}}else if(!C&&!c&&!j){if(e=="A"){if(b.$AttributeEx(a,"u")=="image")j=b.zf(a,"IMG");else j=b.$FindChild(a,"image",d);if(j){F=a;b.D(F,kb);y=b.$CloneNode(F,d);b.xc(y,0);b.$Css(y,"backgroundColor","#000")}}else if(e=="IMG"&&b.$AttributeEx(a,"u")=="image")j=a;if(j){j.border=0;b.D(j,kb)}}Q(a,f,c+1,h)})}e.qc=function(c,b){var a=N-b;oc(K,a)};e.sb=f;o.call(e);H=b.$AttributeEx(m,"p");b.de(m,H);b.Ce(m,b.$AttributeEx(m,"po"));var L=b.$FindChild(m,"thumb",d);if(L){e.Ae=b.$CloneNode(L);b.V(L)}b.A(m);w=b.$CloneNode(Z);b.z(w,1e3);b.$AddEvent(m,"click",V);A(d);e.dc=j;e.Jd=y;e.Ld=m;e.jc=K=m;b.$AppendChild(K,w);a.$On(203,D);a.$On(28,Y);a.$On(24,X)}function Gc(z,g,p,q){var c=this,n=0,v=0,h,j,f,e,m,t,r,o=B[g];l.call(c,0,0);function w(){b.Ac(W);qc&&m&&o.Jd&&b.$AppendChild(W,o.Jd);b.A(W,!m&&o.dc)}function x(){c.Jc()}function y(a){r=a;c.vb();c.Jc()}c.Jc=function(){var b=c.cb();if(!A&&!bb&&!r&&s==g){if(!b){if(h&&!m){m=d;c.Yd(d);a.j(i.$EVT_SLIDESHOW_START,g,n,v,h,e)}w()}var k,p=i.$EVT_STATE_CHANGE;if(b!=e)if(b==f)k=e;else if(b==j)k=f;else if(!b)k=j;else k=c.kd();a.j(p,g,b,n,j,f,e);var l=u&&(!H||Q);if(b==e)(f!=e&&!(H&12)||l)&&o.Uf();else(l||b!=f)&&c.od(k,x)}};c.Ue=function(){f==e&&f==c.cb()&&c.M(j)};c.Tf=function(){E&&E.sb==g&&E.wb();var b=c.cb();b=h){m=k;w();o.Wd();E.wb();a.j(i.$EVT_SLIDESHOW_END,g,n,v,h,e)}a.j(i.$EVT_PROGRESS_CHANGE,g,b,n,j,f,e)};c.Yc=function(a){if(a&&!t){t=a;a.$On($JssorPlayer$.Fe,y)}};p&&c.Fc(p);h=c.mb();c.Fc(q);j=h+q.gd;e=c.mb();f=u?h+q.ed:e}function Ib(a,c,d){b.J(a,c);b.H(a,d)}function oc(c,b){var a=x>0?x:V,d=(yb*b+Cb)*(a&1),e=(zb*b+Cb)*(a>>1&1);Ib(c,d,e)}function Db(a){if(!(C&1))a=c.min(K,c.max(a,F));return a}function Xb(a){return!(C&1)&&(a-F<.0001||K-a<.0001)}function dc(){Fb=bb;Vb=z.kd();G=w.db()}function sc(){dc();if(A||!Q&&H&12){z.vb();a.j(i.Ef)}}function rc(g){if(!A&&(Q||!(H&12))&&!z.$IsPlaying()){var b=w.db(),a=G,e=0;if(g&&c.abs(R)>=n.$MinDragOffsetToSlide){a=b;e=ub}if(Xb(b)){if(!g||U)a=c.round(a)}else a=c.ceil(a);a=Db(a+e);if(!(C&1)){if(K-a<.5)a=K;if(a-F<.5)a=F}var d=c.abs(a-b);if(d<1&&n.$SlideEasing!=f.$Linear)d=1-c.pow(1-d,5);if(!U&&Fb)z.af(Vb);else if(b==a){Jb.vf();Jb.zc()}else z.nc(b,a,d*wb)}}function Ub(a){!b.Hb(b.$EvtSrc(a),"nodrag")&&b.$CancelEvent(a)}function Ec(a){nc(a,1)}function nc(c,j){var f=b.$EvtSrc(c);xb=k;var l=b.Hb(f,"1",Wb);if((!l||l===v)&&!X&&(!j||c.touches.length==1)){xb=b.Hb(f,"nodrag")||!nb||!Fc();var n=b.Hb(f,e,m.Ic);if(n)Yb=b.$Attribute(n,m.Ic);if(j){var p=c.touches[0];Kb=p.clientX;Lb=p.clientY}else{var o=b.Rd(c);Kb=o.x;Lb=o.y}A=d;eb=g;b.$AddEvent(h,j?"touchmove":"mousemove",Rb);b.R();U=0;sc();if(!Fb)x=0;R=0;tb=0;ub=0;a.j(i.$EVT_DRAG_START,t(G),G,c)}}function Rb(g){if(A){var a;if(g.type!="mousemove")if(g.touches.length==1){var o=g.touches[0];a={x:o.clientX,y:o.clientY}}else jb();else a=b.Rd(g);if(a){var e=a.x-Kb,f=a.y-Lb;if(x||c.abs(e)>1.5||c.abs(f)>1.5){if(c.floor(G)!=G)x=x||V&X;if((e||f)&&!x){if(X==3)if(c.abs(f)>c.abs(e))x=2;else x=1;else x=X;if(vb&&x==1&&c.abs(f)>c.abs(e)*2.4)xb=d}var n=f,i=zb;if(x==1){n=e;i=yb}if(R-tb<-1.5)ub=0;else if(R-tb>1.5)ub=-1;tb=R;R=n;Y=G-R/i/Yb;if(!(C&1)){var l=0,j=[-G+D,0,G-q+P-D];b.$Each(j,function(b,d){if(b>0){var a=c.pow(b,1/1.6);a=c.tan(a*c.PI/2);l=(a-b)*(d-1)}});var h=l+Y,m=k;j=[-h+D,0,h-q+P-D];b.$Each(j,function(a,b){if(a>0){a=c.min(a,i);a=c.atan(a)*2/c.PI;a=c.pow(a,1.6);Y=a*(b-1)+D;if(b)Y+=q-P;m=d}});if(!m)Y=h}if(R&&x&&!xb){b.$CancelEvent(g);if(!bb)z.oe(Y);else z.kf(Y)}}}}}function jb(){Cc();if(A){U=R;b.R();b.S(h,"mousemove",Rb);b.S(h,"touchmove",Rb);U&&u&8&&(u=0);z.vb();A=k;var c=w.db();a.j(i.$EVT_DRAG_END,t(c),c,t(G),G);H&12&&dc();rc(d)}}function wc(c){var a=b.$EvtSrc(c),d=b.Hb(a,"1",Gb);if(v===d)if(U){b.$StopEvent(c);while(a&&v!==a){(a.tagName=="A"||b.$Attribute(a,"data-jssor-button"))&&b.$CancelEvent(c);a=a.parentNode}}else u&4&&(u=0)}function Nc(d){if(d!=s){var b=ob.cb(),a=Db(d),e=c.round(t(a));if(b-a<.5)a=b;B[s];s=e;Jb=B[s];w.M(a)}}function Mc(b,c){x=0;Nc(b);if(u&2&&(mb>0&&s==q-1||mb<0&&!s))u=0;a.j(i.$EVT_PARK,s,c)}function jc(a,d,e){if(!(C&1)){a=c.max(0,a);a=c.min(a,q-P+D);a=c.round(a)}a=t(a);b.$Each(gb,function(b){b.Lc(a,d,e)})}function Fc(){var b=i.cd||0,a=nb;i.cd|=a;return X=a&~b}function Cc(){if(X){i.cd&=~nb;X=0}}function mc(){var a=b.$CreateDiv();b.D(a,kb);return a}function t(b,a){a=a||q||1;return(b%a+a)%a}function Bb(c,a,b){u&8&&(u=0);Ab(c,wb,a,b)}function Nb(){b.$Each(gb,function(a){a.Oc(a.Vb.$ChanceToShow<=Q)})}function uc(){if(!Q){Q=1;Nb();if(!A){H&12&&rc();H&3&&B[s]&&B[s].zc()}}a.j(i.$EVT_MOUSE_LEAVE)}function tc(){if(Q){Q=0;Nb();A||!(H&12)||sc()}a.j(i.$EVT_MOUSE_ENTER)}function vc(){b.$Each(hb,function(a){b.D(a,kb);b.Jb(a,"hidden");b.V(a)});b.D(Z,kb)}function Ob(b,a){Ab(b,a,d)}function Ab(l,g,m,o){if(!A&&(Q||!(H&12))||n.$NaviQuitDrag){bb=d;A=k;z.vb();if(g==e)g=wb;var b=t(ob.cb()),f=l;if(m){f=b+l;f=c.round(f)}var a=f;if(!(C&1)){if(o)a=t(a);else if(C&2&&(a<0&&c.abs(b-F)<.0001||a>q-P&&c.abs(b-K)<.0001))a=a<0?K:F;a=Db(a);if(K-a<.5)a=K;if(a-F<.5)a=F}var j=(a-b)%q;a=b+j;var h=b==a?0:g*c.abs(j),i=1;if(N>1)i=(V&1?sb:rb)/S;h=c.min(h,g*i*1.5);z.nc(b,a,h||1)}}a.$SlidesCount=function(){return hb.length};a.$CurrentIndex=function(){return s};a.$AutoPlay=function(a){if(a==e)return u;if(a!=u){u=a;u&&B[s]&&B[s].zc()}};a.$IsDragging=function(){return A};a.$IsSliding=function(){return bb};a.$IsMouseOver=function(){return!Q};a.Be=function(){return U};a.$OriginalWidth=function(){return O};a.$OriginalHeight=function(){return M};a.$ScaleHeight=function(b){if(b==e)return lc||M;a.$ScaleSize(b/M*O,b)};a.$ScaleWidth=function(b){if(b==e)return Qb||O;a.$ScaleSize(b,b/O*M)};a.$ScaleSize=function(c,a,d){b.$CssWidth(v,c);b.$CssHeight(v,a);pc=c/O;kc=a/M;b.$Each(bc,function(a){a.$ScaleSize(pc,kc,d)});if(!Qb){b.Mb(ab,y);b.H(ab,0);b.J(ab,0)}Qb=c;lc=a};a.xe=function(a){return c.abs(a-F)<.0001};a.ye=function(a){return c.abs(a-K)<.0001};a.$PlayTo=Ab;a.$GoTo=function(a){z.nc(a,a,0)};a.$Next=function(){Ob(1)};a.$Prev=function(){Ob(-1)};a.$Pause=function(){u=0};a.$Play=function(){a.$AutoPlay(u||1)};a.$SetSlideshowTransitions=function(a){n.$SlideshowOptions.$Transitions=a};a.$SetCaptionTransitions=function(a){db.$Transitions=a;db.Pc=b.R()};a.Id=function(a){a=t(a);if(C&1){var d=L/S,b=t(ob.cb()),e=t(a-b+d),f=t(c.abs(a-b));if(e>=N){if(f>q/2)if(a>b)a-=q;else a+=q}else if(a>b&&ed)a+=q}return a};a.Wb=function(R,o){a.$Elmt=v=b.$GetElement(R);O=b.$CssWidth(v);M=b.$CssHeight(v);n=b.s({$FillMode:0,$LazyLoading:1,$ArrowKeyNavigation:1,$StartIndex:0,$AutoPlay:0,$Loop:1,$HWA:d,$NaviQuitDrag:d,$AutoPlaySteps:1,$AutoPlayInterval:3e3,$PauseOnHover:1,$SlideDuration:500,$SlideEasing:f.$OutQuad,$MinDragOffsetToSlide:20,$SlideSpacing:0,$UISearchMode:1,$PlayOrientation:1,$DragOrientation:1},o);n.$HWA=n.$HWA&&b.Le();if(n.$Idle!=e)n.$AutoPlayInterval=n.$Idle;if(n.$DisplayPieces!=e)n.$Cols=n.$DisplayPieces;if(n.$ParkingPosition!=e)n.$Align=n.$ParkingPosition;V=n.$PlayOrientation&3;lb=n.$SlideshowOptions;db=b.s({$Class:r},n.$CaptionSliderOptions);qb=n.$BulletNavigatorOptions;cb=n.$ArrowNavigatorOptions;T=n.$ThumbnailNavigatorOptions;!n.$UISearchMode;var s=b.$Children(v);b.$Each(s,function(a,d){var c=b.$AttributeEx(a,"u");if(c=="loading")Z=a;else{if(c=="slides")y=a;if(c=="navigator")Eb=a;if(c=="arrowleft")Sb=a;if(c=="arrowright")Pb=a;if(c=="thumbnavigator")pb=a;if(a.tagName!="STYLE"&&a.tagName!="SCRIPT")bc[c||d]=new xc(a,c=="slides",b.Uc(["slides","thumbnavigator"])[c])}});Z=Z||b.$CreateDiv(h);sb=b.$CssWidth(y);rb=b.$CssHeight(y);J=n.$SlideWidth||sb;I=n.$SlideHeight||rb;kb={v:J,u:I,$Top:0,$Left:0,bc:"block",ab:"absolute"};fb=n.$SlideSpacing;yb=J+fb;zb=I+fb;S=V&1?yb:zb;var i=V&1?sb:rb;mb=n.$AutoPlaySteps;H=n.$PauseOnHover;ec=n.$AutoPlayInterval;wb=n.$SlideDuration;Mb=new Bc;if(n.$HWA&&(!b.$IsBrowserFireFox()||vb))Ib=function(a,c,d){b.kc(a,{$TranslateX:c,$TranslateY:d})};u=n.$AutoPlay&63;a.Vb=o;b.$Attribute(v,Gb,"1");b.z(y,b.z(y)||0);b.Y(y,"absolute");ab=b.$CloneNode(y,d);b.Mb(ab,y);ib=new Ic;b.$AppendChild(ab,ib.jc);b.Jb(y,"hidden");H&=vb?10:5;var x=b.$Children(y),Q=b.Uc(["DIV","A","LI"]);b.$Each(x,function(a){Q[a.tagName.toUpperCase()]&&!b.$AttributeEx(a,"u")&&hb.push(a);b.z(a,(b.z(a)||0)+1)});W=mc();b.$Css(W,"backgroundColor","#000");b.xc(W,0);b.z(W,0);b.Mb(W,y.firstChild,y);q=hb.length;var m=c.ceil((i+fb)/S);if(n.$Cols)m=n.$Cols;N=c.min(q,m);P=(i+fb)/S;hc=N1&&Hb&&(!b.$IsBrowserIE()||b.$BrowserVersion()>=9)}if(!(C&1)){D=L/S;if(D>q-1){D=q-1;L=D*S}F=D;K=F+q-P}nb=(N>1||L?V:-1)&n.$DragOrientation;Tb.Vd&&b.$Css(y,Tb.Vd,([g,"pan-y","pan-x","none"])[nb]||"");if(fc)E=new Hb(Mb,J,I,lb,vb,Ib);for(var k=0;k=0){t=jb;g=q(o.substring(d+8))}else if(b>=0){var i=o.substring(0,b).lastIndexOf("/");t=f>=0?lb:mb;g=q(o.substring(i+1,b))}else{var a=/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/i.exec(o);if(a){t=N;g=u=q(a[1])}}if(c>=0)B=q(o.substring(c+12))}else{var a=/(opera)(?:.*version|)[ \/]([\w.]+)/i.exec(o);if(a){t=pb;g=q(a[2])}}}return h==t}function r(){return w(N)}function ib(){return r()&&(g<6||m.compatMode=="BackCompat")}function Bb(){return w(jb)}function kb(){return w(mb)}function ob(){return w(pb)}function eb(){return kb()&&B>534&&B<535}function I(){w();return B>537||g>42||t==N&&g>=11}function gb(){return r()&&g<9}function fb(a){var b,c;return function(f){if(!b){b=e;var d=a.substr(0,1).toUpperCase()+a.substr(1);n([a].concat(["WebKit","ms","Moz","O","webkit"]),function(g,e){var b=a;if(e)b=g+d;if(f.style[b]!=i)return c=b})}return c}}function db(b){var a;return function(c){a=a||fb(b)(c)||b;return a}}var P=db("transform");function tb(a){return{}.toString.call(a)}var qb={};n(["Boolean","Number","String","Function","Array","Date","RegExp","Object"],function(a){qb["[object "+a+"]"]=a.toLowerCase()});function n(b,d){var a,c;if(tb(b)=="[object Array]"){for(a=0;a-1;f--){var d=b[f],e=Y(i);y(e,y(d));c.kg(e,d.style.cssText);c.Rc(e,d);c.jd(d)}return a};function Gb(a){var k=this,p="",r=["av","pv","ds","dn"],e=[],q,j=0,g=0,f=0;function h(){K(a,q,(e[f||g&2||g]||"")+" "+(e[j]||""));c.Yb(a,"pointer-events",f?"none":"")}function b(){j=0;h();d.Sb(m,"mouseup",b);d.Sb(m,"touchend",b);d.Sb(m,"touchcancel",b)}function o(a){if(f)d.$CancelEvent(a);else{j=4;h();d.$AddEvent(m,"mouseup",b);d.$AddEvent(m,"touchend",b);d.$AddEvent(m,"touchcancel",b)}}k.eg=function(a){if(a===i)return g;g=a&2||a&1;h()};k.hd=function(a){if(a===i)return!f;f=a?0:3;h()};k.Vb=a=d.$GetElement(a);F(a,"data-jssor-button","1");var l=c.Hi(y(a));if(l)p=l.shift();n(r,function(a){e.push(p+a)});q=cb(" ",e);e.unshift("");d.$AddEvent(a,"mousedown",o);d.$AddEvent(a,"touchstart",o)}d.ed=function(a){return new Gb(a)};d.Yb=x;d.Zc=j("overflow");d.Eb=j("top",2);d.gi=j("right",2);d.hi=j("bottom",2);d.Db=j("left",2);d.nb=j("width",2);d.jb=j("height",2);d.tg=j("marginLeft",2);d.Zg=j("marginTop",2);d.lc=j("position");d.Qc=j("display");d.wb=j("zIndex",1);d.ee=function(b,a,c){if(a!=i)Fb(b,a,c);else return Db(b)};d.kg=function(a,b){if(b!=i)a.style.cssText=b;else return a.style.cssText};d.Th=function(b,a){if(a===i){a=x(b,"backgroundImage")||"";var c=/\burl\s*\(\s*["']?([^"'\r\n,]+)["']?\s*\)/gi.exec(a)||[];return c[1]}x(b,"backgroundImage",a?"url('"+a+"')":"")};var L;d.Uh=L={$Opacity:d.ee,$Top:d.Eb,$Right:d.gi,$Bottom:d.hi,$Left:d.Db,vb:d.nb,ub:d.jb,Xb:d.lc,ld:d.Qc,$ZIndex:d.wb};d.gg=function(c,b){var a={};n(b,function(d,b){if(L[b])a[b]=L[b](c)});return a};function s(g,l){var e=gb(),b=I(),c=eb(),j=P(g);function k(b,c,a){var d=b.tc(p(-c/2,-a/2)),e=b.tc(p(c/2,-a/2)),g=b.tc(p(c/2,a/2)),h=b.tc(p(-c/2,a/2));b.tc(p(300,300));return p(f.min(d.x,e.x,g.x,h.x)+c/2,f.min(d.y,e.y,g.y,h.y)+a/2)}function a(f,a){a=a||{};var n=a.Zb||0,p=(a.fc||0)%360,q=(a.jc||0)%360,u=(a.$Rotate||0)%360,l=a.Gb,m=a.Jb,g=a.oj;if(l==i)l=1;if(m==i)m=1;if(g==i)g=1;if(e){n=0;p=0;q=0;g=0}var c=new Cb(a.pc,a.oc,n);c.fc(p);c.jc(q);c.Sh(u);c.Vh(a.Cd,a.vd);c.zc(l,m,g);if(b){c.$Move(a.xb,a.zb);f.style[j]=c.Yh()}else if(!A||A<9){var o="",h={x:0,y:0};if(a.dc)h=k(c,a.dc,a.Ec);d.Zg(f,h.y);d.tg(f,h.x);o=c.Zh();var s=f.style.filter,t=new RegExp(/[\s]*progid:DXImageTransform\.Microsoft\.Matrix\([^\)]*\)/g),r=D(s,[t],o);U(f,r)}}s=function(f,e){e=e||{};var j=e.xb,k=e.zb,g;n(L,function(a,b){g=e[b];g!==i&&a(f,g)});d.Vi(f,e.$Clip);if(!b){j!=i&&d.Db(f,(e.hg||0)+j);k!=i&&d.Eb(f,(e.ig||0)+k)}if(e.Wh)if(c)yb(d.Ib(h,R,f,e));else a(f,e)};d.sd=R;if(c)d.sd=s;if(e)d.sd=a;else if(!b)a=R;d.Cb=s;s(g,l)}d.sd=s;d.Cb=s;function Cb(j,k,o){var c=this,b=[1,0,0,0,0,1,0,0,0,0,1,0,j||0,k||0,o||0,1],i=f.sin,g=f.cos,l=f.tan;function e(a){return a*f.PI/180}function n(a,b){return{x:a,y:b}}function m(b,c,f,g,i,l,n,o,q,t,u,w,y,A,C,F,a,d,e,h,j,k,m,p,r,s,v,x,z,B,D,E){return[b*a+c*j+f*r+g*z,b*d+c*k+f*s+g*B,b*e+c*m+f*v+g*D,b*h+c*p+f*x+g*E,i*a+l*j+n*r+o*z,i*d+l*k+n*s+o*B,i*e+l*m+n*v+o*D,i*h+l*p+n*x+o*E,q*a+t*j+u*r+w*z,q*d+t*k+u*s+w*B,q*e+t*m+u*v+w*D,q*h+t*p+u*x+w*E,y*a+A*j+C*r+F*z,y*d+A*k+C*s+F*B,y*e+A*m+C*v+F*D,y*h+A*p+C*x+F*E]}function d(c,a){return m.apply(h,(a||b).concat(c))}c.zc=function(a,c,e){if(a!=1||c!=1||e!=1)b=d([a,0,0,0,0,c,0,0,0,0,e,0,0,0,0,1])};c.$Move=function(a,c,d){b[12]+=a||0;b[13]+=c||0;b[14]+=d||0};c.fc=function(c){if(c){a=e(c);var f=g(a),h=i(a);b=d([1,0,0,0,0,f,h,0,0,-h,f,0,0,0,0,1])}};c.jc=function(c){if(c){a=e(c);var f=g(a),h=i(a);b=d([f,0,-h,0,0,1,0,0,h,0,f,0,0,0,0,1])}};c.Sh=function(c){if(c){a=e(c);var f=g(a),h=i(a);b=d([f,h,0,0,-h,f,0,0,0,0,1,0,0,0,0,1])}};c.Vh=function(a,c){if(a||c){j=e(a);k=e(c);b=d([1,l(k),0,0,l(j),1,0,0,0,0,1,0,0,0,0,1])}};c.tc=function(c){var a=d(b,[1,0,0,0,0,1,0,0,0,0,1,0,c.x,c.y,0,1]);return n(a[12],a[13])};c.Yh=function(){return"matrix3d("+b.join(",")+")"};c.Zh=function(){return"progid:DXImageTransform.Microsoft.Matrix(M11="+b[0]+", M12="+b[4]+", M21="+b[1]+", M22="+b[5]+", SizingMethod='auto expand')"}}new(function(){var a=this;function b(d,g){for(var j=d[0].length,i=d.length,h=g[0].length,f=[],c=0;c=11&&(k.xb||k.zb)&&s!=0&&s!=1)a.$Rotate=a.$Rotate||1e-8;a.Wh=e}}if(k.$Clip&&o.$Move){var p=a.$Clip.od,v=(p.$Top||0)+(p.$Bottom||0),u=(p.$Left||0)+(p.$Right||0);a.$Left=(a.$Left||0)+u;a.$Top=(a.$Top||0)+v;a.$Clip.$Left-=u;a.$Clip.$Right-=u;a.$Clip.$Top-=v;a.$Clip.$Bottom-=v}if(a.$Clip&&!a.$Clip.$Top&&!a.$Clip.$Left&&!a.$Clip.zb&&!a.$Clip.xb&&a.$Clip.$Right==o.dc&&a.$Clip.$Bottom==o.Ec)a.$Clip=h;return a}};function t(){var a=this,d=[];function h(a,b){d.push({we:a,pe:b})}function g(a,b){c.M(d,function(c,e){c.we==a&&c.pe===b&&d.splice(e,1)})}a.Kc=a.addEventListener=h;a.removeEventListener=g;a.fb=function(a){var b=[].slice.call(arguments,1);c.M(d,function(c){c.we==a&&c.pe.apply(l,b)})}}var o=l.$JssorAnimator$=function(A,D,g,L,O,J){A=A||0;var a=this,p,m,n,t,B=0,H,I,G,C,z=0,h=0,j=0,y,i,b,d,o,x,v=[],w;function P(a){b+=a;d+=a;i+=a;h+=a;j+=a;z+=a}function s(p){var k=p;if(o)if(!x&&(k>=d||k=b)k=((k-b)%o+o)%o+b;if(!y||t||h!=k){var l=f.min(k,d);l=f.max(l,b);if(!y||t||l!=j){if(J){var m=(l-i)/(D||1);if(g.$Reverse)m=1-m;var n=c.Xf(O,J,m,H,G,I,g);if(w)c.M(n,function(b,a){w[a]&&w[a](L,b)});else c.Cb(L,n)}a.te(j-i,l-i);var r=j,q=j=l;c.M(v,function(b,c){var a=!y&&x||k<=h?v[v.length-c-1]:b;a.Bb(j-z)});h=k;y=e;a.ad(r,q)}}}function E(a,c,e){c&&a.$Shift(d);if(!e){b=f.min(b,a.cd()+z);d=f.max(d,a.sc()+z)}v.push(a)}var u=l.requestAnimationFrame||l.webkitRequestAnimationFrame||l.mozRequestAnimationFrame||l.msRequestAnimationFrame;if(c.bh()&&c.Uf()<7||!u)u=function(a){c.$Delay(a,g.$Interval)};function K(){if(p){var b=c.Pb(),d=f.min(b-B,g.og),a=h+d*n;B=b;if(a*n>=m*n)a=m;s(a);if(!t&&a*n>=m*n)M(C);else u(K)}}function r(g,i,j){if(!p){p=e;t=j;C=i;g=f.max(g,b);g=f.min(g,d);m=g;n=m=0&&f=0&&h=0&&e=0&&ff||d>h){switch(e){case j:case m:a++;break;case k:case l:case o:case i:b++;break;case p:case n:default:a--}if(a<0||b<0||a>f||b>h){switch(e){case j:case m:a=f;b++;break;case o:case i:b=h;a++;break;case k:case l:b=h;a--;break;case p:case n:default:a=0;b++}if(b>h)b=h;else if(b<0)b=0;else if(a>f)a=f;else if(a<0)a=0}d=b;c=a}}return r};h.$FormationRectangle=function(e){var c=e.$Cols||1,d=e.$Rows||1,h=[],a,b,i;i=f.round(f.min(c/2,d/2))+1;for(a=0;a1||a.$Clip;if(a.$Zoom||a.$Rotate){var J=e;if(J){b.$Zoom=a.$Zoom?a.$Zoom-1:1;d.$Zoom=1;var N=a.$Rotate||0;b.$Rotate=N*360*(x?-1:1);d.$Rotate=0}}if(K){var i=t.od={};if(a.$Clip){var w=a.$ScaleClip||1;if(C&&z){i.$Top=g.ub/2*w;i.$Bottom=-i.$Top}else if(C)i.$Bottom=-g.ub*w;else if(z)i.$Top=g.ub*w;if(B&&A){i.$Left=g.vb/2*w;i.$Right=-i.$Left}else if(B)i.$Right=-g.vb*w;else if(A)i.$Left=g.vb*w}r.$Clip=t;d.$Clip=g[v]}var L=o?1:-1,M=s?1:-1;if(a.x)b.xb+=n*a.x*L;if(a.y)b.zb+=l*a.y*M;c.M(b,function(a,b){if(c.Ab(a))if(a!=d[b])r[b]=a-d[b]});u[v]=j?d:b;var D=a.di,y=f.round(m*a.$Delay/a.$Interval);h[v]=new Array(y);h[v].dj=y;h[v].Zi=y+D-1;for(var F=0;F<=D;F++){var E=c.Xf(d,r,F/D,a.$Easing,a.$During,a.$Round,{$Move:a.$Move,dc:n,Ec:l});E.$ZIndex=E.$ZIndex||1;h[v].push(E)}})});o.reverse();c.M(o,function(a){c.M(a,function(b){var f=b[0],e=b[1],d=f+","+e,a=i;if(e||f)a=c.ic(i);c.Cb(a,u[d]);c.Zc(a,"hidden");c.lc(a,"absolute");z.Wi(a);m[d]=a;c.yb(a,!j)})})}function w(){var a=this,b=0;o.call(a,0,v);a.ad=function(c,a){if(a-b>j){b=a;d&&d.qd(a);i&&i.qd(a)}};a.Ue=q}a.Yi=function(){var a=0,b=u.hc,c=b.length;if(x)a=y++%c;else a=f.floor(f.random()*c);b[a]&&(b[a].mc=a);return b[a]};a.Sf=function(x,y,h,k,b,t){a.rc();q=b;b=l(b,j,t);var g=k.Lf,e=h.Lf;g["no-image"]=!k.rd;e["no-image"]=!h.rd;var o=g,s=e,w=b,c=b.$Brother||l({},j,t);if(!b.$SlideOut){o=e;s=g}var u=c.$Shift||0;i=new n(m,s,c,f.max(u-c.$Interval,0),r,p);d=new n(m,o,w,f.max(c.$Interval-u,0),r,p);i.qd(0);d.qd(0);v=f.max(i.Af,d.Af);a.mc=x};a.rc=function(){m.rc();i=h;d=h};a.ej=function(){var a=h;if(d)a=new w;return a};if(z&&c.Ph()<537)j=16;t.call(a);o.call(a,-1e7,1e7)},u={pd:1};l.$JssorBulletNavigator$=function(a,E){var d=this;t.call(d);a=c.$GetElement(a);var s,C,B,r,l=0,b,m,j,y,z,i,g,o,n,D=[],A=[];function x(a){a!=-1&&A[a].eg(a==l)}function v(a){d.fb(u.pd,a*m)}d.Vb=a;d.Ne=function(a){if(a!=r){var c=l,b=f.floor(a/m);l=b;r=a;x(c);x(b)}};d.Se=function(b){c.yb(a,b)};var w;d.Re=function(x){if(!w){s=f.ceil(x/m);l=0;var q=o+y,r=n+z,p=f.ceil(s/j)-1;C=o+q*(!i?p:j-1);B=n+r*(i?p:j-1);c.nb(a,C);c.jb(a,B);for(var d=0;d=A)c-=x%b;l.fb(u.pd,c,k,e)}}g.mc=f;g.of=p;j=n.Ei||n.rd||c.Lc();g.Xd=d=c.dg(s,"thumbnailtemplate",j,e);m=c.ed(d);a.Nc&1&&c.$AddEvent(d,"click",c.Ib(h,i,0));a.Nc&2&&c.$AddEvent(d,"mouseenter",c.Ib(h,i,1))}l.Ne=function(a,e,d){if(a!=o){var c=o;o=a;c!=-1&&y[c].of();y[a].of()}!d&&r.zg(r.jf(f.floor(a/b)))};l.Se=function(a){c.yb(d,a)};var C;l.Re=function(F,G){if(!C){x=F;A=f.ceil(x/b);o=-1;var h=a.nc&1;i=i||f.ceil((B+m)/(w+m)*h+(z+n)/(v+n)*(1-h));i=f.min(i,A);var u=w+(w+m)*(b-1)*(1-h),t=v+(v+n)*(b-1)*h,s=u+(u+m)*(i-1)*h,q=t+(t+n)*(i-1)*(1-h);s=f.min(B,s);q=f.min(z,q);c.lc(g,"absolute");c.Zc(g,"hidden");c.nb(g,s);c.jb(g,q);c.Me(g,3);var p=[];c.M(G,function(k,e){var i=new D(k,e),d=i.Xd,a=f.floor(e/b),j=e%b;c.Db(d,(w+m)*j*(1-h));c.Eb(d,(v+n)*j*h);if(!p[a]){p[a]=c.Lc();c.Hb(g,p[a])}c.Hb(p[a],d);y.push(i)});var E=c.gb({qc:0,hf:k,Sg:u,ah:t,Qd:m*h+n*(1-h),Sd:12,Pd:200,Rd:1,$Cols:i,Te:a.nc,Yd:a.Og||a.uj?0:a.nc},a);r=new j(d,E);l.Qg=r.Qg;C=e}};l.md=a=c.gb({We:0,Ie:0,nc:1,Nc:1},E);B=c.nb(d);z=c.jb(d);g=c.Sc(d,"slides",e);s=c.Sc(g,"prototype");w=c.nb(s);v=c.jb(s);c.jd(s,g);b=a.$Rows||1;m=a.We;n=a.Ie;i=a.$Cols;a.zc==k&&q.Tb(d,p.Ic,1);a.Nb&=a.nc;a.Nb&&q.Tb(d,p.Dc,a.Nb);q.nd(d)};function y(e,d,b){var a=this;o.call(a,0,b);a.mf=c.Jc;a.kf=0;a.Mf=b}l.$JssorCaptionSlideo$=function(t,k,B,E){var a=this,u,n={},v=k.hc,r=k.tj,l=new o(0,0),p=[],g=[],D=E,d=D?1e8:0;o.call(a,0,0);function q(d,b){var a={};c.M(d,function(d,f){var e=n[f];if(e){if(c.Zd(d))d=q(d,b||f=="e");else if(b)if(c.Ab(d))d=u[d];a[e]=d}});return a}function s(d,e){var a=[],b=c.Pc(d);c.M(b,function(b){var d=v[c.Ub(b,"t")];d&&a.push({Vb:b,Ue:d});a=a.concat(s(b,e+1))});return a}function m(b,e){var a=p[b];if(a==h){a=p[b]={bc:b,Qe:[],Kf:[]};var d=0;!c.M(g,function(a,c){d=c;return a.bc>b})&&d++;g.splice(d,0,a)}return a}function y(s,t,g){var a,b;if(r){var l=r[c.Ub(s,"c")];if(l){a=m(l.r,0);a.Ug=l.e||0}}c.M(t,function(i){var h=c.gb(e,{},q(i)),j=c.Ee(h.$Easing);delete h.$Easing;if(h.$Left){h.xb=h.$Left;j.xb=j.$Left;delete h.$Left}if(h.$Top){h.zb=h.$Top;j.zb=j.$Top;delete h.$Top}var n={$Easing:j,dc:g.vb,Ec:g.ub},k=new o(i.b,i.d,n,s,g,h);d=f.max(d,i.b+i.d);if(a){if(!b)b=new o(i.b,0);b.Lb(k)}else{var l=m(i.b,i.b+i.d);l.Qe.push(k)}g=c.ti(g,h)});if(a&&b){b.ri();var i=b,k,j=b.cd(),n=b.sc(),p=f.max(n,a.Ug);if(a.bcj){i=new o(j,a.bc-j);i.Lb(b,e)}else i=h;k=new o(a.bc,p-j,{qe:p-a.bc,yi:e});k.Lb(b,e)}i&&a.Qe.push(i);k&&a.Kf.push(k)}return g}function x(a){c.M(a,function(f){var a=f.Vb,e=c.nb(a),d=c.jb(a),b={$Left:c.Db(a),$Top:c.Eb(a),xb:0,zb:0,$Opacity:1,$ZIndex:c.wb(a)||0,$Rotate:0,fc:0,jc:0,Gb:1,Jb:1,pc:0,oc:0,Zb:0,Cd:0,vd:0,vb:e,ub:d,$Clip:{$Top:0,$Right:e,$Bottom:d,$Left:0}};b.hg=b.$Left;b.ig=b.$Top;y(a,f.Ue,b)})}function A(f,d,g){var c=f.b-d;if(c){var b=new o(d,c);b.Lb(l,e);b.$Shift(g);a.Lb(b)}a.lf(f.d);return c}function z(e){var b=l.cd(),d=0;c.M(e,function(e,f){e=c.gb({d:3e3},e);A(e,b,d);b=e.b;d+=e.d;if(!f||e.t==2){a.kf=b;a.Mf=b+e.d}})}function j(k,b,e){var g=b.length;if(g>4)for(var l=f.ceil(g/4),a=0;a0&&t<1){var v=f.min(q,o);l=f.min(l/v,1/(1-t))*v}}else s=r=l=f.pow(M1e-5){var d=f.floor(b);if(d!=b&&b>c&&(C&1||b>P))d++;jc(d,g,e)}a.fb(j.yg,g,q(c),b,c)}}function Jc(){var a=this;o.call(a,0,0,{qe:g});c.M(B,function(b){C&1&&b.li(g);a.ue(b);b.$Shift(R/W)})}function Ic(){var a=this,c=Mb.Vb;o.call(a,-1,2,{$Easing:b.$Linear,Bi:{Xb:oc},qe:g},c,{Xb:1},{Xb:-2});a.Xd=c}function Ac(p,m){var b=this,f,g,i,l,c;o.call(b,-1e8,2e8,{og:100});b.ng=function(){bb=e;eb=h;a.fb(j.xg,q(v.ac()),v.ac())};b.mg=function(){bb=k;l=k;var b=v.vg();a.fb(j.Eg,q(v.ac()),v.ac());if(!A){Mc(b.wg,n);(!b.Xb||b.ug)&&jc(n,b.ld)}};b.ad=function(h,e){var a;if(l)a=c;else{a=g;if(i){var b=e/i;a=d.Of(b)*(g-f)+f}}v.Bb(a)};b.Ve=function(a,d,c,e){f=a;g=d;i=c;v.Bb(a);b.Bb(0);b.lg(c,e)};b.Ag=function(a){l=e;c=a;b.dd(a,h,e)};b.Cg=function(a){c=a};v=new Kc;v.Lb(p);v.Lb(m)}function Bc(){var b=this,a=mc();c.wb(a,0);c.Yb(a,"pointerEvents","none");b.Vb=a;b.Wi=function(b){c.Hb(a,b);c.yb(a)};b.rc=function(){c.Wb(a);c.Oe(a)}}function Hc(p,i){var b=this,u,K,w,m,x=[],F,y,R,G,P,C,J,l,v,s;o.call(b,-L,L+1,{});function A(a){u&&u.mf();Q(p,a,0);C=e;u=new db.gc(p,db,c.Ub(p,"idle",ec),!r);u.Bb(0)}function U(){u.oeI||f>H)){var h=k,q=I/H*f/g;if(d.Xc&1)h=q>1;else if(d.Xc&2)h=q<1;n=h?g*H/f:I;l=h?H:f*I/g}c.nb(m,n);c.jb(m,l);c.Eb(m,(H-l)/2);c.Db(m,(I-n)/2)}c.lc(m,"absolute");a.fb(j.Dh,i)}}c.Wb(r);p&&p(b)}function S(f,c,d,e){if(e==eb&&n==i&&r)if(!Lc){var a=q(f);D.Sf(a,i,c,b,d,H/I);c.Fh();ib.$Shift(a-ib.cd()-1);ib.Bb(a);z.Ve(a,a,0)}}function W(b){if(b==eb&&n==i){if(!l){var a=h;if(D)if(D.mc==i)a=D.ej();else D.rc();U();l=new Gc(p,i,a,u);l.Tf(s)}!l.qf()&&l.Ke()}}function E(a,e,m){if(a==i){if(a!=e)B[e]&&B[e].Rf();else!m&&l&&l.wh();s&&s.hd();var n=eb=c.Pb();b.Oc(c.Ib(h,W,n))}else{var k=f.min(i,a),j=f.max(i,a),p=f.min(j-k,k+g-j),o=L+d.yh-1;(!P||p<=o)&&b.Oc()}}function X(){if(n==i&&l){l.uc();s&&s.Ah();s&&s.zh();l.Pf()}}function Y(){n==i&&l&&l.uc()}function V(b){!T&&a.fb(j.Nh,i,b)}function O(){s=v.pInstance;l&&l.Tf(s)}b.Oc=function(d,b){b=b||w;if(x.length&&!G){c.yb(b);if(!R){R=e;a.fb(j.Mh,i);c.M(x,function(a){if(!c.Fb(a,"src")){a.src=c.rb(a,"src2")||"";c.Qc(a,a["display-origin"])}})}c.bi(x,m,c.Ib(h,N,d,b))}else N(d,b)};b.Oh=function(){if(g==1){b.Rf();E(i,i)}else{var a;if(D)a=D.Yi(g);if(a){var f=eb=c.Pb(),d=i+mb,e=B[q(d)];return e.Oc(c.Ib(h,S,d,e,a,f),w)}else Ob(mb)}};b.Le=function(){E(i,i,e)};b.Rf=function(){s&&s.Ah();s&&s.zh();b.Qf();l&&l.Ih();l=h;A()};b.Fh=function(){c.Wb(p)};b.Qf=function(){c.yb(p)};b.Jh=function(){s&&s.hd()};function Q(a,f,b,h){if(c.Fb(a,Gb))return;if(!C){if(a.tagName=="IMG"){x.push(a);if(!c.Fb(a,"src")){P=e;a["display-origin"]=c.Qc(a);c.Wb(a)}}var d=c.Th(a);if(d){var g=new Image;c.rb(g,"src2",d);x.push(g)}b&&c.wb(a,(c.wb(a)||0)+1)}var i=c.Pc(a);c.M(i,function(a){var d=a.tagName,g=c.rb(a,"u");if(g=="player"&&!v){v=a;if(v.pInstance)O();else c.$AddEvent(v,"dataavailable",O)}if(g=="caption"){if(f){c.Dg(a,c.rb(a,"to"));c.sg(a,c.rb(a,"bf"));J&&c.rb(a,"3d")&&c.Tg(a,"preserve-3d")}}else if(!C&&!b&&!m){if(d=="A"){if(c.rb(a,"u")=="image")m=c.Mi(a,"IMG");else m=c.Sc(a,"image",e);if(m){F=a;c.Cb(F,kb);y=c.ic(F,e);c.ee(y,0);c.Yb(y,"backgroundColor","#000")}}else if(d=="IMG"&&c.rb(a,"u")=="image")m=a;if(m){m.border=0;c.Cb(m,kb)}}Q(a,f,b+1,h)})}b.te=function(c,b){var a=L-b;oc(K,a)};b.mc=i;t.call(b);J=c.rb(p,"p");c.Wg(p,J);c.Yg(p,c.rb(p,"po"));var M=c.Sc(p,"thumb",e);if(M){b.Ei=c.ic(M);c.Wb(M)}c.yb(p);w=c.ic(Z);c.wb(w,1e3);c.$AddEvent(p,"click",V);A(e);b.rd=m;b.Bf=y;b.Lf=p;b.Xd=K=p;c.Hb(K,w);a.Kc(203,E);a.Kc(28,Y);a.Kc(24,X)}function Gc(z,g,q,s){var b=this,m=0,v=0,h,i,f,d,l,u,t,p=B[g];o.call(b,0,0);function w(){c.Oe(V);qc&&l&&p.Bf&&c.Hb(V,p.Bf);c.yb(V,!l&&p.rd)}function x(){b.Ke()}function y(a){t=a;b.uc();b.Ke()}b.Ke=function(){var c=b.kc();if(!A&&!bb&&!t&&n==g){if(!c){if(h&&!l){l=e;b.Pf(e);a.fb(j.Lh,g,m,v,h,d)}w()}var k,q=j.Cf;if(c!=d)if(c==f)k=d;else if(c==i)k=f;else if(!c)k=i;else k=b.vf();a.fb(q,g,c,m,i,f,d);var o=r&&(!G||O);if(c==d)(f!=d&&!(G&12)||o)&&p.Oh();else(o||c!=f)&&b.lg(k,x)}};b.wh=function(){f==d&&f==b.kc()&&b.Bb(i)};b.Ih=function(){D&&D.mc==g&&D.rc();var c=b.kc();c=h){l=k;w();p.Qf();D.rc();a.fb(j.hh,g,m,v,h,d)}a.fb(j.gh,g,b,m,i,f,d)};b.Tf=function(a){if(a&&!u){u=a;a.Kc($JssorPlayer$.ui,y)}};q&&b.ue(q);h=b.sc();b.ue(s);i=h+s.kf;d=b.sc();f=r?h+s.Mf:d}function Ib(a,b,d){c.Db(a,b);c.Eb(a,d)}function oc(c,b){var a=w>0?w:U,d=(yb*b+Cb)*(a&1),e=(zb*b+Cb)*(a>>1&1);Ib(c,d,e)}function Db(a){if(!(C&1))a=f.min(J,f.max(a,E));return a}function Xb(a){return!(C&1)&&(a-E<.0001||J-a<.0001)}function dc(){Fb=bb;Vb=z.vf();F=v.ac()}function sc(){dc();if(A||!O&&G&12){z.uc();a.fb(j.ih)}}function rc(h){if(!A&&(O||!(G&12))&&!z.qf()){var c=v.ac(),a=F,g=0;if(h&&f.abs(Q)>=d.Sd){a=c;g=ub}if(Xb(c)){if(!h||T)a=f.round(a)}else a=f.ceil(a);a=Db(a+g);if(!(C&1)){if(J-a<.5)a=J;if(a-E<.5)a=E}var e=f.abs(a-c);if(e<1&&d.Of!=b.$Linear)e=1-f.pow(1-e,5);if(!T&&Fb)z.pi(Vb);else if(c==a){Jb.Jh();Jb.Le()}else z.Ve(c,a,e*wb)}}function Ub(a){!c.Uc(c.Ld(a),"nodrag")&&c.$CancelEvent(a)}function Ec(a){nc(a,1)}function nc(b,f){var d=c.Ld(b);xb=k;var g=c.Uc(d,"1",Wb);if((!g||g===s)&&!X&&(!f||b.touches.length==1)){xb=c.Uc(d,"nodrag")||!nb||!Fc();var l=c.Uc(d,i,p.Ce);if(l)Yb=c.Fb(l,p.Ce);if(f){var o=b.touches[0];Kb=o.clientX;Lb=o.clientY}else{var n=c.fg(b);Kb=n.x;Lb=n.y}A=e;eb=h;c.$AddEvent(m,f?"touchmove":"mousemove",Rb);c.Pb();T=0;sc();if(!Fb)w=0;Q=0;tb=0;ub=0;a.fb(j.kh,q(F),F,b)}}function Rb(h){if(A){var a;if(h.type!="mousemove")if(h.touches.length==1){var p=h.touches[0];a={x:p.clientX,y:p.clientY}}else jb();else a=c.fg(h);if(a){var b=a.x-Kb,d=a.y-Lb;if(w||f.abs(b)>1.5||f.abs(d)>1.5){if(f.floor(F)!=F)w=w||U&X;if((b||d)&&!w){if(X==3)if(f.abs(d)>f.abs(b))w=2;else w=1;else w=X;if(vb&&w==1&&f.abs(d)>f.abs(b)*2.4)xb=e}var o=d,j=zb;if(w==1){o=b;j=yb}if(Q-tb<-1.5)ub=0;else if(Q-tb>1.5)ub=-1;tb=Q;Q=o;Y=F-Q/j/Yb;if(!(C&1)){var m=0,l=[-F+P,0,F-g+N-P];c.M(l,function(b,c){if(b>0){var a=f.pow(b,1/1.6);a=f.tan(a*f.PI/2);m=(a-b)*(c-1)}});var i=m+Y,n=k;l=[-i+P,0,i-g+N-P];c.M(l,function(a,b){if(a>0){a=f.min(a,j);a=f.atan(a)*2/f.PI;a=f.pow(a,1.6);Y=a*(b-1)+P;if(b)Y+=g-N;n=e}});if(!n)Y=i}if(Q&&w&&!xb){c.$CancelEvent(h);if(!bb)z.Ag(Y);else z.Cg(Y)}}}}}function jb(){Cc();if(A){T=Q;c.Pb();c.Sb(m,"mousemove",Rb);c.Sb(m,"touchmove",Rb);T&&r&8&&(r=0);z.uc();A=k;var b=v.ac();a.fb(j.jh,q(b),b,q(F),F);G&12&&dc();rc(e)}}function wc(b){var a=c.Ld(b),d=c.Uc(a,"1",Gb);if(s===d)if(T){c.$StopEvent(b);while(a&&s!==a){(a.tagName=="A"||c.Fb(a,"data-jssor-button"))&&c.$CancelEvent(b);a=a.parentNode}}else r&4&&(r=0)}function Nc(c){if(c!=n){var b=ob.kc(),a=Db(c),d=f.round(q(a));if(b-a<.5)a=b;B[n];n=d;Jb=B[n];v.Bb(a)}}function Mc(b,c){w=0;Nc(b);if(r&2&&(mb>0&&n==g-1||mb<0&&!n))r=0;a.fb(j.ch,n,c)}function jc(a,b,d){if(!(C&1)){a=f.max(0,a);a=f.min(a,g-N+P);a=f.round(a)}a=q(a);c.M(gb,function(c){c.Ne(a,b,d)})}function Fc(){var b=j.yf||0,a=nb;j.yf|=a;return X=a&~b}function Cc(){if(X){j.yf&=~nb;X=0}}function mc(){var a=c.Lc();c.Cb(a,kb);return a}function q(b,a){a=a||g||1;return(b%a+a)%a}function Bb(c,a,b){r&8&&(r=0);Ab(c,wb,a,b)}function Nb(){c.M(gb,function(a){a.Se(a.md.vj<=O)})}function uc(){if(!O){O=1;Nb();if(!A){G&12&&rc();G&3&&B[n]&&B[n].Le()}}a.fb(j.fh)}function tc(){if(O){O=0;Nb();A||!(G&12)||sc()}a.fb(j.eh)}function vc(){c.M(hb,function(a){c.Cb(a,kb);c.Zc(a,"hidden");c.Wb(a)});c.Cb(Z,kb)}function Ob(b,a){Ab(b,a,e)}function Ab(n,h,o,p){if(!A&&(O||!(G&12))||d.hf){bb=e;A=k;z.uc();if(h==i)h=wb;var b=q(ob.kc()),c=n;if(o){c=b+n;c=f.round(c)}var a=c;if(!(C&1)){if(p)a=q(a);else if(C&2&&(a<0&&f.abs(b-E)<.0001||a>g-N&&f.abs(b-J)<.0001))a=a<0?J:E;a=Db(a);if(J-a<.5)a=J;if(a-E<.5)a=E}var m=(a-b)%g;a=b+m;var j=b==a?0:h*f.abs(m),l=1;if(L>1)l=(U&1?sb:rb)/W;j=f.min(j,h*l*1.5);z.Ve(b,a,j||1)}}a.qc=function(a){if(a==i)return r;if(a!=r){r=a;r&&B[n]&&B[n].Le()}};a.Oi=function(){return T};a.dc=function(){return M};a.Ec=function(){return K};a.nh=function(b){if(b==i)return Qb||M;a.xd(b,b/M*K)};a.xd=function(b,a,d){c.nb(s,b);c.jb(s,a);pc=b/M;kc=a/K;c.M(bc,function(a){a.xd(pc,kc,d)});if(!Qb){c.Rc(ab,x);c.Eb(ab,0);c.Db(ab,0)}Qb=b};a.Qi=function(a){return f.abs(a-E)<.0001};a.Ni=function(a){return f.abs(a-J)<.0001};a.zg=Ab;a.zf=function(){Ob(1)};a.Df=function(){r=0};a.dd=function(){a.qc(r||1)};a.qh=function(a){d.Hf.hc=a};a.uh=function(a){db.hc=a;db.oe=c.Pb()};a.jf=function(a){a=q(a);if(C&1){var c=R/W,b=q(ob.kc()),d=q(a-b+c),e=q(f.abs(a-b));if(d>=L){if(e>g/2)if(a>b)a-=g;else a+=g}else if(a>b&&dc)a+=g}return a};a.Dd=function(Q,p){a.Vb=s=c.$GetElement(Q);M=c.nb(s);K=c.jb(s);d=c.gb({Xc:0,yh:1,cc:1,Xe:0,qc:0,bd:1,bf:e,hf:e,af:1,Gf:3e3,Rd:1,Pd:500,Of:b.$OutQuad,Sd:20,Qd:0,ff:1,Te:1,Yd:1},p);d.bf=d.bf&&c.oh();if(d.gf!=i)d.Gf=d.gf;if(d.Hg!=i)d.$Cols=d.Hg;if(d.ef!=i)d.Pg=d.ef;U=d.Te&3;lb=d.Hf;db=c.gb({gc:y},d.Rg);qb=d.qj;cb=d.pj;S=d.rj;!d.ff;var t=c.Pc(s);c.M(t,function(a,d){var b=c.rb(a,"u");if(b=="loading")Z=a;else{if(b=="slides")x=a;if(b=="navigator")Eb=a;if(b=="arrowleft")Sb=a;if(b=="arrowright")Pb=a;if(b=="thumbnavigator")pb=a;if(a.tagName!="STYLE"&&a.tagName!="SCRIPT")bc[b||d]=new xc(a,b=="slides",c.Yf(["slides","thumbnavigator"])[b])}});Z=Z||c.Lc(m);sb=c.nb(x);rb=c.jb(x);I=d.Sg||sb;H=d.ah||rb;kb={vb:I,ub:H,$Top:0,$Left:0,ld:"block",Xb:"absolute"};fb=d.Qd;yb=I+fb;zb=H+fb;W=U&1?yb:zb;var j=U&1?sb:rb;mb=d.af;G=d.Rd;ec=d.Gf;wb=d.Pd;Mb=new Bc;if(d.bf&&(!c.Kh()||vb))Ib=function(a,b,d){c.sd(a,{pc:b,oc:d})};r=d.qc&63;a.md=p;c.Fb(s,Gb,"1");c.wb(x,c.wb(x)||0);c.lc(x,"absolute");ab=c.ic(x,e);c.Rc(ab,x);ib=new Ic;c.Hb(ab,ib.Xd);c.Zc(x,"hidden");G&=vb?10:5;var w=c.Pc(x),O=c.Yf(["DIV","A","LI"]);c.M(w,function(a){O[a.tagName.toUpperCase()]&&!c.rb(a,"u")&&hb.push(a);c.wb(a,(c.wb(a)||0)+1)});V=mc();c.Yb(V,"backgroundColor","#000");c.ee(V,0);c.wb(V,0);c.Rc(V,x.firstChild,x);g=hb.length;var o=f.ceil((j+fb)/W);if(d.$Cols)o=d.$Cols;L=f.min(g,o);N=(j+fb)/W;hc=L1&&Hb&&(!c.jg()||c.Uf()>=9)}if(!(C&1)){P=R/W;E=P;J=E+g-N}nb=(L>1||R?U:-1)&d.Yd;Tb.bg&&c.Yb(x,Tb.bg,([h,"pan-y","pan-x","none"])[nb]||"");if(fc)D=new Hb(Mb,I,H,lb,vb,Ib);for(var k=0;k0&&a!=n.$HORIZONTAL||b>0&&b!=n.$VERTICAL},Nf:function(){var a=0;if(this.x>0)a=1;if(this.x<0)a=2;var b=n.Wc(this.$Clip);return a>0&&a!=n.$HORIZONTAL||b>0&&b!=n.$HORIZONTAL},xf:function(){var a=0;if(this.y>0)a=4;if(this.y<0)a=8;var b=n.Yc(this.$Clip);return a>0&&a!=n.$VERTICAL||b>0&&b!=n.$VERTICAL}},y={$Duration:200,$Delay:200,$Top:k,$Right:k,$Bottom:k,$Left:k,$Fade:k,$Zoom:0,$Rotate:0,$Clip:0,$Move:k,$FlyDirection:0,$Easing:b.$Swing,De:function(){var a=n.Wc(this.$Clip),b=n.Yc(this.$Clip);return a>0&&a!=n.$HORIZONTAL||b>0&&b!=n.$VERTICAL}};function p(a,b){c.M(b,function(b,e){var d=c.$GetElement(b.o);if(d)if(b.C==m)a[e]=d.checked;else if(b.C!=o)a[e]=d.value});return a}function C(b,a){c.M(b,function(b){var d=c.$GetElement(b.o);if(d)if(b.C==i)c.$AddEvent(d,"keyup",a);else if(b.C==m)c.$AddEvent(d,"click",a);else b.C!=o&&c.$AddEvent(d,"change",a)})}function u(){var d=this;d.Sf=c.Jc;d.yd=c.Jc;d.zd=c.Jc;d.Cc=h;d.B=h;function k(a){var b=c.$GetElement(d.B.Ob.o);c.M(d.sf,function(f,g){var i=g,d=c.Pe("OPTION"),e=h;e=r.Tc(f,a,"");d.value=e;c.Od(d,i);b.appendChild(d)})}function g(a){return f.round(a*1e3)/1e3}function i(c,d){var b=parseFloat(c),a=parseFloat(d);if(!isNaN(b)&&!isNaN(a)){a=g(a-b);if(a>0)if(b!=0||a!=1)return[b,a]}}function l(d,a){d.$Delay=c.Rb(a.$Delay);d.$Duration=c.Rb(a.$Duration);var D=c.Rb(a.cf)||0,E=c.Rb(a.ie)||0,w=c.lb(a.$Clip),k,f=0,l=0,v=0,g;if(a.$Fade){k=c.lb(a.Hc);if(k)k+=1}var O=c.Rb(a.$Cols||"1",10)*c.Rb(a.$Rows||"1",10)<=2;if(O){var P=c.lb(a.Vc);if(a.$Zoom&&c.Ab(P))f=P+1;if(f==2)f=0;var M=c.lb(a.Fc);if(a.$Rotate&&c.Ab(M))l=M}var N=c.lb(a.Hd);if(a.$ZIndex&&c.Ab(N))v=N;if((f||l)&&!O)w=0;if(D){d.x=c.lb(a.x)||1;if(D&2)d.x*=-1}if(E){d.y=c.lb(a.y)||1;if(E&8)d.y*=-1}if(w)d.$ScaleClip=c.lb(a.$ScaleClip);d.$Clip=w;if(d.De())d.$Move=a.$Move;if(k)d.$Opacity=k;if(l)d.$Rotate=l;if(f)d.$Zoom=f;if(v)d.$ZIndex=v;d.$Outside=a.$Outside;var K,L,I,J,G,F,H;if(D)K=i(a.df,a.Ze);if(E)L=i(a.le,a.ke);if(w)I=i(a.ge,a.fe);if(f)J=i(a.de,a.he);if(l)G=i(a.je,a.ce);if(v)H=i(a.ae,a.Ae);if(k)F=i(a.Be,a.ze);if(K||L||I||J||G||F||H){g={};if(K)g.$Left=K;if(L)g.$Top=L;if(I)g.$Clip=I;if(J)g.$Zoom=J;if(G)g.$Rotate=G;if(F)g.$Opacity=F;if(H)g.$ZIndex=H;d.$During=g}var x=c.lb(a.Td),y=c.lb(a.Wd),B=c.lb(a.Ad),C=c.lb(a.wd),z=c.lb(a.Id),A=c.lb(a.Ed);if(x==1)x=0;if(y==1)y=0;if(B=1)B=0;if(!f||C==1)C=0;if(!l||z==1)z=0;if(!v||A==1)A=0;var m;if(x||y||B||C||z||A){m={};if(x)m.$Left=x;if(y)m.$Top=y;if(B)m.$Clip=B;if(C)m.$Zoom=C;if(z)m.$Rotate=z;if(A)m.$ZIndex=A}d.$Round=m;var n=D?eval(a.Vd):h,o=E?eval(a.Nd):h,r=w?eval(a.Bd):h,u=f?eval(a.td):h,t=k?eval(a.Jd):h,p=l?eval(a.Md):h,q=v?eval(a.Fd):h,e;if(n||o||r||u||t||p||q){var j=n||o||r||u||t||p||q;if((!D||n==j)&&(!E||o==j)&&(!w||r==j)&&(!f||u==j)&&(!l||p==j)&&(!k||t==j)&&(!v||q==j))e=j;else{if(n==b.$Swing)n=h;if(o==b.$Swing)o=h;if(r==b.$Swing)r=h;if(u==b.$Swing)u=h;if(t==b.$Swing)t=h;if(p==b.$Swing)p=h;if(q==b.$Swing)q=h;e={};if(n)e.$Left=n;if(o)e.$Top=o;if(r)e.$Clip=r;if(u)e.$Zoom=u;if(t)e.$Opacity=t;if(p)e.$Rotate=p;if(q)e.$ZIndex=q}}d.$Easing=e;d=s(d);return d}function v(a,f){a.$Delay=f.$Delay+"";a.$Duration=f.$Duration+"";if(f.x>0){a.cf=1;a.x=f.x}else if(f.x<0){a.cf=2;a.x=-f.x}else a.x="";if(f.y>0){a.ie=4;a.y=f.y}else if(f.y<0){a.ie=8;a.y=-f.y}else a.y="";a.$ScaleClip=f.$ScaleClip||"";if(f.$Zoom&&c.Ab(f.$Zoom)){a.Vc=f.$Zoom-1;a.$Zoom=e}else if(f.$Zoom==e){a.Vc=2;a.$Zoom=e}else a.Vc="";if(f.$Rotate&&c.Ab(f.$Rotate)){a.Fc=f.$Rotate;a.$Rotate=e}else if(f.$Rotate==e){a.Fc=1;a.$Rotate=e}else a.Fc="";if(f.$ZIndex&&c.Ab(f.$ZIndex)){a.Hd=f.$ZIndex;a.$ZIndex=e}else a.Hd="";if(f.$Opacity){a.$Fade=e;a.Hc=f.$Opacity-1}else if(f.$Fade){a.$Fade=e;a.Hc=1}else a.Hc="";var k=f.$During||{},t=k.$Left||[0,1];if(t){a.df=t[0];a.Ze=g(t[1]+t[0])}var u=k.$Top||[0,1];if(u){a.le=u[0];a.ke=g(u[1]+u[0])}var q=k.$Clip||[0,1];if(q){a.ge=q[0];a.fe=g(q[1]+q[0])}var s=k.$Zoom||[0,1];if(s){a.de=s[0];a.he=g(s[1]+s[0])}var o=k.$Rotate||[0,1];if(o){a.je=o[0];a.ce=g(o[1]+o[0])}var p=k.$ZIndex||[0,1];if(p){a.ae=p[0];a.Ae=g(p[1]+p[0])}var r=k.$Opacity||[0,1];if(r){a.Be=r[0];a.ze=g(r[1]+r[0])}var l=f.$Round;if(l){a.Td=l.$Left+"";a.Wd=l.$Top+"";a.Ad=l.$Clip+"";a.wd=l.$Zoom+"";a.Id=l.$Rotate+"";a.Ed=l.$ZIndex+""}var v,w,z,B,A,x,y,h=f.$Easing;if(c.Mc(h))v=w=z=B=A=x=y=h;else if(f){v=h.$Left||h.kb;w=h.$Top||h.kb;z=h.$Clip||h.kb;A=h.$Opacity||h.kb;x=h.$Rotate||h.kb;B=h.$Zoom||h.kb;y=h.$ZIndex||h.kb}for(var C in b){var j=b[C],i="$Jease$."+C;if(v==j)a.Vd=i;if(w==j)a.Nd=i;if(z==j)a.Bd=i;if(B==j)a.td=i;if(A==j)a.Jd=i;if(x==j)a.Md=i;if(y==j)a.Fd=i}var m=f.$Clip||0;m|=f.$Top?n.$TO_TOP:0;m|=f.$Left?n.$TO_LEFT:0;m|=f.$Bottom?n.$TO_BOTTOM:0;m|=f.$Right?n.$TO_RIGHT:0;a.$Clip=m;a.$Move=f.$Move;a.$Outside=f.$Outside;a.ec=d.ve(f);return a}function t(){var a=p({},d.B),b=r.Ye(a.ec);d.yd(b)}function x(j){var i=j.id;if(i==d.B.ec.o){var a;try{var k=c.$GetElement(d.B.ec.o),h=k.value;a=r.Ye(h);a=c.gb({},q,a);a=s(a);d.uf(a);d.re(a)}catch(l){}d.se(a)}else{var f=p({},d.B),b=c.gb({},d.Cc);b=d.Ai(b,f);if(d.B.Ob){var g=c.$GetElement(d.B.Ob.o);g.value=""}d.nf(b);d.re(b,f);d.se(e)}}var j;function y(b){if(b.ctrlKey)return;j=!j;if(j){var a=c.Ld(b);try{(!d.zd||!d.zd(a))&&x(a)}catch(e){j=!j;throw e;}}j=!j}function z(b,e){c.M(e,function(f,g){var e=c.$GetElement(f.o);if(e)if(e.id!=d.B.Ob.o&&e.id!=d.B.ec.o)if(f.C==m)e.checked=b[g];else if(f.C!=o&&f.C!=a)e.value=b[g]})}function u(){for(var f=[d.B.Vd,d.B.Nd,d.B.Bd,d.B.td,d.B.Jd,d.B.Md,d.B.Fd],a=0;a=0){t=jb;g=q(o.substring(d+8))}else if(b>=0){var i=o.substring(0,b).lastIndexOf("/");t=f>=0?lb:mb;g=q(o.substring(i+1,b))}else{var a=/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/i.exec(o);if(a){t=N;g=u=q(a[1])}}if(c>=0)B=q(o.substring(c+12))}else{var a=/(opera)(?:.*version|)[ \/]([\w.]+)/i.exec(o);if(a){t=pb;g=q(a[2])}}}return h==t}function r(){return w(N)}function ib(){return r()&&(g<6||m.compatMode=="BackCompat")}function Bb(){return w(jb)}function kb(){return w(mb)}function ob(){return w(pb)}function eb(){return kb()&&B>534&&B<535}function I(){w();return B>537||g>42||t==N&&g>=11}function gb(){return r()&&g<9}function fb(a){var b,c;return function(f){if(!b){b=e;var d=a.substr(0,1).toUpperCase()+a.substr(1);n([a].concat(["WebKit","ms","Moz","O","webkit"]),function(g,e){var b=a;if(e)b=g+d;if(f.style[b]!=i)return c=b})}return c}}function db(b){var a;return function(c){a=a||fb(b)(c)||b;return a}}var P=db("transform");function tb(a){return{}.toString.call(a)}var qb={};n(["Boolean","Number","String","Function","Array","Date","RegExp","Object"],function(a){qb["[object "+a+"]"]=a.toLowerCase()});function n(b,d){var a,c;if(tb(b)=="[object Array]"){for(a=0;a-1;f--){var d=b[f],e=Y(i);y(e,y(d));c.kg(e,d.style.cssText);c.Rc(e,d);c.jd(d)}return a};function Gb(a){var k=this,p="",r=["av","pv","ds","dn"],e=[],q,j=0,g=0,f=0;function h(){K(a,q,(e[f||g&2||g]||"")+" "+(e[j]||""));c.Yb(a,"pointer-events",f?"none":"")}function b(){j=0;h();d.Sb(m,"mouseup",b);d.Sb(m,"touchend",b);d.Sb(m,"touchcancel",b)}function o(a){if(f)d.$CancelEvent(a);else{j=4;h();d.$AddEvent(m,"mouseup",b);d.$AddEvent(m,"touchend",b);d.$AddEvent(m,"touchcancel",b)}}k.eg=function(a){if(a===i)return g;g=a&2||a&1;h()};k.hd=function(a){if(a===i)return!f;f=a?0:3;h()};k.Vb=a=d.$GetElement(a);F(a,"data-jssor-button","1");var l=c.Hi(y(a));if(l)p=l.shift();n(r,function(a){e.push(p+a)});q=cb(" ",e);e.unshift("");d.$AddEvent(a,"mousedown",o);d.$AddEvent(a,"touchstart",o)}d.ed=function(a){return new Gb(a)};d.Yb=x;d.Zc=j("overflow");d.Eb=j("top",2);d.gi=j("right",2);d.hi=j("bottom",2);d.Db=j("left",2);d.nb=j("width",2);d.jb=j("height",2);d.tg=j("marginLeft",2);d.Zg=j("marginTop",2);d.lc=j("position");d.Qc=j("display");d.wb=j("zIndex",1);d.ee=function(b,a,c){if(a!=i)Fb(b,a,c);else return Db(b)};d.kg=function(a,b){if(b!=i)a.style.cssText=b;else return a.style.cssText};d.Th=function(b,a){if(a===i){a=x(b,"backgroundImage")||"";var c=/\burl\s*\(\s*["']?([^"'\r\n,]+)["']?\s*\)/gi.exec(a)||[];return c[1]}x(b,"backgroundImage",a?"url('"+a+"')":"")};var L;d.Uh=L={$Opacity:d.ee,$Top:d.Eb,$Right:d.gi,$Bottom:d.hi,$Left:d.Db,vb:d.nb,ub:d.jb,Xb:d.lc,ld:d.Qc,$ZIndex:d.wb};d.gg=function(c,b){var a={};n(b,function(d,b){if(L[b])a[b]=L[b](c)});return a};function s(g,l){var e=gb(),b=I(),c=eb(),j=P(g);function k(b,c,a){var d=b.tc(p(-c/2,-a/2)),e=b.tc(p(c/2,-a/2)),g=b.tc(p(c/2,a/2)),h=b.tc(p(-c/2,a/2));b.tc(p(300,300));return p(f.min(d.x,e.x,g.x,h.x)+c/2,f.min(d.y,e.y,g.y,h.y)+a/2)}function a(f,a){a=a||{};var n=a.Zb||0,p=(a.fc||0)%360,q=(a.jc||0)%360,u=(a.$Rotate||0)%360,l=a.Gb,m=a.Jb,g=a.oj;if(l==i)l=1;if(m==i)m=1;if(g==i)g=1;if(e){n=0;p=0;q=0;g=0}var c=new Cb(a.pc,a.oc,n);c.fc(p);c.jc(q);c.Sh(u);c.Vh(a.Cd,a.vd);c.zc(l,m,g);if(b){c.$Move(a.xb,a.zb);f.style[j]=c.Yh()}else if(!A||A<9){var o="",h={x:0,y:0};if(a.dc)h=k(c,a.dc,a.Ec);d.Zg(f,h.y);d.tg(f,h.x);o=c.Zh();var s=f.style.filter,t=new RegExp(/[\s]*progid:DXImageTransform\.Microsoft\.Matrix\([^\)]*\)/g),r=D(s,[t],o);U(f,r)}}s=function(f,e){e=e||{};var j=e.xb,k=e.zb,g;n(L,function(a,b){g=e[b];g!==i&&a(f,g)});d.Vi(f,e.$Clip);if(!b){j!=i&&d.Db(f,(e.hg||0)+j);k!=i&&d.Eb(f,(e.ig||0)+k)}if(e.Wh)if(c)yb(d.Ib(h,R,f,e));else a(f,e)};d.sd=R;if(c)d.sd=s;if(e)d.sd=a;else if(!b)a=R;d.Cb=s;s(g,l)}d.sd=s;d.Cb=s;function Cb(j,k,o){var c=this,b=[1,0,0,0,0,1,0,0,0,0,1,0,j||0,k||0,o||0,1],i=f.sin,g=f.cos,l=f.tan;function e(a){return a*f.PI/180}function n(a,b){return{x:a,y:b}}function m(b,c,f,g,i,l,n,o,q,t,u,w,y,A,C,F,a,d,e,h,j,k,m,p,r,s,v,x,z,B,D,E){return[b*a+c*j+f*r+g*z,b*d+c*k+f*s+g*B,b*e+c*m+f*v+g*D,b*h+c*p+f*x+g*E,i*a+l*j+n*r+o*z,i*d+l*k+n*s+o*B,i*e+l*m+n*v+o*D,i*h+l*p+n*x+o*E,q*a+t*j+u*r+w*z,q*d+t*k+u*s+w*B,q*e+t*m+u*v+w*D,q*h+t*p+u*x+w*E,y*a+A*j+C*r+F*z,y*d+A*k+C*s+F*B,y*e+A*m+C*v+F*D,y*h+A*p+C*x+F*E]}function d(c,a){return m.apply(h,(a||b).concat(c))}c.zc=function(a,c,e){if(a!=1||c!=1||e!=1)b=d([a,0,0,0,0,c,0,0,0,0,e,0,0,0,0,1])};c.$Move=function(a,c,d){b[12]+=a||0;b[13]+=c||0;b[14]+=d||0};c.fc=function(c){if(c){a=e(c);var f=g(a),h=i(a);b=d([1,0,0,0,0,f,h,0,0,-h,f,0,0,0,0,1])}};c.jc=function(c){if(c){a=e(c);var f=g(a),h=i(a);b=d([f,0,-h,0,0,1,0,0,h,0,f,0,0,0,0,1])}};c.Sh=function(c){if(c){a=e(c);var f=g(a),h=i(a);b=d([f,h,0,0,-h,f,0,0,0,0,1,0,0,0,0,1])}};c.Vh=function(a,c){if(a||c){j=e(a);k=e(c);b=d([1,l(k),0,0,l(j),1,0,0,0,0,1,0,0,0,0,1])}};c.tc=function(c){var a=d(b,[1,0,0,0,0,1,0,0,0,0,1,0,c.x,c.y,0,1]);return n(a[12],a[13])};c.Yh=function(){return"matrix3d("+b.join(",")+")"};c.Zh=function(){return"progid:DXImageTransform.Microsoft.Matrix(M11="+b[0]+", M12="+b[4]+", M21="+b[1]+", M22="+b[5]+", SizingMethod='auto expand')"}}new(function(){var a=this;function b(d,g){for(var j=d[0].length,i=d.length,h=g[0].length,f=[],c=0;c=11&&(k.xb||k.zb)&&s!=0&&s!=1)a.$Rotate=a.$Rotate||1e-8;a.Wh=e}}if(k.$Clip&&o.$Move){var p=a.$Clip.od,v=(p.$Top||0)+(p.$Bottom||0),u=(p.$Left||0)+(p.$Right||0);a.$Left=(a.$Left||0)+u;a.$Top=(a.$Top||0)+v;a.$Clip.$Left-=u;a.$Clip.$Right-=u;a.$Clip.$Top-=v;a.$Clip.$Bottom-=v}if(a.$Clip&&!a.$Clip.$Top&&!a.$Clip.$Left&&!a.$Clip.zb&&!a.$Clip.xb&&a.$Clip.$Right==o.dc&&a.$Clip.$Bottom==o.Ec)a.$Clip=h;return a}};function t(){var a=this,d=[];function h(a,b){d.push({we:a,pe:b})}function g(a,b){c.M(d,function(c,e){c.we==a&&c.pe===b&&d.splice(e,1)})}a.Kc=a.addEventListener=h;a.removeEventListener=g;a.fb=function(a){var b=[].slice.call(arguments,1);c.M(d,function(c){c.we==a&&c.pe.apply(l,b)})}}var o=l.$JssorAnimator$=function(A,D,g,L,O,J){A=A||0;var a=this,p,m,n,t,B=0,H,I,G,C,z=0,h=0,j=0,y,i,b,d,o,x,v=[],w;function P(a){b+=a;d+=a;i+=a;h+=a;j+=a;z+=a}function s(p){var k=p;if(o)if(!x&&(k>=d||k=b)k=((k-b)%o+o)%o+b;if(!y||t||h!=k){var l=f.min(k,d);l=f.max(l,b);if(!y||t||l!=j){if(J){var m=(l-i)/(D||1);if(g.$Reverse)m=1-m;var n=c.Xf(O,J,m,H,G,I,g);if(w)c.M(n,function(b,a){w[a]&&w[a](L,b)});else c.Cb(L,n)}a.te(j-i,l-i);var r=j,q=j=l;c.M(v,function(b,c){var a=!y&&x||k<=h?v[v.length-c-1]:b;a.Bb(j-z)});h=k;y=e;a.ad(r,q)}}}function E(a,c,e){c&&a.$Shift(d);if(!e){b=f.min(b,a.cd()+z);d=f.max(d,a.sc()+z)}v.push(a)}var u=l.requestAnimationFrame||l.webkitRequestAnimationFrame||l.mozRequestAnimationFrame||l.msRequestAnimationFrame;if(c.bh()&&c.Uf()<7||!u)u=function(a){c.$Delay(a,g.$Interval)};function K(){if(p){var b=c.Pb(),d=f.min(b-B,g.og),a=h+d*n;B=b;if(a*n>=m*n)a=m;s(a);if(!t&&a*n>=m*n)M(C);else u(K)}}function r(g,i,j){if(!p){p=e;t=j;C=i;g=f.max(g,b);g=f.min(g,d);m=g;n=m=0&&f=0&&h=0&&e=0&&ff||d>h){switch(e){case j:case m:a++;break;case k:case l:case o:case i:b++;break;case p:case n:default:a--}if(a<0||b<0||a>f||b>h){switch(e){case j:case m:a=f;b++;break;case o:case i:b=h;a++;break;case k:case l:b=h;a--;break;case p:case n:default:a=0;b++}if(b>h)b=h;else if(b<0)b=0;else if(a>f)a=f;else if(a<0)a=0}d=b;c=a}}return r};h.$FormationRectangle=function(e){var c=e.$Cols||1,d=e.$Rows||1,h=[],a,b,i;i=f.round(f.min(c/2,d/2))+1;for(a=0;a1||a.$Clip;if(a.$Zoom||a.$Rotate){var J=e;if(J){b.$Zoom=a.$Zoom?a.$Zoom-1:1;d.$Zoom=1;var N=a.$Rotate||0;b.$Rotate=N*360*(x?-1:1);d.$Rotate=0}}if(K){var i=t.od={};if(a.$Clip){var w=a.$ScaleClip||1;if(C&&z){i.$Top=g.ub/2*w;i.$Bottom=-i.$Top}else if(C)i.$Bottom=-g.ub*w;else if(z)i.$Top=g.ub*w;if(B&&A){i.$Left=g.vb/2*w;i.$Right=-i.$Left}else if(B)i.$Right=-g.vb*w;else if(A)i.$Left=g.vb*w}r.$Clip=t;d.$Clip=g[v]}var L=o?1:-1,M=s?1:-1;if(a.x)b.xb+=n*a.x*L;if(a.y)b.zb+=l*a.y*M;c.M(b,function(a,b){if(c.Ab(a))if(a!=d[b])r[b]=a-d[b]});u[v]=j?d:b;var D=a.di,y=f.round(m*a.$Delay/a.$Interval);h[v]=new Array(y);h[v].dj=y;h[v].Zi=y+D-1;for(var F=0;F<=D;F++){var E=c.Xf(d,r,F/D,a.$Easing,a.$During,a.$Round,{$Move:a.$Move,dc:n,Ec:l});E.$ZIndex=E.$ZIndex||1;h[v].push(E)}})});o.reverse();c.M(o,function(a){c.M(a,function(b){var f=b[0],e=b[1],d=f+","+e,a=i;if(e||f)a=c.ic(i);c.Cb(a,u[d]);c.Zc(a,"hidden");c.lc(a,"absolute");z.Wi(a);m[d]=a;c.yb(a,!j)})})}function w(){var a=this,b=0;o.call(a,0,v);a.ad=function(c,a){if(a-b>j){b=a;d&&d.qd(a);i&&i.qd(a)}};a.Ue=q}a.Yi=function(){var a=0,b=u.hc,c=b.length;if(x)a=y++%c;else a=f.floor(f.random()*c);b[a]&&(b[a].mc=a);return b[a]};a.Sf=function(x,y,h,k,b,t){a.rc();q=b;b=l(b,j,t);var g=k.Lf,e=h.Lf;g["no-image"]=!k.rd;e["no-image"]=!h.rd;var o=g,s=e,w=b,c=b.$Brother||l({},j,t);if(!b.$SlideOut){o=e;s=g}var u=c.$Shift||0;i=new n(m,s,c,f.max(u-c.$Interval,0),r,p);d=new n(m,o,w,f.max(c.$Interval-u,0),r,p);i.qd(0);d.qd(0);v=f.max(i.Af,d.Af);a.mc=x};a.rc=function(){m.rc();i=h;d=h};a.ej=function(){var a=h;if(d)a=new w;return a};if(z&&c.Ph()<537)j=16;t.call(a);o.call(a,-1e7,1e7)},u={pd:1};l.$JssorBulletNavigator$=function(a,E){var d=this;t.call(d);a=c.$GetElement(a);var s,C,B,r,l=0,b,m,j,y,z,i,g,o,n,D=[],A=[];function x(a){a!=-1&&A[a].eg(a==l)}function v(a){d.fb(u.pd,a*m)}d.Vb=a;d.Ne=function(a){if(a!=r){var c=l,b=f.floor(a/m);l=b;r=a;x(c);x(b)}};d.Se=function(b){c.yb(a,b)};var w;d.Re=function(x){if(!w){s=f.ceil(x/m);l=0;var q=o+y,r=n+z,p=f.ceil(s/j)-1;C=o+q*(!i?p:j-1);B=n+r*(i?p:j-1);c.nb(a,C);c.jb(a,B);for(var d=0;d=A)c-=x%b;i.fb(u.pd,c,k,e)}}g.mc=f;g.of=p;l=n.Ei||n.rd||c.Lc();g.Xd=d=c.dg(s,"thumbnailtemplate",l,e);m=c.ed(d);a.Nc&1&&c.$AddEvent(d,"click",c.Ib(h,j,0));a.Nc&2&&c.$AddEvent(d,"mouseenter",c.Ib(h,j,1))}i.Ne=function(a,e,d){if(a!=o){var c=o;o=a;c!=-1&&y[c].of();y[a].of()}!d&&r.zg(r.jf(f.floor(a/b)))};i.Se=function(a){c.yb(d,a)};var C;i.Re=function(H,I){if(!C){x=H;A=f.ceil(x/b);o=-1;var h=a.nc&1,s=w+(w+m)*(b-1)*(1-h),q=v+(v+n)*(b-1)*h,u=(h?f.max:f.min)(B,s),t=(h?f.min:f.max)(z,q);l=l||f.ceil((B+m)/(w+m)*h+(z+n)/(v+n)*(1-h));l=f.min(l,A);var F=s+(s+m)*(l-1)*h,E=q+(q+n)*(l-1)*(1-h);u=f.min(u,F);t=f.min(t,E);c.lc(g,"absolute");c.Zc(g,"hidden");c.nb(g,u);c.jb(g,t);c.Me(g,3);var p=[];c.M(I,function(k,e){var i=new D(k,e),d=i.Xd,a=f.floor(e/b),j=e%b;c.Db(d,(w+m)*j*(1-h));c.Eb(d,(v+n)*j*h);if(!p[a]){p[a]=c.Lc();c.Hb(g,p[a])}c.Hb(p[a],d);y.push(i)});var G=c.gb({qc:0,hf:k,Sg:s,ah:q,Qd:m*h+n*(1-h),Sd:12,Pd:200,Rd:1,Te:a.nc,Yd:a.Og||a.uj?0:a.nc},a);r=new j(d,G);i.Qg=r.Qg;C=e}};i.md=a=c.gb({We:0,Ie:0,nc:1,Nc:1},E);B=c.nb(d);z=c.jb(d);g=c.Sc(d,"slides",e);s=c.Sc(g,"prototype");w=c.nb(s);v=c.jb(s);c.jd(s,g);b=a.$Rows||1;m=a.We;n=a.Ie;l=a.$Cols;a.zc==k&&q.Tb(d,p.Ic,1);a.Nb&=a.nc;a.Nb&&q.Tb(d,p.Dc,a.Nb);q.nd(d)};function y(e,d,b){var a=this;o.call(a,0,b);a.mf=c.Jc;a.kf=0;a.Mf=b}l.$JssorCaptionSlideo$=function(t,k,B,E){var a=this,u,n={},v=k.hc,r=k.tj,l=new o(0,0),p=[],g=[],D=E,d=D?1e8:0;o.call(a,0,0);function q(d,b){var a={};c.M(d,function(d,f){var e=n[f];if(e){if(c.Zd(d))d=q(d,b||f=="e");else if(b)if(c.Ab(d))d=u[d];a[e]=d}});return a}function s(d,e){var a=[],b=c.Pc(d);c.M(b,function(b){var d=v[c.Ub(b,"t")];d&&a.push({Vb:b,Ue:d});a=a.concat(s(b,e+1))});return a}function m(b,e){var a=p[b];if(a==h){a=p[b]={bc:b,Qe:[],Kf:[]};var d=0;!c.M(g,function(a,c){d=c;return a.bc>b})&&d++;g.splice(d,0,a)}return a}function y(s,t,g){var a,b;if(r){var l=r[c.Ub(s,"c")];if(l){a=m(l.r,0);a.Ug=l.e||0}}c.M(t,function(i){var h=c.gb(e,{},q(i)),j=c.Ee(h.$Easing);delete h.$Easing;if(h.$Left){h.xb=h.$Left;j.xb=j.$Left;delete h.$Left}if(h.$Top){h.zb=h.$Top;j.zb=j.$Top;delete h.$Top}var n={$Easing:j,dc:g.vb,Ec:g.ub},k=new o(i.b,i.d,n,s,g,h);d=f.max(d,i.b+i.d);if(a){if(!b)b=new o(i.b,0);b.Lb(k)}else{var l=m(i.b,i.b+i.d);l.Qe.push(k)}g=c.ti(g,h)});if(a&&b){b.ri();var i=b,k,j=b.cd(),n=b.sc(),p=f.max(n,a.Ug);if(a.bcj){i=new o(j,a.bc-j);i.Lb(b,e)}else i=h;k=new o(a.bc,p-j,{qe:p-a.bc,yi:e});k.Lb(b,e)}i&&a.Qe.push(i);k&&a.Kf.push(k)}return g}function x(a){c.M(a,function(f){var a=f.Vb,e=c.nb(a),d=c.jb(a),b={$Left:c.Db(a),$Top:c.Eb(a),xb:0,zb:0,$Opacity:1,$ZIndex:c.wb(a)||0,$Rotate:0,fc:0,jc:0,Gb:1,Jb:1,pc:0,oc:0,Zb:0,Cd:0,vd:0,vb:e,ub:d,$Clip:{$Top:0,$Right:e,$Bottom:d,$Left:0}};b.hg=b.$Left;b.ig=b.$Top;y(a,f.Ue,b)})}function A(f,d,g){var c=f.b-d;if(c){var b=new o(d,c);b.Lb(l,e);b.$Shift(g);a.Lb(b)}a.lf(f.d);return c}function z(e){var b=l.cd(),d=0;c.M(e,function(e,f){e=c.gb({d:3e3},e);A(e,b,d);b=e.b;d+=e.d;if(!f||e.t==2){a.kf=b;a.Mf=b+e.d}})}function j(k,b,e){var g=b.length;if(g>4)for(var l=f.ceil(g/4),a=0;a0&&t<1){var v=f.min(q,o);l=f.min(l/v,1/(1-t))*v}}else s=r=l=f.pow(O1e-5){var d=f.floor(b);if(d!=b&&b>c&&(C&1||b>D))d++;jc(d,g,e)}a.fb(j.yg,g,q(c),b,c)}}function Jc(){var a=this;o.call(a,0,0,{qe:g});c.M(B,function(b){C&1&&b.li(g);a.ue(b);b.$Shift(L/S)})}function Ic(){var a=this,c=Mb.Vb;o.call(a,-1,2,{$Easing:b.$Linear,Bi:{Xb:oc},qe:g},c,{Xb:1},{Xb:-2});a.Xd=c}function Ac(p,m){var b=this,f,g,i,l,c;o.call(b,-1e8,2e8,{og:100});b.ng=function(){bb=e;eb=h;a.fb(j.xg,q(v.ac()),v.ac())};b.mg=function(){bb=k;l=k;var b=v.vg();a.fb(j.Eg,q(v.ac()),v.ac());if(!A){Mc(b.wg,n);(!b.Xb||b.ug)&&jc(n,b.ld)}};b.ad=function(h,e){var a;if(l)a=c;else{a=g;if(i){var b=e/i;a=d.Of(b)*(g-f)+f}}v.Bb(a)};b.Ve=function(a,d,c,e){f=a;g=d;i=c;v.Bb(a);b.Bb(0);b.lg(c,e)};b.Ag=function(a){l=e;c=a;b.dd(a,h,e)};b.Cg=function(a){c=a};v=new Kc;v.Lb(p);v.Lb(m)}function Bc(){var b=this,a=mc();c.wb(a,0);c.Yb(a,"pointerEvents","none");b.Vb=a;b.Wi=function(b){c.Hb(a,b);c.yb(a)};b.rc=function(){c.Wb(a);c.Oe(a)}}function Hc(p,i){var b=this,u,K,w,m,x=[],F,y,R,G,P,C,H,l,v,s;o.call(b,-N,N+1,{});function A(a){u&&u.mf();Q(p,a,0);C=e;u=new db.gc(p,db,c.Ub(p,"idle",ec),!r);u.Bb(0)}function T(){u.oeJ||f>I)){var h=k,q=J/I*f/g;if(d.Xc&1)h=q>1;else if(d.Xc&2)h=q<1;n=h?g*I/f:J;l=h?I:f*J/g}c.nb(m,n);c.jb(m,l);c.Eb(m,(I-l)/2);c.Db(m,(J-n)/2)}c.lc(m,"absolute");a.fb(j.Dh,i)}}c.Wb(r);p&&p(b)}function S(f,c,d,e){if(e==eb&&n==i&&r)if(!Lc){var a=q(f);E.Sf(a,i,c,b,d,I/J);c.Fh();ib.$Shift(a-ib.cd()-1);ib.Bb(a);z.Ve(a,a,0)}}function W(b){if(b==eb&&n==i){if(!l){var a=h;if(E)if(E.mc==i)a=E.ej();else E.rc();T();l=new Gc(p,i,a,u);l.Tf(s)}!l.qf()&&l.Ke()}}function D(a,e,m){if(a==i){if(a!=e)B[e]&&B[e].Rf();else!m&&l&&l.wh();s&&s.hd();var n=eb=c.Pb();b.Oc(c.Ib(h,W,n))}else{var k=f.min(i,a),j=f.max(i,a),p=f.min(j-k,k+g-j),o=N+d.yh-1;(!P||p<=o)&&b.Oc()}}function X(){if(n==i&&l){l.uc();s&&s.Ah();s&&s.zh();l.Pf()}}function Y(){n==i&&l&&l.uc()}function V(b){!U&&a.fb(j.Nh,i,b)}function O(){s=v.pInstance;l&&l.Tf(s)}b.Oc=function(d,b){b=b||w;if(x.length&&!G){c.yb(b);if(!R){R=e;a.fb(j.Mh,i);c.M(x,function(a){if(!c.Fb(a,"src")){a.src=c.rb(a,"src2")||"";c.Qc(a,a["display-origin"])}})}c.bi(x,m,c.Ib(h,M,d,b))}else M(d,b)};b.Oh=function(){if(g==1){b.Rf();D(i,i)}else{var a;if(E)a=E.Yi(g);if(a){var f=eb=c.Pb(),d=i+mb,e=B[q(d)];return e.Oc(c.Ib(h,S,d,e,a,f),w)}else Ob(mb)}};b.Le=function(){D(i,i,e)};b.Rf=function(){s&&s.Ah();s&&s.zh();b.Qf();l&&l.Ih();l=h;A()};b.Fh=function(){c.Wb(p)};b.Qf=function(){c.yb(p)};b.Jh=function(){s&&s.hd()};function Q(a,f,b,h){if(c.Fb(a,Gb))return;if(!C){if(a.tagName=="IMG"){x.push(a);if(!c.Fb(a,"src")){P=e;a["display-origin"]=c.Qc(a);c.Wb(a)}}var d=c.Th(a);if(d){var g=new Image;c.rb(g,"src2",d);x.push(g)}b&&c.wb(a,(c.wb(a)||0)+1)}var i=c.Pc(a);c.M(i,function(a){var d=a.tagName,g=c.rb(a,"u");if(g=="player"&&!v){v=a;if(v.pInstance)O();else c.$AddEvent(v,"dataavailable",O)}if(g=="caption"){if(f){c.Dg(a,c.rb(a,"to"));c.sg(a,c.rb(a,"bf"));H&&c.rb(a,"3d")&&c.Tg(a,"preserve-3d")}}else if(!C&&!b&&!m){if(d=="A"){if(c.rb(a,"u")=="image")m=c.Mi(a,"IMG");else m=c.Sc(a,"image",e);if(m){F=a;c.Cb(F,kb);y=c.ic(F,e);c.ee(y,0);c.Yb(y,"backgroundColor","#000")}}else if(d=="IMG"&&c.rb(a,"u")=="image")m=a;if(m){m.border=0;c.Cb(m,kb)}}Q(a,f,b+1,h)})}b.te=function(c,b){var a=N-b;oc(K,a)};b.mc=i;t.call(b);H=c.rb(p,"p");c.Wg(p,H);c.Yg(p,c.rb(p,"po"));var L=c.Sc(p,"thumb",e);if(L){b.Ei=c.ic(L);c.Wb(L)}c.yb(p);w=c.ic(Z);c.wb(w,1e3);c.$AddEvent(p,"click",V);A(e);b.rd=m;b.Bf=y;b.Lf=p;b.Xd=K=p;c.Hb(K,w);a.Kc(203,D);a.Kc(28,Y);a.Kc(24,X)}function Gc(z,g,q,s){var b=this,m=0,v=0,h,i,f,d,l,u,t,p=B[g];o.call(b,0,0);function w(){c.Oe(W);qc&&l&&p.Bf&&c.Hb(W,p.Bf);c.yb(W,!l&&p.rd)}function x(){b.Ke()}function y(a){t=a;b.uc();b.Ke()}b.Ke=function(){var c=b.kc();if(!A&&!bb&&!t&&n==g){if(!c){if(h&&!l){l=e;b.Pf(e);a.fb(j.Lh,g,m,v,h,d)}w()}var k,q=j.Cf;if(c!=d)if(c==f)k=d;else if(c==i)k=f;else if(!c)k=i;else k=b.vf();a.fb(q,g,c,m,i,f,d);var o=r&&(!H||Q);if(c==d)(f!=d&&!(H&12)||o)&&p.Oh();else(o||c!=f)&&b.lg(k,x)}};b.wh=function(){f==d&&f==b.kc()&&b.Bb(i)};b.Ih=function(){E&&E.mc==g&&E.rc();var c=b.kc();c=h){l=k;w();p.Qf();E.rc();a.fb(j.hh,g,m,v,h,d)}a.fb(j.gh,g,b,m,i,f,d)};b.Tf=function(a){if(a&&!u){u=a;a.Kc($JssorPlayer$.ui,y)}};q&&b.ue(q);h=b.sc();b.ue(s);i=h+s.kf;d=b.sc();f=r?h+s.Mf:d}function Ib(a,b,d){c.Db(a,b);c.Eb(a,d)}function oc(c,b){var a=w>0?w:V,d=(yb*b+Cb)*(a&1),e=(zb*b+Cb)*(a>>1&1);Ib(c,d,e)}function Db(a){if(!(C&1))a=f.min(K,f.max(a,F));return a}function Xb(a){return!(C&1)&&(a-F<.0001||K-a<.0001)}function dc(){Fb=bb;Vb=z.vf();G=v.ac()}function sc(){dc();if(A||!Q&&H&12){z.uc();a.fb(j.ih)}}function rc(h){if(!A&&(Q||!(H&12))&&!z.qf()){var c=v.ac(),a=G,g=0;if(h&&f.abs(R)>=d.Sd){a=c;g=ub}if(Xb(c)){if(!h||U)a=f.round(a)}else a=f.ceil(a);a=Db(a+g);if(!(C&1)){if(K-a<.5)a=K;if(a-F<.5)a=F}var e=f.abs(a-c);if(e<1&&d.Of!=b.$Linear)e=1-f.pow(1-e,5);if(!U&&Fb)z.pi(Vb);else if(c==a){Jb.Jh();Jb.Le()}else z.Ve(c,a,e*wb)}}function Ub(a){!c.Uc(c.Ld(a),"nodrag")&&c.$CancelEvent(a)}function Ec(a){nc(a,1)}function nc(b,f){var d=c.Ld(b);xb=k;var g=c.Uc(d,"1",Wb);if((!g||g===s)&&!X&&(!f||b.touches.length==1)){xb=c.Uc(d,"nodrag")||!nb||!Fc();var l=c.Uc(d,i,p.Ce);if(l)Yb=c.Fb(l,p.Ce);if(f){var o=b.touches[0];Kb=o.clientX;Lb=o.clientY}else{var n=c.fg(b);Kb=n.x;Lb=n.y}A=e;eb=h;c.$AddEvent(m,f?"touchmove":"mousemove",Rb);c.Pb();U=0;sc();if(!Fb)w=0;R=0;tb=0;ub=0;a.fb(j.kh,q(G),G,b)}}function Rb(h){if(A){var a;if(h.type!="mousemove")if(h.touches.length==1){var p=h.touches[0];a={x:p.clientX,y:p.clientY}}else jb();else a=c.fg(h);if(a){var b=a.x-Kb,d=a.y-Lb;if(w||f.abs(b)>1.5||f.abs(d)>1.5){if(f.floor(G)!=G)w=w||V&X;if((b||d)&&!w){if(X==3)if(f.abs(d)>f.abs(b))w=2;else w=1;else w=X;if(vb&&w==1&&f.abs(d)>f.abs(b)*2.4)xb=e}var o=d,j=zb;if(w==1){o=b;j=yb}if(R-tb<-1.5)ub=0;else if(R-tb>1.5)ub=-1;tb=R;R=o;Y=G-R/j/Yb;if(!(C&1)){var m=0,l=[-G+D,0,G-g+P-D];c.M(l,function(b,c){if(b>0){var a=f.pow(b,1/1.6);a=f.tan(a*f.PI/2);m=(a-b)*(c-1)}});var i=m+Y,n=k;l=[-i+D,0,i-g+P-D];c.M(l,function(a,b){if(a>0){a=f.min(a,j);a=f.atan(a)*2/f.PI;a=f.pow(a,1.6);Y=a*(b-1)+D;if(b)Y+=g-P;n=e}});if(!n)Y=i}if(R&&w&&!xb){c.$CancelEvent(h);if(!bb)z.Ag(Y);else z.Cg(Y)}}}}}function jb(){Cc();if(A){U=R;c.Pb();c.Sb(m,"mousemove",Rb);c.Sb(m,"touchmove",Rb);U&&r&8&&(r=0);z.uc();A=k;var b=v.ac();a.fb(j.jh,q(b),b,q(G),G);H&12&&dc();rc(e)}}function wc(b){var a=c.Ld(b),d=c.Uc(a,"1",Gb);if(s===d)if(U){c.$StopEvent(b);while(a&&s!==a){(a.tagName=="A"||c.Fb(a,"data-jssor-button"))&&c.$CancelEvent(b);a=a.parentNode}}else r&4&&(r=0)}function Nc(c){if(c!=n){var b=ob.kc(),a=Db(c),d=f.round(q(a));if(b-a<.5)a=b;B[n];n=d;Jb=B[n];v.Bb(a)}}function Mc(b,c){w=0;Nc(b);if(r&2&&(mb>0&&n==g-1||mb<0&&!n))r=0;a.fb(j.ch,n,c)}function jc(a,b,d){if(!(C&1)){a=f.max(0,a);a=f.min(a,g-P+D);a=f.round(a)}a=q(a);c.M(gb,function(c){c.Ne(a,b,d)})}function Fc(){var b=j.yf||0,a=nb;j.yf|=a;return X=a&~b}function Cc(){if(X){j.yf&=~nb;X=0}}function mc(){var a=c.Lc();c.Cb(a,kb);return a}function q(b,a){a=a||g||1;return(b%a+a)%a}function Bb(c,a,b){r&8&&(r=0);Ab(c,wb,a,b)}function Nb(){c.M(gb,function(a){a.Se(a.md.vj<=Q)})}function uc(){if(!Q){Q=1;Nb();if(!A){H&12&&rc();H&3&&B[n]&&B[n].Le()}}a.fb(j.fh)}function tc(){if(Q){Q=0;Nb();A||!(H&12)||sc()}a.fb(j.eh)}function vc(){c.M(hb,function(a){c.Cb(a,kb);c.Zc(a,"hidden");c.Wb(a)});c.Cb(Z,kb)}function Ob(b,a){Ab(b,a,e)}function Ab(n,h,o,p){if(!A&&(Q||!(H&12))||d.hf){bb=e;A=k;z.uc();if(h==i)h=wb;var b=q(ob.kc()),c=n;if(o){c=b+n;c=f.round(c)}var a=c;if(!(C&1)){if(p)a=q(a);else if(C&2&&(a<0&&f.abs(b-F)<.0001||a>g-P&&f.abs(b-K)<.0001))a=a<0?K:F;a=Db(a);if(K-a<.5)a=K;if(a-F<.5)a=F}var m=(a-b)%g;a=b+m;var j=b==a?0:h*f.abs(m),l=1;if(N>1)l=(V&1?sb:rb)/S;j=f.min(j,h*l*1.5);z.Ve(b,a,j||1)}}a.qc=function(a){if(a==i)return r;if(a!=r){r=a;r&&B[n]&&B[n].Le()}};a.Oi=function(){return U};a.dc=function(){return O};a.Ec=function(){return M};a.nh=function(b){if(b==i)return Qb||O;a.xd(b,b/O*M)};a.xd=function(b,a,d){c.nb(s,b);c.jb(s,a);pc=b/O;kc=a/M;c.M(bc,function(a){a.xd(pc,kc,d)});if(!Qb){c.Rc(ab,x);c.Eb(ab,0);c.Db(ab,0)}Qb=b};a.Qi=function(a){return f.abs(a-F)<.0001};a.Ni=function(a){return f.abs(a-K)<.0001};a.zg=Ab;a.zf=function(){Ob(1)};a.Df=function(){r=0};a.dd=function(){a.qc(r||1)};a.qh=function(a){d.Hf.hc=a};a.uh=function(a){db.hc=a;db.oe=c.Pb()};a.jf=function(a){a=q(a);if(C&1){var c=L/S,b=q(ob.kc()),d=q(a-b+c),e=q(f.abs(a-b));if(d>=N){if(e>g/2)if(a>b)a-=g;else a+=g}else if(a>b&&dc)a+=g}return a};a.Dd=function(R,p){a.Vb=s=c.$GetElement(R);O=c.nb(s);M=c.jb(s);d=c.gb({Xc:0,yh:1,cc:1,Xe:0,qc:0,bd:1,bf:e,hf:e,af:1,Gf:3e3,Rd:1,Pd:500,Of:b.$OutQuad,Sd:20,Qd:0,ff:1,Te:1,Yd:1},p);d.bf=d.bf&&c.oh();if(d.gf!=i)d.Gf=d.gf;if(d.Hg!=i)d.$Cols=d.Hg;if(d.ef!=i)d.Pg=d.ef;V=d.Te&3;lb=d.Hf;db=c.gb({gc:y},d.Rg);qb=d.qj;cb=d.pj;T=d.rj;!d.ff;var t=c.Pc(s);c.M(t,function(a,d){var b=c.rb(a,"u");if(b=="loading")Z=a;else{if(b=="slides")x=a;if(b=="navigator")Eb=a;if(b=="arrowleft")Sb=a;if(b=="arrowright")Pb=a;if(b=="thumbnavigator")pb=a;if(a.tagName!="STYLE"&&a.tagName!="SCRIPT")bc[b||d]=new xc(a,b=="slides",c.Yf(["slides","thumbnavigator"])[b])}});Z=Z||c.Lc(m);sb=c.nb(x);rb=c.jb(x);J=d.Sg||sb;I=d.ah||rb;kb={vb:J,ub:I,$Top:0,$Left:0,ld:"block",Xb:"absolute"};fb=d.Qd;yb=J+fb;zb=I+fb;S=V&1?yb:zb;var j=V&1?sb:rb;mb=d.af;H=d.Rd;ec=d.Gf;wb=d.Pd;Mb=new Bc;if(d.bf&&(!c.Kh()||vb))Ib=function(a,b,d){c.sd(a,{pc:b,oc:d})};r=d.qc&63;a.md=p;c.Fb(s,Gb,"1");c.wb(x,c.wb(x)||0);c.lc(x,"absolute");ab=c.ic(x,e);c.Rc(ab,x);ib=new Ic;c.Hb(ab,ib.Xd);c.Zc(x,"hidden");H&=vb?10:5;var w=c.Pc(x),Q=c.Yf(["DIV","A","LI"]);c.M(w,function(a){Q[a.tagName.toUpperCase()]&&!c.rb(a,"u")&&hb.push(a);c.wb(a,(c.wb(a)||0)+1)});W=mc();c.Yb(W,"backgroundColor","#000");c.ee(W,0);c.wb(W,0);c.Rc(W,x.firstChild,x);g=hb.length;var o=f.ceil((j+fb)/S);if(d.$Cols)o=d.$Cols;N=f.min(g,o);P=(j+fb)/S;hc=N1&&Hb&&(!c.jg()||c.Uf()>=9)}if(!(C&1)){D=L/S;if(D>g-1){D=g-1;L=D*S}F=D;K=F+g-P}nb=(N>1||L?V:-1)&d.Yd;Tb.bg&&c.Yb(x,Tb.bg,([h,"pan-y","pan-x","none"])[nb]||"");if(fc)E=new Hb(Mb,J,I,lb,vb,Ib);for(var k=0;k0&&a!=n.$HORIZONTAL||b>0&&b!=n.$VERTICAL},Nf:function(){var a=0;if(this.x>0)a=1;if(this.x<0)a=2;var b=n.Wc(this.$Clip);return a>0&&a!=n.$HORIZONTAL||b>0&&b!=n.$HORIZONTAL},xf:function(){var a=0;if(this.y>0)a=4;if(this.y<0)a=8;var b=n.Yc(this.$Clip);return a>0&&a!=n.$VERTICAL||b>0&&b!=n.$VERTICAL}},y={$Duration:200,$Delay:200,$Top:k,$Right:k,$Bottom:k,$Left:k,$Fade:k,$Zoom:0,$Rotate:0,$Clip:0,$Move:k,$FlyDirection:0,$Easing:b.$Swing,De:function(){var a=n.Wc(this.$Clip),b=n.Yc(this.$Clip);return a>0&&a!=n.$HORIZONTAL||b>0&&b!=n.$VERTICAL}};function p(a,b){c.M(b,function(b,e){var d=c.$GetElement(b.o);if(d)if(b.C==m)a[e]=d.checked;else if(b.C!=o)a[e]=d.value});return a}function C(b,a){c.M(b,function(b){var d=c.$GetElement(b.o);if(d)if(b.C==i)c.$AddEvent(d,"keyup",a);else if(b.C==m)c.$AddEvent(d,"click",a);else b.C!=o&&c.$AddEvent(d,"change",a)})}function u(){var d=this;d.Sf=c.Jc;d.yd=c.Jc;d.zd=c.Jc;d.Cc=h;d.B=h;function k(a){var b=c.$GetElement(d.B.Ob.o);c.M(d.sf,function(f,g){var i=g,d=c.Pe("OPTION"),e=h;e=r.Tc(f,a,"");d.value=e;c.Od(d,i);b.appendChild(d)})}function g(a){return f.round(a*1e3)/1e3}function i(c,d){var b=parseFloat(c),a=parseFloat(d);if(!isNaN(b)&&!isNaN(a)){a=g(a-b);if(a>0)if(b!=0||a!=1)return[b,a]}}function l(d,a){d.$Delay=c.Rb(a.$Delay);d.$Duration=c.Rb(a.$Duration);var D=c.Rb(a.cf)||0,E=c.Rb(a.ie)||0,w=c.lb(a.$Clip),k,f=0,l=0,v=0,g;if(a.$Fade){k=c.lb(a.Hc);if(k)k+=1}var O=c.Rb(a.$Cols||"1",10)*c.Rb(a.$Rows||"1",10)<=2;if(O){var P=c.lb(a.Vc);if(a.$Zoom&&c.Ab(P))f=P+1;if(f==2)f=0;var M=c.lb(a.Fc);if(a.$Rotate&&c.Ab(M))l=M}var N=c.lb(a.Hd);if(a.$ZIndex&&c.Ab(N))v=N;if((f||l)&&!O)w=0;if(D){d.x=c.lb(a.x)||1;if(D&2)d.x*=-1}if(E){d.y=c.lb(a.y)||1;if(E&8)d.y*=-1}if(w)d.$ScaleClip=c.lb(a.$ScaleClip);d.$Clip=w;if(d.De())d.$Move=a.$Move;if(k)d.$Opacity=k;if(l)d.$Rotate=l;if(f)d.$Zoom=f;if(v)d.$ZIndex=v;d.$Outside=a.$Outside;var K,L,I,J,G,F,H;if(D)K=i(a.df,a.Ze);if(E)L=i(a.le,a.ke);if(w)I=i(a.ge,a.fe);if(f)J=i(a.de,a.he);if(l)G=i(a.je,a.ce);if(v)H=i(a.ae,a.Ae);if(k)F=i(a.Be,a.ze);if(K||L||I||J||G||F||H){g={};if(K)g.$Left=K;if(L)g.$Top=L;if(I)g.$Clip=I;if(J)g.$Zoom=J;if(G)g.$Rotate=G;if(F)g.$Opacity=F;if(H)g.$ZIndex=H;d.$During=g}var x=c.lb(a.Td),y=c.lb(a.Wd),B=c.lb(a.Ad),C=c.lb(a.wd),z=c.lb(a.Id),A=c.lb(a.Ed);if(x==1)x=0;if(y==1)y=0;if(B=1)B=0;if(!f||C==1)C=0;if(!l||z==1)z=0;if(!v||A==1)A=0;var m;if(x||y||B||C||z||A){m={};if(x)m.$Left=x;if(y)m.$Top=y;if(B)m.$Clip=B;if(C)m.$Zoom=C;if(z)m.$Rotate=z;if(A)m.$ZIndex=A}d.$Round=m;var n=D?eval(a.Vd):h,o=E?eval(a.Nd):h,r=w?eval(a.Bd):h,u=f?eval(a.td):h,t=k?eval(a.Jd):h,p=l?eval(a.Md):h,q=v?eval(a.Fd):h,e;if(n||o||r||u||t||p||q){var j=n||o||r||u||t||p||q;if((!D||n==j)&&(!E||o==j)&&(!w||r==j)&&(!f||u==j)&&(!l||p==j)&&(!k||t==j)&&(!v||q==j))e=j;else{if(n==b.$Swing)n=h;if(o==b.$Swing)o=h;if(r==b.$Swing)r=h;if(u==b.$Swing)u=h;if(t==b.$Swing)t=h;if(p==b.$Swing)p=h;if(q==b.$Swing)q=h;e={};if(n)e.$Left=n;if(o)e.$Top=o;if(r)e.$Clip=r;if(u)e.$Zoom=u;if(t)e.$Opacity=t;if(p)e.$Rotate=p;if(q)e.$ZIndex=q}}d.$Easing=e;d=s(d);return d}function v(a,f){a.$Delay=f.$Delay+"";a.$Duration=f.$Duration+"";if(f.x>0){a.cf=1;a.x=f.x}else if(f.x<0){a.cf=2;a.x=-f.x}else a.x="";if(f.y>0){a.ie=4;a.y=f.y}else if(f.y<0){a.ie=8;a.y=-f.y}else a.y="";a.$ScaleClip=f.$ScaleClip||"";if(f.$Zoom&&c.Ab(f.$Zoom)){a.Vc=f.$Zoom-1;a.$Zoom=e}else if(f.$Zoom==e){a.Vc=2;a.$Zoom=e}else a.Vc="";if(f.$Rotate&&c.Ab(f.$Rotate)){a.Fc=f.$Rotate;a.$Rotate=e}else if(f.$Rotate==e){a.Fc=1;a.$Rotate=e}else a.Fc="";if(f.$ZIndex&&c.Ab(f.$ZIndex)){a.Hd=f.$ZIndex;a.$ZIndex=e}else a.Hd="";if(f.$Opacity){a.$Fade=e;a.Hc=f.$Opacity-1}else if(f.$Fade){a.$Fade=e;a.Hc=1}else a.Hc="";var k=f.$During||{},t=k.$Left||[0,1];if(t){a.df=t[0];a.Ze=g(t[1]+t[0])}var u=k.$Top||[0,1];if(u){a.le=u[0];a.ke=g(u[1]+u[0])}var q=k.$Clip||[0,1];if(q){a.ge=q[0];a.fe=g(q[1]+q[0])}var s=k.$Zoom||[0,1];if(s){a.de=s[0];a.he=g(s[1]+s[0])}var o=k.$Rotate||[0,1];if(o){a.je=o[0];a.ce=g(o[1]+o[0])}var p=k.$ZIndex||[0,1];if(p){a.ae=p[0];a.Ae=g(p[1]+p[0])}var r=k.$Opacity||[0,1];if(r){a.Be=r[0];a.ze=g(r[1]+r[0])}var l=f.$Round;if(l){a.Td=l.$Left+"";a.Wd=l.$Top+"";a.Ad=l.$Clip+"";a.wd=l.$Zoom+"";a.Id=l.$Rotate+"";a.Ed=l.$ZIndex+""}var v,w,z,B,A,x,y,h=f.$Easing;if(c.Mc(h))v=w=z=B=A=x=y=h;else if(f){v=h.$Left||h.kb;w=h.$Top||h.kb;z=h.$Clip||h.kb;A=h.$Opacity||h.kb;x=h.$Rotate||h.kb;B=h.$Zoom||h.kb;y=h.$ZIndex||h.kb}for(var C in b){var j=b[C],i="$Jease$."+C;if(v==j)a.Vd=i;if(w==j)a.Nd=i;if(z==j)a.Bd=i;if(B==j)a.td=i;if(A==j)a.Jd=i;if(x==j)a.Md=i;if(y==j)a.Fd=i}var m=f.$Clip||0;m|=f.$Top?n.$TO_TOP:0;m|=f.$Left?n.$TO_LEFT:0;m|=f.$Bottom?n.$TO_BOTTOM:0;m|=f.$Right?n.$TO_RIGHT:0;a.$Clip=m;a.$Move=f.$Move;a.$Outside=f.$Outside;a.ec=d.ve(f);return a}function t(){var a=p({},d.B),b=r.Ye(a.ec);d.yd(b)}function x(j){var i=j.id;if(i==d.B.ec.o){var a;try{var k=c.$GetElement(d.B.ec.o),h=k.value;a=r.Ye(h);a=c.gb({},q,a);a=s(a);d.uf(a);d.re(a)}catch(l){}d.se(a)}else{var f=p({},d.B),b=c.gb({},d.Cc);b=d.Ai(b,f);if(d.B.Ob){var g=c.$GetElement(d.B.Ob.o);g.value=""}d.nf(b);d.re(b,f);d.se(e)}}var j;function y(b){if(b.ctrlKey)return;j=!j;if(j){var a=c.Ld(b);try{(!d.zd||!d.zd(a))&&x(a)}catch(e){j=!j;throw e;}}j=!j}function z(b,e){c.M(e,function(f,g){var e=c.$GetElement(f.o);if(e)if(e.id!=d.B.Ob.o&&e.id!=d.B.ec.o)if(f.C==m)e.checked=b[g];else if(f.C!=o&&f.C!=a)e.value=b[g]})}function u(){for(var f=[d.B.Vd,d.B.Nd,d.B.Bd,d.B.td,d.B.Jd,d.B.Md,d.B.Fd],a=0;a