1void 0===window._fazConfig&&void 0!==window._fazCfg&&null!==window._fazCfg&&(window._fazConfig=window._fazCfg);const _fazStore=window._fazConfig,_FAZ_OPTOUT_SUCCESS_SECONDS=15,_FAZ_OPTOUT_SUCCESS_DISMISS_MS=15e3;if(_fazStore){_fazStore._backupNodes=[],_fazStore._resetConsentID=!1,_fazStore._bannerState=!1,_fazStore._preferenceOriginTag=!1,_fazStore._optoutSuccessCountdownInterval=null,_fazStore._optoutSuccessAutoCloseTimer=null,_fazStore._optoutSuccessSubtextTemplate="",window.fazcookie=window.fazcookie||{};const e=window.fazcookie;e._fazConsentStore=new Map;const t="1.27.0+geo-bootstrap";e._diag=function(){var a=null;try{a=_fazGetBanner()}catch(e){}var r=!1;try{r=/(?:^|;\s*)fazcookie-consent=/.test(document.cookie)}catch(e){}var o="object"==typeof _fazStore&&_fazStore?_fazStore:{};return{build:t,ready:document.documentElement.classList.contains("faz-ready"),bannerFound:!!a,bannerHidden:a?a.classList.contains("faz-hide"):null,action:e._fazGetFromStore("action")||"",hasConsentCookie:r,swapResolved:!!o._swapResolved,geoBootstrap:!!o._geoBootstrap,geoBootstrapResolved:o._geoBootstrapResolved||"",perServiceConsent:!!o._perServiceConsent,perCookieConsent:!!o._perCookieConsent,services:Array.isArray(o._services)?o._services.map(function(e){return e&&e.id}):null,catalogueCount:o._serviceCatalogue&&"object"==typeof o._serviceCatalogue?Object.keys(o._serviceCatalogue).length:0}},e._fazGetCookieMap=function(){const e={};try{document.cookie.split(";").forEach(t=>{const[a,r]=t.split("=");a&&(e[a.trim()]=r)})}catch(e){}return e};const a=e._fazGetCookieMap();e._fazGetFromStore=function(t){return e._fazConsentStore.get(t)||""},e._fazSetInStore=function(t,a){e._fazConsentStore.set(t,a);const r={};_fazStore&&Array.isArray(_fazStore._services)&&_fazStore._services.forEach(function(e){e&&e.id&&(r[e.id]=e.category)});let o=[];for(const[t,a]of e._fazConsentStore){if("string"==typeof t&&0===t.indexOf("svc.")){const o=t.substring(4),n=r[o];if(n){const t=e._fazConsentStore.get(n);if("string"==typeof t&&t===a)continue}}if("string"==typeof t&&0===t.indexOf("ck.")){const o=t.substring(3),n=o.indexOf(".");if(n>0){const t=o.substring(0,n),i=e._fazConsentStore.get("svc."+t);let c="";if("string"==typeof i&&i)c=i;else{const a=r[t];if(a){const t=e._fazConsentStore.get(a);c="string"==typeof t?t:""}}if(c&&c===a)continue}}o.push(`${t}:${a}`)}const n=3500,i=function(e){return encodeURIComponent(e.join(",")).length};if(i(o)>n){const e=[],t={},a=[],c=[],s=[];o.forEach(function(o){if(0===o.indexOf("ck."))s.push(o);else if(0===o.indexOf("svc.")){const e=o.indexOf(":"),t=e>4?o.substring(4,e):"",n={entry:o,id:t,category:r[t]||""};/:no$/.test(o)?a.push(n):c.push(n)}else{const a=o.indexOf(":");a>0&&(t[o.substring(0,a)]=e.length),e.push(o)}});const f={},l=function(a,r){const o=a+":"+r;Object.prototype.hasOwnProperty.call(t,a)?e[t[a]]=o:(t[a]=e.length,e.push(o))},d=function(t){const a=e.slice();return t.forEach(function(e){e.category&&f[e.category]&&/:no$/.test(e.entry)||a.push(e.entry)}),a},u=e.slice(),z=[];let _=0,g=!1;a.forEach(function(e){if((!e.category||!f[e.category])&&(z.push(e),u.push(e.entry),i(u)>n&&(u.pop(),z.pop(),_++,g=!0,e.category))){f[e.category]=!0,l(e.category,"no");const t=d(z);u.length=0,t.forEach(function(e){u.push(e)})}}),c.forEach(function(e){e.category&&f[e.category]||(z.push(e),u.push(e.entry),i(u)>n&&(u.pop(),z.pop(),_++,g=!0))}),g?_+=s.length:s.forEach(function(e){u.push(e),i(u)>n&&(u.pop(),_++)}),_>0&&"undefined"!=typeof console&&console.warn&&console.warn("[FAZ Cookie Manager] consent cookie exceeded 3500 encoded bytes; dropped "+_+" per-service/per-cookie override(s) to avoid browser truncation. Denied services that could not fit fail closed through category-level opt-out."),o=u}const c=_fazStore&&_fazStore._expiry?_fazStore._expiry:180;e._fazSetCookie("fazcookie-consent",o.join(","),c)};const r=(a["fazcookie-consent"]||"").split(",").reduce((e,t)=>{if(!t)return e;const a=t.indexOf(":");if(-1===a)return e;const r=t.substring(0,a),o=t.substring(a+1);return e[r]=o,e},{});if(a["fazcookie-consent"])try{Object.assign(r,decodeURIComponent(a["fazcookie-consent"]).split(",").reduce((e,t)=>
1{if(!t)return e;const a=t.indexOf(":");if(-1===a)return e;const r=t.substring(0,a),o=t.substring(a+1);return e[r]=o,e},{}))}catch(p){}const o=_fazStore&&_fazStore._consentRevision,n=parseInt(o,10),i=isNaN(n)||n<1?1:n,c="string"==typeof a["fazcookie-consent"]&&""!==a["fazcookie-consent"];function _fazCurrentBannerSlug(){return _fazStore&&_fazStore._bannerSlug?String(_fazStore._bannerSlug):""}function _fazCurrentLaw(){return _fazStore&&_fazStore._activeLaw?String(_fazStore._activeLaw):_fazStore&&_fazStore._bannerConfig&&_fazStore._bannerConfig.settings?String(_fazStore._bannerConfig.settings.applicableLaw||""):""}function _fazGeoBootstrapPending(){return!(!_fazStore||!_fazStore._geoBootstrap||_fazStore._geoBootstrapResolved)}const s="__scope.banner",f="__scope.law",l="__scope.fp";function _fazStrictScopeFp(){return!(!_fazStore||!_fazStore._strictScopeFp)}function _fazReadScopedCookieValue(e,t){if(_fazStrictScopeFp())return r[e]||"";const a=r[e];if(a)return a;if(!t)return"";const o=r[t]||"";return o?/^(yes|no)(:.*)?$/i.test(o)?"":o:""}function _fazCurrentScopeFingerprint(){return _fazStore&&"string"==typeof _fazStore._scopeFingerprint?_fazStore._scopeFingerprint:""}function _fazConsentScopeChanged(){if(!c||!_fazStore||!_fazStore._geoRouting)return!1;if("pmp"===r.source&&"auto"===r.action&&"no"===r.consent)return!1;const e=_fazCurrentBannerSlug(),t=_fazCurrentLaw(),a=_fazReadScopedCookieValue(s,"banner"),o=_fazReadScopedCookieValue(f,"law"),n=r[l]||"",i=_fazCurrentScopeFingerprint();return!(!_fazStrictScopeFp()||n)||!!(a||o||n)&&(!(!n||!i||n===i)||!!(e&&a&&a!==e||t&&o&&o!==t))}function _fazInvalidateStoredConsent(){["fazcookie-consent","fazVendorConsent","euconsent-v2"].forEach(_fazDeleteCookie),["consent","action",s,f,l,"banner","law"].forEach(t=>{r[t]="",e._fazConsentStore.set(t,"")}),_fazStore._categories.forEach(({slug:t})=>{r[t]="",e._fazConsentStore.set(t,"")}),_fazClearStoredServiceConsent()}const d=parseInt(r.rev,10),u=c&&i>1&&(isNaN(d)||d<i)||!_fazGeoBootstrapPending()&&_fazConsentScopeChanged();function _fazSetConsentID(){if(e._fazGetFromStore("consentid"))return;const t=e._fazRandomString(32);e._fazSetInStore("consentid",t),_fazStore._resetConsentID=!0}u&&_fazInvalidateStoredConsent(),["consentid","consent","action",s,f,l].concat(_fazStore._categories.map(({slug:e})=>
1e)).forEach(t=>{let a=r[t]||"";a||t!==s||(a=r.banner||""),a||t!==f||(a=r.law||""),e._fazConsentStore.set(t,a)}),e._fazConsentStore.set("rev",String(i)),!u&&_fazStore._perServiceConsent&&_fazStore._services&&(_fazStore._services.forEach(function(t){const a="svc."+t.id;r[a]&&e._fazConsentStore.set(a,r[a]),_fazStore._perCookieConsent&&Array.isArray(t.cookies)&&t.cookies.forEach(function(a){const o=_fazCkKey(t.id,a);r[o]&&e._fazConsentStore.set(o,r[o])})}),Object.keys(r).forEach(function(t){0!==t.indexOf("svc.")||e._fazConsentStore.has(t)||e._fazConsentStore.set(t,r[t])})),e._fazGetCookie=function(e){const t=e+"=",a=document.cookie.split("; ");for(var r=0;r<a.length;r++)if(0===a[r].indexOf(t)){var o=a[r].substring(t.length);try{return decodeURIComponent(o)}catch(e){return o}}return null},e._fazSetCookie=function(e,t,a=0,r=_fazStore._rootDomain){const o=new Date;r&&(r=`domain=${r}`);const n=0===a?0:o.setTime(o.getTime()+24*a*60*60*1e3),i="https:"===location.protocol?" Secure;":"",c="fazcookie-consent"===e?encodeURIComponent(t):t,s=`${e}=${c}; expires=${new Date(n).toUTCString()}; path=/;${r}; SameSite=Lax;${i}`;"fazcookie-consent"===e&&c.length>3500&&"undefined"!=typeof console&&console.warn&&console.warn("[FAZ Cookie Manager] fazcookie-consent cookie is "+c.length+" bytes (URL-encoded), approaching the 4096-byte browser limit. Consider reducing the active category count or splitting localized banners."),document.cookie=s};var _revisitFazConsent=function(){var t="function"==typeof _fazGetLaw?_fazGetLaw():"",a=e&&e._fazGetFromStore&&e._fazGetFromStore("action"),r=!!document.querySelector('[data-faz-tag="optout-popup"]');"ccpa"===t&&a&&r?_fazSetPreferenceAction("donotsell-button"):_fazShowBanner(),_fazToggleRevisit(),_fazUpdateVendorCheckboxStates()};function _fazGetElementByTag(e){const t=document.querySelector("[data-faz-tag="+e+"]");return t||!1}function _fazParseHTML(e){var t=document.createElement("template");return t.innerHTML=e,t.content.cloneNode(!0)}function _fazAttachListener(e,t){const a=_fazFindElement(e);a&&a.addEventListener("click",t)}function _fazClassAdd(){return _fazClassAction("add",...arguments)}function _fazClassRemove(){return _fazClassAction("remove",...arguments)}function _fazClassToggle(){return _fazClassAction("toggle",...arguments)}function _fazClassAction(e,t,a,r=!0){const o=_fazFindElement(t,r);return o&&o.classList[e](a)}function _fazFindElement(e,t){let a=e;if(!0===e.startsWith("="))a=`[data-faz-tag="${e.substring(1)}"]`;const r=document.querySelector(a);return!r||t&&!r.parentElement?null:t?r.parentElement:r}function _fazRemoveElement(e){const t=_fazGetElementByTag(e);t&&t.remove()}function _fazFireEvent(e){const t=new CustomEvent("fazcookie_consent_update",{detail:e});document.dispatchEvent(t)}function _fazRemoveStyles(){const e=document.getElementById("faz-style-inline");e&&e.remove(),document.documentElement.classList.add("faz-ready")}function _fazRemoveBanner(){_fazHideBanner(),_fazRemoveCookieWall(),!0===_fazStore._bannerConfig.config.revisitConsent.status&&_fazShowRevisit()}function _fazInitOperations(){_fazRegisterShortcodeTriggers(),_fazAttachNoticeStyles(),_fazRenderBanner(),_fazAttachShortCodeStyles(),_fazSetShowMoreLess();var t=e._fazGetFromStore("action");if(t&&_fazConsentScopeChanged()&&(_fazInvalidateStoredConsent(),t=null),!_fazPreviewEnabled()&&_fazDnsmpiCookieActive()){t||_fazSeedInitialState();var a=_fazApplyDnsmpiOptOut();if(!t&&!_fazGpcActive())return _fazShowBanner(),void _fazFireConsentReadyEvent(a?"dnsmpi":"init")}if(!_fazPreviewEnabled()&&_fazGpcActive()){t||_fazSeedInitialState();var r=_fazApplyGpcOptOut();return t?_fazRemoveBanner():_fazShowBanner(),void _fazFireConsentReadyEvent(r?"gpc":t?"restore":"init")}!t||_fazPreviewEnabled()?(_fazShowBanner(),_fazSetInitialState(),_fazFireConsentReadyEvent("init")):(_fazRemoveBanner(),_fazFireConsentReadyEvent("restore"),[250,1e3,2e3].forEach(e=>{window.setTimeout(_fazUnblock,e)}),"complete"!==document.readyState&&window.addEventListener("load",_fazUnblock,{once:!0}))}function _fazFireConsentReadyEvent(t){const a={accepted:[],rejected:[],action:t},r=_fazStore&&_fazStore._categories||[];for(const t of r)"yes"===e._fazGetFromStore(t.slug)?a.accepted.push(t.slug):a.rejected.push(t.slug);try{window._fazConsentReady=a}catch(e){}try{document.dispatchEvent(new CustomEvent("fazcookie_consent_ready",{detail:a}))}catch(e){}}function _fazGpcActive(){try{return!("undefined"==typeof navigator||!0!==navigator.globalPrivacyControl)}catch(e){return!1}}function _fazDnsmpiCookieActive(){return document.cookie.split(";").some(function(e){return 0===e.trim().indexOf("fazcookie-dnsmpi=1")})}function _fazApplyDnsmpiOptOut(){for(var t=_fazStore._categories||[],a={accepted:[],rejected:[],action:"custom",dnsmpi:!0},r=[],o="1"!==e._fazGetFromStore("dnsmpi"),n=0;n<t.length;n++){var i=t[n];
1!i.isNecessary&&!!i.ccpaDoNotSell&&(r.push(i.slug),"no"!==e._fazGetFromStore(i.slug)&&(o=!0))}if(_fazClearStoredServiceConsent(r)&&(o=!0),!o)return!1;e._fazGetFromStore("action")||(_fazSetConsentID(),e._fazSetInStore("action","yes"),e._fazSetInStore(s,_fazCurrentBannerSlug()),e._fazSetInStore(f,_fazCurrentLaw()),e._fazSetInStore(l,_fazCurrentScopeFingerprint()),e._fazSetInStore("consent","no")),e._fazSetInStore("dnsmpi","1");for(var c=0;c<t.length;c++)-1!==r.indexOf(t[c].slug)&&(e._fazSetInStore(t[c].slug,"no"),_fazRemoveDeadCookies(t[c]));for(var d=0;d<t.length;d++)"yes"===e._fazGetFromStore(t[d].slug)?a.accepted.push(t[d].slug):a.rejected.push(t[d].slug);return _fazUnblock(),_fazFireEvent(a),!0}function _fazApplyGpcOptOut(){for(var t={accepted:[],rejected:[],action:"custom",gpc:!0},a=_fazStore._categories||[],r=[],o="1"!==e._fazGetFromStore("gpc"),n=0;n<a.length;n++){var i=a[n];!i.isNecessary&&i.ccpaDoNotSell&&(r.push(i.slug),"no"!==e._fazGetFromStore(i.slug)&&(o=!0))}_fazClearStoredServiceConsent(r)&&(o=!0),e._fazGetFromStore("action")||(_fazSetConsentID(),e._fazSetInStore("action","yes"),e._fazSetInStore(s,_fazCurrentBannerSlug()),e._fazSetInStore(f,_fazCurrentLaw()),e._fazSetInStore(l,_fazCurrentScopeFingerprint()),e._fazSetInStore("consent","no")),e._fazSetInStore("gpc","1");for(var c=0;c<a.length;c++){var d=a[c];-1!==r.indexOf(d.slug)&&(e._fazSetInStore(d.slug,"no"),_fazRemoveDeadCookies(d)),"yes"===e._fazGetFromStore(d.slug)?t.accepted.push(d.slug):t.rejected.push(d.slug)}return r.length&&_fazSaveVendorConsent("reject"),_fazUnblock(),o&&_fazFireEvent(t),o}function _fazPreviewEnabled(){let e=new URL(document.location).searchParams;return e.get("faz_preview")&&"true"===e.get("faz_preview")}function _fazToggleAriaExpandStatus(e,t=null){const a=_fazFindElement(e);if(!a)return;if(a.classList.contains("faz-accordion-btn")){const e=a.closest(".faz-accordion");if(e){const t=e.querySelector(".faz-accordion-body");if(t){let r=t.id;r||(r=`fazDetailCategory${e.id.replace("fazDetailCategory","")}Body`,t.id=r),a.setAttribute("aria-controls",r)}}}const r=a.getAttribute("aria-expanded"),o=t||("true"===r?"false":"true");a.setAttribute("aria-expanded",o)}function _fazSetInitialState(){const e=_fazSeedInitialState();_fazUnblock(),_fazFireEvent(e)}function _fazSeedInitialState(){const t=_fazGetLaw();e._fazConsentStore.set("consent","no");const a=_fazFindCheckBoxValue(),r=!(!_fazStore||!_fazStore._runtimeGeo),o={accepted:[],rejected:[],action:"init"};for(const n of _fazStore._categories){let i="yes";r&&n.defaultFromRuleset?n.isNecessary||n.defaultConsent.gdpr||(i="no"):("gdpr"===t&&!n.isNecessary&&!n.defaultConsent[t]||"ccpa"===t&&a&&!n.defaultConsent.ccpa)&&(i="no"),"no"===i?o.rejected.push(n.slug):o.accepted.push(n.slug),e._fazConsentStore.set(n.slug,i)}return o}function _fazAddPositionClass(){const e=_fazGetElementByTag("notice");if(!e)return!1;const t=e.closest(".faz-consent-container");if(!t)return!1;t.setAttribute("aria-label",_fazTranslate("privacy_region_label","We value your privacy")),t.setAttribute("role","region");const a=_fazStore._bannerConfig.settings.type;let r=_fazStore._bannerConfig.settings.position,o=a;
1"popup"===o?r="center":("banner"===o&&"pushdown"===_fazGetPtype()&&(o="classic"),"box"!==o&&(r=r.startsWith("top")?"top":"bottom"));const n=`faz-${o}-${r}`;t.classList.add(n),_fazStore._bannerConfig.settings.softCookieWall&&_fazInjectCookieWall();const i=_fazGetElementByTag("revisit-consent");if(!i)return!1;const c="faz-revisit-"+_fazStore._bannerConfig.config.revisitConsent.position;i.classList.add(c);i.querySelector(".faz-btn-revisit");const s=i.querySelector('.faz-btn-revisit img[src*="revisit"]');if(s){const e='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50" fill="currentColor" aria-hidden="true"><circle cx="23.5" cy="11.5" r="2.6"/><circle cx="27" cy="25" r="2.6"/><circle cx="14" cy="29.8" r="2.6"/><circle cx="14" cy="18.4" r="2.6"/><circle cx="20.9" cy="39" r="2.6"/><circle cx="36" cy="36.3" r="2.6"/><path d="M25.2,48.9c-12.6,0-23-9.8-23.8-22.4-.4-6.9,2.2-13.6,7.1-18.5C13.5,3.1,20.3.7,27.2,1.2c2.3.2,4.5.7,6.6,1.5.4.2.6.5.7.8s-.1.7-.4,1c-.7.6-1.2,1.5-1.2,2.5s.4,1.9,1.2,2.5c.2.2.4.5.4.7s0,.6-.3.8c-.5.6-.8,1.4-.8,2.1s.5,1.9,1.3,2.6c.3.2.4.5.4.8s-.2.6-.4.8c-.8.6-1.3,1.6-1.3,2.6,0,1.8,1.4,3.2,3.2,3.2h.1c.5,0,.9.3,1,.7.4,1.4,1.7,2.3,3,2.3s1.6-.3,2.3-.9c.3-.3.7-.4,1-.3s.6.4.7.7c.4,1.3,1.5,2.3,2.9,2.4.3,0,.6.2.8.4.2.2.3.5.2.8-2,11.3-11.9,19.5-23.4,19.5ZM25.3,3.2c-5.7,0-11.2,2.3-15.2,6.3-4.6,4.5-7,10.6-6.5,16.9.7,11.4,10.3,20.4,21.7,20.4s19-7,21.2-16.8c-1.3-.4-2.4-1.2-3-2.4-.8.4-1.6.6-2.6.6-2.1,0-3.9-1.3-4.8-3.1-2.7-.3-4.7-2.5-4.7-5.2s.4-2.5,1.3-3.4c-.8-.9-1.3-2.1-1.3-3.4s.3-1.9.8-2.7c-.8-.9-1.3-2.1-1.3-3.4s.3-2,.8-2.8c-1.5-.5-3-.8-4.6-.9-.6,0-1.2-.1-1.7-.1Z"/></svg>',t=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;s.parentNode&&s.parentNode.replaceChild(document.importNode(t,!0),s)}}function _fazAddPreferenceCenterClass(){const e="ccpa"===_fazGetLaw()?_fazGetElementByTag("optout-popup"):_fazGetElementByTag("detail");if(!e)return!1;const t=e.closest(".faz-modal");if(!t)return!1;if("pushdown"!==_fazGetPtype()&&"popup"!==_fazGetPtype()){const e=_fazStore._bannerConfig.settings.preferenceCenterType,a=`faz-${e}`;if(t.classList.add(a),"sidebar"===e){const e=(_fazStore._bannerConfig.settings.position||"").includes("left")?"left":"right";t.classList.add(`faz-sidebar-${e}`)}}_fazSetPreferenceCenterAccessibility(t.querySelector(".faz-preference-center"))}function _fazResolveBrowserLanguage(e,t){if(!Array.isArray(e)||e.length<2)return null;if("undefined"==typeof navigator)return null;var a=Array.isArray(navigator.languages)&&navigator.languages.length?navigator.languages:navigator.language?[navigator.language]:[];if(!a.length)return null;for(var r=t&&"object"==typeof t?t:{},o=0;o<a.length;o++){var n=String(a[o]||"").toLowerCase();if(n){var i=Object.prototype.hasOwnProperty.call(r,n)?r[n]:n;if(-1!==e.indexOf(i))return i;var c=n.split("-")[0],s=Object.prototype.hasOwnProperty.call(r,c)?r[c]:c;if(-1!==e.indexOf(s))return s}}return null}function _fazFetchBannerForLanguage(e,t,a){if(!e||!t)return Promise.resolve(null);var r=e.replace(/\/+$/,"")+"/"+encodeURIComponent(t);_fazStore&&_fazStore._bannerSlug&&(r+="?banner="+encodeURIComponent(String(_fazStore._bannerSlug)));var o="undefined"!=typeof AbortController?new AbortController:null,n=o&&a>0?window.setTimeout(function(){o.abort()},a):null;return fetch(r,{method:"GET",credentials:"same-origin",cache:"no-store",headers:{Accept:"application/json"},signal:o?o.signal:void 0}).then(function(e){return n&&window.clearTimeout(n),e.ok?e.json():null}).catch(function(){return n&&window.clearTimeout(n),null})}function _fazApplyBannerPayload(e){if(e&&"object"==typeof e){if(e.language&&(_fazStore._language=e.language),Array.isArray(e.shortCodes)&&(_fazStore._shortCodes=e.shortCodes),Array.isArray(e.categories)){var t=Array.isArray(_fazStore._categories)?_fazStore._categories:[],a={};t.forEach(function(e){e&&e.slug&&(a[e.slug]=e)}),_fazStore._categories=e.categories.map(function(e){var t=e&&e.slug&&a[e.slug]?a[e.slug]:{};return Object.assign({},t,e)})}if(e.i18n&&"object"==typeof e.i18n&&(_fazStore._i18n=Object.assign({},_fazStore._i18n||{},e.i18n)),e.bannerSlug&&(_fazStore._bannerSlug=String(e.bannerSlug)),e.activeLaw&&(_fazStore._activeLaw=String(e.activeLaw)),e.bannerConfig&&"object"==typeof e.bannerConfig&&(_fazStore._bannerConfig=e.bannerConfig),Array.isArray(e.tags)&&(_fazStore._tags=e.tags),e.scopeFingerprint&&(_fazStore._scopeFingerprint=String(e.scopeFingerprint)),e.consentExpiry){var r=parseInt(e.consentExpiry,10);!isNaN(r)&&r>0&&(_fazStore._expiry=r)}if(void 0!==e.runtimeGeo&&(_fazStore._runtimeGeo=!!e.runtimeGeo),"string"==typeof e.html&&""!==e.html){var o=document.getElementById("fazBannerTemplate");o&&(o.textContent=e.html)}if("string"==typeof e.styles&&""!==e.styles){var n=document.getElementById("faz-jurisdiction-bootstrap-styles");n||((n=document.createElement("style")).id="faz-jurisdiction-bootstrap-styles",n.setAttribute("data-no-optimize","1"),n.setAttribute("data-noptimize","1"),(document.head||document.documentElement).appendChild(n)),n.textContent=e.styles}}}async function _fazBootstrapJurisdiction(){if(!_fazStore||!_fazStore._geoBootstrap)return!1;if(!_fazStore._bannerEndpoint){c&&_fazConsentScopeChanged()&&_fazInvalidateStoredConsent(),_fazStore._geoBootstrapResolved="strict-fallback";try{window._fazGeoBootstrapResolved="strict-fallback"}catch(e){}return!1}var e=_fazStore._language||_fazStore._defaultLanguage||"en";if(_fazStore._browserDetect){var t=_fazResolveBrowserLanguage(Array.isArray(_fazStore._availableLanguages)?_fazStore._availableLanguages:[],_fazStore._languageMap&&"object"==typeof _fazStore._languageMap?_fazStore._languageMap:{});t&&(e=t)}var a=parseInt(_fazStore._geoBootstrapTimeout,10);(isNaN(a)||a<250)&&(a=1500);try{var r=await _fazFetchBannerForLanguage(_fazStore._bannerEndpoint,e,a);if(r&&r.bannerConfig&&r.activeLaw&&Array.isArray(r.categories)){_fazApplyBannerPayload(r),c&&_fazConsentScopeChanged()&&_fazInvalidateStoredConsent(),_fazStore._geoBootstrapResolved="live";try{window._fazGeoBootstrapResolved="live"}catch(e){}return!0}}catch(e){}c&&_fazConsentScopeChanged()&&_fazInvalidateStoredConsent(),_fazStore._geoBootstrapResolved="strict-fallback";try{window._fazGeoBootstrapResolved="strict-fallback"}catch(e){}return!1}async function _fazMaybeSwapLanguage(){if(!_fazStore||!_fazStore._browserDetect)return!1;var e=Array.isArray(_fazStore._availableLanguages)?_fazStore._availableLanguages:[];if(e.length<2)return!1;var t=_fazResolveBrowserLanguage(e,_fazStore._languageMap&&"object"==typeof _fazStore._languageMap?_fazStore._languageMap:{});if(!t||t===_fazStore._language)return!1;if(!_fazStore._bannerEndpoint)return!1;try{var a=await _fazFetchBannerForLanguage(_fazStore._bannerEndpoint,t,500);if(a)return _fazApplyBannerPayload(a),!0}catch(e){}return!1}async function _fazInit(){try{_fazScheduleBannerWatchdog(),_fazRunDeadCookieCleanup(),_fazStore&&_fazStore._geoBootstrap&&await _fazBootstrapJurisdiction(),_fazInitOperations(),_fazRunDeadCookieCleanup(),_fazWatchBannerElement(),_fazScheduleAdblockGuard(),_fazScheduleDeadCookieCleanup();try{var t=_fazGetBanner();if(!_fazStore._geoBootstrap&&t&&!t.classList.contains("faz-hide")){var a=await _fazMaybeSwapLanguage(),r=_fazGetBanner();a&&!e._fazGetFromStore("action")&&r&&!r.classList.contains("faz-hide")&&_fazReRenderVisibleBanner()}}finally{_fazStore&&"object"==typeof _fazStore&&(_fazStore._swapResolved=!0)}}catch(e){console.error(e)}}
1function _fazRunDeadCookieCleanup(){_fazRemoveAllDeadCookies(),_fazCleanupRevokedCookies()}function _fazScheduleBannerWatchdog(){var t=2500;if(_fazStore&&_fazStore._geoBootstrap){var a=parseInt(_fazStore._geoBootstrapTimeout,10);(isNaN(a)||a<250)&&(a=1500),t=Math.max(2500,a+1e3)}window.setTimeout(function(){try{if(document.documentElement.classList.contains("faz-ready")||document.documentElement.classList.add("faz-ready"),!e._fazGetFromStore("action")){var t=_fazGetBanner();t&&t.classList.contains("faz-hide")&&_fazShowBanner()}}catch(e){}},t)}e._fazRandomString=function(e,t=!0){const a=(t?"0123456789":"")+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",r=[];var o;if("undefined"!=typeof crypto&&crypto.getRandomValues){var n=new Uint32Array(1),i=Math.floor(4294967296/a.length)*a.length;o=function(){var e;do{crypto.getRandomValues(n),e=n[0]}while(e>=i);return e%a.length}}else o=function(){return Math.floor(Math.random()*a.length)};for(let t=0;t<e;t++)r.push(a[o()]);return t?btoa(r.join("")).replace(/\=+$/,""):r.join("")};var _fazAdblockGuardScheduled=!1;function _fazScheduleAdblockGuard(){try{if(_fazAdblockGuardScheduled)return;if(!_fazStore||!_fazStore._adblockResilience)return;_fazAdblockGuardScheduled=!0,window.setTimeout(_fazAdblockResilienceCheck,1200)}catch(e){}}function _fazAdblockResilienceCheck(){try{if(!_fazStore||!_fazStore._adblockResilience)return;if(e._fazGetFromStore("action"))return;var t=_fazGetBanner();if(!t)return;if(t.classList.contains("faz-hide"))return;if("function"!=typeof window.getComputedStyle)return;var a=window.getComputedStyle(t);if(!a)return;if(!("none"===a.display||"hidden"===a.visibility||0===parseFloat(a.opacity)))return;t.style.setProperty("display","block","important"),t.style.setProperty("visibility","visible","important"),t.style.setProperty("opacity","1","important"),t.dataset&&(t.dataset.fazReasserted="1")}catch(e){}}function _fazClearAdblockReassert(e){try{if(!e||!e.style)return;e.style.removeProperty("display"),e.style.removeProperty("visibility"),e.style.removeProperty("opacity"),e.dataset&&e.dataset.fazReasserted&&delete e.dataset.fazReasserted}catch(e){}}function _fazScheduleDeadCookieCleanup(){[250,1e3,2e3,5e3].forEach(function(e){window.setTimeout(_fazRunDeadCookieCleanup,e)})}function _fazDomReady(e){"undefined"!=typeof document&&("complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",e):e())}e._fazAdblockResilienceCheck=_fazAdblockResilienceCheck,e._fazClearAdblockReassert=_fazClearAdblockReassert,_fazDomReady(async function(){if(!window.fazcookie||!window.fazcookie._fazInitDone){window.fazcookie=window.fazcookie||{},window.fazcookie._fazInitDone=!0;try{await _fazInit()}catch(e){console.error(e)}}});var _fazShortcodeTriggersBound=!1;function _fazRegisterShortcodeTriggers(){_fazShortcodeTriggersBound||(_fazShortcodeTriggersBound=!0,document.addEventListener("click",function(e){(e.target&&e.target.closest?e.target.closest("[data-faz-open-preferences],.faz-cookie-settings-btn"):null)&&(e.preventDefault(),!1===_fazShowPreferenceCenter()&&window.console&&console.warn&&console.warn("FAZ Cookie Manager: [faz_cookie_settings] was clicked but no consent preference center is available on this page (the banner UI may be disabled for this visitor)."))}))}function _fazRegisterListeners(){for(const{slug:t}of _fazStore._categories){var e=document.querySelector("#fazDetailCategory"+t+' [data-faz-tag="detail-category-title"]');e&&e.addEventListener("click",function(){var e=document.getElementById("fazCategory"+t);e&&e.classList.toggle("faz-tab-active")})}_fazAttachListener("=settings-button",()=>_fazSetPreferenceAction("settings-button")),_fazAttachListener("=detail-close",()=>_fazHidePreferenceCenter()),_fazAttachListener("=optout-cancel-button",()=>_fazHidePreferenceCenter()),_fazAttachListener("=close-button",()=>_fazActionClose()),_fazAttachListener("=donotsell-button",()=>{document.querySelector('[data-faz-tag="optout-popup"]')?_fazSetPreferenceAction("donotsell-button"):_fazShowBanner()}),_fazAttachListener("=reject-button",_fazAcceptReject("reject")),_fazAttachListener("=accept-button",_fazAcceptReject("all")),_fazAttachListener("=detail-accept-button",_fazAcceptReject("all")),_fazAttachListener("=detail-save-button",_fazAcceptReject()),_fazAttachListener("=detail-category-preview-save-button",_fazAcceptReject()),_fazAttachListener("=optout-confirm-button",_fazHandleOptoutConfirm()),_fazAttachListener("=detail-reject-button",_fazAcceptReject("reject")),_fazAttachListener("=revisit-consent",()=>_revisitFazConsent()),_fazAttachListener("=optout-close",()=>_fazHandleOptoutPopupClose()),document.addEventListener("keydown",function(e){if("Escape"===e.key){var t=_fazGetPreferenceCenter();t&&t.classList.contains(_fazGetPreferenceClass())&&_fazHidePreferenceCenter()}})}function _fazAttachCategoryListeners(){if(!_fazStore._bannerConfig.config.auditTable.status)return;const e=_fazStore._categories.map(({slug:e})=>e);e.forEach(t=>{const a=`#fazDetailCategory${t}`,r=`${a} .faz-accordion-btn`,o=document.querySelector(r);if(o){const e=o.closest(".faz-accordion");if(e){const t=e.querySelector(".faz-accordion-body");if(t){let a=t.id;a||(a=`fazDetailCategory${e.id.replace("fazDetailCategory","")}Body`,t.id=a),o.setAttribute("aria-controls",a)}}}_fazToggleAriaExpandStatus(r,"false"),_fazAttachListener(a,o=>{const n=o&&o.target;(n&&n.id)===`fazSwitch${t}`||n&&n.closest&&n.closest(".faz-service-toggle, .faz-switch")||n&&"checkbox"===n.type||(_fazClassToggle(a,"faz-accordion-active",!1)?(_fazToggleAriaExpandStatus(r,"true"),e.filter(e=>
1e!==t).forEach(e=>{_fazClassRemove(`#fazDetailCategory${e}`,"faz-accordion-active",!1),_fazToggleAriaExpandStatus(`#fazDetailCategory${e} .faz-accordion-btn`,"false")})):_fazToggleAriaExpandStatus(r,"false"))})})}function _fazInitiAccordionTabs(){document.querySelectorAll(".faz-accordion").forEach(e=>e.addEventListener("click",function(e){"checkbox"!==e.target.type&&this.classList.toggle("faz-accordion-active")}))}function _fazToggleBanner(e=!1){const t=_fazGetElementByTag("notice"),a=t&&t.closest(".faz-consent-container")||!1;a&&(_fazClearAdblockReassert(a),!0===e?a.classList.add("faz-hide"):a.classList.toggle("faz-hide"))}function _fazToggleRevisit(e=!1){const t=_fazGetRevisit();t&&(!0===e?_fazHideRevisit():t.classList.toggle("faz-revisit-hide"))}function _fazGetLaw(){var e=_fazCurrentLaw()||_fazStore._bannerConfig.settings.applicableLaw;return"ccpa"===String(e)?"ccpa":"gdpr"}function _fazGetType(){return _fazStore._bannerConfig.settings.type}function _fazGetPtype(){return"classic"===_fazGetType()?"pushdown":_fazStore._bannerConfig.settings.preferenceCenterType}function _fazGetBanner(){const e=_fazGetElementByTag("notice"),t=e&&e.closest(".faz-consent-container")||!1;return t&&t||!1}function _fazHideBanner(){const e=_fazGetBanner();if(e){_fazClearAdblockReassert(e);const t=e.contains(document.activeElement);e.classList.add("faz-hide"),t&&_fazStore._bannerTriggerElement&&(_fazStore._bannerTriggerElement.focus(),_fazStore._bannerTriggerElement=null)}}var _fazBannerLoadedFired=!1,_fazRenderedNodes=[];function _fazReRenderVisibleBanner(){var e=Array.isArray(_fazRenderedNodes)?_fazRenderedNodes.slice():[];e.forEach(function(e){e&&1===e.nodeType&&(e.id&&e.removeAttribute("id"),e.querySelectorAll&&e.querySelectorAll("[id]").forEach(function(e){e.removeAttribute("id")}))}),_fazRenderBanner(),_fazShowBanner(),_fazSetInitialState(),e.forEach(function(e){e&&e.parentNode&&e.parentNode.removeChild(e)})}function _fazShowBanner(){const e=_fazGetBanner();e&&(_fazStore._bannerTriggerElement||(_fazStore._bannerTriggerElement=document.activeElement||document.body),e.classList.remove("faz-hide"),_fazBannerLoadedFired||(_fazBannerLoadedFired=!0,window._fazBannerLoaded=!0,document.dispatchEvent(new CustomEvent("fazcookie_banner_loaded"))))}function _fazHideOverLay(){const e=document.querySelector(".faz-overlay");e&&e.classList.add("faz-hide")}function _fazShowOverLay(){const e=document.querySelector(".faz-overlay");e&&e.classList.remove("faz-hide")}function _fazToggleOverLay(){const e=document.querySelector(".faz-overlay");e&&e.classList.toggle("faz-hide")}function _fazInjectCookieWall(){if(document.getElementById("faz-cookie-wall"))return;const e=document.createElement("div");e.id="faz-cookie-wall",e.setAttribute("aria-hidden","true"),document.body.appendChild(e)}function _fazRemoveCookieWall(){const e=document.getElementById("faz-cookie-wall");e&&e.remove()}function _fazGetPreferenceCenter(){if("pushdown"===_fazGetPtype()&&-1===["box","popup"].indexOf(_fazGetType()))return _fazGetBanner();let e="ccpa"===_fazGetLaw()?_fazGetElementByTag("optout-popup"):_fazGetElementByTag("detail");return e&&e.closest(".faz-modal")||!1}function _fazHidePreferenceCenter(){_fazResetOptoutSuccessMessage();const t=_fazGetPreferenceCenter();t&&t.classList.remove(_fazGetPreferenceClass()),_fazCancelPreferenceFocusRetries();"pushdown"===_fazGetPtype()&&-1===["box","popup"].indexOf(_fazGetType())?_fazToggleAriaExpandStatus("=settings-button","false"):(_fazHideOverLay(),e._fazGetFromStore("action")||_fazShowBanner()),e._fazGetFromStore("action")&&_fazShowRevisit();const a=_fazStore._preferenceOriginTag;a&&_fazSetFocus(a),_fazStore._prefTriggerElement&&(_fazStore._prefTriggerElement.focus(),_fazStore._prefTriggerElement=null),_fazStore._preferenceOriginTag=!1}function _fazActivePreferenceTag(){const e=_fazStore._preferenceOriginTag;return"donotsell-button"===e?"optout-popup":"settings-button"===e?"detail":"ccpa"===_fazGetLaw()?"optout-popup":"detail"}function _fazSelectActivePreferencePanel(){const e=_fazGetElementByTag("detail"),t=_fazGetElementByTag("optout-popup");if(!e||!t)return;const a="optout-popup"===_fazActivePreferenceTag(),r=a?t:e,o=a?e:t;r.classList.remove("faz-hide","faz-hidden"),r.removeAttribute("aria-hidden"),o.classList.add("faz-hide","faz-hidden"),o.setAttribute("aria-hidden","true")}
1function _fazShowPreferenceCenter(){_fazStore._prefTriggerElement=document.activeElement;const e=_fazGetPreferenceCenter();if(!e)return!1;e.classList.add(_fazGetPreferenceClass()),_fazSelectActivePreferencePanel();const t=e.querySelector('[data-faz-tag="'+_fazActivePreferenceTag()+'"]')||e.querySelector(".faz-preference-center");_fazSetPreferenceCenterAccessibility(t);return"pushdown"===_fazGetPtype()&&-1===["box","popup"].indexOf(_fazGetType())?_fazToggleAriaExpandStatus("=settings-button","true"):(_fazShowOverLay(),_fazHideBanner()),_fazFocusIntoElement(t||e),_fazLoopFocus(),!0}function _fazTogglePreferenceCenter(){const t=_fazGetPreferenceCenter();if(!t)return;const a=t.classList.contains(_fazGetPreferenceClass());t.classList.toggle(_fazGetPreferenceClass());if("pushdown"===_fazGetPtype()&&-1===["box","popup"].indexOf(_fazGetType())){_fazSetPreferenceCenterAccessibility(t.querySelector(".faz-preference-center")),_fazToggleAriaExpandStatus("=settings-button")}else a?(_fazHideOverLay(),e._fazGetFromStore("action")||_fazShowBanner()):(_fazShowOverLay(),_fazHideBanner());if(e._fazGetFromStore("action")&&_fazShowRevisit(),a){const e=_fazStore._preferenceOriginTag;e&&_fazSetFocus(e),_fazStore._prefTriggerElement&&(_fazStore._prefTriggerElement.focus(),_fazStore._prefTriggerElement=null)}else{_fazFocusIntoElement(t.querySelector(".faz-preference-center")||t)}}function _fazGetPreferenceClass(){return"pushdown"===_fazGetPtype()&&-1===["box","popup"].indexOf(_fazGetType())?"faz-consent-bar-expand":"faz-modal-open"}function _fazGetRevisit(){const e=_fazGetElementByTag("revisit-consent");return e&&e||!1}function _fazHideRevisit(){const e=_fazGetRevisit();e&&e.classList.add("faz-revisit-hide")}function _fazShowRevisit(){const e=_fazGetRevisit();e&&e.classList.remove("faz-revisit-hide")}function _fazSetPreferenceAction(e=!1){_fazStore._preferenceOriginTag=e,_fazStore._prefTriggerElement=document.activeElement;"pushdown"===_fazGetPtype()&&-1===["box","popup"].indexOf(_fazGetType())?_fazTogglePreferenceCenter():_fazShowPreferenceCenter()}function _fazGetFocusableElements(e){const t=document.querySelector(`[data-faz-tag="${e}"]`);if(!t)return[];const a=Array.from(t.querySelectorAll('a[href], button:not([disabled]), input:not([disabled]):not([type="hidden"]), select:not([disabled]), textarea:not([disabled]), summary, [tabindex]:not([disabled]):not([tabindex="-1"])')).filter(e=>!e.closest(".faz-hidden")&&!e.closest(".faz-hide")&&!e.hasAttribute("hidden"));return a.length<=0?[]:[a[0],a[a.length-1]]}function _fazLoopFocus(){const[e,t]=_fazGetFocusableElements("notice");_fazAttachFocusLoop(e,t,!0),_fazAttachFocusLoop(t,e);const[a,r]=_fazGetFocusableElements(_fazActivePreferenceTag());_fazAttachFocusLoop(a,r,!0),_fazAttachFocusLoop(r,a)}const z="undefined"!=typeof WeakMap?new WeakMap:null;function _fazAttachFocusLoop(e,t,a=!1){if(!e||!t)return;const r=a?"__faz_focus_loop_reverse":"__faz_focus_loop_forward";if(z){let o=z.get(e);o||(o={},z.set(e,o)),o[r]&&e.removeEventListener("keydown",o[r]);const n=e=>{"Tab"!==e.key||a&&!e.shiftKey||!a&&e.shiftKey||(e.preventDefault(),t.focus())};return e.addEventListener("keydown",n),void(o[r]=n)}e.addEventListener("keydown",e=>{"Tab"!==e.key||a&&!e.shiftKey||!a&&e.shiftKey||(e.preventDefault(),t.focus())})}function _fazSetFooterShadow(e){}function _fazRemoveDeadCookies(t){const a=t.cookies||[],r=e._fazGetCookieMap();for(const{cookieID:n,domain:i}of a)if("fazcookie-consent"!==n&&"fazVendorConsent"!==n&&"euconsent-v2"!==n){var o=_fazGetServiceCookieDecision(n);"yes"!==o&&("no"===o||_fazIsCategoryToBeBlocked(t.slug))&&("no"!==o&&_fazIsCookieWhitelisted(n)||("no"===o||r[n])&&[i,""].forEach(t=>e._fazSetCookie(n,"",0,t)))}}function _fazSetPreferenceCheckBoxStates(t=!1){for(const a of _fazStore._categories){const r=e._fazGetFromStore(a.slug),o="yes"===r||!r&&a.defaultConsent[_fazGetLaw()]||a.isNecessary,n=a.isNecessary,i=_fazStore._shortCodes.find(e=>"faz_category_toggle_label"===e.key);if(!i)return;_fazSetCheckboxes(a,o,n,i.content.replace("[faz_preference_{{category_slug}}_title]",a.name),t),_fazSetPreferenceState(a)}}function _fazSetCheckboxes(e,t,a,r,o=!1){["fazCategoryDirect","fazSwitch"].forEach(n=>{const i=document.getElementById(`${n}${e.slug}`);i&&(_fazSetCategoryToggle(i,e,o),i.checked=t,i.disabled=a,_fazSetCheckBoxAriaLabel(i,t,r),o||a||i.addEventListener("change",({currentTarget:t})=>{const a=t.checked;_fazSetCheckBoxAriaLabel(i,a,r);const o=e.slug,c="fazCategoryDirect"===n?`fazSwitch${o}`:`fazCategoryDirect${o}`,s=document.getElementById(c);s&&s.checked!==a&&(s.checked=a,_fazSetCheckBoxAriaLabel(s,a,r))}))})}function _fazSetCategoryToggle(e,t={},a=!1){if(!a&&("detail-category-preview-toggle"===e.parentElement.getAttribute("data-faz-tag")&&_fazSetCategoryPreview(e,t),!t.isNecessary)){const e=t.name,a=document.querySelector(`[data-faz-tag="detail-category-title"][aria-label="${e}"]`);if(a){const e=a.closest(".faz-accordion-item");if(!e)return;const t=e.querySelector(".faz-always-active");t&&t.remove()}}}function _fazSetPreferenceState(e){if(!(e.cookies&&0!==e.cookies.length||e.isNecessary)){const t=document.getElementById(`fazDetailCategory${e.slug}`);if(t){(t.closest(".faz-accordion-item")||t).remove()}const a=document.getElementById(`fazCategoryDirect${e.slug}`);return void(a&&a.parentElement&&a.parentElement.parentElement&&a.parentElement.parentElement.remove())}if(!1===_fazStore._bannerConfig.config.auditTable.status){const t=document.querySelector(`#fazDetailCategory${e.slug} [data-faz-tag="audit-table"]`);t&&t.remove();const a=document.querySelector(`#fazDetailCategory${e.slug} .faz-accordion-chevron`);a&&a.classList.add("faz-accordion-chevron-hide")}}function _fazSetCategoryPreview(e,t){t.cookies&&0!==t.cookies.length||t.isNecessary||e.parentElement.parentElement.remove()}function _fazSetCheckBoxAriaLabel(e,t,a,r=!1){if(!e)return;const o=t?"disable":"enable",n=`faz_${o}_${r?"optout":"category"}_label`,i=_fazStore._shortCodes.find(e=>e.key===n);if(!i)return;const c=a.replace(/{{status}}/g,o).replace(`[${n}]`,i.content);e.setAttribute("aria-label",c)}function _fazRenderBanner(){const e=document.getElementById("fazBannerTemplate");if(!e)return;const t=e.innerHTML,a=(new DOMParser).parseFromString(t,"text/html");_fazSetFooterShadow(a);for(var r=document.createDocumentFragment();a.body.firstChild;)r.appendChild(a.body.firstChild);_fazRenderedNodes=Array.prototype.slice.call(r.childNodes),document.body.insertBefore(r,document.body.firstChild),"pushdown"===_fazGetPtype()&&-1===["box","popup"].indexOf(_fazGetType())&&_fazToggleAriaExpandStatus("=settings-button","fal
1se"),[_fazSetPreferenceCheckBoxStates,_fazRenderVendorSection,_fazRenderServiceToggles,_fazAttachCategoryListeners,_fazRegisterListeners,_fazSetCCPAOptions,_fazSetPlaceHolder,_fazAttachReadMore,_fazAttachShowMoreLessStyles,_fazAttachAlwaysActiveStyles,_fazAttachManualLinksStyles,_fazRemoveStyles,_fazAddPositionClass,_fazAddRtlClass,_fazSetPoweredBy,_fazLoopFocus,_fazAddPreferenceCenterClass,_fazRenderAgeConfirmations].forEach(function(e){try{e()}catch(e){console.error("[FAZ] banner render step failed:",e)}})}function _fazTranslate(e,t){if(_fazStore._i18n&&"string"==typeof _fazStore._i18n[e]&&_fazStore._i18n[e])return _fazStore._i18n[e];if(_fazStore._shortCodes){var a=_fazStore._shortCodes.find(function(t){return t.key==="faz_"+e});if(a&&a.content)return a.content}return t}function _fazGetPreferenceCenterAriaLabel(){return"optout-popup"===_fazActivePreferenceTag()?_fazTranslate("optout_preferences_label","Opt-out Preferences"):_fazTranslate("customise_consent_preferences_label","Customise Consent Preferences")}function _fazSetPreferenceCenterAccessibility(e){e&&(e.setAttribute("role","dialog"),e.setAttribute("aria-modal","true"),e.setAttribute("aria-label",_fazGetPreferenceCenterAriaLabel()))}function _fazFocusIntoElement(e){if(e){var t=e.classList&&e.classList.contains("faz-preference-center")?e:e.querySelector(".faz-preference-center")||e,a=t.querySelector('button:not([disabled]), [href], input:not([disabled]):not([type="hidden"]), select:not([disabled]), textarea:not([disabled]), summary, [tabindex]:not([tabindex="-1"])');a||(t.hasAttribute("tabindex")||t.setAttribute("tabindex","-1"),a=t),a.focus(),_fazCancelPreferenceFocusRetries(),_fazStore._preferenceFocusRetries={raf:null,timeouts:[]};var r=_fazStore._preferenceFocusRetries,o=function(){_fazIsPreferenceCenterOpen(t)&&(t.contains(document.activeElement)||a.focus())};r.raf=window.requestAnimationFrame(o),[50,150,350,750].forEach(function(e){r.timeouts.push(window.setTimeout(o,e))})}}function _fazIsPreferenceCenterOpen(e){if(!e)return!1;var t=_fazGetPreferenceCenter();return!!t&&(!(t!==e&&!t.contains(e)&&!e.contains(t))&&t.classList.contains(_fazGetPreferenceClass()))}function _fazCancelPreferenceFocusRetries(){var e=_fazStore._preferenceFocusRetries;e&&(null!==e.raf&&"function"==typeof window.cancelAnimationFrame&&window.cancelAnimationFrame(e.raf),Array.isArray(e.timeouts)&&e.timeouts.forEach(function(e){window.clearTimeout(e)}),_fazStore._preferenceFocusRetries=null)}function _fazAgeGateMinAge(){var e=_fazStore._ageGate&&_fazStore._ageGate.minAge;return(e=parseInt(e,10))&&e>=13&&e<=18?e:16}function _fazIsAgeAffirmed(){try{if("1"===sessionStorage.getItem("faz_age_verified"))return!0}catch(e){}for(var e=document.querySelectorAll(".faz-age-confirm-cb"),t=0;t<e.length;t++)if(e[t].checked)return!0;return!1}function _fazShowAgeConfirmError(){for(var e=document.querySelectorAll(".faz-age-confirm-cb"),t=!1,a=0;a<e.length;a++)if(null!==e[a].offsetParent){t=!0;break}t||(_fazRenderAgeConfirmations(),_fazShowBanner(),e=document.querySelectorAll(".faz-age-confirm-cb"));for(var r=document.querySelectorAll(".faz-age-confirm-error"),o=0;o<r.length;o++)r[o].removeAttribute("hidden");for(var n=null,i=0;i<e.length;i++)if(null!==e[i].offsetParent){n=e[i];break}if(!n&&e.length&&(n=e[0]),n)try{n.focus()}catch(e){}_fazAnnounceAgeError()}function _fazHideAgeConfirmError(){for(var e=document.querySelectorAll(".faz-age-confirm-error"),t=0;t<e.length;t++)e[t].setAttribute("hidden","")}var _fazPendingAgeGatedGrants=[];function _fazResumePendingAgeGatedGrant(){if(_fazPendingAgeGatedGrants.length){var e=_fazPendingAgeGatedGrants;_fazPendingAgeGatedGrants=[];for(var t=0;t<e.length;t++){var a=e[t];"service"===a.type&&"function"==typeof window._fazAcceptService?window._fazAcceptService(a.serviceId,a.categorySlug,a.trustService):"category"===a.type&&"function"==typeof window._fazAcceptCategory&&window._fazAcceptCategory(a.categorySlug)}}}function _fazAnnounceAgeError(){var e=document.getElementById("faz-a11y-live");e||((e=document.createElement("div")).id="faz-a11y-live",e.setAttribute("role","status"),e.setAttribute("aria-live","polite"),e.setAttribute("aria-atomic","true"),e.style.cssText="position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);border:0;white-space:nowrap",document.body.appendChild(e));var t=_fazTranslate("age_confirm_error","Please confirm you meet the minimum age to accept optional cookies.");e.textContent="",(window.requestAnimationFrame||function(e){setTimeout(e,16)})(function(){e.textContent=t})}function _fazRenderAgeConfirmation(e){if(_fazStore._ageGate&&_fazStore._ageGate.enabled&&e&&e.parentNode){var t=e.previousElementSibling;if(!(t&&t.classList&&t.classList.contains("faz-age-confirm"))){var a=(e.getAttribute("data-faz-tag")||"age").replace(/[^a-z0-9]+/gi,"-"),r="faz-age-confirm-cb-"+a,o="faz-age-confirm-error-"+a,n=_fazAgeGateMinAge(),i=document.createElement("div");i.className="faz-age-confirm";var c=document.createElement("input");c.type="checkbox",c.className="faz-age-confirm-cb",c.id=r,c.checked=!1,c.setAttribute("aria-describedby",o);var s=document.createElement("label");s.className="faz-age-confirm-label",s.setAttribute("for",r),s.textContent=_fazTranslate("age_confirm_label","I confirm I am at least %d years old").replace("%d",n);var f=document.createElement("span");f.className="faz-age-confirm-error",f.id=o,f.setAttribute("role","alert"),f.setAttribute("hidden",""),f.textContent=_fazTranslate("age_confirm_error","Please confirm you meet the minimum age to accept optional cookies."),c.addEventListener("change",function(){for(var e=c.checked,t=document.querySelectorAll(".faz-age-confirm-cb"),a=0;a<t.length;a++)t[a]!==c&&(t[a].checked=e);e&&(_fazHideAgeConfirmError(),_fazResumePendingAgeGatedGrant())}),i.appendChild(c),i.appendChild(s),i.appendChild(f),e.parentNode.insertBefore(i,e)}}}function _fazRenderAgeConfirmations(){_fazStore._ageGate&&_fazStore._ageGate.enabled&&["notice-buttons","detail-buttons"].forEach(function(e){var t=document.querySelector('[data-faz-tag="'+e+'"]');t&&_fazRenderAgeConfirmation(t)})}function _fazAnnounceConsent(){var e=document.getElementById("faz-a11y-live");e||((e=document.createElement("div")).id="faz-a11y-live",e.setAttribute("role","status"),e.setAttribute("aria-live","polite"),e.setAttribute("aria-atomic","true"),e.style.cssText="position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);border:0;white-space:nowrap",document.body.appendChild(e));var t=_fazTranslate("consent_saved","Your cookie preferences have been saved.");e.textContent="",(window.requestAnimationFrame||function(e){setTimeout(e,16)})(function(){e.textContent=t})}function _fazAcceptReject(e="custom"){return()=>{!1!==_fazAcceptCookies(e)&&(_fazRemoveBanner(),_fazHidePreferenceCenter(),_fazAfterConsent())}}function _fazActionClose(){_fazAcceptCookies("reject"),_fazRemoveBanner(),_fazHidePreferenceCenter(),_fazAfterConsent()}function _fazAcceptCookies(t="all",a=!1){var r="reject"!==t&&!a&&_fazStore._ageGate&&_fazStore._ageGate.enabled;if(r&&!_fazIsAgeAffirmed())return _fazShowAgeConfirmError(),!1;if(("reject"===t||a)&&(_fazPendingAgeGatedGrants.length=0),_fazAnnounceConsent(),null===_fazCategoriesBeforeConsent){_fazCategoriesBeforeConsent=[];for(var o=_fazStore._categories||[],n=0;n<o.length;n++)"necessary"===o[n].slug||_fazIsCategoryToBeBlocked(o[n].slug)||_fazCategoriesBeforeConsent.push(o[n].slug)}null===_fazServicesBeforeConsent&&(_fazServicesBeforeConsent=_fazGetServiceConsentSnapshot());const i=_fazGetLaw(),c=_fazFindCheckBoxValue(),d=!_fazPreviewEnabled()&&_fazGpcActive(),u=!_fazPreviewEnabled()&&_fazDnsmpiCookieActive(),z=d||u,_=[];_fazClearStoredServiceConsent(),_fazSetConsentID(),e._fazSetInStore("action","yes"),e._fazSetInStore(s,_fazCurrentBannerSlug()),e._fazSetInStore(f,_fazCurrentLaw()),e._fazSetInStore(l,_fazCurrentScopeFingerprint()),"gdpr"===i?e._fazSetInStore("consent","reject"===t?"no":"yes"):e._fazSetInStore("consent",c?"yes":"no");const g={accepted:[],rejected:[],action:t},p=[];let y=!1,S=!1;for(const a of _fazStore._categories){let r="no";"gdpr"===i?(r=a.isNecessary||"reject"!==t&&("custom"!==t||_fazFindCheckBoxValue(a.slug))?"yes":"no","all"===t&&a.requiresSeparateOptIn&&!a.isNecessary&&(r="no",y=!0),"yes"!==r||!c||a.isNecessary||a.defaultConsent.ccpa||"optout-popup"!==_fazActivePreferenceTag()||(r="no")):r=_fazStore._runtimeGeo&&a.defaultFromRuleset&&("reject"===t||"custom"===t)?"custom"===t?a.isNecessary||_fazFindCheckBoxValue(a.slug)?"yes":"no":a.isNecessary||a.defaultConsent.gdpr?"yes":"no":c&&!a.defaultConsent.ccpa?"no":"yes",!a.isNecessary&&a.ccpaDoNotSell&&(_.push(a.slug),z&&("no"!==r&&(S=!0),r="no")),e._fazSetInStore(`${a.slug}`,r),"no"===r?(g.rejected.push(a.slug),p.push(a)):g.accepted.push(a.slug)}if((y||S)&&(g.action="custom"),d&&(e._fazSetInStore("gpc","1"),g.gpc=!0),u&&(e._fazSetInStore("dnsmpi","1"),g.dnsmpi=!0),_fazStore._perServiceConsent&&_fazStore._services&&(_fazStoreCustomServiceConsent(t),_fazStore._perCookieConsent&&_fazStoreCustomCookieConsent(t)),z&&_fazClearStoredServiceConsent(_),_fazStore._perCookieConsent||_fazStore._perServiceConsent?(_fazStore._categories||[]).forEac
1h(_fazRemoveDeadCookies):p.forEach(_fazRemoveDeadCookies),_fazSaveVendorConsent(t),r){try{sessionStorage.setItem("faz_age_verified","1")}catch(e){}g.ageAffirmed=!0}return _fazUnblock(),_fazFireEvent(g),_fazFireConsentReadyEvent("update"),!0}function _fazClearStoredServiceConsent(t){if(!e._fazConsentStore||"function"!=typeof e._fazConsentStore.forEach)return 0;var a=Array.isArray(t),r=[];return e._fazConsentStore.forEach(function(e,o){if("string"==typeof o&&(0===o.indexOf("svc.")||0===o.indexOf("ck.")))if(a){var n=0===o.indexOf("svc.")?o.substring(4):o.substring(3).split(".")[0],i=_fazKnownServiceCategory(n)||_fazUndetectedProviderCategory(n);i&&-1===t.indexOf(i)||r.push(o)}else r.push(o)}),r.forEach(function(t){e._fazConsentStore.delete(t)}),r.length}function _fazCkKey(e,t){return"ck."+e+"."+String(t).replace(/%/g,"%25").replace(/:/g,"%3A").replace(/,/g,"%2C")}function _fazStoreCustomServiceConsent(t){if("custom"===t){var a={},r={};document.querySelectorAll(".faz-service-toggle[data-service][data-category]").forEach(function(e){var t=e.getAttribute("data-category"),o=e.getAttribute("data-service");t&&(o&&(r[o]=!0),a[t]||(a[t]=[]),a[t].push(e))}),Object.keys(a).forEach(function(t){var r=e._fazGetFromStore(t)||"no",o=a[t];o.some(function(e){return(e.checked?"yes":"no")!==r})&&o.forEach(function(t){var a=t.getAttribute("data-service");a&&e._fazSetInStore("svc."+a,t.checked?"yes":"no")})}),_fazServicesBeforeConsent&&Array.isArray(_fazStore._services)&&_fazStore._services.forEach(function(t){if(t&&t.id&&t.category&&!r[t.id]){var a=_fazServicesBeforeConsent[t.id];if("yes"===a||"no"===a)a!==(e._fazGetFromStore(t.category)||"no")&&e._fazSetInStore("svc."+t.id,a)}})}}function _fazServiceEffectiveConsent(t,a){var r=e._fazGetFromStore("svc."+t);return r?"yes"===r?"yes":"no":"yes"===e._fazGetFromStore(a)?"yes":"no"}function _fazKnownServiceCategory(e){if(!e||!Array.isArray(_fazStore._services))return"";for(var t=0;t<_fazStore._services.length;t++){var a=_fazStore._services[t];if(a&&a.id===e&&a.category)return a.category}return""}function _fazUndetectedProviderCategory(e){if(!e||!Array.isArray(_fazStore._providersToBlock))return"";for(var t=0;t<_fazStore._providersToBlock.length;t++){var a=_fazStore._providersToBlock[t];if(a&&a.service===e&&Array.isArray(a.categories)&&a.categories.length)return a.categories[0]}return""}function _fazIsKnownService(e,t){var a=_fazKnownServiceCategory(e);return!!a&&(!t||a===t)}function _fazIsRecognizedService(e){return!!e&&(!(!Array.isArray(_fazStore._services)||!_fazStore._services.some(function(t){return t&&t.id===e}))||!(!Array.isArray(_fazStore._providersToBlock)||!_fazStore._providersToBlock.some(function(t){return t&&t.service===e})))}function _fazGetServiceConsentSnapshot(){var t={};return _fazStore._perServiceConsent?(Array.isArray(_fazStore._services)&&_fazStore._services.forEach(function(e){e&&e.id&&e.category&&(t[e.id]=_fazServiceEffectiveConsent(e.id,e.category))}),e._fazConsentStore.forEach(function(e,a){if("string"==typeof a&&0===a.indexOf("svc.")){var r=a.slice(4);r&&!(r in t)&&(t[r]="yes"===e?"yes":"no")}}),t):t}function _fazCookieEffectiveConsent(t,a,r){var o=e._fazGetFromStore(_fazCkKey(t,r));return o?"yes"===o?"yes":"no":_fazServiceEffectiveConsent(t,a)}function _fazGetServiceCookieDecision(t){if(!_fazStore._perServiceConsent||!Array.isArray(_fazStore._services))return"";for(var a=!1,r=0;r<_fazStore._services.length;r++){var o=_fazStore._services[r];if(o&&o.id&&Array.isArray(o.cookies))for(var n=0;n<o.cookies.length;n++){var i=o.cookies[n];if(i&&_fazCookieNameMatches(t,i)){var c=e._fazGetFromStore("svc."+o.id);if(_fazStore._perCookieConsent){var s=e._fazGetFromStore(_fazCkKey(o.id,i));"yes"!==s&&"no"!==s||(c=s)}if("no"===c)return"no";"yes"===c&&(a=!0)}}}return a?"yes":""}function _fazStoreCustomCookieConsent(t){"custom"===t&&_fazStore._perCookieConsent&&document.querySelectorAll(".faz-cookie-toggle[data-service][data-cookie-name]").forEach(function(t){var a=t.getAttribute("data-service"),r=t.getAttribute("data-cookie-name");a&&r&&e._fazSetInStore(_fazCkKey(a,r),t.checked?"yes":"no")})}function _fazSetShowMoreLess(){const e=_fazGetLaw(),t=_fazStore._shortCodes.find(e=>"faz_show_desc"===e.key),a=_fazStore._shortCodes.find(e=>"faz_hide_desc"===e.key);if(!t||!a)return;const r=a.content,o=t.content,n=window.innerWidth<376?150:300,i=document.querySelector(`[data-faz-tag="${"gdpr"===e?"detail":"optout"}-description"]`);if(!i)return;if(i.textContent.length<n)return;const c=document.createDocumentFragment();
1Array.from(i.childNodes).forEach(function(e){c.appendChild(e.cloneNode(!0))});const s=i.innerHTML,f=(new DOMParser).parseFromString(s,"text/html").querySelectorAll("body > p");if(f.length<=1)return;let l=0;const d=document.createDocumentFragment();for(let e=0;e<f.length;e++){if(e===f.length-1)return;const t=f[e],a=t.outerHTML;if(l+a.length>n){t.appendChild(document.createTextNode("... "));var u=_fazParseHTML(o);t.appendChild(u)}if(d.appendChild(document.adoptNode(t)),l+=a.length,l>n)break}function z(){for(;i.firstChild;)i.removeChild(i.firstChild);Array.from(c.childNodes).forEach(function(e){i.appendChild(e.cloneNode(!0))}),i.appendChild(_fazParseHTML(r)),_fazAttachListener("=hide-desc-button",_),_fazAttachShowMoreLessStyles()}function _(){for(;i.firstChild;)i.removeChild(i.firstChild);Array.from(d.childNodes).forEach(function(e){i.appendChild(e.cloneNode(!0))}),_fazAttachListener("=show-desc-button",z),_fazAttachShowMoreLessStyles()}_()}function _fazAttachShortCodeStyles(){const e=_fazStore._tags;if(!e)return;const t=document.getElementById("faz-consent"),a=[];document.documentElement&&a.push(document.documentElement),t&&a.push(t),Array.prototype.forEach.call(document.querySelectorAll(".faz-modal"),function(e){a.push(e)}),a.length&&Array.prototype.forEach.call(e,function(e){if(e.styles&&"revisit-consent"!==e.tag)for(const t in e.styles){const r=e.styles[t];r&&a.forEach(function(a){a.style.setProperty("--faz-"+e.tag+"-"+t,r)})}})}function _fazImgShouldBlock(e,t){if(!_fazStore._block||"string"!=typeof t||""===t)return!1;if("/"===t.charAt(0)&&"/"!==t.charAt(1)||0===t.indexOf("data:")||0===t.indexOf("blob:"))return!1;if(-1===t.indexOf("//"))return!1;try{if(new URL(t,location.href).host===location.host)return!1}catch(e){return!1}return!(e&&e.classList&&e.classList.contains("faz-skip"))&&(!_fazIsUserWhitelisted(t,e)&&_fazShouldBlockProvider(t))}function _fazImgCategory(e){var t=_fazMatchingProviders(e);if(t&&t.length){for(var a=0;a<t.length;a++){var r=t[a].categories;if(Array.isArray(r))for(var o=0;o<r.length;o++)if(_fazIsCategoryToBeBlocked(r[o]))return r[o]}if(Array.isArray(t[0].categories)&&t[0].categories.length)return t[0].categories[0]}return"functional"}function _fazGateSrcSetter(e,t){if(e){var a=Object.getOwnPropertyDescriptor(e,"src");if(a&&"function"==typeof a.set&&"function"==typeof a.get&&!1!==a.configurable){var r=a.set,o=a.get;Object.defineProperty(e,"src",{configurable:!0,enumerable:a.enumerable,get:function(){return o.call(this)},set:function(e){try{if(_fazImgShouldBlock(this,e))return this.setAttribute("data-faz-src",String(e)),this.setAttribute("data-faz-category",_fazImgCategory(String(e))),t&&this.classList&&this.classList.add("faz-hidden"),void(t&&_fazRevealService(_fazResolveServiceId(String(e),this.getAttribute&&this.getAttribute("data-faz-service")||"")))}catch(e){}r.call(this,e)}})}}}function _fazGateHrefSetter(e){if(e){var t=Object.getOwnPropertyDescriptor(e,"href");if(t&&"function"==typeof t.set&&"function"==typeof t.get&&!1!==t.configurable){var a=t.set,r=t.get;Object.defineProperty(e,"href",{configurable:!0,enumerable:t.enumerable,get:function(){return r.call(this)},set:function(e){try{if(_fazImgShouldBlock(this,e))return this.setAttribute("data-faz-href",String(e)),void this.setAttribute("data-faz-category",_fazImgCategory(String(e)))}catch(e){}a.call(this,e)}})}}}function _fazSrcsetBlockedCategory(e,t){var a=String(null==t?"":t);if(!a)return"";for(var r=a.split(","),o=0;o<r.length;o++){var n=r[o].replace(/^\s+/,"").split(/\s+/)[0];if(n&&_fazImgShouldBlock(e,n))return _fazImgCategory(n)}return""}function _fazGateResourceSetAttribute(e,t){if(e&&"function"==typeof e.setAttribute){var a=e.setAttribute;Object.defineProperty(e,"setAttribute",{configurable:!0,writable:!0,enumerable:!0,value:function(e,r){try{var o=String(null==e?"":e).toLowerCase();if(o===t.urlAttr&&_fazImgShouldBlock(this,r))return a.call(this,t.parkAttr,String(r)),a.call(this,"data-faz-category",_fazImgCategory(String(r))),t.hideOnPark&&this.classList&&this.classList.add("faz-hidden"),void(t.hideOnPark&&_fazRevealService(_fazResolveServiceId(String(r),this.getAttribute&&this.getAttribute("data-faz-service")||"")));if("srcset"===o&&t.srcset){var n=_fazSrcsetBlockedCategory(this,r);if(n)return a.call(this,"data-faz-srcset",String(r)),void a.call(this,"data-faz-srcset-category",n)}}catch(e){}return a.call(this,e,r)}})}}function _fazGateSrcsetSetter(e){if(e){var t=Object.getOwnPropertyDescriptor(e,"srcset");if(t&&"function"==typeof t.set&&"function"==typeof t.get&&!1!==t.configurable){var a=t.set,r=t.get;Object.defineProperty(e,"srcset",{configurable:!0,enumerable:t.enumerable,get:function(){return r.call(this)},set:function(e){try{var t=_fazSrcsetBlockedCategory(this,e);if(t)return this.setAttribute("data-faz-srcset",String(e)),void this.setAttribute("data-faz-srcset-category",t)}catch(e){}a.call(this,e)}})}}}function _fazParkResourceElementIfBlocked(e){if(e&&1===e.nodeType&&e.getAttribute){var t=(e.nodeName||"").toLowerCase();try{if("img"===t||"iframe"===t||"source"===t){var a=e.getAttribute("src");a&&!e.getAttribute("data-faz-src")&&_fazImgShouldBlock(e,a)&&(e.setAttribute("data-faz-src",a),e.setAttribute("data-faz-category",_fazImgCategory(a)
1),e.removeAttribute("src"),"iframe"===t&&e.classList&&e.classList.add("faz-hidden"));var r=e.getAttribute("srcset");if(r&&!e.getAttribute("data-faz-srcset")){var o=_fazSrcsetBlockedCategory(e,r);o&&(e.setAttribute("data-faz-srcset",r),e.setAttribute("data-faz-srcset-category",o),e.removeAttribute("srcset"))}}else if("link"===t){var n=e.getAttribute("href"),i=(e.getAttribute("rel")||"").toLowerCase();n&&-1!==i.indexOf("stylesheet")&&!e.getAttribute("data-faz-href")&&_fazImgShouldBlock(e,n)&&(e.setAttribute("data-faz-href",n),e.setAttribute("data-faz-category",_fazImgCategory(n)),e.removeAttribute("href"))}}catch(e){}}}_fazGateSrcSetter(window.HTMLImageElement&&HTMLImageElement.prototype,!1),_fazGateSrcSetter(window.HTMLIFrameElement&&HTMLIFrameElement.prototype,!0),_fazGateHrefSetter(window.HTMLLinkElement&&HTMLLinkElement.prototype),_fazGateResourceSetAttribute(window.HTMLImageElement&&HTMLImageElement.prototype,{urlAttr:"src",parkAttr:"data-faz-src",hideOnPark:!1,srcset:!0}),_fazGateResourceSetAttribute(window.HTMLIFrameElement&&HTMLIFrameElement.prototype,{urlAttr:"src",parkAttr:"data-faz-src",hideOnPark:!0,srcset:!1}),_fazGateResourceSetAttribute(window.HTMLLinkElement&&HTMLLinkElement.prototype,{urlAttr:"href",parkAttr:"data-faz-href",hideOnPark:!1,srcset:!1}),_fazGateResourceSetAttribute(window.HTMLSourceElement&&HTMLSourceElement.prototype,{urlAttr:"src",parkAttr:"data-faz-src",hideOnPark:!1,srcset:!0}),_fazGateSrcsetSetter(window.HTMLImageElement&&HTMLImageElement.prototype),_fazGateSrcsetSetter(window.HTMLSourceElement&&HTMLSourceElement.prototype);var _FAZ_INERT_CSS_URL="data:application/octet-stream,";function _fazAggressiveCssUrlBlockingEnabled(){return!(!_fazStore||!_fazStore._aggressiveCssUrlBlocking)}function _fazCssUrls(e){var t=[];return e&&"string"==typeof e?(e.replace(/url\(\s*(?:"([^"]*)"|'([^']*)'|([^\)\s]+))\s*\)/gi,function(e,a,r,o){return t.push(a||r||o||""),e}),e.replace(/@import\s+(["'])([^"']+)\1/gi,function(e,a,r){return t.push(r||""),e}),t):t}function _fazCssUrlShouldBlock(e){return!(!e||"string"!=typeof e)&&(!(!(e=e.trim())||"#"===e.charAt(0)||/^data:/i.test(e)||/^blob:/i.test(e))&&(!_fazIsUserWhitelisted(e)&&_fazShouldBlockProvider(e)))}function _fazCssShouldBlock(e){for(var t=_fazCssUrls(e),a=0;a<t.length;a++)if(_fazCssUrlShouldBlock(t[a]))return!0;return!1}function _fazCssBlockedCategory(e){for(var t=_fazCssUrls(e),a=0;a<t.length;a++)if(_fazCssUrlShouldBlock(t[a]))return _fazImgCategory(t[a]);return"functional"}function _fazNeutralizeCssUrls(e){return e&&"string"==typeof e?e=(e=e.replace(/url\(\s*(?:"([^"]*)"|'([^']*)'|([^\)\s]+))\s*\)/gi,function(e,t,a,r){return _fazCssUrlShouldBlock(t||a||r||"")?'url("'+_FAZ_INERT_CSS_URL+'")':e})).replace(/(@import\s+)(["'])([^"']+)\2/gi,function(e,t,a,r){return _fazCssUrlShouldBlock(r)?t+'url("'+_FAZ_INERT_CSS_URL+'")':e}):e}function _fazBase64EncodeUtf8(e){try{return btoa(unescape(encodeURIComponent(e)))}catch(e){return""}}function _fazBase64DecodeUtf8(e){try{return decodeURIComponent(escape(atob(e)))}catch(e){return""}}var _fazStyleOriginalCssByNode=window.WeakMap?new WeakMap:null;function _fazIsStyleTextNode(e){return!(!e||3!==e.nodeType&&4!==e.n
1odeType)}function _fazHasStyleNodeOriginalCss(e){return!!e&&(!(!_fazStyleOriginalCssByNode||!_fazStyleOriginalCssByNode.has(e))||Object.prototype.hasOwnProperty.call(e,"__fazOriginalCss"))}function _fazSetStyleNodeOriginalCss(e,t){if(e){_fazStyleOriginalCssByNode&&_fazStyleOriginalCssByNode.set(e,String(t||""));try{e.__fazOriginalCss=String(t||"")}catch(e){}}}function _fazClearStyleNodeOriginalCss(e){if(e){_fazStyleOriginalCssByNode&&_fazStyleOriginalCssByNode.delete(e);try{delete e.__fazOriginalCss}catch(e){}}}function _fazGetStyleNodeOriginalCss(e){return e?_fazStyleOriginalCssByNode&&_fazStyleOriginalCssByNode.has(e)?_fazStyleOriginalCssByNode.get(e)||"":Object.prototype.hasOwnProperty.call(e,"__fazOriginalCss")?e.__fazOriginalCss||"":"string"==typeof e.nodeValue?e.nodeValue:"":""}function _fazPrimeStyleCssMarkers(e){if(e&&e.getAttribute&&e.childNodes){var t=e.getAttribute("data-faz-css")||"";if(t){var a=_fazBase64DecodeUtf8(t);a&&1===e.childNodes.length&&_fazIsStyleTextNode(e.childNodes[0])&&!_fazHasStyleNodeOriginalCss(e.childNodes[0])&&_fazNeutralizeCssUrls(a)===e.childNodes[0].nodeValue&&_fazSetStyleNodeOriginalCss(e.childNodes[0],a)}}}function _fazStyleOriginalCss(e){if(!e||!e.childNodes)return"";_fazPrimeStyleCssMarkers(e);for(var t="",a=0;a<e.childNodes.length;a++){var r=e.childNodes[a];t+=_fazIsStyleTextNode(r)?_fazGetStyleNodeOriginalCss(r):r.textContent||""}return t}function _fazSyncStyleCssAttribute(e){if(e&&e.setAttribute&&e.removeAttribute){var t=_fazStyleOriginalCss(e);if(t&&_fazStore._block&&_fazCssShouldBlock(t)){var a=_fazBase64EncodeUtf8(t);a&&e.setAttribute("data-faz-css",a),e.setAttribute("data-faz-category",_fazCssBlockedCategory(t))}else e.removeAttribute("data-faz-css"),e.removeAttribute("data-faz-category")}}function _fazPrepareStyleStringArg(e,t){if(!_fazStore._block||!t||"string"!=typeof t||!_fazCssShouldBlock(t))return t;var a=(e&&e.ownerDocument||document).createTextNode(_fazNeutralizeCssUrls(t));return _fazSetStyleNodeOriginalCss(a,t),a}function _fazPrepareStyleTextNode(e,t){if(_fazIsStyleTextNode(t)){var a=_fazGetStyleNodeOriginalCss(t);if(!_fazStore._block||!a||!_fazCssShouldBlock(a))return _fazHasStyleNodeOriginalCss(t)&&t.nodeValue!==a&&(t.nodeValue=a),void _fazClearStyleNodeOriginalCss(t);var r=_fazNeutralizeCssUrls(a);_fazSetStyleNodeOriginalCss(t,a),t.nodeValue!==r&&(t.nodeValue=r)}}function _fazPrepareStyleNodeTree(e,t){if(_fazIsStyleTextNode(t))_fazPrepareStyleTextNode(e,t);else if(t&&t.childNodes)for(var a=0;a<t.childNodes.length;a++)_fazPrepareStyleNodeTree(e,t.childNodes[a])}function _fazFindAccessorDescriptor(e,t){for(;e;){var a=Object.getOwnPropertyDescriptor(e,t);if(a)return a;e=Object.getPrototypeOf(e)}return null}function _fazGateStyleTextSetter(e,t){if(e){var a=_fazFindAccessorDescriptor(e,t);if(a&&"function"==typeof a.set&&"function"==typeof a.get&&!1!==a.configurable){var r=a.set,o=a.get;Object.defineProperty(e,t,{configurable:!0,enumerable:a.enumerable,get:function(){return o.call(this)},set:function(e){var t=String(null==e?"":e);try{_fazStore._block&&t&&_fazCssShouldBlock(t)?(r.call(this,_fazNeutralizeCssUrls(t)),_fazIsStyleTextNode(this.firstChild)&&_fazSetStyleNodeOriginalCss(this.firstChild,t)):r.call(this,t),_fazSyncStyleCssAttribute(this)}catch(e){try{this.removeAttribute("data-faz-css"),this.removeAttribute("data-faz-category")}catch(e){}r.call(this,t)}}})}}}function _fazGateStyleTextNodeMethod(e,t){if(e&&window.Node){var a=e[t]||Node.prototype&&Node.prototype[t]||window.Element&&Element.prototype&&Element.prototype[t];"function"==typeof a&&Object.defineProperty(e,t,{configurable:!0,writable:!0,enumerable:!0,value:function(){var e=Array.prototype.slice.call(arguments);if("insertBefore"===t&&e.length>1&&null!==e[1]&&e[1]&&e[1].parentNode!==this)return a.apply(this,e);if("replaceChild"===t&&(!e[1]||e[1].parentNode!==this))return a.apply(this,e);try{_fazPrimeStyleCssMarkers(this)}catch(e){}for(var r="append"===t||"replaceChildren"===t,o=r?e.length:Math.min(e.length,1),n=0;n<o;n++){var i=e[n];try{r&&"string"==typeof i?e[n]=_fazPrepareStyleStringArg(this,i):_fazPrepareStyleNodeTree(this,i)}catch(e){}}var c=a.apply(this,e);try{_fazSyncStyleCssAttribute(this)}catch(e){}return c}})}}function _fazGateStyleInsertAdjacentText(e){if(e&&window.Node){var t=e.insertAdjacentText||window.Element&&Element.prototype&&Element.prototype.insertAdjacentText;"function"==typeof t&&Object.defineProperty(e,"insertAdjacentText",{configurable:!0,writable:!0,enumerable:!0,value:function(e,a){var r=String(null==e?"":e).toLowerCase();if("afterbegin"!==r&&"beforeend"!==r)return t.call(this,e,a);var o=String(null==a?"":a);try{if(_fazStore._block&&o&&_fazCssShouldBlock(o)){_fazPrimeStyleCssMarkers(this);var n=(this.ownerDocument||document).createTextNode(_fazNeutralizeCssUrls(o));return _fazSetStyleNodeOriginalCss(n,o),"afterbegin"===r?Node.prototype.insertBefore.call(this,n,this.firstChild):Node.prototype.appendChild.call(this,n),void _fazSyncStyleCssAttribute(this)}}catch(e){}return t.call(this,e,a)}})}}function _fazGateStyleRemoveMethod(e,t){if(e&&window.Node){var a=e[t]||Node.prototype&&Node.prototype[t];"function"==typeof a&&Object.defineProperty(e,t,{configurable:!0,writable:!0,enumerable:!0,value:function(){var e=a.apply(this,arguments);try{this.removeAttribute&&(this.removeAttribute("data-faz-css"),this.removeAttribute("data-faz-category")),_fazSyncStyleCssAttribute(this)}catch(e){}return e}})}}function _fazStyleParentForCharacterData(e){var t=e&&e.parentNode;return t&&1===t.nodeType&&"style"===(t.nodeName||"").toLowerCase()?t:null}_fazGateStyleTextSetter(window.HTMLStyleElement&&HTMLStyleElement.prototype,"textContent"),_fazGateStyleTextSetter(window.HTMLStyleElement&&HTMLStyleElement.prototype,"innerHTML"),_fazGateStyleTextNodeMethod(window.HTMLStyleElement&&HTMLStyleElement.prototype,"appendChild"),_fazGateStyleTextNodeMethod(window.HTMLStyleElement&&HTMLStyleElement.prototype,"insertBefore"),_fazGateStyleTextNodeMethod(window.HTMLStyleElement&&HTMLStyleElement.prototype,"replaceChild"),_fazGateStyleTextNodeMethod(window.HTMLStyleElement&&HTMLStyleElement.prototype,"append"),_fazGateStyleTextNodeMethod(window.HTMLStyleElement&&HTMLStyleElement.prototype,"replaceChildren"),_fazGateStyleInsertAdjacentText(window.HTMLStyleElement&&HTMLStyleElement.prototype),_fazGateStyleRemoveMethod(window.HTMLStyleElement&&HTMLStyleElement.prototype,"removeChild");var _fazInStyleCharDataWrite=!1;function _fazApplyStyleCharacterData(e,t,a,r){var o=String(null==a?"":a);_fazInStyleCharDataWrite=!0;try{_fazStore._block&&o&&_fazCssShouldBlock(o)?(_fazSetStyleNodeOriginalCss(t,o),r(t,_fazNeutralizeCssUrls(o))):(_fazClearStyleNodeOriginalCss(t),r(t,o))}finally{_fazInStyleCharDataWrite=!1}_fazSyncStyleCssAttribute(e)}function _fazGateStyleCharacterDataSetter(e,t){if(e){var a=_fazFindAccessorDescriptor(e,t);if(a&&"function"==typeof a.set&&"function"==typeof a.get&&!1!==a.configurable){var r=a.set,o=a.get;Object.defineProperty(e,t,{configurable:!0,enumerable:a.enumerable,get:function(){return o.call(this)},set:function(e){if(_fazInStyleCharDataWrite)r.call(this,e);else{var t=_fazStyleParentForCharacterData(this);if(t)try{_fazPrimeStyleCssMarkers(t),_fazApplyStyleCharacterData(t,this,e,function(e,t){r.call(e,t)})}catch(t){r.call(this,e)}else r.call(this,e)}}})}}}function _fazGateStyleCharacterDataMethod(e,t){if(e){var a=e[t];"function"==typeof a&&Object.defineProperty(e,t,{configurable:!0,writable:!0,enumerable:!0,value:function(){var e=_fazStyleParentForCharacterData(this);if(!e)return a.apply(this,arguments);try{_fazPrimeStyleCssMarkers(e);var t=(this.ownerDocument||document).createTextNode(_fazGetStyleNodeOriginalCss(this));return a.apply(t,arguments),void _fazApplyStyleCharacterData(e,this,t.data,function(e,t){e.nodeValue=t})}catch(e){return a.apply(this,arguments)}}})}}function _fazGateStyleCharacterDataReplaceWith(e){if(e&&"function"==typeof e.replaceWith){var t=e.replaceWith;Object.defineProperty(e,"replaceWith",{configurable:!0,writable:!0,enumerable:!0,value:function(){var e=_fazStyleParentForCharacterData(this);if(!e)return t.apply(this,arguments);var a=Array.prototype.slice.call(arguments);try{_fazPrimeStyleCssMarkers(e);for(var r=0;r<a.length;
1r++)"string"==typeof a[r]?a[r]=_fazPrepareStyleStringArg(e,a[r]):_fazPrepareStyleNodeTree(e,a[r])}catch(e){}var o=t.apply(this,a);try{_fazSyncStyleCssAttribute(e)}catch(e){}return o}})}}function _fazGateStyleSheetInsertRule(){var e=window.CSSStyleSheet&&CSSStyleSheet.prototype;if(e&&"function"==typeof e.insertRule){var t=e.insertRule;Object.defineProperty(e,"insertRule",{configurable:!0,writable:!0,enumerable:!0,value:function(e,a){try{var r=String(null==e?"":e);if(_fazStore._block&&r&&_fazCssShouldBlock(r))return t.call(this,_fazNeutralizeCssUrls(r),a)}catch(e){}return t.call(this,e,a)}})}}function _fazEscapeHtmlAttr(e){return String(null==e?"":e).replace(/&/g,"&").replace(/"/g,""").replace(/</g,"<")}function _fazPrepareStyleTagHtml(e,t,a){if(!_fazStore._block||!a||"string"!=typeof a||!_fazCssShouldBlock(a))return e;if(t&&/\bdata-faz-css\s*=/i.test(t))return e;var r=_fazNeutralizeCssUrls(a);if(r===a)return e;var o=_fazBase64EncodeUtf8(a);return o?"<style"+(t||"")+' data-faz-css="'+_fazEscapeHtmlAttr(o)+'" data-faz-category="'+_fazEscapeHtmlAttr(_fazCssBlockedCategory(a))+'">'+r+"</style>":e}function _fazPrepareStyleHtmlString(e){return e&&"string"==typeof e&&-1!==e.toLowerCase().indexOf("<style")?e.replace(/<style\b([^>]*)>([\s\S]*?)<\/style>/gi,function(e,t,a){try{return _fazPrepareStyleTagHtml(e,t||"",a||"")}catch(t){return e}}):e}function _fazGateHtmlStyleStringSetter(e,t){if(e){var a=_fazFindAccessorDescriptor(e,t);if(a&&"function"==typeof a.set&&"function"==typeof a.get&&!1!==a.configurable){var r=a.set,o=a.get;Object.defineProperty(e,t,{configurable:!0,enumerable:a.enumerable,get:function(){return o.call(this)},set:function(e){var t=String(null==e?"":e);try{t=_fazPrepareStyleHtmlString(t)}catch(e){}r.call(this,t)}})}}}function _fazGateInsertAdjacentHtml(e){if(e&&"function"==typeof e.insertAdjacentHTML){var t=e.insertAdjacentHTML;Object.defineProperty(e,"insertAdjacentHTML",{configurable:!0,writable:!0,enumerable:!0,value:function(e,a){var r=String(null==a?"":a);try{r=_fazPrepareStyleHtmlString(r)}catch(e){}return t.call(this,e,r)}})}}_fazAggressiveCssUrlBlockingEnabled()&&(_fazGateStyleCharacterDataSetter(window.CharacterData&&CharacterData.prototype,"data"),_fazGateStyleCharacterDataSetter(window.CharacterData&&CharacterData.prototype,"nodeValue"),_fazGateStyleCharacterDataMethod(window.CharacterData&&CharacterData.prototype,"appendData"),_fazGateStyleCharacterDataMethod(window.CharacterData&&CharacterData.prototype,"insertData"),_fazGateStyleCharacterDataMethod(window.CharacterData&&CharacterData.prototype,"deleteData"),_fazGateStyleCharacterDataMethod(window.CharacterData&&CharacterData.prototype,"replaceData"),_fazGateStyleCharacterDataReplaceWith(window.CharacterData&&CharacterData.prototype),_fazGateStyleSheetInsertRule()),_fazAggressiveCssUrlBlockingEnabled()&&(_fazGateHtmlStyleStringSetter(window.Element&&Element.prototype,"innerHTML"),_fazGateInsertAdjacentHtml(window.Element&&Element.prototype));var _fazSheetOriginalCss=window.WeakMap?new WeakMap:null,_fazTrackedSheets=[];function _fazTrackSheet(e,t){_fazSheetOriginalCss&&_fazSheetOriginalCss.set(e,t),-1===_fazTrackedSheets.indexOf(e)&&_fazTrackedSheets.push(e)}function _fazUntrackSheet(e){_fazSheetOriginalCss&&_fazSheetOriginalCss.delete(e);var t=_fazTrackedSheets.indexOf(e);-1!==t&&_fazTrackedSheets.splice(t,1)}function _fazGateConstructableSheetMethod(e){var t=window.CSSStyleSheet&&CSSStyleSheet.prototype;if(t&&"function"==typeof t[e]){var a=t[e];Object.defineProperty(t,e,{configurable:!0,writable:!0,enumerable:!0,value:function(e){var t=String(null==e?"":e);try{if(_fazStore._block&&t&&_fazCssShouldBlock(t))return _fazTrackSheet(this,t),a.call(this,_fazNeutralizeCssUrls(t));_fazUntrackSheet(this)}catch(e){}return a.call(this,t)}})}}function _fazRestoreConstructableSheets(){if(_fazTrackedSheets.length&&_fazSheetOriginalCss){for(var e=_fazTrackedSheets.slice(),t=[],a=0;a<e.length;a++){var r=e[a],o=_fazSheetOriginalCss.get(r);if(o&&!_fazCssShouldBlock(o))try{r.replaceSync(o)}catch(e){t.push(r)}else o&&t.push(r)}_fazTrackedSheets=t}}_fazAggressiveCssUrlBlockingEnabled()&&(_fazGateConstructableSheetMethod("replaceSync"),_fazGateConstructableSheetMethod("replace"));const _=document.createElement;function _fazMutationObserver(t){var a=[];function r(e){for(var t=e&&e.parentNode;t;t=t.parentNode)if(1===t.nodeType&&"noscript"===(t.nodeName||"").toLowerCase())return!0;return!1}for(var o=0;o<t.length;o++)if("attributes"!==t[o].type)for(var n=t[o].addedNodes,i=0;i<n.length;i++){var c=n[i];if(c&&1===c.nodeType){var s=(c.nodeName||"").toLowerCase();if("script"===s||"iframe"===s){if(r(c))continue;a.push(c)}else if("img"!==s&&"link"!==s&&"source"!==s||r(c)||_fazParkResourceElementIfBlocked(c),"function"==typeof c.querySelectorAll){for(var f=c.querySelectorAll("script[src], iframe[src]"),l=0;l<f.length;l++)r(f[l])||a.push(f[l]);for(var d=c.querySelectorAll("img[src], img[srcset], link[href], source[src], source[srcset]"),u=0;u<d.length;u++)r(d[u])||_fazParkResourceElementIfBlocked(d[u])}}}else{var z=t[o].target;if(z&&1===z.nodeType&&"script"===(z.nodeName||"").toLowerCase()&&!r(z)){var _=z.getAttribute&&z.getAttribute("type")||"";"javascript/blocked"===_||_fazIsDeferredPlaceholderType(_)||z.getAttribute&&z.getAttribute("data-faz-blocked-by-us")||a.push(z)}}if(a.length>1){var g=[];a=a.filter(function(e){return-1===g.indexOf(e)&&(g.push(e),!0)})}for(const t of a){const a=t&&"function"==typeof t.getAttribute?t.getAttribute("src")||t.src||"":t&&t.src?t.src:"";if(a&&t.nodeName&&["script","iframe"].includes(t.nodeName.toLowerCase()))try{let r=a;if(!/^data:/i.test(a))try{const e=a.startsWith("//")?`${window.location.protocol}${a}`:a,{hostname:o,pathname:n}=new URL(e,window.location.href);r=_fazCleanHostName(`${o}${n}`),_fazAddProviderToList(t,r)}catch(e){r=a}if(_fazIsStrictlyNecessaryScript(t))continue;if(_fazIsUserWhitelisted(a,t))continue;if(t.classList&&t.classList.contains("faz-skip"))continue;if(_fazIsDeferredPlaceholderType(t.getAttribute&&t.getAttribute("type")||""))continue;var p=(t.getAttribute&&(t.getAttribute("data-fazcookie")||t.getAttribute("data-faz-category"))||"").replace("fazcookie-",""),y=t.getAttribute&&t.getAttribute("data-faz-service")||"";if(!_fazShouldBlockResource(p,r,y))continue;_fazRevealService(_fazResolveServiceId(r,y));const o=e._fazRandomString(8,!1);if("iframe"===t.nodeName.toLowerCase())_fazAddPlaceholder(t,o);else{t.type="javascript/blocked";const e=function(a){a.preventDefault(),t.removeEventListener("beforescriptexecute",e)};t.addEventListener("beforescriptexecute",e)}const n=document.head.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY?"head":"body";t.remove(),_fazStore._backupNodes.push({position:n,node:t.cloneNode(),uniqueID:o})}catch(e){}}}function _fazUnblock(){const t=e._fazGetFromStore("consent"),a="1"===e._fazGetFromStore("gpc")||"1"===e._fazGetFromStore("dnsmpi");("gdpr"!==_fazGetLaw()||t&&"yes"===t||a)&&(_fazStore._backupNodes=_fazStore._backupNodes.filter(({position:e,node:t,uniqueID:a})=>{try{var r=t&&"function"==typeof t.getAttribute&&(t.getAttribute("data-fazcookie")||t.getAttribute("data-faz-category"))||"";if(_fazShouldBlockResource(r=r.replace("fazcookie-",""),(t&&"function"==typeof t.getAttribute?t.getAttribute("src")||t.src||"":t&&t.src?t.src:"")||(t&&t.textContent?t.textContent:""),t&&"function"==typeof t.getAttribute&&t.getAttribute("data-faz-service")||""))return!0;
1if("script"===t.nodeName.toLowerCase()){const a=_fazBuildRestoredScript(t);if(!a)return!1;document[e].appendChild(a)}else{const e=document.getElementById(a);if(!e)return!1;const r=_fazBuildRestoredIframe(t,e);e.parentNode.insertBefore(r,e),e.parentNode.removeChild(e)}return!1}catch(e){return console.error(e),!1}}),_fazUnblockServerSide())}function _fazIsAllowedScheme(e){if(!e||"string"!=typeof e)return!1;var t=e.indexOf(":");if(t<0)return!0;if(0===e.indexOf("//"))return!0;var a=e.substring(0,t).toLowerCase();return"http"===a||"https"===a}function _fazBuildRestoredScript(e,t){var a=e.getAttribute("src")||e.src,r=a?_.call(document,"script"):document.createElement("script"),o=e.getAttribute("data-faz-original-type"),n=(t||[]).concat(["type","src","data-faz-category","data-faz-service","data-faz-original-type"]);r.type=o||"text/javascript";for(var i=0;i<e.attributes.length;i++){var c=e.attributes[i];-1===n.indexOf(c.name)&&r.setAttribute(c.name,c.value)}if(e.nonce&&(r.nonce=e.nonce),a)if(/^data:/i.test(a)){var s=_fazDecodeDataUriPayload(a);s?r.textContent=s:r.src=a}else r.src=a;else{var f=e.textContent||"";if(f.trim()&&/^\s*\{/.test(f)&&/\}\s*$/.test(f))try{return JSON.parse(f),null}catch(e){}r.textContent=f}return r}function _fazBuildRestoredIframe(e,t){for(var a=document.createElement("iframe"),r=e.getAttribute("src")||e.src,o={src:1,"data-faz-category":1,"data-fazcookie":1,"data-faz-original-type":1},n=0;n<e.attributes.length;n++){var i=e.attributes[n];o[i.name]||a.setAttribute(i.name,i.value)}return a.classList.add("faz-skip"),r&&(a.src=r),!a.hasAttribute("width")&&t&&t.offsetWidth&&(a.width=t.offsetWidth),!a.hasAttribute("height")&&t&&t.offsetHeight&&(a.height=t.offsetHeight),a}function _fazUnblockInPlace(e,t){var a=e.getAttribute("data-faz-original-type");(t||[]).concat(["data-faz-category","data-faz-service","data-faz-original-type"]).forEach(function(t){e.removeAttribute(t)}),e.setAttribute("type",a||"text/javascript"),e.setAttribute("data-faz-executed","1")}function _fazRestoreInlineScript(e,t){if("1"!==e.getAttribute("data-faz-executed")){var a=_fazBuildRestoredScript(e,t);a?(a.setAttribute("data-faz-executed","1"),e.parentNode?e.parentNode.replaceChild(a,e):(document.head||document.documentElement).appendChild(a)):_fazUnblockInPlace(e,t)}}function _fazUnblockServerSide(){document.querySelectorAll('script[type="text/plain"][data-faz-category], script[type="javascript/blocked"][data-fazcookie]').forEach(function(e){var t=e.getAttribute("data-faz-category")||(e.getAttribute("data-fazcookie")||"").replace("fazcookie-",""),a=e.getAttribute("src")||e.src||"";if(!_fazShouldBlockResource(t,a||e.textContent||"",e.getAttribute("data-faz-service")||""))if(a){if(/^data:/i.test(a)){var r=_fazDecodeDataUriPayload(a);if(!r)return;return e.removeAttribute("src"),e.textContent=r,void _fazRestoreInlineScript(e,["src","data-fazcookie"])}var o=_fazBuildRestoredScript(e);o&&e.parentNode&&e.parentNode.replaceChild(o,e)}else _fazRestoreInlineScript(e)}),document.querySelectorAll(".faz-placeholder[data-faz-category]").forEach(function(e){if(!e.classList.contains("faz-social-placeholder")){var t=e.getAttribute("data-faz-category"),a=e.querySelector("template.faz-placeholder-content");if(a&&!_fazShouldBlockResource(t,a.innerHTML||"",e.getAttribute("data-faz-service")||"")){var r=a.content.cloneNode(!0),o=e.getAttribute("data-faz-service")||"";r.querySelectorAll("iframe[data-faz-src]").forEach(function(e){var t=e.getAttribute("data-faz-src");_fazIsAllowedScheme(t)&&(e.src=t,e.getAttribute("src")&&(e.removeAttribute("data-faz-src"),e.classList.remove("faz-hidden"),o&&!e.getAttribute("data-faz-service")&&e.setAttribute("data-faz-service",o),e.classList.add("faz-skip")))}),r.querySelectorAll('script[type="text/plain"][data-faz-category]').forEach(function(e){if(e.getAttribute("src")||e.src){var t=_fazBuildRestoredScript(e);t&&e.parentNode.replaceChild(t,e)}else _fazRestoreInlineScript(e)}),e.parentNode.insertBefore(r,e),e.remove()}}}),document.querySelectorAll("iframe[data-faz-src][data-faz-category]").forEach(function(e){var t=e.getAttribute("data-faz-category"),a=e.getAttribute("data-faz-src");if(!_fazShouldBlockResource(t,a,e.getAttribute("data-faz-service")||"")&&_fazIsAllowedScheme(a)&&
1(e.src=a,e.getAttribute("src"))){e.removeAttribute("data-faz-src"),e.classList.remove("faz-hidden"),e.classList.add("faz-skip");var r=e.closest(".faz-iframe-placeholder");r&&(r.parentNode.insertBefore(e,r),r.remove())}}),document.querySelectorAll("a[data-faz-src][data-faz-lightbox-intercepted]").forEach(function(e){var t=e.getAttribute("data-faz-category")||"marketing",a=e.getAttribute("data-faz-service")||"";if(!_fazShouldBlockResource(t,e.getAttribute("data-faz-src")||"",a)){var r=e.dataset.fazLightboxPlaceholder;if(r){var o=document.getElementById(r);o&&o.remove()}e.removeAttribute("data-faz-src"),delete e.dataset.fazLightboxIntercepted,delete e.dataset.fazLightboxPlaceholder}}),document.querySelectorAll("img[data-faz-src][data-faz-category], source[data-faz-src][data-faz-category]").forEach(function(e){var t=e.getAttribute("data-faz-category"),a=e.getAttribute("data-faz-src");_fazShouldBlockResource(t,a,e.getAttribute("data-faz-service")||"")||_fazIsAllowedScheme(a)&&(e.src=a,e.getAttribute("src")&&e.removeAttribute("data-faz-src"))}),document.querySelectorAll("[data-faz-srcset]").forEach(function(e){var t=e.getAttribute("data-faz-srcset");_fazSrcsetBlockedCategory(e,t)||(e.setAttribute("srcset",t),e.removeAttribute("data-faz-srcset"),e.removeAttribute("data-faz-srcset-category"))}),document.querySelectorAll("link[data-faz-href][data-faz-category]").forEach(function(e){var t=e.getAttribute("data-faz-category"),a=e.getAttribute("data-faz-href");_fazShouldBlockResource(t,a,e.getAttribute("data-faz-service")||"")||_fazIsAllowedScheme(a)&&(e.href=a,e.getAttribute("href")&&e.removeAttribute("data-faz-href"))}),document.querySelectorAll("style[data-faz-css]").forEach(function(e){var t=_fazBase64DecodeUtf8(e.getAttribute("data-faz-css")||"");t&&!_fazCssShouldBlock(t)&&(e.removeAttribute("data-faz-css"),e.removeAttribute("data-faz-category"),e.textContent=t)}),_fazRestoreConstructableSheets(),document.querySelectorAll("script[data-faz-waitfor]").forEach(function(e){if(!_fazIsCategoryToBeBlocked(e.getAttribute("data-faz-waitfor"))&&!e.getAttribute("data-faz-loaded"))if(e.setAttribute("data-faz-loaded","1"),e.getAttribute("src")||e.src){var t=_fazBuildRestoredScript(e,["data-faz-waitfor","data-faz-loaded"]);t&&e.parentNode.replaceChild(t,e)}else _fazRestoreInlineScript(e,["data-faz-waitfor","data-faz-loaded"])}),document.querySelectorAll(".faz-social-placeholder[data-faz-category]").forEach(function(e){var t=e.getAttribute("data-faz-category"),a=e.nextElementSibling;_fazShouldBlockResource(t,a&&(a.getAttribute("src")||a.outerHTML)||"",e.getAttribute("data-faz-service")||"")||(a&&a.getAttribute("data-faz-category")===t&&(a.classList.remove("faz-hidden"),a.removeAttribute("data-faz-category")),e.remove())})}function _fazAddProviderToList(e,t){const a=e.hasAttribute("data-fazcookie")&&e.getAttribute("data-fazcookie");if(!a)return;const r=a.replace("fazcookie-","");for(const e of _fazStore._categories)if(e.isNecessary&&e.slug===r)return;const o=_fazStore._providersToBlock.find(({re:e})=>e===t);o?o.isOverridden?o.categories.includes(r)||o.categories.push(r):(o.categories=[r],o.isOverridden=!0):_fazStore._providersToBlock.push({re:t,categories:[r],fullPath:!1})}document.createElement=(...e)=>{const t=_.call(document,...e);if("script"!==t.nodeName.toLowerCase())return t;const a=t.setAttribute.bind(t);function r(){var e=t.getAttribute("type");e&&"javascript/blocked"!==e&&!t.getAttribute("data-faz-original-type")&&a("data-faz-original-type",e),a("data-faz-blocked-by-us","1")}function o(){var e=t.getAttribute("data-faz-original-type");a("type",e||"text/javascript"),t.removeAttribute("data-faz-blocked-by-us")}return Object.defineProperties(t,{src:{get:function(){var e=t.getAttribute("src");if(!e)return"";try{return new URL(e,document.baseURI).href}catch(t){return e}},set:function(e){return _fazShouldChangeType(t,e)?(r(),a("type","javascript/blocked")):t.getAttribute("data-faz-blocked-by-us")&&o(),a("src",e),!0}},type:{get:function(){return t.getAttribute("type")},set:function(e){return _fazShouldChangeType(t,void 0,e)?(e&&"javascript/blocked"!==e&&!t.getAttribute("data-faz-original-type")&&a("data-faz-original-type",e),a("data-faz-blocked-by-us","1"),a("type","javascript/blocked")):a("type",e),!0}}}),t.setAttribute=(e,n)=>{if("type"===e||"src"===e)return t[e]=n;a(e,n),"data-fazcookie"!==e&&"data-faz-category"!==e&&"data-faz-service"!==e||(_fazShouldChangeType(t)?(r(),a("type","javascript/blocked")):t.getAttribute("data-faz-blocked-by-us")&&o())},t};const g=new MutationObserver(_fazMutationObserver);function _fazCleanHostName(e){return e.replace(/^www./,"")}g.observe(document.documentElement,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["type"]});var _fazDataUriDecodeMaxBytes=65536;function _fazCanInspectDataUriMeta(e){if("string"!=typeof e)return!0;var t=e.split(";")[0].trim().toLowerCase();return!t||(0===t.indexOf("text/")||("application/javascript"===t||"application/x-javascript"===t||"application/ecmascript"===t||"image/svg+xml"===t||(-1!==t.indexOf("javascript")||-1!==t.indexOf("ecmascript")||"+xml"===t.slice(-4))))}function _fazDecodeDataUriPayload(e){if("string"!=typeof e||!/^data:/i.test(e))return"";var t=e.indexOf(",");if(-1===t)return"";var a=e.substring(5,t),r=e.substring(t+1);if(!r||!_fazCanInspectDataUriMeta(a))return"";if(_fazDataUriDecodeMaxBytes>0&&r.length>_fazDataUriDecodeMaxBytes)return"";try{var o;if(-1!==a.toLowerCase().indexOf(";base64")){try{r=decodeURIComponent(r)}catch(e){}var n=atob(r);if("undefined"!=typeof TextDecoder){for(var i=new Uint8Array(n.length),c=0;c<n.length;
1c++)i[c]=255&n.charCodeAt(c);o=new TextDecoder("utf-8",{fatal:!1}).decode(i)}else o=decodeURIComponent(n.split("").map(function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)}).join(""))}else o=decodeURIComponent(r);return _fazDataUriDecodeMaxBytes>0&&o.length>_fazDataUriDecodeMaxBytes?"":o}catch(e){return""}}function _fazGetProviderMatchTarget(e){return e&&"string"==typeof e?/^data:/i.test(e)?_fazDecodeDataUriPayload(e):e:""}function _fazHasProviderBoundary(e,t,a){if(t>0&&!/[\/\.\:\s"'`=;,(<{\[]/.test(e.charAt(t-1)))return!1;if(/[\/\.\:\?\#=&]/.test(e.charAt(t+a-1)))return!0;var r=t+a;return!(r<e.length&&!/[\/\.\:\?\#\s"'=;,&)<}\]]/.test(e.charAt(r)))}function _fazIsCategoryToBeBlocked(t){if(_fazGeoBootstrapPending()){var a=_fazStore._categories.find(function(e){return e&&e.slug===t});return!a||!a.isNecessary}const r=e._fazGetFromStore(t);return"no"===r||!r&&_fazStore._categories.some(e=>e.slug===t&&!e.isNecessary)}var _fazPatternServiceMap=null;function _fazGetPatternServiceMap(){return _fazPatternServiceMap||(_fazPatternServiceMap={},_fazStore._services?(_fazStore._services.forEach(function(e){e.patterns&&e.patterns.forEach(function(t){_fazPatternServiceMap[t]||(_fazPatternServiceMap[t]=[]),-1===_fazPatternServiceMap[t].indexOf(e.id)&&_fazPatternServiceMap[t].push(e.id)})}),_fazPatternServiceMap):_fazPatternServiceMap)}function _fazMatchingProviders(e){if(!e||"string"!=typeof e)return[];var t=_fazGetProviderMatchTarget(e);if(!t)return[];if(!_fazStore._providersToBlock||!_fazStore._providersToBlock.length)return[];var a=t.toLowerCase();return _fazStore._providersToBlock.filter(({re:e})=>{if(!e)return!1;var r=String(e).toLowerCase(),o=a.indexOf(r);return-1!==o&&!!_fazHasProviderBoundary(t,o,r.length)})}function _fazGetServiceConsentForTarget(t){if(!_fazStore._perServiceConsent)return"";var a=_fazMatchingProviders(t);if(!a.length)return"";for(var r=_fazGetPatternServiceMap(),o=!1,n=0;n<a.length;n++)for(var i=a[n].service?[a[n].service]:r[a[n].re]||[],c=0;c<i.length;c++){var s=e._fazGetFromStore("svc."+i[c]);if("no"===s)return"no";"yes"===s&&(o=!0)}return o?"yes":""}function _fazShouldBlockResource(t,a,r){if(_fazGeoBootstrapPending()){if(t)return _fazIsCategoryToBeBlocked(t);if(_fazMatchingProviders(a).length)return!0}if(_fazStore._perServiceConsent){if(r&&_fazIsRecognizedService(r)){var o=e._fazGetFromStore("svc."+r);if("no"===o)return!0;if("yes"===o)return!1}var n=_fazGetServiceConsentForTarget(a);if("no"===n)return!0;if("yes"===n)return!1}return(!_fazStore._gcmAdvanced||!_fazIsGcmManaged(a))&&(t?_fazIsCategoryToBeBlocked(t):_fazShouldBlockProvider(a))}function _fazShouldBlockProvider(e){var t=_fazMatchingProviders(e);if(!t.length)return!1;if(_fazGeoBootstrapPending())return!0;var a=_fazGetServiceConsentForTarget(e);return"yes"!==a&&("no"===a||t.some(function(e){return e.categories.some(function(e){return _fazIsCategoryToBeBlocked(e)})}))}function _fazWhitelistElementMatches(e,t){if(!e||!t||-1!==t.indexOf(".")||-1!==t.indexOf("/"))return!1;if("function"!=typeof e.getAttribute)return!1;for(var a=[e.getAttribute("id")||"",e.getAttribute("class")||""],r=t.toLowerCase(),o=/[-_]$/.test(r),n=0;n<a.length;n++)for(var i=String(a[n]).toLowerCase().split(/\s+/),c=0;c<i.length;c++){var s=i[c];if(s){if(s===r)return!0;if(o&&0===s.indexOf(r))return!0;if(!o&&(0===s.indexOf(r+"-")||0===s.indexOf(r+"_")))return!0}}return!1}function _fazIsStrictlyNecessaryScript(e){if(!e||"function"!=typeof e.getAttribute)return!1;var t=_fazStore._strictlyNecessaryScripts;if(!Array.isArray(t)||!t.length)return!1;var a=String(e.getAttribute("id")||"").toLowerCase();if(!a)return!1;for(var r=0;r<t.length;r++){var o="string"==typeof t[r]?t[r].toLowerCase():"";if(o&&(a===o||a===o+"-js"||a===o+"-js-before"||a===o+"-js-after"))return!0}return!1}function _fazIsUserWhitelisted(e,t){if("string"!=typeof e)return!1;var a=_fazStore._userWhitelist;if(!Array.isArray(a)||!a.length)return!1;for(var r=e.toLowerCase(),o=String(_fazGetProviderMatchTarget(e)||e).toLowerCase(),n=0;n<a.length;n++)if("string"==typeof a[n]&&a[n]){var i=a[n].toLowerCase();if(_fazWhitelistElementMatches(t,i))return!0;
1if(!(i.length<3||-1===i.indexOf(".")&&-1===i.indexOf("/")||-1===r.indexOf(i)&&-1===o.indexOf(i)))return!0}return!1}function _fazIsDeferredPlaceholderType(e){if(!e||"string"!=typeof e)return!1;var t=e.toLowerCase();return"litespeed/javascript"===t||"rocketlazyloadjs"===t}function _fazIsGcmManaged(e){return!!e&&((e=String(e).toLowerCase()).indexOf("googletagmanager.com/gtag/js")>-1||e.indexOf("googleadservices.com")>-1||e.indexOf("googlesyndication.com")>-1||e.indexOf("doubleclick.net")>-1)}function _fazShouldChangeType(t,a,r){if(t.classList&&t.classList.contains("faz-skip"))return!1;if(_fazIsStrictlyNecessaryScript(t))return!1;var o=a||t.src;if(_fazIsUserWhitelisted(o,t))return!1;if(_fazIsDeferredPlaceholderType("string"==typeof r?r:t.getAttribute&&t.getAttribute("type")||("string"==typeof t.type?t.type:"")))return!1;var n=t.getAttribute&&t.getAttribute("data-faz-service")||"",i="";if(t.getAttribute&&(i=(t.getAttribute("data-fazcookie")||t.getAttribute("data-faz-category")||"").replace("fazcookie-","")),!i&&n&&(i=_fazKnownServiceCategory(n)),_fazGeoBootstrapPending()){if(i&&_fazIsCategoryToBeBlocked(i))return!0;if(_fazMatchingProviders(o).length)return!0}if(_fazStore._perServiceConsent&&n&&_fazIsRecognizedService(n)){var c=e._fazGetFromStore("svc."+n);if("no"===c)return!0;if("yes"===c)return!1}return(!_fazStore._gcmAdvanced||!_fazIsGcmManaged(o))&&(i&&_fazIsCategoryToBeBlocked(i)||_fazShouldBlockProvider(o))}function _fazAttachReadMore(){const e=_fazStore._shortCodes.find(e=>"faz_readmore"===e.key);if(!e||!e.status)return;const t=e.content,a=document.querySelector('[data-faz-tag="description"]');if(!a)return;var r=_fazParseHTML("Â "+t);if(a.childNodes.length>1){const e=document.querySelector('[data-faz-tag="description"] p:last-child');e&&e.appendChild(r)}else a.appendChild(r);document.querySelectorAll('[data-faz-tag="readmore-button"]').length}function _fazAttachShowMoreLessStyles(){}function _fazAttachAlwaysActiveStyles(){}function _fazAttachManualLinksStyles(){}!function(){function e(e){if(!e||"string"!=typeof e)return"";try{var t=e.startsWith("//")?window.location.protocol+e:e;if(t=t.replace(/^wss?:\/\//i,"https://"),!/^https?:\/\//i.test(t))return"";var a=new URL(t);return _fazCleanHostName(a.hostname+a.pathname)}catch(e){return""}}if(navigator.sendBeacon){var t=navigator.sendBeacon.bind(navigator);navigator.sendBeacon=function(a,r){var o=e(a);return!(!o||_fazIsUserWhitelisted(a)||!_fazShouldBlockProvider(o))||t(a,r)}}if(window.fetch){var a=window.fetch.bind(window);window.fetch=function(t,r){var o="string"==typeof t?t:t&&t.url?t.url:"",n=e(o);return n&&!_fazIsUserWhitelisted(o)&&_fazShouldBlockProvider(n)?Promise.resolve(new Response("",{status:200,statusText:"Blocked by consent"})):a(t,r)}}var r=XMLHttpRequest.prototype.open;XMLHttpRequest.prototype.open=function(t,a){if(this._fazBlocked){try{delete this.status}catch(e){}try{delete this.readyState}catch(e){}try{delete this.responseText}catch(e){}}var o=e(a);return this._fazBlocked=!(!o||_fazIsUserWhitelisted(a)||!_fazShouldBlockProvider(o)),r.apply(this,arguments)};var o=XMLHttpRequest.prototype.send;if(XMLHttpRequest.prototype.send=function(e){return this._fazBlocked?(Object.defineProperty(this,"status",{configurable:!0,get:function(){return 200}}),Object.defineProperty(this,"readyState",{configurable:!0,get:function(){return 4}}),Object.defineProperty(this,"responseText",{configurable:!0,get:function(){return""}}),"function"==typeof this.onreadystatechange&&this.onreadystatechange(),void this.dispatchEvent(new Event("load"))):o.apply(this,arguments)},"undefined"!=typeof WebSocket){var n=window.WebSocket;window.WebSocket=function(t,a){var r=e(t);if(r&&!_fazIsUserWhitelisted(t)&&_fazShouldBlockProvider(r)){var o=Object.create(n.prototype);if(Object.defineProperty(o,"readyState",{get:function(){return 3}}),Object.defineProperty(o,"bufferedAmount",{get:function(){return 0}}),Object.defineProperty(o,"url",{get:function(){return t}}),o.send=function(){},o.close=function(){},"undefined"!=typeof EventTarget)try{var i=new EventTarget;o.addEventListener=function(e,t,a){return i.addEventListener(e,t,a)},o.removeEventListener=function(e,t,a){return i.removeEventListener(e,t,a)},o.dispatchEvent=function(e){return i.dispatchEvent(e)},setTimeout(function(){try{var e=new CloseEvent("close",{wasClean:!1,code:1001,reason:"blocked"});i.dispatchEvent(e),"function"==typeof o.onclose&&o.onclose(e)}catch(e){}},0)}catch(e){setTimeout(function(){try{"function"==typeof o.onclose&&o.onclose(new CloseEvent("close",{wasClean:!1,code:1001,reason:"blocked"}))}catch(e){}},0)}else setTimeout(function(){try{"function"==typeof o.onclose&&o.onclose(new CloseEvent("close",{wasClean:!1,code:1001,reason:"blocked"}))}catch(e){}},0);return o}return void 0!==a?new n(t,a):new n(t)},window.WebSocket.prototype=n.prototype,window.WebSocket.CONNECTING=n.CONNECTING,window.WebSocket.OPEN=n.OPEN,window.WebSocket.CLOSING=n.CLOSING,window.WebSocket.CLOSED=n.CLOSED}}();var _fazCategoriesBeforeConsent=null,_fazServicesBeforeConsent=null;function _fazAfterConsent(){if("gdpr"===_fazGetLaw()&&_fazSetPreferenceCheckBoxStates(!0),_fazUpdateServiceToggleStates(),_fazUpdateVendorCheckboxStates(),_fazStore._gtmDataLayer&&void 0!==window.dataLayer){for(var t={event:"faz_consent_update"},a=_fazStore._categories||[],r=0;r<a.length;r++)t["faz_"+a[r].slug]="yes"===e._fazGetFromStore(a[r].slug)?"granted":"denied";window.dataLayer.push(t)}_fazExecuteConsentScripts(_fazCategoriesBeforeConsent);var o=_fazCleanupRevokedCookies(),n=!1;if(_fazServicesBeforeConsent){var i={};
1(_fazStore._services||[]).forEach(function(e){e&&e.id&&(i[e.id]=e)});for(var c=Object.keys(_fazServicesBeforeConsent),s=0;s<c.length;s++){var f=c[s];if("yes"===_fazServicesBeforeConsent[f]){var l,d=i[f];if(d)l=_fazServiceEffectiveConsent(f,d.category);else{var u=_fazUndetectedProviderCategory(f);l=u?_fazServiceEffectiveConsent(f,u):e._fazGetFromStore("svc."+f)||"no"}if("no"===l){n=!0;break}}}}var z=function(){function e(e){try{var t=-1===e.indexOf("://")?"https://"+e:e.replace(/^wss?:\/\//i,"https://");return _fazCleanHostName(new URL(t).hostname)}catch(e){return""}}var t=[];return"undefined"!=typeof indexedDB&&"function"==typeof indexedDB.databases&&t.push(indexedDB.databases().then(function(t){var a=[];return t.forEach(function(t){if(t&&t.name){var r=e(t.name);r&&_fazShouldBlockProvider(r)&&a.push(new Promise(function(e){try{var a=indexedDB.deleteDatabase(t.name);a.onsuccess=e,a.onerror=e,a.onblocked=e}catch(t){e()}}))}}),Promise.all(a)}).catch(function(){})),"undefined"!=typeof caches&&"function"==typeof caches.keys&&t.push(caches.keys().then(function(t){var a=[];return t.forEach(function(t){var r=e(t);r&&_fazShouldBlockProvider(r)&&a.push(caches.delete(t).catch(function(){}))}),Promise.all(a)}).catch(function(){})),Promise.all(t)}(),p=!1;if(_fazCategoriesBeforeConsent&&_fazCategoriesBeforeConsent.length)for(var y=0;y<_fazCategoriesBeforeConsent.length;y++)if(_fazIsCategoryToBeBlocked(_fazCategoriesBeforeConsent[y])){p=!0;break}if(_fazUnblockServerSide(),o||n||p||!0===_fazStore._bannerConfig.behaviours.reloadBannerOnAccept)return _fazCategoriesBeforeConsent=null,_fazServicesBeforeConsent=null,void z.then(function(){window.location.reload()});if(_fazStore._categories.some(function(e){return!e.isNecessary&&_fazIsCategoryToBeBlocked(e.slug)})||(g.disconnect(),document.createElement=_),_fazStore._consentForwarding&&_fazStore._consentForwarding.enabled){var S=_fazStore._consentForwarding.targets||[],h=e._fazGetCookie("fazcookie-consent");h&&S.length>0&&S.forEach(function(e){if(_fazIsAllowedScheme(e)){var t=document.createElement("iframe");t.classList.add("faz-hidden"),t.classList.add("faz-consent-bridge"),t.src=e+"?faz_consent_forward=1",t.addEventListener("load",function(){try{t.contentWindow.postMessage({type:"faz_consent_forward",consent:h},new URL(e,window.location.href).origin)}catch(e){}setTimeout(function(){t.parentNode&&t.parentNode.removeChild(t)},1e3)}),document.body.appendChild(t)}})}_fazCategoriesBeforeConsent=null,_fazServicesBeforeConsent=null}function _fazDeleteCookie(e){var t=["/",window.location.pathname],a=window.location.hostname,r=_fazStore._rootDomain||"",o=["",a];if(-1!==a.indexOf(".")&&o.push("."+a),r&&-1===o.indexOf(r)&&o.push(r),r&&"."!==r.charAt(0)){var n="."+r;-1===o.indexOf(n)&&o.push(n)}for(var i=0;i<t.length;i++)for(var c=0;c<o.length;c++){var s=e+"=;expires=Thu, 01 Jan 1970 00:00:00 GMT;path="+t[i];o[c]&&(s+=";domain="+o[c]),document.cookie=s}}function _fazCleanupRevokedCookies(){var e=_fazStore._cookieCategoryMap,t=e&&"object"==typeof e;if(t||_fazStore._perServiceConsent){for(var a=["fazcookie-consent","fazVendorConsent","euconsent-v2"],r=!1,o=document.cookie.split(";"),n=0;n<o.length;n++){var i=(o[n].split("=")[0]||"").trim();if(i&&-1===a.indexOf(i)){var c=_fazGetServiceCookieDecision(i);if("no"===c||!_fazIsCookieWhitelisted(i)){var s="no"===c;if(s)r=!0;else if("yes"!==c&&t)for(var f in e){if(e.hasOwnProperty(f))if(_fazIsCategoryToBeBlocked(e[f])&&_fazCookieNameMatches(i,f)){s=!0;break}}s&&_fazDeleteCookie(i)}}}return["localStorage","sessionStorage"].forEach(function(a){try{var o=window[a];if(!o)return;for(var n=[],i=0;i<o.length;i++){var c=o.key(i);if(c&&"faz_age_verified"!==c){var s=_fazGetServiceCookieDecision(c);if("no"===s||!_fazIsCookieWhitelisted(c)){var f="no"===s;if(f)r=!0;else if("yes"!==s&&t)for(var l in e)if(e.hasOwnProperty(l)&&_fazIsCategoryToBeBlocked(e[l])&&_fazCookieNameMatches(c,l)){f=!0;break}f&&n.push(c)}}}n.forEach(function(e){o.removeItem(e)})}catch(e){}}),r}}function _fazExecuteConsentScripts(t){var a=_fazStore._cookieScripts;if(a&&"object"==typeof a)for(var r=_fazStore._categories||[],o=0;o<r.length;o++){var n=r[o].slug,i=a[n];if(i){var c=Array.isArray(t)&&-1!==t.indexOf(n),s="yes"===e._fazGetFromStore(n),f=null;!c&&s&&i.opt_in&&i.opt_in.length&&(f=i.opt_in),!s&&i.opt_out&&i.opt_out.length&&(f=i.opt_out),f&&f.forEach(function(e){_fazRunScript(e)})}}}function _fazRunScript(e){if(e&&"string"==typeof e)try{var t=document.createElement("script");t.textContent=e,document.head.appendChild(t),document.head.removeChild(t)}catch(e){}}function _fazCookieNameMatches(e,t){if(e===t)return!0;
1if(-1===t.indexOf("*"))return!1;var a=t.split("*"),r=a.length;if(a[0].length+a[r-1].length>e.length)return!1;if(""!==a[0]&&0!==e.lastIndexOf(a[0],0))return!1;if(""!==a[r-1]&&e.slice(e.length-a[r-1].length)!==a[r-1])return!1;for(var o=a[0].length,n=1;n<r-1;n++)if(""!==a[n]){var i=e.indexOf(a[n],o);if(-1===i)return!1;o=i+a[n].length}return!0}function _fazIsCookieWhitelisted(e){var t=_fazStore._whitelistedCookiePatterns;if(!Array.isArray(t)||!t.length)return!1;for(var a=0;a<t.length;a++)if("string"==typeof t[a]&&_fazCookieNameMatches(e,t[a]))return!0;return!1}function _fazAttachNoticeStyles(){}function _fazFindCheckBoxValue(t=""){const a=t?["fazSwitch","fazCategoryDirect"]:["fazCCPAOptOut"];return a.some(e=>document.getElementById(`${e}${t}`))?a.some(e=>{const a=document.getElementById(`${e}${t}`);return a&&a.checked}):t?e._fazGetFromStore&&"yes"===e._fazGetFromStore(t):!(!e._fazGetFromStore||"yes"!==e._fazGetFromStore("consent"))}function _fazAddPlaceholder(e,t){var a=e.offsetWidth,r=e.offsetHeight;if(0===a||0===r)for(var o=e.parentElement,n=0;o&&n<4&&(0===a||0===r);)o.offsetWidth>0&&(a=o.offsetWidth),o.offsetHeight>0&&(r=o.offsetHeight),o=o.parentElement,n++;var i=_fazStore._shortCodes.find(function(e){return"faz_video_placeholder"===e.key});if(i){var c=_fazParseHTML(`${i.content}`.replace("[UNIQUEID]",t));if(e.parentNode){e.parentNode.insertBefore(c,e);var s=document.getElementById(t);if(s){a>0&&(s.style.width=`${a}px`),r>0&&(s.style.height=`${r}px`),0!==a&&0!==r||"function"!=typeof requestAnimationFrame||requestAnimationFrame(function(){var e=document.getElementById(t);if(e){for(var a=0,r=e.parentElement,o=0;r&&o<4&&0===a;)r.offsetWidth>0&&(a=r.offsetWidth),r=r.parentElement,o++;a>0&&!e.style.width&&(e.style.width=`${a}px`)}});var f=document.querySelector(`#${t} .video-placeholder-text-normal`);f&&f.classList.add("faz-hidden"),_fazGetYoutubeID(e.src||"")?(s.classList.replace("video-placeholder-normal","video-placeholder-youtube"),f&&f.classList.replace("video-placeholder-text-normal","video-placeholder-text-youtube"),_fazSetPlaceHolder(s)):_fazSetPlaceHolder(s)}}}}function _fazGetYoutubeID(e){const t=e.match(/^.*(youtu\.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/);return!!(t&&Array.isArray(t)&&t[2]&&11===t[2].length)&&t[2]}function _fazSetPlaceHolder(t){const a=_fazStore._bannerConfig.config.videoPlaceholder.status,r=_fazStore._bannerConfig.config.videoPlaceholder.styles;if(!a)return;const o=(t&&"function"==typeof t.querySelectorAll?t:document).querySelectorAll('[data-faz-tag="placeholder-title"]');o.length<1||Array.from(o).forEach(t=>{t.classList.remove("faz-hidden"),t.addEventListener("click",()=>{e._fazGetFromStore("action")&&_revisitFazConsent()});for(const e in r)r[e]&&(t.style[e]=r[e])})}function _fazAddRtlClass(){if(!_fazStore._rtl)return;["notice","detail","optout-popup","revisit-consent","video-placeholder"].forEach(function(e){var t=_fazGetElementByTag(e);t&&t.classList.add("faz-rtl")})}function _fazSetFocus(e){const t=_fazGetElementByTag(e);t&&t.focus()}function _fazSetPoweredBy(){}function _fazWatchBannerElement(){document.querySelector("body").addEventListener("click",e=>{const t=".faz-banner-element, .faz-banner-element *";(e.target.matches?e.target.matches(t):e.target.msMatchesSelector(t))&&_revisitFazConsent()}),document.querySelector("body").addEventListener("click",function(e){e.target.closest(".faz-consent-trigger")&&(e.preventDefault(),_revisitFazConsent())}),document.querySelector("body").addEventListener("click",function(e){var t=e.target.closest("[data-faz-accept]");if(t){var a=t.getAttribute("data-faz-accept"),r=t.getAttribute("data-faz-accept-service");r&&_fazStore._perServiceConsent&&"function"==typeof window._fazAcceptService?window._fazAcceptService(r,a,!0):a&&"function"==typeof window._fazAcceptCategory&&window._fazAcceptCategory(a)}})}function _fazRemoveAllDeadCookies(){var t=_fazStore._perCookieConsent||_fazStore._perServiceConsent;for(const a of _fazStore._categories)(t||"yes"!==e._fazGetFromStore(a.slug))&&_fazRemoveDeadCookies(a)}function _fazClearOptoutSuccessTimers(){_fazStore._optoutSuccessCountdownInterval&&(clearInterval(_fazStore._optoutSuccessCountdownInterval),_fazStore._optoutSuccessCountdownInterval=null),_fazStore._optoutSuccessAutoCloseTimer&&(clearTimeout(_fazStore._optoutSuccessAutoCloseTimer),_fazStore._optoutSuccessAutoCloseTimer=null)}function _fazIsOptoutSuccessVisible(){const e=_fazGetElementByTag("optout-success");return!(!e||e.classList.contains("faz-hide"))}function _fazDismissOptoutSuccessCountdown(){_fazRemoveBanner(),_fazHidePreferenceCenter(),_fazAfterConsent()}function _fazShowOptoutSuccessMessage(){_fazClearOptoutSuccessTimers();const e=_fazGetElementByTag("optout-buttons"),t=_fazGetElementByTag("optout-success"),a=_fazGetElementByTag("optout-success-subtext"),r=document.getElementById("fazCCPAOptOut");if(!e||!t)return void _fazDismissOptoutSuccessCountdown();e.style.display="none",t.setAttribute("aria-live","polite"),t.classList.remove("faz-hide"),t.focu
1s(),r&&(r.disabled=!0),_fazClassAdd("=optout-option","faz-disabled",!1);const o=a&&a.querySelector("#fazCountdownTimer")||document.getElementById("fazCountdownTimer");function n(e){var t=_fazTranslate("optout_autoclose_countdown","Banner closes automatically in %d s...");return String(t).replace(/%d|\d+/,String(e))}let i=15;!a||o||_fazStore._optoutSuccessSubtextTemplate||(_fazStore._optoutSuccessSubtextTemplate=a.textContent||n(15));const c=_fazStore._optoutSuccessSubtextTemplate,s=c&&/\d+/.test(c),f=function(){a&&(o?o.textContent=String(i):a.textContent=s?c.replace(/\d+/,String(i)):n(i))};f(),_fazStore._optoutSuccessCountdownInterval=setInterval(function(){i-=1,i>=0&&f()},1e3),_fazStore._optoutSuccessAutoCloseTimer=setTimeout(_fazDismissOptoutSuccessCountdown,15e3)}function _fazResetOptoutSuccessMessage(){_fazClearOptoutSuccessTimers();const e=_fazGetElementByTag("optout-buttons"),t=_fazGetElementByTag("optout-success"),a=_fazGetElementByTag("optout-success-subtext"),r=document.getElementById("fazCCPAOptOut");e&&(e.style.display=""),t&&t.classList.add("faz-hide"),r&&(r.disabled=!1),_fazClassRemove("=optout-option","faz-disabled",!1);const o=a&&a.querySelector("#fazCountdownTimer")||document.getElementById("fazCountdownTimer");o?o.textContent="":a&&_fazStore._optoutSuccessSubtextTemplate&&(a.textContent=_fazStore._optoutSuccessSubtextTemplate),_fazStore._optoutSuccessSubtextTemplate=""}function _fazHandleOptoutConfirm(){return function(){_fazFindCheckBoxValue()?!1!==_fazAcceptCookies("custom",!0)&&_fazShowOptoutSuccessMessage():_fazAcceptReject()()}}function _fazHandleOptoutPopupClose(){if(_fazIsOptoutSuccessVisible())return e._fazSetInStore("action","yes"),void _fazDismissOptoutSuccessCountdown();_fazHidePreferenceCenter()}function _fazSetCCPAOptions(){var t=_fazStore._bannerConfig&&_fazStore._bannerConfig.config&&_fazStore._bannerConfig.config.optOption;if(!t)return;t.toggle;_fazClassRemove("=optout-option","faz-disabled",!1);const a=_fazStore._shortCodes.find(e=>"faz_optout_toggle_label"===e.key),r=_fazStore._shortCodes.find(e=>"faz_optout_option_title"===e.key);if(!a||!r)return;const o=a.content.replace("[faz_optout_option_title]",r.content),n="yes"===e._fazGetFromStore("consent");_fazSetCheckBoxInfo(document.getElementById("fazCCPAOptOut"),o,{checked:n,disabled:!1,addListeners:!0},!0)}function _fazSetCheckBoxInfo(e,t,{checked:a,disabled:r,addListeners:o},n=!1){e&&(n&&o&&_fazAttachListener("=optout-option-title",()=>e.click()),e.checked=a,e.disabled=r,_fazSetCheckBoxAriaLabel(e,a,t,n),o&&e.addEventListener("change",({currentTarget:a})=>{const r=a.checked;_fazSetCheckBoxAriaLabel(e,r,t,n)}))}function _fazRenderServiceToggles(){_fazStore._perServiceConsent&&(_fazSyncPresentServicesData(),Array.isArray(_fazStore._categories)&&_fazStore._categories.forEach(_fazBindServiceCategorySync),Array.isArray(_fazStore._services)&&_fazStore._services.length&&(_fazStore._perCookieConsent&&_fazInjectCookieToggleStyles(),_fazStore._categories.forEach(function(e){if(!e.isNecessary&&"necessary"!==e.slug){var t=document.getElementById("fazDetailCategory"+e.slug);if(t){var a=t.querySelector(".faz-accordion-body");if(a){var r=_fazStore._services.filter(function(t){return t.category===e.slug});if(r.length){var o=document.createElement("div");o.className="faz-service-list",o.setAttribute("data-faz-category",e.slug),o.setAttribute("aria-live","polite"),o.setAttribute("aria-atomic","true");var n=document.createElement("div");n.classList.add("faz-service-list-title"),n.textContent=_fazTranslate("services","Services"),o.appendChild(n),r.forEach(function(e){_fazBuildServiceRow(e,o)}),a.appendChild(o)}}}}})))}function _fazBindServiceCategorySync(e){e&&!e.isNecessary&&"necessary"!==e.slug&&["fazSwitch","fazCategoryDirect"].forEach(function(t){var a=document.getElementById(t+e.slug);a&&"1"!==a.getAttribute("data-faz-service-sync-bound")&&(a.setAttribute("data-faz-service-sync-bound","1"),a.addEventListener("change",function(){var t=a.checked;document.querySelectorAll('.faz-service-toggle[data-category="'+e.slug+'"]').forEach(function(e){e.checked=t}),_fazStore._perCookieConsent&&document.querySelectorAll('.faz-cookie-toggle[data-category="'+e.slug+'"]').forEach(function(e){e.checked=t})}))})}function _fazBuildServiceRow(t,a){if(t&&t.id&&a){var r=document.createElement("div");r.classList.add("faz-service-row");var o=document.createElement("span");o.classList.add("faz-service-row-label"),o.textContent=t.label,r.appendChild(o);var n=document.createElement("div");n.classList.add("faz-switch");var i=document.createElement("input");i.type="checkbox",i.className="faz-service-toggle",i.setAttribute("data-service",t.id),i.setAttribute("data-category",t.category),i.setAttribute("aria-label",_fazTranslate("service_consent_label","Service consent")+": "+t.label);
1var c=e._fazGetFromStore("svc."+t.id),s=e._fazGetFromStore(t.category);if(i.checked=c?"yes"===c:"yes"===s,i.addEventListener("change",function(){if(_fazStore._perCookieConsent){var e=i.checked;document.querySelectorAll('.faz-cookie-toggle[data-service="'+t.id+'"]').forEach(function(t){t.checked=e})}}),n.appendChild(i),r.appendChild(n),a.appendChild(r),_fazStore._perCookieConsent&&Array.isArray(t.cookies)&&t.cookies.length){var f=document.createElement("div");f.className="faz-cookie-list",f.setAttribute("data-faz-service",t.id);var l="faz-ck-note-"+t.id;if(t.third_party){var d=document.createElement("p");d.className="faz-cookie-list-note",d.id=l,d.setAttribute("data-faz-service",t.id),d.textContent=_fazTranslate("third_party_cookie_note","These cookies are set by the embedded service on its own domain and are controlled by allowing or blocking the embed above â they cannot be removed individually."),f.appendChild(d)}t.cookies.forEach(function(e,a){var r=document.createElement("div");r.classList.add("faz-cookie-row");var o=document.createElement("span");o.classList.add("faz-cookie-row-label"),o.textContent=e,r.appendChild(o);var n=document.createElement("div");n.classList.add("faz-switch");var i=document.createElement("input");i.type="checkbox",i.className="faz-cookie-toggle",i.setAttribute("data-cookie-index",String(a)),i.setAttribute("data-cookie-name",e),i.setAttribute("data-service",t.id),i.setAttribute("data-category",t.category),i.setAttribute("aria-label",_fazTranslate("cookie_consent_label","Cookie consent")+": "+e),i.checked="yes"===_fazCookieEffectiveConsent(t.id,t.category,e),t.third_party&&(i.disabled=!0,i.setAttribute("aria-disabled","true"),i.setAttribute("aria-describedby",l),r.classList.add("faz-cookie-row--locked")),n.appendChild(i),r.appendChild(n),f.appendChild(r)}),a.appendChild(f)}}}function _fazResolveServiceId(e,t){if(t)return t;for(var a=_fazMatchingProviders(e),r=0;r<a.length;r++)if(a[r]&&a[r].service)return a[r].service;return""}function _fazRevealService(e){if(e&&_fazStore._perServiceConsent){var t=_fazStore._serviceCatalogue;if(t&&"object"==typeof t&&(Array.isArray(_fazStore._services)||(_fazStore._services=[]),!_fazStore._services.some(function(t){return t&&t.id===e}))){var a=t[e];if(a&&a.id&&a.category){var r={id:a.id,label:a.label||a.id,category:a.category,cookies:Array.isArray(a.cookies)?a.cookies.slice():[],third_party:!!a.third_party};_fazStore._services.push(r),_fazInjectServiceToggle(r)}}}}function _fazInjectServiceToggle(e){if(e&&e.id&&e.category){var t=document.getElementById("fazDetailCategory"+e.category);if(t){var a=t.querySelector(".faz-accordion-body");if(a&&!a.querySelector('.faz-service-toggle[data-service="'+e.id+'"]')){_fazStore._perCookieConsent&&_fazInjectCookieToggleStyles();var r=a.querySelector('.faz-service-list[data-faz-category="'+e.category+'"]');if(!r){(r=document.createElement("div")).className="faz-service-list",r.setAttribute("data-faz-category",e.category),r.setAttribute("aria-live","polite"),r.setAttribute("aria-atomic","true");var o=document.createElement("div");o.classList.add("faz-service-list-title"),o.textContent=_fazTranslate("services","Services"),r.appendChild(o),a.appendChild(r)}_fazBuildServiceRow(e,r),_fazBindServiceCategorySync({slug:e.category}),"function"==typeof _fazLoopFocus&&_fazLoopFocus()}}}}function _fazSyncPresentServicesData(){if(_fazStore._perServiceConsent){var e=_fazStore._serviceCatalogue;if(e&&"object"==typeof e){Array.isArray(_fazStore._services)||(_fazStore._services=[]);var t={};document.querySelectorAll("[data-faz-service]").forEach(function(e){r(e.getAttribute("data-faz-service"))});var a=["data-src","data-lazy-src","data-lazy","data-litespeed-src","data-ll-src","data-orig-src"];document.querySelectorAll("iframe[data-src],iframe[data-lazy-src],iframe[data-lazy],iframe[data-litespeed-src],iframe[data-ll-src],iframe[data-orig-src]").forEach(function(e){for(var t=0;t<a.length;t++){var o=e.getAttribute(a[t]);if(o)for(var n=_fazMatchingProviders(o),i=0;i<n.length;i++)n[i]&&n[i].service&&r(n[i].service)}})}}function r(a){if(a&&!t[a]&&(t[a]=!0,!_fazStore._services.some(function(e){return e&&e.id===a}))){var r=e[a];r&&r.id&&r.category&&_fazStore._services.push({id:r.id,label:r.label||r.id,category:r.category,cookies:Array.isArray(r.cookies)?r.co
1okies.slice():[],third_party:!!r.third_party})}}}function _fazUpdateServiceToggleStates(){_fazStore._perServiceConsent&&_fazStore._services&&(document.querySelectorAll(".faz-service-toggle").forEach(function(t){var a=t.getAttribute("data-service"),r=t.getAttribute("data-category"),o=e._fazGetFromStore("svc."+a),n=e._fazGetFromStore(r),i=o?"yes"===o:"yes"===n;t.checked=i}),_fazStore._perCookieConsent&&document.querySelectorAll(".faz-cookie-toggle").forEach(function(e){var t=e.getAttribute("data-service"),a=e.getAttribute("data-category"),r=e.getAttribute("data-cookie-name");e.checked="yes"===_fazCookieEffectiveConsent(t,a,r)}))}function _fazInjectCookieToggleStyles(){if(!document.getElementById("faz-cookie-toggle-styles")){var e=document.createElement("style");e.id="faz-cookie-toggle-styles",e.textContent=".faz-cookie-list{margin:2px 0 8px 14px;padding-left:10px;border-left:1px solid rgba(0,0,0,.08);}.faz-cookie-list-note{margin:2px 0 6px;font-size:11px;line-height:1.4;color:inherit;opacity:.75;font-style:italic;}.faz-cookie-row--locked{opacity:.6;cursor:not-allowed;}.faz-cookie-row{display:flex;align-items:center;justify-content:space-between;padding:2px 0;}.faz-cookie-row-label{font-size:12px;color:#666;word-break:break-all;padding-right:8px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;}.faz-cookie-row .faz-switch{flex-shrink:0;transform:scale(.82);transform-origin:right center;}",document.head.appendChild(e)}}function _fazRenderVendorSection(){if(!_fazStore._iabEnabled||!_fazStore._iabVendors||!_fazStore._iabVendors.length)return;const e=document.querySelector(".faz-preference-body-wrapper")||document.querySelector(".faz-preference-wrapper")||document.querySelector(".faz-modal");if(!e)return;const t=e.querySelector(".faz-accordion-wrapper")||e.querySelector('[data-faz-tag="detail-categories"]'),a=document.createElement("div");a.classList.add("faz-iab-vendors-section"),a.classList.add("faz-iab-section");const r=document.createElement("h4");r.className="faz-preference-title",r.classList.add("faz-iab-section-heading"),r.textContent=_fazTranslate("iab_vendor_consent","IAB Vendor Consent"),a.appendChild(r);const o=document.createElement("p");o.classList.add("faz-iab-section-count"),o.textContent=_fazStore._iabVendors.length+" vendor"+(1!==_fazStore._iabVendors.length?"s":"")+" use your data for advertising and measurement purposes",a.appendChild(o);const n={};_fazStore._iabPurposes&&_fazStore._iabPurposes.forEach(function(e){n[e.id]=e.name});const i=_fazReadVendorConsent();_fazStore._iabVendors.forEach(function(e){const t=document.createElement("div");t.className="faz-accordion",t.id="fazVendor"+e.id;const r=document.createElement("div");r.className="faz-accordion-item";const o=document.createElement("div");o.className="faz-accordion-chevron";const c=document.createElement("i");c.className="faz-chevron-right",o.appendChild(c),r.appendChild(o);const s=document.createElement("div");s.className="faz-accordion-header-wrapper";const f=document.createElement("div");f.className="faz-accordion-header";const l=document.createElement("button");l.className="faz-accordion-btn",l.type="button",l.textContent=e.name,l.setAttribute("aria-label",e.name),l.setAttribute("aria-expanded","false"),f.appendChild(l);const d=document.createElement("div");d.className="faz-switch";const u=document.createElement("input");u.type="checkbox",u.id="fazVendorSwitch"+e.id,u.setAttribute("aria-label",_fazTranslate("vendor_consent_label","Vendor consent")+": "+e.name),u.checked=!0===i[e.id],d.appendChild(u),f.appendChild(d),s.appendChild(f);const z=(e.purposes||[]).map(function(e){return n[e]||"Purpose "+e}),_=(e.legIntPurposes||[]).map(function(e){return n[e]||"Purpose "+e}),g=z.length+_.length;if(g>0){const t=document.createElement("div");t.className="faz-accordion-header-des";const a=document.createElement("p");a.textContent=g+" purpose"+(1!==g?"s":"")+(e.features&&e.features.length?", "+e.features.length+" feature"+(1!==e.features.length?"s":""):""),t.appendChild(a),s.appendChild(t)}r.appendChild(s);const p="fazVendor"+e.id+"Body",y=document.createElement("div");y.className="faz-accordion-body",y.id=p,y.classList.add("faz-iab-vendor-body"),l.setAttribute("aria-controls",p);let S="";if(e.policyUrl)try{const t=new URL(e.policyUrl,window.location.origin);"http:"!==t.protocol&&"https:"!==t.protocol||(S=t.href)}catch(e){}if(S){const e=document.createElement("a");e.href=S,e.target="_blank",e.rel="noopener noreferrer",e.textContent=_fazTranslate("privacy_policy","Privacy Policy"),e.classList.add("faz-iab-privacy-link"),y.appendChild(e),y.appendChild(document.createElement("br"))}function h(e,t,a){const r=document.createElement("p");r.classList.add("faz-iab-detail");const o=document.createElement("strong");o.textContent=t+": ",r.appendChild(o),r.appendChild(document.createTextNode(a)),e.appendChild(r)}function v(){const e=t.classList.contains("faz-accordion-active");t.classList.toggle("faz-accordion-active"),l.setAttribute("aria-expanded",e?"false":"true"),e?(c.classList.remove("faz-chevron-down"),c.classList.add("faz-chevron-right")):(c.classList.remove("faz-chevron-right"),c.classList.add("faz-chevron-down"))}z.length&&h(y,_fazTranslate("iab_consent","Consent"),z.join(", ")),_.length&&h(y,_fazTranslate("iab_legitimate_interest","Legitimate Interest"),_.join(", ")),e.features&&e.features.length&&h(y,_fazTranslate("iab_features","Features"),e.features.map(function(e){return"Feature "+e}).join(", ")),null!=e.cookieMaxAgeSeconds&&h(y,_fazTranslate("iab_cookie_retention","Co
1okie retention"),Math.round(e.cookieMaxAgeSeconds/86400)+" days"),t.appendChild(r),t.appendChild(y),l.addEventListener("click",v),o.addEventListener("click",v),a.appendChild(t)}),t?t.parentNode.insertBefore(a,t.nextSibling):e.appendChild(a)}function _fazReadVendorConsent(){const e={},t=document.cookie.match(/fazVendorConsent=([^;]+)/);return t?(t[1].split(",").forEach(function(t){const a=t.split(":");2===a.length&&(e[parseInt(a[0],10)]="yes"===a[1].trim())}),e):e}function _fazUpdateVendorCheckboxStates(){if(!_fazStore._iabEnabled||!_fazStore._iabVendors||!_fazStore._iabVendors.length)return;const e=_fazReadVendorConsent();_fazStore._iabVendors.forEach(function(t){const a=document.getElementById("fazVendorSwitch"+t.id);a&&(a.checked=!0===e[t.id])})}function _fazSaveVendorConsent(e){if(!_fazStore._iabEnabled||!_fazStore._iabVendors||!_fazStore._iabVendors.length)return;const t=[];_fazStore._iabVendors.forEach(function(a){let r="no";if("all"===e)r="yes";else if("reject"===e)r="no";else{const e=document.getElementById("fazVendorSwitch"+a.id);r=e&&e.checked?"yes":"no"}t.push(a.id+":"+r)});const a=_fazStore._expiry||180,r=new Date;r.setTime(r.getTime()+24*a*60*60*1e3);let o="";_fazStore._rootDomain&&(o=";domain="+_fazStore._rootDomain);const n=t.join(",");if(n.length>3800)return void console.warn("fazVendorConsent cookie too large ("+n.length+" bytes), vendor consent may not persist reliably.");const i="https:"===location.protocol?";Secure":"";document.cookie="fazVendorConsent="+n+";expires="+r.toUTCString()+";path=/"+o+";SameSite=Lax"+i}function _fazPublicServiceConsentMap(){var e={};return _fazEachDeclaredService(function(t){t&&t.id&&!Object.prototype.hasOwnProperty.call(e,t.id)&&(e[t.id]="yes"===_fazServiceEffectiveConsent(t.id,t.category||""))}),e}function _fazEachDeclaredService(e){for(var t=[_fazStore._services,_fazStore._serviceCatalogue],a=0;a<t.length;a++){var r=t[a];if(r)if(Array.isArray(r))for(var o=0;o<r.length;o++)e(r[o]);else if("object"==typeof r)for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&e(r[n])}}function _fazExtractLightboxUrl(e){if(!e||1!==e.nodeType)return"";for(var t=["data-pswp-video-url","data-elementor-lightbox-video","data-video-url","data-youtube","data-vimeo","data-src"],a=0;a<t.length;a++){var r=e.getAttribute(t[a]);if(r)return r}return e.classList&&e.classList.contains("bricks-lightbox")?e.getAttribute("href")||"":e.classList&&e.classList.contains("et_pb_lightbox_video")&&e.getAttribute("href")||""}function _fazIsKnownVideoUrl(e){if(!e||"string"!=typeof e)return!1;try{var t=new URL(e,window.location.href);return _FAZ_VIDEO_HOST_SERVICE.hasOwnProperty(t.hostname)}catch(t){return Object.keys(_FAZ_VIDEO_HOST_SERVICE).some(function(t){return-1!==e.indexOf(t)})}}window.revisitFazConsent=()=>_revisitFazConsent(),window._fazAcceptService=function(e,t,a){if(t||(t=_fazKnownServiceCategory(e)),_fazIsRecognizedService(e)){var r=document.querySelector('.faz-service-toggle[data-service="'+e+'"][data-category="'+t+'"]'),o=null;r||((o=document.createElement("input")).type="checkbox",o.className="faz-service-toggle",o.setAttribute("data-service",e),o.setAttribute("data-category",t),o.style.display="none",document.body.appendChild(o),r=o);var n=function(){o&&o.parentNode&&o.parentNode.removeChild(o)};_fazCategoriesBeforeConsent=[];for(var i=_fazStore._categories||[],c=0;c<i.length;c++)"necessary"===i[c].slug||_fazIsCategoryToBeBlocked(i[c].slug)||_fazCategoriesBeforeConsent.push(i[c].slug);_fazServicesBeforeConsent=_fazGetServiceConsentSnapshot();var s=r.checked;if(r.checked=!0,r.dispatchEvent(new Event("change",{bubbles:!0})),!1===_fazAcceptCookies("custom"))return r.checked=s,r.dispatchEvent(new Event("change",{bubbles:!0})),n(),_fazCategoriesBeforeConsent=null,_fazServicesBeforeConsent=null,void _fazPendingAgeGatedGrants.push({type:"service",serviceId:e,categorySlug:t,trustService:a});n(),_fazRemoveBanner(),_fazHidePreferenceCenter(),_fazAfterConsent()}else console.warn('FAZ: ignoring accept for unrecognized service id "'+e+'" â not granting category to avoid silent over-consent.')},window._fazAcceptCategory=function(t){var a=!1;_fazCategoriesBeforeConsent=[],_fazServicesBeforeConsent=_fazGetServiceConsentSnapshot();for(var r=_fazStore._categories||[],o=0;o<r.length;o++)"necessary"===r[o].slug||_fazIsCategoryToBeBlocked(r[o].slug)||_fazCategoriesBeforeConsent.push(r[o].slug);var n=null,i="";for(const r of _fazStore._categories)if(r.slug===t&&!r.isNecessary){a=!0,n=r.slug,i=e._fazGetFromStore(r.slug),e._fazConsentStore.set(r.slug,"yes");var c=document.getElementById("fazSwitch"+r.slug);c&&(c.checked=!0);var s=document.getElementById("fazCategoryDirect"+r.slug);s&&(s.checked=!0),document.querySelectorAll('.faz-service-toggle[data-category="'+r.slug+'"]').forEach(function(e){e.checked=!0});break}if(!a)return _fazCategoriesBeforeConsent=null,void(_fazServicesBeforeConsent=null);if(!1===_fazAcceptCookies("custom")){if(n){e._fazConsentStore.set(n,i);var f=document.getElementById("fazSwitch"+n);f&&(f.checked="yes"===i);var l=document.getElementById("fazCategoryDirect"+n);l&&(l.checked="yes"===i),document.querySelectorAll('.faz-service-toggle[data-category="'+n+'"]').forEach(function(e){e.checked="yes"===i})}return _fazCategoriesBeforeConsent=null,_fazServicesBeforeConsent=null,void _fazPendingAgeGatedGrants.push({type:"category",categorySlug:t})}_fazRemoveBanner(),_fazHidePreferenceCenter(),_fazAfterConsent(),_fazCategoriesBeforeConsent=null,_fazServicesBeforeConsent=null},window.getFazConsent=function(){const t={activeLaw:"",categories:{},services:{},isUserActionCompleted:!1,consentID:"",languageCode:""};
1try{t.activeLaw=_fazGetLaw(),_fazStore._categories.forEach(a=>{t.categories[a.slug]="yes"===e._fazGetFromStore(a.slug)}),t.isUserActionCompleted="yes"===e._fazGetFromStore("action"),t.consentID=e._fazGetFromStore("consentid")||"",t.languageCode=_fazStore._language||"",t.services=_fazPublicServiceConsentMap()}catch(e){}return t},window.getFazCookieConsent=function(t){if(!t||"string"!=typeof t)return null;var a=null;try{_fazEachDeclaredService(function(r){if(!1!==a&&r&&r.id&&Array.isArray(r.cookies))for(var o=0;o<r.cookies.length;o++){var n=r.cookies[o];if(n&&_fazCookieNameMatches(t,n)){var i="";if(_fazStore._perCookieConsent&&(i=e._fazGetFromStore(_fazCkKey(r.id,n))),"yes"!==i&&"no"!==i&&(i=_fazServiceEffectiveConsent(r.id,r.category||"")),"no"===i)return void(a=!1);"yes"===i&&null===a&&(a=!0)}}})}catch(e){return null}return a},window.addEventListener("message",function(t){if(_fazStore._consentForwarding&&_fazStore._consentForwarding.enabled){for(var a=_fazStore._consentForwarding.targets||[],r=!1,o=0;o<a.length;o++){var n=null;try{n=new URL(a[o],window.location.href).origin}catch(e){n=null}if(null!==n&&t.origin===n){r=!0;break}}if(r&&t.data&&"faz_consent_forward"===t.data.type&&t.data.consent){var i=t.data.consent;if("string"!=typeof i||encodeURIComponent(i).length>3500)return;if(!/^[A-Za-z0-9._:+/=\-]+(,[A-Za-z0-9._:+/=\-]+)*$/.test(i))return;if(!/(?:^|,)action:yes(?:,|$)/.test(i))return;if("yes"===e._fazGetFromStore("action"))return;if(e._fazGetCookie("fazcookie-consent")===i)return;["fazVendorConsent","euconsent-v2"].forEach(_fazDeleteCookie),e._fazSetCookie("fazcookie-consent",i,_fazStore._expiry||180),window.location.reload()}}});var _FAZ_VIDEO_HOST_SERVICE={"youtube.com":"youtube","www.youtube.com":"youtube","youtu.be":"youtube","youtube-nocookie.com":"youtube","www.youtube-nocookie.com":"youtube","vimeo.com":"vimeo","www.vimeo.com":"vimeo","player.vimeo.com":"vimeo","dailymotion.com":"dailymotion","www.dailymotion.com":"dailymotion","dai.ly":"dailymotion","wistia.com":"wistia","fast.wistia.net":"wistia","fast.wistia.com":"wistia","twitch.tv":"twitch","www.twitch.tv":"twitch","player.twitch.tv":"twitch"};function _fazResolveLightboxServiceId(e,t){var a=_fazResolveServiceId(e,"");if(a)return a;try{var r=new URL(t,window.location.href);return _FAZ_VIDEO_HOST_SERVICE[r.hostname]||""}catch(e){return""}}document.addEventListener("click",function(e){for(var t=e.target,a=0,r=null;t&&a<6;){if(1===t.nodeType){var o=_fazExtractLightboxUrl(t);if(o){r={el:t,url:o};break}}t=t.parentElement,a++}if(r){var n=r.url;try{var i=new URL(r.url,window.location.href);n=_fazCleanHostName(i.hostname+i.pathname)}catch(e){}if(!_fazIsUserWhitelisted(r.url,r.el)){var c=_fazShouldBlockProvider(n),s=_fazIsKnownVideoUrl(r.url)&&_fazIsCategoryToBeBlocked("marketing");if((c||s)&&(e.preventDefault(),e.stopPropagation(),"function"==typeof e.stopImmediatePropagation&&e.stopImmediatePropagation(),!r.el.dataset.fazLightboxIntercepted)){r.el.dataset.fazLightboxIntercepted="1",r.el.setAttribute("data-faz-src",r.url);var f=_fazResolveLightboxServiceId(n,r.url);if(f){r.el.setAttribute("data-faz-service",f);var l=_fazStore._serviceCatalogue&&_fazStore._serviceCatalogue[f]&&_fazStore._serviceCatalogue[f].category||"marketing";r.el.setAttribute("data-faz-category",l),_fazRevealService(f)}try{var d="faz-lightbox-"+Math.random().toString(36).slice(2,10);_fazAddPlaceholder(r.el,d),r.el.dataset.fazLightboxPlaceholder=d}catch(e){}}}}},!0)}else console.warn("[FAZ Cookie Manager] _fazConfig is not defined â banner disabled. If you use a JS optimisation plugin (WP Rocket, LiteSpeed, etc.), exclude _fazConfig from deferral."),window.fazcookie=window.fazcookie||{};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.