var _hsp = window['_hsp'] = window['_hsp'] || [];
_hsp.push(['setBannerSettings', {}]);
_hsp.push(['addCookieDomain', '.hsforms.com']);
_hsp.push(['addCookieDomain', '.hs-sites.com']);
_hsp.push(['addCookieDomain', '.hubspot.com']);
_hsp.push(['addCookieDomain', '.hubspotpagebuilder.com']);
_hsp.push(['addCookieDomain', '.connecteam.com']);
_hsp.push(['setApiBaseUrl', 'https://js.hs-banner.com/v2']);
/**
 * HubSpot Cookie Banner Code Copyright 2023 HubSpot, Inc.  http://www.hubspot.com
 */
!function(t){var e={};function n(o){if(e[o])return e[o].exports;var i=e[o]={i:o,l:!1,exports:{}};t[o].call(i.exports,i,i.exports,n);i.l=!0;return i.exports}n.m=t;n.c=e;n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})};n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});Object.defineProperty(t,"__esModule",{value:!0})};n.t=function(t,e){1&e&&(t=n(t));if(8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);n.r(o);Object.defineProperty(o,"default",{enumerable:!0,value:t});if(2&e&&"string"!=typeof t)for(var i in t)n.d(o,i,function(e){return t[e]}.bind(null,i));return o};n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};n.d(e,"a",e);return e};n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)};n.p="//static.hsappstatic.net/cookie-banner-js/static-1.938/";n(n.s=3)}([function(t,e,n){var o;function s(){var t,e;e=arguments[0]||{};this.config={};this.config.elements=e.elements?e.elements:[];this.config.attributes=e.attributes?e.attributes:{};this.config.attributes[s.ALL]=this.config.attributes[s.ALL]?this.config.attributes[s.ALL]:[];this.config.allow_comments=!!e.allow_comments&&e.allow_comments;this.allowed_elements={};this.config.protocols=e.protocols?e.protocols:{};this.config.add_attributes=e.add_attributes?e.add_attributes:{};this.dom=e.dom?e.dom:document;for(t=0;t<this.config.elements.length;t++)this.allowed_elements[this.config.elements[t]]=!0;this.config.remove_element_contents={};this.config.remove_all_contents=!1;if(e.remove_contents)if(e.remove_contents instanceof Array)for(t=0;t<e.remove_contents.length;t++)this.config.remove_element_contents[e.remove_contents[t]]=!0;else this.config.remove_all_contents=!0;this.transformers=e.transformers?e.transformers:[]}s.REGEX_PROTOCOL=/^([A-Za-z0-9\+\-\.\&\;\*\s]*?)(?:\:|&*0*58|&*x0*3a)/i;s.RELATIVE="__RELATIVE__";s.ALL="__ALL__";s.prototype.clean_node=function(t){var e=this.dom.createDocumentFragment();this.current_element=e;this.whitelist_nodes=[];function n(t,e){var n;for(n=0;n<e.length;n++)if(e[n]==t)return n;return-1}function o(){var t,e,n=[],o={};for(t=0;t<arguments.length;t++)if(arguments[t]&&arguments[t].length)for(e=0;e<arguments[t].length;e++)if(!o[arguments[t][e]]){o[arguments[t][e]]=!0;n.push(arguments[t][e])}return n}function a(t){var e;switch(t.nodeType){case 1:r.call(this,t);break;case 3:case 5:e=t.cloneNode(!1);this.current_element.appendChild(e);break;case 8:if(this.config.allow_comments){e=t.cloneNode(!1);this.current_element.appendChild(e)}break;default:console&&console.log&&console.log("unknown node type",t.nodeType)}}function r(t){var e,i,r,l,h,d,u,m,p,f,g=c.call(this,t);r=(t=g.node).nodeName.toLowerCase();i=this.current_element;if(this.allowed_elements[r]||g.whitelist){this.current_element=this.dom.createElement(t.nodeName);i.appendChild(this.current_element);var _=this.config.attributes;l=o(_[r],_[s.ALL],g.attr_whitelist);for(e=0;e<l.length;e++){d=l[e];if(h=t.attributes[d]){f=!0;if(this.config.protocols[r]&&this.config.protocols[r][d]){m=this.config.protocols[r][d];f=(p=h.value.toLowerCase().match(s.REGEX_PROTOCOL))?-1!=n(p[1],m):-1!=n(s.RELATIVE,m)}if(f){(u=document.createAttribute(d)).value=h.value;this.current_element.setAttributeNode(u)}}}if(this.config.add_attributes[r])for(d in this.config.add_attributes[r]){(u=document.createAttribute(d)).value=this.config.add_attributes[r][d];this.current_element.setAttributeNode(u)}}else if(-1!=n(t,this.whitelist_nodes)){this.current_element=t.cloneNode(!0);for(;this.current_element.childNodes.length>0;)this.current_element.removeChild(this.current_element.firstChild);i.appendChild(this.current_element)}if(!this.config.remove_all_contents&&!this.config.remove_element_contents[r])for(e=0;e<t.childNodes.length;e++)a.call(this,t.childNodes[e]);this.current_element.normalize&&this.current_element.normalize();this.current_element=i}function c(t){var e,i,s,a={attr_whitelist:[],node:t,whitelist:!1};for(e=0;e<this.transformers.length;e++)if(null!=(s=this.transformers[e]({allowed_elements:this.allowed_elements,config:this.config,node:t,node_name:t.nodeName.toLowerCase(),whitelist_nodes:this.whitelist_nodes,dom:this.dom}))){if("object"!=typeof s)throw new Error("transformer output must be an object or null");if(s.whitelist_nodes&&s.whitelist_nodes instanceof Array)for(i=0;i<s.whitelist_nodes.length;i++)-1==n(s.whitelist_nodes[i],this.whitelist_nodes)&&this.whitelist_nodes.push(s.whitelist_nodes[i]);a.whitelist=!!s.whitelist;s.attr_whitelist&&(a.attr_whitelist=o(a.attr_whitelist,s.attr_whitelist));a.node=s.node?s.node:a.node}return a}for(i=0;i<t.childNodes.length;i++)a.call(this,t.childNodes[i]);e.normalize&&e.normalize();return e};void 0!==(o=function(){return s}.apply(e,[]))&&(t.exports=o)},function(t,e){t.exports='.hs-hidden{display:none!important}.hs-close-button{background-color:transparent!important;border:0!important;padding:0!important;cursor:pointer!important}@font-face{font-family:Lato;font-display:swap;src:local("Lato-Regular"),url(https://api_base_url/fonts/Lato/Lato-Regular.woff2) format("woff2"),url(https://api_base_url/fonts/Lato/Lato-Regular.woff) format("woff")}@font-face{font-family:Lato;font-style:italic;font-display:swap;src:local("Lato-Italic"),url(https://api_base_url/fonts/Lato/Lato-Italic.woff2) format("woff2"),url(https://api_base_url/fonts/Lato/Lato-Italic.woff) format("woff")}@font-face{font-family:Lato;font-weight:800;font-display:swap;src:local("Lato-Bold"),url(https://api_base_url/fonts/Lato/Lato-Bold.woff2) format("woff2"),url(https://api_base_url/fonts/Lato/Lato-Bold.woff) format("woff")}#hs-banner-gpc{color:#15295a!important;font-family:Lato,sans-serif!important;font-size:14px!important;font-style:normal!important;font-weight:400!important;line-height:25px!important;text-align:left!important;font-size:14px;font-family:Lato,sans-serif;line-height:25px;background:#fff;transition:all .5s ease;border-radius:12px;position:fixed;z-index:3000000000!important;width:calc(min(67em, 100%));box-shadow:0 8px 28px rgba(0,0,0,.28)}@media print{#hs-banner-gpc{display:none!important}}@media (min-width:751px){#hs-banner-gpc{top:32px;left:50%;transform:translate(-50%);-webkit-transform:translate3d(-50%,0,3000000000px)!important}}@media (max-width:750px){#hs-banner-gpc{width:100%;top:0;max-height:100%;overflow-y:scroll;-webkit-transform:translateZ(3000000000px)!important}}@media (min-width:751px){#hs-banner-gpc.hs-cookie-notification-position-bottom{bottom:32px;top:auto}}@media (max-width:750px){#hs-banner-gpc.hs-cookie-notification-position-bottom{bottom:0;top:auto}}#hs-banner-gpc #hs-banner-gpc-inner{background:inherit;border-radius:inherit;padding:2.2em}@media (max-width:750px){#hs-banner-gpc #hs-banner-gpc-inner{padding-bottom:0!important}}#hs-banner-gpc #hs-banner-gpc-inner p{color:#15295a!important;font-weight:400!important}#hs-banner-gpc #hs-banner-gpc-inner a,#hs-banner-gpc #hs-banner-gpc-inner p{font-family:Lato,sans-serif!important;font-size:14px!important;font-style:normal!important;line-height:25px!important;text-align:left!important}#hs-banner-gpc #hs-banner-gpc-inner a{background:none!important;border:none!important;box-shadow:none!important;color:#4a7eff!important;font-weight:800!important;text-decoration:underline!important}#hs-banner-gpc #hs-banner-gpc-inner #hs-banner-gpc-header{display:flex;flex-direction:row;justify-content:flex-end;margin-bottom:1.1em}#hs-banner-gpc #hs-banner-gpc-inner #hs-banner-gpc-header #hs-banner-gpc-close-button{margin:0!important;padding:0!important;font-size:14px!important}#hs-banner-gpc #hs-banner-gpc-inner #hs-banner-gpc-wording{margin-bottom:.85em}@media (min-width:751px){#hs-banner-gpc #hs-banner-gpc-inner #hs-banner-gpc-wording{margin-right:5.14em}}div#hs-eu-cookie-confirmation{color:#15295a!important;font-family:Lato,sans-serif!important;font-size:14px!important;font-style:normal!important;font-weight:400!important;line-height:25px!important;text-align:left!important;font-size:14px;font-family:Lato,sans-serif;line-height:25px;background:#fff;transition:all .5s ease;border-radius:12px;position:fixed;z-index:3000000000!important;width:calc(min(67em, 100%));box-shadow:0 8px 28px rgba(0,0,0,.28)}@media print{div#hs-eu-cookie-confirmation{display:none!important}}@media (min-width:751px){div#hs-eu-cookie-confirmation{top:32px;left:50%;transform:translate(-50%);-webkit-transform:translate3d(-50%,0,3000000000px)!important}}@media (max-width:750px){div#hs-eu-cookie-confirmation{width:100%;top:0;max-height:100%;overflow-y:scroll;-webkit-transform:translateZ(3000000000px)!important}}@media (min-width:751px){div#hs-eu-cookie-confirmation.hs-cookie-notification-position-bottom{bottom:32px;top:auto}}@media (max-width:750px){div#hs-eu-cookie-confirmation.hs-cookie-notification-position-bottom{bottom:0;top:auto}}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner{background:inherit;border-radius:inherit;padding:2.2em}@media (max-width:750px){div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner{padding-bottom:0!important}}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner p{color:#15295a!important;font-weight:400!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a,div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner p{font-family:Lato,sans-serif!important;font-size:14px!important;font-style:normal!important;line-height:25px!important;text-align:left!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a{background:none!important;border:none!important;box-shadow:none!important;color:#4a7eff!important;font-weight:800!important;text-decoration:underline!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner button:focus{box-shadow:0 0 0 2px rgba(0,128,255,.5)!important;box-shadow:0 0 0 2px -webkit-focus-ring-color!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner div#hs-eu-header-container{display:flex;flex-direction:row;justify-content:flex-end;margin-bottom:1.1em}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner div#hs-eu-header-container button#hs-eu-close-button{margin:0!important;padding:0!important;font-size:14px!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner div#hs-eu-policy-wording{margin-bottom:.85em}@media (min-width:751px){div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner div#hs-eu-policy-wording{margin-right:5.14em}}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner div#hs-eu-cookie-confirmation-buttons-area{display:flex;flex-flow:row wrap;justify-content:flex-end;align-items:baseline;margin-top:1.1em}@media (min-width:751px){div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner div#hs-eu-cookie-confirmation-buttons-area{margin-right:5.14em}}@media (max-width:750px){div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner div#hs-eu-cookie-confirmation-buttons-area{justify-content:center;gap:1.1em;margin-bottom:1.1em}}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner button#hs-eu-confirmation-button,div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner button#hs-eu-cookie-settings-button,div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner button#hs-eu-decline-button{cursor:pointer;display:inline-block;padding:0!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner button#hs-eu-confirmation-button,div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner button#hs-eu-decline-button{border:1px solid #425b76!important;border-radius:3em;min-width:11em;height:3.3em;text-align:center!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner button#hs-eu-confirmation-button{background:#425b76!important;color:#fff!important;font-family:Lato,sans-serif!important;font-size:14px!important;font-style:normal!important;font-weight:400!important;line-height:25px!important;text-align:center!important}@media (min-width:751px){div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner button#hs-eu-confirmation-button{margin:0 1.1em!important}}@media (max-width:750px){div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner button#hs-eu-confirmation-button{order:2;flex-grow:1}}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner button#hs-eu-decline-button{color:#425b76!important;font-family:Lato,sans-serif!important;font-size:14px!important;font-style:normal!important;font-weight:400!important;line-height:25px!important;text-align:center!important;background-color:transparent;margin:0!important}@media (max-width:750px){div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner button#hs-eu-decline-button{order:3;flex-grow:1}}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner button#hs-eu-cookie-settings-button{font-family:Lato,sans-serif!important;font-size:14px!important;font-style:normal!important;font-weight:400!important;line-height:25px!important;text-align:center!important;background:none!important;border:none;color:#425b76!important;margin:0!important;text-decoration:underline!important;font-weight:800!important}@media (max-width:750px){div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner button#hs-eu-cookie-settings-button{border-bottom:2px solid #e8e8e8!important;border-radius:0!important;flex-basis:100%;order:1;padding-bottom:1.1em!important}}@media (min-width:751px){div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner p#hs-eu-cookie-disclaimer{margin:0 5.14em 1.1em 0!important}}@media print{div#hs-banner-gpc,div#hs-eu-cookie-confirmation{display:none!important}}'},function(t,e){t.exports='.hs-hidden{display:none!important}.hs-close-button{background-color:transparent!important;border:0!important;padding:0!important;cursor:pointer!important}#hs-modal{position:fixed;left:0;top:0;width:100%;height:100%;background-color:rgba(0,0,0,.28);z-index:3000000001!important;display:flex;justify-content:center;align-items:center;-webkit-transform:translateZ(3000000001px)!important}@media print{#hs-modal{display:none!important}}#hs-modal #hs-modal-content{display:flex;width:calc(max(30%, 50.3em));height:calc(min(56.4em, 100%));flex-direction:column;padding:2.2em 2.2em 0;position:absolute;background-color:#fafbff;font-size:14px;font-family:Lato,sans-serif;line-height:25px;border-radius:12px;box-shadow:0 8px 28px rgba(0,0,0,.28)}@media (max-width:750px){#hs-modal #hs-modal-content{height:100%;width:100%}}#hs-modal #hs-modal-content p{color:#15295a!important;font-weight:400!important}#hs-modal #hs-modal-content a,#hs-modal #hs-modal-content p{font-family:Lato,sans-serif!important;font-size:14px!important;font-style:normal!important;line-height:25px!important;text-align:left!important}#hs-modal #hs-modal-content a{background:none!important;border:none!important;box-shadow:none!important;color:#4a7eff!important;font-weight:800!important;text-decoration:underline!important}#hs-modal #hs-modal-content button:focus{box-shadow:0 0 0 2px rgba(0,128,255,.5)!important;box-shadow:0 0 0 2px -webkit-focus-ring-color!important}#hs-modal #hs-modal-content #hs-modal-header{flex-basis:5%}#hs-modal #hs-modal-content #hs-modal-header #hs-modal-header-container{display:flex;flex-direction:row;justify-content:flex-end;margin-bottom:1.1em}#hs-modal #hs-modal-content #hs-modal-header #hs-modal-header-container button#hs-modal-close-button{margin:0!important;padding:0!important;font-size:14px!important}#hs-modal #hs-modal-content #hs-modal-body{flex-basis:80%;overflow:auto}@media (max-width:750px){#hs-modal #hs-modal-content #hs-modal-body{flex-basis:85%}}#hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container{height:100%;width:100%;position:relative}#hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container #hs-modal-introduction{display:inline-block;padding-bottom:.5em;border-bottom:2px solid #425b76!important;border-radius:0 3px 3px 0;margin-bottom:1.1em}#hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container #hs-modal-introduction span{font-weight:800;font-size:1.4em}#hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container #hs-modal-introduction-description{color:#484848!important;font-family:Lato,sans-serif!important;font-size:14px!important;font-style:normal!important;font-weight:400!important;line-height:25px!important;text-align:left!important;text-align:justify}#hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container #hs-categories-container{display:flex;flex-direction:column;gap:1.1em;margin-top:1.1em;margin-bottom:1.1em}#hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container #hs-categories-container .hs-category-row{background:#fff;border-radius:8px;padding:2em}#hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container #hs-categories-container .hs-category-row .hs-category-row-header{display:flex;justify-content:space-between;align-items:center}#hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container #hs-categories-container .hs-category-row .hs-category-row-header .hs-category-label{background:none!important;border:none!important;box-shadow:none!important;display:flex;flex-grow:1;gap:.4em;align-items:center;justify-content:left;color:#002!important;font-family:Lato,sans-serif!important;font-size:14px!important;font-style:normal!important;font-weight:400!important;line-height:25px!important;text-align:left!important;font-weight:800!important;cursor:pointer;margin:0!important;padding:0!important}#hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container #hs-categories-container .hs-category-row .hs-category-description{color:#484848!important;font-family:Lato,sans-serif!important;font-size:14px!important;font-style:normal!important;font-weight:400!important;line-height:25px!important;text-align:left!important}#hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container #hs-categories-container .hs-always-active-label{color:#516f90!important;font-family:Lato,sans-serif!important;font-size:14px!important;font-style:normal!important;font-weight:400!important;line-height:25px!important;text-align:left!important}#hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container #hs-categories-container .hs-category-toggle{float:right;position:relative}#hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container #hs-categories-container .hs-category-toggle .hs-toggle{position:absolute;opacity:0}#hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container #hs-categories-container .hs-category-toggle .hs-toggle+label{display:block;position:relative;cursor:pointer;outline:none;user-select:none}#hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container #hs-categories-container .hs-category-toggle input.hs-toggle-round+label{padding:2px;width:3.2em;height:1.7em;background-color:#ddd;border-radius:1.6em;transition:box-shadow .3s ease}#hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container #hs-categories-container .hs-category-toggle input.hs-toggle-round+label:after,#hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container #hs-categories-container .hs-category-toggle input.hs-toggle-round+label:before{display:block;position:absolute;top:1px;left:1px;bottom:1px;content:""}#hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container #hs-categories-container .hs-category-toggle input.hs-toggle-round+label:before{right:1px;background-color:#f1f1f1;border-radius:1.6em;transition:background .4s}#hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container #hs-categories-container .hs-category-toggle input.hs-toggle-round+label:after{width:1.6em;background-color:#fff;border-radius:100%;box-shadow:0 2px 5px rgba(0,0,0,.3);transition:margin .4s}#hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container #hs-categories-container .hs-category-toggle input.hs-toggle-round:checked+label:before{background-color:#425b76}#hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container #hs-categories-container .hs-category-toggle input.hs-toggle-round:checked+label:after{margin-left:1.6em}#hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container #hs-categories-container .hs-category-toggle input.hs-toggle-round:focus+label{outline:2px solid transparent;box-shadow:0 0 0 2px rgba(0,128,255,.5);box-shadow:0 0 0 2px -webkit-focus-ring-color}#hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container #hs-categories-container .hs-category-toggle input.hs-toggle-round:disabled{opacity:.5!important;pointer-events:none!important}#hs-modal #hs-modal-content #hs-modal-footer{flex-basis:15%;display:flex;justify-content:flex-end;align-items:center}@media (max-width:750px){#hs-modal #hs-modal-content #hs-modal-footer{flex-basis:10%;justify-content:center;border-top:2px solid #e8e8e8}}#hs-modal #hs-modal-content #hs-modal-footer #hs-modal-footer-container{display:flex;justify-content:flex-end;align-items:center;gap:1.1em;margin-bottom:1.1em}@media (max-width:750px){#hs-modal #hs-modal-content #hs-modal-footer #hs-modal-footer-container{justify-content:center;margin-top:1.1em}}#hs-modal #hs-modal-content #hs-modal-footer #hs-modal-footer-container button#hs-modal-accept-all,#hs-modal #hs-modal-content #hs-modal-footer #hs-modal-footer-container button#hs-modal-save-settings{border:1px solid #425b76!important;border-radius:3em;min-width:11em;height:3.3em;text-align:center!important;margin-bottom:0!important;display:inline-block;padding:0!important}#hs-modal #hs-modal-content #hs-modal-footer #hs-modal-footer-container button#hs-modal-accept-all{background:#425b76!important;color:#fff!important;font-family:Lato,sans-serif!important;font-size:14px!important;font-style:normal!important;font-weight:400!important;line-height:25px!important}#hs-modal #hs-modal-content #hs-modal-footer #hs-modal-footer-container button#hs-modal-save-settings{color:#425b76!important;font-family:Lato,sans-serif!important;font-size:14px!important;font-style:normal!important;font-weight:400!important;line-height:25px!important;background-color:transparent}.description-accordion-arrow{transition:transform .2s}.description-accordion-arrow.rotated{transform:rotate(90deg)}.hs-category-description{transition:max-height .2s;box-sizing:border-box;overflow:hidden;opacity:0}.hs-category-description.visible{opacity:1}'},function(t,e,n){"use strict";n.r(e);const o="_hspb_loaded",i="_hsp",s="_hsq",a="_hsGeoTargetingTest",r="_hsGpcSignal",c="_hsScanningMode",l="_hspb_ran",h="hsdbg",d="_hsPrivacyTest",u="hs-eu-cookie-confirmation",m="hs-banner-gpc",p="hs-banner-parent",f="hs-modal",g="hs-modal-content",_={NECESSARY:"necessary",ANALYTICS:"analytics",ADVERTISEMENT:"advertisement",FUNCTIONALITY:"functionality"},b="hs-hidden",y="hs-banner-style",v="hs-banner-modal-style",x="disabledHsPopups",C="PRIVACY";class k{constructor(t,e){this.win=t;this.doc=e;this.hasLoadedBaseStyle=!1;this.hasLoadedCbcStyle=!1}setHasLoadedBaseStyle(t){this.hasLoadedBaseStyle=t}setHasLoadedCbcStyle(t){this.hasLoadedCbcStyle=t}getWindow(){return this.win}getDocument(){return this.doc}getNavigator(){return this.getWindow().navigator}getLocation(){return this.getWindow().location}getPathname(){return this.getLocation().pathname}getHostname(){try{return this.getLocation().hostname}catch(t){return this.getDocument().domain}}getHasLoadedBaseStyle(){return this.hasLoadedBaseStyle}getHasLoadedCbcStyle(){return this.hasLoadedCbcStyle}}const w=new k(window,document);function S(){return w}class L{constructor(t){this.logPrepend="[HubSpot cookie banner]";this.context=t}info(t){this.isDebugEnabled()&&this.context.getWindow().console.log(`${this.logPrepend} ${t}`)}debug(t){this.isDebugEnabled()&&this.context.getWindow().console.debug(`${this.logPrepend} ${t}`)}error(t){this.isDebugEnabled()&&this.context.getWindow().console.error(`${this.logPrepend} ${t}`)}isDebugEnabled(){return this.context.getDocument().location.search.includes(h)}}var T=new L(S());class E{constructor(t){this.level=t}getLevel(){return this.level}}E.ALL_URLS=new E(1);E.PATH=new E(2);E.GEO=new E(3);E.PATH_AND_GEO=new E(4);class A{constructor(t,e,n){this.allUrlsAndLocations=t;this.path=e;this.targetedCountries=n;const o=this.path&&this.path.length>0,i=this.targetedCountries&&this.targetedCountries.length>0;this.allUrlsAndLocations?this.configType=E.ALL_URLS:this.configType=o&&i?E.PATH_AND_GEO:i?E.GEO:E.PATH}getMatchLevel(){return this.configType.getLevel()}getPriority(){switch(this.configType){case E.ALL_URLS:case E.GEO:return 0;case E.PATH:case E.PATH_AND_GEO:return this.path.length;default:return 0}}test(t,e){const n=void 0!==t&&t.startsWith(this.path),o=void 0!==e&&this.targetedCountries.includes(e);switch(this.configType){case E.PATH_AND_GEO:return n&&o;case E.GEO:return o;case E.PATH:return n;case E.ALL_URLS:return!0;default:return!1}}static fromJS(t){const{allUrlsAndLocations:e,path:n,targetedCountries:o}=t;return new A(e,n,o)}}class O{constructor(t,e){this.value=t;this.bannerClassname=e}getBannerClassname(){return this.bannerClassname}getValue(){return this.value}static fromJS(t){return t===this.TOP.getValue()?this.TOP:this.BOTTOM}}O.TOP=new O(0,"");O.BOTTOM=new O(1,"hs-cookie-notification-position-bottom");class I{constructor(t,e,n){this.position=t;this.accentColor=e;this.showCloseButton=n}static fromJS(t){const{position:e,accentColor:n,showCloseButton:o}=t;return new I(O.fromJS(e),n,o||!1)}}var N=n(0),P=n.n(N);const B=new P.a({attributes:{a:["href","title","target"],blockquote:["cite"],ol:["start","type"],q:["cite"],ul:["type"],span:["class"]},elements:["a","b","blockquote","br","caption","cite","code","dd","dl","dt","em","h1","h2","h3","h4","h5","h6","i","li","ol","p","pre","q","small","strike","strong","sub","sup","u","ul","font","div","span"],protocols:{a:{href:["http","https","mailto",P.a.ALL]},blockquote:{cite:["http","https",P.a.RELATIVE]},q:{cite:["http","https",P.a.RELATIVE]}},remove_contents:["style","script"],add_attributes:{a:{rel:"noopener"}}}),D=t=>{if(!t)return t;const e=document.createElement("div");try{const n=document.createRange().createContextualFragment(t),o=B.clean_node(n);e.appendChild(o.cloneNode(!0))}catch(e){T.error("we had an error sanitizing an html string: "+t)}return e.innerHTML},R=t=>({__html:t||""});class G{constructor(t,e,n){this.description=t;this.label=e;this.toggleLabel=n}static fromJS(t){return new G(t.description,t.label,t.toggleLabel)}getSanitizedText(){return new G(D(this.description),D(this.label),D(this.toggleLabel))}}class H{constructor(t,e,n,o,i,s,a){this.acceptLabel=t;this.saveSettingsLabel=e;this.introduction=n;this.necessary=o;this.analytics=i;this.advertisement=s;this.functionality=a}static fromJS(t){return new H(t.acceptAllLabel,t.saveSettingsLabel,G.fromJS(t.introduction),G.fromJS(t.categories.necessary),G.fromJS(t.categories.analytics),G.fromJS(t.categories.advertisement),G.fromJS(t.categories.functionality))}getSanitizedText(){return new H(D(this.acceptLabel),D(this.saveSettingsLabel),this.introduction.getSanitizedText(),this.necessary.getSanitizedText(),this.analytics.getSanitizedText(),this.advertisement.getSanitizedText(),this.functionality.getSanitizedText())}}class M{constructor(t,e,n,o,i,s){this.notification=t;this.acceptLabel=e;this.declineLabel=n;this.disclaimer=o;this.cookieSettingsLabel=i;this.modalText=s}static fromJS(t){return new M(t.notification,t.acceptLabel,t.declineLabel,t.disclaimer,t.modalText&&t.modalText.cookieSettingsLabel,t.modalText&&H.fromJS(t.modalText))}getSanitizedText(){return new M(D(this.notification),D(this.acceptLabel),D(this.declineLabel),D(this.disclaimer),this.cookieSettingsLabel&&D(this.cookieSettingsLabel),this.modalText&&this.modalText.getSanitizedText())}}class z{constructor(t,e){this.value=t;this.name=e}getValue(){return this.value}getName(){return this.name}static fromJS(t){switch(t){case 0:return this.COOKIES_WITHOUT_BANNER;case 1:return this.NO_COOKIES;case 2:return this.NOTIFY;case 3:return this.OPT_IN;case 4:default:return this.COOKIES_BY_CATEGORY}}}z.COOKIES_WITHOUT_BANNER=new z(0,"COOKIES_WITHOUT_BANNER");z.NO_COOKIES=new z(1,"NO_COOKIES");z.NOTIFY=new z(2,"NOTIFY");z.OPT_IN=new z(3,"OPT_IN");z.COOKIES_BY_CATEGORY=new z(4,"COOKIES_BY_CATEGORY");class U{constructor(t,e){this.type=t;this.text=e}static fromJS(t){const{type:e,text:n}=t;return new U(z.fromJS(e),M.fromJS(n))}getSanitizedPolicy(){return new U(this.type,this.text.getSanitizedText())}}class F{constructor(t,e){this.enabled=t;this.notificationText=D(e||"")}static fromJS(t){return new F(t.enabled,t.notificationText)}}class Y{constructor(t,e,n,o,i,s,a,r,c){this.id=t;this.portalId=e;this.domain=n;this.label=o;this.enabled=i;this.configuration=s;this.policy=a;this.customizationSettings=r;this.gpcSettings=c}static fromJS(t){const{id:e,portalId:n,domain:o,label:i,enabled:s,configuration:a,policy:r,legacyCustomization:c,gpcSettings:l}=t;return new Y(e,n,o,i,s,A.fromJS(a),U.fromJS(r),I.fromJS(c),F.fromJS(l))}withSanitizedPolicy(){return new Y(this.id,this.portalId,this.domain,this.label,this.enabled,this.configuration,this.policy.getSanitizedPolicy(),this.customizationSettings,this.gpcSettings)}toLegacyPrivacyPolicy(){let t;switch(this.policy.type){case z.COOKIES_WITHOUT_BANNER:t=0;break;case z.NO_COOKIES:t=2;break;case z.NOTIFY:case z.OPT_IN:t=1;break;case z.COOKIES_BY_CATEGORY:default:t=3}return{active:this.enabled,testing:!1,mode:t,policyWording:"not used",acceptWording:"not used",cancelWording:"not used",disclaimerWording:"not used",hideDecline:this.policy.type===z.NOTIFY,accentColor:this.customizationSettings.accentColor,bannerType:"not used",label:this.label,privacyDefault:!1,cookiesByCategory:{},id:this.id,portalId:this.portalId}}}const W=1,K=2,q=3,V={[W]:"analytics",[K]:"advertisement",[q]:"functionality"};class ${constructor(t,e,n){this.allowed=t;this.previousCategories=n||{necessary:!0,analytics:!1,advertisement:!1,functionality:!1};this.categories=e||{necessary:!0,analytics:t,advertisement:t,functionality:t}}hasAnalyticsConsent(){return this.allowed||!0===this.categories.analytics}adsHasChangedToFalse(){return!0===this.previousCategories.advertisement&&!1===this.categories.advertisement}update(t){this.previousCategories=this.categories;this.categories=Object.assign({},this.categories,{analytics:t,advertisement:t,functionality:t});this.allowed=t;return this}updateCategories({analytics:t,advertisement:e,functionality:n}){this.previousCategories=this.categories;this.categories={necessary:!0,analytics:t,advertisement:e,functionality:n};this.allowed=t&&e&&n;return this}allCategoriesSelected(){return this.categories.necessary&&this.categories.analytics&&this.categories.advertisement&&this.categories.functionality}getSafeCopy(){return new $(this.allowed,{necessary:this.categories.necessary,analytics:this.categories.analytics,advertisement:this.categories.advertisement,functionality:this.categories.functionality},{necessary:this.previousCategories.necessary,analytics:this.previousCategories.analytics,advertisement:this.previousCategories.advertisement,functionality:this.previousCategories.functionality})}toCookieString(){return`${W}:${this.categories.analytics},${K}:${this.categories.advertisement},${q}:${this.categories.functionality}`}static buildFromCookieString(t){const e=t.split(","),n={necessary:!0,analytics:!1,advertisement:!1,functionality:!1};e.forEach(t=>{const e=t.split(":");if(2!==e.length)return;const o=e[0],i=V[o];i&&(n[i]="true"===e[1])});const o=n.necessary&&n.advertisement&&n.analytics&&n.functionality;return new $(o,n)}static buildInitialConsent(){return new $(!1,{necessary:!0,analytics:!1,advertisement:!1,functionality:!1})}}const j=t=>encodeURI(t),J=t=>decodeURI(t),Z="_ga_[a-zA-Z0-9]+",Q="_fbp",X="1970-01-01T00:00:01-00:00";class tt{constructor(t){this.context=t;this.cookiesToSubdomain=!1;this.useSecureCookies=!1;this.domains=[];this.currentDomain=""}isEnabled(){return this.context.getNavigator().cookieEnabled||"cookie"in this.context.getDocument()&&this.context.getDocument().cookie.length>0}addDomain(t){("."+this.context.getHostname()).endsWith(t)&&(!this.currentDomain||t.length<this.currentDomain.length)&&(this.currentDomain=t);this.domains.push(t)}getDomains(){return this.domains}get(t){const e=new RegExp(`(^|;)[ ]*${t}=([^;]*)`).exec(this.context.getDocument().cookie);return e?J(e[2]):""}set(t,e,n){let o,i,s=!1;if((n=n||{}).minsToExpire){o=new Date;o.setTime(o.getTime()+1e3*n.minsToExpire*60)}else if(n.daysToExpire){o=new Date;o.setTime(o.getTime()+1e3*n.daysToExpire*60*60*24)}else n.expiryDate&&n.expiryDate.toGMTString?o=n.expiryDate:n.expiryDate&&(o=new Date(n.expiryDate));if(void 0!==o){i=o.toGMTString();s=!0}this.setCookie(t,j(e),{expires:s?";expires="+i:"",expiresTime:s?o:null,path:";path="+(n.path?n.path:"/"),domain:!this.cookiesToSubdomain&&this.currentDomain?";domain="+this.currentDomain:"",secure:this.useSecureCookies?";secure":"",sameSite:";SameSite=Lax"})}getDomainAncestry(t){if(""===t||!t)return[];const e=t.split(".");if(2===e.length)return[t];if(""===e[e.length-1]||e.length<2){console.error(`Invalid Domain: ${t}, Parsed As: [${e}]`);return[]}const n=[];let o,i=""+e[e.length-1];for(o=e.length-2;o>=0;o--){if(""===e[o]){if(0!==o){console.error(`Invalid Domain: ${t}, Parsed As: [${e}]`);return[]}continue}const s=`${e[o]}.${i}`;n.push(s);i=s}return n}removeFBPCookie(){const t=new Date(X),e=t.toUTCString();this.getDomainAncestry(this.context.getDocument().domain).forEach(n=>{this.setCookie(Q,"",{expires:";expires="+e,expiresTime:t,path:";path=/",domain:";domain=."+n,secure:"",sameSite:";SameSite=Lax"})})}getGACookieNames(){const t=this.context.getDocument().cookie;if(!t)return[];const e=new RegExp(`(${Z})=[^;]+`,"g");return[...t.matchAll(e)].map(t=>t[1])}removeGACookie(){this.getGACookieNames().forEach(t=>this.remove(t))}remove(t){this.set(t,"",{expiryDate:X})}setCookie(t,e,n){const o=n.expires+n.path+n.domain+n.sameSite+n.secure;this.writeCookie(`${t}=${e}${o}`)}writeCookie(t){this.context.getDocument().cookie=t}setCookiesToSubdomain(t){this.cookiesToSubdomain=t}setUseSecureCookies(t){this.useSecureCookies=t}}class et{constructor(t,e){this.name=t;this.expirationDays=e}getName(){return this.name}getExpirationDays(){return this.expirationDays}}et.CATEGORY_PREFERENCE_COOKIE=new et("__hs_cookie_cat_pref",180);et.GPC_BANNER_DISMISS_COOKIE=new et("__hs_gpc_banner_dismiss",180);et.OPT_OUT_COOKIE=new et("__hs_opt_out",180);et.INITIAL_OPT_IN=new et("__hs_initial_opt_in",7);var nt,ot,it,st,at,rt,ct={},lt=[],ht=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function dt(t,e){for(var n in e)t[n]=e[n];return t}function ut(t){var e=t.parentNode;e&&e.removeChild(t)}function mt(t,e,n){var o,i,s,a={};for(s in e)"key"==s?o=e[s]:"ref"==s?i=e[s]:a[s]=e[s];if(arguments.length>2&&(a.children=arguments.length>3?nt.call(arguments,2):n),"function"==typeof t&&null!=t.defaultProps)for(s in t.defaultProps)void 0===a[s]&&(a[s]=t.defaultProps[s]);return pt(t,a,o,i,null)}function pt(t,e,n,o,i){var s={type:t,props:e,key:n,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==i?++it:i};return null==i&&null!=ot.vnode&&ot.vnode(s),s}function ft(t){return t.children}function gt(t,e){this.props=t,this.context=e}function _t(t,e){if(null==e)return t.__?_t(t.__,t.__.__k.indexOf(t)+1):null;for(var n;e<t.__k.length;e++)if(null!=(n=t.__k[e])&&null!=n.__e)return n.__e;return"function"==typeof t.type?_t(t):null}function bt(t){var e,n;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if(null!=(n=t.__k[e])&&null!=n.__e){t.__e=t.__c.base=n.__e;break}return bt(t)}}function yt(t){(!t.__d&&(t.__d=!0)&&st.push(t)&&!vt.__r++||rt!==ot.debounceRendering)&&((rt=ot.debounceRendering)||at)(vt)}function vt(){for(var t;vt.__r=st.length;)t=st.sort((function(t,e){return t.__v.__b-e.__v.__b})),st=[],t.some((function(t){var e,n,o,i,s,a;t.__d&&(s=(i=(e=t).__v).__e,(a=e.__P)&&(n=[],(o=dt({},i)).__v=i.__v+1,At(a,i,o,e.__n,void 0!==a.ownerSVGElement,null!=i.__h?[s]:null,n,null==s?_t(i):s,i.__h),Ot(n,i),i.__e!=s&&bt(i)))}))}function xt(t,e,n,o,i,s,a,r,c,l){var h,d,u,m,p,f,g,_=o&&o.__k||lt,b=_.length;for(n.__k=[],h=0;h<e.length;h++)if(null!=(m=n.__k[h]=null==(m=e[h])||"boolean"==typeof m?null:"string"==typeof m||"number"==typeof m||"bigint"==typeof m?pt(null,m,null,null,m):Array.isArray(m)?pt(ft,{children:m},null,null,null):m.__b>0?pt(m.type,m.props,m.key,null,m.__v):m)){if(m.__=n,m.__b=n.__b+1,null===(u=_[h])||u&&m.key==u.key&&m.type===u.type)_[h]=void 0;else for(d=0;d<b;d++){if((u=_[d])&&m.key==u.key&&m.type===u.type){_[d]=void 0;break}u=null}At(t,m,u=u||ct,i,s,a,r,c,l),p=m.__e,(d=m.ref)&&u.ref!=d&&(g||(g=[]),u.ref&&g.push(u.ref,null,m),g.push(d,m.__c||p,m)),null!=p?(null==f&&(f=p),"function"==typeof m.type&&m.__k===u.__k?m.__d=c=Ct(m,c,t):c=kt(t,m,u,_,p,c),"function"==typeof n.type&&(n.__d=c)):c&&u.__e==c&&c.parentNode!=t&&(c=_t(u))}for(n.__e=f,h=b;h--;)null!=_[h]&&("function"==typeof n.type&&null!=_[h].__e&&_[h].__e==n.__d&&(n.__d=_t(o,h+1)),Pt(_[h],_[h]));if(g)for(h=0;h<g.length;h++)Nt(g[h],g[++h],g[++h])}function Ct(t,e,n){for(var o,i=t.__k,s=0;i&&s<i.length;s++)(o=i[s])&&(o.__=t,e="function"==typeof o.type?Ct(o,e,n):kt(n,o,o,i,o.__e,e));return e}function kt(t,e,n,o,i,s){var a,r,c;if(void 0!==e.__d)a=e.__d,e.__d=void 0;else if(null==n||i!=s||null==i.parentNode)t:if(null==s||s.parentNode!==t)t.appendChild(i),a=null;else{for(r=s,c=0;(r=r.nextSibling)&&c<o.length;c+=2)if(r==i)break t;t.insertBefore(i,s),a=s}return void 0!==a?a:i.nextSibling}function wt(t,e,n,o,i){var s;for(s in n)"children"===s||"key"===s||s in e||Lt(t,s,null,n[s],o);for(s in e)i&&"function"!=typeof e[s]||"children"===s||"key"===s||"value"===s||"checked"===s||n[s]===e[s]||Lt(t,s,e[s],n[s],o)}function St(t,e,n){"-"===e[0]?t.setProperty(e,n):t[e]=null==n?"":"number"!=typeof n||ht.test(e)?n:n+"px"}function Lt(t,e,n,o,i){var s;t:if("style"===e)if("string"==typeof n)t.style.cssText=n;else{if("string"==typeof o&&(t.style.cssText=o=""),o)for(e in o)n&&e in n||St(t.style,e,"");if(n)for(e in n)o&&n[e]===o[e]||St(t.style,e,n[e])}else if("o"===e[0]&&"n"===e[1])s=e!==(e=e.replace(/Capture$/,"")),e=e.toLowerCase()in t?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+s]=n,n?o||t.addEventListener(e,s?Et:Tt,s):t.removeEventListener(e,s?Et:Tt,s);else if("dangerouslySetInnerHTML"!==e){if(i)e=e.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==e&&"list"!==e&&"form"!==e&&"tabIndex"!==e&&"download"!==e&&e in t)try{t[e]=null==n?"":n;break t}catch(t){}"function"==typeof n||(null!=n&&(!1!==n||"a"===e[0]&&"r"===e[1])?t.setAttribute(e,n):t.removeAttribute(e))}}function Tt(t){this.l[t.type+!1](ot.event?ot.event(t):t)}function Et(t){this.l[t.type+!0](ot.event?ot.event(t):t)}function At(t,e,n,o,i,s,a,r,c){var l,h,d,u,m,p,f,g,_,b,y,v=e.type;if(void 0!==e.constructor)return null;null!=n.__h&&(c=n.__h,r=e.__e=n.__e,e.__h=null,s=[r]),(l=ot.__b)&&l(e);try{t:if("function"==typeof v){if(g=e.props,_=(l=v.contextType)&&o[l.__c],b=l?_?_.props.value:l.__:o,n.__c?f=(h=e.__c=n.__c).__=h.__E:("prototype"in v&&v.prototype.render?e.__c=h=new v(g,b):(e.__c=h=new gt(g,b),h.constructor=v,h.render=Bt),_&&_.sub(h),h.props=g,h.state||(h.state={}),h.context=b,h.__n=o,d=h.__d=!0,h.__h=[]),null==h.__s&&(h.__s=h.state),null!=v.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=dt({},h.__s)),dt(h.__s,v.getDerivedStateFromProps(g,h.__s))),u=h.props,m=h.state,d)null==v.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(null==v.getDerivedStateFromProps&&g!==u&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(g,b),!h.__e&&null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(g,h.__s,b)||e.__v===n.__v){h.props=g,h.state=h.__s,e.__v!==n.__v&&(h.__d=!1),h.__v=e,e.__e=n.__e,e.__k=n.__k,e.__k.forEach((function(t){t&&(t.__=e)})),h.__h.length&&a.push(h);break t}null!=h.componentWillUpdate&&h.componentWillUpdate(g,h.__s,b),null!=h.componentDidUpdate&&h.__h.push((function(){h.componentDidUpdate(u,m,p)}))}h.context=b,h.props=g,h.state=h.__s,(l=ot.__r)&&l(e),h.__d=!1,h.__v=e,h.__P=t,l=h.render(h.props,h.state,h.context),h.state=h.__s,null!=h.getChildContext&&(o=dt(dt({},o),h.getChildContext())),d||null==h.getSnapshotBeforeUpdate||(p=h.getSnapshotBeforeUpdate(u,m)),y=null!=l&&l.type===ft&&null==l.key?l.props.children:l,xt(t,Array.isArray(y)?y:[y],e,n,o,i,s,a,r,c),h.base=e.__e,e.__h=null,h.__h.length&&a.push(h),f&&(h.__E=h.__=null),h.__e=!1}else null==s&&e.__v===n.__v?(e.__k=n.__k,e.__e=n.__e):e.__e=It(n.__e,e,n,o,i,s,a,c);(l=ot.diffed)&&l(e)}catch(t){e.__v=null,(c||null!=s)&&(e.__e=r,e.__h=!!c,s[s.indexOf(r)]=null),ot.__e(t,e,n)}}function Ot(t,e){ot.__c&&ot.__c(e,t),t.some((function(e){try{t=e.__h,e.__h=[],t.some((function(t){t.call(e)}))}catch(t){ot.__e(t,e.__v)}}))}function It(t,e,n,o,i,s,a,r){var c,l,h,d=n.props,u=e.props,m=e.type,p=0;if("svg"===m&&(i=!0),null!=s)for(;p<s.length;p++)if((c=s[p])&&"setAttribute"in c==!!m&&(m?c.localName===m:3===c.nodeType)){t=c,s[p]=null;break}if(null==t){if(null===m)return document.createTextNode(u);t=i?document.createElementNS("http://www.w3.org/2000/svg",m):document.createElement(m,u.is&&u),s=null,r=!1}if(null===m)d===u||r&&t.data===u||(t.data=u);else{if(s=s&&nt.call(t.childNodes),l=(d=n.props||ct).dangerouslySetInnerHTML,h=u.dangerouslySetInnerHTML,!r){if(null!=s)for(d={},p=0;p<t.attributes.length;p++)d[t.attributes[p].name]=t.attributes[p].value;(h||l)&&(h&&(l&&h.__html==l.__html||h.__html===t.innerHTML)||(t.innerHTML=h&&h.__html||""))}if(wt(t,u,d,i,r),h)e.__k=[];else if(p=e.props.children,xt(t,Array.isArray(p)?p:[p],e,n,o,i&&"foreignObject"!==m,s,a,s?s[0]:n.__k&&_t(n,0),r),null!=s)for(p=s.length;p--;)null!=s[p]&&ut(s[p]);r||("value"in u&&void 0!==(p=u.value)&&(p!==t.value||"progress"===m&&!p||"option"===m&&p!==d.value)&&Lt(t,"value",p,d.value,!1),"checked"in u&&void 0!==(p=u.checked)&&p!==t.checked&&Lt(t,"checked",p,d.checked,!1))}return t}function Nt(t,e,n){try{"function"==typeof t?t(e):t.current=e}catch(t){ot.__e(t,n)}}function Pt(t,e,n){var o,i;if(ot.unmount&&ot.unmount(t),(o=t.ref)&&(o.current&&o.current!==t.__e||Nt(o,null,e)),null!=(o=t.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(t){ot.__e(t,e)}o.base=o.__P=null}if(o=t.__k)for(i=0;i<o.length;i++)o[i]&&Pt(o[i],e,"function"!=typeof t.type);n||null==t.__e||ut(t.__e),t.__e=t.__d=void 0}function Bt(t,e,n){return this.constructor(t,n)}function Dt(t,e,n){var o,i,s;ot.__&&ot.__(t,e),i=(o="function"==typeof n)?null:n&&n.__k||e.__k,s=[],At(e,t=(!o&&n||e).__k=mt(ft,null,[t]),i||ct,ct,void 0!==e.ownerSVGElement,!o&&n?[n]:i?null:e.firstChild?nt.call(e.childNodes):null,s,!o&&n?n:i?i.__e:e.firstChild,o),Ot(s,t)}nt=lt.slice,ot={__e:function(t,e){for(var n,o,i;e=e.__;)if((n=e.__c)&&!n.__)try{if((o=n.constructor)&&null!=o.getDerivedStateFromError&&(n.setState(o.getDerivedStateFromError(t)),i=n.__d),null!=n.componentDidCatch&&(n.componentDidCatch(t),i=n.__d),i)return n.__E=n}catch(e){t=e}throw t}},it=0,function(t){return null!=t&&void 0===t.constructor},gt.prototype.setState=function(t,e){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=dt({},this.state),"function"==typeof t&&(t=t(dt({},n),this.props)),t&&dt(n,t),null!=t&&this.__v&&(e&&this.__h.push(e),yt(this))},gt.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),yt(this))},gt.prototype.render=ft,st=[],at="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,vt.__r=0,0;var Rt=0;function Gt(t,e,n,o,i){var s,a,r={};for(a in e)"ref"==a?s=e[a]:r[a]=e[a];var c={type:t,props:r,key:n,ref:s,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--Rt,__source:o,__self:i};if("function"==typeof t&&(s=t.defaultProps))for(a in s)void 0===r[a]&&(r[a]=s[a]);return ot.vnode&&ot.vnode(c),c}var Ht,Mt,zt,Ut=0,Ft=[],Yt=ot.__b,Wt=ot.__r,Kt=ot.diffed,qt=ot.__c,Vt=ot.unmount;function $t(t,e){ot.__h&&ot.__h(Mt,t,Ut||e),Ut=0;var n=Mt.__H||(Mt.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({}),n.__[t]}function jt(t){return Ut=1,Jt(se,t)}function Jt(t,e,n){var o=$t(Ht++,2);return o.t=t,o.__c||(o.__=[n?n(e):se(void 0,e),function(t){var e=o.t(o.__[0],t);o.__[0]!==e&&(o.__=[e,o.__[1]],o.__c.setState({}))}],o.__c=Mt),o.__}function Zt(t,e){var n=$t(Ht++,3);!ot.__s&&ie(n.__H,e)&&(n.__=t,n.__H=e,Mt.__H.__h.push(n))}function Qt(t){return Ut=5,Xt((function(){return{current:t}}),[])}function Xt(t,e){var n=$t(Ht++,7);return ie(n.__H,e)&&(n.__=t(),n.__H=e,n.__h=t),n.__}function te(){for(var t;t=Ft.shift();)if(t.__P)try{t.__H.__h.forEach(ne),t.__H.__h.forEach(oe),t.__H.__h=[]}catch(e){t.__H.__h=[],ot.__e(e,t.__v)}}ot.__b=function(t){Mt=null,Yt&&Yt(t)},ot.__r=function(t){Wt&&Wt(t),Ht=0;var e=(Mt=t.__c).__H;e&&(e.__h.forEach(ne),e.__h.forEach(oe),e.__h=[])},ot.diffed=function(t){Kt&&Kt(t);var e=t.__c;e&&e.__H&&e.__H.__h.length&&(1!==Ft.push(e)&&zt===ot.requestAnimationFrame||((zt=ot.requestAnimationFrame)||function(t){var e,n=function(){clearTimeout(o),ee&&cancelAnimationFrame(e),setTimeout(t)},o=setTimeout(n,100);ee&&(e=requestAnimationFrame(n))})(te)),Mt=null},ot.__c=function(t,e){e.some((function(t){try{t.__h.forEach(ne),t.__h=t.__h.filter((function(t){return!t.__||oe(t)}))}catch(n){e.some((function(t){t.__h&&(t.__h=[])})),e=[],ot.__e(n,t.__v)}})),qt&&qt(t,e)},ot.unmount=function(t){Vt&&Vt(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach((function(t){try{ne(t)}catch(t){e=t}})),e&&ot.__e(e,n.__v))};var ee="function"==typeof requestAnimationFrame;function ne(t){var e=Mt,n=t.__c;"function"==typeof n&&(t.__c=void 0,n()),Mt=e}function oe(t){var e=Mt;t.__c=t.__(),Mt=e}function ie(t,e){return!t||t.length!==e.length||e.some((function(e,n){return e!==t[n]}))}function se(t,e){return"function"==typeof e?e(t):e}function ae({color:t,size:e}){return Gt("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 32 32",width:e,height:e,children:Gt("path",{fill:""+t,d:"M4.3,27.7c0.2,0.2,0.6,0.5,1,0.5c0.4,0,0.8-0.2,1-0.5l9.6-9.5l9.6,9.5c0.2,0.2,0.6,0.5,1,0.5 c0.8,0,1.5-0.6,1.5-1.5c0-0.4-0.2-0.8-0.5-1L18.2,16l9.5-9.5c0.2-0.2,0.4-0.6,0.4-1c0-0.8-0.6-1.5-1.5-1.5c-0.4,0-0.7,0.2-1,0.4l0,0 L16,13.8L6.5,4.3C6.2,4,5.8,3.8,5.4,3.8c-0.8,0-1.5,0.6-1.5,1.5c0,0.5,0.2,0.8,0.5,1.1l0,0l9.5,9.5l-9.5,9.6c-0.2,0.2-0.5,0.6-0.5,1 S4.1,27.4,4.3,27.7L4.3,27.7z"})})}ae.defaultProps={color:"#15295A",size:"14px"};function re(t,e,n,o){n&&o&&e.addEventListener("keydown",e=>{if(!("Tab"===e.key||"Tab"===e.code))return;const i=t.getDocument().activeElement;if(e.shiftKey){if(i===n){o.focus();e.preventDefault()}}else if(i===o){n.focus();e.preventDefault()}})}function ce({context:t,onAcceptAll:e,onCookieSettingsClick:n,onDeclineAll:o,setting:i,onCloseBannerButtonClick:s,isModalDisplayed:a}){const r=Qt(null),c=Qt(null),l=Qt(null),h=Qt(null),d=Qt(null);Zt(()=>{if(!r.current)return;const e=c.current||l.current,n=d.current||h.current;re(t,r.current,e,n)},[t,r,c,h,d,l]);const m=a?-1:1,p=i.policy,f=i.policy.type,g=f===z.COOKIES_BY_CATEGORY,_=f===z.OPT_IN||f===z.COOKIES_BY_CATEGORY,b=i.customizationSettings.showCloseButton;return Gt("div",{id:u,className:i.customizationSettings.position.getBannerClassname(),"data-nosnippet":"true",role:"dialog","aria-describedby":"hs-eu-policy-wording",ref:r,tabIndex:m,children:Gt("div",{id:"hs-eu-cookie-confirmation-inner",children:[b&&Gt("div",{id:"hs-eu-header-container",children:Gt("button",{id:"hs-eu-close-button",className:"hs-close-button",onClick:()=>s(f),ref:c,"aria-label":"Dismiss cookie banner",tabIndex:m,children:Gt(ae,{})})}),Gt("div",{id:"hs-eu-policy-wording",dangerouslySetInnerHTML:R(p.text.notification),ref:l,tabIndex:m}),p.text.disclaimer&&_&&Gt("p",{id:"hs-eu-cookie-disclaimer",dangerouslySetInnerHTML:R(p.text.disclaimer),tabIndex:m}),Gt("div",{id:"hs-eu-cookie-confirmation-buttons-area",children:[g&&Gt("button",{onClick:()=>n(),id:"hs-eu-cookie-settings-button",dangerouslySetInnerHTML:R(p.text.cookieSettingsLabel),"aria-label":p.text.cookieSettingsLabel,tabIndex:m}),Gt("button",{id:"hs-eu-confirmation-button",onClick:()=>e(),dangerouslySetInnerHTML:R(p.text.acceptLabel),"aria-label":p.text.acceptLabel,ref:h,tabIndex:m}),_&&Gt("button",{id:"hs-eu-decline-button",onClick:()=>o(),dangerouslySetInnerHTML:R(p.text.declineLabel),ref:d,"aria-label":p.text.declineLabel,tabIndex:m})]})]})})}function le({category:t,disabled:e,onToggleChange:n,toggleValue:o}){const i="hs-category-toggle-"+t,s=i+"-help-text";return Gt("div",{className:"hs-category-toggle",children:[Gt("input",{id:i,className:"hs-toggle hs-toggle-round",type:"checkbox",onChange:t=>n(t.currentTarget.checked),checked:o,disabled:e,"aria-pressed":o,tabIndex:1,"aria-describedby":s,"data-test-id":i}),Gt("label",{htmlFor:i}),Gt("span",{className:"hs-hidden",id:s,children:`${t} cookies ${o?"allowed":"disallowed"}`})]})}function he({className:t,color:e,size:n}){return Gt("svg",{version:"1.1",id:"plus-icon-svg",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 32 32",width:n,height:n,className:t,children:Gt("path",{fill:e,d:"M22.6,15.3c-0.1-0.1-0.1-0.2-0.2-0.2l0,0l-0.1-0.2l0,0l0,0l0,0L12.1,4.2c-0.2-0.2-0.6-0.5-1.1-0.5 c-0.9,0-1.5,0.7-1.5,1.5c0,0.4,0.2,0.7,0.4,1l0,0l9.3,9.7l-9.3,9.7c-0.3,0.3-0.6,0.7-0.6,1.1c0,0.9,0.7,1.5,1.5,1.5 c0.5,0,1-0.2,1.2-0.6l0,0l10.2-10.7l0,0l0,0l0,0l0.2-0.2c0.1-0.1,0.1-0.2,0.2-0.2l0,0c0-0.1,0.1-0.2,0.1-0.2l0,0 c0-0.1,0.1-0.2,0.1-0.3l0,0c0-0.1,0-0.2-0.1-0.3l0,0v-0.1C22.6,15.5,22.6,15.4,22.6,15.3L22.6,15.3L22.6,15.3z"})})}he.defaultProps={color:"#000022",size:"12px"};function de(t,e){if(!e)return!1;const n=t.getBoundingClientRect(),o=e.getBoundingClientRect();return n.top>=o.top&&n.left>=o.left&&n.bottom<=o.bottom&&n.right<=o.right}function ue({category:t,onToggleChange:e,sectionText:n,toggleValue:o,modalBodyRef:i}){const[s,a]=jt(!1),r=t===_.NECESSARY,c=Qt(null),l=Qt(null),h=()=>{a(!s)};Zt(()=>{if(s){const t=c.current;t&&t.scrollIntoView&&!de(t,i.current)&&t.scrollIntoView({behavior:"smooth"})}},[s,i,c]);return Gt("div",{className:"hs-category-row",ref:c,children:[Gt("div",{className:"hs-category-row-header",children:[Gt("button",{id:"hs-category-"+t,className:"hs-category-label",onClick:h,"aria-expanded":s,"aria-controls":"hs-category-description-"+t,tabIndex:1,children:[Gt(he,{className:"description-accordion-arrow "+(s?"rotated":"")}),Gt("span",{dangerouslySetInnerHTML:R(n.label)})]}),!r&&Gt(le,{category:t,disabled:t===_.NECESSARY,onToggleChange:t=>e(t),toggleValue:o}),n.toggleLabel&&Gt("span",{className:"hs-always-active-label",dangerouslySetInnerHTML:R(n.toggleLabel),tabIndex:1,"aria-label":n.toggleLabel})]}),Gt("div",{className:"hs-category-description "+(s?"visible":""),ref:l,style:{maxHeight:s&&l.current?2*l.current.scrollHeight:0},id:"hs-category-description-"+t,dangerouslySetInnerHTML:R(n.description),tabIndex:1})]})}var me=n(1),pe=n.n(me),fe=n(2),ge=n.n(fe);const _e="#425b76",be=(t,e,n,o,i)=>{const s=t.getDocument(),a=s.createElement("style");a.setAttribute("type","text/css");a.setAttribute("id",o);const r=i?e.replaceAll("https://api_base_url",i):e,c=n?r.replaceAll(_e,n):r,l=s.createTextNode(c);a.appendChild(l);const h=s.body.firstChild;s.body.insertBefore(a,h)};function ye(t,e,n){if(!t.getHasLoadedBaseStyle()){be(t,pe.a,e,y,n);t.setHasLoadedBaseStyle(!0)}}function ve(t,e){if(!t.getHasLoadedCbcStyle()){be(t,ge.a,e,v);t.setHasLoadedCbcStyle(!0)}}const xe=(t,e,n,o)=>{const i=t.getDocument(),s=i.createElement("style");s.setAttribute("type","text/css");s.setAttribute("id",n);const a=o?e.replaceAll("https://api_base_url",o):e,r=i.createTextNode(a);s.appendChild(r);const c=i.body.firstChild;i.body.insertBefore(s,c)};function Ce(t,e,n){if(!t.getHasLoadedBaseStyle()){xe(t,e,y,n);t.setHasLoadedBaseStyle(!0)}}function ke(t,e){if(!t.getHasLoadedCbcStyle()){xe(t,e,v);t.setHasLoadedCbcStyle(!0)}}function we({accentColor:t,consent:e,context:n,modalText:o,onAcceptCategories:i,onCloseModal:s,customCss:a}){const r=Qt(null),c=Qt(null),l=Qt(null),h=Qt(null);Zt(()=>{a?ke(n,a):ve(n,t)},[n,t,a]);Zt(()=>{r.current&&re(n,r.current,c.current,l.current)},[n,r,c,l]);const[d,u]=jt(e.categories.analytics),[m,p]=jt(e.categories.advertisement),[b,y]=jt(e.categories.functionality),v=()=>{i({[_.ANALYTICS]:d,[_.ADVERTISEMENT]:m,[_.FUNCTIONALITY]:b})},x=()=>{u(!0);p(!0);y(!0);i({[_.ANALYTICS]:!0,[_.ADVERTISEMENT]:!0,[_.FUNCTIONALITY]:!0})};return Gt("div",{id:f,"data-nosnippet":"true",children:Gt("div",{id:g,ref:r,role:"alertdialog","aria-modal":"true","aria-labelledby":"hs-modal-introduction","aria-describedby":"hs-modal-introduction-description",tabIndex:1,children:[Gt("div",{id:"hs-modal-header",children:Gt("div",{id:"hs-modal-header-container",children:Gt("button",{id:"hs-modal-close-button",className:"hs-close-button",onClick:()=>s(),ref:c,tabIndex:1,"aria-label":"Close modal",children:Gt(ae,{})})})}),Gt("div",{id:"hs-modal-body",ref:h,children:Gt("div",{id:"hs-modal-body-container",children:[Gt("div",{id:"hs-modal-introduction",children:Gt("span",{dangerouslySetInnerHTML:R(o.introduction.label)})}),Gt("div",{id:"hs-modal-introduction-description",children:Gt("p",{dangerouslySetInnerHTML:R(o.introduction.description)})}),Gt("div",{id:"hs-categories-container",children:[Gt(ue,{category:_.NECESSARY,onToggleChange:()=>{},sectionText:o.necessary,toggleValue:!0,modalBodyRef:h}),Gt(ue,{category:_.ANALYTICS,onToggleChange:t=>u(t),sectionText:o.analytics,toggleValue:d,modalBodyRef:h}),Gt(ue,{category:_.ADVERTISEMENT,onToggleChange:t=>p(t),sectionText:o.advertisement,toggleValue:m,modalBodyRef:h}),Gt(ue,{category:_.FUNCTIONALITY,onToggleChange:t=>y(t),sectionText:o.functionality,toggleValue:b,modalBodyRef:h})]})]})}),Gt("div",{id:"hs-modal-footer",children:Gt("div",{id:"hs-modal-footer-container",children:[Gt("button",{id:"hs-modal-accept-all",onClick:()=>x(),tabIndex:1,children:o.acceptLabel}),Gt("button",{id:"hs-modal-save-settings",onClick:v,ref:l,tabIndex:1,children:o.saveSettingsLabel})]})})]})})}function Se({apiBaseUrl:t,consent:e,setting:n,context:o,onConsentChange:i,onCloseBannerWithoutConsent:s,customCss:a,customModalCss:r}){const[c,l]=jt(!1),h=()=>{e.update(!0);i(e)},d=()=>{e.update(!1);i(e)},m=({analytics:t,advertisement:n,functionality:o})=>{e.updateCategories({analytics:t,advertisement:n,functionality:o});i(e)},p=t=>{if(t!==z.OPT_IN&&t!==z.COOKIES_BY_CATEGORY){e.update(!0);i(e)}else s()},f=()=>{l(!0)},g=()=>{l(!1);const t=o.getDocument().getElementById(u);t&&t.focus()};a?Ce(o,a,t):ye(o,n.customizationSettings.accentColor,t);return Gt(ft,{children:[Gt(ce,{context:o,setting:n,onAcceptAll:h,onDeclineAll:d,onCookieSettingsClick:f,onCloseBannerButtonClick:p,isModalDisplayed:c}),c&&Gt(we,{accentColor:n.customizationSettings.accentColor,consent:e,context:o,modalText:n.policy.text.modalText,onAcceptCategories:m,onCloseModal:g,customCss:r})]})}function Le({apiBaseUrl:t,context:e,setting:n,onCloseBanner:o,customCss:i}){i?Ce(e,i,t):ye(e,n.customizationSettings.accentColor,t);return Gt("div",{id:m,className:n.customizationSettings.position.getBannerClassname(),"data-nosnippet":"true",role:"dialog","aria-describedby":"hs-banner-gpc-wording",children:Gt("div",{id:"hs-banner-gpc-inner",children:[Gt("div",{id:"hs-banner-gpc-header",children:Gt("button",{id:"hs-banner-gpc-close-button",className:"hs-close-button",onClick:o,"aria-label":"Dismiss banner",children:Gt(ae,{})})}),Gt("div",{id:"hs-banner-gpc-wording",dangerouslySetInnerHTML:R(n.gpcSettings.notificationText)})]})})}const Te=t=>{const e=t.getDocument().createElement("div");e.setAttribute("id",p);t.getDocument().body.prepend(e);return e};function Ee(t,e,n,o,i,s){const a=Te(o);Dt(Gt(Se,{apiBaseUrl:t,consent:e,setting:n,context:o,onConsentChange:t=>i(t),onCloseBannerWithoutConsent:s}),a);return a}function Ae(t,e,n,o){const i=Te(e);Dt(Gt(Le,{apiBaseUrl:t,context:e,setting:n,onCloseBanner:o}),i);return i}class Oe{static postActivity(t,e,n){fetch(t,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)}).then(()=>T.info(`Sent a banner ${e} event.`)).catch(()=>T.error(`There was an issue sending a banner ${e} event.`))}static sendView(t,e){Oe.postActivity(t+"/activity/view","VIEW",e)}static sendClick(t,e){Oe.postActivity(t+"/activity/click","CLICK",e)}}class Ie{constructor(t){this.privateMethods=["hasBeenInitialized","invoke","run","findMatchingSetting","setConsent","setConsentCookie","setMatchingSetting","safeCallListener","renderBanner","getMatchingSetting","getConsent","removeDeprecatedBannerCookies"];this.enabledFeatureGates=[];this.context=t;this.bannerSettings=[];this.privacyConsentListeners=[];this.privacySettingsListeners=[];this.useGeoLocation=!1;this.cookie=new tt(t);this.isRunningInTestMode=t.getLocation().search.includes(d);this.removeDeprecatedBannerCookies()}removeDeprecatedBannerCookies(){this.cookie.get(et.OPT_OUT_COOKIE.getName())&&this.cookie.remove(et.OPT_OUT_COOKIE.getName());this.cookie.get(et.INITIAL_OPT_IN.getName())&&this.cookie.remove(et.INITIAL_OPT_IN.getName())}run(){if(this.disableBannerFlagSet()){T.info('"PRIVACY" flag found in disabledHsPopups window queue. Banner script will not run.');return!0}this.findMatchingSetting();this.logGpcSignal();if(!this.matchedSetting){T.debug("we were unable to find the matching settings for this webpages. The banner will not run.");this.setConsent(new $(!0),{reportClick:!1});return!1}if(this.shouldScanningOverride()){this.setConsent(new $(!0),{reportClick:!1,persist:!0,treatAsConsentEvent:!0});return!0}if(this.shouldGpcOverride()){this.setConsent(new $(!1),{persist:!1,reportClick:!1});this.isGpcBannerDismissCookiePresent()||this.renderGpcBanner();return!0}switch(this.matchedSetting.policy.type){case z.NO_COOKIES:this.setConsent(new $(!1),{reportClick:!1});break;case z.OPT_IN:case z.COOKIES_BY_CATEGORY:{const t=this.readConsentCookie();if(t){this.setConsent(t,{persist:!1,reportClick:!1});t.hasAnalyticsConsent()||this.cookie.removeGACookie();break}this.cookie.removeGACookie();this.setConsent($.buildInitialConsent(),{persist:!1,reportClick:!1});this.renderBanner();break}case z.NOTIFY:this.setConsent(new $(!0),{persist:!1,reportClick:!1});if(this.readConsentCookie())break;this.renderBanner();break;case z.COOKIES_WITHOUT_BANNER:default:this.setConsent(new $(!0),{reportClick:!1})}return!0}shouldScanningOverride(){return[z.COOKIES_BY_CATEGORY,z.OPT_IN,z.NOTIFY].includes(this.matchedSetting.policy.type)&&this.context.getWindow()[c]}shouldGpcOverride(){return this.matchedSetting.gpcSettings.enabled&&this.getGpcSignal()}getGpcSignal(){const t=this.context.getLocation().search;if(t.includes(r)){return{TRUE:!0,FALSE:!1}[(new URLSearchParams(t).get(r)||"").toUpperCase()]}return this.context.getNavigator().globalPrivacyControl}logGpcSignal(){T.debug("GPC signal: "+this.getGpcSignal())}findMatchingSetting(){const t=this.context.getPathname();let e;for(const n of this.bannerSettings){if(!n.enabled)continue;if(!n.configuration.test(t,this.geoLocation))continue;const o=e&&e.configuration.getMatchLevel()||0,i=n.configuration.getMatchLevel();if(e){if(o<i)e=n;else if(o===i){e.configuration.getPriority()<n.configuration.getPriority()&&(e=n)}}else e=n}e&&this.setMatchingSetting(e.withSanitizedPolicy())}setMatchingSetting(t){this.matchedSetting=t;if(0===this.privacySettingsListeners.length)return;const e=t.toLegacyPrivacyPolicy();this.privacySettingsListeners.forEach(t=>this.safeCallListener(t,e))}getMatchingSetting(){return this.matchedSetting}hasEnabledFeatureGate(t){return this.enabledFeatureGates&&this.enabledFeatureGates.includes(t)}setApiBaseUrl(t){/^https:\/\/js-?.{0,3}\.hs-banner(qa)?\.com.*/.test(t)?this.apiBaseUrl=t:T.error("unsupported base Api url provided.")}setBannerSettings(t){(t[this.context.getLocation().hostname]||[]).forEach(t=>this.bannerSettings.push(Y.fromJS(t)))}getCurrentGeoLocation(){return new Promise(t=>{const e=this.context.getLocation().search;if(e.includes(a)){const n=new URLSearchParams(e).get(a);t(n||"")}else fetch(this.apiBaseUrl+"/cf-location").then(t=>t.text()).then(e=>t(e)).catch(()=>{T.error("We could not fetch the geolocation.");t("")})})}setGeoLocation(t){this.geoLocation=t}addEnabledFeatureGates(t){t.forEach(t=>this.enabledFeatureGates.push(t))}addCookieDomain(t){this.cookie.addDomain(t)}setCookiesToSubdomain(t){this.cookie.setCookiesToSubdomain(t)}setUseSecureCookies(t){this.cookie.setUseSecureCookies(t)}setUseGeoLocation(){this.useGeoLocation=!0}addPrivacyConsentListener(t){this.consent&&this.safeCallListener(t,this.consent.getSafeCopy());this.privacyConsentListeners.push(t)}setConsent(t,e){const n={persist:!0,treatAsConsentEvent:!0,reportClick:!0},{persist:o,treatAsConsentEvent:i,reportClick:s}=Object.assign({},n,{},e);this.consent=t;i&&this.hideBanner();o&&this.setConsentCookie();if(!this.isRunningInTestMode){s&&(this.consent.hasAnalyticsConsent()?this.trackAction("trackApproveCookieConsent"):this.trackAction("trackDeclineCookieConsent"));if(i){this.privacyConsentListeners.forEach(e=>this.safeCallListener(e,t.getSafeCopy()));this.consent.adsHasChangedToFalse()&&this.cookie.removeFBPCookie()}s&&this.sendClickActivity()}}getConsent(){return this.consent.getSafeCopy()}setConsentCookie(){if(!this.matchedSetting||this.isRunningInTestMode)return;const t=this.matchedSetting.policy.type;t!==z.NO_COOKIES&&t!==z.COOKIES_WITHOUT_BANNER&&this.cookie.set(et.CATEGORY_PREFERENCE_COOKIE.getName(),this.consent.toCookieString(),{daysToExpire:et.CATEGORY_PREFERENCE_COOKIE.getExpirationDays(),path:"/"})}readConsentCookie(){const t=this.cookie.get(et.CATEGORY_PREFERENCE_COOKIE.getName());return t?$.buildFromCookieString(t):null}safeCallListener(t,e){try{t(e)}catch(t){T.error("error calling listener.")}}isGpcBannerDismissCookiePresent(){return!!this.cookie.get(et.GPC_BANNER_DISMISS_COOKIE.getName())}setGpcBannerDismissCookie(){this.cookie.set(et.GPC_BANNER_DISMISS_COOKIE.getName(),"true",{daysToExpire:et.GPC_BANNER_DISMISS_COOKIE.getExpirationDays(),path:"/"})}dismissGpcBanner(){this.hideBanner();this.setGpcBannerDismissCookie()}renderGpcBanner(){this.bannerParentElement=Ae(this.apiBaseUrl,this.context,this.matchedSetting,this.dismissGpcBanner.bind(this));this.sendViewActivity()}renderBanner(){this.bannerParentElement=Ee(this.apiBaseUrl,this.consent,this.matchedSetting,this.context,this.setConsent.bind(this),this.hideBanner.bind(this));this.sendViewActivity()}hideBanner(){if(this.bannerParentElement){const t=this.bannerParentElement.children;for(let e=0;e<t.length;e++)t[e].classList.add(b)}}showBanner(){if(this.matchedSetting.policy.type===z.NO_COOKIES||this.matchedSetting.policy.type===z.COOKIES_WITHOUT_BANNER)return;this.bannerParentElement||(this.shouldGpcOverride()?this.renderGpcBanner():this.renderBanner());const t=this.bannerParentElement.children;if(t.length>1){t[1].classList.remove(b)}else t[0].classList.remove(b)}invoke(t,e){if(this.privateMethods.includes(t)||!Reflect.has(this,t)){T.debug(`failed to invoke method ${t} of the banner.`);throw new Error("Could not invoke banner method.")}Reflect.get(this,t).apply(this,e)}getBaseActivityPayload(){const t=this.context.getWindow().hsVars&&this.context.getWindow().hsVars.page_id;return{bannerGeoLocation:this.geoLocation||"",bannerPolicyId:this.matchedSetting.id,bannerType:this.matchedSetting.policy.type.getName(),domain:this.matchedSetting.domain,portalId:this.matchedSetting.portalId,contentId:t||""}}sendClickActivity(){if(!this.consent||!this.matchedSetting||this.isRunningInTestMode)return;const t={consentAllowed:this.consent.allowed,consentAnalytics:this.consent.categories.analytics,consentAdvertisement:this.consent.categories.advertisement,consentFunctionality:this.consent.categories.functionality},e=Object.assign({},this.getBaseActivityPayload(),{},t);Oe.sendClick(this.apiBaseUrl,e)}sendViewActivity(){if(!this.matchedSetting||this.isRunningInTestMode)return;const t=this.getBaseActivityPayload();Oe.sendView(this.apiBaseUrl,t)}getAnalyticsQueue(){return this.context.getWindow()[s]=this.context.getWindow()[s]||[]}trackAction(t){try{this.getAnalyticsQueue().push([t])}catch(t){T.error("Unable to send analytics tracking event: "+t)}}disableBannerFlagSet(){const t=this.context.getWindow()[x]||[];return Array.isArray(t)&&t.includes(C)}revokeCookieConsent(){[et.INITIAL_OPT_IN.getName(),et.OPT_OUT_COOKIE.getName(),et.CATEGORY_PREFERENCE_COOKIE.getName(),et.GPC_BANNER_DISMISS_COOKIE.getName(),"__hssc","__hssrc","__hstc","__hs_do_not_track","hubspotutk","messagesUtk"].forEach(t=>this.cookie.remove(t));this.trackAction("trackRevokeCookieConsent");this.setConsent(new $(!1),{reportClick:!1})}addPrivacySettingsListener(t){this.matchedSetting&&this.safeCallListener(t,this.matchedSetting.toLegacyPrivacyPolicy());this.privacySettingsListeners.push(t)}}class Ne{constructor(t){this.priorityFunctions=["setApiBaseUrl","setCookiesToSubdomain","setUseSecureCookies","addCookieDomain","addEnabledFeatureGates","setBannerSettings"];const e=t.getWindow();if(Array.isArray(e[i]))this.queue=e[i];else{this.queue=[];e[i]=this.queue}this.banner=new Ie(t);this.context=t}queuePushFn(t){try{if(!(t&&Array.isArray(t)&&t.length>0)){T.debug("invalid arguments passed to the banner queue.");return!1}const e=t[0],n=t.slice(1);this.banner.invoke(e,n);return!0}catch(t){T.error("There was an error running banner method.")}return!1}overrideQueuePush(){this.queue.push=this.queuePushFn.bind(this)}dequeueEntries(t){for(let e=0;e<this.queue.length;e++){const n=this.queue[e];if(!Array.isArray(n)||0===n.length)continue;const o=n[0];if(t.includes(o)){this.queuePushFn(n);this.queue.splice(e--,1)}}}dequeueAllEntries(){for(let t=0;t<this.queue.length;t++){const e=this.queue[t];if(Array.isArray(e)&&0!==e.length){this.queuePushFn(e);this.queue.splice(t--,1)}}}run(){const t=this.context.getWindow();if(!t[l]){t[l]=!0;this.dequeueEntries(["setUseGeoLocation"]);this.dequeueEntries(this.priorityFunctions);this.dequeueAllEntries();this.overrideQueuePush();this.banner.useGeoLocation?this.banner.getCurrentGeoLocation().then(t=>{this.banner.setGeoLocation(t);this.banner.run()}):this.banner.run()}}}const Pe=S();function Be(){const t=Pe.getWindow();if(t[o]){T.info("the cookie banner has already been loaded via another script.");return}t[o]=!0;new Ne(Pe).run()}const De=Pe.getDocument();function Re(){Be();De.removeEventListener("DOMContentLoaded",Re)}"loading"===De.readyState?De.addEventListener("DOMContentLoaded",Re):Be()}]);
/****** Cookie Banner version static-1.938 *****/