(()=>{"use strict";function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}var t=function(){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t)}var n,o,i;return n=t,i=[{key:"ready",value:function(e){(document.attachEvent?"complete"===document.readyState:"loading"!==document.readyState)?e():document.addEventListener("DOMContentLoaded",e)}},{key:"objectType",value:function(e){return Object.prototype.toString.call(e).slice(8,-1)}},{key:"lightenDarkenColor",value:function(e,t){var n=!1;"#"==e[0]&&(e=e.slice(1),n=!0);var o=parseInt(e,16),i=(o>>16)+t;i>255?i=255:i<0&&(i=0);var r=(o>>8&255)+t;r>255?r=255:r<0&&(r=0);var c=(255&o)+t;return c>255?c=255:c<0&&(c=0),(n?"#":"")+(c|r<<8|i<<16).toString(16)}},{key:"removeCookie",value:function(){document.cookie="cconsent=; expires=Thu, 01 Jan 1980 00:00:00 UTC; path=/;"}},{key:"listGlobalServices",value:function(e){var t=[];if(void 0===window.CookieConsent)return t;if(void 0===e)for(var n in window.CookieConsent.config.services)t.push(n);else for(var o in window.CookieConsent.config.services)window.CookieConsent.config.services[o].category===e&&t.push(o);return t}},{key:"dispatchEvent",value:function(e,t){"function"==typeof Event?t=new Event(t):(t=document.createEvent("Event")).initEvent(t,!0,!0),e.dispatchEvent(t)}}],(o=null)&&e(n.prototype,o),i&&e(n,i),Object.defineProperty(n,"prototype",{writable:!1}),t}();function n(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var o,i,r;return o=e,(i=[{key:"createBlacklist",value:function(e){var n={};for(var o in window.CookieConsent.config.services)window.CookieConsent.config.services[o].type===e&&!1===window.CookieConsent.config.categories[window.CookieConsent.config.services[o].category].needed&&!1===window.CookieConsent.config.categories[window.CookieConsent.config.services[o].category].wanted&&(n[o]=window.CookieConsent.config.services[o]);var i=[];for(var o in n)if("String"===(e=t.objectType(n[o].search)))i.push(n[o].search);else if("Array"===e)for(var r=0;r<n[o].search.length;r++)i.push(n[o].search[r]);return i}}])&&n(o.prototype,i),r&&n(o,r),Object.defineProperty(o,"prototype",{writable:!1}),e}();function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function r(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}function a(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return s(this,n)}}function s(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(s,e);var t,n,o,i=a(s);function s(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),i.call(this)}return t=s,n=[{key:"init",value:function(){this.overrideAppendChild(),this.overrideInsertBefore()}},{key:"overrideAppendChild",value:function(){Element.prototype.appendChild=function(e){if("SCRIPT"===arguments[0].tagName)for(var t in window.CookieConsent.config.services)if("dynamic-script"===window.CookieConsent.config.services[t].type&&arguments[0].outerHTML.indexOf(window.CookieConsent.config.services[t].search)>=0&&!1===window.CookieConsent.config.categories[window.CookieConsent.config.services[t].category].wanted)return void window.CookieConsent.buffer.appendChild.push({this:this,category:window.CookieConsent.config.services[t].category,arguments});return Node.prototype.appendChild.apply(this,arguments)}}},{key:"overrideInsertBefore",value:function(){Element.prototype.insertBefore=function(e){if("SCRIPT"===arguments[0].tagName)for(var t in window.CookieConsent.config.services)if("dynamic-script"===window.CookieConsent.config.services[t].type&&arguments[0].outerHTML.indexOf(window.CookieConsent.config.services[t].search)>=0&&!1===window.CookieConsent.config.categories[window.CookieConsent.config.services[t].category].wanted)return void window.CookieConsent.buffer.insertBefore.push({this:this,category:window.CookieConsent.config.services[t].category,arguments});return Node.prototype.insertBefore.apply(this,arguments)}}}],n&&r(t.prototype,n),o&&r(t,o),Object.defineProperty(t,"prototype",{writable:!1}),s}(o);function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function f(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0,i=function(){};return{s:i,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,c=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){a=!0,r=e},f:function(){try{c||null==n.return||n.return()}finally{if(a)throw r}}}}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function m(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function b(){return b="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var o=p(e,t);if(o){var i=Object.getOwnPropertyDescriptor(o,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},b.apply(this,arguments)}function p(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=y(e)););return e}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=y(e);if(t){var i=y(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return w(this,n)}}function w(e,t){if(t&&("object"===d(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}var v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&g(e,t)}(c,e);var n,o,i,r=h(c);function c(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),r.call(this)}return n=c,(o=[{key:"init",value:function(){this.filterTags()}},{key:"filterTags",value:function(){var e=this;t.ready((function(){var t,n=b(y(c.prototype),"createBlacklist",e).call(e,"script-tag"),o=f(document.querySelectorAll('script[type="text/plain"]'));try{for(o.s();!(t=o.n()).done;){var i=t.value;if(n.indexOf(i.dataset.consent)<0){var r=document.createElement("script"),a=i.parentNode;i.type="text/javascript";var s,l=f(i.attributes);try{for(l.s();!(s=l.n()).done;){var u=s.value;r.setAttribute(u.nodeName,u.nodeValue)}}catch(e){l.e(e)}finally{l.f()}r.innerHTML=i.innerHTML,a.insertBefore(r,i),a.removeChild(i)}}}catch(e){o.e(e)}finally{o.f()}}))}}])&&m(n.prototype,o),i&&m(n,i),Object.defineProperty(n,"prototype",{writable:!1}),c}(o);function k(e){return k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},k(e)}function C(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function x(){return x="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var o=A(e,t);if(o){var i=Object.getOwnPropertyDescriptor(o,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},x.apply(this,arguments)}function A(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=T(e)););return e}function j(e,t){return j=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},j(e,t)}function O(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=T(e);if(t){var i=T(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return S(this,n)}}function S(e,t){if(t&&("object"===k(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function T(e){return T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},T(e)}var E=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&j(e,t)}(r,e);var t,n,o,i=O(r);function r(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),i.call(this)}return t=r,n=[{key:"init",value:function(){this.filterWrappers()}},{key:"filterWrappers",value:function(){var e=x(T(r.prototype),"createBlacklist",this).call(this,"wrapped");window.CookieConsent.wrapper=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0;e.indexOf(t)<0&&n()}}}],n&&C(t.prototype,n),o&&C(t,o),Object.defineProperty(t,"prototype",{writable:!1}),r}(o);function B(e){return B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},B(e)}function L(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function P(){return P="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var o=M(e,t);if(o){var i=Object.getOwnPropertyDescriptor(o,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},P.apply(this,arguments)}function M(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=N(e)););return e}function R(e,t){return R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},R(e,t)}function z(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=N(e);if(t){var i=N(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return D(this,n)}}function D(e,t){if(t&&("object"===B(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function N(e){return N=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},N(e)}var q=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&R(e,t)}(r,e);var t,n,o,i=z(r);function r(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),i.call(this)}return t=r,n=[{key:"init",value:function(){this.filterlocalCookies()}},{key:"getCookieDescriptor",value:function(){var e;return(e=Object.getOwnPropertyDescriptor(document,"cookie")||Object.getOwnPropertyDescriptor(HTMLDocument.prototype,"cookie"))||((e={}).get=HTMLDocument.prototype.__lookupGetter__("cookie"),e.set=HTMLDocument.prototype.__lookupSetter__("cookie")),e}},{key:"filterlocalCookies",value:function(){var e=P(N(r.prototype),"createBlacklist",this).call(this,"localcookie"),t=this.getCookieDescriptor();Object.defineProperty(document,"cookie",{configurable:!0,get:function(){return t.get.apply(document)},set:function(){var n=arguments;if(e.length){var o=arguments[0].split("=")[0];Array.prototype.forEach.call(e,(function(e){o.indexOf(e)<0&&t.set.apply(document,n)}))}else t.set.apply(document,n)}})}}],n&&L(t.prototype,n),o&&L(t,o),Object.defineProperty(t,"prototype",{writable:!1}),r}(o);function F(e,t){var n=function(e){for(var t=e.split(/([#.])/),n="",o="",i=[],r=0;r<t.length;r++){var c=t[r];"#"===c?o=t[++r]:"."===c?i.push(t[++r]):c.length&&(n=c)}return{tag:n||"div",id:o,className:i.join(" ")}}(e),o=n.tag,i=n.id,r=n.className,c=t?document.createElementNS(t,o):document.createElement(o);return i&&(c.id=i),r&&(t?c.setAttribute("class",r):c.className=r),c}function I(e,t){var n=ne(e),o=ne(t);return t===o&&o.__redom_view&&(t=o.__redom_view),o.parentNode&&(V(t,o,n),n.removeChild(o)),t}function V(e,t,n){var o=t.__redom_lifecycle;if(U(o))t.__redom_lifecycle={};else{var i=n;for(t.__redom_mounted&&J(t,"onunmount");i;){var r=i.__redom_lifecycle||{};for(var c in o)r[c]&&(r[c]-=o[c]);U(r)&&(i.__redom_lifecycle=null),i=i.parentNode}}}function U(e){if(null==e)return!0;for(var t in e)if(e[t])return!1;return!0}var H=["onmount","onremount","onunmount"],Y="undefined"!=typeof window&&"ShadowRoot"in window;function G(e,t,n,o){var i=ne(e),r=ne(t);t===r&&r.__redom_view&&(t=r.__redom_view),t!==r&&(r.__redom_view=t);var c=r.__redom_mounted,a=r.parentNode;return c&&a!==i&&V(0,r,a),null!=n?o?i.replaceChild(r,ne(n)):i.insertBefore(r,ne(n)):i.appendChild(r),function(e,t,n,o){for(var i=t.__redom_lifecycle||(t.__redom_lifecycle={}),r=n===o,c=!1,a=0,s=H;a<s.length;a+=1){var l=s[a];r||e!==t&&l in e&&(i[l]=(i[l]||0)+1),i[l]&&(c=!0)}if(!c)return void(t.__redom_lifecycle={});var u=n,d=!1;(r||u&&u.__redom_mounted)&&(J(t,r?"onremount":"onmount"),d=!0);for(;u;){var f=u.parentNode,_=u.__redom_lifecycle||(u.__redom_lifecycle={});for(var m in i)_[m]=(_[m]||0)+i[m];if(d)break;(u.nodeType===Node.DOCUMENT_NODE||Y&&u instanceof ShadowRoot||f&&f.__redom_mounted)&&(J(u,r?"onremount":"onmount"),d=!0),u=f}}(t,r,i,a),t}function J(e,t){"onmount"===t||"onremount"===t?e.__redom_mounted=!0:"onunmount"===t&&(e.__redom_mounted=!1);var n=e.__redom_lifecycle;if(n){var o=e.__redom_view,i=0;for(var r in o&&o[t]&&o[t](),n)r&&i++;if(i)for(var c=e.firstChild;c;){var a=c.nextSibling;J(c,t),c=a}}}function W(e,t,n){e.style[t]=null==n?"":n}var X="http://www.w3.org/1999/xlink";function $(e,t,n,o){var i=ne(e);if("object"==typeof t)for(var r in t)$(i,r,t[r],o);else{var c=i instanceof SVGElement,a="function"==typeof n;if("style"===t&&"object"==typeof n)!function(e,t,n){var o=ne(e);if("object"==typeof t)for(var i in t)W(o,i,t[i]);else W(o,t,n)}(i,n);else if(c&&a)i[t]=n;else if("dataset"===t)Q(i,n);else if(c||!(t in i)&&!a||"list"===t){if(c&&"xlink"===t)return void K(i,n);o&&"class"===t&&(n=i.className+" "+n),null==n?i.removeAttribute(t):i.setAttribute(t,n)}else i[t]=n}}function K(e,t,n){if("object"==typeof t)for(var o in t)K(e,o,t[o]);else null!=n?e.setAttributeNS(X,t,n):e.removeAttributeNS(X,t,n)}function Q(e,t,n){if("object"==typeof t)for(var o in t)Q(e,o,t[o]);else null!=n?e.dataset[t]=n:delete e.dataset[t]}function Z(e){return document.createTextNode(null!=e?e:"")}function ee(e,t,n){for(var o=0,i=t;o<i.length;o+=1){var r=i[o];if(0===r||r){var c=typeof r;"function"===c?r(e):"string"===c||"number"===c?e.appendChild(Z(r)):oe(ne(r))?G(e,r):r.length?ee(e,r,n):"object"===c&&$(e,r,null,n)}}}function te(e){return"string"==typeof e?re(e):ne(e)}function ne(e){return e.nodeType&&e||!e.el&&e||ne(e.el)}function oe(e){return e&&e.nodeType}var ie={};function re(e){for(var t,n=[],o=arguments.length-1;o-- >0;)n[o]=arguments[o+1];var i=typeof e;if("string"===i)t=ae(e).cloneNode(!1);else if(oe(e))t=e.cloneNode(!1);else{if("function"!==i)throw new Error("At least one argument required");var r=e;t=new(Function.prototype.bind.apply(r,[null].concat(n)))}return ee(ne(t),n,!0),t}var ce=re;function ae(e){return ie[e]||(ie[e]=F(e))}function se(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];for(var o=ne(e),i=le(e,t,o.firstChild);i;){var r=i.nextSibling;I(e,i),i=r}}function le(e,t,n){for(var o=n,i=new Array(t.length),r=0;r<t.length;r++)i[r]=t[r]&&ne(t[r]);for(var c=0;c<t.length;c++){var a=t[c];if(a){var s=i[c];if(s!==o)if(oe(s)){var l=o&&o.nextSibling,u=null!=a.__redom_index&&l===i[c+1];G(e,a,o,u),u&&(o=l)}else null!=a.length&&(o=le(e,a,o));else o=o.nextSibling}}return o}re.extend=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];var o=ae(e);return re.bind.apply(re,[this,o].concat(t))};var ue=function(e,t,n){this.View=e,this.initData=n,this.oldLookup={},this.lookup={},this.oldViews=[],this.views=[],null!=t&&(this.key="function"==typeof t?t:function(e){return function(t){return t[e]}}(t))};ue.prototype.update=function(e,t){for(var n=this,o=n.View,i=n.key,r=n.initData,c=null!=i,a=this.lookup,s={},l=new Array(e.length),u=this.views,d=0;d<e.length;d++){var f=e[d],_=void 0;if(c){var m=i(f);_=a[m]||new o(r,f,d,e),s[m]=_,_.__redom_id=m}else _=u[d]||new o(r,f,d,e);_.update&&_.update(f,d,e,t),ne(_.el).__redom_view=_,l[d]=_}this.oldViews=u,this.views=l,this.oldLookup=a,this.lookup=s};var de=function(e,t,n,o){this.View=t,this.initData=o,this.views=[],this.pool=new ue(t,n,o),this.el=te(e),this.keySet=null!=n};de.prototype.update=function(e,t){void 0===e&&(e=[]);var n=this.keySet,o=this.views;this.pool.update(e,t);var i=this.pool,r=i.views,c=i.lookup;if(n)for(var a=0;a<o.length;a++){var s=o[a];null==c[s.__redom_id]&&(s.__redom_index=null,I(this,s))}for(var l=0;l<r.length;l++){r[l].__redom_index=l}se(this,r),n&&(this.lookup=c),this.views=r},de.extend=function(e,t,n,o){return de.bind(de,e,t,n,o)},de.extend;var fe=function(e,t){this.el=Z(""),this.visible=!1,this.view=null,this._placeholder=this.el,e instanceof Node?this._el=e:e.el instanceof Node?(this._el=e,this.view=e):this._View=e,this._initData=t};fe.prototype.update=function(e,t){var n=this._placeholder,o=this.el.parentNode;if(e){if(!this.visible)if(this._el)G(o,this._el,n),I(o,n),this.el=ne(this._el),this.visible=e;else{var i=new(0,this._View)(this._initData);this.el=ne(i),this.view=i,G(o,i,n),I(o,n)}this.view&&this.view.update&&this.view.update(t)}else if(this.visible){if(this._el)return G(o,n,this._el),I(o,this._el),this.el=n,void(this.visible=e);G(o,n,this.view),I(o,this.view),this.el=n,this.view=null}this.visible=e};var _e=function(e,t,n){this.el=te(e),this.Views=t,this.initData=n};_e.prototype.update=function(e,t){if(e!==this.route){var n=this.Views[e];this.route=e,n&&(n instanceof Node||n.el instanceof Node)?this.view=n:this.view=n&&new n(this.initData,t),se(this.el,[this.view])}this.view&&this.view.update&&this.view.update(t,e)};var me="http://www.w3.org/2000/svg",be={};function pe(e){for(var t,n=[],o=arguments.length-1;o-- >0;)n[o]=arguments[o+1];var i=typeof e;if("string"===i)t=ge(e).cloneNode(!1);else if(oe(e))t=e.cloneNode(!1);else{if("function"!==i)throw new Error("At least one argument required");var r=e;t=new(Function.prototype.bind.apply(r,[null].concat(n)))}return ee(ne(t),n,!0),t}function ge(e){return be[e]||(be[e]=F(e,me))}function he(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}pe.extend=function(e){var t=ge(e);return pe.bind(this,t)},pe.ns=me;var we=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,o;return t=e,o=[{key:"getTranslation",value:function(e,t,n){var o;return e.hasOwnProperty("language")?e.language.hasOwnProperty("locale")?(o=e.language.locale.hasOwnProperty(t)?t:"en",e.language.locale[o].hasOwnProperty(n)?e.language.locale[o][n]:"[Missing translation]"):"[Missing locale object]":"[Missing language object]"}}],(n=[{key:"setLocale",value:function(e){window.CookieConsent.config.language.current=e}}])&&he(t.prototype,n),o&&he(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}();function ye(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return ve(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ve(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0,i=function(){};return{s:i,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,c=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){a=!0,r=e},f:function(){try{c||null==n.return||n.return()}finally{if(a)throw r}}}}function ve(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function ke(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}var Ce=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.elements={}}var n,o,i;return n=e,o=[{key:"buildStyle",value:function(){return ce("style","#cconsent-bar, #cconsent-bar * { box-sizing:border-box }","#cconsent-bar .visually-hide, #cconsent-modal .visually-hide { position: absolute !important; overflow: hidden !important; clip: rect(1px 1px 1px 1px) !important; clip: rect(1px, 1px, 1px, 1px) !important;width: 1px !important; height: 1px !important; }","#cconsent-bar { background-color:"+window.CookieConsent.config.theme.barColor+"; color:"+window.CookieConsent.config.theme.barTextColor+"; padding:15px; text-align:right; font-family:sans-serif; font-size:14px; line-height:18px; position:fixed; bottom:0; left:0; width:100%; z-index:9998; transform: translateY(0); transition: transform .6s ease-in-out; transition-delay: .3s;}","#cconsent-bar.ccb--hidden {transform: translateY(100%); display:block; visible:hidden;}","#cconsent-bar .ccb__wrapper { display:flex; flex-wrap:wrap; justify-content:space-between; max-width:1800px; margin:0 auto;}","#cconsent-bar .ccb__left { align-self:center; text-align:left; margin: 15px 0;}","#cconsent-bar .ccb__right { align-self:center; white-space: nowrap;}","#cconsent-bar .ccb__right > div {display:inline-block; color:#FFF;}","#cconsent-bar button { line-height:normal; font-size:14px; border:0; padding:10px 10px; color:"+window.CookieConsent.config.theme.barMainButtonTextColor+"; background-color:"+window.CookieConsent.config.theme.barMainButtonColor+";}","#cconsent-bar button.consent-give { line-height:normal; font-size:14px; border:none; padding:10px 10px; color:"+window.CookieConsent.config.theme.barMainButtonTextColor+"; background-color:"+window.CookieConsent.config.theme.barMainButtonColor+";}","#cconsent-bar button.consent-decline { line-height:normal; font-size:14px; border:none; padding:10px 10px; color:"+window.CookieConsent.config.theme.barMainButtonColor+"; background-color:"+window.CookieConsent.config.theme.barMainButtonTextColor+"; margin-right: 10px; border: 1px solid "+window.CookieConsent.config.theme.barMainButtonColor+"}","#cconsent-bar button.ccb__edit { -moz-appearance:none; -webkit-appearance:none; appearance:none; margin-right:15px; border:0; padding:0; text-decoration:underline; color:"+window.CookieConsent.config.theme.barTextColor+"; background:none; }","#cconsent-bar a:hover, #cconsent-bar button:hover { cursor:pointer; }","#cconsent-modal { display:none; font-size:14px; line-height:18px; color:#666; width: 100vw; height: 100vh; position:fixed; left:0; top:0; right:0; bottom:0; font-family:sans-serif; font-size:14px; background-color:rgba(0,0,0,0.6); z-index:9999; align-items:center; justify-content:center;}","@media (max-width: 600px) { #cconsent-modal { height: 100% } }","#cconsent-modal button { border: 0 }","#cconsent-modal h2, #cconsent-modal h3 {color:#333}","#cconsent-modal.ccm--visible {display:flex}","#cconsent-modal .ccm__content { max-width:600px; min-height:500px; max-height:600px; overflow-Y:auto; background-color:#EFEFEF; }","@media (max-width: 600px) { #cconsent-modal .ccm__content { max-width:100vw; height:100%; max-height:initial; }}","#cconsent-modal .ccm__content > .ccm__content__heading { border-bottom:1px solid #D8D8D8; padding:35px 35px 20px; background-color:#EFEFEF; position:relative; }","#cconsent-modal .ccm__content > .ccm__content__heading h2 { font-size:21px; font-weight:600; color:#333; margin:0 }","#cconsent-modal .ccm__content > .ccm__content__heading .ccm__cheading__close { -moz-appearance:none; -webkit-appearance:none; appearance:none; padding:0; border:0; font-weight:600; color:#888; cursor:pointer; font-size:26px; position:absolute; right:15px; top:15px; width:26px; height:26px; background:none; text-align:center; }","#cconsent-modal .ccm__content > .ccm__content__heading .ccm__cheading__close:focus-visible { box-shadow: 0 0 0 0.25rem "+window.CookieConsent.config.theme.focusColor+"; }","#cconsent-modal h2, #cconsent-modal h3 { margin-top:0 }","#cconsent-modal .ccm__content > .ccm__content__body { background-color:#FFF; }","#cconsent-modal .ccm__content > .ccm__content__body .ccm__tabgroup { margin:0; border-bottom: 1px solid #D8D8D8; }","#cconsent-modal .ccm__content > .ccm__content__body .ccm__tab-head {color:#333; font-weight:600; cursor:pointer; position:relative; padding:0; margin:0; transition: background-color .5s ease-out; }","#cconsent-modal .ccm__content > .ccm__content__body .ccm__tab-head:hover { background-color:#F9F9F9 }","#cconsent-modal .ccm__content > .ccm__content__body .ccm__tab-head__status { order: 1; position:absolute; left:35px; font-weight: 600; display:inline-block; margin-right: 20px; pointer-events: none; }","#cconsent-modal .ccm__content > .ccm__content__body .ccm__tab-head__status.ccm__tab-head__status--checked { font-size:1em; color:#28a834; }","#cconsent-modal .ccm__content > .ccm__content__body .ccm__tab-head__status.ccm__tab-head__status--unchecked { font-size:1.4em; color:#e56385; }","#cconsent-modal .ccm__content > .ccm__content__body .ccm__tab-head__text { order: 2; pointer-events: none; }","#cconsent-modal .ccm__content > .ccm__content__body .ccm__tabgroup .ccm__tab-head .ccm__tab-head__icon-wedge { transition: transform .3s ease-out; transform-origin: center; position:absolute;right:25px; top:50%; transform:rotate(0deg); transform:translateY(-50%); order: 3;}","#cconsent-modal .ccm__content > .ccm__content__body .ccm__tabgroup .ccm__tab-head .ccm__tab-head__icon-wedge > svg { pointer-events: none; }","#cconsent-modal .ccm__content > .ccm__content__body .ccm__tabgroup.ccm__tabgroup--open .ccm__tab-head .ccm__tab-head__icon-wedge { transform:translateY(-50%) rotate(-180deg) }","#cconsent-modal .ccm__tab-trigger { appearance: none; background: none; display: flex; flex-direction: row; width: 100%; padding:17px 35px 17px 56px; color:#333; font-weight:600; }","#cconsent-modal .ccm__content > .ccm__content__body .ccm__tab-content {padding:0; margin:0}","#cconsent-modal .ccm__content > .ccm__content__body .ccm__tabgroup .ccm__tab-content { max-height: 0; overflow: hidden; opacity: 0; transition: all .5s ease-out; }","#cconsent-modal .ccm__content > .ccm__content__body .ccm__tabgroup .ccm__tab-content__inner { display: flex; flex-direction: row; padding:25px 35px; }","#cconsent-modal .ccm__content > .ccm__content__body .ccm__tabgroup.ccm__tabgroup--open .ccm__tab-head { background-color:#f9f9f9 }","#cconsent-modal .ccm__content > .ccm__content__body .ccm__tabgroup.ccm__tabgroup--open .ccm__tab-content { max-height: 900px; opacity: 1; }","#cconsent-modal .ccm__content > .ccm__content__body .ccm__tab-content .ccm__tab-content__choose {order:1;}","@media (max-width: 600px) { #cconsent-modal .ccm__content > .ccm__content__body .ccm__tabgroup.ccm__tabgroup--open .ccm__tab-content {flex-direction:column} }","@media (max-width: 600px) { #cconsent-modal .ccm__content > .ccm__content__body .ccm__tab-content .ccm__tab-content__choose { margin-bottom:20px; } }","#cconsent-modal .ccm__content > .ccm__content__body .ccm__tab-content .ccm__tab-content__choose .ccm__switch-component {display:flex; margin-right:35px; align-items:center;}","#cconsent-modal .ccm__content > .ccm__content__body .ccm__tab-content .ccm__tab-content__choose .ccm__switch__status {font-weight:600;}","#cconsent-modal .ccm__content > .ccm__content__body .ccm__tab-content .ccm__tab-content__choose .ccm__switch-group {background:none; width:40px; height:20px; margin:0 10px; position:relative;}","#cconsent-modal .ccm__content > .ccm__content__body .ccm__tab-content .ccm__tab-content__choose .ccm__switch__slider {position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; border-radius:10px; -webkit-transition: .4s; transition: .4s; pointer-events: none;}",'#cconsent-modal .ccm__content > .ccm__content__body .ccm__tab-content .ccm__tab-content__choose .ccm__switch__slider:before {position: absolute; content: ""; height: 12px; width: 12px; left: 4px; bottom: 4px; background-color: white; border-radius:50%; -webkit-transition: .4s; transition: .4s;}','#cconsent-modal .ccm__content > .ccm__content__body .ccm__tab-content .ccm__tab-content__choose .ccm__switch-group[aria-checked="true"] .ccm__switch__slider {background-color: #28A834;}',"#cconsent-modal .ccm__content > .ccm__content__body .ccm__tab-content .ccm__tab-content__choose .ccm__switch-group:focus-visible {box-shadow: 0 0 0 2px"+window.CookieConsent.config.theme.focusColor+";}",'#cconsent-modal .ccm__content > .ccm__content__body .ccm__tab-content .ccm__tab-content__choose .ccm__switch-group[aria-checked="true"] .ccm__switch__slider:before {-webkit-transform: translateX(20px); -ms-transform: translateX(20px); transform: translateX(20px);}',"#cconsent-modal .ccm__content > .ccm__content__body .ccm__tab-content .ccm__tab-content__desc {order:2;}","#cconsent-modal .ccm__content > .ccm__content__body .ccm__tab-content h3 {font-size:18px; margin-bottom:10px; line-height:1;}","#cconsent-modal .ccm__content > .ccm__content__body .ccm__tab-content p {color:#444; margin-bottom:0}","#cconsent-modal .ccm__content > .ccm__content__body .ccm__tab-content .ccm__list:not(:empty) {margin-top:30px;}","#cconsent-modal .ccm__content > .ccm__content__body .ccm__tab-content .ccm__list .ccm__list__title {color:#333; font-weight:600;}","#cconsent-modal .ccm__content > .ccm__content__body .ccm__tab-content .ccm__list ul { margin:15px 0; padding-left:15px }","#cconsent-modal .ccm__footer { padding:35px; background-color:#EFEFEF; text-align:center; display: flex; align-items:center; justify-content:flex-end; }","#cconsent-modal .ccm__footer button { line-height:normal; font-size:14px; transition: background-color .5s ease-out; background-color:"+window.CookieConsent.config.theme.modalMainButtonColor+"; color:"+window.CookieConsent.config.theme.modalMainButtonTextColor+"; border:none; padding:13px; min-width:110px; border-radius: 2px; cursor:pointer; }","#cconsent-modal .ccm__footer button:hover { background-color:"+t.lightenDarkenColor(window.CookieConsent.config.theme.modalMainButtonColor,-20)+"; }","#cconsent-modal .ccm__footer button + button { margin-left: 10px; }")}},{key:"buildBar",value:function(){return ce("div#cconsent-bar.ccb--hidden",ce("div.ccb__wrapper",ce("div.ccb__left",ce("div.cc-text",we.getTranslation(window.CookieConsent.config,window.CookieConsent.config.language.current,"barMainText"))),ce("div.ccb__right",ce("div.ccb__button",ce("button.ccb__edit",we.getTranslation(window.CookieConsent.config,window.CookieConsent.config.language.current,"barLinkSetting"),{"aria-hidden":"true",tabindex:"-1"}),window.CookieConsent.config.showRejectAllButton&&ce("button.consent-decline",we.getTranslation(window.CookieConsent.config,window.CookieConsent.config.language.current,"barBtnRejectAll"),{"aria-hidden":"true",tabindex:"-1"}),ce("button.consent-give",we.getTranslation(window.CookieConsent.config,window.CookieConsent.config.language.current,"barBtnAcceptAll"),{"aria-hidden":"true",tabindex:"-1"})))),{role:"region","aria-label":we.getTranslation(window.CookieConsent.config,window.CookieConsent.config.language.current,"cookieBarLabel"),"aria-hidden":"true",tabindex:"-1"})}},{key:"buildModal",value:function(){var e=function(e){var t=[];for(var n in window.CookieConsent.config.services)window.CookieConsent.config.services[n].category===e&&t.push(window.CookieConsent.config.services[n]);if(t.length){var o=[];for(var i in t)o.push(ce("li",we.getTranslation(t[i],window.CookieConsent.config.language.current,"name")));return[ce("div.ccm__list",ce("span.ccm__list__title",we.getTranslation(window.CookieConsent.config,window.CookieConsent.config.language.current,"modalAffectedSolutions")),ce("ul",o))]}};return ce("dialog#cconsent-modal",ce("div.ccm__content",ce("div.ccm__content__heading",ce("h2#ccm__content__title",we.getTranslation(window.CookieConsent.config,window.CookieConsent.config.language.current,"modalMainTitle")),ce("p",we.getTranslation(window.CookieConsent.config,window.CookieConsent.config.language.current,"modalMainText"),window.CookieConsent.config.modalMainTextMoreLink?ce("a",{href:window.CookieConsent.config.modalMainTextMoreLink,target:"_blank",rel:"noopener noreferrer"},we.getTranslation(window.CookieConsent.config,window.CookieConsent.config.language.current,"learnMore")):null),ce("button.ccm__cheading__close","×",{"aria-label":we.getTranslation(window.CookieConsent.config,window.CookieConsent.config.language.current,"closeAriaLabel")})),ce("div.ccm__content__body",ce("div.ccm__tabs",function(){var t=[];for(var n in window.CookieConsent.config.categories){var o=Math.random().toString(16).slice(2);t.push(ce("dl.ccm__tabgroup."+n+(window.CookieConsent.config.categories[n].checked?".checked-5jhk":""),{"data-category":n},ce("dt.ccm__tab-head",ce("button#ccm__tab-trigger--"+o+".ccm__tab-trigger",ce("span.ccm__tab-head__text",we.getTranslation(window.CookieConsent.config.categories[n],window.CookieConsent.config.language.current,"name")),ce("span.ccm__tab-head__status"+(window.CookieConsent.config.categories[n].checked?".ccm__tab-head__status--checked":".ccm__tab-head__status--unchecked"),window.CookieConsent.config.categories[n].checked?"✔":"×",{"aria-label":window.CookieConsent.config.categories[n].checked?we.getTranslation(window.CookieConsent.config,window.CookieConsent.config.language.current,"checked"):we.getTranslation(window.CookieConsent.config,window.CookieConsent.config.language.current,"unchecked")}),ce("span.ccm__tab-head__icon-wedge",ce(document.createElementNS("http://www.w3.org/2000/svg","svg"),{version:"1.2",preserveAspectRatio:"none",viewBox:"0 0 24 24",class:"icon-wedge-svg","data-id":"e9b3c566e8c14cfea38af128759b91a3",style:"opacity: 1; mix-blend-mode: normal; fill: rgb(51, 51, 51); width: 32px; height: 32px;"},ce(document.createElementNS("http://www.w3.org/2000/svg","path"),{"xmlns:default":"http://www.w3.org/2000/svg",class:"icon-wedge-angle-down",d:"M17.2,9.84c0-0.09-0.04-0.18-0.1-0.24l-0.52-0.52c-0.13-0.13-0.33-0.14-0.47-0.01c0,0-0.01,0.01-0.01,0.01  l-4.1,4.1l-4.09-4.1C7.78,8.94,7.57,8.94,7.44,9.06c0,0-0.01,0.01-0.01,0.01L6.91,9.6c-0.13,0.13-0.14,0.33-0.01,0.47  c0,0,0.01,0.01,0.01,0.01l4.85,4.85c0.13,0.13,0.33,0.14,0.47,0.01c0,0,0.01-0.01,0.01-0.01l4.85-4.85c0.06-0.06,0.1-0.15,0.1-0.24  l0,0H17.2z",style:"fill: rgb(51, 51, 51);"}))),{"aria-expanded":"false","aria-controls":"ccm__tab-content--"+o})),ce("dd#ccm__tab-content--"+o+".ccm__tab-content",ce("div.ccm__tab-content__inner",ce("div.ccm__tab-content__desc",ce("h3#ccm__tab-content__title--"+o,we.getTranslation(window.CookieConsent.config.categories[n],window.CookieConsent.config.language.current,"name")),ce("p",we.getTranslation(window.CookieConsent.config.categories[n],window.CookieConsent.config.language.current,"description")),ce("div.ccm__list",e(n))),ce("div.ccm__tab-content__choose",!window.CookieConsent.config.categories[n].needed&&ce("div.ccm__switch-component",ce("span.ccm__switch__status.status-off",we.getTranslation(window.CookieConsent.config,window.CookieConsent.config.language.current,"off")),ce("button.ccm__switch-group",ce("span.ccm__switch__text.visually-hide",we.getTranslation(window.CookieConsent.config.categories[n],window.CookieConsent.config.language.current,"name")),ce("span.ccm__switch__slider"),{role:"switch","data-category":n,"aria-checked":window.CookieConsent.config.categories[n].checked,"aria-label":we.getTranslation(window.CookieConsent.config.categories[n],window.CookieConsent.config.language.current,"name")}),ce("span.ccm__switch__status.status-on",we.getTranslation(window.CookieConsent.config,window.CookieConsent.config.language.current,"on"))))),{role:"region","aria-labelledby":"ccm__tab-trigger--"+o,"aria-hidden":"true"})))}return t}())),ce("div.ccm__footer",ce("button#ccm__footer__consent-modal-submit",we.getTranslation(window.CookieConsent.config,window.CookieConsent.config.language.current,"modalBtnSave")),window.CookieConsent.config.showRejectAllButton&&ce("button.consent-decline",we.getTranslation(window.CookieConsent.config,window.CookieConsent.config.language.current,"modalBtnRejectAll")),ce("button.consent-give",we.getTranslation(window.CookieConsent.config,window.CookieConsent.config.language.current,"modalBtnAcceptAll")))),{"aria-labelledby":"ccm__content__title","aria-hidden":"true"})}},{key:"modalRedrawIcons",value:function(){var e,t=ye(this.elements.modal.querySelectorAll(".ccm__tabgroup"));try{for(t.s();!(e=t.n()).done;){var n=e.value,o=n.querySelector("button.ccm__switch-group"),i=n.querySelector(".ccm__tab-head__status");window.CookieConsent.config.categories[n.dataset.category].checked?n.classList.contains("checked-5jhk")||(n.classList.add("checked-5jhk"),o.setAttribute("aria-checked","true"),i.classList.remove("ccm__tab-head__status--unchecked"),i.setAttribute("aria-label",we.getTranslation(window.CookieConsent.config,window.CookieConsent.config.language.current,"checked")),i.textContent="✔",i.classList.add("ccm__tab-head__status--checked")):(n.classList.contains("checked-5jhk")&&n.classList.remove("checked-5jhk"),o.setAttribute("aria-checked","false"),i.setAttribute("aria-label",we.getTranslation(window.CookieConsent.config,window.CookieConsent.config.language.current,"unchecked")),i.textContent="×",i.classList.add("ccm__tab-head__status--unchecked"))}}catch(e){t.e(e)}finally{t.f()}}},{key:"render",value:function(e,t,n){if(void 0===n&&(n=function(){}),void 0!==this.elements[e])return this.elements[e].parentNode.replaceChild(t,this.elements[e]),this.elements[e]=t,n(t),t;var o=G(document.body,t,document.body.firstChild);return o&&(this.elements[e]=o),n(o),o}},{key:"buildInterface",value:function(e){void 0===e&&(e=function(){});var n=this;t.ready((function(){if(window.CookieConsent.config.noUI)return n.writeBufferToDOM(),n.buildCookie((function(e){n.setCookie(e)})),void e();n.render("style",n.buildStyle()),n.render("bar",n.buildBar(),(function(e){window.CookieConsent.config.cookieExists||setTimeout((function(){var t,n,o=e.querySelector(".ccb__edit"),i=e.querySelector(".consent-give"),r=e.querySelector(".consent-decline");e.classList.remove("ccb--hidden"),e.setAttribute("aria-hidden","false"),e.setAttribute("tabindex","0"),o.setAttribute("tabindex","0"),o.setAttribute("aria-hidden","false"),i.setAttribute("tabindex","0"),i.setAttribute("aria-hidden","false"),null!==(t=null!==r)&&void 0!==t||r.setAttribute("tabindex","0"),null!==(n=null!==r)&&void 0!==n||r.setAttribute("aria-hidden","false")}),window.CookieConsent.config.barTimeout)})),n.render("modal",n.buildModal()),e()}))}},{key:"addEventListeners",value:function(e){var t,n=this,o=!1,i=document.querySelector("body"),r=ye(document.querySelectorAll(".consent-give"));try{var c=function(){var e=t.value;e.addEventListener("click",(function(){var t,r,c=document.querySelector(".ccb__edit"),a=document.querySelector(".consent-decline");for(var s in window.CookieConsent.config.categories)window.CookieConsent.config.categories[s].wanted=window.CookieConsent.config.categories[s].checked=!0;n.writeBufferToDOM(),n.buildCookie((function(e){n.setCookie(e)})),n.elements.bar.classList.add("ccb--hidden"),n.elements.bar.setAttribute("aria-hidden","true"),n.elements.bar.setAttribute("tabindex","-1"),n.elements.modal.classList.remove("ccm--visible"),n.elements.modal.setAttribute("aria-hidden","true"),n.elements.modal.setAttribute("tabindex","-1"),e.setAttribute("tabindex","-1"),e.setAttribute("aria-hidden","true"),c.setAttribute("tabindex","-1"),c.setAttribute("aria-hidden","true"),null!==(t=null!==a)&&void 0!==t||a.setAttribute("tabindex","-1"),null!==(r=null!==a)&&void 0!==r||a.setAttribute("aria-hidden","true"),i.focus(),o=!1,n.modalRedrawIcons()}))};for(r.s();!(t=r.n()).done;)c()}catch(e){r.e(e)}finally{r.f()}var a,s=ye(document.querySelectorAll(".consent-decline"));try{var l=function(){var e=a.value;e.addEventListener("click",(function(){var t=document.querySelector(".ccb__edit"),r=document.querySelector(".consent-give");for(var c in window.CookieConsent.config.categories)window.CookieConsent.config.categories[c].wanted=window.CookieConsent.config.categories[c].checked=window.CookieConsent.config.categories[c].needed;n.writeBufferToDOM(),n.buildCookie((function(e){n.setCookie(e)})),n.elements.bar.classList.add("ccb--hidden"),n.elements.bar.setAttribute("aria-hidden","true"),n.elements.bar.setAttribute("tabindex","-1"),n.elements.modal.classList.remove("ccm--visible"),n.elements.modal.setAttribute("aria-hidden","true"),n.elements.modal.setAttribute("tabindex","-1"),e.setAttribute("tabindex","-1"),e.setAttribute("aria-hidden","true"),t.setAttribute("tabindex","-1"),t.setAttribute("aria-hidden","true"),r.setAttribute("tabindex","-1"),r.setAttribute("aria-hidden","true"),i.focus(),o=!1,n.modalRedrawIcons()}))};for(s.s();!(a=s.n()).done;)l()}catch(e){s.e(e)}finally{s.f()}Array.prototype.forEach.call(document.getElementsByClassName("ccb__edit"),(function(e){e.addEventListener("click",(function(){o=!0,n.elements.modal.classList.add("ccm--visible"),n.elements.modal.setAttribute("aria-hidden","false"),n.elements.modal.setAttribute("tabindex","0"),n.elements.modal.querySelector(".ccm__cheading__close").focus()}))})),this.elements.modal.querySelector(".ccm__tabs").addEventListener("click",(function(e){if(e.target.classList.contains("ccm__tab-trigger")||e.target.classList.contains("ccm__tab-head__icon-wedge")){var t=function e(t){var n=t.parentNode;return"DL"!==n.nodeName?e(n):n}(e.target);t.classList.contains("ccm__tabgroup--open")?(t.classList.remove("ccm__tabgroup--open"),e.target.setAttribute("aria-expanded","false"),t.querySelector(".ccm__tab-content").setAttribute("aria-hidden","true")):(t.classList.add("ccm__tabgroup--open"),e.target.setAttribute("aria-expanded","true"),t.querySelector(".ccm__tab-content").setAttribute("aria-hidden","false"))}if(e.target.classList.contains("ccm__switch-group")){var n=e.target.getAttribute("aria-checked"),o=e.target.textContent.trim(),i=document.querySelector(".ccm__tabgroup."+e.target.dataset.category),r=document.querySelector(".ccm__tabgroup."+e.target.dataset.category+" .ccm__tab-head__status");window.CookieConsent.config.categories[e.target.dataset.category].wanted=window.CookieConsent.config.categories[e.target.dataset.category].checked="true"!==n,e.target.setAttribute("aria-checked","true"!==n),i.classList.remove("checked-5jhk"),r.classList.remove("ccm__tab-head__status--checked"),r.classList.remove("ccm__tab-head__status--unchecked"),"true"!==n?(e.target.setAttribute("aria-label",o+" "+we.getTranslation(window.CookieConsent.config,window.CookieConsent.config.language.current,"enabled")),i.classList.add("checked-5jhk"),r.setAttribute("aria-label",we.getTranslation(window.CookieConsent.config,window.CookieConsent.config.language.current,"checked")),r.textContent="✔",r.classList.add("ccm__tab-head__status--checked")):(e.target.setAttribute("aria-label",o+" "+we.getTranslation(window.CookieConsent.config,window.CookieConsent.config.language.current,"disabled")),i.classList.remove("checked-5jhk"),r.setAttribute("aria-label",we.getTranslation(window.CookieConsent.config,window.CookieConsent.config.language.current,"unchecked")),r.textContent="×",r.classList.add("ccm__tab-head__status--unchecked"))}})),this.elements.modal.querySelector(".ccm__cheading__close").addEventListener("click",(function(e){n.elements.modal.classList.remove("ccm--visible"),n.elements.modal.setAttribute("aria-hidden","true"),n.elements.modal.setAttribute("tabindex","-1"),o=!1})),document.addEventListener("keydown",(function(e){!o||e.keyCode&&27!==e.keyCode||(n.elements.modal.classList.remove("ccm--visible"),n.elements.modal.setAttribute("aria-hidden","true"),n.elements.modal.setAttribute("tabindex","-1"),o=!1)})),document.getElementById("ccm__footer__consent-modal-submit").addEventListener("click",(function(){var e=n.elements.modal.querySelectorAll(".ccm__switch input");Array.prototype.forEach.call(e,(function(e){window.CookieConsent.config.categories[e.dataset.category].wanted=e.checked}));var t=document.querySelector(".ccb__edit"),r=document.querySelector(".consent-give"),c=document.querySelector(".consent-decline");n.buildCookie((function(e){n.setCookie(e,(function(){var e,a;n.elements.modal.classList.remove("ccm--visible"),n.elements.modal.setAttribute("aria-hidden","true"),n.elements.bar.classList.add("ccb--hidden"),n.elements.bar.setAttribute("aria-hidden","true"),n.elements.bar.setAttribute("tabindex","-1"),n.elements.modal.setAttribute("tabindex","-1"),t.setAttribute("tabindex","-1"),t.setAttribute("aria-hidden","true"),r.setAttribute("tabindex","-1"),r.setAttribute("aria-hidden","true"),null!==(e=null!==c)&&void 0!==e||c.setAttribute("tabindex","-1"),null!==(a=null!==c)&&void 0!==a||c.setAttribute("aria-hidden","true"),i.focus(),o=!1}))})),n.writeBufferToDOM()}))}},{key:"writeBufferToDOM",value:function(){var e,t=ye(window.CookieConsent.buffer.appendChild);try{for(t.s();!(e=t.n()).done;){var n=e.value;!0===window.CookieConsent.config.categories[n.category].wanted&&Node.prototype.appendChild.apply(n.this,n.arguments)}}catch(e){t.e(e)}finally{t.f()}var o,i=ye(window.CookieConsent.buffer.insertBefore);try{for(i.s();!(o=i.n()).done;){var r=o.value;!0===window.CookieConsent.config.categories[r.category].wanted&&(r.arguments[1]=null===r.arguments[0].parentNode?r.this.lastChild:r.arguments[1],Node.prototype.insertBefore.apply(r.this,r.arguments))}}catch(e){i.e(e)}finally{i.f()}}},{key:"buildCookie",value:function(e){var n={version:window.CookieConsent.config.cookieVersion,categories:{},services:[]};for(var o in window.CookieConsent.config.categories)n.categories[o]={wanted:window.CookieConsent.config.categories[o].wanted};return n.services=t.listGlobalServices(),e&&e(n),n}},{key:"setCookie",value:function(e,t){var n=new Date(Date.now()+31536e6).toUTCString();document.cookie="cconsent=".concat(JSON.stringify(e),"; expires=").concat(n,"; path=/;"),t&&t()}}],o&&ke(n.prototype,o),i&&ke(n,i),Object.defineProperty(n,"prototype",{writable:!1}),e}();function xe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ae(e){return Ae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ae(e)}function je(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}var Oe=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),window.CookieConsent.buffer={appendChild:[],insertBefore:[]},window.CookieConsent.wrapper=function(){},window.CookieConsent.setConfiguration=this.setConfiguration.bind(this),window.CookieConsent.config={active:!0,cookieExists:!1,cookieVersion:1,modalMainTextMoreLink:null,showRejectAllButton:!1,barTimeout:1e3,noUI:!1,theme:{barColor:"#2b7abb",barTextColor:"#fff",barMainButtonColor:"#fff",barMainButtonTextColor:"#2b7abb",modalMainButtonColor:"#1e6ef4",modalMainButtonTextColor:"#fff",focusColor:"rgb(40 168 52 / 75%)"},language:{current:"en",locale:{en:{cookieBarLabel:"Cookie consent",barMainText:"This website uses cookies to ensure you get the best experience on our website.",closeAriaLabel:"close",barLinkSetting:"Cookie Settings",barBtnAcceptAll:"Accept all cookies",barBtnRejectAll:"Reject all cookies",modalMainTitle:"Cookie settings",modalMainText:"Cookies are small piece of data sent from a website and stored on the user's computer by the user's web browser while the user is browsing. Your browser stores each message in a small file, called cookie. When you request another page from the server, your browser sends the cookie back to the server. Cookies were designed to be a reliable mechanism for websites to remember information or to record the user's browsing activity.",modalBtnSave:"Save current settings",modalBtnAcceptAll:"Accept all cookies and close",modalBtnRejectAll:"Reject all cookies and close",modalAffectedSolutions:"Affected solutions:",learnMore:"Learn More",on:"On",off:"Off",enabled:"is enabled.",disabled:"is disabled.",checked:"checked",unchecked:"unchecked"},hu:{cookieBarLabel:"Hozzájárulás sütik engedélyzéséhez",barMainText:"Ez a weboldal Sütiket használ a jobb felhasználói élmény érdekében.",closeAriaLabel:"bezár",barLinkSetting:"Süti beállítások",barBtnAcceptAll:"Minden süti elfogadása",barBtnRejectAll:"Minden süti elutasítása",modalMainTitle:"Süti beállítások",modalMainText:"A HTTP-süti (általában egyszerűen süti, illetve angolul cookie) egy információcsomag, amelyet a szerver küld a webböngészőnek, majd a böngésző visszaküld a szervernek minden, a szerver felé irányított kérés alkalmával. Amikor egy weboldalt kérünk le a szervertől, akkor a böngésző elküldi a számára elérhető sütiket. A süti-ket úgy tervezték, hogy megbízható mechanizmust biztosítsanak a webhelyek számára az információk megőrzésére vagy a felhasználók böngészési tevékenységének rögzítésére.",modalBtnSave:"Beállítások mentése",modalBtnAcceptAll:"Minden Süti elfogadása",modalBtnRejectAll:"Minden süti elutasítása",modalAffectedSolutions:"Mire lesz ez hatással:",learnMore:"Tudj meg többet",on:"Be",off:"Ki",enabled:"bekapcsolva.",disabled:"kikapcsolva.",checked:"kipipálva",unchecked:"nincs kipipálva"}}},categories:{},services:{}},this.setConfiguration(t)}var n,o,i;return n=e,o=[{key:"setConfiguration",value:function(e){this.mergeDeep(window.CookieConsent.config,e),this.cookieToConfig(),t.dispatchEvent(document,"CCConfigSet")}},{key:"cookieToConfig",value:function(){function e(){return t.removeCookie(),location.reload(),!1}return document.cookie.split(";").filter((function(t){if(t.indexOf("cconsent")>=0){var n=JSON.parse(t.split("=")[1]);if(void 0===n.version)return e();if(n.version!==window.CookieConsent.config.cookieVersion)return e();for(var o in n.categories)if(void 0===window.CookieConsent.config.categories[o])return e();if(n.services.forEach((function(t){if(void 0===window.CookieConsent.config.services[t])return e()})),!window.CookieConsent.config.noUI)for(var i in n.categories)window.CookieConsent.config.categories[i].checked=window.CookieConsent.config.categories[i].wanted=!0===n.categories[i].wanted;return window.CookieConsent.config.cookieExists=!0,!0}})),!1}},{key:"isObject",value:function(e){return e&&"object"===Ae(e)&&!Array.isArray(e)}},{key:"mergeDeep",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];if(!n.length)return e;var i=n.shift();if(this.isObject(e)&&this.isObject(i))for(var r in i)this.isObject(i[r])?(e[r]||Object.assign(e,xe({},r,{})),this.mergeDeep(e[r],i[r])):Object.assign(e,xe({},r,i[r]));return this.mergeDeep.apply(this,[e].concat(n))}}],o&&je(n.prototype,o),i&&je(n,i),Object.defineProperty(n,"prototype",{writable:!1}),e}();function Se(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}var Te=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var n,o,i;return n=e,(o=[{key:"init",value:function(){this.removeUnwantedCookies()}},{key:"removeUnwantedCookies",value:function(){var e=[],n=window.CookieConsent.config;for(var o in document.cookie.split(";").map((function(t){e.push(t.split("=")[0].replace(/(^\s*)|(\s*&)/,""))})),n.services)if("Array"===t.objectType(n.services[o].cookies)&&!n.categories[n.services[o].category].wanted)for(var i in n.services[o].cookies){var r=t.objectType(n.services[o].cookies[i].name);if("String"===r)e.indexOf(n.services[o].cookies[i].name)>-1&&this.removeCookie(n.services[o].cookies[i]);else if("RegExp"===r){var c=n.services[o].cookies[i];for(var a in e)e[a].match(c.name)&&this.removeCookie({name:e[a],domain:"String"===t.objectType(c.domain)?c.domain:null})}}}},{key:"removeCookie",value:function(e){var n="String"===t.objectType(e.domain)?"domain=".concat(e.domain,";"):"";document.cookie="".concat(e.name,"=; expires=Thu, 01 Jan 1980 00:00:00 UTC; ").concat(n," path=/;")}}])&&Se(n.prototype,o),i&&Se(n,i),Object.defineProperty(n,"prototype",{writable:!1}),e}();function Ee(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}var Be=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,o;return t=e,(n=[{key:"init",value:function(e){new Oe(e);var t=new Te,n=new u,o=new v,i=new E,r=new q;t.init(),n.init(),o.init(),i.init(),r.init();var c=new Ce;c.buildInterface((function(){c.addEventListeners()}))}}])&&Ee(t.prototype,n),o&&Ee(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}());window.CookieConsent=window.CookieConsent||{},window.CookieConsent.init=Be.init})();
window.CookieConsent.init({
    language: {
        current: 'el',
        locale: {
            el: {
                barMainText: 'Αυτή η ιστοσελίδα χρησιμοποιεί Cookies για να εξασφαλίσει την καλύτερη δυνατή εμπειρία στους χρήστες.',
                closeAriaLabel: 'κλείσιμο',
                barLinkSetting: 'Ρυθμίσεις Cookies',
                barBtnAcceptAll: 'Αποδοχή όλων',
                modalMainTitle: 'Ρυθμίσεις Cookies',
                modalMainText: 'Τα cookies είναι πολύ μικρά αρχεία κειμένου που αποθηκεύονται στον υπολογιστή σας όταν επισκέπτεστε μια ιστοσελίδα. Χρησιμοποιούμε cookies για διάφορους λόγους και για να βελτιώσουμε την διαδικτυακή σας εμπειρία στην ιστοσελίδα μας (π.χ., για υπενθύμιση των στοιχείων πρόσβασής σας στην ιστοσελίδα). Μπορείτε να αλλάξετε τις προτιμήσεις σας και να μην επιτρέψετε σε κάποιους τύπους cookies να αποθηκευτούν στον υπολογιστή σας όσο περιηγείστε στην ιστοσελίδα μας.Μπορείτε επίσης να διαγράψετε οποιαδήποτε cookies είναι ήδη αποθηκευμένα στον υπολογιστή σας, αλλά να έχετε υπόψιν ότι διαγράφοντας cookies μπορεί να σας αποτρέψει από το να χρησιμοποιήσετε μέρη της ιστοσελίδας μας.',
                modalBtnSave: 'Αποθήκευση τρέχων ρυθμίσεων',
                modalBtnAcceptAll: 'Αποδοχή όλων και κλείσιμο',
                modalAffectedSolutions: 'Affected solutions:',
                learnMore: 'Μάθετε Περισσότερα',
                on: 'Ναι',
                off: 'Όχι',
                enabled: 'ενεργοποιημένο.',
                disabled: 'απενεργοποιημένο.',
                checked: 'ναι',
                unchecked: 'όχι',
            }
        }
    },    
    categories: {
        necessary: {
            needed: true,
            wanted: true,
            checked: true,
            language: {
                locale: {
                    el: {
                        name: 'Άκρως απαραίτητα Cookies',
                        description: 'Τα απαραίτητα cookies βοηθούν στο να γίνει χρηστική μία ιστοσελίδα, επιτρέποντας βασικές λειτουργίες όπως την πλοήγηση και την πρόσβαση σε ασφαλείς περιοχές της ιστοσελίδας.',
                    },
                    //hu: {
                    //    name: 'Szükséges sütik',
                    //    description: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur eu commodo est, nec gravida odio. Suspendisse scelerisque a ex nec semper.',
                    //}
                }
            }
        },
        various: {
            needed: false,
            wanted: false,
            checked: false,
            language: {
                locale: {
                    el: {
                        name: 'Cookies Λειτουργικότητας',
                        description: 'Αυτά τα cookies χρησιμοποιούνται για να σας παρέχουν μία πιο προσωποποιημένη εμπειρία στην ιστοσελίδα μας και για να θυμούνται επιλογές που κάνετε όταν χρησιμοποιείτε την ιστοσελίδα μας.',
                    },
                    //hu: {
                    //    name: 'Egyéb sütik',
                    //    description: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur eu commodo est, nec gravida odio. Suspendisse scelerisque a ex nec semper.',
                    //}
                }
            }
        }
    },
    //services: {
    //    facebook: {
    //        category: 'various',
    //        type: 'dynamic-script', // dynamic-script, script-tag, wrapped, localcookie
    //        search: 'facebook',
    //        language: {
    //            locale: {
    //                en: {
    //                    name: 'Facebook'
    //                },
    //                hu: {
    //                    name: 'Facebook'
    //                }
    //            }
    //        }
    //    },
    //    azalead: {
    //        category: 'various',
    //        type: 'script-tag',
    //        search: 'azalead',
    //        language: {
    //            locale: {
    //                en: {
    //                    name: 'Azalead'
    //                },
    //                hu: {
    //                    name: 'Azalead'
    //                }
    //            }
    //        }
    //    },
    //    wrapped: {
    //        category: 'various',
    //        type: 'wrapped',
    //        search: 'wrapped',
    //        language: {
    //            locale: {
    //                en: {
    //                    name: 'Wrapped'
    //                },
    //                hu: {
    //                    name: 'Csomagolt süti'
    //                }
    //            }
    //        }
    //    },
    //    localcookie: {
    //        category: 'various',
    //        type: 'localcookie',
    //        search: 'localcookie',
    //        language: {
    //            locale: {
    //                en: {
    //                    name: 'Local cookie'
    //                },
    //                hu: {
    //                    name: 'Helyi süti'
    //                }
    //            }
    //        }
    //    }
    //}
});
