(function(){var ac={en:{monthvar:"months",partnervar:"partners"},fr:{monthvar:"mois",partnervar:"partenaires"},it:{monthvar:"mesi",partnervar:"partner"},de:{monthvar:"Monate",partnervar:"Partnern"}};if(!Object.keys){Object.keys=(function(){var aR=Object.prototype.hasOwnProperty,aQ=!({toString:null}).propertyIsEnumerable("toString"),aO=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],aP=aO.length;return function(aT){if(typeof aT!=="function"&&(typeof aT!=="object"||aT===null)){throw new TypeError("Object.keys called on non-object")}var aV=[],aU,aS;for(aU in aT){if(aR.call(aT,aU)){aV.push(aU)}}if(aQ){for(aS=0;aS>>0,aT=aQ(aS|0,aU);if(aT<0){aT=aP(0,aU+aT)}else{if(aT>=aU){return -1}}if(aV===void 0){for(;aT!==aU;++aT){if(aW[aT]===void 0&&aT in aW){return aT}}}else{if(aV!==aV){for(;aT!==aU;++aT){if(aW[aT]!==aW[aT]){return aT}}}else{for(;aT!==aU;++aT){if(aW[aT]===aV){return aT}}}}return -1}})(Object,Math.max,Math.min)}if(!Array.isArray){Array.isArray=function(aO){return Object.prototype.toString.call(aO)==="[object Array]"}}if(!Array.prototype.find){Array.prototype.find=function(aO){if(this==null){throw new TypeError('"this" is null or not defined')}var aS=Object(this);var aR=aS.length>>>0;if(typeof aO!=="function"){throw new TypeError("callback must be a function")}var aT=arguments[1];var aP=0;while(aP>>0,aT=new Array(aS),aU=this,aO=0,aQ=-1;var aR;if(aV===undefined){while(++aQ!==aS){if(aQ in this){aR=aU[aQ];if(aP(aU[aQ],aQ,aU)){aT[aO++]=aR}}}}else{while(++aQ!==aS){if(aQ in this){aR=aU[aQ];if(aP.call(aV,aU[aQ],aQ,aU)){aT[aO++]=aR}}}}aT.length=aO;return aT}}if(window.Prototype&&parseFloat(window.Prototype.Version)<1.7&&Array.prototype.reduce){Array.prototype.mVendorObjectReduce=function(aO,aQ){if(!aO||typeof aO!=="function"){throw TypeError()}var aR=this.length;var aP=0;if(typeof aQ==="undefined"||aQ===null){aQ=this[0];++aP}for(;aP @media print {#_evh-ric,#_evh-link { display:none !important; } } ";aV.setAttribute("role","button");var a6=(a3)?aQ.mobileButtonStyle:aQ.buttonStyle;var a4=aW.createElement("a");a4.id=ai;a4.style.cssText=a6;var a7=(a3)?aQ.mobileShowIcon:aQ.showIcon;if(a7){var a0=aW.createElement("img");a0.src=aQ.buttonIcon;a0.className=r;a0.alt="AdChoices Icon";var a9="border:0;display:inline;vertical-align:middle;margin-right:10px;";var aY=window.evidon.notice._getStyleValue(aQ.buttonStyle,"height");if(aY){var aX=parseFloat(aY);var bc=aY.replace(aX,"");aX=parseInt(aX*0.6,10);a9+="height:"+aX+bc+";"}a0.style.cssText=a9;a4.appendChild(a0)}var a8=(a3)?aQ.mobileShowText:aQ.showText;if(a8){var ba=aW.createElement("span");ba.id=u;ba.className=t;ba.style.cssText="vertical-align:middle !important;";a4.appendChild(ba)}a4.onclick=function(be){aS(be)};a4.onkeyup=function(be){if(be.keyCode===13){a4.onclick()}};a4.tabIndex=0;var a5=window.evidon.notice._parseCss(a6);var aZ=a5.left===undefined?"left":"right";var bd=a5.top===undefined?"top":"bottom";var a2="display: none; position: absolute;"+aZ+":-10px;"+bd+":-10px;width: 23px; height: 23px;";var a1=document.createElement("img");a1.id=ap;a1.src="//c.evidon.com/sitenotice/images/evidon-change-alert.png";a1.alt="New vendors have been added to this site";a1.style.cssText=a2;a4.appendChild(a1);aV.appendChild(a4);document.body.appendChild(aV);var bb=window.evidon.notice.getTranslations();if(bb){aU.setButtonText(bb)}if(a3){aU.scaleForMobile()}aO=true}window.onbeforeprint=function(){var aV=document.getElementById(q);if(aV){aV.style.display="none"}};window.onafterprint=function(){var aV=document.getElementById(q);if(aV){aV.style.display=""}};this.scaleForMobile=function(){if(window.innerHeightaF){aS.consentGiven(true,true,true,true);aS.dropPixel(aG)}}};this._trackClicking=function(aX){if(!aS.pageclickConsentEnabled){return}if(!aX||!aX.target){return}if(!window.evidon.banner){return}if(window.evidon.banner.isOnBanner(aX.target)){return}if(window.evidon.gdprL2&&window.evidon.gdprL2.isOnBanner(aX.target)){return}aS.consentGiven(true,true,true,true);aS.dropPixel(at)};this._hookConsentEvents=function(){if(document.readyState=="complete"){if(aS.regulationConsentTypeId===aB){setTimeout(function(){if(window.addEventListener){window.addEventListener("scroll",aS._trackScrolling,false);window.addEventListener("click",aS._trackClicking,false)}else{window.attachEvent("onscroll",aS._trackScrolling);window.attachEvent("onclick",aS._trackClicking)}},500)}}else{if(window.addEventListener){window.addEventListener("load",aS._hookConsentEvents,false)}else{window.attachEvent("onload",aS._hookConsentEvents)}}};this._detachEventTracking=function(){aS.pageclickConsentEnabled=false;aS.scrollConsentEnabled=false;try{if(window.removeEventListener!==undefined){window.removeEventListener("click",aS._trackClicking,false)}else{window.detachEvent("onclick",aS._trackClicking,false)}if(window.removeEventListener!==undefined){window.removeEventListener("scroll",aS._trackScrolling,false)}else{window.detachEvent("onscroll",aS._trackScrolling,false)}}catch(aX){}};if(!this.isMobile()){if(window.addEventListener){window.addEventListener("resize",function(){aS.showNotice()})}else{window.attachEvent("onresize",function(){aS.showNotice()})}}this._isDomReady=function(){if(document.readyState=="loading"){console.log("dom not ready, setting event");document.addEventListener("DOMContentLoaded",function(){console.log("dom ready, triggering load");try{document.removeEventListener("DOMContentLoaded")}catch(aX){}aS.showNotice()},false);return false}else{return true}};var aV=document.getElementById("evidon-notice");if(aV){var aW=aV.src;var aU=aW.indexOf(".com");if(aU!==-1){aW=aW.substr(0,aU+4);y=aW;aH=y+"/sitenotice/";B=aH+window.evidon.id}var aO=this._getAttributeValue(aV,"data-options");if(aO){if(aO.indexOf("block-domain-check")>-1){this.blockDomainCheck=true}if(aO.indexOf("amp-support")>-1){this.shouldSupportAmp=true}}}var aR=this.activeTranslationsLangCode||((window.navigator.languages&&window.navigator.languages.length>0)?window.navigator.languages[0]:(window.navigator.userLanguage||window.navigator.language));if(aR){if(aR.toLowerCase()==="nb"){aR="no"}this.activateTranslations(aR.toLowerCase())}if(!this.blockDomainCheck){this.setDomain(null,true)}if(this._isConsentGiven()&&this.activeSettings&&this.vendorList){if(!this.consentRequired){this._runNoConsentFlow()}else{if(this.regulationConsentTypeId===aB){this._runOptInFlow()}else{if(this.regulationConsentTypeId===aC){this._runOptOutFlow()}}}}var aQ=window.addEventListener?"addEventListener":"attachEvent";var aP=window[aQ];var aT=aQ=="attachEvent"?"onmessage":"message";aP(aT,function(aY){var aZ=aY.message?"message":"data";var aX=aY[aZ];if(aX=="acceptclicked"){aS._closeL3()}},false)};aI.prototype._parseCss=function(aS){var aQ=aS.split(";");var aT={};for(var aO=0;aO=3){var aP=aQ[aQ.length-2];if(this._isTwoPartTLD(aP)){aR=aQ[aQ.length-3]}else{aR=aP}}}return aR};aI.prototype._isConsentRequired=function(aO){if(aO.hasOwnProperty("regulationConsentTypeId")){return(aO.regulationConsentTypeId!==0)}else{if(aO.hasOwnProperty("consentRequired")){return aO.consentRequired}else{return aO.duration>0}}};aI.prototype._loadSettings=function(aQ){this.iabEnabled=(typeof aQ.iabEnabled==="undefined")?true:aQ.iabEnabled;if(window.__cmp){this.iabVersion=1}else{if(window.__tcfapi){this.iabVersion=2}else{this.iabVersion=2}}this.consentTypeId=aQ.consentid;this.privacyAccessTypeId=aQ.accessid;this.consentRequired=this._isConsentRequired(aQ);this.consentDuration=aQ.duration;this.L2Enabled=(typeof aQ.l2enabled==="undefined")?false:aQ.l2enabled;this.gdprEnabled=(typeof aQ.gdprEnabled==="undefined")?false:aQ.gdprEnabled;this.displayDsarInFrame=(typeof aQ.displayDsarInFrame==="undefined")?false:aQ.displayDsarInFrame;this.adChoicesEnabled=(typeof aQ.adChoicesEnabled==="undefined")?true:aQ.adChoicesEnabled==1;this.closeConsentEnabled=(typeof aQ.closeConsentEnabled==="undefined")?true:aQ.closeConsentEnabled;this.regulationId=(typeof aQ.regulationId==="undefined")?(this.gdprEnabled?aD.GDPR:0):aQ.regulationId;this.regulationConsentTypeId=(typeof aQ.regulationConsentTypeId==="undefined"?aB:aQ.regulationConsentTypeId);this.regulationRightsId=(typeof aQ.regulationRightsId==="undefined")?(this.regulationId==0?aD.GDPR:aQ.regulationId):aQ.regulationRightsId;this.scrollConsentEnabled=false;this.navigationConsentEnabled=false;this.pageclickConsentEnabled=false;var aO=(typeof aQ.consentactions==="undefined")?"":aQ.consentactions;if(aO&&this.consentRequired){this.scrollConsentEnabled=(aO.indexOf("s")!==-1);this.navigationConsentEnabled=(aO.indexOf("n")!==-1);this.pageclickConsentEnabled=(aO.indexOf("p")!==-1)}var aP=(typeof aQ.consentDetailLevel==="undefined")?"cv":aQ.consentDetailLevel;this.consentDetailCategories=aP.indexOf("c")>-1;this.consentDetailVendors=aP.indexOf("v")>-1;this.privacypolicylink=this.getPrivacyPolicyLink();this.privacyPolicyEnabled=(typeof aQ.privacyPolicyEnabled==="undefined")?(this.privacypolicylink!=="#"):aQ.privacyPolicyEnabled;this.venodrDisplayEnabled=(typeof aQ.vendorDisplayEnabled==="undefined")?true:aQ.vendorDisplayEnabled;this.dnsEnabled=(typeof aQ.dnsEnabled==="undefined")?(this.isUSOptOutRegulation()):aQ.dnsEnabled;this.displayDnsInFrame=(typeof aQ.displayDnsInFrame==="undefined")?false:aQ.displayDnsInFrame;this.enableAcceptButton=(typeof aQ.enableAcceptButton==="undefined")?null:aQ.enableAcceptButton;this.enableDeclineButton=(typeof aQ.enableDeclineButton==="undefined")?null:aQ.enableDeclineButton;this.enableOptionsButton=(typeof aQ.enableOptionsButton==="undefined")?null:aQ.enableOptionsButton;this.cookiePolicyEnabled=(typeof aQ.cookiePolicyEnabled==="undefined")?false:aQ.cookiePolicyEnabled;this.cookiepolicylink=this.getCookiePolicyLink();this.cnilupdatesenabled=(typeof aQ.cnilUpdatesEnabled==="undefined")?false:aQ.cnilUpdatesEnabled;this.displaytimeout=(typeof aQ.displaytimeout==="undefined")?0:aQ.displaytimeout;this.templateEnabled=(typeof this.activeSettings.templateEnabled==="undefined")?0:this.activeSettings.templateEnabled};aI.prototype._isTwoPartTLD=function(aQ){var aP=["co","com","info","web","info","gov","edu","biz","net","org"];var aO=["uk","us","fr","es","de","at","au","ae","be","br","ca","ch","cn","co","cz","dk","eg","eu","fi","gb","gr","hk","hr","hu","ie","in","jp","mx","nl","no","nz","pl","ro","ru","se"];return(aP.indexOf(aQ)!==-1||aO.indexOf(aQ)!==-1)};aI.prototype._getTLD=function(aO){var aQ=aO.split("."),aR="";if(aQ&&aQ.length>1){aR=aQ[aQ.length-1];if(aQ.length>=3){var aP=aQ[aQ.length-2];if(this._isTwoPartTLD(aP)){aR=aP+"."+aR}}}return aR};aI.prototype._createCloseIcon=function(a5,aX,aR,a2,a3,aO,a7){var aS=null,aT=document;var a4=this._parseCss(a5),aQ=[],a6=["stroke","stroke-width"];if(!a4.hasOwnProperty("z-index")){a4["z-index"]=100}for(var aY in a4){if(a6.indexOf(aY)===-1){aQ.push(aY+":"+a4[aY])}}if(typeof a2==="undefined"){a2="#333333"}a2=a4.hasOwnProperty("stroke")?a4.stroke:a2;if(typeof a3==="undefined"){a3=2}a3=a4.hasOwnProperty("stroke-width")?a4["stroke-width"]:a3;aQ.push("border:0");aQ.push("padding:0");aQ.push("background:transparent");if(typeof SVGRect!=="undefined"){var aZ="http://www.w3.org/2000/svg";aS=aT.createElementNS(aZ,"svg");aS.setAttribute("viewBox","0 0 14 12");aS.setAttribute("version","1.1");aS.setAttribute("xmlns",aZ);aS.setAttribute("class",aR);aS.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink");aS.setAttribute("style","position:absolute; top:0; left:0;");aS.setAttribute("aria-label",aO?aO+" icon":"close dialog icon");var aU=aT.createElementNS(aZ,"g");aU.id=a7?"__ghostery-close-icon-svg-"+a7:"__ghostery-close-icon-svg";aU.setAttribute("stroke","none");aU.setAttribute("fill","none");aU.setAttribute("fill-rule","evenodd");aU.setAttribute("stroke-linecap","square");var aV=aT.createElementNS(aZ,"g");aV.setAttribute("transform","translate(-1410.000000, -643.000000)");aV.setAttribute("stroke",a2);aV.setAttribute("stroke-width",a3);var aW=aT.createElementNS(aZ,"g");aW.setAttribute("transform","translate(1411.000000, 643.000000)");var a0=aT.createElementNS(aZ,"path");a0.setAttribute("d","M0.5,0.5 L11.5679722,11.5679722");a0.setAttribute("stroke",a2);var a1=aT.createElementNS(aZ,"path");a1.setAttribute("d","M0.5,0.5 L11.5679722,11.5679722");a1.setAttribute("transform","translate(6.000000, 6.000000) scale(-1, 1) translate(-6.000000, -6.000000) ");a1.setAttribute("stroke",a2);aW.appendChild(a0);aW.appendChild(a1);aV.appendChild(aW);aU.appendChild(aV);aS.appendChild(aU)}else{aS=aT.createElement("img");aS.style.cssText=a5;aS.src="//c.evidon.com/pub/ric-close.png";aS.alt="close";aS.tabIndex=0}var aP=aT.createElement("button");aP.id=aX;aP.setAttribute("aria-label",aO?aO+" button":"close dialog button");aP.style.cssText=aQ.join(";");aP.appendChild(aS);aP.onmouseover=function(){this.style.border="1px solid "+a2};aP.onmouseout=function(){this.style.border=0};return aP};aI.prototype.appendScript=function(aW,aO,aQ){if(this._isScriptLoaded(aW)){if(aO){aO()}return}var aS,aV=document.createElement("script"),aU=aR();function aR(){return document.getElementsByTagName("script")[0]||document.getElementsByTagName("head")[0]}function aT(){aV.onload=aV.onreadystatechange=null;aO()}aV.async=true;aV.src=aW;aV.charset="utf-8";if(typeof aQ==="function"){aV.onerror=aQ}if(aO){aV.onreadystatechange=function(){if(!aS&&(this.readyState=="loaded"||this.readyState=="complete")){aS=true;aT()}};aV.onload=aT}try{aU.parentElement.insertBefore(aV,aU);this.scriptsLoaded.push(aW)}catch(aP){console.log(aP)}};aI.prototype._getSettings=function(){var aY=this;if(!this.domain){return null}function aQ(ba,bb){if(!ba||!bb){return false}else{return ba.substr(ba.length-bb.length)===bb}}function aS(ba){var be=[];for(var bb in aY.settings){bb=bb.toLowerCase();var bc=bb.split("|")[0];if(!aQ(bc,"/")){bc+="/"}var bd=ba.toLowerCase();if(!aQ(bd,"/")){bd+="/"}if(bc.indexOf(bd)===0){be.push(bb)}}return be}var aW=aS(this.domain),a3=aY._getRootDomain(aY.domain),a9=aY._getTLD(this.domain);var a7=aY.domain.substr(0,aY.domain.indexOf(a3))+a3+".*";aW=aW.concat(aS(a7));aW=aW.concat(aS(a3+"."+a9));aW=aW.concat(aS(a3+".*"));if(aW.length===1){aY.activeDomain=aW[0].split("|")[0];return this.settings[aW[0]]}else{if(aW.length>1){aW.sort(function(ba,bb){return(bb.length-ba.length)});var aU=aY.domain+this.path,a5=a3+"."+a9+this.path,a1=[];for(var aT=0;aT=aX){aR.push(aZ);if(aX===0){aX=a0.length}}else{if(a5.indexOf(a0)!==-1&&a0.length>=a4){a6.push(aZ);a4=a0.length}}}if(aR.length===0&&a6.length>=0){if(a6.length===1){a8=aY.settings[a6[0]];aY.activeDomain=a6[0].split("|")[0]}else{a1=a6}}else{if(aR.length===1){a8=aY.settings[aR[0]];aY.activeDomain=aR[0].split("|")[0]}else{if(aR.length>1){a1=aR}}}if(!a8){for(var aT=0;aT0)?this.consentDuration:12;aO.setMonth(aO.getMonth()+aQ);return aO};aI.prototype._getConsentCookieDomainPath=function(){var aP="/";var aR=this.activeSettings;var aO=aR.hasOwnProperty("includeSubdomains")?aR.includeSubdomains:0;if(aO===2){aP=this.activeDomain;if(!aP){console.error("Attempted to set a cookie without a valid settings object");return}var aQ=aP.indexOf("/");if(aQ!==-1){aP=aP.substring(aQ)}aP=window.location.pathname.substr(0,aP.length)}return aP};aI.prototype._getConsentCookieDomain=function(){var aP=this.activeSettings;var aO=aP.hasOwnProperty("includeSubdomains")?aP.includeSubdomains:0;if(aO===1){return"."+this._getRootDomain(this.domain)+"."+this._getTLD(this.domain)}return null};aI.prototype._isConsentGiven=function(){var aO=this._getConsentCookie();return(null!==aO)};aI.prototype._deleteConsentCookie=function(){var aO=this._getConsentCookieDomain();var aQ=this._getConsentCookieDomainPath();var aP=new Date(1970,1,1);this._removeLocalStorageItem(D+this.activeSettings.id);this._writeCookie(C,"",aP.toUTCString(),aQ,aO)};aI.prototype.getConsentData=function(){var aP=this.activeSettings.hasOwnProperty("includeSubdomains")?this.activeSettings.includeSubdomains:0;var aO;if(aP==1){aO=this._getConsentCookie()}if(!aO){aO=this._getConsentLocalStorage()}if(!aO){aO={name:null,value:null}}return aO};aI.prototype._getConsentLocalStorage=function(){var aQ=D+this.activeSettings.id;var aO=this._readLocalStorage(aQ);if(aO){try{aO=JSON.parse(aO)}catch(aP){}return{name:aQ,value:aO}}else{return aO}};aI.prototype._getConsentCookie=function(){return this._getCookie(C)};aI.prototype._setConsentCookie=function(aX,aO,aY,aU,aP,aQ){if(typeof aP==="undefined"||aP===null){aP=this.regulationConsentTypeId}if(aP===0){aP=aB}var aR=this._getDefaultConsentCookieData(aO,aY,aU);var aT=this._getConsentCookieExpDate(aX);var aW=this._getConsentCookieDomainPath();var aS=this._getConsentCookieDomain();if(aX){aR.consent_date=aX.toISOString()}aR.consent_type=aP;if(!aR.hasOwnProperty("consent_date")){aR.consent_date=new Date()}var aV=this.activeSettings.hasOwnProperty("includeSubdomains")?this.activeSettings.includeSubdomains:0;if(this._writeLocalStorage(D+this.activeSettings.id,JSON.stringify(aR))){if(aV!=1){delete (aR.categories);delete (aR.vendors);delete (aR.cookies)}}if(this._getSuppressionCookie()){this.dropSuppressionCookie(-1)}if(aQ!==false){if(!this._writeCookie(C,JSON.stringify(aR),aT.toUTCString(),aW,aS)){return false}}return aR};aI.prototype._isAllVendorsRequired=function(aQ){var aP=true;for(var aO=0;aOaP){return true}return false};aI.prototype._updateConsentData=function(a4,aY){this.gpcConflict=0;var aT=this.getConsentData().value;var aQ=(aT&&aT.consent_date)?new Date(aT.consent_date):new Date();var aS=(aT&&aT.consent_type)?aT.consent_type:aB;var a0=50;var aV=this._getConsentCookieExpDate(aQ);var aZ=this._getConsentCookieDomainPath();var aU=this._getConsentCookieDomain();if(!aT){aT={}}if(!aT.hasOwnProperty(a4)){aT[a4]={}}aT[a4][this.activeCountryId]=aY;if(!aT.hasOwnProperty("consent_date")){aT.consent_date=aQ}if(!aT.hasOwnProperty("consent_type")){aT.consent_type=aS}if(a4=="vendors"&&this.optOutDetails.categories){var aP=JSON.parse(JSON.stringify(this.optOutDetails.categories));var aO=aT.categories[this.activeCountryId];for(var aX in aO){var a1=0;var aR=0;if(aP[aX].required===1&&!this.isGPCApply()){aO[aX]=true}else{if(aP.hasOwnProperty(aX)){var a2=aP[aX]["vendors"];var a3=this.activeSettings.vendorLinks;if(this.consentDetailCategories&&this.isGPCApply()&&aP[aX]["dataSharing"]==1){a2.forEach(function(a5){for(var a6 in a3){if(a3[a6]==a5.CompanyIdentifier){aY[a6]=aO[aX]}}})}else{a2.forEach(function(a5){for(var a6 in a3){if(a3[a6]==a5.CompanyIdentifier){a1=a1+1;if(aY[a6]==true){aR=aR+1}}}});aO[aX]=false;if(aR/a1*100>a0){aO[aX]=true}}}}}aT.categories[this.activeCountryId]=aO}aT.gpc=this.isGPCApply();var aW=this.activeSettings.hasOwnProperty("includeSubdomains")?this.activeSettings.includeSubdomains:0;if(this._writeLocalStorage(D+this.activeSettings.id,JSON.stringify(aT))){if(aW!=1){delete (aT.categories);delete (aT.vendors);delete (aT.cookies)}}if(this._getSuppressionCookie()){this.dropSuppressionCookie(-1)}this._writeCookie(C,JSON.stringify(aT),aV.toUTCString(),aZ,aU)};aI.prototype._updateConsentedCategories=function(aO){this._updateConsentData("categories",aO)};aI.prototype._updateConsentedCookies=function(aO){this._updateConsentData("cookies",aO)};aI.prototype._updateConsentedVendors=function(aS){var aQ=this.getConsentData().value;if(!aQ.hasOwnProperty("vendors")){aQ.vendors={}}var aO=aQ.vendors[this.activeCountryId];if(!aS){var aP=this.getActiveVendors();aS=this._getNewVendors(aP,aO)}var aT={};if(Array.isArray(aO)){for(var aR=0;aR0){adobe.optIn.approve(aO)}if(aQ.length>0){adobe.optIn.deny(aQ)}}}};aI.prototype._triggerTagManagerEvent=function(aO,a7,aR){if(this.tagManagerEventFired){return}var a6=(a7)?this._createListFromItem(a7):"";var aQ=(aO)?this._createListFromItem(aO):"";var aP=this._createListFromItem(this._getCategoriesNameReturnObject()||{});var a4=this._createListFromItem(this._getVendorsNameReturnObject()||{});try{var aS=window.dataLayer||[];aS.push({event:aK,consentCategories:aQ,consentVendors:a6,consentCategoriesEnabled:aP,consentVendorsEnabled:a4})}catch(aT){}if(typeof window.evidon.enableGoogleConsentSupport==="undefined"||window.evidon.enableGoogleConsentSupport){try{var a0=["google-adsense","doubleclick","doubleclick-bid-manager-formerly-invite-media","admeld","google-adwords","google-display-network","admob-google","adometry","google-ad-services","google-mobile-ads","googleima"];var a1=["google-analytics"];var aZ=[];var aY=[];var aW="denied",aV="denied",aX="denied",aU="denied";if(a6=="all"){aW="granted";aV="granted";aX="granted";aU="granted"}else{if(a6){var a5=a6.split(",");for(var a3=0;a3-1){this.dropPixel(ao);return true}else{return false}};aI.prototype._setTranslationValues=function(aR,aS){for(var aQ in aR){var aO=aR[aQ];if(aO&&typeof aO==="object"){var aP=aO.id;aR[aQ]=aS[aP]}}return aR};aI.prototype._getTranslationId=function(){var aR=this.activeSettings;if(!aR){return null}if(aR.translations.hasOwnProperty(this.languageRoot)){var aS=aR.translations[this.languageRoot];var aP=0;if(aS.hasOwnProperty(this.languageCode)){aP=aS[this.languageCode]}else{if(aS.hasOwnProperty(this.languageRoot)){aP=aS[this.languageRoot]}else{if(this.languageRoot=="en"&&aS.hasOwnProperty("en-us")){aP=aS["en-us"]}else{function aO(aU){for(var aT in aU){return aT}}var aQ=aO(aS);if(aQ){aP=aS[aQ]}}}}return aP}else{return null}};aI.prototype._setActiveTranslations=function(){if(!this.languageRoot||!this.translations){return}if(!this.activeSettings){if(!this.translations.hasOwnProperty(this.languageRoot)){this.activateTranslations(this.languageCode||this.languageRoot)}}else{var aU=this.activeSettings;if(window.evidon&&window.evidon.usegranulartranslations!==false){window.evidon.usegranulartranslations=true}var aQ=(typeof window.evidon.usegranulartranslations==="undefined")?false:window.evidon.usegranulartranslations;if(aQ){this.loadTranslations()}else{if(aU.translations.hasOwnProperty(this.languageRoot)){if(this.translations.hasOwnProperty(this.languageRoot)){var aR=this._getTranslationId();this.activeTranslationId=aR;if(this.activeTranslationId){var aV=this.translations[this.languageRoot];if(aV.hasOwnProperty("items")){this.activeTranslations=this._setTranslationValues(aV[aR],aV.items);if(aV.hasOwnProperty("categories")){var aO=null;if(aV.categories.hasOwnProperty(this.categorySetId)){aO=aV.categories[this.categorySetId]}else{aO=aV.categories["0"]}var aP=this.activeTranslations.languageCode;if(aO.hasOwnProperty(aP)){this.activeTranslations.categories=aO[aP]}else{var aT=Object.keys(aO);var aS=aT[0];this.activeTranslations.categories=aO[aS]}}}else{this.activeTranslations=aV[aR]}}}else{this.activateTranslations(this.languageCode||this.languageRoot)}}else{this.activateTranslations(aU.defaultTranslation.code)}}}};aI.prototype._shouldShowConsentUI=function(){var aO=this._isConsentGiven();var aP=this._getSuppressionCookie();if(this.consentTypeId===H){return false}else{if(aP){return false}else{if(!this.consentRequired&&!aO){return true}else{return !aO}}}};aI.prototype._showConsentUI=function(){var aO=this._getSuppressionCookie();if(this.consentTypeId===H||aO){return}else{if(this.consentTypeId===F){if(P.indexOf(this.companyId)>-1){this.appendScript(aH+Q.BANNER_SCRIPT)}else{this.appendScript(aH+k)}if(this.activeTranslations&&window.evidon.banner){if(!document.getElementById("_evidon_banner")){window.evidon.banner.createNotice()}else{window.evidon.banner.setTextValues(this.activeTranslations)}}}else{if(this.consentTypeId===G){if(P.indexOf(this.companyId)>-1){this.appendScript(aH+Q.BARRIER_SCRIPT)}else{this.appendScript(aH+l)}if(this.activeTranslations&&window.evidon.barrier){if(!document.getElementById("_evidon-barrier-wrapper")){window.evidon.barrier.createBarrierNotice()}else{window.evidon.barrier.setTextValues(this.activeTranslations)}}}}}};aI.prototype._showConsentAccess=function(){var aP="",aO=this;if(this.privacyAccessTypeId===a.LINK){aP=this.getLinkStyle();if(aP&&window.evidon.link){window.evidon.link.createLink(aP);if(this.activeTranslations){window.evidon.link.setLinkText(this.activeTranslations)}}}else{setTimeout(function(){var aQ=((typeof window.evidon.banner!=="undefined"&&window.evidon.banner.isVisible())||(typeof window.evidon.barrier!=="undefined"&&window.evidon.barrier.isVisible()));if(!aQ){aP=aO.getButtonStyle();if(aP&&window.evidon.button){window.evidon.button.createButton(aP);if(aO.activeTranslations){window.evidon.button.setButtonText(aO.activeTranslations)}aO.checkConsentedVendors();window.evidon.button.show()}}else{window.evidon.button.hide()}},500)}};aI.prototype._runNoConsentFlow=function(){if(this.consentRequired){return}this._runConsentCallback();if(!this._isConsentGiven()){this._showConsentUI()}this._showConsentAccess()};aI.prototype._runOptInFlow=function(){var aP=this._getSuppressionCookie();if(!aP){if(this._isConsentGiven()){this._isGPCConflict();this._runConsentCallback()}else{var aO=this._getConsentLocalStorage();if(aO){this._removeLocalStorageItem(D+this.activeSettings.id)}this._setConsentCookie(null,false,false,false,this.regulationConsentTypeId,false);if(this.consentTypeId===F){this._hookConsentEvents()}this._showConsentUI()}}this._showConsentAccess()};aI.prototype._isGPCConflict=function(){var aP=this.getConsentData();if(aP.name!==null){var aO=aP.value.hasOwnProperty("gpc")?aP.value.gpc:null;if(aO===0&&this.isGPCApply()===1){this.gpcConflict=1;this.showPreferencesDialog();return}}};aI.prototype._runOptOutFlow=function(){var aP=this._getSuppressionCookie();this._isGPCConflict();if(this._isConsentGiven()){if(this.consentDetailCategories){var aO=this._getConsentedCategories();if(aO&&!aO.hasOwnProperty("all")){this._runConsentCallback(aO,undefined,null)}}else{if(this.consentDetailVendors){var aQ=this._getConsentedVendors();if(aQ){this._runConsentCallback(undefined,aQ,null)}}}}else{if(!aP){this._setConsentCookie(null,true,true,true,this.regulationConsentTypeId,false)}this._runConsentCallback();if(!aP){this._showConsentUI()}}this._showConsentAccess()};aI.prototype._getActiveCountryObject=function(){if(this.country&&this.activeSettings){var aO=this.country.id;if(this.activeStateId&&this.activeSettings.hasOwnProperty("states")&&this.activeSettings.states.hasOwnProperty(this.activeStateId)){return this.activeSettings.states[this.activeStateId]}else{if(this.activeSettings.countries.hasOwnProperty(aO)){this.activeCountryId=aO;return this.activeSettings.countries[aO]}else{this.activeCountryId=this.activeSettings.defaultCountry;return this.activeSettings.countries[this.activeSettings.defaultCountry]}}}return null};aI.prototype.dropPixel=function(aO,aR){var aQ=window.evidon.id;var aT=this.activeSettings.id;var aP=this.activeCountryId;var aV=av;if(aV.substr(aV.length-1)!=="/"){aV+="/"}aV+=aQ+"/"+aT+"/"+aP+"/"+aO+"/"+this.consentTypeId+"/"+this.privacyAccessTypeId;if(this.activeTranslationId!=0){aV+="/"+this.activeTranslationId}if(this.pixelsDropped.indexOf(aV)===-1||aR){this.pixelsDropped.push(aV);var aU=[];aU.push("consent="+((this.consentIsGiven)?"1":"0"));if(this.customerUserId){aU.push("u="+encodeURI(this.customerUserId))}if(typeof this.regulationId!=="undefined"&&this.regulationId!==null){aU.push("regulationid="+this.regulationId)}if(typeof this.regulationConsentTypeId!=="undefined"&&this.regulationConsentTypeId!==null){aU.push("regulationconsenttypeid="+this.regulationConsentTypeId)}if(typeof this.activeStateId!=="undefined"&&this.activeStateId!==null){aU.push("stid="+this.activeStateId)}if(typeof this.userGpcEnabled!=="undefined"&&this.userGpcEnabled!==null){aU.push("bgpc="+this.userGpcEnabled)}if(typeof this.noticeGpcEnabled!=="undefined"&&this.noticeGpcEnabled!==null){aU.push("ngpc="+this.noticeGpcEnabled)}var aW=this.getParentOrigin();if(aW){aU.push("d="+aW)}aV+="?"+aU.join("&");aV=aV.substring(0,2048);var aS=new Image(0,0);aS.style.display="none";aS.src=aV}};aI.prototype.consentGiven=function(aP,aO,aT,aS,aQ){var aR=false;if(typeof aQ==="undefined"||aQ===null){aQ=aB}if(!this._isConsentGiven()&&!this.shouldSupportAmp){aR=this._setConsentCookie(null,aO,aT,aS,aQ)}else{aR=this._isConsentGiven()}this._runConsentCallback(aO,aT,aS);this._detachEventTracking();if(!this.shouldSupportAmp){if(window.evidon.banner){window.evidon.banner.destroyNotice()}if(window.evidon.barrier){window.evidon.barrier.destroyNotice()}}if(aR){if(typeof aP==="undefined"||aP===false){this.dropPixel(j)}this.navigationStack=[];this.showNotice()}else{if(this.shouldSupportAmp){}else{console.error("Unable to set ConsentCookie")}}};aI.prototype.consentChanged=function(aO,aQ,aP){if(window.evidon.consentChangedCallback!==undefined&&this.consentChangedCallbackExecuted){window.evidon.consentChangedCallback(aO,aQ,aP)}this.consentChangedCallbackExecuted=false;this.tagManagerEventFired=false;aQ=this._getVendorsReturnObject(aQ);aP=this._getCookiesReturnObject(aP);this._triggerTagManagerEvent(aO,aQ,aP);this._runAdobeOptIn(aO,aQ)};aI.prototype.RejectGiven=function(){this.consentGiven(true,false,false,false,aC);var aO=this._getConsentedCategories();var aR=this._getConsentedVendors();var aP=this._getConsentedCookies();if(window.evidon.consentRejectCallback!==undefined&&!this.consentRejectCallbackExecuted){window.evidon.consentRejectCallback(aO,aR,aP)}this.consentRejectCallbackExecuted=true;this.tagManagerEventFired=false;var aS=this._getVendorsReturnObject(aR);var aQ=this._getCookiesReturnObject(aP);this._triggerTagManagerEvent(aO,aS,aQ);this._runAdobeOptIn(aO,aS)};aI.prototype.closeGiven=function(){this._runCloseCallback();this._detachEventTracking();if(!this.shouldSupportAmp){if(window.evidon.banner){window.evidon.banner.destroyNotice()}if(window.evidon.barrier){window.evidon.barrier.destroyNotice()}}};aI.prototype.declineGiven=function(){this._runDeclineCallback();this._detachEventTracking();if(!this.shouldSupportAmp){if(window.evidon.banner){window.evidon.banner.destroyNotice()}if(window.evidon.barrier){window.evidon.barrier.destroyNotice()}}this._showConsentAccess()};aI.prototype.getConsentUrl=function(){var aO=window.evidon.id;var aR=this.activeSettings.id;var aP=this.activeCountryId;var aQ=this.languageCode;return ab+aO+"/"+aR+"/"+aP+"?lang="+aQ};aI.prototype.getDataRequestUrl=function(aR){var aO=window.evidon.id;var aS=this.activeSettings.id;var aP=this.activeCountryId;var aU=this.activeStateId?this.activeStateId:0;var aT=this.regulationRightsId;var aQ=aR?"embed=1":"";return K+aO+"/"+aS+"/"+aP+"/"+aT+"/"+aU+"?"+aQ};aI.prototype.getDoNotSellRequestUrl=function(aR){var aO=window.evidon.id;var aS=this.activeSettings.id;var aP=this.activeCountryId;var aU=this.activeStateId?this.activeStateId:0;var aT=this.regulationId;var aQ=aR?"embed=1":"";return K+aO+"/"+aS+"/"+aP+"/"+aT+"/"+aU+"?doNotSell=1&"+aQ};aI.prototype.getPrivacyPolicyLink=function(){if(!this.activeCountryId){return"#"}var aP=this.activeSettings;var aO=this._getActiveCountryObject();if(aO&&aP.privacyLinks&&aP.privacyLinks.hasOwnProperty(aO.privacyLinkId)){return this._fixurl(this.activeSettings.privacyLinks[aO.privacyLinkId])}return"#"};aI.prototype.getCookiePolicyLink=function(){if(!this.activeCountryId){return"#"}var aP=this.activeSettings;var aO=this._getActiveCountryObject();if(aO&&aP.cookieLinks&&aP.cookieLinks.hasOwnProperty(aO.cookieLinkId)){return this._fixurl(this.activeSettings.cookieLinks[aO.cookieLinkId])}return"#"};aI.prototype.showPreferencesDialog=function(aP,aQ){var aO=this;if(!window.evidon.preferencesDialog){NUM_STACK++;if(NUM_STACK>MAXIMUM_STACK){throw new RangeError("Unable to load the script.")}setTimeout(function(){aO.appendScript(aH+ax,function(){aO.showPreferencesDialog(aP,aQ)})},100);window.evidon.events.subscribe("l2closed",function(){aO._showConsentAccess()},1)}else{if(window.evidon.preferencesDialog.isDisplayed&&window.evidon.preferencesDialog.isDisplayed()){return}if(aP===undefined){window.evidon.preferencesDialog.TAB_ID=aP;window.evidon.preferencesDialog.TAB_SECONDARY_ID=aQ;if(this.isUSOptOutRegulation()&&!this._isConsentGiven()&&this.dnsRightsType!==0){if(this.dnsEnabled){aP=this.PREFDIAG_TABS.DONOTSELL}}if(this.iabEnabled&&this.iabVersion===2&&window.evidon.cmpv2){window.evidon.cmpv2.consentUIShown()}}if(aP){window.evidon.preferencesDialog.TAB_ID=aP}if(aQ){window.evidon.preferencesDialog.TAB_SECONDARY_ID=aQ}window.evidon.preferencesDialog.init();this.dropPixel(U);if(typeof window.evidon.banner!=="undefined"&&window.evidon.banner){window.evidon.banner.hideForOptions()}if(typeof window.evidon.barrier!=="undefined"&&window.evidon.barrier){window.evidon.barrier.hideForOptions()}}};aI.prototype.showOptionPanel=function(aP){var aO=this;if(!window.evidon.gdprL2){if(P.indexOf(this.companyId)>-1){this.appendScript(aH+Q.L2_SCRIPT,function(){aO.showOptionPanel(aP)})}else{this.appendScript(aH+V,function(){aO.showOptionPanel(aP)})}this.dropPixel(U)}else{window.evidon.gdprL2.showOverlay(aP)}};aI.prototype.showOptions=function(aO,aP,aQ){if(this.L2Enabled){if(this.getPreferencesDialogV2Enabled()){this.showPreferencesDialog(aP,aQ)}else{this.showOptionPanel(aO)}}else{this.showConsentTool(aO)}};aI.prototype.showConsentTool=function(aT){var aQ=(this.activeSettings.consentDisplayType===undefined)?1:(this.activeSettings.consentDisplayType||1);var aU=(aQ==X||(aQ==Y&&window.location.protocol.indexOf("https")===-1));if(aU){var aO=document.createElement("div");aO.style.cssText="background-color: #000000; opacity:.7; position:fixed;top:0;left:0;bottom:0;right:0; z-index:2147483640;";aO.id=ar;document.body.appendChild(aO);var aR=document.createElement("div");aR.id=aa;if(this.isMobile()){aR.style.cssText="position:absolute; top:0;left:0; bottom:0; right:0;;z-index:2147483647; padding: 28px 0 0 0;overflow:auto;-webkit-overflow-scrolling:touch;overflow-y:scroll;"}else{aR.style.cssText="position:fixed; top: 10%;left:20%; width:60%;height:80%;z-index:2147483647; padding: 28px 0 0 0;"}var aP=document.createElement("button");aP.style.cssText="position:absolute; top:4px;right:8px;color:white; background:transparent;font-size:12px;border:0; psdding:4px;cursor:pointer;padding:0;";aP.innerHTML=this.activeTranslations.gdprl2Close+"  ✖";aP.onclick=this._closeL3;aR.appendChild(aP);var aS=document.createElement("iframe");aS.id="_evidon-consent-frame";aS.scrolling="yes";aS.seamless="seamless";aS.frameBorder="0";aS.src=this.getConsentUrl();aS.style.cssText="width:100%; height:100%;";aS.onload=function(){document.getElementById(aa).style.position="fixed"};aR.appendChild(aS);document.body.appendChild(aR)}else{window.open(this.getConsentUrl(),"L3")}this.dropPixel(Z)};aI.prototype.isMobile=function(){var aO=navigator.userAgent;return(/ip(hone|od)|(android).+mobile|opera m(ob|in)i/i).test(aO)||(/Android/).test(aO)||(/iPhone/).test(aO)||(/iPad/).test(aO)};aI.prototype.showNotice=function(){if(!this.settings){if(window.evidon.settings!==undefined&&window.evidon.settings){this.settings=window.evidon.settings}else{return}}if(!this.country){if(window.evidon.location){this.country=window.evidon.location}}if(!this.country){return}this.activeSettings=this._getSettings();if(!this.activeSettings){return}this.activeCountryId=this.country.id;this.activeStateId=(this.country.hasOwnProperty("stateId"))?this.country.stateId:null;var aS=this._getActiveCountryObject();var aW=this.activeSettings.hasOwnProperty("includeSubdomains")?this.activeSettings.includeSubdomains:0;if(aW==1){var aT=this._getConsentCookie();if(aT){this._removeLocalStorageItem(D+this.activeSettings.id);this._writeLocalStorage(D+this.activeSettings.id,JSON.stringify(aT.value))}}if(!aS){console.log("No consent settings found for the country: "+this.activeCountryId);return}if(!this._isDomReady()){return}if(!this.themes){this.themes=(window.evidon.themes||null)}if(!this.themes){return}if(!this.vendorList){if(this.activeSettings.vendorLinks){this.vendorList=this.activeSettings.vendorLinks}else{this.getVendorList();return}}if(!this.activecategorySet){if(this.activeSettings.vendorCategory&&window.evidon.activeCategory){var aP={};var a2=window.Prototype;var aO=window.evidon.activeCategory;this.activecategorySet=this.activeSettings.vendorCategory[aS.vendorCategory]!==undefined?this.activeSettings.vendorCategory[aS.vendorCategory]:null;if(this.activecategorySet!==null){for(var aX in aO){var aY=aO[aX];if(typeof aY.cName==="string"){bucketid=aY.cName.toLowerCase()}if(bucketid===null){continue}var aZ={};for(var aV=0;aV0&&typeof this.newVendorCallback==="function"){this.newVendorCallback(aQ)}};aI.prototype.getActiveVendors=function(){if(!this.activeSettings||!this.activeSettings.hasOwnProperty("vendors")){return}var aO=this.activeVendorId;if(aO===-1||!this.activeSettings.vendors.hasOwnProperty(aO)){return null}return this.activeSettings.vendors[aO]};aI.prototype._getConsentedCategories=function(){return this._getConsentDataSpecific("categories")};aI.prototype._getConsentedCookies=function(){return this._getConsentDataSpecific("cookies")};aI.prototype._getConsentedVendors=function(){return this._getConsentDataSpecific("vendors")};aI.prototype._getConsentDataSpecific=function(aQ){var aR=this.activeSettings.hasOwnProperty("includeSubdomains")?this.activeSettings.includeSubdomains:0;if(aR==1){var aO=this._getConsentCookie();var aP=this._getConsentDataFromCookie(aQ);if(aP){this._removeLocalStorageItem(D+this.activeSettings.id);aO.value[aQ][this.activeCountryId]=aP;this._writeLocalStorage(D+this.activeSettings.id,JSON.stringify(aO))}}if(!aP){aP=this._getConsentDataFromLocalStorage(aQ)}if(!aP){aP=this._getConsentDataFromCookie(aQ)}if(!aP&&this.regulationConsentTypeId===aC&&!this.isOptedOut()){aP={all:true}}return aP};aI.prototype._getConsentDataFromLocalStorage=function(aP){var aO=this._readLocalStorage(D+this.activeSettings.id);if(!aO){return null}aO=JSON.parse(aO);if(aO.hasOwnProperty(aP)&&aO[aP].hasOwnProperty(this.activeCountryId)){return aO[aP][this.activeCountryId]}return null};aI.prototype._getConsentDataFromCookie=function(aS){var aO=this._getConsentCookie();if(!aO||!aO.value){return null}var aR=aO.value;if(typeof aR==="string"){var aP=new Date(unescape(aR));aR=this._setConsentCookie(aP)}else{if(typeof aR==="object"){var aT=this.activeSettings.hasOwnProperty("includeSubdomains")?this.activeSettings.includeSubdomains:0;if(aR.hasOwnProperty(aS)&&aT!=1){var aQ=(aR.hasOwnProperty("consent_type"))?aR.consent_type:aB;this._setConsentCookie(new Date(aR.consent_date),null,null,null,aQ)}}}if(aR.hasOwnProperty(aS)&&aR[aS].hasOwnProperty(this.activeCountryId)){return aR[aS][this.activeCountryId]}return null};aI.prototype._getNewVendors=function(aQ,aO){if(!aQ||!aO){return[]}var aP=[];if(Array.isArray(aO)){aP=aO}else{for(var aT in aO){aP.push(parseInt(aT))}}var aS=[];for(var aR=0;aR-1){var aQ=this.path.indexOf(".",aP);if(aQ>-1){this.path=this.path.substr(0,aP)}}}else{aO=aO.toLowerCase();var aQ=aO.indexOf("://");if(aQ!==-1){aO=aO.substr(aQ+3)}aQ=aO.indexOf("/");if(aQ===-1){this.domain=aO;this.path="/"}else{this.domain=aO.substr(0,aQ);aO=aO.substr(aQ);aQ=aO.indexOf("?");if(aQ!==-1){aO=aO.substr(0,aQ)}this.path=aO}}if(aS===undefined||!aS){var aR=this._getRootDomain(this.domain);aR=aR.replace(".","");var aT=(window.evidon.test!==undefined)?window.evidon.test:false;var aU=B+"/"+aR+((aT)?"/test":"")+"/settingsV3.js";this.appendScript(aU)}this.showNotice()};aI.prototype.addTranslation=function(aO,aP){this.translations[aO]=aP;this.showNotice()};aI.prototype.loadSettings=function(aO){this.settings=aO;this.showNotice()};aI.prototype.getBannerStyle=function(){if(this.consentTypeId!==F){return null}if(!this.themes){this.themes=window.evidon.themes}if(!this.themes){return null}if(this.themes.hasOwnProperty(this.activeSettings.themeId)){return this.themes[this.activeSettings.themeId].banner}else{return null}};aI.prototype.getConsentTypeStyle=function(){var aO=this.getBarrierStyle();if(!aO){aO=this.getBannerStyle()}return aO};aI.prototype.getBarrierStyle=function(){if(this.consentTypeId!==G){return null}if(!this.themes){this.themes=window.evidon.themes}if(!this.themes){return null}if(this.themes.hasOwnProperty(this.activeSettings.themeId)){return this.themes[this.activeSettings.themeId].barrier}else{return null}};aI.prototype.getButtonStyle=function(){if(this.privacyAccessTypeId!==a.BUTTON){return null}if(!this.themes){this.themes=window.evidon.themes}if(!this.themes){return null}if(this.themes.hasOwnProperty(this.activeSettings.themeId)){return this.themes[this.activeSettings.themeId].button}else{return null}};aI.prototype.getLinkStyle=function(){if(this.privacyAccessTypeId!==a.LINK){return null}if(!this.themes){this.themes=window.evidon.themes}if(!this.themes){return null}if(this.themes.hasOwnProperty(this.activeSettings.themeId)){return this.themes[this.activeSettings.themeId].link}else{return null}};aI.prototype.getL2Style=function(){if(!this.L2Enabled){return}if(!this.themes){this.themes=window.evidon.themes}if(!this.themes){return null}if(this.themes.hasOwnProperty(this.activeSettings.themeId)){return this.themes[this.activeSettings.themeId].l2}else{return null}};aI.prototype.getPreferencesDialogV2Enabled=function(){var aO=this.getL2Style();if(!aO){return false}return this.isMobile()?aO.mobileEnablePreferencesDialogV2:aO.enablePreferencesDialogV2};aI.prototype.isGDPR=function(){return this.gdprEnabled||this.regulationId===aD.GDPR};aI.prototype.isRegulation=function(aO){return this.regulationId===aO};aI.prototype.isUSOptOutRegulation=function(){var aP=[aD.CCPA,aD.CPRA,aD.VCDPA,aD.CTDPA,aD.CPA,aD.UCPA,aD.NevadaLaw,aD.OCPA,aD.TDPSA,aD.MTCDPA,aD.DPDPA,aD.ICDPA,aD.NDPA,aD.NHPA,aD.MODPA,aD.NJDPA,aD.TIPA,aD.MCDPA];for(var aO=0;aO-1){var aU=[];for(var a4 in aW){var aT='"+aW[a4]+"";aU.push(aT)}var aS=aU.join(", ");bj=bj.replace(a8,aS)}else{if(bj.indexOf(x)>-1){var aV="";for(var a4 in aW){aV+="
  • "+aW[a4]+"
  • "}bj=bj.replace(a9,aV)}}}bj=bj.replace(bc,a0).replace(ba,aY).replace(bh,a7).replace(bb,aZ);bj=bj.replace(bd,""+a1+"").replace(bi,""+bk.length+"");if(Object.keys(ac).indexOf(this.languageRoot)!=-1){bj=bj.replace(be,""+ac[this.languageRoot]["monthvar"]+"").replace(bf,""+ac[this.languageRoot]["partnervar"]+"")}if(bj.indexOf(aw)>-1){var a6=(((a3)?this.activeTranslations.mobilepolicyButtonText:this.activeTranslations.policyButtonText)||null);var a5=(aZ&&aZ!=="#")?aZ:(a7&&a7!=="#")?a7:null;if(a6&&a5){var aP='

    '+a6+"";bj=bj.replace(bg,aP)}else{bj=bj.replace(bg,"")}}}return bj};aI.prototype.dropSuppressionCookie=function(aS,aU){var aO={date:new Date()};var aR=null;if(typeof aS!=="undefined"&&aS>0){var aQ=new Date();aQ.setDate(aQ.getDate()+aS);aR=aQ.toUTCString();var aT=this._getConsentCookieDomainPath();var aP=this._getConsentCookieDomain();this._writeCookie(aJ,JSON.stringify(aO),aR,aT,aP)}else{var aT=this._getConsentCookieDomainPath();var aP=this._getConsentCookieDomain();this._delete_cookie(aJ,aT,aP)}return aO};aI.prototype._delete_cookie=function(aP,aQ,aO){if(this._getCookie(aP)){document.cookie=aP+"="+((aQ)?";path="+aQ:"")+((aO)?";domain="+aO:"")+";expires=Thu, 01 Jan 1970 00:00:01 GMT"}};aI.prototype._getCookie=function(aR){var aP=this._readCookies();for(var aQ=0;aQ-1)};aI.prototype._readLocalStorage=function(aP){try{if(!window.localStorage){return false}}catch(aO){return false}return window.localStorage.getItem(aP)};aI.prototype._writeLocalStorage=function(aP,aQ){try{if(!window.localStorage){return false}}catch(aO){return false}window.localStorage.setItem(aP,aQ);return window.localStorage.getItem(aP)!==null};aI.prototype._removeLocalStorageItem=function(aO){if(!window.localStorage){return}window.localStorage.removeItem(aO)};aI.prototype.withdrawConsent=function(){this._deleteConsentCookie();if(this.regulationConsentTypeId==aC){this.consentIsGiven=true;this._setConsentCookie(null,true,true,true,this.regulationConsentTypeId,false);this.dropSuppressionCookie(365);this.dropPixel(T);this.postVendorChoices(T)}else{this.consentIsGiven=false;this._setConsentCookie(null,false,false,false,this.regulationConsentTypeId,false);this.postVendorChoices(I);this.dropPixel(I)}if(window.evidon.consentWithdrawnCallback){window.evidon.consentWithdrawnCallback()}};aI.prototype.newVendorCallback=function(aO){if(window.evidon.button){window.evidon.button.showNewVendorIndicator()}if(window.evidon.cmp&&window.evidon.cmp.consentString){window.evidon.cmp.newVendorCallback(aO)}if(window.evidon.cmpv2&&window.evidon.cmpv2.consentString){window.evidon.cmpv2.newVendorCallback(aO)}};aI.prototype._pullOptOutDetails=function(aP){var aQ=window.evidon.id,aS=this.activeSettings.id,aO=this.activeCountryId,aR=this;var aT=aq;if(aT.substr(aT.length-1)!=="/"){aT+="/"}aT+="vendor/"+aQ+"/"+aS+"/"+aO;if(this.categorySetId&&this.categorySetId!==0){aT+="/"+this.categorySetId}aT+="?lang="+this.languageCode;var aU=new XMLHttpRequest();aU.onerror=function(){Toast.show(TOAST_ERROR,getTranslation(aR.isMobile()?"mobilesnL2L3FetchVendorsError":"snL2L3FetchVendorsError"),7)};aU.onreadystatechange=function(){if(aU.readyState!==4){return}if(aU.status===200){var aZ=JSON.parse(aU.responseText);aR.optOutDetails={};aR.optOutDetails.categories={};aR.optOutDetails.cookies={};var a0=(aZ.hasOwnProperty("thirdparty"))?aZ.thirdparty:[];for(var aY=0;aY