/** * Minified by jsDelivr using Terser v5.19.2. * Original file: /npm/tarteaucitronjs@1.9.7/tarteaucitron.js * * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files */ var scripts=document.getElementsByTagName("script"),path=scripts[scripts.length-1].src.split("?")[0],tarteaucitronForceCDN=void 0===tarteaucitronForceCDN?"":tarteaucitronForceCDN,cdn=""===tarteaucitronForceCDN?path.split("/").slice(0,-1).join("/")+"/":tarteaucitronForceCDN,alreadyLaunch=void 0===alreadyLaunch?0:alreadyLaunch,tarteaucitronForceLanguage=void 0===tarteaucitronForceLanguage?"":tarteaucitronForceLanguage,tarteaucitronForceExpire=void 0===tarteaucitronForceExpire?"":tarteaucitronForceExpire,tarteaucitronCustomText=void 0===tarteaucitronCustomText?"":tarteaucitronCustomText,tarteaucitronExpireInDay=void 0===tarteaucitronExpireInDay||"boolean"!=typeof tarteaucitronExpireInDay||tarteaucitronExpireInDay,timeExpire=31536e6,tarteaucitronProLoadServices,tarteaucitronNoAdBlocker=!1,tarteaucitron={version:20220322,cdn:cdn,user:{},lang:{},services:{},added:[],idprocessed:[],state:[],launch:[],parameters:{},isAjax:!1,reloadThePage:!1,events:{init:function(){},load:function(){}},init:function(t){"use strict";var e;tarteaucitron.parameters=t,0===alreadyLaunch&&(alreadyLaunch=1,window.addEventListener?(window.addEventListener("load",(function(){tarteaucitron.initEvents.loadEvent(!1)}),!1),window.addEventListener("scroll",(function(){tarteaucitron.initEvents.scrollEvent()}),!1),window.addEventListener("keydown",(function(t){tarteaucitron.initEvents.keydownEvent(!1,t)}),!1),window.addEventListener("hashchange",(function(){tarteaucitron.initEvents.hashchangeEvent()}),!1),window.addEventListener("resize",(function(){tarteaucitron.initEvents.resizeEvent()}),!1)):(window.attachEvent("onload",(function(){tarteaucitron.initEvents.loadEvent(!0)})),window.attachEvent("onscroll",(function(){tarteaucitron.initEvents.scrollEvent()})),window.attachEvent("onkeydown",(function(t){tarteaucitron.initEvents.keydownEvent(!0,t)})),window.attachEvent("onhashchange",(function(){tarteaucitron.initEvents.hashchangeEvent()})),window.attachEvent("onresize",(function(){tarteaucitron.initEvents.resizeEvent()}))),"undefined"!=typeof XMLHttpRequest&&(e=XMLHttpRequest.prototype.open,XMLHttpRequest.prototype.open=function(){window.addEventListener?this.addEventListener("load",(function(){"function"==typeof tarteaucitronProLoadServices&&tarteaucitronProLoadServices()}),!1):void 0!==this.attachEvent?this.attachEvent("onload",(function(){"function"==typeof tarteaucitronProLoadServices&&tarteaucitronProLoadServices()})):"function"==typeof tarteaucitronProLoadServices&&setTimeout(tarteaucitronProLoadServices,1e3);try{e.apply(this,arguments)}catch(t){}})),tarteaucitron.events.init&&tarteaucitron.events.init()},initEvents:{loadEvent:function(t){tarteaucitron.load(),tarteaucitron.fallback(["tarteaucitronOpenPanel"],(function(e){t?e.attachEvent("onclick",(function(t){tarteaucitron.userInterface.openPanel(),t.preventDefault()})):e.addEventListener("click",(function(t){tarteaucitron.userInterface.openPanel(),t.preventDefault()}),!1)}),!0)},keydownEvent:function(t,e){27===e.keyCode&&tarteaucitron.userInterface.closePanel(),t&&9===e.keyCode&&focusableEls.indexOf(e.target)>=0&&(e.shiftKey?document.activeElement===firstFocusableEl&&(lastFocusableEl.focus(),e.preventDefault()):document.activeElement===lastFocusableEl&&(firstFocusableEl.focus(),e.preventDefault()))},hashchangeEvent:function(){document.location.hash===tarteaucitron.hashtag&&""!==tarteaucitron.hashtag&&tarteaucitron.userInterface.openPanel()},resizeEvent:function(){var t=document.getElementById("tarteaucitron"),e=document.getElementById("tarteaucitronCookiesListContainer");t&&"block"===t.style.display&&tarteaucitron.userInterface.jsSizing("main"),e&&"block"===e.style.display&&tarteaucitron.userInterface.jsSizing("cookie")},scrollEvent:function(){var t,e=window.pageYOffset||document.documentElement.scrollTop,a=document.getElementById("tarteaucitronPercentage"),r=document.getElementById("tarteaucitronAlertBig");r&&!tarteaucitron.highPrivacy&&"block"===r.style.display&&(t=r.offsetHeight+"px",e>2*screen.height?tarteaucitron.userInterface.respondAll(!0):e>screen.height/2&&(document.getElementById("tarteaucitronDisclaimerAlert").innerHTML=""+tarteaucitron.lang.alertBigScroll+" "+tarteaucitron.lang.alertBig),a&&("top"===tarteaucitron.orientation?a.style.top=t:a.style.bottom=t,a.style.width=100/(2*screen.height)*e+"%"))}},load:function(){"use strict";var t=tarteaucitron.cdn,e=tarteaucitron.getLanguage(),a=t.indexOf("cdn.jsdelivr.net")>=0,r=t+"lang/tarteaucitron."+e+(a?".min":"")+".js?v="+tarteaucitron.version,n=t+"tarteaucitron.services"+(a?".min":"")+".js?v="+tarteaucitron.version,o=document.createElement("link"),i={adblocker:!1,hashtag:"#tarteaucitron",cookieName:"tarteaucitron",highPrivacy:!0,orientation:"middle",bodyPosition:"bottom",removeCredit:!1,showAlertSmall:!1,showIcon:!0,iconPosition:"BottomRight",cookieslist:!1,handleBrowserDNTRequest:!1,DenyAllCta:!0,AcceptAllCta:!0,moreInfoLink:!0,privacyUrl:"",useExternalCss:!1,useExternalJs:!1,mandatory:!0,mandatoryCta:!0,closePopup:!1,groupServices:!1,serviceDefaultState:"wait"},c=tarteaucitron.parameters;if((void 0!==tarteaucitron.parameters.readmoreLink&&window.location.href==tarteaucitron.parameters.readmoreLink||window.location.href==tarteaucitron.parameters.privacyUrl)&&"middle"==tarteaucitron.parameters.orientation&&(tarteaucitron.parameters.orientation="bottom"),"undefined"!=typeof tarteaucitronCustomPremium&&tarteaucitronCustomPremium(),void 0!==c)for(var u in i)tarteaucitron.parameters.hasOwnProperty(u)||(tarteaucitron.parameters[u]=i[u]);tarteaucitron.orientation=tarteaucitron.parameters.orientation,tarteaucitron.hashtag=tarteaucitron.parameters.hashtag,tarteaucitron.highPrivacy=tarteaucitron.parameters.highPrivacy,tarteaucitron.handleBrowserDNTRequest=tarteaucitron.parameters.handleBrowserDNTRequest,tarteaucitron.customCloserId=tarteaucitron.parameters.customCloserId,tarteaucitron.parameters.useExternalCss||(o.rel="stylesheet",o.type="text/css",o.href=t+"css/tarteaucitron"+(a?".min":"")+".css?v="+tarteaucitron.version,document.getElementsByTagName("head")[0].appendChild(o)),tarteaucitron.addInternalScript(r,"",(function(){""!==tarteaucitronCustomText&&(tarteaucitron.lang=tarteaucitron.AddOrUpdate(tarteaucitron.lang,tarteaucitronCustomText)),tarteaucitron.addInternalScript(n,"",(function(){if("middle"===tarteaucitron.orientation){var t=document.createElement("style"),r="div#tarteaucitronRoot.tarteaucitronBeforeVisible:before {content: '';position: fixed;width: 100%;height: 100%;background: white;top: 0;left: 0;z-index: 999;opacity: 0.5;}div#tarteaucitronAlertBig:before {content: '"+tarteaucitron.lang.middleBarHead+"';font-size: 35px;}body #tarteaucitronRoot div#tarteaucitronAlertBig {width: 60%;min-width: 285px;height: auto;margin: auto;left: 50%;top: 50%;transform: translate(-50%, -50%);box-shadow: 0 0 9000px #000;border-radius: 20px;padding: 35px 25px;}span#tarteaucitronDisclaimerAlert {padding: 0 30px;}#tarteaucitronRoot span#tarteaucitronDisclaimerAlert {margin: 10px 0 30px;display: block;text-align: center;font-size: 21px;}@media screen and (max-width: 900px) {div#tarteaucitronAlertBig button {margin: 0 auto 10px!important;display: block!important;}}";t.type="text/css",t.styleSheet?t.styleSheet.cssText=r:t.appendChild(document.createTextNode(r)),document.getElementsByTagName("head")[0].appendChild(t)}if("popup"===tarteaucitron.orientation){var n=document.createElement("style"),o="div#tarteaucitronAlertBig:before {content: '"+tarteaucitron.lang.middleBarHead+"';font-size: 22px;}body #tarteaucitronRoot div#tarteaucitronAlertBig {bottom: 0;top: auto!important;left: 8px!important;right: auto!important;transform: initial!important;border-radius: 5px 5px 0 0!important;max-width: 250px!important;width: Calc(100% - 16px)!important;min-width: 0!important;padding: 25px 0;}span#tarteaucitronDisclaimerAlert {padding: 0 30px;font-size: 15px!important;}#tarteaucitronRoot span#tarteaucitronDisclaimerAlert {margin: 10px 0 30px;display: block;text-align: center;font-size: 21px;}div#tarteaucitronAlertBig button {margin: 0 auto 10px!important;display: block!important;width: Calc(100% - 60px);box-sizing: border-box;}";n.type="text/css",n.styleSheet?n.styleSheet.cssText=o:n.appendChild(document.createTextNode(o)),document.getElementsByTagName("head")[0].appendChild(n)}var i,c,u=document.body,s=document.createElement("div"),l="",d="Top",m=["ads","analytic","api","comment","social","support","video","other"];for(m=m.sort((function(t,e){return tarteaucitron.lang[t].title>tarteaucitron.lang[e].title?1:tarteaucitron.lang[t].title'+tarteaucitron.lang.title+"",l+='',tarteaucitron.reloadThePage?l+='':l+='',l+='',tarteaucitron.reloadThePage?l+=' ':l+=' ',l+=" "+tarteaucitron.lang.close,l+=" ",l+=' ',l+=' ',l+=' '+tarteaucitron.lang.title+"",l+=' ',l+=" "+tarteaucitron.lang.disclaimer,""!==tarteaucitron.parameters.privacyUrl&&(l+=" ",l+=' ',l+=" "+tarteaucitron.lang.privacyUrl,l+=" "),l+=" ",l+=' ',l+=' '+tarteaucitron.lang.all+"",l+=" ",l+=' ',l+=' ',l+=' '+tarteaucitron.lang.allowAll,l+=" ",l+=' ',l+=' '+tarteaucitron.lang.denyAll,l+=" ",l+=" ",l+=" ",l+=' ',l+=' ',1==tarteaucitron.parameters.mandatory&&(l+='',l+='',l+=' '+tarteaucitron.lang.mandatoryTitle+"",l+="",l+='',l+='',l+=' ',l+=' '+tarteaucitron.lang.mandatoryText+"",l+=' ',l+=" ",1==tarteaucitron.parameters.mandatoryCta&&(l+=' ',l+=' ',l+=' '+tarteaucitron.lang.allow,l+=" ",l+=' ',l+=' '+tarteaucitron.lang.deny,l+=" ",l+=" "),l+="",l+=""),c=0;c',l+=' ',l+=' '+tarteaucitron.lang[m[c]].title+"",l+=" ",l+=' ',l+=" "+tarteaucitron.lang[m[c]].details,l+=" ",l+=' ';if(l+=' '+tarteaucitron.lang.noServices+"",l+=" ",l+=' ',!1===tarteaucitron.parameters.removeCredit&&(l+=' '),l+=" ",l+=" ",l+="","bottom"===tarteaucitron.parameters.orientation&&(d="Bottom"),tarteaucitron.parameters.highPrivacy&&!tarteaucitron.parameters.AcceptAllCta?(l+='',l+=' ',l+=" "+tarteaucitron.lang.alertBigPrivacy,l+=" ",l+=' ',l+=" "+tarteaucitron.lang.personalize,l+=" ",""!==tarteaucitron.parameters.privacyUrl&&(l+=' ',l+=" "+tarteaucitron.lang.privacyUrl,l+=" "),l+=""):(l+='',l+=' ',tarteaucitron.parameters.highPrivacy?l+=" "+tarteaucitron.lang.alertBigPrivacy:l+=" "+tarteaucitron.lang.alertBigClick+" "+tarteaucitron.lang.alertBig,l+=" ",l+=' ',l+=' '+tarteaucitron.lang.acceptAll,l+=" ",tarteaucitron.parameters.DenyAllCta&&(tarteaucitron.reloadThePage?l+=' ':l+=' ',l+=' '+tarteaucitron.lang.denyAll,l+=" "),l+=' ',l+=" "+tarteaucitron.lang.personalize,l+=" ",""!==tarteaucitron.parameters.privacyUrl&&(l+=' ',l+=" "+tarteaucitron.lang.privacyUrl,l+=" "),l+="",l+=''),!0===tarteaucitron.parameters.showIcon&&(l+='',l+=' ',l+=' ',l+=" ",l+=""),!0===tarteaucitron.parameters.showAlertSmall&&(l+='',l+=' ',l+=" "+tarteaucitron.lang.alertSmall,l+=' ',l+=' ',l+=' ',l+=' ',l+=" ",!0===tarteaucitron.parameters.cookieslist?(l+=" \x3c!-- @whitespace",l+=' --\x3e0',l+=' ',tarteaucitron.reloadThePage?l+=' ':l+=' ',l+=" "+tarteaucitron.lang.close,l+=" ",l+=' ',l+=' 0 cookie',l+=" ",l+=' ',l+=" "):l+=" ",l+=""),tarteaucitron.addInternalScript(tarteaucitron.cdn+"advertising"+(a?".min":"")+".js?v="+tarteaucitron.version,"",(function(){if(!0===tarteaucitronNoAdBlocker||!1===tarteaucitron.parameters.adblocker){if(s.id="tarteaucitronRoot","top"===tarteaucitron.parameters.bodyPosition){var t=u.firstChild;u.insertBefore(s,t)}else u.appendChild(s,u);var a;if(s.setAttribute("data-nosnippet","true"),s.setAttribute("lang",e),s.setAttribute("role","region"),s.setAttribute("aria-labelledby","tac_title"),s.innerHTML=l,"function"==typeof Event?a=new Event("tac.root_available"):"function"==typeof document.createEvent&&(a=document.createEvent("Event")).initEvent("tac.root_available",!0,!0),"function"==typeof window.dispatchEvent&&window.dispatchEvent(a),void 0!==tarteaucitron.job)for(tarteaucitron.job=tarteaucitron.cleanArray(tarteaucitron.job),i=0;i',l+=' ',l+=" "+tarteaucitron.lang.adblock+"",l+=" "+tarteaucitron.lang.adblock_call+"",l+=" ",l+=' ',l+=" "+tarteaucitron.lang.reload,l+=" ",l+="",l+=''+tarteaucitron.lang.title+"",l+='',s.id="tarteaucitronRoot","top"===tarteaucitron.parameters.bodyPosition){var t=u.firstChild;u.insertBefore(s,t)}else u.appendChild(s,u);s.setAttribute("data-nosnippet","true"),s.setAttribute("lang",e),s.setAttribute("role","region"),s.setAttribute("aria-labelledby","tac_title"),s.innerHTML=l}}),1500),!0===tarteaucitron.parameters.closePopup&&setTimeout((function(){var t=document.getElementById("tarteaucitronAlertBig"),e=document.createElement("span");t&&(e.textContent="X",e.setAttribute("id","tarteaucitronCloseCross"),t.insertBefore(e,t.firstElementChild))}),100),!0===tarteaucitron.parameters.groupServices){var p=document.createElement("style");p.innerHTML=".tarteaucitronTitle{display:none}",document.head.appendChild(p);var g=document.querySelectorAll('[id^="tarteaucitronServicesTitle_"]');Array.prototype.forEach.call(g,(function(t){var e=t.getAttribute("id").replace(/^(tarteaucitronServicesTitle_)/,"");if("mandatory"!==e){var a="";a+='',a+=' ',a+=' '+tarteaucitron.lang[e].title+"",a+=" "+tarteaucitron.lang[e].details+"",a+=' '+tarteaucitron.lang.alertSmall+" ("+document.getElementById("tarteaucitronServices_"+e).childElementCount+")",a+=" ",a+=' ',a+=' ',a+=' '+tarteaucitron.lang.allow,a+=" ",a+=' ',a+=' '+tarteaucitron.lang.deny,a+=" ",a+=" ",a+="";var r=document.createElement("ul");r.innerHTML=a,t.insertBefore(r,t.querySelector("#tarteaucitronServices_"+e)),document.querySelector("#tarteaucitronServices_"+e).style.display="none",tarteaucitron.addClickEventToId("tarteaucitron-toggle-group-"+e,(function(){tarteaucitron.userInterface.toggle("tarteaucitronServices_"+e),"block"==document.getElementById("tarteaucitronServices_"+e).style.display?(tarteaucitron.userInterface.addClass("tarteaucitronServicesTitle_"+e,"tarteaucitronIsExpanded"),document.getElementById("tarteaucitron-toggle-group-"+e).setAttribute("aria-expanded","true")):(tarteaucitron.userInterface.removeClass("tarteaucitronServicesTitle_"+e,"tarteaucitronIsExpanded"),document.getElementById("tarteaucitron-toggle-group-"+e).setAttribute("aria-expanded","false"))})),tarteaucitron.addClickEventToId("tarteaucitron-accept-group-"+e,(function(){tarteaucitron.userInterface.respondAll(!0,e)})),tarteaucitron.addClickEventToId("tarteaucitron-reject-group-"+e,(function(){tarteaucitron.userInterface.respondAll(!1,e)}))}}))}tarteaucitron.userInterface.color("",!0),setTimeout((function(){tarteaucitron.addClickEventToId("tarteaucitronCloseCross",(function(){tarteaucitron.userInterface.closeAlert()})),tarteaucitron.addClickEventToId("tarteaucitronPersonalize",(function(){tarteaucitron.userInterface.openPanel()})),tarteaucitron.addClickEventToId("tarteaucitronPersonalize2",(function(){tarteaucitron.userInterface.respondAll(!0)})),tarteaucitron.addClickEventToId("tarteaucitronManager",(function(){tarteaucitron.userInterface.openPanel()})),tarteaucitron.addClickEventToId("tarteaucitronBack",(function(){tarteaucitron.userInterface.closePanel()})),tarteaucitron.addClickEventToId("tarteaucitronClosePanel",(function(){tarteaucitron.userInterface.closePanel()})),tarteaucitron.addClickEventToId("tarteaucitronClosePanelCookie",(function(){tarteaucitron.userInterface.closePanel()})),tarteaucitron.addClickEventToId("tarteaucitronPrivacyUrl",(function(){document.location=tarteaucitron.parameters.privacyUrl})),tarteaucitron.addClickEventToId("tarteaucitronPrivacyUrlDialog",(function(){document.location=tarteaucitron.parameters.privacyUrl})),tarteaucitron.addClickEventToId("tarteaucitronCookiesNumber",(function(){tarteaucitron.userInterface.toggleCookiesList()})),tarteaucitron.addClickEventToId("tarteaucitronAllAllowed",(function(){tarteaucitron.userInterface.respondAll(!0)})),tarteaucitron.addClickEventToId("tarteaucitronAllDenied",(function(){tarteaucitron.userInterface.respondAll(!1)})),tarteaucitron.addClickEventToId("tarteaucitronAllDenied2",(function(){tarteaucitron.userInterface.respondAll(!1,"",!0),!0===tarteaucitron.reloadThePage&&window.location.reload()})),tarteaucitron.addClickEventToId("tarteaucitronCloseAlert",(function(){tarteaucitron.userInterface.openPanel()})),tarteaucitron.addClickEventToId("tarteaucitronCTAButton",(function(){location.reload()}));var t,e=document.getElementsByClassName("catToggleBtn");for(t=0;t=0,u=r.indexOf(a.key+"=false")>=0,s=r.indexOf(a.key+"=true")>=0||!a.needConsent&&r.indexOf(a.key+"=false")<0,l=r.indexOf(a.key+"=false")>=0||r.indexOf(a.key+"=true")>=0,d="1"===navigator.doNotTrack||"yes"===navigator.doNotTrack||"1"===navigator.msDoNotTrack||"1"===window.doNotTrack,m=s?tarteaucitron.lang.allowed:tarteaucitron.lang.disallowed,p=void 0!==a.defaultState?a.defaultState:void 0!==tarteaucitron.parameters.serviceDefaultState?tarteaucitron.parameters.serviceDefaultState:"wait";if(!0!==tarteaucitron.added[a.key]){if(tarteaucitron.added[a.key]=!0,e+='',e+=' ',e+=' '+a.name+"",e+=' '+m+"",e+=' - ',e+=' ',1==tarteaucitron.parameters.moreInfoLink){var g="https://tarteaucitron.io/service/"+a.key+"/";void 0!==a.readmoreLink&&""!==a.readmoreLink&&(g=a.readmoreLink),void 0!==tarteaucitron.parameters.readmoreLink&&""!==tarteaucitron.parameters.readmoreLink&&(g=tarteaucitron.parameters.readmoreLink),e+=' ',e+=" "+tarteaucitron.lang.more,e+=" ",e+=' - ',e+=' ',e+=" "+tarteaucitron.lang.source,e+=" "}e+=" ",e+=' ',e+=' ',e+=' '+tarteaucitron.lang.allow,e+=" ",e+=' ',e+=' '+tarteaucitron.lang.deny,e+=" ",e+=" ",e+="",tarteaucitron.userInterface.css("tarteaucitronServicesTitle_"+a.type,"display","block"),null!==document.getElementById("tarteaucitronServices_"+a.type)&&(document.getElementById("tarteaucitronServices_"+a.type).innerHTML+=e),tarteaucitron.userInterface.css("tarteaucitronNoServicesTitle","display","none"),tarteaucitron.userInterface.order(a.type),tarteaucitron.addClickEventToId(a.key+"Allowed",(function(){tarteaucitron.userInterface.respond(this,!0)})),tarteaucitron.addClickEventToId(a.key+"Denied",(function(){tarteaucitron.userInterface.respond(this,!1)}))}tarteaucitron.pro("!"+a.key+"="+s),!1===l&&!0===tarteaucitron.user.bypass&&(s=!0,tarteaucitron.cookie.create(a.key,!0)),!l&&(i||o&&c)&&!tarteaucitron.highPrivacy||s?((!s||!a.needConsent&&r.indexOf(a.key+"=false")<0)&&tarteaucitron.cookie.create(a.key,!0),!0!==tarteaucitron.launch[a.key]&&(tarteaucitron.launch[a.key]=!0,("undefined"==typeof tarteaucitronMagic||tarteaucitronMagic.indexOf("_"+a.key+"_")<0)&&a.js(),tarteaucitron.sendEvent(a.key+"_loaded")),tarteaucitron.state[a.key]=!0,tarteaucitron.userInterface.color(a.key,!0)):u?("function"==typeof a.fallback&&("undefined"==typeof tarteaucitronMagic||tarteaucitronMagic.indexOf("_"+a.key+"_")<0)&&a.fallback(),tarteaucitron.state[a.key]=!1,tarteaucitron.userInterface.color(a.key,!1)):!l&&d&&tarteaucitron.handleBrowserDNTRequest?(tarteaucitron.cookie.create(a.key,"false"),"function"==typeof a.fallback&&("undefined"==typeof tarteaucitronMagic||tarteaucitronMagic.indexOf("_"+a.key+"_")<0)&&a.fallback(),tarteaucitron.state[a.key]=!1,tarteaucitron.userInterface.color(a.key,!1)):l||(tarteaucitron.cookie.create(a.key,p),("undefined"==typeof tarteaucitronMagic||tarteaucitronMagic.indexOf("_"+a.key+"_")<0)&&(!0===p&&"function"==typeof a.js?a.js():"function"==typeof a.fallback&&a.fallback()),tarteaucitron.userInterface.color(a.key,p),"wait"===p&&tarteaucitron.userInterface.openAlert()),tarteaucitron.cookie.checkCount(a.key),tarteaucitron.sendEvent(a.key+"_added")},sendEvent:function(t){var e;void 0!==t&&("function"==typeof Event?e=new Event(t):"function"==typeof document.createEvent&&(e=document.createEvent("Event")).initEvent(t,!0,!0),document.dispatchEvent(e))},cleanArray:function(t){"use strict";var e,a=t.length,r=[],n={},o=tarteaucitron.services;for(e=0;eo[e].type+o[e].key?1:o[t].type+o[t].key0&&!1===e&&tarteaucitron.cookie.purge(tarteaucitron.services[t].cookies),!0===e?(null!==document.getElementById("tacCL"+t)&&(document.getElementById("tacCL"+t).innerHTML="..."),setTimeout((function(){tarteaucitron.cookie.checkCount(t)}),2500)):tarteaucitron.cookie.checkCount(t)}var l=document.querySelectorAll('[id^="tarteaucitronServicesTitle_"]');Array.prototype.forEach.call(l,(function(t){for(var e=t.getAttribute("id").replace(/^(tarteaucitronServicesTitle_)/,""),a=document.getElementById("tarteaucitronServices_"+e).childElementCount,r=document.getElementById("tarteaucitronServices_"+e),n=0,o=0,i=0;i0&&r.push(t[n]);e=r[0],a=r[r.length-1],document.getElementById("tarteaucitron").addEventListener("keydown",(function(t){"Tab"!==t.key&&9!==t.keyCode||(t.shiftKey?document.activeElement===e&&(a.focus(),t.preventDefault()):document.activeElement===a&&(e.focus(),t.preventDefault()))}))},openAlert:function(){"use strict";var t,e="tarteaucitron";tarteaucitron.userInterface.css(e+"Percentage","display","block"),tarteaucitron.userInterface.css(e+"AlertSmall","display","none"),tarteaucitron.userInterface.css(e+"Icon","display","none"),tarteaucitron.userInterface.css(e+"AlertBig","display","block"),tarteaucitron.userInterface.addClass(e+"Root","tarteaucitronBeforeVisible"),"function"==typeof Event?t=new Event("tac.open_alert"):"function"==typeof document.createEvent&&(t=document.createEvent("Event")).initEvent("tac.open_alert",!0,!0),null!==document.getElementById("tarteaucitronAlertBig")&&document.getElementById("tarteaucitronAlertBig").focus(),"function"==typeof window.dispatchEvent&&window.dispatchEvent(t)},closeAlert:function(){"use strict";var t,e="tarteaucitron";tarteaucitron.userInterface.css(e+"Percentage","display","none"),tarteaucitron.userInterface.css(e+"AlertSmall","display","block"),tarteaucitron.userInterface.css(e+"Icon","display","block"),tarteaucitron.userInterface.css(e+"AlertBig","display","none"),tarteaucitron.userInterface.removeClass(e+"Root","tarteaucitronBeforeVisible"),tarteaucitron.userInterface.jsSizing("box"),"function"==typeof Event?t=new Event("tac.close_alert"):"function"==typeof document.createEvent&&(t=document.createEvent("Event")).initEvent("tac.close_alert",!0,!0),"function"==typeof window.dispatchEvent&&window.dispatchEvent(t)},toggleCookiesList:function(){"use strict";var t=document.getElementById("tarteaucitronCookiesListContainer"),e=document.getElementById("tarteaucitronCookiesNumber");null!==t&&("block"!==t.style.display?(tarteaucitron.cookie.number(),t.style.display="block",e.setAttribute("aria-expanded","true"),tarteaucitron.userInterface.jsSizing("cookie"),tarteaucitron.userInterface.css("tarteaucitron","display","none"),tarteaucitron.userInterface.css("tarteaucitronBack","display","block"),tarteaucitron.fallback(["tarteaucitronInfoBox"],(function(t){t.style.display="none"}),!0)):(t.style.display="none",e.setAttribute("aria-expanded","false"),tarteaucitron.userInterface.css("tarteaucitron","display","none"),tarteaucitron.userInterface.css("tarteaucitronBack","display","none")))},toggle:function(t,e){"use strict";var a=document.getElementById(t);null!==a&&(void 0!==e&&tarteaucitron.fallback([e],(function(e){e.id!==t&&(e.style.display="none")}),!0),"block"!==a.style.display?a.style.display="block":a.style.display="none")},order:function(t){"use strict";var e=document.getElementById("tarteaucitronServices_"+t);null!==e&&(e.childNodes,"function"==typeof Array.prototype.map&&"undefined"==typeof Enumerable&&Array.prototype.map.call(e.children,Object).sort((function(t,e){return tarteaucitron.services[t.id.replace(/Line/g,"")].name>tarteaucitron.services[e.id.replace(/Line/g,"")].name?1:tarteaucitron.services[t.id.replace(/Line/g,"")].name=0&&0===r)o+=tarteaucitron.lang.useNoCookie;else if(i>=0){for(e=0;e0?(o+=tarteaucitron.lang.useCookieCurrent+" "+n+" cookie",n>1&&(o+="s"),o+="."):o+=tarteaucitron.lang.useNoCookie}else 0===r?o=tarteaucitron.lang.noCookie:(o+=tarteaucitron.lang.useCookie+" "+r+" cookie",r>1&&(o+="s"),o+=".");null!==document.getElementById("tacCL"+t)&&(document.getElementById("tacCL"+t).innerHTML=o)},crossIndexOf:function(t,e){"use strict";var a;for(a=0;a1?"s":"",d=/^https?\:\/\/([^\/?#]+)(?:[\/?#]|$)/i,m=null!==tarteaucitron.cdn.match(d)?tarteaucitron.cdn.match(d)[1]:tarteaucitron.cdn,p=void 0!==tarteaucitron.domain?tarteaucitron.domain:m;if(c=c.sort((function(t,e){return a=t.split("=",1).toString().replace(/ /g,""),r=e.split("=",1).toString().replace(/ /g,""),n=void 0!==tarteaucitron.cookie.owner[a]?tarteaucitron.cookie.owner[a]:"0",o=void 0!==tarteaucitron.cookie.owner[r]?tarteaucitron.cookie.owner[r]:"0",n+t>o+e?1:n+t',s+=' ',s+=" "+tarteaucitron.cookie.owner[e].join(" // "),s+=" ",s+=''):void 0===tarteaucitron.cookie.owner[e]&&p!==i&&(i=p,s+='',s+=' ',s+=" "+p,s+=" ",s+=''),s+='',s+=' × '+tarteaucitron.fixSelfXSS(e)+"",s+=" ",s+=' '+tarteaucitron.fixSelfXSS(c[t].split("=").slice(1).join("="))+"",s+="";s+=""}else s+='',s+=' -',s+=' ',s+="";s+='',null!==document.getElementById("tarteaucitronCookiesList")&&(document.getElementById("tarteaucitronCookiesList").innerHTML=s),null!==document.getElementById("tarteaucitronCookiesNumber")&&(document.getElementById("tarteaucitronCookiesNumber").innerHTML=u,document.getElementById("tarteaucitronCookiesNumber").setAttribute("aria-label",u+" cookie"+l+" - "+tarteaucitron.lang.toggleInfoBox),document.getElementById("tarteaucitronCookiesNumber").setAttribute("title",u+" cookie"+l+" - "+tarteaucitron.lang.toggleInfoBox)),null!==document.getElementById("tarteaucitronCookiesNumberBis")&&(document.getElementById("tarteaucitronCookiesNumberBis").innerHTML=u+" cookie"+l);var g=document.getElementsByClassName("purgeBtn");for(t=0;t/g,">").replace(/"/g,""").replace(/'/g,"'")},getLanguage:function(){"use strict";var t="ar,bg,ca,cn,cs,da,de,et,el,en,es,fi,fr,hu,it,ja,lt,lv,nl,no,oc,pl,pt,ro,ru,se,sk,sv,tr,uk,vi,zh";if(""!==tarteaucitronForceLanguage&&-1!==t.indexOf(tarteaucitronForceLanguage))return tarteaucitronForceLanguage;if(-1!==t.indexOf(document.documentElement.getAttribute("lang")))return document.documentElement.getAttribute("lang");if(!navigator)return"en";var e=navigator.language||navigator.browserLanguage||navigator.systemLanguage||navigator.userLang||null,a=e?e.substr(0,2):null;return-1!==t.indexOf(a)?a:"en"},getLocale:function(){"use strict";if(!navigator)return"en_US";var t=navigator.language||navigator.browserLanguage||navigator.systemLanguage||navigator.userLang||null,e=t?t.substr(0,2):null;return"fr"===e?"fr_FR":"en"===e?"en_US":"de"===e?"de_DE":"es"===e?"es_ES":"it"===e?"it_IT":"pt"===e?"pt_PT":"nl"===e?"nl_NL":"el"===e?"el_EL":"en_US"},addScript:function(t,e,a,r,n,o,i){"use strict";var c,u=!1;!1===r?"function"==typeof a&&a():((c=document.createElement("script")).id=void 0!==e?e:"",c.async=!0,c.src=t,void 0!==n&&void 0!==o&&c.setAttribute(n,o),"function"==typeof a&&(tarteaucitron.parameters.useExternalJs&&i?a():c.onreadystatechange=c.onload=function(){var t=c.readyState;u||t&&!/loaded|complete/.test(t)||(u=!0,a())}),tarteaucitron.parameters.useExternalJs&&i||document.getElementsByTagName("head")[0].appendChild(c))},addInternalScript:function(t,e,a,r,n,o){tarteaucitron.addScript(t,e,a,r,n,o,!0)},checkIfExist:function(t){"use strict";return null!==document.getElementById(t)&&0!==document.getElementById(t).offsetWidth&&0!==document.getElementById(t).offsetHeight},makeAsync:{antiGhost:0,buffer:"",init:function(t,e){"use strict";var a=document.write,r=document.writeln;document.write=function(t){tarteaucitron.makeAsync.buffer+=t},document.writeln=function(t){tarteaucitron.makeAsync.buffer+=t.concat("\n")},setTimeout((function(){document.write=a,document.writeln=r}),2e4),tarteaucitron.makeAsync.getAndParse(t,e)},getAndParse:function(t,e){"use strict";tarteaucitron.makeAsync.antiGhost>9?tarteaucitron.makeAsync.antiGhost=0:(tarteaucitron.makeAsync.antiGhost+=1,tarteaucitron.addInternalScript(t,"",(function(){null!==document.getElementById(e)&&(document.getElementById(e).innerHTML+=" "+tarteaucitron.makeAsync.buffer,tarteaucitron.makeAsync.buffer="",tarteaucitron.makeAsync.execJS(e))})))},execJS:function(id){var i,scripts,childId,type;if(null!==document.getElementById(id))for(scripts=document.getElementById(id).getElementsByTagName("script"),i=0;i',tarteaucitron.makeAsync.getAndParse(scripts[i].getAttribute("src"),childId)):-1===type.indexOf("javascript")&&""!==type||eval(scripts[i].innerHTML)}},fallback:function(t,e,a){"use strict";var r,n=document.getElementsByTagName("*"),o=0;for(r in n)if(void 0!==n[r])for(o=0;o-1&&("function"==typeof e?!0===a?e(n[r]):n[r].innerHTML=e(n[r]):n[r].innerHTML=e)},engage:function(t){"use strict";var e="",a=Math.floor(1e5*Math.random()),r=tarteaucitron.services[t].name+" "+tarteaucitron.lang.fallback;return void 0!==tarteaucitron.lang["engage-"+t]&&(r=tarteaucitron.lang["engage-"+t]),e+='',e+=' ',e+=" "+r,e+=' ',e+=' '+tarteaucitron.lang.allow,e+=" ",e+=" ",e+=""},extend:function(t,e){"use strict";var a;for(a in e)e.hasOwnProperty(a)&&(t[a]=e[a])},proTemp:"",proTimer:function(){"use strict";setTimeout(tarteaucitron.proPing,500)},pro:function(t){"use strict";tarteaucitron.proTemp+=t,clearTimeout(tarteaucitron.proTimer),tarteaucitron.proTimer=setTimeout(tarteaucitron.proPing,500)},proPing:function(){"use strict";if(""!==tarteaucitron.uuid&&void 0!==tarteaucitron.uuid&&""!==tarteaucitron.proTemp&&tarteaucitronStatsEnabled){var t=document.getElementById("tarteaucitronPremium"),e=(new Date).getTime(),a="https://tarteaucitron.io/log/?";if(null===t)return;a+="account="+tarteaucitron.uuid+"&",a+="domain="+tarteaucitron.domain+"&",a+="status="+encodeURIComponent(tarteaucitron.proTemp)+"&",a+="_time="+e,t.innerHTML='',tarteaucitron.proTemp=""}tarteaucitron.cookie.number()},AddOrUpdate:function(t,e){for(var a in e)e[a]instanceof Object?t[a]=tarteaucitron.AddOrUpdate(t[a],e[a]):t[a]=e[a];return t},getElemWidth:function(t){return t.getAttribute("width")||t.clientWidth},getElemHeight:function(t){return t.getAttribute("height")||t.clientHeight},getElemAttr:function(t,e){return t.getAttribute("data-"+e)||t.getAttribute(e)},addClickEventToId:function(t,e){tarteaucitron.addClickEventToElement(document.getElementById(t),e)},addClickEventToElement:function(t,e){t&&(t.addEventListener?t.addEventListener("click",e):t.attachEvent("onclick",e))},triggerJobsAfterAjaxCall:function(){var t;tarteaucitron.job.forEach((function(t){tarteaucitron.job.push(t)}));var e=document.getElementsByClassName("tarteaucitronAllow");for(t=0;t
',l+=" "+tarteaucitron.lang.adblock+"",l+=" "+tarteaucitron.lang.adblock_call+"",l+="