1(function(){var e=this;e.N2_=e.N2_||{r:[],d:[]},e.N2R=e.N2R||function(){e.N2_.r.push(arguments)},e.N2D=e.N2D||function(){e.N2_.d.push(arguments)}}).call(window),N2D("SmartSliderCarousel",["SmartSliderAbstract"],function(e,i){function t(i,t){this.type="carousel",this.slidesInGroup=1,N2Classes.SmartSliderAbstract.prototype.constructor.call(this,i,e.extend({maxPaneWidth:3e3},t))}return t.prototype=Object.create(N2Classes.SmartSliderAbstract.prototype),t.prototype.constructor=t,t.prototype.initResponsiveMode=function(){this.responsive=new N2Classes.SmartSliderResponsiveCarousel(this,this.parameters.responsive),this.responsive.start(),N2Classes.SmartSliderAbstract.prototype.initResponsiveMode.call(this)},t.prototype.initMainAnimation=function(){this.mainAnimation=new N2Classes.SmartSliderMainAnimationCarousel(this,this.parameters.mainanimation),this.isAdmin||this.sliderElement.one("SliderResize",e.proxy(function(){this.parameters.layerMode.playFirstLayer&&this.visible(function(){this.ready(e.proxy(function(){this.parameters.layerMode.playFirstLayer?this.currentSlide.playIn():this.currentSlide.playSpecialEventOnly()},this))})},this)),this.pJS=!1,this.parameters.particlejs&&N2R("particlesJS",e.proxy(function(){this.startParticleJS(this.parameters.particlejs)},this))},t.prototype.__initSlides=function(){var e=this.sliderElement.find(".n2-ss-slide-group");this.slides=[];for(var t=0;t<e.length;t++)this.slides.push(new N2Classes.FrontendCarouselGroupOfSlides(this,e.eq(t),t));this.realSlides=[];for(var t=0;t<this.slides.length;t++){var s=new N2Classes.FrontendSliderSlide(this,this.slides[t].getRealSlide(),this.slides[t].originalIndex);s.index=this.slides[t].index,this.realSlides.push(s),s.init(),this.slides[t].addSlide(s),1==s.$element.data("first")&&(this.starterSlide=s)}this.starterSlide==i&&(this.starterSlide=this.realSlides[0]),this.$slidesContainer=this.slides[0].$element.parent(),this.randomize(this.realSlides);var n=this.sliderElement.find(".n2-ss-static-slide");n.length&&(this.staticSlide=new N2Classes.FrontendSliderStaticSlide(this,n))},t.prototype.shuffleSlides=function(e){e.sort(function(){return.5-Math.random()});for(var i=[],t=0;t<e.length;t++){var s=e[t];i[t]=this.slides[s.originalIndex],i[t].$element.appendTo(this.$slidesContainer),s.group=i[t],i[t].setIndex(t)}this.slides=i,this.isShuffled=!0},t.prototype.startCurrentSlideIndex=function(){this.currentRealSlide=this.starterSlide,this.currentSlide=this.currentRealSlide.group,this.setActiveSlide(this.currentSlide)},t.prototype.onFirstSlideInitialized=function(){for(var i=0;i<this.slides.length;i++)this.slides[i].setNext(this.slides[i+1>this.slides.length-1?0:i+1]);N2Classes.SmartSliderAbstract.prototype.onFirstSlideInitialized.call(this),this.mainAnimation.hideNonActiveSlides(this.currentSlide),parseInt(this.parameters.carousel)?this.initCarousel():this.initNotCarousel(),this.sliderElement.on("SliderResize",e.proxy(this.responsive.onSliderResize,this.responsive)),this.responsive.onSliderResize()},t.prototype.setSlidesInGroup=function(e){this.slidesInGroup=e},t.prototype.calibrateGroup=function(){var i=this.currentSlide.slides,t=e.extend([],this.slides);this.slides=[];for(var s=0,n=0;s<this.realSlides.length;s++)s%this.slidesInGroup===0&&(this.slides.push(new N2Classes.FrontendCarouselGroupOfSlides(this,e('<div class="n2-ss-slide-group"></div>').appendTo(this.$slidesContainer),n)),n++),this.slides[n-1].addSlide(this.realSlides[s]);for(var s=0;s<this.slides.length;s++)this.slides[s].setNext(this.slides[s+1>this.slides.length-1?0:s+1]);for(var s=0;s<t.length;s++)t[s].destroy();if(this.currentSlide=i[0].group,this.isAdmin)this.currentSlide=this.currentRealSlide.group;else if("resolved"==this.readyDeferred.state()){for(var r=this.currentSlide.slides.slice(),s=0;s<i.length;s++)for(var n=0;n<r.length;n++)r[n]==i[s]&&(i.splice(s,s+1),s--,r.splice(n,n+1),n--);for(var s=0;s<i.length;s++)i[s].reset();for(var s=0;s<r.length;s++)r[s].playIn()}this.mainAnimation.hideNonActiveSlides(this.currentSlide),this.setActiveSlide(this.currentSlide),this.ready(e.proxy(function(){this.sliderElement.trigger("slideCountChanged",[this.slides.length,this.slidesInGroup]),this.sliderElement.trigger("sliderSwitchTo",[this.currentSlide.index,this.getRealIndex(this.currentSlide.index)])},this)),this.backgrounds.onVisibleSlidesChanged()},t.prototype.getRealIndex=function(e){return e*this.slidesInGroup},t.prototype.getSlideIndex=function(e){return Math.floor(e/this.slidesInGroup)},t.prototype.directionalChangeToReal=function(e){this.directionalChangeTo(this.getSlideIndex(e))}
1,t.prototype.getSlideBackgroundContainer=function(){return this.sliderElement.find(".n2-ss-slider-2")},t}),N2D("SmartSliderResponsiveCarousel",["SmartSliderResponsive"],function(e,i){function t(i,t){this.slidesInGroup=0,this.maximumPaneWidthRatio=0,this.wH=0,N2Classes.SmartSliderResponsive.prototype.constructor.call(this,i,e.extend({minimumSlideGap:10},t))}return t.prototype=Object.create(N2Classes.SmartSliderResponsive.prototype),t.prototype.constructor=t,t.prototype.storeDefaults=function(){N2Classes.SmartSliderResponsive.prototype.storeDefaults.apply(this,arguments),this.slider.parameters.maxPaneWidth>0&&(this.maximumPaneWidthRatio=this.slider.parameters.maxPaneWidth/this.responsiveDimensions.startWidth)},t.prototype.init=function(){this.sliderElement.find(".n2-ss-section-main-content").length&&(this.updateVerticalRatios=this._updateVerticalRatios),this._sliderHorizontal=this.addHorizontalElement(this.sliderElement,["width","marginRight","marginLeft"],"w","slider"),this._sliderVertical=this.addVerticalElement(this.sliderElement,["marginTop","marginBottom"],"h"),this.addHorizontalElement(this.sliderElement,["fontSize"],"fontRatio","slider"),this.addVerticalElement(this.sliderElement.find(".n2-ss-slider-1"),["height"],"h","slider"),this.addHorizontalElement(this.sliderElement.find(".n2-ss-slider-2"),["width","paddingLeft","paddingRight","borderLeftWidth","borderRightWidth"],"w"),this.addVerticalElement(this.sliderElement.find(".n2-ss-slider-2"),["height","paddingTop","paddingBottom","borderTopWidth","borderBottomWidth"],"h"),this.addHorizontalElement(this.sliderElement.find(".n2-ss-slider-pane"),["width"],"paneW","pane"),this.addVerticalElement(this.sliderElement.find(".n2-ss-slider-pane"),["height"],"h","pane").setCentered(),this.addHorizontalElement(this.sliderElement.find(".n2-ss-slide"),["width"],"slideW","slideouter"),this.addVerticalElement(this.sliderElement.find(".n2-ss-slide"),["height"],"slideH","slideouter"),this.addHorizontalElement(this.sliderElement.find(".n2-ss-layers-container"),["width"],"slideW","slide"),this.addVerticalElement(this.sliderElement.find(".n2-ss-layers-container"),["height"],"slideH","slide").setCentered()},t.prototype._buildRatios=function(i,t,s){this.maximumPaneWidthRatio>0&&i.w>this.maximumPaneWidthRatio?i.paneW=this.maximumPaneWidthRatio:i.paneW=i.w;var n=this.responsiveDimensions.startWidth*i.paneW;if(n<this.responsiveDimensions.startSlideWidth){var r=n/this.responsiveDimensions.startSlideWidth;i.h=r,i.slideW=r,i.slideH=r}else i.h=1,i.slideW=1,i.slideH=1;var l=this.getDeviceModeOrientation();if(this.parameters.minimumHeightRatio>0&&(i.h=Math.max(i.h,this.parameters.minimumHeightRatio)),this.parameters.maximumHeightRatio[l]>0&&(i.h=Math.min(i.h,this.parameters.maximumHeightRatio[l])),this.slider.parameters.dynamicSliderHeight){var o=e(window).height()-100;Math.abs(this.wH-o)<100?o=this.wH:this.wH=o,i.h*this.responsiveDimensions.startHeight>o&&(i.slideW=i.slideH=o/this.responsiveDimensions.startHeight,"fullpage"!=this.parameters.type&&(i.h=i.slideW))}this.slidesInGroup=Math.max(1,Math.floor(n/(this.responsiveDimensions.startSlideWidth*i.slideW+this.parameters.minimumSlideGap))),this.sliderElement.triggerHandler("responsiveBuildRatios",[i])},t.prototype.onSliderResize=function(){this.slidesInGroup!=this.slider.slidesInGroup&&(this.slider.setSlidesInGroup(this.slidesInGroup),this.slider.calibrateGroup());for(var e=Math.floor((this.responsiveDimensions.pane.width-this.responsiveDimensions.slide.width*this.slider.slidesInGroup)/this.slider.slidesInGroup/2),i=0;i<this.slider.realSlides.length;i++)this.slider.realSlides[i].$element.css({marginLeft:e,marginRight:e,marginTop:parseInt((this.responsiveDimensions.pane.height-this.responsiveDimensions.slide.height)/2)});var t=this.slider.getRealIndex(this.slider.slides.length-1),s=this.slider.realSlides.length-t;if(s!=this.slider.slidesInGroup)for(var e=Math.floor((this.responsiveDimensions.pane.width-this.responsiveDimensions.slide.width*s)/s/2),i=t;i<this.slider.realSlides.length;i++)this.slider.realSlides[i].$element.css({marginLeft:e,marginRight:e})},t}),N2D("SmartSliderMainAnimationCarousel",["SmartSliderMainAnimationAbstract"],function(e,i){function t(i,t){switch(t=e.extend({delay:0,type:"horizontal"},t),t.delay/=1e3,N2Classes.SmartSliderMainAnimationAbstract.prototype.constructor.apply(this,arguments),this.parameters.type){case"fade":this.animation=this._mainAnimationFade;break;case"vertical":this.animation=this._mainAnimationVertical;break;case"no":this.animation=this._mainAnimationNo;break;default:this.animation=this._mainAnimationHorizontal}}return t.prototype=Object.create(N2Classes.SmartSliderMainAnimationAbstract.prototype),t.prototype.constructor=t,t.prototype.setToStarterSlide=function(e){var i=e.$element.parent().data("slide");this.hideNonActiveSlides(i),this.slider.setActiveSlide(i)},t.prototype.hideNonActiveSlides=function(e){for(var i=0;i<this.slider.slides.length;i++)this.slider.slides[i]!=e&&this.hideSlide(this.slider.slides[i])},t.prototype.hideSlide=function(e){window.n2const.isRTL()?NextendTween.set(e.$element,{right:"-100000px"}):NextendTween.set(e.$element,{left:"-100000px"})},t.prototype.showSlide=function(e){window.n2const.isRTL()?NextendTween.set(e.$element,{right:0}):NextendTween.set(e.$element,{left:0})},t.prototype._initAnimation=function(e,i,t){this.animation(e,i,t)},t.prototype.onChangeToComplete=function(e,i,t){this.hideSlide(e),N2Classes.SmartSliderMainAnimationAbstract.prototype.onChangeToComplete.apply(this,arguments)},t.prototype._mainAnimationNo=function(i,t,s){this.showSlide(t),this.slider.unsetActiveSlide(i),t.$element.css("opacity",0),this.slider.setActiveSlide(t),this.timeline.set(i.$element,{opacity:0}
1,0),this.timeline.set(t.$element,{opacity:1},0),this.sliderElement.on("mainAnimationComplete.n2-carousel",e.proxy(function(e,i,t,s){this.sliderElement.off("mainAnimationComplete.n2-carousel"),this.slider.slides[t].$element.css("opacity",""),this.slider.slides[s].$element.css("opacity","")},this))},t.prototype._mainAnimationFade=function(i,t,s){i.$element.css("zIndex",5),this.showSlide(t),this.slider.unsetActiveSlide(i),this.slider.setActiveSlide(t),this.timeline.to(i.$element,this.parameters.duration,{opacity:0,ease:this.getEase()},0),t.$element.css("opacity",""),this.sliderElement.on("mainAnimationComplete.n2-carousel",e.proxy(function(e,i,t,s){this.sliderElement.off("mainAnimationComplete.n2-carousel"),this.slider.slides[t].$element.css("zIndex","").css("opacity",""),this.slider.slides[s].$element.css("opacity","")},this))},t.prototype._mainAnimationHorizontal=function(e,i,t){this.__mainAnimationDirection(e,i,"horizontal",t)},t.prototype._mainAnimationVertical=function(e,i,t){this.showSlide(i),this.__mainAnimationDirection(e,i,"vertical",t)},t.prototype.__mainAnimationDirection=function(i,t,s,n){var r="",l=0;"horizontal"==s?(r=window.n2const.isRTL()?"right":"left",l=i.$element.width()):"vertical"==s&&(r="top",l=i.$element.height()),n&&(l*=-1),t.$element.css(r,l),t.$element.css("zIndex",5),i.$element.css("zIndex",4),this.slider.unsetActiveSlide(i),this.slider.setActiveSlide(t);var o={ease:this.getEase()};o[r]=0,this.timeline.to(t.$element,this.parameters.duration,o,0);var a={ease:this.getEase()};a[r]=-l,this.timeline.to(i.$element,this.parameters.duration,a,0),this.sliderElement.on("mainAnimationComplete.n2-carousel",e.proxy(function(e,i,t,s){this.sliderElement.off("mainAnimationComplete.n2-carousel"),this.slider.slides[s].$element.css("zIndex","").css(r,""),this.slider.slides[t].$element.css("zIndex","")},this))},t}),N2D("FrontendCarouselGroupOfSlides",function(e,i){function t(e,i,t){this.slider=e,this.slides=[],this.originalIndex=t,this.index=t,this.$element=i.data("slide",this)}return t.prototype.is=function(e){if(this===e)return!0;for(var i=0;i<this.slides.length;i++)if(this.slides[i]===e)return!0;return!1},t.prototype.addSlide=function(e){this.slides.push(e),this.$element.append(e.$element),e.group=this},t.prototype.trigger=function(){this.$element.trigger.apply(this.$element,[].slice.call(arguments))},t.prototype.triggerHandler=function(){return this.$element.triggerHandler.apply(this.$element,[].slice.call(arguments))},t.prototype.playIn=function(){for(var e=0;e<this.slides.length;e++)this.slides[e].playIn()},t.prototype.playSpecialEventOnly=function(){for(var e=0;e<this.slides.length;e++)this.slides[e].playSpecialEventOnly()},t.prototype.suspend=function(){for(var e=0;e<this.slides.length;e++)this.slides[e].suspend()},t.prototype.onOutAnimationsPlayed=function(){for(var e=0;e<this.slides.length;e++)this.slides[e].onOutAnimationsPlayed()},t.prototype.reset=function(){for(var e=0;e<this.slides.length;e++)this.slides[e].reset()},t.prototype.getRealSlide=function(){return this.$element.find("> .n2-ss-slide")},t.prototype.destroy=function(){this.$element.remove()},t.prototype.setIndex=function(e){this.localIndex=this.index=e;for(var i=0;i<this.slides.length;i++)this.slides[i].setIndex(e)},t.prototype.preLoad=function(){for(var i=[],t=0;t<this.slides.length;t++)i.push(this.slides[t].preLoad());return e.when.apply(e,i)},t.prototype.setPrevious=function(e){this.previousSlide=e},t.prototype.setNext=function(e){this.nextSlide=e,e.setPrevious(this)},t.prototype.playOut=function(){for(var e=0;e<this.slides.length;e++)this.slides[e].playOut()},t.prototype.getTitle=function(){return this.slides[0].getTitle()},t.prototype.getDescription=function(){return this.slides[0].getDescription()},t.prototype.getThumbnail=function(){return this.slides[0].getThumbnail()},t.prototype.hasLink=function(){return!1},t}),N2D("smartslider-carousel-type-frontend");
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.