(function(e){function t(o){if(n[o])return n[o].exports;var i=n[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:o})},t.r=function(e){'undefined'!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:'Module'}),Object.defineProperty(e,'__esModule',{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&'object'==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,'default',{enumerable:!0,value:e}),2&n&&'string'!=typeof e)for(var i in e)t.d(o,i,function(t){return e[t]}.bind(null,i));return o},t.n=function(e){var n=e&&e.__esModule?function(){return e['default']}:function(){return e};return t.d(n,'a',n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p='',t(t.s=6)})([function(e,t,n){'use strict';n.d(t,'a',function(){return r});var o=n(3),i=n(12),s=n.n(i);const a=new s.a;class r{constructor(e={},t={}){this.options=Object(o.j)(e,t),this.on=a.on.bind(a),this.emit=a.emit.bind(a)}}},function(e,t,n){'use strict';n.d(t,'i',function(){return o}),n.d(t,'h',function(){return i}),n.d(t,'j',function(){return s}),n.d(t,'g',function(){return a}),n.d(t,'f',function(){return r}),n.d(t,'c',function(){return c}),n.d(t,'e',function(){return l}),n.d(t,'b',function(){return d}),n.d(t,'d',function(){return p}),n.d(t,'a',function(){return u});const o='DENY',i='ALLOW',s='DISMISS',a=[o,i,s],r='UNCATEGORIZED',c='ESSENTIAL',l='PERSONALIZATION',d='ANALYTICS',p='MARKETING',u=[r,c,l,d,p]},function(e){function t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}e.exports=t},function(e,t,n){'use strict';n.d(t,'b',function(){return c}),n.d(t,'k',function(){return l}),n.d(t,'e',function(){return d}),n.d(t,'l',function(){return p}),n.d(t,'d',function(){return u}),n.d(t,'m',function(){return k}),n.d(t,'a',function(){return b}),n.d(t,'h',function(){return h}),n.d(t,'g',function(){return f}),n.d(t,'f',function(){return L}),n.d(t,'c',function(){return S}),n.d(t,'i',function(){return w}),n.d(t,'j',function(){return E});var o=n(4),i=n(5),s=n(9),a=n(10),r=n(11);const c=o.b,l=o.c,d=(e,t)=>e.replace(/{{([a-z][a-z0-9\-_]*)}}/gi,(e,n)=>t(n)||''),p=(e,t)=>{let n=!1;return function(){n||(e(...arguments),n=!0,setTimeout(function(){n=!1},t))}},u=(e)=>{let t,n=0,o=0,i=e.length;if(0===e.length)return n;for(o;o(t,[n,o])=>(t[n]=o instanceof Object&&!(o instanceof Array)?e[n]instanceof Object&&!(e[n]instanceof Array)?Object.entries(o).reduce(C(e[n]),{}):o:e.hasOwnProperty(n)?e[n]:o,t),E=(e,t)=>Object.entries(e).reduce(C(t),{})},function(e,t,n){'use strict';n.d(t,'b',function(){return o}),n.d(t,'c',function(){return i}),n.d(t,'a',function(){return s});const o=(e)=>{const t=' '+document.cookie,n=t.split(' '+e+'=');return 2>n.length?void 0:n.pop().split(';').shift()},i=function(e,t,n,o,i,s,a){const r=new Date;r.setHours(r.getHours()+24*('number'==typeof n?n:365)),document.cookie=e+'='+t+';expires='+r.toUTCString()+';path='+(i||'/')+(o?';domain='+o:'')+(s?';secure':'')+(a?';SameSite='+a:'')},s=(e,t)=>{if(o(e)){const{domain:n,path:o,secure:s,sameSite:a}=t;i(e,'',-1,n,o,s,a)}}},function(e,t,n){'use strict';n.d(t,'d',function(){return o}),n.d(t,'a',function(){return i}),n.d(t,'c',function(){return s}),n.d(t,'b',function(){return a});const o=(e)=>'#'==e[0]?e.substr(1):3==e.length?e[0]+e[0]+e[1]+e[1]+e[2]+e[2]:e,i=(e)=>{e=o(e);const t=parseInt(e.substr(0,2),16),n=parseInt(e.substr(2,2),16),i=parseInt(e.substr(4,2),16);return 128<=(299*t+587*n+114*i)/1e3?'#000':'#fff'},s=(e)=>{const t=parseInt(o(e),16),n=38,i=(t>>16)+n,s=(255&t>>8)+n,a=(255&t)+n;return'#'+(16777216+65536*(255>i?1>i?0:i:255)+256*(255>s?1>s?0:s:255)+(255>a?1>a?0:a:255)).toString(16).slice(1)},a=(e)=>(e=o(e),'000000'===e?'#222':s(e))},function(e,t,n){'use strict';n.r(t);var o=n(7),i=n.n(o),s=n(8);'undefined'==typeof exports?window.CookieConsent=s.a:exports.CookieConsent=s.a},function(){},function(e,t,n){'use strict';function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function i(e){for(var t,n=1;nthis.emit('initialized',this.popup),0)}initializationError(e){setTimeout(()=>this.emit('error',e,new d.a(this.options)),0)}getCountryLaws(e){return new c.a(this.options.legal).get(e)}isOpen(){return this.popup.isOpen()}close(){return this.popup.close(),this}revokeChoice(){return this.popup.revokeChoice(),this}open(){return this.popup.open(),this}openCustomizeSettings(){return this.popup.openCustomizeSettings(),this}toggleRevokeButton(e){return this.popup.toggleRevokeButton(e),this}setStatuses(e){return this.popup.setStatuses(e),this}clearStatuses(){return this.popup.clearStatuses(),this}destroy(){return this.popup.destroy(),this}get consents(){return this.popup.consents}deleteCookie(e,t={}){const n=this.popup.options.cookie;Object(p.a)(e,i({},n,{},t))}isCookieSet(e){return Object(p.b)(e)!==void 0}}for(const o of u.g)Object.defineProperty(m,o,{get:function(){return o},set:function(){},enumerable:!1,writeable:!1,configurable:!1});for(const o of u.a)Object.defineProperty(m,o,{get:function(){return o},set:function(){},enumerable:!1,writeable:!1,configurable:!1})},function(e,t,n){'use strict';n.d(t,'b',function(){return i}),n.d(t,'a',function(){return s});var o=n(5);const i=(e,t)=>e&&e.parentNode?e.classList.contains(t)?e:i(e.parentNode,t):null,s=(e,t,n)=>{const i={},{popup:s,button:a,highlight:r,saveButton:c}=t;s&&(s.text=s.text?s.text:Object(o.a)(s.background),s.link=s.link?s.link:s.text,i[n+' .cc-tooltip, '+n+' .cc-tooltip:after']=['color: '+s.text,'background-color: '+s.background],i[n+'.cc-window']=['color: '+s.text,'background-color: '+s.background],i[n+'.cc-revoke']=['color: '+s.text,'background-color: '+s.background],i[n+' .cc-link,'+n+' .cc-link:active,'+n+' .cc-link:visited']=['color: '+s.link],a&&(a.text=a.text?a.text:Object(o.a)(a.background),a.border=a.border?a.border:'transparent',i[n+' .cc-btn']=['color: '+a.text,'border-color: '+a.border,'background-color: '+a.background],a.padding&&i[n+' .cc-btn'].push('padding: '+a.padding),'transparent'!=a.background&&(i[n+' .cc-btn:hover, '+n+' .cc-btn:focus']=['background-color: '+(a.hover||Object(o.b)(a.background))]),r?(r.text=r.text?r.text:Object(o.a)(r.background),r.border=r.border?r.border:'transparent',i[n+' .cc-highlight .cc-btn:first-child']=['color: '+r.text,'border-color: '+r.border,'background-color: '+r.background]):i[n+' .cc-highlight .cc-btn:first-child']=['color: '+s.text]),c&&(i[`${n} .cc-btn.cc-save`]=['color: '+c.text,'border-color: '+c.border,'background-color: '+c.background]));const l=document.createElement('style');return l.id=e,document.head.appendChild(l),Object.entries(i).forEach(([e,t],n)=>l.sheet.insertRule(`${e}{${t.join(';')}}`,n)),l}},function(e,t,n){'use strict';n.d(t,'c',function(){return i}),n.d(t,'a',function(){return s}),n.d(t,'b',function(){return a});var o=n(1);const i=(e)=>0<=o.g.indexOf(e),s=()=>/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),a=(e)=>'object'==typeof e&&null!==e&&e.constructor==Object},function(e,t,n){'use strict';n.d(t,'a',function(){return o}),n.d(t,'b',function(){return i});const o=(e,t,n)=>{let o;const i=document.createElement('script');i.type='text/'+(e.type||'javascript'),i.src=e.src||e,i.async=!1,i.onreadystatechange=i.onload=function(){const e=i.readyState;clearTimeout(o),t.done||e&&!/loaded|complete/.test(e)||(t.done=!0,t(),i.onreadystatechange=i.onload=null)},document.body.appendChild(i),o=setTimeout(function(){t.done=!0,t(),i.onreadystatechange=i.onload=null},n)},i=(e,t,n,o,s)=>{const a=new(window.XMLHttpRequest||window.ActiveXObject)('MSXML2.XMLHTTP.3.0');if(a.open(o?'POST':'GET',e,1),a.setRequestHeader('Content-type','application/x-www-form-urlencoded'),Array.isArray(s))for(let e=0,t=s.length;er&&!l.warned){l.warned=!0;var d=new Error('Possible EventEmitter memory leak detected. '+l.length+' '+(n+' listeners added. Use emitter.setMaxListeners() to increase limit'));d.name='MaxListenersExceededWarning',d.emitter=e,d.type=n,d.count=l.length,t(d)}return e}function a(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function r(e,t,n){var o={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=a.bind(o);return i.listener=n,o.wrapFn=i,i}function c(e,t,n){var o=e._events;if(o===void 0)return[];var i=o[t];return void 0===i?[]:'function'==typeof i?n?[i.listener||i]:[i]:n?u(i):d(i,i.length)}function l(e){var t=this._events;if(t!==void 0){var n=t[e];if('function'==typeof n)return 1;if(void 0!==n)return n.length}return 0}function d(e,t){for(var n=Array(t),o=0;oe||v(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+'.');k=e}}),n.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},n.prototype.setMaxListeners=function(e){if('number'!=typeof e||0>e||v(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+'.');return this._maxListeners=e,this},n.prototype.getMaxListeners=function(){return i(this)},n.prototype.emit=function(e){for(var t=[],n=1;na)return this;0===a?n.shift():p(n,a),1===n.length&&(s[e]=n[0]),void 0!==s.removeListener&&this.emit('removeListener',e,i||t)}return this},n.prototype.off=n.prototype.removeListener,n.prototype.removeAllListeners=function(e){var t,n,o;if(n=this._events,void 0===n)return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,s=Object.keys(n);for(o=0;o{let o=n?n.responseText:'';e.__JSONP_DATA&&(o=e.__JSONP_DATA,delete e.__JSONP_DATA),this.runServiceCallback.call(this,t,e,o)},this.options.timeout,e.data,e.headers)}}runServiceCallback(e,t,n){const o=t.callback((t)=>{o||this.onServiceResult(e,t)},n);o&&this.onServiceResult(e,o)}onServiceResult(e,t){t instanceof Error||t&&t.error?e.call(this,t,null):e.call(this,null,t)}runNextServiceOnError(e,t){if(e){this.logError(e);const t=this.getNextService();t?this.runService(t,this.runNextServiceOnError.bind(this)):this.completeService.call(this,this.callbackError,new Error('All services failed'))}else this.completeService.call(this,this.callbackComplete,t)}getCurrentServiceOpts(){const e=this.options.services[this.currentServiceIndex];return'string'==typeof e?{name:e}:'function'==typeof e?e():Object(l.g)(e)?e:{}}completeService(e,t){this.currentServiceIndex=-1,e&&e(t)}logError(){}}},function(e,t){'use strict';const n=(e)=>new Error('Error ['+(e.code||'UNKNOWN')+']: '+e.error);t.a={timeout:5e3,services:['ipinfo'],serviceDefinitions:{ipinfo:function(){return{url:'//ipinfo.io',headers:['Accept: application/json'],callback:function(e,t){try{const e=JSON.parse(t);return e.error?n(e):{code:e.country}}catch(e){return n({error:'Invalid response ('+e+')'})}}}},ipinfodb:function(){return{url:'//api.ipinfodb.com/v3/ip-country/?key={api_key}&format=json&callback={callback}',isScript:!0,callback:function(e,t){try{const e=JSON.parse(t);return'ERROR'==e.statusCode?n({error:e.statusMessage}):{code:e.countryCode}}catch(e){return n({error:'Invalid response ('+e+')'})}}}},maxmind:function(){return{url:'//js.maxmind.com/js/apis/geoip2/v2.1/geoip2.js',isScript:!0,callback:function(e){return window.geoip2?void geoip2.country(function(t){try{e({code:t.country.iso_code})}catch(t){e(n(t))}},function(t){e(n(t))}):void e(new Error('Unexpected response format. The downloaded script should have exported `geoip2` to the global scope'))}}}}}},function(e,t,n){'use strict';n.d(t,'a',function(){return l});var o=n(2),i=n.n(o),s=n(0),a=n(18),r=n(1),c=n(3);class l extends s.a{constructor(e){super(a.a,e),i()(this,'usedCategory',(e)=>this.options.showCategories[e]),this.userCategories={[r.f]:r.j,[r.c]:r.h,[r.e]:r.j,[r.b]:r.j,[r.d]:r.j},this.customStyles={},this.transitionEnd=function(){const e=document.createElement('div'),t={t:'transitionend',OT:'oTransitionEnd',msT:'MSTransitionEnd',MozT:'transitionend',WebkitT:'webkitTransitionEnd'};for(let n in t)if(t.hasOwnProperty(n)&&'undefined'!=typeof e.style[n+'ransition'])return t[n];return''}(),this.hasTransition=!!this.transitionEnd,this.canUseCookies()&&this.hasAnswered()&&(this.options.enabled=!1),this.options.blacklistPage.includes(location.pathname)&&(this.options.enabled=!1),this.options.whitelistPage.includes(location.pathname)&&(this.options.enabled=!0);let t=this.options.window.replace('{{classes}}',this.getPopupClasses().join(' ')).replace('{{children}}',this.getPopupInnerMarkup());const n=this.options.overrideHTML;if('string'==typeof n&&n.length&&(t=n),this.options.static){const e=this.appendMarkup(`
${t}
`);e.style.display='',this.element=e.firstChild,this.element.style.display='none',this.element.classList.add('cc-invisible')}else this.element=this.appendMarkup(t);this.applyAutoDismiss(),this.applyRevokeButton(),this.options.autoOpen&&this.autoOpen()}showCustomizeSettingsContent(){const e=this.element.querySelector('.cc-main-content'),t=this.element.querySelector('.cc-customize-content');r.a.forEach((e)=>{const n=t.querySelector('.cc-category.'+e);if(!this.usedCategory(e))return void(n.style.display='none');const o=n.querySelector('label [type="checkbox"]');o.name===r.c?(o.checked=!0,o.disabled=!0):o.checked=this.userCategories[o.name]===r.h}),e.style.display='none',t.style.display='block'}openCustomizeSettings(){this.open('customizeSettingsOpened'),this.showCustomizeSettingsContent()}syncCategoriesFromCookies(){const{consents:e}=this;for(const t of r.a)t!==r.c&&(this.userCategories[t]=e[t])}open(e='popupOpened'){if(this.element)return this.isOpen()||(this.hasTransition?this.fadeIn():this.element.style.display='',this.options.revokable&&this.toggleRevokeButton(),this.syncCategoriesFromCookies(),this.emit(e)),this}close(e){if(this.element)return this.isOpen()&&(this.hasTransition?this.fadeOut():this.element.style.display='none',e&&this.options.revokable&&this.toggleRevokeButton(!0),this.emit('popupClosed')),this}fadeIn(){const e=this.element;if(this.hasTransition&&e&&(this.afterTransition&&this.afterFadeOut(e),e.classList.contains('cc-invisible'))){e.style.display='',this.options.static&&(this.element.parentNode.style.maxHeight=this.element.clientHeight+'px');this.openingTimeout=setTimeout(()=>this.afterFadeIn(e),20)}}afterFadeIn(e){this.openingTimeout=null,e.classList.remove('cc-invisible')}fadeOut(){this.hasTransition&&this.element&&(this.openingTimeout&&(clearTimeout(this.openingTimeout),this.afterFadeIn(this.element)),!this.element.classList.contains('cc-invisible')&&(this.options.static&&(this.element.parentNode.style.maxHeight=''),this.afterTransition=()=>this.afterFadeOut(this.element),this.element.addEventListener(this.transitionEnd,this.afterTransition),this.element.classList.add('cc-invisible')))}afterFadeOut(e){e.style.display='none',e.removeEventListener(this.transitionEnd,this.afterTransition),this.afterTransition=null}isOpen(){return this.element&&''===this.element.style.display&&(!this.hasTransition||!this.element.classList.contains('cc-invisible'))}toggleRevokeButton(e){this.revokeBtn&&(this.revokeBtn.style.display=e?'':'none')}revokeChoice(e){this.options.enabled=!0,this.clearStatuses(),this.emit('revokeChoice'),e||this.autoOpen()}hasAnswered(){const{consents:e}=this;return e[r.c]===r.h}hasConsented(){return this.getStatuses().map((e)=>e===r.h||e===r.j)}autoOpen(){const e=this.hasAnswered();!e&&this.options.enabled?this.open():e&&this.options.revokable&&this.toggleRevokeButton(!0)}setStatuses(){const{name:e,expiryDays:t,domain:n,path:o,secure:i,sameSite:s}=this.options.cookie,a=(a,l)=>{if(!Object(c.h)(l))this.clearStatuses();else if(this.usedCategory(a)){const d=e+'_'+a,p=r.g.includes(Object(c.b)(d));Object(c.k)(d,l,t,n,o,i,s),this.emit('statusChanged',d,l,p)}};0===arguments.length?r.a.forEach((e)=>a(e,this.userCategories[e])):1===arguments.length?r.a.forEach((e)=>a(e,arguments[0])):1{a(this.userCategories[t],e)})}getStatuses(){return r.a.map((e)=>Object(c.b)(this.options.cookie.name+'_'+e))}get consents(){const e=this.options.cookie.name+'_';return Object.fromEntries(r.a.map((t)=>[t,Object(c.b)(e+t)||r.i]))}clearStatuses(){const{name:e,domain:t,path:n,secure:o,sameSite:i}=this.options.cookie;r.a.forEach((s)=>{Object(c.k)(e+'_'+s,'',-1,t,n,o,i)})}canUseCookies(){if(!window.navigator.cookieEnabled||window.CookiesOK||window.navigator.CookiesOK)return!0;const e=this.getStatuses(),t=e.map((e,t)=>({[r.a[t]]:Object(c.h)(e)})),n=0e[Object.keys(e)[0]]).length;return n}getPositionClasses(){return this.options.position.split('-').map((e)=>'cc-'+e)}getPopupClasses(){const e=this.options;let t='top'==e.position||'bottom'==e.position?'banner':'floating';Object(c.f)()&&e.mobileForceFloat&&(t='floating');const n=['cc-'+t,'cc-type-'+e.type,'cc-theme-'+e.theme];return e.static&&n.push('cc-static'),n.push.apply(n,this.getPositionClasses()),this.attachCustomPalette(this.options.palette),this.customStyleSelector&&n.push(this.customStyleSelector),n}getPopupInnerMarkup(){const e={},t=this.options;t.showLink||(t.elements.link='',t.elements.messagelink=t.elements.message),Object.keys(t.elements).forEach((n)=>{e[n]=Object(c.e)(t.elements[n],(e)=>{const n=t.content[e];return e&&'string'==typeof n&&n.length?n:''})});let n=t.compliance[t.type];n||(n=t.compliance.info),e.compliance=Object(c.e)(n,(t)=>e[t]);let o=t.layouts[t.layout];return o||(o=t.layouts.basic),Object(c.e)(o,(t)=>e[t])}appendMarkup(e){const t=this.options,n=document.createElement('div'),o=t.container&&1===t.container.nodeType?t.container:document.body;n.innerHTML=e;const i=n.children[0];i.style.display='none',i.classList.contains('cc-window')&&this.hasTransition&&i.classList.add('cc-invisible');const s=document.getElementById(this.options.consentSettingsElementId);if(s&&s.addEventListener('click',(e)=>{e.preventDefault(),e.stopPropagation(),this.openCustomizeSettings()}),i.addEventListener('click',(e)=>this.handleButtonClick(e)),i.querySelectorAll('.cc-category label [type="checkbox"]').forEach((e)=>{e.name!==r.c&&e.addEventListener('change',()=>{this.userCategories[e.name]=e.checked?r.h:r.i}),e.addEventListener('click',(e)=>{e.stopPropagation()})}),i.querySelectorAll('.cc-info').forEach((e)=>{e.addEventListener('mousedown',function(e){this===document.activeElement&&(this.blur(),e.preventDefault())})}),t.autoAttach)try{o.firstChild?o.insertBefore(i,o.firstChild):o.appendChild(i)}catch(e){throw new Error('No container to attach too. Make sure the DOM has loaded. Is your script loaded just before the `` tag?')}return i}handleButtonClick(e){const t=Object(c.m)(e.target,'cc-btn')||e.target;if(t.classList.contains('cc-btn')&&t.classList.contains('cc-customize'))return void this.showCustomizeSettingsContent();if(t.classList.contains('cc-btn')&&t.classList.contains('cc-save'))return this.setStatuses(),void this.close(!0);if(t.classList.contains('cc-btn')){const e=t.className.match(new RegExp('\\bcc-('+r.g.map((e)=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,'\\$&')).join('|')+')\\b')),n=e&&e[1]||!1;return void(n&&(this.setStatuses(n),this.close(!0)))}return t.classList.contains('cc-close')?(this.setStatuses(r.j),void this.close(!0)):t.classList.contains('cc-revoke')?void this.revokeChoice():void 0}attachCustomPalette(e){const t=Object(c.d)(JSON.stringify(e)),n='cc-color-override-'+t,o=Object(c.g)(e);return this.customStyleSelector=o?n:null,o&&Object(c.a)(t,e,'.'+n),o}getEventPath(e){const t=e.composedPath?e.composedPath():function(e,t){for(;t;)e.push(t),t=t.parentNode;return e}([],e.target);return t?t:void 0}applyAutoDismiss(){var e=Math.floor;const{enabled:t,dismissOnTimeout:n,dismissOnScroll:o,dismissOnLinkClick:i,dismissOnWindowClick:s,dismissOnKeyPress:a}=this.options;t&&('number'==typeof n&&0<=n?this.dismissTimeout=setTimeout(()=>{this.setStatuses(r.j),this.close(!0)},e(n)):'number'==typeof o&&0<=o?(this.onWindowScroll=()=>{window.pageYOffset>e(o)&&(this.setStatuses(r.j),this.close(!0),window.removeEventListener('scroll',this.onWindowScroll,{passive:!0}),this.onWindowScroll=null)},window.addEventListener('scroll',this.onWindowScroll,{passive:!0})):s?(this.onWindowClick=(e)=>{getEventPath(e).some((e)=>this.options.ignoreClicksFrom.some((t)=>e.classList&&e.classList.contains(t)))||(this.setStatuses(r.j),this.close(!0),window.removeEventListener('click',this.onWindowClick),window.removeEventListener('touchend',this.onWindowClick),this.onWindowClick=null)},window.addEventListener('click',this.onWindowClick),window.addEventListener('touchend',this.onWindowClick)):i?(this.onLinkClick=(e)=>{getEventPath(e).some((e)=>'undefined'!=typeof e.tagName&&'A'===e.tagName)&&(this.setStatuses(r.j),this.close(!0),window.removeEventListener('click',this.onLinkClick),this.onLinkClick=null)},window.addEventListener('click',this.onLinkClick)):a&&(this.onKeyPress=(e)=>{const{keyCode:t}=e;13===t?(this.setStatuses(r.h),this.close(!0)):27===t&&(this.setStatuses(r.j),this.close(!0))},window.addEventListener('onkeypress',this.onKeyPress)))}applyRevokeButton(){if('info'!=this.options.type&&!0==this.options.regionalLaw&&(this.options.revokable=!0),Object(c.f)()&&(this.options.animateRevokable=!1),this.options.revokable){const e=this.getPositionClasses();this.options.animateRevokable&&e.push('cc-animate'),this.customStyleSelector&&e.push(this.customStyleSelector),this.options.theme&&e.push('cc-theme-'+this.options.theme);const t=this.options.revokeBtn.replace('{{classes}}',e.join(' ')).replace('{{policy}}',this.options.content.policy);this.revokeBtn=this.appendMarkup(t);const n=this.revokeBtn;if(this.options.animateRevokable){const e=Object(c.l)(function(e){let t=!1;const o=window.innerHeight-20;(n.classList.contains('cc-top')&&e.clientY<20||n.classList.contains('cc-bottom')&&e.clientY>o)&&(t=!0),t&&!n.classList.contains('cc-active')?n.classList.add('cc-active'):!t&&n.classList.contains('cc-active')&&n.classList.remove('cc-active')},200);this.onMouseMove=e,window.addEventListener('mousemove',e)}}}destroy(){void 0,this.element&&this.element.remove(),this.revokeBtn&&this.revokeBtn.remove(),this.onWindowScroll&&window.removeEventListener('scroll',this.onWindowScroll),this.onWindowClick&&(window.removeEventListener('click',this.onWindowClick),window.removeEventListener('touchend',this.onWindowClick)),this.onLinkClick&&window.removeEventListener('click',this.onLinkClick),this.onKeyPress&&window.addEventListener('onkeypress',this.onKeyPress)}}},function(e,t,n){'use strict';var o=n(1);const i={[o.b]:'categoryAnalytics',[o.c]:'categoryEssential',[o.d]:'categoryMarketing',[o.e]:'categoryPersonalization',[o.f]:'categoryUncategorized'},s={[o.b]:'categoryAnalyticsDisplayName',[o.c]:'categoryEssentialDisplayName',[o.d]:'categoryMarketingDisplayName',[o.e]:'categoryPersonalizationDisplayName',[o.f]:'categoryUncategorizedDisplayName'};t.a={enabled:!0,container:null,cookie:{name:'cookieconsent_status',path:'/',domain:'localhost',expiryDays:365,secure:!0,sameSite:'None'},content:{header:'Cookies used on the website!',message:`We would like to measure how you browse our website to constantly improve it, based on your usage patterns. To accomplish this, we must store cookies on your device. If you're cool with that, hit "Accept all cookies". For more information and to customize your settings, hit "Customize settings".`,dismiss:'Got it!',allow:'Accept all cookies',deny:'Decline',link:'Learn more',href:'https://www.cookiesandyou.com',close:'❌',target:'_blank',policy:'Cookie Policy',customize:'Customize settings',customizeHeader:'Review and manage your consent',customizeMessage:`Here is an overview of the cookies we use on this site. Please select categories that you are OK with. You can always change your choices at any time, by hitting the "Manage your consent options" link on the site's footer.`,acceptSelected:'Accept selected',categoryAnalytics:'These cookies collect information to help us understand how our website is being used. They allow us to count unique visits and see from where visitors came from. With this information, we can measure and improve the content of our site. We can also see how users navigate between pages and what actions they take.',categoryEssential:`These cookies are necessary to make this site run properly and securely. For example, with this kind of cookies, we register your cookie preferences so that you won't be seeing this pop-up next time you visit our page and we can keep track which categories you have opted-in. To keep this site secure, we use Cloudflare content delivery network and security solutions. The service may place a unique cookie to identify your browser and device to make sure no automated programs can impose security threats on our site.`,categoryPersonalization:'[Personalization category read more message]',categoryMarketing:'[Marketing category read more message]',categoryUncategorized:'[Uncategorized category read more message]',cookiePolicyLink:'',privacyPolicyLink:'',policiesLinkRel:'noopener noreferrer nofollow',categoryUncategorizedDisplayName:'Uncategorized',categoryEssentialDisplayName:'Necessary (always active)',categoryPersonalizationDisplayName:'Personalization',categoryAnalyticsDisplayName:'Analytics',categoryMarketingDisplayName:'Marketing'},elements:{header:'{{header}} ',message:'{{message}}',messagelink:'{{message}} {{link}}',dismiss:`{{dismiss}}`,allow:`{{allow}}`,deny:`{{deny}}`,link:'{{link}}',close:'{{close}}',categories:'
    '+o.a.map((e,t)=>`
  • This is the category for cookies that don't fit the '${e.toLowerCase()}' category.

  • `).join('')+'
',save:``,customize:``,customizeHeader:`
{{customizeHeader}}
`,customizeMessage:`
{{customizeMessage}}
`,acceptSelected:`
`,customizeCategories:`
    `+o.a.map((e)=>`
  • {{${i[e]}}}
  • `).join('')+'
',policiesLinks:``},window:'',modal:'',revokeBtn:'
{{policy}}
',compliance:{info:'
{{dismiss}}
',"opt-in":'
{{customize}}{{allow}}
',"opt-out":'
{{dismiss}}{{deny}}
',categories:'
{{categories}}{{save}}
'},type:'info',layouts:{basic:'{{messagelink}}{{compliance}}',"basic-close":'{{messagelink}}{{compliance}}{{close}}',"basic-header":'{{header}}{{message}}{{link}}{{compliance}}',categories:`
{{message}}
{{customizeHeader}} {{customizeMessage}} {{customizeCategories}}
`},layout:'basic',position:'bottom',theme:'block',static:!1,palette:null,revokable:!1,animateRevokable:!0,showLink:!0,dismissOnScroll:!1,dismissOnTimeout:!1,dismissOnWindowClick:!1,dismissOnLinkClick:!1,dismissOnKeyPress:!1,ignoreClicksFrom:['cc-revoke','cc-btn','cc-link'],autoOpen:!0,autoAttach:!0,mobileForceFloat:!0,whitelistPage:[],blacklistPage:[],overrideHTML:null,consentSettingsElementId:null,showCategories:{[o.f]:!0,[o.c]:!0,[o.e]:!0,[o.b]:!0,[o.d]:!0}}}]);