New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

68publishers-cookie-consent

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

68publishers-cookie-consent - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

src/EventBus/EventBus.js

2

dist/cookie-consent.min.js

@@ -1,1 +0,1 @@

var CookieConsentWrapper;(()=>{var e={10:(e,t,n)=>{"use strict";const o=n(336);e.exports=(new o).create()},868:e=>{"use strict";function t(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 n=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:"merge",value:function(e){var t;for(t in e)e.hasOwnProperty(t)&&this.hasOwnProperty(t)&&(this[t]=e[t])}}])&&t(n.prototype,o),i&&t(n,i),Object.defineProperty(n,"prototype",{writable:!1}),e}();e.exports=n},2:(e,t,n)=>{"use strict";function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(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 s=n(406),c=n(76),l=n(990),u=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.pluginOptions=new s,this.consentModalOptions=new c,this.settingsModalOptions=new c,this.uiOptions=new l,this.consentModalOptions.merge({layout:"box",position:"bottom center"}),this.settingsModalOptions.merge({layout:"box"})}var t,n,o;return t=e,(n=[{key:"buildCookieConsentConfig",value:function(){return i(i({},this.pluginOptions),{},{gui_options:{consent_modal:i({},this.consentModalOptions),settings_modal:i({},this.settingsModalOptions)}})}}])&&a(t.prototype,n),o&&a(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}();e.exports=u},76:(e,t,n)=>{"use strict";function o(e){return o="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},o(e)}function i(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 r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(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=c(e);if(t){var i=c(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"===o(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 c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}var l=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");Object.defineProperty(e,"prototype",{value:Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),writable:!1}),t&&r(e,t)}(c,e);var t,n,o,s=a(c);function c(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(e=s.call(this)).layout=void 0,e.position=void 0,e.transition="zoom",e}return t=c,n&&i(t.prototype,n),o&&i(t,o),Object.defineProperty(t,"prototype",{writable:!1}),t}(n(868));e.exports=l},406:(e,t,n)=>{"use strict";function o(e){return o="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},o(e)}function i(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 r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(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=c(e);if(t){var i=c(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"===o(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 c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}var l=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");Object.defineProperty(e,"prototype",{value:Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),writable:!1}),t&&r(e,t)}(c,e);var t,n,o,s=a(c);function c(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(e=s.call(this)).autorun=!0,e.delay=0,e.cookie_name="cc-settings",e.cookie_expiration=182,e.cookie_path="/",e.cookie_domain=window.location.hostname,e.cookie_same_site="Lax",e.use_rfc_cookie=!1,e.force_consent=!1,e.revision=0,e.current_lang="en",e.auto_language="document",e.autoclear_cookies=!1,e.page_scripts=!1,e.script_selector="data-cookiecategory",e.remove_cookie_tables=!1,e.hide_from_bots=!1,e}return t=c,n&&i(t.prototype,n),o&&i(t,o),Object.defineProperty(t,"prototype",{writable:!1}),t}(n(868));e.exports=l},990:(e,t,n)=>{"use strict";function o(e){return o="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},o(e)}function i(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 r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(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=c(e);if(t){var i=c(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"===o(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 c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}var l=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");Object.defineProperty(e,"prototype",{value:Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),writable:!1}),t&&r(e,t)}(c,e);var t,n,o,s=a(c);function c(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(e=s.call(this)).include_default_stylesheets=!0,e.external_stylesheets=[],e.internal_stylesheets=[],e.modal_trigger_selector=null,e}return t=c,(n=[{key:"defaultStylesheets",get:function(){return!0===this.include_default_stylesheets?["https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@v2.7.1/dist/cookieconsent.css"]:[]}}])&&i(t.prototype,n),o&&i(t,o),Object.defineProperty(t,"prototype",{writable:!1}),c}(n(868));e.exports=l},857:e=>{"use strict";function t(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 n=function(){function e(t,n,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._cookieConsent=t,this._storagePool=n,this._gtag=o}var n,o,i;return n=e,(o=[{key:"onAccept",value:function(){this._updateConsent()}},{key:"onChange",value:function(){this._updateConsent()}},{key:"_updateConsent",value:function(){var e=this._storagePool.all(),t={},n=[];for(var o in e)if(e.hasOwnProperty(o)){var i=e[o],r=null!==i.syncConsentWith?i.syncConsentWith:i.name,a=this._cookieConsent.allowedCategory(r)?"granted":"denied";t[i.name]=a,"granted"!==a||null===i.eventTrigger||i.eventTrigger.invoked||n.push(i.eventTrigger)}this._gtag("consent","update",t);var s=[];for(var c in n)if(n.hasOwnProperty(c)){var l=n[c];-1===s.indexOf(l.name)&&(this._gtag("event",l.name,{}),s.push(l.name)),l.invoked=!0}}}])&&t(n.prototype,o),i&&t(n,i),Object.defineProperty(n,"prototype",{writable:!1}),e}();e.exports=n},229:(e,t,n)=>{"use strict";function o(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)}}n(686);var i=n(2),r=n(903),a=n(914),s=n(857),c=n(619),l=n(683),u=n(217),d=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._initialized=!1,this._gtag=t,this._config=new i,this._storagePool=new a,this._dictionary=new c,this._cookieConsent=null}var t,d,p;return t=e,(d=[{key:"setPluginOptions",value:function(e){this._config.pluginOptions.merge(e||{})}},{key:"setConsentModalOptions",value:function(e){this._config.consentModalOptions.merge(e||{})}},{key:"setSettingsModalOptions",value:function(e){this._config.settingsModalOptions.merge(e||{})}},{key:"setUiOptions",value:function(e){this._config.uiOptions.merge(e||{})}},{key:"addStorage",value:function(e){this._storagePool.add(new r(e||{}))}},{key:"addTranslations",value:function(e,t){this._dictionary.addTranslations(e,t||{})}},{key:"loadTranslations",value:function(e){var t;try{t=n(598)("./".concat(e))}catch(e){t={}}this.addTranslations(e,t)}},{key:"unwrap",value:function(){if(null===this._cookieConsent)throw new Error("Cookie consent is not created, please call method CookieConsentWrapper.init().");return this._cookieConsent}},{key:"allowedCategory",value:function(e){this.unwrap().allowedCategory(e)}},{key:"init",value:function(e,t){if(!this._initialized){var n=this;if(e.CookieConsentWrapper=n,t){var o=function(){l.loadFromConfig(t,n._config.uiOptions)};"loading"!==t.readyState?o():t.addEventListener("DOMContentLoaded",o)}e.addEventListener("load",(function(){n._cookieConsent=initCookieConsent();var e,o=new s(n._cookieConsent,n._storagePool,n._gtag),i=n._config.buildCookieConsentConfig();i.onAccept=function(){return o.onAccept()},i.onChange=function(){return o.onChange()},i.languages=n._dictionary.build(n._storagePool),t&&"string"==typeof n._config.uiOptions.modal_trigger_selector&&(e=new u(t,n._dictionary).create(n._config.uiOptions.modal_trigger_selector,n._config.pluginOptions.current_lang||t.documentElement.lang)),n._cookieConsent.run(i),e&&e.textElement&&(e.textElement.innerHTML=n._dictionary.translate(n._cookieConsent.getConfig("current_lang"),"modal_trigger_title"))})),this._initialized=!0}}}])&&o(t.prototype,d),p&&o(t,p),Object.defineProperty(t,"prototype",{writable:!1}),e}();e.exports=d},336:(e,t,n)=>{"use strict";function o(e){return o="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},o(e)}function i(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 r=n(229),a=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,a;return t=e,n=[{key:"create",value:function(){if(void 0===window)throw new Error("the window is not accessible.");var e=new r(this._createGtagFunction());return this._setupPluginOptions(e),this._setupConsentModalOptions(e),this._setupSettingsModalOptions(e),this._setupUiOptions(e),this._setupStoragePool(e),this._setupLocales(e),this._setupTranslations(e),e.init(window,document),e}},{key:"_createGtagFunction",value:function(){var e=window.gtag;return e||(window.dataLayer=window.dataLayer||[],e=function(){dataLayer.push(arguments)}),e}},{key:"_setupPluginOptions",value:function(e){window.cc_plugin_options&&"object"===o(window.cc_plugin_options)&&e.setPluginOptions(window.cc_plugin_options)}},{key:"_setupConsentModalOptions",value:function(e){window.cc_consent_modal_options&&"object"===o(window.cc_consent_modal_options)&&e.setConsentModalOptions(window.cc_consent_modal_options)}},{key:"_setupSettingsModalOptions",value:function(e){window.cc_settings_modal_options&&"object"===o(window.cc_settings_modal_options)&&e.setSettingsModalOptions(window.cc_settings_modal_options)}},{key:"_setupUiOptions",value:function(e){window.cc_ui_options&&"object"===o(window.cc_ui_options)&&e.setUiOptions(window.cc_ui_options)}},{key:"_setupStoragePool",value:function(e){if(window.cc_storage_pool&&Array.isArray(window.cc_storage_pool)){var t=window.cc_storage_pool;for(var n in t)t.hasOwnProperty(n)&&e.addStorage(t[n]||{})}}},{key:"_setupLocales",value:function(e){if(window.cc_locales&&Array.isArray(window.cc_locales)){var t,n=window.cc_locales;for(t in n)n.hasOwnProperty(t)&&e.loadTranslations(n[t])}}},{key:"_setupTranslations",value:function(e){if(window.cc_translations&&"object"===o(window.cc_translations)){var t,n=window.cc_translations;for(t in n)n.hasOwnProperty(t)&&e.addTranslations(t,n[t]||{})}}}],n&&i(t.prototype,n),a&&i(t,a),Object.defineProperty(t,"prototype",{writable:!1}),e}();e.exports=a},745:e=>{"use strict";function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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(n){var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t(this,e),this._name=n,this.invoked=o}var o,i,r;return o=e,(i=[{key:"name",get:function(){return this._name}}])&&n(o.prototype,i),r&&n(o,r),Object.defineProperty(o,"prototype",{writable:!1}),e}();e.exports=o},903:(e,t,n)=>{"use strict";function o(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 i=n(196),r=n(745),a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._config=new i(t),this._eventTrigger="string"==typeof this._config.event_trigger?new r(this._config.event_trigger,this._config.event_trigger_invoked):null}var t,n,a;return t=e,(n=[{key:"name",get:function(){return this._config.name}},{key:"enabledByDefault",get:function(){return this._config.enabled_by_default}},{key:"displayInWidget",get:function(){return this._config.display_in_widget}},{key:"readonly",get:function(){return this._config.readonly}},{key:"syncConsentWith",get:function(){return this._config.sync_consent_with}},{key:"eventTrigger",get:function(){return this._eventTrigger}}])&&o(t.prototype,n),a&&o(t,a),Object.defineProperty(t,"prototype",{writable:!1}),e}();e.exports=a},196:e=>{"use strict";function t(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 n(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e}var o=n((function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),!t.hasOwnProperty("name")||""===t.name)throw new Error('Missing required property "name".');this.name=t.name,this.enabled_by_default=t.enabled_by_default||!1,this.display_in_widget=t.display_in_widget||!1,this.readonly=t.readonly||!1,this.sync_consent_with=t.sync_consent_with||null,this.event_trigger=t.event_trigger||null,this.event_trigger_invoked=t.event_trigger_invoked||!1}));e.exports=o},914:e=>{"use strict";function t(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 n=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._items=[]}var n,o,i;return n=e,(o=[{key:"add",value:function(e){this._items[e.name]=e}},{key:"has",value:function(e){return this._items.hasOwnProperty(e)}},{key:"get",value:function(e){if(!this.has(e))throw new Error('Missing storage "'.concat(e,'".'));return this._items[e]}},{key:"all",value:function(){return this._items}}])&&t(n.prototype,o),i&&t(n,i),Object.defineProperty(n,"prototype",{writable:!1}),e}();e.exports=n},106:e=>{"use strict";function t(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 n=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._locale=t,this.modal_trigger_title="",this.consent_modal_title="",this.consent_modal_description="",this.consent_modal_revision_message="",this.consent_modal_primary_btn="",this.consent_modal_secondary_btn="",this.settings_modal_title="",this.settings_modal_save_settings_btn="",this.settings_modal_accept_all_btn="",this.settings_modal_reject_all_btn="",this.settings_modal_close_btn_label="",this.settings_modal_before_consent_title="",this.settings_modal_before_consent_description="",this.settings_modal_after_consent_title="",this.settings_modal_after_consent_description="",this.functionality_storage_title="",this.functionality_storage_description="",this.personalization_storage_title="",this.personalization_storage_description="",this.security_storage_title="",this.security_storage_description="",this.ad_storage_title="",this.ad_storage_description="",this.analytics_storage_title="",this.analytics_storage_description=""}var n,o,i;return n=e,(o=[{key:"locale",get:function(){return this._locale}},{key:"translate",value:function(e){return this.hasOwnProperty(e)?this[e]:e}},{key:"merge",value:function(e){var t;for(t in e)e.hasOwnProperty(t)&&this.hasOwnProperty(t)&&(this[t]=e[t])}},{key:"build",value:function(e){var t=[];""===this.settings_modal_before_consent_title&&""===this.settings_modal_before_consent_description||t.push({title:this.settings_modal_before_consent_title,description:this.settings_modal_before_consent_description});var n,o,i=e.all();for(o in i)i.hasOwnProperty(o)&&(n=i[o]).displayInWidget&&this.hasOwnProperty(n.name+"_title")&&t.push({title:this[n.name+"_title"],description:this[n.name+"_description"],toggle:{value:n.name,enabled:n.enabledByDefault,readonly:n.readonly}});return""===this.settings_modal_after_consent_title&&""===this.settings_modal_after_consent_description||t.push({title:this.settings_modal_after_consent_title,description:this.settings_modal_after_consent_description}),{consent_modal:{title:this.consent_modal_title,description:this.consent_modal_description.replace("[[revision_message]]","{{revision_message}}"),revision_message:this.consent_modal_revision_message,primary_btn:{text:this.consent_modal_primary_btn,role:"accept_all"},secondary_btn:{text:this.consent_modal_secondary_btn,role:"settings"}},settings_modal:{title:this.settings_modal_title,save_settings_btn:this.settings_modal_save_settings_btn,accept_all_btn:this.settings_modal_accept_all_btn,reject_all_btn:this.settings_modal_reject_all_btn,close_btn_label:this.settings_modal_close_btn_label,blocks:t}}}}])&&t(n.prototype,o),i&&t(n,i),Object.defineProperty(n,"prototype",{writable:!1}),e}();e.exports=n},619:(e,t,n)=>{"use strict";function o(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 i=n(106),r=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._catalogues={}}var t,n,r;return t=e,n=[{key:"addTranslations",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._catalogues.hasOwnProperty(e)?t=this._catalogues[e]:(t=new i(e),this._catalogues[e]=t),t.merge(n)}},{key:"translate",value:function(e,t){return this._catalogues.hasOwnProperty(e)?this._catalogues[e].translate(t):t}},{key:"build",value:function(e){var t,n,o={};for(t in this._catalogues)this._catalogues.hasOwnProperty(t)&&(o[(n=this._catalogues[t]).locale]=n.build(e));return o}}],n&&o(t.prototype,n),r&&o(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();e.exports=r},217:e=>{"use strict";function t(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 n=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._document=t,this._dictionary=n}var n,o,i;return n=e,(o=[{key:"create",value:function(e,t){var n=this._document.querySelectorAll(e),o=n.length?n[n.length-1]:void 0;if(!o)return console.log("HTML element with selector ".concat(e," not found.")),{itemElement:void 0,linkElement:void 0};var i,r=o.cloneNode(!0);if(!(i="A"===r.nodeName?r:r.getElementsByTagName("a")[0]||void 0)){i=this._document.createElement("a");var a=r.querySelectorAll("*"),s=a.length?a[a.length-1]:r;s.innerHTML="",s.appendChild(i)}var c=i.querySelectorAll("*"),l=c.length?c[c.length-1]:i;return l.innerHTML=this._dictionary.translate(t,"modal_trigger_title"),i.setAttribute("data-cc","c-settings"),i.setAttribute("href","#cookie-settings"),o.parentNode.appendChild(r),{itemElement:r,textElement:l}}}])&&t(n.prototype,o),i&&t(n,i),Object.defineProperty(n,"prototype",{writable:!1}),e}();e.exports=n},683:e=>{"use strict";function t(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return n(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);"Object"===o&&e.constructor&&(o=e.constructor.name);if("Map"===o||"Set"===o)return Array.from(e);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return n(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(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 o(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 i=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._document=t}var n,i,r;return n=e,r=[{key:"loadFromConfig",value:function(n,o){var i,r=new e(n),a=o.internal_stylesheets,s=o.defaultStylesheets;for(i in s=[].concat(t(s),t(o.external_stylesheets)))s.hasOwnProperty(i)&&r.loadExternal(s[i]);for(i in a)a.hasOwnProperty(i)&&r.loadInternal(a[i])}}],(i=[{key:"loadExternal",value:function(e){var t=this._document.createElement("link");t.rel="stylesheet",t.href=e,this._appendStylesheet(t)}},{key:"loadInternal",value:function(e){var t=this._document.createElement("style");t.innerText=e.replace(/\s/g,""),this._appendStylesheet(t)}},{key:"_appendStylesheet",value:function(e){this._document.getElementsByTagName("head")[0].appendChild(e)}}])&&o(n.prototype,i),r&&o(n,r),Object.defineProperty(n,"prototype",{writable:!1}),e}();e.exports=i},686:()=>{"function"!=typeof window.initCookieConsent&&(window.initCookieConsent=function(e){var t,n,o,i,r,a,s,c,l,u,d,p,f,_,g,h,y={current_lang:"en",auto_language:null,autorun:!0,cookie_name:"cc_cookie",cookie_expiration:182,cookie_domain:window.location.hostname,cookie_path:"/",cookie_same_site:"Lax",use_rfc_cookie:!1,autoclear_cookies:!0,revision:0,script_selector:"data-cookiecategory"},b={},m={},v=!1,w=!1,k=!1,O=!1,C=!1,j=!0,P=!1,S=null,x=[],A=[],T=!1,E=[],N=[],M=[],L=[],z=[],R=document.documentElement,D=function(e,t){return Object.prototype.hasOwnProperty.call(t,e)?e:0<$(t).length?Object.prototype.hasOwnProperty.call(t,y.current_lang)?y.current_lang:$(t)[0]:void 0},H=function(){function e(e,n){var o=!1,i=!1;try{for(var r,a=e.querySelectorAll(t.join(':not([tabindex="-1"]), ')),s=a.length,c=0;c<s;)r=a[c].getAttribute("data-focus"),i||"1"!==r?"0"===r&&(o=a[c],i||"0"===a[c+1].getAttribute("data-focus")||(i=a[c+1])):i=a[c],c++}catch(n){return e.querySelectorAll(t.join(", "))}n[0]=a[0],n[1]=a[a.length-1],n[2]=o,n[3]=i}var t=["[href]","button","input","details",'[tabindex="0"]'];e(f,N),v&&e(d,E)},I="",B=function(e,t){for(var n=e.length,o=0;o<n;o++)if(e[o]===t)return o;return-1},q=function(e){var t=document.createElement(e);return"button"===e&&t.setAttribute("type",e),t},F=function(e,t){function n(e,t,n,o,i,r,a){if(r=r&&r.split(" ")||[],-1<B(t,i)&&(K(e,i),("bar"!==i||"middle"!==r[0])&&-1<B(n,r[0])))for(t=0;t<r.length;t++)K(e,r[t]);-1<B(o,a)&&K(e,a)}if("object"==typeof e){var o=e.consent_modal;e=e.settings_modal,v&&o&&n(d,["box","bar","cloud"],["top","middle","bottom"],["zoom","slide"],o.layout,o.position,o.transition),!t&&e&&n(p,["bar"],["left","right"],["zoom","slide"],e.layout,e.position,e.transition)}};b.allowedCategory=function(e){return-1<B(JSON.parse(W(y.cookie_name,"one",!0)||"{}").level||[],e)},b.run=function(s){if(!document.getElementById("cc_div")&&(function(e){"number"==typeof e.cookie_expiration&&(y.cookie_expiration=e.cookie_expiration),"number"==typeof e.cookie_necessary_only_expiration&&(y.cookie_necessary_only_expiration=e.cookie_necessary_only_expiration),"boolean"==typeof e.autorun&&(y.autorun=e.autorun),"string"==typeof e.cookie_domain&&(y.cookie_domain=e.cookie_domain),"string"==typeof e.cookie_same_site&&(y.cookie_same_site=e.cookie_same_site),"string"==typeof e.cookie_path&&(y.cookie_path=e.cookie_path),"string"==typeof e.cookie_name&&(y.cookie_name=e.cookie_name),"function"==typeof e.onAccept&&(i=e.onAccept),"function"==typeof e.onFirstAction&&(a=e.onFirstAction),"function"==typeof e.onChange&&(r=e.onChange),"number"==typeof e.revision&&(-1<e.revision&&(y.revision=e.revision),P=!0),!0===e.autoclear_cookies&&(y.autoclear_cookies=!0),!0===e.use_rfc_cookie&&(y.use_rfc_cookie=!0),!0===e.hide_from_bots&&(T=navigator&&(navigator.userAgent&&/bot|crawl|spider|slurp|teoma/i.test(navigator.userAgent)||navigator.webdriver)),y.page_scripts=!0===e.page_scripts,y.page_scripts_order=!1!==e.page_scripts_order,"browser"===e.auto_language||!0===e.auto_language?y.auto_language="browser":"document"===e.auto_language&&(y.auto_language="document");var t=e.languages;e=e.current_lang,"browser"===y.auto_language?(2<(e=navigator.language||navigator.browserLanguage).length&&(e=e[0]+e[1]),e=e.toLowerCase(),t=D(e,t)):t="document"===y.auto_language?D(document.documentElement.lang,t):"string"==typeof e?y.current_lang=D(e,t):y.current_lang,y.current_lang=t}(s),!T&&(m=JSON.parse(W(y.cookie_name,"one",!0)||"{}"),w=void 0!==m.level,S=void 0!==m.data?m.data:null,j=!("number"==typeof s.revision&&w&&-1<s.revision&&m.revision!==y.revision),function(t,i){(u=q("div")).id="cc--main",u.style.position="fixed",u.style.zIndex="1000000",u.innerHTML='\x3c!--[if lt IE 9 ]><div id="cc_div" class="cc_div ie"></div><![endif]--\x3e\x3c!--[if (gt IE 8)|!(IE)]>\x3c!--\x3e<div id="cc_div" class="cc_div"></div>\x3c!--<![endif]--\x3e';var r=u.children[0],a=y.current_lang,s="string"==typeof R.textContent?"textContent":"innerText";_=i,g=function(e){!0===e.force_consent&&K(R,"force--consent");var t=e.languages[a].consent_modal.description;if(P&&(t=j?t.replace("{{revision_message}}",""):t.replace("{{revision_message}}",I||e.languages[a].consent_modal.revision_message||"")),d)h.innerHTML=t;else{d=q("div");var n=q("div"),o=q("div");h=q("div");var i=q("div"),c=q("div");d.id="cm",n.id="c-inr",o.id="c-inr-i",h.id="c-txt",i.id="c-bns",c.id="cm-ov",d.setAttribute("role","dialog"),d.setAttribute("aria-modal","true"),d.setAttribute("aria-hidden","false"),d.setAttribute("aria-labelledby","c-ttl"),d.setAttribute("aria-describedby","c-txt"),d.style.visibility=c.style.visibility="hidden",c.style.opacity=0;var l=e.languages[a].consent_modal.title;if(l){var u=q("div");u.id="c-ttl",u.setAttribute("role","heading"),u.setAttribute("aria-level","2"),u.insertAdjacentHTML("beforeend",l),o.appendChild(u)}if(h.insertAdjacentHTML("beforeend",t),o.appendChild(h),t=e.languages[a].consent_modal.primary_btn,l=e.languages[a].consent_modal.secondary_btn,t){var p,f=q("button");f.id="c-p-bn",f.className="c-bn",f[s]=e.languages[a].consent_modal.primary_btn.text,"accept_all"===t.role&&(p="all"),V(f,"click",(function(){b.hide(),b.accept(p)}))}if(l){var _=q("button");_.id="c-s-bn",_.className="c-bn c_link",_[s]=e.languages[a].consent_modal.secondary_btn.text,"accept_necessary"===l.role?V(_,"click",(function(){b.hide(),b.accept([])})):V(_,"click",(function(){b.showSettings(0)}))}(e=e.gui_options)&&e.consent_modal&&!0===e.consent_modal.swap_buttons?(l&&i.appendChild(_),t&&i.appendChild(f),i.className="swap"):(t&&i.appendChild(f),l&&i.appendChild(_)),n.appendChild(o),(t||l)&&n.appendChild(i),d.appendChild(n),r.appendChild(d),r.appendChild(c),v=!0}},t||g(i),p=q("div");var c=q("div"),l=q("div"),w=q("div");f=q("div");var k=q("div"),O=q("div"),C=q("button"),S=q("div"),x=q("div"),A=q("div");p.id="s-cnt",c.id="c-vln",w.id="c-s-in",l.id="cs",k.id="s-ttl",f.id="s-inr",O.id="s-hdr",x.id="s-bl",C.id="s-c-bn",A.id="cs-ov",S.id="s-c-bnc",C.className="c-bn",C.setAttribute("aria-label",i.languages[a].settings_modal.close_btn_label||"Close"),p.setAttribute("role","dialog"),p.setAttribute("aria-modal","true"),p.setAttribute("aria-hidden","true"),p.setAttribute("aria-labelledby","s-ttl"),k.setAttribute("role","heading"),p.style.visibility=A.style.visibility="hidden",A.style.opacity=0,S.appendChild(C),V(c,"keydown",(function(e){27===(e=e||window.event).keyCode&&b.hideSettings(0)}),!0),V(C,"click",(function(){b.hideSettings(0)})),o=i.languages[y.current_lang].settings_modal.blocks,n=i.languages[y.current_lang].settings_modal.cookie_table_headers,C=o.length,k.insertAdjacentHTML("beforeend",i.languages[y.current_lang].settings_modal.title);for(var T=0;T<C;++T){var E=o[T].title,N=o[T].description,D=o[T].toggle,H=o[T].cookie_table,F=!0===i.remove_cookie_tables,U=(N||!F&&H)&&"truthy",J=q("div"),W=q("div");if(N){var G=q("div");G.className="p",G.insertAdjacentHTML("beforeend",N)}var Y=q("div");if(Y.className="title",J.className="c-bl",W.className="desc",void 0!==D){var Q="c-ac-"+T,ee=q(U?"button":"div"),te=q("label"),ne=q("input"),oe=q("span"),ie=q("span"),re=q("span"),ae=q("span");ee.className=U?"b-tl exp":"b-tl",te.className="b-tg",ne.className="c-tgl",re.className="on-i",ae.className="off-i",oe.className="c-tg",ie.className="t-lb",U&&(ee.setAttribute("aria-expanded","false"),ee.setAttribute("aria-controls",Q)),ne.type="checkbox",oe.setAttribute("aria-hidden","true");var se=D.value;ne.value=se,ie[s]=E,ee.insertAdjacentHTML("beforeend",E),Y.appendChild(ee),oe.appendChild(re),oe.appendChild(ae),t?-1<B(m.level,se)?(ne.checked=!0,M.push(!0)):M.push(!1):D.enabled?(ne.checked=!0,M.push(!0)):M.push(!1),L.push(se),D.readonly?(ne.disabled=!0,K(oe,"c-ro"),z.push(!0)):z.push(!1),K(W,"b-acc"),K(Y,"b-bn"),K(J,"b-ex"),W.id=Q,W.setAttribute("aria-hidden","true"),te.appendChild(ne),te.appendChild(oe),te.appendChild(ie),Y.appendChild(te),U&&function(e,t,n){V(ee,"click",(function(){X(t,"act")?(Z(t,"act"),n.setAttribute("aria-expanded","false"),e.setAttribute("aria-hidden","true")):(K(t,"act"),n.setAttribute("aria-expanded","true"),e.setAttribute("aria-hidden","false"))}),!1)}(W,J,ee)}else E&&((U=q("div")).className="b-tl",U.setAttribute("role","heading"),U.setAttribute("aria-level","3"),U.insertAdjacentHTML("beforeend",E),Y.appendChild(U));if(E&&J.appendChild(Y),N&&W.appendChild(G),!F&&void 0!==H){for(U=document.createDocumentFragment(),Q=0;Q<n.length;++Q)te=q("th"),F=n[Q],te.setAttribute("scope","col"),F&&(Y=F&&$(F)[0],te[s]=n[Q][Y],U.appendChild(te));for((F=q("tr")).appendChild(U),(Y=q("thead")).appendChild(F),(U=q("table")).appendChild(Y),Q=document.createDocumentFragment(),te=0;te<H.length;te++){for(ne=q("tr"),oe=0;oe<n.length;++oe)(F=n[oe])&&(Y=$(F)[0],(ie=q("td")).insertAdjacentHTML("beforeend",H[te][Y]),ie.setAttribute("data-column",F[Y]),ne.appendChild(ie));Q.appendChild(ne)}(H=q("tbody")).appendChild(Q),U.appendChild(H),W.appendChild(U)}(D&&E||!D&&(E||N))&&(J.appendChild(W),x.appendChild(J))}t=q("div"),G=q("button"),C=q("button"),t.id="s-bns",G.id="s-sv-bn",C.id="s-all-bn",G.className="c-bn",C.className="c-bn",G.insertAdjacentHTML("beforeend",i.languages[y.current_lang].settings_modal.save_settings_btn),C.insertAdjacentHTML("beforeend",i.languages[y.current_lang].settings_modal.accept_all_btn),t.appendChild(C),(i=i.languages[y.current_lang].settings_modal.reject_all_btn)&&((T=q("button")).id="s-rall-bn",T.className="c-bn",T.insertAdjacentHTML("beforeend",i),V(T,"click",(function(){b.hideSettings(),b.hide(),b.accept([])})),f.className="bns-t",t.appendChild(T)),t.appendChild(G),V(G,"click",(function(){b.hideSettings(),b.hide(),b.accept()})),V(C,"click",(function(){b.hideSettings(),b.hide(),b.accept("all")})),O.appendChild(k),O.appendChild(S),f.appendChild(O),f.appendChild(x),f.appendChild(t),w.appendChild(f),l.appendChild(w),c.appendChild(l),p.appendChild(c),r.appendChild(p),r.appendChild(A),(e||document.body).appendChild(u)}(!(v=!w||!j),s),function(e,t){if("string"!=typeof e||""===e||document.getElementById("cc--style"))t();else{var n=q("style");n.id="cc--style";var o=new XMLHttpRequest;o.onreadystatechange=function(){4===this.readyState&&200===this.status&&(n.setAttribute("type","text/css"),n.styleSheet?n.styleSheet.cssText=this.responseText:n.appendChild(document.createTextNode(this.responseText)),document.getElementsByTagName("head")[0].appendChild(n),t())},o.open("GET",e),o.send()}}(s.theme_css,(function(){H(),F(s.gui_options),function(){for(var e=document.querySelectorAll('a[data-cc="c-settings"], button[data-cc="c-settings"]'),t=0;t<e.length;t++)e[t].setAttribute("aria-haspopup","dialog"),V(e[t],"click",(function(e){b.showSettings(0),e.preventDefault?e.preventDefault():e.returnValue=!1}))}(),y.autorun&&v&&b.show(s.delay||0),setTimeout((function(){K(u,"c--anim")}),30),setTimeout((function(){!function(){var e=!1,n=!1;V(document,"keydown",(function(o){"Tab"===(o=o||window.event).key&&(t&&(o.shiftKey?document.activeElement===t[0]&&(t[1].focus(),o.preventDefault()):document.activeElement===t[1]&&(t[0].focus(),o.preventDefault()),n||C||(n=!0,!e&&o.preventDefault(),o.shiftKey?t[3]?t[2]?t[2].focus():t[0].focus():t[1].focus():t[3]?t[3].focus():t[0].focus())),!n&&(e=!0))})),document.contains&&V(u,"click",(function(e){e=e||window.event,O?f.contains(e.target)?C=!0:(b.hideSettings(0),C=!1):k&&d.contains(e.target)&&(C=!0)}),!0)}()}),100)})),w&&j))){var c="boolean"==typeof m.rfc_cookie;(!c||c&&m.rfc_cookie!==y.use_rfc_cookie)&&(m.rfc_cookie=y.use_rfc_cookie,J(y.cookie_name,JSON.stringify(m))),U(),"function"==typeof s.onAccept&&s.onAccept(m)}},b.showSettings=function(e){setTimeout((function(){K(R,"show--settings"),p.setAttribute("aria-hidden","false"),O=!0,setTimeout((function(){k?l=document.activeElement:c=document.activeElement,0!==N.length&&(N[3]?N[3].focus():N[0].focus(),t=N)}),200)}),0<e?e:0)};var U=function(){if(y.page_scripts){var e=document.querySelectorAll("script["+y.script_selector+"]"),t=y.page_scripts_order,n=m.level||[],o=function(e,i){if(i<e.length){var r=e[i],a=r.getAttribute(y.script_selector);if(-1<B(n,a)){r.type="text/javascript",r.removeAttribute(y.script_selector),a=r.getAttribute("data-src");var s=q("script");if(s.textContent=r.innerHTML,function(e,t){for(var n=t.attributes,o=n.length,i=0;i<o;i++)t=n[i],e.setAttribute(t.nodeName,t.nodeValue)}(s,r),a?s.src=a:a=r.src,a&&(t?s.readyState?s.onreadystatechange=function(){"loaded"!==s.readyState&&"complete"!==s.readyState||(s.onreadystatechange=null,o(e,++i))}:s.onload=function(){s.onload=null,o(e,++i)}:a=!1),r.parentNode.replaceChild(s,r),a)return}o(e,++i)}};o(e,0)}};b.set=function(e,t){switch(e){case"data":e=t.value;var n=!1;if("update"===t.mode)if((t=typeof(S=b.get("data"))==typeof e)&&"object"==typeof S)for(var o in!S&&(S={}),e)S[o]!==e[o]&&(S[o]=e[o],n=!0);else!t&&S||S===e||(S=e,n=!0);else S=e,n=!0;return n&&(m.data=S,J(y.cookie_name,JSON.stringify(m))),n;case"revision":return o=t.value,e=t.prompt_consent,t=t.message,u&&"number"==typeof o&&m.revision!==o?(P=!0,I=t,j=!1,y.revision=o,!0===e?(g(_),F(_.gui_options,!0),H(),b.show()):b.accept(),t=!0):t=!1,t;default:return!1}},b.get=function(e,t){return JSON.parse(W(t||y.cookie_name,"one",!0)||"{}")[e]},b.getConfig=function(e){return y[e]},b.getUserPreferences=function(){x=m.level||[];var e=z.filter((function(e){return!0===e})).length;return A=L.filter((function(e){return-1===B(x,e)})),{accept_type:s=x.length===L.length?"all":0<=A.length&&x.length===e?"necessary":"custom",accepted_categories:x,rejected_categories:A}},b.loadScript=function(e,t,n){var o="function"==typeof t;if(document.querySelector('script[src="'+e+'"]'))o&&t();else{var i=q("script");if(n&&0<n.length)for(var r=0;r<n.length;++r)n[r]&&i.setAttribute(n[r].name,n[r].value);o&&(i.readyState?i.onreadystatechange=function(){"loaded"!==i.readyState&&"complete"!==i.readyState||(i.onreadystatechange=null,t())}:i.onload=t),i.src=e,(document.head?document.head:document.getElementsByTagName("head")[0]).appendChild(i)}},b.updateScripts=function(){U()},b.show=function(e){v&&setTimeout((function(){K(R,"show--consent"),d.setAttribute("aria-hidden","false"),k=!0,setTimeout((function(){c=document.activeElement,t=E}),200)}),0<e?e:0)},b.hide=function(){v&&(Z(R,"show--consent"),d.setAttribute("aria-hidden","true"),k=!1,setTimeout((function(){c.focus(),t=null}),200))},b.hideSettings=function(){Z(R,"show--settings"),O=!1,p.setAttribute("aria-hidden","true"),setTimeout((function(){k?(l&&l.focus(),t=E):(c.focus(),t=null),C=!1}),200)},b.accept=function(e,t){var s=t||[];if(t=[],e=e||void 0)if("object"==typeof e&&"number"==typeof e.length)for(var c=0;c<e.length;c++)-1!==B(L,e[c])&&t.push(e[c]);else"string"==typeof e&&("all"===e?t=L.slice():-1!==B(L,e)&&t.push(e));else t=function(){for(var e=document.querySelectorAll(".c-tgl")||[],t=[],n=0;n<e.length;n++)e[n].checked&&t.push(e[n].value);return t}();if(1<=s.length)for(c=0;c<s.length;c++)t=t.filter((function(e){return e!==s[c]}));for(c=0;c<L.length;c++)!0===z[c]&&-1===B(t,L[c])&&t.push(L[c]);!function(e){var t=document.querySelectorAll(".c-tgl")||[],s=[],c=!1;if(0<t.length){for(var l=0;l<t.length;l++)-1!==B(e,L[l])?(t[l].checked=!0,M[l]||(s.push(L[l]),M[l]=!0)):(t[l].checked=!1,M[l]&&(s.push(L[l]),M[l]=!1));if(y.autoclear_cookies&&w&&0<s.length){t=o.length,l=-1;var u=W("","all"),d=[y.cookie_domain,"."+y.cookie_domain];if("www."===y.cookie_domain.slice(0,4)){var p=y.cookie_domain.substr(4);d.push(p),d.push("."+p)}for(p=0;p<t;p++){var f=o[p];if(Object.prototype.hasOwnProperty.call(f,"toggle")&&!M[++l]&&Object.prototype.hasOwnProperty.call(f,"cookie_table")&&-1<B(s,f.toggle.value)){var _=f.cookie_table,g=$(n[0])[0],h=_.length;"on_disable"===f.toggle.reload&&(c=!0);for(var v=0;v<h;v++){var k=_[v],O=[],C=k[g],P=k.is_regex||!1,x=k.domain||null;if(k=k.path||!1,x&&(d=[x,"."+x]),P)for(P=0;P<u.length;P++)u[P].match(C)&&O.push(u[P]);else-1<(C=B(u,C))&&O.push(u[C]);0<O.length&&(G(O,k,d),"on_clear"===f.toggle.reload&&(c=!0))}}}}}m={level:e,revision:y.revision,data:S,rfc_cookie:y.use_rfc_cookie},(!w||0<s.length||!j)&&(j=!0,J(y.cookie_name,JSON.stringify(m)),U()),w?("function"==typeof r&&0<s.length&&r(m,s),c&&window.location.reload()):("function"==typeof a&&a(b.getUserPreferences(),m),"function"==typeof i&&i(m),w=!0)}(t)},b.eraseCookies=function(e,t,n){var o=[];if(n=n?[n,"."+n]:[y.cookie_domain,"."+y.cookie_domain],"object"==typeof e&&0<e.length)for(var i=0;i<e.length;i++)this.validCookie(e[i])&&o.push(e[i]);else this.validCookie(e)&&o.push(e);G(o,t,n)};var J=function(e,t){var n=y.cookie_expiration;"number"==typeof y.cookie_necessary_only_expiration&&"necessary"===s&&(n=y.cookie_necessary_only_expiration),t=y.use_rfc_cookie?encodeURIComponent(t):t;var o=new Date;o.setTime(o.getTime()+864e5*n),e=e+"="+(t||"")+(n="; expires="+o.toUTCString())+"; Path="+y.cookie_path+";",e+=" SameSite="+y.cookie_same_site+";",-1<window.location.hostname.indexOf(".")&&(e+=" Domain="+y.cookie_domain+";"),"https:"===window.location.protocol&&(e+=" Secure;"),document.cookie=e},W=function(e,t,n){var o;if("one"===t){if((o=(o=document.cookie.match("(^|;)\\s*"+e+"\\s*=\\s*([^;]+)"))?n?o.pop():e:"")&&e===y.cookie_name){try{o=JSON.parse(o)}catch(e){try{o=JSON.parse(decodeURIComponent(o))}catch(e){o={}}}o=JSON.stringify(o)}}else if("all"===t)for(e=document.cookie.split(/;\s*/),o=[],t=0;t<e.length;t++)o.push(e[t].split("=")[0]);return o},G=function(e,t,n){t=t||"/";for(var o=0;o<e.length;o++)for(var i=0;i<n.length;i++)document.cookie=e[o]+"=; path="+t+(-1<n[i].indexOf(".")?"; domain="+n[i]:"")+"; Expires=Thu, 01 Jan 1970 00:00:01 GMT;"};b.validCookie=function(e){return""!==W(e,"one",!0)};var V=function(e,t,n,o){e.addEventListener?!0===o?e.addEventListener(t,n,{passive:!0}):e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)},$=function(e){if("object"==typeof e){var t=[],n=0;for(t[n++]in e);return t}},K=function(e,t){e.classList?e.classList.add(t):X(e,t)||(e.className+=" "+t)},Z=function(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(\\s|^)"+t+"(\\s|$)")," ")},X=function(e,t){return e.classList?e.classList.contains(t):!!e.className.match(new RegExp("(\\s|^)"+t+"(\\s|$)"))};return b})},598:(e,t,n)=>{var o={"./cs":247,"./cs.json":247,"./en":453,"./en.json":453};function i(e){var t=r(e);return n(t)}function r(e){if(!n.o(o,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return o[e]}i.keys=function(){return Object.keys(o)},i.resolve=r,e.exports=i,i.id=598},247:e=>{"use strict";e.exports=JSON.parse('{"modal_trigger_title":"Nastavení cookies","consent_modal_title":"🍪 Používáme cookies!","consent_modal_description":"Na našich webových stránkách používáme soubory cookies. Některé z nich jsou nezbytné, zatímco jiné nám pomáhají vylepšít tento web a váš uživatelský zážitek.","consent_modal_primary_btn":"Souhlasím a pokračovat","consent_modal_secondary_btn":"Přizpůsobit","settings_modal_title":"📢 Nastavení cookies","settings_modal_save_settings_btn":"Uložit nastavení","settings_modal_accept_all_btn":"Souhlasím a pokračovat","settings_modal_reject_all_btn":"Zakázat vše","settings_modal_close_btn_label":"Zavřít","settings_modal_before_consent_title":"Použití cookies 📢","settings_modal_before_consent_description":"Soubory cookie používáme k zajištění základních funkcí webu a ke zlepšení vašeho uživatelského zážitku. Souhlas pro každou kategorii můžete kdykoliv změnit.","settings_modal_after_consent_title":"Vice informací","settings_modal_after_consent_description":"Máte-li jakékoli dotazy týkající se používání souborů cookie a vašich voleb, kontaktujte nás prosím.","functionality_storage_title":"Functionality cookies","functionality_storage_description":"Popis functionality cookies.","personalization_storage_title":"Personalization cookies","personalization_storage_description":"Popis personalization cookies.","security_storage_title":"Security cookies","security_storage_description":"Popis security cookies.","ad_storage_title":"Ad cookies","ad_storage_description":"Popis ad cookies.","analytics_storage_title":"Analytics cookies","analytics_storage_description":"Popis analytics cookies."}')},453:e=>{"use strict";e.exports=JSON.parse('{"modal_trigger_title":"Cookie settings","consent_modal_title":"🍪 We use cookies!","consent_modal_description":"This website uses essential cookies to ensure its proper operation and tracking cookies to understand how you interact with it. The latter will be set only after consent.","consent_modal_primary_btn":"Accept all","consent_modal_secondary_btn":"Customize","settings_modal_title":"📢 Cookie settings","settings_modal_save_settings_btn":"Save settings","settings_modal_accept_all_btn":"Accept all","settings_modal_reject_all_btn":"Reject all","settings_modal_close_btn_label":"Close","settings_modal_before_consent_title":"Cookie usage 📢","settings_modal_before_consent_description":"We use cookies to ensure the basic functionalities of the website and to enhance your online experience. You can choose for each category to opt-in/out whenever you want.","settings_modal_after_consent_title":"More information","settings_modal_after_consent_description":"For any queries in relation to my policy on cookies and your choices, please contact us.","functionality_storage_title":"Functionality cookies","functionality_storage_description":"Functionality cookies description.","personalization_storage_title":"Personalization cookies","personalization_storage_description":"Personalization cookies description.","security_storage_title":"Security cookies","security_storage_description":"Security cookies description.","ad_storage_title":"Ad cookies","ad_storage_description":"Ad cookies description.","analytics_storage_title":"Analytics cookies","analytics_storage_description":"Analytics cookies description."}')}},t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var r=t[o]={exports:{}};return e[o](r,r.exports,n),r.exports}n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var o=n(10);CookieConsentWrapper=o})();
var CookieConsentWrapper;(()=>{var e={10:(e,t,n)=>{"use strict";const o=n(336);e.exports=(new o).create()},868:e=>{"use strict";function t(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 n=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:"merge",value:function(e){var t;for(t in e)e.hasOwnProperty(t)&&this.hasOwnProperty(t)&&(this[t]=e[t])}}])&&t(n.prototype,o),i&&t(n,i),Object.defineProperty(n,"prototype",{writable:!1}),e}();e.exports=n},2:(e,t,n)=>{"use strict";function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(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 s=n(406),c=n(76),l=n(990),u=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.pluginOptions=new s,this.consentModalOptions=new c,this.settingsModalOptions=new c,this.uiOptions=new l,this.consentModalOptions.merge({layout:"box",position:"bottom center"}),this.settingsModalOptions.merge({layout:"box"})}var t,n,o;return t=e,(n=[{key:"buildCookieConsentConfig",value:function(){return i(i({},this.pluginOptions),{},{gui_options:{consent_modal:i({},this.consentModalOptions),settings_modal:i({},this.settingsModalOptions)}})}}])&&a(t.prototype,n),o&&a(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}();e.exports=u},76:(e,t,n)=>{"use strict";function o(e){return o="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},o(e)}function i(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 r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(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=c(e);if(t){var i=c(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"===o(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 c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}var l=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");Object.defineProperty(e,"prototype",{value:Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),writable:!1}),t&&r(e,t)}(c,e);var t,n,o,s=a(c);function c(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(e=s.call(this)).layout=void 0,e.position=void 0,e.transition="zoom",e}return t=c,n&&i(t.prototype,n),o&&i(t,o),Object.defineProperty(t,"prototype",{writable:!1}),t}(n(868));e.exports=l},406:(e,t,n)=>{"use strict";function o(e){return o="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},o(e)}function i(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 r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(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=c(e);if(t){var i=c(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"===o(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 c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}var l=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");Object.defineProperty(e,"prototype",{value:Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),writable:!1}),t&&r(e,t)}(c,e);var t,n,o,s=a(c);function c(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(e=s.call(this)).autorun=!0,e.delay=0,e.cookie_name="cc-settings",e.cookie_expiration=182,e.cookie_path="/",e.cookie_domain=window.location.hostname,e.cookie_same_site="Lax",e.use_rfc_cookie=!1,e.force_consent=!1,e.revision=0,e.current_lang="en",e.auto_language="document",e.autoclear_cookies=!1,e.page_scripts=!1,e.script_selector="data-cookiecategory",e.remove_cookie_tables=!1,e.hide_from_bots=!1,e}return t=c,n&&i(t.prototype,n),o&&i(t,o),Object.defineProperty(t,"prototype",{writable:!1}),t}(n(868));e.exports=l},990:(e,t,n)=>{"use strict";function o(e){return o="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},o(e)}function i(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 r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(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=c(e);if(t){var i=c(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"===o(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 c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}var l=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");Object.defineProperty(e,"prototype",{value:Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),writable:!1}),t&&r(e,t)}(c,e);var t,n,o,s=a(c);function c(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(e=s.call(this)).include_default_stylesheets=!0,e.external_stylesheets=[],e.internal_stylesheets=[],e.modal_trigger_selector=null,e}return t=c,(n=[{key:"defaultStylesheets",get:function(){return!0===this.include_default_stylesheets?["https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@v2.7.1/dist/cookieconsent.css"]:[]}}])&&i(t.prototype,n),o&&i(t,o),Object.defineProperty(t,"prototype",{writable:!1}),c}(n(868));e.exports=l},857:e=>{"use strict";function t(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 n=function(){function e(t,n,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._cookieConsent=t,this._storagePool=n,this._gtag=o}var n,o,i;return n=e,(o=[{key:"onAccept",value:function(){this._updateConsent()}},{key:"onChange",value:function(){this._updateConsent()}},{key:"_updateConsent",value:function(){var e=this._storagePool.all(),t={},n=[];for(var o in e)if(e.hasOwnProperty(o)){var i=e[o],r=null!==i.syncConsentWith?i.syncConsentWith:i.name,a=this._cookieConsent.allowedCategory(r)?"granted":"denied";t[i.name]=a,"granted"!==a||null===i.eventTrigger||i.eventTrigger.invoked||n.push(i.eventTrigger)}this._gtag("consent","update",t);var s=[];for(var c in n)if(n.hasOwnProperty(c)){var l=n[c];-1===s.indexOf(l.name)&&(this._gtag("event",l.name,{}),s.push(l.name)),l.invoked=!0}}}])&&t(n.prototype,o),i&&t(n,i),Object.defineProperty(n,"prototype",{writable:!1}),e}();e.exports=n},229:(e,t,n)=>{"use strict";function o(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)}}n(686);var i=n(2),r=n(903),a=n(914),s=n(857),c=n(619),l=n(683),u=n(217),d=n(41),p=n(968),f=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._initialized=!1,this._gtag=t,this._config=new i,this._storagePool=new a,this._dictionary=new c,this._eventBus=new d,this._cookieConsent=null}var t,f,_;return t=e,f=[{key:"setPluginOptions",value:function(e){this._config.pluginOptions.merge(e||{})}},{key:"setConsentModalOptions",value:function(e){this._config.consentModalOptions.merge(e||{})}},{key:"setSettingsModalOptions",value:function(e){this._config.settingsModalOptions.merge(e||{})}},{key:"setUiOptions",value:function(e){this._config.uiOptions.merge(e||{})}},{key:"addStorage",value:function(e){this._storagePool.add(new r(e||{}))}},{key:"addTranslations",value:function(e,t){this._dictionary.addTranslations(e,t||{})}},{key:"loadTranslations",value:function(e){var t;try{t=n(598)("./".concat(e))}catch(e){t={}}this.addTranslations(e,t)}},{key:"unwrap",value:function(){if(null===this._cookieConsent)throw new Error("Cookie consent is not created, please call method CookieConsentWrapper.init().");return this._cookieConsent}},{key:"allowedCategory",value:function(e){return this.unwrap().allowedCategory(e)}},{key:"on",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return p.ON_INIT===e&&this._initialized&&null!==this._cookieConsent?(t.call(n,this),function(){}):this._eventBus.subscribe(e,t,n)}},{key:"init",value:function(e,t){if(!this._initialized){var n=this;if(e.CookieConsentWrapper=n,t){var o=function(){l.loadFromConfig(t,n._config.uiOptions)};"loading"!==t.readyState?o():t.addEventListener("DOMContentLoaded",o)}e.addEventListener("load",(function(){n._cookieConsent=initCookieConsent();var e,o=new s(n._cookieConsent,n._storagePool,n._gtag),i=n._config.buildCookieConsentConfig();i.onAccept=function(){return o.onAccept()},i.onChange=function(){return o.onChange()},i.languages=n._dictionary.build(n._storagePool),t&&"string"==typeof n._config.uiOptions.modal_trigger_selector&&(e=new u(t,n._dictionary).create(n._config.uiOptions.modal_trigger_selector,n._config.pluginOptions.current_lang||t.documentElement.lang)),n._cookieConsent.run(i),e&&e.textElement&&(e.textElement.innerHTML=n._dictionary.translate(n._cookieConsent.getConfig("current_lang"),"modal_trigger_title")),n._eventBus.dispatch(p.ON_INIT,n)})),this._initialized=!0}}}],f&&o(t.prototype,f),_&&o(t,_),Object.defineProperty(t,"prototype",{writable:!1}),e}();e.exports=f},336:(e,t,n)=>{"use strict";function o(e){return o="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},o(e)}function i(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 r=n(229),a=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,a;return t=e,n=[{key:"create",value:function(){if(void 0===window)throw new Error("the window is not accessible.");var e=new r(this._createGtagFunction());return this._setupPluginOptions(e),this._setupConsentModalOptions(e),this._setupSettingsModalOptions(e),this._setupUiOptions(e),this._setupStoragePool(e),this._setupLocales(e),this._setupTranslations(e),e.init(window,document),e}},{key:"_createGtagFunction",value:function(){var e=window.gtag;return e||(window.dataLayer=window.dataLayer||[],e=function(){dataLayer.push(arguments)}),e}},{key:"_setupPluginOptions",value:function(e){window.cc_plugin_options&&"object"===o(window.cc_plugin_options)&&e.setPluginOptions(window.cc_plugin_options)}},{key:"_setupConsentModalOptions",value:function(e){window.cc_consent_modal_options&&"object"===o(window.cc_consent_modal_options)&&e.setConsentModalOptions(window.cc_consent_modal_options)}},{key:"_setupSettingsModalOptions",value:function(e){window.cc_settings_modal_options&&"object"===o(window.cc_settings_modal_options)&&e.setSettingsModalOptions(window.cc_settings_modal_options)}},{key:"_setupUiOptions",value:function(e){window.cc_ui_options&&"object"===o(window.cc_ui_options)&&e.setUiOptions(window.cc_ui_options)}},{key:"_setupStoragePool",value:function(e){if(window.cc_storage_pool&&Array.isArray(window.cc_storage_pool)){var t=window.cc_storage_pool;for(var n in t)t.hasOwnProperty(n)&&e.addStorage(t[n]||{})}}},{key:"_setupLocales",value:function(e){if(window.cc_locales&&Array.isArray(window.cc_locales)){var t,n=window.cc_locales;for(t in n)n.hasOwnProperty(t)&&e.loadTranslations(n[t])}}},{key:"_setupTranslations",value:function(e){if(window.cc_translations&&"object"===o(window.cc_translations)){var t,n=window.cc_translations;for(t in n)n.hasOwnProperty(t)&&e.addTranslations(t,n[t]||{})}}}],n&&i(t.prototype,n),a&&i(t,a),Object.defineProperty(t,"prototype",{writable:!1}),e}();e.exports=a},41:e=>{"use strict";function t(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 n=function(){function e(){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._generator=(t=0,{getNextIdentifier:function(){return t++}}),this._listeners={}}var n,o,i;return n=e,o=[{key:"subscribe",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if("function"!=typeof t)throw new TypeError("Listener must be of type function.");var o="idx_"+this._generator.getNextIdentifier();return this._listeners[e]=this._listeners[e]||{},this._listeners[e][o]={callback:t,scope:n},function(){e in this._listeners&&o in this._listeners[e]&&delete this._listeners[e][o]}}},{key:"dispatch",value:function(e){for(var t,n,o=this._listeners[e]||{},i=arguments.length,r=new Array(i>1?i-1:0),a=1;a<i;a++)r[a-1]=arguments[a];for(t in o){var s;o.hasOwnProperty(t)&&(s=(n=o[t]).callback).call.apply(s,[n.scope].concat(r))}}}],o&&t(n.prototype,o),i&&t(n,i),Object.defineProperty(n,"prototype",{writable:!1}),e}();e.exports=n},968:e=>{"use strict";function t(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 n=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,i=[{key:"ON_INIT",get:function(){return"init"}}],(o=null)&&t(n.prototype,o),i&&t(n,i),Object.defineProperty(n,"prototype",{writable:!1}),e}();e.exports=n},745:e=>{"use strict";function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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(n){var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t(this,e),this._name=n,this.invoked=o}var o,i,r;return o=e,(i=[{key:"name",get:function(){return this._name}}])&&n(o.prototype,i),r&&n(o,r),Object.defineProperty(o,"prototype",{writable:!1}),e}();e.exports=o},903:(e,t,n)=>{"use strict";function o(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 i=n(196),r=n(745),a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._config=new i(t),this._eventTrigger="string"==typeof this._config.event_trigger?new r(this._config.event_trigger,this._config.event_trigger_invoked):null}var t,n,a;return t=e,(n=[{key:"name",get:function(){return this._config.name}},{key:"enabledByDefault",get:function(){return this._config.enabled_by_default}},{key:"displayInWidget",get:function(){return this._config.display_in_widget}},{key:"readonly",get:function(){return this._config.readonly}},{key:"syncConsentWith",get:function(){return this._config.sync_consent_with}},{key:"eventTrigger",get:function(){return this._eventTrigger}}])&&o(t.prototype,n),a&&o(t,a),Object.defineProperty(t,"prototype",{writable:!1}),e}();e.exports=a},196:e=>{"use strict";function t(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 n(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e}var o=n((function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),!t.hasOwnProperty("name")||""===t.name)throw new Error('Missing required property "name".');this.name=t.name,this.enabled_by_default=t.enabled_by_default||!1,this.display_in_widget=t.display_in_widget||!1,this.readonly=t.readonly||!1,this.sync_consent_with=t.sync_consent_with||null,this.event_trigger=t.event_trigger||null,this.event_trigger_invoked=t.event_trigger_invoked||!1}));e.exports=o},914:e=>{"use strict";function t(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 n=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._items=[]}var n,o,i;return n=e,(o=[{key:"add",value:function(e){this._items[e.name]=e}},{key:"has",value:function(e){return this._items.hasOwnProperty(e)}},{key:"get",value:function(e){if(!this.has(e))throw new Error('Missing storage "'.concat(e,'".'));return this._items[e]}},{key:"all",value:function(){return this._items}}])&&t(n.prototype,o),i&&t(n,i),Object.defineProperty(n,"prototype",{writable:!1}),e}();e.exports=n},106:e=>{"use strict";function t(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 n=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._locale=t,this.modal_trigger_title="",this.consent_modal_title="",this.consent_modal_description="",this.consent_modal_revision_message="",this.consent_modal_primary_btn="",this.consent_modal_secondary_btn="",this.settings_modal_title="",this.settings_modal_save_settings_btn="",this.settings_modal_accept_all_btn="",this.settings_modal_reject_all_btn="",this.settings_modal_close_btn_label="",this.settings_modal_before_consent_title="",this.settings_modal_before_consent_description="",this.settings_modal_after_consent_title="",this.settings_modal_after_consent_description="",this.functionality_storage_title="",this.functionality_storage_description="",this.personalization_storage_title="",this.personalization_storage_description="",this.security_storage_title="",this.security_storage_description="",this.ad_storage_title="",this.ad_storage_description="",this.analytics_storage_title="",this.analytics_storage_description=""}var n,o,i;return n=e,(o=[{key:"locale",get:function(){return this._locale}},{key:"translate",value:function(e){return this.hasOwnProperty(e)?this[e]:e}},{key:"merge",value:function(e){var t;for(t in e)e.hasOwnProperty(t)&&this.hasOwnProperty(t)&&(this[t]=e[t])}},{key:"build",value:function(e){var t=[];""===this.settings_modal_before_consent_title&&""===this.settings_modal_before_consent_description||t.push({title:this.settings_modal_before_consent_title,description:this.settings_modal_before_consent_description});var n,o,i=e.all();for(o in i)i.hasOwnProperty(o)&&(n=i[o]).displayInWidget&&this.hasOwnProperty(n.name+"_title")&&t.push({title:this[n.name+"_title"],description:this[n.name+"_description"],toggle:{value:n.name,enabled:n.enabledByDefault,readonly:n.readonly}});return""===this.settings_modal_after_consent_title&&""===this.settings_modal_after_consent_description||t.push({title:this.settings_modal_after_consent_title,description:this.settings_modal_after_consent_description}),{consent_modal:{title:this.consent_modal_title,description:this.consent_modal_description.replace("[[revision_message]]","{{revision_message}}"),revision_message:this.consent_modal_revision_message,primary_btn:{text:this.consent_modal_primary_btn,role:"accept_all"},secondary_btn:{text:this.consent_modal_secondary_btn,role:"settings"}},settings_modal:{title:this.settings_modal_title,save_settings_btn:this.settings_modal_save_settings_btn,accept_all_btn:this.settings_modal_accept_all_btn,reject_all_btn:this.settings_modal_reject_all_btn,close_btn_label:this.settings_modal_close_btn_label,blocks:t}}}}])&&t(n.prototype,o),i&&t(n,i),Object.defineProperty(n,"prototype",{writable:!1}),e}();e.exports=n},619:(e,t,n)=>{"use strict";function o(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 i=n(106),r=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._catalogues={}}var t,n,r;return t=e,n=[{key:"addTranslations",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._catalogues.hasOwnProperty(e)?t=this._catalogues[e]:(t=new i(e),this._catalogues[e]=t),t.merge(n)}},{key:"translate",value:function(e,t){return this._catalogues.hasOwnProperty(e)?this._catalogues[e].translate(t):t}},{key:"build",value:function(e){var t,n,o={};for(t in this._catalogues)this._catalogues.hasOwnProperty(t)&&(o[(n=this._catalogues[t]).locale]=n.build(e));return o}}],n&&o(t.prototype,n),r&&o(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();e.exports=r},217:e=>{"use strict";function t(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 n=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._document=t,this._dictionary=n}var n,o,i;return n=e,(o=[{key:"create",value:function(e,t){var n=this._document.querySelectorAll(e),o=n.length?n[n.length-1]:void 0;if(!o)return console.log("HTML element with selector ".concat(e," not found.")),{itemElement:void 0,linkElement:void 0};var i,r=o.cloneNode(!0);if(!(i="A"===r.nodeName?r:r.getElementsByTagName("a")[0]||void 0)){i=this._document.createElement("a");var a=r.querySelectorAll("*"),s=a.length?a[a.length-1]:r;s.innerHTML="",s.appendChild(i)}var c=i.querySelectorAll("*"),l=c.length?c[c.length-1]:i;return l.innerHTML=this._dictionary.translate(t,"modal_trigger_title"),i.setAttribute("data-cc","c-settings"),i.setAttribute("href","#cookie-settings"),o.parentNode.appendChild(r),{itemElement:r,textElement:l}}}])&&t(n.prototype,o),i&&t(n,i),Object.defineProperty(n,"prototype",{writable:!1}),e}();e.exports=n},683:e=>{"use strict";function t(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return n(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);"Object"===o&&e.constructor&&(o=e.constructor.name);if("Map"===o||"Set"===o)return Array.from(e);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return n(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(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 o(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 i=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._document=t}var n,i,r;return n=e,r=[{key:"loadFromConfig",value:function(n,o){var i,r=new e(n),a=o.internal_stylesheets,s=o.defaultStylesheets;for(i in s=[].concat(t(s),t(o.external_stylesheets)))s.hasOwnProperty(i)&&r.loadExternal(s[i]);for(i in a)a.hasOwnProperty(i)&&r.loadInternal(a[i])}}],(i=[{key:"loadExternal",value:function(e){var t=this._document.createElement("link");t.rel="stylesheet",t.href=e,this._appendStylesheet(t)}},{key:"loadInternal",value:function(e){var t=this._document.createElement("style");t.innerText=e.replace(/\s/g,""),this._appendStylesheet(t)}},{key:"_appendStylesheet",value:function(e){this._document.getElementsByTagName("head")[0].appendChild(e)}}])&&o(n.prototype,i),r&&o(n,r),Object.defineProperty(n,"prototype",{writable:!1}),e}();e.exports=i},686:()=>{"function"!=typeof window.initCookieConsent&&(window.initCookieConsent=function(e){var t,n,o,i,r,a,s,c,l,u,d,p,f,_,h,y,g={current_lang:"en",auto_language:null,autorun:!0,cookie_name:"cc_cookie",cookie_expiration:182,cookie_domain:window.location.hostname,cookie_path:"/",cookie_same_site:"Lax",use_rfc_cookie:!1,autoclear_cookies:!0,revision:0,script_selector:"data-cookiecategory"},b={},v={},m=!1,w=!1,k=!1,O=!1,C=!1,j=!0,P=!1,x=null,S=[],A=[],T=!1,E=[],N=[],M=[],L=[],z=[],R=document.documentElement,I=function(e,t){return Object.prototype.hasOwnProperty.call(t,e)?e:0<$(t).length?Object.prototype.hasOwnProperty.call(t,g.current_lang)?g.current_lang:$(t)[0]:void 0},D=function(){function e(e,n){var o=!1,i=!1;try{for(var r,a=e.querySelectorAll(t.join(':not([tabindex="-1"]), ')),s=a.length,c=0;c<s;)r=a[c].getAttribute("data-focus"),i||"1"!==r?"0"===r&&(o=a[c],i||"0"===a[c+1].getAttribute("data-focus")||(i=a[c+1])):i=a[c],c++}catch(n){return e.querySelectorAll(t.join(", "))}n[0]=a[0],n[1]=a[a.length-1],n[2]=o,n[3]=i}var t=["[href]","button","input","details",'[tabindex="0"]'];e(f,N),m&&e(d,E)},H="",B=function(e,t){for(var n=e.length,o=0;o<n;o++)if(e[o]===t)return o;return-1},q=function(e){var t=document.createElement(e);return"button"===e&&t.setAttribute("type",e),t},F=function(e,t){function n(e,t,n,o,i,r,a){if(r=r&&r.split(" ")||[],-1<B(t,i)&&(K(e,i),("bar"!==i||"middle"!==r[0])&&-1<B(n,r[0])))for(t=0;t<r.length;t++)K(e,r[t]);-1<B(o,a)&&K(e,a)}if("object"==typeof e){var o=e.consent_modal;e=e.settings_modal,m&&o&&n(d,["box","bar","cloud"],["top","middle","bottom"],["zoom","slide"],o.layout,o.position,o.transition),!t&&e&&n(p,["bar"],["left","right"],["zoom","slide"],e.layout,e.position,e.transition)}};b.allowedCategory=function(e){return-1<B(JSON.parse(W(g.cookie_name,"one",!0)||"{}").level||[],e)},b.run=function(s){if(!document.getElementById("cc_div")&&(function(e){"number"==typeof e.cookie_expiration&&(g.cookie_expiration=e.cookie_expiration),"number"==typeof e.cookie_necessary_only_expiration&&(g.cookie_necessary_only_expiration=e.cookie_necessary_only_expiration),"boolean"==typeof e.autorun&&(g.autorun=e.autorun),"string"==typeof e.cookie_domain&&(g.cookie_domain=e.cookie_domain),"string"==typeof e.cookie_same_site&&(g.cookie_same_site=e.cookie_same_site),"string"==typeof e.cookie_path&&(g.cookie_path=e.cookie_path),"string"==typeof e.cookie_name&&(g.cookie_name=e.cookie_name),"function"==typeof e.onAccept&&(i=e.onAccept),"function"==typeof e.onFirstAction&&(a=e.onFirstAction),"function"==typeof e.onChange&&(r=e.onChange),"number"==typeof e.revision&&(-1<e.revision&&(g.revision=e.revision),P=!0),!0===e.autoclear_cookies&&(g.autoclear_cookies=!0),!0===e.use_rfc_cookie&&(g.use_rfc_cookie=!0),!0===e.hide_from_bots&&(T=navigator&&(navigator.userAgent&&/bot|crawl|spider|slurp|teoma/i.test(navigator.userAgent)||navigator.webdriver)),g.page_scripts=!0===e.page_scripts,g.page_scripts_order=!1!==e.page_scripts_order,"browser"===e.auto_language||!0===e.auto_language?g.auto_language="browser":"document"===e.auto_language&&(g.auto_language="document");var t=e.languages;e=e.current_lang,"browser"===g.auto_language?(2<(e=navigator.language||navigator.browserLanguage).length&&(e=e[0]+e[1]),e=e.toLowerCase(),t=I(e,t)):t="document"===g.auto_language?I(document.documentElement.lang,t):"string"==typeof e?g.current_lang=I(e,t):g.current_lang,g.current_lang=t}(s),!T&&(v=JSON.parse(W(g.cookie_name,"one",!0)||"{}"),w=void 0!==v.level,x=void 0!==v.data?v.data:null,j=!("number"==typeof s.revision&&w&&-1<s.revision&&v.revision!==g.revision),function(t,i){(u=q("div")).id="cc--main",u.style.position="fixed",u.style.zIndex="1000000",u.innerHTML='\x3c!--[if lt IE 9 ]><div id="cc_div" class="cc_div ie"></div><![endif]--\x3e\x3c!--[if (gt IE 8)|!(IE)]>\x3c!--\x3e<div id="cc_div" class="cc_div"></div>\x3c!--<![endif]--\x3e';var r=u.children[0],a=g.current_lang,s="string"==typeof R.textContent?"textContent":"innerText";_=i,h=function(e){!0===e.force_consent&&K(R,"force--consent");var t=e.languages[a].consent_modal.description;if(P&&(t=j?t.replace("{{revision_message}}",""):t.replace("{{revision_message}}",H||e.languages[a].consent_modal.revision_message||"")),d)y.innerHTML=t;else{d=q("div");var n=q("div"),o=q("div");y=q("div");var i=q("div"),c=q("div");d.id="cm",n.id="c-inr",o.id="c-inr-i",y.id="c-txt",i.id="c-bns",c.id="cm-ov",d.setAttribute("role","dialog"),d.setAttribute("aria-modal","true"),d.setAttribute("aria-hidden","false"),d.setAttribute("aria-labelledby","c-ttl"),d.setAttribute("aria-describedby","c-txt"),d.style.visibility=c.style.visibility="hidden",c.style.opacity=0;var l=e.languages[a].consent_modal.title;if(l){var u=q("div");u.id="c-ttl",u.setAttribute("role","heading"),u.setAttribute("aria-level","2"),u.insertAdjacentHTML("beforeend",l),o.appendChild(u)}if(y.insertAdjacentHTML("beforeend",t),o.appendChild(y),t=e.languages[a].consent_modal.primary_btn,l=e.languages[a].consent_modal.secondary_btn,t){var p,f=q("button");f.id="c-p-bn",f.className="c-bn",f[s]=e.languages[a].consent_modal.primary_btn.text,"accept_all"===t.role&&(p="all"),V(f,"click",(function(){b.hide(),b.accept(p)}))}if(l){var _=q("button");_.id="c-s-bn",_.className="c-bn c_link",_[s]=e.languages[a].consent_modal.secondary_btn.text,"accept_necessary"===l.role?V(_,"click",(function(){b.hide(),b.accept([])})):V(_,"click",(function(){b.showSettings(0)}))}(e=e.gui_options)&&e.consent_modal&&!0===e.consent_modal.swap_buttons?(l&&i.appendChild(_),t&&i.appendChild(f),i.className="swap"):(t&&i.appendChild(f),l&&i.appendChild(_)),n.appendChild(o),(t||l)&&n.appendChild(i),d.appendChild(n),r.appendChild(d),r.appendChild(c),m=!0}},t||h(i),p=q("div");var c=q("div"),l=q("div"),w=q("div");f=q("div");var k=q("div"),O=q("div"),C=q("button"),x=q("div"),S=q("div"),A=q("div");p.id="s-cnt",c.id="c-vln",w.id="c-s-in",l.id="cs",k.id="s-ttl",f.id="s-inr",O.id="s-hdr",S.id="s-bl",C.id="s-c-bn",A.id="cs-ov",x.id="s-c-bnc",C.className="c-bn",C.setAttribute("aria-label",i.languages[a].settings_modal.close_btn_label||"Close"),p.setAttribute("role","dialog"),p.setAttribute("aria-modal","true"),p.setAttribute("aria-hidden","true"),p.setAttribute("aria-labelledby","s-ttl"),k.setAttribute("role","heading"),p.style.visibility=A.style.visibility="hidden",A.style.opacity=0,x.appendChild(C),V(c,"keydown",(function(e){27===(e=e||window.event).keyCode&&b.hideSettings(0)}),!0),V(C,"click",(function(){b.hideSettings(0)})),o=i.languages[g.current_lang].settings_modal.blocks,n=i.languages[g.current_lang].settings_modal.cookie_table_headers,C=o.length,k.insertAdjacentHTML("beforeend",i.languages[g.current_lang].settings_modal.title);for(var T=0;T<C;++T){var E=o[T].title,N=o[T].description,I=o[T].toggle,D=o[T].cookie_table,F=!0===i.remove_cookie_tables,U=(N||!F&&D)&&"truthy",J=q("div"),W=q("div");if(N){var G=q("div");G.className="p",G.insertAdjacentHTML("beforeend",N)}var Y=q("div");if(Y.className="title",J.className="c-bl",W.className="desc",void 0!==I){var Q="c-ac-"+T,ee=q(U?"button":"div"),te=q("label"),ne=q("input"),oe=q("span"),ie=q("span"),re=q("span"),ae=q("span");ee.className=U?"b-tl exp":"b-tl",te.className="b-tg",ne.className="c-tgl",re.className="on-i",ae.className="off-i",oe.className="c-tg",ie.className="t-lb",U&&(ee.setAttribute("aria-expanded","false"),ee.setAttribute("aria-controls",Q)),ne.type="checkbox",oe.setAttribute("aria-hidden","true");var se=I.value;ne.value=se,ie[s]=E,ee.insertAdjacentHTML("beforeend",E),Y.appendChild(ee),oe.appendChild(re),oe.appendChild(ae),t?-1<B(v.level,se)?(ne.checked=!0,M.push(!0)):M.push(!1):I.enabled?(ne.checked=!0,M.push(!0)):M.push(!1),L.push(se),I.readonly?(ne.disabled=!0,K(oe,"c-ro"),z.push(!0)):z.push(!1),K(W,"b-acc"),K(Y,"b-bn"),K(J,"b-ex"),W.id=Q,W.setAttribute("aria-hidden","true"),te.appendChild(ne),te.appendChild(oe),te.appendChild(ie),Y.appendChild(te),U&&function(e,t,n){V(ee,"click",(function(){X(t,"act")?(Z(t,"act"),n.setAttribute("aria-expanded","false"),e.setAttribute("aria-hidden","true")):(K(t,"act"),n.setAttribute("aria-expanded","true"),e.setAttribute("aria-hidden","false"))}),!1)}(W,J,ee)}else E&&((U=q("div")).className="b-tl",U.setAttribute("role","heading"),U.setAttribute("aria-level","3"),U.insertAdjacentHTML("beforeend",E),Y.appendChild(U));if(E&&J.appendChild(Y),N&&W.appendChild(G),!F&&void 0!==D){for(U=document.createDocumentFragment(),Q=0;Q<n.length;++Q)te=q("th"),F=n[Q],te.setAttribute("scope","col"),F&&(Y=F&&$(F)[0],te[s]=n[Q][Y],U.appendChild(te));for((F=q("tr")).appendChild(U),(Y=q("thead")).appendChild(F),(U=q("table")).appendChild(Y),Q=document.createDocumentFragment(),te=0;te<D.length;te++){for(ne=q("tr"),oe=0;oe<n.length;++oe)(F=n[oe])&&(Y=$(F)[0],(ie=q("td")).insertAdjacentHTML("beforeend",D[te][Y]),ie.setAttribute("data-column",F[Y]),ne.appendChild(ie));Q.appendChild(ne)}(D=q("tbody")).appendChild(Q),U.appendChild(D),W.appendChild(U)}(I&&E||!I&&(E||N))&&(J.appendChild(W),S.appendChild(J))}t=q("div"),G=q("button"),C=q("button"),t.id="s-bns",G.id="s-sv-bn",C.id="s-all-bn",G.className="c-bn",C.className="c-bn",G.insertAdjacentHTML("beforeend",i.languages[g.current_lang].settings_modal.save_settings_btn),C.insertAdjacentHTML("beforeend",i.languages[g.current_lang].settings_modal.accept_all_btn),t.appendChild(C),(i=i.languages[g.current_lang].settings_modal.reject_all_btn)&&((T=q("button")).id="s-rall-bn",T.className="c-bn",T.insertAdjacentHTML("beforeend",i),V(T,"click",(function(){b.hideSettings(),b.hide(),b.accept([])})),f.className="bns-t",t.appendChild(T)),t.appendChild(G),V(G,"click",(function(){b.hideSettings(),b.hide(),b.accept()})),V(C,"click",(function(){b.hideSettings(),b.hide(),b.accept("all")})),O.appendChild(k),O.appendChild(x),f.appendChild(O),f.appendChild(S),f.appendChild(t),w.appendChild(f),l.appendChild(w),c.appendChild(l),p.appendChild(c),r.appendChild(p),r.appendChild(A),(e||document.body).appendChild(u)}(!(m=!w||!j),s),function(e,t){if("string"!=typeof e||""===e||document.getElementById("cc--style"))t();else{var n=q("style");n.id="cc--style";var o=new XMLHttpRequest;o.onreadystatechange=function(){4===this.readyState&&200===this.status&&(n.setAttribute("type","text/css"),n.styleSheet?n.styleSheet.cssText=this.responseText:n.appendChild(document.createTextNode(this.responseText)),document.getElementsByTagName("head")[0].appendChild(n),t())},o.open("GET",e),o.send()}}(s.theme_css,(function(){D(),F(s.gui_options),function(){for(var e=document.querySelectorAll('a[data-cc="c-settings"], button[data-cc="c-settings"]'),t=0;t<e.length;t++)e[t].setAttribute("aria-haspopup","dialog"),V(e[t],"click",(function(e){b.showSettings(0),e.preventDefault?e.preventDefault():e.returnValue=!1}))}(),g.autorun&&m&&b.show(s.delay||0),setTimeout((function(){K(u,"c--anim")}),30),setTimeout((function(){!function(){var e=!1,n=!1;V(document,"keydown",(function(o){"Tab"===(o=o||window.event).key&&(t&&(o.shiftKey?document.activeElement===t[0]&&(t[1].focus(),o.preventDefault()):document.activeElement===t[1]&&(t[0].focus(),o.preventDefault()),n||C||(n=!0,!e&&o.preventDefault(),o.shiftKey?t[3]?t[2]?t[2].focus():t[0].focus():t[1].focus():t[3]?t[3].focus():t[0].focus())),!n&&(e=!0))})),document.contains&&V(u,"click",(function(e){e=e||window.event,O?f.contains(e.target)?C=!0:(b.hideSettings(0),C=!1):k&&d.contains(e.target)&&(C=!0)}),!0)}()}),100)})),w&&j))){var c="boolean"==typeof v.rfc_cookie;(!c||c&&v.rfc_cookie!==g.use_rfc_cookie)&&(v.rfc_cookie=g.use_rfc_cookie,J(g.cookie_name,JSON.stringify(v))),U(),"function"==typeof s.onAccept&&s.onAccept(v)}},b.showSettings=function(e){setTimeout((function(){K(R,"show--settings"),p.setAttribute("aria-hidden","false"),O=!0,setTimeout((function(){k?l=document.activeElement:c=document.activeElement,0!==N.length&&(N[3]?N[3].focus():N[0].focus(),t=N)}),200)}),0<e?e:0)};var U=function(){if(g.page_scripts){var e=document.querySelectorAll("script["+g.script_selector+"]"),t=g.page_scripts_order,n=v.level||[],o=function(e,i){if(i<e.length){var r=e[i],a=r.getAttribute(g.script_selector);if(-1<B(n,a)){r.type="text/javascript",r.removeAttribute(g.script_selector),a=r.getAttribute("data-src");var s=q("script");if(s.textContent=r.innerHTML,function(e,t){for(var n=t.attributes,o=n.length,i=0;i<o;i++)t=n[i],e.setAttribute(t.nodeName,t.nodeValue)}(s,r),a?s.src=a:a=r.src,a&&(t?s.readyState?s.onreadystatechange=function(){"loaded"!==s.readyState&&"complete"!==s.readyState||(s.onreadystatechange=null,o(e,++i))}:s.onload=function(){s.onload=null,o(e,++i)}:a=!1),r.parentNode.replaceChild(s,r),a)return}o(e,++i)}};o(e,0)}};b.set=function(e,t){switch(e){case"data":e=t.value;var n=!1;if("update"===t.mode)if((t=typeof(x=b.get("data"))==typeof e)&&"object"==typeof x)for(var o in!x&&(x={}),e)x[o]!==e[o]&&(x[o]=e[o],n=!0);else!t&&x||x===e||(x=e,n=!0);else x=e,n=!0;return n&&(v.data=x,J(g.cookie_name,JSON.stringify(v))),n;case"revision":return o=t.value,e=t.prompt_consent,t=t.message,u&&"number"==typeof o&&v.revision!==o?(P=!0,H=t,j=!1,g.revision=o,!0===e?(h(_),F(_.gui_options,!0),D(),b.show()):b.accept(),t=!0):t=!1,t;default:return!1}},b.get=function(e,t){return JSON.parse(W(t||g.cookie_name,"one",!0)||"{}")[e]},b.getConfig=function(e){return g[e]},b.getUserPreferences=function(){S=v.level||[];var e=z.filter((function(e){return!0===e})).length;return A=L.filter((function(e){return-1===B(S,e)})),{accept_type:s=S.length===L.length?"all":0<=A.length&&S.length===e?"necessary":"custom",accepted_categories:S,rejected_categories:A}},b.loadScript=function(e,t,n){var o="function"==typeof t;if(document.querySelector('script[src="'+e+'"]'))o&&t();else{var i=q("script");if(n&&0<n.length)for(var r=0;r<n.length;++r)n[r]&&i.setAttribute(n[r].name,n[r].value);o&&(i.readyState?i.onreadystatechange=function(){"loaded"!==i.readyState&&"complete"!==i.readyState||(i.onreadystatechange=null,t())}:i.onload=t),i.src=e,(document.head?document.head:document.getElementsByTagName("head")[0]).appendChild(i)}},b.updateScripts=function(){U()},b.show=function(e){m&&setTimeout((function(){K(R,"show--consent"),d.setAttribute("aria-hidden","false"),k=!0,setTimeout((function(){c=document.activeElement,t=E}),200)}),0<e?e:0)},b.hide=function(){m&&(Z(R,"show--consent"),d.setAttribute("aria-hidden","true"),k=!1,setTimeout((function(){c.focus(),t=null}),200))},b.hideSettings=function(){Z(R,"show--settings"),O=!1,p.setAttribute("aria-hidden","true"),setTimeout((function(){k?(l&&l.focus(),t=E):(c.focus(),t=null),C=!1}),200)},b.accept=function(e,t){var s=t||[];if(t=[],e=e||void 0)if("object"==typeof e&&"number"==typeof e.length)for(var c=0;c<e.length;c++)-1!==B(L,e[c])&&t.push(e[c]);else"string"==typeof e&&("all"===e?t=L.slice():-1!==B(L,e)&&t.push(e));else t=function(){for(var e=document.querySelectorAll(".c-tgl")||[],t=[],n=0;n<e.length;n++)e[n].checked&&t.push(e[n].value);return t}();if(1<=s.length)for(c=0;c<s.length;c++)t=t.filter((function(e){return e!==s[c]}));for(c=0;c<L.length;c++)!0===z[c]&&-1===B(t,L[c])&&t.push(L[c]);!function(e){var t=document.querySelectorAll(".c-tgl")||[],s=[],c=!1;if(0<t.length){for(var l=0;l<t.length;l++)-1!==B(e,L[l])?(t[l].checked=!0,M[l]||(s.push(L[l]),M[l]=!0)):(t[l].checked=!1,M[l]&&(s.push(L[l]),M[l]=!1));if(g.autoclear_cookies&&w&&0<s.length){t=o.length,l=-1;var u=W("","all"),d=[g.cookie_domain,"."+g.cookie_domain];if("www."===g.cookie_domain.slice(0,4)){var p=g.cookie_domain.substr(4);d.push(p),d.push("."+p)}for(p=0;p<t;p++){var f=o[p];if(Object.prototype.hasOwnProperty.call(f,"toggle")&&!M[++l]&&Object.prototype.hasOwnProperty.call(f,"cookie_table")&&-1<B(s,f.toggle.value)){var _=f.cookie_table,h=$(n[0])[0],y=_.length;"on_disable"===f.toggle.reload&&(c=!0);for(var m=0;m<y;m++){var k=_[m],O=[],C=k[h],P=k.is_regex||!1,S=k.domain||null;if(k=k.path||!1,S&&(d=[S,"."+S]),P)for(P=0;P<u.length;P++)u[P].match(C)&&O.push(u[P]);else-1<(C=B(u,C))&&O.push(u[C]);0<O.length&&(G(O,k,d),"on_clear"===f.toggle.reload&&(c=!0))}}}}}v={level:e,revision:g.revision,data:x,rfc_cookie:g.use_rfc_cookie},(!w||0<s.length||!j)&&(j=!0,J(g.cookie_name,JSON.stringify(v)),U()),w?("function"==typeof r&&0<s.length&&r(v,s),c&&window.location.reload()):("function"==typeof a&&a(b.getUserPreferences(),v),"function"==typeof i&&i(v),w=!0)}(t)},b.eraseCookies=function(e,t,n){var o=[];if(n=n?[n,"."+n]:[g.cookie_domain,"."+g.cookie_domain],"object"==typeof e&&0<e.length)for(var i=0;i<e.length;i++)this.validCookie(e[i])&&o.push(e[i]);else this.validCookie(e)&&o.push(e);G(o,t,n)};var J=function(e,t){var n=g.cookie_expiration;"number"==typeof g.cookie_necessary_only_expiration&&"necessary"===s&&(n=g.cookie_necessary_only_expiration),t=g.use_rfc_cookie?encodeURIComponent(t):t;var o=new Date;o.setTime(o.getTime()+864e5*n),e=e+"="+(t||"")+(n="; expires="+o.toUTCString())+"; Path="+g.cookie_path+";",e+=" SameSite="+g.cookie_same_site+";",-1<window.location.hostname.indexOf(".")&&(e+=" Domain="+g.cookie_domain+";"),"https:"===window.location.protocol&&(e+=" Secure;"),document.cookie=e},W=function(e,t,n){var o;if("one"===t){if((o=(o=document.cookie.match("(^|;)\\s*"+e+"\\s*=\\s*([^;]+)"))?n?o.pop():e:"")&&e===g.cookie_name){try{o=JSON.parse(o)}catch(e){try{o=JSON.parse(decodeURIComponent(o))}catch(e){o={}}}o=JSON.stringify(o)}}else if("all"===t)for(e=document.cookie.split(/;\s*/),o=[],t=0;t<e.length;t++)o.push(e[t].split("=")[0]);return o},G=function(e,t,n){t=t||"/";for(var o=0;o<e.length;o++)for(var i=0;i<n.length;i++)document.cookie=e[o]+"=; path="+t+(-1<n[i].indexOf(".")?"; domain="+n[i]:"")+"; Expires=Thu, 01 Jan 1970 00:00:01 GMT;"};b.validCookie=function(e){return""!==W(e,"one",!0)};var V=function(e,t,n,o){e.addEventListener?!0===o?e.addEventListener(t,n,{passive:!0}):e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)},$=function(e){if("object"==typeof e){var t=[],n=0;for(t[n++]in e);return t}},K=function(e,t){e.classList?e.classList.add(t):X(e,t)||(e.className+=" "+t)},Z=function(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(\\s|^)"+t+"(\\s|$)")," ")},X=function(e,t){return e.classList?e.classList.contains(t):!!e.className.match(new RegExp("(\\s|^)"+t+"(\\s|$)"))};return b})},598:(e,t,n)=>{var o={"./cs":247,"./cs.json":247,"./en":453,"./en.json":453};function i(e){var t=r(e);return n(t)}function r(e){if(!n.o(o,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return o[e]}i.keys=function(){return Object.keys(o)},i.resolve=r,e.exports=i,i.id=598},247:e=>{"use strict";e.exports=JSON.parse('{"modal_trigger_title":"Nastavení cookies","consent_modal_title":"🍪 Používáme cookies!","consent_modal_description":"Na našich webových stránkách používáme soubory cookies. Některé z nich jsou nezbytné, zatímco jiné nám pomáhají vylepšít tento web a váš uživatelský zážitek.","consent_modal_primary_btn":"Souhlasím a pokračovat","consent_modal_secondary_btn":"Přizpůsobit","settings_modal_title":"📢 Nastavení cookies","settings_modal_save_settings_btn":"Uložit nastavení","settings_modal_accept_all_btn":"Souhlasím a pokračovat","settings_modal_reject_all_btn":"Zakázat vše","settings_modal_close_btn_label":"Zavřít","settings_modal_before_consent_title":"Použití cookies 📢","settings_modal_before_consent_description":"Soubory cookie používáme k zajištění základních funkcí webu a ke zlepšení vašeho uživatelského zážitku. Souhlas pro každou kategorii můžete kdykoliv změnit.","settings_modal_after_consent_title":"Vice informací","settings_modal_after_consent_description":"Máte-li jakékoli dotazy týkající se používání souborů cookie a vašich voleb, kontaktujte nás prosím.","functionality_storage_title":"Functionality cookies","functionality_storage_description":"Popis functionality cookies.","personalization_storage_title":"Personalization cookies","personalization_storage_description":"Popis personalization cookies.","security_storage_title":"Security cookies","security_storage_description":"Popis security cookies.","ad_storage_title":"Ad cookies","ad_storage_description":"Popis ad cookies.","analytics_storage_title":"Analytics cookies","analytics_storage_description":"Popis analytics cookies."}')},453:e=>{"use strict";e.exports=JSON.parse('{"modal_trigger_title":"Cookie settings","consent_modal_title":"🍪 We use cookies!","consent_modal_description":"This website uses essential cookies to ensure its proper operation and tracking cookies to understand how you interact with it. The latter will be set only after consent.","consent_modal_primary_btn":"Accept all","consent_modal_secondary_btn":"Customize","settings_modal_title":"📢 Cookie settings","settings_modal_save_settings_btn":"Save settings","settings_modal_accept_all_btn":"Accept all","settings_modal_reject_all_btn":"Reject all","settings_modal_close_btn_label":"Close","settings_modal_before_consent_title":"Cookie usage 📢","settings_modal_before_consent_description":"We use cookies to ensure the basic functionalities of the website and to enhance your online experience. You can choose for each category to opt-in/out whenever you want.","settings_modal_after_consent_title":"More information","settings_modal_after_consent_description":"For any queries in relation to my policy on cookies and your choices, please contact us.","functionality_storage_title":"Functionality cookies","functionality_storage_description":"Functionality cookies description.","personalization_storage_title":"Personalization cookies","personalization_storage_description":"Personalization cookies description.","security_storage_title":"Security cookies","security_storage_description":"Security cookies description.","ad_storage_title":"Ad cookies","ad_storage_description":"Ad cookies description.","analytics_storage_title":"Analytics cookies","analytics_storage_description":"Analytics cookies description."}')}},t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var r=t[o]={exports:{}};return e[o](r,r.exports,n),r.exports}n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var o=n(10);CookieConsentWrapper=o})();
{
"name": "68publishers-cookie-consent",
"version": "0.2.1",
"version": "0.2.2",
"description": "Cookie consent wrapper based on orestbida/cookieconsent with GTM integration.",

@@ -5,0 +5,0 @@ "homepage": "http://www.68publishers.io/",

@@ -12,2 +12,4 @@ 'use strict';

const ModalTriggerFactory = require('./Ui/ModalTriggerFactory');
const EventBus = require('./EventBus/EventBus');
const Events = require('./EventBus/Events');

@@ -21,2 +23,3 @@ class CookieConsentWrapper {

this._dictionary = new Dictionary();
this._eventBus = new EventBus();

@@ -71,5 +74,15 @@ this._cookieConsent = null;

allowedCategory(name) {
this.unwrap().allowedCategory(name);
return this.unwrap().allowedCategory(name);
}
on(event, callback, scope = null) {
if (Events.ON_INIT === event && this._initialized && null !== this._cookieConsent) {
callback.call(scope, this);
return function () {};
}
return this._eventBus.subscribe(event, callback, scope);
}
init(window, document) {

@@ -123,2 +136,4 @@ if (this._initialized) {

}
self._eventBus.dispatch(Events.ON_INIT, self);
});

@@ -125,0 +140,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc