text: !function(e,t,n){"use strict";function o(e){n(".person-popup__wrapper.open").removeClass("open")}function a(){n("iframe[src*='//player.vimeo.com'], iframe[src*='youtube.com'], iframe[src*='youtu.be'], iframe[src*='youtube-nocookie.com'], object, embed").each(function(){n(this).attr("parentWidth",n(this).parent().width()).width(n(this).attr("parentWidth")).height(n(this).attr("parentWidth")*n(this).attr("data-aspectRatio"))})}function r(e){let t=l(e.target);void 0!==t&&(e.target.value?n(t).addClass("filled"):n(t).removeClass("filled"))}function s(e){let t=l(e.target);void 0!==t&&n(t).addClass("busy")}function i(e){let t=l(e.target);void 0!==t&&n(t).removeClass("busy")}function l(e){var t=e.id;if(void 0!==t&&""!==t)var o=n("label[for="+t+"]");if(null==o||o.length<=0){var a=n(e).parent();"label"==a.get(0).tagName.toLowerCase()&&(o=a)}return o}function c(e,t){for(var n=0,o=e.length;n<o;n++){var a,r=e[n];if(a=t(r))return a;if(r.childNodes&&r.childNodes.length)if(a=c(r.childNodes,t))return a}}function d(e,t){if(e===t)return!0}!function(){let e=t.querySelectorAll("[data-offcanvas]");if(0===e.length)return;let n=e[0].getAttribute("data-offcanvas");t.querySelector(".offcanvas__header .offcanvas__close").addEventListener("click",function(){r(t.getElementsByClassName(n)[0])});for(var o=0;o<e.length;o++)e[o].addEventListener("click",i);function a(){return t.getElementsByClassName(n)[0]}function r(e){e.classList.remove("open"),t.getElementsByTagName("body")[0].classList.remove("offcanvas-open"),setTimeout(function(){t.removeEventListener("click",l)},100)}function s(e){e.classList.contains("open")?r(e):function(e){e.classList.add("open"),t.getElementsByTagName("body")[0].classList.add("offcanvas-open"),setTimeout(function(){t.addEventListener("click",l)},100)}(e)}function i(e){if(-1!==e.path.indexOf(a()))return;s(t.getElementsByClassName(n)[0])}function l(e){const t=a();let n=e.target;do{if(n===t)return;n=n.parentNode}while(n);r(t)}}(),n(".card1--person").on("click",function(){let e=n(".person-popup__wrapper",this);n(".person-popup",e);return e.hasClass("open")||e.addClass("open"),!1}),n(".person-popup__wrapper").on("click",function(){return o(),!1}),n(".person-popup__close").on("click",function(){return o(),!1}),n(t).keyup(function(e){27===e.keyCode&&o()}),n(".person-popup").on("click",function(e){e.stopImmediatePropagation()}),n(t).ready(function(){n("iframe[src*='//player.vimeo.com'], iframe[src*='youtube.com'], iframe[src*='youtu.be'], iframe[src*='youtube-nocookie.com'], object, embed").each(function(){n(this).attr("data-aspectRatio",this.height/this.width).removeAttr("height").removeAttr("width")}),a(),n(e).resize(function(){a()})}),n(t).ready(function(){let e=n("form input[type='text'], form input[type='email'], form input[type='password'], form textarea");Array.prototype.forEach.call(e,e=>{!function(e){let t=l(e);void 0!==t&&(n(e).addClass("placeholder"),n(t).addClass("placeholder"))}(e)});let t=n("form textarea");Array.prototype.forEach.call(t,e=>{!function(e){let t=l(e);void 0!==t&&n(t).addClass("textarea-label")}(e)});let o=n("form input, form textarea");Array.prototype.forEach.call(o,e=>{!function(e){let t=l(e);void 0!==t&&("object"==typeof t&&(t=t[0]),2==g(e,t)?(n(e).addClass("label-before"),n(t).addClass("label-before")):4==g(e,t)&&(n(e).addClass("label-after"),n(t).addClass("label-after")))}(e),function(e){if(function(e){let t=n(e).parent()[0],o=parseInt(n(t).css("padding-left"))+parseInt(n(t).css("padding-right"));return 100==(e.offsetWidth/(t.offsetWidth-o)*100).toFixed(0)}(e)){n(e).addClass("full-width");let t=l(e);void 0!==t&&n(t).addClass("full-width")}}(e)}),e.on("focus",s).on("blur",i).on("blur",r)}),n(".webform-submission-form input:not([type=checkbox]), .webform-submission-form textarea").on("focus",s).on("blur",i).on("blur",r);var p=1,f=2,u=4,h=8,m=16;function g(e,t){var n=e,o=e,a=t;if(this===t)return 0;for(;o.parentNode;)o=o.parentNode;for(;a.parentNode;)a=a.parentNode;return o!==a?p:c(n.childNodes,function(e){d(t,e)})?m+u:c(t.childNodes,function(e){d(n,e)})?h+f:"other"===c([o],function(e){return e===t?"other":e===n?"reference":void 0})?f:u}!function(){let e=t.querySelectorAll(".hamburger");for(var n=0;n<e.length;n++)e[n].addEventListener("click",o);function o(e){let t=function(e){let t=e.target;return t.classList.contains("hamburger")||(t=t.parentNode),t}(e);t.parentNode.classList.contains("sg-pattern-example")&&t.classList.toggle("open")}}(),function(){let e=t.querySelectorAll(".navmenu--expanding .navmenu__menu-item--has-dropdown .dropdown-toggle");for(var n=0;n<e.length;n++)e[n].addEventListener("click",o);function o(e){e.target.classList.toggle("icon-down-open"),e.target.classList.toggle("icon-up-open"),e.target.parentElement.classList.toggle("open")}}(),n(".expandingsearch__button").on("click",function(){var e=n(this).parent();return e.hasClass("expandingsearch--open")&&""==n(".expandingsearch__input",e).val()?(e.removeClass("expandingsearch--open"),n(".expandingsearch__input",e).off("focus"),!1):!!e.hasClass("expandingsearch--open")||(n(this).parent().toggleClass("expandingsearch--open"),n(".expandingsearch__input",e).focus(),!1)}),n(".dropdownsearch__toggle").on("click",function(){var e=n(this).parent();return e.hasClass("dropdownsearch--open")?e.removeClass("dropdownsearch--open"):e.addClass("dropdownsearch--open"),!1}),n(".fliphovercard").hover(function(){n(this).addClass("fliphovercard--hover")},function(){n(this).removeClass("fliphovercard--hover")}),n(".wp-block-gallery.slider").slick({infinite:!0,slidesToShow:1,slidesToScroll:1,nextArrow:"<a class='slick-next slick-arrow' href='#'><i class='icon icon-right-open' title='Next'></i></a>",prevArrow:"<a class='slick-prev slick-arrow' href='#'><i class='icon icon-left-open' title='Previous'></i></a>"}),0!==n(".instagram-feed").length&&n(".instagram-feed").each(function(e){let t=n(this).attr("data-instagram-username"),o=n(this);void 0!==t&&""!==t&&n.get("https://www.instagram.com/"+t,null,function(e){let t=e.split("window._sharedData = ");t=t[1].split(";<\/script>");const n=JSON.parse(t[0]);for(let e=0;e<9;e++){let t=n.entry_data.ProfilePage[0].graphql.user.edge_owner_to_timeline_media.edges[e].node,a=t.thumbnail_resources[0].src;o.append("<a class='instagram-feed__item' target='_blank' href='https://www.instagram.com/p/"+t.shortcode+"'><img src='"+a+"' /></a>")}})})}(window,document,jQuery);