jQuery(document).ready(function($){$(".orbitalMenu-fixed").on("click",function(a){a.preventDefault(),$(".site-navbar, .site-overlay, body, html, .orbitalMenu-fixed").toggleClass("active")})});var orbitalMenu=orbitalMenu||{};function orbitalMenuDomReady(a){if("function"==typeof a){if("interactive"===document.readyState||"complete"===document.readyState)return a();document.addEventListener("DOMContentLoaded",a,!1)}}function orbitalMenuToggleAttribute(a,c,b,d){a.classList.contains("close-search-toggle")||(void 0===b&&(b=!0),void 0===d&&(d=!1),a.getAttribute(c)!==b?a.setAttribute(c,b):a.setAttribute(c,d))}function orbitalMenuMenuToggle(a,f){var d,e,c,b,g,h=[],i=[];a&&((b=(c=a.closest(".menu-wrapper")).querySelectorAll(".menu-item")).forEach(function(a,b){h[b]={x:a.offsetLeft,y:a.offsetTop}}),d=a.parentElement.offsetHeight,a.classList.add("toggling-target"),a.classList.toggle("active"),b.forEach(function(a,b){i[b]={x:a.offsetLeft,y:a.offsetTop}}),e=a.parentElement.offsetHeight,a.classList.toggle("active"),c.classList.add("is-toggling"),a.classList.toggle("active"),b.forEach(function(c,e){var b=h[e];0===b.y&&c.parentElement===a&&(b.y=d),c.style.transform="translate("+b.x+"px, "+b.y+"px)"}),requestAnimationFrame(function(){requestAnimationFrame(function(){c.classList.add("is-animating"),b.forEach(function(c,d){var b=i[d];0===b.y&&c.parentElement===a&&(b.y=e),void 0!==f&&(c.style.transitionDuration=f+"ms"),c.style.transform="translate("+b.x+"px, "+b.y+"px)"}),void 0!==f&&(a.style.transitionDuration=f+"ms")}),g=function(){c.classList.remove("is-animating"),c.classList.remove("is-toggling"),a.classList.remove("toggling-target"),b.forEach(function(a){a.style.transform="",a.style.transitionDuration=""}),a.style.transitionDuration="",a.removeEventListener("transitionend",g)},a.addEventListener("transitionend",g)}))}function orbitalMenuFindParents(a,d){var b=[];function c(e){var a=e.parentNode;a instanceof HTMLElement&&(a.matches(d)&&b.push(a),c(a))}return c(a),b}orbitalMenu.scrolled=0,Element.prototype.closest||(Element.prototype.closest=function(b){var a=this;do{if(a.matches(b))return a;a=a.parentElement||a.parentNode}while(null!==a&&1===a.nodeType)return null}),window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=function(c,b){var a,d=this.length;for(a=0,b=b||window;a=0&&b.item(a)!==this;);return a> -1}),orbitalMenu.touchEnabled={init:function(){var a;("ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch||(a="(-webkit-touch-enabled),(-moz-touch-enabled),(-o-touch-enabled),(-ms-heartz)",window.matchMedia&&window.matchMedia(a).matches))&&document.body.classList.add("touch-enabled")}},orbitalMenu.coverModals={init:function(){document.querySelector(".cover-modal")&&(this.onToggle(),this.outsideUntoggle(),this.closeOnEscape(),this.hideAndShowModals())},onToggle:function(){document.querySelectorAll(".cover-modal").forEach(function(a){a.addEventListener("toggled",function(b){var c=b.target,a=document.body;c.classList.contains("active")?a.classList.add("showing-modal"):(a.classList.remove("showing-modal"),a.classList.add("hiding-modal"),setTimeout(function(){a.classList.remove("hiding-modal")},500))})})},outsideUntoggle:function(){document.addEventListener("click",(function(a){var c=a.target,b=document.querySelector(".cover-modal.active");"a"===a.target.tagName.toLowerCase()&&a.target.hash.includes("#")&&null!==b&&(this.untoggleModal(b),setTimeout(function(){document.getElementById(a.target.hash.slice(1)).scrollIntoView()},550)),c===b&&this.untoggleModal(c)}).bind(this))},closeOnEscape:function(){document.addEventListener("keydown",(function(a){27===a.keyCode&&(a.preventDefault(),document.querySelectorAll(".cover-modal.active").forEach((function(a){this.untoggleModal(a)}).bind(this)))}).bind(this))},hideAndShowModals:function(){var a=document,c=window,b=a.querySelectorAll(".cover-modal"),d=a.documentElement.style,e=a.querySelector("#wpadminbar");function f(d){var a,b=c.pageYOffset;return e?(a=b+e.getBoundingClientRect().height,d?-a:a):0===b?0:-b}function g(){return{"overflow-y":c.innerHeight>a.documentElement.getBoundingClientRect().height?"hidden":"scroll",position:"fixed",width:"100%",top:f(!0)+"px",left:0}}b.forEach(function(b){b.addEventListener("toggle-target-before-inactive",function(j){var i=g(),h=c.pageYOffset,k=Math.abs(f())-h+"px",l=c.matchMedia("(max-width: 600px)");j.target===b&&(Object.keys(i).forEach(function(a){d.setProperty(a,i[a])}),c.orbitalMenu.scrolled=parseInt(i.top,10),e&&(a.body.style.setProperty("padding-top",k),l.matches&&(h>=f()?b.style.setProperty("top",0):b.style.setProperty("top",f()-h+"px"))),b.classList.add("show-modal"))}),b.addEventListener("toggle-target-after-inactive",function(h){h.target===b&&setTimeout(function(){var h=orbitalMenu.toggles.clickedEl;b.classList.remove("show-modal"),Object.keys(g()).forEach(function(a){d.removeProperty(a)}),e&&(a.body.style.removeProperty("padding-top"),b.style.removeProperty("top")),!1!==h&&(h.focus(),h=!1),c.scrollTo(0,Math.abs(c.orbitalMenu.scrolled+f())),c.orbitalMenu.scrolled=0},500)})})},untoggleModal:function(a){var c,b=!1;a.dataset.modalTargetString&&(c=a.dataset.modalTargetString,b=document.querySelector('*[data-toggle-target="'+c+'"]')),b?b.click():a.classList.remove("active")}},orbitalMenu.intrinsicRatioVideos={init:function(){this.makeFit(),window.addEventListener("resize",(function(){this.makeFit()}).bind(this))},makeFit:function(){document.querySelectorAll("iframe, object, video").forEach(function(a){var c,b,d=a.parentNode;if(a.classList.contains("intrinsic-ignore")||a.parentNode.classList.contains("intrinsic-ignore"))return!0;a.dataset.origwidth||(a.setAttribute("data-origwidth",a.width),a.setAttribute("data-origheight",a.height)),c=(b=d.offsetWidth)/a.dataset.origwidth,b&&(a.style.width=b+"px",a.style.height=a.dataset.origheight*c+"px")})}},orbitalMenu.modalMenu={init:function(){this.expandLevel(),this.keepFocusInModal()},expandLevel:function(){document.querySelectorAll(".modal-menu").forEach(function(b){var a=b.querySelector(".current-menu-item");a&&orbitalMenuFindParents(a,"li").forEach(function(b){var a=b.querySelector(".sub-menu-toggle");a&&orbitalMenu.toggles.performToggle(a,!0)})})},keepFocusInModal:function(){var a=document;a.addEventListener("keydown",function(c){var d,e,b,k,l,f,g,h,i,j,m=orbitalMenu.toggles.clickedEl;m&&a.body.classList.contains("showing-modal")&&(d=m.dataset.toggleTarget,e="input, a, button",b=a.querySelector(d).querySelectorAll(e),b=Array.prototype.slice.call(b),".menu-modal"===d&&(k=(k=window.matchMedia("(min-width: 1000px)").matches)?".expanded-menu":".mobile-menu",(b=b.filter(function(a){return null!==a.closest(k)&&null!==a.offsetParent})).unshift(a.querySelector(".close-nav-toggle")),(l=a.querySelector(".menu-bottom > nav"))&&l.querySelectorAll(e).forEach(function(a){b.push(a)})),g=b[b.length-1],h=b[0],f=a.activeElement,i=9===c.keyCode,j=c.shiftKey,!j&&i&&g===f&&(c.preventDefault(),h.focus()),j&&i&&h===f&&(c.preventDefault(),g.focus()))})}},orbitalMenu.primaryMenu={init:function(){this.focusMenuWithChildren()},focusMenuWithChildren:function(){var b,a,c,d=document.querySelector(".primary-menu-wrapper");if(!d)return!1;for(a=0,c=(b=d.getElementsByTagName("a")).length;ac||d&&ae||f&&a