text: ﻿/*! Jssor */
  var $JssorDebug$=new function(){this.$DebugMode=true;this.$Log=function(c,d){var a=window.console||{},b=this.$DebugMode;if(b&&a.log)a.log(c);else b&&d&&alert(c)};this.$Error=function(b,d){var c=window.console||{},a=this.$DebugMode;if(a&&c.error)c.error(b);else a&&alert(b);if(a)throw d||new Error(b);};this.$Fail=function(a){throw new Error(a);};this.$Assert=function(b,c){var a=this.$DebugMode;if(a)if(!b)throw new Error("Assert failed "+c||"");};this.$Trace=function(c){var a=window.console||{},b=this.$DebugMode;b&&a.log&&a.log(c)};this.$Execute=function(b){var a=this.$DebugMode;a&&b()};this.$LiveStamp=function(c,d){var b=this.$DebugMode;if(b){var a=document.createElement("DIV");a.setAttribute("id",d);c.$Live=a}};this.$C_AbstractProperty=function(){throw new Error("The property is abstract, it should be implemented by subclass.");};this.$C_AbstractMethod=function(){throw new Error("The method is abstract, it should be implemented by subclass.");};function a(b){if(b.constructor===a.caller)throw new Error("Cannot create instance of an abstract class.");}this.$C_AbstractClass=a},$JssorEasing$=window.$JssorEasing$={$EaseSwing:function(a){return-Math.cos(a*Math.PI)/2+.5},$EaseLinear:function(a){return a},$EaseInQuad:function(a){return a*a},$EaseOutQuad:function(a){return-a*(a-2)},$EaseInOutQuad:function(a){return(a*=2)<1?1/2*a*a:-1/2*(--a*(a-2)-1)},$EaseInCubic:function(a){return a*a*a},$EaseOutCubic:function(a){return(a-=1)*a*a+1},$EaseInOutCubic:function(a){return(a*=2)<1?1/2*a*a*a:1/2*((a-=2)*a*a+2)},$EaseInQuart:function(a){return a*a*a*a},$EaseOutQuart:function(a){return-((a-=1)*a*a*a-1)},$EaseInOutQuart:function(a){return(a*=2)<1?1/2*a*a*a*a:-1/2*((a-=2)*a*a*a-2)},$EaseInQuint:function(a){return a*a*a*a*a},$EaseOutQuint:function(a){return(a-=1)*a*a*a*a+1},$EaseInOutQuint:function(a){return(a*=2)<1?1/2*a*a*a*a*a:1/2*((a-=2)*a*a*a*a+2)},$EaseInSine:function(a){return 1-Math.cos(a*Math.PI/2)},$EaseOutSine:function(a){return Math.sin(a*Math.PI/2)},$EaseInOutSine:function(a){return-1/2*(Math.cos(Math.PI*a)-1)},$EaseInExpo:function(a){return a==0?0:Math.pow(2,10*(a-1))},$EaseOutExpo:function(a){return a==1?1:-Math.pow(2,-10*a)+1},$EaseInOutExpo:function(a){return a==0||a==1?a:(a*=2)<1?1/2*Math.pow(2,10*(a-1)):1/2*(-Math.pow(2,-10*--a)+2)},$EaseInCirc:function(a){return-(Math.sqrt(1-a*a)-1)},$EaseOutCirc:function(a){return Math.sqrt(1-(a-=1)*a)},$EaseInOutCirc:function(a){return(a*=2)<1?-1/2*(Math.sqrt(1-a*a)-1):1/2*(Math.sqrt(1-(a-=2)*a)+1)},$EaseInElastic:function(a){if(!a||a==1)return a;var b=.3,c=.075;return-(Math.pow(2,10*(a-=1))*Math.sin((a-c)*2*Math.PI/b))},$EaseOutElastic:function(a){if(!a||a==1)return a;var b=.3,c=.075;return Math.pow(2,-10*a)*Math.sin((a-c)*2*Math.PI/b)+1},$EaseInOutElastic:function(a){if(!a||a==1)return a;var b=.45,c=.1125;return(a*=2)<1?-.5*Math.pow(2,10*(a-=1))*Math.sin((a-c)*2*Math.PI/b):Math.pow(2,-10*(a-=1))*Math.sin((a-c)*2*Math.PI/b)*.5+1},$EaseInBack:function(a){var b=1.70158;return a*a*((b+1)*a-b)},$EaseOutBack:function(a){var b=1.70158;return(a-=1)*a*((b+1)*a+b)+1},$EaseInOutBack: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)},$EaseInBounce:function(a){return 1-$JssorEasing$.$EaseOutBounce(1-a)},$EaseOutBounce: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},$EaseInOutBounce:function(a){return a<1/2?$JssorEasing$.$EaseInBounce(a*2)*.5:$JssorEasing$.$EaseOutBounce(a*2-1)*.5+.5},$EaseGoBack:function(a){return 1-Math.abs(2-1)},$EaseInWave:function(a){return 1-Math.cos(a*Math.PI*2)},$EaseOutWave:function(a){return Math.sin(a*Math.PI*2)},$EaseOutJump:function(a){return 1-((a*=2)<1?(a=1-a)*a*a:(a-=1)*a*a)},$EaseInJump:function(a){return(a*=2)<1?a*a*a:(a=2-a)*a*a}},$Jease$=window.$Jease$={$Swing:$JssorEasing$.$EaseSwing,$Linear:$JssorEasing$.$EaseLinear,$InQuad:$JssorEasing$.$EaseInQuad,$OutQuad:$JssorEasing$.$EaseOutQuad,$InOutQuad:$JssorEasing$.$EaseInOutQuad,$InCubic:$JssorEasing$.$EaseInCubic,$OutCubic:$JssorEasing$.$EaseOutCubic,$InOutCubic:$JssorEasing$.$EaseInOutCubic,$InQuart:$JssorEasing$.$EaseInQuart,$OutQuart:$JssorEasing$.$EaseOutQuart,$InOutQuart:$JssorEasing$.$EaseInOutQuart,$InQuint:$JssorEasing$.$EaseInQuint,$OutQuint:$JssorEasing$.$EaseOutQuint,$InOutQuint:$JssorEasing$.$EaseInOutQuint,$InSine:$JssorEasing$.$EaseInSine,$OutSine:$JssorEasing$.$EaseOutSine,$InOutSine:$JssorEasing$.$EaseInOutSine,$InExpo:$JssorEasing$.$EaseInExpo,$OutExpo:$JssorEasing$.$EaseOutExpo,$InOutExpo:$JssorEasing$.$EaseInOutExpo,$InCirc:$JssorEasing$.$EaseInCirc,$OutCirc:$JssorEasing$.$EaseOutCirc,$InOutCirc:$JssorEasing$.$EaseInOutCirc,$InElastic:$JssorEasing$.$EaseInElastic,$OutElastic:$JssorEasing$.$EaseOutElastic,$InOutElastic:$JssorEasing$.$EaseInOutElastic,$InBack:$JssorEasing$.$EaseInBack,$OutBack:$JssorEasing$.$EaseOutBack,$InOutBack:$JssorEasing$.$EaseInOutBack,$InBounce:$JssorEasing$.$EaseInBounce,$OutBounce:$JssorEasing$.$EaseOutBounce,$InOutBounce:$JssorEasing$.$EaseInOutBounce,$GoBack:$JssorEasing$.$EaseGoBack,$InWave:$JssorEasing$.$EaseInWave,$OutWave:$JssorEasing$.$EaseOutWave,$OutJump:$JssorEasing$.$EaseOutJump,$InJump:$JssorEasing$.$EaseInJump},$JssorDirection$=window.$JssorDirection$={$TO_LEFT:1,$TO_RIGHT:2,$TO_TOP:4,$TO_BOTTOM:8,$HORIZONTAL:3,$VERTICAL:12,$GetDirectionHorizontal:function(a){return a&3},$GetDirectionVertical:function(a){return a&12},$IsHorizontal:function(a){return a&3},$IsVertical:function(a){return a&12}},$JssorKeyCode$={$BACKSPACE:8,$COMMA:188,$DELETE:46,$DOWN:40,$END:35,$ENTER:13,$ESCAPE:27,$HOME:36,$LEFT:37,$NUMPAD_ADD:107,$NUMPAD_DECIMAL:110,$NUMPAD_DIVIDE:111,$NUMPAD_ENTER:108,$NUMPAD_MULTIPLY:106,$NUMPAD_SUBTRACT:109,$PAGE_DOWN:34,$PAGE_UP:33,$PERIOD:190,$RIGHT:39,$SPACE:32,$TAB:9,$UP:38},$JssorServices$={},$Jssor$=window.$Jssor$=new function(){var a=this,qb=/\S+/g,J=1,W=2,ab=3,Z=4,eb=5,z,j=0,c=0,h=0,A=0,t=0,p=navigator,jb=p.appName,e=p.userAgent,m=document.documentElement;function zb(){if(!z){z={$Touchable:"ontouchstart"in window||"createTouch"in document};var a;if(p.pointerEnabled||(a=p.msPointerEnabled))z.$TouchActionAttr=a?"msTouchAction":"touchAction"}return z}function k(l){if(!j){j=-1;if(jb=="Microsoft Internet Explorer"&&!!window.attachEvent&&!!window.ActiveXObject){var i=e.indexOf("MSIE");j=J;h=f(e.substring(i+5,e.indexOf(";",i)));/*@cc_on A=@_jscript_version@*/;c=document.documentMode||h}else if(jb=="Netscape"&&!!window.addEventListener){var g=e.indexOf("Firefox"),b=e.indexOf("Safari"),k=e.indexOf("Chrome"),d=e.indexOf("AppleWebKit");if(g>=0){j=W;c=f(e.substring(g+8))}else if(b>=0){var m=e.substring(0,b).lastIndexOf("/");j=k>=0?Z:ab;c=f(e.substring(m+1,b))}else{var a=/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/i.exec(e);if(a){j=J;c=h=f(a[1])}}if(d>=0)t=f(e.substring(d+12))}else{var a=/(opera)(?:.*version|)[ \/]([\w.]+)/i.exec(e);if(a){j=eb;c=f(a[2])}}}return l==j}function g(){return k(J)}function E(){return g()&&(c<6||document.compatMode=="BackCompat")}function rb(){return k(W)}function Y(){return k(ab)}function ub(){return k(Z)}function db(){return k(eb)}function R(){return Y()&&t>534&&t<535}function C(){return g()&&c<9}function T(a){var b;return function(e){if(!b){b=a;var c=a.substr(0,1).toUpperCase()+a.substr(1);d([a].concat(["WebKit","ms","Moz","O","webkit"]),function(g,f){var d=a;if(f)d=g+c;if(e.style[d]!=undefined)return b=d})}return b}}var S=T("transform");function ib(a){return{}.toString.call(a)}var y;function wb(){if(!y){y={};d(["Boolean","Number","String","Function","Array","Date","RegExp","Object"],function(a){y["[object "+a+"]"]=a.toLowerCase()})}return y}function d(a,c){if(ib(a)=="[object Array]"){for(var b=0;b<a.length;b++)if(c(a[b],b,a))return true}else for(var d in a)if(c(a[d],d,a))return true}function r(a){return a==null?String(a):wb()[ib(a)]||"object"}function gb(a){for(var b in a)return true}function o(a){try{return r(a)=="object"&&!a.nodeType&&a!=a.window&&(!a.constructor||{}.hasOwnProperty.call(a.constructor.prototype,"isPrototypeOf"))}catch(b){}}function n(a,b){return{x:a,y:b}}function mb(b,a){setTimeout(b,a||0)}function w(b,e,c){var a=!b||b=="inherit"?"":b;d(e,function(c){var b=c.exec(a);if(b){var d=a.substr(0,b.index),e=a.substr(b.lastIndex+1,a.length-(b.lastIndex+1));a=d+e}});a=c+(a.indexOf(" ")!=0?" ":"")+a;return a}function V(b,a){if(c<9)b.style.filter=a}function sb(f,b,h){if(!A||A<9){var d=b.$ScaleX,e=b.$ScaleY,i=(b.$Rotate||0)%360,g="";if(i||d!=undefined||e!=undefined){if(d==undefined)d=1;if(e==undefined)e=1;var c=a.$CreateMatrix(i/180*Math.PI,d||1,e||1),h=a.$GetMatrixOffset(c,b.$OriginalWidth,b.$OriginalHeight);a.$CssMarginTop(f,h.y);a.$CssMarginLeft(f,h.x);g="progid:DXImageTransform.Microsoft.Matrix(M11="+c[0][0]+", M12="+c[0][1]+", M21="+c[1][0]+", M22="+c[1][1]+", SizingMethod='auto expand')"}var k=f.style.filter,l=new RegExp(/[\s]*progid:DXImageTransform\.Microsoft\.Matrix\([^\)]*\)/g),j=w(k,[l],g);V(f,j)}}a.$Device=zb;a.$IsBrowserIE=g;a.$IsBrowserIeQuirks=E;a.$IsBrowserFireFox=rb;a.$IsBrowserSafari=Y;a.$IsBrowserChrome=ub;a.$IsBrowserOpera=db;a.$IsBrowserBadTransform=R;a.$IsBrowserIe9Earlier=C;a.$BrowserVersion=function(){return c};a.$BrowserEngineVersion=function(){return h||c};a.$WebKitVersion=function(){k();return t};a.$Delay=mb;a.$Inherit=function(a,b){b.call(a);return q({},a)};function M(a){a.constructor===M.caller&&a.$Construct&&a.$Construct.apply(a,M.caller.arguments)}a.$Construct=M;a.$GetElement=function(b){if(a.$IsString(b))b=document.getElementById(b);return b};function i(a){return a||window.event}a.$GetEvent=i;a.$EvtSrc=function(a){a=i(a);return a.target||a.srcElement||document};a.$EvtTarget=function(a){a=i(a);return a.relatedTarget||a.toElement};a.$EvtWhich=function(a){a=i(a);return a.which||([0,1,3,0,2])[a.button]||a.charCode||a.keyCode};a.$MousePosition=function(a){a=i(a);return{x:a.pageX||a.clientX||0,y:a.pageY||a.clientY||0}};a.$PageScroll=function(){var a=document.body;return{x:(window.pageXOffset||m.scrollLeft||a.scrollLeft||0)-(m.clientLeft||a.clientLeft||0),y:(window.pageYOffset||m.scrollTop||a.scrollTop||0)-(m.clientTop||a.clientTop||0)}};a.$WindowSize=function(){var a=document.body;return{x:a.clientWidth||m.clientWidth,y:a.clientHeight||m.clientHeight}};function s(c,d,a){if(a!==undefined)c.style[d]=a==undefined?"":a;else{var b=c.currentStyle||c.style;a=b[d];if(a==""&&window.getComputedStyle){b=c.ownerDocument.defaultView.getComputedStyle(c,null);b&&(a=b.getPropertyValue(d)||b[d])}return a}}function O(b,c,a,d){if(a!=undefined){if(a==null)a="";else d&&(a+="px");s(b,c,a)}else return f(s(b,c))}function Ab(b,c,a){return O(b,c,a,true)}function b(c,a){var d=a?O:s,b;if(a&4)b=T(c);return function(e,f){return d(e,b?b(e):c,f,a&2)}}function tb(b){if(g()&&h<9){var a=/opacity=([^)]*)/.exec(b.style.filter||"");return a?f(a[1])/100:1}else return f(b.style.opacity||"1")}function vb(b,a,e){if(g()&&h<9){var i=b.style.filter||"",j=new RegExp(/[\s]*alpha\([^\)]*\)/g),d=Math.round(100*a),c="";if(d<100||e)c="alpha(opacity="+d+") ";var f=w(i,[j],c);V(b,f)}else b.style.opacity=a==1?"":Math.round(a*100)/100}var ob={$Rotate:["rotate"],$RotateX:["rotateX"],$RotateY:["rotateY"],$ScaleX:["scaleX",2],$ScaleY:["scaleY",2],$TranslateX:["translateX",1],$TranslateY:["translateY",1],$TranslateZ:["translateZ",1],$SkewX:["skewX"],$SkewY:["skewY"]};function Q(e,b){if(g()&&c&&c<10){delete b.$RotateX;delete b.$RotateY}var d=S(e);if(d){var a="";$Jssor$.$Each(b,function(e,c){var b=ob[c];if(b){var d=b[1]||0;a+=(a?" ":"")+b[0]+"("+e+(["deg","px",""])[d]+")"}});e.style[d]=a}}a.$SetStyleTransform=function(c,b){if(R())mb(a.$CreateCallback(null,Q,c,b));else(C()?sb:Q)(c,b)};a.$CssTransformOrigin=b("transformOrigin",4);a.$CssBackfaceVisibility=b("backfaceVisibility",4);a.$CssTransformStyle=b("transformStyle",4);a.$CssPerspective=b("perspective",6);a.$CssPerspectiveOrigin=b("perspectiveOrigin",4);a.$CssScale=function(a,c){if(g()&&h<9||h<10&&E())a.style.zoom=c==1?"":c;else{var b=S(a);if(b){var f="scale("+c+")",e=a.style[b],i=new RegExp(/[\s]*scale\(.*?\)/g),d=w(e,[i],f);a.style[b]=d}}};var cb=0,X=0;a.$WindowResizeFilter=function(b,a){return C()?function(){var f=true,c=E()?b.document.body:b.document.documentElement;if(c){var e=c.offsetWidth-cb,d=c.offsetHeight-X;if(e||d){cb+=e;X+=d}else f=false}f&&a()}:a};a.$MouseOverOutFilter=function(c,b){$JssorDebug$.$Execute(function(){if(!b)throw new Error('Null reference, parameter "target".');});return function(d){d=i(d);var f=d.type,e=d.relatedTarget||(f=="mouseout"?d.toElement:d.fromElement);(!e||e!==b&&!a.$IsChild(b,e))&&c(d)}};a.$AddEvent=function(b,e,c,d){b=a.$GetElement(b);$JssorDebug$.$Execute(function(){!b&&$JssorDebug$.$Fail("Parameter 'elmt' not specified.");!c&&$JssorDebug$.$Fail("Parameter 'handler' not specified.");!b.addEventListener&&!b.attachEvent&&$JssorDebug$.$Fail("Unable to attach event handler, no known technique.")});if(b.addEventListener){e=="mousewheel"&&b.addEventListener("DOMMouseScroll",c,d);b.addEventListener(e,c,d)}else if(b.attachEvent){b.attachEvent("on"+e,c);d&&b.setCapture&&b.setCapture()}};a.$RemoveEvent=function(b,d,e,c){b=a.$GetElement(b);if(b.removeEventListener){d=="mousewheel"&&b.removeEventListener("DOMMouseScroll",e,c);b.removeEventListener(d,e,c)}else if(b.detachEvent){b.detachEvent("on"+d,e);c&&b.releaseCapture&&b.releaseCapture()}};a.$FireEvent=function(b,c){$JssorDebug$.$Execute(function(){!document.createEvent&&!document.createEventObject&&$JssorDebug$.$Fail("Unable to fire event, no known technique.");!b.dispatchEvent&&!b.fireEvent&&$JssorDebug$.$Fail("Unable to fire event, no known technique.")});var a;if(document.createEvent){a=document.createEvent("HTMLEvents");a.initEvent(c,false,false);b.dispatchEvent(a)}else{var d="on"+c;a=document.createEventObject();b.fireEvent(d,a)}};a.$CancelEvent=function(a){a=i(a);a.preventDefault&&a.preventDefault();a.cancel=true;a.returnValue=false};a.$StopEvent=function(a){a=i(a);a.stopPropagation&&a.stopPropagation();a.cancelBubble=true};a.$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};a.$InnerText=function(b,c){if(c==undefined)return b.textContent||b.innerText;var d=document.createTextNode(c);a.$Empty(b);b.appendChild(d)};a.$InnerHtml=function(a,b){if(b==undefined)return a.innerHTML;a.innerHTML=b};a.$GetClientRect=function(b){var a=b.getBoundingClientRect();return{x:a.left,y:a.top,w:a.right-a.left,h:a.bottom-a.top}};a.$ClearInnerHtml=function(a){a.innerHTML=""};a.$EncodeHtml=function(c){var b=a.$CreateDiv();a.$InnerText(b,c);return a.$InnerHtml(b)};a.$DecodeHtml=function(c){var b=a.$CreateDiv();a.$InnerHtml(b,c);return a.$InnerText(b)};a.$SelectElement=function(c){var b;if(window.getSelection)b=window.getSelection();var a=null;if(document.createRange){a=document.createRange();a.selectNode(c)}else{a=document.body.createTextRange();a.moveToElementText(c);a.select()}b&&b.addRange(a)};a.$DeselectElements=function(){if(document.selection)document.selection.empty();else window.getSelection&&window.getSelection().removeAllRanges()};a.$Children=function(d,c){for(var b=[],a=d.firstChild;a;a=a.nextSibling)(c||a.nodeType==1)&&b.push(a);return b};function hb(a,c,e,b){b=b||"u";for(a=a?a.firstChild:null;a;a=a.nextSibling)if(a.nodeType==1){if(I(a,b)==c)return a;if(!e){var d=hb(a,c,e,b);if(d)return d}}}a.$FindChild=hb;function G(a,d,f,b){b=b||"u";var c=[];for(a=a?a.firstChild:null;a;a=a.nextSibling)if(a.nodeType==1){I(a,b)==d&&c.push(a);if(!f){var e=G(a,d,f,b);if(e.length)c=c.concat(e)}}return c}a.$FindChildren=G;function bb(a,c,d){for(a=a?a.firstChild:null;a;a=a.nextSibling)if(a.nodeType==1){if(a.tagName==c)return a;if(!d){var b=bb(a,c,d);if(b)return b}}}a.$FindChildByTag=bb;function U(a,c,e){var b=[];for(a=a?a.firstChild:null;a;a=a.nextSibling)if(a.nodeType==1){(!c||a.tagName==c)&&b.push(a);if(!e){var d=U(a,c,e);if(d.length)b=b.concat(d)}}return b}a.$FindChildrenByTag=U;a.$GetElementsByTag=function(b,a){return b.getElementsByTagName(a)};function q(){var e=arguments,d,c,b,a,g=1&e[0],f=1+g;d=e[f-1]||{};for(;f<e.length;f++)if(c=e[f])for(b in c){a=c[b];if(a!==undefined){a=c[b];var h=d[b];d[b]=g&&(o(h)||o(a))?q(g,{},h,a):a}}return d}a.$Extend=q;function N(g,f){$JssorDebug$.$Assert(f);var d={},c,a,b;for(c in g){a=g[c];b=f[c];if(a!==b){var e;if(o(a)&&o(b)){a=N(a,b);e=!gb(a)}!e&&(d[c]=a)}}return d}a.$Unextend=N;a.$IsFunction=function(a){return r(a)=="function"};a.$IsArray=function(a){return r(a)=="array"};a.$IsString=function(a){return r(a)=="string"};a.$IsNumeric=function(a){return!isNaN(f(a))&&isFinite(a)};a.$Type=r;a.$Each=d;a.$IsNotEmpty=gb;a.$IsPlainObject=o;function F(a){return document.createElement(a)}a.$CreateElement=F;a.$CreateDiv=function(){return F("DIV")};a.$CreateSpan=function(){return F("SPAN")};a.$EmptyFunction=function(){};function K(b,c,a){if(a==undefined)return b.getAttribute(c);b.setAttribute(c,a)}function I(a,b){return K(a,b)||K(a,"data-"+b)}a.$Attribute=K;a.$AttributeEx=I;function l(b,a){if(a==undefined)return b.className;b.className=a}a.$ClassName=l;function lb(b){var a={};d(b,function(b){a[b]=b});return a}function yb(b){var a=[];d(b,function(b){a.push(b)});return a}function nb(b,a){return b.match(a||qb)}function D(b,a){return lb(nb(b||"",a))}a.$ToHash=lb;a.$FromHash=yb;a.$Split=nb;function P(b,c){var a="";d(c,function(c){a&&(a+=b);a+=c});return a}function v(a,c,b){l(a,P(" ",q(N(D(l(a)),D(c)),D(b))))}a.$Join=P;a.$AddClass=function(b,a){v(b,null,a)};a.$RemoveClass=v;a.$ReplaceClass=v;a.$ParentNode=function(a){return a.parentNode};a.$HideElement=function(b){a.$CssDisplay(b,"none")};a.$EnableElement=function(b,c){if(c)a.$Attribute(b,"disabled",true);else a.$RemoveAttribute(b,"disabled")};a.$HideElements=function(c){for(var b=0;b<c.length;b++)a.$HideElement(c[b])};a.$ShowElement=function(b,c){a.$CssDisplay(b,c?"none":"")};a.$ShowElements=function(c,d){for(var b=0;b<c.length;b++)a.$ShowElement(c[b],d)};a.$RemoveAttribute=function(b,a){b.removeAttribute(a)};a.$CanClearClip=function(){return g()&&c<10};a.$SetStyleClip=function(b,a){if(a)b.style.clip="rect("+Math.round(a.$Top)+"px "+Math.round(a.$Right)+"px "+Math.round(a.$Bottom)+"px "+Math.round(a.$Left)+"px)";else{var e=b.style.cssText,d=[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)],c=w(e,d,"");$Jssor$.$CssCssText(b,c)}};a.$GetNow=function(){return+new Date};a.$AppendChild=function(b,a){b.appendChild(a)};a.$AppendChildren=function(c,b){d(b,function(b){a.$AppendChild(c,b)})};a.$InsertBefore=function(b,a,c){(c||a.parentNode).insertBefore(b,a)};a.$InsertAfter=function(c,b,d){a.$InsertBefore(c,b.nextSibling,d||b.parentNode)};a.$InsertAdjacentHtml=function(b,a,c){b.insertAdjacentHTML(a,c)};a.$RemoveElement=function(a,b){(b||a.parentNode).removeChild(a)};a.$RemoveElements=function(b,c){d(b,function(b){a.$RemoveElement(b,c)})};a.$Empty=function(b){a.$RemoveElements(a.$Children(b,true),b)};a.$CenterElement=function(b,c){var d=a.$ParentNode(b);c&1&&a.$CssLeft(b,(a.$CssWidth(d)-a.$CssWidth(b))/2);c&2&&a.$CssTop(b,(a.$CssHeight(d)-a.$CssHeight(b))/2)};a.$ParseInt=function(b,a){return parseInt(b,a||10)};var f=parseFloat;a.$ParseFloat=f;a.$IsChild=function(b,a){var c=document.body;while(a&&b!==a&&c!==a)try{a=a.parentNode}catch(d){return false}return b===a};function L(e,d,c){var b=e.cloneNode(!d);!c&&a.$RemoveAttribute(b,"id");return b}a.$CloneNode=L;a.$LoadImage=function(f,g){var b=new Image;function d(f,c){a.$RemoveEvent(b,"load",d);a.$RemoveEvent(b,"abort",e);a.$RemoveEvent(b,"error",e);g&&g(b,c)}function e(a){d(a,true)}if(db()&&c<11.6||!f)d(!f);else{a.$AddEvent(b,"load",d);a.$AddEvent(b,"abort",e);a.$AddEvent(b,"error",e);b.src=f}};a.$LoadImages=function(f,b,g){var e=f.length+1;function c(a){e--;if(b&&a&&a.src==b.src)b=a;!e&&g&&g(b)}d(f,function(b){a.$LoadImage(b.src,c)});c()};a.$BuildElement=function(a,f,h,g){if(g)a=L(a);var b=G(a,f);if(!b.length)b=$Jssor$.$GetElementsByTag(a,f);for(var e=b.length-1;e>-1;e--){var c=b[e],d=L(h);l(d,l(c));$Jssor$.$CssCssText(d,c.style.cssText);$Jssor$.$InsertBefore(d,c);$Jssor$.$RemoveElement(c)}return a};function xb(b){var j=this,n="",p=["av","pv","ds","dn"],f=[],o,i=0,g=0,e=0;function h(){v(b,o,f[e||i||g&2||g]);$Jssor$.$Css(b,"pointer-events",e?"none":"")}function c(){i=0;h();a.$RemoveEvent(document,"mouseup",c);a.$RemoveEvent(document,"touchend",c);a.$RemoveEvent(document,"touchcancel",c)}function m(b){if(e)a.$CancelEvent(b);else{i=4;h();a.$AddEvent(document,"mouseup",c);a.$AddEvent(document,"touchend",c);a.$AddEvent(document,"touchcancel",c)}}j.$Selected=function(a){if(a===undefined)return g;g=a&2||a&1;h()};j.$Enable=function(a){if(a===undefined)return!e;e=a?0:3;h()};j.$Elmt=b=a.$GetElement(b);var k=$Jssor$.$Split(l(b));if(k)n=k.shift();d(p,function(a){f.push(n+a)});o=P(" ",f);f.unshift("");a.$AddEvent(b,"mousedown",m);a.$AddEvent(b,"touchstart",m)}a.$Buttonize=function(a){return new xb(a)};a.$Css=s;a.$CssN=O;a.$CssP=Ab;a.$CssOverflow=b("overflow");a.$CssTop=b("top",2);a.$CssLeft=b("left",2);a.$CssWidth=b("width",2);a.$CssHeight=b("height",2);a.$CssMarginLeft=b("marginLeft",2);a.$CssMarginTop=b("marginTop",2);a.$CssPosition=b("position");a.$CssDisplay=b("display");a.$CssZIndex=b("zIndex",1);a.$CssFloat=function(b,a){return s(b,g()?"styleFloat":"cssFloat",a)};a.$CssOpacity=function(b,a,c){if(a!=undefined)vb(b,a,c);else return tb(b)};a.$CssCssText=function(a,b){if(b!=undefined)a.style.cssText=b;else return a.style.cssText};var H={$Opacity:a.$CssOpacity,$Top:a.$CssTop,$Left:a.$CssLeft,$Width:a.$CssWidth,$Height:a.$CssHeight,$Position:a.$CssPosition,$Display:a.$CssDisplay,$ZIndex:a.$CssZIndex},B;function x(){if(!B)B=q({$MarginTop:a.$CssMarginTop,$MarginLeft:a.$CssMarginLeft,$Clip:a.$SetStyleClip,$Transform:a.$SetStyleTransform},H);return B}function fb(){var a={};a.$Transform=a.$Transform;a.$Transform=a.$Rotate;a.$Transform=a.$RotateX;a.$Transform=a.$RotateY;a.$Transform=a.$SkewX;a.$Transform=a.$SkewY;a.$Transform=a.$TranslateX;a.$Transform=a.$TranslateY;a.$Transform=a.$TranslateZ;return x()}a.$StyleSetter=x;a.$StyleSetterEx=fb;a.$GetStyles=function(c,b){x();var a={};d(b,function(d,b){if(H[b])a[b]=H[b](c)});return a};a.$SetStyles=function(c,b){var a=x();d(b,function(d,b){a[b]&&a[b](c,d)})};a.$SetStylesEx=function(c,b){fb();a.$SetStyles(c,b)};var u=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.$ScaleXY(b,c,0)};a.$ScaleY=function(b,c){return a.$ScaleXY(b,0,c)};a.$ScaleXY=function(a,c,d){return b(a,[[c,0],[0,d]])};a.$TransformPoint=function(d,c){var a=b(d,[[c.x],[c.y]]);return n(a[0][0],a[1][0])}};a.$CreateMatrix=function(c,a,b){var d=Math.cos(c),e=Math.sin(c);return[[d*a,-e*b],[e*a,d*b]]};a.$GetMatrixOffset=function(c,b,a){var d=u.$TransformPoint(c,n(-b/2,-a/2)),e=u.$TransformPoint(c,n(b/2,-a/2)),f=u.$TransformPoint(c,n(b/2,a/2)),g=u.$TransformPoint(c,n(-b/2,a/2));return n(Math.min(d.x,e.x,f.x,g.x)+b/2,Math.min(d.y,e.y,f.y,g.y)+a/2)};var pb={$Zoom:1,$ScaleX:1,$ScaleY:1,$Rotate:0,$RotateX:0,$RotateY:0,$TranslateX:0,$TranslateY:0,$TranslateZ:0,$SkewX:0,$SkewY:0};a.$FormatEasings=function(a){var b=a||{};if(a)if($Jssor$.$IsFunction(a))b={$Default:b};else if($Jssor$.$IsFunction(a.$Clip))b.$Clip={$Default:a.$Clip};return b};function kb(e,b){var c={};d(e,function(d,e){var f=d;if(b[e]!=undefined)if(a.$IsNumeric(d))f=d+b[e];else f=kb(d,b[e]);c[e]=f});return c}a.$AddDif=kb;a.$Cast=function(e,f,r,i,t,u,j){var a=f;if(e){a={};for(var d in f){var v=u[d]||1,q=t[d]||[0,1],b=(r-q[0])/q[1];b=Math.min(Math.max(b,0),1);b=b*v;var p=Math.floor(b);if(b!=p)b-=p;var g=i.$Default||$JssorEasing$.$EaseSwing,h,w=e[d],l=f[d];if($Jssor$.$IsNumeric(l)){g=i[d]||g;var s=g(b);h=w+l*s}else{h=$Jssor$.$Extend({$Offset:{}},e[d]);$Jssor$.$Each(l.$Offset||l,function(e,a){if(i.$Clip)g=i.$Clip[a]||i.$Clip.$Default||g;var d=g(b),c=e*d;h.$Offset[a]=c;h[a]+=c})}a[d]=h}var o,c={$OriginalWidth:j.$OriginalWidth,$OriginalHeight:j.$OriginalHeight};$Jssor$.$Each(pb,function(g,b){o=o||f[b];var d=a[b];if(d!=undefined){if(d!=g)c[b]=d;delete a[b]}else if(e[b]!=undefined&&e[b]!=g)c[b]=e[b]});if(f.$Zoom&&c.$Zoom){c.$ScaleX=c.$Zoom;c.$ScaleY=c.$Zoom}a.$Transform=c}if(f.$Clip&&j.$Move){var k=a.$Clip.$Offset,n=(k.$Top||0)+(k.$Bottom||0),m=(k.$Left||0)+(k.$Right||0);a.$Left=(a.$Left||0)+m;a.$Top=(a.$Top||0)+n;a.$Clip.$Left-=m;a.$Clip.$Right-=m;a.$Clip.$Top-=n;a.$Clip.$Bottom-=n}if(a.$Clip&&$Jssor$.$CanClearClip()&&!a.$Clip.$Top&&!a.$Clip.$Left&&a.$Clip.$Right==j.$OriginalWidth&&a.$Clip.$Bottom==j.$OriginalHeight)a.$Clip=null;return a}};function $JssorObject$(){var a=this,c=[],b=[];function g(a,b){$JssorDebug$.$Execute(function(){if(a==undefined||a==null)throw new Error("param 'eventName' is null or empty.");if(typeof b!="function")throw"param 'handler' must be a function.";$Jssor$.$Each(c,function(c){if(c.$EventName==a&&c.$Handler===b)throw new Error("The handler listened to the event already, cannot listen to the same event of the same object with the same handler twice.");})});c.push({$EventName:a,$Handler:b})}function f(a,b){$JssorDebug$.$Execute(function(){if(a==undefined||a==null)throw new Error("param 'eventName' is null or empty.");if(typeof b!="function")throw"param 'handler' must be a function.";});$Jssor$.$Each(c,function(d,e){d.$EventName==a&&d.$Handler===b&&c.splice(e,1)})}function e(){c=[]}function d(){$Jssor$.$Each(b,function(a){$Jssor$.$RemoveEvent(a.$Obj,a.$EventName,a.$Handler)});b=[]}a.$Listen=function(d,a,c,e){$JssorDebug$.$Execute(function(){if(!d)throw new Error("param 'obj' is null or empty.");if(a==undefined||a==null)throw new Error("param 'eventName' is null or empty.");if(typeof c!="function")throw"param 'handler' must be a function.";$Jssor$.$Each(b,function(b){if(b.$Obj===d&&b.$EventName==a&&b.$Handler===c)throw new Error("The handler listened to the event already, cannot listen to the same event of the same object with the same handler twice.");})});$Jssor$.$AddEvent(d,a,c,e);b.push({$Obj:d,$EventName:a,$Handler:c})};a.$Unlisten=function(d,a,c){$JssorDebug$.$Execute(function(){if(!d)throw new Error("param 'obj' is null or empty.");if(a==undefined||a==null)throw new Error("param 'eventName' is null or empty.");if(typeof c!="function")throw"param 'handler' must be a function.";});$Jssor$.$Each(b,function(e,f){if(e.$Obj===d&&e.$EventName==a&&e.$Handler===c){$Jssor$.$RemoveEvent(d,a,c);b.splice(f,1)}})};a.$UnlistenAll=d;a.$On=a.addEventListener=g;a.$Off=a.removeEventListener=f;a.$TriggerEvent=function(a){var b=[].slice.call(arguments,1);$Jssor$.$Each(c,function(c){c.$EventName==a&&c.$Handler.apply(window,b)})};a.$Destroy=function(){d();e();for(var b in a)delete a[b]};$JssorDebug$.$C_AbstractClass(a)}var $JssorAnimator$=window.$JssorAnimator$=function(s,x,d,J,D,v){s=s||0;var a=this,k,H,h,i,q,t=0,C,E,B,w,r=0,e=0,g=0,y,f,m,c,b,j,n=[],u;function I(a){c+=a;b+=a;f+=a;m+=a;e+=a;g+=a;r+=a}function p(l){var h=l;if(j&&(h>=b||h<=c))h=((h-c)%j+j)%j+c;if(!y||q||e!=h){var i=Math.min(h,b);i=Math.max(i,c);if(!y||q||i!=g){if(v){var k=(i-f)/(x||1);if(d.$Reverse)k=1-k;var m=$Jssor$.$Cast(D,v,k,C,B,E,d);$Jssor$.$Each(m,function(b,a){u[a]&&u[a](J,b)})}a.$OnInnerOffsetChange(g-f,i-f);g=i;$Jssor$.$Each(n,function(b,c){var a=l<e?n[n.length-c-1]:b;a.$GoToPosition(g-r)});var p=e,o=g;e=h;y=true;a.$OnPositionChange(p,o)}}}function z(a,d,e){$JssorDebug$.$Execute(function(){d!==0&&d!==1&&$JssorDebug$.$Fail("Argument out of range, the value of 'combineMode' should be either 0 or 1.")});d&&a.$Shift(b);if(!e){c=Math.min(c,a.$GetPosition_OuterBegin()+r);b=Math.max(b,a.$GetPosition_OuterEnd()+r)}n.push(a)}var l=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame;if($Jssor$.$IsBrowserSafari()&&$Jssor$.$BrowserVersion()<7)l=null;l=l||function(a){$Jssor$.$Delay(a,d.$Interval)};function F(){if(k){var b=$Jssor$.$GetNow(),c=Math.min(b-t,d.$IntervalMax),a=e+c*i;t=b;if(a*i>=h*i)a=h;p(a);if(!q&&a*i>=h*i)G(w);else l(F)}}function o(d,f,g){if(!k){k=true;q=g;w=f;d=Math.max(d,c);d=Math.min(d,b);h=d;i=h<e?-1:1;a.$OnStart();t=$Jssor$.$GetNow();l(F)}}function G(b){if(k){q=k=w=false;a.$OnStop();b&&b()}}a.$Play=function(a,c,d){o(a?e+a:b,c,d)};a.$PlayToPosition=o;a.$PlayToBegin=function(a,b){o(c,a,b)};a.$PlayToEnd=function(a,c){o(b,a,c)};a.$Stop=G;a.$Continue=function(a){o(a)};a.$GetPosition=function(){return e};a.$GetPlayToPosition=function(){return h};a.$GetPosition_Display=function(){return g};a.$GoToPosition=p;a.$GoToBegin=function(){p(c,true)};a.$GoToEnd=function(){p(b,true)};a.$Move=function(a){p(e+a)};a.$CombineMode=function(){return H};a.$GetDuration=function(){return x};a.$IsPlaying=function(){return k};a.$IsOnTheWay=function(){return e>f&&e<=m};a.$SetLoopLength=function(a){j=a};a.$Shift=I;a.$Join=z;a.$Combine=function(a,b){z(a,0,b)};a.$Chain=function(a){z(a,1)};a.$Expand=function(a){b+=a};a.$GetPosition_InnerBegin=function(){return f};a.$GetPosition_InnerEnd=function(){return m};a.$GetPosition_OuterBegin=function(){return c};a.$GetPosition_OuterEnd=function(){return b};a.$OnPositionChange=a.$OnStart=a.$OnStop=a.$OnInnerOffsetChange=$Jssor$.$EmptyFunction;a.$Version=$Jssor$.$GetNow();$JssorDebug$.$Execute(function(){a.$NestedAnimators=n;a.$FromStyles=D;a.$DifStyles=v});d=$Jssor$.$Extend({$Interval:16,$IntervalMax:50},d);$JssorDebug$.$Execute(function(){d=$Jssor$.$Extend({$LoopLength:undefined,$Setter:undefined,$Easing:undefined},d)});j=d.$LoopLength;u=$Jssor$.$Extend({},$Jssor$.$StyleSetter(),d.$Setter);c=f=s;b=m=s+x;E=d.$Round||{};B=d.$During||{};C=$Jssor$.$FormatEasings(d.$Easing)};function $JssorPlayerClass$(){var b=this,a=[];function c(a){var f=this,c,b=[];function d(f){var e=$Jssor$.$EvtSrc(f);c=e.pInstance;$Jssor$.$RemoveEvent(e,"dataavailable",d);$Jssor$.$Each(b,function(a){a!=c&&a.$Remove()});a.pTagName=c.tagName;b=null}function e(c){var e;if(!c.pInstance){var f=$Jssor$.$AttributeEx(c,"pHandler");if($JssorPlayer$[f]){$Jssor$.$AddEvent(c,"dataavailable",d);e=new $JssorPlayer$[f](a,c);b.push(e);$JssorDebug$.$Execute(function(){$Jssor$.$Type(e.$Remove)!="function"&&$JssorDebug$.$Fail("'pRemove' interface not implemented for player handler '"+f+"'.")})}}return e}f.$InitPlayerController=function(){if(!a.pInstance&&!e(a)){var b=$Jssor$.$Children(a);$Jssor$.$Each(b,function(a){e(a)})}}}b.$EVT_SWITCH=21;b.$FetchPlayers=function(b){b=b||document.body;var d=$Jssor$.$FindChildren(b,"player");$Jssor$.$Each(d,function(b){if(!a[b.pId]){b.pId=a.length;a.push(new c(b))}var d=a[b.pId];d.$InitPlayerController()})}}var $JssorSlideshowFormations$=window.$JssorSlideshowFormations$=new function(){var f=this,b=0,a=1,d=2,c=3,q=1,p=2,r=4,o=8,u=256,v=512,t=1024,s=2048,h=s+q,g=s+p,m=v+q,k=v+p,l=u+r,i=u+o,j=t+r,n=t+o;function w(a){return(a&p)==p}function x(a){return(a&r)==r}function e(b,a,c){c.push(a);b[a]=b[a]||[];b[a].push(c)}f.$FormationStraight=function(n){for(var d=n.$Cols,f=n.$Rows,s=n.$Assembly,t=n.$Count,r=[],a=0,b=0,p=d-1,q=f-1,o=t-1,c,b=0;b<f;b++)for(a=0;a<d;a++){switch(s){case h:c=o-(a*f+(q-b));break;case j:c=o-(b*d+(p-a));break;case m:c=o-(a*f+b);case l:c=o-(b*d+a);break;case g:c=a*f+b;break;case i:c=b*d+(p-a);break;case k:c=a*f+(q-b);break;default:c=b*d+a}e(r,c,[b,a])}return r};f.$FormationSwirl=function(p){var w=p.$Cols,x=p.$Rows,A=p.$Assembly,v=p.$Count,z=[],y=[],t=0,f=0,n=0,q=w-1,r=x-1,s,o,u=0;switch(A){case h:f=q;n=0;o=[d,a,c,b];break;case j:f=0;n=r;o=[b,c,a,d];break;case m:f=q;n=r;o=[c,a,d,b];break;case l:f=q;n=r;o=[a,c,b,d];break;case g:f=0;n=0;o=[d,b,c,a];break;case i:f=q;n=0;o=[a,d,b,c];break;case k:f=0;n=r;o=[c,b,d,a];break;default:f=0;n=0;o=[b,d,a,c]}t=0;while(t<v){s=n+","+f;if(f>=0&&f<w&&n>=0&&n<x&&!y[s]){y[s]=true;e(z,t++,[n,f])}else switch(o[u++%o.length]){case b:f--;break;case d:n--;break;case a:f++;break;case c:n++}switch(o[u%o.length]){case b:f++;break;case d:n++;break;case a:f--;break;case c:n--}}return z};f.$FormationZigZag=function(p){var w=p.$Cols,x=p.$Rows,z=p.$Assembly,v=p.$Count,t=[],u=0,f=0,n=0,q=w-1,r=x-1,y,o,s=0;switch(z){case h:f=q;n=0;o=[d,a,c,a];break;case j:f=0;n=r;o=[b,c,a,c];break;case m:f=q;n=r;o=[c,a,d,a];break;case l:f=q;n=r;o=[a,c,b,c];break;case g:f=0;n=0;o=[d,b,c,b];break;case i:f=q;n=0;o=[a,d,b,d];break;case k:f=0;n=r;o=[c,b,d,b];break;default:f=0;n=0;o=[b,d,a,d]}u=0;while(u<v){y=n+","+f;if(f>=0&&f<w&&n>=0&&n<x&&typeof t[y]=="undefined"){e(t,u++,[n,f]);switch(o[s%o.length]){case b:f++;break;case d:n++;break;case a:f--;break;case c:n--}}else{switch(o[s++%o.length]){case b:f--;break;case d:n--;break;case a:f++;break;case c:n++}switch(o[s++%o.length]){case b:f++;break;case d:n++;break;case a:f--;break;case c:n--}}}return t};f.$FormationStraightStairs=function(q){var u=q.$Cols,v=q.$Rows,f=q.$Assembly,t=q.$Count,r=[],s=0,c=0,d=0,o=u-1,p=v-1,z=t-1;switch(f){case h:case k:case m:case g:var a=0,b=0;break;case i:case j:case l:case n:var a=o,b=0;break;default:f=n;var a=o,b=0}c=a;d=b;while(s<t){if(x(f)||w(f))e(r,z-s++,[d,c]);else e(r,s++,[d,c]);switch(f){case h:case k:c--;d++;break;case m:case g:c++;d--;break;case i:case j:c--;d--;break;case n:case l:default:c++;d++}if(c<0||d<0||c>o||d>p){switch(f){case h:case k:a++;break;case i:case j:case m:case g:b++;break;case n:case l:default:a--}if(a<0||b<0||a>o||b>p){switch(f){case h:case k:a=o;b++;break;case m:case g:b=p;a++;break;case i:case j:b=p;a--;break;case n:case l:default:a=0;b++}if(b>p)b=p;else if(b<0)b=0;else if(a>o)a=o;else if(a<0)a=0}d=b;c=a}}return r};f.$FormationSquare=function(h){var a=h.$Cols||1,b=h.$Rows||1,i=[],c,d,f,g,j;f=a<b?(b-a)/2:0;g=a>b?(a-b)/2:0;j=Math.round(Math.max(a/2,b/2))+1;for(c=0;c<a;c++)for(d=0;d<b;d++)e(i,j-Math.min(c+1+f,d+1+g,a-c+f,b-d+g),[d,c]);return i};f.$FormationRectangle=function(f){var c=f.$Cols||1,d=f.$Rows||1,g=[],a,b,h;h=Math.round(Math.min(c/2,d/2))+1;for(a=0;a<c;a++)for(b=0;b<d;b++)e(g,h-Math.min(a+1,b+1,c-a,d-b),[b,a]);return g};f.$FormationRandom=function(c){for(var d=[],a,b=0;b<c.$Rows;b++)for(a=0;a<c.$Cols;a++)e(d,Math.ceil(1e5*Math.random())%13,[b,a]);return d};f.$FormationCircle=function(c){for(var d=c.$Cols||1,f=c.$Rows||1,g=[],a,h=d/2-.5,i=f/2-.5,b=0;b<d;b++)for(a=0;a<f;a++)e(g,Math.round(Math.sqrt(Math.pow(b-h,2)+Math.pow(a-i,2))),[a,b]);return g};f.$FormationCross=function(c){for(var d=c.$Cols||1,f=c.$Rows||1,g=[],a,h=d/2-.5,i=f/2-.5,b=0;b<d;b++)for(a=0;a<f;a++)e(g,Math.round(Math.min(Math.abs(b-h),Math.abs(a-i))),[a,b]);return g};f.$FormationRectangleCross=function(f){for(var g=f.$Cols||1,h=f.$Rows||1,i=[],a,c=g/2-.5,d=h/2-.5,j=Math.max(c,d)+1,b=0;b<g;b++)for(a=0;a<h;a++)e(i,Math.round(j-Math.max(c-Math.abs(b-c),d-Math.abs(a-d)))-1,[a,b]);return i}},$JssorSlideshowRunner$=window.$JssorSlideshowRunner$=function(f,j,h,k,p){var c=this,l,b,a,o=0,n=k.$TransitionsOrder,i,d=8;function e(c,b){var a={$Interval:b,$Duration:1,$Delay:0,$Cols:1,$Rows:1,$Opacity:0,$Zoom:0,$Clip:0,$Move:false,$SlideOut:false,$Reverse:false,$Formation:$JssorSlideshowFormations$.$FormationRandom,$Assembly:1032,$ChessMode:{$Column:0,$Row:0},$Easing:$JssorEasing$.$EaseSwing,$Round:{},$Blocks:[],$During:{}};$Jssor$.$Extend(a,c);a.$Count=a.$Cols*a.$Rows;a.$Easing=$Jssor$.$FormatEasings(a.$Easing);a.$FramesCount=Math.ceil(a.$Duration/a.$Interval);a.$GetBlocks=function(c,b){c/=a.$Cols;b/=a.$Rows;var f=c+"x"+b;if(!a.$Blocks[f]){a.$Blocks[f]={$Width:c,$Height:b};for(var d=0;d<a.$Cols;d++)for(var e=0;e<a.$Rows;e++)a.$Blocks[f][e+","+d]={$Top:e*b,$Right:d*c+c,$Bottom:e*b+b,$Left:d*c}}return a.$Blocks[f]};if(a.$Brother){a.$Brother=e(a.$Brother,b);a.$SlideOut=true}return a}function g(w,e,a,r,j,h){var u=this,p,q={},f={},i=[],c,b,n,l=a.$ChessMode.$Column||0,m=a.$ChessMode.$Row||0,d=a.$GetBlocks(j,h),k=x(a),y=k.length-1,o=a.$Duration+a.$Delay*y,s=r+o,g=a.$SlideOut,t;s+=50;function x(a){var b=a.$Formation(a);return a.$Reverse?b.reverse():b}u.$EndTime=s;u.$ShowFrame=function(b){b-=r;var c=b<o;if(c||t){t=c;if(!g)b=o-b;var d=Math.ceil(b/a.$Interval);$Jssor$.$Each(f,function(a,c){var b=Math.max(d,a.$Min);b=Math.min(b,a.length-1);if(a.$LastFrameIndex!=b){if(!a.$LastFrameIndex&&!g)$Jssor$.$ShowElement(i[c]);else b==a.$Max&&g&&$Jssor$.$HideElement(i[c]);a.$LastFrameIndex=b;$Jssor$.$SetStylesEx(i[c],a[b])}})}};e=$Jssor$.$CloneNode(e);if($Jssor$.$IsBrowserIe9Earlier()){var z=!e["no-image"],v=$Jssor$.$FindChildrenByTag(e);$Jssor$.$Each(v,function(a){(z||a["jssor-slider"])&&$Jssor$.$CssOpacity(a,$Jssor$.$CssOpacity(a),true)})}$Jssor$.$Each(k,function(e,i){$Jssor$.$Each(e,function(C){var G=C[0],F=C[1],r=G+","+F,k=false,o=false,t=false;if(l&&F%2){if(l&3)k=!k;if(l&12)o=!o;if(l&16)t=!t}if(m&&G%2){if(m&3)k=!k;if(m&12)o=!o;if(m&16)t=!t}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 y=o?a.$Bottom:a.$Top,v=o?a.$Top:a.$Bottom,x=k?a.$Right:a.$Left,w=k?a.$Left:a.$Right;a.$Clip=y||v||x||w;n={};b={$Top:0,$Left:0,$Opacity:1,$Width:j,$Height:h};c=$Jssor$.$Extend({},b);p=$Jssor$.$Extend({},d[r]);if(a.$Opacity)b.$Opacity=2-a.$Opacity;if(a.$ZIndex){b.$ZIndex=a.$ZIndex;c.$ZIndex=0}var E=a.$Cols*a.$Rows>1||a.$Clip;if(a.$Zoom||a.$Rotate){var D=true;if($Jssor$.$IsBrowserIe9Earlier())if(a.$Cols*a.$Rows>1)D=false;else E=false;if(D){b.$Zoom=a.$Zoom?a.$Zoom-1:1;c.$Zoom=1;if($Jssor$.$IsBrowserIe9Earlier()||$Jssor$.$IsBrowserOpera())b.$Zoom=Math.min(b.$Zoom,2);var J=a.$Rotate||0;b.$Rotate=J*360*(t?-1:1);c.$Rotate=0}}if(E){var e=p.$Offset={};if(a.$Clip){var s=a.$ScaleClip||1;if(y&&v){e.$Top=d.$Height/2*s;e.$Bottom=-e.$Top}else if(y)e.$Bottom=-d.$Height*s;else if(v)e.$Top=d.$Height*s;if(x&&w){e.$Left=d.$Width/2*s;e.$Right=-e.$Left}else if(x)e.$Right=-d.$Width*s;else if(w)e.$Left=d.$Width*s}n.$Clip=p;c.$Clip=d[r]}var H=k?1:-1,I=o?1:-1;if(a.x)b.$Left+=j*a.x*H;if(a.y)b.$Top+=h*a.y*I;$Jssor$.$Each(b,function(a,b){if($Jssor$.$IsNumeric(a))if(a!=c[b])n[b]=a-c[b]});q[r]=g?c:b;var z=a.$FramesCount,u=Math.round(i*a.$Delay/a.$Interval);f[r]=new Array(u);f[r].$Min=u;f[r].$Max=u+z-1;for(var B=0;B<=z;B++){var A=$Jssor$.$Cast(c,n,B/z,a.$Easing,a.$During,a.$Round,{$Move:a.$Move,$OriginalWidth:j,$OriginalHeight:h});A.$ZIndex=A.$ZIndex||1;f[r].push(A)}})});k.reverse();$Jssor$.$Each(k,function(a){$Jssor$.$Each(a,function(b){var f=b[0],d=b[1],c=f+","+d,a=e;if(d||f)a=$Jssor$.$CloneNode(e);$Jssor$.$SetStyles(a,q[c]);$Jssor$.$CssOverflow(a,"hidden");$Jssor$.$CssPosition(a,"absolute");w.$AddClipElement(a);i[c]=a;$Jssor$.$ShowElement(a,!g)})})}function m(){var c=this,e=0;$JssorAnimator$.call(c,0,l);c.$OnPositionChange=function(f,c){if(c-e>d){e=c;a&&a.$ShowFrame(c);b&&b.$ShowFrame(c)}};c.$Transition=i}c.$GetTransition=function(){var a=0,b=k.$Transitions,c=b.length;if(n)a=o++%c;else a=Math.floor(Math.random()*c);b[a]&&(b[a].$Index=a);return b[a]};c.$Initialize=function(x,y,p,s,k){$JssorDebug$.$Execute(function(){b&&$JssorDebug$.$Fail("slideshow runner has not been cleared.")});i=k;k=e(k,d);var o=s.$Item,n=p.$Item;o["no-image"]=!s.$Image;n["no-image"]=!p.$Image;var t=o,u=n,w=k,m=k.$Brother||e({},d);if(!k.$SlideOut){t=n;u=o}var v=m.$Shift||0;b=new g(f,u,m,Math.max(v-m.$Interval,0),j,h);a=new g(f,t,w,Math.max(m.$Interval-v,0),j,h);b.$ShowFrame(0);a.$ShowFrame(0);l=Math.max(b.$EndTime,a.$EndTime);c.$Index=x};c.$Clear=function(){f.$Clear();b=null;a=null};c.$GetProcessor=function(){var b=null;if(a)b=new m;return b};if($Jssor$.$IsBrowserIe9Earlier()||$Jssor$.$IsBrowserOpera()||p&&$Jssor$.$WebKitVersion()<537)d=16;$JssorObject$.call(c);$JssorAnimator$.call(c,-1e7,1e7)},$JssorSlider$=window.$JssorSlider$=function(c,Vb){var b=this;function tc(){var a=this;$JssorAnimator$.call(a,-1e8,2e8);a.$GetCurrentSlideInfo=function(){var b=a.$GetPosition_Display(),c=Math.floor(b),f=e(c),d=b-Math.floor(b);return{$Index:f,$VirtualIndex:c,$Position:d}};a.$OnPositionChange=function(c,a){var d=Math.floor(a);if(d!=a&&a>c)d++;Mb(d,true);b.$TriggerEvent($JssorSlider$.$EVT_POSITION_CHANGE,e(a),e(c),a,c)}}function sc(){var a=this;$JssorAnimator$.call(a,0,0,{$LoopLength:d});$Jssor$.$Each(p,function(b){m&1&&b.$SetLoopLength(d);a.$Chain(b);b.$Shift(U/Sb)})}function rc(){var a=this,b=pb.$Elmt;$JssorAnimator$.call(a,-1,2,{$Easing:$JssorEasing$.$EaseLinear,$Setter:{$Position:Rb},$LoopLength:d},b,{$Position:1},{$Position:-2});a.$Wrapper=b;$JssorDebug$.$Execute(function(){$Jssor$.$Attribute(pb.$Elmt,"debug-id","slide_container")})}function fc(m,l){var c=this,f,h,j,k,d;$JssorAnimator$.call(c,-1e8,2e8,{$IntervalMax:100});c.$OnStart=function(){F=true;K=null;b.$TriggerEvent($JssorSlider$.$EVT_SWIPE_START,e(i.$GetPosition()),i.$GetPosition())};c.$OnStop=function(){F=false;k=false;var a=i.$GetCurrentSlideInfo();b.$TriggerEvent($JssorSlider$.$EVT_SWIPE_END,e(i.$GetPosition()),i.$GetPosition());!a.$Position&&vc(a.$VirtualIndex,g)};c.$OnPositionChange=function(g,e){var b;if(k)b=d;else{b=h;if(j){var c=e/j;b=a.$SlideEasing(c)*(h-f)+f}}i.$GoToPosition(b)};c.$PlayCarousel=function(a,d,b,e){$JssorDebug$.$Execute(function(){c.$IsPlaying()&&$JssorDebug$.$Fail("The carousel is already playing.")});f=a;h=d;j=b;i.$GoToPosition(a);c.$GoToPosition(0);c.$PlayToPosition(b,e)};c.$StandBy=function(a){k=true;d=a;c.$Play(a,null,true)};c.$SetStandByPosition=function(a){d=a};c.$MoveCarouselTo=function(a){i.$GoToPosition(a)};i=new tc;i.$Combine(m);i.$Combine(l)}function gc(){var b=this,a=Pb();$Jssor$.$CssZIndex(a,0);$Jssor$.$Css(a,"pointerEvents","none");b.$Elmt=a;b.$AddClipElement=function(b){$Jssor$.$AppendChild(a,b);$Jssor$.$ShowElement(a)};b.$Clear=function(){$Jssor$.$HideElement(a);$Jssor$.$Empty(a)}}function qc(j,i){var c=this,q,u,r,f,w=[],t,z,Q,D,I,C,k,s,o,L;$JssorAnimator$.call(c,-h,h+1,{$SlideItemAnimator:true});function A(a){q&&q.$Revert();P(j,a,0);C=true;q=new v.$Class(j,v,$Jssor$.$ParseFloat($Jssor$.$AttributeEx(j,"idle"))||ec);$JssorDebug$.$LiveStamp(q,"caption_slider_"+Db);$JssorDebug$.$Execute(function(){Db++});q.$GoToPosition(0)}function S(){q.$Version<v.$Version&&A()}function F(l,n,k){if(!D){D=true;if(f&&k){var e=k.width,d=k.height,j=e,h=d;if(e&&d&&a.$FillMode){if(a.$FillMode&3&&(!(a.$FillMode&4)||e>y||d>x)){var g=false,m=y/x*d/e;if(a.$FillMode&1)g=m>1;else if(a.$FillMode&2)g=m<1;j=g?e*x/d:y;h=g?x:d*y/e}$Jssor$.$CssWidth(f,j);$Jssor$.$CssHeight(f,h);$Jssor$.$CssTop(f,(x-h)/2);$Jssor$.$CssLeft(f,(y-j)/2)}$Jssor$.$CssPosition(f,"absolute");b.$TriggerEvent($JssorSlider$.$EVT_LOAD_END,i)}}$Jssor$.$HideElement(n);l&&l(c)}function R(b,d,f,h){if(h==K&&g==i&&G)if(!uc){var a=e(b);n.$Initialize(a,i,d,c,f);d.$HideContentForSlideshow();M.$Shift(a-M.$GetPosition_OuterBegin()-1);M.$GoToPosition(a);l.$PlayCarousel(b,b,0)}}function U(b){if(b==K&&g==i){if(!k){var a=null;if(n)if(n.$Index==i)a=n.$GetProcessor();else n.$Clear();S();k=new nc(j,i,a,q);k.$SetPlayer(o)}!k.$IsPlaying()&&k.$Replay()}}function J(d,b,e){if(d==i){if(d!=b)p[b]&&p[b].$ParkOut();else!e&&k&&k.$AdjustIdleOnPark();o&&o.$Enable();var f=K=$Jssor$.$GetNow();c.$LoadImage($Jssor$.$CreateCallback(null,U,f))}else{var j=Math.abs(i-d),g=h+a.$LazyLoading-1;(!I||j<=g)&&c.$LoadImage()}}function V(){if(g==i&&k){k.$Stop();o&&o.$Quit();o&&o.$Disable();k.$OpenSlideshowPanel()}}function W(){g==i&&k&&k.$Stop()}function T(a){!B&&b.$TriggerEvent($JssorSlider$.$EVT_CLICK,i,a)}function H(){o=s.pInstance;k&&k.$SetPlayer(o)}c.$LoadImage=function(c,a){a=a||r;if(w.length&&!D){$Jssor$.$ShowElement(a);if(!Q){Q=true;b.$TriggerEvent($JssorSlider$.$EVT_LOAD_START,i);$Jssor$.$Each(w,function(a){if(!$Jssor$.$Attribute(a,"src")){a.src=$Jssor$.$AttributeEx(a,"src2");$Jssor$.$CssDisplay(a,a["display-origin"])}})}$Jssor$.$LoadImages(w,f,$Jssor$.$CreateCallback(null,F,c,a))}else F(c,a)};c.$GoForNextSlide=function(){var g=i;if(a.$AutoPlaySteps<0)g-=d;var b=g+a.$AutoPlaySteps*lc;if(m&2)b=e(b);if(!(m&1))b=Math.max(0,Math.min(b,d-h));if(b!=i){if(n){var c=n.$GetTransition(d);if(c){var j=K=$Jssor$.$GetNow(),f=p[e(b)];return f.$LoadImage($Jssor$.$CreateCallback(null,R,b,f,c,j),r)}}cb(b)}};c.$TryActivate=function(){J(i,i,true)};c.$ParkOut=function(){o&&o.$Quit();o&&o.$Disable();c.$UnhideContentForSlideshow();k&&k.$Abort();k=null;A()};c.$StampSlideItemElements=function(a){a=L+"_"+a;$JssorDebug$.$Execute(function(){f&&$Jssor$.$Attribute(f,"debug-id",a+"_slide_item_image_id");$Jssor$.$Attribute(j,"debug-id",a+"_slide_item_item_id")});$JssorDebug$.$Execute(function(){$Jssor$.$Attribute(u,"debug-id",a+"_slide_item_wrapper_id")});$JssorDebug$.$Execute(function(){$Jssor$.$Attribute(r,"debug-id",a+"_loading_container_id")})};c.$HideContentForSlideshow=function(){$Jssor$.$HideElement(j)};c.$UnhideContentForSlideshow=function(){$Jssor$.$ShowElement(j)};c.$EnablePlayer=function(){o&&o.$Enable()};function P(a,b,c){$JssorDebug$.$Execute(function(){$Jssor$.$Attribute(a,"jssor-slider")&&$JssorDebug$.$Log("Child slider found.")});if($Jssor$.$Attribute(a,"jssor-slider"))return;if(!C){if(a.tagName=="IMG"){w.push(a);if(!$Jssor$.$Attribute(a,"src")){I=true;a["display-origin"]=$Jssor$.$CssDisplay(a);$Jssor$.$HideElement(a)}}$Jssor$.$IsBrowserIe9Earlier()&&$Jssor$.$CssZIndex(a,($Jssor$.$CssZIndex(a)||0)+1)}var d=$Jssor$.$Children(a);$Jssor$.$Each(d,function(d){var g=d.tagName,h=$Jssor$.$AttributeEx(d,"u");if(h=="player"&&!s){s=d;if(s.pInstance)H();else $Jssor$.$AddEvent(s,"dataavailable",H)}if(h=="caption"){if(b){$Jssor$.$CssTransformOrigin(d,$Jssor$.$AttributeEx(d,"to"));$Jssor$.$CssBackfaceVisibility(d,$Jssor$.$AttributeEx(d,"bf"));$Jssor$.$CssTransformStyle(d,"preserve-3d")}else if(!$Jssor$.$IsBrowserIE()){var e=$Jssor$.$CloneNode(d,false,true);$Jssor$.$InsertBefore(e,d,a);$Jssor$.$RemoveElement(d,a);d=e;b=true}}else if(!C&&!c&&!f){if(g=="A"){if($Jssor$.$AttributeEx(d,"u")=="image"){f=$Jssor$.$FindChildByTag(d,"IMG");$JssorDebug$.$Execute(function(){!f&&$JssorDebug$.$Error("slide html code definition error, no 'IMG' found in a 'image with link' slide.\r\n"+a.outerHTML)})}else f=$Jssor$.$FindChild(d,"image",true);if(f){t=d;$Jssor$.$CssDisplay(t,"block");$Jssor$.$SetStyles(t,N);z=$Jssor$.$CloneNode(t,true);$Jssor$.$CssPosition(t,"relative");$Jssor$.$CssOpacity(z,0);$Jssor$.$Css(z,"backgroundColor","#000")}}else if(g=="IMG"&&$Jssor$.$AttributeEx(d,"u")=="image")f=d;if(f){f.border=0;$Jssor$.$SetStyles(f,N)}}P(d,b,c+1)})}c.$OnInnerOffsetChange=function(c,b){var a=h-b;Rb(u,a)};c.$Index=i;$JssorObject$.call(c);$Jssor$.$CssPerspective(j,$Jssor$.$AttributeEx(j,"p"));$Jssor$.$CssPerspectiveOrigin(j,$Jssor$.$AttributeEx(j,"po"));var E=$Jssor$.$FindChild(j,"thumb",true);if(E){c.$Thumb=$Jssor$.$CloneNode(E);$Jssor$.$HideElement(E)}$Jssor$.$ShowElement(j);r=$Jssor$.$CloneNode(O);$Jssor$.$CssZIndex(r,1e3);$Jssor$.$AddEvent(j,"click",T);A(true);c.$Image=f;c.$Link=z;c.$Item=j;c.$Wrapper=u=j;$Jssor$.$AppendChild(u,r);b.$On(203,J);b.$On(28,W);b.$On(24,V);$JssorDebug$.$Execute(function(){L=cc++});$JssorDebug$.$Execute(function(){$Jssor$.$Attribute(u,"debug-id","slide-"+i)})}function nc(y,e,l,m){var a=this,j=0,u=0,f,h,d,c,i,t,s,k=p[e];$JssorAnimator$.call(a,0,0);function v(){$Jssor$.$Empty(D);Tb&&i&&k.$Link&&$Jssor$.$AppendChild(D,k.$Link);$Jssor$.$ShowElement(D,!i&&k.$Image)}function w(){a.$Replay()}function x(b){s=b;a.$Stop();a.$Replay()}a.$Replay=function(){var l=a.$GetPosition_Display();if(!o&&!F&&!s&&g==e){if(!l){if(f&&!i){i=true;a.$OpenSlideshowPanel(true);b.$TriggerEvent($JssorSlider$.$EVT_SLIDESHOW_START,e,j,u,f,c)}v()}var m,p=$JssorSlider$.$EVT_STATE_CHANGE;if(l!=c)if(l==d)m=c;else if(l==h)m=d;else if(!l)m=h;else m=a.$GetPlayToPosition();b.$TriggerEvent(p,e,l,j,h,d,c);var n=G&&(!q||r);if(l==c)(d!=c&&!(q&12)||n)&&k.$GoForNextSlide();else(n||l!=d)&&a.$PlayToPosition(m,w)}};a.$AdjustIdleOnPark=function(){d==c&&d==a.$GetPosition_Display()&&a.$GoToPosition(h)};a.$Abort=function(){n&&n.$Index==e&&n.$Clear();var f=a.$GetPosition_Display();f<c&&b.$TriggerEvent($JssorSlider$.$EVT_STATE_CHANGE,e,-f-1,j,h,d,c)};a.$OpenSlideshowPanel=function(a){l&&$Jssor$.$CssOverflow(W,a&&l.$Transition.$Outside?"":"hidden")};a.$OnInnerOffsetChange=function(g,a){if(i&&a>=f){i=false;v();k.$UnhideContentForSlideshow();n.$Clear();b.$TriggerEvent($JssorSlider$.$EVT_SLIDESHOW_END,e,j,u,f,c)}b.$TriggerEvent($JssorSlider$.$EVT_PROGRESS_CHANGE,e,a,j,h,d,c)};a.$SetPlayer=function(a){if(a&&!t){t=a;a.$On($JssorPlayer$.$EVT_SWITCH,x)}};l&&a.$Chain(l);f=a.$GetPosition_OuterEnd();a.$Chain(m);h=f+m.$IdleBegin;d=f+m.$IdleEnd;c=a.$GetPosition_OuterEnd()}function Rb(e,d){var c=j>0?j:I,a=sb*d*(c&1),b=tb*d*(c>>1&1);a=Math.round(a);b=Math.round(b);$Jssor$.$CssLeft(e,a);$Jssor$.$CssTop(e,b)}function Ib(){gb=F;Bb=l.$GetPlayToPosition();s=i.$GetPosition()}function Wb(){Ib();if(o||!r&&q&12){l.$Stop();b.$TriggerEvent($JssorSlider$.$EVT_FREEZE)}}function Ub(f){if(!o&&(r||!(q&12))&&!l.$IsPlaying()){var c=i.$GetPosition(),b=Math.ceil(s);if(f&&Math.abs(t)>=a.$MinDragOffsetToSlide){b=Math.ceil(c);b+=T}if(!(m&1))b=Math.min(d-h,Math.max(b,0));var e=Math.abs(b-c);e=1-Math.pow(1-e,5);if(!B&&gb)l.$Continue(Bb);else if(c==b){lb.$EnablePlayer();lb.$TryActivate()}else l.$PlayCarousel(c,b,e*Nb)}}function Ab(a){!$Jssor$.$AttributeEx($Jssor$.$EvtSrc(a),"nodrag")&&$Jssor$.$CancelEvent(a)}function jc(a){Qb(a,1)}function Qb(a,c){a=$Jssor$.$GetEvent(a);var g=$Jssor$.$EvtSrc(a);if(!z&&!$Jssor$.$AttributeEx(g,"nodrag")&&kc()&&(!c||a.touches.length==1)){o=true;rb=false;K=null;$Jssor$.$AddEvent(document,c?"touchmove":"mousemove",vb);$Jssor$.$GetNow();B=0;Wb();if(!gb)j=0;if(c){var f=a.touches[0];nb=f.clientX;ob=f.clientY}else{var d=$Jssor$.$MousePosition(a);nb=d.x;ob=d.y}t=0;S=0;T=0;b.$TriggerEvent($JssorSlider$.$EVT_DRAG_START,e(s),s,a)}}function vb(b){if(o){b=$Jssor$.$GetEvent(b);var c;if(b.type!="mousemove"){var p=b.touches[0];c={x:p.clientX,y:p.clientY}}else c=$Jssor$.$MousePosition(b);if(c){var k=c.x-nb,n=c.y-ob;if(Math.floor(s)!=s)j=j||I&z;if((k||n)&&!j){if(z==3)if(Math.abs(n)>Math.abs(k))j=2;else j=1;else j=z;if(Y&&j==1&&Math.abs(n)-Math.abs(k)>3)rb=true}if(j){var a=n,i=tb;if(j==1){a=k;i=sb}if(!(m&1)){if(a>0){var e=i*g,f=a-e;if(f>0)a=e+Math.sqrt(f)*5}if(a<0){var e=i*(d-h-g),f=-a-e;if(f>0)a=-e-Math.sqrt(f)*5}}if(t-S<-2)T=0;else if(t-S>2)T=-1;S=t;t=a;kb=s-t/i/(R||1);if(t&&j&&!rb){$Jssor$.$CancelEvent(b);if(!F)l.$StandBy(kb);else l.$SetStandByPosition(kb)}}}}}function bb(){hc();if(o){o=false;$Jssor$.$GetNow();$Jssor$.$RemoveEvent(document,"mousemove",vb);$Jssor$.$RemoveEvent(document,"touchmove",vb);B=t;l.$Stop();var a=i.$GetPosition();b.$TriggerEvent($JssorSlider$.$EVT_DRAG_END,e(a),a,e(s),s);q&12&&Ib();Ub(true)}}function ac(b){if(B){$Jssor$.$StopEvent(b);var a=$Jssor$.$EvtSrc(b);while(a&&f!==a){a.tagName=="A"&&$Jssor$.$CancelEvent(b);try{a=a.parentNode}catch(c){break}}}}function dc(a){p[g];g=e(a);lb=p[g];Mb(a);return g}function vc(a,c){j=0;dc(a);b.$TriggerEvent($JssorSlider$.$EVT_PARK,e(a),c)}function Mb(a,b){C=a;$Jssor$.$Each(L,function(c){c.$SetCurrentIndex(e(a),a,b)})}function kc(){var b=$JssorSlider$.$DragRegistry||0,a=Q;if(Y)a&1&&(a&=1);$JssorSlider$.$DragRegistry|=a;return z=a&~b}function hc(){if(z){$JssorSlider$.$DragRegistry&=~Q;z=0}}function Pb(){var a=$Jssor$.$CreateDiv();$Jssor$.$SetStyles(a,N);$Jssor$.$CssPosition(a,"absolute");return a}function e(a){return(a%d+d)%d}function bc(g,f){var c=g;if(f){if(!m){c=Math.min(Math.max(c+C,0),d-h);f=false}else if(m&2){c=e(c+C);f=false}}else if(m)c=b.$GetVirtualIndex(c);cb(c,a.$SlideDuration,f)}function qb(){$Jssor$.$Each(L,function(a){a.$Show(a.$Options.$ChanceToShow<=r)})}function Yb(){if(!r){r=1;qb();if(!o){q&12&&Ub();q&3&&p[g].$TryActivate()}}}function Xb(){if(r){r=0;qb();o||!(q&12)||Wb()}}function Zb(){N={$Width:y,$Height:x,$Top:0,$Left:0};$Jssor$.$Each(E,function(a){$Jssor$.$SetStyles(a,N);$Jssor$.$CssPosition(a,"absolute");$Jssor$.$CssOverflow(a,"hidden");$Jssor$.$HideElement(a)});$Jssor$.$SetStyles(O,N)}function ab(b,a){cb(b,a,true)}function cb(g,f,k){if(Kb&&(!o&&(r||!(q&12))||a.$NaviQuitDrag)){F=true;o=false;l.$Stop();if(f==undefined)f=Nb;var c=xb.$GetPosition_Display(),b=g;if(k){b=c+g;if(g>0)b=Math.ceil(b);else b=Math.floor(b)}if(m&2)b=e(b);if(!(m&1))b=Math.max(0,Math.min(b,d-h));var j=(b-c)%d;b=c+j;var i=c==b?0:f*Math.abs(j);i=Math.min(i,f*h*1.5);l.$PlayCarousel(c,b,i||1)}}b.$PlayTo=cb;b.$GoTo=function(a){i.$GoToPosition(a)};b.$Next=function(){ab(1)};b.$Prev=function(){ab(-1)};b.$Pause=function(){G=false};b.$Play=function(){if(!G){G=true;p[g]&&p[g].$TryActivate()}};b.$SetSlideshowTransitions=function(b){$JssorDebug$.$Execute(function(){(!b||!b.length)&&$JssorDebug$.$Error("Can not set slideshow transitions, no transitions specified.")});a.$SlideshowOptions.$Transitions=b};b.$SetCaptionTransitions=function(a){$JssorDebug$.$Execute(function(){(!a||!a.length)&&$JssorDebug$.$Error("Can not set caption transitions, no transitions specified")});v.$Transitions=a;v.$Version=$Jssor$.$GetNow()};b.$SlidesCount=function(){return E.length};b.$CurrentIndex=function(){return g};b.$IsAutoPlaying=function(){return G};b.$IsDragging=function(){return o};b.$IsSliding=function(){return F};b.$IsMouseOver=function(){return!r};b.$LastDragSucceded=function(){return B};function P(){return $Jssor$.$CssWidth(k||c)}function X(){return $Jssor$.$CssHeight(k||c)}b.$OriginalWidth=b.$GetOriginalWidth=P;b.$OriginalHeight=b.$GetOriginalHeight=X;function zb(d,e){if(d==undefined)return $Jssor$.$CssWidth(c);if(!k){$JssorDebug$.$Execute(function(){var b=$Jssor$.$Css(c,"width"),a=$Jssor$.$Css(c,"height"),e=$Jssor$.$CssP(c,"width"),d=$Jssor$.$CssP(c,"height");(!b||b.indexOf("px")==-1)&&$JssorDebug$.$Fail("Cannot scale jssor slider, 'width' of 'outer container' not specified. Please specify 'width' in pixel. e.g. 'width: 600px;'");(!a||a.indexOf("px")==-1)&&$JssorDebug$.$Fail("Cannot scale jssor slider, 'height' of 'outer container' not specified. Please specify 'height' in pixel. e.g. 'height: 300px;'");b.indexOf("%")!=-1&&$JssorDebug$.$Fail("Cannot scale jssor slider, 'width' of 'outer container' not valid. Please specify 'width' in pixel. e.g. 'width: 600px;'");a.indexOf("%")!=-1&&$JssorDebug$.$Fail("Cannot scale jssor slider, 'height' of 'outer container' not valid. Please specify 'height' in pixel. e.g. 'height: 300px;'");!e&&$JssorDebug$.$Fail("Cannot scale jssor slider, 'width' of 'outer container' not valid. 'width' of 'outer container' should be positive number. e.g. 'width: 600px;'");!d&&$JssorDebug$.$Fail("Cannot scale jssor slider, 'height' of 'outer container' not valid. 'height' of 'outer container' should be positive number. e.g. 'height: 300px;'")});var a=$Jssor$.$CreateDiv(document);$Jssor$.$ClassName(a,$Jssor$.$ClassName(c));$Jssor$.$CssCssText(a,$Jssor$.$CssCssText(c));$Jssor$.$CssDisplay(a,"block");$Jssor$.$CssPosition(a,"relative");$Jssor$.$CssTop(a,0);$Jssor$.$CssLeft(a,0);$Jssor$.$CssOverflow(a,"visible");k=$Jssor$.$CreateDiv(document);$Jssor$.$CssPosition(k,"absolute");$Jssor$.$CssTop(k,0);$Jssor$.$CssLeft(k,0);$Jssor$.$CssWidth(k,$Jssor$.$CssWidth(c));$Jssor$.$CssHeight(k,$Jssor$.$CssHeight(c));$Jssor$.$CssTransformOrigin(k,"0 0");$Jssor$.$AppendChild(k,a);var h=$Jssor$.$Children(c);$Jssor$.$AppendChild(c,k);$Jssor$.$Css(c,"backgroundImage","");$Jssor$.$Each(h,function(b){$Jssor$.$AppendChild($Jssor$.$AttributeEx(b,"noscale")?c:a,b);$Jssor$.$AttributeEx(b,"autocenter")&&Cb.push(b)})}$JssorDebug$.$Execute(function(){(!d||d<0)&&$JssorDebug$.$Fail("'$ScaleWidth' error, 'dimension' should be positive value.")});$JssorDebug$.$Execute(function(){if(!Eb)Eb=b.$Elmt.scrollWidth});R=d/(e?$Jssor$.$CssHeight:$Jssor$.$CssWidth)(k);$Jssor$.$CssScale(k,R);var g=e?R*P():d,f=e?d:R*X();$Jssor$.$CssWidth(c,g);$Jssor$.$CssHeight(c,f);$Jssor$.$Each(Cb,function(a){var b=$Jssor$.$ParseInt($Jssor$.$AttributeEx(a,"autocenter"));$Jssor$.$CenterElement(a,b)})}b.$ScaleHeight=b.$GetScaleHeight=function(a){if(a==undefined)return $Jssor$.$CssHeight(c);zb(a,true)};b.$ScaleWidth=b.$SetScaleWidth=b.$GetScaleWidth=zb;b.$GetVirtualIndex=function(a){var c=Math.ceil(e(U/Sb)),b=e(a-C+c);if(b>h){if(a-C>d/2)a-=d;else if(a-C<=-d/2)a+=d}else a=C+b-c;return a};$JssorObject$.call(b);$JssorDebug$.$Execute(function(){var a=$Jssor$.$GetElement(c);!a&&$JssorDebug$.$Fail("Outer container '"+c+"' not found.")});b.$Elmt=c=$Jssor$.$GetElement(c);var Eb,Db=1,a=$Jssor$.$Extend({$FillMode:0,$LazyLoading:1,$ArrowKeyNavigation:1,$StartIndex:0,$AutoPlay:false,$Loop:1,$NaviQuitDrag:true,$AutoPlaySteps:1,$AutoPlayInterval:3e3,$PauseOnHover:1,$SlideDuration:500,$SlideEasing:$JssorEasing$.$EaseOutQuad,$MinDragOffsetToSlide:20,$SlideSpacing:0,$Cols:1,$Align:0,$UISearchMode:1,$PlayOrientation:1,$DragOrientation:1},Vb);if(a.$Idle!=undefined)a.$AutoPlayInterval=a.$Idle;if(a.$DisplayPieces!=undefined)a.$Cols=a.$DisplayPieces;if(a.$ParkingPosition!=undefined)a.$Align=a.$ParkingPosition;$JssorDebug$.$Execute(function(){a=$Jssor$.$Extend({$SlideWidth:undefined,$SlideHeight:undefined,$SlideshowOptions:undefined,$CaptionSliderOptions:undefined,$BulletNavigatorOptions:undefined,$ArrowNavigatorOptions:undefined,$ThumbnailNavigatorOptions:undefined},a)});var I=a.$PlayOrientation&3,lc=(a.$PlayOrientation&4)/-4||1,w=a.$SlideshowOptions,v=$Jssor$.$Extend({$Class:$JssorCaptionSliderBase$,$PlayInMode:1,$PlayOutMode:1},a.$CaptionSliderOptions);v.$Transitions=v.$Transitions||v.$CaptionTransitions;var H=a.$BulletNavigatorOptions,u=a.$ArrowNavigatorOptions,A=a.$ThumbnailNavigatorOptions;$JssorDebug$.$Execute(function(){w&&!w.$Class&&$JssorDebug$.$Fail("Option $SlideshowOptions error, class not specified.")});$JssorDebug$.$Execute(function(){a.$CaptionSliderOptions&&!a.$CaptionSliderOptions.$Class&&$JssorDebug$.$Fail("Option $CaptionSliderOptions error, class not specified.")});$JssorDebug$.$Execute(function(){H&&!H.$Class&&$JssorDebug$.$Fail("Option $BulletNavigatorOptions error, class not specified.")});$JssorDebug$.$Execute(function(){u&&!u.$Class&&$JssorDebug$.$Fail("Option $ArrowNavigatorOptions error, class not specified.")});$JssorDebug$.$Execute(function(){A&&!A.$Class&&$JssorDebug$.$Fail("Option $ThumbnailNavigatorOptions error, class not specified.")});var J=!a.$UISearchMode,k,f=$Jssor$.$FindChild(c,"slides",J),O=$Jssor$.$FindChild(c,"loading",J)||$Jssor$.$CreateDiv(document),fb=$Jssor$.$FindChild(c,"navigator",J),wb=$Jssor$.$FindChild(c,"arrowleft",J),ub=$Jssor$.$FindChild(c,"arrowright",J),eb=$Jssor$.$FindChild(c,"thumbnavigator",J);$JssorDebug$.$Execute(function(){if(fb&&!H)throw new Error("Bullet navigator container defined but $BulletNavigatorOptions not specified.");if((wb||ub)&&!u)throw new Error("arrowleft or arrowright defined, but $ArrowNavigatorOptions not specified.");if(eb&&!A)throw new Error("Thumbnail navigator container defined, but $ThumbnailNavigatorOptions not specified.");});var ib=$Jssor$.$CssWidth(f),hb=$Jssor$.$CssHeight(f);$JssorDebug$.$Execute(function(){isNaN(ib)&&$JssorDebug$.$Fail("Width of slides container wrong specification, it should be specified in pixel (like style='width: 600px;').");ib==undefined&&$JssorDebug$.$Fail("Width of slides container not specified, it should be specified in pixel (like style='width: 600px;').");isNaN(hb)&&$JssorDebug$.$Fail("Height of slides container wrong specification, it should be specified in pixel (like style='height: 300px;').");hb==undefined&&$JssorDebug$.$Fail("Height of slides container not specified, it should be specified in pixel (like style='height: 300px;').");var c=$Jssor$.$CssOverflow(f),a=$Jssor$.$Css(f,"overflowX"),b=$Jssor$.$Css(f,"overflowY");c!="hidden"&&(a!="hidden"||b!="hidden")&&$JssorDebug$.$Fail("Overflow of slides container wrong specification, it should be specified as 'hidden' (style='overflow:hidden;').")});$JssorDebug$.$Execute(function(){!$Jssor$.$IsNumeric(a.$Cols)&&$JssorDebug$.$Fail("Option $Cols error, it should be a numeric value and greater than or equal to 1.");a.$Cols<1&&$JssorDebug$.$Fail("Option $Cols error, it should be greater than or equal to 1.");a.$Cols>1&&a.$DragOrientation&&a.$DragOrientation!=I&&$JssorDebug$.$Fail("Option $DragOrientation error, it should be 0 or the same of $PlayOrientation when $Cols is greater than 1.");!$Jssor$.$IsNumeric(a.$Align)&&$JssorDebug$.$Fail("Option $Align error, it should be a numeric value.");a.$Align&&a.$DragOrientation&&a.$DragOrientation!=I&&$JssorDebug$.$Fail("Option $DragOrientation error, it should be 0 or the same of $PlayOrientation when $Align is not equal to 0.")});var N,E=[],mc=$Jssor$.$Children(f);$Jssor$.$Each(mc,function(a){if(a.tagName=="DIV"&&!$Jssor$.$AttributeEx(a,"u"))E.push(a);else $Jssor$.$IsBrowserIe9Earlier()&&$Jssor$.$CssZIndex(a,($Jssor$.$CssZIndex(a)||0)+1)});$JssorDebug$.$Execute(function(){E.length<1&&$JssorDebug$.$Error("Slides html code definition error, there must be at least 1 slide to initialize a slider.")});var cc=0,g=-1,C,lb,d=E.length,y=a.$SlideWidth||ib,x=a.$SlideHeight||hb,Ob=a.$SlideSpacing,sb=y+Ob,tb=x+Ob,Sb=I&1?sb:tb,h=Math.min(a.$Cols,d),W,j,z,rb,L=[],Jb,Lb,Hb,Tb,uc,G,q=a.$PauseOnHover,ec=a.$AutoPlayInterval,Nb=a.$SlideDuration,jb,mb,U,Kb=h<d,m=Kb?a.$Loop:0,Q,B,r=1,F,o,K,nb=0,ob=0,t,S,T,xb,i,M,l,pb=new gc,R,Cb=[];G=a.$AutoPlay;b.$Options=Vb;Zb();$Jssor$.$Attribute(c,"jssor-slider",true);$Jssor$.$CssZIndex(f,$Jssor$.$CssZIndex(f)||0);$Jssor$.$CssPosition(f,"absolute");W=$Jssor$.$CloneNode(f,true);$Jssor$.$InsertBefore(W,f);if(w){Tb=w.$ShowLink;jb=w.$Class;$JssorDebug$.$Execute(function(){(!w.$Transitions||!w.$Transitions.length)&&$JssorDebug$.$Error("Invalid '$SlideshowOptions', no '$Transitions' specified.")});mb=h==1&&d>1&&jb&&(!$Jssor$.$IsBrowserIE()||$Jssor$.$BrowserVersion()>=8)}U=mb||h>=d||!(m&1)?0:a.$Align;Q=(h>1||U?I:-1)&a.$DragOrientation;var V=f,p=[],n,D,yb=$Jssor$.$Device(),Y=yb.$Touchable,s,gb,Bb,kb;yb.$TouchActionAttr&&$Jssor$.$Css(V,yb.$TouchActionAttr,([null,"pan-y","pan-x","none"])[Q]||"");M=new rc;if(mb)n=new jb(pb,y,x,w,Y);$Jssor$.$AppendChild(W,M.$Wrapper);$Jssor$.$CssOverflow(f,"hidden");D=Pb();$Jssor$.$Css(D,"backgroundColor","#000");$Jssor$.$CssOpacity(D,0);$Jssor$.$InsertBefore(D,V.firstChild,V);for(var db=0;db<E.length;db++){var oc=E[db],pc=new qc(oc,db);p.push(pc)}$Jssor$.$HideElement(O);$JssorDebug$.$Execute(function(){$Jssor$.$Attribute(O,"debug-id","loading-container")});xb=new sc;l=new fc(xb,M);$JssorDebug$.$Execute(function(){$Jssor$.$Attribute(V,"debug-id","slide-board")});if(Q){$Jssor$.$AddEvent(f,"mousedown",Qb);$Jssor$.$AddEvent(f,"touchstart",jc);$Jssor$.$AddEvent(f,"dragstart",Ab);$Jssor$.$AddEvent(f,"selectstart",Ab);$Jssor$.$AddEvent(document,"mouseup",bb);$Jssor$.$AddEvent(document,"touchend",bb);$Jssor$.$AddEvent(document,"touchcancel",bb);$Jssor$.$AddEvent(window,"blur",bb)}q&=Y?10:5;if(fb&&H){Jb=new H.$Class(fb,H,P(),X());L.push(Jb)}if(u&&wb&&ub){u.$Loop=m;u.$Cols=h;Lb=new u.$Class(wb,ub,u,P(),X());L.push(Lb)}if(eb&&A){A.$StartIndex=a.$StartIndex;Hb=new A.$Class(eb,A);L.push(Hb)}$Jssor$.$Each(L,function(a){a.$Reset(d,p,O);a.$On($JssorNavigatorEvents$.$NAVIGATIONREQUEST,bc)});$Jssor$.$Css(c,"visibility","visible");zb(P());$Jssor$.$AddEvent(f,"click",ac);$Jssor$.$AddEvent(c,"mouseout",$Jssor$.$MouseOverOutFilter(Yb,c));$Jssor$.$AddEvent(c,"mouseover",$Jssor$.$MouseOverOutFilter(Xb,c));qb();a.$ArrowKeyNavigation&&$Jssor$.$AddEvent(document,"keydown",function(b){if(b.keyCode==37)ab(-a.$ArrowKeyNavigation);else b.keyCode==39&&ab(a.$ArrowKeyNavigation)});var Z=a.$StartIndex;if(!(m&1))Z=Math.max(0,Math.min(Z,d-h));l.$PlayCarousel(Z,Z,0)};$JssorSlider$.$EVT_CLICK=21;$JssorSlider$.$EVT_DRAG_START=22;$JssorSlider$.$EVT_DRAG_END=23;$JssorSlider$.$EVT_SWIPE_START=24;$JssorSlider$.$EVT_SWIPE_END=25;$JssorSlider$.$EVT_LOAD_START=26;$JssorSlider$.$EVT_LOAD_END=27;$JssorSlider$.$EVT_FREEZE=28;$JssorSlider$.$EVT_POSITION_CHANGE=202;$JssorSlider$.$EVT_PARK=203;$JssorSlider$.$EVT_SLIDESHOW_START=206;$JssorSlider$.$EVT_SLIDESHOW_END=207;$JssorSlider$.$EVT_PROGRESS_CHANGE=208;$JssorSlider$.$EVT_STATE_CHANGE=209;var $JssorNavigatorEvents$={$NAVIGATIONREQUEST:1,$INDEXCHANGE:2,$RESET:3},$JssorBulletNavigator$=window.$JssorBulletNavigator$=function(b,v){var d=this;$JssorObject$.call(d);b=$Jssor$.$GetElement(b);var l,t,s,k,g=0,a,h,f,p,q,e,c,j,i,u=[],r=[];function o(a){a!=-1&&r[a].$Selected(a==g)}function m(a){d.$TriggerEvent($JssorNavigatorEvents$.$NAVIGATIONREQUEST,a*h)}d.$Elmt=b;d.$GetCurrentIndex=function(){return k};d.$SetCurrentIndex=function(a){if(a!=k){var c=g,b=Math.floor(a/h);g=b;k=a;o(c);o(b)}};d.$Show=function(a){$Jssor$.$ShowElement(b,a)};var n;d.$Reset=function(A){if(!n){l=Math.ceil(A/h);g=0;var v=j+p,x=i+q,o=Math.ceil(l/f)-1;t=j+v*(!e?o:f-1);s=i+x*(e?o:f-1);$Jssor$.$CssWidth(b,t);$Jssor$.$CssHeight(b,s);for(var d=0;d<l;d++){var z=$Jssor$.$CreateSpan();$Jssor$.$InnerText(z,d+1);var k=$Jssor$.$BuildElement(c,"numbertemplate",z,true);$Jssor$.$CssPosition(k,"absolute");var y=d%(o+1);$Jssor$.$CssLeft(k,!e?v*y:d%f*v);$Jssor$.$CssTop(k,e?x*y:Math.floor(d/(o+1))*x);$Jssor$.$AppendChild(b,k);u[d]=k;a.$ActionMode&1&&$Jssor$.$AddEvent(k,"click",$Jssor$.$CreateCallback(null,m,d));a.$ActionMode&2&&$Jssor$.$AddEvent(k,"mouseover",$Jssor$.$MouseOverOutFilter($Jssor$.$CreateCallback(null,m,d),k));r[d]=$Jssor$.$Buttonize(k)}n=true}};d.$Options=a=$Jssor$.$Extend({$SpacingX:10,$SpacingY:10,$Orientation:1,$ActionMode:1},v);$JssorDebug$.$Execute(function(){a=$Jssor$.$Extend({$Steps:undefined,$Lanes:undefined},a)});c=$Jssor$.$FindChild(b,"prototype");$JssorDebug$.$Execute(function(){!c&&$JssorDebug$.$Fail("Navigator item prototype not defined.");isNaN($Jssor$.$CssWidth(c))&&$JssorDebug$.$Fail("Width of 'navigator item prototype' not specified.");isNaN($Jssor$.$CssHeight(c))&&$JssorDebug$.$Fail("Height of 'navigator item prototype' not specified.")});j=$Jssor$.$CssWidth(c);i=$Jssor$.$CssHeight(c);$Jssor$.$RemoveElement(c,b);h=a.$Steps||1;f=a.$Lanes||1;p=a.$SpacingX;q=a.$SpacingY;e=a.$Orientation-1;a.$Scale==false&&$Jssor$.$Attribute(b,"noscale",true);a.$AutoCenter&&$Jssor$.$Attribute(b,"autocenter",a.$AutoCenter)},$JssorArrowNavigator$=window.$JssorArrowNavigator$=function(a,b,f){var c=this;$JssorObject$.call(c);$JssorDebug$.$Execute(function(){!a&&$JssorDebug$.$Fail("Option '$ArrowNavigatorOptions' spepcified, but UI 'arrowleft' not defined. Define 'arrowleft' to enable direct navigation, or remove option '$ArrowNavigatorOptions' to disable direct navigation.");!b&&$JssorDebug$.$Fail("Option '$ArrowNavigatorOptions' spepcified, but UI 'arrowright' not defined. Define 'arrowright' to enable direct navigation, or remove option '$ArrowNavigatorOptions' to disable direct navigation.");isNaN($Jssor$.$CssWidth(a))&&$JssorDebug$.$Fail("Width of 'arrow left' not specified.");isNaN($Jssor$.$CssWidth(b))&&$JssorDebug$.$Fail("Width of 'arrow right' not specified.");isNaN($Jssor$.$CssHeight(a))&&$JssorDebug$.$Fail("Height of 'arrow left' not specified.");isNaN($Jssor$.$CssHeight(b))&&$JssorDebug$.$Fail("Height of 'arrow right' not specified.")});var l,k,d,e,g;$Jssor$.$CssWidth(a);$Jssor$.$CssHeight(a);function h(a){c.$TriggerEvent($JssorNavigatorEvents$.$NAVIGATIONREQUEST,a,true)}function j(c){$Jssor$.$ShowElement(a,c||!f.$Loop&&d==0);$Jssor$.$ShowElement(b,c||!f.$Loop&&d>=k-f.$Cols);l=c}c.$GetCurrentIndex=function(){return d};c.$SetCurrentIndex=function(b,a,c){if(c)d=a;else{d=b;j(l)}};c.$Show=j;var i;c.$Reset=function(c){k=c;d=0;if(!i){$Jssor$.$AddEvent(a,"click",$Jssor$.$CreateCallback(null,h,-g));$Jssor$.$AddEvent(b,"click",$Jssor$.$CreateCallback(null,h,g));$Jssor$.$Buttonize(a);$Jssor$.$Buttonize(b);i=true}};c.$Options=e=$Jssor$.$Extend({$Steps:1},f);g=e.$Steps;if(e.$Scale==false){$Jssor$.$Attribute(a,"noscale",true);$Jssor$.$Attribute(b,"noscale",true)}if(e.$AutoCenter){$Jssor$.$Attribute(a,"autocenter",e.$AutoCenter);$Jssor$.$Attribute(b,"autocenter",e.$AutoCenter)}},$JssorThumbnailNavigator$=window.$JssorThumbnailNavigator$=function(c,t){var e=this,r,h,a,n=[],p,o,d,i,j,l,k,g,m,b,f;$JssorObject$.call(e);c=$Jssor$.$GetElement(c);function s(k,d){var c=this,b,j,i;function l(){j.$Selected(h==d)}function g(a){(a||!m.$LastDragSucceded())&&e.$TriggerEvent($JssorNavigatorEvents$.$NAVIGATIONREQUEST,d)}$JssorDebug$.$Execute(function(){c.$Wrapper=undefined});c.$Index=d;c.$Highlight=l;i=k.$Thumb||k.$Image||$Jssor$.$CreateDiv();c.$Wrapper=b=$Jssor$.$BuildElement(f,"thumbnailtemplate",i,true);j=$Jssor$.$Buttonize(b);a.$ActionMode&1&&$Jssor$.$AddEvent(b,"click",$Jssor$.$CreateCallback(null,g,0));a.$ActionMode&2&&$Jssor$.$AddEvent(b,"mouseover",$Jssor$.$MouseOverOutFilter($Jssor$.$CreateCallback(null,g,1),b))}e.$GetCurrentIndex=function(){return h};e.$SetCurrentIndex=function(b,c,e){var a=h;h=b;a!=-1&&n[a].$Highlight();n[b].$Highlight();!e&&m.$PlayTo(m.$GetVirtualIndex(Math.floor(c/d)))};e.$Show=function(a){$Jssor$.$ShowElement(c,a)};var q;e.$Reset=function(A,y){if(!q){r=A;Math.ceil(r/d);h=-1;g=Math.min(g,y.length);var e=a.$Orientation&1,v=l+(l+i)*(d-1)*(1-e),t=k+(k+j)*(d-1)*e,x=v+(v+i)*(g-1)*e,w=t+(t+j)*(g-1)*(1-e);$Jssor$.$CssPosition(b,"absolute");$Jssor$.$CssOverflow(b,"hidden");a.$AutoCenter&1&&$Jssor$.$CssLeft(b,(p-x)/2);a.$AutoCenter&2&&$Jssor$.$CssTop(b,(o-w)/2);$Jssor$.$CssWidth(b,x);$Jssor$.$CssHeight(b,w);var f=[];$Jssor$.$Each(y,function(o,g){var h=new s(o,g),c=h.$Wrapper,a=Math.floor(g/d),m=g%d;$Jssor$.$CssLeft(c,(l+i)*m*(1-e));$Jssor$.$CssTop(c,(k+j)*m*e);if(!f[a]){f[a]=$Jssor$.$CreateDiv();$Jssor$.$AppendChild(b,f[a])}$Jssor$.$AppendChild(f[a],c);n.push(h)});var z=$Jssor$.$Extend({$AutoPlay:false,$NaviQuitDrag:false,$SlideWidth:v,$SlideHeight:t,$SlideSpacing:i*e+j*(1-e),$MinDragOffsetToSlide:12,$SlideDuration:200,$PauseOnHover:1,$PlayOrientation:a.$Orientation,$DragOrientation:a.$NoDrag||a.$DisableDrag?0:a.$Orientation},a);m=new $JssorSlider$(c,z);q=true}};e.$Options=a=$Jssor$.$Extend({$SpacingX:0,$SpacingY:0,$Cols:1,$Orientation:1,$AutoCenter:3,$ActionMode:1},t);if(a.$DisplayPieces!=undefined)a.$Cols=a.$DisplayPieces;if(a.$Rows!=undefined)a.$Lanes=a.$Rows;$JssorDebug$.$Execute(function(){a=$Jssor$.$Extend({$Lanes:undefined,$Width:undefined,$Height:undefined},a)});p=$Jssor$.$CssWidth(c);o=$Jssor$.$CssHeight(c);$JssorDebug$.$Execute(function(){!p&&$JssorDebug$.$Fail("width of 'thumbnavigator' container not specified.");!o&&$JssorDebug$.$Fail("height of 'thumbnavigator' container not specified.")});b=$Jssor$.$FindChild(c,"slides",true);f=$Jssor$.$FindChild(b,"prototype");$JssorDebug$.$Execute(function(){!f&&$JssorDebug$.$Fail("prototype of 'thumbnavigator' not defined.")});l=$Jssor$.$CssWidth(f);k=$Jssor$.$CssHeight(f);$Jssor$.$RemoveElement(f,b);d=a.$Lanes||1;i=a.$SpacingX;j=a.$SpacingY;g=a.$Cols;a.$Scale==false&&$Jssor$.$Attribute(c,"noscale",true)};function $JssorCaptionSliderBase$(d,c,b){var a=this;$JssorAnimator$.call(a,0,b);a.$Revert=$Jssor$.$EmptyFunction;a.$IdleBegin=0;a.$IdleEnd=b}var $JssorCaptionSlider$=window.$JssorCaptionSlider$=function(f,d,g){$JssorDebug$.$Execute(function(){!d.$Transitions&&$JssorDebug$.$Error("'$CaptionSliderOptions' option error, '$CaptionSliderOptions.$Transitions' not specified.")});var a=this;$JssorAnimator$.call(a,0,0);var c,b;function e(l,f,d){var a=this,e,j=d?f.$PlayInMode:f.$PlayOutMode,c=f.$Transitions,k={$Transition:"t",$Delay:"d",$Duration:"du",x:"x",y:"y",$Rotate:"r",$Zoom:"z",$Opacity:"f",$BeginTime:"b"},b={$Default:function(b,a){if(!isNaN(a.$Value))b=a.$Value;else b*=a.$Percent;return b},$Opacity:function(b,a){return this.$Default(b-1,a)}};b.$Zoom=b.$Opacity;$JssorAnimator$.call(a,0,0);function h(p,m){var l=[],g,i=[],a=[];function f(b,c){var a={};$Jssor$.$Each(k,function(f,g){var d=$Jssor$.$AttributeEx(b,f+(c||""));if(d){var e={};if(f=="t")e.$Value=d;else if(d.indexOf("%")+1)e.$Percent=$Jssor$.$ParseFloat(d)/100;else e.$Value=$Jssor$.$ParseFloat(d);a[g]=e}});return a}function n(){return c[Math.floor(Math.random()*c.length)]}function e(d){var f;if(d=="*")f=n();else if(d){var b=c[$Jssor$.$ParseInt(d)]||c[d];if($Jssor$.$IsArray(b)){if(d!=g){g=d;a[d]=0;i[d]=b[Math.floor(Math.random()*b.length)]}else a[d]++;b=i[d];if($Jssor$.$IsArray(b)){b=b.length&&b[a[d]%b.length];if($Jssor$.$IsArray(b))b=b[Math.floor(Math.random()*b.length)]}}f=b;if($Jssor$.$IsString(f))f=e(f)}return f}var o=$Jssor$.$Children(p);$Jssor$.$Each(o,function(a){var c=[];c.$Elmt=a;var g=$Jssor$.$AttributeEx(a,"u")=="caption";$Jssor$.$Each(d?[0,3]:[2],function(l,n){if(g){var k,d;if(l!=2||!$Jssor$.$AttributeEx(a,"t3")){d=f(a,l);if(l==2&&!d.$Transition){d.$Delay=d.$Delay||{$Value:0};d=$Jssor$.$Extend(f(a,0),d)}}if(d&&d.$Transition){k=e(d.$Transition.$Value);if(k){var i=$Jssor$.$Extend({$Delay:0},k);$Jssor$.$Each(d,function(e,a){var c=(b[a]||b.$Default).apply(b,[i[a],d[a]]);if(!isNaN(c))i[a]=c});if(!n)if(d.$BeginTime)i.$BeginTime=d.$BeginTime.$Value||0;else if(j&2)i.$BeginTime=0}}c.push(i)}if(m%2&&!n)c.$Children=h(a,m+1)});l.push(c)});return l}function i(t,a,w){var e={$Easing:a.$Easing,$Round:a.$Round,$During:a.$During,$Reverse:d&&!w},j=t,o=$Jssor$.$ParentNode(t),i=$Jssor$.$CssWidth(j),h=$Jssor$.$CssHeight(j),v=$Jssor$.$CssWidth(o),u=$Jssor$.$CssHeight(o),f={},c={},g=a.$ScaleClip||1;if(a.$Opacity)c.$Opacity=1-a.$Opacity;e.$OriginalWidth=i;e.$OriginalHeight=h;if(a.$Zoom||a.$Rotate){c.$Zoom=(a.$Zoom||2)-2;if($Jssor$.$IsBrowserIe9Earlier()||$Jssor$.$IsBrowserOpera())c.$Zoom=Math.min(c.$Zoom,1);f.$Zoom=1;var y=a.$Rotate||0;c.$Rotate=y*360;f.$Rotate=0}else if(a.$Clip){var p={$Top:0,$Right:i,$Bottom:h,$Left:0},s=$Jssor$.$Extend({},p),b=s.$Offset={},r=a.$Clip&4,m=a.$Clip&8,q=a.$Clip&1,n=a.$Clip&2;if(r&&m){b.$Top=h/2*g;b.$Bottom=-b.$Top}else if(r)b.$Bottom=-h*g;else if(m)b.$Top=h*g;if(q&&n){b.$Left=i/2*g;b.$Right=-b.$Left}else if(q)b.$Right=-i*g;else if(n)b.$Left=i*g;e.$Move=a.$Move;c.$Clip=s;f.$Clip=p}var k=0,l=0;if(a.x)k-=v*a.x;if(a.y)l-=u*a.y;if(k||l||e.$Move){c.$Left=k;c.$Top=l}var x=a.$Duration;f=$Jssor$.$Extend(f,$Jssor$.$GetStyles(j,c));e.$Setter=$Jssor$.$StyleSetterEx();return new $JssorAnimator$(a.$Delay,x,e,j,f,c)}function g(b,c){$Jssor$.$Each(c,function(c,l){$JssorDebug$.$Execute(function(){if(c.length){var f=$Jssor$.$CssTop(c.$Elmt),e=$Jssor$.$CssLeft(c.$Elmt),d=$Jssor$.$CssWidth(c.$Elmt),b=$Jssor$.$CssHeight(c.$Elmt),a=null;if(isNaN(f))a="Style 'top' for caption not specified. Please always specify caption like 'position: absolute; top: ...px; left: ...px; width: ...px; height: ...px;'.";else if(isNaN(e))a="Style 'left' not specified. Please always specify caption like 'position: absolute; top: ...px; left: ...px; width: ...px; height: ...px;'.";else if(isNaN(d))a="Style 'width' not specified. Please always specify caption like 'position: absolute; top: ...px; left: ...px; width: ...px; height: ...px;'.";else if(isNaN(b))a="Style 'height' not specified. Please always specify caption like 'position: absolute; top: ...px; left: ...px; width: ...px; height: ...px;'.";a&&$JssorDebug$.$Error("Caption "+(l+1)+" definition error, \r\n"+a+"\r\n"+c.$Elmt.outerHTML)}});var d,j=c.$Elmt,h=c[0],k=c[1];if(h){d=i(j,h);$JssorDebug$.$Execute(function(){d.$CaptionAnimator=true});h.$BeginTime==undefined&&d.$Shift(b);b=d.$GetPosition_OuterEnd()}b=g(b,c.$Children);if(k){var f=i(j,k,1);$JssorDebug$.$Execute(function(){f.$CaptionAnimator=true});f.$Shift(b);a.$Combine(f);e.$Combine(f)}d&&a.$Combine(d)});return b}a.$Revert=function(){a.$GoToPosition(a.$GetPosition_OuterEnd()*(d||0));e.$GoToPosition(0)};e=new $JssorAnimator$(0,0);g(0,j?h(l,1):[])}a.$Revert=function(){b.$Revert();c.$Revert()};c=new e(f,d,1);a.$IdleBegin=c.$GetPosition_OuterEnd();a.$IdleEnd=a.$IdleBegin+g;b=new e(f,d);b.$Shift(a.$IdleEnd);a.$Combine(b);a.$Combine(c)},$JssorCaptionSlideo$=window.$JssorCaptionSlideo$=function(j,c,i){$JssorDebug$.$Execute(function(){if(!c.$Transitions)$JssorDebug$.$Error("'$CaptionSlideoOptions' option error, '$CaptionSlideoOptions.$Transitions' not specified.");else!$Jssor$.$IsArray(c.$Transitions)&&$JssorDebug$.$Error("'$CaptionSlideoOptions' option error, '$CaptionSlideoOptions.$Transitions' is not an array.")});var a=this,k,e={},f=c.$Transitions,b=new $JssorAnimator$(0,0);$JssorAnimator$.call(a,0,0);function g(b,c){var a={};$Jssor$.$Each(b,function(b,f){var d=e[f];if(d){if($Jssor$.$IsPlainObject(b))b=g(b,f=="e");else if(c)if($Jssor$.$IsNumeric(b))b=k[b];a[d]=b}});return a}function h(d,b){var a=[],c=$Jssor$.$Children(d);$Jssor$.$Each(c,function(c){var i=$Jssor$.$AttributeEx(c,"u")=="caption";if(i){var d=$Jssor$.$AttributeEx(c,"t"),g=f[$Jssor$.$ParseInt(d)]||f[d],e={$Elmt:c,$Transition:g};a.push(e)}if(b<5)a=a.concat(h(c,b+1))});return a}function n(c,d,a){$Jssor$.$Each(d,function(e){var d=g(e),h={$Easing:$Jssor$.$FormatEasings(d.$Easing),$Setter:$Jssor$.$StyleSetterEx(),$OriginalWidth:a.$Width,$OriginalHeight:a.$Height},f=new $JssorAnimator$(e.b,e.d,h,c,a,d);$JssorDebug$.$Execute(function(){f.$CaptionAnimator=true});b.$Combine(f);a=$Jssor$.$AddDif(a,d)});return a}function m(a){$Jssor$.$Each(a,function(a,f){$JssorDebug$.$Execute(function(){if(a.length){var g=$Jssor$.$CssTop(a.$Elmt),e=$Jssor$.$CssLeft(a.$Elmt),d=$Jssor$.$CssWidth(a.$Elmt),c=$Jssor$.$CssHeight(a.$Elmt),b=null;if(isNaN(g))b="style 'top' not specified";else if(isNaN(e))b="style 'left' not specified";else if(isNaN(d))b="style 'width' not specified";else if(isNaN(c))b="style 'height' not specified";if(b)throw new Error("Caption "+(f+1)+" definition error, "+b+".\r\n"+a.$Elmt.outerHTML);}});var b=a.$Elmt,d=$Jssor$.$CssWidth(b),c=$Jssor$.$CssHeight(b),e={$Left:$Jssor$.$CssLeft(b),$Top:$Jssor$.$CssTop(b),$Opacity:1,$ZIndex:$Jssor$.$CssZIndex(b)||0,$Rotate:0,$RotateX:0,$RotateY:0,$ScaleX:1,$ScaleY:1,$TranslateX:0,$TranslateY:0,$TranslateZ:0,$SkewX:0,$SkewY:0,$Width:d,$Height:c,$Clip:{$Top:0,$Right:d,$Bottom:c,$Left:0}};n(b,a.$Transition,e)})}function p(f,e,g){var d=f.b-e;if(d){var c=new $JssorAnimator$(e,d);$JssorDebug$.$Execute(function(){c.$TrunckedAnimator=true});c.$Combine(b,true);c.$Shift(g);a.$Combine(c)}a.$Expand(f.d);return d}function o(e){var c=b.$GetPosition_OuterBegin(),d=0;$Jssor$.$Each(e,function(b,e){b=$Jssor$.$Extend({d:i},b);p(b,c,d);c=b.b;d+=b.d;if(!e||b.t==2){a.$IdleBegin=c;a.$IdleEnd=c+b.d}})}a.$Revert=function(){a.$GoToPosition(-1,true)};$JssorDebug$.$Execute(function(){a.$CaptionSlider=true;b.$InnerAnimator=true});k=[$Jease$.$Swing,$Jease$.$Linear,$Jease$.$InQuad,$Jease$.$OutQuad,$Jease$.$InOutQuad,$Jease$.$InCubic,$Jease$.$OutCubic,$Jease$.$InOutCubic,$Jease$.$InQuart,$Jease$.$OutQuart,$Jease$.$InOutQuart,$Jease$.$InQuint,$Jease$.$OutQuint,$Jease$.$InOutQuint,$Jease$.$InSine,$Jease$.$OutSine,$Jease$.$InOutSine,$Jease$.$InExpo,$Jease$.$OutExpo,$Jease$.$InOutExpo,$Jease$.$InCirc,$Jease$.$OutCirc,$Jease$.$InOutCirc,$Jease$.$InElastic,$Jease$.$OutElastic,$Jease$.$InOutElastic,$Jease$.$InBack,$Jease$.$OutBack,$Jease$.$InOutBack,$Jease$.$InBounce,$Jease$.$OutBounce,$Jease$.$InOutBounce,$Jease$.$GoBack,$Jease$.$InWave,$Jease$.$OutWave,$Jease$.$OutJump,$Jease$.$InJump];var q={$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"};$Jssor$.$Each(q,function(b,a){e[b]=a});m(h(j,1));var l=c.$Breaks||[],d=[].concat(l[$Jssor$.$ParseInt($Jssor$.$AttributeEx(j,"b"))]||[]);d.push({b:b.$GetPosition_OuterEnd(),d:d.length?0:i});o(d);a.$GoToPosition(-1)}