/*! For license information please see fusion-core.min.js.LICENSE.txt */
(()=>{var e={};function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(e)}e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),function(){"use strict";var n,i,o,s;Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null==this)throw new TypeError('"this" is null or not defined');var t=Object(this),n=t.length>>>0;if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var i=arguments[1],o=0;o<n;){var s=t[o];if(e.call(i,s,o,t))return s;o++}}}),Array.from||(Array.from=(n=Object.prototype.toString,i=function(e){return"function"==typeof e||"[object Function]"===n.call(e)},o=Math.pow(2,53)-1,s=function(e){var t=function(e){var t=Number(e);return isNaN(t)?0:0!==t&&isFinite(t)?(t>0?1:-1)*Math.floor(Math.abs(t)):t}(e);return Math.min(Math.max(t,0),o)},function(e){var t=Object(e);if(null==e)throw new TypeError("Array.from requires an array-like object - not null or undefined");var n,o=arguments.length>1?arguments[1]:void 0;if(void 0!==o){if(!i(o))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(n=arguments[2])}for(var r,a=s(t.length),l=i(this)?Object(new this(a)):new Array(a),c=0;c<a;)r=t[c],l[c]=o?void 0===n?o(r,c):o.call(n,r,c):r,c+=1;return l.length=a,l})),function(){if("function"==typeof window.CustomEvent)return!1;window.CustomEvent=function(e,t){t=t||{bubbles:!1,cancelable:!1,detail:null};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}}(),"document"in self&&("classList"in document.createElement("_")?function(){var e=document.createElement("_");if(e.classList.add("c1","c2"),!e.classList.contains("c2")){var t=function(e){var t=DOMTokenList.prototype[e];DOMTokenList.prototype[e]=function(e){var n,i=arguments.length;for(n=0;n<i;n++)e=arguments[n],t.call(this,e)}};t("add"),t("remove")}if(e.classList.toggle("c3",!1),e.classList.contains("c3")){var n=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return 1 in arguments&&!this.contains(e)==!t?t:n.call(this,e)}}e=null}():function(e){if("Element"in e){var t="classList",n="prototype",i=e.Element[n],o=Object,s=String[n].trim||function(){return this.replace(/^\s+|\s+$/g,"")},r=Array[n].indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(t in this&&this[t]===e)return t;return-1},a=function(e,t){this.name=e,this.code=DOMException[e],this.message=t},l=function(e,t){if(""===t)throw new a("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(t))throw new a("INVALID_CHARACTER_ERR","String contains an invalid character");return r.call(e,t)},c=function(e){for(var t=s.call(e.getAttribute("class")||""),n=t?t.split(/\s+/):[],i=0,o=n.length;i<o;i++)this.push(n[i]);this._updateClassName=function(){e.setAttribute("class",this.toString())}},d=c[n]=[],u=function(){return new c(this)};if(a[n]=Error[n],d.item=function(e){return this[e]||null},d.contains=function(e){return-1!==l(this,e+="")},d.add=function(){var e,t=arguments,n=0,i=t.length,o=!1;do{-1===l(this,e=t[n]+"")&&(this.push(e),o=!0)}while(++n<i);o&&this._updateClassName()},d.remove=function(){var e,t,n=arguments,i=0,o=n.length,s=!1;do{for(t=l(this,e=n[i]+"");-1!==t;)this.splice(t,1),s=!0,t=l(this,e)}while(++i<o);s&&this._updateClassName()},d.toggle=function(e,t){e+="";var n=this.contains(e),i=n?!0!==t&&"remove":!1!==t&&"add";return i&&this[i](e),!0===t||!1===t?t:!n},d.toString=function(){return this.join(" ")},o.defineProperty){var h={get:u,enumerable:!0,configurable:!0};try{o.defineProperty(i,t,h)}catch(e){-2146823252===e.number&&(h.enumerable=!1,o.defineProperty(i,t,h))}}else o[n].__defineGetter__&&i.__defineGetter__(t,u)}}(self)),Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),n=t.length;--n>=0&&t.item(n)!==this;);return n>-1}),"function"!=typeof Object.assign&&(Object.assign=function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(e),i=1;i<arguments.length;i++){var o=arguments[i];if(null!=o)for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&(n[s]=o[s])}return n}),function(){for(var e=0,t=["ms","moz","webkit","o"],n=0;n<t.length&&!window.requestAnimationFrame;++n)window.requestAnimationFrame=window[t[n]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[t[n]+"CancelAnimationFrame"]||window[t[n]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(t,n){var i=(new Date).getTime(),o=Math.max(0,16-(i-e)),s=window.setTimeout(function(){t(i+o)},o);return e=i+o,s}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(e){clearTimeout(e)})}(),function(){var e="function"==typeof Symbol&&"symbol"===t(Symbol.iterator)?function(e){return t(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":t(e)},n=function(t){this.menu="object"===(void 0===t?"undefined":e(t))?t:document.querySelector(t),this.init()};n.prototype={init:function(){var e=this;e.actions(),e.menu.hasAttribute("tabindex")||e.menu.setAttribute("tabindex","0"),e.menu.addEventListener("click",e.toggle,!1),document.addEventListener("click",function(t){t.target===e.menu||e.menu.parentNode.contains(t.target)||e.close({currentTarget:e.menu})});var t=e.menu.nextElementSibling,n=!1;document.addEventListener("mousedown",function(e){n=!0}),t.addEventListener("keydown",function(e){9===e.keyCode&&(n=!1)}),t.addEventListener("focusout",function(i){n||t.contains(i.relatedTarget)||e.close({currentTarget:e.menu})})},actions:function(){this.toggle=function(e){var t=e.currentTarget||e.srcElement;t.parentNode.classList.toggle("open"),t.parentNode.classList.contains("open")?t.setAttribute("aria-expanded",!0):t.setAttribute("aria-expanded",!1);var n=t.parentNode.classList.contains("open");return i(t.parentNode,n?"show.bs.dropdown":"hide.bs.dropdown"),i(t.parentNode,n?"shown.bs.dropdown":"hidden.bs.dropdown"),e.preventDefault(),!1},this.close=function(e){var t=e.currentTarget||e.srcElement;t.parentNode.classList.remove("open"),t.setAttribute("aria-expanded",!1),i(t.parentNode,"hide.bs.dropdown"),i(t.parentNode,"hidden.bs.dropdown")}}};var i=function(e,t){var n=document.createEvent("Event");n.initEvent(t,!0,!0),e.dispatchEvent(n)},o=document.querySelectorAll("[data-toggle=dropdown]");[].forEach.call(o,function(e,t){return new n(e)}),window.gel=window.gel||{},window.gel.bootstrap=window.gel.bootstrap||{},window.gel.bootstrap.dropdown=!0,window.Dropdown=n;var s=function(t,n){this.btn="object"===(void 0===t?"undefined":e(t))?t:document.querySelector(t),this.accordion=null,this.collapse=null,this.options={},this.duration=300,this.options.duration=document.documentElement.classList.contains("ie")?0:n.duration||this.duration,this.init()};s.prototype={init:function(){var e=this;this.actions(),this.btn.addEventListener("click",this.toggle,!1),this.btn.addEventListener("keyup",function(t){13==t.keyCode?this.toggle:27==t.keyCode&&e.close(t)}),document.addEventListener("click",this.update,!1),this.btn.addEventListener("keyup",function(e){13==e.keyCode&&this.update}),window.addEventListener("resize",this.update,!1)},actions:function(){var e=this;this.toggle=function(t){e.btn=e.getTarget(t).btn,e.collapse=e.getTarget(t).collapse,e.collapse.classList.contains("in")?e.close(t):e.open(t)},this.close=function(t){t.preventDefault(),e.btn=e.getTarget(t).btn,e.collapse=e.getTarget(t).collapse,e._close(e.collapse),e.btn.classList.remove("collapsed"),e.btn.setAttribute("aria-expanded","false")},this.open=function(t){if(t.preventDefault(),e.btn=e.getTarget(t).btn,e.collapse=e.getTarget(t).collapse,e.accordion=e.btn.getAttribute("data-parent")&&e.getClosest(e.btn,e.btn.getAttribute("data-parent")),e._open(e.collapse),e.btn.classList.add("collapsed"),e.btn.setAttribute("aria-expanded","true"),null!==e.accordion){var n=e.accordion.querySelectorAll(".collapse.in");[].forEach.call(n,function(t){t!==e.collapse&&(e._close(t),t.parentElement.querySelector(".collapsed").classList.remove("collapsed"))})}},this._open=function(t){a(t,"show.bs.collapse"),t.classList.add("in"),t.style.height=0,t.style.overflow="hidden";var n=this.getMaxHeight(t).oh,i=this.getMaxHeight(t).br;t.style.height=n+i+"px",setTimeout(function(){t.style.overflow="",a(t,"shown.bs.collapse")},e.options.duration)},this._close=function(t){t.style.overflow="hidden",t.style.height=0,a(t,"hide.bs.collapse"),t.classList.add("collapsing"),setTimeout(function(){t.classList.remove("collapsing"),t.classList.remove("in"),t.style.overflow="",a(t,"hidden.bs.collapse")},e.options.duration)},this.update=function(t){var n=t.type,i=t.target,o=document.querySelectorAll(".collapse.in");[].forEach.call(o,function(t){var o=e.getMaxHeight(t).oh,s=e.getMaxHeight(t).br;("resize"===n||"click"===n&&e.getClosest(i,".collapse")===t)&&setTimeout(function(){t.style.height=o+s+"px"},300)})},this.getMaxHeight=function(e){for(var t=e.currentStyle||window.getComputedStyle(e),n=0,i=e.children.length,o=0;o<i;o++)n+=r(e.children[o]);return{oh:n,br:parseInt(t.borderTop||0)+parseInt(t.borderBottom||0)}},this.getTarget=function(e){var t=e.currentTarget||e.srcElement,n=t.href&&t.getAttribute("href").replace("#",""),i=t.getAttribute("data-target")&&t.getAttribute("data-target"),o=n||i&&/#/.test(i)&&i.replace("#",""),s=i&&"."===i.charAt(0)&&i;return{btn:t,collapse:o&&document.getElementById(o)||s&&document.querySelector(s)}},this.getClosest=function(e,t){for(var n=t.charAt(0);e&&e!==document;e=e.parentNode){if("."===n&&e.classList.contains(t.substr(1)))return e;if("#"===n&&e.id===t.substr(1))return e}return!1}}};var r=function(e){var t=e.currentStyle||window.getComputedStyle(e);return e.offsetHeight+parseInt(/px/.test(t.marginTop)?Math.round(t.marginTop.replace("px","")):0)+parseInt(/px/.test(t.marginBottom)?Math.round(t.marginBottom.replace("px","")):0)+parseInt(/em/.test(t.marginTop)?Math.round(t.marginTop.replace("em","")*parseInt(t.fontSize)):0)+parseInt(/em/.test(t.marginBottom)?Math.round(t.marginBottom.replace("em","")*parseInt(t.fontSize)):0)},a=function(e,t){var n=document.createEvent("Event");n.initEvent(t,!0,!0),e.dispatchEvent(n)},l=document.querySelectorAll('[data-toggle="collapse"]');[].forEach.call(l,function(e){var t={};return t.duration=e.getAttribute("data-duration"),new s(e,t)}),window.addEventListener("load",function(){var e=document.querySelectorAll(".collapse");[].forEach.call(e,function(e){if(e.classList.contains("in")){var t=e.currentStyle||window.getComputedStyle(e),n=r(e.children[0]),i=parseInt(t.borderTop||0)+parseInt(t.borderBottom||0);e.style.height=n+i+"px"}})}),window.gel=window.gel||{},window.gel.bootstrap=window.gel.bootstrap||{},window.gel.bootstrap.collapse=!0,window.Collapse=s;var c=function(t,n){this.opened=!1,this.modal="object"===(void 0===t?"undefined":e(t))?t:document.querySelector(t),this.modal.Modal=this,this.options={},this.options.backdrop="false"!==n.backdrop,this.options.keyboard="false"!==n.keyboard,this.options.content=n.content,this.duration=n.duration||300,this.options.duration=document.documentElement.classList.contains("ie")?0:this.duration,this.dialog=this.modal.querySelector(".modal-dialog"),this.timer=0,this.lastFocusedElement=null,this.init()};c.prototype.init=function(){this.options.content&&void 0!==this.options.content&&this.content(this.options.content),this.resize(),this.dismiss(),this.keydown(),this.attachFocusTrap(),this.trigger()},c.prototype.attachFocusTrap=function(){var e=this,t='a[href], button:not([disabled]), textarea, input[type="text"], input[type="radio"], input[type="checkbox"], select, iframe, [tabindex]:not([tabindex="-1"])';function n(n){if(e.opened&&("Tab"===n.key||9===n.keyCode)){var i=e.modal.querySelectorAll(t);if((i=Array.prototype.slice.call(i).filter(function(e){return e.offsetWidth>0||e.offsetHeight>0||e===document.activeElement})).length){var o=i[0],s=i[i.length-1];n.shiftKey?document.activeElement===o&&(n.preventDefault(),s.focus()):document.activeElement===s&&(n.preventDefault(),o.focus())}}}function i(n){if(e.opened&&!e.modal.contains(n.target)){var i=e.modal.querySelectorAll(t);(i=Array.prototype.slice.call(i).filter(function(e){return e.offsetWidth>0||e.offsetHeight>0})).length?i[0].focus():e.modal.focus()}}e._focusTrapHandler=n,e._focusinHandler=i,e.modal.addEventListener("keydown",n),document.addEventListener("focusin",i)},c.prototype.detachFocusTrap=function(){this._focusTrapHandler&&this.modal.removeEventListener("keydown",this._focusTrapHandler),this._focusinHandler&&document.removeEventListener("focusin",this._focusinHandler),this._focusTrapHandler=null,this._focusinHandler=null},c.prototype.open=function(){this.lastFocusedElement=document.activeElement,this._open()},c.prototype.close=function(){this._close(),document.body.contains(this.lastFocusedElement)&&this.lastFocusedElement.focus()},c.prototype._open=function(){var e=this;this.options.backdrop?this.createOverlay():this.overlay=null,document.body.classList.add("modal-open"),this.modal.style.display="block",d(this.modal,"show.bs.modal"),clearTimeout(e.modal.getAttribute("data-timer")),this.timer=setTimeout(function(){null!==e.overlay&&(e._resize(),e.overlay.classList.add("in")),e.modal.classList.add("in"),e.modal.setAttribute("aria-hidden",!1),e.attachFocusTrap(),e.focusFirstElement(),d(e.modal,"shown.bs.modal")},e.options.duration/2),this.modal.setAttribute("data-timer",e.timer),this.opened=!0},c.prototype._close=function(){var e=this;this.modal.classList.remove("in"),this.modal.setAttribute("aria-hidden",!0),this.overlay&&this.overlay.classList.remove("in"),document.body.classList.remove("modal-open"),d(this.modal,"hide.bs.modal"),clearTimeout(e.modal.getAttribute("data-timer")),this.timer=setTimeout(function(){e.modal.style.display="none",e.removeOverlay(),e.detachFocusTrap(),d(e.modal,"hidden.bs.modal")},e.options.duration/2),this.modal.setAttribute("data-timer",e.timer),this.opened=!1},c.prototype.content=function(e){return this.modal.querySelector(".modal-content").innerHTML=e},c.prototype.createOverlay=function(){var e=document.createElement("div"),t=document.querySelector(".modal-backdrop");e.setAttribute("class","modal-backdrop fade"),t?this.overlay=t:(this.overlay=e,document.body.appendChild(e))},c.prototype.removeOverlay=function(){var e=document.querySelector(".modal-backdrop");null!=e&&document.body.removeChild(e)},c.prototype.keydown=function(){var e=this;document.addEventListener("keydown",function(t){e.options.keyboard&&27==t.which&&e.close()},!1)},c.prototype.trigger=function(){var e=this,t=document.querySelectorAll('[data-toggle="modal"]');[].forEach.call(t,function(t,n){t.addEventListener("click",function(t){var n=t.target,i=n.getAttribute("data-target")||n.getAttribute("href");document.querySelector(i)===e.modal&&(e.triggerElement=n,e.open())})})},c.prototype._resize=function(){var e=this.overlay||document.querySelector(".modal-backdrop"),t={w:document.documentElement.clientWidth+"px",h:document.documentElement.clientHeight+"px"};setTimeout(function(){null!==e&&e.classList.contains("in")&&(e.style.height=t.h,e.style.width=t.w)},this.options.duration/2)},c.prototype.resize=function(){var e=this;window.addEventListener("resize",function(){setTimeout(function(){e._resize()},50)},!1)},c.prototype.dismiss=function(){var e=this;this.modal.addEventListener("click",function(t){"modal"!==t.target.parentNode.getAttribute("data-dismiss")&&"modal"!==t.target.getAttribute("data-dismiss")&&t.target!==e.modal||(t.preventDefault(),e.close())})},c.prototype.focusFirstElement=function(){var e=this.modal.querySelectorAll('a[href], button:not([disabled]), textarea, input[type="text"], input[type="radio"], input[type="checkbox"], select, iframe, [tabindex]:not([tabindex="-1"])');(e=Array.prototype.slice.call(e).filter(function(e){return e.offsetWidth>0||e.offsetHeight>0})).length?e[0].focus():this.modal.focus()},window.addEventListener("message",function(e){if(e.data&&e.data.gcbConsent){var t=document.querySelector(".modal.in");t&&t.Modal&&"function"==typeof t.Modal.focusFirstElement&&t.Modal.focusFirstElement()}});var d=function(e,t){var n=document.createEvent("Event");n.initEvent(t,!0,!0),e.dispatchEvent(n)},u=document.querySelectorAll(".modal");[].forEach.call(u,function(e,t){var n={};return n.keyboard=e.getAttribute("data-keyboard"),n.backdrop=e.getAttribute("data-backdrop"),n.duration=e.getAttribute("data-duration"),new c(e,n)});var h=document.querySelectorAll('a[data-toggle="modal"]');[].forEach.call(h,function(e,t){e.addEventListener("click",function(e){e.preventDefault()})}),window.gel=window.gel||{},window.gel.bootstrap=window.gel.bootstrap||{},window.gel.bootstrap.modal=!0,window.Modal=c}();var r,a,l,c="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e.g?e.g:"undefined"!=typeof self?self:{},d=(r=function(e){!function(){function e(e,t){var n=void 0;if(t.length&&">"===t[0]){var i="qa-"+Date.now();e.classList.add(i),n=document.querySelectorAll("."+i+" "+t),e.classList.remove(i)}else n=e.querySelectorAll(t);return Array.prototype.slice.call(n)}function n(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=document.createEvent("Event");Object.keys(n).forEach(function(e){i[e]=n[e]}),i.initEvent(t,!0,!0),e.dispatchEvent(i)}function i(e,t,n){var i=void 0;return function(){var o=this,s=arguments,r=n&&!i;clearTimeout(i),i=setTimeout(function(){i=null,n||e.apply(o,s)},t),r&&e.apply(o,s)}}function o(e,t,n){window.jQuery&&window.jQuery.fn.collapse?$(e).on(t,n):e.addEventListener(t,n)}var s="function"==typeof Symbol&&"symbol"===t(Symbol.iterator)?function(e){return t(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":t(e)},r=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},a=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),l=[];function d(){l.forEach(function(e){e.el.classList.contains("navbar-sticky")&&!document.body.classList.contains("navbar-collapse-open")&&(window.pageYOffset>e.stickyThreshold?(e.el.classList.add("navbar-stuck"),document.body.classList.add("header-navbar-stuck")):(e.el.classList.remove("navbar-stuck"),document.body.classList.remove("header-navbar-stuck")))})}function u(){var e=this.querySelector(".dropdown-menu");if(e){e.style.opacity=0,e.style.display="block",this.classList.remove("gel-nav-columns"),e.classList.remove("dropdown-menu-right");var t=e.getBoundingClientRect();t.height>.6*window.innerHeight?(this.classList.add("gel-nav-columns"),(t=e.getBoundingClientRect()).right>window.innerWidth&&e.classList.add("dropdown-menu-right"),(t=e.getBoundingClientRect()).left<0&&(this.classList.remove("gel-nav-columns"),e.classList.remove("dropdown-menu-right"))):t.right>window.innerWidth&&e.classList.add("dropdown-menu-right"),e.style.opacity="",e.style.display=""}}var h=function(){function t(e){r(this,t),this.el=e,this.pageScrollPosition=0,e.Navbar=this,this.init()}return a(t,[{key:"init",value:function(){var n=this;this.el.classList.contains("navbar-sticky")&&(this.stickyThreshold=this.el.offsetTop,this.stickyPlaceholder=document.createElement("div"),this.stickyPlaceholder.className="navbar-sticky-placeholder",this.el.parentNode.appendChild(this.stickyPlaceholder));var i=this.el.querySelector(".navbar-collapse");i&&(o(i,"show.bs.collapse",function(){n.saveScrollPosition(),i.classList.add("in"),document.body.classList.add("navbar-collapse-open"),document.body.classList.add("navbar-collapse-opening")}),o(i,"shown.bs.collapse",function(){document.body.classList.remove("navbar-collapse-opening")}),o(i,"hide.bs.collapse",function(){n.restoreScrollPosition(),document.body.classList.remove("navbar-collapse-open"),document.body.classList.add("navbar-collapse-closing"),setTimeout(function(){return document.body.classList.remove("navbar-collapse-closing")},300)}),o(i,"hidden.bs.collapse",function(){n.restoreScrollPosition()})),e(this.el,'.nav-title > [href="#"]').forEach(function(e){e.addEventListener("click",function(e){return e.preventDefault()})}),e(this.el,".dropdown-auto-layout").forEach(t.autoLayoutDropdown),l.push(this)}},{key:"saveScrollPosition",value:function(){this.pageScrollPosition=window.pageYOffset}},{key:"restoreScrollPosition",value:function(){document.documentElement.scrollTop=this.pageScrollPosition,document.body.parentNode.scrollTop=this.pageScrollPosition,document.body.scrollTop=this.pageScrollPosition}}],[{key:"autoLayoutDropdown",value:function(e){o(e,"show.bs.dropdown",u.bind(e))}}]),t}();e(document,".navbar").forEach(function(e){return new h(e)});var p=!1;try{var f=Object.defineProperty({},"passive",{get:function(){p=!0}});window.addEventListener("testPassive",null,f),window.removeEventListener("testPassive",null,f)}catch(e){}d(),p?window.addEventListener("scroll",d,{passive:!0}):window.addEventListener("scroll",i(d,30)),window.Navbar=h;var m=document.querySelectorAll(".navbar");m&&Array.prototype.forEach.call(m,function(e){var t,n,i;t=e.querySelector('[data-toggle="collapse"]'),n=e.querySelector(".navbar-collapse"),i=!1,document.addEventListener("mousedown",function(e){i=!0}),document.addEventListener("keydown",function(e){9===e.keyCode&&(i=!1)}),n&&t&&n.addEventListener("focusout",function(e){i||n.contains(e.relatedTarget)||(n.classList.remove("in"),t.classList.remove("collapsed"),document.body.classList.remove("navbar-collapse-open"),document.body.classList.add("navbar-collapse-closing"),setTimeout(function(){return document.body.classList.remove("navbar-collapse-closing")},300),i=!1)})});var g=[];function v(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];g.forEach(function(t){!0===e&&(t.breakpoints=null),t.update()})}var y=function(){function t(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;r(this,t),this.nav="string"==typeof n?document.querySelector(n):n,this.nav instanceof Element&&e(this.nav,"> li").length&&(this.nav.classList.add("c-overflownav"),this.nav.parentElement.classList.add("u-overflownav-parent"),this.label=i||this.nav.getAttribute("data-label")||"More",this.srLabel=o||this.nav.getAttribute("data-srlabel")||"More navigation items",g.push(this),this.build(),this.update())}return a(t,[{key:"build",value:function(){var t,n=this;this.moreDropdown=document.createElement("li"),this.moreDropdown.className="dropdown c-overflownav__dropdown",this.moreToggle=document.createElement("a"),this.moreToggle.innerHTML='\n      <span aria-hidden="true">'+this.label+'</span>\n      <span class="sr-only">'+this.srLabel+'</span>\n      <span class="caret"></span>\n    ',this.moreToggle.className="dropdown-toggle",this.moreToggle.href="#",this.moreToggle.setAttribute("data-toggle","dropdown"),this.moreToggle.setAttribute("role","button"),this.moreToggle.setAttribute("aria-haspopup",!0),this.moreToggle.setAttribute("aria-expanded",!1),this.moreDropdown.appendChild(this.moreToggle),this.moreMenu=document.createElement("ul"),this.moreMenu.className="dropdown-menu c-overflownav__menu",this.moreDropdown.appendChild(this.moreMenu),this.items=[],this.clones=[],e(this.nav,"> li").forEach(function(e){var t=e.querySelector("a"),i=void 0;if(n.items.push(e),e.classList.add("c-overflownav__item"),t.classList.contains("dropdown-toggle")){(i=e.cloneNode()).className="nav-title";var o=document.createElement("a");o.textContent=t.textContent,o.href=t.getAttribute("href"),i.appendChild(o);var s=e.querySelector(".dropdown-menu").cloneNode(!0);s.className="",i.appendChild(s)}else i=e.cloneNode(!0);i.classList.add("c-overflownav__clone"),i.classList.add("is-hidden"),n.moreMenu.appendChild(i),n.clones.push(i)}),this.nav.appendChild(this.moreDropdown),t=this.moreToggle,window.Dropdown?new Dropdown(t):$(t).dropdown(),Navbar.autoLayoutDropdown(this.moreDropdown)}},{key:"getBreakpoints",value:function(){var e=this.moreDropdown.clientWidth;this.breakpoints=this.items.map(function(t){return t.classList.remove("is-hidden"),e+=t.clientWidth})}},{key:"update",value:function(){if(!(window.innerWidth<960)){this.breakpoints||this.getBreakpoints();for(var e=this.nav.clientWidth,t=this.breakpoints.length-1;t>=0;t--)e<this.breakpoints[t]?(this.items[t].classList.add("is-hidden"),this.clones[t].classList.remove("is-hidden")):(this.items[t].classList.remove("is-hidden"),this.clones[t].classList.add("is-hidden"));e<this.breakpoints[this.breakpoints.length-1]?this.nav.classList.add("is-overflowing"):this.nav.classList.remove("is-overflowing")}}}]),t}();e(document,"[data-overflownav]").forEach(function(e){return new y(e,e.getAttribute("data-label"),e.getAttribute("data-srlabel"))}),document.body.addEventListener("typekitLoaded",v.bind(null,!0)),window.addEventListener("resize",i(v,50)),window.gel=window.gel||{},window.gel.OverflowNav=y;var b={blockSelector:null,sizes:[{suffix:"sm",width:2,fillLast:2},{suffix:"md",width:3,fillLast:3,maxWidth:2},{suffix:"lg",width:4,fillLast:4,maxWidth:2}]},w=0,E=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r(this,t),this.container="string"==typeof e?document.querySelector(e):e,this.options=Object.assign({},b,n),w++,this.layout()}return a(t,[{key:"layout",value:function(){var t=this.options.blockSelector?e(this.container,this.options.blockSelector):Array.prototype.slice.call(this.container.children);t.length&&this.options.sizes.forEach(function(e){var n=e.width||3,i=e.suffix||"lg",o=e.fillLast>0?e.fillLast:0,s=Math.min(n,e.maxWidth||n),r=function(){return Array.from({length:n},function(){return null})},a=r(),l=[],c=[],d={},u=function(e){return e.filter(function(e){return null!==e}).length},h=function(e){c.push(e),l.length||l.push(r()),a=l.shift(0)},p=function(e,t,o,s,a,c){for(var u=o;u<o+a;u++)for(var h=t;h<t+s;h++)if(c[h]=e,u>o&&(0===t||t+s===n)){var p=r();p[h]=e,l.push(p),e.classList.add("is-tall--"+i),t+s===n&&e.classList.add("is-right--"+i)}e.classList.add("is-"+s+"x--"+i),d[e.getAttribute("data-blockid")]={x:t,y:o,width:s,height:a}},f=function(e,t,o){var r=o||s,l=d[e.getAttribute("data-blockid")],c=Math.min(r,n-(u(a)-l.width));e.classList.remove("is-"+l.width+"x--"+i),e.classList.add("is-"+c+"x--"+i),p(e,l.x,l.y,c,l.height,t)};if(t.forEach(function(e,t){var i=w+"-"+t;for(e.setAttribute("data-blockid",i);u(a)===n&&0<n;)h(a);var o=a.indexOf(null);if(o<0||0>n)throw new Error("Too many iterations, avoiding infinite loop");var r=c.length,l=parseInt(e.getAttribute("data-blockWidth"),10)||1,m=parseInt(e.getAttribute("data-blockHeight"),10)||1;if(n-u(a)>=l)p(e,o,r,l,m,a);else{var g=a[o-1],v=d[g.getAttribute("data-blockid")],y=n-v.x<=s;o>0&&y&&1==v.height?(f(g,a),h(a),p(e,a.indexOf(null),c.length,l,m,a)):p(e,o,r,1,m,a)}}),o&&u(a)<n){var m=a[a.indexOf(null)-1];f(m,a,o)}})}}]),t}();e(document,"[data-mosaic]").forEach(function(e){return new E(e)}),window.gel=window.gel||{},window.gel.Mosaic=E;var L=function(){function t(e,n){r(this,t),this.select="object"===(void 0===e?"undefined":s(e))?e:document.querySelector(e),this.placeholder=n||this.select.getAttribute("data-placeholder"),this.id=k++,this.init()}return a(t,[{key:"init",value:function(){this.buildDropdown(),this.buildMenu(),this.select.parentNode.insertBefore(this.dropdown,this.select.nextSibling),this.select.style.display="none"}},{key:"buildDropdown",value:function(){var e=this;this.dropdown=document.createElement("div"),this.dropdown.className="dropdown",this.dropdown.innerHTML='<a id="dropdown-select-toggle-'+this.id+'" class="dropdown-toggle" data-target="#" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><span class="selected-label"></span> <span class="caret"></span></a><ul class="dropdown-menu" aria-labelledby="dropdown-select-toggle-'+this.id+'"></ul>',this.toggle=this.dropdown.querySelector('[data-toggle="dropdown"]'),this.selectedLabel=this.dropdown.querySelector(".selected-label"),this.menu=this.dropdown.querySelector(".dropdown-menu"),this.menu.addEventListener("click",function(t){var n=t.target.getAttribute("data-value");null!==n&&(e.setValue(n),t.preventDefault())}),new Dropdown(this.toggle)}},{key:"buildMenu",value:function(){var t=this,n=e(this.select,"optgroup"),i=[];(n.length?n.map(function(e){return{title:e.getAttribute("label"),items:S(e)}}):[{title:null,items:S(this.select)}]).forEach(function(e){var n=document.createElement("li");n.innerHTML="\n        "+(e.title?'<div class="group-title">'+e.title+"</div>":"")+"\n        <ul></ul>\n      ",t.menu.appendChild(n);var o=n.querySelector("ul");e.items.forEach(function(e){var t=document.createElement("li");e.divider?t.classList.add("divider"):(t.innerHTML='\n            <a href="#" data-value="'+e.value+'" data-label="'+e.label+'">\n              '+e.title+"\n            </a>\n          ",e.selected&&(t.classList.add("selected"),i.push(e.label)),e.disabled&&t.classList.add("disabled")),o.appendChild(t)})}),this.selectedLabel.textContent=i.join(", ")||this.placeholder||""}},{key:"clearMenu",value:function(){this.menu.innerHTML=""}},{key:"update",value:function(){this.clearMenu(),this.buildMenu()}},{key:"getValue",value:function(){return this.select.value}},{key:"setValue",value:function(e){var t=this.menu.querySelector('[data-value="'+e+'"]');t&&(this.select.value=e,n(this.select,"change"),this.selectedLabel.textContent=t.getAttribute("data-label"),this.select.multiple||(this.menu.querySelector(".selected")&&this.menu.querySelector(".selected").classList.remove("selected"),this.dropdown.classList.remove("open")),t.classList.add("selected"))}}]),t}();function S(t){var n=[];return e(t,"option").forEach(function(e){e.textContent&&n.push({value:e.getAttribute("value")||e.textContent,title:e.textContent,label:e.getAttribute("label")||e.textContent,selected:null!==e.getAttribute("selected"),disabled:e.disabled,divider:e.classList.contains("divider")})}),n}var k=0;e(document,"[data-dropdown-select]").forEach(function(e){return new L(e)}),window.gel=window.gel||{},window.gel.bootstrap=window.gel.bootstrap||{},window.gel.bootstrap.dropdownselect=!0,window.DropdownSelect=L,"undefined"!=typeof window?window:void 0!==c||"undefined"!=typeof self&&self;var _,C=function(e,n){return function(e){"undefined"!=typeof self&&self,e.exports=function(e){function t(i){if(n[i])return n[i].exports;var o=n[i]={i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,n,i){function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var s="function"==typeof Symbol&&"symbol"==t(Symbol.iterator)?function(e){return t(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":t(e)},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=function(){function e(t){var n=this;if(o(this,e),this.config=e.mergeSettings(t),this.selector="string"==typeof this.config.selector?document.querySelector(this.config.selector):this.config.selector,null===this.selector)throw new Error("Something wrong with your selector 😭");this.resolveSlidesNumber(),this.selectorWidth=this.selector.offsetWidth,this.innerElements=[].slice.call(this.selector.children),this.currentSlide=Math.max(0,Math.min(this.config.startIndex,this.innerElements.length-this.perPage)),this.transformProperty=e.webkitOrNot(),["resizeHandler","touchstartHandler","touchendHandler","touchmoveHandler","mousedownHandler","mouseupHandler","mouseleaveHandler","mousemoveHandler","clickHandler"].forEach(function(e){n[e]=n[e].bind(n)}),this.init()}return r(e,[{key:"attachEvents",value:function(){window.addEventListener("resize",this.resizeHandler),this.config.draggable&&(this.pointerDown=!1,this.drag={startX:0,endX:0,startY:0,letItGo:null,preventClick:!1},this.selector.addEventListener("touchstart",this.touchstartHandler),this.selector.addEventListener("touchend",this.touchendHandler),this.selector.addEventListener("touchmove",this.touchmoveHandler),this.selector.addEventListener("mousedown",this.mousedownHandler),this.selector.addEventListener("mouseup",this.mouseupHandler),this.selector.addEventListener("mouseleave",this.mouseleaveHandler),this.selector.addEventListener("mousemove",this.mousemoveHandler),this.selector.addEventListener("click",this.clickHandler))}},{key:"detachEvents",value:function(){window.removeEventListener("resize",this.resizeHandler),this.selector.style.cursor="auto",this.selector.removeEventListener("touchstart",this.touchstartHandler),this.selector.removeEventListener("touchend",this.touchendHandler),this.selector.removeEventListener("touchmove",this.touchmoveHandler),this.selector.removeEventListener("mousedown",this.mousedownHandler),this.selector.removeEventListener("mouseup",this.mouseupHandler),this.selector.removeEventListener("mouseleave",this.mouseleaveHandler),this.selector.removeEventListener("mousemove",this.mousemoveHandler),this.selector.removeEventListener("click",this.clickHandler)}},{key:"init",value:function(){this.attachEvents(),this.selector.style.overflow="hidden",this.sliderFrame=document.createElement("div"),this.sliderFrame.style.width=this.selectorWidth/this.perPage*this.innerElements.length+"px",this.sliderFrame.style.webkitTransition="all "+this.config.duration+"ms "+this.config.easing,this.sliderFrame.style.transition="all "+this.config.duration+"ms "+this.config.easing,this.config.draggable&&(this.selector.style.cursor="-webkit-grab");for(var e=document.createDocumentFragment(),t=0;t<this.innerElements.length;t++){var n=document.createElement("div");n.style.cssFloat="left",n.style.float="left",n.style.width=100/this.innerElements.length+"%",n.appendChild(this.innerElements[t]),e.appendChild(n)}this.sliderFrame.appendChild(e),this.selector.innerHTML="",this.selector.appendChild(this.sliderFrame),this.slideToCurrent(),this.config.onInit.call(this)}},{key:"resolveSlidesNumber",value:function(){if("number"==typeof this.config.perPage)this.perPage=this.config.perPage;else if("object"===s(this.config.perPage))for(var e in this.perPage=1,this.config.perPage)window.innerWidth>=e&&(this.perPage=this.config.perPage[e])}},{key:"prev",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments[1];if(!(this.innerElements.length<=this.perPage)){var n=this.currentSlide;0===this.currentSlide&&this.config.loop?this.currentSlide=this.innerElements.length-this.perPage:this.currentSlide=Math.max(this.currentSlide-e,0),n!==this.currentSlide&&(this.slideToCurrent(),this.config.onChange.call(this),t&&t.call(this))}}},{key:"next",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments[1];if(!(this.innerElements.length<=this.perPage)){var n=this.currentSlide;this.currentSlide===this.innerElements.length-this.perPage&&this.config.loop?this.currentSlide=0:this.currentSlide=Math.min(this.currentSlide+e,this.innerElements.length-this.perPage),n!==this.currentSlide&&(this.slideToCurrent(),this.config.onChange.call(this),t&&t.call(this))}}},{key:"goTo",value:function(e,t){if(!(this.innerElements.length<=this.perPage)){var n=this.currentSlide;this.currentSlide=Math.min(Math.max(e,0),this.innerElements.length-this.perPage),n!==this.currentSlide&&(this.slideToCurrent(),this.config.onChange.call(this),t&&t.call(this))}}},{key:"slideToCurrent",value:function(){this.sliderFrame.style[this.transformProperty]="translate3d(-"+this.currentSlide*(this.selectorWidth/this.perPage)+"px, 0, 0)"}},{key:"updateAfterDrag",value:function(){var e=this.drag.endX-this.drag.startX,t=Math.abs(e),n=this.config.multipleDrag?Math.ceil(t/(this.selectorWidth/this.perPage)):1;e>0&&t>this.config.threshold&&this.innerElements.length>this.perPage?this.prev(n):e<0&&t>this.config.threshold&&this.innerElements.length>this.perPage&&this.next(n),this.slideToCurrent()}},{key:"resizeHandler",value:function(){this.resolveSlidesNumber(),this.selectorWidth=this.selector.offsetWidth,this.sliderFrame.style.width=this.selectorWidth/this.perPage*this.innerElements.length+"px",this.currentSlide+this.perPage>this.innerElements.length&&(this.currentSlide=this.innerElements.length<=this.perPage?0:this.innerElements.length-this.perPage),this.slideToCurrent()}},{key:"clearDrag",value:function(){this.drag={startX:0,endX:0,startY:0,letItGo:null,preventClick:this.drag.preventClick}}},{key:"touchstartHandler",value:function(e){-1!==["TEXTAREA","OPTION","INPUT","SELECT"].indexOf(e.target.nodeName)||(e.stopPropagation(),this.pointerDown=!0,this.drag.startX=e.touches[0].pageX,this.drag.startY=e.touches[0].pageY)}},{key:"touchendHandler",value:function(e){e.stopPropagation(),this.pointerDown=!1,this.sliderFrame.style.webkitTransition="all "+this.config.duration+"ms "+this.config.easing,this.sliderFrame.style.transition="all "+this.config.duration+"ms "+this.config.easing,this.drag.endX&&this.updateAfterDrag(),this.clearDrag()}},{key:"touchmoveHandler",value:function(e){e.stopPropagation(),null===this.drag.letItGo&&(this.drag.letItGo=Math.abs(this.drag.startY-e.touches[0].pageY)<Math.abs(this.drag.startX-e.touches[0].pageX)),this.pointerDown&&this.drag.letItGo&&(e.preventDefault(),this.drag.endX=e.touches[0].pageX,this.sliderFrame.style.webkitTransition="all 0ms "+this.config.easing,this.sliderFrame.style.transition="all 0ms "+this.config.easing,this.sliderFrame.style[this.transformProperty]="translate3d("+-1*(this.currentSlide*(this.selectorWidth/this.perPage)+(this.drag.startX-this.drag.endX))+"px, 0, 0)")}},{key:"mousedownHandler",value:function(e){-1!==["TEXTAREA","OPTION","INPUT","SELECT"].indexOf(e.target.nodeName)||(e.preventDefault(),e.stopPropagation(),this.pointerDown=!0,this.drag.startX=e.pageX)}},{key:"mouseupHandler",value:function(e){e.stopPropagation(),this.pointerDown=!1,this.selector.style.cursor="-webkit-grab",this.sliderFrame.style.webkitTransition="all "+this.config.duration+"ms "+this.config.easing,this.sliderFrame.style.transition="all "+this.config.duration+"ms "+this.config.easing,this.drag.endX&&this.updateAfterDrag(),this.clearDrag()}},{key:"mousemoveHandler",value:function(e){e.preventDefault(),this.pointerDown&&("A"===e.target.nodeName&&(this.drag.preventClick=!0),this.drag.endX=e.pageX,this.selector.style.cursor="-webkit-grabbing",this.sliderFrame.style.webkitTransition="all 0ms "+this.config.easing,this.sliderFrame.style.transition="all 0ms "+this.config.easing,this.sliderFrame.style[this.transformProperty]="translate3d("+-1*(this.currentSlide*(this.selectorWidth/this.perPage)+(this.drag.startX-this.drag.endX))+"px, 0, 0)")}},{key:"mouseleaveHandler",value:function(e){this.pointerDown&&(this.pointerDown=!1,this.selector.style.cursor="-webkit-grab",this.drag.endX=e.pageX,this.drag.preventClick=!1,this.sliderFrame.style.webkitTransition="all "+this.config.duration+"ms "+this.config.easing,this.sliderFrame.style.transition="all "+this.config.duration+"ms "+this.config.easing,this.updateAfterDrag(),this.clearDrag())}},{key:"clickHandler",value:function(e){this.drag.preventClick&&e.preventDefault(),this.drag.preventClick=!1}},{key:"updateFrame",value:function(){this.sliderFrame=document.createElement("div"),this.sliderFrame.style.width=this.selectorWidth/this.perPage*this.innerElements.length+"px",this.sliderFrame.style.webkitTransition="all "+this.config.duration+"ms "+this.config.easing,this.sliderFrame.style.transition="all "+this.config.duration+"ms "+this.config.easing,this.config.draggable&&(this.selector.style.cursor="-webkit-grab");for(var e=document.createDocumentFragment(),t=0;t<this.innerElements.length;t++){var n=document.createElement("div");n.style.cssFloat="left",n.style.float="left",n.style.width=100/this.innerElements.length+"%",n.appendChild(this.innerElements[t]),e.appendChild(n)}this.sliderFrame.appendChild(e),this.selector.innerHTML="",this.selector.appendChild(this.sliderFrame),this.slideToCurrent()}},{key:"remove",value:function(e,t){if(e<0||e>=this.innerElements.length)throw new Error("Item to remove doesn't exist 😭");var n=e<this.currentSlide,i=this.currentSlide+this.perPage-1===e;(n||i)&&this.currentSlide--,this.innerElements.splice(e,1),this.updateFrame(),t&&t.call(this)}},{key:"insert",value:function(e,t,n){if(t<0||t>this.innerElements.length+1)throw new Error("Unable to inset it at this index 😭");if(-1!==this.innerElements.indexOf(e))throw new Error("The same item in a carousel? Really? Nope 😭");var i=t<=this.currentSlide>0&&this.innerElements.length;this.currentSlide=i?this.currentSlide+1:this.currentSlide,this.innerElements.splice(t,0,e),this.updateFrame(),n&&n.call(this)}},{key:"prepend",value:function(e,t){this.insert(e,0),t&&t.call(this)}},{key:"append",value:function(e,t){this.insert(e,this.innerElements.length+1),t&&t.call(this)}},{key:"destroy",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments[1];if(this.detachEvents(),e){for(var n=document.createDocumentFragment(),i=0;i<this.innerElements.length;i++)n.appendChild(this.innerElements[i]);this.selector.innerHTML="",this.selector.appendChild(n),this.selector.removeAttribute("style")}t&&t.call(this)}}],[{key:"mergeSettings",value:function(e){var t={selector:".siema",duration:200,easing:"ease-out",perPage:1,startIndex:0,draggable:!0,multipleDrag:!0,threshold:20,loop:!1,onInit:function(){},onChange:function(){}},n=e;for(var i in n)t[i]=n[i];return t}},{key:"webkitOrNot",value:function(){return"string"==typeof document.documentElement.style.transform?"transform":"WebkitTransform"}}]),e}();n.default=a,e.exports=n.default}])}(n={exports:{}}),n.exports}(),T=(_=C)&&_.__esModule&&Object.prototype.hasOwnProperty.call(_,"default")?_.default:_,A="c-carousel",x={siemaOptions:{},paginationControls:!0},O=0;function P(e){return e.replace(/translate3d\(([0-9\.\-]+)px, ([0-9\.\-]+)px, 0(px)?\)/,"translate($1px, $2px)")}function N(e){var t=function(e){if("transparent"===e)return{r:0,g:0,b:0,a:0};var t=e.match(/rgba?\(([0-9]{1,3}), ([0-9]{1,3}), ([0-9]{1,3})(, ([0-9]{1,3}))?\)/);return t?{r:parseInt(t[1],10),g:parseInt(t[2],10),b:parseInt(t[3],10),a:t[5]?parseFloat(t[5]):1}:null}(window.getComputedStyle(e).backgroundColor);return t.a>0?t:e.parentElement?N(e.parentElement):{r:255,g:255,b:255,a:1}}var q=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r(this,t),O++,this.carouselNumber=O,this.el="string"==typeof e?document.querySelector(e):e,this.container=this.el.querySelector("."+A+"__container"),this.options=Object.assign({},x,n),this.create()}return a(t,[{key:"create",value:function(){var t=this,i=Array.prototype.slice.call(this.container.children);if(this.el.classList.add("is-active"),this.siema=new T(Object.assign({},this.options.siemaOptions,{selector:this.container,onInit:function(){t.el.querySelector("."+A+"__container > div").classList.add(A+"__slider"),e(t.el,"."+A+"__container > div > div").forEach(function(e){return e.classList.add(A+"__item-container")}),n(t.el,"gel.carousel.siemainit",{siema:t.siema})},onChange:function(){if(t.options.paginationControls){e(t.el,".c-dot-paging__indicator.is-active").forEach(function(e){return e.classList.remove("is-active")});var o=t.el.querySelector('[data-index="'+t.siema.currentSlide+'"]');o&&(o.classList.add("is-active"),o.querySelector(".sr-only").setAttribute("aria-live","assertive"),setTimeout(function(){o.querySelector(".sr-only").removeAttribute("aria-live")},1e3),e(t.el,".c-dot-paging__indicator").forEach(function(e,n){var i=e.querySelector(".sr-only");if(i){var o=n===t.siema.currentSlide;i.textContent=o?"Item "+(n+1)+" is active in carousel "+t.carouselNumber+" above.":"Go to item "+(n+1)+" in carousel "+t.carouselNumber+" above."}})),t.prevBtn.disabled=0===t.siema.currentSlide,t.nextBtn.disabled=t.siema.currentSlide===i.length-1}var s=t.el.querySelector("."+A+"__slider");s.style.transform=P(s.style.transform),setTimeout(function(){s.style.transform=P(s.style.transform)},200),n(t.el,"gel.carousel.change",{siema:t.siema})}})),this.options.paginationControls){var o=this.pagination=document.createElement("div");o.className=A+"__pagination c-dot-paging c-dot-paging--centered",o.innerHTML='\n        <button class="c-dot-paging__prev-btn" disabled><span class="sr-only">Previous item in carousel '+this.carouselNumber+'</span></button>\n        <div class="c-dot-paging__indicators">\n          '+i.map(function(e,n){return'\n              <button class="c-dot-paging__indicator '+(0===n?"is-active":"")+'" data-index="'+n+'">\n                <span class="sr-only">'+(0===n?"Item "+(n+1)+" is active in carousel "+t.carouselNumber+" above.":"Go to item "+(n+1)+" in carousel "+t.carouselNumber+" above.")+"</span>\n              </button>\n            "}).join("")+'\n        </div>\n        <button class="c-dot-paging__next-btn"><span class="sr-only">Next item in carousel '+this.carouselNumber+"</span></button>\n      ",this.prevBtn=o.querySelector(".c-dot-paging__prev-btn"),this.nextBtn=o.querySelector(".c-dot-paging__next-btn"),this.el.appendChild(o),o.addEventListener("click",function(e){var n=e.target;n.matches(".c-dot-paging__indicator")?t.siema.goTo(parseInt(n.getAttribute("data-index"),10)):n.matches(".c-dot-paging__prev-btn, .c-dot-paging__prev-btn *")?t.siema.prev():n.matches(".c-dot-paging__next-btn, .c-dot-paging__next-btn *")&&t.siema.next()}),this.el.classList.contains("js-carousel--theme-auto")&&this.setAutoTheme()}n(this.el,"gel.carousel.init",{siema:this.siema})}},{key:"destroy",value:function(){this.siema.destroy(!0),this.el.classList.remove("is-active"),this.options.paginationControls&&this.el.removeChild(this.pagination),n(this.el,"gel.carousel.destroy")}},{key:"setAutoTheme",value:function(){var e=N(this.el);(299*e.r+587*e.g+114*e.b)/1e3>=128?this.el.classList.remove(A+"--dark"):this.el.classList.add(A+"--dark")}}]),t}();e(document,"[data-carousel]").forEach(function(e){return new q(e)}),window.gel=window.gel||{},window.gel.Carousel=q;var F={inputOnFocus:function(e){H.getInstance(e.target).form.classList.add("c-search__form--focus")},inputOnBlur:function(e){H.getInstance(e.target).form.classList.remove("c-search__form--focus")},inputOnInput:function(e){var t=H.getInstance(e.target);e.target.value.length?(t.form.classList.add("c-search__form--dirty"),t.submitBtn.classList.remove("btn-default-ghost"),t.submitBtn.classList.add("btn-primary-ghost")):(t.form.classList.remove("c-search__form--dirty"),t.submitBtn.classList.remove("btn-primary-ghost"),t.submitBtn.classList.add("btn-default-ghost")),n(e.target,"gel.search.input")}},M=[],H=function(){function e(t){r(this,e),this.form="string"==typeof t?document.querySelector(t):t,this.init(),M.push(this)}return a(e,[{key:"init",value:function(){this.input=this.form.querySelector(".c-search__input"),this.submitBtn=this.form.querySelector(".c-search__submit-btn"),this.input.value.length&&(this.form.classList.add("c-search__form--dirty"),this.submitBtn.classList.remove("btn-default-ghost"),this.submitBtn.classList.add("btn-primary-ghost")),this.input.addEventListener("focus",F.inputOnFocus),this.input.addEventListener("blur",F.inputOnBlur),this.input.addEventListener("input",F.inputOnInput)}},{key:"destroy",value:function(){this.input.removeEventListener("focus",F.inputOnFocus),this.input.removeEventListener("blur",F.inputOnBlur),this.input.removeEventListener("input",F.inputOnInput),M=M.splice(M.indexOf(this),1)}}],[{key:"getInstance",value:function(e){for(var t=e,n=void 0;t=t.parentElement;)t.classList.contains("c-search__form")&&(n=t);return M.find(function(e){return e.form===n})}}]),e}();e(document,".c-search__form").forEach(function(e){return new H(e)}),window.gel=window.gel||{},window.gel.search=window.gel.search||{};var D="c-search",j="data-search-toggle",B={searchUrl:null,searchLabel:"Search",inputName:"q",inputLabel:"Search",closeSearchLabel:"Close search",suggestionsLabel:"Suggestions",alignToggles:!0},I=void 0,z=void 0,W=void 0,X=void 0,R=void 0,G=void 0,V=void 0,Y=void 0,U=void 0,K=void 0,J=void 0,Q=void 0,Z=void 0,ee=void 0,te=void 0,ne=void 0,ie={windowOnResize:i(function(){oe(te&&te.getBoundingClientRect())},50),documentOnKeyup:function(e){se()&&27===e.keyCode&&ae()},documentOnFocusIn:function(e){for(var t=e.target;t=t.parentElement;)if(t===X)return;Y.focus()},toggleOnClick:function(e){te=e.currentTarget,le(),e.preventDefault()},inputOnFocus:function(){return G.classList.add(D+"__form--focus")},inputOnBlur:function(){return G.classList.remove(D+"__form--focus")},inputOnInput:function(){z&&z(Y.value,function(e){Q.innerHTML=e,n(X,"gel.search.suggest")})}};function oe(e){if(I.alignToggles&&e){var t=Z,n=t.clientWidth,i=t.clientHeight;X.appendChild(Z),Z.style.top=e.top+e.height/2-i/2+"px",Z.style.left=e.left+e.width/2-n/2+"px"}else R.insertBefore(Z,R.firstElementChild),Z.style.top="",Z.style.left=""}function se(){return X&&(X.classList.contains(D+"-overlay--open")||X.classList.contains(D+"-overlay--opening"))}function re(){if(X){var e=te&&te.getBoundingClientRect();ne=window.pageYOffset,document.body.classList.add(D+"-overlay__body"),X.style.display="block",X.classList.add(D+"-overlay--opening"),Y.focus(),oe(e),setTimeout(function(){X.classList.add(D+"-overlay--open"),X.classList.remove(D+"-overlay--opening"),X.style.display="",n(X,"gel.search.shown")},300),n(X,"gel.search.show"),window.addEventListener("resize",ie.windowOnResize),document.addEventListener("keyup",ie.documentOnKeyup),document.addEventListener("focusin",ie.documentOnFocusIn)}}function ae(){X&&(X.classList.add(D+"-overlay--closing"),X.classList.remove(D+"-overlay--open"),function(){for(Y.value="";Q.firstElementChild;)Q.removeChild(Q.firstElementChild)}(),setTimeout(function(){X.classList.remove(D+"-overlay--closing"),document.body.classList.remove(D+"-overlay__body"),document.documentElement.scrollTop=ne,document.body.parentNode.scrollTop=ne,document.body.scrollTop=ne,n(X,"gel.search.hidden")},300),n(X,"gel.search.hide"),window.removeEventListener("resize",ie.windowOnResize),document.removeEventListener("keyup",ie.documentOnKeyup),document.removeEventListener("focusin",ie.documentOnFocusIn),te&&(te.focus(),te=null))}function le(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;!0===e?re():!1===e?ae():le(!se())}function ce(){n(X,"gel.search.destroy"),X.parentElement.removeChild(X),Y.removeEventListener("focus",ie.inputOnFocus),Y.removeEventListener("blur",ie.inputOnBlur),window.removeEventListener("resize",ie.windowOnResize),document.removeEventListener("keyup",ie.documentOnKeyup),document.removeEventListener("focusin",ie.documentOnFocusIn),ee&&ee.removeEventListener("click",ie.toggleOnClick),W&&W.destroy(),X=null,R=null,G=null,Y=null,U=null,K=null,J=null,Q=null,Z=null,te=null}function de(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Object.assign({},B,window.gel.search.options);I=Object.assign({},t,e),X&&ce(),(X=document.createElement("section")).className=D+"-overlay hidden-print",(R=document.createElement("div")).className=D+"-overlay__container container",X.appendChild(R),(Z=document.createElement("button")).className=D+"-overlay__close-btn",Z.innerHTML='<span class="sr-only">'+I.closeSearchLabel+"</span>",Z.type="button",Z.addEventListener("click",ae),R.appendChild(Z),(G=document.createElement("form")).className=D+"__form",G.action=I.searchUrl,G.method="GET",G.setAttribute("role","search"),R.appendChild(G),(V=document.createElement("label")).className=D+"__label sr-only",V.htmlFor=D+"__input",V.textContent=I.inputLabel,G.appendChild(V),(Y=document.createElement("input")).className=D+"__input",Y.id=D+"__input",Y.type="search",Y.name=I.inputName,Y.autocomplete="off",Y.setAttribute("value",""),Y.addEventListener("focus",ie.inputOnFocus),Y.addEventListener("blur",ie.inputOnBlur),Y.addEventListener("input",ie.inputOnInput),G.appendChild(Y),(U=document.createElement("input")).className=D+"__submit-btn btn btn-default-ghost",U.type="submit",U.value=I.searchLabel,G.appendChild(U),(K=document.createElement("div")).className=D+"__suggestions",R.appendChild(K),(Q=document.createElement("ul")).className=D+"__suggestions-list",K.appendChild(Q),(J=document.createElement("div")).className=D+"__heading "+D+"__suggestions-heading",J.textContent=I.suggestionsLabel,K.appendChild(J),document.body.insertBefore(X,document.body.firstElementChild),W=new H(G),n(X,"gel.search.create")}if(ee=document.querySelector("["+j+"]")){ee.addEventListener("click",ie.toggleOnClick);var ue={};if(ee.getAttribute("href")&&(ue.searchUrl=ee.getAttribute("href")),ee.getAttribute(j))try{var he=JSON.parse(ee.getAttribute(j));ue=Object.assign(ue,he)}catch(e){}de(ue)}function pe(e){var t=function(e){for(;(e=e.parentElement)&&!e.matches(".c-banner"););return e}(e.target);t&&(n(t,"gel.banner.beforedismiss"),t.parentElement.removeChild(t),n(t,"gel.banner.dismiss"))}window.gel.search={init:de,open:re,close:ae,toggle:le,setSuggestionsProvider:function(e){"function"==typeof e&&(z=i(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:100))},destroy:ce,isOpen:se};var fe=function(){function e(t){r(this,e),this.el="string"==typeof t?document.querySelector(t):t,this.init()}return a(e,[{key:"init",value:function(){if(this.closeBtn=this.el.querySelector('[data-dismiss="banner"]'),!this.closeBtn){this.closeBtn=document.createElement("button"),this.closeBtn.className="c-banner__close-btn",this.closeBtn.innerHTML='<span class="sr-only">Close banner</span>';var e=this.el.querySelector(".container, .container-fluid")||this.el;e.insertBefore(this.closeBtn,e.firstElementChild)}this.closeBtn.addEventListener("click",pe),n(this.el,"gel.banner.init")}},{key:"destroy",value:function(){this.closeBtn.removeEventListener("click",pe),"banner"!==this.closeBtn.getAttribute("data-dismiss")&&this.closeBtn.remove(),n(this.el,"gel.banner.destroy")}}]),e}();e(document,'[data-dismiss="banner"]').forEach(function(e){return e.addEventListener("click",pe)}),window.gel=window.gel||{},window.gel.Banner=fe;var me=/(https?:)?\/\/(www\.)?(youtube\.com|youtu\.be)/;e(document,".modal").forEach(function(t){var n=t.querySelector("iframe"),i=t.hasAttribute("data-lazyload")?"data-src":"src";if(n){var s=n.getAttribute(i),r=n.getAttribute("data-gcb-src"),a="https%3A%2F%2F"+window.location.hostname;s&&me.test(s)&&(s.replace(/&origin=([^&]*)+/g,""),n.setAttribute(i,s+(s.indexOf("?")>-1?"&":"?")+"enablejsapi=1&origin="+a)),r&&me.test(r)&&(r.replace(/&origin=([^&]*)+/g,""),n.setAttribute("data-gcb-src",r+(r.indexOf("?")>-1?"&":"?")+"enablejsapi=1&origin="+a))}o(t,"show.bs.modal",function(){var n=t.hasAttribute("data-autoplay"),i=t.hasAttribute("data-lazyload")&&"loaded"!==t.getAttribute("data-lazyload");n&&function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.querySelector("video"),i=e.querySelector("iframe"),o=t?"data-src":"src";if(n&&(t?n.addEventListener("loadeddata",function(){return n.play()}):n.play()),i&&i.hasAttribute(o)&&me.test(i[o])){var s=function(){return i.contentWindow.postMessage('{"event": "command", "func": "playVideo"}',"*")};t?i.addEventListener("load",s):s()}e.setAttribute("data-autoplay","played")}(t,i),i&&function(t){e(t,"[data-src]").forEach(function(e){return e.src=e.getAttribute("data-src")}),t.setAttribute("data-lazyload","loaded")}(t)}),o(t,"hide.bs.modal",function(){return function(e){var t=e.querySelector("video"),n=e.querySelector("iframe");t&&t.pause(),n&&me.test(n.src)&&n.contentWindow.postMessage('{"event": "command", "func": "pauseVideo"}',"*")}(t)})})}()},r(a={exports:{}}),a.exports);(l=d)&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")&&l.default;var u="function"==typeof Symbol&&"symbol"===t(Symbol.iterator)?function(e){return t(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":t(e)};!function(e,t,n){function i(e,t){return(void 0===e?"undefined":u(e))===t}function o(e){var t=C.className,n=L._config.classPrefix||"";if(T&&(t=t.baseVal),L._config.enableJSClass){var i=new RegExp("(^|\\s)"+n+"no-js(\\s|$)");t=t.replace(i,"$1"+n+"js$2")}L._config.enableClasses&&(t+=" "+n+e.join(" "+n),T?C.className.baseVal=t:C.className=t)}function s(){return"function"!=typeof t.createElement?t.createElement(arguments[0]):T?t.createElementNS.call(t,"http://www.w3.org/2000/svg",arguments[0]):t.createElement.apply(t,arguments)}function r(){var e=t.body;return e||((e=s(T?"svg":"body")).fake=!0),e}function a(e,t){if("object"==(void 0===e?"undefined":u(e)))for(var n in e)_(e,n)&&a(n,e[n]);else{var i=(e=e.toLowerCase()).split("."),s=L[i[0]];if(2==i.length&&(s=s[i[1]]),void 0!==s)return L;t="function"==typeof t?t():t,1==i.length?L[i[0]]=t:(!L[i[0]]||L[i[0]]instanceof Boolean||(L[i[0]]=new Boolean(L[i[0]])),L[i[0]][i[1]]=t),o([(t&&0!=t?"":"no-")+i.join("-")]),L._trigger(e,t)}return L}function l(e,t){return!!~(""+e).indexOf(t)}function c(e){return e.replace(/([a-z])-([a-z])/g,function(e,t,n){return t+n.toUpperCase()}).replace(/^-/,"")}function d(e,t){return function(){return e.apply(t,arguments)}}function h(e,n,i,o){var a,l,c,d,u="modernizr",h=s("div"),p=r();if(parseInt(i,10))for(;i--;)(c=s("div")).id=o?o[i]:u+(i+1),h.appendChild(c);return(a=s("style")).type="text/css",a.id="s"+u,(p.fake?p:h).appendChild(a),p.appendChild(h),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(t.createTextNode(e)),h.id=u,p.fake&&(p.style.background="",p.style.overflow="hidden",d=C.style.overflow,C.style.overflow="hidden",C.appendChild(p)),l=n(h,e),p.fake?(p.parentNode.removeChild(p),C.style.overflow=d,C.offsetHeight):h.parentNode.removeChild(h),!!l}function p(e){return e.replace(/([A-Z])/g,function(e,t){return"-"+t.toLowerCase()}).replace(/^ms-/,"-ms-")}function f(t,n,i){var o;if("getComputedStyle"in e){o=getComputedStyle.call(e,t,n);var s=e.console;null!==o?i&&(o=o.getPropertyValue(i)):s&&s[s.error?"error":"log"].call(s,"getComputedStyle returning null, its possible modernizr test results are inaccurate")}else o=!n&&t.currentStyle&&t.currentStyle[i];return o}function m(t,i){var o=t.length;if("CSS"in e&&"supports"in e.CSS){for(;o--;)if(e.CSS.supports(p(t[o]),i))return!0;return!1}if("CSSSupportsRule"in e){for(var s=[];o--;)s.push("("+p(t[o])+":"+i+")");return h("@supports ("+(s=s.join(" or "))+") { #modernizr { position: absolute; } }",function(e){return"absolute"==f(e,null,"position")})}return n}function g(e,t,o,r){function a(){u&&(delete q.style,delete q.modElem)}if(r=!i(r,"undefined")&&r,!i(o,"undefined")){var d=m(e,o);if(!i(d,"undefined"))return d}for(var u,h,p,f,g,v=["modernizr","tspan","samp"];!q.style&&v.length;)u=!0,q.modElem=s(v.shift()),q.style=q.modElem.style;for(p=e.length,h=0;p>h;h++)if(f=e[h],g=q.style[f],l(f,"-")&&(f=c(f)),q.style[f]!==n){if(r||i(o,"undefined"))return a(),"pfx"!=t||f;try{q.style[f]=o}catch(e){}if(q.style[f]!=g)return a(),"pfx"!=t||f}return a(),!1}function v(e,t,n,o,s){var r=e.charAt(0).toUpperCase()+e.slice(1),a=(e+" "+O.join(r+" ")+r).split(" ");return i(t,"string")||i(t,"undefined")?g(a,t,o,s):function(e,t,n){var o;for(var s in e)if(e[s]in t)return!1===n?e[s]:i(o=t[e[s]],"function")?d(o,n||t):o;return!1}(a=(e+" "+P.join(r+" ")+r).split(" "),t,n)}function y(e,t,i){return v(e,n,n,t,i)}var b=[],w=[],E={_version:"3.5.0",_config:{classPrefix:"mod",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,t){var n=this;setTimeout(function(){t(n[e])},0)},addTest:function(e,t,n){w.push({name:e,fn:t,options:n})},addAsyncTest:function(e){w.push({name:null,fn:e})}},L=function(){};L.prototype=E,L=new L;var S="CSS"in e&&"supports"in e.CSS,k="supportsCSS"in e;L.addTest("supports",S||k);var _,C=t.documentElement,T="svg"===C.nodeName.toLowerCase(),A={}.toString;L.addTest("smil",function(){return!!t.createElementNS&&/SVGAnimate/.test(A.call(t.createElementNS("http://www.w3.org/2000/svg","animate")))}),function(){var e={}.hasOwnProperty;_=i(e,"undefined")||i(e.call,"undefined")?function(e,t){return t in e&&i(e.constructor.prototype[t],"undefined")}:function(t,n){return e.call(t,n)}}(),E._l={},E.on=function(e,t){this._l[e]||(this._l[e]=[]),this._l[e].push(t),L.hasOwnProperty(e)&&setTimeout(function(){L._trigger(e,L[e])},0)},E._trigger=function(e,t){if(this._l[e]){var n=this._l[e];setTimeout(function(){var e;for(e=0;e<n.length;e++)(0,n[e])(t)},0),delete this._l[e]}},L._q.push(function(){E.addTest=a}),L.addAsyncTest(function(){var n,i=function(e){C.contains(e)||C.appendChild(e)},o=function(e){e.fake&&e.parentNode&&e.parentNode.removeChild(e)},l=function(e,t){var n=!!e;if(n&&((n=new Boolean(n)).blocked="blocked"===e),a("flash",function(){return n}),t&&h.contains(t)){for(;t.parentNode!==h;)t=t.parentNode;h.removeChild(t)}};try{n="ActiveXObject"in e&&"Pan"in new e.ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(e){}if(!("plugins"in navigator&&"Shockwave Flash"in navigator.plugins||n)||T)l(!1);else{var c,d,u=s("embed"),h=r();if(u.type="application/x-shockwave-flash",h.appendChild(u),!("Pan"in u)&&!n)return i(h),l("blocked",u),void o(h);c=function(){return i(h),C.contains(h)?(C.contains(u)?(d=u.style.cssText,l(""===d||"blocked",u)):l("blocked"),void o(h)):(h=t.body||h,(u=s("embed")).type="application/x-shockwave-flash",h.appendChild(u),setTimeout(c,1e3))},setTimeout(c,10)}});var x="Moz O ms Webkit",O=E._config.usePrefixes?x.split(" "):[];E._cssomPrefixes=O;var P=E._config.usePrefixes?x.toLowerCase().split(" "):[];E._domPrefixes=P;var N={elem:s("modernizr")};L._q.push(function(){delete N.elem});var q={style:N.elem.style};L._q.unshift(function(){delete q.style}),E.testAllProps=v,E.testAllProps=y,L.addTest("flexbox",y("flexBasis","1px",!0)),L.addTest("cssgridlegacy",y("grid-columns","10px",!0)),L.addTest("cssgrid",y("grid-template-rows","none",!0)),function(){var e,t,n,o,s,r;for(var a in w)if(w.hasOwnProperty(a)){if(e=[],(t=w[a]).name&&(e.push(t.name.toLowerCase()),t.options&&t.options.aliases&&t.options.aliases.length))for(n=0;n<t.options.aliases.length;n++)e.push(t.options.aliases[n].toLowerCase());for(o=i(t.fn,"function")?t.fn():t.fn,s=0;s<e.length;s++)1===(r=e[s].split(".")).length?L[r[0]]=o:(!L[r[0]]||L[r[0]]instanceof Boolean||(L[r[0]]=new Boolean(L[r[0]])),L[r[0]][r[1]]=o),b.push((o?"":"no-")+r.join("-"))}}(),o(b),delete E.addTest,delete E.addAsyncTest;for(var F=0;F<L._q.length;F++)L._q[F]();e.Modernizr=L}(window,document),document.documentElement.classList.remove("nojs")}()})();;
