﻿(function(g,f,b,e,c,d,z){/*! Jssor */
$Jssor$=g.$Jssor$=g.$Jssor$||{};new(function(){this.$DebugMode=c;this.$Log=function(c,d){var a=g.console||{},b=this.$DebugMode;if(b&&a.log)a.log(c);else b&&d&&alert(c)};this.$Error=function(b,d){var c=g.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=g.console||{},b=this.$DebugMode;b&&a.log&&a.log(c)};this.$Execute=function(b){var a=this.$DebugMode;a&&b()};this.$LiveStamp=function(b,c){var a=f.createElement("DIV");a.setAttribute("id",c);b.$Live=a}});var m=function(){var b=this,a={};b.$On=b.addEventListener=function(b,c){if(typeof c!="function")return;if(!a[b])a[b]=[];a[b].push(c)};b.$Off=b.removeEventListener=function(e,d){var b=a[e];if(typeof d!="function")return;else if(!b)return;for(var c=0;c<b.length;c++)if(d==b[c]){b.splice(c,1);return}};b.$ClearEventListeners=function(b){if(a[b])delete a[b]};b.$TriggerEvent=function(e){var c=a[e],d=[];if(!c)return;for(var b=1;b<arguments.length;b++)d.push(arguments[b]);for(var b=0;b<c.length;b++)try{c[b].apply(g,d)}catch(f){}}},h;(function(){h=function(a,b){this.x=typeof a=="number"?a:0;this.y=typeof b=="number"?b:0};var a=h.prototype;a.$Plus=function(a){return new h(this.x+a.x,this.y+a.y)};a.$Minus=function(a){return new h(this.x-a.x,this.y-a.y)};a.$Times=function(a){return new h(this.x*a,this.y*a)};a.$Divide=function(a){return new h(this.x/a,this.y/a)};a.$Negate=function(){return new h(-this.x,-this.y)};a.$DistanceTo=function(a){return b.sqrt(b.pow(this.x-a.x,2)+b.pow(this.y-a.y,2))};a.$Apply=function(a){return new h(a(this.x),a(this.y))};a.$Equals=function(a){return a instanceof h&&this.x===a.x&&this.y===a.y};a.$ToString=function(){return"("+this.x+","+this.y+")"}})();var l=g.$JssorEasing$={$EaseLinear:function(a){return a},$EaseGoBack:function(a){return 1-b.abs(2-1)},$EaseSwing:function(a){return-b.cos(a*b.PI)/2+.5},$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-b.cos(a*b.PI/2)},$EaseOutSine:function(a){return b.sin(a*b.PI/2)},$EaseInOutSine:function(a){return-1/2*(b.cos(b.PI*a)-1)},$EaseInExpo:function(a){return a==0?0:b.pow(2,10*(a-1))},$EaseOutExpo:function(a){return a==1?1:-b.pow(2,-10*a)+1},$EaseInOutExpo:function(a){return a==0||a==1?a:(a*=2)<1?1/2*b.pow(2,10*(a-1)):1/2*(-b.pow(2,-10*--a)+2)},$EaseInCirc:function(a){return-(b.sqrt(1-a*a)-1)},$EaseOutCirc:function(a){return b.sqrt(1-(a-=1)*a)},$EaseInOutCirc:function(a){return(a*=2)<1?-1/2*(b.sqrt(1-a*a)-1):1/2*(b.sqrt(1-(a-=2)*a)+1)},$EaseInElastic:function(a){if(!a||a==1)return a;var c=.3,d=.075;return-(b.pow(2,10*(a-=1))*b.sin((a-d)*2*b.PI/c))},$EaseOutElastic:function(a){if(!a||a==1)return a;var c=.3,d=.075;return b.pow(2,-10*a)*b.sin((a-d)*2*b.PI/c)+1},$EaseInOutElastic:function(a){if(!a||a==1)return a;var c=.45,d=.1125;return(a*=2)<1?-.5*b.pow(2,10*(a-=1))*b.sin((a-d)*2*b.PI/c):b.pow(2,-10*(a-=1))*b.sin((a-d)*2*b.PI/c)*.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-l.$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?l.$EaseInBounce(a*2)*.5:l.$EaseOutBounce(a*2-1)*.5+.5},$EaseInWave:function(a){return 1-b.cos(a*b.PI*2)},$EaseOutWave:function(a){return b.sin(a*b.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}},i=g.$JssorDirection$={$TO_LEFT:1,$TO_RIGHT:2,$TO_TOP:4,$TO_BOTTOM:8,$HORIZONTAL:3,$VERTICAL:12,$LEFTRIGHT:3,$TOPBOTOM:12,$TOPLEFT:5,$TOPRIGHT:6,$BOTTOMLEFT:9,$BOTTOMRIGHT:10,$AROUND:15,$GetDirectionHorizontal:function(a){return a&3},$GetDirectionVertical:function(a){return a&12},$ChessHorizontal:function(a){return(~a&3)+(a&12)},$ChessVertical:function(a){return(~a&12)+(a&3)},$IsToLeft:function(a){return(a&3)==1},$IsToRight:function(a){return(a&3)==2},$IsToTop:function(a){return(a&12)==4},$IsToBottom:function(a){return(a&12)==8},$IsHorizontal:function(a){return(a&3)>0},$IsVertical:function(a){return(a&12)>0}},q={$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},o,n={$UNKNOWN:0,$IE:1,$FIREFOX:2,$SAFARI:3,$CHROME:4,$OPERA:5},y=1,u=2,w=3,v=4,x=5,j,a=g.$JssorUtils$=new function(){var i=this,m=n.$UNKNOWN,j=0,q=0,P=0,t=0,cb=navigator.appName,k=navigator.userAgent;function D(){if(!m)if(cb=="Microsoft Internet Explorer"&&!!g.attachEvent&&!!g.ActiveXObject){var d=k.indexOf("MSIE");m=n.$IE;q=parseFloat(k.substring(d+5,k.indexOf(";",d)));/*@cc_on P=@_jscript_version@*/;j=f.documentMode||q}else if(cb=="Netscape"&&!!g.addEventListener){var c=k.indexOf("Firefox"),a=k.indexOf("Safari"),h=k.indexOf("Chrome"),b=k.indexOf("AppleWebKit");if(c>=0){m=n.$FIREFOX;j=parseFloat(k.substring(c+8))}else if(a>=0){var i=k.substring(0,a).lastIndexOf("/");m=h>=0?n.$CHROME:n.$SAFARI;j=parseFloat(k.substring(i+1,a))}if(b>=0)t=parseFloat(k.substring(b+12))}else{var e=/(opera)(?:.*version|)[ \/]([\w.]+)/i.exec(k);if(e){m=n.$OPERA;j=parseFloat(e[2])}}}function l(){D();return m==y}function G(){return l()&&(j<6||f.compatMode=="BackCompat")}function V(){D();return m==u}function M(){D();return m==w}function hb(){D();return m==v}function ib(){D();return m==x}function R(){return M()&&t>534&&t<535}function eb(){return M()&&t<535}function s(){return l()&&j<9}var B;function r(a){if(!B){p(["transform","WebkitTransform","msTransform","MozTransform","OTransform"],function(b){if(!i.$IsUndefined(a.style[b])){B=b;return c}});B=B||"transform"}return B}function gb(a,b){return b&&a!=f.body?f.body:a.offsetParent}function ab(a){return Object.prototype.toString.call(a)}var J;function p(a,c){if(ab(a)=="[object Array]"){for(var b=0;b<a.length;b++)if(c(a[b],b,a))break}else for(var d in a)if(c(a[d],d,a))break}function jb(){if(!J){J={};p(["Boolean","Number","String","Function","Array","Date","RegExp","Object"],function(a){J["[object "+a+"]"]=a.toLowerCase()})}return J}function A(a){return a==e?String(a):jb()[ab(a)]||"object"}function kb(a){if(!a||A(a)!=="object"||a.nodeType||i.$IsWindow(a))return d;var b=Object.prototype.hasOwnProperty;try{if(a.constructor&&!b.call(a,"constructor")&&!b.call(a.constructor.prototype,"isPrototypeOf"))return d}catch(e){return d}var c;for(c in a);return c===z||b.call(a,c)}function bb(b,a){setTimeout(b,a||0)}function I(b,d,c){var a=!b||b=="inherit"?"":b;p(d,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 W(b,a){if(j<9)b.style.filter=a}function fb(b,a,c){if(P<9){var e=b.style.filter,g=new RegExp(/[\s]*progid:DXImageTransform\.Microsoft\.Matrix\([^\)]*\)/g),f=a?"progid:DXImageTransform.Microsoft.Matrix(M11="+a[0][0]+", M12="+a[0][1]+", M21="+a[1][0]+", M22="+a[1][1]+", SizingMethod='auto expand')":"",d=I(e,[g],f);W(b,d);i.$SetStyleMarginTop(b,c.y);i.$SetStyleMarginLeft(b,c.x)}}i.$IsBrowserIE=l;i.$IsBrowserIeQuirks=G;i.$IsBrowserFireFox=V;i.$IsBrowserSafari=M;i.$IsBrowserChrome=hb;i.$IsBrowserOpera=ib;i.$IsBrowserBadTransform=R;i.$IsBrowserSafeHWA=eb;i.$IsBrowserIe9Earlier=s;i.$GetBrowserVersion=function(){return j};i.$GetBrowserEngineVersion=function(){return q||j};i.$GetWebKitVersion=function(){return t};i.$Delay=bb;i.$GetElement=function(a){if(i.$IsString(a))a=f.getElementById(a);return a};i.$GetElementPosition=function(a){a=i.$GetElement(a);var b=new h;while(a){b.x+=a.offsetLeft;b.y+=a.offsetTop;var c=i.$GetElementStyle(a).position=="fixed";if(c)b=b.$Plus(i.$GetPageScroll(g));a=gb(a,c)}return b};i.$GetElementSize=function(a){a=i.$GetElement(a);return new h(a.clientWidth,a.clientHeight)};i.$GetElementStyle=function(a){a=i.$GetElement(a);return a.currentStyle?a.currentStyle:g.getComputedStyle?g.getComputedStyle(a,""):void 0};i.$GetEvent=function(a){return a?a:g.event};i.$GetEventDstElement=function(a){a=i.$GetEvent(a);return a.relatedTarget||a.toElement};i.$GetMousePosition=function(a){a=i.$GetEvent(a);var b=new h;if(a.type=="DOMMouseScroll"&&V()&&j<3){b.x=a.screenX;b.y=a.screenY}else if(typeof a.pageX=="number"){b.x=a.pageX;b.y=a.pageY}else if(typeof a.clientX=="number"){b.x=a.clientX+f.body.scrollLeft+f.documentElement.scrollLeft;b.y=a.clientY+f.body.scrollTop+f.documentElement.scrollTop}return b};i.$GetMouseScroll=function(a){a=i.$GetEvent(a);var c=0;if(typeof a.wheelDelta=="number")c=a.wheelDelta;else if(typeof a.detail=="number")c=a.detail*-1;return c?c/b.abs(c):0};i.$GetPageScroll=function(b){var a=new h,c=b.document.documentElement||{},d=b.document.body||{};if(typeof b.pageXOffset=="number"){a.x=b.pageXOffset;a.y=b.pageYOffset}else if(d.scrollLeft||d.scrollTop){a.x=d.scrollLeft;a.y=d.scrollTop}else if(c.scrollLeft||c.scrollTop){a.x=c.scrollLeft;a.y=c.scrollTop}return a};i.$GetWindowSize=function(c){var a=new h,b=G()?c.document.body:c.document.documentElement;a.x=b.clientWidth;a.y=b.clientHeight;return a};i.$GetStyleOpacity=function(b){if(l()&&q<9){var a=/opacity=([^)]*)/.exec(b.style.filter||"");return a?parseFloat(a[1])/100:1}else return parseFloat(b.style.opacity||"1")};i.$SetStyleOpacity=i.$setElementOpacity=function(c,a,f){if(l()&&q<9){var h=c.style.filter||"",i=new RegExp(/[\s]*alpha\([^\)]*\)/g),e=b.round(100*a),d="";if(e<100||f)d="alpha(opacity="+e+") ";var g=I(h,[i],d);W(c,g)}else c.style.opacity=a==1?"":b.round(a*100)/100};function O(g,c){var f=c.$Rotate||0,d=c.$Scale||1;if(s()){var k=i.$CreateMatrix(f/180*b.PI,d,d);fb(g,!f&&d==1?e:k,i.$GetMatrixOffset(k,c.$OriginalWidth,c.$OriginalHeight))}else{var h=r(g);if(h){var j="rotate("+f%360+"deg) scale("+d+")";if(a.$IsBrowserChrome()&&t>535)j+=" perspective(2000px)";g.style[h]=j}}}i.$SetStyleTransform=function(b,a){if(R())bb(i.$CreateCallback(e,O,b,a));else O(b,a)};i.$SetStyleTransformOrigin=function(b,c){var a=r(b);if(a)b.style[a+"Origin"]=c};i.$SetStyleScale=function(a,c){if(l()&&q<9||q<10&&G())a.style.zoom=c==1?"":c;else{var b=r(a);if(b){var f="scale("+c+")",e=a.style[b],g=new RegExp(/[\s]*scale\(.*?\)/g),d=I(e,[g],f);a.style[b]=d}}};i.$EnableHWA=function(a){if(!a.style[r(a)]||a.style[r(a)]=="none")a.style[r(a)]="perspective(2000px)"};i.$DisableHWA=function(a){a.style[r(a)]="none"};i.$GetStyleFloat=function(a){return l()?a.style.styleFloat:a.style.cssFloat};i.$SetStyleFloat=function(b,a){if(l())b.style.styleFloat=a;else b.style.cssFloat=a};var Y=0,X=0,E;function db(g){var f=c,a=G()?g.document.body:g.document.documentElement;if(a){var e=a.offsetWidth-Y,b=a.offsetHeight-X;if(e||b){Y+=e;X+=b}else f=d}f&&p(E,function(a){a()})}i.$OnWindowResize=function(b,a){if(l()&&q<9)if(!E){E=[a];a=i.$CreateCallback(e,db,b)}else{E.push(a);return}i.$AddEvent(b,"resize",a)};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.$RemoveEvent=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(f.createEvent){a=f.createEvent("HTMLEvents");a.initEvent(b,d,d);c.dispatchEvent(a)}else{var e="on"+b;a=f.createEventObject();c.fireEvent(e,a)}};i.$AddEventBrowserMouseUp=function(b,a){i.$AddEvent(s()?f:g,"mouseup",b,a)};i.$RemoveEventBrowserMouseUp=function(b,a){i.$RemoveEvent(s()?f:g,"mouseup",b,a)};i.$AddEventBrowserMouseDown=function(b,a){i.$AddEvent(s()?f:g,"mousedown",b,a)};i.$RemoveEventBrowserMouseDown=function(b,a){i.$RemoveEvent(s()?f:g,"mousedown",b,a)};i.$CancelEvent=function(a){a=i.$GetEvent(a);a.preventDefault&&a.preventDefault();a.cancel=c;a.returnValue=d};i.$StopEvent=function(a){a=i.$GetEvent(a);a.stopPropagation&&a.stopPropagation();a.cancelBubble=c};i.$CreateCallback=function(e,d){for(var b=[],a=2;a<arguments.length;a++)b.push(arguments[a]);var c=function(){for(var c=b.concat([]),a=0;a<arguments.length;a++)c.push(arguments[a]);return d.apply(e,c)};return c};var K;i.$FreeElement=function(b){if(!K)K=i.$CreateDivElement();if(b){a.$AppendChild(K,b);a.$ClearInnerHtml(K)}};i.$SetInnerText=function(a,c){var b=f.createTextNode(c);i.$ClearInnerHtml(a);a.appendChild(b)};i.$GetInnerText=function(a){return a.textContent||a.innerText};i.$GetInnerHtml=function(a){return a.innerHTML};i.$SetInnerHtml=function(a,b){a.innerHTML=b};i.$ClearInnerHtml=function(a){a.innerHTML=""};i.$EncodeHtml=function(b){var a=i.$CreateDivElement();i.$SetInnerText(a,b);return i.$GetInnerHtml(a)};i.$DecodeHtml=function(b){var a=i.$CreateDivElement();i.$SetInnerHtml(a,b);return i.$GetInnerText(a)};i.$SelectElement=function(c){var b;if(g.getSelection)b=g.getSelection();var a=e;if(f.createRange){a=f.createRange();a.selectNode(c)}else{a=f.body.createTextRange();a.moveToElementText(c);a.select()}b&&b.addRange(a)};i.$DeselectElements=function(){if(f.selection)f.selection.empty();else g.getSelection&&g.getSelection().removeAllRanges()};i.$GetChildren=function(c){for(var b=[],a=c.firstChild;a;a=a.nextSibling)a.nodeType==1&&b.push(a);return b};function N(a,c,b,f){if(!b)b="u";for(a=a?a.firstChild:e;a;a=a.nextSibling)if(a.nodeType==1){if(i.$GetAttributeEx(a,b)==c)return a;if(f){var d=N(a,c,b,f);if(d)return d}}}i.$FindFirstChildByAttribute=N;function S(a,c,d){for(a=a?a.firstChild:e;a;a=a.nextSibling)if(a.nodeType==1){if(a.tagName==c)return a;if(d){var b=S(a,c,d);if(b)return b}}}i.$FindFirstChildByTag=S;function T(a,d,g){var b=[];for(a=a?a.firstChild:e;a;a=a.nextSibling)if(a.nodeType==1){(!d||a.tagName==d)&&b.push(a);if(g){var f=T(a,d,c);if(f.length)b=b.concat(f)}}return b}i.$FindChildrenByTag=T;i.$GetElementsByTagName=function(b,a){return b.getElementsByTagName(a)};i.$Extend=function(c){for(var b=1;b<arguments.length;b++){var a=arguments[b];if(a)for(var d in a)c[d]=a[d]}return c};i.$Unextend=function(b,d){var c={};for(var a in b)if(b[a]!=d[a])c[a]=b[a];return c};i.$IsUndefined=function(a){return A(a)=="undefined"};i.$IsFunction=function(a){return A(a)=="function"};i.$IsArray=Array.isArray||function(a){return A(a)=="array"};i.$IsString=function(a){return A(a)=="string"};i.$IsNumeric=function(a){return!isNaN(parseFloat(a))&&isFinite(a)};i.$IsWindow=function(a){return a!=e&&a==a.window};i.$Type=A;i.$Each=p;i.$IsPlainObject=kb;i.$CreateDivElement=function(a){return i.$CreateElement("DIV",a)};i.$CreateSpanElement=function(a){return i.$CreateElement("SPAN",a)};i.$CreateElement=function(b,a){a=a||f;return a.createElement(b)};i.$EmptyFunction=function(){};i.$GetAttribute=function(a,b){return a.getAttribute(b)};i.$GetAttributeEx=function(a,b){return i.$GetAttribute(a,b)||i.$GetAttribute(a,"data-"+b)};i.$SetAttribute=function(b,c,a){b.setAttribute(c,a)};i.$GetClassName=function(a){return a.className};i.$SetClassName=function(b,a){b.className=a?a:""};i.$GetStyleCursor=function(a){return a.style.cursor};i.$SetStyleCursor=function(b,a){b.style.cursor=a};i.$GetStyleDisplay=function(a){return a.style.display};i.$SetStyleDisplay=function(b,a){b.style.display=a||""};i.$GetStyleOverflow=function(a){return a.style.overflow};i.$SetStyleOverflow=function(b,a){b.style.overflow=a};i.$GetStyleOverflowX=function(a){return a.style.overflowX};i.$SetStyleOverflowX=function(b,a){b.style.overflowX=a};i.$GetStyleOverflowY=function(a){return a.style.overflowY};i.$SetStyleOverflowY=function(b,a){b.style.overflowY=a};i.$GetParentNode=function(a){return a.parentNode};i.$HideElement=function(a){i.$SetStyleDisplay(a,"none")};i.$HideElements=function(b){for(var a=0;a<b.length;a++)i.$HideElement(b[a])};i.$ShowElement=function(a,b){i.$SetStyleDisplay(a,b==d?"none":"")};i.$ShowElements=function(b){for(var a=0;a<b.length;a++)i.$ShowElement(b[a])};i.$GetStylePosition=function(a){return a.style.position};i.$SetStylePosition=function(b,a){b.style.position=a};i.$GetStyleTop=function(a){return parseInt(a.style.top,10)};i.$SetStyleTop=function(a,b){a.style.top=b+"px"};i.$GetStyleRight=function(a){return parseInt(a.style.right,10)};i.$SetStyleRight=function(b,a){b.style.right=a+"px"};i.$GetStyleBottom=function(a){return parseInt(a.style.bottom,10)};i.$SetStyleBottom=function(b,a){b.style.bottom=a+"px"};i.$GetStyleLeft=function(a){return parseInt(a.style.left,10)};i.$SetStyleLeft=function(a,b){a.style.left=b+"px"};i.$GetStyleWidth=function(a){return parseInt(a.style.width,10)};i.$SetStyleWidth=function(c,a){c.style.width=b.max(a,0)+"px"};i.$GetStyleHeight=function(a){return parseInt(a.style.height,10)};i.$SetStyleHeight=function(c,a){c.style.height=b.max(a,0)+"px"};i.$GetStyleCssText=function(a){return a.style.cssText};i.$SetStyleCssText=function(b,a){b.style.cssText=a};i.$RemoveAttribute=function(b,a){b.removeAttribute(a)};i.$GetBorderWidth=function(a){return parseInt(a.style.borderWidth,10)};i.$SetBorderWdith=function(b,a){b.style.width=a+"px"};i.$GetStyleMarginLeft=function(a){return parseInt(a.style.marginLeft,10)||0};i.$SetStyleMarginLeft=function(b,a){b.style.marginLeft=a+"px"};i.$GetStyleMarginTop=function(a){return parseInt(a.style.marginTop,10)||0};i.$SetStyleMarginTop=function(b,a){b.style.marginTop=a+"px"};i.$GetStyleMarginBottom=function(a){return parseInt(a.style.marginBottom,10)||0};i.$SetStyleMarginBottom=function(b,a){b.style.marginBottom=a+"px"};i.$GetStyleMarginRight=function(a){return parseInt(a.style.marginRight,10)||0};i.$SetStyleMarginRight=function(b,a){b.style.marginRight=a+"px"};i.$GetStyleBorder=function(a){return a.style.border};i.$SetStyleBorder=function(b,a){b.style.border=a};i.$GetStyleBorderWidth=function(a){return parseInt(a.style.borderWidth)};i.$SetStyleBorderWidth=function(b,a){b.style.borderWidth=a+"px"};i.$GetStyleBorderStyle=function(a){return a.style.borderStyle};i.$SetStyleBorderStyle=function(b,a){b.style.borderStyle=a};i.$GetStyleBorderColor=function(a){return a.style.borderColor};i.$SetStyleBorderColor=function(b,a){b.style.borderColor=a};i.$GetStyleVibility=function(a){return a.style.vibility};i.$SetStyleVisibility=function(b,a){b.style.visibility=a};i.$GetStyleZIndex=function(a){return parseInt(a.style.zIndex)||0};i.$SetStyleZIndex=function(c,a){c.style.zIndex=b.ceil(a)};i.$GetStyleBackgroundColor=function(a){return a.style.backgroundColor};i.$SetStyleBackgroundColor=function(b,a){b.style.backgroundColor=a};i.$GetStyleColor=function(a){return a.style.color};i.$SetStyleColor=function(b,a){b.style.color=a};i.$GetStyleBackgroundImage=function(a){return a.style.backgroundImage};i.$SetStyleBackgroundImage=function(b,a){b.style.backgroundImage=a};i.$CanClearClip=function(){return l()&&j<10};i.$SetStyleClip=function(d,c){if(c)d.style.clip="rect("+b.round(c.$Top)+"px "+b.round(c.$Right)+"px "+b.round(c.$Bottom)+"px "+b.round(c.$Left)+"px)";else{var g=i.$GetStyleCssText(d),f=[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)],e=I(g,f,"");a.$SetStyleCssText(d,e)}};i.$GetStyleZoom=function(a){return a.style.zoom};i.$SetStyleZoom=function(a,b){return a.style.zoom=b};i.$SetStyleClear=function(b,a){b.style.clear=a};i.$GetNow=function(){return+new Date};i.$AppendChild=function(b,a){b.appendChild(a)};i.$AppendChildren=function(b,a){p(a,function(a){i.$AppendChild(b,a)})};i.$InsertBefore=function(c,b,a){c.insertBefore(b,a)};i.$InsertAdjacentHtml=function(b,a,c){b.insertAdjacentHTML(a,c)};i.$RemoveChild=function(b,a){b.removeChild(a)};i.$RemoveChildren=function(b,a){p(a,function(a){i.$RemoveChild(b,a)})};i.$ClearChildren=function(a){i.$RemoveChildren(a,i.$GetChildren(a))};i.$ParseInt=function(b,a){return parseInt(b,a||10)};i.$ParseFloat=function(a){return parseFloat(a)};i.$IsChild=function(b,a){var c=f.body;while(a&&b!=a&&c!=a)try{a=a.parentNode}catch(e){return d}return b==a};i.$ToLowerCase=function(a){if(a)a=a.toLowerCase();return a};i.$CloneNode=function(b,a){return b.cloneNode(a)};function L(b,a,c){a.onload=e;a.abort=e;b&&b(a,c)}i.$LoadImage=function(d,b){if(i.$IsBrowserOpera()&&j<11.6||!d)L(b,e);else{var a=new Image;a.onload=i.$CreateCallback(e,L,b,a);a.onabort=i.$CreateCallback(e,L,b,a,c);a.src=d}};i.$LoadImages=function(e,b,f){var d=e.length+1;function c(a){d--;if(b&&a&&a.src==b.src)b=a;!d&&f&&f(b)}a.$Each(e,function(b){a.$LoadImage(b.src,c)});c()};i.$BuildElement=function(d,k,j,i){if(i)d=a.$CloneNode(d,c);for(var h=a.$GetElementsByTagName(d,k),f=h.length-1;f>-1;f--){var b=h[f],e=a.$CloneNode(j,c);a.$SetClassName(e,a.$GetClassName(b));a.$SetStyleCssText(e,a.$GetStyleCssText(b));var g=a.$GetParentNode(b);a.$InsertBefore(g,e,b);a.$RemoveChild(g,b)}return d};var C;function lb(b){var g=this,h,e,j;function f(){var c=h;if(e)c+="dn";else if(j)c+="av";a.$SetClassName(b,c)}function k(){C.push(g);e=c;f()}g.$MouseUp=function(){e=d;f()};g.$Activate=function(a){j=a;f()};b=i.$GetElement(b);if(!C){i.$AddEventBrowserMouseUp(function(){var a=C;C=[];p(a,function(a){a.$MouseUp()})});C=[]}h=i.$GetClassName(b);a.$AddEvent(b,"mousedown",k)}i.$Buttonize=function(a){return new lb(a)};var Z={$Opacity:i.$GetStyleOpacity,$Top:i.$GetStyleTop,$Left:i.$GetStyleLeft,$Width:i.$GetStyleWidth,$Height:i.$GetStyleHeight,$Position:i.$GetStylePosition,$Display:i.$GetStyleDisplay,$ZIndex:i.$GetStyleZIndex},F={$Opacity:i.$SetStyleOpacity,$Top:i.$SetStyleTop,$Left:i.$SetStyleLeft,$Width:i.$SetStyleWidth,$Height:i.$SetStyleHeight,$Display:i.$SetStyleDisplay,$Clip:i.$SetStyleClip,$MarginLeft:i.$SetStyleMarginLeft,$MarginTop:i.$SetStyleMarginTop,$Transform:i.$SetStyleTransform,$Position:i.$SetStylePosition,$ZIndex:i.$SetStyleZIndex};function H(){return F}function U(){H();F.$Transform=F.$Transform;return F}i.$GetStyleSetter=H;i.$GetStyleSetterEx=U;i.$GetStyles=function(c,b){H();var a={};p(b,function(d,b){if(Z[b])a[b]=Z[b](c)});return a};i.$SetStyles=function(c,b){var a=H();p(b,function(d,b){a[b]&&a[b](c,d)})};i.$SetStylesEx=function(b,a){U();i.$SetStyles(b,a)};o=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 new h(a[0][0],a[1][0])}};i.$CreateMatrix=function(d,a,c){var e=b.cos(d),f=b.sin(d);return[[e*a,-f*c],[f*a,e*c]]};i.$GetMatrixOffset=function(d,c,a){var e=o.$TransformPoint(d,new h(-c/2,-a/2)),f=o.$TransformPoint(d,new h(c/2,-a/2)),g=o.$TransformPoint(d,new h(c/2,a/2)),i=o.$TransformPoint(d,new h(-c/2,a/2));return new h(b.min(e.x,f.x,g.x,i.x)+c/2,b.min(e.y,f.y,g.y,i.y)+a/2)}};j=function(n,m,g,O,z,x){n=n||0;var f=this,r,K,o,p,y,A=0,C,M,L,D,j=0,t=0,E,k=n,s=n+m,i,h,q,u=[],B;function I(b){i+=b;h+=b;k+=b;s+=b;j+=b;t+=b;a.$Each(u,function(a){a,a.$Shift(b)})}function N(a,b){var c=a-i+n*b;I(c);return h}function w(w,G){var n=w;if(q&&(n>=h||n<=i))n=((n-i)%q+q)%q+i;if(!E||y||G||j!=n){var p=b.min(n,h);p=b.max(p,i);if(!E||y||G||p!=t){if(x){var d=x;if(z){var s=(p-k)/(m||1);if(g.$Optimize&&a.$IsBrowserChrome()&&m)s=b.round(s*m/16)/m*16;if(g.$Reverse)s=1-s;d={};for(var o in x){var R=M[o]||1,J=L[o]||[0,1],l=(s-J[0])/J[1];l=b.min(b.max(l,0),1);l=l*R;var H=b.floor(l);if(l!=H)l-=H;var Q=C[o]||C.$Default,I=Q(l),r,K=z[o],F=x[o];if(a.$IsNumeric(F))r=K+(F-K)*I;else{r=a.$Extend({$Offset:{}},z[o]);a.$Each(F.$Offset,function(c,b){var a=c*I;r.$Offset[b]=a;r[b]+=a})}d[o]=r}}if(z.$Zoom)d.$Transform={$Rotate:d.$Rotate||0,$Scale:d.$Zoom,$OriginalWidth:g.$OriginalWidth,$OriginalHeight:g.$OriginalHeight};if(x.$Clip&&g.$Move){var v=d.$Clip.$Offset,D=(v.$Top||0)+(v.$Bottom||0),A=(v.$Left||0)+(v.$Right||0);d.$Left=(d.$Left||0)+A;d.$Top=(d.$Top||0)+D;d.$Clip.$Left-=A;d.$Clip.$Right-=A;d.$Clip.$Top-=D;d.$Clip.$Bottom-=D}if(d.$Clip&&a.$CanClearClip()&&!d.$Clip.$Top&&!d.$Clip.$Left&&d.$Clip.$Right==g.$OriginalWidth&&d.$Clip.$Bottom==g.$OriginalHeight)d.$Clip=e;a.$Each(d,function(b,a){B[a]&&B[a](O,b)})}f.$OnInnerOffsetChange(t-k,p-k)}t=p;a.$Each(u,function(b,c){var a=w<j?u[u.length-c-1]:b;a.$GoToPosition(w,G)});var P=j,N=w;j=n;E=c;f.$OnPositionChange(P,N)}}function F(a,c){c&&a.$Locate(h,1);h=b.max(h,a.$GetPosition_OuterEnd());u.push(a)}function H(){if(r){var d=a.$GetNow(),e=b.min(d-A,a.$IsBrowserOpera()?80:20),c=j+e*p;A=d;if(c*p>=o*p)c=o;w(c);if(!y&&c*p>=o*p)J(D);else a.$Delay(H,g.$Interval)}}function v(d,e,g){if(!r){r=c;y=g;D=e;d=b.max(d,i);d=b.min(d,h);o=d;p=o<j?-1:1;f.$OnStart();A=a.$GetNow();H()}}function J(a){if(r){y=r=D=d;f.$OnStop();a&&a()}}f.$Play=function(a,b,c){v(a?j+a:h,b,c)};f.$PlayToPosition=function(b,a,c){v(b,a,c)};f.$PlayToBegin=function(a,b){v(i,a,b)};f.$PlayToEnd=function(a,b){v(h,a,b)};f.$Stop=function(){J()};f.$Continue=function(a){v(a)};f.$GetPosition=function(){return j};f.$GetPlayToPosition=function(){return o};f.$GetPosition_Display=function(){return t};f.$GoToPosition=w;f.$GoToBegin=function(){w(i,c)};f.$GoToEnd=function(){w(h,c)};f.$Move=function(a){w(j+a)};f.$CombineMode=function(){return K};f.$GetDuration=function(){return m};f.$IsPlaying=function(){return r};f.$IsOnTheWay=function(){return j>k&&j<=s};f.$SetLoopLength=function(a){q=a};f.$Locate=N;f.$Shift=I;f.$Join=F;f.$Combine=function(a){F(a,0)};f.$Chain=function(a){F(a,1)};f.$GetPosition_InnerBegin=function(){return k};f.$GetPosition_InnerEnd=function(){return s};f.$GetPosition_OuterBegin=function(){return i};f.$GetPosition_OuterEnd=function(){return h};f.$OnPositionChange=a.$EmptyFunction;f.$OnStart=a.$EmptyFunction;f.$OnStop=a.$EmptyFunction;f.$OnInnerOffsetChange=a.$EmptyFunction;f.$Version=a.$GetNow();g=a.$Extend({$Interval:15},g);q=g.$LoopLength;B=a.$Extend({},a.$GetStyleSetter(),g.$Setter);i=k=n;h=s=n+m;var M=g.$Round||{},L=g.$During||{};C=a.$Extend({$Default:a.$IsFunction(g.$Easing)&&g.$Easing||l.$EaseSwing},g.$Easing)};var r,k=g.$JssorSlideshowFormations$={};new function(){var u=0,o=1,w=2,v=3,I=1,H=2,J=4,G=8,O=256,P=512,N=1024,M=2048,z=M+I,y=M+H,E=P+I,C=P+H,D=O+J,A=O+G,B=N+J,F=N+G;function S(a){return(a&H)==H}function T(a){return(a&J)==J}function x(b,a,c){c.push(a);b[a]=b[a]||[];b[a].push(c)}k.$FormationStraight=function(f){for(var d=f.$Cols,e=f.$Rows,k=f.$Assembly,l=f.$Count,j=[],a=0,b=0,h=d-1,i=e-1,g=l-1,c,b=0;b<e;b++)for(a=0;a<d;a++){switch(k){case z:c=g-(a*e+(i-b));break;case B:c=g-(b*d+(h-a));break;case E:c=g-(a*e+b);case D:c=g-(b*d+a);break;case y:c=a*e+b;break;case A:c=b*d+(h-a);break;case C:c=a*e+(i-b);break;default:c=b*d+a}x(j,c,[b,a])}return j};k.$FormationSwirl=function(e){var l=e.$Cols,m=e.$Rows,q=e.$Assembly,k=e.$Count,p=[],n=[],i=0,a=0,b=0,f=l-1,g=m-1,h,d,j=0;switch(q){case z:a=f;b=0;d=[w,o,v,u];break;case B:a=0;b=g;d=[u,v,o,w];break;case E:a=f;b=g;d=[v,o,w,u];break;case D:a=f;b=g;d=[o,v,u,w];break;case y:a=0;b=0;d=[w,u,v,o];break;case A:a=f;b=0;d=[o,w,u,v];break;case C:a=0;b=g;d=[v,u,w,o];break;default:a=0;b=0;d=[u,w,o,v]}i=0;while(i<k){h=b+","+a;if(a>=0&&a<l&&b>=0&&b<m&&!n[h]){n[h]=c;x(p,i++,[b,a])}else switch(d[j++%d.length]){case u:a--;break;case w:b--;break;case o:a++;break;case v:b++}switch(d[j%d.length]){case u:a++;break;case w:b++;break;case o:a--;break;case v:b--}}return p};k.$FormationZigZag=function(d){var k=d.$Cols,l=d.$Rows,n=d.$Assembly,j=d.$Count,h=[],i=0,a=0,b=0,e=k-1,f=l-1,m,c,g=0;switch(n){case z:a=e;b=0;c=[w,o,v,o];break;case B:a=0;b=f;c=[u,v,o,v];break;case E:a=e;b=f;c=[v,o,w,o];break;case D:a=e;b=f;c=[o,v,u,v];break;case y:a=0;b=0;c=[w,u,v,u];break;case A:a=e;b=0;c=[o,w,u,w];break;case C:a=0;b=f;c=[v,u,w,u];break;default:a=0;b=0;c=[u,w,o,w]}i=0;while(i<j){m=b+","+a;if(a>=0&&a<k&&b>=0&&b<l&&typeof h[m]=="undefined"){x(h,i++,[b,a]);switch(c[g%c.length]){case u:a++;break;case w:b++;break;case o:a--;break;case v:b--}}else{switch(c[g++%c.length]){case u:a--;break;case w:b--;break;case o:a++;break;case v:b++}switch(c[g++%c.length]){case u:a++;break;case w:b++;break;case o:a--;break;case v:b--}}}return h};k.$FormationStraightStairs=function(h){var l=h.$Cols,m=h.$Rows,e=h.$Assembly,k=h.$Count,i=[],j=0,c=0,d=0,f=l-1,g=m-1,o=k-1;switch(e){case z:case C:case E:case y:var a=0,b=0;break;case A:case B:case D:case F:var a=f,b=0;break;default:e=F;var a=f,b=0}c=a;d=b;while(j<k){if(T(e)||S(e))x(i,o-j++,[d,c]);else x(i,j++,[d,c]);switch(e){case z:case C:c--;d++;break;case E:case y:c++;d--;break;case A:case B:c--;d--;break;case F:case D:default:c++;d++}if(c<0||d<0||c>f||d>g){switch(e){case z:case C:a++;break;case A:case B:case E:case y:b++;break;case F:case D:default:a--}if(a<0||b<0||a>f||b>g){switch(e){case z:case C:a=f;b++;break;case E:case y:b=g;a++;break;case A:case B:b=g;a--;break;case F:case D:default:a=0;b++}if(b>g)b=g;else if(b<0)b=0;else if(a>f)a=f;else if(a<0)a=0}d=b;c=a}}return i};k.$FormationSquare=function(h){var a=h.$Cols||1,c=h.$Rows||1,i=[],d,e,f,g,j;f=a<c?(c-a)/2:0;g=a>c?(a-c)/2:0;j=b.round(b.max(a/2,c/2))+1;for(d=0;d<a;d++)for(e=0;e<c;e++)x(i,j-b.min(d+1+f,e+1+g,a-d+f,c-e+g),[e,d]);return i};k.$FormationRectangle=function(f){var d=f.$Cols||1,e=f.$Rows||1,g=[],a,c,h;h=b.round(b.min(d/2,e/2))+1;for(a=0;a<d;a++)for(c=0;c<e;c++)x(g,h-b.min(a+1,c+1,d-a,e-c),[c,a]);return g};k.$FormationRandom=function(d){for(var e=[],a,c=0;c<d.$Rows;c++)for(a=0;a<d.$Cols;a++)x(e,b.ceil(1e5*b.random())%13,[c,a]);return e};k.$FormationCircle=function(d){for(var e=d.$Cols||1,f=d.$Rows||1,g=[],a,h=e/2-.5,i=f/2-.5,c=0;c<e;c++)for(a=0;a<f;a++)x(g,b.round(b.sqrt(b.pow(c-h,2)+b.pow(a-i,2))),[a,c]);return g};k.$FormationCross=function(d){for(var e=d.$Cols||1,f=d.$Rows||1,g=[],a,h=e/2-.5,i=f/2-.5,c=0;c<e;c++)for(a=0;a<f;a++)x(g,b.round(b.min(b.abs(c-h),b.abs(a-i))),[a,c]);return g};k.$FormationRectangleCross=function(f){for(var g=f.$Cols||1,h=f.$Rows||1,i=[],a,d=g/2-.5,e=h/2-.5,j=b.max(d,e)+1,c=0;c<g;c++)for(a=0;a<h;a++)x(i,b.round(j-b.max(d-b.abs(c-d),e-b.abs(a-e)))-1,[a,c]);return i};function Q(a){var b=a.$Formation(a);return a.$Reverse?b.reverse():b}function K(g,f){var e={$Interval:f,$Duration:1,$Delay:0,$Cols:1,$Rows:1,$Opacity:0,$Zoom:0,$Clip:0,$Move:d,$SlideOut:d,$FlyDirection:0,$Reverse:d,$Formation:k.$FormationRandom,$Assembly:F,$ChessMode:{$Column:0,$Row:0},$Easing:l.$EaseSwing,$Round:{},$Blocks:[],$During:{}};a.$Extend(e,g);e.$Count=e.$Cols*e.$Rows;if(a.$IsFunction(e.$Easing))e.$Easing={$Default:e.$Easing};e.$FramesCount=b.ceil(e.$Duration/e.$Interval);e.$EasingInstance=R(e);e.$GetBlocks=function(b,a){b/=e.$Cols;a/=e.$Rows;var f=b+"x"+a;if(!e.$Blocks[f]){e.$Blocks[f]={$Width:b,$Height:a};for(var c=0;c<e.$Cols;c++)for(var d=0;d<e.$Rows;d++)e.$Blocks[f][d+","+c]={$Top:d*a,$Right:c*b+b,$Bottom:d*a+a,$Left:c*b}}return e.$Blocks[f]};if(e.$Brother){e.$Brother=K(e.$Brother,f);e.$SlideOut=c}return e}function R(d){var c=d.$Easing;if(!c.$Default)c.$Default=l.$EaseSwing;var e=d.$FramesCount,f=c.$Cache;if(!f){var g=a.$Extend({},d.$Easing,d.$Round);f=c.$Cache={};a.$Each(g,function(n,l){var g=c[l]||c.$Default,j=d.$Round[l]||1;if(!a.$IsArray(g.$Cache))g.$Cache=[];var h=g.$Cache[e]=g.$Cache[e]||[];if(!h[j]){h[j]=[0];for(var k=1;k<=e;k++){var i=k/e*j,m=b.floor(i);if(i!=m)i-=m;h[j][k]=g(i)}}f[l]=h})}return f}function L(D,k,f,y,m,l){var B=this,v,w={},p={},o=[],h,g,t,r=f.$ChessMode.$Column||0,s=f.$ChessMode.$Row||0,j=f.$GetBlocks(m,l),q=Q(f),E=q.length-1,u=f.$Duration+f.$Delay*E,z=y+u,n=f.$SlideOut,A;z+=a.$IsBrowserChrome()?260:50;B.$EndTime=z;B.$ShowFrame=function(c){c-=y;var d=c<u;if(d||A){A=d;if(!n)c=u-c;var e=b.ceil(c/f.$Interval);a.$Each(p,function(c,f){var d=b.max(e,c.$Min);d=b.min(d,c.length-1);if(c.$LastFrameIndex!=d){if(!c.$LastFrameIndex&&!n)a.$ShowElement(o[f]);else d==c.$Max&&n&&a.$HideElement(o[f]);c.$LastFrameIndex=d;a.$SetStylesEx(o[f],c[d])}})}};function x(b){a.$DisableHWA(b);var c=a.$GetChildren(b);a.$Each(c,function(a){x(a)})}k=a.$CloneNode(k,c);x(k);if(a.$IsBrowserIe9Earlier()){var F=!k["no-image"],C=a.$FindChildrenByTag(k,e,c);a.$Each(C,function(b){(F||b["jssor-slider"])&&a.$SetStyleOpacity(b,a.$GetStyleOpacity(b),c)})}a.$Each(q,function(e,k){a.$Each(e,function(N){var S=N[0],R=N[1],z=S+","+R,u=d,x=d,A=d;if(r&&R%2){if(i.$IsHorizontal(r))u=!u;if(i.$IsVertical(r))x=!x;if(r&16)A=!A}if(s&&S%2){if(i.$IsHorizontal(s))u=!u;if(i.$IsVertical(s))x=!x;if(s&16)A=!A}f.$Top=f.$Top||f.$Clip&4;f.$Bottom=f.$Bottom||f.$Clip&8;f.$Left=f.$Left||f.$Clip&1;f.$Right=f.$Right||f.$Clip&2;var G=x?f.$Bottom:f.$Top,D=x?f.$Top:f.$Bottom,F=u?f.$Right:f.$Left,E=u?f.$Left:f.$Right;f.$Clip=G||D||F||E;t={};g={$Top:0,$Left:0,$Opacity:1,$Width:m,$Height:l};h=a.$Extend({},g);v=a.$Extend({},j[z]);if(f.$Opacity)g.$Opacity=2-f.$Opacity;if(f.$ZIndex){g.$ZIndex=f.$ZIndex;h.$ZIndex=0}var Q=f.$Cols*f.$Rows>1||f.$Clip;if(f.$Zoom||f.$Rotate){var P=c;if(a.$IsBrowserIE()&&a.$GetBrowserEngineVersion()<9)if(f.$Cols*f.$Rows>1)P=d;else Q=d;if(P){g.$Zoom=f.$Zoom?f.$Zoom-1:1;h.$Zoom=1;if(a.$IsBrowserIe9Earlier()||a.$IsBrowserOpera())g.$Zoom=b.min(g.$Zoom,2);var K=f.$Rotate;if(K==c)K=1;g.$Rotate=K*360*(A?-1:1);h.$Rotate=0}}if(Q){if(f.$Clip){var y=f.$ScaleClip||1,o=v.$Offset={};if(G&&D){o.$Top=j.$Height/2*y;o.$Bottom=-o.$Top}else if(G)o.$Bottom=-j.$Height*y;else if(D)o.$Top=j.$Height*y;if(F&&E){o.$Left=j.$Width/2*y;o.$Right=-o.$Left}else if(F)o.$Right=-j.$Width*y;else if(E)o.$Left=j.$Width*y}t.$Clip=v;h.$Clip=j[z]}if(f.$FlyDirection){var q=f.$FlyDirection;if(!u)q=i.$ChessHorizontal(q);if(!x)q=i.$ChessVertical(q);var M=f.$ScaleHorizontal||1,O=f.$ScaleVertical||1;if(i.$IsToLeft(q))g.$Left+=m*M;else if(i.$IsToRight(q))g.$Left-=m*M;if(i.$IsToTop(q))g.$Top+=l*O;else if(i.$IsToBottom(q))g.$Top-=l*O}a.$Each(g,function(b,c){if(a.$IsNumeric(b))if(b!=h[c])t[c]=b-h[c]});w[z]=n?h:g;var L=b.round(k*f.$Delay/f.$Interval);p[z]=new Array(L);p[z].$Min=L;for(var C=f.$FramesCount,J=0;J<=C;J++){var e={};a.$Each(t,function(g,c){var m=f.$EasingInstance[c]||f.$EasingInstance.$Default,l=m[f.$Round[c]||1],k=f.$During[c]||[0,1],d=(J/C-k[0])/k[1]*C;d=b.round(b.min(C,b.max(d,0)));var j=l[d];if(a.$IsNumeric(g))e[c]=h[c]+g*j;else{var i=e[c]=a.$Extend({},h[c]);i.$Offset=[];a.$Each(g.$Offset,function(c,b){var a=c*j;i.$Offset[b]=a;i[b]+=a})}});if(h.$Zoom)e.$Transform={$Rotate:e.$Rotate||0,$Scale:e.$Zoom,$OriginalWidth:m,$OriginalHeight:l};if(e.$Clip&&f.$Move){var B=e.$Clip.$Offset,I=(B.$Top||0)+(B.$Bottom||0),H=(B.$Left||0)+(B.$Right||0);e.$Left=(e.$Left||0)+H;e.$Top=(e.$Top||0)+I;e.$Clip.$Left-=H;e.$Clip.$Right-=H;e.$Clip.$Top-=I;e.$Clip.$Bottom-=I}e.$ZIndex=e.$ZIndex||1;p[z].push(e)}})});q.reverse();a.$Each(q,function(b){a.$Each(b,function(d){var g=d[0],f=d[1],e=g+","+f,b=k;if(f||g)b=a.$CloneNode(k,c);a.$SetStyles(b,w[e]);a.$SetStyleOverflow(b,"hidden");a.$SetStylePosition(b,"absolute");D.$AddClipElement(b);o[e]=b;a.$ShowElement(b,n)})})}g.$JssorSlideshowRunner$=function(h,l,i,n,p){var d=this,o,f,c,s=0,r=n.$TransitionsOrder,k,g=16;function q(){var a=this,b=0;j.call(a,0,o);a.$OnPositionChange=function(d,a){if(a-b>g){b=a;c&&c.$ShowFrame(a);f&&f.$ShowFrame(a)}};a.$Transition=k}d.$GetTransition=function(f){var c=0,e=n.$Transitions,d=e.length;if(r){if(d>f&&(a.$IsBrowserChrome()||a.$IsBrowserSafari()||a.$IsBrowserFireFox()))d-=d%f;c=s++%d}else c=b.floor(b.random()*d);e[c]&&(e[c].$Index=c);return e[c]};d.$Initialize=function(w,x,n,p,a){k=a;a=K(a,g);var m=p.$Item,j=n.$Item;m["no-image"]=!p.$Image;j["no-image"]=!n.$Image;var q=m,r=j,v=a,e=a.$Brother||K({},g);if(!a.$SlideOut){q=j;r=m}var s=e.$Shift||0;f=new L(h,r,e,b.max(s-e.$Interval,0),l,i);c=new L(h,q,v,b.max(e.$Interval-s,0),l,i);f.$ShowFrame(0);c.$ShowFrame(0);o=b.max(f.$EndTime,c.$EndTime);d.$Index=w};d.$Clear=function(){h.$Clear();f=e;c=e};d.$GetProcessor=function(){var a=e;if(c)a=new q;return a};if(a.$IsBrowserIe9Earlier()||a.$IsBrowserOpera()||p&&a.$GetWebKitVersion<537)g=32;m.call(d);j.call(d,-1e7,1e7)};function n(o,ac){var k=this;function wc(){var a=this;j.call(a,-1e8,2e8);a.$GetCurrentSlideInfo=function(){var c=a.$GetPosition_Display(),d=b.floor(c),f=u(d),e=c-b.floor(c);return{$Index:f,$VirtualIndex:d,$Position:e}};a.$OnPositionChange=function(d,a){var e=b.floor(a);if(e!=a&&a>d)e++;Ob(e,c);k.$TriggerEvent(n.$EVT_POSITION_CHANGE,u(a),u(d),a,d)}}function vc(){var b=this;j.call(b,0,0,{$LoopLength:t});a.$Each(C,function(a){S&1&&a.$SetLoopLength(t);b.$Chain(a);a.$Shift(sb/Vb)})}function uc(){var a=this,b=Nb.$Elmt;j.call(a,-1,2,{$Easing:l.$EaseLinear,$Setter:{$Position:Tb},$LoopLength:t},b,{$Position:1},{$Position:-1});a.$Wrapper=b}function ic(o,m){var a=this,f,g,h,l,b;j.call(a,-1e8,2e8);a.$OnStart=function(){P=c;U=e;k.$TriggerEvent(n.$EVT_SWIPE_START,u(x.$GetPosition()),x.$GetPosition())};a.$OnStop=function(){P=d;l=d;var a=x.$GetCurrentSlideInfo();k.$TriggerEvent(n.$EVT_SWIPE_END,u(x.$GetPosition()),x.$GetPosition());!a.$Position&&yc(a.$VirtualIndex,r)};a.$OnPositionChange=function(d,c){var a;if(l)a=b;else{a=g;if(h)a=i.$SlideEasing(c/h)*(g-f)+f}x.$GoToPosition(a)};a.$PlayCarousel=function(b,d,c,e){f=b;g=d;h=c;x.$GoToPosition(b);a.$GoToPosition(0);a.$PlayToPosition(c,e)};a.$StandBy=function(d){l=c;b=d;a.$Play(d,e,c)};a.$SetStandByPosition=function(a){b=a};a.$MoveCarouselTo=function(a){x.$GoToPosition(a)};x=new wc;x.$Combine(o);x.$Combine(m)}function jc(){var c=this,b=Sb();a.$SetStyleZIndex(b,0);c.$Elmt=b;c.$AddClipElement=function(c){a.$AppendChild(b,c);a.$ShowElement(b)};c.$Clear=function(){a.$HideElement(b);a.$ClearInnerHtml(b)}}function tc(p,o){var f=this,s,w,I,x,g,y=[],V,q,X,H,P,F,l,v,h,hb;j.call(f,-B,B+1,{$SlideItemAnimator:c});function E(a){w&&w.$Revert();s&&s.$Revert();W(p,a);F=c;s=new K.$Class(p,K,1);w=new K.$Class(p,K);w.$GoToBegin();s.$GoToBegin()}function bb(){s.$Version<K.$Version&&E()}function J(o,q,m){if(!H){H=c;if(g&&m){var e=m.width,b=m.height,l=e,j=b;if(e&&b&&i.$FillMode){if(i.$FillMode&3){var h=d,p=O/M*b/e;if(i.$FillMode&1)h=p>1;else if(i.$FillMode&2)h=p<1;l=h?e*M/b:O;j=h?M:b*O/e}a.$SetStyleWidth(g,l);a.$SetStyleHeight(g,j);a.$SetStyleTop(g,(M-j)/2);a.$SetStyleLeft(g,(O-l)/2)}a.$SetStylePosition(g,"absolute");k.$TriggerEvent(n.$EVT_LOAD_END,Yb)}}a.$HideElement(q);o&&o(f)}function Y(b,c,d,e){if(e==U&&r==o&&Q)if(!xc){var a=u(b);z.$Initialize(a,o,c,f,d);c.$HideContentForSlideshow();Z.$Locate(a,1);Z.$GoToPosition(a);A.$PlayCarousel(b,b,0)}}function eb(b){if(b==U&&r==o){if(!l){var a=e;if(z)if(z.$Index==o)a=z.$GetProcessor();else z.$Clear();bb();l=new rc(o,a,f.$GetCaptionSliderIn(),f.$GetCaptionSliderOut());l.$SetPlayer(h)}!l.$IsPlaying()&&l.$Replay()}}function S(d,c){if(d==o){if(d!=c)C[c]&&C[c].$ParkOut();h&&h.$Enable();var k=U=a.$GetNow();f.$LoadImage(a.$CreateCallback(e,eb,k))}else{var j=b.abs(o-d),g=B+i.$LazyLoading;(!P||j<=g||t-j<=g)&&f.$LoadImage()}}function fb(){if(r==o&&l){l.$Stop();h&&h.$Quit();h&&h.$Disable();l.$OpenSlideshowPanel()}}function gb(){r==o&&l&&l.$Stop()}function N(b){if(T)a.$CancelEvent(b);else k.$TriggerEvent(n.$EVT_CLICK,o,b)}function L(){h=v.pInstance;l&&l.$SetPlayer(h)}f.$LoadImage=function(d,b){b=b||x;if(y.length&&!H){a.$ShowElement(b);if(!X){X=c;k.$TriggerEvent(n.$EVT_LOAD_START);a.$Each(y,function(b){if(!b.src){b.src=a.$GetAttributeEx(b,"src2");a.$SetStyleDisplay(b,b["display-origin"])}})}a.$LoadImages(y,g,a.$CreateCallback(e,J,d,b))}else J(d,b)};f.$GoForNextSlide=function(){if(z){var b=z.$GetTransition(t);if(b){var f=U=a.$GetNow(),c=o+1,d=C[u(c)];return d.$LoadImage(a.$CreateCallback(e,Y,c,d,b,f),x)}}ab(r+i.$AutoPlaySteps)};f.$TryActivate=function(){S(o,o)};f.$ParkOut=function(){h&&h.$Quit();h&&h.$Disable();f.$UnhideContentForSlideshow();l&&l.$Abort();l=e;E()};f.$StampSlideItemElements=function(a){a=hb+"_"+a};f.$HideContentForSlideshow=function(){a.$HideElement(p)};f.$UnhideContentForSlideshow=function(){a.$ShowElement(p)};f.$EnablePlayer=function(){h&&h.$Enable()};function W(b,f,e){if(b["jssor-slider"])return;e=e||0;if(!F){if(b.tagName=="IMG"){y.push(b);if(!b.src){P=c;b["display-origin"]=a.$GetStyleDisplay(b);a.$HideElement(b)}}a.$IsBrowserIe9Earlier()&&a.$SetStyleZIndex(b,a.$GetStyleZIndex(b)+1);if(i.$HWA&&a.$GetWebKitVersion()>0)(!G||a.$GetWebKitVersion()<534||!db)&&a.$EnableHWA(b)}var h=a.$GetChildren(b);a.$Each(h,function(h){var j=a.$GetAttributeEx(h,"u");if(j=="player"&&!v){v=h;if(v.pInstance)L();else a.$AddEvent(v,"dataavailable",L)}if(j=="caption"){if(!a.$IsBrowserIE()&&!f){var i=a.$CloneNode(h,c);a.$InsertBefore(b,i,h);a.$RemoveChild(b,h);h=i;f=c}}else if(!F&&!e&&!g&&a.$GetAttributeEx(h,"u")=="image"){g=h;if(g){if(g.tagName=="A"){V=g;a.$SetStyles(V,R);q=a.$CloneNode(g,d);a.$AddEvent(q,"click",N);a.$SetStyles(q,R);a.$SetStyleDisplay(q,"block");a.$SetStyleOpacity(q,0);a.$SetStyleBackgroundColor(q,"#000");g=a.$FindFirstChildByTag(g,"IMG")}g.border=0;a.$SetStyles(g,R)}}W(h,f,e+1)})}f.$OnInnerOffsetChange=function(c,b){var a=B-b;Tb(I,a)};f.$GetCaptionSliderIn=function(){return s};f.$GetCaptionSliderOut=function(){return w};f.$Index=o;m.call(f);var D=a.$FindFirstChildByAttribute(p,"thumb");if(D){f.$Thumb=a.$CloneNode(D,c);a.$RemoveAttribute(D,"id");a.$HideElement(D)}a.$ShowElement(p);x=a.$CloneNode(cb,c);a.$SetStyleZIndex(x,1e3);a.$AddEvent(p,"click",N);E(c);f.$Image=g;f.$Link=q;f.$Item=p;f.$Wrapper=I=p;a.$AppendChild(I,x);k.$On(203,S);k.$On(22,gb);k.$On(24,fb)}function rc(h,q,v,u){var b=this,m=0,x=0,o,g,e,f,l,s,w,t,p=C[h];j.call(b,0,0);function y(){a.$ClearChildren(L);Zb&&l&&p.$Link&&a.$AppendChild(L,p.$Link);a.$ShowElement(L,l||!p.$Image)}function A(){if(s){s=d;k.$TriggerEvent(n.$EVT_ROLLBACK_END,h,e,m,g,e,f);b.$GoToPosition(g)}b.$Replay()}function B(a){t=a;b.$Stop();b.$Replay()}b.$Replay=function(){var a=b.$GetPosition_Display();if(!H&&!P&&!t&&(a!=e||Q&&(!Qb||Y))&&r==h){if(!a){if(o&&!l){l=c;b.$OpenSlideshowPanel(c);k.$TriggerEvent(n.$EVT_SLIDESHOW_START,h,m,x,o,f)}y()}var d,i=n.$EVT_STATE_CHANGE;if(a==f){e==f&&b.$GoToPosition(g);return p.$GoForNextSlide()}else if(a==e)d=f;else if(a==g)d=e;else if(!a)d=g;else if(a>e){s=c;d=e;i=n.$EVT_ROLLBACK_START}else d=b.$GetPlayToPosition();k.$TriggerEvent(i,h,a,m,g,e,f);b.$PlayToPosition(d,A)}};b.$Abort=function(){z&&z.$Index==h&&z.$Clear();var a=b.$GetPosition_Display();a<f&&k.$TriggerEvent(n.$EVT_STATE_CHANGE,h,-a-1,m,g,e,f)};b.$OpenSlideshowPanel=function(b){q&&a.$SetStyleOverflow(gb,b&&q.$Transition.$Outside?"":"hidden")};b.$OnInnerOffsetChange=function(b,a){if(l&&a>=o){l=d;y();p.$UnhideContentForSlideshow();z.$Clear();k.$TriggerEvent(n.$EVT_SLIDESHOW_END,h,m,x,o,f)}k.$TriggerEvent(n.$EVT_PROGRESS_CHANGE,h,a,m,g,e,f)};b.$SetPlayer=function(a){if(a&&!w){w=a;a.$On($JssorPlayer$.$EVT_SWITCH,B)}};q&&b.$Chain(q);o=b.$GetPosition_OuterEnd();b.$GetPosition_OuterEnd();b.$Chain(v);g=v.$GetPosition_OuterEnd();e=g+i.$AutoPlayInterval;u.$Shift(e);b.$Combine(u);f=b.$GetPosition_OuterEnd()}function Tb(c,g){var f=w>0?w:i.$PlayOrientation,d=b.round(xb*g*(f&1)),e=b.round(yb*g*(f>>1&1));if(a.$IsBrowserIE()&&a.$GetBrowserVersion()>=10&&a.$GetBrowserVersion()<11)c.style.msTransform="translate("+d+"px, "+e+"px)";else if(a.$IsBrowserChrome()&&a.$GetBrowserVersion()>=30&&a.$GetBrowserVersion()<34){c.style.WebkitTransition="transform 0s";c.style.WebkitTransform="translate3d("+d+"px, "+e+"px, 0px) perspective(2000px)"}else{a.$SetStyleLeft(c,d);a.$SetStyleTop(c,e)}}function pc(a){T=0;!I&&mc()&&oc(a)}function oc(b){mb=P;H=c;wb=d;U=e;a.$AddEvent(f,kb,Wb);a.$GetNow();Fb=A.$GetPlayToPosition();A.$Stop();if(!mb)w=0;if(G){var h=b.touches[0];qb=h.clientX;rb=h.clientY}else{var g=a.$GetMousePosition(b);qb=g.x;rb=g.y;a.$CancelEvent(b)}E=0;bb=0;fb=0;D=x.$GetPosition();k.$TriggerEvent(n.$EVT_DRAG_START,u(D),D,b)}function Wb(e){if(H&&(!a.$IsBrowserIe9Earlier()||e.button)){var f;if(G){var n=e.touches;if(n&&n.length>0)f=new h(n[0].clientX,n[0].clientY)}else f=a.$GetMousePosition(e);if(f){var l=f.x-qb,m=f.y-rb;if(b.floor(D)!=D)w=w||i.$PlayOrientation&I;if((l||m)&&!w){if(I==3)if(b.abs(m)>b.abs(l))w=2;else w=1;else w=I;if(G&&w==1&&b.abs(m)-b.abs(l)>3)wb=c}if(w){var d=m,k=yb;if(w==1){d=l;k=xb}if(!(S&1)){if(d>0){var g=k*r,j=d-g;if(j>0)d=g+b.sqrt(j)*5}if(d<0){var g=k*(t-B-r),j=-d-g;if(j>0)d=-g-b.sqrt(j)*5}}if(E-bb<-2)fb=1;else if(E-bb>2)fb=0;bb=E;E=d;ob=D-E/k/(jb||1);if(E&&w&&!wb){a.$CancelEvent(e);if(!P)A.$StandBy(ob);else A.$SetStandByPosition(ob)}else a.$IsBrowserIe9Earlier()&&a.$CancelEvent(e)}}}else Bb(e)}function Bb(h){kc();if(H){H=d;a.$GetNow();a.$RemoveEvent(f,kb,Wb);T=E;T&&a.$CancelEvent(h);A.$Stop();var e=x.$GetPosition();k.$TriggerEvent(n.$EVT_DRAG_END,u(e),e,u(D),D,h);var c=b.floor(D);if(b.abs(E)>=i.$MinDragOffsetToSlide){c=b.floor(e);c+=fb}if(!(S&1))c=b.min(t-B,b.max(c,0));var g=b.abs(c-e);g=1-b.pow(1-g,5);if(!T&&mb)A.$Continue(Fb);else if(e==c){pb.$EnablePlayer();pb.$TryActivate()}else A.$PlayCarousel(e,c,g*Pb)}}function hc(a){C[r];r=u(a);pb=C[r];Ob(a);return r}function yc(a,b){w=0;hc(a);k.$TriggerEvent(n.$EVT_PARK,u(a),b)}function Ob(b,c){ub=b;a.$Each(N,function(a){a.$SetCurrentIndex(u(b),b,c)})}function mc(){var b=n.$DragRegistry||0,a=i.$DragOrientation;if(G)a&1&&(a&=1);n.$DragRegistry|=a;return I=a&~b}function kc(){if(I){n.$DragRegistry&=~i.$DragOrientation;I=0}}function Sb(){var b=a.$CreateDivElement();a.$SetStyles(b,R);a.$SetStylePosition(b,"absolute");return b}function u(a){return(a%t+t)%t}function ec(a,c){if(c)if(!S){a=b.min(b.max(a+ub,0),t-1);c=d}else if(S&2){a=u(a+ub);c=d}ab(a,i.$SlideDuration,c)}function vb(){a.$Each(N,function(a){a.$Show(a.$Options.$ChanceToShow>Y)})}function cc(b){b=a.$GetEvent(b);var c=b.target?b.target:b.srcElement,d=b.relatedTarget?b.relatedTarget:b.toElement;if(!a.$IsChild(o,c)||a.$IsChild(o,d))return;Y=1;vb();C[r].$TryActivate()}function bc(){Y=0;vb()}function dc(){R={$Width:O,$Height:M,$Top:0,$Left:0};a.$Each(W,function(b){a.$SetStyles(b,R);a.$SetStylePosition(b,"absolute");a.$SetStyleOverflow(b,"hidden");a.$HideElement(b)});a.$SetStyles(cb,R)}function hb(b,a){ab(b,a,c)}function ab(h,g,l){if(Lb&&(!H||i.$NaviQuitDrag)){P=c;H=d;A.$Stop();if(a.$IsUndefined(g))g=Pb;var f=Cb.$GetPosition_Display(),e=h;if(l){e=f+h;if(h>0)e=b.ceil(e);else e=b.floor(e)}if(!(S&1)){e=u(e);e=b.max(0,b.min(e,t-B))}var k=(e-f)%t;e=f+k;var j=f==e?0:g*b.abs(k);j=b.min(j,g*B*1.5);A.$PlayCarousel(f,e,j||1)}}k.$PlayTo=ab;k.$GoTo=function(a){ab(a,1)};k.$Next=function(){hb(1)};k.$Prev=function(){hb(-1)};k.$Pause=function(){Q=d};k.$Play=function(){if(!Q){Q=c;C[r]&&C[r].$TryActivate()}};k.$SetSlideshowTransitions=function(a){i.$SlideshowOptions.$Transitions=a};k.$SetCaptionTransitions=function(b){K.$CaptionTransitions=b;K.$Version=a.$GetNow()};k.$SlidesCount=function(){return W.length};k.$CurrentIndex=function(){return r};k.$IsAutoPlaying=function(){return Q};k.$IsDragging=function(){return H};k.$IsSliding=function(){return P};k.$IsMouseOver=function(){return!Y};k.$LastDragSucceded=function(){return T};k.$GetOriginalWidth=function(){return a.$GetStyleWidth(v||o)};k.$GetOriginalHeight=function(){return a.$GetStyleHeight(v||o)};k.$GetScaleWidth=function(){return a.$GetStyleWidth(o)};k.$GetScaleHeight=function(){return a.$GetStyleHeight(o)};k.$SetScaleWidth=function(c){if(!v){var b=a.$CloneNode(o,d);a.$RemoveAttribute(b,"id");a.$SetStylePosition(b,"relative");a.$SetStyleTop(b,0);a.$SetStyleLeft(b,0);a.$SetStyleOverflow(b,"visible");v=a.$CloneNode(o,d);a.$RemoveAttribute(v,"id");a.$SetStyleCssText(v,"");a.$SetStylePosition(v,"absolute");a.$SetStyleTop(v,0);a.$SetStyleLeft(v,0);a.$SetStyleWidth(v,a.$GetStyleWidth(o));a.$SetStyleHeight(v,a.$GetStyleHeight(o));a.$SetStyleTransformOrigin(v,"0 0");a.$AppendChild(v,b);var f=a.$GetChildren(o);a.$AppendChild(o,v);var e={navigator:X&&X.$Scale==d,arrowleft:J&&J.$Scale==d,arrowright:J&&J.$Scale==d,thumbnavigator:F&&F.$Scale==d,thumbwrapper:F&&F.$Scale==d};a.$Each(f,function(c){a.$AppendChild(e[a.$GetAttributeEx(c,"u")]?o:b,c)});a.$ShowElement(b);a.$ShowElement(v)}jb=c/a.$GetStyleWidth(v);a.$SetStyleScale(v,jb);a.$SetStyleWidth(o,c);a.$SetStyleHeight(o,jb*a.$GetStyleHeight(v));a.$Each(N,function(a){a.$Relocate()})};k.$GetVirtualIndex=function(a){var d=b.ceil(u(sb/Vb)),c=u(a-r+d);if(c>B){if(a-r>t/2)a-=t;else if(a-r<=-t/2)a+=t}else a=r+c-d;return a};m.call(this);k.$Elmt=o=a.$GetElement(o);var i=a.$Extend({$FillMode:0,$LazyLoading:1,$StartIndex:0,$AutoPlay:d,$Loop:1,$HWA:c,$NaviQuitDrag:c,$AutoPlaySteps:1,$AutoPlayInterval:3e3,$PauseOnHover:1,$SlideDuration:500,$SlideEasing:l.$EaseOutQuad,$MinDragOffsetToSlide:20,$SlideSpacing:0,$DisplayPieces:1,$ParkingPosition:0,$UISearchMode:1,$PlayOrientation:1,$DragOrientation:1},ac),eb=i.$SlideshowOptions,K=a.$Extend({$Class:s,$PlayInMode:1,$PlayOutMode:1},i.$CaptionSliderOptions),X=i.$BulletNavigatorOptions,J=i.$ArrowNavigatorOptions,F=i.$ThumbnailNavigatorOptions,V=i.$UISearchMode,v,y=a.$FindFirstChildByAttribute(o,"slides",e,V),cb=a.$FindFirstChildByAttribute(o,"loading",e,V)||a.$CreateDivElement(f),Hb=a.$FindFirstChildByAttribute(o,"navigator",e,V),Xb=a.$FindFirstChildByAttribute(o,"arrowleft",e,V),Ub=a.$FindFirstChildByAttribute(o,"arrowright",e,V),Eb=a.$FindFirstChildByAttribute(o,"thumbnavigator",e,V),gc=a.$GetStyleWidth(y),fc=a.$GetStyleHeight(y),R,W=[],qc=a.$GetChildren(y);a.$Each(qc,function(b){b.tagName=="DIV"&&!a.$GetAttributeEx(b,"u")&&W.push(b)});var r=-1,ub,pb,t=W.length,O=i.$SlideWidth||gc,M=i.$SlideHeight||fc,Rb=i.$SlideSpacing,xb=O+Rb,yb=M+Rb,Vb=i.$PlayOrientation==1?xb:yb,B=b.min(i.$DisplayPieces,t),gb,w,I,wb,G,N=[],Kb,Mb,Jb,Zb,xc,Q,Qb=i.$PauseOnHover,Pb=i.$SlideDuration,nb,db,sb,Lb=B<t,S=Lb?i.$Loop:0;if(!(S&1))i.$ParkingPosition=0;if(i.$DisplayPieces>1||i.$ParkingPosition)i.$DragOrientation&=i.$PlayOrientation;var nc=i.$DragOrientation,T,Y=1,P,H,U,qb=0,rb=0,E,bb,fb,Cb,x,Z,A,Nb=new jc,jb;Q=i.$AutoPlay;k.$Options=ac;dc();o["jssor-slider"]=c;a.$SetStyleZIndex(y,a.$GetStyleZIndex(y));a.$SetStylePosition(y,"absolute");gb=a.$CloneNode(y);a.$InsertBefore(a.$GetParentNode(y),gb,y);if(eb){Zb=eb.$ShowLink;nb=eb.$Class;db=B==1&&t>1&&nb&&(!a.$IsBrowserIE()||a.$GetBrowserVersion()>=8)}sb=db||B>=t?0:i.$ParkingPosition;var tb=y,C=[],z,L,Ab="mousedown",kb="mousemove",Db="mouseup",ib,D,mb,Fb,ob;if(g.navigator.msPointerEnabled){Ab="MSPointerDown";kb="MSPointerMove";Db="MSPointerUp";ib="MSPointerCancel";if(i.$DragOrientation){var zb="none";if(i.$DragOrientation==1)zb="pan-y";else if(i.$DragOrientation==2)zb="pan-x";a.$SetAttribute(tb.style,"-ms-touch-action",zb)}}else if("ontouchstart"in g||"createTouch"in f){G=c;Ab="touchstart";kb="touchmove";Db="touchend";ib="touchcancel"}Z=new uc;if(db)z=new nb(Nb,O,M,eb,G);a.$AppendChild(gb,Z.$Wrapper);a.$SetStyleOverflow(y,"hidden");L=Sb();a.$SetStyleBackgroundColor(L,"#000");a.$SetStyleOpacity(L,0);a.$InsertBefore(tb,L,tb.firstChild);for(var lb=0;lb<W.length;lb++){var sc=W[lb],Yb=new tc(sc,lb);C.push(Yb)}a.$HideElement(cb);Cb=new vc;A=new ic(Cb,Z);if(nc){a.$AddEvent(y,Ab,pc);a.$AddEvent(f,Db,Bb);ib&&a.$AddEvent(f,ib,Bb)}Qb&=G?2:1;if(Hb&&X){Kb=new X.$Class(Hb,X);N.push(Kb)}if(J&&Xb&&Ub){Mb=new J.$Class(Xb,Ub,J);N.push(Mb)}if(Eb&&F){F.$StartIndex=i.$StartIndex;Jb=new F.$Class(Eb,F);N.push(Jb)}a.$Each(N,function(a){a.$Reset(t,C,cb);a.$On(p.$NAVIGATIONREQUEST,ec)});k.$SetScaleWidth(k.$GetOriginalWidth());a.$AddEvent(o,"mouseout",cc);a.$AddEvent(o,"mouseover",bc);vb();i.$ArrowKeyNavigation&&a.$AddEvent(f,"keydown",function(a){if(a.keyCode==q.$LEFT)hb(-1);else a.keyCode==q.$RIGHT&&hb(1)});A.$PlayCarousel(i.$StartIndex,i.$StartIndex,0)}n.$EVT_CLICK=21;n.$EVT_DRAG_START=22;n.$EVT_DRAG_END=23;n.$EVT_SWIPE_START=24;n.$EVT_SWIPE_END=25;n.$EVT_LOAD_START=26;n.$EVT_LOAD_END=27;n.$EVT_POSITION_CHANGE=202;n.$EVT_PARK=203;n.$EVT_SLIDESHOW_START=206;n.$EVT_SLIDESHOW_END=207;n.$EVT_PROGRESS_CHANGE=208;n.$EVT_STATE_CHANGE=209;n.$EVT_ROLLBACK_START=210;n.$EVT_ROLLBACK_END=211;g.$JssorSlider$=r=n};var p={$NAVIGATIONREQUEST:1,$INDEXCHANGE:2,$RESET:3};g.$JssorBulletNavigator$=function(f,D){var h=this;m.call(h);f=a.$GetElement(f);var t,u,s,r,l=0,g,n,k,y,z,j,i,q,o,C=[],A=[];function x(a){a!=-1&&A[a].$Activate(a==l)}function v(a){h.$TriggerEvent(p.$NAVIGATIONREQUEST,a*n)}h.$Elmt=f;h.$GetCurrentIndex=function(){return r};h.$SetCurrentIndex=function(a){if(a!=r){var d=l,c=b.floor(a/n);l=c;r=a;x(d);x(c)}};h.$Show=function(b){a.$ShowElement(f,b)};var B;h.$Relocate=function(){if(!B||g.$Scale==d){g.$AutoCenter&1&&a.$SetStyleLeft(f,(a.$GetStyleWidth(a.$GetParentNode(f))-u)/2);g.$AutoCenter&2&&a.$SetStyleTop(f,(a.$GetStyleHeight(a.$GetParentNode(f))-s)/2);B=c}};var w;h.$Reset=function(D){if(!w){t=b.ceil(D/n);l=0;var p=q+y,r=o+z,m=b.ceil(t/k)-1;u=q+p*(!j?m:k-1);s=o+r*(j?m:k-1);a.$SetStyleWidth(f,u);a.$SetStyleHeight(f,s);for(var d=0;d<t;d++){var B=a.$CreateSpanElement();a.$SetInnerText(B,d+1);var h=a.$BuildElement(i,"NumberTemplate",B,c);a.$SetStylePosition(h,"absolute");var x=d%(m+1);a.$SetStyleLeft(h,!j?p*x:d%k*p);a.$SetStyleTop(h,j?r*x:b.floor(d/(m+1))*r);a.$AppendChild(f,h);C[d]=h;g.$ActionMode&1&&a.$AddEvent(h,"click",a.$CreateCallback(e,v,d));g.$ActionMode&2&&a.$AddEvent(h,"mouseover",a.$CreateCallback(e,v,d));A[d]=a.$Buttonize(h)}w=c}};h.$Options=g=a.$Extend({$SpacingX:0,$SpacingY:0,$Orientation:1,$ActionMode:1},D);i=a.$FindFirstChildByAttribute(f,"prototype");q=a.$GetStyleWidth(i);o=a.$GetStyleHeight(i);a.$RemoveChild(f,i);n=g.$Steps||1;k=g.$Lanes||1;y=g.$SpacingX;z=g.$SpacingY;j=g.$Orientation-1};g.$JssorArrowNavigator$=function(b,g,s){var f=this;m.call(f);var i,h,j,q=a.$GetParentNode(b),o=a.$GetStyleWidth(b),l=a.$GetStyleHeight(b);function k(a){f.$TriggerEvent(p.$NAVIGATIONREQUEST,a,c)}f.$GetCurrentIndex=function(){return i};f.$SetCurrentIndex=function(b,a,c){if(c)i=a;else i=b};f.$Show=function(c){a.$ShowElement(b,c);a.$ShowElement(g,c)};var r;f.$Relocate=function(){if(!r||h.$Scale==d){var f=a.$GetStyleWidth(q),e=a.$GetStyleHeight(q);if(h.$AutoCenter&1){a.$SetStyleLeft(b,(f-o)/2);a.$SetStyleLeft(g,(f-o)/2)}if(h.$AutoCenter&2){a.$SetStyleTop(b,(e-l)/2);a.$SetStyleTop(g,(e-l)/2)}r=c}};var n;f.$Reset=function(d){i=0;if(!n){a.$AddEvent(b,"click",a.$CreateCallback(e,k,-j));a.$AddEvent(g,"click",a.$CreateCallback(e,k,j));a.$Buttonize(b);a.$Buttonize(g);n=c}};f.$Options=h=a.$Extend({$Steps:1},s);j=h.$Steps};g.$JssorThumbnailNavigator$=function(i,A){var h=this,x,l,e,u=[],y,w,f,n,o,t,s,k,q,g,j;m.call(h);i=a.$GetElement(i);function z(n,d){var g=this,b,m,k;function o(){m.$Activate(l==d)}function i(){if(!q.$LastDragSucceded()){var a=(f-d%f)%f,b=q.$GetVirtualIndex((d+a)/f),c=b*f-a;h.$TriggerEvent(p.$NAVIGATIONREQUEST,c)}}g.$Index=d;g.$Highlight=o;k=n.$Thumb||n.$Image||a.$CreateDivElement();g.$Wrapper=b=a.$BuildElement(j,"ThumbnailTemplate",k,c);m=a.$Buttonize(b);e.$ActionMode&1&&a.$AddEvent(b,"click",i);e.$ActionMode&2&&a.$AddEvent(b,"mouseover",i)}h.$GetCurrentIndex=function(){return l};h.$SetCurrentIndex=function(c,d,e){var a=l;l=c;a!=-1&&u[a].$Highlight();u[c].$Highlight();!e&&q.$PlayTo(q.$GetVirtualIndex(b.floor(d/f)))};h.$Show=function(b){a.$ShowElement(i,b)};h.$Relocate=a.$EmptyFunction;var v;h.$Reset=function(F,D){if(!v){x=F;b.ceil(x/f);l=-1;k=b.min(k,D.length);var h=e.$Orientation&1,p=t+(t+n)*(f-1)*(1-h),m=s+(s+o)*(f-1)*h,C=p+(p+n)*(k-1)*h,A=m+(m+o)*(k-1)*(1-h);a.$SetStylePosition(g,"absolute");a.$SetStyleOverflow(g,"hidden");e.$AutoCenter&1&&a.$SetStyleLeft(g,(y-C)/2);e.$AutoCenter&2&&a.$SetStyleTop(g,(w-A)/2);a.$SetStyleWidth(g,C);a.$SetStyleHeight(g,A);var j=[];a.$Each(D,function(l,e){var i=new z(l,e),d=i.$Wrapper,c=b.floor(e/f),k=e%f;a.$SetStyleLeft(d,(t+n)*k*(1-h));a.$SetStyleTop(d,(s+o)*k*h);if(!j[c]){j[c]=a.$CreateDivElement();a.$AppendChild(g,j[c])}a.$AppendChild(j[c],d);u.push(i)});var E=a.$Extend({$AutoPlay:d,$NaviQuitDrag:d,$SlideWidth:p,$SlideHeight:m,$SlideSpacing:n*h+o*(1-h),$MinDragOffsetToSlide:12,$SlideDuration:200,$PauseOnHover:1,$PlayOrientation:e.$Orientation,$DragOrientation:e.$DisableDrag?0:e.$Orientation},e);q=new r(i,E);v=c}};h.$Options=e=a.$Extend({$SpacingX:3,$SpacingY:3,$DisplayPieces:1,$Orientation:1,$AutoCenter:3,$ActionMode:1},A);y=a.$GetStyleWidth(i);w=a.$GetStyleHeight(i);g=a.$FindFirstChildByAttribute(i,"slides");j=a.$FindFirstChildByAttribute(g,"prototype");a.$RemoveChild(g,j);f=e.$Lanes||1;n=e.$SpacingX;o=e.$SpacingY;t=a.$GetStyleWidth(j);s=a.$GetStyleHeight(j);k=e.$DisplayPieces};function s(){j.call(this,0,0);this.$Revert=a.$EmptyFunction}g.$JssorCaptionSlider$=function(p,k,g){var d=this,h,f=k.$CaptionTransitions,o={$Transition:"t",$Delay:"d",$Duration:"du",$ScaleHorizontal:"x",$ScaleVertical:"y",$Rotate:"r",$Zoom:"z",$Opacity:"f",$BeginTime:"b"},e={$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)}};e.$Zoom=e.$Opacity;j.call(d,0,0);function m(r,n){var l=[],i,j=[],c=[];function h(c,d){var b={};a.$Each(o,function(g,h){var e=a.$GetAttributeEx(c,g+(d||""));if(e){var f={};if(g=="t")f.$Value=e;else if(e.indexOf("%")+1)f.$Percent=a.$ParseFloat(e)/100;else f.$Value=a.$ParseFloat(e);b[h]=f}});return b}function p(){return f[b.floor(b.random()*f.length)]}function d(g){var h;if(g=="*")h=p();else if(g){var e=f[a.$ParseInt(g)]||f[g];if(a.$IsArray(e)){if(g!=i){i=g;c[g]=0;j[g]=e[b.floor(b.random()*e.length)]}else c[g]++;e=j[g];if(a.$IsArray(e)){e=e.length&&e[c[g]%e.length];if(a.$IsArray(e))e=e[b.floor(b.random()*e.length)]}}h=e;if(a.$IsString(h))h=d(h)}return h}var q=a.$GetChildren(r);a.$Each(q,function(b){var c=[];c.$Elmt=b;var f=a.$GetAttributeEx(b,"u")=="caption";a.$Each(g?[0,3]:[2],function(o,p){if(f){var l,i;if(o!=2||!a.$GetAttributeEx(b,"t3")){i=h(b,o);if(o==2&&!i.$Transition){i.$Delay=i.$Delay||{$Value:0};i=a.$Extend(h(b,0),i)}}if(i&&i.$Transition){l=d(i.$Transition.$Value);if(l){var j=a.$Extend({$Delay:0,$ScaleHorizontal:1,$ScaleVertical:1},l);a.$Each(i,function(c,a){var b=(e[a]||e.$Default).apply(e,[j[a],i[a]]);if(!isNaN(b))j[a]=b});if(!p)if(i.$BeginTime)j.$BeginTime=i.$BeginTime.$Value||0;else if((g?k.$PlayInMode:k.$PlayOutMode)&2)j.$BeginTime=0}}c.push(j)}if(n%2&&!p)c.$Children=m(b,n+1)});l.push(c)});return l}function n(E,d,F){var h={$Easing:d.$Easing,$Round:d.$Round,$During:d.$During,$Reverse:g&&!F,$Optimize:c},k=E,y=a.$GetParentNode(E),o=a.$GetStyleWidth(k),n=a.$GetStyleHeight(k),u=a.$GetStyleWidth(y),t=a.$GetStyleHeight(y),f={},l={},m=d.$ScaleClip||1;if(d.$Opacity)f.$Opacity=2-d.$Opacity;h.$OriginalWidth=o;h.$OriginalHeight=n;if(d.$Zoom||d.$Rotate){f.$Zoom=d.$Zoom?d.$Zoom-1:1;if(a.$IsBrowserIe9Earlier()||a.$IsBrowserOpera())f.$Zoom=b.min(f.$Zoom,2);l.$Zoom=1;var s=d.$Rotate||0;if(s==c)s=1;f.$Rotate=s*360;l.$Rotate=0}else if(d.$Clip){var z={$Top:0,$Right:o,$Bottom:n,$Left:0},D=a.$Extend({},z),e=D.$Offset={},C=d.$Clip&4,v=d.$Clip&8,A=d.$Clip&1,x=d.$Clip&2;if(C&&v){e.$Top=n/2*m;e.$Bottom=-e.$Top}else if(C)e.$Bottom=-n*m;else if(v)e.$Top=n*m;if(A&&x){e.$Left=o/2*m;e.$Right=-e.$Left}else if(A)e.$Right=-o*m;else if(x)e.$Left=o*m;h.$Move=d.$Move;f.$Clip=D;l.$Clip=z}var p=d.$FlyDirection,q=0,r=0,w=d.$ScaleHorizontal,B=d.$ScaleVertical;if(i.$IsToLeft(p))q-=u*w;else if(i.$IsToRight(p))q+=u*w;if(i.$IsToTop(p))r-=t*B;else if(i.$IsToBottom(p))r+=t*B;if(q||r||h.$Move){f.$Left=q+a.$GetStyleLeft(k);f.$Top=r+a.$GetStyleTop(k)}var G=d.$Duration;l=a.$Extend(l,a.$GetStyles(k,f));h.$Setter=a.$GetStyleSetterEx();return new j(d.$Delay,G,h,k,l,f)}function l(b,c){a.$Each(c,function(c){var f,i=c.$Elmt,e=c[0],j=c[1];if(e){f=n(i,e);b=f.$Locate(a.$IsUndefined(e.$BeginTime)?b:e.$BeginTime,1)}b=l(b,c.$Children);if(j){var g=n(i,j,1);g.$Locate(b,1);d.$Combine(g);h.$Combine(g)}f&&d.$Combine(f)});return b}d.$Revert=function(){d.$GoToPosition(d.$GetPosition_OuterEnd()*(g||0));h.$GoToBegin()};h=new j(0,0);l(0,m(p,1))}})(window,document,Math,null,true,false)