PageSourceSearch

https://www.fussball-wm.pro/cache/assets/1/script_footer_static-1600103.js

js fussball-wm.pro collected 2026-09-24 23:09:22 UTC 124,758 bytes, 67 lines download raw bytes

1(()=>{"use strict";var o={40:t=>{function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(){for(var t,o,n=[],a=window,e=a;e;){try{if(e.frames.__tcfapiLocator){t=e;break}}catch(t){}if(e===a.top)break;e=e.parent}t||(function t(){var e=a.document,r=!!a.frames.__tcfapiLocator;if(!r)if(e.body){var o=e.createElement("iframe");o.style.cssText="display:none",o.name="__tcfapiLocator",e.body.appendChild(o)}else setTimeout(t,5);return!r}(),a.__tcfapi=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];if(!e.length)return n;"setGdprApplies"===e[0]?e.length>3&&2===parseInt(e[1],10)&&"boolean"==typeof e[3]&&(o=e[3],"function"==typeof e[2]&&e[2]("set",!0)):"ping"===e[0]?"function"==typeof e[2]&&e[2]({gdprApplies:o,cmpLoaded:!1,cmpStatus:"stub"}):n.push(e)},a.addEventListener("message",function(t){var o="string"==typeof t.data,e={};if(o)try{e=JSON.parse(t.data)}catch(t){}else e=t.data;var n="object"===r(e)&&null!==e?e.__tcfapiCall:null;if(n){var a=null==t?void 0:t.source;window.__tcfapi(n.command,n.version,function(t,e){var r={__tcfapiReturn:{returnValue:t,success:e,callId:n.callId}};a&&a.postMessage&&a.postMessage(o?JSON.stringify(r):r,"*")},n.parameter),a=null}},!1))}}},n={};function a(t){var e=n[t];if(void 0!==e)return e.exports;var r=n[t]={exports:{}};return o[t](r,r.exports,a),r.exports}a.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return a.d(e,{a:e}),e},a.d=(t,e)=>{for(var r in e)a.o(e,r)&&!a.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},a.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),a(40)()})();
2(function(){"use strict"})();
3(function(){function e(e){if(document.readyState==="loading"){document.addEventListener("DOMContentLoaded",e)}else{e()}}e(function(){var e=o();var t=a(e,"utm_source")&&e.utm_source==="promo";if(t&&a(e,"utm_campaign")){sessionStorage.setItem("utm_campaign",e.utm_campaign)}n()});function n(){var n=sessionStorage.getItem("utm_campaign");if(n!==null){Array.prototype.forEach.call(document.querySelectorAll('a[href*="/go/"]'),function(t){t.addEventListener("click",function(){if(!t.getAttribute("data-campaign")){var e=t.href;if(/\?/.test(e)){e+="&"}else{e+="?"}e=decodeURIComponent(e).replace(/\bweak\[[^\]]*\]=[^&]+/,"");e+="weak[]="+encodeURIComponent(n);t.setAttribute("data-campaign",n);t.href=e}})})}}function a(e,t){return typeof e[t]!=="undefined"}function o(){var e={utm_source:null,utm_campaign:null,utm_medium:null};for(var t in e){e[t]=r(t)}return e}function r(e){e=e.replace(/[[]/,"\\[").replace(/[\]]/,"\\]");var t=new RegExp("[\\?&]"+e+"=([^&#]*)");var n=t.exec(location.search);if(n!==null){n=decodeURIComponent(n[1].replace(/\+/g," "))}return n}})();
4(function(){"use strict";var e="(Chrome-Lighthouse|Googlebot|Page Speed Insights)";var t=new RegExp(e,"i");if(t.test(navigator.userAgent)){document.cookie="cookie_notice_accepted=true"}})();
5(function(){"use strict";var o="(Chrome-Lighthouse|Googlebot|Page Speed Insights)";var e=new RegExp(o,"i");if(e.test(navigator.userAgent)){document.cookie="cmplz_choice=set";document.cookie="cmplz_consent_status=allow";document.cookie="cmplz_functional=allow";document.cookie='cmplz_id=""';document.cookie="cmplz_marketing=allow";document.cookie="cmplz_policy=1";document.cookie="cmplz_preferences=allow";document.cookie="cmplz_statistics=allow";document.cookie="cmplz_statistics-anonymous=allow"}})();
6window.addEventListener("beforeinstallprompt",function(e){if(typeof ga!=="undefined"){ga("send",{hitType:"event",eventCategory:"Add to homescreen",eventAction:"displayed"})}e.userChoice.then(function(e){if(e.outcome=="dismissed"){if(typeof ga!=="undefined"){ga("send",{hitType:"event",eventCategory:"Add to homescreen",eventAction:"cancelled"})}}else{if(typeof ga!=="undefined"){ga("send",{hitType:"event",eventCategory:"Add to homescreen",eventAction:"install"})}}})});
7(function(t){"use strict"});
8! function() {
9	"use strict";
10
11	function e(e, t) {
12		let n = t.parentNode;
13		n.lastChild === t ? n.appendChild(e) : n.insertBefore(e, t.nextSibling)
14	}
15
16	function t(e, t = document) {
17		if (t.evaluate) return t.evaluate(e, t, null, 9, null).singleNodeValue;
18		e = e.replace(/^\/+/, "");
19		let n = e.split("/"),
20			l = t;
21		for (let i = 0, r = n.length; i < r && l; i += 1) {
22			let a = /([^\[\]]+)(?:\[(\d+)\])?/.exec(n[i]);
23			if (!a) return null;
24			let [, u, o] = a, f = o ? o - 1 : 0;
25			l = l.getElementsByTagName(u)[f] || null
26		}
27		return l
28	}
29
30	function n(t) {
31		if (!t) return;
32		let n = document.createDocumentFragment(),
33			l = document.createElement("span"),
34			i = document.createElement("script");
35		l.insertAdjacentHTML("beforeend", "{{HTML}}"), i.text = "{{SCRIPT}}", n.appendChild(l), n.appendChild(i), e(n, t)
36	}
37	Array.prototype.filter || (Array.prototype.filter = function(e, t) {
38		if ("function" != typeof e) throw TypeError();
39		let n = [];
40		for (let l = 0, i = this.length >>> 0; l < i; l += 1)
41			if (l in this) {
42				let r = this[l];
43				e.call(t, r, l, this) && n.push(r)
44			} return n
45	}), window.insertAfter = e, window.getElementByXPath = t, window.injectWidgetByXpath = function e(l) {
46		let i = t(l) || document.getElementById("tbdefault");
47		i && n(i)
48	}, window.injectWidgetByMarker = function e(t) {
49		let l = document.getElementById(t);
50		l && l.parentNode && n(l.parentNode)
51	}, window.innerInject = n
52}();
53var cmplz_tcf={cmp_url:"https://www.fussball-wm.pro/wp-content/uploads/sites/1/complianz/",retention_string:"Data Retention",undeclared_string:"Nicht angegeben",days_string:"days",purpose_retention_string:"Purpose-specific retention",ac_vendor_retention_string:"See vendor privacy policy",isServiceSpecific:"1",excludedVendors:{15:15,66:66,119:119,139:139,141:141,174:174,192:192,262:262,375:375,377:377,387:387,512:512,527:527,528:528,569:569,581:581,587:587,626:626,644:644,667:667,713:713,733:733,736:736,748:748,776:776,806:806,822:822,830:830,856:856,879:879,888:888,986:98
536,1022:1022,1039:1039,1094:1094,1156:1156,1199:1199,1216:1216,1252:1252,1263:1263,1282:1282,1298:1298,1305:1305,1342:1342,1343:1343,1355:1355,1365:1365,1366:1366,1368:1368,1371:1371,1373:1373,1391:1391,1423:1423,1425:1425,1440:1440,1442:1442,1482:1482,1492:1492,1496:1496,1503:1503,1508:1508,1509:1509,1510:1510,1519:1519,1529:1529,1537:1537,1541:1541,1549:1549,1550:1550,1558:1558,1564:1564,1576:1576,1579:1579,1580:1580,1589:1589,1590:1590,1594:1594,1599:1599,1600:1600,1601:1601,1602:1602,1603:1603,1606:1606,1612:1612,1613:1613,1614:1614,1616:1616,1617:1617,1645:1645},purposes:[2,3,4,5,6,7,8,9,10,11,1],specialPurposes:[1,2,3],features:[1,2,3],specialFeatures:[1,2],publisherCountryCode:"MT",lspact:"N",ccpa_applies:"",ac_mode:"",debug:"",prefix:"cmplz_"};
54(()=>{"use strict";var r,s,n,o,c,z,a,p;!function(e){e.PING="ping",e.GET_TC_DATA="getTCData",e.GET_IN_APP_TC_DATA="getInAppTCData",e.GET_VENDOR_LIST="getVendorList",e.ADD_EVENT_LISTENER="addEventListener",e.REMOVE_EVENT_LISTENER="removeEventListener"}(r||(r={})),function(e){e.STUB="stub",e.LOADING="loading",e.LOADED="loaded",e.ERROR="error"}(s||(s={})),function(e){e.VISIBLE="visible",e.HIDDEN="hidden",e.DISABLED="disabled"}(n||(n={})),function(e){e.TC_LOADED="tcloaded",e.CMP_UI_SHOWN="cmpuishown",e.USER_ACTION_COMPLETE="useractioncomplete"}(o||(o={}));class e{listenerId;callback;next;param;success=!0;constructor(e,t,s,n){Object.assign(this,{callback:e,listenerId:s,param:t,next:n});try{this.respond()}catch(e){this.invokeCallback(null)}}invokeCallback(e){const t=null!==e;"function"==typeof this.next?this.callback(this.next,e,t):this.callback(e,t)}}class i extends e{respond(){this.throwIfParamInvalid(),this.invokeCallback(new U(this.param,this.listenerId))}throwIfParamInvalid(){if(!(void 0===this.param||Array.isArray(this.param)&&this.param.every(Number.isInteger)))throw new Error("Invalid Parameter")}}class F{eventQueue=new Map;queueNumber=0;add(e){return this.eventQueue.set(this.queueNumber,e),this.queueNumber++}remove(e){return this.eventQueue.delete(e)}exec(){this.eventQueue.forEach((e,t)=>{new i(e.callback,e.param,t,e.next)})}clear(){this.queueNumber=0,this.eventQueue.clear()}get size(){return this.eventQueue.size}}class l{static apiVersion="2";static tcfPolicyVersion;static eventQueue=new F;static cmpStatus=s.LOADING;static disabled=!1;static displayStatus=n.HIDDEN;static cmpId;static cmpVersion;static eventStatus;static gdprApplies;static tcModel;static tcString;static reset(){delete this.cmpId,delete this.cmpVersion,delete this.eventStatus,delete this.gdprApplies,delete this.tcModel,delete this.tcString,delete this.tcfPolicyVersion,this.cmpStatus=s.LOADING,this.disabled=!1,this.displayStatus=n.HIDDEN,this.eventQueue.clear()}}class t{cmpId=l.cmpId;cmpVersion=l.cmpVersion;gdprApplies=l.gdprApplies;tcfPolicyVersion=l.tcfPolicyVersion}class x extends t{cmpStatus=s.ERROR}class U extends t{tcString;listenerId;eventStatus;cmpStatus;isServiceSpecific;useNonStandardTexts;publisherCC;purposeOneTreatment;outOfBand;purpose;vendor;specialFeatureOptins;publisher;constructor(e,t){if(super(),this.eventStatus=l.eventStatus,this.cmpStatus=l.cmpStatus,this.listenerId=t,l.gdprApplies){const t=l.tcModel;this.tcString=l.tcString,this.isServiceSpecific=t.isServiceSpecific,this.useNonStandardTexts=t.useNonStandardTexts,this.purposeOneTreatment=t.purposeOneTreatment,this.publisherCC=t.publisherCountryCode,this.outOfBand={allowedVendors:this.createVectorField(t.vendorsAllowed,e),disclosedVendors:this.createVectorField(t.vendorsDisclosed,e)},this.purpose={consents:this.createVectorField(t.purposeConsents),legitimateInterests:this.createVectorField(t.purposeLegitimateInterests)},this.vendor={consents:this.createVectorField(t.vendorConsents,e),legitimateInterests:this.createVectorField(t.vendorLegitimateInterests,e),disclosedVendors:this.createVectorField(t.vendorsDisclosed,e)},this.specialFeatureOptins=this.createVectorField(t.specialFeatureOptins),this.publisher={consents:this.createVectorField(t.publisherConsents),legitimateInterests:this.createVectorField(t.publisherLegitimateInterests),customPurpose:{consents:this.createVectorField(t.publisherCustomConsents),legitimateInterests:this.createVectorField(t.publisherCustomLegitimateInterests)},restrictions:this.createRestrictions(t.publisherRestrictions)}}}createRestrictions(n){const r={};if(n.numRestrictions>0){const t=n.getMaxVendorId();for(let e=1;e<=t;e++){const s=e.toString();
54n.getRestrictions(e).forEach(e=>{const t=e.purposeId.toString();r[t]||(r[t]={}),r[t][s]=e.restrictionType})}}return r}createVectorField(s,e){return e?e.reduce((e,t)=>(e[String(t)]=s.has(Number(t)),e),{}):[...s].reduce((e,t)=>(e[t[0].toString(10)]=t[1],e),{})}}class M extends U{constructor(e){super(e),delete this.outOfBand}createVectorField(e){return[...e].reduce((e,t)=>e+(t[1]?"1":"0"),"")}createRestrictions(s){const i={};if(s.numRestrictions>0){const t=s.getMaxVendorId();s.getRestrictions().forEach(e=>{i[e.purposeId.toString()]="_".repeat(t)});for(let o=0;o<t;o++){const e=o+1;s.getRestrictions(e).forEach(e=>{const t=e.restrictionType.toString(),s=e.purposeId.toString(),n=i[s].substr(0,o),r=i[s].substr(o+1);i[s]=n+t+r})}}return i}}class H extends t{cmpLoaded=!0;cmpStatus=l.cmpStatus;displayStatus=l.displayStatus;apiVersion=String(l.apiVersion);gvlVersion;constructor(){super(),l.tcModel&&l.tcModel.vendorListVersion&&(this.gvlVersion=+l.tcModel.vendorListVersion)}}class q extends e{respond(){this.invokeCallback(new H)}}class G extends i{respond(){this.throwIfParamInvalid(),this.invokeCallback(new M(this.param))}}class d extends Error{constructor(e){super(e),this.name="DecodingError"}}class u extends Error{constructor(e){super(e),this.name="EncodingError"}}
54class h extends Error{constructor(e){super(e),this.name="GVLError"}}class m extends Error{constructor(e,t,s=""){super(`invalid value ${t} passed for ${e} ${s}`),this.name="TCModelError"}}class g{static DICT="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_";static REVERSE_DICT=new Map([["A",0],["B",1],["C",2],["D",3],["E",4],["F",5],["G",6],["H",7],["I",8],["J",9],["K",10],["L",11],["M",12],["N",13],["O",14],["P",15],["Q",16],["R",17],["S",18],["T",19],["U",20],["V",21],["W",22],["X",23],["Y",24],["Z",25],["a",26],["b",27],["c",28],["d",29],["e",30],["f",31],["g",32],["h",33],["i",34],["j",35],["k",36],["l",37],["m",38],["n",39],["o",40],["p",41],["q",42],["r",43],["s",44],["t",45],["u",46],["v",47],["w",48],["x",49],["y",50],["z",51],["0",52],["1",53],["2",54],["3",55],["4",56],["5",57],["6",58],["7",59],["8",60],["9",61],["-",62],["_",63]]);static BASIS=6;static LCM=24;static encode(t){if(!/^[0-1]+$/.test(t))throw new u("Invalid bitField");const e=t.length%this.LCM;t+=e?"0".repeat(this.LCM-e):"";let s="";for(let e=0;e<t.length;e+=this.BASIS)s+=this.DICT[parseInt(t.substr(e,this.BASIS),2)];return s}static decode(s){if(!/^[A-Za-z0-9\-_]+$/.test(s))throw new d("Invalidly encoded Base64URL string");let n="";for(let t=0;t<s.length;t++){const e=this.REVERSE_DICT.get(s[t]).toString(2);n+="0".repeat(this.BASIS-e.length)+e}return n}}class f{static langSet=new Set(["AR","BG","BS","CA","CS","CY","DA","DE","EL","EN","ES","ET","EU","FI","FR","GL","HE","HI","HR","HU","ID","IS","IT","JA","KA","KO","LT","LV","MK","MS","MT","NL","NO","PL","PT-BR","PT-PT","RO","RU","SK","SL","SQ","SR-LATN","SR-CYRL","SV","SW","TH","TL","TR","UK","VI","ZH","ZH-HANT"]);has(e){return f.langSet.has(e)}parseLanguage(t){const s=(t=t.toUpperCase()).split("-")[0];if(t.length>=2&&2==s.length){if(f.langSet.has(t))return t;if(f.langSet.has(s))return s;const e=s+"-"+s;if(f.langSet.has(e))return e;for(const e of f.langSet)if(-1!==e.indexOf(t)||-1!==e.indexOf(s))return e}throw new Error(`unsupported language ${t}`)}forEach(e){f.langSet.forEach(e)}get size(){return f.langSet.size}}class v{static cmpId="cmpId";static cmpVersion="cmpVersion";static consentLanguage="consentLanguage";static consentScreen="consentScreen";static created="created";static supportOOB="supportOOB";static isServiceSpecific="isServiceSpecific";static lastUpdated="lastUpdated";static numCustomPurposes="numCustomPurposes";static policyVersion="policyVersion";static publisherCountryCode="publisherCountryCode";static publisherCustomConsents="publisherCustomConsents";static publisherCustomLegitimateInterests="publisherCustomLegitimateInterests";static publisherLegitimateInterests="publisherLegitimateInterests";static publisherConsents="publisherConsents";static publisherRestrictions="publisherRestrictions";static purposeConsents="purposeConsents";static purposeLegitimateInterests="purposeLegitimateInterests";static purposeOneTreatment="purposeOneTreatment";static specialFeatureOptins="specialFeatureOptins";static useNonStandardTexts="useNonStandardTexts";static vendorConsents="vendorConsents";static vendorLegitimateInterests="vendorLegitimateInterests";static vendorListVersion="vendorListVersion";static vendorsAllowed="vendorsAllowed";static vendorsDisclosed="vendorsDisclosed";static version="version"}class _{clone(){const s=new this.constructor;return Object.keys(this).forEach(e=>{const t=this.deepClone(this[e]);void 0!==t&&(s[e]=t)}),s}deepClone(t){const s=typeof t;if("number"===s||"string"===s||"boolean"===s)return t;if(null!==t&&"object"===s){if("function"==typeof t.clone)return t.clone();if(t instanceof Date)return new Date(t.getTime());if(void 0!==t[Symbol.iterator]){const s=[];for(const e of t)s.push(this.deepClone(e));return t instanceof Array?s:new t.constructor(s)}{const s={};for(const e in t)t.hasOwnProperty(e)&&(s[e]=this.deepClone(t[e]));return s}}}}!function(e){e[e.NOT_ALLOWED=0]="NOT_ALLOWED",e[e.REQUIRE_CONSENT=1]="REQUIRE_CONSENT",e[e.REQUIRE_LI=2]="REQUIRE_LI"}(c||(c={}));class y extends _{static hashSeparator="-";purposeId_;restrictionType;constructor(e,t){super(),void 0!==e&&(this.purposeId=e),void 0!==t&&(this.restrictionType=t)}static unHash(e){const t=e.split(this.hashSeparator),s=new y;
54if(2!==t.length)throw new m("hash",e);return s.purposeId=parseInt(t[0],10),s.restrictionType=parseInt(t[1],10),s}get hash(){if(!this.isValid())throw new Error("cannot hash invalid PurposeRestriction");return`${this.purposeId}${y.hashSeparator}${this.restrictionType}`}get purposeId(){return this.purposeId_}set purposeId(e){this.purposeId_=e}isValid(){return Number.isInteger(this.purposeId)&&this.purposeId>0&&(this.restrictionType===c.NOT_ALLOWED||this.restrictionType===c.REQUIRE_CONSENT||this.restrictionType===c.REQUIRE_LI)}isSameAs(e){return this.purposeId===e.purposeId&&this.restrictionType===e.restrictionType}}class B extends _{bitLength=0;map=new Map;gvl_;has(e){return this.map.has(e)}isOkToHave(t,s,n){let r=!0;if(this.gvl?.vendors){const e=this.gvl.vendors[n];if(e)if(t===c.NOT_ALLOWED)r=e.legIntPurposes.includes(s)||e.purposes.includes(s);else if(e.flexiblePurposes.length)switch(t){case c.REQUIRE_CONSENT:r=e.flexiblePurposes.includes(s)&&e.legIntPurposes.includes(s);break;case c.REQUIRE_LI:r=e.flexiblePurposes.includes(s)&&e.purposes.includes(s)}else r=!1;else r=!1}return r}add(t,s){if(this.isOkToHave(s.restrictionType,s.purposeId,t)){const e=s.hash;this.has(e)||(this.map.set(e,new Set),this.bitLength=0),this.map.get(e).add(t)}}restrictPurposeToLegalBasis(e){const t=Array.from(this.gvl.vendorIds),s=e.hash,n=t[t.length-1],r=[...Array(n).keys()].map(e=>e+1);if(this.has(s))for(let e=1;e<=n;e++)this.map.get(s).add(e);else this.map.set(s,new Set(r)),this.bitLength=0}getVendors(t){let s=[];if(t){const e=t.hash;this.has(e)&&(s=Array.from(this.map.get(e)))}else{const t=new Set;this.map.forEach(e=>{e.forEach(e=>{t.add(e)})}),s=Array.from(t)}return s.sort((e,t)=>e-t)}getRestrictionType(e,t){let s;return this.getRestrictions(e).forEach(e=>{e.purposeId===t&&(void 0===s||s>e.restrictionType)&&(s=e.restrictionType)}),s}vendorHasRestriction(e,t){let s=!1;const n=this.getRestrictions(e);for(let e=0;e<n.length&&!s;e++)s=t.isSameAs(n[e]);return s}getMaxVendorId(){let t=0;return this.map.forEach(e=>{t=Math.max(Array.from(e)[e.size-1],t)}),t}getRestrictions(s){const n=[];return this.map.forEach((e,t)=>{s?e.has(s)&&n.push(y.unHash(t)):n.push(y.unHash(t))}),n}getPurposes(){const s=new Set;return this.map.forEach((e,t)=>{s.add(y.unHash(t).purposeId)}),Array.from(s)}remove(e,t){const s=t.hash,n=this.map.get(s);n&&(n.delete(e),0==n.size&&(this.map.delete(s),this.bitLength=0))}set gvl(e){this.gvl_||(this.gvl_=e,this.map.forEach((t,e)=>{const s=y.unHash(e);Array.from(t).forEach(e=>{this.isOkToHave(s.restrictionType,s.purposeId,e)||t.delete(e)})}))}get gvl(){return this.gvl_}isEmpty(){return 0===this.map.size}get numRestrictions(){return this.map.size}}!function(e){e.COOKIE="cookie",e.WEB="web",e.APP="app"}(z||(z={})),function(e){e.CORE="core",e.VENDORS_DISCLOSED="vendorsDisclosed",e.VENDORS_ALLOWED="vendorsAllowed",e.PUBLISHER_TC="publisherTC"}(a||(a={}));class j{static ID_TO_KEY=[a.CORE,a.VENDORS_DISCLOSED,a.VENDORS_ALLOWED,a.PUBLISHER_TC];static KEY_TO_ID={[a.CORE]:0,[a.VENDORS_DISCLOSED]:1,[a.VENDORS_ALLOWED]:2,[a.PUBLISHER_TC]:3}}class S extends _{bitLength=0;maxId_=0;set_=new Set;*[Symbol.iterator](){for(let e=1;e<=this.maxId;e++)yield[e,this.has(e)]}values(){return this.set_.values()}get maxId(){return this.maxId_}has(e){return this.set_.has(e)}unset(e){Array.isArray(e)?e.forEach(e=>this.unset(e)):"object"==typeof e?this.unset(Object.keys(e).map(e=>Number(e))):(this.set_.delete(Number(e)),this.bitLength=0,e===this.maxId&&(this.maxId_=0,this.set_.forEach(e=>{this.maxId_=Math.max(this.maxId,e)})))}isIntMap(s){let e="object"==typeof s;return e=e&&Object.keys(s).every(e=>{let t=Number.isInteger(parseInt(e,10));return t=t&&this.isValidNumber(s[e].id),t=t&&void 0!==s[e].name,t}),e}isValidNumber(e){return parseInt(e,10)>0}isSet(e){let t=!1;return e instanceof Set&&(t=Array.from(e).every(this.isValidNumber)),t}set(e){if(Array.isArray(e))e.forEach(e=>this.set(e));else if(this.isSet(e))this.set(Array.from(e));else if(this.isIntMap(e))this.set(Object.keys(e).map(e=>Number(e)));else{if(!this.isValidNumber(e))throw new m("set()",e,"must be positive integer array, positive integer, Set<number>, or IntMap");this.set_.add(e),this.maxId_=Math.max(this.maxId,e),this.bitLength=0}}empty(){this.set_=new Set,this.maxId_=0}forEach(t){for(let e=1;e<=this.maxId;e++)t(this.has(e),e)}get size(){return this.set_.size}setAll(e){this.set(e)}}class I{static[v.cmpId]=12;static[v.cmpVersion]=12;static[v.consentLanguage]=12;static[v.consentScreen]=6;static[v.created]=36;static[v.isServiceSpecific]=1;static[v.lastUpdated]=36;static[v.policyVersion]=6;static[v.publisherCountryCode]=12;static[v.publisherLegitimateInterests]=24;static[v.publisherConsents]=24;static[v.purposeConsents]=24;static[v.purposeLegitimateInterests]=24;static[v.purposeOneTreatment]=1;static[v.specialFeatureOptins]=12;static[v.useNonStandardTexts]=1;static[v.vendorListVersion]=12;static[v.version]=6;static anyBoolean=1;static encodingType=1;static maxId=16;static numCustomPurposes=6;static numEntries=12;static numRestrictions=12;static purposeId=6;static restrictionType=2;static segmentType=3;static singleOrRange=1;static vendorId=16}class C{static encode(e,t){let s;if("string"==typeof e&&(e=parseInt(e,10)),s=e.toString(2),s.length>t||e<0)throw new u(`${e} too large to encode into ${t}`);return s.length<t&&(s="0".repeat(t-s.length)+s),s}static decode(e,t){if(t!==e.length)throw new d("invalid bit length");return parseInt(e,2)}}class Q{static encode(e,t){return C.encode(Math.round(e.getTime()/100),t)}static decode(e,t){if(t!==e.length)throw new d("invalid bit length");const s=new Date;return s.setTime(100*C.decode(e,t)),s}}class E{static encode(e){return String(Number(e))}static decode(e){return"1"===e}}class b{static encode(t,s){let n="";for(let e=1;e<=s;e++)n+=E.encode(t.has(e));return n}static decode(t,s){if(t.length!==s)throw new d("bitfield encoding length mismatch");const n=new S;for(let e=1;e<=s;e++)E.decode(t[e-1])&&n.set(e);return n.bitLength=t.length,n}}
54class ${static encode(e,t){const s=(e=e.toUpperCase()).charCodeAt(0)-65,n=e.charCodeAt(1)-65;if(s<0||s>25||n<0||n>25)throw new u(`invalid language code: ${e}`);if(t%2==1)throw new u(`numBits must be even, ${t} is not valid`);return t/=2,C.encode(s,t)+C.encode(n,t)}static decode(n,r){let o;if(r!==n.length||n.length%2)throw new d("invalid bit length for language");{const r=65,e=n.length/2,t=C.decode(n.slice(0,e),e)+r,s=C.decode(n.slice(e),e)+r;o=String.fromCharCode(t)+String.fromCharCode(s)}return o}}class W{static encode(c){let a=C.encode(c.numRestrictions,I.numRestrictions);if(!c.isEmpty()){const i=(t,s)=>{for(let e=t+1;e<=s;e++)if(c.gvl.vendorIds.has(e))return e;return t};c.getRestrictions().forEach(e=>{a+=C.encode(e.purposeId,I.purposeId),a+=C.encode(e.restrictionType,I.restrictionType);const t=c.getVendors(e),s=t.length;let n=0,r=0,o="";for(let e=0;e<s;e++){const a=t[e];if(0===r&&(n++,r=a),e===s-1||t[e+1]>i(a,t[s-1])){const c=!(a===r);o+=E.encode(c),o+=C.encode(r,I.vendorId),c&&(o+=C.encode(a,I.vendorId)),r=0}}a+=C.encode(n,I.numEntries),a+=o})}return a}static decode(n){let r=0;const o=new B,i=C.decode(n.substr(r,I.numRestrictions),I.numRestrictions);r+=I.numRestrictions;for(let e=0;e<i;e++){const i=C.decode(n.substr(r,I.purposeId),I.purposeId);r+=I.purposeId;const e=C.decode(n.substr(r,I.restrictionType),I.restrictionType);r+=I.restrictionType;const s=new y(i,e),t=C.decode(n.substr(r,I.numEntries),I.numEntries);r+=I.numEntries;for(let e=0;e<t;e++){const i=E.decode(n.substr(r,I.anyBoolean));r+=I.anyBoolean;const t=C.decode(n.substr(r,I.vendorId),I.vendorId);if(r+=I.vendorId,i){const i=C.decode(n.substr(r,I.vendorId),I.vendorId);if(r+=I.vendorId,i<t)throw new d(`Invalid RangeEntry: endVendorId ${i} is less than ${t}`);for(let e=t;e<=i;e++)o.add(e,s)}else o.add(t,s)}}return o.bitLength=r,o}}!function(e){e[e.FIELD=0]="FIELD",e[e.RANGE=1]="RANGE"}(p||(p={}));class L{static encode(s){const n=[];let r,o=[],e=C.encode(s.maxId,I.maxId),i="";const t=I.maxId+I.encodingType,c=t+s.maxId,a=2*I.vendorId+I.singleOrRange+I.numEntries;let l=t+I.numEntries;return s.forEach((e,t)=>{i+=E.encode(e),r=s.maxId>a&&l<c,r&&e&&(s.has(t+1)?0===o.length&&(o.push(t),l+=I.singleOrRange,l+=I.vendorId):(o.push(t),l+=I.vendorId,n.push(o),o=[]))}),r?(e+=String(p.RANGE),e+=this.buildRangeEncoding(n)):(e+=String(p.FIELD),e+=i),e}static decode(t,s){let n,r=0;const o=C.decode(t.substr(r,I.maxId),I.maxId);r+=I.maxId;const e=C.decode(t.charAt(r),I.encodingType);if(r+=I.encodingType,e===p.RANGE){if(n=new S,1===s){if("1"===t.substr(r,1))throw new d("Unable to decode default consent=1");r++}const o=C.decode(t.substr(r,I.numEntries),I.numEntries);r+=I.numEntries;for(let e=0;e<o;e++){const s=E.decode(t.charAt(r));r+=I.singleOrRange;const o=C.decode(t.substr(r,I.vendorId),I.vendorId);if(r+=I.vendorId,s){const s=C.decode(t.substr(r,I.vendorId),I.vendorId);r+=I.vendorId;for(let e=o;e<=s;e++)n.set(e)}else n.set(o)}}else{const s=t.substr(r,o);r+=o,n=b.decode(s,o)}return n.bitLength=r,n}static buildRangeEncoding(e){const t=e.length;let s=C.encode(t,I.numEntries);return e.forEach(e=>{const t=1===e.length;s+=E.encode(!t),s+=C.encode(e[0],I.vendorId),t||(s+=C.encode(e[1],I.vendorId))}),s}}function Y(){return{[v.version]:C,[v.created]:Q,[v.lastUpdated]:Q,[v.cmpId]:C,[v.cmpVersion]:C,[v.consentScreen]:C,[v.consentLanguage]:$,[v.vendorListVersion]:C,[v.policyVersion]:C,[v.isServiceSpecific]:E,[v.useNonStandardTexts]:E,[v.specialFeatureOptins]:b,[v.purposeConsents]:b,[v.purposeLegitimateInterests]:b,[v.purposeOneTreatment]:E,[v.publisherCountryCode]:$,[v.vendorConsents]:L,[v.vendorLegitimateInterests]:L,[v.publisherRestrictions]:W,segmentType:C,[v.vendorsDisclosed]:L,[v.vendorsAllowed]:L,[v.publisherConsents]:b,[v.publisherLegitimateInterests]:b,[v.numCustomPurposes]:C,[v.publisherCustomConsents]:b,[v.publisherCustomLegitimateInterests]:b}}class K{1={[a.CORE]:[v.version,v.created,v.lastUpdated,v.cmpId,v.cmpVersion,v.consentScreen,v.consentLanguage,v.vendorListVersion,v.purposeConsents,v.vendorConsents]};2={[a.CORE]:[v.version,v.created,v.lastUpdated,v.cmpId,v.cmpVersion,v.consentScreen,v.consentLanguage,v.vendorListVersion,v.policyVersion,v.isServiceSpecific,v.useNonStandardTexts,v.specialFeatureOptins,v.purposeConsents,v.purposeLegitimateInterests,v.purposeOneTreatment,v.publisherCountryCode,v.vendorConsents,v.vendorLegitimateInterests,v.publisherRestrictions],[a.PUBLISHER_TC]:[v.publisherConsents,v.publisherLegitimateInterests,v.numCustomPurposes,v.publisherCustomConsents,v.publisherCustomLegitimateInterests],[a.VENDORS_ALLOWED]:[v.vendorsAllowed],[a.VENDORS_DISCLOSED]:[v.vendorsDisclosed]}}class J{1=[a.CORE];2=[a.CORE];constructor(t,s){if(2===t.version)if(t.isServiceSpecific)this[2].push(a.PUBLISHER_TC),this[2].push(a.VENDORS_DISCLOSED);else{const e=!(!s||!s.isForVendors);
54e&&!0!==t[v.supportOOB]||this[2].push(a.VENDORS_DISCLOSED),e&&(t[v.supportOOB]&&t[v.vendorsAllowed].size>0&&this[2].push(a.VENDORS_ALLOWED),this[2].push(a.PUBLISHER_TC))}}}class Z{static fieldSequence=new K;static encode(r,o){let e;try{e=this.fieldSequence[String(r.version)][o]}catch(e){throw new u(`Unable to encode version: ${r.version}, segment: ${o}`)}let i="";o!==a.CORE&&(i=C.encode(j.KEY_TO_ID[o],I.segmentType));const c=Y();return e.forEach(t=>{const e=r[t],s=c[t];let n=I[t];void 0===n&&this.isPublisherCustom(t)&&(n=Number(r[v.numCustomPurposes]));try{i+=s.encode(e,n)}catch(e){throw new u(`Error encoding ${o}->${t}: ${e.message}`)}}),g.encode(i)}static decode(e,r,t){const o=g.decode(e);let i=0;t===a.CORE&&(r.version=C.decode(o.substr(i,I[v.version]),I[v.version])),t!==a.CORE&&(i+=I.segmentType);const s=this.fieldSequence[String(r.version)][t],c=Y();return s.forEach(t=>{const s=c[t];let n=I[t];if(void 0===n&&this.isPublisherCustom(t)&&(n=Number(r[v.numCustomPurposes])),0!==n){const e=o.substr(i,n);if(r[t]=s===L?s.decode(e,r.version):s.decode(e,n),Number.isInteger(n))i+=n;else{if(!Number.isInteger(r[t].bitLength))throw new d(t);i+=r[t].bitLength}}}),r}static isPublisherCustom(e){return 0===e.indexOf("publisherCustom")}}class X{static processor=[e=>e,(o,i)=>{o.publisherRestrictions.gvl=i,o.purposeLegitimateInterests.unset([1,3,4,5,6]);const e=new Map;return e.set("legIntPurposes",o.vendorLegitimateInterests),e.set("purposes",o.vendorConsents),e.forEach((n,r)=>{n.forEach((e,t)=>{if(e){const e=i.vendors[t];if(!e||e.deletedDate)n.unset(t);else if(0===e[r].length)if("legIntPurposes"===r&&0===e.purposes.length&&0===e.legIntPurposes.length&&e.specialPurposes.length>0)n.set(t);else if("legIntPurposes"===r&&e.purposes.length>0&&0===e.legIntPurposes.length&&e.specialPurposes.length>0)n.set(t);else if(o.isServiceSpecific)if(0===e.flexiblePurposes.length)n.unset(t);else{const i=o.publisherRestrictions.getRestrictions(t);let s=!1;for(let e=0,t=i.length;e<t&&!s;e++)s=i[e].restrictionType===c.REQUIRE_CONSENT&&"purposes"===r||i[e].restrictionType===c.REQUIRE_LI&&"legIntPurposes"===r;s||n.unset(t)}else n.unset(t)}})}),o}];static process(e,t){const s=e.gvl;if(!s)throw new u("Unable to encode TCModel without a GVL");if(!s.isReady)throw new u("Unable to encode TCModel tcModel.gvl.readyPromise is not resolved");(e=e.clone()).consentLanguage=s.language.slice(0,2).toUpperCase(),t?.version>0&&t?.version<=this.processor.length?e.version=t.version:e.version=this.processor.length;const n=e.version-1;if(!this.processor[n])throw new u(`Invalid version: ${e.version}`);return this.processor[n](e,s)}}class ee{static absCall(n,r,o,i){return new Promise((t,e)=>{const s=new XMLHttpRequest;s.withCredentials=o,s.addEventListener("load",()=>{if(s.readyState==XMLHttpRequest.DONE)if(s.status>=200&&s.status<300){let e=s.response;if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}t(e)}else e(new Error(`HTTP Status: ${s.status} response type: ${s.responseType}`))}),s.addEventListener("error",()=>{e(new Error("error"))}),s.addEventListener("abort",()=>{e(new Error("aborted"))}),null===r?s.open("GET",n,!0):s.open("POST",n,!0),s.responseType="json",s.timeout=i,s.ontimeout=()=>{e(new Error("Timeout "+i+"ms "+n))},s.send(r)})}static post(e,t,s=!1,n=0){return this.absCall(e,JSON.stringify(t),s,n)}static fetch(e,t=!1,s=0){return this.absCall(e,null,t,s)}}class T extends _{static LANGUAGE_CACHE=new Map;static CACHE=new Map;static LATEST_CACHE_KEY=0;static DEFAULT_LANGUAGE="EN";static consentLanguages=new f;static baseUrl_;static set baseUrl(e){if(/^https?:\/\/vendorlist\.consensu\.org\//.test(e))throw new h("Invalid baseUrl!  You may not pull directly from vendorlist.consensu.org and must provide your own cache");e.length>0&&"/"!==e[e.length-1]&&(e+="/"),this.baseUrl_=e}static get baseUrl(){return this.baseUrl_}static latestFilename="vendor-list.json";static versionedFilename="archives/vendor-list-v[VERSION].json";static languageFilename="purposes-[LANG].json";readyPromise;gvlSpecificationVersion;vendorListVersion;tcfPolicyVersion;lastUpdated;purposes;specialPurposes;features;specialFeatures;isReady_=!1;vendors_;vendorIds;fullVendorList;
54byPurposeVendorMap;bySpecialPurposeVendorMap;byFeatureVendorMap;bySpecialFeatureVendorMap;stacks;dataCategories;lang_;cacheLang_;isLatest=!1;constructor(e,t){super();let s=T.baseUrl,n=t?.language;if(n)try{n=T.consentLanguages.parseLanguage(n)}catch(e){throw new h("Error during parsing the language: "+e.message)}if(this.lang_=n||T.DEFAULT_LANGUAGE,this.cacheLang_=n||T.DEFAULT_LANGUAGE,this.isVendorList(e))this.populate(e),this.readyPromise=Promise.resolve();else{if(!s)throw new h("must specify GVL.baseUrl before loading GVL json");if(e>0){const t=e;T.CACHE.has(t)?(this.populate(T.CACHE.get(t)),this.readyPromise=Promise.resolve()):(s+=T.versionedFilename.replace("[VERSION]",String(t)),this.readyPromise=this.fetchJson(s))}else T.CACHE.has(T.LATEST_CACHE_KEY)?(this.populate(T.CACHE.get(T.LATEST_CACHE_KEY)),this.readyPromise=Promise.resolve()):(this.isLatest=!0,this.readyPromise=this.fetchJson(s+T.latestFilename))}}static emptyLanguageCache(e){let t=!1;return null==e&&T.LANGUAGE_CACHE.size>0?(T.LANGUAGE_CACHE=new Map,t=!0):"string"==typeof e&&this.consentLanguages.has(e.toUpperCase())&&(T.LANGUAGE_CACHE.delete(e.toUpperCase()),t=!0),t}static emptyCache(e){let t=!1;return Number.isInteger(e)&&e>=0?(T.CACHE.delete(e),t=!0):void 0===e&&(T.CACHE=new Map,t=!0),t}cacheLanguage(){T.LANGUAGE_CACHE.has(this.cacheLang_)||T.LANGUAGE_CACHE.set(this.cacheLang_,{purposes:this.purposes,specialPurposes:this.specialPurposes,features:this.features,specialFeatures:this.specialFeatures,stacks:this.stacks,dataCategories:this.dataCategories})}async fetchJson(e){try{this.populate(await ee.fetch(e))}catch(e){throw new h(e.message)}}getJson(){return{gvlSpecificationVersion:this.gvlSpecificationVersion,vendorListVersion:this.vendorListVersion,tcfPolicyVersion:this.tcfPolicyVersion,lastUpdated:this.lastUpdated,purposes:this.clonePurposes(),specialPurposes:this.cloneSpecialPurposes(),features:this.cloneFeatures(),specialFeatures:this.cloneSpecialFeatures(),stacks:this.cloneStacks(),...this.dataCategories?{dataCategories:this.cloneDataCategories()}:{},vendors:this.cloneVendors()}}cloneSpecialFeatures(){const t={};for(const e of Object.keys(this.specialFeatures))t[e]=T.cloneFeature(this.specialFeatures[e]);return t}cloneFeatures(){const t={};for(const e of Object.keys(this.features))t[e]=T.cloneFeature(this.features[e]);return t}cloneStacks(){const t={};for(const e of Object.keys(this.stacks))t[e]=T.cloneStack(this.stacks[e]);return t}cloneDataCategories(){const t={};for(const e of Object.keys(this.dataCategories))t[e]=T.cloneDataCategory(this.dataCategories[e]);return t}cloneSpecialPurposes(){const t={};for(const e of Object.keys(this.specialPurposes))t[e]=T.clonePurpose(this.specialPurposes[e]);return t}clonePurposes(){const t={};for(const e of Object.keys(this.purposes))t[e]=T.clonePurpose(this.purposes[e]);return t}static clonePurpose(e){return{id:e.id,name:e.name,description:e.description,...e.descriptionLegal?{descriptionLegal:e.descriptionLegal}:{},...e.illustrations?{illustrations:Array.from(e.illustrations)}:{}}}static cloneFeature(e){return{id:e.id,name:e.name,description:e.description,...e.descriptionLegal?{descriptionLegal:e.descriptionLegal}:{},...e.illustrations?{illustrations:Array.from(e.illustrations)}:{}}}static cloneDataCategory(e){return{id:e.id,name:e.name,description:e.description}}static cloneStack(e){return{id:e.id,name:e.name,description:e.description,purposes:Array.from(e.purposes),specialFeatures:Array.from(e.specialFeatures)}}static cloneDataRetention(e){return{..."number"==typeof e.stdRetention?{stdRetention:e.stdRetention}:{},purposes:{...e.purposes},specialPurposes:{...e.specialPurposes}}}static cloneVendorUrls(e){return e.map(e=>({langId:e.langId,privacy:e.privacy,...e.legIntClaim?{legIntClaim:e.legIntClaim}:{}}))}static cloneVendor(e){return{id:e.id,name:e.name,purposes:Array.from(e.purposes),legIntPurposes:Array.from(e.legIntPurposes),flexiblePurposes:Array.from(e.flexiblePurposes),specialPurposes:Array.from(e.specialPurposes),features:Array.from(e.features),specialFeatures:Array.from(e.specialFeatures),...e.overflow?{overflow:{httpGetLimit:e.overflow.httpGetLimit}}:{},..."number"==typeof e.cookieMaxAgeSeconds||null===e.cookieMaxAgeSeconds?{cookieMaxAgeSeconds:e.cookieMaxAgeSeconds}:{},...void 0!==e.usesCookies?{usesCookies:e.usesCookies}:{},...e.policyUrl?{policyUrl:e.policyUrl}:{},...void 0!==e.cookieRefresh?{cookieRefresh:e.cookieRefresh}:{},...void 0!==e.usesNonCookieAccess?{usesNonCookieAccess:e.usesNonCookieAccess}:{},...e.dataRetention?{dataRetention:this.cloneDataRetention(e.dataRetention)}:{},...e.urls?{urls:this.cloneVendorUrls(e.urls)}:{},...e.dataDeclaration?{dataDeclaration:Array.from(e.dataDeclaration)}:{},...e.deviceStorageDisclosureUrl?{deviceStorageDisclosureUrl:e.deviceStorageDisclosureUrl}:{},...e.deletedDate?{deletedDate:e.deletedDate}:{}}}cloneVendors(){const t={};for(const e of Object.keys(this.fullVendorList))t[e]=T.cloneVendor(this.fullVendorList[e]);return t}async changeLanguage(e){let t=e;try{t=T.consentLanguages.parseLanguage(e)}catch(e){throw new h("Error during parsing the language: "+e.message)}const s=e.toUpperCase();if((t.toLowerCase()!==T.DEFAULT_LANGUAGE.toLowerCase()||T.LANGUAGE_CACHE.has(s))&&t!==this.lang_)if(this.lang_=t,T.LANGUAGE_CACHE.has(s)){const e=T.LANGUAGE_CACHE.get(s);for(const t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}else{const e=T.baseUrl+T.languageFilename.replace("[LANG]",this.lang_.toLowerCase());try{await this.fetchJson(e),this.cacheLang_=s,this.cacheLanguage()}catch(e){throw new h("unable to load language: "+e.message)}}}get language(){return this.lang_}isVendorList(e){return void 0!==e&&void 0!==e.vendors}populate(e){this.purposes=e.purposes,this.specialPurposes=e.specialPurposes,this.features=e.features,this.specialFeatures=e.specialFeatures,this.stacks=e.stacks,this.dataCategories=e.dataCategories,this.isVendorList(e)&&(this.gvlSpecificationVersion=e.gvlSpecificationVersion,this.tcfPolicyVersion=e.tcfPolicyVersion,this.vendorListVersion=e.vendorListVersion,this.lastUpdated=e.lastUpdated,"string"==typeof this.lastUpdated&&(this.lastUpdated=new Date(this.lastUpdated)),this.vendors_=e.vendors,this.fullVendorList=e.vend
54ors,this.mapVendors(),this.isReady_=!0,this.isLatest&&T.CACHE.set(T.LATEST_CACHE_KEY,this.getJson()),T.CACHE.has(this.vendorListVersion)||T.CACHE.set(this.vendorListVersion,this.getJson())),this.cacheLanguage()}mapVendors(e){this.byPurposeVendorMap={},this.bySpecialPurposeVendorMap={},this.byFeatureVendorMap={},this.bySpecialFeatureVendorMap={},Object.keys(this.purposes).forEach(e=>{this.byPurposeVendorMap[e]={legInt:new Set,consent:new Set,flexible:new Set}}),Object.keys(this.specialPurposes).forEach(e=>{this.bySpecialPurposeVendorMap[e]=new Set}),Object.keys(this.features).forEach(e=>{this.byFeatureVendorMap[e]=new Set}),Object.keys(this.specialFeatures).forEach(e=>{this.bySpecialFeatureVendorMap[e]=new Set}),Array.isArray(e)||(e=Object.keys(this.fullVendorList).map(e=>+e)),this.vendorIds=new Set(e),this.vendors_=e.reduce((e,t)=>{const s=this.vendors_[String(t)];return s&&void 0===s.deletedDate&&(s.purposes.forEach(e=>{this.byPurposeVendorMap[String(e)].consent.add(t)}),s.specialPurposes.forEach(e=>{this.bySpecialPurposeVendorMap[String(e)].add(t)}),s.legIntPurposes.forEach(e=>{this.byPurposeVendorMap[String(e)].legInt.add(t)}),s.flexiblePurposes&&s.flexiblePurposes.forEach(e=>{this.byPurposeVendorMap[String(e)].flexible.add(t)}),s.features.forEach(e=>{this.byFeatureVendorMap[String(e)].add(t)}),s.specialFeatures.forEach(e=>{this.bySpecialFeatureVendorMap[String(e)].add(t)}),e[t]=s),e},{})}getFilteredVendors(e,t,s,n){const r=e.charAt(0).toUpperCase()+e.slice(1);let o;const i={};return o="purpose"===e&&s?this["by"+r+"VendorMap"][String(t)][s]:this["by"+(n?"Special":"")+r+"VendorMap"][String(t)],o.forEach(e=>{i[String(e)]=this.vendors[String(e)]}),i}getVendorsWithConsentPurpose(e){return this.getFilteredVendors("purpose",e,"consent")}getVendorsWithLegIntPurpose(e){return this.getFilteredVendors("purpose",e,"legInt")}getVendorsWithFlexiblePurpose(e){return this.getFilteredVendors("purpose",e,"flexible")}getVendorsWithSpecialPurpose(e){return this.getFilteredVendors("purpose",e,void 0,!0)}getVendorsWithFeature(e){return this.getFilteredVendors("feature",e)}getVendorsWithSpecialFeature(e){return this.getFilteredVendors("feature",e,void 0,!0)}get vendors(){return this.vendors_}narrowVendorsTo(e){this.mapVendors(e)}get isReady(){return this.isReady_}clone(){const e=new T(this.getJson());return this.lang_!==T.DEFAULT_LANGUAGE&&e.changeLanguage(this.lang_),e}static isInstanceOf(e){return"object"==typeof e&&"function"==typeof e.narrowVendorsTo}}class V extends _{static consentLanguages=T.consentLanguages;isServiceSpecific_=!1;supportOOB_=!0;useNonStandardTexts_=!1;purposeOneTreatment_=!1;publisherCountryCode_="AA";version_=2;consentScreen_=0;policyVersion_=5;consentLanguage_="EN";cmpId_=0;cmpVersion_=0;vendorListVersion_=0;numCustomPurposes_=0;gvl_;created;lastUpdated;specialFeatureOptins=new S;purposeConsents=new S;purposeLegitimateInterests=new S;publisherConsents=new S;publisherLegitimateInterests=new S;publisherCustomConsents=new S;publisherCustomLegitimateInterests=new S;customPurposes;vendorConsents=new S;vendorLegitimateInterests=new S;vendorsDisclosed=new S;vendorsAllowed=new S;publisherRestrictions=new B;constructor(e){super(),e&&(this.gvl=e),this.updated()}set gvl(e){T.isInstanceOf(e)||(e=new T(e)),this.gvl_=e,this.publisherRestrictions.gvl=e}get gvl(){return this.gvl_}set cmpId(e){if(e=Number(e),!(Number.isInteger(e)&&e>1))throw new m("cmpId",e);this.cmpId_=e}get cmpId(){return this.cmpId_}set cmpVersion(e){if(e=Number(e),!(Number.isInteger(e)&&e>-1))throw new m("cmpVersion",e);this.cmpVersion_=e}get cmpVersion(){return this.cmpVersion_}set consentScreen(e){if(e=Number(e),!(Number.isInteger(e)&&e>-1))throw new m("consentScreen",e);this.consentScreen_=e}get consentScreen(){return this.consentScreen_}set consentLanguage(e){this.consentLanguage_=e}get consentLanguage(){return this.consentLanguage_}set publisherCountryCode(e){if(!/^([A-z]){2}$/.test(e))throw new m("publisherCountryCode",e);this.publisherCountryCode_=e.toUpperCase()}get publisherCountryCode(){return this.publisherCountryCode_}
54set vendorListVersion(e){if((e=0|Number(e))<0)throw new m("vendorListVersion",e);this.vendorListVersion_=e}get vendorListVersion(){return this.gvl?this.gvl.vendorListVersion:this.vendorListVersion_}set policyVersion(e){if(this.policyVersion_=parseInt(e,10),this.policyVersion_<0)throw new m("policyVersion",e)}get policyVersion(){return this.gvl?this.gvl.tcfPolicyVersion:this.policyVersion_}set version(e){this.version_=parseInt(e,10)}get version(){return this.version_}set isServiceSpecific(e){this.isServiceSpecific_=e}get isServiceSpecific(){return this.isServiceSpecific_}set useNonStandardTexts(e){this.useNonStandardTexts_=e}get useNonStandardTexts(){return this.useNonStandardTexts_}set supportOOB(e){this.supportOOB_=e}get supportOOB(){return this.supportOOB_}set purposeOneTreatment(e){this.purposeOneTreatment_=e}get purposeOneTreatment(){return this.purposeOneTreatment_}setAllVendorConsents(){this.vendorConsents.set(this.gvl.vendors)}unsetAllVendorConsents(){this.vendorConsents.empty()}setAllVendorsDisclosed(){this.vendorsDisclosed.set(this.gvl.vendors)}unsetAllVendorsDisclosed(){this.vendorsDisclosed.empty()}setAllVendorsAllowed(){this.vendorsAllowed.set(this.gvl.vendors)}unsetAllVendorsAllowed(){this.vendorsAllowed.empty()}setAllVendorLegitimateInterests(){this.vendorLegitimateInterests.set(this.gvl.vendors)}unsetAllVendorLegitimateInterests(){this.vendorLegitimateInterests.empty()}setAllPurposeConsents(){this.purposeConsents.set(this.gvl.purposes)}unsetAllPurposeConsents(){this.purposeConsents.empty()}setAllPurposeLegitimateInterests(){this.purposeLegitimateInterests.set(this.gvl.purposes)}unsetAllPurposeLegitimateInterests(){this.purposeLegitimateInterests.empty()}setAllSpecialFeatureOptins(){this.specialFeatureOptins.set(this.gvl.specialFeatures)}unsetAllSpecialFeatureOptins(){this.specialFeatureOptins.empty()}setAll(){this.setAllVendorConsents(),this.setAllPurposeLegitimateInterests(),this.setAllSpecialFeatureOptins(),this.setAllPurposeConsents(),this.setAllVendorLegitimateInterests()}unsetAll(){this.unsetAllVendorConsents(),this.unsetAllPurposeLegitimateInterests(),this.unsetAllSpecialFeatureOptins(),this.unsetAllPurposeConsents(),this.unsetAllVendorLegitimateInterests()}get numCustomPurposes(){let t=this.numCustomPurposes_;if("object"==typeof this.customPurposes){const e=Object.keys(this.customPurposes).sort((e,t)=>Number(e)-Number(t));t=parseInt(e.pop(),10)}return t}set numCustomPurposes(e){if(this.numCustomPurposes_=parseInt(e,10),this.numCustomPurposes_<0)throw new m("numCustomPurposes",e)}updated(){const e=new Date,t=new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()));this.created=t,this.lastUpdated=t}}class O{static encode(n,e){let r,o="";return n=X.process(n,e),r=Array.isArray(e?.segments)?e.segments:new J(n,e)[""+n.version],r.forEach((e,t)=>{let s="";t<r.length-1&&(s="."),o+=Z.encode(n,e)+s}),o}static decode(e,n){const r=e.split("."),o=r.length;n||(n=new V);for(let s=0;s<o;s++){const o=r[s],e=g.decode(o.charAt(0)).substr(0,I.segmentType),t=j.ID_TO_KEY[C.decode(e,I.segmentType).toString()];Z.decode(o,n,t)}return n}}class te extends e{respond(){const e=l.tcModel,t=e.vendorListVersion;let s;void 0===this.param&&(this.param=t),s=this.param===t&&e.gvl?e.gvl:new T(this.param),s.readyPromise.then(()=>{this.invokeCallback(s.getJson())})}}class se extends i{respond(){this.listenerId=l.eventQueue.add({callback:this.callback,param:this.param,next:this.next}),super.respond()}}class ne extends e{respond(){this.invokeCallback(l.eventQueue.remove(this.param))}}class A{static[r.PING]=q;static[r.GET_TC_DATA]=i;static[r.GET_IN_APP_TC_DATA]=G;static[r.GET_VENDOR_LIST]=te;static[r.ADD_EVENT_LISTENER]=se;static[r.REMOVE_EVENT_LISTENER]=ne}class re{static set_=new Set([0,2,void 0,null]);static has(e){return"string"==typeof e&&(e=Number(e)),this.set_.has(e)}}const w="__tcfapi";class oe{callQueue;customCommands;constructor(t){if(t){let e=r.ADD_EVENT_LISTENER;if(t?.[e])throw new Error(`Built-In Custom Commmand for ${e} not allowed: Use ${r.GET_TC_DATA} instead`);if(e=r.REMOVE_EVENT_LISTENER,t?.[e])throw new Error(`Built-In Custom Commmand for ${e} not allowed`);t?.[r.GET_TC_DATA]&&(t[r.ADD_EVENT_LISTENER]=t[r.GET_TC_DATA],t[r.REMOVE_
54EVENT_LISTENER]=t[r.GET_TC_DATA]),this.customCommands=t}try{this.callQueue=window[w]()||[]}catch(e){this.callQueue=[]}finally{window[w]=this.apiCall.bind(this),this.purgeQueuedCalls()}}apiCall(e,t,s,...n){if("string"!=typeof e)s(null,!1);else if(re.has(t)){if("function"!=typeof s)throw new Error("invalid callback function");l.disabled?s(new x,!1):this.isCustomCommand(e)||this.isBuiltInCommand(e)?this.isCustomCommand(e)&&!this.isBuiltInCommand(e)?this.customCommands[e](s,...n):e===r.PING?this.isCustomCommand(e)?new A[e](this.customCommands[e],n[0],null,s):new A[e](s,n[0]):void 0===l.tcModel?this.callQueue.push([e,t,s,...n]):this.isCustomCommand(e)&&this.isBuiltInCommand(e)?new A[e](this.customCommands[e],n[0],null,s):new A[e](s,n[0]):s(null,!1)}else s(null,!1)}purgeQueuedCalls(){const e=this.callQueue;this.callQueue=[],e.forEach(e=>{window[w](...e)})}isCustomCommand(e){return this.customCommands&&"function"==typeof this.customCommands[e]}isBuiltInCommand(e){return void 0!==A[e]}}class ie{callResponder;isServiceSpecific;numUpdates=0;constructor(e,t,s=!1,n){this.throwIfInvalidInt(e,"cmpId",2),this.throwIfInvalidInt(t,"cmpVersion",0),l.cmpId=e,l.cmpVersion=t,l.tcfPolicyVersion=5,this.isServiceSpecific=!!s,this.callResponder=new oe(n)}throwIfInvalidInt(e,t,s){if(!("number"==typeof e&&Number.isInteger(e)&&e>=s))throw new Error(`Invalid ${t}: ${e}`)}update(e,t=!1){if(l.disabled)throw new Error("CmpApi Disabled");l.cmpStatus=s.LOADED,t?(l.displayStatus=n.VISIBLE,l.eventStatus=o.CMP_UI_SHOWN):void 0===l.tcModel?(l.displayStatus=n.DISABLED,l.eventStatus=o.TC_LOADED):(l.displayStatus=n.HIDDEN,l.eventStatus=o.USER_ACTION_COMPLETE),l.gdprApplies=null!==e,l.gdprApplies?(""===e?(l.tcModel=new V,l.tcModel.cmpId=l.cmpId,l.tcModel.cmpVersion=l.cmpVersion):l.tcModel=O.decode(e),l.tcModel.isServiceSpecific=this.isServiceSpecific,l.tcfPolicyVersion=Number(l.tcModel.policyVersion),l.tcString=e):l.tcModel=null,0===this.numUpdates?this.callResponder.purgeQueuedCalls():l.eventQueue.exec(),this.numUpdates++}disable(){l.disabled=!0,l.cmpStatus=s.ERROR}}const ce=1===cmplz_tcf.isServiceSpecific,ae=["sq","ar","eu","bg","bs","ca","cs","cy","da","de","el","es","et","fi","fr","gl","he","hi","hr","hu","id","is","it","ja","ka","ko","lt","lv","mk","ms","mt","nl","no","pl","pt-br","pt-pt","ro","ru","sk","sl","sr-cyrl","sr-latn","sv","sw","th","tl","tr","uk","vi","zh","zh-hant"],le={"nb-no":"no","pt-br":"pt-br","pt-pt":"pt-pt",pt:"pt-pt","zh-hant":"zh-hant","zh-tw":"zh-hant","zh-hk":"zh-hant","sr-cyrl":"sr-cyrl","sr-latn":"sr-latn",sr:"sr-cyrl"},pe=ae.length,de=document.documentElement.lang.length?document.documentElement.lang.toLowerCase():"en";let P,k="en";if(void 0!==le[de])k=le[de];else for(let e=0;e<pe;e++){const s=ae[e];if(-1===s.indexOf("-")&&0===de.indexOf(s)){k=s;break}}let ue=[],R=[];const he=cmplz_tcf.ac_mode,me=null!==document.getElementById("cmplz-tcf-us-vendor-container"),ge=cmplz_tcf.cmp_url+"cmp/vendorlist/additional-consent-providers.csv";let fe,ve,_e,ye,Se,Ie=cmplz_tcf.cmp_url+"cmp/vendorlist/purposes-"+k+".json";function Ce(e){if("undefined"==typeof document)return"";const t="undefined"!=typeof complianz?complianz.prefix:"cmplz_",s=("; "+document.cookie).split("; "+t+e+"=");return 2===s.length?s.pop().split(";").shift():""}function D(e,t,s){document.addEventListener(e,e=>{e.target.closest(t)&&s(e)})}function N(e){return null===e.offsetParent}ae.includes(k)||(k="en",Ie=cmplz_tcf.cmp_url+"cmp/vendorlist/vendor-list.json");const Ee=new Promise(function(e){fe=e}),be=new Promise(function(e){ve=e}),Le=new Promise(function(e){_e=e}),Ae=new Promise(function(e){ye=e}),we=new Promise(function(e){Se=e}),ze=he?fetch(ge).then(e=>e.text()).then(e=>{const t=e.split("\n");t.shift(),R=t.map(e=>{if(0===e.length)return null;const[t,s,n,r]=function(e){const t=/"(.*?)"|([^,]+)/g,s=[];let n;for(;null!==(n=t.exec(e));)s.push(n[1]||n[2]);return s}(e);return{id:parseInt(t),name:s,policyUrl:n,domains:r,consent:0}}),R=R.filter(e=>null!==e)}).catch(e=>{cmplz_tcf.debug&&console.log("Error loading AC vendors:",e)}):Promise.resolve(),Te=fetch(Ie,{method:"GET"}).then(e=>e.json()).then(e=>{P=e}).catch(e=>{cmplz_tcf.debug&&console.log("Error loading purposes:",e)});Promise.all([ze,Te]).then(()=>{_e()}),document.addEventListener("wp_consent_type_defined",function(){fe()}),document.addEventListener("cmplz_cookie_warning_loaded",function(){complianz.disable_cookiebanner||ye()}),document.addEventListener("cmplz_revoke",function(e){const t=e.detail;Se(t)}),Ee.then(()=>{}),Le.then(()=>{const t=S(),n=window.localStorage.getItem("cmplz_ac_string");T.baseUrl=cmplz_tcf.cmp_url+"cmp/vendorlist",ue=P.dataCategories;const e=new T(P);let r=null;e.changeLanguage(k).then(()=>e.readyPromise).then(()=>{r=e.clone()});let f=new V(e);f.publisherCountryCode=cmplz_tcf.publisherCountryCode,f.cmpId=332,f.cmpVersion=1,f.isServiceSpecific=ce,f.policyVersion=5,f.UseNonStandardStacks=0,f.useNonStandardStacks=!1,f.useNonStandardTexts=!1,f.purposeOneTreatment=!1;const o=new ie(332,1,ce,{getTCData:(e,s,t)=>{s&&"object"==typeof s&&(n&&(s.addtlConsent=n,s.enableAdvertiserConsentMode=!(0===R.length||void 0===R[0].consent)),f.vend
54orsDisclosed&&(s.vendorsDisclosed={},Array.from(f.vendorsDisclosed).forEach(e=>{const t=parseInt(e,10);isNaN(t)||(s.vendorsDisclosed[t]=!0)})),s.policyVersion=f.policyVersion||5,s.useNonStandardStacks=f.useNonStandardStacks||!1,s.useNonStandardTexts=f.useNonStandardTexts||!1,s.purposeOneTreatment=f.purposeOneTreatment||!1),e(s,t)}});function s(){a(),function(){f.setAllVendorLegitimateInterests();for(const t in f.gvl.vendors){const e=f.gvl.vendors[t];0===e.legIntPurposes.length&&0===e.specialPurposes.length&&f.vendorLegitimateInterests.unset(e.id)}}(),f.setAllPurposeLegitimateInterests();for(const e in cmplz_tcf.purposes)f.purposeConsents.set(cmplz_tcf.purposes[e]),p("purpose_legitimate_interest",cmplz_tcf.purposes[e]);f.setAllSpecialFeatureOptins();for(const e in cmplz_tcf.specialFeatures)f.specialFeatureOptins.set(cmplz_tcf.specialFeatures[e]),p("specialfeature",cmplz_tcf.specialFeatures[e]);f.setAllPurposeConsents();for(const e in cmplz_tcf.purposes)f.purposeConsents.set(cmplz_tcf.purposes[e]),p("purpose_consent",cmplz_tcf.purposes[e]);f.setAllVendorConsents(),document.querySelectorAll(".cmplz-tcf-input").forEach(e=>{e.checked=!0}),I(f,h()),cmplz_set_cookie("banner-status","dismissed")}function g(e){c(),f.unsetAllPurposeLegitimateInterests(),function(){f.unsetAllVendorLegitimateInterests();for(const t in f.gvl.vendors){const e=f.gvl.vendors[t];0===e.legIntPurposes.length&&0===e.purposes.length&&0===e.flexiblePurposes.length&&0===e.specialFeatures.length&&0!==e.specialPurposes.length&&f.vendorLegitimateInterests.set(e.id)}}(),f.unsetAllSpecialFeatureOptins();for(const e in cmplz_tcf.specialFeatures)f.specialFeatureOptins.unset(cmplz_tcf.specialFeatures[e]),d("specialfeature",cmplz_tcf.specialFeatures[e]);for(const e in cmplz_tcf.purposes)f.purposeConsents.set(cmplz_tcf.purposes[e]),d("purpose_consent",cmplz_tcf.purposes[e]);f.unsetAllVendorConsents(),document.querySelectorAll(".cmplz-tcf-input").forEach(e=>{e.disabled||(e.checked=!1)}),I(f,h()),e&&location.reload()}f.gvl.readyPromise.then(()=>{const e=function(e){let t=Object.values(e).map(e=>e.id),s=m("purposes",e,cmplz_tcf.purposes);t=t.filter(e=>s.includes(e)),s=m("specialPurposes",e,cmplz_tcf.specialPurposes),t=t.filter(e=>s.includes(e)),s=m("features",e,cmplz_tcf.features),t=t.filter(e=>s.includes(e)),s=m("specialFeatures",e,cmplz_tcf.specialFeatures),t=t.filter(e=>s.includes(e));const n=Object.keys(cmplz_tcf.excludedVendors).map(function(e){return cmplz_tcf.excludedVendors[e]});return t=t.filter(e=>!n.includes(e)),t}(f.gvl.getJson().vendors);if(f.gvl.narrowVendorsTo(e),t&&"string"==typeof t&&t.length>0)try{f=O.decode(t,f),f.vendorsDisclosed||(f.vendorsDisclosed=new Set,cmplz_tcf.debug&&console.log("TCF v2.2: Upgraded v2.0 TC String, initialized disclosed vendors")),void 0===f.useNonStandardStacks&&(f.useNonStandardStacks=!1),void 0===f.useNonStandardTexts&&(f.useNonStandardTexts=!1),void 0===f.purposeOneTreatment&&(f.purposeOneTreatment=!1),I(f,h()),R=i(n,R)}catch(e){cmplz_tcf.debug&&(console.error("TCF: Error decoding TC String:",e),console.log("TCF: Clearing invalid TC String, user will need to re-consent")),localStorage.cmplz_tcf_consent&&localStorage.removeItem("cmplz_tcf_consent")}else cmplz_tcf.debug&&console.log("TCF: No stored consent found, waiting for user choice");ve()}),Promise.all([Ee,be]).then(()=>{if(function(c){const a=document.getElementById("cmplz-tcf-vendor-container");if(null===a)return;a.innerHTML="";const l=document.getElementById("cmplz-tcf-vendor-template").innerHTML,p=w(P.purposes,cmplz_tcf.purposes),d=w(P.specialPurposes,cmplz_tcf.specialPurposes),u=w(P.features,cmplz_tcf.features),h=w(P.specialFeatures,cmplz_tcf.specialFeatures);y("purpose_consent",p,"statistics"),y("purpose_consent",p,"marketing"),y("purpose_legitimate_interest",p,"statistics"),y("purpose_legitimate_interest",p,"marketing"),y("feature",u,!1),y("specialpurpose",d,!1),y("specialfeature",h,!1),0===h.length&&(document.getElementById("cmplz-tcf-specialfeatures-wrapper").style.display="none");for(const d in c)if(c.hasOwnProperty(d)){let e=l;const g=c[d];f.vendorsDisclosed&&f.vendorsDisclosed.set(g.id);const u=g.purposes.concat(g.legIntPurposes);let s="";for(const c in u)if(u.hasOwnProperty(c)){const a=u[c];let t=!1;for(const c in p)if(p.hasOwnProperty(c)&&p[c].id===a){t=p[c].name;const f=g.dataRetention&&g.dataRetention.hasOwnProperty("stdRetention")?g.dataRetention.stdRetention:null;let e=g.dataRetention&&g.dataRetention.hasOwnProperty(a)?g.dataRetention[a]:f;void 0===e&&(e=cmplz_tcf.undeclared_string),s+='<div class="cmplz-tcf-purpose"><a href="https://cookiedatabase.org/tcf/'+t.replace(/ /g,"-").replace(/\//g,"-").toLowerCase()+'" target="_blank" rel="noopener noreferrer nofollow">'+t+"</a>| "+cmplz_tcf.retention_string+": "+e+"</div>"}}const h=A(g,ue),m=Math.round(g.cookieMaxAgeSeconds/86400);cmplz_tcf.debug&&console.log(g),e=e.replace(/{cookie_retention_seconds}/g,g.cookieMaxAgeSeconds),e=e.replace(/{cookie_retention_days}/g,m),e=e.replace(/{vendor_name}/g,g.name),e=e.replace(/{vendor_categories}/g,h),e=e.replace(/{vendor_id}/g,g.id),e=e.replace(/{purposes}/g,s);let t=!1,n=!1;g.urls.hasOwnProperty(0)&&(t=g.urls[0].privacy,n=g.urls[0].legIntClaim,t&&(e=e.replace(/{privacy_policy}/g,t)),n&&(e=e.replace(/{legitimate_interest}/g,n)));const r=L(g,p);e=e.replace(/{data_retention}/g,r);const o=document.createElement("div");o.innerHTML=e;const i=o.firstChild;i.querySelector(".cmplz-tcf-vendor-input").checked=f.vendorConsents.has(g.id)||f.vendorLegitimateInterests.has(g.id),i.querySelector(".cmplz-tcf-vendor-input").setAttribute("data-vendor_id",g.id),i.querySelector(".cmplz-tcf-consent-input").checked=f.vendorConsents.has(g.id),i.querySelector(".cmplz-tcf-consent-input").setAttribute("data-vendor_id",g.id),0!==g.legIntPurposes.length&&(i.querySelector(".cmplz_tcf_legitimate_interest_checkbox").style.display="block",i.querySelector(".cmplz-tcf-legitimate-interest-input").setAttribute("data-vendor_id",g.id),i.querySelector(".cmplz-tcf-legitimate-interest-input").checked=f.vendorLegitimateInterests.has(g.id)),n||(i.querySelector(".cmplz-tcf-legint-link").style.display="none",i.querySelector(".cmplz-tcf-legint-link").classList.add("not-available")),g.usesNonCookieAccess?o.querySelector(".non-cookie-storage-active").style.display="block":o.querySelector(".non-cookie-storage-inactive").style.display="block",g.cookieRefresh?o.querySelector(".non-cookie-refresh-active").style.display="block":o.querySelector(".non-cookie-refresh-inactive").style.display="block",g.cookieMaxAgeSeconds<=0?o.querySelector(".session-storage").style.display="block":g.cookieMaxAgeSeconds<=86400?o.querySelector(".retention_seconds").style.display="block":o.querySelector(".retention_days").style.display="block";const y=document.createDocumentFragment();i.classList.add("cmplz-vendortype-tcf"),y.appendChild(i),a.appendChild(i)}for(const c in R)if(R.hasOwnProperty(c)){let e=l;const d=R[c];f.vendorsDisclosed&&f.vendorsDisclosed.set(d.id),e=e.replace(/{vendor_name}/g,d.name),e=e.replace(/{vendor_id}/g,d.id),e=e.replace(/{privacy_policy}/g,d.policyUrl),e=e.replace(/{vendor_categories}/g,cmplz_tcf.undeclared_string);const s='<div class="cmplz-data-retention"><strong>'+cmplz_tcf.retention_string+":</strong> "+cmplz_tcf.ac_vendor_retention_string+"</div>";e=e.replace(/{data_retention}/g,s);const g=document.createElement("div");g.innerHTML=e;const u=g.firstChild;u.querySelector(".cmplz-tcf-vendor-input").checked=1===d.consent,u.querySelector(".cmplz-tcf-vendor-input").setAttribute("data-ac_vendor_id",d.id),u.querySelector(".cmplz-tcf-consent-input").checked=1===d.consent,u.querySelector(".cmplz-tcf-consent-input").setAttribute("data-ac_vendor_id",d.id);const v=document.createDocumentFragment();u.classList.add("cmplz-vendortype-ac"),v.appendChild(u),a.appendChild(u)}function m(e){const t=e.querySelector(".cmplz-tcf-consent-input"),s=e.querySelector(".cmplz-tcf-legitimate-interest-input"),n=e.querySelector(".cmplz_tcf_legitimate_interest_checkbox"),r=e.querySelector(".cmplz-tcf-vendor-input"),o=!!t&&t.checked,i=!(!n||N(n)||!s)&&s.checked;r.checked=o||i}D("click",".cmplz-tcf-legitimate-interest-input",function(e){const t=e.target,s=parseInt(t.getAttribute("data-vendor_id")),n=t.closest(".cmplz-tcf-vendor-container");t.checked?f.vendorLegitimateInterests.set(s):f.vendorLegitimateInterests.unset(s),m(n),I(f,!0),cmplz_set_cookie("banner-status","dismissed")}),D("click",".cmplz-tcf-consent-input",function(e){const t=e.target,s=parseInt(t.getAttribute("data-vendor_id")),n=t.closest(".cmplz-tcf-vendor-container");s&&(t.checked?f.vendorConsents.set(s):f.vendorConsents.unset(s),m(n));const r=parseInt(t.getAttribute("data-ac_vendor_id"));r&&(t.checked?(_(r),n.querySelector(".cmplz-tcf-vendor-input").checked=!0):(v(r),n.querySelector(".cmplz-tcf-vendor-input").checked=!1)),I(f,!0),cmplz_set_cookie("banner-status","dismissed")}),D("click",".cmplz-tcf-vendor-input",function(e){const t=e.target,s=parseInt(t.getAttribute("data-vendor_id")),n=parseInt(t.getAttribute("data-ac_vendor_id")),r=t.closest(".cmplz-tcf-vendor-container");
54s?t.checked?(f.vendorConsents.set(s),f.vendorLegitimateInterests.set(s),r.querySelector(".cmplz-tcf-legitimate-interest-input").checked=!0,r.querySelector(".cmplz-tcf-consent-input").checked=!0):(f.vendorConsents.unset(s),f.vendorLegitimateInterests.unset(s),r.querySelector(".cmplz-tcf-legitimate-interest-input").checked=!1,r.querySelector(".cmplz-tcf-consent-input").checked=!1):n&&(t.checked?(_(n),r.querySelector(".cmplz-tcf-consent-input").checked=!0):(v(n),r.querySelector(".cmplz-tcf-consent-input").checked=!1)),I(f,!0),cmplz_set_cookie("banner-status","dismissed")}),D("click",".cmplz-tcf-toggle-info",function(e){const t=e.target;e.preventDefault(),N()?t.style.display="block":t.style.display="none"}),D("click",".cmplz-tcf-toggle-vendor",function(e){const t=e.target;e.preventDefault();const s=t.closest(".cmplz-tcf-vendor-container").querySelector(".cmplz-tcf-info");N(s)?(t.classList.add("cmplz-tcf-rl"),t.classList.remove("cmplz-tcf-rm"),s.style.display="block"):(t.classList.add("cmplz-tcf-rm"),t.classList.remove("cmplz-tcf-rl"),s.style.display="none")}),D("click","#cmplz-tcf-selectall",function(){for(const t in c)if(c.hasOwnProperty(t)){const e=c[t];f.vendorConsents.set(e.id),document.querySelector("#cmplz-tcf-"+e.id).checked=!0}document.querySelectorAll("[data-vendor_id]").forEach(e=>{e.checked=!0}),s()}),D("click","#cmplz-tcf-deselectall",function(){for(const t in c)if(c.hasOwnProperty(t)){const e=c[t];f.vendorConsents.unset(e.id),document.querySelector("#cmplz-tcf-"+e.id).checked=!1}g(!0)});const e=new CustomEvent("cmplz_vendor_container_loaded",{detail:complianz.region});document.dispatchEvent(e)}(f.gvl.vendors),"optin"===complianz.consenttype){cmplz_tcf.debug&&console.log(f);const e=new Date;Date.parse(f.created)<e.getTime()-31536e6?I(null,h()):I(f,h())}else cmplz_tcf.debug&&console.log("not an optin tcf region"),I(null,!1)}),Promise.all([Ae,be,Le]).then(()=>{!function(){if(!b(complianz.region))return;if("optin"===complianz.consenttype){const n=E("marketing",!1),r=E("statistics",!1),o=w(w(P.purposes,cmplz_tcf.purposes),n),e=w(w(P.purposes,cmplz_tcf.purposes),r),f=w(P.features,cmplz_tcf.features),t=w(P.specialPurposes,cmplz_tcf.specialPurposes),s=w(P.specialFeatures,cmplz_tcf.specialFeatures);0===f.length&&(document.querySelector(".cmplz-tcf .cmplz-features").style.display="none"),0===t.length&&(document.querySelector(".cmplz-tcf .cmplz-specialpurposes").style.display="none"),0===s.length&&(document.querySelector(".cmplz-tcf .cmplz-specialfeatures").style.display="none"),0===e.length&&(document.querySelector(".cmplz-tcf .cmplz-statistics").style.display="none"),document.querySelector(".cmplz-tcf .cmplz-statistics .cmplz-description").innerHTML=z(e),document.querySelector(".cmplz-tcf .cmplz-marketing .cmplz-description").innerHTML=z(o),document.querySelector(".cmplz-tcf .cmplz-features .cmplz-description").innerHTML=z(f),document.querySelector(".cmplz-tcf .cmplz-specialfeatures .cmplz-title").innerHTML=z(s),document.querySelector(".cmplz-tcf .cmplz-specialpurposes .cmplz-title").innerHTML=z(t)}const n=document.querySelectorAll(".cmplz-manage-vendors.tcf");if(n){let t="optin"===complianz.consenttype?f.gvl.vendorIds.size:"";he&&"optin"===complianz.consenttype&&(t+=R.length),n.forEach(e=>{e.innerHTML=e.innerHTML.replace("{vendor_count}",t)})}const r=document.getElementById("cmplz-tcf-wrapper"),o=document.getElementById("cmplz-tcf-wrapper-nojavascript");r&&(r.style.display="block",o.style.display="none")}()}),we.then(e=>{b(complianz.region)&&g(e)}),document.addEventListener("cmplz_fire_categories",function(e){"optin"===complianz.consenttype&&cmplz_in_array("marketing",e.detail.categories)&&s()});const i=(e,t)=>{const s=l(e);t.forEach(e=>{s.includes(e.id)&&(e.consent=1)});const n=new Set(Object.values(f.gvl.vendors).map(e=>e.name));return t.filter(e=>!n.has(e.name))},v=t=>{R.forEach(e=>{parseInt(e.id)===t&&(e.consent=0)})},c=()=>{R.forEach(e=>{e.consent=0})},a=()=>{R.forEach(e=>{e.consent=1})},_=t=>{R.forEach(e=>{parseInt(e.id)===t&&(e.consent=1)})},l=e=>e&&0!==e.length?e.split("~")[1].split(".").map(e=>parseInt(e)):[];function p(t,s){if("purpose_consent"===t){f.purposeConsents.set(s);for(const t in f.gvl.vendors){const e=f.gvl.vendors[t];r.vendors[e.id].purposes.includes(s)&&!e.purposes.includes(s)&&f.gvl.vendors[e.id].purposes.push(s)}}if("purpose_legitimate_interest"===t){f.purposeLegitimateInterests.set(s);for(const t in f.gvl.vendors){const e=f.gvl.vendors[t];r.vendors[e.id].purposes.includes(s)&&!e.purposes.includes(s)&&f.gvl.vendors[e.id].purposes.push(s)}}if("specialfeature"===t){f.specialFeatureOptins.set(s);for(const t in f.gvl.vendors){const e=f.gvl.vendors[t];r.vendors[e.id].specialFeatures.includes(s)&&!e.specialFeatures.includes(s)&&f.gvl.vendors[e.id].specialFeatures.push(s)}}if("feature"===t)for(const t in f.gvl.vendors){const e=f.gvl.vendors[t];r.vendors[e.id].features.includes(s)&&!e.features.includes(s)&&f.gvl.vendors[e.id].features.push(s)}}function d(s,n){if("purpose_consent"===s){f.purposeConsents.unset(n);for(const s in f.gvl.vendors){const e=f.gvl.vendors[s],t=e.purposes.indexOf(n);t>-1&&f.gvl.vendors[e.id].purposes.splice(t,1)}}if("purpose_legitimate_interest"===s){f.purposeLegitimateInterests.unset(n);for(const s in f.gvl.vendors){const e=f.gvl.vendors[s],t=e.legIntPurposes.indexOf(n);t>-1&&f.gvl.vendors[e.id].legIntPurposes.splice(t,1)}}if("specialfeature"===s){f.specialFeatureOptins.unset(n);for(const s in f.gvl.vendors){const e=f.gvl.vendors[s],t=e.specialFeatures.indexOf(n);t>-1&&f.gvl.vendors[e.id].specialFeatures.splice(t,1)}}if("feature"===s)for(const s in f.gvl.vendors){const e=f.gvl.vendors[s],t=e.features.indexOf(n);t>-1&&f.gvl.vendors[e.id].features.splice(t,1)}}function u(e,t,s,n,r){const{name:o,description:i,id:c,illustrations:a}=t,l=a&&a.hasOwnProperty(0)?a[0]:"",p=function(t,s,n){const r=[];for(const t in s)for(const e in n)if(s[t].purposes.includes(n[""+e])){r.push(s[t].id);break}return r}(0,f.gvl.vendors,[c]).length,d=i.split("*").join(", "),u=document.getElementById("cmplz-tcf-type-template").innerHTML.replace(/{type_name}/g,o).replace(/{type_count}/g,p).replace(/{type_description}/g,d).replace(/{type_id}/g,c).replace(/{type_example}/g,l).replace(/{type}/g,e),h=document.createElement("div");h.innerHTML=u;const m=h.firstChild,g=m.querySelector(`.cmplz-tcf-${e}-input`);g.checked=n,g.disabled=r,g.setAttribute(`data-${e}_id`,c),s.appendChild(m)}function y(r,e,t){let n,o=r;!1!==t&&(o=t+"-"+o,n=E(t,!1));const i=document.getElementById("cmplz-tcf-"+o+"s-container");if(null!==i){i.innerHTML="";for(const o in e)if(e.hasOwnProperty(o)){const s=e[o];
54if(!t||n.includes(s.id)){let e=!1,t=!1;"purpose_consent"===r&&(e=f.purposeConsents.has(s.id)),"purpose_legitimate_interest"===r&&(e=f.purposeLegitimateInterests.has(s.id)),"specialfeature"===r&&(e=f.specialFeatureOptins.has(s.id)),"feature"!==r&&"specialpurpose"!==r||(e=t=!0),u(r,s,i,e,t)}}D("click",".cmplz-tcf-"+r+"-input",function(e){const t=e.target,s=parseInt(t.getAttribute("data-"+r+"_id")),n=t.checked;document.querySelectorAll("[data-"+r+'_id="'+s+'"]').forEach(e=>{e.checked=n}),"purpose_consent"===r&&f.purposeConsents[n?"set":"unset"](s),"purpose_legitimate_interest"===r&&f.purposeLegitimateInterests[n?"set":"unset"](s),"specialfeature"===r&&f.specialFeatureOptins[n?"set":"unset"](s),n?p(r,s):d(r,s),function(){for(const t in f.gvl.vendors){const e=f.gvl.vendors[t];0===e.legIntPurposes.length&&0===e.specialPurposes.length&&f.vendorLegitimateInterests.unset(e.id),0===e.legIntPurposes.length&&0===e.purposes.length&&0===e.flexiblePurposes.length&&0===e.specialFeatures.length&&0!==e.specialPurposes.length&&f.vendorLegitimateInterests.set(e.id)}}(),I(f,!0),cmplz_set_cookie("banner-status","dismissed")}),D("click",".cmplz-tcf-toggle",function(e){const t=e.target;e.preventDefault();const s=t.closest("label").querySelector(".cmplz-tcf-type-description");N(s)?(t.classList.add("cmplz-tcf-rl"),t.classList.remove("cmplz-tcf-rm"),s.style.display="block"):(t.classList.add("cmplz-tcf-rm"),t.classList.remove("cmplz-tcf-rl"),s.style.display="none")})}}function h(){let e=!0;"dismissed"===Ce("banner-status")&&(e=!1);const t=null!==document.getElementById("cmplz-tcf-vendor-container");return e||t}function m(t,s,n){const r=[];for(const e of Object.values(s)){const s=e[t];Object.values(s).every(e=>n.includes(e))&&r.push(e.id)}return r}function S(){const e=Ce("policy_id");return(!e||"undefined"!=typeof complianz&&complianz.current_policy_id!==e)&&localStorage.cmplz_tcf_consent&&localStorage.removeItem("cmplz_tcf_consent"),window.localStorage.getItem("cmplz_tcf_consent")}function I(e,t){!function(){if(0===R.length||void 0===R[0].consent)return;let e="1~";const t=R.filter(e=>1===e.consent);0!==t.length?(e+=t.map(e=>e.id).join("."),window.localStorage.setItem("cmplz_ac_string",e)):localStorage.cmplz_ac_string&&localStorage.removeItem("cmplz_ac_string")}();let s=null;e&&(e.created=C(e.lastUpdated),e.lastUpdated=C(e.lastUpdated),e.vendorsDisclosed||(e.vendorsDisclosed=new Set),void 0===e.useNonStandardStacks&&(e.useNonStandardStacks=!1),void 0===e.useNonStandardTexts&&(e.useNonStandardTexts=!1),void 0===e.purposeOneTreatment&&(e.purposeOneTreatment=!1),s=O.encode(e)),o.update(s,t),window.localStorage.setItem("cmplz_tcf_consent",s)}function C(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate())}function E(e,t){return"functional"===e||"preferences"===e?[]:"marketing"===e?t?[1,2,3,4,5,6,7,8,9,10,11]:[1,2,3,4,5,6,10,11]:"statistics"===e?[1,7,8,9]:[]}function b(e){return!!cmplz_in_array(e,complianz.tcf_regions)}function L(t,s){if(!t.dataRetention)return'<div class="cmplz-data-retention"><strong>'+cmplz_tcf.retention_string+":</strong> "+cmplz_tcf.undeclared_string+"</div>";const n=t.dataRetention.stdRetention||cmplz_tcf.undeclared_string;let r='<div class="cmplz-data-retention">';if(r+="<strong>"+cmplz_tcf.retention_string+":</strong> ",n===cmplz_tcf.undeclared_string?r+=n:r+=n+" "+cmplz_tcf.days_string,t.dataRetention.purposes&&Object.keys(t.dataRetention.purposes).length>0){r+="<br><strong>"+cmplz_tcf.purpose_retention_string+":</strong>",r+='<ul class="cmplz-retention-list">';for(const[n,e]of Object.entries(t.dataRetention.purposes)){const t=s.find(e=>e.id===parseInt(n));t&&(r+="<li>"+t.name+": "+e+" "+cmplz_tcf.days_string+"</li>")}r+="</ul>"}return r+="</div>",r}function A(s,n){if(!s.dataDeclaration||0===s.dataDeclaration.length)return cmplz_tcf.undeclared_string;const r=[];for(const t in s.dataDeclaration)if(s.dataDeclaration.hasOwnProperty(t)){const e=s.dataDeclaration[t];for(const s in n)if(n.hasOwnProperty(s)&&n[s].id===e){r.push(n[s].name);break}}return r.length>0?r.join(", "):cmplz_tcf.undeclared_string}function w(t,s){const n=[];for(const e in t)(s.includes(""+t[e].id)||s.includes(t[e].id))&&n.push(t[e]);return n}function z(t){let s="";const n=t.length-1;for(const e in t)t.hasOwnProperty(e)&&(s+=t[e].name,s+=e<n?", ":".");return s}D("click",".cmplz-manage-consent",function(){const e=S();o.update(e,!0)})});let Ve;const Oe=new Promise(function(e){Ve=e}),Pe=cmplz_tcf.cmp_url+"cmp/vendorlist/lspa.json";let ke;Ee.then(()=>
54{"optout"===complianz.consenttype||me?(fetch(Pe,{method:"GET"}).then(e=>e.json()).then(function(e){ke=e,Ve()}),cmplz_tcf.ccpa_applies?(cmplz_set_cookie("usprivacy","1YN"+cmplz_tcf.lspact,!1),document.addEventListener("cmplz_fire_categories",function(e){let t="1YY"+cmplz_tcf.lspact;cmplz_in_array("marketing",e.detail.categories)&&(t="1YN"+cmplz_tcf.lspact),cmplz_set_cookie("usprivacy",t,!1)})):cmplz_set_cookie("usprivacy","1---"+cmplz_tcf.lspact,!1),Oe.then(()=>{const i=ke.signatories,c=document.getElementById("cmplz-tcf-us-vendor-container");if(null===c)return;c.innerHTML="";const a=document.getElementById("cmplz-tcf-vendor-template").innerHTML;for(const o in i)if(i.hasOwnProperty(o)){let e=a;const t=i[o];e=e.replace(/{vendor_name}/g,t.signatoryLegalName);let s=!0;-1===t.optoutUrl.indexOf("http")?(s=!1,e=e.replace(/{optout_string}/g,t.optoutUrl)):e=e.replace(/{optout_url}/g,t.optoutUrl);const n=document.createElement("div");n.innerHTML=e;const r=n.firstChild;s?(r.querySelector(".cmplz-tcf-optout-string").style.display="none",r.querySelector(".cmplz-tcf-optout-url").style.display="block"):(r.querySelector(".cmplz-tcf-optout-string").style.display="block",r.querySelector(".cmplz-tcf-optout-url").style.display="none"),document.createDocumentFragment().appendChild(r),c.appendChild(r)}document.querySelector("#cmplz-tcf-wrapper").style.display="block",document.querySelector("#cmplz-tcf-wrapper-nojavascript").style.display="none"})):cmplz_tcf.debug&&console.log("not an optout tcf region or page")}),document.addEventListener("cmplz_dnsmpi_submit",function(){cmplz_tcf.debug&&console.log("fire data deletion request for TCF"),__uspapi("performDeletion",1)})})();
55(()=>{let o='"Twemoji Mozilla","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji","EmojiOne Color","Android Emoji",sans-serif';function r(e,t,n){return e.clearRect(0,0,100,100),e.fillStyle=n,e.fillText(t,0,0),e.getImageData(0,0,1,1).data.join(",")}function e(e){(n=document.createElement("canvas")).width=n.height=1,(n=n.getContext("2d",{willReadFrequently:!0})).textBaseline="top",n.font="100px "+o,n.scale(.01,.01);var t=r(n,e,"#fff"),n=r(n,e,"#000");return n===t&&!n.startsWith("0,0,0,")}var t,n,c,i,a,s,[u="Twemoji Country Flags",d="https://cdn.jsdelivr.net/npm/[email protected]/dist/TwemojiCountryFlags.woff2"]=[];if(typeof window<"u"&&e("😊")&&!e("🇨🇭"))(t=document.createElement("style")).textContent=`@font-face {
56      font-family: "${u}";
57      unicode-range: U+1F1E6-1F1FF, U+1F3F4, U+E0062-E0063, U+E0065, U+E0067,
58        U+E006C, U+E006E, U+E0073-E0074, U+E0077, U+E007F;
59      src: url('${d}') format('woff2');
60      font-display: swap;
61    }`,document.head.appendChild(t);function l(){var e=document.querySelector(".submenu-opened");e&&(e.classList.remove("submenu-opened"),document.querySelector(".menu-active").classList.remove("menu-active"))}document.querySelector(".header__menu-button--search")&&document.querySelector(".header__menu-button--search").addEventListener("click",function(){document.body.classList.add("open-search"),document.querySelector(".header__search-field").focus()}),document.querySelector(".header__search-box")&&document.querySelector(".header__search-box").addEventListener("click",function(e){e.target.classList.contains("header__search-box")&&document.body.classList.remove("open-search")}),document.querySelector(".header__menu-button--menu")&&document.querySelector(".header__menu-button--menu").addEventListener("click",function(){document.body.classList.add("open-menu")}),document.querySelector(".header__navigation")&&document.querySelector(".header__navigation").addEventListener("click",function(e){!e.target.classList.contains("header__navigation")&&"header__menu"!==e.target.className||(document.body.classList.remove("open-menu"),l()),e.target.classList.contains("submenu-opened")&&l()}),document.querySelector(".menu-item-has-children")&&Array.prototype.forEach.call(document.querySelectorAll(".menu-item-has-children"),function(t){t.addEventListener("click",function(e){"A"!==e.target.tagName&&(t.parentElement.classList.add("submenu-opened"),t.classList.add("menu-active"))})}),c=window.banderoleDomEl||document.querySelector(".banderole__container"),Array.prototype.forEach.call(document.querySelectorAll('.banderole__item:not([class*="banderole-bookie"])'),function(n){function t(){var e=new Date,t=new Date(n.getAttribute("data-match-date"));new Date(t.getTime()+144e5)<e&&n.classList.add("banderole__item-disabled")}t(),function e(){setTimeout(function(){t(),e()},3e4)}()}),c&&c.scrollWidth>c.clientWidth&&(n=!1,document.querySelector(".banderole__arrow-left").addEventListener("mousedown",function(){n=!0,c.scrollLeft-=10,function e(){setTimeout(function(){c.scrollLeft-=10,n&&e()},100)}()}),document.querySelector(".banderole__arrow-left").addEventListener("mouseup",function(){n=!1}),document.querySelector(".banderole__arrow-right").addEventListener("mousedown",function(){n=!0,c.scrollLeft+=10,function e(){setTimeout(function(){c.scrollLeft+=10,n&&e()},100)}()}),document.querySelector(".banderole__arrow-right").addEventListener("mouseup",function(){n=!1})),s=document.querySelectorAll(".lazy"),"IntersectionObserver"in window?(i=new IntersectionObserver(function(e){e.forEach(function(e){e.isIntersecting&&((e=e.target).classList.remove("lazy"),i.unobserve(e))})}
61),s.forEach(function(e){i.observe(e)})):(a=function(){var t=window.scrollY;s.forEach(function(e){e.offsetTop<window.innerHeight+t&&(e.src=e.dataset.src,e.classList.remove("lazy"))}),0===s.length&&(document.removeEventListener("scroll",a),window.removeEventListener("resize",a),window.removeEventListener("orientationChange",a))},document.addEventListener("scroll",a),window.addEventListener("resize",a),window.addEventListener("orientationChange",a)),void 0!==window.jQuery&&(jQuery.event.special.touchstart={setup:function(e,t,n){this.addEventListener("touchstart",n,{passive:!t.includes("noPreventDefault")})}},jQuery.event.special.touchmove={setup:function(e,t,n){this.addEventListener("touchmove",n,{passive:!t.includes("noPreventDefault")})}},jQuery.event.special.wheel={setup:function(e,t,n){this.addEventListener("wheel",n,{passive:!0})}},jQuery.event.special.mousewheel={setup:function(e,t,n){this.addEventListener("mousewheel",n,{passive:!0})}})})();
62
63(function(){"use strict";var a={collapseWrapClass:"module-mobile-collapse",collapseActiveHeadlineCSS:"active-collapse",collapseIconCssClass:"icon-collapse",collapseActiveCssClass:"active"};function e(){s(function(e){t(e,function(e){c(e,a.collapseActiveHeadlineCSS);var s=document.createElement("DIV");c(s,a.collapseIconCssClass);e.insertBefore(s,e.firstChild)})});l()}function s(e){var s=document.getElementsByClassName(a.collapseWrapClass);for(var t=0;t<s.length;t++){e(s[t])}}function t(e,s){var t=e.previousElementSibling;if(t&&String(t.tagName).match(/^H[0-9]$/)){s(e.previousElementSibling)}}function n(e){c(e.target,a.collapseActiveCssClass);c(e.target.parentNode.nextElementSibling,a.collapseActiveCssClass)}function l(){s(function(e){t(e,function(e){var s=e.getElementsByClassName(a.collapseIconCssClass);for(var t=0;t<s.length;t++){s[t].addEventListener("click",n)}})})}function c(e,s){if(e.classList){e.classList.toggle(s)}else{var t=e.className.split(" ");var a=-1;for(var n=t.length;n--;){if(t[n]===s){a=n}}if(a>=0){t.splice(a,1)}else{t.push(s)}e.className=t.join(" ")}}function i(e){if(document.readyState!=="loading"){e()}else if(document.addEventListener){document.addEventListener("DOMContentLoaded",e)}else{document.attachEvent("onreadystatechange",function(){if(document.readyState!=="loading"){e()}})}}i(e)})();
64(function(){if(window.__summaryAiInit)return;window.__summaryAiInit=true;function r(e){if(e.dataset.hydrated)return e.href;var r=e.dataset.href;var t=e.dataset.suffix;var a=e.dataset.prefix;if(!r&&!t&&!a)return"";e.href=r+a+encodeURIComponent(window.location.href)+t;e.dataset.hydrated="1";return e.href}document.querySelectorAll(".summary-ai").forEach(e=>{e.addEventListener("mouseenter",()=>r(e),{passive:true})})})();
65function sortStandingTable(s,e){let t,a,n,r,i,o,l,c,g=0,T="";t=document.getElementById(e);const f=t.getElementsByTagName("TH");for(let e=0;e<f.length;e++){const m=f[e];if(m.classList.contains("sorting_asc")){m.classList.remove("sorting_asc");T="sorting_desc"}else if(m.classList.contains("sorting_desc")){m.classList.remove("sorting_desc");T="sorting_asc"}}t.getElementsByTagName("TH")[s].classList.add(T);n=true;c="asc";while(n){n=false;a=t.rows;for(r=1;r<a.length-1;r++){let e=a[r].getElementsByTagName("TH")[s];l=false;i=a[r].getElementsByTagName("TD")[s];o=a[r+1].getElementsByTagName("TD")[s];if(c=="asc"){if(i.innerHTML.toLowerCase()>o.innerHTML.toLowerCase()){l=true;break}}else if(c=="desc"){if(i.innerHTML.toLowerCase()<o.innerHTML.toLowerCase()){l=true;break}}}if(l){a[r].parentNode.insertBefore(a[r+1],a[r]);n=true;g++}else{if(g==0&&c=="asc"){c="desc";n=true}}}}
66var complianz={prefix:"cmplz_",user_banner_id:"15",set_cookies:[],block_ajax_content:"0",banner_version:"248",version:"7.5.7.3",store_consent:"1",do_not_track_enabled:"1",consenttype:"optin",region:"eu",geoip:"0",dismiss_timeout:"",disable_cookiebanner:"",soft_cookiewall:"",dismiss_on_scroll:"",cookie_expiry:"365",url:"https://www.fussball-wm.pro/wp-json/complianz/v1/",locale:"lang=de&locale=de_DE",set_cookies_on_root:"0",cookie_domain:"",current_policy_id:"19",cookie_path:"/",categories:{statistics:"Statistiken",marketing:"Marketing"},tcf_active:"1",placeholdertext:"Aktivieren Sie Marketing-Cookie
66s, um diesen Inhalt anzuzeigen",css_file:"https://www.fussball-wm.pro/wp-content/uploads/sites/1/complianz/css/banner-{banner_id}-{type}.css?v=248",page_links:{eu:{"cookie-statement":{title:"Cookie Policy ",url:"https://www.fussball-wm.pro/cookie-policy-eu/"},"privacy-statement":{title:"Datenschutzerklärung",url:"https://www.fussball-wm.pro/datenschutzerklaerung/"},impressum:{title:"Impressum",url:"https://www.fussball-wm.pro/impressum/"},disclaimer:{title:"Disclaimer",url:"https://www.fussball-wm.pro/disclaimer/"}},us:{impressum:{title:"Impressum",url:"https://www.fussball-wm.pro/impressum/"},disclaimer:{title:"Disclaimer",url:"https://www.fussball-wm.pro/disclaimer/"}},uk:{impressum:{title:"Impressum",url:"https://www.fussball-wm.pro/impressum/"},disclaimer:{title:"Disclaimer",url:"https://www.fussball-wm.pro/disclaimer/"}},ca:{impressum:{title:"Impressum",url:"https://www.fussball-wm.pro/impressum/"},disclaimer:{title:"Disclaimer",url:"https://www.fussball-wm.pro/disclaimer/"}},au:{impressum:{title:"Impressum",url:"https://www.fussball-wm.pro/impressum/"},disclaimer:{title:"Disclaimer",url:"https://www.fussball-wm.pro/disclaimer/"}},za:{impressum:{title:"Impressum",url:"https://www.fussball-wm.pro/impressum/"},disclaimer:{title:"Disclaimer",url:"https://www.fussball-wm.pro/disclaimer/"}},br:{impressum:{title:"Impressum",url:"https://www.fussball-wm.pro/impressum/"},disclaimer:{title:"Disclaimer",url:"https://www.fussball-wm.pro/disclaimer/"}}},tm_categories:"",forceEnableStats:"",preview:"",clean_cookies:"",aria_label:"Aktivieren Sie Marketing-Cookies, um diesen Inhalt anzuzeigen",tcf_regions:["us","ca","eu","uk","au","za","br"]};
67let cmplz_cookie_data=[],cmplzCleanCookieInterval;function cmplz_create_element(e,t){e=document.createElement(e);return e.innerHtml=t,e}function cmplz_add_event(e,t,c){document.addEventListener(e,e=>{e.target.closest(t)&&c(e)})}function cmplz_is_hidden(e){return null===e.offsetParent}function cmplz_html_decode(e){return(new DOMParser).parseFromString(e,"text/html").documentElement.textContent}function cmplz_sanitize_placeholder_html(e){var t=document.createElement("template");return t.innerHTML=String(e||""),t.content.querySelectorAll("script, iframe, object, embed, link, style, base, meta").forEach(e=>{e.remove()}),t.content.querySelectorAll("*").forEach(n=>{Array.from(n.attributes).forEach(e=>{var t=e.name.toLowerCase(),c=e.value.trim();0!==t.indexOf("on")&&("href"!==t&&"src"!==t&&"xlink:href"!==t||!/^\s*(javascript:|data:)/i.test(c))||n.removeAttribute(e.name)})}),t.innerHTML}function cmplz_is_safe_script_src(e){if("string"!=typeof e)return!1;e=e.trim();if(!e)return!1;try{var t=new URL(e,window.location.href);return"http:"===t.protocol||"https:"===t.protocol}catch(e){return!1}}function cmplz_trap_focus(){var e;cmplz_banner&&complianz.soft_cookiewall&&(cmplz_original_active_element=document.activeElement,document.body.classList.add("cmplz-banner-active"),cmplz_banner.addEventListener("keydown",cmplz_handle_tab_navigation),0<(e=cmplz_banner.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])')).length)&&e[0].focus()}function cmplz_handle_tab_navigation(e){var t,c;"Tab"===e.key&&0!==(c=cmplz_banner.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])')).length&&(t=c[0],c=c[c.length-1],e.shiftKey?document.activeElement===t&&(e.preventDefault(),c.focus()):document.activeElement===c&&(e.preventDefault(),t.focus()))}function cmplz_release_focus_trap(){if(cmplz_banner&&cmplz_banner.removeEventListener("keydown",cmplz_handle_tab_navigation),document.body.classList.remove("cmplz-banner-active"),cmplz_original_active_element&&cmplz_original_active_element.focus)try{cmplz_original_active_element.focus()}catch(e){document.body.focus()}}function cmplzLoadConsentAreaContent(e,r){document.querySelectorAll(".cmplz-consent-area.cmplz-placeholder").forEach(t=>{let c=t.getAttribute("data-category"),n=t.getAttribute("data-service");var o=t.getAttribute("data-post_id"),a=t.getAttribute("data-block_id");if(e===c||r===n){let e=new XMLHttpRequest;e.open("GET",complianz.url+"consent-area/"+o+"/"+a,!0),e.setRequestHeader("Content-type","application/json"),e.send(),t.classList.remove("cmplz-placeholder"),e.onload=function(){t.innerHTML=JSON.parse(e.response),t.querySelectorAll("script").forEach(e
67=>{cmplz_run_script(e.innerHTML,c,n,"inline",e)})}}})}document.querySelectorAll(".cmplz-consent-area.cmplz-placeholder").forEach(e=>{e.addEventListener("click",e=>{let t=e.target;(t=t.classList.contains("cmplz-consent-area")?t:e.target.closest(".cmplz-consent-area.cmplz-placeholder"))&&(cmplz_set_service_consent(e=t.getAttribute("data-service"),!0),cmplzLoadConsentAreaContent(!1,e),cmplz_enable_category(null,e),cmplz_set_banner_status("dismissed"))}),document.addEventListener("cmplz_enable_category",function(e){cmplzLoadConsentAreaContent(e.detail.category,e.detail.service)})}),document.addEventListener("cmplz_manage_consent_container_loaded",function(){var e,t=window.location.href;-1!=t.indexOf("#")&&(e=-1!=t.lastIndexOf("?")?t.lastIndexOf("?"):void 0,t=t.substring(t.indexOf("#")+1,e),e=document.getElementById(t))&&(t=e.getBoundingClientRect().top+window.pageYOffset-200,window.scrollTo({top:t,behavior:"smooth"}))}),complianz.locale=complianz.locale+"&token="+Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,5),(()=>{function e(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var c=document.createEvent("CustomEvent");return c.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),c}"function"!=typeof window.CustomEvent&&(e.prototype=window.Event.prototype,window.CustomEvent=e)})();let cmplz_banner,cmplz_banner_container=document.getElementById("cmplz-cookiebanner-container"),cmplz_manage_consent_button,cmplz_waiting_inline_scripts=[],cmplz_waiting_scripts=[],cmplz_fired_scripts=[],cmplz_placeholder_class_index=0,cmplz_all_scripts_hook_fired=!1,cmplz_consent_stored_once=!1,cmplz_fired_category_events=["functional"],cmplz_fired_service_events=[],cmplz_categories=["functional","preferences","statistics","marketing"];var cmplz_original_active_element=null;window.cmplz_get_cookie=function(t){if("undefined"!=typeof document){t=complianz.prefix+t;var c=document.cookie.split(";");for(let e=0;e<c.length;e++){var n=c[e].trim();if(n.startsWith(t+"="))return n.substring(t.length+1)}}return""},window.cmplz_set_cookie=function(e,t,c){var n,o,a,r;"undefined"!=typeof document&&(c=void 0===c||c,n="https:"===window.location.protocol?";secure":"",(o=new Date).setTime(o.getTime()+24*complianz.cookie_expiry*60*60*1e3),o=";expires="+o.toGMTString(),a=0<(a=cmplz_get_cookie_domain()).length?";domain="+a:"",c=c?complianz.prefix:"",r=cmplz_get_cookie_path(),document.cookie=""+c+e+`=${t};SameSite=Lax${n}${o}${a};path=`+r)},window.cmplz_in_array=function(e,t){return t.includes(e)},window.cmplz_highest_accepted_category=function(){var t=cmplz_accepted_categories(),c=["marketing","statistics","preferences"];for(let e=0;e<c.length;e++)if(cmplz_in_array(c[e],t))return c[e];return"functional"};let cmplz_set_category_as_body_class=()=>{let c=document.body.classList;for(let e=c.length-1;0<=e;e--)c[e].startsWith("cmplz-")&&"cmplz-document"!==c[e]&&c.remove(c[e]);var e=cmplz_accepted_categories(),e=(Object.values(e).forEach(e=>{"string"==typeof e&&c.add("cmplz-"+e)}),cmplz_get_all_service_consents()),e=(Object.entries(e).forEach(([e,t])=>{t&&c.add("cmplz-"+e)}),c.add("cmplz-"+complianz.region,"cmplz-"+complianz.consenttype),new CustomEvent("cmplz_set_category_as_bodyclass"));document.dispatchEvent(e)},cmplz_append_css=e=>{var t=document.head||document.getElementsByTagName("head")[0],c=document.createElement("style");c.setAttribute("type","text/css"),c.appendChild(document.createTextNode(e)),t.appendChild(c)},cmplz_load_css=e=>{var t=document.head||document.getElementsByTagName("head")[0],c=document.createElement("link");c.rel="stylesheet",c.type="text/css",c.href=e,t.appendChild(c)};function cmplz_run_script(t,c,n,e,o){var a=document.createElement("script");if("inline"!==e&&cmplz_is_safe_script_src(t)?a.src=t:("string"!=typeof t&&(t=t.innerHTML),a.textContent=[t,"cmplzScriptLoaded();"].join("\n")),!cmplz_in_array(t,cmplz_fired_scripts)){cmplzCopyAttributes(o,a);try{"inline"!==e?a.onload=function(){cmplz_run_after_all_scripts(c,n),cmplz_maybe_run_waiting_scripts(t,c,n,o)}:window.cmplzScriptLoaded=function(){cmplz_run_after_all_scripts(c,n),cmplz_maybe_run_waiting_scripts(t,c,n,o)},document.head.appendChild(a)}catch(e){throw cmplz_run_after_all_scripts(c,n),"Something went wrong "+e+" while loading "+t}}}function cmplz_maybe_run_waiting_scripts(e,t,c,n){var o=cmplz_get_waiting_script(cmplz_waiting_scripts,e),o=(o&&cmplz_run_script(o,t,c,"src",n),cmplz_get_waiting_script(cmplz_waiting_inline_scripts,e));o&&cmplz_run_script(o,t,c,"inline",n)}let cmplzLazyLoader=()=>{var e=document.querySelectorAll(".cmplz-blocked-content-container");let t=new IntersectionObserver((e,n)=>
67{e.forEach(e=>{var t,c;e.isIntersecting&&((t=(e=e.target).getAttribute("data-placeholder-image"))&&(c=e.getAttribute("data-placeholder_class_index"),cmplz_append_css(".cmplz-placeholder-"+c+" {background-image: url("+t+") !important;}"),cmplz_set_blocked_content_container_aspect_ratio(e,t,c)),n.unobserve(e))})});e.forEach(e=>{t.observe(e)})};function cmplz_set_blocked_content_container(){document.querySelectorAll(".cmplz-image").forEach(e=>{var t,c,n,o;e.classList.contains("cmplz-processed")||(e.classList.add("cmplz-processed"),t=e.getAttribute("data-service"),c=e.getAttribute("data-category"),(n=e.parentElement).classList.add("cmplz-blocked-content-container"),o=n.getAttribute("data-placeholder_class_index"),"lazy"===e.getAttribute("loading")&&(e.removeAttribute("loading"),e.setAttribute("data-deferlazy",1)),null==o&&(cmplz_placeholder_class_index++,n.classList.add("cmplz-placeholder-"+cmplz_placeholder_class_index,"cmplz-blocked-content-container"),n.setAttribute("data-placeholder_class_index",cmplz_placeholder_class_index),cmplz_insert_placeholder_text(n,c,t)))}),document.querySelectorAll(".cmplz-placeholder-element").forEach(t=>{if(!t.classList.contains("cmplz-processed")){t.classList.add("cmplz-processed");var c=t.getAttribute("data-service"),n=t.getAttribute("data-category");let e;null===(e=t.classList.contains("cmplz-iframe")?("lazy"===t.getAttribute("loading")&&(t.removeAttribute("loading"),t.setAttribute("data-deferlazy",1)),t.parentElement):t).getAttribute("data-placeholder_class_index")&&(cmplz_placeholder_class_index++,e.classList.add("cmplz-placeholder-"+cmplz_placeholder_class_index,"cmplz-blocked-content-container"),e.setAttribute("data-placeholder_class_index",cmplz_placeholder_class_index),cmplz_insert_placeholder_text(e,n,c),n=t.getAttribute("data-placeholder-image"))&&void 0!==n&&n.length&&e.setAttribute("data-placeholder-image",n)}}),cmplzLazyLoader(),cmplz_has_consent("statistics")&&cmplz_enable_category("statistics"),cmplz_has_consent("marketing")&&cmplz_enable_category("marketing")}function cmplz_insert_placeholder_text(e,n,o){if(!e.querySelector(".cmplz-blocked-content-notice")){let t=complianz.placeholdertext;n=n||"marketing";let c;if(void 0!==t){if(1==complianz.clean_cookies){let e=o?o.replace("-"," "):"";e=e.charAt(0).toUpperCase()+e.slice(1),t=t.replace("{service}",e),(c=cmplz_create_element("div",t)).innerHTML=cmplz_sanitize_placeholder_html(t),c.classList.add("cmplz-blocked-content-notice");var a=c.querySelector("button"),a=(a.setAttribute("data-service",o),a.setAttribute("data-category",n),a.setAttribute("aria-label",complianz.aria_label.replace("{service}",e)),complianz.page_links[complianz.region]),r=c.querySelector(".cmplz-links a");a&&a.hasOwnProperty("cookie-statement")?(r.setAttribute("href",a["cookie-statement"].url),"{title}"===r.innerText&&(r.innerText=a["cookie-statement"].title)):r&&(r.parentElement.style.display="none")}else{a=cmplz_create_element("button",""),r=complianz.categories.hasOwnProperty(n)?complianz.categories[n]:"marketing";a.innerText=t.replace("{category}",r),a.classList.add("cmplz-blocked-content-notice","cmplz-accept-category","cmplz-accept-"+n),a.setAttribute("data-service",o),a.setAttribute("data-category",n),a.setAttribute("aria-label",complianz.aria_label.replace("{category}",n)),c=a}("VIDEO"!==e.tagName?e:e.parentElement).appendChild(c)}}}function cmplz_set_blocked_content_container_aspect_ratio(t,c,n){var e;null!=t&&((e=new Image).addEventListener("load",function(){var e=this.naturalWidth||1,e=this.naturalHeight*(t.clientWidth/e),e=-1===c.indexOf("placeholder.jpg")?"height:"+e+"px;":"";cmplz_append_css(".cmplz-placeholder-"+n+" {"+e+"}")}),e.src=c)}let cmplzResizeTimer;function cmplz_has_blocked_scripts(){return 0<document.querySelectorAll("script[data-category], script[data-service]").length}function cmplz_enable_category(o,a){1==complianz.tm_categories&&""!==o&&cmplz_run_tm_event(o);var t={},t=(t.category=o,t.categories=cmplz_accepted_categories(),t.region=complianz.region,new CustomEvent("cmplz_before_category",{detail:t}));if(document.dispatchEvent(t),a=void 0!==a?a:"do_not_match","functional"!==(o=""===o?"do_not_match":o)){"marketing"===o&&cmplz_set_integrations_cookies();let e;e="do_not_match"!==a?'.cmplz-blocked-content-notice [data-service="'+a+'"]':1!=compl
67ianz.clean_cookies?".cmplz-blocked-content-notice.cmplz-accept-"+o:'.cmplz-blocked-content-notice [data-category="'+o+'"]',document.querySelectorAll(e).forEach(e=>{var t=e.getAttribute("data-service");e.parentNode.classList.contains("cmplz-blocked-content-notice")&&(e=e.parentNode),cmplz_is_service_denied(t)||e.parentNode.removeChild(e)}),document.querySelectorAll('[data-category="'+o+'"], [data-service="'+a+'"]').forEach(t=>{var e=t.getAttribute("data-service");if(!cmplz_is_service_denied(e)&&"functional"!==t.getAttribute("data-category")&&!t.classList.contains("cmplz-activated")){var e=t.tagName;if("LINK"===e){t.classList.add("cmplz-activated");var c=t.getAttribute("data-href");cmplz_load_css(c,o)}else if("IMG"===e){t.classList.add("cmplz-activated");c=t.getAttribute("data-src-cmplz");t.setAttribute("src",c),t.getAttribute("data-deferlazy")&&t.setAttribute("loading","lazy"),cmplz_remove_placeholder(t)}else if("IFRAME"===e){t.classList.add("cmplz-activated");let e=t.getAttribute("data-src-cmplz");c=t.getAttribute("data-cmplz-target")?t.getAttribute("data-cmplz-target"):"src";"1"===cmplz_get_url_parameter(t.getAttribute(c),"autoplay")&&(e+="&autoplay=1"),t.getAttribute("data-deferlazy")&&t.setAttribute("loading","lazy"),t.addEventListener("load",()=>{cmplz_remove_placeholder(t)}),t.setAttribute(c,e)}else t.classList.contains("cmplz-placeholder-element")&&(t.classList.add("cmplz-activated"),e=t.getAttribute("data-placeholder_class_index"),t.classList.remove("cmplz-blocked-content-container","cmplz-placeholder-"+e))}});t=document.querySelectorAll('script[data-category="'+o+'"], script[data-service="'+a+'"]');t.forEach(e=>{var t=e.getAttribute("data-waitfor"),c=e.getAttribute("data-cmplz-src");t&&(c?cmplz_waiting_scripts[t]=c:0<e.innerText.length&&(cmplz_waiting_inline_scripts[t]=e)),e.parentElement&&e.parentElement.removeChild(e)}),t.forEach(e=>{var t,c,n=e.getAttribute("type");!e.classList.contains("cmplz-activated")&&n&&"text/javascript"!==n&&(e.classList.add("cmplz-activated"),(n=e.getAttribute("data-cmplz-src"))?(e.removeAttribute("type"),cmplz_is_waiting_script(cmplz_waiting_scripts,n)||(e.getAttribute("data-post_scribe_id")?(t="#"+e.getAttribute("data-post_scribe_id"),(c=document.querySelector(t))&&(c.innerHtml(""),postscribe(t,"<script src="+n+"><\/script>"))):cmplz_run_script(n,o,a,"src",e))):0<e.innerText.length&&(cmplz_is_waiting_script(cmplz_waiting_inline_scripts,e.innerText)||cmplz_run_script(e.innerText,o,a,"inline",e)))}),cmplz_run_after_all_scripts(o,a)}}function cmplz_remove_placeholder(e){var t,c=e.closest(".cmplz-blocked-content-container");c&&(t=c.getAttribute("data-placeholder_class_index"),c.classList.remove("cmplz-blocked-content-container","cmplz-placeholder-"+t)),e.classList.remove("cmplz-iframe-styles","cmplz-iframe","video-wrap")}function cmplz_get_waiting_script(e,t){for(var c in e){var n;if(e.hasOwnProperty(c))if(-1!==t.indexOf(c))return n=e[c],delete e[c],n}return!1}function cmplz_array_is_empty(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function cmplz_is_waiting_script(t,c){for(var n in t)if(t.hasOwnProperty(n)){let e=t[n];if("string"!=typeof e&&(e=e.innerText),-1!==c.indexOf(e)||-1!==e.indexOf(c))return!0}return!1}function cmplz_run_after_all_scripts(e,t){var c="do_not_match"!==t&&!cmplz_in_array(t,cmplz_fired_service_events),n="do_not_match"!==e&&!cmplz_in_array(e,cmplz_fired_category_events);(n||c)&&(n&&cmplz_fired_category_events.push(e),c&&cmplz_fired_service_events.push(t),(n={}).category=e,n.service=t,n.categories=cmplz_accepted_categories(),n.services=cmplz_get_all_service_consents(),n.region=complianz.region,c=new CustomEvent("cmplz_enable_category",{detail:n}),document.dispatchEvent(c)),!cmplz_all_scripts_hook_fired&&cmplz_array_is_empty(cmplz_waiting_inline_scripts)&&cmplz_array_is_empty(cmplz_waiting_scripts)&&(n=new CustomEvent("cmplz_run_after_all_scripts",{detail:e,service:t}),document.dispatchEvent(n),cmplz_all_scripts_hook_fired=!0)}window.addEventListener("resize",function(){clearTimeout(cmplzResizeTimer),cmplzResizeTimer=setTimeout(cmplz_set_blocked_content_container,500)}
67,!0),1==complianz.block_ajax_content&&setInterval(function(){cmplz_set_blocked_content_container()},2e3);let cmplz_fired_events=[];function cmplz_run_tm_event(e){-1===cmplz_fired_events.indexOf(e)&&(cmplz_fired_events.push(e),window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"cmplz_event_"+e}),e=new CustomEvent("cmplz_tag_manager_event",{detail:e}),document.dispatchEvent(e))}function cmplz_fire_before_categories_consent(e){var t={},e=(t.categories=e,t.region=complianz.region,new CustomEvent("cmplz_before_categories_consent",{detail:t}));document.dispatchEvent(e)}function cmplz_check_cookie_policy_id(){var e=cmplz_get_cookie("policy_id");e&&parseInt(complianz.current_policy_id)!==parseInt(e)&&(cmplz_deny_all(),cmplz_set_banner_status("show"),cmplz_clear_cookies("cmplz"))}function cmplz_do_not_track(){var e="doNotTrack"in navigator&&"1"===navigator.doNotTrack,t="globalPrivacyControl"in navigator&&navigator.globalPrivacyControl;return!(!complianz.do_not_track_enabled||!t&&!e)}function cmplz_get_services_on_page(){let c=[];return document.querySelectorAll("[data-service]").forEach(e=>{var t=e.getAttribute("data-service"),e=e.getAttribute("data-category");-1==c.indexOf(t)&&c.push({category:e,service:t})}),c}function cmplz_is_bot(){var e=new RegExp("(googlebot/|Googlebot-Mobile|Google-InspectionTool|Googlebot-Image|Google favicon|Mediapartners-Google|bingbot|slurp|java|wget|curl|Commons-HttpClient|Python-urllib|libwww|httpunit|nutch|phpcrawl|msnbot|jyxobot|FAST-WebCrawler|FAST Enterprise Crawler|biglotron|teoma|convera|seekbot|gigablast|exabot|ngbot|ia_archiver|GingerCrawler|webmon |httrack|webcrawler|grub.org|UsineNouvelleCrawler|antibot|netresearchserver|speedy|fluffy|bibnum.bnf|findlink|msrbot|panscient|yacybot|AISearchBot|IOI|ips-agent|tagoobot|MJ12bot|dotbot|woriobot|yanga|buzzbot|mlbot|yandexbot|purebot|Linguee Bot|Voyager|CyberPatrol|voilabot|baiduspider|citeseerxbot|spbot|twengabot|postrank|turnitinbot|scribdbot|page2rss|sitebot|linkdex|Adidxbot|blekkobot|ezooms|dotbot|Mail.RU_Bot|discobot|heritrix|findthatfile|europarchive.org|NerdByNature.Bot|sistrix crawler|ahrefsbot|Aboundex|domaincrawler|wbsearchbot|summify|ccbot|edisterbot|seznambot|ec2linkfinder|gslfbot|aihitbot|intelium_bot|facebookexternalhit|yeti|RetrevoPageAnalyzer|lb-spider|sogou|lssbot|careerbot|wotbox|wocbot|ichiro|DuckDuckBot|lssrocketcrawler|drupact|webcompanycrawler|acoonbot|openindexspider|gnam gnam spider|web-archive-net.com.bot|backlinkcrawler|coccoc|integromedb|content crawler spider|toplistbot|seokicks-robot|it2media-domain-crawler|ip-web-crawler.com|siteexplorer.info|elisabot|proximic|changedetection|blexbot|arabot|WeSEE:Search|niki-bot|CrystalSemanticsBot|rogerbot|360Spider|psbot|InterfaxScanBot|Lipperhey SEO Service|CC Metadata Scaper|g00g1e.net|GrapeshotCrawler|urlappendbot|brainobot|fr-crawler|binlar|SimpleCrawler|Livelapbot|Twitterbot|cXensebot|smtbot|bnf.fr_bot|A6-Indexer|ADmantX|Facebot|Twitterbot|OrangeBot|memorybot|AdvBot|MegaIndex|SemanticScholarBot|ltx71|nerdybot|xovibot|BUbiNG|Qwantify|archive.org_bot|Applebot|TweetmemeBot|crawler4j|findxbot|SemrushBot|yoozBot|lipperhey|y!j-asr|Domain Re-Animator Bot|AddThis)","i"),t=navigator.userAgent;return e.test(t)}function cmplz_is_speedbot(){var e=navigator.userAgent;return new RegExp("(GTmetrix|pingdom|pingbot|Lighthouse)","i").test(e)}function cmplz_exists_service_consent(){var e,t=cmplz_get_cookie("consented_services");try{for(var c in e=JSON.parse(t))if(e.hasOwnProperty(c)&&1==e[c])return!0}catch(e){}return!1}function cmplz_set_service_consent(e,t){var c=cmplz_get_cookie("consented_services");let n;try{n=JSON.parse(c)}catch(e){n={}}n[e]=t,cmplz_set_cookie("consented_services",JSON.stringify(n));c={},c.service=e,c.value=t,c.region=complianz.region,cmplz_all_scripts_hook_fired=!1,e=new CustomEvent("cmplz_status_change_service",{detail:c});document.dispatchEvent(e)}function cmplz_clear_all_service_consents(){cmplz_set_cookie("consented_services","")}function cmplz_get_all_service_consents(){var e=cmplz_get_cookie("consented_services");let t;try{t=JSON.parse(e)}catch(e){t={}}return t}function cmplz_get_cookie_path(){return void 0!==complianz.cookie_path&&""!==compl
67ianz.cookie_path?complianz.cookie_path:"/"}function cmplz_get_cookie_domain(){return 1==complianz.set_cookies_on_root&&3<complianz.cookie_domain.length&&!complianz.cookie_domain.includes("localhost")?complianz.cookie_domain:""}function cmplz_reload_browser_compatible(){var e;-1<navigator.userAgent.toLowerCase().indexOf("firefox")?((e=new URL(window.location.href)).searchParams.set("cmplz-force-reload",Date.now().toString()),window.location.href=e.toString()):window.location.reload()}window.cmplz_accept_all=function(){for(var e in cmplz_clear_all_service_consents(),cmplz_fire_before_categories_consent(cmplz_categories),cmplz_categories)cmplz_categories.hasOwnProperty(e)&&cmplz_set_consent(cmplz_categories[e],"allow");cmplz_sync_category_checkboxes()},window.cmplz_deny_all=function(){for(var e in cmplz_categories)cmplz_categories.hasOwnProperty(e)&&cmplz_set_consent(cmplz_categories[e],"deny");let t=!1;"functional"===cmplz_highest_accepted_category()&&!cmplz_exists_service_consent()||(t=!0),cmplz_clear_cookies("cmplz_service")&&(t=!0),cmplz_clear_all_service_consents(),cmplz_integrations_revoke(),cmplz_fire_categories_event(),cmplz_track_status();var c=new CustomEvent("cmplz_revoke",{detail:t});document.dispatchEvent(c),!complianz.tcf_active&&t&&cmplz_reload_browser_compatible()},window.conditionally_show_banner=function(){complianz=cmplz_merge_object(complianz,cmplz_user_data),cmplz_maybe_auto_redirect(),cmplz_set_blocked_content_container(),window.wp_consent_type=complianz.consenttype;var e,t,c,n=new CustomEvent("wp_consent_type_defined"),o=(document.dispatchEvent(n),n=new CustomEvent("cmplz_before_cookiebanner"),document.dispatchEvent(n),1==complianz.forceEnableStats&&"optin"===complianz.consenttype&&cmplz_set_consent("statistics","allow"),cmplz_categories.reverse()),a=[];for(e in o)o.hasOwnProperty(e)&&(t=cmplz_categories[e],cmplz_has_consent(t))&&a.push(t);for(c in cmplz_fire_before_categories_consent(a),a)o.hasOwnProperty(c)&&cmplz_enable_category(a[c]);if(cmplz_exists_service_consent()){cmplz_enable_category("","general");var r,l,i,s=cmplz_get_services_on_page();for(r in s)s.hasOwnProperty(r)&&(l=s[r].service,i=s[r].category,cmplz_has_service_consent(l,i))&&(document.querySelectorAll('.cmplz-accept-service[data-service="'+l+'"]').forEach(e=>{e.checked=!0}),cmplz_enable_category("",l))}cmplz_sync_category_checkboxes(),cmplz_integrations_init(),cmplz_check_cookie_policy_id(),cmplz_set_up_auto_dismiss(),cmplz_load_manage_consent_container(),n=new CustomEvent("cmplz_cookie_banner_data",{detail:complianz}),document.dispatchEvent(n),""===cmplz_get_cookie("saved_categories")&&("optin"!==complianz.consenttype&&"optout"!==complianz.consenttype?cmplz_track_status():cmplz_do_not_track()&&cmplz_track_status("do_not_track")),cmplz_set_category_as_body_class(),cmplz_fire_categories_event(),cmplz_do_not_track()?(console.log("global privacy control or do not track detected: no banner."),cmplz_track_status("do_not_track")):("optin"===complianz.consenttype?(complianz.forceEnableStats&&cmplz_enable_category("statistics"),console.log("opt-in"),show_cookie_banner):"optout"===complianz.consenttype?(console.log("opt-out"),show_cookie_banner):(console.log("other consent type, no cookie warning"),cmplz_accept_all))()},window.show_cookie_banner=function(){let t=complianz.disable_cookiebanner||cmplz_is_speedbot(),e=!1;(document.querySelector("#cmplz-manage-consent-container")||document.querySelector(".cmplz-dropdown-cookiepolicy"))&&(e=!0);var c=document.getElementById("cmplz-cookiebanner-container"),c=(c&&document.body.prepend(c),document.createElement("link"));let n=complianz.page_links[complianz.region];(cmplz_banner=document.querySelector(".cmplz-cookiebanner.banner-"+complianz.user_banner_id+"."+complianz.consenttype))||(t=!0),cmplz_manage_consent_button=document.querySelector("#cmplz-manage-consent .cmplz-manage-consent.manage-consent-"+complianz.user_banner_id);var o=complianz.css_file.replace("{type}",complianz.consenttype).replace("{banner_id}",complianz.user_banner_id),o=(-1!==complianz.css_file.indexOf("cookiebanner/css/defaults/banner")&&console.log("Fallback default css file used. Please re-save banner settings, or check file writing permissions in uploads directory"),c.href=o,c.type="text/css",c.rel="stylesheet",c.onload=function(){var e;t||(cmplz_banner.classList.remove("cmplz-hidden"),cmplz_manage_consent_button.classList.remove("cmplz-hidden"),"show"===cmplz_get_banner_status()&&(cmplz_trap_focus(),e=cmplz_banner.querySelector(".cmplz-close"))&&e.focus())},document.getElementsByTagName("head")[0].appendChild(c),cmplz_banner&&!t&&(cmplz_banner.querySelectorAll(".cmplz-links a:not(.cmplz-external), .cmplz-buttons a:not(.cmplz-external)").forEach(e
67=>{var t,c=e;for(t in c.classList.add("cmplz-hidden"),n)n.hasOwnProperty(t)&&c.classList.contains(t)&&(c.setAttribute("href",n[t].url+c.getAttribute("data-relative_url")),"{title}"===c.innerText&&(c.innerText=cmplz_html_decode(n[t].title)),c.classList.remove("cmplz-hidden"))}),cmplz_set_banner_status(),e)&&(cmplz_banner.classList.remove("cmplz-show"),cmplz_banner.classList.add("cmplz-dismissed"),cmplz_manage_consent_button.classList.remove("cmplz-dismissed"),cmplz_manage_consent_button.classList.add("cmplz-show")),new CustomEvent("cmplz_cookie_warning_loaded",{detail:complianz.region}));document.dispatchEvent(o)},window.cmplz_get_banner_status=function(){return cmplz_get_cookie("banner-status")},window.cmplz_set_banner_status=function(e){let t=cmplz_get_cookie("banner-status");(e=void 0!==e?e:t)!==t&&cmplz_set_cookie("banner-status",e),0===e.length&&(e="show"),t="show"===e?"dismissed":"show",cmplz_banner&&0<e.length&&(cmplz_banner.classList.remove("cmplz-"+t),cmplz_banner.classList.add("cmplz-"+e),cmplz_manage_consent_button)&&(cmplz_manage_consent_button.classList.add("cmplz-"+t),cmplz_manage_consent_button.classList.remove("cmplz-"+e)),cmplz_banner_container&&complianz.soft_cookiewall&&(cmplz_banner_container.classList.remove("cmplz-"+t),cmplz_banner_container.classList.add("cmplz-"+e,"cmplz-soft-cookiewall"));var c=new CustomEvent("cmplz_banner_status",{detail:e});document.dispatchEvent(c),cmplz_start_clean(),"show"===e?(cmplz_trap_focus(),(c=cmplz_banner.querySelector(".cmplz-close"))&&c.focus()):cmplz_release_focus_trap()},window.cmplz_has_consent=function(e){if(cmplz_is_bot())return!0;if("functional"===e)return!0;let t,c;return t=cmplz_do_not_track()?(c=cmplz_get_cookie(e),"allow"===c):(c=cmplz_get_cookie(e),("optout"===complianz.consenttype||"other"===complianz.consenttype)&&""===c||"allow"===c)},window.cmplz_is_service_denied=function(e){var t=cmplz_get_cookie("consented_services");let c;try{c=JSON.parse(t)}catch(e){c={}}return!!c.hasOwnProperty(e)&&!c[e]},window.cmplz_has_service_consent=function(e,t){var c=cmplz_get_cookie("consented_services");let n;try{n=JSON.parse(c)}catch(e){n={}}return n.hasOwnProperty(e)?n[e]:cmplz_has_consent(t)},window.cmplz_set_consent=function(e,t){cmplz_set_accepted_cookie_policy_id(),t="functional"===e?"allow":t;var c,n=cmplz_get_cookie(e);let o="allow"===t;document.querySelectorAll("input.cmplz-"+e).forEach(e=>{e.checked=o}),n!==t&&(cmplz_set_cookie(e,t),"allow"===t&&cmplz_enable_category(e),cmplz_wp_set_consent(e,t),"statistics"===e&&cmplz_wp_set_consent("statistics-anonymous","allow"),(c=new Object).category=e,c.value=t,c.region=complianz.region,c.categories=cmplz_accepted_categories(),cmplz_all_scripts_hook_fired=!1,c=new CustomEvent("cmplz_status_change",{detail:c}),document.dispatchEvent(c),"marketing"===e)&&"deny"===t&&"allow"===n&&(cmplz_integrations_revoke(),setTimeout(function(){cmplz_reload_browser_compatible()},500))};let cmplz_user_data=[];if("undefined"!=typeof Storage&&sessionStorage.cmplz_user_data&&(cmplz_user_data=JSON.parse(sessionStorage.cmplz_user_data)),1!=complianz.geoip||0!=cmplz_user_data.length&&cmplz_user_data.version===complianz.version&&cmplz_user_data.banner_version===complianz.banner_version)conditionally_show_banner();else{let e=new XMLHttpRequest,t=cmplz_get_url_parameter(window.location.href,"cmplz_user_region");t=t?"&cmplz_user_region="+t:"",e.open("GET",complianz.url+"banner?"+complianz.locale+t,!0),e.setRequestHeader("Content-type","application/json"),e.send(),e.onload=function(){cmplz_user_data=JSON.parse(e.response),sessionStorage.cmplz_user_data=JSON.stringify(cmplz_user_data),conditionally_show_banner()}}if(1==complianz.store_consent){let e=cmplz_get_cookie("id"),t="",c="";"undefined"!=typeof Storage&&sessionStorage.cmplz_id&&(t=JSON.parse(sessionStorage.cmplz_id)),0==e.length&&0<t.length&&(c=t,cmplz_set_cookie("id",c)),0<e.length&&0==t.length&&(c=e),"undefined"!=typeof Storage&&(sessionStorage.cmplz_id=JSON.stringify(c))}function cmplz_track_status_end(){cmplz_consent_stored_once||cmplz_track_status()}function cmplz_set_up_auto_dismiss(){if("dismissed"!==cmplz_get_banner_status()){if("optout"===compl
67ianz.consenttype&&1==complianz.dismiss_on_scroll){let e=function(){window.pageYOffset>Math.floor(400)&&(window.removeEventListener("scroll",e),this.onWindowScroll=null,"dismissed"!==cmplz_get_banner_status())&&(cmplz_set_banner_status("dismissed"),cmplz_fire_categories_event(),cmplz_track_status())};window.addEventListener("scroll",e)}var e=parseInt(complianz.dismiss_timeout);"optout"===complianz.consenttype&&0<e&&window.setTimeout(function(){"dismissed"!==cmplz_get_banner_status()&&(cmplz_set_banner_status("dismissed"),cmplz_fire_categories_event(),cmplz_track_status())},Math.floor(e))}}function cmplz_fire_categories_event(){var e=new Object,e=(e.category=cmplz_highest_accepted_category(),e.categories=cmplz_accepted_categories(),e.region=complianz.region,new CustomEvent("cmplz_fire_categories",{detail:e}));document.dispatchEvent(e)}function cmplz_track_status(e){let t=[];e=void 0!==e&&e;var c=new CustomEvent("cmplz_track_status",{detail:e});document.dispatchEvent(c),t=e?[e]:cmplz_accepted_categories(),cmplz_set_category_as_body_class();let n,o;try{n=JSON.parse(cmplz_get_cookie("saved_categories"))}catch(e){n={}}try{o=JSON.parse(cmplz_get_cookie("saved_services"))}catch(e){o={}}var c=cmplz_get_all_service_consents();cmplz_equals(n,t)&&cmplz_equals(o,c)||1!=complianz.store_consent||cmplz_is_bot()||cmplz_is_speedbot()||(cmplz_set_cookie("saved_categories",JSON.stringify(t)),cmplz_set_cookie("saved_services",JSON.stringify(c)),cmplz_consent_stored_once=!0,e={consented_categories:t,consented_services:c,consenttype:window.wp_consent_type},(c=new XMLHttpRequest).open("POST",complianz.url+"track",!0),c.setRequestHeader("Content-type","application/json"),c.send(JSON.stringify(e)))}function cmplz_accepted_categories(){let e=cmplz_categories,t=[];for(var c in e)e.hasOwnProperty(c)&&(c=e[c],cmplz_has_consent(c))&&t.push(c);return e=e.filter(function(e){return cmplz_in_array(e,t)})}function cmplz_sync_category_checkboxes(){for(var e in cmplz_categories)cmplz_categories.hasOwnProperty(e)&&(e=cmplz_categories[e],cmplz_has_consent(e)||"functional"===e?document.querySelectorAll("input.cmplz-"+e).forEach(e=>{e.checked=!0}):document.querySelectorAll("input.cmplz-"+e).forEach(e=>{e.checked=!1})),document.querySelectorAll(".cmplz-accept-service").forEach(e=>{var t=e.getAttribute("data-service"),c=e.getAttribute("data-category");cmplz_has_service_consent(t,c)?e.checked=!0:cmplz_is_service_denied(t)?e.checked=!1:e.checked=!!cmplz_has_consent(c)})}function cmplz_merge_object(e,t){var c,n,o={};for(c in t)t.hasOwnProperty(c)&&(o[c]=t[c]);for(n in e)t.hasOwnProperty(n)&&void 0!==t[n]||e.hasOwnProperty(n)&&(o[n]=e[n]);return o}function cmplz_clear_cookies(t){if("undefined"==typeof document)return!1;let a=!1,r="https:"===window.location.protocol?";secure":"",l="expires="+(new Date).toGMTString(),i=location.pathname.replace(/^\/|\/$/g,"").split("/");return document.cookie.split("; ").forEach(function(e){let n=e.split(";")[0].split("=")[0];if(-1!==n.indexOf(t)){a=!0;let c=window.location.hostname.split(".");var o=1<c.length;for(i.forEach(function(e){e="/"+e;document.cookie=encodeURIComponent(n)+"=;SameSite=Lax"+r+";"+l+";domain=."+c.join(".")+";path="+e,document.cookie=encodeURIComponent(n)+"=;SameSite=Lax"+r+";"+l+";domain=."+c.join(".")+";path="+e+"/"});0<c.length;){let t="."+c.join(".");
67c.shift(),o&&1===c.length&&c.shift(),i.forEach(function(e){e="/"+e;document.cookie=encodeURIComponent(n)+"=;SameSite=Lax"+r+";"+l+";domain="+t+";path="+e,document.cookie=encodeURIComponent(n)+"=;SameSite=Lax"+r+";"+l+";domain="+t+";path="+e+"/"})}}}),cmplz_set_accepted_cookie_policy_id(),a}function cmplz_set_accepted_cookie_policy_id(){cmplz_set_cookie("policy_id",complianz.current_policy_id)}function cmplz_integrations_init(){var e,t=complianz.set_cookies;for(e in t)t.hasOwnProperty(e)&&"1"===t[e][1]&&cmplz_set_cookie(e,t[e][1],!1)}function cmplz_integrations_revoke(){var e,t=complianz.set_cookies;for(e in t)t.hasOwnProperty(e)&&(cmplz_set_cookie(e,t[e][1],!1),0==t[e][1])&&cmplz_clear_cookies(e)}function cmplz_set_integrations_cookies(){var e,t=complianz.set_cookies;for(e in t)t.hasOwnProperty(e)&&cmplz_set_cookie(e,t[e][0],!1)}function cmplz_get_url_parameter(e,t){if(e&&void 0!==e&&-1!==e.indexOf("?")){e=e.split("?")[1];if(e){var c=e.split("&");for(let e=0;e<c.length;e++){var n=c[e].split("=");if(n[0]===t)return void 0===n[1]||decodeURIComponent(n[1])}}}return!1}function cmplz_maybe_auto_redirect(){var e=cmplz_get_url_parameter(window.location.href,"cmplz_region_redirect"),t=cmplz_get_url_parameter(window.location.href,"cmplz-region");e&&!t&&(e=window.location.href.split("#")[0]+"&cmplz-region="+complianz.region,t=window.location.hash,window.location.href=e+t)}function cmplz_wp_set_consent(e,t){"function"==typeof wp_set_consent&&wp_set_consent(e,t)}function cmplz_start_clean(){if(1==complianz.clean_cookies)if((cmplz_cookie_data="undefined"!=typeof Storage?JSON.parse(sessionStorage.getItem("cmplz_cookie_data")):cmplz_cookie_data)&&0!==cmplz_cookie_data.length)cmplz_setup_clean_interval();else{let e=new XMLHttpRequest;e.open("GET",complianz.url+"cookie_data",!0),e.setRequestHeader("Content-type","application/json"),e.send(),e.onload=function(){cmplz_cookie_data=JSON.parse(e.response),sessionStorage.setItem("cmplz_cookie_data",JSON.stringify(cmplz_cookie_data)),cmplz_setup_clean_interval()}}}function cmplz_do_cleanup(){var e;for(e of["preferences","statistics","marketing"])if(!cmplz_has_consent(e)&&cmplz_cookie_data.hasOwnProperty(e)){var t,c,n=cmplz_cookie_data[e];for(t in n)if(!cmplz_has_service_consent(t,e))for(c of n[t])cmplz_clear_cookies(c),cmplz_clear_storage(c)}}function cmplz_setup_clean_interval(){!cmplz_cookie_data||cmplzCleanCookieInterval||(cmplz_do_cleanup(),cmplzCleanCookieInterval=setInterval(cmplz_do_cleanup,1e3))}function cmplz_clear_storage(e){"undefined"!=typeof Storage&&(localStorage.getItem(e)&&localStorage.removeItem(e),sessionStorage.getItem(e))&&sessionStorage.removeItem(e)}function cmplz_load_manage_consent_container(){let c=document.querySelector(".cmplz-manage-consent-container");if(c){let t=new XMLHttpRequest;t.open("GET",complianz.url+"manage_consent_html?"+complianz.locale,!0),t.setRequestHeader("Content-type","application/json"),t.send(),t.onload=function(){var e=JSON.parse(t.response);c.insertAdjacentHTML("beforeend",e),cmplz_sync_category_checkboxes();document.querySelector("#cmplz-manage-consent-container-nojavascript").style.display="none",c.style.display="block";e=new CustomEvent("cmplz_manage_consent_container_loaded");document.dispatchEvent(e)}}}function cmplz_equals(c,n){if("object"!=typeof c||null===c||Array.isArray(c)||"object"!=typeof n||null===n||Array.isArray(n)){if(Array.isArray(c)||(c=Object.keys(c),n=Object.keys(n)),!c||!n)return!1;if(c.length!==n.length)return!1;for(let e=0,t=c.length;e<t;e++)if(c[e]instanceof Array&&n[e]instanceof Array){if(!cmplz_equals(c[e],n[e]))return!1}else if(c[e]!==n[e])return!1}else{var e;for(e of[...new Set([...Object.keys(c),...Object.keys(n)])])if(c[e]!==n[e])return!1}return!0}function cmplzCopyAttributes(e,t){let c=["type","data-service","data-category","async"];Array.from(e.attributes).forEach(e=>{"data-script-type"===e.nodeName&&"module"===e.nodeValue?(t.setAttribute("type","module"),t.removeAttribute("data-script-type")):c.includes(e.nodeName)||t.setAttribute(e.nodeName,e.nodeValue)})}document.addEventListener("visibilitychange",function(){"hidden"===document.visibilityState&&cmplz_track_status_end()}),window.addEventListener("pagehide",cmplz_track_status_end,!1),window.addEventListener("beforeunload",cmplz_track_status_end,!1),document.addEventListener("cmplz_consent_action",function(e){cmplz_set_consent(e.detail.category,"allow"),cmplz_fire_categories_event(),cmplz_track_status()}),cmplz_add_event("click",".cmplz-accept",function(e){e.preventDefault(),setTimeout(()=>{cmplz_accept_all(),cmplz_set_banner_status("dismissed"),cmplz_fire_categories_event(),cmplz_track_status()},0)}),cmplz_add_event("click",".cmplz-accept-category, .cmplz-accept-marketing",function(e){e.preventDefault();var e=e.target,t=e.getAttribute("data-service"),e=e.getAttribute("data-category")||"marketing";
671==complianz.clean_cookies&&void 0!==t&&t?(cmplz_set_service_consent(t,!0),cmplz_enable_category("","general"),cmplz_enable_category("",t)):cmplz_set_consent(e,"allow"),cmplz_set_banner_status("dismissed"),cmplz_fire_categories_event(),cmplz_track_status()}),cmplz_add_event("click",".cmplz-accept-service",function(e){var e=e.target;"INPUT"!==e.tagName&&(void 0!==(e=e.getAttribute("data-service"))&&(cmplz_set_service_consent(e,!0),cmplz_enable_category("","general"),cmplz_enable_category("",e)),cmplz_fire_categories_event(),cmplz_track_status())}),cmplz_add_event("change",".cmplz-accept-service",function(e){var t=e.target,c=t.tagName,n=t.getAttribute("data-service");void 0!==n&&("INPUT"===c?(cmplz_set_banner_status("dismissed"),t.checked?(cmplz_set_service_consent(n,!0),cmplz_enable_category("",n)):(cmplz_set_service_consent(n,!1),setTimeout(function(){cmplz_reload_browser_compatible()},500))):(e.preventDefault(),cmplz_set_service_consent(n,!0),cmplz_enable_category("","general"),cmplz_enable_category("",n),setTimeout(function(){cmplz_reload_browser_compatible()},500))),cmplz_fire_categories_event(),cmplz_track_status()}),cmplz_add_event("click",".cmplz-save-preferences",function(e){var t,c,n,o,a,e=e.target,r=(cmplz_banner=e.closest(".cmplz-cookiebanner"),[]);for(t in cmplz_categories)cmplz_categories.hasOwnProperty(t)&&(c=cmplz_categories[t],n=cmplz_banner.querySelector("input.cmplz-"+c))&&n.checked&&r.push(c);for(o in cmplz_fire_before_categories_consent(r),cmplz_categories)cmplz_categories.hasOwnProperty(o)&&(a=cmplz_categories[o],r.includes(a)?cmplz_set_consent(a,"allow"):cmplz_set_consent(a,"deny"));cmplz_set_banner_status("dismissed"),cmplz_fire_categories_event(),cmplz_track_status()}),cmplz_add_event("click",".cmplz-close",function(){cmplz_set_banner_status("dismissed")}),cmplz_add_event("click",".cmplz-view-preferences",function(e){var e=e.target;(cmplz_banner=e.closest(".cmplz-cookiebanner")).querySelector(".cmplz-categories").classList.contains("cmplz-fade-in")?(cmplz_banner.classList.remove("cmplz-categories-visible"),cmplz_banner.querySelector(".cmplz-categories").classList.remove("cmplz-fade-in"),cmplz_banner.querySelector(".cmplz-view-preferences").style.display="block",cmplz_banner.querySelector(".cmplz-save-preferences").style.display="none"):(cmplz_banner.classList.add("cmplz-categories-visible"),cmplz_banner.querySelector(".cmplz-categories").classList.add("cmplz-fade-in"),cmplz_banner.querySelector(".cmplz-view-preferences").style.display="none",cmplz_banner.querySelector(".cmplz-save-preferences").style.display="block",(e=cmplz_banner.querySelector(".cmplz-categories .cmplz-category"))&&(e=e.querySelector("summary"))&&(e.setAttribute("tabindex","0"),e.focus()))}),cmplz_add_event("change",".cmplz-manage-consent-container .cmplz-category",function(){for(var e in cmplz_categories){var t;cmplz_categories.hasOwnProperty(e)&&(e=cmplz_categories[e],t=document.querySelector(".cmplz-manage-consent-container input.cmplz-"+e))&&(t.checked?cmplz_set_consent(e,"allow"):cmplz_set_consent(e,"deny"),cmplz_set_banner_status("dismissed"),cmplz_fire_categories_event(),cmplz_track_status())}}),cmplz_add_event("click",".cmplz-deny",function(e){e.preventDefault(),cmplz_set_banner_status("dismissed"),cmplz_deny_all()}),cmplz_add_event("click","button.cmplz-manage-settings",function(e){e.preventDefault();var e=document.querySelector(".cmplz-cookiebanner .cmplz-categories"),t=document.querySelector(".cmplz-save-settings"),c=document.querySelector("button.cmplz-manage-settings");cmplz_is_hidden(e)?(t.style.display="block",c.style.display="none",e.style.display="block"):(t.style.display="none",c.style.display="block",e.style.display="none")}),cmplz_add_event("click","button.cmplz-manage-consent",function(e){e.preventDefault(),cmplz_set_banner_status("show")}),cmplz_add_event("keypress",".cmplz-banner-slider label",function(e){32==(e.keyCode||e.which)&&document.activeElement.click()}),cmplz_add_event("keypress",".cmplz-cookiebanner .cmplz-header .cmplz-close",function(e){13==(e.keyCode||e.which)&&document.activeElement.click()});let cmplz_has_wp_video=document.querySelector(".cmplz-wp-video-shortcode"),cmplz_times_checked=0;void 0!==window.jQuery&&jQuery(document).ready(function(i){if(cmplz_has_wp_video){document.addEventListener("cmplz_enable_category",function(){t()});let e=setInterval(function(){cmplz_times_checked+=1,document.querySelector(".cmplz-wp-video-shortcode")&&cmplz_times_checked<100?t():clearInterval(e)},500)}function t(){if(document.querySelector(".cmplz-wp-video-shortcode")){var e,t,n,o=cmplz_accepted_categories(),a=cmplz_get_all_service_consents(),r=[];for(e in o)if(o.hasOwnProperty(e)){var l=o[e];if("functional"===l)break;r.push('.cmplz-wp-video-shortcode[data-category="'+l+'"]')}for(t in a)a.hasOwnProperty(t)&&r.push('.cmplz-wp-video-shortcode[data-service="'+t+'"]');n=r.join(",");let c=!1;
670<n.length&&document.querySelectorAll(n).forEach(e=>{c=!0,e.setAttribute("controls","controls"),e.classList.add("wp-video-shortcode","cmplz-processed"),e.classList.remove("cmplz-wp-video-shortcode"),e.closest(".cmplz-wp-video").classList.remove("cmplz-wp-video");var t=e.closest(".wp-video").querySelector(".cmplz-blocked-content-notice");t&&t.parentElement.removeChild(t),e.classList.remove("cmplz-blocked-content-container")}),c&&(window.wp.mediaelement?window.wp.mediaelement.initialize():(n={videoWidth:"100%",videoHeight:"100%",enableAutosize:!0},i(".wp-video-shortcode").mediaelementplayer(n)))}}function c(e){e=i(e);"function"==typeof e.parent().fitVids&&e.parent().fitVids()}document.querySelectorAll(".cmplz-video.cmplz-activated").forEach(e=>{c(e)}),document.addEventListener("cmplz_enable_category",function(){document.querySelectorAll(".cmplz-video.cmplz-activated").forEach(e=>{c(e)})})});

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.