/*! This file is auto-generated */ !function(n,r){var t,e;"object"==typeof exports&&"undefined"!=typeof module?module.exports=r():"function"==typeof define&&define.amd?define("underscore",r):(n="undefined"!=typeof globalThis?globalThis:n||self,t=n._,(e=n._=r()).noConflict=function(){return n._=t,e})}(this,function(){var n="1.13.6",r="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||Function("return this")()||{},e=Array.prototype,F=Object.prototype,V="undefined"!=typeof Symbol?Symbol.prototype:null,P=e.push,f=e.slice,s=F.toString,q=F.hasOwnProperty,t="undefined"!=typeof ArrayBuffer,u="undefined"!=typeof DataView,U=Array.isArray,W=Object.keys,z=Object.create,L=t&&ArrayBuffer.isView,$=isNaN,C=isFinite,K=!{toString:null}.propertyIsEnumerable("toString"),J=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],G=Math.pow(2,53)-1;function l(u,o){return o=null==o?u.length-1:+o,function(){for(var n=Math.max(arguments.length-o,0),r=Array(n),t=0;t":">",'"':""","'":"'","`":"`"},qn=Pn(t),t=Pn(An(t)),Un=m.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Wn=/(.)^/,zn={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Ln=/\\|'|\r|\n|\u2028|\u2029/g;function $n(n){return"\\"+zn[n]}var Cn=/^\s*(\w|\$)+\s*$/;var Kn=0;function Jn(n,r,t,e,u){return e instanceof r?(e=En(n.prototype),o(r=n.apply(e,u))?r:e):n.apply(t,u)}var M=l(function(u,o){function i(){for(var n=0,r=o.length,t=Array(r),e=0;e/g,interpolate:/\{\{\{([\s\S]+?)\}\}\}/g,escape:/\{\{([^\}]+?)\}\}(?!\})/g,variable:"data"};return function(t){if(document.getElementById("tmpl-"+e))return(n=n||_.template(s("#tmpl-"+e).html(),a))(t);throw new Error("Template not found: #tmpl-"+e)}}),wp.ajax={settings:t.ajax||{},post:function(t,e){return wp.ajax.send({data:_.isObject(t)?t:_.extend(e||{},{action:t})})},send:function(a,t){var e,n;return _.isObject(a)?t=a:(t=t||{}).data=_.extend(t.data||{},{action:a}),t=_.defaults(t||{},{type:"POST",url:wp.ajax.settings.url,context:this}),(e=(n=s.Deferred(function(n){t.success&&n.done(t.success),t.error&&n.fail(t.error),delete t.success,delete t.error,n.jqXHR=s.ajax(t).done(function(t){var e;"1"!==t&&1!==t||(t={success:!0}),_.isObject(t)&&!_.isUndefined(t.success)?(e=this,n.done(function(){a&&a.data&&"query-attachments"===a.data.action&&n.jqXHR.hasOwnProperty("getResponseHeader")&&n.jqXHR.getResponseHeader("X-WP-Total")?e.totalAttachments=parseInt(n.jqXHR.getResponseHeader("X-WP-Total"),10):e.totalAttachments=0}),n[t.success?"resolveWith":"rejectWith"](this,[t.data])):n.rejectWith(this,[t])}).fail(function(){n.rejectWith(this,arguments)})})).promise()).abort=function(){return n.jqXHR.abort(),this},e}}}(jQuery);; /*! For license information please see frontend.js.LICENSE.txt */ !function(){var e={196:function(e,t,n){var r;!function(a){"use strict";function o(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function i(e,t,n,r,a,i){return o((c=o(o(t,e),o(r,i)))<<(s=a)|c>>>32-s,n);var c,s}function c(e,t,n,r,a,o,c){return i(t&n|~t&r,e,t,a,o,c)}function s(e,t,n,r,a,o,c){return i(t&r|n&~r,e,t,a,o,c)}function d(e,t,n,r,a,o,c){return i(t^n^r,e,t,a,o,c)}function u(e,t,n,r,a,o,c){return i(n^(t|~r),e,t,a,o,c)}function l(e,t){var n,r,a,i,l;e[t>>5]|=128<>>9<<4)]=t;var m=1732584193,h=-271733879,g=-1732584194,b=271733878;for(n=0;n>5]>>>t%32&255);return n}function h(e){var t,n=[];for(n[(e.length>>2)-1]=void 0,t=0;t>5]|=(255&e.charCodeAt(t/8))<>>4&15)+r.charAt(15&t);return a}function b(e){return unescape(encodeURIComponent(e))}function f(e){return function(e){return m(l(h(e),8*e.length))}(b(e))}function y(e,t){return function(e,t){var n,r,a=h(e),o=[],i=[];for(o[15]=i[15]=void 0,a.length>16&&(a=l(a,8*e.length)),n=0;n<16;n+=1)o[n]=909522486^a[n],i[n]=1549556828^a[n];return r=l(o.concat(h(t)),512+8*t.length),m(l(i.concat(r),640))}(b(e),b(t))}function p(e,t,n){return t?n?y(t,e):g(y(t,e)):n?f(e):g(f(e))}void 0===(r=function(){return p}.call(t,n,t,e))||(e.exports=r)}()}},t={};function n(r){var a=t[r];if(void 0!==a)return a.exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,n),o.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";var e=()=>{const e=()=>{const e=document.documentElement.clientWidth/100,t=window.innerHeight;document.documentElement.style.setProperty("--vw",`${e}px`),document.documentElement.style.setProperty("--vh",`${t}px`)};e(),window.addEventListener("resize",e)};var t=()=>{const e=document.querySelector(".js-search-toggle"),t=document.querySelector(".js-site-search-input"),n=document.querySelector("body"),r=()=>{const r=e.getAttribute("aria-controls"),a=document.getElementById(r);if(a){const r="true"===a.getAttribute("aria-hidden")?"false":"true";a.setAttribute("aria-hidden",r),"false"===r?n.classList.add("is-search-open"):n.classList.remove("is-search-open");const o="true"===e.getAttribute("aria-expanded")?"false":"true";e.setAttribute("aria-expanded",o),t.focus()}},a=t=>{t.target.closest(".js-site-auxiliary-nav")||(()=>{const t=e.getAttribute("aria-controls"),r=document.getElementById(t);0!==r.length&&(r.setAttribute("aria-hidden","true"),e.setAttribute("aria-expanded","false"),n.classList.remove("is-search-open"))})()};0!==e.length&&(()=>{const t=e.getAttribute("aria-controls"),n=document.getElementById(t);e.addEventListener("click",r),n.setAttribute("aria-hidden","true"),e.setAttribute("aria-expanded","false"),document.addEventListener("click",a),n.setAttribute("aria-hidden","true")})()};var r=()=>{const e=document.querySelectorAll(".main-nav > .menu-item > a"),t=document.querySelector("body"),n=window.matchMedia("(min-width: 1280px)"),r=e=>{const t=e.target,n=e.target,r=t.getAttribute("aria-controls"),a=document.getElementById(r);n.setAttribute("aria-hidden","true"),(e=>{const t=e,n=t.getAttribute("id"),r=document.querySelector(`[aria-controls="${n}"]`),a="true"===t.getAttribute("aria-hidden")?"false":"true";t.setAttribute("aria-hidden",a),r.setAttribute("aria-expanded","false")})(a)},a=e=>{e.preventDefault();const n=e.target,a=n.getAttribute("aria-controls"),o=document.getElementById(a);n.parentNode.querySelector(".js-nav-submenu-back").addEventListener("click",r);const i="true"===n.getAttribute("aria-expanded")?"false":"true";n.setAttribute("aria-expanded",i);const c="true"===o.getAttribute("aria-hidden")?"false":"true";o.setAttribute("aria-hidden",c),"false"===c?t.classList.add("is-mobile-nav-open"):t.classList.remove("is-mobile-nav-open")},o=()=>{n.addListener(o),!1===n.matches?e.forEach((e=>{const t=e.parentNode.querySelector(".js-nav-submenu");null!==t&&(t.setAttribute("aria-hidden","true"),e.setAttribute("aria-expanded","false"),e.addEventListener("click",a))})):e.forEach((e=>{const t=e.parentNode.querySelector(".js-nav-submenu");null!==t&&(t.removeAttribute("aria-hidden"),e.removeAttribute("aria-expanded"),e.removeEventListener("click",a))}))};0!==e.length&&o()};var a=()=>{const e=document.querySelector(".js-nav-toggle"),t=window.matchMedia("(min-width: 1280px)"),n=()=>{(()=>{const t=e.getAttribute("aria-controls"),n="true";document.getElementById(t).setAttribute("aria-hidden",n),e.setAttribute("aria-expanded","false");document.querySelector("body").classList.remove("is-mobile-nav-open")})()},r=()=>{const t=e.getAttribute("aria-controls"),n=document.getElementById(t);if(0!==n.length){const t="true"===n.getAttribute("aria-hidden")?"false":"true";n.setAttribute("aria-hidden",t);const r="true"===e.getAttribute("aria-expanded")?"false":"true";e.setAttribute("aria-expanded",r);const a=document.querySelector("body");"false"===t?a.classList.add("is-mobile-nav-open"):a.classList.remove("is-mobile-nav-open")}},a=()=>{const n=e.getAttribute("aria-controls"),r=document.getElementById(n),a=document.querySelector("body");!0===t.matches?(r.setAttribute("aria-hidden","false"),a.classList.remove("is-mobile-nav-open")):r.setAttribute("aria-hidden","true")};0!==e.length&&(()=>{const o=e.getAttribute("aria-controls"),i=document.getElementById(o);e.addEventListener("click",r),i.setAttribute("aria-hidden","true"),e.setAttribute("aria-expanded","false"),!0===t.matches?i.setAttribute("aria-hidden","false"):document.querySelectorAll(".js-nav-submenu a").forEach((e=>{e.addEventListener("click",n)}));t.addListener(a)})()};var o=()=>{const e=document.querySelector(".js-site-header-aux-nav"),t=document.querySelector(".site-header__auxiliary-menu .menu-item:first-of-type a");if(e&&t){const n=()=>{e.setAttribute("aria-hidden","true")},r=t=>{t.preventDefault();const n="true"===e.getAttribute("aria-hidden")?"false":"true";e.setAttribute("aria-hidden",n)},a=e=>{e.target.closest(".js-site-header-aux-nav")||n()};(()=>{t.addEventListener("click",r),e.setAttribute("aria-hidden","true"),document.addEventListener("click",a)})()}};var i=()=>{document.querySelectorAll(".form__label--has-animation").forEach((e=>{const t=e.querySelector('[type="email"], [type="number"], [type="password"], [type="search"], [type="text"]');t&&(""===t.value&&e.classList.add("form__label--empty"),t.addEventListener("blur",(t=>{""===t.target.value?e.classList.add("form__label--empty"):e.classList.remove("form__label--empty")})))}))};var c=()=>{const e=document.querySelectorAll(".js-toggle");if(!e)return;const t=(e,t)=>{const n=t.getAttribute("data-text-hide");e.setAttribute("aria-hidden","false"),t.setAttribute("aria-expanded","true"),n&&(t.innerText=n)},n=(e,t)=>{const n=t.getAttribute("data-text-show");e.setAttribute("aria-hidden","true"),t.setAttribute("aria-expanded","false"),n&&(t.innerText=n)},r=(e,n)=>{e.setAttribute("disabled","disabled"),e.setAttribute("tabindex","-1"),t(n,e)},a=(e,t)=>{e.removeAttribute("disabled"),e.removeAttribute("tabindex"),n(t,e)};document.addEventListener("click",(e=>{const r=e.target;if(r&&r.classList.contains("js-toggle")){const e=r.getAttribute("aria-controls"),a=document.getElementById(e);if(!a)return;((e,r)=>{r.getAttribute("aria-hidden")&&"true"!==r.getAttribute("aria-hidden")?n(r,e):t(r,e)})(r,a)}})),e.forEach((e=>{const t=e.getAttribute("data-mq-disable");if(!t)return;const n=window.matchMedia(`${t}`),o=e.getAttribute("aria-controls"),i=document.getElementById(o);n.matches?r(e,i):a(e,i),n.addEventListener("change",(t=>{t.matches?r(e,i):a(e,i)}))}))};var s=()=>{if(!document.querySelector(".newsletter-form"))return;document.addEventListener("newsletterReady",(()=>{(()=>{const e=document.querySelectorAll(".hs-form-checkbox"),t=document.querySelector(".hs_email .input"),n=document.createElement("input");n.type="submit",n.value="Subscribe",n.classList.add("button"),n.classList.add("button-primary"),t.append(n);const r=document.querySelector("#js-newsletter-terms").content.cloneNode(!0),a=document.querySelector(".hs-form-private"),o=document.querySelector(".hs_subscriber");a.insertBefore(r,o),e.forEach((e=>{const t=e.querySelector("label"),n=e.querySelector("span"),r=n.textContent,a=document.querySelector(`#js-${r.toLowerCase()}-content`).content.cloneNode(!0);e.insertBefore(a,t),n.textContent="Subscribe"}))})();const e=document.getElementById("all-newsletters"),t=document.querySelector(".newsletter-grid").querySelectorAll('input[type="checkbox"]');let n=[];e.addEventListener("change",(e=>{e.target.checked?t.forEach((e=>{e.checked=!0,n.push(e.value)})):t.forEach((e=>{e.checked=!1,n=[]}))})),t.forEach((r=>{r.addEventListener("change",(r=>{r.target.checked?n.push(r.target.value):n=n.filter((e=>e!==r.target.value)),n.length===t.length?e.checked=!0:e.checked=!1}))}))}))};var d=()=>{const e=document.querySelectorAll(".js-event-filter"),t=document.querySelectorAll("#events__feed .event-card:not(.no-result)"),n=document.querySelectorAll("#events__feed .event-card.no-result")[0],r=()=>{const e=document.getElementById("events-topics").value,r=document.getElementById("events-publication").value,a=document.getElementById("events-year").value;t.forEach((function(t){let n=!0,o=!0,i=!0;const c=t.textContent;e.length&&!c.includes(e)&&(n=!1),r.length&&!c.includes(r)&&(o=!1),a.length&&!c.includes(a)&&(i=!1),t.style.display=o&&n&&i?"":"none"})),document.querySelectorAll("#events__feed .event-card:not(.no-result):not(.hidden)").length?n.style.display="":n.style.display="none"};0!==e.length&&e.forEach((e=>{e.addEventListener("change",r)}))};var u=()=>{const e=document.querySelectorAll(".js-copy-to-clipboard");e&&e.forEach((e=>{e.addEventListener("click",(t=>{t.preventDefault();const n=e.getAttribute("data-link");n&&navigator.clipboard.writeText(n).then((()=>{const t=e.querySelector(".js-social-share-label"),n=t.textContent;t.textContent="Copied",setTimeout((()=>{t.textContent=n}),2e3)}))}))}))};var l=()=>{const e=document.querySelectorAll(".js-search-filter"),t=e=>{const t=e.target.closest("form");t&&t.submit()};0!==e.length&&e.forEach((e=>{e.addEventListener("change",t)}))},m=n(196),h=n.n(m);let g={path:"/"};var b={set:function(e,t,n){if(!e||!t)throw"A name and value are required.";if("string"!==typeof t)throw"Cookie values can only be strings.";document.cookie=`${e}=${t}; ${function(e={}){let t=Object.assign({},g,e);return Object.entries(t).map((function(t){return["secure","httponly"].includes(t[0].toLowerCase())?"true"===e[1]?t[0]:"":`${t[0]}=${t[1]}`})).join("; ")}(n)}`},get:function(e){let t=("; "+document.cookie).split("; "+e+"=");if(2==t.length)return t.pop().split(";").shift()},remove:function(e,t="/"){document.cookie=`${e}=null; path=${t}; max-age=0;`}};var f=()=>{const e=document.querySelector(".js-stickybar"),t=document.querySelector(".js-stickybar-close"),n=()=>{const t=e.clientHeight;document.documentElement.style.setProperty("--stickybar-height",`${t}px`)},r=()=>{const t=e.querySelector(".js-sticky-bar-content");return h()(t.textContent.substr(0,10))},a=()=>{e.setAttribute("aria-hidden","true"),e.parentElement.classList.remove("has-stickybar");const t=r();b.set(t,"true")};e&&(()=>{n(),window.addEventListener("resize",n),e.parentElement.classList.add("has-stickybar");const o=r();b.get(o)&&a(),t&&t.addEventListener("click",a)})()};var y=(e,t)=>{let n=null;return(...r)=>{window.clearTimeout(n),n=window.setTimeout((()=>{e(...r)}),t)}};var p=()=>{const e=document.querySelector(".js-single-article-sidebar"),t=document.querySelector(".js-single-article-content"),n=y((()=>{if(e.clientHeight>t.clientHeight)for(let n=0;n<6;n++)if(e.clientHeight>t.clientHeight){const e=document.querySelector(`.js-single-article-sidebar-${n+1}`);e&&(e.style.display="none")}}),500);e&&t&&(n(),window.addEventListener("resize",n))};var v=(e,t)=>{const n=()=>{const n=t();document.documentElement.style.setProperty(e,n)};n(),window.addEventListener("resize",n)};var A=()=>{v("--sticky-height",(()=>`${document.querySelector(".site-header").clientHeight+20}px`))};var E=()=>{const e=()=>{const e=Array.prototype.slice.call(document.querySelectorAll("[data-match-height]")),t={};for(const n of e){const e=n.getAttribute("data-match-height");n.style.minHeight="auto",t.hasOwnProperty(e)?Object.defineProperty(t,e,{value:Math.max(t[e],n.offsetHeight),configurable:!0,writable:!0,enumerable:!0}):t[e]=n.offsetHeight}const n=t;Object.getOwnPropertyNames(n).forEach((function(e){const t=document.querySelectorAll(`[data-match-height='${e}']`),r=t.length;for(let a=0;a{e()})),window.addEventListener("resize",e)};var x=()=>{const e=Array.from(document.querySelectorAll(".pagination__load-more"));e.length&&e.forEach((e=>{e.addEventListener("click",(e=>{e.preventDefault();const{nonce:t,ajaxAction:n,context:r,wpTemplate:a,markupAppendId:o,page:i,postsPerPage:c,objectId:s,objectType:d}=e.target.dataset;if(!t||!n||!o)return;const u=document.getElementById(o);if(!u)return;const l={nonce:t,context:r,page:i,postsPerPage:c,objectId:s,objectType:d};wp.ajax.post(n,l).done((t=>{if(!t.posts&&!t.terms)return;const n=u.querySelectorAll('div[class*="ad--inline"]');t.adCount=n.length;const r=wp.template(a);u.insertAdjacentHTML("beforeend",r(t));const o=parseInt(i,10)+1;o>t.max_num_pages?e.target.style.display="none":e.target.dataset.page=o;u.querySelectorAll(".ad__embed").forEach((e=>{"1"===e.dataset.loadad&&(googletag.cmd.push((function(){googletag.display(e.getAttribute("id"))})),e.dataset.loadad="0")}))}))}))}))};e(),t(),r(),a(),o(),i(),c(),s(),d(),u(),l(),f(),p(),A(),E(),x()}()}();;