!function($,t,e){$.fn.anVerticalCarousel=function(t){return this.each(function(e){var o={show:1,items:"> img",currentClass:"current",clickFirst:function(t){t.fns.prevPage()},clickLast:function(t){t.fns.nextPage()}},i={$items:null,$stage:null,index:0,count:0,page:0,pages:0,containerHeight:0},n={init:function(t){$.extend(o,t),i.$container=$(this),i.$items=i.$container.find(o.items),i.$stage=i.$container.wrapInner($('')).children(),i.count=i.$items.length,i.pages=Math.ceil(i.count/o.show),imagesLoaded(i.$stage[0],function(){n.calculate()}),i.$items.on("click",function(t){var e=i.$items.filter("."+o.currentClass);this==e.first().get(0)&&o.clickFirst.apply(this,[i.$container.data("anVerticalCarousel"),i.index,i.page]),this==e.last().get(0)&&o.clickLast.apply(this,[i.$container.data("anVerticalCarousel"),i.index,i.page])})},calculate:function(){i.stageHeight=i.$stage.outerHeight();var t=n.getRangeByIndex(i.index),e=i.$items.slice(t[0],t[1]);i.$items.removeClass(o.currentClass).removeClass("hidden"),e.addClass(o.currentClass),e.each(function(t,e){i.containerHeight+=$(e).outerHeight(!0)}),i.$container.height(i.containerHeight),n.setIndex(i.index)},getRangeByIndex:function(t){var e=t,n=e+o.show;return n>i.count&&(n=i.count,e=n-o.show),0>e&&(e=0),[e,n]},getRangeByPage:function(t){t>i.pages&&(t=i.pages);var e=(t-1)*o.show,n=e+o.show;return n>i.count-1&&(e=i.count-o.show,n=i.count),[e,n]},setIndex:function(t){var e=n.getRangeByIndex(t),r=i.$items.slice(e[0],e[1]),s=r.eq(0).position().top;i.$items.removeClass(o.currentClass),r.addClass(o.currentClass),TweenMax.to(i.$stage,.5,{css:{top:-s},ease:Quad.easeOut}),i.index=e[0],i.page=Math.round(e[1]/o.show)},setPage:function(t){var e=n.getRangeByIndex((t-1)*o.show);n.setIndex(e[0])},prevPage:function(){n.setPage(i.page-1)},nextPage:function(){n.setPage(i.page+1)}};"object"==typeof t&&(n.init.apply(this,[t]),$(this).data("anVerticalCarousel",{opts:o,priv:i,fns:n}))})}}(jQuery,window),function($){$.fn.hoverIntent=function(t,e,o){var i={interval:100,sensitivity:6,timeout:0};i="object"==typeof t?$.extend(i,t):$.isFunction(e)?$.extend(i,{over:t,out:e,selector:o}):$.extend(i,{over:t,out:t,selector:e});var n,r,s,a,l=function(t){n=t.pageX,r=t.pageY},c=function(t,e){return e.hoverIntent_t=clearTimeout(e.hoverIntent_t),Math.sqrt((s-n)*(s-n)+(a-r)*(a-r))n;n++)i.callbacks[m[n]]=[];this.locked=!1;var s,l,w,y,b,S;this.triggerCallbacks=function z(){switch(this.isInViewport&&!s&&o(this.callbacks[u]),this.isFullyInViewport&&!l&&o(this.callbacks[h]),this.isAboveViewport!==w&&this.isBelowViewport!==y&&(o(this.callbacks[c]),l||this.isFullyInViewport||(o(this.callbacks[h]),o(this.callbacks[f])),s||this.isInViewport||(o(this.callbacks[u]),o(this.callbacks[d]))),!this.isFullyInViewport&&l&&o(this.callbacks[f]),!this.isInViewport&&s&&o(this.callbacks[d]),this.isInViewport!==s&&o(this.callbacks[c]),!0){case s!==this.isInViewport:case l!==this.isFullyInViewport:case w!==this.isAboveViewport:case y!==this.isBelowViewport:o(this.callbacks[v])}s=this.isInViewport,l=this.isFullyInViewport,w=this.isAboveViewport,y=this.isBelowViewport},this.recalculateLocation=function(){if(!this.locked){var t=this.top,e=this.bottom;if(this.watchItem.nodeName){var i=this.watchItem.style.display;"none"===i&&(this.watchItem.style.display="");var n=this.watchItem.getBoundingClientRect();this.top=n.top+a.viewportTop,this.bottom=n.bottom+a.viewportTop,"none"===i&&(this.watchItem.style.display=i)}else this.watchItem===+this.watchItem?this.watchItem>0?this.top=this.bottom=this.watchItem:this.top=this.bottom=a.documentHeight-this.watchItem:(this.top=this.watchItem.top,this.bottom=this.watchItem.bottom);this.top-=this.offsets.top,this.bottom+=this.offsets.bottom,this.height=this.bottom-this.top,void 0===t&&void 0===e||this.top===t&&this.bottom===e||o(this.callbacks[p])}},this.recalculateLocation(),this.update(),s=this.isInViewport,l=this.isFullyInViewport,w=this.isAboveViewport,y=this.isBelowViewport}function r(e){x=e,t(),i()}var s=function(){return window.pageYOffset||document.documentElement&&document.documentElement.scrollTop||document.body.scrollTop},a={},l=[],c="visibilityChange",u="enterViewport",h="fullyEnterViewport",d="exitViewport",f="partiallyExitViewport",p="locationChange",v="stateChange",m=[c,u,h,d,f,p,v],g={top:0,bottom:0},w=function(){return window.innerHeight||document.documentElement.clientHeight},y=function(){return Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.documentElement.clientHeight)};a.viewportTop=null,a.viewportBottom=null,a.documentHeight=null,a.viewportHeight=w();var b,x,S,z,E;n.prototype={on:function(t,e,o){switch(!0){case t===c&&!this.isInViewport&&this.isAboveViewport:case t===u&&this.isInViewport:case t===h&&this.isFullyInViewport:case t===d&&this.isAboveViewport&&!this.isInViewport:case t===f&&this.isAboveViewport:if(e.call(this,x),o)return}if(!this.callbacks[t])throw new Error("Tried to add a scroll monitor listener of type "+t+". Your options are: "+m.join(", "));this.callbacks[t].push({callback:e,isOne:o||!1})},off:function(t,e){if(!this.callbacks[t])throw new Error("Tried to remove a scroll monitor listener of type "+t+". Your options are: "+m.join(", "));for(var o=0,i;i=this.callbacks[t][o];o++)if(i.callback===e){this.callbacks[t].splice(o,1);break}},one:function(t,e){this.on(t,e,!0)},recalculateSize:function(){this.height=this.watchItem.offsetHeight+this.offsets.top+this.offsets.bottom,this.bottom=this.top+this.height},update:function(){this.isAboveViewport=this.topa.viewportBottom,this.isInViewport=this.top<=a.viewportBottom&&this.bottom>=a.viewportTop,this.isFullyInViewport=this.top>=a.viewportTop&&this.bottom<=a.viewportBottom||this.isAboveViewport&&this.isBelowViewport},destroy:function(){var t=l.indexOf(this),e=this;l.splice(t,1);for(var o=0,i=m.length;i>o;o++)e.callbacks[m[o]].length=0},lock:function(){this.locked=!0},unlock:function(){this.locked=!1}};for(var I=function(t){return function(e,o){this.on.call(this,t,e,o)}},k=0,L=m.length;L>k;k++){var T=m[k];n.prototype[T]=I(T)}try{t()}catch(C){try{window.$(t)}catch(C){throw new Error("If you must put scrollMonitor in the , you must use jQuery.")}}return window.addEventListener?(window.addEventListener("scroll",r),window.addEventListener("resize",o)):(window.attachEvent("onscroll",r),window.attachEvent("onresize",o)),a.beget=a.create=function(t,e){"string"==typeof t?t=document.querySelector(t):t&&t.length>0&&(t=t[0]);var o=new n(t,e);return l.push(o),o.update(),o},a.update=function(){x=null,t(),i()},a.recalculateLocations=function(){a.documentHeight=0,a.update()},a}),function($){var t={className:"autosizejs",id:"autosizejs",append:"\n",callback:!1,resizeDelay:10,placeholder:!0},e='