var fusion={fusionResizeWidth:0,fusionResizeHeight:0,toBool:function(e){return 1===e||"1"===e||!0===e||"true"===e||"on"===e},restArguments:function(e,t){return t=t==null?e.length-1:+t,function(){for(var o,i=Math.max(arguments.length-t,0),s=Array(i),n=0;n
',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0},sanitize:!0,sanitizeFn:null,whiteList:a},t.prototype.init=function(t,n,s){if(this.enabled=!0,this.type=t,this.$element=e(n),this.options=this.getOptions(s),this.$viewport=this.options.viewport&&e(document).find(e.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var o,r,c,i=this.options.trigger.split(" "),a=i.length;a--;)o=i[a],"click"==o?this.$element.on("click."+this.type,this.options.selector,e.proxy(this.toggle,this)):"manual"!=o&&(r="hover"==o?"mouseenter":"focusin",c="hover"==o?"mouseleave":"focusout",this.$element.on(r+"."+this.type,this.options.selector,e.proxy(this.enter,this)),this.$element.on(c+"."+this.type,this.options.selector,e.proxy(this.leave,this)));this.options.selector?this._options=e.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},t.prototype.getDefaults=function(){return t.DEFAULTS},t.prototype.getOptions=function(t){var i,s=this.$element.data();for(i in s)s.hasOwnProperty(i)&&-1!==e.inArray(i,o)&&delete s[i];return(t=e.extend({},this.getDefaults(),this.$element.data(),t)).delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t.sanitize&&(t.template=n(t.template,t.whiteList,t.sanitizeFn)),t},t.prototype.getDelegateOptions=function(){var t={},n=this.getDefaults();return this._options&&e.each(this._options,function(e,s){n[e]!=s&&(t[e]=s)}),t},t.prototype.enter=function(t){var n=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n)),t instanceof e.Event&&(n.inState["focusin"==t.type?"focus":"hover"]=!0),n.tip().hasClass("in")||"in"==n.hoverState)n.hoverState="in";else{if(clearTimeout(n.timeout),n.hoverState="in",!n.options.delay||!n.options.delay.show)return n.show();n.timeout=setTimeout(function(){"in"==n.hoverState&&n.show()},n.options.delay.show)}},t.prototype.isInStateTrue=function(){for(var e in this.inState)if(this.inState[e])return!0;return!1},t.prototype.leave=function(t){var n=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n)),t instanceof e.Event&&(n.inState["focusout"==t.type?"focus":"hover"]=!1),!n.isInStateTrue()){if(clearTimeout(n.timeout),n.hoverState="out",!n.options.delay||!n.options.delay.hide)return n.hide();n.timeout=setTimeout(function(){"out"==n.hoverState&&n.hide()},n.options.delay.hide)}},t.prototype.show=function(){if(c=e.Event("show.bs."+this.type),this.hasContent()&&this.enabled){if(this.$element.trigger(c),p=e.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]),c.isDefaultPrevented()||!p)return;var i,c,d,f,p,g,o=this,s=this.tip(),m=this.getUID(this.type);this.setContent(),s.attr("id",m),this.$element.attr("aria-describedby",m),this.options.animation&&s.addClass("fade");var n="function"==typeof this.options.placement?this.options.placement.call(this,s[0],this.$element[0]):this.options.placement,u=/\s?auto?\s?/i,h=u.test(n);h&&(n=n.replace(u,"")||"top"),s.detach().css({top:0,left:0,display:"block"}).addClass(n).data("bs."+this.type,this).addClass(this.$element.data("class")),this.options.container?s.appendTo(e(document).find(this.options.container)):s.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var a=this.getPosition(),r=s[0].offsetWidth,l=s[0].offsetHeight;h&&(f=n,i=this.getPosition(this.$viewport),n="bottom"==n&&a.bottom+l>i.bottom?"top":"top"==n&&a.top-li.width?"left":"left"==n&&a.left-ro.top+o.height&&(i.top=o.top+o.height-c)):(l=t.left-a,d=t.left+a+n,lo.right&&(i.left=o.left+o.width-d)),i},t.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},t.prototype.getUID=function(e){do e+=~~(1e6*Math.random());while(document.getElementById(e))return e},t.prototype.tip=function(){if(!this.$tip&&(this.$tip=e(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},t.prototype.enable=function(){this.enabled=!0},t.prototype.disable=function(){this.enabled=!1},t.prototype.toggleEnabled=function(){this.enabled=!this.enabled},t.prototype.toggle=function(t){var n=this;t&&((n=e(t.currentTarget).data("bs."+this.type))||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n))),t?(n.inState.click=!n.inState.click,n.isInStateTrue()?n.enter(n):n.leave(n)):n.tip().hasClass("in")?n.leave(n):n.enter(n)},t.prototype.destroy=function(){var e=this;clearTimeout(this.timeout),this.hide(function(){e.$element.off("."+e.type).removeData("bs."+e.type),e.$tip&&e.$tip.detach(),e.$tip=null,e.$arrow=null,e.$viewport=null})},t.prototype.sanitizeHtml=function(e){return n(e,this.options.whiteList,this.options.sanitizeFn)},s=e.fn.tooltip,e.fn.tooltip=function(n){return this.each(function(){var o=e(this),s=o.data("bs.tooltip"),i="object"==typeof n&&n;!s&&/destroy|hide/.test(n)||(s||o.data("bs.tooltip",s=new t(this,i)),"string"==typeof n&&"function"==typeof s[n]&&s[n]())})},e.fn.tooltip.Constructor=t,e.fn.tooltip.noConflict=function(){return e.fn.tooltip=s,this}}(jQuery) ;!function(e,t){for(var o,a=0,r=function(e){o&&(t.requestAnimationFrame(r,e),jQuery.fx.tick())},i=["ms","moz","webkit","o"],s=0,c=i.length;s=o.fxs.length)?o.lastFx=0:!c&&(o.lastFx===t||--o.lastFx<0)&&(o.lastFx=o.fxs.length-1),f=o.fxs[o.lastFx]),o.oneTimeFx&&(f=o.oneTimeFx,o.oneTimeFx=null),e.fn.cycle.resetState(o,f),o.before.length&&e.each(o.before,function(e,t){u.cycleStop==o.stopCount&&t.apply(l,[d,l,o,c])}),p=function(){o.busy=0,e.each(o.after,function(e,t){u.cycleStop==o.stopCount&&t.apply(l,[d,l,o,c])}),u.cycleStop||g()},s((o.currSlide,o.nextSlide)),o.busy=1,o.fxFn?o.fxFn(d,l,o,p,c,a&&o.fastOnEvent):e.isFunction(e.fn.cycle[o.fx])?e.fn.cycle[o.fx](d,l,o,p,c,a&&o.fastOnEvent):e.fn.cycle.custom(d,l,o,p,c,a&&o.fastOnEvent)),(m||o.nextSlide==o.currSlide)&&(o.lastSlide=o.currSlide,o.random?(o.currSlide=o.nextSlide,++o.randomIndex==n.length&&(o.randomIndex=0,o.randomMap.sort(function(){return Math.random()-.5})),o.nextSlide=o.randomMap[o.randomIndex],o.nextSlide==o.currSlide&&(o.nextSlide=o.currSlide==o.slideCount-1?0:o.currSlide+1)):o.backwards?(h=o.nextSlide-1<0)&&o.bounce?(o.backwards=!o.backwards,o.nextSlide=1,o.currSlide=0):(o.nextSlide=h?n.length-1:o.nextSlide-1,o.currSlide=h?0:o.nextSlide+1):(h=o.nextSlide+1==n.length)&&o.bounce?(o.backwards=!o.backwards,o.nextSlide=n.length-2,o.currSlide=n.length-1):(o.nextSlide=h?0:o.nextSlide+1,o.currSlide=h?n.length-1:o.nextSlide-1)),m&&o.pager&&o.updateActivePagerLink(o.pager,o.currSlide,o.activePagerClass)):o.end&&o.end(o));function g(){var e=0;o.timeout,o.timeout&&!o.continuous?(e=r(n[o.currSlide],n[o.nextSlide],o,c),"shuffle"==o.fx&&(e-=o.speedOut)):o.continuous&&u.cyclePause&&(e=10),e>0&&(u.cycleTimeout=setTimeout(function(){i(n,o,0,!o.backwards)},e))}}function r(e,t,n,o){if(n.timeoutFn){for(var i=n.timeoutFn.call(e,e,t,n,o);"none"!=n.fx&&i-n.speed<250;)i+=n.speed;if(s(n.speed),!1!==i)return i}return n.timeout}function a(t,n){var a,o=n?1:-1,s=t.elements,r=t.$cont[0],c=r.cycleTimeout;if(c&&(clearTimeout(c),r.cycleTimeout=0),t.random&&o<0)t.randomIndex--,-2==--t.randomIndex?t.randomIndex=s.length-2:-1==t.randomIndex&&(t.randomIndex=s.length-1),t.nextSlide=t.randomMap[t.randomIndex];else if(t.random)t.nextSlide=t.randomMap[t.randomIndex];else if(t.nextSlide=t.currSlide+o,t.nextSlide<0){if(t.nowrap)return!1;t.nextSlide=s.length-1}else if(t.nextSlide>=s.length){if(t.nowrap)return!1;t.nextSlide=0}return a=t.onPrevNextEvent||t.prevNextClick,e.isFunction(a)&&a(o>0,t.nextSlide,s[t.nextSlide]),i(s,t,1,n),!1}e.expr[":"].paused=function(e){return e.cyclePause},e.fn.cycle=function(c,l){var d={s:this.selector,c:this.context};return 0===this.length&&"stop"!=c?!e.isReady&&d.s?(n(),e(function(){e(d.s,d.c).cycle(c,l)}),this):(n(e.isReady),this):this.each(function(){if(h=function(s,a,r){if(s.cycleStop===t&&(s.cycleStop=0),a!==t&&null!==a||(a={}),a.constructor==String){switch(a){case"destroy":case"stop":var l,c=e(s).data("cycle.opts");return!!c&&(s.cycleStop++,s.cycleTimeout&&clearTimeout(s.cycleTimeout),s.cycleTimeout=0,c.elements&&e(c.elements).stop(),e(s).removeData("cycle.opts"),"destroy"==a&&function(t,n){n.next&&e(n.next).unbind(n.prevNextEvent),n.prev&&e(n.prev).unbind(n.prevNextEvent),(n.pager||n.pagerAnchorBuilder)&&e.each(n.pagerAnchors||[],function(){this.unbind().remove()}),n.pagerAnchors=null,e(t).unbind("mouseenter.cycle mouseleave.cycle"),n.destroy&&n.destroy(n)}(s,c),!1);case"toggle":return s.cyclePause=1===s.cyclePause?0:1,d(s.cyclePause,r,s),o(s),!1;case"pause":return s.cyclePause=1,o(s),!1;case"resume":return s.cyclePause=0,d(!1,r,s),o(s),!1;case"prev":case"next":return(c=e(s).data("cycle.opts"))?("string"==typeof r&&(c.oneTimeFx=r),e.fn.cycle[a](c),!1):(n(),!1);default:a={fx:a}}return a}return a.constructor==Number?(l=a,(a=e(s).data("cycle.opts"))?l<0||l>=a.elements.length?(n(),!1):(a.nextSlide=l,s.cycleTimeout&&(clearTimeout(s.cycleTimeout),s.cycleTimeout=0),"string"==typeof r&&(a.oneTimeFx=r),i(a.elements,a,1,l>=a.currSlide),!1):(n(),!1)):a;function d(t,s,o){if(!t&&!0===s){var a=e(o).data("cycle.opts");if(!a)return n(),!1;o.cycleTimeout&&(clearTimeout(o.cycleTimeout),o.cycleTimeout=0),i(a.elements,a,1,!a.backwards)}}}(this,c,l),!1!==h){h.updateActivePagerLink=h.updateActivePagerLink||e.fn.cycle.updateActivePagerLink,this.cycleTimeout&&clearTimeout(this.cycleTimeout),this.cycleTimeout=this.cyclePause=0,this.cycleStop=0;var u,h,f,p=e(this),g=h.slideExpr?e(h.slideExpr,this):p.children(),m=g.get();m.length<2?n(m.length):(u=function(r,c,l,d,u){if(h=e.extend({},e.fn.cycle.defaults,d||{},e.metadata?r.metadata():e.meta?r.data():{}),A=e.isFunction(r.data)?r.data(h.metaAttr):null,A&&(h=e.extend(h,A)),h.autostop&&(h.countdown=h.autostopCount||l.length),y=r[0],r.data("cycle.opts",h),h.$cont=r,h.stopCount=y.cycleStop,h.elements=l,h.before=h.before?[h.before]:[],h.after=h.after?[h.after]:[],h.continuous&&h.after.push(function(){i(l,h,0,!h.backwards)}),function(t){t.original={before:[],after:[]},t.original.cssBefore=e.extend({},t.cssBefore),t.original.cssAfter=e.extend({},t.cssAfter),t.original.animIn=e.extend({},t.animIn),t.original.animOut=e.extend({},t.animOut),e.each(t.before,function(){t.original.before.push(this)}),e.each(t.after,function(){t.original.after.push(this)})}(h),"static"==r.css("position")&&r.css("position","relative"),h.width&&r.width(h.width),h.height&&"auto"!=h.height&&r.height(h.height),h.startingSlide!==t?(h.startingSlide=parseInt(h.startingSlide,10),h.startingSlide>=l.length||h.startSlide<0?h.startingSlide=0:S=!0):h.backwards?h.startingSlide=l.length-1:h.startingSlide=0,h.random){h.randomMap=[];for(j=0;j=l.length&&(h.startingSlide=0);if(h.currSlide=h.startingSlide||0,m=h.startingSlide,c.css({position:"absolute",top:0,left:0}).hide().each(function(t){var n=h.backwards?m?t<=m?l.length+(t-m):m-t:l.length-t:m?t>=m?l.length-(t-m):m-t:l.length-t;e(this).css("z-index",n)}),e(l[m]).css("opacity",1).show(),h.fit&&(h.aspect?c.each(function(){var t=e(this),n=!0===h.aspect?t.width()/t.height():h.aspect;h.width&&t.width()!=h.width&&(t.width(h.width),t.height(h.width/n)),h.height&&t.height()g?w:g,p=O>p?O:p}h.containerResize&&g>0&&p>0&&r.animate({width:g+"px",height:p+"px"}),h.containerResizeHeight&&p>0&&r.animate({height:p+"px"})}if(C=!1,h.pause&&r.bind("mouseenter.cycle",function(){C=!0,this.cyclePause++,o(y,!0)}).bind("mouseleave.cycle",function(){C&&this.cyclePause--,o(y,!0)}),!1===function(t){var o,a,r,c,l,d,i=e.fn.cycle.transitions;if(t.fx.indexOf(",")>0){{for(t.multiFx=!0,t.fxs=t.fx.replace(/\s*/g,"").split(","),o=0;o=l.length-1?0:h.startingSlide+1,!h.multiFx)if(k=e.fn.cycle.transitions[h.fx],e.isFunction(k))k(r,c,h);else if("custom"!=h.fx&&!h.multiFx)return n(h.fx),!1;return f=c[m],h.skipInitializationCallbacks||(h.before.length&&h.before[0].apply(f,[f,f,h,!0]),h.after.length&&h.after[0].apply(f,[f,f,h,!0])),h.next&&e(h.next).bind(h.prevNextEvent,function(){return a(h,1)}),h.prev&&e(h.prev).bind(h.prevNextEvent,function(){return a(h,0)}),(h.pager||h.pagerAnchorBuilder)&&function(t,n){var s=e(n.pager);e.each(t,function(o,i){e.fn.cycle.createPagerAnchor(o,i,s,t,n)}),n.updateActivePagerLink(n.pager,n.startingSlide,n.activePagerClass)}(l,h),function(t,n){t.addSlide=function(s,o){var i=e(s),a=i[0];t.autostopCount||t.countdown++,n[o?"unshift":"push"](a),t.els&&t.els[o?"unshift":"push"](a),t.slideCount=n.length,t.random&&(t.randomMap.push(t.slideCount-1),t.randomMap.sort(function(){return Math.random()-.5})),i.css("position","absolute"),i[o?"prependTo":"appendTo"](t.$cont),o&&(t.currSlide++,t.nextSlide++),t.fit&&t.width&&i.width(t.width),t.fit&&t.height&&"auto"!=t.height&&i.height(t.height),a.cycleH=t.fit&&t.height?t.height:i.height(),a.cycleW=t.fit&&t.width?t.width:i.width(),i.css(t.cssBefore),(t.pager||t.pagerAnchorBuilder)&&e.fn.cycle.createPagerAnchor(n.length-1,a,e(t.pager),n,t),e.isFunction(t.onAddSlide)?t.onAddSlide(i):i.hide()}}(h,l),h}(p,g,m,h,d),!1!==u&&(f=u.continuous?10:r(m[u.currSlide],m[u.nextSlide],u,!u.backwards),f&&((f+=u.delay||0)<10&&(f=10),s(),this.cycleTimeout=setTimeout(function(){i(m,u,0,!h.backwards)},f))))}})},e.fn.cycle.resetState=function(t,n){n=n||t.fx,t.before=[],t.after=[],t.cssBefore=e.extend({},t.original.cssBefore),t.cssAfter=e.extend({},t.original.cssAfter),t.animIn=e.extend({},t.original.animIn),t.animOut=e.extend({},t.original.animOut),t.fxFn=null,e.each(t.original.before,function(){t.before.push(this)}),e.each(t.original.after,function(){t.after.push(this)});var s=e.fn.cycle.transitions[n];e.isFunction(s)&&s(t.$cont,e(t.elements),t)},e.fn.cycle.updateActivePagerLink=function(t,n,s){e(t).each(function(){e(this).children().removeClass(s).eq(n).addClass(s)})},e.fn.cycle.next=function(e){a(e,1)},e.fn.cycle.prev=function(e){a(e,0)},e.fn.cycle.createPagerAnchor=function(t,n,a,r,c){if(e.isFunction(c.pagerAnchorBuilder)?(d=c.pagerAnchorBuilder(t,n),s()):d='',d){l=e(d),0===l.parents("body").length&&(h=[],a.length>1?(a.each(function(){var t=l.clone(!0);e(this).append(t),h.push(t[0])}),l=e(h)):l.appendTo(a)),c.pagerAnchors=c.pagerAnchors||[],c.pagerAnchors.push(l),m=function(n){n.preventDefault(),c.nextSlide=t;var s,o=c.$cont[0],a=o.cycleTimeout;a&&(clearTimeout(a),o.cycleTimeout=0),s=c.onPagerEvent||c.pagerClick,e.isFunction(s)&&s(c.nextSlide,r[c.nextSlide]),i(r,c,1,c.currSliden?s-n:e.slideCount-n:s0&&(s.cssBefore.width=n.cycleW),s.slideResize&&!1!==i&&n.cycleH>0&&(s.cssBefore.height=n.cycleH),s.cssAfter=s.cssAfter||{},s.cssAfter.display="none",e(t).css("zIndex",s.slideCount+(!0===a?1:0)),e(n).css("zIndex",s.slideCount+(!0===a?0:1))},e.fn.cycle.custom=function(t,n,s,o,i,a){var r,c=e(t),l=e(n),d=s.speedIn,u=s.speedOut,h=s.easeIn,m=s.easeOut,f=s.animInDelay,p=s.animOutDelay;l.css(s.cssBefore),a&&(d=u="number"==typeof a?a:1,h=m=null),r=function(){l.delay(f).animate(s.animIn,d,h,function(){o()})},c.delay(p).animate(s.animOut,u,m,function(){c.css(s.cssAfter),s.sync||r()}),s.sync&&r()},e.fn.cycle.transitions={fade:function(t,n,s){n.not(":eq("+s.currSlide+")").css("opacity",0),s.before.push(function(t,n,s){e.fn.cycle.commonReset(t,n,s),s.cssBefore.opacity=0}),s.animIn={opacity:1},s.animOut={opacity:0},s.cssBefore={top:0,left:0}}},e.fn.cycle.ver=function(){return"3.0.3"},e.fn.cycle.defaults={activePagerClass:"activeSlide",after:null,allowPagerClickBubble:!1,animIn:null,animInDelay:0,animOut:null,animOutDelay:0,aspect:!1,autostop:0,autostopCount:0,backwards:!1,before:null,center:null,cleartype:!1,cleartypeNoBg:!1,containerResize:1,containerResizeHeight:0,continuous:0,cssAfter:null,cssBefore:null,delay:0,easeIn:null,easeOut:null,easing:null,end:null,fastOnEvent:0,fit:0,fx:"fade",fxFn:null,height:"auto",manualTrump:!0,metaAttr:"cycle",next:null,nowrap:0,onPagerEvent:null,onPrevNextEvent:null,pager:null,pagerAnchorBuilder:null,pagerEvent:"click.cycle",pause:0,pauseOnPagerHover:0,prev:null,prevNextEvent:"click.cycle",random:0,randomizeEffects:1,requeueOnImageNotLoaded:!0,requeueTimeout:250,rev:0,shuffle:null,skipInitializationCallbacks:!1,slideExpr:null,slideResize:1,speed:1e3,speedIn:null,speedOut:null,startingSlide:t,sync:1,timeout:4e3,timeoutFn:null,updateActivePagerLink:null,width:null}}(jQuery),function(e){"use strict";e.fn.cycle.transitions.none=function(t,n,s){s.fxFn=function(t,n,s,o){e(n).show(),e(t).hide(),o()}},e.fn.cycle.transitions.fadeout=function(t,n,s){n.not(":eq("+s.currSlide+")").css({display:"block",opacity:1}),s.before.push(function(t,n,s,o,i,a){e(t).css("zIndex",s.slideCount+(!0!==a?1:0)),e(n).css("zIndex",s.slideCount+(!0!==a?0:1))}),s.animIn.opacity=1,s.animOut.opacity=0,s.cssBefore.opacity=1,s.cssBefore.display="block",s.cssAfter.zIndex=0},e.fn.cycle.transitions.scrollUp=function(t,n,s){t.css("overflow","hidden"),s.before.push(e.fn.cycle.commonReset);var o=t.height();s.cssBefore.top=o,s.cssBefore.left=0,s.cssFirst.top=0,s.animIn.top=0,s.animOut.top=-o},e.fn.cycle.transitions.scrollDown=function(t,n,s){t.css("overflow","hidden"),s.before.push(e.fn.cycle.commonReset);var o=t.height();s.cssFirst.top=0,s.cssBefore.top=-o,s.cssBefore.left=0,s.animIn.top=0,s.animOut.top=o},e.fn.cycle.transitions.scrollLeft=function(t,n,s){t.css("overflow","hidden"),s.before.push(e.fn.cycle.commonReset);var o=t.width();s.cssFirst.left=0,s.cssBefore.left=o,s.cssBefore.top=0,s.animIn.left=0,s.animOut.left=0-o},e.fn.cycle.transitions.scrollRight=function(t,n,s){t.css("overflow","hidden"),s.before.push(e.fn.cycle.commonReset);var o=t.width();s.cssFirst.left=0,s.cssBefore.left=-o,s.cssBefore.top=0,s.animIn.left=0,s.animOut.left=o},e.fn.cycle.transitions.scrollHorz=function(t,n,s){t.css("overflow","hidden").width(),s.before.push(function(t,n,s,o){s.rev&&(o=!o),e.fn.cycle.commonReset(t,n,s),s.cssBefore.left=o?n.cycleW-1:1-n.cycleW,s.animOut.left=o?-t.cycleW:t.cycleW}),s.cssFirst.left=0,s.cssBefore.top=0,s.animIn.left=0,s.animOut.top=0},e.fn.cycle.transitions.scrollVert=function(t,n,s){t.css("overflow","hidden"),s.before.push(function(t,n,s,o){s.rev&&(o=!o),e.fn.cycle.commonReset(t,n,s),s.cssBefore.top=o?1-n.cycleH:n.cycleH-1,s.animOut.top=o?t.cycleH:-t.cycleH}),s.cssFirst.top=0,s.cssBefore.left=0,s.animIn.top=0,s.animOut.left=0},e.fn.cycle.transitions.slideX=function(t,n,s){s.before.push(function(t,n,s){e(s.elements).not(t).hide(),e.fn.cycle.commonReset(t,n,s,!1,!0),s.animIn.width=n.cycleW}),s.cssBefore.left=0,s.cssBefore.top=0,s.cssBefore.width=0,s.animIn.width="show",s.animOut.width=0},e.fn.cycle.transitions.slideY=function(t,n,s){s.before.push(function(t,n,s){e(s.elements).not(t).hide(),e.fn.cycle.commonReset(t,n,s,!0,!1),s.animIn.height=n.cycleH}),s.cssBefore.left=0,s.cssBefore.top=0,s.cssBefore.height=0,s.animIn.height="show",s.animOut.height=0},e.fn.cycle.transitions.shuffle=function(t,n,s){var o,i=t.css("overflow","visible").width();for(n.css({left:0,top:0}),s.before.push(function(t,n,s){e.fn.cycle.commonReset(t,n,s,!0,!0,!0)}),s.speedAdjusted||(s.speed=s.speed/2,s.speedAdjusted=!0),s.random=0,s.shuffle=s.shuffle||{left:-i,top:15},s.els=[],o=0;ox

',o.appendChild(s.childNodes[1])}return t&&e.extend(n,t),this.each(function(){var t,s,o=['iframe[src*="player.vimeo.com"]','iframe[src*="youtube.com"]','iframe[src*="youtube-nocookie.com"]','iframe[src*="kickstarter.com"][src*="video.html"]',"object","embed"];n.customSelector&&o.push(n.customSelector),t=".fitvidsignore",n.ignore&&(t=t+", "+n.ignore),s=e(this).find(o.join(",")),(s=(s=s.not("object object")).not(t)).each(function(){var s,o,n=e(this);n.parents(t).length>0||"embed"===this.tagName.toLowerCase()&&n.parent("object").length||n.parent(".fluid-width-video-wrapper").length||(n.css("height")||n.css("width")||!isNaN(n.attr("height"))&&!isNaN(n.attr("width"))||(n.attr("height",9),n.attr("width",16)),s=("object"===this.tagName.toLowerCase()||n.attr("height")&&!isNaN(parseInt(n.attr("height"),10))?parseInt(n.attr("height"),10):n.height())/(isNaN(parseInt(n.attr("width"),10))?n.width():parseInt(n.attr("width"),10)),n.attr("name")||(o="fitvid"+e.fn.fitVids._count,n.attr("name",o),e.fn.fitVids._count++),n.wrap('
').parent(".fluid-width-video-wrapper").css("padding-top",100*s+"%"),n.removeAttr("height").removeAttr("width"))})})},e.fn.fitVids._count=0}(window.jQuery||window.Zepto) ;!function(e){var t=!0;e.flexslider=function(n,s){o=e(n),0[0]===s.rtl&&"rtl"==e("html").attr("dir")&&(s.rtl=!0),o.vars=e.extend({},e.flexslider.defaults,s);var o,g,a=o.vars.namespace,p=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture,f=("ontouchstart"in window||p||window.DocumentTouch&&document instanceof DocumentTouch)&&o.vars.touch,m="click touchend MSPointerUp keyup",c="",d="vertical"===o.vars.direction,l=o.vars.reverse,r=o.vars.itemWidth>0,u="fade"===o.vars.animation,h=""!==o.vars.asNavFor,i={};e.data(n,"flexslider",o),i={init:function(){o.animating=!1,o.currentSlide=parseInt(o.vars.startAt?o.vars.startAt:0,10),isNaN(o.currentSlide)&&(o.currentSlide=0),o.animatingTo=o.currentSlide,o.atEnd=0===o.currentSlide||o.currentSlide===o.last,o.containerSelector=o.vars.selector.substr(0,o.vars.selector.search(" ")),o.slides=e(o.vars.selector,o),o.container=e(o.containerSelector,o),o.count=o.slides.length,o.syncExists=e(o.vars.sync).length>0,"slide"===o.vars.animation&&(o.vars.animation="swing"),o.prop=d?"top":o.vars.rtl?"marginRight":"marginLeft",o.args={},o.manualPause=!1,o.stopped=!1,o.started=!1,o.startTimeout=null,o.transitions=!o.vars.video&&!u&&o.vars.useCSS&&function(){var t,n=document.createElement("div"),e=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(t in e)if(0[0]!==n.style[e[t]])return o.pfx=e[t].replace("Perspective","").toLowerCase(),o.prop="-"+o.pfx+"-transform",!0;return!1}(),o.isFirefox=navigator.userAgent.toLowerCase().indexOf("firefox")>-1,o.ensureAnimationEnd="",""!==o.vars.controlsContainer&&(o.controlsContainer=e(o.vars.controlsContainer).length>0&&e(o.vars.controlsContainer)),""!==o.vars.manualControls&&(o.manualControls=e(o.vars.manualControls).length>0&&e(o.vars.manualControls)),""!==o.vars.customDirectionNav&&(o.customDirectionNav=2===e(o.vars.customDirectionNav).length&&e(o.vars.customDirectionNav)),o.vars.randomize&&(o.slides.sort(function(){return Math.round(Math.random())-.5}),o.container.empty().append(o.slides)),o.doMath(),o.setup("init"),o.vars.controlNav&&i.controlNav.setup(),o.vars.directionNav&&i.directionNav.setup(),o.vars.keyboard&&(1===e(o.containerSelector).length||o.vars.multipleKeyboard)&&e(document).bind("keyup",function(e){var n,t=e.keyCode;!o.animating&&(39===t||37===t)&&(n=o.vars.rtl?37===t?o.getTarget("next"):39===t&&o.getTarget("prev"):39===t?o.getTarget("next"):37===t&&o.getTarget("prev"),o.flexAnimate(n,o.vars.pauseOnAction))}),o.vars.mousewheel&&o.bind("mousewheel",function(e,t){e.preventDefault();var i=t<0?o.getTarget("next"):o.getTarget("prev");o.flexAnimate(i,o.vars.pauseOnAction)}),o.vars.pausePlay&&i.pausePlay.setup(),o.vars.slideshow&&o.vars.pauseInvisible&&i.pauseInvisible.init(),o.vars.slideshow&&(o.vars.pauseOnHover&&o.hover(function(){o.manualPlay||o.manualPause||o.pause()},function(){o.manualPause||o.manualPlay||o.stopped||o.play()}),o.vars.pauseInvisible&&i.pauseInvisible.isHidden()||(o.vars.initDelay>0?o.startTimeout=setTimeout(o.play,o.vars.initDelay):o.play())),h&&i.asNav.setup(),f&&o.vars.touch&&i.touch(),(!u||u&&o.vars.smoothHeight)&&e(window).bind("resize orientationchange focus",i.resize),o.find("img").attr("draggable","false"),setTimeout(function(){o.vars.start(o)},200)},asNav:{setup:function(){o.asNav=!0,o.animatingTo=Math.floor(o.currentSlide/o.move),o.currentItem=o.currentSlide,o.slides.removeClass(a+"active-slide").eq(o.currentItem).addClass(a+"active-slide"),p?(n._slider=o,o.slides.each(function(){this._gesture=new MSGesture,this._gesture.target=this,this.addEventListener("MSPointerDown",function(e){e.preventDefault(),e.currentTarget._gesture&&e.currentTarget._gesture.addPointer(e.pointerId)},!1),this.addEventListener("MSGestureTap",function(t){t.preventDefault();var n=e(this),s=n.index();e(o.vars.asNavFor).data("flexslider").animating||n.hasClass("active")||(o.direction=o.currentItem'),o.pagingCount>1)for(s=0;s").attr("href","#").text(d),"thumbnails"===o.vars.controlNav&&(n=e("").attr("src",t.attr("data-thumb"))),""!==t.attr("data-thumb-alt")&&n.attr("alt",t.attr("data-thumb-alt")),"thumbnails"===o.vars.controlNav&&!0===o.vars.thumbCaptions)&&(r=t.attr("data-thumbcaption"),""!==r&&0[0]!==r&&(u=e("").addClass(a+"caption").text(r),n.append(u))),l=e("
  • "),n.appendTo(l),l.append("
  • "),o.controlNavScaffold.append(l),d++;o.controlsContainer?e(o.controlsContainer).append(o.controlNavScaffold):o.append(o.controlNavScaffold),i.controlNav.set(),i.controlNav.active(),o.controlNavScaffold.delegate("a, img",m,function(t){if(t.preventDefault(),""===c||c===t.type){var n=e(this),s=o.controlNav.index(n);n.hasClass(a+"active")||(o.direction=s>o.currentSlide?"next":"prev",o.flexAnimate(s,o.vars.pauseOnAction))}""===c&&(c=t.type),i.setToClearWatchedEvent()})},setupManual:function(){o.controlNav=o.manualControls,i.controlNav.active(),o.controlNav.bind(m,function(t){if(t.preventDefault(),""===c||c===t.type){var n=e(this),s=o.controlNav.index(n);n.hasClass(a+"active")||(s>o.currentSlide?o.direction="next":o.direction="prev",o.flexAnimate(s,o.vars.pauseOnAction))}""===c&&(c=t.type),i.setToClearWatchedEvent()})},set:function(){var t="thumbnails"===o.vars.controlNav?"img":"a";o.controlNav=e("."+a+"control-nav li "+t,o.controlsContainer?o.controlsContainer:o)},active:function(){o.controlNav.removeClass(a+"active").eq(o.animatingTo).addClass(a+"active")},update:function(t,n){o.pagingCount>1&&"add"===t?o.controlNavScaffold.append(e('
  • '+o.count+"
  • ")):1===o.pagingCount?o.controlNavScaffold.find("li").remove():o.controlNav.eq(n).closest("li").remove(),i.controlNav.set(),o.pagingCount>1&&o.pagingCount!==o.controlNav.length?o.update(n,t):i.controlNav.active()}},directionNav:{setup:function(){var t=e('");o.customDirectionNav?o.directionNav=o.customDirectionNav:o.controlsContainer?(e(o.controlsContainer).append(t),o.directionNav=e("."+a+"direction-nav li a",o.controlsContainer)):(o.append(t),o.directionNav=e("."+a+"direction-nav li a",o)),i.directionNav.update(),o.directionNav.bind(m,function(t){var n;t.preventDefault(),""!==c&&c!==t.type||(n=e(this).hasClass(a+"next")?o.getTarget("next"):o.getTarget("prev"),o.flexAnimate(n,o.vars.pauseOnAction)),""===c&&(c=t.type),i.setToClearWatchedEvent()})},update:function(){var e=a+"disabled";1===o.pagingCount?o.directionNav.addClass(e).attr("tabindex","-1"):o.vars.animationLoop?o.directionNav.removeClass(e).removeAttr("tabindex"):0===o.animatingTo?o.directionNav.removeClass(e).filter("."+a+"prev").addClass(e).attr("tabindex","-1"):o.animatingTo===o.last?o.directionNav.removeClass(e).filter("."+a+"next").addClass(e).attr("tabindex","-1"):o.directionNav.removeClass(e).removeAttr("tabindex")}},pausePlay:{setup:function(){var t=e('
    ');o.controlsContainer?(o.controlsContainer.append(t),o.pausePlay=e("."+a+"pauseplay a",o.controlsContainer)):(o.append(t),o.pausePlay=e("."+a+"pauseplay a",o)),i.pausePlay.update(o.vars.slideshow?a+"pause":a+"play"),o.pausePlay.bind(m,function(t){t.preventDefault(),""!==c&&c!==t.type||(e(this).hasClass(a+"pause")?(o.manualPause=!0,o.manualPlay=!1,o.pause()):(o.manualPause=!1,o.manualPlay=!0,o.play())),""===c&&(c=t.type),i.setToClearWatchedEvent()})},update:function(e){"play"===e?o.pausePlay.removeClass(a+"pause").addClass(a+"play").html(o.vars.playText):o.pausePlay.removeClass(a+"play").addClass(a+"pause").html(o.vars.pauseText)}},touch:function(){var e,i,a,c,h,m,f,g,v,b=!1,t=0,s=0;p||(v=function(e){o.animating?e.preventDefault():(window.navigator.msPointerEnabled||1===e.touches.length)&&(o.pause(),i=d?o.h:o.w,m=Number(new Date),t=e.touches[0].pageX,s=e.touches[0].pageY,h=r&&l&&o.animatingTo===o.last?0:r&&l?o.limit-(o.itemW+o.vars.itemMargin)*o.move*o.animatingTo:r&&o.currentSlide===o.last?o.limit:r?(o.itemW+o.vars.itemMargin)*o.move*o.currentSlide:l?(o.last-o.currentSlide+o.cloneOffset)*i:(o.currentSlide+o.cloneOffset)*i,a=d?s:t,c=d?t:s,n.addEventListener("touchmove",f,!1),n.addEventListener("touchend",g,!1))},f=function(n){t=n.touches[0].pageX,s=n.touches[0].pageY,e=d?a-s:(o.vars.rtl?-1:1)*(a-t),(!(b=d?(e<0?-e:e)500)&&(n.preventDefault(),!u&&o.transitions&&(o.vars.animationLoop||(e/=0===o.currentSlide&&e<0||o.currentSlide===o.last&&e>0?(e<0?-e:e)/i+2:1),o.setProps(h+e,"setTouch")))},g=function(){if(n.removeEventListener("touchmove",f,!1),o.animatingTo===o.currentSlide&&!b&&null!==e){var s=l?-e:e,r=s>0?o.getTarget("next"):o.getTarget("prev");o.canAdvance(r)&&(Number(new Date)-m<550&&(s<0?-s:s)>50||(s<0?-s:s)>i/2)?o.flexAnimate(r,o.vars.pauseOnAction):!u&&o.canAdvance(r)&&o.flexAnimate(o.currentSlide,o.vars.pauseOnAction,!0)}n.removeEventListener("touchend",g,!1),o.vars.slideshow&&null!==e&&50>(s<0?-s:s)&&o.play(),a=null,c=null,e=null,h=null},n.addEventListener("touchstart",v,!1))},resize:function(){!o.animating&&o.is(":visible")&&(r||o.doMath(),u?i.smoothHeight():r?(o.slides.width(o.computedW),o.update(o.pagingCount),o.setProps()):d?(o.viewport.height(o.h),o.setProps(o.h,"setTotal")):(o.vars.smoothHeight&&i.smoothHeight(),o.newSlides.width(o.computedW),o.setProps(o.computedW,"setTotal")))},smoothHeight:function(e){if(!d||u){var t=u?o:o.viewport;e?t.animate({height:o.slides.eq(o.animatingTo).innerHeight()},e):t.innerHeight(o.slides.eq(o.animatingTo).innerHeight())}},sync:function(t){var n=e(o.vars.sync).data("flexslider"),s=o.animatingTo;switch(t){case"animate":n.flexAnimate(s,o.vars.pauseOnAction,!1,!0);break;case"play":n.playing||n.asNav||n.play();break;case"pause":n.pause()}},uniqueID:function(t){return t.filter("[id]").add(t.find("[id]")).each(function(){var t=e(this);t.attr("id",t.attr("id")+"_clone")}),t},pauseInvisible:{visProp:null,init:function(){var t,e=i.pauseInvisible.getHiddenProp();e&&(t=e.replace(/[H|h]idden/,"")+"visibilitychange",document.addEventListener(t,function(){i.pauseInvisible.isHidden()?o.startTimeout?clearTimeout(o.startTimeout):o.pause():o.started?o.play():o.vars.initDelay>0?setTimeout(o.play,o.vars.initDelay):o.play()}))},isHidden:function(){var e=i.pauseInvisible.getHiddenProp();return!!e&&document[e]},getHiddenProp:function(){var e,t=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(e=0;eo.currentSlide?"next":"prev"),h&&1===o.pagingCount&&(o.direction=o.currentItemo.limit&&1!==o.visible?o.limit:j):g=0===o.currentSlide&&t===o.count-1&&o.vars.animationLoop&&"next"!==o.direction?l?(o.count+o.cloneOffset)*p:0:o.currentSlide===o.last&&0===t&&o.vars.animationLoop&&"prev"!==o.direction?l?0:(o.count+1)*p:l?(o.count-1-t+o.cloneOffset)*p:(t+o.cloneOffset)*p,o.setProps(g,"",o.vars.animationSpeed),o.transitions?(o.vars.animationLoop&&o.atEnd||(o.animating=!1,o.currentSlide=o.animatingTo),o.container.unbind("webkitTransitionEnd transitionend"),o.container.bind("webkitTransitionEnd transitionend",function(){clearTimeout(o.ensureAnimationEnd),o.wrapup(p)}),clearTimeout(o.ensureAnimationEnd),o.ensureAnimationEnd=setTimeout(function(){o.wrapup(p)},o.vars.animationSpeed+100)):o.container.animate(o.args,o.vars.animationSpeed,o.vars.easing,function(){o.wrapup(p)})),o.vars.smoothHeight&&i.smoothHeight(o.vars.animationSpeed)}},o.wrapup=function(e){u||r||(0===o.currentSlide&&o.animatingTo===o.last&&o.vars.animationLoop?o.setProps(e,"jumpEnd"):o.currentSlide===o.last&&0===o.animatingTo&&o.vars.animationLoop&&o.setProps(e,"jumpStart")),o.animating=!1,o.currentSlide=o.animatingTo,o.vars.after(o)},o.animateSlides=function(){!o.animating&&t&&o.flexAnimate(o.getTarget("next"))},o.pause=function(){clearInterval(o.animatedSlides),o.animatedSlides=null,o.playing=!1,o.vars.pausePlay&&i.pausePlay.update("play"),o.syncExists&&i.sync("pause")},o.play=function(){o.playing&&clearInterval(o.animatedSlides),o.animatedSlides=o.animatedSlides||setInterval(o.animateSlides,o.vars.slideshowSpeed),o.started=o.playing=!0,o.vars.pausePlay&&i.pausePlay.update("pause"),o.syncExists&&i.sync("play")},o.stop=function(){o.pause(),o.stopped=!0},o.canAdvance=function(e,t){var n=h?o.pagingCount-1:o.last;return!!t||!(!h||o.currentItem!==o.count-1||0!==e||"prev"!==o.direction)||(!h||0!==o.currentItem||e!==o.pagingCount-1||"next"===o.direction)&&!(e===o.currentSlide&&!h)&&(!!o.vars.animationLoop||(!o.atEnd||0!==o.currentSlide||e!==n||"next"===o.direction)&&(!o.atEnd||o.currentSlide!==n||0!==e||"next"!==o.direction))},o.getTarget=function(e){return o.direction=e,"next"===e?o.currentSlide===o.last?0:o.currentSlide+1:0===o.currentSlide?o.last:o.currentSlide-1},o.setProps=function(e,t,n){var i,s=(i=e||(o.itemW+o.vars.itemMargin)*o.move*o.animatingTo,function(){if(r)return"setTouch"===t?e:l&&o.animatingTo===o.last?0:l?o.limit-(o.itemW+o.vars.itemMargin)*o.move*o.animatingTo:o.animatingTo===o.last?o.limit:i;switch(t){case"setTotal":return l?(o.count-1-o.currentSlide+o.cloneOffset)*e:(o.currentSlide+o.cloneOffset)*e;case"setTouch":return e;case"jumpEnd":return l?e:o.count*e;case"jumpStart":return l?o.count*e:e;default:return e}}()*(o.vars.rtl?1:-1)+"px");o.transitions&&(s=o.isFirefox?d?"translate3d(0,"+s+",0)":"translate3d("+parseInt(s)+"px,0,0)":d?"translate3d(0,"+s+",0)":"translate3d("+(o.vars.rtl?-1:1)*parseInt(s)+"px,0,0)",n=0[0]!==n?n/1e3+"s":"0s",o.container.css("-"+o.pfx+"-transition-duration",n),o.container.css("transition-duration",n)),o.args[o.prop]=s,(o.transitions||0[0]===n)&&o.container.css(o.args),o.container.css("transform",s)},o.setup=function(t){var n,s;u?(o.vars.rtl?o.slides.css({width:"100%",float:"right",marginLeft:"-100%",position:"relative"}):o.slides.css({width:"100%",float:"left",marginRight:"-100%",position:"relative"}),"init"===t&&(f?o.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+o.vars.animationSpeed/1e3+"s ease",zIndex:1}).eq(o.currentSlide).css({opacity:1,zIndex:2}):0==o.vars.fadeFirstSlide?o.slides.css({opacity:0,display:"block",zIndex:1}).eq(o.currentSlide).css({zIndex:2}).css({opacity:1}):o.slides.css({opacity:0,display:"block",zIndex:1}).eq(o.currentSlide).css({zIndex:2}).animate({opacity:1},o.vars.animationSpeed,o.vars.easing)),o.vars.smoothHeight&&i.smoothHeight()):("init"===t&&(o.viewport=e('
    ').css({overflow:"hidden",position:"relative"}).appendTo(o).append(o.container),o.cloneCount=0,o.cloneOffset=0,l&&(s=e.makeArray(o.slides).reverse(),o.slides=e(s),o.container.empty().append(o.slides))),o.vars.animationLoop&&!r&&(o.cloneCount=2,o.cloneOffset=1,"init"!==t&&o.container.find(".clone").remove(),i.uniqueID(o.slides.first().clone().addClass("clone").attr("aria-hidden","true")).appendTo(o.container),i.uniqueID(o.slides.last().clone().addClass("clone").attr("aria-hidden","true")).prependTo(o.container)),o.newSlides=e(o.vars.selector,o),n=l?o.count-1-o.currentSlide+o.cloneOffset:o.currentSlide+o.cloneOffset,d&&!r?(o.container.height(200*(o.count+o.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout(function(){o.newSlides.css({display:"block"}),o.doMath(),o.viewport.height(o.h),o.setProps(n*o.h,"init")},"init"===t?100:0)):(o.container.width(200*(o.count+o.cloneCount)+"%"),o.setProps(n*o.computedW,"init"),setTimeout(function(){o.is(":visible")&&o.doMath(),o.vars.rtl&&o.isFirefox?o.newSlides.css({width:o.computedW,marginRight:o.computedM,float:"right",display:"block"}):o.newSlides.css({width:o.computedW,marginRight:o.computedM,float:"left",display:"block"}),o.vars.smoothHeight&&i.smoothHeight()},"init"===t?100:0))),r||o.slides.removeClass(a+"active-slide").eq(o.currentSlide).addClass(a+"active-slide"),o.vars.init(o)},o.doMath=function(){var s=o.slides.first(),e=o.vars.itemMargin,t=o.vars.minItems,n=o.vars.maxItems;o.w=0[0]===o.viewport?o.width():o.viewport.width(),o.isFirefox&&(o.w=o.width()),o.h=s.height(),o.boxPadding=s.outerWidth()-s.width(),r?(o.itemT=o.vars.itemWidth+e,o.itemM=e,o.minW=t?t*o.itemT:o.w,o.maxW=n?n*o.itemT-e:o.w,o.itemW=o.minW>o.w?(o.w-e*(t-1))/t:o.maxWo.w?o.w:o.vars.itemWidth,o.visible=Math.floor(o.w/(o.itemW+e)),o.move=o.vars.move>0&&o.vars.moveo.w?o.itemW*(o.count-1)+e*(o.count-1):(o.itemW+e)*o.count-o.w-e):(o.itemW=o.w,o.itemM=e,o.pagingCount=o.count,o.last=o.count-1),o.computedW=o.itemW-o.boxPadding,o.computedM=o.itemM},o.update=function(e,t){o.doMath(),r||(eo.controlNav.length?i.controlNav.update("add"):("remove"===t&&!r||o.pagingCounto.last&&(o.currentSlide-=1,o.animatingTo-=1),i.controlNav.update("remove",o.last))),o.vars.directionNav&&i.directionNav.update()},o.addSlide=function(t,n){var s=e(t);o.count+=1,o.last=o.count-1,d&&l?0[0]!==n?o.slides.eq(o.count-n).after(s):o.container.prepend(s):0[0]!==n?o.slides.eq(n).before(s):o.container.append(s),o.update(n,"add"),o.slides=e(o.vars.selector+":not(.clone)",o),o.setup(),o.vars.added(o)},o.removeSlide=function(t){var n=isNaN(t)?o.slides.index(e(t)):t;o.count-=1,o.last=o.count-1,isNaN(t)?e(t,o.slides).remove():d&&l?o.slides.eq(o.last).remove():o.slides.eq(t).remove(),o.doMath(),o.update(n,"remove"),o.slides=e(o.vars.selector+":not(.clone)",o),o.setup(),o.vars.removed(o)},o.destroy=function(){var t="."+o.vars.namespace;o.vars.controlNav&&o.controlNav.closest(t+"control-nav").remove(),o.vars.directionNav&&o.directionNav.closest(t+"direction-nav").remove(),o.vars.pausePlay&&o.pausePlay.closest(t+"pauseplay").remove(),o.find(".clone").remove(),o.unbind(o.vars.eventNamespace),"fade"!=o.vars.animation&&o.container.unwrap(),o.container.removeAttr("style"),o.container.unbind(o.vars.eventNamespace),o.slides.removeAttr("style"),o.slides.filter(t+"active-slide").removeClass(o.vars.namespace+"active-slide"),o.slides.unbind(o.vars.eventNamespace),e(document).unbind(o.vars.eventNamespace+"-"+o.id),e(window).unbind(o.vars.eventNamespace+"-"+o.id),o.stop(),o.removeData("flexslider")},i.init()},e(window).blur(function(){t=!1}).focus(function(){t=!0}),e.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,fadeFirstSlide:!0,thumbCaptions:!1,pauseOnAction:!0,pauseOnHover:!1,pauseInvisible:!0,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"",nextText:"",keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",customDirectionNav:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:1,maxItems:0,move:0,allowOneSlide:!0,isFirefox:!1,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){},init:function(){},rtl:!1},e.fn.flexslider=function(t){if(0[0]===t&&(t={}),"object"==typeof t)return this.each(function(){var n=e(this),o=t.selector?t.selector:".slides > li",s=n.find(o);1===s.length&&!1===t.allowOneSlide||0===s.length?(s.fadeIn(400),t.start&&t.start(n)):0[0]===n.data("flexslider")&&new e.flexslider(this,t)});var n=e(this).data("flexslider");switch(t){case"play":n.play();break;case"pause":n.pause();break;case"stop":n.stop();break;case"next":n.flexAnimate(n.getTarget("next"),!0);break;case"prev":case"previous":n.flexAnimate(n.getTarget("prev"),!0);break;case"destroy":n.destroy();break;default:"number"==typeof t&&n.flexAnimate(t,!0)}}}(jQuery) ;!function(e){e.fn.hoverFlow=function(t,n,s,o,i){if(-1==e.inArray(t,["mouseover","mouseenter","mouseout","mouseleave"]))return this;var r,a="object"==typeof s?s:{complete:i||!i&&o||e.isFunction(s)&&s,duration:s,easing:i&&o||o&&!e.isFunction(o)&&o};return a.queue=!1,r=a.complete,a.complete=function(){e(this).dequeue(),e.isFunction(r)&&r.call(this)},this.each(function(){var s=e(this);"mouseover"==t||"mouseenter"==t?s.data("jQuery.hoverFlow",!0):s.removeData("jQuery.hoverFlow"),s.queue(function(){("mouseover"==t||"mouseenter"==t?0[0]!==s.data("jQuery.hoverFlow"):0[0]===s.data("jQuery.hoverFlow"))?s.animate(n,a):s.queue([])})})}}(jQuery) ;!function(e){e.fn.hoverIntent=function(t,n,s){var a,r,c,l,o={interval:100,sensitivity:7,timeout:0},o="object"==typeof t?e.extend(o,t):e.isFunction(n)?e.extend(o,{over:t,out:n,selector:s}):e.extend(o,{over:t,out:t,selector:n}),i=function(e){a=e.pageX,r=e.pageY},d=function(t,n){if(n.hoverIntent_t=clearTimeout(n.hoverIntent_t),Math.abs(c-a)+Math.abs(l-r)