(function(n){"use strict";function t(n){return(n||"").toLowerCase()}var i="20130409";n.fn.cycle=function(i){var r;return 0!==this.length||n.isReady?this.each(function(){var f,r,h,o,u=n(this),s=n.fn.cycle.log,e;if(!u.data("cycle.opts")){(u.data("cycle-log")===!1||i&&i.log===!1||r&&r.log===!1)&&(s=n.noop),s("--c2 init--"),f=u.data();for(e in f)f.hasOwnProperty(e)&&/^cycle[A-Z]+/.test(e)&&(o=f[e],h=e.match(/^cycle(.*)/)[1].replace(/^[A-Z]/,t),s(h+":",o,"("+typeof o+")"),f[h]=o);r=n.extend({},n.fn.cycle.defaults,f,i||{}),r.timeoutId=0,r.paused=r.paused||!1,r.container=u,r._maxZ=r.maxZ,r.API=n.extend({_container:u},n.fn.cycle.API),r.API.log=s,r.API.trigger=function(n,t){return r.container.trigger(n,t),r.API},u.data("cycle.opts",r),u.data("cycle.API",r.API),r.API.trigger("cycle-bootstrap",[r,r.API]),r.API.addInitialSlides(),r.API.preInitSlideshow(),r.slides.length&&r.API.initSlideshow()}}):(r={s:this.selector,c:this.context},n.fn.cycle.log("requeuing slideshow (dom not ready)"),n(function(){n(r.s,r.c).cycle(i)}),this)},n.fn.cycle.API={opts:function(){return this._container.data("cycle.opts")},addInitialSlides:function(){var t=this.opts(),i=t.slides;t.slideCount=0,t.slides=n(),i=i.jquery?i:t.container.find(i),t.random&&i.sort(function(){return Math.random()-.5}),t.API.add(i)},preInitSlideshow:function(){var t=this.opts(),i;t.API.trigger("cycle-pre-initialize",[t]),i=n.fn.cycle.transitions[t.fx],i&&n.isFunction(i.preInit)&&i.preInit(t),t._preInitialized=!0},postInitSlideshow:function(){var t=this.opts(),i;t.API.trigger("cycle-post-initialize",[t]),i=n.fn.cycle.transitions[t.fx],i&&n.isFunction(i.postInit)&&i.postInit(t)},initSlideshow:function(){var i,t=this.opts(),r=t.container;t.API.calcFirstSlide(),"static"==t.container.css("position")&&t.container.css("position","relative"),n(t.slides[t.currSlide]).css("opacity",1).show(),t.API.stackSlides(t.slides[t.currSlide],t.slides[t.nextSlide],!t.reverse),t.pauseOnHover&&(t.pauseOnHover!==!0&&(r=n(t.pauseOnHover)),r.hover(function(){t.API.pause(!0)},function(){t.API.resume(!0)})),t.timeout&&(i=t.API.getSlideOpts(t.nextSlide),t.API.queueTransition(i,t.timeout+t.delay)),t._initialized=!0,t.API.updateView(!0),t.API.trigger("cycle-initialized",[t]),t.API.postInitSlideshow()},pause:function(t){var i=this.opts(),r=i.API.getSlideOpts(),u=i.hoverPaused||i.paused;t?i.hoverPaused=!0:i.paused=!0,u||(i.container.addClass("cycle-paused"),i.API.trigger("cycle-paused",[i]).log("cycle-paused"),r.timeout&&(clearTimeout(i.timeoutId),i.timeoutId=0,i._remainingTimeout-=n.now()-i._lastQueue,(0>i._remainingTimeout||isNaN(i._remainingTimeout))&&(i._remainingTimeout=void 0)))},resume:function(n){var t=this.opts(),i=!t.hoverPaused&&!t.paused;n?t.hoverPaused=!1:t.paused=!1,i||(t.container.removeClass("cycle-paused"),t.API.queueTransition(t.API.getSlideOpts(),t._remainingTimeout),t.API.trigger("cycle-resumed",[t,t._remainingTimeout]).log("cycle-resumed"))},add:function(t,i){var u,r=this.opts(),e=r.slideCount,f=!1;"string"==n.type(t)&&(t=n.trim(t)),n(t).each(function(){var u,t=n(this);i?r.container.prepend(t):r.container.append(t),r.slideCount++,u=r.API.buildSlideOpts(t),r.slides=i?n(t).add(r.slides):r.slides.add(t),r.API.initSlide(u,t,--r._maxZ),t.data("cycle.opts",u),r.API.trigger("cycle-slide-added",[r,u,t])}),r.API.updateView(!0),f=r._preInitialized&&2>e&&r.slideCount>=1,f&&(r._initialized?r.timeout&&(u=r.slides.length,r.nextSlide=r.reverse?u-1:1,r.timeoutId||r.API.queueTransition(r)):r.API.initSlideshow())},calcFirstSlide:function(){var t,n=this.opts();t=parseInt(n.startingSlide||0,10),(t>=n.slides.length||0>t)&&(t=0),n.currSlide=t,n.reverse?(n.nextSlide=t-1,0>n.nextSlide&&(n.nextSlide=n.slides.length-1)):(n.nextSlide=t+1,n.nextSlide==n.slides.length&&(n.nextSlide=0))},calcNextSlide:function(){var t,n=this.opts();n.reverse?(t=0>n.nextSlide-1,n.nextSlide=t?n.slideCount-1:n.nextSlide-1,n.currSlide=t?0:n.nextSlide+1):(t=n.nextSlide+1==n.slides.length,n.nextSlide=t?0:n.nextSlide+1,n.currSlide=t?n.slides.length-1:n.nextSlide-1)},calcTx:function(t,i){var r,u=t;return i&&u.manualFx&&(r=n.fn.cycle.transitions[u.manualFx]),r||(r=n.fn.cycle.transitions[u.fx]),r||(r=n.fn.cycle.transitions.fade,u.API.log('Transition "'+u.fx+'" not found.  Using fade.')),r},prepareTx:function(n,t){var o,f,e,r,u,i=this.opts();return 2>i.slideCount?(i.timeoutId=0,void 0):(!n||i.busy&&!i.manualTrump||(i.API.stopTransition(),i.busy=!1,clearTimeout(i.timeoutId),i.timeoutId=0),i.busy||(0!==i.timeoutId||n)&&(f=i.slides[i.currSlide],e=i.slides[i.nextSlide],r=i.API.getSlideOpts(i.nextSlide),u=i.API.calcTx(r,n),i._tx=u,n&&void 0!==r.manualSpeed&&(r.speed=r.manualSpeed),i.nextSlide!=i.currSlide&&(n||!i.paused&&!i.hoverPaused&&i.timeout)?(i.API.trigger("cycle-before",[r,f,e,t]),u.before&&u.before(r,f,e,t),o=function(){i.busy=!1,i.container.data("cycle.opts")&&(u.after&&u.after(r,f,e,t),i.API.trigger("cycle-after",[r,f,e,t]),i.API.queueTransition(r),i.API.updateView(!0))},i.busy=!0,u.transition?u.transition(r,f,e,t,o):i.API.doTransition(r,f,e,t,o),i.API.calcNextSlide(),i.API.updateView()):i.API.queueTransition(r)),void 0)},doTransition:function(t,i,r,u,f){var e=t,o=n(i),s=n(r),h=function(){s.animate(e.animIn||{opacity:1},e.speed,e.easeIn||e.easing,f)};s.css(e.cssBefore||{}),o.animate(e.animOut||{},e.speed,e.easeOut||e.easing,function(){o.css(e.cssAfter||{}),e.sync||h()}),e.sync&&h()},queueTransition:function(t,i){var r=this.opts(),u=void 0!==i?i:t.timeout;return 0===r.nextSlide&&0==--r.loop?(r.API.log("terminating; loop=0"),r.timeout=0,u?setTimeout(function(){r.API.trigger("cycle-finished",[r])},u):r.API.trigger("cycle-finished",[r]),r.nextSlide=r.currSlide,void 0):(u&&(r._lastQueue=n.now(),void 0===i&&(r._remainingTimeout=t.timeout),r.paused||r.hoverPaused||(r.timeoutId=setTimeout(function(){r.API.prepareTx(!1,!r.reverse)},u))),void 0)},stopTransition:function(){var n=this.opts();n.slides.filter(":animated").length&&(n.slides.stop(!1,!0),n.API.trigger("cycle-transition-stopped",[n])),n._tx&&n._tx.stopTransition&&n._tx.stopTransition(n)},advanceSlide:function(n){var t=this.opts();return clearTimeout(t.timeoutId),t.timeoutId=0,t.nextSlide=t.currSlide+n,0>t.nextSlide?t.nextSlide=t.slides.length-1:t.nextSlide>=t.slides.length&&(t.nextSlide=0),t.API.prepareTx(!0,n>=0),!1},buildSlideOpts:function(i){var f,o,e=this.opts(),r=i.data()||{},u;for(u in r)r.hasOwnProperty(u)&&/^cycle[A-Z]+/.test(u)&&(f=r[u],o=u.match(/^cycle(.*)/)[1].replace(/^[A-Z]/,t),e.API.log("["+(e.slideCount-1)+"]",o+":",f,"("+typeof f+")"),r[o]=f);r=n.extend({},n.fn.cycle.defaults,e,r),r.slideNum=e.slideCount;try{delete r.API,delete r.slideCount,delete r.currSlide,delete r.nextSlide,delete r.slides}catch(s){}return r},getSlideOpts:function(t){var i=this.opts(),r,u;return void 0===t&&(t=i.currSlide),r=i.slides[t],u=n(r).data("cycle.opts"),n.extend({},i,u)},initSlide:function(t,i,r){var u=this.opts();i.css(t.slideCss||{}),r>0&&i.css("zIndex",r),isNaN(t.speed)&&(t.speed=n.fx.speeds[t.speed]||n.fx.speeds._default),t.sync||(t.speed=t.speed/2),i.addClass(u.slideClass)},updateView:function(n){var t=this.opts(),i,r;t._initialized&&(i=t.API.getSlideOpts(),r=t.slides[t.currSlide],!n&&(t.API.trigger("cycle-update-view-before",[t,i,r]),0>t.updateView)||(t.slideActiveClass&&t.slides.removeClass(t.slideActiveClass).eq(t.currSlide).addClass(t.slideActiveClass),n&&t.hideNonActive&&t.slides.filter(":not(."+t.slideActiveClass+")").hide(),t.API.trigger("cycle-update-view",[t,i,r,n]),t.API.trigger("cycle-update-view-after",[t,i,r])))},getComponent:function(t){var r=this.opts(),i=r[t];return"string"==typeof i?/^\s*[\>|\+|~]/.test(i)?r.container.find(i):n(i):i.jquery?i:n(i)},stackSlides:function(t,i,r){var u=this.opts(),f,e,o;if(t||(t=u.slides[u.currSlide],i=u.slides[u.nextSlide],r=!u.reverse),n(t).css("zIndex",u.maxZ),e=u.maxZ-2,o=u.slideCount,r){for(f=u.currSlide+1;o>f;f++)n(u.slides[f]).css("zIndex",e--);for(f=0;u.currSlide>f;f++)n(u.slides[f]).css("zIndex",e--)}else{for(f=u.currSlide-1;f>=0;f--)n(u.slides[f]).css("zIndex",e--);for(f=o-1;f>u.currSlide;f--)n(u.slides[f]).css("zIndex",e--)}n(i).css("zIndex",u.maxZ-1)},getSlideIndex:function(n){return this.opts().slides.index(n)}},n.fn.cycle.log=function(){window.console&&console.log&&console.log("[cycle2] "+Array.prototype.join.call(arguments," "))},n.fn.cycle.version=function(){return"Cycle2: "+i},n.fn.cycle.transitions={custom:{},none:{before:function(n,t,i,r){n.API.stackSlides(i,t,r),n.cssBefore={opacity:1,display:"block"}}},fade:{before:function(t,i,r,u){var f=t.API.getSlideOpts(t.nextSlide).slideCss||{};t.API.stackSlides(i,r,u),t.cssBefore=n.extend(f,{opacity:0,display:"block"}),t.animIn={opacity:1},t.animOut={opacity:0}}},fadeout:{before:function(t,i,r,u){var f=t.API.getSlideOpts(t.nextSlide).slideCss||{};t.API.stackSlides(i,r,u),t.cssBefore=n.extend(f,{opacity:1,display:"block"}),t.animOut={opacity:0}}},scrollHorz:{before:function(n,t,i,r){n.API.stackSlides(t,i,r);var u=n.container.css("overflow","hidden").width();n.cssBefore={left:r?u:-u,top:0,opacity:1,display:"block"},n.cssAfter={zIndex:n._maxZ-2,left:0},n.animIn={left:0},n.animOut={left:r?-u:u}}}},n.fn.cycle.defaults={allowWrap:!0,autoSelector:".cycle-slideshow[data-cycle-auto-init!=false]",delay:0,easing:null,fx:"fade",hideNonActive:!0,loop:0,manualFx:void 0,manualSpeed:void 0,manualTrump:!0,maxZ:100,pauseOnHover:!1,reverse:!1,slideActiveClass:"cycle-slide-active",slideClass:"cycle-slide",slideCss:{position:"absolute",top:0,left:0},slides:"> img",speed:500,startingSlide:0,sync:!0,timeout:4e3,updateView:-1},n(document).ready(function(){n(n.fn.cycle.defaults.autoSelector).cycle()})})(jQuery),function(n){"use strict";function t(t,i){var f,o,e,r=i.autoHeight;if("container"==r)o=n(i.slides[i.currSlide]).outerHeight(),i.container.height(o);else if(i._autoHeightRatio)i.container.height(i.container.width()/i._autoHeightRatio);else if("calc"===r||"number"==n.type(r)&&r>=0){if(e="calc"===r?u(t,i):r>=i.slides.length?0:r,e==i._sentinelIndex)return;i._sentinelIndex=e,i._sentinel&&i._sentinel.remove(),f=n(i.slides[e].cloneNode(!0)),f.removeAttr("id name rel").find("[id],[name],[rel]").removeAttr("id name rel"),f.css({position:"static",visibility:"hidden",display:"block"}).prependTo(i.container).addClass("cycle-sentinel cycle-slide").removeClass("cycle-slide-active"),f.find("*").css("visibility","hidden"),i._sentinel=f}}function u(t,i){var r=0,u=-1;return i.slides.each(function(t){var i=n(this).height();i>u&&(u=i,r=t)}),r}function i(t,i,r,u){var f=n(u).outerHeight(),e=i.sync?i.speed/2:i.speed;i.container.animate({height:f},e)}function r(u,f){f._autoHeightOnResize&&(n(window).off("resize orientationchange",f._autoHeightOnResize),f._autoHeightOnResize=null),f.container.off("cycle-slide-added cycle-slide-removed",t),f.container.off("cycle-destroyed",r),f.container.off("cycle-before",i),f._sentinel&&(f._sentinel.remove(),f._sentinel=null)}n.extend(n.fn.cycle.defaults,{autoHeight:0}),n(document).on("cycle-initialized",function(u,f){function h(){t(u,f)}var e,o=f.autoHeight,s=n.type(o),c=null;("string"===s||"number"===s)&&(f.container.on("cycle-slide-added cycle-slide-removed",t),f.container.on("cycle-destroyed",r),"container"==o?f.container.on("cycle-before",i):"string"===s&&/\d+\:\d+/.test(o)&&(e=o.match(/(\d+)\:(\d+)/),e=e[1]/e[2],f._autoHeightRatio=e),"number"!==s&&(f._autoHeightOnResize=function(){clearTimeout(c),c=setTimeout(h,50)},n(window).on("resize orientationchange",f._autoHeightOnResize)),setTimeout(h,30))})}(jQuery),function(n){"use strict";n.extend(n.fn.cycle.defaults,{caption:"> .cycle-caption",captionTemplate:"{{slideNum}} / {{slideCount}}",overlay:"> .cycle-overlay",overlayTemplate:"<div>{{title}}</div><div>{{desc}}</div>",captionModule:"caption"}),n(document).on("cycle-update-view",function(t,i,r,u){"caption"===i.captionModule&&n.each(["caption","overlay"],function(){var f=this,t=r[f+"Template"],n=i.API.getComponent(f);n.length&&t?(n.html(i.API.tmpl(t,r,i,u)),n.show()):n.hide()})}),n(document).on("cycle-destroyed",function(t,i){var r;n.each(["caption","overlay"],function(){var n=this,t=i[n+"Template"];i[n]&&t&&(r=i.API.getComponent("caption"),r.empty())})})}(jQuery),function(n){"use strict";var t=n.fn.cycle;n.fn.cycle=function(i){var r,f,u,e=n.makeArray(arguments);return"number"==n.type(i)?this.cycle("goto",i):"string"==n.type(i)?this.each(function(){var o;return r=i,u=n(this).data("cycle.opts"),void 0===u?(t.log('slideshow must be initialized before sending commands; "'+r+'" ignored'),void 0):(r="goto"==r?"jump":r,f=u.API[r],n.isFunction(f)?(o=n.makeArray(e),o.shift(),f.apply(u.API,o)):(t.log("unknown command: ",r),void 0))}):t.apply(this,arguments)},n.extend(n.fn.cycle,t),n.extend(t.API,{next:function(){var n=this.opts(),t;(!n.busy||n.manualTrump)&&(t=n.reverse?-1:1,n.allowWrap===!1&&n.currSlide+t>=n.slideCount||(n.API.advanceSlide(t),n.API.trigger("cycle-next",[n]).log("cycle-next")))},prev:function(){var n=this.opts(),t;(!n.busy||n.manualTrump)&&(t=n.reverse?1:-1,n.allowWrap===!1&&0>n.currSlide+t||(n.API.advanceSlide(t),n.API.trigger("cycle-prev",[n]).log("cycle-prev")))},destroy:function(){var n=this.opts();clearTimeout(n.timeoutId),n.timeoutId=0,n.API.stop(),n.API.trigger("cycle-destroyed",[n]).log("cycle-destroyed"),n.container.removeData("cycle.opts"),n.retainStylesOnDestroy||(n.container.removeAttr("style"),n.slides.removeAttr("style"),n.slides.removeClass("cycle-slide-active"))},jump:function(n){var r,t=this.opts(),i;if(!t.busy||t.manualTrump){if(i=parseInt(n,10),isNaN(i)||0>i||i>=t.slides.length)return t.API.log("goto: invalid slide index: "+i),void 0;if(i==t.currSlide)return t.API.log("goto: skipping, already on slide",i),void 0;t.nextSlide=i,clearTimeout(t.timeoutId),t.timeoutId=0,t.API.log("goto: ",i," (zero-index)"),r=t.currSlide<t.nextSlide,t.API.prepareTx(!0,r)}},stop:function(){var t=this.opts(),i=t.container;clearTimeout(t.timeoutId),t.timeoutId=0,t.API.stopTransition(),t.pauseOnHover&&(t.pauseOnHover!==!0&&(i=n(t.pauseOnHover)),i.off("mouseenter mouseleave")),t.API.trigger("cycle-stopped",[t]).log("cycle-stopped")},reinit:function(){var n=this.opts();n.API.destroy(),n.container.cycle()},remove:function(t){for(var r,u,i=this.opts(),e=[],o=1,f=0;i.slides.length>f;f++)r=i.slides[f],f==t?u=r:(e.push(r),n(r).data("cycle.opts").slideNum=o,o++);u&&(i.slides=n(e),i.slideCount--,n(u).remove(),t==i.currSlide&&i.API.advanceSlide(1),i.API.trigger("cycle-slide-removed",[i,t,u]).log("cycle-slide-removed"),i.API.updateView())}}),n(document).on("click.cycle","[data-cycle-cmd]",function(t){t.preventDefault();var i=n(this),r=i.data("cycle-cmd"),u=i.data("cycle-context")||".cycle-slideshow";n(u).cycle(r,i.data("cycle-arg"))})}(jQuery),function(n){"use strict";function t(t,i){var r;return t._hashFence?(t._hashFence=!1,void 0):(r=window.location.hash.substring(1),t.slides.each(function(u){if(n(this).data("cycle-hash")==r)return i===!0?t.startingSlide=u:(t.nextSlide=u,t.API.prepareTx(!0,!1)),!1}),void 0)}n(document).on("cycle-pre-initialize",function(i,r){t(r,!0),r._onHashChange=function(){t(r,!1)},n(window).on("hashchange",r._onHashChange)}),n(document).on("cycle-update-view",function(n,t,i){i.hash&&(t._hashFence=!0,window.location.hash=i.hash)}),n(document).on("cycle-destroyed",function(t,i){i._onHashChange&&n(window).off("hashchange",i._onHashChange)})}(jQuery),function(n){"use strict";n.extend(n.fn.cycle.defaults,{loader:!1}),n(document).on("cycle-bootstrap",function(t,i){function u(t,u){function s(t){var o;"wait"==i.loader?(e.push(t),0===f&&(e.sort(h),r.apply(i.API,[e,u]),i.container.removeClass("cycle-loading"))):(o=n(i.slides[i.currSlide]),r.apply(i.API,[t,u]),o.show(),i.container.removeClass("cycle-loading"))}function h(n,t){return n.data("index")-t.data("index")}var e=[],o,f;if("string"==n.type(t))t=n.trim(t);else if("array"===n.type(t))for(o=0;t.length>o;o++)t[o]=n(t[o])[0];t=n(t),f=t.length,f&&(t.hide().appendTo("body").each(function(t){function l(){0==--c&&(--f,s(o))}var c=0,o=n(this),h=o.is("img")?o:o.find("img");return o.data("index",t),h=h.filter(":not(.cycle-loader-ignore)").filter(':not([src=""])'),h.length?(c=h.length,h.each(function(){this.complete?l():n(this).load(function(){l()}).error(function(){0==--c&&(i.API.log("slide skipped; img not loaded:",this.src),0==--f&&"wait"==i.loader&&r.apply(i.API,[e,u]))})}),void 0):(--f,e.push(o),void 0)}),f&&i.container.addClass("cycle-loading"))}var r;i.loader&&(r=i.API.add,i.API.add=u)})}(jQuery),function(n){"use strict";function t(t,i,r){var u,f=t.API.getComponent("pager");f.each(function(){var f=n(this),e;i.pagerTemplate?(e=t.API.tmpl(i.pagerTemplate,i,t,r[0]),u=n(e).appendTo(f)):u=f.children().eq(t.slideCount-1);u.on(t.pagerEvent,function(n){n.preventDefault(),t.API.page(f,n.currentTarget)})})}function i(n,t){var i=this.opts();if(!i.busy||i.manualTrump){var u=n.children().index(t),r=u,f=r>i.currSlide;i.currSlide!=r&&(i.nextSlide=r,i.API.prepareTx(!0,f),i.API.trigger("cycle-pager-activated",[i,n,t]))}}n.extend(n.fn.cycle.defaults,{pager:"> .cycle-pager",pagerActiveClass:"cycle-pager-active",pagerEvent:"click.cycle",pagerTemplate:"<span>&bull;</span>"}),n(document).on("cycle-bootstrap",function(n,i,r){r.buildPagerLink=t}),n(document).on("cycle-slide-added",function(n,t,r,u){t.pager&&(t.API.buildPagerLink(t,r,u),t.API.page=i)}),n(document).on("cycle-slide-removed",function(t,i,r){if(i.pager){var u=i.API.getComponent("pager");u.each(function(){var t=n(this);n(t.children()[r]).remove()})}}),n(document).on("cycle-update-view",function(t,i){var r;i.pager&&(r=i.API.getComponent("pager"),r.each(function(){n(this).children().removeClass(i.pagerActiveClass).eq(i.currSlide).addClass(i.pagerActiveClass)}))}),n(document).on("cycle-destroyed",function(n,t){var i;t.pager&&t.pagerTemplate&&(i=t.API.getComponent("pager"),i.empty())})}(jQuery),function(n){"use strict";n.extend(n.fn.cycle.defaults,{next:"> .cycle-next",nextEvent:"click.cycle",disabledClass:"disabled",prev:"> .cycle-prev",prevEvent:"click.cycle",swipe:!1}),n(document).on("cycle-initialized",function(n,t){if(t.API.getComponent("next").on(t.nextEvent,function(n){n.preventDefault(),t.API.next()}),t.API.getComponent("prev").on(t.prevEvent,function(n){n.preventDefault(),t.API.prev()}),t.swipe){var i=t.swipeVert?"swipeUp.cycle":"swipeLeft.cycle swipeleft.cycle",r=t.swipeVert?"swipeDown.cycle":"swipeRight.cycle swiperight.cycle";t.container.on(i,function(){t.API.next()}),t.container.on(r,function(){t.API.prev()})}}),n(document).on("cycle-update-view",function(n,t){if(!t.allowWrap){var i=t.disabledClass,r=t.API.getComponent("next"),u=t.API.getComponent("prev"),f=t._prevBoundry||0,e=t._nextBoundry||t.slideCount-1;t.currSlide==e?r.addClass(i).prop("disabled",!0):r.removeClass(i).prop("disabled",!1),t.currSlide===f?u.addClass(i).prop("disabled",!0):u.removeClass(i).prop("disabled",!1)}}),n(document).on("cycle-destroyed",function(n,t){t.API.getComponent("prev").off(t.nextEvent),t.API.getComponent("next").off(t.prevEvent),t.container.off("swipeleft.cycle swiperight.cycle swipeLeft.cycle swipeRight.cycle swipeUp.cycle swipeDown.cycle")})}(jQuery),function(n){"use strict";n.extend(n.fn.cycle.defaults,{progressive:!1}),n(document).on("cycle-pre-initialize",function(t,i){if(i.progressive){var r,f,u=i.API,e=u.next,s=u.prev,o=u.prepareTx,h=n.type(i.progressive);if("array"==h)r=i.progressive;else if(n.isFunction(i.progressive))r=i.progressive(i);else if("string"==h){if(f=n(i.progressive),r=n.trim(f.html()),!r)return;if(/^(\[)/.test(r))try{r=n.parseJSON(r)}catch(c){return u.log("error parsing progressive slides",c),void 0}else r=r.split(RegExp(f.data("cycle-split")||"\n")),r[r.length-1]||r.pop()}o&&(u.prepareTx=function(n,t){var f,u;return n||0===r.length?(o.apply(i.API,[n,t]),void 0):(t&&i.currSlide==i.slideCount-1?(u=r[0],r=r.slice(1),i.container.one("cycle-slide-added",function(n,t){setTimeout(function(){t.API.advanceSlide(1)},50)}),i.API.add(u)):t||0!==i.currSlide?o.apply(i.API,[n,t]):(f=r.length-1,u=r[f],r=r.slice(0,f),i.container.one("cycle-slide-added",function(n,t){setTimeout(function(){t.currSlide=1,t.API.advanceSlide(-1)},50)}),i.API.add(u,!0)),void 0)}),e&&(u.next=function(){var n=this.opts(),t;r.length&&n.currSlide==n.slideCount-1?(t=r[0],r=r.slice(1),n.container.one("cycle-slide-added",function(n,t){e.apply(t.API),t.container.removeClass("cycle-loading")}),n.container.addClass("cycle-loading"),n.API.add(t)):e.apply(n.API)}),s&&(u.prev=function(){var n=this.opts(),t,i;r.length&&0===n.currSlide?(t=r.length-1,i=r[t],r=r.slice(0,t),n.container.one("cycle-slide-added",function(n,t){t.currSlide=1,t.API.advanceSlide(-1),t.container.removeClass("cycle-loading")}),n.container.addClass("cycle-loading"),n.API.add(i,!0)):s.apply(n.API)})}})}(jQuery),function(n){"use strict";n.extend(n.fn.cycle.defaults,{tmplRegex:"{{((.)?.*?)}}"}),n.extend(n.fn.cycle.API,{tmpl:function(t,i){var u=RegExp(i.tmplRegex||n.fn.cycle.defaults.tmplRegex,"g"),r=n.makeArray(arguments);return r.shift(),t.replace(u,function(t,i){for(var o,f,u,s=i.split("."),e=0;r.length>e;e++)if(f=r[e]){if(s.length>1)for(u=f,o=0;s.length>o;o++)f=u,u=u[s[o]]||i;else u=f[i];if(n.isFunction(u))return u.apply(f,r);if(void 0!==u&&null!==u&&u!=i)return u}return i})}})}(jQuery),function(n){"use strict";var t="ontouchend"in document;n.event.special.swipe=n.event.special.swipe||{scrollSupressionThreshold:10,durationThreshold:1e3,horizontalDistanceThreshold:30,verticalDistanceThreshold:75,setup:function(){var t=n(this);t.bind("touchstart",function(i){function f(t){if(r){var i=t.originalEvent.touches?t.originalEvent.touches[0]:t;u={time:+new Date,coords:[i.pageX,i.pageY]},Math.abs(r.coords[0]-u.coords[0])>n.event.special.swipe.scrollSupressionThreshold&&t.preventDefault()}}var e=i.originalEvent.touches?i.originalEvent.touches[0]:i,u,r={time:+new Date,coords:[e.pageX,e.pageY],origin:n(i.target)};t.bind("touchmove",f).one("touchend",function(){t.unbind("touchmove",f),r&&u&&u.time-r.time<n.event.special.swipe.durationThreshold&&Math.abs(r.coords[0]-u.coords[0])>n.event.special.swipe.horizontalDistanceThreshold&&Math.abs(r.coords[1]-u.coords[1])<n.event.special.swipe.verticalDistanceThreshold&&r.origin.trigger("swipe").trigger(r.coords[0]>u.coords[0]?"swipeleft":"swiperight"),r=u=undefined})})}},n.event.special.swipeleft=n.event.special.swipeleft||{setup:function(){n(this).bind("swipe",n.noop)}},n.event.special.swiperight=n.event.special.swiperight||n.event.special.swipeleft}(jQuery),jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(n,t,i,r,u){return jQuery.easing[jQuery.easing.def](n,t,i,r,u)},easeInQuad:function(n,t,i,r,u){return r*(t/=u)*t+i},easeOutQuad:function(n,t,i,r,u){return-r*(t/=u)*(t-2)+i},easeInOutQuad:function(n,t,i,r,u){return(t/=u/2)<1?r/2*t*t+i:-r/2*(--t*(t-2)-1)+i},easeInCubic:function(n,t,i,r,u){return r*(t/=u)*t*t+i},easeOutCubic:function(n,t,i,r,u){return r*((t=t/u-1)*t*t+1)+i},easeInOutCubic:function(n,t,i,r,u){return(t/=u/2)<1?r/2*t*t*t+i:r/2*((t-=2)*t*t+2)+i},easeInQuart:function(n,t,i,r,u){return r*(t/=u)*t*t*t+i},easeOutQuart:function(n,t,i,r,u){return-r*((t=t/u-1)*t*t*t-1)+i},easeInOutQuart:function(n,t,i,r,u){return(t/=u/2)<1?r/2*t*t*t*t+i:-r/2*((t-=2)*t*t*t-2)+i},easeInQuint:function(n,t,i,r,u){return r*(t/=u)*t*t*t*t+i},easeOutQuint:function(n,t,i,r,u){return r*((t=t/u-1)*t*t*t*t+1)+i},easeInOutQuint:function(n,t,i,r,u){return(t/=u/2)<1?r/2*t*t*t*t*t+i:r/2*((t-=2)*t*t*t*t+2)+i},easeInSine:function(n,t,i,r,u){return-r*Math.cos(t/u*(Math.PI/2))+r+i},easeOutSine:function(n,t,i,r,u){return r*Math.sin(t/u*(Math.PI/2))+i},easeInOutSine:function(n,t,i,r,u){return-r/2*(Math.cos(Math.PI*t/u)-1)+i},easeInExpo:function(n,t,i,r,u){return t==0?i:r*Math.pow(2,10*(t/u-1))+i},easeOutExpo:function(n,t,i,r,u){return t==u?i+r:r*(-Math.pow(2,-10*t/u)+1)+i},easeInOutExpo:function(n,t,i,r,u){return t==0?i:t==u?i+r:(t/=u/2)<1?r/2*Math.pow(2,10*(t-1))+i:r/2*(-Math.pow(2,-10*--t)+2)+i},easeInCirc:function(n,t,i,r,u){return-r*(Math.sqrt(1-(t/=u)*t)-1)+i},easeOutCirc:function(n,t,i,r,u){return r*Math.sqrt(1-(t=t/u-1)*t)+i},easeInOutCirc:function(n,t,i,r,u){return(t/=u/2)<1?-r/2*(Math.sqrt(1-t*t)-1)+i:r/2*(Math.sqrt(1-(t-=2)*t)+1)+i},easeInElastic:function(n,t,i,r,u){var o=1.70158,f=0,e=r;return t==0?i:(t/=u)==1?i+r:(f||(f=u*.3),e<Math.abs(r)?(e=r,o=f/4):o=f/(2*Math.PI)*Math.asin(r/e),-(e*Math.pow(2,10*(t-=1))*Math.sin((t*u-o)*2*Math.PI/f))+i)},easeOutElastic:function(n,t,i,r,u){var o=1.70158,f=0,e=r;return t==0?i:(t/=u)==1?i+r:(f||(f=u*.3),e<Math.abs(r)?(e=r,o=f/4):o=f/(2*Math.PI)*Math.asin(r/e),e*Math.pow(2,-10*t)*Math.sin((t*u-o)*2*Math.PI/f)+r+i)},easeInOutElastic:function(n,t,i,r,u){var o=1.70158,f=0,e=r;return t==0?i:(t/=u/2)==2?i+r:(f||(f=u*.3*1.5),e<Math.abs(r)?(e=r,o=f/4):o=f/(2*Math.PI)*Math.asin(r/e),t<1)?-.5*e*Math.pow(2,10*(t-=1))*Math.sin((t*u-o)*2*Math.PI/f)+i:e*Math.pow(2,-10*(t-=1))*Math.sin((t*u-o)*2*Math.PI/f)*.5+r+i},easeInBack:function(n,t,i,r,u,f){return f==undefined&&(f=1.70158),r*(t/=u)*t*((f+1)*t-f)+i},easeOutBack:function(n,t,i,r,u,f){return f==undefined&&(f=1.70158),r*((t=t/u-1)*t*((f+1)*t+f)+1)+i},easeInOutBack:function(n,t,i,r,u,f){return(f==undefined&&(f=1.70158),(t/=u/2)<1)?r/2*t*t*(((f*=1.525)+1)*t-f)+i:r/2*((t-=2)*t*(((f*=1.525)+1)*t+f)+2)+i},easeInBounce:function(n,t,i,r,u){return r-jQuery.easing.easeOutBounce(n,u-t,0,r,u)+i},easeOutBounce:function(n,t,i,r,u){return(t/=u)<1/2.75?r*7.5625*t*t+i:t<2/2.75?r*(7.5625*(t-=1.5/2.75)*t+.75)+i:t<2.5/2.75?r*(7.5625*(t-=2.25/2.75)*t+.9375)+i:r*(7.5625*(t-=2.625/2.75)*t+.984375)+i},easeInOutBounce:function(n,t,i,r,u){return t<u/2?jQuery.easing.easeInBounce(n,t*2,0,r,u)*.5+i:jQuery.easing.easeOutBounce(n,t*2-u,0,r,u)*.5+r*.5+i}}),function(n,t,i){function u(i,r,u){var f=t.createElement(i);return r&&(f.id=h+r),u&&(f.style.cssText=u),n(f)}function yt(){return i.innerHeight?i.innerHeight:n(i).height()}function vt(n){var i=c.length,t=(v+n)%i;return t<0?i+t:t}function a(n,t){return Math.round((/%/.test(n)?(t==="x"?p.width():yt())/100:1)*parseInt(n,10))}function ki(n,t){return n.photo||n.photoRegex.test(t)}function di(n,t){return n.retinaUrl&&i.devicePixelRatio>1?t.replace(n.photoRegex,n.retinaSuffix):t}function nr(n){"contains"in f[0]&&!f[0].contains(n.target)&&(n.stopPropagation(),f.focus())}function bi(){var t,i=n.data(y,tt);i==null?(r=n.extend({},ui),console&&console.log&&console.log("Error: cboxElement missing settings object")):r=n.extend({},i);for(t in r)n.isFunction(r[t])&&t.slice(0,2)!=="on"&&(r[t]=r[t].call(y));r.rel=r.rel||y.rel||n(y).data("rel")||"nofollow",r.href=r.href||n(y).attr("href"),r.title=r.title||y.title,typeof r.href=="string"&&(r.href=n.trim(r.href))}function ut(i,r){n(t).trigger(i),ft.trigger(i),n.isFunction(r)&&r.call(y)}function tr(){var l,n=h+"Slideshow_",i="click."+h,u,o,s,t;r.slideshow&&c[1]?(u=function(){clearTimeout(l)},o=function(){(r.loop||c[v+1])&&(l=setTimeout(e.next,r.slideshowSpeed))},s=function(){ht.html(r.slideshowStop).unbind(i).one(i,t);ft.bind(ni,o).bind(ri,u).bind(oi,t),f.removeClass(n+"off").addClass(n+"on")},t=function(){u(),ft.unbind(ni,o).unbind(ri,u).unbind(oi,t);ht.html(r.slideshowStart).unbind(i).one(i,function(){e.next(),s()});f.removeClass(n+"on").addClass(n+"off")},r.slideshowAuto?s():t()):f.removeClass(n+"off "+n+"on")}function pi(i){if(!bt){if(y=i,bi(),c=n(y),v=0,r.rel!=="nofollow"&&(c=n("."+et).filter(function(){var t=n.data(this,tt),i;return t&&(i=n(this).data("rel")||t.rel||this.rel),i===r.rel}),v=c.index(y),v===-1&&(c=c.add(y),v=c.length-1)),w.css({opacity:parseFloat(r.opacity),cursor:r.overlayClose?"pointer":"auto",visibility:"visible"}).show(),!it){if(it=st=!0,f.css({visibility:"hidden",display:"block"}),l=u(o,"LoadedContent","width:0; height:0; overflow:hidden").appendTo(b),nt=hi.height()+ai.height()+b.outerHeight(!0)-b.height(),g=ci.width()+li.width()+b.outerWidth(!0)-b.width(),d=l.outerHeight(!0),k=l.outerWidth(!0),r.w=a(r.initialWidth,"x"),r.h=a(r.initialHeight,"y"),e.position(),kt&&p.bind("resize."+dt+" scroll."+dt,function(){w.css({width:p.width(),height:yt(),top:p.scrollTop(),left:p.scrollLeft()})}).trigger("resize."+dt),tr(),ut(ir,r.onOpen),vi.add(gt).hide(),yi.html(r.close).show(),f.focus(),r.trapFocus&&t.addEventListener){t.addEventListener("focus",nr,!0);ft.one(si,function(){t.removeEventListener("focus",nr,!0)})}if(r.returnFocus)ft.one(si,function(){n(y).focus()})}e.load(!0)}}function wi(){!f&&t.body&&(ii=!1,p=n(i),f=u(o).attr({id:tt,"class":at?h+(kt?"IE6":"IE"):"",role:"dialog",tabindex:"-1"}).hide(),w=u(o,"Overlay",kt?"position:absolute":"").hide(),pt=u(o,"LoadingOverlay").add(u(o,"LoadingGraphic")),rt=u(o,"Wrapper"),b=u(o,"Content").append(gt=u(o,"Title"),ei=u(o,"Current"),ct=u("button","Previous"),ot=u("button","Next"),ht=u("button","Slideshow"),pt,yi=u("button","Close")),rt.append(u(o).append(u(o,"TopLeft"),hi=u(o,"TopCenter"),u(o,"TopRight")),u(o,!1,"clear:left").append(ci=u(o,"MiddleLeft"),b,li=u(o,"MiddleRight")),u(o,!1,"clear:left").append(u(o,"BottomLeft"),ai=u(o,"BottomCenter"),u(o,"BottomRight"))).find("div div").css({float:"left"}),lt=u(o,!1,"position:absolute; width:9999px; visibility:hidden; display:none"),vi=ot.add(ct).add(ei).add(ht),n(t.body).append(w,f.append(rt,lt)))}function rr(){function i(n){n.which>1||n.shiftKey||n.altKey||n.metaKey||(n.preventDefault(),pi(this))}if(f){if(!ii)if(ii=!0,ot.click(function(){e.next()}),ct.click(function(){e.prev()}),yi.click(function(){e.close()}),w.click(function(){r.overlayClose&&e.close()}),n(t).bind("keydown."+h,function(n){var t=n.keyCode;it&&r.escKey&&t===27&&(n.preventDefault(),e.close()),it&&r.arrowKey&&c[1]&&!n.altKey&&(t===37?(n.preventDefault(),ct.click()):t===39&&(n.preventDefault(),ot.click()))}),n.isFunction(n.fn.on))n(t).on("click."+h,"."+et,i);else n("."+et).live("click."+h,i);return!0}return!1}var ui={transition:"elastic",speed:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,inline:!1,html:!1,iframe:!1,fastIframe:!0,photo:!1,href:!1,title:!1,rel:!1,opacity:.9,preloading:!0,className:!1,retinaImage:!1,retinaUrl:!1,retinaSuffix:"@2x.$1",current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",open:!1,trapFocus:!0,returnFocus:!0,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico)((#|\?).*)?$/i,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:undefined},tt="colorbox",h="cbox",et=h+"Element",ir=h+"_open",ri=h+"_load",ni=h+"_complete",oi=h+"_cleanup",si=h+"_closed",wt=h+"_purge",at=!n.support.leadingWhitespace,kt=at&&!i.XMLHttpRequest,dt=h+"_IE6",w,f,rt,b,hi,ci,li,ai,c,p,l,lt,pt,gt,ei,ht,ot,ct,yi,vi,ft=n({}),r,nt,g,d,k,y,v,s,it,st,bt,gi,e,o="div",fi,ti=0,ii;n.colorbox||(n(wi),e=n.fn[tt]=n[tt]=function(t,i){var r=this;if(t=t||{},wi(),rr()){if(n.isFunction(r))r=n("<a/>"),t.open=!0;else if(!r[0])return r;i&&(t.onComplete=i),r.each(function(){n.data(this,tt,n.extend({},n.data(this,tt)||ui,t))}).addClass(et),(n.isFunction(t.open)&&t.open.call(r)||t.open)&&pi(r[0])}return r},e.position=function(n,t){function v(n){hi[0].style.width=ai[0].style.width=b[0].style.width=parseInt(n.style.width,10)-g+"px",b[0].style.height=ci[0].style.height=li[0].style.height=parseInt(n.style.height,10)-nt+"px"}var s,i=0,u=0,o=f.offset(),c,l;p.unbind("resize."+h),f.css({top:-9e4,left:-9e4}),c=p.scrollTop(),l=p.scrollLeft(),r.fixed&&!kt?(o.top-=c,o.left-=l,f.css({position:"fixed"})):(i=c,u=l,f.css({position:"absolute"})),u+=r.right!==!1?Math.max(p.width()-r.w-k-g-a(r.right,"x"),0):r.left!==!1?a(r.left,"x"):Math.round(Math.max(p.width()-r.w-k-g,0)/2),i+=r.bottom!==!1?Math.max(yt()-r.h-d-nt-a(r.bottom,"y"),0):r.top!==!1?a(r.top,"y"):Math.round(Math.max(yt()-r.h-d-nt,0)/2),f.css({top:o.top,left:o.left,visibility:"visible"}),n=f.width()===r.w+k&&f.height()===r.h+d?0:n||0,rt[0].style.width=rt[0].style.height="9999px",s={width:r.w+k+g,height:r.h+d+nt,top:i,left:u},n===0&&f.css(s),f.dequeue().animate(s,{duration:n,complete:function(){v(this),st=!1,rt[0].style.width=r.w+k+g+"px",rt[0].style.height=r.h+d+nt+"px",r.reposition&&setTimeout(function(){p.bind("resize."+h,e.position)},1),t&&t()},step:function(){v(this)}})},e.resize=function(n){it&&(n=n||{},n.width&&(r.w=a(n.width,"x")-k-g),n.innerWidth&&(r.w=a(n.innerWidth,"x")),l.css({width:r.w}),n.height&&(r.h=a(n.height,"y")-d-nt),n.innerHeight&&(r.h=a(n.innerHeight,"y")),n.innerHeight||n.height||(l.css({height:"auto"}),r.h=l.height()),l.css({height:r.h}),e.position(r.transition==="none"?0:r.speed))},e.prep=function(t){function y(){return r.w=r.w||l.width(),r.w=r.mw&&r.mw<r.w?r.mw:r.w}function p(){return r.h=r.h||l.height(),r.h=r.mh&&r.mh<r.h?r.mh:r.h}if(it){var i,a=r.transition==="none"?0:r.speed;l.empty().remove(),l=u(o,"LoadedContent").append(t),l.hide().appendTo(lt.show()).css({width:y(),overflow:r.scrolling?"auto":"hidden"}).css({height:p()}).prependTo(b),lt.hide(),n(s).css({float:"none"}),i=function(){function p(){at&&f[0].style.removeAttribute("filter")}var i=c.length,t,o="frameBorder",y="allowTransparency",e;if(it){if(e=function(){clearTimeout(gi),pt.hide(),ut(ni,r.onComplete)},at&&s&&l.fadeIn(100),gt.html(r.title).add(l).show(),i>1?(typeof r.current=="string"&&ei.html(r.current.replace("{current}",v+1).replace("{total}",i)).show(),ot[r.loop||v<i-1?"show":"hide"]().html(r.next),ct[r.loop||v?"show":"hide"]().html(r.previous),r.slideshow&&ht.show(),r.preloading&&n.each([vt(-1),vt(1)],function(){var t,u,r=c[this],i=n.data(r,tt);i&&i.href?(t=i.href,n.isFunction(t)&&(t=t.call(r))):t=n(r).attr("href"),t&&ki(i,t)&&(t=di(i,t),u=new Image,u.src=t)})):vi.hide(),r.iframe){t=u("iframe")[0],o in t&&(t[o]=0),y in t&&(t[y]="true"),r.scrolling||(t.scrolling="no"),n(t).attr({src:r.href,name:+new Date,"class":h+"Iframe",allowFullScreen:!0,webkitAllowFullScreen:!0,mozallowfullscreen:!0}).one("load",e).appendTo(l);ft.one(wt,function(){t.src="//about:blank"});r.fastIframe&&n(t).trigger("load")}else e();r.transition==="fade"?f.fadeTo(a,1,p):p()}},r.transition==="fade"?f.fadeTo(a,0,function(){e.position(0,i)}):e.position(a,i)}},e.load=function(t){var p,tt,b=e.prep,it,rt=++ti;if(st=!0,s=!1,y=c[v],t||bi(),fi&&f.add(w).removeClass(fi),r.className&&f.add(w).addClass(r.className),fi=r.className,ut(wt),ut(ri,r.onLoad),r.h=r.height?a(r.height,"y")-d-nt:r.innerHeight&&a(r.innerHeight,"y"),r.w=r.width?a(r.width,"x")-k-g:r.innerWidth&&a(r.innerWidth,"x"),r.mw=r.w,r.mh=r.h,r.maxWidth&&(r.mw=a(r.maxWidth,"x")-k-g,r.mw=r.w&&r.w<r.mw?r.w:r.mw),r.maxHeight&&(r.mh=a(r.maxHeight,"y")-d-nt,r.mh=r.h&&r.h<r.mh?r.h:r.mh),p=r.href,gi=setTimeout(function(){pt.show()},100),r.inline){it=u(o).hide().insertBefore(n(p)[0]);ft.one(wt,function(){it.replaceWith(l.children())});b(n(p))}else if(r.iframe)b(" ");else if(r.html)b(r.html);else if(ki(r,p)){p=di(r,p);n(s=new Image).addClass(h+"Photo").bind("error",function(){r.title=!1,b(u(o,"Error").html(r.imgError))}).one("load",function(){var n;rt===ti&&(r.retinaImage&&i.devicePixelRatio>1&&(s.height=s.height/i.devicePixelRatio,s.width=s.width/i.devicePixelRatio),r.scalePhotos&&(tt=function(){s.height-=s.height*n,s.width-=s.width*n},r.mw&&s.width>r.mw&&(n=(s.width-r.mw)/s.width,tt()),r.mh&&s.height>r.mh&&(n=(s.height-r.mh)/s.height,tt())),r.h&&(s.style.marginTop=Math.max(r.mh-s.height,0)/2+"px"),c[1]&&(r.loop||c[v+1])&&(s.style.cursor="pointer",s.onclick=function(){e.next()}),at&&(s.style.msInterpolationMode="bicubic"),setTimeout(function(){b(s)},1))});setTimeout(function(){s.src=p},1)}else p&&lt.load(p,r.data,function(t,i){rt===ti&&b(i==="error"?u(o,"Error").html(r.xhrError):n(this).contents())})},e.next=function(){!st&&c[1]&&(r.loop||c[v+1])&&(v=vt(1),e.load())},e.prev=function(){!st&&c[1]&&(r.loop||v)&&(v=vt(-1),e.load())},e.close=function(){it&&!bt&&(bt=!0,it=!1,ut(oi,r.onCleanup),p.unbind("."+h+" ."+dt),w.fadeTo(200,0),f.stop().fadeTo(300,0,function(){f.add(w).css({opacity:1,cursor:"auto"}).hide(),ut(wt),l.empty().remove(),setTimeout(function(){bt=!1,ut(si,r.onClosed)},1)}))},e.remove=function(){n([]).add(f).add(w).remove(),f=null,n("."+et).removeData(tt).removeClass(et),n(t).unbind("click."+h)},e.element=function(){return n(y)},e.settings=ui)}(jQuery,document,window);var ddsmoothmenu={transition:{overtime:300,outtime:300,toggleopacity:!0},showhidedelay:{showdelay:100,hidedelay:200},buildmenu:function(n,t){var u=ddsmoothmenu,i=n("#"+t.mainmenuid+">ul"),r=i.find("ul").parent();r.hover(function(){n(this).children("a:eq(0)").addClass("dropdown_open")},function(){n(this).children("a:eq(0)").removeClass("dropdown_open")}),r.each(function(i){var r=n(this).css({zIndex:100-i}),u=n(this).find("ul:eq(0)").css({display:"block"});u.data("timers",{}),this._dimensions={w:this.offsetWidth,h:this.offsetHeight,subulw:u.outerWidth(),subulh:u.outerHeight()},this.istopheader=r.parents("ul").length==1?!0:!1,u.css({top:this.istopheader&&t.orientation!="v"?this._dimensions.h+"px":0}),r.children("a:eq(0)").addClass("dropdown"),r.hover(function(){var e=u,f=r.get(0);clearTimeout(e.data("timers").hidetimer),e.data("timers").showtimer=setTimeout(function(){f._offsets={left:r.offset().left,top:r.offset().top};var i=f.istopheader&&t.orientation!="v"?0:f._dimensions.w;i=f._offsets.left+i+f._dimensions.subulw>n(window).width()?f.istopheader&&t.orientation!="v"?-f._dimensions.subulw+f._dimensions.w:-f._dimensions.w:i,e.queue().length<=1&&(i<0&&e.addClass("dropdowntoleft"),ddsmoothmenu.transition.toggleopacity?e.css({left:i+"px",width:f._dimensions.subulw+"px"}).animate({height:"show",opacity:"show"},ddsmoothmenu.transition.overtime):e.css({left:i+"px",width:f._dimensions.subulw+"px"}).animate({height:"show"},ddsmoothmenu.transition.overtime))},ddsmoothmenu.showhidedelay.showdelay)},function(){var t=u,i=r.get(0);clearTimeout(t.data("timers").showtimer),t.data("timers").hidetimer=setTimeout(function(){t.removeClass("dropdowntoleft"),ddsmoothmenu.transition.toggleopacity?t.animate({height:"hide",opacity:"hide"},ddsmoothmenu.transition.outtime):t.animate({height:"hide"},ddsmoothmenu.transition.outtime)},ddsmoothmenu.showhidedelay.hidedelay)})}),i.find("ul").css({display:"none",visibility:"visible"})},init:function(n){jQuery(document).ready(function(t){ddsmoothmenu.buildmenu(t,n)})}};(function(){var t=[].indexOf||function(n){for(var t=0,i=this.length;t<i;t++)if(t in this&&this[t]===n)return t;return-1},n=[].slice;(function(n,t){return typeof define=="function"&&define.amd?define("waypoints",["jquery"],function(i){return t(i,n)}):t(n.jQuery,n)})(this,function(i,r){var v,k,w,o,b,h,s,a,u,f,y,p,d,l,c,e;return v=i(r),a=t.call(r,"ontouchstart")>=0,o={horizontal:{},vertical:{}},b=1,s={},h="waypoints-context-id",y="resize.waypoints",p="scroll.waypoints",d=1,l="waypoints-waypoint-ids",c="waypoint",e="waypoints",k=function(){function n(n){var t=this;this.$element=n,this.element=n[0],this.didResize=!1,this.didScroll=!1,this.id="context"+b++,this.oldScroll={x:n.scrollLeft(),y:n.scrollTop()},this.waypoints={horizontal:{},vertical:{}},n.data(h,this.id),s[this.id]=this,n.bind(p,function(){var n;if(!t.didScroll&&!a)return t.didScroll=!0,n=function(){return t.doScroll(),t.didScroll=!1},r.setTimeout(n,i[e].settings.scrollThrottle)}),n.bind(y,function(){var n;if(!t.didResize)return t.didResize=!0,n=function(){return i[e]("refresh"),t.didResize=!1},r.setTimeout(n,i[e].settings.resizeThrottle)})}return n.prototype.doScroll=function(){var n,t=this;return n={horizontal:{newScroll:this.$element.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.$element.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}},!a||n.vertical.oldScroll&&n.vertical.newScroll||i[e]("refresh"),i.each(n,function(n,r){var e,f,u;return u=[],f=r.newScroll>r.oldScroll,e=f?r.forward:r.backward,i.each(t.waypoints[n],function(n,t){var i,f;return r.oldScroll<(i=t.offset)&&i<=r.newScroll?u.push(t):r.newScroll<(f=t.offset)&&f<=r.oldScroll?u.push(t):void 0}),u.sort(function(n,t){return n.offset-t.offset}),f||u.reverse(),i.each(u,function(n,t){if(t.options.continuous||n===u.length-1)return t.trigger([e])})}),this.oldScroll={x:n.horizontal.newScroll,y:n.vertical.newScroll}},n.prototype.refresh=function(){var r,t,n,u=this;return n=i.isWindow(this.element),t=this.$element.offset(),this.doScroll(),r={horizontal:{contextOffset:n?0:t.left,contextScroll:n?0:this.oldScroll.x,contextDimension:this.$element.width(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:n?0:t.top,contextScroll:n?0:this.oldScroll.y,contextDimension:n?i[e]("viewportHeight"):this.$element.height(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}},i.each(r,function(n,t){return i.each(u.waypoints[n],function(n,r){var u,e,f,o,s;if(u=r.options.offset,f=r.offset,e=i.isWindow(r.element)?0:r.$element.offset()[t.offsetProp],i.isFunction(u)?u=u.apply(r.element):typeof u=="string"&&(u=parseFloat(u),r.options.offset.indexOf("%")>-1&&(u=Math.ceil(t.contextDimension*u/100))),r.offset=e-t.contextOffset+t.contextScroll-u,(!r.options.onlyOnScroll||f==null)&&r.enabled)return f!==null&&f<(o=t.oldScroll)&&o<=r.offset?r.trigger([t.backward]):f!==null&&f>(s=t.oldScroll)&&s>=r.offset?r.trigger([t.forward]):f===null&&t.oldScroll>=r.offset?r.trigger([t.forward]):void 0})})},n.prototype.checkEmpty=function(){if(i.isEmptyObject(this.waypoints.horizontal)&&i.isEmptyObject(this.waypoints.vertical))return this.$element.unbind([y,p].join(" ")),delete s[this.id]},n}(),w=function(){function n(n,t,r){var u,f;r=i.extend({},i.fn[c].defaults,r),r.offset==="bottom-in-view"&&(r.offset=function(){var n;return n=i[e]("viewportHeight"),i.isWindow(t.element)||(n=t.$element.height()),n-i(this).outerHeight()}),this.$element=n,this.element=n[0],this.axis=r.horizontal?"horizontal":"vertical",this.callback=r.handler,this.context=t,this.enabled=r.enabled,this.id="waypoints"+d++,this.offset=null,this.options=r,t.waypoints[this.axis][this.id]=this,o[this.axis][this.id]=this,u=(f=n.data(l))!=null?f:[],u.push(this.id),n.data(l,u)}return n.prototype.trigger=function(n){if(this.enabled)return this.callback!=null&&this.callback.apply(this.element,n),this.options.triggerOnce?this.destroy():void 0},n.prototype.disable=function(){return this.enabled=!1},n.prototype.enable=function(){return this.context.refresh(),this.enabled=!0},n.prototype.destroy=function(){return delete o[this.axis][this.id],delete this.context.waypoints[this.axis][this.id],this.context.checkEmpty()},n.getWaypointsByElement=function(n){var r,t;return(t=i(n).data(l),!t)?[]:(r=i.extend({},o.horizontal,o.vertical),i.map(t,function(n){return r[n]}))},n}(),f={init:function(n,t){var r;return t==null&&(t={}),(r=t.handler)==null&&(t.handler=n),this.each(function(){var u,r,n,f;return u=i(this),n=(f=t.context)!=null?f:i.fn[c].defaults.context,i.isWindow(n)||(n=u.closest(n)),n=i(n),r=s[n.data(h)],r||(r=new k(n)),new w(u,r,t)}),i[e]("refresh"),this},disable:function(){return f._invoke(this,"disable")},enable:function(){return f._invoke(this,"enable")},destroy:function(){return f._invoke(this,"destroy")},prev:function(n,t){return f._traverse.call(this,n,t,function(n,t,i){if(t>0)return n.push(i[t-1])})},next:function(n,t){return f._traverse.call(this,n,t,function(n,t,i){if(t<i.length-1)return n.push(i[t+1])})},_traverse:function(n,t,f){var e,o;return n==null&&(n="vertical"),t==null&&(t=r),o=u.aggregate(t),e=[],this.each(function(){var t;return t=i.inArray(this,o[n]),f(e,t,o[n])}),this.pushStack(e)},_invoke:function(n,t){return n.each(function(){var n;return n=w.getWaypointsByElement(this),i.each(n,function(n,i){return i[t](),!0})}),this}},i.fn[c]=function(){var r,t;return t=arguments[0],r=2<=arguments.length?n.call(arguments,1):[],f[t]?f[t].apply(this,r):i.isFunction(t)?f.init.apply(this,arguments):i.isPlainObject(t)?f.init.apply(this,[null,t]):t?i.error("The "+t+" method does not exist in jQuery Waypoints."):i.error("jQuery Waypoints needs a callback function or handler option.")},i.fn[c].defaults={context:r,continuous:!0,enabled:!0,horizontal:!1,offset:0,triggerOnce:!1},u={refresh:function(){return i.each(s,function(n,t){return t.refresh()})},viewportHeight:function(){var n;return(n=r.innerHeight)!=null?n:v.height()},aggregate:function(n){var r,t,u;return(r=o,n&&(r=(u=s[i(n).data(h)])!=null?u.waypoints:void 0),!r)?[]:(t={horizontal:[],vertical:[]},i.each(t,function(n,u){return i.each(r[n],function(n,t){return u.push(t)}),u.sort(function(n,t){return n.offset-t.offset}),t[n]=i.map(u,function(n){return n.element}),t[n]=i.unique(t[n])}),t)},above:function(n){return n==null&&(n=r),u._filter(n,"vertical",function(n,t){return t.offset<=n.oldScroll.y})},below:function(n){return n==null&&(n=r),u._filter(n,"vertical",function(n,t){return t.offset>n.oldScroll.y})},left:function(n){return n==null&&(n=r),u._filter(n,"horizontal",function(n,t){return t.offset<=n.oldScroll.x})},right:function(n){return n==null&&(n=r),u._filter(n,"horizontal",function(n,t){return t.offset>n.oldScroll.x})},enable:function(){return u._invoke("enable")},disable:function(){return u._invoke("disable")},destroy:function(){return u._invoke("destroy")},extendFn:function(n,t){return f[n]=t},_invoke:function(n){var t;return t=i.extend({},o.vertical,o.horizontal),i.each(t,function(t,i){return i[n](),!0})},_filter:function(n,t,r){var u,f;return(u=s[i(n).data(h)],!u)?[]:(f=[],i.each(u.waypoints[t],function(n,t){if(r(u,t))return f.push(t)}),f.sort(function(n,t){return n.offset-t.offset}),i.map(f,function(n){return n.element}))}},i[e]=function(){var i,t;return t=arguments[0],i=2<=arguments.length?n.call(arguments,1):[],u[t]?u[t].apply(null,i):u.aggregate.call(null,t)},i[e].settings={resizeThrottle:100,scrollThrottle:30},v.load(function(){return i[e]("refresh")})})}).call(this),function(){(function(n,t){return typeof define=="function"&&define.amd?define(["jquery","waypoints"],t):t(n.jQuery)})(this,function(n){var t,i;return t={wrapper:'<div class="sticky-wrapper" />',stuckClass:"stuck"},i=function(t,i){return t.wrap(i.wrapper),t.each(function(){var t;return t=n(this),t.parent().height(t.outerHeight()),!0}),t.parent()},n.waypoints("extendFn","sticky",function(r){var f,u;return r=n.extend({},n.fn.waypoint.defaults,t,r),f=i(this,r),u=r.handler,r.handler=function(t){var i,f;return i=n(this).children(":first"),f=t==="down"||t==="right",i.toggleClass(r.stuckClass,f),u!=null?u.call(this,t):void 0},f.waypoint(r),this})})}.call(this),function(n){function i(n){return typeof n=="object"?n:{top:n,left:n}}var t=n.scrollTo=function(t,i,r){n(window).scrollTo(t,i,r)};t.defaults={axis:"xy",duration:parseFloat(n.fn.jquery)>=1.3?0:1,limit:!0},t.window=function(){return n(window)._scrollable()},n.fn._scrollable=function(){return this.map(function(){var t=this,r=!t.nodeName||n.inArray(t.nodeName.toLowerCase(),["iframe","#document","html","body"])!=-1,i;return r?(i=(t.contentWindow||t).document||t.ownerDocument||t,/webkit/i.test(navigator.userAgent)||i.compatMode=="BackCompat"?i.body:i.documentElement):t})},n.fn.scrollTo=function(r,u,f){return typeof u=="object"&&(f=u,u=0),typeof f=="function"&&(f={onAfter:f}),r=="max"&&(r=9e9),f=n.extend({},t.defaults,f),u=u||f.duration,f.queue=f.queue&&f.axis.length>1,f.queue&&(u/=2),f.offset=i(f.offset),f.over=i(f.over),this._scrollable().each(function(){function l(n){h.animate(o,u,f.easing,n&&function(){n.call(this,r,f)})}if(r!=null){var s=this,h=n(s),e=r,c,o={},a=h.is("html,body");switch(typeof e){case"number":case"string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(e)){e=i(e);break}if(e=n(e,this),!e.length)return;case"object":(e.is||e.style)&&(c=(e=n(e)).offset())}n.each(f.axis.split(""),function(n,i){var y=i=="x"?"Left":"Top",u=y.toLowerCase(),r="scroll"+y,p=s[r],w=t.max(s,i),v;c?(o[r]=c[u]+(a?0:p-h.offset()[u]),f.margin&&(o[r]-=parseInt(e.css("margin"+y))||0,o[r]-=parseInt(e.css("border"+y+"Width"))||0),o[r]+=f.offset[u]||0,f.over[u]&&(o[r]+=e[i=="x"?"width":"height"]()*f.over[u])):(v=e[u],o[r]=v.slice&&v.slice(-1)=="%"?parseFloat(v)/100*w:v),f.limit&&/^\d+$/.test(o[r])&&(o[r]=o[r]<=0?0:Math.min(o[r],w)),!n&&f.queue&&(p!=o[r]&&l(f.onAfterFirst),delete o[r])}),l(f.onAfter)}}).end()},t.max=function(t,i){var r=i=="x"?"Width":"Height",u="scroll"+r;if(!n(t).is("html,body"))return t[u]-n(t)[r.toLowerCase()]();var f="client"+r,e=t.ownerDocument.documentElement,o=t.ownerDocument.body;return Math.max(e[u],o[u])-Math.min(e[f],o[f])}}(jQuery),function(n){n.fn.hoverIntent=function(t,i,r){var u={interval:100,sensitivity:7,timeout:0};u=typeof t=="object"?n.extend(u,t):n.isFunction(i)?n.extend(u,{over:t,out:i,selector:r}):n.extend(u,{over:t,out:t,selector:i});var f,e,o,s,h=function(n){f=n.pageX,e=n.pageY},c=function(t,i){if(i.hoverIntent_t=clearTimeout(i.hoverIntent_t),Math.abs(o-f)+Math.abs(s-e)<u.sensitivity)return n(i).off("mousemove.hoverIntent",h),i.hoverIntent_s=1,u.over.apply(i,[t]);o=f,s=e,i.hoverIntent_t=setTimeout(function(){c(t,i)},u.interval)},a=function(n,t){return t.hoverIntent_t=clearTimeout(t.hoverIntent_t),t.hoverIntent_s=0,u.out.apply(t,[n])},l=function(t){var r=jQuery.extend({},t),i=this;if(i.hoverIntent_t&&(i.hoverIntent_t=clearTimeout(i.hoverIntent_t)),t.type=="mouseenter"){o=r.pageX,s=r.pageY;n(i).on("mousemove.hoverIntent",h);i.hoverIntent_s!=1&&(i.hoverIntent_t=setTimeout(function(){c(r,i)},u.interval))}else n(i).off("mousemove.hoverIntent",h),i.hoverIntent_s==1&&(i.hoverIntent_t=setTimeout(function(){a(r,i)},u.timeout))};return this.on({"mouseenter.hoverIntent":l,"mouseleave.hoverIntent":l},u.selector)}}(jQuery),window.matchMedia=window.matchMedia||function(n){var u,i=n.documentElement,f=i.firstElementChild||i.firstChild,r=n.createElement("body"),t=n.createElement("div");return t.id="mq-test-1",t.style.cssText="position:absolute;top:-100em",r.appendChild(t),function(n){return t.innerHTML='&shy;<style media="'+n+'"> #mq-test-1 { width: 42px; }</style>',i.insertBefore(r,f),u=42==t.offsetWidth,i.removeChild(r),{matches:u,media:n}}}(document),function(n){"use strict";n.picturefill=function(){for(var o,i,r=n.document.getElementsByTagName("div"),t=0,s=r.length;s>t;t++)if(null!==r[t].getAttribute("data-picture")){for(var f=r[t].getElementsByTagName("div"),e=[],u=0,h=f.length;h>u;u++)o=f[u].getAttribute("data-media"),(!o||n.matchMedia&&n.matchMedia(o).matches)&&e.push(f[u]);i=r[t].getElementsByTagName("img")[0],e.length?(i||(i=n.document.createElement("img"),i.alt=r[t].getAttribute("data-alt"),r[t].appendChild(i)),i.src=e.pop().getAttribute("data-src")):i&&r[t].removeChild(i)}},n.addEventListener?(n.addEventListener("resize",n.picturefill,!1),n.addEventListener("DOMContentLoaded",function(){n.picturefill(),n.removeEventListener("load",n.picturefill,!1)},!1),n.addEventListener("load",n.picturefill,!1)):n.attachEvent&&n.attachEvent("onload",n.picturefill)}(this),function(n,t,r,u){function h(t,i){this.element=t,this.options=n.extend({},s,i),this._defaults=s,this._name=e,this.init()}function f(){return!!("ontouchstart"in t)}function c(){var u=r.body||r.documentElement,i=u.style,n="transition",t;if(typeof i[n]=="string")return!0;for(v=["Moz","Webkit","Khtml","O","ms"],n=n.charAt(0).toUpperCase()+n.substr(1),t=0;t<v.length;t++)if(typeof i[v[t]+n]=="string")return!0;return!1}var e="tooltipster",s={animation:"fade",arrow:!0,arrowColor:"",content:"",delay:200,fixedWidth:0,maxWidth:0,functionBefore:function(n,t){t()},functionReady:function(){},functionAfter:function(){},icon:"(?)",iconDesktop:!1,iconTouch:!1,iconTheme:".tooltipster-icon",interactive:!1,interactiveTolerance:350,offsetX:0,offsetY:0,onlyOne:!0,position:"top",speed:350,timer:0,theme:".tooltipster-default",touchDevices:!0,trigger:"hover",updateAnimation:!0},o=!0;c()||(o=!1),h.prototype={init:function(){var t=n(this.element),i=this,o=!0,s,h,e,c;if(i.options.touchDevices==!1&&f()&&(o=!1),r.all&&!r.querySelector&&(o=!1),o==!0)if((this.options.iconDesktop==!0&&!f()||this.options.iconTouch==!0&&f())&&(s=t.attr("title"),t.removeAttr("title"),h=i.options.iconTheme,e=n('<span class="'+h.replace(".","")+'" title="'+s+'">'+this.options.icon+"</span>"),e.insertAfter(t),t.data("tooltipsterIcon",e),t=e),c=n.trim(i.options.content).length>0?i.options.content:t.attr("title"),t.data("tooltipsterContent",c),t.removeAttr("title"),this.options.touchDevices==!0&&f())t.bind("touchstart",function(){i.showTooltip()});else{if(this.options.trigger=="hover"){t.on("mouseenter.tooltipster",function(){i.showTooltip()});if(this.options.interactive==!0)t.on("mouseleave.tooltipster",function(){var n=t.data("tooltipster"),r=!1,f;n!==u&&n!==""?(n.mouseenter(function(){r=!0}),n.mouseleave(function(){r=!1}),f=setTimeout(function(){r==!0?n.mouseleave(function(){i.hideTooltip()}):i.hideTooltip()},i.options.interactiveTolerance)):i.hideTooltip()});else t.on("mouseleave.tooltipster",function(){i.hideTooltip()})}if(this.options.trigger=="click")t.on("click.tooltipster",function(){t.data("tooltipster")==""||t.data("tooltipster")==u?i.showTooltip():i.hideTooltip()})}},showTooltip:function(){var r=n(this.element),i=this;r.data("tooltipsterIcon")!==u&&(r=r.data("tooltipsterIcon")),r.hasClass("tooltipster-disable")||(n(".tooltipster-base").not(".tooltipster-dying").length>0&&i.options.onlyOne==!0&&n(".tooltipster-base").not(".tooltipster-dying").not(r.data("tooltipster")).each(function(){n(this).addClass("tooltipster-kill");var t=n(this).data("origin");t.data("plugin_tooltipster").hideTooltip()}),r.clearQueue().delay(i.options.delay).queue(function(){i.options.functionBefore(r,function(){var t,s,h,a,e;if(r.data("tooltipster")!==u&&r.data("tooltipster")!=="")t=r.data("tooltipster"),t.hasClass("tooltipster-kill")||(s="tooltipster-"+i.options.animation,t.removeClass("tooltipster-dying"),o==!0&&t.clearQueue().addClass(s+"-show"),i.options.timer>0&&(e=t.data("tooltipsterTimer"),clearTimeout(e),e=setTimeout(function(){t.data("tooltipsterTimer",u),i.hideTooltip()},i.options.timer),t.data("tooltipsterTimer",e)),i.options.touchDevices==!0&&f()&&n("body").bind("touchstart",function(t){if(i.options.interactive==!0){var u=n(t.target),r=!0;u.parents().each(function(){n(this).hasClass("tooltipster-base")&&(r=!1)}),r==!0&&(i.hideTooltip(),n("body").unbind("touchstart"))}else i.hideTooltip(),n("body").unbind("touchstart")}));else{n("body").css("overflow-x","hidden");var l=r.data("tooltipsterContent"),v=i.options.theme,y=v.replace(".",""),s="tooltipster-"+i.options.animation,p="-webkit-transition-duration: "+i.options.speed+"ms; -webkit-animation-duration: "+i.options.speed+"ms; -moz-transition-duration: "+i.options.speed+"ms; -moz-animation-duration: "+i.options.speed+"ms; -o-transition-duration: "+i.options.speed+"ms; -o-animation-duration: "+i.options.speed+"ms; -ms-transition-duration: "+i.options.speed+"ms; -ms-animation-duration: "+i.options.speed+"ms; transition-duration: "+i.options.speed+"ms; animation-duration: "+i.options.speed+"ms;",w=i.options.fixedWidth>0?"width:"+i.options.fixedWidth+"px;":"",b=i.options.maxWidth>0?"max-width:"+i.options.maxWidth+"px;":"",k=i.options.interactive==!0?"pointer-events: auto;":"",t=n('<div class="tooltipster-base '+y+" "+s+'" style="'+w+" "+b+" "+k+" "+p+'"><div class="tooltipster-content">'+l+"</div></div>");t.appendTo("body"),r.data("tooltipster",t),t.data("origin",r),i.positionTooltip(),i.options.functionReady(r,t),o==!0?t.addClass(s+"-show"):t.css("display","none").removeClass(s).fadeIn(i.options.speed),h=l,a=setInterval(function(){var u=r.data("tooltipsterContent");n("body").find(r).length==0?(t.addClass("tooltipster-dying"),i.hideTooltip()):h!==u&&u!==""&&(h=u,t.find(".tooltipster-content").html(u),i.options.updateAnimation==!0&&(c()?(t.css({width:"","-webkit-transition":"all "+i.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms","-moz-transition":"all "+i.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms","-o-transition":"all "+i.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms","-ms-transition":"all "+i.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms",transition:"all "+i.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms"}).addClass("tooltipster-content-changing"),setTimeout(function(){t.removeClass("tooltipster-content-changing"),setTimeout(function(){t.css({"-webkit-transition":i.options.speed+"ms","-moz-transition":i.options.speed+"ms","-o-transition":i.options.speed+"ms","-ms-transition":i.options.speed+"ms",transition:i.options.speed+"ms"})},i.options.speed)},i.options.speed)):t.fadeTo(i.options.speed,.5,function(){t.fadeTo(i.options.speed,1)})),i.positionTooltip()),(n("body").find(t).length==0||n("body").find(r).length==0)&&clearInterval(a)},200),i.options.timer>0&&(e=setTimeout(function(){t.data("tooltipsterTimer",u),i.hideTooltip()},i.options.timer+i.options.speed),t.data("tooltipsterTimer",e)),i.options.touchDevices==!0&&f()&&n("body").bind("touchstart",function(t){if(i.options.interactive==!0){var u=n(t.target),r=!0;u.parents().each(function(){n(this).hasClass("tooltipster-base")&&(r=!1)}),r==!0&&(i.hideTooltip(),n("body").unbind("touchstart"))}else i.hideTooltip(),n("body").unbind("touchstart")}),t.mouseleave(function(){i.hideTooltip()})}}),r.dequeue()}))},hideTooltip:function(){var r=n(this.element),f=this,i,e,s;r.data("tooltipsterIcon")!==u&&(r=r.data("tooltipsterIcon")),i=r.data("tooltipster"),i==u&&(i=n(".tooltipster-dying")),r.clearQueue(),i!==u&&i!==""&&(e=i.data("tooltipsterTimer"),e!==u&&clearTimeout(e),s="tooltipster-"+f.options.animation,o==!0?i.clearQueue().removeClass(s+"-show").addClass("tooltipster-dying").delay(f.options.speed).queue(function(){i.remove(),r.data("tooltipster",""),n("body").css("verflow-x",""),f.options.functionAfter(r)}):i.clearQueue().addClass("tooltipster-dying").fadeOut(f.options.speed,function(){i.remove(),r.data("tooltipster",""),n("body").css("verflow-x",""),f.options.functionAfter(r)}))},positionTooltip:function(){var c=n(this.element),e=this,f,d,dt,nt,ct,ht,tt,gt,k,w,ft,ri,ut,fi;if(c.data("tooltipsterIcon")!==u&&(c=c.data("tooltipsterIcon")),c.data("tooltipster")!==u&&c.data("tooltipster")!==""){f=c.data("tooltipster"),f.css("width","");var rt=n(t).width(),b=c.outerWidth(!1),it=c.outerHeight(!1),l=f.outerWidth(!1),li=f.innerWidth()+1,y=f.outerHeight(!1),ei=c.offset(),o=ei.top,h=ei.left,kt=u;if(c.is("area")){var ii=c.attr("shape"),ci=c.parent().attr("name"),bt=n('img[usemap="#'+ci+'"]'),wt=bt.offset().left,pt=bt.offset().top,g=c.attr("coords")!==u?c.attr("coords").split(","):u;if(ii=="circle"){var ti=parseInt(g[0]),ui=parseInt(g[1]),yt=parseInt(g[2]);it=yt*2,b=yt*2,o=pt+ui-yt,h=wt+ti-yt}else if(ii=="rect"){var ti=parseInt(g[0]),ui=parseInt(g[1]),hi=parseInt(g[2]),si=parseInt(g[3]);it=si-ui,b=hi-ti,o=pt+ui,h=wt+ti}else if(ii=="poly"){var vi=[],ai=[],lt=0,st=0,at=0,vt=0,ni="even";for(i=0;i<g.length;i++)d=parseInt(g[i]),ni=="even"?(d>at&&(at=d,i==0&&(lt=at)),d<lt&&(lt=d),ni="odd"):(d>vt&&(vt=d,i==1&&(st=vt)),d<st&&(st=d),ni="even");it=vt-st,b=at-lt,o=pt+st,h=wt+lt}else it=bt.outerHeight(!1),b=bt.outerWidth(!1),o=pt,h=wt}e.options.fixedWidth==0&&f.css({width:li+"px","padding-left":"0px","padding-right":"0px"});var s=0,p=0,a=parseInt(e.options.offsetY),v=parseInt(e.options.offsetX),oi="";function ot(){var i=n(t).scrollLeft(),r;s-i<0&&(r=s-i,s=i,f.data("arrow-reposition",r)),s+l-i>rt&&(r=s-(rt+i-l),s=rt+i-l,f.data("arrow-reposition",r))}function et(i,r){o-n(t).scrollTop()-y-a-12<0&&r.indexOf("top")>-1&&(e.options.position=i,kt=r),o+it+y+12+a>n(t).scrollTop()+n(t).height()&&r.indexOf("bottom")>-1&&(e.options.position=i,kt=r,p=o-y-a-12)}e.options.position=="top"&&(dt=h+l-(h+b),s=h+v-dt/2,p=o-y-a-12,ot(),et("bottom","top")),e.options.position=="top-left"&&(s=h+v,p=o-y-a-12,ot(),et("bottom-left","top-left")),e.options.position=="top-right"&&(s=h+b+v-l,p=o-y-a-12,ot(),et("bottom-right","top-right")),e.options.position=="bottom"&&(dt=h+l-(h+b),s=h-dt/2+v,p=o+it+a+12,ot(),et("top","bottom")),e.options.position=="bottom-left"&&(s=h+v,p=o+it+a+12,ot(),et("top-left","bottom-left")),e.options.position=="bottom-right"&&(s=h+b+v-l,p=o+it+a+12,ot(),et("top-right","bottom-right")),e.options.position=="left"&&(s=h-v-l-12,myLeftMirror=h+v+b+12,nt=o+y-(o+c.outerHeight(!1)),p=o-nt/2-a,s<0&&myLeftMirror+l>rt?(ct=parseFloat(f.css("border-width"))*2,ht=l+s-ct,f.css("width",ht+"px"),y=f.outerHeight(!1),s=h-v-ht-12-ct,nt=o+y-(o+c.outerHeight(!1)),p=o-nt/2-a):s<0&&(s=h+v+b+12,f.data("arrow-reposition","left"))),e.options.position=="right"&&(s=h+v+b+12,myLeftMirror=h-v-l-12,nt=o+y-(o+c.outerHeight(!1)),p=o-nt/2-a,s+l>rt&&myLeftMirror<0?(ct=parseFloat(f.css("border-width"))*2,ht=rt-s-ct,f.css("width",ht+"px"),y=f.outerHeight(!1),nt=o+y-(o+c.outerHeight(!1)),p=o-nt/2-a):s+l>rt&&(s=h-v-l-12,f.data("arrow-reposition","right"))),e.options.arrow==!0&&(tt="tooltipster-arrow-"+e.options.position,gt=e.options.arrowColor.length<1?f.css("background-color"):e.options.arrowColor,k=f.data("arrow-reposition"),k?k=="left"?(tt="tooltipster-arrow-right",k=""):k=="right"?(tt="tooltipster-arrow-left",k=""):k="left:"+k+"px;":k="",e.options.position=="top"||e.options.position=="top-left"||e.options.position=="top-right"?(w=parseFloat(f.css("border-bottom-width")),ft=f.css("border-bottom-color")):e.options.position=="bottom"||e.options.position=="bottom-left"||e.options.position=="bottom-right"?(w=parseFloat(f.css("border-top-width")),ft=f.css("border-top-color")):e.options.position=="left"?(w=parseFloat(f.css("border-right-width")),ft=f.css("border-right-color")):e.options.position=="right"?(w=parseFloat(f.css("border-left-width")),ft=f.css("border-left-color")):(w=parseFloat(f.css("border-bottom-width")),ft=f.css("border-bottom-color")),w>1&&w++,ri="",w!==0&&(ut="",fi="border-color: "+ft+";",tt.indexOf("bottom")!==-1?ut="margin-top: -"+w+"px;":tt.indexOf("top")!==-1?ut="margin-bottom: -"+w+"px;":tt.indexOf("left")!==-1?ut="margin-right: -"+w+"px;":tt.indexOf("right")!==-1&&(ut="margin-left: -"+w+"px;"),ri='<span class="tooltipster-arrow-border" style="'+ut+" "+fi+';"></span>'),f.find(".tooltipster-arrow").remove(),oi='<div class="'+tt+' tooltipster-arrow" style="'+k+'">'+ri+'<span style="border-color:'+gt+';"></span></div>',f.append(oi)),f.css({top:p+"px",left:s+"px"}),kt!==u&&(e.options.position=kt)}}},n.fn[e]=function(t){var i,r,o;return typeof t=="string"?(i=this,r=arguments[1],i.data("plugin_tooltipster")==u&&(o=i.find("*"),i=n(),o.each(function(){n(this).data("plugin_tooltipster")!==u&&i.push(n(this))})),i.each(function(){switch(t.toLowerCase()){case"show":n(this).data("plugin_tooltipster").showTooltip();break;case"hide":n(this).data("plugin_tooltipster").hideTooltip();break;case"disable":n(this).addClass("tooltipster-disable");break;case"enable":n(this).removeClass("tooltipster-disable");break;case"destroy":n(this).data("plugin_tooltipster").hideTooltip(),n(this).data("plugin_tooltipster","").attr("title",i.data("tooltipsterContent")).data("tooltipsterContent","").data("plugin_tooltipster","").off("mouseenter.tooltipster mouseleave.tooltipster click.tooltipster");break;case"update":n(this).data("tooltipsterContent",r);break;case"reposition":n(this).data("plugin_tooltipster").positionTooltip()}}),this):this.each(function(){var i,r;n.data(this,"plugin_"+e)||n.data(this,"plugin_"+e,new h(this,t)),i=n(this).data("plugin_tooltipster").options,(i.iconDesktop==!0&&!f()||i.iconTouch==!0&&f())&&(r=n(this).data("plugin_tooltipster"),n(this).next().data("plugin_tooltipster",r))})},f()&&t.addEventListener("orientationchange",function(){n(".tooltipster-base").length>0&&n(".tooltipster-base").each(function(){var t=n(this).data("origin");t.data("plugin_tooltipster").hideTooltip()})},!1);n(t).on("resize.tooltipster",function(){var t=n(".tooltipster-base").data("origin");t!==null&&t!==u&&t.tooltipster("reposition")})}(jQuery,window,document),function(n){typeof define=="function"&&define.amd?define(["jquery"],n):n(jQuery)}(function(n){function u(n){return n}function f(n){return decodeURIComponent(n.replace(r," "))}function i(n){n.indexOf('"')===0&&(n=n.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return t.json?JSON.parse(n):n}catch(i){}}var r=/\+/g,t=n.cookie=function(r,e,o){var l,h,s,y;if(e!==undefined)return o=n.extend({},t.defaults,o),typeof o.expires=="number"&&(l=o.expires,h=o.expires=new Date,h.setDate(h.getDate()+l)),e=t.json?JSON.stringify(e):String(e),document.cookie=[t.raw?r:encodeURIComponent(r),"=",t.raw?e:encodeURIComponent(e),o.expires?"; expires="+o.expires.toUTCString():"",o.path?"; path="+o.path:"",o.domain?"; domain="+o.domain:"",o.secure?"; secure":""].join("");var a=t.raw?u:f,v=document.cookie.split("; "),c=r?undefined:{};for(s=0,y=v.length;s<y;s++){var p=v[s].split("="),w=a(p.shift()),b=a(p.join("="));if(r&&r===w){c=i(b);break}r||(c[w]=i(b))}return c};t.defaults={},n.removeCookie=function(t,i){return n.cookie(t)!==undefined?(n.cookie(t,"",n.extend({},i,{expires:-1})),!0):!1}}),$(document).ready(function(){$("#cookie_message .button").click(function(){$.cookie("cookie_message_accept","true",{expires:2036,path:"/"})}),($.cookie("cookie_message_accept")!="true"||$.cookie("cookie_message_accept")==null)&&$("#cookie_message").slideToggle()})