-
Notifications
You must be signed in to change notification settings - Fork 574
/
cookieconsent.min.js
1 lines (1 loc) · 43.4 KB
/
cookieconsent.min.js
1
!function(e){function t(i){if(n[i])return n[i].exports;var o=n[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:i})},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 i=Object.create(null);if(t.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(i,o,function(t){return e[t]}.bind(null,o));return i},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=4)}([function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n(1),o=n(16);const c=new(n.n(o).a);class s{constructor(e={},t={}){this.options=Object(i.j)(e,t),this.on=c.on.bind(c),this.emit=c.emit.bind(c)}}},function(e,t,n){"use strict";n.d(t,"b",function(){return a}),n.d(t,"k",function(){return l}),n.d(t,"e",function(){return u}),n.d(t,"l",function(){return d}),n.d(t,"d",function(){return p}),n.d(t,"m",function(){return h}),n.d(t,"a",function(){return f}),n.d(t,"h",function(){return m}),n.d(t,"g",function(){return b}),n.d(t,"f",function(){return g}),n.d(t,"c",function(){return v}),n.d(t,"i",function(){return y}),n.d(t,"j",function(){return k});var i=n(12),o=n(3),c=n(13),s=n(14),r=n(15);const a=i.a,l=i.b,u=(e,t)=>e.replace(/{{([a-z][a-z0-9\-_]*)}}/gi,(e,n)=>t(n)||""),d=(e,t)=>{let n=!1;return function(){n||(e(...arguments),n=!0,setTimeout(function(){n=!1},t))}},p=e=>{let t,n=0,i=0,o=e.length;if(0===e.length)return n;for(;i<o;++i)n=(n<<5)-n+(t=e.charCodeAt(i)),n|=0;return n},h=(o.d,o.a,o.c,o.b,c.b),f=c.a,m=s.c,b=s.b,g=s.a,v=r.a,y=r.b,w=e=>(t,[n,i])=>(t[n]=i instanceof Object&&!(i instanceof Array)?e[n]instanceof Object&&!(e[n]instanceof Array)?Object.entries(i).reduce(w(e[n]),{}):i:e.hasOwnProperty(n)?e[n]:i,t),k=(e,t)=>Object.entries(e).reduce(w(t),{})},function(e,t,n){"use strict";n.d(t,"e",function(){return i}),n.d(t,"c",function(){return o}),n.d(t,"b",function(){return c}),n.d(t,"d",function(){return s}),n.d(t,"a",function(){return r});const i=["DENY","ALLOW","DISMISS"],o="DENY",c="ALLOW",s="DISMISS",r=["UNCATEGORIZED","ESSENTIAL","PERSONALIZATION","ANALYTICS","MARKETING"]},function(e,t,n){"use strict";n.d(t,"d",function(){return i}),n.d(t,"a",function(){return o}),n.d(t,"c",function(){return c}),n.d(t,"b",function(){return s});const i=e=>"#"==e[0]?e.substr(1):3==e.length?e[0]+e[0]+e[1]+e[1]+e[2]+e[2]:e,o=e=>{return e=i(e),128<=(299*parseInt(e.substr(0,2),16)+587*parseInt(e.substr(2,2),16)+114*parseInt(e.substr(4,2),16))/1e3?"#000":"#fff"},c=e=>{const t=parseInt(i(e),16),n=38+(t>>16),o=38+(255&t>>8),c=38+(255&t);return"#"+(16777216+65536*(255>n?1>n?0:n:255)+256*(255>o?1>o?0:o:255)+(255>c?1>c?0:c:255)).toString(16).slice(1)},s=e=>(e=i(e),"000000"===e?"#222":c(e))},function(e,t,n){"use strict";n.r(t),function(e){var t=n(6),i=(n.n(t),n(11));"undefined"==typeof exports?window.CookieConsent=i.a:e.exports=i.a}.call(this,n(5)(e))},function(e){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){var i=n(7);"string"==typeof i&&(i=[[e.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(9)(i,o),i.locals&&(e.exports=i.locals)},function(e,t,n){(e.exports=n(8)(!1)).push([e.i,'.cc-window{opacity:1;-webkit-transition:opacity 1s ease;-moz-transition:opacity 1s ease;-ms-transition:opacity 1s ease;-o-transition:opacity 1s ease;transition:opacity 1s ease}.cc-window.cc-invisible{opacity:0}.cc-animate.cc-revoke{-webkit-transition:transform 1s ease;-moz-transition:transform 1s ease;-ms-transition:transform 1s ease;-o-transition:transform 1s ease;transition:transform 1s ease}.cc-animate.cc-revoke.cc-top{transform:translateY(-2em)}.cc-animate.cc-revoke.cc-bottom{transform:translateY(2em)}.cc-animate.cc-revoke.cc-active.cc-top{transform:translateY(0)}.cc-animate.cc-revoke.cc-active.cc-bottom{transform:translateY(0)}.cc-revoke:hover{transform:translateY(0)}.cc-grower{max-height:0;overflow:hidden;-webkit-transition:max-height 1s;-moz-transition:max-height 1s;-ms-transition:max-height 1s;-o-transition:max-height 1s;transition:max-height 1s}.cc-window,.cc-revoke{position:fixed;overflow:hidden;box-sizing:border-box;font-family:Helvetica, Calibri, Arial, sans-serif;font-size:16px;line-height:1.5em;display:flex;flex-wrap:nowrap;z-index:9998}.cc-revoke{z-index:9999}.cc-window.cc-static{position:static}.cc-window.cc-floating{padding:2em;max-width:24em;flex-direction:column}.cc-window.cc-banner{padding:1em 1.8em;width:100%;flex-direction:row}.cc-revoke{padding:0.5em}.cc-revoke:hover{text-decoration:underline}.cc-header{font-size:18px;font-weight:bold}.cc-btn,.cc-link,.cc-close,.cc-revoke{cursor:pointer}.cc-link{opacity:0.8;display:inline-block;padding:0.2em;text-decoration:underline}.cc-link:hover{opacity:1}.cc-link:active,.cc-link:visited{color:initial}.cc-btn{display:block;padding:0.4em 0.8em;font-size:0.9em;font-weight:bold;border-width:2px;border-style:solid;text-align:center;white-space:nowrap}.cc-highlight .cc-btn:first-child{background-color:transparent;border-color:transparent}.cc-highlight .cc-btn:first-child:hover,.cc-highlight .cc-btn:first-child:focus{background-color:transparent;text-decoration:underline}.cc-close{display:block;position:absolute;top:0.5em;right:0.5em;font-size:1.6em;opacity:0.9;line-height:0.75}.cc-close:hover,.cc-close:focus{opacity:1}.cc-revoke.cc-top{top:0;left:3em;border-bottom-left-radius:0.5em;border-bottom-right-radius:0.5em}.cc-revoke.cc-bottom{bottom:0;left:3em;border-top-left-radius:0.5em;border-top-right-radius:0.5em}.cc-revoke.cc-left{left:3em;right:unset}.cc-revoke.cc-right{right:3em;left:unset}.cc-top{top:1em}.cc-left{left:1em}.cc-right{right:1em}.cc-bottom{bottom:1em}.cc-floating>.cc-link{margin-bottom:1em}.cc-floating .cc-message{display:block;margin-bottom:1em}.cc-window.cc-floating .cc-compliance{flex:1 0 auto}.cc-window.cc-banner{align-items:center}.cc-banner.cc-top{left:0;right:0;top:0}.cc-banner.cc-bottom{left:0;right:0;bottom:0}.cc-banner .cc-message{display:block;flex:1 1 auto;max-width:100%;margin-right:1em}.cc-compliance{display:flex;align-items:center;justify-content:space-between}.cc-floating .cc-compliance>.cc-btn{flex:1}.cc-btn+.cc-btn{margin-left:0.5em}.cc-window.cc-type-categories{display:inline-flex;flex-direction:column;overflow:visible}.cc-window.cc-type-categories .form{text-align:right}.cc-window.cc-type-categories .cc-btn{margin:0}.cc-window.cc-type-categories .cc-btn.cc-save{margin:0;display:inline-block}.cc-categories{display:inline-flex}.cc-categories .cc-category{display:flex;max-width:100%;margin:0 2px;position:relative}.cc-categories .cc-btn{border-right:none;outline:none;text-transform:capitalize}.cc-categories .cc-btn input[type=checkbox]{float:left;height:26px;width:calc( 100% - 22px);display:block;position:absolute;top:0;left:2px;cursor:pointer}.cc-categories .cc-btn:not(.cc-info):not(.cc-save){padding-left:26px}.cc-categories .cc-info{border-left:none;border-right:2px solid lightgrey;padding:4px;font-variant:all-small-caps}.cc-categories .cc-info:focus+.cc-tooltip{display:block}.cc-categories .cc-tooltip{display:none;position:absolute;z-index:3;width:190px;bottom:46px;padding:8px;border:thin solid lightgrey;box-shadow:1px 1px 4px rgba(150,150,150,0.7)}.cc-categories .cc-tooltip:after{content:"";width:10px;height:10px;transform:rotate(45deg);position:absolute;bottom:-7px;left:10px;box-shadow:2px 1px 1px rgba(200,200,200,0.5)}.cc-categories .cc-tooltip p{margin:0}@media print{.cc-window,.cc-revoke{display:none}}@media screen and (max-width: 900px){.cc-btn{white-space:normal}}@media screen and (max-width: 414px) and (orientation: portrait), screen and (max-width: 736px) and (orientation: landscape){.cc-window.cc-top{top:0}.cc-window.cc-bottom{bottom:0}.cc-window.cc-banner,.cc-window.cc-floating,.cc-window.cc-right,.cc-window.cc-left{left:0;right:0}.cc-window.cc-banner{flex-direction:column;align-items:unset}.cc-window.cc-banner .cc-compliance{flex:1 1 auto}.cc-window.cc-banner .cc-message{margin-right:0;margin-bottom:1em}.cc-window.cc-floating{max-width:none}.cc-window.cc-type-categories{flex-direction:column}.cc-window .cc-message{margin-bottom:1em}.cc-window .cc-categories{flex-direction:column;width:100%;margin-right:8px}.cc-window .cc-category{margin:4px 0}.cc-window .cc-category .cc-btn:not(.cc-info){width:calc( 100% - 16px);min-width:140px}}@media screen and (max-width: 854px){.cc-window.cc-type-categories .cc-btn.cc-save{margin:8px 0}}@media screen and (max-width: 790px){.cc-window.cc-type-categories .cc-categories{display:flex;flex-direction:column}.cc-categories .cc-category{margin:4px 0}.form{width:100%;max-width:350px}.cc-btn:not(.cc-info):not(.cc-save){width:calc( 100% - 16px)}}.cc-floating.cc-theme-classic{padding:1.2em;border-radius:5px}.cc-floating.cc-type-info.cc-theme-classic .cc-compliance{text-align:center;display:inline;flex:none}.cc-theme-classic{overflow:visible;justify-content:space-between}.cc-theme-classic .cc-btn{position:relative;border-radius:5px;outline:none}.cc-theme-classic .cc-btn:last-child{min-width:140px}.cc-theme-classic .cc-category .cc-btn{border-radius:5px 0 0 5px;padding-right:2px;padding-left:28px;font-weight:normal;border-right:none;box-sizing:border-box}.cc-theme-classic .cc-category .cc-btn input[type=checkbox]{position:absolute;left:0;top:-1px;width:100%;height:26px;opacity:0;cursor:pointer;z-index:1}.cc-theme-classic .cc-category .cc-btn input[type=checkbox]+.cc-btn-checkbox{display:block;font-size:2rem;position:absolute;top:2px;left:6px;z-index:0;outline:none}.cc-theme-classic .cc-category .cc-btn input[type=checkbox]+.cc-btn-checkbox:before{content:"\\1F5F5"}.cc-theme-classic .cc-category .cc-btn input[type=checkbox]:checked+.cc-btn-checkbox:after{content:"\\2713";position:absolute;top:-4px;left:0;font-size:2.3rem;text-shadow:0 1px 3px rgba(150,150,150,0.5)}.cc-theme-classic .cc-category .cc-btn.cc-info{margin:0;padding:0 4px;border-radius:0 5px 5px 0}.cc-theme-classic .cc-category .cc-btn:last-child{min-width:0}.cc-theme-classic .cc-category .cc-tooltip{border-radius:5px}.cc-theme-classic .cc-category .cc-tooltip:after{border-bottom:thin solid lightgrey;border-right:thin solid lightgrey}.cc-floating.cc-type-info.cc-theme-classic .cc-btn{display:inline-block}.cc-theme-edgeless.cc-window{padding:0}.cc-floating.cc-theme-edgeless .cc-message{margin:2em;margin-bottom:1.5em}.cc-banner.cc-theme-edgeless .cc-btn{margin:0;padding:0.8em 1.8em;height:100%}.cc-banner.cc-theme-edgeless .cc-message{margin-left:1em}.cc-floating.cc-theme-edgeless .cc-btn+.cc-btn{margin-left:0}.cc-window.cc-theme-edgeless.cc-type-categories .cc-categories .cc-btn{padding:0.4em 0.8em;padding-left:26px}.cc-window.cc-theme-edgeless.cc-type-categories .cc-categories .cc-btn.cc-info{padding:0.4em 4px}.cc-window.cc-theme-edgeless.cc-type-categories .cc-categories .cc-tooltip{border:none}\n',""])},function(e){"use strict";function t(e,t){var n=e[1]||"",i=e[3];if(!i)return n;if(t&&"function"==typeof btoa){var o=function(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t);return"/*# ".concat(n," */")}(i),c=i.sources.map(function(e){return"/*# sourceURL=".concat(i.sourceRoot).concat(e," */")});return[n].concat(c).concat([o]).join("\n")}return[n].join("\n")}e.exports=function(e){var n=[];return n.toString=function(){return this.map(function(n){var i=t(n,e);return n[2]?"@media ".concat(n[2],"{").concat(i,"}"):i}).join("")},n.i=function(e,t){"string"==typeof e&&(e=[[null,e,""]]);for(var i,o={},c=0;c<this.length;c++)null!=(i=this[c][0])&&(o[i]=!0);for(var s,r=0;r<e.length;r++)null!=(s=e[r])[0]&&o[s[0]]||(t&&!s[2]?s[2]=t:t&&(s[2]="(".concat(s[2],") and (").concat(t,")")),n.push(s))},n}},function(e,t,n){function i(e,t){for(var n=0;n<e.length;n++){var i=e[n],o=h[i.id];if(o){o.refs++;for(var c=0;c<o.parts.length;c++)o.parts[c](i.parts[c]);for(;c<i.parts.length;c++)o.parts.push(d(i.parts[c],t))}else{var s=[];for(c=0;c<i.parts.length;c++)s.push(d(i.parts[c],t));h[i.id]={id:i.id,refs:1,parts:s}}}}function o(e,t){for(var n=[],i={},o=0;o<e.length;o++){var c=e[o],s=t.base?c[0]+t.base:c[0],r={css:c[1],media:c[2],sourceMap:c[3]};i[s]?i[s].parts.push(r):n.push(i[s]={id:s,parts:[r]})}return n}function c(e,t){var n=m(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var i=v[v.length-1];if("top"===e.insertAt)i?i.nextSibling?n.insertBefore(t,i.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),v.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var o=m(e.insertAt.before,n);n.insertBefore(t,o)}}function s(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=v.indexOf(e);0<=t&&v.splice(t,1)}function r(e){var t=document.createElement("style");if(void 0===e.attrs.type&&(e.attrs.type="text/css"),void 0===e.attrs.nonce){var n=u();n&&(e.attrs.nonce=n)}return l(t,e.attrs),c(e,t),t}function a(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",l(t,e.attrs),c(e,t),t}function l(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function u(){return n.nc}function d(e,t){var n,i,o,c;if(t.transform&&e.css){if(!(c="function"==typeof t.transform?t.transform(e.css):t.transform.default(e.css)))return function(){};e.css=c}if(t.singleton){var l=g++;n=b||(b=r(t)),i=p.bind(null,n,l,!1),o=p.bind(null,n,l,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=a(t),i=function(e,t,n){var i=n.css,o=n.sourceMap,c=void 0===t.convertToAbsoluteUrls&&o;(t.convertToAbsoluteUrls||c)&&(i=y(i)),o&&(i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var s=new Blob([i],{type:"text/css"}),r=e.href;e.href=URL.createObjectURL(s),r&&URL.revokeObjectURL(r)}.bind(null,n,t),o=function(){s(n),n.href&&URL.revokeObjectURL(n.href)}):(n=r(t),i=function(e,t){var n=t.css,i=t.media;if(i&&e.setAttribute("media",i),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,n),o=function(){s(n)});return i(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;i(e=t)}else o()}}function p(e,t,n,i){var o=n?"":i.css;if(e.styleSheet)e.styleSheet.cssText=w(t,o);else{var c=document.createTextNode(o),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(c,s[t]):e.appendChild(c)}}var h={},f=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}}(function(){return window&&document&&document.all&&!window.atob}),m=function(){var e={};return function(t,n){if("function"==typeof t)return t();if(void 0===e[t]){var i=function(e,t){return t?t.querySelector(e):document.querySelector(e)}.call(this,t,n);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}}(),b=null,g=0,v=[],y=n(10);e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=f()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=o(e,t);return i(n,t),function(e){for(var c=[],s=0;s<n.length;s++){var r=n[s];(a=h[r.id]).refs--,c.push(a)}e&&i(o(e,t),t);var a;for(s=0;s<c.length;s++)if(0===(a=c[s]).refs){for(var l=0;l<a.parts.length;l++)a.parts[l]();delete h[a.id]}}};var w=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},function(e){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,i=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,t){var o,c=t.trim().replace(/^"(.*)"$/,function(e,t){return t}).replace(/^'(.*)'$/,function(e,t){return t});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(c)?e:(o=0===c.indexOf("//")?c:0===c.indexOf("/")?n+c:i+c.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")})}},function(e,t,n){"use strict";n.d(t,"a",function(){return l});var i=n(0),o=n(17),c=n(19),s=n(21),r=n(2),a=n(1);class l extends i.a{constructor(e={}){super(e);const t=r.a.map(e=>{const t=this.options.cookie&&this.options.cookie.name?this.options.cookie.name:"cookieconsent_status_",n=Object(a.b)(t+e);return Object(a.h)(n)?{[e]:n}:void 0}).filter(e=>!!e&&e[Object.keys(e)[0]]);0<t.length?setTimeout(()=>this.emit("initialized",t)):this.options.legal&&this.options.legal.countryCode?this.initializationComplete({code:this.options.legal.countryCode}):this.options.location?new c.a(this.options.location).locate(this.initializationComplete.bind(this),this.initializationError.bind(this)):this.initializationComplete({})}initializationComplete(e){e.code&&(this.options=new o.a(this.options.legal).applyLaw(this.options,e.code)),this.popup=new s.a(this.options),setTimeout(()=>this.emit("initialized",this.popup),0)}initializationError(e){setTimeout(()=>this.emit("error",e,new s.a(this.options)),0)}getCountryLaws(e){return new o.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}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}}r.e.reduce((e,t)=>(Object.defineProperty(l,t,{get:function(){return t},set:function(){},enumerable:!1,writeable:!1,configurable:!1}),e),l)},function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return o});const i=e=>{const t=(" "+document.cookie).split(" "+e+"=");return 2>t.length?void 0:t.pop().split(";").shift()},o=function(e,t,n,i,o,c){const s=new Date;s.setHours(s.getHours()+24*("number"==typeof n?n:365)),document.cookie=e+"="+t+";expires="+s.toUTCString()+";path="+(o||"/")+(i?";domain="+i:"")+(c?";secure":"")}},function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"a",function(){return c});var i=n(3);const o=(e,t)=>e&&e.parentNode?e.classList.contains(t)?e:o(e.parentNode,t):null,c=(e,t,n)=>{const o={},{popup:c,button:s,highlight:r,saveButton:a}=t;c&&(c.text=c.text?c.text:Object(i.a)(c.background),c.link=c.link?c.link:c.text,o[n+" .cc-tooltip, "+n+" .cc-tooltip:after"]=["color: "+c.text,"background-color: "+c.background],o[n+".cc-window"]=["color: "+c.text,"background-color: "+c.background],o[n+".cc-revoke"]=["color: "+c.text,"background-color: "+c.background],o[n+" .cc-link,"+n+" .cc-link:active,"+n+" .cc-link:visited"]=["color: "+c.link],s&&(s.text=s.text?s.text:Object(i.a)(s.background),s.border=s.border?s.border:"transparent",o[n+" .cc-btn"]=["color: "+s.text,"border-color: "+s.border,"background-color: "+s.background],s.padding&&o[n+" .cc-btn"].push("padding: "+s.padding),"transparent"!=s.background&&(o[n+" .cc-btn:hover, "+n+" .cc-btn:focus"]=["background-color: "+(s.hover||Object(i.b)(s.background))]),r?(r.text=r.text?r.text:Object(i.a)(r.background),r.border=r.border?r.border:"transparent",o[n+" .cc-highlight .cc-btn:first-child"]=["color: "+r.text,"border-color: "+r.border,"background-color: "+r.background]):o[n+" .cc-highlight .cc-btn:first-child"]=["color: "+c.text]),a&&(o[`${n} .cc-btn.cc-save`]=["color: "+a.text,"border-color: "+a.border,"background-color: "+a.background]));const l=document.createElement("style");return l.id=e,document.head.appendChild(l),Object.entries(o).forEach(([e,t],n)=>l.sheet.insertRule(`${e}{${t.join(";")}}`,n)),l}},function(e,t,n){"use strict";n.d(t,"c",function(){return o}),n.d(t,"a",function(){return c}),n.d(t,"b",function(){return s});var i=n(2);const o=e=>0<=i.e.indexOf(e),c=()=>/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),s=e=>"object"==typeof e&&null!==e&&e.constructor==Object},function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return o});const i=(e,t,n)=>{let i;const o=document.createElement("script");o.type="text/"+(e.type||"javascript"),o.src=e.src||e,o.async=!1,o.onreadystatechange=s.onload=function(){const e=o.readyState;clearTimeout(i),t.done||e&&!/loaded|complete/.test(e)||(t.done=!0,t(),o.onreadystatechange=o.onload=null)},document.body.appendChild(o),i=setTimeout(function(){t.done=!0,t(),o.onreadystatechange=o.onload=null},n)},o=(e,t,n,i,o)=>{const c=new(window.XMLHttpRequest||window.ActiveXObject)("MSXML2.XMLHTTP.3.0");if(c.open(i?"POST":"GET",e,1),c.setRequestHeader("Content-type","application/x-www-form-urlencoded"),Array.isArray(o))for(let e=0,t=o.length;e<t;++e){const t=o[e].split(":",2);c.setRequestHeader(t[0].replace(/^\s+|\s+$/g,""),t[1].replace(/^\s+|\s+$/g,""))}"function"==typeof t&&(c.onreadystatechange=function(){3<c.readyState&&t(c)}),c.send(i)}},function(e){"use strict";function t(){t.init.call(this)}function n(e){return void 0===e._maxListeners?t.defaultMaxListeners:e._maxListeners}function i(e,t,i,o){var c,s,r;if("function"!=typeof i)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof i);if(void 0===(s=e._events)?(s=e._events=Object.create(null),e._eventsCount=0):(void 0!==s.newListener&&(e.emit("newListener",t,i.listener?i.listener:i),s=e._events),r=s[t]),void 0===r)r=s[t]=i,++e._eventsCount;else if("function"==typeof r?r=s[t]=o?[i,r]:[r,i]:o?r.unshift(i):r.push(i),0<(c=n(e))&&r.length>c&&!r.warned){r.warned=!0;var a=new Error("Possible EventEmitter memory leak detected. "+r.length+" "+t+" listeners added. Use emitter.setMaxListeners() to increase limit");a.name="MaxListenersExceededWarning",a.emitter=e,a.type=t,a.count=r.length,console}return e}function o(e,t,n){var i={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=function(){for(var e=[],t=0;t<arguments.length;t++)e.push(arguments[t]);this.fired||(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,u(this.listener,this.target,e))}.bind(i);return o.listener=n,i.wrapFn=o,o}function c(e,t,n){var i=e._events;if(void 0===i)return[];var o=i[t];return void 0===o?[]:"function"==typeof o?n?[o.listener||o]:[o]:n?function(e){for(var t=Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(o):r(o,o.length)}function s(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function r(e,t){for(var n=Array(t),i=0;i<t;++i)n[i]=e[i];return n}var a,l="object"==typeof Reflect?Reflect:null,u=l&&"function"==typeof l.apply?l.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};a=l&&"function"==typeof l.ownKeys?l.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var d=Number.isNaN||function(e){return e!=e};e.exports=t,t.EventEmitter=t,t.prototype._events=void 0,t.prototype._eventsCount=0,t.prototype._maxListeners=void 0;var p=10;Object.defineProperty(t,"defaultMaxListeners",{enumerable:!0,get:function(){return p},set:function(e){if("number"!=typeof e||0>e||d(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");p=e}}),t.init=function(){(void 0===this._events||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},t.prototype.setMaxListeners=function(e){if("number"!=typeof e||0>e||d(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},t.prototype.getMaxListeners=function(){return n(this)},t.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var i="error"===e,o=this._events;if(void 0!==o)i=i&&void 0===o.error;else if(!i)return!1;if(i){var c;if(0<t.length&&(c=t[0]),c instanceof Error)throw c;var s=new Error("Unhandled error."+(c?" ("+c.message+")":""));throw s.context=c,s}var a=o[e];if(void 0===a)return!1;if("function"==typeof a)u(a,this,t);else{var l=a.length,d=r(a,l);for(n=0;n<l;++n)u(d[n],this,t)}return!0},t.prototype.addListener=function(e,t){return i(this,e,t,!1)},t.prototype.on=t.prototype.addListener,t.prototype.prependListener=function(e,t){return i(this,e,t,!0)},t.prototype.once=function(e,t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);return this.on(e,o(this,e,t)),this},t.prototype.prependOnceListener=function(e,t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);return this.prependListener(e,o(this,e,t)),this},t.prototype.removeListener=function(e,t){var n,i,o,c,s;if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);if(void 0===(i=this._events))return this;if(void 0===(n=i[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete i[e],i.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(o=-1,c=n.length-1;0<=c;c--)if(n[c]===t||n[c].listener===t){s=n[c].listener,o=c;break}if(0>o)return this;0===o?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,o),1===n.length&&(i[e]=n[0]),void 0!==i.removeListener&&this.emit("removeListener",e,s||t)}return this},t.prototype.off=t.prototype.removeListener,t.prototype.removeAllListeners=function(e){var t,n,i;if(void 0===(n=this._events))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 o,c=Object.keys(n);for(i=0;i<c.length;++i)"removeListener"===(o=c[i])||this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(i=t.length-1;0<=i;i--)this.removeListener(e,t[i]);return this},t.prototype.listeners=function(e){return c(this,e,!0)},t.prototype.rawListeners=function(e){return c(this,e,!1)},t.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):s.call(e,t)},t.prototype.listenerCount=s,t.prototype.eventNames=function(){return 0<this._eventsCount?a(this._events):[]}},function(e,t,n){"use strict";n.d(t,"a",function(){return c});var i=n(0),o=n(18);class c extends i.a{constructor(e={}){super(o.a,e)}get(e){return{hasLaw:0<=this.options.hasLaw.indexOf(e),revokable:0<=this.options.revokable.indexOf(e),explicitAction:0<=this.options.explicitAction.indexOf(e)}}applyLaw(e,t){const n=this.get(t);return n.hasLaw||(e.enabled=!1,this.emit("noCookieLaw",t,n)),this.options.regionalLaw&&(n.revokable&&(e.revokable=!0),n.explicitAction&&(e.dismissOnScroll=!1,e.dismissOnTimeout=!1)),e}}},function(e,t){"use strict";t.a={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(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n(0),o=n(20),c=n(1);class s extends i.a{constructor(e){super(o.a,e),this.currentServiceIndex=-1}getNextService(){let e;do{e=this.getServiceByIdx(++this.currentServiceIndex)}while(this.currentServiceIndex<this.options.services.length&&!e);return e}getServiceByIdx(e){const t=this.options.services[e];if("function"==typeof t){const e=t();return e.name?Object.assign({},e,this.options.serviceDefinitions[e.name](e)):e}return"string"==typeof t?this.options.serviceDefinitions[t]():Object(c.g)(t)?this.options.serviceDefinitions[t.name](t):null}locate(e,t){const n=this.getNextService();return n?(this.callbackComplete=e,this.callbackError=t,void this.runService(n,this.runNextServiceOnError.bind(this))):void t(new Error("No services to run"))}setupUrl(e){const t=this.getCurrentServiceOpts();return e.url.replace(/\{(.*?)\}/g,function(n,i){if("callback"===i){const t="callback"+Date.now();return window[t]=function(t){e.__JSONP_DATA=JSON.stringify(t)},t}return i in t.interpolateUrl?t.interpolateUrl[i]:void 0})}runService(e,t){if(e&&e.url&&e.callback){(e.isScript?c.c:c.i)(this.setupUrl(e),n=>{let i=n?n.responseText:"";e.__JSONP_DATA&&(i=e.__JSONP_DATA,delete e.__JSONP_DATA),this.runServiceCallback.call(this,t,e,i)},this.options.timeout,e.data,e.headers)}}runServiceCallback(e,t,n){const i=t.callback(t=>{i||this.onServiceResult(e,t)},n);i&&this.onServiceResult(e,i)}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(c.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 i=JSON.parse(t);return i.error?n(i):{code:i.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 i=JSON.parse(t);return"ERROR"==i.statusCode?n({error:i.statusMessage}):{code:i.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 r});var i=n(0),o=n(22),c=n(2),s=n(1);class r extends i.a{constructor(e){super(o.a,e),this.userCategories={UNCATEGORIZED:"DISMISS",ESSENTIAL:"ALLOW",PERSONALIZATION:"DISMISS",ANALYTICS:"DISMISS",MARKETING:"DISMISS"},this.customStyles={},this.hasTransition=!!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)&&void 0!==e.style[n+"ransition"])return t[n];return""}(),this.canUseCookies()&&(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(`<div class="cc-grower">${t}</div>`);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()}open(){if(this.element)return this.isOpen()||(this.hasTransition?this.fadeIn():this.element.style.display="",this.options.revokable&&this.toggleRevokeButton(),this.emit("popupOpened")),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;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(){return this.getStatuses().some(e=>!!e)}hasConsented(){return this.getStatuses().map(e=>e===c.b||e===c.d)}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:i,secure:o}=this.options.cookie,r=(r,a)=>{if(Object(s.h)(a)){const l=e+"_"+r,u=0<=c.e.indexOf(Object(s.b)(l));Object(s.k)(l,a,t,n,i,o),this.emit("statusChanged",l,a,u)}else this.clearStatuses()};0===arguments.length?c.a.forEach(e=>r(e,this.userCategories[e])):1===arguments.length?c.a.forEach(e=>r(e,arguments[0])):1<arguments.length&&arguments.forEach((e,t)=>{r(this.userCategories[t],e)})}getStatuses(){return c.a.map(e=>Object(s.b)(this.options.cookie.name+"_"+e))}clearStatuses(){const{name:e,domain:t,path:n}=this.options.cookie;c.a.forEach(i=>{Object(s.k)(e+"_"+i,"",-1,t,n)})}canUseCookies(){if(!window.navigator.cookieEnabled||window.CookiesOK||window.navigator.CookiesOK)return!0;const e=this.getStatuses(),t=0<e.map((e,t)=>({[c.a[t]]:Object(s.h)(e)})).filter(e=>e[Object.keys(e)[0]]).length;return e.forEach((e,t)=>this.userCategories[c.a[t]]===e?e:this.userCategories[c.a[t]]),t}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(s.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(s.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(s.e)(n,t=>e[t]);let i=t.layouts[t.layout];return i||(i=t.layouts.basic),Object(s.e)(i,t=>e[t])}appendMarkup(e){const t=this.options,n=document.createElement("div"),i=t.container&&1===t.container.nodeType?t.container:document.body;n.innerHTML=e;const o=n.children[0];if(o.style.display="none",o.classList.contains("cc-window")&&this.hasTransition&&o.classList.add("cc-invisible"),o.addEventListener("click",e=>this.handleButtonClick(e)),o.querySelectorAll('.cc-btn [type="checkbox"]').forEach(e=>{e.addEventListener("change",()=>{this.userCategories[e.name]=e.checked?"ALLOW":"DENY"}),e.addEventListener("click",e=>e.stopPropagation())}),o.querySelectorAll(".cc-info").forEach(e=>{e.addEventListener("mousedown",function(e){this===document.activeElement&&(this.blur(),e.preventDefault())})}),t.autoAttach)try{i.firstChild?i.insertBefore(o,i.firstChild):i.appendChild(o)}catch(e){throw new Error("No container to attach too. Make sure the DOM has loaded. Is your script loaded just before the `</body>` tag?")}return o}handleButtonClick(e){const t=Object(s.m)(e.target,"cc-btn")||e.target;if(t.classList.contains("cc-btn")&&t.classList.contains("cc-save"))return this.setStatuses(),void this.close(!0);if(!t.classList.contains("cc-btn"))return t.classList.contains("cc-close")?(this.setStatuses(c.d),void this.close(!0)):t.classList.contains("cc-revoke")?void this.revokeChoice():void 0;{const e=t.className.match(new RegExp("\\bcc-("+c.e.map(e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")).join("|")+")\\b")),n=e&&e[1]||!1;n&&(this.setStatuses(n),this.close(!0))}}attachCustomPalette(e){const t=Object(s.d)(JSON.stringify(e)),n="cc-color-override-"+t,i=Object(s.g)(e);return this.customStyleSelector=i?n:null,i&&Object(s.a)(t,e,"."+n),i}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||void 0}applyAutoDismiss(){var e=Math.floor;const{enabled:t,dismissOnTimeout:n,dismissOnScroll:i,dismissOnLinkClick:o,dismissOnWindowClick:s,dismissOnKeyPress:r}=this.options;t&&("number"==typeof n&&0<=n?this.dismissTimeout=setTimeout(()=>{this.setStatuses(c.d),this.close(!0)},e(n)):"number"==typeof i&&0<=i?(this.onWindowScroll=()=>{window.pageYOffset>e(i)&&(this.setStatuses(c.d),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(c.d),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)):o?(this.onLinkClick=e=>{getEventPath(e).some(e=>void 0!==e.tagName&&"A"===e.tagName)&&(this.setStatuses(c.d),this.close(!0),window.removeEventListener("click",this.onLinkClick),this.onLinkClick=null)},window.addEventListener("click",this.onLinkClick)):r&&(this.onKeyPress=e=>{const{keyCode:t}=e;13===t?(this.setStatuses(c.b),this.close(!0)):27===t&&(this.setStatuses(c.d),this.close(!0))},window.addEventListener("onkeypress",this.onKeyPress)))}applyRevokeButton(){if("info"!=this.options.type&&(this.options.revokable=!0),Object(s.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(s.l)(function(e){let t=!1;const i=window.innerHeight-20;(n.classList.contains("cc-top")&&e.clientY<20||n.classList.contains("cc-bottom")&&e.clientY>i)&&(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(){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 i=n(2);t.a={enabled:!0,container:null,cookie:{name:"cookieconsent_status",path:"/",domain:"localhost",expiryDays:365,secure:!1},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",link:"Learn more",href:"https://www.cookiesandyou.com",close:"❌",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="learn more about cookies" role=button tabindex="0" class="cc-link" href="{{href}}" rel="noopener noreferrer nofollow" target="{{target}}">{{link}}</a></span>',dismiss:`<a aria-label="dismiss cookie message" role=button tabindex="0" class="cc-btn cc-${i.d}">{{dismiss}}</a>`,allow:`<a aria-label="allow cookies" role=button tabindex="0" class="cc-btn cc-${i.b}">{{allow}}</a>`,deny:`<a aria-label="deny cookies" role=button tabindex="0" class="cc-btn cc-${i.c}">{{deny}}</a>`,link:'<a aria-label="learn more about cookies" role=button tabindex="0" class="cc-link" href="{{href}}" rel="noopener noreferrer nofollow" target="{{target}}">{{link}}</a>',close:'<span aria-label="dismiss cookie message" role=button tabindex="0" class="cc-close">{{close}}</span>',categories:'<ul class="cc-categories">'+i.a.map((e,t)=>`<li class="cc-category"><button class="cc-btn" tabindex="0"><input type="checkbox" name="${e}"/><span class="cc-btn-checkbox"></span>${e}</button><button class="cc-btn cc-info" aria-label="${e} Definition Button" tabindex="${t+1}">^</button><div class="cc-tooltip"><p>This is the category for cookies that don't fit the '${e.toLowerCase()}' category.</p></div></li>`).join("")+"</ul>",save:'<button class="cc-btn cc-save">Save</button>'},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>',modal:"",revokeBtn:'<div class="cc-revoke {{classes}}">{{policy}}</div>',compliance:{info:'<div class="cc-compliance">{{dismiss}}</div>',"opt-in":'<div class="cc-compliance cc-highlight">{{dismiss}}{{allow}}{{customize}}</div>',"opt-out":'<div class="cc-compliance cc-highlight">{{dismiss}}{{deny}}</div>',categories:'<div class="form">{{categories}}{{save}}</div>'},type:"info",layouts:{basic:"{{messagelink}}{{compliance}}","basic-close":"{{messagelink}}{{compliance}}{{close}}","basic-header":"{{header}}{{message}}{{link}}{{compliance}}"},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}}]);