var _hsp = window['_hsp'] = window['_hsp'] || []; _hsp.push(['setCookiePolicy', [{"portalId":21150164,"id":7838873,"domain":null,"path":"/hubspot-analytics-default-policy","label":null,"enabled":false,"privacyPolicy":0,"privacyHideDecline":false,"privacyDefault":true,"privacyPolicyWording":null,"privacyAcceptWording":null,"privacyDismissWording":null,"privacyDisclaimerWording":null,"privacyBannerAccentColor":"#425b76","privacyBannerType":"TOP","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', '.allstephens.com']); _hsp.push(['setPortalId', 21150164]); _hsp.push(['setBusinessUnitId', 0]); _hsp.push(['setApiBaseUrl', 'https://js.hs-banner.com/cookie-banner-public/v1']); /** * HubSpot Cookie Banner Code Copyright 2022 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.10321/";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}}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}#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=2e3,h=2e3,g="_hsScanningMode",p=(t,e,i,n)=>{t.addEventListener?t.addEventListener(e,i,n):t.attachEvent?t.attachEvent("on"+e,i):t["on"+e]=i},m=(t,e)=>{for(let i=0;i0&&n[0]===e)){t.splice(i--,1);return n[1]?n[1]:null}}return null},y=(t,e)=>{for(let i=0;i0&&n[0]===e)){t.splice(i--,1);return!0}}return!1},u=()=>document.location.hash.indexOf("#hsdbg")>-1||document.location.search.indexOf("hsdbg")>-1,b=t=>{u()&&t&&window.console.error(t)},f=t=>{u()&&window.console.debug(t)},v=(t,e,i)=>{if(Array.isArray(t))for(let n=0;n-1){i(o);t.splice(n--,1)}}},x=function(t,e){return null!=e&&t.substr(0,e.length)===e},k=function(t,e){const i=t.length-e.length;return i>=0&&t.lastIndexOf(e)===i},w=(t,e)=>{t.classList.add(e)},C=(t,e)=>{t.classList.remove(e)},I=t=>{const e=document.createDocumentFragment(),i=document.createElement("div");i.innerHTML=t;for(;i.firstChild;)e.appendChild(i.firstChild);return e},M=(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},T="COOKIES_WITHOUT_BANNER",A="OPT_IN",N="NO_COOKIES",S="COOKIES_BY_CATEGORY",E="NOTIFY",B={0:T,1:A,2:N,3:S},z=t=>t.mode===A&&t.hideDecline?E:t.mode;var L=i(0),j=i.n(L),$=i(1),P=i.n($);const O="TOP",U="BOTTOM",H="__hs_initial_opt_in",G="__hs_opt_out",W="__hssc",R="__hssrc",Z="__hstc",Q="hubspotutk",_="__hs_cookie_cat_pref",Y=180,F=180,V=7,X="_fbp";var q=[_,H,G,W,R,"__hs_do_not_track",Z,Q,"messagesUtk"],J=i(2),K=i.n(J);const tt=1,et=2,it=3,nt={[tt]:"analytics",[et]:"advertisement",[it]:"functionality"};class ot{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 ot(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`${tt}:${this.categories.analytics},${et}:${this.categories.advertisement},${it}:${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=nt[n];o&&(i[o]="true"===e[1])});const n=i.necessary&&i.advertisement&&i.analytics&&i.functionality;return new ot(n,i)}static buildInitialConsent(){return new ot(!1,{necessary:!0,analytics:!1,advertisement:!1,functionality:!1})}}const at="hs-modal-accept-all",st="hs-modal-save-settings",rt="hs-modal",ct="hs-modal-close-button",dt="hs-modal-introduction",lt="hs-category-necessary",ht="hs-category-analytics",gt="hs-category-toggle-analytics",pt="hs-category-advertisement",mt="hs-category-toggle-advertisement",yt="hs-category-functionality",ut="hs-category-toggle-functionality",bt=(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 `},ft={DELETE:46,DOWN:40,END:35,ENTER:13,ESC:27,HOME:36,LEFT:37,RIGHT:39,SPACE:32,TAB:9,UP:38},vt={[ft.LEFT]:-1,[ft.UP]:-1,[ft.DOWN]:1,[ft.RIGHT]:1},xt="hs-hidden";function kt(t){const e=t.getElementById(dt);e.click();e.focus()}function wt(t){const e=t.getElementById(rt);w(e,xt)}function Ct(t){const e=t.getElementById(rt);C(e,xt);kt(t)}function It(t){return-1===t.getElementById(rt).className.indexOf(xt,0)}function Mt(t,e){const i=e.getElementById(at);t.stagedAnalytics&&t.stagedAdvertisement&&t.stagedFunctionality?w(i,xt):C(i,xt)}function Dt(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 Tt(t){const e=t.privacyConsent;if(t.privacySettings.testing){f("Testing mode - the following cookies were not written");f(`cookie: "${_}" value: "${e.toCookieString()}"`)}else{t.cookie.set(_,e.toCookieString(),{daysToExpire:Y,path:"/"});e.categories.analytics?t.trackAction("trackApproveCookieConsent"):t.trackAction("trackDeclineCookieConsent")}}function At(t,e,i,n){const o=t.getElementById(st);p(o,"click",o=>{o.preventDefault();wt(t);n();const a=i.stagedAnalytics,s=i.stagedAdvertisement,r=i.stagedFunctionality,c=a&&s&&r;e.setPrivacyConsent(new ot(c,{necessary:!0,analytics:a,advertisement:s,functionality:r}),{reporting:!0});Tt(e)})}function Nt(t,e,i){const n=t.getElementById(at);p(n,"click",n=>{n.preventDefault();wt(t);i();e.setPrivacyConsent(!0,{reporting:!0});Tt(e)});p(n,"keydown",e=>{if(e.keyCode===ft.TAB){t.getElementById(dt).focus();e.preventDefault()}})}function St(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{p(t,"click",l);p(t,"keydown",g)});t.context.getWindow().handleHsCategoryToggle=t=>{const n=i.getElementById(t+"-checked"),o=i.getElementById(t+"-unchecked");return function(a){if(a.checked){C(n,xt);w(o,xt)}else{C(o,xt);w(n,xt)}switch(t){case ht:e.stagedAnalytics=a.checked;break;case pt:e.stagedAdvertisement=a.checked;break;case yt:e.stagedFunctionality=a.checked;break;case lt:break;default:return}Mt(e,i);Dt(e,i)}}}function Et(t){p(t,"keydown",e=>{e.keyCode===ft.ESC&&It(t)&&wt(t)})}function Bt(t,e){const i=e.getElementById(gt),n=e.getElementById(mt),o=e.getElementById(ut);p(i,"click",()=>{t.context.getWindow().handleHsCategoryToggle(ht)(i)});p(n,"click",()=>{t.context.getWindow().handleHsCategoryToggle(pt)(n)});p(o,"click",()=>{t.context.getWindow().handleHsCategoryToggle(yt)(o)})}function zt(t,e,i,n){const o=t.getElementById(ct);p(o,"click",()=>wt(t));St(e,i,t);At(t,e,i,n);Nt(t,e,n);Bt(e,t);Et(t)}function Lt(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,xt);w(s,xt)}else{C(s,xt);w(a,xt)}}}function jt(t,e){Lt(t.categories.analytics,gt,ht,e);Lt(t.categories.advertisement,mt,pt,e);Lt(t.categories.functionality,ut,yt,e)}class $t{constructor(t){this.banner=t;this.stagedCategories={stagedAnalytics:!1,stagedAdvertisement:!1,stagedFunctionality:!1};if(t.privacyConsent)this.setStagedCategories(t.privacyConsent);else{const t=ot.buildInitialConsent();this.setStagedCategories(t)}}hasRendered(){const{context:t}=this.banner;return null!==t.getDocument().getElementById(rt)}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:ot.buildInitialConsent();this.setStagedCategories(i);Mt(this.stagedCategories,e);jt(i,e);Ct(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:ot.buildInitialConsent();this.setStagedCategories(r);const c=bt(a,r),d=o?K.a.replace(/#425b76/g,o):K.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(I(c),h);if(s.getElementById(rt)){kt(s);zt(s,this.banner,this.stagedCategories,i);Mt(this.stagedCategories,s)}}}const Pt="hs-eu-cookie-confirmation",Ot="hs-cookie-banner-testing",Ut="hs-eu-cookie-confirmation-button-group",Ht="hs-eu-confirmation-button",Gt="hs-eu-decline-button",Wt="hs-eu-cookie-settings-button",Rt="hs-eu-close-button",Zt=(t,e,i,n)=>{const{hideDecline:o}=t,a=i.context.getDocument().getElementById(Ht);a?p(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(_,i.privacyConsent.toCookieString(),{daysToExpire:Y,path:"/"});else{i.cookie.set(G,"no",{daysToExpire:F,path:"/"});i.cookie.set(H,"true",{daysToExpire:V,path:"/"})}i.trackAction("trackApproveCookieConsent")}}}):e.style.display="none"},Qt=(t,e,i,n)=>{const o=i.context.getDocument();if(t.hideDecline)return;const a=o.getElementById(Gt);a?p(a,"click",e=>{e.preventDefault();n();i.setPrivacyConsent(!1,{reporting:!0});if(!t.testing){if(t.mode===S)i.cookie.set(_,i.privacyConsent.toCookieString(),{daysToExpire:Y,path:"/"});else{i.cookie.set(G,"yes",{daysToExpire:F,path:"/"});i.cookie.remove(H)}i.trackAction("trackDeclineCookieConsent")}}):e.style.display="none"},_t=(t,e,i,n,o)=>{if(e.mode!==S)return;const a=t.context.getDocument().getElementById(Wt);a&&p(a,"click",t=>{t.preventDefault();n.hasRendered()?n.displayModal():n.render(i,e,o)})},Yt=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
`},Vt=(t,e,i)=>{if(!t.showCloseButton)return;const n=e.context.getDocument().getElementById(Rt),{hideDecline:o}=t;p(n,"click",n=>{n.preventDefault();i();if(!t.testing&&o){e.cookie.set(G,"no",{daysToExpire:F,path:"/"});e.cookie.set(H,"true",{daysToExpire:V,path:"/"})}})};class Xt{constructor(t,e){this.privacyBanner=t;this.privacySettings=e;this.modalTemplate=new $t(this.privacyBanner);const{testing:i}=this.privacySettings,{context:n}=this.privacyBanner,o=n.getDocument(),a=o.getElementById(Ot)||o.body,s=i?a:o.body;this.oldPadding=s.style.paddingTop}hasRendered(){const{context:t}=this.privacyBanner;return null!==t.getDocument().getElementById(Pt)}getHideBannerFn(){return()=>{if(!this.hasRendered())return;const{context:t}=this.privacyBanner,{bannerType:e,testing:i}=this.privacySettings,n=t.getDocument(),o=n.getElementById(Ot)||n.body,a=i?o:n.body;n.getElementById(Pt).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(Ot)||n.body,a=i?o:n.body,s=n.getElementById(Pt);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(Ot)||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(Yt(t))return;if(this.hasRendered())return;let o="",a=P.a;i&&(o=i===U?"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(Ot)||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=Ft(this.privacySettings,o);c.insertBefore(I(h),l);const g=s.getElementById(Pt);if(g){i===O&&(c.style.paddingTop=g.offsetHeight);Zt(this.privacySettings,g,this.privacyBanner,this.getHideBannerFn());Qt(this.privacySettings,g,this.privacyBanner,this.getHideBannerFn());_t(this.privacyBanner,this.privacySettings,c,this.modalTemplate,this.getHideBannerFn());Vt(this.privacySettings,this.privacyBanner,this.getHideBannerFn())}}}class qt{constructor(t,e){this.privacyBanner=t;this.privacySettings=e;this.bannerTemplate=new Xt(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()[g]){this.privacyBanner.setPrivacyConsent(!0);this.privacyBanner.cookie.set(_,this.privacyBanner.privacyConsent.toCookieString(),{daysToExpire:Y,path:"/"});return}const i=t.get(_);if(!i||e){this.bannerTemplate.render();this.privacyBanner.sendReportingViewActivity()}else this.privacyBanner.setPrivacyConsent(ot.buildFromCookieString(i))}}const Jt=15362232e5,Kt=15362514e5;class te{static handle(t,e){if(!e.active)return;const i=t.get(Z).split(".");if(1===i.length&&i[0].length>0)return;if(6!==i.length||!i[1].length>0)return;const n=i[2];if(!(nKt)){t.remove(Z);t.remove(Q);t.remove(W);t.remove(R)}}}const ee="CookieBanner:DomainCollection",ie="/cf-location",ne=(t,e,i)=>{const n=t?`${t}${ie}`:null;if(!n){b("Missing apiBaseUrl from the banner. Failed to request for geolocation.");return}const o=new XMLHttpRequest;o.open("GET",n,!0);o.timeout=i;o.onreadystatechange=function(){if(this.readyState===XMLHttpRequest.DONE)if(200!==o.status){b(`Geolocation request failed, status - ${o.status}, response - ${o.response}`);e()}else e(o.response)};o.send()},oe={DomainPathGeo:6,DomainPath:5,PathGeo:4,Path:3,DomainGeo:2,Domain:1,Geo:0,noMatch:-1},ae=(t,e,i,n)=>{if(!(t.enabled||e))return oe.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 oe.noMatch;const s=t.domain&&i.getHostName()===t.domain,r=t.path&&x(i.getPathName(),t.path),c=o&&M(t.targetedCountries,n);switch(a){case"DomainPathGeo":return s&&r&&c?oe[a]:oe.noMatch;case"DomainPath":return s&&r?oe[a]:oe.noMatch;case"PathGeo":return r&&c?oe[a]:oe.noMatch;case"Path":return r?oe[a]:oe.noMatch;case"DomainGeo":return s&&c?oe[a]:oe.noMatch;case"Domain":return s?oe[a]:oe.noMatch;case"Geo":return c?oe[a]:oe.noMatch;default:return oe.noMatch}};class se{constructor(t,e){this.privacyBanner=t;this.privacySettings=e;this.bannerTemplate=new Xt(this.privacyBanner,this.privacySettings)}showBanner(){if(z(this.privacySettings)===A){this.bannerTemplate.displayBanner();this.privacyBanner.sendReportingViewActivity()}}handle(){if(this.privacyBanner.context.getWindow()[g]){this.privacyBanner.setPrivacyConsent(!0);this.privacyBanner.cookie.set(G,"no",{daysToExpire:F,path:"/"});this.privacyBanner.cookie.set(H,"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=z(this.privacySettings);if(this.privacySettings.testing){i===E&&this.privacyBanner.setPrivacyConsent(!0);this.bannerTemplate.render()}else if("yes"!==e.get(G)&&e.isEnabled()&&this.privacySettings.policyWording){switch(i){case E:this.privacyBanner.setPrivacyConsent(!0);if("no"===e.get(G))return;break;case A:if(e.get(Z)||e.get(W)||"true"===e.get(H)){this.privacyBanner.setPrivacyConsent(!0);return}break;default:b(new Error("Unsupported policy mode passed to the opt-in handler."));return}this.bannerTemplate.render();i!==E&&this.privacyBanner.sendReportingViewActivity()}else this.privacyBanner.setPrivacyConsent(!1)}}class re{constructor({description:t,label:e,toggleLabel:i}){this.description=t;this.label=e;this.toggleLabel=i}}class ce{constructor({acceptAllLabel:t,categories:e,cookieSettingsLabel:i,introduction:n,saveSettingsLabel:o}){this.acceptAllLabel=t;this.cookieSettingsLabel=i;this.saveSettingsLabel=o;this.introduction=new re(n);this.categories={necessary:new re(e.necessary),analytics:new re(e.analytics),advertisement:new re(e.advertisement),functionality:new re(e.functionality)}}static build(t){return t?new ce(t):null}}class de{constructor(t,e){this.active=t.enabled;this.testing=e;this.mode=B[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=ce.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===A)}}const le="/domain-collection",he=(t,e,i)=>{const n=t?`${t}${le}`:null;if(!n){b("Missing apiBaseUrl from the banner. Failed to send domain data.");return}const o=new XMLHttpRequest;o.open("POST",n,!0);o.setRequestHeader("Content-Type","application/json");o.timeout=i;o.onreadystatechange=function(){this.readyState===XMLHttpRequest.DONE&&204!==o.status&&b(`Domain collection post failed request failed, status - ${o.status}, response - ${o.response}`)};o.send(JSON.stringify(e))},ge="/activity",pe=ge+"/click",me=ge+"/view",ye=(t,e)=>{if(!t){b("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?f("successfully sent reporting activity"):b("error sending reporting activity request status: "+i.status))};i.send(JSON.stringify(e))},ue=(t,e)=>{ye(t?`${t}${pe}`:null,e)},be=(t,e)=>{ye(t?`${t}${me}`:null,e)};class fe{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.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=D(this.context.getLocation().search);i&&(this.visitorCountry=i);const n=m(t,"setCookiePolicy");e&&!i?ne(this.apiBaseUrl,t=>{this.visitorCountry=t;this.setCookiePolicy(n)},l):this.setCookiePolicy(n);m(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=oe.noMatch;for(let a=0;ao){o=d;n=c}}const a=n||i;this.setPrivacySettings(a);if(a){this.hasEnabledFeatureGate(ee)&&this.portalId&&null!==this.businessUnitId&&void 0!==this.businessUnitId&&he(this.apiBaseUrl,{portalId:this.portalId,businessUnitId:this.businessUnitId,domain:this.context.getHostName(),url:location.href},h);f("banner matched cookie policy "+a.label);switch(a.mode){case T:this.setPrivacyConsent(!0);return;case N:this.setPrivacyConsent(!1);return;case A:this.optInHandler=new se(this,this.privacySettings);this.optInHandler.handle();return;case S:this.cookiesByCategoryHandler=new qt(this,this.privacySettings);this.cookiesByCategoryHandler.handle();return;default:b(new Error("Unknown privacy mode: "+a.mode));this.setPrivacyConsent(!0);return}}else this.setPrivacyConsent(!0)}runCritsitCookieScrubbing(){if(this.privacySettings&&"DISABLED"!==this.privacySettings.mode)try{te.handle(this.cookie,this.privacySettings)}catch(t){b(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 ot?t.getSafeCopy():new ot(t);i&&(this.privacyConsent.previousCategories=i);if(!this.isTestingEnabled){this.privacyConsentListeners.forEach(t=>this.safeCallListener(t,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 A:if(!this.optInHandler)return;this.optInHandler.showBanner();return;case S:if(!this.cookiesByCategoryHandler)return;this.cookiesByCategoryHandler.showModal();return;default:return}else b("Hubspot privacy banner does not have privacy settings set")}hasEnabledFeatureGate(t){return this.enabledFeatureGates&&M(this.enabledFeatureGates,t)}setApiBaseUrl(t){this.apiBaseUrl=t}getBaseActivityPayload(){const t=z(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,domain: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){f("The banner is in test mode, no reporting event will be sent.");f("We would have sent the following click activity");f(t)}else ue(this.apiBaseUrl,t)}sendReportingViewActivity(){if(!this.privacySettings)return;const t=this.getBaseActivityPayload();if(this.isTestingEnabled){f("The banner is in test mode, no reporting event will be sent.");f("We would have sent the following view activity");f(t)}else be(this.apiBaseUrl,t)}setPortalId(t){this.portalId=t}setBusinessUnitId(t){this.businessUnitId=t}}const ve=t=>encodeURI(t),xe=t=>decodeURI(t);class ke{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();k(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("Thu, 01-Jan-1970 00:00:01 GMT"),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:"Thu, 01-Jan-1970 00:00:01 GMT"})}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 we={initialize:!0,runCritsitCookieScrubbing:!0,safeCallListener:!0,setCookiePolicy:!0,setPrivacyConsent:!0,setPrivacySettings:!0,cleanUpCookies:!0,getVisitorCountry:!0,sendReportingClickActivity:!0,sendReportingViewActivity:!0};class Ce{constructor(t,e){this.context=t||new n;this.cookie=e||new ke(t);this.banner=new fe(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];v(e,["setCookiesToSubdomain","setUseSecureCookies","addCookieDomain","addEnabledFeatureGates","setApiBaseUrl","setPortalId","setBusinessUnitId"],t);const i=y(e,"getVisitorCountry");this.banner.initialize(e,i);for(;e.length;)t(e.shift())}run(){const t=this.context.getWindow();if(t[a])return;f("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(we[e]||!i)return!1;const n=t.slice(1);return this.banner[e].apply(this.banner,n)}}catch(t){b(t)}return!1};this.setUpQueue(e);this.processQueue(e);t[a]=!0;f("Done initializing the banner runner.")}}const Ie=t=>{const e=()=>{(new Ce).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;Ie(t);e[o]=!0}catch(t){b(t)}})()}]); /****** Cookie Banner version static-1.10321 *****/