Version Description
Download this release
Release Info
Developer | devowl |
Plugin | Real Cookie Banner: GDPR (DSGVO) & ePrivacy Cookie Consent |
Version | 2.17.2 |
Comparing to | |
See all releases |
Code changes from version 2.17.1 to 2.17.2
- CHANGELOG.md +16 -0
- inc/base/others/cachebuster-lib.php +1 -1
- inc/base/others/cachebuster.php +11 -11
- inc/presets/free/blocker/YoutubePreset.php +21 -1
- inc/presets/pro/blocker/OpenStreetMapPreset.php +5 -1
- inc/view/Blocker.php +2 -1
- index.php +1 -1
- public/dist/banner.lite.js +1 -1
- public/dist/banner.lite.js.map +1 -1
- public/dist/blocker.lite.js +0 -1
CHANGELOG.md
CHANGED
@@ -3,6 +3,22 @@
|
|
3 |
All notable changes to this project will be documented in this file.
|
4 |
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
## 2.17.1 (2022-04-29)
|
7 |
|
8 |
|
3 |
All notable changes to this project will be documented in this file.
|
4 |
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5 |
|
6 |
+
## 2.17.2 (2022-05-09)
|
7 |
+
|
8 |
+
|
9 |
+
### fix
|
10 |
+
|
11 |
+
* compatibility with Enfold/Avia video embeds and visual content blockers (CU-2e50h21)
|
12 |
+
* compatibility with OSM - OpenStreetMap plugin (CU-2e512a8)
|
13 |
+
* compatibility with platform.js and YouTube subscribe embed (CU-2dkvyrh)
|
14 |
+
* compatibility with WP Download Codes and download files greater than 50 MB (CU-2e51kwj)
|
15 |
+
* dynamic predecision for GEO-restriction always returned false (CU-2dzb1xr)
|
16 |
+
* listen to URL changes for custom legal links (CU-2dkw9dk)
|
17 |
+
|
18 |
+
|
19 |
+
|
20 |
+
|
21 |
+
|
22 |
## 2.17.1 (2022-04-29)
|
23 |
|
24 |
|
inc/base/others/cachebuster-lib.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<?php
|
2 |
-
/* This file was automatically generated (
|
3 |
return [
|
4 |
'animate.css' => '4.1.1',
|
5 |
'mobx' => '4.15.7',
|
1 |
<?php
|
2 |
+
/* This file was automatically generated (Mon May 09 2022 14:12:24 GMT+0000 (Coordinated Universal Time)). */
|
3 |
return [
|
4 |
'animate.css' => '4.1.1',
|
5 |
'mobx' => '4.15.7',
|
inc/base/others/cachebuster.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<?php
|
2 |
-
/* This file was automatically generated (
|
3 |
return [
|
4 |
'src/public/dist/191.lite.js' => 'c8d9caaa5dd4fd398861a92306f27543',
|
5 |
'src/public/dist/191.pro.js' => '2e2ee3ab225ba72f8877368f2db4b893',
|
@@ -31,17 +31,17 @@ return [
|
|
31 |
'src/public/dist/954.lite.js' => 'ee2cda44e2cd4c19a1f7288055efa5d0',
|
32 |
'src/public/dist/954.pro.js' => 'c39fe799c52c7690d66633725671963f',
|
33 |
'src/public/dist/admin.lite.js' => '016f0665f46a07dfd95f2bd17a2fd99b',
|
34 |
-
'src/public/dist/admin.pro.js' => '
|
35 |
-
'src/public/dist/banner_tcf.pro.js' => '
|
36 |
-
'src/public/dist/banner.lite.js' => '
|
37 |
-
'src/public/dist/banner.pro.js' => '
|
38 |
-
'src/public/dist/blocker_tcf.pro.js' => '
|
39 |
-
'src/public/dist/blocker.lite.js' => '
|
40 |
-
'src/public/dist/blocker.pro.js' => '
|
41 |
'src/public/dist/chunk-config-tab-blocker.lite.js' => 'a91d327211ca5e165107f4158a9da752',
|
42 |
'src/public/dist/chunk-config-tab-blocker.pro.js' => '01a54b916148e4a884a14dcea0d5463d',
|
43 |
'src/public/dist/chunk-config-tab-consent.lite.js' => 'cb9d261cdd16ae1a0d65d6aedd541537',
|
44 |
-
'src/public/dist/chunk-config-tab-consent.pro.js' => '
|
45 |
'src/public/dist/chunk-config-tab-cookies.lite.js' => '3f665830d802d689add48a5fb8eeb691',
|
46 |
'src/public/dist/chunk-config-tab-cookies.pro.js' => '680d91812dd9d6f7351e952231c5a487',
|
47 |
'src/public/dist/chunk-config-tab-dashboard.lite.js' => '6e34efea4643d7067e241b47350ee3a9',
|
@@ -56,8 +56,8 @@ return [
|
|
56 |
'src/public/dist/chunk-config-tab-settings.pro.js' => '91cfc1ca70d8295a064e8b4e2c034cb0',
|
57 |
'src/public/dist/chunk-config-tab-tcf.lite.js' => '6365310df181df3e606648c820281492',
|
58 |
'src/public/dist/chunk-config-tab-tcf.pro.js' => 'e1c180231e480c84449cd51dcac15d54',
|
59 |
-
'src/public/dist/customize_banner.lite.js' => '
|
60 |
-
'src/public/dist/customize_banner.pro.js' => '
|
61 |
'src/public/dist/customize.lite.js' => '05d74189554997b77f7049af1fa8619e',
|
62 |
'src/public/dist/customize.pro.js' => 'bce84f6f966d8297db027082a13b4de7',
|
63 |
'src/public/dist/queue.lite.js' => '7b9c552c5049e1b529155a7c01b25aef',
|
1 |
<?php
|
2 |
+
/* This file was automatically generated (Mon May 09 2022 14:12:24 GMT+0000 (Coordinated Universal Time)). */
|
3 |
return [
|
4 |
'src/public/dist/191.lite.js' => 'c8d9caaa5dd4fd398861a92306f27543',
|
5 |
'src/public/dist/191.pro.js' => '2e2ee3ab225ba72f8877368f2db4b893',
|
31 |
'src/public/dist/954.lite.js' => 'ee2cda44e2cd4c19a1f7288055efa5d0',
|
32 |
'src/public/dist/954.pro.js' => 'c39fe799c52c7690d66633725671963f',
|
33 |
'src/public/dist/admin.lite.js' => '016f0665f46a07dfd95f2bd17a2fd99b',
|
34 |
+
'src/public/dist/admin.pro.js' => '4b1eac6e2acff0fb58398d868bb7b6b3',
|
35 |
+
'src/public/dist/banner_tcf.pro.js' => 'b6a82e53a259f84e77b3bf4094d21991',
|
36 |
+
'src/public/dist/banner.lite.js' => 'faa4cd580bc811b93cc38d8df1d34976',
|
37 |
+
'src/public/dist/banner.pro.js' => '3e4e7c4cef7ad970d08dc45e82c56d6d',
|
38 |
+
'src/public/dist/blocker_tcf.pro.js' => '3055e589746a5d2a267083dacfac866b',
|
39 |
+
'src/public/dist/blocker.lite.js' => '4090164e3630c1f9fcf212ff770c1751',
|
40 |
+
'src/public/dist/blocker.pro.js' => 'dbee98ba5a8cae8d039bbcafde6cde6c',
|
41 |
'src/public/dist/chunk-config-tab-blocker.lite.js' => 'a91d327211ca5e165107f4158a9da752',
|
42 |
'src/public/dist/chunk-config-tab-blocker.pro.js' => '01a54b916148e4a884a14dcea0d5463d',
|
43 |
'src/public/dist/chunk-config-tab-consent.lite.js' => 'cb9d261cdd16ae1a0d65d6aedd541537',
|
44 |
+
'src/public/dist/chunk-config-tab-consent.pro.js' => 'd47ff04936b498af4d98d6a4933178e7',
|
45 |
'src/public/dist/chunk-config-tab-cookies.lite.js' => '3f665830d802d689add48a5fb8eeb691',
|
46 |
'src/public/dist/chunk-config-tab-cookies.pro.js' => '680d91812dd9d6f7351e952231c5a487',
|
47 |
'src/public/dist/chunk-config-tab-dashboard.lite.js' => '6e34efea4643d7067e241b47350ee3a9',
|
56 |
'src/public/dist/chunk-config-tab-settings.pro.js' => '91cfc1ca70d8295a064e8b4e2c034cb0',
|
57 |
'src/public/dist/chunk-config-tab-tcf.lite.js' => '6365310df181df3e606648c820281492',
|
58 |
'src/public/dist/chunk-config-tab-tcf.pro.js' => 'e1c180231e480c84449cd51dcac15d54',
|
59 |
+
'src/public/dist/customize_banner.lite.js' => 'b31ab1c74a3cbf73df6886c1f5f1de97',
|
60 |
+
'src/public/dist/customize_banner.pro.js' => '87ba8fbee6b877c8f16a95117116d143',
|
61 |
'src/public/dist/customize.lite.js' => '05d74189554997b77f7049af1fa8619e',
|
62 |
'src/public/dist/customize.pro.js' => 'bce84f6f966d8297db027082a13b4de7',
|
63 |
'src/public/dist/queue.lite.js' => '7b9c552c5049e1b529155a7c01b25aef',
|
inc/presets/free/blocker/YoutubePreset.php
CHANGED
@@ -5,6 +5,7 @@ namespace DevOwl\RealCookieBanner\presets\free\blocker;
|
|
5 |
use DevOwl\RealCookieBanner\Core;
|
6 |
use DevOwl\RealCookieBanner\presets\AbstractBlockerPreset;
|
7 |
use DevOwl\RealCookieBanner\presets\free\YoutubePreset as FreeYoutubePreset;
|
|
|
8 |
// @codeCoverageIgnoreStart
|
9 |
\defined('ABSPATH') or die('No script kiddies please!');
|
10 |
// Avoid direct file request
|
@@ -14,6 +15,8 @@ use DevOwl\RealCookieBanner\presets\free\YoutubePreset as FreeYoutubePreset;
|
|
14 |
*/
|
15 |
class YoutubePreset extends \DevOwl\RealCookieBanner\presets\AbstractBlockerPreset {
|
16 |
const IDENTIFIER = \DevOwl\RealCookieBanner\presets\free\YoutubePreset::IDENTIFIER;
|
|
|
|
|
17 |
const VERSION = 2;
|
18 |
// Documented in AbstractPreset
|
19 |
public function common() {
|
@@ -30,12 +33,29 @@ class YoutubePreset extends \DevOwl\RealCookieBanner\presets\AbstractBlockerPres
|
|
30 |
'*youtu.be*',
|
31 |
'*youtube-nocookie.com*',
|
32 |
'*ytimg.com*',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
'*youtube.com/subscribe_embed*',
|
34 |
// [Plugin Comp] Elementor
|
35 |
'div[data-settings*="youtube_url"]',
|
36 |
// [Plugin Comp] Ultimate Addons for Elementor
|
37 |
'script[id="uael-video-subscribe-js"]',
|
38 |
-
'div[class*="g-ytsubscribe"]',
|
39 |
// [Plugin Comp] Premium Addons for Elementor
|
40 |
'div[class*="elementor-widget-premium-addon-video-box"][data-settings*="youtube"]',
|
41 |
// [Plugin Comp] tagDiv Composer
|
5 |
use DevOwl\RealCookieBanner\Core;
|
6 |
use DevOwl\RealCookieBanner\presets\AbstractBlockerPreset;
|
7 |
use DevOwl\RealCookieBanner\presets\free\YoutubePreset as FreeYoutubePreset;
|
8 |
+
use DevOwl\RealCookieBanner\presets\middleware\BlockerHostsOptionsMiddleware;
|
9 |
// @codeCoverageIgnoreStart
|
10 |
\defined('ABSPATH') or die('No script kiddies please!');
|
11 |
// Avoid direct file request
|
15 |
*/
|
16 |
class YoutubePreset extends \DevOwl\RealCookieBanner\presets\AbstractBlockerPreset {
|
17 |
const IDENTIFIER = \DevOwl\RealCookieBanner\presets\free\YoutubePreset::IDENTIFIER;
|
18 |
+
const HOSTS_GROUP_PLATFORM_JS_NAME = 'platform-js';
|
19 |
+
const HOSTS_GROUP_SUBSCRIBE_EMBED_PLATFORM_JS_NAME = 'subscribe-embed-platform-js';
|
20 |
const VERSION = 2;
|
21 |
// Documented in AbstractPreset
|
22 |
public function common() {
|
33 |
'*youtu.be*',
|
34 |
'*youtube-nocookie.com*',
|
35 |
'*ytimg.com*',
|
36 |
+
// platform.js needs to be implemented together with `div[class*="g-ytsubscribe"]`...
|
37 |
+
[
|
38 |
+
'*apis.google.com/js/platform.js*',
|
39 |
+
[
|
40 |
+
\DevOwl\RealCookieBanner\presets\middleware\BlockerHostsOptionsMiddleware::LOGICAL_MUST =>
|
41 |
+
self::HOSTS_GROUP_PLATFORM_JS_NAME
|
42 |
+
]
|
43 |
+
],
|
44 |
+
[
|
45 |
+
'div[class*="g-ytsubscribe"]',
|
46 |
+
[
|
47 |
+
\DevOwl\RealCookieBanner\presets\middleware\BlockerHostsOptionsMiddleware::LOGICAL_MUST => [
|
48 |
+
// ... but `div[class*="g-ytsubscribe"]` can also be standalone
|
49 |
+
self::HOSTS_GROUP_PLATFORM_JS_NAME,
|
50 |
+
self::HOSTS_GROUP_SUBSCRIBE_EMBED_PLATFORM_JS_NAME
|
51 |
+
]
|
52 |
+
]
|
53 |
+
],
|
54 |
'*youtube.com/subscribe_embed*',
|
55 |
// [Plugin Comp] Elementor
|
56 |
'div[data-settings*="youtube_url"]',
|
57 |
// [Plugin Comp] Ultimate Addons for Elementor
|
58 |
'script[id="uael-video-subscribe-js"]',
|
|
|
59 |
// [Plugin Comp] Premium Addons for Elementor
|
60 |
'div[class*="elementor-widget-premium-addon-video-box"][data-settings*="youtube"]',
|
61 |
// [Plugin Comp] tagDiv Composer
|
inc/presets/pro/blocker/OpenStreetMapPreset.php
CHANGED
@@ -32,7 +32,11 @@ class OpenStreetMapPreset extends \DevOwl\RealCookieBanner\presets\AbstractBlock
|
|
32 |
'*wp-content/plugins/leaflet-map*',
|
33 |
'window.WPLeafletMapPlugin.push',
|
34 |
// [Plugin Comp] https://de.wordpress.org/plugins/ultimate-maps-by-supsystic/
|
35 |
-
'div[class*="ums_map_opts"]'
|
|
|
|
|
|
|
|
|
36 |
]
|
37 |
],
|
38 |
'logoFile' => \DevOwl\RealCookieBanner\Core::getInstance()->getBaseAssetsUrl('logos/openstreetmap.png')
|
32 |
'*wp-content/plugins/leaflet-map*',
|
33 |
'window.WPLeafletMapPlugin.push',
|
34 |
// [Plugin Comp] https://de.wordpress.org/plugins/ultimate-maps-by-supsystic/
|
35 |
+
'div[class*="ums_map_opts"]',
|
36 |
+
// [Plugin Comp] https://wordpress.org/plugins/osm/
|
37 |
+
'*/wp-content/plugins/osm/js/*',
|
38 |
+
'div[id^="map_ol3js_"]',
|
39 |
+
'target: "map_ol3js_'
|
40 |
]
|
41 |
],
|
42 |
'logoFile' => \DevOwl\RealCookieBanner\Core::getInstance()->getBaseAssetsUrl('logos/openstreetmap.png')
|
inc/view/Blocker.php
CHANGED
@@ -261,7 +261,8 @@ class Blocker {
|
|
261 |
*
|
262 |
*/
|
263 |
protected function isCurrentRequestException() {
|
264 |
-
return isset($_GET['callback']) && $_GET['callback'] === 'map-iframe'
|
|
|
265 |
}
|
266 |
/**
|
267 |
* Allows to modify content within a `admin-ajax.php` action.
|
261 |
*
|
262 |
*/
|
263 |
protected function isCurrentRequestException() {
|
264 |
+
return (isset($_GET['callback']) && $_GET['callback'] === 'map-iframe') ||
|
265 |
+
(isset($_GET['lease']) && \preg_match('/^[a-f0-9]{32}$/i', $_GET['lease']));
|
266 |
}
|
267 |
/**
|
268 |
* Allows to modify content within a `admin-ajax.php` action.
|
index.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Description: Obtain GDPR (DSGVO) and ePrivacy (EU cookie law) compliant opt-in consent. Find cookies and fill all legal information in your cookie banner. More than just a cookie notice!
|
9 |
* Author: devowl.io
|
10 |
* Author URI: https://devowl.io
|
11 |
-
* Version: 2.17.
|
12 |
* Text Domain: real-cookie-banner
|
13 |
* Domain Path: /languages
|
14 |
*/
|
8 |
* Description: Obtain GDPR (DSGVO) and ePrivacy (EU cookie law) compliant opt-in consent. Find cookies and fill all legal information in your cookie banner. More than just a cookie notice!
|
9 |
* Author: devowl.io
|
10 |
* Author URI: https://devowl.io
|
11 |
+
* Version: 2.17.2
|
12 |
* Text Domain: real-cookie-banner
|
13 |
* Domain Path: /languages
|
14 |
*/
|
public/dist/banner.lite.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
var realCookieBanner_banner;!function(){var t,e={2891:function(t,e,n){"use strict";n.d(e,{c:function(){return o}});var r=/{{([A-Za-z0-9_]+)}}/gm;function o(t,e){return t.replace(r,(function(t,n){return Object.prototype.hasOwnProperty.call(e,n)?e[n]:t}))}},4548:function(t,e,n){"use strict";n.d(e,{jb:function(){return r},zm:function(){return o},rG:function(){return i},d3:function(){return a},_W:function(){return c},NY:function(){return s},He:function(){return u},i7:function(){return l},Ng:function(){return d},CT:function(){return f},v4:function(){return p},YO:function(){return h},Gn:function(){return v},Ti:function(){return m},Ks:function(){return b},dW:function(){return g},Kh:function(){return y},Wm:function(){return x},Qt:function(){return k},of:function(){return w},fq:function(){return C},WK:function(){return S},jk:function(){return A},Kx:function(){return O}});var r="consent-original",o="consent-click-original",i="_",a="consent-by",c="consent-required",s="consent-visual-use-parent",u="consent-visual-paint-mode",l="consent-inline",d="consent-inline-style",f="consent-id",p="script",h="consent-blocker-connected",v="consent-blocker-connected-pres",m="consent-transaction-complete",b="consent-transform-wrapper",g="1",y="consent-strict-hidden",x="consent-cb-reset-parent",k="1",w="consent-cb-reset-parent-is-ratio",C="consent-got-clicked",S="1",A="2",O="consent-thumbnail"},6346:function(t,e,n){"use strict";n.d(e,{L:function(){return s},K:function(){return u}});var r=n(9749),o=n.n(r),i=n(2891),a=n(7033),c=n(55).default,s="rcbInitiatorOnload";function u(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document.body;return new c((function(r){t?o()(n,(0,i.c)(t,e),{done:r,error:function(t){console.error(t)},beforeWriteToken:function(t){var e=t.attrs,n=t.booleanAttrs,r=t.src,o=t.href,i=t.content;if(null!=n&&n["skip-write"])return!1;for(var c in i&&(t.content=i.replace(/window\.onload\s+=/g,"window.".concat(s," ="))),e)if(e[c]=(0,a.l)(e[c]),"unique-write-name"===c&&document.querySelector('[unique-write-name="'.concat(e[c],'"]')))return!1;return r&&(t.src=(0,a.l)(r)),o&&(t.href=(0,a.l)(o)),t}}):r()}))}},3102:function(t,e,n){"use strict";n.d(e,{T:function(){return r}});var r="RCB/OptIn/ContentBlocker"},3743:function(t,e,n){"use strict";function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;setTimeout((function(){try{window.dispatchEvent(new Event("resize"))}catch(t){}}),t)}n.d(e,{s:function(){return r}})},7033:function(t,e,n){"use strict";n.d(e,{l:function(){return o}});var r=n(3137);function o(t){var e;return(0,r.C)(t)?null===(e=(new DOMParser).parseFromString('<a href="'.concat(t,'"></a>'),"text/html").querySelector("a"))||void 0===e?void 0:e.href:(new DOMParser).parseFromString(t,"text/html").documentElement.textContent}},3137:function(t,e,n){"use strict";function r(t){return!!/^(?:(?:https?|ftp):\/\/)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:\/\S*)?$/.test(t)}n.d(e,{C:function(){return r}})},9586:function(t,e,n){"use strict";n.d(e,{w:function(){return o}});var r=n(7932);function o(t,e){for(var n=[],o=t.parentElement;null!==o;)o.nodeType===Node.ELEMENT_NODE&&(0,r.D)(o,e)&&n.push(o),o=o.parentElement;return n}},7932:function(t,e,n){"use strict";function r(t,e){var n="undefined"!=typeof Element?Element.prototype:{},r=n.matches||n.matchesSelector||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector;if(!t||1!==t.nodeType||!t.parentElement)return!1;if(r)return r.call(t,e);var o=t.parentElement.querySelectorAll(e);for(var i in o)if(o[i]===t)return!0;return!1}n.d(e,{D:function(){return r}})},3075:function(t,e,n){"use strict";n.d(e,{D:function(){return Z}});var r=n(2711),o=n(7938),i=n(5450),a=n.n(i),c=n(4742),s=n.n(c),u=n(4312),l=n(6811),d=n(5566),f=n.n(d);function p(t){for(var e=t.location,n=t.params,r=void 0===n?{}:n,o=t.nonce,i=void 0===o||o,a=t.options,c=new(s())(a.restRoot,!0),d=c.query,p=d.rest_route||c.pathname,h=[],v=e.path.replace(/:([A-Za-z0-9-_]+)/g,(function(t,e){return h.push(e),r[e]})),m={},b=0,g=Object.keys(r);b<g.length;b++){var y=g[b];-1===h.indexOf(y)&&(m[y]=r[y])}var x=(0,u.Ab)(p)+(0,u.XO)(e.namespace||a.restNamespace)+v,k=new(s())(window.location.href).protocol.slice(0,-1);c.set("protocol",k),d.rest_route?d.rest_route=x:c.set("pathname",x),i&&a.restNonce&&(d._wpnonce=a.restNonce);var w=c.toString();return["wp-json/","rest_route="].filter((function(t){return w.indexOf(t)>-1})).length>0&&e.method&&e.method!==l.O.GET&&(d._method=e.method),c.set("query",f().all([a.restQuery,m,d])).toString()}var h=n(55).default,v=n(9448).default,m={},b={};function g(t,e){return y.apply(this,arguments)}function y(){return y=(0,o.Z)(a().mark((function t(e,n){var r,i;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===n){t.next=6;break}return r=b[e]||new h(function(){var t=(0,o.Z)(a().mark((function t(r,o){var i,c;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,v(n);case 3:if(!(i=t.sent).ok){t.next=11;break}return t.next=7,i.text();case 7:c=t.sent,e===c?o():(m[e]=c,r(c)),t.next=12;break;case 11:o();case 12:t.next=17;break;case 14:t.prev=14,t.t0=t.catch(0),o();case 17:case"end":return t.stop()}}),t,null,[[0,14]])})));return function(e,n){return t.apply(this,arguments)}}()),b[e]=r,t.abrupt("return",r);case 6:if(void 0!==e){t.next=8;break}return t.abrupt("return",void 0);case 8:return t.next=10,h.all(Object.values(b));case 10:i=e;case 11:if(!m[i]){t.next=17;break}if(i=m[i],m[i]!==e){t.next=15;break}return t.abrupt("break",17);case 15:t.next=11;break;case 17:return t.abrupt("return",h.resolve(i));case 18:case"end":return t.stop()}}),t)}))),y.apply(this,arguments)}var x=n(38);function k(t,e,n){return w.apply(this,arguments)}function w(){return(w=(0,o.Z)(a().mark((function t(e,n,r){var o,i,c,s,u,d;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=n.clone(),t.prev=1,t.next=4,n.json();case 4:return t.abrupt("return",t.sent);case 7:return t.prev=7,t.t0=t.catch(1),t.next=11,o.text();case 11:if(!(""===(i=t.sent)&&[l.O.DELETE,l.O.PUT].indexOf(r)>-1)){t.next=14;break}return t.abrupt("return",void 0);case 14:console.warn("The response of ".concat(e," contains unexpected JSON, try to resolve the JSON line by line..."),{body:i}),s=(0,x.Z)(i.split("\n")),t.prev=16,s.s();case 18:if((u=s.n()).done){t.next=30;break}if(!(d=u.value).startsWith("[")&&!d.startsWith("{")){t.next=28;break}return t.prev=21,t.abrupt("return",JSON.parse(d));case 25:t.prev=25,t.t1=t.catch(21),c=t.t1;case 28:t.next=18;break;case 30:t.next=35;break;case 32:t.prev=32,t.t2=t.catch(16),s.e(t.t2);case 35:return t.prev=35,s.f(),t.finish(35);case 38:throw c;case 39:case"end":return t.stop()}}),t,null,[[1,7],[16,32,35,38],[21,25]])})))).apply(this,arguments)}var C=n(2680),S=n.n(C),A=n(9448).default,O="application/json;charset=utf-8";function Z(t){return E.apply(this,arguments)}function E(){return(E=(0,o.Z)(a().mark((function t(e){var n,o,i,c,u,d,h,v,m,b,y,x,w,C,E,I,B,T,D,N,P,R,z;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.location,o=e.options,i=e.request,c=e.params,u=e.settings,d=void 0===u?{}:u,h=e.multipart,v=void 0!==h&&h,m=e.sendRestNonce,b=void 0===m||m,y=p({location:n,params:c,nonce:!1,options:o}),["wp-json/","rest_route="].filter((function(t){return y.indexOf(t)>-1})).length>0&&n.method&&n.method!==l.O.GET?d.method=l.O.POST:d.method=n.method||l.O.GET,x=new(s())(y,!0),!(w=-1===["HEAD","GET"].indexOf(d.method))&&i&&x.set("query",f()(x.query,i)),w&&(C=v?S()(i,"boolean"==typeof v?{}:v):JSON.stringify(i)),t.next=9,g(o.restNonce);case 9:return E=t.sent,I=void 0!==E,(B=f().all([d,{headers:(0,r.Z)((0,r.Z)((0,r.Z)({},"string"==typeof C?{"Content-Type":O}:{}),I&&b?{"X-WP-Nonce":E}:{}),{},{Accept:"application/json, */*;q=0.1"})}])).body=C,T=x.toString(),t.next=16,A(T,B);case 16:if((D=t.sent).ok){t.next=47;break}return N=void 0,P=!1,t.prev=20,t.next=23,k(T,D,n.method);case 23:if("private_site"===(N=t.sent).code&&403===D.status&&I&&!b&&(P=!0),"rest_cookie_invalid_nonce"!==N.code||!I){t.next=35;break}return R=o.restRecreateNonceEndpoint,t.prev=27,t.next=30,g(E,R);case 30:P=!0,t.next=35;break;case 33:t.prev=33,t.t0=t.catch(27);case 35:t.next=39;break;case 37:t.prev=37,t.t1=t.catch(20);case 39:if(!P){t.next=43;break}return t.next=42,Z({location:n,options:o,multipart:v,params:c,request:i,sendRestNonce:!0,settings:d});case 42:return t.abrupt("return",t.sent);case 43:throw d.method===l.O.GET&&(window.detectCorruptRestApiFailed=(window.detectCorruptRestApiFailed||0)+1),(z=D).responseJSON=N,z;case 47:return t.abrupt("return",k(T,D,n.method));case 48:case"end":return t.stop()}}),t,null,[[20,37],[27,33]])})))).apply(this,arguments)}},6811:function(t,e,n){"use strict";var r;n.d(e,{O:function(){return r}}),function(t){t.GET="GET",t.POST="POST",t.PUT="PUT",t.DELETE="DELETE",t.PATCH="PATCH"}(r||(r={}))},4312:function(t,e,n){"use strict";n.d(e,{XO:function(){return r},Ab:function(){return o},sE:function(){return i}});var r=function t(e){return e.endsWith("/")||e.endsWith("\\")?t(e.slice(0,-1)):e},o=function(t){return"".concat(r(t),"/")},i=function(t){var e=window[t.slug.replace(/-([a-z])/g,(function(t){return t[1].toUpperCase()}))];return"".concat(e.publicUrl).concat(e.chunkFolder,"/")}},9302:function(t,e,n){"use strict";n.d(e,{h:function(){return u}});var r=n(38),o=n(3438),i=n(4559),a=n(4548),c=n(3102),s=n(55).default;function u(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.createElement("div");return new s((function(n){var s,u,l=(0,o.u)().blocker,d=!e.parentElement,f=(0,r.Z)(l);try{t:for(f.s();!(u=f.n()).done;){var p,h=u.value,v=h.hosts,m=(0,r.Z)(v);try{for(m.s();!(p=m.n()).done;){var b=p.value,g=(0,i.D)(b);if(t.match(g)){s=h;break t}}}catch(t){m.e(t)}finally{m.f()}}}catch(t){f.e(t)}finally{f.f()}s?(e.setAttribute(a.d3,"cookies"),e.setAttribute(a._W,s.cookies.join(",")),e.setAttribute(a.CT,s.id.toString()),e.addEventListener(c.T,(function(){d&&e.remove(),n()})),d&&document.body.appendChild(e)):n()}))}},4773:function(t,e,n){"use strict";n.r(e),n.d(e,{consent:function(){return Oe},consentAll:function(){return Ie},consentSync:function(){return Se},unblock:function(){return ke.h}});var r={};n.r(r),n.d(r,{consent:function(){return Oe},consentAll:function(){return Ie},consentSync:function(){return Se},unblock:function(){return ke.h}});var o=n(5213),i=n(2711),a=n(7663),c=n(4741),s=n(63);function u(t,e,n,r){return t.enabled,t.scalePercent,t.scalePercentVertical,n}function l(t){var e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return e?{r:parseInt(e[1],16),g:parseInt(e[2],16),b:parseInt(e[3],16)}:null}function d(t,e){var n=l(t),r=n.r,o=n.g,i=n.b;return"rgba(".concat(r,", ").concat(o,", ").concat(i,", ").concat(e/100,")")}var f=n(4115),p=n(38),h=n(2816);function v(){var t=(0,h.S)(),e=t.individualPrivacyOpen,n=t.onSave,r=t.updateGroupChecked,a=t.updateCookieChecked,c=t.groups,s=t.essentialGroup,u=t.updateIndividualPrivacyOpen,l=t.activeAction,d=t.onClose,f=e?"ind_all":"main_all",v=e?"ind_essential":"main_essential",m=e?"ind_close_icon":"main_close_icon",b=e?"ind_custom":"main_custom",g={buttonClickedAll:f,buttonClickedEssentials:v,buttonClickedCloseIcon:m,buttonClickedCustom:b,acceptAll:(0,o.I4)((function(){c.forEach((function(t){return r(t.id,!0)})),n(!1,f)}),[f]),acceptEssentials:(0,o.I4)((function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];c.forEach((function(t){var e=t.slug,n=t.id,o=t.items;if(e===s)r(n,!0);else{var i,c=(0,p.Z)(o);try{for(c.s();!(i=c.n()).done;){var u=i.value,l=u.legalBasis,d=u.id;a(n,d,"legitimate-interest"===l)}}catch(t){c.e(t)}finally{c.f()}}})),n(!1,t?m:v)}),[v]),acceptIndividual:(0,o.I4)((function(){return n(!1,b)}),[b]),openIndividualPrivacy:(0,o.I4)((function(){u(!0)}),[u])};return(0,i.Z)((0,i.Z)({},g),{},{closeIcon:(0,o.I4)((function(){l?d():g.acceptEssentials(!0)}),[l,d,g.acceptEssentials])})}var m=n(3438),b=n(9913),g=n(7778),y=function(t){var e=t.children,n=t.className,r=t.tag,i=void 0===r?"div":r,c=t.renderInContainer,s=(0,o.eJ)((function(){var t=document.createElement(i);return n&&t.classList.add(n),t})),u=(0,a.Z)(s,1)[0];return(0,o.d4)((function(){return document.body.appendChild(u),function(){document.body.removeChild(u)}}),[]),(0,o.jz)(e,c||u)},x=n(6161),k=n(7029).h,w=0,C=function(t){var e=t.width,n=t.color,r=t.tooltipText,i=t.framed,a=t.renderInContainer,c=t.tooltipAlways,s=t.onClick,u=t.thickness,l=void 0===u?1:u,d=(0,o.Ye)((function(){return"react-close-icon-".concat((w++).toString(36))}),[]),f=(0,o.Ye)((function(){return"react-close-icon-".concat((w++).toString(36))}),[]),p=(0,o.Ye)((function(){return"react-close-icon-".concat((w++).toString(36))}),[]),h=(0,o.sO)(),v=(0,g.EL)(h);return(0,b.G)("#".concat(p,", #").concat(d," {\n position: absolute;\n top: 50%;\n right: 0;\n margin-top: calc(").concat(e,"px / 2 * -1);\n display: block;\n width: ").concat(e,"px;\n height: ").concat(e,"px; \n pointer-events: none;\n}\n\n#").concat(d," {\n position: absolute !important;\n}\n\n#").concat(d,", #").concat(f," {\n cursor: pointer;\n pointer-events: all;\n ").concat(i?"outline: rgb(255, 94, 94) solid 5px;":"","\n}\n\n#").concat(f," {\n position: fixed !important;\n ").concat(v?"top: ".concat(v.y,"px;left: ").concat(v.x,"px;display:block;"):"display:none;","\n width: ").concat(e,"px;\n height: ").concat(e,"px;\n z-index: 99;\n}\n#").concat(f,":after, #").concat(d,":after {\n width: auto !important;\n white-space: nowrap !important;\n}\n#").concat(f,">span:before, #").concat(f,">span:after,\n#").concat(d,">span:before, #").concat(d,">span:after {\n position: absolute;\n top: 50%;\n left: 50%;\n width: ").concat(l,"px;\n height: ").concat(e,"px;\n background-color: ").concat(n,";\n transform: rotate(45deg) translate(-50%, -50%);\n transform-origin: top left;\n transition: all 420ms;\n content: '';\n opacity: 0.5;\n pointer-events: none;\n}\n#").concat(f,">span:after,\n#").concat(d,">span:after {\n transform: rotate(-45deg) translate(-50%, -50%);\n}\n#").concat(f,">span:hover:before, #").concat(f,">span:hover:after,\n#").concat(d,">span:hover:before, #").concat(d,">span:hover:after {\n opacity: 1;\n width: ").concat(l+1,"px;\n}")),a?k(o.HY,null,k("div",{id:p,ref:h}),(null==v?void 0:v.y)>0&&k(y,{renderInContainer:a},k(x.z,{title:r,id:f,onClick:s,position:v.y>50?"top-left":"left",always:c},k("span",null)))):k(x.z,{title:r,id:d,onClick:s,position:"top-left",always:c},k("span",null))},S=n(7029).h,A=function(){var t=(0,h.S)(),e=t.headerDesign,n=e.fontSize,r=e.fontColor,o=t.texts.acceptEssentials,i=t.mobile,a=t.activeAction,c=t.pageRequestUuid4,s=t.buttonClicked,l=void 0===s?"":s,d=v(),f=d.buttonClickedCloseIcon,p=d.closeIcon,b=(0,m.u)().bannerI18n,g=b.close,y=b.closeWithoutSaving,x=document.getElementById(c);return S(C,{width:u(i,0,n),color:r,tooltipText:a?"change"===a?y:g:o,tooltipAlways:(null==x?void 0:x.clientWidth)<700,framed:l===f,renderInContainer:x,onClick:p})},O=n(7029).h,Z=(0,o.Gp)((function(t,e){var n,r,o,a,s,l,d,p,v,b,g,y,x,k,w,C,S,Z=(0,h.S)(),E=Z.headerDesign,I=E.logo,B=E.logoRetina,T=Z.decision.showCloseIcon,D=Z.texts.headline,N=Z.activeAction,P=Z.individualPrivacyOpen,R=Z.individualTexts,z=(0,m.u)().bannerI18n.headerTitlePrivacyPolicyHistory,L=B&&!(null!=I&&I.endsWith(".svg"))&&window.devicePixelRatio>1,W=L?B:I,_=P?"history"===N?z:R.headline:D;return O("div",(0,c.Z)({ref:e},(o=(r=(n=Z).layout).type,a=r.dialogBorderRadius,l=(s=n.design).borderWidth,d=s.borderColor,p=(0,f.Z)(s,["borderWidth","borderColor"]),b=(v=n.headerDesign).inheritBg,g=v.bg,y=v.padding,x=n.customCss.antiAdBlocker,k=n.mobile,n.pageRequestUuid4,w=u(k,0,o),C=u(k,0,l),S={padding:u(k,0,y,0).map((function(t){return"".concat(t,"px")})).join(" "),background:b?p.bg:g,borderRadius:"dialog"===w?"".concat(a,"px ").concat(a,"px 0 0"):void 0,position:"sticky",zIndex:9,top:0},"dialog"===w&&C>0&&(S.borderTop="".concat(C,"px solid ").concat(d),S.borderLeft=S.borderTop,S.borderRight=S.borderTop),{className:"y"===x?void 0:"rcb-header-container",style:S})),O("div",function(t){var e=t.layout,n=e.type,r=e.bannerMaxWidth,o=t.design.textAlign,i=t.headerDesign,a=i.inheritTextAlign,c=i.logo,s=i.logoPosition,l=(0,f.Z)(i,["inheritTextAlign","logo","logoPosition"]),d=t.texts.headline,p=t.individualLayout,h=t.customCss.antiAdBlocker,v=t.mobile,m=(t.pageRequestUuid4,t.individualPrivacyOpen),b=a?o:l.textAlign;return{className:"y"===h?void 0:"rcb-header",style:{transition:"width 500ms, max-width 500ms",maxWidth:"banner"===u(v,0,n)?+(m&&!p.inheritBannerMaxWidth?p.bannerMaxWidth:r):void 0,margin:"auto",display:"flex",justifyContent:"center"===b?"center":"right"===b?"flex-end":void 0,textAlign:b,alignItems:"center",position:"relative",flexDirection:c&&d?"left"===s?"row":"right"===s?"row-reverse":"column":void 0}}}(Z),!!W&&O("img",(0,c.Z)({alt:"",src:W},function(t,e){var n=t.headerDesign,r=n.logoMaxHeight,o=n.logoMargin,a=n.logoFitDim,c=n.logoRetinaFitDim,s=t.customCss.antiAdBlocker,l=t.mobile,d=(t.pageRequestUuid4,e?c:a),f=d?{width:d[0],height:d[1]}:{width:"auto",height:u(l,0,+r)};return{className:"y"===s?void 0:"rcb-logo",style:(0,i.Z)((0,i.Z)({},f),{},{margin:u(l,0,o).map((function(t){return"".concat(t,"px")})).join(" ")})}}(Z,L))),!!_&&O("div",function(t){var e=t.headerDesign,n=e.fontSize,r=e.fontColor,o=e.fontInheritFamily,i=e.fontFamily,a=e.fontWeight;return{className:"y"===t.customCss.antiAdBlocker?void 0:"rcb-headline",style:{color:r,fontSize:u(t.mobile,t.pageRequestUuid4,+n),fontFamily:o?void 0:i,fontWeight:a}}}(Z),_),(!!T||!!N)&&O(A,null)))})),E=n(7029).h,I=function(t){var e=t.title,n=t.children,r=(0,h.S)();return E("div",function(t){var e=t.group,n=e.headlineFontSize,r=e.headlineFontColor,o=e.headlineFontWeight;return{className:"y"===t.customCss.antiAdBlocker?void 0:"rcb-group",style:{color:r,fontSize:u(t.mobile,t.pageRequestUuid4,n),fontWeight:o,textAlign:"left"}}}(r),e,n&&E("div",function(t){var e=t.design.fontWeight,n=t.group,r=n.descriptionFontColor,o=n.descriptionFontSize;return{className:"y"===t.customCss.antiAdBlocker?void 0:"rcb-group-description",style:{color:r,fontSize:u(t.mobile,t.pageRequestUuid4,+o),fontWeight:e,marginTop:5}}}(r),n))};function B(t,e,n,r,o){var i=t.layout.borderRadius,a=t.group,c=a.headlineFontSize,s=a.checkboxBg,l=a.checkboxBorderWidth,d=a.checkboxBorderColor,f=a.checkboxActiveBg,p=a.checkboxActiveBorderColor,h=a.checkboxActiveColor,v=t.customCss.antiAdBlocker,m=t.mobile,b=(t.pageRequestUuid4,u(m,0,o||c)),g=u(m,0,+l),y=+b+2*g+6;return{className:"y"===v?void 0:"rcb-checkbox",style:{cursor:r?"not-allowed":"pointer",opacity:r?.5:void 0,color:n?h:s,display:e?"inline-block":"none",background:n?f:s,border:"".concat(g,"px solid ").concat(n?p:d),padding:3,height:y,width:y,marginRight:10,borderRadius:+i,verticalAlign:"middle",lineHeight:0,boxSizing:"border-box"}}}function T(t,e){var n=t.design.linkTextDecoration,r=t.group,o=r.linkColor,i=r.linkHoverColor;return{className:"y"===t.customCss.antiAdBlocker?void 0:"rcb-group-more",style:{color:e?i:o,textDecoration:n}}}var D=n(3137),N=n(7029).h,P=function(t){var e=t.label,n=t.value,r=t.children,o=(0,h.S)(),a="string"==typeof n&&(0,D.C)(n)?N("a",{href:n,style:(0,i.Z)({wordBreak:"break-all"},T(o,!1).style),target:"_blank",rel:"noopener noreferrer"},n):"string"==typeof n?N("span",{dangerouslySetInnerHTML:{__html:n}}):n;return N("div",(0,c.Z)({key:e},function(t){var e=t.group,n=e.groupBorderWidth,r=e.groupBorderColor;return{className:"y"===t.customCss.antiAdBlocker?void 0:"rcb-cookie-prop",style:{borderLeft:u(t.mobile,t.pageRequestUuid4,n)>0?"1px solid ".concat(r):void 0,paddingLeft:15}}}(o)),e&&N("strong",null,e,": "),a,!!r&&N("div",null,r))},R=n(1802),z=n(3282),L=n(569),W=n(2891),_=n(7029).h,H=function(t){var e,n=t.group,r=t.cookie,i=r.id,s=r.name,u=r.purpose,l=r.provider,d=r.providerPrivacyPolicy,f=r.legalBasis,p=r.ePrivacyUSA,v=r.noTechnicalDefinitions,b=r.technicalDefinitions,g=r.codeDynamics,y=(0,o.eJ)(!1),x=(0,a.Z)(y,2),k=x[0],w=x[1],C=(0,h.S)(),S=C.ePrivacyUSA,A=C.group.descriptionFontSize,O=C.consent,Z=C.activeAction,E=C.essentialGroup,I=(0,m.u)().bannerI18n,T=(0,R.w)();(0,o.bt)((function(){w(!0)}),[]);var D=E===n.slug,N=D||"history"===Z,H=D||((null===(e=O.groups)||void 0===e?void 0:e[n.id])||[]).some((function(t){return t===i})),Y=(0,o.I4)((function(){return!N&&C.updateCookieChecked(n.id,i,!H)}),[N,C,n,i,H]);return _("div",function(t){return{className:"y"===t.customCss.antiAdBlocker?void 0:"rcb-cookie",style:{marginTop:10}}}(C),_("div",{style:{marginBottom:10}},_(L.p,(0,c.Z)({icon:z.Z,onClick:Y},B(C,k,H,N,A))),_("strong",{style:{verticalAlign:"middle",cursor:"pointer"},onClick:Y},s)),!!u&&_(P,{label:I.purpose,value:u}),_(P,{label:I.legalBasis,value:"legal-requirement"===f?I.legalRequirement:"legitimate-interest"===f||D?I.legitimateInterest:I.consent}),_(P,{label:I.provider,value:l}),!!d&&_(P,{label:I.providerPrivacyPolicy,value:d}),!!S&&_(P,{label:I.ePrivacyUSA,value:p?I.yes:I.no}),!v&&b.map((function(t){var e=t.type,n=t.name,r=t.host,o=t.duration,i=t.durationUnit,a=t.sessionDuration;return _(P,{key:n,label:I.technicalCookieDefinition,value:_("span",{style:{fontFamily:"monospace"}},(0,W.c)(n,g))},_(P,{label:I.type,value:T[e].name}),!!r&&_(P,{label:I.host,value:_("span",{style:{fontFamily:"monospace"}},r)}),-1===["local","session","indexedDb","flash"].indexOf(e)&&_(P,{label:I.duration,value:a?"Session":"".concat(o," ").concat(I.durationUnit[i])}))})))},Y=n(4769),F=n(7029).h,M=function(t){var e,n=t.group,r=(0,h.S)(),i=n.id,s=n.slug,l=n.name,d=n.description,f=n.items,p=(0,o.eJ)(!1),v=(0,a.Z)(p,2),m=v[0],b=v[1],g=(0,o.eJ)(!1),y=(0,a.Z)(g,2),x=y[0],k=y[1],w=(0,o.eJ)(!1),C=(0,a.Z)(w,2),S=C[0],A=C[1],O=r.previewCheckboxActiveState,Z=r.individualTexts,E=Z.showMore,D=Z.hideMore,N=r.consent,P=r.activeAction,R=r.essentialGroup;(0,o.bt)((function(){b(!0)}),[]);var W=R===s,_=W||"history"===P,M=O||W||!!N.groups[i],U=W||JSON.stringify(f.map((function(t){return t.id})).sort())===JSON.stringify((null===(e=N.groups[i])||void 0===e?void 0:e.sort())||[])?z.Z:Y.Z,q=(0,o.I4)((function(){return!_&&r.updateGroupChecked(i,!M)}),[_,r,i,M]);return F("div",function(t){var e=t.group,n=e.groupBg,r=e.groupBorderRadius,o=e.groupBorderColor,i=e.groupPadding,a=e.groupBorderWidth,c=e.groupInheritBg,s=t.customCss.antiAdBlocker,l=t.mobile,d=(t.pageRequestUuid4,u(l,0,a));return{className:"y"===s?void 0:"rcb-group",style:{background:c?void 0:n,border:d>0?"".concat(d,"px solid ").concat(o):void 0,padding:u(l,0,i).map((function(t){return"".concat(t,"px")})).join(" "),borderRadius:+r,textAlign:"left"}}}(r),F(I,{title:F(o.HY,null,F(L.p,(0,c.Z)({icon:U,onClick:q},B(r,m,M,_))),F("span",{style:{verticalAlign:"middle",cursor:"pointer"},onClick:q},l," (",f.length,")"))},d,!!f&&F(o.HY,null," • ",F("a",(0,c.Z)({href:"#"},T(r,x),{onClick:function(t){A(!S),t.preventDefault()},onMouseEnter:function(){return k(!0)},onMouseLeave:function(){return k(!1)}}),S?D:E),S&&f.map((function(t){return F(H,{key:t.id,group:n,cookie:t})})))))},U=n(7029).h,q=function(){var t=(0,h.S)(),e=t.groups,n=t.group.groupSpacing,r=t.mobile,i=(t.pageRequestUuid4,e.filter((function(t){return t.items.length})));return U("div",{className:"y"===t.customCss.antiAdBlocker?void 0:"rcb-groups",style:{marginTop:10,clear:"both"}},i.map((function(t,e){return U(o.HY,{key:t.id},U(M,{key:t.id,group:t}),e!==i.length-1&&U("div",{style:{height:u(r,0,+n)}}))})))},j=n(7029).h,X=function(t){var e=t.group,n=e.id,r=e.slug,i=e.name,s=(0,o.eJ)(!1),l=(0,a.Z)(s,2),d=l[0],f=l[1],p=(0,h.S)(),v=p.decision.groupsFirstView,b=p.design.fontSize,g=p.consent,y=p.essentialGroup,x=(0,m.u)().isPro;(0,o.bt)((function(){f(!0)}),[]);var k=y===r,w=k||!!g.groups[n],C=(0,o.I4)((function(){return x&&v&&!k&&p.updateGroupChecked(n,!w)}),[x,k,p,n,w,v]);return j("span",(0,c.Z)({key:i},function(t){var e=t.design.fontSize,n=t.bodyDesign,r=n.dottedGroupsInheritFontSize,o=n.dottedGroupsFontSize;return{className:void 0,style:{paddingRight:10,fontSize:u(t.mobile,t.pageRequestUuid4,r?+e:+o),whiteSpace:"nowrap",display:"inline-block"}}}(p)),j("span",null,x&&v?j(L.p,(0,c.Z)({icon:z.Z,onClick:C},B(p,d,w,k,b))):j(o.HY,null,j("strong",function(t){return{className:void 0,style:{color:t.bodyDesign.dottedGroupsBulletColor}}}(p),"●")," "),j("span",{style:{verticalAlign:"middle",cursor:v?"pointer":void 0},onClick:C},i)))},G=n(7029).h,J=function(){var t=(0,h.S)(),e=t.groups;return G("div",{className:"y"===t.customCss.antiAdBlocker?void 0:"rcb-dotted-groups",style:{marginTop:10,lineBreak:"anywhere",lineHeight:2}},e.filter((function(t){return!!t.items.length})).map((function(t){return G(X,{key:t.id,group:t})})))},V=n(7029).h,Q=function(){var t,e=(0,h.S)(),n=(0,o.eJ)(-1),r=(0,a.Z)(n,2),i=r[0],s=r[1],l=e.activeAction,f=e.history,p=e.selectHistoryEntry,v=(0,m.u)().bannerI18n,b=v.historyLabel,g=v.historySelectNone;(0,o.d4)((function(){l?"history"===l&&null!=f&&f.length&&s(f[0].id):s(-1)}),[l,f]);var y,x,k,w,C,S,A,O=null==f||null===(t=f[0])||void 0===t?void 0:t.uuid,Z={className:void 0,style:{background:e.design.bg}};return V(o.HY,null,b," ",V("select",(0,c.Z)({},(x=(y=e).design,k=x.fontSize,w=x.fontColor,C=y.bodyDesign,S=C.descriptionInheritFontSize,A=C.descriptionFontSize,{className:"y"===y.customCss.antiAdBlocker?void 0:"rcb-history-select",style:{fontSize:u(y.mobile,y.pageRequestUuid4,S?+k:+A),background:"transparent",border:0,color:w,borderBottom:"1px solid ".concat(d(w,50))}}),{disabled:!(null!=f&&f.length),value:i,onChange:function(t){var e=+t.target.value;f.forEach((function(t){var n=t.id,r=t.decision,o=t.groups,i=t.tcf;n===e&&(s(n),p(o,r,i))}))}}),(null==f?void 0:f.length)>0?f.map((function(t){var e=t.id,n=t.isDoNotTrack,r=t.isUnblock,o=t.isForwarded,i=t.created;return V("option",(0,c.Z)({key:e,value:e},Z),new Date(i).toLocaleString(document.documentElement.lang),n?" (Do Not Track)":"",r?" (Content Blocker)":"",o?" (Consent Forwarding)":"")})):V("option",(0,c.Z)({value:-1},Z),g)),!!O&&V("div",{style:{opacity:.5,marginTop:5}},"UUID: ",O))};function $(t){var e=t.bodyDesign,n=e.teachingsInheritTextAlign,r=e.teachingsTextAlign,o=e.teachingsInheritFontSize,i=e.teachingsFontSize,a=e.teachingsInheritFontColor,c=e.teachingsFontColor,s=t.customCss.antiAdBlocker,l=t.mobile;t.pageRequestUuid4;return{className:"y"===s?void 0:"rcb-teachings",style:{marginTop:7,display:"inline-block",textAlign:n?void 0:r,fontSize:o?void 0:u(l,0,+i),color:a?void 0:c}}}function K(t,e,n,r){var o=t.name,i=t.order,a=t.fullWidth,c=t.marginLeft,s=t.marginRight,l=t.type,d=t.borderRadius,f=t.bg,p=t.hoverBg,h=t.fontSize,v=t.textAlign,m=t.linkTextDecoration,b=t.fontColor,g=t.fontWeight,y=t.hoverFontColor,x=t.borderWidth,k=t.borderColor,w=t.hoverBorderColor,C=t.padding,S=t.antiAdBlocker,A=(t.pageRequestUuid4,u(e,0,+x)),O={textDecoration:"link"===l?m:"none",borderRadius:+d,cursor:"button"===l?"pointer":void 0,backgroundColor:"button"===l?n?p:f:void 0,fontSize:u(e,0,+h),fontWeight:g,color:n?y:b,transition:"background-color 250ms, color 250ms, border-color 250ms",margin:"0 ".concat(s,"px ").concat(u(e,0,10,0),"px ").concat(c,"px"),border:"button"===l&&A>0?"".concat(A,"px solid ").concat(n?w:k):void 0,padding:u(e,0,C,0).map((function(t){return"".concat(t,"px")})).join(" "),overflow:"hidden",outline:r?"rgb(255, 94, 94) solid 5px":void 0,flex:a?"1 1 100%":"0 0 calc(50% - ".concat(c+s,"px)"),display:"flex",alignItems:"center",justifyContent:"right"===v?"flex-end":"center"===v?"center":"left",order:i};return{className:"y"===S?void 0:"rcb-btn-".concat(o),style:O}}function tt(t,e,n,r){var o=t.isTcf,i=t.decision.acceptEssentials,a=t.layout.borderRadius,c=t.design.linkTextDecoration,s=t.bodyDesign,u=s.acceptEssentialsFontSize,l=s.acceptEssentialsBg,d=s.acceptEssentialsTextAlign,f=s.acceptEssentialsBorderColor,p=s.acceptEssentialsPadding,h=s.acceptEssentialsBorderWidth,v=s.acceptEssentialsFontColor,m=s.acceptEssentialsFontWeight,b=s.acceptEssentialsHoverBg,g=s.acceptEssentialsHoverFontColor,y=s.acceptEssentialsHoverBorderColor,x=s.acceptAllFontWeight,k=s.acceptAllFontSize,w=s.acceptAllPadding,C=t.customCss.antiAdBlocker,S=t.mobile;return K({name:"accept-essentials",order:r?0:1,fullWidth:!r,marginLeft:0,marginRight:r?5:0,type:i,borderRadius:a,bg:l,hoverBg:b,fontSize:r||o?k:u,textAlign:d,linkTextDecoration:c,fontColor:v,fontWeight:o?x:m,hoverFontColor:g,borderWidth:h,borderColor:f,hoverBorderColor:y,padding:r?w:p,antiAdBlocker:C,pageRequestUuid4:t.pageRequestUuid4},S,e,n)}function et(t,e,n){var r=t.decision.acceptIndividual,o=t.layout.borderRadius,i=t.design.linkTextDecoration,a=t.bodyDesign,c=a.acceptIndividualFontSize,s=a.acceptIndividualBg,u=a.acceptIndividualTextAlign,l=a.acceptIndividualBorderColor,d=a.acceptIndividualPadding,f=a.acceptIndividualBorderWidth,p=a.acceptIndividualFontColor,h=a.acceptIndividualFontWeight,v=a.acceptIndividualHoverBg,m=a.acceptIndividualHoverFontColor,b=a.acceptIndividualHoverBorderColor,g=t.customCss.antiAdBlocker,y=t.mobile;return K({name:"accept-individual",order:2,fullWidth:!0,marginLeft:0,marginRight:0,type:r,borderRadius:o,bg:s,hoverBg:v,fontSize:c,textAlign:u,linkTextDecoration:i,fontColor:p,fontWeight:h,hoverFontColor:m,borderWidth:f,borderColor:l,hoverBorderColor:b,padding:d,antiAdBlocker:g,pageRequestUuid4:t.pageRequestUuid4},y,e,n)}function nt(t,e,n){var r=t.isTcf,o=t.layout.borderRadius,i=t.design.linkTextDecoration,a=t.bodyDesign,c=a.acceptAllFontWeight,s=a.acceptAllFontSize,u=t.saveButton,l=u.type,d=u.fontSize,f=u.bg,p=u.textAlign,h=u.borderColor,v=u.padding,m=u.borderWidth,b=u.fontColor,g=u.fontWeight,y=u.hoverBg,x=u.hoverFontColor,k=u.hoverBorderColor,w=t.customCss.antiAdBlocker,C=t.mobile;return K({name:"accept-individual-save",order:2,fullWidth:!0,marginLeft:0,marginRight:0,type:l,borderRadius:o,bg:f,hoverBg:y,fontSize:r?s:d,textAlign:p,linkTextDecoration:i,fontColor:b,fontWeight:r?c:g,hoverFontColor:x,borderWidth:m,borderColor:h,hoverBorderColor:k,padding:v,antiAdBlocker:w,pageRequestUuid4:t.pageRequestUuid4},C,e,n)}function rt(t,e,n,r){var o=t.decision.acceptAll,i=t.layout.borderRadius,a=t.design.linkTextDecoration,c=t.bodyDesign,s=c.acceptAllFontSize,u=c.acceptAllBg,l=c.acceptAllTextAlign,d=c.acceptAllBorderColor,f=c.acceptAllPadding,p=c.acceptAllBorderWidth,h=c.acceptAllFontColor,v=c.acceptAllFontWeight,m=c.acceptAllHoverBg,b=c.acceptAllHoverFontColor,g=c.acceptAllHoverBorderColor,y=t.customCss.antiAdBlocker,x=t.mobile;return K({name:"accept-all",order:r?1:0,fullWidth:!r,marginLeft:r?5:0,marginRight:0,type:o,borderRadius:i,bg:u,hoverBg:m,fontSize:s,textAlign:l,linkTextDecoration:a,fontColor:h,fontWeight:v,hoverFontColor:b,borderWidth:p,borderColor:d,hoverBorderColor:g,padding:f,antiAdBlocker:y,pageRequestUuid4:t.pageRequestUuid4},x,e,n)}var ot=n(6125),it=n(7029).h,at=function(t){var e=t.inlineStyle,n=t.type,r=t.onClick,i=t.children,s=t.framed,u=t.busyOnClick;if("hide"===n)return null;var l=(0,o.eJ)(!1),d=(0,a.Z)(l,2),f=d[0],p=d[1],v=(0,o.I4)((function(){f||(u&&p(!0),null==r||r())}),[r,f,u]),m=(0,o.eJ)(!1),b=(0,a.Z)(m,2),g=b[0],y=b[1],x=(0,h.S)(),k=x.individualPrivacyOpen,w=x.decision,C=w.acceptAll,S=w.acceptEssentials,A=x.bodyDesign.acceptAllOneRowLayout,O={onClick:v,onMouseEnter:function(){return y(!0)},onMouseLeave:function(){return y(!1)}},Z=(0,o.Ye)((function(){switch(e){case"acceptEssentials":return tt;case"acceptIndividual":return et;case"save":return nt;default:return rt}}),[e]);return it("div",(0,c.Z)({},"button"===n?O:{},Z(x,g,s,!(/MSIE (\d+\.\d+);/.test(navigator.userAgent)||navigator.userAgent.indexOf("Trident/")>-1||"hide"===C||"hide"===S||k)&&A)),it("span",(0,c.Z)({},{style:{textOverflow:"ellipsis",whiteSpace:"nowrap",wordBreak:"keep-all",overflow:"hidden",cursor:"pointer"}},"link"===n?O:{}),f?it(ot.X,null):i))},ct=n(2099),st=n(7029).h,ut=function(){var t=(0,h.S)(),e=t.activeAction,n=t.decision,r=t.texts,i=r.acceptAll,a=r.acceptEssentials,c=r.acceptIndividual,s=t.saveButton,u=t.individualTexts,l=t.individualPrivacyOpen,d=t.didGroupFirstChange,f=t.buttonClicked,p=void 0===f?"":f,b=(0,m.u)().isPro,g=v(),y=g.buttonClickedAll,x=g.buttonClickedEssentials,k=g.buttonClickedCustom,w=g.acceptAll,C=g.acceptEssentials,S=g.acceptIndividual,A=g.openIndividualPrivacy,O="change"===e;return st(o.HY,null,!l&&b&&n.groupsFirstView&&"afterChangeAll"===n.saveButton&&d?st(at,{onClick:S,type:n.acceptAll,inlineStyle:"acceptAll",framed:p===k,busyOnClick:O},u.save):st(at,{onClick:w,type:n.acceptAll,inlineStyle:"acceptAll",framed:p===y,busyOnClick:O},i),"change"!==e&&st(at,{onClick:C,type:n.acceptEssentials,inlineStyle:"acceptEssentials",framed:p===x,busyOnClick:O},a),(l||b&&n.groupsFirstView&&("always"===n.saveButton||"afterChange"===n.saveButton&&d))&&st(at,{onClick:S,type:s.type,inlineStyle:"save",framed:p===k,busyOnClick:O},u.save),!l&&st(at,{type:n.acceptIndividual,onClick:A,inlineStyle:"acceptIndividual",framed:p.startsWith("ind_"),busyOnClick:O},c),st(ct.m,null))},lt=n(8001),dt=n(7029).h,ft=function(t){var e,n=t.leftSideContainerRef,r=t.rightSideContainerRef,i=(0,h.S)(),a=i.groups,d=i.layout.type,f=i.mobile,p=i.ePrivacyUSA,v=i.ageNotice,m=i.bodyDesign.teachingsSeparatorActive,g=i.texts,y=g.description,x=g.ePrivacyUSA,k=g.ageNoticeBanner,w=g.consentForwardingExternalHosts,C=g.tcfGlobalScope,S=i.tcf,A=i.consentForwardingExternalHosts,O=i.individualPrivacyOpen,Z=i.individualTexts,E=i.activeAction,I=i.pageRequestUuid4,B="bnnr-body-leftSide-".concat(I),T="bnnr-body-rightSide-".concat(I),D="cntnt-".concat(I);(0,b.G)(" #".concat(B," img {\n max-width: 100%;\n height: auto;\n}\n\n").concat((null===(e=document.getElementById(I))||void 0===e?void 0:e.clientWidth)>700?"":"#".concat(B," {\n float: initial !important;\n width: auto !important;\n padding-right: initial !important;\n ").concat("banner"!==u(f,0,d)||O?O?"padding-top: 10px !important;":"":"padding-bottom: 10px !important;","\n }\n\n #").concat(D," {\n min-height: calc(var(--rendered-height-header) + var(--rendered-height-footer) + var(--rendered-height-rightSideContainer) + 60px);\n }\n \n #").concat(T," {\n float: initial !important;\n width: auto !important;\n max-width: initial !important;\n margin: initial !important;\n ").concat(O?"padding-bottom: 5px !important;":"padding-top: 10px !important;","\n position: sticky;\n }")));var N=A?w.replace(/{{websites}}/g,A.join(", ")):"",P=S?S.model.isServiceSpecific?"":C:"",R=[O?Z.description:y,N,P].filter(Boolean).join(" "),z=(0,lt.Q)(a,S?{gvl:S.gvl,vendorConfigurations:S.original.vendorConfigurations}:void 0,p?x:"",(function(t,e){return(null==t?void 0:t.ePrivacyUSA)||1===(null==e?void 0:e.vendorConfiguration.ePrivacyUSA)}),3,!0),L=(0,o.Ye)((function(){return dt(O?q:J,null)}),[O,S]),W=dt("div",(0,c.Z)({ref:n,key:"leftSide",id:B},function(t){var e=t.layout.type,n=t.bodyDesign.padding,r=t.customCss.antiAdBlocker,o=t.mobile,i=t.individualPrivacyOpen,a=t.activeAction,c=(t.pageRequestUuid4,u(o,0,e)),s=u(o,0,n);return{className:"y"===r?void 0:"rcb-tb-left",style:{float:"banner"===c&&"history"!==a?"left":void 0,width:"banner"===c&&"history"!==a?"calc(100% - ".concat(300,"px)"):void 0,paddingRight:"banner"===c?20:void 0,paddingTop:+s[0],paddingBottom:"banner"===c||i?+s[2]:0}}}(i)),!!R&&dt(o.HY,null,dt("div",function(t){var e=t.design.fontSize,n=t.bodyDesign,r=n.descriptionInheritFontSize,o=n.descriptionFontSize,i=t.individualLayout.descriptionTextAlign,a=t.customCss.antiAdBlocker,c=t.mobile,s=t.individualPrivacyOpen;return{className:"y"===a?void 0:"rcb-description",style:{lineHeight:1.5,fontSize:u(c,t.pageRequestUuid4,r?+e:+o),textAlign:s?i:void 0}}}(i),"history"===E?dt(Q,null):dt(o.HY,null,dt("span",{dangerouslySetInnerHTML:{__html:R}}),(p||v)&&dt(o.HY,null,m&&dt("div",null,dt("span",function(t){var e=t.layout.borderRadius,n=t.bodyDesign,r=n.teachingsSeparatorActive,o=n.teachingsSeparatorWidth,i=n.teachingsSeparatorHeight,a=n.teachingsSeparatorColor;return{className:"y"===t.customCss.antiAdBlocker?void 0:"rcb-teachings-separator",style:{marginTop:7,display:"inline-block",maxWidth:"100%",borderRadius:+e,width:+o,height:r?+i:0,background:a}}}(i))),!!z&&dt("span",(0,c.Z)({},$(i),{dangerouslySetInnerHTML:{__html:z}})),v&&!!k&&dt("span",(0,c.Z)({},$(i),{dangerouslySetInnerHTML:{__html:k}})))))),L),_="history"===E?dt("div",{ref:r}):dt("div",(0,c.Z)({ref:r,key:"rightSide",id:T},function(t){var e,n=t.layout,r=n.type,o=n.dialogMaxWidth,i=t.design,a=i.borderWidth,c=i.bg,d=i.fontColor,f=t.headerDesign,p=t.footerDesign,h=t.bodyDesign.padding,v=t.individualLayout.inheritDialogMaxWidth,m=t.customCss.antiAdBlocker,b=t.mobile,g=t.individualPrivacyOpen,y=(t.pageRequestUuid4,u(b,0,r)),x=u(b,0,a),k=u(b,0,h,0),w=l(d),C=w.r,S=w.g,A=w.b,O="dialog"===y?+o-k[1]-k[3]-2*x:300;return{className:"y"===m?void 0:"rcb-tb-right",style:(e={background:c,paddingTop:"banner"===y||g?+k[0]:10,paddingBottom:g?10:+k[2],float:"banner"===y||g?"right":void 0,maxWidth:O,width:O,margin:"dialog"===y&&g&&!v?"0 0 10px 10px":void 0,position:g?void 0:"sticky"},(0,s.Z)(e,g?"top":"bottom",g?"calc(var(--rendered-height-header) + ".concat(u(b,0,f.borderWidth),"px)"):"calc(var(--rendered-height-footer) + ".concat(u(b,0,p.borderWidth),"px)")),(0,s.Z)(e,"zIndex",1),(0,s.Z)(e,"display","flex"),(0,s.Z)(e,"flexWrap","wrap"),(0,s.Z)(e,"transition","box-shadow ease-in-out .1s"),(0,s.Z)(e,"--boxShadowShowScroll","0 -15px 15px -15px rgba(".concat(C,", ").concat(S,", ").concat(A,", 0.3)")),e)}}(i)),dt(ut,null));return dt("div",function(t){var e=t.layout.type,n=t.design,r=n.bg,o=n.borderWidth,i=n.borderColor,a=t.bodyDesign.padding,c=t.customCss.antiAdBlocker,s=t.mobile,l=(t.pageRequestUuid4,u(s,0,o)),d={background:r,padding:u(s,0,a).map((function(t,e){return"".concat([0,2].indexOf(e)>-1?0:t,"px")})).join(" "),lineHeight:1.4};return"dialog"===u(s,0,e)&&l>0&&(d.borderLeft="".concat(l,"px solid ").concat(i),d.borderRight=d.borderLeft),{className:"y"===c?void 0:"rcb-body-container",style:d}}(i),dt("div",function(t){var e=t.layout,n=e.type,r=e.bannerMaxWidth,o=t.individualLayout,i=t.customCss.antiAdBlocker,a=t.mobile,c=t.individualPrivacyOpen;return{className:"y"===i?void 0:"rcb-body",style:{transition:"width 500ms, max-width 500ms",maxWidth:"banner"===u(a,t.pageRequestUuid4,n)?+(c&&!o.inheritBannerMaxWidth?o.bannerMaxWidth:r):void 0,margin:"auto"}}}(i),O?[_,W]:[W,_],dt("div",{style:{clear:"both"}})))},pt=n(6102),ht=n(4450),vt=n(7029).h,mt=function(t){var e=t.children,n=(0,f.Z)(t,["children"]),r=(0,h.S)(),i=(0,o.eJ)(!1),s=(0,a.Z)(i,2),l=s[0],d=s[1];return vt("a",(0,c.Z)({onMouseEnter:function(){return d(!0)},onMouseLeave:function(){return d(!1)}},function(t){var e=t.footerDesign,n=e.fontSize,r=e.fontColor,o=e.hoverFontColor,i=e.fontInheritFamily,a=e.fontFamily,c=t.design.linkTextDecoration,s=t.customCss.antiAdBlocker,l=t.mobile,d=(t.pageRequestUuid4,arguments.length>1&&void 0!==arguments[1]&&arguments[1]),f={textDecoration:c,fontSize:u(l,0,+n),color:d?o:r,fontFamily:i?void 0:a,padding:"0 5px"};return{className:"y"===s?void 0:"rcb-footer-link",style:f}}(r,l),n),e)},bt=n(7029).h,gt=(0,o.Gp)((function(t,e){var n=(0,h.S)(),r=(n.isTcf,n.layout.type),i=n.legal,a=n.footerDesign,s=a.poweredByLink,l=a.linkTarget,d=(n.individualPrivacyOpen,n.updateIndividualPrivacyOpen,n.poweredLink),f=n.isConsentRecord,p=n.onClose,v=(0,m.u)(),b=v.bannerI18n,g=b.close,y=(b.tcf,v.affiliate),k=(0,o.I4)((function(t){p(),t.preventDefault()}),[p]),w="_blank"===l?{target:"_blank",rel:"noopener"}:{},C=(0,ht.X)(i),S=C.linkPrivacyPolicy,A=C.linkImprint,O=[[f&&bt(mt,{href:"#",onClick:k,key:"close"},bt("strong",null,g)),!1,S&&bt(mt,(0,c.Z)({href:S.url},w,{key:"privacyPolicy"}),S.label),A&&bt(mt,(0,c.Z)({href:A.url},w,{key:"imprint"}),A.label)].filter(Boolean),[]];return d&&s&&O["banner"===r?0:1].push(bt(mt,{href:y?y.link:d.href,target:d.target,key:"powered-by"},bt("span",{dangerouslySetInnerHTML:{__html:d.innerHTML}}),y&&bt(x.z,{title:y.description,position:"top-left"}," ",y.labelBehind))),bt("div",(0,c.Z)({ref:e},function(t){var e=t.layout,n=e.type,r=e.dialogBorderRadius,o=t.design,i=t.footerDesign,a=i.inheritBg,c=i.bg,s=i.inheritTextAlign,l=i.textAlign,d=i.padding,f=i.fontSize,p=i.fontColor,h=i.fontWeight,v=t.customCss.antiAdBlocker,m=t.mobile,b=(t.pageRequestUuid4,u(m,0,n)),g=u(m,0,o.borderWidth),y={padding:u(m,0,d,0).map((function(t){return"".concat(t,"px")})).join(" "),background:a?o.bg:c,borderRadius:"dialog"===b?"0 0 ".concat(r,"px ").concat(r,"px"):void 0,fontSize:u(m,0,+f),fontWeight:h,color:p,textAlign:s?o.textAlign:l,position:"sticky",bottom:0,zIndex:1};return"dialog"===b&&g>0&&(y.borderBottom="".concat(g,"px solid ").concat(o.borderColor),y.borderLeft=y.borderBottom,y.borderRight=y.borderBottom),{className:"y"===v?void 0:"rcb-footer-container",style:y}}(n)),bt("div",function(t){var e=t.layout,n=e.type,r=e.bannerMaxWidth,o=t.individualLayout,i=t.customCss.antiAdBlocker,a=t.mobile,c=(t.pageRequestUuid4,t.individualPrivacyOpen);return{className:"y"===i?void 0:"rcb-footer",style:{transition:"width 500ms, max-width 500ms",maxWidth:"banner"===u(a,0,n)?+(c&&!o.inheritBannerMaxWidth?o.bannerMaxWidth:r):void 0,margin:"auto",lineHeight:1.8}}}(n),(0,pt.e)(O.map((function(t){return t.length?bt(o.HY,{key:t[0].key},(0,pt.e)(t,bt(o.HY,null," • "))):null})),bt("br",null))))}));function yt(t,e){var n=(0,h.S)().pageRequestUuid4,r=(0,b.G)("","useBannerRenderedHeightsAsCssVars-".concat(e)),i=document.getElementById(r);(0,o.d4)((function(){var r=0,o=function(){var o=t.getBoundingClientRect().height;r!==o&&(r=o,i.innerHTML="#".concat(n,"{--rendered-height-").concat(e,": ").concat(Math.floor(o),"px;--rendered-height-raw-").concat(e,": ").concat(o,"px}"))};if(!t)return function(){};var a=document.querySelector("#".concat(n,' div[class*="animate__"]'));if(a.addEventListener("animationend",o),window.ResizeObserver){var c=new ResizeObserver(o);return c.observe(t),function(){c.disconnect(),a.removeEventListener("animationend",o)}}var s=setInterval(o,150);return function(){clearInterval(s),a.removeEventListener("animationend",o)}}),[t,e])}var xt=n(7029).h,kt=function(){var t=(0,h.S)(),e=t.layout,n=e.type,r=e.dialogBorderRadius,i=t.decision,s=i.acceptEssentials,l=i.showCloseIcon,d=t.mobile,f=t.individualPrivacyOpen,p=t.design.bg,v=t.bodyDesign.teachingsFontColor,m=t.activeAction,g=t.pageRequestUuid4,y="bnnr-body-rightSide-".concat(g),x="cntnt-".concat(g),k=(0,o.sO)(),w=k.current,C=!0;!d.hideHeader||m||f||"hide"===s&&l||(C=u(d,0,C));var S=(0,o.eJ)(!1),A=(0,a.Z)(S,2),O=A[0],E=A[1],I=(0,o.I4)((function(){if(w){var t=w.clientHeight,e=w.scrollHeight,n=w.scrollTop,r=w.offsetHeight,o=t<e,i=Math.ceil(n+r)>=e,a=o&&!i&&!f;O!==a&&E(a)}}),[w,f,O]);I(),(0,o.bt)((function(){return w?(w.addEventListener("scroll",I),function(){return w.removeEventListener("scroll",I)}):function(){}}),[w,I]),(0,b.G)(O?"#".concat(y," {box-shadow:var(--boxShadowShowScroll);}"):""),(0,b.G)("Win32"===navigator.platform&&"dialog"===n&&r>0?["#".concat(x,"{overflow:overlay!important;}"),"#".concat(x,"::-webkit-scrollbar{width:11px;}"),"#".concat(x,"{scrollbar-width:thin;scrollbar-color:").concat(v," transparent;}"),"#".concat(x,"::-webkit-scrollbar-track{background:transparent;}"),"#".concat(x,"::-webkit-scrollbar-thumb{background-color:").concat(v,";border-radius:").concat(r,"px;border:3px solid ").concat(p,";}"),"#".concat(x,">div{border-top-right-radius:0!important;border-bottom-right-radius:0!important;}")].join("\n"):"");var B=(0,o.sO)(),T=(0,o.sO)(),D=(0,o.sO)();return yt(B.current,"header"),yt(T.current,"footer"),yt(D.current,"rightSideContainer"),xt("div",(0,c.Z)({},function(t){var e,n=t.layout.type,r=t.customCss.antiAdBlocker,o=t.decision.showCloseIcon,i=t.activeAction,a=(t.individualPrivacyOpen,t.mobile),c=t.pageRequestUuid4,s=(null===(e=document.getElementById(c))||void 0===e?void 0:e.clientHeight)||window.innerHeight,l=(a.maxHeight,o||i?51:0);return{className:"y"===r?void 0:"rcb-content",style:{position:"relative",maxHeight:u(a,0,s-("banner"===n?0:20)-l),overflow:"auto"}}}(t),{ref:k,id:x}),C&&xt(o.HY,null,xt(Z,{ref:B}),xt("div",function(t){var e=t.layout.type,n=t.design,r=t.headerDesign,o=r.borderWidth,i=r.borderColor,a=t.customCss.antiAdBlocker,c=t.mobile,s=(t.pageRequestUuid4,u(c,0,n.borderWidth)),l={height:u(c,0,+o),background:i,position:"sticky",top:"var(--rendered-height-header)",zIndex:9};return"dialog"===u(c,0,e)&&s>0&&(l.borderLeft="".concat(s,"px solid ").concat(n.borderColor),l.borderRight=l.borderLeft),{className:"y"===a?void 0:"rcb-header-separator",style:l}}(t))),xt(ft,{rightSideContainerRef:D}),xt("div",function(t){var e=t.layout.type,n=t.design,r=t.footerDesign,o=r.borderWidth,i=r.borderColor,a=t.customCss.antiAdBlocker,c=t.mobile,s=(t.pageRequestUuid4,u(c,0,n.borderWidth)),l={height:u(c,0,+o),background:i,position:"sticky",bottom:"var(--rendered-height-footer)"};return"dialog"===u(c,0,e)&&s>0&&(l.borderLeft="".concat(s,"px solid ").concat(n.borderColor),l.borderRight=l.borderLeft),{className:"y"===a?void 0:"rcb-footer-separator",style:l}}(t)),xt(gt,{ref:T}))};function wt(){var t=(0,o.Ye)((function(){return window.innerWidth}),[])<700,e=(0,o.Ye)((function(){var t=window.navigator.userAgent.toLowerCase();return 4===["firefox","gecko","mobile","android"].map((function(e){return t.indexOf(e)>-1})).filter(Boolean).length}),[]);return(0,o.I4)((function(n){var r=n.animationIn,o=n.animationInOnlyMobile,i=n.animationOut,a=n.animationOutOnlyMobile,c=o?t?r:"none":r,s=a?t?i:"none":i;return e&&(c="none",s="none"),{useAnimationIn:c,useAnimationOut:s}}),[])}function Ct(t,e){var n=(0,o.eJ)(0),r=(0,a.Z)(n,2),i=r[0],c=r[1],s=(0,o.eJ)(0),u=(0,a.Z)(s,2),l=u[0],d=u[1],f=(0,o.eJ)(t),p=(0,a.Z)(f,2),h=p[0],v=p[1],m=(0,o.eJ)(void 0),b=(0,a.Z)(m,2),g=b[0],y=b[1],x=(0,o.eJ)(e),k=(0,a.Z)(x,2),w=k[0],C=k[1],S=(0,o.eJ)(void 0),A=(0,a.Z)(S,2),O=A[0],Z=A[1];return(0,o.d4)((function(){i>0&&("none"===t?v(t):(v("none"),y(t))),c(i+1)}),[t]),(0,o.d4)((function(){l>0&&(0===e?C(e):(C(0),Z(e),v("none"),y(t))),d(l+1)}),[e]),(0,o.d4)((function(){void 0!==g&&(v(g),y(void 0))}),[g]),(0,o.d4)((function(){void 0!==O&&(C(O),Z(void 0))}),[O]),[h,w]}var St=n(7938),At=n(5450),Ot=n.n(At),Zt=n(625),Et=n(6811),It={path:"/consent",method:Et.O.GET},Bt=n(3075),Tt=n(9586),Dt=n(7932),Nt='[href^="#consent-"]',Pt=n(7029).h;function Rt(t){var e=t.isVisible,n=t.animationIn,r=t.animationOut,o=t.animationInDuration,i=t.animationOutDuration,a=t.animationInDelay,c=t.animationOutDelay;return e?{animation:n,duration:o,delay:a}:{animation:r,duration:i,delay:c}}var zt=function(t){var e=t.animateOnMount,n=void 0===e||e,r=t.isVisible,c=void 0===r||r,s=t.animationIn,u=void 0===s?"fadeIn":s,l=t.animationOut,d=void 0===l?"fadeOut":l,f=t.animationInDelay,p=void 0===f?0:f,h=t.animationOutDelay,v=void 0===h?0:h,m=t.animationInDuration,b=void 0===m?1e3:m,g=t.animationOutDuration,y=void 0===g?1e3:g,x=t.className,k=void 0===x?"":x,w=t.style,C=void 0===w?{}:w,S=t.children,A=(0,o.eJ)(n?Rt({isVisible:c,animationIn:u,animationOut:d,animationInDelay:p,animationOutDelay:v,animationInDuration:b,animationOutDuration:y}):{animation:"",delay:void 0,duration:0}),O=(0,a.Z)(A,2),Z=O[0],E=Z.animation,I=Z.duration,B=Z.delay,T=O[1];(0,o.d4)((function(){T(Rt({isVisible:c,animationIn:u,animationOut:d,animationInDelay:p,animationOutDelay:v,animationInDuration:b,animationOutDuration:y}))}),[c,u,d,p,v,b,y]);var D="animate__animated animate__".concat(E," ").concat(k),N=E?{}:{opacity:c?1:0,transition:"opacity ".concat(B,"ms")};return Pt("div",{className:D,style:(0,i.Z)((0,i.Z)({animationDelay:"".concat(B,"ms"),animationDuration:"".concat(I,"ms"),pointerEvents:c?"all":"none"},C),N)},S)};function Lt(t){var e=t.legal,n=e.imprint,r=e.imprintHide,o=e.privacyPolicy,i=e.privacyPolicyHide,a=t.pageId;return[r&&+n,i&&+o].filter(Boolean).indexOf(a)>-1}var Wt=n(3743),_t=n(7029).h,Ht=function(){var t,e,n,r,o,i,l,f,p,v,m,b,g,y,x,k,w,C,S,A,O,Z,E,I,B,T,D,N,P,R,z,L=(0,h.S)(),W=L.layout,_=W.animationInDuration,H=W.animationOutDuration,Y=L.animationVisible,F=wt()(L.layout),M=F.useAnimationIn,U=F.useAnimationOut,q=Ct(M,_),j=(0,a.Z)(q,2),X=j[0],G=j[1],J=Ct("none"===U?"fadeOut":U,"none"===U?0:H),V=(0,a.Z)(J,2),Q=V[0],$=V[1];return _t(zt,(0,c.Z)({animationIn:X,animationInDuration:G,animationOut:Q,animationOutDuration:$,isVisible:Y},(n=(e=(t=L).layout).type,r=e.dialogMaxWidth,o=e.dialogPosition,i=e.dialogMargin,l=e.bannerPosition,f=e.dialogBorderRadius,v=(p=t.design).borderWidth,m=p.borderColor,b=p.textAlign,g=p.fontColor,y=p.fontInheritFamily,x=p.fontFamily,k=p.fontWeight,w=p.boxShadowEnabled,C=p.boxShadowOffsetX,S=p.boxShadowOffsetY,A=p.boxShadowBlurRadius,O=p.boxShadowSpreadRadius,Z=p.boxShadowColor,E=p.boxShadowColorAlpha,I=t.individualLayout,B=t.customCss.antiAdBlocker,T=t.mobile,t.pageRequestUuid4,D=t.individualPrivacyOpen,T.alignment,N=u(T,0,n),P=u(T,0,v),R="dialog"===N?+(D&&!I.inheritDialogMaxWidth?I.dialogMaxWidth:r):"100%",z=(0,s.Z)({pointerEvents:"all",transition:"width 500ms, max-width 500ms",maxWidth:R,textAlign:b,width:R,overflow:"hidden",alignSelf:u(T,0,"banner"===N?"top"===l?"flex-start":"flex-end":void 0),fontFamily:y?void 0:x,fontWeight:k,color:g,margin:"dialog"===N?10:void 0,borderRadius:"dialog"===N?+f:void 0,boxShadow:w?"".concat(C,"px ").concat(S,"px ").concat(A,"px ").concat(O,"px ").concat(d(Z,E)):void 0},"banner"===N?"top"===l?"borderBottom":"borderTop":"border","banner"===N&&P>0?"".concat(P,"px solid ").concat(m):void 0),"dialog"===N&&"middleCenter"!==o&&(z.margin=i.map((function(t){return"".concat(t,"px")})).join(" ")),{className:"y"===B?void 0:"rcb-inner",style:z})),_t(kt,null))},Yt=function(){var t=(0,h.S)(),e=((0,m.u)().isPro,t.layout),n=e.overlay,r=(e.overlayBlur,t.customCss),i=r.antiAdBlocker,s=r.css,l=t.visible,f=t.animationVisible,p=t.activeAction,v=t.skipOverlay,g=t.gotHiddenDueLegal,y=t.pageRequestUuid4,x=t.individualPrivacyOpen,k=Lt(t),w=l&&!k||!!p;(0,b.G)(i?s:""),(0,b.G)("#".concat(y,", #").concat(y," * {box-sizing: border-box;backface-visibility:initial;}")),function(t){(0,o.d4)((function(){var e=document.body,n=e.dataset,r=e.style;void 0===n.rcbPreviousOverflow&&(n.rcbPreviousOverflow=r.overflow),r.overflow=t?"hidden":n.rcbPreviousOverflow,document.body.parentElement.style.overflow=r.overflow}),[t])}(w&&n&&f);var C,S,A,O,Z=(0,o.eJ)(0),E=(0,a.Z)(Z,2)[1],I=function(){return E(+new Date)};if((0,o.bt)((function(){return window.addEventListener("resize",I),function(){return window.removeEventListener("resize",I)}}),[]),(0,o.bt)((function(){(0,Wt.s)(1e3)}),[f,x]),g&&(0,o.d4)((function(){g(k)}),[k]),function(){var t=(0,h.S)(),e=t.consent,n=t.groups,r=t.tcf,i=t.activeAction,c=t.selectHistoryEntry,s=t.setHistory,u=(0,o.eJ)({consent:e,groups:n,tcf:r}),l=(0,a.Z)(u,2),d=l[0],f=l[1];(0,o.d4)((function(){i||f({consent:e,groups:n,tcf:r})}),[e,n,r,i]),(0,o.d4)((function(){function t(){return(t=(0,St.Z)(Ot().mark((function t(){var e,n,r,o,i,u,l,d,f,p,h;return Ot().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=(0,Zt.m)(),n=e.restNamespace,r=e.restRoot,o=e.restQuery,i=e.restNonce,t.next=3,(0,Bt.D)({location:It,options:{restNamespace:n,restRoot:r,restQuery:o,restNonce:i},sendRestNonce:!1});case 3:u=t.sent,s(u),u.length?(l=(0,a.Z)(u,1),d=l[0],f=d.groups,p=d.decision,h=d.tcf,c(f,p,h)):c([],[]);case 6:case"end":return t.stop()}}),t)})))).apply(this,arguments)}if("history"===i)f({consent:e,groups:n,tcf:r}),function(){t.apply(this,arguments)}();else{var o=d.groups,u=d.consent.groups,l=d.tcf;null==c||c(o,u,l)}}),[i])}(),C=(0,h.S)(),S=C.openBanner,A=C.openHistory,O=C.revokeConsent,(0,o.d4)((function(){var t=function(t,e,n){switch(t){case"change":S(n);break;case"history":A(n);break;case"revoke":O(e,n)}},e=function(e){if(S){var n=e.target;(0,Tt.w)(n,Nt).concat((0,Dt.D)(n,Nt)?[n]:[]).forEach((function(n){t(n.getAttribute("href").slice(9),n.getAttribute("data-success-message"),e)})),(0,Dt.D)(n,".rcb-sc-link")&&t(n.getAttribute("href").slice(1),n.getAttribute("data-success-message"),e)}};return document.addEventListener("click",e,!0),function(){document.removeEventListener("click",e,!0)}}),[S,A,O]),!w)return null;var B=_t("div",function(t){var e=t.layout,n=e.type,r=e.dialogPosition,o=t.customCss.antiAdBlocker,i={display:"flex",width:"100%",height:"100%"};return"dialog"===u(t.mobile,t.pageRequestUuid4,n)&&(i.alignItems=r.startsWith("top")?"flex-start":r.startsWith("bottom")?"flex-end":"center",i.justifyContent=r.endsWith("Center")?"center":r.endsWith("Left")?"flex-start":"flex-end"),{className:"wp-exclude-emoji ".concat("y"===o?"":"rcb-align"),style:i}}(t),_t(Ht,null));return v?B:_t("div",(0,c.Z)({id:y},function(t){var e=t.layout,n=e.type,r=e.overlay,o=e.overlayBg,i=e.overlayBgAlpha,a=t.design.fontSize,c=t.customCss.antiAdBlocker,s=t.mobile;t.pageRequestUuid4;return{className:"y"===c?void 0:"rcb-bann3r rcb-bann3r-".concat(u(s,0,n)," ").concat(r?"":"overlay-deactivated"),style:{background:r?d(o,i):"none",position:"fixed",top:0,left:0,right:0,bottom:0,zIndex:99999,pointerEvents:r?"all":"none",fontSize:u(s,0,+a),filter:"none"}}}(t)),B)},Ft=n(6423);function Mt(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=(0,m.u)(),n=e.groups,r=e.essentialGroup,o=n.filter((function(t){return t.slug===r})),i=(0,a.Z)(o,1),c=i[0],u=(0,s.Z)({},c.id,c.items.map((function(t){return t.id})));if(t){var l,d=(0,p.Z)(n);try{for(d.s();!(l=d.n()).done;){var f=l.value;if(f!==c){var h=f.items.filter((function(t){return"legitimate-interest"===t.legalBasis})).map((function(t){return t.id}));h.length&&(u[f.id]=h)}}}catch(t){d.e(t)}finally{d.f()}}return u}var Ut=n(8431),qt=n(1229),jt=function(){var t=(0,St.Z)(Ot().mark((function t(){return Ot().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",!(0,qt.E)()&&"essentials");case 1:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),Xt=function(){var t=(0,St.Z)(Ot().mark((function t(){var e;return Ot().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=document.body.className,t.abrupt("return",e.indexOf("login-action-")>-1&&"consent");case 2:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),Gt=n(4717),Jt=n.n(Gt);function Vt(){var t=navigator.userAgent;return!!t&&!/chrome-lighthouse/i.test(t)&&Jt()(t)}var Qt=n(55).default;function $t(t,e){return new Qt((function(n,r){t.then(n,r);var o=new Error("Timed out");setTimeout(r,e,o)}))}var Kt=n(9094),te={path:"/consent/dynamic-predecision",method:Et.O.GET},ee=function(){var t=(0,St.Z)(Ot().mark((function t(){var e,n,r,o,i,a,c,s,u,l,d,f,p,h,v;return Ot().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=(0,Zt.m)(),n=e.restNamespace,r=e.restRoot,o=e.restQuery,i=e.restNonce,a=e.others,c=a.revisionHash,s=a.hasDynamicPreDecisions,!Vt()&&s){t.next=3;break}return t.abrupt("return",!1);case 3:if(!(u=(0,Kt.h)())){t.next=8;break}if(l=u.revision,c!==l){t.next=8;break}return t.abrupt("return","consent");case 8:return d=document.documentElement,f=d.clientWidth,p=d.clientHeight,t.prev=9,t.next=12,$t((0,Bt.D)({location:te,options:{restNamespace:n,restRoot:r,restQuery:o,restNonce:i},sendRestNonce:!1,request:{viewPortWidth:f,viewPortHeight:p},params:{_wp_http_referer:window.location.href}}),1e4);case 12:return h=t.sent,v=h.predecision,t.abrupt("return",v);case 17:return t.prev=17,t.t0=t.catch(9),t.abrupt("return",!1);case 20:case"end":return t.stop()}}),t,null,[[9,17]])})));return function(){return t.apply(this,arguments)}}(),ne=function(){var t=(0,St.Z)(Ot().mark((function t(e){return Ot().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",!!Lt(e)&&"consent");case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),re=function(){var t=(0,St.Z)(Ot().mark((function t(){var e,n;return Ot().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=(0,m.u)(),n=(0,Kt.h)(),t.abrupt("return",!(!e.isPreventPreDecision||!1!==n)&&(Vt()?"all":"consent"));case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),oe=function(){var t=(0,St.Z)(Ot().mark((function t(){var e,n;return Ot().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=(0,m.u)(),n=e.isAcceptAllForBots,!1===(0,Kt.h)()&&n){t.next=3;break}return t.abrupt("return",!1);case 3:return t.abrupt("return",!!Vt()&&"all");case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();function ie(){try{var t=window;if((t.doNotTrack||t.navigator.doNotTrack||t.navigator.msDoNotTrack||"msTrackingProtectionEnabled"in t.external)&&("1"==t.doNotTrack||"yes"==t.navigator.doNotTrack||"1"==t.navigator.doNotTrack||"1"==t.navigator.msDoNotTrack||t.external.msTrackingProtectionEnabled()))return!0}catch(t){}return!1}var ae=function(){var t=(0,St.Z)(Ot().mark((function t(){var e,n,r,o,i,c,s,u,l,d,f,h;return Ot().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=(0,m.u)(),n=e.isRespectDoNotTrack,r=e.groups,o=e.essentialGroup,i=r.filter((function(t){return t.slug===o})),c=(0,a.Z)(i,1),s=c[0],!1===(0,Kt.h)()&&n){t.next=4;break}return t.abrupt("return",!1);case 4:u=(0,p.Z)(r),t.prev=5,u.s();case 7:if((l=u.n()).done){t.next=29;break}if((d=l.value)===s){t.next=27;break}f=(0,p.Z)(d.items),t.prev=11,f.s();case 13:if((h=f.n()).done){t.next=19;break}if("legitimate-interest"!==h.value.legalBasis){t.next=17;break}return t.abrupt("return",!1);case 17:t.next=13;break;case 19:t.next=24;break;case 21:t.prev=21,t.t0=t.catch(11),f.e(t.t0);case 24:return t.prev=24,f.f(),t.finish(24);case 27:t.next=7;break;case 29:t.next=34;break;case 31:t.prev=31,t.t1=t.catch(5),u.e(t.t1);case 34:return t.prev=34,u.f(),t.finish(34);case 37:return t.abrupt("return",!!ie()&&"dnt");case 38:case"end":return t.stop()}}),t,null,[[5,31,34,37],[11,21,24,27]])})));return function(){return t.apply(this,arguments)}}(),ce=function(){var t=(0,St.Z)(Ot().mark((function t(){var e,n,r,o;return Ot().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!1!==(e=(0,Kt.h)())){t.next=3;break}return t.abrupt("return",!1);case 3:return n=e.revision,r=(0,m.u)(),o=r.revisionHash,t.abrupt("return",o===n&&"consent");case 6:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),se=n(2887),ue=n(9509);var le=n(6794),de=n(7029).h,fe=function(t){var e=t.poweredLink,n=(0,Kt.h)(),r=(0,m.u)(),c=r.customizeValuesBanner,s=c.layout,u=c.decision,l=c.legal,d=c.design,f=c.headerDesign,p=c.bodyDesign,v=c.footerDesign,b=c.texts,g=c.individualLayout,y=c.saveButton,x=c.group,k=c.individualTexts,w=c.customCss,C=c.mobile,S=r.pageId,A=r.pageRequestUuid4,O=r.pageIdToPermalink,Z=r.consentForwardingExternalHosts,E=r.essentialGroup,I=r.isTcf,B=r.isEPrivacyUSA,T=r.isAgeNotice,D=r.tcf,N=r.tcfMetadata,P=r.groups,R=r.isRefreshSiteAfterConsent,z=function(t,e,n){return(0,o.Ye)((function(){}),[t,e,n])}(I,D,N),L=function(){var t=(0,m.u)().pageRequestUuid4,e=document.getElementById(t),n=wt(),r=(0,o.I4)((function(t,r){var o=t.layout,a=o.animationInDuration,c=o.animationOutDuration,s=n(o),u=s.useAnimationIn,l=s.useAnimationOut,d=r?"none"===u?0:a:"none"===l?0:c;d>0&&(e.style.transition="background ".concat(d,"ms")),e.style.background="transparent",r?(setTimeout((function(){e.style.display="block"}),0),setTimeout((function(){var t=e.getAttribute("data-bg");e.style.background=t?t.split(":")[1].trim().replace(";",""):"transparent"}),100)):setTimeout((function(){e.style.display="none"}),d);var f={animationVisible:r};return r?(0,i.Z)({visible:!0},f):f}),[n]);return{overlay:e,toggleOverlay:r}}(),W=L.toggleOverlay,_=(0,o.eJ)({layout:(0,i.Z)({},s),decision:(0,i.Z)({},u),legal:(0,i.Z)({},l),design:(0,i.Z)({},d),headerDesign:(0,i.Z)({},f),bodyDesign:(0,i.Z)({},p),footerDesign:(0,i.Z)({},v),texts:(0,i.Z)({},b),individualLayout:(0,i.Z)({},g),saveButton:(0,i.Z)({},y),group:(0,i.Z)({},x),individualTexts:(0,i.Z)({},k),customCss:(0,i.Z)({},w),mobile:(0,i.Z)({},C),pageRequestUuid4:A,pageIdToPermalink:O,consentForwardingExternalHosts:Z,pageId:S,isTcf:I,ePrivacyUSA:B,ageNotice:T,tcf:z,tcfFilterBy:"legInt",updateTcfFilterBy:function(t){F((function(e){return(0,i.Z)((0,i.Z)({},e),{},{tcfFilterBy:t})}))},groups:P,essentialGroup:E,poweredLink:e,visible:!1,animationVisible:!0,skipOverlay:!0,previewCheckboxActiveState:!1,individualPrivacyOpen:!1,updateIndividualPrivacyOpen:function(t){F((function(e){return(0,i.Z)((0,i.Z)({},e),{},{individualPrivacyOpen:t})}))},consent:{groups:(0,i.Z)((0,i.Z)({},!1===n?{}:n.consent),Mt(!1===n))},didGroupFirstChange:!1,updateGroupChecked:function(t,e){F((function(n){var r=JSON.parse(JSON.stringify(n.consent));return e?r.groups[t]=n.groups.filter((function(e){return e.id===t}))[0].items.map((function(t){return t.id})):delete r.groups[t],(0,i.Z)((0,i.Z)({},n),{},{consent:r,didGroupFirstChange:!0})}))},updateCookieChecked:function(t,e,n){F((function(r){var o=JSON.parse(JSON.stringify(r.consent));o.groups[t]||(o.groups[t]=[]);var a=o.groups[t],c=a.indexOf(e);return n&&-1===c?a.push(e):!n&&c>-1&&a.splice(c,1),a.length||delete o.groups[t],(0,i.Z)((0,i.Z)({},r),{},{consent:o})}))},onSave:function(t,e){F((function(n){var r=(0,Ft.$)({consent:n.consent,markAsDoNotTrack:t,buttonClicked:e,tcfString:void 0});return R||n.refreshSiteAfterSave?(r.then((function(){return setTimeout((function(){return window.location.reload()}),n.refreshSiteAfterSave||2e3)})),n):(0,i.Z)((0,i.Z)({},n),W(n,!1))}))},onClose:function(){F((function(t){return(0,i.Z)((0,i.Z)((0,i.Z)({},t),W(t,!1)),{},{refreshSiteAfterSave:!1})}))},setHistory:function(t){F((function(e){return(0,i.Z)((0,i.Z)({},e),{},{history:t})}))},selectHistoryEntry:function(t,e,n){F((function(r){var o={isTcf:!!n,tcf:null};return(0,i.Z)((0,i.Z)({},r),{},{groups:t,consent:(0,i.Z)((0,i.Z)({},r.consent),{},{groups:e})},o)}))}}),H=(0,a.Z)(_,2),Y=H[0],F=H[1];!function(t,e){(0,o.Ye)((function(){var n=function(n){return t((function(t){return(0,i.Z)((0,i.Z)({},t),{},{activeAction:n,individualPrivacyOpen:!0,refreshSiteAfterSave:"change"===n&&2e3},e(t,!0))}))},r=function(t){t&&(t.preventDefault(),t.stopPropagation())},o={openHistory:function(t){n("history"),r(t)},openBanner:function(t){n("change"),r(t)},revokeConsent:function(e,n){t((function(t){return t.tcf,(0,St.Z)(Ot().mark((function t(){return Ot().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=4,(0,Ft.$)({consent:{groups:Mt(!0)},buttonClicked:"shortcode_revoke",tcfString:void 0});case 4:e&&alert(e),setTimeout((function(){return window.location.reload()}),2e3);case 6:case"end":return t.stop()}}),t)})))(),t})),r(n)}};t((function(t){return(0,i.Z)((0,i.Z)({},t),o)}))}),[t,e])}(F,W),function(t,e,n){!(0,m.u)().customizeIdsBanner&&(0,o.d4)((function(){(0,St.Z)(Ot().mark((function r(){var o,a,c,s,u,l;return Ot().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:o=t.onSave,a=!0,c=0,s=[jt,Xt,ee,ne,re,oe,ae,ce];case 4:if(!(c<s.length)){r.next=16;break}return u=s[c],r.next=8,u(t);case 8:if(!1===(l=r.sent)){r.next=13;break}return a=!1,"all"===l?(0,se.k)("all"):"essentials"===l?(0,se.k)("essentials"):"dnt"===l?o(u===ae,"none"):"consent"===l&&(0,se.k)("consent"),r.abrupt("break",16);case 13:c++,r.next=4;break;case 16:if(!a){r.next=21;break}return e((function(t){return(0,i.Z)((0,i.Z)({},t),{},{consent:{groups:Mt()}},n(t,!0))})),r.next=20,(0,Ut.C)();case 20:document.dispatchEvent(new CustomEvent(ue.I,{detail:{}}));case 21:case"end":return r.stop()}}),r)})))()}),[])}(Y,F,W),(0,o.d4)((function(){var t=function(){var t=(0,Kt.h)();t&&F((function(e){return(0,i.Z)((0,i.Z)({},e),{},{consent:{groups:t.consent}})}))};return document.addEventListener(le.V,t),function(){document.removeEventListener(le.V,t)}}),[]);var M=h.k.Context();return de(M.Provider,{value:Y},de(Yt,null))},pe=n(6346),he=n(3102),ve=n(2583),me=n(55).default;function be(t){return ge.apply(this,arguments)}function ge(){return ge=(0,St.Z)(Ot().mark((function t(e){var n,r,o,i=arguments;return Ot().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n=i.length>1&&void 0!==i[1]?i[1]:500,r=i.length>2&&void 0!==i[2]?i[2]:0,o=0;case 3:if(e()){t.next=11;break}if(!(r>0&&o>=r)){t.next=6;break}return t.abrupt("return",void 0);case 6:return t.next=8,new me((function(t){return setTimeout(t,n)}));case 8:o++,t.next=3;break;case 11:return t.abrupt("return",e());case 12:case"end":return t.stop()}}),t)}))),ge.apply(this,arguments)}var ye=0,xe=n(6579),ke=n(9302),we=n(5577),Ce=n(4559);function Se(t,e,n){var r,o=[],i=(0,m.u)(),a=i.groups,c=i.revisionHash,s=a.map((function(t){return t.items})).flat(),u=(0,p.Z)(s);try{for(u.s();!(r=u.n()).done;){var l=r.value;if("number"==typeof t)l.id===t&&o.push({cookie:l,relevance:10});else{var d=l.technicalDefinitions;if(null!=d&&d.length){var f,h=(0,p.Z)(d);try{for(h.s();!(f=h.n()).done;){var v=f.value,b=(0,Ce.D)(v.name);if(v.type===t&&(v.name===e||e.match(b))&&(v.host===n||"*"===n)){o.push({cookie:l,relevance:d.length+d.indexOf(v)+1});break}}}catch(t){h.e(t)}finally{h.f()}}}}}catch(t){u.e(t)}finally{u.f()}var g=(0,Kt.h)();if(o.length){var y=o.sort((function(t,e){return t.relevance-e.relevance}))[0].cookie;return g&&c===g.revision?Object.values(g.consent).flat().indexOf(y.id)>-1?{cookie:y,consentGiven:!0,cookieOptIn:!0}:{cookie:y,consentGiven:!0,cookieOptIn:!1}:{cookie:y,consentGiven:!1,cookieOptIn:!1}}return{cookie:null,consentGiven:!!g,cookieOptIn:!0}}var Ae=n(55).default;function Oe(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return new Ae((function(t,n){var r=Se.apply(void 0,e),o=r.cookie,i=r.consentGiven,a=r.cookieOptIn;o?i?a?t():n():(document.addEventListener(ve.g,function(){var e=(0,St.Z)(Ot().mark((function e(n){return Ot().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n.detail.cookie===o&&t();case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),document.addEventListener(we.E,function(){var t=(0,St.Z)(Ot().mark((function t(e){return Ot().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.detail.cookie===o&&n();case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())):t()}))}var Ze=n(965),Ee=n(55).default;function Ie(t){return Ee.all(t.map((function(t){return Oe.apply(void 0,(0,Ze.Z)(t))})))}var Be,Te=n(4312),De=n(7029).h;n.p=(0,Te.sE)({NODE_ENV:"production",env:"production",rootSlug:"devowl-wp",slug:"real-cookie-banner",PLUGIN_CTX:"lite",ANTD_PREFIX:"rcb-antd",IS_TCF:"0",TCF_CMP_ID:367}),document.addEventListener(ve.g,function(){var t=(0,St.Z)(Ot().mark((function t(e){var n,r,o,i,a,c,s,u;return Ot().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n=e.detail.cookie,r=n.presetId,o=n.codeOptIn,i=n.codeDynamics,t.t0=r,t.next="amazon-associates-widget"===t.t0?4:"google-maps"===t.t0?16:18;break;case 4:if(!(a=(i||{}).amznAssoWidgetHtmlId)){t.next=15;break}if(!(c=document.getElementById(a))){t.next=15;break}return s=ye,ye++,(0,pe.K)(o,i,c),t.next=13,be((function(){return document.querySelector('[id^="amzn_assoc_ad_div_"][id$="'.concat(s,'"]'))}),500,50);case 13:(u=t.sent)&&c.appendChild(u);case 15:return t.abrupt("break",19);case 16:return document.addEventListener(he.T,function(){var t=(0,St.Z)(Ot().mark((function t(e){var n,r,o,i;return Ot().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.detail.element,r=window,o=r.et_pb_map_init,!((i=r.jQuery)&&n.matches(".et_pb_map")&&o)){t.next=6;break}return t.next=5,be((function(){return window.google}));case 5:o(i(n).parent());case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),t.abrupt("break",19);case 18:return t.abrupt("break",19);case 19:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),Be=Array.prototype.slice.call(document.querySelectorAll(".rcb-consent-print-uuid")),document.addEventListener(ue.I,(function(){Be.forEach((function(t){return t.innerHTML=t.getAttribute("data-fallback")}))})),document.addEventListener(le.V,(function(){var t=(0,Kt.h)();Be.forEach((function(e){return e.innerHTML=!1===t?e.getAttribute("data-fallback"):t.uuid}))})),(0,m.u)().isTcf,(0,Ut.C)((function(){var t=(0,m.u)().pageRequestUuid4,e=(0,xe.U)(),n=function(t){var e=document.body;return t.parentElement!==e&&e.appendChild(t),t}(document.getElementById(t));n&&(0,o.sY)(De(fe,{poweredLink:e}),n)}),"interactive"),window&&(window.consentApi=r)},6125:function(t,e,n){"use strict";n.d(e,{X:function(){return a}});var r=n(7663),o=n(5213),i=n(7029).h,a=function(t){var e=t.ms,n=void 0===e?100:e,a=t.chars,c=void 0===a?["◷","◶","◵","◴"]:a,s=(0,o.eJ)(1),u=(0,r.Z)(s,2),l=u[0],d=u[1];return(0,o.d4)((function(){var t=setInterval((function(){d(l+1)}),n);return function(){return clearInterval(t)}}),[l]),i("span",{dangerouslySetInnerHTML:{__html:c[l%4]}})}},2099:function(t,e,n){"use strict";n.d(e,{m:function(){return i}});var r=n(3438),o=n(7029).h,i=function(){var t=(0,r.u)(),e=t.isPro,n=t.isLicensed,i=t.isDevLicense,a=t.bannerI18n,c=a.noLicense,s=a.devLicense;if(!e)return null;var u="";return i?u=s:n||(u=c),u?o("div",{style:{fontSize:13,color:"#c95252",fontWeight:"bold",order:9}},u):null}},6161:function(t,e,n){"use strict";n.d(e,{z:function(){return u}});var r=n(4741),o=n(4115),i=n(5213),a=n(3428),c=n(9913),s=n(7029).h,u=(0,i.Gp)((function(t,e){var n=t.children,i=t.className,u=t.title,l=t.position,d=void 0===l?"top":l,f=t.color,p=t.size,h=void 0===p?"large":p,v=t.always,m=t.rounded,b=t.noAnimate,g=t.bounce,y=(0,o.Z)(t,["children","className","title","position","color","size","always","rounded","noAnimate","bounce"]);return(0,c.G)(a,"hint-css"),s("div",(0,r.Z)({style:{position:"relative",display:"inline"},ref:e,"aria-label":u,className:"hint--".concat(d," hint--").concat(h," ").concat(f?"hint--".concat(f):""," ").concat(v?"hint--always":""," ").concat(m?"hint--rounded":""," ").concat(b?"hint--no-animate":""," ").concat(g?"hint--bounce":""," ").concat(i||"")},y),n)}))},569:function(t,e,n){"use strict";n.d(e,{p:function(){return s}});var r=n(4741),o=n(4115),i=n(5213),a=n(1680),c=n(7029).h,s=function(t){var e=t.icon,n=(0,o.Z)(t,["icon"]),s=(0,i.Ye)((function(){return(0,a.x)(e,{extraSVGAttrs:{style:"width:auto;height:100%;",fill:"currentColor"}})}),[e]);return c("div",(0,r.Z)({},n,{dangerouslySetInnerHTML:{__html:s}}))}},2816:function(t,e,n){"use strict";n.d(e,{k:function(){return a},S:function(){return c}});var r=n(6762),o=n(3340),i=n(5213),a=function(){function t(){(0,r.Z)(this,t)}return(0,o.Z)(t,null,[{key:"Context",value:function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(){return this.context=this.context||(0,i.kr)({})}))}]),t}();function c(){return(0,i.qp)(a.Context())}a.context=void 0},8498:function(t,e,n){"use strict";n.d(e,{Z:function(){return a},_:function(){return c}});var r=n(6762),o=n(3340),i=n(5213),a=function(){function t(){(0,r.Z)(this,t)}return(0,o.Z)(t,null,[{key:"Context",value:function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(){return this.context=this.context||(0,i.kr)({})}))}]),t}();function c(){return(0,i.qp)(a.Context())}a.context=void 0},4450:function(t,e,n){"use strict";n.d(e,{X:function(){return c}});var r=n(2816),o=n(8498),i=n(3438);function a(t){var e=(0,r.S)().pageIdToPermalink,n=(0,o._)().pageIdToPermalink,a=e||n,c=(0,i.u)().pageByIdUrl;return(null==a?void 0:a[t])||"".concat(c,"=").concat(t)}function c(t){var e=t.privacyPolicy,n=t.privacyPolicyExternalUrl,r=t.privacyPolicyIsExternalUrl,o=t.privacyPolicyLabel,i=t.imprint,c=t.imprintExternalUrl,s=t.imprintIsExternalUrl,u=t.imprintLabel,l=a(e),d=a(i);return r&&(l=n),s&&(d=c),{linkPrivacyPolicy:!!o&&{url:l,label:o},linkImprint:!!u&&{url:d,label:u}}}},9913:function(t,e,n){"use strict";n.d(e,{G:function(){return i}});var r=n(5213),o=0;function i(t,e){var n=(0,r.Ye)((function(){return"react-use-plain-css-".concat(e||(o++).toString(36))}),[]);return(0,r.bt)((function(){var e=document.getElementById(n);return e||((e=document.createElement("style")).style.type="text/css",e.id=n,document.getElementsByTagName("head")[0].appendChild(e)),e.innerHTML=t,function(){var t;null===(t=e.parentNode)||void 0===t||t.removeChild(e)}}),[t]),n}},6423:function(t,e,n){"use strict";n.d(e,{$:function(){return b}});var r=n(2711),o=n(7938),i=n(5450),a=n.n(i),c={path:"/consent",method:n(6811).O.POST},s=n(625),u=n(38),l=n(3438),d=n(9448).default,f=n(55).default;function p(t){var e=t.endpoints,n=t.data;if((0,l.u)().isPro){var r,o=[],i=(0,u.Z)(e);try{for(i.s();!(r=i.n()).done;){var a=r.value;o.push(d(a,{method:"POST",credentials:"include",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(n)}))}}catch(t){i.e(t)}finally{i.f()}return f.all(o)}return f.reject()}var h=n(2887),v=n(3075),m=n(55).default;function b(t){return g.apply(this,arguments)}function g(){return(g=(0,o.Z)(a().mark((function t(e){var n,o,i,u,l,d,f,b,g,y,x,k,w,C,S,A,O,Z,E,I,B;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.consent,o=e.markAsDoNotTrack,i=void 0!==o&&o,u=e.buttonClicked,l=e.blocker,d=void 0===l?0:l,f=e.blockerThumbnail,b=e.tcfString,g=document.documentElement,y=g.clientWidth,x=g.clientHeight,k=(0,s.m)(),w=k.restNamespace,C=k.restRoot,S=k.restQuery,A=k.restNonce,t.next=5,(0,v.D)({location:c,options:{restNamespace:w,restRoot:C,restQuery:S,restNonce:A},sendRestNonce:!1,request:(0,r.Z)((0,r.Z)({},n),{},{markAsDoNotTrack:i,buttonClicked:u,viewPortWidth:y,viewPortHeight:x,blocker:d,blockerThumbnail:f,tcfString:b}),params:{_wp_http_referer:window.location.href}});case 5:return O=t.sent,Z=O.forward,E=O.uuid,I=O.cookie_revision,B=O.decision_in_cookie,window.rcbDisabledCookieComp={uuid:E,revision:I,consent:B},t.next=13,m.all([Z&&p(Z),(0,h.k)("consent")].filter(Boolean));case 13:case"end":return t.stop()}}),t)})))).apply(this,arguments)}},2887:function(t,e,n){"use strict";n.d(e,{k:function(){return L}});var r=n(7938),o=n(5450),i=n.n(o),a=n(4115),c=n(38),s=n(63),u=n(7663),l=n(3438),d=n(9094);function f(t){var e,n,o=(0,l.u)(),a=o.groups,f=o.essentialGroup,p=o.setCookiesViaManager,h=o.isPro&&"none"!==p,v=a.filter((function(t){return t.slug===f})),m=(0,u.Z)(v,1)[0],b=(0,s.Z)({},m.id,m.items.map((function(t){return t.id})));if("consent"===t){var g=(0,d.h)();!1!==g?e=g.consent:(console.warn("Something went wrong while reading the cookie, fallback to essentials only..."),e=b)}return"essentials"===t&&(e=b),{isManagerActive:h,selectedGroups:e,iterateCookies:(n=(0,r.Z)(i().mark((function n(r){var o,s,u,l,d,f,p,h;return i().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:o=(0,c.Z)(a),n.prev=1,o.s();case 3:if((s=o.n()).done){n.next=25;break}u=s.value,l=(0,c.Z)(u.items),n.prev=6,l.s();case 8:if((d=l.n()).done){n.next=15;break}return p=d.value,h="all"===t||(null===(f=e[u.id])||void 0===f?void 0:f.indexOf(p.id))>-1,n.next=13,r(u,p,h);case 13:n.next=8;break;case 15:n.next=20;break;case 17:n.prev=17,n.t0=n.catch(6),l.e(n.t0);case 20:return n.prev=20,l.f(),n.finish(20);case 23:n.next=3;break;case 25:n.next=30;break;case 27:n.prev=27,n.t1=n.catch(1),o.e(n.t1);case 30:return n.prev=30,o.f(),n.finish(30);case 33:case"end":return n.stop()}}),n,null,[[1,27,30,33],[6,17,20,23]])}))),function(t){return n.apply(this,arguments)})}}function p(t,e){var n,r,o;return t&&(r=(n=e).charAt(0).toUpperCase()+n.slice(1),o="googleTagManager"===e?"dataLayer":"_mtm"),{useVariableNameCamel:n,useVariableNamePascal:r,useGlobalObjectName:o}}var h=n(2583),v=n(6346),m=n(55).default;function b(t){return g.apply(this,arguments)}function g(){return g=(0,r.Z)(i().mark((function t(e){var n,o,c,s,u,d,b,g,y,x,k;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=[],o=f(e),c=o.isManagerActive,s=o.iterateCookies,u=(0,l.u)(),d=u.setCookiesViaManager,(b=p(c,d)).useGlobalObjectName,g=b.useVariableNamePascal,y=!1,x=m.resolve(void 0),k=[],t.next=9,s(function(){var t=(0,r.Z)(i().mark((function t(e,r,o){var s,u,l,d,f,p;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:s=r.presetId,u=r.codeDynamics,l=r.codeOptIn,d=(0,a.Z)(r,["presetId","codeDynamics","codeOptIn"]),c&&d["thisIs".concat(g)],o&&(f=c&&d["codeOptInNo".concat(g)],p=["amazon-associates-widget"].indexOf(s)>-1,f||p||k.push((0,v.K)(l,u)),document.dispatchEvent(new CustomEvent(h.g,{detail:{group:e,cookie:r}})),n.push({group:e,cookie:r}));case 3:case"end":return t.stop()}}),t)})));return function(e,n,r){return t.apply(this,arguments)}}());case 9:return t.abrupt("return",{isManagerOptOut:y,dataLayerPromise:x,cookies:n,ready:m.all(k)});case 10:case"end":return t.stop()}}),t)}))),g.apply(this,arguments)}var y=n(55).default;function x(t,e,n){return k.apply(this,arguments)}function k(){return k=(0,r.Z)(i().mark((function t(e,n,o){var c,u,d,h,m,b,g,x,k;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(c=[],u=f(e),d=u.isManagerActive,h=u.iterateCookies,m=(0,l.u)(),b=m.setCookiesViaManager,g=p(d,b),x=g.useVariableNameCamel,k=g.useVariableNamePascal,!n){t.next=11;break}return h((function(t,e,r){var o=e["".concat(x,"InEventName")];r&&o&&n.push({realCookieBannerOptInEvents:(0,s.Z)({},o,!0),event:o})})),t.next=8,new y((function(t){return setTimeout(t,1e3)}));case 8:h((function(t,e,r){var o=e["".concat(x,"OutEventName")];!r&&o&&n.push({realCookieBannerOptOutEvents:(0,s.Z)({},o,!0),event:o})})),t.next=14;break;case 11:if(!d||!o){t.next=14;break}return t.next=14,h(function(){var t=(0,r.Z)(i().mark((function t(e,n,r){var o,s,u;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:o=n.codeDynamics,s=n.codeOptIn,u=(0,a.Z)(n,["codeDynamics","codeOptIn"]),r&&u["codeOptInNo".concat(k)]&&c.push((0,v.K)(s,o));case 2:case"end":return t.stop()}}),t)})));return function(e,n,r){return t.apply(this,arguments)}}());case 14:return t.abrupt("return",{ready:y.all(c)});case 15:case"end":return t.stop()}}),t)}))),k.apply(this,arguments)}var w=n(4559),C=n(8542),S=n.n(C),A=n(2891);function O(t,e){var n,r=(0,c.Z)(t);try{for(r.s();!(n=r.n()).done;){var o=n.value,i=o.type,a=o.name,s=new RegExp((0,w.D)((0,A.c)(a,e)),"g");switch(i){case"http":for(var u=0,l=Object.keys(S().get());u<l.length;u++){var d=l[u];s.test(d)&&S().remove(d)}break;case"local":case"session":try{var f="local"===i?window.localStorage:window.sessionStorage;if(f)for(var p=0,h=Object.keys(f);p<h.length;p++){var v=h[p];if(s.test(v)){try{f.setItem(v,null)}catch(t){}for(var m=0;f.getItem(v)&&m<100;)m++,f.removeItem(v)}}}catch(t){continue}}}}catch(t){r.e(t)}finally{r.f()}}var Z=n(3075),E=n(625),I={path:"/consent/clear",method:n(6811).O.DELETE};function B(t){var e=(0,E.m)(),n=e.restNamespace,r=e.restRoot,o=e.restQuery,i=e.restNonce;return(0,Z.D)({location:I,options:{restNamespace:n,restRoot:r,restQuery:o,restNonce:i},sendRestNonce:!1,params:{cookies:t.join(",")}})}var T=n(5577);function D(t,e){return N.apply(this,arguments)}function N(){return N=(0,r.Z)(i().mark((function t(e,n){var o,c,s,u,d,h,m,b;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=f(e),c=o.isManagerActive,s=o.iterateCookies,u=(0,l.u)(),d=u.setCookiesViaManager,h=p(c,d),m=h.useVariableNamePascal,b=[],t.next=6,s(function(){var t=(0,r.Z)(i().mark((function t(e,r,o){var s,u,l,d,f,p,h,g;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:s=r.id,u=r.codeDynamics,l=r.codeOptOut,d=r.codeOptOutDelete,f=r.noTechnicalDefinitions,p=r.technicalDefinitions,h=(0,a.Z)(r,["id","codeDynamics","codeOptOut","codeOptOutDelete","noTechnicalDefinitions","technicalDefinitions"]),o||(((g=c&&h["codeOptInNo".concat(m)])&&!n||!g)&&(0,v.K)(l,u),d&&!f&&(O(p,u),p.some((function(t){return"http"===t.type}))&&b.push(s)),document.dispatchEvent(new CustomEvent(T.E,{detail:{group:e,cookie:r}})));case 2:case"end":return t.stop()}}),t)})));return function(e,n,r){return t.apply(this,arguments)}}());case 6:b.length&&setTimeout((function(){return B(b)}),0);case 7:case"end":return t.stop()}}),t)}))),N.apply(this,arguments)}var P=n(8431),R=n(6794),z=n(55).default;function L(t){return W.apply(this,arguments)}function W(){return(W=(0,r.Z)(i().mark((function t(e){var n,r,o,a,c,s,u,l;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,P.C)();case 2:return t.next=4,b(e);case 4:return n=t.sent,r=n.dataLayerPromise,o=n.isManagerOptOut,a=n.cookies,c=n.ready,t.t0=x,t.t1=e,t.next=13,r;case 13:return t.t2=t.sent,t.t3=o,t.next=17,(0,t.t0)(t.t1,t.t2,t.t3);case 17:return s=t.sent,u=s.ready,l=z.all([c,u]),document.dispatchEvent(new CustomEvent(R.V,{detail:{cookies:a,ready:l}})),t.next=23,D(e,o);case 23:case"end":return t.stop()}}),t)})))).apply(this,arguments)}},8001:function(t,e,n){"use strict";n.d(e,{Q:function(){return c}});var r=n(38),o=n(3438),i="eprivacy-usa-expand",a=!1;function c(t,e,n,c){var s,u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:3,l=arguments.length>5&&void 0!==arguments[5]&&arguments[5],d=(0,o.u)(),f=d.bannerI18n,p=f.ePrivacyNoteMore,h=f.none,v=[],m=[],b=(0,r.Z)(t);try{for(b.s();!(s=b.n()).done;){var g,y=s.value.items,x=(0,r.Z)(y);try{for(x.s();!(g=x.n()).done;){var k=g.value;c(k)&&m.push(k.name)}}catch(t){x.e(t)}finally{x.f()}}}catch(t){b.e(t)}finally{b.f()}return m.length-u>1&&(v=m.slice(u,m.length),(m=m.slice(0,u)).push("<span ".concat(i,'="').concat(v.join(", "),'" style="text-decoration:none;border-bottom:0.5px dashed;padding-bottom:1px;cursor:pointer;">').concat(p.replace("%d",v.length.toString()),"</span>")),!a&&document.addEventListener("click",(function(t){var e=t.target;null!=e&&e.hasAttribute(i)&&(e.innerHTML=e.getAttribute(i),e.removeAttribute("style"))})),a=!0),l&&0===m.length?"":n.replace(/{{services}}/g,m.length?m.join(", "):'<span style="color:red;">'.concat(h,"</span>"))}},1802:function(t,e,n){"use strict";function r(){return{http:{name:"HTTP Cookie",abbr:"HTTP",backgroundColor:"black"},local:{name:"Local Storage",abbr:"Local",backgroundColor:"#b3983c"},session:{name:"Session Storage",abbr:"Session",backgroundColor:"#3c99b3"},flash:{name:"Flash Local Shared Object",abbr:"Flash",backgroundColor:"#b33c3c"},indexedDb:{name:"IndexedDB",abbr:"I-DB",backgroundColor:"#4ab33c"}}}n.d(e,{w:function(){return r}})},6579:function(t,e,n){"use strict";n.d(e,{U:function(){return i}});var r=n(3438),o=n(7932);function i(){var t=(0,r.u)().pageRequestUuid4,e=document.getElementById(t).nextElementSibling,n=document.createElement("div");return window.rcbPoweredByCacheOuterHTML?n.innerHTML=window.rcbPoweredByCacheOuterHTML:(0,o.D)(e,"a")&&e.innerHTML.toLowerCase().indexOf("Real Cookie Banner")&&(window.rcbPoweredByCacheOuterHTML=e.outerHTML,n.innerHTML=window.rcbPoweredByCacheOuterHTML,e.parentNode.removeChild(e)),n.children[0]}window.rcbPoweredByCacheOuterHTML=""},9094:function(t,e,n){"use strict";n.d(e,{h:function(){return c}});var r=n(7663),o=n(965),i=n(3438),a=n(1229);function c(){var t=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=(0,o.Z)(document.cookie.matchAll(new RegExp("(^|;)\\s*".concat(t,"\\s*=\\s*([^;]+)"),"g")));if(!n.length)return"";var r=n.pop().pop();return e?decodeURIComponent(r):r}((0,i.u)().userConsentCookieName);if(!t)return!(0,a.E)()&&(window.rcbDisabledCookieComp||!1);var e=function(t,e,n){var r=t.split(":");if(r.length<=3)return r;var o=r.slice(0,2);return o.push(r.slice(2).join(":")),o}(t);if(3!==e.length)return!1;var n=(0,r.Z)(e,2);return{uuid:n[0],revision:n[1],consent:JSON.parse(e[2])}}},9509:function(t,e,n){"use strict";n.d(e,{I:function(){return r}});var r="RCB/Banner/Show"},6794:function(t,e,n){"use strict";n.d(e,{V:function(){return r}});var r="RCB/OptIn/All"},2583:function(t,e,n){"use strict";n.d(e,{g:function(){return r}});var r="RCB/OptIn"},5577:function(t,e,n){"use strict";n.d(e,{E:function(){return r}});var r="RCB/OptOut"},4559:function(t,e,n){"use strict";function r(t){var e,n=t.replace(/\*/g,"PLEACE_REPLACE_ME_AGAIN");return"^".concat((e=n,e.replace(new RegExp("[.\\\\+*?\\[\\^\\]$(){}=!<>|:\\".concat("","-]"),"g"),"\\$&")).replace(/PLEACE_REPLACE_ME_AGAIN/g,"(.*)"),"$")}n.d(e,{D:function(){return r}})},625:function(t,e,n){"use strict";function r(){return window["real-cookie-banner".replace(/-([a-z])/g,(function(t){return t[1].toUpperCase()}))]}n.d(e,{m:function(){return r}})},3438:function(t,e,n){"use strict";n.d(e,{u:function(){return o}});var r=n(625);function o(){return(0,r.m)().others}},6102:function(t,e,n){"use strict";n.d(e,{e:function(){return a}});var r=n(965),o=n(5213),i=n(7029).h;function a(t,e){var n=t.filter(Boolean);return 0===n.length?null:n.reduce((function(t,n,a){return t.length?[].concat((0,r.Z)(t),[i(o.HY,{key:a},e),n]):[n]}),[])}},6652:function(){String.prototype.startsWith||(String.prototype.startsWith=function(t,e){return e=e||0,this.indexOf(t,e)===e}),String.prototype.endsWith||(String.prototype.endsWith=function(t,e){var n=this.toString();("number"!=typeof e||!isFinite(e)||Math.floor(e)!==e||e>n.length)&&(e=n.length),e-=t.length;var r=n.indexOf(t,e);return-1!==r&&r===e}),null==Element.prototype.getAttributeNames&&(Element.prototype.getAttributeNames=function(){for(var t=this.attributes,e=t.length,n=new Array(e),r=0;r<e;r++)n[r]=t[r].name;return n}),"function"!=typeof window.CustomEvent&&(window.CustomEvent=function(t,e){e=e||{bubbles:!1,cancelable:!1,detail:null};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}),Object.values=Object.values?Object.values:function(t){var e=Object.prototype.toString.call(t);if(null==t)throw new TypeError("Cannot convert undefined or null to object");if(~["[object String]","[object Object]","[object Array]","[object Function]"].indexOf(e)){if(Object.keys)return Object.keys(t).map((function(e){return t[e]}));var n=[];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&n.push(t[r]);return n}return[]},"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e[0];if(null==r)throw new TypeError("Cannot convert undefined or null to object");for(var o=Object(r),i=1;i<e.length;i++){var a=e[i];if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(o[c]=a[c])}return o},writable:!0,configurable:!0}),[Element.prototype,CharacterData.prototype,DocumentType.prototype].forEach((function(t){t.hasOwnProperty("remove")||Object.defineProperty(t,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){this.parentNode.removeChild(this)}})}))},8431:function(t,e,n){"use strict";n.d(e,{C:function(){return o}});var r=n(55).default,o=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"complete";return new r((function(n){var r=function(){null==t||t(),setTimeout(n,0)};document.readyState===e?r():document.addEventListener("readystatechange",(function(){document.readyState===e&&r()}))}))}},1229:function(t,e,n){"use strict";n.d(e,{E:function(){return o}});var r="real_cookie_banner-test";function o(){try{document.cookie="".concat(r,"=1");var t=-1!==document.cookie.indexOf("".concat(r,"="));return document.cookie="".concat(r,"=1; expires=Thu, 01-Jan-1970 00:00:01 GMT"),t}catch(t){return!1}}},3428:function(t){"use strict";t.exports="/*! Hint.css - v2.7.0 - 2021-10-01\n* https://kushagra.dev/lab/hint/\n* Copyright (c) 2021 Kushagra Gour */\n\n[class*=hint--]{position:relative;display:inline-block}[class*=hint--]:after,[class*=hint--]:before{position:absolute;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);transform:translate3d(0,0,0);visibility:hidden;opacity:0;z-index:1000000;pointer-events:none;-webkit-transition:.3s ease;-moz-transition:.3s ease;transition:.3s ease;-webkit-transition-delay:0s;-moz-transition-delay:0s;transition-delay:0s}[class*=hint--]:hover:after,[class*=hint--]:hover:before{visibility:visible;opacity:1;-webkit-transition-delay:.1s;-moz-transition-delay:.1s;transition-delay:.1s}[class*=hint--]:before{content:'';position:absolute;background:0 0;border:6px solid transparent;z-index:1000001}[class*=hint--]:after{background:#383838;color:#fff;padding:8px 10px;font-size:12px;font-family:\"Helvetica Neue\",Helvetica,Arial,sans-serif;line-height:12px;white-space:nowrap;text-shadow:0 -1px 0 #000;box-shadow:4px 4px 8px rgba(0,0,0,.3)}[class*=hint--][aria-label]:after{content:attr(aria-label)}[class*=hint--][data-hint]:after{content:attr(data-hint)}[aria-label='']:after,[aria-label='']:before,[data-hint='']:after,[data-hint='']:before{display:none!important}.hint--top-left:before,.hint--top-right:before,.hint--top:before{border-top-color:#383838}.hint--bottom-left:before,.hint--bottom-right:before,.hint--bottom:before{border-bottom-color:#383838}.hint--top:after,.hint--top:before{bottom:100%;left:50%}.hint--top:before{margin-bottom:-11px;left:calc(50% - 6px)}.hint--top:after{-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);transform:translateX(-50%)}.hint--top:hover:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--top:hover:after{-webkit-transform:translateX(-50%) translateY(-8px);-moz-transform:translateX(-50%) translateY(-8px);transform:translateX(-50%) translateY(-8px)}.hint--bottom:after,.hint--bottom:before{top:100%;left:50%}.hint--bottom:before{margin-top:-11px;left:calc(50% - 6px)}.hint--bottom:after{-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);transform:translateX(-50%)}.hint--bottom:hover:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--bottom:hover:after{-webkit-transform:translateX(-50%) translateY(8px);-moz-transform:translateX(-50%) translateY(8px);transform:translateX(-50%) translateY(8px)}.hint--right:before{border-right-color:#383838;margin-left:-11px;margin-bottom:-6px}.hint--right:after{margin-bottom:-14px}.hint--right:after,.hint--right:before{left:100%;bottom:50%}.hint--right:hover:after,.hint--right:hover:before{-webkit-transform:translateX(8px);-moz-transform:translateX(8px);transform:translateX(8px)}.hint--left:before{border-left-color:#383838;margin-right:-11px;margin-bottom:-6px}.hint--left:after{margin-bottom:-14px}.hint--left:after,.hint--left:before{right:100%;bottom:50%}.hint--left:hover:after,.hint--left:hover:before{-webkit-transform:translateX(-8px);-moz-transform:translateX(-8px);transform:translateX(-8px)}.hint--top-left:after,.hint--top-left:before{bottom:100%;left:50%}.hint--top-left:before{margin-bottom:-11px;left:calc(50% - 6px)}.hint--top-left:after{-webkit-transform:translateX(-100%);-moz-transform:translateX(-100%);transform:translateX(-100%);margin-left:12px}.hint--top-left:hover:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--top-left:hover:after{-webkit-transform:translateX(-100%) translateY(-8px);-moz-transform:translateX(-100%) translateY(-8px);transform:translateX(-100%) translateY(-8px)}.hint--top-right:after,.hint--top-right:before{bottom:100%;left:50%}.hint--top-right:before{margin-bottom:-11px;left:calc(50% - 6px)}.hint--top-right:after{-webkit-transform:translateX(0);-moz-transform:translateX(0);transform:translateX(0);margin-left:-12px}.hint--top-right:hover:after,.hint--top-right:hover:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--bottom-left:after,.hint--bottom-left:before{top:100%;left:50%}.hint--bottom-left:before{margin-top:-11px;left:calc(50% - 6px)}.hint--bottom-left:after{-webkit-transform:translateX(-100%);-moz-transform:translateX(-100%);transform:translateX(-100%);margin-left:12px}.hint--bottom-left:hover:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--bottom-left:hover:after{-webkit-transform:translateX(-100%) translateY(8px);-moz-transform:translateX(-100%) translateY(8px);transform:translateX(-100%) translateY(8px)}.hint--bottom-right:after,.hint--bottom-right:before{top:100%;left:50%}.hint--bottom-right:before{margin-top:-11px;left:calc(50% - 6px)}.hint--bottom-right:after{-webkit-transform:translateX(0);-moz-transform:translateX(0);transform:translateX(0);margin-left:-12px}.hint--bottom-right:hover:after,.hint--bottom-right:hover:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--large:after,.hint--medium:after,.hint--small:after{white-space:normal;line-height:1.4em;word-wrap:break-word}.hint--small:after{width:80px}.hint--medium:after{width:150px}.hint--large:after{width:300px}.hint--error:after{background-color:#b34e4d;text-shadow:0 -1px 0 #592726}.hint--error.hint--top-left:before,.hint--error.hint--top-right:before,.hint--error.hint--top:before{border-top-color:#b34e4d}.hint--error.hint--bottom-left:before,.hint--error.hint--bottom-right:before,.hint--error.hint--bottom:before{border-bottom-color:#b34e4d}.hint--error.hint--left:before{border-left-color:#b34e4d}.hint--error.hint--right:before{border-right-color:#b34e4d}.hint--warning:after{background-color:#c09854;text-shadow:0 -1px 0 #6c5328}.hint--warning.hint--top-left:before,.hint--warning.hint--top-right:before,.hint--warning.hint--top:before{border-top-color:#c09854}.hint--warning.hint--bottom-left:before,.hint--warning.hint--bottom-right:before,.hint--warning.hint--bottom:before{border-bottom-color:#c09854}.hint--warning.hint--left:before{border-left-color:#c09854}.hint--warning.hint--right:before{border-right-color:#c09854}.hint--info:after{background-color:#3986ac;text-shadow:0 -1px 0 #1a3c4d}.hint--info.hint--top-left:before,.hint--info.hint--top-right:before,.hint--info.hint--top:before{border-top-color:#3986ac}.hint--info.hint--bottom-left:before,.hint--info.hint--bottom-right:before,.hint--info.hint--bottom:before{border-bottom-color:#3986ac}.hint--info.hint--left:before{border-left-color:#3986ac}.hint--info.hint--right:before{border-right-color:#3986ac}.hint--success:after{background-color:#458746;text-shadow:0 -1px 0 #1a321a}.hint--success.hint--top-left:before,.hint--success.hint--top-right:before,.hint--success.hint--top:before{border-top-color:#458746}.hint--success.hint--bottom-left:before,.hint--success.hint--bottom-right:before,.hint--success.hint--bottom:before{border-bottom-color:#458746}.hint--success.hint--left:before{border-left-color:#458746}.hint--success.hint--right:before{border-right-color:#458746}.hint--always:after,.hint--always:before{opacity:1;visibility:visible}.hint--always.hint--top:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--always.hint--top:after{-webkit-transform:translateX(-50%) translateY(-8px);-moz-transform:translateX(-50%) translateY(-8px);transform:translateX(-50%) translateY(-8px)}.hint--always.hint--top-left:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--always.hint--top-left:after{-webkit-transform:translateX(-100%) translateY(-8px);-moz-transform:translateX(-100%) translateY(-8px);transform:translateX(-100%) translateY(-8px)}.hint--always.hint--top-right:after,.hint--always.hint--top-right:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--always.hint--bottom:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--always.hint--bottom:after{-webkit-transform:translateX(-50%) translateY(8px);-moz-transform:translateX(-50%) translateY(8px);transform:translateX(-50%) translateY(8px)}.hint--always.hint--bottom-left:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--always.hint--bottom-left:after{-webkit-transform:translateX(-100%) translateY(8px);-moz-transform:translateX(-100%) translateY(8px);transform:translateX(-100%) translateY(8px)}.hint--always.hint--bottom-right:after,.hint--always.hint--bottom-right:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--always.hint--left:after,.hint--always.hint--left:before{-webkit-transform:translateX(-8px);-moz-transform:translateX(-8px);transform:translateX(-8px)}.hint--always.hint--right:after,.hint--always.hint--right:before{-webkit-transform:translateX(8px);-moz-transform:translateX(8px);transform:translateX(8px)}.hint--rounded:after{border-radius:4px}.hint--no-animate:after,.hint--no-animate:before{-webkit-transition-duration:0s;-moz-transition-duration:0s;transition-duration:0s}.hint--bounce:after,.hint--bounce:before{-webkit-transition:opacity .3s ease,visibility .3s ease,-webkit-transform .3s cubic-bezier(.71,1.7,.77,1.24);-moz-transition:opacity .3s ease,visibility .3s ease,-moz-transform .3s cubic-bezier(.71,1.7,.77,1.24);transition:opacity .3s ease,visibility .3s ease,transform .3s cubic-bezier(.71,1.7,.77,1.24)}.hint--no-shadow:after,.hint--no-shadow:before{text-shadow:initial;box-shadow:initial}.hint--no-arrow:before{display:none}"}},n={};function r(t){var o=n[t];if(void 0!==o)return o.exports;var i=n[t]={exports:{}};return e[t].call(i.exports,i,i.exports,r),i.exports}r.m=e,t=[],r.O=function(e,n,o,i){if(!n){var a=1/0;for(l=0;l<t.length;l++){n=t[l][0],o=t[l][1],i=t[l][2];for(var c=!0,s=0;s<n.length;s++)(!1&i||a>=i)&&Object.keys(r.O).every((function(t){return r.O[t](n[s])}))?n.splice(s--,1):(c=!1,i<a&&(a=i));if(c){t.splice(l--,1);var u=o();void 0!==u&&(e=u)}}return e}i=i||0;for(var l=t.length;l>0&&t[l-1][2]>i;l--)t[l]=t[l-1];t[l]=[n,o,i]},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,{a:e}),e},r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},function(){var t;r.g.importScripts&&(t=r.g.location+"");var e=r.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var n=e.getElementsByTagName("script");n.length&&(t=n[n.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=t}(),function(){var t={392:0};r.O.j=function(e){return 0===t[e]};var e=function(e,n){var o,i,a=n[0],c=n[1],s=n[2],u=0;if(a.some((function(e){return 0!==t[e]}))){for(o in c)r.o(c,o)&&(r.m[o]=c[o]);if(s)var l=s(r)}for(e&&e(n);u<a.length;u++)i=a[u],r.o(t,i)&&t[i]&&t[i][0](),t[a[u]]=0;return r.O(l)},n=self.webpackChunkrealCookieBanner_name_=self.webpackChunkrealCookieBanner_name_||[];n.forEach(e.bind(null,0)),n.push=e.bind(null,n.push.bind(n))}(),r.O(void 0,[568],(function(){return r(6652)}));var o=r.O(void 0,[568],(function(){return r(4773)}));o=r.O(o),realCookieBanner_banner=o}();
|
2 |
//# sourceMappingURL=banner.lite.js.map
|
1 |
+
var realCookieBanner_banner;!function(){var t,e={2891:function(t,e,n){"use strict";n.d(e,{c:function(){return o}});var r=/{{([A-Za-z0-9_]+)}}/gm;function o(t,e){return t.replace(r,(function(t,n){return Object.prototype.hasOwnProperty.call(e,n)?e[n]:t}))}},4548:function(t,e,n){"use strict";n.d(e,{jb:function(){return r},zm:function(){return o},rG:function(){return i},d3:function(){return a},_W:function(){return c},NY:function(){return s},He:function(){return u},i7:function(){return l},Ng:function(){return d},CT:function(){return f},v4:function(){return p},YO:function(){return h},Gn:function(){return v},Ti:function(){return m},Ks:function(){return b},dW:function(){return g},Kh:function(){return y},Wm:function(){return x},Qt:function(){return k},of:function(){return w},fq:function(){return C},WK:function(){return S},jk:function(){return A},Kx:function(){return O}});var r="consent-original",o="consent-click-original",i="_",a="consent-by",c="consent-required",s="consent-visual-use-parent",u="consent-visual-paint-mode",l="consent-inline",d="consent-inline-style",f="consent-id",p="script",h="consent-blocker-connected",v="consent-blocker-connected-pres",m="consent-transaction-complete",b="consent-transform-wrapper",g="1",y="consent-strict-hidden",x="consent-cb-reset-parent",k="1",w="consent-cb-reset-parent-is-ratio",C="consent-got-clicked",S="1",A="2",O="consent-thumbnail"},6346:function(t,e,n){"use strict";n.d(e,{L:function(){return s},K:function(){return u}});var r=n(9749),o=n.n(r),i=n(2891),a=n(7033),c=n(55).default,s="rcbInitiatorOnload";function u(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document.body;return new c((function(r){t?o()(n,(0,i.c)(t,e),{done:r,error:function(t){console.error(t)},beforeWriteToken:function(t){var e=t.attrs,n=t.booleanAttrs,r=t.src,o=t.href,i=t.content;if(null!=n&&n["skip-write"])return!1;for(var c in i&&(t.content=i.replace(/window\.onload\s+=/g,"window.".concat(s," ="))),e)if(e[c]=(0,a.l)(e[c]),"unique-write-name"===c&&document.querySelector('[unique-write-name="'.concat(e[c],'"]')))return!1;return r&&(t.src=(0,a.l)(r)),o&&(t.href=(0,a.l)(o)),t}}):r()}))}},3102:function(t,e,n){"use strict";n.d(e,{T:function(){return r}});var r="RCB/OptIn/ContentBlocker"},3743:function(t,e,n){"use strict";function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;setTimeout((function(){try{window.dispatchEvent(new Event("resize"))}catch(t){}}),t)}n.d(e,{s:function(){return r}})},7033:function(t,e,n){"use strict";n.d(e,{l:function(){return o}});var r=n(3137);function o(t){var e;return(0,r.C)(t)?null===(e=(new DOMParser).parseFromString('<a href="'.concat(t,'"></a>'),"text/html").querySelector("a"))||void 0===e?void 0:e.href:(new DOMParser).parseFromString(t,"text/html").documentElement.textContent}},3137:function(t,e,n){"use strict";function r(t){return!!/^(?:(?:https?|ftp):\/\/)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:\/\S*)?$/.test(t)}n.d(e,{C:function(){return r}})},9586:function(t,e,n){"use strict";n.d(e,{w:function(){return o}});var r=n(7932);function o(t,e){for(var n=[],o=t.parentElement;null!==o;)o.nodeType===Node.ELEMENT_NODE&&(0,r.D)(o,e)&&n.push(o),o=o.parentElement;return n}},7932:function(t,e,n){"use strict";function r(t,e){var n="undefined"!=typeof Element?Element.prototype:{},r=n.matches||n.matchesSelector||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector;if(!t||1!==t.nodeType||!t.parentElement)return!1;if(r)return r.call(t,e);var o=t.parentElement.querySelectorAll(e);for(var i in o)if(o[i]===t)return!0;return!1}n.d(e,{D:function(){return r}})},3075:function(t,e,n){"use strict";n.d(e,{D:function(){return Z}});var r=n(2711),o=n(7938),i=n(5450),a=n.n(i),c=n(4742),s=n.n(c),u=n(4312),l=n(6811),d=n(5566),f=n.n(d);function p(t){for(var e=t.location,n=t.params,r=void 0===n?{}:n,o=t.nonce,i=void 0===o||o,a=t.options,c=new(s())(a.restRoot,!0),d=c.query,p=d.rest_route||c.pathname,h=[],v=e.path.replace(/:([A-Za-z0-9-_]+)/g,(function(t,e){return h.push(e),r[e]})),m={},b=0,g=Object.keys(r);b<g.length;b++){var y=g[b];-1===h.indexOf(y)&&(m[y]=r[y])}var x=(0,u.Ab)(p)+(0,u.XO)(e.namespace||a.restNamespace)+v,k=new(s())(window.location.href).protocol.slice(0,-1);c.set("protocol",k),d.rest_route?d.rest_route=x:c.set("pathname",x),i&&a.restNonce&&(d._wpnonce=a.restNonce);var w=c.toString();return["wp-json/","rest_route="].filter((function(t){return w.indexOf(t)>-1})).length>0&&e.method&&e.method!==l.O.GET&&(d._method=e.method),c.set("query",f().all([a.restQuery,m,d])).toString()}var h=n(55).default,v=n(9448).default,m={},b={};function g(t,e){return y.apply(this,arguments)}function y(){return y=(0,o.Z)(a().mark((function t(e,n){var r,i;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===n){t.next=6;break}return r=b[e]||new h(function(){var t=(0,o.Z)(a().mark((function t(r,o){var i,c;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,v(n);case 3:if(!(i=t.sent).ok){t.next=11;break}return t.next=7,i.text();case 7:c=t.sent,e===c?o():(m[e]=c,r(c)),t.next=12;break;case 11:o();case 12:t.next=17;break;case 14:t.prev=14,t.t0=t.catch(0),o();case 17:case"end":return t.stop()}}),t,null,[[0,14]])})));return function(e,n){return t.apply(this,arguments)}}()),b[e]=r,t.abrupt("return",r);case 6:if(void 0!==e){t.next=8;break}return t.abrupt("return",void 0);case 8:return t.next=10,h.all(Object.values(b));case 10:i=e;case 11:if(!m[i]){t.next=17;break}if(i=m[i],m[i]!==e){t.next=15;break}return t.abrupt("break",17);case 15:t.next=11;break;case 17:return t.abrupt("return",h.resolve(i));case 18:case"end":return t.stop()}}),t)}))),y.apply(this,arguments)}var x=n(38);function k(t,e,n){return w.apply(this,arguments)}function w(){return(w=(0,o.Z)(a().mark((function t(e,n,r){var o,i,c,s,u,d;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=n.clone(),t.prev=1,t.next=4,n.json();case 4:return t.abrupt("return",t.sent);case 7:return t.prev=7,t.t0=t.catch(1),t.next=11,o.text();case 11:if(!(""===(i=t.sent)&&[l.O.DELETE,l.O.PUT].indexOf(r)>-1)){t.next=14;break}return t.abrupt("return",void 0);case 14:console.warn("The response of ".concat(e," contains unexpected JSON, try to resolve the JSON line by line..."),{body:i}),s=(0,x.Z)(i.split("\n")),t.prev=16,s.s();case 18:if((u=s.n()).done){t.next=30;break}if(!(d=u.value).startsWith("[")&&!d.startsWith("{")){t.next=28;break}return t.prev=21,t.abrupt("return",JSON.parse(d));case 25:t.prev=25,t.t1=t.catch(21),c=t.t1;case 28:t.next=18;break;case 30:t.next=35;break;case 32:t.prev=32,t.t2=t.catch(16),s.e(t.t2);case 35:return t.prev=35,s.f(),t.finish(35);case 38:throw c;case 39:case"end":return t.stop()}}),t,null,[[1,7],[16,32,35,38],[21,25]])})))).apply(this,arguments)}var C=n(2680),S=n.n(C),A=n(9448).default,O="application/json;charset=utf-8";function Z(t){return E.apply(this,arguments)}function E(){return(E=(0,o.Z)(a().mark((function t(e){var n,o,i,c,u,d,h,v,m,b,y,x,w,C,E,I,B,T,D,N,P,R,z;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.location,o=e.options,i=e.request,c=e.params,u=e.settings,d=void 0===u?{}:u,h=e.multipart,v=void 0!==h&&h,m=e.sendRestNonce,b=void 0===m||m,y=p({location:n,params:c,nonce:!1,options:o}),["wp-json/","rest_route="].filter((function(t){return y.indexOf(t)>-1})).length>0&&n.method&&n.method!==l.O.GET?d.method=l.O.POST:d.method=n.method||l.O.GET,x=new(s())(y,!0),!(w=-1===["HEAD","GET"].indexOf(d.method))&&i&&x.set("query",f()(x.query,i)),w&&(C=v?S()(i,"boolean"==typeof v?{}:v):JSON.stringify(i)),t.next=9,g(o.restNonce);case 9:return E=t.sent,I=void 0!==E,(B=f().all([d,{headers:(0,r.Z)((0,r.Z)((0,r.Z)({},"string"==typeof C?{"Content-Type":O}:{}),I&&b?{"X-WP-Nonce":E}:{}),{},{Accept:"application/json, */*;q=0.1"})}])).body=C,T=x.toString(),t.next=16,A(T,B);case 16:if((D=t.sent).ok){t.next=47;break}return N=void 0,P=!1,t.prev=20,t.next=23,k(T,D,n.method);case 23:if("private_site"===(N=t.sent).code&&403===D.status&&I&&!b&&(P=!0),"rest_cookie_invalid_nonce"!==N.code||!I){t.next=35;break}return R=o.restRecreateNonceEndpoint,t.prev=27,t.next=30,g(E,R);case 30:P=!0,t.next=35;break;case 33:t.prev=33,t.t0=t.catch(27);case 35:t.next=39;break;case 37:t.prev=37,t.t1=t.catch(20);case 39:if(!P){t.next=43;break}return t.next=42,Z({location:n,options:o,multipart:v,params:c,request:i,sendRestNonce:!0,settings:d});case 42:return t.abrupt("return",t.sent);case 43:throw d.method===l.O.GET&&(window.detectCorruptRestApiFailed=(window.detectCorruptRestApiFailed||0)+1),(z=D).responseJSON=N,z;case 47:return t.abrupt("return",k(T,D,n.method));case 48:case"end":return t.stop()}}),t,null,[[20,37],[27,33]])})))).apply(this,arguments)}},6811:function(t,e,n){"use strict";var r;n.d(e,{O:function(){return r}}),function(t){t.GET="GET",t.POST="POST",t.PUT="PUT",t.DELETE="DELETE",t.PATCH="PATCH"}(r||(r={}))},4312:function(t,e,n){"use strict";n.d(e,{XO:function(){return r},Ab:function(){return o},sE:function(){return i}});var r=function t(e){return e.endsWith("/")||e.endsWith("\\")?t(e.slice(0,-1)):e},o=function(t){return"".concat(r(t),"/")},i=function(t){var e=window[t.slug.replace(/-([a-z])/g,(function(t){return t[1].toUpperCase()}))];return"".concat(e.publicUrl).concat(e.chunkFolder,"/")}},9302:function(t,e,n){"use strict";n.d(e,{h:function(){return u}});var r=n(38),o=n(3438),i=n(4559),a=n(4548),c=n(3102),s=n(55).default;function u(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.createElement("div");return new s((function(n){var s,u,l=(0,o.u)().blocker,d=!e.parentElement,f=(0,r.Z)(l);try{t:for(f.s();!(u=f.n()).done;){var p,h=u.value,v=h.hosts,m=(0,r.Z)(v);try{for(m.s();!(p=m.n()).done;){var b=p.value,g=(0,i.D)(b);if(t.match(g)){s=h;break t}}}catch(t){m.e(t)}finally{m.f()}}}catch(t){f.e(t)}finally{f.f()}s?(e.setAttribute(a.d3,"cookies"),e.setAttribute(a._W,s.cookies.join(",")),e.setAttribute(a.CT,s.id.toString()),e.addEventListener(c.T,(function(){d&&e.remove(),n()})),d&&document.body.appendChild(e)):n()}))}},4773:function(t,e,n){"use strict";n.r(e),n.d(e,{consent:function(){return Oe},consentAll:function(){return Ie},consentSync:function(){return Se},unblock:function(){return ke.h}});var r={};n.r(r),n.d(r,{consent:function(){return Oe},consentAll:function(){return Ie},consentSync:function(){return Se},unblock:function(){return ke.h}});var o=n(5213),i=n(2711),a=n(7663),c=n(4741),s=n(63);function u(t,e,n,r){return t.enabled,t.scalePercent,t.scalePercentVertical,n}function l(t){var e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return e?{r:parseInt(e[1],16),g:parseInt(e[2],16),b:parseInt(e[3],16)}:null}function d(t,e){var n=l(t),r=n.r,o=n.g,i=n.b;return"rgba(".concat(r,", ").concat(o,", ").concat(i,", ").concat(e/100,")")}var f=n(4115),p=n(38),h=n(2816);function v(){var t=(0,h.S)(),e=t.individualPrivacyOpen,n=t.onSave,r=t.updateGroupChecked,a=t.updateCookieChecked,c=t.groups,s=t.essentialGroup,u=t.updateIndividualPrivacyOpen,l=t.activeAction,d=t.onClose,f=e?"ind_all":"main_all",v=e?"ind_essential":"main_essential",m=e?"ind_close_icon":"main_close_icon",b=e?"ind_custom":"main_custom",g={buttonClickedAll:f,buttonClickedEssentials:v,buttonClickedCloseIcon:m,buttonClickedCustom:b,acceptAll:(0,o.I4)((function(){c.forEach((function(t){return r(t.id,!0)})),n(!1,f)}),[f]),acceptEssentials:(0,o.I4)((function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];c.forEach((function(t){var e=t.slug,n=t.id,o=t.items;if(e===s)r(n,!0);else{var i,c=(0,p.Z)(o);try{for(c.s();!(i=c.n()).done;){var u=i.value,l=u.legalBasis,d=u.id;a(n,d,"legitimate-interest"===l)}}catch(t){c.e(t)}finally{c.f()}}})),n(!1,t?m:v)}),[v]),acceptIndividual:(0,o.I4)((function(){return n(!1,b)}),[b]),openIndividualPrivacy:(0,o.I4)((function(){u(!0)}),[u])};return(0,i.Z)((0,i.Z)({},g),{},{closeIcon:(0,o.I4)((function(){l?d():g.acceptEssentials(!0)}),[l,d,g.acceptEssentials])})}var m=n(3438),b=n(9913),g=n(7778),y=function(t){var e=t.children,n=t.className,r=t.tag,i=void 0===r?"div":r,c=t.renderInContainer,s=(0,o.eJ)((function(){var t=document.createElement(i);return n&&t.classList.add(n),t})),u=(0,a.Z)(s,1)[0];return(0,o.d4)((function(){return document.body.appendChild(u),function(){document.body.removeChild(u)}}),[]),(0,o.jz)(e,c||u)},x=n(6161),k=n(7029).h,w=0,C=function(t){var e=t.width,n=t.color,r=t.tooltipText,i=t.framed,a=t.renderInContainer,c=t.tooltipAlways,s=t.onClick,u=t.thickness,l=void 0===u?1:u,d=(0,o.Ye)((function(){return"react-close-icon-".concat((w++).toString(36))}),[]),f=(0,o.Ye)((function(){return"react-close-icon-".concat((w++).toString(36))}),[]),p=(0,o.Ye)((function(){return"react-close-icon-".concat((w++).toString(36))}),[]),h=(0,o.sO)(),v=(0,g.EL)(h);return(0,b.G)("#".concat(p,", #").concat(d," {\n position: absolute;\n top: 50%;\n right: 0;\n margin-top: calc(").concat(e,"px / 2 * -1);\n display: block;\n width: ").concat(e,"px;\n height: ").concat(e,"px; \n pointer-events: none;\n}\n\n#").concat(d," {\n position: absolute !important;\n}\n\n#").concat(d,", #").concat(f," {\n cursor: pointer;\n pointer-events: all;\n ").concat(i?"outline: rgb(255, 94, 94) solid 5px;":"","\n}\n\n#").concat(f," {\n position: fixed !important;\n ").concat(v?"top: ".concat(v.y,"px;left: ").concat(v.x,"px;display:block;"):"display:none;","\n width: ").concat(e,"px;\n height: ").concat(e,"px;\n z-index: 99;\n}\n#").concat(f,":after, #").concat(d,":after {\n width: auto !important;\n white-space: nowrap !important;\n}\n#").concat(f,">span:before, #").concat(f,">span:after,\n#").concat(d,">span:before, #").concat(d,">span:after {\n position: absolute;\n top: 50%;\n left: 50%;\n width: ").concat(l,"px;\n height: ").concat(e,"px;\n background-color: ").concat(n,";\n transform: rotate(45deg) translate(-50%, -50%);\n transform-origin: top left;\n transition: all 420ms;\n content: '';\n opacity: 0.5;\n pointer-events: none;\n}\n#").concat(f,">span:after,\n#").concat(d,">span:after {\n transform: rotate(-45deg) translate(-50%, -50%);\n}\n#").concat(f,">span:hover:before, #").concat(f,">span:hover:after,\n#").concat(d,">span:hover:before, #").concat(d,">span:hover:after {\n opacity: 1;\n width: ").concat(l+1,"px;\n}")),a?k(o.HY,null,k("div",{id:p,ref:h}),(null==v?void 0:v.y)>0&&k(y,{renderInContainer:a},k(x.z,{title:r,id:f,onClick:s,position:v.y>50?"top-left":"left",always:c},k("span",null)))):k(x.z,{title:r,id:d,onClick:s,position:"top-left",always:c},k("span",null))},S=n(7029).h,A=function(){var t=(0,h.S)(),e=t.headerDesign,n=e.fontSize,r=e.fontColor,o=t.texts.acceptEssentials,i=t.mobile,a=t.activeAction,c=t.pageRequestUuid4,s=t.buttonClicked,l=void 0===s?"":s,d=v(),f=d.buttonClickedCloseIcon,p=d.closeIcon,b=(0,m.u)().bannerI18n,g=b.close,y=b.closeWithoutSaving,x=document.getElementById(c);return S(C,{width:u(i,0,n),color:r,tooltipText:a?"change"===a?y:g:o,tooltipAlways:(null==x?void 0:x.clientWidth)<700,framed:l===f,renderInContainer:x,onClick:p})},O=n(7029).h,Z=(0,o.Gp)((function(t,e){var n,r,o,a,s,l,d,p,v,b,g,y,x,k,w,C,S,Z=(0,h.S)(),E=Z.headerDesign,I=E.logo,B=E.logoRetina,T=Z.decision.showCloseIcon,D=Z.texts.headline,N=Z.activeAction,P=Z.individualPrivacyOpen,R=Z.individualTexts,z=(0,m.u)().bannerI18n.headerTitlePrivacyPolicyHistory,L=B&&!(null!=I&&I.endsWith(".svg"))&&window.devicePixelRatio>1,W=L?B:I,_=P?"history"===N?z:R.headline:D;return O("div",(0,c.Z)({ref:e},(o=(r=(n=Z).layout).type,a=r.dialogBorderRadius,l=(s=n.design).borderWidth,d=s.borderColor,p=(0,f.Z)(s,["borderWidth","borderColor"]),b=(v=n.headerDesign).inheritBg,g=v.bg,y=v.padding,x=n.customCss.antiAdBlocker,k=n.mobile,n.pageRequestUuid4,w=u(k,0,o),C=u(k,0,l),S={padding:u(k,0,y,0).map((function(t){return"".concat(t,"px")})).join(" "),background:b?p.bg:g,borderRadius:"dialog"===w?"".concat(a,"px ").concat(a,"px 0 0"):void 0,position:"sticky",zIndex:9,top:0},"dialog"===w&&C>0&&(S.borderTop="".concat(C,"px solid ").concat(d),S.borderLeft=S.borderTop,S.borderRight=S.borderTop),{className:"y"===x?void 0:"rcb-header-container",style:S})),O("div",function(t){var e=t.layout,n=e.type,r=e.bannerMaxWidth,o=t.design.textAlign,i=t.headerDesign,a=i.inheritTextAlign,c=i.logo,s=i.logoPosition,l=(0,f.Z)(i,["inheritTextAlign","logo","logoPosition"]),d=t.texts.headline,p=t.individualLayout,h=t.customCss.antiAdBlocker,v=t.mobile,m=(t.pageRequestUuid4,t.individualPrivacyOpen),b=a?o:l.textAlign;return{className:"y"===h?void 0:"rcb-header",style:{transition:"width 500ms, max-width 500ms",maxWidth:"banner"===u(v,0,n)?+(m&&!p.inheritBannerMaxWidth?p.bannerMaxWidth:r):void 0,margin:"auto",display:"flex",justifyContent:"center"===b?"center":"right"===b?"flex-end":void 0,textAlign:b,alignItems:"center",position:"relative",flexDirection:c&&d?"left"===s?"row":"right"===s?"row-reverse":"column":void 0}}}(Z),!!W&&O("img",(0,c.Z)({alt:"",src:W},function(t,e){var n=t.headerDesign,r=n.logoMaxHeight,o=n.logoMargin,a=n.logoFitDim,c=n.logoRetinaFitDim,s=t.customCss.antiAdBlocker,l=t.mobile,d=(t.pageRequestUuid4,e?c:a),f=d?{width:d[0],height:d[1]}:{width:"auto",height:u(l,0,+r)};return{className:"y"===s?void 0:"rcb-logo",style:(0,i.Z)((0,i.Z)({},f),{},{margin:u(l,0,o).map((function(t){return"".concat(t,"px")})).join(" ")})}}(Z,L))),!!_&&O("div",function(t){var e=t.headerDesign,n=e.fontSize,r=e.fontColor,o=e.fontInheritFamily,i=e.fontFamily,a=e.fontWeight;return{className:"y"===t.customCss.antiAdBlocker?void 0:"rcb-headline",style:{color:r,fontSize:u(t.mobile,t.pageRequestUuid4,+n),fontFamily:o?void 0:i,fontWeight:a}}}(Z),_),(!!T||!!N)&&O(A,null)))})),E=n(7029).h,I=function(t){var e=t.title,n=t.children,r=(0,h.S)();return E("div",function(t){var e=t.group,n=e.headlineFontSize,r=e.headlineFontColor,o=e.headlineFontWeight;return{className:"y"===t.customCss.antiAdBlocker?void 0:"rcb-group",style:{color:r,fontSize:u(t.mobile,t.pageRequestUuid4,n),fontWeight:o,textAlign:"left"}}}(r),e,n&&E("div",function(t){var e=t.design.fontWeight,n=t.group,r=n.descriptionFontColor,o=n.descriptionFontSize;return{className:"y"===t.customCss.antiAdBlocker?void 0:"rcb-group-description",style:{color:r,fontSize:u(t.mobile,t.pageRequestUuid4,+o),fontWeight:e,marginTop:5}}}(r),n))};function B(t,e,n,r,o){var i=t.layout.borderRadius,a=t.group,c=a.headlineFontSize,s=a.checkboxBg,l=a.checkboxBorderWidth,d=a.checkboxBorderColor,f=a.checkboxActiveBg,p=a.checkboxActiveBorderColor,h=a.checkboxActiveColor,v=t.customCss.antiAdBlocker,m=t.mobile,b=(t.pageRequestUuid4,u(m,0,o||c)),g=u(m,0,+l),y=+b+2*g+6;return{className:"y"===v?void 0:"rcb-checkbox",style:{cursor:r?"not-allowed":"pointer",opacity:r?.5:void 0,color:n?h:s,display:e?"inline-block":"none",background:n?f:s,border:"".concat(g,"px solid ").concat(n?p:d),padding:3,height:y,width:y,marginRight:10,borderRadius:+i,verticalAlign:"middle",lineHeight:0,boxSizing:"border-box"}}}function T(t,e){var n=t.design.linkTextDecoration,r=t.group,o=r.linkColor,i=r.linkHoverColor;return{className:"y"===t.customCss.antiAdBlocker?void 0:"rcb-group-more",style:{color:e?i:o,textDecoration:n}}}var D=n(3137),N=n(7029).h,P=function(t){var e=t.label,n=t.value,r=t.children,o=(0,h.S)(),a="string"==typeof n&&(0,D.C)(n)?N("a",{href:n,style:(0,i.Z)({wordBreak:"break-all"},T(o,!1).style),target:"_blank",rel:"noopener noreferrer"},n):"string"==typeof n?N("span",{dangerouslySetInnerHTML:{__html:n}}):n;return N("div",(0,c.Z)({key:e},function(t){var e=t.group,n=e.groupBorderWidth,r=e.groupBorderColor;return{className:"y"===t.customCss.antiAdBlocker?void 0:"rcb-cookie-prop",style:{borderLeft:u(t.mobile,t.pageRequestUuid4,n)>0?"1px solid ".concat(r):void 0,paddingLeft:15}}}(o)),e&&N("strong",null,e,": "),a,!!r&&N("div",null,r))},R=n(1802),z=n(3282),L=n(569),W=n(2891),_=n(7029).h,H=function(t){var e,n=t.group,r=t.cookie,i=r.id,s=r.name,u=r.purpose,l=r.provider,d=r.providerPrivacyPolicy,f=r.legalBasis,p=r.ePrivacyUSA,v=r.noTechnicalDefinitions,b=r.technicalDefinitions,g=r.codeDynamics,y=(0,o.eJ)(!1),x=(0,a.Z)(y,2),k=x[0],w=x[1],C=(0,h.S)(),S=C.ePrivacyUSA,A=C.group.descriptionFontSize,O=C.consent,Z=C.activeAction,E=C.essentialGroup,I=(0,m.u)().bannerI18n,T=(0,R.w)();(0,o.bt)((function(){w(!0)}),[]);var D=E===n.slug,N=D||"history"===Z,H=D||((null===(e=O.groups)||void 0===e?void 0:e[n.id])||[]).some((function(t){return t===i})),Y=(0,o.I4)((function(){return!N&&C.updateCookieChecked(n.id,i,!H)}),[N,C,n,i,H]);return _("div",function(t){return{className:"y"===t.customCss.antiAdBlocker?void 0:"rcb-cookie",style:{marginTop:10}}}(C),_("div",{style:{marginBottom:10}},_(L.p,(0,c.Z)({icon:z.Z,onClick:Y},B(C,k,H,N,A))),_("strong",{style:{verticalAlign:"middle",cursor:"pointer"},onClick:Y},s)),!!u&&_(P,{label:I.purpose,value:u}),_(P,{label:I.legalBasis,value:"legal-requirement"===f?I.legalRequirement:"legitimate-interest"===f||D?I.legitimateInterest:I.consent}),_(P,{label:I.provider,value:l}),!!d&&_(P,{label:I.providerPrivacyPolicy,value:d}),!!S&&_(P,{label:I.ePrivacyUSA,value:p?I.yes:I.no}),!v&&b.map((function(t){var e=t.type,n=t.name,r=t.host,o=t.duration,i=t.durationUnit,a=t.sessionDuration;return _(P,{key:n,label:I.technicalCookieDefinition,value:_("span",{style:{fontFamily:"monospace"}},(0,W.c)(n,g))},_(P,{label:I.type,value:T[e].name}),!!r&&_(P,{label:I.host,value:_("span",{style:{fontFamily:"monospace"}},r)}),-1===["local","session","indexedDb","flash"].indexOf(e)&&_(P,{label:I.duration,value:a?"Session":"".concat(o," ").concat(I.durationUnit[i])}))})))},Y=n(4769),F=n(7029).h,M=function(t){var e,n=t.group,r=(0,h.S)(),i=n.id,s=n.slug,l=n.name,d=n.description,f=n.items,p=(0,o.eJ)(!1),v=(0,a.Z)(p,2),m=v[0],b=v[1],g=(0,o.eJ)(!1),y=(0,a.Z)(g,2),x=y[0],k=y[1],w=(0,o.eJ)(!1),C=(0,a.Z)(w,2),S=C[0],A=C[1],O=r.previewCheckboxActiveState,Z=r.individualTexts,E=Z.showMore,D=Z.hideMore,N=r.consent,P=r.activeAction,R=r.essentialGroup;(0,o.bt)((function(){b(!0)}),[]);var W=R===s,_=W||"history"===P,M=O||W||!!N.groups[i],U=W||JSON.stringify(f.map((function(t){return t.id})).sort())===JSON.stringify((null===(e=N.groups[i])||void 0===e?void 0:e.sort())||[])?z.Z:Y.Z,q=(0,o.I4)((function(){return!_&&r.updateGroupChecked(i,!M)}),[_,r,i,M]);return F("div",function(t){var e=t.group,n=e.groupBg,r=e.groupBorderRadius,o=e.groupBorderColor,i=e.groupPadding,a=e.groupBorderWidth,c=e.groupInheritBg,s=t.customCss.antiAdBlocker,l=t.mobile,d=(t.pageRequestUuid4,u(l,0,a));return{className:"y"===s?void 0:"rcb-group",style:{background:c?void 0:n,border:d>0?"".concat(d,"px solid ").concat(o):void 0,padding:u(l,0,i).map((function(t){return"".concat(t,"px")})).join(" "),borderRadius:+r,textAlign:"left"}}}(r),F(I,{title:F(o.HY,null,F(L.p,(0,c.Z)({icon:U,onClick:q},B(r,m,M,_))),F("span",{style:{verticalAlign:"middle",cursor:"pointer"},onClick:q},l," (",f.length,")"))},d,!!f&&F(o.HY,null," • ",F("a",(0,c.Z)({href:"#"},T(r,x),{onClick:function(t){A(!S),t.preventDefault()},onMouseEnter:function(){return k(!0)},onMouseLeave:function(){return k(!1)}}),S?D:E),S&&f.map((function(t){return F(H,{key:t.id,group:n,cookie:t})})))))},U=n(7029).h,q=function(){var t=(0,h.S)(),e=t.groups,n=t.group.groupSpacing,r=t.mobile,i=(t.pageRequestUuid4,e.filter((function(t){return t.items.length})));return U("div",{className:"y"===t.customCss.antiAdBlocker?void 0:"rcb-groups",style:{marginTop:10,clear:"both"}},i.map((function(t,e){return U(o.HY,{key:t.id},U(M,{key:t.id,group:t}),e!==i.length-1&&U("div",{style:{height:u(r,0,+n)}}))})))},j=n(7029).h,X=function(t){var e=t.group,n=e.id,r=e.slug,i=e.name,s=(0,o.eJ)(!1),l=(0,a.Z)(s,2),d=l[0],f=l[1],p=(0,h.S)(),v=p.decision.groupsFirstView,b=p.design.fontSize,g=p.consent,y=p.essentialGroup,x=(0,m.u)().isPro;(0,o.bt)((function(){f(!0)}),[]);var k=y===r,w=k||!!g.groups[n],C=(0,o.I4)((function(){return x&&v&&!k&&p.updateGroupChecked(n,!w)}),[x,k,p,n,w,v]);return j("span",(0,c.Z)({key:i},function(t){var e=t.design.fontSize,n=t.bodyDesign,r=n.dottedGroupsInheritFontSize,o=n.dottedGroupsFontSize;return{className:void 0,style:{paddingRight:10,fontSize:u(t.mobile,t.pageRequestUuid4,r?+e:+o),whiteSpace:"nowrap",display:"inline-block"}}}(p)),j("span",null,x&&v?j(L.p,(0,c.Z)({icon:z.Z,onClick:C},B(p,d,w,k,b))):j(o.HY,null,j("strong",function(t){return{className:void 0,style:{color:t.bodyDesign.dottedGroupsBulletColor}}}(p),"●")," "),j("span",{style:{verticalAlign:"middle",cursor:v?"pointer":void 0},onClick:C},i)))},G=n(7029).h,J=function(){var t=(0,h.S)(),e=t.groups;return G("div",{className:"y"===t.customCss.antiAdBlocker?void 0:"rcb-dotted-groups",style:{marginTop:10,lineBreak:"anywhere",lineHeight:2}},e.filter((function(t){return!!t.items.length})).map((function(t){return G(X,{key:t.id,group:t})})))},V=n(7029).h,Q=function(){var t,e=(0,h.S)(),n=(0,o.eJ)(-1),r=(0,a.Z)(n,2),i=r[0],s=r[1],l=e.activeAction,f=e.history,p=e.selectHistoryEntry,v=(0,m.u)().bannerI18n,b=v.historyLabel,g=v.historySelectNone;(0,o.d4)((function(){l?"history"===l&&null!=f&&f.length&&s(f[0].id):s(-1)}),[l,f]);var y,x,k,w,C,S,A,O=null==f||null===(t=f[0])||void 0===t?void 0:t.uuid,Z={className:void 0,style:{background:e.design.bg}};return V(o.HY,null,b," ",V("select",(0,c.Z)({},(x=(y=e).design,k=x.fontSize,w=x.fontColor,C=y.bodyDesign,S=C.descriptionInheritFontSize,A=C.descriptionFontSize,{className:"y"===y.customCss.antiAdBlocker?void 0:"rcb-history-select",style:{fontSize:u(y.mobile,y.pageRequestUuid4,S?+k:+A),background:"transparent",border:0,color:w,borderBottom:"1px solid ".concat(d(w,50))}}),{disabled:!(null!=f&&f.length),value:i,onChange:function(t){var e=+t.target.value;f.forEach((function(t){var n=t.id,r=t.decision,o=t.groups,i=t.tcf;n===e&&(s(n),p(o,r,i))}))}}),(null==f?void 0:f.length)>0?f.map((function(t){var e=t.id,n=t.isDoNotTrack,r=t.isUnblock,o=t.isForwarded,i=t.created;return V("option",(0,c.Z)({key:e,value:e},Z),new Date(i).toLocaleString(document.documentElement.lang),n?" (Do Not Track)":"",r?" (Content Blocker)":"",o?" (Consent Forwarding)":"")})):V("option",(0,c.Z)({value:-1},Z),g)),!!O&&V("div",{style:{opacity:.5,marginTop:5}},"UUID: ",O))};function $(t){var e=t.bodyDesign,n=e.teachingsInheritTextAlign,r=e.teachingsTextAlign,o=e.teachingsInheritFontSize,i=e.teachingsFontSize,a=e.teachingsInheritFontColor,c=e.teachingsFontColor,s=t.customCss.antiAdBlocker,l=t.mobile;t.pageRequestUuid4;return{className:"y"===s?void 0:"rcb-teachings",style:{marginTop:7,display:"inline-block",textAlign:n?void 0:r,fontSize:o?void 0:u(l,0,+i),color:a?void 0:c}}}function K(t,e,n,r){var o=t.name,i=t.order,a=t.fullWidth,c=t.marginLeft,s=t.marginRight,l=t.type,d=t.borderRadius,f=t.bg,p=t.hoverBg,h=t.fontSize,v=t.textAlign,m=t.linkTextDecoration,b=t.fontColor,g=t.fontWeight,y=t.hoverFontColor,x=t.borderWidth,k=t.borderColor,w=t.hoverBorderColor,C=t.padding,S=t.antiAdBlocker,A=(t.pageRequestUuid4,u(e,0,+x)),O={textDecoration:"link"===l?m:"none",borderRadius:+d,cursor:"button"===l?"pointer":void 0,backgroundColor:"button"===l?n?p:f:void 0,fontSize:u(e,0,+h),fontWeight:g,color:n?y:b,transition:"background-color 250ms, color 250ms, border-color 250ms",margin:"0 ".concat(s,"px ").concat(u(e,0,10,0),"px ").concat(c,"px"),border:"button"===l&&A>0?"".concat(A,"px solid ").concat(n?w:k):void 0,padding:u(e,0,C,0).map((function(t){return"".concat(t,"px")})).join(" "),overflow:"hidden",outline:r?"rgb(255, 94, 94) solid 5px":void 0,flex:a?"1 1 100%":"0 0 calc(50% - ".concat(c+s,"px)"),display:"flex",alignItems:"center",justifyContent:"right"===v?"flex-end":"center"===v?"center":"left",order:i};return{className:"y"===S?void 0:"rcb-btn-".concat(o),style:O}}function tt(t,e,n,r){var o=t.isTcf,i=t.decision.acceptEssentials,a=t.layout.borderRadius,c=t.design.linkTextDecoration,s=t.bodyDesign,u=s.acceptEssentialsFontSize,l=s.acceptEssentialsBg,d=s.acceptEssentialsTextAlign,f=s.acceptEssentialsBorderColor,p=s.acceptEssentialsPadding,h=s.acceptEssentialsBorderWidth,v=s.acceptEssentialsFontColor,m=s.acceptEssentialsFontWeight,b=s.acceptEssentialsHoverBg,g=s.acceptEssentialsHoverFontColor,y=s.acceptEssentialsHoverBorderColor,x=s.acceptAllFontWeight,k=s.acceptAllFontSize,w=s.acceptAllPadding,C=t.customCss.antiAdBlocker,S=t.mobile;return K({name:"accept-essentials",order:r?0:1,fullWidth:!r,marginLeft:0,marginRight:r?5:0,type:i,borderRadius:a,bg:l,hoverBg:b,fontSize:r||o?k:u,textAlign:d,linkTextDecoration:c,fontColor:v,fontWeight:o?x:m,hoverFontColor:g,borderWidth:h,borderColor:f,hoverBorderColor:y,padding:r?w:p,antiAdBlocker:C,pageRequestUuid4:t.pageRequestUuid4},S,e,n)}function et(t,e,n){var r=t.decision.acceptIndividual,o=t.layout.borderRadius,i=t.design.linkTextDecoration,a=t.bodyDesign,c=a.acceptIndividualFontSize,s=a.acceptIndividualBg,u=a.acceptIndividualTextAlign,l=a.acceptIndividualBorderColor,d=a.acceptIndividualPadding,f=a.acceptIndividualBorderWidth,p=a.acceptIndividualFontColor,h=a.acceptIndividualFontWeight,v=a.acceptIndividualHoverBg,m=a.acceptIndividualHoverFontColor,b=a.acceptIndividualHoverBorderColor,g=t.customCss.antiAdBlocker,y=t.mobile;return K({name:"accept-individual",order:2,fullWidth:!0,marginLeft:0,marginRight:0,type:r,borderRadius:o,bg:s,hoverBg:v,fontSize:c,textAlign:u,linkTextDecoration:i,fontColor:p,fontWeight:h,hoverFontColor:m,borderWidth:f,borderColor:l,hoverBorderColor:b,padding:d,antiAdBlocker:g,pageRequestUuid4:t.pageRequestUuid4},y,e,n)}function nt(t,e,n){var r=t.isTcf,o=t.layout.borderRadius,i=t.design.linkTextDecoration,a=t.bodyDesign,c=a.acceptAllFontWeight,s=a.acceptAllFontSize,u=t.saveButton,l=u.type,d=u.fontSize,f=u.bg,p=u.textAlign,h=u.borderColor,v=u.padding,m=u.borderWidth,b=u.fontColor,g=u.fontWeight,y=u.hoverBg,x=u.hoverFontColor,k=u.hoverBorderColor,w=t.customCss.antiAdBlocker,C=t.mobile;return K({name:"accept-individual-save",order:2,fullWidth:!0,marginLeft:0,marginRight:0,type:l,borderRadius:o,bg:f,hoverBg:y,fontSize:r?s:d,textAlign:p,linkTextDecoration:i,fontColor:b,fontWeight:r?c:g,hoverFontColor:x,borderWidth:m,borderColor:h,hoverBorderColor:k,padding:v,antiAdBlocker:w,pageRequestUuid4:t.pageRequestUuid4},C,e,n)}function rt(t,e,n,r){var o=t.decision.acceptAll,i=t.layout.borderRadius,a=t.design.linkTextDecoration,c=t.bodyDesign,s=c.acceptAllFontSize,u=c.acceptAllBg,l=c.acceptAllTextAlign,d=c.acceptAllBorderColor,f=c.acceptAllPadding,p=c.acceptAllBorderWidth,h=c.acceptAllFontColor,v=c.acceptAllFontWeight,m=c.acceptAllHoverBg,b=c.acceptAllHoverFontColor,g=c.acceptAllHoverBorderColor,y=t.customCss.antiAdBlocker,x=t.mobile;return K({name:"accept-all",order:r?1:0,fullWidth:!r,marginLeft:r?5:0,marginRight:0,type:o,borderRadius:i,bg:u,hoverBg:m,fontSize:s,textAlign:l,linkTextDecoration:a,fontColor:h,fontWeight:v,hoverFontColor:b,borderWidth:p,borderColor:d,hoverBorderColor:g,padding:f,antiAdBlocker:y,pageRequestUuid4:t.pageRequestUuid4},x,e,n)}var ot=n(6125),it=n(7029).h,at=function(t){var e=t.inlineStyle,n=t.type,r=t.onClick,i=t.children,s=t.framed,u=t.busyOnClick;if("hide"===n)return null;var l=(0,o.eJ)(!1),d=(0,a.Z)(l,2),f=d[0],p=d[1],v=(0,o.I4)((function(){f||(u&&p(!0),null==r||r())}),[r,f,u]),m=(0,o.eJ)(!1),b=(0,a.Z)(m,2),g=b[0],y=b[1],x=(0,h.S)(),k=x.individualPrivacyOpen,w=x.decision,C=w.acceptAll,S=w.acceptEssentials,A=x.bodyDesign.acceptAllOneRowLayout,O={onClick:v,onMouseEnter:function(){return y(!0)},onMouseLeave:function(){return y(!1)}},Z=(0,o.Ye)((function(){switch(e){case"acceptEssentials":return tt;case"acceptIndividual":return et;case"save":return nt;default:return rt}}),[e]);return it("div",(0,c.Z)({},"button"===n?O:{},Z(x,g,s,!(/MSIE (\d+\.\d+);/.test(navigator.userAgent)||navigator.userAgent.indexOf("Trident/")>-1||"hide"===C||"hide"===S||k)&&A)),it("span",(0,c.Z)({},{style:{textOverflow:"ellipsis",whiteSpace:"nowrap",wordBreak:"keep-all",overflow:"hidden",cursor:"pointer"}},"link"===n?O:{}),f?it(ot.X,null):i))},ct=n(2099),st=n(7029).h,ut=function(){var t=(0,h.S)(),e=t.activeAction,n=t.decision,r=t.texts,i=r.acceptAll,a=r.acceptEssentials,c=r.acceptIndividual,s=t.saveButton,u=t.individualTexts,l=t.individualPrivacyOpen,d=t.didGroupFirstChange,f=t.buttonClicked,p=void 0===f?"":f,b=(0,m.u)().isPro,g=v(),y=g.buttonClickedAll,x=g.buttonClickedEssentials,k=g.buttonClickedCustom,w=g.acceptAll,C=g.acceptEssentials,S=g.acceptIndividual,A=g.openIndividualPrivacy,O="change"===e;return st(o.HY,null,!l&&b&&n.groupsFirstView&&"afterChangeAll"===n.saveButton&&d?st(at,{onClick:S,type:n.acceptAll,inlineStyle:"acceptAll",framed:p===k,busyOnClick:O},u.save):st(at,{onClick:w,type:n.acceptAll,inlineStyle:"acceptAll",framed:p===y,busyOnClick:O},i),"change"!==e&&st(at,{onClick:C,type:n.acceptEssentials,inlineStyle:"acceptEssentials",framed:p===x,busyOnClick:O},a),(l||b&&n.groupsFirstView&&("always"===n.saveButton||"afterChange"===n.saveButton&&d))&&st(at,{onClick:S,type:s.type,inlineStyle:"save",framed:p===k,busyOnClick:O},u.save),!l&&st(at,{type:n.acceptIndividual,onClick:A,inlineStyle:"acceptIndividual",framed:p.startsWith("ind_"),busyOnClick:O},c),st(ct.m,null))},lt=n(8001),dt=n(7029).h,ft=function(t){var e,n=t.leftSideContainerRef,r=t.rightSideContainerRef,i=(0,h.S)(),a=i.groups,d=i.layout.type,f=i.mobile,p=i.ePrivacyUSA,v=i.ageNotice,m=i.bodyDesign.teachingsSeparatorActive,g=i.texts,y=g.description,x=g.ePrivacyUSA,k=g.ageNoticeBanner,w=g.consentForwardingExternalHosts,C=g.tcfGlobalScope,S=i.tcf,A=i.consentForwardingExternalHosts,O=i.individualPrivacyOpen,Z=i.individualTexts,E=i.activeAction,I=i.pageRequestUuid4,B="bnnr-body-leftSide-".concat(I),T="bnnr-body-rightSide-".concat(I),D="cntnt-".concat(I);(0,b.G)(" #".concat(B," img {\n max-width: 100%;\n height: auto;\n}\n\n").concat((null===(e=document.getElementById(I))||void 0===e?void 0:e.clientWidth)>700?"":"#".concat(B," {\n float: initial !important;\n width: auto !important;\n padding-right: initial !important;\n ").concat("banner"!==u(f,0,d)||O?O?"padding-top: 10px !important;":"":"padding-bottom: 10px !important;","\n }\n\n #").concat(D," {\n min-height: calc(var(--rendered-height-header) + var(--rendered-height-footer) + var(--rendered-height-rightSideContainer) + 60px);\n }\n \n #").concat(T," {\n float: initial !important;\n width: auto !important;\n max-width: initial !important;\n margin: initial !important;\n ").concat(O?"padding-bottom: 5px !important;":"padding-top: 10px !important;","\n position: sticky;\n }")));var N=A?w.replace(/{{websites}}/g,A.join(", ")):"",P=S?S.model.isServiceSpecific?"":C:"",R=[O?Z.description:y,N,P].filter(Boolean).join(" "),z=(0,lt.Q)(a,S?{gvl:S.gvl,vendorConfigurations:S.original.vendorConfigurations}:void 0,p?x:"",(function(t,e){return(null==t?void 0:t.ePrivacyUSA)||1===(null==e?void 0:e.vendorConfiguration.ePrivacyUSA)}),3,!0),L=(0,o.Ye)((function(){return dt(O?q:J,null)}),[O,S]),W=dt("div",(0,c.Z)({ref:n,key:"leftSide",id:B},function(t){var e=t.layout.type,n=t.bodyDesign.padding,r=t.customCss.antiAdBlocker,o=t.mobile,i=t.individualPrivacyOpen,a=t.activeAction,c=(t.pageRequestUuid4,u(o,0,e)),s=u(o,0,n);return{className:"y"===r?void 0:"rcb-tb-left",style:{float:"banner"===c&&"history"!==a?"left":void 0,width:"banner"===c&&"history"!==a?"calc(100% - ".concat(300,"px)"):void 0,paddingRight:"banner"===c?20:void 0,paddingTop:+s[0],paddingBottom:"banner"===c||i?+s[2]:0}}}(i)),!!R&&dt(o.HY,null,dt("div",function(t){var e=t.design.fontSize,n=t.bodyDesign,r=n.descriptionInheritFontSize,o=n.descriptionFontSize,i=t.individualLayout.descriptionTextAlign,a=t.customCss.antiAdBlocker,c=t.mobile,s=t.individualPrivacyOpen;return{className:"y"===a?void 0:"rcb-description",style:{lineHeight:1.5,fontSize:u(c,t.pageRequestUuid4,r?+e:+o),textAlign:s?i:void 0}}}(i),"history"===E?dt(Q,null):dt(o.HY,null,dt("span",{dangerouslySetInnerHTML:{__html:R}}),(p||v)&&dt(o.HY,null,m&&dt("div",null,dt("span",function(t){var e=t.layout.borderRadius,n=t.bodyDesign,r=n.teachingsSeparatorActive,o=n.teachingsSeparatorWidth,i=n.teachingsSeparatorHeight,a=n.teachingsSeparatorColor;return{className:"y"===t.customCss.antiAdBlocker?void 0:"rcb-teachings-separator",style:{marginTop:7,display:"inline-block",maxWidth:"100%",borderRadius:+e,width:+o,height:r?+i:0,background:a}}}(i))),!!z&&dt("span",(0,c.Z)({},$(i),{dangerouslySetInnerHTML:{__html:z}})),v&&!!k&&dt("span",(0,c.Z)({},$(i),{dangerouslySetInnerHTML:{__html:k}})))))),L),_="history"===E?dt("div",{ref:r}):dt("div",(0,c.Z)({ref:r,key:"rightSide",id:T},function(t){var e,n=t.layout,r=n.type,o=n.dialogMaxWidth,i=t.design,a=i.borderWidth,c=i.bg,d=i.fontColor,f=t.headerDesign,p=t.footerDesign,h=t.bodyDesign.padding,v=t.individualLayout.inheritDialogMaxWidth,m=t.customCss.antiAdBlocker,b=t.mobile,g=t.individualPrivacyOpen,y=(t.pageRequestUuid4,u(b,0,r)),x=u(b,0,a),k=u(b,0,h,0),w=l(d),C=w.r,S=w.g,A=w.b,O="dialog"===y?+o-k[1]-k[3]-2*x:300;return{className:"y"===m?void 0:"rcb-tb-right",style:(e={background:c,paddingTop:"banner"===y||g?+k[0]:10,paddingBottom:g?10:+k[2],float:"banner"===y||g?"right":void 0,maxWidth:O,width:O,margin:"dialog"===y&&g&&!v?"0 0 10px 10px":void 0,position:g?void 0:"sticky"},(0,s.Z)(e,g?"top":"bottom",g?"calc(var(--rendered-height-header) + ".concat(u(b,0,f.borderWidth),"px)"):"calc(var(--rendered-height-footer) + ".concat(u(b,0,p.borderWidth),"px)")),(0,s.Z)(e,"zIndex",1),(0,s.Z)(e,"display","flex"),(0,s.Z)(e,"flexWrap","wrap"),(0,s.Z)(e,"transition","box-shadow ease-in-out .1s"),(0,s.Z)(e,"--boxShadowShowScroll","0 -15px 15px -15px rgba(".concat(C,", ").concat(S,", ").concat(A,", 0.3)")),e)}}(i)),dt(ut,null));return dt("div",function(t){var e=t.layout.type,n=t.design,r=n.bg,o=n.borderWidth,i=n.borderColor,a=t.bodyDesign.padding,c=t.customCss.antiAdBlocker,s=t.mobile,l=(t.pageRequestUuid4,u(s,0,o)),d={background:r,padding:u(s,0,a).map((function(t,e){return"".concat([0,2].indexOf(e)>-1?0:t,"px")})).join(" "),lineHeight:1.4};return"dialog"===u(s,0,e)&&l>0&&(d.borderLeft="".concat(l,"px solid ").concat(i),d.borderRight=d.borderLeft),{className:"y"===c?void 0:"rcb-body-container",style:d}}(i),dt("div",function(t){var e=t.layout,n=e.type,r=e.bannerMaxWidth,o=t.individualLayout,i=t.customCss.antiAdBlocker,a=t.mobile,c=t.individualPrivacyOpen;return{className:"y"===i?void 0:"rcb-body",style:{transition:"width 500ms, max-width 500ms",maxWidth:"banner"===u(a,t.pageRequestUuid4,n)?+(c&&!o.inheritBannerMaxWidth?o.bannerMaxWidth:r):void 0,margin:"auto"}}}(i),O?[_,W]:[W,_],dt("div",{style:{clear:"both"}})))},pt=n(6102),ht=n(4450),vt=n(7029).h,mt=function(t){var e=t.children,n=(0,f.Z)(t,["children"]),r=(0,h.S)(),i=(0,o.eJ)(!1),s=(0,a.Z)(i,2),l=s[0],d=s[1];return vt("a",(0,c.Z)({onMouseEnter:function(){return d(!0)},onMouseLeave:function(){return d(!1)}},function(t){var e=t.footerDesign,n=e.fontSize,r=e.fontColor,o=e.hoverFontColor,i=e.fontInheritFamily,a=e.fontFamily,c=t.design.linkTextDecoration,s=t.customCss.antiAdBlocker,l=t.mobile,d=(t.pageRequestUuid4,arguments.length>1&&void 0!==arguments[1]&&arguments[1]),f={textDecoration:c,fontSize:u(l,0,+n),color:d?o:r,fontFamily:i?void 0:a,padding:"0 5px"};return{className:"y"===s?void 0:"rcb-footer-link",style:f}}(r,l),n),e)},bt=n(7029).h,gt=(0,o.Gp)((function(t,e){var n=(0,h.S)(),r=(n.isTcf,n.layout.type),i=n.legal,a=n.footerDesign,s=a.poweredByLink,l=a.linkTarget,d=(n.individualPrivacyOpen,n.updateIndividualPrivacyOpen,n.poweredLink),f=n.isConsentRecord,p=n.onClose,v=(0,m.u)(),b=v.bannerI18n,g=b.close,y=(b.tcf,v.affiliate),k=(0,o.I4)((function(t){p(),t.preventDefault()}),[p]),w="_blank"===l?{target:"_blank",rel:"noopener"}:{},C=(0,ht.X)(i),S=C.linkPrivacyPolicy,A=C.linkImprint,O=[[f&&bt(mt,{href:"#",onClick:k,key:"close"},bt("strong",null,g)),!1,S&&bt(mt,(0,c.Z)({href:S.url},w,{key:"privacyPolicy"}),S.label),A&&bt(mt,(0,c.Z)({href:A.url},w,{key:"imprint"}),A.label)].filter(Boolean),[]];return d&&s&&O["banner"===r?0:1].push(bt(mt,{href:y?y.link:d.href,target:d.target,key:"powered-by"},bt("span",{dangerouslySetInnerHTML:{__html:d.innerHTML}}),y&&bt(x.z,{title:y.description,position:"top-left"}," ",y.labelBehind))),bt("div",(0,c.Z)({ref:e},function(t){var e=t.layout,n=e.type,r=e.dialogBorderRadius,o=t.design,i=t.footerDesign,a=i.inheritBg,c=i.bg,s=i.inheritTextAlign,l=i.textAlign,d=i.padding,f=i.fontSize,p=i.fontColor,h=i.fontWeight,v=t.customCss.antiAdBlocker,m=t.mobile,b=(t.pageRequestUuid4,u(m,0,n)),g=u(m,0,o.borderWidth),y={padding:u(m,0,d,0).map((function(t){return"".concat(t,"px")})).join(" "),background:a?o.bg:c,borderRadius:"dialog"===b?"0 0 ".concat(r,"px ").concat(r,"px"):void 0,fontSize:u(m,0,+f),fontWeight:h,color:p,textAlign:s?o.textAlign:l,position:"sticky",bottom:0,zIndex:1};return"dialog"===b&&g>0&&(y.borderBottom="".concat(g,"px solid ").concat(o.borderColor),y.borderLeft=y.borderBottom,y.borderRight=y.borderBottom),{className:"y"===v?void 0:"rcb-footer-container",style:y}}(n)),bt("div",function(t){var e=t.layout,n=e.type,r=e.bannerMaxWidth,o=t.individualLayout,i=t.customCss.antiAdBlocker,a=t.mobile,c=(t.pageRequestUuid4,t.individualPrivacyOpen);return{className:"y"===i?void 0:"rcb-footer",style:{transition:"width 500ms, max-width 500ms",maxWidth:"banner"===u(a,0,n)?+(c&&!o.inheritBannerMaxWidth?o.bannerMaxWidth:r):void 0,margin:"auto",lineHeight:1.8}}}(n),(0,pt.e)(O.map((function(t){return t.length?bt(o.HY,{key:t[0].key},(0,pt.e)(t,bt(o.HY,null," • "))):null})),bt("br",null))))}));function yt(t,e){var n=(0,h.S)().pageRequestUuid4,r=(0,b.G)("","useBannerRenderedHeightsAsCssVars-".concat(e)),i=document.getElementById(r);(0,o.d4)((function(){var r=0,o=function(){var o=t.getBoundingClientRect().height;r!==o&&(r=o,i.innerHTML="#".concat(n,"{--rendered-height-").concat(e,": ").concat(Math.floor(o),"px;--rendered-height-raw-").concat(e,": ").concat(o,"px}"))};if(!t)return function(){};var a=document.querySelector("#".concat(n,' div[class*="animate__"]'));if(a.addEventListener("animationend",o),window.ResizeObserver){var c=new ResizeObserver(o);return c.observe(t),function(){c.disconnect(),a.removeEventListener("animationend",o)}}var s=setInterval(o,150);return function(){clearInterval(s),a.removeEventListener("animationend",o)}}),[t,e])}var xt=n(7029).h,kt=function(){var t=(0,h.S)(),e=t.layout,n=e.type,r=e.dialogBorderRadius,i=t.decision,s=i.acceptEssentials,l=i.showCloseIcon,d=t.mobile,f=t.individualPrivacyOpen,p=t.design.bg,v=t.bodyDesign.teachingsFontColor,m=t.activeAction,g=t.pageRequestUuid4,y="bnnr-body-rightSide-".concat(g),x="cntnt-".concat(g),k=(0,o.sO)(),w=k.current,C=!0;!d.hideHeader||m||f||"hide"===s&&l||(C=u(d,0,C));var S=(0,o.eJ)(!1),A=(0,a.Z)(S,2),O=A[0],E=A[1],I=(0,o.I4)((function(){if(w){var t=w.clientHeight,e=w.scrollHeight,n=w.scrollTop,r=w.offsetHeight,o=t<e,i=Math.ceil(n+r)>=e,a=o&&!i&&!f;O!==a&&E(a)}}),[w,f,O]);I(),(0,o.bt)((function(){return w?(w.addEventListener("scroll",I),function(){return w.removeEventListener("scroll",I)}):function(){}}),[w,I]),(0,b.G)(O?"#".concat(y," {box-shadow:var(--boxShadowShowScroll);}"):""),(0,b.G)("Win32"===navigator.platform&&"dialog"===n&&r>0?["#".concat(x,"{overflow:overlay!important;}"),"#".concat(x,"::-webkit-scrollbar{width:11px;}"),"#".concat(x,"{scrollbar-width:thin;scrollbar-color:").concat(v," transparent;}"),"#".concat(x,"::-webkit-scrollbar-track{background:transparent;}"),"#".concat(x,"::-webkit-scrollbar-thumb{background-color:").concat(v,";border-radius:").concat(r,"px;border:3px solid ").concat(p,";}"),"#".concat(x,">div{border-top-right-radius:0!important;border-bottom-right-radius:0!important;}")].join("\n"):"");var B=(0,o.sO)(),T=(0,o.sO)(),D=(0,o.sO)();return yt(B.current,"header"),yt(T.current,"footer"),yt(D.current,"rightSideContainer"),xt("div",(0,c.Z)({},function(t){var e,n=t.layout.type,r=t.customCss.antiAdBlocker,o=t.decision.showCloseIcon,i=t.activeAction,a=(t.individualPrivacyOpen,t.mobile),c=t.pageRequestUuid4,s=(null===(e=document.getElementById(c))||void 0===e?void 0:e.clientHeight)||window.innerHeight,l=(a.maxHeight,o||i?51:0);return{className:"y"===r?void 0:"rcb-content",style:{position:"relative",maxHeight:u(a,0,s-("banner"===n?0:20)-l),overflow:"auto"}}}(t),{ref:k,id:x}),C&&xt(o.HY,null,xt(Z,{ref:B}),xt("div",function(t){var e=t.layout.type,n=t.design,r=t.headerDesign,o=r.borderWidth,i=r.borderColor,a=t.customCss.antiAdBlocker,c=t.mobile,s=(t.pageRequestUuid4,u(c,0,n.borderWidth)),l={height:u(c,0,+o),background:i,position:"sticky",top:"var(--rendered-height-header)",zIndex:9};return"dialog"===u(c,0,e)&&s>0&&(l.borderLeft="".concat(s,"px solid ").concat(n.borderColor),l.borderRight=l.borderLeft),{className:"y"===a?void 0:"rcb-header-separator",style:l}}(t))),xt(ft,{rightSideContainerRef:D}),xt("div",function(t){var e=t.layout.type,n=t.design,r=t.footerDesign,o=r.borderWidth,i=r.borderColor,a=t.customCss.antiAdBlocker,c=t.mobile,s=(t.pageRequestUuid4,u(c,0,n.borderWidth)),l={height:u(c,0,+o),background:i,position:"sticky",bottom:"var(--rendered-height-footer)"};return"dialog"===u(c,0,e)&&s>0&&(l.borderLeft="".concat(s,"px solid ").concat(n.borderColor),l.borderRight=l.borderLeft),{className:"y"===a?void 0:"rcb-footer-separator",style:l}}(t)),xt(gt,{ref:T}))};function wt(){var t=(0,o.Ye)((function(){return window.innerWidth}),[])<700,e=(0,o.Ye)((function(){var t=window.navigator.userAgent.toLowerCase();return 4===["firefox","gecko","mobile","android"].map((function(e){return t.indexOf(e)>-1})).filter(Boolean).length}),[]);return(0,o.I4)((function(n){var r=n.animationIn,o=n.animationInOnlyMobile,i=n.animationOut,a=n.animationOutOnlyMobile,c=o?t?r:"none":r,s=a?t?i:"none":i;return e&&(c="none",s="none"),{useAnimationIn:c,useAnimationOut:s}}),[])}function Ct(t,e){var n=(0,o.eJ)(0),r=(0,a.Z)(n,2),i=r[0],c=r[1],s=(0,o.eJ)(0),u=(0,a.Z)(s,2),l=u[0],d=u[1],f=(0,o.eJ)(t),p=(0,a.Z)(f,2),h=p[0],v=p[1],m=(0,o.eJ)(void 0),b=(0,a.Z)(m,2),g=b[0],y=b[1],x=(0,o.eJ)(e),k=(0,a.Z)(x,2),w=k[0],C=k[1],S=(0,o.eJ)(void 0),A=(0,a.Z)(S,2),O=A[0],Z=A[1];return(0,o.d4)((function(){i>0&&("none"===t?v(t):(v("none"),y(t))),c(i+1)}),[t]),(0,o.d4)((function(){l>0&&(0===e?C(e):(C(0),Z(e),v("none"),y(t))),d(l+1)}),[e]),(0,o.d4)((function(){void 0!==g&&(v(g),y(void 0))}),[g]),(0,o.d4)((function(){void 0!==O&&(C(O),Z(void 0))}),[O]),[h,w]}var St=n(7938),At=n(5450),Ot=n.n(At),Zt=n(625),Et=n(6811),It={path:"/consent",method:Et.O.GET},Bt=n(3075),Tt=n(9586),Dt=n(7932),Nt='[href^="#consent-"]',Pt=n(7029).h;function Rt(t){var e=t.isVisible,n=t.animationIn,r=t.animationOut,o=t.animationInDuration,i=t.animationOutDuration,a=t.animationInDelay,c=t.animationOutDelay;return e?{animation:n,duration:o,delay:a}:{animation:r,duration:i,delay:c}}var zt=function(t){var e=t.animateOnMount,n=void 0===e||e,r=t.isVisible,c=void 0===r||r,s=t.animationIn,u=void 0===s?"fadeIn":s,l=t.animationOut,d=void 0===l?"fadeOut":l,f=t.animationInDelay,p=void 0===f?0:f,h=t.animationOutDelay,v=void 0===h?0:h,m=t.animationInDuration,b=void 0===m?1e3:m,g=t.animationOutDuration,y=void 0===g?1e3:g,x=t.className,k=void 0===x?"":x,w=t.style,C=void 0===w?{}:w,S=t.children,A=(0,o.eJ)(n?Rt({isVisible:c,animationIn:u,animationOut:d,animationInDelay:p,animationOutDelay:v,animationInDuration:b,animationOutDuration:y}):{animation:"",delay:void 0,duration:0}),O=(0,a.Z)(A,2),Z=O[0],E=Z.animation,I=Z.duration,B=Z.delay,T=O[1];(0,o.d4)((function(){T(Rt({isVisible:c,animationIn:u,animationOut:d,animationInDelay:p,animationOutDelay:v,animationInDuration:b,animationOutDuration:y}))}),[c,u,d,p,v,b,y]);var D="animate__animated animate__".concat(E," ").concat(k),N=E?{}:{opacity:c?1:0,transition:"opacity ".concat(B,"ms")};return Pt("div",{className:D,style:(0,i.Z)((0,i.Z)({animationDelay:"".concat(B,"ms"),animationDuration:"".concat(I,"ms"),pointerEvents:c?"all":"none"},C),N)},S)};function Lt(t){var e=t.legal,n=e.imprint,r=e.imprintHide,o=e.privacyPolicy,i=e.privacyPolicyHide,a=t.pageId;return[r&&+n,i&&+o].filter(Boolean).indexOf(a)>-1}var Wt=n(3743),_t=n(7029).h,Ht=function(){var t,e,n,r,o,i,l,f,p,v,m,b,g,y,x,k,w,C,S,A,O,Z,E,I,B,T,D,N,P,R,z,L=(0,h.S)(),W=L.layout,_=W.animationInDuration,H=W.animationOutDuration,Y=L.animationVisible,F=wt()(L.layout),M=F.useAnimationIn,U=F.useAnimationOut,q=Ct(M,_),j=(0,a.Z)(q,2),X=j[0],G=j[1],J=Ct("none"===U?"fadeOut":U,"none"===U?0:H),V=(0,a.Z)(J,2),Q=V[0],$=V[1];return _t(zt,(0,c.Z)({animationIn:X,animationInDuration:G,animationOut:Q,animationOutDuration:$,isVisible:Y},(n=(e=(t=L).layout).type,r=e.dialogMaxWidth,o=e.dialogPosition,i=e.dialogMargin,l=e.bannerPosition,f=e.dialogBorderRadius,v=(p=t.design).borderWidth,m=p.borderColor,b=p.textAlign,g=p.fontColor,y=p.fontInheritFamily,x=p.fontFamily,k=p.fontWeight,w=p.boxShadowEnabled,C=p.boxShadowOffsetX,S=p.boxShadowOffsetY,A=p.boxShadowBlurRadius,O=p.boxShadowSpreadRadius,Z=p.boxShadowColor,E=p.boxShadowColorAlpha,I=t.individualLayout,B=t.customCss.antiAdBlocker,T=t.mobile,t.pageRequestUuid4,D=t.individualPrivacyOpen,T.alignment,N=u(T,0,n),P=u(T,0,v),R="dialog"===N?+(D&&!I.inheritDialogMaxWidth?I.dialogMaxWidth:r):"100%",z=(0,s.Z)({pointerEvents:"all",transition:"width 500ms, max-width 500ms",maxWidth:R,textAlign:b,width:R,overflow:"hidden",alignSelf:u(T,0,"banner"===N?"top"===l?"flex-start":"flex-end":void 0),fontFamily:y?void 0:x,fontWeight:k,color:g,margin:"dialog"===N?10:void 0,borderRadius:"dialog"===N?+f:void 0,boxShadow:w?"".concat(C,"px ").concat(S,"px ").concat(A,"px ").concat(O,"px ").concat(d(Z,E)):void 0},"banner"===N?"top"===l?"borderBottom":"borderTop":"border","banner"===N&&P>0?"".concat(P,"px solid ").concat(m):void 0),"dialog"===N&&"middleCenter"!==o&&(z.margin=i.map((function(t){return"".concat(t,"px")})).join(" ")),{className:"y"===B?void 0:"rcb-inner",style:z})),_t(kt,null))},Yt=function(){var t=(0,h.S)(),e=((0,m.u)().isPro,t.layout),n=e.overlay,r=(e.overlayBlur,t.customCss),i=r.antiAdBlocker,s=r.css,l=t.visible,f=t.animationVisible,p=t.activeAction,v=t.skipOverlay,g=t.gotHiddenDueLegal,y=t.pageRequestUuid4,x=t.individualPrivacyOpen,k=Lt(t),w=l&&!k||!!p;(0,b.G)(i?s:""),(0,b.G)("#".concat(y,", #").concat(y," * {box-sizing: border-box;backface-visibility:initial;}")),function(t){(0,o.d4)((function(){var e=document.body,n=e.dataset,r=e.style;void 0===n.rcbPreviousOverflow&&(n.rcbPreviousOverflow=r.overflow),r.overflow=t?"hidden":n.rcbPreviousOverflow,document.body.parentElement.style.overflow=r.overflow}),[t])}(w&&n&&f);var C,S,A,O,Z=(0,o.eJ)(0),E=(0,a.Z)(Z,2)[1],I=function(){return E(+new Date)};if((0,o.bt)((function(){return window.addEventListener("resize",I),function(){return window.removeEventListener("resize",I)}}),[]),(0,o.bt)((function(){(0,Wt.s)(1e3)}),[f,x]),g&&(0,o.d4)((function(){g(k)}),[k]),function(){var t=(0,h.S)(),e=t.consent,n=t.groups,r=t.tcf,i=t.activeAction,c=t.selectHistoryEntry,s=t.setHistory,u=(0,o.eJ)({consent:e,groups:n,tcf:r}),l=(0,a.Z)(u,2),d=l[0],f=l[1];(0,o.d4)((function(){i||f({consent:e,groups:n,tcf:r})}),[e,n,r,i]),(0,o.d4)((function(){function t(){return(t=(0,St.Z)(Ot().mark((function t(){var e,n,r,o,i,u,l,d,f,p,h;return Ot().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=(0,Zt.m)(),n=e.restNamespace,r=e.restRoot,o=e.restQuery,i=e.restNonce,t.next=3,(0,Bt.D)({location:It,options:{restNamespace:n,restRoot:r,restQuery:o,restNonce:i},sendRestNonce:!1});case 3:u=t.sent,s(u),u.length?(l=(0,a.Z)(u,1),d=l[0],f=d.groups,p=d.decision,h=d.tcf,c(f,p,h)):c([],[]);case 6:case"end":return t.stop()}}),t)})))).apply(this,arguments)}if("history"===i)f({consent:e,groups:n,tcf:r}),function(){t.apply(this,arguments)}();else{var o=d.groups,u=d.consent.groups,l=d.tcf;null==c||c(o,u,l)}}),[i])}(),C=(0,h.S)(),S=C.openBanner,A=C.openHistory,O=C.revokeConsent,(0,o.d4)((function(){var t=function(t,e,n){if(S)switch(t){case"change":S(n);break;case"history":A(n);break;case"revoke":O(e,n)}},e=function(e){if(S){var n=e.target;(0,Tt.w)(n,Nt).concat((0,Dt.D)(n,Nt)?[n]:[]).forEach((function(n){t(n.getAttribute("href").slice(9),n.getAttribute("data-success-message"),e)})),(0,Dt.D)(n,".rcb-sc-link")&&t(n.getAttribute("href").slice(1),n.getAttribute("data-success-message"),e)}},n=function(){var e=window.location.hash;e.startsWith("#consent-")&&t(e.substring(9),void 0,void 0)};return window.addEventListener("hashchange",n),document.addEventListener("click",e,!0),function(){window.removeEventListener("hashchange",n),document.removeEventListener("click",e,!0)}}),[S,A,O]),!w)return null;var B=_t("div",function(t){var e=t.layout,n=e.type,r=e.dialogPosition,o=t.customCss.antiAdBlocker,i={display:"flex",width:"100%",height:"100%"};return"dialog"===u(t.mobile,t.pageRequestUuid4,n)&&(i.alignItems=r.startsWith("top")?"flex-start":r.startsWith("bottom")?"flex-end":"center",i.justifyContent=r.endsWith("Center")?"center":r.endsWith("Left")?"flex-start":"flex-end"),{className:"wp-exclude-emoji ".concat("y"===o?"":"rcb-align"),style:i}}(t),_t(Ht,null));return v?B:_t("div",(0,c.Z)({id:y},function(t){var e=t.layout,n=e.type,r=e.overlay,o=e.overlayBg,i=e.overlayBgAlpha,a=t.design.fontSize,c=t.customCss.antiAdBlocker,s=t.mobile;t.pageRequestUuid4;return{className:"y"===c?void 0:"rcb-bann3r rcb-bann3r-".concat(u(s,0,n)," ").concat(r?"":"overlay-deactivated"),style:{background:r?d(o,i):"none",position:"fixed",top:0,left:0,right:0,bottom:0,zIndex:99999,pointerEvents:r?"all":"none",fontSize:u(s,0,+a),filter:"none"}}}(t)),B)},Ft=n(6423);function Mt(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=(0,m.u)(),n=e.groups,r=e.essentialGroup,o=n.filter((function(t){return t.slug===r})),i=(0,a.Z)(o,1),c=i[0],u=(0,s.Z)({},c.id,c.items.map((function(t){return t.id})));if(t){var l,d=(0,p.Z)(n);try{for(d.s();!(l=d.n()).done;){var f=l.value;if(f!==c){var h=f.items.filter((function(t){return"legitimate-interest"===t.legalBasis})).map((function(t){return t.id}));h.length&&(u[f.id]=h)}}}catch(t){d.e(t)}finally{d.f()}}return u}var Ut=n(8431),qt=n(1229),jt=function(){var t=(0,St.Z)(Ot().mark((function t(){return Ot().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",!(0,qt.E)()&&"essentials");case 1:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),Xt=function(){var t=(0,St.Z)(Ot().mark((function t(){var e;return Ot().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=document.body.className,t.abrupt("return",e.indexOf("login-action-")>-1&&"consent");case 2:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),Gt=n(4717),Jt=n.n(Gt);function Vt(){var t=navigator.userAgent;return!!t&&!/chrome-lighthouse/i.test(t)&&Jt()(t)}var Qt=n(55).default;function $t(t,e){return new Qt((function(n,r){t.then(n,r);var o=new Error("Timed out");setTimeout(r,e,o)}))}var Kt=n(9094),te={path:"/consent/dynamic-predecision",method:Et.O.GET},ee=function(){var t=(0,St.Z)(Ot().mark((function t(){var e,n,r,o,i,a,c,s,u,l,d,f,p,h,v;return Ot().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=(0,Zt.m)(),n=e.restNamespace,r=e.restRoot,o=e.restQuery,i=e.restNonce,a=e.others,c=a.revisionHash,s=a.hasDynamicPreDecisions,!Vt()&&s){t.next=3;break}return t.abrupt("return",!1);case 3:if(!(u=(0,Kt.h)())){t.next=8;break}if(l=u.revision,c!==l){t.next=8;break}return t.abrupt("return","consent");case 8:return d=document.documentElement,f=d.clientWidth,p=d.clientHeight,t.prev=9,t.next=12,$t((0,Bt.D)({location:te,options:{restNamespace:n,restRoot:r,restQuery:o,restNonce:i},sendRestNonce:!1,request:{viewPortWidth:f,viewPortHeight:p},params:{_wp_http_referer:window.location.href}}),1e4);case 12:return h=t.sent,v=h.predecision,t.abrupt("return",v);case 17:return t.prev=17,t.t0=t.catch(9),t.abrupt("return",!1);case 20:case"end":return t.stop()}}),t,null,[[9,17]])})));return function(){return t.apply(this,arguments)}}(),ne=function(){var t=(0,St.Z)(Ot().mark((function t(e){return Ot().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",!!Lt(e)&&"consent");case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),re=function(){var t=(0,St.Z)(Ot().mark((function t(){var e,n;return Ot().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=(0,m.u)(),n=(0,Kt.h)(),t.abrupt("return",!(!e.isPreventPreDecision||!1!==n)&&(Vt()?"all":"consent"));case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),oe=function(){var t=(0,St.Z)(Ot().mark((function t(){var e,n;return Ot().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=(0,m.u)(),n=e.isAcceptAllForBots,!1===(0,Kt.h)()&&n){t.next=3;break}return t.abrupt("return",!1);case 3:return t.abrupt("return",!!Vt()&&"all");case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();function ie(){try{var t=window;if((t.doNotTrack||t.navigator.doNotTrack||t.navigator.msDoNotTrack||"msTrackingProtectionEnabled"in t.external)&&("1"==t.doNotTrack||"yes"==t.navigator.doNotTrack||"1"==t.navigator.doNotTrack||"1"==t.navigator.msDoNotTrack||t.external.msTrackingProtectionEnabled()))return!0}catch(t){}return!1}var ae=function(){var t=(0,St.Z)(Ot().mark((function t(){var e,n,r,o,i,c,s,u,l,d,f,h;return Ot().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=(0,m.u)(),n=e.isRespectDoNotTrack,r=e.groups,o=e.essentialGroup,i=r.filter((function(t){return t.slug===o})),c=(0,a.Z)(i,1),s=c[0],!1===(0,Kt.h)()&&n){t.next=4;break}return t.abrupt("return",!1);case 4:u=(0,p.Z)(r),t.prev=5,u.s();case 7:if((l=u.n()).done){t.next=29;break}if((d=l.value)===s){t.next=27;break}f=(0,p.Z)(d.items),t.prev=11,f.s();case 13:if((h=f.n()).done){t.next=19;break}if("legitimate-interest"!==h.value.legalBasis){t.next=17;break}return t.abrupt("return",!1);case 17:t.next=13;break;case 19:t.next=24;break;case 21:t.prev=21,t.t0=t.catch(11),f.e(t.t0);case 24:return t.prev=24,f.f(),t.finish(24);case 27:t.next=7;break;case 29:t.next=34;break;case 31:t.prev=31,t.t1=t.catch(5),u.e(t.t1);case 34:return t.prev=34,u.f(),t.finish(34);case 37:return t.abrupt("return",!!ie()&&"dnt");case 38:case"end":return t.stop()}}),t,null,[[5,31,34,37],[11,21,24,27]])})));return function(){return t.apply(this,arguments)}}(),ce=function(){var t=(0,St.Z)(Ot().mark((function t(){var e,n,r,o;return Ot().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!1!==(e=(0,Kt.h)())){t.next=3;break}return t.abrupt("return",!1);case 3:return n=e.revision,r=(0,m.u)(),o=r.revisionHash,t.abrupt("return",o===n&&"consent");case 6:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),se=n(2887),ue=n(9509);var le=n(6794),de=n(7029).h,fe=function(t){var e=t.poweredLink,n=(0,Kt.h)(),r=(0,m.u)(),c=r.customizeValuesBanner,s=c.layout,u=c.decision,l=c.legal,d=c.design,f=c.headerDesign,p=c.bodyDesign,v=c.footerDesign,b=c.texts,g=c.individualLayout,y=c.saveButton,x=c.group,k=c.individualTexts,w=c.customCss,C=c.mobile,S=r.pageId,A=r.pageRequestUuid4,O=r.pageIdToPermalink,Z=r.consentForwardingExternalHosts,E=r.essentialGroup,I=r.isTcf,B=r.isEPrivacyUSA,T=r.isAgeNotice,D=r.tcf,N=r.tcfMetadata,P=r.groups,R=r.isRefreshSiteAfterConsent,z=function(t,e,n){return(0,o.Ye)((function(){}),[t,e,n])}(I,D,N),L=function(){var t=(0,m.u)().pageRequestUuid4,e=document.getElementById(t),n=wt(),r=(0,o.I4)((function(t,r){var o=t.layout,a=o.animationInDuration,c=o.animationOutDuration,s=n(o),u=s.useAnimationIn,l=s.useAnimationOut,d=r?"none"===u?0:a:"none"===l?0:c;d>0&&(e.style.transition="background ".concat(d,"ms")),e.style.background="transparent",r?(setTimeout((function(){e.style.display="block"}),0),setTimeout((function(){var t=e.getAttribute("data-bg");e.style.background=t?t.split(":")[1].trim().replace(";",""):"transparent"}),100)):setTimeout((function(){e.style.display="none"}),d);var f={animationVisible:r};return r?(0,i.Z)({visible:!0},f):f}),[n]);return{overlay:e,toggleOverlay:r}}(),W=L.toggleOverlay,_=(0,o.eJ)({layout:(0,i.Z)({},s),decision:(0,i.Z)({},u),legal:(0,i.Z)({},l),design:(0,i.Z)({},d),headerDesign:(0,i.Z)({},f),bodyDesign:(0,i.Z)({},p),footerDesign:(0,i.Z)({},v),texts:(0,i.Z)({},b),individualLayout:(0,i.Z)({},g),saveButton:(0,i.Z)({},y),group:(0,i.Z)({},x),individualTexts:(0,i.Z)({},k),customCss:(0,i.Z)({},w),mobile:(0,i.Z)({},C),pageRequestUuid4:A,pageIdToPermalink:O,consentForwardingExternalHosts:Z,pageId:S,isTcf:I,ePrivacyUSA:B,ageNotice:T,tcf:z,tcfFilterBy:"legInt",updateTcfFilterBy:function(t){F((function(e){return(0,i.Z)((0,i.Z)({},e),{},{tcfFilterBy:t})}))},groups:P,essentialGroup:E,poweredLink:e,visible:!1,animationVisible:!0,skipOverlay:!0,previewCheckboxActiveState:!1,individualPrivacyOpen:!1,updateIndividualPrivacyOpen:function(t){F((function(e){return(0,i.Z)((0,i.Z)({},e),{},{individualPrivacyOpen:t})}))},consent:{groups:(0,i.Z)((0,i.Z)({},!1===n?{}:n.consent),Mt(!1===n))},didGroupFirstChange:!1,updateGroupChecked:function(t,e){F((function(n){var r=JSON.parse(JSON.stringify(n.consent));return e?r.groups[t]=n.groups.filter((function(e){return e.id===t}))[0].items.map((function(t){return t.id})):delete r.groups[t],(0,i.Z)((0,i.Z)({},n),{},{consent:r,didGroupFirstChange:!0})}))},updateCookieChecked:function(t,e,n){F((function(r){var o=JSON.parse(JSON.stringify(r.consent));o.groups[t]||(o.groups[t]=[]);var a=o.groups[t],c=a.indexOf(e);return n&&-1===c?a.push(e):!n&&c>-1&&a.splice(c,1),a.length||delete o.groups[t],(0,i.Z)((0,i.Z)({},r),{},{consent:o})}))},onSave:function(t,e){F((function(n){var r=(0,Ft.$)({consent:n.consent,markAsDoNotTrack:t,buttonClicked:e,tcfString:void 0});return R||n.refreshSiteAfterSave?(r.then((function(){return setTimeout((function(){return window.location.reload()}),n.refreshSiteAfterSave||2e3)})),n):(0,i.Z)((0,i.Z)({},n),W(n,!1))}))},onClose:function(){F((function(t){return(0,i.Z)((0,i.Z)((0,i.Z)({},t),W(t,!1)),{},{refreshSiteAfterSave:!1})}))},setHistory:function(t){F((function(e){return(0,i.Z)((0,i.Z)({},e),{},{history:t})}))},selectHistoryEntry:function(t,e,n){F((function(r){var o={isTcf:!!n,tcf:null};return(0,i.Z)((0,i.Z)({},r),{},{groups:t,consent:(0,i.Z)((0,i.Z)({},r.consent),{},{groups:e})},o)}))}}),H=(0,a.Z)(_,2),Y=H[0],F=H[1];!function(t,e){(0,o.Ye)((function(){var n=function(n){return t((function(t){return(0,i.Z)((0,i.Z)({},t),{},{activeAction:n,individualPrivacyOpen:!0,refreshSiteAfterSave:"change"===n&&2e3},e(t,!0))}))},r=function(t){t&&(t.preventDefault(),t.stopPropagation())},o={openHistory:function(t){n("history"),r(t)},openBanner:function(t){n("change"),r(t)},revokeConsent:function(e,n){t((function(t){return t.tcf,(0,St.Z)(Ot().mark((function t(){return Ot().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=4,(0,Ft.$)({consent:{groups:Mt(!0)},buttonClicked:"shortcode_revoke",tcfString:void 0});case 4:e&&alert(e),setTimeout((function(){return window.location.reload()}),2e3);case 6:case"end":return t.stop()}}),t)})))(),t})),r(n)}};t((function(t){return(0,i.Z)((0,i.Z)({},t),o)}))}),[t,e])}(F,W),function(t,e,n){!(0,m.u)().customizeIdsBanner&&(0,o.d4)((function(){(0,St.Z)(Ot().mark((function r(){var o,a,c,s,u,l;return Ot().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:o=t.onSave,a=!0,c=0,s=[jt,Xt,ee,ne,re,oe,ae,ce];case 4:if(!(c<s.length)){r.next=16;break}return u=s[c],r.next=8,u(t);case 8:if(!1===(l=r.sent)){r.next=13;break}return a=!1,"all"===l?(0,se.k)("all"):"essentials"===l?(0,se.k)("essentials"):"dnt"===l?o(u===ae,"none"):"consent"===l&&(0,se.k)("consent"),r.abrupt("break",16);case 13:c++,r.next=4;break;case 16:if(!a){r.next=21;break}return e((function(t){return(0,i.Z)((0,i.Z)({},t),{},{consent:{groups:Mt()}},n(t,!0))})),r.next=20,(0,Ut.C)();case 20:document.dispatchEvent(new CustomEvent(ue.I,{detail:{}}));case 21:case"end":return r.stop()}}),r)})))()}),[])}(Y,F,W),(0,o.d4)((function(){var t=function(){var t=(0,Kt.h)();t&&F((function(e){return(0,i.Z)((0,i.Z)({},e),{},{consent:{groups:t.consent}})}))};return document.addEventListener(le.V,t),function(){document.removeEventListener(le.V,t)}}),[]);var M=h.k.Context();return de(M.Provider,{value:Y},de(Yt,null))},pe=n(6346),he=n(3102),ve=n(2583),me=n(55).default;function be(t){return ge.apply(this,arguments)}function ge(){return ge=(0,St.Z)(Ot().mark((function t(e){var n,r,o,i=arguments;return Ot().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n=i.length>1&&void 0!==i[1]?i[1]:500,r=i.length>2&&void 0!==i[2]?i[2]:0,o=0;case 3:if(e()){t.next=11;break}if(!(r>0&&o>=r)){t.next=6;break}return t.abrupt("return",void 0);case 6:return t.next=8,new me((function(t){return setTimeout(t,n)}));case 8:o++,t.next=3;break;case 11:return t.abrupt("return",e());case 12:case"end":return t.stop()}}),t)}))),ge.apply(this,arguments)}var ye=0,xe=n(6579),ke=n(9302),we=n(5577),Ce=n(4559);function Se(t,e,n){var r,o=[],i=(0,m.u)(),a=i.groups,c=i.revisionHash,s=a.map((function(t){return t.items})).flat(),u=(0,p.Z)(s);try{for(u.s();!(r=u.n()).done;){var l=r.value;if("number"==typeof t)l.id===t&&o.push({cookie:l,relevance:10});else{var d=l.technicalDefinitions;if(null!=d&&d.length){var f,h=(0,p.Z)(d);try{for(h.s();!(f=h.n()).done;){var v=f.value,b=(0,Ce.D)(v.name);if(v.type===t&&(v.name===e||e.match(b))&&(v.host===n||"*"===n)){o.push({cookie:l,relevance:d.length+d.indexOf(v)+1});break}}}catch(t){h.e(t)}finally{h.f()}}}}}catch(t){u.e(t)}finally{u.f()}var g=(0,Kt.h)();if(o.length){var y=o.sort((function(t,e){return t.relevance-e.relevance}))[0].cookie;return g&&c===g.revision?Object.values(g.consent).flat().indexOf(y.id)>-1?{cookie:y,consentGiven:!0,cookieOptIn:!0}:{cookie:y,consentGiven:!0,cookieOptIn:!1}:{cookie:y,consentGiven:!1,cookieOptIn:!1}}return{cookie:null,consentGiven:!!g,cookieOptIn:!0}}var Ae=n(55).default;function Oe(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return new Ae((function(t,n){var r=Se.apply(void 0,e),o=r.cookie,i=r.consentGiven,a=r.cookieOptIn;o?i?a?t():n():(document.addEventListener(ve.g,function(){var e=(0,St.Z)(Ot().mark((function e(n){return Ot().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n.detail.cookie===o&&t();case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),document.addEventListener(we.E,function(){var t=(0,St.Z)(Ot().mark((function t(e){return Ot().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.detail.cookie===o&&n();case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())):t()}))}var Ze=n(965),Ee=n(55).default;function Ie(t){return Ee.all(t.map((function(t){return Oe.apply(void 0,(0,Ze.Z)(t))})))}var Be,Te=n(4312),De=n(7029).h;n.p=(0,Te.sE)({NODE_ENV:"production",env:"production",rootSlug:"devowl-wp",slug:"real-cookie-banner",PLUGIN_CTX:"lite",ANTD_PREFIX:"rcb-antd",IS_TCF:"0",TCF_CMP_ID:367}),document.addEventListener(ve.g,function(){var t=(0,St.Z)(Ot().mark((function t(e){var n,r,o,i,a,c,s,u;return Ot().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n=e.detail.cookie,r=n.presetId,o=n.codeOptIn,i=n.codeDynamics,t.t0=r,t.next="amazon-associates-widget"===t.t0?4:"google-maps"===t.t0?16:18;break;case 4:if(!(a=(i||{}).amznAssoWidgetHtmlId)){t.next=15;break}if(!(c=document.getElementById(a))){t.next=15;break}return s=ye,ye++,(0,pe.K)(o,i,c),t.next=13,be((function(){return document.querySelector('[id^="amzn_assoc_ad_div_"][id$="'.concat(s,'"]'))}),500,50);case 13:(u=t.sent)&&c.appendChild(u);case 15:return t.abrupt("break",19);case 16:return document.addEventListener(he.T,function(){var t=(0,St.Z)(Ot().mark((function t(e){var n,r,o,i;return Ot().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.detail.element,r=window,o=r.et_pb_map_init,!((i=r.jQuery)&&n.matches(".et_pb_map")&&o)){t.next=6;break}return t.next=5,be((function(){return window.google}));case 5:o(i(n).parent());case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),t.abrupt("break",19);case 18:return t.abrupt("break",19);case 19:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),Be=Array.prototype.slice.call(document.querySelectorAll(".rcb-consent-print-uuid")),document.addEventListener(ue.I,(function(){Be.forEach((function(t){return t.innerHTML=t.getAttribute("data-fallback")}))})),document.addEventListener(le.V,(function(){var t=(0,Kt.h)();Be.forEach((function(e){return e.innerHTML=!1===t?e.getAttribute("data-fallback"):t.uuid}))})),(0,m.u)().isTcf,(0,Ut.C)((function(){var t=(0,m.u)().pageRequestUuid4,e=(0,xe.U)(),n=function(t){var e=document.body;return t.parentElement!==e&&e.appendChild(t),t}(document.getElementById(t));n&&(0,o.sY)(De(fe,{poweredLink:e}),n)}),"interactive"),window&&(window.consentApi=r)},6125:function(t,e,n){"use strict";n.d(e,{X:function(){return a}});var r=n(7663),o=n(5213),i=n(7029).h,a=function(t){var e=t.ms,n=void 0===e?100:e,a=t.chars,c=void 0===a?["◷","◶","◵","◴"]:a,s=(0,o.eJ)(1),u=(0,r.Z)(s,2),l=u[0],d=u[1];return(0,o.d4)((function(){var t=setInterval((function(){d(l+1)}),n);return function(){return clearInterval(t)}}),[l]),i("span",{dangerouslySetInnerHTML:{__html:c[l%4]}})}},2099:function(t,e,n){"use strict";n.d(e,{m:function(){return i}});var r=n(3438),o=n(7029).h,i=function(){var t=(0,r.u)(),e=t.isPro,n=t.isLicensed,i=t.isDevLicense,a=t.bannerI18n,c=a.noLicense,s=a.devLicense;if(!e)return null;var u="";return i?u=s:n||(u=c),u?o("div",{style:{fontSize:13,color:"#c95252",fontWeight:"bold",order:9}},u):null}},6161:function(t,e,n){"use strict";n.d(e,{z:function(){return u}});var r=n(4741),o=n(4115),i=n(5213),a=n(3428),c=n(9913),s=n(7029).h,u=(0,i.Gp)((function(t,e){var n=t.children,i=t.className,u=t.title,l=t.position,d=void 0===l?"top":l,f=t.color,p=t.size,h=void 0===p?"large":p,v=t.always,m=t.rounded,b=t.noAnimate,g=t.bounce,y=(0,o.Z)(t,["children","className","title","position","color","size","always","rounded","noAnimate","bounce"]);return(0,c.G)(a,"hint-css"),s("div",(0,r.Z)({style:{position:"relative",display:"inline"},ref:e,"aria-label":u,className:"hint--".concat(d," hint--").concat(h," ").concat(f?"hint--".concat(f):""," ").concat(v?"hint--always":""," ").concat(m?"hint--rounded":""," ").concat(b?"hint--no-animate":""," ").concat(g?"hint--bounce":""," ").concat(i||"")},y),n)}))},569:function(t,e,n){"use strict";n.d(e,{p:function(){return s}});var r=n(4741),o=n(4115),i=n(5213),a=n(1680),c=n(7029).h,s=function(t){var e=t.icon,n=(0,o.Z)(t,["icon"]),s=(0,i.Ye)((function(){return(0,a.x)(e,{extraSVGAttrs:{style:"width:auto;height:100%;",fill:"currentColor"}})}),[e]);return c("div",(0,r.Z)({},n,{dangerouslySetInnerHTML:{__html:s}}))}},2816:function(t,e,n){"use strict";n.d(e,{k:function(){return a},S:function(){return c}});var r=n(6762),o=n(3340),i=n(5213),a=function(){function t(){(0,r.Z)(this,t)}return(0,o.Z)(t,null,[{key:"Context",value:function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(){return this.context=this.context||(0,i.kr)({})}))}]),t}();function c(){return(0,i.qp)(a.Context())}a.context=void 0},8498:function(t,e,n){"use strict";n.d(e,{Z:function(){return a},_:function(){return c}});var r=n(6762),o=n(3340),i=n(5213),a=function(){function t(){(0,r.Z)(this,t)}return(0,o.Z)(t,null,[{key:"Context",value:function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(){return this.context=this.context||(0,i.kr)({})}))}]),t}();function c(){return(0,i.qp)(a.Context())}a.context=void 0},4450:function(t,e,n){"use strict";n.d(e,{X:function(){return c}});var r=n(2816),o=n(8498),i=n(3438);function a(t){var e=(0,r.S)().pageIdToPermalink,n=(0,o._)().pageIdToPermalink,a=e||n,c=(0,i.u)().pageByIdUrl;return(null==a?void 0:a[t])||"".concat(c,"=").concat(t)}function c(t){var e=t.privacyPolicy,n=t.privacyPolicyExternalUrl,r=t.privacyPolicyIsExternalUrl,o=t.privacyPolicyLabel,i=t.imprint,c=t.imprintExternalUrl,s=t.imprintIsExternalUrl,u=t.imprintLabel,l=a(e),d=a(i);return r&&(l=n),s&&(d=c),{linkPrivacyPolicy:!!o&&{url:l,label:o},linkImprint:!!u&&{url:d,label:u}}}},9913:function(t,e,n){"use strict";n.d(e,{G:function(){return i}});var r=n(5213),o=0;function i(t,e){var n=(0,r.Ye)((function(){return"react-use-plain-css-".concat(e||(o++).toString(36))}),[]);return(0,r.bt)((function(){var e=document.getElementById(n);return e||((e=document.createElement("style")).style.type="text/css",e.id=n,document.getElementsByTagName("head")[0].appendChild(e)),e.innerHTML=t,function(){var t;null===(t=e.parentNode)||void 0===t||t.removeChild(e)}}),[t]),n}},6423:function(t,e,n){"use strict";n.d(e,{$:function(){return b}});var r=n(2711),o=n(7938),i=n(5450),a=n.n(i),c={path:"/consent",method:n(6811).O.POST},s=n(625),u=n(38),l=n(3438),d=n(9448).default,f=n(55).default;function p(t){var e=t.endpoints,n=t.data;if((0,l.u)().isPro){var r,o=[],i=(0,u.Z)(e);try{for(i.s();!(r=i.n()).done;){var a=r.value;o.push(d(a,{method:"POST",credentials:"include",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(n)}))}}catch(t){i.e(t)}finally{i.f()}return f.all(o)}return f.reject()}var h=n(2887),v=n(3075),m=n(55).default;function b(t){return g.apply(this,arguments)}function g(){return(g=(0,o.Z)(a().mark((function t(e){var n,o,i,u,l,d,f,b,g,y,x,k,w,C,S,A,O,Z,E,I,B;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.consent,o=e.markAsDoNotTrack,i=void 0!==o&&o,u=e.buttonClicked,l=e.blocker,d=void 0===l?0:l,f=e.blockerThumbnail,b=e.tcfString,g=document.documentElement,y=g.clientWidth,x=g.clientHeight,k=(0,s.m)(),w=k.restNamespace,C=k.restRoot,S=k.restQuery,A=k.restNonce,t.next=5,(0,v.D)({location:c,options:{restNamespace:w,restRoot:C,restQuery:S,restNonce:A},sendRestNonce:!1,request:(0,r.Z)((0,r.Z)({},n),{},{markAsDoNotTrack:i,buttonClicked:u,viewPortWidth:y,viewPortHeight:x,blocker:d,blockerThumbnail:f,tcfString:b}),params:{_wp_http_referer:window.location.href}});case 5:return O=t.sent,Z=O.forward,E=O.uuid,I=O.cookie_revision,B=O.decision_in_cookie,window.rcbDisabledCookieComp={uuid:E,revision:I,consent:B},t.next=13,m.all([Z&&p(Z),(0,h.k)("consent")].filter(Boolean));case 13:case"end":return t.stop()}}),t)})))).apply(this,arguments)}},2887:function(t,e,n){"use strict";n.d(e,{k:function(){return L}});var r=n(7938),o=n(5450),i=n.n(o),a=n(4115),c=n(38),s=n(63),u=n(7663),l=n(3438),d=n(9094);function f(t){var e,n,o=(0,l.u)(),a=o.groups,f=o.essentialGroup,p=o.setCookiesViaManager,h=o.isPro&&"none"!==p,v=a.filter((function(t){return t.slug===f})),m=(0,u.Z)(v,1)[0],b=(0,s.Z)({},m.id,m.items.map((function(t){return t.id})));if("consent"===t){var g=(0,d.h)();!1!==g?e=g.consent:(console.warn("Something went wrong while reading the cookie, fallback to essentials only..."),e=b)}return"essentials"===t&&(e=b),{isManagerActive:h,selectedGroups:e,iterateCookies:(n=(0,r.Z)(i().mark((function n(r){var o,s,u,l,d,f,p,h;return i().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:o=(0,c.Z)(a),n.prev=1,o.s();case 3:if((s=o.n()).done){n.next=25;break}u=s.value,l=(0,c.Z)(u.items),n.prev=6,l.s();case 8:if((d=l.n()).done){n.next=15;break}return p=d.value,h="all"===t||(null===(f=e[u.id])||void 0===f?void 0:f.indexOf(p.id))>-1,n.next=13,r(u,p,h);case 13:n.next=8;break;case 15:n.next=20;break;case 17:n.prev=17,n.t0=n.catch(6),l.e(n.t0);case 20:return n.prev=20,l.f(),n.finish(20);case 23:n.next=3;break;case 25:n.next=30;break;case 27:n.prev=27,n.t1=n.catch(1),o.e(n.t1);case 30:return n.prev=30,o.f(),n.finish(30);case 33:case"end":return n.stop()}}),n,null,[[1,27,30,33],[6,17,20,23]])}))),function(t){return n.apply(this,arguments)})}}function p(t,e){var n,r,o;return t&&(r=(n=e).charAt(0).toUpperCase()+n.slice(1),o="googleTagManager"===e?"dataLayer":"_mtm"),{useVariableNameCamel:n,useVariableNamePascal:r,useGlobalObjectName:o}}var h=n(2583),v=n(6346),m=n(55).default;function b(t){return g.apply(this,arguments)}function g(){return g=(0,r.Z)(i().mark((function t(e){var n,o,c,s,u,d,b,g,y,x,k;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=[],o=f(e),c=o.isManagerActive,s=o.iterateCookies,u=(0,l.u)(),d=u.setCookiesViaManager,(b=p(c,d)).useGlobalObjectName,g=b.useVariableNamePascal,y=!1,x=m.resolve(void 0),k=[],t.next=9,s(function(){var t=(0,r.Z)(i().mark((function t(e,r,o){var s,u,l,d,f,p;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:s=r.presetId,u=r.codeDynamics,l=r.codeOptIn,d=(0,a.Z)(r,["presetId","codeDynamics","codeOptIn"]),c&&d["thisIs".concat(g)],o&&(f=c&&d["codeOptInNo".concat(g)],p=["amazon-associates-widget"].indexOf(s)>-1,f||p||k.push((0,v.K)(l,u)),document.dispatchEvent(new CustomEvent(h.g,{detail:{group:e,cookie:r}})),n.push({group:e,cookie:r}));case 3:case"end":return t.stop()}}),t)})));return function(e,n,r){return t.apply(this,arguments)}}());case 9:return t.abrupt("return",{isManagerOptOut:y,dataLayerPromise:x,cookies:n,ready:m.all(k)});case 10:case"end":return t.stop()}}),t)}))),g.apply(this,arguments)}var y=n(55).default;function x(t,e,n){return k.apply(this,arguments)}function k(){return k=(0,r.Z)(i().mark((function t(e,n,o){var c,u,d,h,m,b,g,x,k;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(c=[],u=f(e),d=u.isManagerActive,h=u.iterateCookies,m=(0,l.u)(),b=m.setCookiesViaManager,g=p(d,b),x=g.useVariableNameCamel,k=g.useVariableNamePascal,!n){t.next=11;break}return h((function(t,e,r){var o=e["".concat(x,"InEventName")];r&&o&&n.push({realCookieBannerOptInEvents:(0,s.Z)({},o,!0),event:o})})),t.next=8,new y((function(t){return setTimeout(t,1e3)}));case 8:h((function(t,e,r){var o=e["".concat(x,"OutEventName")];!r&&o&&n.push({realCookieBannerOptOutEvents:(0,s.Z)({},o,!0),event:o})})),t.next=14;break;case 11:if(!d||!o){t.next=14;break}return t.next=14,h(function(){var t=(0,r.Z)(i().mark((function t(e,n,r){var o,s,u;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:o=n.codeDynamics,s=n.codeOptIn,u=(0,a.Z)(n,["codeDynamics","codeOptIn"]),r&&u["codeOptInNo".concat(k)]&&c.push((0,v.K)(s,o));case 2:case"end":return t.stop()}}),t)})));return function(e,n,r){return t.apply(this,arguments)}}());case 14:return t.abrupt("return",{ready:y.all(c)});case 15:case"end":return t.stop()}}),t)}))),k.apply(this,arguments)}var w=n(4559),C=n(8542),S=n.n(C),A=n(2891);function O(t,e){var n,r=(0,c.Z)(t);try{for(r.s();!(n=r.n()).done;){var o=n.value,i=o.type,a=o.name,s=new RegExp((0,w.D)((0,A.c)(a,e)),"g");switch(i){case"http":for(var u=0,l=Object.keys(S().get());u<l.length;u++){var d=l[u];s.test(d)&&S().remove(d)}break;case"local":case"session":try{var f="local"===i?window.localStorage:window.sessionStorage;if(f)for(var p=0,h=Object.keys(f);p<h.length;p++){var v=h[p];if(s.test(v)){try{f.setItem(v,null)}catch(t){}for(var m=0;f.getItem(v)&&m<100;)m++,f.removeItem(v)}}}catch(t){continue}}}}catch(t){r.e(t)}finally{r.f()}}var Z=n(3075),E=n(625),I={path:"/consent/clear",method:n(6811).O.DELETE};function B(t){var e=(0,E.m)(),n=e.restNamespace,r=e.restRoot,o=e.restQuery,i=e.restNonce;return(0,Z.D)({location:I,options:{restNamespace:n,restRoot:r,restQuery:o,restNonce:i},sendRestNonce:!1,params:{cookies:t.join(",")}})}var T=n(5577);function D(t,e){return N.apply(this,arguments)}function N(){return N=(0,r.Z)(i().mark((function t(e,n){var o,c,s,u,d,h,m,b;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=f(e),c=o.isManagerActive,s=o.iterateCookies,u=(0,l.u)(),d=u.setCookiesViaManager,h=p(c,d),m=h.useVariableNamePascal,b=[],t.next=6,s(function(){var t=(0,r.Z)(i().mark((function t(e,r,o){var s,u,l,d,f,p,h,g;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:s=r.id,u=r.codeDynamics,l=r.codeOptOut,d=r.codeOptOutDelete,f=r.noTechnicalDefinitions,p=r.technicalDefinitions,h=(0,a.Z)(r,["id","codeDynamics","codeOptOut","codeOptOutDelete","noTechnicalDefinitions","technicalDefinitions"]),o||(((g=c&&h["codeOptInNo".concat(m)])&&!n||!g)&&(0,v.K)(l,u),d&&!f&&(O(p,u),p.some((function(t){return"http"===t.type}))&&b.push(s)),document.dispatchEvent(new CustomEvent(T.E,{detail:{group:e,cookie:r}})));case 2:case"end":return t.stop()}}),t)})));return function(e,n,r){return t.apply(this,arguments)}}());case 6:b.length&&setTimeout((function(){return B(b)}),0);case 7:case"end":return t.stop()}}),t)}))),N.apply(this,arguments)}var P=n(8431),R=n(6794),z=n(55).default;function L(t){return W.apply(this,arguments)}function W(){return(W=(0,r.Z)(i().mark((function t(e){var n,r,o,a,c,s,u,l;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,P.C)();case 2:return t.next=4,b(e);case 4:return n=t.sent,r=n.dataLayerPromise,o=n.isManagerOptOut,a=n.cookies,c=n.ready,t.t0=x,t.t1=e,t.next=13,r;case 13:return t.t2=t.sent,t.t3=o,t.next=17,(0,t.t0)(t.t1,t.t2,t.t3);case 17:return s=t.sent,u=s.ready,l=z.all([c,u]),document.dispatchEvent(new CustomEvent(R.V,{detail:{cookies:a,ready:l}})),t.next=23,D(e,o);case 23:case"end":return t.stop()}}),t)})))).apply(this,arguments)}},8001:function(t,e,n){"use strict";n.d(e,{Q:function(){return c}});var r=n(38),o=n(3438),i="eprivacy-usa-expand",a=!1;function c(t,e,n,c){var s,u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:3,l=arguments.length>5&&void 0!==arguments[5]&&arguments[5],d=(0,o.u)(),f=d.bannerI18n,p=f.ePrivacyNoteMore,h=f.none,v=[],m=[],b=(0,r.Z)(t);try{for(b.s();!(s=b.n()).done;){var g,y=s.value.items,x=(0,r.Z)(y);try{for(x.s();!(g=x.n()).done;){var k=g.value;c(k)&&m.push(k.name)}}catch(t){x.e(t)}finally{x.f()}}}catch(t){b.e(t)}finally{b.f()}return m.length-u>1&&(v=m.slice(u,m.length),(m=m.slice(0,u)).push("<span ".concat(i,'="').concat(v.join(", "),'" style="text-decoration:none;border-bottom:0.5px dashed;padding-bottom:1px;cursor:pointer;">').concat(p.replace("%d",v.length.toString()),"</span>")),!a&&document.addEventListener("click",(function(t){var e=t.target;null!=e&&e.hasAttribute(i)&&(e.innerHTML=e.getAttribute(i),e.removeAttribute("style"))})),a=!0),l&&0===m.length?"":n.replace(/{{services}}/g,m.length?m.join(", "):'<span style="color:red;">'.concat(h,"</span>"))}},1802:function(t,e,n){"use strict";function r(){return{http:{name:"HTTP Cookie",abbr:"HTTP",backgroundColor:"black"},local:{name:"Local Storage",abbr:"Local",backgroundColor:"#b3983c"},session:{name:"Session Storage",abbr:"Session",backgroundColor:"#3c99b3"},flash:{name:"Flash Local Shared Object",abbr:"Flash",backgroundColor:"#b33c3c"},indexedDb:{name:"IndexedDB",abbr:"I-DB",backgroundColor:"#4ab33c"}}}n.d(e,{w:function(){return r}})},6579:function(t,e,n){"use strict";n.d(e,{U:function(){return i}});var r=n(3438),o=n(7932);function i(){var t=(0,r.u)().pageRequestUuid4,e=document.getElementById(t).nextElementSibling,n=document.createElement("div");return window.rcbPoweredByCacheOuterHTML?n.innerHTML=window.rcbPoweredByCacheOuterHTML:(0,o.D)(e,"a")&&e.innerHTML.toLowerCase().indexOf("Real Cookie Banner")&&(window.rcbPoweredByCacheOuterHTML=e.outerHTML,n.innerHTML=window.rcbPoweredByCacheOuterHTML,e.parentNode.removeChild(e)),n.children[0]}window.rcbPoweredByCacheOuterHTML=""},9094:function(t,e,n){"use strict";n.d(e,{h:function(){return c}});var r=n(7663),o=n(965),i=n(3438),a=n(1229);function c(){var t=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=(0,o.Z)(document.cookie.matchAll(new RegExp("(^|;)\\s*".concat(t,"\\s*=\\s*([^;]+)"),"g")));if(!n.length)return"";var r=n.pop().pop();return e?decodeURIComponent(r):r}((0,i.u)().userConsentCookieName);if(!t)return!(0,a.E)()&&(window.rcbDisabledCookieComp||!1);var e=function(t,e,n){var r=t.split(":");if(r.length<=3)return r;var o=r.slice(0,2);return o.push(r.slice(2).join(":")),o}(t);if(3!==e.length)return!1;var n=(0,r.Z)(e,2);return{uuid:n[0],revision:n[1],consent:JSON.parse(e[2])}}},9509:function(t,e,n){"use strict";n.d(e,{I:function(){return r}});var r="RCB/Banner/Show"},6794:function(t,e,n){"use strict";n.d(e,{V:function(){return r}});var r="RCB/OptIn/All"},2583:function(t,e,n){"use strict";n.d(e,{g:function(){return r}});var r="RCB/OptIn"},5577:function(t,e,n){"use strict";n.d(e,{E:function(){return r}});var r="RCB/OptOut"},4559:function(t,e,n){"use strict";function r(t){var e,n=t.replace(/\*/g,"PLEACE_REPLACE_ME_AGAIN");return"^".concat((e=n,e.replace(new RegExp("[.\\\\+*?\\[\\^\\]$(){}=!<>|:\\".concat("","-]"),"g"),"\\$&")).replace(/PLEACE_REPLACE_ME_AGAIN/g,"(.*)"),"$")}n.d(e,{D:function(){return r}})},625:function(t,e,n){"use strict";function r(){return window["real-cookie-banner".replace(/-([a-z])/g,(function(t){return t[1].toUpperCase()}))]}n.d(e,{m:function(){return r}})},3438:function(t,e,n){"use strict";n.d(e,{u:function(){return o}});var r=n(625);function o(){return(0,r.m)().others}},6102:function(t,e,n){"use strict";n.d(e,{e:function(){return a}});var r=n(965),o=n(5213),i=n(7029).h;function a(t,e){var n=t.filter(Boolean);return 0===n.length?null:n.reduce((function(t,n,a){return t.length?[].concat((0,r.Z)(t),[i(o.HY,{key:a},e),n]):[n]}),[])}},6652:function(){String.prototype.startsWith||(String.prototype.startsWith=function(t,e){return e=e||0,this.indexOf(t,e)===e}),String.prototype.endsWith||(String.prototype.endsWith=function(t,e){var n=this.toString();("number"!=typeof e||!isFinite(e)||Math.floor(e)!==e||e>n.length)&&(e=n.length),e-=t.length;var r=n.indexOf(t,e);return-1!==r&&r===e}),null==Element.prototype.getAttributeNames&&(Element.prototype.getAttributeNames=function(){for(var t=this.attributes,e=t.length,n=new Array(e),r=0;r<e;r++)n[r]=t[r].name;return n}),"function"!=typeof window.CustomEvent&&(window.CustomEvent=function(t,e){e=e||{bubbles:!1,cancelable:!1,detail:null};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}),Object.values=Object.values?Object.values:function(t){var e=Object.prototype.toString.call(t);if(null==t)throw new TypeError("Cannot convert undefined or null to object");if(~["[object String]","[object Object]","[object Array]","[object Function]"].indexOf(e)){if(Object.keys)return Object.keys(t).map((function(e){return t[e]}));var n=[];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&n.push(t[r]);return n}return[]},"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e[0];if(null==r)throw new TypeError("Cannot convert undefined or null to object");for(var o=Object(r),i=1;i<e.length;i++){var a=e[i];if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(o[c]=a[c])}return o},writable:!0,configurable:!0}),[Element.prototype,CharacterData.prototype,DocumentType.prototype].forEach((function(t){t.hasOwnProperty("remove")||Object.defineProperty(t,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){this.parentNode.removeChild(this)}})}))},8431:function(t,e,n){"use strict";n.d(e,{C:function(){return o}});var r=n(55).default,o=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"complete";return new r((function(n){var r=function(){null==t||t(),setTimeout(n,0)};document.readyState===e?r():document.addEventListener("readystatechange",(function(){document.readyState===e&&r()}))}))}},1229:function(t,e,n){"use strict";n.d(e,{E:function(){return o}});var r="real_cookie_banner-test";function o(){try{document.cookie="".concat(r,"=1");var t=-1!==document.cookie.indexOf("".concat(r,"="));return document.cookie="".concat(r,"=1; expires=Thu, 01-Jan-1970 00:00:01 GMT"),t}catch(t){return!1}}},3428:function(t){"use strict";t.exports="/*! Hint.css - v2.7.0 - 2021-10-01\n* https://kushagra.dev/lab/hint/\n* Copyright (c) 2021 Kushagra Gour */\n\n[class*=hint--]{position:relative;display:inline-block}[class*=hint--]:after,[class*=hint--]:before{position:absolute;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);transform:translate3d(0,0,0);visibility:hidden;opacity:0;z-index:1000000;pointer-events:none;-webkit-transition:.3s ease;-moz-transition:.3s ease;transition:.3s ease;-webkit-transition-delay:0s;-moz-transition-delay:0s;transition-delay:0s}[class*=hint--]:hover:after,[class*=hint--]:hover:before{visibility:visible;opacity:1;-webkit-transition-delay:.1s;-moz-transition-delay:.1s;transition-delay:.1s}[class*=hint--]:before{content:'';position:absolute;background:0 0;border:6px solid transparent;z-index:1000001}[class*=hint--]:after{background:#383838;color:#fff;padding:8px 10px;font-size:12px;font-family:\"Helvetica Neue\",Helvetica,Arial,sans-serif;line-height:12px;white-space:nowrap;text-shadow:0 -1px 0 #000;box-shadow:4px 4px 8px rgba(0,0,0,.3)}[class*=hint--][aria-label]:after{content:attr(aria-label)}[class*=hint--][data-hint]:after{content:attr(data-hint)}[aria-label='']:after,[aria-label='']:before,[data-hint='']:after,[data-hint='']:before{display:none!important}.hint--top-left:before,.hint--top-right:before,.hint--top:before{border-top-color:#383838}.hint--bottom-left:before,.hint--bottom-right:before,.hint--bottom:before{border-bottom-color:#383838}.hint--top:after,.hint--top:before{bottom:100%;left:50%}.hint--top:before{margin-bottom:-11px;left:calc(50% - 6px)}.hint--top:after{-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);transform:translateX(-50%)}.hint--top:hover:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--top:hover:after{-webkit-transform:translateX(-50%) translateY(-8px);-moz-transform:translateX(-50%) translateY(-8px);transform:translateX(-50%) translateY(-8px)}.hint--bottom:after,.hint--bottom:before{top:100%;left:50%}.hint--bottom:before{margin-top:-11px;left:calc(50% - 6px)}.hint--bottom:after{-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);transform:translateX(-50%)}.hint--bottom:hover:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--bottom:hover:after{-webkit-transform:translateX(-50%) translateY(8px);-moz-transform:translateX(-50%) translateY(8px);transform:translateX(-50%) translateY(8px)}.hint--right:before{border-right-color:#383838;margin-left:-11px;margin-bottom:-6px}.hint--right:after{margin-bottom:-14px}.hint--right:after,.hint--right:before{left:100%;bottom:50%}.hint--right:hover:after,.hint--right:hover:before{-webkit-transform:translateX(8px);-moz-transform:translateX(8px);transform:translateX(8px)}.hint--left:before{border-left-color:#383838;margin-right:-11px;margin-bottom:-6px}.hint--left:after{margin-bottom:-14px}.hint--left:after,.hint--left:before{right:100%;bottom:50%}.hint--left:hover:after,.hint--left:hover:before{-webkit-transform:translateX(-8px);-moz-transform:translateX(-8px);transform:translateX(-8px)}.hint--top-left:after,.hint--top-left:before{bottom:100%;left:50%}.hint--top-left:before{margin-bottom:-11px;left:calc(50% - 6px)}.hint--top-left:after{-webkit-transform:translateX(-100%);-moz-transform:translateX(-100%);transform:translateX(-100%);margin-left:12px}.hint--top-left:hover:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--top-left:hover:after{-webkit-transform:translateX(-100%) translateY(-8px);-moz-transform:translateX(-100%) translateY(-8px);transform:translateX(-100%) translateY(-8px)}.hint--top-right:after,.hint--top-right:before{bottom:100%;left:50%}.hint--top-right:before{margin-bottom:-11px;left:calc(50% - 6px)}.hint--top-right:after{-webkit-transform:translateX(0);-moz-transform:translateX(0);transform:translateX(0);margin-left:-12px}.hint--top-right:hover:after,.hint--top-right:hover:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--bottom-left:after,.hint--bottom-left:before{top:100%;left:50%}.hint--bottom-left:before{margin-top:-11px;left:calc(50% - 6px)}.hint--bottom-left:after{-webkit-transform:translateX(-100%);-moz-transform:translateX(-100%);transform:translateX(-100%);margin-left:12px}.hint--bottom-left:hover:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--bottom-left:hover:after{-webkit-transform:translateX(-100%) translateY(8px);-moz-transform:translateX(-100%) translateY(8px);transform:translateX(-100%) translateY(8px)}.hint--bottom-right:after,.hint--bottom-right:before{top:100%;left:50%}.hint--bottom-right:before{margin-top:-11px;left:calc(50% - 6px)}.hint--bottom-right:after{-webkit-transform:translateX(0);-moz-transform:translateX(0);transform:translateX(0);margin-left:-12px}.hint--bottom-right:hover:after,.hint--bottom-right:hover:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--large:after,.hint--medium:after,.hint--small:after{white-space:normal;line-height:1.4em;word-wrap:break-word}.hint--small:after{width:80px}.hint--medium:after{width:150px}.hint--large:after{width:300px}.hint--error:after{background-color:#b34e4d;text-shadow:0 -1px 0 #592726}.hint--error.hint--top-left:before,.hint--error.hint--top-right:before,.hint--error.hint--top:before{border-top-color:#b34e4d}.hint--error.hint--bottom-left:before,.hint--error.hint--bottom-right:before,.hint--error.hint--bottom:before{border-bottom-color:#b34e4d}.hint--error.hint--left:before{border-left-color:#b34e4d}.hint--error.hint--right:before{border-right-color:#b34e4d}.hint--warning:after{background-color:#c09854;text-shadow:0 -1px 0 #6c5328}.hint--warning.hint--top-left:before,.hint--warning.hint--top-right:before,.hint--warning.hint--top:before{border-top-color:#c09854}.hint--warning.hint--bottom-left:before,.hint--warning.hint--bottom-right:before,.hint--warning.hint--bottom:before{border-bottom-color:#c09854}.hint--warning.hint--left:before{border-left-color:#c09854}.hint--warning.hint--right:before{border-right-color:#c09854}.hint--info:after{background-color:#3986ac;text-shadow:0 -1px 0 #1a3c4d}.hint--info.hint--top-left:before,.hint--info.hint--top-right:before,.hint--info.hint--top:before{border-top-color:#3986ac}.hint--info.hint--bottom-left:before,.hint--info.hint--bottom-right:before,.hint--info.hint--bottom:before{border-bottom-color:#3986ac}.hint--info.hint--left:before{border-left-color:#3986ac}.hint--info.hint--right:before{border-right-color:#3986ac}.hint--success:after{background-color:#458746;text-shadow:0 -1px 0 #1a321a}.hint--success.hint--top-left:before,.hint--success.hint--top-right:before,.hint--success.hint--top:before{border-top-color:#458746}.hint--success.hint--bottom-left:before,.hint--success.hint--bottom-right:before,.hint--success.hint--bottom:before{border-bottom-color:#458746}.hint--success.hint--left:before{border-left-color:#458746}.hint--success.hint--right:before{border-right-color:#458746}.hint--always:after,.hint--always:before{opacity:1;visibility:visible}.hint--always.hint--top:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--always.hint--top:after{-webkit-transform:translateX(-50%) translateY(-8px);-moz-transform:translateX(-50%) translateY(-8px);transform:translateX(-50%) translateY(-8px)}.hint--always.hint--top-left:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--always.hint--top-left:after{-webkit-transform:translateX(-100%) translateY(-8px);-moz-transform:translateX(-100%) translateY(-8px);transform:translateX(-100%) translateY(-8px)}.hint--always.hint--top-right:after,.hint--always.hint--top-right:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--always.hint--bottom:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--always.hint--bottom:after{-webkit-transform:translateX(-50%) translateY(8px);-moz-transform:translateX(-50%) translateY(8px);transform:translateX(-50%) translateY(8px)}.hint--always.hint--bottom-left:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--always.hint--bottom-left:after{-webkit-transform:translateX(-100%) translateY(8px);-moz-transform:translateX(-100%) translateY(8px);transform:translateX(-100%) translateY(8px)}.hint--always.hint--bottom-right:after,.hint--always.hint--bottom-right:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--always.hint--left:after,.hint--always.hint--left:before{-webkit-transform:translateX(-8px);-moz-transform:translateX(-8px);transform:translateX(-8px)}.hint--always.hint--right:after,.hint--always.hint--right:before{-webkit-transform:translateX(8px);-moz-transform:translateX(8px);transform:translateX(8px)}.hint--rounded:after{border-radius:4px}.hint--no-animate:after,.hint--no-animate:before{-webkit-transition-duration:0s;-moz-transition-duration:0s;transition-duration:0s}.hint--bounce:after,.hint--bounce:before{-webkit-transition:opacity .3s ease,visibility .3s ease,-webkit-transform .3s cubic-bezier(.71,1.7,.77,1.24);-moz-transition:opacity .3s ease,visibility .3s ease,-moz-transform .3s cubic-bezier(.71,1.7,.77,1.24);transition:opacity .3s ease,visibility .3s ease,transform .3s cubic-bezier(.71,1.7,.77,1.24)}.hint--no-shadow:after,.hint--no-shadow:before{text-shadow:initial;box-shadow:initial}.hint--no-arrow:before{display:none}"}},n={};function r(t){var o=n[t];if(void 0!==o)return o.exports;var i=n[t]={exports:{}};return e[t].call(i.exports,i,i.exports,r),i.exports}r.m=e,t=[],r.O=function(e,n,o,i){if(!n){var a=1/0;for(l=0;l<t.length;l++){n=t[l][0],o=t[l][1],i=t[l][2];for(var c=!0,s=0;s<n.length;s++)(!1&i||a>=i)&&Object.keys(r.O).every((function(t){return r.O[t](n[s])}))?n.splice(s--,1):(c=!1,i<a&&(a=i));if(c){t.splice(l--,1);var u=o();void 0!==u&&(e=u)}}return e}i=i||0;for(var l=t.length;l>0&&t[l-1][2]>i;l--)t[l]=t[l-1];t[l]=[n,o,i]},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,{a:e}),e},r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},function(){var t;r.g.importScripts&&(t=r.g.location+"");var e=r.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var n=e.getElementsByTagName("script");n.length&&(t=n[n.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=t}(),function(){var t={392:0};r.O.j=function(e){return 0===t[e]};var e=function(e,n){var o,i,a=n[0],c=n[1],s=n[2],u=0;if(a.some((function(e){return 0!==t[e]}))){for(o in c)r.o(c,o)&&(r.m[o]=c[o]);if(s)var l=s(r)}for(e&&e(n);u<a.length;u++)i=a[u],r.o(t,i)&&t[i]&&t[i][0](),t[a[u]]=0;return r.O(l)},n=self.webpackChunkrealCookieBanner_name_=self.webpackChunkrealCookieBanner_name_||[];n.forEach(e.bind(null,0)),n.push=e.bind(null,n.push.bind(n))}(),r.O(void 0,[568],(function(){return r(6652)}));var o=r.O(void 0,[568],(function(){return r(4773)}));o=r.O(o),realCookieBanner_banner=o}();
|
2 |
//# sourceMappingURL=banner.lite.js.map
|
public/dist/banner.lite.js.map
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"version":3,"file":"banner.lite.js","mappings":"4CAAIA,E,qECAJ,IAAIC,EAA2B,wBAK/B,SAASC,EAAoBC,EAAKC,GAChC,OAAOD,EAAIE,QAAQJ,GAA0B,SAAUK,EAAWC,GAChE,OAAOC,OAAOC,UAAUC,eAAeC,KAAKP,EAAUG,GAAgBH,EAASG,GAAgBD,O,2mBCN5F,IAAIM,EAAgC,mBAChCC,EAAsC,yBACtCC,EAAgC,IAChCC,EAAoB,aAEpBC,EAA4B,mBAC5BC,EAA+B,4BAC/BC,EAAmC,4BACnCC,EAA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ALVtB,EAAW/J,EAAK,GAChBwL,EAAcxL,EAAK,GACnByL,EAAUzL,EAAK,GAGIvY,EAAI,EAC3B,GAAGsiB,EAASrvB,MAAK,SAAS/O,GAAM,OAA+B,IAAxBy/B,EAAgBz/B,MAAe,CACrE,IAAI89B,KAAY+B,EACZhC,EAAoBkB,EAAEc,EAAa/B,KACrCD,EAAoBxzB,EAAEyzB,GAAY+B,EAAY/B,IAGhD,GAAGgC,EAAS,IAAItkC,EAASskC,EAAQjC,GAGlC,IADG+B,GAA4BA,EAA2BvL,GACrDvY,EAAIsiB,EAAS/qC,OAAQyoB,IACzB4jB,EAAUtB,EAAStiB,GAChB+hB,EAAoBkB,EAAEU,EAAiBC,IAAYD,EAAgBC,IACrED,EAAgBC,GAAS,KAE1BD,EAAgBrB,EAAStiB,IAAM,EAEhC,OAAO+hB,EAAoBM,EAAE3iC,IAG1BukC,EAAqBC,KAAyC,mCAAIA,KAAyC,oCAAK,GACpHD,EAAmB39B,QAAQu9B,EAAqBM,KAAK,KAAM,IAC3DF,EAAmB7pC,KAAOypC,EAAqBM,KAAK,KAAMF,EAAmB7pC,KAAK+pC,KAAKF,I,GC/CvFlC,EAAoBM,OAAE7qC,EAAW,CAAC,MAAM,WAAa,OAAOuqC,EAAoB,SAChF,IAAIqC,EAAsBrC,EAAoBM,OAAE7qC,EAAW,CAAC,MAAM,WAAa,OAAOuqC,EAAoB,SAC1GqC,EAAsBrC,EAAoBM,EAAE+B,G","sources":["webpack:///webpack/runtime/chunk loaded","webpack:///../../frontend-packages/headless-content-unblocker/src/dom/applyDynamicsToHtml.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/dom/htmlAttributes.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/dom/putHtmlCodeToDom.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/events/optInContentBlocker.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/utils/dispatchResizeEvent.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/utils/htmlDecode.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/utils/isUrl.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/utils/parents.tsx","webpack:///../../frontend-packages/resolve-none-computed-style/src/matchingSelector.tsx","webpack:///../../wordpress-packages/utils/lib/factory/ajax/commonUrlBuilder.tsx","webpack:///../../wordpress-packages/utils/lib/factory/ajax/nonceDeprecationPool.tsx","webpack:///../../wordpress-packages/utils/lib/factory/ajax/parseResult.tsx","webpack:///../../wordpress-packages/utils/lib/factory/ajax/commonRequest.tsx","webpack:///../../wordpress-packages/utils/lib/factory/ajax/routeHttpVerbEnum.tsx","webpack:///../../wordpress-packages/utils/lib/helpers.tsx","webpack:///./src/public/ts/api/unblock.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/scale.tsx","webpack:///./src/public/ts/utils/hexToRgb.tsx","webpack:///./src/public/ts/utils/calculateOverlay.tsx","webpack:///./src/public/ts/hooks/useBannerButtons.tsx","webpack:///./src/public/ts/components/portal.tsx","webpack:///./src/public/ts/components/closeIcon.tsx","webpack:///./src/public/ts/components/banner/closeIcon.tsx","webpack:///./src/public/ts/components/banner/header.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/header/container.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/header/header.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/header/logo.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/header/headline.tsx","webpack:///./src/public/ts/components/banner/groupSectionTitle.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/groups/title.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/groups/description.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/groups/checkbox.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/groups/linkMore.tsx","webpack:///./src/public/ts/components/banner/cookieProperty.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/groups/cookieProperty.tsx","webpack:///./src/public/ts/components/banner/cookie.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/groups/cookie.tsx","webpack:///./src/public/ts/components/banner/group.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/groups/group.tsx","webpack:///./src/public/ts/components/banner/groups.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/groups/groups.tsx","webpack:///./src/public/ts/components/banner/dottedGroup.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/body/dottedGroupItem.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/body/dottedGroupBullet.tsx","webpack:///./src/public/ts/components/banner/dottedGroups.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/body/dottedGroups.tsx","webpack:///./src/public/ts/components/banner/historySelect.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/body/historySelect.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/body/historySelectOption.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/body/teaching.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/buttons/common.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/buttons/acceptEssentials.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/buttons/acceptIndividual.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/buttons/save.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/buttons/acceptAll.tsx","webpack:///./src/public/ts/components/banner/button.tsx","webpack:///./src/public/ts/utils/isIE.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/buttons/ellipsesText.tsx","webpack:///./src/public/ts/components/banner/buttons.tsx","webpack:///./src/public/ts/components/banner/body.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/banner/leftSide.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/body/description.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/body/teachingSeparator.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/banner/rightSide.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/body/container.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/body/body.tsx","webpack:///./src/public/ts/components/banner/footerLink.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/footer/link.tsx","webpack:///./src/public/ts/components/banner/footer.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/footer/container.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/footer/footer.tsx","webpack:///./src/public/ts/hooks/useBannerRenderedHeightsAsCssVars.tsx","webpack:///./src/public/ts/components/banner/content.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/content/content.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/header/separator.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/footer/separator.tsx","webpack:///./src/public/ts/hooks/useBannerAnimation.tsx","webpack:///./src/public/ts/hooks/useResettableAnimation.tsx","webpack:///./src/public/ts/wp-api/consent.get.tsx","webpack:///./src/public/ts/hooks/useBannerActionLinks.tsx","webpack:///./src/public/ts/components/animateCss.tsx","webpack:///./src/public/ts/others/banner/isHiddenDueLegal.tsx","webpack:///./src/public/ts/components/banner/banner.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/content/inner.tsx","webpack:///./src/public/ts/hooks/useRestrictScrollWhenVisible.tsx","webpack:///./src/public/ts/hooks/useBannerActionType.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/overlay/alignment.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/overlay/overlay.tsx","webpack:///./src/public/ts/others/getDefaultDecision.tsx","webpack:///./src/public/ts/others/banner/preDecisionGateways/supportsCookies.tsx","webpack:///./src/public/ts/others/banner/preDecisionGateways/hasPageClass.tsx","webpack:///./src/public/ts/utils/isCrawler.tsx","webpack:///./src/public/ts/utils/promiseTimeout.tsx","webpack:///./src/public/ts/wp-api/consentDynamicPredecision.get.tsx","webpack:///./src/public/ts/others/banner/preDecisionGateways/dynamicRequest.tsx","webpack:///./src/public/ts/others/banner/preDecisionGateways/isHiddenDueLegal.tsx","webpack:///./src/public/ts/others/banner/preDecisionGateways/isPreventPreDecision.tsx","webpack:///./src/public/ts/others/banner/preDecisionGateways/isCrawler.tsx","webpack:///./src/public/ts/utils/isDoNotTrack.tsx","webpack:///./src/public/ts/others/banner/preDecisionGateways/isDoNotTrack.tsx","webpack:///./src/public/ts/others/banner/preDecisionGateways/userConsent.tsx","webpack:///./src/public/ts/components/websiteBanner.tsx","webpack:///./src/public/ts/hooks/useTcf.tsx","webpack:///./src/public/ts/hooks/useWebsiteBannerOverlay.tsx","webpack:///./src/public/ts/hooks/useBannerActions.tsx","webpack:///./src/public/ts/hooks/useBannerPreDecisionGateway.tsx","webpack:///./src/public/ts/utils/isCustomize.tsx","webpack:///./src/public/ts/utils/waitObject.tsx","webpack:///./src/public/ts/others/comp/listenPresetOptIn.tsx","webpack:///./src/public/ts/api/consentSync.tsx","webpack:///./src/public/ts/api/consent.tsx","webpack:///./src/public/ts/api/consentAll.tsx","webpack:///./src/public/ts/others/printUuidToShortcode.tsx","webpack:///./src/public/ts/banner.tsx","webpack:///./src/public/ts/tcf/cmpApi.tsx","webpack:///./src/public/ts/utils/ensureBodyElement.tsx","webpack:///./src/public/ts/components/asciiSpinner.tsx","webpack:///./src/public/ts/components/banner/devHint.tsx","webpack:///./src/public/ts/components/banner/tooltip.tsx","webpack:///./src/public/ts/components/plainAntdIconAsSvg.tsx","webpack:///./src/public/ts/contexts/bannerContextFactory.tsx","webpack:///./src/public/ts/contexts/blockerContextFactory.tsx","webpack:///./src/public/ts/hooks/usePageIdToPermalinkMapLink.tsx","webpack:///./src/public/ts/hooks/useBannerLegalLinks.tsx","webpack:///./src/public/ts/hooks/usePlainCss.tsx","webpack:///./src/public/ts/wp-api/consent.post.tsx","webpack:///./src/public/ts/others/applyConsentForwarding.tsx","webpack:///./src/public/ts/others/applyConsent.tsx","webpack:///./src/public/ts/others/applyCookies/getSelectedCookies.tsx","webpack:///./src/public/ts/others/applyCookies/getManagerDependingVariables.tsx","webpack:///./src/public/ts/others/applyCookies/applyOptIn.tsx","webpack:///./src/public/ts/others/applyCookies/applyOptInOutManager.tsx","webpack:///./src/public/ts/others/applyCookies/deleteCookiesLocally.tsx","webpack:///./src/public/ts/wp-api/consentClear.delete.tsx","webpack:///./src/public/ts/others/applyCookies/deleteCookiesServer.tsx","webpack:///./src/public/ts/others/applyCookies/applyOptOut.tsx","webpack:///./src/public/ts/others/applyCookies/applyCookies.tsx","webpack:///./src/public/ts/others/banner/expandGroupsServiceVariable.tsx","webpack:///./src/public/ts/others/cookieTypeLocalized.tsx","webpack:///./src/public/ts/others/getSsrPoweredByLink.tsx","webpack:///./src/public/ts/others/getUserDecision.tsx","webpack:///./src/public/ts/utils/getCookie.tsx","webpack:///./src/public/ts/utils/explode.tsx","webpack:///./src/public/ts/types/events/bannerPredecisionShowEvent.tsx","webpack:///./src/public/ts/types/events/optInAllEvent.tsx","webpack:///./src/public/ts/types/events/optInEvent.tsx","webpack:///./src/public/ts/types/events/optOutEvent.tsx","webpack:///./src/public/ts/utils/createRegxpPatternFromWildcardedName.tsx","webpack:///./src/public/ts/utils/pregQuote.tsx","webpack:///./src/public/ts/utils/getOptionsFromWindow.tsx","webpack:///./src/public/ts/utils/getOtherOptionsFromWindow.tsx","webpack:///./src/public/ts/utils/jsxJoin.tsx","webpack:///./src/public/ts/utils/polyfill.tsx","webpack:///./src/public/ts/utils/ready.tsx","webpack:///./src/public/ts/utils/supportsCookies.tsx","webpack:///webpack/bootstrap","webpack:///webpack/runtime/compat get default export","webpack:///webpack/runtime/define property getters","webpack:///webpack/runtime/global","webpack:///webpack/runtime/hasOwnProperty shorthand","webpack:///webpack/runtime/make namespace object","webpack:///webpack/runtime/publicPath","webpack:///webpack/runtime/jsonp chunk loading","webpack:///webpack/startup"],"sourcesContent":["var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","var DYNAMICS_VARIABLE_REGEXP = /{{([A-Za-z0-9_]+)}}/gm;\n/**\n * Takes any string and replaces `{{myVariable}}` with the value of the passed `dynamics` map.\n */\n\nfunction applyDynamicsToHtml(src, dynamics) {\n return src.replace(DYNAMICS_VARIABLE_REGEXP, function (fullMatch, variableName) {\n return Object.prototype.hasOwnProperty.call(dynamics, variableName) ? dynamics[variableName] : fullMatch;\n });\n}\n\nexport { applyDynamicsToHtml, DYNAMICS_VARIABLE_REGEXP };","// Also ported to `view/Blocker.php`\nexport var HTML_ATTRIBUTE_CAPTURE_PREFIX = \"consent-original\";\nexport var HTML_ATTRIBUTE_CAPTURE_CLICK_PREFIX = \"consent-click-original\";\nexport var HTML_ATTRIBUTE_CAPTURE_SUFFIX = \"_\";\nexport var HTML_ATTRIBUTE_BY = \"consent-by\"; // TODO: cookie -> required?\n\nexport var HTML_ATTRIBUTE_COOKIE_IDS = \"consent-required\";\nexport var HTML_ATTRIBUTE_VISUAL_PARENT = \"consent-visual-use-parent\";\nexport var HTML_ATTRIBUTE_VISUAL_PAINT_MODE = \"consent-visual-paint-mode\";\nexport var HTML_ATTRIBUTE_INLINE = \"consent-inline\";\nexport var HTML_ATTRIBUTE_INLINE_STYLE = \"consent-inline-style\";\nexport var HTML_ATTRIBUTE_BLOCKER_ID = \"consent-id\";\nexport var HTML_TAG_CONSENT_SCRIPT = \"script\";\nexport var HTML_ATTRIBUTE_BLOCKER_CONNECTED = \"consent-blocker-connected\";\nexport var HTML_ATTRIBUTE_BLOCKER_CONNECTED_PRESERVED = \"consent-blocker-connected-pres\";\nexport var HTML_ATTRIBUTE_UNBLOCKED_TRANSACTION_COMPLETE = \"consent-transaction-complete\";\nexport var HTML_ATTRIBUTE_TRANSFORM_WRAPPER = \"consent-transform-wrapper\";\nexport var HTML_ATTRIBUTE_TRANSFORM_WRAPPER_VALUE = \"1\";\nexport var HTML_ATTRIBUTE_WAS_PREVIOUSLY_STRICT_HIDDEN = \"consent-strict-hidden\";\nexport var HTML_ATTRIBUTE_RESET_PARENT = \"consent-cb-reset-parent\";\nexport var HTML_ATTRIBUTE_RESET_PARENT_VALUE = \"1\";\nexport var HTML_ATTRIBUTE_RESET_PARENT_IS_RATIO_CONTAINER = \"consent-cb-reset-parent-is-ratio\";\nexport var HTML_ATTRIBUTE_GOT_CLICKED = \"consent-got-clicked\";\nexport var HTML_ATTRIBUTE_GOT_CLICKED_VALUE = \"1\";\nexport var HTML_ATTRIBUTE_GOT_CLICKED_VALUE_DO_NOT_USE_IN_NESTED = \"2\";\nexport var HTML_ATTRIBUTE_THUMBNAIL = \"consent-thumbnail\";\nexport var HTML_ATTRIBUTE_THUMBNAIL_SUGGESTION = \"consent-thumbnail-suggestion\";","import postscribe from \"postscribe\";\nimport { applyDynamicsToHtml } from \".\";\nimport { htmlDecode } from \"../utils\";\n/**\n * We do not modify `window.onload` directly, you need to use this variable name.\n */\n\nvar WINDOW_ONLOAD_UNBLOCK_REPLACEMENT = \"rcbInitiatorOnload\";\n/**\n * Put HTML code to the current DOM. `script` tags gets automatically\n * executed instead of pushing to DOM.\n *\n * @see https://github.com/krux/postscribe\n * @see https://stackoverflow.com/a/49724894/5506547\n */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\nfunction putHtmlCodeToDom(html, dynamics) {\n var referenceNode = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : document.body;\n return new Promise(function (resolve) {\n if (html) {\n postscribe(referenceNode, applyDynamicsToHtml(html, dynamics), {\n done: resolve,\n error: function error(e) {\n // We do ignore all errors as we handle like the usual browser\n // E.g. a script blocked by an ad-blocker should not break the execution\n // for upcoming scripts.\n console.error(e);\n },\n beforeWriteToken: function beforeWriteToken(token) {\n var attrs = token.attrs,\n booleanAttrs = token.booleanAttrs,\n src = token.src,\n href = token.href,\n content = token.content; // Probably skip this token? (do not use `disabled` tag as it should still be written to DOM)\n\n if (booleanAttrs !== null && booleanAttrs !== void 0 && booleanAttrs[\"skip-write\"]) {\n return false;\n } // Allow `window.onload` event\n\n\n if (content) {\n token.content = content.replace(/window\\.onload\\s+=/g, \"window.\".concat(WINDOW_ONLOAD_UNBLOCK_REPLACEMENT, \" =\"));\n } // Automatically unescape html entities in all attributes (https://github.com/krux/postscribe/issues/346#issuecomment-310227387)\n\n\n for (var attr in attrs) {\n attrs[attr] = htmlDecode(attrs[attr]); // Allow to skip complete HTML tag when it already got loaded by unique ID (e.g. Google Tag Manager gtag.js)\n\n if (attr === \"unique-write-name\" && document.querySelector(\"[unique-write-name=\\\"\".concat(attrs[attr], \"\\\"]\"))) {\n return false;\n }\n } // Scripts\n\n\n if (src) {\n token.src = htmlDecode(src);\n } // Styles\n\n\n if (href) {\n token.href = htmlDecode(href);\n }\n\n return token;\n }\n });\n } else {\n resolve();\n }\n });\n}\n\nexport { WINDOW_ONLOAD_UNBLOCK_REPLACEMENT, putHtmlCodeToDom };","/**\n * A content - which was blocked - got unblocked.\n */\nexport var OPT_IN_CONTENT_BLOCKER = \"RCB/OptIn/ContentBlocker\";","/**\n * In some cases, the complete layout can be changed and calculations are based on containers width.\n * Imagine: Google Fonts get added and the navigation bar has a button with a calculated width (e.g. BeTheme).\n * Another example: The instagram feed is not loaded / adjusted (masonry), so we need to trigger a resize\n * event manually\n *\n * @param delay\n */\nfunction dispatchResizeEvent() {\n var delay = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n setTimeout(function () {\n try {\n window.dispatchEvent(new Event(\"resize\"));\n } catch (e) {// You are running in IE, it's a UI bug, we can skip...\n }\n }, delay);\n}\n\nexport { dispatchResizeEvent };","import { isUrl } from \".\";\n/**\n * Decode HTML entities in a given string.\n *\n * @see https://stackoverflow.com/a/34064434/5506547\n */\n\nfunction htmlDecode(input) {\n var inputIsUrl = isUrl(input);\n\n if (inputIsUrl) {\n var _doc$querySelector;\n\n // URLs needs to be handled a bit different as e.g. `?regionid` gets parsed to `'ionid=`\n var doc = new DOMParser().parseFromString(\"<a href=\\\"\".concat(input, \"\\\"></a>\"), \"text/html\");\n return (_doc$querySelector = doc.querySelector(\"a\")) === null || _doc$querySelector === void 0 ? void 0 : _doc$querySelector.href;\n } else {\n // Keep XSS protection intact\n var _doc = new DOMParser().parseFromString(input, \"text/html\");\n\n return _doc.documentElement.textContent;\n }\n}\n\nexport { htmlDecode };","/**\n * Check if a given string is an URL.\n *\n * @see https://www.w3resource.com/javascript-exercises/javascript-regexp-exercise-9.php\n */\nfunction isUrl(url) {\n var pattern = /^(?:(?:https?|ftp):\\/\\/)?(?:(?!(?:10|127)(?:\\.\\d{1,3}){3})(?!(?:169\\.254|192\\.168)(?:\\.\\d{1,3}){2})(?!172\\.(?:1[6-9]|2\\d|3[0-1])(?:\\.\\d{1,3}){2})(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))(?::\\d{2,5})?(?:\\/\\S*)?$/;\n return !!pattern.test(url);\n}\n\nexport { isUrl };","import { matchingSelector } from \"@devowl-wp/resolve-none-computed-style\";\n/**\n * Port of `jQuery.parents()`.\n */\n\nfunction parents(element, selector) {\n var elements = [];\n var elem = element.parentElement;\n\n while (elem !== null) {\n if (elem.nodeType === Node.ELEMENT_NODE && matchingSelector(elem, selector)) {\n elements.push(elem);\n }\n\n elem = elem.parentElement;\n }\n\n return elements;\n}\n\nexport { parents };","function matchingSelector(element, selector) {\n var proto = typeof Element !== \"undefined\" ? Element.prototype : {};\n var nativeFunction = proto.matches || proto.matchesSelector || proto.webkitMatchesSelector || proto.mozMatchesSelector || proto.msMatchesSelector || proto.oMatchesSelector;\n\n if (!element || element.nodeType !== 1 || !element.parentElement) {\n return false;\n }\n\n if (nativeFunction) {\n return nativeFunction.call(element, selector);\n }\n\n var matchingElements = element.parentElement.querySelectorAll(selector);\n\n for (var matchIdx in matchingElements) {\n if (matchingElements[matchIdx] === element) {\n return true;\n }\n }\n\n return false;\n}\n\nexport { matchingSelector };","import Url from \"url-parse\";\nimport { trailingslashit, untrailingslashit } from \"../../helpers\";\nimport { RouteHttpVerb } from \".\";\nimport deepMerge from \"deepmerge\";\n\n/**\n * Build an URL for a specific scheme.\n *\n * @param param0\n */\nfunction commonUrlBuilder(_ref) {\n var location = _ref.location,\n _ref$params = _ref.params,\n params = _ref$params === void 0 ? {} : _ref$params,\n _ref$nonce = _ref.nonce,\n nonce = _ref$nonce === void 0 ? true : _ref$nonce,\n options = _ref.options;\n var apiUrl = new Url(options.restRoot, true);\n var query = apiUrl.query;\n var permalinkPath = query.rest_route || apiUrl.pathname; // Determine path from permalink settings\n // Find dynamic parameters from URL bindings (like /user/:id)\n\n var foundParams = [];\n var path = location.path.replace(/:([A-Za-z0-9-_]+)/g, function (match, group) {\n foundParams.push(group);\n return params[group];\n });\n var getParams = {}; // Find undeclared body params (which are not bind above) and add it to GET query\n\n for (var _i = 0, _Object$keys = Object.keys(params); _i < _Object$keys.length; _i++) {\n var checkParam = _Object$keys[_i];\n\n if (foundParams.indexOf(checkParam) === -1) {\n getParams[checkParam] = params[checkParam]; // We do not need `encodeURIComponent` as it is supported by `url-parse` already\n }\n }\n\n var usePath = trailingslashit(permalinkPath) + untrailingslashit(location.namespace || options.restNamespace) + path; // Force protocol from parent location\n\n var useThisProtocol = new Url(window.location.href).protocol.slice(0, -1);\n apiUrl.set(\"protocol\", useThisProtocol); // Set path depending on permalink settings\n\n if (query.rest_route) {\n query.rest_route = usePath; // eslint-disable-line @typescript-eslint/naming-convention\n } else {\n apiUrl.set(\"pathname\", usePath); // Set path\n } // Append others\n\n\n if (nonce && options.restNonce) {\n query._wpnonce = options.restNonce;\n }\n\n var currentApiUrlString = apiUrl.toString();\n\n if ([\"wp-json/\", \"rest_route=\"].filter(function (s) {\n return currentApiUrlString.indexOf(s) > -1;\n }).length > 0 && location.method && location.method !== RouteHttpVerb.GET) {\n query._method = location.method;\n }\n\n return apiUrl.set(\"query\", deepMerge.all([options.restQuery, getParams, query])).toString();\n}\n\nexport { commonUrlBuilder, Url };","import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nvar pool = {};\nvar recreateFetchPool = {};\n/**\n * A REST nonce in WordPress is only valid for 12 hours (can be configured). However, if it gets\n * invalid, the REST endpoints return a `403` error which signals us, we should recreate the nonce.\n * To avoid multiple recreations, we memorize the newly created nonce in a pool.\n */\n\nfunction nonceDeprecationPool(_x, _x2) {\n return _nonceDeprecationPool.apply(this, arguments);\n}\n\nfunction _nonceDeprecationPool() {\n _nonceDeprecationPool = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(nonce, restRecreateNonceEndpoint) {\n var resultPromise, returnNonce;\n return _regeneratorRuntime.wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n if (!(typeof restRecreateNonceEndpoint !== \"undefined\")) {\n _context2.next = 6;\n break;\n }\n\n resultPromise = // Reuse already sent request\n recreateFetchPool[nonce] || new Promise(\n /*#__PURE__*/\n // eslint-disable-next-line no-async-promise-executor\n function () {\n var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(resolve, reject) {\n var recreateFetch, newNonce;\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n _context.prev = 0;\n _context.next = 3;\n return window.fetch(restRecreateNonceEndpoint);\n\n case 3:\n recreateFetch = _context.sent;\n\n if (!recreateFetch.ok) {\n _context.next = 11;\n break;\n }\n\n _context.next = 7;\n return recreateFetch.text();\n\n case 7:\n newNonce = _context.sent;\n\n if (nonce === newNonce) {\n reject();\n } else {\n pool[nonce] = newNonce;\n resolve(newNonce);\n }\n\n _context.next = 12;\n break;\n\n case 11:\n reject();\n\n case 12:\n _context.next = 17;\n break;\n\n case 14:\n _context.prev = 14;\n _context.t0 = _context[\"catch\"](0);\n reject();\n\n case 17:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, null, [[0, 14]]);\n }));\n\n return function (_x3, _x4) {\n return _ref.apply(this, arguments);\n };\n }());\n recreateFetchPool[nonce] = resultPromise;\n return _context2.abrupt(\"return\", resultPromise);\n\n case 6:\n if (!(typeof nonce === \"undefined\")) {\n _context2.next = 8;\n break;\n }\n\n return _context2.abrupt(\"return\", undefined);\n\n case 8:\n _context2.next = 10;\n return Promise.all(Object.values(recreateFetchPool));\n\n case 10:\n returnNonce = nonce;\n\n case 11:\n if (!pool[returnNonce]) {\n _context2.next = 17;\n break;\n }\n\n returnNonce = pool[returnNonce];\n\n if (!(pool[returnNonce] === nonce)) {\n _context2.next = 15;\n break;\n }\n\n return _context2.abrupt(\"break\", 17);\n\n case 15:\n _context2.next = 11;\n break;\n\n case 17:\n return _context2.abrupt(\"return\", Promise.resolve(returnNonce));\n\n case 18:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2);\n }));\n return _nonceDeprecationPool.apply(this, arguments);\n}\n\nexport { nonceDeprecationPool };","import _createForOfIteratorHelper from \"@babel/runtime/helpers/createForOfIteratorHelper\";\nimport _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { RouteHttpVerb } from \".\";\n/**\n * Get the result of the `Response`. It also handles multiline responses, e. g.\n * a PHP `Notice:` message is output through a conflicting plugin:\n *\n * If you are using a verb like `DELETE` or `PUT` the response may be empty and this\n * function will return `undefined`.\n *\n * @see https://developer.mozilla.org/de/docs/Web/HTTP/Methods/DELETE\n */\n\nfunction parseResult(_x, _x2, _x3) {\n return _parseResult.apply(this, arguments);\n}\n\nfunction _parseResult() {\n _parseResult = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(url, result, method) {\n var cloneForFallback, body, lastError, _iterator, _step, line;\n\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n cloneForFallback = result.clone();\n _context.prev = 1;\n _context.next = 4;\n return result.json();\n\n case 4:\n return _context.abrupt(\"return\", _context.sent);\n\n case 7:\n _context.prev = 7;\n _context.t0 = _context[\"catch\"](1);\n _context.next = 11;\n return cloneForFallback.text();\n\n case 11:\n body = _context.sent;\n\n if (!(body === \"\" && [RouteHttpVerb.DELETE, RouteHttpVerb.PUT].indexOf(method) > -1)) {\n _context.next = 14;\n break;\n }\n\n return _context.abrupt(\"return\", undefined);\n\n case 14:\n console.warn(\"The response of \".concat(url, \" contains unexpected JSON, try to resolve the JSON line by line...\"), {\n body: body\n });\n _iterator = _createForOfIteratorHelper(body.split(\"\\n\"));\n _context.prev = 16;\n\n _iterator.s();\n\n case 18:\n if ((_step = _iterator.n()).done) {\n _context.next = 30;\n break;\n }\n\n line = _step.value;\n\n if (!(line.startsWith(\"[\") || line.startsWith(\"{\"))) {\n _context.next = 28;\n break;\n }\n\n _context.prev = 21;\n return _context.abrupt(\"return\", JSON.parse(line));\n\n case 25:\n _context.prev = 25;\n _context.t1 = _context[\"catch\"](21);\n lastError = _context.t1;\n\n case 28:\n _context.next = 18;\n break;\n\n case 30:\n _context.next = 35;\n break;\n\n case 32:\n _context.prev = 32;\n _context.t2 = _context[\"catch\"](16);\n\n _iterator.e(_context.t2);\n\n case 35:\n _context.prev = 35;\n\n _iterator.f();\n\n return _context.finish(35);\n\n case 38:\n throw lastError;\n\n case 39:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, null, [[1, 7], [16, 32, 35, 38], [21, 25]]);\n }));\n return _parseResult.apply(this, arguments);\n}\n\nexport { parseResult };","import _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { commonUrlBuilder, RouteHttpVerb } from \"./\";\nimport deepMerge from \"deepmerge\";\nimport Url from \"url-parse\";\nimport { parseResult, nonceDeprecationPool } from \".\";\nimport jsonFormData from \"json-form-data\";\nvar CONTENT_TYPE_JSON = \"application/json;charset=utf-8\"; // Fix: Return type of exported function has or is using name 'FormatOptions'\n// from external module \"/home/mg/vscode-workspace/devowl-wp/node_modules/@types/json-form-data/index\" but cannot be named.\n// type MultiPartOptions = Parameters<typeof jsonFormData>[1];\n\n/**\n * Build and execute a specific REST query.\n *\n * @see urlBuilder\n * @returns Result of REST API\n * @throws\n */\nfunction commonRequest(_x) {\n return _commonRequest.apply(this, arguments);\n}\n\nfunction _commonRequest() {\n _commonRequest = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(_ref) {\n var location, options, routeRequest, params, _ref$settings, settings, _ref$multipart, multipart, _ref$sendRestNonce, sendRestNonce, url, apiUrl, allowBody, body, restNonce, hasRestNonce, init, apiUrlBuilt, result, responseJSON, replay, restRecreateNonceEndpoint, resultAny;\n\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n location = _ref.location, options = _ref.options, routeRequest = _ref.request, params = _ref.params, _ref$settings = _ref.settings, settings = _ref$settings === void 0 ? {} : _ref$settings, _ref$multipart = _ref.multipart, multipart = _ref$multipart === void 0 ? false : _ref$multipart, _ref$sendRestNonce = _ref.sendRestNonce, sendRestNonce = _ref$sendRestNonce === void 0 ? true : _ref$sendRestNonce;\n url = commonUrlBuilder({\n location: location,\n params: params,\n nonce: false,\n options: options\n }); // Use global parameter (see https://developer.wordpress.org/rest-api/using-the-rest-api/global-parameters/)\n\n if ([\"wp-json/\", \"rest_route=\"].filter(function (s) {\n return url.indexOf(s) > -1;\n }).length > 0 && location.method && location.method !== RouteHttpVerb.GET) {\n settings.method = RouteHttpVerb.POST;\n } else {\n settings.method = location.method || RouteHttpVerb.GET;\n } // Request with GET/HEAD method cannot have body\n\n\n apiUrl = new Url(url, true);\n allowBody = [\"HEAD\", \"GET\"].indexOf(settings.method) === -1;\n\n if (!allowBody && routeRequest) {\n apiUrl.set(\"query\", deepMerge(apiUrl.query, routeRequest));\n } // Determine body\n\n\n if (allowBody) {\n if (multipart) {\n // Let's create a multipart request...\n body = jsonFormData(routeRequest, typeof multipart === \"boolean\" ? {} : multipart);\n } else {\n // It is a usual JSON request, we do not need to send a multipart request\n body = JSON.stringify(routeRequest);\n }\n } // Do the request\n\n\n _context.next = 9;\n return nonceDeprecationPool(options.restNonce);\n\n case 9:\n restNonce = _context.sent;\n hasRestNonce = typeof restNonce !== \"undefined\";\n init = deepMerge.all([settings, {\n headers: _objectSpread(_objectSpread(_objectSpread({}, typeof body === \"string\" ? {\n \"Content-Type\": CONTENT_TYPE_JSON\n } : {}), hasRestNonce && sendRestNonce ? {\n \"X-WP-Nonce\": restNonce\n } : {}), {}, {\n Accept: \"application/json, */*;q=0.1\"\n })\n }]);\n init.body = body; // Do not make body merge-able\n\n apiUrlBuilt = apiUrl.toString();\n _context.next = 16;\n return window.fetch(apiUrlBuilt, init);\n\n case 16:\n result = _context.sent;\n\n if (result.ok) {\n _context.next = 47;\n break;\n }\n\n responseJSON = undefined;\n replay = false;\n _context.prev = 20;\n _context.next = 23;\n return parseResult(apiUrlBuilt, result, location.method);\n\n case 23:\n responseJSON = _context.sent;\n\n // wordpress.com private site compatibility\n\n /* istanbul ignore if */\n if (responseJSON.code === \"private_site\" && result.status === 403 && hasRestNonce && !sendRestNonce) {\n replay = true;\n } // Refresh nonce automatically\n\n /* istanbul ignore if */\n\n\n if (!(responseJSON.code === \"rest_cookie_invalid_nonce\" && hasRestNonce)) {\n _context.next = 35;\n break;\n }\n\n restRecreateNonceEndpoint = options.restRecreateNonceEndpoint;\n _context.prev = 27;\n _context.next = 30;\n return nonceDeprecationPool(restNonce, restRecreateNonceEndpoint);\n\n case 30:\n replay = true;\n _context.next = 35;\n break;\n\n case 33:\n _context.prev = 33;\n _context.t0 = _context[\"catch\"](27);\n\n case 35:\n _context.next = 39;\n break;\n\n case 37:\n _context.prev = 37;\n _context.t1 = _context[\"catch\"](20);\n\n case 39:\n if (!replay) {\n _context.next = 43;\n break;\n }\n\n _context.next = 42;\n return commonRequest({\n location: location,\n options: options,\n multipart: multipart,\n params: params,\n request: routeRequest,\n sendRestNonce: true,\n settings: settings\n });\n\n case 42:\n return _context.abrupt(\"return\", _context.sent);\n\n case 43:\n // Set this request as failing so the endpoint is probably corrupt (see `corruptRestApi.tsx`)\n settings.method === RouteHttpVerb.GET && (window.detectCorruptRestApiFailed = (window.detectCorruptRestApiFailed || 0) + 1);\n resultAny = result;\n resultAny.responseJSON = responseJSON;\n throw resultAny;\n\n case 47:\n return _context.abrupt(\"return\", parseResult(apiUrlBuilt, result, location.method));\n\n case 48:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, null, [[20, 37], [27, 33]]);\n }));\n return _commonRequest.apply(this, arguments);\n}\n\nexport { commonRequest };","var RouteHttpVerb;\n\n(function (RouteHttpVerb) {\n RouteHttpVerb[\"GET\"] = \"GET\";\n RouteHttpVerb[\"POST\"] = \"POST\";\n RouteHttpVerb[\"PUT\"] = \"PUT\";\n RouteHttpVerb[\"DELETE\"] = \"DELETE\";\n RouteHttpVerb[\"PATCH\"] = \"PATCH\";\n})(RouteHttpVerb || (RouteHttpVerb = {}));\n\nexport { RouteHttpVerb };","var untrailingslashit = function untrailingslashit(str) {\n return str.endsWith(\"/\") || str.endsWith(\"\\\\\") ? untrailingslashit(str.slice(0, -1)) : str;\n};\n\nvar trailingslashit = function trailingslashit(str) {\n return \"\".concat(untrailingslashit(str), \"/\");\n}; // Allows to make an interface extension and make some properties optional (https://git.io/JeK6J)\n\n\n/**\n * You need to manually put the following code snippet in each of your entry points to enable\n * \"on the fly\" public path for chunks:\n *\n * ```\n * __webpack_public_path__ = getWebpackPublicPath(process.env);\n * ```\n *\n * @see https://webpack.js.org/guides/public-path/#on-the-fly\n */\nvar getWebpackPublicPath = function getWebpackPublicPath(env) {\n var options = window[env.slug.replace(/-([a-z])/g, function (g) {\n return g[1].toUpperCase();\n })];\n return \"\".concat(options.publicUrl).concat(options.chunkFolder, \"/\");\n};\n\nexport { untrailingslashit, trailingslashit, getWebpackPublicPath };","import _createForOfIteratorHelper from \"@babel/runtime/helpers/createForOfIteratorHelper\";\nimport { getOtherOptionsFromWindow, createRegxpPatternFromWildcardedName } from \"../utils\";\nimport { HTML_ATTRIBUTE_COOKIE_IDS, HTML_ATTRIBUTE_BLOCKER_ID, HTML_ATTRIBUTE_BY, OPT_IN_CONTENT_BLOCKER } from \"@devowl-wp/headless-content-unblocker\";\n/**\n * `window.consentApi.unblock`: Check if a given URL / string is blocked by a Content Blocker:\n *\n * - When a Content Blocker exists, the Promise is only resolved after given consent\n * - When no Content Blocker exists, the Promise is immediate resolved\n *\n * Example (ES5):\n * ```js\n * (window.consentApi && window.consentApi.unblock(\"player.vimeo.com\") || Promise.resolve()).then(function() {\n * console.log(\"Consent for Vimeo given, unlock content...!\");\n * });\n * ```\n *\n * Example (ES6, Babel, TS):\n * ```js\n * (window.consentApi?.unblock(\"player.vimeo.com\") || Promise.resolve()).then(() => {\n * console.log(\"Consent for Vimeo given, unlock content...!\");\n * });\n * ```\n *\n * @param url\n * @param ref Create a visual content blocker to a given HTML element\n */\n\nfunction unblock(url) {\n var ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : document.createElement(\"div\");\n return new Promise(function (resolve) {\n // Find matching blocker\n var found;\n\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n blocker = _getOtherOptionsFromW.blocker;\n\n var isPseudoRef = !ref.parentElement;\n\n var _iterator = _createForOfIteratorHelper(blocker),\n _step;\n\n try {\n loop1: for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var row = _step.value;\n var hosts = row.hosts; // Check if host matches\n\n var _iterator2 = _createForOfIteratorHelper(hosts),\n _step2;\n\n try {\n for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {\n var host = _step2.value;\n var regexp = createRegxpPatternFromWildcardedName(host);\n\n if (url.match(regexp)) {\n found = row;\n break loop1;\n }\n }\n } catch (err) {\n _iterator2.e(err);\n } finally {\n _iterator2.f();\n }\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n\n if (found) {\n // Add attributes to DOM element so it can be consumed by `manipulateDom`\n ref.setAttribute(HTML_ATTRIBUTE_BY, \"cookies\");\n ref.setAttribute(HTML_ATTRIBUTE_COOKIE_IDS, found.cookies.join(\",\"));\n ref.setAttribute(HTML_ATTRIBUTE_BLOCKER_ID, found.id.toString());\n ref.addEventListener(OPT_IN_CONTENT_BLOCKER, function () {\n isPseudoRef && ref.remove();\n resolve();\n }); // Append blocking element to HTML DOM if not already exists\n\n if (isPseudoRef) {\n document.body.appendChild(ref);\n }\n } else {\n resolve();\n }\n });\n}\n\nexport { unblock };","var BANNER_SCALING_WHEN_WINDOW_WIDTH_LOWER = 700;\n\nvar calculateNewVal = function calculateNewVal(val, scalePercent) {\n var newVal = val;\n newVal = val / 100 * scalePercent;\n newVal = newVal < 1 ? 1 : newVal;\n return newVal;\n};\n/**\n * Calculate the new value for an inline style value and respect the scaling options.\n */\n\n\nfunction bannerInlineStylesScale(_ref, useWidthOfThisContainerId, original, replaceWith) {\n var enabled = _ref.enabled,\n scalePercent = _ref.scalePercent,\n scalePercentVertical = _ref.scalePercentVertical;\n var additionalVerticalScaling = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;\n\n if (process.env.PLUGIN_CTX === \"pro\") {\n /* Silence is golden... Until you have PRO Version! */\n }\n\n return original;\n}\n\nexport { BANNER_SCALING_WHEN_WINDOW_WIDTH_LOWER, bannerInlineStylesScale };","/**\n * @see https://stackoverflow.com/a/5624139/5506547\n * @param hex\n */\nfunction hexToRgb(hex) {\n var result = /^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.exec(hex);\n return result ? {\n r: parseInt(result[1], 16),\n g: parseInt(result[2], 16),\n b: parseInt(result[3], 16)\n } : null;\n}\n\nexport { hexToRgb };","import { hexToRgb } from \".\";\n\n/**\n * @param hex\n * @param alpha 0 - 100\n */\nfunction calculateOverlay(hex, alpha) {\n var _hexToRgb = hexToRgb(hex),\n r = _hexToRgb.r,\n g = _hexToRgb.g,\n b = _hexToRgb.b;\n\n return \"rgba(\".concat(r, \", \").concat(g, \", \").concat(b, \", \").concat(alpha / 100, \")\");\n}\n\nexport { calculateOverlay };","import _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport _createForOfIteratorHelper from \"@babel/runtime/helpers/createForOfIteratorHelper\";\nimport { useCallback } from \"react\";\nimport { useBanner } from \"../contexts\";\n/**\n * Provide callbacks for all the available button types in our cookie banner:\n *\n * - Accept all\n * - Continue without consent (accept essentials)\n * - Save custom choices (no changes to the current selected groups and services)\n * - Change individual privacy preferences\n */\n\nfunction useBannerButtons() {\n var _useBanner = useBanner(),\n individualPrivacyOpen = _useBanner.individualPrivacyOpen,\n onSave = _useBanner.onSave,\n updateGroupChecked = _useBanner.updateGroupChecked,\n updateCookieChecked = _useBanner.updateCookieChecked,\n groups = _useBanner.groups,\n essentialGroup = _useBanner.essentialGroup,\n updateIndividualPrivacyOpen = _useBanner.updateIndividualPrivacyOpen,\n activeAction = _useBanner.activeAction,\n onClose = _useBanner.onClose;\n\n var buttonClickedAll = individualPrivacyOpen ? \"ind_all\" : \"main_all\";\n var buttonClickedEssentials = individualPrivacyOpen ? \"ind_essential\" : \"main_essential\";\n var buttonClickedCloseIcon = individualPrivacyOpen ? \"ind_close_icon\" : \"main_close_icon\";\n var buttonClickedCustom = individualPrivacyOpen ? \"ind_custom\" : \"main_custom\";\n var result = {\n buttonClickedAll: buttonClickedAll,\n buttonClickedEssentials: buttonClickedEssentials,\n buttonClickedCloseIcon: buttonClickedCloseIcon,\n buttonClickedCustom: buttonClickedCustom,\n acceptAll: useCallback(function () {\n groups.forEach(function (g) {\n return updateGroupChecked(g.id, true);\n });\n onSave(false, buttonClickedAll);\n }, [buttonClickedAll]),\n\n /**\n * This includes the complete \"Essential\" group + legal basis = legitimate interests.\n */\n acceptEssentials: useCallback(function () {\n var isCloseIcon = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n groups.forEach(function (_ref) {\n var slug = _ref.slug,\n id = _ref.id,\n items = _ref.items;\n\n if (slug === essentialGroup) {\n updateGroupChecked(id, true);\n } else {\n var _iterator = _createForOfIteratorHelper(items),\n _step;\n\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var _step$value = _step.value,\n legalBasis = _step$value.legalBasis,\n cookieId = _step$value.id;\n updateCookieChecked(id, cookieId, legalBasis === \"legitimate-interest\");\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n }\n });\n onSave(false, isCloseIcon ? buttonClickedCloseIcon : buttonClickedEssentials);\n }, [buttonClickedEssentials]),\n acceptIndividual: useCallback(function () {\n return onSave(false, buttonClickedCustom);\n }, [buttonClickedCustom]),\n openIndividualPrivacy: useCallback(function () {\n updateIndividualPrivacyOpen(true);\n }, [updateIndividualPrivacyOpen])\n };\n return _objectSpread(_objectSpread({}, result), {}, {\n closeIcon: useCallback(function () {\n if (!activeAction) {\n // If we do not have yet a consent and it shows the banner for the first time,\n // the close icon is equivalent to \"Continue without consent\"\n result.acceptEssentials(true);\n } else {\n onClose();\n }\n }, [activeAction, onClose, result.acceptEssentials])\n });\n}\n\nexport { useBannerButtons };","import _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { useState, useEffect } from \"react\";\nimport { createPortal } from \"react-dom\";\n/**\n * Portals provide a first-class way to render children into a DOM node that exists outside the DOM hierarchy of the parent component.\n *\n * @see https://reactjs.org/docs/portals.html\n */\n\nvar Portal = function Portal(_ref) {\n var children = _ref.children,\n className = _ref.className,\n _ref$tag = _ref.tag,\n tag = _ref$tag === void 0 ? \"div\" : _ref$tag,\n renderInContainer = _ref.renderInContainer;\n\n var _useState = useState(function () {\n var el = document.createElement(tag);\n className && el.classList.add(className);\n return el;\n }),\n _useState2 = _slicedToArray(_useState, 1),\n renderIn = _useState2[0]; // Append container to `body`\n\n\n useEffect(function () {\n document.body.appendChild(renderIn);\n return function () {\n document.body.removeChild(renderIn);\n };\n }, []);\n return /*#__PURE__*/createPortal(children, renderInContainer || renderIn);\n};\n\nexport { Portal };","import { useMemo, useRef, Fragment } from \"react\";\nimport { usePlainCss } from \"../hooks\";\nimport { useRect } from \"@reach/rect\";\nimport { Portal, BannerTooltip } from \".\";\nvar counter = 0;\n/**\n * A portaled close icon creates a close icon rendered to a given container. This allows\n * you to put the close icon on the top right corner of an `overflow:hidden` container and\n * the tooltip gets rendered correctly.\n */\n\nvar CloseIcon = function CloseIcon(_ref) {\n var width = _ref.width,\n color = _ref.color,\n tooltipText = _ref.tooltipText,\n framed = _ref.framed,\n renderInContainer = _ref.renderInContainer,\n tooltipAlways = _ref.tooltipAlways,\n onClick = _ref.onClick,\n _ref$thickness = _ref.thickness,\n thickness = _ref$thickness === void 0 ? 1 : _ref$thickness;\n var idCloseIconNotPortaled = useMemo(function () {\n return \"react-close-icon-\".concat((counter++).toString(36));\n }, []);\n var idCloseIconPortaled = useMemo(function () {\n return \"react-close-icon-\".concat((counter++).toString(36));\n }, []);\n /**\n * Why two containers for a simple close icon? I need to explain something technical here.\n * Our complete banner/dialog is tainted with `overflow:hidden` due to flickering effects\n * with animate.css etc. We will now create an invisible element with the placeholder,\n * we will then read its positioning (rect) and generate the visible close icon based on this position.\n */\n\n var idCloseIconPlaceholder = useMemo(function () {\n return \"react-close-icon-\".concat((counter++).toString(36));\n }, []);\n var ref = useRef();\n var rect = useRect(ref);\n usePlainCss(\"#\".concat(idCloseIconPlaceholder, \", #\").concat(idCloseIconNotPortaled, \" {\\n position: absolute;\\n top: 50%;\\n right: 0;\\n margin-top: calc(\").concat(width, \"px / 2 * -1);\\n display: block;\\n width: \").concat(width, \"px;\\n height: \").concat(width, \"px; \\n pointer-events: none;\\n}\\n\\n#\").concat(idCloseIconNotPortaled, \" {\\n position: absolute !important;\\n}\\n\\n#\").concat(idCloseIconNotPortaled, \", #\").concat(idCloseIconPortaled, \" {\\n cursor: pointer;\\n pointer-events: all;\\n \").concat(framed ? \"outline: rgb(255, 94, 94) solid 5px;\" : \"\", \"\\n}\\n\\n#\").concat(idCloseIconPortaled, \" {\\n position: fixed !important;\\n \").concat(rect ? \"top: \".concat(rect.y, \"px;left: \").concat(rect.x, \"px;display:block;\") : \"display:none;\", \"\\n width: \").concat(width, \"px;\\n height: \").concat(width, \"px;\\n z-index: 99;\\n}\\n#\").concat(idCloseIconPortaled, \":after, #\").concat(idCloseIconNotPortaled, \":after {\\n width: auto !important;\\n white-space: nowrap !important;\\n}\\n#\").concat(idCloseIconPortaled, \">span:before, #\").concat(idCloseIconPortaled, \">span:after,\\n#\").concat(idCloseIconNotPortaled, \">span:before, #\").concat(idCloseIconNotPortaled, \">span:after {\\n position: absolute;\\n top: 50%;\\n left: 50%;\\n width: \").concat(thickness, \"px;\\n height: \").concat(width, \"px;\\n background-color: \").concat(color, \";\\n transform: rotate(45deg) translate(-50%, -50%);\\n transform-origin: top left;\\n transition: all 420ms;\\n content: '';\\n opacity: 0.5;\\n pointer-events: none;\\n}\\n#\").concat(idCloseIconPortaled, \">span:after,\\n#\").concat(idCloseIconNotPortaled, \">span:after {\\n transform: rotate(-45deg) translate(-50%, -50%);\\n}\\n#\").concat(idCloseIconPortaled, \">span:hover:before, #\").concat(idCloseIconPortaled, \">span:hover:after,\\n#\").concat(idCloseIconNotPortaled, \">span:hover:before, #\").concat(idCloseIconNotPortaled, \">span:hover:after {\\n opacity: 1;\\n width: \").concat(thickness + 1, \"px;\\n}\"));\n return renderInContainer ? h(Fragment, null, h(\"div\", {\n id: idCloseIconPlaceholder,\n ref: ref\n }), (rect === null || rect === void 0 ? void 0 : rect.y) > 0 && h(Portal, {\n renderInContainer: renderInContainer\n }, h(BannerTooltip, {\n title: tooltipText,\n id: idCloseIconPortaled,\n onClick: onClick,\n position: rect.y > 50 ? \"top-left\" : \"left\",\n always: tooltipAlways\n }, h(\"span\", null)))) : h(BannerTooltip, {\n title: tooltipText,\n id: idCloseIconNotPortaled,\n onClick: onClick,\n position: \"top-left\",\n always: tooltipAlways\n }, h(\"span\", null));\n};\n\nexport { CloseIcon };","import { useBannerButtons } from \"../../hooks\";\nimport { useBanner } from \"../../contexts\";\nimport { bannerInlineStylesScale, BANNER_SCALING_WHEN_WINDOW_WIDTH_LOWER } from \"./inlineStyles\";\nimport { getOtherOptionsFromWindow } from \"../../utils\";\nimport { CloseIcon } from \"..\";\n\nvar BannerCloseIcon = function BannerCloseIcon() {\n var _useBanner = useBanner(),\n _useBanner$headerDesi = _useBanner.headerDesign,\n fontSize = _useBanner$headerDesi.fontSize,\n fontColor = _useBanner$headerDesi.fontColor,\n acceptEssentials = _useBanner.texts.acceptEssentials,\n mobile = _useBanner.mobile,\n activeAction = _useBanner.activeAction,\n pageRequestUuid4 = _useBanner.pageRequestUuid4,\n _useBanner$buttonClic = _useBanner.buttonClicked,\n buttonClicked = _useBanner$buttonClic === void 0 ? \"\" : _useBanner$buttonClic;\n\n var _useBannerButtons = useBannerButtons(),\n buttonClickedCloseIcon = _useBannerButtons.buttonClickedCloseIcon,\n closeIcon = _useBannerButtons.closeIcon;\n\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n _getOtherOptionsFromW2 = _getOtherOptionsFromW.bannerI18n,\n close = _getOtherOptionsFromW2.close,\n closeWithoutSaving = _getOtherOptionsFromW2.closeWithoutSaving;\n\n var container = document.getElementById(pageRequestUuid4);\n return h(CloseIcon, {\n width: bannerInlineStylesScale(mobile, pageRequestUuid4, fontSize),\n color: fontColor,\n tooltipText: activeAction ? activeAction === \"change\" ? closeWithoutSaving : close : acceptEssentials,\n tooltipAlways: (container === null || container === void 0 ? void 0 : container.clientWidth) < BANNER_SCALING_WHEN_WINDOW_WIDTH_LOWER,\n framed: buttonClicked === buttonClickedCloseIcon,\n renderInContainer: container,\n onClick: closeIcon\n });\n};\n\nexport { BannerCloseIcon };","import _extends from \"@babel/runtime/helpers/extends\";\nimport { forwardRef } from \"react\";\nimport { bannerHeaderInlineStyleContainer, bannerHeaderInlineStyle, bannerHeaderInlineStyleLogo, bannerHeaderInlineStyleHeadline, BannerCloseIcon } from \".\";\nimport { useBanner } from \"../../contexts\";\nimport { getOtherOptionsFromWindow } from \"../../utils\"; // eslint-disable-next-line react/display-name\n\nvar BannerHeader = /*#__PURE__*/forwardRef(function (_, ref) {\n var banner = useBanner();\n var _banner$headerDesign = banner.headerDesign,\n logo = _banner$headerDesign.logo,\n logoRetina = _banner$headerDesign.logoRetina,\n showCloseIcon = banner.decision.showCloseIcon,\n headline = banner.texts.headline,\n activeAction = banner.activeAction,\n individualPrivacyOpen = banner.individualPrivacyOpen,\n individualTexts = banner.individualTexts;\n\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n headerTitlePrivacyPolicyHistory = _getOtherOptionsFromW.bannerI18n.headerTitlePrivacyPolicyHistory; // Calculate logo\n\n\n var useRetina = logoRetina && !(logo !== null && logo !== void 0 && logo.endsWith(\".svg\")) && window.devicePixelRatio > 1;\n var useLogo = useRetina ? logoRetina : logo; // Calculate headline\n\n var useHeadline = individualPrivacyOpen ? activeAction === \"history\" ? headerTitlePrivacyPolicyHistory : individualTexts.headline : headline;\n return h(\"div\", _extends({\n ref: ref\n }, bannerHeaderInlineStyleContainer(banner)), h(\"div\", bannerHeaderInlineStyle(banner), !!useLogo && h(\"img\", _extends({\n alt: \"\",\n src: useLogo\n }, bannerHeaderInlineStyleLogo(banner, useRetina))), !!useHeadline && h(\"div\", bannerHeaderInlineStyleHeadline(banner), useHeadline), (!!showCloseIcon || !!activeAction) && h(BannerCloseIcon, null)));\n});\nexport { BannerHeader };","import _objectWithoutProperties from \"@babel/runtime/helpers/objectWithoutProperties\";\nimport { bannerInlineStylesScale } from \"..\";\n\nfunction bannerHeaderInlineStyleContainer(_ref) {\n var _ref$layout = _ref.layout,\n type = _ref$layout.type,\n dialogBorderRadius = _ref$layout.dialogBorderRadius,\n _ref$design = _ref.design,\n borderWidth = _ref$design.borderWidth,\n borderColor = _ref$design.borderColor,\n restDesign = _objectWithoutProperties(_ref$design, [\"borderWidth\", \"borderColor\"]),\n _ref$headerDesign = _ref.headerDesign,\n inheritBg = _ref$headerDesign.inheritBg,\n bg = _ref$headerDesign.bg,\n padding = _ref$headerDesign.padding,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n\n var useType = bannerInlineStylesScale(mobile, pageRequestUuid4, type, \"banner\");\n var useBorderWidth = bannerInlineStylesScale(mobile, pageRequestUuid4, borderWidth);\n var style = {\n padding: bannerInlineStylesScale(mobile, pageRequestUuid4, padding, undefined, true).map(function (p) {\n return \"\".concat(p, \"px\");\n }).join(\" \"),\n background: inheritBg ? restDesign.bg : bg,\n borderRadius: useType === \"dialog\" ? \"\".concat(dialogBorderRadius, \"px \").concat(dialogBorderRadius, \"px 0 0\") : undefined,\n position: \"sticky\",\n zIndex: 9,\n top: 0\n };\n\n if (useType === \"dialog\" && useBorderWidth > 0) {\n style.borderTop = \"\".concat(useBorderWidth, \"px solid \").concat(borderColor);\n style.borderLeft = style.borderTop;\n style.borderRight = style.borderTop;\n }\n\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-header-container\",\n style: style\n };\n}\n\nexport { bannerHeaderInlineStyleContainer };","import _objectWithoutProperties from \"@babel/runtime/helpers/objectWithoutProperties\";\nimport { bannerInlineStylesScale } from \"..\";\n\nfunction bannerHeaderInlineStyle(_ref) {\n var _ref$layout = _ref.layout,\n type = _ref$layout.type,\n bannerMaxWidth = _ref$layout.bannerMaxWidth,\n textAlign = _ref.design.textAlign,\n _ref$headerDesign = _ref.headerDesign,\n inheritTextAlign = _ref$headerDesign.inheritTextAlign,\n logo = _ref$headerDesign.logo,\n logoPosition = _ref$headerDesign.logoPosition,\n restHeaderDesign = _objectWithoutProperties(_ref$headerDesign, [\"inheritTextAlign\", \"logo\", \"logoPosition\"]),\n headline = _ref.texts.headline,\n individualLayout = _ref.individualLayout,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4,\n individualPrivacyOpen = _ref.individualPrivacyOpen;\n\n var useTextAlign = inheritTextAlign ? textAlign : restHeaderDesign.textAlign;\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-header\",\n style: {\n transition: \"width 500ms, max-width 500ms\",\n maxWidth: bannerInlineStylesScale(mobile, pageRequestUuid4, type, \"banner\") === \"banner\" ? +(individualPrivacyOpen && !individualLayout.inheritBannerMaxWidth ? individualLayout.bannerMaxWidth : bannerMaxWidth) : undefined,\n margin: \"auto\",\n display: \"flex\",\n justifyContent: useTextAlign === \"center\" ? \"center\" : useTextAlign === \"right\" ? \"flex-end\" : undefined,\n textAlign: useTextAlign,\n alignItems: \"center\",\n position: \"relative\",\n flexDirection: logo && headline ? logoPosition === \"left\" ? \"row\" : logoPosition === \"right\" ? \"row-reverse\" : \"column\" : undefined\n }\n };\n}\n\nexport { bannerHeaderInlineStyle };","import _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport { bannerInlineStylesScale } from \"..\";\n\nfunction bannerHeaderInlineStyleLogo(_ref, isRetina) {\n var _ref$headerDesign = _ref.headerDesign,\n logoMaxHeight = _ref$headerDesign.logoMaxHeight,\n logoMargin = _ref$headerDesign.logoMargin,\n logoFitDim = _ref$headerDesign.logoFitDim,\n logoRetinaFitDim = _ref$headerDesign.logoRetinaFitDim,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n var useFitDim = isRetina ? logoRetinaFitDim : logoFitDim;\n var dimStyle = useFitDim ? {\n width: useFitDim[0],\n height: useFitDim[1]\n } : {\n width: \"auto\",\n height: bannerInlineStylesScale(mobile, pageRequestUuid4, +logoMaxHeight)\n };\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-logo\",\n style: _objectSpread(_objectSpread({}, dimStyle), {}, {\n margin: bannerInlineStylesScale(mobile, pageRequestUuid4, logoMargin).map(function (m) {\n return \"\".concat(m, \"px\");\n }).join(\" \") //[logoPosition === \"left\" ? \"marginRight\" : \"marginLeft\"]: logoPosition === \"above\" ? undefined : 15,\n //marginBottom: logoPosition === \"above\" ? 5 : undefined\n\n })\n };\n}\n\nexport { bannerHeaderInlineStyleLogo };","import { bannerInlineStylesScale } from \"..\";\n\nfunction bannerHeaderInlineStyleHeadline(_ref) {\n var _ref$headerDesign = _ref.headerDesign,\n fontSize = _ref$headerDesign.fontSize,\n fontColor = _ref$headerDesign.fontColor,\n fontInheritFamily = _ref$headerDesign.fontInheritFamily,\n fontFamily = _ref$headerDesign.fontFamily,\n fontWeight = _ref$headerDesign.fontWeight,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-headline\",\n style: {\n color: fontColor,\n fontSize: bannerInlineStylesScale(mobile, pageRequestUuid4, +fontSize),\n fontFamily: fontInheritFamily ? undefined : fontFamily,\n fontWeight: fontWeight\n }\n };\n}\n\nexport { bannerHeaderInlineStyleHeadline };","import { useBanner } from \"../../contexts\";\nimport { bannerGroupsInlineStyleDescription, bannerGroupsInlineStyleTitle } from \"./inlineStyles\";\n\nvar BannerGroupSectionTitle = function BannerGroupSectionTitle(_ref) {\n var title = _ref.title,\n children = _ref.children;\n var banner = useBanner();\n return h(\"div\", bannerGroupsInlineStyleTitle(banner), title, children && h(\"div\", bannerGroupsInlineStyleDescription(banner), children));\n};\n\nexport { BannerGroupSectionTitle };","import { bannerInlineStylesScale } from \"..\";\n\nfunction bannerGroupsInlineStyleTitle(_ref) {\n var _ref$group = _ref.group,\n headlineFontSize = _ref$group.headlineFontSize,\n headlineFontColor = _ref$group.headlineFontColor,\n headlineFontWeight = _ref$group.headlineFontWeight,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-group\",\n style: {\n color: headlineFontColor,\n fontSize: bannerInlineStylesScale(mobile, pageRequestUuid4, headlineFontSize),\n fontWeight: headlineFontWeight,\n textAlign: \"left\"\n }\n };\n}\n\nexport { bannerGroupsInlineStyleTitle };","import { bannerInlineStylesScale } from \"..\";\n\nfunction bannerGroupsInlineStyleDescription(_ref) {\n var fontWeight = _ref.design.fontWeight,\n _ref$group = _ref.group,\n descriptionFontColor = _ref$group.descriptionFontColor,\n descriptionFontSize = _ref$group.descriptionFontSize,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-group-description\",\n style: {\n color: descriptionFontColor,\n fontSize: bannerInlineStylesScale(mobile, pageRequestUuid4, +descriptionFontSize),\n fontWeight: fontWeight,\n marginTop: 5\n }\n };\n}\n\nexport { bannerGroupsInlineStyleDescription };","import { bannerInlineStylesScale } from \"..\";\n/**\n * Use `visible` together with `useLayoutEffect` to avoid flickering.\n * This is needed because the SVG icons of ant are a bit flickering.\n */\n\nfunction bannerGroupsInlineStyleCheckbox(_ref, visible, checked, isDisabled, fontSize) {\n var borderRadius = _ref.layout.borderRadius,\n _ref$group = _ref.group,\n headlineFontSize = _ref$group.headlineFontSize,\n checkboxBg = _ref$group.checkboxBg,\n checkboxBorderWidth = _ref$group.checkboxBorderWidth,\n checkboxBorderColor = _ref$group.checkboxBorderColor,\n checkboxActiveBg = _ref$group.checkboxActiveBg,\n checkboxActiveBorderColor = _ref$group.checkboxActiveBorderColor,\n checkboxActiveColor = _ref$group.checkboxActiveColor,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n var useFontSize = bannerInlineStylesScale(mobile, pageRequestUuid4, fontSize || headlineFontSize);\n var useCheckboxBorderWidth = bannerInlineStylesScale(mobile, pageRequestUuid4, +checkboxBorderWidth);\n var height = +useFontSize + useCheckboxBorderWidth * 2 + 6;\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-checkbox\",\n style: {\n cursor: isDisabled ? \"not-allowed\" : \"pointer\",\n opacity: isDisabled ? 0.5 : undefined,\n color: checked ? checkboxActiveColor : checkboxBg,\n display: visible ? \"inline-block\" : \"none\",\n background: checked ? checkboxActiveBg : checkboxBg,\n border: \"\".concat(useCheckboxBorderWidth, \"px solid \").concat(checked ? checkboxActiveBorderColor : checkboxBorderColor),\n padding: 3,\n height: height,\n width: height,\n marginRight: 10,\n borderRadius: +borderRadius,\n verticalAlign: \"middle\",\n lineHeight: 0,\n boxSizing: \"border-box\"\n }\n };\n}\n\nexport { bannerGroupsInlineStyleCheckbox };","function bannerGroupsInlineStyleLinkMore(_ref, isHover) {\n var linkTextDecoration = _ref.design.linkTextDecoration,\n _ref$group = _ref.group,\n linkColor = _ref$group.linkColor,\n linkHoverColor = _ref$group.linkHoverColor,\n antiAdBlocker = _ref.customCss.antiAdBlocker;\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-group-more\",\n style: {\n color: isHover ? linkHoverColor : linkColor,\n textDecoration: linkTextDecoration\n }\n };\n}\n\nexport { bannerGroupsInlineStyleLinkMore };","import _extends from \"@babel/runtime/helpers/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport { bannerGroupsInlineStyleLinkMore, bannerGroupsInlineStyleCookieProperty } from \".\";\nimport { useBanner } from \"../../contexts\";\nimport { isUrl } from \"@devowl-wp/headless-content-unblocker\";\n\nvar BannerCookieProperty = function BannerCookieProperty(_ref) {\n var label = _ref.label,\n value = _ref.value,\n children = _ref.children;\n var banner = useBanner();\n var isValueUrl = typeof value === \"string\" && isUrl(value);\n var useValue = isValueUrl ? h(\"a\", {\n href: value,\n style: _objectSpread({\n wordBreak: \"break-all\"\n }, bannerGroupsInlineStyleLinkMore(banner, false).style),\n target: \"_blank\",\n rel: \"noopener noreferrer\"\n }, value) : typeof value === \"string\" ? h(\"span\", {\n dangerouslySetInnerHTML: {\n __html: value\n }\n }) : value;\n return h(\"div\", _extends({\n key: label\n }, bannerGroupsInlineStyleCookieProperty(banner)), label && h(\"strong\", null, label, \":\\xA0\"), useValue, !!children && h(\"div\", null, children));\n};\n\nexport { BannerCookieProperty };","import { bannerInlineStylesScale } from \"..\";\n\nfunction bannerGroupsInlineStyleCookieProperty(_ref) {\n var _ref$group = _ref.group,\n groupBorderWidth = _ref$group.groupBorderWidth,\n groupBorderColor = _ref$group.groupBorderColor,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-cookie-prop\",\n style: {\n borderLeft: bannerInlineStylesScale(mobile, pageRequestUuid4, groupBorderWidth) > 0 ? \"1px solid \".concat(groupBorderColor) : undefined,\n paddingLeft: 15\n }\n };\n}\n\nexport { bannerGroupsInlineStyleCookieProperty };","import _extends from \"@babel/runtime/helpers/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { useLayoutEffect, useState, useCallback } from \"react\";\nimport { bannerGroupsInlineStyleCookie, bannerGroupsInlineStyleCheckbox, BannerCookieProperty } from \".\";\nimport { useBanner } from \"../../contexts\";\nimport { getOtherOptionsFromWindow } from \"../../utils\";\nimport { getCookieTypeLocalized } from \"../../others\"; // eslint-disable-next-line import/no-extraneous-dependencies\n\nimport { CheckOutlined } from \"@ant-design/icons-svg\";\nimport { PlainAntdIconAsSvg } from \"..\";\nimport { applyDynamicsToHtml } from \"@devowl-wp/headless-content-unblocker\";\n\nvar BannerCookie = function BannerCookie(_ref) {\n var _consent$groups;\n\n var group = _ref.group,\n _ref$cookie = _ref.cookie,\n id = _ref$cookie.id,\n name = _ref$cookie.name,\n purpose = _ref$cookie.purpose,\n provider = _ref$cookie.provider,\n providerPrivacyPolicy = _ref$cookie.providerPrivacyPolicy,\n legalBasis = _ref$cookie.legalBasis,\n ePrivacyUSA = _ref$cookie.ePrivacyUSA,\n noTechnicalDefinitions = _ref$cookie.noTechnicalDefinitions,\n technicalDefinitions = _ref$cookie.technicalDefinitions,\n codeDynamics = _ref$cookie.codeDynamics;\n\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n isRendered = _useState2[0],\n setIsRendered = _useState2[1];\n\n var banner = useBanner();\n var isEPrivacyUSA = banner.ePrivacyUSA,\n descriptionFontSize = banner.group.descriptionFontSize,\n consent = banner.consent,\n activeAction = banner.activeAction,\n essentialGroup = banner.essentialGroup;\n\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n bannerI18n = _getOtherOptionsFromW.bannerI18n;\n\n var types = getCookieTypeLocalized();\n useLayoutEffect(function () {\n setIsRendered(true);\n }, []);\n var isEssentialGroup = essentialGroup === group.slug;\n var isDisabled = isEssentialGroup || activeAction === \"history\";\n var isChecked = isEssentialGroup || (((_consent$groups = consent.groups) === null || _consent$groups === void 0 ? void 0 : _consent$groups[group.id]) || []).some(function (c) {\n return c === id;\n });\n var handleCheckbox = useCallback(function () {\n return !isDisabled && banner.updateCookieChecked(group.id, id, !isChecked);\n }, [isDisabled, banner, group, id, isChecked]);\n return h(\"div\", bannerGroupsInlineStyleCookie(banner), h(\"div\", {\n style: {\n marginBottom: 10\n }\n }, h(PlainAntdIconAsSvg, _extends({\n icon: CheckOutlined,\n onClick: handleCheckbox\n }, bannerGroupsInlineStyleCheckbox(banner, isRendered, isChecked, isDisabled, descriptionFontSize))), h(\"strong\", {\n style: {\n verticalAlign: \"middle\",\n cursor: \"pointer\"\n },\n onClick: handleCheckbox\n }, name)), !!purpose && h(BannerCookieProperty, {\n label: bannerI18n.purpose,\n value: purpose\n }), h(BannerCookieProperty, {\n label: bannerI18n.legalBasis,\n value: legalBasis === \"legal-requirement\" ? bannerI18n.legalRequirement : legalBasis === \"legitimate-interest\" || isEssentialGroup ? bannerI18n.legitimateInterest : bannerI18n.consent\n }), h(BannerCookieProperty, {\n label: bannerI18n.provider,\n value: provider\n }), !!providerPrivacyPolicy && h(BannerCookieProperty, {\n label: bannerI18n.providerPrivacyPolicy,\n value: providerPrivacyPolicy\n }), !!isEPrivacyUSA && h(BannerCookieProperty, {\n label: bannerI18n.ePrivacyUSA,\n value: ePrivacyUSA ? bannerI18n.yes : bannerI18n.no\n }), !noTechnicalDefinitions && technicalDefinitions.map(function (_ref2) {\n var type = _ref2.type,\n name = _ref2.name,\n host = _ref2.host,\n duration = _ref2.duration,\n durationUnit = _ref2.durationUnit,\n sessionDuration = _ref2.sessionDuration;\n return h(BannerCookieProperty, {\n key: name,\n label: bannerI18n.technicalCookieDefinition,\n value: h(\"span\", {\n style: {\n fontFamily: \"monospace\"\n }\n }, applyDynamicsToHtml(name, codeDynamics))\n }, h(BannerCookieProperty, {\n label: bannerI18n.type,\n value: types[type].name\n }), !!host && h(BannerCookieProperty, {\n label: bannerI18n.host,\n value: h(\"span\", {\n style: {\n fontFamily: \"monospace\"\n }\n }, host)\n }), [\"local\", \"session\", \"indexedDb\", \"flash\"].indexOf(type) === -1 && h(BannerCookieProperty, {\n label: bannerI18n.duration,\n value: sessionDuration ? \"Session\" : \"\".concat(duration, \" \").concat(bannerI18n.durationUnit[durationUnit])\n }));\n }));\n};\n\nexport { BannerCookie };","function bannerGroupsInlineStyleCookie(_ref) {\n var antiAdBlocker = _ref.customCss.antiAdBlocker;\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-cookie\",\n style: {\n marginTop: 10\n }\n };\n}\n\nexport { bannerGroupsInlineStyleCookie };","import _extends from \"@babel/runtime/helpers/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { useState, useLayoutEffect, Fragment, useCallback } from \"react\";\nimport { bannerGroupsInlineStyleGroup, bannerGroupsInlineStyleCheckbox, bannerGroupsInlineStyleLinkMore, BannerCookie, BannerGroupSectionTitle } from \".\";\nimport { useBanner } from \"../../contexts\";\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport { CheckOutlined, MinusOutlined } from \"@ant-design/icons-svg\";\nimport { PlainAntdIconAsSvg } from \"..\";\n\nvar BannerGroup = function BannerGroup(_ref) {\n var _consent$groups$id;\n\n var group = _ref.group;\n var banner = useBanner();\n var id = group.id,\n slug = group.slug,\n name = group.name,\n description = group.description,\n items = group.items;\n\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n isRendered = _useState2[0],\n setIsRendered = _useState2[1];\n\n var _useState3 = useState(false),\n _useState4 = _slicedToArray(_useState3, 2),\n isHover = _useState4[0],\n setIsHover = _useState4[1];\n\n var _useState5 = useState(false),\n _useState6 = _slicedToArray(_useState5, 2),\n isOpen = _useState6[0],\n setIsOpen = _useState6[1];\n\n var previewCheckboxActiveState = banner.previewCheckboxActiveState,\n _banner$individualTex = banner.individualTexts,\n showMore = _banner$individualTex.showMore,\n hideMore = _banner$individualTex.hideMore,\n consent = banner.consent,\n activeAction = banner.activeAction,\n essentialGroup = banner.essentialGroup;\n useLayoutEffect(function () {\n setIsRendered(true);\n }, []);\n var isEssentialGroup = essentialGroup === slug;\n var isDisabled = isEssentialGroup || activeAction === \"history\";\n var isChecked = previewCheckboxActiveState || isEssentialGroup || !!consent.groups[id];\n var isPartial = !isEssentialGroup && JSON.stringify(items.map(function (_ref2) {\n var id = _ref2.id;\n return id;\n }).sort()) !== JSON.stringify(((_consent$groups$id = consent.groups[id]) === null || _consent$groups$id === void 0 ? void 0 : _consent$groups$id.sort()) || []);\n var CheckboxIcon = isPartial ? MinusOutlined : CheckOutlined;\n var handleCheckbox = useCallback(function () {\n return !isDisabled && banner.updateGroupChecked(id, !isChecked);\n }, [isDisabled, banner, id, isChecked]);\n return h(\"div\", bannerGroupsInlineStyleGroup(banner), h(BannerGroupSectionTitle, {\n title: h(Fragment, null, h(PlainAntdIconAsSvg, _extends({\n icon: CheckboxIcon,\n onClick: handleCheckbox\n }, bannerGroupsInlineStyleCheckbox(banner, isRendered, isChecked, isDisabled))), h(\"span\", {\n style: {\n verticalAlign: \"middle\",\n cursor: \"pointer\"\n },\n onClick: handleCheckbox\n }, name, \" (\", items.length, \")\"))\n }, description, !!items && h(Fragment, null, \"\\xA0\\xA0\\u2022\\xA0\\xA0\", h(\"a\", _extends({\n href: \"#\"\n }, bannerGroupsInlineStyleLinkMore(banner, isHover), {\n onClick: function onClick(e) {\n setIsOpen(!isOpen);\n e.preventDefault();\n },\n onMouseEnter: function onMouseEnter() {\n return setIsHover(true);\n },\n onMouseLeave: function onMouseLeave() {\n return setIsHover(false);\n }\n }), isOpen ? hideMore : showMore), isOpen && items.map(function (cookie) {\n return h(BannerCookie, {\n key: cookie.id,\n group: group,\n cookie: cookie\n });\n }))));\n};\n\nexport { BannerGroup };","import { bannerInlineStylesScale } from \"..\";\n\nfunction bannerGroupsInlineStyleGroup(_ref) {\n var _ref$group = _ref.group,\n groupBg = _ref$group.groupBg,\n groupBorderRadius = _ref$group.groupBorderRadius,\n groupBorderColor = _ref$group.groupBorderColor,\n groupPadding = _ref$group.groupPadding,\n groupBorderWidth = _ref$group.groupBorderWidth,\n groupInheritBg = _ref$group.groupInheritBg,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n var useGroupBorderWidth = bannerInlineStylesScale(mobile, pageRequestUuid4, groupBorderWidth);\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-group\",\n style: {\n background: groupInheritBg ? undefined : groupBg,\n border: useGroupBorderWidth > 0 ? \"\".concat(useGroupBorderWidth, \"px solid \").concat(groupBorderColor) : undefined,\n padding: bannerInlineStylesScale(mobile, pageRequestUuid4, groupPadding).map(function (p) {\n return \"\".concat(p, \"px\");\n }).join(\" \"),\n borderRadius: +groupBorderRadius,\n textAlign: \"left\"\n }\n };\n}\n\nexport { bannerGroupsInlineStyleGroup };","import { Fragment } from \"react\";\nimport { bannerGroupsInlineStyle, BannerGroup, bannerInlineStylesScale } from \".\";\nimport { useBanner } from \"../../contexts\";\n\nvar BannerGroups = function BannerGroups() {\n var banner = useBanner();\n var groups = banner.groups,\n groupSpacing = banner.group.groupSpacing,\n mobile = banner.mobile,\n pageRequestUuid4 = banner.pageRequestUuid4;\n var useGroups = groups.filter(function (_ref) {\n var items = _ref.items;\n return items.length;\n });\n return h(\"div\", bannerGroupsInlineStyle(banner), useGroups.map(function (group, index) {\n return h(Fragment, {\n key: group.id\n }, h(BannerGroup, {\n key: group.id,\n group: group\n }), index !== useGroups.length - 1 && h(\"div\", {\n style: {\n height: bannerInlineStylesScale(mobile, pageRequestUuid4, +groupSpacing)\n }\n }));\n }));\n};\n\nexport { BannerGroups };","function bannerGroupsInlineStyle(_ref) {\n var antiAdBlocker = _ref.customCss.antiAdBlocker;\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-groups\",\n style: {\n marginTop: 10,\n clear: \"both\"\n }\n };\n}\n\nexport { bannerGroupsInlineStyle };","import _extends from \"@babel/runtime/helpers/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { useState, useLayoutEffect, Fragment, useCallback } from \"react\";\nimport { bannerGroupsInlineStyleCheckbox, bannerInlineStyleBodyDottedGroupItem, bannerInlineStyleBodyDottedGroupBullet } from \".\";\nimport { useBanner } from \"../../contexts\";\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport { CheckOutlined } from \"@ant-design/icons-svg\";\nimport { PlainAntdIconAsSvg } from \"..\";\nimport { getOtherOptionsFromWindow } from \"../../utils\";\n\nvar BannerDottedGroup = function BannerDottedGroup(_ref) {\n var _ref$group = _ref.group,\n id = _ref$group.id,\n slug = _ref$group.slug,\n name = _ref$group.name;\n\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n isRendered = _useState2[0],\n setIsRendered = _useState2[1];\n\n var banner = useBanner();\n var groupsFirstView = banner.decision.groupsFirstView,\n fontSize = banner.design.fontSize,\n consent = banner.consent,\n essentialGroup = banner.essentialGroup;\n\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n isPro = _getOtherOptionsFromW.isPro;\n\n useLayoutEffect(function () {\n setIsRendered(true);\n }, []);\n var isEssentialGroup = essentialGroup === slug;\n var isChecked = isEssentialGroup || !!consent.groups[id];\n var handleCheckbox = useCallback(function () {\n return isPro && groupsFirstView && !isEssentialGroup && banner.updateGroupChecked(id, !isChecked);\n }, [isPro, isEssentialGroup, banner, id, isChecked, groupsFirstView]);\n return h(\"span\", _extends({\n key: name\n }, bannerInlineStyleBodyDottedGroupItem(banner)), h(\"span\", null, isPro && groupsFirstView ? h(PlainAntdIconAsSvg, _extends({\n icon: CheckOutlined,\n onClick: handleCheckbox\n }, bannerGroupsInlineStyleCheckbox(banner, isRendered, isChecked, isEssentialGroup, fontSize))) : h(Fragment, null, h(\"strong\", bannerInlineStyleBodyDottedGroupBullet(banner), \"\\u25CF\"), \"\\xA0\"), h(\"span\", {\n style: {\n verticalAlign: \"middle\",\n cursor: groupsFirstView ? \"pointer\" : undefined\n },\n onClick: handleCheckbox\n }, name)));\n};\n\nexport { BannerDottedGroup };","import { bannerInlineStylesScale } from \"..\";\n\nfunction bannerInlineStyleBodyDottedGroupItem(_ref) {\n var fontSize = _ref.design.fontSize,\n _ref$bodyDesign = _ref.bodyDesign,\n dottedGroupsInheritFontSize = _ref$bodyDesign.dottedGroupsInheritFontSize,\n dottedGroupsFontSize = _ref$bodyDesign.dottedGroupsFontSize,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n return {\n className: undefined,\n style: {\n paddingRight: 10,\n fontSize: bannerInlineStylesScale(mobile, pageRequestUuid4, dottedGroupsInheritFontSize ? +fontSize : +dottedGroupsFontSize),\n whiteSpace: \"nowrap\",\n display: \"inline-block\"\n }\n };\n}\n\nexport { bannerInlineStyleBodyDottedGroupItem };","function bannerInlineStyleBodyDottedGroupBullet(_ref) {\n var dottedGroupsBulletColor = _ref.bodyDesign.dottedGroupsBulletColor;\n return {\n className: undefined,\n style: {\n color: dottedGroupsBulletColor\n }\n };\n}\n\nexport { bannerInlineStyleBodyDottedGroupBullet };","import { BannerDottedGroup, bannerInlineStyleBodyDottedGroups } from \".\";\nimport { useBanner } from \"../../contexts\";\n\nvar BannerDottedGroups = function BannerDottedGroups() {\n var banner = useBanner();\n var groups = banner.groups;\n return h(\"div\", bannerInlineStyleBodyDottedGroups(banner), groups.filter(function (_ref) {\n var items = _ref.items;\n return !!items.length;\n }).map(function (group) {\n return h(BannerDottedGroup, {\n key: group.id,\n group: group\n });\n }));\n};\n\nexport { BannerDottedGroups };","function bannerInlineStyleBodyDottedGroups(_ref) {\n var antiAdBlocker = _ref.customCss.antiAdBlocker;\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-dotted-groups\",\n style: {\n marginTop: 10,\n lineBreak: \"anywhere\",\n lineHeight: 2\n }\n };\n}\n\nexport { bannerInlineStyleBodyDottedGroups };","import _extends from \"@babel/runtime/helpers/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { Fragment, useState, useEffect } from \"react\";\nimport { getOtherOptionsFromWindow } from \"../../utils\";\nimport { useBanner } from \"../../contexts\";\nimport { bannerInlineStyleHistorySelect, bannerInlineStyleHistorySelectOption } from \"./inlineStyles\";\nvar SELECT_NONE = -1;\n\nvar BannerHistorySelect = function BannerHistorySelect() {\n var _history$;\n\n var banner = useBanner();\n\n var _useState = useState(SELECT_NONE),\n _useState2 = _slicedToArray(_useState, 2),\n selectedId = _useState2[0],\n setSelectedId = _useState2[1];\n\n var activeAction = banner.activeAction,\n history = banner.history,\n selectHistoryEntry = banner.selectHistoryEntry;\n\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n _getOtherOptionsFromW2 = _getOtherOptionsFromW.bannerI18n,\n historyLabel = _getOtherOptionsFromW2.historyLabel,\n historySelectNone = _getOtherOptionsFromW2.historySelectNone; // Reset select after exit history dialog\n\n\n useEffect(function () {\n if (!activeAction) {\n setSelectedId(SELECT_NONE);\n } else if (activeAction === \"history\" && history !== null && history !== void 0 && history.length) {\n setSelectedId(history[0].id);\n }\n }, [activeAction, history]); // History can only contain my data, so we can pick the first entry for the history\n\n var uuid = history === null || history === void 0 ? void 0 : (_history$ = history[0]) === null || _history$ === void 0 ? void 0 : _history$.uuid;\n var optionStyle = bannerInlineStyleHistorySelectOption(banner);\n return h(Fragment, null, historyLabel, \"\\xA0\", h(\"select\", _extends({}, bannerInlineStyleHistorySelect(banner), {\n disabled: !(history !== null && history !== void 0 && history.length),\n value: selectedId,\n onChange: function onChange(e) {\n var value = +e.target.value;\n history.forEach(function (_ref) {\n var id = _ref.id,\n decision = _ref.decision,\n groups = _ref.groups,\n tcf = _ref.tcf;\n\n if (id === value) {\n setSelectedId(id);\n selectHistoryEntry(groups, decision, tcf);\n }\n });\n }\n }), (history === null || history === void 0 ? void 0 : history.length) > 0 ? history.map(function (_ref2) {\n var id = _ref2.id,\n isDoNotTrack = _ref2.isDoNotTrack,\n isUnblock = _ref2.isUnblock,\n isForwarded = _ref2.isForwarded,\n created = _ref2.created;\n return h(\"option\", _extends({\n key: id,\n value: id\n }, optionStyle), new Date(created).toLocaleString(document.documentElement.lang), isDoNotTrack ? \" (Do Not Track)\" : \"\", isUnblock ? \" (Content Blocker)\" : \"\", isForwarded ? \" (Consent Forwarding)\" : \"\");\n }) : h(\"option\", _extends({\n value: SELECT_NONE\n }, optionStyle), historySelectNone)), !!uuid && h(\"div\", {\n style: {\n opacity: 0.5,\n marginTop: 5\n }\n }, \"UUID: \", uuid));\n};\n\nexport { BannerHistorySelect };","import { bannerInlineStylesScale } from \"..\";\nimport { calculateOverlay } from \"../../../../utils\";\n\nfunction bannerInlineStyleHistorySelect(_ref) {\n var _ref$design = _ref.design,\n fontSize = _ref$design.fontSize,\n fontColor = _ref$design.fontColor,\n _ref$bodyDesign = _ref.bodyDesign,\n descriptionInheritFontSize = _ref$bodyDesign.descriptionInheritFontSize,\n descriptionFontSize = _ref$bodyDesign.descriptionFontSize,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-history-select\",\n style: {\n fontSize: bannerInlineStylesScale(mobile, pageRequestUuid4, descriptionInheritFontSize ? +fontSize : +descriptionFontSize),\n background: \"transparent\",\n border: 0,\n color: fontColor,\n borderBottom: \"1px solid \".concat(calculateOverlay(fontColor, 50))\n }\n };\n}\n\nexport { bannerInlineStyleHistorySelect };","function bannerInlineStyleHistorySelectOption(_ref) {\n var bg = _ref.design.bg;\n return {\n className: undefined,\n style: {\n background: bg\n }\n };\n}\n\nexport { bannerInlineStyleHistorySelectOption };","import { bannerInlineStylesScale } from \"..\";\n\nfunction bannerInlineStyleBodyTeaching(_ref) {\n var _ref$bodyDesign = _ref.bodyDesign,\n teachingsInheritTextAlign = _ref$bodyDesign.teachingsInheritTextAlign,\n teachingsTextAlign = _ref$bodyDesign.teachingsTextAlign,\n teachingsInheritFontSize = _ref$bodyDesign.teachingsInheritFontSize,\n teachingsFontSize = _ref$bodyDesign.teachingsFontSize,\n teachingsInheritFontColor = _ref$bodyDesign.teachingsInheritFontColor,\n teachingsFontColor = _ref$bodyDesign.teachingsFontColor,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-teachings\",\n style: {\n marginTop: 7,\n display: \"inline-block\",\n textAlign: teachingsInheritTextAlign ? undefined : teachingsTextAlign,\n fontSize: teachingsInheritFontSize ? undefined : bannerInlineStylesScale(mobile, pageRequestUuid4, +teachingsFontSize),\n color: teachingsInheritFontColor ? undefined : teachingsFontColor\n }\n };\n}\n\nexport { bannerInlineStyleBodyTeaching };","import { bannerInlineStylesScale } from \"..\";\n\nfunction bannerButtonsInlineStyleCommon(_ref, mobile, isHover, framed) {\n var name = _ref.name,\n order = _ref.order,\n fullWidth = _ref.fullWidth,\n marginLeft = _ref.marginLeft,\n marginRight = _ref.marginRight,\n type = _ref.type,\n borderRadius = _ref.borderRadius,\n bg = _ref.bg,\n hoverBg = _ref.hoverBg,\n fontSize = _ref.fontSize,\n textAlign = _ref.textAlign,\n linkTextDecoration = _ref.linkTextDecoration,\n fontColor = _ref.fontColor,\n fontWeight = _ref.fontWeight,\n hoverFontColor = _ref.hoverFontColor,\n borderWidth = _ref.borderWidth,\n borderColor = _ref.borderColor,\n hoverBorderColor = _ref.hoverBorderColor,\n padding = _ref.padding,\n antiAdBlocker = _ref.antiAdBlocker,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n var useBorderWidth = bannerInlineStylesScale(mobile, pageRequestUuid4, +borderWidth);\n var style = {\n textDecoration: type === \"link\" ? linkTextDecoration : \"none\",\n borderRadius: +borderRadius,\n cursor: type === \"button\" ? \"pointer\" : undefined,\n backgroundColor: type === \"button\" ? isHover ? hoverBg : bg : undefined,\n fontSize: bannerInlineStylesScale(mobile, pageRequestUuid4, +fontSize),\n fontWeight: fontWeight,\n color: isHover ? hoverFontColor : fontColor,\n transition: \"background-color 250ms, color 250ms, border-color 250ms\",\n margin: \"0 \".concat(marginRight, \"px \").concat(bannerInlineStylesScale(mobile, pageRequestUuid4, 10, undefined, true), \"px \").concat(marginLeft, \"px\"),\n border: type === \"button\" && useBorderWidth > 0 ? \"\".concat(useBorderWidth, \"px solid \").concat(isHover ? hoverBorderColor : borderColor) : undefined,\n padding: bannerInlineStylesScale(mobile, pageRequestUuid4, padding, undefined, type !== \"button\").map(function (p) {\n return \"\".concat(p, \"px\");\n }).join(\" \"),\n overflow: \"hidden\",\n outline: framed ? \"rgb(255, 94, 94) solid 5px\" : undefined,\n flex: fullWidth ? \"1 1 100%\" : \"0 0 calc(50% - \".concat(marginLeft + marginRight, \"px)\"),\n display: \"flex\",\n alignItems: \"center\",\n // text-align is not supported within a `display: flex`\n justifyContent: textAlign === \"right\" ? \"flex-end\" : textAlign === \"center\" ? \"center\" : \"left\",\n order: order\n };\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-btn-\".concat(name),\n style: style\n };\n}\n\nexport { bannerButtonsInlineStyleCommon };","import { bannerButtonsInlineStyleCommon } from \"./\";\n\nfunction bannerButtonsInlineStyleAcceptEssentials(_ref, isHover, framed, isTwoButtonRowLayout) {\n var isTcf = _ref.isTcf,\n acceptEssentials = _ref.decision.acceptEssentials,\n borderRadius = _ref.layout.borderRadius,\n linkTextDecoration = _ref.design.linkTextDecoration,\n _ref$bodyDesign = _ref.bodyDesign,\n acceptEssentialsFontSize = _ref$bodyDesign.acceptEssentialsFontSize,\n acceptEssentialsBg = _ref$bodyDesign.acceptEssentialsBg,\n acceptEssentialsTextAlign = _ref$bodyDesign.acceptEssentialsTextAlign,\n acceptEssentialsBorderColor = _ref$bodyDesign.acceptEssentialsBorderColor,\n acceptEssentialsPadding = _ref$bodyDesign.acceptEssentialsPadding,\n acceptEssentialsBorderWidth = _ref$bodyDesign.acceptEssentialsBorderWidth,\n acceptEssentialsFontColor = _ref$bodyDesign.acceptEssentialsFontColor,\n acceptEssentialsFontWeight = _ref$bodyDesign.acceptEssentialsFontWeight,\n acceptEssentialsHoverBg = _ref$bodyDesign.acceptEssentialsHoverBg,\n acceptEssentialsHoverFontColor = _ref$bodyDesign.acceptEssentialsHoverFontColor,\n acceptEssentialsHoverBorderColor = _ref$bodyDesign.acceptEssentialsHoverBorderColor,\n acceptAllFontWeight = _ref$bodyDesign.acceptAllFontWeight,\n acceptAllFontSize = _ref$bodyDesign.acceptAllFontSize,\n acceptAllPadding = _ref$bodyDesign.acceptAllPadding,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n return bannerButtonsInlineStyleCommon({\n name: \"accept-essentials\",\n order: isTwoButtonRowLayout ? 0 : 1,\n fullWidth: !isTwoButtonRowLayout,\n marginLeft: 0,\n marginRight: isTwoButtonRowLayout ? 5 : 0,\n type: acceptEssentials,\n borderRadius: borderRadius,\n bg: acceptEssentialsBg,\n hoverBg: acceptEssentialsHoverBg,\n fontSize: isTwoButtonRowLayout || isTcf ? acceptAllFontSize : acceptEssentialsFontSize,\n textAlign: acceptEssentialsTextAlign,\n linkTextDecoration: linkTextDecoration,\n fontColor: acceptEssentialsFontColor,\n fontWeight: isTcf ? acceptAllFontWeight : acceptEssentialsFontWeight,\n hoverFontColor: acceptEssentialsHoverFontColor,\n borderWidth: acceptEssentialsBorderWidth,\n borderColor: acceptEssentialsBorderColor,\n hoverBorderColor: acceptEssentialsHoverBorderColor,\n padding: isTwoButtonRowLayout ? acceptAllPadding : acceptEssentialsPadding,\n antiAdBlocker: antiAdBlocker,\n pageRequestUuid4: pageRequestUuid4\n }, mobile, isHover, framed);\n}\n\nexport { bannerButtonsInlineStyleAcceptEssentials };","import { bannerButtonsInlineStyleCommon } from \"./\";\n\nfunction bannerButtonsInlineStyleAcceptIndividual(_ref, isHover, framed) {\n var acceptIndividual = _ref.decision.acceptIndividual,\n borderRadius = _ref.layout.borderRadius,\n linkTextDecoration = _ref.design.linkTextDecoration,\n _ref$bodyDesign = _ref.bodyDesign,\n acceptIndividualFontSize = _ref$bodyDesign.acceptIndividualFontSize,\n acceptIndividualBg = _ref$bodyDesign.acceptIndividualBg,\n acceptIndividualTextAlign = _ref$bodyDesign.acceptIndividualTextAlign,\n acceptIndividualBorderColor = _ref$bodyDesign.acceptIndividualBorderColor,\n acceptIndividualPadding = _ref$bodyDesign.acceptIndividualPadding,\n acceptIndividualBorderWidth = _ref$bodyDesign.acceptIndividualBorderWidth,\n acceptIndividualFontColor = _ref$bodyDesign.acceptIndividualFontColor,\n acceptIndividualFontWeight = _ref$bodyDesign.acceptIndividualFontWeight,\n acceptIndividualHoverBg = _ref$bodyDesign.acceptIndividualHoverBg,\n acceptIndividualHoverFontColor = _ref$bodyDesign.acceptIndividualHoverFontColor,\n acceptIndividualHoverBorderColor = _ref$bodyDesign.acceptIndividualHoverBorderColor,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n return bannerButtonsInlineStyleCommon({\n name: \"accept-individual\",\n order: 2,\n fullWidth: true,\n marginLeft: 0,\n marginRight: 0,\n type: acceptIndividual,\n borderRadius: borderRadius,\n bg: acceptIndividualBg,\n hoverBg: acceptIndividualHoverBg,\n fontSize: acceptIndividualFontSize,\n textAlign: acceptIndividualTextAlign,\n linkTextDecoration: linkTextDecoration,\n fontColor: acceptIndividualFontColor,\n fontWeight: acceptIndividualFontWeight,\n hoverFontColor: acceptIndividualHoverFontColor,\n borderWidth: acceptIndividualBorderWidth,\n borderColor: acceptIndividualBorderColor,\n hoverBorderColor: acceptIndividualHoverBorderColor,\n padding: acceptIndividualPadding,\n antiAdBlocker: antiAdBlocker,\n pageRequestUuid4: pageRequestUuid4\n }, mobile, isHover, framed);\n}\n\nexport { bannerButtonsInlineStyleAcceptIndividual };","import { bannerButtonsInlineStyleCommon } from \"./\";\n\nfunction bannerButtonsInlineStyleSave(_ref, isHover, framed) {\n var isTcf = _ref.isTcf,\n borderRadius = _ref.layout.borderRadius,\n linkTextDecoration = _ref.design.linkTextDecoration,\n _ref$bodyDesign = _ref.bodyDesign,\n acceptAllFontWeight = _ref$bodyDesign.acceptAllFontWeight,\n acceptAllFontSize = _ref$bodyDesign.acceptAllFontSize,\n _ref$saveButton = _ref.saveButton,\n type = _ref$saveButton.type,\n fontSize = _ref$saveButton.fontSize,\n bg = _ref$saveButton.bg,\n textAlign = _ref$saveButton.textAlign,\n borderColor = _ref$saveButton.borderColor,\n padding = _ref$saveButton.padding,\n borderWidth = _ref$saveButton.borderWidth,\n fontColor = _ref$saveButton.fontColor,\n fontWeight = _ref$saveButton.fontWeight,\n hoverBg = _ref$saveButton.hoverBg,\n hoverFontColor = _ref$saveButton.hoverFontColor,\n hoverBorderColor = _ref$saveButton.hoverBorderColor,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n return bannerButtonsInlineStyleCommon({\n name: \"accept-individual-save\",\n order: 2,\n fullWidth: true,\n marginLeft: 0,\n marginRight: 0,\n type: type,\n borderRadius: borderRadius,\n bg: bg,\n hoverBg: hoverBg,\n fontSize: isTcf ? acceptAllFontSize : fontSize,\n textAlign: textAlign,\n linkTextDecoration: linkTextDecoration,\n fontColor: fontColor,\n fontWeight: isTcf ? acceptAllFontWeight : fontWeight,\n hoverFontColor: hoverFontColor,\n borderWidth: borderWidth,\n borderColor: borderColor,\n hoverBorderColor: hoverBorderColor,\n padding: padding,\n antiAdBlocker: antiAdBlocker,\n pageRequestUuid4: pageRequestUuid4\n }, mobile, isHover, framed);\n}\n\nexport { bannerButtonsInlineStyleSave };","import { bannerButtonsInlineStyleCommon } from \"./\";\n\nfunction bannerButtonsInlineStyleAcceptAll(_ref, isHover, framed, isTwoButtonRowLayout) {\n var acceptAll = _ref.decision.acceptAll,\n borderRadius = _ref.layout.borderRadius,\n linkTextDecoration = _ref.design.linkTextDecoration,\n _ref$bodyDesign = _ref.bodyDesign,\n acceptAllFontSize = _ref$bodyDesign.acceptAllFontSize,\n acceptAllBg = _ref$bodyDesign.acceptAllBg,\n acceptAllTextAlign = _ref$bodyDesign.acceptAllTextAlign,\n acceptAllBorderColor = _ref$bodyDesign.acceptAllBorderColor,\n acceptAllPadding = _ref$bodyDesign.acceptAllPadding,\n acceptAllBorderWidth = _ref$bodyDesign.acceptAllBorderWidth,\n acceptAllFontColor = _ref$bodyDesign.acceptAllFontColor,\n acceptAllFontWeight = _ref$bodyDesign.acceptAllFontWeight,\n acceptAllHoverBg = _ref$bodyDesign.acceptAllHoverBg,\n acceptAllHoverFontColor = _ref$bodyDesign.acceptAllHoverFontColor,\n acceptAllHoverBorderColor = _ref$bodyDesign.acceptAllHoverBorderColor,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n return bannerButtonsInlineStyleCommon({\n name: \"accept-all\",\n order: isTwoButtonRowLayout ? 1 : 0,\n fullWidth: !isTwoButtonRowLayout,\n marginLeft: isTwoButtonRowLayout ? 5 : 0,\n marginRight: 0,\n type: acceptAll,\n borderRadius: borderRadius,\n bg: acceptAllBg,\n hoverBg: acceptAllHoverBg,\n fontSize: acceptAllFontSize,\n textAlign: acceptAllTextAlign,\n linkTextDecoration: linkTextDecoration,\n fontColor: acceptAllFontColor,\n fontWeight: acceptAllFontWeight,\n hoverFontColor: acceptAllHoverFontColor,\n borderWidth: acceptAllBorderWidth,\n borderColor: acceptAllBorderColor,\n hoverBorderColor: acceptAllHoverBorderColor,\n padding: acceptAllPadding,\n antiAdBlocker: antiAdBlocker,\n pageRequestUuid4: pageRequestUuid4\n }, mobile, isHover, framed);\n}\n\nexport { bannerButtonsInlineStyleAcceptAll };","import _extends from \"@babel/runtime/helpers/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { useCallback } from \"react\";\nimport { useState, useMemo } from \"react\";\nimport { useBanner } from \"../../contexts\";\nimport { bannerButtonsInlineStyleAcceptAll, bannerButtonsInlineStyleAcceptEssentials, bannerButtonsInlineStyleAcceptIndividual, bannerButtonsInlineStyleEllipsesText, bannerButtonsInlineStyleSave } from \".\";\nimport { isIE } from \"../../utils\";\nimport { AsciiSpinner } from \"..\";\n\nvar BannerButton = function BannerButton(_ref) {\n var inlineStyle = _ref.inlineStyle,\n type = _ref.type,\n onClick = _ref.onClick,\n children = _ref.children,\n framed = _ref.framed,\n busyOnClick = _ref.busyOnClick;\n\n if (type === \"hide\") {\n return null;\n }\n\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n isBusy = _useState2[0],\n setIsBusy = _useState2[1];\n\n var handleOnClick = useCallback(function () {\n if (!isBusy) {\n busyOnClick && setIsBusy(true);\n onClick === null || onClick === void 0 ? void 0 : onClick();\n }\n }, [onClick, isBusy, busyOnClick]);\n\n var _useState3 = useState(false),\n _useState4 = _slicedToArray(_useState3, 2),\n isHover = _useState4[0],\n setIsHover = _useState4[1];\n\n var banner = useBanner();\n var individualPrivacyOpen = banner.individualPrivacyOpen,\n _banner$decision = banner.decision,\n acceptAll = _banner$decision.acceptAll,\n acceptEssentials = _banner$decision.acceptEssentials,\n acceptAllOneRowLayout = banner.bodyDesign.acceptAllOneRowLayout;\n var interactionAttr = {\n onClick: handleOnClick,\n onMouseEnter: function onMouseEnter() {\n return setIsHover(true);\n },\n onMouseLeave: function onMouseLeave() {\n return setIsHover(false);\n }\n };\n var useStyleFn = useMemo(function () {\n switch (inlineStyle) {\n case \"acceptEssentials\":\n return bannerButtonsInlineStyleAcceptEssentials;\n\n case \"acceptIndividual\":\n return bannerButtonsInlineStyleAcceptIndividual;\n\n case \"save\":\n return bannerButtonsInlineStyleSave;\n\n default:\n return bannerButtonsInlineStyleAcceptAll;\n }\n }, [inlineStyle]); // Also create a spacing `height:10` container because `marginBottom` causes issues with `position:sticky`\n\n return h(\"div\", _extends({}, type === \"button\" ? interactionAttr : {}, useStyleFn(banner, isHover, framed, // IE does not support flex with calc()\n isIE() || acceptAll === \"hide\" || acceptEssentials === \"hide\" || individualPrivacyOpen ? false : acceptAllOneRowLayout)), h(\"span\", _extends({}, bannerButtonsInlineStyleEllipsesText(), type === \"link\" ? interactionAttr : {}), isBusy ? h(AsciiSpinner, null) : children));\n};\n\nexport { BannerButton };","function isIE() {\n return /MSIE (\\d+\\.\\d+);/.test(navigator.userAgent) || navigator.userAgent.indexOf(\"Trident/\") > -1;\n}\n\nexport { isIE };","function bannerButtonsInlineStyleEllipsesText() {\n return {\n style: {\n textOverflow: \"ellipsis\",\n whiteSpace: \"nowrap\",\n wordBreak: \"keep-all\",\n overflow: \"hidden\",\n cursor: \"pointer\"\n }\n };\n}\n\nexport { bannerButtonsInlineStyleEllipsesText };","import { Fragment } from \"react\";\nimport { useBanner } from \"../../contexts\";\nimport { BannerButton, BannerDevHint } from \".\";\nimport { getOtherOptionsFromWindow } from \"../../utils\";\nimport { useBannerButtons } from \"../../hooks\";\n\nvar BannerButtons = function BannerButtons() {\n var banner = useBanner();\n var activeAction = banner.activeAction,\n decision = banner.decision,\n _banner$texts = banner.texts,\n acceptAll = _banner$texts.acceptAll,\n acceptEssentials = _banner$texts.acceptEssentials,\n acceptIndividual = _banner$texts.acceptIndividual,\n saveButton = banner.saveButton,\n individualTexts = banner.individualTexts,\n individualPrivacyOpen = banner.individualPrivacyOpen,\n didGroupFirstChange = banner.didGroupFirstChange,\n _banner$buttonClicked = banner.buttonClicked,\n buttonClicked = _banner$buttonClicked === void 0 ? \"\" : _banner$buttonClicked;\n\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n isPro = _getOtherOptionsFromW.isPro;\n\n var _useBannerButtons = useBannerButtons(),\n buttonClickedAll = _useBannerButtons.buttonClickedAll,\n buttonClickedEssentials = _useBannerButtons.buttonClickedEssentials,\n buttonClickedCustom = _useBannerButtons.buttonClickedCustom,\n handleAll = _useBannerButtons.acceptAll,\n handleEssentials = _useBannerButtons.acceptEssentials,\n handleIndividual = _useBannerButtons.acceptIndividual,\n openIndividualPrivacy = _useBannerButtons.openIndividualPrivacy; // We expect a reload of the page for the \"change\" action (keeps also dialog open)\n\n\n var busyOnClick = activeAction === \"change\";\n return h(Fragment, null, !individualPrivacyOpen && isPro && decision.groupsFirstView && decision.saveButton === \"afterChangeAll\" && didGroupFirstChange ? h(BannerButton, {\n onClick: handleIndividual,\n type: decision.acceptAll,\n inlineStyle: \"acceptAll\",\n framed: buttonClicked === buttonClickedCustom,\n busyOnClick: busyOnClick\n }, individualTexts.save) : h(BannerButton, {\n onClick: handleAll,\n type: decision.acceptAll,\n inlineStyle: \"acceptAll\",\n framed: buttonClicked === buttonClickedAll,\n busyOnClick: busyOnClick\n }, acceptAll), activeAction !== \"change\" && h(BannerButton, {\n onClick: handleEssentials,\n type: decision.acceptEssentials,\n inlineStyle: \"acceptEssentials\",\n framed: buttonClicked === buttonClickedEssentials,\n busyOnClick: busyOnClick\n }, acceptEssentials), (individualPrivacyOpen || isPro && decision.groupsFirstView && (decision.saveButton === \"always\" || decision.saveButton === \"afterChange\" && didGroupFirstChange)) && h(BannerButton, {\n onClick: handleIndividual,\n type: saveButton.type,\n inlineStyle: \"save\",\n framed: buttonClicked === buttonClickedCustom,\n busyOnClick: busyOnClick\n }, individualTexts.save), !individualPrivacyOpen && h(BannerButton, {\n type: decision.acceptIndividual,\n onClick: openIndividualPrivacy,\n inlineStyle: \"acceptIndividual\",\n framed: buttonClicked.startsWith(\"ind_\"),\n busyOnClick: busyOnClick\n }, acceptIndividual), h(BannerDevHint, null));\n};\n\nexport { BannerButtons };","import _extends from \"@babel/runtime/helpers/extends\";\nimport { useMemo, Fragment } from \"react\";\nimport { useBanner } from \"../../contexts\";\nimport { bannerInlineStylesLeftSide, bannerInlineStylesRightSide, bannerInlineStyleBody, bannerInlineStyleBodyContainer, bannerInlineStyleBodyDescription, bannerInlineStyleBodyTeaching, bannerInlineStyleBodyTeachingsSeparator, BannerGroups, BannerTcfGroups, BannerDottedGroups, BannerButtons, BannerHistorySelect, BannerTcfStacks, bannerInlineStylesScale, BANNER_SCALING_WHEN_WINDOW_WIDTH_LOWER } from \".\";\nimport { usePlainCss } from \"../../hooks\";\nimport { expandGroupsServiceVariable } from \"../../others\";\n\nvar BannerBody = function BannerBody(_ref) {\n var _document$getElementB;\n\n var leftSideContainerRef = _ref.leftSideContainerRef,\n rightSideContainerRef = _ref.rightSideContainerRef;\n var banner = useBanner();\n var groups = banner.groups,\n type = banner.layout.type,\n mobile = banner.mobile,\n isEPrivacyUSA = banner.ePrivacyUSA,\n isAgeNotice = banner.ageNotice,\n teachingsSeparatorActive = banner.bodyDesign.teachingsSeparatorActive,\n _banner$texts = banner.texts,\n description = _banner$texts.description,\n ePrivacyUSA = _banner$texts.ePrivacyUSA,\n ageNoticeBanner = _banner$texts.ageNoticeBanner,\n consentForwardingExternalHostsText = _banner$texts.consentForwardingExternalHosts,\n tcfGlobalScope = _banner$texts.tcfGlobalScope,\n tcf = banner.tcf,\n consentForwardingExternalHosts = banner.consentForwardingExternalHosts,\n individualPrivacyOpen = banner.individualPrivacyOpen,\n individualTexts = banner.individualTexts,\n activeAction = banner.activeAction,\n pageRequestUuid4 = banner.pageRequestUuid4; // Make the content responsive\n\n var leftSideId = \"bnnr-body-leftSide-\".concat(pageRequestUuid4);\n var rightSideId = \"bnnr-body-rightSide-\".concat(pageRequestUuid4);\n var contentId = \"cntnt-\".concat(pageRequestUuid4);\n usePlainCss(\" #\".concat(leftSideId, \" img {\\n max-width: 100%;\\n height: auto;\\n}\\n\\n\").concat(((_document$getElementB = document.getElementById(pageRequestUuid4)) === null || _document$getElementB === void 0 ? void 0 : _document$getElementB.clientWidth) > BANNER_SCALING_WHEN_WINDOW_WIDTH_LOWER ? \"\" : \"#\".concat(leftSideId, \" {\\n float: initial !important;\\n width: auto !important;\\n padding-right: initial !important;\\n \").concat(bannerInlineStylesScale(mobile, pageRequestUuid4, type, \"banner\") === \"banner\" && !individualPrivacyOpen ? \"padding-bottom: 10px !important;\" : individualPrivacyOpen ? \"padding-top: 10px !important;\" : \"\", \"\\n }\\n\\n #\").concat(contentId, \" {\\n min-height: calc(var(--rendered-height-header) + var(--rendered-height-footer) + var(--rendered-height-rightSideContainer) + 60px);\\n }\\n \\n #\").concat(rightSideId, \" {\\n float: initial !important;\\n width: auto !important;\\n max-width: initial !important;\\n margin: initial !important;\\n \").concat(individualPrivacyOpen ? \"padding-bottom: 5px !important;\" : \"padding-top: 10px !important;\", \"\\n position: sticky;\\n }\"))); // Prepare description text\n\n var consentForwardingExternalHostsFinalText = consentForwardingExternalHosts ? consentForwardingExternalHostsText.replace(/{{websites}}/g, consentForwardingExternalHosts.join(\", \")) : \"\";\n var tcfGlobalScopeFinalText = tcf ? tcf.model.isServiceSpecific ? \"\" : tcfGlobalScope : \"\";\n var useDescription = [individualPrivacyOpen ? individualTexts.description : description, consentForwardingExternalHostsFinalText, tcfGlobalScopeFinalText].filter(Boolean).join(\" \");\n var useEPrivacyUSA = expandGroupsServiceVariable(groups, tcf ? {\n gvl: tcf.gvl,\n vendorConfigurations: tcf.original.vendorConfigurations\n } : undefined, isEPrivacyUSA ? ePrivacyUSA : \"\", function (cookie, tcf) {\n return (cookie === null || cookie === void 0 ? void 0 : cookie.ePrivacyUSA) || (tcf === null || tcf === void 0 ? void 0 : tcf.vendorConfiguration.ePrivacyUSA) === 1;\n }, 3, true); // Calculate the body content depending on TCF availability and if second view got opened\n\n var stackOrGroups = useMemo(function () {\n if (process.env.IS_TCF === \"1\" && tcf) {\n return individualPrivacyOpen ? h(BannerTcfGroups, null) : h(BannerTcfStacks, null);\n } else {\n return individualPrivacyOpen ? h(BannerGroups, null) : h(BannerDottedGroups, null);\n }\n }, [individualPrivacyOpen, tcf]);\n var leftSide = h(\"div\", _extends({\n ref: leftSideContainerRef,\n key: \"leftSide\",\n id: leftSideId\n }, bannerInlineStylesLeftSide(banner)), !!useDescription && h(Fragment, null, h(\"div\", bannerInlineStyleBodyDescription(banner), activeAction === \"history\" ? h(BannerHistorySelect, null) : h(Fragment, null, h(\"span\", {\n dangerouslySetInnerHTML: {\n __html: useDescription\n }\n }), (isEPrivacyUSA || isAgeNotice) && h(Fragment, null, teachingsSeparatorActive && h(\"div\", null, h(\"span\", bannerInlineStyleBodyTeachingsSeparator(banner))), !!useEPrivacyUSA && h(\"span\", _extends({}, bannerInlineStyleBodyTeaching(banner), {\n dangerouslySetInnerHTML: {\n __html: useEPrivacyUSA\n }\n })), isAgeNotice && !!ageNoticeBanner && h(\"span\", _extends({}, bannerInlineStyleBodyTeaching(banner), {\n dangerouslySetInnerHTML: {\n __html: ageNoticeBanner\n }\n })))))), stackOrGroups);\n var rightSide = activeAction === \"history\" ? h(\"div\", {\n ref: rightSideContainerRef\n }) : h(\"div\", _extends({\n ref: rightSideContainerRef,\n key: \"rightSide\",\n id: rightSideId\n }, bannerInlineStylesRightSide(banner)), h(BannerButtons, null));\n return h(\"div\", bannerInlineStyleBodyContainer(banner), h(\"div\", bannerInlineStyleBody(banner), individualPrivacyOpen ? [rightSide, leftSide] : [leftSide, rightSide], h(\"div\", {\n style: {\n clear: \"both\"\n }\n })));\n};\n\nexport { BannerBody };","import { bannerInlineStylesScale } from \"..\";\nvar BUTTONS_WIDTH = 300;\n\nfunction bannerInlineStylesLeftSide(_ref) {\n var type = _ref.layout.type,\n padding = _ref.bodyDesign.padding,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n individualPrivacyOpen = _ref.individualPrivacyOpen,\n activeAction = _ref.activeAction,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n var useType = bannerInlineStylesScale(mobile, pageRequestUuid4, type, \"banner\");\n var usePadding = bannerInlineStylesScale(mobile, pageRequestUuid4, padding);\n var style = {\n float: useType === \"banner\" && activeAction !== \"history\" ? \"left\" : undefined,\n width: useType === \"banner\" && activeAction !== \"history\" ? \"calc(100% - \".concat(BUTTONS_WIDTH, \"px)\") : undefined,\n paddingRight: useType === \"banner\" ? 20 : undefined,\n paddingTop: +usePadding[0],\n paddingBottom: useType === \"banner\" || individualPrivacyOpen ? +usePadding[2] : 0\n };\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-tb-left\",\n style: style\n };\n}\n\nexport { BUTTONS_WIDTH, bannerInlineStylesLeftSide };","import { bannerInlineStylesScale } from \"..\";\n\nfunction bannerInlineStyleBodyDescription(_ref) {\n var fontSize = _ref.design.fontSize,\n _ref$bodyDesign = _ref.bodyDesign,\n descriptionInheritFontSize = _ref$bodyDesign.descriptionInheritFontSize,\n descriptionFontSize = _ref$bodyDesign.descriptionFontSize,\n descriptionTextAlign = _ref.individualLayout.descriptionTextAlign,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n individualPrivacyOpen = _ref.individualPrivacyOpen,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-description\",\n style: {\n lineHeight: 1.5,\n fontSize: bannerInlineStylesScale(mobile, pageRequestUuid4, descriptionInheritFontSize ? +fontSize : +descriptionFontSize),\n textAlign: individualPrivacyOpen ? descriptionTextAlign : undefined\n }\n };\n}\n\nexport { bannerInlineStyleBodyDescription };","function bannerInlineStyleBodyTeachingsSeparator(_ref) {\n var borderRadius = _ref.layout.borderRadius,\n _ref$bodyDesign = _ref.bodyDesign,\n teachingsSeparatorActive = _ref$bodyDesign.teachingsSeparatorActive,\n teachingsSeparatorWidth = _ref$bodyDesign.teachingsSeparatorWidth,\n teachingsSeparatorHeight = _ref$bodyDesign.teachingsSeparatorHeight,\n teachingsSeparatorColor = _ref$bodyDesign.teachingsSeparatorColor,\n antiAdBlocker = _ref.customCss.antiAdBlocker;\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-teachings-separator\",\n style: {\n marginTop: 7,\n display: \"inline-block\",\n maxWidth: \"100%\",\n borderRadius: +borderRadius,\n width: +teachingsSeparatorWidth,\n height: teachingsSeparatorActive ? +teachingsSeparatorHeight : 0,\n background: teachingsSeparatorColor\n }\n };\n}\n\nexport { bannerInlineStyleBodyTeachingsSeparator };","import _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport { bannerInlineStylesScale } from \"..\";\nimport { hexToRgb } from \"../../../../utils\";\nimport { BUTTONS_WIDTH } from \"./\";\n\nfunction bannerInlineStylesRightSide(_ref) {\n var _style;\n\n var _ref$layout = _ref.layout,\n type = _ref$layout.type,\n dialogMaxWidth = _ref$layout.dialogMaxWidth,\n _ref$design = _ref.design,\n borderWidth = _ref$design.borderWidth,\n bg = _ref$design.bg,\n fontColor = _ref$design.fontColor,\n headerDesign = _ref.headerDesign,\n footerDesign = _ref.footerDesign,\n padding = _ref.bodyDesign.padding,\n inheritDialogMaxWidth = _ref.individualLayout.inheritDialogMaxWidth,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n individualPrivacyOpen = _ref.individualPrivacyOpen,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n var useType = bannerInlineStylesScale(mobile, pageRequestUuid4, type, \"banner\");\n var useBorderWidth = bannerInlineStylesScale(mobile, pageRequestUuid4, borderWidth);\n var usePadding = bannerInlineStylesScale(mobile, pageRequestUuid4, padding, undefined, true);\n\n var _hexToRgb = hexToRgb(fontColor),\n r = _hexToRgb.r,\n g = _hexToRgb.g,\n b = _hexToRgb.b;\n\n var width = useType === \"dialog\" ? +dialogMaxWidth - usePadding[1] - usePadding[3] - useBorderWidth * 2 : BUTTONS_WIDTH;\n var style = (_style = {\n background: bg,\n paddingTop: useType === \"banner\" || individualPrivacyOpen ? +usePadding[0] : 10,\n paddingBottom: !individualPrivacyOpen ? +usePadding[2] : 10,\n float: useType === \"banner\" || individualPrivacyOpen ? \"right\" : undefined,\n maxWidth: width,\n width: width,\n margin: useType === \"dialog\" && individualPrivacyOpen && !inheritDialogMaxWidth ? \"0 0 10px 10px\" : undefined,\n // position: individualPrivacyOpen ? \"sticky\" : undefined, This is done by `body.tsx#usePlainCss`\n position: individualPrivacyOpen ? undefined : \"sticky\"\n }, _defineProperty(_style, individualPrivacyOpen ? \"top\" : \"bottom\", individualPrivacyOpen ? \"calc(var(--rendered-height-header) + \".concat(bannerInlineStylesScale(mobile, pageRequestUuid4, headerDesign.borderWidth), \"px)\") : \"calc(var(--rendered-height-footer) + \".concat(bannerInlineStylesScale(mobile, pageRequestUuid4, footerDesign.borderWidth), \"px)\")), _defineProperty(_style, \"zIndex\", 1), _defineProperty(_style, \"display\", \"flex\"), _defineProperty(_style, \"flexWrap\", \"wrap\"), _defineProperty(_style, \"transition\", \"box-shadow ease-in-out .1s\"), _defineProperty(_style, \"--boxShadowShowScroll\", \"0 -15px 15px -15px rgba(\".concat(r, \", \").concat(g, \", \").concat(b, \", 0.3)\")), _style);\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-tb-right\",\n style: style\n };\n}\n\nexport { bannerInlineStylesRightSide };","import { bannerInlineStylesScale } from \"..\";\n\nfunction bannerInlineStyleBodyContainer(_ref) {\n var type = _ref.layout.type,\n _ref$design = _ref.design,\n bg = _ref$design.bg,\n borderWidth = _ref$design.borderWidth,\n borderColor = _ref$design.borderColor,\n padding = _ref.bodyDesign.padding,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n var useBorderWidth = bannerInlineStylesScale(mobile, pageRequestUuid4, borderWidth);\n var style = {\n background: bg,\n // Top / Bottom padding is applied in leftSide and rightSide containers\n padding: bannerInlineStylesScale(mobile, pageRequestUuid4, padding).map(function (p, i) {\n return \"\".concat([0, 2].indexOf(i) > -1 ? 0 : p, \"px\");\n }).join(\" \"),\n lineHeight: 1.4\n };\n\n if (bannerInlineStylesScale(mobile, pageRequestUuid4, type, \"banner\") === \"dialog\" && useBorderWidth > 0) {\n style.borderLeft = \"\".concat(useBorderWidth, \"px solid \").concat(borderColor);\n style.borderRight = style.borderLeft;\n }\n\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-body-container\",\n style: style\n };\n}\n\nexport { bannerInlineStyleBodyContainer };","import { bannerInlineStylesScale } from \"..\";\n\nfunction bannerInlineStyleBody(_ref) {\n var _ref$layout = _ref.layout,\n type = _ref$layout.type,\n bannerMaxWidth = _ref$layout.bannerMaxWidth,\n individualLayout = _ref.individualLayout,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n individualPrivacyOpen = _ref.individualPrivacyOpen,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n var style = {\n transition: \"width 500ms, max-width 500ms\",\n maxWidth: bannerInlineStylesScale(mobile, pageRequestUuid4, type, \"banner\") === \"banner\" ? +(individualPrivacyOpen && !individualLayout.inheritBannerMaxWidth ? individualLayout.bannerMaxWidth : bannerMaxWidth) : undefined,\n margin: \"auto\"\n };\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-body\",\n style: style\n };\n}\n\nexport { bannerInlineStyleBody };","import _extends from \"@babel/runtime/helpers/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/objectWithoutProperties\";\nimport { useState } from \"react\";\nimport { bannerFooterInlineStyleLink } from \"./inlineStyles\";\nimport { useBanner } from \"../../contexts\";\n\nvar BannerFooterLink = function BannerFooterLink(_ref) {\n var children = _ref.children,\n anchorRest = _objectWithoutProperties(_ref, [\"children\"]);\n\n var banner = useBanner();\n\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n isHover = _useState2[0],\n setIsHover = _useState2[1];\n\n return h(\"a\", _extends({\n onMouseEnter: function onMouseEnter() {\n return setIsHover(true);\n },\n onMouseLeave: function onMouseLeave() {\n return setIsHover(false);\n }\n }, bannerFooterInlineStyleLink(banner, isHover), anchorRest), children);\n};\n\nexport { BannerFooterLink };","import { bannerInlineStylesScale } from \"..\";\n\nfunction bannerFooterInlineStyleLink(_ref) {\n var _ref$footerDesign = _ref.footerDesign,\n fontSize = _ref$footerDesign.fontSize,\n fontColor = _ref$footerDesign.fontColor,\n hoverFontColor = _ref$footerDesign.hoverFontColor,\n fontInheritFamily = _ref$footerDesign.fontInheritFamily,\n fontFamily = _ref$footerDesign.fontFamily,\n linkTextDecoration = _ref.design.linkTextDecoration,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n var isHover = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n var style = {\n textDecoration: linkTextDecoration,\n fontSize: bannerInlineStylesScale(mobile, pageRequestUuid4, +fontSize),\n color: isHover ? hoverFontColor : fontColor,\n fontFamily: fontInheritFamily ? undefined : fontFamily,\n padding: \"0 5px\"\n };\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-footer-link\",\n style: style\n };\n}\n\nexport { bannerFooterInlineStyleLink };","import _extends from \"@babel/runtime/helpers/extends\";\nimport { forwardRef } from \"react\";\nimport { Fragment, useCallback } from \"react\";\nimport { bannerFooterInlineStyle, bannerFooterInlineStyleContainer } from \".\";\nimport { useBanner } from \"../../contexts\";\nimport { getOtherOptionsFromWindow, jsxJoin } from \"../../utils\";\nimport { useBannerLegalLinks } from \"../../hooks\";\nimport { BannerFooterLink, BannerTooltip } from \".\"; // eslint-disable-next-line react/display-name\n\nvar BannerFooter = /*#__PURE__*/forwardRef(function (_, ref) {\n var banner = useBanner();\n var isTcf = banner.isTcf,\n type = banner.layout.type,\n legal = banner.legal,\n _banner$footerDesign = banner.footerDesign,\n poweredByLink = _banner$footerDesign.poweredByLink,\n linkTarget = _banner$footerDesign.linkTarget,\n individualPrivacyOpen = banner.individualPrivacyOpen,\n updateIndividualPrivacyOpen = banner.updateIndividualPrivacyOpen,\n poweredLink = banner.poweredLink,\n isConsentRecord = banner.isConsentRecord,\n onClose = banner.onClose;\n\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n _getOtherOptionsFromW2 = _getOtherOptionsFromW.bannerI18n,\n close = _getOtherOptionsFromW2.close,\n tcf = _getOtherOptionsFromW2.tcf,\n affiliate = _getOtherOptionsFromW.affiliate;\n\n var handleTcfVendorList = process.env.IS_TCF === \"1\" && isTcf ? useCallback(function (e) {\n updateIndividualPrivacyOpen(true);\n e.preventDefault();\n }, [updateIndividualPrivacyOpen]) : undefined;\n var handleClose = useCallback(function (e) {\n onClose();\n e.preventDefault();\n }, [onClose]);\n var targetAttributes = linkTarget === \"_blank\" ? {\n target: \"_blank\",\n rel: \"noopener\"\n } : {};\n\n var _useBannerLegalLinks = useBannerLegalLinks(legal),\n linkPrivacyPolicy = _useBannerLegalLinks.linkPrivacyPolicy,\n linkImprint = _useBannerLegalLinks.linkImprint;\n\n var links = [// Row 1\n [isConsentRecord && h(BannerFooterLink, {\n href: \"#\",\n onClick: handleClose,\n key: \"close\"\n }, h(\"strong\", null, close)), process.env.IS_TCF === \"1\" && isTcf && !individualPrivacyOpen && h(BannerFooterLink, {\n href: \"#\",\n onClick: handleTcfVendorList,\n key: \"vendorList\"\n }, tcf.vendorList), linkPrivacyPolicy && h(BannerFooterLink, _extends({\n href: linkPrivacyPolicy.url\n }, targetAttributes, {\n key: \"privacyPolicy\"\n }), linkPrivacyPolicy.label), linkImprint && h(BannerFooterLink, _extends({\n href: linkImprint.url\n }, targetAttributes, {\n key: \"imprint\"\n }), linkImprint.label)].filter(Boolean), // Row 2\n [] // Nothing yet\n ];\n\n if (!!poweredLink && poweredByLink) {\n links[type === \"banner\" ? 0 : 1].push(h(BannerFooterLink, {\n href: affiliate ? affiliate.link : poweredLink.href,\n target: poweredLink.target,\n key: \"powered-by\"\n }, h(\"span\", {\n dangerouslySetInnerHTML: {\n __html: poweredLink.innerHTML\n }\n }), affiliate && h(BannerTooltip, {\n title: affiliate.description,\n position: \"top-left\"\n }, \" \", affiliate.labelBehind)));\n }\n\n return h(\"div\", _extends({\n ref: ref\n }, bannerFooterInlineStyleContainer(banner)), h(\"div\", bannerFooterInlineStyle(banner), jsxJoin(links.map(function (linksRow) {\n return linksRow.length ? h(Fragment, {\n key: linksRow[0].key\n }, jsxJoin(linksRow, h(Fragment, null, \" \\u2022 \"))) : null;\n }), h(\"br\", null))));\n});\nexport { BannerFooter };","import { bannerInlineStylesScale } from \"..\";\n\nfunction bannerFooterInlineStyleContainer(_ref) {\n var _ref$layout = _ref.layout,\n type = _ref$layout.type,\n dialogBorderRadius = _ref$layout.dialogBorderRadius,\n design = _ref.design,\n _ref$footerDesign = _ref.footerDesign,\n inheritBg = _ref$footerDesign.inheritBg,\n bg = _ref$footerDesign.bg,\n inheritTextAlign = _ref$footerDesign.inheritTextAlign,\n textAlign = _ref$footerDesign.textAlign,\n padding = _ref$footerDesign.padding,\n fontSize = _ref$footerDesign.fontSize,\n fontColor = _ref$footerDesign.fontColor,\n fontWeight = _ref$footerDesign.fontWeight,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n var useType = bannerInlineStylesScale(mobile, pageRequestUuid4, type, \"banner\");\n var useBorderWidth = bannerInlineStylesScale(mobile, pageRequestUuid4, design.borderWidth);\n var style = {\n padding: bannerInlineStylesScale(mobile, pageRequestUuid4, padding, undefined, true).map(function (p) {\n return \"\".concat(p, \"px\");\n }).join(\" \"),\n background: inheritBg ? design.bg : bg,\n borderRadius: useType === \"dialog\" ? \"0 0 \".concat(dialogBorderRadius, \"px \").concat(dialogBorderRadius, \"px\") : undefined,\n fontSize: bannerInlineStylesScale(mobile, pageRequestUuid4, +fontSize),\n fontWeight: fontWeight,\n color: fontColor,\n textAlign: inheritTextAlign ? design.textAlign : textAlign,\n position: \"sticky\",\n bottom: 0,\n zIndex: 1\n };\n\n if (useType === \"dialog\" && useBorderWidth > 0) {\n style.borderBottom = \"\".concat(useBorderWidth, \"px solid \").concat(design.borderColor);\n style.borderLeft = style.borderBottom;\n style.borderRight = style.borderBottom;\n }\n\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-footer-container\",\n style: style\n };\n}\n\nexport { bannerFooterInlineStyleContainer };","import { bannerInlineStylesScale } from \"..\";\n\nfunction bannerFooterInlineStyle(_ref) {\n var _ref$layout = _ref.layout,\n type = _ref$layout.type,\n bannerMaxWidth = _ref$layout.bannerMaxWidth,\n individualLayout = _ref.individualLayout,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4,\n individualPrivacyOpen = _ref.individualPrivacyOpen;\n var style = {\n transition: \"width 500ms, max-width 500ms\",\n maxWidth: bannerInlineStylesScale(mobile, pageRequestUuid4, type, \"banner\") === \"banner\" ? +(individualPrivacyOpen && !individualLayout.inheritBannerMaxWidth ? individualLayout.bannerMaxWidth : bannerMaxWidth) : undefined,\n margin: \"auto\",\n lineHeight: 1.8\n };\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-footer\",\n style: style\n };\n}\n\nexport { bannerFooterInlineStyle };","import { useEffect } from \"react\";\nimport { usePlainCss } from \".\";\nimport { useBanner } from \"../contexts\";\n/**\n * Pass an HTML refs and we will provide a root stylesheet with the height dimensions.\n */\n\nfunction useBannerRenderedHeightsAsCssVars(element, name) {\n var _useBanner = useBanner(),\n pageRequestUuid4 = _useBanner.pageRequestUuid4; // We do directly modify the inline CSS as we do not want to trigger a rerender for the complete banner content\n\n\n var cssId = usePlainCss(\"\", \"useBannerRenderedHeightsAsCssVars-\".concat(name));\n var cssElement = document.getElementById(cssId);\n useEffect(function () {\n var previousHeight = 0;\n\n var recalculate = function recalculate() {\n var currentHeight = element.getBoundingClientRect().height;\n\n if (previousHeight !== currentHeight) {\n previousHeight = currentHeight;\n cssElement.innerHTML = \"#\".concat(pageRequestUuid4, \"{--rendered-height-\").concat(name, \": \").concat(Math.floor(currentHeight), \"px;--rendered-height-raw-\").concat(name, \": \").concat(currentHeight, \"px}\");\n }\n };\n\n if (!element) {\n return function () {// Silence is golden.\n };\n } // Support animations\n\n\n var animateContainer = document.querySelector(\"#\".concat(pageRequestUuid4, \" div[class*=\\\"animate__\\\"]\"));\n animateContainer.addEventListener(\"animationend\", recalculate);\n\n if (window.ResizeObserver) {\n var ro = new ResizeObserver(recalculate);\n ro.observe(element);\n return function () {\n ro.disconnect();\n animateContainer.removeEventListener(\"animationend\", recalculate);\n };\n } else {\n var interval = setInterval(recalculate, 150);\n return function () {\n clearInterval(interval);\n animateContainer.removeEventListener(\"animationend\", recalculate);\n };\n }\n }, [element, name]);\n}\n\nexport { useBannerRenderedHeightsAsCssVars };","import _extends from \"@babel/runtime/helpers/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { Fragment, useState, useRef, useLayoutEffect, useCallback } from \"react\";\nimport { bannerContentInlineStyle, bannerFooterInlineStyleSeparator, bannerHeaderInlineStyleSeparator, BannerHeader, BannerBody, BannerFooter } from \".\";\nimport { useBanner } from \"../../contexts\";\nimport { usePlainCss, useBannerRenderedHeightsAsCssVars } from \"../../hooks\";\nimport { bannerInlineStylesScale } from \"./inlineStyles\";\n\nvar BannerContent = function BannerContent() {\n var banner = useBanner();\n var _banner$layout = banner.layout,\n type = _banner$layout.type,\n dialogBorderRadius = _banner$layout.dialogBorderRadius,\n _banner$decision = banner.decision,\n acceptEssentials = _banner$decision.acceptEssentials,\n showCloseIcon = _banner$decision.showCloseIcon,\n mobile = banner.mobile,\n individualPrivacyOpen = banner.individualPrivacyOpen,\n bg = banner.design.bg,\n teachingsFontColor = banner.bodyDesign.teachingsFontColor,\n activeAction = banner.activeAction,\n pageRequestUuid4 = banner.pageRequestUuid4;\n var rightSideId = \"bnnr-body-rightSide-\".concat(pageRequestUuid4);\n var id = \"cntnt-\".concat(pageRequestUuid4);\n var ref = useRef();\n var currentRef = ref.current;\n var showHeader = true;\n\n if (mobile.hideHeader && !activeAction && !individualPrivacyOpen && (acceptEssentials === \"hide\" ? !showCloseIcon : true)) {\n showHeader = bannerInlineStylesScale(mobile, pageRequestUuid4, showHeader, false);\n } // Enable box shadow effect for the scrolling behavior\n\n\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n showScrollBoxShadow = _useState2[0],\n setShowScrollBoxShadow = _useState2[1];\n\n var updateShowScrollBoxShadow = useCallback(function () {\n if (currentRef) {\n var clientHeight = currentRef.clientHeight,\n scrollHeight = currentRef.scrollHeight,\n scrollTop = currentRef.scrollTop,\n offsetHeight = currentRef.offsetHeight;\n var hasScrollbar = clientHeight < scrollHeight;\n var scrolledToBottom = Math.ceil(scrollTop + offsetHeight) >= scrollHeight;\n var result = hasScrollbar && !scrolledToBottom && !individualPrivacyOpen;\n\n if (showScrollBoxShadow !== result) {\n setShowScrollBoxShadow(result);\n }\n }\n }, [currentRef, individualPrivacyOpen, showScrollBoxShadow]);\n updateShowScrollBoxShadow(); // The function gets called for each resize in `Banner` component\n\n useLayoutEffect(function () {\n if (currentRef) {\n currentRef.addEventListener(\"scroll\", updateShowScrollBoxShadow);\n return function () {\n return currentRef.removeEventListener(\"scroll\", updateShowScrollBoxShadow);\n };\n } // eslint-disable-next-line @typescript-eslint/no-empty-function\n\n\n return function () {};\n }, [currentRef, updateShowScrollBoxShadow]);\n usePlainCss(showScrollBoxShadow ? \"#\".concat(rightSideId, \" {box-shadow:var(--boxShadowShowScroll);}\") : \"\"); // Create custom scrollbar when a border radius is active (https://css-tricks.com/the-current-state-of-styling-scrollbars/)\n\n usePlainCss(navigator.platform === \"Win32\" && type === \"dialog\" && dialogBorderRadius > 0 ? [\"#\".concat(id, \"{overflow:overlay!important;}\"), \"#\".concat(id, \"::-webkit-scrollbar{width:11px;}\"), \"#\".concat(id, \"{scrollbar-width:thin;scrollbar-color:\").concat(teachingsFontColor, \" transparent;}\"), \"#\".concat(id, \"::-webkit-scrollbar-track{background:transparent;}\"), \"#\".concat(id, \"::-webkit-scrollbar-thumb{background-color:\").concat(teachingsFontColor, \";border-radius:\").concat(dialogBorderRadius, \"px;border:3px solid \").concat(bg, \";}\"), \"#\".concat(id, \">div{border-top-right-radius:0!important;border-bottom-right-radius:0!important;}\")].join(\"\\n\") : \"\");\n var headerRef = useRef();\n var footerRef = useRef();\n var rightSideContainerRef = useRef();\n useBannerRenderedHeightsAsCssVars(headerRef.current, \"header\");\n useBannerRenderedHeightsAsCssVars(footerRef.current, \"footer\");\n useBannerRenderedHeightsAsCssVars(rightSideContainerRef.current, \"rightSideContainer\");\n return h(\"div\", _extends({}, bannerContentInlineStyle(banner), {\n ref: ref,\n id: id\n }), showHeader && h(Fragment, null, h(BannerHeader, {\n ref: headerRef\n }), h(\"div\", bannerHeaderInlineStyleSeparator(banner))), h(BannerBody, {\n rightSideContainerRef: rightSideContainerRef\n }), h(\"div\", bannerFooterInlineStyleSeparator(banner)), h(BannerFooter, {\n ref: footerRef\n }));\n};\n\nexport { BannerContent };","import { bannerInlineStylesScale } from \"..\";\n\nfunction bannerContentInlineStyle(_ref) {\n var _document$getElementB;\n\n var type = _ref.layout.type,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n showCloseIcon = _ref.decision.showCloseIcon,\n activeAction = _ref.activeAction,\n individualPrivacyOpen = _ref.individualPrivacyOpen,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n var innerHeight = ((_document$getElementB = document.getElementById(pageRequestUuid4)) === null || _document$getElementB === void 0 ? void 0 : _document$getElementB.clientHeight) || window.innerHeight;\n var mobileMaxHeight = +mobile.maxHeight;\n var useMobileMaxHeight = mobileMaxHeight > innerHeight ? innerHeight : mobileMaxHeight;\n var closeIconDistance = showCloseIcon || activeAction ? 51 : 0;\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-content\",\n style: {\n position: \"relative\",\n maxHeight: bannerInlineStylesScale(mobile, pageRequestUuid4, innerHeight - (type === \"banner\" ? 0 : 20) - closeIconDistance, individualPrivacyOpen ? innerHeight - closeIconDistance : useMobileMaxHeight - closeIconDistance),\n overflow: \"auto\"\n }\n };\n}\n\nexport { bannerContentInlineStyle };","import { bannerInlineStylesScale } from \"..\";\n\nfunction bannerHeaderInlineStyleSeparator(_ref) {\n var type = _ref.layout.type,\n design = _ref.design,\n _ref$headerDesign = _ref.headerDesign,\n borderWidth = _ref$headerDesign.borderWidth,\n borderColor = _ref$headerDesign.borderColor,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n var useDesignBorderWidth = bannerInlineStylesScale(mobile, pageRequestUuid4, design.borderWidth);\n var style = {\n height: bannerInlineStylesScale(mobile, pageRequestUuid4, +borderWidth),\n background: borderColor,\n position: \"sticky\",\n top: \"var(--rendered-height-header)\",\n zIndex: 9\n };\n\n if (bannerInlineStylesScale(mobile, pageRequestUuid4, type, \"banner\") === \"dialog\" && useDesignBorderWidth > 0) {\n style.borderLeft = \"\".concat(useDesignBorderWidth, \"px solid \").concat(design.borderColor);\n style.borderRight = style.borderLeft;\n }\n\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-header-separator\",\n style: style\n };\n}\n\nexport { bannerHeaderInlineStyleSeparator };","import { bannerInlineStylesScale } from \"..\";\n\nfunction bannerFooterInlineStyleSeparator(_ref) {\n var type = _ref.layout.type,\n design = _ref.design,\n _ref$footerDesign = _ref.footerDesign,\n borderWidth = _ref$footerDesign.borderWidth,\n borderColor = _ref$footerDesign.borderColor,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n var useBorderWidth = bannerInlineStylesScale(mobile, pageRequestUuid4, design.borderWidth);\n var style = {\n height: bannerInlineStylesScale(mobile, pageRequestUuid4, +borderWidth),\n background: borderColor,\n position: \"sticky\",\n bottom: \"var(--rendered-height-footer)\"\n };\n\n if (bannerInlineStylesScale(mobile, pageRequestUuid4, type, \"banner\") === \"dialog\" && useBorderWidth > 0) {\n style.borderLeft = \"\".concat(useBorderWidth, \"px solid \").concat(design.borderColor);\n style.borderRight = style.borderLeft;\n }\n\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-footer-separator\",\n style: style\n };\n}\n\nexport { bannerFooterInlineStyleSeparator };","import { useCallback, useMemo } from \"react\";\nimport { BANNER_SCALING_WHEN_WINDOW_WIDTH_LOWER } from \"../components\";\n/**\n * Depending on the current screen, calculate the animation to use.\n *\n * Currently, we do not support animations on resize as we cannot calculate the\n * width of the overlay container as it does not exist on first render cycle of React.\n *\n * Drawback if animation only on mobile is enabled: if the window is first a mobile,\n * and the window gets resize it will reuse the animation on desktop again\n */\n\nfunction useBannerAnimation() {\n var clientWidth = useMemo(function () {\n return window.innerWidth;\n }, []);\n var isMobile = clientWidth < BANNER_SCALING_WHEN_WINDOW_WIDTH_LOWER; // Check if it is mobile Firefox, as it does not support `position:sticky;bottom:0;` and animations.\n // Effect: The buttons and footer are not visible.\n\n var isMobileFirefox = useMemo(function () {\n var userAgent = window.navigator.userAgent.toLowerCase();\n return [\"firefox\", \"gecko\", \"mobile\", \"android\"].map(function (term) {\n return userAgent.indexOf(term) > -1;\n }).filter(Boolean).length === 4;\n }, []);\n return useCallback(function (_ref) {\n var animationIn = _ref.animationIn,\n animationInOnlyMobile = _ref.animationInOnlyMobile,\n animationOut = _ref.animationOut,\n animationOutOnlyMobile = _ref.animationOutOnlyMobile;\n var useAnimationIn = animationInOnlyMobile ? isMobile ? animationIn : \"none\" : animationIn;\n var useAnimationOut = animationOutOnlyMobile ? isMobile ? animationOut : \"none\" : animationOut;\n\n if (isMobileFirefox) {\n useAnimationIn = \"none\";\n useAnimationOut = \"none\";\n }\n\n return {\n useAnimationIn: useAnimationIn,\n useAnimationOut: useAnimationOut\n };\n }, []);\n}\n\nexport { useBannerAnimation };","import _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { useEffect, useState } from \"react\";\n\nfunction useResettableAnimation(animation, duration) {\n var _useState = useState(0),\n _useState2 = _slicedToArray(_useState, 2),\n i = _useState2[0],\n setI = _useState2[1];\n\n var _useState3 = useState(0),\n _useState4 = _slicedToArray(_useState3, 2),\n j = _useState4[0],\n setJ = _useState4[1];\n\n var _useState5 = useState(animation),\n _useState6 = _slicedToArray(_useState5, 2),\n stateAnimation = _useState6[0],\n setStateAnimation = _useState6[1];\n\n var _useState7 = useState(undefined),\n _useState8 = _slicedToArray(_useState7, 2),\n stateAnimationReset = _useState8[0],\n setStateAnimationReset = _useState8[1];\n\n var _useState9 = useState(duration),\n _useState10 = _slicedToArray(_useState9, 2),\n stateDuration = _useState10[0],\n setStateDuration = _useState10[1];\n\n var _useState11 = useState(undefined),\n _useState12 = _slicedToArray(_useState11, 2),\n stateDurationReset = _useState12[0],\n setStateDurationReset = _useState12[1]; // Reset animation, save it temporary so when changing it, it needs to be to \"none\" and then the needed one\n\n\n useEffect(function () {\n // Avoid first rendering as the first is animated at mount-time\n if (i > 0) {\n if (animation === \"none\") {\n setStateAnimation(animation);\n } else {\n setStateAnimation(\"none\");\n setStateAnimationReset(animation);\n }\n }\n\n setI(i + 1);\n }, [animation]);\n useEffect(function () {\n // Avoid first rendering as the first is animated at mount-time\n if (j > 0) {\n if (duration === 0) {\n setStateDuration(duration);\n } else {\n setStateDuration(0);\n setStateDurationReset(duration);\n setStateAnimation(\"none\");\n setStateAnimationReset(animation);\n }\n }\n\n setJ(j + 1);\n }, [duration]);\n useEffect(function () {\n if (stateAnimationReset !== undefined) {\n setStateAnimation(stateAnimationReset);\n setStateAnimationReset(undefined);\n }\n }, [stateAnimationReset]);\n useEffect(function () {\n if (stateDurationReset !== undefined) {\n setStateDuration(stateDurationReset);\n setStateDurationReset(undefined);\n }\n }, [stateDurationReset]);\n return [stateAnimation, stateDuration];\n}\n\nexport { useResettableAnimation };","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestConsentGet = {\n path: \"/consent\",\n method: RouteHttpVerb.GET\n};","import { useEffect } from \"react\";\nimport { useBanner } from \"../contexts\";\nimport { parents } from \"@devowl-wp/headless-content-unblocker\";\nimport { matchingSelector } from \"@devowl-wp/resolve-none-computed-style\";\nvar HREF_MATCHER = '[href^=\"#consent-\"]';\n/**\n * Listen to anchor links and execute the banner action:\n *\n * ```\n * #consent-change\n * #consent-history\n * #consent-revoke\n * ```\n */\n\nfunction useBannerActionLinks() {\n var _useBanner = useBanner(),\n openBanner = _useBanner.openBanner,\n openHistory = _useBanner.openHistory,\n revokeConsent = _useBanner.revokeConsent;\n\n useEffect(function () {\n var handleType = function handleType(type, successMessage, e) {\n switch (type) {\n case \"change\":\n openBanner(e);\n break;\n\n case \"history\":\n openHistory(e);\n break;\n\n case \"revoke\":\n revokeConsent(successMessage, e);\n break;\n\n default:\n break;\n }\n };\n\n var eventListener = function eventListener(e) {\n if (!openBanner) {\n // `useBannerActions` is not yet initialized.\n return;\n } // Check if one of the parents has a valid hash link\n\n\n var element = e.target;\n parents(element, HREF_MATCHER).concat(matchingSelector(element, HREF_MATCHER) ? [element] : []).forEach(function (parent) {\n handleType(parent.getAttribute(\"href\").slice(9), parent.getAttribute(\"data-success-message\"), e);\n }); // @deprecated Old behavior with simple links like `#change`\n\n if (matchingSelector(element, \".rcb-sc-link\")) {\n handleType(element.getAttribute(\"href\").slice(1), element.getAttribute(\"data-success-message\"), e);\n }\n };\n\n document.addEventListener(\"click\", eventListener, true);\n return function () {\n document.removeEventListener(\"click\", eventListener, true);\n };\n }, [openBanner, openHistory, revokeConsent]);\n}\n\nexport { useBannerActionLinks };","import _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { useState, useEffect } from \"react\";\n\nfunction getAnimationRelatedState(_ref) {\n var isVisible = _ref.isVisible,\n animationIn = _ref.animationIn,\n animationOut = _ref.animationOut,\n animationInDuration = _ref.animationInDuration,\n animationOutDuration = _ref.animationOutDuration,\n animationInDelay = _ref.animationInDelay,\n animationOutDelay = _ref.animationOutDelay;\n return isVisible ? {\n animation: animationIn,\n duration: animationInDuration,\n delay: animationInDelay\n } : {\n animation: animationOut,\n duration: animationOutDuration,\n delay: animationOutDelay\n };\n}\n/**\n * Ported from https://www.npmjs.com/package/react-animated-css due to high bundle size.\n */\n\n\nvar AnimatedCss = function AnimatedCss(_ref2) {\n var _ref2$animateOnMount = _ref2.animateOnMount,\n animateOnMount = _ref2$animateOnMount === void 0 ? true : _ref2$animateOnMount,\n _ref2$isVisible = _ref2.isVisible,\n isVisible = _ref2$isVisible === void 0 ? true : _ref2$isVisible,\n _ref2$animationIn = _ref2.animationIn,\n animationIn = _ref2$animationIn === void 0 ? \"fadeIn\" : _ref2$animationIn,\n _ref2$animationOut = _ref2.animationOut,\n animationOut = _ref2$animationOut === void 0 ? \"fadeOut\" : _ref2$animationOut,\n _ref2$animationInDela = _ref2.animationInDelay,\n animationInDelay = _ref2$animationInDela === void 0 ? 0 : _ref2$animationInDela,\n _ref2$animationOutDel = _ref2.animationOutDelay,\n animationOutDelay = _ref2$animationOutDel === void 0 ? 0 : _ref2$animationOutDel,\n _ref2$animationInDura = _ref2.animationInDuration,\n animationInDuration = _ref2$animationInDura === void 0 ? 1000 : _ref2$animationInDura,\n _ref2$animationOutDur = _ref2.animationOutDuration,\n animationOutDuration = _ref2$animationOutDur === void 0 ? 1000 : _ref2$animationOutDur,\n _ref2$className = _ref2.className,\n className = _ref2$className === void 0 ? \"\" : _ref2$className,\n _ref2$style = _ref2.style,\n style = _ref2$style === void 0 ? {} : _ref2$style,\n children = _ref2.children;\n\n var _useState = useState(animateOnMount ? getAnimationRelatedState({\n isVisible: isVisible,\n animationIn: animationIn,\n animationOut: animationOut,\n animationInDelay: animationInDelay,\n animationOutDelay: animationOutDelay,\n animationInDuration: animationInDuration,\n animationOutDuration: animationOutDuration\n }) : {\n animation: \"\",\n delay: undefined,\n duration: 0\n }),\n _useState2 = _slicedToArray(_useState, 2),\n _useState2$ = _useState2[0],\n animation = _useState2$.animation,\n duration = _useState2$.duration,\n delay = _useState2$.delay,\n setAnimationRelatedState = _useState2[1];\n\n useEffect(function () {\n setAnimationRelatedState(getAnimationRelatedState({\n isVisible: isVisible,\n animationIn: animationIn,\n animationOut: animationOut,\n animationInDelay: animationInDelay,\n animationOutDelay: animationOutDelay,\n animationInDuration: animationInDuration,\n animationOutDuration: animationOutDuration\n }));\n }, [isVisible, animationIn, animationOut, animationInDelay, animationOutDelay, animationInDuration, animationOutDuration]);\n var classes = \"animate__animated animate__\".concat(animation, \" \").concat(className);\n var backwardStyle = !animation ? {\n opacity: isVisible ? 1 : 0,\n transition: \"opacity \".concat(delay, \"ms\")\n } : {};\n return h(\"div\", {\n className: classes,\n style: _objectSpread(_objectSpread({\n animationDelay: \"\".concat(delay, \"ms\"),\n animationDuration: \"\".concat(duration, \"ms\"),\n pointerEvents: isVisible ? \"all\" : \"none\"\n }, style), backwardStyle)\n }, children);\n};\n\nexport { AnimatedCss };","/**\n * Checks if the given banner is not visible due to legal settings.\n */\nfunction isHiddenDueLegal(banner) {\n var _banner$legal = banner.legal,\n imprint = _banner$legal.imprint,\n imprintHide = _banner$legal.imprintHide,\n privacyPolicy = _banner$legal.privacyPolicy,\n privacyPolicyHide = _banner$legal.privacyPolicyHide,\n pageId = banner.pageId;\n return [imprintHide && +imprint, privacyPolicyHide && +privacyPolicy].filter(Boolean).indexOf(pageId) > -1;\n}\n\nexport { isHiddenDueLegal };","import _extends from \"@babel/runtime/helpers/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { useState, useLayoutEffect, useEffect } from \"react\";\nimport { BannerContent, bannerOverlayInlineStyle, bannerOverlayInlineStyleAlignment, bannerContentInlineStyleInner } from \".\";\nimport { useBanner } from \"../../contexts\";\nimport { useRestrictScrollWhenVisible, useResettableAnimation, usePlainCss, useBannerActionType, useBannerActionLinks, useBannerAnimation } from \"../../hooks\";\nimport { AnimatedCss } from \"..\";\nimport { getOtherOptionsFromWindow } from \"../../utils\";\nimport { isHiddenDueLegal } from \"../../others\";\nimport { dispatchResizeEvent } from \"@devowl-wp/headless-content-unblocker\";\n\nvar BannerAnimation = function BannerAnimation() {\n var banner = useBanner();\n var _banner$layout = banner.layout,\n animationInDuration = _banner$layout.animationInDuration,\n animationOutDuration = _banner$layout.animationOutDuration,\n animationVisible = banner.animationVisible;\n\n var _useBannerAnimation = useBannerAnimation()(banner.layout),\n useAnimationIn = _useBannerAnimation.useAnimationIn,\n useAnimationOut = _useBannerAnimation.useAnimationOut;\n\n var _useResettableAnimati = useResettableAnimation(useAnimationIn, animationInDuration),\n _useResettableAnimati2 = _slicedToArray(_useResettableAnimati, 2),\n stateAnimationIn = _useResettableAnimati2[0],\n stateAnimationInDuration = _useResettableAnimati2[1];\n\n var _useResettableAnimati3 = useResettableAnimation(useAnimationOut === \"none\" ? \"fadeOut\" : useAnimationOut, useAnimationOut === \"none\" ? 0 : animationOutDuration),\n _useResettableAnimati4 = _slicedToArray(_useResettableAnimati3, 2),\n stateAnimationOut = _useResettableAnimati4[0],\n stateAnimationOutDuration = _useResettableAnimati4[1];\n\n return h(AnimatedCss, _extends({\n animationIn: stateAnimationIn,\n animationInDuration: stateAnimationInDuration,\n animationOut: stateAnimationOut,\n animationOutDuration: stateAnimationOutDuration,\n isVisible: animationVisible\n }, bannerContentInlineStyleInner(banner)), h(BannerContent, null));\n};\n\nvar Banner = function Banner() {\n var banner = useBanner();\n\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n isPro = _getOtherOptionsFromW.isPro;\n\n var _banner$layout2 = banner.layout,\n overlay = _banner$layout2.overlay,\n overlayBlur = _banner$layout2.overlayBlur,\n _banner$customCss = banner.customCss,\n antiAdBlocker = _banner$customCss.antiAdBlocker,\n css = _banner$customCss.css,\n visible = banner.visible,\n animationVisible = banner.animationVisible,\n activeAction = banner.activeAction,\n skipOverlay = banner.skipOverlay,\n gotHiddenDueLegal = banner.gotHiddenDueLegal,\n pageRequestUuid4 = banner.pageRequestUuid4,\n individualPrivacyOpen = banner.individualPrivacyOpen;\n var hiddenDueLegal = isHiddenDueLegal(banner);\n var show = visible && !hiddenDueLegal || !!activeAction;\n usePlainCss(antiAdBlocker ? css : \"\");\n usePlainCss(\"#\".concat(pageRequestUuid4, \", #\").concat(pageRequestUuid4, \" * {box-sizing: border-box;backface-visibility:initial;}\")); // Blur effect\n\n if (isPro) {\n /* Silence is golden... Until you have PRO Version! */\n }\n\n useRestrictScrollWhenVisible(show && overlay && animationVisible); // Listen to window resizes and resize the content automatically\n\n var _useState = useState(0),\n _useState2 = _slicedToArray(_useState, 2),\n setInvalidate = _useState2[1];\n\n var updateSize = function updateSize() {\n return setInvalidate(+new Date());\n };\n\n useLayoutEffect(function () {\n window.addEventListener(\"resize\", updateSize);\n return function () {\n return window.removeEventListener(\"resize\", updateSize);\n };\n }, []);\n useLayoutEffect(function () {\n dispatchResizeEvent(1000);\n }, [animationVisible, individualPrivacyOpen]); // When changes to the legal settings are done, make the banner visible or hide\n\n gotHiddenDueLegal && useEffect(function () {\n gotHiddenDueLegal(hiddenDueLegal);\n }, [hiddenDueLegal]);\n useBannerActionType();\n useBannerActionLinks();\n\n if (!show) {\n return null;\n }\n\n var content = h(\"div\", bannerOverlayInlineStyleAlignment(banner), h(BannerAnimation, null));\n return skipOverlay ? content : h(\"div\", _extends({\n id: pageRequestUuid4\n }, bannerOverlayInlineStyle(banner)), content);\n};\n\nexport { Banner };","import _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport { bannerInlineStylesScale } from \"..\";\nimport { calculateOverlay } from \"../../../../utils\";\n\nfunction bannerContentInlineStyleInner(_ref) {\n var _ref$layout = _ref.layout,\n type = _ref$layout.type,\n dialogMaxWidth = _ref$layout.dialogMaxWidth,\n dialogPosition = _ref$layout.dialogPosition,\n dialogMargin = _ref$layout.dialogMargin,\n bannerPosition = _ref$layout.bannerPosition,\n dialogBorderRadius = _ref$layout.dialogBorderRadius,\n _ref$design = _ref.design,\n borderWidth = _ref$design.borderWidth,\n borderColor = _ref$design.borderColor,\n textAlign = _ref$design.textAlign,\n fontColor = _ref$design.fontColor,\n fontInheritFamily = _ref$design.fontInheritFamily,\n fontFamily = _ref$design.fontFamily,\n fontWeight = _ref$design.fontWeight,\n boxShadowEnabled = _ref$design.boxShadowEnabled,\n boxShadowOffsetX = _ref$design.boxShadowOffsetX,\n boxShadowOffsetY = _ref$design.boxShadowOffsetY,\n boxShadowBlurRadius = _ref$design.boxShadowBlurRadius,\n boxShadowSpreadRadius = _ref$design.boxShadowSpreadRadius,\n boxShadowColor = _ref$design.boxShadowColor,\n boxShadowColorAlpha = _ref$design.boxShadowColorAlpha,\n individualLayout = _ref.individualLayout,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4,\n individualPrivacyOpen = _ref.individualPrivacyOpen;\n var mobileAlignment = mobile.alignment;\n var useType = bannerInlineStylesScale(mobile, pageRequestUuid4, type, \"banner\");\n var useBorderWidth = bannerInlineStylesScale(mobile, pageRequestUuid4, borderWidth);\n var width = useType === \"dialog\" ? +(individualPrivacyOpen && !individualLayout.inheritDialogMaxWidth ? individualLayout.dialogMaxWidth : dialogMaxWidth) : \"100%\";\n\n var style = _defineProperty({\n pointerEvents: \"all\",\n transition: \"width 500ms, max-width 500ms\",\n maxWidth: width,\n textAlign: textAlign,\n width: width,\n overflow: \"hidden\",\n alignSelf: bannerInlineStylesScale(mobile, pageRequestUuid4, useType === \"banner\" ? bannerPosition === \"top\" ? \"flex-start\" : \"flex-end\" : undefined, mobileAlignment === \"bottom\" ? \"flex-end\" : mobileAlignment === \"top\" ? \"flex-start\" : \"center\"),\n fontFamily: fontInheritFamily ? undefined : fontFamily,\n fontWeight: fontWeight,\n color: fontColor,\n margin: useType === \"dialog\" ? 10 : undefined,\n borderRadius: useType === \"dialog\" ? +dialogBorderRadius : undefined,\n boxShadow: boxShadowEnabled ? \"\".concat(boxShadowOffsetX, \"px \").concat(boxShadowOffsetY, \"px \").concat(boxShadowBlurRadius, \"px \").concat(boxShadowSpreadRadius, \"px \").concat(calculateOverlay(boxShadowColor, boxShadowColorAlpha)) : undefined\n }, useType === \"banner\" ? bannerPosition === \"top\" ? \"borderBottom\" : \"borderTop\" : \"border\", useType === \"banner\" ? useBorderWidth > 0 ? \"\".concat(useBorderWidth, \"px solid \").concat(borderColor) : undefined : undefined);\n\n if (useType === \"dialog\" && dialogPosition !== \"middleCenter\") {\n style.margin = dialogMargin.map(function (i) {\n return \"\".concat(i, \"px\");\n }).join(\" \");\n }\n\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-inner\",\n style: style\n };\n}\n\nexport { bannerContentInlineStyleInner };","import { useEffect } from \"react\";\n/**\n * Do not allow scrolling when this banner is visible\n *\n * @param visible\n */\n\nfunction useRestrictScrollWhenVisible(visible) {\n return useEffect(function () {\n var _document$body = document.body,\n dataset = _document$body.dataset,\n style = _document$body.style; // Save first state\n\n if (dataset.rcbPreviousOverflow === undefined) {\n dataset.rcbPreviousOverflow = style.overflow;\n }\n\n style.overflow = visible ? \"hidden\" : dataset.rcbPreviousOverflow;\n document.body.parentElement.style.overflow = style.overflow;\n }, [visible]);\n}\n\nexport { useRestrictScrollWhenVisible };","import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { useEffect, useState } from \"react\";\nimport { useBanner } from \"../contexts\";\nimport { getOptionsFromWindow } from \"../utils\";\nimport { locationRestConsentGet } from \"../wp-api\";\nimport { commonRequest } from \"@devowl-wp/utils\";\n/**\n * Populate the banner depending on the active action. This handles the following things:\n *\n * - History\n * - Change\n * - Revoke\n */\n\nfunction useBannerActionType() {\n var banner = useBanner();\n var consent = banner.consent,\n groups = banner.groups,\n tcf = banner.tcf,\n activeAction = banner.activeAction,\n selectHistoryEntry = banner.selectHistoryEntry,\n setHistory = banner.setHistory; // Save the current consent and group settings to restore\n\n var _useState = useState({\n consent: consent,\n groups: groups,\n tcf: tcf\n }),\n _useState2 = _slicedToArray(_useState, 2),\n originalConsent = _useState2[0],\n setOriginalConsent = _useState2[1]; // Listen to consent changes and save it as original consent (only when non-history)\n\n\n useEffect(function () {\n if (!activeAction) {\n setOriginalConsent({\n consent: consent,\n groups: groups,\n tcf: tcf\n });\n }\n }, [consent, groups, tcf, activeAction]);\n useEffect(function () {\n function fetch() {\n return _fetch.apply(this, arguments);\n }\n\n function _fetch() {\n _fetch = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {\n var _getOptionsFromWindow, restNamespace, restRoot, restQuery, restNonce, result, _result, _result$, _groups2, decision, _tcf2;\n\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n _getOptionsFromWindow = getOptionsFromWindow(), restNamespace = _getOptionsFromWindow.restNamespace, restRoot = _getOptionsFromWindow.restRoot, restQuery = _getOptionsFromWindow.restQuery, restNonce = _getOptionsFromWindow.restNonce;\n _context.next = 3;\n return commonRequest({\n location: locationRestConsentGet,\n options: {\n restNamespace: restNamespace,\n restRoot: restRoot,\n restQuery: restQuery,\n restNonce: restNonce\n },\n sendRestNonce: false\n });\n\n case 3:\n result = _context.sent;\n setHistory(result); // Initially select first item\n\n if (result.length) {\n _result = _slicedToArray(result, 1), _result$ = _result[0], _groups2 = _result$.groups, decision = _result$.decision, _tcf2 = _result$.tcf;\n selectHistoryEntry(_groups2, decision, _tcf2);\n } else {\n selectHistoryEntry([], []);\n }\n\n case 6:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n return _fetch.apply(this, arguments);\n }\n\n if (activeAction === \"history\") {\n // Save state of original consent\n setOriginalConsent({\n consent: consent,\n groups: groups,\n tcf: tcf\n });\n fetch();\n } else {\n // If we close the history, restore the original state\n var _groups = originalConsent.groups,\n consentGroups = originalConsent.consent.groups,\n _tcf = originalConsent.tcf;\n selectHistoryEntry === null || selectHistoryEntry === void 0 ? void 0 : selectHistoryEntry(_groups, consentGroups, _tcf);\n }\n }, [activeAction]);\n}\n\nexport { useBannerActionType };","import { bannerInlineStylesScale } from \"..\";\n\nfunction bannerOverlayInlineStyleAlignment(_ref) {\n var _ref$layout = _ref.layout,\n type = _ref$layout.type,\n dialogPosition = _ref$layout.dialogPosition,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n var style = {\n display: \"flex\",\n width: \"100%\",\n height: \"100%\"\n };\n\n if (bannerInlineStylesScale(mobile, pageRequestUuid4, type, \"banner\") === \"dialog\") {\n style.alignItems = dialogPosition.startsWith(\"top\") ? \"flex-start\" : dialogPosition.startsWith(\"bottom\") ? \"flex-end\" : \"center\";\n style.justifyContent = dialogPosition.endsWith(\"Center\") ? \"center\" : dialogPosition.endsWith(\"Left\") ? \"flex-start\" : \"flex-end\";\n }\n\n return {\n className: \"wp-exclude-emoji \".concat(antiAdBlocker === \"y\" ? \"\" : \"rcb-align\"),\n style: style\n };\n}\n\nexport { bannerOverlayInlineStyleAlignment };","import { calculateOverlay } from \"../../../../utils\";\nimport { bannerInlineStylesScale } from \"..\";\n/**\n * This method needs to be ported to Banner.php#wp_footer, too!\n */\n\nfunction bannerOverlayInlineStyle(_ref) {\n var _ref$layout = _ref.layout,\n type = _ref$layout.type,\n overlay = _ref$layout.overlay,\n overlayBg = _ref$layout.overlayBg,\n overlayBgAlpha = _ref$layout.overlayBgAlpha,\n fontSize = _ref.design.fontSize,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-bann3r rcb-bann3r-\".concat(bannerInlineStylesScale(mobile, pageRequestUuid4, type, \"banner\"), \" \").concat(overlay ? \"\" : \"overlay-deactivated\"),\n style: {\n background: overlay ? calculateOverlay(overlayBg, overlayBgAlpha) : \"none\",\n position: \"fixed\",\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n zIndex: 99999,\n pointerEvents: overlay ? \"all\" : \"none\",\n fontSize: bannerInlineStylesScale(mobile, pageRequestUuid4, +fontSize),\n filter: \"none\"\n }\n };\n}\n\nexport { bannerOverlayInlineStyle };","import _createForOfIteratorHelper from \"@babel/runtime/helpers/createForOfIteratorHelper\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { getOtherOptionsFromWindow } from \"../utils\";\n/**\n * Get the default decision and respect essential group and legitimate interests.\n */\n\nfunction getDefaultDecision() {\n var respectLegitimateInterests = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;\n\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n groups = _getOtherOptionsFromW.groups,\n essentialGroup = _getOtherOptionsFromW.essentialGroup;\n\n var _groups$filter = groups.filter(function (_ref) {\n var slug = _ref.slug;\n return slug === essentialGroup;\n }),\n _groups$filter2 = _slicedToArray(_groups$filter, 1),\n essentialGroupObj = _groups$filter2[0]; // We need always use the current essential group\n\n\n var result = _defineProperty({}, essentialGroupObj.id, essentialGroupObj.items.map(function (_ref2) {\n var id = _ref2.id;\n return id;\n }));\n\n if (respectLegitimateInterests) {\n var _iterator = _createForOfIteratorHelper(groups),\n _step;\n\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var group = _step.value;\n\n if (group === essentialGroupObj) {\n continue;\n }\n\n var ids = group.items.filter(function (_ref3) {\n var legalBasis = _ref3.legalBasis;\n return legalBasis === \"legitimate-interest\";\n }).map(function (_ref4) {\n var id = _ref4.id;\n return id;\n });\n\n if (ids.length) {\n result[group.id] = ids;\n }\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n }\n\n return result;\n}\n\nexport { getDefaultDecision };","import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { supportsCookies } from \"../../../utils\";\n\n/**\n * Does the current browser support cookies?\n */\nvar preDecisionGatewaySupportsCookies = /*#__PURE__*/function () {\n var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n return _context.abrupt(\"return\", supportsCookies() ? false : \"essentials\");\n\n case 1:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n\n return function preDecisionGatewaySupportsCookies() {\n return _ref.apply(this, arguments);\n };\n}();\n\nexport { preDecisionGatewaySupportsCookies };","import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\n\n/**\n * Do not show cookie banner for a certain page, e.g. the login page.\n */\nvar preDecisionGatewayHasPageClass = /*#__PURE__*/function () {\n var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {\n var className;\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n className = document.body.className;\n return _context.abrupt(\"return\", className.indexOf(\"login-action-\") > -1 ? \"consent\" : false);\n\n case 2:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n\n return function preDecisionGatewayHasPageClass() {\n return _ref.apply(this, arguments);\n };\n}();\n\nexport { preDecisionGatewayHasPageClass };","import isbot from \"isbot\";\n/**\n * Is the current browser a spider / crawler?\n */\n\nfunction isCrawler() {\n var _navigator = navigator,\n userAgent = _navigator.userAgent;\n\n if (userAgent) {\n // Lighthouse / Google PageSpeed isn't currently a bot (https://git.io/J3r5z)\n if (/chrome-lighthouse/i.test(userAgent)) {\n return false;\n }\n\n return isbot(userAgent);\n }\n\n return false;\n}\n\nexport { isCrawler };","/**\n * Let a `Promise` be rejected after a given amount of time.\n */\nfunction promiseTimeout(promise, ms) {\n return new Promise(function (resolve, reject) {\n promise.then(resolve, reject);\n var e = new Error(\"Timed out\");\n setTimeout(reject, ms, e);\n });\n}\n\nexport { promiseTimeout };","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestConsentDynamicPredecisionGet = {\n path: \"/consent/dynamic-predecision\",\n method: RouteHttpVerb.GET\n};","import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { getOptionsFromWindow, isCrawler, promiseTimeout } from \"../../../utils\";\nimport { getUserDecision } from \"../..\";\nimport { locationRestConsentDynamicPredecisionGet } from \"../../../wp-api\";\nimport { commonRequest } from \"@devowl-wp/utils\";\n/**\n * Dynamically allow to get a predecision with a extra request to our REST API.\n */\n\nvar preDecisionGatewayDynamicRequest = /*#__PURE__*/function () {\n var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {\n var _getOptionsFromWindow, restNamespace, restRoot, restQuery, restNonce, _getOptionsFromWindow2, revisionHash, hasDynamicPreDecisions, decision, revision, _document$documentEle, clientWidth, clientHeight, _yield$promiseTimeout, predecision;\n\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n _getOptionsFromWindow = getOptionsFromWindow(), restNamespace = _getOptionsFromWindow.restNamespace, restRoot = _getOptionsFromWindow.restRoot, restQuery = _getOptionsFromWindow.restQuery, restNonce = _getOptionsFromWindow.restNonce, _getOptionsFromWindow2 = _getOptionsFromWindow.others, revisionHash = _getOptionsFromWindow2.revisionHash, hasDynamicPreDecisions = _getOptionsFromWindow2.hasDynamicPreDecisions;\n\n if (!(isCrawler() || !hasDynamicPreDecisions)) {\n _context.next = 3;\n break;\n }\n\n return _context.abrupt(\"return\", false);\n\n case 3:\n // Check if revision has changed, and probably access our dynamic predecision again\n decision = getUserDecision();\n\n if (!decision) {\n _context.next = 8;\n break;\n }\n\n revision = decision.revision;\n\n if (!(revisionHash === revision)) {\n _context.next = 8;\n break;\n }\n\n return _context.abrupt(\"return\", \"consent\");\n\n case 8:\n _document$documentEle = document.documentElement, clientWidth = _document$documentEle.clientWidth, clientHeight = _document$documentEle.clientHeight;\n _context.prev = 9;\n _context.next = 12;\n return promiseTimeout(commonRequest({\n location: locationRestConsentDynamicPredecisionGet,\n options: {\n restNamespace: restNamespace,\n restRoot: restRoot,\n restQuery: restQuery,\n restNonce: restNonce\n },\n sendRestNonce: false,\n request: {\n viewPortWidth: clientWidth,\n viewPortHeight: clientHeight\n },\n params: {\n _wp_http_referer: window.location.href\n }\n }), 10000);\n\n case 12:\n _yield$promiseTimeout = _context.sent;\n predecision = _yield$promiseTimeout.predecision;\n return _context.abrupt(\"return\", predecision);\n\n case 17:\n _context.prev = 17;\n _context.t0 = _context[\"catch\"](9);\n return _context.abrupt(\"return\", false);\n\n case 20:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, null, [[9, 17]]);\n }));\n\n return function preDecisionGatewayDynamicRequest() {\n return _ref.apply(this, arguments);\n };\n}();\n\nexport { preDecisionGatewayDynamicRequest };","import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { isHiddenDueLegal } from \"..\";\n/**\n * Is the page currently a legal site?\n */\n\nvar preDecisionGatewayIsHiddenDueLegal = /*#__PURE__*/function () {\n var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(banner) {\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n return _context.abrupt(\"return\", isHiddenDueLegal(banner) ? \"consent\" : false);\n\n case 1:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n\n return function preDecisionGatewayIsHiddenDueLegal(_x) {\n return _ref.apply(this, arguments);\n };\n}();\n\nexport { preDecisionGatewayIsHiddenDueLegal };","import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { getOtherOptionsFromWindow, isCrawler } from \"../../../utils\";\nimport { getUserDecision } from \"../../getUserDecision\";\n/**\n * When the server decides to not predecision anything e. g. due to\n * legal settings (privacy policy, imprint, hide on additional pages) or\n * the login page.\n */\n\nvar preDecisionGatewayIsPreventPreDecision = /*#__PURE__*/function () {\n var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {\n var other, userDecision;\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n other = getOtherOptionsFromWindow();\n userDecision = getUserDecision();\n return _context.abrupt(\"return\", other.isPreventPreDecision && userDecision === false ? isCrawler() ? // For crawlers we need to explictely allow cookies on all pages\n \"all\" : \"consent\" : false);\n\n case 3:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n\n return function preDecisionGatewayIsPreventPreDecision() {\n return _ref.apply(this, arguments);\n };\n}();\n\nexport { preDecisionGatewayIsPreventPreDecision };","import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { getOtherOptionsFromWindow, isCrawler } from \"../../../utils\";\nimport { getUserDecision } from \"../..\";\n/**\n * Is the current request from a spider / crawler?\n */\n\nvar preDecisionGatewayIsCrawler = /*#__PURE__*/function () {\n var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {\n var _getOtherOptionsFromW, isAcceptAllForBots;\n\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n _getOtherOptionsFromW = getOtherOptionsFromWindow(), isAcceptAllForBots = _getOtherOptionsFromW.isAcceptAllForBots;\n\n if (!(getUserDecision() !== false || !isAcceptAllForBots)) {\n _context.next = 3;\n break;\n }\n\n return _context.abrupt(\"return\", false);\n\n case 3:\n return _context.abrupt(\"return\", isCrawler() ? \"all\" : false);\n\n case 4:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n\n return function preDecisionGatewayIsCrawler() {\n return _ref.apply(this, arguments);\n };\n}();\n\nexport { preDecisionGatewayIsCrawler };","/**\n * Checks if the given browser is requesting \"Do Not Track\" header.\n *\n * @see https://dev.to/corbindavenport/how-to-correctly-check-for-do-not-track-with-javascript-135d\n */\nfunction isDoNotTrack() {\n try {\n var w = window;\n\n if (w.doNotTrack || w.navigator.doNotTrack || w.navigator.msDoNotTrack || \"msTrackingProtectionEnabled\" in w.external) {\n // The browser supports Do Not Track!\n if (w.doNotTrack == \"1\" || w.navigator.doNotTrack == \"yes\" || w.navigator.doNotTrack == \"1\" || w.navigator.msDoNotTrack == \"1\" || w.external.msTrackingProtectionEnabled()) {\n return true;\n }\n }\n } catch (e) {// Silence is golden.\n }\n\n return false;\n}\n\nexport { isDoNotTrack };","import _createForOfIteratorHelper from \"@babel/runtime/helpers/createForOfIteratorHelper\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { isDoNotTrack, getOtherOptionsFromWindow } from \"../../../utils\";\nimport { getUserDecision } from \"../../getUserDecision\";\n/**\n * When the user has \"Do not track\" enabled and is allowed to use, let's\n * automatically save the dialog without any action.\n */\n\nvar preDecisionGatewayIsDoNotTrack = /*#__PURE__*/function () {\n var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {\n var _getOtherOptionsFromW, isRespectDoNotTrack, groups, essentialGroup, _groups$filter, _groups$filter2, essentialGroupObj, _iterator, _step, group, _iterator2, _step2, item;\n\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n _getOtherOptionsFromW = getOtherOptionsFromWindow(), isRespectDoNotTrack = _getOtherOptionsFromW.isRespectDoNotTrack, groups = _getOtherOptionsFromW.groups, essentialGroup = _getOtherOptionsFromW.essentialGroup;\n _groups$filter = groups.filter(function (_ref2) {\n var slug = _ref2.slug;\n return slug === essentialGroup;\n }), _groups$filter2 = _slicedToArray(_groups$filter, 1), essentialGroupObj = _groups$filter2[0];\n\n if (!(getUserDecision() !== false || !isRespectDoNotTrack)) {\n _context.next = 4;\n break;\n }\n\n return _context.abrupt(\"return\", false);\n\n case 4:\n // As soon we have a legitimate interest, we need to show the cookie banner\n _iterator = _createForOfIteratorHelper(groups);\n _context.prev = 5;\n\n _iterator.s();\n\n case 7:\n if ((_step = _iterator.n()).done) {\n _context.next = 29;\n break;\n }\n\n group = _step.value;\n\n if (!(group !== essentialGroupObj)) {\n _context.next = 27;\n break;\n }\n\n _iterator2 = _createForOfIteratorHelper(group.items);\n _context.prev = 11;\n\n _iterator2.s();\n\n case 13:\n if ((_step2 = _iterator2.n()).done) {\n _context.next = 19;\n break;\n }\n\n item = _step2.value;\n\n if (!(item.legalBasis === \"legitimate-interest\")) {\n _context.next = 17;\n break;\n }\n\n return _context.abrupt(\"return\", false);\n\n case 17:\n _context.next = 13;\n break;\n\n case 19:\n _context.next = 24;\n break;\n\n case 21:\n _context.prev = 21;\n _context.t0 = _context[\"catch\"](11);\n\n _iterator2.e(_context.t0);\n\n case 24:\n _context.prev = 24;\n\n _iterator2.f();\n\n return _context.finish(24);\n\n case 27:\n _context.next = 7;\n break;\n\n case 29:\n _context.next = 34;\n break;\n\n case 31:\n _context.prev = 31;\n _context.t1 = _context[\"catch\"](5);\n\n _iterator.e(_context.t1);\n\n case 34:\n _context.prev = 34;\n\n _iterator.f();\n\n return _context.finish(34);\n\n case 37:\n return _context.abrupt(\"return\", isDoNotTrack() ? \"dnt\" : false);\n\n case 38:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, null, [[5, 31, 34, 37], [11, 21, 24, 27]]);\n }));\n\n return function preDecisionGatewayIsDoNotTrack() {\n return _ref.apply(this, arguments);\n };\n}();\n\nexport { preDecisionGatewayIsDoNotTrack };","import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { getOtherOptionsFromWindow } from \"../../../utils\";\nimport { getUserDecision } from \"../../getUserDecision\";\n/**\n * Has the user already consent to the latest revision settings?\n */\n\nvar preDecisionGatewayUserConsent = /*#__PURE__*/function () {\n var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {\n var decision, revision, _getOtherOptionsFromW, revisionHash;\n\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n decision = getUserDecision();\n\n if (!(decision === false)) {\n _context.next = 3;\n break;\n }\n\n return _context.abrupt(\"return\", false);\n\n case 3:\n revision = decision.revision;\n _getOtherOptionsFromW = getOtherOptionsFromWindow(), revisionHash = _getOtherOptionsFromW.revisionHash;\n return _context.abrupt(\"return\", revisionHash === revision ? \"consent\" : false);\n\n case 6:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n\n return function preDecisionGatewayUserConsent() {\n return _ref.apply(this, arguments);\n };\n}();\n\nexport { preDecisionGatewayUserConsent };","import _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { useEffect } from \"react\";\nimport { useState } from \"react\";\nimport { Banner } from \"./banner\";\nimport { getOtherOptionsFromWindow } from \"../utils\";\nimport { BannerContextFactory } from \"../contexts\";\nimport { useWebsiteBannerOverlay, useBannerActions, useBannerPreDecisionGateway, useTcf } from \"../hooks\";\nimport { applyConsent, getUserDecision, getDefaultDecision } from \"../others\";\nimport { prepareTcfString, restoreTcf } from \"../tcf\";\nimport { OPT_IN_ALL_EVENT } from \"../types\";\n/**\n * Simply connects a context store to the banner itself. On the website itself\n * it should not rely\n */\n\nvar WebsiteBanner = function WebsiteBanner(_ref) {\n var poweredLink = _ref.poweredLink;\n var userDecision = getUserDecision();\n\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n _getOtherOptionsFromW2 = _getOtherOptionsFromW.customizeValuesBanner,\n layout = _getOtherOptionsFromW2.layout,\n decision = _getOtherOptionsFromW2.decision,\n legal = _getOtherOptionsFromW2.legal,\n design = _getOtherOptionsFromW2.design,\n headerDesign = _getOtherOptionsFromW2.headerDesign,\n bodyDesign = _getOtherOptionsFromW2.bodyDesign,\n footerDesign = _getOtherOptionsFromW2.footerDesign,\n texts = _getOtherOptionsFromW2.texts,\n individualLayout = _getOtherOptionsFromW2.individualLayout,\n saveButton = _getOtherOptionsFromW2.saveButton,\n group = _getOtherOptionsFromW2.group,\n individualTexts = _getOtherOptionsFromW2.individualTexts,\n customCss = _getOtherOptionsFromW2.customCss,\n mobile = _getOtherOptionsFromW2.mobile,\n pageId = _getOtherOptionsFromW.pageId,\n pageRequestUuid4 = _getOtherOptionsFromW.pageRequestUuid4,\n pageIdToPermalink = _getOtherOptionsFromW.pageIdToPermalink,\n consentForwardingExternalHosts = _getOtherOptionsFromW.consentForwardingExternalHosts,\n essentialGroup = _getOtherOptionsFromW.essentialGroup,\n isTcf = _getOtherOptionsFromW.isTcf,\n isEPrivacyUSA = _getOtherOptionsFromW.isEPrivacyUSA,\n isAgeNotice = _getOtherOptionsFromW.isAgeNotice,\n tcf = _getOtherOptionsFromW.tcf,\n tcfMetadata = _getOtherOptionsFromW.tcfMetadata,\n groups = _getOtherOptionsFromW.groups,\n isRefreshSiteAfterConsent = _getOtherOptionsFromW.isRefreshSiteAfterConsent; // TCF compatibility\n\n\n var tcfObject = useTcf(isTcf, tcf, tcfMetadata); // Server-side rendered overlay handler\n\n var _useWebsiteBannerOver = useWebsiteBannerOverlay(),\n toggleOverlay = _useWebsiteBannerOver.toggleOverlay; // Context values preparation\n\n\n var _useState = useState({\n layout: _objectSpread({}, layout),\n decision: _objectSpread({}, decision),\n legal: _objectSpread({}, legal),\n design: _objectSpread({}, design),\n headerDesign: _objectSpread({}, headerDesign),\n bodyDesign: _objectSpread({}, bodyDesign),\n footerDesign: _objectSpread({}, footerDesign),\n texts: _objectSpread({}, texts),\n individualLayout: _objectSpread({}, individualLayout),\n saveButton: _objectSpread({}, saveButton),\n group: _objectSpread({}, group),\n individualTexts: _objectSpread({}, individualTexts),\n customCss: _objectSpread({}, customCss),\n mobile: _objectSpread({}, mobile),\n pageRequestUuid4: pageRequestUuid4,\n pageIdToPermalink: pageIdToPermalink,\n consentForwardingExternalHosts: consentForwardingExternalHosts,\n pageId: pageId,\n isTcf: isTcf,\n ePrivacyUSA: isEPrivacyUSA,\n ageNotice: isAgeNotice,\n tcf: tcfObject,\n tcfFilterBy: \"legInt\",\n updateTcfFilterBy: function updateTcfFilterBy(newFilter) {\n setContextValue(function (state) {\n return _objectSpread(_objectSpread({}, state), {}, {\n tcfFilterBy: newFilter\n });\n });\n },\n groups: groups,\n essentialGroup: essentialGroup,\n poweredLink: poweredLink,\n visible: false,\n animationVisible: true,\n skipOverlay: true,\n previewCheckboxActiveState: false,\n individualPrivacyOpen: false,\n updateIndividualPrivacyOpen: function updateIndividualPrivacyOpen(opened) {\n setContextValue(function (state) {\n return _objectSpread(_objectSpread({}, state), {}, {\n individualPrivacyOpen: opened\n });\n });\n },\n consent: {\n groups: _objectSpread(_objectSpread({}, userDecision === false ? {} : userDecision.consent), getDefaultDecision(userDecision === false))\n },\n didGroupFirstChange: false,\n updateGroupChecked: function updateGroupChecked(id, checked) {\n setContextValue(function (state) {\n var newConsent = JSON.parse(JSON.stringify(state.consent));\n\n if (checked) {\n newConsent.groups[id] = state.groups.filter(function (group) {\n return group.id === id;\n })[0].items.map(function (_ref2) {\n var id = _ref2.id;\n return id;\n });\n } else {\n delete newConsent.groups[id];\n }\n\n return _objectSpread(_objectSpread({}, state), {}, {\n consent: newConsent,\n didGroupFirstChange: true\n });\n });\n },\n updateCookieChecked: function updateCookieChecked(groupId, id, checked) {\n setContextValue(function (state) {\n var newConsent = JSON.parse(JSON.stringify(state.consent)); // Initially create \"selected\" cookies\n\n // Initially create \"selected\" cookies\n if (!newConsent.groups[groupId]) {\n newConsent.groups[groupId] = [];\n }\n\n var cookieIds = newConsent.groups[groupId];\n var indexOf = cookieIds.indexOf(id);\n\n if (checked && indexOf === -1) {\n cookieIds.push(id);\n } else if (!checked && indexOf > -1) {\n cookieIds.splice(indexOf, 1);\n } // Delete group entirely when no cookies selected\n\n\n // Delete group entirely when no cookies selected\n if (!cookieIds.length) {\n delete newConsent.groups[groupId];\n }\n\n return _objectSpread(_objectSpread({}, state), {}, {\n consent: newConsent\n });\n });\n },\n onSave: function onSave(markAsDoNotTrack, buttonClicked) {\n setContextValue(function (state) {\n var _state$tcf;\n\n // TCF compatibility: persist TCF string\n var tcfString;\n\n if (process.env.IS_TCF === \"1\" && isTcf && (_state$tcf = state.tcf) !== null && _state$tcf !== void 0 && _state$tcf.model) {\n tcfString = prepareTcfString(state.tcf.model, buttonClicked);\n }\n\n var appliedConsent = applyConsent({\n consent: state.consent,\n markAsDoNotTrack: markAsDoNotTrack,\n buttonClicked: buttonClicked,\n tcfString: tcfString\n });\n\n if (isRefreshSiteAfterConsent || state.refreshSiteAfterSave) {\n appliedConsent.then(function () {\n return (// Fix iOS / Safari bug when we want to reload the page after a POST request\n setTimeout(function () {\n return window.location.reload();\n }, state.refreshSiteAfterSave ||\n /* BC */\n 2000)\n );\n }); // When refreshing the site, do not show any out animation\n\n // When refreshing the site, do not show any out animation\n return state;\n } else {\n return _objectSpread(_objectSpread({}, state), toggleOverlay(state, false));\n }\n });\n },\n onClose: function onClose() {\n setContextValue(function (state) {\n return _objectSpread(_objectSpread(_objectSpread({}, state), toggleOverlay(state, false)), {}, {\n // This should be set always by you again as it is one-time\n refreshSiteAfterSave: false\n });\n });\n },\n setHistory: function setHistory(history) {\n setContextValue(function (state) {\n return _objectSpread(_objectSpread({}, state), {}, {\n history: history\n });\n });\n },\n selectHistoryEntry: function selectHistoryEntry(groups, consentGroups, tcf) {\n setContextValue(function (state) {\n var additionalChanges = {\n // In case we previously used non-TCF functionality, do not show the TCF banner\n isTcf: !!tcf,\n tcf: null\n };\n\n if (process.env.IS_TCF === \"1\" && tcf) {\n Object.assign(additionalChanges, {\n tcf: \"gvl\" in tcf ? tcf : restoreTcf(tcf)\n });\n }\n\n return _objectSpread(_objectSpread({}, state), {}, {\n groups: groups,\n consent: _objectSpread(_objectSpread({}, state.consent), {}, {\n groups: consentGroups\n })\n }, additionalChanges);\n });\n }\n }),\n _useState2 = _slicedToArray(_useState, 2),\n contextValue = _useState2[0],\n setContextValue = _useState2[1]; // Directly modify the context value as the actions are memorized and should not trigger a rerendering\n\n\n useBannerActions(setContextValue, toggleOverlay);\n useBannerPreDecisionGateway(contextValue, setContextValue, toggleOverlay); // Listen to consent adjustments\n\n useEffect(function () {\n var listener = function listener() {\n var consent = getUserDecision();\n consent && setContextValue(function (state) {\n return _objectSpread(_objectSpread({}, state), {}, {\n consent: {\n groups: consent.consent\n }\n });\n });\n };\n\n document.addEventListener(OPT_IN_ALL_EVENT, listener);\n return function () {\n document.removeEventListener(OPT_IN_ALL_EVENT, listener);\n };\n }, []);\n var BannerContext = BannerContextFactory.Context();\n return h(BannerContext.Provider, {\n value: contextValue\n }, h(Banner, null));\n};\n\nexport { WebsiteBanner };","import { useMemo } from \"react\";\nimport { applyModelMetadata, applyRestrictivePurposes, prepareTcfString, restoreTcf, getCurrentTcfStringFromCookie } from \"../tcf\";\n\n/**\n * Merges the localized `tcf` and `tcfMetadata` together so it can be\n * used inside our `BannerContextProps` and returns a valid `GVL` instance.\n */\nfunction useTcf(active, tcf, tcfMeta) {\n return useMemo(function () {\n if (process.env.IS_TCF === \"1\" && active && Object.values(tcf.vendors).length > 0) {\n var gvl;\n var model;\n var restored = getCurrentTcfStringFromCookie(tcf, tcfMeta); // First, try to resolve from user consent (cookie value)\n\n if (restored) {\n gvl = restored.gvl;\n model = restored.model;\n } else {\n // No consent given, let's create an empty model\n var newTcf = restoreTcf({\n tcf: tcf,\n tcfMeta: tcfMeta,\n tcfString: \"\"\n });\n gvl = newTcf.gvl;\n model = newTcf.model;\n }\n\n applyModelMetadata(model, tcfMeta);\n applyRestrictivePurposes(model, tcf.vendorConfigurations);\n\n if (!restored) {\n prepareTcfString(model, \"initial\");\n }\n\n return {\n gvl: gvl,\n model: model,\n original: tcf,\n metadata: tcfMeta\n };\n } else {\n return undefined;\n }\n }, [active, tcf, tcfMeta]);\n}\n\nexport { useTcf };","import _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport { getOtherOptionsFromWindow } from \"../utils\";\nimport { useCallback } from \"react\";\nimport { useBannerAnimation } from \".\";\n\nfunction useWebsiteBannerOverlay() {\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n pageRequestUuid4 = _getOtherOptionsFromW.pageRequestUuid4;\n\n var overlay = document.getElementById(pageRequestUuid4);\n var useBannerAnimationCallback = useBannerAnimation();\n var toggleOverlay = useCallback(function (_ref, show) {\n var layout = _ref.layout;\n var animationInDuration = layout.animationInDuration,\n animationOutDuration = layout.animationOutDuration;\n\n var _useBannerAnimationCa = useBannerAnimationCallback(layout),\n useAnimationIn = _useBannerAnimationCa.useAnimationIn,\n useAnimationOut = _useBannerAnimationCa.useAnimationOut;\n\n var defaultIfNoAnimation = 0; // Avoid \"hard\" overlay\n\n var useDuration = show ? useAnimationIn === \"none\" ? defaultIfNoAnimation : animationInDuration : useAnimationOut === \"none\" ? defaultIfNoAnimation : animationOutDuration; // Toggle SSR-rendered overlay\n\n useDuration > 0 && (overlay.style.transition = \"background \".concat(useDuration, \"ms\"));\n overlay.style.background = \"transparent\";\n\n if (show) {\n // We need a small delay to avoid flickering of animation out effect in customizer\n setTimeout(function () {\n overlay.style.display = \"block\";\n }, 0);\n setTimeout(function () {\n var bg = overlay.getAttribute(\"data-bg\");\n overlay.style.background = bg ? bg.split(\":\")[1].trim().replace(\";\", \"\") : \"transparent\";\n }, 100);\n } else {\n setTimeout(function () {\n overlay.style.display = \"none\";\n }, useDuration);\n }\n\n var animationVisible = {\n animationVisible: show\n };\n return show ? _objectSpread({\n visible: true\n }, animationVisible) : animationVisible;\n }, [useBannerAnimationCallback]);\n return {\n overlay: overlay,\n toggleOverlay: toggleOverlay\n };\n}\n\nexport { useWebsiteBannerOverlay };","import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { useMemo } from \"react\";\nimport { applyConsent, getDefaultDecision } from \"../others\";\nimport { prepareTcfString } from \"../tcf\";\n/**\n * Create actions for a passed context. If you want to use the actions, do not use\n * this hook directly, instead pass the result of this hook to your context and use\n * it with `useBanner`.\n */\n\nfunction useBannerActions(setContextValue, toggleOverlay) {\n return useMemo(function () {\n var toggleWithActiveAction = function toggleWithActiveAction(type) {\n return setContextValue(function (state) {\n return _objectSpread(_objectSpread({}, state), {}, {\n activeAction: type,\n individualPrivacyOpen: true,\n refreshSiteAfterSave: type === \"change\" ? 2000 : false\n }, toggleOverlay(state, true));\n });\n };\n\n var cancelEvent = function cancelEvent(e) {\n if (!e) {\n return;\n }\n\n e.preventDefault(); // Some themes (e.g. AKEA) do have listeners on each link separately and do a custom redirect\n\n e.stopPropagation();\n };\n\n var actions = {\n openHistory: function openHistory(e) {\n toggleWithActiveAction(\"history\");\n cancelEvent(e);\n },\n openBanner: function openBanner(e) {\n toggleWithActiveAction(\"change\");\n cancelEvent(e);\n },\n revokeConsent: function revokeConsent(successMessage, e) {\n setContextValue(function (state) {\n var tcf = state.tcf;\n\n _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {\n var buttonClicked, tcfString;\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n // Do not rely on current state of `groups` because it can be altered through history change\n buttonClicked = \"shortcode_revoke\"; // TCF compatibility: revoke TCF string\n\n if (process.env.IS_TCF === \"1\" && tcf !== null && tcf !== void 0 && tcf.model) {\n tcfString = prepareTcfString(tcf.model, buttonClicked);\n }\n\n _context.next = 4;\n return applyConsent({\n consent: {\n groups: getDefaultDecision(true)\n },\n buttonClicked: buttonClicked,\n tcfString: tcfString\n });\n\n case 4:\n successMessage && alert(successMessage); // Always reload (always wait 2s to ensure opt-out scripts are exeucted)\n // Fix iOS / Safari bug when we want to reload the page after a POST request\n\n setTimeout(function () {\n return window.location.reload();\n }, 2000);\n\n case 6:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }))(); // Do not change anything\n\n\n return state;\n });\n cancelEvent(e);\n }\n }; // Make the actions available in our context\n\n setContextValue(function (state) {\n return _objectSpread(_objectSpread({}, state), actions);\n });\n }, [setContextValue, toggleOverlay]);\n}\n\nexport { useBannerActions };","import _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { useEffect } from \"react\";\nimport { isCustomize, ready } from \"../utils\";\nimport { preDecisionGatewaySupportsCookies, preDecisionGatewayHasPageClass, preDecisionGatewayIsHiddenDueLegal, preDecisionGatewayIsPreventPreDecision, preDecisionGatewayIsDoNotTrack, preDecisionGatewayUserConsent, preDecisionGatewayIsCrawler, preDecisionGatewayDynamicRequest, applyCookies, getDefaultDecision } from \"../others\";\nimport { BANNER_PRE_DECISION_SHOW_EVENT } from \"../types\";\n\n/**\n * Do some decision gateways like DNT, Bot / Crawler and Decision and depending\n * on that, show the Banner initially.\n */\nfunction useBannerPreDecisionGateway(banner, setContextValue, toggleOverlay) {\n // Only run this predecision mechanism once and when not in customize\n !isCustomize() && useEffect(function () {\n _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {\n var onSave, gateways, show, _i, _gateways, gateway, result;\n\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n onSave = banner.onSave;\n gateways = [preDecisionGatewaySupportsCookies, preDecisionGatewayHasPageClass, preDecisionGatewayDynamicRequest, preDecisionGatewayIsHiddenDueLegal, preDecisionGatewayIsPreventPreDecision, preDecisionGatewayIsCrawler, preDecisionGatewayIsDoNotTrack, preDecisionGatewayUserConsent];\n show = true;\n _i = 0, _gateways = gateways;\n\n case 4:\n if (!(_i < _gateways.length)) {\n _context.next = 16;\n break;\n }\n\n gateway = _gateways[_i];\n _context.next = 8;\n return gateway(banner);\n\n case 8:\n result = _context.sent;\n\n if (!(result !== false)) {\n _context.next = 13;\n break;\n }\n\n show = false;\n\n if (result === \"all\") {\n applyCookies(\"all\");\n } else if (result === \"essentials\") {\n applyCookies(\"essentials\");\n } else if (result === \"dnt\") {\n // Accept only essentials (save because they are always preselected when no decision given and we need to hold this decision in API)\n onSave(gateway === preDecisionGatewayIsDoNotTrack, \"none\");\n } else if (result === \"consent\") {\n // Apply cookies for the current user decision\n applyCookies(\"consent\");\n }\n\n return _context.abrupt(\"break\", 16);\n\n case 13:\n _i++;\n _context.next = 4;\n break;\n\n case 16:\n if (!show) {\n _context.next = 21;\n break;\n }\n\n setContextValue(function (state) {\n return _objectSpread(_objectSpread({}, state), {}, {\n // Always revert back to \"Essentials\" only consent when cookie needs to be consented\n consent: {\n groups: getDefaultDecision()\n }\n }, toggleOverlay(state, true));\n }); // Wait all events are initialized\n\n _context.next = 20;\n return ready();\n\n case 20:\n // All content blockers should be made visible\n document.dispatchEvent(new CustomEvent(BANNER_PRE_DECISION_SHOW_EVENT, {\n detail: {}\n }));\n\n case 21:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }))();\n }, []);\n}\n\nexport { useBannerPreDecisionGateway };","import { getOtherOptionsFromWindow } from \"./getOtherOptionsFromWindow\";\n/**\n * Checks if the current page is customize page.\n */\n\nfunction isCustomize() {\n return !!getOtherOptionsFromWindow().customizeIdsBanner;\n}\n\nexport { isCustomize };","import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\n\n/**\n * Wait for a given object which is calculated through a callback.\n */\nfunction waitObject(_x) {\n return _waitObject.apply(this, arguments);\n}\n\nfunction _waitObject() {\n _waitObject = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(getObject) {\n var delayNextCheck,\n maxTries,\n i,\n _args = arguments;\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n delayNextCheck = _args.length > 1 && _args[1] !== undefined ? _args[1] : 500;\n maxTries = _args.length > 2 && _args[2] !== undefined ? _args[2] : 0;\n i = 0;\n\n case 3:\n if (getObject()) {\n _context.next = 11;\n break;\n }\n\n if (!(maxTries > 0 && i >= maxTries)) {\n _context.next = 6;\n break;\n }\n\n return _context.abrupt(\"return\", undefined);\n\n case 6:\n _context.next = 8;\n return new Promise(function (r) {\n return setTimeout(r, delayNextCheck);\n });\n\n case 8:\n i++;\n _context.next = 3;\n break;\n\n case 11:\n return _context.abrupt(\"return\", getObject());\n\n case 12:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n return _waitObject.apply(this, arguments);\n}\n\nexport { waitObject };","import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { putHtmlCodeToDom, OPT_IN_CONTENT_BLOCKER } from \"@devowl-wp/headless-content-unblocker\";\nimport { OPT_IN_EVENT } from \"../../types\";\nimport { waitObject } from \"../../utils\";\nvar amazonWidgetsSlotNum = 0;\n/**\n * Some presets have custom opt-in coding, e. g. Amazon Widgets.\n */\n\nfunction listenPresetOptIn() {\n document.addEventListener(OPT_IN_EVENT, /*#__PURE__*/function () {\n var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(_ref) {\n var _ref$detail$cookie, presetId, codeOptIn, codeDynamics, _ref3, amznAssoWidgetHtmlId, element, slotNum, adContainer;\n\n return _regeneratorRuntime.wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n _ref$detail$cookie = _ref.detail.cookie, presetId = _ref$detail$cookie.presetId, codeOptIn = _ref$detail$cookie.codeOptIn, codeDynamics = _ref$detail$cookie.codeDynamics;\n _context2.t0 = presetId;\n _context2.next = _context2.t0 === \"amazon-associates-widget\" ? 4 : _context2.t0 === \"google-maps\" ? 16 : 18;\n break;\n\n case 4:\n _ref3 = codeDynamics || {}, amznAssoWidgetHtmlId = _ref3.amznAssoWidgetHtmlId;\n\n if (!amznAssoWidgetHtmlId) {\n _context2.next = 15;\n break;\n }\n\n element = document.getElementById(amznAssoWidgetHtmlId);\n\n if (!element) {\n _context2.next = 15;\n break;\n }\n\n slotNum = amazonWidgetsSlotNum;\n amazonWidgetsSlotNum++;\n putHtmlCodeToDom(codeOptIn, codeDynamics, element); // Amazon Widgets is using `document.write`, we need to manually move the ad container...\n\n _context2.next = 13;\n return waitObject(function () {\n return document.querySelector(\"[id^=\\\"amzn_assoc_ad_div_\\\"][id$=\\\"\".concat(slotNum, \"\\\"]\"));\n }, 500, 50);\n\n case 13:\n adContainer = _context2.sent;\n\n if (adContainer) {\n element.appendChild(adContainer);\n }\n\n case 15:\n return _context2.abrupt(\"break\", 19);\n\n case 16:\n document.addEventListener(OPT_IN_CONTENT_BLOCKER, /*#__PURE__*/function () {\n var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(_ref4) {\n var element, _ref6, et_pb_map_init, jQuery;\n\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n element = _ref4.detail.element;\n _ref6 = window, et_pb_map_init = _ref6.et_pb_map_init, jQuery = _ref6.jQuery;\n\n if (!(jQuery && element.matches(\".et_pb_map\") && et_pb_map_init)) {\n _context.next = 6;\n break;\n }\n\n _context.next = 5;\n return waitObject(function () {\n return window.google;\n });\n\n case 5:\n et_pb_map_init(jQuery(element).parent());\n\n case 6:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n\n return function (_x2) {\n return _ref5.apply(this, arguments);\n };\n }());\n return _context2.abrupt(\"break\", 19);\n\n case 18:\n return _context2.abrupt(\"break\", 19);\n\n case 19:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2);\n }));\n\n return function (_x) {\n return _ref2.apply(this, arguments);\n };\n }());\n}\n\nexport { listenPresetOptIn };","import _createForOfIteratorHelper from \"@babel/runtime/helpers/createForOfIteratorHelper\";\nimport { getOtherOptionsFromWindow, createRegxpPatternFromWildcardedName } from \"../utils\";\nimport { getUserDecision } from \"../others\";\n/**\n * Synchronously check if a consent is given. See `window.consentApi.consent` for more documentation.\n */\n\nfunction consentSync(typeOrId, name,\n/**\n * This can also be `*` to allow all hosts.\n */\nhost) {\n // Find matching cookie\n var found = [];\n\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n groups = _getOtherOptionsFromW.groups,\n revisionHash = _getOtherOptionsFromW.revisionHash;\n\n var allCookies = groups.map(function (_ref) {\n var items = _ref.items;\n return items;\n }).flat();\n\n var _iterator = _createForOfIteratorHelper(allCookies),\n _step;\n\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var row = _step.value;\n\n if (typeof typeOrId === \"number\") {\n if (row.id === typeOrId) {\n found.push({\n cookie: row,\n relevance: 10\n });\n }\n } else {\n var technicalDefinitions = row.technicalDefinitions;\n\n if (technicalDefinitions !== null && technicalDefinitions !== void 0 && technicalDefinitions.length) {\n // Check if technical information matches\n var _iterator2 = _createForOfIteratorHelper(technicalDefinitions),\n _step2;\n\n try {\n for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {\n var td = _step2.value;\n var regexp = createRegxpPatternFromWildcardedName(td.name);\n\n if (td.type === typeOrId && (td.name === name || name.match(regexp)) && (td.host === host || host === \"*\")) {\n found.push({\n cookie: row,\n // Create a priority by \"relevance\" inside the technical definitions\n // This is the case if e.g. another Cookie consumes the same technical cookie\n // Example: Vimeo uses Facebook Pixel, too\n relevance: technicalDefinitions.length + technicalDefinitions.indexOf(td) + 1\n });\n break;\n }\n }\n } catch (err) {\n _iterator2.e(err);\n } finally {\n _iterator2.f();\n }\n }\n }\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n\n var already = getUserDecision();\n\n if (found.length) {\n var relevantCookie = found.sort(function (_ref2, _ref3) {\n var a = _ref2.relevance;\n var b = _ref3.relevance;\n return a - b;\n })[0].cookie; // Check if consent is already given\n\n if (already && revisionHash === already.revision) {\n var consentCookieIds = Object.values(already.consent).flat();\n\n if (consentCookieIds.indexOf(relevantCookie.id) > -1) {\n return {\n cookie: relevantCookie,\n consentGiven: true,\n cookieOptIn: true\n };\n } else {\n return {\n cookie: relevantCookie,\n consentGiven: true,\n cookieOptIn: false\n };\n }\n } else {\n return {\n cookie: relevantCookie,\n consentGiven: false,\n cookieOptIn: false\n };\n }\n } else {\n return {\n cookie: null,\n consentGiven: !!already,\n cookieOptIn: true\n };\n }\n}\n\nexport { consentSync };","import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { OPT_IN_EVENT, OPT_OUT_EVENT } from \"../types\";\nimport { consentSync } from \".\";\n/**\n * `window.consentApi.consent`: Check if a given technical information (e.g. HTTP Cookie, LocalStorage, ...) has a consent:\n *\n * - When a technical information exists in defined cookies, the Promise is only resolved after given consent\n * - When no technical information exists, the Promise is immediate resolved\n *\n * Example (ES5):\n * ```js\n * (window.consentApi && window.consentApi.consent(\"http\", \"_twitter_sess\", \".twitter.com\") || Promise.resolve()).then(function() {\n * console.log(\"Consent for Twitter embed given, do something...!\");\n * });\n * ```\n *\n * Example (ES6, Babel, TS):\n * ```js\n * (window.consentApi?.consent(\"http\", \"_twitter_sess\", \".twitter.com\") || Promise.resolve()).then(() => {\n * console.log(\"Consent for Twitter embed given, do something...!\");\n * });\n * ```\n *\n * **Since 2.3.0**: You can also check for consent by cookie ID (ID in `wp_posts`, post id):\n *\n * ```js\n * window.consentApi.consent(15)\n * ```\n */\n\nfunction consent() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return new Promise(function (resolve, reject) {\n var _consentSync = consentSync.apply(void 0, args),\n foundCookie = _consentSync.cookie,\n consentGiven = _consentSync.consentGiven,\n cookieOptIn = _consentSync.cookieOptIn;\n\n if (foundCookie) {\n if (consentGiven) {\n if (cookieOptIn) {\n resolve();\n } else {\n reject();\n }\n } else {\n // Wait for consent\n document.addEventListener(OPT_IN_EVENT, /*#__PURE__*/function () {\n var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(_ref) {\n var cookie;\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n cookie = _ref.detail.cookie;\n\n if (cookie === foundCookie) {\n resolve();\n }\n\n case 2:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n\n return function (_x) {\n return _ref2.apply(this, arguments);\n };\n }()); // Wait for opt out\n\n document.addEventListener(OPT_OUT_EVENT, /*#__PURE__*/function () {\n var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(_ref3) {\n var cookie;\n return _regeneratorRuntime.wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n cookie = _ref3.detail.cookie;\n\n if (cookie === foundCookie) {\n reject();\n }\n\n case 2:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2);\n }));\n\n return function (_x2) {\n return _ref4.apply(this, arguments);\n };\n }());\n }\n } else {\n resolve();\n }\n });\n}\n\nexport { consent };","import _toConsumableArray from \"@babel/runtime/helpers/toConsumableArray\";\nimport { consent } from \".\";\n/**\n * `window.consentApi.consentAll`: Check if a set of given technical information (e.g. HTTP Cookie, LocalStorage, ...)\n * have a consent. This is similar to `window.consentApi.consent` but for multiple cookies.\n */\n\nfunction consentAll(technicalDefinitions) {\n return Promise.all(technicalDefinitions.map(function (args) {\n return consent.apply(void 0, _toConsumableArray(args));\n }));\n}\n\nexport { consentAll };","import { OPT_IN_ALL_EVENT, BANNER_PRE_DECISION_SHOW_EVENT } from \"../types\";\nimport { getUserDecision } from \".\";\n/**\n * Listen to opt-in so we can safely print the UUID of the current user to the\n * `PrintUuidShortcode.php` HTML tag.\n */\n\nfunction printUuidToShortcode() {\n var elements = Array.prototype.slice.call(document.querySelectorAll(\".rcb-consent-print-uuid\"));\n document.addEventListener(BANNER_PRE_DECISION_SHOW_EVENT, function () {\n elements.forEach(function (element) {\n return element.innerHTML = element.getAttribute(\"data-fallback\");\n });\n });\n document.addEventListener(OPT_IN_ALL_EVENT, function () {\n var consent = getUserDecision();\n elements.forEach(function (element) {\n return element.innerHTML = consent === false ? element.getAttribute(\"data-fallback\") : consent.uuid;\n });\n });\n}\n\nexport { printUuidToShortcode };","/* istanbul ignore file: we do not need to care about the entry point file as errors are detected through integration tests (E2E) */\n\n/**\n * Entrypoint for plain website. This file is only loaded if the visitor needs to accept cookies.\n */\nimport { render } from \"react-dom\";\nimport { WebsiteBanner } from \"./components\";\nimport { ready, getOtherOptionsFromWindow, ensureBodyElement } from \"./utils\";\nimport { listenPresetOptIn, getSsrPoweredByLink, printUuidToShortcode } from \"./others\";\nimport { tcfCmpApi } from \"./tcf\";\nimport * as API from \"./api\";\nimport { getWebpackPublicPath } from \"@devowl-wp/utils\";\n__webpack_public_path__ = getWebpackPublicPath(process.env);\nlistenPresetOptIn();\nprintUuidToShortcode();\ntcfCmpApi();\nready(function () {\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n pageRequestUuid4 = _getOtherOptionsFromW.pageRequestUuid4;\n\n var poweredLink = getSsrPoweredByLink();\n var element = ensureBodyElement(document.getElementById(pageRequestUuid4));\n\n if (element) {\n render(h(WebsiteBanner, {\n poweredLink: poweredLink\n }), element);\n }\n}, \"interactive\"); // Expose public API\n\nif (window) {\n window.consentApi = API;\n}\n\nexport * from \"./api\";","import { CmpApi } from \"@iabtcf/cmpapi\";\nimport { getCmpVersion, getOtherOptionsFromWindow } from \"../utils\";\nimport { tcfCmpApiDispatcher } from \"./dispatcher\";\nvar cmpApiInstance;\n/**\n * Initialize a CMP API once for this page request. If TCF is not available, it will\n * return `undefined`.\n *\n * @see https://www.npmjs.com/package/@iabtcf/cmpapi\n */\n\nfunction tcfCmpApi() {\n var other = getOtherOptionsFromWindow();\n var isTcf = other.isTcf;\n\n if (process.env.IS_TCF === \"1\" && isTcf) {\n var tcf = other.tcf,\n tcfMetadata = other.tcfMetadata;\n var scope = tcfMetadata.scope; // Create instance only once\n\n if (!cmpApiInstance) {\n cmpApiInstance = new CmpApi(+process.env.TCF_CMP_ID, // Currently, only two bits (https://git.io/JmuD0) can be saved to the cmpVersion, so we can only save the major version\n getCmpVersion(\"major\"), scope === \"service-specific\"); // Dispatch events to vendors can listen to it\n\n setTimeout(function () {\n return tcfCmpApiDispatcher(tcf, tcfMetadata);\n }, 0);\n }\n\n return cmpApiInstance;\n } else {\n return undefined;\n }\n}\n\nexport { tcfCmpApi };","/**\n * Ensure the given HTML is a child of `body`. If not, it automatically gets moved.\n */\nfunction ensureBodyElement(element) {\n var _document = document,\n body = _document.body;\n var parentElement = element.parentElement;\n\n if (parentElement !== body) {\n body.appendChild(element);\n }\n\n return element;\n}\n\nexport { ensureBodyElement };","import _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { useState, useEffect } from \"react\";\n\nvar AsciiSpinner = function AsciiSpinner(_ref) {\n var _ref$ms = _ref.ms,\n ms = _ref$ms === void 0 ? 100 : _ref$ms,\n _ref$chars = _ref.chars,\n chars = _ref$chars === void 0 ? [\"◷\", \"◶\", \"◵\", \"◴\"] : _ref$chars;\n\n var _useState = useState(1),\n _useState2 = _slicedToArray(_useState, 2),\n i = _useState2[0],\n setI = _useState2[1];\n\n useEffect(function () {\n var interval = setInterval(function () {\n setI(i + 1);\n }, ms);\n return function () {\n return clearInterval(interval);\n };\n }, [i]);\n return h(\"span\", {\n dangerouslySetInnerHTML: {\n __html: chars[i % 4]\n }\n });\n};\n\nexport { AsciiSpinner };","import { getOtherOptionsFromWindow } from \"../../utils\";\n\nvar BannerDevHint = function BannerDevHint() {\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n isPro = _getOtherOptionsFromW.isPro,\n isLicensed = _getOtherOptionsFromW.isLicensed,\n isDevLicense = _getOtherOptionsFromW.isDevLicense,\n _getOtherOptionsFromW2 = _getOtherOptionsFromW.bannerI18n,\n noLicense = _getOtherOptionsFromW2.noLicense,\n devLicense = _getOtherOptionsFromW2.devLicense;\n\n if (!isPro) {\n return null;\n }\n\n var useText = \"\";\n\n if (isDevLicense) {\n useText = devLicense;\n } else if (!isLicensed) {\n useText = noLicense;\n }\n\n return useText ? h(\"div\", {\n style: {\n fontSize: 13,\n color: \"#c95252\",\n fontWeight: \"bold\",\n order: 9\n }\n }, useText) : null;\n};\n\nexport { BannerDevHint };","import _extends from \"@babel/runtime/helpers/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/objectWithoutProperties\";\nimport { forwardRef } from \"react\";\nimport hintCss from \"hint.css/hint.min.css?inline-raw\";\nimport { usePlainCss } from \"../../hooks\";\n/**\n * This is a very basic `hint.css` implementation for a tooltip.\n *\n * @see https://kushagra.dev/lab/hint/\n */\n// eslint-disable-next-line react/display-name\n\nvar BannerTooltip = /*#__PURE__*/forwardRef(function (_ref, ref) {\n var children = _ref.children,\n className = _ref.className,\n title = _ref.title,\n _ref$position = _ref.position,\n position = _ref$position === void 0 ? \"top\" : _ref$position,\n color = _ref.color,\n _ref$size = _ref.size,\n size = _ref$size === void 0 ? \"large\" : _ref$size,\n always = _ref.always,\n rounded = _ref.rounded,\n noAnimate = _ref.noAnimate,\n bounce = _ref.bounce,\n rest = _objectWithoutProperties(_ref, [\"children\", \"className\", \"title\", \"position\", \"color\", \"size\", \"always\", \"rounded\", \"noAnimate\", \"bounce\"]);\n\n usePlainCss(hintCss, \"hint-css\");\n return h(\"div\", _extends({\n style: {\n position: \"relative\",\n display: \"inline\"\n },\n ref: ref,\n \"aria-label\": title,\n className: \"hint--\".concat(position, \" hint--\").concat(size, \" \").concat(color ? \"hint--\".concat(color) : \"\", \" \").concat(always ? \"hint--always\" : \"\", \" \").concat(rounded ? \"hint--rounded\" : \"\", \" \").concat(noAnimate ? \"hint--no-animate\" : \"\", \" \").concat(bounce ? \"hint--bounce\" : \"\", \" \").concat(className || \"\")\n }, rest), children);\n});\nexport { BannerTooltip };","import _extends from \"@babel/runtime/helpers/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/objectWithoutProperties\";\nimport { useMemo } from \"react\"; // eslint-disable-next-line import/no-extraneous-dependencies\n\nimport { renderIconDefinitionToSVGElement } from \"@ant-design/icons-svg/es/helpers\";\n/**\n * Inject a plain SVG icon from `@ant-design/icons-svg`. This reduces the bundle size.\n * You can determine yourself to use `@ant-design/icons` or this helper component. For example,\n * this component is preferred for website bundles where website size matters.\n *\n * @see https://app.clickup.com/t/60pz5t\n */\n\nvar PlainAntdIconAsSvg = function PlainAntdIconAsSvg(_ref) {\n var icon = _ref.icon,\n rest = _objectWithoutProperties(_ref, [\"icon\"]);\n\n var svgString = useMemo(function () {\n return renderIconDefinitionToSVGElement(icon, {\n extraSVGAttrs: {\n style: \"width:auto;height:100%;\",\n fill: \"currentColor\"\n }\n });\n }, [icon]);\n return h(\"div\", _extends({}, rest, {\n dangerouslySetInnerHTML: {\n __html: svgString\n }\n }));\n};\n\nexport { PlainAntdIconAsSvg };","import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport { createContext, useContext } from \"react\";\n\n/**\n * Create a side-effect-free context provider so banner can be handled independent from Mobx.\n * Mobx is not enqueued in website frontend for bundle-size purposes!\n */\nvar BannerContextFactory = /*#__PURE__*/function () {\n function BannerContextFactory() {\n _classCallCheck(this, BannerContextFactory);\n }\n\n _createClass(BannerContextFactory, null, [{\n key: \"Context\",\n value: function (_Context) {\n function Context() {\n return _Context.apply(this, arguments);\n }\n\n Context.toString = function () {\n return _Context.toString();\n };\n\n return Context;\n }(function () {\n return this.context = this.context || /*#__PURE__*/createContext({});\n })\n }]);\n\n return BannerContextFactory;\n}();\n\nBannerContextFactory.context = void 0;\n\nfunction useBanner() {\n return useContext(BannerContextFactory.Context());\n}\n\nexport { BannerContextFactory, useBanner };","import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport { createContext, useContext } from \"react\";\n\n/**\n * Create a side-effect-free context provider so blocker can be handled independent from Mobx.\n * Mobx is not enqueued in website frontend for bundle-size purposes!\n */\nvar BlockerContextFactory = /*#__PURE__*/function () {\n function BlockerContextFactory() {\n _classCallCheck(this, BlockerContextFactory);\n }\n\n _createClass(BlockerContextFactory, null, [{\n key: \"Context\",\n value: function (_Context) {\n function Context() {\n return _Context.apply(this, arguments);\n }\n\n Context.toString = function () {\n return _Context.toString();\n };\n\n return Context;\n }(function () {\n return this.context = this.context || /*#__PURE__*/createContext({});\n })\n }]);\n\n return BlockerContextFactory;\n}();\n\nBlockerContextFactory.context = void 0;\n\nfunction useBlocker() {\n return useContext(BlockerContextFactory.Context());\n}\n\nexport { BlockerContextFactory, useBlocker };","import { useBanner, useBlocker } from \"../contexts\";\nimport { getOtherOptionsFromWindow } from \"../utils\";\n/**\n * Get the permalink of a given page id from our page ID permalink map. It automatically\n * falls back to `p={ID}` URL.\n */\n\nfunction usePageIdToPermalinkMapLink(pageId) {\n var _useBanner = useBanner(),\n mapBanner = _useBanner.pageIdToPermalink;\n\n var _useBlocker = useBlocker(),\n mapBlocker = _useBlocker.pageIdToPermalink;\n\n var pageIdToPermalink = mapBanner || mapBlocker;\n\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n pageByIdUrl = _getOtherOptionsFromW.pageByIdUrl;\n\n return (pageIdToPermalink === null || pageIdToPermalink === void 0 ? void 0 : pageIdToPermalink[pageId]) || \"\".concat(pageByIdUrl, \"=\").concat(pageId);\n}\n\nexport { usePageIdToPermalinkMapLink };","import { usePageIdToPermalinkMapLink } from \".\";\n\nfunction useBannerLegalLinks(_ref) {\n var privacyPolicy = _ref.privacyPolicy,\n privacyPolicyExternalUrl = _ref.privacyPolicyExternalUrl,\n privacyPolicyIsExternalUrl = _ref.privacyPolicyIsExternalUrl,\n privacyPolicyLabel = _ref.privacyPolicyLabel,\n imprint = _ref.imprint,\n imprintExternalUrl = _ref.imprintExternalUrl,\n imprintIsExternalUrl = _ref.imprintIsExternalUrl,\n imprintLabel = _ref.imprintLabel;\n var linkPrivacyPolicy = usePageIdToPermalinkMapLink(privacyPolicy);\n var linkImprint = usePageIdToPermalinkMapLink(imprint);\n\n if (privacyPolicyIsExternalUrl) {\n linkPrivacyPolicy = privacyPolicyExternalUrl;\n }\n\n if (imprintIsExternalUrl) {\n linkImprint = imprintExternalUrl;\n }\n\n return {\n linkPrivacyPolicy: privacyPolicyLabel ? {\n url: linkPrivacyPolicy,\n label: privacyPolicyLabel\n } : false,\n linkImprint: imprintLabel ? {\n url: linkImprint,\n label: imprintLabel\n } : false\n };\n}\n\nexport { useBannerLegalLinks };","import { useMemo, useLayoutEffect } from \"react\";\nvar counter = 0;\n/**\n * Dynamically creates a style-tag in your head with a given plain CSS string.\n */\n\nfunction usePlainCss(css, uniqueId) {\n var id = useMemo(function () {\n return \"react-use-plain-css-\".concat(uniqueId || (counter++).toString(36));\n }, []);\n useLayoutEffect(function () {\n var element = document.getElementById(id);\n\n if (!element) {\n element = document.createElement(\"style\");\n element.style.type = \"text/css\";\n element.id = id;\n document.getElementsByTagName(\"head\")[0].appendChild(element);\n }\n\n element.innerHTML = css;\n return function () {\n var _element$parentNode;\n\n (_element$parentNode = element.parentNode) === null || _element$parentNode === void 0 ? void 0 : _element$parentNode.removeChild(element);\n };\n }, [css]);\n return id;\n}\n\nexport { usePlainCss };","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestConsentPost = {\n path: \"/consent\",\n method: RouteHttpVerb.POST\n}; // Also ported to rest/Consent.php","import _createForOfIteratorHelper from \"@babel/runtime/helpers/createForOfIteratorHelper\";\nimport { getOtherOptionsFromWindow } from \"../utils\";\n/**\n * Apply Consent Forwarding, it set's cross domain cookies via CORS requests.\n *\n * @see https://javascript.info/fetch-crossorigin\n */\n\nfunction applyConsentForwarding(_ref) {\n var endpoints = _ref.endpoints,\n data = _ref.data;\n\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n isPro = _getOtherOptionsFromW.isPro;\n\n if (isPro) {\n /* onlypro:start */\n var promises = [];\n\n var _iterator = _createForOfIteratorHelper(endpoints),\n _step;\n\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var endpoint = _step.value;\n promises.push(window.fetch(endpoint, {\n method: \"POST\",\n credentials: \"include\",\n headers: {\n \"Content-Type\": \"application/json;charset=utf-8\"\n },\n body: JSON.stringify(data)\n }));\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n\n return Promise.all(promises);\n /* onlypro:start */\n } else {\n return Promise.reject();\n }\n}\n\nexport { applyConsentForwarding };","import _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { locationRestConsentPost } from \"../wp-api\";\nimport { getOptionsFromWindow } from \"../utils\";\nimport { applyCookies, applyConsentForwarding } from \".\";\nimport { commonRequest } from \"@devowl-wp/utils\";\n/**\n * Save consent to the backend and apply cookies on running session.\n */\n\nfunction applyConsent(_x) {\n return _applyConsent.apply(this, arguments);\n}\n\nfunction _applyConsent() {\n _applyConsent = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(_ref) {\n var consent, _ref$markAsDoNotTrack, markAsDoNotTrack, buttonClicked, _ref$blocker, blocker, blockerThumbnail, tcfString, _document$documentEle, clientWidth, clientHeight, _getOptionsFromWindow, restNamespace, restRoot, restQuery, restNonce, _yield$commonRequest, forward, uuid, cookie_revision, decision_in_cookie;\n\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n consent = _ref.consent, _ref$markAsDoNotTrack = _ref.markAsDoNotTrack, markAsDoNotTrack = _ref$markAsDoNotTrack === void 0 ? false : _ref$markAsDoNotTrack, buttonClicked = _ref.buttonClicked, _ref$blocker = _ref.blocker, blocker = _ref$blocker === void 0 ? 0 : _ref$blocker, blockerThumbnail = _ref.blockerThumbnail, tcfString = _ref.tcfString;\n _document$documentEle = document.documentElement, clientWidth = _document$documentEle.clientWidth, clientHeight = _document$documentEle.clientHeight;\n _getOptionsFromWindow = getOptionsFromWindow(), restNamespace = _getOptionsFromWindow.restNamespace, restRoot = _getOptionsFromWindow.restRoot, restQuery = _getOptionsFromWindow.restQuery, restNonce = _getOptionsFromWindow.restNonce; // Use `commonRequest` cause on frontend we do not have `wp.i18n` available\n\n _context.next = 5;\n return commonRequest({\n location: locationRestConsentPost,\n options: {\n restNamespace: restNamespace,\n restRoot: restRoot,\n restQuery: restQuery,\n restNonce: restNonce\n },\n sendRestNonce: false,\n request: _objectSpread(_objectSpread({}, consent), {}, {\n markAsDoNotTrack: markAsDoNotTrack,\n buttonClicked: buttonClicked,\n viewPortWidth: clientWidth,\n viewPortHeight: clientHeight,\n blocker: blocker,\n blockerThumbnail: blockerThumbnail,\n tcfString: tcfString\n }),\n params: {\n _wp_http_referer: window.location.href\n }\n });\n\n case 5:\n _yield$commonRequest = _context.sent;\n forward = _yield$commonRequest.forward;\n uuid = _yield$commonRequest.uuid;\n cookie_revision = _yield$commonRequest.cookie_revision;\n decision_in_cookie = _yield$commonRequest.decision_in_cookie;\n // Does the browser support cookies? Save the decision locally in `window` so `getUserDecision` can fallback\n window.rcbDisabledCookieComp = {\n uuid: uuid,\n revision: cookie_revision,\n consent: decision_in_cookie\n };\n _context.next = 13;\n return Promise.all([// Apply consent forwarding and wait for all requests\n forward && applyConsentForwarding(forward), applyCookies(\"consent\")].filter(Boolean));\n\n case 13:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n return _applyConsent.apply(this, arguments);\n}\n\nexport { applyConsent };","import _createForOfIteratorHelper from \"@babel/runtime/helpers/createForOfIteratorHelper\";\nimport _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { getOtherOptionsFromWindow } from \"../../utils\";\nimport { getUserDecision } from \"../getUserDecision\";\n/**\n * Read the selected groups + cookies depending on the passed type.\n *\n * @param type If \"consent\" it will be read from the current cookie and if this fails, it\n * falls back to essentials-only.\n */\n\nfunction getSelectedCookies(type) {\n var selectedGroups;\n\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n groups = _getOtherOptionsFromW.groups,\n essentialGroup = _getOtherOptionsFromW.essentialGroup,\n setCookiesViaManager = _getOtherOptionsFromW.setCookiesViaManager,\n isPro = _getOtherOptionsFromW.isPro;\n\n var isManagerActive = isPro && setCookiesViaManager !== \"none\";\n\n var _groups$filter = groups.filter(function (_ref) {\n var slug = _ref.slug;\n return slug === essentialGroup;\n }),\n _groups$filter2 = _slicedToArray(_groups$filter, 1),\n essentialGroupObj = _groups$filter2[0];\n\n var consentEssentials = _defineProperty({}, essentialGroupObj.id, essentialGroupObj.items.map(function (_ref2) {\n var id = _ref2.id;\n return id;\n })); // Read current consent\n\n\n if (type === \"consent\") {\n var decision = getUserDecision();\n\n if (decision !== false) {\n selectedGroups = decision.consent;\n } else {\n console.warn(\"Something went wrong while reading the cookie, fallback to essentials only...\");\n selectedGroups = consentEssentials;\n }\n }\n\n if (type === \"essentials\") {\n selectedGroups = consentEssentials;\n }\n\n return {\n isManagerActive: isManagerActive,\n selectedGroups: selectedGroups,\n iterateCookies: function () {\n var _iterateCookies = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(callback) {\n var _iterator, _step, _group, _iterator2, _step2, _selectedGroups$_grou, _cookie, _isOptIn;\n\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n _iterator = _createForOfIteratorHelper(groups);\n _context.prev = 1;\n\n _iterator.s();\n\n case 3:\n if ((_step = _iterator.n()).done) {\n _context.next = 25;\n break;\n }\n\n _group = _step.value;\n _iterator2 = _createForOfIteratorHelper(_group.items);\n _context.prev = 6;\n\n _iterator2.s();\n\n case 8:\n if ((_step2 = _iterator2.n()).done) {\n _context.next = 15;\n break;\n }\n\n _cookie = _step2.value;\n _isOptIn = type === \"all\" || ((_selectedGroups$_grou = selectedGroups[_group.id]) === null || _selectedGroups$_grou === void 0 ? void 0 : _selectedGroups$_grou.indexOf(_cookie.id)) > -1;\n _context.next = 13;\n return callback(_group, _cookie, _isOptIn);\n\n case 13:\n _context.next = 8;\n break;\n\n case 15:\n _context.next = 20;\n break;\n\n case 17:\n _context.prev = 17;\n _context.t0 = _context[\"catch\"](6);\n\n _iterator2.e(_context.t0);\n\n case 20:\n _context.prev = 20;\n\n _iterator2.f();\n\n return _context.finish(20);\n\n case 23:\n _context.next = 3;\n break;\n\n case 25:\n _context.next = 30;\n break;\n\n case 27:\n _context.prev = 27;\n _context.t1 = _context[\"catch\"](1);\n\n _iterator.e(_context.t1);\n\n case 30:\n _context.prev = 30;\n\n _iterator.f();\n\n return _context.finish(30);\n\n case 33:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, null, [[1, 27, 30, 33], [6, 17, 20, 23]]);\n }));\n\n function iterateCookies(_x) {\n return _iterateCookies.apply(this, arguments);\n }\n\n return iterateCookies;\n }()\n };\n}\n\nexport { getSelectedCookies };","function getManagerDependingVariables(isManagerActive, setCookiesViaManager) {\n var useVariableNameCamel;\n var useVariableNamePascal;\n var useGlobalObjectName;\n\n if (isManagerActive) {\n useVariableNameCamel = setCookiesViaManager;\n useVariableNamePascal = useVariableNameCamel.charAt(0).toUpperCase() + useVariableNameCamel.slice(1);\n var isGtm = setCookiesViaManager === \"googleTagManager\"; // const isMtm = setCookiesViaManager === \"matomoTagManager\"; // This variable is not yet needed, because we only have 2 managers\n\n useGlobalObjectName = isGtm ? \"dataLayer\" : \"_mtm\";\n }\n\n return {\n useVariableNameCamel: useVariableNameCamel,\n useVariableNamePascal: useVariableNamePascal,\n useGlobalObjectName: useGlobalObjectName\n };\n}\n\nexport { getManagerDependingVariables };","import _objectWithoutProperties from \"@babel/runtime/helpers/objectWithoutProperties\";\nimport _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { getSelectedCookies, getManagerDependingVariables } from \".\";\nimport { getOtherOptionsFromWindow } from \"../../utils\";\nimport { OPT_IN_EVENT } from \"../../types\";\nimport { putHtmlCodeToDom } from \"@devowl-wp/headless-content-unblocker\";\n/**\n * Opt-in to a set of cookies.\n */\n\nfunction applyOptIn(_x) {\n return _applyOptIn.apply(this, arguments);\n}\n\nfunction _applyOptIn() {\n _applyOptIn = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(type) {\n var allOptInCookies, _getSelectedCookies, isManagerActive, iterateCookies, _getOtherOptionsFromW, setCookiesViaManager, _getManagerDependingV, useGlobalObjectName, useVariableNamePascal, isManagerOptOut, dataLayerPromise, waitPromises;\n\n return _regeneratorRuntime.wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n allOptInCookies = [];\n _getSelectedCookies = getSelectedCookies(type), isManagerActive = _getSelectedCookies.isManagerActive, iterateCookies = _getSelectedCookies.iterateCookies;\n _getOtherOptionsFromW = getOtherOptionsFromWindow(), setCookiesViaManager = _getOtherOptionsFromW.setCookiesViaManager;\n _getManagerDependingV = getManagerDependingVariables(isManagerActive, setCookiesViaManager), useGlobalObjectName = _getManagerDependingV.useGlobalObjectName, useVariableNamePascal = _getManagerDependingV.useVariableNamePascal; // Handle managers like GTM and MTM\n\n isManagerOptOut = false;\n dataLayerPromise = Promise.resolve(undefined);\n waitPromises = []; // Handle opt-ins sequentially\n\n _context2.next = 9;\n return iterateCookies( /*#__PURE__*/function () {\n var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(group, cookie, isOptIn) {\n var presetId, codeDynamics, codeOptIn, rest, isManager, isOnlyWhenNoConsentToManager, restrictOptInCodeForPreset;\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n presetId = cookie.presetId, codeDynamics = cookie.codeDynamics, codeOptIn = cookie.codeOptIn, rest = _objectWithoutProperties(cookie, [\"presetId\", \"codeDynamics\", \"codeOptIn\"]);\n isManager = isManagerActive && rest[\"thisIs\".concat(useVariableNamePascal)];\n\n if (isOptIn) {\n // Check if the script should explicitly only be loaded if no consent is given to the manager\n isOnlyWhenNoConsentToManager = isManagerActive && rest[\"codeOptInNo\".concat(useVariableNamePascal)];\n restrictOptInCodeForPreset = [\"amazon-associates-widget\"].indexOf(presetId) > -1;\n\n if (!isOnlyWhenNoConsentToManager && !restrictOptInCodeForPreset) {\n waitPromises.push(putHtmlCodeToDom(codeOptIn, codeDynamics));\n } // If this is a manager, wait for the object to be loaded\n\n /* Silence is golden... Until you have PRO Version! */\n\n\n // If this is a manager, wait for the object to be loaded\n\n /* Silence is golden... Until you have PRO Version! */\n document.dispatchEvent(new CustomEvent(OPT_IN_EVENT, {\n detail: {\n group: group,\n cookie: cookie\n }\n }));\n allOptInCookies.push({\n group: group,\n cookie: cookie\n });\n } else if (isManager) {\n /* Silence is golden... Until you have PRO Version! */\n }\n\n case 3:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n\n return function (_x2, _x3, _x4) {\n return _ref.apply(this, arguments);\n };\n }());\n\n case 9:\n return _context2.abrupt(\"return\", {\n isManagerOptOut: isManagerOptOut,\n dataLayerPromise: dataLayerPromise,\n cookies: allOptInCookies,\n ready: Promise.all(waitPromises)\n });\n\n case 10:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2);\n }));\n return _applyOptIn.apply(this, arguments);\n}\n\nexport { applyOptIn };","import _objectWithoutProperties from \"@babel/runtime/helpers/objectWithoutProperties\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { putHtmlCodeToDom } from \"@devowl-wp/headless-content-unblocker\";\nimport { getSelectedCookies, getManagerDependingVariables } from \".\";\nimport { getOtherOptionsFromWindow } from \"../../utils\";\n/**\n * Opt-in and opt-out to a set of cookies for a given data manager like GTM / MTM.\n */\n\nfunction applyOptInOutManager(_x, _x2, _x3) {\n return _applyOptInOutManager.apply(this, arguments);\n}\n\nfunction _applyOptInOutManager() {\n _applyOptInOutManager = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(type, dataLayer, isManagerOptOut) {\n var waitPromises, _getSelectedCookies, isManagerActive, iterateCookies, _getOtherOptionsFromW, setCookiesViaManager, _getManagerDependingV, useVariableNameCamel, useVariableNamePascal;\n\n return _regeneratorRuntime.wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n waitPromises = [];\n /* onlypro:start */\n\n _getSelectedCookies = getSelectedCookies(type), isManagerActive = _getSelectedCookies.isManagerActive, iterateCookies = _getSelectedCookies.iterateCookies;\n _getOtherOptionsFromW = getOtherOptionsFromWindow(), setCookiesViaManager = _getOtherOptionsFromW.setCookiesViaManager;\n _getManagerDependingV = getManagerDependingVariables(isManagerActive, setCookiesViaManager), useVariableNameCamel = _getManagerDependingV.useVariableNameCamel, useVariableNamePascal = _getManagerDependingV.useVariableNamePascal; // When there is a manager, let's push all opt-in and opt-out events (parallel)\n\n if (!dataLayer) {\n _context2.next = 11;\n break;\n }\n\n // Opt-in events\n iterateCookies(function (group, cookie, isOptIn) {\n var event = cookie[\"\".concat(useVariableNameCamel, \"InEventName\")];\n\n if (isOptIn && event) {\n dataLayer.push({\n realCookieBannerOptInEvents: _defineProperty({}, event, true),\n event: event\n });\n }\n }); // Wait x seconds\n\n _context2.next = 8;\n return new Promise(function (r) {\n return setTimeout(r, 1000);\n });\n\n case 8:\n // Opt-out events\n iterateCookies(function (group, cookie, isOptIn) {\n var event = cookie[\"\".concat(useVariableNameCamel, \"OutEventName\")];\n\n if (!isOptIn && event) {\n dataLayer.push({\n realCookieBannerOptOutEvents: _defineProperty({}, event, true),\n event: event\n });\n }\n });\n _context2.next = 14;\n break;\n\n case 11:\n if (!(isManagerActive && isManagerOptOut)) {\n _context2.next = 14;\n break;\n }\n\n _context2.next = 14;\n return iterateCookies( /*#__PURE__*/function () {\n var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(group, _ref, isOptIn) {\n var codeDynamics, codeOptIn, rest;\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n codeDynamics = _ref.codeDynamics, codeOptIn = _ref.codeOptIn, rest = _objectWithoutProperties(_ref, [\"codeDynamics\", \"codeOptIn\"]);\n\n if (isOptIn && rest[\"codeOptInNo\".concat(useVariableNamePascal)]) {\n waitPromises.push(putHtmlCodeToDom(codeOptIn, codeDynamics));\n }\n\n case 2:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n\n return function (_x4, _x5, _x6) {\n return _ref2.apply(this, arguments);\n };\n }());\n\n case 14:\n return _context2.abrupt(\"return\", {\n ready: Promise.all(waitPromises)\n });\n\n case 15:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2);\n }));\n return _applyOptInOutManager.apply(this, arguments);\n}\n\nexport { applyOptInOutManager };","import _createForOfIteratorHelper from \"@babel/runtime/helpers/createForOfIteratorHelper\";\nimport { createRegxpPatternFromWildcardedName } from \"../../utils\";\nimport Cookie from \"js-cookie\";\nimport { applyDynamicsToHtml } from \"@devowl-wp/headless-content-unblocker\";\n/**\n * Delete cookies on client side (currently only `localStorage` and `sessionStorage`).\n */\n\nfunction deleteCookiesLocally(technicalDefinitions, dynamics) {\n var _iterator = _createForOfIteratorHelper(technicalDefinitions),\n _step;\n\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var _step$value = _step.value,\n type = _step$value.type,\n name = _step$value.name;\n // Create valid Regxp pattern\n var pattern = new RegExp(createRegxpPatternFromWildcardedName(applyDynamicsToHtml(name, dynamics)), \"g\");\n\n switch (type) {\n case \"http\":\n {\n for (var _i = 0, _Object$keys = Object.keys(Cookie.get()); _i < _Object$keys.length; _i++) {\n var key = _Object$keys[_i];\n\n if (pattern.test(key)) {\n Cookie.remove(key);\n }\n }\n\n break;\n }\n\n case \"local\":\n case \"session\":\n {\n try {\n var useStorage = type === \"local\" ? window.localStorage : window.sessionStorage;\n\n if (useStorage) {\n for (var _i2 = 0, _Object$keys2 = Object.keys(useStorage); _i2 < _Object$keys2.length; _i2++) {\n var itemName = _Object$keys2[_i2];\n\n if (pattern.test(itemName)) {\n try {\n // Fallback to `null` because `removeItem` can have issues on some browsers\n useStorage.setItem(itemName, null);\n } catch (e) {// Silence is golden. A `QuotaExceededError` can be thrown but we ignore it, because we remove the item\n } // Try as long (but max 100 times) until deleted\n\n\n var tries = 0;\n\n while (useStorage.getItem(itemName) && tries < 100) {\n tries++;\n useStorage.removeItem(itemName);\n }\n }\n }\n }\n } catch (e) {\n // Browser does not support localStorage, let's do nothing...\n continue;\n }\n\n break;\n }\n\n default:\n break;\n }\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n}\n\nexport { deleteCookiesLocally };","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestConsentClearDelete = {\n path: \"/consent/clear\",\n method: RouteHttpVerb.DELETE\n};","import { commonRequest } from \"@devowl-wp/utils\";\nimport { getOptionsFromWindow } from \"../../utils\";\nimport { locationRestConsentClearDelete } from \"../../wp-api\";\n/**\n * Delete cookies on server side (currently only `http`).\n */\n\nfunction deleteCookiesServer(cookies) {\n var _getOptionsFromWindow = getOptionsFromWindow(),\n restNamespace = _getOptionsFromWindow.restNamespace,\n restRoot = _getOptionsFromWindow.restRoot,\n restQuery = _getOptionsFromWindow.restQuery,\n restNonce = _getOptionsFromWindow.restNonce;\n\n return commonRequest({\n location: locationRestConsentClearDelete,\n options: {\n restNamespace: restNamespace,\n restRoot: restRoot,\n restQuery: restQuery,\n restNonce: restNonce\n },\n sendRestNonce: false,\n params: {\n cookies: cookies.join(\",\")\n }\n });\n}\n\nexport { deleteCookiesServer };","import _objectWithoutProperties from \"@babel/runtime/helpers/objectWithoutProperties\";\nimport _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { getSelectedCookies, getManagerDependingVariables, deleteCookiesLocally, deleteCookiesServer } from \".\";\nimport { getOtherOptionsFromWindow } from \"../../utils\";\nimport { OPT_OUT_EVENT } from \"../../types\";\nimport { putHtmlCodeToDom } from \"@devowl-wp/headless-content-unblocker\";\n/**\n * Opt-in to a set of cookies for a given data manager like GTM / MTM.\n */\n\nfunction applyOptOut(_x, _x2) {\n return _applyOptOut.apply(this, arguments);\n}\n\nfunction _applyOptOut() {\n _applyOptOut = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(type, isManagerOptOut) {\n var _getSelectedCookies, isManagerActive, iterateCookies, _getOtherOptionsFromW, setCookiesViaManager, _getManagerDependingV, useVariableNamePascal, foundOptOutToDelete;\n\n return _regeneratorRuntime.wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n _getSelectedCookies = getSelectedCookies(type), isManagerActive = _getSelectedCookies.isManagerActive, iterateCookies = _getSelectedCookies.iterateCookies;\n _getOtherOptionsFromW = getOtherOptionsFromWindow(), setCookiesViaManager = _getOtherOptionsFromW.setCookiesViaManager;\n _getManagerDependingV = getManagerDependingVariables(isManagerActive, setCookiesViaManager), useVariableNamePascal = _getManagerDependingV.useVariableNamePascal; // Handle opt-outs sequentially\n\n foundOptOutToDelete = [];\n _context2.next = 6;\n return iterateCookies( /*#__PURE__*/function () {\n var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(group, cookie, isOptIn) {\n var id, codeDynamics, codeOptOut, codeOptOutDelete, noTechnicalDefinitions, technicalDefinitions, rest, isOnlyWhenNoConsentToManager;\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n id = cookie.id, codeDynamics = cookie.codeDynamics, codeOptOut = cookie.codeOptOut, codeOptOutDelete = cookie.codeOptOutDelete, noTechnicalDefinitions = cookie.noTechnicalDefinitions, technicalDefinitions = cookie.technicalDefinitions, rest = _objectWithoutProperties(cookie, [\"id\", \"codeDynamics\", \"codeOptOut\", \"codeOptOutDelete\", \"noTechnicalDefinitions\", \"technicalDefinitions\"]);\n\n if (!isOptIn) {\n // Check if the script should explicitly only be loaded if no consent is given to the manager\n isOnlyWhenNoConsentToManager = isManagerActive && rest[\"codeOptInNo\".concat(useVariableNamePascal)];\n\n if (isOnlyWhenNoConsentToManager && !isManagerOptOut || !isOnlyWhenNoConsentToManager) {\n putHtmlCodeToDom(codeOptOut, codeDynamics);\n }\n\n if (codeOptOutDelete && !noTechnicalDefinitions) {\n deleteCookiesLocally(technicalDefinitions, codeDynamics); // Mark deletable server-side cookies\n\n // Mark deletable server-side cookies\n if (technicalDefinitions.some(function (_ref2) {\n var type = _ref2.type;\n return type === \"http\";\n })) {\n foundOptOutToDelete.push(id);\n }\n }\n\n document.dispatchEvent(new CustomEvent(OPT_OUT_EVENT, {\n detail: {\n group: group,\n cookie: cookie\n }\n }));\n }\n\n case 2:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n\n return function (_x3, _x4, _x5) {\n return _ref.apply(this, arguments);\n };\n }());\n\n case 6:\n // Handle cookie deletion which needs to be done server-side (e. g. HTTP cookies)\n foundOptOutToDelete.length && setTimeout(function () {\n return deleteCookiesServer(foundOptOutToDelete);\n }, 0);\n\n case 7:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2);\n }));\n return _applyOptOut.apply(this, arguments);\n}\n\nexport { applyOptOut };","import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { applyOptIn, applyOptInOutManager, applyOptOut } from \".\";\nimport { ready } from \"../../utils\";\nimport { OPT_IN_ALL_EVENT } from \"../../types\";\n/**\n * Apply cookies on frontend. Depending on some other mechanism you can differ\n * between the following \"decision\" types:\n *\n * - `all`: All cookies are applied (e. g. bots)\n * - `consent`: All cookies from the current consent (read from cookie)\n *\n * The cookies are sent in the following way:\n *\n * 1. Apply opt-in scripts (sequentially)\n * 2. If GTM / MTM is active, wait for the data layer\n * a) Push all opt-in events (parallel)\n * b) Wait x seconds to avoid side effects\n * c) Push all opt-out events (parallel)\n * 3. Apply opt-in scripts (sequentially)\n *\n * @param type\n * @see https://www.simoahava.com/analytics/notify-page-google-tag-manager-loaded/\n * @see https://support.google.com/tagmanager/answer/7679219\n * @see https://developer.matomo.org/guides/tagmanager/datalayer\n */\n\nfunction applyCookies(_x) {\n return _applyCookies.apply(this, arguments);\n}\n\nfunction _applyCookies() {\n _applyCookies = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(type) {\n var _yield$applyOptIn, dataLayerPromise, isManagerOptOut, cookies, applyOptInReady, _yield$applyOptInOutM, applyOptInOutManagerReady, optInAllReady;\n\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n _context.next = 2;\n return ready();\n\n case 2:\n _context.next = 4;\n return applyOptIn(type);\n\n case 4:\n _yield$applyOptIn = _context.sent;\n dataLayerPromise = _yield$applyOptIn.dataLayerPromise;\n isManagerOptOut = _yield$applyOptIn.isManagerOptOut;\n cookies = _yield$applyOptIn.cookies;\n applyOptInReady = _yield$applyOptIn.ready;\n _context.t0 = applyOptInOutManager;\n _context.t1 = type;\n _context.next = 13;\n return dataLayerPromise;\n\n case 13:\n _context.t2 = _context.sent;\n _context.t3 = isManagerOptOut;\n _context.next = 17;\n return (0, _context.t0)(_context.t1, _context.t2, _context.t3);\n\n case 17:\n _yield$applyOptInOutM = _context.sent;\n applyOptInOutManagerReady = _yield$applyOptInOutM.ready;\n optInAllReady = Promise.all([applyOptInReady, applyOptInOutManagerReady]);\n document.dispatchEvent(new CustomEvent(OPT_IN_ALL_EVENT, {\n detail: {\n cookies: cookies,\n ready: optInAllReady\n }\n })); // Do opt-out\n\n _context.next = 23;\n return applyOptOut(type, isManagerOptOut);\n\n case 23:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n return _applyCookies.apply(this, arguments);\n}\n\nexport { applyCookies };","import _createForOfIteratorHelper from \"@babel/runtime/helpers/createForOfIteratorHelper\";\nimport { getOtherOptionsFromWindow } from \"../../utils\";\nvar ATTRIBUTE_EXPRIVACY_NOTE_EXPAND = \"eprivacy-usa-expand\";\nvar addedEventListener = false;\n/**\n * Replace in a given (HTML) string `{{service}}` with a given filter.\n */\n\nfunction expandGroupsServiceVariable( // Pass available services as values\ngroups, tcf, text, // Pass a callback to filter the passed available services by criteria\nfilter) {\n var truncateAfter = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 3;\n var noCookiesReturnEmptyString = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : false;\n\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n _getOtherOptionsFromW2 = _getOtherOptionsFromW.bannerI18n,\n ePrivacyNoteMore = _getOtherOptionsFromW2.ePrivacyNoteMore,\n none = _getOtherOptionsFromW2.none;\n\n var restLabels = [];\n var labels = []; // Usual cookies\n\n var _iterator = _createForOfIteratorHelper(groups),\n _step;\n\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var items = _step.value.items;\n\n var _iterator2 = _createForOfIteratorHelper(items),\n _step2;\n\n try {\n for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {\n var _cookie = _step2.value;\n\n if (filter(_cookie)) {\n labels.push(_cookie.name);\n }\n }\n } catch (err) {\n _iterator2.e(err);\n } finally {\n _iterator2.f();\n }\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n\n if (process.env.IS_TCF === \"1\" && tcf) {\n // TCF vendor configurations\n var gvl = tcf.gvl,\n vendorConfigurations = tcf.vendorConfigurations;\n\n for (var vendorConfigurationId in vendorConfigurations) {\n var vendorConfiguration = vendorConfigurations[vendorConfigurationId];\n var vendor = gvl.vendors[vendorConfiguration.vendorId];\n\n if (filter(undefined, {\n vendor: vendor,\n vendorConfiguration: vendorConfiguration\n })) {\n labels.push(vendor.name);\n }\n }\n } // Truncate when more than 1 difference\n\n\n if (labels.length - truncateAfter > 1) {\n restLabels = labels.slice(truncateAfter, labels.length);\n labels = labels.slice(0, truncateAfter); // Unfortunately we can not use React here because the text is customized inside a text\n\n labels.push(\"<span \".concat(ATTRIBUTE_EXPRIVACY_NOTE_EXPAND, \"=\\\"\").concat(restLabels.join(\", \"), \"\\\" style=\\\"text-decoration:none;border-bottom:0.5px dashed;padding-bottom:1px;cursor:pointer;\\\">\").concat(ePrivacyNoteMore.replace(\"%d\", restLabels.length.toString()), \"</span>\")); // Add event-listener globally once as we are not using React here\n\n !addedEventListener && document.addEventListener(\"click\", function (e) {\n var target = e.target;\n\n if (target !== null && target !== void 0 && target.hasAttribute(ATTRIBUTE_EXPRIVACY_NOTE_EXPAND)) {\n target.innerHTML = target.getAttribute(ATTRIBUTE_EXPRIVACY_NOTE_EXPAND);\n target.removeAttribute(\"style\");\n }\n });\n addedEventListener = true;\n }\n\n if (noCookiesReturnEmptyString && labels.length === 0) {\n return \"\";\n }\n\n return text.replace(/{{services}}/g, labels.length ? labels.join(\", \") : \"<span style=\\\"color:red;\\\">\".concat(none, \"</span>\"));\n}\n\nexport { expandGroupsServiceVariable };","function getCookieTypeLocalized() {\n return {\n http: {\n name: \"HTTP Cookie\",\n abbr: \"HTTP\",\n backgroundColor: \"black\"\n },\n local: {\n name: \"Local Storage\",\n abbr: \"Local\",\n backgroundColor: \"#b3983c\"\n },\n session: {\n name: \"Session Storage\",\n abbr: \"Session\",\n backgroundColor: \"#3c99b3\"\n },\n flash: {\n name: \"Flash Local Shared Object\",\n abbr: \"Flash\",\n backgroundColor: \"#b33c3c\"\n },\n indexedDb: {\n name: \"IndexedDB\",\n abbr: \"I-DB\",\n backgroundColor: \"#4ab33c\"\n }\n };\n}\n\nexport { getCookieTypeLocalized };","import { getOtherOptionsFromWindow } from \"../utils\";\nimport { matchingSelector } from \"@devowl-wp/resolve-none-computed-style\";\nwindow.rcbPoweredByCacheOuterHTML = \"\";\n/**\n * Get the server-side-rendered powered by link.\n */\n\nfunction getSsrPoweredByLink() {\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n pageRequestUuid4 = _getOtherOptionsFromW.pageRequestUuid4;\n\n var element = document.getElementById(pageRequestUuid4); // SSR-powered by\n\n var originalPoweredLink = element.nextElementSibling;\n var poweredLink = document.createElement(\"div\");\n\n if (window.rcbPoweredByCacheOuterHTML) {\n // We have cached the link as we remove it from the DOM\n poweredLink.innerHTML = window.rcbPoweredByCacheOuterHTML;\n } else if (matchingSelector(originalPoweredLink, \"a\") && originalPoweredLink.innerHTML.toLowerCase().indexOf(\"Real Cookie Banner\")) {\n window.rcbPoweredByCacheOuterHTML = originalPoweredLink.outerHTML;\n poweredLink.innerHTML = window.rcbPoweredByCacheOuterHTML;\n originalPoweredLink.parentNode.removeChild(originalPoweredLink);\n }\n\n return poweredLink.children[0];\n}\n\nexport { getSsrPoweredByLink };","import _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { getOtherOptionsFromWindow, getCookie, supportsCookies } from \"../utils\";\nimport { explode } from \"../utils\";\n\n/**\n * Get current user decision from the cookie value.\n */\nfunction getUserDecision() {\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n userConsentCookieName = _getOtherOptionsFromW.userConsentCookieName;\n\n var cookieValue = getCookie(userConsentCookieName);\n\n if (!cookieValue) {\n if (!supportsCookies()) {\n // Use our `window` object instead of cookie value\n return window.rcbDisabledCookieComp || false;\n }\n\n return false;\n } // Validate cookie length\n\n\n var split = explode(cookieValue, \":\", 3);\n\n if (split.length !== 3) {\n return false;\n }\n\n var _split = _slicedToArray(split, 2),\n uuid = _split[0],\n revision = _split[1];\n\n var consent = JSON.parse(split[2]);\n return {\n uuid: uuid,\n revision: revision,\n consent: consent\n };\n}\n\nexport { getUserDecision };","import _toConsumableArray from \"@babel/runtime/helpers/toConsumableArray\";\n\n/**\n * Get cookie by name. Please keep in mind you need to `decodeURIComponent` the value in some cases!\n *\n * @param cname\n * @see https://stackoverflow.com/questions/10730362/get-cookie-by-name\n * @see https://stackoverflow.com/a/25490531/5506547\n */\nfunction getCookie(cname) {\n var decode = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n\n // In some cases there could be cookies with the same name in `document.cooke` -> take the last one\n var matches = _toConsumableArray(document.cookie.matchAll(new RegExp(\"(^|;)\\\\s*\".concat(cname, \"\\\\s*=\\\\s*([^;]+)\"), \"g\")));\n\n if (!matches.length) {\n return \"\";\n }\n\n var value = matches // Last match in `document.cookie`\n .pop() // Value of regex match\n .pop();\n return decode ? decodeURIComponent(value) : value;\n}\n\nexport { getCookie };","/**\n * A PHP's port of `explode`. `.split` is not similar because it does not join\n * remaining string.\n */\nfunction explode(string, separator, n) {\n var split = string.split(separator);\n if (split.length <= n) return split;\n var out = split.slice(0, n - 1);\n out.push(split.slice(n - 1).join(separator));\n return out;\n}\n\nexport { explode };","/**\n * This event is fired when the user has no consent or invalid consent\n * and the banner gets visible.\n */\nexport var BANNER_PRE_DECISION_SHOW_EVENT = \"RCB/Banner/Show\";","export var OPT_IN_ALL_EVENT = \"RCB/OptIn/All\";","export var OPT_IN_EVENT = \"RCB/OptIn\";","export var OPT_OUT_EVENT = \"RCB/OptOut\";","import { pregQuote } from \".\";\n/**\n * Port of Clear.php#createRegxpPatternFromWildcardedName.\n */\n\nfunction createRegxpPatternFromWildcardedName(name) {\n var tmp = name.replace(/\\*/g, \"PLEACE_REPLACE_ME_AGAIN\");\n return \"^\".concat(pregQuote(tmp).replace(/PLEACE_REPLACE_ME_AGAIN/g, \"(.*)\"), \"$\");\n}\n\nexport { createRegxpPatternFromWildcardedName };","/**\n * Port of `preg_quote`.\n *\n * @see https://github.com/kvz/locutus/blob/3f14dc5d142f5dcbdf36b4271c21a850a4a259da/src/php/pcre/preg_quote.js#L1\n */\nfunction pregQuote(str, delimiter) {\n // discuss at: https://locutus.io/php/preg_quote/\n // original by: booeyOH\n // improved by: Ates Goral (https://magnetiq.com)\n // improved by: Kevin van Zonneveld (https://kvz.io)\n // improved by: Brett Zamir (https://brett-zamir.me)\n // bugfixed by: Onno Marsman (https://twitter.com/onnomarsman)\n // example 1: preg_quote(\"$40\")\n // returns 1: '\\\\$40'\n // example 2: preg_quote(\"*RRRING* Hello?\")\n // returns 2: '\\\\*RRRING\\\\* Hello\\\\?'\n // example 3: preg_quote(\"\\\\.+*?[^]$(){}=!<>|:\")\n // returns 3: '\\\\\\\\\\\\.\\\\+\\\\*\\\\?\\\\[\\\\^\\\\]\\\\$\\\\(\\\\)\\\\{\\\\}\\\\=\\\\!\\\\<\\\\>\\\\|\\\\:'\n return str.replace(new RegExp(\"[.\\\\\\\\+*?\\\\[\\\\^\\\\]$(){}=!<>|:\\\\\".concat(delimiter || \"\", \"-]\"), \"g\"), \"\\\\$&\");\n}\n\nexport { pregQuote };","/**\n * Use this if you do not have the Mobx store available in your JavaScript asset.\n * E. g. the `banner.js` does not rely on the mobx store and should access the\n * localized options via `window.realCookieBanner` directly.\n */\nfunction getOptionsFromWindow() {\n return window[process.env.slug.replace(/-([a-z])/g, function (g) {\n return g[1].toUpperCase();\n })];\n}\n\nexport { getOptionsFromWindow };","import { getOptionsFromWindow } from \"./getOptionsFromWindow\";\n/**\n * Use this if you do not have the Mobx store available in your JavaScript asset.\n * E. g. the `banner.js` does not rely on the mobx store and should access the\n * localized options via `window.realCookieBanner.others` directly.\n */\n\nfunction getOtherOptionsFromWindow() {\n return getOptionsFromWindow().others;\n}\n\nexport { getOtherOptionsFromWindow };","import _toConsumableArray from \"@babel/runtime/helpers/toConsumableArray\";\nimport { Fragment } from \"react\";\n/**\n * Join together a set of JSX elements with a separator.\n *\n * @see https://stackoverflow.com/q/33577448/5506547\n */\n\nfunction jsxJoin(components, separator) {\n // Just to be sure, remove falsy values so we can add conditionals to the components array\n var filtered = components.filter(Boolean);\n return filtered.length === 0 ? null : filtered.reduce(function (acc, curr, i) {\n return acc.length ? [].concat(_toConsumableArray(acc), [// Wrap the separator in a fragment to avoid `missing key` issues\n h(Fragment, {\n key: i\n }, separator), curr]) : [curr];\n }, []);\n}\n\nexport { jsxJoin };","// Currently we can not rely on core-js for frontend banner because\n// it increases the bundle size a lot. There is an open issue for this:\n// https://github.com/zloirock/core-js/issues/388\n// import \"core-js/stable/string/virtual/starts-with\";\n// import \"core-js/stable/string/virtual/ends-with\";\n// import \"core-js/features/object/assign\";\n// import \"core-js/features/object/values\";\n// import \"core-js/features/promise\";\n// https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/String/endsWIth\nif (!String.prototype.startsWith) {\n // @see\n String.prototype.startsWith = function (searchString, position) {\n position = position || 0;\n return this.indexOf(searchString, position) === position;\n };\n} // https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/String/endsWith\n\n\nif (!String.prototype.endsWith) {\n String.prototype.endsWith = function (searchString, position) {\n var subjectString = this.toString();\n\n if (typeof position !== \"number\" || !isFinite(position) || Math.floor(position) !== position || position > subjectString.length) {\n position = subjectString.length;\n }\n\n position -= searchString.length;\n var lastIndex = subjectString.indexOf(searchString, position);\n return lastIndex !== -1 && lastIndex === position;\n };\n} // https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttributeNames\n\n\nif (Element.prototype.getAttributeNames == undefined) {\n Element.prototype.getAttributeNames = function () {\n var attributes = this.attributes;\n var length = attributes.length;\n var result = new Array(length);\n\n for (var i = 0; i < length; i++) {\n result[i] = attributes[i].name;\n }\n\n return result;\n };\n} // https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent#Polyfill\n\n\n(function () {\n if (typeof window.CustomEvent === \"function\") return;\n\n function CustomEvent(event, params) {\n params = params || {\n bubbles: false,\n cancelable: false,\n detail: null\n };\n var evt = document.createEvent(\"CustomEvent\");\n evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail);\n return evt;\n }\n\n window.CustomEvent = CustomEvent;\n})(); // https://github.com/KhaledElAnsari/Object.values\n\n\nObject.values = Object.values ? Object.values : function (obj) {\n var allowedTypes = [\"[object String]\", \"[object Object]\", \"[object Array]\", \"[object Function]\"];\n var objType = Object.prototype.toString.call(obj);\n\n if (obj === null || typeof obj === \"undefined\") {\n throw new TypeError(\"Cannot convert undefined or null to object\");\n } else if (!~allowedTypes.indexOf(objType)) {\n return [];\n } else {\n // if ES6 is supported\n if (Object.keys) {\n return Object.keys(obj).map(function (key) {\n return obj[key];\n });\n }\n\n var result = [];\n\n for (var prop in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, prop)) {\n result.push(obj[prop]);\n }\n }\n\n return result;\n }\n}; // https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/Object/assign\n\nif (typeof Object.assign != \"function\") {\n // Must be writable: true, enumerable: false, configurable: true\n Object.defineProperty(Object, \"assign\", {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n value: function assign() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n var target = args[0]; // .length of function is 2\n\n \"use strict\";\n\n if (target == null) {\n // TypeError if undefined or null\n throw new TypeError(\"Cannot convert undefined or null to object\");\n }\n\n var to = Object(target);\n\n for (var index = 1; index < args.length; index++) {\n var nextSource = args[index];\n\n if (nextSource != null) {\n // Skip over if undefined or null\n for (var nextKey in nextSource) {\n // Avoid bugs when hasOwnProperty is shadowed\n if (Object.prototype.hasOwnProperty.call(nextSource, nextKey)) {\n to[nextKey] = nextSource[nextKey];\n }\n }\n }\n }\n\n return to;\n },\n writable: true,\n configurable: true\n });\n} // https://stackoverflow.com/a/20428914/5506547\n\n\n(function (arr) {\n arr.forEach(function (item) {\n // eslint-disable-next-line no-prototype-builtins\n if (item.hasOwnProperty(\"remove\")) {\n return;\n }\n\n Object.defineProperty(item, \"remove\", {\n configurable: true,\n enumerable: true,\n writable: true,\n value: function remove() {\n this.parentNode.removeChild(this);\n }\n });\n });\n})([Element.prototype, CharacterData.prototype, DocumentType.prototype]);","/**\n * Wait DOM is ready depending on a state.\n *\n * - `interactive`: Defer scripts are executing, but DOM is ready\n * - `complete`: All scripts including deferred ones are executed and DOM is ready\n *\n * @see https://stackoverflow.com/a/65430734/5506547\n * @see https://stackoverflow.com/a/51980980/5506547\n */\nvar ready = function ready(fn) {\n var state = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : \"complete\";\n return new Promise(function (resolve) {\n var cb = function cb() {\n fn === null || fn === void 0 ? void 0 : fn(); // We need to make this promise non-blocking. E.g. on Safari this\n // could lead to issues as the `readystatechange` event listener\n // can be nested (once `interactive`, then waiting `complete`)\n // Imagine, you are using an `await ready` within a `ready(fn)` statement.\n\n setTimeout(resolve, 0);\n };\n\n if (document.readyState === state) {\n cb();\n } else {\n document.addEventListener(\"readystatechange\", function () {\n if (document.readyState === state) {\n cb();\n }\n });\n }\n });\n};\n\nexport { ready };","var TEST_COOKIE_NAME = \"real_cookie_banner-test\";\n/**\n * Check if the current environment supports cookies.\n *\n * @see https://git.io/JcXiP\n * @returns\n */\n\nfunction supportsCookies() {\n try {\n document.cookie = \"\".concat(TEST_COOKIE_NAME, \"=1\");\n var result = document.cookie.indexOf(\"\".concat(TEST_COOKIE_NAME, \"=\")) !== -1;\n document.cookie = \"\".concat(TEST_COOKIE_NAME, \"=1; expires=Thu, 01-Jan-1970 00:00:01 GMT\");\n return result;\n } catch (e) {\n return false;\n }\n}\n\nexport { supportsCookies };","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","var scriptUrl;\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \"\";\nvar document = __webpack_require__.g.document;\nif (!scriptUrl && document) {\n\tif (document.currentScript)\n\t\tscriptUrl = document.currentScript.src\n\tif (!scriptUrl) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tif(scripts.length) scriptUrl = scripts[scripts.length - 1].src\n\t}\n}\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\n// or pass an empty string (\"\") and set the __webpack_public_path__ variable from your code to use your own logic.\nif (!scriptUrl) throw new Error(\"Automatic publicPath is not supported in this browser\");\nscriptUrl = scriptUrl.replace(/#.*$/, \"\").replace(/\\?.*$/, \"\").replace(/\\/[^\\/]+$/, \"/\");\n__webpack_require__.p = scriptUrl;","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t392: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkIds[i]] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkrealCookieBanner_name_\"] = self[\"webpackChunkrealCookieBanner_name_\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\n__webpack_require__.O(undefined, [568], function() { return __webpack_require__(6652); })\nvar __webpack_exports__ = __webpack_require__.O(undefined, [568], function() { return __webpack_require__(4773); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["deferred","DYNAMICS_VARIABLE_REGEXP","applyDynamicsToHtml","src","dynamics","replace","fullMatch","variableName","Object","prototype","hasOwnProperty","call","HTML_ATTRIBUTE_CAPTURE_PREFIX","HTML_ATTRIBUTE_CAPTURE_CLICK_PREFIX","HTML_ATTRIBUTE_CAPTURE_SUFFIX","HTML_ATTRIBUTE_BY","HTML_ATTRIBUTE_COOKIE_IDS","HTML_ATTRIBUTE_VISUAL_PARENT","HTML_ATTRIBUTE_VISUAL_PAINT_MODE","HTML_ATTRIBUTE_INLINE","HTML_ATTRIBUTE_INLINE_STYLE","HTML_ATTRIBUTE_BLOCKER_ID","HTML_TAG_CONSENT_SCRIPT","HTML_ATTRIBUTE_BLOCKER_CONNECTED","HTML_ATTRIBUTE_BLOCKER_CONNECTED_PRESERVED","HTML_ATTRIBUTE_UNBLOCKED_TRANSACTION_COMPLETE","HTML_ATTRIBUTE_TRANSFORM_WRAPPER","HTML_ATTRIBUTE_TRANSFORM_WRAPPER_VALUE","HTML_ATTRIBUTE_WAS_PREVIOUSLY_STRICT_HIDDEN","HTML_ATTRIBUTE_RESET_PARENT","HTML_ATTRIBUTE_RESET_PARENT_VALUE","HTML_ATTRIBUTE_RESET_PARENT_IS_RATIO_CONTAINER","HTML_ATTRIBUTE_GOT_CLICKED","HTML_ATTRIBUTE_GOT_CLICKED_VALUE","HTML_ATTRIBUTE_GOT_CLICKED_VALUE_DO_NOT_USE_IN_NESTED","HTML_ATTRIBUTE_THUMBNAIL","WINDOW_ONLOAD_UNBLOCK_REPLACEMENT","putHtmlCodeToDom","html","referenceNode","arguments","length","undefined","document","body","Promise","resolve","done","error","e","console","beforeWriteToken","token","attrs","booleanAttrs","href","content","attr","concat","querySelector","OPT_IN_CONTENT_BLOCKER","dispatchResizeEvent","delay","setTimeout","window","dispatchEvent","Event","htmlDecode","input","_doc$querySelector","DOMParser","parseFromString","documentElement","textContent","isUrl","url","test","parents","element","selector","elements","elem","parentElement","nodeType","Node","ELEMENT_NODE","push","matchingSelector","proto","Element","nativeFunction","matches","matchesSelector","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector","matchingElements","querySelectorAll","matchIdx","commonUrlBuilder","_ref","location","_ref$params","params","_ref$nonce","nonce","options","apiUrl","restRoot","query","permalinkPath","rest_route","pathname","foundParams","path","match","group","getParams","_i","_Object$keys","keys","checkParam","indexOf","usePath","namespace","restNamespace","useThisProtocol","protocol","slice","set","restNonce","_wpnonce","currentApiUrlString","toString","filter","s","method","_method","restQuery","pool","recreateFetchPool","nonceDeprecationPool","_x","_x2","_nonceDeprecationPool","apply","this","_callee2","restRecreateNonceEndpoint","resultPromise","returnNonce","_context2","prev","next","_callee","reject","recreateFetch","newNonce","_context","sent","ok","text","t0","stop","_x3","_x4","abrupt","all","values","parseResult","_parseResult","result","cloneForFallback","lastError","_iterator","_step","line","clone","json","warn","split","n","value","startsWith","JSON","parse","t1","t2","f","finish","CONTENT_TYPE_JSON","commonRequest","_commonRequest","routeRequest","_ref$settings","settings","_ref$multipart","multipart","_ref$sendRestNonce","sendRestNonce","allowBody","hasRestNonce","init","apiUrlBuilt","responseJSON","replay","resultAny","request","stringify","headers","Accept","code","status","detectCorruptRestApiFailed","RouteHttpVerb","untrailingslashit","str","endsWith","trailingslashit","getWebpackPublicPath","env","slug","g","toUpperCase","publicUrl","chunkFolder","unblock","ref","createElement","found","blocker","isPseudoRef","loop1","_step2","row","hosts","_iterator2","host","regexp","err","setAttribute","cookies","join","id","addEventListener","remove","appendChild","bannerInlineStylesScale","useWidthOfThisContainerId","original","replaceWith","enabled","scalePercent","scalePercentVertical","hexToRgb","hex","exec","r","parseInt","b","calculateOverlay","alpha","_hexToRgb","useBannerButtons","_useBanner","individualPrivacyOpen","onSave","updateGroupChecked","updateCookieChecked","groups","essentialGroup","updateIndividualPrivacyOpen","activeAction","onClose","buttonClickedAll","buttonClickedEssentials","buttonClickedCloseIcon","buttonClickedCustom","acceptAll","forEach","acceptEssentials","isCloseIcon","items","_step$value","legalBasis","cookieId","acceptIndividual","openIndividualPrivacy","closeIcon","Portal","children","className","_ref$tag","tag","renderInContainer","_useState","el","classList","add","renderIn","removeChild","counter","CloseIcon","width","color","tooltipText","framed","tooltipAlways","onClick","_ref$thickness","thickness","idCloseIconNotPortaled","idCloseIconPortaled","idCloseIconPlaceholder","rect","usePlainCss","y","x","h","title","position","always","BannerCloseIcon","_useBanner$headerDesi","headerDesign","fontSize","fontColor","texts","mobile","pageRequestUuid4","_useBanner$buttonClic","buttonClicked","_useBannerButtons","_getOtherOptionsFromW2","getOtherOptionsFromWindow","bannerI18n","close","closeWithoutSaving","container","getElementById","clientWidth","BannerHeader","_","_ref$layout","type","dialogBorderRadius","_ref$design","borderWidth","borderColor","restDesign","_ref$headerDesign","inheritBg","bg","padding","antiAdBlocker","useType","useBorderWidth","style","banner","_banner$headerDesign","logo","logoRetina","showCloseIcon","decision","headline","individualTexts","headerTitlePrivacyPolicyHistory","useRetina","devicePixelRatio","useLogo","useHeadline","layout","design","customCss","map","p","background","borderRadius","zIndex","top","borderTop","borderLeft","borderRight","bannerMaxWidth","textAlign","inheritTextAlign","logoPosition","restHeaderDesign","individualLayout","useTextAlign","transition","maxWidth","inheritBannerMaxWidth","margin","display","justifyContent","alignItems","flexDirection","bannerHeaderInlineStyle","alt","isRetina","logoMaxHeight","logoMargin","logoFitDim","logoRetinaFitDim","useFitDim","dimStyle","height","m","bannerHeaderInlineStyleLogo","fontInheritFamily","fontFamily","fontWeight","bannerHeaderInlineStyleHeadline","BannerGroupSectionTitle","_ref$group","headlineFontSize","headlineFontColor","headlineFontWeight","bannerGroupsInlineStyleTitle","descriptionFontColor","descriptionFontSize","marginTop","bannerGroupsInlineStyleDescription","bannerGroupsInlineStyleCheckbox","visible","checked","isDisabled","checkboxBg","checkboxBorderWidth","checkboxBorderColor","checkboxActiveBg","checkboxActiveBorderColor","checkboxActiveColor","useFontSize","useCheckboxBorderWidth","cursor","opacity","border","marginRight","verticalAlign","lineHeight","boxSizing","bannerGroupsInlineStyleLinkMore","isHover","linkTextDecoration","linkColor","linkHoverColor","textDecoration","BannerCookieProperty","label","useValue","wordBreak","target","rel","dangerouslySetInnerHTML","__html","key","groupBorderWidth","groupBorderColor","paddingLeft","bannerGroupsInlineStyleCookieProperty","BannerCookie","_consent$groups","_ref$cookie","cookie","name","purpose","provider","providerPrivacyPolicy","ePrivacyUSA","noTechnicalDefinitions","technicalDefinitions","codeDynamics","_useState2","isRendered","setIsRendered","isEPrivacyUSA","consent","types","isEssentialGroup","isChecked","some","c","handleCheckbox","bannerGroupsInlineStyleCookie","marginBottom","icon","CheckOutlined","legalRequirement","legitimateInterest","yes","no","_ref2","duration","durationUnit","sessionDuration","technicalCookieDefinition","BannerGroup","_consent$groups$id","description","_useState3","_useState4","setIsHover","_useState5","_useState6","isOpen","setIsOpen","previewCheckboxActiveState","_banner$individualTex","showMore","hideMore","CheckboxIcon","sort","MinusOutlined","groupBg","groupBorderRadius","groupPadding","groupInheritBg","useGroupBorderWidth","bannerGroupsInlineStyleGroup","preventDefault","onMouseEnter","onMouseLeave","BannerGroups","groupSpacing","useGroups","clear","index","BannerDottedGroup","groupsFirstView","isPro","_ref$bodyDesign","bodyDesign","dottedGroupsInheritFontSize","dottedGroupsFontSize","paddingRight","whiteSpace","bannerInlineStyleBodyDottedGroupItem","dottedGroupsBulletColor","bannerInlineStyleBodyDottedGroupBullet","BannerDottedGroups","lineBreak","BannerHistorySelect","_history$","selectedId","setSelectedId","history","selectHistoryEntry","historyLabel","historySelectNone","descriptionInheritFontSize","uuid","optionStyle","borderBottom","disabled","onChange","tcf","isDoNotTrack","isUnblock","isForwarded","created","Date","toLocaleString","lang","bannerInlineStyleBodyTeaching","teachingsInheritTextAlign","teachingsTextAlign","teachingsInheritFontSize","teachingsFontSize","teachingsInheritFontColor","teachingsFontColor","bannerButtonsInlineStyleCommon","order","fullWidth","marginLeft","hoverBg","hoverFontColor","hoverBorderColor","backgroundColor","overflow","outline","flex","bannerButtonsInlineStyleAcceptEssentials","isTwoButtonRowLayout","isTcf","acceptEssentialsFontSize","acceptEssentialsBg","acceptEssentialsTextAlign","acceptEssentialsBorderColor","acceptEssentialsPadding","acceptEssentialsBorderWidth","acceptEssentialsFontColor","acceptEssentialsFontWeight","acceptEssentialsHoverBg","acceptEssentialsHoverFontColor","acceptEssentialsHoverBorderColor","acceptAllFontWeight","acceptAllFontSize","acceptAllPadding","bannerButtonsInlineStyleAcceptIndividual","acceptIndividualFontSize","acceptIndividualBg","acceptIndividualTextAlign","acceptIndividualBorderColor","acceptIndividualPadding","acceptIndividualBorderWidth","acceptIndividualFontColor","acceptIndividualFontWeight","acceptIndividualHoverBg","acceptIndividualHoverFontColor","acceptIndividualHoverBorderColor","bannerButtonsInlineStyleSave","_ref$saveButton","saveButton","bannerButtonsInlineStyleAcceptAll","acceptAllBg","acceptAllTextAlign","acceptAllBorderColor","acceptAllBorderWidth","acceptAllFontColor","acceptAllHoverBg","acceptAllHoverFontColor","acceptAllHoverBorderColor","BannerButton","inlineStyle","busyOnClick","isBusy","setIsBusy","handleOnClick","_banner$decision","acceptAllOneRowLayout","interactionAttr","useStyleFn","navigator","userAgent","textOverflow","BannerButtons","_banner$texts","didGroupFirstChange","_banner$buttonClicked","handleAll","handleEssentials","handleIndividual","save","BannerBody","_document$getElementB","leftSideContainerRef","rightSideContainerRef","isAgeNotice","ageNotice","teachingsSeparatorActive","ageNoticeBanner","consentForwardingExternalHostsText","consentForwardingExternalHosts","tcfGlobalScope","leftSideId","rightSideId","contentId","consentForwardingExternalHostsFinalText","tcfGlobalScopeFinalText","model","isServiceSpecific","useDescription","Boolean","useEPrivacyUSA","expandGroupsServiceVariable","gvl","vendorConfigurations","vendorConfiguration","stackOrGroups","leftSide","usePadding","float","paddingTop","paddingBottom","bannerInlineStylesLeftSide","descriptionTextAlign","bannerInlineStyleBodyDescription","teachingsSeparatorWidth","teachingsSeparatorHeight","teachingsSeparatorColor","bannerInlineStyleBodyTeachingsSeparator","rightSide","_style","dialogMaxWidth","footerDesign","inheritDialogMaxWidth","bannerInlineStylesRightSide","i","bannerInlineStyleBodyContainer","bannerInlineStyleBody","BannerFooterLink","anchorRest","_ref$footerDesign","bannerFooterInlineStyleLink","BannerFooter","legal","_banner$footerDesign","poweredByLink","linkTarget","poweredLink","isConsentRecord","_getOtherOptionsFromW","affiliate","handleClose","targetAttributes","_useBannerLegalLinks","useBannerLegalLinks","linkPrivacyPolicy","linkImprint","links","link","innerHTML","labelBehind","bottom","bannerFooterInlineStyleContainer","bannerFooterInlineStyle","jsxJoin","linksRow","useBannerRenderedHeightsAsCssVars","cssId","cssElement","previousHeight","recalculate","currentHeight","getBoundingClientRect","Math","floor","animateContainer","ResizeObserver","ro","observe","disconnect","removeEventListener","interval","setInterval","clearInterval","BannerContent","_banner$layout","currentRef","current","showHeader","hideHeader","showScrollBoxShadow","setShowScrollBoxShadow","updateShowScrollBoxShadow","clientHeight","scrollHeight","scrollTop","offsetHeight","hasScrollbar","scrolledToBottom","ceil","platform","headerRef","footerRef","innerHeight","closeIconDistance","maxHeight","bannerContentInlineStyle","useDesignBorderWidth","bannerHeaderInlineStyleSeparator","bannerFooterInlineStyleSeparator","useBannerAnimation","isMobile","innerWidth","isMobileFirefox","toLowerCase","term","animationIn","animationInOnlyMobile","animationOut","animationOutOnlyMobile","useAnimationIn","useAnimationOut","useResettableAnimation","animation","setI","j","setJ","stateAnimation","setStateAnimation","_useState7","_useState8","stateAnimationReset","setStateAnimationReset","_useState9","_useState10","stateDuration","setStateDuration","_useState11","_useState12","stateDurationReset","setStateDurationReset","locationRestConsentGet","HREF_MATCHER","getAnimationRelatedState","isVisible","animationInDuration","animationOutDuration","animationInDelay","animationOutDelay","AnimatedCss","_ref2$animateOnMount","animateOnMount","_ref2$isVisible","_ref2$animationIn","_ref2$animationOut","_ref2$animationInDela","_ref2$animationOutDel","_ref2$animationInDura","_ref2$animationOutDur","_ref2$className","_ref2$style","_useState2$","setAnimationRelatedState","classes","backwardStyle","animationDelay","animationDuration","pointerEvents","isHiddenDueLegal","_banner$legal","imprint","imprintHide","privacyPolicy","privacyPolicyHide","pageId","BannerAnimation","dialogPosition","dialogMargin","bannerPosition","boxShadowEnabled","boxShadowOffsetX","boxShadowOffsetY","boxShadowBlurRadius","boxShadowSpreadRadius","boxShadowColor","boxShadowColorAlpha","animationVisible","_useBannerAnimation","_useResettableAnimati","_useResettableAnimati2","stateAnimationIn","stateAnimationInDuration","_useResettableAnimati3","_useResettableAnimati4","stateAnimationOut","stateAnimationOutDuration","alignment","alignSelf","boxShadow","Banner","_banner$layout2","overlay","_banner$customCss","overlayBlur","css","skipOverlay","gotHiddenDueLegal","hiddenDueLegal","show","_document$body","dataset","rcbPreviousOverflow","useRestrictScrollWhenVisible","openBanner","openHistory","revokeConsent","setInvalidate","updateSize","setHistory","originalConsent","setOriginalConsent","_fetch","_getOptionsFromWindow","_result","_result$","_groups2","_tcf2","getOptionsFromWindow","fetch","_groups","consentGroups","_tcf","useBannerActionType","handleType","successMessage","eventListener","parent","getAttribute","bannerOverlayInlineStyleAlignment","overlayBg","overlayBgAlpha","left","right","bannerOverlayInlineStyle","getDefaultDecision","respectLegitimateInterests","_groups$filter","_groups$filter2","essentialGroupObj","ids","_ref3","_ref4","preDecisionGatewaySupportsCookies","supportsCookies","preDecisionGatewayHasPageClass","isCrawler","promiseTimeout","promise","ms","then","Error","locationRestConsentDynamicPredecisionGet","preDecisionGatewayDynamicRequest","_getOptionsFromWindow2","revisionHash","hasDynamicPreDecisions","revision","_document$documentEle","_yield$promiseTimeout","predecision","others","getUserDecision","viewPortWidth","viewPortHeight","_wp_http_referer","preDecisionGatewayIsHiddenDueLegal","preDecisionGatewayIsPreventPreDecision","other","userDecision","isPreventPreDecision","preDecisionGatewayIsCrawler","isAcceptAllForBots","w","doNotTrack","msDoNotTrack","external","msTrackingProtectionEnabled","preDecisionGatewayIsDoNotTrack","isRespectDoNotTrack","preDecisionGatewayUserConsent","WebsiteBanner","customizeValuesBanner","pageIdToPermalink","tcfMetadata","isRefreshSiteAfterConsent","tcfObject","active","tcfMeta","useTcf","_useWebsiteBannerOver","useBannerAnimationCallback","toggleOverlay","_useBannerAnimationCa","useDuration","trim","useWebsiteBannerOverlay","tcfFilterBy","updateTcfFilterBy","newFilter","setContextValue","state","opened","newConsent","groupId","cookieIds","splice","markAsDoNotTrack","appliedConsent","applyConsent","tcfString","refreshSiteAfterSave","reload","additionalChanges","contextValue","toggleWithActiveAction","cancelEvent","stopPropagation","actions","alert","useBannerActions","customizeIdsBanner","_gateways","gateway","applyCookies","ready","CustomEvent","detail","useBannerPreDecisionGateway","listener","BannerContext","Provider","waitObject","_waitObject","getObject","delayNextCheck","maxTries","_args","amazonWidgetsSlotNum","consentSync","typeOrId","allCookies","flat","relevance","td","createRegxpPatternFromWildcardedName","already","relevantCookie","consentGiven","cookieOptIn","_len","args","Array","_key","_consentSync","foundCookie","consentAll","_ref$detail$cookie","presetId","codeOptIn","amznAssoWidgetHtmlId","slotNum","adContainer","_ref5","_ref6","et_pb_map_init","jQuery","google","getSsrPoweredByLink","ensureBodyElement","consentApi","AsciiSpinner","_ref$ms","_ref$chars","chars","BannerDevHint","isLicensed","isDevLicense","noLicense","devLicense","useText","BannerTooltip","_ref$position","_ref$size","size","rounded","noAnimate","bounce","rest","PlainAntdIconAsSvg","svgString","extraSVGAttrs","fill","BannerContextFactory","_Context","Context","context","useBanner","BlockerContextFactory","useBlocker","usePageIdToPermalinkMapLink","mapBanner","mapBlocker","pageByIdUrl","privacyPolicyExternalUrl","privacyPolicyIsExternalUrl","privacyPolicyLabel","imprintExternalUrl","imprintIsExternalUrl","imprintLabel","uniqueId","getElementsByTagName","_element$parentNode","parentNode","locationRestConsentPost","applyConsentForwarding","endpoints","data","promises","endpoint","credentials","_applyConsent","_ref$markAsDoNotTrack","_ref$blocker","blockerThumbnail","_yield$commonRequest","forward","cookie_revision","decision_in_cookie","rcbDisabledCookieComp","getSelectedCookies","selectedGroups","_iterateCookies","setCookiesViaManager","isManagerActive","consentEssentials","iterateCookies","callback","_group","_selectedGroups$_grou","_cookie","_isOptIn","getManagerDependingVariables","useVariableNameCamel","useVariableNamePascal","useGlobalObjectName","charAt","applyOptIn","_applyOptIn","allOptInCookies","_getSelectedCookies","_getManagerDependingV","isManagerOptOut","dataLayerPromise","waitPromises","isOptIn","isOnlyWhenNoConsentToManager","restrictOptInCodeForPreset","applyOptInOutManager","_applyOptInOutManager","dataLayer","event","realCookieBannerOptInEvents","realCookieBannerOptOutEvents","_x5","_x6","deleteCookiesLocally","pattern","RegExp","useStorage","localStorage","sessionStorage","_i2","_Object$keys2","itemName","setItem","tries","getItem","removeItem","locationRestConsentClearDelete","deleteCookiesServer","applyOptOut","_applyOptOut","foundOptOutToDelete","codeOptOut","codeOptOutDelete","_applyCookies","_yield$applyOptIn","applyOptInReady","_yield$applyOptInOutM","applyOptInOutManagerReady","optInAllReady","t3","ATTRIBUTE_EXPRIVACY_NOTE_EXPAND","addedEventListener","truncateAfter","noCookiesReturnEmptyString","ePrivacyNoteMore","none","restLabels","labels","hasAttribute","removeAttribute","getCookieTypeLocalized","http","abbr","local","session","flash","indexedDb","originalPoweredLink","nextElementSibling","rcbPoweredByCacheOuterHTML","outerHTML","cookieValue","cname","decode","matchAll","pop","decodeURIComponent","getCookie","userConsentCookieName","string","separator","out","explode","_split","BANNER_PRE_DECISION_SHOW_EVENT","OPT_IN_ALL_EVENT","OPT_IN_EVENT","OPT_OUT_EVENT","tmp","components","filtered","reduce","acc","curr","String","searchString","subjectString","isFinite","lastIndex","getAttributeNames","attributes","bubbles","cancelable","evt","createEvent","initCustomEvent","obj","objType","TypeError","prop","assign","defineProperty","to","nextSource","nextKey","writable","configurable","CharacterData","DocumentType","item","enumerable","fn","cb","readyState","TEST_COOKIE_NAME","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","exports","module","__webpack_modules__","O","chunkIds","priority","notFulfilled","Infinity","fulfilled","every","getter","__esModule","d","a","definition","o","get","globalThis","Function","Symbol","toStringTag","scriptUrl","importScripts","currentScript","scripts","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","chunkLoadingGlobal","self","bind","__webpack_exports__"],"sourceRoot":""}
|
1 |
+
{"version":3,"file":"banner.lite.js","mappings":"4CAAIA,E,qECAJ,IAAIC,EAA2B,wBAK/B,SAASC,EAAoBC,EAAKC,GAChC,OAAOD,EAAIE,QAAQJ,GAA0B,SAAUK,EAAWC,GAChE,OAAOC,OAAOC,UAAUC,eAAeC,KAAKP,EAAUG,GAAgBH,EAASG,GAAgBD,O,2mBCN5F,IAAIM,EAAgC,mBAChCC,EAAsC,yBACtCC,EAAgC,IAChCC,EAAoB,aAEpBC,EAA4B,mBAC5BC,EAA+B,4BAC/BC,EAAmC,4BACnCC,EAAwB,iBACx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amicsToHtml.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/dom/htmlAttributes.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/dom/putHtmlCodeToDom.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/events/optInContentBlocker.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/utils/dispatchResizeEvent.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/utils/htmlDecode.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/utils/isUrl.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/utils/parents.tsx","webpack:///../../frontend-packages/resolve-none-computed-style/src/matchingSelector.tsx","webpack:///../../wordpress-packages/utils/lib/factory/ajax/commonUrlBuilder.tsx","webpack:///../../wordpress-packages/utils/lib/factory/ajax/nonceDeprecationPool.tsx","webpack:///../../wordpress-packages/utils/lib/factory/ajax/parseResult.tsx","webpack:///../../wordpress-packages/utils/lib/factory/ajax/commonRequest.tsx","webpack:///../../wordpress-packages/utils/lib/factory/ajax/routeHttpVerbEnum.tsx","webpack:///../../wordpress-packages/utils/lib/helpers.tsx","webpack:///./src/public/ts/api/unblock.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/scale.tsx","webpack:///./src/public/ts/utils/hexToRgb.tsx","webpack:///./src/public/ts/utils/calculateOverlay.tsx","webpack:///./src/public/ts/hooks/useBannerButtons.tsx","webpack:///./src/public/ts/components/portal.tsx","webpack:///./src/public/ts/components/closeIcon.tsx","webpack:///./src/public/ts/components/banner/closeIcon.tsx","webpack:///./src/public/ts/components/banner/header.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/header/container.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/header/header.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/header/logo.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/header/headline.tsx","webpack:///./src/public/ts/components/banner/groupSectionTitle.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/groups/title.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/groups/description.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/groups/checkbox.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/groups/linkMore.tsx","webpack:///./src/public/ts/components/banner/cookieProperty.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/groups/cookieProperty.tsx","webpack:///./src/public/ts/components/banner/cookie.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/groups/cookie.tsx","webpack:///./src/public/ts/components/banner/group.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/groups/group.tsx","webpack:///./src/public/ts/components/banner/groups.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/groups/groups.tsx","webpack:///./src/public/ts/components/banner/dottedGroup.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/body/dottedGroupItem.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/body/dottedGroupBullet.tsx","webpack:///./src/public/ts/components/banner/dottedGroups.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/body/dottedGroups.tsx","webpack:///./src/public/ts/components/banner/historySelect.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/body/historySelect.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/body/historySelectOption.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/body/teaching.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/buttons/common.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/buttons/acceptEssentials.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/buttons/acceptIndividual.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/buttons/save.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/buttons/acceptAll.tsx","webpack:///./src/public/ts/components/banner/button.tsx","webpack:///./src/public/ts/utils/isIE.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/buttons/ellipsesText.tsx","webpack:///./src/public/ts/components/banner/buttons.tsx","webpack:///./src/public/ts/components/banner/body.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/banner/leftSide.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/body/description.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/body/teachingSeparator.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/banner/rightSide.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/body/container.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/body/body.tsx","webpack:///./src/public/ts/components/banner/footerLink.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/footer/link.tsx","webpack:///./src/public/ts/components/banner/footer.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/footer/container.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/footer/footer.tsx","webpack:///./src/public/ts/hooks/useBannerRenderedHeightsAsCssVars.tsx","webpack:///./src/public/ts/components/banner/content.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/content/content.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/header/separator.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/footer/separator.tsx","webpack:///./src/public/ts/hooks/useBannerAnimation.tsx","webpack:///./src/public/ts/hooks/useResettableAnimation.tsx","webpack:///./src/public/ts/wp-api/consent.get.tsx","webpack:///./src/public/ts/hooks/useBannerActionLinks.tsx","webpack:///./src/public/ts/components/animateCss.tsx","webpack:///./src/public/ts/others/banner/isHiddenDueLegal.tsx","webpack:///./src/public/ts/components/banner/banner.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/content/inner.tsx","webpack:///./src/public/ts/hooks/useRestrictScrollWhenVisible.tsx","webpack:///./src/public/ts/hooks/useBannerActionType.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/overlay/alignment.tsx","webpack:///./src/public/ts/components/banner/inlineStyles/overlay/overlay.tsx","webpack:///./src/public/ts/others/getDefaultDecision.tsx","webpack:///./src/public/ts/others/banner/preDecisionGateways/supportsCookies.tsx","webpack:///./src/public/ts/others/banner/preDecisionGateways/hasPageClass.tsx","webpack:///./src/public/ts/utils/isCrawler.tsx","webpack:///./src/public/ts/utils/promiseTimeout.tsx","webpack:///./src/public/ts/wp-api/consentDynamicPredecision.get.tsx","webpack:///./src/public/ts/others/banner/preDecisionGateways/dynamicRequest.tsx","webpack:///./src/public/ts/others/banner/preDecisionGateways/isHiddenDueLegal.tsx","webpack:///./src/public/ts/others/banner/preDecisionGateways/isPreventPreDecision.tsx","webpack:///./src/public/ts/others/banner/preDecisionGateways/isCrawler.tsx","webpack:///./src/public/ts/utils/isDoNotTrack.tsx","webpack:///./src/public/ts/others/banner/preDecisionGateways/isDoNotTrack.tsx","webpack:///./src/public/ts/others/banner/preDecisionGateways/userConsent.tsx","webpack:///./src/public/ts/components/websiteBanner.tsx","webpack:///./src/public/ts/hooks/useTcf.tsx","webpack:///./src/public/ts/hooks/useWebsiteBannerOverlay.tsx","webpack:///./src/public/ts/hooks/useBannerActions.tsx","webpack:///./src/public/ts/hooks/useBannerPreDecisionGateway.tsx","webpack:///./src/public/ts/utils/isCustomize.tsx","webpack:///./src/public/ts/utils/waitObject.tsx","webpack:///./src/public/ts/others/comp/listenPresetOptIn.tsx","webpack:///./src/public/ts/api/consentSync.tsx","webpack:///./src/public/ts/api/consent.tsx","webpack:///./src/public/ts/api/consentAll.tsx","webpack:///./src/public/ts/others/printUuidToShortcode.tsx","webpack:///./src/public/ts/banner.tsx","webpack:///./src/public/ts/tcf/cmpApi.tsx","webpack:///./src/public/ts/utils/ensureBodyElement.tsx","webpack:///./src/public/ts/components/asciiSpinner.tsx","webpack:///./src/public/ts/components/banner/devHint.tsx","webpack:///./src/public/ts/components/banner/tooltip.tsx","webpack:///./src/public/ts/components/plainAntdIconAsSvg.tsx","webpack:///./src/public/ts/contexts/bannerContextFactory.tsx","webpack:///./src/public/ts/contexts/blockerContextFactory.tsx","webpack:///./src/public/ts/hooks/usePageIdToPermalinkMapLink.tsx","webpack:///./src/public/ts/hooks/useBannerLegalLinks.tsx","webpack:///./src/public/ts/hooks/usePlainCss.tsx","webpack:///./src/public/ts/wp-api/consent.post.tsx","webpack:///./src/public/ts/others/applyConsentForwarding.tsx","webpack:///./src/public/ts/others/applyConsent.tsx","webpack:///./src/public/ts/others/applyCookies/getSelectedCookies.tsx","webpack:///./src/public/ts/others/applyCookies/getManagerDependingVariables.tsx","webpack:///./src/public/ts/others/applyCookies/applyOptIn.tsx","webpack:///./src/public/ts/others/applyCookies/applyOptInOutManager.tsx","webpack:///./src/public/ts/others/applyCookies/deleteCookiesLocally.tsx","webpack:///./src/public/ts/wp-api/consentClear.delete.tsx","webpack:///./src/public/ts/others/applyCookies/deleteCookiesServer.tsx","webpack:///./src/public/ts/others/applyCookies/applyOptOut.tsx","webpack:///./src/public/ts/others/applyCookies/applyCookies.tsx","webpack:///./src/public/ts/others/banner/expandGroupsServiceVariable.tsx","webpack:///./src/public/ts/others/cookieTypeLocalized.tsx","webpack:///./src/public/ts/others/getSsrPoweredByLink.tsx","webpack:///./src/public/ts/others/getUserDecision.tsx","webpack:///./src/public/ts/utils/getCookie.tsx","webpack:///./src/public/ts/utils/explode.tsx","webpack:///./src/public/ts/types/events/bannerPredecisionShowEvent.tsx","webpack:///./src/public/ts/types/events/optInAllEvent.tsx","webpack:///./src/public/ts/types/events/optInEvent.tsx","webpack:///./src/public/ts/types/events/optOutEvent.tsx","webpack:///./src/public/ts/utils/createRegxpPatternFromWildcardedName.tsx","webpack:///./src/public/ts/utils/pregQuote.tsx","webpack:///./src/public/ts/utils/getOptionsFromWindow.tsx","webpack:///./src/public/ts/utils/getOtherOptionsFromWindow.tsx","webpack:///./src/public/ts/utils/jsxJoin.tsx","webpack:///./src/public/ts/utils/polyfill.tsx","webpack:///./src/public/ts/utils/ready.tsx","webpack:///./src/public/ts/utils/supportsCookies.tsx","webpack:///webpack/bootstrap","webpack:///webpack/runtime/compat get default export","webpack:///webpack/runtime/define property getters","webpack:///webpack/runtime/global","webpack:///webpack/runtime/hasOwnProperty shorthand","webpack:///webpack/runtime/make namespace object","webpack:///webpack/runtime/publicPath","webpack:///webpack/runtime/jsonp chunk loading","webpack:///webpack/startup"],"sourcesContent":["var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","var DYNAMICS_VARIABLE_REGEXP = /{{([A-Za-z0-9_]+)}}/gm;\n/**\n * Takes any string and replaces `{{myVariable}}` with the value of the passed `dynamics` map.\n */\n\nfunction applyDynamicsToHtml(src, dynamics) {\n return src.replace(DYNAMICS_VARIABLE_REGEXP, function (fullMatch, variableName) {\n return Object.prototype.hasOwnProperty.call(dynamics, variableName) ? dynamics[variableName] : fullMatch;\n });\n}\n\nexport { applyDynamicsToHtml, DYNAMICS_VARIABLE_REGEXP };","// Also ported to `view/Blocker.php`\nexport var HTML_ATTRIBUTE_CAPTURE_PREFIX = \"consent-original\";\nexport var HTML_ATTRIBUTE_CAPTURE_CLICK_PREFIX = \"consent-click-original\";\nexport var HTML_ATTRIBUTE_CAPTURE_SUFFIX = \"_\";\nexport var HTML_ATTRIBUTE_BY = \"consent-by\"; // TODO: cookie -> required?\n\nexport var HTML_ATTRIBUTE_COOKIE_IDS = \"consent-required\";\nexport var HTML_ATTRIBUTE_VISUAL_PARENT = \"consent-visual-use-parent\";\nexport var HTML_ATTRIBUTE_VISUAL_PAINT_MODE = \"consent-visual-paint-mode\";\nexport var HTML_ATTRIBUTE_INLINE = \"consent-inline\";\nexport var HTML_ATTRIBUTE_INLINE_STYLE = \"consent-inline-style\";\nexport var HTML_ATTRIBUTE_BLOCKER_ID = \"consent-id\";\nexport var HTML_TAG_CONSENT_SCRIPT = \"script\";\nexport var HTML_ATTRIBUTE_BLOCKER_CONNECTED = \"consent-blocker-connected\";\nexport var HTML_ATTRIBUTE_BLOCKER_CONNECTED_PRESERVED = \"consent-blocker-connected-pres\";\nexport var HTML_ATTRIBUTE_UNBLOCKED_TRANSACTION_COMPLETE = \"consent-transaction-complete\";\nexport var HTML_ATTRIBUTE_TRANSFORM_WRAPPER = \"consent-transform-wrapper\";\nexport var HTML_ATTRIBUTE_TRANSFORM_WRAPPER_VALUE = \"1\";\nexport var HTML_ATTRIBUTE_WAS_PREVIOUSLY_STRICT_HIDDEN = \"consent-strict-hidden\";\nexport var HTML_ATTRIBUTE_RESET_PARENT = \"consent-cb-reset-parent\";\nexport var HTML_ATTRIBUTE_RESET_PARENT_VALUE = \"1\";\nexport var HTML_ATTRIBUTE_RESET_PARENT_IS_RATIO_CONTAINER = \"consent-cb-reset-parent-is-ratio\";\nexport var HTML_ATTRIBUTE_GOT_CLICKED = \"consent-got-clicked\";\nexport var HTML_ATTRIBUTE_GOT_CLICKED_VALUE = \"1\";\nexport var HTML_ATTRIBUTE_GOT_CLICKED_VALUE_DO_NOT_USE_IN_NESTED = \"2\";\nexport var HTML_ATTRIBUTE_THUMBNAIL = \"consent-thumbnail\";\nexport var HTML_ATTRIBUTE_THUMBNAIL_SUGGESTION = \"consent-thumbnail-suggestion\";","import postscribe from \"postscribe\";\nimport { applyDynamicsToHtml } from \".\";\nimport { htmlDecode } from \"../utils\";\n/**\n * We do not modify `window.onload` directly, you need to use this variable name.\n */\n\nvar WINDOW_ONLOAD_UNBLOCK_REPLACEMENT = \"rcbInitiatorOnload\";\n/**\n * Put HTML code to the current DOM. `script` tags gets automatically\n * executed instead of pushing to DOM.\n *\n * @see https://github.com/krux/postscribe\n * @see https://stackoverflow.com/a/49724894/5506547\n */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\nfunction putHtmlCodeToDom(html, dynamics) {\n var referenceNode = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : document.body;\n return new Promise(function (resolve) {\n if (html) {\n postscribe(referenceNode, applyDynamicsToHtml(html, dynamics), {\n done: resolve,\n error: function error(e) {\n // We do ignore all errors as we handle like the usual browser\n // E.g. a script blocked by an ad-blocker should not break the execution\n // for upcoming scripts.\n console.error(e);\n },\n beforeWriteToken: function beforeWriteToken(token) {\n var attrs = token.attrs,\n booleanAttrs = token.booleanAttrs,\n src = token.src,\n href = token.href,\n content = token.content; // Probably skip this token? (do not use `disabled` tag as it should still be written to DOM)\n\n if (booleanAttrs !== null && booleanAttrs !== void 0 && booleanAttrs[\"skip-write\"]) {\n return false;\n } // Allow `window.onload` event\n\n\n if (content) {\n token.content = content.replace(/window\\.onload\\s+=/g, \"window.\".concat(WINDOW_ONLOAD_UNBLOCK_REPLACEMENT, \" =\"));\n } // Automatically unescape html entities in all attributes (https://github.com/krux/postscribe/issues/346#issuecomment-310227387)\n\n\n for (var attr in attrs) {\n attrs[attr] = htmlDecode(attrs[attr]); // Allow to skip complete HTML tag when it already got loaded by unique ID (e.g. Google Tag Manager gtag.js)\n\n if (attr === \"unique-write-name\" && document.querySelector(\"[unique-write-name=\\\"\".concat(attrs[attr], \"\\\"]\"))) {\n return false;\n }\n } // Scripts\n\n\n if (src) {\n token.src = htmlDecode(src);\n } // Styles\n\n\n if (href) {\n token.href = htmlDecode(href);\n }\n\n return token;\n }\n });\n } else {\n resolve();\n }\n });\n}\n\nexport { WINDOW_ONLOAD_UNBLOCK_REPLACEMENT, putHtmlCodeToDom };","/**\n * A content - which was blocked - got unblocked.\n */\nexport var OPT_IN_CONTENT_BLOCKER = \"RCB/OptIn/ContentBlocker\";","/**\n * In some cases, the complete layout can be changed and calculations are based on containers width.\n * Imagine: Google Fonts get added and the navigation bar has a button with a calculated width (e.g. BeTheme).\n * Another example: The instagram feed is not loaded / adjusted (masonry), so we need to trigger a resize\n * event manually\n *\n * @param delay\n */\nfunction dispatchResizeEvent() {\n var delay = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n setTimeout(function () {\n try {\n window.dispatchEvent(new Event(\"resize\"));\n } catch (e) {// You are running in IE, it's a UI bug, we can skip...\n }\n }, delay);\n}\n\nexport { dispatchResizeEvent };","import { isUrl } from \".\";\n/**\n * Decode HTML entities in a given string.\n *\n * @see https://stackoverflow.com/a/34064434/5506547\n */\n\nfunction htmlDecode(input) {\n var inputIsUrl = isUrl(input);\n\n if (inputIsUrl) {\n var _doc$querySelector;\n\n // URLs needs to be handled a bit different as e.g. `?regionid` gets parsed to `'ionid=`\n var doc = new DOMParser().parseFromString(\"<a href=\\\"\".concat(input, \"\\\"></a>\"), \"text/html\");\n return (_doc$querySelector = doc.querySelector(\"a\")) === null || _doc$querySelector === void 0 ? void 0 : _doc$querySelector.href;\n } else {\n // Keep XSS protection intact\n var _doc = new DOMParser().parseFromString(input, \"text/html\");\n\n return _doc.documentElement.textContent;\n }\n}\n\nexport { htmlDecode };","/**\n * Check if a given string is an URL.\n *\n * @see https://www.w3resource.com/javascript-exercises/javascript-regexp-exercise-9.php\n */\nfunction isUrl(url) {\n var pattern = /^(?:(?:https?|ftp):\\/\\/)?(?:(?!(?:10|127)(?:\\.\\d{1,3}){3})(?!(?:169\\.254|192\\.168)(?:\\.\\d{1,3}){2})(?!172\\.(?:1[6-9]|2\\d|3[0-1])(?:\\.\\d{1,3}){2})(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))(?::\\d{2,5})?(?:\\/\\S*)?$/;\n return !!pattern.test(url);\n}\n\nexport { isUrl };","import { matchingSelector } from \"@devowl-wp/resolve-none-computed-style\";\n/**\n * Port of `jQuery.parents()`.\n */\n\nfunction parents(element, selector) {\n var elements = [];\n var elem = element.parentElement;\n\n while (elem !== null) {\n if (elem.nodeType === Node.ELEMENT_NODE && matchingSelector(elem, selector)) {\n elements.push(elem);\n }\n\n elem = elem.parentElement;\n }\n\n return elements;\n}\n\nexport { parents };","function matchingSelector(element, selector) {\n var proto = typeof Element !== \"undefined\" ? Element.prototype : {};\n var nativeFunction = proto.matches || proto.matchesSelector || proto.webkitMatchesSelector || proto.mozMatchesSelector || proto.msMatchesSelector || proto.oMatchesSelector;\n\n if (!element || element.nodeType !== 1 || !element.parentElement) {\n return false;\n }\n\n if (nativeFunction) {\n return nativeFunction.call(element, selector);\n }\n\n var matchingElements = element.parentElement.querySelectorAll(selector);\n\n for (var matchIdx in matchingElements) {\n if (matchingElements[matchIdx] === element) {\n return true;\n }\n }\n\n return false;\n}\n\nexport { matchingSelector };","import Url from \"url-parse\";\nimport { trailingslashit, untrailingslashit } from \"../../helpers\";\nimport { RouteHttpVerb } from \".\";\nimport deepMerge from \"deepmerge\";\n\n/**\n * Build an URL for a specific scheme.\n *\n * @param param0\n */\nfunction commonUrlBuilder(_ref) {\n var location = _ref.location,\n _ref$params = _ref.params,\n params = _ref$params === void 0 ? {} : _ref$params,\n _ref$nonce = _ref.nonce,\n nonce = _ref$nonce === void 0 ? true : _ref$nonce,\n options = _ref.options;\n var apiUrl = new Url(options.restRoot, true);\n var query = apiUrl.query;\n var permalinkPath = query.rest_route || apiUrl.pathname; // Determine path from permalink settings\n // Find dynamic parameters from URL bindings (like /user/:id)\n\n var foundParams = [];\n var path = location.path.replace(/:([A-Za-z0-9-_]+)/g, function (match, group) {\n foundParams.push(group);\n return params[group];\n });\n var getParams = {}; // Find undeclared body params (which are not bind above) and add it to GET query\n\n for (var _i = 0, _Object$keys = Object.keys(params); _i < _Object$keys.length; _i++) {\n var checkParam = _Object$keys[_i];\n\n if (foundParams.indexOf(checkParam) === -1) {\n getParams[checkParam] = params[checkParam]; // We do not need `encodeURIComponent` as it is supported by `url-parse` already\n }\n }\n\n var usePath = trailingslashit(permalinkPath) + untrailingslashit(location.namespace || options.restNamespace) + path; // Force protocol from parent location\n\n var useThisProtocol = new Url(window.location.href).protocol.slice(0, -1);\n apiUrl.set(\"protocol\", useThisProtocol); // Set path depending on permalink settings\n\n if (query.rest_route) {\n query.rest_route = usePath; // eslint-disable-line @typescript-eslint/naming-convention\n } else {\n apiUrl.set(\"pathname\", usePath); // Set path\n } // Append others\n\n\n if (nonce && options.restNonce) {\n query._wpnonce = options.restNonce;\n }\n\n var currentApiUrlString = apiUrl.toString();\n\n if ([\"wp-json/\", \"rest_route=\"].filter(function (s) {\n return currentApiUrlString.indexOf(s) > -1;\n }).length > 0 && location.method && location.method !== RouteHttpVerb.GET) {\n query._method = location.method;\n }\n\n return apiUrl.set(\"query\", deepMerge.all([options.restQuery, getParams, query])).toString();\n}\n\nexport { commonUrlBuilder, Url };","import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nvar pool = {};\nvar recreateFetchPool = {};\n/**\n * A REST nonce in WordPress is only valid for 12 hours (can be configured). However, if it gets\n * invalid, the REST endpoints return a `403` error which signals us, we should recreate the nonce.\n * To avoid multiple recreations, we memorize the newly created nonce in a pool.\n */\n\nfunction nonceDeprecationPool(_x, _x2) {\n return _nonceDeprecationPool.apply(this, arguments);\n}\n\nfunction _nonceDeprecationPool() {\n _nonceDeprecationPool = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(nonce, restRecreateNonceEndpoint) {\n var resultPromise, returnNonce;\n return _regeneratorRuntime.wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n if (!(typeof restRecreateNonceEndpoint !== \"undefined\")) {\n _context2.next = 6;\n break;\n }\n\n resultPromise = // Reuse already sent request\n recreateFetchPool[nonce] || new Promise(\n /*#__PURE__*/\n // eslint-disable-next-line no-async-promise-executor\n function () {\n var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(resolve, reject) {\n var recreateFetch, newNonce;\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n _context.prev = 0;\n _context.next = 3;\n return window.fetch(restRecreateNonceEndpoint);\n\n case 3:\n recreateFetch = _context.sent;\n\n if (!recreateFetch.ok) {\n _context.next = 11;\n break;\n }\n\n _context.next = 7;\n return recreateFetch.text();\n\n case 7:\n newNonce = _context.sent;\n\n if (nonce === newNonce) {\n reject();\n } else {\n pool[nonce] = newNonce;\n resolve(newNonce);\n }\n\n _context.next = 12;\n break;\n\n case 11:\n reject();\n\n case 12:\n _context.next = 17;\n break;\n\n case 14:\n _context.prev = 14;\n _context.t0 = _context[\"catch\"](0);\n reject();\n\n case 17:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, null, [[0, 14]]);\n }));\n\n return function (_x3, _x4) {\n return _ref.apply(this, arguments);\n };\n }());\n recreateFetchPool[nonce] = resultPromise;\n return _context2.abrupt(\"return\", resultPromise);\n\n case 6:\n if (!(typeof nonce === \"undefined\")) {\n _context2.next = 8;\n break;\n }\n\n return _context2.abrupt(\"return\", undefined);\n\n case 8:\n _context2.next = 10;\n return Promise.all(Object.values(recreateFetchPool));\n\n case 10:\n returnNonce = nonce;\n\n case 11:\n if (!pool[returnNonce]) {\n _context2.next = 17;\n break;\n }\n\n returnNonce = pool[returnNonce];\n\n if (!(pool[returnNonce] === nonce)) {\n _context2.next = 15;\n break;\n }\n\n return _context2.abrupt(\"break\", 17);\n\n case 15:\n _context2.next = 11;\n break;\n\n case 17:\n return _context2.abrupt(\"return\", Promise.resolve(returnNonce));\n\n case 18:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2);\n }));\n return _nonceDeprecationPool.apply(this, arguments);\n}\n\nexport { nonceDeprecationPool };","import _createForOfIteratorHelper from \"@babel/runtime/helpers/createForOfIteratorHelper\";\nimport _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { RouteHttpVerb } from \".\";\n/**\n * Get the result of the `Response`. It also handles multiline responses, e. g.\n * a PHP `Notice:` message is output through a conflicting plugin:\n *\n * If you are using a verb like `DELETE` or `PUT` the response may be empty and this\n * function will return `undefined`.\n *\n * @see https://developer.mozilla.org/de/docs/Web/HTTP/Methods/DELETE\n */\n\nfunction parseResult(_x, _x2, _x3) {\n return _parseResult.apply(this, arguments);\n}\n\nfunction _parseResult() {\n _parseResult = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(url, result, method) {\n var cloneForFallback, body, lastError, _iterator, _step, line;\n\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n cloneForFallback = result.clone();\n _context.prev = 1;\n _context.next = 4;\n return result.json();\n\n case 4:\n return _context.abrupt(\"return\", _context.sent);\n\n case 7:\n _context.prev = 7;\n _context.t0 = _context[\"catch\"](1);\n _context.next = 11;\n return cloneForFallback.text();\n\n case 11:\n body = _context.sent;\n\n if (!(body === \"\" && [RouteHttpVerb.DELETE, RouteHttpVerb.PUT].indexOf(method) > -1)) {\n _context.next = 14;\n break;\n }\n\n return _context.abrupt(\"return\", undefined);\n\n case 14:\n console.warn(\"The response of \".concat(url, \" contains unexpected JSON, try to resolve the JSON line by line...\"), {\n body: body\n });\n _iterator = _createForOfIteratorHelper(body.split(\"\\n\"));\n _context.prev = 16;\n\n _iterator.s();\n\n case 18:\n if ((_step = _iterator.n()).done) {\n _context.next = 30;\n break;\n }\n\n line = _step.value;\n\n if (!(line.startsWith(\"[\") || line.startsWith(\"{\"))) {\n _context.next = 28;\n break;\n }\n\n _context.prev = 21;\n return _context.abrupt(\"return\", JSON.parse(line));\n\n case 25:\n _context.prev = 25;\n _context.t1 = _context[\"catch\"](21);\n lastError = _context.t1;\n\n case 28:\n _context.next = 18;\n break;\n\n case 30:\n _context.next = 35;\n break;\n\n case 32:\n _context.prev = 32;\n _context.t2 = _context[\"catch\"](16);\n\n _iterator.e(_context.t2);\n\n case 35:\n _context.prev = 35;\n\n _iterator.f();\n\n return _context.finish(35);\n\n case 38:\n throw lastError;\n\n case 39:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, null, [[1, 7], [16, 32, 35, 38], [21, 25]]);\n }));\n return _parseResult.apply(this, arguments);\n}\n\nexport { parseResult };","import _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { commonUrlBuilder, RouteHttpVerb } from \"./\";\nimport deepMerge from \"deepmerge\";\nimport Url from \"url-parse\";\nimport { parseResult, nonceDeprecationPool } from \".\";\nimport jsonFormData from \"json-form-data\";\nvar CONTENT_TYPE_JSON = \"application/json;charset=utf-8\"; // Fix: Return type of exported function has or is using name 'FormatOptions'\n// from external module \"/home/mg/vscode-workspace/devowl-wp/node_modules/@types/json-form-data/index\" but cannot be named.\n// type MultiPartOptions = Parameters<typeof jsonFormData>[1];\n\n/**\n * Build and execute a specific REST query.\n *\n * @see urlBuilder\n * @returns Result of REST API\n * @throws\n */\nfunction commonRequest(_x) {\n return _commonRequest.apply(this, arguments);\n}\n\nfunction _commonRequest() {\n _commonRequest = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(_ref) {\n var location, options, routeRequest, params, _ref$settings, settings, _ref$multipart, multipart, _ref$sendRestNonce, sendRestNonce, url, apiUrl, allowBody, body, restNonce, hasRestNonce, init, apiUrlBuilt, result, responseJSON, replay, restRecreateNonceEndpoint, resultAny;\n\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n location = _ref.location, options = _ref.options, routeRequest = _ref.request, params = _ref.params, _ref$settings = _ref.settings, settings = _ref$settings === void 0 ? {} : _ref$settings, _ref$multipart = _ref.multipart, multipart = _ref$multipart === void 0 ? false : _ref$multipart, _ref$sendRestNonce = _ref.sendRestNonce, sendRestNonce = _ref$sendRestNonce === void 0 ? true : _ref$sendRestNonce;\n url = commonUrlBuilder({\n location: location,\n params: params,\n nonce: false,\n options: options\n }); // Use global parameter (see https://developer.wordpress.org/rest-api/using-the-rest-api/global-parameters/)\n\n if ([\"wp-json/\", \"rest_route=\"].filter(function (s) {\n return url.indexOf(s) > -1;\n }).length > 0 && location.method && location.method !== RouteHttpVerb.GET) {\n settings.method = RouteHttpVerb.POST;\n } else {\n settings.method = location.method || RouteHttpVerb.GET;\n } // Request with GET/HEAD method cannot have body\n\n\n apiUrl = new Url(url, true);\n allowBody = [\"HEAD\", \"GET\"].indexOf(settings.method) === -1;\n\n if (!allowBody && routeRequest) {\n apiUrl.set(\"query\", deepMerge(apiUrl.query, routeRequest));\n } // Determine body\n\n\n if (allowBody) {\n if (multipart) {\n // Let's create a multipart request...\n body = jsonFormData(routeRequest, typeof multipart === \"boolean\" ? {} : multipart);\n } else {\n // It is a usual JSON request, we do not need to send a multipart request\n body = JSON.stringify(routeRequest);\n }\n } // Do the request\n\n\n _context.next = 9;\n return nonceDeprecationPool(options.restNonce);\n\n case 9:\n restNonce = _context.sent;\n hasRestNonce = typeof restNonce !== \"undefined\";\n init = deepMerge.all([settings, {\n headers: _objectSpread(_objectSpread(_objectSpread({}, typeof body === \"string\" ? {\n \"Content-Type\": CONTENT_TYPE_JSON\n } : {}), hasRestNonce && sendRestNonce ? {\n \"X-WP-Nonce\": restNonce\n } : {}), {}, {\n Accept: \"application/json, */*;q=0.1\"\n })\n }]);\n init.body = body; // Do not make body merge-able\n\n apiUrlBuilt = apiUrl.toString();\n _context.next = 16;\n return window.fetch(apiUrlBuilt, init);\n\n case 16:\n result = _context.sent;\n\n if (result.ok) {\n _context.next = 47;\n break;\n }\n\n responseJSON = undefined;\n replay = false;\n _context.prev = 20;\n _context.next = 23;\n return parseResult(apiUrlBuilt, result, location.method);\n\n case 23:\n responseJSON = _context.sent;\n\n // wordpress.com private site compatibility\n\n /* istanbul ignore if */\n if (responseJSON.code === \"private_site\" && result.status === 403 && hasRestNonce && !sendRestNonce) {\n replay = true;\n } // Refresh nonce automatically\n\n /* istanbul ignore if */\n\n\n if (!(responseJSON.code === \"rest_cookie_invalid_nonce\" && hasRestNonce)) {\n _context.next = 35;\n break;\n }\n\n restRecreateNonceEndpoint = options.restRecreateNonceEndpoint;\n _context.prev = 27;\n _context.next = 30;\n return nonceDeprecationPool(restNonce, restRecreateNonceEndpoint);\n\n case 30:\n replay = true;\n _context.next = 35;\n break;\n\n case 33:\n _context.prev = 33;\n _context.t0 = _context[\"catch\"](27);\n\n case 35:\n _context.next = 39;\n break;\n\n case 37:\n _context.prev = 37;\n _context.t1 = _context[\"catch\"](20);\n\n case 39:\n if (!replay) {\n _context.next = 43;\n break;\n }\n\n _context.next = 42;\n return commonRequest({\n location: location,\n options: options,\n multipart: multipart,\n params: params,\n request: routeRequest,\n sendRestNonce: true,\n settings: settings\n });\n\n case 42:\n return _context.abrupt(\"return\", _context.sent);\n\n case 43:\n // Set this request as failing so the endpoint is probably corrupt (see `corruptRestApi.tsx`)\n settings.method === RouteHttpVerb.GET && (window.detectCorruptRestApiFailed = (window.detectCorruptRestApiFailed || 0) + 1);\n resultAny = result;\n resultAny.responseJSON = responseJSON;\n throw resultAny;\n\n case 47:\n return _context.abrupt(\"return\", parseResult(apiUrlBuilt, result, location.method));\n\n case 48:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, null, [[20, 37], [27, 33]]);\n }));\n return _commonRequest.apply(this, arguments);\n}\n\nexport { commonRequest };","var RouteHttpVerb;\n\n(function (RouteHttpVerb) {\n RouteHttpVerb[\"GET\"] = \"GET\";\n RouteHttpVerb[\"POST\"] = \"POST\";\n RouteHttpVerb[\"PUT\"] = \"PUT\";\n RouteHttpVerb[\"DELETE\"] = \"DELETE\";\n RouteHttpVerb[\"PATCH\"] = \"PATCH\";\n})(RouteHttpVerb || (RouteHttpVerb = {}));\n\nexport { RouteHttpVerb };","var untrailingslashit = function untrailingslashit(str) {\n return str.endsWith(\"/\") || str.endsWith(\"\\\\\") ? untrailingslashit(str.slice(0, -1)) : str;\n};\n\nvar trailingslashit = function trailingslashit(str) {\n return \"\".concat(untrailingslashit(str), \"/\");\n}; // Allows to make an interface extension and make some properties optional (https://git.io/JeK6J)\n\n\n/**\n * You need to manually put the following code snippet in each of your entry points to enable\n * \"on the fly\" public path for chunks:\n *\n * ```\n * __webpack_public_path__ = getWebpackPublicPath(process.env);\n * ```\n *\n * @see https://webpack.js.org/guides/public-path/#on-the-fly\n */\nvar getWebpackPublicPath = function getWebpackPublicPath(env) {\n var options = window[env.slug.replace(/-([a-z])/g, function (g) {\n return g[1].toUpperCase();\n })];\n return \"\".concat(options.publicUrl).concat(options.chunkFolder, \"/\");\n};\n\nexport { untrailingslashit, trailingslashit, getWebpackPublicPath };","import _createForOfIteratorHelper from \"@babel/runtime/helpers/createForOfIteratorHelper\";\nimport { getOtherOptionsFromWindow, createRegxpPatternFromWildcardedName } from \"../utils\";\nimport { HTML_ATTRIBUTE_COOKIE_IDS, HTML_ATTRIBUTE_BLOCKER_ID, HTML_ATTRIBUTE_BY, OPT_IN_CONTENT_BLOCKER } from \"@devowl-wp/headless-content-unblocker\";\n/**\n * `window.consentApi.unblock`: Check if a given URL / string is blocked by a Content Blocker:\n *\n * - When a Content Blocker exists, the Promise is only resolved after given consent\n * - When no Content Blocker exists, the Promise is immediate resolved\n *\n * Example (ES5):\n * ```js\n * (window.consentApi && window.consentApi.unblock(\"player.vimeo.com\") || Promise.resolve()).then(function() {\n * console.log(\"Consent for Vimeo given, unlock content...!\");\n * });\n * ```\n *\n * Example (ES6, Babel, TS):\n * ```js\n * (window.consentApi?.unblock(\"player.vimeo.com\") || Promise.resolve()).then(() => {\n * console.log(\"Consent for Vimeo given, unlock content...!\");\n * });\n * ```\n *\n * @param url\n * @param ref Create a visual content blocker to a given HTML element\n */\n\nfunction unblock(url) {\n var ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : document.createElement(\"div\");\n return new Promise(function (resolve) {\n // Find matching blocker\n var found;\n\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n blocker = _getOtherOptionsFromW.blocker;\n\n var isPseudoRef = !ref.parentElement;\n\n var _iterator = _createForOfIteratorHelper(blocker),\n _step;\n\n try {\n loop1: for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var row = _step.value;\n var hosts = row.hosts; // Check if host matches\n\n var _iterator2 = _createForOfIteratorHelper(hosts),\n _step2;\n\n try {\n for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {\n var host = _step2.value;\n var regexp = createRegxpPatternFromWildcardedName(host);\n\n if (url.match(regexp)) {\n found = row;\n break loop1;\n }\n }\n } catch (err) {\n _iterator2.e(err);\n } finally {\n _iterator2.f();\n }\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n\n if (found) {\n // Add attributes to DOM element so it can be consumed by `manipulateDom`\n ref.setAttribute(HTML_ATTRIBUTE_BY, \"cookies\");\n ref.setAttribute(HTML_ATTRIBUTE_COOKIE_IDS, found.cookies.join(\",\"));\n ref.setAttribute(HTML_ATTRIBUTE_BLOCKER_ID, found.id.toString());\n ref.addEventListener(OPT_IN_CONTENT_BLOCKER, function () {\n isPseudoRef && ref.remove();\n resolve();\n }); // Append blocking element to HTML DOM if not already exists\n\n if (isPseudoRef) {\n document.body.appendChild(ref);\n }\n } else {\n resolve();\n }\n });\n}\n\nexport { unblock };","var BANNER_SCALING_WHEN_WINDOW_WIDTH_LOWER = 700;\n\nvar calculateNewVal = function calculateNewVal(val, scalePercent) {\n var newVal = val;\n newVal = val / 100 * scalePercent;\n newVal = newVal < 1 ? 1 : newVal;\n return newVal;\n};\n/**\n * Calculate the new value for an inline style value and respect the scaling options.\n */\n\n\nfunction bannerInlineStylesScale(_ref, useWidthOfThisContainerId, original, replaceWith) {\n var enabled = _ref.enabled,\n scalePercent = _ref.scalePercent,\n scalePercentVertical = _ref.scalePercentVertical;\n var additionalVerticalScaling = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;\n\n if (process.env.PLUGIN_CTX === \"pro\") {\n /* Silence is golden... Until you have PRO Version! */\n }\n\n return original;\n}\n\nexport { BANNER_SCALING_WHEN_WINDOW_WIDTH_LOWER, bannerInlineStylesScale };","/**\n * @see https://stackoverflow.com/a/5624139/5506547\n * @param hex\n */\nfunction hexToRgb(hex) {\n var result = /^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.exec(hex);\n return result ? {\n r: parseInt(result[1], 16),\n g: parseInt(result[2], 16),\n b: parseInt(result[3], 16)\n } : null;\n}\n\nexport { hexToRgb };","import { hexToRgb } from \".\";\n\n/**\n * @param hex\n * @param alpha 0 - 100\n */\nfunction calculateOverlay(hex, alpha) {\n var _hexToRgb = hexToRgb(hex),\n r = _hexToRgb.r,\n g = _hexToRgb.g,\n b = _hexToRgb.b;\n\n return \"rgba(\".concat(r, \", \").concat(g, \", \").concat(b, \", \").concat(alpha / 100, \")\");\n}\n\nexport { calculateOverlay };","import _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport _createForOfIteratorHelper from \"@babel/runtime/helpers/createForOfIteratorHelper\";\nimport { useCallback } from \"react\";\nimport { useBanner } from \"../contexts\";\n/**\n * Provide callbacks for all the available button types in our cookie banner:\n *\n * - Accept all\n * - Continue without consent (accept essentials)\n * - Save custom choices (no changes to the current selected groups and services)\n * - Change individual privacy preferences\n */\n\nfunction useBannerButtons() {\n var _useBanner = useBanner(),\n individualPrivacyOpen = _useBanner.individualPrivacyOpen,\n onSave = _useBanner.onSave,\n updateGroupChecked = _useBanner.updateGroupChecked,\n updateCookieChecked = _useBanner.updateCookieChecked,\n groups = _useBanner.groups,\n essentialGroup = _useBanner.essentialGroup,\n updateIndividualPrivacyOpen = _useBanner.updateIndividualPrivacyOpen,\n activeAction = _useBanner.activeAction,\n onClose = _useBanner.onClose;\n\n var buttonClickedAll = individualPrivacyOpen ? \"ind_all\" : \"main_all\";\n var buttonClickedEssentials = individualPrivacyOpen ? \"ind_essential\" : \"main_essential\";\n var buttonClickedCloseIcon = individualPrivacyOpen ? \"ind_close_icon\" : \"main_close_icon\";\n var buttonClickedCustom = individualPrivacyOpen ? \"ind_custom\" : \"main_custom\";\n var result = {\n buttonClickedAll: buttonClickedAll,\n buttonClickedEssentials: buttonClickedEssentials,\n buttonClickedCloseIcon: buttonClickedCloseIcon,\n buttonClickedCustom: buttonClickedCustom,\n acceptAll: useCallback(function () {\n groups.forEach(function (g) {\n return updateGroupChecked(g.id, true);\n });\n onSave(false, buttonClickedAll);\n }, [buttonClickedAll]),\n\n /**\n * This includes the complete \"Essential\" group + legal basis = legitimate interests.\n */\n acceptEssentials: useCallback(function () {\n var isCloseIcon = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n groups.forEach(function (_ref) {\n var slug = _ref.slug,\n id = _ref.id,\n items = _ref.items;\n\n if (slug === essentialGroup) {\n updateGroupChecked(id, true);\n } else {\n var _iterator = _createForOfIteratorHelper(items),\n _step;\n\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var _step$value = _step.value,\n legalBasis = _step$value.legalBasis,\n cookieId = _step$value.id;\n updateCookieChecked(id, cookieId, legalBasis === \"legitimate-interest\");\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n }\n });\n onSave(false, isCloseIcon ? buttonClickedCloseIcon : buttonClickedEssentials);\n }, [buttonClickedEssentials]),\n acceptIndividual: useCallback(function () {\n return onSave(false, buttonClickedCustom);\n }, [buttonClickedCustom]),\n openIndividualPrivacy: useCallback(function () {\n updateIndividualPrivacyOpen(true);\n }, [updateIndividualPrivacyOpen])\n };\n return _objectSpread(_objectSpread({}, result), {}, {\n closeIcon: useCallback(function () {\n if (!activeAction) {\n // If we do not have yet a consent and it shows the banner for the first time,\n // the close icon is equivalent to \"Continue without consent\"\n result.acceptEssentials(true);\n } else {\n onClose();\n }\n }, [activeAction, onClose, result.acceptEssentials])\n });\n}\n\nexport { useBannerButtons };","import _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { useState, useEffect } from \"react\";\nimport { createPortal } from \"react-dom\";\n/**\n * Portals provide a first-class way to render children into a DOM node that exists outside the DOM hierarchy of the parent component.\n *\n * @see https://reactjs.org/docs/portals.html\n */\n\nvar Portal = function Portal(_ref) {\n var children = _ref.children,\n className = _ref.className,\n _ref$tag = _ref.tag,\n tag = _ref$tag === void 0 ? \"div\" : _ref$tag,\n renderInContainer = _ref.renderInContainer;\n\n var _useState = useState(function () {\n var el = document.createElement(tag);\n className && el.classList.add(className);\n return el;\n }),\n _useState2 = _slicedToArray(_useState, 1),\n renderIn = _useState2[0]; // Append container to `body`\n\n\n useEffect(function () {\n document.body.appendChild(renderIn);\n return function () {\n document.body.removeChild(renderIn);\n };\n }, []);\n return /*#__PURE__*/createPortal(children, renderInContainer || renderIn);\n};\n\nexport { Portal };","import { useMemo, useRef, Fragment } from \"react\";\nimport { usePlainCss } from \"../hooks\";\nimport { useRect } from \"@reach/rect\";\nimport { Portal, BannerTooltip } from \".\";\nvar counter = 0;\n/**\n * A portaled close icon creates a close icon rendered to a given container. This allows\n * you to put the close icon on the top right corner of an `overflow:hidden` container and\n * the tooltip gets rendered correctly.\n */\n\nvar CloseIcon = function CloseIcon(_ref) {\n var width = _ref.width,\n color = _ref.color,\n tooltipText = _ref.tooltipText,\n framed = _ref.framed,\n renderInContainer = _ref.renderInContainer,\n tooltipAlways = _ref.tooltipAlways,\n onClick = _ref.onClick,\n _ref$thickness = _ref.thickness,\n thickness = _ref$thickness === void 0 ? 1 : _ref$thickness;\n var idCloseIconNotPortaled = useMemo(function () {\n return \"react-close-icon-\".concat((counter++).toString(36));\n }, []);\n var idCloseIconPortaled = useMemo(function () {\n return \"react-close-icon-\".concat((counter++).toString(36));\n }, []);\n /**\n * Why two containers for a simple close icon? I need to explain something technical here.\n * Our complete banner/dialog is tainted with `overflow:hidden` due to flickering effects\n * with animate.css etc. We will now create an invisible element with the placeholder,\n * we will then read its positioning (rect) and generate the visible close icon based on this position.\n */\n\n var idCloseIconPlaceholder = useMemo(function () {\n return \"react-close-icon-\".concat((counter++).toString(36));\n }, []);\n var ref = useRef();\n var rect = useRect(ref);\n usePlainCss(\"#\".concat(idCloseIconPlaceholder, \", #\").concat(idCloseIconNotPortaled, \" {\\n position: absolute;\\n top: 50%;\\n right: 0;\\n margin-top: calc(\").concat(width, \"px / 2 * -1);\\n display: block;\\n width: \").concat(width, \"px;\\n height: \").concat(width, \"px; \\n pointer-events: none;\\n}\\n\\n#\").concat(idCloseIconNotPortaled, \" {\\n position: absolute !important;\\n}\\n\\n#\").concat(idCloseIconNotPortaled, \", #\").concat(idCloseIconPortaled, \" {\\n cursor: pointer;\\n pointer-events: all;\\n \").concat(framed ? \"outline: rgb(255, 94, 94) solid 5px;\" : \"\", \"\\n}\\n\\n#\").concat(idCloseIconPortaled, \" {\\n position: fixed !important;\\n \").concat(rect ? \"top: \".concat(rect.y, \"px;left: \").concat(rect.x, \"px;display:block;\") : \"display:none;\", \"\\n width: \").concat(width, \"px;\\n height: \").concat(width, \"px;\\n z-index: 99;\\n}\\n#\").concat(idCloseIconPortaled, \":after, #\").concat(idCloseIconNotPortaled, \":after {\\n width: auto !important;\\n white-space: nowrap !important;\\n}\\n#\").concat(idCloseIconPortaled, \">span:before, #\").concat(idCloseIconPortaled, \">span:after,\\n#\").concat(idCloseIconNotPortaled, \">span:before, #\").concat(idCloseIconNotPortaled, \">span:after {\\n position: absolute;\\n top: 50%;\\n left: 50%;\\n width: \").concat(thickness, \"px;\\n height: \").concat(width, \"px;\\n background-color: \").concat(color, \";\\n transform: rotate(45deg) translate(-50%, -50%);\\n transform-origin: top left;\\n transition: all 420ms;\\n content: '';\\n opacity: 0.5;\\n pointer-events: none;\\n}\\n#\").concat(idCloseIconPortaled, \">span:after,\\n#\").concat(idCloseIconNotPortaled, \">span:after {\\n transform: rotate(-45deg) translate(-50%, -50%);\\n}\\n#\").concat(idCloseIconPortaled, \">span:hover:before, #\").concat(idCloseIconPortaled, \">span:hover:after,\\n#\").concat(idCloseIconNotPortaled, \">span:hover:before, #\").concat(idCloseIconNotPortaled, \">span:hover:after {\\n opacity: 1;\\n width: \").concat(thickness + 1, \"px;\\n}\"));\n return renderInContainer ? h(Fragment, null, h(\"div\", {\n id: idCloseIconPlaceholder,\n ref: ref\n }), (rect === null || rect === void 0 ? void 0 : rect.y) > 0 && h(Portal, {\n renderInContainer: renderInContainer\n }, h(BannerTooltip, {\n title: tooltipText,\n id: idCloseIconPortaled,\n onClick: onClick,\n position: rect.y > 50 ? \"top-left\" : \"left\",\n always: tooltipAlways\n }, h(\"span\", null)))) : h(BannerTooltip, {\n title: tooltipText,\n id: idCloseIconNotPortaled,\n onClick: onClick,\n position: \"top-left\",\n always: tooltipAlways\n }, h(\"span\", null));\n};\n\nexport { CloseIcon };","import { useBannerButtons } from \"../../hooks\";\nimport { useBanner } from \"../../contexts\";\nimport { bannerInlineStylesScale, BANNER_SCALING_WHEN_WINDOW_WIDTH_LOWER } from \"./inlineStyles\";\nimport { getOtherOptionsFromWindow } from \"../../utils\";\nimport { CloseIcon } from \"..\";\n\nvar BannerCloseIcon = function BannerCloseIcon() {\n var _useBanner = useBanner(),\n _useBanner$headerDesi = _useBanner.headerDesign,\n fontSize = _useBanner$headerDesi.fontSize,\n fontColor = _useBanner$headerDesi.fontColor,\n acceptEssentials = _useBanner.texts.acceptEssentials,\n mobile = _useBanner.mobile,\n activeAction = _useBanner.activeAction,\n pageRequestUuid4 = _useBanner.pageRequestUuid4,\n _useBanner$buttonClic = _useBanner.buttonClicked,\n buttonClicked = _useBanner$buttonClic === void 0 ? \"\" : _useBanner$buttonClic;\n\n var _useBannerButtons = useBannerButtons(),\n buttonClickedCloseIcon = _useBannerButtons.buttonClickedCloseIcon,\n closeIcon = _useBannerButtons.closeIcon;\n\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n _getOtherOptionsFromW2 = _getOtherOptionsFromW.bannerI18n,\n close = _getOtherOptionsFromW2.close,\n closeWithoutSaving = _getOtherOptionsFromW2.closeWithoutSaving;\n\n var container = document.getElementById(pageRequestUuid4);\n return h(CloseIcon, {\n width: bannerInlineStylesScale(mobile, pageRequestUuid4, fontSize),\n color: fontColor,\n tooltipText: activeAction ? activeAction === \"change\" ? closeWithoutSaving : close : acceptEssentials,\n tooltipAlways: (container === null || container === void 0 ? void 0 : container.clientWidth) < BANNER_SCALING_WHEN_WINDOW_WIDTH_LOWER,\n framed: buttonClicked === buttonClickedCloseIcon,\n renderInContainer: container,\n onClick: closeIcon\n });\n};\n\nexport { BannerCloseIcon };","import _extends from \"@babel/runtime/helpers/extends\";\nimport { forwardRef } from \"react\";\nimport { bannerHeaderInlineStyleContainer, bannerHeaderInlineStyle, bannerHeaderInlineStyleLogo, bannerHeaderInlineStyleHeadline, BannerCloseIcon } from \".\";\nimport { useBanner } from \"../../contexts\";\nimport { getOtherOptionsFromWindow } from \"../../utils\"; // eslint-disable-next-line react/display-name\n\nvar BannerHeader = /*#__PURE__*/forwardRef(function (_, ref) {\n var banner = useBanner();\n var _banner$headerDesign = banner.headerDesign,\n logo = _banner$headerDesign.logo,\n logoRetina = _banner$headerDesign.logoRetina,\n showCloseIcon = banner.decision.showCloseIcon,\n headline = banner.texts.headline,\n activeAction = banner.activeAction,\n individualPrivacyOpen = banner.individualPrivacyOpen,\n individualTexts = banner.individualTexts;\n\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n headerTitlePrivacyPolicyHistory = _getOtherOptionsFromW.bannerI18n.headerTitlePrivacyPolicyHistory; // Calculate logo\n\n\n var useRetina = logoRetina && !(logo !== null && logo !== void 0 && logo.endsWith(\".svg\")) && window.devicePixelRatio > 1;\n var useLogo = useRetina ? logoRetina : logo; // Calculate headline\n\n var useHeadline = individualPrivacyOpen ? activeAction === \"history\" ? headerTitlePrivacyPolicyHistory : individualTexts.headline : headline;\n return h(\"div\", _extends({\n ref: ref\n }, bannerHeaderInlineStyleContainer(banner)), h(\"div\", bannerHeaderInlineStyle(banner), !!useLogo && h(\"img\", _extends({\n alt: \"\",\n src: useLogo\n }, bannerHeaderInlineStyleLogo(banner, useRetina))), !!useHeadline && h(\"div\", bannerHeaderInlineStyleHeadline(banner), useHeadline), (!!showCloseIcon || !!activeAction) && h(BannerCloseIcon, null)));\n});\nexport { BannerHeader };","import _objectWithoutProperties from \"@babel/runtime/helpers/objectWithoutProperties\";\nimport { bannerInlineStylesScale } from \"..\";\n\nfunction bannerHeaderInlineStyleContainer(_ref) {\n var _ref$layout = _ref.layout,\n type = _ref$layout.type,\n dialogBorderRadius = _ref$layout.dialogBorderRadius,\n _ref$design = _ref.design,\n borderWidth = _ref$design.borderWidth,\n borderColor = _ref$design.borderColor,\n restDesign = _objectWithoutProperties(_ref$design, [\"borderWidth\", \"borderColor\"]),\n _ref$headerDesign = _ref.headerDesign,\n inheritBg = _ref$headerDesign.inheritBg,\n bg = _ref$headerDesign.bg,\n padding = _ref$headerDesign.padding,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n\n var useType = bannerInlineStylesScale(mobile, pageRequestUuid4, type, \"banner\");\n var useBorderWidth = bannerInlineStylesScale(mobile, pageRequestUuid4, borderWidth);\n var style = {\n padding: bannerInlineStylesScale(mobile, pageRequestUuid4, padding, undefined, true).map(function (p) {\n return \"\".concat(p, \"px\");\n }).join(\" \"),\n background: inheritBg ? restDesign.bg : bg,\n borderRadius: useType === \"dialog\" ? \"\".concat(dialogBorderRadius, \"px \").concat(dialogBorderRadius, \"px 0 0\") : undefined,\n position: \"sticky\",\n zIndex: 9,\n top: 0\n };\n\n if (useType === \"dialog\" && useBorderWidth > 0) {\n style.borderTop = \"\".concat(useBorderWidth, \"px solid \").concat(borderColor);\n style.borderLeft = style.borderTop;\n style.borderRight = style.borderTop;\n }\n\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-header-container\",\n style: style\n };\n}\n\nexport { bannerHeaderInlineStyleContainer };","import _objectWithoutProperties from \"@babel/runtime/helpers/objectWithoutProperties\";\nimport { bannerInlineStylesScale } from \"..\";\n\nfunction bannerHeaderInlineStyle(_ref) {\n var _ref$layout = _ref.layout,\n type = _ref$layout.type,\n bannerMaxWidth = _ref$layout.bannerMaxWidth,\n textAlign = _ref.design.textAlign,\n _ref$headerDesign = _ref.headerDesign,\n inheritTextAlign = _ref$headerDesign.inheritTextAlign,\n logo = _ref$headerDesign.logo,\n logoPosition = _ref$headerDesign.logoPosition,\n restHeaderDesign = _objectWithoutProperties(_ref$headerDesign, [\"inheritTextAlign\", \"logo\", \"logoPosition\"]),\n headline = _ref.texts.headline,\n individualLayout = _ref.individualLayout,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4,\n individualPrivacyOpen = _ref.individualPrivacyOpen;\n\n var useTextAlign = inheritTextAlign ? textAlign : restHeaderDesign.textAlign;\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-header\",\n style: {\n transition: \"width 500ms, max-width 500ms\",\n maxWidth: bannerInlineStylesScale(mobile, pageRequestUuid4, type, \"banner\") === \"banner\" ? +(individualPrivacyOpen && !individualLayout.inheritBannerMaxWidth ? individualLayout.bannerMaxWidth : bannerMaxWidth) : undefined,\n margin: \"auto\",\n display: \"flex\",\n justifyContent: useTextAlign === \"center\" ? \"center\" : useTextAlign === \"right\" ? \"flex-end\" : undefined,\n textAlign: useTextAlign,\n alignItems: \"center\",\n position: \"relative\",\n flexDirection: logo && headline ? logoPosition === \"left\" ? \"row\" : logoPosition === \"right\" ? \"row-reverse\" : \"column\" : undefined\n }\n };\n}\n\nexport { bannerHeaderInlineStyle };","import _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport { bannerInlineStylesScale } from \"..\";\n\nfunction bannerHeaderInlineStyleLogo(_ref, isRetina) {\n var _ref$headerDesign = _ref.headerDesign,\n logoMaxHeight = _ref$headerDesign.logoMaxHeight,\n logoMargin = _ref$headerDesign.logoMargin,\n logoFitDim = _ref$headerDesign.logoFitDim,\n logoRetinaFitDim = _ref$headerDesign.logoRetinaFitDim,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n var useFitDim = isRetina ? logoRetinaFitDim : logoFitDim;\n var dimStyle = useFitDim ? {\n width: useFitDim[0],\n height: useFitDim[1]\n } : {\n width: \"auto\",\n height: bannerInlineStylesScale(mobile, pageRequestUuid4, +logoMaxHeight)\n };\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-logo\",\n style: _objectSpread(_objectSpread({}, dimStyle), {}, {\n margin: bannerInlineStylesScale(mobile, pageRequestUuid4, logoMargin).map(function (m) {\n return \"\".concat(m, \"px\");\n }).join(\" \") //[logoPosition === \"left\" ? \"marginRight\" : \"marginLeft\"]: logoPosition === \"above\" ? undefined : 15,\n //marginBottom: logoPosition === \"above\" ? 5 : undefined\n\n })\n };\n}\n\nexport { bannerHeaderInlineStyleLogo };","import { bannerInlineStylesScale } from \"..\";\n\nfunction bannerHeaderInlineStyleHeadline(_ref) {\n var _ref$headerDesign = _ref.headerDesign,\n fontSize = _ref$headerDesign.fontSize,\n fontColor = _ref$headerDesign.fontColor,\n fontInheritFamily = _ref$headerDesign.fontInheritFamily,\n fontFamily = _ref$headerDesign.fontFamily,\n fontWeight = _ref$headerDesign.fontWeight,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-headline\",\n style: {\n color: fontColor,\n fontSize: bannerInlineStylesScale(mobile, pageRequestUuid4, +fontSize),\n fontFamily: fontInheritFamily ? undefined : fontFamily,\n fontWeight: fontWeight\n }\n };\n}\n\nexport { bannerHeaderInlineStyleHeadline };","import { useBanner } from \"../../contexts\";\nimport { bannerGroupsInlineStyleDescription, bannerGroupsInlineStyleTitle } from \"./inlineStyles\";\n\nvar BannerGroupSectionTitle = function BannerGroupSectionTitle(_ref) {\n var title = _ref.title,\n children = _ref.children;\n var banner = useBanner();\n return h(\"div\", bannerGroupsInlineStyleTitle(banner), title, children && h(\"div\", bannerGroupsInlineStyleDescription(banner), children));\n};\n\nexport { BannerGroupSectionTitle };","import { bannerInlineStylesScale } from \"..\";\n\nfunction bannerGroupsInlineStyleTitle(_ref) {\n var _ref$group = _ref.group,\n headlineFontSize = _ref$group.headlineFontSize,\n headlineFontColor = _ref$group.headlineFontColor,\n headlineFontWeight = _ref$group.headlineFontWeight,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-group\",\n style: {\n color: headlineFontColor,\n fontSize: bannerInlineStylesScale(mobile, pageRequestUuid4, headlineFontSize),\n fontWeight: headlineFontWeight,\n textAlign: \"left\"\n }\n };\n}\n\nexport { bannerGroupsInlineStyleTitle };","import { bannerInlineStylesScale } from \"..\";\n\nfunction bannerGroupsInlineStyleDescription(_ref) {\n var fontWeight = _ref.design.fontWeight,\n _ref$group = _ref.group,\n descriptionFontColor = _ref$group.descriptionFontColor,\n descriptionFontSize = _ref$group.descriptionFontSize,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-group-description\",\n style: {\n color: descriptionFontColor,\n fontSize: bannerInlineStylesScale(mobile, pageRequestUuid4, +descriptionFontSize),\n fontWeight: fontWeight,\n marginTop: 5\n }\n };\n}\n\nexport { bannerGroupsInlineStyleDescription };","import { bannerInlineStylesScale } from \"..\";\n/**\n * Use `visible` together with `useLayoutEffect` to avoid flickering.\n * This is needed because the SVG icons of ant are a bit flickering.\n */\n\nfunction bannerGroupsInlineStyleCheckbox(_ref, visible, checked, isDisabled, fontSize) {\n var borderRadius = _ref.layout.borderRadius,\n _ref$group = _ref.group,\n headlineFontSize = _ref$group.headlineFontSize,\n checkboxBg = _ref$group.checkboxBg,\n checkboxBorderWidth = _ref$group.checkboxBorderWidth,\n checkboxBorderColor = _ref$group.checkboxBorderColor,\n checkboxActiveBg = _ref$group.checkboxActiveBg,\n checkboxActiveBorderColor = _ref$group.checkboxActiveBorderColor,\n checkboxActiveColor = _ref$group.checkboxActiveColor,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n var useFontSize = bannerInlineStylesScale(mobile, pageRequestUuid4, fontSize || headlineFontSize);\n var useCheckboxBorderWidth = bannerInlineStylesScale(mobile, pageRequestUuid4, +checkboxBorderWidth);\n var height = +useFontSize + useCheckboxBorderWidth * 2 + 6;\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-checkbox\",\n style: {\n cursor: isDisabled ? \"not-allowed\" : \"pointer\",\n opacity: isDisabled ? 0.5 : undefined,\n color: checked ? checkboxActiveColor : checkboxBg,\n display: visible ? \"inline-block\" : \"none\",\n background: checked ? checkboxActiveBg : checkboxBg,\n border: \"\".concat(useCheckboxBorderWidth, \"px solid \").concat(checked ? checkboxActiveBorderColor : checkboxBorderColor),\n padding: 3,\n height: height,\n width: height,\n marginRight: 10,\n borderRadius: +borderRadius,\n verticalAlign: \"middle\",\n lineHeight: 0,\n boxSizing: \"border-box\"\n }\n };\n}\n\nexport { bannerGroupsInlineStyleCheckbox };","function bannerGroupsInlineStyleLinkMore(_ref, isHover) {\n var linkTextDecoration = _ref.design.linkTextDecoration,\n _ref$group = _ref.group,\n linkColor = _ref$group.linkColor,\n linkHoverColor = _ref$group.linkHoverColor,\n antiAdBlocker = _ref.customCss.antiAdBlocker;\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-group-more\",\n style: {\n color: isHover ? linkHoverColor : linkColor,\n textDecoration: linkTextDecoration\n }\n };\n}\n\nexport { bannerGroupsInlineStyleLinkMore };","import _extends from \"@babel/runtime/helpers/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport { bannerGroupsInlineStyleLinkMore, bannerGroupsInlineStyleCookieProperty } from \".\";\nimport { useBanner } from \"../../contexts\";\nimport { isUrl } from \"@devowl-wp/headless-content-unblocker\";\n\nvar BannerCookieProperty = function BannerCookieProperty(_ref) {\n var label = _ref.label,\n value = _ref.value,\n children = _ref.children;\n var banner = useBanner();\n var isValueUrl = typeof value === \"string\" && isUrl(value);\n var useValue = isValueUrl ? h(\"a\", {\n href: value,\n style: _objectSpread({\n wordBreak: \"break-all\"\n }, bannerGroupsInlineStyleLinkMore(banner, false).style),\n target: \"_blank\",\n rel: \"noopener noreferrer\"\n }, value) : typeof value === \"string\" ? h(\"span\", {\n dangerouslySetInnerHTML: {\n __html: value\n }\n }) : value;\n return h(\"div\", _extends({\n key: label\n }, bannerGroupsInlineStyleCookieProperty(banner)), label && h(\"strong\", null, label, \":\\xA0\"), useValue, !!children && h(\"div\", null, children));\n};\n\nexport { BannerCookieProperty };","import { bannerInlineStylesScale } from \"..\";\n\nfunction bannerGroupsInlineStyleCookieProperty(_ref) {\n var _ref$group = _ref.group,\n groupBorderWidth = _ref$group.groupBorderWidth,\n groupBorderColor = _ref$group.groupBorderColor,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-cookie-prop\",\n style: {\n borderLeft: bannerInlineStylesScale(mobile, pageRequestUuid4, groupBorderWidth) > 0 ? \"1px solid \".concat(groupBorderColor) : undefined,\n paddingLeft: 15\n }\n };\n}\n\nexport { bannerGroupsInlineStyleCookieProperty };","import _extends from \"@babel/runtime/helpers/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { useLayoutEffect, useState, useCallback } from \"react\";\nimport { bannerGroupsInlineStyleCookie, bannerGroupsInlineStyleCheckbox, BannerCookieProperty } from \".\";\nimport { useBanner } from \"../../contexts\";\nimport { getOtherOptionsFromWindow } from \"../../utils\";\nimport { getCookieTypeLocalized } from \"../../others\"; // eslint-disable-next-line import/no-extraneous-dependencies\n\nimport { CheckOutlined } from \"@ant-design/icons-svg\";\nimport { PlainAntdIconAsSvg } from \"..\";\nimport { applyDynamicsToHtml } from \"@devowl-wp/headless-content-unblocker\";\n\nvar BannerCookie = function BannerCookie(_ref) {\n var _consent$groups;\n\n var group = _ref.group,\n _ref$cookie = _ref.cookie,\n id = _ref$cookie.id,\n name = _ref$cookie.name,\n purpose = _ref$cookie.purpose,\n provider = _ref$cookie.provider,\n providerPrivacyPolicy = _ref$cookie.providerPrivacyPolicy,\n legalBasis = _ref$cookie.legalBasis,\n ePrivacyUSA = _ref$cookie.ePrivacyUSA,\n noTechnicalDefinitions = _ref$cookie.noTechnicalDefinitions,\n technicalDefinitions = _ref$cookie.technicalDefinitions,\n codeDynamics = _ref$cookie.codeDynamics;\n\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n isRendered = _useState2[0],\n setIsRendered = _useState2[1];\n\n var banner = useBanner();\n var isEPrivacyUSA = banner.ePrivacyUSA,\n descriptionFontSize = banner.group.descriptionFontSize,\n consent = banner.consent,\n activeAction = banner.activeAction,\n essentialGroup = banner.essentialGroup;\n\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n bannerI18n = _getOtherOptionsFromW.bannerI18n;\n\n var types = getCookieTypeLocalized();\n useLayoutEffect(function () {\n setIsRendered(true);\n }, []);\n var isEssentialGroup = essentialGroup === group.slug;\n var isDisabled = isEssentialGroup || activeAction === \"history\";\n var isChecked = isEssentialGroup || (((_consent$groups = consent.groups) === null || _consent$groups === void 0 ? void 0 : _consent$groups[group.id]) || []).some(function (c) {\n return c === id;\n });\n var handleCheckbox = useCallback(function () {\n return !isDisabled && banner.updateCookieChecked(group.id, id, !isChecked);\n }, [isDisabled, banner, group, id, isChecked]);\n return h(\"div\", bannerGroupsInlineStyleCookie(banner), h(\"div\", {\n style: {\n marginBottom: 10\n }\n }, h(PlainAntdIconAsSvg, _extends({\n icon: CheckOutlined,\n onClick: handleCheckbox\n }, bannerGroupsInlineStyleCheckbox(banner, isRendered, isChecked, isDisabled, descriptionFontSize))), h(\"strong\", {\n style: {\n verticalAlign: \"middle\",\n cursor: \"pointer\"\n },\n onClick: handleCheckbox\n }, name)), !!purpose && h(BannerCookieProperty, {\n label: bannerI18n.purpose,\n value: purpose\n }), h(BannerCookieProperty, {\n label: bannerI18n.legalBasis,\n value: legalBasis === \"legal-requirement\" ? bannerI18n.legalRequirement : legalBasis === \"legitimate-interest\" || isEssentialGroup ? bannerI18n.legitimateInterest : bannerI18n.consent\n }), h(BannerCookieProperty, {\n label: bannerI18n.provider,\n value: provider\n }), !!providerPrivacyPolicy && h(BannerCookieProperty, {\n label: bannerI18n.providerPrivacyPolicy,\n value: providerPrivacyPolicy\n }), !!isEPrivacyUSA && h(BannerCookieProperty, {\n label: bannerI18n.ePrivacyUSA,\n value: ePrivacyUSA ? bannerI18n.yes : bannerI18n.no\n }), !noTechnicalDefinitions && technicalDefinitions.map(function (_ref2) {\n var type = _ref2.type,\n name = _ref2.name,\n host = _ref2.host,\n duration = _ref2.duration,\n durationUnit = _ref2.durationUnit,\n sessionDuration = _ref2.sessionDuration;\n return h(BannerCookieProperty, {\n key: name,\n label: bannerI18n.technicalCookieDefinition,\n value: h(\"span\", {\n style: {\n fontFamily: \"monospace\"\n }\n }, applyDynamicsToHtml(name, codeDynamics))\n }, h(BannerCookieProperty, {\n label: bannerI18n.type,\n value: types[type].name\n }), !!host && h(BannerCookieProperty, {\n label: bannerI18n.host,\n value: h(\"span\", {\n style: {\n fontFamily: \"monospace\"\n }\n }, host)\n }), [\"local\", \"session\", \"indexedDb\", \"flash\"].indexOf(type) === -1 && h(BannerCookieProperty, {\n label: bannerI18n.duration,\n value: sessionDuration ? \"Session\" : \"\".concat(duration, \" \").concat(bannerI18n.durationUnit[durationUnit])\n }));\n }));\n};\n\nexport { BannerCookie };","function bannerGroupsInlineStyleCookie(_ref) {\n var antiAdBlocker = _ref.customCss.antiAdBlocker;\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-cookie\",\n style: {\n marginTop: 10\n }\n };\n}\n\nexport { bannerGroupsInlineStyleCookie };","import _extends from \"@babel/runtime/helpers/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { useState, useLayoutEffect, Fragment, useCallback } from \"react\";\nimport { bannerGroupsInlineStyleGroup, bannerGroupsInlineStyleCheckbox, bannerGroupsInlineStyleLinkMore, BannerCookie, BannerGroupSectionTitle } from \".\";\nimport { useBanner } from \"../../contexts\";\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport { CheckOutlined, MinusOutlined } from \"@ant-design/icons-svg\";\nimport { PlainAntdIconAsSvg } from \"..\";\n\nvar BannerGroup = function BannerGroup(_ref) {\n var _consent$groups$id;\n\n var group = _ref.group;\n var banner = useBanner();\n var id = group.id,\n slug = group.slug,\n name = group.name,\n description = group.description,\n items = group.items;\n\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n isRendered = _useState2[0],\n setIsRendered = _useState2[1];\n\n var _useState3 = useState(false),\n _useState4 = _slicedToArray(_useState3, 2),\n isHover = _useState4[0],\n setIsHover = _useState4[1];\n\n var _useState5 = useState(false),\n _useState6 = _slicedToArray(_useState5, 2),\n isOpen = _useState6[0],\n setIsOpen = _useState6[1];\n\n var previewCheckboxActiveState = banner.previewCheckboxActiveState,\n _banner$individualTex = banner.individualTexts,\n showMore = _banner$individualTex.showMore,\n hideMore = _banner$individualTex.hideMore,\n consent = banner.consent,\n activeAction = banner.activeAction,\n essentialGroup = banner.essentialGroup;\n useLayoutEffect(function () {\n setIsRendered(true);\n }, []);\n var isEssentialGroup = essentialGroup === slug;\n var isDisabled = isEssentialGroup || activeAction === \"history\";\n var isChecked = previewCheckboxActiveState || isEssentialGroup || !!consent.groups[id];\n var isPartial = !isEssentialGroup && JSON.stringify(items.map(function (_ref2) {\n var id = _ref2.id;\n return id;\n }).sort()) !== JSON.stringify(((_consent$groups$id = consent.groups[id]) === null || _consent$groups$id === void 0 ? void 0 : _consent$groups$id.sort()) || []);\n var CheckboxIcon = isPartial ? MinusOutlined : CheckOutlined;\n var handleCheckbox = useCallback(function () {\n return !isDisabled && banner.updateGroupChecked(id, !isChecked);\n }, [isDisabled, banner, id, isChecked]);\n return h(\"div\", bannerGroupsInlineStyleGroup(banner), h(BannerGroupSectionTitle, {\n title: h(Fragment, null, h(PlainAntdIconAsSvg, _extends({\n icon: CheckboxIcon,\n onClick: handleCheckbox\n }, bannerGroupsInlineStyleCheckbox(banner, isRendered, isChecked, isDisabled))), h(\"span\", {\n style: {\n verticalAlign: \"middle\",\n cursor: \"pointer\"\n },\n onClick: handleCheckbox\n }, name, \" (\", items.length, \")\"))\n }, description, !!items && h(Fragment, null, \"\\xA0\\xA0\\u2022\\xA0\\xA0\", h(\"a\", _extends({\n href: \"#\"\n }, bannerGroupsInlineStyleLinkMore(banner, isHover), {\n onClick: function onClick(e) {\n setIsOpen(!isOpen);\n e.preventDefault();\n },\n onMouseEnter: function onMouseEnter() {\n return setIsHover(true);\n },\n onMouseLeave: function onMouseLeave() {\n return setIsHover(false);\n }\n }), isOpen ? hideMore : showMore), isOpen && items.map(function (cookie) {\n return h(BannerCookie, {\n key: cookie.id,\n group: group,\n cookie: cookie\n });\n }))));\n};\n\nexport { BannerGroup };","import { bannerInlineStylesScale } from \"..\";\n\nfunction bannerGroupsInlineStyleGroup(_ref) {\n var _ref$group = _ref.group,\n groupBg = _ref$group.groupBg,\n groupBorderRadius = _ref$group.groupBorderRadius,\n groupBorderColor = _ref$group.groupBorderColor,\n groupPadding = _ref$group.groupPadding,\n groupBorderWidth = _ref$group.groupBorderWidth,\n groupInheritBg = _ref$group.groupInheritBg,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n var useGroupBorderWidth = bannerInlineStylesScale(mobile, pageRequestUuid4, groupBorderWidth);\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-group\",\n style: {\n background: groupInheritBg ? undefined : groupBg,\n border: useGroupBorderWidth > 0 ? \"\".concat(useGroupBorderWidth, \"px solid \").concat(groupBorderColor) : undefined,\n padding: bannerInlineStylesScale(mobile, pageRequestUuid4, groupPadding).map(function (p) {\n return \"\".concat(p, \"px\");\n }).join(\" \"),\n borderRadius: +groupBorderRadius,\n textAlign: \"left\"\n }\n };\n}\n\nexport { bannerGroupsInlineStyleGroup };","import { Fragment } from \"react\";\nimport { bannerGroupsInlineStyle, BannerGroup, bannerInlineStylesScale } from \".\";\nimport { useBanner } from \"../../contexts\";\n\nvar BannerGroups = function BannerGroups() {\n var banner = useBanner();\n var groups = banner.groups,\n groupSpacing = banner.group.groupSpacing,\n mobile = banner.mobile,\n pageRequestUuid4 = banner.pageRequestUuid4;\n var useGroups = groups.filter(function (_ref) {\n var items = _ref.items;\n return items.length;\n });\n return h(\"div\", bannerGroupsInlineStyle(banner), useGroups.map(function (group, index) {\n return h(Fragment, {\n key: group.id\n }, h(BannerGroup, {\n key: group.id,\n group: group\n }), index !== useGroups.length - 1 && h(\"div\", {\n style: {\n height: bannerInlineStylesScale(mobile, pageRequestUuid4, +groupSpacing)\n }\n }));\n }));\n};\n\nexport { BannerGroups };","function bannerGroupsInlineStyle(_ref) {\n var antiAdBlocker = _ref.customCss.antiAdBlocker;\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-groups\",\n style: {\n marginTop: 10,\n clear: \"both\"\n }\n };\n}\n\nexport { bannerGroupsInlineStyle };","import _extends from \"@babel/runtime/helpers/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { useState, useLayoutEffect, Fragment, useCallback } from \"react\";\nimport { bannerGroupsInlineStyleCheckbox, bannerInlineStyleBodyDottedGroupItem, bannerInlineStyleBodyDottedGroupBullet } from \".\";\nimport { useBanner } from \"../../contexts\";\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport { CheckOutlined } from \"@ant-design/icons-svg\";\nimport { PlainAntdIconAsSvg } from \"..\";\nimport { getOtherOptionsFromWindow } from \"../../utils\";\n\nvar BannerDottedGroup = function BannerDottedGroup(_ref) {\n var _ref$group = _ref.group,\n id = _ref$group.id,\n slug = _ref$group.slug,\n name = _ref$group.name;\n\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n isRendered = _useState2[0],\n setIsRendered = _useState2[1];\n\n var banner = useBanner();\n var groupsFirstView = banner.decision.groupsFirstView,\n fontSize = banner.design.fontSize,\n consent = banner.consent,\n essentialGroup = banner.essentialGroup;\n\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n isPro = _getOtherOptionsFromW.isPro;\n\n useLayoutEffect(function () {\n setIsRendered(true);\n }, []);\n var isEssentialGroup = essentialGroup === slug;\n var isChecked = isEssentialGroup || !!consent.groups[id];\n var handleCheckbox = useCallback(function () {\n return isPro && groupsFirstView && !isEssentialGroup && banner.updateGroupChecked(id, !isChecked);\n }, [isPro, isEssentialGroup, banner, id, isChecked, groupsFirstView]);\n return h(\"span\", _extends({\n key: name\n }, bannerInlineStyleBodyDottedGroupItem(banner)), h(\"span\", null, isPro && groupsFirstView ? h(PlainAntdIconAsSvg, _extends({\n icon: CheckOutlined,\n onClick: handleCheckbox\n }, bannerGroupsInlineStyleCheckbox(banner, isRendered, isChecked, isEssentialGroup, fontSize))) : h(Fragment, null, h(\"strong\", bannerInlineStyleBodyDottedGroupBullet(banner), \"\\u25CF\"), \"\\xA0\"), h(\"span\", {\n style: {\n verticalAlign: \"middle\",\n cursor: groupsFirstView ? \"pointer\" : undefined\n },\n onClick: handleCheckbox\n }, name)));\n};\n\nexport { BannerDottedGroup };","import { bannerInlineStylesScale } from \"..\";\n\nfunction bannerInlineStyleBodyDottedGroupItem(_ref) {\n var fontSize = _ref.design.fontSize,\n _ref$bodyDesign = _ref.bodyDesign,\n dottedGroupsInheritFontSize = _ref$bodyDesign.dottedGroupsInheritFontSize,\n dottedGroupsFontSize = _ref$bodyDesign.dottedGroupsFontSize,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n return {\n className: undefined,\n style: {\n paddingRight: 10,\n fontSize: bannerInlineStylesScale(mobile, pageRequestUuid4, dottedGroupsInheritFontSize ? +fontSize : +dottedGroupsFontSize),\n whiteSpace: \"nowrap\",\n display: \"inline-block\"\n }\n };\n}\n\nexport { bannerInlineStyleBodyDottedGroupItem };","function bannerInlineStyleBodyDottedGroupBullet(_ref) {\n var dottedGroupsBulletColor = _ref.bodyDesign.dottedGroupsBulletColor;\n return {\n className: undefined,\n style: {\n color: dottedGroupsBulletColor\n }\n };\n}\n\nexport { bannerInlineStyleBodyDottedGroupBullet };","import { BannerDottedGroup, bannerInlineStyleBodyDottedGroups } from \".\";\nimport { useBanner } from \"../../contexts\";\n\nvar BannerDottedGroups = function BannerDottedGroups() {\n var banner = useBanner();\n var groups = banner.groups;\n return h(\"div\", bannerInlineStyleBodyDottedGroups(banner), groups.filter(function (_ref) {\n var items = _ref.items;\n return !!items.length;\n }).map(function (group) {\n return h(BannerDottedGroup, {\n key: group.id,\n group: group\n });\n }));\n};\n\nexport { BannerDottedGroups };","function bannerInlineStyleBodyDottedGroups(_ref) {\n var antiAdBlocker = _ref.customCss.antiAdBlocker;\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-dotted-groups\",\n style: {\n marginTop: 10,\n lineBreak: \"anywhere\",\n lineHeight: 2\n }\n };\n}\n\nexport { bannerInlineStyleBodyDottedGroups };","import _extends from \"@babel/runtime/helpers/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { Fragment, useState, useEffect } from \"react\";\nimport { getOtherOptionsFromWindow } from \"../../utils\";\nimport { useBanner } from \"../../contexts\";\nimport { bannerInlineStyleHistorySelect, bannerInlineStyleHistorySelectOption } from \"./inlineStyles\";\nvar SELECT_NONE = -1;\n\nvar BannerHistorySelect = function BannerHistorySelect() {\n var _history$;\n\n var banner = useBanner();\n\n var _useState = useState(SELECT_NONE),\n _useState2 = _slicedToArray(_useState, 2),\n selectedId = _useState2[0],\n setSelectedId = _useState2[1];\n\n var activeAction = banner.activeAction,\n history = banner.history,\n selectHistoryEntry = banner.selectHistoryEntry;\n\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n _getOtherOptionsFromW2 = _getOtherOptionsFromW.bannerI18n,\n historyLabel = _getOtherOptionsFromW2.historyLabel,\n historySelectNone = _getOtherOptionsFromW2.historySelectNone; // Reset select after exit history dialog\n\n\n useEffect(function () {\n if (!activeAction) {\n setSelectedId(SELECT_NONE);\n } else if (activeAction === \"history\" && history !== null && history !== void 0 && history.length) {\n setSelectedId(history[0].id);\n }\n }, [activeAction, history]); // History can only contain my data, so we can pick the first entry for the history\n\n var uuid = history === null || history === void 0 ? void 0 : (_history$ = history[0]) === null || _history$ === void 0 ? void 0 : _history$.uuid;\n var optionStyle = bannerInlineStyleHistorySelectOption(banner);\n return h(Fragment, null, historyLabel, \"\\xA0\", h(\"select\", _extends({}, bannerInlineStyleHistorySelect(banner), {\n disabled: !(history !== null && history !== void 0 && history.length),\n value: selectedId,\n onChange: function onChange(e) {\n var value = +e.target.value;\n history.forEach(function (_ref) {\n var id = _ref.id,\n decision = _ref.decision,\n groups = _ref.groups,\n tcf = _ref.tcf;\n\n if (id === value) {\n setSelectedId(id);\n selectHistoryEntry(groups, decision, tcf);\n }\n });\n }\n }), (history === null || history === void 0 ? void 0 : history.length) > 0 ? history.map(function (_ref2) {\n var id = _ref2.id,\n isDoNotTrack = _ref2.isDoNotTrack,\n isUnblock = _ref2.isUnblock,\n isForwarded = _ref2.isForwarded,\n created = _ref2.created;\n return h(\"option\", _extends({\n key: id,\n value: id\n }, optionStyle), new Date(created).toLocaleString(document.documentElement.lang), isDoNotTrack ? \" (Do Not Track)\" : \"\", isUnblock ? \" (Content Blocker)\" : \"\", isForwarded ? \" (Consent Forwarding)\" : \"\");\n }) : h(\"option\", _extends({\n value: SELECT_NONE\n }, optionStyle), historySelectNone)), !!uuid && h(\"div\", {\n style: {\n opacity: 0.5,\n marginTop: 5\n }\n }, \"UUID: \", uuid));\n};\n\nexport { BannerHistorySelect };","import { bannerInlineStylesScale } from \"..\";\nimport { calculateOverlay } from \"../../../../utils\";\n\nfunction bannerInlineStyleHistorySelect(_ref) {\n var _ref$design = _ref.design,\n fontSize = _ref$design.fontSize,\n fontColor = _ref$design.fontColor,\n _ref$bodyDesign = _ref.bodyDesign,\n descriptionInheritFontSize = _ref$bodyDesign.descriptionInheritFontSize,\n descriptionFontSize = _ref$bodyDesign.descriptionFontSize,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-history-select\",\n style: {\n fontSize: bannerInlineStylesScale(mobile, pageRequestUuid4, descriptionInheritFontSize ? +fontSize : +descriptionFontSize),\n background: \"transparent\",\n border: 0,\n color: fontColor,\n borderBottom: \"1px solid \".concat(calculateOverlay(fontColor, 50))\n }\n };\n}\n\nexport { bannerInlineStyleHistorySelect };","function bannerInlineStyleHistorySelectOption(_ref) {\n var bg = _ref.design.bg;\n return {\n className: undefined,\n style: {\n background: bg\n }\n };\n}\n\nexport { bannerInlineStyleHistorySelectOption };","import { bannerInlineStylesScale } from \"..\";\n\nfunction bannerInlineStyleBodyTeaching(_ref) {\n var _ref$bodyDesign = _ref.bodyDesign,\n teachingsInheritTextAlign = _ref$bodyDesign.teachingsInheritTextAlign,\n teachingsTextAlign = _ref$bodyDesign.teachingsTextAlign,\n teachingsInheritFontSize = _ref$bodyDesign.teachingsInheritFontSize,\n teachingsFontSize = _ref$bodyDesign.teachingsFontSize,\n teachingsInheritFontColor = _ref$bodyDesign.teachingsInheritFontColor,\n teachingsFontColor = _ref$bodyDesign.teachingsFontColor,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-teachings\",\n style: {\n marginTop: 7,\n display: \"inline-block\",\n textAlign: teachingsInheritTextAlign ? undefined : teachingsTextAlign,\n fontSize: teachingsInheritFontSize ? undefined : bannerInlineStylesScale(mobile, pageRequestUuid4, +teachingsFontSize),\n color: teachingsInheritFontColor ? undefined : teachingsFontColor\n }\n };\n}\n\nexport { bannerInlineStyleBodyTeaching };","import { bannerInlineStylesScale } from \"..\";\n\nfunction bannerButtonsInlineStyleCommon(_ref, mobile, isHover, framed) {\n var name = _ref.name,\n order = _ref.order,\n fullWidth = _ref.fullWidth,\n marginLeft = _ref.marginLeft,\n marginRight = _ref.marginRight,\n type = _ref.type,\n borderRadius = _ref.borderRadius,\n bg = _ref.bg,\n hoverBg = _ref.hoverBg,\n fontSize = _ref.fontSize,\n textAlign = _ref.textAlign,\n linkTextDecoration = _ref.linkTextDecoration,\n fontColor = _ref.fontColor,\n fontWeight = _ref.fontWeight,\n hoverFontColor = _ref.hoverFontColor,\n borderWidth = _ref.borderWidth,\n borderColor = _ref.borderColor,\n hoverBorderColor = _ref.hoverBorderColor,\n padding = _ref.padding,\n antiAdBlocker = _ref.antiAdBlocker,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n var useBorderWidth = bannerInlineStylesScale(mobile, pageRequestUuid4, +borderWidth);\n var style = {\n textDecoration: type === \"link\" ? linkTextDecoration : \"none\",\n borderRadius: +borderRadius,\n cursor: type === \"button\" ? \"pointer\" : undefined,\n backgroundColor: type === \"button\" ? isHover ? hoverBg : bg : undefined,\n fontSize: bannerInlineStylesScale(mobile, pageRequestUuid4, +fontSize),\n fontWeight: fontWeight,\n color: isHover ? hoverFontColor : fontColor,\n transition: \"background-color 250ms, color 250ms, border-color 250ms\",\n margin: \"0 \".concat(marginRight, \"px \").concat(bannerInlineStylesScale(mobile, pageRequestUuid4, 10, undefined, true), \"px \").concat(marginLeft, \"px\"),\n border: type === \"button\" && useBorderWidth > 0 ? \"\".concat(useBorderWidth, \"px solid \").concat(isHover ? hoverBorderColor : borderColor) : undefined,\n padding: bannerInlineStylesScale(mobile, pageRequestUuid4, padding, undefined, type !== \"button\").map(function (p) {\n return \"\".concat(p, \"px\");\n }).join(\" \"),\n overflow: \"hidden\",\n outline: framed ? \"rgb(255, 94, 94) solid 5px\" : undefined,\n flex: fullWidth ? \"1 1 100%\" : \"0 0 calc(50% - \".concat(marginLeft + marginRight, \"px)\"),\n display: \"flex\",\n alignItems: \"center\",\n // text-align is not supported within a `display: flex`\n justifyContent: textAlign === \"right\" ? \"flex-end\" : textAlign === \"center\" ? \"center\" : \"left\",\n order: order\n };\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-btn-\".concat(name),\n style: style\n };\n}\n\nexport { bannerButtonsInlineStyleCommon };","import { bannerButtonsInlineStyleCommon } from \"./\";\n\nfunction bannerButtonsInlineStyleAcceptEssentials(_ref, isHover, framed, isTwoButtonRowLayout) {\n var isTcf = _ref.isTcf,\n acceptEssentials = _ref.decision.acceptEssentials,\n borderRadius = _ref.layout.borderRadius,\n linkTextDecoration = _ref.design.linkTextDecoration,\n _ref$bodyDesign = _ref.bodyDesign,\n acceptEssentialsFontSize = _ref$bodyDesign.acceptEssentialsFontSize,\n acceptEssentialsBg = _ref$bodyDesign.acceptEssentialsBg,\n acceptEssentialsTextAlign = _ref$bodyDesign.acceptEssentialsTextAlign,\n acceptEssentialsBorderColor = _ref$bodyDesign.acceptEssentialsBorderColor,\n acceptEssentialsPadding = _ref$bodyDesign.acceptEssentialsPadding,\n acceptEssentialsBorderWidth = _ref$bodyDesign.acceptEssentialsBorderWidth,\n acceptEssentialsFontColor = _ref$bodyDesign.acceptEssentialsFontColor,\n acceptEssentialsFontWeight = _ref$bodyDesign.acceptEssentialsFontWeight,\n acceptEssentialsHoverBg = _ref$bodyDesign.acceptEssentialsHoverBg,\n acceptEssentialsHoverFontColor = _ref$bodyDesign.acceptEssentialsHoverFontColor,\n acceptEssentialsHoverBorderColor = _ref$bodyDesign.acceptEssentialsHoverBorderColor,\n acceptAllFontWeight = _ref$bodyDesign.acceptAllFontWeight,\n acceptAllFontSize = _ref$bodyDesign.acceptAllFontSize,\n acceptAllPadding = _ref$bodyDesign.acceptAllPadding,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n return bannerButtonsInlineStyleCommon({\n name: \"accept-essentials\",\n order: isTwoButtonRowLayout ? 0 : 1,\n fullWidth: !isTwoButtonRowLayout,\n marginLeft: 0,\n marginRight: isTwoButtonRowLayout ? 5 : 0,\n type: acceptEssentials,\n borderRadius: borderRadius,\n bg: acceptEssentialsBg,\n hoverBg: acceptEssentialsHoverBg,\n fontSize: isTwoButtonRowLayout || isTcf ? acceptAllFontSize : acceptEssentialsFontSize,\n textAlign: acceptEssentialsTextAlign,\n linkTextDecoration: linkTextDecoration,\n fontColor: acceptEssentialsFontColor,\n fontWeight: isTcf ? acceptAllFontWeight : acceptEssentialsFontWeight,\n hoverFontColor: acceptEssentialsHoverFontColor,\n borderWidth: acceptEssentialsBorderWidth,\n borderColor: acceptEssentialsBorderColor,\n hoverBorderColor: acceptEssentialsHoverBorderColor,\n padding: isTwoButtonRowLayout ? acceptAllPadding : acceptEssentialsPadding,\n antiAdBlocker: antiAdBlocker,\n pageRequestUuid4: pageRequestUuid4\n }, mobile, isHover, framed);\n}\n\nexport { bannerButtonsInlineStyleAcceptEssentials };","import { bannerButtonsInlineStyleCommon } from \"./\";\n\nfunction bannerButtonsInlineStyleAcceptIndividual(_ref, isHover, framed) {\n var acceptIndividual = _ref.decision.acceptIndividual,\n borderRadius = _ref.layout.borderRadius,\n linkTextDecoration = _ref.design.linkTextDecoration,\n _ref$bodyDesign = _ref.bodyDesign,\n acceptIndividualFontSize = _ref$bodyDesign.acceptIndividualFontSize,\n acceptIndividualBg = _ref$bodyDesign.acceptIndividualBg,\n acceptIndividualTextAlign = _ref$bodyDesign.acceptIndividualTextAlign,\n acceptIndividualBorderColor = _ref$bodyDesign.acceptIndividualBorderColor,\n acceptIndividualPadding = _ref$bodyDesign.acceptIndividualPadding,\n acceptIndividualBorderWidth = _ref$bodyDesign.acceptIndividualBorderWidth,\n acceptIndividualFontColor = _ref$bodyDesign.acceptIndividualFontColor,\n acceptIndividualFontWeight = _ref$bodyDesign.acceptIndividualFontWeight,\n acceptIndividualHoverBg = _ref$bodyDesign.acceptIndividualHoverBg,\n acceptIndividualHoverFontColor = _ref$bodyDesign.acceptIndividualHoverFontColor,\n acceptIndividualHoverBorderColor = _ref$bodyDesign.acceptIndividualHoverBorderColor,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n return bannerButtonsInlineStyleCommon({\n name: \"accept-individual\",\n order: 2,\n fullWidth: true,\n marginLeft: 0,\n marginRight: 0,\n type: acceptIndividual,\n borderRadius: borderRadius,\n bg: acceptIndividualBg,\n hoverBg: acceptIndividualHoverBg,\n fontSize: acceptIndividualFontSize,\n textAlign: acceptIndividualTextAlign,\n linkTextDecoration: linkTextDecoration,\n fontColor: acceptIndividualFontColor,\n fontWeight: acceptIndividualFontWeight,\n hoverFontColor: acceptIndividualHoverFontColor,\n borderWidth: acceptIndividualBorderWidth,\n borderColor: acceptIndividualBorderColor,\n hoverBorderColor: acceptIndividualHoverBorderColor,\n padding: acceptIndividualPadding,\n antiAdBlocker: antiAdBlocker,\n pageRequestUuid4: pageRequestUuid4\n }, mobile, isHover, framed);\n}\n\nexport { bannerButtonsInlineStyleAcceptIndividual };","import { bannerButtonsInlineStyleCommon } from \"./\";\n\nfunction bannerButtonsInlineStyleSave(_ref, isHover, framed) {\n var isTcf = _ref.isTcf,\n borderRadius = _ref.layout.borderRadius,\n linkTextDecoration = _ref.design.linkTextDecoration,\n _ref$bodyDesign = _ref.bodyDesign,\n acceptAllFontWeight = _ref$bodyDesign.acceptAllFontWeight,\n acceptAllFontSize = _ref$bodyDesign.acceptAllFontSize,\n _ref$saveButton = _ref.saveButton,\n type = _ref$saveButton.type,\n fontSize = _ref$saveButton.fontSize,\n bg = _ref$saveButton.bg,\n textAlign = _ref$saveButton.textAlign,\n borderColor = _ref$saveButton.borderColor,\n padding = _ref$saveButton.padding,\n borderWidth = _ref$saveButton.borderWidth,\n fontColor = _ref$saveButton.fontColor,\n fontWeight = _ref$saveButton.fontWeight,\n hoverBg = _ref$saveButton.hoverBg,\n hoverFontColor = _ref$saveButton.hoverFontColor,\n hoverBorderColor = _ref$saveButton.hoverBorderColor,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n return bannerButtonsInlineStyleCommon({\n name: \"accept-individual-save\",\n order: 2,\n fullWidth: true,\n marginLeft: 0,\n marginRight: 0,\n type: type,\n borderRadius: borderRadius,\n bg: bg,\n hoverBg: hoverBg,\n fontSize: isTcf ? acceptAllFontSize : fontSize,\n textAlign: textAlign,\n linkTextDecoration: linkTextDecoration,\n fontColor: fontColor,\n fontWeight: isTcf ? acceptAllFontWeight : fontWeight,\n hoverFontColor: hoverFontColor,\n borderWidth: borderWidth,\n borderColor: borderColor,\n hoverBorderColor: hoverBorderColor,\n padding: padding,\n antiAdBlocker: antiAdBlocker,\n pageRequestUuid4: pageRequestUuid4\n }, mobile, isHover, framed);\n}\n\nexport { bannerButtonsInlineStyleSave };","import { bannerButtonsInlineStyleCommon } from \"./\";\n\nfunction bannerButtonsInlineStyleAcceptAll(_ref, isHover, framed, isTwoButtonRowLayout) {\n var acceptAll = _ref.decision.acceptAll,\n borderRadius = _ref.layout.borderRadius,\n linkTextDecoration = _ref.design.linkTextDecoration,\n _ref$bodyDesign = _ref.bodyDesign,\n acceptAllFontSize = _ref$bodyDesign.acceptAllFontSize,\n acceptAllBg = _ref$bodyDesign.acceptAllBg,\n acceptAllTextAlign = _ref$bodyDesign.acceptAllTextAlign,\n acceptAllBorderColor = _ref$bodyDesign.acceptAllBorderColor,\n acceptAllPadding = _ref$bodyDesign.acceptAllPadding,\n acceptAllBorderWidth = _ref$bodyDesign.acceptAllBorderWidth,\n acceptAllFontColor = _ref$bodyDesign.acceptAllFontColor,\n acceptAllFontWeight = _ref$bodyDesign.acceptAllFontWeight,\n acceptAllHoverBg = _ref$bodyDesign.acceptAllHoverBg,\n acceptAllHoverFontColor = _ref$bodyDesign.acceptAllHoverFontColor,\n acceptAllHoverBorderColor = _ref$bodyDesign.acceptAllHoverBorderColor,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n return bannerButtonsInlineStyleCommon({\n name: \"accept-all\",\n order: isTwoButtonRowLayout ? 1 : 0,\n fullWidth: !isTwoButtonRowLayout,\n marginLeft: isTwoButtonRowLayout ? 5 : 0,\n marginRight: 0,\n type: acceptAll,\n borderRadius: borderRadius,\n bg: acceptAllBg,\n hoverBg: acceptAllHoverBg,\n fontSize: acceptAllFontSize,\n textAlign: acceptAllTextAlign,\n linkTextDecoration: linkTextDecoration,\n fontColor: acceptAllFontColor,\n fontWeight: acceptAllFontWeight,\n hoverFontColor: acceptAllHoverFontColor,\n borderWidth: acceptAllBorderWidth,\n borderColor: acceptAllBorderColor,\n hoverBorderColor: acceptAllHoverBorderColor,\n padding: acceptAllPadding,\n antiAdBlocker: antiAdBlocker,\n pageRequestUuid4: pageRequestUuid4\n }, mobile, isHover, framed);\n}\n\nexport { bannerButtonsInlineStyleAcceptAll };","import _extends from \"@babel/runtime/helpers/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { useCallback } from \"react\";\nimport { useState, useMemo } from \"react\";\nimport { useBanner } from \"../../contexts\";\nimport { bannerButtonsInlineStyleAcceptAll, bannerButtonsInlineStyleAcceptEssentials, bannerButtonsInlineStyleAcceptIndividual, bannerButtonsInlineStyleEllipsesText, bannerButtonsInlineStyleSave } from \".\";\nimport { isIE } from \"../../utils\";\nimport { AsciiSpinner } from \"..\";\n\nvar BannerButton = function BannerButton(_ref) {\n var inlineStyle = _ref.inlineStyle,\n type = _ref.type,\n onClick = _ref.onClick,\n children = _ref.children,\n framed = _ref.framed,\n busyOnClick = _ref.busyOnClick;\n\n if (type === \"hide\") {\n return null;\n }\n\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n isBusy = _useState2[0],\n setIsBusy = _useState2[1];\n\n var handleOnClick = useCallback(function () {\n if (!isBusy) {\n busyOnClick && setIsBusy(true);\n onClick === null || onClick === void 0 ? void 0 : onClick();\n }\n }, [onClick, isBusy, busyOnClick]);\n\n var _useState3 = useState(false),\n _useState4 = _slicedToArray(_useState3, 2),\n isHover = _useState4[0],\n setIsHover = _useState4[1];\n\n var banner = useBanner();\n var individualPrivacyOpen = banner.individualPrivacyOpen,\n _banner$decision = banner.decision,\n acceptAll = _banner$decision.acceptAll,\n acceptEssentials = _banner$decision.acceptEssentials,\n acceptAllOneRowLayout = banner.bodyDesign.acceptAllOneRowLayout;\n var interactionAttr = {\n onClick: handleOnClick,\n onMouseEnter: function onMouseEnter() {\n return setIsHover(true);\n },\n onMouseLeave: function onMouseLeave() {\n return setIsHover(false);\n }\n };\n var useStyleFn = useMemo(function () {\n switch (inlineStyle) {\n case \"acceptEssentials\":\n return bannerButtonsInlineStyleAcceptEssentials;\n\n case \"acceptIndividual\":\n return bannerButtonsInlineStyleAcceptIndividual;\n\n case \"save\":\n return bannerButtonsInlineStyleSave;\n\n default:\n return bannerButtonsInlineStyleAcceptAll;\n }\n }, [inlineStyle]); // Also create a spacing `height:10` container because `marginBottom` causes issues with `position:sticky`\n\n return h(\"div\", _extends({}, type === \"button\" ? interactionAttr : {}, useStyleFn(banner, isHover, framed, // IE does not support flex with calc()\n isIE() || acceptAll === \"hide\" || acceptEssentials === \"hide\" || individualPrivacyOpen ? false : acceptAllOneRowLayout)), h(\"span\", _extends({}, bannerButtonsInlineStyleEllipsesText(), type === \"link\" ? interactionAttr : {}), isBusy ? h(AsciiSpinner, null) : children));\n};\n\nexport { BannerButton };","function isIE() {\n return /MSIE (\\d+\\.\\d+);/.test(navigator.userAgent) || navigator.userAgent.indexOf(\"Trident/\") > -1;\n}\n\nexport { isIE };","function bannerButtonsInlineStyleEllipsesText() {\n return {\n style: {\n textOverflow: \"ellipsis\",\n whiteSpace: \"nowrap\",\n wordBreak: \"keep-all\",\n overflow: \"hidden\",\n cursor: \"pointer\"\n }\n };\n}\n\nexport { bannerButtonsInlineStyleEllipsesText };","import { Fragment } from \"react\";\nimport { useBanner } from \"../../contexts\";\nimport { BannerButton, BannerDevHint } from \".\";\nimport { getOtherOptionsFromWindow } from \"../../utils\";\nimport { useBannerButtons } from \"../../hooks\";\n\nvar BannerButtons = function BannerButtons() {\n var banner = useBanner();\n var activeAction = banner.activeAction,\n decision = banner.decision,\n _banner$texts = banner.texts,\n acceptAll = _banner$texts.acceptAll,\n acceptEssentials = _banner$texts.acceptEssentials,\n acceptIndividual = _banner$texts.acceptIndividual,\n saveButton = banner.saveButton,\n individualTexts = banner.individualTexts,\n individualPrivacyOpen = banner.individualPrivacyOpen,\n didGroupFirstChange = banner.didGroupFirstChange,\n _banner$buttonClicked = banner.buttonClicked,\n buttonClicked = _banner$buttonClicked === void 0 ? \"\" : _banner$buttonClicked;\n\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n isPro = _getOtherOptionsFromW.isPro;\n\n var _useBannerButtons = useBannerButtons(),\n buttonClickedAll = _useBannerButtons.buttonClickedAll,\n buttonClickedEssentials = _useBannerButtons.buttonClickedEssentials,\n buttonClickedCustom = _useBannerButtons.buttonClickedCustom,\n handleAll = _useBannerButtons.acceptAll,\n handleEssentials = _useBannerButtons.acceptEssentials,\n handleIndividual = _useBannerButtons.acceptIndividual,\n openIndividualPrivacy = _useBannerButtons.openIndividualPrivacy; // We expect a reload of the page for the \"change\" action (keeps also dialog open)\n\n\n var busyOnClick = activeAction === \"change\";\n return h(Fragment, null, !individualPrivacyOpen && isPro && decision.groupsFirstView && decision.saveButton === \"afterChangeAll\" && didGroupFirstChange ? h(BannerButton, {\n onClick: handleIndividual,\n type: decision.acceptAll,\n inlineStyle: \"acceptAll\",\n framed: buttonClicked === buttonClickedCustom,\n busyOnClick: busyOnClick\n }, individualTexts.save) : h(BannerButton, {\n onClick: handleAll,\n type: decision.acceptAll,\n inlineStyle: \"acceptAll\",\n framed: buttonClicked === buttonClickedAll,\n busyOnClick: busyOnClick\n }, acceptAll), activeAction !== \"change\" && h(BannerButton, {\n onClick: handleEssentials,\n type: decision.acceptEssentials,\n inlineStyle: \"acceptEssentials\",\n framed: buttonClicked === buttonClickedEssentials,\n busyOnClick: busyOnClick\n }, acceptEssentials), (individualPrivacyOpen || isPro && decision.groupsFirstView && (decision.saveButton === \"always\" || decision.saveButton === \"afterChange\" && didGroupFirstChange)) && h(BannerButton, {\n onClick: handleIndividual,\n type: saveButton.type,\n inlineStyle: \"save\",\n framed: buttonClicked === buttonClickedCustom,\n busyOnClick: busyOnClick\n }, individualTexts.save), !individualPrivacyOpen && h(BannerButton, {\n type: decision.acceptIndividual,\n onClick: openIndividualPrivacy,\n inlineStyle: \"acceptIndividual\",\n framed: buttonClicked.startsWith(\"ind_\"),\n busyOnClick: busyOnClick\n }, acceptIndividual), h(BannerDevHint, null));\n};\n\nexport { BannerButtons };","import _extends from \"@babel/runtime/helpers/extends\";\nimport { useMemo, Fragment } from \"react\";\nimport { useBanner } from \"../../contexts\";\nimport { bannerInlineStylesLeftSide, bannerInlineStylesRightSide, bannerInlineStyleBody, bannerInlineStyleBodyContainer, bannerInlineStyleBodyDescription, bannerInlineStyleBodyTeaching, bannerInlineStyleBodyTeachingsSeparator, BannerGroups, BannerTcfGroups, BannerDottedGroups, BannerButtons, BannerHistorySelect, BannerTcfStacks, bannerInlineStylesScale, BANNER_SCALING_WHEN_WINDOW_WIDTH_LOWER } from \".\";\nimport { usePlainCss } from \"../../hooks\";\nimport { expandGroupsServiceVariable } from \"../../others\";\n\nvar BannerBody = function BannerBody(_ref) {\n var _document$getElementB;\n\n var leftSideContainerRef = _ref.leftSideContainerRef,\n rightSideContainerRef = _ref.rightSideContainerRef;\n var banner = useBanner();\n var groups = banner.groups,\n type = banner.layout.type,\n mobile = banner.mobile,\n isEPrivacyUSA = banner.ePrivacyUSA,\n isAgeNotice = banner.ageNotice,\n teachingsSeparatorActive = banner.bodyDesign.teachingsSeparatorActive,\n _banner$texts = banner.texts,\n description = _banner$texts.description,\n ePrivacyUSA = _banner$texts.ePrivacyUSA,\n ageNoticeBanner = _banner$texts.ageNoticeBanner,\n consentForwardingExternalHostsText = _banner$texts.consentForwardingExternalHosts,\n tcfGlobalScope = _banner$texts.tcfGlobalScope,\n tcf = banner.tcf,\n consentForwardingExternalHosts = banner.consentForwardingExternalHosts,\n individualPrivacyOpen = banner.individualPrivacyOpen,\n individualTexts = banner.individualTexts,\n activeAction = banner.activeAction,\n pageRequestUuid4 = banner.pageRequestUuid4; // Make the content responsive\n\n var leftSideId = \"bnnr-body-leftSide-\".concat(pageRequestUuid4);\n var rightSideId = \"bnnr-body-rightSide-\".concat(pageRequestUuid4);\n var contentId = \"cntnt-\".concat(pageRequestUuid4);\n usePlainCss(\" #\".concat(leftSideId, \" img {\\n max-width: 100%;\\n height: auto;\\n}\\n\\n\").concat(((_document$getElementB = document.getElementById(pageRequestUuid4)) === null || _document$getElementB === void 0 ? void 0 : _document$getElementB.clientWidth) > BANNER_SCALING_WHEN_WINDOW_WIDTH_LOWER ? \"\" : \"#\".concat(leftSideId, \" {\\n float: initial !important;\\n width: auto !important;\\n padding-right: initial !important;\\n \").concat(bannerInlineStylesScale(mobile, pageRequestUuid4, type, \"banner\") === \"banner\" && !individualPrivacyOpen ? \"padding-bottom: 10px !important;\" : individualPrivacyOpen ? \"padding-top: 10px !important;\" : \"\", \"\\n }\\n\\n #\").concat(contentId, \" {\\n min-height: calc(var(--rendered-height-header) + var(--rendered-height-footer) + var(--rendered-height-rightSideContainer) + 60px);\\n }\\n \\n #\").concat(rightSideId, \" {\\n float: initial !important;\\n width: auto !important;\\n max-width: initial !important;\\n margin: initial !important;\\n \").concat(individualPrivacyOpen ? \"padding-bottom: 5px !important;\" : \"padding-top: 10px !important;\", \"\\n position: sticky;\\n }\"))); // Prepare description text\n\n var consentForwardingExternalHostsFinalText = consentForwardingExternalHosts ? consentForwardingExternalHostsText.replace(/{{websites}}/g, consentForwardingExternalHosts.join(\", \")) : \"\";\n var tcfGlobalScopeFinalText = tcf ? tcf.model.isServiceSpecific ? \"\" : tcfGlobalScope : \"\";\n var useDescription = [individualPrivacyOpen ? individualTexts.description : description, consentForwardingExternalHostsFinalText, tcfGlobalScopeFinalText].filter(Boolean).join(\" \");\n var useEPrivacyUSA = expandGroupsServiceVariable(groups, tcf ? {\n gvl: tcf.gvl,\n vendorConfigurations: tcf.original.vendorConfigurations\n } : undefined, isEPrivacyUSA ? ePrivacyUSA : \"\", function (cookie, tcf) {\n return (cookie === null || cookie === void 0 ? void 0 : cookie.ePrivacyUSA) || (tcf === null || tcf === void 0 ? void 0 : tcf.vendorConfiguration.ePrivacyUSA) === 1;\n }, 3, true); // Calculate the body content depending on TCF availability and if second view got opened\n\n var stackOrGroups = useMemo(function () {\n if (process.env.IS_TCF === \"1\" && tcf) {\n return individualPrivacyOpen ? h(BannerTcfGroups, null) : h(BannerTcfStacks, null);\n } else {\n return individualPrivacyOpen ? h(BannerGroups, null) : h(BannerDottedGroups, null);\n }\n }, [individualPrivacyOpen, tcf]);\n var leftSide = h(\"div\", _extends({\n ref: leftSideContainerRef,\n key: \"leftSide\",\n id: leftSideId\n }, bannerInlineStylesLeftSide(banner)), !!useDescription && h(Fragment, null, h(\"div\", bannerInlineStyleBodyDescription(banner), activeAction === \"history\" ? h(BannerHistorySelect, null) : h(Fragment, null, h(\"span\", {\n dangerouslySetInnerHTML: {\n __html: useDescription\n }\n }), (isEPrivacyUSA || isAgeNotice) && h(Fragment, null, teachingsSeparatorActive && h(\"div\", null, h(\"span\", bannerInlineStyleBodyTeachingsSeparator(banner))), !!useEPrivacyUSA && h(\"span\", _extends({}, bannerInlineStyleBodyTeaching(banner), {\n dangerouslySetInnerHTML: {\n __html: useEPrivacyUSA\n }\n })), isAgeNotice && !!ageNoticeBanner && h(\"span\", _extends({}, bannerInlineStyleBodyTeaching(banner), {\n dangerouslySetInnerHTML: {\n __html: ageNoticeBanner\n }\n })))))), stackOrGroups);\n var rightSide = activeAction === \"history\" ? h(\"div\", {\n ref: rightSideContainerRef\n }) : h(\"div\", _extends({\n ref: rightSideContainerRef,\n key: \"rightSide\",\n id: rightSideId\n }, bannerInlineStylesRightSide(banner)), h(BannerButtons, null));\n return h(\"div\", bannerInlineStyleBodyContainer(banner), h(\"div\", bannerInlineStyleBody(banner), individualPrivacyOpen ? [rightSide, leftSide] : [leftSide, rightSide], h(\"div\", {\n style: {\n clear: \"both\"\n }\n })));\n};\n\nexport { BannerBody };","import { bannerInlineStylesScale } from \"..\";\nvar BUTTONS_WIDTH = 300;\n\nfunction bannerInlineStylesLeftSide(_ref) {\n var type = _ref.layout.type,\n padding = _ref.bodyDesign.padding,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n individualPrivacyOpen = _ref.individualPrivacyOpen,\n activeAction = _ref.activeAction,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n var useType = bannerInlineStylesScale(mobile, pageRequestUuid4, type, \"banner\");\n var usePadding = bannerInlineStylesScale(mobile, pageRequestUuid4, padding);\n var style = {\n float: useType === \"banner\" && activeAction !== \"history\" ? \"left\" : undefined,\n width: useType === \"banner\" && activeAction !== \"history\" ? \"calc(100% - \".concat(BUTTONS_WIDTH, \"px)\") : undefined,\n paddingRight: useType === \"banner\" ? 20 : undefined,\n paddingTop: +usePadding[0],\n paddingBottom: useType === \"banner\" || individualPrivacyOpen ? +usePadding[2] : 0\n };\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-tb-left\",\n style: style\n };\n}\n\nexport { BUTTONS_WIDTH, bannerInlineStylesLeftSide };","import { bannerInlineStylesScale } from \"..\";\n\nfunction bannerInlineStyleBodyDescription(_ref) {\n var fontSize = _ref.design.fontSize,\n _ref$bodyDesign = _ref.bodyDesign,\n descriptionInheritFontSize = _ref$bodyDesign.descriptionInheritFontSize,\n descriptionFontSize = _ref$bodyDesign.descriptionFontSize,\n descriptionTextAlign = _ref.individualLayout.descriptionTextAlign,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n individualPrivacyOpen = _ref.individualPrivacyOpen,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-description\",\n style: {\n lineHeight: 1.5,\n fontSize: bannerInlineStylesScale(mobile, pageRequestUuid4, descriptionInheritFontSize ? +fontSize : +descriptionFontSize),\n textAlign: individualPrivacyOpen ? descriptionTextAlign : undefined\n }\n };\n}\n\nexport { bannerInlineStyleBodyDescription };","function bannerInlineStyleBodyTeachingsSeparator(_ref) {\n var borderRadius = _ref.layout.borderRadius,\n _ref$bodyDesign = _ref.bodyDesign,\n teachingsSeparatorActive = _ref$bodyDesign.teachingsSeparatorActive,\n teachingsSeparatorWidth = _ref$bodyDesign.teachingsSeparatorWidth,\n teachingsSeparatorHeight = _ref$bodyDesign.teachingsSeparatorHeight,\n teachingsSeparatorColor = _ref$bodyDesign.teachingsSeparatorColor,\n antiAdBlocker = _ref.customCss.antiAdBlocker;\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-teachings-separator\",\n style: {\n marginTop: 7,\n display: \"inline-block\",\n maxWidth: \"100%\",\n borderRadius: +borderRadius,\n width: +teachingsSeparatorWidth,\n height: teachingsSeparatorActive ? +teachingsSeparatorHeight : 0,\n background: teachingsSeparatorColor\n }\n };\n}\n\nexport { bannerInlineStyleBodyTeachingsSeparator };","import _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport { bannerInlineStylesScale } from \"..\";\nimport { hexToRgb } from \"../../../../utils\";\nimport { BUTTONS_WIDTH } from \"./\";\n\nfunction bannerInlineStylesRightSide(_ref) {\n var _style;\n\n var _ref$layout = _ref.layout,\n type = _ref$layout.type,\n dialogMaxWidth = _ref$layout.dialogMaxWidth,\n _ref$design = _ref.design,\n borderWidth = _ref$design.borderWidth,\n bg = _ref$design.bg,\n fontColor = _ref$design.fontColor,\n headerDesign = _ref.headerDesign,\n footerDesign = _ref.footerDesign,\n padding = _ref.bodyDesign.padding,\n inheritDialogMaxWidth = _ref.individualLayout.inheritDialogMaxWidth,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n individualPrivacyOpen = _ref.individualPrivacyOpen,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n var useType = bannerInlineStylesScale(mobile, pageRequestUuid4, type, \"banner\");\n var useBorderWidth = bannerInlineStylesScale(mobile, pageRequestUuid4, borderWidth);\n var usePadding = bannerInlineStylesScale(mobile, pageRequestUuid4, padding, undefined, true);\n\n var _hexToRgb = hexToRgb(fontColor),\n r = _hexToRgb.r,\n g = _hexToRgb.g,\n b = _hexToRgb.b;\n\n var width = useType === \"dialog\" ? +dialogMaxWidth - usePadding[1] - usePadding[3] - useBorderWidth * 2 : BUTTONS_WIDTH;\n var style = (_style = {\n background: bg,\n paddingTop: useType === \"banner\" || individualPrivacyOpen ? +usePadding[0] : 10,\n paddingBottom: !individualPrivacyOpen ? +usePadding[2] : 10,\n float: useType === \"banner\" || individualPrivacyOpen ? \"right\" : undefined,\n maxWidth: width,\n width: width,\n margin: useType === \"dialog\" && individualPrivacyOpen && !inheritDialogMaxWidth ? \"0 0 10px 10px\" : undefined,\n // position: individualPrivacyOpen ? \"sticky\" : undefined, This is done by `body.tsx#usePlainCss`\n position: individualPrivacyOpen ? undefined : \"sticky\"\n }, _defineProperty(_style, individualPrivacyOpen ? \"top\" : \"bottom\", individualPrivacyOpen ? \"calc(var(--rendered-height-header) + \".concat(bannerInlineStylesScale(mobile, pageRequestUuid4, headerDesign.borderWidth), \"px)\") : \"calc(var(--rendered-height-footer) + \".concat(bannerInlineStylesScale(mobile, pageRequestUuid4, footerDesign.borderWidth), \"px)\")), _defineProperty(_style, \"zIndex\", 1), _defineProperty(_style, \"display\", \"flex\"), _defineProperty(_style, \"flexWrap\", \"wrap\"), _defineProperty(_style, \"transition\", \"box-shadow ease-in-out .1s\"), _defineProperty(_style, \"--boxShadowShowScroll\", \"0 -15px 15px -15px rgba(\".concat(r, \", \").concat(g, \", \").concat(b, \", 0.3)\")), _style);\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-tb-right\",\n style: style\n };\n}\n\nexport { bannerInlineStylesRightSide };","import { bannerInlineStylesScale } from \"..\";\n\nfunction bannerInlineStyleBodyContainer(_ref) {\n var type = _ref.layout.type,\n _ref$design = _ref.design,\n bg = _ref$design.bg,\n borderWidth = _ref$design.borderWidth,\n borderColor = _ref$design.borderColor,\n padding = _ref.bodyDesign.padding,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n var useBorderWidth = bannerInlineStylesScale(mobile, pageRequestUuid4, borderWidth);\n var style = {\n background: bg,\n // Top / Bottom padding is applied in leftSide and rightSide containers\n padding: bannerInlineStylesScale(mobile, pageRequestUuid4, padding).map(function (p, i) {\n return \"\".concat([0, 2].indexOf(i) > -1 ? 0 : p, \"px\");\n }).join(\" \"),\n lineHeight: 1.4\n };\n\n if (bannerInlineStylesScale(mobile, pageRequestUuid4, type, \"banner\") === \"dialog\" && useBorderWidth > 0) {\n style.borderLeft = \"\".concat(useBorderWidth, \"px solid \").concat(borderColor);\n style.borderRight = style.borderLeft;\n }\n\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-body-container\",\n style: style\n };\n}\n\nexport { bannerInlineStyleBodyContainer };","import { bannerInlineStylesScale } from \"..\";\n\nfunction bannerInlineStyleBody(_ref) {\n var _ref$layout = _ref.layout,\n type = _ref$layout.type,\n bannerMaxWidth = _ref$layout.bannerMaxWidth,\n individualLayout = _ref.individualLayout,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n individualPrivacyOpen = _ref.individualPrivacyOpen,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n var style = {\n transition: \"width 500ms, max-width 500ms\",\n maxWidth: bannerInlineStylesScale(mobile, pageRequestUuid4, type, \"banner\") === \"banner\" ? +(individualPrivacyOpen && !individualLayout.inheritBannerMaxWidth ? individualLayout.bannerMaxWidth : bannerMaxWidth) : undefined,\n margin: \"auto\"\n };\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-body\",\n style: style\n };\n}\n\nexport { bannerInlineStyleBody };","import _extends from \"@babel/runtime/helpers/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/objectWithoutProperties\";\nimport { useState } from \"react\";\nimport { bannerFooterInlineStyleLink } from \"./inlineStyles\";\nimport { useBanner } from \"../../contexts\";\n\nvar BannerFooterLink = function BannerFooterLink(_ref) {\n var children = _ref.children,\n anchorRest = _objectWithoutProperties(_ref, [\"children\"]);\n\n var banner = useBanner();\n\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n isHover = _useState2[0],\n setIsHover = _useState2[1];\n\n return h(\"a\", _extends({\n onMouseEnter: function onMouseEnter() {\n return setIsHover(true);\n },\n onMouseLeave: function onMouseLeave() {\n return setIsHover(false);\n }\n }, bannerFooterInlineStyleLink(banner, isHover), anchorRest), children);\n};\n\nexport { BannerFooterLink };","import { bannerInlineStylesScale } from \"..\";\n\nfunction bannerFooterInlineStyleLink(_ref) {\n var _ref$footerDesign = _ref.footerDesign,\n fontSize = _ref$footerDesign.fontSize,\n fontColor = _ref$footerDesign.fontColor,\n hoverFontColor = _ref$footerDesign.hoverFontColor,\n fontInheritFamily = _ref$footerDesign.fontInheritFamily,\n fontFamily = _ref$footerDesign.fontFamily,\n linkTextDecoration = _ref.design.linkTextDecoration,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n var isHover = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n var style = {\n textDecoration: linkTextDecoration,\n fontSize: bannerInlineStylesScale(mobile, pageRequestUuid4, +fontSize),\n color: isHover ? hoverFontColor : fontColor,\n fontFamily: fontInheritFamily ? undefined : fontFamily,\n padding: \"0 5px\"\n };\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-footer-link\",\n style: style\n };\n}\n\nexport { bannerFooterInlineStyleLink };","import _extends from \"@babel/runtime/helpers/extends\";\nimport { forwardRef } from \"react\";\nimport { Fragment, useCallback } from \"react\";\nimport { bannerFooterInlineStyle, bannerFooterInlineStyleContainer } from \".\";\nimport { useBanner } from \"../../contexts\";\nimport { getOtherOptionsFromWindow, jsxJoin } from \"../../utils\";\nimport { useBannerLegalLinks } from \"../../hooks\";\nimport { BannerFooterLink, BannerTooltip } from \".\"; // eslint-disable-next-line react/display-name\n\nvar BannerFooter = /*#__PURE__*/forwardRef(function (_, ref) {\n var banner = useBanner();\n var isTcf = banner.isTcf,\n type = banner.layout.type,\n legal = banner.legal,\n _banner$footerDesign = banner.footerDesign,\n poweredByLink = _banner$footerDesign.poweredByLink,\n linkTarget = _banner$footerDesign.linkTarget,\n individualPrivacyOpen = banner.individualPrivacyOpen,\n updateIndividualPrivacyOpen = banner.updateIndividualPrivacyOpen,\n poweredLink = banner.poweredLink,\n isConsentRecord = banner.isConsentRecord,\n onClose = banner.onClose;\n\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n _getOtherOptionsFromW2 = _getOtherOptionsFromW.bannerI18n,\n close = _getOtherOptionsFromW2.close,\n tcf = _getOtherOptionsFromW2.tcf,\n affiliate = _getOtherOptionsFromW.affiliate;\n\n var handleTcfVendorList = process.env.IS_TCF === \"1\" && isTcf ? useCallback(function (e) {\n updateIndividualPrivacyOpen(true);\n e.preventDefault();\n }, [updateIndividualPrivacyOpen]) : undefined;\n var handleClose = useCallback(function (e) {\n onClose();\n e.preventDefault();\n }, [onClose]);\n var targetAttributes = linkTarget === \"_blank\" ? {\n target: \"_blank\",\n rel: \"noopener\"\n } : {};\n\n var _useBannerLegalLinks = useBannerLegalLinks(legal),\n linkPrivacyPolicy = _useBannerLegalLinks.linkPrivacyPolicy,\n linkImprint = _useBannerLegalLinks.linkImprint;\n\n var links = [// Row 1\n [isConsentRecord && h(BannerFooterLink, {\n href: \"#\",\n onClick: handleClose,\n key: \"close\"\n }, h(\"strong\", null, close)), process.env.IS_TCF === \"1\" && isTcf && !individualPrivacyOpen && h(BannerFooterLink, {\n href: \"#\",\n onClick: handleTcfVendorList,\n key: \"vendorList\"\n }, tcf.vendorList), linkPrivacyPolicy && h(BannerFooterLink, _extends({\n href: linkPrivacyPolicy.url\n }, targetAttributes, {\n key: \"privacyPolicy\"\n }), linkPrivacyPolicy.label), linkImprint && h(BannerFooterLink, _extends({\n href: linkImprint.url\n }, targetAttributes, {\n key: \"imprint\"\n }), linkImprint.label)].filter(Boolean), // Row 2\n [] // Nothing yet\n ];\n\n if (!!poweredLink && poweredByLink) {\n links[type === \"banner\" ? 0 : 1].push(h(BannerFooterLink, {\n href: affiliate ? affiliate.link : poweredLink.href,\n target: poweredLink.target,\n key: \"powered-by\"\n }, h(\"span\", {\n dangerouslySetInnerHTML: {\n __html: poweredLink.innerHTML\n }\n }), affiliate && h(BannerTooltip, {\n title: affiliate.description,\n position: \"top-left\"\n }, \" \", affiliate.labelBehind)));\n }\n\n return h(\"div\", _extends({\n ref: ref\n }, bannerFooterInlineStyleContainer(banner)), h(\"div\", bannerFooterInlineStyle(banner), jsxJoin(links.map(function (linksRow) {\n return linksRow.length ? h(Fragment, {\n key: linksRow[0].key\n }, jsxJoin(linksRow, h(Fragment, null, \" \\u2022 \"))) : null;\n }), h(\"br\", null))));\n});\nexport { BannerFooter };","import { bannerInlineStylesScale } from \"..\";\n\nfunction bannerFooterInlineStyleContainer(_ref) {\n var _ref$layout = _ref.layout,\n type = _ref$layout.type,\n dialogBorderRadius = _ref$layout.dialogBorderRadius,\n design = _ref.design,\n _ref$footerDesign = _ref.footerDesign,\n inheritBg = _ref$footerDesign.inheritBg,\n bg = _ref$footerDesign.bg,\n inheritTextAlign = _ref$footerDesign.inheritTextAlign,\n textAlign = _ref$footerDesign.textAlign,\n padding = _ref$footerDesign.padding,\n fontSize = _ref$footerDesign.fontSize,\n fontColor = _ref$footerDesign.fontColor,\n fontWeight = _ref$footerDesign.fontWeight,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n var useType = bannerInlineStylesScale(mobile, pageRequestUuid4, type, \"banner\");\n var useBorderWidth = bannerInlineStylesScale(mobile, pageRequestUuid4, design.borderWidth);\n var style = {\n padding: bannerInlineStylesScale(mobile, pageRequestUuid4, padding, undefined, true).map(function (p) {\n return \"\".concat(p, \"px\");\n }).join(\" \"),\n background: inheritBg ? design.bg : bg,\n borderRadius: useType === \"dialog\" ? \"0 0 \".concat(dialogBorderRadius, \"px \").concat(dialogBorderRadius, \"px\") : undefined,\n fontSize: bannerInlineStylesScale(mobile, pageRequestUuid4, +fontSize),\n fontWeight: fontWeight,\n color: fontColor,\n textAlign: inheritTextAlign ? design.textAlign : textAlign,\n position: \"sticky\",\n bottom: 0,\n zIndex: 1\n };\n\n if (useType === \"dialog\" && useBorderWidth > 0) {\n style.borderBottom = \"\".concat(useBorderWidth, \"px solid \").concat(design.borderColor);\n style.borderLeft = style.borderBottom;\n style.borderRight = style.borderBottom;\n }\n\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-footer-container\",\n style: style\n };\n}\n\nexport { bannerFooterInlineStyleContainer };","import { bannerInlineStylesScale } from \"..\";\n\nfunction bannerFooterInlineStyle(_ref) {\n var _ref$layout = _ref.layout,\n type = _ref$layout.type,\n bannerMaxWidth = _ref$layout.bannerMaxWidth,\n individualLayout = _ref.individualLayout,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4,\n individualPrivacyOpen = _ref.individualPrivacyOpen;\n var style = {\n transition: \"width 500ms, max-width 500ms\",\n maxWidth: bannerInlineStylesScale(mobile, pageRequestUuid4, type, \"banner\") === \"banner\" ? +(individualPrivacyOpen && !individualLayout.inheritBannerMaxWidth ? individualLayout.bannerMaxWidth : bannerMaxWidth) : undefined,\n margin: \"auto\",\n lineHeight: 1.8\n };\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-footer\",\n style: style\n };\n}\n\nexport { bannerFooterInlineStyle };","import { useEffect } from \"react\";\nimport { usePlainCss } from \".\";\nimport { useBanner } from \"../contexts\";\n/**\n * Pass an HTML refs and we will provide a root stylesheet with the height dimensions.\n */\n\nfunction useBannerRenderedHeightsAsCssVars(element, name) {\n var _useBanner = useBanner(),\n pageRequestUuid4 = _useBanner.pageRequestUuid4; // We do directly modify the inline CSS as we do not want to trigger a rerender for the complete banner content\n\n\n var cssId = usePlainCss(\"\", \"useBannerRenderedHeightsAsCssVars-\".concat(name));\n var cssElement = document.getElementById(cssId);\n useEffect(function () {\n var previousHeight = 0;\n\n var recalculate = function recalculate() {\n var currentHeight = element.getBoundingClientRect().height;\n\n if (previousHeight !== currentHeight) {\n previousHeight = currentHeight;\n cssElement.innerHTML = \"#\".concat(pageRequestUuid4, \"{--rendered-height-\").concat(name, \": \").concat(Math.floor(currentHeight), \"px;--rendered-height-raw-\").concat(name, \": \").concat(currentHeight, \"px}\");\n }\n };\n\n if (!element) {\n return function () {// Silence is golden.\n };\n } // Support animations\n\n\n var animateContainer = document.querySelector(\"#\".concat(pageRequestUuid4, \" div[class*=\\\"animate__\\\"]\"));\n animateContainer.addEventListener(\"animationend\", recalculate);\n\n if (window.ResizeObserver) {\n var ro = new ResizeObserver(recalculate);\n ro.observe(element);\n return function () {\n ro.disconnect();\n animateContainer.removeEventListener(\"animationend\", recalculate);\n };\n } else {\n var interval = setInterval(recalculate, 150);\n return function () {\n clearInterval(interval);\n animateContainer.removeEventListener(\"animationend\", recalculate);\n };\n }\n }, [element, name]);\n}\n\nexport { useBannerRenderedHeightsAsCssVars };","import _extends from \"@babel/runtime/helpers/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { Fragment, useState, useRef, useLayoutEffect, useCallback } from \"react\";\nimport { bannerContentInlineStyle, bannerFooterInlineStyleSeparator, bannerHeaderInlineStyleSeparator, BannerHeader, BannerBody, BannerFooter } from \".\";\nimport { useBanner } from \"../../contexts\";\nimport { usePlainCss, useBannerRenderedHeightsAsCssVars } from \"../../hooks\";\nimport { bannerInlineStylesScale } from \"./inlineStyles\";\n\nvar BannerContent = function BannerContent() {\n var banner = useBanner();\n var _banner$layout = banner.layout,\n type = _banner$layout.type,\n dialogBorderRadius = _banner$layout.dialogBorderRadius,\n _banner$decision = banner.decision,\n acceptEssentials = _banner$decision.acceptEssentials,\n showCloseIcon = _banner$decision.showCloseIcon,\n mobile = banner.mobile,\n individualPrivacyOpen = banner.individualPrivacyOpen,\n bg = banner.design.bg,\n teachingsFontColor = banner.bodyDesign.teachingsFontColor,\n activeAction = banner.activeAction,\n pageRequestUuid4 = banner.pageRequestUuid4;\n var rightSideId = \"bnnr-body-rightSide-\".concat(pageRequestUuid4);\n var id = \"cntnt-\".concat(pageRequestUuid4);\n var ref = useRef();\n var currentRef = ref.current;\n var showHeader = true;\n\n if (mobile.hideHeader && !activeAction && !individualPrivacyOpen && (acceptEssentials === \"hide\" ? !showCloseIcon : true)) {\n showHeader = bannerInlineStylesScale(mobile, pageRequestUuid4, showHeader, false);\n } // Enable box shadow effect for the scrolling behavior\n\n\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n showScrollBoxShadow = _useState2[0],\n setShowScrollBoxShadow = _useState2[1];\n\n var updateShowScrollBoxShadow = useCallback(function () {\n if (currentRef) {\n var clientHeight = currentRef.clientHeight,\n scrollHeight = currentRef.scrollHeight,\n scrollTop = currentRef.scrollTop,\n offsetHeight = currentRef.offsetHeight;\n var hasScrollbar = clientHeight < scrollHeight;\n var scrolledToBottom = Math.ceil(scrollTop + offsetHeight) >= scrollHeight;\n var result = hasScrollbar && !scrolledToBottom && !individualPrivacyOpen;\n\n if (showScrollBoxShadow !== result) {\n setShowScrollBoxShadow(result);\n }\n }\n }, [currentRef, individualPrivacyOpen, showScrollBoxShadow]);\n updateShowScrollBoxShadow(); // The function gets called for each resize in `Banner` component\n\n useLayoutEffect(function () {\n if (currentRef) {\n currentRef.addEventListener(\"scroll\", updateShowScrollBoxShadow);\n return function () {\n return currentRef.removeEventListener(\"scroll\", updateShowScrollBoxShadow);\n };\n } // eslint-disable-next-line @typescript-eslint/no-empty-function\n\n\n return function () {};\n }, [currentRef, updateShowScrollBoxShadow]);\n usePlainCss(showScrollBoxShadow ? \"#\".concat(rightSideId, \" {box-shadow:var(--boxShadowShowScroll);}\") : \"\"); // Create custom scrollbar when a border radius is active (https://css-tricks.com/the-current-state-of-styling-scrollbars/)\n\n usePlainCss(navigator.platform === \"Win32\" && type === \"dialog\" && dialogBorderRadius > 0 ? [\"#\".concat(id, \"{overflow:overlay!important;}\"), \"#\".concat(id, \"::-webkit-scrollbar{width:11px;}\"), \"#\".concat(id, \"{scrollbar-width:thin;scrollbar-color:\").concat(teachingsFontColor, \" transparent;}\"), \"#\".concat(id, \"::-webkit-scrollbar-track{background:transparent;}\"), \"#\".concat(id, \"::-webkit-scrollbar-thumb{background-color:\").concat(teachingsFontColor, \";border-radius:\").concat(dialogBorderRadius, \"px;border:3px solid \").concat(bg, \";}\"), \"#\".concat(id, \">div{border-top-right-radius:0!important;border-bottom-right-radius:0!important;}\")].join(\"\\n\") : \"\");\n var headerRef = useRef();\n var footerRef = useRef();\n var rightSideContainerRef = useRef();\n useBannerRenderedHeightsAsCssVars(headerRef.current, \"header\");\n useBannerRenderedHeightsAsCssVars(footerRef.current, \"footer\");\n useBannerRenderedHeightsAsCssVars(rightSideContainerRef.current, \"rightSideContainer\");\n return h(\"div\", _extends({}, bannerContentInlineStyle(banner), {\n ref: ref,\n id: id\n }), showHeader && h(Fragment, null, h(BannerHeader, {\n ref: headerRef\n }), h(\"div\", bannerHeaderInlineStyleSeparator(banner))), h(BannerBody, {\n rightSideContainerRef: rightSideContainerRef\n }), h(\"div\", bannerFooterInlineStyleSeparator(banner)), h(BannerFooter, {\n ref: footerRef\n }));\n};\n\nexport { BannerContent };","import { bannerInlineStylesScale } from \"..\";\n\nfunction bannerContentInlineStyle(_ref) {\n var _document$getElementB;\n\n var type = _ref.layout.type,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n showCloseIcon = _ref.decision.showCloseIcon,\n activeAction = _ref.activeAction,\n individualPrivacyOpen = _ref.individualPrivacyOpen,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n var innerHeight = ((_document$getElementB = document.getElementById(pageRequestUuid4)) === null || _document$getElementB === void 0 ? void 0 : _document$getElementB.clientHeight) || window.innerHeight;\n var mobileMaxHeight = +mobile.maxHeight;\n var useMobileMaxHeight = mobileMaxHeight > innerHeight ? innerHeight : mobileMaxHeight;\n var closeIconDistance = showCloseIcon || activeAction ? 51 : 0;\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-content\",\n style: {\n position: \"relative\",\n maxHeight: bannerInlineStylesScale(mobile, pageRequestUuid4, innerHeight - (type === \"banner\" ? 0 : 20) - closeIconDistance, individualPrivacyOpen ? innerHeight - closeIconDistance : useMobileMaxHeight - closeIconDistance),\n overflow: \"auto\"\n }\n };\n}\n\nexport { bannerContentInlineStyle };","import { bannerInlineStylesScale } from \"..\";\n\nfunction bannerHeaderInlineStyleSeparator(_ref) {\n var type = _ref.layout.type,\n design = _ref.design,\n _ref$headerDesign = _ref.headerDesign,\n borderWidth = _ref$headerDesign.borderWidth,\n borderColor = _ref$headerDesign.borderColor,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n var useDesignBorderWidth = bannerInlineStylesScale(mobile, pageRequestUuid4, design.borderWidth);\n var style = {\n height: bannerInlineStylesScale(mobile, pageRequestUuid4, +borderWidth),\n background: borderColor,\n position: \"sticky\",\n top: \"var(--rendered-height-header)\",\n zIndex: 9\n };\n\n if (bannerInlineStylesScale(mobile, pageRequestUuid4, type, \"banner\") === \"dialog\" && useDesignBorderWidth > 0) {\n style.borderLeft = \"\".concat(useDesignBorderWidth, \"px solid \").concat(design.borderColor);\n style.borderRight = style.borderLeft;\n }\n\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-header-separator\",\n style: style\n };\n}\n\nexport { bannerHeaderInlineStyleSeparator };","import { bannerInlineStylesScale } from \"..\";\n\nfunction bannerFooterInlineStyleSeparator(_ref) {\n var type = _ref.layout.type,\n design = _ref.design,\n _ref$footerDesign = _ref.footerDesign,\n borderWidth = _ref$footerDesign.borderWidth,\n borderColor = _ref$footerDesign.borderColor,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n var useBorderWidth = bannerInlineStylesScale(mobile, pageRequestUuid4, design.borderWidth);\n var style = {\n height: bannerInlineStylesScale(mobile, pageRequestUuid4, +borderWidth),\n background: borderColor,\n position: \"sticky\",\n bottom: \"var(--rendered-height-footer)\"\n };\n\n if (bannerInlineStylesScale(mobile, pageRequestUuid4, type, \"banner\") === \"dialog\" && useBorderWidth > 0) {\n style.borderLeft = \"\".concat(useBorderWidth, \"px solid \").concat(design.borderColor);\n style.borderRight = style.borderLeft;\n }\n\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-footer-separator\",\n style: style\n };\n}\n\nexport { bannerFooterInlineStyleSeparator };","import { useCallback, useMemo } from \"react\";\nimport { BANNER_SCALING_WHEN_WINDOW_WIDTH_LOWER } from \"../components\";\n/**\n * Depending on the current screen, calculate the animation to use.\n *\n * Currently, we do not support animations on resize as we cannot calculate the\n * width of the overlay container as it does not exist on first render cycle of React.\n *\n * Drawback if animation only on mobile is enabled: if the window is first a mobile,\n * and the window gets resize it will reuse the animation on desktop again\n */\n\nfunction useBannerAnimation() {\n var clientWidth = useMemo(function () {\n return window.innerWidth;\n }, []);\n var isMobile = clientWidth < BANNER_SCALING_WHEN_WINDOW_WIDTH_LOWER; // Check if it is mobile Firefox, as it does not support `position:sticky;bottom:0;` and animations.\n // Effect: The buttons and footer are not visible.\n\n var isMobileFirefox = useMemo(function () {\n var userAgent = window.navigator.userAgent.toLowerCase();\n return [\"firefox\", \"gecko\", \"mobile\", \"android\"].map(function (term) {\n return userAgent.indexOf(term) > -1;\n }).filter(Boolean).length === 4;\n }, []);\n return useCallback(function (_ref) {\n var animationIn = _ref.animationIn,\n animationInOnlyMobile = _ref.animationInOnlyMobile,\n animationOut = _ref.animationOut,\n animationOutOnlyMobile = _ref.animationOutOnlyMobile;\n var useAnimationIn = animationInOnlyMobile ? isMobile ? animationIn : \"none\" : animationIn;\n var useAnimationOut = animationOutOnlyMobile ? isMobile ? animationOut : \"none\" : animationOut;\n\n if (isMobileFirefox) {\n useAnimationIn = \"none\";\n useAnimationOut = \"none\";\n }\n\n return {\n useAnimationIn: useAnimationIn,\n useAnimationOut: useAnimationOut\n };\n }, []);\n}\n\nexport { useBannerAnimation };","import _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { useEffect, useState } from \"react\";\n\nfunction useResettableAnimation(animation, duration) {\n var _useState = useState(0),\n _useState2 = _slicedToArray(_useState, 2),\n i = _useState2[0],\n setI = _useState2[1];\n\n var _useState3 = useState(0),\n _useState4 = _slicedToArray(_useState3, 2),\n j = _useState4[0],\n setJ = _useState4[1];\n\n var _useState5 = useState(animation),\n _useState6 = _slicedToArray(_useState5, 2),\n stateAnimation = _useState6[0],\n setStateAnimation = _useState6[1];\n\n var _useState7 = useState(undefined),\n _useState8 = _slicedToArray(_useState7, 2),\n stateAnimationReset = _useState8[0],\n setStateAnimationReset = _useState8[1];\n\n var _useState9 = useState(duration),\n _useState10 = _slicedToArray(_useState9, 2),\n stateDuration = _useState10[0],\n setStateDuration = _useState10[1];\n\n var _useState11 = useState(undefined),\n _useState12 = _slicedToArray(_useState11, 2),\n stateDurationReset = _useState12[0],\n setStateDurationReset = _useState12[1]; // Reset animation, save it temporary so when changing it, it needs to be to \"none\" and then the needed one\n\n\n useEffect(function () {\n // Avoid first rendering as the first is animated at mount-time\n if (i > 0) {\n if (animation === \"none\") {\n setStateAnimation(animation);\n } else {\n setStateAnimation(\"none\");\n setStateAnimationReset(animation);\n }\n }\n\n setI(i + 1);\n }, [animation]);\n useEffect(function () {\n // Avoid first rendering as the first is animated at mount-time\n if (j > 0) {\n if (duration === 0) {\n setStateDuration(duration);\n } else {\n setStateDuration(0);\n setStateDurationReset(duration);\n setStateAnimation(\"none\");\n setStateAnimationReset(animation);\n }\n }\n\n setJ(j + 1);\n }, [duration]);\n useEffect(function () {\n if (stateAnimationReset !== undefined) {\n setStateAnimation(stateAnimationReset);\n setStateAnimationReset(undefined);\n }\n }, [stateAnimationReset]);\n useEffect(function () {\n if (stateDurationReset !== undefined) {\n setStateDuration(stateDurationReset);\n setStateDurationReset(undefined);\n }\n }, [stateDurationReset]);\n return [stateAnimation, stateDuration];\n}\n\nexport { useResettableAnimation };","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestConsentGet = {\n path: \"/consent\",\n method: RouteHttpVerb.GET\n};","import { useEffect } from \"react\";\nimport { useBanner } from \"../contexts\";\nimport { parents } from \"@devowl-wp/headless-content-unblocker\";\nimport { matchingSelector } from \"@devowl-wp/resolve-none-computed-style\";\nvar HREF_MATCHER = '[href^=\"#consent-\"]';\n/**\n * Listen to anchor links and execute the banner action:\n *\n * ```\n * #consent-change\n * #consent-history\n * #consent-revoke\n * ```\n */\n\nfunction useBannerActionLinks() {\n var _useBanner = useBanner(),\n openBanner = _useBanner.openBanner,\n openHistory = _useBanner.openHistory,\n revokeConsent = _useBanner.revokeConsent;\n\n useEffect(function () {\n var handleType = function handleType(type, successMessage, e) {\n if (!openBanner) {\n // `useBannerActions` is not yet initialized.\n return;\n }\n\n switch (type) {\n case \"change\":\n openBanner(e);\n break;\n\n case \"history\":\n openHistory(e);\n break;\n\n case \"revoke\":\n revokeConsent(successMessage, e);\n break;\n\n default:\n break;\n }\n };\n\n var eventListenerDocumentClick = function eventListenerDocumentClick(e) {\n if (!openBanner) {\n // `useBannerActions` is not yet initialized.\n return;\n } // Check if one of the parents has a valid hash link\n\n\n var element = e.target;\n parents(element, HREF_MATCHER).concat(matchingSelector(element, HREF_MATCHER) ? [element] : []).forEach(function (parent) {\n handleType(parent.getAttribute(\"href\").slice(9), parent.getAttribute(\"data-success-message\"), e);\n }); // @deprecated Old behavior with simple links like `#change`\n\n if (matchingSelector(element, \".rcb-sc-link\")) {\n handleType(element.getAttribute(\"href\").slice(1), element.getAttribute(\"data-success-message\"), e);\n }\n };\n\n var eventListenerHashChange = function eventListenerHashChange() {\n var hash = window.location.hash;\n\n if (hash.startsWith(\"#consent-\")) {\n handleType(hash.substring(9), undefined, undefined);\n }\n };\n\n window.addEventListener(\"hashchange\", eventListenerHashChange);\n document.addEventListener(\"click\", eventListenerDocumentClick, true);\n return function () {\n window.removeEventListener(\"hashchange\", eventListenerHashChange);\n document.removeEventListener(\"click\", eventListenerDocumentClick, true);\n };\n }, [openBanner, openHistory, revokeConsent]);\n}\n\nexport { useBannerActionLinks };","import _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { useState, useEffect } from \"react\";\n\nfunction getAnimationRelatedState(_ref) {\n var isVisible = _ref.isVisible,\n animationIn = _ref.animationIn,\n animationOut = _ref.animationOut,\n animationInDuration = _ref.animationInDuration,\n animationOutDuration = _ref.animationOutDuration,\n animationInDelay = _ref.animationInDelay,\n animationOutDelay = _ref.animationOutDelay;\n return isVisible ? {\n animation: animationIn,\n duration: animationInDuration,\n delay: animationInDelay\n } : {\n animation: animationOut,\n duration: animationOutDuration,\n delay: animationOutDelay\n };\n}\n/**\n * Ported from https://www.npmjs.com/package/react-animated-css due to high bundle size.\n */\n\n\nvar AnimatedCss = function AnimatedCss(_ref2) {\n var _ref2$animateOnMount = _ref2.animateOnMount,\n animateOnMount = _ref2$animateOnMount === void 0 ? true : _ref2$animateOnMount,\n _ref2$isVisible = _ref2.isVisible,\n isVisible = _ref2$isVisible === void 0 ? true : _ref2$isVisible,\n _ref2$animationIn = _ref2.animationIn,\n animationIn = _ref2$animationIn === void 0 ? \"fadeIn\" : _ref2$animationIn,\n _ref2$animationOut = _ref2.animationOut,\n animationOut = _ref2$animationOut === void 0 ? \"fadeOut\" : _ref2$animationOut,\n _ref2$animationInDela = _ref2.animationInDelay,\n animationInDelay = _ref2$animationInDela === void 0 ? 0 : _ref2$animationInDela,\n _ref2$animationOutDel = _ref2.animationOutDelay,\n animationOutDelay = _ref2$animationOutDel === void 0 ? 0 : _ref2$animationOutDel,\n _ref2$animationInDura = _ref2.animationInDuration,\n animationInDuration = _ref2$animationInDura === void 0 ? 1000 : _ref2$animationInDura,\n _ref2$animationOutDur = _ref2.animationOutDuration,\n animationOutDuration = _ref2$animationOutDur === void 0 ? 1000 : _ref2$animationOutDur,\n _ref2$className = _ref2.className,\n className = _ref2$className === void 0 ? \"\" : _ref2$className,\n _ref2$style = _ref2.style,\n style = _ref2$style === void 0 ? {} : _ref2$style,\n children = _ref2.children;\n\n var _useState = useState(animateOnMount ? getAnimationRelatedState({\n isVisible: isVisible,\n animationIn: animationIn,\n animationOut: animationOut,\n animationInDelay: animationInDelay,\n animationOutDelay: animationOutDelay,\n animationInDuration: animationInDuration,\n animationOutDuration: animationOutDuration\n }) : {\n animation: \"\",\n delay: undefined,\n duration: 0\n }),\n _useState2 = _slicedToArray(_useState, 2),\n _useState2$ = _useState2[0],\n animation = _useState2$.animation,\n duration = _useState2$.duration,\n delay = _useState2$.delay,\n setAnimationRelatedState = _useState2[1];\n\n useEffect(function () {\n setAnimationRelatedState(getAnimationRelatedState({\n isVisible: isVisible,\n animationIn: animationIn,\n animationOut: animationOut,\n animationInDelay: animationInDelay,\n animationOutDelay: animationOutDelay,\n animationInDuration: animationInDuration,\n animationOutDuration: animationOutDuration\n }));\n }, [isVisible, animationIn, animationOut, animationInDelay, animationOutDelay, animationInDuration, animationOutDuration]);\n var classes = \"animate__animated animate__\".concat(animation, \" \").concat(className);\n var backwardStyle = !animation ? {\n opacity: isVisible ? 1 : 0,\n transition: \"opacity \".concat(delay, \"ms\")\n } : {};\n return h(\"div\", {\n className: classes,\n style: _objectSpread(_objectSpread({\n animationDelay: \"\".concat(delay, \"ms\"),\n animationDuration: \"\".concat(duration, \"ms\"),\n pointerEvents: isVisible ? \"all\" : \"none\"\n }, style), backwardStyle)\n }, children);\n};\n\nexport { AnimatedCss };","/**\n * Checks if the given banner is not visible due to legal settings.\n */\nfunction isHiddenDueLegal(banner) {\n var _banner$legal = banner.legal,\n imprint = _banner$legal.imprint,\n imprintHide = _banner$legal.imprintHide,\n privacyPolicy = _banner$legal.privacyPolicy,\n privacyPolicyHide = _banner$legal.privacyPolicyHide,\n pageId = banner.pageId;\n return [imprintHide && +imprint, privacyPolicyHide && +privacyPolicy].filter(Boolean).indexOf(pageId) > -1;\n}\n\nexport { isHiddenDueLegal };","import _extends from \"@babel/runtime/helpers/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { useState, useLayoutEffect, useEffect } from \"react\";\nimport { BannerContent, bannerOverlayInlineStyle, bannerOverlayInlineStyleAlignment, bannerContentInlineStyleInner } from \".\";\nimport { useBanner } from \"../../contexts\";\nimport { useRestrictScrollWhenVisible, useResettableAnimation, usePlainCss, useBannerActionType, useBannerActionLinks, useBannerAnimation } from \"../../hooks\";\nimport { AnimatedCss } from \"..\";\nimport { getOtherOptionsFromWindow } from \"../../utils\";\nimport { isHiddenDueLegal } from \"../../others\";\nimport { dispatchResizeEvent } from \"@devowl-wp/headless-content-unblocker\";\n\nvar BannerAnimation = function BannerAnimation() {\n var banner = useBanner();\n var _banner$layout = banner.layout,\n animationInDuration = _banner$layout.animationInDuration,\n animationOutDuration = _banner$layout.animationOutDuration,\n animationVisible = banner.animationVisible;\n\n var _useBannerAnimation = useBannerAnimation()(banner.layout),\n useAnimationIn = _useBannerAnimation.useAnimationIn,\n useAnimationOut = _useBannerAnimation.useAnimationOut;\n\n var _useResettableAnimati = useResettableAnimation(useAnimationIn, animationInDuration),\n _useResettableAnimati2 = _slicedToArray(_useResettableAnimati, 2),\n stateAnimationIn = _useResettableAnimati2[0],\n stateAnimationInDuration = _useResettableAnimati2[1];\n\n var _useResettableAnimati3 = useResettableAnimation(useAnimationOut === \"none\" ? \"fadeOut\" : useAnimationOut, useAnimationOut === \"none\" ? 0 : animationOutDuration),\n _useResettableAnimati4 = _slicedToArray(_useResettableAnimati3, 2),\n stateAnimationOut = _useResettableAnimati4[0],\n stateAnimationOutDuration = _useResettableAnimati4[1];\n\n return h(AnimatedCss, _extends({\n animationIn: stateAnimationIn,\n animationInDuration: stateAnimationInDuration,\n animationOut: stateAnimationOut,\n animationOutDuration: stateAnimationOutDuration,\n isVisible: animationVisible\n }, bannerContentInlineStyleInner(banner)), h(BannerContent, null));\n};\n\nvar Banner = function Banner() {\n var banner = useBanner();\n\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n isPro = _getOtherOptionsFromW.isPro;\n\n var _banner$layout2 = banner.layout,\n overlay = _banner$layout2.overlay,\n overlayBlur = _banner$layout2.overlayBlur,\n _banner$customCss = banner.customCss,\n antiAdBlocker = _banner$customCss.antiAdBlocker,\n css = _banner$customCss.css,\n visible = banner.visible,\n animationVisible = banner.animationVisible,\n activeAction = banner.activeAction,\n skipOverlay = banner.skipOverlay,\n gotHiddenDueLegal = banner.gotHiddenDueLegal,\n pageRequestUuid4 = banner.pageRequestUuid4,\n individualPrivacyOpen = banner.individualPrivacyOpen;\n var hiddenDueLegal = isHiddenDueLegal(banner);\n var show = visible && !hiddenDueLegal || !!activeAction;\n usePlainCss(antiAdBlocker ? css : \"\");\n usePlainCss(\"#\".concat(pageRequestUuid4, \", #\").concat(pageRequestUuid4, \" * {box-sizing: border-box;backface-visibility:initial;}\")); // Blur effect\n\n if (isPro) {\n /* Silence is golden... Until you have PRO Version! */\n }\n\n useRestrictScrollWhenVisible(show && overlay && animationVisible); // Listen to window resizes and resize the content automatically\n\n var _useState = useState(0),\n _useState2 = _slicedToArray(_useState, 2),\n setInvalidate = _useState2[1];\n\n var updateSize = function updateSize() {\n return setInvalidate(+new Date());\n };\n\n useLayoutEffect(function () {\n window.addEventListener(\"resize\", updateSize);\n return function () {\n return window.removeEventListener(\"resize\", updateSize);\n };\n }, []);\n useLayoutEffect(function () {\n dispatchResizeEvent(1000);\n }, [animationVisible, individualPrivacyOpen]); // When changes to the legal settings are done, make the banner visible or hide\n\n gotHiddenDueLegal && useEffect(function () {\n gotHiddenDueLegal(hiddenDueLegal);\n }, [hiddenDueLegal]);\n useBannerActionType();\n useBannerActionLinks();\n\n if (!show) {\n return null;\n }\n\n var content = h(\"div\", bannerOverlayInlineStyleAlignment(banner), h(BannerAnimation, null));\n return skipOverlay ? content : h(\"div\", _extends({\n id: pageRequestUuid4\n }, bannerOverlayInlineStyle(banner)), content);\n};\n\nexport { Banner };","import _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport { bannerInlineStylesScale } from \"..\";\nimport { calculateOverlay } from \"../../../../utils\";\n\nfunction bannerContentInlineStyleInner(_ref) {\n var _ref$layout = _ref.layout,\n type = _ref$layout.type,\n dialogMaxWidth = _ref$layout.dialogMaxWidth,\n dialogPosition = _ref$layout.dialogPosition,\n dialogMargin = _ref$layout.dialogMargin,\n bannerPosition = _ref$layout.bannerPosition,\n dialogBorderRadius = _ref$layout.dialogBorderRadius,\n _ref$design = _ref.design,\n borderWidth = _ref$design.borderWidth,\n borderColor = _ref$design.borderColor,\n textAlign = _ref$design.textAlign,\n fontColor = _ref$design.fontColor,\n fontInheritFamily = _ref$design.fontInheritFamily,\n fontFamily = _ref$design.fontFamily,\n fontWeight = _ref$design.fontWeight,\n boxShadowEnabled = _ref$design.boxShadowEnabled,\n boxShadowOffsetX = _ref$design.boxShadowOffsetX,\n boxShadowOffsetY = _ref$design.boxShadowOffsetY,\n boxShadowBlurRadius = _ref$design.boxShadowBlurRadius,\n boxShadowSpreadRadius = _ref$design.boxShadowSpreadRadius,\n boxShadowColor = _ref$design.boxShadowColor,\n boxShadowColorAlpha = _ref$design.boxShadowColorAlpha,\n individualLayout = _ref.individualLayout,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4,\n individualPrivacyOpen = _ref.individualPrivacyOpen;\n var mobileAlignment = mobile.alignment;\n var useType = bannerInlineStylesScale(mobile, pageRequestUuid4, type, \"banner\");\n var useBorderWidth = bannerInlineStylesScale(mobile, pageRequestUuid4, borderWidth);\n var width = useType === \"dialog\" ? +(individualPrivacyOpen && !individualLayout.inheritDialogMaxWidth ? individualLayout.dialogMaxWidth : dialogMaxWidth) : \"100%\";\n\n var style = _defineProperty({\n pointerEvents: \"all\",\n transition: \"width 500ms, max-width 500ms\",\n maxWidth: width,\n textAlign: textAlign,\n width: width,\n overflow: \"hidden\",\n alignSelf: bannerInlineStylesScale(mobile, pageRequestUuid4, useType === \"banner\" ? bannerPosition === \"top\" ? \"flex-start\" : \"flex-end\" : undefined, mobileAlignment === \"bottom\" ? \"flex-end\" : mobileAlignment === \"top\" ? \"flex-start\" : \"center\"),\n fontFamily: fontInheritFamily ? undefined : fontFamily,\n fontWeight: fontWeight,\n color: fontColor,\n margin: useType === \"dialog\" ? 10 : undefined,\n borderRadius: useType === \"dialog\" ? +dialogBorderRadius : undefined,\n boxShadow: boxShadowEnabled ? \"\".concat(boxShadowOffsetX, \"px \").concat(boxShadowOffsetY, \"px \").concat(boxShadowBlurRadius, \"px \").concat(boxShadowSpreadRadius, \"px \").concat(calculateOverlay(boxShadowColor, boxShadowColorAlpha)) : undefined\n }, useType === \"banner\" ? bannerPosition === \"top\" ? \"borderBottom\" : \"borderTop\" : \"border\", useType === \"banner\" ? useBorderWidth > 0 ? \"\".concat(useBorderWidth, \"px solid \").concat(borderColor) : undefined : undefined);\n\n if (useType === \"dialog\" && dialogPosition !== \"middleCenter\") {\n style.margin = dialogMargin.map(function (i) {\n return \"\".concat(i, \"px\");\n }).join(\" \");\n }\n\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-inner\",\n style: style\n };\n}\n\nexport { bannerContentInlineStyleInner };","import { useEffect } from \"react\";\n/**\n * Do not allow scrolling when this banner is visible\n *\n * @param visible\n */\n\nfunction useRestrictScrollWhenVisible(visible) {\n return useEffect(function () {\n var _document$body = document.body,\n dataset = _document$body.dataset,\n style = _document$body.style; // Save first state\n\n if (dataset.rcbPreviousOverflow === undefined) {\n dataset.rcbPreviousOverflow = style.overflow;\n }\n\n style.overflow = visible ? \"hidden\" : dataset.rcbPreviousOverflow;\n document.body.parentElement.style.overflow = style.overflow;\n }, [visible]);\n}\n\nexport { useRestrictScrollWhenVisible };","import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { useEffect, useState } from \"react\";\nimport { useBanner } from \"../contexts\";\nimport { getOptionsFromWindow } from \"../utils\";\nimport { locationRestConsentGet } from \"../wp-api\";\nimport { commonRequest } from \"@devowl-wp/utils\";\n/**\n * Populate the banner depending on the active action. This handles the following things:\n *\n * - History\n * - Change\n * - Revoke\n */\n\nfunction useBannerActionType() {\n var banner = useBanner();\n var consent = banner.consent,\n groups = banner.groups,\n tcf = banner.tcf,\n activeAction = banner.activeAction,\n selectHistoryEntry = banner.selectHistoryEntry,\n setHistory = banner.setHistory; // Save the current consent and group settings to restore\n\n var _useState = useState({\n consent: consent,\n groups: groups,\n tcf: tcf\n }),\n _useState2 = _slicedToArray(_useState, 2),\n originalConsent = _useState2[0],\n setOriginalConsent = _useState2[1]; // Listen to consent changes and save it as original consent (only when non-history)\n\n\n useEffect(function () {\n if (!activeAction) {\n setOriginalConsent({\n consent: consent,\n groups: groups,\n tcf: tcf\n });\n }\n }, [consent, groups, tcf, activeAction]);\n useEffect(function () {\n function fetch() {\n return _fetch.apply(this, arguments);\n }\n\n function _fetch() {\n _fetch = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {\n var _getOptionsFromWindow, restNamespace, restRoot, restQuery, restNonce, result, _result, _result$, _groups2, decision, _tcf2;\n\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n _getOptionsFromWindow = getOptionsFromWindow(), restNamespace = _getOptionsFromWindow.restNamespace, restRoot = _getOptionsFromWindow.restRoot, restQuery = _getOptionsFromWindow.restQuery, restNonce = _getOptionsFromWindow.restNonce;\n _context.next = 3;\n return commonRequest({\n location: locationRestConsentGet,\n options: {\n restNamespace: restNamespace,\n restRoot: restRoot,\n restQuery: restQuery,\n restNonce: restNonce\n },\n sendRestNonce: false\n });\n\n case 3:\n result = _context.sent;\n setHistory(result); // Initially select first item\n\n if (result.length) {\n _result = _slicedToArray(result, 1), _result$ = _result[0], _groups2 = _result$.groups, decision = _result$.decision, _tcf2 = _result$.tcf;\n selectHistoryEntry(_groups2, decision, _tcf2);\n } else {\n selectHistoryEntry([], []);\n }\n\n case 6:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n return _fetch.apply(this, arguments);\n }\n\n if (activeAction === \"history\") {\n // Save state of original consent\n setOriginalConsent({\n consent: consent,\n groups: groups,\n tcf: tcf\n });\n fetch();\n } else {\n // If we close the history, restore the original state\n var _groups = originalConsent.groups,\n consentGroups = originalConsent.consent.groups,\n _tcf = originalConsent.tcf;\n selectHistoryEntry === null || selectHistoryEntry === void 0 ? void 0 : selectHistoryEntry(_groups, consentGroups, _tcf);\n }\n }, [activeAction]);\n}\n\nexport { useBannerActionType };","import { bannerInlineStylesScale } from \"..\";\n\nfunction bannerOverlayInlineStyleAlignment(_ref) {\n var _ref$layout = _ref.layout,\n type = _ref$layout.type,\n dialogPosition = _ref$layout.dialogPosition,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n var style = {\n display: \"flex\",\n width: \"100%\",\n height: \"100%\"\n };\n\n if (bannerInlineStylesScale(mobile, pageRequestUuid4, type, \"banner\") === \"dialog\") {\n style.alignItems = dialogPosition.startsWith(\"top\") ? \"flex-start\" : dialogPosition.startsWith(\"bottom\") ? \"flex-end\" : \"center\";\n style.justifyContent = dialogPosition.endsWith(\"Center\") ? \"center\" : dialogPosition.endsWith(\"Left\") ? \"flex-start\" : \"flex-end\";\n }\n\n return {\n className: \"wp-exclude-emoji \".concat(antiAdBlocker === \"y\" ? \"\" : \"rcb-align\"),\n style: style\n };\n}\n\nexport { bannerOverlayInlineStyleAlignment };","import { calculateOverlay } from \"../../../../utils\";\nimport { bannerInlineStylesScale } from \"..\";\n/**\n * This method needs to be ported to Banner.php#wp_footer, too!\n */\n\nfunction bannerOverlayInlineStyle(_ref) {\n var _ref$layout = _ref.layout,\n type = _ref$layout.type,\n overlay = _ref$layout.overlay,\n overlayBg = _ref$layout.overlayBg,\n overlayBgAlpha = _ref$layout.overlayBgAlpha,\n fontSize = _ref.design.fontSize,\n antiAdBlocker = _ref.customCss.antiAdBlocker,\n mobile = _ref.mobile,\n pageRequestUuid4 = _ref.pageRequestUuid4;\n return {\n className: antiAdBlocker === \"y\" ? undefined : \"rcb-bann3r rcb-bann3r-\".concat(bannerInlineStylesScale(mobile, pageRequestUuid4, type, \"banner\"), \" \").concat(overlay ? \"\" : \"overlay-deactivated\"),\n style: {\n background: overlay ? calculateOverlay(overlayBg, overlayBgAlpha) : \"none\",\n position: \"fixed\",\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n zIndex: 99999,\n pointerEvents: overlay ? \"all\" : \"none\",\n fontSize: bannerInlineStylesScale(mobile, pageRequestUuid4, +fontSize),\n filter: \"none\"\n }\n };\n}\n\nexport { bannerOverlayInlineStyle };","import _createForOfIteratorHelper from \"@babel/runtime/helpers/createForOfIteratorHelper\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { getOtherOptionsFromWindow } from \"../utils\";\n/**\n * Get the default decision and respect essential group and legitimate interests.\n */\n\nfunction getDefaultDecision() {\n var respectLegitimateInterests = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;\n\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n groups = _getOtherOptionsFromW.groups,\n essentialGroup = _getOtherOptionsFromW.essentialGroup;\n\n var _groups$filter = groups.filter(function (_ref) {\n var slug = _ref.slug;\n return slug === essentialGroup;\n }),\n _groups$filter2 = _slicedToArray(_groups$filter, 1),\n essentialGroupObj = _groups$filter2[0]; // We need always use the current essential group\n\n\n var result = _defineProperty({}, essentialGroupObj.id, essentialGroupObj.items.map(function (_ref2) {\n var id = _ref2.id;\n return id;\n }));\n\n if (respectLegitimateInterests) {\n var _iterator = _createForOfIteratorHelper(groups),\n _step;\n\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var group = _step.value;\n\n if (group === essentialGroupObj) {\n continue;\n }\n\n var ids = group.items.filter(function (_ref3) {\n var legalBasis = _ref3.legalBasis;\n return legalBasis === \"legitimate-interest\";\n }).map(function (_ref4) {\n var id = _ref4.id;\n return id;\n });\n\n if (ids.length) {\n result[group.id] = ids;\n }\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n }\n\n return result;\n}\n\nexport { getDefaultDecision };","import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { supportsCookies } from \"../../../utils\";\n\n/**\n * Does the current browser support cookies?\n */\nvar preDecisionGatewaySupportsCookies = /*#__PURE__*/function () {\n var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n return _context.abrupt(\"return\", supportsCookies() ? false : \"essentials\");\n\n case 1:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n\n return function preDecisionGatewaySupportsCookies() {\n return _ref.apply(this, arguments);\n };\n}();\n\nexport { preDecisionGatewaySupportsCookies };","import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\n\n/**\n * Do not show cookie banner for a certain page, e.g. the login page.\n */\nvar preDecisionGatewayHasPageClass = /*#__PURE__*/function () {\n var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {\n var className;\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n className = document.body.className;\n return _context.abrupt(\"return\", className.indexOf(\"login-action-\") > -1 ? \"consent\" : false);\n\n case 2:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n\n return function preDecisionGatewayHasPageClass() {\n return _ref.apply(this, arguments);\n };\n}();\n\nexport { preDecisionGatewayHasPageClass };","import isbot from \"isbot\";\n/**\n * Is the current browser a spider / crawler?\n */\n\nfunction isCrawler() {\n var _navigator = navigator,\n userAgent = _navigator.userAgent;\n\n if (userAgent) {\n // Lighthouse / Google PageSpeed isn't currently a bot (https://git.io/J3r5z)\n if (/chrome-lighthouse/i.test(userAgent)) {\n return false;\n }\n\n return isbot(userAgent);\n }\n\n return false;\n}\n\nexport { isCrawler };","/**\n * Let a `Promise` be rejected after a given amount of time.\n */\nfunction promiseTimeout(promise, ms) {\n return new Promise(function (resolve, reject) {\n promise.then(resolve, reject);\n var e = new Error(\"Timed out\");\n setTimeout(reject, ms, e);\n });\n}\n\nexport { promiseTimeout };","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestConsentDynamicPredecisionGet = {\n path: \"/consent/dynamic-predecision\",\n method: RouteHttpVerb.GET\n};","import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { getOptionsFromWindow, isCrawler, promiseTimeout } from \"../../../utils\";\nimport { getUserDecision } from \"../..\";\nimport { locationRestConsentDynamicPredecisionGet } from \"../../../wp-api\";\nimport { commonRequest } from \"@devowl-wp/utils\";\n/**\n * Dynamically allow to get a predecision with a extra request to our REST API.\n */\n\nvar preDecisionGatewayDynamicRequest = /*#__PURE__*/function () {\n var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {\n var _getOptionsFromWindow, restNamespace, restRoot, restQuery, restNonce, _getOptionsFromWindow2, revisionHash, hasDynamicPreDecisions, decision, revision, _document$documentEle, clientWidth, clientHeight, _yield$promiseTimeout, predecision;\n\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n _getOptionsFromWindow = getOptionsFromWindow(), restNamespace = _getOptionsFromWindow.restNamespace, restRoot = _getOptionsFromWindow.restRoot, restQuery = _getOptionsFromWindow.restQuery, restNonce = _getOptionsFromWindow.restNonce, _getOptionsFromWindow2 = _getOptionsFromWindow.others, revisionHash = _getOptionsFromWindow2.revisionHash, hasDynamicPreDecisions = _getOptionsFromWindow2.hasDynamicPreDecisions;\n\n if (!(isCrawler() || !hasDynamicPreDecisions)) {\n _context.next = 3;\n break;\n }\n\n return _context.abrupt(\"return\", false);\n\n case 3:\n // Check if revision has changed, and probably access our dynamic predecision again\n decision = getUserDecision();\n\n if (!decision) {\n _context.next = 8;\n break;\n }\n\n revision = decision.revision;\n\n if (!(revisionHash === revision)) {\n _context.next = 8;\n break;\n }\n\n return _context.abrupt(\"return\", \"consent\");\n\n case 8:\n _document$documentEle = document.documentElement, clientWidth = _document$documentEle.clientWidth, clientHeight = _document$documentEle.clientHeight;\n _context.prev = 9;\n _context.next = 12;\n return promiseTimeout(commonRequest({\n location: locationRestConsentDynamicPredecisionGet,\n options: {\n restNamespace: restNamespace,\n restRoot: restRoot,\n restQuery: restQuery,\n restNonce: restNonce\n },\n sendRestNonce: false,\n request: {\n viewPortWidth: clientWidth,\n viewPortHeight: clientHeight\n },\n params: {\n _wp_http_referer: window.location.href\n }\n }), 10000);\n\n case 12:\n _yield$promiseTimeout = _context.sent;\n predecision = _yield$promiseTimeout.predecision;\n return _context.abrupt(\"return\", predecision);\n\n case 17:\n _context.prev = 17;\n _context.t0 = _context[\"catch\"](9);\n return _context.abrupt(\"return\", false);\n\n case 20:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, null, [[9, 17]]);\n }));\n\n return function preDecisionGatewayDynamicRequest() {\n return _ref.apply(this, arguments);\n };\n}();\n\nexport { preDecisionGatewayDynamicRequest };","import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { isHiddenDueLegal } from \"..\";\n/**\n * Is the page currently a legal site?\n */\n\nvar preDecisionGatewayIsHiddenDueLegal = /*#__PURE__*/function () {\n var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(banner) {\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n return _context.abrupt(\"return\", isHiddenDueLegal(banner) ? \"consent\" : false);\n\n case 1:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n\n return function preDecisionGatewayIsHiddenDueLegal(_x) {\n return _ref.apply(this, arguments);\n };\n}();\n\nexport { preDecisionGatewayIsHiddenDueLegal };","import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { getOtherOptionsFromWindow, isCrawler } from \"../../../utils\";\nimport { getUserDecision } from \"../../getUserDecision\";\n/**\n * When the server decides to not predecision anything e. g. due to\n * legal settings (privacy policy, imprint, hide on additional pages) or\n * the login page.\n */\n\nvar preDecisionGatewayIsPreventPreDecision = /*#__PURE__*/function () {\n var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {\n var other, userDecision;\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n other = getOtherOptionsFromWindow();\n userDecision = getUserDecision();\n return _context.abrupt(\"return\", other.isPreventPreDecision && userDecision === false ? isCrawler() ? // For crawlers we need to explictely allow cookies on all pages\n \"all\" : \"consent\" : false);\n\n case 3:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n\n return function preDecisionGatewayIsPreventPreDecision() {\n return _ref.apply(this, arguments);\n };\n}();\n\nexport { preDecisionGatewayIsPreventPreDecision };","import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { getOtherOptionsFromWindow, isCrawler } from \"../../../utils\";\nimport { getUserDecision } from \"../..\";\n/**\n * Is the current request from a spider / crawler?\n */\n\nvar preDecisionGatewayIsCrawler = /*#__PURE__*/function () {\n var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {\n var _getOtherOptionsFromW, isAcceptAllForBots;\n\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n _getOtherOptionsFromW = getOtherOptionsFromWindow(), isAcceptAllForBots = _getOtherOptionsFromW.isAcceptAllForBots;\n\n if (!(getUserDecision() !== false || !isAcceptAllForBots)) {\n _context.next = 3;\n break;\n }\n\n return _context.abrupt(\"return\", false);\n\n case 3:\n return _context.abrupt(\"return\", isCrawler() ? \"all\" : false);\n\n case 4:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n\n return function preDecisionGatewayIsCrawler() {\n return _ref.apply(this, arguments);\n };\n}();\n\nexport { preDecisionGatewayIsCrawler };","/**\n * Checks if the given browser is requesting \"Do Not Track\" header.\n *\n * @see https://dev.to/corbindavenport/how-to-correctly-check-for-do-not-track-with-javascript-135d\n */\nfunction isDoNotTrack() {\n try {\n var w = window;\n\n if (w.doNotTrack || w.navigator.doNotTrack || w.navigator.msDoNotTrack || \"msTrackingProtectionEnabled\" in w.external) {\n // The browser supports Do Not Track!\n if (w.doNotTrack == \"1\" || w.navigator.doNotTrack == \"yes\" || w.navigator.doNotTrack == \"1\" || w.navigator.msDoNotTrack == \"1\" || w.external.msTrackingProtectionEnabled()) {\n return true;\n }\n }\n } catch (e) {// Silence is golden.\n }\n\n return false;\n}\n\nexport { isDoNotTrack };","import _createForOfIteratorHelper from \"@babel/runtime/helpers/createForOfIteratorHelper\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { isDoNotTrack, getOtherOptionsFromWindow } from \"../../../utils\";\nimport { getUserDecision } from \"../../getUserDecision\";\n/**\n * When the user has \"Do not track\" enabled and is allowed to use, let's\n * automatically save the dialog without any action.\n */\n\nvar preDecisionGatewayIsDoNotTrack = /*#__PURE__*/function () {\n var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {\n var _getOtherOptionsFromW, isRespectDoNotTrack, groups, essentialGroup, _groups$filter, _groups$filter2, essentialGroupObj, _iterator, _step, group, _iterator2, _step2, item;\n\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n _getOtherOptionsFromW = getOtherOptionsFromWindow(), isRespectDoNotTrack = _getOtherOptionsFromW.isRespectDoNotTrack, groups = _getOtherOptionsFromW.groups, essentialGroup = _getOtherOptionsFromW.essentialGroup;\n _groups$filter = groups.filter(function (_ref2) {\n var slug = _ref2.slug;\n return slug === essentialGroup;\n }), _groups$filter2 = _slicedToArray(_groups$filter, 1), essentialGroupObj = _groups$filter2[0];\n\n if (!(getUserDecision() !== false || !isRespectDoNotTrack)) {\n _context.next = 4;\n break;\n }\n\n return _context.abrupt(\"return\", false);\n\n case 4:\n // As soon we have a legitimate interest, we need to show the cookie banner\n _iterator = _createForOfIteratorHelper(groups);\n _context.prev = 5;\n\n _iterator.s();\n\n case 7:\n if ((_step = _iterator.n()).done) {\n _context.next = 29;\n break;\n }\n\n group = _step.value;\n\n if (!(group !== essentialGroupObj)) {\n _context.next = 27;\n break;\n }\n\n _iterator2 = _createForOfIteratorHelper(group.items);\n _context.prev = 11;\n\n _iterator2.s();\n\n case 13:\n if ((_step2 = _iterator2.n()).done) {\n _context.next = 19;\n break;\n }\n\n item = _step2.value;\n\n if (!(item.legalBasis === \"legitimate-interest\")) {\n _context.next = 17;\n break;\n }\n\n return _context.abrupt(\"return\", false);\n\n case 17:\n _context.next = 13;\n break;\n\n case 19:\n _context.next = 24;\n break;\n\n case 21:\n _context.prev = 21;\n _context.t0 = _context[\"catch\"](11);\n\n _iterator2.e(_context.t0);\n\n case 24:\n _context.prev = 24;\n\n _iterator2.f();\n\n return _context.finish(24);\n\n case 27:\n _context.next = 7;\n break;\n\n case 29:\n _context.next = 34;\n break;\n\n case 31:\n _context.prev = 31;\n _context.t1 = _context[\"catch\"](5);\n\n _iterator.e(_context.t1);\n\n case 34:\n _context.prev = 34;\n\n _iterator.f();\n\n return _context.finish(34);\n\n case 37:\n return _context.abrupt(\"return\", isDoNotTrack() ? \"dnt\" : false);\n\n case 38:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, null, [[5, 31, 34, 37], [11, 21, 24, 27]]);\n }));\n\n return function preDecisionGatewayIsDoNotTrack() {\n return _ref.apply(this, arguments);\n };\n}();\n\nexport { preDecisionGatewayIsDoNotTrack };","import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { getOtherOptionsFromWindow } from \"../../../utils\";\nimport { getUserDecision } from \"../../getUserDecision\";\n/**\n * Has the user already consent to the latest revision settings?\n */\n\nvar preDecisionGatewayUserConsent = /*#__PURE__*/function () {\n var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {\n var decision, revision, _getOtherOptionsFromW, revisionHash;\n\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n decision = getUserDecision();\n\n if (!(decision === false)) {\n _context.next = 3;\n break;\n }\n\n return _context.abrupt(\"return\", false);\n\n case 3:\n revision = decision.revision;\n _getOtherOptionsFromW = getOtherOptionsFromWindow(), revisionHash = _getOtherOptionsFromW.revisionHash;\n return _context.abrupt(\"return\", revisionHash === revision ? \"consent\" : false);\n\n case 6:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n\n return function preDecisionGatewayUserConsent() {\n return _ref.apply(this, arguments);\n };\n}();\n\nexport { preDecisionGatewayUserConsent };","import _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { useEffect } from \"react\";\nimport { useState } from \"react\";\nimport { Banner } from \"./banner\";\nimport { getOtherOptionsFromWindow } from \"../utils\";\nimport { BannerContextFactory } from \"../contexts\";\nimport { useWebsiteBannerOverlay, useBannerActions, useBannerPreDecisionGateway, useTcf } from \"../hooks\";\nimport { applyConsent, getUserDecision, getDefaultDecision } from \"../others\";\nimport { prepareTcfString, restoreTcf } from \"../tcf\";\nimport { OPT_IN_ALL_EVENT } from \"../types\";\n/**\n * Simply connects a context store to the banner itself. On the website itself\n * it should not rely\n */\n\nvar WebsiteBanner = function WebsiteBanner(_ref) {\n var poweredLink = _ref.poweredLink;\n var userDecision = getUserDecision();\n\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n _getOtherOptionsFromW2 = _getOtherOptionsFromW.customizeValuesBanner,\n layout = _getOtherOptionsFromW2.layout,\n decision = _getOtherOptionsFromW2.decision,\n legal = _getOtherOptionsFromW2.legal,\n design = _getOtherOptionsFromW2.design,\n headerDesign = _getOtherOptionsFromW2.headerDesign,\n bodyDesign = _getOtherOptionsFromW2.bodyDesign,\n footerDesign = _getOtherOptionsFromW2.footerDesign,\n texts = _getOtherOptionsFromW2.texts,\n individualLayout = _getOtherOptionsFromW2.individualLayout,\n saveButton = _getOtherOptionsFromW2.saveButton,\n group = _getOtherOptionsFromW2.group,\n individualTexts = _getOtherOptionsFromW2.individualTexts,\n customCss = _getOtherOptionsFromW2.customCss,\n mobile = _getOtherOptionsFromW2.mobile,\n pageId = _getOtherOptionsFromW.pageId,\n pageRequestUuid4 = _getOtherOptionsFromW.pageRequestUuid4,\n pageIdToPermalink = _getOtherOptionsFromW.pageIdToPermalink,\n consentForwardingExternalHosts = _getOtherOptionsFromW.consentForwardingExternalHosts,\n essentialGroup = _getOtherOptionsFromW.essentialGroup,\n isTcf = _getOtherOptionsFromW.isTcf,\n isEPrivacyUSA = _getOtherOptionsFromW.isEPrivacyUSA,\n isAgeNotice = _getOtherOptionsFromW.isAgeNotice,\n tcf = _getOtherOptionsFromW.tcf,\n tcfMetadata = _getOtherOptionsFromW.tcfMetadata,\n groups = _getOtherOptionsFromW.groups,\n isRefreshSiteAfterConsent = _getOtherOptionsFromW.isRefreshSiteAfterConsent; // TCF compatibility\n\n\n var tcfObject = useTcf(isTcf, tcf, tcfMetadata); // Server-side rendered overlay handler\n\n var _useWebsiteBannerOver = useWebsiteBannerOverlay(),\n toggleOverlay = _useWebsiteBannerOver.toggleOverlay; // Context values preparation\n\n\n var _useState = useState({\n layout: _objectSpread({}, layout),\n decision: _objectSpread({}, decision),\n legal: _objectSpread({}, legal),\n design: _objectSpread({}, design),\n headerDesign: _objectSpread({}, headerDesign),\n bodyDesign: _objectSpread({}, bodyDesign),\n footerDesign: _objectSpread({}, footerDesign),\n texts: _objectSpread({}, texts),\n individualLayout: _objectSpread({}, individualLayout),\n saveButton: _objectSpread({}, saveButton),\n group: _objectSpread({}, group),\n individualTexts: _objectSpread({}, individualTexts),\n customCss: _objectSpread({}, customCss),\n mobile: _objectSpread({}, mobile),\n pageRequestUuid4: pageRequestUuid4,\n pageIdToPermalink: pageIdToPermalink,\n consentForwardingExternalHosts: consentForwardingExternalHosts,\n pageId: pageId,\n isTcf: isTcf,\n ePrivacyUSA: isEPrivacyUSA,\n ageNotice: isAgeNotice,\n tcf: tcfObject,\n tcfFilterBy: \"legInt\",\n updateTcfFilterBy: function updateTcfFilterBy(newFilter) {\n setContextValue(function (state) {\n return _objectSpread(_objectSpread({}, state), {}, {\n tcfFilterBy: newFilter\n });\n });\n },\n groups: groups,\n essentialGroup: essentialGroup,\n poweredLink: poweredLink,\n visible: false,\n animationVisible: true,\n skipOverlay: true,\n previewCheckboxActiveState: false,\n individualPrivacyOpen: false,\n updateIndividualPrivacyOpen: function updateIndividualPrivacyOpen(opened) {\n setContextValue(function (state) {\n return _objectSpread(_objectSpread({}, state), {}, {\n individualPrivacyOpen: opened\n });\n });\n },\n consent: {\n groups: _objectSpread(_objectSpread({}, userDecision === false ? {} : userDecision.consent), getDefaultDecision(userDecision === false))\n },\n didGroupFirstChange: false,\n updateGroupChecked: function updateGroupChecked(id, checked) {\n setContextValue(function (state) {\n var newConsent = JSON.parse(JSON.stringify(state.consent));\n\n if (checked) {\n newConsent.groups[id] = state.groups.filter(function (group) {\n return group.id === id;\n })[0].items.map(function (_ref2) {\n var id = _ref2.id;\n return id;\n });\n } else {\n delete newConsent.groups[id];\n }\n\n return _objectSpread(_objectSpread({}, state), {}, {\n consent: newConsent,\n didGroupFirstChange: true\n });\n });\n },\n updateCookieChecked: function updateCookieChecked(groupId, id, checked) {\n setContextValue(function (state) {\n var newConsent = JSON.parse(JSON.stringify(state.consent)); // Initially create \"selected\" cookies\n\n // Initially create \"selected\" cookies\n if (!newConsent.groups[groupId]) {\n newConsent.groups[groupId] = [];\n }\n\n var cookieIds = newConsent.groups[groupId];\n var indexOf = cookieIds.indexOf(id);\n\n if (checked && indexOf === -1) {\n cookieIds.push(id);\n } else if (!checked && indexOf > -1) {\n cookieIds.splice(indexOf, 1);\n } // Delete group entirely when no cookies selected\n\n\n // Delete group entirely when no cookies selected\n if (!cookieIds.length) {\n delete newConsent.groups[groupId];\n }\n\n return _objectSpread(_objectSpread({}, state), {}, {\n consent: newConsent\n });\n });\n },\n onSave: function onSave(markAsDoNotTrack, buttonClicked) {\n setContextValue(function (state) {\n var _state$tcf;\n\n // TCF compatibility: persist TCF string\n var tcfString;\n\n if (process.env.IS_TCF === \"1\" && isTcf && (_state$tcf = state.tcf) !== null && _state$tcf !== void 0 && _state$tcf.model) {\n tcfString = prepareTcfString(state.tcf.model, buttonClicked);\n }\n\n var appliedConsent = applyConsent({\n consent: state.consent,\n markAsDoNotTrack: markAsDoNotTrack,\n buttonClicked: buttonClicked,\n tcfString: tcfString\n });\n\n if (isRefreshSiteAfterConsent || state.refreshSiteAfterSave) {\n appliedConsent.then(function () {\n return (// Fix iOS / Safari bug when we want to reload the page after a POST request\n setTimeout(function () {\n return window.location.reload();\n }, state.refreshSiteAfterSave ||\n /* BC */\n 2000)\n );\n }); // When refreshing the site, do not show any out animation\n\n // When refreshing the site, do not show any out animation\n return state;\n } else {\n return _objectSpread(_objectSpread({}, state), toggleOverlay(state, false));\n }\n });\n },\n onClose: function onClose() {\n setContextValue(function (state) {\n return _objectSpread(_objectSpread(_objectSpread({}, state), toggleOverlay(state, false)), {}, {\n // This should be set always by you again as it is one-time\n refreshSiteAfterSave: false\n });\n });\n },\n setHistory: function setHistory(history) {\n setContextValue(function (state) {\n return _objectSpread(_objectSpread({}, state), {}, {\n history: history\n });\n });\n },\n selectHistoryEntry: function selectHistoryEntry(groups, consentGroups, tcf) {\n setContextValue(function (state) {\n var additionalChanges = {\n // In case we previously used non-TCF functionality, do not show the TCF banner\n isTcf: !!tcf,\n tcf: null\n };\n\n if (process.env.IS_TCF === \"1\" && tcf) {\n Object.assign(additionalChanges, {\n tcf: \"gvl\" in tcf ? tcf : restoreTcf(tcf)\n });\n }\n\n return _objectSpread(_objectSpread({}, state), {}, {\n groups: groups,\n consent: _objectSpread(_objectSpread({}, state.consent), {}, {\n groups: consentGroups\n })\n }, additionalChanges);\n });\n }\n }),\n _useState2 = _slicedToArray(_useState, 2),\n contextValue = _useState2[0],\n setContextValue = _useState2[1]; // Directly modify the context value as the actions are memorized and should not trigger a rerendering\n\n\n useBannerActions(setContextValue, toggleOverlay);\n useBannerPreDecisionGateway(contextValue, setContextValue, toggleOverlay); // Listen to consent adjustments\n\n useEffect(function () {\n var listener = function listener() {\n var consent = getUserDecision();\n consent && setContextValue(function (state) {\n return _objectSpread(_objectSpread({}, state), {}, {\n consent: {\n groups: consent.consent\n }\n });\n });\n };\n\n document.addEventListener(OPT_IN_ALL_EVENT, listener);\n return function () {\n document.removeEventListener(OPT_IN_ALL_EVENT, listener);\n };\n }, []);\n var BannerContext = BannerContextFactory.Context();\n return h(BannerContext.Provider, {\n value: contextValue\n }, h(Banner, null));\n};\n\nexport { WebsiteBanner };","import { useMemo } from \"react\";\nimport { applyModelMetadata, applyRestrictivePurposes, prepareTcfString, restoreTcf, getCurrentTcfStringFromCookie } from \"../tcf\";\n\n/**\n * Merges the localized `tcf` and `tcfMetadata` together so it can be\n * used inside our `BannerContextProps` and returns a valid `GVL` instance.\n */\nfunction useTcf(active, tcf, tcfMeta) {\n return useMemo(function () {\n if (process.env.IS_TCF === \"1\" && active && Object.values(tcf.vendors).length > 0) {\n var gvl;\n var model;\n var restored = getCurrentTcfStringFromCookie(tcf, tcfMeta); // First, try to resolve from user consent (cookie value)\n\n if (restored) {\n gvl = restored.gvl;\n model = restored.model;\n } else {\n // No consent given, let's create an empty model\n var newTcf = restoreTcf({\n tcf: tcf,\n tcfMeta: tcfMeta,\n tcfString: \"\"\n });\n gvl = newTcf.gvl;\n model = newTcf.model;\n }\n\n applyModelMetadata(model, tcfMeta);\n applyRestrictivePurposes(model, tcf.vendorConfigurations);\n\n if (!restored) {\n prepareTcfString(model, \"initial\");\n }\n\n return {\n gvl: gvl,\n model: model,\n original: tcf,\n metadata: tcfMeta\n };\n } else {\n return undefined;\n }\n }, [active, tcf, tcfMeta]);\n}\n\nexport { useTcf };","import _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport { getOtherOptionsFromWindow } from \"../utils\";\nimport { useCallback } from \"react\";\nimport { useBannerAnimation } from \".\";\n\nfunction useWebsiteBannerOverlay() {\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n pageRequestUuid4 = _getOtherOptionsFromW.pageRequestUuid4;\n\n var overlay = document.getElementById(pageRequestUuid4);\n var useBannerAnimationCallback = useBannerAnimation();\n var toggleOverlay = useCallback(function (_ref, show) {\n var layout = _ref.layout;\n var animationInDuration = layout.animationInDuration,\n animationOutDuration = layout.animationOutDuration;\n\n var _useBannerAnimationCa = useBannerAnimationCallback(layout),\n useAnimationIn = _useBannerAnimationCa.useAnimationIn,\n useAnimationOut = _useBannerAnimationCa.useAnimationOut;\n\n var defaultIfNoAnimation = 0; // Avoid \"hard\" overlay\n\n var useDuration = show ? useAnimationIn === \"none\" ? defaultIfNoAnimation : animationInDuration : useAnimationOut === \"none\" ? defaultIfNoAnimation : animationOutDuration; // Toggle SSR-rendered overlay\n\n useDuration > 0 && (overlay.style.transition = \"background \".concat(useDuration, \"ms\"));\n overlay.style.background = \"transparent\";\n\n if (show) {\n // We need a small delay to avoid flickering of animation out effect in customizer\n setTimeout(function () {\n overlay.style.display = \"block\";\n }, 0);\n setTimeout(function () {\n var bg = overlay.getAttribute(\"data-bg\");\n overlay.style.background = bg ? bg.split(\":\")[1].trim().replace(\";\", \"\") : \"transparent\";\n }, 100);\n } else {\n setTimeout(function () {\n overlay.style.display = \"none\";\n }, useDuration);\n }\n\n var animationVisible = {\n animationVisible: show\n };\n return show ? _objectSpread({\n visible: true\n }, animationVisible) : animationVisible;\n }, [useBannerAnimationCallback]);\n return {\n overlay: overlay,\n toggleOverlay: toggleOverlay\n };\n}\n\nexport { useWebsiteBannerOverlay };","import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { useMemo } from \"react\";\nimport { applyConsent, getDefaultDecision } from \"../others\";\nimport { prepareTcfString } from \"../tcf\";\n/**\n * Create actions for a passed context. If you want to use the actions, do not use\n * this hook directly, instead pass the result of this hook to your context and use\n * it with `useBanner`.\n */\n\nfunction useBannerActions(setContextValue, toggleOverlay) {\n return useMemo(function () {\n var toggleWithActiveAction = function toggleWithActiveAction(type) {\n return setContextValue(function (state) {\n return _objectSpread(_objectSpread({}, state), {}, {\n activeAction: type,\n individualPrivacyOpen: true,\n refreshSiteAfterSave: type === \"change\" ? 2000 : false\n }, toggleOverlay(state, true));\n });\n };\n\n var cancelEvent = function cancelEvent(e) {\n if (!e) {\n return;\n }\n\n e.preventDefault(); // Some themes (e.g. AKEA) do have listeners on each link separately and do a custom redirect\n\n e.stopPropagation();\n };\n\n var actions = {\n openHistory: function openHistory(e) {\n toggleWithActiveAction(\"history\");\n cancelEvent(e);\n },\n openBanner: function openBanner(e) {\n toggleWithActiveAction(\"change\");\n cancelEvent(e);\n },\n revokeConsent: function revokeConsent(successMessage, e) {\n setContextValue(function (state) {\n var tcf = state.tcf;\n\n _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {\n var buttonClicked, tcfString;\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n // Do not rely on current state of `groups` because it can be altered through history change\n buttonClicked = \"shortcode_revoke\"; // TCF compatibility: revoke TCF string\n\n if (process.env.IS_TCF === \"1\" && tcf !== null && tcf !== void 0 && tcf.model) {\n tcfString = prepareTcfString(tcf.model, buttonClicked);\n }\n\n _context.next = 4;\n return applyConsent({\n consent: {\n groups: getDefaultDecision(true)\n },\n buttonClicked: buttonClicked,\n tcfString: tcfString\n });\n\n case 4:\n successMessage && alert(successMessage); // Always reload (always wait 2s to ensure opt-out scripts are exeucted)\n // Fix iOS / Safari bug when we want to reload the page after a POST request\n\n setTimeout(function () {\n return window.location.reload();\n }, 2000);\n\n case 6:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }))(); // Do not change anything\n\n\n return state;\n });\n cancelEvent(e);\n }\n }; // Make the actions available in our context\n\n setContextValue(function (state) {\n return _objectSpread(_objectSpread({}, state), actions);\n });\n }, [setContextValue, toggleOverlay]);\n}\n\nexport { useBannerActions };","import _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { useEffect } from \"react\";\nimport { isCustomize, ready } from \"../utils\";\nimport { preDecisionGatewaySupportsCookies, preDecisionGatewayHasPageClass, preDecisionGatewayIsHiddenDueLegal, preDecisionGatewayIsPreventPreDecision, preDecisionGatewayIsDoNotTrack, preDecisionGatewayUserConsent, preDecisionGatewayIsCrawler, preDecisionGatewayDynamicRequest, applyCookies, getDefaultDecision } from \"../others\";\nimport { BANNER_PRE_DECISION_SHOW_EVENT } from \"../types\";\n\n/**\n * Do some decision gateways like DNT, Bot / Crawler and Decision and depending\n * on that, show the Banner initially.\n */\nfunction useBannerPreDecisionGateway(banner, setContextValue, toggleOverlay) {\n // Only run this predecision mechanism once and when not in customize\n !isCustomize() && useEffect(function () {\n _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {\n var onSave, gateways, show, _i, _gateways, gateway, result;\n\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n onSave = banner.onSave;\n gateways = [preDecisionGatewaySupportsCookies, preDecisionGatewayHasPageClass, preDecisionGatewayDynamicRequest, preDecisionGatewayIsHiddenDueLegal, preDecisionGatewayIsPreventPreDecision, preDecisionGatewayIsCrawler, preDecisionGatewayIsDoNotTrack, preDecisionGatewayUserConsent];\n show = true;\n _i = 0, _gateways = gateways;\n\n case 4:\n if (!(_i < _gateways.length)) {\n _context.next = 16;\n break;\n }\n\n gateway = _gateways[_i];\n _context.next = 8;\n return gateway(banner);\n\n case 8:\n result = _context.sent;\n\n if (!(result !== false)) {\n _context.next = 13;\n break;\n }\n\n show = false;\n\n if (result === \"all\") {\n applyCookies(\"all\");\n } else if (result === \"essentials\") {\n applyCookies(\"essentials\");\n } else if (result === \"dnt\") {\n // Accept only essentials (save because they are always preselected when no decision given and we need to hold this decision in API)\n onSave(gateway === preDecisionGatewayIsDoNotTrack, \"none\");\n } else if (result === \"consent\") {\n // Apply cookies for the current user decision\n applyCookies(\"consent\");\n }\n\n return _context.abrupt(\"break\", 16);\n\n case 13:\n _i++;\n _context.next = 4;\n break;\n\n case 16:\n if (!show) {\n _context.next = 21;\n break;\n }\n\n setContextValue(function (state) {\n return _objectSpread(_objectSpread({}, state), {}, {\n // Always revert back to \"Essentials\" only consent when cookie needs to be consented\n consent: {\n groups: getDefaultDecision()\n }\n }, toggleOverlay(state, true));\n }); // Wait all events are initialized\n\n _context.next = 20;\n return ready();\n\n case 20:\n // All content blockers should be made visible\n document.dispatchEvent(new CustomEvent(BANNER_PRE_DECISION_SHOW_EVENT, {\n detail: {}\n }));\n\n case 21:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }))();\n }, []);\n}\n\nexport { useBannerPreDecisionGateway };","import { getOtherOptionsFromWindow } from \"./getOtherOptionsFromWindow\";\n/**\n * Checks if the current page is customize page.\n */\n\nfunction isCustomize() {\n return !!getOtherOptionsFromWindow().customizeIdsBanner;\n}\n\nexport { isCustomize };","import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\n\n/**\n * Wait for a given object which is calculated through a callback.\n */\nfunction waitObject(_x) {\n return _waitObject.apply(this, arguments);\n}\n\nfunction _waitObject() {\n _waitObject = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(getObject) {\n var delayNextCheck,\n maxTries,\n i,\n _args = arguments;\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n delayNextCheck = _args.length > 1 && _args[1] !== undefined ? _args[1] : 500;\n maxTries = _args.length > 2 && _args[2] !== undefined ? _args[2] : 0;\n i = 0;\n\n case 3:\n if (getObject()) {\n _context.next = 11;\n break;\n }\n\n if (!(maxTries > 0 && i >= maxTries)) {\n _context.next = 6;\n break;\n }\n\n return _context.abrupt(\"return\", undefined);\n\n case 6:\n _context.next = 8;\n return new Promise(function (r) {\n return setTimeout(r, delayNextCheck);\n });\n\n case 8:\n i++;\n _context.next = 3;\n break;\n\n case 11:\n return _context.abrupt(\"return\", getObject());\n\n case 12:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n return _waitObject.apply(this, arguments);\n}\n\nexport { waitObject };","import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { putHtmlCodeToDom, OPT_IN_CONTENT_BLOCKER } from \"@devowl-wp/headless-content-unblocker\";\nimport { OPT_IN_EVENT } from \"../../types\";\nimport { waitObject } from \"../../utils\";\nvar amazonWidgetsSlotNum = 0;\n/**\n * Some presets have custom opt-in coding, e. g. Amazon Widgets.\n */\n\nfunction listenPresetOptIn() {\n document.addEventListener(OPT_IN_EVENT, /*#__PURE__*/function () {\n var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(_ref) {\n var _ref$detail$cookie, presetId, codeOptIn, codeDynamics, _ref3, amznAssoWidgetHtmlId, element, slotNum, adContainer;\n\n return _regeneratorRuntime.wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n _ref$detail$cookie = _ref.detail.cookie, presetId = _ref$detail$cookie.presetId, codeOptIn = _ref$detail$cookie.codeOptIn, codeDynamics = _ref$detail$cookie.codeDynamics;\n _context2.t0 = presetId;\n _context2.next = _context2.t0 === \"amazon-associates-widget\" ? 4 : _context2.t0 === \"google-maps\" ? 16 : 18;\n break;\n\n case 4:\n _ref3 = codeDynamics || {}, amznAssoWidgetHtmlId = _ref3.amznAssoWidgetHtmlId;\n\n if (!amznAssoWidgetHtmlId) {\n _context2.next = 15;\n break;\n }\n\n element = document.getElementById(amznAssoWidgetHtmlId);\n\n if (!element) {\n _context2.next = 15;\n break;\n }\n\n slotNum = amazonWidgetsSlotNum;\n amazonWidgetsSlotNum++;\n putHtmlCodeToDom(codeOptIn, codeDynamics, element); // Amazon Widgets is using `document.write`, we need to manually move the ad container...\n\n _context2.next = 13;\n return waitObject(function () {\n return document.querySelector(\"[id^=\\\"amzn_assoc_ad_div_\\\"][id$=\\\"\".concat(slotNum, \"\\\"]\"));\n }, 500, 50);\n\n case 13:\n adContainer = _context2.sent;\n\n if (adContainer) {\n element.appendChild(adContainer);\n }\n\n case 15:\n return _context2.abrupt(\"break\", 19);\n\n case 16:\n document.addEventListener(OPT_IN_CONTENT_BLOCKER, /*#__PURE__*/function () {\n var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(_ref4) {\n var element, _ref6, et_pb_map_init, jQuery;\n\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n element = _ref4.detail.element;\n _ref6 = window, et_pb_map_init = _ref6.et_pb_map_init, jQuery = _ref6.jQuery;\n\n if (!(jQuery && element.matches(\".et_pb_map\") && et_pb_map_init)) {\n _context.next = 6;\n break;\n }\n\n _context.next = 5;\n return waitObject(function () {\n return window.google;\n });\n\n case 5:\n et_pb_map_init(jQuery(element).parent());\n\n case 6:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n\n return function (_x2) {\n return _ref5.apply(this, arguments);\n };\n }());\n return _context2.abrupt(\"break\", 19);\n\n case 18:\n return _context2.abrupt(\"break\", 19);\n\n case 19:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2);\n }));\n\n return function (_x) {\n return _ref2.apply(this, arguments);\n };\n }());\n}\n\nexport { listenPresetOptIn };","import _createForOfIteratorHelper from \"@babel/runtime/helpers/createForOfIteratorHelper\";\nimport { getOtherOptionsFromWindow, createRegxpPatternFromWildcardedName } from \"../utils\";\nimport { getUserDecision } from \"../others\";\n/**\n * Synchronously check if a consent is given. See `window.consentApi.consent` for more documentation.\n */\n\nfunction consentSync(typeOrId, name,\n/**\n * This can also be `*` to allow all hosts.\n */\nhost) {\n // Find matching cookie\n var found = [];\n\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n groups = _getOtherOptionsFromW.groups,\n revisionHash = _getOtherOptionsFromW.revisionHash;\n\n var allCookies = groups.map(function (_ref) {\n var items = _ref.items;\n return items;\n }).flat();\n\n var _iterator = _createForOfIteratorHelper(allCookies),\n _step;\n\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var row = _step.value;\n\n if (typeof typeOrId === \"number\") {\n if (row.id === typeOrId) {\n found.push({\n cookie: row,\n relevance: 10\n });\n }\n } else {\n var technicalDefinitions = row.technicalDefinitions;\n\n if (technicalDefinitions !== null && technicalDefinitions !== void 0 && technicalDefinitions.length) {\n // Check if technical information matches\n var _iterator2 = _createForOfIteratorHelper(technicalDefinitions),\n _step2;\n\n try {\n for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {\n var td = _step2.value;\n var regexp = createRegxpPatternFromWildcardedName(td.name);\n\n if (td.type === typeOrId && (td.name === name || name.match(regexp)) && (td.host === host || host === \"*\")) {\n found.push({\n cookie: row,\n // Create a priority by \"relevance\" inside the technical definitions\n // This is the case if e.g. another Cookie consumes the same technical cookie\n // Example: Vimeo uses Facebook Pixel, too\n relevance: technicalDefinitions.length + technicalDefinitions.indexOf(td) + 1\n });\n break;\n }\n }\n } catch (err) {\n _iterator2.e(err);\n } finally {\n _iterator2.f();\n }\n }\n }\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n\n var already = getUserDecision();\n\n if (found.length) {\n var relevantCookie = found.sort(function (_ref2, _ref3) {\n var a = _ref2.relevance;\n var b = _ref3.relevance;\n return a - b;\n })[0].cookie; // Check if consent is already given\n\n if (already && revisionHash === already.revision) {\n var consentCookieIds = Object.values(already.consent).flat();\n\n if (consentCookieIds.indexOf(relevantCookie.id) > -1) {\n return {\n cookie: relevantCookie,\n consentGiven: true,\n cookieOptIn: true\n };\n } else {\n return {\n cookie: relevantCookie,\n consentGiven: true,\n cookieOptIn: false\n };\n }\n } else {\n return {\n cookie: relevantCookie,\n consentGiven: false,\n cookieOptIn: false\n };\n }\n } else {\n return {\n cookie: null,\n consentGiven: !!already,\n cookieOptIn: true\n };\n }\n}\n\nexport { consentSync };","import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { OPT_IN_EVENT, OPT_OUT_EVENT } from \"../types\";\nimport { consentSync } from \".\";\n/**\n * `window.consentApi.consent`: Check if a given technical information (e.g. HTTP Cookie, LocalStorage, ...) has a consent:\n *\n * - When a technical information exists in defined cookies, the Promise is only resolved after given consent\n * - When no technical information exists, the Promise is immediate resolved\n *\n * Example (ES5):\n * ```js\n * (window.consentApi && window.consentApi.consent(\"http\", \"_twitter_sess\", \".twitter.com\") || Promise.resolve()).then(function() {\n * console.log(\"Consent for Twitter embed given, do something...!\");\n * });\n * ```\n *\n * Example (ES6, Babel, TS):\n * ```js\n * (window.consentApi?.consent(\"http\", \"_twitter_sess\", \".twitter.com\") || Promise.resolve()).then(() => {\n * console.log(\"Consent for Twitter embed given, do something...!\");\n * });\n * ```\n *\n * **Since 2.3.0**: You can also check for consent by cookie ID (ID in `wp_posts`, post id):\n *\n * ```js\n * window.consentApi.consent(15)\n * ```\n */\n\nfunction consent() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return new Promise(function (resolve, reject) {\n var _consentSync = consentSync.apply(void 0, args),\n foundCookie = _consentSync.cookie,\n consentGiven = _consentSync.consentGiven,\n cookieOptIn = _consentSync.cookieOptIn;\n\n if (foundCookie) {\n if (consentGiven) {\n if (cookieOptIn) {\n resolve();\n } else {\n reject();\n }\n } else {\n // Wait for consent\n document.addEventListener(OPT_IN_EVENT, /*#__PURE__*/function () {\n var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(_ref) {\n var cookie;\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n cookie = _ref.detail.cookie;\n\n if (cookie === foundCookie) {\n resolve();\n }\n\n case 2:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n\n return function (_x) {\n return _ref2.apply(this, arguments);\n };\n }()); // Wait for opt out\n\n document.addEventListener(OPT_OUT_EVENT, /*#__PURE__*/function () {\n var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(_ref3) {\n var cookie;\n return _regeneratorRuntime.wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n cookie = _ref3.detail.cookie;\n\n if (cookie === foundCookie) {\n reject();\n }\n\n case 2:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2);\n }));\n\n return function (_x2) {\n return _ref4.apply(this, arguments);\n };\n }());\n }\n } else {\n resolve();\n }\n });\n}\n\nexport { consent };","import _toConsumableArray from \"@babel/runtime/helpers/toConsumableArray\";\nimport { consent } from \".\";\n/**\n * `window.consentApi.consentAll`: Check if a set of given technical information (e.g. HTTP Cookie, LocalStorage, ...)\n * have a consent. This is similar to `window.consentApi.consent` but for multiple cookies.\n */\n\nfunction consentAll(technicalDefinitions) {\n return Promise.all(technicalDefinitions.map(function (args) {\n return consent.apply(void 0, _toConsumableArray(args));\n }));\n}\n\nexport { consentAll };","import { OPT_IN_ALL_EVENT, BANNER_PRE_DECISION_SHOW_EVENT } from \"../types\";\nimport { getUserDecision } from \".\";\n/**\n * Listen to opt-in so we can safely print the UUID of the current user to the\n * `PrintUuidShortcode.php` HTML tag.\n */\n\nfunction printUuidToShortcode() {\n var elements = Array.prototype.slice.call(document.querySelectorAll(\".rcb-consent-print-uuid\"));\n document.addEventListener(BANNER_PRE_DECISION_SHOW_EVENT, function () {\n elements.forEach(function (element) {\n return element.innerHTML = element.getAttribute(\"data-fallback\");\n });\n });\n document.addEventListener(OPT_IN_ALL_EVENT, function () {\n var consent = getUserDecision();\n elements.forEach(function (element) {\n return element.innerHTML = consent === false ? element.getAttribute(\"data-fallback\") : consent.uuid;\n });\n });\n}\n\nexport { printUuidToShortcode };","/* istanbul ignore file: we do not need to care about the entry point file as errors are detected through integration tests (E2E) */\n\n/**\n * Entrypoint for plain website. This file is only loaded if the visitor needs to accept cookies.\n */\nimport { render } from \"react-dom\";\nimport { WebsiteBanner } from \"./components\";\nimport { ready, getOtherOptionsFromWindow, ensureBodyElement } from \"./utils\";\nimport { listenPresetOptIn, getSsrPoweredByLink, printUuidToShortcode } from \"./others\";\nimport { tcfCmpApi } from \"./tcf\";\nimport * as API from \"./api\";\nimport { getWebpackPublicPath } from \"@devowl-wp/utils\";\n__webpack_public_path__ = getWebpackPublicPath(process.env);\nlistenPresetOptIn();\nprintUuidToShortcode();\ntcfCmpApi();\nready(function () {\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n pageRequestUuid4 = _getOtherOptionsFromW.pageRequestUuid4;\n\n var poweredLink = getSsrPoweredByLink();\n var element = ensureBodyElement(document.getElementById(pageRequestUuid4));\n\n if (element) {\n render(h(WebsiteBanner, {\n poweredLink: poweredLink\n }), element);\n }\n}, \"interactive\"); // Expose public API\n\nif (window) {\n window.consentApi = API;\n}\n\nexport * from \"./api\";","import { CmpApi } from \"@iabtcf/cmpapi\";\nimport { getCmpVersion, getOtherOptionsFromWindow } from \"../utils\";\nimport { tcfCmpApiDispatcher } from \"./dispatcher\";\nvar cmpApiInstance;\n/**\n * Initialize a CMP API once for this page request. If TCF is not available, it will\n * return `undefined`.\n *\n * @see https://www.npmjs.com/package/@iabtcf/cmpapi\n */\n\nfunction tcfCmpApi() {\n var other = getOtherOptionsFromWindow();\n var isTcf = other.isTcf;\n\n if (process.env.IS_TCF === \"1\" && isTcf) {\n var tcf = other.tcf,\n tcfMetadata = other.tcfMetadata;\n var scope = tcfMetadata.scope; // Create instance only once\n\n if (!cmpApiInstance) {\n cmpApiInstance = new CmpApi(+process.env.TCF_CMP_ID, // Currently, only two bits (https://git.io/JmuD0) can be saved to the cmpVersion, so we can only save the major version\n getCmpVersion(\"major\"), scope === \"service-specific\"); // Dispatch events to vendors can listen to it\n\n setTimeout(function () {\n return tcfCmpApiDispatcher(tcf, tcfMetadata);\n }, 0);\n }\n\n return cmpApiInstance;\n } else {\n return undefined;\n }\n}\n\nexport { tcfCmpApi };","/**\n * Ensure the given HTML is a child of `body`. If not, it automatically gets moved.\n */\nfunction ensureBodyElement(element) {\n var _document = document,\n body = _document.body;\n var parentElement = element.parentElement;\n\n if (parentElement !== body) {\n body.appendChild(element);\n }\n\n return element;\n}\n\nexport { ensureBodyElement };","import _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { useState, useEffect } from \"react\";\n\nvar AsciiSpinner = function AsciiSpinner(_ref) {\n var _ref$ms = _ref.ms,\n ms = _ref$ms === void 0 ? 100 : _ref$ms,\n _ref$chars = _ref.chars,\n chars = _ref$chars === void 0 ? [\"◷\", \"◶\", \"◵\", \"◴\"] : _ref$chars;\n\n var _useState = useState(1),\n _useState2 = _slicedToArray(_useState, 2),\n i = _useState2[0],\n setI = _useState2[1];\n\n useEffect(function () {\n var interval = setInterval(function () {\n setI(i + 1);\n }, ms);\n return function () {\n return clearInterval(interval);\n };\n }, [i]);\n return h(\"span\", {\n dangerouslySetInnerHTML: {\n __html: chars[i % 4]\n }\n });\n};\n\nexport { AsciiSpinner };","import { getOtherOptionsFromWindow } from \"../../utils\";\n\nvar BannerDevHint = function BannerDevHint() {\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n isPro = _getOtherOptionsFromW.isPro,\n isLicensed = _getOtherOptionsFromW.isLicensed,\n isDevLicense = _getOtherOptionsFromW.isDevLicense,\n _getOtherOptionsFromW2 = _getOtherOptionsFromW.bannerI18n,\n noLicense = _getOtherOptionsFromW2.noLicense,\n devLicense = _getOtherOptionsFromW2.devLicense;\n\n if (!isPro) {\n return null;\n }\n\n var useText = \"\";\n\n if (isDevLicense) {\n useText = devLicense;\n } else if (!isLicensed) {\n useText = noLicense;\n }\n\n return useText ? h(\"div\", {\n style: {\n fontSize: 13,\n color: \"#c95252\",\n fontWeight: \"bold\",\n order: 9\n }\n }, useText) : null;\n};\n\nexport { BannerDevHint };","import _extends from \"@babel/runtime/helpers/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/objectWithoutProperties\";\nimport { forwardRef } from \"react\";\nimport hintCss from \"hint.css/hint.min.css?inline-raw\";\nimport { usePlainCss } from \"../../hooks\";\n/**\n * This is a very basic `hint.css` implementation for a tooltip.\n *\n * @see https://kushagra.dev/lab/hint/\n */\n// eslint-disable-next-line react/display-name\n\nvar BannerTooltip = /*#__PURE__*/forwardRef(function (_ref, ref) {\n var children = _ref.children,\n className = _ref.className,\n title = _ref.title,\n _ref$position = _ref.position,\n position = _ref$position === void 0 ? \"top\" : _ref$position,\n color = _ref.color,\n _ref$size = _ref.size,\n size = _ref$size === void 0 ? \"large\" : _ref$size,\n always = _ref.always,\n rounded = _ref.rounded,\n noAnimate = _ref.noAnimate,\n bounce = _ref.bounce,\n rest = _objectWithoutProperties(_ref, [\"children\", \"className\", \"title\", \"position\", \"color\", \"size\", \"always\", \"rounded\", \"noAnimate\", \"bounce\"]);\n\n usePlainCss(hintCss, \"hint-css\");\n return h(\"div\", _extends({\n style: {\n position: \"relative\",\n display: \"inline\"\n },\n ref: ref,\n \"aria-label\": title,\n className: \"hint--\".concat(position, \" hint--\").concat(size, \" \").concat(color ? \"hint--\".concat(color) : \"\", \" \").concat(always ? \"hint--always\" : \"\", \" \").concat(rounded ? \"hint--rounded\" : \"\", \" \").concat(noAnimate ? \"hint--no-animate\" : \"\", \" \").concat(bounce ? \"hint--bounce\" : \"\", \" \").concat(className || \"\")\n }, rest), children);\n});\nexport { BannerTooltip };","import _extends from \"@babel/runtime/helpers/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/objectWithoutProperties\";\nimport { useMemo } from \"react\"; // eslint-disable-next-line import/no-extraneous-dependencies\n\nimport { renderIconDefinitionToSVGElement } from \"@ant-design/icons-svg/es/helpers\";\n/**\n * Inject a plain SVG icon from `@ant-design/icons-svg`. This reduces the bundle size.\n * You can determine yourself to use `@ant-design/icons` or this helper component. For example,\n * this component is preferred for website bundles where website size matters.\n *\n * @see https://app.clickup.com/t/60pz5t\n */\n\nvar PlainAntdIconAsSvg = function PlainAntdIconAsSvg(_ref) {\n var icon = _ref.icon,\n rest = _objectWithoutProperties(_ref, [\"icon\"]);\n\n var svgString = useMemo(function () {\n return renderIconDefinitionToSVGElement(icon, {\n extraSVGAttrs: {\n style: \"width:auto;height:100%;\",\n fill: \"currentColor\"\n }\n });\n }, [icon]);\n return h(\"div\", _extends({}, rest, {\n dangerouslySetInnerHTML: {\n __html: svgString\n }\n }));\n};\n\nexport { PlainAntdIconAsSvg };","import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport { createContext, useContext } from \"react\";\n\n/**\n * Create a side-effect-free context provider so banner can be handled independent from Mobx.\n * Mobx is not enqueued in website frontend for bundle-size purposes!\n */\nvar BannerContextFactory = /*#__PURE__*/function () {\n function BannerContextFactory() {\n _classCallCheck(this, BannerContextFactory);\n }\n\n _createClass(BannerContextFactory, null, [{\n key: \"Context\",\n value: function (_Context) {\n function Context() {\n return _Context.apply(this, arguments);\n }\n\n Context.toString = function () {\n return _Context.toString();\n };\n\n return Context;\n }(function () {\n return this.context = this.context || /*#__PURE__*/createContext({});\n })\n }]);\n\n return BannerContextFactory;\n}();\n\nBannerContextFactory.context = void 0;\n\nfunction useBanner() {\n return useContext(BannerContextFactory.Context());\n}\n\nexport { BannerContextFactory, useBanner };","import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport { createContext, useContext } from \"react\";\n\n/**\n * Create a side-effect-free context provider so blocker can be handled independent from Mobx.\n * Mobx is not enqueued in website frontend for bundle-size purposes!\n */\nvar BlockerContextFactory = /*#__PURE__*/function () {\n function BlockerContextFactory() {\n _classCallCheck(this, BlockerContextFactory);\n }\n\n _createClass(BlockerContextFactory, null, [{\n key: \"Context\",\n value: function (_Context) {\n function Context() {\n return _Context.apply(this, arguments);\n }\n\n Context.toString = function () {\n return _Context.toString();\n };\n\n return Context;\n }(function () {\n return this.context = this.context || /*#__PURE__*/createContext({});\n })\n }]);\n\n return BlockerContextFactory;\n}();\n\nBlockerContextFactory.context = void 0;\n\nfunction useBlocker() {\n return useContext(BlockerContextFactory.Context());\n}\n\nexport { BlockerContextFactory, useBlocker };","import { useBanner, useBlocker } from \"../contexts\";\nimport { getOtherOptionsFromWindow } from \"../utils\";\n/**\n * Get the permalink of a given page id from our page ID permalink map. It automatically\n * falls back to `p={ID}` URL.\n */\n\nfunction usePageIdToPermalinkMapLink(pageId) {\n var _useBanner = useBanner(),\n mapBanner = _useBanner.pageIdToPermalink;\n\n var _useBlocker = useBlocker(),\n mapBlocker = _useBlocker.pageIdToPermalink;\n\n var pageIdToPermalink = mapBanner || mapBlocker;\n\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n pageByIdUrl = _getOtherOptionsFromW.pageByIdUrl;\n\n return (pageIdToPermalink === null || pageIdToPermalink === void 0 ? void 0 : pageIdToPermalink[pageId]) || \"\".concat(pageByIdUrl, \"=\").concat(pageId);\n}\n\nexport { usePageIdToPermalinkMapLink };","import { usePageIdToPermalinkMapLink } from \".\";\n\nfunction useBannerLegalLinks(_ref) {\n var privacyPolicy = _ref.privacyPolicy,\n privacyPolicyExternalUrl = _ref.privacyPolicyExternalUrl,\n privacyPolicyIsExternalUrl = _ref.privacyPolicyIsExternalUrl,\n privacyPolicyLabel = _ref.privacyPolicyLabel,\n imprint = _ref.imprint,\n imprintExternalUrl = _ref.imprintExternalUrl,\n imprintIsExternalUrl = _ref.imprintIsExternalUrl,\n imprintLabel = _ref.imprintLabel;\n var linkPrivacyPolicy = usePageIdToPermalinkMapLink(privacyPolicy);\n var linkImprint = usePageIdToPermalinkMapLink(imprint);\n\n if (privacyPolicyIsExternalUrl) {\n linkPrivacyPolicy = privacyPolicyExternalUrl;\n }\n\n if (imprintIsExternalUrl) {\n linkImprint = imprintExternalUrl;\n }\n\n return {\n linkPrivacyPolicy: privacyPolicyLabel ? {\n url: linkPrivacyPolicy,\n label: privacyPolicyLabel\n } : false,\n linkImprint: imprintLabel ? {\n url: linkImprint,\n label: imprintLabel\n } : false\n };\n}\n\nexport { useBannerLegalLinks };","import { useMemo, useLayoutEffect } from \"react\";\nvar counter = 0;\n/**\n * Dynamically creates a style-tag in your head with a given plain CSS string.\n */\n\nfunction usePlainCss(css, uniqueId) {\n var id = useMemo(function () {\n return \"react-use-plain-css-\".concat(uniqueId || (counter++).toString(36));\n }, []);\n useLayoutEffect(function () {\n var element = document.getElementById(id);\n\n if (!element) {\n element = document.createElement(\"style\");\n element.style.type = \"text/css\";\n element.id = id;\n document.getElementsByTagName(\"head\")[0].appendChild(element);\n }\n\n element.innerHTML = css;\n return function () {\n var _element$parentNode;\n\n (_element$parentNode = element.parentNode) === null || _element$parentNode === void 0 ? void 0 : _element$parentNode.removeChild(element);\n };\n }, [css]);\n return id;\n}\n\nexport { usePlainCss };","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestConsentPost = {\n path: \"/consent\",\n method: RouteHttpVerb.POST\n}; // Also ported to rest/Consent.php","import _createForOfIteratorHelper from \"@babel/runtime/helpers/createForOfIteratorHelper\";\nimport { getOtherOptionsFromWindow } from \"../utils\";\n/**\n * Apply Consent Forwarding, it set's cross domain cookies via CORS requests.\n *\n * @see https://javascript.info/fetch-crossorigin\n */\n\nfunction applyConsentForwarding(_ref) {\n var endpoints = _ref.endpoints,\n data = _ref.data;\n\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n isPro = _getOtherOptionsFromW.isPro;\n\n if (isPro) {\n /* onlypro:start */\n var promises = [];\n\n var _iterator = _createForOfIteratorHelper(endpoints),\n _step;\n\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var endpoint = _step.value;\n promises.push(window.fetch(endpoint, {\n method: \"POST\",\n credentials: \"include\",\n headers: {\n \"Content-Type\": \"application/json;charset=utf-8\"\n },\n body: JSON.stringify(data)\n }));\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n\n return Promise.all(promises);\n /* onlypro:start */\n } else {\n return Promise.reject();\n }\n}\n\nexport { applyConsentForwarding };","import _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { locationRestConsentPost } from \"../wp-api\";\nimport { getOptionsFromWindow } from \"../utils\";\nimport { applyCookies, applyConsentForwarding } from \".\";\nimport { commonRequest } from \"@devowl-wp/utils\";\n/**\n * Save consent to the backend and apply cookies on running session.\n */\n\nfunction applyConsent(_x) {\n return _applyConsent.apply(this, arguments);\n}\n\nfunction _applyConsent() {\n _applyConsent = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(_ref) {\n var consent, _ref$markAsDoNotTrack, markAsDoNotTrack, buttonClicked, _ref$blocker, blocker, blockerThumbnail, tcfString, _document$documentEle, clientWidth, clientHeight, _getOptionsFromWindow, restNamespace, restRoot, restQuery, restNonce, _yield$commonRequest, forward, uuid, cookie_revision, decision_in_cookie;\n\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n consent = _ref.consent, _ref$markAsDoNotTrack = _ref.markAsDoNotTrack, markAsDoNotTrack = _ref$markAsDoNotTrack === void 0 ? false : _ref$markAsDoNotTrack, buttonClicked = _ref.buttonClicked, _ref$blocker = _ref.blocker, blocker = _ref$blocker === void 0 ? 0 : _ref$blocker, blockerThumbnail = _ref.blockerThumbnail, tcfString = _ref.tcfString;\n _document$documentEle = document.documentElement, clientWidth = _document$documentEle.clientWidth, clientHeight = _document$documentEle.clientHeight;\n _getOptionsFromWindow = getOptionsFromWindow(), restNamespace = _getOptionsFromWindow.restNamespace, restRoot = _getOptionsFromWindow.restRoot, restQuery = _getOptionsFromWindow.restQuery, restNonce = _getOptionsFromWindow.restNonce; // Use `commonRequest` cause on frontend we do not have `wp.i18n` available\n\n _context.next = 5;\n return commonRequest({\n location: locationRestConsentPost,\n options: {\n restNamespace: restNamespace,\n restRoot: restRoot,\n restQuery: restQuery,\n restNonce: restNonce\n },\n sendRestNonce: false,\n request: _objectSpread(_objectSpread({}, consent), {}, {\n markAsDoNotTrack: markAsDoNotTrack,\n buttonClicked: buttonClicked,\n viewPortWidth: clientWidth,\n viewPortHeight: clientHeight,\n blocker: blocker,\n blockerThumbnail: blockerThumbnail,\n tcfString: tcfString\n }),\n params: {\n _wp_http_referer: window.location.href\n }\n });\n\n case 5:\n _yield$commonRequest = _context.sent;\n forward = _yield$commonRequest.forward;\n uuid = _yield$commonRequest.uuid;\n cookie_revision = _yield$commonRequest.cookie_revision;\n decision_in_cookie = _yield$commonRequest.decision_in_cookie;\n // Does the browser support cookies? Save the decision locally in `window` so `getUserDecision` can fallback\n window.rcbDisabledCookieComp = {\n uuid: uuid,\n revision: cookie_revision,\n consent: decision_in_cookie\n };\n _context.next = 13;\n return Promise.all([// Apply consent forwarding and wait for all requests\n forward && applyConsentForwarding(forward), applyCookies(\"consent\")].filter(Boolean));\n\n case 13:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n return _applyConsent.apply(this, arguments);\n}\n\nexport { applyConsent };","import _createForOfIteratorHelper from \"@babel/runtime/helpers/createForOfIteratorHelper\";\nimport _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { getOtherOptionsFromWindow } from \"../../utils\";\nimport { getUserDecision } from \"../getUserDecision\";\n/**\n * Read the selected groups + cookies depending on the passed type.\n *\n * @param type If \"consent\" it will be read from the current cookie and if this fails, it\n * falls back to essentials-only.\n */\n\nfunction getSelectedCookies(type) {\n var selectedGroups;\n\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n groups = _getOtherOptionsFromW.groups,\n essentialGroup = _getOtherOptionsFromW.essentialGroup,\n setCookiesViaManager = _getOtherOptionsFromW.setCookiesViaManager,\n isPro = _getOtherOptionsFromW.isPro;\n\n var isManagerActive = isPro && setCookiesViaManager !== \"none\";\n\n var _groups$filter = groups.filter(function (_ref) {\n var slug = _ref.slug;\n return slug === essentialGroup;\n }),\n _groups$filter2 = _slicedToArray(_groups$filter, 1),\n essentialGroupObj = _groups$filter2[0];\n\n var consentEssentials = _defineProperty({}, essentialGroupObj.id, essentialGroupObj.items.map(function (_ref2) {\n var id = _ref2.id;\n return id;\n })); // Read current consent\n\n\n if (type === \"consent\") {\n var decision = getUserDecision();\n\n if (decision !== false) {\n selectedGroups = decision.consent;\n } else {\n console.warn(\"Something went wrong while reading the cookie, fallback to essentials only...\");\n selectedGroups = consentEssentials;\n }\n }\n\n if (type === \"essentials\") {\n selectedGroups = consentEssentials;\n }\n\n return {\n isManagerActive: isManagerActive,\n selectedGroups: selectedGroups,\n iterateCookies: function () {\n var _iterateCookies = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(callback) {\n var _iterator, _step, _group, _iterator2, _step2, _selectedGroups$_grou, _cookie, _isOptIn;\n\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n _iterator = _createForOfIteratorHelper(groups);\n _context.prev = 1;\n\n _iterator.s();\n\n case 3:\n if ((_step = _iterator.n()).done) {\n _context.next = 25;\n break;\n }\n\n _group = _step.value;\n _iterator2 = _createForOfIteratorHelper(_group.items);\n _context.prev = 6;\n\n _iterator2.s();\n\n case 8:\n if ((_step2 = _iterator2.n()).done) {\n _context.next = 15;\n break;\n }\n\n _cookie = _step2.value;\n _isOptIn = type === \"all\" || ((_selectedGroups$_grou = selectedGroups[_group.id]) === null || _selectedGroups$_grou === void 0 ? void 0 : _selectedGroups$_grou.indexOf(_cookie.id)) > -1;\n _context.next = 13;\n return callback(_group, _cookie, _isOptIn);\n\n case 13:\n _context.next = 8;\n break;\n\n case 15:\n _context.next = 20;\n break;\n\n case 17:\n _context.prev = 17;\n _context.t0 = _context[\"catch\"](6);\n\n _iterator2.e(_context.t0);\n\n case 20:\n _context.prev = 20;\n\n _iterator2.f();\n\n return _context.finish(20);\n\n case 23:\n _context.next = 3;\n break;\n\n case 25:\n _context.next = 30;\n break;\n\n case 27:\n _context.prev = 27;\n _context.t1 = _context[\"catch\"](1);\n\n _iterator.e(_context.t1);\n\n case 30:\n _context.prev = 30;\n\n _iterator.f();\n\n return _context.finish(30);\n\n case 33:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, null, [[1, 27, 30, 33], [6, 17, 20, 23]]);\n }));\n\n function iterateCookies(_x) {\n return _iterateCookies.apply(this, arguments);\n }\n\n return iterateCookies;\n }()\n };\n}\n\nexport { getSelectedCookies };","function getManagerDependingVariables(isManagerActive, setCookiesViaManager) {\n var useVariableNameCamel;\n var useVariableNamePascal;\n var useGlobalObjectName;\n\n if (isManagerActive) {\n useVariableNameCamel = setCookiesViaManager;\n useVariableNamePascal = useVariableNameCamel.charAt(0).toUpperCase() + useVariableNameCamel.slice(1);\n var isGtm = setCookiesViaManager === \"googleTagManager\"; // const isMtm = setCookiesViaManager === \"matomoTagManager\"; // This variable is not yet needed, because we only have 2 managers\n\n useGlobalObjectName = isGtm ? \"dataLayer\" : \"_mtm\";\n }\n\n return {\n useVariableNameCamel: useVariableNameCamel,\n useVariableNamePascal: useVariableNamePascal,\n useGlobalObjectName: useGlobalObjectName\n };\n}\n\nexport { getManagerDependingVariables };","import _objectWithoutProperties from \"@babel/runtime/helpers/objectWithoutProperties\";\nimport _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { getSelectedCookies, getManagerDependingVariables } from \".\";\nimport { getOtherOptionsFromWindow } from \"../../utils\";\nimport { OPT_IN_EVENT } from \"../../types\";\nimport { putHtmlCodeToDom } from \"@devowl-wp/headless-content-unblocker\";\n/**\n * Opt-in to a set of cookies.\n */\n\nfunction applyOptIn(_x) {\n return _applyOptIn.apply(this, arguments);\n}\n\nfunction _applyOptIn() {\n _applyOptIn = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(type) {\n var allOptInCookies, _getSelectedCookies, isManagerActive, iterateCookies, _getOtherOptionsFromW, setCookiesViaManager, _getManagerDependingV, useGlobalObjectName, useVariableNamePascal, isManagerOptOut, dataLayerPromise, waitPromises;\n\n return _regeneratorRuntime.wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n allOptInCookies = [];\n _getSelectedCookies = getSelectedCookies(type), isManagerActive = _getSelectedCookies.isManagerActive, iterateCookies = _getSelectedCookies.iterateCookies;\n _getOtherOptionsFromW = getOtherOptionsFromWindow(), setCookiesViaManager = _getOtherOptionsFromW.setCookiesViaManager;\n _getManagerDependingV = getManagerDependingVariables(isManagerActive, setCookiesViaManager), useGlobalObjectName = _getManagerDependingV.useGlobalObjectName, useVariableNamePascal = _getManagerDependingV.useVariableNamePascal; // Handle managers like GTM and MTM\n\n isManagerOptOut = false;\n dataLayerPromise = Promise.resolve(undefined);\n waitPromises = []; // Handle opt-ins sequentially\n\n _context2.next = 9;\n return iterateCookies( /*#__PURE__*/function () {\n var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(group, cookie, isOptIn) {\n var presetId, codeDynamics, codeOptIn, rest, isManager, isOnlyWhenNoConsentToManager, restrictOptInCodeForPreset;\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n presetId = cookie.presetId, codeDynamics = cookie.codeDynamics, codeOptIn = cookie.codeOptIn, rest = _objectWithoutProperties(cookie, [\"presetId\", \"codeDynamics\", \"codeOptIn\"]);\n isManager = isManagerActive && rest[\"thisIs\".concat(useVariableNamePascal)];\n\n if (isOptIn) {\n // Check if the script should explicitly only be loaded if no consent is given to the manager\n isOnlyWhenNoConsentToManager = isManagerActive && rest[\"codeOptInNo\".concat(useVariableNamePascal)];\n restrictOptInCodeForPreset = [\"amazon-associates-widget\"].indexOf(presetId) > -1;\n\n if (!isOnlyWhenNoConsentToManager && !restrictOptInCodeForPreset) {\n waitPromises.push(putHtmlCodeToDom(codeOptIn, codeDynamics));\n } // If this is a manager, wait for the object to be loaded\n\n /* Silence is golden... Until you have PRO Version! */\n\n\n // If this is a manager, wait for the object to be loaded\n\n /* Silence is golden... Until you have PRO Version! */\n document.dispatchEvent(new CustomEvent(OPT_IN_EVENT, {\n detail: {\n group: group,\n cookie: cookie\n }\n }));\n allOptInCookies.push({\n group: group,\n cookie: cookie\n });\n } else if (isManager) {\n /* Silence is golden... Until you have PRO Version! */\n }\n\n case 3:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n\n return function (_x2, _x3, _x4) {\n return _ref.apply(this, arguments);\n };\n }());\n\n case 9:\n return _context2.abrupt(\"return\", {\n isManagerOptOut: isManagerOptOut,\n dataLayerPromise: dataLayerPromise,\n cookies: allOptInCookies,\n ready: Promise.all(waitPromises)\n });\n\n case 10:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2);\n }));\n return _applyOptIn.apply(this, arguments);\n}\n\nexport { applyOptIn };","import _objectWithoutProperties from \"@babel/runtime/helpers/objectWithoutProperties\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { putHtmlCodeToDom } from \"@devowl-wp/headless-content-unblocker\";\nimport { getSelectedCookies, getManagerDependingVariables } from \".\";\nimport { getOtherOptionsFromWindow } from \"../../utils\";\n/**\n * Opt-in and opt-out to a set of cookies for a given data manager like GTM / MTM.\n */\n\nfunction applyOptInOutManager(_x, _x2, _x3) {\n return _applyOptInOutManager.apply(this, arguments);\n}\n\nfunction _applyOptInOutManager() {\n _applyOptInOutManager = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(type, dataLayer, isManagerOptOut) {\n var waitPromises, _getSelectedCookies, isManagerActive, iterateCookies, _getOtherOptionsFromW, setCookiesViaManager, _getManagerDependingV, useVariableNameCamel, useVariableNamePascal;\n\n return _regeneratorRuntime.wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n waitPromises = [];\n /* onlypro:start */\n\n _getSelectedCookies = getSelectedCookies(type), isManagerActive = _getSelectedCookies.isManagerActive, iterateCookies = _getSelectedCookies.iterateCookies;\n _getOtherOptionsFromW = getOtherOptionsFromWindow(), setCookiesViaManager = _getOtherOptionsFromW.setCookiesViaManager;\n _getManagerDependingV = getManagerDependingVariables(isManagerActive, setCookiesViaManager), useVariableNameCamel = _getManagerDependingV.useVariableNameCamel, useVariableNamePascal = _getManagerDependingV.useVariableNamePascal; // When there is a manager, let's push all opt-in and opt-out events (parallel)\n\n if (!dataLayer) {\n _context2.next = 11;\n break;\n }\n\n // Opt-in events\n iterateCookies(function (group, cookie, isOptIn) {\n var event = cookie[\"\".concat(useVariableNameCamel, \"InEventName\")];\n\n if (isOptIn && event) {\n dataLayer.push({\n realCookieBannerOptInEvents: _defineProperty({}, event, true),\n event: event\n });\n }\n }); // Wait x seconds\n\n _context2.next = 8;\n return new Promise(function (r) {\n return setTimeout(r, 1000);\n });\n\n case 8:\n // Opt-out events\n iterateCookies(function (group, cookie, isOptIn) {\n var event = cookie[\"\".concat(useVariableNameCamel, \"OutEventName\")];\n\n if (!isOptIn && event) {\n dataLayer.push({\n realCookieBannerOptOutEvents: _defineProperty({}, event, true),\n event: event\n });\n }\n });\n _context2.next = 14;\n break;\n\n case 11:\n if (!(isManagerActive && isManagerOptOut)) {\n _context2.next = 14;\n break;\n }\n\n _context2.next = 14;\n return iterateCookies( /*#__PURE__*/function () {\n var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(group, _ref, isOptIn) {\n var codeDynamics, codeOptIn, rest;\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n codeDynamics = _ref.codeDynamics, codeOptIn = _ref.codeOptIn, rest = _objectWithoutProperties(_ref, [\"codeDynamics\", \"codeOptIn\"]);\n\n if (isOptIn && rest[\"codeOptInNo\".concat(useVariableNamePascal)]) {\n waitPromises.push(putHtmlCodeToDom(codeOptIn, codeDynamics));\n }\n\n case 2:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n\n return function (_x4, _x5, _x6) {\n return _ref2.apply(this, arguments);\n };\n }());\n\n case 14:\n return _context2.abrupt(\"return\", {\n ready: Promise.all(waitPromises)\n });\n\n case 15:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2);\n }));\n return _applyOptInOutManager.apply(this, arguments);\n}\n\nexport { applyOptInOutManager };","import _createForOfIteratorHelper from \"@babel/runtime/helpers/createForOfIteratorHelper\";\nimport { createRegxpPatternFromWildcardedName } from \"../../utils\";\nimport Cookie from \"js-cookie\";\nimport { applyDynamicsToHtml } from \"@devowl-wp/headless-content-unblocker\";\n/**\n * Delete cookies on client side (currently only `localStorage` and `sessionStorage`).\n */\n\nfunction deleteCookiesLocally(technicalDefinitions, dynamics) {\n var _iterator = _createForOfIteratorHelper(technicalDefinitions),\n _step;\n\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var _step$value = _step.value,\n type = _step$value.type,\n name = _step$value.name;\n // Create valid Regxp pattern\n var pattern = new RegExp(createRegxpPatternFromWildcardedName(applyDynamicsToHtml(name, dynamics)), \"g\");\n\n switch (type) {\n case \"http\":\n {\n for (var _i = 0, _Object$keys = Object.keys(Cookie.get()); _i < _Object$keys.length; _i++) {\n var key = _Object$keys[_i];\n\n if (pattern.test(key)) {\n Cookie.remove(key);\n }\n }\n\n break;\n }\n\n case \"local\":\n case \"session\":\n {\n try {\n var useStorage = type === \"local\" ? window.localStorage : window.sessionStorage;\n\n if (useStorage) {\n for (var _i2 = 0, _Object$keys2 = Object.keys(useStorage); _i2 < _Object$keys2.length; _i2++) {\n var itemName = _Object$keys2[_i2];\n\n if (pattern.test(itemName)) {\n try {\n // Fallback to `null` because `removeItem` can have issues on some browsers\n useStorage.setItem(itemName, null);\n } catch (e) {// Silence is golden. A `QuotaExceededError` can be thrown but we ignore it, because we remove the item\n } // Try as long (but max 100 times) until deleted\n\n\n var tries = 0;\n\n while (useStorage.getItem(itemName) && tries < 100) {\n tries++;\n useStorage.removeItem(itemName);\n }\n }\n }\n }\n } catch (e) {\n // Browser does not support localStorage, let's do nothing...\n continue;\n }\n\n break;\n }\n\n default:\n break;\n }\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n}\n\nexport { deleteCookiesLocally };","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestConsentClearDelete = {\n path: \"/consent/clear\",\n method: RouteHttpVerb.DELETE\n};","import { commonRequest } from \"@devowl-wp/utils\";\nimport { getOptionsFromWindow } from \"../../utils\";\nimport { locationRestConsentClearDelete } from \"../../wp-api\";\n/**\n * Delete cookies on server side (currently only `http`).\n */\n\nfunction deleteCookiesServer(cookies) {\n var _getOptionsFromWindow = getOptionsFromWindow(),\n restNamespace = _getOptionsFromWindow.restNamespace,\n restRoot = _getOptionsFromWindow.restRoot,\n restQuery = _getOptionsFromWindow.restQuery,\n restNonce = _getOptionsFromWindow.restNonce;\n\n return commonRequest({\n location: locationRestConsentClearDelete,\n options: {\n restNamespace: restNamespace,\n restRoot: restRoot,\n restQuery: restQuery,\n restNonce: restNonce\n },\n sendRestNonce: false,\n params: {\n cookies: cookies.join(\",\")\n }\n });\n}\n\nexport { deleteCookiesServer };","import _objectWithoutProperties from \"@babel/runtime/helpers/objectWithoutProperties\";\nimport _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { getSelectedCookies, getManagerDependingVariables, deleteCookiesLocally, deleteCookiesServer } from \".\";\nimport { getOtherOptionsFromWindow } from \"../../utils\";\nimport { OPT_OUT_EVENT } from \"../../types\";\nimport { putHtmlCodeToDom } from \"@devowl-wp/headless-content-unblocker\";\n/**\n * Opt-in to a set of cookies for a given data manager like GTM / MTM.\n */\n\nfunction applyOptOut(_x, _x2) {\n return _applyOptOut.apply(this, arguments);\n}\n\nfunction _applyOptOut() {\n _applyOptOut = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(type, isManagerOptOut) {\n var _getSelectedCookies, isManagerActive, iterateCookies, _getOtherOptionsFromW, setCookiesViaManager, _getManagerDependingV, useVariableNamePascal, foundOptOutToDelete;\n\n return _regeneratorRuntime.wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n _getSelectedCookies = getSelectedCookies(type), isManagerActive = _getSelectedCookies.isManagerActive, iterateCookies = _getSelectedCookies.iterateCookies;\n _getOtherOptionsFromW = getOtherOptionsFromWindow(), setCookiesViaManager = _getOtherOptionsFromW.setCookiesViaManager;\n _getManagerDependingV = getManagerDependingVariables(isManagerActive, setCookiesViaManager), useVariableNamePascal = _getManagerDependingV.useVariableNamePascal; // Handle opt-outs sequentially\n\n foundOptOutToDelete = [];\n _context2.next = 6;\n return iterateCookies( /*#__PURE__*/function () {\n var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(group, cookie, isOptIn) {\n var id, codeDynamics, codeOptOut, codeOptOutDelete, noTechnicalDefinitions, technicalDefinitions, rest, isOnlyWhenNoConsentToManager;\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n id = cookie.id, codeDynamics = cookie.codeDynamics, codeOptOut = cookie.codeOptOut, codeOptOutDelete = cookie.codeOptOutDelete, noTechnicalDefinitions = cookie.noTechnicalDefinitions, technicalDefinitions = cookie.technicalDefinitions, rest = _objectWithoutProperties(cookie, [\"id\", \"codeDynamics\", \"codeOptOut\", \"codeOptOutDelete\", \"noTechnicalDefinitions\", \"technicalDefinitions\"]);\n\n if (!isOptIn) {\n // Check if the script should explicitly only be loaded if no consent is given to the manager\n isOnlyWhenNoConsentToManager = isManagerActive && rest[\"codeOptInNo\".concat(useVariableNamePascal)];\n\n if (isOnlyWhenNoConsentToManager && !isManagerOptOut || !isOnlyWhenNoConsentToManager) {\n putHtmlCodeToDom(codeOptOut, codeDynamics);\n }\n\n if (codeOptOutDelete && !noTechnicalDefinitions) {\n deleteCookiesLocally(technicalDefinitions, codeDynamics); // Mark deletable server-side cookies\n\n // Mark deletable server-side cookies\n if (technicalDefinitions.some(function (_ref2) {\n var type = _ref2.type;\n return type === \"http\";\n })) {\n foundOptOutToDelete.push(id);\n }\n }\n\n document.dispatchEvent(new CustomEvent(OPT_OUT_EVENT, {\n detail: {\n group: group,\n cookie: cookie\n }\n }));\n }\n\n case 2:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n\n return function (_x3, _x4, _x5) {\n return _ref.apply(this, arguments);\n };\n }());\n\n case 6:\n // Handle cookie deletion which needs to be done server-side (e. g. HTTP cookies)\n foundOptOutToDelete.length && setTimeout(function () {\n return deleteCookiesServer(foundOptOutToDelete);\n }, 0);\n\n case 7:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2);\n }));\n return _applyOptOut.apply(this, arguments);\n}\n\nexport { applyOptOut };","import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { applyOptIn, applyOptInOutManager, applyOptOut } from \".\";\nimport { ready } from \"../../utils\";\nimport { OPT_IN_ALL_EVENT } from \"../../types\";\n/**\n * Apply cookies on frontend. Depending on some other mechanism you can differ\n * between the following \"decision\" types:\n *\n * - `all`: All cookies are applied (e. g. bots)\n * - `consent`: All cookies from the current consent (read from cookie)\n *\n * The cookies are sent in the following way:\n *\n * 1. Apply opt-in scripts (sequentially)\n * 2. If GTM / MTM is active, wait for the data layer\n * a) Push all opt-in events (parallel)\n * b) Wait x seconds to avoid side effects\n * c) Push all opt-out events (parallel)\n * 3. Apply opt-in scripts (sequentially)\n *\n * @param type\n * @see https://www.simoahava.com/analytics/notify-page-google-tag-manager-loaded/\n * @see https://support.google.com/tagmanager/answer/7679219\n * @see https://developer.matomo.org/guides/tagmanager/datalayer\n */\n\nfunction applyCookies(_x) {\n return _applyCookies.apply(this, arguments);\n}\n\nfunction _applyCookies() {\n _applyCookies = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(type) {\n var _yield$applyOptIn, dataLayerPromise, isManagerOptOut, cookies, applyOptInReady, _yield$applyOptInOutM, applyOptInOutManagerReady, optInAllReady;\n\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n _context.next = 2;\n return ready();\n\n case 2:\n _context.next = 4;\n return applyOptIn(type);\n\n case 4:\n _yield$applyOptIn = _context.sent;\n dataLayerPromise = _yield$applyOptIn.dataLayerPromise;\n isManagerOptOut = _yield$applyOptIn.isManagerOptOut;\n cookies = _yield$applyOptIn.cookies;\n applyOptInReady = _yield$applyOptIn.ready;\n _context.t0 = applyOptInOutManager;\n _context.t1 = type;\n _context.next = 13;\n return dataLayerPromise;\n\n case 13:\n _context.t2 = _context.sent;\n _context.t3 = isManagerOptOut;\n _context.next = 17;\n return (0, _context.t0)(_context.t1, _context.t2, _context.t3);\n\n case 17:\n _yield$applyOptInOutM = _context.sent;\n applyOptInOutManagerReady = _yield$applyOptInOutM.ready;\n optInAllReady = Promise.all([applyOptInReady, applyOptInOutManagerReady]);\n document.dispatchEvent(new CustomEvent(OPT_IN_ALL_EVENT, {\n detail: {\n cookies: cookies,\n ready: optInAllReady\n }\n })); // Do opt-out\n\n _context.next = 23;\n return applyOptOut(type, isManagerOptOut);\n\n case 23:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n return _applyCookies.apply(this, arguments);\n}\n\nexport { applyCookies };","import _createForOfIteratorHelper from \"@babel/runtime/helpers/createForOfIteratorHelper\";\nimport { getOtherOptionsFromWindow } from \"../../utils\";\nvar ATTRIBUTE_EXPRIVACY_NOTE_EXPAND = \"eprivacy-usa-expand\";\nvar addedEventListener = false;\n/**\n * Replace in a given (HTML) string `{{service}}` with a given filter.\n */\n\nfunction expandGroupsServiceVariable( // Pass available services as values\ngroups, tcf, text, // Pass a callback to filter the passed available services by criteria\nfilter) {\n var truncateAfter = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 3;\n var noCookiesReturnEmptyString = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : false;\n\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n _getOtherOptionsFromW2 = _getOtherOptionsFromW.bannerI18n,\n ePrivacyNoteMore = _getOtherOptionsFromW2.ePrivacyNoteMore,\n none = _getOtherOptionsFromW2.none;\n\n var restLabels = [];\n var labels = []; // Usual cookies\n\n var _iterator = _createForOfIteratorHelper(groups),\n _step;\n\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var items = _step.value.items;\n\n var _iterator2 = _createForOfIteratorHelper(items),\n _step2;\n\n try {\n for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {\n var _cookie = _step2.value;\n\n if (filter(_cookie)) {\n labels.push(_cookie.name);\n }\n }\n } catch (err) {\n _iterator2.e(err);\n } finally {\n _iterator2.f();\n }\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n\n if (process.env.IS_TCF === \"1\" && tcf) {\n // TCF vendor configurations\n var gvl = tcf.gvl,\n vendorConfigurations = tcf.vendorConfigurations;\n\n for (var vendorConfigurationId in vendorConfigurations) {\n var vendorConfiguration = vendorConfigurations[vendorConfigurationId];\n var vendor = gvl.vendors[vendorConfiguration.vendorId];\n\n if (filter(undefined, {\n vendor: vendor,\n vendorConfiguration: vendorConfiguration\n })) {\n labels.push(vendor.name);\n }\n }\n } // Truncate when more than 1 difference\n\n\n if (labels.length - truncateAfter > 1) {\n restLabels = labels.slice(truncateAfter, labels.length);\n labels = labels.slice(0, truncateAfter); // Unfortunately we can not use React here because the text is customized inside a text\n\n labels.push(\"<span \".concat(ATTRIBUTE_EXPRIVACY_NOTE_EXPAND, \"=\\\"\").concat(restLabels.join(\", \"), \"\\\" style=\\\"text-decoration:none;border-bottom:0.5px dashed;padding-bottom:1px;cursor:pointer;\\\">\").concat(ePrivacyNoteMore.replace(\"%d\", restLabels.length.toString()), \"</span>\")); // Add event-listener globally once as we are not using React here\n\n !addedEventListener && document.addEventListener(\"click\", function (e) {\n var target = e.target;\n\n if (target !== null && target !== void 0 && target.hasAttribute(ATTRIBUTE_EXPRIVACY_NOTE_EXPAND)) {\n target.innerHTML = target.getAttribute(ATTRIBUTE_EXPRIVACY_NOTE_EXPAND);\n target.removeAttribute(\"style\");\n }\n });\n addedEventListener = true;\n }\n\n if (noCookiesReturnEmptyString && labels.length === 0) {\n return \"\";\n }\n\n return text.replace(/{{services}}/g, labels.length ? labels.join(\", \") : \"<span style=\\\"color:red;\\\">\".concat(none, \"</span>\"));\n}\n\nexport { expandGroupsServiceVariable };","function getCookieTypeLocalized() {\n return {\n http: {\n name: \"HTTP Cookie\",\n abbr: \"HTTP\",\n backgroundColor: \"black\"\n },\n local: {\n name: \"Local Storage\",\n abbr: \"Local\",\n backgroundColor: \"#b3983c\"\n },\n session: {\n name: \"Session Storage\",\n abbr: \"Session\",\n backgroundColor: \"#3c99b3\"\n },\n flash: {\n name: \"Flash Local Shared Object\",\n abbr: \"Flash\",\n backgroundColor: \"#b33c3c\"\n },\n indexedDb: {\n name: \"IndexedDB\",\n abbr: \"I-DB\",\n backgroundColor: \"#4ab33c\"\n }\n };\n}\n\nexport { getCookieTypeLocalized };","import { getOtherOptionsFromWindow } from \"../utils\";\nimport { matchingSelector } from \"@devowl-wp/resolve-none-computed-style\";\nwindow.rcbPoweredByCacheOuterHTML = \"\";\n/**\n * Get the server-side-rendered powered by link.\n */\n\nfunction getSsrPoweredByLink() {\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n pageRequestUuid4 = _getOtherOptionsFromW.pageRequestUuid4;\n\n var element = document.getElementById(pageRequestUuid4); // SSR-powered by\n\n var originalPoweredLink = element.nextElementSibling;\n var poweredLink = document.createElement(\"div\");\n\n if (window.rcbPoweredByCacheOuterHTML) {\n // We have cached the link as we remove it from the DOM\n poweredLink.innerHTML = window.rcbPoweredByCacheOuterHTML;\n } else if (matchingSelector(originalPoweredLink, \"a\") && originalPoweredLink.innerHTML.toLowerCase().indexOf(\"Real Cookie Banner\")) {\n window.rcbPoweredByCacheOuterHTML = originalPoweredLink.outerHTML;\n poweredLink.innerHTML = window.rcbPoweredByCacheOuterHTML;\n originalPoweredLink.parentNode.removeChild(originalPoweredLink);\n }\n\n return poweredLink.children[0];\n}\n\nexport { getSsrPoweredByLink };","import _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { getOtherOptionsFromWindow, getCookie, supportsCookies } from \"../utils\";\nimport { explode } from \"../utils\";\n\n/**\n * Get current user decision from the cookie value.\n */\nfunction getUserDecision() {\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n userConsentCookieName = _getOtherOptionsFromW.userConsentCookieName;\n\n var cookieValue = getCookie(userConsentCookieName);\n\n if (!cookieValue) {\n if (!supportsCookies()) {\n // Use our `window` object instead of cookie value\n return window.rcbDisabledCookieComp || false;\n }\n\n return false;\n } // Validate cookie length\n\n\n var split = explode(cookieValue, \":\", 3);\n\n if (split.length !== 3) {\n return false;\n }\n\n var _split = _slicedToArray(split, 2),\n uuid = _split[0],\n revision = _split[1];\n\n var consent = JSON.parse(split[2]);\n return {\n uuid: uuid,\n revision: revision,\n consent: consent\n };\n}\n\nexport { getUserDecision };","import _toConsumableArray from \"@babel/runtime/helpers/toConsumableArray\";\n\n/**\n * Get cookie by name. Please keep in mind you need to `decodeURIComponent` the value in some cases!\n *\n * @param cname\n * @see https://stackoverflow.com/questions/10730362/get-cookie-by-name\n * @see https://stackoverflow.com/a/25490531/5506547\n */\nfunction getCookie(cname) {\n var decode = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n\n // In some cases there could be cookies with the same name in `document.cooke` -> take the last one\n var matches = _toConsumableArray(document.cookie.matchAll(new RegExp(\"(^|;)\\\\s*\".concat(cname, \"\\\\s*=\\\\s*([^;]+)\"), \"g\")));\n\n if (!matches.length) {\n return \"\";\n }\n\n var value = matches // Last match in `document.cookie`\n .pop() // Value of regex match\n .pop();\n return decode ? decodeURIComponent(value) : value;\n}\n\nexport { getCookie };","/**\n * A PHP's port of `explode`. `.split` is not similar because it does not join\n * remaining string.\n */\nfunction explode(string, separator, n) {\n var split = string.split(separator);\n if (split.length <= n) return split;\n var out = split.slice(0, n - 1);\n out.push(split.slice(n - 1).join(separator));\n return out;\n}\n\nexport { explode };","/**\n * This event is fired when the user has no consent or invalid consent\n * and the banner gets visible.\n */\nexport var BANNER_PRE_DECISION_SHOW_EVENT = \"RCB/Banner/Show\";","export var OPT_IN_ALL_EVENT = \"RCB/OptIn/All\";","export var OPT_IN_EVENT = \"RCB/OptIn\";","export var OPT_OUT_EVENT = \"RCB/OptOut\";","import { pregQuote } from \".\";\n/**\n * Port of Clear.php#createRegxpPatternFromWildcardedName.\n */\n\nfunction createRegxpPatternFromWildcardedName(name) {\n var tmp = name.replace(/\\*/g, \"PLEACE_REPLACE_ME_AGAIN\");\n return \"^\".concat(pregQuote(tmp).replace(/PLEACE_REPLACE_ME_AGAIN/g, \"(.*)\"), \"$\");\n}\n\nexport { createRegxpPatternFromWildcardedName };","/**\n * Port of `preg_quote`.\n *\n * @see https://github.com/kvz/locutus/blob/3f14dc5d142f5dcbdf36b4271c21a850a4a259da/src/php/pcre/preg_quote.js#L1\n */\nfunction pregQuote(str, delimiter) {\n // discuss at: https://locutus.io/php/preg_quote/\n // original by: booeyOH\n // improved by: Ates Goral (https://magnetiq.com)\n // improved by: Kevin van Zonneveld (https://kvz.io)\n // improved by: Brett Zamir (https://brett-zamir.me)\n // bugfixed by: Onno Marsman (https://twitter.com/onnomarsman)\n // example 1: preg_quote(\"$40\")\n // returns 1: '\\\\$40'\n // example 2: preg_quote(\"*RRRING* Hello?\")\n // returns 2: '\\\\*RRRING\\\\* Hello\\\\?'\n // example 3: preg_quote(\"\\\\.+*?[^]$(){}=!<>|:\")\n // returns 3: '\\\\\\\\\\\\.\\\\+\\\\*\\\\?\\\\[\\\\^\\\\]\\\\$\\\\(\\\\)\\\\{\\\\}\\\\=\\\\!\\\\<\\\\>\\\\|\\\\:'\n return str.replace(new RegExp(\"[.\\\\\\\\+*?\\\\[\\\\^\\\\]$(){}=!<>|:\\\\\".concat(delimiter || \"\", \"-]\"), \"g\"), \"\\\\$&\");\n}\n\nexport { pregQuote };","/**\n * Use this if you do not have the Mobx store available in your JavaScript asset.\n * E. g. the `banner.js` does not rely on the mobx store and should access the\n * localized options via `window.realCookieBanner` directly.\n */\nfunction getOptionsFromWindow() {\n return window[process.env.slug.replace(/-([a-z])/g, function (g) {\n return g[1].toUpperCase();\n })];\n}\n\nexport { getOptionsFromWindow };","import { getOptionsFromWindow } from \"./getOptionsFromWindow\";\n/**\n * Use this if you do not have the Mobx store available in your JavaScript asset.\n * E. g. the `banner.js` does not rely on the mobx store and should access the\n * localized options via `window.realCookieBanner.others` directly.\n */\n\nfunction getOtherOptionsFromWindow() {\n return getOptionsFromWindow().others;\n}\n\nexport { getOtherOptionsFromWindow };","import _toConsumableArray from \"@babel/runtime/helpers/toConsumableArray\";\nimport { Fragment } from \"react\";\n/**\n * Join together a set of JSX elements with a separator.\n *\n * @see https://stackoverflow.com/q/33577448/5506547\n */\n\nfunction jsxJoin(components, separator) {\n // Just to be sure, remove falsy values so we can add conditionals to the components array\n var filtered = components.filter(Boolean);\n return filtered.length === 0 ? null : filtered.reduce(function (acc, curr, i) {\n return acc.length ? [].concat(_toConsumableArray(acc), [// Wrap the separator in a fragment to avoid `missing key` issues\n h(Fragment, {\n key: i\n }, separator), curr]) : [curr];\n }, []);\n}\n\nexport { jsxJoin };","// Currently we can not rely on core-js for frontend banner because\n// it increases the bundle size a lot. There is an open issue for this:\n// https://github.com/zloirock/core-js/issues/388\n// import \"core-js/stable/string/virtual/starts-with\";\n// import \"core-js/stable/string/virtual/ends-with\";\n// import \"core-js/features/object/assign\";\n// import \"core-js/features/object/values\";\n// import \"core-js/features/promise\";\n// https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/String/endsWIth\nif (!String.prototype.startsWith) {\n // @see\n String.prototype.startsWith = function (searchString, position) {\n position = position || 0;\n return this.indexOf(searchString, position) === position;\n };\n} // https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/String/endsWith\n\n\nif (!String.prototype.endsWith) {\n String.prototype.endsWith = function (searchString, position) {\n var subjectString = this.toString();\n\n if (typeof position !== \"number\" || !isFinite(position) || Math.floor(position) !== position || position > subjectString.length) {\n position = subjectString.length;\n }\n\n position -= searchString.length;\n var lastIndex = subjectString.indexOf(searchString, position);\n return lastIndex !== -1 && lastIndex === position;\n };\n} // https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttributeNames\n\n\nif (Element.prototype.getAttributeNames == undefined) {\n Element.prototype.getAttributeNames = function () {\n var attributes = this.attributes;\n var length = attributes.length;\n var result = new Array(length);\n\n for (var i = 0; i < length; i++) {\n result[i] = attributes[i].name;\n }\n\n return result;\n };\n} // https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent#Polyfill\n\n\n(function () {\n if (typeof window.CustomEvent === \"function\") return;\n\n function CustomEvent(event, params) {\n params = params || {\n bubbles: false,\n cancelable: false,\n detail: null\n };\n var evt = document.createEvent(\"CustomEvent\");\n evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail);\n return evt;\n }\n\n window.CustomEvent = CustomEvent;\n})(); // https://github.com/KhaledElAnsari/Object.values\n\n\nObject.values = Object.values ? Object.values : function (obj) {\n var allowedTypes = [\"[object String]\", \"[object Object]\", \"[object Array]\", \"[object Function]\"];\n var objType = Object.prototype.toString.call(obj);\n\n if (obj === null || typeof obj === \"undefined\") {\n throw new TypeError(\"Cannot convert undefined or null to object\");\n } else if (!~allowedTypes.indexOf(objType)) {\n return [];\n } else {\n // if ES6 is supported\n if (Object.keys) {\n return Object.keys(obj).map(function (key) {\n return obj[key];\n });\n }\n\n var result = [];\n\n for (var prop in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, prop)) {\n result.push(obj[prop]);\n }\n }\n\n return result;\n }\n}; // https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/Object/assign\n\nif (typeof Object.assign != \"function\") {\n // Must be writable: true, enumerable: false, configurable: true\n Object.defineProperty(Object, \"assign\", {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n value: function assign() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n var target = args[0]; // .length of function is 2\n\n \"use strict\";\n\n if (target == null) {\n // TypeError if undefined or null\n throw new TypeError(\"Cannot convert undefined or null to object\");\n }\n\n var to = Object(target);\n\n for (var index = 1; index < args.length; index++) {\n var nextSource = args[index];\n\n if (nextSource != null) {\n // Skip over if undefined or null\n for (var nextKey in nextSource) {\n // Avoid bugs when hasOwnProperty is shadowed\n if (Object.prototype.hasOwnProperty.call(nextSource, nextKey)) {\n to[nextKey] = nextSource[nextKey];\n }\n }\n }\n }\n\n return to;\n },\n writable: true,\n configurable: true\n });\n} // https://stackoverflow.com/a/20428914/5506547\n\n\n(function (arr) {\n arr.forEach(function (item) {\n // eslint-disable-next-line no-prototype-builtins\n if (item.hasOwnProperty(\"remove\")) {\n return;\n }\n\n Object.defineProperty(item, \"remove\", {\n configurable: true,\n enumerable: true,\n writable: true,\n value: function remove() {\n this.parentNode.removeChild(this);\n }\n });\n });\n})([Element.prototype, CharacterData.prototype, DocumentType.prototype]);","/**\n * Wait DOM is ready depending on a state.\n *\n * - `interactive`: Defer scripts are executing, but DOM is ready\n * - `complete`: All scripts including deferred ones are executed and DOM is ready\n *\n * @see https://stackoverflow.com/a/65430734/5506547\n * @see https://stackoverflow.com/a/51980980/5506547\n */\nvar ready = function ready(fn) {\n var state = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : \"complete\";\n return new Promise(function (resolve) {\n var cb = function cb() {\n fn === null || fn === void 0 ? void 0 : fn(); // We need to make this promise non-blocking. E.g. on Safari this\n // could lead to issues as the `readystatechange` event listener\n // can be nested (once `interactive`, then waiting `complete`)\n // Imagine, you are using an `await ready` within a `ready(fn)` statement.\n\n setTimeout(resolve, 0);\n };\n\n if (document.readyState === state) {\n cb();\n } else {\n document.addEventListener(\"readystatechange\", function () {\n if (document.readyState === state) {\n cb();\n }\n });\n }\n });\n};\n\nexport { ready };","var TEST_COOKIE_NAME = \"real_cookie_banner-test\";\n/**\n * Check if the current environment supports cookies.\n *\n * @see https://git.io/JcXiP\n * @returns\n */\n\nfunction supportsCookies() {\n try {\n document.cookie = \"\".concat(TEST_COOKIE_NAME, \"=1\");\n var result = document.cookie.indexOf(\"\".concat(TEST_COOKIE_NAME, \"=\")) !== -1;\n document.cookie = \"\".concat(TEST_COOKIE_NAME, \"=1; expires=Thu, 01-Jan-1970 00:00:01 GMT\");\n return result;\n } catch (e) {\n return false;\n }\n}\n\nexport { supportsCookies };","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","var scriptUrl;\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \"\";\nvar document = __webpack_require__.g.document;\nif (!scriptUrl && document) {\n\tif (document.currentScript)\n\t\tscriptUrl = document.currentScript.src\n\tif (!scriptUrl) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tif(scripts.length) scriptUrl = scripts[scripts.length - 1].src\n\t}\n}\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\n// or pass an empty string (\"\") and set the __webpack_public_path__ variable from your code to use your own logic.\nif (!scriptUrl) throw new Error(\"Automatic publicPath is not supported in this browser\");\nscriptUrl = scriptUrl.replace(/#.*$/, \"\").replace(/\\?.*$/, \"\").replace(/\\/[^\\/]+$/, \"/\");\n__webpack_require__.p = scriptUrl;","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t392: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkIds[i]] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkrealCookieBanner_name_\"] = self[\"webpackChunkrealCookieBanner_name_\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\n__webpack_require__.O(undefined, [568], function() { return __webpack_require__(6652); })\nvar __webpack_exports__ = __webpack_require__.O(undefined, [568], function() { return __webpack_require__(4773); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["deferred","DYNAMICS_VARIABLE_REGEXP","applyDynamicsToHtml","src","dynamics","replace","fullMatch","variableName","Object","prototype","hasOwnProperty","call","HTML_ATTRIBUTE_CAPTURE_PREFIX","HTML_ATTRIBUTE_CAPTURE_CLICK_PREFIX","HTML_ATTRIBUTE_CAPTURE_SUFFIX","HTML_ATTRIBUTE_BY","HTML_ATTRIBUTE_COOKIE_IDS","HTML_ATTRIBUTE_VISUAL_PARENT","HTML_ATTRIBUTE_VISUAL_PAINT_MODE","HTML_ATTRIBUTE_INLINE","HTML_ATTRIBUTE_INLINE_STYLE","HTML_ATTRIBUTE_BLOCKER_ID","HTML_TAG_CONSENT_SCRIPT","HTML_ATTRIBUTE_BLOCKER_CONNECTED","HTML_ATTRIBUTE_BLOCKER_CONNECTED_PRESERVED","HTML_ATTRIBUTE_UNBLOCKED_TRANSACTION_COMPLETE","HTML_ATTRIBUTE_TRANSFORM_WRAPPER","HTML_ATTRIBUTE_TRANSFORM_WRAPPER_VALUE","HTML_ATTRIBUTE_WAS_PREVIOUSLY_STRICT_HIDDEN","HTML_ATTRIBUTE_RESET_PARENT","HTML_ATTRIBUTE_RESET_PARENT_VALUE","HTML_ATTRIBUTE_RESET_PARENT_IS_RATIO_CONTAINER","HTML_ATTRIBUTE_GOT_CLICKED","HTML_ATTRIBUTE_GOT_CLICKED_VALUE","HTML_ATTRIBUTE_GOT_CLICKED_VALUE_DO_NOT_USE_IN_NESTED","HTML_ATTRIBUTE_THUMBNAIL","WINDOW_ONLOAD_UNBLOCK_REPLACEMENT","putHtmlCodeToDom","html","referenceNode","arguments","length","undefined","document","body","Promise","resolve","done","error","e","console","beforeWriteToken","token","attrs","booleanAttrs","href","content","attr","concat","querySelector","OPT_IN_CONTENT_BLOCKER","dispatchResizeEvent","delay","setTimeout","window","dispatchEvent","Event","htmlDecode","input","_doc$querySelector","DOMParser","parseFromString","documentElement","textContent","isUrl","url","test","parents","element","selector","elements","elem","parentElement","nodeType","Node","ELEMENT_NODE","push","matchingSelector","proto","Element","nativeFunction","matches","matchesSelector","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector","matchingElements","querySelectorAll","matchIdx","commonUrlBuilder","_ref","location","_ref$params","params","_ref$nonce","nonce","options","apiUrl","restRoot","query","permalinkPath","rest_route","pathname","foundParams","path","match","group","getParams","_i","_Object$keys","keys","checkParam","indexOf","usePath","namespace","restNamespace","useThisProtocol","protocol","slice","set","restNonce","_wpnonce","currentApiUrlString","toString","filter","s","method","_method","restQuery","pool","recreateFetchPool","nonceDeprecationPool","_x","_x2","_nonceDeprecationPool","apply","this","_callee2","restRecreateNonceEndpoint","resultPromise","returnNonce","_context2","prev","next","_callee","reject","recreateFetch","newNonce","_context","sent","ok","text","t0","stop","_x3","_x4","abrupt","all","values","parseResult","_parseResult","result","cloneForFallback","lastError","_iterator","_step","line","clone","json","warn","split","n","value","startsWith","JSON","parse","t1","t2","f","finish","CONTENT_TYPE_JSON","commonRequest","_commonRequest","routeRequest","_ref$settings","settings","_ref$multipart","multipart","_ref$sendRestNonce","sendRestNonce","allowBody","hasRestNonce","init","apiUrlBuilt","responseJSON","replay","resultAny","request","stringify","headers","Accept","code","status","detectCorruptRestApiFailed","RouteHttpVerb","untrailingslashit","str","endsWith","trailingslashit","getWebpackPublicPath","env","slug","g","toUpperCase","publicUrl","chunkFolder","unblock","ref","createElement","found","blocker","isPseudoRef","loop1","_step2","row","hosts","_iterator2","host","regexp","err","setAttribute","cookies","join","id","addEventListener","remove","appendChild","bannerInlineStylesScale","useWidthOfThisContainerId","original","replaceWith","enabled","scalePercent","scalePercentVertical","hexToRgb","hex","exec","r","parseInt","b","calculateOverlay","alpha","_hexToRgb","useBannerButtons","_useBanner","individualPrivacyOpen","onSave","updateGroupChecked","updateCookieChecked","groups","essentialGroup","updateIndividualPrivacyOpen","activeAction","onClose","buttonClickedAll","buttonClickedEssentials","buttonClickedCloseIcon","buttonClickedCustom","acceptAll","forEach","acceptEssentials","isCloseIcon","items","_step$value","legalBasis","cookieId","acceptIndividual","openIndividualPrivacy","closeIcon","Portal","children","className","_ref$tag","tag","renderInContainer","_useState","el","classList","add","renderIn","removeChild","counter","CloseIcon","width","color","tooltipText","framed","tooltipAlways","onClick","_ref$thickness","thickness","idCloseIconNotPortaled","idCloseIconPortaled","idCloseIconPlaceholder","rect","usePlainCss","y","x","h","title","position","always","BannerCloseIcon","_useBanner$headerDesi","headerDesign","fontSize","fontColor","texts","mobile","pageRequestUuid4","_useBanner$buttonClic","buttonClicked","_useBannerButtons","_getOtherOptionsFromW2","getOtherOptionsFromWindow","bannerI18n","close","closeWithoutSaving","container","getElementById","clientWidth","BannerHeader","_","_ref$layout","type","dialogBorderRadius","_ref$design","borderWidth","borderColor","restDesign","_ref$headerDesign","inheritBg","bg","padding","antiAdBlocker","useType","useBorderWidth","style","banner","_banner$headerDesign","logo","logoRetina","showCloseIcon","decision","headline","individualTexts","headerTitlePrivacyPolicyHistory","useRetina","devicePixelRatio","useLogo","useHeadline","layout","design","customCss","map","p","background","borderRadius","zIndex","top","borderTop","borderLeft","borderRight","bannerMaxWidth","textAlign","inheritTextAlign","logoPosition","restHeaderDesign","individualLayout","useTextAlign","transition","maxWidth","inheritBannerMaxWidth","margin","display","justifyContent","alignItems","flexDirection","bannerHeaderInlineStyle","alt","isRetina","logoMaxHeight","logoMargin","logoFitDim","logoRetinaFitDim","useFitDim","dimStyle","height","m","bannerHeaderInlineStyleLogo","fontInheritFamily","fontFamily","fontWeight","bannerHeaderInlineStyleHeadline","BannerGroupSectionTitle","_ref$group","headlineFontSize","headlineFontColor","headlineFontWeight","bannerGroupsInlineStyleTitle","descriptionFontColor","descriptionFontSize","marginTop","bannerGroupsInlineStyleDescription","bannerGroupsInlineStyleCheckbox","visible","checked","isDisabled","checkboxBg","checkboxBorderWidth","checkboxBorderColor","checkboxActiveBg","checkboxActiveBorderColor","checkboxActiveColor","useFontSize","useCheckboxBorderWidth","cursor","opacity","border","marginRight","verticalAlign","lineHeight","boxSizing","bannerGroupsInlineStyleLinkMore","isHover","linkTextDecoration","linkColor","linkHoverColor","textDecoration","BannerCookieProperty","label","useValue","wordBreak","target","rel","dangerouslySetInnerHTML","__html","key","groupBorderWidth","groupBorderColor","paddingLeft","bannerGroupsInlineStyleCookieProperty","BannerCookie","_consent$groups","_ref$cookie","cookie","name","purpose","provider","providerPrivacyPolicy","ePrivacyUSA","noTechnicalDefinitions","technicalDefinitions","codeDynamics","_useState2","isRendered","setIsRendered","isEPrivacyUSA","consent","types","isEssentialGroup","isChecked","some","c","handleCheckbox","bannerGroupsInlineStyleCookie","marginBottom","icon","CheckOutlined","legalRequirement","legitimateInterest","yes","no","_ref2","duration","durationUnit","sessionDuration","technicalCookieDefinition","BannerGroup","_consent$groups$id","description","_useState3","_useState4","setIsHover","_useState5","_useState6","isOpen","setIsOpen","previewCheckboxActiveState","_banner$individualTex","showMore","hideMore","CheckboxIcon","sort","MinusOutlined","groupBg","groupBorderRadius","groupPadding","groupInheritBg","useGroupBorderWidth","bannerGroupsInlineStyleGroup","preventDefault","onMouseEnter","onMouseLeave","BannerGroups","groupSpacing","useGroups","clear","index","BannerDottedGroup","groupsFirstView","isPro","_ref$bodyDesign","bodyDesign","dottedGroupsInheritFontSize","dottedGroupsFontSize","paddingRight","whiteSpace","bannerInlineStyleBodyDottedGroupItem","dottedGroupsBulletColor","bannerInlineStyleBodyDottedGroupBullet","BannerDottedGroups","lineBreak","BannerHistorySelect","_history$","selectedId","setSelectedId","history","selectHistoryEntry","historyLabel","historySelectNone","descriptionInheritFontSize","uuid","optionStyle","borderBottom","disabled","onChange","tcf","isDoNotTrack","isUnblock","isForwarded","created","Date","toLocaleString","lang","bannerInlineStyleBodyTeaching","teachingsInheritTextAlign","teachingsTextAlign","teachingsInheritFontSize","teachingsFontSize","teachingsInheritFontColor","teachingsFontColor","bannerButtonsInlineStyleCommon","order","fullWidth","marginLeft","hoverBg","hoverFontColor","hoverBorderColor","backgroundColor","overflow","outline","flex","bannerButtonsInlineStyleAcceptEssentials","isTwoButtonRowLayout","isTcf","acceptEssentialsFontSize","acceptEssentialsBg","acceptEssentialsTextAlign","acceptEssentialsBorderColor","acceptEssentialsPadding","acceptEssentialsBorderWidth","acceptEssentialsFontColor","acceptEssentialsFontWeight","acceptEssentialsHoverBg","acceptEssentialsHoverFontColor","acceptEssentialsHoverBorderColor","acceptAllFontWeight","acceptAllFontSize","acceptAllPadding","bannerButtonsInlineStyleAcceptIndividual","acceptIndividualFontSize","acceptIndividualBg","acceptIndividualTextAlign","acceptIndividualBorderColor","acceptIndividualPadding","acceptIndividualBorderWidth","acceptIndividualFontColor","acceptIndividualFontWeight","acceptIndividualHoverBg","acceptIndividualHoverFontColor","acceptIndividualHoverBorderColor","bannerButtonsInlineStyleSave","_ref$saveButton","saveButton","bannerButtonsInlineStyleAcceptAll","acceptAllBg","acceptAllTextAlign","acceptAllBorderColor","acceptAllBorderWidth","acceptAllFontColor","acceptAllHoverBg","acceptAllHoverFontColor","acceptAllHoverBorderColor","BannerButton","inlineStyle","busyOnClick","isBusy","setIsBusy","handleOnClick","_banner$decision","acceptAllOneRowLayout","interactionAttr","useStyleFn","navigator","userAgent","textOverflow","BannerButtons","_banner$texts","didGroupFirstChange","_banner$buttonClicked","handleAll","handleEssentials","handleIndividual","save","BannerBody","_document$getElementB","leftSideContainerRef","rightSideContainerRef","isAgeNotice","ageNotice","teachingsSeparatorActive","ageNoticeBanner","consentForwardingExternalHostsText","consentForwardingExternalHosts","tcfGlobalScope","leftSideId","rightSideId","contentId","consentForwardingExternalHostsFinalText","tcfGlobalScopeFinalText","model","isServiceSpecific","useDescription","Boolean","useEPrivacyUSA","expandGroupsServiceVariable","gvl","vendorConfigurations","vendorConfiguration","stackOrGroups","leftSide","usePadding","float","paddingTop","paddingBottom","bannerInlineStylesLeftSide","descriptionTextAlign","bannerInlineStyleBodyDescription","teachingsSeparatorWidth","teachingsSeparatorHeight","teachingsSeparatorColor","bannerInlineStyleBodyTeachingsSeparator","rightSide","_style","dialogMaxWidth","footerDesign","inheritDialogMaxWidth","bannerInlineStylesRightSide","i","bannerInlineStyleBodyContainer","bannerInlineStyleBody","BannerFooterLink","anchorRest","_ref$footerDesign","bannerFooterInlineStyleLink","BannerFooter","legal","_banner$footerDesign","poweredByLink","linkTarget","poweredLink","isConsentRecord","_getOtherOptionsFromW","affiliate","handleClose","targetAttributes","_useBannerLegalLinks","useBannerLegalLinks","linkPrivacyPolicy","linkImprint","links","link","innerHTML","labelBehind","bottom","bannerFooterInlineStyleContainer","bannerFooterInlineStyle","jsxJoin","linksRow","useBannerRenderedHeightsAsCssVars","cssId","cssElement","previousHeight","recalculate","currentHeight","getBoundingClientRect","Math","floor","animateContainer","ResizeObserver","ro","observe","disconnect","removeEventListener","interval","setInterval","clearInterval","BannerContent","_banner$layout","currentRef","current","showHeader","hideHeader","showScrollBoxShadow","setShowScrollBoxShadow","updateShowScrollBoxShadow","clientHeight","scrollHeight","scrollTop","offsetHeight","hasScrollbar","scrolledToBottom","ceil","platform","headerRef","footerRef","innerHeight","closeIconDistance","maxHeight","bannerContentInlineStyle","useDesignBorderWidth","bannerHeaderInlineStyleSeparator","bannerFooterInlineStyleSeparator","useBannerAnimation","isMobile","innerWidth","isMobileFirefox","toLowerCase","term","animationIn","animationInOnlyMobile","animationOut","animationOutOnlyMobile","useAnimationIn","useAnimationOut","useResettableAnimation","animation","setI","j","setJ","stateAnimation","setStateAnimation","_useState7","_useState8","stateAnimationReset","setStateAnimationReset","_useState9","_useState10","stateDuration","setStateDuration","_useState11","_useState12","stateDurationReset","setStateDurationReset","locationRestConsentGet","HREF_MATCHER","getAnimationRelatedState","isVisible","animationInDuration","animationOutDuration","animationInDelay","animationOutDelay","AnimatedCss","_ref2$animateOnMount","animateOnMount","_ref2$isVisible","_ref2$animationIn","_ref2$animationOut","_ref2$animationInDela","_ref2$animationOutDel","_ref2$animationInDura","_ref2$animationOutDur","_ref2$className","_ref2$style","_useState2$","setAnimationRelatedState","classes","backwardStyle","animationDelay","animationDuration","pointerEvents","isHiddenDueLegal","_banner$legal","imprint","imprintHide","privacyPolicy","privacyPolicyHide","pageId","BannerAnimation","dialogPosition","dialogMargin","bannerPosition","boxShadowEnabled","boxShadowOffsetX","boxShadowOffsetY","boxShadowBlurRadius","boxShadowSpreadRadius","boxShadowColor","boxShadowColorAlpha","animationVisible","_useBannerAnimation","_useResettableAnimati","_useResettableAnimati2","stateAnimationIn","stateAnimationInDuration","_useResettableAnimati3","_useResettableAnimati4","stateAnimationOut","stateAnimationOutDuration","alignment","alignSelf","boxShadow","Banner","_banner$layout2","overlay","_banner$customCss","overlayBlur","css","skipOverlay","gotHiddenDueLegal","hiddenDueLegal","show","_document$body","dataset","rcbPreviousOverflow","useRestrictScrollWhenVisible","openBanner","openHistory","revokeConsent","setInvalidate","updateSize","setHistory","originalConsent","setOriginalConsent","_fetch","_getOptionsFromWindow","_result","_result$","_groups2","_tcf2","getOptionsFromWindow","fetch","_groups","consentGroups","_tcf","useBannerActionType","handleType","successMessage","eventListenerDocumentClick","parent","getAttribute","eventListenerHashChange","hash","substring","bannerOverlayInlineStyleAlignment","overlayBg","overlayBgAlpha","left","right","bannerOverlayInlineStyle","getDefaultDecision","respectLegitimateInterests","_groups$filter","_groups$filter2","essentialGroupObj","ids","_ref3","_ref4","preDecisionGatewaySupportsCookies","supportsCookies","preDecisionGatewayHasPageClass","isCrawler","promiseTimeout","promise","ms","then","Error","locationRestConsentDynamicPredecisionGet","preDecisionGatewayDynamicRequest","_getOptionsFromWindow2","revisionHash","hasDynamicPreDecisions","revision","_document$documentEle","_yield$promiseTimeout","predecision","others","getUserDecision","viewPortWidth","viewPortHeight","_wp_http_referer","preDecisionGatewayIsHiddenDueLegal","preDecisionGatewayIsPreventPreDecision","other","userDecision","isPreventPreDecision","preDecisionGatewayIsCrawler","isAcceptAllForBots","w","doNotTrack","msDoNotTrack","external","msTrackingProtectionEnabled","preDecisionGatewayIsDoNotTrack","isRespectDoNotTrack","preDecisionGatewayUserConsent","WebsiteBanner","customizeValuesBanner","pageIdToPermalink","tcfMetadata","isRefreshSiteAfterConsent","tcfObject","active","tcfMeta","useTcf","_useWebsiteBannerOver","useBannerAnimationCallback","toggleOverlay","_useBannerAnimationCa","useDuration","trim","useWebsiteBannerOverlay","tcfFilterBy","updateTcfFilterBy","newFilter","setContextValue","state","opened","newConsent","groupId","cookieIds","splice","markAsDoNotTrack","appliedConsent","applyConsent","tcfString","refreshSiteAfterSave","reload","additionalChanges","contextValue","toggleWithActiveAction","cancelEvent","stopPropagation","actions","alert","useBannerActions","customizeIdsBanner","_gateways","gateway","applyCookies","ready","CustomEvent","detail","useBannerPreDecisionGateway","listener","BannerContext","Provider","waitObject","_waitObject","getObject","delayNextCheck","maxTries","_args","amazonWidgetsSlotNum","consentSync","typeOrId","allCookies","flat","relevance","td","createRegxpPatternFromWildcardedName","already","relevantCookie","consentGiven","cookieOptIn","_len","args","Array","_key","_consentSync","foundCookie","consentAll","_ref$detail$cookie","presetId","codeOptIn","amznAssoWidgetHtmlId","slotNum","adContainer","_ref5","_ref6","et_pb_map_init","jQuery","google","getSsrPoweredByLink","ensureBodyElement","consentApi","AsciiSpinner","_ref$ms","_ref$chars","chars","BannerDevHint","isLicensed","isDevLicense","noLicense","devLicense","useText","BannerTooltip","_ref$position","_ref$size","size","rounded","noAnimate","bounce","rest","PlainAntdIconAsSvg","svgString","extraSVGAttrs","fill","BannerContextFactory","_Context","Context","context","useBanner","BlockerContextFactory","useBlocker","usePageIdToPermalinkMapLink","mapBanner","mapBlocker","pageByIdUrl","privacyPolicyExternalUrl","privacyPolicyIsExternalUrl","privacyPolicyLabel","imprintExternalUrl","imprintIsExternalUrl","imprintLabel","uniqueId","getElementsByTagName","_element$parentNode","parentNode","locationRestConsentPost","applyConsentForwarding","endpoints","data","promises","endpoint","credentials","_applyConsent","_ref$markAsDoNotTrack","_ref$blocker","blockerThumbnail","_yield$commonRequest","forward","cookie_revision","decision_in_cookie","rcbDisabledCookieComp","getSelectedCookies","selectedGroups","_iterateCookies","setCookiesViaManager","isManagerActive","consentEssentials","iterateCookies","callback","_group","_selectedGroups$_grou","_cookie","_isOptIn","getManagerDependingVariables","useVariableNameCamel","useVariableNamePascal","useGlobalObjectName","charAt","applyOptIn","_applyOptIn","allOptInCookies","_getSelectedCookies","_getManagerDependingV","isManagerOptOut","dataLayerPromise","waitPromises","isOptIn","isOnlyWhenNoConsentToManager","restrictOptInCodeForPreset","applyOptInOutManager","_applyOptInOutManager","dataLayer","event","realCookieBannerOptInEvents","realCookieBannerOptOutEvents","_x5","_x6","deleteCookiesLocally","pattern","RegExp","useStorage","localStorage","sessionStorage","_i2","_Object$keys2","itemName","setItem","tries","getItem","removeItem","locationRestConsentClearDelete","deleteCookiesServer","applyOptOut","_applyOptOut","foundOptOutToDelete","codeOptOut","codeOptOutDelete","_applyCookies","_yield$applyOptIn","applyOptInReady","_yield$applyOptInOutM","applyOptInOutManagerReady","optInAllReady","t3","ATTRIBUTE_EXPRIVACY_NOTE_EXPAND","addedEventListener","truncateAfter","noCookiesReturnEmptyString","ePrivacyNoteMore","none","restLabels","labels","hasAttribute","removeAttribute","getCookieTypeLocalized","http","abbr","local","session","flash","indexedDb","originalPoweredLink","nextElementSibling","rcbPoweredByCacheOuterHTML","outerHTML","cookieValue","cname","decode","matchAll","pop","decodeURIComponent","getCookie","userConsentCookieName","string","separator","out","explode","_split","BANNER_PRE_DECISION_SHOW_EVENT","OPT_IN_ALL_EVENT","OPT_IN_EVENT","OPT_OUT_EVENT","tmp","components","filtered","reduce","acc","curr","String","searchString","subjectString","isFinite","lastIndex","getAttributeNames","attributes","bubbles","cancelable","evt","createEvent","initCustomEvent","obj","objType","TypeError","prop","assign","defineProperty","to","nextSource","nextKey","writable","configurable","CharacterData","DocumentType","item","enumerable","fn","cb","readyState","TEST_COOKIE_NAME","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","exports","module","__webpack_modules__","O","chunkIds","priority","notFulfilled","Infinity","fulfilled","every","getter","__esModule","d","a","definition","o","get","globalThis","Function","Symbol","toStringTag","scriptUrl","importScripts","currentScript","scripts","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","chunkLoadingGlobal","self","bind","__webpack_exports__"],"sourceRoot":""}
|
public/dist/blocker.lite.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
"use strict";var realCookieBanner_blocker;(self.webpackChunkrealCookieBanner_name_=self.webpackChunkrealCookieBanner_name_||[]).push([[518],{9626:function(e,t,n){n.r(t);var r=n(38),o=n(4548),i=n(3102),a=n(55).default,c="listenOptInJqueryFnForContentBlockerNow";function l(e){var t=window.jQuery;if(null!=t&&t.fn){var n,l=t.fn,u=(0,r.Z)(e);try{var s=function(){var e=n.value,r=l[e];if(!r)return"continue";var u=l[c]=l[c]||[];if(u.indexOf(e)>-1)return"continue";u.push(e),l[e]=function(){for(var e=this,n=arguments.length,c=new Array(n),l=0;l<n;l++)c[l]=arguments[l];var u=function(){return r.apply(t(e),c)};return this.length?this.each((function(){var e=Array.prototype.slice.call(this.querySelectorAll("[".concat(o._W,"]")));this.getAttribute(o._W)&&e.push(this),e.length?a.all(e.map((function(e){return new a((function(t){return e.addEventListener(i.T,t)}))}))).then((function(){return u()})):u()})):u()}};for(u.s();!(n=u.n()).done;)s()}catch(e){u.e(e)}finally{u.f()}}}var u=n(63),s=n(55).default,d="rcbJQueryEventListenerMemorize";function v(e,t,n){var r="".concat(d,"_").concat(n),o=(e.defaultView||e.parentWindow).jQuery;if(o){var i=o.event,a=o.Event;i&&a&&!i[r]&&Object.assign(i,(0,u.Z)({},r,new s((function(e){return o(t).on(n,e)}))))}}var f=n(2711),p=n(6794),b=n(9509),h=n(6579),y=n(965),g=n(3438),m=n(5213),k=n(7663),A=n(8498),x=n(4741),C=n(6762),w=n(3340),S=function(){function e(){(0,C.Z)(this,e)}return(0,w.Z)(e,null,[{key:"inner",value:function(e){var t=e.layout,n=t.type,r=t.dialogBorderRadius,o=e.design,i=o.borderWidth,a=o.borderColor,c=o.textAlign,l=o.fontColor,u=o.fontInheritFamily,s=o.fontFamily,d=e.customCss.antiAdBlocker,v="wrapped"===e.blocker.visualType,f={textAlign:c,fontFamily:u?void 0:s,color:l,borderRadius:"dialog"===n?+r:void 0,border:"banner"===n&&i>0?"".concat(i,"px solid ").concat(a):void 0,position:"relative",padding:v?"30px 50px":void 0,overflow:v?"hidden":void 0};return{className:"wp-exclude-emoji ".concat("y"===d?"":"rcb-inner"),style:f}}},{key:"innerBackground",value:function(e){var t=e.customCss.antiAdBlocker,n=e.blocker,r=n.visualType,o=n.visualThumbnail,i=n.visualBlur,a="wrapped"===r,c={position:"absolute",top:0,left:0,right:0,bottom:0,display:a?"block":"none",filter:i>0?"blur(".concat(i,"px)"):void 0};return a&&(c.background="url('".concat(o.url,"') no-repeat center center"),c.backgroundSize="cover"),{className:"y"===t?"":"rcb-inner-bg",style:c}}},{key:"content",value:function(e){var t=e.blocker.visualType;return{className:"y"===e.customCss.antiAdBlocker?void 0:"rcb-content",style:{boxShadow:"wrapped"===t?"rgb(0 0 0 / 35%) 0px 0px 0px 7px, #0000004d 0px 0px 100px 30px":void 0,position:"relative"}}}}]),e}(),B=n(4115),Z=function(){function e(){(0,C.Z)(this,e)}return(0,w.Z)(e,null,[{key:"headerContainer",value:function(e){var t=e.layout,n=t.type,r=t.dialogBorderRadius,o=e.design,i=o.borderWidth,a=o.borderColor,c=(0,B.Z)(o,["borderWidth","borderColor"]),l=e.headerDesign,u=l.inheritBg,s=l.bg,d=l.padding,v=e.customCss.antiAdBlocker,f={padding:d.map((function(e){return"".concat(e,"px")})).join(" "),background:u?c.bg:s,borderRadius:"dialog"===n?"".concat(r,"px ").concat(r,"px 0 0"):void 0};return"dialog"===n&&i>0&&(f.borderTop="".concat(i,"px solid ").concat(a),f.borderLeft=f.borderTop,f.borderRight=f.borderTop),{className:"y"===v?void 0:"rcb-header-container",style:f}}},{key:"header",value:function(e){var t=e.design.textAlign,n=e.headerDesign,r=n.inheritTextAlign,o=(0,B.Z)(n,["inheritTextAlign"]),i=e.customCss.antiAdBlocker,a=r?t:o.textAlign;return{className:"y"===i?void 0:"rcb-header",style:{margin:"auto",display:"flex",justifyContent:"center"===a?"center":"right"===a?"flex-end":void 0,alignItems:"center",position:"relative"}}}},{key:"headline",value:function(e,t){var n=e.headerDesign,r=n.fontSize,o=n.fontColor,i=n.fontInheritFamily,a=n.fontFamily;return{className:"y"===e.customCss.antiAdBlocker?void 0:"rcb-headline",style:{color:o,fontSize:+r,lineHeight:1.8,fontFamily:i?void 0:a,paddingRight:t?20:void 0}}}},{key:"headerSeparator",value:function(e){var t=e.layout.type,n=e.design,r=e.headerDesign,o=r.borderWidth,i=r.borderColor,a=e.customCss.antiAdBlocker,c={height:+o,background:i};return"dialog"===t&&n.borderWidth>0&&(c.borderLeft="".concat(n.borderWidth,"px solid ").concat(n.borderColor),c.borderRight=c.borderLeft),{className:"y"===a?void 0:"rcb-header-separator",style:c}}}]),e}(),_=n(7029).h,E=function(e){var t=e.closeIcon,n=(0,A._)(),r=n.blocker.name,o=n.texts.blockerHeadline;return _("div",Z.headerContainer(n),_("div",Z.header(n),_("div",Z.headline(n,!!t),o.replace(/{{name}}/g,r)),t))},T=function(){function e(){(0,C.Z)(this,e)}return(0,w.Z)(e,null,[{key:"bodyContainer",value:function(e){var t=e.layout,n=t.type,r=t.dialogBorderRadius,o=e.design,i=o.bg,a=o.borderWidth,c=o.borderColor,l=e.bodyDesign.padding,u=e.customCss.antiAdBlocker,s=e.showFooter,d={background:i,padding:l.map((function(e){return"".concat(e,"px")})).join(" "),borderRadius:s||"dialog"!==n?void 0:"0 0 ".concat(r,"px ").concat(r,"px"),lineHeight:1.4,overflow:"auto"};return"dialog"===n&&a>0&&(d.borderLeft="".concat(a,"px solid ").concat(c),d.borderRight=d.borderLeft,s||(d.borderBottom=d.borderLeft)),{className:"y"===u?void 0:"rcb-body-container",style:d}}},{key:"body",value:function(e){return{className:"y"===e.customCss.antiAdBlocker?void 0:"rcb-body",style:{margin:"auto"}}}},{key:"description",value:function(e){var t=e.design.fontSize,n=e.bodyDesign,r=n.descriptionInheritFontSize,o=n.descriptionFontSize,i=e.individualLayout.descriptionTextAlign;return{className:"y"===e.customCss.antiAdBlocker?void 0:"rcb-description",style:{marginBottom:10,fontSize:r?+t:+o,textAlign:i}}}},{key:"teachingsSeparator",value:function(e){var t=e.layout.borderRadius,n=e.bodyDesign,r=n.teachingsSeparatorActive,o=n.teachingsSeparatorWidth,i=n.teachingsSeparatorHeight,a=n.teachingsSeparatorColor;return{className:"y"===e.customCss.antiAdBlocker?void 0:"rcb-teachings-separator",style:{marginTop:7,display:"inline-block",maxWidth:"100%",borderRadius:+t,width:+o,height:r?+i:0,background:a}}}},{key:"teaching",value:function(e){var t=e.bodyDesign,n=t.teachingsInheritTextAlign,r=t.teachingsTextAlign,o=t.teachingsInheritFontSize,i=t.teachingsFontSize,a=t.teachingsInheritFontColor,c=t.teachingsFontColor;return{className:"y"===e.customCss.antiAdBlocker?void 0:"rcb-teachings",style:{marginTop:7,display:"inline-block",textAlign:n?void 0:r,fontSize:o?void 0:+i,color:a?void 0:c}}}}]),e}(),I=function(){function e(){(0,C.Z)(this,e)}return(0,w.Z)(e,null,[{key:"topSide",value:function(e){return{className:"y"===e.customCss.antiAdBlocker?void 0:"rcb-tb-top",style:{marginBottom:15}}}},{key:"bottomSide",value:function(e){var t=e.design.bg;return{className:"y"===e.customCss.antiAdBlocker?void 0:"rcb-tb-bottom",style:{background:t}}}}]),e}(),N=function(){function e(){(0,C.Z)(this,e)}return(0,w.Z)(e,null,[{key:"save",value:function(e,t,n){var r=e.decision.acceptAll,o=e.layout.borderRadius,i=e.design.linkTextDecoration,a=e.bodyDesign,c=a.acceptAllFontSize,l=a.acceptAllBg,u=a.acceptAllTextAlign,s=a.acceptAllBorderColor,d=a.acceptAllPadding,v=a.acceptAllBorderWidth,f=a.acceptAllFontColor,p=a.acceptAllHoverBg,b=a.acceptAllHoverFontColor,h=a.acceptAllHoverBorderColor,y=e.customCss.antiAdBlocker;return this.common({name:"accept-all",type:r,borderRadius:o,bg:l,hoverBg:p,fontSize:c,textAlign:u,linkTextDecoration:i,fontColor:f,hoverFontColor:b,borderWidth:v,borderColor:s,hoverBorderColor:h,padding:d,antiAdBlocker:y},t,n)}},{key:"showInfo",value:function(e,t,n){var r=e.decision.acceptIndividual,o=e.layout.borderRadius,i=e.design.linkTextDecoration,a=e.bodyDesign,c=a.acceptIndividualFontSize,l=a.acceptIndividualBg,u=a.acceptIndividualTextAlign,s=a.acceptIndividualBorderColor,d=a.acceptIndividualPadding,v=a.acceptIndividualBorderWidth,f=a.acceptIndividualFontColor,p=a.acceptIndividualHoverBg,b=a.acceptIndividualHoverFontColor,h=a.acceptIndividualHoverBorderColor,y=e.customCss.antiAdBlocker;return this.common({name:"accept-individual",type:r,borderRadius:o,bg:l,hoverBg:p,fontSize:c,textAlign:u,linkTextDecoration:i,fontColor:f,hoverFontColor:b,borderWidth:v,borderColor:s,hoverBorderColor:h,padding:d,antiAdBlocker:y},t,n)}},{key:"hero",value:function(e,t,n){var r=e.decision.acceptAll,o=e.layout.borderRadius,i=e.design.linkTextDecoration,a=e.bodyDesign,c=a.acceptAllFontSize,l=a.acceptAllBg,u=a.acceptAllTextAlign,s=a.acceptAllBorderColor,d=a.acceptAllPadding,v=a.acceptAllBorderWidth,f=a.acceptAllFontColor,p=a.acceptAllHoverBg,b=a.acceptAllHoverFontColor,h=a.acceptAllHoverBorderColor,y=e.customCss.antiAdBlocker;return this.common({name:"accept-all",type:r,borderRadius:o,bg:l,hoverBg:p,fontSize:c,textAlign:u,linkTextDecoration:i,fontColor:f,hoverFontColor:b,borderWidth:v,borderColor:s,hoverBorderColor:h,padding:d,boxShadow:"rgb(0 0 0 / 15%) 0px 0px 100px 30px, rgb(0 0 0 / 40%) 0px 2px 5px 1px",zIndex:9,antiAdBlocker:y},t,n)}},{key:"common",value:function(e,t,n){var r=e.name,o=e.type,i=e.borderRadius,a=e.bg,c=e.hoverBg,l=e.fontSize,u=e.textAlign,s=e.linkTextDecoration,d=e.fontColor,v=e.hoverFontColor,f=e.borderWidth,p=e.borderColor,b=e.hoverBorderColor,h=e.padding,y=e.boxShadow,g=e.zIndex,m=e.antiAdBlocker,k={textDecoration:"link"===o?s:"none",borderRadius:+i,cursor:"button"===o?"pointer":void 0,backgroundColor:"button"===o?t?c:a:void 0,fontSize:+l,textAlign:u,color:t?v:d,transition:"background-color 250ms, color 250ms, border-color 250ms",marginBottom:10,border:"button"===o&&f>0?"".concat(f,"px solid ").concat(t?b:p):void 0,padding:h.map((function(e){return"".concat(e,"px")})).join(" "),overflow:"hidden",outline:n?"rgb(255, 94, 94) solid 5px":void 0,boxShadow:y,zIndex:g};return{className:"y"===m?void 0:"rcb-btn-".concat(r),style:k}}}]),e}(),L=n(6125),O=n(7029).h,P=function(e){var t=e.inlineStyle,n=e.type,r=e.onClick,o=e.children,i=e.framed,a=e.busyOnClick;if("hide"===n)return null;var c=(0,m.eJ)(!1),l=(0,k.Z)(c,2),u=l[0],s=l[1],d=(0,m.I4)((function(e){u||(a&&s(!0),null==r||r(e))}),[r,u,a]),v=(0,m.eJ)(!1),p=(0,k.Z)(v,2),b=p[0],h=p[1],y=(0,A._)(),g={onClick:d,onMouseEnter:function(){return h(!0)},onMouseLeave:function(){return h(!1)}};return O("div",(0,x.Z)({},"button"===n?g:{},N[t](y,b,i)),O("span","link"===n?(0,f.Z)((0,f.Z)({},g),{},{style:{cursor:"pointer"}}):{},u?O(L.X,null):o))},W=function(){function e(){(0,C.Z)(this,e)}return(0,w.Z)(e,null,[{key:"cookieScroll",value:function(e){var t=e.design.fontSize,n=e.bodyDesign,r=n.descriptionInheritFontSize,o=n.descriptionFontSize;return{className:"y"===e.customCss.antiAdBlocker?void 0:"rcb-cookie-scroll",style:{fontSize:r?+t:+o,textAlign:"left",marginBottom:10,maxHeight:400,overflowY:"scroll",paddingRight:10}}}},{key:"checkbox",value:function(e,t,n,r,o){var i=e.layout.borderRadius,a=e.group,c=a.headlineFontSize,l=a.checkboxBg,u=a.checkboxBorderWidth,s=a.checkboxBorderColor,d=a.checkboxActiveBg,v=a.checkboxActiveBorderColor,f=a.checkboxActiveColor,p=+(o||c)+2*+u+6;return{className:"y"===e.customCss.antiAdBlocker?void 0:"rcb-checkbox",style:{cursor:r?"not-allowed":"pointer",opacity:r?.5:void 0,color:n?f:l,display:t?"inline-block":"none",background:n?d:l,border:"".concat(u,"px solid ").concat(n?v:s),padding:3,height:p,width:p,marginRight:10,borderRadius:+i,verticalAlign:"middle",lineHeight:0,boxSizing:"border-box"}}}},{key:"linkMore",value:function(e,t){var n=e.design.linkTextDecoration,r=e.group,o=r.linkColor,i=r.linkHoverColor;return{className:"y"===e.customCss.antiAdBlocker?void 0:"rcb-group-more",style:{color:t?i:o,textDecoration:n}}}},{key:"cookie",value:function(e){return{className:"y"===e.customCss.antiAdBlocker?void 0:"rcb-cookie",style:{marginTop:10}}}},{key:"cookieProperty",value:function(e){var t=e.group,n=t.groupBorderWidth,r=t.groupBorderColor;return{className:"y"===e.customCss.antiAdBlocker?void 0:"rcb-cookie-prop",style:{borderLeft:n>0?"1px solid ".concat(r):void 0,paddingLeft:15}}}}]),e}(),D=n(3137),H=n(7029).h,F=function(e){var t=e.label,n=e.value,r=e.children,o=(0,A._)(),i="string"==typeof n&&(0,D.C)(n)?H("a",{href:n,style:(0,f.Z)({wordBreak:"break-all"},W.linkMore(o,!1).style),target:"_blank",rel:"noopener noreferrer"},n):"string"==typeof n?H("span",{dangerouslySetInnerHTML:{__html:n}}):n;return H("div",(0,x.Z)({key:t},W.cookieProperty(o)),H("strong",null,t,": "),i,!!r&&H("div",null,r))},z=n(1802),R=n(3282),M=n(569),V=n(2891),j=n(7029).h,Y=function(e){var t=e.cookie,n=t.name,r=t.purpose,o=t.provider,i=t.providerPrivacyPolicy,a=t.ePrivacyUSA,c=t.noTechnicalDefinitions,l=t.technicalDefinitions,u=t.codeDynamics,s=(0,m.eJ)(!1),d=(0,k.Z)(s,2),v=d[0],f=d[1],p=(0,A._)(),b=p.ePrivacyUSA,h=p.group.descriptionFontSize,y=(0,g.u)().bannerI18n,C=(0,z.w)();return(0,m.bt)((function(){f(!0)}),[]),j("div",W.cookie(p),j("div",{style:{marginBottom:10}},j(M.p,(0,x.Z)({icon:R.Z},W.checkbox(p,v,!0,!0,h))),j("strong",{style:{verticalAlign:"middle"}},n)),!!r&&j(F,{label:y.purpose,value:r}),j(F,{label:y.provider,value:o}),!!i&&j(F,{label:y.providerPrivacyPolicy,value:i}),!!b&&j(F,{label:y.ePrivacyUSA,value:a?y.yes:y.no}),!c&&l.map((function(e){var t=e.type,n=e.name,r=e.host,o=e.duration,i=e.durationUnit,a=e.sessionDuration;return j(F,{key:n,label:y.technicalCookieDefinition,value:j("span",{style:{fontFamily:"monospace"}},(0,V.c)(n,u))},j(F,{label:y.type,value:C[t].name}),!!r&&j(F,{label:y.host,value:j("span",{style:{fontFamily:"monospace"}},r)}),-1===["local","session","indexedDb","flash"].indexOf(t)&&j(F,{label:y.duration,value:a?"Session":"".concat(o," ").concat(y.durationUnit[i])}))})))},q=n(8001),K=n(2099),U=n(7029).h,G=function(){var e=(0,A._)(),t=(0,m.eJ)(!1),n=(0,k.Z)(t,2),o=n[0],i=n[1],a=e.ePrivacyUSA,c=e.ageNotice,l=e.bodyDesign.teachingsSeparatorActive,u=e.decision,s=u.acceptAll,d=u.acceptIndividual,v=e.texts,f=v.ePrivacyUSA,p=v.ageNoticeBlocker,b=v.blockerLoadButton,h=v.blockerLinkShowMissing,C=v.blockerAcceptInfo,w=e.blocker,S=w.description,B=w.cookies,Z=e.consent,_=e.groups,E=e.onUnblock,N=(0,g.u)().bannerI18n.close,L=(0,m.Ye)((function(){for(var e=[],t=[],n=0,o=Object.values(Z.groups);n<o.length;n++){var i=o[n];t.push.apply(t,(0,y.Z)(i))}var a,c=(0,r.Z)(_);try{for(c.s();!(a=c.n()).done;){var l,u=a.value.items,s=(0,r.Z)(u);try{for(s.s();!(l=s.n()).done;){var d=l.value;B.indexOf(d.id)>-1&&-1===t.indexOf(d.id)&&e.push(d)}}catch(e){s.e(e)}finally{s.f()}}}catch(e){c.e(e)}finally{c.f()}return e}),[_,B,Z]),O=!!a&&L.map((function(e){return e.ePrivacyUSA})).filter(Boolean).length>0,D=(0,q.Q)(_,void 0,O?f:"",(function(e){return e.ePrivacyUSA})),H=!!S||O||c;return U("div",T.bodyContainer(e),U("div",T.body(e),U("div",I.topSide(e),H&&U("div",T.description(e),!!S&&U(m.HY,null,U("span",{dangerouslySetInnerHTML:{__html:S.replace(/\n/gm,"<br />")}}),l&&U("div",null,U("span",T.teachingsSeparator(e)))),U(m.HY,null,!!D&&U("span",(0,x.Z)({},T.teaching(e),{dangerouslySetInnerHTML:{__html:D}})),c&&!!p&&U("span",(0,x.Z)({},T.teaching(e),{dangerouslySetInnerHTML:{__html:p}})),U("span",(0,x.Z)({},T.teaching(e),{dangerouslySetInnerHTML:{__html:C}})))),U(P,{type:"hide"===d?"link":d,inlineStyle:"showInfo",onClick:function(){return i(!o)}},o?N:h),o&&U("div",W.cookieScroll(e),L.map((function(e){return U(Y,{key:e.id,cookie:e})})))),U("div",I.bottomSide(e),U(P,{type:"hide"===s?"button":s,inlineStyle:"save",onClick:function(e){return E(e)},busyOnClick:!0},b),U(K.m,null))))},J=function(){function e(){(0,C.Z)(this,e)}return(0,w.Z)(e,null,[{key:"footerContainer",value:function(e){var t=e.layout,n=t.type,r=t.dialogBorderRadius,o=e.design,i=e.footerDesign,a=i.inheritBg,c=i.bg,l=i.inheritTextAlign,u=i.textAlign,s=i.padding,d=i.fontSize,v=i.fontColor,f=e.customCss.antiAdBlocker,p={padding:s.map((function(e){return"".concat(e,"px")})).join(" "),background:a?o.bg:c,borderRadius:"dialog"===n?"0 0 ".concat(r,"px ").concat(r,"px"):void 0,fontSize:+d,color:v,textAlign:l?o.textAlign:u};return"dialog"===n&&o.borderWidth>0&&(p.borderBottom="".concat(o.borderWidth,"px solid ").concat(o.borderColor),p.borderLeft=p.borderBottom,p.borderRight=p.borderBottom),{className:"y"===f?void 0:"rcb-footer-container",style:p}}},{key:"footer",value:function(e){return{className:"y"===e.customCss.antiAdBlocker?void 0:"rcb-footer",style:{margin:"auto",lineHeight:1.8}}}},{key:"footerSeparator",value:function(e){var t=e.layout.type,n=e.design,r=e.footerDesign,o=r.borderWidth,i=r.borderColor,a=e.customCss.antiAdBlocker,c={height:+o,background:i};return"dialog"===t&&n.borderWidth>0&&(c.borderLeft="".concat(n.borderWidth,"px solid ").concat(n.borderColor),c.borderRight=c.borderLeft),{className:"y"===a?void 0:"rcb-footer-separator",style:c}}},{key:"footerLink",value:function(e){var t=e.footerDesign,n=t.fontSize,r=t.fontColor,o=t.hoverFontColor,i=t.fontInheritFamily,a=t.fontFamily,c=e.design.linkTextDecoration,l=e.customCss.antiAdBlocker,u=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s={textDecoration:c,fontSize:+n,color:u?o:r,fontFamily:i?void 0:a,padding:"0 5px"};return{className:"y"===l?void 0:"rcb-footer-link",style:s}}}]),e}(),Q=n(7029).h,$=function(e){var t=e.children,n=(0,B.Z)(e,["children"]),r=(0,A._)(),o=(0,m.eJ)(!1),i=(0,k.Z)(o,2),a=i[0],c=i[1];return Q("a",(0,x.Z)({onMouseEnter:function(){return c(!0)},onMouseLeave:function(){return c(!1)}},J.footerLink(r,a),n),t)},X=n(6102),ee=n(6161),te=n(4450),ne=n(7029).h,re=function(){var e=(0,A._)(),t=e.legal,n=e.footerDesign,r=n.poweredByLink,o=n.linkTarget,i=e.poweredLink,a="_blank"===o?{target:"_blank",rel:"noopener"}:{},c=(0,g.u)().affiliate,l=(0,te.X)(t),u=l.linkPrivacyPolicy,s=l.linkImprint,d=(0,X.e)([u&&ne($,(0,x.Z)({href:u.url},a,{key:"privacyPolicy"}),u.label),s&&ne($,(0,x.Z)({href:s.url},a,{key:"imprint"}),s.label)],ne(m.HY,null," • "));return ne("div",J.footerContainer(e),ne("div",J.footer(e),d,!!i&&r&&ne(m.HY,null,null!==d&&ne("br",null),ne($,{href:c?c.link:i.href,target:i.target},ne("span",{dangerouslySetInnerHTML:{__html:i.innerHTML}}),c&&ne(ee.z,{title:c.description}," ",c.labelBehind))," ")))},oe=n(55).default;var ie=n(7029).h,ae=function(e){var t=e.closeIcon,n=(0,A._)(),r=n.showFooter,o=n.paintMode,i=(0,m.sO)(),a="instantInViewport"===o||function(e){var t=(0,m.eJ)(!1),n=(0,k.Z)(t,2),r=n[0],o=n[1];return(0,m.d4)((function(){var t;e.current&&(t=e.current,new oe((function(e){window.IntersectionObserver?new IntersectionObserver((function(t,n){t.forEach((function(t){t.isIntersecting&&(e(),n.disconnect())}))})).observe(t):e()}))).then((function(){o(!0)}))}),[]),r}(i);return ie("div",(0,x.Z)({},S.inner(n),{ref:i}),a&&ie("div",S.innerBackground(n)),ie("div",S.content(n),ie(E,{closeIcon:t}),ie("div",Z.headerSeparator(n)),ie(G,null),!!r&&ie(m.HY,null,ie("div",J.footerSeparator(n)),ie(re,null))))},ce=n(7029).h,le=function(){var e=(0,A._)().blocker;return e.visualType,e.visualThumbnail,ce(ae,null)},ue=n(9094),se=n(7938),de=n(5450),ve=n.n(de),fe=n(6423);function pe(){return(pe=(0,se.Z)(ve().mark((function e(t){var n,o,i,a,c,l,s,d,v,f,p,b,h,y,m,A,x,C,w,S;return ve().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=(0,g.u)(),o=n.essentialGroup,i=n.groups,n.isTcf,n.tcf,n.tcfMetadata,a=t.id,c=t.cookies,l=t.visualThumbnail,s=(0,ue.h)(),d=i.filter((function(e){return e.slug===o})),v=(0,k.Z)(d,1),f=v[0],p=!1===s?{groups:(0,u.Z)({},f.id,f.items.map((function(e){return e.id})))}:{groups:s.consent},b=(0,r.Z)(i),e.prev=6,b.s();case 8:if((h=b.n()).done){e.next=32;break}y=h.value,m=y.id,A=y.items,x=(0,r.Z)(A),e.prev=11,x.s();case 13:if((C=x.n()).done){e.next=22;break}if(w=C.value.id,!(c.indexOf(w)>-1)){e.next=20;break}if(!((null===(S=p.groups[m])||void 0===S?void 0:S.indexOf(w))>-1)){e.next=18;break}return e.abrupt("continue",20);case 18:p.groups[m]=p.groups[m]||[],p.groups[m].push(w);case 20:e.next=13;break;case 22:e.next=27;break;case 24:e.prev=24,e.t0=e.catch(11),x.e(e.t0);case 27:return e.prev=27,x.f(),e.finish(27);case 30:e.next=8;break;case 32:e.next=37;break;case 34:e.prev=34,e.t1=e.catch(6),b.e(e.t1);case 37:return e.prev=37,b.f(),e.finish(37);case 40:return e.next=43,(0,fe.$)({consent:p,buttonClicked:"unblock",blocker:a,blockerThumbnail:null!=l&&l.embedId?"".concat(l.embedId,"-").concat(l.fileMd5):void 0,tcfString:void 0});case 43:case"end":return e.stop()}}),e,null,[[6,34,37,40],[11,24,27,30]])})))).apply(this,arguments)}var be=n(9913),he=n(7029).h,ye=function(e){var t=e.poweredLink,n=e.blocker,r=e.paintMode,i=e.setVisualAsLastClickedVisual,a=(0,ue.h)(),c=(0,g.u)(),l=c.customizeValuesBanner,u=l.layout,s=l.decision,d=l.legal,v=l.design,p=l.headerDesign,b=l.bodyDesign,h=l.footerDesign,y=l.texts,x=l.individualLayout,C=l.saveButton,w=l.group,S=l.individualTexts,B=l.customCss,Z=c.pageIdToPermalink,_=c.consentForwardingExternalHosts,E=c.isTcf,T=c.isEPrivacyUSA,I=c.isAgeNotice,N=c.groups,L={borderWidth:v.borderWidth||1,borderColor:0===v.borderWidth?p.borderWidth>0?p.borderColor:h.borderWidth>0?h.borderColor:v.fontColor:v.borderColor},O=(0,m.eJ)({layout:(0,f.Z)({},u),decision:(0,f.Z)({},s),legal:(0,f.Z)({},d),design:(0,f.Z)((0,f.Z)({},v),L),headerDesign:(0,f.Z)({},p),bodyDesign:(0,f.Z)({},b),footerDesign:(0,f.Z)({},h),texts:(0,f.Z)({},y),individualLayout:(0,f.Z)({},x),saveButton:(0,f.Z)({},C),group:(0,f.Z)({},w),individualTexts:(0,f.Z)({},S),customCss:(0,f.Z)({},B),pageIdToPermalink:Z,consentForwardingExternalHosts:_,paintMode:r,groups:N,poweredLink:t,isTcf:E,ePrivacyUSA:T,ageNotice:I,blocker:n,consent:{groups:(0,f.Z)({},!1===a?{}:a.consent)},onUnblock:function(e){!function(e){pe.apply(this,arguments)}(n),i(e)}}),P=(0,k.Z)(O,1)[0];(0,be.G)([".elementor-background-overlay ~ [".concat(o._W,"] { z-index: 99; }")].join(""));var W=A.Z.Context();return he(W.Provider,{value:P},he(le,null))},ge=!1;function me(e){ge=e}function ke(){return ge}function Ae(e,t,n,r){return r(e,"string"==typeof t?t.split(",").map(Number):t,n)}function xe(e){var t,n=[],i=Array.prototype.slice.call(document.querySelectorAll("[".concat(o._W,"]"))),a=(0,r.Z)(i);try{for(a.s();!(t=a.n()).done;){var c=t.value,l=Ae(c.getAttribute(o.d3),c.getAttribute(o._W),+c.getAttribute(o.CT),e),u=l.blocker,s=l.consent,d=c.className.indexOf("rcb-content-blocker")>-1;n.push({node:c,consent:s,isVisualCb:d,blocker:u})}}catch(e){a.e(e)}finally{a.f()}return n}function Ce(e){return we.apply(this,arguments)}function we(){return(we=(0,se.Z)(ve().mark((function e(t){var n,r;return ve().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=t.getAttribute(o.Ng),t.removeAttribute(o.Ng),r=(r=(r=t.outerHTML.substr(o.v4.length+1)).substr(0,r.length-o.v4.length-3)).replace(new RegExp('type="application/consent"'),""),r="<style ".concat(o.Ng,'="1" ').concat(r).concat(n,"</style>"),t.parentElement.replaceChild((new DOMParser).parseFromString(r,"text/html").querySelector("style"),t);case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Se=n(7033);function Be(e,t){var n=0;return[e.replace(/(url\s*\(["'\s]*)([^"]+dummy\.(?:png|css))\?consent-required=([0-9,]+)&consent-by=(\w+)&consent-id=(\d+)&consent-original-url=([^-]+)-/gm,(function(e,r,o,i,a,c,l){var u=Ae(a,i,+c,t).consent;return u||n++,u?"".concat(r).concat((0,Se.l)(atob(l))):e})),n]}function Ze(e){var t;t=Array.prototype.slice.call(document.querySelectorAll("[".concat(o.Ng,"]")));var n,i=(0,r.Z)(t);try{for(i.s();!(n=i.n()).done;){var a=n.value,c=a.tagName.toLowerCase()===o.v4,l=Be(c?a.getAttribute(o.Ng):a.innerHTML,e),u=(0,k.Z)(l,2),s=u[0],d=u[1];c?(a.setAttribute(o.Ng,s),Ce(a)):(a.innerHTML!==s&&(a.innerHTML=s),0===d&&a.removeAttribute(o.Ng))}}catch(e){i.e(e)}finally{i.f()}t=Array.prototype.slice.call(document.querySelectorAll('[style*="'.concat(o._W,'"]')));var v,f=(0,r.Z)(t);try{for(f.s();!(v=f.n()).done;){var p=v.value;p.setAttribute("style",Be(p.getAttribute("style"),e)[0])}}catch(e){f.e(e)}finally{f.f()}}var _e=n(8935);function Ee(e,t,n){var r=t+10*+(0,_e.K)(e.selectorText)[0].specificity.replace(/,/g,"")+function(e,t){var n;return"important"===(null===(n=e.style)||void 0===n?void 0:n.getPropertyPriority(t))?1e5:0}(e,n);return{selector:e.selectorText,specificity:r}}var Te=n(7932);function Ie(e,t,n,r){for(var o in e){var i=e[o];if(i instanceof CSSStyleRule)try{if((0,Te.D)(t,i.selectorText)){var a=i.style[r];void 0!==a&&""!==a&&n.push((0,f.Z)((0,f.Z)({},Ee(i,n.length,r)),{},{style:a}))}}catch(e){}}}var Ne=["-fit-aspect-ratio","wp-block-embed__wrapper","x-frame-inner"],Le={height:"auto",padding:0},Oe="consent-cb-memo-style";function Pe(e){var t,n=e.parentElement;if(!n)return!1;var r=(null===(t=e.style)||void 0===t?void 0:t.position)||"initial",o=n.style,i=o.position,a=o.padding;return"absolute"===r&&"relative"===i&&a.indexOf("%")>-1}function We(e,t){var n,i,a=e.parentElement,c=[a,null==a?void 0:a.parentElement,null==a||null===(n=a.parentElement)||void 0===n?void 0:n.parentElement].filter(Boolean),l=(0,r.Z)(c);try{var u=function(){var n,r=i.value;if(!r.hasAttribute(o.of)){var c=Ne.filter((function(e){return r.className.indexOf(e)>-1})).length>0,l=r===a&&Pe(e)||c||[0,"0%","0px"].indexOf((n=function(e,t){var n=[];!function(e,t,n){var r=document.styleSheets;for(var o in r){var i=r[o],a=void 0;try{a=i.cssRules||i.rules}catch(e){continue}a&&Ie(a,e,t,n)}}(e,n,t);var r=function(e,t){var n=e.style[t];return n?{selector:"! undefined !",specificity:1e4+(new String(n).match(/\s!important/gi)?1e5:0),style:n}:void 0}(e,t);if(r&&n.push(r),n.length)return function(e){e.sort((function(e,t){return e.specificity>t.specificity?-1:e.specificity<t.specificity?1:0}))}(n),n}(r,"height"),null==n?void 0:n[0].style))>-1;r.setAttribute(o.of,l?"1":"0")}if(t&&"1"===r.getAttribute(o.of)){var u=r.hasAttribute(o.Kh),s=r.getAttribute("style")||"";for(var d in r.removeAttribute(o.Kh),u||(s=s.replace(/display:\s*none\s*!important;/,"")),r.setAttribute(o.Wm,o.Qt),r.setAttribute(Oe,s),Le)r.style.setProperty(d,Le[d],"important");"absolute"===window.getComputedStyle(r).position&&r.style.setProperty("position","static","important")}else!t&&r.hasAttribute(o.Wm)&&(r.setAttribute("style",r.getAttribute(Oe)||""),r.removeAttribute(Oe),r.removeAttribute(o.Wm))};for(l.s();!(i=l.n()).done;)u()}catch(e){l.e(e)}finally{l.f()}}var De=n(9586);function He(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.getBoundingClientRect(),r=n.top,o=n.left,i=n.bottom,a=n.right,c=n.height,l=n.width,u=window,s=u.innerWidth,d=u.innerHeight;if(t){var v=r<=d&&r+c>=0,f=o<=s&&o+l>=0;return v&&f}var p=document.documentElement,b=p.clientHeight,h=p.clientWidth;return r>=0&&o>=0&&i<=(d||b)&&a<=(s||h)}var Fe="children:";function ze(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e.parentElement)return[e,"none"];var n=["a"].indexOf(e.parentElement.tagName.toLowerCase())>-1,r=n;if(e.hasAttribute(o.NY))r=e.getAttribute(o.NY);else{var i=e.parentElement.className;for(var a in t)if(i.indexOf(a)>-1){r=t[a];break}}if(r){if(!0===r||"true"===r)return[e.parentElement,"parent"];if(!isNaN(+r)){for(var c=e,l=0;l<+r;l++){if(!c.parentElement)return[c,"parentZ"];c=c.parentElement}return[c,"parentZ"]}if("string"==typeof r){if(r.startsWith(Fe))return[e.querySelector(r.substr(Fe.length)),"childrenSelector"];for(var u=e;u;u=u.parentElement)if((0,Te.D)(u,r))return[u,"parentSelector"]}}return[e,"none"]}function Re(e,t){var n=function(e){for(var t=[];e=e.previousElementSibling;)t.push(e);return t}(e).filter((function(e){return!!e.offsetParent||!!t&&t(e)}));return n.length?n[0]:void 0}function Me(e){return e.hasAttribute(o.YO)}function Ve(e){return e.offsetParent?e:Re(e,Me)}var je=void 0,Ye=0;function qe(e){var t,n,i=e.node,a=e.blocker,c=e.setVisualParentIfClassOfParent,l=e.dependantVisibilityContainers,u=e.mount;if(a){i.hasAttribute(o.Gn)||(i.setAttribute(o.Gn,Ye.toString()),Ye++);var s=+i.getAttribute(o.Gn),d=i.parentElement,v=a.forceHidden,f=void 0!==v&&v,p=a.visual,b=a.id,h=(null===(t=i.style)||void 0===t?void 0:t.position)||"initial",y=["fixed","absolute","sticky"].indexOf(h)>-1,g=[document.body,document.head,document.querySelector("html")].indexOf(d)>-1,m=i.getAttribute(o.YO),A=ze(i,c||{}),x=(0,k.Z)(A,2),C=x[0],w=x[1],S=C.hasAttribute(o.i7)||C.hasAttribute(o.Ng),B=!!C.offsetParent,Z=function(){if(-1===["script","link"].indexOf(null==i?void 0:i.tagName.toLowerCase())&&"childrenSelector"!==w){var e=i.style;"none"===e.getPropertyValue("display")&&"important"===e.getPropertyPriority("display")?i.setAttribute(o.Kh,"1"):e.setProperty("display","none","important")}};if(g||y&&!Pe(i)&&!f||!p||m||!(S||B||f)){if(!B&&l){var _=(0,De.w)(i,l.join(","));if(_.length>0&&!_[0].offsetParent)return}Z()}else{var E=function(e,t){var n,i,a,c,l,u=e.previousElementSibling,s=e.getAttribute(o.Kx),d=null===(n=e.parentElement)||void 0===n?void 0:n.previousElementSibling,v=null===(i=e.parentElement)||void 0===i||null===(a=i.parentElement)||void 0===a?void 0:a.previousElementSibling,f=[Re(e,Me),u,null==u?void 0:u.lastElementChild,d,null==d?void 0:d.lastElementChild,v,null==v?void 0:v.lastElementChild,null==v||null===(c=v.lastElementChild)||void 0===c?void 0:c.lastElementChild].filter(Boolean).map(Ve).filter(Boolean),p=(0,r.Z)(f);try{for(p.s();!(l=p.n()).done;){var b=l.value;if(+b.getAttribute(o.CT)===t&&b.hasAttribute(o.YO)){var h=b.nextElementSibling;return!(h&&s&&h.hasAttribute(o.Kx)&&h.getAttribute(o.Kx)!==s)&&b}}}catch(e){p.e(e)}finally{p.f()}return!1}(C,b);if(E)return i.setAttribute(o.YO,E.getAttribute(o.YO)),We(C,!0),void Z();var T=function(e,t,n){var r,i=document.createElement("div"),a=i.style,c=e.getAttribute(o.Gn);if(i.setAttribute(o.YO,c),i.className="rcb-content-blocker",a.setProperty("max-height","initial"),a.setProperty("pointer-events","all"),e.setAttribute(o.YO,c),t.parentNode.insertBefore(i,t),[o.d3,o.CT,o._W].forEach((function(t){e.hasAttribute(t)&&i.setAttribute(t,e.getAttribute(t))})),"childrenSelector"===n&&t.setAttribute(o.YO,c),e.hasAttribute(o.Kx))r=JSON.parse(e.getAttribute(o.Kx));else{var l=e.querySelectorAll("[".concat(o.Kx));l.length>0&&(r=JSON.parse(l[0].getAttribute(o.Kx)))}return("childrenSelector"===n?t:e).style.setProperty("display","none","important"),{container:i,thumbnail:r}}(i,C,w),I=T.container,N=T.thumbnail,L=function(e){I.setAttribute(o.He,e),u({container:I,blocker:a,connectedCounter:s,onClick:function(e){null==e||e.stopPropagation(),Ke(s)},blockedNode:i,thumbnail:N,paintMode:e}),We(C,!0)};He(I,!0)?L("instantInViewport"):"instantInViewport"===(null===(n=document.querySelector(".rcb-content-blocker[".concat(o.YO,'="').concat(s-1,'"][').concat(o.He,"]")))||void 0===n?void 0:n.getAttribute(o.He))?L("instant"):window.requestIdleCallback?window.requestIdleCallback((function(){return L("idleCallback")})):setTimeout((function(){return L("instant")}))}}}function Ke(e){je=e}function Ue(e){var t=e.getAttribute(o.YO),n=e.getAttribute(o.CT),r=e.getAttribute(o.d3),i="".concat(je)===t;if(i)e.setAttribute(o.fq,o.WK);else{var a=(0,De.w)(e,"[".concat(o.fq,'="').concat(o.WK,'"][').concat(o.CT,'="').concat(n,'"][').concat(o.d3,'="').concat(r,'"]')),c=(0,k.Z)(a,1)[0];c&&(c.setAttribute(o.fq,o.jk),i=!0)}return i}var Ge="RCB/OptIn/ContentBlocker/All",Je=!1;function Qe(e){if(!Je){var t=(e.defaultView||e.parentWindow).jQuery;if(t){var n=t.fn.ready;t.fn.ready=function(e){if(e)if(ke()){var r=!1;document.addEventListener(Ge,(function(){r||(r=!0,setTimeout((function(){e(t)}),0))}))}else setTimeout((function(){e(t)}),0);return n.apply(this,[function(){}])},Je=!0}}}var $e="rcbJQueryEventListener";function Xe(e,t,n){var o,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{onBeforeExecute:void 0},a=i.onBeforeExecute,c="".concat($e,"_").concat(n),l="".concat(d,"_").concat(n),s=e.defaultView||e.parentWindow,v=s.jQuery;if(v){var f=v.event,p=v.Event;if(f&&p&&!f[c]){var b=f.add;Object.assign(f,(o={},(0,u.Z)(o,c,!0),(0,u.Z)(o,"add",(function(){for(var e=arguments.length,o=new Array(e),i=0;i<e;i++)o[i]=arguments[i];var c=o[0],u=o[1],s=o[2],d=o[3],v=o[4],h=Array.isArray(u)?u:"string"==typeof u?u.split(" "):u,y=f[l],g=ke(),m=function(){return setTimeout((function(){null==a||a(g),null==s||s(new p)}),0)};if(u&&c===t){var k,A=(0,r.Z)(h);try{for(A.s();!(k=A.n()).done;){var x=k.value,C=x===n;C&&g?function(){var e=!1;document.addEventListener(Ge,(function(){e||(e=!0,y?y.then(m):m())}))}():C&&y?y.then(m):b.apply(this,[c,x,s,d,v])}}catch(e){A.e(e)}finally{A.f()}}else b.apply(this,o)})),o))}}}function et(e,t){var n,r="".concat("rcbNativeEventListener","_").concat(t);if(!e[r]){var o=e.addEventListener;Object.assign(e,(n={},(0,u.Z)(n,r,!0),(0,u.Z)(n,"addEventListener",(function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];if(e===t){var a=!1;document.addEventListener(Ge,(function(){a||(a=!0,setTimeout((function(){var e;null===(e=r[0])||void 0===e||e.call(r,new Event(t,{bubbles:!0,cancelable:!0}))}),0))}))}else o.apply(this,[e].concat(r))})),n))}}var tt=n(6346),nt=!1;function rt(e){if(!nt){var t=e.defaultView||e.parentWindow;try{Object.defineProperty(t,tt.L,{set:function(e){"function"==typeof e&&e()},enumerable:!0,configurable:!0})}catch(e){}nt=!0}}var ot=n(55).default,it="script[src]:not([async]):not([defer]):not([".concat(o.CT,"]):not([").concat(o.i7,"])"),at=function(){function e(){(0,C.Z)(this,e),this.scriptsBefore=void 0,this.scriptsBefore=Array.prototype.slice.call(document.querySelectorAll(it))}return(0,w.Z)(e,[{key:"diff",value:function(){var e=this;return Array.prototype.slice.call(document.querySelectorAll(it)).filter((function(t){return-1===e.scriptsBefore.indexOf(t)})).map((function(e){return new ot((function(t){performance.getEntriesByType("resource").filter((function(t){return t.name===e.src})).length>0&&t(),e.addEventListener("load",(function(){t()})),e.addEventListener("error",(function(){t()}))}))}))}}]),e}();function ct(e,t){var n,r=t.previousElementSibling;return null!=r&&r.hasAttribute(o.Ks)?n=r:((n=document.createElement("div")).setAttribute(o.Ks,o.dW),t.parentElement.replaceChild(n,t)),(0,tt.K)(e,{},n)}var lt=n(55).default;function ut(e){var t=e.node,n=e.allowClickOverrides,i=e.onlyModifyAttributes,a=e.setVisualParentIfClassOfParent,c=e.overwriteAttributeValue;return new lt((function(e){var l,u=!1,s=t.tagName.toLowerCase(),d="script"===s,v=d&&!i?t.cloneNode(!0):t,f=(0,r.Z)(v.getAttributeNames());try{for(f.s();!(l=f.n()).done;){var p=l.value;if(p.startsWith(o.jb)&&p.endsWith(o.rG)){var b,h=p.substr(o.jb.length+1);h=h.slice(0,-1*(o.rG.length+1));var y="".concat(o.zm,"-").concat(h,"-").concat(o.rG),g=v.hasAttribute(y)&&n,m=v.getAttribute(g?y:p);g&&(u=!0),c&&(m=c(m,h)),v.setAttribute(h,m),v.removeAttribute(p),v.removeAttribute(y),n&&["a"].indexOf(s)>-1&&(["onclick"].indexOf(h.toLowerCase())>-1||null!==(b=t.getAttribute("href"))&&void 0!==b&&b.startsWith("#"))&&t.addEventListener(Ge,function(){var e=(0,se.Z)(ve().mark((function e(n){var r;return ve().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.detail.unblockedNodes,e.abrupt("return",r.forEach((function(){return t.click()})));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())}}}catch(e){f.e(e)}finally{f.f()}var A,x=(0,r.Z)(v.getAttributeNames());try{for(x.s();!(A=x.n()).done;){var C=A.value;if(C.startsWith(o.zm)&&C.endsWith(o.rG)){var w=v.getAttribute(C),S=C.substr(o.zm.length+1);S=S.slice(0,-1*(o.rG.length+1)),n&&(v.setAttribute(S,w),u=!0),v.removeAttribute(C)}}}catch(e){x.e(e)}finally{x.f()}if(i)e({performedClick:!1});else{v.style.removeProperty("display");var B=ze(t,a||{}),Z=(0,k.Z)(B,1)[0];(Z!==t||null!=Z&&Z.hasAttribute(o.YO))&&Z.style.removeProperty("display");var _={performedClick:u};d?ct(v.outerHTML,t).then((function(){return e(_)})):e(_)}}))}function st(e){var t=e.parentElement===document.head,n=e.getAttribute(o.i7);e.removeAttribute(o.i7),e.style.removeProperty("display");var r=e.outerHTML.substr(o.v4.length+1);return r=(r=(r=r.substr(0,r.length-o.v4.length-3)).replace(new RegExp('type="application/consent"'),"")).replace(new RegExp("".concat(o.jb,"-type-").concat(o.rG,'="([^"]+)"')),'type="$1"'),r="<script".concat(r).concat(n,"<\/script>"),t?(0,tt.K)(r,{}):ct(r,e)}function dt(e,t){var n,i,a=t.same,c=t.nextSibling,l=t.parentNextSibling,u=e.nextElementSibling,s=e.parentElement,d=null==s?void 0:s.nextElementSibling,v=(0,r.Z)([[e,a],[u,c],[d,l]]);try{e:for(v.s();!(i=v.n()).done;){var f=(0,k.Z)(i.value,2),p=f[0],b=f[1];if(p&&b){var h,y=(0,r.Z)(b);try{for(y.s();!(h=y.n()).done;){var g=h.value;if(p.matches(g)){n=p;break e}var m=p.querySelector(g);if(m){n=m;break e}}}catch(e){y.e(e)}finally{y.f()}}}}catch(e){v.e(e)}finally{v.f()}if(n){var A=function(){return setTimeout((function(){return n.click()}),100)};n.hasAttribute(o._W)?n.addEventListener(Ge,A,{once:!0}):A()}}function vt(e){var t=e.filter((function(e){var t=e.node,n=t.nodeName,r=t.parentElement;return"SOURCE"===n&&"VIDEO"===r.nodeName})).map((function(e){return e.node.parentElement}));t.filter((function(e,n){return t.indexOf(e)===n})).forEach((function(e){return e.load()}))}var ft=n(3743),pt=n(55).default;function bt(){return(bt=(0,se.Z)(ve().mark((function e(t){var n,a,c,l,u,s,d,v,p,b,h,y,g,m,k,A,x,C,w,S,B,Z,_,E,T,I,N,L,O;return ve().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=t.checker,a=t.visual,c=t.overwriteAttributeValue,l=t.transactionClosed,u=t.customInitiators,s=t.delegateClick,me(!0),d=xe(n),Ze(n),v=[],b=function(e){var t;null==a||null===(t=a.unmount)||void 0===t||t.call(a,e),We(e,!1),e.remove()},document.querySelectorAll("[".concat(o.CT,"]:not(.rcb-content-blocker):not([").concat(o._W,"]):not([").concat(o.Ti,"])")).forEach((function(e){return e.setAttribute(o.Ti,"1")})),document.querySelectorAll("[".concat(o.of,"]")).forEach((function(e){return e.removeAttribute(o.of)})),h=(0,r.Z)(d),e.prev=9,h.s();case 11:if((y=h.n()).done){e.next=58;break}if(g=y.value,m=g.consent,k=g.node,A=g.isVisualCb,x=g.blocker,!m){e.next=55;break}if(k.hasAttribute(o._W)){e.next=19;break}return e.abrupt("continue",56);case 19:if(!A){e.next=22;break}return b(k),e.abrupt("continue",56);case 22:if(k.removeAttribute(o._W),C=k.getAttribute(o.YO),(w=Ue(k))&&(p=g),C){S=Array.prototype.slice.call(document.querySelectorAll('.rcb-content-blocker[consent-blocker-connected="'.concat(C,'"]'))),B=(0,r.Z)(S);try{for(B.s();!(Z=B.n()).done;)_=Z.value,b(_)}catch(e){B.e(e)}finally{B.f()}We(k,!1)}return E=k.ownerDocument,T=E.defaultView,Qe(E),Xe(E,T,"load"),et(T,"load"),et(E,"DOMContentLoaded"),rt(E),null==u||u(E,T),I=new at,N=k.hasAttribute(o.i7),e.next=39,ut({node:k,allowClickOverrides:!N&&w,onlyModifyAttributes:N,setVisualParentIfClassOfParent:null==a?void 0:a.setVisualParentIfClassOfParent,overwriteAttributeValue:c});case 39:if(L=e.sent,O=L.performedClick,!N){e.next=46;break}return e.next=44,st(k);case 44:e.next=47;break;case 46:O&&Ke(void 0);case 47:return e.next=49,pt.all(I.diff());case 49:k.dispatchEvent(new CustomEvent(i.T,{detail:{blocker:x,gotClicked:w}})),document.dispatchEvent(new CustomEvent(i.T,{detail:{blocker:x,element:k,gotClicked:w}})),w&&s&&dt(k,s),v.push(g),e.next=56;break;case 55:a&&!A&&qe((0,f.Z)({node:g.node,blocker:g.blocker},a));case 56:e.next=11;break;case 58:e.next=63;break;case 60:e.prev=60,e.t0=e.catch(9),h.e(e.t0);case 63:return e.prev=63,h.f(),e.finish(63);case 66:v.length?(p&&Ke(void 0),me(!1),document.dispatchEvent(new CustomEvent(Ge,{detail:{unblockedNodes:v}})),v.forEach((function(e){var t=e.node;t.setAttribute(o.Ti,"1"),t.dispatchEvent(new CustomEvent(Ge,{detail:{unblockedNodes:v}}))})),setTimeout((function(){null==l||l(v),vt(v),(0,ft.s)(),p&&!He(p.node)&&p.node.scrollIntoView({behavior:"smooth"})}),0)):me(!1);case 67:case"end":return e.stop()}}),e,null,[[9,60,63,66]])})))).apply(this,arguments)}var ht,yt,gt,mt,kt,At,xt,Ct,wt,St=function(){function e(t){(0,C.Z)(this,e),this.interval=void 0,this.options=void 0,this.options=t}return(0,w.Z)(e,[{key:"unblockNow",value:function(){return function(e){return bt.apply(this,arguments)}(this.options)}},{key:"start",value:function(){clearInterval(this.interval),this.interval=setInterval(this.unblockNow.bind(this),1e3)}},{key:"stop",value:function(){clearInterval(this.interval)}}]),e}(),Bt=n(7029).h,Zt=n(9302),_t=["youtube","vimeo"],Et=n(8431),Tt=["fitVids","mediaelementplayer","prettyPhoto"];ht=[],gt=(yt=(0,g.u)()).setVisualParentIfClassOfParent,mt=yt.multilingualSkipHTMLForTag,kt=yt.dependantVisibilityContainers,At=yt.blocker,yt.tcf,yt.tcfMetadata,xt=new St({checker:function(e,t,n){var o,i=null===(o=At.filter((function
|
|