!function(t){var i=t;i._N2=i._N2||{_r:[],_d:[],r:function(){this._r.push(arguments)},d:function(){this._d.push(arguments)}};var s,h=t.document,n=(h.documentElement,t.setTimeout),r=t.clearTimeout,a=i._N2,o=(t.requestAnimationFrame,Object.assign),c=function(t,i){t.classList.add(i)},f=function(t,i,s,h){h=h||{},t.addEventListener(i,s,h)};navigator.userAgent.indexOf("+http://www.google.com/bot.html")>-1||i.requestIdleCallback,i.cancelIdleCallback;!function(t){if("complete"===h.readyState||"interactive"===h.readyState)t();else if(Document&&Document.prototype&&Document.prototype.addEventListener&&Document.prototype.addEventListener!==h.addEventListener){const i=()=>{t(),t=()=>{}};h.addEventListener("DOMContentLoaded",i),h.addEventListener("readystatechange",(()=>{"complete"!==h.readyState&&"interactive"!==h.readyState||i()})),Document.prototype.addEventListener.call(h,"DOMContentLoaded",i)}else h.addEventListener("DOMContentLoaded",t)}((function(){h.body})),a.d("SmartSliderShowcase",["SmartSliderAbstract"],(function(){function t(t,i){this.type="showcase",a.SmartSliderAbstract.prototype.constructor.call(this,t,o({carousel:1},i))}return t.prototype=Object.create(a.SmartSliderAbstract.prototype),t.prototype.constructor=t,t.prototype.initResponsiveMode=function(){this.responsive=new a.SmartSliderResponsiveShowcase(this,this.parameters.responsive),this.responsive.start(),a.SmartSliderAbstract.prototype.initResponsiveMode.call(this)},t.prototype.initMainAnimation=function(){this.mainAnimation=new a.SmartSliderMainAnimationShowcase(this,this.parameters.showcase)},t.prototype.updateInsideSlides=function(t){for(var i=[],s=Math.floor(this.mainAnimation.slidesInGroup/2),h=0;h<t.length;h++){i.push(t[h]);for(var n=t[h],r=t[h],o=0;o<s&&(n=n.getPrevious());o++)i.push(n);for(o=0;o<s&&(r=r.getNext());o++)i.push(r)}a.SmartSliderAbstract.prototype.updateInsideSlides.call(this,i)},t.prototype.getVisibleSlides=function(t){t===s&&(t=this.currentSlide);var i=[t],h=Math.floor(this.mainAnimation.slidesInGroup/2);if(h>0)for(var n=t.getPrevious(),r=t.getNext(),a=0;a<h;a++)n&&(i.unshift(n),n=n.getPrevious()),r&&(i.push(r),r=r.getNext());return i},t.prototype.getActiveSlides=function(t){return t===s&&(t=this.currentSlide),[t]},t.prototype.getSlideBackgroundContainer=function(){return this.sliderElement.querySelector(".n2-ss-slider-2")},t.prototype.getAnimationAxis=function(){return"vertical"===this.mainAnimation.parameters.direction?"vertical":"horizontal"},t.prototype.getHorizontalTouchDimension=function(){return this.responsive.resizeContext.slideWidth+this.mainAnimation.parameters.distance},t.prototype.getVerticalTouchDimension=function(){return this.responsive.resizeContext.slideHeight+this.mainAnimation.parameters.distance},t})),a.d("SmartSliderResponsiveShowcase",["SmartSliderResponsive"],(function(){function t(t){this.mainAnimation=t.mainAnimation,a.SmartSliderResponsive.prototype.constructor.apply(this,arguments)}return t.prototype=Object.create(a.SmartSliderResponsive.prototype),t.prototype.constructor=t,t.prototype.init=function(){a.SmartSliderResponsive.prototype.init.call(this),this._cacheEl={slider:this.sliderElement.querySelector(".n2-ss-slider-wrapper-inside")||this.sliderElement,"n2-ss-slider-3":this.sliderElement.querySelector(".n2-ss-slider-3"),"n2-ss-showcase-slides":this.sliderElement.querySelector(".n2-ss-showcase-slides")},f(this._cacheEl["n2-ss-slider-3"],"scroll",(function(e){e.currentTarget.scrollTop=0,e.currentTarget.scrollLeft=0}),{capture:!0})},t.prototype.onStarterSlide=function(t){a.SmartSliderResponsive.prototype.onStarterSlide.apply(this,arguments),this.mainAnimation.afterCalculateResponsiveValues()},t.prototype.resizeStage1Width=function(){a.SmartSliderResponsive.prototype.resizeStage1Width.call(this),c(this._cacheEl["n2-ss-showcase-slides"],"n2-ss-showcase-slides--ready")},t.prototype.calculateResponsiveValues=function(){var t=this.slider.visibleRealSlides[0].element;this.resizeContext.slideSelfWidth=t.offsetWidth,this.resizeContext.slideSelfHeight=t.offsetHeight;var i=this._cacheEl["n2-ss-showcase-slides"].getBoundingClientRect();i.width<this.base.slideWidth?this.resizeContext.slideWidth=i.width:this.resizeContext.slideWidth=this.base.slideWidth,this.resizeContext.slideHeight=i.height;var s=this._cacheEl.slider.getBoundingClientRect();this.resizeContext.sliderWidth=s.width,this.resizeContext.sliderHeight=s.height;var h=this._cacheEl["n2-ss-slider-3"].getBoundingClientRect();this.resizeContext.slideContainerWidth=h.width,this.resizeContext.slideContainerHeight=h.height,a.SmartSliderResponsive.prototype.calculateResponsiveValues.call(this),this.state.StarterSlide&&this.mainAnimation.afterCalculateResponsiveValues()},t.prototype.updateVisibleSlides=function(){a.SmartSliderResponsive.prototype.updateVisibleSlides.call(this),this.mainAnimation.onVisibleRealSlidesChanged()},t})),a.d("SmartSliderMainAnimationShowcase",["SmartSliderMainAnimationAbstract"],(function(){function t(t,i){a.SmartSliderMainAnimationAbstract.prototype.constructor.call(this,t,o({direction:"horizontal",distance:60,animate:{},duration:1500,ease:"easeInOutQuint",carousel:t.parameters.carousel},i)),this.showcase={before:{},active:{},after:{}},this.directionModifier=1,"vertical"!==this.parameters.direction&&n2const.isRTL()&&(this.directionModifier=-1);var h=this.parameters.animate;for(var n in h)if(h[n]){switch(n){case"rotationY":case"rotationX":!0,!0;break;case"scale":!0}this.showcase.before[n]=h[n].before,t.parameters.admin||(this.showcase.active[n]=h[n].active),this.showcase.after[n]=h[n].after}-1===this.directionModifier&&(this.showcase.before.x!==s&&0!=this.showcase.before.x&&(this.showcase.before.x=-1*this.showcase.before.x),this.showcase.active.x!==s&&0!=this.showcase.active.x&&(this.showcase.active.x=-1*this.showcase.active.x),this.showcase.after.x!==s&&0!=this.showcase.after.x&&(this.showcase.after.x=-1*this.showcase.after.x),this.showcase.before.rotationZ!==s&&0!=this.showcase.before.rotationZ&&(this.showcase.before.rotationZ=-1*this.showcase.before.rotationZ),this.showcase.active.rotationZ!==s&&0!=this.showcase.active.rotationZ&&(this.showcase.active.rotationZ=-1*this.showcase.active.rotationZ),this.showcase.after.rotationZ!==s&&0!=this.showcase.after.rotationZ&&(this.showcase.after.rotationZ=-1*this.showcase.after.rotationZ),this.showcase.before.rotationY!==s&&0!=this.showcase.before.rotationY&&(this.showcase.before.rotationY=-1*this.showcase.before.rotationY),this.showcase.active.rotationY!==s&&0!=this.showcase.active.rotationY&&(this.showcase.active.rotationY=-1*this.showcase.active.rotationY),this.showcase.after.rotationY!==s&&0!=this.showcase.after.rotationY&&(this.showcase.after.rotationY=-1*this.showcase.after.rotationY)),1==this.parameters.overlay&&this.slider.sliderElement.querySelectorAll(".n2-ss-showcase-overlay").forEach(function(t,i){f(t,"click",function(t){a._shouldPreventClick||this.slider.changeTo(t)}.bind(this,i))}.bind(this))}return t.prototype=Object.create(a.SmartSliderMainAnimationAbstract.prototype),t.prototype.constructor=t,t.prototype.onVisibleRealSlidesChanged=function(){this.slides=o([],this.slider.visibleRealSlides);for(var t=0;t<this.slides.length;t++)this.slides[t].localIndex=t},t.prototype.calculateSlidesInGroup=function(){var t,i=this.slider.responsive.resizeContext,s=0;if("vertical"===this.parameters.direction){var h=this.parameters.animate.y;h&&(s=h.before+-1*h.after),t=2*Math.ceil((i.slideContainerHeight-i.slideHeight+s)/(i.slideHeight+this.parameters.distance)/2)+1}else{var n=this.parameters.animate.x;n&&(s=n.before+-1*n.after),t=2*Math.ceil((i.slideContainerWidth-i.slideWidth+s)/(i.slideWidth+this.parameters.distance)/2)+1}this.slidesInGroup=Math.max(1,t)},t.prototype.afterCalculateResponsiveValues=function(){this.calculateSlidesInGroup(),this.parameters.carousel?this.prepareCarousel(this.slider.currentSlide):this.calibratePipelinePosition()},t.prototype.prepareCarousel=function(t){if(this.slides.length>this.slidesInGroup){var i,s,h,n=t.localIndex;if(n<this.slider.currentSlide.localIndex?(i=Math.abs(n-this.slider.currentSlide.localIndex),s=this.slider.currentSlide.localIndex-this.slides.length+2+n):(i=Math.max(0,n-this.slider.currentSlide.localIndex),s=Math.max(0,this.slides.length-n+this.slider.currentSlide.localIndex)),n<Math.floor(this.slidesInGroup/2))for(h=0;h<Math.floor(this.slidesInGroup/2)-n;h++)this.slides.unshift(this.slides.pop());else if(s>=i)for(;n>this.slides.length-this.slidesInGroup;){var r=this.slides.splice(0,1);this.slides.push(r[0]),n--}else for(h=0;h<s;h++)this.slides.unshift(this.slides.pop())}for(h=0;h<this.slides.length;h++)this.slides[h].localIndex=h;this.calibratePipelinePosition()},t.prototype.calibratePipelinePosition=function(){var t,i,h=this.slider.responsive.resizeContext,n=this.slides,r=this.slider.currentSlide.localIndex,c=h.slideWidth,f=h.slideHeight;"horizontal"===this.parameters.direction?(t=c+this.parameters.distance,i="x"):"vertical"===this.parameters.direction&&(t=f+this.parameters.distance,i="y"),t*=this.directionModifier;for(var u,l=100,v=0;v<r;v++)(u=o({},this.showcase.before))[i]===s&&(u[i]=0),u[i]+=(v-r)*t,u[i]=Math.round(u[i]),u.zIndex=++l,a.MW.I(n[v].element).setValues(u);for((u=o({},this.showcase.active))[i]===s&&(u[i]=0),u[i]+=(v-r)*t,u[i]=Math.round(u[i]),u.zIndex=++l,a.MW.I(n[v].element).setValues(u),v++;v<n.length;v++)(u=o({},this.showcase.after))[i]===s&&(u[i]=0),u[i]+=(v-r)*t,u[i]=Math.round(u[i]),u.zIndex=--l,a.MW.I(n[v].element).setValues(u)},t.prototype._initAnimation=function(t,i,h){var n=this.slider.responsive.resizeContext;this.parameters.carousel&&this.prepareCarousel(i);var r=i.localIndex;t.unsetActive(),i.setActive();var c,f,u=this.slides;if("horizontal"===this.parameters.direction)f="x",c=n.slideWidth+this.parameters.distance;else if("vertical"===this.parameters.direction){f="y",c=n.slideHeight+this.parameters.distance}c*=this.directionModifier;var l,v=100,d={};n2const.isFirefox&&(d.snap="x,y"),this.showcase.before.ease=this.showcase.after.ease=this.showcase.active.ease=this.getEase();for(var S=0;S<r;S++){(m=o({},d,this.showcase.before))[f]===s&&(m[f]=0),m[f]+=(S-r)*c,m[f]=Math.round(m[f]),(l=a.MW.I(u[S].element)).zIndex=++v,this.timeline.to(l,this.parameters.duration,m,0)}for((m=o({},d,this.showcase.active))[f]===s&&(m[f]=0),m[f]+=(S-r)*c,m[f]=Math.round(m[f]),(l=a.MW.I(u[S].element)).zIndex=++v,this.timeline.to(l,this.parameters.duration,m,0),S++;S<u.length;S++){var m;(m=o({},d,this.showcase.after))[f]===s&&(m[f]=0),m[f]+=(S-r)*c,m[f]=Math.round(m[f]),(l=a.MW.I(u[S].element)).zIndex=--v,this.timeline.to(l,this.parameters.duration,m,0)}this.slider.updateInsideSlides([t,i])},t.prototype.revertTo=function(t,i){a.SmartSliderMainAnimationAbstract.prototype.revertTo.apply(this,arguments);for(var s=this.slides,h=100,n=0;n<s.length&&s[n]!==this.slider.currentRealSlide;n++)a.MW.I(s[n].element).zIndex=++h;for(a.MW.I(s[n].element).zIndex=++h,n++;n<s.length;n++)a.MW.I(s[n].element).zIndex=--h},t})),a.d("ss-showcase",["SmartSliderShowcase","SmartSliderResponsiveShowcase","SmartSliderMainAnimationShowcase"])}(window);