text: !function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=77)}({239:function(e,t,n){"use strict";n.r(t);var o=n(71),r=n.n(o),i=n(72),a=n.n(i);function s(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var o=Array(e),r=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,r++)o[r]=i[a];return o}var c=function(e,t){return void 0===t&&(t="js-reframe"),("string"==typeof e?s(document.querySelectorAll(e)):"length"in e?s(e):[e]).forEach((function(e){var n,o;if(!(-1!==e.className.split(" ").indexOf(t)||e.style.width.indexOf("%")>-1)){var r=e.getAttribute("height")||e.offsetHeight,i=e.getAttribute("width")||e.offsetWidth,a=("string"==typeof r?parseInt(r):r)/("string"==typeof i?parseInt(i):i)*100,s=document.createElement("div");s.className=t;var c=s.style;c.position="relative",c.width="100%",c.paddingTop=a+"%";var l=e.style;l.position="absolute",l.width="100%",l.height="100%",l.left="0",l.top="0",null===(n=e.parentNode)||void 0===n||n.insertBefore(s,e),null===(o=e.parentNode)||void 0===o||o.removeChild(e),s.appendChild(e)}}))};function l(e){return void 0===window.air_light_screenReaderText||void 0===window.air_light_screenReaderText[e]?(console.error("Missing translation for ".concat(e)),""):window.air_light_screenReaderText[e]}var d=n(73),u=n.n(d);var f,p,g;n(74),n(82),n(83);document.body.classList.remove("no-js"),document.body.classList.add("js"),c(".wp-has-aspect-ratio iframe"),function(){var e=[window.location.host];void 0!==window.air_light_externalLinkDomains&&(e=e.concat(window.air_light_externalLinkDomains));var t=document.querySelectorAll("a");u()(t).filter((function(t){return function(e,t){if(!e.length)return!1;var n;if(["#","tel:","mailto:","/"].some((function(t){return new RegExp("^".concat(t),"g").test(e)})))return!1;try{n=new URL(e)}catch(t){return console.log("Invalid URL: ".concat(e)),!1}return!t.some((function(e){return n.host===e}))}(t.href,e)})).forEach((function(e){var t="_blank"===e.target?"".concat(l("external_link")," ").concat(e.textContent,", ").concat(l("target_blank")):"".concat(l("external_link")," ").concat(e.textContent);e.setAttribute("aria-label",t),e.classList.add("is-external-link")}))}(),(new a.a).update(),f=jQuery,p=f(".back-to-top").offset(),g=f(".block, .site-footer"),f(document).scroll((function(){g.each((function(e){var t=f(this).offset().top-f(window).scrollTop();if(t<p.top&&t+f(this).height()>0)return f(".back-to-top").removeClass("has-light-bg has-dark-bg").addClass(f(this).hasClass("has-light-bg")?"has-light-bg":"has-dark-bg"),!1}))})),f.fn.isInViewport=function(){var e=f(this).offset().top,t=e+f(this).outerHeight(),n=f(window).scrollTop(),o=n+f(window).height();return t>n&&e<o},f(window).on("resize scroll",(function(){f(".block, .site-footer").each((function(){f(this).isInViewport()&&f(".back-to-top").removeClass("has-light-bg has-dark-bg").addClass(f(this).hasClass("has-light-bg")?"has-light-bg":"has-dark-bg")}))})),f(window).scroll((function(){var e=".back-to-top";f(this).scrollTop()>300?f(e).addClass("is-visible"):f(e).removeClass("is-visible"),f(this).scrollTop()>1200?f(e).addClass("fade-out"):f(e).removeClass("fade-out")})),f((function(){})),document.addEventListener("DOMContentLoaded",(function(){for(var e=new r.a({ease:"easeInQuad"},{easeInQuad:function(e,t,n,o){return n*(e/=o)*e+t},easeOutQuad:function(e,t,n,o){return-n*(e/=o)*(e-2)+t}}),t=document.getElementsByClassName("js-trigger"),n=0;n<t.length;n++)e.registerTrigger(t[n])}))},37:function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}},71:function(e,t,n){"use strict";var o=function(){var e={tolerance:0,duration:800,easing:"easeOutQuart",container:window,callback:function(){}};function t(e,t,n,o){return e/=o,-n*(--e*e*e*e-1)+t}function n(e,t){var n={};return Object.keys(e).forEach((function(t){n[t]=e[t]})),Object.keys(t).forEach((function(e){n[e]=t[e]})),n}function o(e){return e instanceof HTMLElement?e.scrollTop:e.pageYOffset}function r(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.options=n(e,o),this.easeFunctions=n({easeOutQuart:t},r)}return r.prototype.registerTrigger=function(e,t){var o=this;if(e){var r=e.getAttribute("href")||e.getAttribute("data-target"),i=r&&"#"!==r?document.getElementById(r.substring(1)):document.body,a=n(this.options,function(e,t){var n={};return Object.keys(t).forEach((function(t){var o=e.getAttribute("data-mt-".concat(t.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()}))));o&&(n[t]=isNaN(o)?o:parseInt(o,10))})),n}(e,this.options));"function"==typeof t&&(a.callback=t);var s=function(e){e.preventDefault(),o.move(i,a)};return e.addEventListener("click",s,!1),function(){return e.removeEventListener("click",s,!1)}}},r.prototype.move=function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(0===e||e){r=n(this.options,r);var i,a="number"==typeof e?e:e.getBoundingClientRect().top,s=o(r.container),c=null;a-=r.tolerance;var l=function n(l){var d=o(t.options.container);c||(c=l-1);var u=l-c;if(i&&(a>0&&i>d||a<0&&i<d))return r.callback(e);i=d;var f=t.easeFunctions[r.easing](u,s,a,r.duration);r.container.scroll(0,f),u<r.duration?window.requestAnimationFrame(n):(r.container.scroll(0,a+s),r.callback(e))};window.requestAnimationFrame(l)}},r.prototype.addEaseFunction=function(e,t){this.easeFunctions[e]=t},r}();e.exports=o},72:function(e,t,n){e.exports=function(){"use strict";function e(){return(e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}var t="undefined"!=typeof window,n=t&&!("onscroll"in window)||"undefined"!=typeof navigator&&/(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent),o=t&&"IntersectionObserver"in window,r=t&&"classList"in document.createElement("p"),i=t&&window.devicePixelRatio>1,a={elements_selector:".lazy",container:n||t?document:null,threshold:300,thresholds:null,data_src:"src",data_srcset:"srcset",data_sizes:"sizes",data_bg:"bg",data_bg_hidpi:"bg-hidpi",data_bg_multi:"bg-multi",data_bg_multi_hidpi:"bg-multi-hidpi",data_poster:"poster",class_applied:"applied",class_loading:"loading",class_loaded:"loaded",class_error:"error",class_entered:"entered",class_exited:"exited",unobserve_completed:!0,unobserve_entered:!1,cancel_on_exit:!0,callback_enter:null,callback_exit:null,callback_applied:null,callback_loading:null,callback_loaded:null,callback_error:null,callback_finish:null,callback_cancel:null,use_native:!1},s=function(t){return e({},a,t)},c=function(e,t){var n,o="LazyLoad::Initialized",r=new e(t);try{n=new CustomEvent(o,{detail:{instance:r}})}catch(e){(n=document.createEvent("CustomEvent")).initCustomEvent(o,!1,!1,{instance:r})}window.dispatchEvent(n)},l="loading",d="loaded",u="applied",f="error",p="native",g="data-",h="ll-status",v=function(e,t){return e.getAttribute(g+t)},m=function(e){return v(e,h)},w=function(e,t){return function(e,t,n){var o="data-ll-status";null!==n?e.setAttribute(o,n):e.removeAttribute(o)}(e,0,t)},b=function(e){return w(e,null)},y=function(e){return null===m(e)},x=function(e){return m(e)===p},_=[l,d,u,f],E=function(e,t,n,o){e&&(void 0===o?void 0===n?e(t):e(t,n):e(t,n,o))},k=function(e,t){r?e.classList.add(t):e.className+=(e.className?" ":"")+t},C=function(e,t){r?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\s+)"+t+"(\\s+|$)")," ").replace(/^\s+/,"").replace(/\s+$/,"")},L=function(e){return e.llTempImage},N=function(e,t){if(t){var n=t._observer;n&&n.unobserve(e)}},A=function(e,t){e&&(e.loadingCount+=t)},O=function(e,t){e&&(e.toLoadCount=t)},T=function(e){for(var t,n=[],o=0;t=e.children[o];o+=1)"SOURCE"===t.tagName&&n.push(t);return n},S=function(e,t,n){n&&e.setAttribute(t,n)},I=function(e,t){e.removeAttribute(t)},D=function(e){return!!e.llOriginalAttrs},R=function(e){if(!D(e)){var t={};t.src=e.getAttribute("src"),t.srcset=e.getAttribute("srcset"),t.sizes=e.getAttribute("sizes"),e.llOriginalAttrs=t}},M=function(e){if(D(e)){var t=e.llOriginalAttrs;S(e,"src",t.src),S(e,"srcset",t.srcset),S(e,"sizes",t.sizes)}},j=function(e,t){S(e,"sizes",v(e,t.data_sizes)),S(e,"srcset",v(e,t.data_srcset)),S(e,"src",v(e,t.data_src))},P=function(e){I(e,"src"),I(e,"srcset"),I(e,"sizes")},z=function(e,t){var n=e.parentNode;n&&"PICTURE"===n.tagName&&T(n).forEach(t)},B={IMG:function(e,t){z(e,(function(e){R(e),j(e,t)})),R(e),j(e,t)},IFRAME:function(e,t){S(e,"src",v(e,t.data_src))},VIDEO:function(e,t){!function(e,n){T(e).forEach((function(e){S(e,"src",v(e,t.data_src))}))}(e),S(e,"poster",v(e,t.data_poster)),S(e,"src",v(e,t.data_src)),e.load()}},F=function(e,t){var n=B[e.tagName];n&&n(e,t)},q=function(e,t,n){A(n,1),k(e,t.class_loading),w(e,l),E(t.callback_loading,e,n)},K=["IMG","IFRAME","VIDEO"],Q=function(e,t){!t||function(e){return e.loadingCount>0}(t)||function(e){return e.toLoadCount>0}(t)||E(e.callback_finish,t)},W=function(e,t,n){e.addEventListener(t,n),e.llEvLisnrs[t]=n},G=function(e,t,n){e.removeEventListener(t,n)},U=function(e){return!!e.llEvLisnrs},V=function(e){if(U(e)){var t=e.llEvLisnrs;for(var n in t){var o=t[n];G(e,n,o)}delete e.llEvLisnrs}},H=function(e,t,n){!function(e){delete e.llTempImage}(e),A(n,-1),function(e){e&&(e.toLoadCount-=1)}(n),C(e,t.class_loading),t.unobserve_completed&&N(e,n)},Y=function(e,t,n){var o=L(e)||e;U(o)||function(e,t,n){U(e)||(e.llEvLisnrs={});var o="VIDEO"===e.tagName?"loadeddata":"load";W(e,o,t),W(e,"error",n)}(o,(function(r){!function(e,t,n,o){var r=x(t);H(t,n,o),k(t,n.class_loaded),w(t,d),E(n.callback_loaded,t,o),r||Q(n,o)}(0,e,t,n),V(o)}),(function(r){!function(e,t,n,o){var r=x(t);H(t,n,o),k(t,n.class_error),w(t,f),E(n.callback_error,t,o),r||Q(n,o)}(0,e,t,n),V(o)}))},$=function(e,t,n){!function(e){e.llTempImage=document.createElement("IMG")}(e),Y(e,t,n),function(e,t,n){var o=v(e,t.data_bg),r=v(e,t.data_bg_hidpi),a=i&&r?r:o;a&&(e.style.backgroundImage='url("'.concat(a,'")'),L(e).setAttribute("src",a),q(e,t,n))}(e,t,n),function(e,t,n){var o=v(e,t.data_bg_multi),r=v(e,t.data_bg_multi_hidpi),a=i&&r?r:o;a&&(e.style.backgroundImage=a,function(e,t,n){k(e,t.class_applied),w(e,u),t.unobserve_completed&&N(e,t),E(t.callback_applied,e,n)}(e,t,n))}(e,t,n)},X=function(e,t,n){!function(e){return K.indexOf(e.tagName)>-1}(e)?$(e,t,n):function(e,t,n){Y(e,t,n),F(e,t),q(e,t,n)}(e,t,n)},Z=["IMG","IFRAME"],J=function(e){return e.use_native&&"loading"in HTMLImageElement.prototype},ee=function(e,t,n){e.forEach((function(e){return function(e){return e.isIntersecting||e.intersectionRatio>0}(e)?function(e,t,n,o){w(e,"entered"),k(e,n.class_entered),C(e,n.class_exited),function(e,t,n){t.unobserve_entered&&N(e,n)}(e,n,o),E(n.callback_enter,e,t,o),function(e){return _.indexOf(m(e))>=0}(e)||X(e,n,o)}(e.target,e,t,n):function(e,t,n,o){y(e)||(k(e,n.class_exited),function(e,t,n,o){n.cancel_on_exit&&function(e){return m(e)===l}(e)&&"IMG"===e.tagName&&(V(e),function(e){z(e,(function(e){P(e)})),P(e)}(e),function(e){z(e,(function(e){M(e)})),M(e)}(e),C(e,n.class_loading),A(o,-1),b(e),E(n.callback_cancel,e,t,o))}(e,t,n,o),E(n.callback_exit,e,t,o))}(e.target,e,t,n)}))},te=function(e){return Array.prototype.slice.call(e)},ne=function(e){return e.container.querySelectorAll(e.elements_selector)},oe=function(e){return function(e){return m(e)===f}(e)},re=function(e,t){return function(e){return te(e).filter(y)}(e||ne(t))},ie=function(e,n){var r=s(e);this._settings=r,this.loadingCount=0,function(e,t){o&&!J(e)&&(t._observer=new IntersectionObserver((function(n){ee(n,e,t)}),function(e){return{root:e.container===document?null:e.container,rootMargin:e.thresholds||e.threshold+"px"}}(e)))}(r,this),function(e,n){t&&window.addEventListener("online",(function(){!function(e,t){var n;(n=ne(e),te(n).filter(oe)).forEach((function(t){C(t,e.class_error),b(t)})),t.update()}(e,n)}))}(r,this),this.update(n)};return ie.prototype={update:function(e){var t,r,i=this._settings,a=re(e,i);O(this,a.length),!n&&o?J(i)?function(e,t,n){e.forEach((function(e){-1!==Z.indexOf(e.tagName)&&(e.setAttribute("loading","lazy"),function(e,t,n){Y(e,t,n),F(e,t),w(e,p)}(e,t,n))})),O(n,0)}(a,i,this):(r=a,function(e){e.disconnect()}(t=this._observer),function(e,t){t.forEach((function(t){e.observe(t)}))}(t,r)):this.loadAll(a)},destroy:function(){this._observer&&this._observer.disconnect(),ne(this._settings).forEach((function(e){delete e.llOriginalAttrs})),delete this._observer,delete this._settings,delete this.loadingCount,delete this.toLoadCount},loadAll:function(e){var t=this,n=this._settings;re(e,n).forEach((function(e){N(e,t),X(e,n,t)}))}},ie.load=function(e,t){var n=s(t);X(e,n)},ie.resetStatus=function(e){b(e)},t&&function(e,t){if(t)if(t.length)for(var n,o=0;n=t[o];o+=1)c(e,n);else c(e,t)}(ie,window.lazyLoadOptions),ie}()},73:function(e,t,n){var o=n(78),r=n(79),i=n(80),a=n(81);e.exports=function(e){return o(e)||r(e)||i(e)||a()}},74:function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},77:function(e,t,n){e.exports=n(239)},78:function(e,t,n){var o=n(37);e.exports=function(e){if(Array.isArray(e))return o(e)}},79:function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},80:function(e,t,n){var o=n(37);e.exports=function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}},81:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},82:function(e,t,n){var o;o=function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={exports:{},id:o,loaded:!1};return e[o].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t){"use strict";e.exports=function(){if("undefined"==typeof document||"undefined"==typeof window)return{ask:function(){return"initial"},element:function(){return null},ignoreKeys:function(){},specificKeys:function(){},registerOnChange:function(){},unRegisterOnChange:function(){}};var e=document.documentElement,t=null,n="initial",o=n,r=Date.now(),i="false",a=["button","input","select","textarea"],s=[],c=[16,17,18,91,93],l=[],d={keydown:"keyboard",keyup:"keyboard",mousedown:"mouse",mousemove:"mouse",MSPointerDown:"pointer",MSPointerMove:"pointer",pointerdown:"pointer",pointermove:"pointer",touchstart:"touch",touchend:"touch"},u=!1,f={x:null,y:null},p={2:"touch",3:"touch",4:"mouse"},g=!1;try{var h=Object.defineProperty({},"passive",{get:function(){g=!0}});window.addEventListener("test",null,h)}catch(e){}var v=function(){var e=!!g&&{passive:!0};document.addEventListener("DOMContentLoaded",m),window.PointerEvent?(window.addEventListener("pointerdown",w),window.addEventListener("pointermove",y)):window.MSPointerEvent?(window.addEventListener("MSPointerDown",w),window.addEventListener("MSPointerMove",y)):(window.addEventListener("mousedown",w),window.addEventListener("mousemove",y),"ontouchstart"in window&&(window.addEventListener("touchstart",w,e),window.addEventListener("touchend",w))),window.addEventListener(L(),y,e),window.addEventListener("keydown",w),window.addEventListener("keyup",w),window.addEventListener("focusin",x),window.addEventListener("focusout",_)},m=function(){if(i=!(e.getAttribute("data-whatpersist")||"false"===document.body.getAttribute("data-whatpersist")))try{window.sessionStorage.getItem("what-input")&&(n=window.sessionStorage.getItem("what-input")),window.sessionStorage.getItem("what-intent")&&(o=window.sessionStorage.getItem("what-intent"))}catch(e){}b("input"),b("intent")},w=function(e){var t=e.which,r=d[e.type];"pointer"===r&&(r=k(e));var i=!l.length&&-1===c.indexOf(t),s=l.length&&-1!==l.indexOf(t),u="keyboard"===r&&t&&(i||s)||"mouse"===r||"touch"===r;if(C(r)&&(u=!1),u&&n!==r&&(E("input",n=r),b("input")),u&&o!==r){var f=document.activeElement;f&&f.nodeName&&(-1===a.indexOf(f.nodeName.toLowerCase())||"button"===f.nodeName.toLowerCase()&&!O(f,"form"))&&(E("intent",o=r),b("intent"))}},b=function(t){e.setAttribute("data-what"+t,"input"===t?n:o),N(t)},y=function(e){var t=d[e.type];"pointer"===t&&(t=k(e)),A(e),(!u&&!C(t)||u&&"wheel"===e.type||"mousewheel"===e.type||"DOMMouseScroll"===e.type)&&o!==t&&(E("intent",o=t),b("intent"))},x=function(n){n.target.nodeName?(t=n.target.nodeName.toLowerCase(),e.setAttribute("data-whatelement",t),n.target.classList&&n.target.classList.length&&e.setAttribute("data-whatclasses",n.target.classList.toString().replace(" ",","))):_()},_=function(){t=null,e.removeAttribute("data-whatelement"),e.removeAttribute("data-whatclasses")},E=function(e,t){if(i)try{window.sessionStorage.setItem("what-"+e,t)}catch(e){}},k=function(e){return"number"==typeof e.pointerType?p[e.pointerType]:"pen"===e.pointerType?"touch":e.pointerType},C=function(e){var t=Date.now(),o="mouse"===e&&"touch"===n&&t-r<200;return r=t,o},L=function(){return"onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll"},N=function(e){for(var t=0,r=s.length;t<r;t++)s[t].type===e&&s[t].fn.call(void 0,"input"===e?n:o)},A=function(e){f.x!==e.screenX||f.y!==e.screenY?(u=!1,f.x=e.screenX,f.y=e.screenY):u=!0},O=function(e,t){var n=window.Element.prototype;if(n.matches||(n.matches=n.msMatchesSelector||n.webkitMatchesSelector),n.closest)return e.closest(t);do{if(e.matches(t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null};return"addEventListener"in window&&Array.prototype.indexOf&&(d[L()]="mouse",v()),{ask:function(e){return"intent"===e?o:n},element:function(){return t},ignoreKeys:function(e){c=e},specificKeys:function(e){l=e},registerOnChange:function(e,t){s.push({fn:e,type:t||"input"})},unRegisterOnChange:function(e){var t=function(e){for(var t=0,n=s.length;t<n;t++)if(s[t].fn===e)return t}(e);(t||0===t)&&s.splice(t,1)},clearStorage:function(){window.sessionStorage.clear()}}}()}])},e.exports=o()},83:function(e,t){!function(e){var t=960,n=!1;e(window).keydown((function(e){13===e.which&&(n=!0)})).keyup((function(e){13===e.which&&(n=!1)})),e(".menu-item-has-children").hover((function(){e(this).addClass("hover-intent")}),(function(){var t=this;setTimeout((function(){e(t).removeClass("hover-intent")}),100)}));var o,r,i,a,s,c,l,d,u,f=e(".nav-container"),p=f.find("#nav-toggle"),g=f.find("#main-navigation-wrapper"),h=f.find("#nav");if(p.length&&(window.innerWidth<t&&p.add(h).attr("aria-expanded","false"),p.on("click",(function(){e(this).add(g).toggleClass("toggled-on"),e(this).attr("aria-expanded","false"===e(this).attr("aria-expanded")?"true":"false"),e("#nav-toggle-label").text(e("#nav-toggle-label").text()===air_light_screenReaderText.expand_toggle?air_light_screenReaderText.collapse_toggle:air_light_screenReaderText.expand_toggle),e(this).attr("aria-label",e(this).attr("aria-label")===air_light_screenReaderText.expand_toggle?air_light_screenReaderText.collapse_toggle:air_light_screenReaderText.expand_toggle),e(this).add(h).attr("aria-expanded","false"===e(this).add(h).attr("aria-expanded")?"true":"false")}))),e(".menu-item a, .dropdown button").on("keyup",(function(){0!==e(".dropdown").find(":focus").length&&27===event.keyCode&&(thisDropdown=e(this).parent().parent().parent(),screenReaderSpan=thisDropdown.find(".screen-reader-text"),dropdownToggle=thisDropdown.find(".dropdown-toggle"),thisDropdown.find(".sub-menu").removeClass("toggled-on"),thisDropdown.find(".dropdown-toggle").removeClass("toggled-on"),thisDropdown.find(".dropdown").removeClass("toggled-on"),dropdownToggle.attr("aria-expanded","false"),screenReaderSpan.text(air_light_screenReaderText.expand),thisDropdown.find(".dropdown-toggle:first").focus()),window.innerWidth>t&&(prevDropdown=e(this).parent().prev(),screenReaderSpanPrev=prevDropdown.find(".screen-reader-text"),dropdownTogglePrev=prevDropdown.find(".dropdown-toggle"),prevDropdown.find(".sub-menu").removeClass("toggled-on"),prevDropdown.find(".dropdown-toggle").removeClass("toggled-on"),prevDropdown.find(".dropdown").removeClass("toggled-on"),dropdownTogglePrev.attr("aria-expanded","false"),screenReaderSpanPrev.text(air_light_screenReaderText.expand),nextDropdown=e(this).parent().next(),screenReaderSpanNext=nextDropdown.find(".screen-reader-text"),dropdownToggleNext=nextDropdown.find(".dropdown-toggle"),nextDropdown.find(".sub-menu").removeClass("toggled-on"),nextDropdown.find(".dropdown-toggle").removeClass("toggled-on"),nextDropdown.find(".dropdown").removeClass("toggled-on"),dropdownToggleNext.attr("aria-expanded","false"),screenReaderSpanNext.text(air_light_screenReaderText.expand))})),g.find(".menu-item-has-children").attr("aria-haspopup","true"),e(".dropdown-toggle").each((function(){e(this).attr("aria-label","".concat(air_light_screenReaderText.expand_for," ").concat(e(this).prev().text()))})),g.find(".dropdown-toggle").click((function(o){if(n||window.innerWidth<t){var r=e(this).nextAll(".sub-menu");o.preventDefault(),e(this).toggleClass("toggled-on"),r.toggleClass("toggled-on"),e(this).attr("aria-expanded","false"===e(this).attr("aria-expanded")?"true":"false"),e(this).attr("aria-label",e(this).attr("aria-label")==="".concat(air_light_screenReaderText.collapse_for," ").concat(e(this).prev().text())?"".concat(air_light_screenReaderText.expand_for," ").concat(e(this).prev().text()):"".concat(air_light_screenReaderText.collapse_for," ").concat(e(this).prev().text()))}})),e(".sub-menu .menu-item-has-children").parent(".sub-menu").addClass("has-sub-menu"),e(".menu-item a, button.dropdown-toggle").on("keydown",(function(t){if(-1!=[37,38,39,40].indexOf(t.keyCode))switch(t.keyCode){case 37:t.preventDefault(),t.stopPropagation(),e(this).hasClass("dropdown-toggle")?e(this).prev("a").focus():e(this).parent().prev().children("button.dropdown-toggle").length?e(this).parent().prev().children("button.dropdown-toggle").focus():e(this).parent().prev().children("a").focus(),e(this).is("ul ul ul.sub-menu.toggled-on li:first-child a")&&e(this).parents("ul.sub-menu.toggled-on li").children("button.dropdown-toggle").focus();break;case 39:t.preventDefault(),t.stopPropagation(),e(this).next("button.dropdown-toggle").length?e(this).next("button.dropdown-toggle").focus():e(this).parent().next().find("input").length?e(this).parent().next().find("input").focus():e(this).parent().next().children("a").focus(),e(this).is("ul.sub-menu .dropdown-toggle.toggled-on")&&e(this).parent().find("ul.sub-menu li:first-child a").focus();break;case 40:t.preventDefault(),t.stopPropagation(),e(this).next().length?e(this).next().find("li:first-child a").first().focus():e(this).parent().next().find("input").length?e(this).parent().next().find("input").focus():e(this).parent().next().children("a").focus(),e(this).is("ul.sub-menu a")&&e(this).next("button.dropdown-toggle").length&&e(this).parent().next().children("a").focus(),e(this).is("ul.sub-menu .dropdown-toggle")&&e(this).parent().next().children(".dropdown-toggle").length&&e(this).parent().next().children(".dropdown-toggle").focus();break;case 38:t.preventDefault(),t.stopPropagation(),e(this).parent().prev().length?e(this).parent().prev().children("a").focus():e(this).parents("ul").first().prev(".dropdown-toggle.toggled-on").focus(),e(this).is("ul.sub-menu .dropdown-toggle")&&e(this).parent().prev().children(".dropdown-toggle").length&&e(this).parent().prev().children(".dropdown-toggle").focus()}})),(i=document.getElementById("nav"))&&void 0!==(a=document.getElementById("nav-toggle")))if(o=document.getElementsByTagName("html")[0],r=document.getElementsByTagName("body")[0],s=i.getElementsByTagName("ul")[0],c=document.getElementById("main-navigation-wrapper"),void 0!==s){if(window.innerWidth<t&&s.setAttribute("aria-expanded","false"),-1===s.className.indexOf("nav-menu")&&(s.className+=" nav-menu"),window.innerWidth<t){var v=null,m=null;navElements=i.querySelectorAll([".nav-primary a[href]",".nav-primary button"]);for(var w=0;w<navElements.length;w++)navElements[w].addEventListener("keydown",x)}for(a.onclick=function(){-1!==i.className.indexOf("is-active")?b():(o.className+=" disable-scroll",r.className+=" js-nav-active",i.className+=" is-active",a.className+=" is-active",a.setAttribute("aria-expanded","true"),s.setAttribute("aria-expanded","true"),a.addEventListener("keydown",x,!1))},document.addEventListener("keyup",(function(e){27==e.keyCode&&-1!==i.className.indexOf("is-active")&&b()})),c.onclick=function(e){e.target==c&&-1!==i.className.indexOf("is-active")&&b()},l=s.getElementsByTagName("a"),s.getElementsByTagName("ul"),w=0,d=l.length;w<d;w++)l[w].addEventListener("focus",y,!0),l[w].addEventListener("blur",y,!0)}else a.style.display="none";function b(){a.removeEventListener("keydown",x,!1),o.className=o.className.replace(" disable-scroll",""),r.className=r.className.replace(" js-nav-active",""),i.className=i.className.replace(" is-active",""),a.className=a.className.replace(" is-active",""),a.setAttribute("aria-expanded","false"),s.setAttribute("aria-expanded","false"),a.focus()}function y(){for(var e=this;-1===e.className.indexOf("nav-menu");)"li"===e.tagName.toLowerCase()&&(-1!==e.className.indexOf("focus")?e.className=e.className.replace(" focus",""):e.className+=" focus"),e=e.parentElement}function x(e){u=i.querySelectorAll([".sub-menu.toggled-on > li a[href]",'ul[aria-expanded="true"] > li > a[href]',"area[href]","input:not([disabled])","select:not([disabled])","textarea:not([disabled])",".sub-menu.toggled-on > li > button:not([disabled]):not(.toggled-on)",'ul[aria-expanded="true"] > li > button:not([disabled]):not(.toggled-on)',"iframe","object","embed","[contenteditable]",NaN]),v=u[0],(m=u[u.length-1])!==e.target||9!==e.keyCode||e.shiftKey||(e.preventDefault(),a.focus()),v===e.target&&9===e.keyCode&&e.shiftKey&&(e.preventDefault(),a.focus()),a===e.target&&9===e.keyCode&&e.shiftKey&&(e.preventDefault(),m.focus())}}(jQuery)}});