Version Description
Download this release
Release Info
Developer | devowl |
Plugin | Real Cookie Banner: GDPR (DSGVO) & ePrivacy Cookie Consent |
Version | 2.16.2 |
Comparing to | |
See all releases |
Code changes from version 2.16.1 to 2.16.2
- CHANGELOG.md +30 -0
- inc/base/others/cachebuster-lib.php +1 -1
- inc/base/others/cachebuster.php +11 -11
- inc/presets/free/blocker/YoutubePreset.php +3 -1
- inc/presets/pro/blocker/GoogleMapsPreset.php +6 -1
- inc/presets/pro/blocker/GoogleUserContentPreset.php +8 -1
- inc/presets/pro/blocker/VimeoPreset.php +3 -1
- inc/scanner/Query.php +7 -1
- inc/scanner/Scanner.php +2 -0
- inc/view/Banner.php +1 -1
- inc/view/BannerCustomize.php +1 -1
- inc/view/Blocker.php +3 -1
- inc/view/blocker/Plugin.php +1 -0
- index.php +1 -1
- languages/real-cookie-banner-de_DE_formal.mo +0 -0
- languages/real-cookie-banner-de_DE_formal.po +3 -3
- public/dist/banner.lite.js +1 -1
- public/dist/banner.lite.js.map +1 -1
- public/dist/blocker.lite.js +1 -1
CHANGELOG.md
CHANGED
@@ -3,6 +3,36 @@
|
|
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.16.1 (2022-03-15)
|
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.16.2 (2022-04-04)
|
7 |
+
|
8 |
+
|
9 |
+
### chore
|
10 |
+
|
11 |
+
* add more security hashes for disabled footer (CU-23292y8)
|
12 |
+
|
13 |
+
|
14 |
+
### fix
|
15 |
+
|
16 |
+
* better compatibility with Popup Maker and delayed content blocker creation (CU-22pyyhj)
|
17 |
+
* blocked DNS prefetches were not indicated as Blocked in scanner results (e.g. WordPress Emojis, CU-22h6rp3)
|
18 |
+
* compatibility with Hero Maps Premium (CU-2202t4e)
|
19 |
+
* compatibility with JetElements Advanced Maps (CU-22q59y5)
|
20 |
+
* compatibility with latest Divi version and some unresponsive behavior (CU-20xrmn7)
|
21 |
+
* compatibility with Widget for Google Reviews (CU-2202q1c)
|
22 |
+
* compatibility with WP Staging and scanner (CU-1ykd052)
|
23 |
+
* compatibility with WP Video Lightbox (CU-294vh4j)
|
24 |
+
* ignoring external URLs did not work in real-time (transient not updated, CU-22wkx1g)
|
25 |
+
|
26 |
+
|
27 |
+
### style
|
28 |
+
|
29 |
+
* blurry cookie banner when using Age Gate plugin (CU-22wtfv3)
|
30 |
+
* history select dropdown wrong color in dark mode (CU-22pyy0u)
|
31 |
+
|
32 |
+
|
33 |
+
|
34 |
+
|
35 |
+
|
36 |
## 2.16.1 (2022-03-15)
|
37 |
|
38 |
|
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 Apr 04 2022 13:15:13 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/138.lite.js' => '59bda7fc90da3bf1871af707ec304684',
|
5 |
'src/public/dist/193.lite.js' => 'd7a0722155f835c915b08b6c93a9208d',
|
@@ -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' => '731d585f53213fef67aaf8dca340a911',
|
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' => 'f82ae0b32df6e21d6edb3de7c37797ac',
|
42 |
'src/public/dist/chunk-config-tab-blocker.pro.js' => 'ba1a735cee39a5fb984ff06b153f903f',
|
43 |
'src/public/dist/chunk-config-tab-consent.lite.js' => '17283dff7c5aab9caa9c75bb9b46722c',
|
44 |
-
'src/public/dist/chunk-config-tab-consent.pro.js' => '
|
45 |
'src/public/dist/chunk-config-tab-cookies.lite.js' => '0727a8e083062a228e5298a22ccb6f5b',
|
46 |
'src/public/dist/chunk-config-tab-cookies.pro.js' => 'ea9275d59415d872a3dfa06788cc0bb6',
|
47 |
'src/public/dist/chunk-config-tab-dashboard.lite.js' => 'e7c23736210fad73543f7a79609385b6',
|
@@ -56,8 +56,8 @@ return [
|
|
56 |
'src/public/dist/chunk-config-tab-settings.pro.js' => '2da4132c9d71361e599445ca0a1f82ec',
|
57 |
'src/public/dist/chunk-config-tab-tcf.lite.js' => 'a07c8143e107581520f363ea3d419407',
|
58 |
'src/public/dist/chunk-config-tab-tcf.pro.js' => '03a71b5ebdb398790b4b894063d6887e',
|
59 |
-
'src/public/dist/customize_banner.lite.js' => '
|
60 |
-
'src/public/dist/customize_banner.pro.js' => '
|
61 |
'src/public/dist/customize.lite.js' => 'b54b829ded6ae54f54b8991c01d13efb',
|
62 |
'src/public/dist/customize.pro.js' => 'c48d2e0e6c584e1a53ff78e2c1d2719d',
|
63 |
'src/public/dist/queue.lite.js' => 'f60dda9c9523706a0da543a490f9e144',
|
1 |
<?php
|
2 |
+
/* This file was automatically generated (Mon Apr 04 2022 13:15:13 GMT+0000 (Coordinated Universal Time)). */
|
3 |
return [
|
4 |
'src/public/dist/138.lite.js' => '59bda7fc90da3bf1871af707ec304684',
|
5 |
'src/public/dist/193.lite.js' => 'd7a0722155f835c915b08b6c93a9208d',
|
31 |
'src/public/dist/954.lite.js' => 'ee2cda44e2cd4c19a1f7288055efa5d0',
|
32 |
'src/public/dist/954.pro.js' => 'c39fe799c52c7690d66633725671963f',
|
33 |
'src/public/dist/admin.lite.js' => '731d585f53213fef67aaf8dca340a911',
|
34 |
+
'src/public/dist/admin.pro.js' => 'ce4c6ded6f87e7ba340984a191549c08',
|
35 |
+
'src/public/dist/banner_tcf.pro.js' => '29cbefe65f2db04d4bbf0c44bc36c585',
|
36 |
+
'src/public/dist/banner.lite.js' => 'f7750a86e21ed17e0fb59bbba13eea0d',
|
37 |
+
'src/public/dist/banner.pro.js' => '3d66e395cc0c079acb6934b4678ff628',
|
38 |
+
'src/public/dist/blocker_tcf.pro.js' => '2ea066ace2dcac5cb4c65db5f4d404cd',
|
39 |
+
'src/public/dist/blocker.lite.js' => 'b4f6e332c1e0436fa9d579e57f7ea5b8',
|
40 |
+
'src/public/dist/blocker.pro.js' => '2f7320b97eccb0d7d1ef073e5d1f6735',
|
41 |
'src/public/dist/chunk-config-tab-blocker.lite.js' => 'f82ae0b32df6e21d6edb3de7c37797ac',
|
42 |
'src/public/dist/chunk-config-tab-blocker.pro.js' => 'ba1a735cee39a5fb984ff06b153f903f',
|
43 |
'src/public/dist/chunk-config-tab-consent.lite.js' => '17283dff7c5aab9caa9c75bb9b46722c',
|
44 |
+
'src/public/dist/chunk-config-tab-consent.pro.js' => 'c51b662b74a0610aca83f3d55ba9ceeb',
|
45 |
'src/public/dist/chunk-config-tab-cookies.lite.js' => '0727a8e083062a228e5298a22ccb6f5b',
|
46 |
'src/public/dist/chunk-config-tab-cookies.pro.js' => 'ea9275d59415d872a3dfa06788cc0bb6',
|
47 |
'src/public/dist/chunk-config-tab-dashboard.lite.js' => 'e7c23736210fad73543f7a79609385b6',
|
56 |
'src/public/dist/chunk-config-tab-settings.pro.js' => '2da4132c9d71361e599445ca0a1f82ec',
|
57 |
'src/public/dist/chunk-config-tab-tcf.lite.js' => 'a07c8143e107581520f363ea3d419407',
|
58 |
'src/public/dist/chunk-config-tab-tcf.pro.js' => '03a71b5ebdb398790b4b894063d6887e',
|
59 |
+
'src/public/dist/customize_banner.lite.js' => '832cfbf29c3ffcb819b7f40a6daac08c',
|
60 |
+
'src/public/dist/customize_banner.pro.js' => 'e219b502974b40fae0dd8b1951a5a3b1',
|
61 |
'src/public/dist/customize.lite.js' => 'b54b829ded6ae54f54b8991c01d13efb',
|
62 |
'src/public/dist/customize.pro.js' => 'c48d2e0e6c584e1a53ff78e2c1d2719d',
|
63 |
'src/public/dist/queue.lite.js' => 'f60dda9c9523706a0da543a490f9e144',
|
inc/presets/free/blocker/YoutubePreset.php
CHANGED
@@ -47,7 +47,9 @@ class YoutubePreset extends \DevOwl\RealCookieBanner\presets\AbstractBlockerPres
|
|
47 |
'*wp-content/plugins/youtube-embed-plus-pro/scripts/*',
|
48 |
'div[id^="epyt_gallery"]',
|
49 |
// [Plugin Comp] Thrive Visual Editor
|
50 |
-
'div[class*="tcb-yt-bg"]'
|
|
|
|
|
51 |
],
|
52 |
'cookies' => [\DevOwl\RealCookieBanner\presets\free\YoutubePreset::IDENTIFIER]
|
53 |
]
|
47 |
'*wp-content/plugins/youtube-embed-plus-pro/scripts/*',
|
48 |
'div[id^="epyt_gallery"]',
|
49 |
// [Plugin Comp] Thrive Visual Editor
|
50 |
+
'div[class*="tcb-yt-bg"]',
|
51 |
+
// [Plugin Comp] https://wordpress.org/plugins/wp-video-lightbox/
|
52 |
+
'a[href*="youtube.com"][rel="wp-video-lightbox"]'
|
53 |
],
|
54 |
'cookies' => [\DevOwl\RealCookieBanner\presets\free\YoutubePreset::IDENTIFIER]
|
55 |
]
|
inc/presets/pro/blocker/GoogleMapsPreset.php
CHANGED
@@ -106,7 +106,12 @@ class GoogleMapsPreset extends \DevOwl\RealCookieBanner\presets\AbstractBlockerP
|
|
106 |
'div[class*="elementor-widget-case27-explore-widget"]',
|
107 |
// [Plugin Comp] https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
|
108 |
'*wp-content/themes/salient/js/build/map*',
|
109 |
-
'div[class*="nectar-google-map"]'
|
|
|
|
|
|
|
|
|
|
|
110 |
]
|
111 |
],
|
112 |
'logoFile' => \DevOwl\RealCookieBanner\Core::getInstance()->getBaseAssetsUrl('logos/google-maps.png')
|
106 |
'div[class*="elementor-widget-case27-explore-widget"]',
|
107 |
// [Plugin Comp] https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
|
108 |
'*wp-content/themes/salient/js/build/map*',
|
109 |
+
'div[class*="nectar-google-map"]',
|
110 |
+
// [Plugin Comp] https://heroplugins.com/product/maps/
|
111 |
+
'div[class="hmapsprem_map_container"]',
|
112 |
+
'*/wp-content/plugins/hmapsprem/assets/js/frontend_script.js*',
|
113 |
+
// [Plugin Comp] Advanced Maps (Jet Elements)
|
114 |
+
'div[class*="jet-map"]'
|
115 |
]
|
116 |
],
|
117 |
'logoFile' => \DevOwl\RealCookieBanner\Core::getInstance()->getBaseAssetsUrl('logos/google-maps.png')
|
inc/presets/pro/blocker/GoogleUserContentPreset.php
CHANGED
@@ -22,7 +22,14 @@ class GoogleUserContentPreset extends \DevOwl\RealCookieBanner\presets\AbstractB
|
|
22 |
'id' => self::IDENTIFIER,
|
23 |
'version' => self::VERSION,
|
24 |
'name' => $name,
|
25 |
-
'attributes' => [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
'logoFile' => \DevOwl\RealCookieBanner\Core::getInstance()->getBaseAssetsUrl('logos/google.png')
|
27 |
];
|
28 |
}
|
22 |
'id' => self::IDENTIFIER,
|
23 |
'version' => self::VERSION,
|
24 |
'name' => $name,
|
25 |
+
'attributes' => [
|
26 |
+
'hosts' => [
|
27 |
+
'*googleusercontent.com*',
|
28 |
+
// [Plugin Comp] https://wordpress.org/plugins/widget-google-reviews/
|
29 |
+
'div[class="rplg"]',
|
30 |
+
'*/wp-content/plugins/business-reviews-bundle/assets/js/public-main.js*'
|
31 |
+
]
|
32 |
+
],
|
33 |
'logoFile' => \DevOwl\RealCookieBanner\Core::getInstance()->getBaseAssetsUrl('logos/google.png')
|
34 |
];
|
35 |
}
|
inc/presets/pro/blocker/VimeoPreset.php
CHANGED
@@ -32,7 +32,9 @@ class VimeoPreset extends \DevOwl\RealCookieBanner\presets\AbstractBlockerPreset
|
|
32 |
// [Plugin Comp] Premium Addons for Elementor
|
33 |
'div[class*="elementor-widget-premium-addon-video-box"][data-settings*="vimeo"]',
|
34 |
// [Plugin Comp] tagDiv Composer
|
35 |
-
'div[class*="td_wrapper_playlist_player_vimeo"]'
|
|
|
|
|
36 |
]
|
37 |
],
|
38 |
'logoFile' => \DevOwl\RealCookieBanner\Core::getInstance()->getBaseAssetsUrl('logos/vimeo.png')
|
32 |
// [Plugin Comp] Premium Addons for Elementor
|
33 |
'div[class*="elementor-widget-premium-addon-video-box"][data-settings*="vimeo"]',
|
34 |
// [Plugin Comp] tagDiv Composer
|
35 |
+
'div[class*="td_wrapper_playlist_player_vimeo"]',
|
36 |
+
// [Plugin Comp] https://wordpress.org/plugins/wp-video-lightbox/
|
37 |
+
'a[href*="vimeo.com"][rel="wp-video-lightbox"]'
|
38 |
]
|
39 |
],
|
40 |
'logoFile' => \DevOwl\RealCookieBanner\Core::getInstance()->getBaseAssetsUrl('logos/vimeo.png')
|
inc/scanner/Query.php
CHANGED
@@ -136,6 +136,8 @@ class Query {
|
|
136 |
return $wpdb->prepare('%s', $url);
|
137 |
}, $hosts);
|
138 |
$sqlIn = \join(',', $hosts);
|
|
|
|
|
139 |
// phpcs:disable WordPress.DB.PreparedSQL
|
140 |
return $wpdb->query(
|
141 |
$wpdb->prepare(
|
@@ -267,7 +269,11 @@ class Query {
|
|
267 |
'tag' => $row['tag']
|
268 |
];
|
269 |
$result[] = $row;
|
270 |
-
if (
|
|
|
|
|
|
|
|
|
271 |
$checkMarkup[] = $row['id'];
|
272 |
}
|
273 |
}
|
136 |
return $wpdb->prepare('%s', $url);
|
137 |
}, $hosts);
|
138 |
$sqlIn = \join(',', $hosts);
|
139 |
+
delete_transient(\DevOwl\RealCookieBanner\view\Scanner::TRANSIENT_SERVICES_FOR_NOTICE);
|
140 |
+
delete_transient(self::TRANSIENT_SCANNED_EXTERNAL_URLS);
|
141 |
// phpcs:disable WordPress.DB.PreparedSQL
|
142 |
return $wpdb->query(
|
143 |
$wpdb->prepare(
|
269 |
'tag' => $row['tag']
|
270 |
];
|
271 |
$result[] = $row;
|
272 |
+
if (
|
273 |
+
$row['markup'] &&
|
274 |
+
!$row['blocked'] &&
|
275 |
+
(empty($row['blockedUrl']) || \in_array($row['tag'], ['link'], \true))
|
276 |
+
) {
|
277 |
$checkMarkup[] = $row['id'];
|
278 |
}
|
279 |
}
|
inc/scanner/Scanner.php
CHANGED
@@ -497,6 +497,8 @@ class Scanner {
|
|
497 |
});
|
498 |
// [Plugin comp] https://wordpress.org/plugins/under-construction-page/
|
499 |
add_filter('ucp_is_construction_mode_enabled', '__return_false');
|
|
|
|
|
500 |
}
|
501 |
/**
|
502 |
* Getter.
|
497 |
});
|
498 |
// [Plugin comp] https://wordpress.org/plugins/under-construction-page/
|
499 |
add_filter('ucp_is_construction_mode_enabled', '__return_false');
|
500 |
+
// [Plugin comp] https://wordpress.org/plugins/wp-staging/
|
501 |
+
add_filter('wpstg.frontend.showLoginForm', '__return_true');
|
502 |
}
|
503 |
/**
|
504 |
* Getter.
|
inc/view/Banner.php
CHANGED
@@ -316,7 +316,7 @@ class Banner {
|
|
316 |
);
|
317 |
}
|
318 |
echo \sprintf(
|
319 |
-
'<div id="%s" class="%s" data-bg="%s" style="%s position:fixed;top:0;left:0;right:0;bottom:0;z-index:99999;pointer-events:%s;display:none;" %s></div>%s',
|
320 |
\DevOwl\RealCookieBanner\Core::getInstance()->getPageRequestUuid4(),
|
321 |
$antiAdBlocker
|
322 |
? ''
|
316 |
);
|
317 |
}
|
318 |
echo \sprintf(
|
319 |
+
'<div id="%s" class="%s" data-bg="%s" style="%s position:fixed;top:0;left:0;right:0;bottom:0;z-index:99999;pointer-events:%s;display:none;filter:none;" %s></div>%s',
|
320 |
\DevOwl\RealCookieBanner\Core::getInstance()->getPageRequestUuid4(),
|
321 |
$antiAdBlocker
|
322 |
? ''
|
inc/view/BannerCustomize.php
CHANGED
@@ -265,7 +265,7 @@ class BannerCustomize extends \DevOwl\RealCookieBanner\Vendor\DevOwl\Customize\A
|
|
265 |
\in_array(
|
266 |
\substr(\hash('sha256', 'LAQ%&^dwUCbHX1fI$89EeFlCxZ8tYXLA' . $host), 0, 13),
|
267 |
// prettier-ignore
|
268 |
-
['97c6d0f2d9057', '5efc1df4cec8a', 'bc44e506cd9bc', '05f5e3c8e0fc6', 'a61c3f5d4ff73', 'e15f40f8794b7', 'ff88cd49109fa', '01756c827de40', '7b75f47cc1fb6', '1a79435ace736', '995ec24c19fe0', 'ef057c2175b94', 'c5f24fb4f74db', 'd320449287478', 'ccba9618b131f', '733245bc304ae', 'ed8dc872cc923', '3f873ea04f143', '081c7e86b8621', '0e843294aaa59', 'ae5fcf377347a', 'ee7f2e22c5143', 'be10a7a6ca787', '44f77b50d4d7d', 'e35c368b2b63d', 'c5295ed1ebd4e', '7dfb073287c9d', '6b3a5a54843ba', 'd01f0ef2dfcb7', '44ce97abf3b01', 'd0bd5fd52695b', 'f3965a1973c95', 'ab2f05725d082', 'cf6bc49255da5', 'e5dd174e2dc4d', '49d51a7324d27', '0db99e3ed4768', 'a8b588265b94f', 'e703e251d8623', '9a34a738222fe', '4d24168ff43d9', 'fc7cbe78bb50e', 'b7ca952882b18', '06387e16092f4', '295979337eb5b', '5d213e2441d3b', '76d3cb2210259', '613253349aa77', 'cbb312e5dc035', '3a342098b20e3', 'f156591833726', '44b3b88600d4d', '2c3add3ab8893', 'c7e7b4291e538', '7ff82c7bfb6d5', '19a32ca94f3da', '1dc7de9c7e3e0', '8745ad151f019', '95f3140357968', 'd64b3e3290933', 'a67f4187a0759', 'ab17a79181a73', '982660176a206', '32b259167515d', '04f060e086c3a', '980b4d46ca70e', '4c86101d9c571', '627d42b473b29', 'fbec9c21dd094', 'b22fee3b99418', '2a4e77bfec9aa', '78060ddcb192d', 'ab604fbbdc920', '9d55971f4d1f2', '16b17f6009005', 'd73678d1a0980', 'cc2ead8b2d48e', '85b05544fbbb2', '6c60bab27f34f', '0eae7b1e0f25e', 'd18eafa44503d', 'bbb981d30c49f', '6f70cb91d18b0', 'ddd786e73bebf', 'a6da8de130ce5', '9fd3073399cba', '9fdfae9fc240e', 'cfaf5fee097d2', '861ec3d465a80', 'b1ee046302f93', 'a63cec34e84a8', '63f12de75c15b', '9ebe9bbe105ed', 'e8e82e9682bbc', '7d3784ff1a192', 'eee9848a2853e', 'fbaea22d19034', 'aebd1b756f001', '668c6730c1055', 'e7c54b29a080d', '563ef56ea6866', 'e7091fed7c9ef', '551c6821836e3', 'f7c719a09e699', '1231ee45e9595', '6d16c716afb22', '987a5267c0b37', '5ed9d26fc7710', '70c3a0b275576', '7839572c07676', 'af17f8f0d7dcc', 'cdc5534e75a2e', 'a80510ca3c8d0', '8b139388de527', '46d9ca0bb0598', '7653a763b4571', '558d1a7602df6', '657ebf3e1560b', '1f896990be257', 'e3c66ef322323', '4e01179ea7acf', 'cd87e3a513d7a', '34dd3546af646', 'cf253d61eaa01', 'dfc073a5b8f23', 'ee65a10563b99', 'b827c02e8de71', '4cb5a392d3a72', '5b6c4f191871e', 'aeb32cb9e2fd0', 'd4e73a944b9c0', '703a0db1576a3', '28f09969bad5b', 'ee42caa338e6d', '92f6ba77b0c5f', 'b61ea3a6c3383', '0917cf1a8e6f8', '19bcc9e27a9b4', '05831156578e0', 'b19d8fc45bf40', 'ddccc665f6c18', '17e0df1cf2288', 'e2edd8fd7151a', 'd2d8af9ecbac0', '1923c63603d8f', 'b96198915cdf4', '4ab2437da8e2a', 'bcc237d61f9b3', 'da38cbbf41d8e', 'baffe184077c1', '35902166dcac1', '4715b6dd0f9a2', '3b087e9f5c643', 'c1fe868fe958f', '266fc518bdd32', 'ad985bb7d53e8', '3c9816c40f866', '05abc1d36e413', 'a6d2d8fe53c54', '68de0dbeb1950', '5320cb490816c', '1aa2adf62ba3f', 'de2e81c8b09e7', '51b50edcb77fb', '6c956e9ee6c0a', '4de4f0698da81', '98ccd3232246a', '9e609c4fff22d', 'cafe9785cefb1', '0ff2d275ecec7', '636c2d54234f1', '83f96c0ac2b9b', '9bfab40b7dda5', 'd53651d0ef9e4', 'b04e9303a63c1', 'a9d7328f63ebc', 'ccf36bd1fe87e', '2772a7c803dde', '1c88eade55e50', '7c163b64eaeb4', 'ec18019ebcc34', 'a0d22e2fce2c3', '6916a3668afaf', '6d51480bdbaae', '99d863cf72d19', '278f92051cf64', '398e40d05702f', 'f8c973e675b05', '66ea2beeb88c5', '96879d0e156f9', 'b4f9fc7509359', '3c6d359735dee', '47802f85f1344', '5144d95702c98', '52e3dedaa1a30', 'd1c10df1d0641', 'f2fb2b4bd0ca1', 'de38e8b53b886', '9da48f9bf19c5', '0171121e14750', '39729b25ad2c7', 'e0e590a639296', 'c124348c96ef9', '8ce8dc22859fb', 'eed1e260727f8', '6d5363047c59f', 'ccb9264d3177d', 'ccad4af4183c9', 'e6bef77ef741a', '974f6dc47d949', 'c938705bcdcb3', '284f61c9c6fa2', '443ee59ee5756', 'e4de5ec4381de', 'e94f14c0e6946', '1b5ed8ba8bfdb', 'fda74c2cd8a5a', '14e83ea5c36ca', '0d7d553f18544', 'e564b0be7cf1f', 'd67751f9abcfe', 'bd1812cc7e01f', '9f26efe2410f4', 'e1fb232010c0b', '7d9e4b02a3e94', '12f6331fd2dbf', 'e8bc00ca2321f', '91cc645641b33', '31caaedd34ee3', 'e142ac706d3ff', 'b56c8bb53075c', 'b53af8107e6da', '54c9f8da355e4', '214983b7b2525', 'dcbdaf2a1f196', '746c96c7fe316', 'd989846ab6fa4', 'e6f915b95fe9b', '0ffea8bc70b85', 'dd8eb330b2b1b', 'ca3fb41e6e38b', '36e9b5d6aa397', '3b319f347645c', '600d9a3579977', 'aaabdce812331', '390e49ccd9b08', '9f0778e790f9b', 'd77a969945b84', 'aa2ae007ad6ce', '0f9398ec13ed1', '7dff5c7dcd7bd', 'dea018c7c4948', 'b6de4d4f271d6', '1e5df2e167056', 'e8bd2f1ff0144', '97e887079e96b', 'c171179943c98', '7a6d93d434290', 'b1c8e7ddcad0e', 'eefa1ca79aed6', '6d5755a9b910a', 'fb814fd142ef1', 'fcfbc97fdc098', 'a00ab3b4d4595', 'feebbbf4b08de', '11656c86726c2', '85881c0588d1f'],
|
269 |
\true
|
270 |
)
|
271 |
) {
|
265 |
\in_array(
|
266 |
\substr(\hash('sha256', 'LAQ%&^dwUCbHX1fI$89EeFlCxZ8tYXLA' . $host), 0, 13),
|
267 |
// prettier-ignore
|
268 |
+
['97c6d0f2d9057', '5efc1df4cec8a', 'bc44e506cd9bc', '05f5e3c8e0fc6', 'a61c3f5d4ff73', 'e15f40f8794b7', 'ff88cd49109fa', '01756c827de40', '7b75f47cc1fb6', '1a79435ace736', '995ec24c19fe0', 'ef057c2175b94', 'c5f24fb4f74db', 'd320449287478', 'ccba9618b131f', '733245bc304ae', 'ed8dc872cc923', '3f873ea04f143', '081c7e86b8621', '0e843294aaa59', 'ae5fcf377347a', 'ee7f2e22c5143', 'be10a7a6ca787', '44f77b50d4d7d', 'e35c368b2b63d', 'c5295ed1ebd4e', '7dfb073287c9d', '6b3a5a54843ba', 'd01f0ef2dfcb7', '44ce97abf3b01', 'd0bd5fd52695b', 'f3965a1973c95', 'ab2f05725d082', 'cf6bc49255da5', 'e5dd174e2dc4d', '49d51a7324d27', '0db99e3ed4768', 'a8b588265b94f', 'e703e251d8623', '9a34a738222fe', '4d24168ff43d9', 'fc7cbe78bb50e', 'b7ca952882b18', '06387e16092f4', '295979337eb5b', '5d213e2441d3b', '76d3cb2210259', '613253349aa77', 'cbb312e5dc035', '3a342098b20e3', 'f156591833726', '44b3b88600d4d', '2c3add3ab8893', 'c7e7b4291e538', '7ff82c7bfb6d5', '19a32ca94f3da', '1dc7de9c7e3e0', '8745ad151f019', '95f3140357968', 'd64b3e3290933', 'a67f4187a0759', 'ab17a79181a73', '982660176a206', '32b259167515d', '04f060e086c3a', '980b4d46ca70e', '4c86101d9c571', '627d42b473b29', 'fbec9c21dd094', 'b22fee3b99418', '2a4e77bfec9aa', '78060ddcb192d', 'ab604fbbdc920', '9d55971f4d1f2', '16b17f6009005', 'd73678d1a0980', 'cc2ead8b2d48e', '85b05544fbbb2', '6c60bab27f34f', '0eae7b1e0f25e', 'd18eafa44503d', 'bbb981d30c49f', '6f70cb91d18b0', 'ddd786e73bebf', 'a6da8de130ce5', '9fd3073399cba', '9fdfae9fc240e', 'cfaf5fee097d2', '861ec3d465a80', 'b1ee046302f93', 'a63cec34e84a8', '63f12de75c15b', '9ebe9bbe105ed', 'e8e82e9682bbc', '7d3784ff1a192', 'eee9848a2853e', 'fbaea22d19034', 'aebd1b756f001', '668c6730c1055', 'e7c54b29a080d', '563ef56ea6866', 'e7091fed7c9ef', '551c6821836e3', 'f7c719a09e699', '1231ee45e9595', '6d16c716afb22', '987a5267c0b37', '5ed9d26fc7710', '70c3a0b275576', '7839572c07676', 'af17f8f0d7dcc', 'cdc5534e75a2e', 'a80510ca3c8d0', '8b139388de527', '46d9ca0bb0598', '7653a763b4571', '558d1a7602df6', '657ebf3e1560b', '1f896990be257', 'e3c66ef322323', '4e01179ea7acf', 'cd87e3a513d7a', '34dd3546af646', 'cf253d61eaa01', 'dfc073a5b8f23', 'ee65a10563b99', 'b827c02e8de71', '4cb5a392d3a72', '5b6c4f191871e', 'aeb32cb9e2fd0', 'd4e73a944b9c0', '703a0db1576a3', '28f09969bad5b', 'ee42caa338e6d', '92f6ba77b0c5f', 'b61ea3a6c3383', '0917cf1a8e6f8', '19bcc9e27a9b4', '05831156578e0', 'b19d8fc45bf40', 'ddccc665f6c18', '17e0df1cf2288', 'e2edd8fd7151a', 'd2d8af9ecbac0', '1923c63603d8f', 'b96198915cdf4', '4ab2437da8e2a', 'bcc237d61f9b3', 'da38cbbf41d8e', 'baffe184077c1', '35902166dcac1', '4715b6dd0f9a2', '3b087e9f5c643', 'c1fe868fe958f', '266fc518bdd32', 'ad985bb7d53e8', '3c9816c40f866', '05abc1d36e413', 'a6d2d8fe53c54', '68de0dbeb1950', '5320cb490816c', '1aa2adf62ba3f', 'de2e81c8b09e7', '51b50edcb77fb', '6c956e9ee6c0a', '4de4f0698da81', '98ccd3232246a', '9e609c4fff22d', 'cafe9785cefb1', '0ff2d275ecec7', '636c2d54234f1', '83f96c0ac2b9b', '9bfab40b7dda5', 'd53651d0ef9e4', 'b04e9303a63c1', 'a9d7328f63ebc', 'ccf36bd1fe87e', '2772a7c803dde', '1c88eade55e50', '7c163b64eaeb4', 'ec18019ebcc34', 'a0d22e2fce2c3', '6916a3668afaf', '6d51480bdbaae', '99d863cf72d19', '278f92051cf64', '398e40d05702f', 'f8c973e675b05', '66ea2beeb88c5', '96879d0e156f9', 'b4f9fc7509359', '3c6d359735dee', '47802f85f1344', '5144d95702c98', '52e3dedaa1a30', 'd1c10df1d0641', 'f2fb2b4bd0ca1', 'de38e8b53b886', '9da48f9bf19c5', '0171121e14750', '39729b25ad2c7', 'e0e590a639296', 'c124348c96ef9', '8ce8dc22859fb', 'eed1e260727f8', '6d5363047c59f', 'ccb9264d3177d', 'ccad4af4183c9', 'e6bef77ef741a', '974f6dc47d949', 'c938705bcdcb3', '284f61c9c6fa2', '443ee59ee5756', 'e4de5ec4381de', 'e94f14c0e6946', '1b5ed8ba8bfdb', 'fda74c2cd8a5a', '14e83ea5c36ca', '0d7d553f18544', 'e564b0be7cf1f', 'd67751f9abcfe', 'bd1812cc7e01f', '9f26efe2410f4', 'e1fb232010c0b', '7d9e4b02a3e94', '12f6331fd2dbf', 'e8bc00ca2321f', '91cc645641b33', '31caaedd34ee3', 'e142ac706d3ff', 'b56c8bb53075c', 'b53af8107e6da', '54c9f8da355e4', '214983b7b2525', 'dcbdaf2a1f196', '746c96c7fe316', 'd989846ab6fa4', 'e6f915b95fe9b', '0ffea8bc70b85', 'dd8eb330b2b1b', 'ca3fb41e6e38b', '36e9b5d6aa397', '3b319f347645c', '600d9a3579977', 'aaabdce812331', '390e49ccd9b08', '9f0778e790f9b', 'd77a969945b84', 'aa2ae007ad6ce', '0f9398ec13ed1', '7dff5c7dcd7bd', 'dea018c7c4948', 'b6de4d4f271d6', '1e5df2e167056', 'e8bd2f1ff0144', '97e887079e96b', 'c171179943c98', '7a6d93d434290', 'b1c8e7ddcad0e', 'eefa1ca79aed6', '6d5755a9b910a', 'fb814fd142ef1', 'fcfbc97fdc098', 'a00ab3b4d4595', 'feebbbf4b08de', '11656c86726c2', '85881c0588d1f', 'a6da8de130ce5', '861ec3d465a80', 'ad985bb7d53e8', '29120cb5d1e99', 'c28c4bc462a61', 'e7df7153eca5d', '52e391cd96295', '4c9f127418423', 'dc981dbebbfac', 'c89ba18655452', '13928ca3279d5', 'a33fbc042d489', 'bc9720c052b08', 'e844bb876b9ae', '7cbda586be140', 'e5f7d817f4d9b', '862c2ca2f50d0', 'bd5aea3c1eed8', 'b19d8fc45bf40', '4d24168ff43d9', 'd7a0692420395', '44ce97abf3b01', '2562cb684f3f2', '3a342098b20e3', '8745ad151f019', '5d2db3dcd353b', 'c30ea66c4d1ca', 'a3232d0c71d7f', '1a79435ace736', '2f97f2f836b33', '3befab7ccc441', 'bcde70c7b5299', '6584d3179968a', '32b259167515d', '87a6f533dd277', '78060ddcb192d', 'b2e2d034d3539', 'f4f3c5a2dde50', 'fea989240d3e2', '93b9bf83c692d', '116c0e8f8de3b', 'a4f982d30ebe7', 'fd9d6f9fa5dbe', 'b77022b2c05ca', '4f10cf6a32ae8', '82c73cc3166b1', 'db5329a8b3146', '9e5c2e7c16141', '443ee59ee5756', '6d1f3f6d606de', 'af17f8f0d7dcc', 'c7842c58a82ae', '4cb5a392d3a72', 'ee42caa338e6d', 'cc75da363a07f', 'b61ea3a6c3383', 'fc9eb88b07ecc', '549ecc1ed2b9b', '929fd11bf082e', '3b087e9f5c643', '6287af8187ab6', 'c124ffcbed7bd', '4f84730cbf39b', '0920420a8da3f', 'fee754cc64804', '7dfb073287c9d', '8028a58b05ee0', '0860cba722584', 'fc7cbe78bb50e', 'b7c57c312358e', '88b6dba6a72be', 'b7ca952882b18', '3c45589b4097e', '295979337eb5b', '44b3b88600d4d', '31a60ff99970d', '2fea316310bec', 'fbec9c21dd094', '0975472e17726', 'bf3f03ccc8852', '34dd3546af646', '9d49e060d1a83', 'ff0fad82aeca9', '6d9fb3304eff4', 'b21dfc02bd4da', 'f999576847975', '358f01da0d160', '23fbfb54e2e94', 'bd388c8df0d2d', 'b40d68f010090', 'cb1ed5699c916', 'eca27f54ee866', '19acfaa4ee4bf', '0e17a8056c892', 'd612c30a10013', '0eaceb3b2b23c', '6f70cb91d18b0', 'bc44e506cd9bc', 'd4a5ceb386552', 'cfaf5fee097d2', '8a3ffc08c6db3', 'dd96e39866052', 'd10ecdadfaf9e', '5b9398bec4788', '5454eb58208a2', '2cd1e30120e60', 'da38cbbf41d8e', '7b75f47cc1fb6', 'c87830da5c811', '156f96d8d9d9b', '1e1c5fb7871e9', '530a6767e8a60', '92f6ba77b0c5f', '87a352f335a44', '4e5c81edb954d', 'ed4066a9b920c', 'e35c368b2b63d', '6992d288f26ad', '5ae5818a8294a', '3a16e84d5065e', '2aaa1d0096991', '98a6b5e3a39d0', 'd18eafa44503d', 'b0e1771f4d8d5', 'd279f95799ec0', '67444be6fd003', 'fbaea22d19034', 'aebd1b756f001', '5ec7fe7022a10', 'da1963fbc8320', '0a279abdec707', 'e15f40f8794b7', 'bcc237d61f9b3', '35902166dcac1', '1a15a32c9ef79', 'aa0cd01514cb2', '14a7c6d435691', '84c16eaf11d4a', '85b05544fbbb2', '21142fce9345f', 'c72e18ae2b081', '4a13965a3a022', 'dbc5d30674a85', '0ce1eb0da0221', '87ba4d63eec61', '837f93af4e7a9', 'a0fe5bccf8d7b', 'ff5216c4468b0', '5b97ba5f3cf57', 'f3a6870bdcd41', '2a4e77bfec9aa', '54a6f5651a6d0', '16b17f6009005', '284f61c9c6fa2', 'a235ca528bf39', 'b157c305272ef', 'f54e45e66d780', '06258796bcc2b', '3d9052bfbc2e3', '41796a4f04d51', '63fb762054875', 'bec458082dc3b', '3ded99133c1cb', '08e09fa1c51ca', '0f73d51111c80', 'c69bf340c97b1', 'e73893399dbb8', 'f72f5b4060ee2'],
|
269 |
\true
|
270 |
)
|
271 |
) {
|
inc/view/Blocker.php
CHANGED
@@ -44,7 +44,9 @@ class Blocker {
|
|
44 |
// [Plugin Comp] https://de.wordpress.org/plugins/wp-contact-slider/
|
45 |
'.wpcs_content_inner',
|
46 |
// [Plugin Comp] OptimizePress
|
47 |
-
'.op3-contenttoggleitem-content'
|
|
|
|
|
48 |
];
|
49 |
const OB_START_PLUGINS_LOADED_PRIORITY = (\PHP_INT_MAX - 1) * -1;
|
50 |
/**
|
44 |
// [Plugin Comp] https://de.wordpress.org/plugins/wp-contact-slider/
|
45 |
'.wpcs_content_inner',
|
46 |
// [Plugin Comp] OptimizePress
|
47 |
+
'.op3-contenttoggleitem-content',
|
48 |
+
// [Plugin Comp] Popup Maker
|
49 |
+
'.pum-overlay'
|
50 |
];
|
51 |
const OB_START_PLUGINS_LOADED_PRIORITY = (\PHP_INT_MAX - 1) * -1;
|
52 |
/**
|
inc/view/blocker/Plugin.php
CHANGED
@@ -72,6 +72,7 @@ class Plugin extends \DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlock
|
|
72 |
'expensiveDiv'
|
73 |
);
|
74 |
$cb->addKeepAlwaysAttributes([
|
|
|
75 |
// [Theme Comp] FloThemes
|
76 |
'data-flo-video-embed-embed-code'
|
77 |
]);
|
72 |
'expensiveDiv'
|
73 |
);
|
74 |
$cb->addKeepAlwaysAttributes([
|
75 |
+
'rel',
|
76 |
// [Theme Comp] FloThemes
|
77 |
'data-flo-video-embed-embed-code'
|
78 |
]);
|
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.16.
|
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.16.2
|
12 |
* Text Domain: real-cookie-banner
|
13 |
* Domain Path: /languages
|
14 |
*/
|
languages/real-cookie-banner-de_DE_formal.mo
CHANGED
Binary file
|
languages/real-cookie-banner-de_DE_formal.po
CHANGED
@@ -5,7 +5,7 @@ msgstr ""
|
|
5 |
"Project-Id-Version: n/a\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/src\n"
|
7 |
"POT-Creation-Date: n/a\n"
|
8 |
-
"PO-Revision-Date: 2022-03-
|
9 |
"Last-Translator: Jan Karres <jan.karres@devowl.io>\n"
|
10 |
"Language-Team: German (formal) <https://translate.devowl.io/projects/"
|
11 |
"wordpress-real-cookie-banner-backend-php/develop/de@formal/>\n"
|
@@ -3284,8 +3284,8 @@ msgid ""
|
|
3284 |
msgstr ""
|
3285 |
"Um Lucky Orange in Übereinstimmung mit der DSGVO zu nutzen, müssen Sie den "
|
3286 |
"Extreme Privacy Mode in der Weboberfläche unter Einstellungen (Zahnrad) > "
|
3287 |
-
"Datenschutz > Extreme Privacy Mode aktivieren
|
3288 |
-
"
|
3289 |
|
3290 |
#: inc/overrides/pro/presets/LuckyOrangePreset.php:1
|
3291 |
msgid "Lucky Orange Site ID"
|
5 |
"Project-Id-Version: n/a\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/src\n"
|
7 |
"POT-Creation-Date: n/a\n"
|
8 |
+
"PO-Revision-Date: 2022-03-25 18:50+0000\n"
|
9 |
"Last-Translator: Jan Karres <jan.karres@devowl.io>\n"
|
10 |
"Language-Team: German (formal) <https://translate.devowl.io/projects/"
|
11 |
"wordpress-real-cookie-banner-backend-php/develop/de@formal/>\n"
|
3284 |
msgstr ""
|
3285 |
"Um Lucky Orange in Übereinstimmung mit der DSGVO zu nutzen, müssen Sie den "
|
3286 |
"Extreme Privacy Mode in der Weboberfläche unter Einstellungen (Zahnrad) > "
|
3287 |
+
"Datenschutz > Extreme Privacy Mode aktivieren. Auf diese Weise werden IP-"
|
3288 |
+
"Adressen gekürzt."
|
3289 |
|
3290 |
#: inc/overrides/pro/presets/LuckyOrangePreset.php:1
|
3291 |
msgid "Lucky Orange Site ID"
|
public/dist/banner.lite.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
var realCookieBanner_banner;!function(){var t,e={4930: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}))}},6825: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},i7:function(){return u},Ng:function(){return l},CT:function(){return d},v4:function(){return f},YO:function(){return p},Ti:function(){return h},Ks:function(){return v},dW:function(){return m},Kh:function(){return g},Wm:function(){return b},Qt:function(){return y},fq:function(){return x},WK:function(){return k},jk:function(){return w}});var r="consent-original",o="consent-click-original",i="_",a="consent-by",c="consent-required",s="consent-visual-use-parent",u="consent-inline",l="consent-inline-style",d="consent-id",f="script",p="consent-blocker-connected",h="consent-transaction-complete",v="consent-transform-wrapper",m="1",g="consent-strict-hidden",b="consent-cb-reset-parent",y="1",x="consent-got-clicked",k="1",w="2"},6740: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(4930),a=n(5478),c=n(3532).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()}))}},4052:function(t,e,n){"use strict";n.d(e,{T:function(){return r}});var r="RCB/OptIn/ContentBlocker"},5478:function(t,e,n){"use strict";n.d(e,{l:function(){return o}});var r=n(4184);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}},4184: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}})},784:function(t,e,n){"use strict";n.d(e,{w:function(){return o}});var r=n(8527);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}},8527:function(t,e,n){"use strict";function r(t,e){if(!t||!t.parentElement)return!1;var n=t.parentElement.querySelectorAll(e);for(var r in n)if(n[r]===t)return!0;return!1}n.d(e,{D:function(){return r}})},86: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(7577),l=n(2992),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={},g=0,b=Object.keys(r);g<b.length;g++){var y=b[g];-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(3532).default,v=n(5654).default,m={},g={};function b(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=g[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)}}()),g[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(g));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(5654).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,g,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,g=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,b(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&&g?{"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&&!g&&(P=!0),"rest_cookie_invalid_nonce"!==N.code||!I){t.next=35;break}return R=o.restRecreateNonceEndpoint,t.prev=27,t.next=30,b(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)}},2992: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={}))},7577: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,"/")}},373:function(t,e,n){"use strict";n.d(e,{h:function(){return u}});var r=n(38),o=n(6703),i=n(3416),a=n(6825),c=n(4052),s=n(3532).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 g=p.value,b=(0,i.D)(g);if(t.match(b)){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()}))}},5475: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(2722),s=n(63),u=700;function l(t,e,n,r){return t.enabled,t.scalePercent,t.scalePercentVertical,n}function d(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 f(t,e){var n=d(t),r=n.r,o=n.g,i=n.b;return"rgba(".concat(r,", ").concat(o,", ").concat(i,", ").concat(e/100,")")}var p=n(4115),h=n(38),v=n(6845);function m(){var t=(0,v.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",p=e?"ind_essential":"main_essential",m=e?"ind_close_icon":"main_close_icon",g=e?"ind_custom":"main_custom",b={buttonClickedAll:f,buttonClickedEssentials:p,buttonClickedCloseIcon:m,buttonClickedCustom:g,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,h.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:p)}),[p]),acceptIndividual:(0,o.I4)((function(){return n(!1,g)}),[g]),openIndividualPrivacy:(0,o.I4)((function(){u(!0)}),[u])};return(0,i.Z)((0,i.Z)({},b),{},{closeIcon:(0,o.I4)((function(){l?d():b.acceptEssentials(!0)}),[l,d,b.acceptEssentials])})}var g=n(6228),b=n(617),y=n(6703),x=n(7778),k=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)},w=n(7029).h,C=0,S=function(){var t=(0,o.Ye)((function(){return"react-close-icon-".concat((C++).toString(36))}),[]),e=(0,o.Ye)((function(){return"react-close-icon-".concat((C++).toString(36))}),[]),n=(0,o.sO)(),r=(0,x.EL)(n),i=(0,v.S)(),a=i.headerDesign,c=a.fontSize,s=a.fontColor,d=i.texts.acceptEssentials,f=i.mobile,p=i.activeAction,h=i.pageRequestUuid4,S=i.buttonClicked,A=void 0===S?"":S,O=l(f,0,c),Z=m(),E=Z.buttonClickedCloseIcon,I=Z.closeIcon,B=(0,y.u)().bannerI18n,T=B.close,D=B.closeWithoutSaving,N=p?"change"===p?D:T:d;(0,g.G)("#".concat(e," {\n position: absolute;\n top: 50%;\n right: 0;\n margin-top: calc(").concat(O,"px / 2 * -1);\n display: block;\n width: ").concat(O,"px;\n height: ").concat(O,"px; \n pointer-events: none;\n}\n\n#").concat(t," {\n position: fixed !important;\n ").concat(r?"top: ".concat(r.y,"px;left: ").concat(r.x,"px;display:block;"):"display:none;","\n width: ").concat(O,"px;\n height: ").concat(O,"px;\n cursor: pointer;\n z-index: 99;\n pointer-events: all;\n ").concat(A===E?"outline: rgb(255, 94, 94) solid 5px;":"","\n}\n#").concat(t,":after {\n width: auto !important;\n white-space: nowrap !important;\n}\n#").concat(t," > span:before,#").concat(t," > span:after{\n position: absolute;\n top: 50%;\n left: 50%;\n width: ").concat(1,"px;\n height: ").concat(O,"px;\n background-color: ").concat(s,";\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(t," > span:after{\n transform: rotate(-45deg) translate(-50%, -50%);\n}\n#").concat(t," > span:hover:before,#").concat(t," > span:hover:after{\n opacity: 1;\n width: ").concat(2,"px;\n}"));var P=document.getElementById(h);return w(o.HY,null,w("div",{id:e,ref:n}),(null==r?void 0:r.y)>0&&w(k,{renderInContainer:P},w(b.z,{title:N,id:t,onClick:I,position:r.y>50?"top-left":"left",always:(null==P?void 0:P.clientWidth)<u},w("span",null))))},A=n(7029).h,O=(0,o.Gp)((function(t,e){var n,r,o,a,s,u,d,f,h,m,g,b,x,k,w,C,O,Z=(0,v.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,y.u)().bannerI18n.headerTitlePrivacyPolicyHistory,W=B&&!(null!=I&&I.endsWith(".svg"))&&window.devicePixelRatio>1,L=W?B:I,_=P?"history"===N?z:R.headline:D;return A("div",(0,c.Z)({ref:e},(o=(r=(n=Z).layout).type,a=r.dialogBorderRadius,u=(s=n.design).borderWidth,d=s.borderColor,f=(0,p.Z)(s,["borderWidth","borderColor"]),m=(h=n.headerDesign).inheritBg,g=h.bg,b=h.padding,x=n.customCss.antiAdBlocker,k=n.mobile,n.pageRequestUuid4,w=l(k,0,o),C=l(k,0,u),O={padding:l(k,0,b,0).map((function(t){return"".concat(t,"px")})).join(" "),background:m?f.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&&(O.borderTop="".concat(C,"px solid ").concat(d),O.borderLeft=O.borderTop,O.borderRight=O.borderTop),{className:"y"===x?void 0:"rcb-header-container",style:O})),A("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,u=(0,p.Z)(i,["inheritTextAlign","logo","logoPosition"]),d=t.texts.headline,f=t.individualLayout,h=t.customCss.antiAdBlocker,v=t.mobile,m=(t.pageRequestUuid4,t.individualPrivacyOpen),g=a?o:u.textAlign;return{className:"y"===h?void 0:"rcb-header",style:{transition:"width 500ms, max-width 500ms",maxWidth:"banner"===l(v,0,n)?+(m&&!f.inheritBannerMaxWidth?f.bannerMaxWidth:r):void 0,margin:"auto",display:"flex",justifyContent:"center"===g?"center":"right"===g?"flex-end":void 0,textAlign:g,alignItems:"center",position:"relative",flexDirection:c&&d?"left"===s?"row":"right"===s?"row-reverse":"column":void 0}}}(Z),!!L&&A("img",(0,c.Z)({alt:"",src:L},function(t,e){var n=t.headerDesign,r=n.logoMaxHeight,o=n.logoMargin,a=n.logoFitDim,c=n.logoRetinaFitDim,s=t.customCss.antiAdBlocker,u=t.mobile,d=(t.pageRequestUuid4,e?c:a),f=d?{width:d[0],height:d[1]}:{width:"auto",height:l(u,0,+r)};return{className:"y"===s?void 0:"rcb-logo",style:(0,i.Z)((0,i.Z)({},f),{},{margin:l(u,0,o).map((function(t){return"".concat(t,"px")})).join(" ")})}}(Z,W))),!!_&&A("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:l(t.mobile,t.pageRequestUuid4,+n),fontFamily:o?void 0:i,fontWeight:a}}}(Z),_),(!!T||!!N)&&A(S,null)))})),Z=n(7029).h,E=function(t){var e=t.title,n=t.children,r=(0,v.S)();return Z("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:l(t.mobile,t.pageRequestUuid4,n),fontWeight:o,textAlign:"left"}}}(r),e,n&&Z("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:l(t.mobile,t.pageRequestUuid4,+o),fontWeight:e,marginTop:5}}}(r),n))};function I(t,e,n,r,o){var i=t.layout.borderRadius,a=t.group,c=a.headlineFontSize,s=a.checkboxBg,u=a.checkboxBorderWidth,d=a.checkboxBorderColor,f=a.checkboxActiveBg,p=a.checkboxActiveBorderColor,h=a.checkboxActiveColor,v=t.customCss.antiAdBlocker,m=t.mobile,g=(t.pageRequestUuid4,l(m,0,o||c)),b=l(m,0,+u),y=+g+2*b+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(b,"px solid ").concat(n?p:d),padding:3,height:y,width:y,marginRight:10,borderRadius:+i,verticalAlign:"middle",lineHeight:0}}}function B(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 T=n(4184),D=n(7029).h,N=function(t){var e=t.label,n=t.value,r=t.children,o=(0,v.S)(),a="string"==typeof n&&(0,T.C)(n)?D("a",{href:n,style:(0,i.Z)({wordBreak:"break-all"},B(o,!1).style),target:"_blank",rel:"noopener noreferrer"},n):"string"==typeof n?D("span",{dangerouslySetInnerHTML:{__html:n}}):n;return D("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:l(t.mobile,t.pageRequestUuid4,n)>0?"1px solid ".concat(r):void 0,paddingLeft:15}}}(o)),e&&D("strong",null,e,": "),a,!!r&&D("div",null,r))},P=n(3251),R=n(3282),z=n(595),W=n(4930),L=n(7029).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,h=r.noTechnicalDefinitions,m=r.technicalDefinitions,g=r.codeDynamics,b=(0,o.eJ)(!1),x=(0,a.Z)(b,2),k=x[0],w=x[1],C=(0,v.S)(),S=C.ePrivacyUSA,A=C.group.descriptionFontSize,O=C.consent,Z=C.activeAction,E=C.essentialGroup,B=(0,y.u)().bannerI18n,T=(0,P.w)();(0,o.bt)((function(){w(!0)}),[]);var D=E===n.slug,_=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!_&&C.updateCookieChecked(n.id,i,!H)}),[_,C,n,i,H]);return L("div",function(t){return{className:"y"===t.customCss.antiAdBlocker?void 0:"rcb-cookie",style:{marginTop:10}}}(C),L("div",{style:{marginBottom:10}},L(z.p,(0,c.Z)({icon:R.Z,onClick:Y},I(C,k,H,_,A))),L("strong",{style:{verticalAlign:"middle",cursor:"pointer"},onClick:Y},s)),!!u&&L(N,{label:B.purpose,value:u}),L(N,{label:B.legalBasis,value:"legal-requirement"===f?B.legalRequirement:"legitimate-interest"===f||D?B.legitimateInterest:B.consent}),L(N,{label:B.provider,value:l}),!!d&&L(N,{label:B.providerPrivacyPolicy,value:d}),!!S&&L(N,{label:B.ePrivacyUSA,value:p?B.yes:B.no}),!h&&m.map((function(t){var e=t.type,n=t.name,r=t.host,o=t.duration,i=t.durationUnit,a=t.sessionDuration;return L(N,{key:n,label:B.technicalCookieDefinition,value:L("span",{style:{fontFamily:"monospace"}},(0,W.c)(n,g))},L(N,{label:B.type,value:T[e].name}),!!r&&L(N,{label:B.host,value:L("span",{style:{fontFamily:"monospace"}},r)}),-1===["local","session","indexedDb","flash"].indexOf(e)&&L(N,{label:B.duration,value:a?"Session":"".concat(o," ").concat(B.durationUnit[i])}))})))},H=n(4769),Y=n(7029).h,F=function(t){var e,n=t.group,r=(0,v.S)(),i=n.id,s=n.slug,u=n.name,d=n.description,f=n.items,p=(0,o.eJ)(!1),h=(0,a.Z)(p,2),m=h[0],g=h[1],b=(0,o.eJ)(!1),y=(0,a.Z)(b,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,T=Z.showMore,D=Z.hideMore,N=r.consent,P=r.activeAction,W=r.essentialGroup;(0,o.bt)((function(){g(!0)}),[]);var L=W===s,F=L||"history"===P,M=O||L||!!N.groups[i],U=L||JSON.stringify(f.map((function(t){return t.id})).sort())===JSON.stringify((null===(e=N.groups[i])||void 0===e?void 0:e.sort())||[])?R.Z:H.Z,q=(0,o.I4)((function(){return!F&&r.updateGroupChecked(i,!M)}),[F,r,i,M]);return Y("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,u=t.mobile,d=(t.pageRequestUuid4,l(u,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:l(u,0,i).map((function(t){return"".concat(t,"px")})).join(" "),borderRadius:+r,textAlign:"left"}}}(r),Y(E,{title:Y(o.HY,null,Y(z.p,(0,c.Z)({icon:U,onClick:q},I(r,m,M,F))),Y("span",{style:{verticalAlign:"middle",cursor:"pointer"},onClick:q},u," (",f.length,")"))},d,!!f&&Y(o.HY,null," • ",Y("a",(0,c.Z)({href:"#"},B(r,x),{onClick:function(t){A(!S),t.preventDefault()},onMouseEnter:function(){return k(!0)},onMouseLeave:function(){return k(!1)}}),S?D:T),S&&f.map((function(t){return Y(_,{key:t.id,group:n,cookie:t})})))))},M=n(7029).h,U=function(){var t=(0,v.S)(),e=t.groups,n=t.group.groupSpacing,r=t.mobile,i=(t.pageRequestUuid4,e.filter((function(t){return t.items.length})));return M("div",{className:"y"===t.customCss.antiAdBlocker?void 0:"rcb-groups",style:{marginTop:10,clear:"both"}},i.map((function(t,e){return M(o.HY,{key:t.id},M(F,{key:t.id,group:t}),e!==i.length-1&&M("div",{style:{height:l(r,0,+n)}}))})))},q=n(7029).h,j=function(t){var e=t.group,n=e.id,r=e.slug,i=e.name,s=(0,o.eJ)(!1),u=(0,a.Z)(s,2),d=u[0],f=u[1],p=(0,v.S)(),h=p.decision.groupsFirstView,m=p.design.fontSize,g=p.consent,b=p.essentialGroup,x=(0,y.u)().isPro;(0,o.bt)((function(){f(!0)}),[]);var k=b===r,w=k||!!g.groups[n],C=(0,o.I4)((function(){return x&&h&&!k&&p.updateGroupChecked(n,!w)}),[x,k,p,n,w,h]);return q("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:l(t.mobile,t.pageRequestUuid4,r?+e:+o),whiteSpace:"nowrap",display:"inline-block"}}}(p)),q("span",null,x&&h?q(z.p,(0,c.Z)({icon:R.Z,onClick:C},I(p,d,w,k,m))):q(o.HY,null,q("strong",function(t){return{className:void 0,style:{color:t.bodyDesign.dottedGroupsBulletColor}}}(p),"●")," "),q("span",{style:{verticalAlign:"middle",cursor:h?"pointer":void 0},onClick:C},i)))},X=n(7029).h,G=function(){var t=(0,v.S)(),e=t.groups;return X("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 X(j,{key:t.id,group:t})})))},J=n(7029).h,V=function(){var t,e=(0,v.S)(),n=(0,o.eJ)(-1),r=(0,a.Z)(n,2),i=r[0],s=r[1],u=e.activeAction,d=e.history,p=e.selectHistoryEntry,h=(0,y.u)().bannerI18n,m=h.historyLabel,g=h.historySelectNone;(0,o.d4)((function(){u?"history"===u&&null!=d&&d.length&&s(d[0].id):s(-1)}),[u,d]);var b,x,k,w,C,S,A,O=null==d||null===(t=d[0])||void 0===t?void 0:t.uuid;return J(o.HY,null,m," ",J("select",(0,c.Z)({},(k=(x=(b=e).design).fontSize,w=x.fontColor,S=(C=b.bodyDesign).descriptionInheritFontSize,A=C.descriptionFontSize,{className:"y"===b.customCss.antiAdBlocker?void 0:"rcb-history-select",style:{fontSize:l(b.mobile,b.pageRequestUuid4,S?+k:+A),background:"transparent",border:0,color:w,borderBottom:"1px solid ".concat(f(w,50))}}),{disabled:!(null!=d&&d.length),value:i,onChange:function(t){var e=+t.target.value;d.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==d?void 0:d.length)>0?d.map((function(t){var e=t.id,n=t.isDoNotTrack,r=t.isUnblock,o=t.isForwarded,i=t.created;return J("option",{key:e,value:e},new Date(i).toLocaleString(document.documentElement.lang),n?" (Do Not Track)":"",r?" (Content Blocker)":"",o?" (Consent Forwarding)":"")})):J("option",{value:-1},g)),!!O&&J("div",{style:{opacity:.5,marginTop:5}},"UUID: ",O))};function Q(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,u=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:l(u,0,+i),color:a?void 0:c}}}function $(t,e,n,r){var o=t.name,i=t.order,a=t.fullWidth,c=t.marginLeft,s=t.marginRight,u=t.type,d=t.borderRadius,f=t.bg,p=t.hoverBg,h=t.fontSize,v=t.textAlign,m=t.linkTextDecoration,g=t.fontColor,b=t.fontWeight,y=t.hoverFontColor,x=t.borderWidth,k=t.borderColor,w=t.hoverBorderColor,C=t.padding,S=t.antiAdBlocker,A=(t.pageRequestUuid4,l(e,0,+x)),O={textDecoration:"link"===u?m:"none",borderRadius:+d,cursor:"button"===u?"pointer":void 0,backgroundColor:"button"===u?n?p:f:void 0,fontSize:l(e,0,+h),fontWeight:b,color:n?y:g,transition:"background-color 250ms, color 250ms, border-color 250ms",margin:"0 ".concat(s,"px ").concat(l(e,0,10,0),"px ").concat(c,"px"),border:"button"===u&&A>0?"".concat(A,"px solid ").concat(n?w:k):void 0,padding:l(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 K(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,g=s.acceptEssentialsHoverBg,b=s.acceptEssentialsHoverFontColor,y=s.acceptEssentialsHoverBorderColor,x=s.acceptAllFontWeight,k=s.acceptAllFontSize,w=s.acceptAllPadding,C=t.customCss.antiAdBlocker,S=t.mobile;return $({name:"accept-essentials",order:r?0:1,fullWidth:!r,marginLeft:0,marginRight:r?5:0,type:i,borderRadius:a,bg:l,hoverBg:g,fontSize:r||o?k:u,textAlign:d,linkTextDecoration:c,fontColor:v,fontWeight:o?x:m,hoverFontColor:b,borderWidth:h,borderColor:f,hoverBorderColor:y,padding:r?w:p,antiAdBlocker:C,pageRequestUuid4:t.pageRequestUuid4},S,e,n)}function tt(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,g=a.acceptIndividualHoverBorderColor,b=t.customCss.antiAdBlocker,y=t.mobile;return $({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:g,padding:d,antiAdBlocker:b,pageRequestUuid4:t.pageRequestUuid4},y,e,n)}function et(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,g=u.fontColor,b=u.fontWeight,y=u.hoverBg,x=u.hoverFontColor,k=u.hoverBorderColor,w=t.customCss.antiAdBlocker,C=t.mobile;return $({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:g,fontWeight:r?c:b,hoverFontColor:x,borderWidth:m,borderColor:h,hoverBorderColor:k,padding:v,antiAdBlocker:w,pageRequestUuid4:t.pageRequestUuid4},C,e,n)}function nt(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,g=c.acceptAllHoverFontColor,b=c.acceptAllHoverBorderColor,y=t.customCss.antiAdBlocker,x=t.mobile;return $({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:g,borderWidth:p,borderColor:d,hoverBorderColor:b,padding:f,antiAdBlocker:y,pageRequestUuid4:t.pageRequestUuid4},x,e,n)}var rt=n(7029).h,ot=function(t){var e=t.ms,n=void 0===e?100:e,r=t.chars,i=void 0===r?["◷","◶","◵","◴"]:r,c=(0,o.eJ)(1),s=(0,a.Z)(c,2),u=s[0],l=s[1];return(0,o.d4)((function(){var t=setInterval((function(){l(u+1)}),n);return function(){return clearInterval(t)}}),[u]),rt("span",{dangerouslySetInnerHTML:{__html:i[u%4]}})},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],h=(0,o.I4)((function(){f||(u&&p(!0),null==r||r())}),[r,f,u]),m=(0,o.eJ)(!1),g=(0,a.Z)(m,2),b=g[0],y=g[1],x=(0,v.S)(),k=x.individualPrivacyOpen,w=x.decision,C=w.acceptAll,S=w.acceptEssentials,A=x.bodyDesign.acceptAllOneRowLayout,O={onClick:h,onMouseEnter:function(){return y(!0)},onMouseLeave:function(){return y(!1)}},Z=(0,o.Ye)((function(){switch(e){case"acceptEssentials":return K;case"acceptIndividual":return tt;case"save":return et;default:return nt}}),[e]);return it("div",(0,c.Z)({},"button"===n?O:{},Z(x,b,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,null):i))},ct=n(9295),st=n(7029).h,ut=function(){var t=(0,v.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,h=(0,y.u)().isPro,g=m(),b=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&&h&&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===b,busyOnClick:O},i),"change"!==e&&st(at,{onClick:C,type:n.acceptEssentials,inlineStyle:"acceptEssentials",framed:p===x,busyOnClick:O},a),(l||h&&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(9270),dt=n(7029).h,ft=function(t){var e,n=t.leftSideContainerRef,r=t.rightSideContainerRef,i=(0,v.S)(),a=i.groups,f=i.layout.type,p=i.mobile,h=i.ePrivacyUSA,m=i.ageNotice,b=i.bodyDesign.teachingsSeparatorActive,y=i.texts,x=y.description,k=y.ePrivacyUSA,w=y.ageNoticeBanner,C=y.consentForwardingExternalHosts,S=y.tcfGlobalScope,A=i.tcf,O=i.consentForwardingExternalHosts,Z=i.individualPrivacyOpen,E=i.individualTexts,I=i.activeAction,B=i.pageRequestUuid4,T="bnnr-body-leftSide-".concat(B),D="bnnr-body-rightSide-".concat(B),N="cntnt-".concat(B);(0,g.G)(" #".concat(T," img {\n max-width: 100%;\n height: auto;\n}\n\n").concat((null===(e=document.getElementById(B))||void 0===e?void 0:e.clientWidth)>u?"":"#".concat(T," {\n float: initial !important;\n width: auto !important;\n padding-right: initial !important;\n ").concat("banner"!==l(p,0,f)||Z?Z?"padding-top: 10px !important;":"":"padding-bottom: 10px !important;","\n }\n\n #").concat(N," {\n min-height: calc(var(--rendered-height-header) + var(--rendered-height-footer) + var(--rendered-height-rightSideContainer) + 60px);\n }\n \n #").concat(D," {\n float: initial !important;\n width: auto !important;\n max-width: initial !important;\n margin: initial !important;\n ").concat(Z?"padding-bottom: 5px !important;":"padding-top: 10px !important;","\n position: sticky;\n }")));var P=O?C.replace(/{{websites}}/g,O.join(", ")):"",R=A?A.model.isServiceSpecific?"":S:"",z=[Z?E.description:x,P,R].filter(Boolean).join(" "),W=(0,lt.Q)(a,A?{gvl:A.gvl,vendorConfigurations:A.original.vendorConfigurations}:void 0,h?k:"",(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(Z?U:G,null)}),[Z,A]),_=dt("div",(0,c.Z)({ref:n,key:"leftSide",id:T},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,l(o,0,e)),s=l(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)),!!z&&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:l(c,t.pageRequestUuid4,r?+e:+o),textAlign:s?i:void 0}}}(i),"history"===I?dt(V,null):dt(o.HY,null,dt("span",{dangerouslySetInnerHTML:{__html:z}}),(h||m)&&dt(o.HY,null,b&&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))),!!W&&dt("span",(0,c.Z)({},Q(i),{dangerouslySetInnerHTML:{__html:W}})),m&&!!w&&dt("span",(0,c.Z)({},Q(i),{dangerouslySetInnerHTML:{__html:w}})))))),L),H="history"===I?dt("div",{ref:r}):dt("div",(0,c.Z)({ref:r,key:"rightSide",id:D},function(t){var e,n=t.layout,r=n.type,o=n.dialogMaxWidth,i=t.design,a=i.borderWidth,c=i.bg,u=i.fontColor,f=t.headerDesign,p=t.footerDesign,h=t.bodyDesign.padding,v=t.individualLayout.inheritDialogMaxWidth,m=t.customCss.antiAdBlocker,g=t.mobile,b=t.individualPrivacyOpen,y=(t.pageRequestUuid4,l(g,0,r)),x=l(g,0,a),k=l(g,0,h,0),w=d(u),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||b?+k[0]:10,paddingBottom:b?10:+k[2],float:"banner"===y||b?"right":void 0,maxWidth:O,width:O,margin:"dialog"===y&&b&&!v?"0 0 10px 10px":void 0,position:b?void 0:"sticky"},(0,s.Z)(e,b?"top":"bottom",b?"calc(var(--rendered-height-header) + ".concat(l(g,0,f.borderWidth),"px)"):"calc(var(--rendered-height-footer) + ".concat(l(g,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,u=(t.pageRequestUuid4,l(s,0,o)),d={background:r,padding:l(s,0,a).map((function(t,e){return"".concat([0,2].indexOf(e)>-1?0:t,"px")})).join(" "),lineHeight:1.4};return"dialog"===l(s,0,e)&&u>0&&(d.borderLeft="".concat(u,"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"===l(a,t.pageRequestUuid4,n)?+(c&&!o.inheritBannerMaxWidth?o.bannerMaxWidth:r):void 0,margin:"auto"}}}(i),Z?[H,_]:[_,H],dt("div",{style:{clear:"both"}})))},pt=n(9549),ht=n(713),vt=n(7029).h,mt=function(t){var e=t.children,n=(0,p.Z)(t,["children"]),r=(0,v.S)(),i=(0,o.eJ)(!1),s=(0,a.Z)(i,2),u=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,u=t.mobile,d=(t.pageRequestUuid4,arguments.length>1&&void 0!==arguments[1]&&arguments[1]),f={textDecoration:c,fontSize:l(u,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,u),n),e)},gt=n(7029).h,bt=(0,o.Gp)((function(t,e){var n=(0,v.S)(),r=(n.isTcf,n.layout.type),i=n.legal,a=n.footerDesign,s=a.poweredByLink,u=a.linkTarget,d=(n.individualPrivacyOpen,n.updateIndividualPrivacyOpen,n.poweredLink),f=n.isConsentRecord,p=n.onClose,h=(0,y.u)(),m=h.bannerI18n,g=m.close,x=(m.tcf,h.affiliate),k=(0,o.I4)((function(t){p(),t.preventDefault()}),[p]),w="_blank"===u?{target:"_blank",rel:"noopener"}:{},C=(0,ht.X)(i),S=C.linkPrivacyPolicy,A=C.linkImprint,O=[[f&>(mt,{href:"#",onClick:k,key:"close"},gt("strong",null,g)),!1,S&>(mt,(0,c.Z)({href:S.url},w,{key:"privacyPolicy"}),S.label),A&>(mt,(0,c.Z)({href:A.url},w,{key:"imprint"}),A.label)].filter(Boolean),[]];return d&&s&&O["banner"===r?0:1].push(gt(mt,{href:x?x.link:d.href,target:d.target,key:"powered-by"},gt("span",{dangerouslySetInnerHTML:{__html:d.innerHTML}}),x&>(b.z,{title:x.description,position:"top-left"}," ",x.labelBehind))),gt("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,u=i.textAlign,d=i.padding,f=i.fontSize,p=i.fontColor,h=i.fontWeight,v=t.customCss.antiAdBlocker,m=t.mobile,g=(t.pageRequestUuid4,l(m,0,n)),b=l(m,0,o.borderWidth),y={padding:l(m,0,d,0).map((function(t){return"".concat(t,"px")})).join(" "),background:a?o.bg:c,borderRadius:"dialog"===g?"0 0 ".concat(r,"px ").concat(r,"px"):void 0,fontSize:l(m,0,+f),fontWeight:h,color:p,textAlign:s?o.textAlign:u,position:"sticky",bottom:0,zIndex:1};return"dialog"===g&&b>0&&(y.borderBottom="".concat(b,"px solid ").concat(o.borderColor),y.borderLeft=y.borderBottom,y.borderRight=y.borderBottom),{className:"y"===v?void 0:"rcb-footer-container",style:y}}(n)),gt("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"===l(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?gt(o.HY,{key:t[0].key},(0,pt.e)(t,gt(o.HY,null," • "))):null})),gt("br",null))))}));function yt(t,e){var n=(0,v.S)().pageRequestUuid4,r=(0,g.G)("","useBannerRenderedHeightsAsCssVars-".concat(e)),i=document.getElementById(r);(0,o.d4)((function(){var r=function(t){i.innerHTML="#".concat(n,"{--rendered-height-").concat(e,": ").concat(Math.floor(t),"px;--rendered-height-raw-").concat(e,": ").concat(t,"px}")};if(!t)return function(){};if(window.ResizeObserver){var o=new ResizeObserver((function(){r(t.getBoundingClientRect().height)}));return o.observe(t),function(){o.disconnect()}}var a=0,c=setInterval((function(){var e=t.getBoundingClientRect().height;a!==e&&(a=e,r(e))}),150);return function(){clearInterval(c)}}),[t,e])}var xt=n(7029).h,kt=function(){var t,e=(0,v.S)(),n=e.layout,r=n.type,i=n.dialogBorderRadius,s=e.decision,d=s.acceptEssentials,f=s.showCloseIcon,p=e.mobile,h=e.individualPrivacyOpen,m=e.design.bg,b=e.bodyDesign.teachingsFontColor,y=e.activeAction,x=e.pageRequestUuid4,k="bnnr-body-rightSide-".concat(x),w="cntnt-".concat(x),C=(0,o.sO)(),S=C.current,A=!0;!p.hideHeader||y||h||"hide"===d&&f||(A=l(p,0,A));var Z=(0,o.eJ)(!1),E=(0,a.Z)(Z,2),I=E[0],B=E[1],T=(0,o.I4)((function(){if(S){var t=S.clientHeight,e=S.scrollHeight,n=S.scrollTop,r=S.offsetHeight,o=t<e,i=Math.ceil(n+r)>=e,a=o&&!i&&!h;I!==a&&B(a)}}),[S,h,I]);T(),(0,o.bt)((function(){return S?(S.addEventListener("scroll",T),function(){return S.removeEventListener("scroll",T)}):function(){}}),[S,T]),(0,g.G)(I&&(null===(t=document.getElementById(x))||void 0===t?void 0:t.clientWidth)<u?"#".concat(k," {box-shadow:var(--boxShadowShowScroll);}"):""),(0,g.G)("Win32"===navigator.platform&&"dialog"===r&&i>0?["#".concat(w,"{overflow:overlay!important;}"),"#".concat(w,"::-webkit-scrollbar{width:11px;}"),"#".concat(w,"{scrollbar-width:thin;scrollbar-color:").concat(b," transparent;}"),"#".concat(w,"::-webkit-scrollbar-track{background:transparent;}"),"#".concat(w,"::-webkit-scrollbar-thumb{background-color:").concat(b,";border-radius:").concat(i,"px;border:3px solid ").concat(m,";}"),"#".concat(w,">div{border-top-right-radius:0!important;border-bottom-right-radius:0!important;}")].join("\n"):"");var D=(0,o.sO)(),N=(0,o.sO)(),P=(0,o.sO)();return yt(D.current,"header"),yt(N.current,"footer"),yt(P.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,u=(a.maxHeight,o||i?51:0);return{className:"y"===r?void 0:"rcb-content",style:{position:"relative",maxHeight:l(a,0,s-("banner"===n?0:20)-u),overflow:"auto"}}}(e),{ref:C,id:w}),A&&xt(o.HY,null,xt(O,{ref:D}),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,l(c,0,n.borderWidth)),u={height:l(c,0,+o),background:i,position:"sticky",top:"var(--rendered-height-header)",zIndex:9};return"dialog"===l(c,0,e)&&s>0&&(u.borderLeft="".concat(s,"px solid ").concat(n.borderColor),u.borderRight=u.borderLeft),{className:"y"===a?void 0:"rcb-header-separator",style:u}}(e))),xt(ft,{rightSideContainerRef:P}),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,l(c,0,n.borderWidth)),u={height:l(c,0,+o),background:i,position:"sticky",bottom:"var(--rendered-height-footer)"};return"dialog"===l(c,0,e)&&s>0&&(u.borderLeft="".concat(s,"px solid ").concat(n.borderColor),u.borderRight=u.borderLeft),{className:"y"===a?void 0:"rcb-footer-separator",style:u}}(e)),xt(bt,{ref:N}))};function wt(){var t=(0,o.Ye)((function(){return window.innerWidth}),[])<u,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),g=(0,a.Z)(m,2),b=g[0],y=g[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!==b&&(v(b),y(void 0))}),[b]),(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(5194),Et=n(2992),It={path:"/consent",method:Et.O.GET},Bt=n(86),Tt=n(784),Dt=n(8527),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,g=void 0===m?1e3:m,b=t.animationOutDuration,y=void 0===b?1e3:b,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:g,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:g,animationOutDuration:y}))}),[c,u,d,p,v,g,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 Wt(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 Lt=n(8055),_t=n(7029).h,Ht=function(){var t,e,n,r,o,i,u,d,p,h,m,g,b,y,x,k,w,C,S,A,O,Z,E,I,B,T,D,N,P,R,z,W=(0,v.S)(),L=W.layout,_=L.animationInDuration,H=L.animationOutDuration,Y=W.animationVisible,F=wt()(W.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=W).layout).type,r=e.dialogMaxWidth,o=e.dialogPosition,i=e.dialogMargin,u=e.bannerPosition,d=e.dialogBorderRadius,h=(p=t.design).borderWidth,m=p.borderColor,g=p.textAlign,b=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=l(T,0,n),P=l(T,0,h),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:g,width:R,overflow:"hidden",alignSelf:l(T,0,"banner"===N?"top"===u?"flex-start":"flex-end":void 0),fontFamily:y?void 0:x,fontWeight:k,color:b,margin:"dialog"===N?10:void 0,borderRadius:"dialog"===N?+d:void 0,boxShadow:w?"".concat(C,"px ").concat(S,"px ").concat(A,"px ").concat(O,"px ").concat(f(Z,E)):void 0},"banner"===N?"top"===u?"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,v.S)(),e=((0,y.u)().isPro,t.layout),n=e.overlay,r=(e.overlayBlur,t.customCss),i=r.antiAdBlocker,s=r.css,u=t.visible,d=t.animationVisible,p=t.activeAction,h=t.skipOverlay,m=t.gotHiddenDueLegal,b=t.pageRequestUuid4,x=t.individualPrivacyOpen,k=Wt(t),w=u&&!k||!!p;(0,g.G)(i?s:""),(0,g.G)("#".concat(b,", #").concat(b," * {box-sizing: border-box;}")),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&&d);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,Lt.s)(1e3)}),[d,x]),m&&(0,o.d4)((function(){m(k)}),[k]),function(){var t=(0,v.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,v.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"===l(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 h?B:_t("div",(0,c.Z)({id:b},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(l(s,0,n)," ").concat(r?"":"overlay-deactivated"),style:{background:r?f(o,i):"none",position:"fixed",top:0,left:0,right:0,bottom:0,zIndex:99999,pointerEvents:r?"all":"none",fontSize:l(s,0,+a)}}}(t)),B)},Ft=n(9747);function Mt(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=(0,y.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,h.Z)(n);try{for(d.s();!(l=d.n()).done;){var f=l.value;if(f!==c){var p=f.items.filter((function(t){return"legitimate-interest"===t.legalBasis})).map((function(t){return t.id}));p.length&&(u[f.id]=p)}}}catch(t){d.e(t)}finally{d.f()}}return u}var Ut=n(7051),qt=n(6341),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(3532).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(2624),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",!!Wt(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,y.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,y.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,p;return Ot().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=(0,y.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,h.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,h.Z)(d.items),t.prev=11,f.s();case 13:if((p=f.n()).done){t.next=19;break}if("legitimate-interest"!==p.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,y.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(7248),ue=n(996);var le=n(2207),de=n(7029).h,fe=function(t){var e=t.poweredLink,n=(0,Kt.h)(),r=(0,y.u)(),c=r.customizeValuesBanner,s=c.layout,u=c.decision,l=c.legal,d=c.design,f=c.headerDesign,p=c.bodyDesign,h=c.footerDesign,m=c.texts,g=c.individualLayout,b=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),W=function(){var t=(0,y.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}}(),L=W.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)({},h),texts:(0,i.Z)({},m),individualLayout:(0,i.Z)({},g),saveButton:(0,i.Z)({},b),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),L(n,!1))}))},onClose:function(){F((function(t){return(0,i.Z)((0,i.Z)((0,i.Z)({},t),L(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,L),function(t,e,n){!(0,y.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,L),(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=v.k.Context();return de(M.Provider,{value:Y},de(Yt,null))},pe=n(6740),he=n(4052),ve=n(2785),me=n(3532).default;function ge(t){return be.apply(this,arguments)}function be(){return be=(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)}))),be.apply(this,arguments)}var ye=0,xe=n(3657),ke=n(373),we=n(3421),Ce=n(3416);function Se(t,e,n){var r,o=[],i=(0,y.u)(),a=i.groups,c=i.revisionHash,s=a.map((function(t){return t.items})).flat(),u=(0,h.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,p=(0,h.Z)(d);try{for(p.s();!(f=p.n()).done;){var v=f.value,m=(0,Ce.D)(v.name);if(v.type===t&&(v.name===e||e.match(m))&&(v.host===n||"*"===n)){o.push({cookie:l,relevance:d.length+d.indexOf(v)+1});break}}}catch(t){p.e(t)}finally{p.f()}}}}}catch(t){u.e(t)}finally{u.f()}var g=(0,Kt.h)();if(o.length){var b=o.sort((function(t,e){return t.relevance-e.relevance}))[0].cookie;return g&&c===g.revision?Object.values(g.consent).flat().indexOf(b.id)>-1?{cookie:b,consentGiven:!0,cookieOptIn:!0}:{cookie:b,consentGiven:!0,cookieOptIn:!1}:{cookie:b,consentGiven:!1,cookieOptIn:!1}}return{cookie:null,consentGiven:!!g,cookieOptIn:!0}}var Ae=n(3532).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(3532).default;function Ie(t){return Ee.all(t.map((function(t){return Oe.apply(void 0,(0,Ze.Z)(t))})))}var Be,Te=n(7577),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,ge((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,ge((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,y.u)().isTcf,(0,Ut.C)((function(){var t=(0,y.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)},9295:function(t,e,n){"use strict";n.d(e,{m:function(){return i}});var r=n(6703),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}},617:function(t,e,n){"use strict";n.d(e,{z:function(){return u}});var r=n(2722),o=n(4115),i=n(5213),a=n(3428),c=n(6228),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,g=t.noAnimate,b=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(g?"hint--no-animate":""," ").concat(b?"hint--bounce":""," ").concat(i||"")},y),n)}))},595:function(t,e,n){"use strict";n.d(e,{p:function(){return s}});var r=n(2722),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}}))}},6845: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},6943: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},713:function(t,e,n){"use strict";n.d(e,{X:function(){return c}});var r=n(6845),o=n(6943),i=n(6703);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}}}},6228: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}},9747:function(t,e,n){"use strict";n.d(e,{$:function(){return g}});var r=n(2711),o=n(7938),i=n(5450),a=n.n(i),c={path:"/consent",method:n(2992).O.POST},s=n(5194),u=n(38),l=n(6703),d=n(5654).default,f=n(3532).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(7248),v=n(86),m=n(3532).default;function g(t){return b.apply(this,arguments)}function b(){return(b=(0,o.Z)(a().mark((function t(e){var n,o,i,u,l,d,f,g,b,y,x,k,w,C,S,A,O,Z,E,I;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.tcfString,g=document.documentElement,b=g.clientWidth,y=g.clientHeight,x=(0,s.m)(),k=x.restNamespace,w=x.restRoot,C=x.restQuery,S=x.restNonce,t.next=5,(0,v.D)({location:c,options:{restNamespace:k,restRoot:w,restQuery:C,restNonce:S},sendRestNonce:!1,request:(0,r.Z)((0,r.Z)({},n),{},{markAsDoNotTrack:i,buttonClicked:u,viewPortWidth:b,viewPortHeight:y,blocker:d,tcfString:f}),params:{_wp_http_referer:window.location.href}});case 5:return A=t.sent,O=A.forward,Z=A.uuid,E=A.cookie_revision,I=A.decision_in_cookie,window.rcbDisabledCookieComp={uuid:Z,revision:E,consent:I},t.next=13,m.all([O&&p(O),(0,h.k)("consent")].filter(Boolean));case 13:case"end":return t.stop()}}),t)})))).apply(this,arguments)}},7248:function(t,e,n){"use strict";n.d(e,{k:function(){return W}});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(6703),d=n(2624);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],g=(0,s.Z)({},m.id,m.items.map((function(t){return t.id})));if("consent"===t){var b=(0,d.h)();!1!==b?e=b.consent:(console.warn("Something went wrong while reading the cookie, fallback to essentials only..."),e=g)}return"essentials"===t&&(e=g),{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(2785),v=n(6740),m=n(3532).default;function g(t){return b.apply(this,arguments)}function b(){return b=(0,r.Z)(i().mark((function t(e){var n,o,c,s,u,d,g,b,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,(g=p(c,d)).useGlobalObjectName,b=g.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(b)],o&&(f=c&&d["codeOptInNo".concat(b)],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)}))),b.apply(this,arguments)}var y=n(3532).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,g,b,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)(),g=m.setCookiesViaManager,b=p(d,g),x=b.useVariableNameCamel,k=b.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(3416),C=n(8542),S=n.n(C),A=n(4930);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(86),E=n(5194),I={path:"/consent/clear",method:n(2992).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(3421);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,g;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,g=[],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,b;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||(((b=c&&h["codeOptInNo".concat(m)])&&!n||!b)&&(0,v.K)(l,u),d&&!f&&(O(p,u),p.some((function(t){return"http"===t.type}))&&g.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:g.length&&setTimeout((function(){return B(g)}),0);case 7:case"end":return t.stop()}}),t)}))),N.apply(this,arguments)}var P=n(7051),R=n(2207),z=n(3532).default;function W(t){return L.apply(this,arguments)}function L(){return(L=(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,g(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)}},9270:function(t,e,n){"use strict";n.d(e,{Q:function(){return c}});var r=n(38),o=n(6703),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=[],g=(0,r.Z)(t);try{for(g.s();!(s=g.n()).done;){var b,y=s.value.items,x=(0,r.Z)(y);try{for(x.s();!(b=x.n()).done;){var k=b.value;c(k)&&m.push(k.name)}}catch(t){x.e(t)}finally{x.f()}}}catch(t){g.e(t)}finally{g.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>"))}},3251: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}})},8055: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}})},3657:function(t,e,n){"use strict";n.d(e,{U:function(){return i}});var r=n(6703),o=n(8527);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=""},2624:function(t,e,n){"use strict";n.d(e,{h:function(){return a}});var r=n(7663),o=n(6703),i=n(6341);function a(){var t=function(t){var e,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=(null===(e=document.cookie.match("(^|;)\\s*".concat(t,"\\s*=\\s*([^;]+)")))||void 0===e?void 0:e.pop())||"";return n?decodeURIComponent(r):r}((0,o.u)().userConsentCookieName);if(!t)return!(0,i.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])}}},996:function(t,e,n){"use strict";n.d(e,{I:function(){return r}});var r="RCB/Banner/Show"},2207:function(t,e,n){"use strict";n.d(e,{V:function(){return r}});var r="RCB/OptIn/All"},2785:function(t,e,n){"use strict";n.d(e,{g:function(){return r}});var r="RCB/OptIn"},3421:function(t,e,n){"use strict";n.d(e,{E:function(){return r}});var r="RCB/OptOut"},3416: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}})},5194: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}})},6703:function(t,e,n){"use strict";n.d(e,{u:function(){return o}});var r=n(5194);function o(){return(0,r.m)().others}},9549: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]}),[])}},4741: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)}})}))},7051:function(t,e,n){"use strict";n.d(e,{C:function(){return o}});var r=n(3532).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()}))}))}},6341: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(4741)}));var o=r.O(void 0,[568],(function(){return r(5475)}));o=r.O(o),realCookieBanner_banner=o}();
|
2 |
//# sourceMappingURL=banner.lite.js.map
|
1 |
+
var realCookieBanner_banner;!function(){var t,e={4930: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}))}},6825: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},i7:function(){return u},Ng:function(){return l},CT:function(){return d},v4:function(){return f},YO:function(){return p},Ti:function(){return h},Ks:function(){return v},dW:function(){return m},Kh:function(){return g},Wm:function(){return b},Qt:function(){return y},fq:function(){return x},WK:function(){return k},jk:function(){return w}});var r="consent-original",o="consent-click-original",i="_",a="consent-by",c="consent-required",s="consent-visual-use-parent",u="consent-inline",l="consent-inline-style",d="consent-id",f="script",p="consent-blocker-connected",h="consent-transaction-complete",v="consent-transform-wrapper",m="1",g="consent-strict-hidden",b="consent-cb-reset-parent",y="1",x="consent-got-clicked",k="1",w="2"},6740: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(4930),a=n(5478),c=n(3532).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()}))}},4052:function(t,e,n){"use strict";n.d(e,{T:function(){return r}});var r="RCB/OptIn/ContentBlocker"},5478:function(t,e,n){"use strict";n.d(e,{l:function(){return o}});var r=n(4184);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}},4184: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}})},784:function(t,e,n){"use strict";n.d(e,{w:function(){return o}});var r=n(8527);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}},8527: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}})},86: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(7577),l=n(2992),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={},g=0,b=Object.keys(r);g<b.length;g++){var y=b[g];-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(3532).default,v=n(5654).default,m={},g={};function b(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=g[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)}}()),g[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(g));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(5654).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,g,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,g=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,b(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&&g?{"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&&!g&&(P=!0),"rest_cookie_invalid_nonce"!==N.code||!I){t.next=35;break}return R=o.restRecreateNonceEndpoint,t.prev=27,t.next=30,b(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)}},2992: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={}))},7577: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,"/")}},373:function(t,e,n){"use strict";n.d(e,{h:function(){return u}});var r=n(38),o=n(6703),i=n(3416),a=n(6825),c=n(4052),s=n(3532).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 g=p.value,b=(0,i.D)(g);if(t.match(b)){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()}))}},9721: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(2722),s=n(63),u=700;function l(t,e,n,r){return t.enabled,t.scalePercent,t.scalePercentVertical,n}function d(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 f(t,e){var n=d(t),r=n.r,o=n.g,i=n.b;return"rgba(".concat(r,", ").concat(o,", ").concat(i,", ").concat(e/100,")")}var p=n(4115),h=n(38),v=n(6845);function m(){var t=(0,v.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",p=e?"ind_essential":"main_essential",m=e?"ind_close_icon":"main_close_icon",g=e?"ind_custom":"main_custom",b={buttonClickedAll:f,buttonClickedEssentials:p,buttonClickedCloseIcon:m,buttonClickedCustom:g,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,h.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:p)}),[p]),acceptIndividual:(0,o.I4)((function(){return n(!1,g)}),[g]),openIndividualPrivacy:(0,o.I4)((function(){u(!0)}),[u])};return(0,i.Z)((0,i.Z)({},b),{},{closeIcon:(0,o.I4)((function(){l?d():b.acceptEssentials(!0)}),[l,d,b.acceptEssentials])})}var g=n(6228),b=n(617),y=n(6703),x=n(7778),k=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)},w=n(7029).h,C=0,S=function(){var t=(0,o.Ye)((function(){return"react-close-icon-".concat((C++).toString(36))}),[]),e=(0,o.Ye)((function(){return"react-close-icon-".concat((C++).toString(36))}),[]),n=(0,o.sO)(),r=(0,x.EL)(n),i=(0,v.S)(),a=i.headerDesign,c=a.fontSize,s=a.fontColor,d=i.texts.acceptEssentials,f=i.mobile,p=i.activeAction,h=i.pageRequestUuid4,S=i.buttonClicked,A=void 0===S?"":S,O=l(f,0,c),Z=m(),E=Z.buttonClickedCloseIcon,I=Z.closeIcon,B=(0,y.u)().bannerI18n,T=B.close,D=B.closeWithoutSaving,N=p?"change"===p?D:T:d;(0,g.G)("#".concat(e," {\n position: absolute;\n top: 50%;\n right: 0;\n margin-top: calc(").concat(O,"px / 2 * -1);\n display: block;\n width: ").concat(O,"px;\n height: ").concat(O,"px; \n pointer-events: none;\n}\n\n#").concat(t," {\n position: fixed !important;\n ").concat(r?"top: ".concat(r.y,"px;left: ").concat(r.x,"px;display:block;"):"display:none;","\n width: ").concat(O,"px;\n height: ").concat(O,"px;\n cursor: pointer;\n z-index: 99;\n pointer-events: all;\n ").concat(A===E?"outline: rgb(255, 94, 94) solid 5px;":"","\n}\n#").concat(t,":after {\n width: auto !important;\n white-space: nowrap !important;\n}\n#").concat(t," > span:before,#").concat(t," > span:after{\n position: absolute;\n top: 50%;\n left: 50%;\n width: ").concat(1,"px;\n height: ").concat(O,"px;\n background-color: ").concat(s,";\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(t," > span:after{\n transform: rotate(-45deg) translate(-50%, -50%);\n}\n#").concat(t," > span:hover:before,#").concat(t," > span:hover:after{\n opacity: 1;\n width: ").concat(2,"px;\n}"));var P=document.getElementById(h);return w(o.HY,null,w("div",{id:e,ref:n}),(null==r?void 0:r.y)>0&&w(k,{renderInContainer:P},w(b.z,{title:N,id:t,onClick:I,position:r.y>50?"top-left":"left",always:(null==P?void 0:P.clientWidth)<u},w("span",null))))},A=n(7029).h,O=(0,o.Gp)((function(t,e){var n,r,o,a,s,u,d,f,h,m,g,b,x,k,w,C,O,Z=(0,v.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,y.u)().bannerI18n.headerTitlePrivacyPolicyHistory,W=B&&!(null!=I&&I.endsWith(".svg"))&&window.devicePixelRatio>1,L=W?B:I,_=P?"history"===N?z:R.headline:D;return A("div",(0,c.Z)({ref:e},(o=(r=(n=Z).layout).type,a=r.dialogBorderRadius,u=(s=n.design).borderWidth,d=s.borderColor,f=(0,p.Z)(s,["borderWidth","borderColor"]),m=(h=n.headerDesign).inheritBg,g=h.bg,b=h.padding,x=n.customCss.antiAdBlocker,k=n.mobile,n.pageRequestUuid4,w=l(k,0,o),C=l(k,0,u),O={padding:l(k,0,b,0).map((function(t){return"".concat(t,"px")})).join(" "),background:m?f.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&&(O.borderTop="".concat(C,"px solid ").concat(d),O.borderLeft=O.borderTop,O.borderRight=O.borderTop),{className:"y"===x?void 0:"rcb-header-container",style:O})),A("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,u=(0,p.Z)(i,["inheritTextAlign","logo","logoPosition"]),d=t.texts.headline,f=t.individualLayout,h=t.customCss.antiAdBlocker,v=t.mobile,m=(t.pageRequestUuid4,t.individualPrivacyOpen),g=a?o:u.textAlign;return{className:"y"===h?void 0:"rcb-header",style:{transition:"width 500ms, max-width 500ms",maxWidth:"banner"===l(v,0,n)?+(m&&!f.inheritBannerMaxWidth?f.bannerMaxWidth:r):void 0,margin:"auto",display:"flex",justifyContent:"center"===g?"center":"right"===g?"flex-end":void 0,textAlign:g,alignItems:"center",position:"relative",flexDirection:c&&d?"left"===s?"row":"right"===s?"row-reverse":"column":void 0}}}(Z),!!L&&A("img",(0,c.Z)({alt:"",src:L},function(t,e){var n=t.headerDesign,r=n.logoMaxHeight,o=n.logoMargin,a=n.logoFitDim,c=n.logoRetinaFitDim,s=t.customCss.antiAdBlocker,u=t.mobile,d=(t.pageRequestUuid4,e?c:a),f=d?{width:d[0],height:d[1]}:{width:"auto",height:l(u,0,+r)};return{className:"y"===s?void 0:"rcb-logo",style:(0,i.Z)((0,i.Z)({},f),{},{margin:l(u,0,o).map((function(t){return"".concat(t,"px")})).join(" ")})}}(Z,W))),!!_&&A("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:l(t.mobile,t.pageRequestUuid4,+n),fontFamily:o?void 0:i,fontWeight:a}}}(Z),_),(!!T||!!N)&&A(S,null)))})),Z=n(7029).h,E=function(t){var e=t.title,n=t.children,r=(0,v.S)();return Z("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:l(t.mobile,t.pageRequestUuid4,n),fontWeight:o,textAlign:"left"}}}(r),e,n&&Z("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:l(t.mobile,t.pageRequestUuid4,+o),fontWeight:e,marginTop:5}}}(r),n))};function I(t,e,n,r,o){var i=t.layout.borderRadius,a=t.group,c=a.headlineFontSize,s=a.checkboxBg,u=a.checkboxBorderWidth,d=a.checkboxBorderColor,f=a.checkboxActiveBg,p=a.checkboxActiveBorderColor,h=a.checkboxActiveColor,v=t.customCss.antiAdBlocker,m=t.mobile,g=(t.pageRequestUuid4,l(m,0,o||c)),b=l(m,0,+u),y=+g+2*b+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(b,"px solid ").concat(n?p:d),padding:3,height:y,width:y,marginRight:10,borderRadius:+i,verticalAlign:"middle",lineHeight:0}}}function B(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 T=n(4184),D=n(7029).h,N=function(t){var e=t.label,n=t.value,r=t.children,o=(0,v.S)(),a="string"==typeof n&&(0,T.C)(n)?D("a",{href:n,style:(0,i.Z)({wordBreak:"break-all"},B(o,!1).style),target:"_blank",rel:"noopener noreferrer"},n):"string"==typeof n?D("span",{dangerouslySetInnerHTML:{__html:n}}):n;return D("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:l(t.mobile,t.pageRequestUuid4,n)>0?"1px solid ".concat(r):void 0,paddingLeft:15}}}(o)),e&&D("strong",null,e,": "),a,!!r&&D("div",null,r))},P=n(3251),R=n(3282),z=n(595),W=n(4930),L=n(7029).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,h=r.noTechnicalDefinitions,m=r.technicalDefinitions,g=r.codeDynamics,b=(0,o.eJ)(!1),x=(0,a.Z)(b,2),k=x[0],w=x[1],C=(0,v.S)(),S=C.ePrivacyUSA,A=C.group.descriptionFontSize,O=C.consent,Z=C.activeAction,E=C.essentialGroup,B=(0,y.u)().bannerI18n,T=(0,P.w)();(0,o.bt)((function(){w(!0)}),[]);var D=E===n.slug,_=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!_&&C.updateCookieChecked(n.id,i,!H)}),[_,C,n,i,H]);return L("div",function(t){return{className:"y"===t.customCss.antiAdBlocker?void 0:"rcb-cookie",style:{marginTop:10}}}(C),L("div",{style:{marginBottom:10}},L(z.p,(0,c.Z)({icon:R.Z,onClick:Y},I(C,k,H,_,A))),L("strong",{style:{verticalAlign:"middle",cursor:"pointer"},onClick:Y},s)),!!u&&L(N,{label:B.purpose,value:u}),L(N,{label:B.legalBasis,value:"legal-requirement"===f?B.legalRequirement:"legitimate-interest"===f||D?B.legitimateInterest:B.consent}),L(N,{label:B.provider,value:l}),!!d&&L(N,{label:B.providerPrivacyPolicy,value:d}),!!S&&L(N,{label:B.ePrivacyUSA,value:p?B.yes:B.no}),!h&&m.map((function(t){var e=t.type,n=t.name,r=t.host,o=t.duration,i=t.durationUnit,a=t.sessionDuration;return L(N,{key:n,label:B.technicalCookieDefinition,value:L("span",{style:{fontFamily:"monospace"}},(0,W.c)(n,g))},L(N,{label:B.type,value:T[e].name}),!!r&&L(N,{label:B.host,value:L("span",{style:{fontFamily:"monospace"}},r)}),-1===["local","session","indexedDb","flash"].indexOf(e)&&L(N,{label:B.duration,value:a?"Session":"".concat(o," ").concat(B.durationUnit[i])}))})))},H=n(4769),Y=n(7029).h,F=function(t){var e,n=t.group,r=(0,v.S)(),i=n.id,s=n.slug,u=n.name,d=n.description,f=n.items,p=(0,o.eJ)(!1),h=(0,a.Z)(p,2),m=h[0],g=h[1],b=(0,o.eJ)(!1),y=(0,a.Z)(b,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,T=Z.showMore,D=Z.hideMore,N=r.consent,P=r.activeAction,W=r.essentialGroup;(0,o.bt)((function(){g(!0)}),[]);var L=W===s,F=L||"history"===P,M=O||L||!!N.groups[i],U=L||JSON.stringify(f.map((function(t){return t.id})).sort())===JSON.stringify((null===(e=N.groups[i])||void 0===e?void 0:e.sort())||[])?R.Z:H.Z,q=(0,o.I4)((function(){return!F&&r.updateGroupChecked(i,!M)}),[F,r,i,M]);return Y("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,u=t.mobile,d=(t.pageRequestUuid4,l(u,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:l(u,0,i).map((function(t){return"".concat(t,"px")})).join(" "),borderRadius:+r,textAlign:"left"}}}(r),Y(E,{title:Y(o.HY,null,Y(z.p,(0,c.Z)({icon:U,onClick:q},I(r,m,M,F))),Y("span",{style:{verticalAlign:"middle",cursor:"pointer"},onClick:q},u," (",f.length,")"))},d,!!f&&Y(o.HY,null," • ",Y("a",(0,c.Z)({href:"#"},B(r,x),{onClick:function(t){A(!S),t.preventDefault()},onMouseEnter:function(){return k(!0)},onMouseLeave:function(){return k(!1)}}),S?D:T),S&&f.map((function(t){return Y(_,{key:t.id,group:n,cookie:t})})))))},M=n(7029).h,U=function(){var t=(0,v.S)(),e=t.groups,n=t.group.groupSpacing,r=t.mobile,i=(t.pageRequestUuid4,e.filter((function(t){return t.items.length})));return M("div",{className:"y"===t.customCss.antiAdBlocker?void 0:"rcb-groups",style:{marginTop:10,clear:"both"}},i.map((function(t,e){return M(o.HY,{key:t.id},M(F,{key:t.id,group:t}),e!==i.length-1&&M("div",{style:{height:l(r,0,+n)}}))})))},q=n(7029).h,j=function(t){var e=t.group,n=e.id,r=e.slug,i=e.name,s=(0,o.eJ)(!1),u=(0,a.Z)(s,2),d=u[0],f=u[1],p=(0,v.S)(),h=p.decision.groupsFirstView,m=p.design.fontSize,g=p.consent,b=p.essentialGroup,x=(0,y.u)().isPro;(0,o.bt)((function(){f(!0)}),[]);var k=b===r,w=k||!!g.groups[n],C=(0,o.I4)((function(){return x&&h&&!k&&p.updateGroupChecked(n,!w)}),[x,k,p,n,w,h]);return q("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:l(t.mobile,t.pageRequestUuid4,r?+e:+o),whiteSpace:"nowrap",display:"inline-block"}}}(p)),q("span",null,x&&h?q(z.p,(0,c.Z)({icon:R.Z,onClick:C},I(p,d,w,k,m))):q(o.HY,null,q("strong",function(t){return{className:void 0,style:{color:t.bodyDesign.dottedGroupsBulletColor}}}(p),"●")," "),q("span",{style:{verticalAlign:"middle",cursor:h?"pointer":void 0},onClick:C},i)))},X=n(7029).h,G=function(){var t=(0,v.S)(),e=t.groups;return X("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 X(j,{key:t.id,group:t})})))},J=n(7029).h,V=function(){var t,e=(0,v.S)(),n=(0,o.eJ)(-1),r=(0,a.Z)(n,2),i=r[0],s=r[1],u=e.activeAction,d=e.history,p=e.selectHistoryEntry,h=(0,y.u)().bannerI18n,m=h.historyLabel,g=h.historySelectNone;(0,o.d4)((function(){u?"history"===u&&null!=d&&d.length&&s(d[0].id):s(-1)}),[u,d]);var b,x,k,w,C,S,A,O=null==d||null===(t=d[0])||void 0===t?void 0:t.uuid,Z={className:void 0,style:{background:e.design.bg}};return J(o.HY,null,m," ",J("select",(0,c.Z)({},(x=(b=e).design,k=x.fontSize,w=x.fontColor,C=b.bodyDesign,S=C.descriptionInheritFontSize,A=C.descriptionFontSize,{className:"y"===b.customCss.antiAdBlocker?void 0:"rcb-history-select",style:{fontSize:l(b.mobile,b.pageRequestUuid4,S?+k:+A),background:"transparent",border:0,color:w,borderBottom:"1px solid ".concat(f(w,50))}}),{disabled:!(null!=d&&d.length),value:i,onChange:function(t){var e=+t.target.value;d.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==d?void 0:d.length)>0?d.map((function(t){var e=t.id,n=t.isDoNotTrack,r=t.isUnblock,o=t.isForwarded,i=t.created;return J("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)":"")})):J("option",(0,c.Z)({value:-1},Z),g)),!!O&&J("div",{style:{opacity:.5,marginTop:5}},"UUID: ",O))};function Q(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,u=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:l(u,0,+i),color:a?void 0:c}}}function $(t,e,n,r){var o=t.name,i=t.order,a=t.fullWidth,c=t.marginLeft,s=t.marginRight,u=t.type,d=t.borderRadius,f=t.bg,p=t.hoverBg,h=t.fontSize,v=t.textAlign,m=t.linkTextDecoration,g=t.fontColor,b=t.fontWeight,y=t.hoverFontColor,x=t.borderWidth,k=t.borderColor,w=t.hoverBorderColor,C=t.padding,S=t.antiAdBlocker,A=(t.pageRequestUuid4,l(e,0,+x)),O={textDecoration:"link"===u?m:"none",borderRadius:+d,cursor:"button"===u?"pointer":void 0,backgroundColor:"button"===u?n?p:f:void 0,fontSize:l(e,0,+h),fontWeight:b,color:n?y:g,transition:"background-color 250ms, color 250ms, border-color 250ms",margin:"0 ".concat(s,"px ").concat(l(e,0,10,0),"px ").concat(c,"px"),border:"button"===u&&A>0?"".concat(A,"px solid ").concat(n?w:k):void 0,padding:l(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 K(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,g=s.acceptEssentialsHoverBg,b=s.acceptEssentialsHoverFontColor,y=s.acceptEssentialsHoverBorderColor,x=s.acceptAllFontWeight,k=s.acceptAllFontSize,w=s.acceptAllPadding,C=t.customCss.antiAdBlocker,S=t.mobile;return $({name:"accept-essentials",order:r?0:1,fullWidth:!r,marginLeft:0,marginRight:r?5:0,type:i,borderRadius:a,bg:l,hoverBg:g,fontSize:r||o?k:u,textAlign:d,linkTextDecoration:c,fontColor:v,fontWeight:o?x:m,hoverFontColor:b,borderWidth:h,borderColor:f,hoverBorderColor:y,padding:r?w:p,antiAdBlocker:C,pageRequestUuid4:t.pageRequestUuid4},S,e,n)}function tt(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,g=a.acceptIndividualHoverBorderColor,b=t.customCss.antiAdBlocker,y=t.mobile;return $({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:g,padding:d,antiAdBlocker:b,pageRequestUuid4:t.pageRequestUuid4},y,e,n)}function et(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,g=u.fontColor,b=u.fontWeight,y=u.hoverBg,x=u.hoverFontColor,k=u.hoverBorderColor,w=t.customCss.antiAdBlocker,C=t.mobile;return $({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:g,fontWeight:r?c:b,hoverFontColor:x,borderWidth:m,borderColor:h,hoverBorderColor:k,padding:v,antiAdBlocker:w,pageRequestUuid4:t.pageRequestUuid4},C,e,n)}function nt(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,g=c.acceptAllHoverFontColor,b=c.acceptAllHoverBorderColor,y=t.customCss.antiAdBlocker,x=t.mobile;return $({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:g,borderWidth:p,borderColor:d,hoverBorderColor:b,padding:f,antiAdBlocker:y,pageRequestUuid4:t.pageRequestUuid4},x,e,n)}var rt=n(7029).h,ot=function(t){var e=t.ms,n=void 0===e?100:e,r=t.chars,i=void 0===r?["◷","◶","◵","◴"]:r,c=(0,o.eJ)(1),s=(0,a.Z)(c,2),u=s[0],l=s[1];return(0,o.d4)((function(){var t=setInterval((function(){l(u+1)}),n);return function(){return clearInterval(t)}}),[u]),rt("span",{dangerouslySetInnerHTML:{__html:i[u%4]}})},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],h=(0,o.I4)((function(){f||(u&&p(!0),null==r||r())}),[r,f,u]),m=(0,o.eJ)(!1),g=(0,a.Z)(m,2),b=g[0],y=g[1],x=(0,v.S)(),k=x.individualPrivacyOpen,w=x.decision,C=w.acceptAll,S=w.acceptEssentials,A=x.bodyDesign.acceptAllOneRowLayout,O={onClick:h,onMouseEnter:function(){return y(!0)},onMouseLeave:function(){return y(!1)}},Z=(0,o.Ye)((function(){switch(e){case"acceptEssentials":return K;case"acceptIndividual":return tt;case"save":return et;default:return nt}}),[e]);return it("div",(0,c.Z)({},"button"===n?O:{},Z(x,b,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,null):i))},ct=n(9295),st=n(7029).h,ut=function(){var t=(0,v.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,h=(0,y.u)().isPro,g=m(),b=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&&h&&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===b,busyOnClick:O},i),"change"!==e&&st(at,{onClick:C,type:n.acceptEssentials,inlineStyle:"acceptEssentials",framed:p===x,busyOnClick:O},a),(l||h&&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(9270),dt=n(7029).h,ft=function(t){var e,n=t.leftSideContainerRef,r=t.rightSideContainerRef,i=(0,v.S)(),a=i.groups,f=i.layout.type,p=i.mobile,h=i.ePrivacyUSA,m=i.ageNotice,b=i.bodyDesign.teachingsSeparatorActive,y=i.texts,x=y.description,k=y.ePrivacyUSA,w=y.ageNoticeBanner,C=y.consentForwardingExternalHosts,S=y.tcfGlobalScope,A=i.tcf,O=i.consentForwardingExternalHosts,Z=i.individualPrivacyOpen,E=i.individualTexts,I=i.activeAction,B=i.pageRequestUuid4,T="bnnr-body-leftSide-".concat(B),D="bnnr-body-rightSide-".concat(B),N="cntnt-".concat(B);(0,g.G)(" #".concat(T," img {\n max-width: 100%;\n height: auto;\n}\n\n").concat((null===(e=document.getElementById(B))||void 0===e?void 0:e.clientWidth)>u?"":"#".concat(T," {\n float: initial !important;\n width: auto !important;\n padding-right: initial !important;\n ").concat("banner"!==l(p,0,f)||Z?Z?"padding-top: 10px !important;":"":"padding-bottom: 10px !important;","\n }\n\n #").concat(N," {\n min-height: calc(var(--rendered-height-header) + var(--rendered-height-footer) + var(--rendered-height-rightSideContainer) + 60px);\n }\n \n #").concat(D," {\n float: initial !important;\n width: auto !important;\n max-width: initial !important;\n margin: initial !important;\n ").concat(Z?"padding-bottom: 5px !important;":"padding-top: 10px !important;","\n position: sticky;\n }")));var P=O?C.replace(/{{websites}}/g,O.join(", ")):"",R=A?A.model.isServiceSpecific?"":S:"",z=[Z?E.description:x,P,R].filter(Boolean).join(" "),W=(0,lt.Q)(a,A?{gvl:A.gvl,vendorConfigurations:A.original.vendorConfigurations}:void 0,h?k:"",(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(Z?U:G,null)}),[Z,A]),_=dt("div",(0,c.Z)({ref:n,key:"leftSide",id:T},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,l(o,0,e)),s=l(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)),!!z&&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:l(c,t.pageRequestUuid4,r?+e:+o),textAlign:s?i:void 0}}}(i),"history"===I?dt(V,null):dt(o.HY,null,dt("span",{dangerouslySetInnerHTML:{__html:z}}),(h||m)&&dt(o.HY,null,b&&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))),!!W&&dt("span",(0,c.Z)({},Q(i),{dangerouslySetInnerHTML:{__html:W}})),m&&!!w&&dt("span",(0,c.Z)({},Q(i),{dangerouslySetInnerHTML:{__html:w}})))))),L),H="history"===I?dt("div",{ref:r}):dt("div",(0,c.Z)({ref:r,key:"rightSide",id:D},function(t){var e,n=t.layout,r=n.type,o=n.dialogMaxWidth,i=t.design,a=i.borderWidth,c=i.bg,u=i.fontColor,f=t.headerDesign,p=t.footerDesign,h=t.bodyDesign.padding,v=t.individualLayout.inheritDialogMaxWidth,m=t.customCss.antiAdBlocker,g=t.mobile,b=t.individualPrivacyOpen,y=(t.pageRequestUuid4,l(g,0,r)),x=l(g,0,a),k=l(g,0,h,0),w=d(u),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||b?+k[0]:10,paddingBottom:b?10:+k[2],float:"banner"===y||b?"right":void 0,maxWidth:O,width:O,margin:"dialog"===y&&b&&!v?"0 0 10px 10px":void 0,position:b?void 0:"sticky"},(0,s.Z)(e,b?"top":"bottom",b?"calc(var(--rendered-height-header) + ".concat(l(g,0,f.borderWidth),"px)"):"calc(var(--rendered-height-footer) + ".concat(l(g,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,u=(t.pageRequestUuid4,l(s,0,o)),d={background:r,padding:l(s,0,a).map((function(t,e){return"".concat([0,2].indexOf(e)>-1?0:t,"px")})).join(" "),lineHeight:1.4};return"dialog"===l(s,0,e)&&u>0&&(d.borderLeft="".concat(u,"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"===l(a,t.pageRequestUuid4,n)?+(c&&!o.inheritBannerMaxWidth?o.bannerMaxWidth:r):void 0,margin:"auto"}}}(i),Z?[H,_]:[_,H],dt("div",{style:{clear:"both"}})))},pt=n(9549),ht=n(713),vt=n(7029).h,mt=function(t){var e=t.children,n=(0,p.Z)(t,["children"]),r=(0,v.S)(),i=(0,o.eJ)(!1),s=(0,a.Z)(i,2),u=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,u=t.mobile,d=(t.pageRequestUuid4,arguments.length>1&&void 0!==arguments[1]&&arguments[1]),f={textDecoration:c,fontSize:l(u,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,u),n),e)},gt=n(7029).h,bt=(0,o.Gp)((function(t,e){var n=(0,v.S)(),r=(n.isTcf,n.layout.type),i=n.legal,a=n.footerDesign,s=a.poweredByLink,u=a.linkTarget,d=(n.individualPrivacyOpen,n.updateIndividualPrivacyOpen,n.poweredLink),f=n.isConsentRecord,p=n.onClose,h=(0,y.u)(),m=h.bannerI18n,g=m.close,x=(m.tcf,h.affiliate),k=(0,o.I4)((function(t){p(),t.preventDefault()}),[p]),w="_blank"===u?{target:"_blank",rel:"noopener"}:{},C=(0,ht.X)(i),S=C.linkPrivacyPolicy,A=C.linkImprint,O=[[f&>(mt,{href:"#",onClick:k,key:"close"},gt("strong",null,g)),!1,S&>(mt,(0,c.Z)({href:S.url},w,{key:"privacyPolicy"}),S.label),A&>(mt,(0,c.Z)({href:A.url},w,{key:"imprint"}),A.label)].filter(Boolean),[]];return d&&s&&O["banner"===r?0:1].push(gt(mt,{href:x?x.link:d.href,target:d.target,key:"powered-by"},gt("span",{dangerouslySetInnerHTML:{__html:d.innerHTML}}),x&>(b.z,{title:x.description,position:"top-left"}," ",x.labelBehind))),gt("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,u=i.textAlign,d=i.padding,f=i.fontSize,p=i.fontColor,h=i.fontWeight,v=t.customCss.antiAdBlocker,m=t.mobile,g=(t.pageRequestUuid4,l(m,0,n)),b=l(m,0,o.borderWidth),y={padding:l(m,0,d,0).map((function(t){return"".concat(t,"px")})).join(" "),background:a?o.bg:c,borderRadius:"dialog"===g?"0 0 ".concat(r,"px ").concat(r,"px"):void 0,fontSize:l(m,0,+f),fontWeight:h,color:p,textAlign:s?o.textAlign:u,position:"sticky",bottom:0,zIndex:1};return"dialog"===g&&b>0&&(y.borderBottom="".concat(b,"px solid ").concat(o.borderColor),y.borderLeft=y.borderBottom,y.borderRight=y.borderBottom),{className:"y"===v?void 0:"rcb-footer-container",style:y}}(n)),gt("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"===l(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?gt(o.HY,{key:t[0].key},(0,pt.e)(t,gt(o.HY,null," • "))):null})),gt("br",null))))}));function yt(t,e){var n=(0,v.S)().pageRequestUuid4,r=(0,g.G)("","useBannerRenderedHeightsAsCssVars-".concat(e)),i=document.getElementById(r);(0,o.d4)((function(){var r=function(t){i.innerHTML="#".concat(n,"{--rendered-height-").concat(e,": ").concat(Math.floor(t),"px;--rendered-height-raw-").concat(e,": ").concat(t,"px}")};if(!t)return function(){};if(window.ResizeObserver){var o=new ResizeObserver((function(){r(t.getBoundingClientRect().height)}));return o.observe(t),function(){o.disconnect()}}var a=0,c=setInterval((function(){var e=t.getBoundingClientRect().height;a!==e&&(a=e,r(e))}),150);return function(){clearInterval(c)}}),[t,e])}var xt=n(7029).h,kt=function(){var t,e=(0,v.S)(),n=e.layout,r=n.type,i=n.dialogBorderRadius,s=e.decision,d=s.acceptEssentials,f=s.showCloseIcon,p=e.mobile,h=e.individualPrivacyOpen,m=e.design.bg,b=e.bodyDesign.teachingsFontColor,y=e.activeAction,x=e.pageRequestUuid4,k="bnnr-body-rightSide-".concat(x),w="cntnt-".concat(x),C=(0,o.sO)(),S=C.current,A=!0;!p.hideHeader||y||h||"hide"===d&&f||(A=l(p,0,A));var Z=(0,o.eJ)(!1),E=(0,a.Z)(Z,2),I=E[0],B=E[1],T=(0,o.I4)((function(){if(S){var t=S.clientHeight,e=S.scrollHeight,n=S.scrollTop,r=S.offsetHeight,o=t<e,i=Math.ceil(n+r)>=e,a=o&&!i&&!h;I!==a&&B(a)}}),[S,h,I]);T(),(0,o.bt)((function(){return S?(S.addEventListener("scroll",T),function(){return S.removeEventListener("scroll",T)}):function(){}}),[S,T]),(0,g.G)(I&&(null===(t=document.getElementById(x))||void 0===t?void 0:t.clientWidth)<u?"#".concat(k," {box-shadow:var(--boxShadowShowScroll);}"):""),(0,g.G)("Win32"===navigator.platform&&"dialog"===r&&i>0?["#".concat(w,"{overflow:overlay!important;}"),"#".concat(w,"::-webkit-scrollbar{width:11px;}"),"#".concat(w,"{scrollbar-width:thin;scrollbar-color:").concat(b," transparent;}"),"#".concat(w,"::-webkit-scrollbar-track{background:transparent;}"),"#".concat(w,"::-webkit-scrollbar-thumb{background-color:").concat(b,";border-radius:").concat(i,"px;border:3px solid ").concat(m,";}"),"#".concat(w,">div{border-top-right-radius:0!important;border-bottom-right-radius:0!important;}")].join("\n"):"");var D=(0,o.sO)(),N=(0,o.sO)(),P=(0,o.sO)();return yt(D.current,"header"),yt(N.current,"footer"),yt(P.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,u=(a.maxHeight,o||i?51:0);return{className:"y"===r?void 0:"rcb-content",style:{position:"relative",maxHeight:l(a,0,s-("banner"===n?0:20)-u),overflow:"auto"}}}(e),{ref:C,id:w}),A&&xt(o.HY,null,xt(O,{ref:D}),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,l(c,0,n.borderWidth)),u={height:l(c,0,+o),background:i,position:"sticky",top:"var(--rendered-height-header)",zIndex:9};return"dialog"===l(c,0,e)&&s>0&&(u.borderLeft="".concat(s,"px solid ").concat(n.borderColor),u.borderRight=u.borderLeft),{className:"y"===a?void 0:"rcb-header-separator",style:u}}(e))),xt(ft,{rightSideContainerRef:P}),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,l(c,0,n.borderWidth)),u={height:l(c,0,+o),background:i,position:"sticky",bottom:"var(--rendered-height-footer)"};return"dialog"===l(c,0,e)&&s>0&&(u.borderLeft="".concat(s,"px solid ").concat(n.borderColor),u.borderRight=u.borderLeft),{className:"y"===a?void 0:"rcb-footer-separator",style:u}}(e)),xt(bt,{ref:N}))};function wt(){var t=(0,o.Ye)((function(){return window.innerWidth}),[])<u,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),g=(0,a.Z)(m,2),b=g[0],y=g[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!==b&&(v(b),y(void 0))}),[b]),(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(5194),Et=n(2992),It={path:"/consent",method:Et.O.GET},Bt=n(86),Tt=n(784),Dt=n(8527),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,g=void 0===m?1e3:m,b=t.animationOutDuration,y=void 0===b?1e3:b,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:g,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:g,animationOutDuration:y}))}),[c,u,d,p,v,g,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 Wt(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 Lt=n(8055),_t=n(7029).h,Ht=function(){var t,e,n,r,o,i,u,d,p,h,m,g,b,y,x,k,w,C,S,A,O,Z,E,I,B,T,D,N,P,R,z,W=(0,v.S)(),L=W.layout,_=L.animationInDuration,H=L.animationOutDuration,Y=W.animationVisible,F=wt()(W.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=W).layout).type,r=e.dialogMaxWidth,o=e.dialogPosition,i=e.dialogMargin,u=e.bannerPosition,d=e.dialogBorderRadius,h=(p=t.design).borderWidth,m=p.borderColor,g=p.textAlign,b=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=l(T,0,n),P=l(T,0,h),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:g,width:R,overflow:"hidden",alignSelf:l(T,0,"banner"===N?"top"===u?"flex-start":"flex-end":void 0),fontFamily:y?void 0:x,fontWeight:k,color:b,margin:"dialog"===N?10:void 0,borderRadius:"dialog"===N?+d:void 0,boxShadow:w?"".concat(C,"px ").concat(S,"px ").concat(A,"px ").concat(O,"px ").concat(f(Z,E)):void 0},"banner"===N?"top"===u?"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,v.S)(),e=((0,y.u)().isPro,t.layout),n=e.overlay,r=(e.overlayBlur,t.customCss),i=r.antiAdBlocker,s=r.css,u=t.visible,d=t.animationVisible,p=t.activeAction,h=t.skipOverlay,m=t.gotHiddenDueLegal,b=t.pageRequestUuid4,x=t.individualPrivacyOpen,k=Wt(t),w=u&&!k||!!p;(0,g.G)(i?s:""),(0,g.G)("#".concat(b,", #").concat(b," * {box-sizing: border-box;}")),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&&d);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,Lt.s)(1e3)}),[d,x]),m&&(0,o.d4)((function(){m(k)}),[k]),function(){var t=(0,v.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,v.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"===l(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 h?B:_t("div",(0,c.Z)({id:b},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(l(s,0,n)," ").concat(r?"":"overlay-deactivated"),style:{background:r?f(o,i):"none",position:"fixed",top:0,left:0,right:0,bottom:0,zIndex:99999,pointerEvents:r?"all":"none",fontSize:l(s,0,+a),filter:"none"}}}(t)),B)},Ft=n(9747);function Mt(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=(0,y.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,h.Z)(n);try{for(d.s();!(l=d.n()).done;){var f=l.value;if(f!==c){var p=f.items.filter((function(t){return"legitimate-interest"===t.legalBasis})).map((function(t){return t.id}));p.length&&(u[f.id]=p)}}}catch(t){d.e(t)}finally{d.f()}}return u}var Ut=n(7051),qt=n(6341),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(3532).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(2624),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",!!Wt(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,y.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,y.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,p;return Ot().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=(0,y.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,h.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,h.Z)(d.items),t.prev=11,f.s();case 13:if((p=f.n()).done){t.next=19;break}if("legitimate-interest"!==p.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,y.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(7248),ue=n(996);var le=n(2207),de=n(7029).h,fe=function(t){var e=t.poweredLink,n=(0,Kt.h)(),r=(0,y.u)(),c=r.customizeValuesBanner,s=c.layout,u=c.decision,l=c.legal,d=c.design,f=c.headerDesign,p=c.bodyDesign,h=c.footerDesign,m=c.texts,g=c.individualLayout,b=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),W=function(){var t=(0,y.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}}(),L=W.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)({},h),texts:(0,i.Z)({},m),individualLayout:(0,i.Z)({},g),saveButton:(0,i.Z)({},b),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),L(n,!1))}))},onClose:function(){F((function(t){return(0,i.Z)((0,i.Z)((0,i.Z)({},t),L(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,L),function(t,e,n){!(0,y.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,L),(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=v.k.Context();return de(M.Provider,{value:Y},de(Yt,null))},pe=n(6740),he=n(4052),ve=n(2785),me=n(3532).default;function ge(t){return be.apply(this,arguments)}function be(){return be=(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)}))),be.apply(this,arguments)}var ye=0,xe=n(3657),ke=n(373),we=n(3421),Ce=n(3416);function Se(t,e,n){var r,o=[],i=(0,y.u)(),a=i.groups,c=i.revisionHash,s=a.map((function(t){return t.items})).flat(),u=(0,h.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,p=(0,h.Z)(d);try{for(p.s();!(f=p.n()).done;){var v=f.value,m=(0,Ce.D)(v.name);if(v.type===t&&(v.name===e||e.match(m))&&(v.host===n||"*"===n)){o.push({cookie:l,relevance:d.length+d.indexOf(v)+1});break}}}catch(t){p.e(t)}finally{p.f()}}}}}catch(t){u.e(t)}finally{u.f()}var g=(0,Kt.h)();if(o.length){var b=o.sort((function(t,e){return t.relevance-e.relevance}))[0].cookie;return g&&c===g.revision?Object.values(g.consent).flat().indexOf(b.id)>-1?{cookie:b,consentGiven:!0,cookieOptIn:!0}:{cookie:b,consentGiven:!0,cookieOptIn:!1}:{cookie:b,consentGiven:!1,cookieOptIn:!1}}return{cookie:null,consentGiven:!!g,cookieOptIn:!0}}var Ae=n(3532).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(3532).default;function Ie(t){return Ee.all(t.map((function(t){return Oe.apply(void 0,(0,Ze.Z)(t))})))}var Be,Te=n(7577),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,ge((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,ge((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,y.u)().isTcf,(0,Ut.C)((function(){var t=(0,y.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)},9295:function(t,e,n){"use strict";n.d(e,{m:function(){return i}});var r=n(6703),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}},617:function(t,e,n){"use strict";n.d(e,{z:function(){return u}});var r=n(2722),o=n(4115),i=n(5213),a=n(3428),c=n(6228),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,g=t.noAnimate,b=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(g?"hint--no-animate":""," ").concat(b?"hint--bounce":""," ").concat(i||"")},y),n)}))},595:function(t,e,n){"use strict";n.d(e,{p:function(){return s}});var r=n(2722),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}}))}},6845: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},6943: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},713:function(t,e,n){"use strict";n.d(e,{X:function(){return c}});var r=n(6845),o=n(6943),i=n(6703);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}}}},6228: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}},9747:function(t,e,n){"use strict";n.d(e,{$:function(){return g}});var r=n(2711),o=n(7938),i=n(5450),a=n.n(i),c={path:"/consent",method:n(2992).O.POST},s=n(5194),u=n(38),l=n(6703),d=n(5654).default,f=n(3532).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(7248),v=n(86),m=n(3532).default;function g(t){return b.apply(this,arguments)}function b(){return(b=(0,o.Z)(a().mark((function t(e){var n,o,i,u,l,d,f,g,b,y,x,k,w,C,S,A,O,Z,E,I;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.tcfString,g=document.documentElement,b=g.clientWidth,y=g.clientHeight,x=(0,s.m)(),k=x.restNamespace,w=x.restRoot,C=x.restQuery,S=x.restNonce,t.next=5,(0,v.D)({location:c,options:{restNamespace:k,restRoot:w,restQuery:C,restNonce:S},sendRestNonce:!1,request:(0,r.Z)((0,r.Z)({},n),{},{markAsDoNotTrack:i,buttonClicked:u,viewPortWidth:b,viewPortHeight:y,blocker:d,tcfString:f}),params:{_wp_http_referer:window.location.href}});case 5:return A=t.sent,O=A.forward,Z=A.uuid,E=A.cookie_revision,I=A.decision_in_cookie,window.rcbDisabledCookieComp={uuid:Z,revision:E,consent:I},t.next=13,m.all([O&&p(O),(0,h.k)("consent")].filter(Boolean));case 13:case"end":return t.stop()}}),t)})))).apply(this,arguments)}},7248:function(t,e,n){"use strict";n.d(e,{k:function(){return W}});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(6703),d=n(2624);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],g=(0,s.Z)({},m.id,m.items.map((function(t){return t.id})));if("consent"===t){var b=(0,d.h)();!1!==b?e=b.consent:(console.warn("Something went wrong while reading the cookie, fallback to essentials only..."),e=g)}return"essentials"===t&&(e=g),{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(2785),v=n(6740),m=n(3532).default;function g(t){return b.apply(this,arguments)}function b(){return b=(0,r.Z)(i().mark((function t(e){var n,o,c,s,u,d,g,b,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,(g=p(c,d)).useGlobalObjectName,b=g.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(b)],o&&(f=c&&d["codeOptInNo".concat(b)],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)}))),b.apply(this,arguments)}var y=n(3532).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,g,b,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)(),g=m.setCookiesViaManager,b=p(d,g),x=b.useVariableNameCamel,k=b.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(3416),C=n(8542),S=n.n(C),A=n(4930);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(86),E=n(5194),I={path:"/consent/clear",method:n(2992).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(3421);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,g;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,g=[],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,b;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||(((b=c&&h["codeOptInNo".concat(m)])&&!n||!b)&&(0,v.K)(l,u),d&&!f&&(O(p,u),p.some((function(t){return"http"===t.type}))&&g.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:g.length&&setTimeout((function(){return B(g)}),0);case 7:case"end":return t.stop()}}),t)}))),N.apply(this,arguments)}var P=n(7051),R=n(2207),z=n(3532).default;function W(t){return L.apply(this,arguments)}function L(){return(L=(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,g(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)}},9270:function(t,e,n){"use strict";n.d(e,{Q:function(){return c}});var r=n(38),o=n(6703),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=[],g=(0,r.Z)(t);try{for(g.s();!(s=g.n()).done;){var b,y=s.value.items,x=(0,r.Z)(y);try{for(x.s();!(b=x.n()).done;){var k=b.value;c(k)&&m.push(k.name)}}catch(t){x.e(t)}finally{x.f()}}}catch(t){g.e(t)}finally{g.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>"))}},3251: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}})},8055: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}})},3657:function(t,e,n){"use strict";n.d(e,{U:function(){return i}});var r=n(6703),o=n(8527);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=""},2624:function(t,e,n){"use strict";n.d(e,{h:function(){return a}});var r=n(7663),o=n(6703),i=n(6341);function a(){var t=function(t){var e,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=(null===(e=document.cookie.match("(^|;)\\s*".concat(t,"\\s*=\\s*([^;]+)")))||void 0===e?void 0:e.pop())||"";return n?decodeURIComponent(r):r}((0,o.u)().userConsentCookieName);if(!t)return!(0,i.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])}}},996:function(t,e,n){"use strict";n.d(e,{I:function(){return r}});var r="RCB/Banner/Show"},2207:function(t,e,n){"use strict";n.d(e,{V:function(){return r}});var r="RCB/OptIn/All"},2785:function(t,e,n){"use strict";n.d(e,{g:function(){return r}});var r="RCB/OptIn"},3421:function(t,e,n){"use strict";n.d(e,{E:function(){return r}});var r="RCB/OptOut"},3416: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}})},5194: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}})},6703:function(t,e,n){"use strict";n.d(e,{u:function(){return o}});var r=n(5194);function o(){return(0,r.m)().others}},9549: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]}),[])}},4741: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)}})}))},7051:function(t,e,n){"use strict";n.d(e,{C:function(){return o}});var r=n(3532).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()}))}))}},6341: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(4741)}));var o=r.O(void 0,[568],(function(){return r(9721)}));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,2gBCN5F,IAAIM,EAAgC,mBAChCC,EAAsC,yBACtCC,EAAgC,IAChCC,EAAoB,aAEpBC,EAA4B,mBAC5BC,EAA+B,4BAC/BC,EAAwB,iBACxBC,EAA8B,uBAC9BC,EAA4B,aAC5BC,EAA0B,SAC1BC,EAAmC,4BACnCC,EAAgD,+BAChDC,EAAmC,4BACnCC,EAAyC,IACzCC,EAA8C,wBAC9CC,EAA8B,0BAC9BC,EAAoC,IACpCC,EAA6B,sBAC7BC,EAAmC,IACnCC,EAAwD,K,sJCd/DC,EAAoC,qBAU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,EAAIsmB,EAAShqC,OAAQ0jB,IACzB4nB,EAAUtB,EAAStmB,GAChB+lB,EAAoBkB,EAAEU,EAAiBC,IAAYD,EAAgBC,IACrED,EAAgBC,GAAS,KAE1BD,EAAgBrB,EAAStmB,IAAM,EAEhC,OAAO+lB,EAAoBM,EAAE1iC,IAG1BskC,EAAqBC,KAAyC,mCAAIA,KAAyC,oCAAK,GACpHD,EAAmBz9B,QAAQq9B,EAAqBM,KAAK,KAAM,IAC3DF,EAAmBppC,KAAOgpC,EAAqBM,KAAK,KAAMF,EAAmBppC,KAAKspC,KAAKF,I,GC/CvFlC,EAAoBM,OAAE9pC,EAAW,CAAC,MAAM,WAAa,OAAOwpC,EAAoB,SAChF,IAAIqC,EAAsBrC,EAAoBM,OAAE9pC,EAAW,CAAC,MAAM,WAAa,OAAOwpC,EAAoB,SAC1GqC,EAAsBrC,EAAoBM,EAAE+B,G","sources":["webpack:///webpack/runtime/chunk loaded","webpack:///../../common-packages/headless-content-unblocker/src/dom/applyDynamicsToHtml.tsx","webpack:///../../common-packages/headless-content-unblocker/src/dom/htmlAttributes.tsx","webpack:///../../common-packages/headless-content-unblocker/src/dom/putHtmlCodeToDom.tsx","webpack:///../../common-packages/headless-content-unblocker/src/events/optInContentBlocker.tsx","webpack:///../../common-packages/headless-content-unblocker/src/utils/htmlDecode.tsx","webpack:///../../common-packages/headless-content-unblocker/src/utils/isUrl.tsx","webpack:///../../common-packages/headless-content-unblocker/src/utils/parents.tsx","webpack:///../../common-packages/resolve-none-computed-style/src/matchingSelector.tsx","webpack:///../../packages/utils/lib/factory/ajax/commonUrlBuilder.tsx","webpack:///../../packages/utils/lib/factory/ajax/nonceDeprecationPool.tsx","webpack:///../../packages/utils/lib/factory/ajax/parseResult.tsx","webpack:///../../packages/utils/lib/factory/ajax/commonRequest.tsx","webpack:///../../packages/utils/lib/factory/ajax/routeHttpVerbEnum.tsx","webpack:///../../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/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/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/asciiSpinner.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/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/dispatchResizeEvent.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_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_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_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\";","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\";","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 if (!element || !element.parentElement) {\n return false;\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, useBannerButtons } from \"../../hooks\";\nimport { useBanner } from \"../../contexts\";\nimport { bannerInlineStylesScale, BANNER_SCALING_WHEN_WINDOW_WIDTH_LOWER } from \"./inlineStyles\";\nimport { BannerTooltip } from \".\";\nimport { getOtherOptionsFromWindow } from \"../../utils\";\nimport { useRect } from \"@reach/rect\";\nimport { Portal } from \"..\";\nvar counter = 0;\n\nvar BannerCloseIcon = function BannerCloseIcon() {\n var idCloseIcon = 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\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 width = bannerInlineStylesScale(mobile, pageRequestUuid4, fontSize);\n var thickness = 1;\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 tooltipText = activeAction ? activeAction === \"change\" ? closeWithoutSaving : close : acceptEssentials;\n usePlainCss(\"#\".concat(idCloseIconPlaceholder, \" {\\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(idCloseIcon, \" {\\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 cursor: pointer;\\n z-index: 99;\\n pointer-events: all;\\n \").concat(buttonClicked === buttonClickedCloseIcon ? \"outline: rgb(255, 94, 94) solid 5px;\" : \"\", \"\\n}\\n#\").concat(idCloseIcon, \":after {\\n width: auto !important;\\n white-space: nowrap !important;\\n}\\n#\").concat(idCloseIcon, \" > span:before,#\").concat(idCloseIcon, \" > 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(fontColor, \";\\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(idCloseIcon, \" > span:after{\\n transform: rotate(-45deg) translate(-50%, -50%);\\n}\\n#\").concat(idCloseIcon, \" > span:hover:before,#\").concat(idCloseIcon, \" > span:hover:after{\\n opacity: 1;\\n width: \").concat(thickness + 1, \"px;\\n}\"));\n var container = document.getElementById(pageRequestUuid4);\n return 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: container\n }, h(BannerTooltip, {\n title: tooltipText,\n id: idCloseIcon,\n onClick: closeIcon,\n position: rect.y > 50 ? \"top-left\" : \"left\",\n always: (container === null || container === void 0 ? void 0 : container.clientWidth) < BANNER_SCALING_WHEN_WINDOW_WIDTH_LOWER\n }, h(\"span\", null))));\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 }\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 } 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 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\", {\n key: id,\n value: id\n }, new Date(created).toLocaleString(document.documentElement.lang), isDoNotTrack ? \" (Do Not Track)\" : \"\", isUnblock ? \" (Content Blocker)\" : \"\", isForwarded ? \" (Consent Forwarding)\" : \"\");\n }) : h(\"option\", {\n value: SELECT_NONE\n }, 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 };","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 _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 _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 fn = function fn(height) {\n cssElement.innerHTML = \"#\".concat(pageRequestUuid4, \"{--rendered-height-\").concat(name, \": \").concat(Math.floor(height), \"px;--rendered-height-raw-\").concat(name, \": \").concat(height, \"px}\");\n };\n\n if (!element) {\n return function () {// Silence is golden.\n };\n }\n\n if (window.ResizeObserver) {\n var ro = new ResizeObserver(function () {\n //fn(entries[0].borderBoxSize[0].blockSize); This implementation is currently broken as every browser handles the properties in another way\n fn(element.getBoundingClientRect().height);\n });\n ro.observe(element);\n return function () {\n ro.disconnect();\n };\n } else {\n var previousHeight = 0;\n var interval = setInterval(function () {\n var currentHeight = element.getBoundingClientRect().height;\n\n if (previousHeight !== currentHeight) {\n previousHeight = currentHeight;\n fn(currentHeight);\n }\n }, 150);\n return function () {\n clearInterval(interval);\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, BANNER_SCALING_WHEN_WINDOW_WIDTH_LOWER } from \"./inlineStyles\";\n\nvar BannerContent = function BannerContent() {\n var _document$getElementB;\n\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 on mobile devices\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 && ((_document$getElementB = document.getElementById(pageRequestUuid4)) === null || _document$getElementB === void 0 ? void 0 : _document$getElementB.clientWidth) < BANNER_SCALING_WHEN_WINDOW_WIDTH_LOWER ? \"#\".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, dispatchResizeEvent } from \"../../others\";\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;}\")); // 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 }\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 { 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, 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, 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 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 };","/**\n * Example: When switching the individual privacy mode, the headline get's updated so\n * we need also recalculate the `position: sticky`.\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 { 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 };","/**\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 _document$cookie$matc;\n\n var decode = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n var value = ((_document$cookie$matc = document.cookie.match(\"(^|;)\\\\s*\".concat(cname, \"\\\\s*=\\\\s*([^;]+)\"))) === null || _document$cookie$matc === void 0 ? void 0 : _document$cookie$matc.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__(4741); })\nvar __webpack_exports__ = __webpack_require__.O(undefined, [568], function() { return __webpack_require__(5475); })\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_INLINE","HTML_ATTRIBUTE_INLINE_STYLE","HTML_ATTRIBUTE_BLOCKER_ID","HTML_TAG_CONSENT_SCRIPT","HTML_ATTRIBUTE_BLOCKER_CONNECTED","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_GOT_CLICKED","HTML_ATTRIBUTE_GOT_CLICKED_VALUE","HTML_ATTRIBUTE_GOT_CLICKED_VALUE_DO_NOT_USE_IN_NESTED","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","htmlDecode","input","_doc$querySelector","DOMParser","parseFromString","documentElement","textContent","isUrl","url","test","parents","element","selector","elements","elem","parentElement","nodeType","Node","ELEMENT_NODE","push","matchingSelector","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","window","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","BANNER_SCALING_WHEN_WINDOW_WIDTH_LOWER","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","BannerCloseIcon","idCloseIcon","idCloseIconPlaceholder","rect","_useBanner$headerDesi","headerDesign","fontSize","fontColor","texts","mobile","pageRequestUuid4","_useBanner$buttonClic","buttonClicked","width","_useBannerButtons","_getOtherOptionsFromW2","getOtherOptionsFromWindow","bannerI18n","close","closeWithoutSaving","tooltipText","usePlainCss","y","x","thickness","container","getElementById","h","title","onClick","position","always","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","color","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","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","borderBottom","disabled","onChange","tcf","isDoNotTrack","isUnblock","isForwarded","created","Date","toLocaleString","lang","bannerInlineStyleBodyTeaching","teachingsInheritTextAlign","teachingsTextAlign","teachingsInheritFontSize","teachingsFontSize","teachingsInheritFontColor","teachingsFontColor","bannerButtonsInlineStyleCommon","framed","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","AsciiSpinner","_ref$ms","ms","_ref$chars","chars","i","setI","interval","setInterval","clearInterval","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","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","fn","Math","floor","ResizeObserver","ro","getBoundingClientRect","observe","disconnect","previousHeight","currentHeight","BannerContent","_banner$layout","currentRef","current","showHeader","hideHeader","showScrollBoxShadow","setShowScrollBoxShadow","updateShowScrollBoxShadow","clientHeight","scrollHeight","scrollTop","offsetHeight","hasScrollbar","scrolledToBottom","ceil","removeEventListener","platform","headerRef","footerRef","innerHeight","closeIconDistance","maxHeight","bannerContentInlineStyle","useDesignBorderWidth","bannerHeaderInlineStyleSeparator","bannerFooterInlineStyleSeparator","useBannerAnimation","isMobile","innerWidth","isMobileFirefox","toLowerCase","term","animationIn","animationInOnlyMobile","animationOut","animationOutOnlyMobile","useAnimationIn","useAnimationOut","useResettableAnimation","animation","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","delay","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","dispatchResizeEvent","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","then","Error","setTimeout","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","dispatchEvent","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","matches","google","getSsrPoweredByLink","ensureBodyElement","consentApi","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","_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","Event","originalPoweredLink","nextElementSibling","rcbPoweredByCacheOuterHTML","outerHTML","cookieValue","cname","_document$cookie$matc","decode","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","Element","getAttributeNames","attributes","bubbles","cancelable","evt","createEvent","initCustomEvent","obj","objType","TypeError","prop","assign","defineProperty","to","nextSource","nextKey","writable","configurable","CharacterData","DocumentType","item","enumerable","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,2gBCN5F,IAAIM,EAAgC,mBAChCC,EAAsC,yBACtCC,EAAgC,IAChCC,EAAoB,aAEpBC,EAA4B,mBAC5BC,EAA+B,4BAC/BC,EAAwB,iBACxBC,EAA8B,uBAC9BC,EAA4B,aAC5BC,EAA0B,SAC1BC,EAAmC,4BACnCC,EAAgD,+BAChDC,EAAmC,4BACnCC,EAAyC,IACzCC,EAA8C,wBAC9CC,EAA8B,0BAC9BC,EAAoC,IACpCC,EAA6B,sBAC7BC,EAAmC,IACnCC,EAAwD,K,sJCd/DC,E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AGrE,IAAIC,EAAuB,SAASC,EAA4BtL,GAC/D,IAKIwJ,EAAU4B,EALVtB,EAAW9J,EAAK,GAChBuL,EAAcvL,EAAK,GACnBwL,EAAUxL,EAAK,GAGItc,EAAI,EAC3B,GAAGomB,EAASxvB,MAAK,SAAS1O,GAAM,OAA+B,IAAxBu/B,EAAgBv/B,MAAe,CACrE,IAAI49B,KAAY+B,EACZhC,EAAoBkB,EAAEc,EAAa/B,KACrCD,EAAoB3zB,EAAE4zB,GAAY+B,EAAY/B,IAGhD,GAAGgC,EAAS,IAAIpkC,EAASokC,EAAQjC,GAGlC,IADG+B,GAA4BA,EAA2BtL,GACrDtc,EAAIomB,EAASxqC,OAAQokB,IACzB0nB,EAAUtB,EAASpmB,GAChB6lB,EAAoBkB,EAAEU,EAAiBC,IAAYD,EAAgBC,IACrED,EAAgBC,GAAS,KAE1BD,EAAgBrB,EAASpmB,IAAM,EAEhC,OAAO6lB,EAAoBM,EAAEziC,IAG1BqkC,EAAqBC,KAAyC,mCAAIA,KAAyC,oCAAK,GACpHD,EAAmBx9B,QAAQo9B,EAAqBM,KAAK,KAAM,IAC3DF,EAAmB5pC,KAAOwpC,EAAqBM,KAAK,KAAMF,EAAmB5pC,KAAK8pC,KAAKF,I,GC/CvFlC,EAAoBM,OAAEtqC,EAAW,CAAC,MAAM,WAAa,OAAOgqC,EAAoB,SAChF,IAAIqC,EAAsBrC,EAAoBM,OAAEtqC,EAAW,CAAC,MAAM,WAAa,OAAOgqC,EAAoB,SAC1GqC,EAAsBrC,EAAoBM,EAAE+B,G","sources":["webpack:///webpack/runtime/chunk loaded","webpack:///../../common-packages/headless-content-unblocker/src/dom/applyDynamicsToHtml.tsx","webpack:///../../common-packages/headless-content-unblocker/src/dom/htmlAttributes.tsx","webpack:///../../common-packages/headless-content-unblocker/src/dom/putHtmlCodeToDom.tsx","webpack:///../../common-packages/headless-content-unblocker/src/events/optInContentBlocker.tsx","webpack:///../../common-packages/headless-content-unblocker/src/utils/htmlDecode.tsx","webpack:///../../common-packages/headless-content-unblocker/src/utils/isUrl.tsx","webpack:///../../common-packages/headless-content-unblocker/src/utils/parents.tsx","webpack:///../../common-packages/resolve-none-computed-style/src/matchingSelector.tsx","webpack:///../../packages/utils/lib/factory/ajax/commonUrlBuilder.tsx","webpack:///../../packages/utils/lib/factory/ajax/nonceDeprecationPool.tsx","webpack:///../../packages/utils/lib/factory/ajax/parseResult.tsx","webpack:///../../packages/utils/lib/factory/ajax/commonRequest.tsx","webpack:///../../packages/utils/lib/factory/ajax/routeHttpVerbEnum.tsx","webpack:///../../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/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/asciiSpinner.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/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/dispatchResizeEvent.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_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_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_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\";","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\";","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, useBannerButtons } from \"../../hooks\";\nimport { useBanner } from \"../../contexts\";\nimport { bannerInlineStylesScale, BANNER_SCALING_WHEN_WINDOW_WIDTH_LOWER } from \"./inlineStyles\";\nimport { BannerTooltip } from \".\";\nimport { getOtherOptionsFromWindow } from \"../../utils\";\nimport { useRect } from \"@reach/rect\";\nimport { Portal } from \"..\";\nvar counter = 0;\n\nvar BannerCloseIcon = function BannerCloseIcon() {\n var idCloseIcon = 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\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 width = bannerInlineStylesScale(mobile, pageRequestUuid4, fontSize);\n var thickness = 1;\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 tooltipText = activeAction ? activeAction === \"change\" ? closeWithoutSaving : close : acceptEssentials;\n usePlainCss(\"#\".concat(idCloseIconPlaceholder, \" {\\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(idCloseIcon, \" {\\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 cursor: pointer;\\n z-index: 99;\\n pointer-events: all;\\n \").concat(buttonClicked === buttonClickedCloseIcon ? \"outline: rgb(255, 94, 94) solid 5px;\" : \"\", \"\\n}\\n#\").concat(idCloseIcon, \":after {\\n width: auto !important;\\n white-space: nowrap !important;\\n}\\n#\").concat(idCloseIcon, \" > span:before,#\").concat(idCloseIcon, \" > 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(fontColor, \";\\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(idCloseIcon, \" > span:after{\\n transform: rotate(-45deg) translate(-50%, -50%);\\n}\\n#\").concat(idCloseIcon, \" > span:hover:before,#\").concat(idCloseIcon, \" > span:hover:after{\\n opacity: 1;\\n width: \").concat(thickness + 1, \"px;\\n}\"));\n var container = document.getElementById(pageRequestUuid4);\n return 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: container\n }, h(BannerTooltip, {\n title: tooltipText,\n id: idCloseIcon,\n onClick: closeIcon,\n position: rect.y > 50 ? \"top-left\" : \"left\",\n always: (container === null || container === void 0 ? void 0 : container.clientWidth) < BANNER_SCALING_WHEN_WINDOW_WIDTH_LOWER\n }, h(\"span\", null))));\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 }\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 _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 _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 fn = function fn(height) {\n cssElement.innerHTML = \"#\".concat(pageRequestUuid4, \"{--rendered-height-\").concat(name, \": \").concat(Math.floor(height), \"px;--rendered-height-raw-\").concat(name, \": \").concat(height, \"px}\");\n };\n\n if (!element) {\n return function () {// Silence is golden.\n };\n }\n\n if (window.ResizeObserver) {\n var ro = new ResizeObserver(function () {\n //fn(entries[0].borderBoxSize[0].blockSize); This implementation is currently broken as every browser handles the properties in another way\n fn(element.getBoundingClientRect().height);\n });\n ro.observe(element);\n return function () {\n ro.disconnect();\n };\n } else {\n var previousHeight = 0;\n var interval = setInterval(function () {\n var currentHeight = element.getBoundingClientRect().height;\n\n if (previousHeight !== currentHeight) {\n previousHeight = currentHeight;\n fn(currentHeight);\n }\n }, 150);\n return function () {\n clearInterval(interval);\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, BANNER_SCALING_WHEN_WINDOW_WIDTH_LOWER } from \"./inlineStyles\";\n\nvar BannerContent = function BannerContent() {\n var _document$getElementB;\n\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 on mobile devices\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 && ((_document$getElementB = document.getElementById(pageRequestUuid4)) === null || _document$getElementB === void 0 ? void 0 : _document$getElementB.clientWidth) < BANNER_SCALING_WHEN_WINDOW_WIDTH_LOWER ? \"#\".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, dispatchResizeEvent } from \"../../others\";\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;}\")); // 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 { 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, 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, 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 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 };","/**\n * Example: When switching the individual privacy mode, the headline get's updated so\n * we need also recalculate the `position: sticky`.\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 { 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 };","/**\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 _document$cookie$matc;\n\n var decode = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n var value = ((_document$cookie$matc = document.cookie.match(\"(^|;)\\\\s*\".concat(cname, \"\\\\s*=\\\\s*([^;]+)\"))) === null || _document$cookie$matc === void 0 ? void 0 : _document$cookie$matc.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__(4741); })\nvar __webpack_exports__ = __webpack_require__.O(undefined, [568], function() { return __webpack_require__(9721); })\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_INLINE","HTML_ATTRIBUTE_INLINE_STYLE","HTML_ATTRIBUTE_BLOCKER_ID","HTML_TAG_CONSENT_SCRIPT","HTML_ATTRIBUTE_BLOCKER_CONNECTED","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_GOT_CLICKED","HTML_ATTRIBUTE_GOT_CLICKED_VALUE","HTML_ATTRIBUTE_GOT_CLICKED_VALUE_DO_NOT_USE_IN_NESTED","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","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","window","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","BANNER_SCALING_WHEN_WINDOW_WIDTH_LOWER","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","BannerCloseIcon","idCloseIcon","idCloseIconPlaceholder","rect","_useBanner$headerDesi","headerDesign","fontSize","fontColor","texts","mobile","pageRequestUuid4","_useBanner$buttonClic","buttonClicked","width","_useBannerButtons","_getOtherOptionsFromW2","getOtherOptionsFromWindow","bannerI18n","close","closeWithoutSaving","tooltipText","usePlainCss","y","x","thickness","container","getElementById","h","title","onClick","position","always","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","color","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","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","framed","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","AsciiSpinner","_ref$ms","ms","_ref$chars","chars","i","setI","interval","setInterval","clearInterval","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","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","fn","Math","floor","ResizeObserver","ro","getBoundingClientRect","observe","disconnect","previousHeight","currentHeight","BannerContent","_banner$layout","currentRef","current","showHeader","hideHeader","showScrollBoxShadow","setShowScrollBoxShadow","updateShowScrollBoxShadow","clientHeight","scrollHeight","scrollTop","offsetHeight","hasScrollbar","scrolledToBottom","ceil","removeEventListener","platform","headerRef","footerRef","innerHeight","closeIconDistance","maxHeight","bannerContentInlineStyle","useDesignBorderWidth","bannerHeaderInlineStyleSeparator","bannerFooterInlineStyleSeparator","useBannerAnimation","isMobile","innerWidth","isMobileFirefox","toLowerCase","term","animationIn","animationInOnlyMobile","animationOut","animationOutOnlyMobile","useAnimationIn","useAnimationOut","useResettableAnimation","animation","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","delay","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","dispatchResizeEvent","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","then","Error","setTimeout","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","dispatchEvent","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","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","_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","Event","originalPoweredLink","nextElementSibling","rcbPoweredByCacheOuterHTML","outerHTML","cookieValue","cname","_document$cookie$matc","decode","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","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],{1420:function(e,t,n){n.r(t);var r=n(63),o=n(3532).default,i="rcbJQueryEventListenerMemorize";function a(e,t,n){var a="".concat(i,"_").concat(n),c=(e.defaultView||e.parentWindow).jQuery;if(c){var l=c.event,s=c.Event;l&&s&&!l[a]&&Object.assign(l,(0,r.Z)({},a,new o((function(e){return c(t).on(n,e)}))))}}var c=n(7663),l=n(38),s=n(7938),u=n(5450),d=n.n(u),f=n(4052),v=n(6825),p="RCB/OptIn/ContentBlocker/All",b=n(2207),y=n(996),h=n(8055),g=n(3657),m=n(965),k=n(6703),A=n(5213),x=n(2711),C=n(6943),w=n(6762),Z=n(3340),S=function(){function e(){(0,w.Z)(this,e)}return(0,Z.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,s=o.fontInheritFamily,u=o.fontFamily,d=e.customCss.antiAdBlocker,f={textAlign:c,fontFamily:s?void 0:u,color:l,borderRadius:"dialog"===n?+r:void 0,border:"banner"===n&&i>0?"".concat(i,"px solid ").concat(a):void 0};return{className:"wp-exclude-emoji ".concat("y"===d?"":"rcb-inner"),style:f}}},{key:"content",value:function(e){return{className:"y"===e.customCss.antiAdBlocker?void 0:"rcb-content",style:{}}}}]),e}(),B=n(4115),E=function(){function e(){(0,w.Z)(this,e)}return(0,Z.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,s=l.inheritBg,u=l.bg,d=l.padding,f=e.customCss.antiAdBlocker,v={padding:d.map((function(e){return"".concat(e,"px")})).join(" "),background:s?c.bg:u,borderRadius:"dialog"===n?"".concat(r,"px ").concat(r,"px 0 0"):void 0};return"dialog"===n&&i>0&&(v.borderTop="".concat(i,"px solid ").concat(a),v.borderLeft=v.borderTop,v.borderRight=v.borderTop),{className:"y"===f?void 0:"rcb-header-container",style:v}}},{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"}}}},{key:"headline",value:function(e){var t=e.headerDesign,n=t.fontSize,r=t.fontColor,o=t.fontInheritFamily,i=t.fontFamily;return{className:"y"===e.customCss.antiAdBlocker?void 0:"rcb-headline",style:{color:r,fontSize:+n,lineHeight:1.8,fontFamily:o?void 0:i}}}},{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,T=function(){var e=(0,C._)(),t=e.blocker.name,n=e.texts.blockerHeadline;return _("div",E.headerContainer(e),_("div",E.header(e),_("div",E.headline(e),n.replace(/{{name}}/g,t))))},L=n(2722),N=function(){function e(){(0,w.Z)(this,e)}return(0,Z.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,s=e.customCss.antiAdBlocker,u=e.showFooter,d={background:i,padding:l.map((function(e){return"".concat(e,"px")})).join(" "),borderRadius:u||"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,u||(d.borderBottom=d.borderLeft)),{className:"y"===s?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}(),P=function(){function e(){(0,w.Z)(this,e)}return(0,Z.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}(),W=function(){function e(){(0,w.Z)(this,e)}return(0,Z.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,s=a.acceptAllTextAlign,u=a.acceptAllBorderColor,d=a.acceptAllPadding,f=a.acceptAllBorderWidth,v=a.acceptAllFontColor,p=a.acceptAllHoverBg,b=a.acceptAllHoverFontColor,y=a.acceptAllHoverBorderColor,h=e.customCss.antiAdBlocker;return this.common({name:"accept-all",type:r,borderRadius:o,bg:l,hoverBg:p,fontSize:c,textAlign:s,linkTextDecoration:i,fontColor:v,hoverFontColor:b,borderWidth:f,borderColor:u,hoverBorderColor:y,padding:d,antiAdBlocker:h},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,s=a.acceptIndividualTextAlign,u=a.acceptIndividualBorderColor,d=a.acceptIndividualPadding,f=a.acceptIndividualBorderWidth,v=a.acceptIndividualFontColor,p=a.acceptIndividualHoverBg,b=a.acceptIndividualHoverFontColor,y=a.acceptIndividualHoverBorderColor,h=e.customCss.antiAdBlocker;return this.common({name:"accept-individual",type:r,borderRadius:o,bg:l,hoverBg:p,fontSize:c,textAlign:s,linkTextDecoration:i,fontColor:v,hoverFontColor:b,borderWidth:f,borderColor:u,hoverBorderColor:y,padding:d,antiAdBlocker:h},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,s=e.textAlign,u=e.linkTextDecoration,d=e.fontColor,f=e.hoverFontColor,v=e.borderWidth,p=e.borderColor,b=e.hoverBorderColor,y=e.padding,h=e.antiAdBlocker,g={textDecoration:"link"===o?u:"none",borderRadius:+i,cursor:"button"===o?"pointer":void 0,backgroundColor:"button"===o?t?c:a:void 0,fontSize:+l,textAlign:s,color:t?f:d,transition:"background-color 250ms, color 250ms, border-color 250ms",marginBottom:10,border:"button"===o&&v>0?"".concat(v,"px solid ").concat(t?b:p):void 0,padding:y.map((function(e){return"".concat(e,"px")})).join(" "),overflow:"hidden",outline:n?"rgb(255, 94, 94) solid 5px":void 0};return{className:"y"===h?void 0:"rcb-btn-".concat(r),style:g}}}]),e}(),I=n(7029).h,O=function(e){var t=e.inlineStyle,n=e.type,r=e.onClick,o=e.children,i=e.framed;if("hide"===n)return null;var a=(0,A.eJ)(!1),l=(0,c.Z)(a,2),s=l[0],u=l[1],d=(0,C._)(),f={onClick:r,onMouseEnter:function(){return u(!0)},onMouseLeave:function(){return u(!1)}};return I("div",(0,L.Z)({},"button"===n?f:{},W[t](d,s,i)),I("span","link"===n?(0,x.Z)((0,x.Z)({},f),{},{style:{cursor:"pointer"}}):{},o))},D=function(){function e(){(0,w.Z)(this,e)}return(0,Z.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,s=a.checkboxBorderWidth,u=a.checkboxBorderColor,d=a.checkboxActiveBg,f=a.checkboxActiveBorderColor,v=a.checkboxActiveColor,p=+(o||c)+2*+s+6;return{className:"y"===e.customCss.antiAdBlocker?void 0:"rcb-checkbox",style:{cursor:r?"not-allowed":"pointer",opacity:r?.5:void 0,color:n?v:l,display:t?"inline-block":"none",background:n?d:l,border:"".concat(s,"px solid ").concat(n?f:u),padding:3,height:p,width:p,marginRight:10,borderRadius:+i,verticalAlign:"middle",lineHeight:0}}}},{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}(),F=n(4184),H=n(7029).h,R=function(e){var t=e.label,n=e.value,r=e.children,o=(0,C._)(),i="string"==typeof n&&(0,F.C)(n)?H("a",{href:n,style:(0,x.Z)({wordBreak:"break-all"},D.linkMore(o,!1).style),target:"_blank",rel:"noopener noreferrer"},n):"string"==typeof n?H("span",{dangerouslySetInnerHTML:{__html:n}}):n;return H("div",(0,L.Z)({key:t},D.cookieProperty(o)),H("strong",null,t,": "),i,!!r&&H("div",null,r))},z=n(3251),V=n(9515),M=n(595),j=n(4930),Y=n(7029).h,q=function(e){var t=e.cookie,n=t.name,r=t.purpose,o=t.provider,i=t.providerPrivacyPolicy,a=t.ePrivacyUSA,l=t.noTechnicalDefinitions,s=t.technicalDefinitions,u=t.codeDynamics,d=(0,A.eJ)(!1),f=(0,c.Z)(d,2),v=f[0],p=f[1],b=(0,C._)(),y=b.ePrivacyUSA,h=b.group.descriptionFontSize,g=(0,k.u)().bannerI18n,m=(0,z.w)();return(0,A.bt)((function(){p(!0)}),[]),Y("div",D.cookie(b),Y("div",{style:{marginBottom:10}},Y(M.p,(0,L.Z)({icon:V.Z},D.checkbox(b,v,!0,!0,h))),Y("strong",{style:{verticalAlign:"middle"}},n)),!!r&&Y(R,{label:g.purpose,value:r}),Y(R,{label:g.provider,value:o}),!!i&&Y(R,{label:g.providerPrivacyPolicy,value:i}),!!y&&Y(R,{label:g.ePrivacyUSA,value:a?g.yes:g.no}),!l&&s.map((function(e){var t=e.type,n=e.name,r=e.host,o=e.duration,i=e.durationUnit,a=e.sessionDuration;return Y(R,{key:n,label:g.technicalCookieDefinition,value:Y("span",{style:{fontFamily:"monospace"}},(0,j.c)(n,u))},Y(R,{label:g.type,value:m[t].name}),!!r&&Y(R,{label:g.host,value:Y("span",{style:{fontFamily:"monospace"}},r)}),-1===["local","session","indexedDb","flash"].indexOf(t)&&Y(R,{label:g.duration,value:a?"Session":"".concat(o," ").concat(g.durationUnit[i])}))})))},U=n(9270),Q=n(9295),K=n(7029).h,G=function(){var e=(0,C._)(),t=(0,A.eJ)(!1),n=(0,c.Z)(t,2),r=n[0],o=n[1],i=e.ePrivacyUSA,a=e.ageNotice,s=e.bodyDesign.teachingsSeparatorActive,u=e.decision,d=u.acceptAll,f=u.acceptIndividual,v=e.texts,p=v.ePrivacyUSA,b=v.ageNoticeBlocker,y=v.blockerLoadButton,h=v.blockerLinkShowMissing,g=v.blockerAcceptInfo,x=e.blocker,w=x.description,Z=x.cookies,S=e.consent,B=e.groups,E=e.onUnblock,_=(0,k.u)().bannerI18n.close,T=(0,A.Ye)((function(){for(var e=[],t=[],n=0,r=Object.values(S.groups);n<r.length;n++){var o=r[n];t.push.apply(t,(0,m.Z)(o))}var i,a=(0,l.Z)(B);try{for(a.s();!(i=a.n()).done;){var c,s=i.value.items,u=(0,l.Z)(s);try{for(u.s();!(c=u.n()).done;){var d=c.value;Z.indexOf(d.id)>-1&&-1===t.indexOf(d.id)&&e.push(d)}}catch(e){u.e(e)}finally{u.f()}}}catch(e){a.e(e)}finally{a.f()}return e}),[B,Z,S]),W=!!i&&T.map((function(e){return e.ePrivacyUSA})).filter(Boolean).length>0,I=(0,U.Q)(B,void 0,W?p:"",(function(e){return e.ePrivacyUSA})),F=!!w||W||a;return K("div",N.bodyContainer(e),K("div",N.body(e),K("div",P.topSide(e),F&&K("div",N.description(e),!!w&&K(A.HY,null,K("span",{dangerouslySetInnerHTML:{__html:w.replace(/\n/gm,"<br />")}}),s&&K("div",null,K("span",N.teachingsSeparator(e)))),K(A.HY,null,!!I&&K("span",(0,L.Z)({},N.teaching(e),{dangerouslySetInnerHTML:{__html:I}})),a&&!!b&&K("span",(0,L.Z)({},N.teaching(e),{dangerouslySetInnerHTML:{__html:b}})),K("span",(0,L.Z)({},N.teaching(e),{dangerouslySetInnerHTML:{__html:g}})))),K(O,{type:"hide"===f?"link":f,inlineStyle:"showInfo",onClick:function(){return o(!r)}},r?_:h),r&&K("div",D.cookieScroll(e),T.map((function(e){return K(q,{key:e.id,cookie:e})})))),K("div",P.bottomSide(e),K(O,{type:"hide"===d?"button":d,inlineStyle:"save",onClick:function(e){return E(e)}},y),K(Q.m,null))))},J=function(){function e(){(0,w.Z)(this,e)}return(0,Z.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,s=i.textAlign,u=i.padding,d=i.fontSize,f=i.fontColor,v=e.customCss.antiAdBlocker,p={padding:u.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:f,textAlign:l?o.textAlign:s};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"===v?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,s=arguments.length>1&&void 0!==arguments[1]&&arguments[1],u={textDecoration:c,fontSize:+n,color:s?o:r,fontFamily:i?void 0:a,padding:"0 5px"};return{className:"y"===l?void 0:"rcb-footer-link",style:u}}}]),e}(),$=n(7029).h,X=function(e){var t=e.children,n=(0,B.Z)(e,["children"]),r=(0,C._)(),o=(0,A.eJ)(!1),i=(0,c.Z)(o,2),a=i[0],l=i[1];return $("a",(0,L.Z)({onMouseEnter:function(){return l(!0)},onMouseLeave:function(){return l(!1)}},J.footerLink(r,a),n),t)},ee=n(9549),te=n(617),ne=n(713),re=n(7029).h,oe=function(){var e=(0,C._)(),t=e.legal,n=e.footerDesign,r=n.poweredByLink,o=n.linkTarget,i=e.poweredLink,a="_blank"===o?{target:"_blank",rel:"noopener"}:{},c=(0,k.u)().affiliate,l=(0,ne.X)(t),s=l.linkPrivacyPolicy,u=l.linkImprint,d=(0,ee.e)([s&&re(X,(0,L.Z)({href:s.url},a,{key:"privacyPolicy"}),s.label),u&&re(X,(0,L.Z)({href:u.url},a,{key:"imprint"}),u.label)],re(A.HY,null," • "));return re("div",J.footerContainer(e),re("div",J.footer(e),d,!!i&&r&&re(A.HY,null,null!==d&&re("br",null),re(X,{href:c?c.link:i.href,target:i.target},re("span",{dangerouslySetInnerHTML:{__html:i.innerHTML}}),c&&re(te.z,{title:c.description}," ",c.labelBehind))," ")))},ie=n(7029).h,ae=function(){var e=(0,C._)(),t=e.showFooter;return ie("div",S.inner(e),ie("div",S.content(e),ie(T,null),ie("div",E.headerSeparator(e)),ie(G,null),!!t&&ie(A.HY,null,ie("div",J.footerSeparator(e)),ie(oe,null))))},ce=n(2624),le=n(9747);function se(){return(se=(0,s.Z)(d().mark((function e(t){var n,o,i,a,s,u,f,v,p,b,y,h,g,m,A,x,C;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=(0,k.u)(),o=n.essentialGroup,i=n.groups,n.isTcf,n.tcf,n.tcfMetadata,a=(0,ce.h)(),s=i.filter((function(e){return e.slug===o})),u=(0,c.Z)(s,1),f=u[0],v=!1===a?{groups:(0,r.Z)({},f.id,f.items.map((function(e){return e.id})))}:{groups:a.consent},p=(0,l.Z)(i),e.prev=5,p.s();case 7:if((b=p.n()).done){e.next=31;break}y=b.value,h=y.id,g=y.items,m=(0,l.Z)(g),e.prev=10,m.s();case 12:if((A=m.n()).done){e.next=21;break}if(x=A.value.id,!(t.cookies.indexOf(x)>-1)){e.next=19;break}if(!((null===(C=v.groups[h])||void 0===C?void 0:C.indexOf(x))>-1)){e.next=17;break}return e.abrupt("continue",19);case 17:v.groups[h]=v.groups[h]||[],v.groups[h].push(x);case 19:e.next=12;break;case 21:e.next=26;break;case 23:e.prev=23,e.t0=e.catch(10),m.e(e.t0);case 26:return e.prev=26,m.f(),e.finish(26);case 29:e.next=7;break;case 31:e.next=36;break;case 33:e.prev=33,e.t1=e.catch(5),p.e(e.t1);case 36:return e.prev=36,p.f(),e.finish(36);case 39:return e.next=42,(0,le.$)({consent:v,buttonClicked:"unblock",blocker:t.id,tcfString:void 0});case 42:case"end":return e.stop()}}),e,null,[[5,33,36,39],[10,23,26,29]])})))).apply(this,arguments)}var ue=n(6228),de=n(7029).h,fe=function(e){var t=e.poweredLink,n=e.blocker,r=e.setVisualAsLastClickedVisual,o=(0,ce.h)(),i=(0,k.u)(),a=i.customizeValuesBanner,l=a.layout,s=a.decision,u=a.legal,d=a.design,f=a.headerDesign,p=a.bodyDesign,b=a.footerDesign,y=a.texts,h=a.individualLayout,g=a.saveButton,m=a.group,w=a.individualTexts,Z=a.customCss,S=i.pageIdToPermalink,B=i.consentForwardingExternalHosts,E=i.isTcf,_=i.isEPrivacyUSA,T=i.isAgeNotice,L=i.groups,N={borderWidth:d.borderWidth||1,borderColor:0===d.borderWidth?f.borderWidth>0?f.borderColor:b.borderWidth>0?b.borderColor:d.fontColor:d.borderColor},P=(0,A.eJ)({layout:(0,x.Z)({},l),decision:(0,x.Z)({},s),legal:(0,x.Z)({},u),design:(0,x.Z)((0,x.Z)({},d),N),headerDesign:(0,x.Z)({},f),bodyDesign:(0,x.Z)({},p),footerDesign:(0,x.Z)({},b),texts:(0,x.Z)({},y),individualLayout:(0,x.Z)({},h),saveButton:(0,x.Z)({},g),group:(0,x.Z)({},m),individualTexts:(0,x.Z)({},w),customCss:(0,x.Z)({},Z),pageIdToPermalink:S,consentForwardingExternalHosts:B,groups:L,poweredLink:t,isTcf:E,ePrivacyUSA:_,ageNotice:T,blocker:n,consent:{groups:(0,x.Z)({},!1===o?{}:o.consent)},onUnblock:function(e){!function(e){se.apply(this,arguments)}(n),r(e)}}),W=(0,c.Z)(P,1)[0];(0,ue.G)([".elementor-background-overlay ~ [".concat(v._W,"] { z-index: 99; }")].join(""));var I=C.Z.Context();return de(I.Provider,{value:W},de(ae,null))},ve=!1;function pe(e){ve=e}function be(){return ve}function ye(e,t,n,r){return r(e,"string"==typeof t?t.split(",").map(Number):t,n)}function he(e){var t,n=[],r=Array.prototype.slice.call(document.querySelectorAll("[".concat(v._W,"]"))),o=(0,l.Z)(r);try{for(o.s();!(t=o.n()).done;){var i=t.value,a=ye(i.getAttribute(v.d3),i.getAttribute(v._W),+i.getAttribute(v.CT),e),c=a.blocker,s=a.consent,u=i.className.indexOf("rcb-content-blocker")>-1;n.push({node:i,consent:s,isVisualCb:u,blocker:c})}}catch(e){o.e(e)}finally{o.f()}return n}function ge(e){return me.apply(this,arguments)}function me(){return(me=(0,s.Z)(d().mark((function e(t){var n,r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=t.getAttribute(v.Ng),t.removeAttribute(v.Ng),r=(r=(r=t.outerHTML.substr(v.v4.length+1)).substr(0,r.length-v.v4.length-3)).replace(new RegExp('type="application/consent"'),""),r="<style ".concat(v.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 ke=n(5478);function Ae(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 s=ye(a,i,+c,t).consent;return s||n++,s?"".concat(r).concat((0,ke.l)(atob(l))):e})),n]}function xe(e){var t;t=Array.prototype.slice.call(document.querySelectorAll("[".concat(v.Ng,"]")));var n,r=(0,l.Z)(t);try{for(r.s();!(n=r.n()).done;){var o=n.value,i=o.tagName.toLowerCase()===v.v4,a=Ae(i?o.getAttribute(v.Ng):o.innerHTML,e),s=(0,c.Z)(a,2),u=s[0],d=s[1];i?(o.setAttribute(v.Ng,u),ge(o)):(o.innerHTML!==u&&(o.innerHTML=u),0===d&&o.removeAttribute(v.Ng))}}catch(e){r.e(e)}finally{r.f()}t=Array.prototype.slice.call(document.querySelectorAll('[style*="'.concat(v._W,'"]')));var f,p=(0,l.Z)(t);try{for(p.s();!(f=p.n()).done;){var b=f.value;b.setAttribute("style",Ae(b.getAttribute("style"),e)[0])}}catch(e){p.e(e)}finally{p.f()}}var Ce=n(8935);function we(e,t,n){var r=t+10*+(0,Ce.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 Ze=n(8527);function Se(e,t,n,r){for(var o in e){var i=e[o];if(i instanceof CSSStyleRule)try{if((0,Ze.D)(t,i.selectorText)){var a=i.style[r];void 0!==a&&""!==a&&n.push((0,x.Z)((0,x.Z)({},we(i,n.length,r)),{},{style:a}))}}catch(e){}}}var Be=["-fit-aspect-ratio","wp-block-embed__wrapper","x-frame-inner"],Ee={height:"auto",padding:0},_e="consent-cb-memo-style";function Te(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 Le(e,t){var n,r,o=e.parentElement,i=[o,null==o?void 0:o.parentElement,null==o||null===(n=o.parentElement)||void 0===n?void 0:n.parentElement].filter(Boolean),a=(0,l.Z)(i);try{var c=function(){var n,i=r.value,a=Be.filter((function(e){return i.className.indexOf(e)>-1})).length>0,c=i===o&&Te(e);if(t&&(c||a||[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&&Se(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}(i,"height"),null==n?void 0:n[0].style))>-1)){var l=i.hasAttribute(v.Kh),s=i.getAttribute("style")||"";for(var u in i.removeAttribute(v.Kh),l||(s=s.replace(/display:\s*none\s*!important;/,"")),i.setAttribute(v.Wm,v.Qt),i.setAttribute(_e,s),Ee)i.style.setProperty(u,Ee[u],"important");"absolute"===window.getComputedStyle(i).position&&i.style.setProperty("position","static","important")}else!t&&i.hasAttribute(v.Wm)&&(i.setAttribute("style",i.getAttribute(_e)||""),i.removeAttribute(_e),i.removeAttribute(v.Wm))};for(a.s();!(r=a.n()).done;)c()}catch(e){a.e(e)}finally{a.f()}}var Ne=n(784),Pe="children:";function We(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(v.NY))r=e.getAttribute(v.NY);else{var o=e.parentElement.className;for(var i in t)if(o.indexOf(i)>-1){r=t[i];break}}if(r){if(!0===r||"true"===r)return[e.parentElement,"parent"];if(!isNaN(+r)){for(var a=e,c=0;c<+r;c++){if(!a.parentElement)return[a,"parentZ"];a=a.parentElement}return[a,"parentZ"]}if("string"==typeof r){if(r.startsWith(Pe))return[e.querySelector(r.substr(Pe.length)),"childrenSelector"];for(var l=e;l;l=l.parentElement)if((0,Ze.D)(l,r))return[l,"parentSelector"]}}return[e,"none"]}function Ie(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 Oe(e){return e.hasAttribute(v.YO)}function De(e){return e.offsetParent?e:Ie(e,Oe)}var Fe=0,He=void 0;function Re(e){var t,n=e.node,r=e.blocker,o=e.setVisualParentIfClassOfParent,i=e.dependantVisibilityContainers,a=e.mount;if(r){var s=n.parentElement,u=r.forceHidden,d=void 0!==u&&u,f=r.visual,p=r.id,b=(null===(t=n.style)||void 0===t?void 0:t.position)||"initial",y=["fixed","absolute","sticky"].indexOf(b)>-1,h=[document.body,document.head,document.querySelector("html")].indexOf(s)>-1,g=n.getAttribute(v.YO),m=We(n,o||{}),k=(0,c.Z)(m,2),A=k[0],x=k[1],C=A.hasAttribute(v.i7)||A.hasAttribute(v.Ng),w=!!A.offsetParent,Z=function(){if(-1===["script","link"].indexOf(null==n?void 0:n.tagName.toLowerCase())&&"childrenSelector"!==x){var e=n.style;"none"===e.getPropertyValue("display")&&"important"===e.getPropertyPriority("display")?n.setAttribute(v.Kh,"1"):e.setProperty("display","none","important")}};if(h||y&&!Te(n)&&!d||!f||g||!(C||w||d)){if(!w&&i){var S=(0,Ne.w)(n,i.join(","));if(S.length>0&&!S[0].offsetParent)return}Z()}else{var B=document.createElement("div"),E=function(e,t){var n,r,o,i,a,c=e.previousElementSibling,s=null===(n=e.parentElement)||void 0===n?void 0:n.previousElementSibling,u=null===(r=e.parentElement)||void 0===r||null===(o=r.parentElement)||void 0===o?void 0:o.previousElementSibling,d=[Ie(e,Oe),c,null==c?void 0:c.lastElementChild,s,null==s?void 0:s.lastElementChild,u,null==u?void 0:u.lastElementChild,null==u||null===(i=u.lastElementChild)||void 0===i?void 0:i.lastElementChild].filter(Boolean).map(De).filter(Boolean),f=(0,l.Z)(d);try{for(f.s();!(a=f.n()).done;){var p=a.value;if(+p.getAttribute(v.CT)===t&&p.hasAttribute(v.YO))return p}}catch(e){f.e(e)}finally{f.f()}return!1}(A,p);if(E)return n.setAttribute(v.YO,E.getAttribute(v.YO)),void Z();B.setAttribute(v.YO,Fe.toString()),B.className="rcb-content-blocker",B.style.setProperty("max-height","initial"),B.style.setProperty("pointer-events","all"),n.setAttribute(v.YO,Fe.toString()),A.parentNode.insertBefore(B,A),[v.d3,v.CT,v._W].forEach((function(e){n.hasAttribute(e)&&B.setAttribute(e,n.getAttribute(e))})),"childrenSelector"===x&&A.setAttribute(v.YO,Fe.toString()),("childrenSelector"===x?A:n).style.setProperty("display","none","important");var _=Fe;a(B,r,Fe,(function(e){null==e||e.stopPropagation(),ze(_)})),Fe++,Le(A,!0)}}}function ze(e){He=e}function Ve(e){var t=e.getAttribute(v.YO),n=e.getAttribute(v.CT),r=e.getAttribute(v.d3),o="".concat(He)===t;if(o)e.setAttribute(v.fq,v.WK);else{var i=(0,Ne.w)(e,"[".concat(v.fq,'="').concat(v.WK,'"][').concat(v.CT,'="').concat(n,'"][').concat(v.d3,'="').concat(r,'"]')),a=(0,c.Z)(i,1)[0];a&&(a.setAttribute(v.fq,v.jk),o=!0)}return o}var Me=!1;function je(e){if(!Me){var t=(e.defaultView||e.parentWindow).jQuery;if(t){var n=t.fn.ready;t.fn.ready=function(e){if(e)if(be()){var r=!1;document.addEventListener(p,(function(){r||(r=!0,setTimeout((function(){e(t)}),0))}))}else setTimeout((function(){e(t)}),0);return n.apply(this,[function(){}])},Me=!0}}}var Ye="rcbJQueryEventListener";function qe(e,t,n){var o,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{onBeforeExecute:void 0},c=a.onBeforeExecute,s="".concat(Ye,"_").concat(n),u="".concat(i,"_").concat(n),d=e.defaultView||e.parentWindow,f=d.jQuery;if(f){var v=f.event,b=f.Event;if(v&&b&&!v[s]){var y=v.add;Object.assign(v,(o={},(0,r.Z)(o,s,!0),(0,r.Z)(o,"add",(function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];var i=r[0],a=r[1],s=r[2],d=r[3],f=r[4],h=Array.isArray(a)?a:"string"==typeof a?a.split(" "):a,g=v[u],m=be(),k=function(){return setTimeout((function(){null==c||c(m),null==s||s(new b)}),0)};if(a&&i===t){var A,x=(0,l.Z)(h);try{for(x.s();!(A=x.n()).done;){var C=A.value,w=C===n;w&&m?function(){var e=!1;document.addEventListener(p,(function(){e||(e=!0,g?g.then(k):k())}))}():w&&g?g.then(k):y.apply(this,[i,C,s,d,f])}}catch(e){x.e(e)}finally{x.f()}}else y.apply(this,r)})),o))}}}function Ue(e,t){var n,o="".concat("rcbNativeEventListener","_").concat(t);if(!e[o]){var i=e.addEventListener;Object.assign(e,(n={},(0,r.Z)(n,o,!0),(0,r.Z)(n,"addEventListener",(function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];if(e===t){var a=!1;document.addEventListener(p,(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 i.apply(this,[e].concat(r))})),n))}}var Qe=n(6740),Ke=!1;function Ge(e){if(!Ke){var t=e.defaultView||e.parentWindow;try{Object.defineProperty(t,Qe.L,{set:function(e){"function"==typeof e&&e()},enumerable:!0,configurable:!0})}catch(e){}Ke=!0}}var Je=n(3532).default,$e="script[src]:not([async]):not([defer]):not([".concat(v.CT,"]):not([").concat(v.i7,"])"),Xe=function(){function e(){(0,w.Z)(this,e),this.scriptsBefore=void 0,this.scriptsBefore=Array.prototype.slice.call(document.querySelectorAll($e))}return(0,Z.Z)(e,[{key:"diff",value:function(){var e=this;return Array.prototype.slice.call(document.querySelectorAll($e)).filter((function(t){return-1===e.scriptsBefore.indexOf(t)})).map((function(e){return new Je((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 et(e,t){var n,r=t.previousElementSibling;return null!=r&&r.hasAttribute(v.Ks)?n=r:((n=document.createElement("div")).setAttribute(v.Ks,v.dW),t.parentElement.replaceChild(n,t)),(0,Qe.K)(e,{},n)}var tt=n(3532).default;function nt(e){var t=e.node,n=e.allowClickOverrides,r=e.onlyModifyAttributes,o=e.setVisualParentIfClassOfParent,i=e.overwriteAttributeValue;return new tt((function(e){var a,u=!1,f=t.tagName.toLowerCase(),b="script"===f,y=b&&!r?t.cloneNode(!0):t,h=(0,l.Z)(y.getAttributeNames());try{for(h.s();!(a=h.n()).done;){var g=a.value;if(g.startsWith(v.jb)&&g.endsWith(v.rG)){var m,k=g.substr(v.jb.length+1);k=k.slice(0,-1*(v.rG.length+1));var A="".concat(v.zm,"-").concat(k,"-").concat(v.rG),x=y.hasAttribute(A)&&n,C=y.getAttribute(x?A:g);x&&(u=!0),i&&(C=i(C,k)),y.setAttribute(k,C),y.removeAttribute(g),y.removeAttribute(A),n&&["a"].indexOf(f)>-1&&(["onclick"].indexOf(k.toLowerCase())>-1||null!==(m=t.getAttribute("href"))&&void 0!==m&&m.startsWith("#"))&&t.addEventListener(p,function(){var e=(0,s.Z)(d().mark((function e(n){var r;return d().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){h.e(e)}finally{h.f()}var w,Z=(0,l.Z)(y.getAttributeNames());try{for(Z.s();!(w=Z.n()).done;){var S=w.value;if(S.startsWith(v.zm)&&S.endsWith(v.rG)){var B=y.getAttribute(S),E=S.substr(v.zm.length+1);E=E.slice(0,-1*(v.rG.length+1)),n&&(y.setAttribute(E,B),u=!0),y.removeAttribute(S)}}}catch(e){Z.e(e)}finally{Z.f()}if(r)e({performedClick:!1});else{y.style.removeProperty("display");var _=We(t,o||{}),T=(0,c.Z)(_,1)[0];(T!==t||null!=T&&T.hasAttribute(v.YO))&&T.style.removeProperty("display");var L={performedClick:u};b?et(y.outerHTML,t).then((function(){return e(L)})):e(L)}}))}function rt(e){var t=e.parentElement===document.head,n=e.getAttribute(v.i7);e.removeAttribute(v.i7),e.style.removeProperty("display");var r=e.outerHTML.substr(v.v4.length+1);return r=(r=(r=r.substr(0,r.length-v.v4.length-3)).replace(new RegExp('type="application/consent"'),"")).replace(new RegExp("".concat(v.jb,"-type-").concat(v.rG,'="([^"]+)"')),'type="$1"'),r="<script".concat(r).concat(n,"<\/script>"),t?(0,Qe.K)(r,{}):et(r,e)}function ot(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 it=n(3532).default;function at(){return(at=(0,s.Z)(d().mark((function e(t){var n,r,o,i,a,c,s,u,b,y,h,g,m,k,A,C,w,Z,S,B,E,_,T,L,N,P,W,I;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=t.checker,r=t.visual,o=t.overwriteAttributeValue,i=t.transactionClosed,a=t.customInitiators,pe(!0),c=!1,s=he(n),xe(n),u=[],b=function(e){var t;null==r||null===(t=r.unmount)||void 0===t||t.call(r,e),Le(e,!1),e.remove()},document.querySelectorAll("[".concat(v.CT,"]:not(.rcb-content-blocker):not([").concat(v._W,"]):not([").concat(v.Ti,"])")).forEach((function(e){return e.setAttribute(v.Ti,"1")})),y=(0,l.Z)(s),e.prev=9,y.s();case 11:if((h=y.n()).done){e.next=57;break}if(g=h.value,m=g.consent,k=g.node,A=g.isVisualCb,C=g.blocker,!m){e.next=54;break}if(k.hasAttribute(v._W)){e.next=19;break}return e.abrupt("continue",55);case 19:if(!A){e.next=22;break}return b(k),e.abrupt("continue",55);case 22:if(k.removeAttribute(v._W),w=k.getAttribute(v.YO),(Z=Ve(k))&&(c=!0),w){S=Array.prototype.slice.call(document.querySelectorAll('.rcb-content-blocker[consent-blocker-connected="'.concat(w,'"]'))),B=(0,l.Z)(S);try{for(B.s();!(E=B.n()).done;)_=E.value,b(_)}catch(e){B.e(e)}finally{B.f()}}return T=k.ownerDocument,L=T.defaultView,je(T),qe(T,L,"load"),Ue(L,"load"),Ue(T,"DOMContentLoaded"),Ge(T),null==a||a(T,L),N=new Xe,P=k.hasAttribute(v.i7),e.next=39,nt({node:k,allowClickOverrides:!P&&Z,onlyModifyAttributes:P,setVisualParentIfClassOfParent:null==r?void 0:r.setVisualParentIfClassOfParent,overwriteAttributeValue:o});case 39:if(W=e.sent,I=W.performedClick,!P){e.next=46;break}return e.next=44,rt(k);case 44:e.next=47;break;case 46:I&&ze(void 0);case 47:return e.next=49,it.all(N.diff());case 49:k.dispatchEvent(new CustomEvent(f.T,{detail:{blocker:C,gotClicked:Z}})),document.dispatchEvent(new CustomEvent(f.T,{detail:{blocker:C,element:k,gotClicked:Z}})),u.push(g),e.next=55;break;case 54:r&&!A&&Re((0,x.Z)({node:g.node,blocker:g.blocker},r));case 55:e.next=11;break;case 57:e.next=62;break;case 59:e.prev=59,e.t0=e.catch(9),y.e(e.t0);case 62:return e.prev=62,y.f(),e.finish(62);case 65:u.length?(c&&ze(void 0),pe(!1),document.dispatchEvent(new CustomEvent(p,{detail:{unblockedNodes:u}})),u.forEach((function(e){var t=e.node;t.setAttribute(v.Ti,"1"),t.dispatchEvent(new CustomEvent(p,{detail:{unblockedNodes:u}}))})),setTimeout((function(){null==i||i(u),ot(u)}),0)):pe(!1);case 66:case"end":return e.stop()}}),e,null,[[9,59,62,65]])})))).apply(this,arguments)}var ct=function(){function e(t){(0,w.Z)(this,e),this.interval=void 0,this.options=void 0,this.options=t}return(0,Z.Z)(e,[{key:"unblockNow",value:function(){return function(e){return at.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}(),lt=n(7029).h,st=n(7051),ut=n(3532).default,dt=window.jQuery,ft="listenOptInJqueryFnForContentBlockerNow";function vt(e){if(null!=dt&&dt.fn){var t,n=dt.fn,r=(0,l.Z)(e);try{var o=function(){var e=t.value,r=n[e];if(!r)return"continue";var o=n[ft]=n[ft]||[];if(o.indexOf(e)>-1)return"continue";o.push(e),n[e]=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.each((function(){var e=this,n=function(){return r.apply(dt(e),t)},o=Array.prototype.slice.call(this.querySelectorAll("[".concat(v._W,"]")));this.getAttribute(v._W)&&o.push(this),o.length?ut.all(o.map((function(e){return new ut((function(t){return e.addEventListener(f.T,t)}))}))).then((function(){return n()})):n()}))}};for(r.s();!(t=r.n()).done;)o()}catch(e){r.e(e)}finally{r.f()}}}var pt,bt,yt,ht,gt,mt,kt,At,xt,Ct,wt=n(373),Zt=["youtube","vimeo"];document.addEventListener(f.T,function(){var e=(0,s.Z)(d().mark((function e(t){var n,r,o,i,a,s,u,f,b,y,h,g,m,k,A,x;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.detail,r=n.element,!n.gotClicked){e.next=44;break}i=r.nextElementSibling,a=r.parentElement,s=null==a?void 0:a.nextElementSibling,u=(0,l.Z)([[r,[".ultv-video__play",".elementor-custom-embed-image-overlay",".tb_video_overlay",".premium-video-box-container",".norebro-video-module-sc"]],[i,[".jet-video__overlay"]],[s,[".et_pb_video_overlay"]]]),e.prev=6,u.s();case 8:if((f=u.n()).done){e.next=35;break}if(b=(0,c.Z)(f.value,2),y=b[0],h=b[1],!y){e.next=33;break}g=(0,l.Z)(h),e.prev=12,g.s();case 14:if((m=g.n()).done){e.next=25;break}if(k=m.value,!y.matches(k)){e.next=19;break}return o=y,e.abrupt("break",35);case 19:if(!(A=y.querySelector(k))){e.next=23;break}return o=A,e.abrupt("break",35);case 23:e.next=14;break;case 25:e.next=30;break;case 27:e.prev=27,e.t0=e.catch(12),g.e(e.t0);case 30:return e.prev=30,g.f(),e.finish(30);case 33:e.next=8;break;case 35:e.next=40;break;case 37:e.prev=37,e.t1=e.catch(6),u.e(e.t1);case 40:return e.prev=40,u.f(),e.finish(40);case 43:o&&(x=function(){return setTimeout((function(){return o.click()}),100)},o.hasAttribute(v._W)?o.addEventListener(p,x,{once:!0}):x());case 44:case"end":return e.stop()}}),e,null,[[6,37,40,43],[12,27,30,33]])})));return function(t){return e.apply(this,arguments)}}()),pt=[],yt=(bt=(0,k.u)()).setVisualParentIfClassOfParent,ht=bt.multilingualSkipHTMLForTag,gt=bt.dependantVisibilityContainers,mt=bt.blocker,bt.tcf,bt.tcfMetadata,kt=new ct({checker:function(e,t,n){var r,o=null===(r=mt.filter((function(e){return e.id===n})))||void 0===r?void 0:r[0],i=!0;return"cookies"===e&&(i=-1===t.map((function(e){var t,n=(0,l.Z)(pt);try{for(n.s();!(t=n.n()).done;)if(t.value.cookie.id===e)return!0}catch(e){n.e(e)}finally{n.f()}return!1})).indexOf(!1)),{consent:i,blocker:o}},overwriteAttributeValue:function(e,t){return e},transactionClosed:function(e){!function(e){var t,n,r,o=window,i=o.elementorFrontend,a=o.TCB_Front,c=o.jQuery,s=o.showGoogleMap,u=o.et_pb_init_modules,d=o.tdYoutubePlayers,f=o.tdVimeoPlayers,v=!1,p=(0,l.Z)(e);try{for(p.s();!(t=p.n()).done;){var b=t.value.node,y=b.className,g=b.id;if(null==i||i.elementsHandler.runReadyTrigger(b),(g.startsWith("wpgb-")||y.startsWith("wpgb-"))&&(v=!0),a&&c&&y.indexOf("tcb-yt-bg")>-1){var m=c(b);m.is(":visible")&&a.playBackgroundYoutube(m)}}}catch(e){p.e(e)}finally{p.f()}null==a||a.handleIframes(a.$body,!0),null==s||s(),c&&(null===(n=(r=c(window)).lazyLoadXT)||void 0===n||n.call(r)),null==u||u(),null==d||d.init(),null==f||f.init();try{v&&window.dispatchEvent(new CustomEvent("wpgb.loaded"))}catch(e){}(0,h.s)()}(e)},visual:{setVisualParentIfClassOfParent:yt,dependantVisibilityContainers:gt,unmount:function(e){(0,A.uy)(e)},mount:function(e,t,n,r){ht&&e.setAttribute(ht,"1"),(0,A.sY)(lt(fe,{poweredLink:(0,g.U)(),blocker:t,setVisualAsLastClickedVisual:r}),e)}},customInitiators:function(e,t){qe(e,t,"elementor/frontend/init"),qe(e,t,"tcb_after_dom_ready"),qe(e,e,"mylisting/single:tab-switched"),qe(e,e,"tve-dash.load",{onBeforeExecute:function(){window.TVE_Dash.ajax_sent=!0}})}}),document.addEventListener(b.V,(function(e){var t=e.detail.cookies;pt=t,kt.unblockNow(),kt.start()})),document.addEventListener(y.I,(function(){pt=[],kt.unblockNow(),kt.start()})),function(){var e=document.createElement("style");e.style.type="text/css",document.getElementsByTagName("head")[0].appendChild(e);var t="".concat(v.Wm,'="').concat(v.Qt,'"'),n=".rcb-content-blocker",r=[].concat((0,m.Z)([".thrv_wrapper[".concat(t,"]")].map((function(e){return"".concat(e,"::before{display:none!important;}")}))),(0,m.Z)([".jet-video[".concat(t,"]>.jet-video__overlay"),".et_pb_video[".concat(t,"]>.et_pb_video_overlay"),"".concat(n,"+div+.et_pb_video_overlay"),"".concat(n,"+.ultv-video"),"".concat(n,"+.elementor-widget-container"),".wp-block-embed__wrapper[".concat(t,"]>.ast-oembed-container"),"".concat(n,"+.wpgb-facet"),"".concat(n,"+.td_wrapper_video_playlist")].map((function(e){return"".concat(e,"{display:none!important;}")}))),[".wp-block-embed__wrapper[".concat(t,"]::before{padding-top:0!important;}"),".tve_responsive_video_container[".concat(t,"]{padding-bottom:0!important;}"),".x-frame-inner[".concat(t,"]>div.x-video{position:initial!important;}")],(0,m.Z)([".jet-video[".concat(t,"]")].map((function(e){return"".concat(e,"{background:none!important;}")}))),(0,m.Z)([".tve_responsive_video_container[".concat(t,"]")].map((function(e){return"".concat(e," .rcb-content-blocker > div > div > div {border-radius:0!important;}")}))));e.innerHTML=r.join("")}(),vt(At=["fitVids","mediaelementplayer"]),(0,st.C)((function(){vt(At)})),xt=window,null==(Ct=xt.jQuery)||Ct(window).on("elementor/frontend/init",(0,s.Z)(d().mark((function e(){var t,n,r,o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((t=xt.elementorFrontend).on("components:init",(function(){var e,n=(0,l.Z)(Zt);try{for(n.s();!(e=n.n()).done;){var r=e.value,o=t.utils[r];o&&(o.insertAPI=function(){var e=this,t=this.getApiURL();(0,wt.h)(t).then((function(){e.elements.$firstScript.before(Ct("<script>",{src:t}))})),this.setSettings("isInserted",!0)})}}catch(e){n.e(e)}finally{n.f()}})),!(n=t.elementsHandler.getHandler("video.default"))){e.next=14;break}if(null==n||!n.then){e.next=10;break}return e.next=7,n;case 7:e.t0=e.sent,e.next=11;break;case 10:e.t0=n;case 11:r=e.t0,o=r.prototype.onInit,r.prototype.onInit=function(){var e=this.$element;null==e||e.get(0).addEventListener(f.T,function(){var t=(0,s.Z)(d().mark((function t(n){var r;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n.detail.gotClicked&&((r=e.data("settings")).autoplay=!0,e.data("settings",r));case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}());for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return o.apply(this,n)};case 14:case"end":return e.stop()}}),e)})))),(0,st.C)((function(){a(document,document,"tve-dash.load"),a(document,document,"mylisting/single:tab-switched")}),"interactive")}},function(e){e.O(0,[568],(function(){return 1420,e(e.s=1420)}));var t=e.O();realCookieBanner_blocker=t}]);
|
1 |
+
"use strict";var realCookieBanner_blocker;(self.webpackChunkrealCookieBanner_name_=self.webpackChunkrealCookieBanner_name_||[]).push([[518],{1420:function(e,t,n){n.r(t);var r=n(63),o=n(3532).default,i="rcbJQueryEventListenerMemorize";function a(e,t,n){var a="".concat(i,"_").concat(n),c=(e.defaultView||e.parentWindow).jQuery;if(c){var l=c.event,s=c.Event;l&&s&&!l[a]&&Object.assign(l,(0,r.Z)({},a,new o((function(e){return c(t).on(n,e)}))))}}var c=n(7663),l=n(38),s=n(7938),u=n(5450),d=n.n(u),f=n(4052),v=n(6825),p="RCB/OptIn/ContentBlocker/All",b=n(2207),y=n(996),h=n(8055),g=n(3657),m=n(965),k=n(6703),A=n(5213),x=n(2711),C=n(6943),w=n(6762),Z=n(3340),S=function(){function e(){(0,w.Z)(this,e)}return(0,Z.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,s=o.fontInheritFamily,u=o.fontFamily,d=e.customCss.antiAdBlocker,f={textAlign:c,fontFamily:s?void 0:u,color:l,borderRadius:"dialog"===n?+r:void 0,border:"banner"===n&&i>0?"".concat(i,"px solid ").concat(a):void 0};return{className:"wp-exclude-emoji ".concat("y"===d?"":"rcb-inner"),style:f}}},{key:"content",value:function(e){return{className:"y"===e.customCss.antiAdBlocker?void 0:"rcb-content",style:{}}}}]),e}(),B=n(4115),_=function(){function e(){(0,w.Z)(this,e)}return(0,Z.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,s=l.inheritBg,u=l.bg,d=l.padding,f=e.customCss.antiAdBlocker,v={padding:d.map((function(e){return"".concat(e,"px")})).join(" "),background:s?c.bg:u,borderRadius:"dialog"===n?"".concat(r,"px ").concat(r,"px 0 0"):void 0};return"dialog"===n&&i>0&&(v.borderTop="".concat(i,"px solid ").concat(a),v.borderLeft=v.borderTop,v.borderRight=v.borderTop),{className:"y"===f?void 0:"rcb-header-container",style:v}}},{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"}}}},{key:"headline",value:function(e){var t=e.headerDesign,n=t.fontSize,r=t.fontColor,o=t.fontInheritFamily,i=t.fontFamily;return{className:"y"===e.customCss.antiAdBlocker?void 0:"rcb-headline",style:{color:r,fontSize:+n,lineHeight:1.8,fontFamily:o?void 0:i}}}},{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}(),E=n(7029).h,T=function(){var e=(0,C._)(),t=e.blocker.name,n=e.texts.blockerHeadline;return E("div",_.headerContainer(e),E("div",_.header(e),E("div",_.headline(e),n.replace(/{{name}}/g,t))))},L=n(2722),N=function(){function e(){(0,w.Z)(this,e)}return(0,Z.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,s=e.customCss.antiAdBlocker,u=e.showFooter,d={background:i,padding:l.map((function(e){return"".concat(e,"px")})).join(" "),borderRadius:u||"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,u||(d.borderBottom=d.borderLeft)),{className:"y"===s?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}(),P=function(){function e(){(0,w.Z)(this,e)}return(0,Z.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}(),W=function(){function e(){(0,w.Z)(this,e)}return(0,Z.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,s=a.acceptAllTextAlign,u=a.acceptAllBorderColor,d=a.acceptAllPadding,f=a.acceptAllBorderWidth,v=a.acceptAllFontColor,p=a.acceptAllHoverBg,b=a.acceptAllHoverFontColor,y=a.acceptAllHoverBorderColor,h=e.customCss.antiAdBlocker;return this.common({name:"accept-all",type:r,borderRadius:o,bg:l,hoverBg:p,fontSize:c,textAlign:s,linkTextDecoration:i,fontColor:v,hoverFontColor:b,borderWidth:f,borderColor:u,hoverBorderColor:y,padding:d,antiAdBlocker:h},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,s=a.acceptIndividualTextAlign,u=a.acceptIndividualBorderColor,d=a.acceptIndividualPadding,f=a.acceptIndividualBorderWidth,v=a.acceptIndividualFontColor,p=a.acceptIndividualHoverBg,b=a.acceptIndividualHoverFontColor,y=a.acceptIndividualHoverBorderColor,h=e.customCss.antiAdBlocker;return this.common({name:"accept-individual",type:r,borderRadius:o,bg:l,hoverBg:p,fontSize:c,textAlign:s,linkTextDecoration:i,fontColor:v,hoverFontColor:b,borderWidth:f,borderColor:u,hoverBorderColor:y,padding:d,antiAdBlocker:h},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,s=e.textAlign,u=e.linkTextDecoration,d=e.fontColor,f=e.hoverFontColor,v=e.borderWidth,p=e.borderColor,b=e.hoverBorderColor,y=e.padding,h=e.antiAdBlocker,g={textDecoration:"link"===o?u:"none",borderRadius:+i,cursor:"button"===o?"pointer":void 0,backgroundColor:"button"===o?t?c:a:void 0,fontSize:+l,textAlign:s,color:t?f:d,transition:"background-color 250ms, color 250ms, border-color 250ms",marginBottom:10,border:"button"===o&&v>0?"".concat(v,"px solid ").concat(t?b:p):void 0,padding:y.map((function(e){return"".concat(e,"px")})).join(" "),overflow:"hidden",outline:n?"rgb(255, 94, 94) solid 5px":void 0};return{className:"y"===h?void 0:"rcb-btn-".concat(r),style:g}}}]),e}(),I=n(7029).h,O=function(e){var t=e.inlineStyle,n=e.type,r=e.onClick,o=e.children,i=e.framed;if("hide"===n)return null;var a=(0,A.eJ)(!1),l=(0,c.Z)(a,2),s=l[0],u=l[1],d=(0,C._)(),f={onClick:r,onMouseEnter:function(){return u(!0)},onMouseLeave:function(){return u(!1)}};return I("div",(0,L.Z)({},"button"===n?f:{},W[t](d,s,i)),I("span","link"===n?(0,x.Z)((0,x.Z)({},f),{},{style:{cursor:"pointer"}}):{},o))},D=function(){function e(){(0,w.Z)(this,e)}return(0,Z.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,s=a.checkboxBorderWidth,u=a.checkboxBorderColor,d=a.checkboxActiveBg,f=a.checkboxActiveBorderColor,v=a.checkboxActiveColor,p=+(o||c)+2*+s+6;return{className:"y"===e.customCss.antiAdBlocker?void 0:"rcb-checkbox",style:{cursor:r?"not-allowed":"pointer",opacity:r?.5:void 0,color:n?v:l,display:t?"inline-block":"none",background:n?d:l,border:"".concat(s,"px solid ").concat(n?f:u),padding:3,height:p,width:p,marginRight:10,borderRadius:+i,verticalAlign:"middle",lineHeight:0}}}},{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}(),F=n(4184),H=n(7029).h,z=function(e){var t=e.label,n=e.value,r=e.children,o=(0,C._)(),i="string"==typeof n&&(0,F.C)(n)?H("a",{href:n,style:(0,x.Z)({wordBreak:"break-all"},D.linkMore(o,!1).style),target:"_blank",rel:"noopener noreferrer"},n):"string"==typeof n?H("span",{dangerouslySetInnerHTML:{__html:n}}):n;return H("div",(0,L.Z)({key:t},D.cookieProperty(o)),H("strong",null,t,": "),i,!!r&&H("div",null,r))},R=n(3251),V=n(9515),M=n(595),j=n(4930),Y=n(7029).h,q=function(e){var t=e.cookie,n=t.name,r=t.purpose,o=t.provider,i=t.providerPrivacyPolicy,a=t.ePrivacyUSA,l=t.noTechnicalDefinitions,s=t.technicalDefinitions,u=t.codeDynamics,d=(0,A.eJ)(!1),f=(0,c.Z)(d,2),v=f[0],p=f[1],b=(0,C._)(),y=b.ePrivacyUSA,h=b.group.descriptionFontSize,g=(0,k.u)().bannerI18n,m=(0,R.w)();return(0,A.bt)((function(){p(!0)}),[]),Y("div",D.cookie(b),Y("div",{style:{marginBottom:10}},Y(M.p,(0,L.Z)({icon:V.Z},D.checkbox(b,v,!0,!0,h))),Y("strong",{style:{verticalAlign:"middle"}},n)),!!r&&Y(z,{label:g.purpose,value:r}),Y(z,{label:g.provider,value:o}),!!i&&Y(z,{label:g.providerPrivacyPolicy,value:i}),!!y&&Y(z,{label:g.ePrivacyUSA,value:a?g.yes:g.no}),!l&&s.map((function(e){var t=e.type,n=e.name,r=e.host,o=e.duration,i=e.durationUnit,a=e.sessionDuration;return Y(z,{key:n,label:g.technicalCookieDefinition,value:Y("span",{style:{fontFamily:"monospace"}},(0,j.c)(n,u))},Y(z,{label:g.type,value:m[t].name}),!!r&&Y(z,{label:g.host,value:Y("span",{style:{fontFamily:"monospace"}},r)}),-1===["local","session","indexedDb","flash"].indexOf(t)&&Y(z,{label:g.duration,value:a?"Session":"".concat(o," ").concat(g.durationUnit[i])}))})))},U=n(9270),Q=n(9295),K=n(7029).h,G=function(){var e=(0,C._)(),t=(0,A.eJ)(!1),n=(0,c.Z)(t,2),r=n[0],o=n[1],i=e.ePrivacyUSA,a=e.ageNotice,s=e.bodyDesign.teachingsSeparatorActive,u=e.decision,d=u.acceptAll,f=u.acceptIndividual,v=e.texts,p=v.ePrivacyUSA,b=v.ageNoticeBlocker,y=v.blockerLoadButton,h=v.blockerLinkShowMissing,g=v.blockerAcceptInfo,x=e.blocker,w=x.description,Z=x.cookies,S=e.consent,B=e.groups,_=e.onUnblock,E=(0,k.u)().bannerI18n.close,T=(0,A.Ye)((function(){for(var e=[],t=[],n=0,r=Object.values(S.groups);n<r.length;n++){var o=r[n];t.push.apply(t,(0,m.Z)(o))}var i,a=(0,l.Z)(B);try{for(a.s();!(i=a.n()).done;){var c,s=i.value.items,u=(0,l.Z)(s);try{for(u.s();!(c=u.n()).done;){var d=c.value;Z.indexOf(d.id)>-1&&-1===t.indexOf(d.id)&&e.push(d)}}catch(e){u.e(e)}finally{u.f()}}}catch(e){a.e(e)}finally{a.f()}return e}),[B,Z,S]),W=!!i&&T.map((function(e){return e.ePrivacyUSA})).filter(Boolean).length>0,I=(0,U.Q)(B,void 0,W?p:"",(function(e){return e.ePrivacyUSA})),F=!!w||W||a;return K("div",N.bodyContainer(e),K("div",N.body(e),K("div",P.topSide(e),F&&K("div",N.description(e),!!w&&K(A.HY,null,K("span",{dangerouslySetInnerHTML:{__html:w.replace(/\n/gm,"<br />")}}),s&&K("div",null,K("span",N.teachingsSeparator(e)))),K(A.HY,null,!!I&&K("span",(0,L.Z)({},N.teaching(e),{dangerouslySetInnerHTML:{__html:I}})),a&&!!b&&K("span",(0,L.Z)({},N.teaching(e),{dangerouslySetInnerHTML:{__html:b}})),K("span",(0,L.Z)({},N.teaching(e),{dangerouslySetInnerHTML:{__html:g}})))),K(O,{type:"hide"===f?"link":f,inlineStyle:"showInfo",onClick:function(){return o(!r)}},r?E:h),r&&K("div",D.cookieScroll(e),T.map((function(e){return K(q,{key:e.id,cookie:e})})))),K("div",P.bottomSide(e),K(O,{type:"hide"===d?"button":d,inlineStyle:"save",onClick:function(e){return _(e)}},y),K(Q.m,null))))},J=function(){function e(){(0,w.Z)(this,e)}return(0,Z.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,s=i.textAlign,u=i.padding,d=i.fontSize,f=i.fontColor,v=e.customCss.antiAdBlocker,p={padding:u.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:f,textAlign:l?o.textAlign:s};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"===v?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,s=arguments.length>1&&void 0!==arguments[1]&&arguments[1],u={textDecoration:c,fontSize:+n,color:s?o:r,fontFamily:i?void 0:a,padding:"0 5px"};return{className:"y"===l?void 0:"rcb-footer-link",style:u}}}]),e}(),$=n(7029).h,X=function(e){var t=e.children,n=(0,B.Z)(e,["children"]),r=(0,C._)(),o=(0,A.eJ)(!1),i=(0,c.Z)(o,2),a=i[0],l=i[1];return $("a",(0,L.Z)({onMouseEnter:function(){return l(!0)},onMouseLeave:function(){return l(!1)}},J.footerLink(r,a),n),t)},ee=n(9549),te=n(617),ne=n(713),re=n(7029).h,oe=function(){var e=(0,C._)(),t=e.legal,n=e.footerDesign,r=n.poweredByLink,o=n.linkTarget,i=e.poweredLink,a="_blank"===o?{target:"_blank",rel:"noopener"}:{},c=(0,k.u)().affiliate,l=(0,ne.X)(t),s=l.linkPrivacyPolicy,u=l.linkImprint,d=(0,ee.e)([s&&re(X,(0,L.Z)({href:s.url},a,{key:"privacyPolicy"}),s.label),u&&re(X,(0,L.Z)({href:u.url},a,{key:"imprint"}),u.label)],re(A.HY,null," • "));return re("div",J.footerContainer(e),re("div",J.footer(e),d,!!i&&r&&re(A.HY,null,null!==d&&re("br",null),re(X,{href:c?c.link:i.href,target:i.target},re("span",{dangerouslySetInnerHTML:{__html:i.innerHTML}}),c&&re(te.z,{title:c.description}," ",c.labelBehind))," ")))},ie=n(7029).h,ae=function(){var e=(0,C._)(),t=e.showFooter;return ie("div",S.inner(e),ie("div",S.content(e),ie(T,null),ie("div",_.headerSeparator(e)),ie(G,null),!!t&&ie(A.HY,null,ie("div",J.footerSeparator(e)),ie(oe,null))))},ce=n(2624),le=n(9747);function se(){return(se=(0,s.Z)(d().mark((function e(t){var n,o,i,a,s,u,f,v,p,b,y,h,g,m,A,x,C;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=(0,k.u)(),o=n.essentialGroup,i=n.groups,n.isTcf,n.tcf,n.tcfMetadata,a=(0,ce.h)(),s=i.filter((function(e){return e.slug===o})),u=(0,c.Z)(s,1),f=u[0],v=!1===a?{groups:(0,r.Z)({},f.id,f.items.map((function(e){return e.id})))}:{groups:a.consent},p=(0,l.Z)(i),e.prev=5,p.s();case 7:if((b=p.n()).done){e.next=31;break}y=b.value,h=y.id,g=y.items,m=(0,l.Z)(g),e.prev=10,m.s();case 12:if((A=m.n()).done){e.next=21;break}if(x=A.value.id,!(t.cookies.indexOf(x)>-1)){e.next=19;break}if(!((null===(C=v.groups[h])||void 0===C?void 0:C.indexOf(x))>-1)){e.next=17;break}return e.abrupt("continue",19);case 17:v.groups[h]=v.groups[h]||[],v.groups[h].push(x);case 19:e.next=12;break;case 21:e.next=26;break;case 23:e.prev=23,e.t0=e.catch(10),m.e(e.t0);case 26:return e.prev=26,m.f(),e.finish(26);case 29:e.next=7;break;case 31:e.next=36;break;case 33:e.prev=33,e.t1=e.catch(5),p.e(e.t1);case 36:return e.prev=36,p.f(),e.finish(36);case 39:return e.next=42,(0,le.$)({consent:v,buttonClicked:"unblock",blocker:t.id,tcfString:void 0});case 42:case"end":return e.stop()}}),e,null,[[5,33,36,39],[10,23,26,29]])})))).apply(this,arguments)}var ue=n(6228),de=n(7029).h,fe=function(e){var t=e.poweredLink,n=e.blocker,r=e.setVisualAsLastClickedVisual,o=(0,ce.h)(),i=(0,k.u)(),a=i.customizeValuesBanner,l=a.layout,s=a.decision,u=a.legal,d=a.design,f=a.headerDesign,p=a.bodyDesign,b=a.footerDesign,y=a.texts,h=a.individualLayout,g=a.saveButton,m=a.group,w=a.individualTexts,Z=a.customCss,S=i.pageIdToPermalink,B=i.consentForwardingExternalHosts,_=i.isTcf,E=i.isEPrivacyUSA,T=i.isAgeNotice,L=i.groups,N={borderWidth:d.borderWidth||1,borderColor:0===d.borderWidth?f.borderWidth>0?f.borderColor:b.borderWidth>0?b.borderColor:d.fontColor:d.borderColor},P=(0,A.eJ)({layout:(0,x.Z)({},l),decision:(0,x.Z)({},s),legal:(0,x.Z)({},u),design:(0,x.Z)((0,x.Z)({},d),N),headerDesign:(0,x.Z)({},f),bodyDesign:(0,x.Z)({},p),footerDesign:(0,x.Z)({},b),texts:(0,x.Z)({},y),individualLayout:(0,x.Z)({},h),saveButton:(0,x.Z)({},g),group:(0,x.Z)({},m),individualTexts:(0,x.Z)({},w),customCss:(0,x.Z)({},Z),pageIdToPermalink:S,consentForwardingExternalHosts:B,groups:L,poweredLink:t,isTcf:_,ePrivacyUSA:E,ageNotice:T,blocker:n,consent:{groups:(0,x.Z)({},!1===o?{}:o.consent)},onUnblock:function(e){!function(e){se.apply(this,arguments)}(n),r(e)}}),W=(0,c.Z)(P,1)[0];(0,ue.G)([".elementor-background-overlay ~ [".concat(v._W,"] { z-index: 99; }")].join(""));var I=C.Z.Context();return de(I.Provider,{value:W},de(ae,null))},ve=!1;function pe(e){ve=e}function be(){return ve}function ye(e,t,n,r){return r(e,"string"==typeof t?t.split(",").map(Number):t,n)}function he(e){var t,n=[],r=Array.prototype.slice.call(document.querySelectorAll("[".concat(v._W,"]"))),o=(0,l.Z)(r);try{for(o.s();!(t=o.n()).done;){var i=t.value,a=ye(i.getAttribute(v.d3),i.getAttribute(v._W),+i.getAttribute(v.CT),e),c=a.blocker,s=a.consent,u=i.className.indexOf("rcb-content-blocker")>-1;n.push({node:i,consent:s,isVisualCb:u,blocker:c})}}catch(e){o.e(e)}finally{o.f()}return n}function ge(e){return me.apply(this,arguments)}function me(){return(me=(0,s.Z)(d().mark((function e(t){var n,r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=t.getAttribute(v.Ng),t.removeAttribute(v.Ng),r=(r=(r=t.outerHTML.substr(v.v4.length+1)).substr(0,r.length-v.v4.length-3)).replace(new RegExp('type="application/consent"'),""),r="<style ".concat(v.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 ke=n(5478);function Ae(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 s=ye(a,i,+c,t).consent;return s||n++,s?"".concat(r).concat((0,ke.l)(atob(l))):e})),n]}function xe(e){var t;t=Array.prototype.slice.call(document.querySelectorAll("[".concat(v.Ng,"]")));var n,r=(0,l.Z)(t);try{for(r.s();!(n=r.n()).done;){var o=n.value,i=o.tagName.toLowerCase()===v.v4,a=Ae(i?o.getAttribute(v.Ng):o.innerHTML,e),s=(0,c.Z)(a,2),u=s[0],d=s[1];i?(o.setAttribute(v.Ng,u),ge(o)):(o.innerHTML!==u&&(o.innerHTML=u),0===d&&o.removeAttribute(v.Ng))}}catch(e){r.e(e)}finally{r.f()}t=Array.prototype.slice.call(document.querySelectorAll('[style*="'.concat(v._W,'"]')));var f,p=(0,l.Z)(t);try{for(p.s();!(f=p.n()).done;){var b=f.value;b.setAttribute("style",Ae(b.getAttribute("style"),e)[0])}}catch(e){p.e(e)}finally{p.f()}}var Ce=n(8935);function we(e,t,n){var r=t+10*+(0,Ce.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 Ze=n(8527);function Se(e,t,n,r){for(var o in e){var i=e[o];if(i instanceof CSSStyleRule)try{if((0,Ze.D)(t,i.selectorText)){var a=i.style[r];void 0!==a&&""!==a&&n.push((0,x.Z)((0,x.Z)({},we(i,n.length,r)),{},{style:a}))}}catch(e){}}}var Be=["-fit-aspect-ratio","wp-block-embed__wrapper","x-frame-inner"],_e={height:"auto",padding:0},Ee="consent-cb-memo-style";function Te(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 Le(e,t){var n,r,o=e.parentElement,i=[o,null==o?void 0:o.parentElement,null==o||null===(n=o.parentElement)||void 0===n?void 0:n.parentElement].filter(Boolean),a=(0,l.Z)(i);try{var c=function(){var n,i=r.value,a=Be.filter((function(e){return i.className.indexOf(e)>-1})).length>0,c=i===o&&Te(e);if(t&&(c||a||[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&&Se(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}(i,"height"),null==n?void 0:n[0].style))>-1)){var l=i.hasAttribute(v.Kh),s=i.getAttribute("style")||"";for(var u in i.removeAttribute(v.Kh),l||(s=s.replace(/display:\s*none\s*!important;/,"")),i.setAttribute(v.Wm,v.Qt),i.setAttribute(Ee,s),_e)i.style.setProperty(u,_e[u],"important");"absolute"===window.getComputedStyle(i).position&&i.style.setProperty("position","static","important")}else!t&&i.hasAttribute(v.Wm)&&(i.setAttribute("style",i.getAttribute(Ee)||""),i.removeAttribute(Ee),i.removeAttribute(v.Wm))};for(a.s();!(r=a.n()).done;)c()}catch(e){a.e(e)}finally{a.f()}}var Ne=n(784),Pe="children:";function We(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(v.NY))r=e.getAttribute(v.NY);else{var o=e.parentElement.className;for(var i in t)if(o.indexOf(i)>-1){r=t[i];break}}if(r){if(!0===r||"true"===r)return[e.parentElement,"parent"];if(!isNaN(+r)){for(var a=e,c=0;c<+r;c++){if(!a.parentElement)return[a,"parentZ"];a=a.parentElement}return[a,"parentZ"]}if("string"==typeof r){if(r.startsWith(Pe))return[e.querySelector(r.substr(Pe.length)),"childrenSelector"];for(var l=e;l;l=l.parentElement)if((0,Ze.D)(l,r))return[l,"parentSelector"]}}return[e,"none"]}function Ie(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 Oe(e){return e.hasAttribute(v.YO)}function De(e){return e.offsetParent?e:Ie(e,Oe)}var Fe=0,He=void 0;function ze(e){var t,n=e.node,r=e.blocker,o=e.setVisualParentIfClassOfParent,i=e.dependantVisibilityContainers,a=e.mount;if(r){var s=n.parentElement,u=r.forceHidden,d=void 0!==u&&u,f=r.visual,p=r.id,b=(null===(t=n.style)||void 0===t?void 0:t.position)||"initial",y=["fixed","absolute","sticky"].indexOf(b)>-1,h=[document.body,document.head,document.querySelector("html")].indexOf(s)>-1,g=n.getAttribute(v.YO),m=We(n,o||{}),k=(0,c.Z)(m,2),A=k[0],x=k[1],C=A.hasAttribute(v.i7)||A.hasAttribute(v.Ng),w=!!A.offsetParent,Z=function(){if(-1===["script","link"].indexOf(null==n?void 0:n.tagName.toLowerCase())&&"childrenSelector"!==x){var e=n.style;"none"===e.getPropertyValue("display")&&"important"===e.getPropertyPriority("display")?n.setAttribute(v.Kh,"1"):e.setProperty("display","none","important")}};if(h||y&&!Te(n)&&!d||!f||g||!(C||w||d)){if(!w&&i){var S=(0,Ne.w)(n,i.join(","));if(S.length>0&&!S[0].offsetParent)return}Z()}else{var B=document.createElement("div"),_=function(e,t){var n,r,o,i,a,c=e.previousElementSibling,s=null===(n=e.parentElement)||void 0===n?void 0:n.previousElementSibling,u=null===(r=e.parentElement)||void 0===r||null===(o=r.parentElement)||void 0===o?void 0:o.previousElementSibling,d=[Ie(e,Oe),c,null==c?void 0:c.lastElementChild,s,null==s?void 0:s.lastElementChild,u,null==u?void 0:u.lastElementChild,null==u||null===(i=u.lastElementChild)||void 0===i?void 0:i.lastElementChild].filter(Boolean).map(De).filter(Boolean),f=(0,l.Z)(d);try{for(f.s();!(a=f.n()).done;){var p=a.value;if(+p.getAttribute(v.CT)===t&&p.hasAttribute(v.YO))return p}}catch(e){f.e(e)}finally{f.f()}return!1}(A,p);if(_)return n.setAttribute(v.YO,_.getAttribute(v.YO)),void Z();B.setAttribute(v.YO,Fe.toString()),B.className="rcb-content-blocker",B.style.setProperty("max-height","initial"),B.style.setProperty("pointer-events","all"),n.setAttribute(v.YO,Fe.toString()),A.parentNode.insertBefore(B,A),[v.d3,v.CT,v._W].forEach((function(e){n.hasAttribute(e)&&B.setAttribute(e,n.getAttribute(e))})),"childrenSelector"===x&&A.setAttribute(v.YO,Fe.toString()),("childrenSelector"===x?A:n).style.setProperty("display","none","important");var E=Fe;a(B,r,Fe,(function(e){null==e||e.stopPropagation(),Re(E)})),Fe++,Le(A,!0)}}}function Re(e){He=e}function Ve(e){var t=e.getAttribute(v.YO),n=e.getAttribute(v.CT),r=e.getAttribute(v.d3),o="".concat(He)===t;if(o)e.setAttribute(v.fq,v.WK);else{var i=(0,Ne.w)(e,"[".concat(v.fq,'="').concat(v.WK,'"][').concat(v.CT,'="').concat(n,'"][').concat(v.d3,'="').concat(r,'"]')),a=(0,c.Z)(i,1)[0];a&&(a.setAttribute(v.fq,v.jk),o=!0)}return o}var Me=!1;function je(e){if(!Me){var t=(e.defaultView||e.parentWindow).jQuery;if(t){var n=t.fn.ready;t.fn.ready=function(e){if(e)if(be()){var r=!1;document.addEventListener(p,(function(){r||(r=!0,setTimeout((function(){e(t)}),0))}))}else setTimeout((function(){e(t)}),0);return n.apply(this,[function(){}])},Me=!0}}}var Ye="rcbJQueryEventListener";function qe(e,t,n){var o,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{onBeforeExecute:void 0},c=a.onBeforeExecute,s="".concat(Ye,"_").concat(n),u="".concat(i,"_").concat(n),d=e.defaultView||e.parentWindow,f=d.jQuery;if(f){var v=f.event,b=f.Event;if(v&&b&&!v[s]){var y=v.add;Object.assign(v,(o={},(0,r.Z)(o,s,!0),(0,r.Z)(o,"add",(function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];var i=r[0],a=r[1],s=r[2],d=r[3],f=r[4],h=Array.isArray(a)?a:"string"==typeof a?a.split(" "):a,g=v[u],m=be(),k=function(){return setTimeout((function(){null==c||c(m),null==s||s(new b)}),0)};if(a&&i===t){var A,x=(0,l.Z)(h);try{for(x.s();!(A=x.n()).done;){var C=A.value,w=C===n;w&&m?function(){var e=!1;document.addEventListener(p,(function(){e||(e=!0,g?g.then(k):k())}))}():w&&g?g.then(k):y.apply(this,[i,C,s,d,f])}}catch(e){x.e(e)}finally{x.f()}}else y.apply(this,r)})),o))}}}function Ue(e,t){var n,o="".concat("rcbNativeEventListener","_").concat(t);if(!e[o]){var i=e.addEventListener;Object.assign(e,(n={},(0,r.Z)(n,o,!0),(0,r.Z)(n,"addEventListener",(function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];if(e===t){var a=!1;document.addEventListener(p,(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 i.apply(this,[e].concat(r))})),n))}}var Qe=n(6740),Ke=!1;function Ge(e){if(!Ke){var t=e.defaultView||e.parentWindow;try{Object.defineProperty(t,Qe.L,{set:function(e){"function"==typeof e&&e()},enumerable:!0,configurable:!0})}catch(e){}Ke=!0}}var Je=n(3532).default,$e="script[src]:not([async]):not([defer]):not([".concat(v.CT,"]):not([").concat(v.i7,"])"),Xe=function(){function e(){(0,w.Z)(this,e),this.scriptsBefore=void 0,this.scriptsBefore=Array.prototype.slice.call(document.querySelectorAll($e))}return(0,Z.Z)(e,[{key:"diff",value:function(){var e=this;return Array.prototype.slice.call(document.querySelectorAll($e)).filter((function(t){return-1===e.scriptsBefore.indexOf(t)})).map((function(e){return new Je((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 et(e,t){var n,r=t.previousElementSibling;return null!=r&&r.hasAttribute(v.Ks)?n=r:((n=document.createElement("div")).setAttribute(v.Ks,v.dW),t.parentElement.replaceChild(n,t)),(0,Qe.K)(e,{},n)}var tt=n(3532).default;function nt(e){var t=e.node,n=e.allowClickOverrides,r=e.onlyModifyAttributes,o=e.setVisualParentIfClassOfParent,i=e.overwriteAttributeValue;return new tt((function(e){var a,u=!1,f=t.tagName.toLowerCase(),b="script"===f,y=b&&!r?t.cloneNode(!0):t,h=(0,l.Z)(y.getAttributeNames());try{for(h.s();!(a=h.n()).done;){var g=a.value;if(g.startsWith(v.jb)&&g.endsWith(v.rG)){var m,k=g.substr(v.jb.length+1);k=k.slice(0,-1*(v.rG.length+1));var A="".concat(v.zm,"-").concat(k,"-").concat(v.rG),x=y.hasAttribute(A)&&n,C=y.getAttribute(x?A:g);x&&(u=!0),i&&(C=i(C,k)),y.setAttribute(k,C),y.removeAttribute(g),y.removeAttribute(A),n&&["a"].indexOf(f)>-1&&(["onclick"].indexOf(k.toLowerCase())>-1||null!==(m=t.getAttribute("href"))&&void 0!==m&&m.startsWith("#"))&&t.addEventListener(p,function(){var e=(0,s.Z)(d().mark((function e(n){var r;return d().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){h.e(e)}finally{h.f()}var w,Z=(0,l.Z)(y.getAttributeNames());try{for(Z.s();!(w=Z.n()).done;){var S=w.value;if(S.startsWith(v.zm)&&S.endsWith(v.rG)){var B=y.getAttribute(S),_=S.substr(v.zm.length+1);_=_.slice(0,-1*(v.rG.length+1)),n&&(y.setAttribute(_,B),u=!0),y.removeAttribute(S)}}}catch(e){Z.e(e)}finally{Z.f()}if(r)e({performedClick:!1});else{y.style.removeProperty("display");var E=We(t,o||{}),T=(0,c.Z)(E,1)[0];(T!==t||null!=T&&T.hasAttribute(v.YO))&&T.style.removeProperty("display");var L={performedClick:u};b?et(y.outerHTML,t).then((function(){return e(L)})):e(L)}}))}function rt(e){var t=e.parentElement===document.head,n=e.getAttribute(v.i7);e.removeAttribute(v.i7),e.style.removeProperty("display");var r=e.outerHTML.substr(v.v4.length+1);return r=(r=(r=r.substr(0,r.length-v.v4.length-3)).replace(new RegExp('type="application/consent"'),"")).replace(new RegExp("".concat(v.jb,"-type-").concat(v.rG,'="([^"]+)"')),'type="$1"'),r="<script".concat(r).concat(n,"<\/script>"),t?(0,Qe.K)(r,{}):et(r,e)}function ot(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 it=n(3532).default;function at(){return(at=(
|