vendor: 7,205 bytes, line 1
1!function(e){if(!e.hasInitialised){var t={escapeRegExp:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},hasClass:function(e,t){var i=" ",o=e.className;return"object"==typeof o&&(o=e.className.baseVal||""),1===e.nodeType&&(i+o+i).replace(/[\n\t]/g,i).indexOf(i+t+i)>=0},addClass:function(e,t){e.className+=" "+t},removeClass:function(e,t){var i=new RegExp("\\b"+this.escapeRegExp(t)+"\\b");e.className=e.className.replace(i,"")},interpolateString:function(e,t){return e.replace(/{{([a-z][a-z0-9\-_]*)}}/gi,function(e){return t(arguments[1])||""})},getCookie:function(e){var t=("; "+document.cookie).split("; "+e+"=");return t.length<2?void 0:t.pop().split(";").shift()},setCookie:function(e,t,i,o,n,s){var c=new Date;c.setHours(c.getHours()+24*(i||365));var a=[e+"="+t,"expires="+c.toUTCString(),"samesite=lax;path="+(n||"/")];o&&a.push("domain="+o),s&&a.push("secure"),document.cookie=a.join(";")},deepExtend:function(e,t){for(var i in t)t.hasOwnProperty(i)&&(i in e&&this.isPlainObject(e[i])&&this.isPlainObject(t[i])?this.deepExtend(e[i],t[i]):e[i]=t[i]);return e},throttle:function(e,t){var i=!1;return function(){i||(e.apply(this,arguments),i=!0,setTimeout(function(){i=!1},t))}},hash:function(e){var t,i,o=0;if(0===e.length)return o;for(t=0,i=e.length;t<i;++t)o=(o<<5)-o+e.charCodeAt(t),o|=0;return o},normaliseHex:function(e){return"#"==e[0]&&(e=e.substr(1)),3==e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),e},getContrast:function(e){return e=this.normaliseHex(e),(299*parseInt(e.substr(0,2),16)+587*parseInt(e.substr(2,2),16)+114*parseInt(e.substr(4,2),16))/1e3>=128?"#000":"#fff"},getLuminance:function(e){var t=parseInt(this.normaliseHex(e),16),i=38+(t>>16),o=38+(t>>8&255),n=38+(255&t);return"#"+(16777216+65536*(i<255?i<1?0:i:255)+256*(o<255?o<1?0:o:255)+(n<255?n<1?0:n:255)).toString(16).slice(1)},isMobile:function(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)},isPlainObject:function(e){return"object"==typeof e&&null!==e&&e.constructor==Object},traverseDOMPath:function(e,i){return e&&e.parentNode?t.hasClass(e,i)?e:this.traverseDOMPath(e.parentNode,i):null}};e.status={deny:"deny",allow:"allow",dismiss:"dismiss",allowall:"allowall",savesettings:"savesettings",detailed:"detailed",close:"close",discard:"discard"},e.transitionEnd=function(){var e=document.createElement("div"),t={t:"transitionend",OT:"oTransitionEnd",msT:"MSTransitionEnd",MozT:"transitionend",WebkitT:"webkitTransitionEnd"};for(var i in t)if(t.hasOwnProperty(i)&&void 0!==e.style[i+"ransition"])return t[i];return""}(),e.hasTransition=!!e.transitionEnd;var i=Object.keys(e.status).map(t.escapeRegExp);e.customStyles={},e.Popup=function(){var o={enabled:!0,container:null,cookie:{name:"cookieconsent_status",path:"/",domain:"",expiryDays:365,secure:!1},onPopupOpen:function(){},onPopupClose:function(){},onInitialise:function(e){},onStatusChange:function(e,t){},onRevokeChoice:function(){},onNoCookieLaw:function(e,t){},content:{header:"Cookies used on the website!",message:"This website uses cookies to ensure you get the best experience on our website.",dismiss:"Got it!",allow:"Allow cookies",deny:"Decline",savesettings:"Save Settings",link:"Learn more",href:"https://www.cookiescanner.com",close:"x",target:"_blank",policy:"Cookie Policy"},elements:{header:'<span class="cc-header">{{header}}</span> ',message:'<span id="cookieconsent:desc" class="cc-message">{{message}}</span>',messagelink:'<span id="cookieconsent:desc" class="cc-message">{{message}} <a aria-label="cookies - {{link}} " role=button tabindex="0" class="cc-link" href="{{href}}" rel="noopener noreferrer nofollow" target="{{target}}">{{link}}</a></span>',messageswitchlink:'<span id="cookieconsent:desc" class="cc-message">{{message}} <a aria-label="cookies - {{link}}" role=button tabindex="0" class="cc-link" href="{{href}}" rel="noopener noreferrer nofollow" target="{{target}}">{{link}}</a><div class="cc-allswitches {{allswitchesclasses}}">{{allswitches}}</div></span>',dismiss:'<a aria-label="{{dismiss}} cookie" 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>',savesettings:'<a aria-label="{{savesettings}}" role=button tabindex="0" class="cc-btn cc-savesettings">{{savesettings}}</a>',allowall:'<a aria-label="{{allow}}" role=button tabindex="0" class="cc-btn cc-allowall">{{allow}}</a>',link:'<a aria-label="cookies - {{link}}" role=button tabindex="0" class="cc-link" href="{{href}}" rel="noopener noreferrer nofollow" target="{{target}}">{{link}}</a>',close:'<span aria-label="{{close}} cookie" role=button tabindex="0" class="cc-close">{{close}}</span>',closeCustomText:'<span aria-label="{{close}} cookie" role=button tabindex="0" class="cc-close cc-closeXcustomText">{{close}}</span>',switch:'<span class="cc-switch-element"><label id="nsc_bar_label_{{cc-cookietype-id}}" class="cc-switch"><input data-currentValue="{{checked}}" aria-label="{{label}}" id="nsc_bar_input_switch{{cc-cookietype-id}}" type="checkbox" {{checked}} {{disabled}}><span class="cc-slider {{theme}} {{disabled}}"></span><span class="cc-visually-hidden">{{label}}</span></label><span class="cc-switch-label">{{label}}</span></span></span>'},window:'<div role="dialog" aria-live="polite" aria-label="cookieconsent" aria-describedby="cookieconsent:desc" class="cc-window {{classes}}">\x3c!--googleoff: all--\x3e{{children}}\x3c!--googleon: all--\x3e</div>',revokeBtnText:'<div aria-label="{{policy}}" role=button class="cc-revoke {{classes}}">{{policy}}</div>',revokeBtnIcon:'<div aria-label="{{policy}}" class="cc-revoke {{classes}}"><svg role=button class="cc-revoke-button-icon" height="{{revokeBtnIconHeight}}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title class="cc-revoke-button-icon">{{policy}}</title><path class="cc-revoke-button-icon" fill="{{revokeBtnIconColor}}" d="{{dValue}}" /></svg></div>',revokeBtnType:"textOnly",revokeBtnIconDValue:"M14.5 10C13.67 10 13 9.33 13 8.5V8H12.5C11.67 8 11 7.33 11 6.5V5.07C7.91 5.5 5.47 8 5.07 11.08C5.25 10.46 5.82 10 6.5 10C7.33 10 8 10.67 8 11.5S7.33 13 6.5 13C5.71 13 5.07 12.39 5 11.62C5 12.11 5 12.61 5.09 13.12C5.5 15.81 7.54 18.04 10.16 18.74C9.76 18.47 9.5 18 9.5 17.5C9.5 16.67 10.17 16 11 16C11.59 16 12.1 16.35 12.34 16.84C12.16 17.39 12.06 17.97 12 18.57C11.83 18.76 11.6 18.9 11.32 18.96C11.55 19 11.78 19 12 19V19C12 19.69 12.11 20.36 12.29 21C12.19 21 12.1 21 12 21C7.03 21 3 16.97 3 12S7.03 3 12 3C12 3 13 3 13 4V6H14C14 6 15 6 15 7V8H17C17 8 18 8 18 9V10H20C20 10 20.6 10 20.87 10.5C20.96 11 21 11.5 21 12C21 12.1 21 12.19 21 12.29C20.36 12.11 19.69 12 19 12H17.5C16.67 12 16 11.33 16 10.5V10H14.5M11.5 11C10.67 11 10 11.67 10 12.5S10.67 14 11.5 14 13 13.33 13 12.5 12.33 11 11.5 11M11 7.5C11 6.67 10.33 6 9.5 6S8 6.67 8 7.5 8.67 9 9.5 9 11 8.33 11 7.5M23.8 20.4C23.9 20.4 23.9 20.5 23.8 20.6L22.8 22.3C22.7 22.4 22.6 22.4 22.5 22.4L21.3 22C21 22.2 20.8 22.3 20.5 22.5L20.3 23.8C20.3 23.9 20.2 24 20.1 24H18.1C18 24 17.9 23.9 17.8 23.8L17.6 22.5C17.3 22.4 17 22.2 16.8 22
1L15.6 22.5C15.5 22.5 15.4 22.5 15.3 22.4L14.3 20.7C14.2 20.6 14.3 20.5 14.4 20.4L15.5 19.6V18.6L14.4 17.8C14.3 17.7 14.3 17.6 14.3 17.5L15.3 15.8C15.4 15.7 15.5 15.7 15.6 15.7L16.8 16.2C17.1 16 17.3 15.9 17.6 15.7L17.8 14.4C17.8 14.3 17.9 14.2 18.1 14.2H20.1C20.2 14.2 20.3 14.3 20.3 14.4L20.5 15.7C20.8 15.8 21.1 16 21.4 16.2L22.6 15.7C22.7 15.7 22.9 15.7 22.9 15.8L23.9 17.5C24 17.6 23.9 17.7 23.8 17.8L22.7 18.6V19.6L23.8 20.4M20.5 19C20.5 18.2 19.8 17.5 19 17.5S17.5 18.2 17.5 19 18.2 20.5 19 20.5 20.5 19.8 20.5 19Z",revokeBtnIconColor:"#009868",revokeBtnIconHeight:"2em",blockingScreen:'<div class="cc-blockingScreen"></div>',blockScreen:!1,makeButtonsEqual:!1,buttonOrderAllowFirst:!1,activateConsentMode:!1,consentModeConfig:{},compliance:{info:'<div class="cc-compliance">{{dismiss}}</div>',"opt-in":'<div class="cc-compliance cc-highlight">{{deny}}{{allow}}</div>',"opt-out":'<div class="cc-compliance cc-highlight">{{deny}}{{allow}}</div>',detailed:'<div class="cc-compliance">{{savesettings}}</div>',detailedRev:'<div class="cc-compliance cc-highlight">{{savesettings}}{{allowall}}</div>',detailedRevDeny:'<div class="cc-compliance cc-highlight">{{deny}}{{savesettings}}{{allowall}}</div>'},type:"info",layouts:{basic:"{{messagelink}}{{compliance}}","basic-close":"{{messagelink}}{{compliance}}{{close}}","basic-closeCustomText":"{{messagelink}}{{compliance}}{{closeCustomText}}","basic-header":"{{header}}{{message}}{{link}}{{compliance}}",detailed:"{{messageswitchlink}}{{compliance}}","detailed-close":"{{messageswitchlink}}{{compliance}}{{close}}","detailed-closeCustomText":"{{messageswitchlink}}{{compliance}}{{closeCustomText}}"},cookietypes:null,statsUrl:null,statsSendOnOpen:!1,statsCountOpens:!1,layout:"basic",position:"bottom",positionRevokeButton:"bottom-right",centerBanner:!1,theme:"block",static:!1,palette:null,revokable:!0,animateRevokable:!0,showLink:!0,dismissOnScroll:!1,dismissOnTimeout:!1,dismissOnWindowClick:!1,ignoreClicksFrom:["cc-revoke","cc-btn"],autoOpen:!0,autoAttach:!0,forceToAppend:!0,whitelistPage:[],blacklistPage:[],disableWithiniFrames:"0",overrideHTML:null,closeXClickStatus:"default",dataLayerName:"dataLayer"};function n(){this.initialise.apply(this,arguments)}function s(){var e;try{e=localStorage.getItem("beautiful_cookie_banner_open_counter"),e=parseInt(e,10)}catch(e){return console.error(e),0}return("number"!=typeof e||isNaN(e))&&(e=0),e}function c(e,t){var i=document.cookie.match("(^|;)\\s*"+e+"_"+t+"\\s*=\\s*([^;]+)");return i?i.pop():""}function a(e){this.openingTimeout=null,t.removeClass(e,"cc-invisible")}function l(t){t.style.display="none",t.removeEventListener(e.transitionEnd,this.afterTransition),this.afterTransition=null}function r(){var e=this.options,i="top"==e.position||"bottom"==e.position?"banner":"floating";return t.isMobile()&&(i="floating"),i}function h(e){var t=s.call(this);return{href:window.location.href,referrer:document.referrer,cookieName:this.options.cookie.name,mainStatus:e,openCount:t,cookieTypeConsent:[]}}function u(e){if(this.options.statsUrl)try{var t=new XMLHttpRequest;t.withCredentials=!1,t.open("POST",this.options.statsUrl),t.setRequestHeader("Content-Type","application/json"),t.send(JSON.stringify(e))}catch(e){console.error(e)}}function p(o){var n=this.options,s=document.createElement("div");let c=!1;var a;n.container&&1===n.container.nodeType?a=n.container:(a=document.body,c=!0),s.innerHTML=o;var l=s.children[0];return l.style.display="none",t.hasClass(l,"cc-window")&&e.hasTransition&&t.addClass(l,"cc-invisible"),this.onButtonClick=function(o){if("keyup"===o.type&&13!==o.keyCode)return;var n=t.traverseDOMPath(o.target,"cc-btn")||o.target;if(t.hasClass(n,"cc-btn")){var s=n.className.match(new RegExp("\\bcc-("+i.join("|")+")\\b")),c=s&&s[1]||!1;if("dismiss"===c&&"default"!==this.options.infoClickStatus&&e.status.hasOwnProperty(this.options.infoClickStatus))return this.setStatus(this.options.infoClickStatus),void this.close(!0);c&&(this.setStatus(c),this.close(!0))}t.hasClass(n,"cc-close")&&"default"!==this.options.closeXClickStatus&&e.status.hasOwnProperty(this.options.closeXClickStatus)&&(this.setStatus(this.options.closeXClickStatus),this.close(!0));t.hasClass(n,"cc-close")&&"opt-out"===this.options.type&&"default"===this.options.closeXClickStatus&&(this.setStatus(e.status.allow),this.close(!0));t.hasClass(n,"cc-close")&&"detailed"===this.options.type&&"default"===this.options.closeXClickStatus&&(this.setStatus(e.status.savesettings),this.close(!0));t.hasClass(n,"cc-close")&&"detailedRev"===this.options.type&&"default"===this.options.closeXClickStatus&&(this.setStatus(e.status.savesettings),this.close(!0));t.hasClass(n,"cc-close")&&"detailedRevDeny"===this.options.type&&"default"===this.options.closeXClickStatus&&(this.setStatus(e.status.savesettings),this.close(!0));t.hasClass(n,"cc-close")&&"opt-in"===this.options.type&&"default"===this.options.closeXClickStatus&&(this.setStatus(e.status.deny),this.close(!0));t.hasClass(n,"cc-close")&&"info"===this.options.type&&"default"===this.options.closeXClickStatus&&(this.setStatus(e.status.allow),this.close(!0));(t.hasClass(n,"cc-revoke")||t.hasClass(n,"cc-revoke-button-icon"))&&this.revokeChoice()}.bind(this),l.addEventListener("click",this.onButtonClick),l.addEventListener("keyup",this.onButtonClick),n.autoAttach&&(!a.firstChild||n.forceToAppend&&c?a.appendChild(l):a.insertBefore(l,a.firstChild)),l}function d(e){return"000000"==(e=t.normaliseHex(e))?"#222":t.getLuminance(e)}function v(e,t){for(var i=0,o=e.length;i<o;++i){var n=e[i];if(n instanceof RegExp&&n.test(t)||"string"==typeof n&&n.length&&n===t)return!0}return!1}return n.prototype.initialise=function(i){if(this.options&&this.destroy(),t.deepExtend(this.options={},o),t.isPlainObject(i)&&t.deepExtend(this.options,i),"1"!==this.options.disableWithiniFrames||!0!==function(){var e,t=window.location.href;try{e=window.parent.location.href}catch(e){}return!e||t!==e}()){"svgIcon"!==this.options.revokeBtnType&&(this.options.revokeBtn=this.options.revokeBtnText),"svgIcon"===this.options.revokeBtnType&&(this.options.revokeBtn=this.options.revokeBtnIcon.replace(/\{\{dValue\}\}/g,this.options.revokeBtnIconDValue).replace(/\{\{revokeBtnIconColor\}\}/g,this.options.revokeBtnIconColor).replace(/\{\{revokeBtnIconHeight\}\}/g,this.options.revokeBtnIconHeight)),!0===this.options.buttonOrderAllowFirst&&(this.options.compliance["opt-in"]='<div class="cc-compl
1iance cc-first-highlight">{{allow}}{{deny}}</div>',this.options.compliance["opt-out"]='<div class="cc-compliance cc-first-highlight">{{allow}}{{deny}}</div>',this.options.compliance.detailedRev='<div class="cc-compliance cc-first-highlight">{{allowall}}{{savesettings}}</div>',this.options.compliance.detailedRevDeny='<div class="cc-compliance cc-first-highlight">{{allowall}}{{savesettings}}{{deny}}</div>'),function(){var t=this.options.onInitialise.bind(this);if(!window.navigator.cookieEnabled)return t(e.status.deny),!0;if(window.CookiesOK||window.navigator.CookiesOK)return t(e.status.allow),!0;var i=Object.keys(e.status),o=this.getStatus(),n=i.indexOf(o)>=0;n&&t(o);return n}.call(this)&&(this.options.enabled=!1),v(this.options.blacklistPage,location.pathname)&&(this.options.enabled=!1),v(this.options.whitelistPage,location.pathname)&&(this.options.enabled=!0);var n=this.options.window.replace("{{classes}}",function(){var i=this.options;positionStyle=r.call(this);var o=["cc-"+positionStyle,"cc-type-"+i.type,"cc-theme-"+i.theme];i.static&&o.push("cc-static");i.showCloseX&&o.push("cc-addedcloseX");o.push.apply(o,function(){var e=this.options.position.split("-"),t=[];if(1===e.length&&"centered"===e[0])return["cc-top","cc-right","cc-popovercenter"];return e.forEach(function(e){t.push("cc-"+e)}),t}.call(this));(function(i,o){var n=t.hash(JSON.stringify(i)),s="cc-color-override-"+n,c=t.isPlainObject(i);this.customStyleSelector=c?s:null,c&&function(i,o,n,s){if(e.customStyles[i])return void++e.customStyles[i].references;var c={},a=o.popup,l=o.button,r=o.highlight,h=o.switches;a&&(a.text=a.text?a.text:t.getContrast(a.background),a.link=a.link?a.link:a.text,c[n+".cc-window"]=["color: "+a.text,"background-color: "+a.background],c[n+".cc-revoke"]=["color: "+a.text,"background-color: "+a.background],c[n+" .cc-link,"+n+" .cc-link:active,"+n+" .cc-link:visited"]=["color: "+a.link],l&&(l.text=l.text?l.text:t.getContrast(l.background),l.border=l.border?l.border:"transparent",c[n+" .cc-btn"]=["color: "+l.text,"border-color: "+l.border,"background-color: "+l.background],l.padding&&c[n+" .cc-btn"].push("padding: "+l.padding),"transparent"!=l.background&&(c[n+" .cc-btn:hover, "+n+" .cc-btn:focus"]=["background-color: "+(l.hover||d(l.background))]),r?(r.text=r.text?r.text:t.getContrast(r.background),r.border=r.border?r.border:"transparent",c[n+" .cc-highlight .cc-btn:first-child"]=["color: "+r.text,"border-color: "+r.border,"background-color: "+r.background]):!0===s?c[n+" .cc-first-highlight .cc-btn:last-child"]=["color: "+a.text]:c[n+" .cc-highlight .cc-btn:first-child"]=["color: "+a.text]));h&&(c[".cc-slider"]=["background-color: "+h.background+"!important"],c[".cc-slider:before"]=["background-color: "+h.switch+"!important"],c[".cc-switch-label"]=["color: "+h.text],c["input:checked+.cc-slider"]=["background-color: "+h.backgroundChecked+"!important"],c["input:focus+.cc-slider"]=["background-color: "+h.backgroundChecked+"!important"]);var u=document.createElement("style");document.head.appendChild(u),e.customStyles[i]={references:1,element:u.sheet};var p=-1;for(var v in c)c.hasOwnProperty(v)&&u.sheet.insertRule(v+"{"+c[v].join(";")+"}",++p)}(n,i,"."+s,o);return c}).call(this,this.options.palette,this.options.buttonOrderAllowFirst);this.customStyleSelector&&o.push(this.customStyleSelector);return o}.call(this).join(" ")).replace("{{children}}",function(){var e={},i=this.options;i.showLink||(i.elements.link="",i.elements.messagelink=i.elements.message);if(i.cookietypes){var o="",n=this.options.cookie;i.cookietypes.forEach(function(e){var s=e.checked,c=t.getCookie(n.name+"_"+e.cookie_suffix);"deny"===c&&(s=""),"allow"===c&&(s="checked"),o+=i.elements.switch.replace(/\{\{cc\-cookietype\-id\}\}/g,e.cookie_suffix).replace(/\{\{label\}\}/g,e.label).replace(/\{\{checked\}\}/g,s).replace(/\{\{disabled\}\}/g,e.disabled).replace(/\{\{theme\}\}/g,i.theme)}),i.elements.messageswitchlink=i.elements.messageswitchlink.replace(/\{\{allswitches\}\}/g,o).replace("{{allswitchesclasses}}",function(){positionStyle=r.call(this);var e=["cc-"+positionStyle];this.customStyleSelector&&e.push(this.customStyleSelector);return e}.call(this).join(" "))}
1Object.keys(i.elements).forEach(function(o){e[o]=t.interpolateString(i.elements[o],function(e){var t=i.content[e];return e&&"string"==typeof t&&t.length?t:""})});var s=i.compliance[i.type];s||(s=i.compliance.info);e.compliance=t.interpolateString(s,function(t){return e[t]});var c=function(e){if(!e.showCloseX)return e.layouts[e.layout];if("detailed"===e.type||"detailedRev"===e.type||"detailedRevDeny"===e.type)return"x"!==e.content.close?e.layouts["detailed-closeCustomText"]:e.layouts["detailed-close"];if("x"!==e.content.close)return e.layouts["basic-closeCustomText"];return e.layouts["basic-close"]}(i);c||(c=i.layouts.basic);return t.interpolateString(c,function(t){return e[t]})}.call(this));this.options.makeButtonsEqual&&(n=(n=n.replace("cc-highlight","")).replace("cc-first-highlight",""));var s=this.options.overrideHTML;if("string"==typeof s&&s.length&&(n=s),this.options.static){var c=p.call(this,'<div class="cc-grower">'+n+"</div>");c.style.display="",this.element=c.firstChild,this.element.style.display="none",t.addClass(this.element,"cc-invisible")}else this.element=p.call(this,n);(function(){var i=this.setStatus.bind(this),o=this.close.bind(this),n=this.options.dismissOnTimeout,s=e.status.dismiss;"detailed"===this.options.type&&(s=e.status.savesettings);"detailedRev"===this.options.type&&(s=e.status.allowall);"detailedRevDeny"===this.options.type&&(s=e.status.allowall);"opt-in"!==this.options.type&&"opt-out"!==this.options.type||(s=e.status.allow);"number"==typeof n&&n>=0&&this.options.enabled&&(this.dismissTimeout=window.setTimeout(function(){i(s),o(!0)},Math.floor(n)));var c=this.options.dismissOnScroll;if("number"==typeof c&&c>=0){var a=function(e){window.pageYOffset>Math.floor(c)&&(i(s),o(!0),window.removeEventListener("scroll",a,{passive:!0}),this.onWindowScroll=null)};this.options.enabled&&(this.onWindowScroll=a,window.addEventListener("scroll",a,{passive:!0}))}var l=this.options.dismissOnWindowClick,r=this.options.ignoreClicksFrom;if(l){var h=function(e){for(var n=!1,c=e.path.length,a=r.length,l=0;l<c;l++)if(!n)for(var u=0;u<a;u++)n||(n=t.hasClass(e.path[l],r[u]));n||(i(s),o(!0),window.removeEventListener("click",h),window.removeEventListener("touchend",h),this.onWindowClick=null)}.bind(this);this.options.enabled&&(this.onWindowClick=h,window.addEventListener("click",h),window.addEventListener("touchend",h))}}).call(this),function(){t.isMobile()&&(this.options.animateRevokable=!1);if(1==this.options.revokable){var e=function(){var e=this.options.positionRevokeButton.split("-"),t=[];return e.forEach(function(e){t.push("cc-"+e)}),t}.call(this);this.options.animateRevokable&&e.push("cc-animate"),this.customStyleSelector&&e.push(this.customStyleSelector);var i=this.options.revokeBtn.replace("{{classes}}",e.join(" ")).replace(/\{\{policy\}\}/g,this.options.content.policy);this.revokeBtn=p.call(this,i);var o=this.revokeBtn;if(this.options.animateRevokable){var n=t.throttle(function(e){var i=!1,n=window.innerHeight-20;t.hasClass(o,"cc-top")&&e.clientY<20&&(i=!0),t.hasClass(o,"cc-bottom")&&e.clientY>n&&(i=!0),i?t.hasClass(o,"cc-active")||t.addClass(o,"cc-active"):t.hasClass(o,"cc-active")&&t.removeClass(o,"cc-active")},200);this.onMouseMove=n,window.addEventListener("mousemove",n)}}}.call(this),this.options.autoOpen&&this.autoOpen(),function(){try{links=document.querySelectorAll('a[id="nsc_bar_link_show_banner"]')}catch(e){links=[]}if(this.shortCodeLink=function(){this.revokeChoice()}.bind(this),links.length>0)for(var e=0;e<links.length;e+=1)links[e].addEventListener("click",this.shortCodeLink)}.call(this)}},n.prototype.destroy=function(){this.onButtonClick&&this.element&&(this.element.removeEventListener("click",this.onButtonClick),this.element.removeEventListener("keyup",this.onButtonClick),this.onButtonClick=null),this.dismissTimeout&&(clearTimeout(this.dismissTimeout),this.dismissTimeout=null),this.onWindowScroll&&(window.removeEventListener("scroll",this.onWindowScroll),this.onWindowScroll=null),this.onWindowClick&&(window.removeEventListener("click",this.onWindowClick),this.onWindowClick=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&&this.revokeBtn.parentNode&&this.revokeBtn.parentNode.removeChild(this.revokeBtn),this.revokeBtn=null,this.blockingScreen&&this.blockingScreen.parentNode&&this.blockingScreen.parentNode.removeChild(this.blockingScreen),this.blockingScreen=null,function(i){if(t.isPlainObject(i)){var o=t.hash(JSON.stringify(i)),n=e.customStyles[o];if(n&&!--n.references){var s=n.element.ownerNode;s&&s.parentNode&&s.parentNode.removeChild(s),e.customStyles[o]=null}}}(this.options.palette),this.options=null},n.prototype.open=function(t){if(this.element){if(!this.isOpen()){if(function(){if(1!=this.options.blockScreen)return!1;var e=this.options.blockingScreen;this.blockingScreen=p.call(this,e),this.blockingScreen.style.display=""}.call(this),e.hasTransition?this.fadeIn():this.element.style.display="",1==this.options.revokable&&this.toggleRevokeButton(),this.options.onPopupOpen.call(this),this.options.statsCountOpens){var i=s.call(this);i+=1;try{localStorage.setItem("beautiful_cookie_banner_open_counter",i)}catch(e){return void console.error(e)}}if(this.options.statsSendOnOpen){var o=h.call(this,"banner_open");u.call(this,o)}}return this}},n.prototype.close=function(t){if(this.element)return this.isOpen()&&(e.hasTransition?this.fadeOut():this.element.style.display="none",this.blockingScreen&&this.blockingScreen.parentNode&&this.blockingScreen.parentNode.removeChild(this.blockingScreen),this.blockingScreen=null,t&&1==this.options.revokable&&this.toggleRevokeButton(!0),this.options.onPopupClose.call(this)),this},n.prototype.fadeIn=function(){var i=this.element;if(e.hasTransition&&i&&(this.afterTransition&&l.call(this,i),t.hasClass(i,"cc-invisible"))){if(i.style.display="",this.options.static){var o=this.element.clientHeight;this.element.parentNode.style.maxHeight=o+"px"}this.openingTimeout=setTimeout(a.bind(this,i),20)}},n.prototype.fadeOut=function(){var i=this.element;e.hasTransition&&i&&(this.openingTimeout&&(clearTimeout(this.openingTimeout),a.bind(this,i)),t.hasClass(i,"cc-invisible")||(this.options.static&&(this.element.parentNode.style.maxHeight=""),this.afterTransition=l.bind(this,i),i.addEventListener(e.transitionEnd,this.afterTransition),t.addClass(i,"cc-invisible")))},n.prototype.isOpen=function(){return this.element&&""==this.element.style.display&&(!e.hasTransition||!t.hasClass(this.element,"cc-invisible"))},n.prototype.toggleRevokeButton=function(e){this.revokeBtn&&(this.revokeBtn.style.display=e?"":"none")},n.prototype.revokeChoice=function(e){this.options.enabled=!0,this.clearStatus(),this.options.onRevokeChoice.call(this),e||this.autoOpen()},n.prototype.hasAnswered=function(t){return Object.keys(e.status).indexOf(this.getStatus())>=0}
1,n.prototype.hasConsented=function(t){var i=this.getStatus();return i==e.status.allow||i==e.status.dismiss||i==e.status.allowall},n.prototype.autoOpen=function(e){!this.hasAnswered()&&this.options.enabled?this.open():this.hasAnswered()&&1==this.options.revokable&&this.toggleRevokeButton(!0)},n.prototype.setStatus=function(i){var o=this.options.cookie,n=t.getCookie(o.name);Object.keys(e.status).indexOf(n);Object.keys(e.status).indexOf(i)>=0?(t.setCookie(o.name,i,o.expiryDays,o.domain,o.path,o.secure),function(e){var i=this.options,o=this.options.cookie,n=h.call(this,e);i.cookietypes&&i.cookietypes.forEach(function(i){try{var s;const c=document.querySelector("input[id=nsc_bar_input_switch"+i.cookie_suffix+"]");"allowall"==e&&(c.disabled||(c.checked=!0)),"deny"==e&&(c.disabled||(c.checked=!1)),s=c.checked?"allow":"deny",t.setCookie(o.name+"_"+i.cookie_suffix,s,o.expiryDays,o.domain,o.path,o.secure),n.cookieTypeConsent.push({name:i.cookie_suffix,status:s})}catch(e){}});(function(){try{localStorage.removeItem("beautiful_cookie_banner_open_counter")}catch(e){console.error(e)}}).call(this),u.call(this,n)}.call(this,i),!0===this.options.activateConsentMode&&function(e,t,i,o,n,s){"dismiss"===e&&(e="allow");const a={},l=Object.keys(n);for(let s=0;s<l.length;s+=1){const h=n[l[s]];if("detailed"===t||"detailedRev"===t||"detailedRevDeny"===t)for(let e=0;e<i.length;e+=1){var r=c(o,i[e].cookie_suffix);h.includes(i[e].cookie_suffix)&&"allow"===r&&(a[l[s]]="granted"),h.includes(i[e].cookie_suffix)&&"deny"===r&&(a[l[s]]="denied")}else a[l[s]]=h.includes(e)?"granted":"denied"}window[s]=window[s]||[],function(){window[s].push(arguments)}("consent","update",a)}(i,this.options.type,this.options.cookietypes,this.options.cookie.name,this.options.consentModeConfig,this.options.dataLayerName),1==this.options.onStatusChange&&function(e,t,i,o,n){var s={event:"beautiful_cookie_consent_updated"};s.statusBefore=t,"dismiss"===e&&(e="allow");s.cookieconsent_status=e;for(var a=0,l=o.length;a<l;a+=1){var r=c(n,o[a].cookie_suffix);r&&(s["cookieconsent_status_"+o[a].cookie_suffix]=r)}window[i]=window[i]||[],window[i].push(s)}(i,n,this.options.dataLayerName,this.options.cookietypes,this.options.cookie.name),"function"==typeof window.nsc_bar_set_status_callback&&window.nsc_bar_set_status_callback(i)):this.clearStatus()},n.prototype.getStatus=function(){return t.getCookie(this.options.cookie.name)},n.prototype.clearStatus=function(){var e=this.options.cookie;t.setCookie(e.name,"",-1,e.domain,e.path)},n}(),e.Location=function(){var e={timeout:5e3,services:["ipinfo"],serviceDefinitions:{ipinfo:function(){return{url:"//ipinfo.io",headers:["Accept: application/json"],callback:function(e,t){try{var i=JSON.parse(t);return i.error?s(i):{code:i.country}}catch(e){return s({error:"Invalid response ("+e+")"})}}}},ipinfodb:function(e){return{url:"//api.ipinfodb.com/v3/ip-country/?key={api_key}&format=json&callback={callback}",isScript:!0,callback:function(e,t){try{var i=JSON.parse(t);return"ERROR"==i.statusCode?s({error:i.statusMessage}):{code:i.countryCode}}catch(e){return s({error:"Invalid response ("+e+")"})}}}},maxmind:function(){return{url:"//js.maxmind.com/js/apis/geoip2/v2.1/geoip2.js",isScript:!0,callback:function(e){window.geoip2?geoip2.country(function(t){try{e({code:t.country.iso_code})}catch(t){e(s(t))}},function(t){e(s(t))}):e(new Error("Unexpected response format. The downloaded script should have exported `geoip2` to the global scope"))}}}}};function i(i){t.deepExtend(this.options={},e),t.isPlainObject(i)&&t.deepExtend(this.options,i),this.currentServiceIndex=-1}function o(e,t,i){var o,n=document.createElement("script");n.type="text/"+(e.type||"javascript"),n.src=e.src||e,n.async=!1,n.onreadystatechange=n.onload=function(){var e=n.readyState;clearTimeout(o),t.done||e&&!/loaded|complete/.test(e)||(t.done=!0,t(),n.onreadystatechange=n.onload=null)},document.body.appendChild(n),o=setTimeout(function(){t.done=!0,t(),n.onreadystatechange=n.onload=null},i)}function n(e,t,i,o,n){var s=new(window.XMLHttpRequest||window.ActiveXObject)("MSXML2.XMLHTTP.3.0");if(s.open(o?"POST":"GET",e,1),s.setRequestHeader("Content-type","application/x-www-form-urlencoded"),Array.isArray(n))for(var c=0,a=n.length;c<a;++c){var l=n[c].split(":",2);s.setRequestHeader(l[0].replace(/^\s+|\s+$/g,""),l[1].replace(/^\s+|\s+$/g,""))}"function"==typeof t&&(s.onreadystatechange=function(){s.readyState>3&&t(s)}),s.send(o)}function s(e){return new Error("Error ["+(e.code||"UNKNOWN")+"]: "+e.error)}return i.prototype.getNextService=function(){var e;do{e=this.getServiceByIdx(++this.currentServiceIndex)}while(this.currentServiceIndex<this.options.services.length&&!e);return e},i.prototype.getServiceByIdx=function(e){var i=this.options.services[e];if("function"==typeof i){var o=i();return o.name&&t.deepExtend(o,this.options.serviceDefinitions[o.name](o)),o}return"string"==typeof i?this.options.serviceDefinitions[i]():t.isPlainObject(i)?this.options.serviceDefinitions[i.name](i):null},i.prototype.locate=function(e,t){var i=this.getNextService();i?(this.callbackComplete=e,this.callbackError=t,this.runService(i,this.runNextServiceOnError.bind(this))):t(new Error("No services to run"))},i.prototype.setupUrl=function(e){var t=this.getCurrentServiceOpts();return e.url.replace(/\{(.*?)\}/g,function(i,o){if("callback"===o){var n="callback"+Date.now();return window[n]=function(t){e.__JSONP_DATA=JSON.stringify(t)},n}if(o in t.interpolateUrl)return t.interpolateUrl[o]})},i.prototype.runService=function(e,t){var i=this;e&&e.url&&e.callback&&(e.isScript?o:n)(this.setupUrl(e),function(o){var n=o?o.responseText:"";e.__JSONP_DATA&&(n=e.__JSONP_DATA,delete e.__JSONP_DATA),i.runServiceCallback.call(i,t,e,n)},this.options.timeout,e.data,e.headers)},i.prototype.runServiceCallback=function(e,t,i){var o=this,n=t.callback(function(t){n||o.onServiceResult.call(o,e,t)},i);n&&this.onServiceResult.call(this,e,n)},i.prototype.onServiceResult=function(e,t){t instanceof Error||t&&t.error?e.call(this,t,null):e.call(this,null,t)},i.prototype.runNextServiceOnError=function(e,t){if(e){this.logError(e);var i=this.getNextService();i?this.runService(i,this.runNextServiceOnError.bind(this)):this.completeService.call(this,this.callbackError,new Error("All services failed"))}else this.completeService.call(this,this.callbackComplete,t)},i.prototype.getCurrentServiceOpts=function(){var e=this.options.services[this.currentServiceIndex];return"string"==typeof e?{name:e}
1:"function"==typeof e?e():t.isPlainObject(e)?e:{}},i.prototype.completeService=function(e,t){this.currentServiceIndex=-1,e&&e(t)},i.prototype.logError=function(e){var t=this.currentServiceIndex,i=this.getServiceByIdx(t);console.warn("The service["+t+"] ("+i.url+") responded with the following error",e)},i}(),e.Law=function(){var e={regionalLaw:!0,hasLaw:["AT","BE","BG","HR","CZ","CY","DK","EE","FI","FR","DE","EL","HU","IE","IT","LV","LT","LU","MT","NL","NO","PL","PT","SK","ES","SE","GB","UK","GR","EU","RO"],revokable:["HR","CY","DK","EE","FR","DE","LV","LT","NL","NO","PT","ES"],explicitAction:["HR","IT","ES","NO"]};function i(e){this.initialise.apply(this,arguments)}return i.prototype.initialise=function(i){t.deepExtend(this.options={},e),t.isPlainObject(i)&&t.deepExtend(this.options,i)},i.prototype.get=function(e){var t=this.options;return{hasLaw:t.hasLaw.indexOf(e)>=0,revokable:t.revokable.indexOf(e)>=0,explicitAction:t.explicitAction.indexOf(e)>=0}},i.prototype.applyLaw=function(e,t){var i=this.get(t);return i.hasLaw||(e.enabled=!1,"function"==typeof e.onNoCookieLaw&&e.onNoCookieLaw(t,i)),this.options.regionalLaw&&(i.revokable&&(e.revokable=!0),i.explicitAction&&(e.dismissOnScroll=!1,e.dismissOnTimeout=!1)),e},i}(),e.destroy=function(){var e=document.getElementsByClassName("cc-banner");e[0]&&e[0].remove(),(e=document.getElementsByClassName("cc-revoke"))[0]&&e[0].remove()},e.initialise=function(i,o,n){var s=new e.Law(i.law);"detailed"!=i.type&&"detailedRev"!=i.type&&"detailedRevDeny"!=i.type||(i.layout="detailed"),o||(o=function(){}),n||(n=function(){});var c=Object.keys(e.status),a=t.getCookie("cookieconsent_status");c.indexOf(a)>=0?o(new e.Popup(i)):e.getCountryCode(i,function(t){delete i.law,delete i.location,t.code&&(i=s.applyLaw(i,t.code)),o(new e.Popup(i))},function(t){delete i.law,delete i.location,n(t,new e.Popup(i))})},e.getCountryCode=function(t,i,o){t.law&&t.law.countryCode?i({code:t.law.countryCode}):t.location?new e.Location(t.location).locate(function(e){i(e||{})},o):i({})},e.utils=t,e.hasInitialised=!0,window.cookieconsent=e}}(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.