|
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={Ye:"ontouchstart"in j||"createTouch"in h};var a;if(E.pointerEnabled||(a=E.msPointerEnabled))O.sd=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<b.length;a++)if(c=d(b[a],a,b))return c}else for(a in b)if(c=d(b[a],a,b))return c}function H(a){return a==g?String(a):qb[tb(a)]||"object"}function rb(a){for(var b in a)return d}function C(a){try{return H(a)=="object"&&!a.nodeType&&a!=a.window&&(!a.constructor||{}.hasOwnProperty.call(a.constructor.prototype,"isPrototypeOf"))}catch(b){}}function p(a,b){return{x:a,y:b}}function yb(b,a){setTimeout(b,a||0)}function D(b,d,c){var a=!b||b=="inherit"?"":b;n(d,function(c){var b=c.exec(a);if(b){var d=a.substr(0,b.index),e=a.substr(b.index+b[0].length+1,a.length-1);a=d+e}});a&&(c+=(!a.indexOf(" ")?"":" ")+a);return c}function U(b,a){if(l<9)b.style.filter=a}function vb(a,b){if(a===e)a=b;return a}i.$Device=Ib;i.$IsBrowserIE=r;i.$IsBrowserIeQuirks=ib;i.$IsBrowserFireFox=Bb;i.$IsBrowserSafari=kb;i.$IsBrowserChrome=Eb;i.$IsBrowserOpera=ob;i.wg=I;fb("transform");i.$BrowserVersion=function(){return l};i.$BrowserEngineVersion=function(){return u||l};i.$WebKitVersion=function(){w();return B};i.$Delay=yb;i.Y=vb;i.tg=function(a,b){b.call(a);return G({},a)};function Z(a){a.constructor===Z.caller&&a.oc&&a.oc.apply(a,Z.caller.arguments)}i.oc=Z;i.$GetElement=function(a){if(i.sg(a))a=h.getElementById(a);return a};function v(a){return a||j.event}i.$EvtSrc=function(b){b=v(b);var a=b.target||b.srcElement||h;if(a.nodeType==3)a=i.Rc(a);return a};i.Xd=function(a){a=v(a);return{x:a.pageX||a.clientX||0,y:a.pageY||a.clientY||0}};i.$WindowSize=function(){var a=h.body;return{x:a.clientWidth||z.clientWidth,y:a.clientHeight||z.clientHeight}};function x(c,d,a){if(a!==e)c.style[d]=a==e?"":a;else{var b=c.currentStyle||c.style;a=b[d];if(a==""&&j.getComputedStyle){b=c.ownerDocument.defaultView.getComputedStyle(c,g);b&&(a=b.getPropertyValue(d)||b[d])}return a}}function bb(b,c,a,d){if(a===e){a=q(x(b,c));isNaN(a)&&(a=g);return a}if(a==g)a="";else d&&(a+="px");x(b,c,a)}function m(c,a){var d=a?bb:x,b;if(a&4)b=db(c);return function(e,f){return d(e,b?b(e):c,f,a&2)}}function Db(b){if(r()&&u<9){var a=/opacity=([^)]*)/.exec(b.style.filter||"");return a?q(a[1])/100:1}else return q(b.style.opacity||"1")}function Fb(b,a,f){if(r()&&u<9){var h=b.style.filter||"",i=new RegExp(/[\s]*alpha\([^\)]*\)/g),e=c.round(100*a),d="";if(e<100||f)d="alpha(opacity="+e+") ";var g=D(h,[i],d);U(b,g)}else b.style.opacity=a==1?"":c.round(a*100)/100}var Q={$Rotate:["rotate"],$RotateX:["rotateX"],$RotateY:["rotateY"],$SkewX:["skewX"],$SkewY:["skewY"]};if(!I())Q=G(Q,{$ScaleX:["scaleX",2],$ScaleY:["scaleY",2],$TranslateZ:["translateZ",1]});function R(d,a){var c="";if(a){if(r()&&l&&l<10){delete a.$RotateX;delete a.$RotateY;delete a.$TranslateZ}b.$Each(a,function(d,b){var a=Q[b];if(a){var e=a[1]||0;if(S[b]!=d)c+=" "+a[0]+"("+d+(["deg","px",""])[e]+")"}});if(I()){if(a.$TranslateX||a.$TranslateY||a.$TranslateZ!=e)c+=" translate3d("+(a.$TranslateX||0)+"px,"+(a.$TranslateY||0)+"px,"+(a.$TranslateZ||0)+"px)";if(a.$ScaleX==e)a.$ScaleX=1;if(a.$ScaleY==e)a.$ScaleY=1;if(a.$ScaleX!=1||a.$ScaleY!=1)c+=" scale3d("+a.$ScaleX+", "+a.$ScaleY+", 1)"}}d.style[P(d)]=c}i.zg=m("transformOrigin",4);i.Uf=m("backfaceVisibility",4);i.Tf=m("transformStyle",4);i.Sf=m("perspective",6);i.Vf=m("perspectiveOrigin",4);i.Yf=function(b,a){if(r()&&u<9||u<10&&ib())b.style.zoom=a==1?"":a;else{var c=P(b),f=a==1?"":"scale("+a+")",e=b.style[c],g=new RegExp(/[\s]*scale\(.*?\)/g),d=D(e,[g],f);b.style[c]=d}};i.$AddEvent=function(a,c,d,b){a=i.$GetElement(a);if(a.addEventListener){c=="mousewheel"&&a.addEventListener("DOMMouseScroll",d,b);a.addEventListener(c,d,b)}else if(a.attachEvent){a.attachEvent("on"+c,d);b&&a.setCapture&&a.setCapture()}};i.U=function(a,c,d,b){a=i.$GetElement(a);if(a.removeEventListener){c=="mousewheel"&&a.removeEventListener("DOMMouseScroll",d,b);a.removeEventListener(c,d,b)}else if(a.detachEvent){a.detachEvent("on"+c,d);b&&a.releaseCapture&&a.releaseCapture()}};i.$FireEvent=function(c,b){var a;if(h.createEvent){a=h.createEvent("HTMLEvents");a.initEvent(b,k,k);c.dispatchEvent(a)}else{var d="on"+b;a=h.createEventObject();c.fireEvent(d,a)}};i.$CancelEvent=function(a){a=v(a);a.preventDefault&&a.preventDefault();a.cancel=d;a.returnValue=k};i.$StopEvent=function(a){a=v(a);a.stopPropagation&&a.stopPropagation();a.cancelBubble=d};i.$CreateCallback=function(d,c){var a=[].slice.call(arguments,2),b=function(){var b=a.concat([].slice.call(arguments,0));return c.apply(d,b)};return b};i.$InnerText=function(a,b){if(b==e)return a.textContent||a.innerText;var c=h.createTextNode(b);i.zc(a);a.appendChild(c)};i.$InnerHtml=function(a,b){if(b==e)return a.innerHTML;a.innerHTML=b};i.$ClearInnerHtml=function(a){a.innerHTML=""};i.$Children=function(d,c){for(var b=[],a=d.firstChild;a;a=a.nextSibling)(c||a.nodeType==1)&&b.push(a);return b};function sb(a,c,e,b){b=b||"u";for(a=a?a.firstChild:g;a;a=a.nextSibling)if(a.nodeType==1){if(M(a,b)==c)return a;if(!e){var d=sb(a,c,e,b);if(d)return d}}}i.$FindChild=sb;function X(a,d,f,b){b=b||"u";var c=[];for(a=a?a.firstChild:g;a;a=a.nextSibling)if(a.nodeType==1){M(a,b)==d&&c.push(a);if(!f){var e=X(a,d,f,b);if(e.length)c=c.concat(e)}}return c}function nb(a,c,d){for(a=a?a.firstChild:g;a;a=a.nextSibling)if(a.nodeType==1){if(a.tagName==c)return a;if(!d){var b=nb(a,c,d);if(b)return b}}}i.Zf=nb;i.jg=function(b,a){return b.getElementsByTagName(a)};i.Hb=function(a,f,d){d=d||"u";var e;do{if(a.nodeType==1){var c=b.$AttributeEx(a,d);if(c&&c==vb(f,c)){e=a;break}}a=b.Rc(a)}while(a&&a!=h.body);return e};function G(){var f=arguments,d,c,b,a,h=1&f[0],g=1+h;d=f[g-1]||{};for(;g<f.length;g++)if(c=f[g])for(b in c){a=c[b];if(a!==e){a=c[b];var i=d[b];d[b]=h&&(C(i)||C(a))?G(h,{},i,a):a}}return d}i.q=G;function ab(f,g){var d={},c,a,b;for(c in f){a=f[c];b=g[c];if(a!==b){var e;if(C(a)&&C(b)){a=ab(a,b);e=!rb(a)}!e&&(d[c]=a)}}return d}i.id=function(a){return H(a)=="function"};i.sg=function(a){return H(a)=="string"};i.Tb=function(a){return!isNaN(q(a))&&isFinite(a)};i.$Each=n;i.Bd=C;function V(a){return h.createElement(a)}i.$CreateElement=V;i.$CreateDiv=function(){return V("DIV")};i.hg=function(){return V("SPAN")};i.Uc=function(){};function F(b,c,a){if(a==e)return b.getAttribute(c);b.setAttribute(c,a)}function M(a,b){return F(a,b)||F(a,"data-"+b)}i.$Attribute=F;i.$AttributeEx=M;i.T=function(d,b,c){var a=i.kg(M(d,b));if(isNaN(a))a=c;return a};function y(b,a){return F(b,"class",a)||""}function xb(b){var a={};n(b,function(b){if(b!=e)a[b]=b});return a}function zb(b,a){return b.match(a||Ab)}function T(b,a){return xb(zb(b||"",a))}i.mg=xb;i.lg=zb;function cb(b,c){var a="";n(c,function(c){a&&(a+=b);a+=c});return a}function K(a,c,b){y(a,cb(" ",G(ab(T(y(a)),T(c)),T(b))))}i.Rc=function(a){return a.parentNode};i.V=function(a){i.nb(a,"none")};i.A=function(a,b){i.nb(a,b?"none":"")};i.cg=function(b,a){b.removeAttribute(a)};i.dg=function(d,a){if(a)d.style.clip="rect("+c.round(a.$Top||a.B||0)+"px "+c.round(a.$Right)+"px "+c.round(a.$Bottom)+"px "+c.round(a.$Left||a.C||0)+"px)";else if(a!==e){var h=d.style.cssText,g=[new RegExp(/[\s]*clip: rect\(.*?\)[;]?/i),new RegExp(/[\s]*cliptop: .*?[;]?/i),new RegExp(/[\s]*clipright: .*?[;]?/i),new RegExp(/[\s]*clipbottom: .*?[;]?/i),new RegExp(/[\s]*clipleft: .*?[;]?/i)],f=D(h,g,"");b.$CssCssText(d,f)}};i.W=function(){return+new Date};i.$AppendChild=function(b,a){b.appendChild(a)};i.Eb=function(b,a,c){(c||a.parentNode).insertBefore(b,a)};i.kc=function(b,a){a=a||b.parentNode;a&&a.removeChild(b)};i.gg=function(a,b){n(a,function(a){i.kc(a,b)})};i.zc=function(a){i.gg(i.$Children(a,d),a)};i.Qc=function(a,b){var c=i.Rc(a);b&1&&i.L(a,(i.$CssWidth(c)-i.$CssWidth(a))/2);b&2&&i.I(a,(i.$CssHeight(c)-i.$CssHeight(a))/2)};var W={$Top:g,$Right:g,$Bottom:g,$Left:g,v:g,u:g};i.fg=function(a){var b=i.$CreateDiv();s(b,{Jc:"block",wb:i.K(a),$Top:0,$Left:0,v:0,u:0});var d=i.cd(a,W);i.Eb(b,a);i.$AppendChild(b,a);var e=i.cd(a,W),c={};n(d,function(b,a){if(b==e[a])c[a]=b});s(b,W);s(b,c);s(a,{$Top:0,$Left:0});return c};i.kg=q;function Y(d,c,b){var a=d.cloneNode(!c);!b&&i.cg(a,"id");return a}i.$CloneNode=Y;i.Mb=function(e,f){var a=new Image;function b(e,d){i.U(a,"load",b);i.U(a,"abort",c);i.U(a,"error",c);f&&f(a,d)}function c(a){b(a,d)}if(ob()&&l<11.6||!e)b(!e);else{i.$AddEvent(a,"load",b);i.$AddEvent(a,"abort",c);i.$AddEvent(a,"error",c);a.src=e}};i.eg=function(d,a,e){var c=d.length+1;function b(b){c--;if(a&&b&&b.src==a.src)a=b;!c&&e&&e(a)}n(d,function(a){i.Mb(a.src,b)});b()};i.Yc=function(a,g,i,h){if(h)a=Y(a);var c=X(a,g);if(!c.length)c=b.jg(a,g);for(var f=c.length-1;f>-1;f--){var d=c[f],e=Y(i);y(e,y(d));b.$CssCssText(e,d.style.cssText);b.Eb(e,d);b.kc(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.U(h,"mouseup",c);i.U(h,"touchend",c);i.U(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.Vc=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.lg(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.gc=function(a){return new Gb(a)};i.$Css=x;i.Ob=m("overflow");i.I=m("top",2);i.ue=m("right",2);i.ve=m("bottom",2);i.L=m("left",2);i.$CssWidth=m("width",2);i.$CssHeight=m("height",2);i.Ag=m("marginLeft",2);i.yg=m("marginTop",2);i.K=m("position");i.nb=m("display");i.z=m("zIndex",1);i.uc=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.Be=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.se=L={$Opacity:i.uc,$Top:i.I,$Right:i.ue,$Bottom:i.ve,$Left:i.L,v:i.$CssWidth,u:i.$CssHeight,wb:i.K,Jc:i.nb,$ZIndex:i.z};i.cd=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.rb(p(-d/2,-a/2)),f=b.rb(p(d/2,-a/2)),g=b.rb(p(d/2,a/2)),h=b.rb(p(-d/2,a/2));b.rb(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.yh;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.ng(u);c.xe(a.$SkewX,a.$SkewY);c.$Scale(l,m,g);if(b){c.$Move(a.C,a.B);d.style[j]=c.ge()}else if(!A||A<9){var o="",h={x:0,y:0};if(a.$OriginalWidth)h=k(c,a.$OriginalWidth,a.$OriginalHeight);i.yg(d,h.y);i.Ag(d,h.x);o=c.he();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.C,k=c.B,h;n(L,function(a,b){h=c[b];h!==e&&a(f,h)});i.dg(f,c.$Clip);if(!b){j!=e&&i.L(f,(c.Vd||0)+j);k!=e&&i.I(f,(c.Wd||0)+k)}if(c.Zd)if(d)yb(i.$CreateCallback(g,R,f,c));else a(f,c)};i.bc=R;if(d)i.bc=s;if(f)i.bc=a;else if(!b)a=R;i.N=s;s(h,l)}i.bc=s;i.N=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.ng=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.xe=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.rb=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.ge=function(){return"matrix3d("+b.join(",")+")"};d.he=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<i;c++)for(var k=f[c]=[],b=0;b<h;b++){for(var e=0,a=0;a<j;a++)e+=d[c][a]*g[a][b];k[b]=e}return f}a.$ScaleX=function(b,c){return a.Qd(b,c,0)};a.$ScaleY=function(b,c){return a.Qd(b,0,c)};a.Qd=function(a,c,d){return b(a,[[c,0],[0,d]])};a.rb=function(d,c){var a=b(d,[[c.x],[c.y]]);return p(a[0][0],a[1][0])}});var S={Vd:0,Wd:0,C:0,B:0,$Zoom:1,$ScaleX:1,$ScaleY:1,$Rotate:0,$RotateX:0,$RotateY:0,$TranslateX:0,$TranslateY:0,$TranslateZ:0,$SkewX:0,$SkewY:0};i.Bc=function(c,d){var a=c||{};if(c)if(b.id(c))a={Y:a};else if(b.id(c.$Clip))a.$Clip={Y:c.$Clip};a.Y=a.Y||d;if(a.$Clip)a.$Clip.Y=a.$Clip.Y||d;return a};function wb(c,a){var b={};n(c,function(c,d){var f=c;if(a[d]!=e)if(i.Tb(c))f=c+a[d];else f=wb(c,a[d]);b[d]=f});return b}i.Ae=wb;i.Pd=function(n,j,s,t,B,C,o){var a=j;if(n){a={};for(var i in j){var D=C[i]||1,z=B[i]||[0,1],h=(s-z[0])/z[1];h=c.min(c.max(h,0),1);h=h*D;var x=c.floor(h);if(h!=x)h-=x;var k=t.Y||f.$Linear,m,E=n[i],q=j[i];if(b.Tb(q)){k=t[i]||k;var A=k(h);m=E+q*A}else{m=b.q({Yb:{}},n[i]);var y=t[i]||{};b.$Each(q.Yb||q,function(d,a){k=y[a]||y.Y||k;var c=k(h),b=d*c;m.Yb[a]=b;m[a]+=b})}a[i]=m}var w=b.$Each(j,function(b,a){return S[a]!=e});w&&b.$Each(S,function(c,b){if(a[b]==e&&n[b]!==e)a[b]=n[b]});if(w){if(a.$Zoom)a.$ScaleX=a.$ScaleY=a.$Zoom;a.$OriginalWidth=o.$OriginalWidth;a.$OriginalHeight=o.$OriginalHeight;if(r()&&l>=11&&(j.C||j.B)&&s!=0&&s!=1)a.$Rotate=a.$Rotate||1e-8;a.Zd=d}}if(j.$Clip&&o.$Move){var p=a.$Clip.Yb,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.B&&!a.$Clip.C&&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({sc:a,Pc:b})}function g(a,c){b.$Each(d,function(b,e){b.sc==a&&b.Pc===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.sc==a&&b.Pc.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)||x&&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.Pd(O,J,m,H,G,I,g);if(w)b.$Each(n,function(b,a){w[a]&&w[a](L,b)});else b.N(L,n)}a.Gc(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.D(l-z)});h=j;y=d;a.lc(r,q)}}}function E(a,b,d){b&&a.$Shift(f);if(!d){e=c.min(e,a.mc()+z);f=c.max(f,a.qb()+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.W(),e=c.min(d-B,g.qd),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<h?-1:1;a.vd();B=b.W();u(K)}}function M(b){if(p){t=p=C=k;a.td();b&&b()}}a.$Play=function(a,b,c){r(a?h+a:f,b,c)};a.ld=r;a.lb=M;a.qe=function(a){r(a)};a.db=function(){return h};a.od=function(){return m};a.Z=function(){return l};a.D=s;a.pe=function(){s(f,d)};a.$Move=function(a){s(h+a)};a.$IsPlaying=function(){return p};a.De=function(a){o=a};a.$Shift=P;a.O=function(a,b){E(a,0,b)};a.Ic=function(a){E(a,1)};a.Hd=function(a){f+=a};a.mc=function(){return e};a.qb=function(){return f};a.lc=a.vd=a.td=a.Gc=b.Uc;a.Fc=b.W();g=b.q({$Interval:16,qd:50},g);o=g.Nc;x=g.Fe;w=g.Ee;e=i=A;f=A+D;I=g.$Round||{};G=g.$During||{};H=b.Bc(g.$Easing)};var m={Pb:"data-scale",Dc:"data-scale-ratio",ob:"data-autocenter"},n=new function(){var a=this;a.R=function(c,a,e,d){(d||!b.$Attribute(c,a))&&b.$Attribute(c,a,e)};a.dc=function(a){var c=b.T(a,m.ob);b.Qc(a,c)}},q=j.$JssorSlideshowFormations$=new function(){var h=this,b=0,a=1,f=2,e=3,s=1,r=2,t=4,q=8,w=256,x=512,v=1024,u=2048,j=u+s,i=u+r,o=x+s,m=x+r,n=w+t,k=w+q,l=v+t,p=v+q;function y(a){return(a&r)==r}function z(a){return(a&t)==t}function g(b,a,c){c.push(a);b[a]=b[a]||[];b[a].push(c)}h.$FormationStraight=function(f){for(var d=f.$Cols,e=f.$Rows,s=f.$Assembly,t=f.Sb,r=[],a=0,b=0,p=d-1,q=e-1,h=t-1,c,b=0;b<e;b++)for(a=0;a<d;a++){switch(s){case j:c=h-(a*e+(q-b));break;case l:c=h-(b*d+(p-a));break;case o:c=h-(a*e+b);case n:c=h-(b*d+a);break;case i:c=a*e+b;break;case k:c=b*d+(p-a);break;case m:c=a*e+(q-b);break;default:c=b*d+a}g(r,c,[b,a])}return r};h.$FormationSwirl=function(q){var x=q.$Cols,y=q.$Rows,B=q.$Assembly,w=q.Sb,A=[],z=[],u=0,c=0,h=0,r=x-1,s=y-1,t,p,v=0;switch(B){case j:c=r;h=0;p=[f,a,e,b];break;case l:c=0;h=s;p=[b,e,a,f];break;case o:c=r;h=s;p=[e,a,f,b];break;case n:c=r;h=s;p=[a,e,b,f];break;case i:c=0;h=0;p=[f,b,e,a];break;case k:c=r;h=0;p=[a,f,b,e];break;case m:c=0;h=s;p=[e,b,f,a];break;default:c=0;h=0;p=[b,f,a,e]}u=0;while(u<w){t=h+","+c;if(c>=0&&c<x&&h>=0&&h<y&&!z[t]){z[t]=d;g(A,u++,[h,c])}else switch(p[v++%p.length]){case b:c--;break;case f:h--;break;case a:c++;break;case e:h++}switch(p[v%p.length]){case b:c++;break;case f:h++;break;case a:c--;break;case e:h--}}return A};h.$FormationZigZag=function(p){var w=p.$Cols,x=p.$Rows,z=p.$Assembly,v=p.Sb,t=[],u=0,c=0,d=0,q=w-1,r=x-1,y,h,s=0;switch(z){case j:c=q;d=0;h=[f,a,e,a];break;case l:c=0;d=r;h=[b,e,a,e];break;case o:c=q;d=r;h=[e,a,f,a];break;case n:c=q;d=r;h=[a,e,b,e];break;case i:c=0;d=0;h=[f,b,e,b];break;case k:c=q;d=0;h=[a,f,b,f];break;case m:c=0;d=r;h=[e,b,f,b];break;default:c=0;d=0;h=[b,f,a,f]}u=0;while(u<v){y=d+","+c;if(c>=0&&c<w&&d>=0&&d<x&&typeof t[y]=="undefined"){g(t,u++,[d,c]);switch(h[s%h.length]){case b:c++;break;case f:d++;break;case a:c--;break;case e:d--}}else{switch(h[s++%h.length]){case b:c--;break;case f:d--;break;case a:c++;break;case e:d++}switch(h[s++%h.length]){case b:c++;break;case f:d++;break;case a:c--;break;case e:d--}}}return t};h.$FormationStraightStairs=function(q){var u=q.$Cols,v=q.$Rows,e=q.$Assembly,t=q.Sb,r=[],s=0,c=0,d=0,f=u-1,h=v-1,x=t-1;switch(e){case j:case m:case o:case i:var a=0,b=0;break;case k:case l:case n:case p:var a=f,b=0;break;default:e=p;var a=f,b=0}c=a;d=b;while(s<t){if(z(e)||y(e))g(r,x-s++,[d,c]);else g(r,s++,[d,c]);switch(e){case j:case m:c--;d++;break;case o:case i:c++;d--;break;case k:case l:c--;d--;break;case p:case n:default:c++;d++}if(c<0||d<0||c>f||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.$FormationSquare=function(i){var a=i.$Cols||1,b=i.$Rows||1,j=[],d,e,f,h,k;f=a<b?(b-a)/2:0;h=a>b?(a-b)/2:0;k=c.round(c.max(a/2,b/2))+1;for(d=0;d<a;d++)for(e=0;e<b;e++)g(j,k-c.min(d+1+f,e+1+h,a-d+f,b-e+h),[e,d]);return j};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;a<d;a++)for(b=0;b<e;b++)g(h,i-c.min(a+1,b+1,d-a,e-b),[b,a]);return h};h.$FormationRandom=function(d){for(var e=[],a,b=0;b<d.$Rows;b++)for(a=0;a<d.$Cols;a++)g(e,c.ceil(1e5*c.random())%13,[b,a]);return e};h.$FormationCircle=function(d){for(var e=d.$Cols||1,f=d.$Rows||1,h=[],a,i=e/2-.5,j=f/2-.5,b=0;b<e;b++)for(a=0;a<f;a++)g(h,c.round(c.sqrt(c.pow(b-i,2)+c.pow(a-j,2))),[a,b]);return h};h.$FormationCross=function(d){for(var e=d.$Cols||1,f=d.$Rows||1,h=[],a,i=e/2-.5,j=f/2-.5,b=0;b<e;b++)for(a=0;a<f;a++)g(h,c.round(c.min(c.abs(b-i),c.abs(a-j))),[a,b]);return h};h.$FormationRectangleCross=function(f){for(var h=f.$Cols||1,i=f.$Rows||1,j=[],a,d=h/2-.5,e=i/2-.5,k=c.max(d,e)+1,b=0;b<h;b++)for(a=0;a<i;a++)g(j,c.round(k-c.max(d-c.abs(b-d),e-c.abs(a-e)))-1,[a,b]);return j}};j.$JssorSlideshowRunner$=function(m,s,p,u,z,A){var a=this,v,h,e,y=0,x=u.$TransitionsOrder,r,i=8;function t(a){if(a.$Top)a.B=a.$Top;if(a.$Left)a.C=a.$Left;b.$Each(a,function(a){b.Bd(a)&&t(a)})}function j(h,e,g){var a={$Interval:e,$Duration:1,$Delay:0,$Cols:1,$Rows:1,$Opacity:0,$Zoom:0,$Clip:0,$Move:k,$SlideOut:k,$Reverse:k,$Formation:q.$FormationRandom,$Assembly:1032,$ChessMode:{$Column:0,$Row:0},$Easing:f.$Linear,$Round:{},Vb:[],$During:{}};b.q(a,h);if(a.$Rows==0)a.$Rows=c.round(a.$Cols*g);t(a);a.Sb=a.$Cols*a.$Rows;a.$Easing=b.Bc(a.$Easing,f.$Linear);a.le=c.ceil(a.$Duration/a.$Interval);a.fe=function(c,b){c/=a.$Cols;b/=a.$Rows;var f=c+"x"+b;if(!a.Vb[f]){a.Vb[f]={v:c,u:b};for(var d=0;d<a.$Cols;d++)for(var e=0;e<a.$Rows;e++)a.Vb[f][e+","+d]={$Top:e*b,$Right:d*c+c,$Bottom:e*b+b,$Left:d*c}}return a.Vb[f]};if(a.$Brother){a.$Brother=j(a.$Brother,e,g);a.$SlideOut=d}return a}function n(z,i,a,v,n,l){var y=this,t,u={},h={},m=[],f,e,r,p=a.$ChessMode.$Column||0,q=a.$ChessMode.$Row||0,g=a.fe(n,l),o=B(a),C=o.length-1,s=a.$Duration+a.$Delay*C,w=v+s,j=a.$SlideOut,x;w+=50;function B(a){var b=a.$Formation(a);return a.$Reverse?b.reverse():b}y.Cd=w;y.fc=function(d){d-=v;var e=d<s;if(e||x){x=e;if(!j)d=s-d;var f=c.ceil(d/a.$Interval);b.$Each(h,function(a,e){var d=c.max(f,a.ie);d=c.min(d,a.length-1);if(a.Ad!=d){if(!a.Ad&&!j)b.A(m[e]);else d==a.me&&j&&b.V(m[e]);a.Ad=d;b.N(m[e],a[d])}})}};i=b.$CloneNode(i);A(i,0,0);b.$Each(o,function(i,m){b.$Each(i,function(G){var I=G[0],H=G[1],v=I+","+H,o=k,s=k,x=k;if(p&&H%2){if(p&3)o=!o;if(p&12)s=!s;if(p&16)x=!x}if(q&&I%2){if(q&3)o=!o;if(q&12)s=!s;if(q&16)x=!x}a.$Top=a.$Top||a.$Clip&4;a.$Bottom=a.$Bottom||a.$Clip&8;a.$Left=a.$Left||a.$Clip&1;a.$Right=a.$Right||a.$Clip&2;var C=s?a.$Bottom:a.$Top,z=s?a.$Top:a.$Bottom,B=o?a.$Right:a.$Left,A=o?a.$Left:a.$Right;a.$Clip=C||z||B||A;r={};e={B:0,C:0,$Opacity:1,v:n,u:l};f=b.q({},e);t=b.q({},g[v]);if(a.$Opacity)e.$Opacity=2-a.$Opacity;if(a.$ZIndex){e.$ZIndex=a.$ZIndex;f.$ZIndex=0}var K=a.$Cols*a.$Rows>1||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.Yb={};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.C+=n*a.x*L;if(a.y)e.B+=l*a.y*M;b.$Each(e,function(a,c){if(b.Tb(a))if(a!=f[c])r[c]=a-f[c]});u[v]=j?f:e;var D=a.le,y=c.round(m*a.$Delay/a.$Interval);h[v]=new Array(y);h[v].ie=y;h[v].me=y+D-1;for(var F=0;F<=D;F++){var E=b.Pd(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.N(a,u[d]);b.Ob(a,"hidden");b.K(a,"absolute");z.ke(a);m[d]=a;b.A(a,!j)})})}function w(){var a=this,b=0;l.call(a,0,v);a.lc=function(c,a){if(a-b>i){b=a;e&&e.fc(a);h&&h.fc(a)}};a.xc=r}a.be=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].mb=a);return b[a]};a.ee=function(x,y,k,l,b,t){a.pb();r=b;b=j(b,i,t);var g=l.Id,f=k.Id;g["no-image"]=!l.nc;f["no-image"]=!k.nc;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.fc(0);e.fc(0);v=c.max(h.Cd,e.Cd);a.mb=x};a.pb=function(){m.pb();h=g;e=g};a.ze=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={jc: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].Vc(a==l)}function v(a){f.j(p.jc,a*q)}f.$Elmt=a;f.Ac=function(a){if(a!=t){var d=l,b=c.floor(a/q);l=b;t=a;x(d);x(b)}};f.yc=function(c){b.A(a,c)};var w;f.Cc=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<u;f++){var t=b.hg();b.$InnerText(t,f+1);var k=b.Yc(h,"numbertemplate",t,d);b.K(k,"absolute");var p=f%(m+1);b.L(k,!i?n*p:f%j*n);b.I(k,i?o*p:c.floor(f/(m+1))*o);b.$AppendChild(a,k);D[f]=k;e.$ActionMode&1&&b.$AddEvent(k,"click",b.$CreateCallback(g,v,f));e.$ActionMode&2&&b.$AddEvent(k,"mouseenter",b.$CreateCallback(g,v,f));A[f]=b.gc(k)}w=d}};f.Xb=e=b.q({$SpacingX:10,$SpacingY:10,$Orientation:1,$ActionMode:1},E);h=b.$FindChild(a,"prototype");s=b.$CssWidth(h);r=b.$CssHeight(h);b.kc(h,a);q=e.$Steps||1;j=e.$Rows||1;y=e.$SpacingX;z=e.$SpacingY;i=e.$Orientation-1;e.$Scale==k&&n.R(a,m.Pb,1);e.$AutoCenter&&n.R(a,m.ob,e.$AutoCenter);n.dc(a)};j.$JssorArrowNavigator$=function(a,e,i,A,z,x){var c=this;o.call(c);var j,h,f,l;b.$CssWidth(a);b.$CssHeight(a);var s,r;function q(a){c.j(p.jc,a,d)}function v(c){b.A(a,c);b.A(e,c)}function u(){s.$Enable(i.$Loop||!j.re(h));r.$Enable(i.$Loop||!j.oe(h))}c.Ac=function(c,a,b){h=a;!b&&u()};c.yc=v;var t;c.Cc=function(c){h=0;if(!t){b.$AddEvent(a,"click",b.$CreateCallback(g,q,-l));b.$AddEvent(e,"click",b.$CreateCallback(g,q,l));s=b.gc(a);r=b.gc(e);t=d}};c.Xb=f=b.q({$Steps:1},i);l=f.$Steps;j=x;if(f.$Scale==k){n.R(a,m.Pb,1);n.R(e,m.Pb,1)}if(f.$AutoCenter){n.R(a,m.ob,f.$AutoCenter);n.R(e,m.ob,f.$AutoCenter)}n.dc(a);n.dc(e)};j.$JssorThumbnailNavigator$=function(f,E){var l=this,x,A,s,a,y=[],B,z,e,q,r,w,v,j,t,h,u;o.call(l);f=b.$GetElement(f);function D(n,f){var h=this,c,m,j;function o(){m.Vc(s==f)}function i(g){if(g||!t.ne()){var c=e-f%e,a=t.Kd((f+c)/e-1),b=a*e+e-c;if(a<0)b+=x%e;if(a>=A)b-=x%e;l.j(p.jc,b,k,d)}}h.mb=f;h.Rd=o;j=n.Ce||n.nc||b.$CreateDiv();h.Qb=c=b.Yc(u,"thumbnailtemplate",j,d);m=b.gc(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.Ac=function(a,f,d){if(a!=s){var b=s;s=a;b!=-1&&y[b].Rd();y[a].Rd()}!d&&t.$PlayTo(t.Kd(c.floor(a/e)))};l.yc=function(a){b.A(f,a)};var C;l.Cc=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.K(h,"absolute");b.Ob(h,"hidden");b.$CssWidth(h,o);b.$CssHeight(h,n);b.Qc(h,3);var m=[];b.$Each(G,function(k,f){var i=new D(k,f),d=i.Qb,a=c.floor(f/e),j=f%e;b.L(d,(w+q)*j*(1-g));b.I(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.q({$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.bg=t.bg;C=d}};l.Xb=a=b.q({$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.kc(u,h);e=a.$Rows||1;q=a.$SpacingX;r=a.$SpacingY;j=a.$Cols;a.$Scale==k&&n.R(f,m.Pb,1);a.$AutoCenter&=a.$Orientation;a.$AutoCenter&&n.R(f,m.ob,a.$AutoCenter);n.dc(f)};function r(e,d,c){var a=this;l.call(a,0,c);a.bd=b.Uc;a.Tc=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.Bd(d))d=q(d,c||f=="e");else if(c)if(b.Tb(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.T(c,"t")];d&&a.push({$Elmt:c,xc:d});a=a.concat(s(c,e+1))});return a}function n(c,e){var a=p[c];if(a==g){a=p[c]={eb:c,Lc:[],Sc:[]};var d=0;!b.$Each(h,function(a,b){d=b;return a.eb>c})&&d++;h.splice(d,0,a)}return a}function y(s,t,h){var a,f;if(r){var m=r[b.T(s,"c")];if(m){a=n(m.r,0);a.ig=m.e||0}}b.$Each(t,function(i){var g=b.q(d,{},q(i)),j=b.Bc(g.$Easing);delete g.$Easing;if(g.$Left){g.C=g.$Left;j.C=j.$Left;delete g.$Left}if(g.$Top){g.B=g.$Top;j.B=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.Lc.push(k)}h=b.Ae(h,g)});if(a&&f){f.pe();var i=f,k,j=f.mc(),o=f.qb(),p=c.max(o,a.ig);if(a.eb<o){if(a.eb>j){i=new l(j,a.eb-j);i.O(f,d)}else i=g;k=new l(a.eb,p-j,{Nc:p-a.eb,Fe:d});k.O(f,d)}i&&a.Lc.push(i);k&&a.Sc.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.L(a),$Top:b.I(a),C:0,B: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.Vd=c.$Left;c.Wd=c.$Top;y(a,f.xc,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.Hd(f.d);return c}function z(e){var c=m.mc(),d=0;b.$Each(e,function(e,f){e=b.q({d:3e3},e);A(e,c,d);c=e.b;d+=e.d;if(!f||e.t==2){a.Tc=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;a<m;a++){var h=d.slice(a*4,c.min(a*4+4,g)),i=new l(h[0].eb,0);j(i,h,f);k.O(i)}else b.$Each(d,function(a){b.$Each(f?a.Sc:a.Lc,function(a){f&&a.Hd(e-a.qb());k.O(a)})})}a.bd=function(){a.D(-1,d)};u=[f.$Linear,f.$Swing,f.$InQuad,f.$OutQuad,f.$InOutQuad,f.$InCubic,f.$OutCubic,f.$InOutCubic,f.$InQuart,f.$OutQuart,f.$InOutQuart,f.$InQuint,f.$OutQuint,f.$InOutQuint,f.$InSine,f.$OutSine,f.$InOutSine,f.$InExpo,f.$OutExpo,f.$InOutExpo,f.$InCirc,f.$OutCirc,f.$InOutCirc,f.$InElastic,f.$OutElastic,f.$InOutElastic,f.$InBack,f.$OutBack,f.$InOutBack,f.$InBounce,f.$OutBounce,f.$InOutBounce,f.$Early,f.$Late];var C={$Top:"y",$Left:"x",$Bottom:"m",$Right:"t",$Rotate:"r",$RotateX:"rX",$RotateY:"rY",$ScaleX:"sX",$ScaleY:"sY",$TranslateX:"tX",$TranslateY:"tY",$TranslateZ:"tZ",$SkewX:"kX",$SkewY:"kY",$Opacity:"o",$Easing:"e",$ZIndex:"i",$Clip:"c"};b.$Each(C,function(b,a){o[b]=a});x(s(t,1));j(m,h);var w=k.$Breaks||[],i=w[b.T(t,"b")]||[];i=i.concat({b:e,d:i.length?0:B});z(i);e=c.max(e,a.qb());j(a,h,d);a.D(-1)};var i=j.$JssorSlider$=function(){var a=this;b.tg(a,o);var Fb="data-jssor-slider",Vb="data-jssor-thumb",v,n,G,mb,eb,sb,cb,R,N,L,Pb,kc,oc=1,jc=1,Xb=1,ac={},y,Y,Db,Rb,Ob,rb,fb,db,lb,s=-1,Ib,q,J,I,ob,yb,zb,ab,M,V,Z,x,W,xb,hb=[],fc,hc,bc,pc,Kc,u,nb,H,dc,wb,Gb,ec,T,P=0,K=Number.MAX_VALUE,E=Number.MIN_VALUE,gc,C,pb,S,O=1,bb,A,gb,Jb=0,Kb=0,Q,tb,ub,qb,w,jb,z,Lb,ib=[],Sb=b.$Device(),vb=Sb.Ye,B=[],D,U,F,Eb,Ub,X;function wc(e,k,o){var l=this,h={$Top:2,$Right:1,$Bottom:2,$Left:1},n={$Top:"top",$Right:"right",$Bottom:"bottom",$Left:"left"},g,a,f,i,j={};l.$Elmt=e;l.$ScaleSize=function(q,p,t){var l,s=q,r=p;if(!f){f=b.fg(e);g=e.parentNode;i={$Scale:b.T(e,m.Pb,1),$AutoCenter:b.T(e,m.ob)};b.$Each(n,function(c,a){j[a]=b.T(e,"data-scale-"+c,1)});a=e;if(k){a=b.$CloneNode(g,d);b.N(a,{$Top:0,$Left:0});b.$AppendChild(a,e);b.$AppendChild(g,a)}}if(o){l=c.max(q,p);if(k)if(t>0&&t<1){var v=c.min(q,p);l=c.min(l/v,1/(1-t))*v}}else s=r=l=c.pow(N<L?p:q,i.$Scale);b.Yf(a,l);b.$Attribute(a,m.Dc,l);b.$CssWidth(g,f.v*s);b.$CssHeight(g,f.u*r);var u=b.$IsBrowserIE()&&b.$BrowserEngineVersion()<9||b.$BrowserEngineVersion()<10&&b.$IsBrowserIeQuirks()?l:1,w=(s-u)*f.v/2,x=(r-u)*f.u/2;b.L(a,w);b.I(a,x);b.$Each(f,function(d,a){if(h[a]&&d){var e=(h[a]&1)*c.pow(q,j[a])*d+(h[a]&2)*c.pow(p,j[a])*d/2;b.se[a](g,e)}});b.Qc(g,i.$AutoCenter)}}function Jc(){var b=this;l.call(b,-1e8,2e8);b.Of=function(){var a=b.Z();a=t(a);var d=c.round(a),g=d,f=a-c.floor(a),e=Wb(a);return{mb:g,Pf:d,wb:f,Jc:a,Qf:e}};b.lc=function(e,b){var g=t(b);if(c.abs(b-e)>1e-5){var f=c.floor(b);if(f!=b&&b>e&&(C&1||b>P))f++;ic(f,g,d)}a.j(i.$EVT_POSITION_CHANGE,g,t(e),b,e)}}function Ic(){var a=this;l.call(a,0,0,{Nc:q});b.$Each(B,function(b){C&1&&b.De(q);a.Ic(b);b.$Shift(T/ab)})}function Hc(){var a=this,b=Lb.$Elmt;l.call(a,-1,2,{$Easing:f.$Linear,Ee:{wb:nc},Nc:q},b,{wb:1},{wb:-2});a.Qb=b}function zc(o,m){var b=this,e,f,h,j,c;l.call(b,-1e8,2e8,{qd:100});b.vd=function(){bb=d;gb=g;a.j(i.$EVT_SWIPE_START,t(w.db()),w.db())};b.td=function(){bb=k;j=k;var b=w.Of();a.j(i.$EVT_SWIPE_END,t(w.db()),w.db());if(!A){Lc(b.Pf,s);(!b.wb||b.Qf)&&ic(s,b.Jc)}};b.lc=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.D(a)};b.Zb=function(a,d,c,g){e=a;f=d;h=c;w.D(a);b.D(0);b.ld(c,g)};b.Wf=function(a){j=d;c=a;b.$Play(a,g,d)};b.Xf=function(a){c=a};w=new Jc;w.O(o);w.O(m)}function Ac(){var c=this,a=lc();b.z(a,0);b.$Css(a,"pointerEvents","none");c.$Elmt=a;c.ke=function(c){b.$AppendChild(a,c);b.A(a)};c.pb=function(){b.V(a);b.zc(a)}}function Gc(m,f){var e=this,r,K,x,j,y=[],w,A,R,G,P,E,H,h,v,p;l.call(e,-M,M+1,{});function C(a){r&&r.bd();Q(m,a,0);E=d;r=new eb.$Class(m,eb,b.T(m,"idle",dc),!u);r.D(0)}function U(){r.Fc<eb.Fc&&C()}function N(p,r,o){if(!G){G=d;if(j&&o){var g=o.width,c=o.height,m=g,l=c;if(g&&c&&n.$FillMode){if(n.$FillMode&3&&(!(n.$FillMode&4)||g>J||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.I(j,(I-l)/2);b.L(j,(J-m)/2)}b.K(j,"absolute");a.j(i.$EVT_LOAD_END,f)}}b.V(r);p&&p(e)}function T(g,b,c,d){if(d==gb&&s==f&&u)if(!Kc){var a=t(g);D.ee(a,f,b,e,c,I/J);b.og();jb.$Shift(a-jb.mc()-1);jb.D(a);z.Zb(a,a,0)}}function W(b){if(b==gb&&s==f){if(!h){var a=g;if(D)if(D.mb==f)a=D.ze();else D.pb();U();h=new Fc(m,f,a,r);h.Nd(p)}!h.$IsPlaying()&&h.Mc()}}function F(a,d,k){if(a==f){if(a!=d)B[d]&&B[d].Md();else!k&&h&&h.vg();p&&p.$Enable();var l=gb=b.W();e.Mb(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=M+n.$LazyLoading-1;(!P||o<=m)&&e.Mb()}}function X(){if(s==f&&h){h.lb();p&&p.$Quit();p&&p.$Disable();h.rd()}}function Z(){s==f&&h&&h.lb()}function V(b){!S&&a.j(i.$EVT_CLICK,f,b)}function O(){p=v.pInstance;h&&h.Nd(p)}e.Mb=function(e,c){c=c||x;if(y.length&&!G){b.A(c);if(!R){R=d;a.j(i.$EVT_LOAD_START,f);b.$Each(y,function(a){if(!b.$Attribute(a,"src")){a.src=b.$AttributeEx(a,"src2")||"";b.nb(a,a["display-origin"])}})}b.eg(y,j,b.$CreateCallback(g,N,e,c))}else N(e,c)};e.We=function(){if(q==1){e.Md();F(f,f)}else if(D){var a=D.be(q);if(a){var h=gb=b.W(),c=f+nb,d=B[t(c)];return d.Mb(b.$CreateCallback(g,T,c,d,a,h),x)}}else Nb(nb)};e.wc=function(){F(f,f,d)};e.Md=function(){p&&p.$Quit();p&&p.$Disable();e.ud();h&&h.af();h=g;C()};e.og=function(){b.V(m)};e.ud=function(){b.A(m)};e.ef=function(){p&&p.$Enable()};function Q(a,f,c,h){if(b.$Attribute(a,Fb))return;if(!E){if(a.tagName=="IMG"){y.push(a);if(!b.$Attribute(a,"src")){P=d;a["display-origin"]=b.nb(a);b.V(a)}}var e=b.Be(a);if(e){var g=new Image;b.$AttributeEx(g,"src2",e);y.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.zg(a,b.$AttributeEx(a,"to"));b.Uf(a,b.$AttributeEx(a,"bf"));H&&b.$AttributeEx(a,"3d")&&b.Tf(a,"preserve-3d")}}else if(!E&&!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){w=a;b.nb(w,"block");b.N(w,lb);A=b.$CloneNode(w,d);b.K(w,"relative");b.uc(A,0);b.$Css(A,"backgroundColor","#000")}}else if(e=="IMG"&&b.$AttributeEx(a,"u")=="image")j=a;if(j){j.border=0;b.N(j,lb)}}Q(a,f,c+1,h)})}e.Gc=function(c,b){var a=M-b;nc(K,a)};e.mb=f;o.call(e);H=b.$AttributeEx(m,"p");b.Sf(m,H);b.Vf(m,b.$AttributeEx(m,"po"));var L=b.$FindChild(m,"thumb",d);if(L){e.Ce=b.$CloneNode(L);b.V(L)}b.A(m);x=b.$CloneNode(Y);b.z(x,1e3);b.$AddEvent(m,"click",V);C(d);e.nc=j;e.kd=A;e.Id=m;e.Qb=K=m;b.$AppendChild(K,x);a.$On(203,F);a.$On(28,Z);a.$On(24,X)}function Fc(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.zc(U);pc&&m&&o.kd&&b.$AppendChild(U,o.kd);b.A(U,!m&&o.nc)}function x(){c.Mc()}function y(a){r=a;c.lb();c.Mc()}c.Mc=function(){var b=c.Z();if(!A&&!bb&&!r&&s==g){if(!b){if(h&&!m){m=d;c.rd(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.od();a.j(p,g,b,n,j,f,e);var l=u&&(!H||O);if(b==e)(f!=e&&!(H&12)||l)&&o.We();else(l||b!=f)&&c.ld(k,x)}};c.vg=function(){f==e&&f==c.Z()&&c.D(j)};c.af=function(){D&&D.mb==g&&D.pb();var b=c.Z();b<e&&a.j(i.$EVT_STATE_CHANGE,g,-b-1,n,j,f,e)};c.rd=function(a){p&&b.Ob(Z,a&&p.xc.$Outside?"":"hidden")};c.Gc=function(c,b){if(m&&b>=h){m=k;w();o.ud();D.pb();a.j(i.$EVT_SLIDESHOW_END,g,n,v,h,e)}a.j(i.$EVT_PROGRESS_CHANGE,g,b,n,j,f,e)};c.Nd=function(a){if(a&&!t){t=a;a.$On($JssorPlayer$.ye,y)}};p&&c.Ic(p);h=c.qb();c.Ic(q);j=h+q.Tc;e=c.qb();f=u?h+q.ed:e}function Hb(a,c,d){b.L(a,c);b.I(a,d)}function nc(c,b){var a=x>0?x:G,d=yb*b*(a&1),e=zb*b*(a>>1&1);Hb(c,d,e)}function Cb(a){if(!(C&1))a=c.min(K,c.max(a,E));return a}function Wb(a){return!(C&1)&&(a-E<.0001||K-a<.0001)}function cc(){Eb=bb;Ub=z.od();F=w.db()}function rc(){cc();if(A||!O&&H&12){z.lb();a.j(i.cf)}}function qc(g){if(!A&&(O||!(H&12))&&!z.$IsPlaying()){var b=w.db(),a=F,e=0;if(g&&c.abs(Q)>=n.$MinDragOffsetToSlide){a=b;e=ub}if(Wb(b)){if(!g||S)a=c.round(a)}else a=c.ceil(a);a=Cb(a+e);if(!(C&1)){if(K-a<.5)a=K;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(!S&&Eb)z.qe(Ub);else if(b==a){Ib.ef();Ib.wc()}else z.Zb(b,a,d*wb)}}function Tb(a){!b.Hb(b.$EvtSrc(a),"nodrag")&&b.$CancelEvent(a)}function Dc(a){mc(a,1)}function mc(c,j){var f=b.$EvtSrc(c);xb=k;var l=b.Hb(f,"1",Vb);if((!l||l===v)&&!W&&(!j||c.touches.length==1)){xb=b.Hb(f,"nodrag")||!pb||!Ec();var n=b.Hb(f,e,m.Dc);if(n)Xb=b.$Attribute(n,m.Dc);if(j){var p=c.touches[0];Jb=p.clientX;Kb=p.clientY}else{var o=b.Xd(c);Jb=o.x;Kb=o.y}A=d;gb=g;b.$AddEvent(h,j?"touchmove":"mousemove",Qb);b.W();S=0;rc();if(!Eb)x=0;Q=0;tb=0;ub=0;a.j(i.$EVT_DRAG_START,t(F),F,c)}}function Qb(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 kb();else a=b.Xd(g);if(a){var e=a.x-Jb,f=a.y-Kb;if(x||c.abs(e)>1.5||c.abs(f)>1.5){if(c.floor(F)!=F)x=x||G&W;if((e||f)&&!x){if(W==3)if(c.abs(f)>c.abs(e))x=2;else x=1;else x=W;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;X=F-Q/i/Xb;if(!(C&1)){var l=0,j=[-F+P,0,F-q+V-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+X,m=k;j=[-h+P,0,h-q+V-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);X=a*(b-1)+P;if(b)X+=q-V;m=d}});if(!m)X=h}if(Q&&x&&!xb){b.$CancelEvent(g);if(!bb)z.Wf(X);else z.Xf(X)}}}}}function kb(){Bc();if(A){S=Q;b.W();b.U(h,"mousemove",Qb);b.U(h,"touchmove",Qb);S&&u&8&&(u=0);z.lb();A=k;var c=w.db();a.j(i.$EVT_DRAG_END,t(c),c,t(F),F);H&12&&cc();qc(d)}}function vc(c){var a=b.$EvtSrc(c),d=b.Hb(a,"1",Fb);if(v===d)if(S){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 Mc(d){if(d!=s){var b=qb.Z(),a=Cb(d),e=c.round(t(a));if(b-a<.5)a=b;B[s];s=e;Ib=B[s];w.D(a)}}function Lc(b,c){x=0;Mc(b);if(u&2&&(nb>0&&s==q-1||nb<0&&!s))u=0;a.j(i.$EVT_PARK,s,c)}function ic(a,d,e){if(!(C&1)){a=c.max(0,a);a=c.min(a,q-V+P);a=c.round(a)}a=t(a);b.$Each(hb,function(b){b.Ac(a,d,e)})}function Ec(){var b=i.nd||0,a=pb;i.nd|=a;return W=a&~b}function Bc(){if(W){i.nd&=~pb;W=0}}function lc(){var a=b.$CreateDiv();b.N(a,lb);b.K(a,"absolute");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 Mb(){b.$Each(hb,function(a){a.yc(a.Xb.$ChanceToShow<=O)})}function tc(){if(!O){O=1;Mb();if(!A){H&12&&qc();H&3&&B[s]&&B[s].wc()}}a.j(i.$EVT_MOUSE_LEAVE)}function sc(){if(O){O=0;Mb();A||!(H&12)||rc()}a.j(i.$EVT_MOUSE_ENTER)}function uc(){b.$Each(ib,function(a){b.N(a,lb);b.K(a,"absolute");b.Ob(a,"hidden");b.V(a)});b.N(Y,lb)}function Nb(b,a){Ab(b,a,d)}function Ab(l,g,m,o){if(!A&&(O||!(H&12))||n.$NaviQuitDrag){bb=d;A=k;z.lb();if(g==e)g=wb;var b=t(qb.Z()),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-V&&c.abs(b-K)<.0001))a=a<0?K:E;a=Cb(a);if(K-a<.5)a=K;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(M>1)i=(G&1?fb:db)/ab;h=c.min(h,g*i*1.5);z.Zb(b,a,h||1)}}a.$SlidesCount=function(){return ib.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].wc()}};a.$IsDragging=function(){return A};a.$IsSliding=function(){return bb};a.$IsMouseOver=function(){return!O};a.ne=function(){return S};a.$OriginalWidth=function(){return N};a.$OriginalHeight=function(){return L};a.$ScaleHeight=function(b){if(b==e)return kc||L;a.$ScaleSize(b/L*N,b)};a.$ScaleWidth=function(b){if(b==e)return Pb||N;a.$ScaleSize(b,b/N*L)};a.$ScaleSize=function(c,a,d){b.$CssWidth(v,c);b.$CssHeight(v,a);oc=c/N;jc=a/L;b.$Each(ac,function(a){a.$ScaleSize(oc,jc,d)});if(!Pb){b.Eb(Z,y);b.I(Z,0);b.L(Z,0)}Pb=c;kc=a};a.re=function(a){return c.abs(a-E)<.0001};a.oe=function(a){return c.abs(a-K)<.0001};a.$PlayTo=Ab;a.$GoTo=function(a){z.Zb(a,a,0)};a.$Next=function(){Nb(1)};a.$Prev=function(){Nb(-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){eb.$Transitions=a;eb.Fc=b.W()};a.Kd=function(a){a=t(a);if(C&1){var d=T/ab,b=t(qb.Z()),e=t(a-b+d),f=t(c.abs(a-b));if(e>=M){if(f>q/2)if(a>b)a-=q;else a+=q}else if(a>b&&e<d)a-=q;else if(a<b&&e>d)a+=q}return a};a.oc=function(O,m){a.$Elmt=v=b.$GetElement(O);N=b.$CssWidth(v);L=b.$CssHeight(v);n=b.q({$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},m);n.$HWA=n.$HWA&&b.wg();if(n.$Idle!=e)n.$AutoPlayInterval=n.$Idle;if(n.$DisplayPieces!=e)n.$Cols=n.$DisplayPieces;if(n.$ParkingPosition!=e)n.$Align=n.$ParkingPosition;G=n.$PlayOrientation&3;mb=n.$SlideshowOptions;eb=b.q({$Class:r},n.$CaptionSliderOptions);sb=n.$BulletNavigatorOptions;cb=n.$ArrowNavigatorOptions;R=n.$ThumbnailNavigatorOptions;!n.$UISearchMode;var s=b.$Children(v);b.$Each(s,function(a,d){var c=b.$AttributeEx(a,"u");if(c=="loading")Y=a;else{if(c=="slides")y=a;if(c=="navigator")Db=a;if(c=="arrowleft")Rb=a;if(c=="arrowright")Ob=a;if(c=="thumbnavigator")rb=a;if(a.tagName!="STYLE"&&a.tagName!="SCRIPT")ac[c||d]=new wc(a,c=="slides",b.mg(["slides","thumbnavigator"])[c])}});Y=Y||b.$CreateDiv(h);fb=b.$CssWidth(y);db=b.$CssHeight(y);J=n.$SlideWidth||fb;I=n.$SlideHeight||db;lb={v:J,u:I,$Top:0,$Left:0};ob=n.$SlideSpacing;yb=J+ob;zb=I+ob;ab=G&1?yb:zb;nb=n.$AutoPlaySteps;H=n.$PauseOnHover;dc=n.$AutoPlayInterval;wb=n.$SlideDuration;Lb=new Ac;if(n.$HWA&&(!b.$IsBrowserFireFox()||vb))Hb=function(a,c,d){b.bc(a,{$TranslateX:c,$TranslateY:d})};u=n.$AutoPlay&63;a.Xb=m;b.$Attribute(v,Fb,"1");b.z(y,b.z(y)||0);b.K(y,"absolute");Z=b.$CloneNode(y,d);b.Eb(Z,y);jb=new Hc;b.$AppendChild(Z,jb.Qb);b.Ob(y,"hidden");H&=vb?10:5;var x=b.$Children(y);b.$Each(x,function(a){a.tagName=="DIV"&&!b.$AttributeEx(a,"u")&&ib.push(a);b.z(a,(b.z(a)||0)+1)});U=lc();b.$Css(U,"backgroundColor","#000");b.uc(U,0);b.z(U,0);b.Eb(U,y.firstChild,y);q=ib.length;var l=c.ceil(((G&1?fb:db)+ob)/ab);if(n.$Cols)l=n.$Cols;M=c.min(q,l);V=((G&1)*fb+(G&2)*db/2+ob)/ab;gc=M<q;C=gc?n.$Loop:0;if(q){uc();T=n.$Align;if(T==e){var w=G&1?J:I,o=G&1?fb:db;T=(o-w)/2}if(mb){pc=mb.$ShowLink;Gb=mb.$Class;ec=!T&&M==1&&q>1&&Gb&&(!b.$IsBrowserIE()||b.$BrowserVersion()>=9)}if(!(C&1)){P=T/ab;E=P;K=E+q-V}pb=(M>1||T?G:-1)&n.$DragOrientation;Sb.sd&&b.$Css(y,Sb.sd,([g,"pan-y","pan-x","none"])[pb]||"");if(ec)D=new Gb(Lb,J,I,mb,vb,Hb);for(var i=0;i<ib.length;i++){var A=ib[i],F=new Gc(A,i);B.push(F)}b.V(Y);qb=new Ic;z=new zc(qb,jb);b.$AddEvent(v,"click",vc,d);b.$AddEvent(v,"mouseleave",tc);b.$AddEvent(v,"mouseenter",sc);b.$AddEvent(v,"mousedown",mc);b.$AddEvent(v,"touchstart",Dc);b.$AddEvent(v,"dragstart",Tb);b.$AddEvent(v,"selectstart",Tb);b.$AddEvent(j,"mouseup",kb);b.$AddEvent(h,"mouseup",kb);b.$AddEvent(h,"touchend",kb);b.$AddEvent(h,"touchcancel",kb);b.$AddEvent(j,"blur",kb);if(Db&&sb){fc=new sb.$Class(Db,sb,N,L);hb.push(fc)}if(cb&&Rb&&Ob){cb.$Loop=C;hc=new cb.$Class(Rb,Ob,cb,N,L,a);hb.push(hc)}if(rb&&R){R.$StartIndex=n.$StartIndex;R.$ArrowKeyNavigation=R.$ArrowKeyNavigation||0;bc=new R.$Class(rb,R);!R.$NoDrag&&b.$Attribute(rb,Vb,"1");hb.push(bc)}b.$Each(hb,function(a){a.Cc(q,B,Y);a.$On(p.jc,Bb)});b.$Css(v,"visibility","visible");a.$ScaleSize(N,L);Mb();n.$ArrowKeyNavigation&&b.$AddEvent(h,"keydown",function(a){if(a.keyCode==37)Bb(-n.$ArrowKeyNavigation,d);else a.keyCode==39&&Bb(n.$ArrowKeyNavigation,d)});var k=n.$StartIndex;k=t(k);Ab(k,0)}};b.oc(a)};i.$EVT_CLICK=21;i.$EVT_DRAG_START=22;i.$EVT_DRAG_END=23;i.$EVT_SWIPE_START=24;i.$EVT_SWIPE_END=25;i.$EVT_LOAD_START=26;i.$EVT_LOAD_END=27;i.cf=28;i.$EVT_MOUSE_ENTER=31;i.$EVT_MOUSE_LEAVE=32;i.$EVT_POSITION_CHANGE=202;i.$EVT_PARK=203;i.$EVT_SLIDESHOW_START=206;i.$EVT_SLIDESHOW_END=207;i.$EVT_PROGRESS_CHANGE=208;i.$EVT_STATE_CHANGE=209})(window,document,Math,null,true,false)
|