PageSourceSearch

https://www.tecmatica.es/plugins/system/gdpr/assets/js/cookieconsent.min.js

js tecmatica.es collected 2026-10-10 01:59:47 UTC 48,755 bytes, 95 lines download raw bytes

1var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(b,c,k){b!=Array.prototype&&b!=Object.prototype&&(b[c]=k.value)};$jscomp.getGlobal=function(b){return"undefined"!=typeof window&&window===b?b:"undefined"!=typeof global&&null!=global?global:b};$jscomp.global=$jscomp.getGlobal(this);$jscomp.SYMBOL_PREFIX="jscomp_symbol_";
2$jscomp.initSymbol=function(){$jscomp.initSymbol=function(){};$jscomp.global.Symbol||($jscomp.global.Symbol=$jscomp.Symbol)};$jscomp.Symbol=function(){var b=0;return function(c){return $jscomp.SYMBOL_PREFIX+(c||"")+b++}}();
3$jscomp.initSymbolIterator=function(){$jscomp.initSymbol();var b=$jscomp.global.Symbol.iterator;b||(b=$jscomp.global.Symbol.iterator=$jscomp.global.Symbol("iterator"));"function"!=typeof Array.prototype[b]&&$jscomp.defineProperty(Array.prototype,b,{configurable:!0,writable:!0,value:function(){return $jscomp.arrayIterator(this)}});$jscomp.initSymbolIterator=function(){}};$jscomp.arrayIterator=function(b){var c=0;return $jscomp.iteratorPrototype(function(){return c<b.length?{done:!1,value:b[c++]}:{done:!0}})};
4$jscomp.iteratorPrototype=function(b){$jscomp.initSymbolIterator();b={next:b};b[$jscomp.global.Symbol.iterator]=function(){return this};return b};$jscomp.iteratorFromArray=function(b,c){$jscomp.initSymbolIterator();b instanceof String&&(b+="");var k=0,a={next:function(){if(k<b.length){var u=k++;return{value:c(u,b[u]),done:!1}}a.next=function(){return{done:!0,value:void 0}};return a.next()}};a[Symbol.iterator]=function(){return a};return a};
5$jscomp.polyfill=function(b,c,k,a){if(c){k=$jscomp.global;b=b.split(".");for(a=0;a<b.length-1;a++){var u=b[a];u in k||(k[u]={});k=k[u]}b=b[b.length-1];a=k[b];c=c(a);c!=a&&null!=c&&$jscomp.defineProperty(k,b,{configurable:!0,writable:!0,value:c})}};$jscomp.polyfill("Array.prototype.keys",function(b){return b?b:function(){return $jscomp.iteratorFromArray(this,function(b){return b})}},"es6","es3");
6(function(b){if(!b.hasInitialised){var c={escapeRegExp:function(a){return a.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},hasClass:function(a,b){return 1===a.nodeType&&0<=(" "+a.className+" ").replace(/[\n\t]/g," ").indexOf(" "+b+" ")},addClass:function(a,b){a.className+=" "+b},removeClass:function(a,b){b=new RegExp("\\b"+this.escapeRegExp(b)+"\\b");a.className=a.className.replace(b,"")},interpolateString:function(a,b){return a.replace(/{{([a-z][a-z0-9\-_]*)}}/ig,function(a,c){return b(c)||
7""})},getCookie:function(a){a=("; "+document.cookie).split("; "+a+"=");return 2!=a.length?void 0:a.pop().split(";").shift()}
7,setCookie:function(a,b,c,f,x){var d=new Date;d.setDate(d.getDate()+(c||365));a=[a+"="+b,"expires="+d.toUTCString(),"path="+(x||"/")];f&&a.push("domain="+f);gdprConfigurationOptions.cookieConsentSamesitePolicy&&a.push("SameSite="+gdprConfigurationOptions.cookieConsentSamesitePolicy);("https:"==window.location.protocol&&gdprConfigurationOptions.cookieConsentSecure||"None"==gdprConfigurationOptions.cookieConsentSamesitePolicy)&&
8a.push("Secure");document.cookie=a.join(";")},deepExtend:function(a,b){for(var c in b)b.hasOwnProperty(c)&&(c in a&&this.isPlainObject(a[c])&&this.isPlainObject(b[c])?this.deepExtend(a[c],b[c]):a[c]=b[c]);return a},throttle:function(a,b){var c=!1;return function(){c||(a.apply(this,arguments),c=!0,setTimeout(function(){c=!1},b))}},hash:function(a){var b=0,c;if(0===a.length)return b;var f=0;for(c=a.length;f<c;++f){var x=a.charCodeAt(f);b=(b<<5)-b+x;b|=0}return b},normaliseHex:function(b){"#"==b[0]&&
9(b=b.substr(1));3==b.length&&(b=b[0]+b[0]+b[1]+b[1]+b[2]+b[2]);return b},getContrast:function(b){b=this.normaliseHex(b);var a=parseInt(b.substr(0,2),16),c=parseInt(b.substr(2,2),16);b=parseInt(b.substr(4,2),16);return 128<=(299*a+587*c+114*b)/1E3?"#000":"#fff"},getLuminance:function(b){var a=parseInt(this.normaliseHex(b),16);b=(a>>16)+38;var c=(a>>8&255)+38;a=(a&255)+38;return"#"+(16777216+65536*(255>b?1>b?0:b:255)+256*(255>c?1>c?0:c:255)+(255>a?1>a?0:a:255)).toString(16).slice(1)},isMobile:function(){return gdprConfigurationOptions.autoFloatingOnMobile&&
10window.outerWidth<=gdprConfigurationOptions.autoFloatingOnMobileThreshold?!0:!1},isPlainObject:function(b){return"object"===typeof b&&null!==b&&b.constructor==Object}};
10b.status={deny:"deny",allow:"allow",dismiss:"dismiss"};b.transitionEnd=function(){var b=document.createElement("div"),c={t:"transitionend",OT:"oTransitionEnd",msT:"MSTransitionEnd",MozT:"transitionend",WebkitT:"webkitTransitionEnd"},h;for(h in c)if(c.hasOwnProperty(h)&&"undefined"!=typeof b.style[h+"ransition"])return c[h];return""}();
11b.hasTransition=!!b.transitionEnd;var k=Object.keys(b.status).map(c.escapeRegExp);b.customStyles={};b.cookieCategoriesHasChanged=!1;b.cookiesChoicesPropagate=!1;b.Popup=function(){function a(){this.initialise.apply(this,arguments)}function u(b){return(window.screen.width?window.screen.width:jQuery(window).width())<=b?!0:!1}function h(b){this.openingTimeout=null;c.removeClass(b,"cc-invisible");this.options.revokable&&this.toggleRevokeButton()}function f(e){e.style.display="none";e.removeEventListener(b.transitionEnd,
12this.afterTransition);this.afterTransition=null}function x(){if(localStorage.getItem("setConsentedCookie")){this.setStatus(b.status.allow,!0);localStorage.removeItem("setConsentedCookie");var e=gdprConfigurationOptions.externalAdvancedBlockingModeCustomAttribute?",["+gdprConfigurationOptions.externalAdvancedBlockingModeCustomAttribute+"*=gdprlock]":"";gdprConfigurationOptions.placeholderBlockedResources?jQuery("*[src*=gdprlock],*[data-source=gdprlock]"+e).filter(function(b,e){return"script"==e.nodeName.toLowerCase()||
13"link"==e.nodeName.toLowerCase()?!1:!0}).replaceWith('<div class="gdprlock-placeholder"><div class="gdprlock-placeholder-text">'+gdprConfigurationOptions.placeholderBlockedResourcesText+"</div></div>"):jQuery("*[src*=gdprlock],*[data-source=gdprlock]"+e).remove();plgGdprShowReloadWindow()}e=this.options.onInitialise.bind(this);if(!window.navigator.cookieEnabled)return e(b.status.deny),!0;if(window.CookiesOK||window.navigator.CookiesOK||"opt-out"==gdprConfigurationOptions.complianceType&&localStorage.getItem("setAllowRevokedCookie"))return e(b.status.allow),
14!0;var a=Object.keys(b.status),c=this.getStatus();(a=0<=a.indexOf(c))&&e(c);return a}function d(){var b=this.options.position.split("-"),a=[];"center"==this.options.position&&a.push("cc-"+this.options.revokeposition);b.forEach(function(b){a.push("cc-"+b)});return a}function m(){var e=this.options,a="top"==e.position||"bottom"==e.position?"banner":"floating";c.isMobile()&&(a="floating");a=["cc-"+a,"cc-type-"+e.type,"cc-theme-"+e.theme];"extended"==e.centertheme&&a.push("cc-center-xtd");!e.static||
15"top"!=e.position&&"bottom"!=e.position||a.push("cc-static");gdprConfigurationOptions.allowallShowbutton&&a.push("cc-allowall-button");a.push("cc-opacity-"+e.palette.highlightOpacity.opacity);a.push.apply(a,d.call(this));var q=this.options.palette;e=c.hash(JSON.stringify(q));var g="cc-color-override-"+e,l=c.isPlainObject(q);this.customStyleSelector=l?g:null;if(l)if(l="."+g,b.customStyles[e])++b.customStyles[e].references;else{g={};var m=q.popup,p=q.button,f=q.highlight,n=q.highlightDismiss,h=q.buttonall;
16q=q.buttonSettings;m&&(m.text=m.text?m.text:c.getContrast(m.background),m.link=m.link?m.link:m.text,g[l+".cc-window"]=["color: "+m.text,"background-color: "+m.background],g[l+".cc-revoke"]=["color: "+m.text,"background-color: "+m.background],g[l+" .cc-link,"+l+" .cc-link:active,"+l+" .cc-link:visited"]=["color: "+m.link],g[l+" .cc-link label,"+l+" .cc-link:active label,"+l+" .cc-link:visited label"]=["color: "+m.link],p&&(p.text=p.text?p.text:c.getContrast(p.background),p.border=p.border?p.border:
17"transparent",g[l+" a.cc-btn"]=["color: "+p.text,"border-color: "+p.border,"background-color: "+p.background],"transparent"!=p.background&&(g[l+" .cc-btn:hover, "+l+" .cc-btn:focus"]=["border-color: "+v(p.border)]),h&&(g[l+" .cc-btn.cc-allowall"]=["color: "+h.text,"border-color: "+h.border,"background-color: "+h.background],g[l+" .cc-btn.cc-allowall:hover, "+l+" .cc-btn.cc-allowall:focus"]=["border-color: "+v(h.border)]),q&&(g[l+" .cc-cookie-settings-toggle"]=["color: "+q.text,"border-color: "+q.border,
18"background-color: "+q.background]),f?(f.text=f.text?f.text:c.getContrast(f.background),f.border=f.border?f.border:"transparent",g[l+" .cc-highlight .cc-btn.cc-deny"]=["color: "+f.text,"border-color: "+f.border,"background-color: "+f.background],"transparent"!=f.background&&(g[l+" .cc-highlight .cc-btn.cc-deny:hover, "+l+" .cc-highlight .cc-btn.cc-deny:focus"]=["border-color: "+v(f.border)
18])):g[l+" .cc-highlight .cc-btn.cc-deny"]=["color: "+m.text],n?(n.text=n.text?n.text:c.getContrast(n.background),
19n.border=n.border?n.border:"transparent",g[l+" .cc-highlight .cc-btn.cc-dismiss"]=["color: "+n.text,"border-color: "+n.border,"background-color: "+n.background],g[l+" span.cc-close"]=["color:transparent; text-shadow: 0 0 0 "+n.text],"transparent"!=n.background&&(g[l+" .cc-highlight .cc-btn.cc-dismiss:hover, "+l+" .cc-highlight .cc-btn.cc-dismiss:focus"]=["border-color: "+v(n.border)])):(g[l+" .cc-highlight .cc-btn.cc-dismiss"]=["color: "+p.text,"border-color: "+p.border,"background-color: "+p.background],
20g[l+" span.cc-close"]=["color:transparent; text-shadow: 0 0 0 "+n.text])));q=document.createElement("style");document.head.appendChild(q);b.customStyles[e]={references:1,element:q.sheet};e=-1;for(var u in g)g.hasOwnProperty(u)&&q.sheet.insertRule(u+"{"+g[u].join(";")+"}",++e)}this.customStyleSelector&&a.push(this.customStyleSelector);return a}function p(){var b={},a=this.options;a.showLink||(a.elements.link="",a.elements.messagelink=a.elements.message);Object.keys(a.elements).forEach(function(e){b[e]=
21c.interpolateString(a.elements[e],function(b){var e=a.content[b];return b&&"string"==typeof e&&e.length?e:""})});var d=a.compliance[a.type];d||(d=a.compliance.info);"opt-in"==a.type&&a.revokable&&"basic"==gdprConfigurationOptions.revocableToolbarTheme&&(d=a.compliance["opt-in-revokable-basic"]);"opt-in"==a.type&&a.revokable&&"advanced"==gdprConfigurationOptions.revocableToolbarTheme&&(d=a.compliance["opt-in-revokable-advanced"]);"opt-out"==a.type&&a.revokable&&"advanced"==gdprConfigurationOptions.revocableToolbarTheme&&
22(d=a.compliance["opt-out-advanced"]);b.compliance=c.interpolateString(d,function(a){return gdprConfigurationOptions.allowallShowbutton&&"allow"==a?b[a]+b.allowall:b[a]});d=a.layouts[a.layout];d||(d=a.layouts.basic);return c.interpolateString(d,function(a){return b[a]})}function n(a){var e=this.options,d=document.createElement("div"),g=e.container&&1===e.container.nodeType?e.container:document.body;d.innerHTML=a;a=d.children[0];a.style.display="none";c.hasClass(a,"cc-window")&&b.hasTransition&&c.addClass(a,
23"cc-invisible");this.onButtonClick=t.bind(this);jQuery(a).on("click",this.onButtonClick);e.autoAttach&&(g.firstChild?g.insertBefore(a,g.firstChild):g.appendChild(a));return a}function t(a){var e=a.target;if(c.hasClass(e,"cc-btn")){var d=e.className.match(new RegExp("\\bcc-("+k.join("|")+")\\b"));if(d=d&&d[1]||!1)this.setStatus(d),this.close(!0)}c.hasClass(e,"cc-close")&&(this.setStatus(b.status.dismiss),this.close(!0));c.hasClass(e,"cc-revoke")&&this.revokeChoice();c.hasClass(e,"cc-allow")&&b.cookieCategoriesHasChanged&&
24gdprConfigurationOptions.alwaysReloadAfterCategoriesChange&&(d=jQuery(e).data("nozeroreload")?1E3:0,setTimeout(function(){plgGdprShowReloadWindow()},d));c.hasClass(e,"cc-allowall")&&gdprConfigurationOptions.allowallShowbutton&&this.acceptAllCallback(a,!0)}function v(b){b=c.normaliseHex(b);return"000000"==b?"#222":c.getLuminance(b)}function z(b,a){for(var e=0,d=b.length;e<d;++e){var c=b[e];if(c instanceof RegExp&&c.test(a)||"string"==typeof c&&c.length&&c===a)return!0}return!1}function A(){var a=this,
25c=this.setStatus.bind(this),d=1E3*this.options.dismissOnTimeout;"number"==typeof d&&0<d&&"info"==this.options.type&&(this.dismissTimeout=window.setTimeout(function(){c(b.status.dismiss);a.close(!0)},Math.floor(d)));var g=this.options.dismissOnScroll;if("number"==typeof g&&0<g&&"info"==this.options.type){var m=function(e){window.pageYOffset>Math.floor(g)&&(c(b.status.dismiss),window.removeEventListener("scroll",m),this.onWindowScroll=null,a.close(!0))};this.onWindowScroll=m;window.addEventListener("scroll",
26m)}}function B(){if(this.options.revokable){var b=d.call(this);this.options.animateRevokable&&b.push("cc-animate");this.customStyleSelector&&b.push(this.customStyleSelector);b=this.options.revokeBtn.replace("{{classes}}",b.join(" "));var a=this.revokeBtn=n.call(this,b);this.options.animateRevokable&&(this.onMouseMove=b=c.throttle(function(b){var e=!1,d=window.innerHeight-20;c.hasClass(a,"cc-top")&&20>b.clientY&&(e=!0);c.hasClass(a,"cc-center")&&20>b.clientY&&(e=!0);c.hasClass(a,"cc-bottom")&&b.clientY>
27d&&(e=!0);c.hasClass(a,"cc-revoke-bottom")&&b.clientY>d&&(e=!0);e?c.hasClass(a,"cc-active")||c.addClass(a,"cc-active"):c.hasClass(a,"cc-active")&&c.removeClass(a,"cc-active")},200),window.addEventListener("mousemove",b))}}var C={enabled:!0,disabledByLaw:!1,container:null,cookie:{name:"cookieconsent_status",path:"/",domain:"",expiryDays:gdprConfigurationOptions.cookieConsentLifetime,samesite:gdprConfigurationOptions.cookieConsentSamesitePolicy,secure:gdprConfigurationOptions.cookieConsentSecure},onPopupOpen:function(){},
28onPopupClose:function(){},onInitialise:function(b){},onStatusChange:function(b,a){},onRevokeChoice:function(){},content:{header:"Cookies used on the website!",message:"This website uses co
28okies to ensure you get the best experience on our website.",dismiss:"Got it!",allow:"Allow cookies",deny:"Decline",allowall:"Allow all cookies",link:"Cookie policy",href:"javascript:void(0)",privacylink:"Privacy policy",privacyhref:"javascript:void(0)",close:"&#x274c;",cookiesettings:""},elements:{header:'<span class="cc-header">{{header}}</span>&nbsp;',
29message:'<span id="cookieconsent:desc" class="cc-message"><span class="cc-message-text">{{message}}</span>{{cookiesettings}}</span>',messagelink:'<span id="cookieconsent:desc" class="cc-message"><span class="cc-message-text">{{message}}</span> <a aria-label="cookie policy" role="button" tabindex="0" class="cc-link cc-cookie" href="{{href}}" rel="noopener noreferrer noindex nofollow" target="'+gdprConfigurationOptions.blankLinks+'">{{link}}</a> <a aria-label="privacy policy" role="button" tabindex="0" class="cc-link cc-privacy" href="{{privacyhref}}" rel="noopener noreferrer noindex nofollow" target="'+
30gdprConfigurationOptions.blankLinks+'">{{privacylink}}</a>{{cookiesettings}}</span>',dismiss:'<a aria-label="dismiss cookie message" role="button" tabindex="0" class="cc-btn cc-dismiss">{{dismiss}}</a>',allow:'<a aria-label="allow cookies" role="button" tabindex="0"  class="cc-btn cc-allow">{{allow}}</a>',deny:'<a aria-label="deny cookies" role="button" tabindex="0" class="cc-btn cc-deny">{{deny}}</a>',allowall:'<a aria-label="allow all cookies" role="button" tabindex="0"  class="cc-btn cc-allowall">{{allowall}}</a>',
31link:'<a aria-label="cookie policy" role="button" tabindex="0" class="cc-link cc-cookie" href="{{href}}" rel="noopener noreferrer noindex nofollow" target="'+gdprConfigurationOptions.blankLinks+'">{{link}}</a> <a aria-label="privacy policy" role="button" tabindex="0" class="cc-link cc-privacy" href="{{privacyhref}}" rel="noopener noreferrer noindex nofollow" target="'+gdprConfigurationOptions.blankLinks+'">{{privacylink}}</a>',close:'<span aria-label="dismiss cookie message" role="button" tabindex="0" class="cc-close">{{close}}</span>'},
32window:'<div role="dialog" aria-live="polite" aria-label="cookieconsent" aria-describedby="cookieconsent:desc" class="cc-window {{classes}}">\x3c!--googleoff: all--\x3e{{children}}{{checkboxes}}\x3c!--googleon: all--\x3e</div>',revokeBtn:'<div class="cc-revoke {{classes}}">'+gdprConfigurationOptions.cookiePolicyRevocableTabText+"</div>",compliance:"decline_first"==gdprConfigurationOptions.toolbarButtonsTheme?{info:'<div class="cc-compliance">{{dismiss}}</div>',"opt-in":'<div class="cc-compliance cc-highlight">{{dismiss}}{{allow}}</div>',
33"opt-out":'<div class="cc-compliance cc-highlight">{{deny}}{{allow}}</div>
33',"opt-out-advanced":'<div class="cc-compliance cc-highlight">{{deny}}{{allow}}{{dismiss}}</div>',"opt-in-revokable-basic":'<div class="cc-compliance cc-highlight">{{deny}}{{allow}}</div>',"opt-in-revokable-advanced":'<div class="cc-compliance cc-highlight">{{deny}}{{allow}}{{dismiss}}</div>'}:{info:'<div class="cc-compliance">{{dismiss}}</div>',"opt-in":'<div class="cc-compliance cc-highlight">{{allow}}{{dismiss}}</div>',"opt-out":'<div class="cc-compliance cc-highlight">{{allow}}{{deny}}</div>',
34"opt-out-advanced":'<div class="cc-compliance cc-highlight">{{allow}}{{deny}}{{dismiss}}</div>',"opt-in-revokable-basic":'<div class="cc-compliance cc-highlight">{{allow}}{{deny}}</div>',"opt-in-revokable-advanced":'<div class="cc-compliance cc-highlight">{{allow}}{{deny}}{{dismiss}}</div>'},type:"info",layouts:{basic:"{{messagelink}}{{compliance}}","basic-close":"{{messagelink}}{{compliance}}{{close}}","basic-header":"{{header}}{{message}}{{link}}{{compliance}}","basic-close-header":"{{header}}{{message}}{{link}}{{compliance}}{{close}}"},
35layout:"basic",position:"bottom",theme:"block",static:!1,palette:null,revokable:!0,animateRevokable:!0,showLink:!0,dismissOnScroll:!1,dismissOnTimeout:!1,autoOpen:!0,autoAttach:!0,whitelistPage:[],blacklistPage:[],overrideHTML:null};a.prototype.initialise=function(a){var d=this;this.options&&this.destroy();c.deepExtend(this.options={},C);if(gdprConfigurationOptions.hideOnMobileDevices&&u(gdprConfigurationOptions.hideOnMobileDevices))this.destroy();else{c.isPlainObject(a)&&c.deepExtend(this.options,
36a);gdprConfigurationOptions.denyMessageEnabled&&localStorage.getItem("hasDenyMessage")&&(this.options.content.message=gdprConfigurationOptions.denyMessage);gdprConfigurationOptions.toggleCookieSettings&&"undefined"!==typeof gdprUseCookieCategories&&(this.options.content.cookiesettings=gdprConfigurationOptions.toggleCookieSettingsText,"center"==this.options.position&&"extended"==this.options.centertheme&&setTimeout(function(){jQuery("span.cc-cookie-settings-toggle").addClass("cc-cookie-settings-toggle-xtd");
37jQuery("div.cc-window.cc-center.cc-center-xtd").addClass("cc-window-settings-toggle-xtd")},100));x.call(this)&&(this.options.enabled=!1);z(this.options.blacklistPage,location.pathname)&&(this.options.enabled=!1);z(this.options.whitelistPage,location.pathname)&&(this.options.enabled=!0);gdprConfigurationOptions.customRevokableButton&&(jQuery("*.cc-custom-revoke").on("click",this.revokeChoice.bind(this,!1,!0)),2==gdprConfigurationOptions.customRevokableButton&&setTimeout(function(){jQuery("div.cc-revoke").remove()},
380));if(gdprConfigurationOptions.placeholderBlockedResources&&gdprConfigurationOptions.placeholderBlockedResourcesAction||gdprConfigurationOptions.allowallShowbutton){var e=function(a){jQuery("a.cc-btn.cc-allow").data("nozeroreload",!0).trigger("click");setTimeout(function(){a||plgGdprShowReloadWindow()},800)};this.acceptAllCallback=function(a,d){a=jQuery("div.cc-checkbox-container input.cc-cookie-checkbox");jQuery.each(a,function(a,b){b.hasAttribute("disabled")&&jQuery(b).removeAttr("disabled")});
39setTimeout(function(){jQuery("#cookie_cat4:not(:checked)").trigger("click")},1);setTimeout(function(){jQuery("#cookie_cat3:not(:checked)").trigger("click")},400);setTimeout(function(){jQuery("#cookie_cat2:not(:checked)").trigger("click")},800);setTimeout(function(){jQuery("#cookie_cat1:not(:checked)").trigger("click")},1200);setTimeout(function(){e(d)},1600);gdprConfigurationOptions.optoutIndividualResources&&gdprConfigurationOptions.allowallIndividualResources&&localStorage.getItem("gdprCookiesChoices")&&
40(b.cookieCategoriesHasChanged=!0,localStorage.removeItem("gdprCookiesChoices"));gdprConfigurationOptions.optoutIndividualResources&&gdprConfigurationOptions.allowallIndividualResources&&localStorage.getItem("gdprServicesChoices")&&localStorage.removeItem("gdprServicesChoices")}}if(gdprConfigurationOptions.placeholderBlockedResources&&gdprConfigurationOptions.placeholderBlockedResourcesAction)switch(d.getStatus(),jQuery("div.gdprlock-placeholder").on("click",this.revokeChoice.bind(this,!1,!1)).addClass("gdprlock-placeholder-action"),
41gdprConfigurationOptions.placeholderBlockedResourcesAction){case "accept":jQuery("div.gdprlock-placeholder").on("click",function(a){e()});break;case "acceptall":jQuery("div.gdprlock-placeholder").on("click",this.acceptAllCallback)}a=this.options.window.replace("{{classes}}",m.call(this).join(" ")).replace("{{children}}",p.call(this));var g=gdprConfigurationOptions.cookieCategory1Enable||gdprConfigurationOptions.cookieCategory2Enable||gdprConfigurationOptions.cookieCategory3Enable||gdprConfigurationOptions.cookieCategory4Enable;
42if("info"!=gdprConfigurationOptions.complianceType&&g){g='<div class="cc-checkboxes-container '+gdprConfigurationOptions.categoriesCheckboxTemplate+'"'+(gdprConfigurationOptions.toggleCookieSettings?' style="display:none"':"")+'><div title="'+gdprConfigurationOptions.cookieSettingsDesc+'" class="cc-settings-label">'+gdprConfigurationOptions.cookieSettingsLabel+"</div>{{checkbox}}</div>";var f=[];
42this.getStatus();var h=localStorage.getItem("hasExplititDeclinedAll"),v=h?" disabled":"";if(gdprConfigurationOptions.cookieCategory1Enable){var t=
43v,k="undefined"!==typeof gdprCookieCategoryDisabled1||h?"":" checked",r="",w="";h||(r=gdprConfigurationOptions.cookieCategory1Locked?" readonly":"");gdprConfigurationOptions.preserveLockedCategories&&h&&gdprConfigurationOptions.cookieCategory1Locked&&(t="",r=" readonly",k="undefined"!==typeof gdprCookieCategoryDisabled1?"":" checked");"undefined"!==typeof gdprConfigurationOptions.cookieCategoriesDescriptions.cat1&&(w='<div class="cc-checkbox-description">'+gdprConfigurationOptions.cookieCategoriesDescriptions.cat1+
44'</div><div class="cc-checkbox-category-readmore" data-category="1">'+gdprConfigurationOptions.cookieCategoriesDescriptions.categoryReadMore+"</div>");f[1]='<div class="cc-checkbox-container"><input type="checkbox" name="cookie_cat1" id="cookie_cat1" class="cc-cookie-checkbox" value="1" data-category="1"'+k+t+r+'/><span></span><a class="cc-link cc-cookie-checkbox" href="javascript:void(0)" data-category="1"><label for="cookie_cat1">'+gdprConfigurationOptions.cookieCategory1Name+"</label></a>"+w+"</div>"}gdprConfigurationOptions.cookieCategory2Enable&&
45(t=v,k="undefined"!==typeof gdprCookieCategoryDisabled2||h?"":" checked",w=r="",h||(r=gdprConfigurationOptions.cookieCategory2Locked?" readonly":""),gdprConfigurationOptions.preserveLockedCategories&&h&&gdprConfigurationOptions.cookieCategory2Locked&&(t="",r=" readonly",k="undefined"!==typeof gdprCookieCategoryDisabled2?"":" checked"),"undefined"!==typeof gdprConfigurationOptions.cookieCategoriesDescriptions.cat2&&(w='<div class="cc-checkbox-description">'+gdprConfigurationOptions.cookieCategoriesDescriptions.cat2+
46'</div><div class="cc-checkbox-category-readmore" data-category="2">'+gdprConfigurationOptions.cookieCategoriesDescriptions.categoryReadMore+"</div>"),f[2]='<div class="cc-checkbox-container"><input type="checkbox" name="cookie_cat2" id="cookie_cat2" class="cc-cookie-checkbox" value="1" data-category="2"'+k+t+r+'/><span></span><a class="cc-link cc-cookie-checkbox" href="javascript:void(0)" data-category="2"><label for="cookie_cat2">'+gdprConfigurationOptions.cookieCategory2Name+"</label></a>"+w+"</div>");
47gdprConfigurationOptions.cookieCategory3Enable&&(t=v,k="undefined"!==typeof gdprCookieCategoryDisabled3||h?"":" checked",w=r="",h||(r=gdprConfigurationOptions.cookieCategory3Locked?" readonly":""),gdprConfigurationOptions.preserveLockedCategories&&h&&gdprConfigurationOptions.cookieCategory3Locked&&(t="",r=" readonly",k="undefined"!==typeof gdprCookieCategoryDisabled3?"":" checked"),"undefined"!==typeof gdprConfigurationOptions.cookieCategoriesDescriptions.cat3&&(w='<div class="cc-checkbox-description">'+
48gdprConfigurationOptions.cookieCategoriesDescriptions.cat3+'</div><div class="cc-checkbox-category-readmore" data-category="3">'+gdprConfigurationOptions.cookieCategoriesDescriptions.categoryReadMore+"</div>"),f[3]='<div class="cc-checkbox-container"><input type="checkbox" name="cookie_cat3" id="cookie_cat3" class="cc-cookie-checkbox" value="1" data-category="3"'+k+t+r+'/><span></span><a class="cc-link cc-cookie-checkbox" href="javascript:void(0)" data-category="3"><label for="cookie_cat3">'+gdprConfigurationOptions.cookieCategory3Name+
49"</label></a>"+w+"</div>");gdprConfigurationOptions.cookieCategory4Enable&&(t="undefined"!==typeof gdprCookieCategoryDisabled4||h?"":" checked",r=k="",h||(k=gdprConfigurationOptions.cookieCategory4Locked?" readonly":""),gdprConfigurationOptions.preserveLockedCategories&&h&&gdprConfigurationOptions.cookieCategory4Locked&&(v="",k=" readonly",t="undefined"!==typeof gdprCookieCategoryDisabled4?"":" checked"),"undefined"!==typeof gdprConfigurationOptions.cookieCategoriesDescriptions.cat4&&(r='<div class="cc-checkbox-description">'+
50gdprConfigurationOptions.cookieCategoriesDescriptions.cat4+'</div><div class="cc-checkbox-category-readmore" data-category="4">'+gdprConfigurationOptions.cookieCategoriesDescriptions.categoryReadMore+"</div>"),f[4]='<div class="cc-checkbox-container"><input type="checkbox" name="cookie_cat4" id="cookie_cat4" class="cc-cookie-checkbox" value="1" data-category="4"'+t+v+k+'/><span></span><a class="cc-link cc-cookie-checkbox" href="javascript:void(0)" data-category="4"><label for="cookie_cat4">'+gdprConfigurationOptions.cookieCategory4Name+
51"</label></a>"+r+"</div>");
51f=f.join(" ");g=g.replace("{{checkbox}}",f);a=a.replace("{{checkboxes}}",g);jQuery(document).on("click","span.cc-cookie-settings-toggle",function(a){jQuery("span.cc-cookie-settings-toggler").toggleClass("cc-opened");jQuery("div.cc-checkboxes-container").slideToggle(250)});gdprConfigurationOptions.includeAcceptButton&&setTimeout(function(){var a=jQuery("a.cc-btn.cc-allow").clone(!0,!0).end().remove();jQuery("div.cc-checkboxes-container").append(a)},0);jQuery(document).on("pointerdown",
52"span.cc-cookie-descriptions-toggler",function(a){jQuery(this).toggleClass("cc-cookie-descriptions-toggler-open");jQuery(this).nextAll("div.cc-cookie-descriptions").slideToggle(250)});jQuery(document).on("pointerdown","span.cc-cookie-descriptions-toggler + span.cc-cookie-category-name",function(a){jQuery(this).prev("span.cc-cookie-descriptions-toggler").toggleClass("cc-cookie-descriptions-toggler-open");jQuery(this).nextAll("div.cc-cookie-descriptions").slideToggle(250)})}else a=a.replace("{{checkboxes}}",
53"");g=this.options.overri
53deHTML;"string"==typeof g&&g.length&&(a=g);this.options.static?(a=n.call(this,'<div class="cc-grower">'+a+"</div>"),a.style.display="",this.element=a.firstChild,this.element.style.display="none",c.addClass(this.element,"cc-invisible")):this.element=n.call(this,a);A.call(this);B.call(this);gdprConfigurationOptions.defaultClosedToolbar&&!localStorage.getItem("hasFirstDeclined")&&(this.options.autoOpen=!1);this.options.autoOpen&&(gdprConfigurationOptions.openAlwaysDeclined?this.autoOpen():
54gdprConfigurationOptions.openAlwaysDeclined||localStorage.getItem("hasFirstDeclined")||this.autoOpen());this.options.revokable&&this.toggleRevokeButton(!0);"center"==this.options.position&&"extended"!=this.options.centertheme&&setTimeout(function(){var a=jQuery("div.cc-window.cc-center"),b=a.hasClass("cc-invisible")?40:0,d=a.outerHeight();a.css("margin-top","-"+parseInt((d+b)/2)+"px")},100);"undefined"!==typeof gdprUseFancyboxLinks&&(a="undefined"!==typeof jQuery.gdprfancybox?"gdprfancybox":"fancybox",
55jQuery("a.cc-link")[a]({type:"iframe",parentEl:jQuery("div.cc-window.cc-center").length?"html":"body",iframe:{css:{width:gdprFancyboxWidth,height:gdprFancyboxHeight}},buttons:["close"],beforeLoad:function(a){"undefined"===typeof a.$lastFocus&&(a.$lastFocus=this.opts.$orig);if(!a.$lastFocus.hasClass("cc-cookie")&&!a.$lastFocus.hasClass("cc-privacy")||jQuery("div.fancybox-content").length)return a.close(),a.current.src=null,setTimeout(function(){jQuery("div.fancybox-loading").remove();jQuery("div.fancybox-is-closing").hide()},
560),!1;"undefined"!==typeof gdpr_ajaxendpoint_cookie_policy&&a.$lastFocus.hasClass("cc-cookie")?a.current.src=gdpr_ajaxendpoint_cookie_policy:"undefined"!==typeof gdpr_ajaxendpoint_privacy_policy&&a.$lastFocus.hasClass("cc-privacy")?a.current.src=gdpr_ajaxendpoint_privacy_policy:-1==a.current.src.indexOf("tmpl=component")&&(-1==a.current.src.indexOf("?")?a.current.src+="?tmpl=component":a.current.src+="&tmpl=component")},afterLoad:function(a){a=jQuery("div.fancybox-toolbar").clone(!0).end().remove();
57jQuery("div.fancybox-content").prepend(a)},lang:"all",i18n:{all:{CLOSE:gdprCloseText}}}),gdprConfigurationOptions.autoOpenPrivacyPolicy&&!localStorage.getItem("privacyOpened")&&(localStorage.setItem("privacyOpened",!0),jQuery("div.cc-window a.cc-link.cc-privacy").focus().trigger("click")));if("undefined"!==typeof gdprUseCookieCategories){jQuery("a.cc-cookie-checkbox").on("click",function(a){d.lastClickedCategory=jQuery(this).attr("data-category")});a="undefined"!==typeof jQuery.gdprfancybox?"gdprfancybox":
58"fancybox";jQuery("a.cc-cookie-checkbox")[a]({type:"ajax",parentEl:jQuery("div.cc-window.cc-center").length?"html":"body",buttons:["close"],beforeLoad:function(a){"undefined"===typeof a.$lastFocus&&(a.$lastFocus=this.opts.$orig);var b=parseInt(a.$lastFocus.attr("data-category"));b||0!=jQuery("div.fancybox-content").length||(b=d.lastClickedCategory);if(!b||jQuery("div.fancybox-content").length)return a.close(),a.current.src=null,setTimeout(function(){jQuery("div.fancybox-loading").remove();jQuery("div.fancybox-is-closing").hide()},
590),!1;a.current.src=gdpr_ajaxendpoint_cookie_category_desc+"&gdpr_cookie_category="+b;gdprConfigurationOptions.optoutIndividualResources&&(d.$optoutIndividualCategory=jQuery("input[data-category="+b+"]"))},afterLoad:function(a){d.setStatus(b.status.allow,!0);a=jQuery("div.fancybox-toolbar").clone(!0).end().remove();jQuery("div.fancybox-content").prepend(a);jQuery("div.fancybox-content").addClass("fancybox-30");gdprConfigurationOptions.optoutIndividualResources&&(jQuery("div.gdpr_cookie_switcher[data-type!=service]").on("click",
60function(a){var d=null,c=jQuery(this);c.hasClass("disabled")?(c.removeClass("disabled"),d=!0):(c.addClass("disabled"),d=!1);b.cookieCategoriesHasChanged=!0;a=c.data("bind");var e=localStorage.getItem("gdprCookiesChoices");e=e?JSON.parse(e):{};d?a in e&&delete e[a]:(d="cookie"==c.data("type")?!0:!1,e[a]=d);jQuery.isEmptyObject(e)?localStorage.removeItem("gdprCookiesChoices"):localStorage.setItem("gdprCookiesChoices",JSON.stringify(e));gdprConfigurationOptions.blockIndividualResourcesServerside&&jQuery.ajax({type:"POST",
61url:gdpr_ajax_livesite+"index.php?option=com_gdpr&task=user.storeCookiesChoices",data:{cookieschoices:JSON.stringify(e)}}).done(function(a,b,d){})}),jQuery("div.gdpr_cookie_switcher[data-type!=service]").length&&(a=localStorage.getItem("gdprCookiesChoices"))&&(a=JSON.parse(a),jQuery.each(a,function(a,b){jQuery("div.gdpr_cookie_switcher[data-type!=service][data-bind="+plgGdprCssEscape(a)+"]").addClass("disabled")})),jQuery("div.gdpr_cookie_switcher[data-type=service]").on("click",function(a){var d=
62jQuery(this);d.hasClass("disabled")?(d.removeClass("disabled"),a=!0):(d.addClass("disabled"),a=!1);b.cookieCategoriesHasChanged=!0;var e=d.parents("fieldset.cc-service-list-title");a&&jQuery("div.gdpr_cookie_switcher.disabled",e).trigger("click");a||jQuery("div.gdpr_cookie_switcher:not(.disabled)",e).trigger("click");d=d.data("bind");e=(e=localStorage.getItem("gdprServicesChoices"))?JSON.parse(e):{};a?d in e&&delete e[d]:e[d]=!0;jQuery.isEmptyObject(e)?localStorage.removeItem("gdprServicesChoices"):
63localStorage.setItem("gdprServicesChoices",JSON.stringify(e))}),jQuery("div.gdpr_cookie_switcher[data-type=service]").length&&(a=localStorage.getItem("gdprServicesChoices"))&&(a=JSON.parse(a),jQuery.each(a,function(a,b){jQuery("div.gdpr_cookie_switcher[data-type=service][data-bind="+plgGdprCssEscape(a)+"]").addClass("disabled")})),d.$optoutIndividualCategory.prop("checked")||jQuery("div.gdpr_cookie_switcher").addClass("inactive"))},lang:"all",i18n:{all:{CLOSE:gdprCloseText}}});jQuery("input.cc-cookie-checkbox").on("click",
64function(a){if(jQuery(this).attr("readonly"))return!1});jQuery("input.cc-cookie-checkbox").on("change",function(a){d.setStatus(b.status.allow,!0);b.cookieCategoriesHasChanged=!0;a={gdpr_cookie_category:parseInt(jQuery(this).data("category")),gdpr_cookie_category_state:jQuery(this).prop("checked")?0:1};gdprConfigurationOptions.blockIndividualResourcesServerside&&b.cookiesChoicesPropagate&&(localStorage.getItem("gdprCookiesChoices")&&(a.cookieschoices=localStorage.getItem("gdprCookiesChoices")),b.cookiesChoicesPropagate=
65!1);jQuery.ajax({type:"POST",url:gdpr_ajax_livesite+"index.php?option=com_gdpr&task=user.processCookieCategory",data:a}).done(function(a,b,d){});if(gdprPropagateCategoriesSession){var e=localStorage.getItem("gdprCategoriesChoices");e?e=JSON.parse(e):(e={},e.jsessid=gdprJSessVal);e[a.gdpr_cookie_category]=a.gdpr_cookie_category_state;localStorage.setItem("gdprCategoriesChoices",JSON.stringify(e))}});jQuery("input.cc-cookie-checkbox + span").on("click",function(a){jQuery(this).prev("input:not([readonly])").trigger("click")});
66if(gdprPropagateCategoriesSession&&localStorage.getItem("gdprCategoriesChoices")&&this.getStatus(!0)&&(a=JSON.parse(localStorage.getItem("gdprCategoriesChoices")),a.jsessid!=gdprJSessVal)){g=6E3;if(1==gdprPropagateCategoriesSession){var y=function(a){a.preventDefault();a.returnValue=""};window.addEventListener("beforeunload",y)}a.hasOwnProperty(1)&&((f=jQuery("#cookie_cat1").prop("checked"))&&1==a[1]&&(setTimeout(function(){b.cookiesChoicesPropagate=!0;jQuery("#cookie_cat1").trigger("click")},1),
67g=1500),f||0!=a[1]||(setTimeout(function(){b.cookiesChoicesPropagate=!0;jQuery("#cookie_cat1").trigger("click")},1),g=1500));a.hasOwnProperty(2)&&((f=jQuery("#cookie_cat2").prop("checked"))&&1==a[2]&&(setTimeout(function(){b.cookiesChoicesPropagate=!0;jQuery("#cookie_cat2").trigger("click")},1500),g=3E3),f||0!=a[2]||(setTimeout(function(){b.cookiesChoicesPropagate=!0;jQuery("#cookie_cat2").trigger("click")},1500),g=3E3));a.hasOwnProperty(3)&&((f=jQuery("#cookie_cat3").prop("checked"))&&1==a[3]&&(setTimeout(function(){b.cookiesChoicesPropagate=
68!0;jQuery("#cookie_cat3").trigger("click")},3E3),g=4500),f||0!=a[3]||(setTimeout(function(){b.cookiesChoicesPropagate=!0;jQuery("#cookie_cat3").trigger("click")},3E3),g=4500));a.hasOwnProperty(4)&&((f=jQuery("#cookie_cat4").prop("checked"))&&1==a[4]&&(setTimeout(function(){b.cookiesChoicesPropagate=!0;jQuery("#cookie_cat4").trigger("click")},4500),g=6E3),f||0!=a[4]||(setTimeout(function(){b.cookiesChoicesPropagate=!0;jQuery("#cookie_cat4").trigger("click")},4500),g=6E3));a.jsessid=gdprJSessVal;localStorage.setItem("gdprCategoriesChoices",
69JSON.stringify(a));gdprConfigurationOptions.alwaysReloadAfterCategoriesChange?setTimeout(function(){1==gdprPropagateCategoriesSession&&window.removeEventListener("beforeunload",y);plgGdprShowReloadWindow()},g):1==gdprPropagateCategoriesSession&&setTimeout(function(){window.removeEventListener("beforeunload",y)},2E3)}jQuery("div.cc-checkbox-category-readmore").on("click",function(a){a=jQuery(this).data("category");jQuery("a.cc-cookie-checkbox[data-category="+a+"]").trigger("click")})}jQuery(window).on("beforeunload",
70function(){d.getStatus(!0)||plgGdprAllCookiesDisabledByScript||(localStorage.getItem("hasConsented")||localStorage.getItem("hasDeclined")||localStorage.getItem("hasFirstDeclined"))&&d.setStatus(b.status.dismiss)});if(gdprConfigurationOptions.hideRevokableButtonOnscroll)jQuery(window).on("scroll",function(a){(isZero=0==jQuery(window).scrollTop())?jQuery("div.cc-revoke:not(.cc-revoke-invisible)").fadeIn():jQuery("div.cc-revoke:not(.cc-revoke-invisible)").fadeOut()})}};a.prototype.destroy=function(){this.onButtonClick&&
71this.element&&(this.element.removeEventListener("click",this.onButtonClick),this.onButtonClick=null);this.dismissTimeout&&(clearTimeout(this.dismissTimeout),this.dismissTimeout=null);this.onWindowScroll&&(window.removeEventListener("scroll",this.onWindowScroll),this.onWindowScroll=null);this.onMouseMove&&(window.removeEventListener("mousemove",this.onMouseMove),this.onMouseMove=null);this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element);this.element=null;this.revokeBtn&&
72this.revokeBtn.parentNode&&this.revokeBtn.parentNode.removeChild(this.revokeBtn);this.revokeBtn=null;var a=this.options.palette;if(c.isPlainObject(a)){a=c.hash(JSON.stringify(a));var d=b.customStyles[a];d&&!--d.references&&((d=d.element.ownerNode)&&d.parentNode&&d.parentNode.removeChild(d),b.customStyles[a]=null)}this.options=null};a.prototype.open=function(a,d){if(this.element)return this.isOpen()||(b.hasTransition?(this.fadeIn(),"flip"==this.options.palette.popup.effect&&setTimeout(function(a){jQuery(a.element).addClass("flipInX");
73setTimeout(function(a){jQuery(a.element).removeClass("flipInX")},750,a)},50,this)):this.element.style.display="",this.options.revokable&&this.toggleRevokeButton(),this.revokeOpen?(this.revokeOpen=!1,this.options.onPopupOpen.call(this,!0)):this.options.onPopupOpen.call(this),this.dismissT
73imeout&&d&&(clearTimeout(this.dismissTimeout),this.dismissTimeout=null),"center"==this.options.position&&"extended"==this.options.centertheme&&setTimeout(function(){var a=jQuery(window).scrollTop();jQuery("div.cc-window.cc-center.cc-center-xtd").css("margin-top",
74a+"px")},d?0:500)),this};a.prototype.close=function(a){if(this.element)return this.isOpen()&&(b.hasTransition?("flip"==this.options.palette.popup.effect&&(jQuery(this.element).addClass("flipOutX"),setTimeout(function(a){jQuery(a.element).hide().addClass("cc-invisible").removeClass("flipOutX")},750,this)),this.fadeOut()):this.element.style.display="none",a&&this.options.revokable&&this.toggleRevokeButton(!0),this.options.onPopupClose.call(this)),this};a.prototype.fadeIn=function(){var a=this.element;
75b.hasTransition&&a&&(this.afterTransition&&f.call(this,a),c.hasClass(a,"cc-invisible")&&(a.style.display="",this.options.static&&(this.element.parentNode.style.maxHeight=this.element.clientHeight+"px"),this.openingTimeout=setTimeout(h.bind(this,a),20)))};a.prototype.fadeOut=function(){var a=this.element;b.hasTransition&&a&&(this.openingTimeout&&(clearTimeout(this.openingTimeout),h.bind(this,a)),c.hasClass(a,"cc-invisible")||(this.options.static&&(this.element.parentNode.style.maxHeight=""),this.afterTransition=
76f.bind(this,a),a.addEventListener(b.transitionEnd,this.afterTransition),c.addClass(a,"cc-invisible")))};a.prototype.isOpen=function(){return this.element&&""==this.element.style.display&&(b.hasTransition?!c.hasClass(this.element,"cc-invisible"):!0)};a.prototype.toggleRevokeButton=function(a){this.revokeBtn&&!this.options.disabledByLaw&&(this.revokeBtn.style.display=a?"":"none");a?jQuery(this.revokeBtn).removeClass("cc-revoke-invisible"):jQuery(this.revokeBtn).addClass("cc-revoke-invisible")};a.prototype.revokeChoice=
77function(a,b){this.options.enabled=!0;this.clearStatus();this.options.onRevokeChoice.call(this);a||(this.revokeOpen=!0,this.autoOpen(this.options,!0));b&&gdprConfigurationOptions.customRevokableButtonAction&&setTimeout(function(){1==gdprConfigurationOptions.customRevokableButtonAction&&jQuery("a.cc-link.cc-cookie").focus().trigger("click");2==gdprConfigurationOptions.customRevokableButtonAction&&jQuery("a.cc-link.cc-privacy").focus().trigger("click")},1)};a.prototype.hasAnswered=function(a){return 0<=
78Object.keys(b.status).indexOf(this.getStatus(!0))};a.prototype.hasConsented=function(a,d){a=this.getStatus();return a==b.status.allow||a==b.status.dismiss};a.prototype.autoOpen=function(a,b){!this.hasAnswered()&&this.options.enabled&&this.open(null,b);var d=this;setTimeout(function(){var b=d.isOpen();b||a||"deny"!=d.getStatus()||!gdprConfigurationOptions.openAlwaysDeclined||d.open();b||a||"dismiss"!=d.getStatus()||"opt-in"!=gdprConfigurationOptions.complianceType||!gdprConfigurationOptions.openAlwaysDeclined||
79d.open()},21)};a.prototype.setStatus=function(a,d){var e=this.options.cookie,f=c.getCookie(e.name);f=0<=Object.keys(b.status).indexOf(f);gdprConfigurationOptions.denyMessageEnabled&&"deny"==a&&(localStorage.setItem("hasDenyMessage",!0),this.options.content.message=gdprConfigurationOptions.denyMessage,jQuery("span.cc-message-text").html(gdprConfigurationOptions.denyMessage));0<=Object.keys(b.status).indexOf(a)?(c.setCookie(e.name,a,e.expiryDays,e.domain,e.path),d||this.options.onStatusChange.call(this,
80a,f)):this.clearStatus()};a.prototype.getStatus=function(a){return!a&&localStorage.getItem("hasDeclined")?b.status.deny:c.getCookie(this.options.cookie.name)};a.prototype.clearStatus=function(){var a=this.options.cookie;c.setCookie(a.name,"",-1,a.domain,a.path)};return a}();b.Location=function(){function a(a){c.deepExtend(this.options={},k);c.isPlainObject(a)&&c.deepExtend(this.options,a);this.currentServiceIndex=-1}function b(a,b,c){var d=document.createElement("script");d.type="text/"+(a.type||
81"javascript");d.src=a.src||a;d.async=!1;d.onreadystatechange=d.onload=function(){var a=d.readyState;clearTimeout(f);b.done||a&&!/loaded|complete/.test(a)||(b.done=!0,b(),d.onreadystatechange=d.onload=null)};document.body.appendChild(d);var f=setTimeout(function(){b.done=!0;b();d.onreadystatechange=d.onload=null},c)}function h(a,b,c,f,h){var d=new (window.XMLHttpRequest||window.ActiveXObject)("MSXML2.XMLHTTP.3.0");d.open(f?"POST":"GET",a,1);d.setRequestHeader("Content-type","application/x-www-form-urlencoded");
82if(Array.isArray(h))for(a=0,c=h.length;a<c;++a){var m=h[a].split(":",2);d.setRequestHeader(m[0].replace(/^\s+|\s+$/g,""),m[1].replace(/^\s+|\s+$/g,""))}"function"==typeof b&&(d.onreadystatechange=function(){3<d.readyState&&b(d)});d.send(f)}function f(a){return Error("Error ["+(a.code||"UNKNOWN")+"]: "+a.error)}var k={timeout:5E3,services:["geoip","geoiplookup","ipinfo"],serviceDefinitions:{geoip:function(){return{url:"https://ipapi.co/json/",callback:function(a,b){try{var d=JSON.parse(b);gdprConfigurationOptions.usaCCPARegions&&
83d.region&&sessionStorage.setItem("ccpa_region_code",d.region);return d.error?f(d):{code:d.country}}
83catch(n){return f({error:"Invalid response ("+n+")"})}}}},geoiplookup:function(){return{url:"https://json.geoiplookup.io/",headers:["Accept: application/json"],callback:function(a,b){try{var d=JSON.parse(b);gdprConfigurationOptions.usaCCPARegions&&d.region&&sessionStorage.setItem("ccpa_region_code",d.region);return d.error?f(d):{code:d.country_code}}catch(n){return f({error:"Invalid response ("+n+")"})}}}},
84ipinfo:function(){return{url:"https://ipinfo.io",headers:["Accept: application/json"],callback:function(a,b){try{var d=JSON.parse(b);gdprConfigurationOptions.usaCCPARegions&&d.region&&sessionStorage.setItem("ccpa_region_code",d.region);return d.error?f(d):{code:d.country}}catch(n){return f({error:"Invalid response ("+n+")"})}}}}}};a.prototype.getNextService=function(){do var a=this.getServiceByIdx(++this.currentServiceIndex);while(this.currentServiceIndex<this.options.services.length&&!a);return a};
85a.prototype.getServiceByIdx=function(a){a=this.options.services[a];return"function"===typeof a?(a=a(),a.name&&c.deepExtend(a,this.options.serviceDefinitions[a.name](a)),a):"string"===typeof a?this.options.serviceDefinitions[a]():c.isPlainObject(a)?this.options.serviceDefinitions[a.name](a):null};a.prototype.locate=function(a,b){var d=this.getNextService();d?(this.callbackComplete=a,this.callbackError=b,this.runService(d,this.runNextServiceOnError.bind(this))):b(Error("No services to run"))};a.prototype.setupUrl=
86function(a){var b=this.getCurrentServiceOpts();return a.url.replace(/\{(.*?)\}/g,function(d,c){if("callback"===c)return d="callback"+Date.now(),window[d]=function(b){a.__JSONP_DATA=JSON.stringify(b)},d;if(c in b.interpolateUrl)return b.interpolateUrl[c]})};a.prototype.runService=function(a,c){var d=this;if(a&&a.url&&a.callback){var f=a.isScript?b:h,m=this.setupUrl(a);f(m,function(b){b=b?b.responseText:"";a.__JSONP_DATA&&(b=a.__JSONP_DATA,delete a.__JSONP_DATA);d.runServiceCallback.call(d,c,a,b)},
87this.options.timeout,a.data,a.headers)}};a.prototype.runServiceCallback=function(a,b,c){var d=this,f=b.callback(function(b){f||d.onServiceResult.call(d,a,b)},c);f&&this.onServiceResult.call(this,a,f)};a.prototype.onServiceResult=function(a,b){b instanceof Error||b&&b.error?a.call(this,b,null):a.call(this,null,b)};a.prototype.runNextServiceOnError=function(a,b){a?(this.logError(a),(a=this.getNextService())?this.runService(a,this.runNextServiceOnError.bind(this)):this.completeService.call(this,this.callbackError,
88Error("All services failed"))):this.completeService.call(this,this.callbackComplete,b)};a.prototype.getCurrentServiceOpts=function(){var a=this.options.services[this.currentServiceIndex];return"string"==typeof a?{name:a}:"function"==typeof a?a():c.isPlainObject(a)?a:{}};a.prototype.completeService=function(a,b){this.currentServiceIndex=-1;a&&a(b)};a.prototype.logError=function(a){var b=this.currentServiceIndex,d=this.getServiceByIdx(b);console.error("The service["+b+"] ("+d.url+") responded with the following error",
89a)};return a}();b.Law=function(){function a(a){this.initialise.apply(this,arguments)}var k={regionalLaw:!0,hasLaw:"AT BE BG HR CZ CY DK EE FI FR DE EL HU IE IT LV LT LU MT NL PL PT SK SI ES SE GB UK".split(" "),revokable:"HR CY DK EE FR DE LV LT NL PT ES".split(" "),explicitAction:["HR","IT","ES"]};a.prototype.initialise=function(a){c.deepExtend(this.options={},k);c.isPlainObject(a)&&c.deepExtend(this.options,a)};a.prototype.get=function(a){var b=this.options;return{hasLaw:0<=b.hasLaw.indexOf(a),
90revokable:0<=b.revokable.indexOf(a),explicitAction:0<=b.explicitAction.indexOf(a)}};a.prototype.applyLaw=function(a,c){c=this.get(c);if(gdprConfigurationOptions.usaCCPARegions){var f=sessionStorage.getItem("ccpa_region_code");f&&!c.hasLaw&&-1<jQuery.inArray(f.toLowerCase(),gdprConfigurationOptions.usaCCPARegions)&&(c.hasLaw=!0)}c.hasLaw?("opt-in"!=gdprConfigurationOptions.complianceType||localStorage.getItem("hasConsented")||localStorage.getItem("setConsentedCookie")||plgGdprDisableAllCookies(),"opt-out"==
91gdprConfigurationOptions.complianceType&&localStorage.getItem("hasDeclined")&&plgGdprDisableAllCookies()):(a.enabled=!1,a.disabledByLaw=!0,gdprConfigurationOptions.checkboxLawByCountry&&("undefined"!==typeof GdprUser&&(jQuery("input[name=gdpr_privacy_policy_checkbox][value=1]").prop("checked",!0),jQuery("input[name=gdpr_privacy_policy_checkbox][value=0]").attr("data-setby","gdprcountrylaw"),jQuery("input[name=gdpr_privacy_policy_checkbox]").parents("div.control-group").hide()),"undefined"!==typeof GdprCheckbox&&
92(GdprCheckbox.disabledByLaw=!0,jQuery("input[data-role=gdpr_dynamic_privacy_policy_checkbox]").length&&(jQuery("input[data-role=gdpr_dynamic_privacy_policy_checkbox][value=1]").prop("checked",!0),jQuery("input[data-role=gdpr_dynamic_privacy_policy_checkbox]").parents("div.control-group").hide()))),b.utils.getCookie("cookieconsent_status")||!gdprConfigurationOptions.blockJoomlaSessionCookie&&!gdprConfigurationOptions.blockExternalCookiesDomains&&"undefined"===typeof gdprUseCookieCategories||(b.utils.setCo
92okie("cookieconsent_status",
93b.status.allow),setTimeout(function(){jQuery("input.cc-cookie-checkbox:not(:checked)").trigger("click")},0),setTimeout(function(){plgGdprShowReloadWindow()},gdprConfigurationOptions.countryAcceptReloadTimeout)));this.options.regionalLaw&&(c.revokable&&(a.revokable=!0),c.explicitAction&&(a.dismissOnScroll=!1,a.dismissOnTimeout=!1));return a};return a}();b.initialise=function(a,c,h){var f=new b.Law(a.law);c||(c=function(){});h||(h=function(){});b.getCountryCode(a,function(h){delete a.law;delete a.location;
94h.code&&(a=f.applyLaw(a,h.code));c(new b.Popup(a))},function(c){delete a.law;delete a.location;h(c,new b.Popup(a))})};b.getCountryCode=function(a,c,h){if(a.law&&a.law.countryCode)c({code:a.law.countryCode});else if(a.location){if(gdprConfigurationOptions.cacheGeolocationCountry){var f=sessionStorage.getItem("cookie_consent_country");if(f){c({code:f});return}}(new b.Location(a.location)).locate(function(a){c(a||{});gdprConfigurationOptions.cacheGeolocationCountry&&a.code&&sessionStorage.setItem("cookie_consent_country",
95a.code)},h)}else c({})};b.utils=c;b.hasInitialised=!0;window.cookieconsent=b}})(window.cookieconsent||{});

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.