var _hsp = window['_hsp'] = window['_hsp'] || []; _hsp.push(['setCookiePolicy', [{"portalId":8159624,"id":34924981,"domain":"www.cubesoftware.com","path":null,"label":"Cookie banner - EU","enabled":true,"privacyPolicy":1,"privacyHideDecline":false,"privacyDefault":false,"privacyPolicyWording":"

We use cookies to improve the Cube website. Cookies help to provide a more personalized experience for you, and web analytics for us. To learn more about the cookies we're using, check out our Privacy Policy.

","privacyAcceptWording":"Accept","privacyDismissWording":"Decline","privacyDisclaimerWording":"","privacyBannerAccentColor":"#425b76","privacyBannerType":"BOTTOM","cookiesByCategory":null,"targetedCountries":["AT","BE","BG","CY","CZ","DE","DK","EE","ES","FI","FR","GR","HR","HU","IE","IT","LT","LU","LV","MT","NL","PL","PT","RO","SE","SI","SK"],"showCloseButton":false},{"portalId":8159624,"id":2332366,"domain":null,"path":"/hubspot-analytics-default-policy","label":null,"enabled":false,"privacyPolicy":1,"privacyHideDecline":false,"privacyDefault":true,"privacyPolicyWording":"This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.","privacyAcceptWording":"Accept","privacyDismissWording":"Decline","privacyDisclaimerWording":"We won't track your information when you visit our site. But in order to comply with your preferences, we'll have to use just one tiny cookie so that you're not asked to make this choice again.","privacyBannerAccentColor":"#425b76","privacyBannerType":"BOTTOM","cookiesByCategory":null,"targetedCountries":[],"showCloseButton":false}]]); _hsp.push(['addCookieDomain', '.hsforms.com']); _hsp.push(['addCookieDomain', '.hs-sites.com']); _hsp.push(['addCookieDomain', '.hubspot.com']); _hsp.push(['addCookieDomain', '.hubspotpagebuilder.com']); _hsp.push(['addCookieDomain', '.cubesoftware.com']); _hsp.push(['getVisitorCountry']); _hsp.push(['setPortalId', 8159624]); _hsp.push(['setBusinessUnitId', 0]); _hsp.push(['setApiBaseUrl', 'https://js.hs-banner.com/cookie-banner-public/v1']); /** * HubSpot Cookie Banner Code Copyright 2024 HubSpot, Inc. http://www.hubspot.com */ !function(t){var e={};function i(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};t[n].call(o.exports,o,o.exports,i);o.l=!0;return o.exports}i.m=t;i.c=e;i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})};i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});Object.defineProperty(t,"__esModule",{value:!0})};i.t=function(t,e){1&e&&(t=i(t));if(8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);i.r(n);Object.defineProperty(n,"default",{enumerable:!0,value:t});if(2&e&&"string"!=typeof t)for(var o in t)i.d(n,o,function(e){return t[e]}.bind(null,o));return n};i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};i.d(e,"a",e);return e};i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)};i.p="//static.hsappstatic.net/cookie-banner/static-1.25420/";i(i.s=3)}([function(t,e){t.exports="div#hs-eu-cookie-confirmation{background:#fff;height:auto;left:0;position:absolute;top:0;width:100%;z-index:100000000!important;border-bottom:1px solid #cbd6e2;border-top:1px solid #cbd6e2;box-shadow:0 1px 5px #eaf0f6;color:#33475b;font-family:inherit;font-size:inherit;font-weight:400!important;line-height:inherit;text-align:left;text-shadow:none!important;font-size:12px;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;line-height:18px}div#hs-eu-cookie-confirmation.hs-cookie-notification-position-bottom{position:fixed;border-bottom:0;bottom:0;top:auto;box-shadow:0 -1px 3px #eaf0f6}div#hs-eu-cookie-confirmation *{box-sizing:border-box!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner{background:#fff;margin:0 auto;max-width:1000px;padding:20px}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a{text-decoration:none!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a,div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a:hover{background:none!important;border:none!important;box-shadow:none!important;color:#0091ae;font-family:inherit;font-size:inherit;font-weight:400!important;line-height:inherit;text-align:left;text-shadow:none!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a:hover{text-decoration:underline!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner div#hs-eu-policy-wording{margin-bottom:12px}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner div#hs-en-cookie-confirmation-buttons-area,div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner div#hs-eu-cookie-confirmation-button-group{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner div#hs-en-cookie-confirmation-buttons-area{margin-right:72px;justify-content:flex-end;align-items:center}@media (max-width:800px){div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner div#hs-en-cookie-confirmation-buttons-area{justify-content:center;margin-right:0}}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner div#hs-eu-cookie-confirmation-button-group{justify-content:center}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a#hs-eu-confirmation-button,div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a#hs-eu-cookie-settings-button,div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a#hs-eu-decline-button{margin:6px!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a#hs-eu-confirmation-button,div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a#hs-eu-decline-button{border-radius:3px;display:inline-block;padding:10px 16px!important;text-decoration:none!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a#hs-eu-confirmation-button{background-color:#425b76!important;border:1px solid #425b76!important;color:#fff;font-family:inherit;font-size:inherit;font-weight:400!important;line-height:inherit;text-align:left;text-shadow:none!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a#hs-eu-decline-button{border:1px solid #425b76!important;color:#425b76;font-family:inherit;font-size:inherit;font-weight:400!important;line-height:inherit;text-align:left;text-shadow:none!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a#hs-eu-cookie-settings-button{color:#425b76!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner p{margin:0 72px 12px;color:#33475b;font-family:inherit;font-size:inherit;font-weight:400!important;line-height:inherit;text-align:left;text-shadow:none!important}@media (max-width:800px){div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner p{margin:0 20px 12px}}#hs-eu-close-button-container{display:flex;justify-content:end;margin-top:8px;margin-right:8px}#hs-eu-close-button-container a#hs-eu-close-button[role=button]{float:right;width:1.5rem;font-size:40px!important;text-align:center!important;cursor:pointer;color:#8b8589!important}#hs-eu-close-button-container a#hs-eu-close-button[role=button]:hover{background:none!important;border:none!important;box-shadow:none!important;color:#0091ae;font-family:inherit;font-size:inherit;font-weight:400!important;line-height:inherit;text-align:left;text-shadow:none!important;text-decoration:none!important}@media (max-width:800px){#hs-eu-close-button-container a#hs-eu-close-button[role=button]{margin-right:10px;font-size:30px;line-height:50px}}@media (min-width:800px){#hs-eu-close-button-container a#hs-eu-close-button[role=button]{margin-bottom:10px}}@media print{div#hs-eu-cookie-confirmation{display:none!important}}@media screen and (max-width:480px){div#hs-eu-cookie-confirmation{font-size:12px!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner{padding:8px 14px 14px!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a,div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a#hs-eu-confirmation-button{font-size:12px!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner p{font-size:12px!important;margin-bottom:12px!important;line-height:15px!important}}@media only screen and (min-width:960px){div#hs-eu-cookie-confirmation{position:fixed}}"},function(t,e){t.exports="div#hs-eu-cookie-confirmation{position:absolute;left:0;top:0;width:100%;height:auto;background-color:#2d2d2d;border-bottom:1px solid gray;border-bottom:1px solid rgba(0,0,0,.5);-webkit-box-shadow:0 1px 2px rgba(0,0,0,.2);-moz-box-shadow:0 1px 2px rgba(0,0,0,.2);box-shadow:0 1px 2px rgba(0,0,0,.2);font-size:14px!important;line-height:18px!important;font-family:helvetica neue,helvetica,arial,sans!important;color:#fff!important;text-shadow:0 1px 0 rgba(0,0,0,.7)!important;text-align:left!important;z-index:100000000!important}div#hs-eu-cookie-confirmation.can-use-gradients{background-color:transparent;background-image:-owg-linear-gradient(top,rgba(0,0,0,.9),rgba(0,0,0,.75));background-image:-webkit-linear-gradient(top,rgba(0,0,0,.9),rgba(0,0,0,.75));background-image:-moz-linear-gradient(top,rgba(0,0,0,.9),rgba(0,0,0,.75));background-image:-o-linear-gradient(top,rgba(0,0,0,.9),rgba(0,0,0,.75));background-image:linear-gradient(top,rgba(0,0,0,.9),rgba(0,0,0,.75));background-image:linear-gradient(180deg,rgba(0,0,0,.9),rgba(0,0,0,.75))}div#hs-eu-cookie-confirmation.hs-cookie-notification-position-bottom{position:fixed;border-bottom:0;bottom:0;top:auto;box-shadow:0 -1px 3px #eaf0f6}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner{padding:12px 18px 18px}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a{font-family:helvetica neue,helvetica,arial,sans!important;color:#add8e6!important;font-size:14px!important;text-decoration:none!important;background:none!important;border:none!important;font-weight:400!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a:hover{text-decoration:underline!important;background:none!important;border:none!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner div#hs-en-cookie-confirmation-buttons-area{text-align:center!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner input#hs-eu-active-consent-checkbox{display:inline-block!important;cursor:pointer!important;font-size:xx-large!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a#hs-eu-confirmation-button{font-family:helvetica neue,helvetica,arial,sans!important;font-size:14px!important;font-weight:400!important;margin-right:16px!important;padding:4px 12px!important;background-color:green!important;display:inline-block!important;border:1px solid gray!important;border:1px solid rgba(0,0,0,.5)!important;background-image:-owg-linear-gradient(top,transparent,rgba(0,0,0,.2));background-image:-webkit-linear-gradient(top,transparent,rgba(0,0,0,.2));background-image:-moz-linear-gradient(top,transparent,rgba(0,0,0,.2));background-image:-o-linear-gradient(top,transparent,rgba(0,0,0,.2));background-image:linear-gradient(top,transparent,rgba(0,0,0,.2));-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.2),inset 0 1px 0 hsla(0,0%,100%,.5);-moz-box-shadow:0 1px 2px rgba(0,0,0,.2),inset 0 1px 0 hsla(0,0%,100%,.5);box-shadow:0 1px 2px rgba(0,0,0,.2),inset 0 1px 0 hsla(0,0%,100%,.5);line-height:14px!important;color:#fff!important;text-shadow:0 1px 0 rgba(0,0,0,.5)!important;text-decoration:none!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a#hs-eu-confirmation-button:hover{background-image:-owg-linear-gradient(top,transparent,rgba(0,0,0,.3));background-image:-webkit-linear-gradient(top,transparent,rgba(0,0,0,.3));background-image:-moz-linear-gradient(top,transparent,rgba(0,0,0,.3));background-image:-o-linear-gradient(top,transparent,rgba(0,0,0,.3));background-image:linear-gradient(top,transparent,rgba(0,0,0,.3))}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a#hs-eu-confirmation-button:active{background-image:-owg-linear-gradient(top,rgba(0,0,0,.3),rgba(0,0,0,.3));background-image:-webkit-linear-gradient(top,rgba(0,0,0,.3),rgba(0,0,0,.3));background-image:-moz-linear-gradient(top,rgba(0,0,0,.3),rgba(0,0,0,.3));background-image:-o-linear-gradient(top,rgba(0,0,0,.3),rgba(0,0,0,.3));background-image:linear-gradient(top,rgba(0,0,0,.3),rgba(0,0,0,.3));-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.2);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,.2);box-shadow:inset 0 1px 2px rgba(0,0,0,.2)}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner p{line-height:18px!important;font-family:helvetica neue,helvetica,arial,sans!important;font-weight:400!important;font-size:14px!important;margin:0 0 16px!important;padding:0!important;color:#fff!important;text-align:left!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner p#hs-eu-cookie-disclaimer{margin:16px 0!important}@media print{div#hs-eu-cookie-confirmation{display:none!important}}@media screen and (max-width:480px){div#hs-eu-cookie-confirmation{font-size:12px!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner{padding:8px 14px 14px!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a,div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a#hs-eu-confirmation-button{font-size:12px!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner p{font-size:12px!important;margin-bottom:12px!important;line-height:15px!important}}"},function(t,e){t.exports='body .hs-hidden{display:none!important}body #hs-modal{position:fixed;left:0;top:0;width:100%;height:100%;background-color:rgba(0,0,0,.5);z-index:100000001!important}@media print{body #hs-modal{display:none!important}}body #hs-modal .hs-sr-only{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}body #hs-modal #hs-modal-content{display:table;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background-color:#fff;max-width:750px;border-radius:5px;box-sizing:border-box;font-size:12px!important;font-family:Helvetica Neue,Helvetica,Arial,sans-serif!important;line-height:18px}@media (min-width:800px){body #hs-modal #hs-modal-content{width:750px;padding:1rem 1.5rem}}@media (max-width:800px){body #hs-modal #hs-modal-content{min-width:350px;max-width:500px;height:100%;max-height:600px}}body #hs-modal #hs-modal-content a{text-decoration:none!important}body #hs-modal #hs-modal-content a,body #hs-modal #hs-modal-content a:hover{background:none!important;border:none!important;box-shadow:none!important;color:#0091ae!important;font-family:inherit!important;font-size:inherit!important;font-weight:400!important;line-height:inherit!important;text-align:left;text-shadow:none!important}body #hs-modal #hs-modal-content a:hover{text-decoration:underline!important}body #hs-modal #hs-modal-content #hs-modal-header{display:table-row;height:10%}@media (max-width:800px){body #hs-modal #hs-modal-content #hs-modal-header{height:5%}}body #hs-modal #hs-modal-content #hs-modal-header #hs-modal-header-container{height:100%;width:100%}@media (max-width:800px){body #hs-modal #hs-modal-content #hs-modal-header #hs-modal-header-container{border-bottom:1px solid #c0bebe}}body #hs-modal #hs-modal-content #hs-modal-header #hs-modal-close-button{float:right;width:1.5rem;font-size:40px;text-align:center;cursor:pointer;color:#8b8589}@media (max-width:800px){body #hs-modal #hs-modal-content #hs-modal-header #hs-modal-close-button{margin-right:10px;font-size:30px;line-height:50px}}@media (min-width:800px){body #hs-modal #hs-modal-content #hs-modal-header #hs-modal-close-button{margin-bottom:20px}}body #hs-modal #hs-modal-content #hs-modal-body{display:table-row;height:70%}@media (max-width:800px){body #hs-modal #hs-modal-content #hs-modal-body{height:85%}}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container{height:100%;width:100%;position:relative}@media (max-width:800px){body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container{overflow:auto}}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-row{width:100%}@media (min-width:800px){body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-row{height:100%;overflow:hidden}}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-label{padding:16px;background:#f1f1f1;color:#353535;cursor:pointer;transition:all .3s;border:1px solid #c0bebe;height:50px;box-sizing:border-box}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-label span{color:#353535!important;font-family:inherit!important;font-size:inherit!important;line-height:inherit!important;text-align:left;text-shadow:none!important;font-size:14px!important;font-family:Helvetica Neue,Helvetica,Arial,sans-serif!important;font-weight:400!important}@media (min-width:800px){body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-label{float:left;width:28%}}@media (max-width:800px){body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-label{width:100%}}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-label:hover{background:#cbcbcb;position:relative;z-index:5}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-label.hs-active{background:#fff;border-right:none;border-left:5px solid #33475b}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-fill{box-sizing:border-box;width:28%;height:50px;border-right:1px solid #c0bebe}@media (max-width:800px){body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-fill{display:none}}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-description{box-sizing:border-box;padding:16px;height:100%;overflow:auto}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-description p{margin-bottom:12px!important;color:#33475b!important;font-family:inherit!important;font-size:inherit!important;font-weight:400!important;line-height:inherit!important;text-align:left;text-shadow:none!important}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-description h3{color:#33475b!important;font-family:inherit!important;font-size:22px!important;font-weight:500!important;line-height:normal!important;margin-top:0;letter-spacing:normal!important;font-style:normal!important;text-decoration:none!important}@media (min-width:800px){body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-description{position:absolute;width:72%;left:28%;top:0;border:1px solid #c0bebe;border-left:0}}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-description .hs-category-description-text{margin-top:20px}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-always-active-label{float:right;margin-right:10px;color:#425b76!important;font-family:inherit!important;font-size:inherit!important;font-weight:400!important;line-height:inherit!important;text-align:left;text-shadow:none!important;line-height:27px!important}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-toggle{width:60px;height:34px;float:right;position:relative}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-toggle label{position:relative;text-align:center}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-toggle input{opacity:0;width:0;height:0}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-toggle .slider{position:absolute;cursor:pointer;border-radius:34px;top:-5px;left:0;right:0;bottom:5px;background-color:#ccc;-webkit-transition:.4s;transition:.4s}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-toggle .slider:before{position:absolute;content:"";border-radius:50%;height:26px;width:26px;left:4px;bottom:4px;background-color:#fff;-webkit-transition:.4s;transition:.4s}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-toggle input:checked+.slider{background-color:#425b76}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-toggle input:focus+.slider{box-shadow:0 0 8px #2196f3}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-toggle input:checked+.slider:before{-webkit-transform:translateX(26px);-ms-transform:translateX(26px);transform:translateX(26px)}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-toggle input:disabled+.slider{opacity:.5;pointer-events:none}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-modal-checkmark,body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-modal-cross{text-align:center;float:right}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-modal-checkmark{background-image:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+Y2hlY2s8L3RpdGxlPgogICAgPGRlZnM+CiAgICAgICAgPHBhdGggZD0iTTE4LjAzMDM4NDYsMi44NDU4OTMxNyBMNy4zMDgwNzY5MiwxMy44MTYwOTc3IEwxLjk2OTYxNTM4LDguMzU0OTk5NCBDMS41MTg4NDYxNSw3Ljg5MzgwODUxIDAuNzg4ODQ2MTU0LDcuODkzODA4NTEgMC4zMzgwNzY5MjMsOC4zNTQ5OTk0IEMtMC4xMTI2OTIzMDgsOC44MTYxOTAyOSAtMC4xMTI2OTIzMDgsOS41NjMwNjc2OSAwLjMzODA3NjkyMywxMC4wMjQyNTg2IEw2LjQ5MTkyMzA4LDE2LjMyMDM4IEM2LjcxNzMwNzY5LDE2LjU1MDk3NTQgNy4wMTI2OTIzMSwxNi42NjY2NjY3IDcuMzA4MDc2OTIsMTYuNjY2NjY2NyBDNy42MDI2OTIzMSwxNi42NjY2NjY3IDcuODk4MDc2OTIsMTYuNTUwOTc1NCA4LjEyMzQ2MTU0LDE2LjMyMDM4IEwxOS42NjE5MjMxLDQuNTE1MTUyMzYgQzIwLjExMjY5MjMsNC4wNTM5NjE0NiAyMC4xMTI2OTIzLDMuMzA3MDg0MDYgMTkuNjYxOTIzMSwyLjg0NTg5MzE3IEMxOS4yMTExNTM4LDIuMzg0NzAyMjggMTguNDgxMTUzOCwyLjM4NDcwMjI4IDE4LjAzMDM4NDYsMi44NDU4OTMxNyIgaWQ9InBhdGgtMSI+PC9wYXRoPgogICAgPC9kZWZzPgogICAgPGcgaWQ9ImNoZWNrIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyBpZD0iSWNvbnMvR2VuZXJhbC9DaGVjayI+CiAgICAgICAgICAgIDxtYXNrIGlkPSJtYXNrLTIiIGZpbGw9IndoaXRlIj4KICAgICAgICAgICAgICAgIDx1c2UgeGxpbms6aHJlZj0iI3BhdGgtMSI+PC91c2U+CiAgICAgICAgICAgIDwvbWFzaz4KICAgICAgICAgICAgPHVzZSBpZD0iSWNvbnMvVXRpbGl0aWVzL1N1Y2Nlc3MiIGZpbGw9IiMwMEJEQTUiIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+");width:20px!important;height:20px!important}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-modal-cross{background-image:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTVweCIgaGVpZ2h0PSIxNXB4IiB2aWV3Qm94PSIwIDAgMTUgMTUiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+aSBzd2VhciB0aGlzIGlzIGFuIHg8L3RpdGxlPgogICAgPGRlZnM+CiAgICAgICAgPHBhdGggZD0iTTEzLjU3NzQxMSwwLjI0NDA3NzY4MiBDMTMuOTAyODQ3OSwtMC4wODEzNTkyMjc0IDE0LjQzMDQ4NTQsLTAuMDgxMzU5MjI3NCAxNC43NTU5MjIzLDAuMjQ0MDc3NjgyIEMxNS4wODEzNTkyLDAuNTY5NTE0NTkyIDE1LjA4MTM1OTIsMS4wOTcxNTIwNyAxNC43NTU5MjIzLDEuNDIyNTg4OTggTDE0Ljc1NTkyMjMsMS40MjI1ODg5OCBMOC42NzgsNy41IEwxNC43NTU5MjIzLDEzLjU3NzQxMSBDMTUuMDgxMzU5MiwxMy45MDI4NDc5IDE1LjA4MTM1OTIsMTQuNDMwNDg1NCAxNC43NTU5MjIzLDE0Ljc1NTkyMjMgQzE0LjQzMDQ4NTQsMTUuMDgxMzU5MiAxMy45MDI4NDc5LDE1LjA4MTM1OTIgMTMuNTc3NDExLDE0Ljc1NTkyMjMgTDcuNSw4LjY3OCBMMS40MjI1ODg5OCwxNC43NTU5MjIzIEMxLjEyNDI3MTgyLDE1LjA1NDIzOTUgMC42NTYwNTAwMDIsMTUuMDc5MDk5MiAwLjMyOTQxNTM5MywxNC44MzA1MDE2IEwwLjI0NDA3NzY4MiwxNC43NTU5MjIzIEMtMC4wODEzNTkyMjc0LDE0LjQzMDQ4NTQgLTAuMDgxMzU5MjI3NCwxMy45MDI4NDc5IDAuMjQ0MDc3NjgyLDEzLjU3NzQxMSBMMC4yNDQwNzc2ODIsMTMuNTc3NDExIEw2LjMyMiw3LjUgTDAuMjQ0MDc3NjgyLDEuNDIyNTg4OTggQy0wLjA4MTM1OTIyNzQsMS4wOTcxNTIwNyAtMC4wODEzNTkyMjc0LDAuNTY5NTE0NTkyIDAuMjQ0MDc3NjgyLDAuMjQ0MDc3NjgyIEMwLjU2OTUxNDU5MiwtMC4wODEzNTkyMjc0IDEuMDk3MTUyMDcsLTAuMDgxMzU5MjI3NCAxLjQyMjU4ODk4LDAuMjQ0MDc3NjgyIEw3LjUsNi4zMjIgWiIgaWQ9InBhdGgtMSI+PC9wYXRoPgogICAgPC9kZWZzPgogICAgPGcgaWQ9Imktc3dlYXItdGhpcy1pcy1hbi14IiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyBpZD0iSWNvbnMvQWN0aW9ucy9DbG9zZSI+CiAgICAgICAgICAgIDxtYXNrIGlkPSJtYXNrLTIiIGZpbGw9IndoaXRlIj4KICAgICAgICAgICAgICAgIDx1c2UgeGxpbms6aHJlZj0iI3BhdGgtMSI+PC91c2U+CiAgICAgICAgICAgIDwvbWFzaz4KICAgICAgICAgICAgPHVzZSBpZD0iTWFzayIgZmlsbD0iI0YyNTQ1QiIgeGxpbms6aHJlZj0iI3BhdGgtMSI+PC91c2U+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=");width:15px!important;height:15px!important}body #hs-modal #hs-modal-content #hs-modal-footer{display:table-row;height:20%}@media (max-width:800px){body #hs-modal #hs-modal-content #hs-modal-footer{height:10%}}body #hs-modal #hs-modal-content #hs-modal-footer #hs-modal-footer-container{text-align:right}@media (max-width:800px){body #hs-modal #hs-modal-content #hs-modal-footer #hs-modal-footer-container{text-align:center;border-top:1px solid #c0bebe}}body #hs-modal #hs-modal-content #hs-modal-footer #hs-modal-accept-all,body #hs-modal #hs-modal-content #hs-modal-footer #hs-modal-save-settings{border-radius:3px;display:inline-block;padding:10px 16px!important;text-decoration:none!important;background-color:#425b76!important;border:1px solid #425b76!important;color:#fff!important;font-family:inherit!important;font-size:inherit!important;font-weight:400!important;line-height:inherit!important;text-align:left;text-shadow:none!important;margin-top:20px}@media (max-width:800px){body #hs-modal #hs-modal-content #hs-modal-footer #hs-modal-accept-all,body #hs-modal #hs-modal-content #hs-modal-footer #hs-modal-save-settings{margin-bottom:20px}}body #hs-modal #hs-modal-content #hs-modal-footer #hs-modal-accept-all{margin-left:12px}'},function(t,e,i){"use strict";i.r(e);class n{constructor(t,e,i,n,o,a,s){this.doc=t||document;this.nav=e||navigator;this.scr=i||screen;this.win=n||window;this.loc=o||this.win.location;this.top=a;this.parent=s}getDocument(){return this.doc}getNavigator(){return this.nav}getScreen(){return this.scr}getWindow(){return this.win}getLocation(){return this.loc}getHostName(){try{return this.loc.hostname}catch(t){return this.doc.domain}}getPathName(){return this.loc.pathname}getTop(){return this.top}getParent(){return this.parent}getReferrer(){let t="";try{t=this.top.document.referrer}catch(e){if(this.parent)try{t=this.parent.document.referrer}catch(e){t=""}}""===t&&(t=this.doc.referrer);return t}getCharacterSet(){return this.doc.characterSet?this.doc.characterSet:this.doc.charset?this.doc.charset:""}getLanguage(){return this.nav.language?this.nav.language:this.nav.browserLanguage?this.nav.browserLanguage:""}getOrigin(){const t=this.loc.origin;if(t)return t;const e=this.loc.port?":"+this.loc.port:"";return`${this.loc.protocol}//${this.getHostName()}${e}`}getCurrentHref(t){return t?this.getOrigin().toLowerCase()+t:this.loc.href.toLowerCase()}}const o="_hspb_loaded",a="_hspb_ran",s="_hsp",r="_hsq",c="_hsPrivacyTest",d="_hsGeoTargetingTest",l="_hsScanningMode",h=[...["AT","BE","BG","HR","CY","CZ","DK","EE","FI","FR","DE","GR","HU","IE","IT","LV","LT","LU","MT","NL","PL","PT","RO","SK","SI","ES","SE"],...["IS","LI","NO"],"GB"],g=(t,e,i,n)=>{t.addEventListener?t.addEventListener(e,i,n):t.attachEvent?t.attachEvent("on"+e,i):t["on"+e]=i},p=(t,e)=>{for(let i=0;i0&&n[0]===e)){t.splice(i--,1);return n[1]?n[1]:null}}return null},m=(t,e)=>{for(let i=0;i0&&n[0]===e)){t.splice(i--,1);return!0}}return!1},y=()=>document.location.hash.indexOf("#hsdbg")>-1||document.location.search.indexOf("hsdbg")>-1,u=t=>{y()&&t&&window.console.error(t)},b=t=>{y()&&window.console.debug(t)},f=(t,e,i)=>{if(Array.isArray(t))for(let n=0;n-1){i(o);t.splice(n--,1)}}},v=function(t,e){return null!=e&&t.substr(0,e.length)===e},x=function(t,e){const i=t.length-e.length;return i>=0&&t.lastIndexOf(e)===i},k=(t,e)=>{t.classList.add(e)},C=(t,e)=>{t.classList.remove(e)},w=t=>{const e=document.createDocumentFragment(),i=document.createElement("div");i.innerHTML=t;for(;i.firstChild;)e.appendChild(i.firstChild);return e},I=(t,e)=>{for(let i=0;i{const e=new RegExp(d+"=([a-zA-Z]{2})(&|$)"),i=t.match(e);return i&&3===i.length?i[1]:null},D="COOKIES_WITHOUT_BANNER",T="OPT_IN",A="NO_COOKIES",S="COOKIES_BY_CATEGORY",N="NOTIFY",E={0:D,1:T,2:A,3:S},B=t=>t.mode===T&&t.hideDecline?N:t.mode,z=t=>!!t&&[T,S].includes(B(t));var L=i(0),j=i.n(L),P=i(1),$=i.n(P);const O="TOP",G="BOTTOM",U="__hs_initial_opt_in",H="__hs_opt_out",W="__hssc",R="__hssrc",_="__hstc",Z="hubspotutk",Q="__hs_cookie_cat_pref",Y=180,F=180,V=7,X="_fbp",K="__hs_notify_banner_dismiss",J=180;var q=[Q,U,H,W,R,"__hs_do_not_track",_,Z,"messagesUtk",K],tt=i(2),et=i.n(tt);const it=1,nt=2,ot=3,at={[it]:"analytics",[nt]:"advertisement",[ot]:"functionality"};class st{constructor(t,e,i){this.allowed=t;this.previousCategories=i||{necessary:!0,analytics:!1,advertisement:!1,functionality:!1};this.categories=e||{necessary:!0,analytics:t,advertisement:t,functionality:t}}allCategoriesSelected(){return this.categories.necessary&&this.categories.analytics&&this.categories.advertisement&&this.categories.functionality}getSafeCopy(){return new st(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`${it}:${this.categories.analytics},${nt}:${this.categories.advertisement},${ot}:${this.categories.functionality}`}static buildFromCookieString(t){const e=t.split(","),i={necessary:!0,analytics:!1,advertisement:!1,functionality:!1};e.forEach(t=>{const e=t.split(":");if(2!==e.length)return;const n=e[0],o=at[n];o&&(i[o]="true"===e[1])});const n=i.necessary&&i.advertisement&&i.analytics&&i.functionality;return new st(n,i)}static buildInitialConsent(){return new st(!1,{necessary:!0,analytics:!1,advertisement:!1,functionality:!1})}}const rt="hs-modal-accept-all",ct="hs-modal-save-settings",dt="hs-modal",lt="hs-modal-close-button",ht="hs-modal-introduction",gt="hs-category-necessary",pt="hs-category-analytics",mt="hs-category-toggle-analytics",yt="hs-category-advertisement",ut="hs-category-toggle-advertisement",bt="hs-category-functionality",ft="hs-category-toggle-functionality",vt=(t,e)=>{const{acceptAllLabel:i,categories:n,introduction:o,saveSettingsLabel:a}=t,s=e.categories.analytics,r=e.categories.advertisement,c=e.categories.functionality;return`\n\n `},xt={DELETE:46,DOWN:40,END:35,ENTER:13,ESC:27,HOME:36,LEFT:37,RIGHT:39,SPACE:32,TAB:9,UP:38},kt={[xt.LEFT]:-1,[xt.UP]:-1,[xt.DOWN]:1,[xt.RIGHT]:1},Ct="hs-hidden";function wt(t){const e=t.getElementById(ht);e.click();e.focus()}function It(t){const e=t.getElementById(dt);k(e,Ct)}function Mt(t){const e=t.getElementById(dt);C(e,Ct);wt(t)}function Dt(t){return-1===t.getElementById(dt).className.indexOf(Ct,0)}function Tt(t,e){const i=e.getElementById(rt);t.stagedAnalytics&&t.stagedAdvertisement&&t.stagedFunctionality?k(i,Ct):C(i,Ct)}function At(t,e){e.getElementById("hs-a11y-live").textContent=`Here is your current cookie selection,\n necessary cookies: always allowed,\n analytics cookies: ${t.stagedAnalytics?"allowed":"not allowed"},\n advertisement cookies: ${t.stagedAdvertisement?"allowed":"not allowed"},\n functionality cookies: ${t.stagedFunctionality?"allowed":"not allowed"}`}function St(t){const e=t.privacyConsent;if(t.privacySettings.testing){b("Testing mode - the following cookies were not written");b(`cookie: "${Q}" value: "${e.toCookieString()}"`)}else{t.cookie.set(Q,e.toCookieString(),{daysToExpire:Y,path:"/"});e.categories.analytics?t.trackAction("trackApproveCookieConsent"):t.trackAction("trackDeclineCookieConsent")}}function Nt(t,e,i,n){const o=t.getElementById(ct);g(o,"click",o=>{o.preventDefault();It(t);n();const a=i.stagedAnalytics,s=i.stagedAdvertisement,r=i.stagedFunctionality,c=a&&s&&r;e.setPrivacyConsent(new st(c,{necessary:!0,analytics:a,advertisement:s,functionality:r}),{reporting:!0});St(e)})}function Et(t,e,i){const n=t.getElementById(rt);g(n,"click",n=>{n.preventDefault();It(t);i();e.setPrivacyConsent(!0,{reporting:!0});St(e)});g(n,"keydown",e=>{if(e.keyCode===xt.TAB){t.getElementById(ht).focus();e.preventDefault()}})}function Bt(t,e,i){const n=i.querySelectorAll(".hs-category-label"),o=i.querySelectorAll(".hs-category-description"),a={};o.forEach(t=>{const e=t.id.replace("-description","");a[e]=t});const s=[];for(let t=0;t{g(t,"click",l);g(t,"keydown",p)});t.context.getWindow().handleHsCategoryToggle=t=>{const n=i.getElementById(t+"-checked"),o=i.getElementById(t+"-unchecked");return function(a){if(a.checked){C(n,Ct);k(o,Ct)}else{C(o,Ct);k(n,Ct)}switch(t){case pt:e.stagedAnalytics=a.checked;break;case yt:e.stagedAdvertisement=a.checked;break;case bt:e.stagedFunctionality=a.checked;break;case gt:break;default:return}Tt(e,i);At(e,i)}}}function zt(t){g(t,"keydown",e=>{e.keyCode===xt.ESC&&Dt(t)&&It(t)})}function Lt(t,e){const i=e.getElementById(mt),n=e.getElementById(ut),o=e.getElementById(ft);g(i,"click",()=>{t.context.getWindow().handleHsCategoryToggle(pt)(i)});g(n,"click",()=>{t.context.getWindow().handleHsCategoryToggle(yt)(n)});g(o,"click",()=>{t.context.getWindow().handleHsCategoryToggle(bt)(o)})}function jt(t,e,i,n){const o=t.getElementById(lt);g(o,"click",()=>It(t));Bt(e,i,t);Nt(t,e,i,n);Et(t,e,n);Lt(e,t);zt(t)}function Pt(t,e,i,n){const o=n.getElementById(e),a=n.getElementById(i+"-checked"),s=n.getElementById(i+"-unchecked");if(t!==o.checked){o.checked=!o.checked;if(o.checked){C(a,Ct);k(s,Ct)}else{C(s,Ct);k(a,Ct)}}}function $t(t,e){Pt(t.categories.analytics,mt,pt,e);Pt(t.categories.advertisement,ut,yt,e);Pt(t.categories.functionality,ft,bt,e)}class Ot{constructor(t){this.banner=t;this.stagedCategories={stagedAnalytics:!1,stagedAdvertisement:!1,stagedFunctionality:!1};if(t.privacyConsent)this.setStagedCategories(t.privacyConsent);else{const t=st.buildInitialConsent();this.setStagedCategories(t)}}hasRendered(){const{context:t}=this.banner;return null!==t.getDocument().getElementById(dt)}setStagedCategories(t){if(t&&t.categories){this.stagedCategories.stagedAnalytics=t.categories.analytics;this.stagedCategories.stagedAdvertisement=t.categories.advertisement;this.stagedCategories.stagedFunctionality=t.categories.functionality}}displayModal(){const{context:t}=this.banner,e=t.getDocument(),i=this.banner.privacyConsent?this.banner.privacyConsent:st.buildInitialConsent();this.setStagedCategories(i);Tt(this.stagedCategories,e);$t(i,e);Mt(e)}render(t,e,i){const{context:n}=this.banner,{accentColor:o,cookiesByCategory:a}=e;window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach);const s=n.getDocument();if(this.hasRendered())return;const r=this.banner.privacyConsent?this.banner.privacyConsent:st.buildInitialConsent();this.setStagedCategories(r);const c=vt(a,r),d=o?et.a.replace(/#425b76/g,o):et.a,l=s.createElement("style");l.setAttribute("type","text/css");if(l.styleSheet)l.styleSheet.cssText=d;else{const t=s.createTextNode(d);l.appendChild(t)}const h=t.childNodes[0];t.insertBefore(l,h);t.insertBefore(w(c),h);if(s.getElementById(dt)){wt(s);jt(s,this.banner,this.stagedCategories,i);Tt(this.stagedCategories,s)}}}const Gt="hs-eu-cookie-confirmation",Ut="hs-cookie-banner-testing",Ht="hs-eu-cookie-confirmation-button-group",Wt="hs-eu-confirmation-button",Rt="hs-eu-decline-button",_t="hs-eu-cookie-settings-button",Zt="hs-eu-close-button",Qt=(t,e,i,n)=>{const{hideDecline:o}=t,a=i.context.getDocument().getElementById(Wt);a?g(a,"click",e=>{e.preventDefault();if("isDisabled"!==a.className){n();o||i.setPrivacyConsent(!0,{reporting:!0});if(!t.testing)if(t.mode===S){i.cookie.set(Q,i.privacyConsent.toCookieString(),{daysToExpire:Y,path:"/"});i.trackAction("trackApproveCookieConsent")}else if(o)i.cookie.set(K,"true",{daysToExpire:J,path:"/"});else{i.cookie.set(H,"no",{daysToExpire:F,path:"/"});i.cookie.set(U,"true",{daysToExpire:V,path:"/"});i.trackAction("trackApproveCookieConsent")}}}):e.style.display="none"},Yt=(t,e,i,n)=>{const o=i.context.getDocument();if(t.hideDecline)return;const a=o.getElementById(Rt);a?g(a,"click",e=>{e.preventDefault();n();i.setPrivacyConsent(!1,{reporting:!0});if(!t.testing){if(t.mode===S)i.cookie.set(Q,i.privacyConsent.toCookieString(),{daysToExpire:Y,path:"/"});else{i.cookie.set(H,"yes",{daysToExpire:F,path:"/"});i.cookie.remove(U)}i.trackAction("trackDeclineCookieConsent")}}):e.style.display="none"},Ft=(t,e,i,n,o)=>{if(e.mode!==S)return;const a=t.context.getDocument().getElementById(_t);a&&g(a,"click",t=>{t.preventDefault();n.hasRendered()?n.displayModal():n.render(i,e,o)})},Vt=t=>{let e=!1;const i=t.getWindow().disabledHsPopups;if(!Array.isArray(i))return e;for(let t=0;t{const{acceptWording:i,cancelWording:n,disclaimerWording:o,hideDecline:a,policyWording:s,cookiesByCategory:r,mode:c,showCloseButton:d}=t,l=c===S&&r&&r.cookieSettingsLabel,h=o&&!a?``:"",g=`\n ${i||"Accept"}\n `,p=a?"":`${n||"Don't ask me again"}`,m=l?`${r.cookieSettingsLabel}`:"";return`
\n \n
`},Kt=(t,e,i)=>{if(!t.showCloseButton)return;const n=e.context.getDocument().getElementById(Zt),{hideDecline:o}=t;g(n,"click",n=>{n.preventDefault();i();t.testing||o&&e.cookie.set(K,"true",{daysToExpire:J,path:"/"})})};class Jt{constructor(t,e){this.privacyBanner=t;this.privacySettings=e;this.modalTemplate=new Ot(this.privacyBanner);const{testing:i}=this.privacySettings,{context:n}=this.privacyBanner,o=n.getDocument(),a=o.getElementById(Ut)||o.body,s=i?a:o.body;this.oldPadding=s.style.paddingTop}hasRendered(){const{context:t}=this.privacyBanner;return null!==t.getDocument().getElementById(Gt)}getHideBannerFn(){return()=>{if(!this.hasRendered())return;const{context:t}=this.privacyBanner,{bannerType:e,testing:i}=this.privacySettings,n=t.getDocument(),o=n.getElementById(Ut)||n.body,a=i?o:n.body;n.getElementById(Gt).style.display="none";e===O&&(a.style.paddingTop=this.oldPadding)}}displayBanner(){if(!this.hasRendered()){this.render();return}const{context:t}=this.privacyBanner,{bannerType:e,testing:i}=this.privacySettings,n=t.getDocument(),o=n.getElementById(Ut)||n.body,a=i?o:n.body,s=n.getElementById(Gt);s.style.display="";e===O&&(a.style.paddingTop=s.offsetHeight)}displayModal(){const{context:t}=this.privacyBanner,{testing:e}=this.privacySettings,i=t.getDocument(),n=i.getElementById(Ut)||i.body,o=e?n:i.body;this.modalTemplate.hasRendered()?this.modalTemplate.displayModal():this.modalTemplate.render(o,this.privacySettings,this.getHideBannerFn())}render(){const{context:t}=this.privacyBanner,{accentColor:e,bannerType:i,testing:n}=this.privacySettings;if(Vt(t))return;if(this.hasRendered())return;let o="",a=$.a;i&&(o=i===G?"hs-cookie-notification-position-bottom":"");if(e){a=/^#[0-9A-Fa-f]{3,6}$/.test(e)?j.a.replace(/#425b76/g,e):j.a}const s=t.getDocument(),r=s.getElementById(Ut)||s.body,c=n?r:s.body,d=s.createElement("style");d.setAttribute("type","text/css");if(d.styleSheet)d.styleSheet.cssText=a;else{const t=s.createTextNode(a);d.appendChild(t)}const l=c.childNodes[0];c.insertBefore(d,l);const h=Xt(this.privacySettings,o);c.insertBefore(w(h),l);const g=s.getElementById(Gt);if(g){i===O&&(c.style.paddingTop=g.offsetHeight);Qt(this.privacySettings,g,this.privacyBanner,this.getHideBannerFn());Yt(this.privacySettings,g,this.privacyBanner,this.getHideBannerFn());Ft(this.privacyBanner,this.privacySettings,c,this.modalTemplate,this.getHideBannerFn());Kt(this.privacySettings,this.privacyBanner,this.getHideBannerFn())}}}class qt{constructor(t,e){this.privacyBanner=t;this.privacySettings=e;this.bannerTemplate=new Jt(this.privacyBanner,this.privacySettings)}showModal(){this.bannerTemplate.displayModal();this.privacyBanner.sendReportingViewActivity()}handle(){const{cookie:t}=this.privacyBanner,{testing:e}=this.privacySettings;if(this.privacyBanner.context.getWindow()[l]){this.privacyBanner.setPrivacyConsent(!0);this.privacyBanner.cookie.set(Q,this.privacyBanner.privacyConsent.toCookieString(),{daysToExpire:Y,path:"/"});return}const i=t.get(Q);if(!i||e){this.bannerTemplate.render();this.privacyBanner.sendReportingViewActivity()}else this.privacyBanner.setPrivacyConsent(st.buildFromCookieString(i))}}const te=15362232e5,ee=15362514e5;class ie{static handle(t,e){if(!e.active)return;const i=t.get(_).split(".");if(1===i.length&&i[0].length>0)return;if(6!==i.length||!i[1].length>0)return;const n=i[2];if(!(nee)){t.remove(_);t.remove(Z);t.remove(W);t.remove(R)}}}const ne="/cf-location",oe=t=>{const e=t.indexOf("-");return-1===e?t:t.substring(0,e)},ae=t=>new Promise(e=>{fetch(t+"/cf-location").then(t=>t.text()).then(t=>e(oe(t))).catch(t=>{u(t);e("")})}),se=(t,e)=>{(t?`${t}${ne}`:null)?ae(t).then(t=>e(t)).catch(t=>{u(t);e("")}):u("Missing apiBaseUrl from the banner. Failed to request for geolocation.")},re={DomainPathGeo:6,DomainPath:5,PathGeo:4,Path:3,DomainGeo:2,Domain:1,Geo:0,noMatch:-1},ce=(t,e,i,n)=>{if(!(t.enabled||e))return re.noMatch;const o=t.targetedCountries&&Array.isArray(t.targetedCountries)&&t.targetedCountries.length>0,a=`${t.domain?"Domain":""}${t.path?"Path":""}${o?"Geo":""}`;if(""===a)return re.noMatch;const s=t.domain&&i.getHostName()===t.domain,r=t.path&&v(i.getPathName(),t.path),c=o&&I(t.targetedCountries,n);switch(a){case"DomainPathGeo":return s&&r&&c?re[a]:re.noMatch;case"DomainPath":return s&&r?re[a]:re.noMatch;case"PathGeo":return r&&c?re[a]:re.noMatch;case"Path":return r?re[a]:re.noMatch;case"DomainGeo":return s&&c?re[a]:re.noMatch;case"Domain":return s?re[a]:re.noMatch;case"Geo":return c?re[a]:re.noMatch;default:return re.noMatch}};class de{constructor(t,e){this.privacyBanner=t;this.privacySettings=e;this.bannerTemplate=new Jt(this.privacyBanner,this.privacySettings)}showBanner(){if(B(this.privacySettings)===T){this.bannerTemplate.displayBanner();this.privacyBanner.sendReportingViewActivity()}}handle(){if(this.privacyBanner.context.getWindow()[l]){this.privacyBanner.setPrivacyConsent(!0);this.privacyBanner.cookie.set(H,"no",{daysToExpire:F,path:"/"});this.privacyBanner.cookie.set(U,"true",{daysToExpire:V,path:"/"});return}if(!this.privacySettings.active&&!this.privacySettings.testing){this.privacyBanner.setPrivacyConsent(!0);return}const t=this.privacyBanner.context,e=this.privacyBanner.cookie;if(!t||!e)return;const i=B(this.privacySettings);if(this.privacySettings.testing){i===N&&this.privacyBanner.setPrivacyConsent(!0);this.bannerTemplate.render()}else if("yes"!==e.get(H)&&e.isEnabled()&&this.privacySettings.policyWording){switch(i){case N:this.privacyBanner.setPrivacyConsent(!0);if("true"===e.get(K))return;break;case T:if(e.get(_)||e.get(W)||"true"===e.get(U)){this.privacyBanner.setPrivacyConsent(!0);return}break;default:u(new Error("Unsupported policy mode passed to the opt-in handler."));return}this.bannerTemplate.render();i!==N&&this.privacyBanner.sendReportingViewActivity()}else this.privacyBanner.setPrivacyConsent(!1)}}class le{constructor({description:t,label:e,toggleLabel:i}){this.description=t;this.label=e;this.toggleLabel=i}}class he{constructor({acceptAllLabel:t,categories:e,cookieSettingsLabel:i,introduction:n,saveSettingsLabel:o}){this.acceptAllLabel=t;this.cookieSettingsLabel=i;this.saveSettingsLabel=o;this.introduction=new le(n);this.categories={necessary:new le(e.necessary),analytics:new le(e.analytics),advertisement:new le(e.advertisement),functionality:new le(e.functionality)}}static build(t){return t?new he(t):null}}class ge{constructor(t,e){this.active=t.enabled;this.testing=e;this.mode=E[t.privacyPolicy];this.policyWording=t.privacyPolicyWording;this.acceptWording=t.privacyAcceptWording;this.cancelWording=t.privacyDismissWording;this.disclaimerWording=t.privacyDisclaimerWording;this.hideDecline=t.privacyHideDecline||!1;this.accentColor=t.privacyBannerAccentColor||null;this.bannerType=t.privacyBannerType||null;this.label=t.privacyDefault?"default":t.label;this.cookiesByCategory=he.build(t.cookiesByCategory);this.id=t.id;this.portalId=t.portalId;this.showCloseButton=t.showCloseButton}isOptInPolicy(){return this.active&&!1===this.hideDecline&&(this.mode===S||this.mode===T)}}const pe="/activity",me=pe+"/click",ye=pe+"/view",ue=(t,e)=>{if(!t){u("Missing apiBaseUrl from the banner. Failed to send activity event.");return}const i=new XMLHttpRequest;i.open("POST",t,!0);i.setRequestHeader("Content-Type","application/json");i.onreadystatechange=function(){i.readyState===XMLHttpRequest.DONE&&(200===i.status||204===i.status?b("successfully sent reporting activity"):u("error sending reporting activity request status: "+i.status))};i.send(JSON.stringify(e))},be=(t,e)=>{ue(t?`${t}${me}`:null,e)},fe=(t,e)=>{ue(t?`${t}${ye}`:null,e)};function ve(...t){(window.dataLayer=window.dataLayer||[]).push(arguments)}const xe=(t,e)=>!!(t&&!h.includes(t)||e&&z(e)),ke=(t,e,i)=>{if(!xe(e,i))return;const n=t.categories.advertisement?"granted":"denied";ve("consent","update",{ad_storage:n,analytics_storage:t.categories.analytics?"granted":"denied",ad_user_data:n,ad_personalization:n})};class Ce{constructor(t,e){this.context=t;this.cookie=e;this.cookiesByCategoryHandler=null;this.optInHandler=null;this.apiBaseUrl=null;this.privacyConsent=null;this.privacySettings=null;this.privacyConsentListeners=[];this.privacySettingsListeners=[];this.useGCMV2=!1;this.gcmGeoLocationPromise=null;this.visitorCountry=null;this.enabledFeatureGates=[];this.isTestingEnabled=t.getLocation().hash.indexOf(c)>-1||t.getLocation().search.indexOf(c)>-1;this.portalId=null;this.businessUnitId=null}initialize(t,e){const i=M(this.context.getLocation().search);i&&(this.visitorCountry=i);const n=p(t,"setCookiePolicy");e&&!i?se(this.apiBaseUrl,t=>{this.visitorCountry=t;this.setCookiePolicy(n)}):this.setCookiePolicy(n);p(t,"runCookieScrubbing")&&this.runCritsitCookieScrubbing()}setCookiePolicy(t){if(!t||this.privacySettings)return;if(0===t.length){this.setPrivacyConsent(!0);return}const e=this.isTestingEnabled;let i,n,o=re.noMatch;for(let a=0;ao){o=d;n=c}}const a=n||i;this.setPrivacySettings(a);if(a){b("banner matched cookie policy "+a.label);switch(a.mode){case D:this.setPrivacyConsent(!0);return;case A:this.setPrivacyConsent(!1);return;case T:this.optInHandler=new de(this,this.privacySettings);this.optInHandler.handle();return;case S:this.cookiesByCategoryHandler=new qt(this,this.privacySettings);this.cookiesByCategoryHandler.handle();return;default:u(new Error("Unknown privacy mode: "+a.mode));this.setPrivacyConsent(!0);return}}else this.setPrivacyConsent(!0)}runCritsitCookieScrubbing(){if(this.privacySettings&&"DISABLED"!==this.privacySettings.mode)try{ie.handle(this.cookie,this.privacySettings)}catch(t){u(t)}}addPrivacyConsentListener(t){this.privacyConsent&&!this.isTestingEnabled&&this.safeCallListener(t,this.privacyConsent);this.privacyConsentListeners.push(t)}addPrivacySettingsListener(t){this.privacySettings&&this.safeCallListener(t,this.privacySettings);this.privacySettingsListeners.push(t)}setPrivacyConsent(t,{reporting:e}={reporting:!1}){const i=this.privacyConsent&&this.privacyConsent.categories;this.privacyConsent=t instanceof st?t.getSafeCopy():new st(t);i&&(this.privacyConsent.previousCategories=i);if(!this.isTestingEnabled){this.privacyConsentListeners.forEach(t=>this.safeCallListener(t,this.privacyConsent.getSafeCopy()));this.useGCMV2&&this.sendConsentToGCMV2(this.privacyConsent.getSafeCopy());this.cleanUpCookies()}e&&this.sendReportingClickActivity()}setPrivacySettings(t){this.privacySettings=t;this.privacySettingsListeners.forEach(t=>this.safeCallListener(t,this.privacySettings))}getHsq(){return this.context.getWindow()[r]=this.context.getWindow()[r]||[]}trackAction(t){this.getHsq().push([t])}revokeCookieConsent(){for(let t=0;t"string"==typeof t)&&t.length>0&&(this.enabledFeatureGates=t)}showBanner(){if(this.privacySettings)switch(this.privacySettings.mode){case T:if(!this.optInHandler)return;this.optInHandler.showBanner();return;case S:if(!this.cookiesByCategoryHandler)return;this.cookiesByCategoryHandler.showModal();return;default:return}else u("Hubspot privacy banner does not have privacy settings set")}hasEnabledFeatureGate(t){return this.enabledFeatureGates&&I(this.enabledFeatureGates,t)}setApiBaseUrl(t){this.apiBaseUrl||(this.apiBaseUrl=t)}getBaseActivityPayload(){const t=B(this.privacySettings),e=this.visitorCountry,i=this.privacySettings.id,n=this.privacySettings.portalId,o=this.context.getHostName();return{bannerGeoLocation:e||"",bannerPolicyId:i,bannerType:t,contentId:this.context.win.hsVars&&this.context.win.hsVars.page_id||"",portalId:n,domainName:o}}sendReportingClickActivity(){if(!this.privacyConsent||!this.privacySettings)return;const t={consentAllowed:this.privacyConsent&&this.privacyConsent.allowed,consentAnalytics:this.privacyConsent&&this.privacyConsent.categories.analytics,consentAdvertisement:this.privacyConsent&&this.privacyConsent.categories.advertisement,consentFunctionality:this.privacyConsent&&this.privacyConsent.categories.functionality},e=this.getBaseActivityPayload();Object.keys(e).forEach(i=>{t[i]=e[i]});if(this.isTestingEnabled){b("The banner is in test mode, no reporting event will be sent.");b("We would have sent the following click activity");b(t)}else be(this.apiBaseUrl,t)}sendReportingViewActivity(){if(!this.privacySettings)return;const t=this.getBaseActivityPayload();if(this.isTestingEnabled){b("The banner is in test mode, no reporting event will be sent.");b("We would have sent the following view activity");b(t)}else fe(this.apiBaseUrl,t)}setPortalId(t){this.portalId=t}setBusinessUnitId(t){this.businessUnitId=t}useGoogleConsentModeV2(){if(!this.useGCMV2){this.useGCMV2=!0;this.privacyConsent&&this.sendConsentToGCMV2(this.privacyConsent.getSafeCopy())}}sendConsentToGCMV2(t){if(this.visitorCountry)ke(t,this.visitorCountry,this.privacySettings);else{null==this.gcmGeoLocationFetchPromise&&(this.gcmGeoLocationFetchPromise=ae(this.apiBaseUrl).then(t=>{this.visitorCountry=t;return t}));this.gcmGeoLocationFetchPromise.then(e=>{ke(t,e,this.privacySettings)}).catch(t=>{console.error(t);console.error("HS banner failed to retrieve geolocation")})}}}const we=t=>encodeURI(t),Ie=t=>decodeURI(t),Me="1970-01-01T00:00:01-00:00";class De{constructor(t){this.context=t||new n;this.currentDomain=null;this.cookiesToSubdomain=!1;this.useSecureCookies=!1;this.domains=[]}isEnabled(){return this.context.getNavigator().cookieEnabled||"cookie"in this.context.getDocument()&&this.context.getDocument().cookie.length>0}addDomain(t){const e="."+this.context.getHostName();x(e,t)&&(!this.currentDomain||t.length=0;n--){if(""===e[n]){if(0!==n){console.error(`Invalid Domain: ${t}, Parsed As: [${e}]`);return[]}continue}const a=`${e[n]}.${o}`;i.push(a);o=a}return i}removeFBPCookie(t){const e=new Date(Me),i=e.toGMTString();this.getDomainAncestry(this.context.getDocument().domain).forEach(n=>{this.setCookie(t,"",{expires:";expires="+i,expiresTime:e,path:";path=/",domain:";domain=."+n,secure:"",sameSite:";SameSite=Lax"})})}remove(t){this.set(t,"",{expiryDate:Me})}setCookie(t,e,i){const n=i.expires+i.path+i.domain+i.sameSite+i.secure;this.writeCookie(`${t}=${e}${n}`);const o=this.get(t);if((!o||o!==e)&&""!==i.domain&&(!i.expiresTime||i.expiresTime-new Date>0)){const n=i.expires+i.path+i.sameSite+i.secure;this.writeCookie(`${t}=${e}${n}`)}}writeCookie(t){this.context.getDocument().cookie=t}setCookiesToSubdomain(t){this.cookiesToSubdomain=t}setUseSecureCookies(t){this.useSecureCookies=t}}const Te={initialize:!0,runCritsitCookieScrubbing:!0,safeCallListener:!0,setCookiePolicy:!0,setPrivacyConsent:!0,setPrivacySettings:!0,cleanUpCookies:!0,getVisitorCountry:!0,sendReportingClickActivity:!0,sendReportingViewActivity:!0};class Ae{constructor(t,e){this.context=t||new n;this.cookie=e||new De(t);this.banner=new Ce(this.context,this.cookie)}setUpQueue(t){const e=this.context.getWindow();let i=e[s]=e[s]||[];Array.isArray(i)||(i=e[s]=[]);i.push=t}processQueue(t){const e=this.context.getWindow()[s];f(e,["setCookiesToSubdomain","setUseSecureCookies","addCookieDomain","addEnabledFeatureGates","setApiBaseUrl","setPortalId","setBusinessUnitId"],t);const i=m(e,"getVisitorCountry");this.banner.initialize(e,i);for(;e.length;)t(e.shift())}run(){const t=this.context.getWindow();if(t[a])return;b("Initializing the banner runner...");const e=t=>{try{if(t&&Array.isArray(t)&&t.length>0&&this.banner[t[0]]){const e=t[0],i=this.banner[t[0]]instanceof Function;if(Te[e]||!i)return!1;const n=t.slice(1);return this.banner[e].apply(this.banner,n)}}catch(t){u(t)}return!1};this.setUpQueue(e);this.processQueue(e);t[a]=!0;b("Done initializing the banner runner.")}}const Se=t=>{const e=()=>{(new Ae).run()},i=t.getDocument(),n=()=>{e();i.removeEventListener("DOMContentLoaded",n)};"loading"===i.readyState?i.addEventListener("DOMContentLoaded",n):e()};(()=>{try{const t=new n,e=t.getWindow();if(e[o])return;Se(t);e[o]=!0}catch(t){u(t)}})()}]); /****** Cookie Banner version static-1.25420 *****/