/*! For license information please see form-zendesk.min.js.LICENSE.txt */ (()=>{"use strict";function t(t){if(!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t))return!1;var e=t.split("@")[1].toLowerCase();return!["gmail.com","yahoo.com","ymail.com","rocketmail.com","hotmail.com","outlook.com","live.com","msn.com","icloud.com","me.com","mac.com","aol.com","protonmail.com","zohomail.com","zoho.com","mail.com","gmx.com","gmx.de","fastmail.com","fastmail.fm","yandex.com","yandex.ru","comcast.net","verizon.net","btinternet.com","virginmedia.com","talktalk.net","blueyonder.co.uk","naver.com","daum.net","kakao.com","att.net","sbcglobal.net","bellsouth.net","sky.com","earthlink.net","juno.com","netscape.net","mail.ru","orange.fr","t-online.de","sina.com","sina.cn","qq.com","163.com","126.com","yeah.net","mailinator.com","guerrillamail.com","10minutemail.com","throwawaymail.com","tempmail.com","temp-mail.org","yopmail.com","maildrop.cc","moakt.com","dispostable.com","getnada.com"].includes(e)}var e=function(t,e){var r,n,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===(r=i.bubbles)||void 0===r||r,cancelable:null===(n=i.cancelable)||void 0===n||n,composed:null!==(o=i.composed)&&void 0!==o&&o});t.dispatchEvent(a)};function r(t){return r="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},r(t)}function n(){n=function(){return e};var t,e={},o=Object.prototype,i=o.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",s=c.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var o=e&&e.prototype instanceof b?e:b,i=Object.create(o.prototype),c=new D(n||[]);return a(i,"_invoke",{value:_(t,r,c)}),i}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var d="suspendedStart",m="suspendedYield",y="executing",v="completed",g={};function b(){}function w(){}function S(){}var E={};f(E,u,(function(){return this}));var L=Object.getPrototypeOf,x=L&&L(L(I([])));x&&x!==o&&i.call(x,u)&&(E=x);var O=S.prototype=b.prototype=Object.create(E);function P(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function n(o,a,c,u){var l=p(t[o],t,a);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==r(f)&&i.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,c,u)}),(function(t){n("throw",t,c,u)})):e.resolve(f).then((function(t){s.value=t,c(s)}),(function(t){return n("throw",t,c,u)}))}u(l.arg)}var o;a(this,"_invoke",{value:function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}})}function _(e,r,n){var o=d;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=k(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?v:m,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function k(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,k(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function T(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 C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function I(e){if(e||""===e){var n=e[u];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=i.call(a,"catchLoc"),l=i.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),C(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:I(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function o(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var i="formZendesk:submitError",a=!1,c=function(t){return a?Promise.resolve():(e="https://www.google.com/recaptcha/api.js?render=".concat(t),new Promise((function(t,r){try{var n=new URL(e,window.location.origin),o=Array.from(document.scripts).find((function(t){try{return new URL(t.src,window.location.origin).pathname===n.pathname}catch(t){return!1}}));if(o)return void t();var i=document.createElement("script");i.type="text/javascript",i.src=e,i.async=!0,i.onload=t,i.onerror=function(){return r(new Error("Failed to load script: ".concat(e)))},document.head.appendChild(i)}catch(t){r(t)}}))).then((function(){a=!0})).catch((function(t){return console.error("Failed to load reCAPTCHA:",t)}));var e},u=function(){var r,a=(r=n().mark((function r(o,a,u){var l,s,f;return n().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(l=o.querySelector(".global-error"),s=0,a.forEach((function(e){var r=e.nextElementSibling,n=e.value.trim();e.classList.contains("required")&&!n?(e.classList.add("is-invalid"),r.textContent="This field is required",s++):"email"===e.name&&n&&!t(n)?(e.classList.add("is-invalid"),r.textContent="Please use a work email",s++):e.classList.remove("is-invalid")})),!(s>0)){r.next=5;break}return r.abrupt("return");case 5:if(f=function(t){o.querySelector("[name='recaptchaToken']").value=t;var r=new FormData(o);r.append("action","process_form_zendesk"),u.currentLanguageCode&&r.append("currentLanguageCode",u.currentLanguageCode),u.locale&&r.append("locale",u.locale);var n=new URLSearchParams(r);fetch(u.ajaxUrl,{method:"POST",credentials:"same-origin",headers:{"Content-Type":"application/x-www-form-urlencoded","Cache-Control":"no-cache"},body:n}).then((function(t){return t.json()})).then((function(t){t.success?(e(o,"formZendesk:submitSuccess",{form:o}),window.location.href=u.thankYouPageUrl):(l.textContent=t.data.message,l.classList.add("d-block"),e(o,i,{message:t.data.message}))})).catch((function(t){console.error(t),e(o,i,{message:t.message})}))},!["localhost","127.0.0.1"].includes(location.hostname)&&!location.hostname.endsWith(".local")){r.next=12;break}console.warn("Skipping reCAPTCHA on localhost."),f("test-token"),r.next=15;break;case 12:return r.next=14,c(u.recaptchaPublicKey);case 14:grecaptcha.ready((function(){grecaptcha.execute(u.recaptchaPublicKey,{action:"submit_form"}).then(f)}));case 15:case"end":return r.stop()}}),r)})),function(){var t=this,e=arguments;return new Promise((function(n,i){var a=r.apply(t,e);function c(t){o(a,n,i,c,u,"next",t)}function u(t){o(a,n,i,c,u,"throw",t)}c(void 0)}))});return function(t,e,r){return a.apply(this,arguments)}}();function l(t){return l="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},l(t)}function s(){s=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new D(n||[]);return o(a,"_invoke",{value:_(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var d="suspendedStart",m="suspendedYield",y="executing",v="completed",g={};function b(){}function w(){}function S(){}var E={};f(E,a,(function(){return this}));var L=Object.getPrototypeOf,x=L&&L(L(I([])));x&&x!==r&&n.call(x,a)&&(E=x);var O=S.prototype=b.prototype=Object.create(E);function P(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=p(t[o],t,i);if("throw"!==u.type){var s=u.arg,f=s.value;return f&&"object"==l(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(f).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function _(e,r,n){var o=d;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=k(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var l=p(e,r,n);if("normal"===l.type){if(o=n.done?v:m,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function k(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,k(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function T(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 C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function I(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),C(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:I(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function f(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var h=function(){var t,e=(t=s().mark((function t(e,r){var n,o,i,a,c,u,l;return s().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,fetch(e);case 2:return n=t.sent,t.next=5,n.text();case 5:if(o=t.sent,i=new DOMParser,a=i.parseFromString(o,"image/svg+xml"),(c=a.getElementsByTagName("svg")).length){for(c=c[0],u=c.attributes,l=0;l0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];try{var o=window.scrollY||window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop;if(!n&&null===r&&(t=window.innerHeight,!(k!==t?(k=t,0):T)))return _=o,!1;var i={previousScroll:_,currentScroll:o,forcedDirection:r},a=e(document,j.BEFORE_CHANGE,i,{cancelable:!0});if(a&&a.defaultPrevented)return!1;var c,u=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(O).includes(t)}))?{direction:e[0],includeTop:e.includes(O.TOP)}:null}(r);return u?(document.body.classList.toggle("scrolling-up",u.direction===O.UP),document.body.classList.toggle("scrolling-down",u.direction===O.DOWN),u.includeTop&&document.body.classList.toggle("is-scrolled-top",o<100)):(o<100?document.body.classList.add("is-scrolled-top"):document.body.classList.remove("is-scrolled-top"),null!==(c=window.SinchDS)&&void 0!==c&&c.__smoothScrollInProgress||Math.abs(o-_)>=1&&(o>_?(document.body.classList.remove("scrolling-up"),document.body.classList.add("scrolling-down")):(document.body.classList.add("scrolling-up"),document.body.classList.remove("scrolling-down")))),_=o,e(document,j.AFTER_CHANGE,L(L({},i),{},{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(){T=!1}),50),!0}catch(t){return e(document,j.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");w("scrollToElement",(function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3,r=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){r-=t.offsetHeight}));var n=t.getBoundingClientRect().top+window.scrollY+r,o=window.scrollY,i=n-o,a=null;window.SinchDS||(window.SinchDS={}),requestAnimationFrame((function t(r){null===a&&(window.SinchDS.__smoothScrollInProgress=!0,a=r);var n,c,u,l,s=r-a,f=(n=s,c=o,u=i,(n/=e/2)<1?u/2*n*n+c:-u/2*(--n*(n-2)-1)+c);window.scrollTo(0,f),s