!function(){var t=navigator.userAgent.toLowerCase().indexOf("webkit")>-1,e=navigator.userAgent.toLowerCase().indexOf("opera")>-1,i=navigator.userAgent.toLowerCase().indexOf("msie")>-1;(t||e||i)&&document.getElementById&&window.addEventListener&&window.addEventListener("hashchange",function(){var t,e=location.hash.substring(1);/^[A-z0-9_-]+$/.test(e)&&(t=document.getElementById(e))&&(/^(?:a|select|input|button|textarea)$/i.test(t.tagName)||(t.tabIndex=-1),t.focus())},!1)}(),function(t){t.slidebars=function(e){function i(){!l.disableOver||"number"==typeof l.disableOver&&l.disableOver>=k?(y=!0,t("html").addClass("sb-init"),l.hideControlClasses&&x.removeClass("sb-hide"),s()):"number"==typeof l.disableOver&&l.disableOver<k&&(y=!1,t("html").removeClass("sb-init"),l.hideControlClasses&&x.addClass("sb-hide"),m.css("minHeight",""),(p||C)&&o())}function s(){m.css("minHeight","");var e=parseInt(m.css("height"),10);parseInt(t("html").css("height"),10)>e&&m.css("minHeight",t("html").css("height")),b&&b.hasClass("sb-width-custom")&&b.css("width",b.attr("data-sb-width")),w&&w.hasClass("sb-width-custom")&&w.css("width",w.attr("data-sb-width")),b&&(b.hasClass("sb-style-push")||b.hasClass("sb-style-overlay"))&&b.css("marginLeft","-"+b.css("width")),w&&(w.hasClass("sb-style-push")||w.hasClass("sb-style-overlay"))&&w.css("marginRight","-"+w.css("width")),l.scrollLock&&t("html").addClass("sb-scroll-lock")}function n(t,e,i){function n(){a.removeAttr("style"),s()}var a;if(a=t.hasClass("sb-style-push")?m.add(t).add(T):t.hasClass("sb-style-overlay")?t:m.add(T),"translate"===O)"0px"===e?n():a.css("transform","translate( "+e+" )");else if("side"===O)"0px"===e?n():("-"===e[0]&&(e=e.substr(1)),a.css(i,"0px"),setTimeout(function(){a.css(i,e)},1));else if("jQuery"===O){"-"===e[0]&&(e=e.substr(1));var o={};o[i]=e,a.stop().animate(o,400)}}function a(e){function i(){y&&"left"===e&&b?(t("html").addClass("sb-active sb-active-left"),b.addClass("sb-active"),n(b,b.css("width"),"left"),setTimeout(function(){p=!0},400)):y&&"right"===e&&w&&(t("html").addClass("sb-active sb-active-right"),w.addClass("sb-active"),n(w,"-"+w.css("width"),"right"),setTimeout(function(){C=!0},400))}"left"===e&&b&&C||"right"===e&&w&&p?(o(),setTimeout(i,400)):i()}function o(e,i){(p||C)&&(p&&(n(b,"0px","left"),p=!1),C&&(n(w,"0px","right"),C=!1),setTimeout(function(){t("html").removeClass("sb-active sb-active-left sb-active-right"),b&&b.removeClass("sb-active"),w&&w.removeClass("sb-active"),void 0!==e&&(void 0===typeof i&&(i="_self"),window.open(e,i))},400))}function r(t){"left"===t&&b&&(p?o():a("left")),"right"===t&&w&&(C?o():a("right"))}function d(t,e){t.stopPropagation(),t.preventDefault(),"touchend"===t.type&&e.off("click")}var l=t.extend({siteClose:!0,scrollLock:!1,disableOver:!1,hideControlClasses:!1},e),c=document.createElement("div").style,h=!1,f=!1;(""===c.MozTransition||""===c.WebkitTransition||""===c.OTransition||""===c.transition)&&(h=!0),(""===c.MozTransform||""===c.WebkitTransform||""===c.OTransform||""===c.transform)&&(f=!0);var u=navigator.userAgent,v=!1,g=!1;/Android/.test(u)?v=u.substr(u.indexOf("Android")+8,3):/(iPhone|iPod|iPad)/.test(u)&&(g=u.substr(u.indexOf("OS ")+3,3).replace("_",".")),(v&&3>v||g&&5>g)&&t("html").addClass("sb-static");var m=t("#sb-site, .sb-site-container");if(t(".sb-left").length)var b=t(".sb-left"),p=!1;if(t(".sb-right").length)var w=t(".sb-right"),C=!1;var y=!1,k=t(window).width(),x=t(".sb-toggle-left, .sb-toggle-right, .sb-open-left, .sb-open-right, .sb-close"),T=t(".sb-slide");i(),t(window).resize(function(){var e=t(window).width();k!==e&&(k=e,i(),p&&a("left"),C&&a("right"))});var O;h&&f?(O="translate",v&&4.4>v&&(O="side")):O="jQuery",this.slidebars={open:a,close:o,toggle:r,init:function(){return y},active:function(t){return"left"===t&&b?p:"right"===t&&w?C:void 0},destroy:function(t){"left"===t&&b&&(p&&o(),setTimeout(function(){b.remove(),b=!1},400)),"right"===t&&w&&(C&&o(),setTimeout(function(){w.remove(),w=!1},400))}},t(".sb-toggle-left").on("touchend click",function(e){d(e,t(this)),r("left")}),t(".sb-toggle-right").on("touchend click",function(e){d(e,t(this)),r("right")}),t(".sb-open-left").on("touchend click",function(e){d(e,t(this)),a("left")}),t(".sb-open-right").on("touchend click",function(e){d(e,t(this)),a("right")}),t(".sb-close").on("touchend click",function(e){if(t(this).is("a")||t(this).children().is("a")){if("click"===e.type){e.stopPropagation(),e.preventDefault();var i=t(this).is("a")?t(this):t(this).find("a"),s=i.attr("href"),n=i.attr("target")?i.attr("target"):"_self";o(s,n)}}else d(e,t(this)),o()}),m.on("touchend click",function(e){l.siteClose&&(p||C)&&(d(e,t(this)),o())})}}(jQuery),function(t){"use strict";t.fn.fitVids=function(e){var i={customSelector:null,ignore:null};if(!document.getElementById("fit-vids-style")){var s=document.head||document.getElementsByTagName("head")[0],n=document.createElement("div");n.innerHTML='<p>x</p><style id="fit-vids-style">.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}</style>',s.appendChild(n.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 s=".fitvidsignore";i.ignore&&(s=s+", "+i.ignore);var n=t(this).find(e.join(","));(n=(n=n.not("object object")).not(s)).each(function(){var e=t(this);if(!(e.parents(s).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 n="fitvid"+t.fn.fitVids._count;e.attr("name",n),t.fn.fitVids._count++}e.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*i+"%"),e.removeAttr("height").removeAttr("width")}})})},t.fn.fitVids._count=0}(window.jQuery||window.Zepto),jQuery(document).ready(function($){function t(){$(".site-header-space").outerHeight($(".site-header").outerHeight()).css("min-height",$(".site-header").outerHeight()+"px")}0!=$(".site.-menu-off-canvas").length&&$.slidebars(),t();var e=setInterval(t,400);if(setTimeout(function(){clearInterval(e)},4e3),$(window).resize(function(){t()}),0!=$(".site.-header-desktop-overlay").length){var i=$(".site-header"),s=$(".site-header").data("seed-scroll"),n=!1;s||(s=1),$(window).on("scroll",function(){var t=Math.round($(window).scrollTop());t>s&&!n&&(i.removeClass("not-active").addClass("active"),n=!0),t<s&&n&&(i.addClass("not-active"),setTimeout(function(){i.removeClass("active").removeClass("not-active")},200),n=!1)})}$(".site-mobile-navigation .menu-item-has-children").append('<i class="si-caret-down"></i>'),$(".site-mobile-navigation .menu-item-has-children > i").click(function(){$(this).parent().toggleClass("active")}),$(".site-toggle").click(function(){$(this).toggleClass("active"),$(".site-mobile-navigation.-dropdown").toggleClass("active")}),$(".site-mobile-navigation a").click(function(){$(".site-toggle, .site-mobile-navigation.-dropdown").removeClass("active")}),$(".container, .entry-content").fitVids(),0!=$(".seed-fixed-3").length&&($(".seed-fixed-3").fadeOut(),$(window).on("scroll",function(){Math.round($(window).scrollTop())>400?$(".seed-fixed-3").fadeIn():$(".seed-fixed-3").fadeOut()}))});