(()=>{(function(a,u,z){u.extend(u.easing,{xEaseIsotope:i=>1-(1-i)*(1-i)}),u.fn.extend({xIsotopeOuterHeight:function(...i){return this.outerHeight(...i)||null},xIsotopeOuterWidth:function(...i){return this.outerWidth(...i)||null}});var h=a.document,_=h.documentElement,v=function(i){return i.charAt(0).toUpperCase()+i.slice(1)},m="Moz Webkit O Ms".split(" "),k=function(i){var n=_.style,o;if(typeof n[i]=="string")return i;i=v(i);for(var r=0,d=m.length;rg?1:f0&&(f=function(b,T){T.$el[o](T.style,r).one(c,S)},g=!1)}}u.each(this.styleQueue,f),g&&S(),this.styleQueue=[]},resize:function(){this["_"+this.options.layoutMode+"ResizeChanged"]()&&this.reLayout()},reLayout:function(i){this["_"+this.options.layoutMode+"Reset"](),this.layout(this.$filteredAtoms,i)},addItems:function(i,n){var o=this._getAtoms(i);this.$allAtoms=this.$allAtoms.add(o),n&&n(o)},insert:function(i,n){this.element.append(i);var o=this;this.addItems(i,function(r){var d=o._filter(r);o._addHideAppended(d),o._sort(),o.reLayout(),o._revealAppended(d,n)})},appended:function(i,n){var o=this;this.addItems(i,function(r){o._addHideAppended(r),o.layout(r),o._revealAppended(r,n)})},_addHideAppended:function(i){this.$filteredAtoms=this.$filteredAtoms.add(i),i.addClass("no-transition"),this._isInserting=!0,this.styleQueue.push({$el:i,style:this.options.hiddenStyle})},_revealAppended:function(i,n){var o=this;setTimeout(function(){i.removeClass("no-transition"),o.styleQueue.push({$el:i,style:o.options.visibleStyle}),o._isInserting=!1,o._processStyleQueue(i,n)},10)},reloadItems:function(){this.$allAtoms=this._getAtoms(this.element.children())},remove:function(i,n){this.$allAtoms=this.$allAtoms.not(i),this.$filteredAtoms=this.$filteredAtoms.not(i);var o=this,r=function(){i.remove(),n&&n.call(o.element)};i.filter(":not(."+this.options.hiddenClass+")").length?(this.styleQueue.push({$el:i,style:this.options.hiddenStyle}),this._sort(),this.reLayout(r)):r()},shuffle:function(i){this.updateSortData(this.$allAtoms),this.options.sortBy="random",this._sort(),this.reLayout(i)},destroy:function(){var i=this.usingTransforms,n=this.options;this.$allAtoms.removeClass(n.hiddenClass+" "+n.itemClass).each(function(){var d=this.style;d.position="",d.top="",d.left="",d.opacity="",i&&(d[t]="")});var o=this.element[0].style;for(var r in this.originalStyle)o[r]=this.originalStyle[r];this.element.unbind(".isotope").undelegate("."+n.hiddenClass,"click").removeClass(n.containerClass).removeData("isotope"),M.unbind(".isotope")},_getSegments:function(i){var n=this.options.layoutMode,o=i?"rowHeight":"columnWidth",r=i?"height":"width",d=i?"rows":"cols",y=this.element[r](),f,g=this.options[n]&&this.options[n][o]||this.$filteredAtoms["outer"+v(r)](!0)||y;f=Math.floor(y/g),f=Math.max(f,1),this[n][d]=f,this[n][o]=g},_checkIfSegmentsChanged:function(i){var n=this.options.layoutMode,o=i?"rows":"cols",r=this[n][o];return this._getSegments(i),this[n][o]!==r},_masonryReset:function(){this.masonry={},this._getSegments();var i=this.masonry.cols;for(this.masonry.colYs=[];i--;)this.masonry.colYs.push(0)},_masonryLayout:function(i){var n=this,o=n.masonry;i.each(function(){var r=u(this),d=Math.ceil(r.xIsotopeOuterWidth(!0)/o.columnWidth);if(d=Math.min(d,o.cols),d===1)n._masonryPlaceBrick(r,o.colYs);else{var y=o.cols+1-d,f=[],g,S;for(S=0;So&&(r.x=0,r.y=r.height),n._pushPosition(d,r.x,r.y),r.height=Math.max(r.y+f,r.height),r.x+=y})},_fitRowsGetContainerSize:function(){return{height:this.fitRows.height}},_fitRowsResizeChanged:function(){return!0},_cellsByRowReset:function(){this.cellsByRow={index:0},this._getSegments(),this._getSegments(!0)},_cellsByRowLayout:function(i){var n=this,o=this.cellsByRow;i.each(function(){var r=u(this),d=o.index%o.cols,y=Math.floor(o.index/o.cols),f=(d+.5)*o.columnWidth-r.xIsotopeOuterWidth(!0)/2,g=(y+.5)*o.rowHeight-r.xIsotopeOuterHeight(!0)/2;n._pushPosition(r,f,g),o.index++})},_cellsByRowGetContainerSize:function(){return{height:Math.ceil(this.$filteredAtoms.length/this.cellsByRow.cols)*this.cellsByRow.rowHeight+this.offset.top}},_cellsByRowResizeChanged:function(){return this._checkIfSegmentsChanged()},_straightDownReset:function(){this.straightDown={y:0}},_straightDownLayout:function(i){var n=this;i.each(function(o){var r=u(this);n._pushPosition(r,0,n.straightDown.y),n.straightDown.y+=r.xIsotopeOuterHeight(!0)})},_straightDownGetContainerSize:function(){return{height:this.straightDown.y}},_straightDownResizeChanged:function(){return!0},_masonryHorizontalReset:function(){this.masonryHorizontal={},this._getSegments(!0);var i=this.masonryHorizontal.rows;for(this.masonryHorizontal.rowXs=[];i--;)this.masonryHorizontal.rowXs.push(0)},_masonryHorizontalLayout:function(i){var n=this,o=n.masonryHorizontal;i.each(function(){var r=u(this),d=Math.ceil(r.xIsotopeOuterHeight(!0)/o.rowHeight);if(d=Math.min(d,o.rows),d===1)n._masonryHorizontalPlaceBrick(r,o.rowXs);else{var y=o.rows+1-d,f=[],g,S;for(S=0;So&&(r.x=r.width,r.y=0),n._pushPosition(d,r.x,r.y),r.width=Math.max(r.x+y,r.width),r.y+=f})},_fitColumnsGetContainerSize:function(){return{width:this.fitColumns.width}},_fitColumnsResizeChanged:function(){return!0},_cellsByColumnReset:function(){this.cellsByColumn={index:0},this._getSegments(),this._getSegments(!0)},_cellsByColumnLayout:function(i){var n=this,o=this.cellsByColumn;i.each(function(){var r=u(this),d=Math.floor(o.index/o.rows),y=o.index%o.rows,f=(d+.5)*o.columnWidth-r.xIsotopeOuterWidth(!0)/2,g=(y+.5)*o.rowHeight-r.xIsotopeOuterHeight(!0)/2;n._pushPosition(r,f,g),o.index++})},_cellsByColumnGetContainerSize:function(){return{width:Math.ceil(this.$filteredAtoms.length/this.cellsByColumn.rows)*this.cellsByColumn.columnWidth}},_cellsByColumnResizeChanged:function(){return this._checkIfSegmentsChanged(!0)},_straightAcrossReset:function(){this.straightAcross={x:0}},_straightAcrossLayout:function(i){var n=this;i.each(function(o){var r=u(this);n._pushPosition(r,n.straightAcross.x,0),n.straightAcross.x+=r.xIsotopeOuterWidth(!0)})},_straightAcrossGetContainerSize:function(){return{width:this.straightAcross.x}},_straightAcrossResizeChanged:function(){return!0}};var $=function(i){a.console&&a.console.error(i)};u.fn.xIsotope=function(i,n){if(typeof i=="string"){var o=Array.prototype.slice.call(arguments,1);this.each(function(){var r=u.data(this,"isotope");if(!r){$("cannot call methods on isotope prior to initialization; attempted to call method '"+i+"'");return}if(!u.isFunction(r[i])||i.charAt(0)==="_"){$("no such method '"+i+"' for isotope instance");return}r[i].apply(r,o)})}else this.each(function(){var r=u.data(this,"isotope");r?(r.option(i),r._init(n)):u.data(this,"isotope",new u.xIsotope(i,this,n))});return this},u(()=>{u("body").on("click",".x-iso-container .flex-direction-nav a",()=>{setTimeout(()=>{u(a).xsmartresize()},750)}),u("body.x-masonry-active").on("keyup",i=>{switch(i.key){case"ArrowDown":case"ArrowUp":case"ArrowLeft":case"ArrowRight":setTimeout(()=>{u(a).xsmartresize()},750);break}})})})(window,jQuery);(function(a){"use strict";typeof define=="function"&&define.amd?define(["jquery"],a):a(jQuery)})(function(a){var _,v,m,k;"use strict";let u=((v=(_=window.xJsData)==null?void 0:_.icons)==null?void 0:v.previous)||"",z=((k=(m=window.xJsData)==null?void 0:m.icons)==null?void 0:k.next)||"";var h=function(){var t=0;function e(s,l){var c=this,w,p;if(c.defaults={accessibility:!0,arrows:!0,autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(A,x){return'"},dots:!1,draggable:!0,easing:"linear",fade:!1,infinite:!0,lazyLoad:"ondemand",onBeforeChange:null,onAfterChange:null,onInit:null,onReInit:null,pauseOnHover:!0,responsive:null,slide:"div",slidesToShow:1,slidesToScroll:1,speed:300,swipe:!0,touchMove:!0,touchThreshold:5,useCSS:!0,vertical:!1},c.initials={animating:!1,autoPlayTimer:null,currentSlide:0,currentLeft:null,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,$list:null,touchObject:{},transformsEnabled:!1},a.extend(c,c.initials),c.activeBreakpoint=null,c.animType=null,c.animProp=null,c.breakpoints=[],c.breakpointSettings=[],c.cssTransitions=!1,c.paused=!1,c.positionProp=null,c.$slider=a(s),c.$slidesCache=null,c.transformType=null,c.transitionType=null,c.windowWidth=0,c.windowTimer=null,c.options=a.extend({},c.defaults,l),c.originalSettings=c.options,w=c.options.responsive||null,w&&w.length>-1){for(p in w)w.hasOwnProperty(p)&&(c.breakpoints.push(w[p].breakpoint),c.breakpointSettings[w[p].breakpoint]=w[p].settings);c.breakpoints.sort(function(A,x){return x-A})}c.autoPlay=a.proxy(c.autoPlay,c),c.autoPlayClear=a.proxy(c.autoPlayClear,c),c.changeSlide=a.proxy(c.changeSlide,c),c.setPosition=a.proxy(c.setPosition,c),c.swipeHandler=a.proxy(c.swipeHandler,c),c.dragHandler=a.proxy(c.dragHandler,c),c.keyHandler=a.proxy(c.keyHandler,c),c.autoPlayIterator=a.proxy(c.autoPlayIterator,c),c.instanceUid=t++,c.init()}return e}();h.prototype.addSlide=function(t,e,s){var l=this;if(typeof e=="boolean")s=e,e=null;else if(e<0||e>=l.slideCount)return!1;l.unload(),typeof e=="number"?e===0&&l.$slides.length===0?a(t).appendTo(l.$slideTrack):s?a(t).insertBefore(l.$slides.eq(e)):a(t).insertAfter(l.$slides.eq(e)):s===!0?a(t).prependTo(l.$slideTrack):a(t).appendTo(l.$slideTrack),l.$slides=l.$slideTrack.children(this.options.slide),l.$slideTrack.children(this.options.slide).remove(),l.$slideTrack.append(l.$slides),l.$slidesCache=l.$slides,l.reinit()},h.prototype.animateSlide=function(t,e){var s={},l=this;l.transformsEnabled===!1?l.options.vertical===!1?l.$slideTrack.animate({left:t},l.options.speed,l.options.easing,e):l.$slideTrack.animate({top:t},l.options.speed,l.options.easing,e):l.cssTransitions===!1?a({animStart:l.currentLeft}).animate({animStart:t},{duration:l.options.speed,easing:l.options.easing,step:function(c){l.options.vertical===!1?(s[l.animType]="translate("+c+"px, 0px)",l.$slideTrack.css(s)):(s[l.animType]="translate(0px,"+c+"px)",l.$slideTrack.css(s))},complete:function(){e&&e.call()}}):(l.applyTransition(),l.options.vertical===!1?s[l.animType]="translate3d("+t+"px, 0px, 0px)":s[l.animType]="translate3d(0px,"+t+"px, 0px)",l.$slideTrack.css(s),e&&setTimeout(function(){l.disableTransition(),e.call()},l.options.speed))},h.prototype.applyTransition=function(t){var e=this,s={};e.options.fade===!1?s[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:s[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase,e.options.fade===!1?e.$slideTrack.css(s):e.$slides.eq(t).css(s)},h.prototype.autoPlay=function(){var t=this;t.autoPlayTimer&&clearInterval(t.autoPlayTimer),t.slideCount>t.options.slidesToShow&&t.paused!==!0&&(t.autoPlayTimer=setInterval(t.autoPlayIterator,t.options.autoplaySpeed))},h.prototype.autoPlayClear=function(){var t=this;t.autoPlayTimer&&clearInterval(t.autoPlayTimer)},h.prototype.autoPlayIterator=function(){var t=this;t.options.infinite===!1?t.direction===1?(t.currentSlide+1===t.slideCount-1&&(t.direction=0),t.slideHandler(t.currentSlide+t.options.slidesToScroll)):(t.currentSlide-1===0&&(t.direction=1),t.slideHandler(t.currentSlide-t.options.slidesToScroll)):t.slideHandler(t.currentSlide+t.options.slidesToScroll)},h.prototype.buildArrows=function(){var t=this;t.options.arrows===!0&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow=a(``).appendTo(t.$slider),t.$nextArrow=a(``).appendTo(t.$slider),t.options.infinite!==!0&&t.$prevArrow.addClass("slick-disabled"))},h.prototype.buildDots=function(){var t=this,e,s;if(t.options.dots===!0&&t.slideCount>t.options.slidesToShow){for(s='
    ',e=0;e<=t.getDotCount();e+=1)s+="
  • "+t.options.customPaging.call(this,t,e)+"
  • ";s+="
",t.$dots=a(s).appendTo(t.$slider),t.$dots.find("li").first().addClass("slick-active")}},h.prototype.buildOut=function(){var t=this;t.$slides=t.$slider.children(t.options.slide+":not(.slick-cloned)").addClass("slick-slide"),t.slideCount=t.$slides.length,t.$slidesCache=t.$slides,t.$slider.addClass("slick-slider"),t.$slideTrack=t.slideCount===0?a('
').appendTo(t.$slider):t.$slides.wrapAll('
').parent(),t.$list=t.$slideTrack.wrap('
').parent(),t.$slideTrack.css("opacity",0),t.options.centerMode===!0&&(t.options.infinite=!0,t.options.slidesToScroll=1,t.options.slidesToShow%2===0&&(t.options.slidesToShow=3)),a("img[data-lazy]",t.$slider).not("[src]").addClass("slick-loading"),t.setupInfinite(),t.buildArrows(),t.buildDots(),t.options.accessibility===!0&&t.$list.prop("tabIndex",0),t.setSlideClasses(0),t.options.draggable===!0&&t.$list.addClass("draggable")},h.prototype.checkResponsive=function(){var t=this,e,s;if(t.originalSettings.responsive&&t.originalSettings.responsive.length>-1&&t.originalSettings.responsive!==null){s=null;for(e in t.breakpoints)t.breakpoints.hasOwnProperty(e)&&a(window).width()e.options.slidesToShow&&(e.slideOffset=e.slideWidth*e.options.slidesToShow*-1,c=l*e.options.slidesToShow*-1),e.slideCount%e.options.slidesToScroll!==0&&t+e.options.slidesToScroll>e.slideCount&&e.slideCount>e.options.slidesToShow&&(e.slideOffset=e.slideCount%e.options.slidesToShow*e.slideWidth*-1,c=e.slideCount%e.options.slidesToShow*l*-1)):e.slideCount%e.options.slidesToShow!==0&&t+e.options.slidesToScroll>e.slideCount&&e.slideCount>e.options.slidesToShow&&(e.slideOffset=e.options.slidesToShow*e.slideWidth-e.slideCount%e.options.slidesToShow*e.slideWidth,c=e.slideCount%e.options.slidesToShow*l),e.options.centerMode===!0&&(e.slideOffset+=e.slideWidth*Math.floor(e.options.slidesToShow/2)-e.slideWidth),e.options.vertical===!1?s=t*e.slideWidth*-1+e.slideOffset:s=t*l*-1+c,s},h.prototype.init=function(){var t=this;a(t.$slider).hasClass("slick-initialized")||(a(t.$slider).addClass("slick-initialized"),t.buildOut(),t.setProps(),t.startLoad(),t.loadSlider(),t.initializeEvents(),t.checkResponsive()),t.options.onInit!==null&&t.options.onInit.call(this,t)},h.prototype.initArrowEvents=function(){var t=this;t.options.arrows===!0&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.on("click.slick",{message:"previous"},t.changeSlide),t.$nextArrow.on("click.slick",{message:"next"},t.changeSlide))},h.prototype.initDotEvents=function(){var t=this;t.options.dots===!0&&t.slideCount>t.options.slidesToShow&&a("li",t.$dots).on("click.slick",{message:"index"},t.changeSlide)},h.prototype.initializeEvents=function(){var t=this;t.initArrowEvents(),t.initDotEvents(),t.$list.on("touchstart.slick mousedown.slick",{action:"start"},t.swipeHandler),t.$list.on("touchmove.slick mousemove.slick",{action:"move"},t.swipeHandler),t.$list.on("touchend.slick mouseup.slick",{action:"end"},t.swipeHandler),t.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},t.swipeHandler),t.options.pauseOnHover===!0&&t.options.autoplay===!0&&(t.$list.on("mouseenter.slick",t.autoPlayClear),t.$list.on("mouseleave.slick",t.autoPlay)),t.options.accessibility===!0&&t.$list.on("keydown.slick",t.keyHandler),a(window).on("orientationchange.slick.slick-"+t.instanceUid,function(){t.checkResponsive(),t.setPosition()}),a(window).on("resize.slick.slick-"+t.instanceUid,function(){a(window).width!==t.windowWidth&&(clearTimeout(t.windowDelay),t.windowDelay=window.setTimeout(function(){t.windowWidth=a(window).width(),t.checkResponsive(),t.setPosition()},50))}),a(window).on("load.slick.slick-"+t.instanceUid,t.setPosition)},h.prototype.initUI=function(){var t=this;t.options.arrows===!0&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.show(),t.$nextArrow.show()),t.options.dots===!0&&t.slideCount>t.options.slidesToShow&&t.$dots.show(),t.options.autoplay===!0&&t.autoPlay()},h.prototype.keyHandler=function(t){var e=this;t.keyCode===37?e.changeSlide({data:{message:"previous"}}):t.keyCode===39&&e.changeSlide({data:{message:"next"}})},h.prototype.lazyLoad=function(){var t=this,e,s,l,c;t.options.centerMode===!0?(l=t.options.slidesToShow+t.currentSlide-1,c=l+t.options.slidesToShow+2):(l=t.options.infinite?t.options.slidesToShow+t.currentSlide:t.currentSlide,c=l+t.options.slidesToShow),e=t.$slider.find(".slick-slide").slice(l,c),a("img[data-lazy]",e).not("[src]").each(function(){a(this).css({opacity:0}).attr("src",a(this).attr("data-lazy")).removeClass("slick-loading").on("load",function(){a(this).animate({opacity:1},200)})}),t.currentSlide>=t.slideCount-t.options.slidesToShow?(s=t.$slider.find(".slick-cloned").slice(0,t.options.slidesToShow),a("img[data-lazy]",s).not("[src]").each(function(){a(this).css({opacity:0}).attr("src",a(this).attr("data-lazy")).removeClass("slick-loading").on("load",function(){a(this).animate({opacity:1},200)})})):t.currentSlide===0&&(s=t.$slider.find(".slick-cloned").slice(t.options.slidesToShow*-1),a("img[data-lazy]",s).not("[src]").each(function(){a(this).css({opacity:0}).attr("src",a(this).attr("data-lazy")).removeClass("slick-loading").on("load",function(){a(this).animate({opacity:1},200)})}))},h.prototype.loadSlider=function(){var t=this;t.setPosition(),t.$slideTrack.css({opacity:1}),t.$slider.removeClass("slick-loading"),t.initUI(),t.options.lazyLoad==="progressive"&&t.progressiveLazyLoad()},h.prototype.postSlide=function(t){var e=this;e.options.onAfterChange!==null&&e.options.onAfterChange.call(this,e,t),e.animating=!1,e.setPosition(),e.swipeLeft=null,e.options.autoplay===!0&&e.paused===!1&&e.autoPlay()},h.prototype.progressiveLazyLoad=function(){var t=this,e,s;e=a("img[data-lazy]").not("[src]").length,e>0&&(s=a(a("img[data-lazy]",t.$slider).not("[src]").get(0)),s.attr("src",s.attr("data-lazy")).removeClass("slick-loading").on("load",function(){t.progressiveLazyLoad()}))},h.prototype.refresh=function(){var t=this;t.destroy(),a.extend(t,t.initials),t.init()},h.prototype.reinit=function(){var t=this;t.$slides=t.$slideTrack.children(t.options.slide).addClass("slick-slide"),t.slideCount=t.$slides.length,t.currentSlide>=t.slideCount&&t.currentSlide!==0&&(t.currentSlide=t.currentSlide-t.options.slidesToScroll),t.setProps(),t.setupInfinite(),t.buildArrows(),t.updateArrows(),t.initArrowEvents(),t.buildDots(),t.updateDots(),t.initDotEvents(),t.setSlideClasses(0),t.setPosition(),t.options.onReInit!==null&&t.options.onReInit.call(this,t)},h.prototype.removeSlide=function(t,e){var s=this;if(typeof t=="boolean"?(e=t,t=e===!0?0:s.slideCount-1):t=e===!0?--t:t,s.slideCount<1||t<0||t>s.slideCount-1)return!1;s.unload(),s.$slideTrack.children(this.options.slide).eq(t).remove(),s.$slides=s.$slideTrack.children(this.options.slide),s.$slideTrack.children(this.options.slide).remove(),s.$slideTrack.append(s.$slides),s.$slidesCache=s.$slides,s.reinit()},h.prototype.setCSS=function(t){var e=this,s={},l,c;l=e.positionProp=="left"?t+"px":"0px",c=e.positionProp=="top"?t+"px":"0px",s[e.positionProp]=t,e.transformsEnabled===!1?e.$slideTrack.css(s):(s={},e.cssTransitions===!1?(s[e.animType]="translate("+l+", "+c+")",e.$slideTrack.css(s)):(s[e.animType]="translate3d("+l+", "+c+", 0px)",e.$slideTrack.css(s)))},h.prototype.setDimensions=function(){var t=this;t.options.centerMode===!0,t.$slideTrack.children(".slick-slide").width(t.slideWidth),t.options.vertical===!1?(t.$slideTrack.width(Math.ceil(t.slideWidth*t.$slideTrack.children(".slick-slide").length)),t.options.centerMode===!0&&t.$list.css({padding:"0px "+t.options.centerPadding})):(t.$list.height((t.$slides.first().outerHeight()||0)*t.options.slidesToShow),t.$slideTrack.height(Math.ceil((t.$slides.first().outerHeight()||0)*t.$slideTrack.children(".slick-slide").length)),t.options.centerMode===!0&&t.$list.css({padding:t.options.centerPadding+" 0px"}))},h.prototype.setFade=function(){var t=this,e;t.$slides.each(function(s,l){e=t.slideWidth*s*-1,a(l).css({position:"relative",left:e,top:0,zIndex:800,opacity:0})}),t.$slides.eq(t.currentSlide).css({zIndex:900,opacity:1})},h.prototype.setPosition=function(){var t=this;t.setValues(),t.setDimensions(),t.options.fade===!1?t.setCSS(t.getLeft(t.currentSlide)):t.setFade()},h.prototype.setProps=function(){var t=this;t.positionProp=t.options.vertical===!0?"top":"left",t.positionProp==="top"?t.$slider.addClass("slick-vertical"):t.$slider.removeClass("slick-vertical"),(document.body.style.WebkitTransition!==void 0||document.body.style.MozTransition!==void 0||document.body.style.msTransition!==void 0)&&t.options.useCSS===!0&&(t.cssTransitions=!0),document.body.style.MozTransform!==void 0&&(t.animType="MozTransform",t.transformType="-moz-transform",t.transitionType="MozTransition"),document.body.style.webkitTransform!==void 0&&(t.animType="webkitTransform",t.transformType="-webkit-transform",t.transitionType="webkitTransition"),document.body.style.msTransform!==void 0&&(t.animType="transform",t.transformType="transform",t.transitionType="transition"),t.transformsEnabled=t.animType!==null},h.prototype.setValues=function(){var t=this;t.listWidth=t.$list.width(),t.listHeight=t.$list.height(),t.options.vertical===!1?t.slideWidth=Math.ceil(t.listWidth/t.options.slidesToShow):t.slideWidth=Math.ceil(t.listWidth)},h.prototype.setSlideClasses=function(t){var e=this,s,l,c;e.$slider.find(".slick-slide").removeClass("slick-active").removeClass("slick-center"),l=e.$slider.find(".slick-slide"),e.options.centerMode===!0?(s=Math.floor(e.options.slidesToShow/2),t>=s&&t<=e.slideCount-1-s?e.$slides.slice(t-s,t+s+1).addClass("slick-active"):(c=e.options.slidesToShow+t,l.slice(c-s+1,c+s+2).addClass("slick-active")),t===0?l.eq(l.length-1-e.options.slidesToShow).addClass("slick-center"):t===e.slideCount-1&&l.eq(e.options.slidesToShow).addClass("slick-center"),e.$slides.eq(t).addClass("slick-center")):t>0&&tt.options.slidesToShow)){for(t.options.centerMode===!0?l=t.options.slidesToShow+1:l=t.options.slidesToShow,e=t.slideCount;e>t.slideCount-l;e-=1)s=e-1,a(t.$slides[s]).clone().attr("id","").prependTo(t.$slideTrack).addClass("slick-cloned");for(e=0;ep.slideCount-p.options.slidesToShow+c))return p.options.fade===!1&&(e=p.currentSlide,p.animateSlide(l,function(){p.postSlide(e)})),!1;if(p.options.autoplay===!0&&clearInterval(p.autoPlayTimer),e<0?p.slideCount%p.options.slidesToScroll!==0?s=p.slideCount-p.slideCount%p.options.slidesToScroll:s=p.slideCount-p.options.slidesToScroll:e>p.slideCount-1?s=0:s=e,p.animating=!0,p.options.onBeforeChange!==null&&t!==p.currentSlide&&p.options.onBeforeChange.call(this,p,p.currentSlide,s),p.currentSlide=s,p.setSlideClasses(p.currentSlide),p.updateDots(),p.updateArrows(),p.options.fade===!0)return p.fadeSlide(s,function(){p.postSlide(s)}),!1;p.animateSlide(w,function(){p.postSlide(s)})},h.prototype.startLoad=function(){var t=this;t.options.arrows===!0&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.hide(),t.$nextArrow.hide()),t.options.dots===!0&&t.slideCount>t.options.slidesToShow&&t.$dots.hide(),t.$slider.addClass("slick-loading")},h.prototype.swipeDirection=function(){var t,e,s,l,c=this;return t=c.touchObject.startX-c.touchObject.curX,e=c.touchObject.startY-c.touchObject.curY,s=Math.atan2(e,t),l=Math.round(s*180/Math.PI),l<0&&(l=360-Math.abs(l)),l<=45&&l>=0||l<=360&&l>=315?"left":l>=135&&l<=225?"right":"vertical"},h.prototype.swipeEnd=function(t){var e=this;if(e.$list.removeClass("dragging"),e.touchObject.curX===void 0)return!1;if(e.touchObject.swipeLength>=e.touchObject.minSwipe)switch(a(t.target).on("click.slick",function(s){s.stopImmediatePropagation(),s.stopPropagation(),s.preventDefault(),a(s.target).off("click.slick")}),e.swipeDirection()){case"left":e.slideHandler(e.currentSlide+e.options.slidesToScroll),e.touchObject={};break;case"right":e.slideHandler(e.currentSlide-e.options.slidesToScroll),e.touchObject={};break}else e.touchObject.startX!==e.touchObject.curX&&(e.slideHandler(e.currentSlide),e.touchObject={})},h.prototype.swipeHandler=function(t){var e=this;if("ontouchend"in document&&e.options.swipe===!1)return!1;if(e.options.draggable===!1&&!t.originalEvent.touches)return!0;switch(e.touchObject.fingerCount=t.originalEvent&&t.originalEvent.touches!==void 0?t.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,t.data.action){case"start":e.swipeStart(t);break;case"move":e.swipeMove(t);break;case"end":e.swipeEnd(t);break}},h.prototype.swipeMove=function(t){var e=this,s,l,c,w;if(w=t.originalEvent!==void 0?t.originalEvent.touches:null,s=e.getLeft(e.currentSlide),!e.$list.hasClass("dragging")||w&&w.length!==1)return!1;if(e.touchObject.curX=w!==void 0?w[0].pageX:t.clientX,e.touchObject.curY=w!==void 0?w[0].pageY:t.clientY,e.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(e.touchObject.curX-e.touchObject.startX,2))),l=e.swipeDirection(),l!=="vertical"){if(t.originalEvent!==void 0&&e.touchObject.swipeLength>4&&t.preventDefault(),c=e.touchObject.curX>e.touchObject.startX?1:-1,e.options.vertical===!1?e.swipeLeft=s+e.touchObject.swipeLength*c:e.swipeLeft=s+e.touchObject.swipeLength*(e.$list.height()/e.listWidth)*c,e.options.fade===!0||e.options.touchMove===!1)return!1;if(e.animating===!0)return e.swipeLeft=null,!1;e.setCSS(e.swipeLeft)}},h.prototype.swipeStart=function(t){var e=this,s;if(e.touchObject.fingerCount!==1||e.slideCount<=e.options.slidesToShow)return e.touchObject={},!1;t.originalEvent!==void 0&&t.originalEvent.touches!==void 0&&(s=t.originalEvent.touches[0]),e.touchObject.startX=e.touchObject.curX=s!==void 0?s.pageX:t.clientX,e.touchObject.startY=e.touchObject.curY=s!==void 0?s.pageY:t.clientY,e.$list.addClass("dragging")},h.prototype.unfilterSlides=function(){var t=this;t.$slidesCache!==null&&(t.unload(),t.$slideTrack.children(this.options.slide).remove(),t.$slidesCache.appendTo(t.$slideTrack),t.reinit())},h.prototype.unload=function(){var t=this;a(".slick-cloned",t.$slider).remove(),t.$dots&&t.$dots.remove(),t.$prevArrow&&(t.$prevArrow.remove(),t.$nextArrow.remove()),t.$slides.removeClass("slick-slide slick-active slick-visible").removeAttr("style")},h.prototype.updateArrows=function(){var t=this;t.options.arrows===!0&&t.options.infinite!==!0&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.removeClass("slick-disabled"),t.$nextArrow.removeClass("slick-disabled"),t.currentSlide===0?(t.$prevArrow.addClass("slick-disabled"),t.$nextArrow.removeClass("slick-disabled")):t.currentSlide>=t.slideCount-t.options.slidesToShow&&(t.$nextArrow.addClass("slick-disabled"),t.$prevArrow.removeClass("slick-disabled")))},h.prototype.updateDots=function(){var t=this;t.$dots!==null&&(t.$dots.find("li").removeClass("slick-active"),t.$dots.find("li").eq(t.currentSlide/t.options.slidesToScroll).addClass("slick-active"))},a.fn.xSlick=function(t){var e=this;return e.each(function(s,l){l.slick=new h(l,t)})},a.fn.xSlickAdd=function(t,e,s){var l=this;return l.each(function(c,w){w.slick.addSlide(t,e,s)})},a.fn.xSlickCurrentSlide=function(){var t=this;return t.get(0).slick.getCurrent()},a.fn.xSlickFilter=function(t){var e=this;return e.each(function(s,l){l.slick.filterSlides(t)})},a.fn.xSlickGoTo=function(t){var e=this;return e.each(function(s,l){l.slick.slideHandler(t)})},a.fn.xSlickNext=function(){var t=this;return t.each(function(e,s){s.slick.changeSlide({data:{message:"next"}})})},a.fn.xSlickPause=function(){var t=this;return t.each(function(e,s){s.slick.autoPlayClear(),s.slick.paused=!0})},a.fn.xSlickPlay=function(){var t=this;return t.each(function(e,s){s.slick.paused=!1,s.slick.autoPlay()})},a.fn.xSlickPrev=function(){var t=this;return t.each(function(e,s){s.slick.changeSlide({data:{message:"previous"}})})},a.fn.xSlickRemove=function(t,e){var s=this;return s.each(function(l,c){c.slick.removeSlide(t,e)})},a.fn.xSlickSetOption=function(t,e,s){var l=this;return l.each(function(c,w){w.slick.options[t]=e,s===!0&&(w.slick.unload(),w.slick.reinit())})},a.fn.xSlickUnfilter=function(){var t=this;return t.each(function(e,s){s.slick.unfilterSlides()})},a.fn.xUnslick=function(){var t=this;return t.each(function(e,s){s.slick.destroy()})}});(function(a,u,z){"use strict";a.fn.backstretch=function(v,m){return(v===z||v.length===0)&&a.error("No images were supplied for Backstretch"),this.each(function(){var k=a(this),t=k.data("backstretch");if(t){if(typeof v=="string"&&typeof t[v]=="function"){t[v](m);return}m=a.extend(t.options,m),t.destroy(!0)}t=new _(this,v,m),k.data("backstretch",t)})},a.backstretch=function(v,m){return a("body").backstretch(v,m).data("backstretch")},a.expr.pseudos.backstretch=function(v){return a(v).data("backstretch")!==z},a.fn.backstretch.defaults={centeredX:!0,centeredY:!0,duration:5e3,fade:0};var h={wrap:{left:0,top:0,overflow:"hidden",margin:0,padding:0,height:"100%",width:"100%",zIndex:-999999},img:{position:"absolute",display:"none",margin:0,padding:0,border:"none",width:"auto",height:"auto",maxHeight:"none",maxWidth:"none",zIndex:-999999}},_=function(v,m,k){this.options=a.extend({},a.fn.backstretch.defaults,k||{}),this.images=Array.isArray(m)?m:[m],a.each(this.images,function(){a("")[0].src=this}),this.isBody=v===document.body,this.$container=a(v),this.$root=this.isBody?a(u):this.$container;var t=this.$container.children(".backstretch").first();if(this.$wrap=t.length?t:a('
').css(h.wrap).appendTo(this.$container),!this.isBody){var e=this.$container.css("position"),s=this.$container.css("zIndex");this.$container.css({position:e==="static"?"relative":e,zIndex:s==="auto"?0:s,background:"none"}),this.$wrap.css({zIndex:-999998})}this.$wrap.css({position:this.isBody?"fixed":"absolute"}),this.index=0,this.show(this.index),a(u).on("resize.backstretch",a.proxy(this.resize,this)).on("orientationchange.backstretch",a.proxy(function(){this.isBody&&u.pageYOffset===0&&(u.scrollTo(0,1),this.resize())},this))};_.prototype={resize:function(){try{var v={left:0,top:0},m=this.isBody?this.$root.width():this.$root.innerWidth(),k=m,t=this.isBody?u.innerHeight?u.innerHeight:this.$root.height():this.$root.innerHeight(),e=k/this.$img.data("ratio"),s;e>=t?(s=(e-t)/2,this.options.centeredY&&(v.top="-"+s+"px")):(e=t,k=e*this.$img.data("ratio"),s=(k-m)/2,this.options.centeredX&&(v.left="-"+s+"px")),this.$wrap.css({width:m,height:t}).find("img:not(.deleteable)").css({width:k,height:e}).css(v)}catch{}return this},show:function(v){if(!(Math.abs(v)>this.images.length-1)){var m=this,k=m.$wrap.find("img").addClass("deleteable"),t={relatedTarget:m.$container[0]};return m.$container.trigger(a.Event("backstretch.before",t),[m,v]),this.index=v,clearInterval(m.interval),m.$img=a("").css(h.img).on("load",function(e){var s=this.width||a(e.target).width(),l=this.height||a(e.target).height();a(this).data("ratio",s/l),a(this).fadeIn(m.options.speed||m.options.fade,function(){k.remove(),m.paused||m.cycle(),a(["after","show"]).each(function(){m.$container.trigger(a.Event("backstretch."+this,t),[m,v])})}),m.resize()}).appendTo(m.$wrap),m.$img.attr("src",m.images[v]),m}},next:function(){return this.show(this.index1&&(clearInterval(this.interval),this.interval=setInterval(a.proxy(function(){this.paused||this.next()},this),this.options.duration)),this},destroy:function(v){a(u).off("resize.backstretch orientationchange.backstretch"),clearInterval(this.interval),v||this.$wrap.remove(),this.$container.removeData("backstretch")}}})(jQuery,window);window.jQuery(a=>{window.xJsStackData.backstretch&&a.backstretch(...window.xJsStackData.backstretch)});})();