!function(){function e(){window.dataLayer.push(arguments)}window.dataLayer=window.dataLayer||[];const t="privacy21-consented-categories";function i(){const e=c(t);return e?e.split(" "):[]}function o(e){const{src:n,textContent:t}=e;e=e.getAttribute("data-cookiecategory");if(e)return i().includes(e);e=window.Privacy21CookieManager.config.find(e=>e.src===function(e){return e&&"string"==typeof e?new URL(e).hostname:""}(n))||window.Privacy21CookieManager.config.find(e=>e.textContent===t);if(!e)return!0;if("necessary"===e.category)return!0;const o=i();return o.includes(e.category)}function a(){e("consent","update",function(){const e=i();return{ad_storage:e.includes("marketing")?"granted":"denied",ad_user_data:e.includes("marketing")?"granted":"denied",analytics_storage:e.includes("analytics")?"granted":"denied",ad_personalization:e.includes("marketing")?"granted":"denied",personalization_storage:e.includes("marketing")?"granted":"denied",functionality_storage:e.includes("functional")?"granted":"denied",security_storage:"granted"}}())}function r(e,n,t){const o=new Date;o.setUTCDate(o.getUTCDate()+t),document.cookie=`${e}=${n}; expires=${o.toUTCString()}; Secure; SameSite=Lax; path=/`}function c(e){for(var n=e+"=",t=document.cookie.split(";"),o=0;on.includes(e))}(e)){r(t,e.join(" "),180),!async function(e){var n=c("privacy21-consent-id");n&&fetch("https://privacyapi.privacy21.com/consent",{method:"POST",body:JSON.stringify({categories:e,code:"6395544776",consentId:n}),headers:{"Content-type":"application/json; charset=UTF-8"}}).then()}(e).then();for(const n of window.Privacy21CookieManager.latentScripts||[])o(n)&&(document.body.appendChild(n),document.privacy21LatentScripts=(window.Privacy21CookieManager.latentScripts||[]).filter(e=>e!==n));a(),window.dataLayer.push({event:"consentUpdated"})}},window.Privacy21CookieManager.reset=function(){window.localStorage.removeItem(t),window.location.reload()},e("consent","default",{ad_storage:"denied",ad_user_data:"denied",analytics_storage:"denied",ad_personalization:"denied",personalization_storage:"denied",functionality_storage:"denied",security_storage:"granted"}),a(),new MutationObserver(e=>{for(const n of e)for(const t of n.addedNodes)"SCRIPT"!==t.tagName||o(t)||(window.Privacy21CookieManager.latentScripts=[...window.Privacy21CookieManager.latentScripts,t],t.remove())}).observe(document,{childList:!0,subtree:!0}),document.addEventListener("DOMContentLoaded",function(){const e=document.createElement("script"),n=(e.src="https://privacyapi.privacy21.com/21cookies-script/banner/6395544776",document.body.append(e),document.createElement("link"));n.rel="stylesheet",n.href="https://privacyapi.privacy21.com/21cookies-script/banner-style/6395544776",document.body.append(n)},!1),async function(){c("privacy21-consent-id")||fetch("https://privacyapi.privacy21.com/touch-consent",{method:"POST",body:JSON.stringify({code:"6395544776"}),headers:{"Content-type":"application/json; charset=UTF-8"}}).then(e=>e.json()).then(e=>{r("privacy21-consent-id",e.sessionId,180)})}().then()}();