/* Minified Scripts Below This line */ /*! * FitVids 1.1 * Copyright 2013, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com * Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/ * Released under the WTFPL license - http://sam.zoy.org/wtfpl/ */ !function(t){"use strict";t.fn.fitVids=function(e){var i={customSelector:null,ignore:null};if(!document.getElementById("fit-vids-style")){var r=document.head||document.getElementsByTagName("head")[0],a=document.createElement("div");a.innerHTML='

x

',r.appendChild(a.childNodes[1])}return e&&t.extend(i,e),this.each(function(){var e=['iframe[src*="player.vimeo.com"]','iframe[src*="youtube.com"]','iframe[src*="youtube-nocookie.com"]','iframe[src*="kickstarter.com"][src*="video.html"]',"object","embed"];i.customSelector&&e.push(i.customSelector);var r=".fitvidsignore";i.ignore&&(r=r+", "+i.ignore);var a=t(this).find(e.join(","));(a=(a=a.not("object object")).not(r)).each(function(){var e=t(this);if(!(e.parents(r).length>0||"embed"===this.tagName.toLowerCase()&&e.parent("object").length||e.parent(".fluid-width-video-wrapper").length)){e.css("height")||e.css("width")||!isNaN(e.attr("height"))&&!isNaN(e.attr("width"))||(e.attr("height",9),e.attr("width",16));var i=("object"===this.tagName.toLowerCase()||e.attr("height")&&!isNaN(parseInt(e.attr("height"),10))?parseInt(e.attr("height"),10):e.height())/(isNaN(parseInt(e.attr("width"),10))?e.width():parseInt(e.attr("width"),10));if(!e.attr("name")){var a="fitvid"+t.fn.fitVids._count;e.attr("name",a),t.fn.fitVids._count++}e.wrap('
').parent(".fluid-width-video-wrapper").css("padding-top",100*i+"%"),e.removeAttr("height").removeAttr("width")}})})},t.fn.fitVids._count=0}(window.jQuery||window.Zepto); /*! * Webcom FitVids 1.0 * Helper jQuery plugin to better fit YouTube videos, with max-width and alignments. * Uses FitVids. */ !function(t){t.fn.webcomFitVids=function(){t(this).each(function(i){var a=t(this).attr("width"),n=t(this).parent().css("textAlign");t(this).parent().fitVids(),t(this).parent().wrap('
'),t(this).parent().parent().css("max-width",a+"px"),"center"==n&&t(this).parent().parent().css("margin","0 auto"),"right"==n&&t(this).parent().parent().css("margin","0 0 0 auto")})}}(jQuery); /* Original Plugin by Osvaldas Valutis, www.osvaldas.info http://osvaldas.info/drop-down-navigation-responsive-and-touch-friendly Available for use under the MIT License */ /** * jquery-doubleTapToGo plugin * Copyright 2017 DACHCOM.DIGITAL AG * @author Marco Rieser * @author Volker Andres * @author Stefan Hagspiel * @version 3.0.2 * @see https://github.com/dachcom-digital/jquery-doubletaptogo */ !function(t,e,s,i){"use strict";function n(e,s){this.element=e,this.settings=t.extend({},a,s),this._defaults=a,this._name=o,this.init()}var o="doubleTapToGo",a={automatic:!0,selectorClass:"doubletap",selectorChain:"li:has(ul)"};t.extend(n.prototype,{preventClick:!1,currentTap:t(),init:function(){t(this.element).on("touchstart","."+this.settings.selectorClass,this._tap.bind(this)).on("click","."+this.settings.selectorClass,this._click.bind(this)).on("remove",this._destroy.bind(this)),this._addSelectors()},_addSelectors:function(){this.settings.automatic===!0&&t(this.element).find(this.settings.selectorChain).addClass(this.settings.selectorClass)},_click:function(e){this.preventClick?e.preventDefault():this.currentTap=t()},_tap:function(e){var s=t(e.target).closest("li");return s.hasClass(this.settings.selectorClass)?s.get(0)===this.currentTap.get(0)?void(this.preventClick=!1):(this.preventClick=!0,this.currentTap=s,void e.stopPropagation()):void(this.preventClick=!1)},_destroy:function(){t(this.element).off()},reset:function(){this.currentTap=t()}}),t.fn[o]=function(e){var s,a=arguments;return e===i||"object"==typeof e?this.each(function(){t.data(this,o)||t.data(this,o,new n(this,e))}):"string"==typeof e&&"_"!==e[0]&&"init"!==e?(this.each(function(){var i=t.data(this,o),r="destroy"===e?"_destroy":e;i instanceof n&&"function"==typeof i[r]&&(s=i[r].apply(i,Array.prototype.slice.call(a,1))),"destroy"===e&&t.data(this,o,null)}),s!==i?s:this):void 0}}(jQuery,window,document); /*! webcomNavigation Version: 1.1 */ !function(a){a.webcomNavigation=function(t,e){var i={speed:200,type:"slide"},n=this;n.settings={};var s=a(t);a(t).find(".navigation-toggle"),a(t).find(".navigation-wrapper");n.init=function(){n.settings=a.extend({},i,e),s.hasClass("show-toggle")||s.find(".menu").doubleTapToGo(),s.addClass("js"),s.addClass("nav-closed"),setTimeout(function(){s.find(".navigation-wrapper").css("transition","transform 1s ease, visibility 1.25s ease 0s")},1e3),s.append('
'),s.find(".navigation-toggle").on("click",function(t){t.preventDefault(),n.toggleSlideOut()}),s.find(".overylay-stop-scroll").on("click",function(t){t.preventDefault(),n.closeSlideOut(s)}),s.find('li a[href="#"]:not(.expand)').on("click",function(t){t.preventDefault()}),s.find("li").each(function(t){var e=jQuery(this);e.parents('[role="navigation"]').find("button").first().is(":visible")?e.find(".expand").click(function(t){if(t.preventDefault(),a(this).next(".sub-menu").is(":visible"))return a(this).next(".sub-menu").first().slideUp(),void e.attr("aria-expanded","false");e.attr("aria-expanded","true"),a(this).next(".sub-menu").stop(!0,!0).slideDown(n.settings.speed)}):(e.hover(function(){e.find(".sub-menu").first().stop(!0,!0).slideDown(n.settings.speed)},function(){e.find(".sub-menu").first().stop(!0,!0).delay(200).slideUp(n.settings.speed)}),e.parent().on("focus.aria mouseenter.aria",'[aria-haspopup="true"]',function(t){a(t.currentTarget).attr("aria-expanded",!0)}),e.parent().on("blur.aria mouseleave.aria",'[aria-haspopup="true"]',function(t){a(t.currentTarget).attr("aria-expanded",!1)}))}),s.keyup(function(t){var e=t.keyCode||t.which;"9"==e&&a(this).removeClass("js"),"27"==e&&n.closeSlideOut(s)}),s.mouseenter(function(){a(this).addClass("js")})},n.getScrollBarWidth=function(){var t=a("
").css({visibility:"hidden",width:100,overflow:"scroll"}).appendTo("body"),e=a("
").css({width:"100%"}).appendTo(t).outerWidth();return t.remove(),100-e},n.toggleSlideOut=function(){var t=n.getScrollBarWidth();a("html").toggleClass("no-scroll"),s.toggleClass("nav-closed"),s.toggleClass("nav-opened"),s.find(".overylay-stop-scroll").fadeToggle(),a("html").hasClass("no-scroll")?a("html").css("margin-right",t):a("html").css("margin-right",0)},n.openSlideOut=function(t){var e=n.getScrollBarWidth();a("html").addClass("no-scroll"),t.attr("tabindex","1"),t.removeClass("nav-closed"),t.addClass("nav-opened"),t.find(".overylay-stop-scroll").stop(!0,!0).fadeIn(),a("html").hasClass("no-scroll")?a("html").css("margin-right",e):a("html").css("margin-right",0)},n.closeSlideOut=function(t){var e=n.getScrollBarWidth();a("html").removeClass("no-scroll"),t.attr("tabindex","-1"),t.addClass("nav-closed"),t.removeClass("nav-opened"),t.find(".overylay-stop-scroll").stop(!0,!0).fadeOut(),a("html").hasClass("no-scroll")?a("html").css("margin-right",e):a("html").css("margin-right",0)},n.init()},a.fn.webcomNavigation=function(e){return this.each(function(){if(null==a(this).data("webcomNavigation")){var t=new a.webcomNavigation(this,e);a(this).data("webcomNavigation",t)}})}}(jQuery); /*! Slick.js Version: 1.9.0 Author: Ken Wheeler Website: http://kenwheeler.github.io */ (function(i){"use strict";"function"==typeof define&&define.amd?define(["jquery"],i):"undefined"!=typeof exports?module.exports=i(require("jquery")):i(jQuery)})(function(i){"use strict";var e=window.Slick||{};e=function(){function e(e,o){var s,n=this;n.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:i(e),appendDots:i(e),arrows:!0,asNavFor:null,prevArrow:'',nextArrow:'',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(e,t){return i(''),l(window).resize(function(){n=!1,deviceWidth=l(window).width(),showOnDesktop=i.settings.showOnDesktop,showOnTablet=i.settings.showOnTablet,showOnMobile=i.settings.showOnMobile,widthTablet=i.settings.widthTablet,widthMobile=i.settings.widthMobile,showOnDesktop&&deviceWidth>widthTablet&&(n=!0),showOnTablet&&deviceWidth>=widthMobile&&deviceWidth<=widthTablet&&(n=!0),showOnMobile&&deviceWidthi.settings.scrollDistance?s.find(".scroll-to-top").fadeIn("fast"):s.find(".scroll-to-top").fadeOut("fast")}),s.on("click",".scroll-to-top",function(t){t.preventDefault(),l("html, body").animate({scrollTop:0},i.settings.scrollSpeed)})},i.init()},l.fn.webcomScrollToTop=function(o){return this.each(function(){if(null==l(this).data("webcomScrollToTop")){var t=new l.webcomScrollToTop(this,o);l(this).data("webcomScrollToTop",t)}})}}(jQuery); /* Parallax Version: 2.0 Developer: Jonathan Chute Year: 2019 */ !function(t){t.fn.parallax=function(e){let o=t(this);if(void 0===o[0])return;let n=t.extend({offset:0,speed:.4,reverse:!1,image:"",posX:function(t){let e=t.css("background-position");return void 0===e||null==e||"top"==e?t.css("background-position-x"):e.split(" ")[0]}(o)},e);function r(e){let o={top:t(window).scrollTop(),left:t(window).scrollLeft()};if(o.bottom=o.top+window.innerWidth,o.right=o.left+window.innerHeight,1==n.speed&&!n.reverse)return e.css("background-attachment","fixed"),!0;if(0==n.speed)return e.css("background-attachment","scroll"),!0;if(!function(t,e){let o={top:t.offset().top,left:t.offset().left};o.bottom=o.top+t.outerWidth(),o.right=o.left+t.outerHeight();let n=o.bottom>e.top,r=o.right>e.left,i=o.top