PageSourceSearch

https://microweber.com/userfiles/templates/big/dist/main.min.js

js microweber.com collected 2026-09-24 18:00:10 UTC 170,112 bytes, 8 lines download raw bytes

1"function"!=typeof Object.create&&(Object.create=function(obj){function F(){}return F.prototype=obj,new F}),function($){var ElevateZoom={init:function(options,elem){var self=this;self.elem=elem,self.$elem=$(elem),self.imageSrc=self.$elem.data("zoom-image")?self.$elem.data("zoom-image"):self.$elem.attr("src"),self.options=$.extend({},$.fn.elevateZoom.options,options),self.options.tint&&(self.options.lensColour="none",self.options.lensOpacity="1"),"inner"==self.options.zoomType&&(self.options.showLens=!1),self.$elem.parent().removeAttr("title").removeAttr("alt"),self.zoomImage=self.imageSrc,self.refresh(1),$("#"+self.options.gallery+" a").click(function(e){return self.options.galleryActiveClass&&($("#"+self.options.gallery+" a").removeClass(self.options.galleryActiveClass),$(this).addClass(self.options.galleryActiveClass)),e.preventDefault(),$(this).data("zoom-image")?self.zoomImagePre=$(this).data("zoom-image"):self.zoomImagePre=$(this).data("image"),self.swaptheimage($(this).data("image"),self.zoomImagePre),!1})},refresh:function(length){var self=this;setTimeout(function(){self.fetch(self.imageSrc)},length||self.options.refresh)},fetch:function(imgsrc){var self=this,newImg=new Image;newImg.onload=function(){self.largeWidth=newImg.width,self.largeHeight=newImg.height,self.startZoom(),self.currentImage=self.imageSrc,self.options.onZoomedImageLoaded(self.$elem)},newImg.src=imgsrc},startZoom:function(){var borderWidth,self=this;self.nzWidth=self.$elem.width(),self.nzHeight=self.$elem.height(),self.isWindowActive=!1,self.isLensActive=!1,self.isTintActive=!1,self.overWindow=!1,self.options.imageCrossfade&&(self.zoomWrap=self.$elem.wrap('<div style="height:'+self.nzHeight+"px;width:"+self.nzWidth+'px;" class="zoomWrapper" />'),self.$elem.css("position","absolute")),self.zoomLock=1,self.scrollingLock=!1,self.changeBgSize=!1,self.currentZoomLevel=self.options.zoomLevel,self.nzOffset=self.$elem.offset(),self.widthRatio=self.largeWidth/self.currentZoomLevel/self.nzWidth,self.heightRatio=self.largeHeight/self.currentZoomLevel/self.nzHeight,"window"==self.options.zoomType&&(self.zoomWindowStyle="overflow: hidden;background-position: 0px 0px;text-align:center;background-color: "+String(self.options.zoomWindowBgColour)+";width: "+String(self.options.zoomWindowWidth)+"px;height: "+String(self.options.zoomWindowHeight)+"px;float: left;background-size: "+self.largeWidth/self.currentZoomLevel+"px "+self.largeHeight/self.currentZoomLevel+"px;display: none;z-index:100;border: "+String(self.options.borderSize)+"px solid "+self.options.borderColour+";background-repeat: no-repeat;position: absolute;"),"inner"==self.options.zoomType&&(borderWidth=self.$elem.css("border-left-width"),self.zoomWindowStyle="overflow: hidden;margin-left: "+String(borderWidth)+";margin-top: "+String(borderWidth)+";background-position: 0px 0px;width: "+String(self.nzWidth)+"px;height: "+String(self.nzHeight)+"px;px;float: left;display: none;cursor:"+self.options.cursor+";px solid "+self.options.borderColour+";background-repeat: no-repeat;position: absolute;"),"window"==self.options.zoomType&&(lensHeight=self.nzHeight<self.options.zoomWindowWidth/self.widthRatio?self.nzHeight:String(self.options.zoomWindowHeight/self.heightRatio),lensWidth=self.largeWidth<self.options.zoomWindowWidth?self.nzWidth:self.options.zoomWindowWidth/self.widthRatio,self.lensStyle="background-position: 0px 0px;width: "+String(self.options.zoomWindowWidth/self.widthRatio)+"px;height: "+String(self.options.zoomWindowHeight/self.heightRatio)+"px;float: right;display: none;overflow: hidden;z-index: 999;-webkit-transform: translateZ(0);opacity:"+self.options.lensOpacity+";filter: alpha(opacity = "+100*self.options.lensOpacity+"); zoom:1;width:"+lensWidth+"px;height:"+lensHeight+"px;background-color:"+self.options.lensColour+";cursor:"+self.options.cursor+";border: "+self.options.lensBorderSize+"px solid "+self.options.lensBorderColour+";background-repeat: no-repeat;position: absolute;"),self.tintStyle="display: block;position: absolute;background-color: "+self.options.tintColour+";filter:alpha(opacity=0);opacity: 0;width: "+self.nzWidth+"px;height: "+self.nzHeight+"px;",self.lensRound="","lens"==self.options.zoomType&&(self.lensStyle="background-position: 0px 0px;float: left;display: none;border: "+String(self.options.borderSize)+"px solid "+self.options.borderColour+";width:"+String(self.options.lensSize)+"px;height:"+String(self.options.lensSize)+"px;background-repeat: no-repeat;position: absolute;"),"round"==self.options.lensShape&&(self.lensRound="border-top-left-radius: "+String(self.options.lensSize/2+self.options.borderSize)+"px;border-top-right-radius: "+String(self.options.lensSize/2+self.options.borderSize)+"px;border-bottom-left-radius: "+String(self.options.lensSize/2+self.options.borderSize)+"px;border-bottom-right-radius: "+String(self.options.lensSize/2+self.options.borderSize)+"px;"),self.zoomContainer=$('<div class="zoomContainer" style="-webkit-transform: translateZ(0);position:absolute;
1left:'+self.nzOffset.left+"px;top:"+self.nzOffset.top+"px;height:"+self.nzHeight+"px;width:"+self.nzWidth+'px;"></div>'),$("body").append(self.zoomContainer),self.options.containLensZoom&&"lens"==self.options.zoomType&&self.zoomContainer.css("overflow","hidden"),"inner"!=self.options.zoomType&&(self.zoomLens=$("<div class='zoomLens' style='"+self.lensStyle+self.lensRound+"'>&nbsp;</div>").appendTo(self.zoomContainer).click(function(){self.$elem.trigger("click")}),self.options.tint&&(self.tintContainer=$("<div/>").addClass("tintContainer"),self.zoomTint=$("<div class='zoomTint' style='"+self.tintStyle+"'></div>"),self.zoomLens.wrap(self.tintContainer),self.zoomTintcss=self.zoomLens.after(self.zoomTint),self.zoomTintImage=$('<img style="position: absolute; left: 0px; top: 0px; max-width: none; width: '+self.nzWidth+"px; height: "+self.nzHeight+'px;" src="'+self.imageSrc+'">').appendTo(self.zoomLens).click(function(){self.$elem.trigger("click")}))),isNaN(self.options.zoomWindowPosition)?self.zoomWindow=$("<div style='z-index:999;left:"+self.windowOffsetLeft+"px;top:"+self.windowOffsetTop+"px;"+self.zoomWindowStyle+"' class='zoomWindow'>&nbsp;</div>").appendTo("body").click(function(){self.$elem.trigger("click")}):self.zoomWindow=$("<div style='z-index:999;left:"+self.windowOffsetLeft+"px;top:"+self.windowOffsetTop+"px;"+self.zoomWindowStyle+"' class='zoomWindow'>&nbsp;</div>").appendTo(self.zoomContainer).click(function(){self.$elem.trigger("click")}),self.zoomWindowContainer=$("<div/>").addClass("zoomWindowContainer").css("width",self.options.zoomWindowWidth),self.zoomWindow.wrap(self.zoomWindowContainer),"lens"==self.options.zoomType&&self.zoomLens.css({backgroundImage:"url('"+self.imageSrc+"')"}),"window"==self.options.zoomType&&self.zoomWindow.css({backgroundImage:"url('"+self.imageSrc+"')"}),"inner"==self.options.zoomType&&self.zoomWindow.css({backgroundImage:"url('"+self.imageSrc+"')"}),self.$elem.bind("touchmove",function(touch){touch.preventDefault();touch=touch.originalEvent.touches[0]||touch.originalEvent.changedTouches[0];self.setPosition(touch)}),self.zoomContainer.bind("touchmove",function(touch){"inner"==self.options.zoomType&&self.showHideWindow("show"),touch.preventDefault();touch=touch.originalEvent.touches[0]||touch.originalEvent.changedTouches[0];self.setPosition(touch)}),self.zoomContainer.bind("touchend",function(e){self.showHideWindow("hide"),self.options.showLens&&self.showHideLens("hide"),self.options.tint&&"inner"!=self.options.zoomType&&self.showHideTint("hide")}),self.$elem.bind("touchend",function(e){self.showHideWindow("hide"),self.options.showLens&&self.showHideLens("hide"),self.options.tint&&"inner"!=self.options.zoomType&&self.showHideTint("hide")}),self.options.showLens&&(self.zoomLens.bind("touchmove",function(touch){touch.preventDefault();touch=touch.originalEvent.touches[0]||touch.originalEvent.changedTouches[0];self.setPosition(touch)}),self.zoomLens.bind("touchend",function(e){self.showHideWindow("hide"),self.options.showLens&&self.showHideLens("hide"),self.options.tint&&"inner"!=self.options.zoomType&&self.showHideTint("hide")})),self.$elem.bind("mousemove",function(e){0==self.overWindow&&self.setElements("show"),self.lastX===e.clientX&&self.lastY===e.clientY||(self.setPosition(e),self.currentLoc=e),self.lastX=e.clientX,self.lastY=e.clientY}),self.zoomContainer.bind("mousemove",function(e){0==self.overWindow&&self.setElements("show"),self.lastX===e.clientX&&self.lastY===e.clientY||(self.setPosition(e),self.currentLoc=e),self.lastX=e.clientX,self.lastY=e.clientY}),"inner"!=self.options.zoomType&&self.zoomLens.bind("mousemove",function(e){self.lastX===e.clientX&&self.lastY===e.clientY||(self.setPosition(e),self.currentLoc=e),self.lastX=e.clientX,self.lastY=e.clientY}),self.options.tint&&"inner"!=self.options.zoomType&&self.zoomTint.bind("mousemove",function(e){self.lastX===e.clientX&&self.lastY===e.clientY||(self.setPosition(e),self.currentLoc=e),self.lastX=e.clientX,self.lastY=e.clientY}),"inner"==self.options.zoomType&&self.zoomWindow.bind("mousemove",function(e){self.lastX===e.clientX&&self.lastY===e.clientY||(self.setPosition(e),self.currentLoc=e),self.lastX=e.clientX,self.lastY=e.clientY}),self.zoomContainer.add(self.$elem).mouseenter(function(){0==self.overWindow&&self.setElements("show")}).mouseleave(function(){self.scrollLock||(self.setElements("hide"),self.options.onDestroy(self.$elem))}),"inner"!=self.options.zoomType&&self.zoomWindow.mouseenter(function(){self.overWindow=!0,self.setElements("hide")}).mouseleave(function(){self.overWindow=!1}),self.options.zoomLevel,self.options.minZoomLevel?self.minZoomLevel=self.options.minZoomLevel:self.minZoomLevel=2*self.options.scrollZoomIncrement,self.options.scrollZoom&&self.zoomContainer.add(self.$elem).bind("mousewheel DOMMouseScroll MozMousePixelScroll",function(e){self.scrollLock=!0,clearTimeout($.data(this,"timer")),$.data(this,"timer",setTimeout(function(){self.scrollLock=!1},250));var theEvent=e.originalEvent.wheelDelta||-1*e.originalEvent.detail;return e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault(),0<theEvent/120?self.currentZoomLevel>=self.minZoomLevel&&self.changeZoomLevel(self.currentZoomLevel-self.options.scrollZoomIncrement):(!self.options.maxZoomLevel||self.currentZoomLevel<=self.options.maxZoomLevel)&&self.changeZoomLevel(parseFloat(self.currentZoomLevel)+self.options.scrollZoomIncrement),!1})},setElements:function(type){if(!this.options.zoomEnabled)return!1;"show"==type&&this.isWindowSet&&("inner"==this.options.zoomType&&this.showHideWindow("show"),"window"==this.options.zoomType&&this.showHideWindow("show"),this.options.showLens&&this.showHideLens("show"),this.options.tint&&"inner"!=this.options.zoomType&&this.showHideTint("show")),"hide"==type&&("window"==this.options.zoomType&&this.showHideWindow("hide"),this.options.tint||this.showHideWindow("hide"),this.options.showLens&&this.showHideLens("hide"),this.options.tint&&this.showHideTint("hide"))},setPosition:function(e){if(!this.options.zoomEnabled)return!1;this.nzHeight=this.$elem.height(),this.nzWidth=this.$elem.width(),this.nzOffset=this.$elem.offset(),this.options.tint&&"inner"!=this.options.zoomType&&(this.zoomTint.css({top:0}),this.zoomTint.css({left:0})),this.options.responsive&&!this.options.scrollZoom&&this.options.showLens&&(lensHeight=this.nzHeight<this.options.zoomWindowWidth/this.widthRatio?this.nzHeight:String(this.options.zoomWindowHeight/this.heightRatio),lensWidth=this.largeWidth<this.options.zoomWindowWidth?this.nzWidth:this.options.zoomWindowWidth/this.widthRatio,this.widthRatio=this.largeWidth/this.nzWidth,this.heightRatio=this.largeHeight/this.nzHeight,"lens"!=this.options.zoomType&&(lensHeight=this.nzHeight<this.options.zoomWindowWidth/this.widthRatio?this.nzHeight:String(this.options.zoomWindowHeight/this.heightRatio),lensWidth=this.nzWidth<this.options.zoomWindowHeight/this.heightRatio?this.nzWidth:String(this.options.zoomWindowWidth/this.widthRatio),this.zoomLens.css("width",lensWidth),this.zoomLens.css("height",lensHeight),this.options.tint&&(this.zoomTintImage.css("width",this.nzWidth),this.zoomTintImage.css("height",this.nzHeight))),"lens"==this.options.zoomType&&this.zoomLens.css({width:String(this.options.lensSize)+"px",height:String(this.options.lensSize)+"px"})),this.zoomContainer.css({top:this.nzOffset.top}),this.zoomContainer.css({left:this.nzOffset.left}),this.mouseLeft=parseInt(e.pageX-this.nzOffset.left),this.mouseTop=p
1arseInt(e.pageY-this.nzOffset.top),"window"==this.options.zoomType&&(this.Etoppos=this.mouseTop<this.zoomLens.height()/2,this.Eboppos=this.mouseTop>this.nzHeight-this.zoomLens.height()/2-2*this.options.lensBorderSize,this.Eloppos=this.mouseLeft<0+this.zoomLens.width()/2,this.Eroppos=this.mouseLeft>this.nzWidth-this.zoomLens.width()/2-2*this.options.lensBorderSize),"inner"==this.options.zoomType&&(this.Etoppos=this.mouseTop<this.nzHeight/2/this.heightRatio,this.Eboppos=this.mouseTop>this.nzHeight-this.nzHeight/2/this.heightRatio,this.Eloppos=this.mouseLeft<0+this.nzWidth/2/this.widthRatio,this.Eroppos=this.mouseLeft>this.nzWidth-this.nzWidth/2/this.widthRatio-2*this.options.lensBorderSize),this.mouseLeft<0||this.mouseTop<0||this.mouseLeft>this.nzWidth||this.mouseTop>this.nzHeight?this.setElements("hide"):(this.options.showLens&&(this.lensLeftPos=String(Math.floor(this.mouseLeft-this.zoomLens.width()/2)),this.lensTopPos=String(Math.floor(this.mouseTop-this.zoomLens.height()/2))),this.Etoppos&&(this.lensTopPos=0),this.Eloppos&&(this.windowLeftPos=0,this.lensLeftPos=0,this.tintpos=0),"window"==this.options.zoomType&&(this.Eboppos&&(this.lensTopPos=Math.max(this.nzHeight-this.zoomLens.height()-2*this.options.lensBorderSize,0)),this.Eroppos&&(this.lensLeftPos=this.nzWidth-this.zoomLens.width()-2*this.options.lensBorderSize)),"inner"==this.options.zoomType&&(this.Eboppos&&(this.lensTopPos=Math.max(this.nzHeight-2*this.options.lensBorderSize,0)),this.Eroppos&&(this.lensLeftPos=this.nzWidth-this.nzWidth-2*this.options.lensBorderSize)),"lens"==this.options.zoomType&&(this.windowLeftPos=String(-1*((e.pageX-this.nzOffset.left)*this.widthRatio-this.zoomLens.width()/2)),this.windowTopPos=String(-1*((e.pageY-this.nzOffset.top)*this.heightRatio-this.zoomLens.height()/2)),this.zoomLens.css({backgroundPosition:this.windowLeftPos+"px "+this.windowTopPos+"px"}),this.changeBgSize&&(this.nzHeight>this.nzWidth?("lens"==this.options.zoomType&&this.zoomLens.css({"background-size":this.largeWidth/this.newvalueheight+"px "+this.largeHeight/this.newvalueheight+"px"}),this.zoomWindow.css({"background-size":this.largeWidth/this.newvalueheight+"px "+this.largeHeight/this.newvalueheight+"px"})):("lens"==this.options.zoomType&&this.zoomLens.css({"background-size":this.largeWidth/this.newvaluewidth+"px "+this.largeHeight/this.newvaluewidth+"px"}),this.zoomWindow.css({"background-size":this.largeWidth/this.newvaluewidth+"px "+this.largeHeight/this.newvaluewidth+"px"})),this.changeBgSize=!1),this.setWindowPostition(e)),this.options.tint&&"inner"!=this.options.zoomType&&this.setTintPosition(e),"window"==this.options.zoomType&&this.setWindowPostition(e),"inner"==this.options.zoomType&&this.setWindowPostition(e),this.options.showLens&&(this.fullwidth&&"lens"!=this.options.zoomType&&(this.lensLeftPos=0),this.zoomLens.css({left:this.lensLeftPos+"px",top:this.lensTopPos+"px"})))},showHideWindow:function(change){var self=this;"show"==change&&(self.isWindowActive||(self.options.zoomWindowFadeIn?self.zoomWindow.stop(!0,!0,!1).fadeIn(self.options.zoomWindowFadeIn):self.zoomWindow.show(),self.isWindowActive=!0)),"hide"==change&&self.isWindowActive&&(self.options.zoomWindowFadeOut?self.zoomWindow.stop(!0,!0).fadeOut(self.options.zoomWindowFadeOut,function(){self.loop&&(clearInterval(self.loop),self.loop=!1)}):self.zoomWindow.hide(),self.isWindowActive=!1)},showHideLens:function(change){"show"==change&&(this.isLensActive||(this.options.lensFadeIn?this.zoomLens.stop(!0,!0,!1).fadeIn(this.options.lensFadeIn):this.zoomLens.show(),this.isLensActive=!0)),"hide"==change&&this.isLensActive&&(this.options.lensFadeOut?this.zoomLens.stop(!0,!0).fadeOut(this.options.lensFadeOut):this.zoomLens.hide(),this.isLensActive=!1)},showHideTint:function(change){"show"==change&&(this.isTintActive||(this.options.zoomTintFadeIn?this.zoomTint.css({opacity:this.options.tintOpacity}).animate().stop(!0,!0).fadeIn("slow"):(this.zoomTint.css({opacity:this.options.tintOpacity}).animate(),this.zoomTint.show()),this.isTintActive=!0)),"hide"==change&&this.isTintActive&&(this.options.zoomTintFadeOut?this.zoomTint.stop(!0,!0).fadeOut(this.options.zoomTintFadeOut):this.zoomTint.hide(),this.isTintActive=!1)},setLensPostition:function(e){},setWindowPostition:function(e){var self=this;if(isNaN(self.options.zoomWindowPosition))self.externalContainer=$("#"+self.options.zoomWindowPosition),self.externalContainerWidth=self.externalContainer.width(),self.externalContainerHeight=self.externalContainer.height(),self.externalContainerOffset=self.externalContainer.offset(),self.windowOffsetTop=self.externalContainerOffset.top,self.windowOffsetLeft=self.externalContainerOffset.left;else switch(self.options.zoomWindowPosition){case 1:self.windowOffsetTop=self.options.zoomWindowOffety,self.windowOffsetLeft=+self.nzWidth;break;case 2:self.options.zoomWindowHeight>self.nzHeight&&(self.windowOffsetTop=-1*(self.options.zoomWindowHeight/2-self.nzHeight/2),self.windowOffsetLeft=self.nzWidth);break;case 3:self.windowOffsetTop=self.nzHeight-self.zoomWindow.height()-2*self.options.borderSize,self.windowOffsetLeft=self.nzWidth;break;case 4:self.windowOffsetTop=self.nzHeight,self.windowOffsetLeft=self.nzWidth;break;case 5:self.windowOffsetTop=self.nzHeight,self.windowOffsetLeft=self.nzWidth-self.zoomWindow.width()-2*self.options.borderSize;break;case 6:self.options.zoomWindowHeight>self.nzHeight&&(self.windowOffsetTop=self.nzHeight,self.windowOffsetLeft=-1*(self.options.zoomWindowWidth/2-self.nzWidth/2+2*self.options.borderSize));break;case 7:self.windowOffsetTop=self.nzHeight,self.windowOffsetLeft=0;break;case 8:self.windowOffsetTop=self.nzHeight,self.windowOffsetLeft=-1*(self.zoomWindow.width()+2*self.options.borderSize);break;case 9:self.windowOffsetTop=self.nzHeight-self.zoomWindow.height()-2*self.options.borderSize,self.windowOffsetLeft=-1*(self.zoomWindow.width()+2*self.options.borderSize);break;case 10:self.options.zoomWindowHeight>self.nzHeight&&(self.windowOffsetTop=-1*(self.options.zoomWindowHeight/2-self.nzHeight/2),self.windowOffsetLeft=-1*(self.zoomWindow.width()+2*self.options.borderSize));break;case 11:self.windowOffsetTop=self.options.zoomWindowOffety,self.windowOffsetLeft=-1*(self.zoomWindow.width()+2*self.options.borderSize);break;case 12:self.windowOffsetTop=-1*(self.zoomWindow.height()+2*self.options.borderSize),self.windowOffsetLeft=-1*(self.zoomWindow.width()+2*self.options.borderSize);break;case 13:self.windowOffsetTop=-1*(self.zoomWindow.height()+2*self.options.borderSize),self.windowOffsetLeft=0;break;case 14:self.options.zoomWindowHeight>self.nzHeight&&(self.windowOffsetTop=-1*(self.zoomWindow.height()+2*self.options.borderSize),self.windowOffsetLeft=-1*(self.options.zoomWindowWidth/2-self.nzWidth/2+2*self.options.borderSize));break;case 15:self.windowOffsetTop=-1*(self.zoomWindow.height()+2*self.options.borderSize),self.windowOffsetLeft=self.nzWidth-self.zoomWindow.width()-2*self.options.borderSize;break;case 16:self.windowOffsetTop=-1*(self.zoomWindow.height()+2*self.options.borderSize),self.windowOffsetLeft=self.nzWidth;break;default:self.windowOffsetTop=self.options.zoomWindowOffety,self.windowOffsetLeft=self.nzWidth}self.isWindowSet=!0,self.windowOffsetTop=self.windowOffsetTop+self.options.zoomWindowOffety,self.windowOffsetLeft=self.windowOffsetLeft+self.options.zoomWindowOffetx,self.zoomWindow.css({top:self.windowOffsetTop}),self.zoomWindow.css({left:self.windowOffsetLeft}),"inner"==self.options.zoomType&&(self.zoomWindow.css({top:0}),self.zoomWindow.css({left:0})),self.windowLeftPos=String(-1*((e.pageX-self.nzOffset.left)*self.widthRatio-self.zoomWindow.width()/2)),self.windowTopPos=String(-1*((e.pageY-self.nzOffset.top)*self.heightRatio-self.zoomWindow.height()/2)),self.Etoppos&&(self.windowTopPos=0),self.Eloppos&&(self.windowLeftPos=0),self.Eboppos&&(self.windowTopPos=-1*(self.largeHeight/self.currentZoomLevel-self.zoomWindow.height())),self.Eroppos&&(self.windowLeftPos=-1*(self.largeWidth/self.currentZoomLevel-self.zoomWindow.width())),self.fullheight&&(self.windowTopPos=0),self.fullwidth&&(self.windowLeftPos=0),"window"!=self.options.zoomType&&"inner"!=self.options.zoomType||(1==self.zoomLock&&(self.widthRatio<=1&&(self.windowLeftPos=0),self.heightRatio<=1&&(self.windowTopPos=0)),"window"==self.options.zoomType&&(self.largeHeight<self.options.zoomWindowHeight&&(self.windowTopPos=0),self.largeWidth<self.options.zoomWindowWidth&&(self.windowLeftPos=0)),self.options.easing?(self.xp||(self.xp=0),self.yp||(self.yp=0),self.loop||(self.loop=setInterval(function(){self.xp+=(self.windowLeftPos-self.xp)/self.options.easingAmou
1nt,self.yp+=(self.windowTopPos-self.yp)/self.options.easingAmount,self.scrollingLock?(clearInterval(self.loop),self.xp=self.windowLeftPos,self.yp=self.windowTopPos,self.xp=-1*((e.pageX-self.nzOffset.left)*self.widthRatio-self.zoomWindow.width()/2),self.yp=-1*((e.pageY-self.nzOffset.top)*self.heightRatio-self.zoomWindow.height()/2),self.changeBgSize&&(self.nzHeight>self.nzWidth?("lens"==self.options.zoomType&&self.zoomLens.css({"background-size":self.largeWidth/self.newvalueheight+"px "+self.largeHeight/self.newvalueheight+"px"}),self.zoomWindow.css({"background-size":self.largeWidth/self.newvalueheight+"px "+self.largeHeight/self.newvalueheight+"px"})):("lens"!=self.options.zoomType&&self.zoomLens.css({"background-size":self.largeWidth/self.newvaluewidth+"px "+self.largeHeight/self.newvalueheight+"px"}),self.zoomWindow.css({"background-size":self.largeWidth/self.newvaluewidth+"px "+self.largeHeight/self.newvaluewidth+"px"})),self.changeBgSize=!1),self.zoomWindow.css({backgroundPosition:self.windowLeftPos+"px "+self.windowTopPos+"px"}),self.scrollingLock=!1,self.loop=!1):Math.round(Math.abs(self.xp-self.windowLeftPos)+Math.abs(self.yp-self.windowTopPos))<1?(clearInterval(self.loop),self.zoomWindow.css({backgroundPosition:self.windowLeftPos+"px "+self.windowTopPos+"px"}),self.loop=!1):(self.changeBgSize&&(self.nzHeight>self.nzWidth?("lens"==self.options.zoomType&&self.zoomLens.css({"background-size":self.largeWidth/self.newvalueheight+"px "+self.largeHeight/self.newvalueheight+"px"}),self.zoomWindow.css({"background-size":self.largeWidth/self.newvalueheight+"px "+self.largeHeight/self.newvalueheight+"px"})):("lens"!=self.options.zoomType&&self.zoomLens.css({"background-size":self.largeWidth/self.newvaluewidth+"px "+self.largeHeight/self.newvaluewidth+"px"}),self.zoomWindow.css({"background-size":self.largeWidth/self.newvaluewidth+"px "+self.largeHeight/self.newvaluewidth+"px"})),self.changeBgSize=!1),self.zoomWindow.css({backgroundPosition:self.xp+"px "+self.yp+"px"}))},16))):(self.changeBgSize&&(self.nzHeight>self.nzWidth?("lens"==self.options.zoomType&&self.zoomLens.css({"background-size":self.largeWidth/self.newvalueheight+"px "+self.largeHeight/self.newvalueheight+"px"}),self.zoomWindow.css({"background-size":self.largeWidth/self.newvalueheight+"px "+self.largeHeight/self.newvalueheight+"px"})):("lens"==self.options.zoomType&&self.zoomLens.css({"background-size":self.largeWidth/self.newvaluewidth+"px "+self.largeHeight/self.newvaluewidth+"px"}),self.largeHeight/self.newvaluewidth<self.options.zoomWindowHeight?self.zoomWindow.css({"background-size":self.largeWidth/self.newvaluewidth+"px "+self.largeHeight/self.newvaluewidth+"px"}):self.zoomWindow.css({"background-size":self.largeWidth/self.newvalueheight+"px "+self.largeHeight/self.newvalueheight+"px"})),self.changeBgSize=!1),self.zoomWindow.css({backgroundPosition:self.windowLeftPos+"px "+self.windowTopPos+"px"})))},setTintPosition:function(e){this.nzOffset=this.$elem.offset(),this.tintpos=String(-1*(e.pageX-this.nzOffset.left-this.zoomLens.width()/2)),this.tintposy=String(-1*(e.pageY-this.nzOffset.top-this.zoomLens.height()/2)),this.Etoppos&&(this.tintposy=0),this.Eloppos&&(this.tintpos=0),this.Eboppos&&(this.tintposy=-1*(this.nzHeight-this.zoomLens.height()-2*this.options.lensBorderSize)),this.Eroppos&&(this.tintpos=-1*(this.nzWidth-this.zoomLens.width()-2*this.options.lensBorderSize)),this.options.tint&&(this.fullheight&&(this.tintposy=0),this.fullwidth&&(this.tintpos=0),this.zoomTintImage.css({left:this.tintpos+"px"}),this.zoomTintImage.css({top:this.tintposy+"px"}))},swaptheimage:function(smallimage,largeimage){var self=this,newImg=new Image;self.options.loadingIcon&&(self.spinner=$("<div style=\"background: url('"+self.options.loadingIcon+"') no-repeat center;height:"+self.nzHeight+"px;width:"+self.nzWidth+'px;z-index: 2000;position: absolute; background-position: center center;"></div>'),self.$elem.after(self.spinner)),self.options.onImageSwap(self.$elem),newImg.onload=function(){self.largeWidth=newImg.width,self.largeHeight=newImg.height,self.zoomImage=largeimage,self.zoomWindow.css({"background-size":self.largeWidth+"px "+self.largeHeight+"px"}),self.swapAction(smallimage,largeimage)},newImg.src=largeimage},swapAction:function(smallimage,largeimage){var oldImgTint,newImgTint,self=this,newImg2=new Image;newImg2.onload=function(){self.nzHeight=newImg2.height,self.nzWidth=newImg2.width,self.options.onImageSwapComplete(self.$elem),self.doneCallback()},newImg2.src=smallimage,self.currentZoomLevel=self.options.zoomLevel,self.options.maxZoomLevel=!1,"lens"==self.options.zoomType&&self.zoomLens.css({backgroundImage:"url('"+largeimage+"')"}),"window"==self.options.zoomType&&self.zoomWindow.css({backgroundImage:"url('"+largeimage+"')"}),"inner"==self.options.zoomType&&self.zoomWindow.css({backgroundImage:"url('"+largeimage+"')"}),self.currentImage=largeimage,self.options.imageCrossfade?(oldImgTint=(newImgTint=self.$elem).clone(),self.$elem.attr("src",smallimage),self.$elem.after(oldImgTint),oldImgTint.stop(!0).fadeOut(self.options.imageCrossfade,function(){$(this).remove()}),self.$elem.width("auto").removeAttr("width"),self.$elem.height("auto").removeAttr("height"),newImgTint.fadeIn(self.options.imageCrossfade),self.options.tint&&"inner"!=self.options.zoomType&&(newImgTint=(oldImgTint=self.zoomTintImage).clone(),self.zoomTintImage.attr("src",largeimage),self.zoomTintImage.after(newImgTint),newImgTint.stop(!0).fadeOut(self.options.imageCrossfade,function(){$(this).remove()}),oldImgTint.fadeIn(self.options.imageCrossfade),self.zoomTint.css({height:self.$elem.height()}),self.zoomTint.css({width:self.$elem.width()})),self.zoomContainer.css("height",self.$elem.height()),self.zoomContainer.css("width",self.$elem.width()),"inner"==self.options.zoomType&&(self.options.constrainType||(self.zoomWrap.parent().css("height",self.$elem.height()),self.zoomWrap.parent().css("width",self.$elem.width()),self.zoomWindow.css("height",self.$elem.height()),self.zoomWindow.css("width",self.$elem.width())))):(self.$elem.attr("src",smallimage),self.options.tint&&(self.zoomTintImage.attr("src",largeimage),self.zoomTintImage.attr("height",self.$elem.height()),self.zoomTintImage.css({height:self.$elem.height()}),self.zoomTint.css({height:self.$elem.height()})),self.zoomContainer.css("height",self.$elem.height()),self.zoomContainer.css("width",self.$elem.width())),self.options.imageCrossfade&&(self.zoomWrap.css("height",self.$elem.height()),self.zoomWrap.css("width",self.$elem.width())),self.options.constrainType&&("height"==self.options.constrainType&&(self.zoomContainer.css("height",self.options.constrainSize),self.zoomContainer.css("width","auto"),self.options.imageCrossfade?(self.zoomWrap.css("height",self.options.constrainSize),self.zoomWrap.css("width","auto"),self.constwidth=self.zoomWrap.width()):(self.$elem.css("height",self.options.constrainSize),self.$elem.css("width","auto"),self.constwidth=self.$elem.width()),"inner"==self.options.zoomType&&(self.zoomWrap.parent().css("height",self.options.constrainSize),self.zoomWrap.parent().css("width",self.constwidth),self.zoomWindow.css("height",self.options.constrainSize),self.zoomWindow.css("width",self.constwidth)),self.options.tint&&(self.tintContainer.css("height",self.options.constrainSize),self.tintContainer.css("width",self.constwidth),self.zoomTint.css("height",self.options.constrainSize),self.zoomTint.css("width",self.constwidth),self.zoomTintImage.css("height",self.options.constrainSize),self.zoomTintImage.css("width",self.constwidth))),"width"==self.options.constrainType&&(self.zoomContainer.css("height","auto"),self.zoomContainer.css("width",self.options.constrainSize),self.options.imageCrossfade?(self.zoomWrap.css("height","auto"),self.zoomWrap.css("width",self.options.constrainSize),self.constheight=self.zoomWrap.height()):(self.$elem.css("height","auto"),self.$elem.css("width",self.options.constrainSize),self.constheight=self.$elem.height()),"inner"==self.options.zoomType&&(self.zoomWrap.parent().css("height",self.constheight),self.zoomWrap.parent().css("width",self.options.constrainSize),self.zoomWindow.css("height",self.constheight),self.zoomWindow.css("width",self.options.constrainSize)),self.options.tint&&(self.tintContainer.css("height",self.constheight),self.tintContainer.css("width",self.options.constrainSize),self.zoomTint.css("height",self.constheight),self.zoomTint.css("width",self.options.constrainSize),self.zoomTintImage.css("height",self.constheight),self.zoomTintImage.css("width",self.options.constrainSize))))},doneCallback:function(){this.options.loadingIcon&&this.spinner.hide(),this.nzOffset=this.$elem.offset(),this.nzWidth=this.$elem.width(),this.nzHeight=this.$elem.height(),this.currentZoomLevel=this.options.zoomLevel,this.widthRatio=this.largeWidth/this.nzWidth,this.heightRatio=this.largeHeight/this.nzHeight,"window"==this.options.zoomType&&(lensHeight=this.nzHeight<this.options.zoomWindowWidth/this.widthRatio?this.nzHeight:String(this.options.zoomWindowHeight/this.heightRatio),lensWidth=this.options.zoomWindowWidth<this.options.zoomWindowWidth?this.nzWidth:this.options.zoomWindowWidth/this.widthRatio,this.zoomLens&&(this.zoomLens.css("width",lensWidth),this.zoomLens.css("height",lensHeight)))},getCurrentImage:function(){return this.zoomImage},getGalleryList:function(){var self=this;return self.gallerylist=[],self.options.gallery?$("#"+self.options.gallery+" a").each(function(){var img_src="";$(this).data("zoom-image")?img_src=$(this).data("zoom-image"):$(this).data("image")&&(img_src=$(this).data("image")),img_src==self.zoomImage?self.gallerylist.unshift({href:""+img_src,title:$(this).find("img").attr("title")}):self.gallerylist.push({href:""+img_src,title:$(this).find("img").attr("title")})}
1):self.gallerylist.push({href:""+self.zoomImage,title:$(this).find("img").attr("title")}),self.gallerylist},changeZoomLevel:function(value){this.scrollingLock=!0,this.newvalue=parseFloat(value).toFixed(2),newvalue=parseFloat(value).toFixed(2),maxheightnewvalue=this.largeHeight/(this.options.zoomWindowHeight/this.nzHeight*this.nzHeight),maxwidthtnewvalue=this.largeWidth/(this.options.zoomWindowWidth/this.nzWidth*this.nzWidth),"inner"!=this.options.zoomType&&(maxheightnewvalue<=newvalue?(this.heightRatio=this.largeHeight/maxheightnewvalue/this.nzHeight,this.newvalueheight=maxheightnewvalue,this.fullheight=!0):(this.heightRatio=this.largeHeight/newvalue/this.nzHeight,this.newvalueheight=newvalue,this.fullheight=!1),maxwidthtnewvalue<=newvalue?(this.widthRatio=this.largeWidth/maxwidthtnewvalue/this.nzWidth,this.newvaluewidth=maxwidthtnewvalue,this.fullwidth=!0):(this.widthRatio=this.largeWidth/newvalue/this.nzWidth,this.newvaluewidth=newvalue,this.fullwidth=!1),"lens"==this.options.zoomType&&(maxheightnewvalue<=newvalue?(this.fullwidth=!0,this.newvaluewidth=maxheightnewvalue):(this.widthRatio=this.largeWidth/newvalue/this.nzWidth,this.newvaluewidth=newvalue,this.fullwidth=!1))),"inner"==this.options.zoomType&&(maxheightnewvalue=parseFloat(this.largeHeight/this.nzHeight).toFixed(2),maxwidthtnewvalue=parseFloat(this.largeWidth/this.nzWidth).toFixed(2),newvalue>maxheightnewvalue&&(newvalue=maxheightnewvalue),newvalue>maxwidthtnewvalue&&(newvalue=maxwidthtnewvalue),maxheightnewvalue<=newvalue?(this.heightRatio=this.largeHeight/newvalue/this.nzHeight,newvalue>maxheightnewvalue?this.newvalueheight=maxheightnewvalue:this.newvalueheight=newvalue,this.fullheight=!0):(this.heightRatio=this.largeHeight/newvalue/this.nzHeight,newvalue>maxheightnewvalue?this.newvalueheight=maxheightnewvalue:this.newvalueheight=newvalue,this.fullheight=!1),maxwidthtnewvalue<=newvalue?(this.widthRatio=this.largeWidth/newvalue/this.nzWidth,newvalue>maxwidthtnewvalue?this.newvaluewidth=maxwidthtnewvalue:this.newvaluewidth=newvalue,this.fullwidth=!0):(this.widthRatio=this.largeWidth/newvalue/this.nzWidth,this.newvaluewidth=newvalue,this.fullwidth=!1)),scrcontinue=!1,"inner"==this.options.zoomType&&(this.nzWidth>=this.nzHeight&&(this.newvaluewidth<=maxwidthtnewvalue?scrcontinue=!0:(scrcontinue=!1,this.fullheight=!0,this.fullwidth=!0)),this.nzHeight>this.nzWidth&&(this.newvaluewidth<=maxwidthtnewvalue?scrcontinue=!0:(scrcontinue=!1,this.fullheight=!0,this.fullwidth=!0))),"inner"!=this.options.zoomType&&(scrcontinue=!0),scrcontinue&&(this.zoomLock=0,this.changeZoom=!0,this.options.zoomWindowHeight/this.heightRatio<=this.nzHeight&&(this.currentZoomLevel=this.newvalueheight,"lens"!=this.options.zoomType&&"inner"!=this.options.zoomType&&(this.changeBgSize=!0,this.zoomLens.css({height:String(this.options.zoomWindowHeight/this.heightRatio)+"px"})),"lens"!=this.options.zoomType&&"inner"!=this.options.zoomType||(this.changeBgSize=!0)),this.options.zoomWindowWidth/this.widthRatio<=this.nzWidth&&("inner"!=this.options.zoomType&&this.newvaluewidth>this.newvalueheight&&(this.currentZoomLevel=this.newvaluewidth),"lens"!=this.options.zoomType&&"inner"!=this.options.zoomType&&(this.changeBgSize=!0,this.zoomLens.css({width:String(this.options.zoomWindowWidth/this.widthRatio)+"px"})),"lens"!=this.options.zoomType&&"inner"!=this.options.zoomType||(this.changeBgSize=!0)),"inner"==this.options.zoomType&&(this.changeBgSize=!0,this.nzWidth>this.nzHeight&&(this.currentZoomLevel=this.newvaluewidth),this.nzHeight>this.nzWidth&&(this.currentZoomLevel=this.newvaluewidth))),this.setPosition(this.currentLoc)},closeAll:function(){self.zoomWindow&&self.zoomWindow.hide(),self.zoomLens&&self.zoomLens.hide(),self.zoomTint&&self.zoomTint.hide()},changeState:function(value){"enable"==value&&(this.options.zoomEnabled=!0),"disable"==value&&(this.options.zoomEnabled=!1)}};$.fn.elevateZoom=function(options){return this.each(function(){var elevate=Object.create(ElevateZoom);elevate.init(options,this),$.data(this,"elevateZoom",elevate)})},$.fn.elevateZoom.options={zoomActivation:"hover",zoomEnabled:!0,preloading:1,zoomLevel:1,scrollZoom:!1,scrollZoomIncrement:.1,minZ
1oomLevel:!1,maxZoomLevel:!1,easing:!1,easingAmount:12,lensSize:200,zoomWindowWidth:400,zoomWindowHeight:400,zoomWindowOffetx:0,zoomWindowOffety:0,zoomWindowPosition:1,zoomWindowBgColour:"#fff",lensFadeIn:!1,lensFadeOut:!1,debug:!1,zoomWindowFadeIn:!1,zoomWindowFadeOut:!1,zoomWindowAlwaysShow:!1,zoomTintFadeIn:!1,zoomTintFadeOut:!1,borderSize:4,showLens:!0,borderColour:"#888",lensBorderSize:1,lensBorderColour:"#000",lensShape:"square",zoomType:"window",containLensZoom:!1,lensColour:"white",lensOpacity:.4,lenszoom:!1,tint:!1,tintColour:"#333",tintOpacity:.4,gallery:!1,galleryActiveClass:"zoomGalleryActive",imageCrossfade:!1,constrainType:!1,constrainSize:!1,loadingIcon:!1,cursor:"default",responsive:!0,onComplete:$.noop,onDestroy:function(){},onZoomedImageLoaded:function(){},onImageSwap:$.noop,onImageSwapComplete:$.noop}}(jQuery,(window,document));;
2!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):window.jQuery||window.Zepto)}(function(a){function t(){}function w(a,c){b.ev.on(o+a+p,c)}function x(b,c,d,e){var f=document.createElement("div");return f.className="mfp-"+b,d&&(f.innerHTML=d),e?c&&c.appendChild(f):(f=a(f),c&&f.appendTo(c)),f}function y(c,d){b.ev.triggerHandler(o+c,d),b.st.callbacks&&(c=c.charAt(0).toLowerCase()+c.slice(1),b.st.callbacks[c]&&b.st.callbacks[c].apply(b,a.isArray(d)?d:[d]))}function z(c){return c===g&&b.currTemplate.closeBtn||(b.currTemplate.closeBtn=a(b.st.closeMarkup.replace("%title%",b.st.tClose)),g=c),b.currTemplate.closeBtn}function A(){a.magnificPopup.instance||((b=new t).init(),a.magnificPopup.instance=b)}var b,c,d,e,f,g,h="Close",i="BeforeClose",l="MarkupParse",m="Open",n="Change",o="mfp",p="."+o,q="mfp-ready",r="mfp-removing",s="mfp-prevent-close",u=!!window.jQuery,v=a(window);t.prototype={constructor:t,init:function(){var c=navigator.appVersion;b.isLowIE=b.isIE8=document.all&&!document.addEventListener,b.isAndroid=/android/gi.test(c),b.isIOS=/iphone|ipad|ipod/gi.test(c),b.supportsTransition=function(){var a=document.createElement("p").style,b=["ms","O","Moz","Webkit"];if(void 0!==a.transition)return!0;for(;b.length;)if(b.pop()+"Transition"in a)return!0;return!1}(),b.probablyMobile=b.isAndroid||b.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),d=a(document),b.popupsCache={}},open:function(c){if(!1===c.isObj){b.items=c.items.toArray(),b.index=0;for(var g,h=c.items,e=0;e<h.length;e++)if((g=(g=h[e]).parsed?g.el[0]:g)===c.el[0]){b.index=e;break}}else b.items=a.isArray(c.items)?c.items:[c.items],b.index=c.index||0;if(!b.isOpen){b.types=[],f="",c.mainEl&&c.mainEl.length?b.ev=c.mainEl.eq(0):b.ev=d,c.key?(b.popupsCache[c.key]||(b.popupsCache[c.key]={}),b.currTemplate=b.popupsCache[c.key]):b.currTemplate={},b.st=a.extend(!0,{},a.magnificPopup.defaults,c),b.fixedContentPos="auto"===b.st.fixedContentPos?!b.probablyMobile:b.st.fixedContentPos,b.st.modal&&(b.st.closeOnContentClick=!1,b.st.closeOnBgClick=!1,b.st.showCloseBtn=!1,b.st.enableEscapeKey=!1),b.bgOverlay||(b.bgOverlay=x("bg").on("click"+p,function(){b.close()}),b.wrap=x("wrap").attr("tabindex",-1).on("click"+p,function(a){b._checkIfClose(a.target)&&b.close()}),b.container=x("container",b.wrap)),b.contentContainer=x("content"),b.st.preloader&&(b.preloader=x("preloader",b.container,b.st.tLoading));var i=a.magnificPopup.modules;for(e=0;e<i.length;e++){var j=(j=i[e]).charAt(0).toUpperCase()+j.slice(1);b["init"+j].call(b)}y("BeforeOpen"),b.st.showCloseBtn&&(b.st.closeBtnInside?(w(l,function(a,b,c,d){c.close_replaceWith=z(d.type)}),f+=" mfp-close-btn-in"):b.wrap.append(z())),b.st.alignTop&&(f+=" mfp-align-top"),b.fixedContentPos?b.wrap.css({overflow:b.st.overflowY,overflowX:"hidden",overflowY:b.st.overflowY}):b.wrap.css({top:v.scrollTop(),position:"absolute"}),!1!==b.st.fixedBgPos&&("auto"!==b.st.fixedBgPos||b.fixedContentPos)||b.bgOverlay.css({height:d.height(),position:"absolute"}),b.st.enableEscapeKey&&d.on("keyup"+p,function(a){27===a.keyCode&&b.close()}),v.on("resize"+p,function(){b.updateSize()}),b.st.closeOnContentClick||(f+=" mfp-auto-cursor"),f&&b.wrap.addClass(f);var k=b.wH=v.height(),n={};b.fixedContentPos&&b._hasScrollBar(k)&&((r=b._getScrollbarSize())&&(n.marginRight=r)),b.fixedContentPos&&(b.isIE7?a("body, html").css("overflow","hidden"):n.overflow="hidden");var r=b.st.mainClass;return b.isIE7&&(r+=" mfp-ie7"),r&&b._addClassToMFP(r),b.updateItemHTML(),y("BuildControls"),a("html").css(n),b.bgOverlay.add(b.
2wrap).prependTo(b.st.prependTo||a(document.body)),b._lastFocusedEl=document.activeElement,setTimeout(function(){b.content?(b._addClassToMFP(q),b._setFocus()):b.bgOverlay.addClass(q),d.on("focusin"+p,b._onFocusIn)},16),b.isOpen=!0,b.updateSize(k),y(m),c}b.updateItemHTML()},close:function(){b.isOpen&&(y(i),b.isOpen=!1,b.st.removalDelay&&!b.isLowIE&&b.supportsTransition?(b._addClassToMFP(r),setTimeout(function(){b._close()},b.st.removalDelay)):b._close())},_close:function(){y(h);var e=r+" "+q+" ";b.bgOverlay.detach(),b.wrap.detach(),b.container.empty(),b.st.mainClass&&(e+=b.st.mainClass+" "),b._removeClassFromMFP(e),b.fixedContentPos&&(e={marginRight:""},b.isIE7?a("body, html").css("overflow",""):e.overflow="",a("html").css(e)),d.off("keyup.mfp focusin"+p),b.ev.off(p),b.wrap.attr("class","mfp-wrap").removeAttr("style"),b.bgOverlay.attr("class","mfp-bg"),b.container.attr("class","mfp-container"),!b.st.showCloseBtn||b.st.closeBtnInside&&!0!==b.currTemplate[b.currItem.type]||b.currTemplate.closeBtn&&b.currTemplate.closeBtn.detach(),b.st.autoFocusLast&&b._lastFocusedEl&&a(b._lastFocusedEl).focus(),b.currItem=null,b.content=null,b.currTemplate=null,b.prevHeight=0,y("AfterClose")},updateSize:function(a){var d;b.isIOS?(d=document.documentElement.clientWidth/window.innerWidth,d=window.innerHeight*d,b.wrap.css("height",d),b.wH=d):b.wH=a||v.height(),b.fixedContentPos||b.wrap.css("height",b.wH),y("Resize")},updateItemHTML:function(){var c=b.items[b.index];b.contentContainer.detach(),b.content&&b.content.detach();var d=(c=!c.parsed?b.parseEl(b.index):c).type;y("BeforeChange",[b.currItem?b.currItem.type:"",d]),b.currItem=c,b.currTemplate[d]||(g=!!b.st[d]&&b.st[d].markup,y("FirstMarkupParse",g),b.currTemplate[d]=!g||a(g)),e&&e!==c.type&&b.container.removeClass("mfp-"+e+"-holder");var g=b["get"+d.charAt(0).toUpperCase()+d.slice(1)](c,b.currTemplate[d]);b.appendContent(g,d),c.preloaded=!0,y(n,c),e=c.type,b.container.prepend(b.contentContainer),y("AfterChange")},appendContent:function(a,c){(b.content=a)?b.st.showCloseBtn&&b.st.closeBtnInside&&!0===b.currTemplate[c]?b.content.find(".mfp-close").length||b.content.append(z()):b.content=a:b.content="",y("BeforeAppend"),b.container.addClass("mfp-"+c+"-holder"),b.contentContainer.append(b.content)},parseEl:function(c){var d,e=b.items[c];if((e=e.tagName?{el:a(e)}:(d=e.type,{data:e,src:e.src})).el){for(var f=b.types,g=0;g<f.length;g++)if(e.el.hasClass("mfp-"+f[g])){d=f[g];break}e.src=e.el.attr("data-mfp-src"),e.src||(e.src=e.el.attr("href"))}return e.type=d||b.st.type||"inline",e.index=c,e.parsed=!0,b.items[c]=e,y("ElementParse",e),b.items[c]},addGroup:function(a,c){function d(d){d.mfpEl=this,b._openClick(d,a,c)}var e="click.magnificPopup";(c=c||{}).mainEl=a,c.items?(c.isObj=!0,a.off(e).on(e,d)):(c.isObj=!1,c.delegate?a.off(e).on(e,c.delegate,d):(c.items=a).off(e).on(e,d))},_openClick:function(c,d,e){if((void 0!==e.midClick?e:a.magnificPopup.defaults).midClick||!(2===c.which||c.ctrlKey||c.metaKey||c.altKey||c.shiftKey)){var g=(void 0!==e.disableOn?e:a.magnificPopup.defaults).disableOn;if(g)if(a.isFunction(g)){if(!g.call(b))return!0}else if(v.width()<g)return!0;c.type&&(c.preventDefault(),b.isOpen&&c.stopPropagation()),e.el=a(c.mfpEl),e.delegate&&(e.items=d.find(e.delegate)),b.open(e)}},updateStatus:function(a,d){var e;b.preloader&&(c!==a&&b.container.removeClass("mfp-s-"+c),e={status:a,text:d=!d&&"loading"===a?b.st.tLoading:d},y("UpdateStatus",e),a=e.status,b.preloader.html(d=e.text),b.preloader.find("a").on("click",function(a){a.stopImmediatePropagation()}),b.container.addClass("mfp-s-"+a),c=a)},_checkIfClose:function(c){if(!a(c).hasClass(s)){var d=b.st.closeOnContentClick,e=b.st.closeOnBgClick;if(d&&e)return!0;if(!b.content||a(c).hasClass("mfp-close")||b.preloader&&c===b.preloader[0])return!0;if(c===b.content[0]||a.contains(b.content[0],c)){if(d)return!0}else if(e&&a.contains(document,c))return!0;return!1}},_addClassToMFP:function(a){b.bgOverlay.addClass(a),b.wrap.addClass(a)},_removeClassFromMFP:function(a){this.bgOverlay.removeClass(a),b.wrap.removeClass(a)},_hasScrollBar:function(a){return(b.isIE7?d.height():document.body.scrollHeight)>(a||v.height())},_setFocus:function(){(b.st.focus?b.content.find(b.st.focus).eq(0):b.wrap).focus()},_onFocusIn:function(c){return c.target===b.wrap[0]||a.contains(b.wrap[0],c.target)?void 0:(b._setFocus(),!1)},_parseMarkup:function(b,c,d){var e;d.data&&(c=a.extend(d.data,c)),y(l,[b,c,d]),a.each(c,function(c,d){return void 0===d||!1===d||void(1<(e=c.split("_")).length?0<(f=b.find(p+"-"+e[0])).length&&("replaceWith"===(g=e[1])?f[0]!==d[0]&&f.replaceWith(d):"img"===g?f.is("img")?f.attr("src",d):f.replaceWith(a("<img>").attr("src",d).attr("class",f.attr("class"))):f.attr(e[1],d)):b.find(p+"-"+c).html(d));var f,g})},_getScrollbarSize:function(){var a;return void 0===b.scrollbarSize&&((a=document.createElement("div")).style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(a),b.scrollbarSize=a.offsetWidth-a.clientWidth,document.body.removeChild(a)),b.scrollbarSize}},a.magnificPopup={instance:null,proto:t.prototype,modules:[],open:function(b,c){return A(),(b=b?a.extend(!0,{},b):{}).isObj=!0,b.index=c||0,this.instance.open(b)},close:function(){return a.magnificPopup.instance&&a.magnificPopup.instance.close()},registerModule:function(b,c){c.options&&(a.magnificPopup.defaults[b]=c.options),a.extend(this.proto,c.proto),this.modules.push(b)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&#215;</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},a.fn.magnificPopup=function(c){A();var f,g,e,d=a(this);return"string"==typeof c?"open"===c?(f=u?d.data("magnificPopup"):d[0].magnificPopup,g=parseInt(arguments[1],10)||0,e=f.items?f.items[g]:(e=d,(e=f.delegate?e.find(f.delegate):e).eq(g)),b._openClick({mfpEl:e},d,f)):b.isOpen&&b[c].apply(b,Array.prototype.slice.call(arguments,1
2)):(c=a.extend(!0,{},c),u?d.data("magnificPopup",c):d[0].magnificPopup=c,b.addGroup(d,c)),d};function G(){E&&(D.after(E.addClass(C)).detach(),E=null)}var C,D,E,F="inline";a.magnificPopup.registerModule(F,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){b.types.push(F),w(h+"."+F,function(){G()})},getInline:function(c,d){if(G(),c.src){var g,e=b.st.inline,f=a(c.src);return f.length?((g=f[0].parentNode)&&g.tagName&&(D||(C=e.hiddenClass,D=x(C),C="mfp-"+C),E=f.after(D).detach().removeClass(C)),b.updateStatus("ready")):(b.updateStatus("error",e.tNotFound),f=a("<div>")),c.inlineElement=f}return b.updateStatus("ready"),b._parseMarkup(d,{},c),d}}});function J(){H&&a(document.body).removeClass(H)}function K(){J(),b.req&&b.req.abort()}var H,I="ajax";a.magnificPopup.registerModule(I,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){b.types.push(I),H=b.st.ajax.cursor,w(h+"."+I,K),w("BeforeChange."+I,K)},getAjax:function(c){H&&a(document.body).addClass(H),b.updateStatus("loading");var d=a.extend({url:c.src,success:function(d,e,g){g={data:d,xhr:g};y("ParseAjax",g),b.appendContent(a(g.data),I),c.finished=!0,J(),b._setFocus(),setTimeout(function(){b.wrap.addClass(q)},16),b.updateStatus("ready"),y("AjaxContentAdded")},error:function(){J(),c.finished=c.loadError=!0,b.updateStatus("error",b.st.ajax.tError.replace("%url%",c.src))}},b.st.ajax.settings);return b.req=a.ajax(d),""}}});var L;a.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var c=b.st.image,d=".image";b.types.push("image"),w(m+d,function(){"image"===b.currItem.type&&c.cursor&&a(document.body).addClass(c.cursor)}),w(h+d,function(){c.cursor&&a(document.body).removeClass(c.cursor),v.off("resize"+p)}),w("Resize"+d,b.resizeImage),b.isLowIE&&w("AfterChange",b.resizeImage)},resizeImage:function(){var c,a=b.currItem;a&&a.img&&b.st.image.verticalFit&&(c=0,b.isLowIE&&(c=parseInt(a.img.css("padding-top"),10)+parseInt(a.img.css("padding-bottom"),10)),a.img.css("max-height",b.wH-c))},_onImageHasSize:function(a){a.img&&(a.hasSize=!0,L&&clearInterval(L),a.isCheckingImgSize=!1,y("ImageHasSize",a),a.imgHidden&&(b.content&&b.content.removeClass("mfp-loading"),a.imgHidden=!1))},findImageSize:function(a){var c=0,d=a.img[0],e=function(f){L&&clearInterval(L),L=setInterval(function(){return 0<d.naturalWidth?void b._onImageHasSize(a):(200<c&&clearInterval(L),void(3===++c?e(10):40===c?e(50):100===c&&e(500)))},f)};e(1)},getImage:function(c,d){var j,e=0,f=function(){c&&(c.img[0].complete?(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("ready")),c.hasSize=!0,c.loaded=!0,y("ImageLoadComplete")):++e<200?setTimeout(f,100):g())},g=function(){c&&(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("error",h.tError.replace("%url%",c.src))),c.hasSize=!0,c.loaded=!0,c.loadError=!0)},h=b.st.image,i=d.find(".mfp-img");return i.length&&((j=document.createElement("img")).className="mfp-img",c.el&&c.el.find("img").length&&(j.alt=c.el.find("img").attr("alt")),c.img=a(j).on("load.mfploader",f).on("error.mfploader",g),j.src=c.src,i.is("img")&&(c.img=c.img.clone()),0<(j=c.img[0]).naturalWidth?c.hasSize=!0:j.width||(c.hasSize=!1)),b._parseMarkup(d,{title:function(c){if(c.data&&void 0!==c.data.title)return c.data.title;
2var d=b.st.image.titleSrc;if(d){if(a.isFunction(d))return d.call(b,c);if(c.el)return c.el.attr(d)||""}return""}(c),img_replaceWith:c.img},c),b.resizeImage(),c.hasSize?(L&&clearInterval(L),c.loadError?(d.addClass("mfp-loading"),b.updateStatus("error",h.tError.replace("%url%",c.src))):(d.removeClass("mfp-loading"),b.updateStatus("ready"))):(b.updateStatus("loading"),c.loading=!0,c.hasSize||(c.imgHidden=!0,d.addClass("mfp-loading"),b.findImageSize(c))),d}}});var N;a.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(a){return a.is("img")?a:a.find("img")}},proto:{initZoom:function(){var a,e,f,g,j,k,c=b.st.zoom,d=".zoom";c.enabled&&b.supportsTransition&&(g=c.duration,j=function(f){var b=f.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),d="all "+c.duration/1e3+"s "+c.easing,e={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},f="transition";return e["-webkit-"+f]=e["-moz-"+f]=e["-o-"+f]=e[f]=d,b.css(e),b},k=function(){b.content.css("visibility","visible")},w("BuildControls"+d,function(){b._allowZoom()&&(clearTimeout(e),b.content.css("visibility","hidden"),(a=b._getItemToZoom())?((f=j(a)).css(b._getOffset()),b.wrap.append(f),e=setTimeout(function(){f.css(b._getOffset(!0)),e=setTimeout(function(){k(),setTimeout(function(){f.remove(),a=f=null,y("ZoomAnimationEnded")},16)},g)},16)):k())}),w(i+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.st.removalDelay=g,!a){if(!(a=b._getItemToZoom()))return;f=j(a)}f.css(b._getOffset(!0)),b.wrap.append(f),b.content.css("visibility","hidden"),setTimeout(function(){f.css(b._getOffset())},16)}}),w(h+d,function(){b._allowZoom()&&(k(),f&&f.remove(),a=null)}))},_allowZoom:function(){return"image"===b.currItem.type},_getItemToZoom:function(){return!!b.currItem.hasSize&&b.currItem.img},_getOffset:function(g){var d=g?b.currItem.img:b.st.zoom.opener(b.currItem.el||b.currItem),e=d.offset(),h=parseInt(d.css("padding-top"),10),g=parseInt(d.css("padding-bottom"),10);e.top-=a(window).scrollTop()-h;h={width:d.width(),height:(u?d.innerHeight():d[0].offsetHeight)-g-h};return(N=void 0===N?void 0!==document.createElement("p").style.MozTransform:N)?h["-moz-transform"]=h.transform="translate("+e.left+"px,"+e.top+"px)":(h.left=e.left,h.top=e.top),h}}});function R(a){var c;!b.currTemplate[P]||(c=b.currTemplate[P].find("iframe")).length&&(a||(c[0].src="//about:blank"),b.isIE8&&c.css("display",a?"block":"none"))}var P="iframe";a.magnificPopup.registerModule(P,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){b.types.push(P),w("BeforeChange",function(a,b,c){b!==c&&(b===P?R():c===P&&R(!0))}),w(h+"."+P,function(){R()})},getIframe:function(c,d){var e=c.src,f=b.st.iframe;a.each(f.patterns,function(){return-1<e.indexOf(this.index)?(this.id&&(e="string"==typeof this.id?e.substr(e.lastIndexOf(this.id)+this.id.length,e.length):this.id.call(this,e)),e=this.src.replace("%id%",e),!1):void 0});var g={};return f.srcAction&&(g[f.srcAction]=e),b._parseMarkup(d,g,c),b.updateStatus("ready"),d}}});function S(a){var c=b.items.length;return c-1<a?a-c:a<0?c+a:a}function T(a,b,c){return a.replace(/%curr%/gi,b+1).replace(/%total%/gi,c)}a.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var c=b.st.gallery,e=".mfp-gallery";return b.direction=!0,!(!c||!c.enabled)&&(f+=" mfp-gallery",w(m+e,function(){c.navigateByImgClick&&b.wrap.on("click"+e,".mfp-img",function(){return 1<b.items.length?(b.next(),!1):void 0}),d.on("keydown"+e,function(a){37===a.keyCode?b.prev():39===a.keyCode&&b.next()})}),w("UpdateStatus"+e,function(a,c){c.text&&(c.text=T(c.text,b.currItem.index,b.items.length))}),w(l+e,function(a,d,e,f){var g=b.items.length;e.counter=1<g?T(c.tCounter,f.index,g):""}),w("BuildControls"+e,function(){var e,f;1<b.items.length&&c.arrows&&!b.arrowLeft&&(f=c.arrowMarkup,e=b.arrowLeft=a(f.replace(/%title%/gi,c.tPrev).replace(/%dir%/gi,"left")).addClass(s),f=b.arrowRight=a(f.replace(/%title%/gi,c.tNext).replace(/%dir%/gi,"right")).addClass(s),e.click(function(){b.prev()}),f.click(function(){b.next()}),b.container.append(e.add(f)))}),w(n+e,function(){b._preloadTimeout&&clearTimeout(b._preloadTimeout),b._preloadTimeout=setTimeout(function(){b.preloadNearbyImages(),b._preloadTimeout=null},16)}),void w(h+e,function(){d.off(e),b.wrap.off("click"+e),b.arrowRight=b.arrowLeft=null}))},next:function(){b.direction=!0,b.index=S(b.index+1),b.updateItemHTML()},prev:function(){b.direction=!1,b.index=S(b.index-1),b.updateItemHTML()},goTo:function(a){b.direction=a>=b.index,b.index=a,b.updateItemHTML()},preloadNearbyImages:function(){for(var c=b.st.gallery.preload,d=Math.min(c[0],b.items.length),e=Math.min(c[1],b.items.length),a=1;a<=(b.direction?e:d);a++)b._preloadItem(b.index+a);for(a=1;a<=(b.direction?d:e);a++)b._preloadItem(b.index-a)},_preloadItem:function(c){var d;c=S(c),b.items[c].preloaded||((d=b.items[c]).parsed||(d=b.parseEl(c)),y("LazyLoad",d),"image"===d.type&&(d.img=a('<img class="mfp-img" />').on("load.mfploader",function(){d.hasSize=!0}).on("error.mfploader",function(){d.hasSize=!0,d.loadError=!0,y("LazyLoadError",d)}
2).attr("src",d.src)),d.preloaded=!0)}}});var U="retina";a.magnificPopup.registerModule(U,{options:{replaceSrc:function(a){return a.src.replace(/\.\w+$/,function(a){return"@2x"+a})},ratio:1},proto:{initRetina:function(){var a,c;1<window.devicePixelRatio&&(a=b.st.retina,c=a.ratio,1<(c=isNaN(c)?c():c)&&(w("ImageHasSize."+U,function(a,b){b.img.css({"max-width":b.img[0].naturalWidth/c,width:"100%"})}),w("ElementParse."+U,function(b,d){d.src=a.replaceSrc(d,c)})))}}}),A()});;
3!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.AOS=t()}(this,function(){"use strict";function b(){return l.Date.now()}var A="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t="Expected a function",n=NaN,o="[object Symbol]",i=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,r=/^0b[01]+$/i,c=/^0o[0-7]+$/i,s=parseInt,u="object"==typeof A&&A&&A.Object===Object&&A,C="object"==typeof self&&self&&self.Object===Object&&self,l=u||C||Function("return this")(),f=Object.prototype.toString,m=Math.max,p=Math.min;function g(e){var t=typeof e;return e&&("object"==t||"function"==t)}function w(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return e&&"object"==typeof e}(e)&&f.call(e)==o}(e))return n;if("string"!=typeof(e=g(e)?g(u="function"==typeof e.valueOf?e.valueOf():e)?u+"":u:e))return 0===e?e:+e;e=e.replace(i,"");var u=r.test(e);return u||c.test(e)?s(e.slice(2),u?2:8):a.test(e)?n:+e}function y(e,n,o){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError(t);return g(o)&&(i="leading"in o?!!o.leading:i,a="trailing"in o?!!o.trailing:a),function(e,n,o){var i,a,r,c,s,u,d=0,l=!1,f=!1,v=!0;if("function"!=typeof e)throw new TypeError(t);function y(t){var n=i,o=a;return i=a=void 0,d=t,c=e.apply(o,n)}function h(e){var t=e-u;return void 0===u||n<=t||t<0||f&&r<=e-d}function k(){var e=b();if(h(e))return x(e);s=setTimeout(k,function(e){var t=n-(e-u);return f?p(t,r-(e-d)):t}(e))}function x(e){return s=void 0,v&&i?y(e):(i=a=void 0,c)}function O(){var e=b(),t=h(e);if(i=arguments,a=this,u=e,t){if(void 0===s)return function(e){return d=e,s=setTimeout(k,n),l?y(e):c}(u);if(f)return s=setTimeout(k,n),y(u)}return void 0===s&&(s=setTimeout(k,n)),c}return n=w(n)||0,g(o)&&(l=!!o.leading,r=(f="maxWait"in o)?m(w(o.maxWait)||0,n):r,v="trailing"in o?!!o.trailing:v),O.cancel=function(){void 0!==s&&clearTimeout(s),i=u=a=s=void(d=0)},O.flush=function(){return void 0===s?c:x(b())},O}(e,n,{leading:i,maxWait:n,trailing:a})}function S(){return q.Date.now()}var O=/^\s+|\s+$/g,j=/^[-+]0x[0-9a-f]+$/i,E=/^0b[01]+$/i,N=/^0o[0-7]+$/i,z=parseInt,C="object"==typeof A&&A&&A.Object===Object&&A,A="object"==typeof self&&self&&self.Object===Object&&self,q=C||A||Function("return this")(),L=Object.prototype.toString,T=Math.max,M=Math.min;function D(e){var t=typeof e;return e&&("object"==t||"function"==t)}function H(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return e&&"object"==typeof e}(e)&&"[object Symbol]"==L.call(e)}(e))return NaN;if("string"!=typeof(e=D(e)?D(n="function"==typeof e.valueOf?e.valueOf():e)?n+"":n:e))return 0===e?e:+e;e=e.replace(O,"");var n=E.test(e);return n||N.test(e)?z(e.slice(2),n?2:8):j.test(e)?NaN:+e}function $(e,t,n){var o,i,a,r,c,s,u=0,d=!1,l=!1,f=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function m(t){var n=o,a=i;return o=i=void 0,u=t,r=e.apply(a,n)}function p(e){var n=e-s;return void 0===s||t<=n||n<0||l&&a<=e-u}function b(){var e=S();if(p(e))return v(e);c=setTimeout(b,function(e){var n=t-(e-s);return l?M(n,a-(e-u)):n}(e))}function v(e){return c=void 0,f&&o?m(e):(o=i=void 0,r)}function g(){var e=S(),n=p(e);if(o=arguments,i=this,s=e,n){if(void 0===c)return function(e){return u=e,c=setTimeout(b,t),d?m(e):r}(s);if(l)return c=setTimeout(b,t),m(s)}return void 0===c&&(c=setTimeout(b,t)),r}return t=H(t)||0,D(n)&&(d=!!n.leading,a=(l="maxWait"in n)?T(H(n.maxWait)||0,t):a,f="trailing"in n?!!n.trailing:f),g.cancel=function(){void 0!==c&&clearTimeout(c),o=s=i=c=void(u=0)},g.flush=function(){return void 0===c?r:v(S())},g}var W=function(){};function P(e){e&&e.forEach(function(n){var t=Array.prototype.slice.call(n.addedNodes),n=Array.prototype.slice.call(n.removedNodes
3);if(function e(t){for(var o,n=void 0,n=0;n<t.length;n+=1){if((o=t[n]).dataset&&o.dataset.aos)return 1;if(o.children&&e(o.children))return 1}}(t.concat(n)))return W()})}function Y(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}var __isSupported=function(){return!!Y()},__ready=function(e,t){var n=window.document,o=new(Y())(P);W=t,o.observe(n.documentElement,{childList:!0,subtree:!0,removedNodes:!0})},B=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},F=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),I=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o,n=arguments[t];for(o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},K=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,G=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,J=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,Q=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|
3sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i;function R(){return navigator.userAgent||navigator.vendor||window.opera||""}function V(e,t){var n=void 0;return U.ie11()?(n=document.createEvent("CustomEvent")).initCustomEvent(e,!0,!0,{detail:t}):n=new CustomEvent(e,{detail:t}),document.dispatchEvent(n)}function X(e){return e.forEach(function(e,t){return function(e,t){var n=e.options,o=e.position,i=e.node,a=(e.data,function(){e.animated&&(function(e,t){t&&t.forEach(function(t){return e.classList.remove(t)})}(i,n.animatedClassNames),V("aos:out",i),e.options.id&&V("aos:in:"+e.options.id,i),e.animated=!1)});n.mirror&&t>=o.out&&!n.once?a():t>=o.in?e.animated||(function(e,t){t&&t.forEach(function(t){return e.classList.add(t)})}(i,n.animatedClassNames),V("aos:in",i),e.options.id&&V("aos:in:"+e.options.id,i),e.animated=!0):e.animated&&!n.once&&a()}(e,window.pageYOffset)})}function Z(e){for(var t=0,n=0;e&&!isNaN(e.offsetLeft)&&!isNaN(e.offsetTop);)t+=e.offsetLeft-("BODY"!=e.tagName?e.scrollLeft:0),n+=e.offsetTop-("BODY"!=e.tagName?e.scrollTop:0),e=e.offsetParent;return{top:n,left:t}}function ee(e,o,n){if(void 0!==(o=e.getAttribute("data-aos-"+o))){if("true"===o)return!0;if("false"===o)return!1}return o||n}function ne(){var e=document.querySelectorAll("[data-aos]");return Array.prototype.map.call(e,function(e){return{node:e}})}function re(){return document.all&&!window.atob}function ce(){var e,t;(ie=0<arguments.length&&void 0!==arguments[0]&&arguments[0]?!0:ie)&&(t=ae,(e=oe).forEach(function(e,n){var o=ee(e.node,"mirror",t.mirror),i=ee(e.node,"once",t.once),a=ee(e.node,"id"),c=t.useClassNames&&e.node.getAttribute("data-aos"),c=[t.animatedClassName].concat(c?c.split(" "):[]).filter(function(e){return"string"==typeof e});t.initClassName&&e.node.classList.add(t.initClassName),e.position={in:function(e,r,c){var o=window.innerHeight,i=ee(e,"anchor"),a=ee(e,"anchor-placement"),r=Number(ee(e,"offset",a?0:r)),c=a||c,s=e;i&&document.querySelectorAll(i)&&(s=document.querySelectorAll(i)[0]);var u=Z(s).top-o;switch(c){case"top-bottom":break;case"center-bottom":u+=s.offsetHeight/2;break;case"bottom-bottom":u+=s.offsetHeight;break;case"top-center":u+=o/2;break;case"center-center":u+=o/2+s.offsetHeight/2;break;case"bottom-center":u+=o/2+s.offsetHeight;break;case"top-top":u+=o;break;case"bottom-top":u+=o+s.offsetHeight;break;case"center-top":u+=o+s.offsetHeight/2}return u+r}(e.node,t.offset,t.anchorPlacement),out:o&&function(i,o){window.innerHeight;var n=ee(i,"anchor"),o=ee(i,"offset",o),i=i;return n&&document.querySelectorAll(n)&&(i=document.querySelectorAll(n)[0]),Z(i).top+i.offsetHeight-o}(e.node,t.offset)},e.options={once:i,mirror:o,animatedClassNames:c,id:a}}),X(oe=e),window.addEventListener("scroll",y(function(){X(oe,ae.once)},ae.throttleDelay)))}function se(){if(oe=ne(),de(ae.disable)||re())return ue();ce()}var U=new(function(){function e(){B(this,e)}return F(e,[{key:"phone",value:function(){var e=R();return!(!K.test(e)&&!G.test(e.substr(0,4)))}},{key:"mobile",value:function(){var e=R();return!(!J.test(e)&&!Q.test(e.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}},{key:"ie11",value:function(){return"-ms-scroll-limit"in document.documentElement.style&&"-ms-ime-align"in document.documentElement.style}}]),e}()),oe=[],ie=!1,ae={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,mirror:!1,anchorPlacement:"top-bottom",startEvent:"DOMContentLoaded",animatedClassName:"aos-animate",initClassName:"aos-init",useClassNames:!1,disableMutationObserver:!1,throttleDelay:99,debounceDelay:50},ue=function(){oe.forEach(function(e,t){e.node.removeAttribute("data-aos"),e.node.removeAttribute("data-aos-easing"),e.node.removeAttribute("data-aos-duration"),e.node.removeAttribute("data-aos-delay"),ae.initClassName&&e.node.classList.remove(ae.initClassName),ae.animatedClassName&&e.node.classList.remove(ae.animatedClassName)})},de=function(e){return!0===e||"mobile"===e&&U.mobile()||"phone"===e&&U.phone()||"tablet"===e&&U.tablet()||"function"==typeof e&&!0===e()};return{init:function(e){return ae=I(ae,e),oe=ne(),ae.disableMutationObserver||__isSupported()||(console.info('\n      aos: MutationObserver is not supported on this browser,\n      code mutations observing has been disabled.\n      You may have to call "refreshHard()" by yourself.\n    '),ae.disableMutationObserver=!0),ae.disableMutationObserver||__ready("[data-aos]",se),de(ae.disable)||re()?ue():(document.querySelector("body").setAttribute("data-aos-easing",ae.easing),document.querySelector("body").setAttribute("data-aos-duration",ae.duration),document.querySelector("body").setAttribute("data-aos-delay",ae.delay),-1===["DOMContentLoaded","load"].indexOf(ae.startEvent)?document.addEventListener(ae.startEvent,function(){ce(!0)}):window.addEventListener("load",function(){ce(!0)}
3),"DOMContentLoaded"===ae.startEvent&&-1<["complete","interactive"].indexOf(document.readyState)&&ce(!0),window.addEventListener("resize",$(ce,ae.debounceDelay,!0)),window.addEventListener("orientationchange",$(ce,ae.debounceDelay,!0)),oe)},refresh:ce,refreshHard:se}});;
4var $jscomp={scope:{}};$jscomp.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(e,r,p){if(p.get||p.set)throw new TypeError("ES3 does not support getters and setters.");e!=Array.prototype&&e!=Object.prototype&&(e[r]=p.value)},$jscomp.getGlobal=function(e){return("undefined"==typeof window||window!==e)&&"undefined"!=typeof global&&null!=global?global:e},$jscomp.global=$jscomp.getGlobal(this),$jscomp.SYMBOL_PREFIX="jscomp_symbol_",$jscomp.initSymbol=function(){$jscomp.initSymbol=function(){},$jscomp.global.Symbol||($jscomp.global.Symbol=$jscomp.Symbol)},$jscomp.symbolCounter_=0,$jscomp.Symbol=function(e){return $jscomp.SYMBOL_PREFIX+(e||"")+$jscomp.symbolCounter_++},$jscomp.initSymbolIterator=function(){$jscomp.initSymbol();var e=(e=$jscomp.global.Symbol.iterator)||($jscomp.global.Symbol.iterator=$jscomp.global.Symbol("iterator"));"function"!=typeof Array.prototype[e]&&$jscomp.defineProperty(Array.prototype,e,{configurable:!0,writable:!0,value:function(){return $jscomp.arrayIterator(this)}}),$jscomp.initSymbolIterator=function(){}},$jscomp.arrayIterator=function(e){var r=0;return $jscomp.iteratorPrototype(function(){return r<e.length?{done:!1,value:e[r++]}:{done:!0}})},$jscomp.iteratorPrototype=function(e){return $jscomp.initSymbolIterator(),(e={next:e})[$jscomp.global.Symbol.iterator]=function(){return this},e},$jscomp.array=$jscomp.array||{},$jscomp.iteratorFromArray=function(e,r){$jscomp.initSymbolIterator(),e instanceof String&&(e+="");var p=0,m={next:function(){if(p<e.length){var u=p++;return{value:r(u,e[u]),done:!1}}return m.next=function(){return{done:!0,value:void 0}},m.next()}};return m[Symbol.iterator]=function(){return m},m},$jscomp.polyfill=function(e,r,p,m){if(r){for(p=$jscomp.global,e=e.split("."),m=0;m<e.length-1;m++){var u=e[m];u in p||(p[u]={}),p=p[u]}(r=r(m=p[e=e[e.length-1]]))!=m&&null!=r&&$jscomp.defineProperty(p,e,{configurable:!0,writable:!0,value:r})}},$jscomp.polyfill("Array.prototype.keys",function(e){return e||function(){return $jscomp.iteratorFromArray(this,function(e){return e})}},"es6-impl","es3");var $jscomp$this=this;!function(e,r){"function"==typeof define&&define.amd?define([],r):"object"==typeof module&&module.exports?module.exports=r():e.anime=r()}(this,function(){function e(a){if(!h.col(a))try{return document.querySelectorAll(a)}catch(c){}}function r(a,c){for(var k,d=a.length,b=2<=arguments.length?c:void 0,f=[],n=0;n<d;n++)n in a&&(k=a[n],c.call(b,k,n,a)&&f.push(k));return f}function p(a){return a.reduce(function(a,d){return a.concat(h.arr(d)?p(d):d)},[])}function m(a){return h.arr(a)?a:(a=h.str(a)?e(a)||a:a)instanceof NodeList||a instanceof HTMLCollection?[].slice.call(a):[a]}function u(a,c){return a.some(function(a){return a===c})}function C(a){var d,c={};for(d in a)c[d]=a[d];return c}function D(a,c){var b,d=C(a);for(b in a)d[b]=(c.hasOwnProperty(b)?c:a)[b];return d}function z(a,c){var b,d=C(a);for(b in c)d[b]=(h.und(a[b])?c:a)[b];return d}function y(a){if(a=/([\+\-]?[0-9#\.]+)(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(a))return a[2]}function I(a,c){return h.fnc(a)?a(c.target,c.id,c.total):a}function E(a,c){if(c in a.style)return getComputedStyle(a).getPropertyValue(c.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase())||"0"}function J(a,c){return h.dom(a)&&u(W,c)?"transform":h.dom(a)&&(a.getAttribute(c)||h.svg(a)&&a[c])?"attribute":h.dom(a)&&"transform"!==c&&E(a,c)?"css":null!=a[c]?"object":void 0}function K(a,c){switch(J(a,c)){case"transform":return function(a,c){var d=function(a){return-1<a.indexOf("translate")||"perspective"===a?"px":-1<a.indexOf("rotate")||-1<a.indexOf("skew")?"deg":void 0}(c),d=-1<c.indexOf("scale")?1:0+d;if(!(a=a.style.transform))return d;for(var b,f=[],n=[],k=/(\w+)\((.+?)\)/g;b=k.exec(a);)f.push(b[1]),n.push(b[2]);return(a=r(n,function(a,b){return f[b]===c})).length?a[0]:d}(a,c);case"css":return E(a,c);case"attribute":return a.getAttribute(c)}return a[c]||0}function L(a,c){var d=/^(\*=|\+=|-=)/.exec(a);if(!d)return a;var b=y(a)||0;switch(c=parseFloat(c),a=parseFloat(a.replace(d[0],"")),d[0][0]){case"+":return c+a+b;case"-":return c-a+b;case"*":return c*a+b}}function F(a,c){return Math.sqrt(Math.pow(c.x-a.x,2)+Math.pow(c.y-a.y,2))}function M(a){a=a.points;for(var d,c=0,b=0;b<a.numberOfItems;b++){var f=a.getItem(b);0<b&&(c+=F(d,f)),d=f}return c}function N(a){if(a.getTotalLength)return a.getTotalLength();switch(a.tagName.toLowerCase()){case"circle":return 2*Math.PI*a.getAttribute("r");
4case"rect":return 2*a.getAttribute("width")+2*a.getAttribute("height");case"line":return F({x:a.getAttribute("x1"),y:a.getAttribute("y1")},{x:a.getAttribute("x2"),y:a.getAttribute("y2")});case"polyline":return M(a);case"polygon":var c=a.points;return M(a)+F(c.getItem(c.numberOfItems-1),c.getItem(0))}}function O(a,c){var f,b,d=/-?\d*\.?\d+/g;return b=h.pth(a)?a.totalLength:a,b=h.col(b)?h.rgb(b)?(f=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(b))?"rgba("+f[1]+",1)":b:h.hex(b)?function(a){a=a.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(a,c,d,k){return c+c+d+d+k+k});var c=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(a);return"rgba("+(a=parseInt(c[1],16))+","+parseInt(c[2],16)+","+(c=parseInt(c[3],16))+",1)"}(b):h.hsl(b)?function(a){function c(a,c,b){return b<0&&(b+=1),1<b&&--b,b<1/6?a+6*(c-a)*b:b<.5?c:b<2/3?a+(c-a)*(2/3-b)*6:a}var d=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(a)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(a);a=parseInt(d[1])/360;var n,k,b=parseInt(d[2])/100,f=parseInt(d[3])/100,d=d[4]||1;return 0==b?f=b=a=f:(f=c(k=2*f-(n=f<.5?f*(1+b):f+b-f*b),n,a+1/3),b=c(k,n,a),a=c(k,n,a-1/3)),"rgba("+255*f+","+255*b+","+255*a+","+d+")"}(b):void 0:(f=(f=y(b))?b.substr(0,b.length-f.length):b,c&&!/\s/g.test(b)?f+c:f),{original:b+="",numbers:b.match(d)?b.match(d).map(Number):[0],strings:h.str(a)||c?b.split(d):[]}}function P(a){return r(a=a?p(h.arr(a)?a.map(m):m(a)):[],function(a,d,b){return b.indexOf(a)===d})}function da(a,c){var d;return a.tweens.map(function(b){var f=(b=function(a,c){var b,d={};for(b in a){var f=I(a[b],c);h.arr(f)&&(1===(f=f.map(function(a){return I(a,c)})).length&&(f=f[0])),d[b]=f}return d.duration=parseFloat(d.duration),d.delay=parseFloat(d.delay),d}(b,c)).value,e=K(c.target,a.name),k=d?d.to.original:e,k=h.arr(f)?f[0]:k,w=L(h.arr(f)?f[1]:f,k),e=y(w)||y(k)||y(e);return b.from=O(k,e),b.to=O(w,e),b.start=d?d.end:a.offset,b.end=b.start+b.delay+b.duration,b.easing=function(a){return h.arr(a)?A.apply(this,a):Q[a]}(b.easing),b.elasticity=(1e3-Math.min(Math.max(b.elasticity,1),999))/1e3,b.isPath=h.pth(f),b.isColor=h.col(b.from.original),b.isColor&&(b.round=1),d=b})}function R(a,c,d,b){var f="delay"===a;return c.length?(f?Math.min:Math.max).apply(Math,c.map(function(b){return b[a]}
4)):f?b.delay:d.offset+b.delay+b.duration}function fa(a){var k,c=D(ga,a),d=D(S,a),b=function(a){var c=P(a);return c.map(function(a,b){return{target:a,id:b,total:c.length}})}(a.targets),f=[],e=z(c,d);for(k in a)e.hasOwnProperty(k)||"targets"===k||f.push({name:k,offset:e.offset,tweens:function(a,c){var b,d=C(c);return h.arr(a)&&(2!==(b=a.length)||h.obj(a[0])?h.fnc(c.duration)||(d.duration=c.duration/b):a={value:a}),m(a).map(function(a,b){return b=b?0:c.delay,a=h.obj(a)&&!h.pth(a)?a:{value:a},h.und(a.delay)&&(a.delay=b),a}).map(function(a){return z(a,d)})}(a[k],d)});return a=function(a,c){return r(p(a.map(function(a){return c.map(function(b){var d,c=J(a.target,b.name);return b=c?(d=da(b,a),{type:c,property:b.name,animatable:a,tweens:d,duration:d[d.length-1].end,delay:d[0].delay}):void 0})})),function(a){return!h.und(a)})}(b,f),z(c,{children:[],animatables:b,animations:a,duration:R("duration",a,c,d),delay:R("delay",a,c,d)})}function q(a){function c(){return window.Promise&&new Promise(function(a){return p=a})}function d(a){return g.reversed?g.duration-a:a}function b(a){for(var b=0,c={},d=g.animations,f=d.length;b<f;){var e=d[b],k=e.animatable,l=(h=e.tweens)[n=h.length-1];n&&(l=r(h,function(b){return a<b.end})[0]||l);for(var h=Math.min(Math.max(a-l.start-l.delay,0),l.duration)/l.duration,w=isNaN(h)?1:l.easing(h,l.elasticity),h=l.to.strings,p=l.round,n=[],m=void 0,m=l.to.numbers.length,t=0;t<m;t++){var x=void 0,x=l.to.numbers[t],q=l.from.numbers[t],x=l.isPath?function(a,c){function d(b){return a.el.getPointAtLength(1<=c+(b=void 0===b?0:b)?c+b:0)}var b=d(),f=d(-1),n=d(1);switch(a.property){case"x":return b.x;case"y":return b.y;case"angle":return 180*Math.atan2(n.y-f.y,n.x-f.x)/Math.PI}}(l.value,w*x):q+w*(x-q);p&&(l.isColor&&2<t||(x=Math.round(x*p)/p)),n.push(x)}if(l=h.length)for(m=h[0],w=0;w<l;w++)p=h[w+1],t=n[w],isNaN(t)||(m=p?m+(t+p):m+(t+" "));else m=n[0];ha[e.type](k.target,e.property,m,c,k.id),e.currentValue=m,b++}if(b=Object.keys(c).length)for(d=0;d<b;d++)H=H||(E(document.body,"transform")?"transform":"-webkit-transform"),g.animatables[d].target.style[H]=c[d].join(" ");g.currentTime=a,g.progress=a/g.duration*100}function f(a){g[a]&&g[a](g)}function e(){g.remaining&&!0!==g.remaining&&g.remaining--}function k(a){var k=g.duration,n=g.offset,w=n+g.delay,r=g.currentTime,x=g.reversed,q=d(a);if(g.children.length){var u=g.children,v=u.length;if(q>=g.currentTime)for(var G=0;G<v;G++)u[G].seek(q);else for(;v--;)u[v].seek(q)}(w<=q||!k)&&(g.began||(g.began=!0,f("begin")),f("run")),n<q&&q<k?b(q):(q<=n&&0!==r&&(b(0),x&&e()),(k<=q&&r!==k||!k)&&(b(k),x||e())),f("update"),k<=a&&(g.remaining?(t=h,"alternate"===g.direction&&(g.reversed=!g.reversed)):(g.pause(),g.completed||(g.completed=!0,f("complete"),"Promise"in window&&(p(),m=c()))),l=0)}a=void 0===a?{}:a;var h,t,l=0,p=null,m=c(),g=fa(a);return g.reset=function(){var a=g.direction,c=g.loop;for(g.currentTime=0,g.progress=0,g.paused=!0,g.began=!1,g.completed=!1,g.reversed="reverse"===a,g.remaining="alternate"===a&&1===c?2:c,b(0),a=g.children.length;a--;)g.children[a].reset()},g.tick=function(a){k((l+(h=a)-(t=t||h))*q.speed)},g.seek=function(a){k(d(a))},g.pause=function(){var a=v.indexOf(g);-1<a&&v.splice(a,1),g.paused=!0},g.play=function(){g.paused&&(g.paused=!1,t=0,l=d(g.currentTime),v.push(g),B||ia())},g.reverse=function(){g.reversed=!g.reversed,t=0,l=d(g.currentTime)},g.restart=function(){g.pause(),g.reset(),g.play()},g.finished=m,g.reset(),g.autoplay&&g.play(),g}var H,ga={update:void 0,begin:void 0,run:void 0,complete:void 0,loop:1,direction:"normal",autoplay:!0,offset:0},S={duration:1e3,delay:0,easing:"easeOutElastic",elasticity:500,round:0},W="translateX translateY translateZ rotate rotateX rotateY rotateZ scale scaleX scaleY scaleZ skewX skewY perspective".split(" "),h={arr:function(a){return Array.isArray(a)},obj:function(a){return-1<Object.prototype.toString.call(a).indexOf("Object")},pth:function(a){return h.obj(a)&&a.hasOwnProperty("totalLength")},svg:function(a){return a instanceof SVGElement},dom:function(a){return a.nodeType||h.svg(a)},str:function(a){return"string"==typeof a},fnc:function(a){return"function"==typeof a},und:function(a){return void 0===a},hex:function(a){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(a)},rgb:function(a){return/^rgb/.test(a)},hsl:function(a){return/^hsl/.test(a)},col:function(a){return h.hex(a)||h.rgb(a)||h.hsl(a)}},A=function(c,d,b,f){if(0<=c&&c<=1&&0<=b&&b<=1){var e=new Float32Array(11);if(c!==d||b!==f)for(var k=0;k<11;++k)e[k]=a(.1*k,c,b);return function(k){if(c===d&&b===f)return k;if(0===k)return 0;if(1===k)return 1;for(var h=0,l=1;10!==l&&e[l]<=k;++l)h+=.1;var l=h+(k-e[--l])/(e[l+1]-e[l])*.1,n=3*(1-3*b+3*c)*l*l+2*(3*b-6*c)*l+3*c;if(.001<=n){for(h=0;h<4&&0!==(n=3*(1-3*b+3*c)*l*l+2*(3*b-6*c)*l+3*c);++h)var m=a(l,c,b)-k,l=l-m/n;k=l}else if(0===n)k=l;else{for(var l=h,h=h+.1,g=0;0<(n=a(m=l+(h-l)/2,c,b)-k)?h=m:l=m,1e-7<Math.abs(n)&&++g<10;);k=m}return a(k,d,f)}}},Q=function(){function a(a,b){return 0===a||1===a?a:-Math.pow(2,10*(a-1))*Math.sin(2*(a-1-b/(2*Math.PI)*Math.asin(1))*Math.PI/b)}var e,c="Quad Cubic Quart Quint Sine Expo Circ Back Elastic".split(" "),d={In:[[.55,.085,.68,.53],[.55,.055,.675,.19],[.895,.03,.685,.22],[.755,.05,.855,.06],[.47,0,.745,.715],[.95,.05,.795,.035],[.6,.04,.98,.335],[.6,-.28,.735,.045],a],Out:[[.25,.46,.45,.94],[.215,.61,.355,1],[.165,.84,.44,1],[.23,1,.32,1],[.39,.575,.565,1],[.19,1,.22,1],[.075,.82,.165,1],[.175,.885,.32,1.275],function(b,c){return 1-a(1-b,c)}],InOut:[[.455,.03,.515,.955],[.645,.045,.355,1],[.77,0,.175,1],[.86,0,.07,1],[.445,.05,.55,.95],[1,0,0,1],[.785,.135,.15,.86],[.68,-.55,.265,1.55],function(b,c){return b<.5?a(2*b,c)/2:1-a(-2*b+2,c)/2}]},b={linear:A(.25,.25,.75,.75)},f={};for(e in d)f.type=e,d[f.type].forEach(function(a){return function(d,f){b["ease"+a.type+c[f]]=h.fnc(d)?d:A.apply($jscomp$this,d)}}(f)),f={type:f.type};return b}(),ha={css:function(a,c,d){return a.style[c]=d},attribute:function(a,c,d){return a.setAttribute(c,d)},object:function(a,c,d){return a[c]=d},transform:function(a,c,d,b,f){b[f]||(b[f]=[]),b[f].push(c+"("+d+")")}},v=[],B=0,ia=function(){function a(){B=requestAnimationFrame(c)}function c(c){var b=v.length;if(b){for(var d=0;d<b;)v[d]&&v[d].tick(c),d++;a()}else cancelAnimationFrame(B),B=0}return a}();function a(a,d,b){return(((1-3*b+3*d)*a+(3*b-6*d))*a+3*d)*a}return q.version="2.2.0",q.speed=1,q.running=v,q.remove=function(a){a=P(
4a);for(var c=v.length;c--;)for(var d=v[c],b=d.animations,f=b.length;f--;)u(a,b[f].animatable.target)&&(b.splice(f,1),b.length||d.pause())},q.getValue=K,q.path=function(a,c){var d=h.str(a)?e(a)[0]:a,b=c||100;return function(a){return{el:d,property:a,totalLength:N(d)*(b/100)}}},q.setDashoffset=function(a){var c=N(a);return a.setAttribute("stroke-dasharray",c),c},q.bezier=A,q.easings=Q,q.timeline=function(a){var c=q(a);return c.pause(),c.duration=0,c.add=function(d){return c.children.forEach(function(a){a.began=!0,a.completed=!0}),m(d).forEach(function(b){var d=z(b,D(S,a||{}));d.targets=d.targets||a.targets,b=c.duration;var e=d.offset;d.autoplay=!1,d.direction=c.direction,d.offset=h.und(e)?b:L(e,b),c.began=!0,c.completed=!0,c.seek(d.offset),(d=q(d)).began=!0,d.completed=!0,d.duration>b&&(c.duration=d.duration),c.children.push(d)}),c.seek(0),c.reset(),c.autoplay&&c.restart(),c},c},q.random=function(a,c){return Math.floor(Math.random()*(c-a+1))+a},q});;
5!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.StickySidebar=e()}(this,function(){"use strict";function t(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function e(t,e){return t(e={exports:{}},e.exports),e.exports}var i=e(function(t,e){!function(t){Object.defineProperty(t,"__esModule",{value:!0});var l,n,i=function(){function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}}(),i=(n={topSpacing:0,bottomSpacing:0,containerSelector:!(l=".stickySidebar"),innerWrapperSelector:".inner-wrapper-sticky",stickyClass:"is-affixed",resizeSensor:!0,minWidth:!1},i(c,[{key:"initialize",value:function(){var i=this;if(this._setSupportFeatures(),this.options.innerWrapperSelector&&(this.sidebarInner=this.sidebar.querySelector(this.options.innerWrapperSelector),null===this.sidebarInner&&(this.sidebarInner=!1)),!this.sidebarInner){var t=document.createElement("div");for(t.setAttribute("class","inner-wrapper-sticky"),this.sidebar.appendChild(t);this.sidebar.firstChild!=t;)t.appendChild(this.sidebar.firstChild);this.sidebarInner=this.sidebar.querySelector(".inner-wrapper-sticky")}if(this.options.containerSelector){var e=document.querySelectorAll(this.options.containerSelector);
5if((e=Array.prototype.slice.call(e)).forEach(function(t,e){t.contains(i.sidebar)&&(i.container=t)}),!e.length)throw new Error("The container does not contains on the sidebar.")}"function"!=typeof this.options.topSpacing&&(this.options.topSpacing=parseInt(this.options.topSpacing)||0),"function"!=typeof this.options.bottomSpacing&&(this.options.bottomSpacing=parseInt(this.options.bottomSpacing)||0),this._widthBreakpoint(),this.calcDimensions(),this.stickyPosition(),this.bindEvents(),this._initialized=!0}},{key:"bindEvents",value:function(){window.addEventListener("resize",this,{passive:!0,capture:!1}),window.addEventListener("scroll",this,{passive:!0,capture:!1}),this.sidebar.addEventListener("update"+l,this),this.options.resizeSensor&&"undefined"!=typeof ResizeSensor&&(new ResizeSensor(this.sidebarInner,this.handleEvent),new ResizeSensor(this.container,this.handleEvent))}},{key:"handleEvent",value:function(t){this.updateSticky(t)}},{key:"calcDimensions",value:function(){var t;this._breakpoint||((t=this.dimensions).containerTop=c.offsetRelative(this.container).top,t.containerHeight=this.container.clientHeight,t.containerBottom=t.containerTop+t.containerHeight,t.sidebarHeight=this.sidebarInner.offsetHeight,t.sidebarWidth=this.sidebarInner.offsetWidth,t.viewportHeight=window.innerHeight,t.maxTranslateY=t.containerHeight-t.sidebarHeight,this._calcDimensionsWithScroll())}},{key:"_calcDimensionsWithScroll",value:function(){var t=this.dimensions;t.sidebarLeft=c.offsetRelative(this.sidebar).left,t.viewportTop=document.documentElement.scrollTop||document.body.scrollTop,t.viewportBottom=t.viewportTop+t.viewportHeight,t.viewportLeft=document.documentElement.scrollLeft||document.body.scrollLeft,t.topSpacing=this.options.topSpacing,t.bottomSpacing=this.options.bottomSpacing,"function"==typeof t.topSpacing&&(t.topSpacing=parseInt(t.topSpacing(this.sidebar))||0),"function"==typeof t.bottomSpacing&&(t.bottomSpacing=parseInt(t.bottomSpacing(this.sidebar))||0),"VIEWPORT-TOP"===this.affixedType?t.topSpacing<t.lastTopSpacing&&(t.translateY+=t.lastTopSpacing-t.topSpacing,this._reStyle=!0):"VIEWPORT-BOTTOM"===this.affixedType&&t.bottomSpacing<t.lastBottomSpacing&&(t.translateY+=t.lastBottomSpacing-t.bottomSpacing,this._reStyle=!0),t.lastTopSpacing=t.topSpacing,t.lastBottomSpacing=t.bottomSpacing}},{key:"isSidebarFitsViewport",value:function(){var e=this.dimensions,e="down"===this.scrollDirection?e.lastBottomSpacing:e.lastTopSpacing;return this.dimensions.sidebarHeight+e<this.dimensions.viewportHeight}},{key:"observeScrollDir",value:function(){var e,t=this.dimensions;t.lastViewportTop!==t.viewportTop&&(e="down"===this.direction?Math.min:Math.max,t.viewportTop===e(t.viewportTop,t.lastViewportTop)&&(this.direction="down"===this.direction?"up":"down"))}},{key:"getAffixType",value:function(){this._calcDimensionsWithScroll();var t=this.dimensions,e=t.viewportTop+t.topSpacing,i=this.affixedType,i=e<=t.containerTop||t.containerHeight<=t.sidebarHeight?(t.translateY=0,"STATIC"):"up"===this.direction?this._getAffixTypeScrollingUp():this._getAffixTypeScrollingDown();return t.translateY=Math.max(0,t.translateY),t.translateY=Math.min(t.containerHeight,t.translateY),t.translateY=Math.round(t.translateY),t.lastViewportTop=t.viewportTop,i}},{key:"_getAffixTypeScrollingDown",value:function(){var t=this.dimensions,e=t.sidebarHeight+t.containerTop,i=t.viewportTop+t.topSpacing,n=t.viewportBottom-t.bottomSpacing,o=this.affixedType;return this.isSidebarFitsViewport()?t.sidebarHeight+i>=t.containerBottom?(t.translateY=t.containerBottom-e,o="CONTAINER-BOTTOM"):i>=t.containerTop&&(t.translateY=i-t.containerTop,o="VIEWPORT-TOP"):t.containerBottom<=n?(t.translateY=t.containerBottom-e,o="CONTAINER-BOTTOM"):e+t.translateY<=n?(t.translateY=n-e,o="VIEWPORT-BOTTOM"):t.containerTop+t.translateY<=i&&0!==t.translateY&&t.maxTranslateY!==t.translateY&&(o="VIEWPORT-UNBOTTOM"),o}},{key:"_getAffixTypeScrollingUp",value:function(){var t=this.dimensions,e=t.sidebarHeight+t.containerTop,i=t.viewportTop+t.topSpacing,n=t.viewportBottom-t.bottomSpacing,o=this.affixedType;return i<=t.translateY+t.containerTop?(t.translateY=i-t.containerTop,o="VIEWPORT-TOP"):t.containerBottom<=n?(t.translateY=t.containerBottom-e,o="CONTAINER-BOTTOM"):this.isSidebarFitsViewport()||t.containerTop<=i&&0!==t.translateY&&t.maxTranslateY
5!==t.translateY&&(o="VIEWPORT-UNBOTTOM"),o}},{key:"_getStyle",value:function(t){if(void 0!==t){var e={inner:{},outer:{}},i=this.dimensions;switch(t){case"VIEWPORT-TOP":e.inner={position:"fixed",top:i.topSpacing,left:i.sidebarLeft-i.viewportLeft,width:i.sidebarWidth};break;case"VIEWPORT-BOTTOM":e.inner={position:"fixed",top:"auto",left:i.sidebarLeft,bottom:i.bottomSpacing,width:i.sidebarWidth};break;case"CONTAINER-BOTTOM":case"VIEWPORT-UNBOTTOM":var n=this._getTranslate(0,i.translateY+"px");e.inner=n?{transform:n}:{position:"absolute",top:i.translateY,width:i.sidebarWidth}}switch(t){case"VIEWPORT-TOP":case"VIEWPORT-BOTTOM":case"VIEWPORT-UNBOTTOM":case"CONTAINER-BOTTOM":e.outer={height:i.sidebarHeight,position:"relative"}}return e.outer=c.extend({height:"",position:""},e.outer),e.inner=c.extend({position:"relative",top:"",left:"",bottom:"",width:"",transform:""},e.inner),e}}},{key:"stickyPosition",value:function(p){if(!this._breakpoint){p=this._reStyle||p||!1,this.options.topSpacing,this.options.bottomSpacing;var e=this.getAffixType(),i=this._getStyle(e);if((this.affixedType!=e||p)&&e){var o,r,p="affix."+e.toLowerCase().replace("viewport-","")+l;for(o in c.eventTrigger(this.sidebar,p),"STATIC"===e?c.removeClass(this.sidebar,this.options.stickyClass):c.addClass(this.sidebar,this.options.stickyClass),i.outer){var s="number"==typeof i.outer[o]?"px":"";this.sidebar.style[o]=i.outer[o]+s}for(r in i.inner){var a="number"==typeof i.inner[r]?"px":"";this.sidebarInner.style[r]=i.inner[r]+a}p="affixed."+e.toLowerCase().replace("viewport-","")+l;c.eventTrigger(this.sidebar,p)}else this._initialized&&(this.sidebarInner.style.left=i.inner.left);this.affixedType=e}}},{key:"_widthBreakpoint",value:function(){window.innerWidth<=this.options.minWidth?(this._breakpoint=!0,this.affixedType="STATIC",this.sidebar.removeAttribute("style"),c.removeClass(this.sidebar,this.options.stickyClass),this.sidebarInner.removeAttribute("style")):this._breakpoint=!1}},{key:"updateSticky",value:function(){var t,e=this,i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this._running||(this._running=!0,t=i.type,requestAnimationFrame(function(){switch(t){case"scroll":e._calcDimensionsWithScroll(),e.observeScrollDir(),e.stickyPosition();break;case"resize":default:e._widthBreakpoint(),e.calcDimensions(),e.stickyPosition(!0)}e._running=!1}))}},{key:"_setSupportFeatures",value:function(){var t=this.support;t.transform=c.supportTransform(),t.transform3d=c.supportTransform(!0)}},{key:"_getTranslate",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0,e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0;return this.support.transform3d?"translate3d("+t+", "+e+", "+(2<arguments.length&&void 0!==arguments[2]?arguments[2]:0)+")":!!this.support.translate&&"translate("+t+", "+e+")"}},{key:"destroy",value:function(){window.removeEventListener("resize",this,{capture:!1}),window.removeEventListener("scroll",this,{capture:!1}),this.sidebar.classList.remove(this.options.stickyClass),this.sidebar.style.minHeight="",this.sidebar.removeEventListener("update"+l,this);var e,i,t={inner:{},outer:{}};for(e in t.inner={position:"",top:"",left:"",bottom:"",width:"",transform:""},t.outer={height:"",position:""},t.outer)this.sidebar.style[e]=t.outer[e];for(i in t.inner)this.sidebarInner.style[i]=t.inner[i];this.options.resizeSensor&&"undefined"!=typeof ResizeSensor&&(ResizeSensor.detach(this.sidebarInner,this.handleEvent),ResizeSensor.detach(this.container,this.handleEvent))}}],[{key:"supportTransform",value:function(n){var i=!1,e=n?"perspective":"transform",n=e.charAt(0).toUpperCase()+e.slice(1),o=document.createElement("support").style;return(e+" "+["Webkit","Moz","O","ms"].join(n+" ")+n).split(" ").forEach(function(t,e){if(void 0!==o[t])return i=t,!1}),i}},{key:"eventTrigger",value:function(t,e,i){try{var n=new CustomEvent(e,{detail:i})}catch(t){(n=document.createEvent("CustomEvent")).initCustomEvent(e,!0,!0,i)}t.dispatchEvent(n)}},{key:"extend",value:function(t,e){var n,i={};for(n in t)void 0!==e[n]?i[n]=e[n]:i[n]=t[n];return i}},{key:"offsetRelative",value:function(t){var e={left:0,top:0};do{var i=t.offsetTop,n=t.offsetLeft}while(isNaN(i)||(e.top+=i),isNaN(n)||(e.left+=n),t="BODY"===t.tagName?t.parentElement:t.offsetParent);return e}},{key:"addClass",value:function(t,e){c.hasClass(t,e)||(t.classList?t.classList.add(e):t.className+=" "+e)}},{key:"removeClass",value:function(t,e){c.hasClass(t,e)&&(t.classList?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," "))}},{key:"hasClass",value:function(t,e){return t.classList?t.classList.contains(e):new RegExp("(^| )"+e+"( |$)","gi").test(t.className)}},{key:"defaults",get:function(){return n}}]),c);function c(t){var e=this,i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(function(t){if(!(t instanceof c))throw new TypeError("Cannot call a class as a function")}(this),this.options=c.extend(n,i),this.sidebar="string"==typeof t?document.querySelector(t):t,void 0===this.sidebar)throw new Error("There is no specific sidebar element.");this.sidebarInner=!1,this.container=this.sidebar.parentElement,this.affixedType="STATIC",this.direction="down",this.support={transform:!1,transform3d:!1},this._initialized=!1,this._reStyle=!1,this._breakpoint=!1,this.dimensions={translateY:0,maxTranslateY:0,topSpacing:0,lastTopSpacing:0,bottomSpacing:0,lastBottomSpacing:0,sidebarHeight:0,sidebarWidth:0,containerTop:0,containerHeight:0,viewportHe
5ight:0,viewportTop:0,lastViewportTop:0},["handleEvent"].forEach(function(t){e[t]=e[t].bind(e)}),this.initialize()}t.default=i,window.StickySidebar=i}(e)});return t(i),t(e(function(t,e){var s;s=i&&i.__esModule?i:{default:i},function(){var n,o,t;"undefined"!=typeof window&&(o="stickySidebar",(n=window.$||window.jQuery||window.Zepto)&&(n.fn.stickySidebar=function(i){return this.each(function(){var t=n(this),e=n(this).data(o);if(e||(e=new s.default(this,"object"==typeof i&&i),t.data(o,e)),"string"==typeof i){if(void 0===e[i]&&-1===["destroy","updateSticky"].indexOf(i))throw new Error('No method named "'+i+'"');e[i]()}})},n.fn.stickySidebar.Constructor=s.default,t=n.fn.stickySidebar,n.fn.stickySidebar.noConflict=function(){return n.fn.stickySidebar=t,this}))}()}))});;
6!function(t,e){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQueryBridget=e(t,t.jQuery)}(window,function(t,e){"use strict";function i(i,r,a){(a=a||e||t.jQuery)&&(r.prototype.option||(r.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){return"string"!=typeof t?(function(t,e){t.each(function(t,n){var o=a.data(n,i);o?(o.option(e),o._init()):(o=new r(n,e),a.data(n,i,o))})}(this,t),this):function(t,e,n){var o,r="$()."+i+'("'+e+'")';return t.each(function(t,d){var l=a.data(d,i);l?(d=l[e])&&"_"!=e.charAt(0)?(l=d.apply(l,n),o=void 0===o?l:o):s(r+" is not a valid method"):s(i+" not initialized. Cannot call methods, i.e. "+r)}),void 0!==o?o:t}(this,t,o.call(arguments,1))},n(a))}function n(t){!t||t&&t.bridget||(t.bridget=i)}var o=Array.prototype.slice,r=t.console,s=void 0===r?function(){}:function(t){r.error(t)};return n(e||t.jQuery),i}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(n,e){if(n&&e){var i=this._events=this._events||{},n=i[n]=i[n]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(i,n){i=this._events&&this._events[i];if(i&&i.length){n=i.indexOf(n);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=0,o=i[n];e=e||[];for(var r=this._onceEvents&&this._onceEvents[t];o;){var s=r&&r[o];s&&(this.off(t,o),delete r[o]),o.apply(this,e),o=i[n+=s?0:1]}return this}},t}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("get-size/get-size",[],e):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function(){"use strict";function t(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}function n(e){e=getComputedStyle(e);return e||a("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),e}function o(){var e,i,o;d||(d=!0,(e=document.createElement("div")).style.width="200px",e.style.padding="1px 2px 3px 4px",e.style.borderStyle="solid",e.style.borderWidth="1px 2px 3px 4px",e.style.boxSizing="border-box",(i=document.body||document.documentElement).appendChild(e),o=n(e),r.isBoxSizeOuter=s=200==t(o.width),i.removeChild(e))}function r(z){if(o(),(z="string"==typeof z?document.querySelector(z):z)&&"object"==typeof z&&z.nodeType){var r=n(z);if("none"==r.display)return function(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<u;e++)t[h[e]]=0;return t}();var a={};a.width=z.offsetWidth,a.height=z.offsetHeight;for(var x=a.isBorderBox="border-box"==r.boxSizing,l=0;l<u;l++){var c=h[l],m=r[c],m=parseFloat(m);a[c]=isNaN(m)?0:m}var p=a.paddingLeft+a.paddingRight,g=a.paddingTop+a.paddingBottom,y=a.marginLeft+a.marginRight,v=a.marginTop+a.marginBottom,_=a.borderLeftWidth+a.borderRightWidth,E=a.borderTopWidth+a.borderBottomWidth,z=x&&s,x=t(r.width);!1!==x&&(a.width=x+(z?0:p+_));x=t(r.height);return!1!==x&&(a.height=x+(z?0:g+E)),a.innerWidth=a.width-(p+_),a.innerHeight=a.height-(g+E),a.outerWidth=a.width+y,a.outerHeight=a.height+v,a}}var s,a="undefined"==typeof console?function(){}:function(t){console.error(t)},h=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],u=h.length,d=!1;return r}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){"use strict";var t=function(){var t=Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var o=e[i]+"MatchesSelector";if(t[o])return o}}();return function(e,i){return e[t](i)}}),function(t,e){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["de
6sandro-matches-selector/matches-selector"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("desandro-matches-selector")):t.fizzyUIUtils=e(t,t.matchesSelector)}(window,function(t,e){var i={extend:function(t,e){for(var i in e)t[i]=e[i];return t},modulo:function(t,e){return(t%e+e)%e},makeArray:function(t){var e=[];if(Array.isArray(t))e=t;else if(t&&"number"==typeof t.length)for(var i=0;i<t.length;i++)e.push(t[i]);else e.push(t);return e},removeFrom:function(t,i){i=t.indexOf(i);-1!=i&&t.splice(i,1)},getParent:function(t,i){for(;t!=document.body;)if(t=t.parentNode,e(t,i))return t},getQueryElement:function(t){return"string"==typeof t?document.querySelector(t):t},handleEvent:function(t){var e="on"+t.type;this[e]&&this[e](t)},filterFindElements:function(t,n){t=i.makeArray(t);var o=[];return t.forEach(function(t){if(t instanceof HTMLElement)if(n){e(t,n)&&o.push(t);for(var i=t.querySelectorAll(n),r=0;r<i.length;r++)o.push(i[r])}else o.push(t)}),o},debounceMethod:function(t,e,i){var n=t.prototype[e],o=e+"Timeout";t.prototype[e]=function(){var t=this[o];t&&clearTimeout(t);var e=arguments,r=this;this[o]=setTimeout(function(){n.apply(r,e),delete r[o]},i||100)}},docReady:function(t){var e=document.readyState;"complete"==e||"interactive"==e?t():document.addEventListener("DOMContentLoaded",t)},toDashed:function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()}},n=t.console;return i.htmlInit=function(e,o){i.docReady(function(){var u=i.toDashed(o),s="data-"+u,a=document.querySelectorAll("["+s+"]"),u=document.querySelectorAll(".js-"+u),u=i.makeArray(a).concat(i.makeArray(u)),d=s+"-options",l=t.jQuery;u.forEach(function(t){var r=t.getAttribute(s)||t.getAttribute(d);try{h=r&&JSON.parse(r)}catch(a){return void(n&&n.error("Error parsing "+s+" on "+t.className+": "+a))}var h=new e(t,h);l&&l.data(t,o,h)})})},i}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("ev-emitter"),require("get-size")):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))}(window,function(d,e){"use strict";function n(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var a=document.documentElement.style,s="string"==typeof a.transition?"transition":"WebkitTransition",a="string"==typeof a.transform?"transform":"WebkitTransform",h={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[s],u={transform:a,transition:s,transitionDuration:s+"Duration",transitionProperty:s+"Property",transitionDelay:s+"Delay"},d=n.prototype=Object.create(d.prototype);d.constructor=n,d._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},d.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},d.getSize=function(){this.size=e(this.element)},d.css=function(t){var i,e=this.element.style;for(i in t)e[u[i]||i]=t[i]},d.getPosition=function(){var r=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),s=r[e?"left":"right"],a=r[i?"top":"bottom"],r=this.layout.size,s=-1!=s.indexOf("%")?parseFloat(s)/100*r.width:parseInt(s,10),a=-1!=a.indexOf("%")?parseFloat(a)/100*r.height:parseInt(a,10),s=isNaN(s)?0:s,a=isNaN(a)?0:a;s-=e?r.paddingLeft:r.paddingRight,a-=i?r.paddingTop:r.paddingBottom,this.position.x=s,this.position.y=a},d.layoutPosition=function(){var l=this.layout.size,e={},i=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),d=i?"right":"left",a=this.position.x+l[i?"paddingLeft":"paddingRight"];e[i?"left":"right"]=this.getXValue(a),e[d]="";d=n?"bottom":"top",l=this.position.y+l[n?"paddingTop":"paddingBottom"];e[n?"top":"bottom"]=this.getYValue(l),e[d]="",this.css(e),this.emitEvent("layout",[this])},d.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},d.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},d._transitionTo=function(t,e){this.getPosition();var i=this.position.x,n=this.position.y,o=parseInt(t,10),u=parseInt(e,10),u=o===this.position.x&&u===this.position.y;this.setPosition(t,e),!u||this.isTransitioning?((u={}).transform=this.getTranslate(t-i,e-n),this.transition({to:u,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})):this.layoutPosition()},d.getTranslate=function(t,e){return"translate3d("+(t=this.layout._getOption("originLeft")?t:-t)+"px, "+(e=this.layout._getOption("originTop")?e:-e)+"px, 0)"},d.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},d.moveTo=d._transitionTo,d.setPosition=function(t,e){this.position.x=parseInt(t,10),this.position.y=parseInt(e,10)},d._nonTransition=function(t){for(var e in this.css(t.to),t.isCleaning&&this._removeStyles(t.to),t.onTransitionEnd)t.onTransitionEnd[e].call(this)},d.transition=function(t){if(parseFloat(this.layout.options.transitionDuration)){var i,e=this._transn;for(i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);t.from&&(this.css(t.from),this.element.offsetHeight,0),this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0}else this._nonTransition(t)};var l="opacity,"+function(t){return t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}(a);d.enableTransition=function(){var t;this.isTransitioning||(t=this.layout.options.transitionDuration,this.css({transitionProperty:l,transitionDuration:t="number"==typeof t?t+"ms":t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(h,this,!1))},d.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},d.onotransitionend=function(t){this.ontransitionend(t)};var c={"-webkit-transform":"transform"};d.ontransitionend=function(t){var e,n;t.target===this.element&&(e=this._transn,n=c[t.propertyName]||t.propertyName,delete e.ingProperties[n],function(t){for(var e in t)return;return 1}(e.ingProperties)&&this.disableTransition(),n in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[n]),n in e.onEnd&&(e.onEnd[n].call(this),delete e.onEnd[n]),this.emitEvent("transitionEnd",[this]))},d.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(h,this,!1),this.isTransitioning=!1},d._removeStyles=function(t){var i,e={};for(i in t)e[i]="";this.css(e)};var f={transitionProperty:"",transitionDuration:"",transitionDelay:""};return d.removeTransitionStyles=function(){this.css(f)},d.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},d.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},d.remove=function(){return s&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),void this.hide()):void this.removeElem()},d.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},d.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},d.getHideRevealTransitionEndProperty=function(e){var i,e=this.layout.options[e];if(e.opacity)return"opacity";for(i in e)return i},d.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},d.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},d.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},n}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(i,n,o,r){return e(t,i,n,o,r)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):t.Outlayer=e(t,t.EvEmitter,t.getSize,t.f
6izzyUIUtils,t.Outlayer.Item)}(window,function(t,e,i,n,o){"use strict";function r(t,o){var i=n.getQueryElement(t);i?(this.element=i,u&&(this.$element=u(this.element)),this.options=n.extend({},this.constructor.defaults),this.option(o),o=++l,this.element.outlayerGUID=o,(c[o]=this)._create(),this._getOption("initLayout")&&this.layout()):h&&h.error("Bad element for "+this.constructor.namespace+": "+(i||t))}function s(t){function e(){t.apply(this,arguments)}return(e.prototype=Object.create(t.prototype)).constructor=e}function d(){}var h=t.console,u=t.jQuery,l=0,c={};r.namespace="outlayer",r.Item=o,r.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var f=r.prototype;n.extend(f,e.prototype),f.option=function(t){n.extend(this.options,t)},f._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},r.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},f._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),n.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},f.reloadItems=function(){this.items=this._itemize(this.element.children)},f._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,n=[],o=0;o<e.length;o++){var s=new i(e[o],this);n.push(s)}return n},f._filterFindItemElements=function(t){return n.filterFindElements(t,this.options.itemSelector)},f.getItemElements=function(){return this.items.map(function(t){return t.element})},f.layout=function(){this._resetLayout(),this._manageStamps();var e=this._getOption("layoutInstant"),e=void 0!==e?e:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},f._init=f.layout,f._resetLayout=function(){this.getSize()},f.getSize=function(){this.size=i(this.element)},f._getMeasurement=function(t,e){var n,o=this.options[t];o?("string"==typeof o?n=this.element.querySelector(o):o instanceof HTMLElement&&(n=o),this[t]=n?i(n)[e]:o):this[t]=0},f.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},f._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},f._layoutItems=function(t,e){var i;this._emitCompleteOnItems("layout",t),t&&t.length&&(i=[],t.forEach(function(t){var n=this._getItemLayoutPosition(t);n.item=t,n.isInstant=e||t.isLayoutInstant,i.push(n)},this),this._processLayoutQueue(i))},f._getItemLayoutPosition=function(){return{x:0,y:0}},f._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},f.updateStagger=function(){var t=this.options.stagger;return null==t?void(this.stagger=0):(this.stagger=function(i){if("number"==typeof i)return i;var i=(n=i.match(/(^\d*\.?\d*)(\w*)/))&&n[1],n=n&&n[2];return i.length?(i=parseFloat(i))*(m[n]||1):0}(t),this.stagger)},f._positionItem=function(t,e,i,n,o){n?t.goTo(e,i):(t.stagger(o*this.stagger),t.moveTo(e,i))},f._postLayout=function(){this.resizeContainer()},f.resizeContainer=function(){var e;!this._getOption("resizeContainer")||(e=this._getContainerSize())&&(this._setContainerMeasure(e.width,!0),this._setContainerMeasure(e.height,!1))},f._getContainerSize=d,f._setContainerMeasure=function(t,e){var i;void 0!==t&&((i=this.size).isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px")},f._emitCompleteOnItems=function(t,e){function i(){o.dispatchEvent(t+"Complete",null,[e])}function n(){++s==r&&i()}var s,o=this,r=e.length;e&&r?(s=0,e.forEach(function(e){e.once(t,n)})):i()},f.dispatchEvent=function(t,o,i){var n=o?[o].concat(i):i;this.emitEvent(t,n),u&&(this.$element=this.$element||u(this.element),o?((o=u.Event(o)).type=t,this.$element.trigger(o,i)):this.$element.trigger(t,
6i))},f.ignore=function(e){e=this.getItem(e);e&&(e.isIgnored=!0)},f.unignore=function(e){e=this.getItem(e);e&&delete e.isIgnored},f.stamp=function(t){(t=this._find(t))&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},f.unstamp=function(t){(t=this._find(t))&&t.forEach(function(t){n.removeFrom(this.stamps,t),this.unignore(t)},this)},f._find=function(t){return t?("string"==typeof t&&(t=this.element.querySelectorAll(t)),n.makeArray(t)):void 0},f._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},f._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},f._manageStamp=d,f._getElementOffset=function(o){var e=o.getBoundingClientRect(),n=this._boundingRect,o=i(o);return{left:e.left-n.left-o.marginLeft,top:e.top-n.top-o.marginTop,right:n.right-e.right-o.marginRight,bottom:n.bottom-e.bottom-o.marginBottom}},f.handleEvent=n.handleEvent,f.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},f.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},f.onresize=function(){this.resize()},n.debounceMethod(r,"onresize",100),f.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},f.needsResizeLayout=function(){var t=i(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},f.addItems=function(e){e=this._itemize(e);return e.length&&(this.items=this.items.concat(e)),e},f.appended=function(e){e=this.addItems(e);e.length&&(this.layoutItems(e,!0),this.reveal(e))},f.prepended=function(i){var e=this._itemize(i);e.length&&(i=this.items.slice(0),this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i))},f.reveal=function(t){var e;this._emitCompleteOnItems("reveal",t),t&&t.length&&(e=this.updateStagger(),t.forEach(function(t,i){t.stagger(i*e),t.reveal()}))},f.hide=function(t){var e;this._emitCompleteOnItems("hide",t),t&&t.length&&(e=this.updateStagger(),t.forEach(function(t,i){t.stagger(i*e),t.hide()}))},f.revealItemElements=function(e){e=this.getItems(e);this.reveal(e)},f.hideItemElements=function(e){e=this.getItems(e);this.hide(e)},f.getItem=function(t){for(var e=0;e<this.items.length;e++){var i=this.items[e];if(i.element==t)return i}},f.getItems=function(t){t=n.makeArray(t);var e=[];return t.forEach(function(i){i=this.getItem(i);i&&e.push(i)},this),e},f.remove=function(e){e=this.getItems(e);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(t){t.remove(),n.removeFrom(this.items,t)},this)},f.destroy=function(){var e=this.element.style;e.height="",e.position="",e.width="",this.items.forEach(function(t){t.destroy()}),this.unbindResize();e=this.element.outlayerGUID;delete c[e],delete this.element.outlayerGUID,u&&u.removeData(this.element,this.constructor.namespace)},r.data=function(e){e=(e=n.getQueryElement(e))&&e.outlayerGUID;return e&&c[e]},r.create=function(t,e){var i=s(r);return i.defaults=n.extend({},r.defaults),n.extend(i.defaults,e),i.compatOptions=n.extend({},r.compatOptions),i.namespace=t,i.data=r.data,i.Item=s(o),n.htmlInit(i,t),u&&u.bridget&&u.bridget(t,i),i};var m={ms:1,s:1e3};return r.Item=o,r}),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("get-size")):t.Masonry=e(t.Outlayer,t.getSize)}(window,function(i,e){i=i.create("masonry");return i.compatOptions.fitWidth="isFitWidth",i.prototype._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0},i.prototype.measureColumns=function(){this.getContainerWidth(),this.columnWidth||(r=(o=this.items[0])&&o.element,this.columnWidth=r&&e(r).outerWidth||this.containerWidth);var s=this.columnWidth+=this.gutter,o=this.containerWidth+this.gutter,r=o/s,s=s-o%s,r=Math[s&&s<1?"round":"floor"](r);this.cols=Math.max(r,1)},i.prototype.getContainerWidth=function(){var n=this._getOption("fitWidth")?this.element.parentNode:this.element,n=e(n);this.containerWidth=n&&n.innerWidth},i.prototype._getItemLayoutPosition=function(t){t.getSize();for(var r=t.size.outerWidth%this.columnWidth,a=Math[r&&r<1?"round":"ceil"](t.size.outerWidth/this.columnWidth),a=Math.min(a,this.cols),o=this._getColGroup(a),r=Math.min.apply(Math,o),s=o.indexOf(r),a={x:this.columnWidth*s,y:r},h=r+t.size.outerHeight,u=this.cols+1-o.length,d=0;d<u;d++)this.colYs[s+d]=h;return a},i.prototype._getColGroup=function(t){if(t<2)return this.colYs;for(var e=[],i=this.cols+1-t,n=0;n<i;n++){var o=this.colYs.slice(n,n+t);e[n]=Math.max.apply(Math,o)}return e},i.prototype._manageStamp=function(s){var i=e(s),n=this._getElementOffset(s),a=this._getOption("originLeft")?
6n.left:n.right,s=a+i.outerWidth,a=Math.floor(a/this.columnWidth),a=Math.max(0,a),h=Math.floor(s/this.columnWidth);h-=s%this.columnWidth?0:1;for(var h=Math.min(this.cols-1,h),d=(this._getOption("originTop")?n.top:n.bottom)+i.outerHeight,l=a;l<=h;l++)this.colYs[l]=Math.max(d,this.colYs[l])},i.prototype._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},i.prototype._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},i.prototype.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},i});;
7!function(t,e){"use strict";"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQueryBridget=e(t,t.jQuery)}(window,function(t,e){"use strict";function i(i,s,a){(a=a||e||t.jQuery)&&(s.prototype.option||(s.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){return"string"!=typeof t?(function(t,e){t.each(function(t,n){var o=a.data(n,i);o?(o.option(e),o._init()):(o=new s(n,e),a.data(n,i,o))})}(this,t),this):function(t,e,n){var o,s="$()."+i+'("'+e+'")';return t.each(function(t,d){var l=a.data(d,i);l?(d=l[e])&&"_"!=e.charAt(0)?(l=d.apply(l,n),o=void 0===o?l:o):r(s+" is not a valid method"):r(i+" not initialized. Cannot call methods, i.e. "+s)}),void 0!==o?o:t}(this,t,o.call(arguments,1))},n(a))}function n(t){!t||t&&t.bridget||(t.bridget=i)}var o=Array.prototype.slice,s=t.console,r=void 0===s?function(){}:function(t){s.error(t)};return n(e||t.jQuery),i}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(n,e){if(n&&e){var i=this._events=this._events||{},n=i[n]=i[n]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(i,n){i=this._events&&this._events[i];if(i&&i.length){n=i.indexOf(n);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=0,o=i[n];e=e||[];for(var s=this._onceEvents&&this._onceEvents[t];o;){var r=s&&s[o];r&&(this.off(t,o),delete s[o]),o.apply(this,e),o=i[n+=r?0:1]}return this}},t}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("get-size/get-size",[],e):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function(){"use strict";function t(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}function n(e){e=getComputedStyle(e);return e||a("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),e}function o(){var e,i,o;d||(d=!0,(e=document.createElement("div")).style.width="200px",e.style.padding="1px 2px 3px 4px",e.style.borderStyle="solid",e.style.borderWidth="1px 2px 3px 4px",e.style.boxSizing="border-box",(i=document.body||document.documentElement).appendChild(e),o=n(e),s.isBoxSizeOuter=r=200==t(o.width),i.removeChild(e))}function s(z){if(o(),(z="string"==typeof z?document.querySelector(z):z)&&"object"==typeof z&&z.nodeType){var s=n(z);if("none"==s.display)return function(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<h;e++)t[u[e]]=0;return t}();var a={};a.width=z.offsetWidth,a.height=z.offsetHeight;for(var S=a.isBorderBox="border-box"==s.boxSizing,l=0;l<h;l++){var f=u[l],m=s[f],m=parseFloat(m);a[f]=isNaN(m)?0:m}var p=a.paddingLeft+a.paddingRight,y=a.paddingTop+a.paddingBottom,g=a.marginLeft+a.marginRight,v=a.marginTop+a.marginBottom,_=a.borderLeftWidth+a.borderRightWidth,I=a.borderTopWidth+a.borderBottomWidth,z=S&&r,S=t(s.width);!1!==S&&(a.width=S+(z?0:p+_));S=t(s.height);return!1!==S&&(a.height=S+(z?0:y+I)),a.innerWidth=a.width-(p+_),a.innerHeight=a.height-(y+I),a.outerWidth=a.width+g,a.outerHeight=a.height+v,a}}var r,a="undefined"==typeof console?function(){}:function(t){console.error(t)},u=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],h=u.length,d=!1;return s}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){"use strict";var t=function(){var t=Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var o=e[i]+"MatchesSelector";if(t[o])return o}}();return function(e,i){return e[t](i)}}),function(t,e){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["de
7sandro-matches-selector/matches-selector"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("desandro-matches-selector")):t.fizzyUIUtils=e(t,t.matchesSelector)}(window,function(t,e){var i={extend:function(t,e){for(var i in e)t[i]=e[i];return t},modulo:function(t,e){return(t%e+e)%e},makeArray:function(t){var e=[];if(Array.isArray(t))e=t;else if(t&&"number"==typeof t.length)for(var i=0;i<t.length;i++)e.push(t[i]);else e.push(t);return e},removeFrom:function(t,i){i=t.indexOf(i);-1!=i&&t.splice(i,1)},getParent:function(t,i){for(;t!=document.body;)if(t=t.parentNode,e(t,i))return t},getQueryElement:function(t){return"string"==typeof t?document.querySelector(t):t},handleEvent:function(t){var e="on"+t.type;this[e]&&this[e](t)},filterFindElements:function(t,n){t=i.makeArray(t);var o=[];return t.forEach(function(t){if(t instanceof HTMLElement)if(n){e(t,n)&&o.push(t);for(var i=t.querySelectorAll(n),s=0;s<i.length;s++)o.push(i[s])}else o.push(t)}),o},debounceMethod:function(t,e,i){var n=t.prototype[e],o=e+"Timeout";t.prototype[e]=function(){var t=this[o];t&&clearTimeout(t);var e=arguments,s=this;this[o]=setTimeout(function(){n.apply(s,e),delete s[o]},i||100)}},docReady:function(t){var e=document.readyState;"complete"==e||"interactive"==e?t():document.addEventListener("DOMContentLoaded",t)},toDashed:function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()}},n=t.console;return i.htmlInit=function(e,o){i.docReady(function(){var h=i.toDashed(o),r="data-"+h,a=document.querySelectorAll("["+r+"]"),h=document.querySelectorAll(".js-"+h),h=i.makeArray(a).concat(i.makeArray(h)),d=r+"-options",l=t.jQuery;h.forEach(function(t){var s=t.getAttribute(r)||t.getAttribute(d);try{u=s&&JSON.parse(s)}catch(a){return void(n&&n.error("Error parsing "+r+" on "+t.className+": "+a))}var u=new e(t,u);l&&l.data(t,o,u)})})},i}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("ev-emitter"),require("get-size")):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))}(window,function(d,e){"use strict";function n(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var a=document.documentElement.style,r="string"==typeof a.transition?"transition":"WebkitTransition",a="string"==typeof a.transform?"transform":"WebkitTransform",u={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[r],h={transform:a,transition:r,transitionDuration:r+"Duration",transitionProperty:r+"Property",transitionDelay:r+"Delay"},d=n.prototype=Object.create(d.prototype);d.constructor=n,d._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},d.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},d.getSize=function(){this.size=e(this.element)},d.css=function(t){var i,e=this.element.style;for(i in t)e[h[i]||i]=t[i]},d.getPosition=function(){var s=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),r=s[e?"left":"right"],a=s[i?"top":"bottom"],s=this.layout.size,r=-1!=r.indexOf("%")?parseFloat(r)/100*s.width:parseInt(r,10),a=-1!=a.indexOf("%")?parseFloat(a)/100*s.height:parseInt(a,10),r=isNaN(r)?0:r,a=isNaN(a)?0:a;r-=e?s.paddingLeft:s.paddingRight,a-=i?s.paddingTop:s.paddingBottom,this.position.x=r,this.position.y=a},d.layoutPosition=function(){var l=this.layout.size,e={},i=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),d=i?"right":"left",a=this.position.x+l[i?"paddingLeft":"paddingRight"];e[i?"left":"right"]=this.getXValue(a),e[d]="";d=n?"bottom":"top",l=this.position.y+l[n?"paddingTop":"paddingBottom"];e[n?"top":"bottom"]=this.getYValue(l),e[d]="",this.css(e),this.emitEvent("layout",[this])},d.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},d.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},d._transitionTo=function(t,e){this.getPosition();var i=this.position.x,n=this.position.y,o=parseInt(t,10),h=parseInt(e,10),h=o===this.position.x&&h===this.position.y;this.setPosition(t,e),!h||this.isTransitioning?((h={}
7).transform=this.getTranslate(t-i,e-n),this.transition({to:h,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})):this.layoutPosition()},d.getTranslate=function(t,e){return"translate3d("+(t=this.layout._getOption("originLeft")?t:-t)+"px, "+(e=this.layout._getOption("originTop")?e:-e)+"px, 0)"},d.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},d.moveTo=d._transitionTo,d.setPosition=function(t,e){this.position.x=parseInt(t,10),this.position.y=parseInt(e,10)},d._nonTransition=function(t){for(var e in this.css(t.to),t.isCleaning&&this._removeStyles(t.to),t.onTransitionEnd)t.onTransitionEnd[e].call(this)},d.transition=function(t){if(parseFloat(this.layout.options.transitionDuration)){var i,e=this._transn;for(i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);t.from&&(this.css(t.from),this.element.offsetHeight,0),this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0}else this._nonTransition(t)};var l="opacity,"+function(t){return t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}(a);d.enableTransition=function(){var t;this.isTransitioning||(t=this.layout.options.transitionDuration,this.css({transitionProperty:l,transitionDuration:t="number"==typeof t?t+"ms":t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(u,this,!1))},d.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},d.onotransitionend=function(t){this.ontransitionend(t)};var f={"-webkit-transform":"transform"};d.ontransitionend=function(t){var e,n;t.target===this.element&&(e=this._transn,n=f[t.propertyName]||t.propertyName,delete e.ingProperties[n],function(t){for(var e in t)return;return 1}(e.ingProperties)&&this.disableTransition(),n in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[n]),n in e.onEnd&&(e.onEnd[n].call(this),delete e.onEnd[n]),this.emitEvent("transitionEnd",[this]))},d.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(u,this,!1),this.isTransitioning=!1},d._removeStyles=function(t){var i,e={};for(i in t)e[i]="";this.css(e)};var c={transitionProperty:"",transitionDuration:"",transitionDelay:""};return d.removeTransitionStyles=function(){this.css(c)},d.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},d.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},d.remove=function(){return r&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),void this.hide()):void this.removeElem()},d.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},d.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},d.getHideRevealTransitionEndProperty=function(e){var i,e=this.layout.options[e];if(e.opacity)return"opacity";for(i in e)return i},d.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},d.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},d.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},n}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(i,n,o,s){return e(t,i,n,o,s)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):t.Outlayer=e(t,t.EvEmitter,t.getSize,t.fizzyUIUtils,t.Outlayer.Item)}(window,function(t,e,i,n,o){"use strict";function s(t,o){var i=n.getQueryElement(t);i?(this.element=i,h&&(this.$element=h(this.element)),this.options=n.extend({},this.constructor.defaults),this.option(o),o=++l,this.element.outlayerGUID=o,(f[o]=this)._create(),this._getOption("initLayout")&&this.layout()):u&&u.error("Bad element for "+this.constructor.namespace+": "+(i||t))}function r(t){function e(){t.apply(this,arguments)}return(e.prototype=Object.create(t.prototype)).constructor=e}function d(){}var u=t.console,h=t.jQuery,l=0,f={};s.namespace="outlayer",s.Item=o,s.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var c=s.prototype;n.extend(c,e.prototype),c.option=function(t){n.extend(this.options,t)},c._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},s.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},c._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),n.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},c.reloadItems=function(){this.items=this._itemize(this.element.children)},c._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,n=[],o=0;o<e.length;o++){var r=new i(e[o],this);n.push(r)}return n},c._filterFindItemElements=function(t){return n.filterFindElements(t,this.options.itemSelector)},c.getItemElements=function(){return this.items.map(function(t){return t.element})},c.layout=function(){this._resetLayout(),this._manageStamps();var e=this._getOption("layoutInstant"),e=void 0!==e?e:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0}
7,c._init=c.layout,c._resetLayout=function(){this.getSize()},c.getSize=function(){this.size=i(this.element)},c._getMeasurement=function(t,e){var n,o=this.options[t];o?("string"==typeof o?n=this.element.querySelector(o):o instanceof HTMLElement&&(n=o),this[t]=n?i(n)[e]:o):this[t]=0},c.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},c._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},c._layoutItems=function(t,e){var i;this._emitCompleteOnItems("layout",t),t&&t.length&&(i=[],t.forEach(function(t){var n=this._getItemLayoutPosition(t);n.item=t,n.isInstant=e||t.isLayoutInstant,i.push(n)},this),this._processLayoutQueue(i))},c._getItemLayoutPosition=function(){return{x:0,y:0}},c._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},c.updateStagger=function(){var t=this.options.stagger;return null==t?void(this.stagger=0):(this.stagger=function(i){if("number"==typeof i)return i;var i=(n=i.match(/(^\d*\.?\d*)(\w*)/))&&n[1],n=n&&n[2];return i.length?(i=parseFloat(i))*(m[n]||1):0}(t),this.stagger)},c._positionItem=function(t,e,i,n,o){n?t.goTo(e,i):(t.stagger(o*this.stagger),t.moveTo(e,i))},c._postLayout=function(){this.resizeContainer()},c.resizeContainer=function(){var e;!this._getOption("resizeContainer")||(e=this._getContainerSize())&&(this._setContainerMeasure(e.width,!0),this._setContainerMeasure(e.height,!1))},c._getContainerSize=d,c._setContainerMeasure=function(t,e){var i;void 0!==t&&((i=this.size).isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px")},c._emitCompleteOnItems=function(t,e){function i(){o.dispatchEvent(t+"Complete",null,[e])}function n(){++r==s&&i()}var r,o=this,s=e.length;e&&s?(r=0,e.forEach(function(e){e.once(t,n)})):i()},c.dispatchEvent=function(t,o,i){var n=o?[o].concat(i):i;this.emitEvent(t,n),h&&(this.$element=this.$element||h(this.element),o?((o=h.Event(o)).type=t,this.$element.trigger(o,i)):this.$element.trigger(t,i))},c.ignore=function(e){e=this.getItem(e);e&&(e.isIgnored=!0)},c.unignore=function(e){e=this.getItem(e);e&&delete e.isIgnored},c.stamp=function(t){(t=this._find(t))&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},c.unstamp=function(t){(t=this._find(t))&&t.forEach(function(t){n.removeFrom(this.stamps,t),this.unignore(t)},this)},c._find=function(t){return t?("string"==typeof t&&(t=this.element.querySelectorAll(t)),n.makeArray(t)):void 0},c._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},c._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},c._manageStamp=d,c._getElementOffset=function(o){var e=o.getBoundingClientRect(),n=this._boundingRect,o=i(o);return{left:e.left-n.left-o.marginLeft,top:e.top-n.top-o.marginTop,right:n.right-e.right-o.marginRight,bottom:n.bottom-e.bottom-o.marginBottom}},c.handleEvent=n.handleEvent,c.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},c.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},c.onresize=function(){this.resize()},n.debounceMethod(s,"onresize",100),c.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},c.needsResizeLayout=function(){var t=i(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},c.addItems=function(e){e=this._itemize(e);return e.length&&(this.items=this.items.concat(e)),e},c.appended=function(e){e=this.addItems(e);e.length&&(this.layoutItems(e,!0),this.reveal(e))},c.prepended=function(i){var e=this._itemize(i);e.length&&(i=this.items.slice(0),this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i))},c.reveal=function(t){var e;this._emitCompleteOnItems("reveal",t),t&&t.length&&(e=this.updateStagger(),t.forEach(function(t,i){t.stagger(i*e),t.reveal()}))},c.hide=function(t){var e;this._emitCompleteOnItems("hide",t),t&&t.length&&(e=this.updateStagger(),t.forEach(function(t,i){t.stagger(i*e),t.hide()}))},c.revealItemElements=function(e){e=this.getItems(e);this.reveal(e)},c.hideItemElements=function(e){e=this.getItems(e);this.hide(e)},c.getItem=function(t){for(var e=0;e<this.items.length;e++){var i=this.items[e];if(i.element==t)return i}},c.getItems=function(t){t=n.makeArray(t);var e=[];return t.forEach(function(i){i=this.getItem(i);i&&e.push(i)},this),e},c.remove=function(e){e=this.getItems(e);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(t){t.remove(),n.removeFrom(this.items,t)},this)},c.destroy=function(){var e=this.element.style;
7e.height="",e.position="",e.width="",this.items.forEach(function(t){t.destroy()}),this.unbindResize();e=this.element.outlayerGUID;delete f[e],delete this.element.outlayerGUID,h&&h.removeData(this.element,this.constructor.namespace)},s.data=function(e){e=(e=n.getQueryElement(e))&&e.outlayerGUID;return e&&f[e]},s.create=function(t,e){var i=r(s);return i.defaults=n.extend({},s.defaults),n.extend(i.defaults,e),i.compatOptions=n.extend({},s.compatOptions),i.namespace=t,i.data=s.data,i.Item=r(o),n.htmlInit(i,t),h&&h.bridget&&h.bridget(t,i),i};var m={ms:1,s:1e3};return s.Item=o,s}),function(t,e){"function"==typeof define&&define.amd?define("isotope/js/item",["outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.Item=e(t.Outlayer))}(window,function(t){"use strict";function e(){t.Item.apply(this,arguments)}var i=e.prototype=Object.create(t.Item.prototype),n=i._create;i._create=function(){this.id=this.layout.itemGUID++,n.call(this),this.sortData={}},i.updateSortData=function(){if(!this.isIgnored){this.sortData.id=this.id,this.sortData["original-order"]=this.id,this.sortData.random=Math.random();var i,t=this.layout.options.getSortData,e=this.layout._sorters;for(i in t){var n=e[i];this.sortData[i]=n(this.element,this)}}};var o=i.destroy;return i.destroy=function(){o.apply(this,arguments),this.css({display:""})},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope/js/layout-mode",["get-size/get-size","outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("get-size"),require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.LayoutMode=e(t.getSize,t.Outlayer))}(window,function(t,e){"use strict";function i(t){(this.isotope=t)&&(this.options=t.options[this.namespace],this.element=t.element,this.items=t.filteredItems,this.size=t.size)}var n=i.prototype;return["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout","_getOption"].forEach(function(t){n[t]=function(){return e.prototype[t].apply(this.isotope,arguments)}}),n.needsVerticalResizeLayout=function(){var e=t(this.isotope.element);return this.isotope.size&&e&&e.innerHeight!=this.isotope.size.innerHeight},n._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},n.getColumnWidth=function(){this.getSegmentSize("column","Width")},n.getRowHeight=function(){this.getSegmentSize("row","Height")},n.getSegmentSize=function(o,e){var i=o+e,n="outer"+e;this._getMeasurement(i,n),this[i]||(o=this.getFirstItemSize(),this[i]=o&&o[n]||this.isotope.size["inner"+e])},n.getFirstItemSize=function(){var e=this.isotope.filteredItems[0];return e&&e.element&&t(e.element)},n.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},n.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},i.modes={},i.create=function(t,e){function o(){i.apply(this,arguments)}return(o.prototype=Object.create(n)).constructor=o,e&&(o.options=e),i.modes[o.prototype.namespace=t]=o},i}),function(t,e){"function"==typeof define&&define.amd?define("masonry/masonry",["outlayer/outlayer","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("get-size")):t.Masonry=e(t.Outlayer,t.getSize)}(window,function(i,e){i=i.create("masonry");return i.compatOptions.fitWidth="isFitWidth",i.prototype._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0},i.prototype.measureColumns=function(){this.getContainerWidth(),this.columnWidth||(s=(o=this.items[0])&&o.element,this.columnWidth=s&&e(s).outerWidth||this.containerWidth);var r=this.columnWidth+=this.gutter,o=this.containerWidth+this.gutter,s=o/r,r=r-o%r,s=Math[r&&r<1?"round":"floor"](s);this.cols=Math.max(s,1)},i.prototype.getContainerWidth=function(){var n=this._getOption("fitWidth")?this.element.parentNode:this.element,n=e(n);this.containerWidth=n&&n.innerWidth},i.prototype._getItemLayoutPosition=function(t){t.getSize();for(var s=t.size.outerWidth%this.columnWidth,a=Math[s&&s<1?"round":"ceil"](t.size.outerWidth/this.columnWidth),a=Math.min(a,this.cols),o=this._getColGroup(a),s=Math.min.apply(Math,o),r=o.indexOf(s),a={x:this.columnWidth*r,y:s},u=s+t.size.outerHeight,h=this.cols+1-o.length,d=0;d<h;d++)this.colYs[r+d]=u;return a},i.prototype._getColGroup=function(t){if(t<2)return this.colYs;for(var e=[],i=this.cols+1-t,n=0;n<i;n++){var o=this.colYs.slice(n,n+t);e[n]=Math.max.apply(Math,o)}return e},i.prototype._manageStamp=function(r){var i=e(r),n=this._getElementOffset(r),a=this._getOption("originLeft")?
7n.left:n.right,r=a+i.outerWidth,a=Math.floor(a/this.columnWidth),a=Math.max(0,a),u=Math.floor(r/this.columnWidth);u-=r%this.columnWidth?0:1;for(var u=Math.min(this.cols-1,u),d=(this._getOption("originTop")?n.top:n.bottom)+i.outerHeight,l=a;l<=u;l++)this.colYs[l]=Math.max(d,this.colYs[l])},i.prototype._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},i.prototype._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},i.prototype.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},i}),function(t,e){"function"==typeof define&&define.amd?define("isotope/js/layout-modes/masonry",["../layout-mode","masonry/masonry"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode"),require("masonry-layout")):e(t.Isotope.LayoutMode,t.Masonry)}(window,function(i,e){"use strict";var s,i=i.create("masonry"),n=i.prototype,o={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(s in e.prototype)o[s]||(n[s]=e.prototype[s]);var r=n.measureColumns;n.measureColumns=function(){this.items=this.isotope.filteredItems,r.call(this)};var a=n._getOption;return n._getOption=function(t){return"fitWidth"==t?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:a.apply(this.isotope,arguments)},i}),function(t,e){"function"==typeof define&&define.amd?define("isotope/js/layout-modes/fit-rows",["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(i){"use strict";var e=i.create("fitRows"),i=e.prototype;return i._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},i._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth+this.gutter,n=this.isotope.size.innerWidth+this.gutter;0!==this.x&&e+this.x>n&&(this.x=0,this.y=this.maxY);n={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,n},i._getContainerSize=function(){return{height:this.maxY}},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope/js/layout-modes/vertical",["../layout-mode"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(i){"use strict";var e=i.create("vertical",{horizontalAlignment:0}),i=e.prototype;return i._resetLayout=function(){this.y=0},i._getItemLayoutPosition=function(t){t.getSize();var e=(this.isotope.size.innerWidth-t.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=t.size.outerHeight,{x:e,y:i}},i._getContainerSize=function(){return{height:this.y}},e}),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","desandro-matches-selector/matches-selector","fizzy-ui-utils/utils","isotope/js/item","isotope/js/layout-mode","isotope/js/layout-modes/masonry","isotope/js/layout-modes/fit-rows","isotope/js/layout-modes/vertical"],function(i,n,o,s,r,a){return e(t,i,0,o,s,r,a)}):"object"==typeof module&&module.exports?module.exports=e(t,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("isotope/js/item"),require("isotope/js/layout-mode"),require("isotope/js/layout-modes/masonry"),require("isotope/js/layout-modes/fit-rows"),require("isotope/js/layout-modes/vertical")):t.Isotope=e(t,t.Outlayer,t.getSize,t.matchesSelector,t.fizzyUIUtils,t.Isotope.Item,t.Isotope.LayoutMode)}(window,function(t,e,i,n,o,l,r){var u=t.jQuery,h=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},d=e.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});d.Item=l,d.LayoutMode=r;l=d.prototype;l._create=function(){for(var t in this.itemGUID=0,this._sorters={},this._getSorters(),e.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"],r.modes)this._initLayoutMode(t)},l.reloadItems=function(){this.itemGUID=0,e.prototype.reloadItems.call(this)},l._itemize=function(){for(var t=e.prototype._itemize.apply(this,arguments),i=0;i<t.length;i++)t[i].id=this.itemGUID++;return this._updateItemsSortData(t),t},l._initLayoutMode=function(t){var e=r.modes[t],i=this.options[t]||{};this.options[t]=e.options?o.extend(e.options,i):i,this.modes[t]=new e(this)},l.layout=function(){return!this._isLayoutInited&&this._getOption("initLayout")?void this.arrange():void this._layout()},l._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},l.arrange=function(e){this.option(e),this._getIsInstant();e=this._filter(this.items);this.filteredItems=e.matches,this._bindArrangeComplete(),this._isInstant?this._noTransition(this._hideReveal,[e]):this._hideReveal(e),this._sort(),this._layout()},l._init=l.arrange,l._hideReveal=function(t){this.reveal(t.needReveal),this.hide(t.needHide)},l._getIsInstant=function(){var e=this._getOption("layoutInstant"),e=void 0!==e?e:!this._isLayoutInited;return this._isInstant=e},l._bindArrangeComplete=function(){function t(){e&&i&&n&&o.dispatchEvent("arrangeComplete",null,[o.filteredItems])}var e,i,n,o=this;this.once("layoutComplete",function(){e=!0,t()}),this.once("hideComplete",function(){i=!0,t()}),this.once("revealComplete",function(){n=!0,t()})},l._filter=function(t){for(var e=this.options.filter,i=[],n=[],o=[],s=this._getFilterTest(e=e||"*"),r=0;r<t.length;r++){var u,a=t[r];a.isIgnored||((u=s(a))&&i.push(a),u&&a.isHidden?n.push(a):u||a.isHidden||o.push(a))}return{matches:i,needReveal:n,needHide:o}},l._getFilterTest=function(t){return u&&this.options.isJQueryFiltering?function(e){return u(e.element).is(t)}:"function"==typeof t?function(e){return t(e.element)}:function(e){return n(e.element,t)}},l.updateSortData=function(e){e=e?(e=o.makeArray(e),this.getItems(e)):this.items;this._getSorters(),this._updateItemsSortData(e)},l._getSorters=function(){var e,t=this.options.getSortData;for(e in t){var i=t[e];this._sorters[e]=f(i)}},l._updateItemsSortData=function(t){for(var e=t&&t.length,i=0;e&&i<e;i++)t[i].updateSortData()};
7var f=function(o){if("string"!=typeof o)return o;var i=h(o).split(" "),n=i[0],r=function(t,e){return t?function(e){return e.getAttribute(t)}:function(i){i=i.querySelector(e);return i&&i.textContent}}((o=n.match(/^\[(.+)\]$/))&&o[1],n),a=d.sortDataParsers[i[1]];return a?function(t){return t&&a(r(t))}:function(t){return t&&r(t)}};d.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},l._sort=function(){var i,t=this.options.sortBy;t&&(i=function(t,e){return function(i,n){for(var o=0;o<t.length;o++){var s=t[o],r=i.sortData[s],a=n.sortData[s];if(a<r||r<a)return(a<r?1:-1)*((void 0!==e[s]?e[s]:e)?1:-1)}return 0}}([].concat.apply(t,this.sortHistory),this.options.sortAscending),this.filteredItems.sort(i),t!=this.sortHistory[0]&&this.sortHistory.unshift(t))},l._mode=function(){var t=this.options.layoutMode,e=this.modes[t];if(!e)throw new Error("No layout mode: "+t);return e.options=this.options[t],e},l._resetLayout=function(){e.prototype._resetLayout.call(this),this._mode()._resetLayout()},l._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},l._manageStamp=function(t){this._mode()._manageStamp(t)},l._getContainerSize=function(){return this._mode()._getContainerSize()},l.needsResizeLayout=function(){return this._mode().needsResizeLayout()},l.appended=function(i){i=this.addItems(i);i.length&&(i=this._filterRevealAdded(i),this.filteredItems=this.filteredItems.concat(i))},l.prepended=function(i){var e=this._itemize(i);e.length&&(this._resetLayout(),this._manageStamps(),i=this._filterRevealAdded(e),this.layoutItems(this.filteredItems),this.filteredItems=i.concat(this.filteredItems),this.items=e.concat(this.items))},l._filterRevealAdded=function(e){e=this._filter(e);return this.hide(e.needHide),this.reveal(e.matches),this.layoutItems(e.matches,!0),e.matches},l.insert=function(s){var e=this.addItems(s);if(e.length){for(var n,o=e.length,i=0;i<o;i++)n=e[i],this.element.appendChild(n.element);s=this._filter(e).matches;for(i=0;i<o;i++)e[i].isLayoutInstant=!0;for(this.arrange(),i=0;i<o;i++)delete e[i].isLayoutInstant;this.reveal(s)}};var c=l.remove;return l.remove=function(t){t=o.makeArray(t);var e=this.getItems(t);c.call(this,t);for(var i=e&&e.length,n=0;i&&n<i;n++){var s=e[n];o.removeFrom(this.filteredItems,s)}},l.shuffle=function(){for(var t=0;t<this.items.length;t++)this.items[t].sortData.random=Math.random();this.options.sortBy="random",this._sort(),this._layout()},l._noTransition=function(t,n){var i=this.options.transitionDuration;this.options.transitionDuration=0;n=t.apply(this,n);return this.options.transitionDuration=i,n},l.getFilteredItemElements=function(){return this.filteredItems.map(function(t){return t.element})},d});;
8function percent(num_amount,num_total){return 0==num_amount||0==num_total?0:(count=100*(num_amount/num_total),count)}function setPaddingToSections(){var headerWidth,headerContainerWidth,oneFluidColumn,oneColumn;991<$(window).width()?(headerWidth=$(".navigation-holder").width(),headerContainerWidth=$(".navigation-holder .navigation .container").width(),oneFluidColumn=$(".container-fluid").width()/12,$(window).width(),oneColumn=0,1199<$(window).width()&&(oneColumn=headerContainerWidth/12),$(".home-slider .container.info-holder").css({"padding-left":oneColumn+"px","padding-right":oneColumn+"px"})):$(".home-slider .container.info-holder").css({"padding-left":"40px","padding-right":"40px"}),$(".home-slider .bx-controls-direction").css({width:headerContainerWidth+"px"}),"rtl"==$("html").attr("dir")?991<$(window).width()?($(".section-16").each(function(){var leftSide=$(this).find(".left-side");leftSide.css({"padding-right":(headerWidth-headerContainerWidth)/2+10+oneColumn+"px"}),leftSide.find(".info-holder").css({"margin-left":"-"+oneFluidColumn+"px"})}),$(".section-17").each(function(){var rightSide=$(this).find(".right-side");rightSide.css({"padding-left":(headerWidth-headerContainerWidth)/2+10+oneColumn+"px"}),rightSide.find(".info-holder").css({"margin-right":"-"+oneFluidColumn+"px"})})):($(".section-16").each(function(){var leftSide=$(this).find(".left-side");leftSide.css({"padding-right":""}
8),leftSide.find(".info-holder").css({"margin-left":""})}),$(".section-17").each(function(){var rightSide=$(this).find(".right-side");rightSide.css({"padding-left":""}),rightSide.find(".info-holder").css({"margin-right":""})})):991<$(window).width()?($(".section-16").each(function(){var leftSide=$(this).find(".left-side");leftSide.css({"padding-left":(headerWidth-headerContainerWidth)/2+10+oneColumn+"px"}),leftSide.find(".info-holder").css({"margin-right":"-"+oneFluidColumn+"px"})}),$(".section-17").each(function(){var rightSide=$(this).find(".right-side");rightSide.css({"padding-right":(headerWidth-headerContainerWidth)/2+10+oneColumn+"px"}),rightSide.find(".info-holder").css({"margin-left":"-"+oneFluidColumn+"px"})})):($(".section-16").each(function(){var leftSide=$(this).find(".left-side");leftSide.css({"padding-left":""}),leftSide.find(".info-holder").css({"margin-right":""})}),$(".section-17").each(function(){var rightSide=$(this).find(".right-side");rightSide.css({"padding-right":""}),rightSide.find(".info-holder").css({"margin-left":""})}))}function istotopeFilter(){var filterValue=".masonry-holder";$(".masonry-team .js-masonry-grid-works-filter .list-masonry-grid-works-filter__item a.list-masonry-grid-works-filter__link_active").each(function(index){filterValue=filterValue+", "+$(this).attr("data-filter")}),".masonry-holder"==filterValue&&($(".js-masonry-grid-works-filter li:first-of-type a").addClass("btn-primary list-masonry-grid-works-filter__link_active"),$(".js-masonry-grid-works-filter li:first-of-type a").removeClass("btn-outline-primary shadow-md"),filterValue="*"),masonryGrid.isotope({filter:filterValue})}!function(){"use strict";var $window=$(window),$document=$(document),defaultTheme={isElementInViewport:function(rect){rect=(rect="function"==typeof jQuery&&rect instanceof jQuery?rect[0]:rect).getBoundingClientRect();return 0<=rect.top&&rect.top<=(window.innerHeight||document.documentElement.clientHeight)},stickyNav:function(){$("body.sticky-nav .navigation")[$window.scrollTop()?"addClass":"removeClass"]("sticky"),$("body.sticky-nav")[$window.scrollTop()?"addClass":"removeClass"]("sticky-padding")}};window.defaultTheme=defaultTheme,$window.on("load",function(){defaultTheme.stickyNav(),$window.on("scroll resize",function(){defaultTheme.stickyNav()})}),$document.ready(function(){$(document).ready(function(){$(".main-content > div:first").find("section").hasClass("js-header-transparent")||$(".navigation-holder").addClass("not-transparent")}),$(document.body).hasClass("sticky-nav")&&($(".navigation").outerHeight(),defaultTheme.stickyNav())});function setHeightOnVideos(){var headerheight=$(".navigation-holder").height(),windowheight=$(window).height();$(".video-section").css("height",windowheight-headerheight+"px"),$(".video-section .video").css("height",windowheight-headerheight+"px"),$(".video-section .container-fluid").css("height",windowheight-headerheight+"px"),$("#main").css("margin-top",headerheight+"px")}$.fn.isOnScreen=function(){var bounds=$window,viewport={top:bounds.scrollTop(),left:bounds.scrollLeft()};viewport.right=viewport.left+bounds.width(),viewport.bottom=viewport.top+bounds.height();bounds=this.offset();return bounds.right=bounds.left+this.outerWidth(),bounds.bottom=bounds.top+this.outerHeight(),!(viewport.right<bounds.left||viewport.left>bounds.right||viewport.bottom<bounds.top||viewport.top>bounds.bottom)},$window.on("load resize scroll",function(){setTimeout(function(){$("[data-counter]").each(function(){$(this).isOnScreen()&&($(this).css({visibility:"visible"}),$(this).removeClass("js-start-from-zero"),this.__activated||(this.__activated=!0,function(el){var html=el.innerHTML.trim(),to=parseInt(html,10),inc=5e3<to?1:1220<to?3:320<to?5:120<to?10:60<to?40:20<to?60:120;if(!isNaN(to))for(var time=10,i=1;i<=to;i++)!function(time,i,el){setTimeout(function(){el.innerHTML=i},time)}(time+=inc,i,el)}(this)))})},10),$(".menu").css("maxHeight",$window.height()-$(".navigation").outerHeight())}),$document.ready(function(){var tabPercent=100/$(".tabs .nav-tabs:not(.as-buttons)").find("li").length+"%";$(".nav-tabs li").width(tabPercent)}),$document.ready(function(){var ttopButton=$("#to-top");ttopButton.hide().on("click",function(){$("html, body").animate({scrollTop:0},"slow")}),$window.scroll(function(){0===$window.scrollTop()?ttopButton.hide():ttopButton.show()})}),$document.ready(function(){if(0<$("#map").length)for(var marker,isDraggable=991<$document.width(),locations=[["",42.662104,23.3163666,2]],map=new google.maps.Map(document.getElementById("map"),{zoom:17,scrollwheel:!1,navigationControl:!0,mapTypeControl:!1,scaleControl:!1,draggable:isDraggable,styles:[{featureType:"all",elementType:"labels.text.fill",stylers:[{saturation:36},{color:"#000000"},{lightness:40}]},{featureType:"all",elementType:"labels.text.stroke",stylers:[{visibility:"on"},{color:"#000000"},{lightness:16}]},{featureType:"all",elementType:"labels.icon",stylers:[{visibility:"off"}]},{featureType:"administrative",elementType:"geometry.fill",stylers:[{color:"#000000"},{lightness:20}]},{featureType:"administrative",elementType:"geometry.stroke",stylers:[{color:"#000000"},{lightness:17},{weight:1.2}]},{featureType:"landscape",elementType:"geometry",stylers:[{color:"#000000"},{lightness:20}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#000000"},{lightness:21}]},{featureType:"road.highway",elementType:"geometry.fill",stylers:[{color:"#000000"},{lightness:17}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#000000"},{lightness:29},{weight:.2}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#000000"},{lightness:18}]},{featureType:"road.local",elementType:"geometry",stylers:[{color:"#000000"},{lightness:16}]},{featureType:"transit",elementType:"geometry",stylers:[{color:"#000000"},{lightness:19}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#000000"},{lightness:17}]}],center:new google.maps.LatLng(42.662104,23.3163666),mapTypeId:google.maps.MapTypeId.ROADMAP}),infowindow=new google.maps.InfoWindow,i=0;i<locations.length;i++)marker=new google.maps.Marker({position:new google.maps.LatLng(locations[i][1],locations[i][2]),map:map,icon:"assets/img/section-16/marker.png"}),google.maps.event.addListener(marker,"click",function(i){return function(){infowindow.setContent(locations[i][0])}}(i))}),$document.ready(function(){$('[data-toggle="tooltip"]').tooltip()}),$document.ready(function(){}),$document.on("resize",function(){}),$window.on("load",function(){$(".project-info").stickySidebar({containerSelector:".project-holder",innerWrapperSelector:".project-info-content",topSpacing:115,bottomSpacing:115})}),$document.ready(function(){$(".popup-youtube, .popup-vimeo, .popup-gmaps").magnificPopup({disableOn:700,type:"iframe",mainClass:"mfp-fade",removalDelay:160,preloader:!1,fixedContentPos:!1})}),$document.ready(function(){setHeightOnVideos()}),$window.on("resize",function(){setHeightOnVideos()}),$document.ready(function(){$(".arrow.minus").on("click",function(m){var l,i=$(this).parent().parent().find('input[name="quantity"], input[name="qty"], .js-qty');i.val()<=1?i.val("1").change():(l=i.val()-1,i.val(l).change())}),$(".arrow.plus").on("click",function(m){var l,i=$(this).parent().parent().find('input[name="quantity"], input[name="qty"], .js-qty');i.val()<=19&&(l=+i.val()+1,i.val(l).change())})})}(),$(document).ready(function(){$("#mw-template-big").removeClass("module")}),$(window).on("load",function(){setTimeout(function(){$("body").addClass("page-loaded")},900)}),$(document).ready(function(){$(".js-show-posts").on("click",function(){992<=$(window).width()?$(".js-posts-menu").hasClass("opened")?($(".js-posts-menu").slideUp("slow"),$(".js-posts-menu").removeClass("opened")):($(".js-posts-menu").slideDown("slow"),$(".js-posts-menu").addClass("opened")):$(".js-posts-menu").hasClass("opened")?($(".js-posts-menu").hide("slide",{direction:"right"},500),$(".js-posts-menu").removeClass("opened")):($(".js-posts-menu").show("slide",{direction:"right"},500),$(".js-posts-menu").addClass("opened"))})}),$(document).ready(function(){setPaddingToSections()}),$(window).on("resize",function(){setPaddingToSections()});var $this,masonryGrid=$(".masonry-team .js-masonry-grid-works");function sidbarNav(){var sidebarNavElemOfset,navHeight;$(".navigation").hasClass("js-sidebar-nav")&&($("html").addClass("sidebar-nav-website"),sidebarNavElemOfset=$("html.sidebar-nav-website body.sticky-nav .navigation .menu-overlay"),navHe
8ight=$(".navigation").outerHeight(),768<$(window).width()?$(sidebarNavElemOfset).css({"margin-top":navHeight+"px"}):$(sidebarNavElemOfset).css({"margin-top":""}),1366<$(window).width()?($(".sidebar-nav-website .toggle a").addClass("blocked-toggle"),$(".sidebar-nav-website .toggle a").on("click",function(){$(".sidebar-nav-website .slick-slider").slick("refresh").slick("setPosition")})):($(".sidebar-nav-website .toggle a").removeClass("blocked-toggle"),$(document.body).on("click",function(ev){0===$(ev.target).parents(".menu-overlay,.toggle").length&&($("html.sidebar-nav-website").removeClass("mobile-menu-active"),$("html.sidebar-nav-website .toggle a").removeClass("active"),$("html.sidebar-nav-website .navigation .menu").removeClass("main-menu-open"))})))}function sidbarNavEvent(){window.matchMedia("(min-width: 1366px)").matches?$("html").hasClass("sidebar-nav-website")&&($(".sidebar-nav-website .js-menu-toggle").on("click",function(){$("html").hasClass("mobile-menu-active")?Cookies.set("sidebar-nav-state","open"):Cookies.set("sidebar-nav-state","close")}),"open"==Cookies.get("sidebar-nav-state")?$("html").addClass("mobile-menu-active"):$("html").removeClass("mobile-menu-active")):($("html").hasClass("sidebar-nav-website")&&$("html").removeClass("mobile-menu-active"),$(".sidebar-nav-website .toggle a").hasClass("active")&&$(".sidebar-nav-website .toggle a").removeClass("active"))}$(window).on("load",function(){setTimeout(function(){masonryGrid.masonry({itemSelector:".js-masonry-grid-works__item",columnWidth:".js-masonry-grid-works__sizer",percentPosition:!0}).isotope()},10)}),$(document).ready(function(){$(".masonry-team .js-masonry-grid-works-filter").on("click","a:not(.all)",function(e){e.preventDefault(),$("body").find("a.all").removeClass("btn-primary list-masonry-grid-works-filter__link_active"),$("body").find("a.all").addClass("btn-outline-primary shadow-md"),$(this).addClass("btn-primary list-masonry-grid-works-filter__link_active"),$(this).removeClass("btn-outline-primary shadow-md"),istotopeFilter()}),$(".masonry-team .js-masonry-grid-works-filter").on("click","a.list-masonry-grid-works-filter__link_active",function(e){e.preventDefault(),$(this).removeClass("btn-primary list-masonry-grid-works-filter__link_active"),$(this).addClass("btn-outline-primary shadow-md"),istotopeFilter()}),$(".masonry-team .js-masonry-grid-works-filter").on("click","a.all",function(e){e.preventDefault(),$(".masonry-team .js-masonry-grid-works-filter .list-masonry-grid-works-filter__item a.list-masonry-grid-works-filter__link_active").each(function(index){$(this).removeClass("btn-primary list-masonry-grid-works-filter__link_active"),$(this).addClass("btn-outline-primary shadow-md")}),$(this).removeClass("btn-outline-primary shadow-md"),$(this).addClass("btn-primary list-masonry-grid-works-filter__link_active"),istotopeFilter()})}),$(document).ready(function(){$("body").hasClass("mw-live-edit")}),$(document).ready(function(){991<$(document).width()&&($("#elevatezoom").elevateZoom({gallery:"elevatezoom-gallery",cursor:"crosshair",galleryActiveClass:"active",imageCrossfade:!0,zoomType:"inner"}),$("#elevatezoom").bind("click",function(e){var ez=$("#elevatezoom").data("elevateZoom"),res=[];return $.each(ez.getGalleryList(),function(){res.push({src:this.href})}),$.magnificPopup.open({items:res,gallery:{enabled:!0},type:"image"}),!1}));var eGallery=$("#elevatezoom-gallery");0<eGallery.length&&eGallery.each(function(){$(this).slick({centerMode:!0,centerPadding:"0",slidesToShow:5,slidesToScroll:1,arrows:!0,autoplay:!1,autoplaySpeed:2e3,dots:!1,infinite:!0,responsive:[{breakpoint:767,settings:{slidesToShow:2}}]})})}),$(document).on("click",".dropdown-menu.shopping-cart",function(event){$("A"!==event.target.nodeName)&&event.stopPropagation()}),$(".dropdown-menu li").hasClass("active")&&($this=$(".dropdown-menu li.active"),$($this).closest(".dropdown").addClass("active")),$(".navigation .menu li, .navigation .secondary-menu li").each(function(){0<$(this.children).filter("ul").length&&$(this).addClass("has-sub-menu")}),$(document.body).on("click",function(e){0===$(e.target).parents(".menu-overlay,.toggle").length&&($("html:not(.sidebar-nav-website)").removeClass("mobile-menu-active"),$("html:not(.sidebar-nav-website) .js-menu-toggle").removeClass("active"),$("html:not(.sidebar-nav-website) body").removeClass("lock-scroll"),$("html:not(.sidebar-nav-website) .navigation .menu").removeClass("main-menu-open"))}),$(".js-menu-toggle").on("click",function(){$("html").hasClass("mobile-menu-active")?($
8("html").removeClass("mobile-menu-active"),$("html:not(.sidebar-nav-website) body").removeClass("lock-scroll")):($("html").addClass("mobile-menu-active"),$("html:not(.sidebar-nav-website) body").addClass("lock-scroll")),$(".js-menu-toggle").hasClass("active")?$(".js-menu-toggle").removeClass("active"):$(".js-menu-toggle").addClass("active"),$(".navigation .secondary-menu").removeClass("secondary-menu-open"),$(".js-extra-menu-toggle").removeClass("active"),$("body").removeClass("lock-scroll-extra-menu")}),$(document).on("click",".menu .module-menu .has-sub-menu > a",function(e){var ul=$(this).parent().children("ul");1===ul.length&&0<$(".mobile-menu-active").length&&(e.preventDefault(),this.classList.toggle("submenu-expanded"),this.nextElementSibling.classList.toggle("active-icon"),ul.slideToggle(function(){"none"==this.style.display&&(this.style.display="")}))}),$(".menu .mobile-profile.has-sub-menu > a").on("click",function(e){var ul=$(this).parent().children("ul");console.log(0<$(".mobile-menu-active").length),1===ul.length&&0<$(".mobile-menu-active").length&&(e.preventDefault(),ul.slideToggle(function(){"none"==this.style.display&&(this.style.display="")}))}),sidbarNav(),sidbarNavEvent(),$(window).on("resize",function(){sidbarNav()}),$(document.body).on("click",function(e){0===$(e.target).parents(".secondary-menu,.extra-toggle").length&&($("html").removeClass("mobile-extra-menu-active"),$(".navigation .secondary-menu").removeClass("secondary-menu-open"),$(".js-extra-menu-toggle").removeClass("active"),$("body").removeClass("lock-scroll-extra-menu"))}),$(".js-extra-menu-toggle").on("click",function(){$("html").toggleClass("mobile-extra-menu-active"),$("body").toggleClass("lock-scroll-extra-menu"),$("html").hasClass("mobile-extra-menu-active")?($(".js-extra-menu-toggle").addClass("active"),$(".navigation .secondary-menu").addClass("secondary-menu-open"),$(".navigation .menu").removeClass("main-menu-open")):($(".navigation .secondary-menu").removeClass("secondary-menu-open"),$(".js-extra-menu-toggle").removeClass("active")),$(".js-menu-toggle").removeClass("active"),$(".dropdown").removeClass("show"),$(".dropdown-menu").removeClass("show"),$("body").removeClass("lock-scroll")}),$(document).on("click",".secondary-menu .module-menu .has-sub-menu > a",function(e){var ul=$(this).parent().children("ul");1===ul.length&&0<$(".mobile-extra-menu-active").length&&(e.preventDefault(),ul.slideToggle(function(){"none"==this.style.display&&(this.style.display="")}))}),$(".secondary-menu .mobile-profile.has-sub-menu > a").on("click",function(e){var ul=$(this).parent().children("ul");console.log(0<$(".mobile-extra-menu-active").length),1===ul.length&&0<$(".mobile-extra-menu-active").length&&(e.preventDefault(),ul.slideToggle(function(){"none"==this.style.display&&(this.style.display="")}))}),$(document).ready(function(){$(".navigation .menu .list.menu-root").collapseNav({responsive:1,mobile_break:992,li_class:"has-sub-menu dropdown"}),$(window).width()<=991&&($(".navigation .menu .list.menu-root .has-sub-menu a.dropdown-toggle").attr("href","javascript:;"),$(".navigation .menu .list.menu-root .has-sub-menu").on("click",function(e){}))}),$(".dropdown.has-sub-menu").on("click",function(e){$(this).toggleClass("show")});

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.