/*! For license information please see offcanvas.min.js.LICENSE.txt */ (()=>{"use strict";function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(){e=function(){return r};var n,r={},o=Object.prototype,i=o.hasOwnProperty,a=Object.defineProperty||function(t,e,n){t[e]=n.value},c="function"==typeof Symbol?Symbol:{},l=c.iterator||"@@iterator",u=c.asyncIterator||"@@asyncIterator",s=c.toStringTag||"@@toStringTag";function f(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(n){f=function(t,e,n){return t[e]=n}}function d(t,e,n,r){var o=e&&e.prototype instanceof b?e:b,i=Object.create(o.prototype),c=new N(r||[]);return a(i,"_invoke",{value:D(t,n,c)}),i}function v(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}r.wrap=d;var p="suspendedStart",m="suspendedYield",h="executing",y="completed",g={};function b(){}function w(){}function S(){}var E={};f(E,l,(function(){return this}));var L=Object.getPrototypeOf,O=L&&L(L(C([])));O&&O!==o&&i.call(O,l)&&(E=O);var A=S.prototype=b.prototype=Object.create(E);function j(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function x(e,n){function r(o,a,c,l){var u=v(e[o],e,a);if("throw"!==u.type){var s=u.arg,f=s.value;return f&&"object"==t(f)&&i.call(f,"__await")?n.resolve(f.__await).then((function(t){r("next",t,c,l)}),(function(t){r("throw",t,c,l)})):n.resolve(f).then((function(t){s.value=t,c(s)}),(function(t){return r("throw",t,c,l)}))}l(u.arg)}var o;a(this,"_invoke",{value:function(t,e){function i(){return new n((function(n,o){r(t,e,n,o)}))}return o=o?o.then(i,i):i()}})}function D(t,e,r){var o=p;return function(i,a){if(o===h)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:n,done:!0}}for(r.method=i,r.arg=a;;){var c=r.delegate;if(c){var l=P(c,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===p)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=h;var u=v(t,e,r);if("normal"===u.type){if(o=r.done?y:m,u.arg===g)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(o=y,r.method="throw",r.arg=u.arg)}}}function P(t,e){var r=e.method,o=t.iterator[r];if(o===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=n,P(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var i=v(o,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,g;var a=i.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,g):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,g)}function I(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(I,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[l];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function t(){for(;++o=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),u=i.call(a,"finallyLoc");if(l&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),T(n),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:C(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),g}},r}function n(t,e,n,r,o,i,a){try{var c=t[i](a),l=c.value}catch(t){return void n(t)}c.done?e(l):Promise.resolve(l).then(r,o)}var r=function(){var t,r=(t=e().mark((function t(n,r){var o,i,a,c,l,u,s;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,fetch(n);case 2:return o=t.sent,t.next=5,o.text();case 5:if(i=t.sent,a=new DOMParser,c=a.parseFromString(i,"image/svg+xml"),(l=c.getElementsByTagName("svg")).length){for(l=l[0],u=l.attributes,s=0;st.length)&&(e=t.length);for(var n=0,r=Array(e);n1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t;return"function"==typeof t?t.call.apply(t,function(t){if(Array.isArray(t))return o(t)}(e=n)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(e)||function(t,e){if(t){if("string"==typeof t)return o(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(t,e):void 0}}(e)||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.")}()):r},c=function(t,e){if(arguments.length>2&&void 0!==arguments[2]&&!arguments[2])a(t);else{var n=function(t){if(!t)return 0;var e=window.getComputedStyle(t),n=e.transitionDuration,r=e.transitionDelay,o=Number.parseFloat(n),i=Number.parseFloat(r);return o||i?(n=n.split(",")[0],r=r.split(",")[0],1e3*(Number.parseFloat(n)+Number.parseFloat(r))):0}(e)+5,r=!1,o=function(n){n.target===e&&(r=!0,e.removeEventListener(i,o),a(t))};e.addEventListener(i,o),setTimeout((function(){r||e.dispatchEvent(new Event(i))}),n)}},l=function(t,e){var n,r,o,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=new CustomEvent(e,{detail:arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},bubbles:null===(n=i.bubbles)||void 0===n||n,cancelable:null===(r=i.cancelable)||void 0===r||r,composed:null!==(o=i.composed)&&void 0!==o&&o});t.dispatchEvent(a)},u=".".concat("offcanvas"),s={SHOW:"show".concat(u),SHOWN:"shown".concat(u),HIDE:"hide".concat(u),HIDDEN:"hidden".concat(u)},f=s.SHOW,d=s.SHOWN,v=s.HIDE,p=s.HIDDEN,m=("resize".concat(u),"show"),h="showing",y="hiding",g="offcanvas-backdrop",b='[class*="offcanvas-"]',w=("".concat(b,".").concat(m),'[data-toggle="offcanvas"]'),S=null,E=null,L=!1,O=function(t){if(t&&t.id){var e=t.classList.contains(m),n=t.id;document.querySelectorAll("".concat(w,'[href="#').concat(n,'"], ').concat(w,'[data-target="#').concat(n,'"]')).forEach((function(t){t.setAttribute("aria-expanded",e.toString())}))}},A=function(){L=!0},j=function(){L=!1},x=function(t){if(!t)return null;var e=t.replace(/^#/,"");return document.querySelector("".concat(b,"#").concat(e))},D=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;!(null==e?void 0:e.hasAttribute("data-scroll"))&&t?document.body.classList.add("is-fixed-active"):t||document.body.classList.remove("is-fixed-active")},P=function(t,e,n){var r="false"!==e.getAttribute("data-backdrop");"show"===t?r?(E||(E=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"backdrop",e=null,n=function(){e&&e.classList.remove("show")},r=function(){e&&(e.remove(),e=null)};return{show:function(){e||((e=document.createElement("div")).className="".concat(t," fade"),document.body.appendChild(e),e.offsetHeight,e.classList.add("show"))},hide:n,remove:r,hideAndRemove:function(t){e?(n(),c((function(){r(),t&&t()}),e,!0)):t&&t()},element:function(){return e},exists:function(){return null!==e}}}(g),E.show()),n&&n()):E&&E.exists()?E.hideAndRemove((function(){E=null,n&&n()})):n&&n():"hide"===t&&!S&&E?E.hideAndRemove((function(){E=null,n&&n()})):n&&n()},I=function(t){var e;t&&(S&&S!==t?function(t,e){var n;if(!L)if(A(),t&&t!==e){var r="false"!==e.getAttribute("data-backdrop");l(t,v,{elementId:null!==(n=null==t?void 0:t.id)&&void 0!==n?n:null,isAnimating:L});var o=!0;t.classList.add(y),c((function(){var n;t.classList.remove(m,y),t.removeAttribute("aria-modal"),t.removeAttribute("role"),O(t),E&&!r&&E.hideAndRemove((function(){E=null})),S=null,l(t,p,{elementId:null!==(n=null==t?void 0:t.id)&&void 0!==n?n:null,isTransitioning:!0}),o&&(o=!1,setTimeout((function(){I(e)}),10))}),t,!0)}else I(e)}(S,t):(A(),l(t,f,{elementId:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,isAnimating:L}),S=t,P("show",t),D(!0,t),t.setAttribute("aria-modal",!0),t.setAttribute("role","dialog"),t.classList.add(h),c((function(){var e;t.classList.add(m),t.classList.remove(h),O(t),j(),l(t,d,{elementId:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null})}),t,!0)))},T=function(t){var e;t&&!L&&t.classList.contains(m)&&(A(),l(t,v,{elementId:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null,isAnimating:L}),S===t&&(S=null),t.classList.add(y),c((function(){t.classList.remove(m,y),t.removeAttribute("aria-modal"),t.removeAttribute("role"),D(!1),P("hide",t,(function(){var e;O(t),j(),l(t,p,{elementId:null!==(e=null==t?void 0:t.id)&&void 0!==e?e:null})}))}),t,!0))};function N(t){return N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},N(t)}function C(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function _(t,e,n){return(e=function(t){var e=function(t){if("object"!=N(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=N(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==N(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var k=function(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];try{var r=window.scrollY||window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop;if(!n&&null===e&&(t=window.innerHeight,!(z!==t?(z=t,0):$)))return U=r,!1;var o={previousScroll:U,currentScroll:r,forcedDirection:e},i=l(document,Y.BEFORE_CHANGE,o,{cancelable:!0});if(i&&i.defaultPrevented)return!1;var a,c=function(t){if(!t)return null;var e=t.toLowerCase().split(",").map((function(t){return t.trim()}));return e.every((function(t){return Object.values(M).includes(t)}))?{direction:e[0],includeTop:e.includes(M.TOP)}:null}(e);return c?(document.body.classList.toggle("scrolling-up",c.direction===M.UP),document.body.classList.toggle("scrolling-down",c.direction===M.DOWN),c.includeTop&&document.body.classList.toggle("is-scrolled-top",r<100)):(r<100?document.body.classList.add("is-scrolled-top"):document.body.classList.remove("is-scrolled-top"),null!==(a=window.SinchDS)&&void 0!==a&&a.__smoothScrollInProgress||Math.abs(r-U)>=1&&(r>U?(document.body.classList.remove("scrolling-up"),document.body.classList.add("scrolling-down")):(document.body.classList.add("scrolling-up"),document.body.classList.remove("scrolling-down")))),U=r,l(document,Y.AFTER_CHANGE,B(B({},o),{},{appliedClasses:{isScrolledTop:document.body.classList.contains("is-scrolled-top"),scrollingUp:document.body.classList.contains("scrolling-up"),scrollingDown:document.body.classList.contains("scrolling-down")}})),setTimeout((function(){$=!1}),50),!0}catch(t){return l(document,Y.ERROR,{error:t.message,timestamp:(new Date).getTime()}),console.error("Scroll direction error:",t),!1}})),document.getElementById("topSubnavContainer"),document.getElementById("topSubnavIcon"),document.getElementById("topSubnavIconInner"),document.getElementById("topSubnavSiteTitle"),document.getElementById("topSubnavSiteTitleInner"),document.getElementById("topSubnavSectionTitle"),document.getElementById("topSubnavMenuInner"),document.getElementById("topSubnavMoreInner"),document.getElementById("topSubnavExtraContent"),document.getElementById("topSubnavExtraContentInner");F("scrollToElement",(function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;arguments.length>2&&void 0!==arguments[2]&&arguments[2]&&document.querySelectorAll("[data-smoothscroll-offset=true], #wpadminbar").forEach((function(t){n-=t.offsetHeight}));var r=t.getBoundingClientRect().top+window.scrollY+n,o=window.scrollY,i=r-o,a=null;window.SinchDS||(window.SinchDS={}),requestAnimationFrame((function t(n){null===a&&(window.SinchDS.__smoothScrollInProgress=!0,a=n);var r,c,l,u,s=n-a,f=(r=s,c=o,l=i,(r/=e/2)<1?l/2*r*r+c:-l/2*(--r*(r-2)-1)+c);window.scrollTo(0,f),s