Version Description
Download this release
Release Info
Developer | devowl |
Plugin | Real Cookie Banner: GDPR (DSGVO) & ePrivacy Cookie Consent |
Version | 3.0.2 |
Comparing to | |
See all releases |
Code changes from version 3.0.1 to 3.0.2
- CHANGELOG.md +37 -0
- README.txt +1 -1
- inc/Core.php +7 -1
- inc/base/others/cachebuster-lib.php +1 -1
- inc/base/others/cachebuster.php +13 -13
- inc/presets/free/blocker/YoutubePreset.php +6 -2
- inc/presets/pro/blocker/FacebookPagePluginPreset.php +24 -1
- inc/presets/pro/blocker/FacebookPostPreset.php +2 -0
- inc/presets/pro/blocker/GoogleMapsPreset.php +9 -1
- inc/presets/pro/blocker/VimeoPreset.php +6 -2
- inc/scanner/Scanner.php +4 -1
- inc/settings/Consent.php +34 -0
- inc/settings/Revision.php +23 -4
- inc/view/Banner.php +3 -2
- inc/view/BannerCustomize.php +1 -1
- inc/view/Blocker.php +19 -6
- inc/view/blockable/BlockerPostType.php +4 -1
- inc/view/blocker/Plugin.php +35 -2
- index.php +1 -1
- public/dist/admin.lite.js +1 -1
- public/dist/admin.lite.js.map +1 -1
CHANGELOG.md
CHANGED
@@ -3,6 +3,43 @@
|
|
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 |
## 3.0.1 (2022-07-06)
|
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 |
+
## 3.0.2 (2022-08-09)
|
7 |
+
|
8 |
+
|
9 |
+
### chore
|
10 |
+
|
11 |
+
* add more security hashes for disabled footer (CU-232h7c4)
|
12 |
+
* compatibility for Themovation Google Maps embeds (CU-2ufxfgv)
|
13 |
+
|
14 |
+
|
15 |
+
### fix
|
16 |
+
|
17 |
+
* block content in FacetWP facets html (CU-2r5967v)
|
18 |
+
* compatibility with Borderland theme and Google Maps embed (CU-2pc4umm)
|
19 |
+
* compatibility with CMSMasters plugins and jQuery gMap plugin (CU-2tdff1g)
|
20 |
+
* compatibility with Elementor lightbox links and Vimeo and YouTube content blocker (CU-2uvazkm)
|
21 |
+
* compatibility with Elementor popup content and content blocker (CU-2uvazkm)
|
22 |
+
* compatibility with FacetWP inline scripts which hold blocked data (CU-2r5967v)
|
23 |
+
* compatibility with PremiumAddons for Elementor OffCanvas menu (CU-38kmfgj)
|
24 |
+
* compatibility with Ultimate Blocks accordion and visual content blockers (CU-2r5ej7e)
|
25 |
+
* compatibility with vanilla-lazyload used by WP Rocket Lazy Load plugin (CU-2pc568x)
|
26 |
+
* compatibility with YouTube and Vimeo videos in Avada lightbox (CU-2ufpd83)
|
27 |
+
* compatibility with YouTube content blocker and jetpack embed
|
28 |
+
* connect.facebook.com was found as external URL in scanner when using facebook page plugin (CU-2tdfh2z)
|
29 |
+
* disable content blocker for rendered AMP pages (CU-2uvazv6)
|
30 |
+
* introduce cookie name version and allow new installations using the cookie path in cookie name (CU-2rb441c)
|
31 |
+
* powered by link is print on the bottom page instead of in cookie banner (CU-2phzbpj)
|
32 |
+
* using custom WP_CONTENT_DIR for wp-content/plugins and wp-content/themes blocker rules (CU-2rb3arg)
|
33 |
+
|
34 |
+
|
35 |
+
### style
|
36 |
+
|
37 |
+
* cookie banner hidden behind header when positioned on top in Divi theme (CU-2r5evnq)
|
38 |
+
|
39 |
+
|
40 |
+
|
41 |
+
|
42 |
+
|
43 |
## 3.0.1 (2022-07-06)
|
44 |
|
45 |
|
README.txt
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
=== Real Cookie Banner: GDPR (DSGVO) & ePrivacy Cookie Consent ===
|
2 |
Contributors: devowl, mguenter, jankarres, mrguenter
|
3 |
Tags: cookie banner, cookie consent, cookie plugin, cookie scanner, gdpr, dsgvo, eprivacy, eu cookie law, cookie policy, cookie, consent, consent management
|
4 |
-
Stable tag: 3.0.
|
5 |
Requires at least: 5.2
|
6 |
Requires PHP: 7.2.0
|
7 |
Tested up to: 6.0
|
1 |
=== Real Cookie Banner: GDPR (DSGVO) & ePrivacy Cookie Consent ===
|
2 |
Contributors: devowl, mguenter, jankarres, mrguenter
|
3 |
Tags: cookie banner, cookie consent, cookie plugin, cookie scanner, gdpr, dsgvo, eprivacy, eu cookie law, cookie policy, cookie, consent, consent management
|
4 |
+
Stable tag: 3.0.2
|
5 |
Requires at least: 5.2
|
6 |
Requires PHP: 7.2.0
|
7 |
Tested up to: 6.0
|
inc/Core.php
CHANGED
@@ -310,6 +310,10 @@ class Core extends \DevOwl\RealCookieBanner\base\Core implements
|
|
310 |
\DevOwl\RealCookieBanner\settings\Consent::class,
|
311 |
'new_version_installation_after_2_17_3'
|
312 |
]);
|
|
|
|
|
|
|
|
|
313 |
add_filter('RCB/Blocker/Enabled', [$this->getScanner(), 'force_blocker_enabled']);
|
314 |
add_filter('customize_save_response', [$this, 'customize_save_response'], 10, 1);
|
315 |
add_filter('option_' . \DevOwl\RealCookieBanner\settings\Consent::SETTING_COOKIE_DURATION, [
|
@@ -337,6 +341,8 @@ class Core extends \DevOwl\RealCookieBanner\base\Core implements
|
|
337 |
// Compatibility hooks (Blocker)
|
338 |
add_filter('rocket_buffer', [$this->getBlocker(), 'replace'], 1);
|
339 |
// WP Rocket Lazy loading compatibility
|
|
|
|
|
340 |
add_filter('wp_grid_builder/async/render_response', [$this->getBlocker(), 'replace']);
|
341 |
// WP Grid builder refresh ajax action
|
342 |
add_filter('autoptimize_filter_html_before_minify', [$this->getBlocker(), 'replace']);
|
@@ -671,7 +677,7 @@ class Core extends \DevOwl\RealCookieBanner\base\Core implements
|
|
671 |
$scanner->bypassWebsiteBlockers();
|
672 |
add_action('shutdown', [$scanner, 'teardown']);
|
673 |
add_filter('show_admin_bar', '__return_false');
|
674 |
-
add_filter('RCB/Blocker/ResolveBlockables', [$scanner, 'resolve_blockables'], 50);
|
675 |
}
|
676 |
// Allow to reset all available data and recreated
|
677 |
if (isset($_GET['rcb-reset-all']) && current_user_can('activate_plugins')) {
|
310 |
\DevOwl\RealCookieBanner\settings\Consent::class,
|
311 |
'new_version_installation_after_2_17_3'
|
312 |
]);
|
313 |
+
add_action('DevOwl/Utils/NewVersionInstallation/' . RCB_SLUG, [
|
314 |
+
\DevOwl\RealCookieBanner\settings\Consent::class,
|
315 |
+
'new_version_installation_after_3_0_1'
|
316 |
+
]);
|
317 |
add_filter('RCB/Blocker/Enabled', [$this->getScanner(), 'force_blocker_enabled']);
|
318 |
add_filter('customize_save_response', [$this, 'customize_save_response'], 10, 1);
|
319 |
add_filter('option_' . \DevOwl\RealCookieBanner\settings\Consent::SETTING_COOKIE_DURATION, [
|
341 |
// Compatibility hooks (Blocker)
|
342 |
add_filter('rocket_buffer', [$this->getBlocker(), 'replace'], 1);
|
343 |
// WP Rocket Lazy loading compatibility
|
344 |
+
add_filter('facetwp_facet_html', [$this->getBlocker(), 'replace']);
|
345 |
+
// Facet WP facets
|
346 |
add_filter('wp_grid_builder/async/render_response', [$this->getBlocker(), 'replace']);
|
347 |
// WP Grid builder refresh ajax action
|
348 |
add_filter('autoptimize_filter_html_before_minify', [$this->getBlocker(), 'replace']);
|
677 |
$scanner->bypassWebsiteBlockers();
|
678 |
add_action('shutdown', [$scanner, 'teardown']);
|
679 |
add_filter('show_admin_bar', '__return_false');
|
680 |
+
add_filter('RCB/Blocker/ResolveBlockables', [$scanner, 'resolve_blockables'], 50, 2);
|
681 |
}
|
682 |
// Allow to reset all available data and recreated
|
683 |
if (isset($_GET['rcb-reset-all']) && current_user_can('activate_plugins')) {
|
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 (Tue Aug 09 2022 06:34:43 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/13.pro.js' => '6866a22bfe639345873e9415ddeca7f4',
|
5 |
'src/public/dist/18.lite.js' => 'ac7161e6dcd33daecfd4f83e56b0cf00',
|
@@ -33,18 +33,18 @@ return [
|
|
33 |
'src/public/dist/954.pro.js' => 'faf328b7bd41817fcb3693740adbc496',
|
34 |
'src/public/dist/995.lite.js' => '4f9f4bd3e0ad7939ef90bc7e049d0ede',
|
35 |
'src/public/dist/995.pro.js' => 'dbe57fe203f1b050ddb42490c9589efa',
|
36 |
-
'src/public/dist/admin.lite.js' => '
|
37 |
-
'src/public/dist/admin.pro.js' => '
|
38 |
-
'src/public/dist/banner_tcf.pro.js' => '
|
39 |
-
'src/public/dist/banner.lite.js' => '
|
40 |
-
'src/public/dist/banner.pro.js' => '
|
41 |
-
'src/public/dist/blocker_tcf.pro.js' => '
|
42 |
-
'src/public/dist/blocker.lite.js' => '
|
43 |
-
'src/public/dist/blocker.pro.js' => '
|
44 |
'src/public/dist/chunk-config-tab-blocker.lite.js' => '5cb105a818b285e48a57b59bc61ab5fa',
|
45 |
'src/public/dist/chunk-config-tab-blocker.pro.js' => '8b792453095e244c7dc64721c2f3ad0b',
|
46 |
-
'src/public/dist/chunk-config-tab-consent.lite.js' => '
|
47 |
-
'src/public/dist/chunk-config-tab-consent.pro.js' => '
|
48 |
'src/public/dist/chunk-config-tab-cookies.lite.js' => 'bb2781128dcd96923011cc45cf44a87b',
|
49 |
'src/public/dist/chunk-config-tab-cookies.pro.js' => '987209b0473b106357bfe1cbab4f6310',
|
50 |
'src/public/dist/chunk-config-tab-dashboard.lite.js' => '470e5e758f452c37d430d813b53fcd0e',
|
@@ -59,8 +59,8 @@ return [
|
|
59 |
'src/public/dist/chunk-config-tab-settings.pro.js' => '0727d7ef8d5f8fc66869d3fb39062a46',
|
60 |
'src/public/dist/chunk-config-tab-tcf.lite.js' => '0adcbf2f3ea0f9ab7ebc49bbdd415813',
|
61 |
'src/public/dist/chunk-config-tab-tcf.pro.js' => '7e87bb493095bd8024163e00e140e746',
|
62 |
-
'src/public/dist/customize_banner.lite.js' => '
|
63 |
-
'src/public/dist/customize_banner.pro.js' => '
|
64 |
'src/public/dist/customize.lite.js' => '74eea56813259c0dec291e20466fe0bc',
|
65 |
'src/public/dist/customize.pro.js' => 'b873769232874d709740555ca1fad624',
|
66 |
'src/public/dist/queue.lite.js' => '7b9c552c5049e1b529155a7c01b25aef',
|
1 |
<?php
|
2 |
+
/* This file was automatically generated (Tue Aug 09 2022 06:34:43 GMT+0000 (Coordinated Universal Time)). */
|
3 |
return [
|
4 |
'src/public/dist/13.pro.js' => '6866a22bfe639345873e9415ddeca7f4',
|
5 |
'src/public/dist/18.lite.js' => 'ac7161e6dcd33daecfd4f83e56b0cf00',
|
33 |
'src/public/dist/954.pro.js' => 'faf328b7bd41817fcb3693740adbc496',
|
34 |
'src/public/dist/995.lite.js' => '4f9f4bd3e0ad7939ef90bc7e049d0ede',
|
35 |
'src/public/dist/995.pro.js' => 'dbe57fe203f1b050ddb42490c9589efa',
|
36 |
+
'src/public/dist/admin.lite.js' => '6d1c30718dc366db25133474c3a6f715',
|
37 |
+
'src/public/dist/admin.pro.js' => 'd744975972e431f6cee9ea46d5a728f2',
|
38 |
+
'src/public/dist/banner_tcf.pro.js' => '68542585d6e08bcf1a3b5cc6808cb61f',
|
39 |
+
'src/public/dist/banner.lite.js' => '3f009fb569c4143fbb2edc8fecef0809',
|
40 |
+
'src/public/dist/banner.pro.js' => '49c0895f3600db23fa76bfe2680b3dd7',
|
41 |
+
'src/public/dist/blocker_tcf.pro.js' => '8173a3f996ba7276ed297f658d399998',
|
42 |
+
'src/public/dist/blocker.lite.js' => '79259568b286c15d417bcff9a8809ced',
|
43 |
+
'src/public/dist/blocker.pro.js' => '78c94f8de894a57cb97cf93014e4c8e2',
|
44 |
'src/public/dist/chunk-config-tab-blocker.lite.js' => '5cb105a818b285e48a57b59bc61ab5fa',
|
45 |
'src/public/dist/chunk-config-tab-blocker.pro.js' => '8b792453095e244c7dc64721c2f3ad0b',
|
46 |
+
'src/public/dist/chunk-config-tab-consent.lite.js' => '9b53881d8485d09338c25082b72c0689',
|
47 |
+
'src/public/dist/chunk-config-tab-consent.pro.js' => 'd3cbed227e9228f9984371ce7aadb044',
|
48 |
'src/public/dist/chunk-config-tab-cookies.lite.js' => 'bb2781128dcd96923011cc45cf44a87b',
|
49 |
'src/public/dist/chunk-config-tab-cookies.pro.js' => '987209b0473b106357bfe1cbab4f6310',
|
50 |
'src/public/dist/chunk-config-tab-dashboard.lite.js' => '470e5e758f452c37d430d813b53fcd0e',
|
59 |
'src/public/dist/chunk-config-tab-settings.pro.js' => '0727d7ef8d5f8fc66869d3fb39062a46',
|
60 |
'src/public/dist/chunk-config-tab-tcf.lite.js' => '0adcbf2f3ea0f9ab7ebc49bbdd415813',
|
61 |
'src/public/dist/chunk-config-tab-tcf.pro.js' => '7e87bb493095bd8024163e00e140e746',
|
62 |
+
'src/public/dist/customize_banner.lite.js' => '2000be1569727b4f301a373ea5fc6ae4',
|
63 |
+
'src/public/dist/customize_banner.pro.js' => 'f005c96ce8648c77daa205528c241947',
|
64 |
'src/public/dist/customize.lite.js' => '74eea56813259c0dec291e20466fe0bc',
|
65 |
'src/public/dist/customize.pro.js' => 'b873769232874d709740555ca1fad624',
|
66 |
'src/public/dist/queue.lite.js' => '7b9c552c5049e1b529155a7c01b25aef',
|
inc/presets/free/blocker/YoutubePreset.php
CHANGED
@@ -55,8 +55,12 @@ class YoutubePreset extends \DevOwl\RealCookieBanner\presets\AbstractBlockerPres
|
|
55 |
'div[class*="tcb-yt-bg"]',
|
56 |
// [Plugin Comp] https://wordpress.org/plugins/wp-video-lightbox/
|
57 |
'a[href*="youtube.com"][rel="wp-video-lightbox"]',
|
58 |
-
// https://github.com/paulirish/lite-youtube-embed
|
59 |
-
'lite-youtube[videoid]'
|
|
|
|
|
|
|
|
|
60 |
],
|
61 |
'cookies' => [\DevOwl\RealCookieBanner\presets\free\YoutubePreset::IDENTIFIER],
|
62 |
'visual' => \true,
|
55 |
'div[class*="tcb-yt-bg"]',
|
56 |
// [Plugin Comp] https://wordpress.org/plugins/wp-video-lightbox/
|
57 |
'a[href*="youtube.com"][rel="wp-video-lightbox"]',
|
58 |
+
// [Plugin Comp] https://github.com/paulirish/lite-youtube-embed
|
59 |
+
'lite-youtube[videoid]',
|
60 |
+
// [Plugin Comp] https://avada.theme-fusion.com/design-elements/lightbox-element/
|
61 |
+
'a[href*="youtube.com"][class*="awb-lightbox"]',
|
62 |
+
// [Plugin Comp] https://elementor.com/help/lightbox/
|
63 |
+
'div[data-elementor-lightbox*="youtube.com"]'
|
64 |
],
|
65 |
'cookies' => [\DevOwl\RealCookieBanner\presets\free\YoutubePreset::IDENTIFIER],
|
66 |
'visual' => \true,
|
inc/presets/pro/blocker/FacebookPagePluginPreset.php
CHANGED
@@ -5,6 +5,7 @@ namespace DevOwl\RealCookieBanner\presets\pro\blocker;
|
|
5 |
use DevOwl\RealCookieBanner\Core;
|
6 |
use DevOwl\RealCookieBanner\presets\pro\FacebookPagePluginPreset as PresetsFacebookPagePluginPreset;
|
7 |
use DevOwl\RealCookieBanner\presets\AbstractBlockerPreset;
|
|
|
8 |
// @codeCoverageIgnoreStart
|
9 |
\defined('ABSPATH') or die('No script kiddies please!');
|
10 |
// Avoid direct file request
|
@@ -22,7 +23,29 @@ class FacebookPagePluginPreset extends \DevOwl\RealCookieBanner\presets\Abstract
|
|
22 |
'id' => self::IDENTIFIER,
|
23 |
'version' => self::VERSION,
|
24 |
'name' => $name,
|
25 |
-
'attributes' => [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
'logoFile' => \DevOwl\RealCookieBanner\Core::getInstance()->getBaseAssetsUrl('logos/facebook.png')
|
27 |
];
|
28 |
}
|
5 |
use DevOwl\RealCookieBanner\Core;
|
6 |
use DevOwl\RealCookieBanner\presets\pro\FacebookPagePluginPreset as PresetsFacebookPagePluginPreset;
|
7 |
use DevOwl\RealCookieBanner\presets\AbstractBlockerPreset;
|
8 |
+
use DevOwl\RealCookieBanner\presets\middleware\BlockerHostsOptionsMiddleware;
|
9 |
// @codeCoverageIgnoreStart
|
10 |
\defined('ABSPATH') or die('No script kiddies please!');
|
11 |
// Avoid direct file request
|
23 |
'id' => self::IDENTIFIER,
|
24 |
'version' => self::VERSION,
|
25 |
'name' => $name,
|
26 |
+
'attributes' => [
|
27 |
+
'hosts' => \array_merge(
|
28 |
+
[
|
29 |
+
\DevOwl\RealCookieBanner\presets\middleware\BlockerHostsOptionsMiddleware::EXPRESSION =>
|
30 |
+
'*facebook.com/plugins/page.php*',
|
31 |
+
\DevOwl\RealCookieBanner\presets\middleware\BlockerHostsOptionsMiddleware::ASSIGNED_TO_GROUPS =>
|
32 |
+
\DevOwl\RealCookieBanner\presets\pro\blocker\FacebookPixelPreset::HOSTS_GROUP_SDK_FUNCTION_NAME
|
33 |
+
],
|
34 |
+
[
|
35 |
+
\DevOwl\RealCookieBanner\presets\middleware\BlockerHostsOptionsMiddleware::EXPRESSION =>
|
36 |
+
'*fbcdn.net*',
|
37 |
+
\DevOwl\RealCookieBanner\presets\middleware\BlockerHostsOptionsMiddleware::ASSIGNED_TO_GROUPS =>
|
38 |
+
\DevOwl\RealCookieBanner\presets\pro\blocker\FacebookPixelPreset::HOSTS_GROUP_SDK_FUNCTION_NAME
|
39 |
+
],
|
40 |
+
[
|
41 |
+
\DevOwl\RealCookieBanner\presets\middleware\BlockerHostsOptionsMiddleware::EXPRESSION =>
|
42 |
+
'div[class="fb-page"]',
|
43 |
+
\DevOwl\RealCookieBanner\presets\middleware\BlockerHostsOptionsMiddleware::ASSIGNED_TO_GROUPS =>
|
44 |
+
\DevOwl\RealCookieBanner\presets\pro\blocker\FacebookPixelPreset::HOSTS_GROUP_SDK_FUNCTION_NAME
|
45 |
+
],
|
46 |
+
\DevOwl\RealCookieBanner\presets\pro\blocker\FacebookPixelPreset::HOSTS_GROUP_SDK_SCRIPT
|
47 |
+
)
|
48 |
+
],
|
49 |
'logoFile' => \DevOwl\RealCookieBanner\Core::getInstance()->getBaseAssetsUrl('logos/facebook.png')
|
50 |
];
|
51 |
}
|
inc/presets/pro/blocker/FacebookPostPreset.php
CHANGED
@@ -26,6 +26,8 @@ class FacebookPostPreset extends \DevOwl\RealCookieBanner\presets\AbstractBlocke
|
|
26 |
'description' => __('includes videos', RCB_TD),
|
27 |
'attributes' => [
|
28 |
'hosts' => \array_merge(
|
|
|
|
|
29 |
[
|
30 |
[
|
31 |
\DevOwl\RealCookieBanner\presets\middleware\BlockerHostsOptionsMiddleware::EXPRESSION =>
|
26 |
'description' => __('includes videos', RCB_TD),
|
27 |
'attributes' => [
|
28 |
'hosts' => \array_merge(
|
29 |
+
// [Plugin Comp] Jetpack Facebook Embed
|
30 |
+
['*/wp-content/plugins/jetpack/_inc/build/facebook-embed*'],
|
31 |
[
|
32 |
[
|
33 |
\DevOwl\RealCookieBanner\presets\middleware\BlockerHostsOptionsMiddleware::EXPRESSION =>
|
inc/presets/pro/blocker/GoogleMapsPreset.php
CHANGED
@@ -122,7 +122,15 @@ class GoogleMapsPreset extends \DevOwl\RealCookieBanner\presets\AbstractBlockerP
|
|
122 |
'*/wp-content/plugins/jet-engine/assets/js/frontend-maps*',
|
123 |
// [Plugin Comp] https://facetwp.com/help-center/facets/facet-types/map/
|
124 |
'*/wp-content/plugins/facetwp-map-facet/assets/js/*',
|
125 |
-
'div[class*="facetwp-type-map"]'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
126 |
]
|
127 |
],
|
128 |
'logoFile' => \DevOwl\RealCookieBanner\Core::getInstance()->getBaseAssetsUrl('logos/google-maps.png')
|
122 |
'*/wp-content/plugins/jet-engine/assets/js/frontend-maps*',
|
123 |
// [Plugin Comp] https://facetwp.com/help-center/facets/facet-types/map/
|
124 |
'*/wp-content/plugins/facetwp-map-facet/assets/js/*',
|
125 |
+
'div[class*="facetwp-type-map"]',
|
126 |
+
// [Plugin Comp] https://themeforest.net/item/borderland-a-daring-multiconcept-theme/10939025
|
127 |
+
'div[class*="eltd_google_map"]',
|
128 |
+
// [Plugin Comp] https://themeforest.net/item/attornix-lawyer-wordpress-theme/24032543
|
129 |
+
'div[class*="cmsmasters_google_map"]',
|
130 |
+
// [Plugin Comp] https://github.com/themovation/th-widget-pack
|
131 |
+
'*wp-content/plugins/th-widget-pack/js/themo-google-maps.js*',
|
132 |
+
'div[class*="th-gmap-wrap"]',
|
133 |
+
'div[class*="th-map"]'
|
134 |
]
|
135 |
],
|
136 |
'logoFile' => \DevOwl\RealCookieBanner\Core::getInstance()->getBaseAssetsUrl('logos/google-maps.png')
|
inc/presets/pro/blocker/VimeoPreset.php
CHANGED
@@ -35,8 +35,12 @@ class VimeoPreset extends \DevOwl\RealCookieBanner\presets\AbstractBlockerPreset
|
|
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 |
-
// https://github.com/luwes/lite-vimeo-embed
|
39 |
-
'lite-vimeo[videoid]'
|
|
|
|
|
|
|
|
|
40 |
]
|
41 |
],
|
42 |
'logoFile' => \DevOwl\RealCookieBanner\Core::getInstance()->getBaseAssetsUrl('logos/vimeo.png')
|
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 |
+
// [Plugin Comp] https://github.com/luwes/lite-vimeo-embed
|
39 |
+
'lite-vimeo[videoid]',
|
40 |
+
// [Plugin Comp] https://avada.theme-fusion.com/design-elements/lightbox-element/
|
41 |
+
'a[href*="vimeo.com"][class*="awb-lightbox"]',
|
42 |
+
// [Plugin Comp] https://elementor.com/help/lightbox/
|
43 |
+
'div[data-elementor-lightbox*="vimeo.com"]'
|
44 |
]
|
45 |
],
|
46 |
'logoFile' => \DevOwl\RealCookieBanner\Core::getInstance()->getBaseAssetsUrl('logos/vimeo.png')
|
inc/scanner/Scanner.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
namespace DevOwl\RealCookieBanner\scanner;
|
4 |
|
5 |
use DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\AbstractBlockable;
|
|
|
6 |
use DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\plugins\scanner\BlockableScanner;
|
7 |
use DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\plugins\scanner\ScannableBlockable;
|
8 |
use DevOwl\RealCookieBanner\base\UtilsProvider;
|
@@ -270,8 +271,9 @@ class Scanner {
|
|
270 |
* Add all known and non-disabled content blocker presets.
|
271 |
*
|
272 |
* @param AbstractBlockable[] $blockables
|
|
|
273 |
*/
|
274 |
-
public function resolve_blockables($blockables) {
|
275 |
// Remove all known blockables because we want to show all found services (and label them with "Already created")
|
276 |
foreach ($blockables as $key => $blockable) {
|
277 |
if ($blockable instanceof \DevOwl\RealCookieBanner\view\blockable\BlockerPostType) {
|
@@ -284,6 +286,7 @@ class Scanner {
|
|
284 |
continue;
|
285 |
}
|
286 |
$blockables[] = new \DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\plugins\scanner\ScannableBlockable(
|
|
|
287 |
$preset['identifier'],
|
288 |
$preset['extended'] ?? null,
|
289 |
$preset['scanOptions'] ?? []
|
3 |
namespace DevOwl\RealCookieBanner\scanner;
|
4 |
|
5 |
use DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\AbstractBlockable;
|
6 |
+
use DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\HeadlessContentBlocker;
|
7 |
use DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\plugins\scanner\BlockableScanner;
|
8 |
use DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\plugins\scanner\ScannableBlockable;
|
9 |
use DevOwl\RealCookieBanner\base\UtilsProvider;
|
271 |
* Add all known and non-disabled content blocker presets.
|
272 |
*
|
273 |
* @param AbstractBlockable[] $blockables
|
274 |
+
* @param HeadlessContentBlocker $headlessContentBlocker
|
275 |
*/
|
276 |
+
public function resolve_blockables($blockables, $headlessContentBlocker) {
|
277 |
// Remove all known blockables because we want to show all found services (and label them with "Already created")
|
278 |
foreach ($blockables as $key => $blockable) {
|
279 |
if ($blockable instanceof \DevOwl\RealCookieBanner\view\blockable\BlockerPostType) {
|
286 |
continue;
|
287 |
}
|
288 |
$blockables[] = new \DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\plugins\scanner\ScannableBlockable(
|
289 |
+
$headlessContentBlocker,
|
290 |
$preset['identifier'],
|
291 |
$preset['extended'] ?? null,
|
292 |
$preset['scanOptions'] ?? []
|
inc/settings/Consent.php
CHANGED
@@ -20,6 +20,7 @@ class Consent implements \DevOwl\RealCookieBanner\overrides\interfce\settings\IO
|
|
20 |
const SETTING_ACCEPT_ALL_FOR_BOTS = RCB_OPT_PREFIX . '-accept-all-for-bots';
|
21 |
const SETTING_RESPECT_DO_NOT_TRACK = RCB_OPT_PREFIX . '-respect-do-not-track';
|
22 |
const SETTING_COOKIE_DURATION = RCB_OPT_PREFIX . '-cookie-duration';
|
|
|
23 |
const SETTING_SAVE_IP = RCB_OPT_PREFIX . '-save-ip';
|
24 |
const SETTING_EPRIVACY_USA = RCB_OPT_PREFIX . '-eprivacy-usa';
|
25 |
const SETTING_AGE_NOTICE = RCB_OPT_PREFIX . '-age-notice';
|
@@ -31,6 +32,12 @@ class Consent implements \DevOwl\RealCookieBanner\overrides\interfce\settings\IO
|
|
31 |
const DEFAULT_EPRIVACY_USA = \false;
|
32 |
const DEFAULT_AGE_NOTICE = \true;
|
33 |
const DEFAULT_LIST_SERVICES_NOTICE = \true;
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
/**
|
35 |
* Singleton instance.
|
36 |
*
|
@@ -62,6 +69,11 @@ class Consent implements \DevOwl\RealCookieBanner\overrides\interfce\settings\IO
|
|
62 |
self::DEFAULT_COOKIE_DURATION,
|
63 |
'intval'
|
64 |
);
|
|
|
|
|
|
|
|
|
|
|
65 |
\DevOwl\RealCookieBanner\settings\General::enableOptionAutoload(
|
66 |
self::SETTING_SAVE_IP,
|
67 |
self::DEFAULT_SAVE_IP,
|
@@ -95,6 +107,10 @@ class Consent implements \DevOwl\RealCookieBanner\overrides\interfce\settings\IO
|
|
95 |
'type' => 'number',
|
96 |
'show_in_rest' => \true
|
97 |
]);
|
|
|
|
|
|
|
|
|
98 |
register_setting(self::OPTION_GROUP, self::SETTING_SAVE_IP, ['type' => 'boolean', 'show_in_rest' => \true]);
|
99 |
register_setting(self::OPTION_GROUP, self::SETTING_AGE_NOTICE, ['type' => 'boolean', 'show_in_rest' => \true]);
|
100 |
register_setting(self::OPTION_GROUP, self::SETTING_LIST_SERVICES_NOTICE, [
|
@@ -151,6 +167,14 @@ class Consent implements \DevOwl\RealCookieBanner\overrides\interfce\settings\IO
|
|
151 |
public function getCookieDuration() {
|
152 |
return get_option(self::SETTING_COOKIE_DURATION);
|
153 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
154 |
/**
|
155 |
* The cookie duration may not be greater than 365 days.
|
156 |
*
|
@@ -182,4 +206,14 @@ class Consent implements \DevOwl\RealCookieBanner\overrides\interfce\settings\IO
|
|
182 |
update_option(self::SETTING_LIST_SERVICES_NOTICE, '');
|
183 |
}
|
184 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
185 |
}
|
20 |
const SETTING_ACCEPT_ALL_FOR_BOTS = RCB_OPT_PREFIX . '-accept-all-for-bots';
|
21 |
const SETTING_RESPECT_DO_NOT_TRACK = RCB_OPT_PREFIX . '-respect-do-not-track';
|
22 |
const SETTING_COOKIE_DURATION = RCB_OPT_PREFIX . '-cookie-duration';
|
23 |
+
const SETTING_COOKIE_VERSION = RCB_OPT_PREFIX . '-cookie-version';
|
24 |
const SETTING_SAVE_IP = RCB_OPT_PREFIX . '-save-ip';
|
25 |
const SETTING_EPRIVACY_USA = RCB_OPT_PREFIX . '-eprivacy-usa';
|
26 |
const SETTING_AGE_NOTICE = RCB_OPT_PREFIX . '-age-notice';
|
32 |
const DEFAULT_EPRIVACY_USA = \false;
|
33 |
const DEFAULT_AGE_NOTICE = \true;
|
34 |
const DEFAULT_LIST_SERVICES_NOTICE = \true;
|
35 |
+
/**
|
36 |
+
* Search the coding for difference.
|
37 |
+
*/
|
38 |
+
const COOKIE_VERSION_1 = 1;
|
39 |
+
const COOKIE_VERSION_2 = 2;
|
40 |
+
const DEFAULT_COOKIE_VERSION = self::COOKIE_VERSION_2;
|
41 |
/**
|
42 |
* Singleton instance.
|
43 |
*
|
69 |
self::DEFAULT_COOKIE_DURATION,
|
70 |
'intval'
|
71 |
);
|
72 |
+
\DevOwl\RealCookieBanner\settings\General::enableOptionAutoload(
|
73 |
+
self::SETTING_COOKIE_VERSION,
|
74 |
+
self::DEFAULT_COOKIE_VERSION,
|
75 |
+
'intval'
|
76 |
+
);
|
77 |
\DevOwl\RealCookieBanner\settings\General::enableOptionAutoload(
|
78 |
self::SETTING_SAVE_IP,
|
79 |
self::DEFAULT_SAVE_IP,
|
107 |
'type' => 'number',
|
108 |
'show_in_rest' => \true
|
109 |
]);
|
110 |
+
register_setting(self::OPTION_GROUP, self::SETTING_COOKIE_VERSION, [
|
111 |
+
'type' => 'number',
|
112 |
+
'show_in_rest' => \true
|
113 |
+
]);
|
114 |
register_setting(self::OPTION_GROUP, self::SETTING_SAVE_IP, ['type' => 'boolean', 'show_in_rest' => \true]);
|
115 |
register_setting(self::OPTION_GROUP, self::SETTING_AGE_NOTICE, ['type' => 'boolean', 'show_in_rest' => \true]);
|
116 |
register_setting(self::OPTION_GROUP, self::SETTING_LIST_SERVICES_NOTICE, [
|
167 |
public function getCookieDuration() {
|
168 |
return get_option(self::SETTING_COOKIE_DURATION);
|
169 |
}
|
170 |
+
/**
|
171 |
+
* Get the cookie version for the consent cookies.
|
172 |
+
*
|
173 |
+
* @return int
|
174 |
+
*/
|
175 |
+
public function getCookieVersion() {
|
176 |
+
return get_option(self::SETTING_COOKIE_VERSION);
|
177 |
+
}
|
178 |
/**
|
179 |
* The cookie duration may not be greater than 365 days.
|
180 |
*
|
206 |
update_option(self::SETTING_LIST_SERVICES_NOTICE, '');
|
207 |
}
|
208 |
}
|
209 |
+
/**
|
210 |
+
* Revert to cookie version 1 for users already using RCB.
|
211 |
+
*
|
212 |
+
* @param string|false $installed
|
213 |
+
*/
|
214 |
+
public static function new_version_installation_after_3_0_1($installed) {
|
215 |
+
if (\DevOwl\RealCookieBanner\Core::versionCompareOlderThan($installed, '3.0.1', ['3.0.2', '3.1.0'])) {
|
216 |
+
update_option(self::SETTING_COOKIE_VERSION, self::COOKIE_VERSION_1);
|
217 |
+
}
|
218 |
+
}
|
219 |
}
|
inc/settings/Revision.php
CHANGED
@@ -6,6 +6,7 @@ use DevOwl\RealCookieBanner\base\UtilsProvider;
|
|
6 |
use DevOwl\RealCookieBanner\Core;
|
7 |
use DevOwl\RealCookieBanner\lite\settings\TcfVendorConfiguration;
|
8 |
use DevOwl\RealCookieBanner\UserConsent;
|
|
|
9 |
use ReflectionClass;
|
10 |
// @codeCoverageIgnoreStart
|
11 |
\defined('ABSPATH') or die('No script kiddies please!');
|
@@ -72,6 +73,13 @@ class Revision {
|
|
72 |
public function create($persist = \false, $forceNewConsent = \true) {
|
73 |
global $wpdb;
|
74 |
$currentHashOptionName = $this->getCurrentHashOptionName();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
75 |
// Create hashable revision
|
76 |
$revision = \array_merge(
|
77 |
[
|
@@ -332,6 +340,20 @@ class Revision {
|
|
332 |
*/
|
333 |
public function getContextVariables($implicit = \false) {
|
334 |
if ($implicit) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
335 |
/**
|
336 |
* Get implicit context relevant options like blog id. Implicit context variables are not populated
|
337 |
* to the context, nor to the revision. Use this only if you want to modify the cookie name!
|
@@ -343,10 +365,7 @@ class Revision {
|
|
343 |
* @param {array} $context
|
344 |
* @return {array}
|
345 |
*/
|
346 |
-
return apply_filters('RCB/Revision/Context/Implicit',
|
347 |
-
// Add current blog ID to keep multisite intact (https://stackoverflow.com/q/4056306/5506547)
|
348 |
-
'blog' => get_current_blog_id()
|
349 |
-
]);
|
350 |
} else {
|
351 |
/**
|
352 |
* Get context relevant options like language code (WPML, PolyLang). If the language
|
6 |
use DevOwl\RealCookieBanner\Core;
|
7 |
use DevOwl\RealCookieBanner\lite\settings\TcfVendorConfiguration;
|
8 |
use DevOwl\RealCookieBanner\UserConsent;
|
9 |
+
use DevOwl\RealCookieBanner\Utils;
|
10 |
use ReflectionClass;
|
11 |
// @codeCoverageIgnoreStart
|
12 |
\defined('ABSPATH') or die('No script kiddies please!');
|
73 |
public function create($persist = \false, $forceNewConsent = \true) {
|
74 |
global $wpdb;
|
75 |
$currentHashOptionName = $this->getCurrentHashOptionName();
|
76 |
+
// Automatically update to the latest cookie version
|
77 |
+
if ($persist && $forceNewConsent) {
|
78 |
+
update_option(
|
79 |
+
\DevOwl\RealCookieBanner\settings\Consent::SETTING_COOKIE_VERSION,
|
80 |
+
\DevOwl\RealCookieBanner\settings\Consent::DEFAULT_COOKIE_VERSION
|
81 |
+
);
|
82 |
+
}
|
83 |
// Create hashable revision
|
84 |
$revision = \array_merge(
|
85 |
[
|
340 |
*/
|
341 |
public function getContextVariables($implicit = \false) {
|
342 |
if ($implicit) {
|
343 |
+
$cookieVersion = \DevOwl\RealCookieBanner\settings\Consent::getInstance()->getCookieVersion();
|
344 |
+
$context = [];
|
345 |
+
if ($cookieVersion > \DevOwl\RealCookieBanner\settings\Consent::COOKIE_VERSION_1) {
|
346 |
+
$context['v'] = $cookieVersion;
|
347 |
+
}
|
348 |
+
// Add current blog ID to keep multisite intact (https://stackoverflow.com/q/4056306/5506547)
|
349 |
+
$context['blog'] = get_current_blog_id();
|
350 |
+
// Include cookie domain and path in cookie name as `document.cookie` does not determine between pathes and this
|
351 |
+
// leads to issues with WordPress installations in main folder, subfolders and subdomains concurrently.
|
352 |
+
if ($cookieVersion > \DevOwl\RealCookieBanner\settings\Consent::COOKIE_VERSION_1) {
|
353 |
+
$cookieDomainAndPathIdentifier =
|
354 |
+
untrailingslashit(\DevOwl\RealCookieBanner\Utils::getOriginalHomeUrl()) . \constant('COOKIEPATH');
|
355 |
+
$context['path'] = \substr(\md5($cookieDomainAndPathIdentifier), 0, 7);
|
356 |
+
}
|
357 |
/**
|
358 |
* Get implicit context relevant options like blog id. Implicit context variables are not populated
|
359 |
* to the context, nor to the revision. Use this only if you want to modify the cookie name!
|
365 |
* @param {array} $context
|
366 |
* @return {array}
|
367 |
*/
|
368 |
+
return apply_filters('RCB/Revision/Context/Implicit', $context);
|
|
|
|
|
|
|
369 |
} else {
|
370 |
/**
|
371 |
* Get context relevant options like language code (WPML, PolyLang). If the language
|
inc/view/Banner.php
CHANGED
@@ -319,7 +319,7 @@ class Banner {
|
|
319 |
);
|
320 |
}
|
321 |
echo \sprintf(
|
322 |
-
'<div id="%s" class="%s" data-bg="%s" style="%s position:fixed;top:0;left:0;right:0;bottom:0;z-index:
|
323 |
\DevOwl\RealCookieBanner\Core::getInstance()->getPageRequestUuid4(),
|
324 |
$antiAdBlocker
|
325 |
? ''
|
@@ -352,8 +352,9 @@ class Banner {
|
|
352 |
);
|
353 |
$footerText = $compLanguage->translateArray([$poweredByTexts[$currentPoweredByText]])[0];
|
354 |
return \sprintf(
|
355 |
-
'<a href="%s" target="_blank" %s>%s</a>',
|
356 |
__('https://devowl.io/wordpress-real-cookie-banner/', RCB_TD),
|
|
|
357 |
$compLanguage->getSkipHTMLForTag(),
|
358 |
$footerText
|
359 |
);
|
319 |
);
|
320 |
}
|
321 |
echo \sprintf(
|
322 |
+
'<div id="%s" class="%s" data-bg="%s" style="%s position:fixed;top:0;left:0;right:0;bottom:0;z-index:999999;pointer-events:%s;display:none;filter:none;max-height:100vh;" %s></div>%s',
|
323 |
\DevOwl\RealCookieBanner\Core::getInstance()->getPageRequestUuid4(),
|
324 |
$antiAdBlocker
|
325 |
? ''
|
352 |
);
|
353 |
$footerText = $compLanguage->translateArray([$poweredByTexts[$currentPoweredByText]])[0];
|
354 |
return \sprintf(
|
355 |
+
'<a href="%s" target="_blank" id="%s-powered-by" %s>%s</a>',
|
356 |
__('https://devowl.io/wordpress-real-cookie-banner/', RCB_TD),
|
357 |
+
\DevOwl\RealCookieBanner\Core::getInstance()->getPageRequestUuid4(),
|
358 |
$compLanguage->getSkipHTMLForTag(),
|
359 |
$footerText
|
360 |
);
|
inc/view/BannerCustomize.php
CHANGED
@@ -270,7 +270,7 @@ class BannerCustomize extends \DevOwl\RealCookieBanner\Vendor\DevOwl\Customize\A
|
|
270 |
\in_array(
|
271 |
\substr(\hash('sha256', 'LAQ%&^dwUCbHX1fI$89EeFlCxZ8tYXLA' . $host), 0, 13),
|
272 |
// prettier-ignore
|
273 |
-
['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'],
|
274 |
\true
|
275 |
)
|
276 |
) {
|
270 |
\in_array(
|
271 |
\substr(\hash('sha256', 'LAQ%&^dwUCbHX1fI$89EeFlCxZ8tYXLA' . $host), 0, 13),
|
272 |
// prettier-ignore
|
273 |
+
['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', '1c10512471907', '0764b2b32a946', '5101890a1c391', '01e63c6ac5cd3', '661381294bad0', '87bba2161dc70', 'bd1734bfe8aa6', 'a4eff392ee018', 'ecdc8a1dee80d', '664e41334d03a', '4fa885654503c', 'b4e23fe479a13', '6b49fff8b71e9', '07a05dcdf430e', '41dd683475616', 'b22a22c358e1e', 'e7fe88c1c3db2', 'd40dd9d8e71f1', '341da80b7b997', 'c60eaa52e1153', '6b4463c87019e', '0b3ff60dc92ec', '348300fd09e23', '18ec63850d50c', '3382477879d0d', '97f4be423e3b9', '04afd808a47c1', '2442322448be3', 'b8cf2aa69062f', 'e8b93991c646e', '479d01a3f4281', '4e346a15c6488', '2bfd75c146359', '14e4661173514', 'a44187e9cd3c1', 'b93b72221df8e', 'b3fccbc9877cf', 'bc30a25c1279c', '79dbdaea747d2', 'f5d3c8dacae34', '23affd3dc299b', '8fe4360b4c8f8', '37a01665bc515', '96987682d1725', 'f1b21c8366299', '3f48e49c6a38b', 'ba6b4e92034dd', 'f36d5b97ab73e', '1331907ede921', '8740df7c4cbd1', '0d852bd3a2dca', '4be60624bcc1c', 'f08fd4929e616', 'c5a2c54658b00', '88b296f4ddc27', '3510d6d13246d', 'e6920407cdc4e', 'be441a94500a0', '27f0e0f6517d3', 'e4ec644d32590', '5b857b1409a04', '88dab3be491a5', '657c90053a91e', 'a516065851172', 'f44a3eda37334', 'e7270780e6074', '34c50c0fa86da', 'cfed499e65719', 'cb92e4ad1848d', '484b7eb3091a6', 'e6810413c8888', '2705f41ac5316', '009bca98d482b', 'ce37372f45563', '205fc74886e22', 'cab52aa3a5c0d', '444884c913db7', '6a366bb12b35c', '0ac8ed7bd0eee', '259fcb23c1948', '6355556c57866', '1eb3f3f3acc1a', 'a3492b9f6af33', '19b0676f14b04', 'b5606f34bbea3', '2ef47b7dc186c', '6b5d06f23c13e', '832744b828880', '14996ea0c3aed', 'f38d89db6652a', '650d09878d5ac', 'fe35a67becb71', '717bc7ae14b0d', 'a488e5a41b260', '20d85736ff343', '4590cfe73c5f7', '3b640af2fbb15', '5c33cb55b8a45', '263b0d012b420', 'dee72cf60487f', 'f85cf70707091', '42ba6a1ad1b93', '39e1f3e47ade5', '24e47a4c23c55', 'b3809ead9be5c', 'e52bf22566e63', '54692f73f61f2', '0a090233a495f', 'f9ab2894f3603', '02cfd40881848', 'f96fd9bbf3008', 'f8d18dabdc349', 'a1ebb27d45509', '124d3b0d70804', '2010fcdb69795', 'fd042f4d4f4c8', '07fd6c2eb349d', 'b54e21bf465ff', 'c93865dc8ceff', '971190b5d0084', 'e9d03cfaea3d6', '6c1399401ec82', 'c5c34d1b986cf', '406442a11fc5a', 'cc043b51e1e8f', '0b73c007d5d58', 'f1fea1a25bd2a', 'db4f8665536e5', 'ac480fd12dc7f', 'acb7309a0318f', 'e6213b744f001', 'c18be36b71346', 'a3d553193fe72', '56f0228c9eacc', '1a202b7765f97', '2441c26ff87f9', '9cbcd9ec9d853', '355a797ca688c', 'bde5d6a13acf4', '413d9f2dfe93c', 'ece0f89417f47', '3c3709e07be2f', 'fe2ee6ed79bce', 'ba1a1df441937', 'f2a75c3fd2111', '30cbe1a547eac', 'd0607cef22daa', '2653df49ac267'],
|
274 |
\true
|
275 |
)
|
276 |
) {
|
inc/view/Blocker.php
CHANGED
@@ -52,7 +52,9 @@ class Blocker {
|
|
52 |
// [Plugin Comp] Popup Maker
|
53 |
'.pum-overlay',
|
54 |
// [Plugin Comp] Elementor Pro Popups
|
55 |
-
'[data-elementor-type="popup"]'
|
|
|
|
|
56 |
];
|
57 |
const OB_START_PLUGINS_LOADED_PRIORITY = (\PHP_INT_MAX - 1) * -1;
|
58 |
/**
|
@@ -106,7 +108,7 @@ class Blocker {
|
|
106 |
);
|
107 |
$scanner->excludeHostByUrl(home_url());
|
108 |
}
|
109 |
-
$headlessContentBlocker->addBlockables($this->createBlockables());
|
110 |
$headlessContentBlocker->setup();
|
111 |
$this->headlessContentBlocker = $headlessContentBlocker;
|
112 |
}
|
@@ -206,9 +208,10 @@ class Blocker {
|
|
206 |
/**
|
207 |
* Get all available blockables.
|
208 |
*
|
|
|
209 |
* @return AbstractBlockable[]
|
210 |
*/
|
211 |
-
protected function createBlockables() {
|
212 |
$blockables = [];
|
213 |
$blockers = \DevOwl\RealCookieBanner\settings\Blocker::getInstance()->getOrdered();
|
214 |
foreach ($blockers as &$blocker) {
|
@@ -220,7 +223,10 @@ class Blocker {
|
|
220 |
) {
|
221 |
continue;
|
222 |
}
|
223 |
-
$blockables[] = new \DevOwl\RealCookieBanner\view\blockable\BlockerPostType(
|
|
|
|
|
|
|
224 |
}
|
225 |
/**
|
226 |
* Allows you to add, modify or remove existing `AbstractBlockable` instances. For usual,
|
@@ -231,10 +237,11 @@ class Blocker {
|
|
231 |
*
|
232 |
* @hook RCB/Blocker/ResolveBlockables
|
233 |
* @param {AbstractBlockable[]} $blockables
|
|
|
234 |
* @return {AbstractBlockable[]}
|
235 |
* @since 2.6.0
|
236 |
*/
|
237 |
-
return apply_filters('RCB/Blocker/ResolveBlockables', $blockables);
|
238 |
}
|
239 |
/**
|
240 |
* Check if content blocker is enabled on the current request.
|
@@ -246,6 +253,10 @@ class Blocker {
|
|
246 |
\DevOwl\RealCookieBanner\settings\General::getInstance()->isBlockerActive() &&
|
247 |
!is_customize_preview() &&
|
248 |
!$this->isCurrentRequestException();
|
|
|
|
|
|
|
|
|
249 |
/**
|
250 |
* Allows you to force the content blocker take action. This is especially
|
251 |
* useful if you want to use the blocker functionality for custom mechanism
|
@@ -281,7 +292,9 @@ class Blocker {
|
|
281 |
// [Plugin Comp] https://wordpress.org/plugins/wpdiscuz/
|
282 |
'wpdLoadMoreComments',
|
283 |
'wpdAddComment',
|
284 |
-
'wpdSorting'
|
|
|
|
|
285 |
],
|
286 |
\true
|
287 |
);
|
52 |
// [Plugin Comp] Popup Maker
|
53 |
'.pum-overlay',
|
54 |
// [Plugin Comp] Elementor Pro Popups
|
55 |
+
'[data-elementor-type="popup"]',
|
56 |
+
// [Plugin Comp] https://ultimateblocks.com/content-toggle-accordion-block/
|
57 |
+
'.wp-block-ub-content-toggle-accordion-content-wrap'
|
58 |
];
|
59 |
const OB_START_PLUGINS_LOADED_PRIORITY = (\PHP_INT_MAX - 1) * -1;
|
60 |
/**
|
108 |
);
|
109 |
$scanner->excludeHostByUrl(home_url());
|
110 |
}
|
111 |
+
$headlessContentBlocker->addBlockables($this->createBlockables($headlessContentBlocker));
|
112 |
$headlessContentBlocker->setup();
|
113 |
$this->headlessContentBlocker = $headlessContentBlocker;
|
114 |
}
|
208 |
/**
|
209 |
* Get all available blockables.
|
210 |
*
|
211 |
+
* @param HeadlessContentBlocker $headlessContentBlocker
|
212 |
* @return AbstractBlockable[]
|
213 |
*/
|
214 |
+
protected function createBlockables($headlessContentBlocker) {
|
215 |
$blockables = [];
|
216 |
$blockers = \DevOwl\RealCookieBanner\settings\Blocker::getInstance()->getOrdered();
|
217 |
foreach ($blockers as &$blocker) {
|
223 |
) {
|
224 |
continue;
|
225 |
}
|
226 |
+
$blockables[] = new \DevOwl\RealCookieBanner\view\blockable\BlockerPostType(
|
227 |
+
$headlessContentBlocker,
|
228 |
+
$blocker
|
229 |
+
);
|
230 |
}
|
231 |
/**
|
232 |
* Allows you to add, modify or remove existing `AbstractBlockable` instances. For usual,
|
237 |
*
|
238 |
* @hook RCB/Blocker/ResolveBlockables
|
239 |
* @param {AbstractBlockable[]} $blockables
|
240 |
+
* @param {HeadlessContentBlocker} $headlessContentBlocker
|
241 |
* @return {AbstractBlockable[]}
|
242 |
* @since 2.6.0
|
243 |
*/
|
244 |
+
return apply_filters('RCB/Blocker/ResolveBlockables', $blockables, $headlessContentBlocker);
|
245 |
}
|
246 |
/**
|
247 |
* Check if content blocker is enabled on the current request.
|
253 |
\DevOwl\RealCookieBanner\settings\General::getInstance()->isBlockerActive() &&
|
254 |
!is_customize_preview() &&
|
255 |
!$this->isCurrentRequestException();
|
256 |
+
// Disable content blocker for AMP pages completely as it needs a AMP-specific consent management system
|
257 |
+
if (\function_exists('amp_is_request') && amp_is_request()) {
|
258 |
+
$isEnabled = \false;
|
259 |
+
}
|
260 |
/**
|
261 |
* Allows you to force the content blocker take action. This is especially
|
262 |
* useful if you want to use the blocker functionality for custom mechanism
|
292 |
// [Plugin Comp] https://wordpress.org/plugins/wpdiscuz/
|
293 |
'wpdLoadMoreComments',
|
294 |
'wpdAddComment',
|
295 |
+
'wpdSorting',
|
296 |
+
// [Plugin Comp] Elementor
|
297 |
+
'e_elementor_popup'
|
298 |
],
|
299 |
\true
|
300 |
);
|
inc/view/blockable/BlockerPostType.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
namespace DevOwl\RealCookieBanner\view\blockable;
|
4 |
|
5 |
use DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\AbstractBlockable;
|
|
|
6 |
use DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\plugins\imagePreview\ImagePreviewBlockable;
|
7 |
use DevOwl\RealCookieBanner\base\UtilsProvider;
|
8 |
use DevOwl\RealCookieBanner\lite\settings\TcfVendorConfiguration;
|
@@ -24,10 +25,12 @@ class BlockerPostType extends \DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessCon
|
|
24 |
/**
|
25 |
* C'tor.
|
26 |
*
|
|
|
27 |
* @param WP_Post $post
|
28 |
* @codeCoverageIgnore
|
29 |
*/
|
30 |
-
public function __construct($post) {
|
|
|
31 |
$this->post = $post;
|
32 |
$this->appendFromStringArray($post->metas[\DevOwl\RealCookieBanner\settings\Blocker::META_NAME_HOSTS]);
|
33 |
}
|
3 |
namespace DevOwl\RealCookieBanner\view\blockable;
|
4 |
|
5 |
use DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\AbstractBlockable;
|
6 |
+
use DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\HeadlessContentBlocker;
|
7 |
use DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\plugins\imagePreview\ImagePreviewBlockable;
|
8 |
use DevOwl\RealCookieBanner\base\UtilsProvider;
|
9 |
use DevOwl\RealCookieBanner\lite\settings\TcfVendorConfiguration;
|
25 |
/**
|
26 |
* C'tor.
|
27 |
*
|
28 |
+
* @param HeadlessContentBlocker $headlessContentBlocker
|
29 |
* @param WP_Post $post
|
30 |
* @codeCoverageIgnore
|
31 |
*/
|
32 |
+
public function __construct($headlessContentBlocker, $post) {
|
33 |
+
parent::__construct($headlessContentBlocker);
|
34 |
$this->post = $post;
|
35 |
$this->appendFromStringArray($post->metas[\DevOwl\RealCookieBanner\settings\Blocker::META_NAME_HOSTS]);
|
36 |
}
|
inc/view/blocker/Plugin.php
CHANGED
@@ -7,6 +7,7 @@ use DevOwl\RealCookieBanner\Vendor\DevOwl\FastHtmlTag\finder\match\ScriptInlineM
|
|
7 |
use DevOwl\RealCookieBanner\Vendor\DevOwl\FastHtmlTag\finder\match\StyleInlineMatch;
|
8 |
use DevOwl\RealCookieBanner\Vendor\DevOwl\FastHtmlTag\finder\match\TagAttributeMatch;
|
9 |
use DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\AbstractPlugin;
|
|
|
10 |
use DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\BlockedResult;
|
11 |
use DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\Constants;
|
12 |
use DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\finder\match\StyleInlineAttributeMatch;
|
@@ -23,6 +24,7 @@ use DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\plugins\imagePr
|
|
23 |
use DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\plugins\LazyLoadingLibraries;
|
24 |
use DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\plugins\LinkBlocker;
|
25 |
use DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\plugins\LinkRelBlocker;
|
|
|
26 |
use DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\plugins\ScriptInlineJsonBlocker;
|
27 |
use DevOwl\RealCookieBanner\base\UtilsProvider;
|
28 |
use DevOwl\RealCookieBanner\Core;
|
@@ -39,8 +41,10 @@ use DevOwl\RealCookieBanner\Vendor\Sabberworm\CSS\CSSList\Document;
|
|
39 |
class Plugin extends \DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\AbstractPlugin {
|
40 |
use UtilsProvider;
|
41 |
const TABLE_NAME_BLOCKER_THUMBNAILS = 'blocker_thumbnails';
|
|
|
42 |
// Documented in AbstractPlugin
|
43 |
public function init() {
|
|
|
44 |
$cb = $this->getHeadlessContentBlocker();
|
45 |
$cb->addTagAttributeMap(
|
46 |
[],
|
@@ -75,6 +79,15 @@ class Plugin extends \DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlock
|
|
75 |
],
|
76 |
'expensiveDiv'
|
77 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
$cb->addKeepAlwaysAttributes([
|
79 |
'rel',
|
80 |
// [Theme Comp] FloThemes
|
@@ -96,7 +109,9 @@ class Plugin extends \DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlock
|
|
96 |
// data-configuration="https://bundesrechtsanwaltskammer.podigee.io/31-folge_30/embed?context=external"
|
97 |
// ></script>
|
98 |
// </p>`
|
99 |
-
'podigee-podcast-player' => ['data-configuration']
|
|
|
|
|
100 |
]);
|
101 |
$cb->addVisualParentIfClass([
|
102 |
// [Theme Comp] FloThemes
|
@@ -128,7 +143,9 @@ class Plugin extends \DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlock
|
|
128 |
// [Plugin Comp] https://wpadvancedads.com/
|
129 |
'advads_tracking_ads',
|
130 |
// [Plugin Comp] https://wordpress.org/plugins/podcast-player/
|
131 |
-
'podcastPlayerData'
|
|
|
|
|
132 |
]);
|
133 |
$cb->setInlineStyleDummyUrlPath(plugins_url('public/images/', RCB_FILE));
|
134 |
// Other plugins
|
@@ -143,6 +160,7 @@ class Plugin extends \DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlock
|
|
143 |
$cb->addPlugin(
|
144 |
\DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\plugins\CustomElementBlocker::class
|
145 |
);
|
|
|
146 |
/**
|
147 |
* Plugin.
|
148 |
*
|
@@ -585,4 +603,19 @@ class Plugin extends \DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlock
|
|
585 |
*/
|
586 |
return apply_filters('RCB/Blocker/HTML', $html);
|
587 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
588 |
}
|
7 |
use DevOwl\RealCookieBanner\Vendor\DevOwl\FastHtmlTag\finder\match\StyleInlineMatch;
|
8 |
use DevOwl\RealCookieBanner\Vendor\DevOwl\FastHtmlTag\finder\match\TagAttributeMatch;
|
9 |
use DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\AbstractPlugin;
|
10 |
+
use DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\AbstractBlockable;
|
11 |
use DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\BlockedResult;
|
12 |
use DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\Constants;
|
13 |
use DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\finder\match\StyleInlineAttributeMatch;
|
24 |
use DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\plugins\LazyLoadingLibraries;
|
25 |
use DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\plugins\LinkBlocker;
|
26 |
use DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\plugins\LinkRelBlocker;
|
27 |
+
use DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\plugins\ReattachDom;
|
28 |
use DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\plugins\ScriptInlineJsonBlocker;
|
29 |
use DevOwl\RealCookieBanner\base\UtilsProvider;
|
30 |
use DevOwl\RealCookieBanner\Core;
|
41 |
class Plugin extends \DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\AbstractPlugin {
|
42 |
use UtilsProvider;
|
43 |
const TABLE_NAME_BLOCKER_THUMBNAILS = 'blocker_thumbnails';
|
44 |
+
private $wpContentDir;
|
45 |
// Documented in AbstractPlugin
|
46 |
public function init() {
|
47 |
+
$this->wpContentDir = \basename(\constant('WP_CONTENT_DIR'));
|
48 |
$cb = $this->getHeadlessContentBlocker();
|
49 |
$cb->addTagAttributeMap(
|
50 |
[],
|
79 |
],
|
80 |
'expensiveDiv'
|
81 |
);
|
82 |
+
$cb->addTagAttributeMap(
|
83 |
+
['iframe'],
|
84 |
+
[
|
85 |
+
// [Plugin Comp] WP Rocket
|
86 |
+
'data-src',
|
87 |
+
'data-lazy-src'
|
88 |
+
],
|
89 |
+
'iframeLazyLoad'
|
90 |
+
);
|
91 |
$cb->addKeepAlwaysAttributes([
|
92 |
'rel',
|
93 |
// [Theme Comp] FloThemes
|
109 |
// data-configuration="https://bundesrechtsanwaltskammer.podigee.io/31-folge_30/embed?context=external"
|
110 |
// ></script>
|
111 |
// </p>`
|
112 |
+
'podigee-podcast-player' => ['data-configuration'],
|
113 |
+
// [Plugin Comp] https://themeforest.net/item/attornix-lawyer-wordpress-theme/24032543 (controlled by jQuery hijack to gMap plugin)
|
114 |
+
'cmsmasters_google_map' => ['class']
|
115 |
]);
|
116 |
$cb->addVisualParentIfClass([
|
117 |
// [Theme Comp] FloThemes
|
143 |
// [Plugin Comp] https://wpadvancedads.com/
|
144 |
'advads_tracking_ads',
|
145 |
// [Plugin Comp] https://wordpress.org/plugins/podcast-player/
|
146 |
+
'podcastPlayerData',
|
147 |
+
// [Plugin Comp] FacetWP
|
148 |
+
'FWP_JSON'
|
149 |
]);
|
150 |
$cb->setInlineStyleDummyUrlPath(plugins_url('public/images/', RCB_FILE));
|
151 |
// Other plugins
|
160 |
$cb->addPlugin(
|
161 |
\DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\plugins\CustomElementBlocker::class
|
162 |
);
|
163 |
+
$cb->addPlugin(\DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\plugins\ReattachDom::class);
|
164 |
/**
|
165 |
* Plugin.
|
166 |
*
|
603 |
*/
|
604 |
return apply_filters('RCB/Blocker/HTML', $html);
|
605 |
}
|
606 |
+
/**
|
607 |
+
* See `AbstractPlugin`.
|
608 |
+
*
|
609 |
+
* @param string $expression
|
610 |
+
* @param AbstractBlockable $blockable
|
611 |
+
*/
|
612 |
+
public function blockableStringExpression($expression, $blockable) {
|
613 |
+
// Modify `wp-content/{themes,plugins}` to the configured folder
|
614 |
+
$expression = \str_replace(
|
615 |
+
['wp-content/themes', 'wp-content/plugins'],
|
616 |
+
[$this->wpContentDir . '/themes', $this->wpContentDir . '/plugins'],
|
617 |
+
$expression
|
618 |
+
);
|
619 |
+
return $expression;
|
620 |
+
}
|
621 |
}
|
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: 3.0.
|
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: 3.0.2
|
12 |
* Text Domain: real-cookie-banner
|
13 |
* Domain Path: /languages
|
14 |
*/
|
public/dist/admin.lite.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
var realCookieBanner_admin;!function(){"use strict";var e,t,r,n={6833:function(e,t,r){var n,o;r.d(t,{r:function(){return n}}),function(e){e.Cookie="cookie",e.Web="web",e.App="app"}(n||(n={})),function(e){e.Bulgarian="bg",e.Catalan="ca",e.Czech="cs",e.Danish="da",e.German="de",e.Greek="el",e.Spanish="es",e.Estonian="et",e.Basque="eus",e.Finnish="fi",e.French="fr",e.Galician="gl",e.Croatian="hr",e.Hungarian="hu",e.Italian="it",e.Japanese="ja",e.Lithuanian="lt",e.Latvian="lv",e.Maltese="mt",e.Dutch="nl",e.Norwegian="no",e.Polish="pl",e.Portuguese="pt",e.Romanian="ro",e.SerbianCyrillic="sr-Cyrl",e.SerbianLatin="sr-Latn",e.Russian="ru",e.Slovak="sk",e.Slovenian="sl",e.Swedish="sv",e.Turkish="tr",e.Chinese="zh"}(o||(o={}))},3137:function(e,t,r){function n(e){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(e)}r.d(t,{C:function(){return n}})},4491:function(e,t,r){r.d(t,{E:function(){return i}});var n=r(7363),o=/(\r\n|\r|\n|<br[ ]?\/>)/g,i=function(e){return e.split(o).map((function(e,t){return e.match(o)?(0,n.createElement)("br",{key:t}):e}))}},5954:function(e,t,r){r.r(t),r.d(t,{locationRestChecklistGet:function(){return Z.gn},locationRestChecklistPut:function(){return Z.s5},locationRestConsentAllDelete:function(){return Z.Ok},locationRestConsentAllGet:function(){return Z.cI},locationRestConsentClearDelete:function(){return Z.rz},locationRestConsentDynamicPredecisionGet:function(){return Z.aY},locationRestConsentForwardPost:function(){return Z.vY},locationRestConsentGet:function(){return Z.JQ},locationRestConsentPost:function(){return Z.PM},locationRestConsentRefererGet:function(){return Z.qD},locationRestCookieGroupOrderPut:function(){return Z.BI},locationRestCookieUnassignedGet:function(){return Z.pV},locationRestCookiesOrderPut:function(){return Z.It},locationRestCountryBypassDatabasePut:function(){return Z._3},locationRestExportConsentsGet:function(){return Z.QB},locationRestExportGet:function(){return Z.Vm},locationRestForwardCookieGet:function(){return Z.Vc},locationRestForwardEndpointsGet:function(){return Z.AW},locationRestImportPost:function(){return Z.HR},locationRestLiteDismissConfigPageProNotice:function(){return Z.nQ},locationRestMigrationDelete:function(){return Z.oW},locationRestMigrationPost:function(){return Z.nX},locationRestNavMenuAddLinksPost:function(){return Z.iO},locationRestPresetsBannerGet:function(){return Z.tX},locationRestPresetsBlockerAttributesGet:function(){return Z.N9},locationRestPresetsBlockerGet:function(){return Z.Wu},locationRestPresetsCookiesAttributesGet:function(){return Z.tw},locationRestPresetsCookiesGet:function(){return Z.zf},locationRestRevisionCurrentGet:function(){return Z.GQ},locationRestRevisionCurrentPut:function(){return Z.a4},locationRestRevisionGet:function(){return Z.Z1},locationRestRevisionIndependentGet:function(){return Z.TB},locationRestScannerQueuePost:function(){return Z.kv},locationRestScannerResultAllExternalUrlsByHostGet:function(){return Z.ME},locationRestScannerResultExternalPatch:function(){return Z.Ce},locationRestScannerResultExternalsGet:function(){return Z.MQ},locationRestScannerResultMarkupGet:function(){return Z.$5},locationRestScannerResultPresetsGet:function(){return Z.eO},locationRestStatsButtonsClickedGet:function(){return Z.$Q},locationRestStatsCustomBypassGet:function(){return Z.gh},locationRestStatsMainGet:function(){return Z.BV},locationRestTcfDeclarationsGet:function(){return Z.Y3},locationRestTcfGvlPut:function(){return Z.yR},locationRestTcfVendorsGet:function(){return Z.fs},locationRestWpSettings:function(){return Z.g3},locationRestWpSettingsPatch:function(){return Z.J3},ChecklistStore:function(){return k.L_},ConsentStore:function(){return k.v},CookieStore:function(){return k.hc},CustomizeBannerStore:function(){return k.WS},OptionStore:function(){return k.aZ},RootStore:function(){return k.My},ScannerStore:function(){return k.Cu},StatsStore:function(){return k.et},TcfStore:function(){return k.z},useStores:function(){return k.mZ}});var n=r(8782),o=r(3249),i=r(63),a=r(7938),s=r(5450),c=r.n(s),l=(r(3523),r(1533)),u=r(4163),p=r(7110),f=(r(5036),r(7830),r(8488)),b=r.n(f),h=r(8700),d=r(1629),v={};for(var m in h)"default"!==m&&(v[m]=function(e){return h[e]}.bind(0,m));r.d(t,v);var y,g,Z=r(836),k=r(8783);r.p=(0,h.getWebpackPublicPath)({NODE_ENV:"production",env:"production",rootSlug:"devowl-wp",slug:"real-cookie-banner",PLUGIN_CTX:"lite",ANTD_PREFIX:"rcb-antd",IS_TCF:"1",TCF_CMP_ID:367}),null===h.handleCorrupRestApi||void 0===h.handleCorrupRestApi||(0,h.handleCorrupRestApi)((y={},(0,i.Z)(y,u.M.get.optionStore.restNamespace,(0,a.Z)(c().mark((function e(){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.W)({location:{path:"/plugin"}});case 2:case"end":return e.stop()}}),e)})))),(0,i.Z)(y,"wp/v2",(g=(0,a.Z)(c().mark((function e(){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.W)({location:{path:"/settings",namespace:"wp/v2"}});case 2:case"end":return e.stop()}}),e)}))),function(){return g.apply(this,arguments)})),y)),o.ZP.config({prefixCls:"rcb-antd"}),n.ZP.config({top:50});var w=document.getElementById("".concat(u.M.get.optionStore.slug,"-component"));w&&(0,l.render)(React.createElement(o.ZP,{prefixCls:"rcb-antd",locale:{locale:b().locale()}},React.createElement(u.M.StoreProvider,null,React.createElement(p.K,null))),w)},6395:function(e,t,r){r.d(t,{b:function(){return w}});var n=r(9591),o=r(4094),i=r(4741),a=r(6107),s=r(7228),c=r(4115),l=r(7363),u=r(3554),p=r(8630),f=r(1857),b=r(5406),h=r(8719),d=r(3025),v=r(4163),m=r(2780),y=r(971),g=r(3004),Z=(0,u.Pi)((function(e){var t=e.id,r=e.checked,n=e.title,o=e.description,i=e.link,s=e.linkText,c=e.linkTarget,l=e.needsPro,u=e.onLinkClick,Z=(0,v.m)().optionStore,k=Z.others.isPro,w=Z.fomoCoupon,R=!k&&l,C=null,P=null,S=i;switch(t){case"scanner":var E=(0,m.p)(),_=E.percent,x=E.remaining,O=E.currentJob;x>0&&_>0&&(null==O?void 0:O.group_position)>0&&(C=React.createElement(a.Z,null,(0,p.__)("Currently scanning (%d %%)",_)));break;case"get-pro":P=React.createElement(g.S,null),w&&(S+="&".concat(g.Q))}return React.createElement("div",{style:{margin:"5px 0"}},React.createElement(f.Z,{title:r&&o},React.createElement("span",null,R?React.createElement(b.Z,{style:{color:"#7ec8ec"}}):r?React.createElement(h.Z,{style:{color:"#52c41a"}}):React.createElement(d.Z,{style:{color:"#e2e2e2"}})," ",React.createElement("span",{style:{textDecoration:r?"line-through":void 0,fontWeight:"bold"}},n),!!S&&!!s&&React.createElement(React.Fragment,null," • ",React.createElement("a",{href:S,target:c,rel:"noreferrer",onClick:u},s)))),R&&"get-pro"!==t&&React.createElement(React.Fragment,null," ",React.createElement(a.Z,{color:y.k},(0,p.__)("Needs PRO"))),!!C&&React.createElement(React.Fragment,null," ",C),!!o&&!r&&React.createElement("p",{className:"description",style:{paddingLeft:17}},o),!!P&&React.createElement("div",{style:{paddingLeft:17}},P))})),k=r(2046),w=(0,u.Pi)((function(e){var t=e.onLinkClick,r=(0,c.Z)(e,["onLinkClick"]),u=(0,v.m)().checklistStore,f=u.busyChecklist,b=u.items,h=u.completed,m=u.checkable,y=u.done,g=u.checklist.overdue,w=(0,l.useState)("boolean"==typeof r.showHidden?r.showHidden:!y),R=(0,s.Z)(w,2),C=R[0],P=R[1];return React.createElement(n.Z,{spinning:f},React.createElement(o.Z,{direction:"vertical",size:"large"},g&&React.createElement("div",{className:"notice notice-warning inline below-h2 notice-alt",style:{margin:0}},React.createElement("p",null,(0,p.__)("How time flies! You have installed Real Cookie Banner some time ago, but you still haven't finished the configuration yet."))),React.createElement("p",{className:"description"},(0,p.__)("We have collected all relevant steps for the legally compliant use of Real Cookie Banner after the first installation. Set up the cookie banner step by step to add an opt-in cookie banner to your website in compliance with the ePrivacy Directive and GDPR.")),React.createElement("div",null,y&&(C?React.createElement(a.Z,{icon:React.createElement(k.Z,null),color:"default",style:{cursor:"pointer"},onClick:function(){return P(!1)}},(0,p.__)("Hide completed steps")):React.createElement(a.Z,{icon:React.createElement(d.Z,null),color:"success",style:{cursor:"pointer"},onClick:function(){return P(!0)}},(0,p.__)("%d / %d steps completed",h.length>m.length?m.length:h.length,m.length))),b.map((function(e){var r=e.id,n=(0,c.Z)(e,["id"]);return!C&&n.checked?null:React.createElement(Z,(0,i.Z)({key:r,id:r},n,{onLinkClick:function(e){["get-pro"].indexOf(r)>-1&&u.toggleChecklistItem(r,!0),null==t||t(e)}}))})))))}))},5283:function(e,t,r){r.d(t,{DR:function(){return m},Gh:function(){return d},Ki:function(){return v}});var n=r(8920),o=r(2519),i=r(9943),a=r(6315),s=r(6478),c=r(7363),l=r(3554),u=r(8630),p=r(6839),f=r(8383),b=r(7943),h=r(4163),d="Google Tag Manager",v="Matomo Tag Manager",m=(0,l.Pi)((function(){var e=(0,h.m)().optionStore,t=e.imprintExternalUrl,r=e.imprintIsExternalUrl,l=e.privacyPolicyExternalUrl,m=e.privacyPolicyIsExternalUrl,y=e.others,g=y.isPro,Z=y.customizeBannerUrl,k=(0,c.useCallback)((function(e){return"".concat(Z.replace(/autofocus\[panel]=[\w-]+/,"autofocus[section]=".concat(e)),"&return=").concat(encodeURIComponent(window.location.href))}),[Z])("real-cookie-banner-banner-legal");return React.createElement(React.Fragment,null,React.createElement(a.Z.Item,{noStyle:!0,shouldUpdate:function(e,t){return e.bannerActive!==t.bannerActive}},(function(e){var t=e.getFieldValue,r=e.setFieldsValue,n=t("bannerActive");return React.createElement(React.Fragment,null,React.createElement(a.Z.Item,{label:(0,u.__)("Cookie Banner/Dialog")},React.createElement(a.Z.Item,{noStyle:!0,name:"bannerActive",valuePropName:"checked"},React.createElement(s.Z,{style:{display:n?void 0:"none"}})),!n&&React.createElement(i.Z,{title:(0,u.__)("I have already checked/will check all text in the cookie banner and content blocker myself. I have added missing information and corrected information that does not fit my use case."),cancelText:(0,u.__)("Cancel"),okText:(0,u.__)("Activate now!"),overlayStyle:{maxWidth:450},onCancel:function(){r({bannerActive:!1})},onConfirm:function(){r({bannerActive:!0})},placement:"bottomLeft"},React.createElement(s.Z,{checked:!1})),React.createElement("p",{className:"description",style:{marginTop:5}},(0,u.__)("You can enable and disable the cookie banner. We recommend to activate the cookie banner on your website after you have added all services."))),React.createElement(a.Z.Item,{label:(0,u.__)("Content Blocker"),style:{display:n?void 0:"none"}},React.createElement(a.Z.Item,{name:"blockerActive",valuePropName:"checked",noStyle:!0},React.createElement(s.Z,{style:{marginTop:5}})),React.createElement("p",{className:"description",style:{marginTop:5}},(0,u.__)("This feature allows you to block content that would process personal data and set cookies, but for which you do not yet have the visitor's consent."))))})),React.createElement(a.Z.Item,{label:(0,u.__)("Hide cookie banner on specific pages")},React.createElement("p",{className:"description",style:{marginTop:7}},(0,u.__)("According to the ePrivacy Directive, legally required pages such as the privacy policy or the imprint (depending on the country) may be accessible without the user having to give consent to services and their cookies. Therefore, it is recommended to avoid processing personal data and setting cookies on these pages and not to display a cookie banner.")),React.createElement(a.Z.Item,{label:(0,u.__)("Imprint Page"),labelCol:{span:24},wrapperCol:{span:12},style:{marginBottom:12}},r?React.createElement(o.Z,{value:t,readOnly:!0,addonAfter:React.createElement("a",{className:"button-link alignright",rel:"noreferrer",target:"_blank",href:k},(0,u.__)("Edit"))}):React.createElement(a.Z.Item,{name:"imprintId",noStyle:!0},React.createElement(p.m,{postType:"pages",forceDefaultLanguage:!0,postStatus:["publish"],perPage:100}))),React.createElement(a.Z.Item,{label:(0,u.__)("Privacy policy page"),labelCol:{span:24},wrapperCol:{span:12},style:{marginBottom:12}},m?React.createElement(o.Z,{value:l,readOnly:!0,addonAfter:React.createElement("a",{className:"button-link alignright",rel:"noreferrer",target:"_blank",href:k},(0,u.__)("Edit"))}):React.createElement(a.Z.Item,{name:"privacyPolicyId",noStyle:!0},React.createElement(p.m,{postType:"pages",forceDefaultLanguage:!0,postStatus:["publish"],perPage:100}))),React.createElement(a.Z.Item,{label:React.createElement(React.Fragment,null,(0,u.__)("Hide on additional pages")," ",React.createElement(f.g,{title:(0,u.__)("Want to hide cookie banner on more pages?"),testDrive:!0,feature:"hide-page-ids",description:(0,u.__)("Cookie banners are legally necessary, but distract your users from the essentials. For example, on landing pages for advertising campaigns, they lead to lower conversion rates. On these pages, it can be useful to avoid processing personal data and setting cookies to keep the conversion rate high. You can hide the cookie banner on these pages.")})),labelCol:{span:24},wrapperCol:{span:12},style:{marginBottom:12}},React.createElement(a.Z.Item,{name:"hidePageIds",noStyle:!0},React.createElement(p.m,{postType:"pages",multiple:!0,disabled:!g,forceDefaultLanguage:!0,postStatus:["publish"],perPage:100})))),React.createElement(a.Z.Item,{label:(0,u.__)("Load services after consent via")},React.createElement(a.Z.Item,{name:"setCookiesViaManager",noStyle:!0},React.createElement(n.ZP.Group,null,React.createElement(n.ZP.Button,{disabled:!g,value:"none"},(0,u.__)("HTML/JavaScript Snippet")),React.createElement(n.ZP.Button,{disabled:!g,value:"googleTagManager"},(0,u.__)("%s Event",d)),React.createElement(n.ZP.Button,{disabled:!g,value:"matomoTagManager"},(0,u.__)("%s Event",v)))),React.createElement("div",{style:{margin:"5px 0px 0px"}},React.createElement(b.r,{url:(0,u.__)("https://devowl.io/knowledge-base/real-cookie-banner-with-google-tag-manager-or-matomo-tag-manager/")}),React.createElement(f.g,{title:(0,u.__)("Want to use a Tag Manager legally?"),testDrive:!0,feature:"set-cookies-via-manager",assetName:(0,u.__)("pro-modal/set-cookies-via-manager.png"),description:(0,u.__)("You can integrate services via Google Tag Manager or Matomo Tag Manager. At the same time, you can obtain and document consents via Real Cookie Banner in accordance with data protection regulations.")})),React.createElement("p",{className:"description"},React.createElement("strong",null,(0,u.__)("You only need to change this option if you use Google Tag Manager or Matomo Tag Manager."))," ",(0,u._i)((0,u.__)("If you opt-in to or opt-out from services, you will normally execute JavaScript code to ensure that scripts are enabled/disabled and cookies are set/removed on the visitor's client. If you are a Google Tag Manager or Matomo Tag Manager user, you can map this behavior by using tags that are triggered by an event in the data layer. {{strong}}If you enable this option,{{/strong}} the Google Tag Manager or Matomo Tag Manager should not yet be integrated into your website. Instead, you must integrate it as an opt-in script of a service you create for the Tag Manager. For each service listed in this plugin, you will receive an additional field where you can specify the name of the event that is automatically triggered when the user opt-in or opt-out. We have a full integration for tag managers which should allow you to run it legally compliant in the EU."),{strong:React.createElement("strong",null)}))))}))},7110:function(e,t,r){r.d(t,{K:function(){return F},m:function(){return T}});var n=r(2202),o=r(7228),i=r(9591),a=r(7363),s=r(3554),c=r(6711),l=r(8630),u=r(4163),p=r(9943),f=(0,s.Pi)((function(){var e=(0,u.m)().optionStore,t=(0,c.useLocation)().pathname;return e.needsRevisionRetrigger&&-1===t.indexOf("/edit/")&&-1===t.indexOf("/new")&&React.createElement("div",{className:"notice notice-warning inline below-h2 notice-alt",style:{margin:"10px 0 0 0"}},React.createElement("p",null,(0,l.__)("You have changed settings that affect the content or behavior of the cookie banner. You should ask all visitors for their consent again.")," ","•"," ",React.createElement("a",{style:{cursor:"pointer",textDecoration:"underline"},onClick:function(){return e.updateCurrentRevision({needs_retrigger:!0})}},(0,l.__)("Request new consent"))," ","•"," ",React.createElement(p.Z,{title:React.createElement(React.Fragment,null,React.createElement("strong",null,(0,l.__)("Are you sure you don't want to collect new consents?")),React.createElement("br",null),React.createElement("br",null),(0,l._i)((0,l.__)("Consent must be obtained in accordance with {{a}}Art. 7 GDPR{{/a}}. Your visitor must be informed about all circumstances of the consent. However, you have made changes to your cookie banner, which lead to the fact that previously visitors have consented differently or to something different than is now in the cookie banner. Therefore, previously collected consents may have become partially invalid."),{a:React.createElement("a",{href:(0,l.__)("https://gdpr-info.eu/art-7-gdpr/"),rel:"noreferrer",target:"_blank"})}),React.createElement("br",null),React.createElement("br",null),(0,l.__)("If you have created a new service like Google Analytics (without visual content blocker), previous visitors can never consent without collecting new consents and you cannot track them, for example.")),placement:"bottomRight",onConfirm:function(){return e.updateCurrentRevision({needs_retrigger:!1})},okText:(0,l.__)("Dismiss notice"),cancelText:(0,l.__)("Cancel"),overlayStyle:{maxWidth:450}},React.createElement("a",{style:{cursor:"pointer",textDecoration:"underline"}},(0,l.__)("Dismiss notice")))))})),b=(0,s.Pi)((function(){var e=(0,u.m)().optionStore,t=e.publicCookieCount,r=e.busySettings;return e.bannerActive&&!t&&!r&&React.createElement("div",{className:"notice notice-warning inline below-h2 notice-alt",style:{margin:"10px 0 0 0"}},React.createElement("p",null,(0,l.__)("The cookie banner is activated, but unfortunately you have not yet created or enabled services.")))})),h=r(3438),d=(0,s.Pi)((function(){return!!(0,h.u)().showNoticeAnonymousScriptNotWritable&&React.createElement("div",{className:"notice notice-warning inline below-h2 notice-alt",style:{margin:"10px 0 0 0"}},React.createElement("p",null,(0,l._i)((0,l.__)("Your {{code}}wp-content{{/code}} folder is not writable. Please check your permissions!"),{code:React.createElement("code",null)})))})),v=(0,s.Pi)((function(e){var t=e.manager,r=e.managerId,n=e.hasManagerAttributeName,o=e.presetId,i=(0,u.m)().optionStore,a=i.setCookiesViaManager,s=i[n],p=(0,c.useLocation)().pathname;return a===r&&!s&&/^\/cookies\/\d+$/.test(p)&&React.createElement("div",{className:"notice notice-warning inline below-h2 notice-alt",style:{margin:"10px 0 0 0"}},React.createElement("p",null,(0,l._i)((0,l.__)("You have not yet defined a %s service. To use {{strong}}%s{{/strong}} with Real Cookie Banner, you must create the appropriate service.",t,t),{strong:React.createElement("strong",null)})," ","• ",React.createElement("a",{href:"#".concat(p,"/new?force=").concat(o)},(0,l.__)("Create now"))))})),m=r(7819),y=function(){var e=(0,c.useHistory)().listen;return(0,a.useEffect)((function(){var t=e((function(){(0,m.X)(0)}));return function(){t()}}),[e]),null},g=r(5283),Z=r(6069),k=r(3025),w=r(6800),R=(0,s.Pi)((function(){var e=(0,u.m)().optionStore,t=e.others,r=t.proUrl,n=t.isPro,o=t.isConfigProNoticeVisible,i="".concat(r,"&feature=main-button"),s=(0,a.useCallback)((function(){window.open(i,"_blank"),e.dismissConfigProNotice()}),[e]),c=(0,a.useCallback)((function(){e.dismissConfigProNotice()}),[e]);return!n&&React.createElement(p.Z,{visible:!!o,title:(0,l.__)("Thank you for using the free version of Real Cookie Banner. You might also be interested in the PRO version, which offers you more features, 20+ design templates, 100+ service templates, 60+ content blocker templates and much more."),icon:React.createElement(w.Z,{style:{color:"#1890ff"}}),placement:"bottom",onConfirm:s,onCancel:c,cancelText:(0,l.__)("No, not interested..."),okText:(0,l.__)("I want to learn more!"),overlayStyle:{maxWidth:450}},React.createElement("a",{className:"page-title-action",rel:"noreferrer",onClick:s},(0,l.__)("Get PRO version")))})),C=r(6395),P=(0,s.Pi)((function(){var e=(0,a.useState)(!1),t=(0,o.Z)(e,2),r=t[0],n=t[1],i=(0,u.m)(),s=i.optionStore,p=i.checklistStore,f=(0,c.useLocation)().pathname,b=s.others.customizeBannerUrl,h=s.publicUrl,d=p.completed,v=p.checkable,m=p.done;(0,a.useEffect)((function(){p.fetchChecklist()}),[]);var y=(0,a.useCallback)((function(e){window.location.href="".concat(b,"&return=").concat(encodeURIComponent(window.location.href)),e.preventDefault()}),[]),g=(0,a.useCallback)((function(){n(!0),p.fetchChecklist()}),[n]),w=(0,a.useCallback)((function(){n(!1)}),[n]);return React.createElement(React.Fragment,null,React.createElement("h1",{className:"wp-heading-inline"},(0,l.__)("Real Cookie Banner")),React.createElement("img",{className:"rcb-nav-logo",src:"".concat(h,"images/logos/real-cookie-banner.svg")}),React.createElement("a",{className:"page-title-action",href:"#",onClick:y},(0,l.__)("Customize banner")),React.createElement(R,null),!m&&"/"!==f&&React.createElement(React.Fragment,null,React.createElement("a",{className:"page-title-action",style:{color:"#52c41a",background:"#f6ffed",borderColor:"#85af65"},onClick:g},React.createElement(k.Z,null)," ",(0,l.__)("%d / %d steps completed",d.length>v.length?v.length:d.length,v.length)),React.createElement(Z.Z,{visible:r,title:(0,l.__)("Set up the cookie banner"),onCancel:w,okButtonProps:{style:{display:"none"}},cancelText:(0,l.__)("Close"),width:800},React.createElement(C.b,{showHidden:!0,onLinkClick:w}))),React.createElement("hr",{className:"wp-header-end"}))})),S=r(9871),E=(0,s.Pi)((function(){var e=(0,u.m)().optionStore.publicUrl;return React.createElement("div",{className:"rcb-config-footer"},(0,l._i)((0,l.__)("Real Cookie Banner is brought to you with {{icon/}} by"),{icon:React.createElement(S.Z,{style:{color:"#dca7a7"}})}),React.createElement("a",{href:"https://devowl.io/",target:"_blank",rel:"noreferrer"},React.createElement("img",{src:"".concat(e,"images/logos/devowl-with-text.svg")})))})),_=r(8700),x=r(2780),O=r(6),D=r(4548),z={display:"block",marginTop:10},T=function(e,t){return{default:function(){return React.createElement(_.SuspenseChunkTranslation,{chunkFile:r.u("chunk-config-tab-".concat(e)),options:function(){return(0,u.m)().optionStore},fallback:React.createElement(i.Z,{spinning:!0,style:z})},t)}}},I=(0,a.lazy)((function(){return Promise.all([r.e(440),r.e(18),r.e(933),r.e(914),r.e(418),r.e(702),r.e(673),r.e(812),r.e(379)]).then(r.bind(r,1421)).then((function(e){var t=e.DashboardCards;return T("dashboard",React.createElement(t,null))}))})),M=(0,a.lazy)((function(){return Promise.all([r.e(440),r.e(768)]).then(r.bind(r,597)).then((function(e){var t=e.SettingsForm;return T("settings",React.createElement(t,null))}))})),A=(0,a.lazy)((function(){return Promise.all([r.e(440),r.e(18),r.e(933),r.e(995),r.e(795),r.e(193),r.e(756),r.e(836),r.e(3)]).then(r.bind(r,1502)).then((function(e){var t=e.ScannerRouter;return T("scanner",React.createElement(t,null))}))})),N=(0,a.lazy)((function(){return Promise.all([r.e(440),r.e(18),r.e(933),r.e(418),r.e(995),r.e(348),r.e(673),r.e(718)]).then(r.bind(r,5182)).then((function(e){var t=e.CookieGroupsTabRouter;return T("cookies",React.createElement(t,null))}))})),B=(0,a.lazy)((function(){return Promise.all([r.e(440),r.e(18),r.e(933),r.e(914),r.e(995),r.e(795),r.e(625)]).then(r.bind(r,6720)).then((function(e){var t=e.ConsentTabRouter;return T("consent",React.createElement(t,null))}))})),j=(0,a.lazy)((function(){return Promise.all([r.e(440),r.e(18),r.e(933),r.e(418),r.e(702),r.e(673),r.e(812),r.e(836),r.e(478)]).then(r.bind(r,6293)).then((function(e){var t=e.BlockerRouter;return T("blocker",React.createElement(t,null))}))})),U=(0,a.lazy)((function(){return Promise.all([r.e(440),r.e(914),r.e(193),r.e(954),r.e(357)]).then(r.bind(r,9962)).then((function(e){var t=e.ImportExportCards;return T("import",React.createElement(t,null))}))})),V=(0,a.lazy)((function(){return Promise.all([r.e(440),r.e(18),r.e(322)]).then(r.bind(r,117)).then((function(e){var t=e.ConfigLicensing;return T("licensing",React.createElement(t,null))}))})),F=(0,s.Pi)((function(){var e=(0,x.p)(),t=e.percent,r=e.remaining,s=e.currentJob,p=(0,u.m)(),h=p.optionStore,m=p.checklistStore,Z=h.others,k=Z.showLicenseFormImmediate,w=(0,o.Z)(Z.colorScheme,3)[2];return(0,a.useLayoutEffect)((function(){h.fetchSettings();var e=function(){m.fetchChecklist()},t="".concat(O.JOB_DONE_EVENT_PREFIX).concat(D.b);return document.addEventListener(t,e),function(){document.removeEventListener(t,e)}}),[]),k?React.createElement(a.Suspense,{fallback:React.createElement(i.Z,{spinning:!0,style:z})},React.createElement(V,null)):React.createElement(c.HashRouter,null,React.createElement(P,null),React.createElement("nav",{className:"nav-tab-wrapper wp-clearfix"},React.createElement(c.NavLink,{to:"/",className:"nav-tab",activeClassName:"nav-tab-active",exact:!0},(0,l.__)("Dashboard")),React.createElement(c.NavLink,{to:"/settings",className:"nav-tab",activeClassName:"nav-tab-active"},(0,l.__)("Settings")),React.createElement(c.NavLink,{to:"/scanner",className:"nav-tab",activeClassName:"nav-tab-active"},r>0&&t>0&&(null==s?void 0:s.group_position)>0?React.createElement(n.Z,{count:"".concat(t," %"),style:{top:-11,fontSize:10,height:16,lineHeight:"16px",background:w}},(0,l.__)("Scanner")):(0,l.__)("Scanner")),React.createElement(c.NavLink,{to:"/cookies",className:"nav-tab",activeClassName:"nav-tab-active"},(0,l.__)("Services (Cookies)")),React.createElement(c.NavLink,{to:"/blocker",className:"nav-tab",activeClassName:"nav-tab-active"},(0,l.__)("Content Blocker")),React.createElement(c.NavLink,{to:"/consent",className:"nav-tab",activeClassName:"nav-tab-active"},(0,l.__)("Consent")),React.createElement(c.NavLink,{to:"/import",className:"nav-tab",activeClassName:"nav-tab-active"},(0,l.__)("Import / Export")),"try.devowl.io"!==window.location.host&&React.createElement(c.NavLink,{to:"/licensing",className:"nav-tab",activeClassName:"nav-tab-active"},(0,l.__)("Licensing")),React.createElement("a",{href:(0,l.__)("https://devowl.io/support/"),className:"nav-tab",target:"_blank",rel:"noreferrer"},(0,l.__)("Support"))),React.createElement(f,null),React.createElement(b,null),React.createElement(d,null),React.createElement(v,{manager:g.Gh,managerId:"googleTagManager",hasManagerAttributeName:"hasGTM",presetId:"gtm"}),React.createElement(v,{manager:g.Ki,managerId:"matomoTagManager",hasManagerAttributeName:"hasMTM",presetId:"mtm"}),React.createElement(y,null),React.createElement(a.Suspense,{fallback:React.createElement(i.Z,{spinning:!0,style:z})},React.createElement(c.Switch,null,React.createElement(c.Route,{path:"/",exact:!0},React.createElement(I,null)),React.createElement(c.Route,{path:"/settings/:tab?"},h.areSettingsFetched?React.createElement(M,null):null),React.createElement(c.Route,{path:"/scanner"},React.createElement(A,null)),React.createElement(c.Route,{path:"/cookies/:cookieGroup?"},React.createElement(N,null)),React.createElement(c.Route,{path:"/consent/:tab?"},React.createElement(B,null)),React.createElement(c.Route,{path:"/blocker"},React.createElement(j,null)),React.createElement(c.Route,{path:"/import"},React.createElement(U,null)),React.createElement(c.Route,{path:"/licensing"},React.createElement(V,null)))),React.createElement(E,null))}))},3004:function(e,t,r){r.d(t,{Q:function(){return f},S:function(){return b}});var n=r(9037),o=r(6107),i=r(8782),a=r(7228),s=r(3554),c=r(7363),l=r(4163),u=r(8630),p=r(4913),f="promo=in-app",b=(0,s.Pi)((function(e){var t=e.style,r=(0,l.m)().optionStore.fomoCoupon,s=null==r?void 0:r.coupon,f=null==r?void 0:r.valueInPercent,b=null==r?void 0:r.validUntil,h=(0,c.useCallback)((function(){if(b){var e=new Date(b).getTime()-(new Date).getTime();if(e<=0)return;var t=e/1e3;return[Math.floor(t/3600),Math.floor(t/60)%60,Math.floor(t%60)].map((function(e){return e<10?"0".concat(e):e})).filter((function(e,t){return"00"!==e||t>0})).join(":")}}),[b]),d=(0,c.useState)(),v=(0,a.Z)(d,2)[1];(0,c.useEffect)((function(){var e=setInterval((function(){v((new Date).getTime())}),1e3);return function(){clearInterval(e)}}),[]);var m=h();return m?React.createElement(n.Z,{style:t,message:(0,u._i)((0,u.__)("Use coupon {{tag}}%s{{/tag}} in the next {{strongHours}}%s hours{{/strongHours}} and save {{strongPercent}}%d %%{{/strongPercent}} in the first year!",s,m,f),{tag:React.createElement(o.Z,{color:"success",style:{marginRight:0,cursor:"pointer"},onClick:function(){(0,p.v)(s),i.ZP.success((0,u.__)("Successfully copied coupon to clipboard!"))}}),strongHours:React.createElement("strong",{style:{color:"#d33131"}}),strongPercent:React.createElement("strong",null)})}):null}))},7943:function(e,t,r){r.d(t,{r:function(){return s}});var n=r(6107),o=r(2711),i=r(7088),a=r(8630),s=function(e){var t=e.url,r=e.style,s=void 0===r?void 0:r,c=e.label,l=void 0===c?(0,a.__)("Learn more"):c,u=(0,o.Z)({cursor:"pointer"},s);return React.createElement(n.Z,{style:u,onClick:function(){return window.open(t,"_blank")}},React.createElement(i.Z,null)," ",l)}},6839:function(e,t,r){r.d(t,{m:function(){return m}});var n=r(3828),o=r(9591),i=r(2711),a=r(7938),s=r(7228),c=r(5450),l=r.n(c),u=r(7363),p=r(3438),f=r(1629),b=r(8630),h=r(2186),d=r(8700),v=r(3137),m=function(e){var t=e.postType,r=e.postStatus,c=void 0===r?["draft","publish","private"]:r,m=e.perPage,y=void 0===m?10:m,g=e.value,Z=e.multiple,k=e.disabled,w=e.forceDefaultLanguage,R=e.onChange,C=e.titleRender,P=void 0===C?function(e){return e.title.rendered}:C,S=e.filter,E=void 0===S?function(){return!0}:S,_=(0,u.useState)(!1),x=(0,s.Z)(_,2),O=x[0],D=x[1],z=(0,u.useState)(g),T=(0,s.Z)(z,2),I=T[0],M=T[1],A=(0,u.useState)(!1),N=(0,s.Z)(A,2),B=N[0],j=N[1],U=(0,u.useState)([]),V=(0,s.Z)(U,2),F=V[0],G=V[1],L=(0,u.useCallback)(function(){var e=(0,a.Z)(l().mark((function e(r){var n,o,a,s;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return j(!0),n=(0,p.u)(),o=n.defaultLanguage,a=n.currentLanguage,e.next=4,(0,f.W)({location:{path:"/".concat(t),method:d.RouteHttpVerb.GET,namespace:"wp/v2"},request:(0,i.Z)({status:r.include?["draft","publish","private"]:c,orderby:r.search?"relevance":"title"},r),params:{_dataLocale:w?o:a}});case 4:s=e.sent,G(s),j(!1);case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[]);return(0,h.N)(O,""===O?0:800,(function(e){!1!==e&&L({search:e,per_page:e.length?50:y})}),(function(e){!1!==e&&j(!0),G([])})),(0,u.useEffect)((function(){(I>0||Array.isArray(I)&&I.length>0)&&L({include:Array.isArray(I)?I:[I]})}),[]),(0,u.useEffect)((function(){JSON.stringify(I)!==JSON.stringify(g)&&(g>0||Array.isArray(g)&&g.length>0)&&(M(g),L({include:Array.isArray(g)?g:[g]}))}),[g,I]),React.createElement(n.Z,{mode:Z?"multiple":void 0,disabled:k,showSearch:!0,value:I,placeholder:(0,b.__)("Search..."),notFoundContent:B?React.createElement(o.Z,{size:"small"}):null,onClick:function(){return D("")},onSearch:D,onChange:function(e){var t=Array.isArray(e)?e.map(Number):+e;M(t),null==R||R(t)},filterOption:!1,loading:B},!Z&&!B&&React.createElement(n.Z.Option,{value:0},(0,b.__)("— Select —")),F.map((function(e){return React.createElement(n.Z.Option,{key:e.id,value:e.id,style:{display:E(e)?void 0:"none"}},(t=P(e),(0,v.C)(t)?null===(r=(new DOMParser).parseFromString('<a href="'.concat(t,'"></a>'),"text/html").querySelector("a"))||void 0===r?void 0:r.href:(new DOMParser).parseFromString(t,"text/html").documentElement.textContent));var t,r})))}},8137:function(e,t,r){r.d(t,{B:function(){return f}});var n=r(6069),o=r(7228),i=r(7363),a=r(9635),s=r(3438),c=r(8630),l=r(3004),u=r(5053),p=r(4491),f=function(e){var t=e.visible,r=void 0!==t&&t,f=e.showHints,b=void 0===f||f,h=e.showFomoCouponCounter,d=void 0===h||h,v=e.title,m=e.testDrive,y=void 0!==m&&m,g=e.assetName,Z=e.description,k=e.feature,w=e.onClose,R=e.inContainer,C=e.inContainerElement,P=(0,s.u)(),S=P.proUrl,E=P.hints,_=(0,i.useState)(),x=(0,o.Z)(_,2),O=x[0],D=x[1],z=(0,i.useCallback)((function(){window.open("".concat(S,"&feature=").concat(k,"&").concat(l.Q),"_blank").focus(),null==w||w()}),[w]);(0,i.useEffect)((function(){R&&O&&(null==O?void 0:O.parentElement.parentElement.previousElementSibling).removeAttribute("tabIndex")}),[O]);var T=null==E?void 0:E.proDialog;return R&&!C?null:React.createElement(n.Z,{visible:!!R||r,title:React.createElement("span",null,React.createElement(a.Z,null)," ",v," ",(0,c.__)("Get PRO!")),onOk:z,onCancel:w,cancelText:(0,c.__)("No, not interested..."),okText:(0,c.__)("I want to learn more!"),className:"rcb-pro-modal",width:g?800:700,getContainer:R?C:void 0},!!g&&React.createElement("img",{style:{marginTop:10},src:"https://assets.devowl.io/in-app/wp-real-cookie-banner/".concat(g)}),React.createElement("div",{style:{maxWidth:600,margin:"auto"},ref:D},React.createElement("p",null,(0,p.E)(Z)),y&&React.createElement("p",null,(0,c._i)((0,c.__)("Check out this feature with a {{a}}free sandbox{{/a}} before buying!"),{a:React.createElement("a",{href:"https://try.devowl.io/?product=RCB",target:"_blank",rel:"noreferrer"})}))),!!T&&b&&React.createElement("div",{style:{maxWidth:600,margin:"auto",textAlign:"left"}},React.createElement(u.j,T)),d&&React.createElement(l.S,{style:{marginBottom:15}}))}},5053:function(e,t,r){r.d(t,{j:function(){return a}});var n=r(5489),o=r(8503),i=r(2841),a=function(e){var t=e.title,r=e.description,a=e.link,s=e.linkText,c=e.logo;return React.createElement(React.Fragment,null,React.createElement(i.Z,null,t),React.createElement(n.Z,{wrap:!1,style:{marginBottom:10}},React.createElement(o.Z,{flex:"auto"},!!r&&React.createElement("p",{style:{margin:0}},React.createElement("span",{dangerouslySetInnerHTML:{__html:r}})," ",!!a&&!!s&&React.createElement("a",{href:a,target:"_blank",rel:"noreferrer",className:"button-link"},s))),React.createElement(o.Z,{flex:"150px",style:{alignSelf:"center"}},!!c&&React.createElement("img",{src:c,style:{maxWidth:"calc(100% - 20px)",height:"auto",marginLeft:20}}))))}},8383:function(e,t,r){r.d(t,{g:function(){return i}});var n=r(4115),o=r(971),i=function(e){e.children;var t=e.wrapperAttributes,r=void 0===t?{}:t,i=(0,n.Z)(e,["children","wrapperAttributes"]),a=(0,o.t)(i),s=a.modal,c=a.tag;return React.createElement(React.Fragment,null,s,React.createElement("span",r,c))}},2186:function(e,t,r){r.d(t,{N:function(){return i}});var n=r(7228),o=r(7363);function i(e,t,r,i){var a=(0,o.useState)(e),s=(0,n.Z)(a,2),c=s[0],l=s[1];return(0,o.useEffect)((function(){var r=setTimeout((function(){l(e)}),t);return null==i||i(e),function(){clearTimeout(r)}}),[e]),(0,o.useEffect)((function(){r(c)}),[c]),c}},971:function(e,t,r){r.d(t,{t:function(){return f},k:function(){return p}});var n=r(4741),o=r(6107),i=r(7228),a=r(2193),s=r(8630),c=r(4163),l=r(7363),u=r(8137),p="#2db7f5";function f(e,t){var r=(0,l.useState)(!1),f=(0,i.Z)(r,2),b=f[0],h=f[1],d=(0,c.m)().optionStore.others.isPro,v="boolean"==typeof t?t:d,m=(0,l.useCallback)((function(e){h(!0),null==e||e.preventDefault()}),[h]),y=(0,l.useMemo)((function(){return v?null:React.createElement(o.Z,{icon:React.createElement(a.Z,null),color:p,style:{cursor:"pointer"},onClick:m},e.tagText||(0,s.__)("Unlock feature"))}),[m,e]),g=(0,l.useMemo)((function(){return v?null:React.createElement(u.B,(0,n.Z)({visible:b,onClose:function(){return h(!1)}},e))}),[b,h,e]);return{isPro:v,tag:y,modal:g,open:m}}},2780:function(e,t,r){r.d(t,{p:function(){return s}});var n=r(6),o=r(7363),i=r(4163),a=r(4548);function s(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2?arguments[2]:void 0,s=(0,i.m)(),c=s.scannerStore;return(0,n.useProgress)({type:a.u,fetchStatusInterval:e,fetchAdditionalData:t,onAdditionalData:(0,o.useCallback)((function(e){var t=e["rcb-scan-list"],r=t.presets,n=t.externalUrls;c.resultPresetsFromResponse(r),c.resultExternalUrlsFromResponse(n)}),[c]),onCancel:r})}},9507:function(e,t,r){r.d(t,{p:function(){return v}});var n,o,i,a,s,c,l,u=r(6724),p=r(6762),f=r(3340),b=r(9303),h=r(7821),d=r(490),v=(n=function(){function e(t,r){var n=this;(0,p.Z)(this,e),(0,u.Z)(this,"id",o,this),(0,u.Z)(this,"name",i,this),(0,u.Z)(this,"needsPro",a,this),(0,u.Z)(this,"description",s,this),(0,u.Z)(this,"tags",c,this),(0,u.Z)(this,"settings",l,this),this.store=void 0,this.resetPreviewInUiSettings=void 0,(0,h.runInAction)((function(){return(0,h.set)(n,t)})),this.store=r}return(0,f.Z)(e,[{key:"applyInUi",value:function(){var e=this;return!(!this.store.rootStore.optionStore.others.isPro&&this.needsPro||(this.previewInUi(),setTimeout((function(){var t=(0,d.getSidebarCustomize)();e.store.presetDefaults.forEach((function(r,n){t(n).set(void 0===e.settings[n]?r:e.settings[n])}))}),100),0))}},{key:"previewInUi",value:function(){var t=(0,d.getSidebarCustomize)(),r=this.store.presetDefaults,n=this.store.rootStore.optionStore.others.customizeIdsBanner.settings,o=[];this.resetPreviewInUiSettings={};for(var i=0,a=Object.keys(n);i<a.length;i++)for(var s=a[i],c=n[s],l=0,u=Object.keys(c);l<u.length;l++){var p=u[l],f=c[p];if(r.has(f)){this.resetPreviewInUiSettings[f]=[s,p,t(f).get()];var b=Object.prototype.hasOwnProperty.call(this.settings,f)?this.settings[f]:r.get(f);o.push([s,p,b])}}e.getIframeStore().customizeBannerStore.setBannerFromPreset(o)}},{key:"resetPreviewInUi",value:function(){this.resetPreviewInUiSettings&&(e.getIframeStore().customizeBannerStore.setBannerFromPreset(Object.values(this.resetPreviewInUiSettings)),this.resetPreviewInUiSettings={})}}],[{key:"getIframeStore",value:function(){try{return document.querySelector("#customize-preview > iframe").contentWindow.realCookieBanner_customize_banner.RootStore.get}catch(e){return}}}]),e}(),o=(0,b.Z)(n.prototype,"id",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),i=(0,b.Z)(n.prototype,"name",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,b.Z)(n.prototype,"needsPro",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,b.Z)(n.prototype,"description",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=(0,b.Z)(n.prototype,"tags",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=(0,b.Z)(n.prototype,"settings",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),n)},1031:function(e,t,r){r.d(t,{R:function(){return p}});var n,o=r(6762),i=r(3340),a=r(3841),s=r(5952),c=r(8700),l=r(1629),u=r(7598),p=c.ClientCollection.annotate({path:"/rcb-blocker",singlePath:"/rcb-blocker/:id",namespace:"wp/v2",methods:[c.RouteHttpVerb.GET],request:l.W})(n=function(e){(0,a.Z)(r,e);var t=(0,s.Z)(r);function r(e){var n;return(0,o.Z)(this,r),(n=t.call(this)).store=void 0,n.store=e,n}return(0,i.Z)(r,[{key:"instance",value:function(e){return new u.p(this).fromResponse(e)}}]),r}(c.AbstractPostCollection))||n},7598:function(e,t,r){r.d(t,{p:function(){return Z}});var n,o,i,a=r(6724),s=r(6762),c=r(3340),l=r(5558),u=r(3071),p=r(8067),f=r(3841),b=r(5952),h=r(9303),d=r(8700),v=r(1629),m=r(1073),y=r(7821),g=r(4163),Z=d.ClientModel.annotate({keyId:"id",namespace:"wp/v2",request:v.W,create:{path:"/rcb-blocker"},patch:{path:"/rcb-blocker/:id"},delete:{path:"/rcb-blocker/:id"}})((o=function(e){(0,f.Z)(r,e);var t=(0,b.Z)(r);function r(e){var n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,s.Z)(this,r),n=t.call(this,e,o),(0,a.Z)(n,"presetModel",i,(0,l.Z)(n)),(0,y.reaction)((function(){var e;return null===(e=n.data)||void 0===e?void 0:e.preset}),(function(e){return(0,y.runInAction)((function(){n.presetModel=e?new m.w(e,g.M.get.cookieStore):void 0}))}),{fireImmediately:!0}),n}return(0,c.Z)(r,[{key:"hosts",get:function(){var e;return null===(e=this.data)||void 0===e?void 0:e.meta.hosts.split("\n")}},{key:"tcfVendors",get:function(){var e;return null!==(e=this.data)&&void 0!==e&&e.meta.tcfVendors?this.data.meta.tcfVendors.split(",").filter(Boolean).map(Number):[]}},{key:"cookies",get:function(){var e;return null===(e=this.data)||void 0===e?void 0:e.meta.cookies.split(",").filter(Boolean).map(Number)}},{key:"setName",value:function(e){this.data.title.rendered=e}},{key:"setStatus",value:function(e){this.data.status=e}},{key:"setDescription",value:function(e){this.data.content.rendered=e}},{key:"setMeta",value:function(e){this.data.meta=e}},{key:"transformDataForPatch",value:function(){var e=(0,u.Z)((0,p.Z)(r.prototype),"transformDataForPatch",this).call(this);return{title:e.title,content:e.content,status:e.status,meta:e.meta,slug:e.title}}},{key:"afterPatch",value:function(){this.collection.store.blockers.store.rootStore.optionStore.fetchCurrentRevision()}},{key:"afterDelete",value:function(){this.collection.store.blockers.store.rootStore.optionStore.fetchCurrentRevision()}},{key:"afterPersist",value:function(){this.collection.store.blockers.store.rootStore.optionStore.fetchCurrentRevision()}}]),r}(d.AbstractPost),i=(0,h.Z)(o.prototype,"presetModel",[y.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,h.Z)(o.prototype,"hosts",[y.computed],Object.getOwnPropertyDescriptor(o.prototype,"hosts"),o.prototype),(0,h.Z)(o.prototype,"tcfVendors",[y.computed],Object.getOwnPropertyDescriptor(o.prototype,"tcfVendors"),o.prototype),(0,h.Z)(o.prototype,"cookies",[y.computed],Object.getOwnPropertyDescriptor(o.prototype,"cookies"),o.prototype),(0,h.Z)(o.prototype,"setName",[y.action],Object.getOwnPropertyDescriptor(o.prototype,"setName"),o.prototype),(0,h.Z)(o.prototype,"setStatus",[y.action],Object.getOwnPropertyDescriptor(o.prototype,"setStatus"),o.prototype),(0,h.Z)(o.prototype,"setDescription",[y.action],Object.getOwnPropertyDescriptor(o.prototype,"setDescription"),o.prototype),(0,h.Z)(o.prototype,"setMeta",[y.action],Object.getOwnPropertyDescriptor(o.prototype,"setMeta"),o.prototype),n=o))||n},1073:function(e,t,r){r.d(t,{w:function(){return v}});var n,o,i,a,s=r(6724),c=r(6762),l=r(3340),u=r(9303),p=r(5450),f=r.n(p),b=r(7821),h=r(1535),d=r(1629),v=(n=function(){function e(t,r){var n=this;(0,c.Z)(this,e),(0,s.Z)(this,"busy",o,this),(0,s.Z)(this,"data",i,this),(0,s.Z)(this,"attributes",a,this),this.store=void 0,this.fetchAttributes=(0,b.flow)(f().mark((function e(){var t;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,this.busy=!0,e.next=4,(0,d.W)({location:h.N,params:{identifier:this.data.identifier}});case 4:t=e.sent,this.attributes=t,e.next=12;break;case 8:throw e.prev=8,e.t0=e.catch(0),console.log(e.t0),e.t0;case 12:return e.prev=12,this.busy=!1,e.finish(12);case 15:case"end":return e.stop()}}),e,this,[[0,8,12,15]])}))),(0,b.runInAction)((function(){n.data=t})),this.store=r}return(0,l.Z)(e,[{key:"fullLogoUrl",get:function(){var e=this.data.logoFile,t=this.store.rootStore.optionStore.publicUrl;return e.startsWith("http")?e:"".concat(t,"images/logos/").concat(e)}}]),e}(),o=(0,u.Z)(n.prototype,"busy",[b.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),i=(0,u.Z)(n.prototype,"data",[b.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,u.Z)(n.prototype,"attributes",[b.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,u.Z)(n.prototype,"fullLogoUrl",[b.computed],Object.getOwnPropertyDescriptor(n.prototype,"fullLogoUrl"),n.prototype),n)},8466:function(e,t,r){r.d(t,{y:function(){return j}});var n,o,i,a,s,c,l,u,p,f,b,h,d,v,m,y,g,Z,k,w,R,C,P,S,E,_,x,O,D,z,T=r(2711),I=r(6724),M=r(6762),A=r(3340),N=r(9303),B=r(7821),j=(n=function(){function e(t,r){var n=this;(0,M.Z)(this,e),(0,I.Z)(this,"id",o,this),(0,I.Z)(this,"plugin_version",i,this),(0,I.Z)(this,"design_version",a,this),(0,I.Z)(this,"ipv4",s,this),(0,I.Z)(this,"ipv6",c,this),(0,I.Z)(this,"ipv4_hash",l,this),(0,I.Z)(this,"ipv6_hash",u,this),(0,I.Z)(this,"uuid",p,this),(0,I.Z)(this,"previous_decision",f,this),(0,I.Z)(this,"decision",b,this),(0,I.Z)(this,"decision_labels",h,this),(0,I.Z)(this,"created",d,this),(0,I.Z)(this,"blocker",v,this),(0,I.Z)(this,"blocker_thumbnail",m,this),(0,I.Z)(this,"dnt",y,this),(0,I.Z)(this,"custom_bypass",g,this),(0,I.Z)(this,"user_country",Z,this),(0,I.Z)(this,"revision_hash",k,this),(0,I.Z)(this,"revision_independent_hash",w,this),(0,I.Z)(this,"button_clicked",R,this),(0,I.Z)(this,"context",C,this),(0,I.Z)(this,"viewport_width",P,this),(0,I.Z)(this,"viewport_height",S,this),(0,I.Z)(this,"viewed_page",E,this),(0,I.Z)(this,"url_imprint",_,this),(0,I.Z)(this,"url_privacy_policy",x,this),(0,I.Z)(this,"forwarded",O,this),(0,I.Z)(this,"forwarded_blocker",D,this),(0,I.Z)(this,"tcf_string",z,this),this.store=void 0,this.plain=void 0,(0,B.runInAction)((function(){return(0,B.set)(n,t)})),this.store=r,this.plain=t}return(0,A.Z)(e,[{key:"revision",get:function(){return this.store.revisions.get(this.revision_hash)}},{key:"revision_independent",get:function(){return this.store.revisionsIndependent.get(this.revision_independent_hash)}},{key:"custom_bypass_readable",get:function(){var e=this.custom_bypass;return e?e.charAt(0).toUpperCase()+e.slice(1):""}},{key:"export",get:function(){return JSON.parse(JSON.stringify((0,T.Z)((0,T.Z)({},this.plain),{},{revision:this.revision.data,revision_independent:this.revision_independent.data})))}},{key:"fetchRevisions",value:function(){return Promise.all([this.store.fetchRevision({hash:this.revision_hash}),this.store.fetchRevisionIndependent({hash:this.revision_independent_hash})])}}]),e}(),o=(0,N.Z)(n.prototype,"id",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),i=(0,N.Z)(n.prototype,"plugin_version",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,N.Z)(n.prototype,"design_version",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,N.Z)(n.prototype,"ipv4",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=(0,N.Z)(n.prototype,"ipv6",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=(0,N.Z)(n.prototype,"ipv4_hash",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,N.Z)(n.prototype,"ipv6_hash",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=(0,N.Z)(n.prototype,"uuid",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=(0,N.Z)(n.prototype,"previous_decision",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=(0,N.Z)(n.prototype,"decision",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=(0,N.Z)(n.prototype,"decision_labels",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=(0,N.Z)(n.prototype,"created",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=(0,N.Z)(n.prototype,"blocker",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=(0,N.Z)(n.prototype,"blocker_thumbnail",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=(0,N.Z)(n.prototype,"dnt",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=(0,N.Z)(n.prototype,"custom_bypass",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Z=(0,N.Z)(n.prototype,"user_country",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k=(0,N.Z)(n.prototype,"revision_hash",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,N.Z)(n.prototype,"revision_independent_hash",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),R=(0,N.Z)(n.prototype,"button_clicked",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=(0,N.Z)(n.prototype,"context",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=(0,N.Z)(n.prototype,"viewport_width",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=(0,N.Z)(n.prototype,"viewport_height",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,N.Z)(n.prototype,"viewed_page",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=(0,N.Z)(n.prototype,"url_imprint",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),x=(0,N.Z)(n.prototype,"url_privacy_policy",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=(0,N.Z)(n.prototype,"forwarded",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),D=(0,N.Z)(n.prototype,"forwarded_blocker",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),z=(0,N.Z)(n.prototype,"tcf_string",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,N.Z)(n.prototype,"revision",[B.computed],Object.getOwnPropertyDescriptor(n.prototype,"revision"),n.prototype),(0,N.Z)(n.prototype,"revision_independent",[B.computed],Object.getOwnPropertyDescriptor(n.prototype,"revision_independent"),n.prototype),(0,N.Z)(n.prototype,"custom_bypass_readable",[B.computed],Object.getOwnPropertyDescriptor(n.prototype,"custom_bypass_readable"),n.prototype),n)},3374:function(e,t,r){r.d(t,{b:function(){return y}});var n,o,i=r(38),a=r(6762),s=r(3340),c=r(3841),l=r(5952),u=r(9303),p=r(5450),f=r.n(p),b=r(8700),h=r(1629),d=r(6926),v=r(7821),m=r(7068),y=b.ClientCollection.annotate({path:"/rcb-cookie",singlePath:"/rcb-cookie/:id",namespace:"wp/v2",methods:[b.RouteHttpVerb.GET],request:h.W})((o=function(e){(0,c.Z)(r,e);var t=(0,l.Z)(r);function r(e){var n;return(0,a.Z)(this,r),(n=t.call(this)).store=void 0,n.orderCookies=(0,v.flow)(f().mark((function e(t){var r,n,o,a;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busy=!0,e.prev=1,e.next=4,(0,h.W)({location:m.I,request:{ids:t}});case 4:r=0,n=(0,i.Z)(t);try{for(n.s();!(o=n.n()).done;)a=o.value,this.entries.get(a).setOrder(r),r++}catch(e){n.e(e)}finally{n.f()}e.next=13;break;case 9:throw e.prev=9,e.t0=e.catch(1),console.log(e.t0),e.t0;case 13:return e.prev=13,this.busy=!1,e.finish(13);case 16:case"end":return e.stop()}}),e,this,[[1,9,13,16]])}))),n.store=e,n}return(0,s.Z)(r,[{key:"sortedCookies",get:function(){var e=Array.from(this.entries.values());return e.sort((function(e,t){return e.data.menu_order<t.data.menu_order?-1:e.data.menu_order>t.data.menu_order||e.key<t.key?1:e.key>t.key?-1:0})),e}},{key:"instance",value:function(e){return new d.U(this).fromResponse(e)}}]),r}(b.AbstractPostCollection),(0,u.Z)(o.prototype,"sortedCookies",[v.computed],Object.getOwnPropertyDescriptor(o.prototype,"sortedCookies"),o.prototype),n=o))||n},9818:function(e,t,r){r.d(t,{w:function(){return y}});var n,o,i=r(38),a=r(6762),s=r(3340),c=r(3841),l=r(5952),u=r(9303),p=r(5450),f=r.n(p),b=r(8700),h=r(1629),d=r(5706),v=r(7821),m=r(5354),y=b.ClientCollection.annotate({path:"/rcb-cookie-group",singlePath:"/rcb-cookie-group/:id",namespace:"wp/v2",methods:[b.RouteHttpVerb.GET],request:h.W})((o=function(e){(0,c.Z)(r,e);var t=(0,l.Z)(r);function r(e){var n;return(0,a.Z)(this,r),(n=t.call(this)).store=void 0,n.orderCookieGroups=(0,v.flow)(f().mark((function e(t){var r,n,o,a;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busy=!0,e.prev=1,e.next=4,(0,h.W)({location:m.B,request:{ids:t}});case 4:r=0,n=(0,i.Z)(t);try{for(n.s();!(o=n.n()).done;)a=o.value,this.entries.get(a).setOrder(r),r++}catch(e){n.e(e)}finally{n.f()}e.next=13;break;case 9:throw e.prev=9,e.t0=e.catch(1),console.log(e.t0),e.t0;case 13:return e.prev=13,this.busy=!1,e.finish(13);case 16:case"end":return e.stop()}}),e,this,[[1,9,13,16]])}))),n.store=e,n}return(0,s.Z)(r,[{key:"sortedGroups",get:function(){var e=Array.from(this.entries.values());return e.sort((function(e,t){return e.data.meta.order<t.data.meta.order?-1:e.data.meta.order>t.data.meta.order?1:0})),e}},{key:"instance",value:function(e){return new d.O(this).fromResponse(e)}}]),r}(b.AbstractCategoryCollection),(0,u.Z)(o.prototype,"sortedGroups",[v.computed],Object.getOwnPropertyDescriptor(o.prototype,"sortedGroups"),o.prototype),n=o))||n},5706:function(e,t,r){r.d(t,{O:function(){return Z}});var n,o,i,a,s=r(6724),c=r(6762),l=r(3340),u=r(5558),p=r(3841),f=r(5952),b=r(9303),h=r(5450),d=r.n(h),v=r(8700),m=r(1629),y=r(3374),g=r(7821),Z=v.ClientModel.annotate({keyId:"id",namespace:"wp/v2",request:m.W,create:{path:"/rcb-cookie-group"},patch:{path:"/rcb-cookie-group/:id"},delete:{path:"/rcb-cookie-group/:id"}})((o=function(e){(0,p.Z)(r,e);var t=(0,f.Z)(r);function r(e){var n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,c.Z)(this,r),n=t.call(this,e,o),(0,s.Z)(n,"cookies",i,(0,u.Z)(n)),(0,s.Z)(n,"fetchedAllCookies",a,(0,u.Z)(n)),n.fetchCookies=(0,g.flow)(d().mark((function e(){return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.cookies.get({request:{status:["draft","publish","private"]},params:{per_page:100,"rcb-cookie-group":this.key,context:"edit"}});case 2:this.fetchedAllCookies=!0;case 3:case"end":return e.stop()}}),e,this)}))),(0,g.runInAction)((function(){n.cookies=new y.b((0,u.Z)(n))})),n}return(0,l.Z)(r,[{key:"cookiesCount",get:function(){return this.fetchedAllCookies?this.cookies.entries.size:this.data.count}},{key:"setName",value:function(e){this.data.name=e}},{key:"setDescription",value:function(e){this.data.description=e}},{key:"setOrder",value:function(e){this.data.meta.order=e}},{key:"afterDelete",value:function(){this.collection.store.rootStore.optionStore.fetchCurrentRevision()}},{key:"afterPatch",value:function(){this.collection.store.rootStore.optionStore.fetchCurrentRevision()}},{key:"afterPersist",value:function(){this.collection.store.rootStore.optionStore.fetchCurrentRevision()}}]),r}(v.AbstractCategory),i=(0,b.Z)(o.prototype,"cookies",[g.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,b.Z)(o.prototype,"fetchedAllCookies",[g.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,b.Z)(o.prototype,"cookiesCount",[g.computed],Object.getOwnPropertyDescriptor(o.prototype,"cookiesCount"),o.prototype),(0,b.Z)(o.prototype,"setName",[g.action],Object.getOwnPropertyDescriptor(o.prototype,"setName"),o.prototype),(0,b.Z)(o.prototype,"setDescription",[g.action],Object.getOwnPropertyDescriptor(o.prototype,"setDescription"),o.prototype),(0,b.Z)(o.prototype,"setOrder",[g.action],Object.getOwnPropertyDescriptor(o.prototype,"setOrder"),o.prototype),n=o))||n},6926:function(e,t,r){r.d(t,{U:function(){return w}});var n,o,i,a=r(2711),s=r(7228),c=r(6724),l=r(6762),u=r(3340),p=r(5558),f=r(3071),b=r(8067),h=r(3841),d=r(5952),v=r(9303),m=r(8700),y=r(1629),g=r(8213),Z=r(7821),k=r(4163),w=m.ClientModel.annotate({keyId:"id",namespace:"wp/v2",request:y.W,create:{path:"/rcb-cookie"},patch:{path:"/rcb-cookie/:id"},delete:{path:"/rcb-cookie/:id"}})((o=function(e){(0,h.Z)(r,e);var t=(0,d.Z)(r);function r(e){var n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,l.Z)(this,r),n=t.call(this,e,o),(0,c.Z)(n,"presetModel",i,(0,p.Z)(n)),n.store=void 0,(0,Z.reaction)((function(){var e;return null===(e=n.data)||void 0===e?void 0:e.preset}),(function(e){return(0,Z.runInAction)((function(){n.presetModel=e?new g.g(e,k.M.get.cookieStore):void 0}))}),{fireImmediately:!0}),n}return(0,u.Z)(r,[{key:"rootStore",get:function(){return this.collection.store.collection.store.rootStore}},{key:"tagManagerSettings",get:function(){var e=this.rootStore.optionStore;return e.others.isPro,e.setCookiesViaManager,!1}},{key:"technicalDefinitions",get:function(){return JSON.parse(this.data.meta.technicalDefinitions)}},{key:"codeDynamics",get:function(){return JSON.parse(this.data.meta.codeDynamics||"{}")}},{key:"firstTechnicalDefinition",get:function(){var e;return null===(e=this.technicalDefinitions)||void 0===e?void 0:e[0]}},{key:"afterPatch",value:function(){var e=this,t=this.collection.store.collection,r=(0,s.Z)(this.data["rcb-cookie-group"],1)[0];t.entries.forEach((function(t){r!==t.key?t.cookies.entries.delete(e.key):t.cookies.entries.set(e.key,e)})),this.rootStore.optionStore.fetchCurrentRevision(),this.rootStore.cookieStore.unassignedCookies.delete(this.key)}},{key:"setOrder",value:function(e){this.data.menu_order=e}},{key:"setName",value:function(e){this.data.title.rendered=e}},{key:"setStatus",value:function(e){this.data.status=e}},{key:"setPurpose",value:function(e){this.data.content.rendered=e}},{key:"setGroup",value:function(e){this.data["rcb-cookie-group"]=[e]}},{key:"setMeta",value:function(e){this.data.meta=e}},{key:"transformDataForPersist",value:function(){var e=(0,f.Z)((0,b.Z)(r.prototype),"transformDataForPersist",this).call(this);return(0,a.Z)((0,a.Z)({},e),{},{"rcb-cookie-group":[this.collection.store.key]})}},{key:"transformDataForPatch",value:function(){var e=(0,f.Z)((0,b.Z)(r.prototype),"transformDataForPatch",this).call(this);return{title:e.title,content:e.content,status:e.status,meta:e.meta,menu_order:e.menu_order,"rcb-cookie-group":this.data["rcb-cookie-group"],slug:e.title}}},{key:"afterDelete",value:function(){this.collection.store.cookies.store.collection.store.rootStore.optionStore.fetchCurrentRevision()}},{key:"afterPersist",value:function(){var e=this.collection.store.cookies.store.collection.store.rootStore,t=e.optionStore,r=e.checklistStore;t.fetchCurrentRevision(),r.probablyFetchByChangedItem("add-cookie")}}]),r}(m.AbstractPost),i=(0,v.Z)(o.prototype,"presetModel",[Z.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,v.Z)(o.prototype,"rootStore",[Z.computed],Object.getOwnPropertyDescriptor(o.prototype,"rootStore"),o.prototype),(0,v.Z)(o.prototype,"tagManagerSettings",[Z.computed],Object.getOwnPropertyDescriptor(o.prototype,"tagManagerSettings"),o.prototype),(0,v.Z)(o.prototype,"technicalDefinitions",[Z.computed],Object.getOwnPropertyDescriptor(o.prototype,"technicalDefinitions"),o.prototype),(0,v.Z)(o.prototype,"codeDynamics",[Z.computed],Object.getOwnPropertyDescriptor(o.prototype,"codeDynamics"),o.prototype),(0,v.Z)(o.prototype,"firstTechnicalDefinition",[Z.computed],Object.getOwnPropertyDescriptor(o.prototype,"firstTechnicalDefinition"),o.prototype),(0,v.Z)(o.prototype,"afterPatch",[Z.action],Object.getOwnPropertyDescriptor(o.prototype,"afterPatch"),o.prototype),(0,v.Z)(o.prototype,"setOrder",[Z.action],Object.getOwnPropertyDescriptor(o.prototype,"setOrder"),o.prototype),(0,v.Z)(o.prototype,"setName",[Z.action],Object.getOwnPropertyDescriptor(o.prototype,"setName"),o.prototype),(0,v.Z)(o.prototype,"setStatus",[Z.action],Object.getOwnPropertyDescriptor(o.prototype,"setStatus"),o.prototype),(0,v.Z)(o.prototype,"setPurpose",[Z.action],Object.getOwnPropertyDescriptor(o.prototype,"setPurpose"),o.prototype),(0,v.Z)(o.prototype,"setGroup",[Z.action],Object.getOwnPropertyDescriptor(o.prototype,"setGroup"),o.prototype),(0,v.Z)(o.prototype,"setMeta",[Z.action],Object.getOwnPropertyDescriptor(o.prototype,"setMeta"),o.prototype),n=o))||n},8213:function(e,t,r){r.d(t,{g:function(){return v}});var n,o,i,a,s=r(6724),c=r(6762),l=r(3340),u=r(9303),p=r(5450),f=r.n(p),b=r(7821),h=r(1500),d=r(1629),v=(n=function(){function e(t,r){var n=this;(0,c.Z)(this,e),(0,s.Z)(this,"busy",o,this),(0,s.Z)(this,"data",i,this),(0,s.Z)(this,"attributes",a,this),this.store=void 0,this.fetchAttributes=(0,b.flow)(f().mark((function e(){var t;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,this.busy=!0,e.next=4,(0,d.W)({location:h.t,params:{identifier:this.data.identifier}});case 4:t=e.sent,this.attributes=t,e.next=12;break;case 8:throw e.prev=8,e.t0=e.catch(0),console.log(e.t0),e.t0;case 12:return e.prev=12,this.busy=!1,e.finish(12);case 15:case"end":return e.stop()}}),e,this,[[0,8,12,15]])}))),(0,b.runInAction)((function(){n.data=t})),this.store=r}return(0,l.Z)(e,[{key:"fullLogoUrl",get:function(){var e=this.data.logoFile,t=this.store.rootStore.optionStore.publicUrl;return e.startsWith("http")?e:"".concat(t,"images/logos/").concat(e)}}]),e}(),o=(0,u.Z)(n.prototype,"busy",[b.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),i=(0,u.Z)(n.prototype,"data",[b.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,u.Z)(n.prototype,"attributes",[b.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,u.Z)(n.prototype,"fullLogoUrl",[b.computed],Object.getOwnPropertyDescriptor(n.prototype,"fullLogoUrl"),n.prototype),n)},508:function(e,t,r){r.d(t,{k:function(){return o}});var n=r(6762),o=function e(t,r){(0,n.Z)(this,e),this.data=void 0,this.store=void 0,this.data=t,this.store=r}},502:function(e,t,r){r.d(t,{I:function(){return o}});var n=r(6762),o=function e(t,r){(0,n.Z)(this,e),this.data=void 0,this.store=void 0,this.data=t,this.store=r}},936:function(e,t,r){r.d(t,{o:function(){return v}});var n,o,i,a=r(6724),s=r(6762),c=r(3340),l=r(9303),u=r(5450),p=r.n(u),f=r(7821),b=r(4227),h=r(1629),d=r(8630),v=(n=function(){function e(t,r){var n=this;(0,s.Z)(this,e),(0,a.Z)(this,"busy",o,this),(0,a.Z)(this,"data",i,this),this.store=void 0,this.ignore=(0,f.flow)(p().mark((function e(){var t,r=arguments;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=!(r.length>1&&void 0!==r[1])||r[1],e.prev=1,e.next=4,(0,h.W)({location:b.C,request:{ignored:t},params:{host:this.data.host.replace(/\./g,"_")}});case 4:this.data.ignored=t,e.next=11;break;case 7:throw e.prev=7,e.t0=e.catch(1),console.log(e.t0),e.t0;case 11:case"end":return e.stop()}}),e,this,[[1,7]])}))),(0,f.runInAction)((function(){n.data=t})),this.store=r}return(0,c.Z)(e,[{key:"identifier",get:function(){return this.data.host}},{key:"inactive",get:function(){return"full"===this.blockedStatus||this.data.ignored}},{key:"blockedStatus",get:function(){var e=this.data,t=e.foundCount,r=e.blockedCount;return 0===r?"none":t===r?"full":"partial"}},{key:"blockedStatusText",get:function(){switch(this.blockedStatus){case"full":return(0,d.__)("Fully blocked");case"partial":return(0,d.__)("Partially blocked");default:return(0,d.__)("Not blocked")}}}]),e}(),o=(0,l.Z)(n.prototype,"busy",[f.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),i=(0,l.Z)(n.prototype,"data",[f.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,l.Z)(n.prototype,"identifier",[f.computed],Object.getOwnPropertyDescriptor(n.prototype,"identifier"),n.prototype),(0,l.Z)(n.prototype,"inactive",[f.computed],Object.getOwnPropertyDescriptor(n.prototype,"inactive"),n.prototype),(0,l.Z)(n.prototype,"blockedStatus",[f.computed],Object.getOwnPropertyDescriptor(n.prototype,"blockedStatus"),n.prototype),(0,l.Z)(n.prototype,"blockedStatusText",[f.computed],Object.getOwnPropertyDescriptor(n.prototype,"blockedStatusText"),n.prototype),n)},1313:function(e,t,r){r.d(t,{a:function(){return h}});var n,o,i,a=r(6724),s=r(6762),c=r(3340),l=r(9303),u=r(5450),p=r.n(u),f=r(7821),b=r(3190),h=(n=function(){function e(t,r){var n=this;(0,s.Z)(this,e),(0,a.Z)(this,"busy",o,this),(0,a.Z)(this,"data",i,this),this.store=void 0,this.fetchMarkup=(0,f.flow)(p().mark((function e(){return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.store.fetchMarkup(this.data.id);case 2:case"end":return e.stop()}}),e,this)}))),(0,f.runInAction)((function(){n.data=t})),this.store=r}return(0,c.Z)(e,[{key:"markup",get:function(){return this.store.resultMarkup.get(this.data.id)}},{key:"blockedUrlTruncate",get:function(){return(0,b.r)(this.data.blockedUrl,50,"[...]")}},{key:"sourceUrlTruncate",get:function(){return(0,b.r)(this.data.sourceUrl,50,"[...]")}}]),e}(),o=(0,l.Z)(n.prototype,"busy",[f.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),i=(0,l.Z)(n.prototype,"data",[f.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,l.Z)(n.prototype,"markup",[f.computed],Object.getOwnPropertyDescriptor(n.prototype,"markup"),n.prototype),(0,l.Z)(n.prototype,"blockedUrlTruncate",[f.computed],Object.getOwnPropertyDescriptor(n.prototype,"blockedUrlTruncate"),n.prototype),(0,l.Z)(n.prototype,"sourceUrlTruncate",[f.computed],Object.getOwnPropertyDescriptor(n.prototype,"sourceUrlTruncate"),n.prototype),n)},1680:function(e,t,r){r.d(t,{g:function(){return v}});var n,o,i,a,s=r(6724),c=r(6762),l=r(3340),u=r(9303),p=r(5450),f=r.n(p),b=r(7821),h=r(1629),d=r(1535),v=(n=function(){function e(t,r){var n=this;(0,c.Z)(this,e),(0,s.Z)(this,"busy",o,this),(0,s.Z)(this,"data",i,this),(0,s.Z)(this,"attributes",a,this),this.store=void 0,this.fetchAttributes=(0,b.flow)(f().mark((function e(){var t;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,this.busy=!0,e.next=4,(0,h.W)({location:d.N,params:{identifier:this.data.identifier}});case 4:t=e.sent,this.attributes=t,e.next=12;break;case 8:throw e.prev=8,e.t0=e.catch(0),console.log(e.t0),e.t0;case 12:return e.prev=12,this.busy=!1,e.finish(12);case 15:case"end":return e.stop()}}),e,this,[[0,8,12,15]])}))),(0,b.runInAction)((function(){n.data=t})),this.store=r}return(0,l.Z)(e,[{key:"identifier",get:function(){return this.data.identifier}},{key:"fullLogoUrl",get:function(){var e=this.data.logoFile,t=this.store.rootStore.optionStore.publicUrl;return e.startsWith("http")?e:"".concat(t,"images/logos/").concat(e)}},{key:"inactive",get:function(){return this.data.created}}]),e}(),o=(0,u.Z)(n.prototype,"busy",[b.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),i=(0,u.Z)(n.prototype,"data",[b.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,u.Z)(n.prototype,"attributes",[b.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,u.Z)(n.prototype,"identifier",[b.computed],Object.getOwnPropertyDescriptor(n.prototype,"identifier"),n.prototype),(0,u.Z)(n.prototype,"fullLogoUrl",[b.computed],Object.getOwnPropertyDescriptor(n.prototype,"fullLogoUrl"),n.prototype),(0,u.Z)(n.prototype,"inactive",[b.computed],Object.getOwnPropertyDescriptor(n.prototype,"inactive"),n.prototype),n)},6846:function(e,t,r){r.d(t,{i:function(){return u}});var n,o,i,a=r(6724),s=r(6762),c=r(9303),l=r(7821),u=(n=function e(t,r,n){var c=this;(0,s.Z)(this,e),(0,a.Z)(this,"data",o,this),(0,a.Z)(this,"special",i,this),this.store=void 0,(0,l.runInAction)((function(){c.special=r,c.data=t})),this.store=n},o=(0,c.Z)(n.prototype,"data",[l.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),i=(0,c.Z)(n.prototype,"special",[l.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),n)},8905:function(e,t,r){r.d(t,{v:function(){return u}});var n,o,i,a=r(6724),s=r(6762),c=r(9303),l=r(7821),u=(n=function e(t,r,n){var c=this;(0,s.Z)(this,e),(0,a.Z)(this,"data",o,this),(0,a.Z)(this,"special",i,this),this.store=void 0,(0,l.runInAction)((function(){c.special=r,c.data=t})),this.store=n},o=(0,c.Z)(n.prototype,"data",[l.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),i=(0,c.Z)(n.prototype,"special",[l.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),n)},7037:function(e,t,r){r.d(t,{C:function(){return b}});var n,o,i=r(7870),a=r(38),s=r(6724),c=r(6762),l=r(3340),u=r(9303),p=r(7821),f=r(6833),b=(n=function(){function e(t,r){var n=this;(0,c.Z)(this,e),(0,s.Z)(this,"data",o,this),this.store=void 0,(0,p.runInAction)((function(){n.data=t})),this.store=r}return(0,l.Z)(e,[{key:"vendorConfiguration",get:function(){var e,t=(0,a.Z)(this.store.vendorConfigurations.entries.values());try{for(t.s();!(e=t.n()).done;){var r=e.value;if(r.vendorModel.data.id===this.data.id)return r}}catch(e){t.e(e)}finally{t.f()}}},{key:"deviceStorageDisclosure",get:function(){var e=this.data,t=e.usesCookies,r=e.cookieMaxAgeSeconds,n=e.cookieRefresh,o=e.usesNonCookieAccess,a=e.deviceStorageDisclosure,s=null!=a&&a.disclosures.length?(0,i.Z)(a.disclosures):[];return o&&s.unshift({type:f.r.Web,identifier:"*",purposes:void 0,cookieRefresh:void 0,domain:"*",maxAgeSeconds:null}),t&&s.unshift({type:f.r.Cookie,identifier:"*",purposes:void 0,cookieRefresh:n,domain:"*",maxAgeSeconds:r}),s}},{key:"allPurposes",get:function(){return[].concat((0,i.Z)(this.legIntPurposes),(0,i.Z)(this.purposes),(0,i.Z)(this.specialPurposes)).filter(Boolean)}},{key:"allFeatures",get:function(){return[].concat((0,i.Z)(this.features),(0,i.Z)(this.specialFeatures)).filter(Boolean)}},{key:"restrictivePurposes",get:function(){for(var e={normal:{}},t=0,r=[].concat((0,i.Z)(this.legIntPurposes),(0,i.Z)(this.purposes));t<r.length;t++){var n=r[t];e.normal[n.data.id.toString()]={enabled:!0,legInt:this.legIntPurposes.indexOf(n)>-1&&!n.special?"yes":"no"}}return e}},{key:"purposes",get:function(){var e,t=this;return null===(e=this.data)||void 0===e?void 0:e.purposes.map((function(e){return t.store.purposes.get("".concat(e))}))}},{key:"legIntPurposes",get:function(){var e,t=this;return null===(e=this.data)||void 0===e?void 0:e.legIntPurposes.map((function(e){return t.store.purposes.get("".concat(e))}))}},{key:"flexiblePurposes",get:function(){var e,t=this;return null===(e=this.data)||void 0===e?void 0:e.flexiblePurposes.map((function(e){return t.store.purposes.get("".concat(e))}))}},{key:"specialPurposes",get:function(){var e,t=this;return null===(e=this.data)||void 0===e?void 0:e.specialPurposes.map((function(e){return t.store.specialPurposes.get("".concat(e))}))}},{key:"features",get:function(){var e,t=this;return null===(e=this.data)||void 0===e?void 0:e.features.map((function(e){return t.store.features.get("".concat(e))}))}},{key:"specialFeatures",get:function(){var e,t=this;return null===(e=this.data)||void 0===e?void 0:e.specialFeatures.map((function(e){return t.store.specialFeatures.get("".concat(e))}))}}]),e}(),o=(0,u.Z)(n.prototype,"data",[p.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,u.Z)(n.prototype,"vendorConfiguration",[p.computed],Object.getOwnPropertyDescriptor(n.prototype,"vendorConfiguration"),n.prototype),(0,u.Z)(n.prototype,"deviceStorageDisclosure",[p.computed],Object.getOwnPropertyDescriptor(n.prototype,"deviceStorageDisclosure"),n.prototype),(0,u.Z)(n.prototype,"allPurposes",[p.computed],Object.getOwnPropertyDescriptor(n.prototype,"allPurposes"),n.prototype),(0,u.Z)(n.prototype,"allFeatures",[p.computed],Object.getOwnPropertyDescriptor(n.prototype,"allFeatures"),n.prototype),(0,u.Z)(n.prototype,"restrictivePurposes",[p.computed],Object.getOwnPropertyDescriptor(n.prototype,"restrictivePurposes"),n.prototype),(0,u.Z)(n.prototype,"purposes",[p.computed],Object.getOwnPropertyDescriptor(n.prototype,"purposes"),n.prototype),(0,u.Z)(n.prototype,"legIntPurposes",[p.computed],Object.getOwnPropertyDescriptor(n.prototype,"legIntPurposes"),n.prototype),(0,u.Z)(n.prototype,"flexiblePurposes",[p.computed],Object.getOwnPropertyDescriptor(n.prototype,"flexiblePurposes"),n.prototype),(0,u.Z)(n.prototype,"specialPurposes",[p.computed],Object.getOwnPropertyDescriptor(n.prototype,"specialPurposes"),n.prototype),(0,u.Z)(n.prototype,"features",[p.computed],Object.getOwnPropertyDescriptor(n.prototype,"features"),n.prototype),(0,u.Z)(n.prototype,"specialFeatures",[p.computed],Object.getOwnPropertyDescriptor(n.prototype,"specialFeatures"),n.prototype),n)},1833:function(e,t,r){r.d(t,{C:function(){return p}});var n,o=r(6762),i=r(3340),a=r(3841),s=r(5952),c=r(8700),l=r(1629),u=r(9533),p=c.ClientCollection.annotate({path:"/rcb-tcf-vendor-conf",singlePath:"/rcb-tcf-vendor-conf/:id",namespace:"wp/v2",methods:[c.RouteHttpVerb.GET],request:l.W})(n=function(e){(0,a.Z)(r,e);var t=(0,s.Z)(r);function r(e){var n;return(0,o.Z)(this,r),(n=t.call(this)).store=void 0,n.store=e,n}return(0,i.Z)(r,[{key:"instance",value:function(e){return new u.S(this).fromResponse(e)}}]),r}(c.AbstractPostCollection))||n},9533:function(e,t,r){r.d(t,{S:function(){return w}});var n,o,i,a=r(7870),s=r(6724),c=r(6762),l=r(3340),u=r(5558),p=r(3071),f=r(8067),b=r(3841),h=r(5952),d=r(9303),v=r(8700),m=r(1629),y=r(7821),g=r(7037),Z=r(5311),k=r.n(Z),w=v.ClientModel.annotate({keyId:"id",namespace:"wp/v2",request:m.W,create:{path:"/rcb-tcf-vendor-conf"},patch:{path:"/rcb-tcf-vendor-conf/:id"},delete:{path:"/rcb-tcf-vendor-conf/:id"}})((o=function(e){(0,b.Z)(r,e);var t=(0,h.Z)(r);function r(e){var n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,c.Z)(this,r),n=t.call(this,e,o),(0,s.Z)(n,"vendorModel",i,(0,u.Z)(n)),(0,y.reaction)((function(){return n.data.vendor}),(function(e){return(0,y.runInAction)((function(){if(e){var t=n.collection.store.vendors,r=e.id.toString(),o=t.get(r);o||(o=new g.C(e,n.collection.store),t.set(r,o)),n.vendorModel=o}}))}),{fireImmediately:!0}),(0,y.reaction)((function(){var e;return null===(e=n.data.meta)||void 0===e?void 0:e.vendorId}),(function(e){e&&(n.vendorModel=n.collection.store.vendors.get(e.toString()))}),{fireImmediately:!0}),n}return(0,l.Z)(r,[{key:"hasVendor",get:function(){return!!this.vendorModel}},{key:"restrictivePurposes",get:function(){var e,t,r="global"===this.collection.store.rootStore.optionStore.tcfScopeOfConsent,n=(null===(e=this.vendorModel)||void 0===e?void 0:e.restrictivePurposes)||{normal:{}};if(r)return n;var o=JSON.parse(this.data.meta.restrictivePurposes);return k().extend(!0,{},(null===(t=this.vendorModel)||void 0===t?void 0:t.restrictivePurposes)||{},o)}},{key:"stats",get:function(){var e,t=this.restrictivePurposes.normal,r=(0,a.Z)(Object.values(t));return{activePurposes:r.filter((function(e){return e.enabled})).length,legIntPurposes:r.filter((function(e){var t=e.enabled,r=e.legInt;return t&&"yes"===r})).length,activeFeatures:(null===(e=this.vendorModel)||void 0===e?void 0:e.allFeatures.length)||0}}},{key:"setStatus",value:function(e){this.data.status=e}},{key:"setMeta",value:function(e){this.data.meta=e}},{key:"transformDataForPatch",value:function(){var e=(0,p.Z)((0,f.Z)(r.prototype),"transformDataForPatch",this).call(this);return{status:e.status,meta:e.meta}}},{key:"afterPatch",value:function(){this.collection.store.rootStore.optionStore.fetchCurrentRevision()}},{key:"afterDelete",value:function(){this.collection.store.rootStore.optionStore.fetchCurrentRevision()}},{key:"afterPersist",value:function(){this.collection.store.rootStore.optionStore.fetchCurrentRevision()}}]),r}(v.AbstractPost),i=(0,d.Z)(o.prototype,"vendorModel",[y.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,d.Z)(o.prototype,"hasVendor",[y.computed],Object.getOwnPropertyDescriptor(o.prototype,"hasVendor"),o.prototype),(0,d.Z)(o.prototype,"restrictivePurposes",[y.computed],Object.getOwnPropertyDescriptor(o.prototype,"restrictivePurposes"),o.prototype),(0,d.Z)(o.prototype,"stats",[y.computed],Object.getOwnPropertyDescriptor(o.prototype,"stats"),o.prototype),(0,d.Z)(o.prototype,"setStatus",[y.action],Object.getOwnPropertyDescriptor(o.prototype,"setStatus"),o.prototype),(0,d.Z)(o.prototype,"setMeta",[y.action],Object.getOwnPropertyDescriptor(o.prototype,"setMeta"),o.prototype),n=o))||n},2819:function(e,t,r){r.d(t,{L:function(){return k}});var n,o,i,a=r(2711),s=r(6724),c=r(6762),l=r(3340),u=r(5558),p=r(3841),f=r(5952),b=r(9303),h=r(5450),d=r.n(h),v=r(7821),m=r(8700),y=r(986),g=r(8930),Z=r(1629),k=(n=function(e){(0,p.Z)(r,e);var t=(0,f.Z)(r);function r(e){var n;return(0,c.Z)(this,r),n=t.call(this),(0,s.Z)(n,"busyChecklist",o,(0,u.Z)(n)),(0,s.Z)(n,"checklist",i,(0,u.Z)(n)),n.rootStore=void 0,n.probablyFetchByChangedItem=(0,v.flow)(d().mark((function e(t,r){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!r){e.next=4;break}return e.next=3,this.fetchChecklist();case 3:return e.abrupt("return");case 4:if(n=Array.isArray(t)?t:[t],!(this.items.filter((function(e){var t=e.id,r=e.checked;return n.indexOf(t)>-1&&!r})).length>0)){e.next=8;break}return e.next=8,this.fetchChecklist();case 8:case"end":return e.stop()}}),e,this)}))),n.fetchChecklist=(0,v.flow)(d().mark((function e(){return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busyChecklist=!0,e.prev=1,e.next=4,(0,Z.W)({location:y.g,params:{_wp_http_referer:window.location.href}});case 4:this.checklist=e.sent,e.next=11;break;case 7:throw e.prev=7,e.t0=e.catch(1),console.log(e.t0),e.t0;case 11:return e.prev=11,this.busyChecklist=!1,e.finish(11);case 14:case"end":return e.stop()}}),e,this,[[1,7,11,14]])}))),n.toggleChecklistItem=(0,v.flow)(d().mark((function e(t,r){return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busyChecklist=!0,e.prev=1,e.next=4,(0,Z.W)({location:g.s,request:{state:r},params:{id:t,_wp_http_referer:window.location.href}});case 4:this.checklist=e.sent,e.next=11;break;case 7:throw e.prev=7,e.t0=e.catch(1),console.log(e.t0),e.t0;case 11:return e.prev=11,this.busyChecklist=!1,e.finish(11);case 14:case"end":return e.stop()}}),e,this,[[1,7,11,14]])}))),n.rootStore=e,n}return(0,l.Z)(r,[{key:"items",get:function(){var e=this;return this.checklist&&Object.keys(this.checklist.items).map((function(t){return(0,a.Z)({id:t},e.checklist.items[t])}))||[]}},{key:"completed",get:function(){return this.items.filter((function(e){return e.checked}))}},{key:"checkable",get:function(){var e=this.rootStore.optionStore.others.isPro;return this.items.filter((function(t){var r=t.needsPro;return!r||e&&r}))}},{key:"done",get:function(){var e;return this.completed.length>=this.checkable.length||!(null===(e=this.checklist)||void 0===e||!e.dismissed)}}]),r}(m.BaseOptions),o=(0,b.Z)(n.prototype,"busyChecklist",[v.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),i=(0,b.Z)(n.prototype,"checklist",[v.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,b.Z)(n.prototype,"items",[v.computed],Object.getOwnPropertyDescriptor(n.prototype,"items"),n.prototype),(0,b.Z)(n.prototype,"completed",[v.computed],Object.getOwnPropertyDescriptor(n.prototype,"completed"),n.prototype),(0,b.Z)(n.prototype,"checkable",[v.computed],Object.getOwnPropertyDescriptor(n.prototype,"checkable"),n.prototype),(0,b.Z)(n.prototype,"done",[v.computed],Object.getOwnPropertyDescriptor(n.prototype,"done"),n.prototype),n)},3880:function(e,t,r){r.d(t,{v:function(){return I}});var n,o,i,a,s,c,l,u,p,f,b=r(38),h=r(6724),d=r(6762),v=r(3340),m=r(5558),y=r(3841),g=r(5952),Z=r(9303),k=r(5450),w=r.n(k),R=r(7821),C=r(8700),P=r(1629),S=r(5151),E=r(2616),_=r(5253),x=r(9437),O=r(6465),D=r(8466),z=r(508),T=r(502),I=(n=function(e){(0,y.Z)(r,e);var t=(0,g.Z)(r);function r(e){var n;return(0,d.Z)(this,r),n=t.call(this),(0,h.Z)(n,"busyConsent",o,(0,m.Z)(n)),(0,h.Z)(n,"busyReferer",i,(0,m.Z)(n)),(0,h.Z)(n,"count",a,(0,m.Z)(n)),(0,h.Z)(n,"perPage",s,(0,m.Z)(n)),(0,h.Z)(n,"offset",c,(0,m.Z)(n)),(0,h.Z)(n,"pageCollection",l,(0,m.Z)(n)),(0,h.Z)(n,"revisions",u,(0,m.Z)(n)),(0,h.Z)(n,"revisionsIndependent",p,(0,m.Z)(n)),(0,h.Z)(n,"referer",f,(0,m.Z)(n)),n.filters=R.observable.object({page:1,dates:[void 0,void 0],context:void 0,referer:void 0,ip:void 0,uuid:void 0},{},{deep:!1}),n.rootStore=void 0,n.fetchAll=(0,R.flow)(w().mark((function e(){var t,r,n,o,i,a,s,c,l,u,p,f,h;return w().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busyConsent=!0,e.prev=1,t=this.filters,r=t.page,n=t.referer,o=t.ip,i=t.uuid,a=t.context,s=this.filters.dates.map((function(e){return e?e.format("YYYY-MM-DD"):""})),e.next=6,(0,P.W)({location:S.c,params:{per_page:this.perPage,offset:(r-1)*this.perPage,from:s[0],to:s[1],ip:o,uuid:i,referer:n,context:a}});case 6:c=e.sent,l=c.count,u=c.items,this.count=l,this.pageCollection.clear(),p=(0,b.Z)(u);try{for(p.s();!(f=p.n()).done;)h=f.value,this.pageCollection.set(h.id,new D.y(h,this))}catch(e){p.e(e)}finally{p.f()}e.next=19;break;case 15:throw e.prev=15,e.t0=e.catch(1),console.log(e.t0),e.t0;case 19:return e.prev=19,this.busyConsent=!1,e.finish(19);case 22:case"end":return e.stop()}}),e,this,[[1,15,19,22]])}))),n.fetchRevision=(0,R.flow)(w().mark((function e(t){var r;return w().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,P.W)({location:E.Z,params:t});case 3:r=e.sent,this.revisions.set(t.hash,new z.k(r,this)),e.next=11;break;case 7:throw e.prev=7,e.t0=e.catch(0),console.log(e.t0),e.t0;case 11:case"end":return e.stop()}}),e,this,[[0,7]])}))),n.fetchRevisionIndependent=(0,R.flow)(w().mark((function e(t){var r;return w().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,P.W)({location:_.T,params:t});case 3:r=e.sent,this.revisionsIndependent.set(t.hash,new T.I(r,this)),e.next=11;break;case 7:throw e.prev=7,e.t0=e.catch(0),console.log(e.t0),e.t0;case 11:case"end":return e.stop()}}),e,this,[[0,7]])}))),n.fetchReferer=(0,R.flow)(w().mark((function e(t){var r;return w().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busyReferer=!0,e.prev=1,e.next=4,(0,P.W)({location:x.q,params:t});case 4:r=e.sent,this.referer=r.items,e.next=12;break;case 8:throw e.prev=8,e.t0=e.catch(1),console.log(e.t0),e.t0;case 12:return e.prev=12,this.busyReferer=!1,e.finish(12);case 15:case"end":return e.stop()}}),e,this,[[1,8,12,15]])}))),n.deleteAll=(0,R.flow)(w().mark((function e(){return w().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busyConsent=!0,e.prev=1,e.next=4,(0,P.W)({location:O.O});case 4:return this.applyPage(0),e.next=7,this.fetchAll();case 7:e.next=13;break;case 9:throw e.prev=9,e.t0=e.catch(1),console.log(e.t0),e.t0;case 13:return e.prev=13,this.busyConsent=!1,e.finish(13);case 16:case"end":return e.stop()}}),e,this,[[1,9,13,16]])}))),n.rootStore=e,(0,R.runInAction)((function(){n.filters.context=n.rootStore.optionStore.others.context})),n}return(0,v.Z)(r,[{key:"applyPage",value:function(e){this.filters.page=e}},{key:"applyDates",value:function(e){this.filters.dates=e}},{key:"applyContext",value:function(e){this.filters.context=e}},{key:"applyReferer",value:function(e){this.filters.referer=e}},{key:"applyIp",value:function(e){this.filters.ip=e}},{key:"applyUuid",value:function(e){this.filters.uuid=e}}]),r}(C.BaseOptions),o=(0,Z.Z)(n.prototype,"busyConsent",[R.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),i=(0,Z.Z)(n.prototype,"busyReferer",[R.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),a=(0,Z.Z)(n.prototype,"count",[R.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),s=(0,Z.Z)(n.prototype,"perPage",[R.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 50}}),c=(0,Z.Z)(n.prototype,"offset",[R.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),l=(0,Z.Z)(n.prototype,"pageCollection",[R.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),u=(0,Z.Z)(n.prototype,"revisions",[R.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),p=(0,Z.Z)(n.prototype,"revisionsIndependent",[R.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),f=(0,Z.Z)(n.prototype,"referer",[R.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),(0,Z.Z)(n.prototype,"applyPage",[R.action],Object.getOwnPropertyDescriptor(n.prototype,"applyPage"),n.prototype),(0,Z.Z)(n.prototype,"applyDates",[R.action],Object.getOwnPropertyDescriptor(n.prototype,"applyDates"),n.prototype),(0,Z.Z)(n.prototype,"applyContext",[R.action],Object.getOwnPropertyDescriptor(n.prototype,"applyContext"),n.prototype),(0,Z.Z)(n.prototype,"applyReferer",[R.action],Object.getOwnPropertyDescriptor(n.prototype,"applyReferer"),n.prototype),(0,Z.Z)(n.prototype,"applyIp",[R.action],Object.getOwnPropertyDescriptor(n.prototype,"applyIp"),n.prototype),(0,Z.Z)(n.prototype,"applyUuid",[R.action],Object.getOwnPropertyDescriptor(n.prototype,"applyUuid"),n.prototype),n)},2237:function(e,t,r){r.d(t,{h:function(){return _}});var n,o,i,a,s,c,l,u,p,f,b=r(6724),h=r(6762),d=r(3340),v=r(9303),m=r(5450),y=r.n(m),g=r(7821),Z=r(1073),k=r(8213),w=r(9818),R=r(1031),C=r(6764),P=r(7689),S=r(3352),E=r(1629),_=(n=function(){function e(t){var r=this;(0,h.Z)(this,e),(0,b.Z)(this,"busy",o,this),(0,b.Z)(this,"groups",i,this),(0,b.Z)(this,"unassignedCookies",a,this),(0,b.Z)(this,"blockers",s,this),(0,b.Z)(this,"presetsBlocker",c,this),(0,b.Z)(this,"busyPresetsBlocker",l,this),(0,b.Z)(this,"presetsCookie",u,this),(0,b.Z)(this,"busyPresetsCookie",p,this),(0,b.Z)(this,"fetchedAllBlockers",f,this),this.rootStore=void 0,this.fetchGroups=(0,g.flow)(y().mark((function e(){return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.groups.get({params:{per_page:100}});case 2:return e.next=4,this.fetchUnassignedCookies();case 4:case"end":return e.stop()}}),e,this)}))),this.fetchUnassignedCookies=(0,g.flow)(y().mark((function e(){var t,r,n,o;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,E.W)({location:C.p});case 3:for(t=e.sent,r=0,n=Object.values(t);r<n.length;r++)o=n[r],this.unassignedCookies.set(o.id,o);e.next=11;break;case 7:throw e.prev=7,e.t0=e.catch(0),console.log(e.t0),e.t0;case 11:case"end":return e.stop()}}),e,this,[[0,7]])}))),this.fetchBlockers=(0,g.flow)(y().mark((function e(){return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.blockers.get({request:{status:["draft","publish","private"]},params:{per_page:100,context:"edit"}});case 2:this.fetchedAllBlockers=!0;case 3:case"end":return e.stop()}}),e,this)}))),this.fetchPresetsBlocker=(0,g.flow)(y().mark((function e(){var t,r,n,o,i;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busyPresetsBlocker=!0,e.prev=1,e.next=4,(0,E.W)({location:P.W});case 4:for(t=e.sent,r=t.items,n=0,o=Object.keys(r);n<o.length;n++)i=o[n],this.presetsBlocker.set(i,new Z.w(r[i],this));e.next=13;break;case 9:throw e.prev=9,e.t0=e.catch(1),console.log(e.t0),e.t0;case 13:return e.prev=13,this.busyPresetsBlocker=!1,e.finish(13);case 16:case"end":return e.stop()}}),e,this,[[1,9,13,16]])}))),this.fetchPresetsCookie=(0,g.flow)(y().mark((function e(){var t,r,n,o,i;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busyPresetsCookie=!0,e.prev=1,e.next=4,(0,E.W)({location:S.z});case 4:for(t=e.sent,r=t.items,n=0,o=Object.keys(r);n<o.length;n++)i=o[n],this.presetsCookie.set(i,new k.g(r[i],this));e.next=13;break;case 9:throw e.prev=9,e.t0=e.catch(1),console.log(e.t0),e.t0;case 13:return e.prev=13,this.busyPresetsCookie=!1,e.finish(13);case 16:case"end":return e.stop()}}),e,this,[[1,9,13,16]])}))),this.rootStore=t,(0,g.runInAction)((function(){r.groups=new w.w(r),r.blockers=new R.R(r)}))}return(0,d.Z)(e,[{key:"blockersCount",get:function(){return this.fetchedAllBlockers?this.blockers.entries.size:this.rootStore.optionStore.allBlockerCount}},{key:"cookiesCount",get:function(){return Array.from(this.groups.entries.values()).map((function(e){return e.cookiesCount})).reduce((function(e,t){return e+t}),0)}},{key:"essentialGroup",get:function(){if(0!==this.groups.entries.size){for(var e,t=this.groups.entries.values();(e=t.next().value)&&e.data.slug!==this.rootStore.optionStore.others.essentialGroup;);return e}}}]),e}(),o=(0,v.Z)(n.prototype,"busy",[g.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),i=(0,v.Z)(n.prototype,"groups",[g.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,v.Z)(n.prototype,"unassignedCookies",[g.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),s=(0,v.Z)(n.prototype,"blockers",[g.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=(0,v.Z)(n.prototype,"presetsBlocker",[g.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),l=(0,v.Z)(n.prototype,"busyPresetsBlocker",[g.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),u=(0,v.Z)(n.prototype,"presetsCookie",[g.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),p=(0,v.Z)(n.prototype,"busyPresetsCookie",[g.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),f=(0,v.Z)(n.prototype,"fetchedAllBlockers",[g.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,v.Z)(n.prototype,"blockersCount",[g.computed],Object.getOwnPropertyDescriptor(n.prototype,"blockersCount"),n.prototype),(0,v.Z)(n.prototype,"cookiesCount",[g.computed],Object.getOwnPropertyDescriptor(n.prototype,"cookiesCount"),n.prototype),(0,v.Z)(n.prototype,"essentialGroup",[g.computed],Object.getOwnPropertyDescriptor(n.prototype,"essentialGroup"),n.prototype),n)},7602:function(e,t,r){r.d(t,{W:function(){return C}});var n,o,i,a,s,c,l,u=r(7228),p=r(38),f=r(2711),b=r(6724),h=r(6762),d=r(3340),v=r(9303),m=r(5450),y=r.n(m),g=r(7821),Z=r(4504),k=r(1629),w=r(9507),R=r(490),C=(n=function(){function e(t){(0,h.Z)(this,e),(0,b.Z)(this,"visible",o,this),(0,b.Z)(this,"animationVisible",i,this),(0,b.Z)(this,"individualPrivacyOpen",a,this),(0,b.Z)(this,"previewCheckboxActiveState",s,this),(0,b.Z)(this,"busyPresets",c,this),(0,b.Z)(this,"presets",l,this),this.rootStore=void 0,this.presetConstants=new Map,this.presetDefaults=new Map,this.debounceFromCustomize={},this.fetchPresets=(0,g.flow)(y().mark((function e(){var t,r,n,o,i,a,s,c,l,u,p,b,h;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busyPresets=!0,e.prev=1,e.next=4,(0,k.W)({location:Z.t});case 4:for(t=e.sent,r=t.defaults,n=t.constants,o=t.items,i=0,a=Object.keys(r);i<a.length;i++)s=a[i],this.presetDefaults.set(s,r[s]);for(c=0,l=Object.keys(n);c<l.length;c++)u=l[c],this.presetConstants.set(u,n[u]);for(p=0,b=Object.keys(o);p<b.length;p++)h=b[p],this.presets.set(h,new w.p((0,f.Z)({id:h},o[h]),this));e.next=17;break;case 13:throw e.prev=13,e.t0=e.catch(1),console.log(e.t0),e.t0;case 17:return e.prev=17,this.busyPresets=!1,e.finish(17);case 20:case"end":return e.stop()}}),e,this,[[1,13,17,20]])}))),this.rootStore=t}return(0,d.Z)(e,[{key:"setBannerFromCustomize",value:function(e,t,r){var n=this,o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=this.rootStore.optionStore.others.customizeValuesBanner,a=t.toString();if(o&&["css","animationInDuration","animationOutDuration"].indexOf(a)>-1)clearTimeout(this.debounceFromCustomize[a]),this.debounceFromCustomize[a]=setTimeout((function(){return n.setBannerFromCustomize(e,t,r,!1)}),500);else{var s=i[e][t];i[e][t]=r,a.startsWith("animationOut")&&s!==r&&this.forceAnimationOutSimulation()}}},{key:"setBannerFromPreset",value:function(e){var t,r=(0,p.Z)(e);try{for(r.s();!(t=r.n()).done;){var n=t.value,o=(0,u.Z)(n,3),i=o[0],a=o[1],s=o[2];this.rootStore.optionStore.others.customizeValuesBanner[i][a]=s}}catch(e){r.e(e)}finally{r.f()}}},{key:"forceAnimationOutSimulation",value:function(){var e=this,t=this.rootStore.optionStore.others.customizeValuesBanner;"none"!==t.layout.animationOut&&(this.animationVisible=!1,setTimeout((function(){return(0,g.runInAction)((function(){e.animationVisible=!0}))}),+t.layout.animationOutDuration+1e3))}},{key:"setVisible",value:function(e){this.visible=e}},{key:"setIndividualPrivacyOpen",value:function(e){this.individualPrivacyOpen=e}},{key:"setPreviewCheckboxActiveState",value:function(e){this.previewCheckboxActiveState=e}},{key:"exportPhp",value:function(){var e=this,t={},r=(0,R.getSidebarCustomize)();return this.presetDefaults.forEach((function(n,o){var i=r(o).get();"boolean"==typeof n?i=!!+i:isNaN(i)||""===i||(i=+i),JSON.stringify(n)!==JSON.stringify(i)&&(t[e.presetConstants.get(o)]=i)})),this.jsonToPHPArray(t)}},{key:"jsonToPHPArray",value:function(e){var t=JSON.stringify(e,null,4).split("\n");return t.shift(),t.pop(),t.join("\n").replace(/^(\s+)"([A-Za-z\\]+::[A-Z_]+)"(:)/gm,"$1$2 =>").replace(/^(\s+)([A-Za-z\\]+)::/gm,(function(e,t,r){return"".concat(t).concat(r.replace(/\\\\/gm,"\\"),"::")}))}}]),e}(),o=(0,v.Z)(n.prototype,"visible",[g.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),i=(0,v.Z)(n.prototype,"animationVisible",[g.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),a=(0,v.Z)(n.prototype,"individualPrivacyOpen",[g.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),s=(0,v.Z)(n.prototype,"previewCheckboxActiveState",[g.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),c=(0,v.Z)(n.prototype,"busyPresets",[g.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),l=(0,v.Z)(n.prototype,"presets",[g.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),(0,v.Z)(n.prototype,"setBannerFromCustomize",[g.action],Object.getOwnPropertyDescriptor(n.prototype,"setBannerFromCustomize"),n.prototype),(0,v.Z)(n.prototype,"setBannerFromPreset",[g.action],Object.getOwnPropertyDescriptor(n.prototype,"setBannerFromPreset"),n.prototype),(0,v.Z)(n.prototype,"forceAnimationOutSimulation",[g.action],Object.getOwnPropertyDescriptor(n.prototype,"forceAnimationOutSimulation"),n.prototype),(0,v.Z)(n.prototype,"setVisible",[g.action],Object.getOwnPropertyDescriptor(n.prototype,"setVisible"),n.prototype),(0,v.Z)(n.prototype,"setIndividualPrivacyOpen",[g.action],Object.getOwnPropertyDescriptor(n.prototype,"setIndividualPrivacyOpen"),n.prototype),(0,v.Z)(n.prototype,"setPreviewCheckboxActiveState",[g.action],Object.getOwnPropertyDescriptor(n.prototype,"setPreviewCheckboxActiveState"),n.prototype),n)},8783:function(e,t,r){r.d(t,{My:function(){return n.M},mZ:function(){return n.m},aZ:function(){return o.a},WS:function(){return i.W},hc:function(){return a.h},v:function(){return s.v},et:function(){return c.e},L_:function(){return l.L},z:function(){return u.z},Cu:function(){return p.C}});var n=r(4163),o=r(5951),i=r(7602),a=r(2237),s=r(3880),c=r(6228),l=r(2819),u=r(5305),p=r(6696)},5951:function(e,t,r){r.d(t,{a:function(){return Re}});var n,o,i,a,s,c,l,u,p,f,b,h,d,v,m,y,g,Z,k,w,R,C,P,S,E,_,x,O,D,z,T,I,M,A,N,B,j,U,V,F,G,L,W,H,q,Y,J,Q,X,$,K,ee,te=r(2711),re=r(6724),ne=r(6762),oe=r(3340),ie=r(5558),ae=r(3841),se=r(5952),ce=r(9303),le=r(5450),ue=r.n(le),pe=r(7821),fe=r(8700),be=r(8628),he=r(5614),de=r(3531),ve=r(5482),me=r(7532),ye=r(3128),ge=r(9925),Ze=r(1719),ke=r(1629),we=r(8335),Re=(n=function(e){(0,ae.Z)(r,e);var t=(0,se.Z)(r);function r(e){var n;return(0,ne.Z)(this,r),n=t.call(this),(0,re.Z)(n,"busySettings",o,(0,ie.Z)(n)),(0,re.Z)(n,"busyCountryBypassUpdate",i,(0,ie.Z)(n)),(0,re.Z)(n,"busyAddLinksToNavigationMenu",a,(0,ie.Z)(n)),(0,re.Z)(n,"needsRevisionRetrigger",s,(0,ie.Z)(n)),(0,re.Z)(n,"publicCookieCount",c,(0,ie.Z)(n)),(0,re.Z)(n,"allCookieCount",l,(0,ie.Z)(n)),(0,re.Z)(n,"allBlockerCount",u,(0,ie.Z)(n)),(0,re.Z)(n,"allTcfVendorConfigurationCount",p,(0,ie.Z)(n)),(0,re.Z)(n,"allScannerResultPresetsCount",f,(0,ie.Z)(n)),(0,re.Z)(n,"allScannerResultExternalUrlsCount",b,(0,ie.Z)(n)),(0,re.Z)(n,"cookieCounts",h,(0,ie.Z)(n)),(0,re.Z)(n,"nav_menus",d,(0,ie.Z)(n)),(0,re.Z)(n,"tcfVendorConfigurationCounts",v,(0,ie.Z)(n)),(0,re.Z)(n,"hasGTM",m,(0,ie.Z)(n)),(0,re.Z)(n,"hasMTM",y,(0,ie.Z)(n)),(0,re.Z)(n,"contexts",g,(0,ie.Z)(n)),(0,re.Z)(n,"dashboardMigration",Z,(0,ie.Z)(n)),(0,re.Z)(n,"fomoCoupon",k,(0,ie.Z)(n)),(0,re.Z)(n,"bannerActive",w,(0,ie.Z)(n)),(0,re.Z)(n,"blockerActive",R,(0,ie.Z)(n)),(0,re.Z)(n,"imprintId",C,(0,ie.Z)(n)),(0,re.Z)(n,"imprintExternalUrl",P,(0,ie.Z)(n)),(0,re.Z)(n,"imprintIsExternalUrl",S,(0,ie.Z)(n)),(0,re.Z)(n,"privacyPolicyId",E,(0,ie.Z)(n)),(0,re.Z)(n,"privacyPolicyExternalUrl",_,(0,ie.Z)(n)),(0,re.Z)(n,"privacyPolicyIsExternalUrl",x,(0,ie.Z)(n)),(0,re.Z)(n,"hidePageIds",O,(0,ie.Z)(n)),(0,re.Z)(n,"setCookiesViaManager",D,(0,ie.Z)(n)),(0,re.Z)(n,"acceptAllForBots",z,(0,ie.Z)(n)),(0,re.Z)(n,"respectDoNotTrack",T,(0,ie.Z)(n)),(0,re.Z)(n,"cookieDuration",I,(0,ie.Z)(n)),(0,re.Z)(n,"saveIp",M,(0,ie.Z)(n)),(0,re.Z)(n,"ePrivacyUSA",A,(0,ie.Z)(n)),(0,re.Z)(n,"ageNotice",N,(0,ie.Z)(n)),(0,re.Z)(n,"listServicesNotice",B,(0,ie.Z)(n)),(0,re.Z)(n,"consentForwarding",j,(0,ie.Z)(n)),(0,re.Z)(n,"forwardTo",U,(0,ie.Z)(n)),(0,re.Z)(n,"crossDomains",V,(0,ie.Z)(n)),(0,re.Z)(n,"affiliateLink",F,(0,ie.Z)(n)),(0,re.Z)(n,"affiliateLabelBehind",G,(0,ie.Z)(n)),(0,re.Z)(n,"affiliateLabelDescription",L,(0,ie.Z)(n)),(0,re.Z)(n,"countryBypass",W,(0,ie.Z)(n)),(0,re.Z)(n,"countryBypassCountries",H,(0,ie.Z)(n)),(0,re.Z)(n,"countryBypassType",q,(0,ie.Z)(n)),(0,re.Z)(n,"countryBypassDbDownloadTime",Y,(0,ie.Z)(n)),(0,re.Z)(n,"tcf",J,(0,ie.Z)(n)),(0,re.Z)(n,"tcfPublisherCc",Q,(0,ie.Z)(n)),(0,re.Z)(n,"tcfAcceptedTime",X,(0,ie.Z)(n)),(0,re.Z)(n,"tcfGvlDownloadTime",$,(0,ie.Z)(n)),(0,re.Z)(n,"tcfScopeOfConsent",K,(0,ie.Z)(n)),(0,re.Z)(n,"others",ee,(0,ie.Z)(n)),n.pureSlug=void 0,n.pureSlugCamelCased=void 0,n.rootStore=void 0,n.fetchSettings=(0,pe.flow)(ue().mark((function e(t){var r;return ue().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.busySettings=!0,e.prev=1,e.t0=t,e.t0){e.next=7;break}return e.next=6,(0,ke.W)({location:be.g});case 6:e.t0=e.sent;case 7:return r=e.t0,this.bannerActive=r["rcb-banner-active"],this.blockerActive=r["rcb-blocker-active"],this.imprintId=r["rcb-banner-legal-imprint"],this.imprintExternalUrl=r["rcb-banner-legal-imprint-external-url"],this.imprintIsExternalUrl=r["rcb-banner-legal-imprint-is-external-url"],this.privacyPolicyId=r["rcb-banner-legal-privacy-policy"],this.privacyPolicyExternalUrl=r["rcb-banner-legal-privacy-policy-external-url"],this.privacyPolicyIsExternalUrl=r["rcb-banner-legal-privacy-policy-is-external-url"],this.hidePageIds=(r["rcb-hide-page-ids"]||"").split(",").map(Number).filter(Boolean),this.setCookiesViaManager=r["rcb-set-cookies-via-manager"]||"none",this.acceptAllForBots=r["rcb-accept-all-for-bots"],this.respectDoNotTrack=r["rcb-respect-do-not-track"],this.cookieDuration=r["rcb-cookie-duration"],this.saveIp=r["rcb-save-ip"],this.ePrivacyUSA=r["rcb-eprivacy-usa"],this.ageNotice=r["rcb-age-notice"],this.listServicesNotice=r["rcb-list-services-notice"],this.consentForwarding=r["rcb-consent-forwarding"]||!1,this.forwardTo=(r["rcb-forward-to"]||"").split("|").filter(Boolean),this.crossDomains=r["rcb-cross-domains"]||"",this.countryBypass=r["rcb-country-bypass"],this.countryBypassCountries=(r["rcb-country-bypass-countries"]||"").split(",").filter(Boolean),this.countryBypassType=r["rcb-country-bypass-type"],this.countryBypassDbDownloadTime=r["rcb-country-bypass-db-download-time"],this.tcf=r["rcb-tcf"],this.tcfPublisherCc=r["rcb-tcf-publisher-cc"],this.tcfAcceptedTime=r["rcb-tcf-accepted-time"],this.tcfGvlDownloadTime=r["rcb-tcf-gvl-download-time"],this.tcfScopeOfConsent=r["rcb-tcf-scope-of-consent"],e.next=40,this.fetchCurrentRevision();case 40:e.next=46;break;case 42:throw e.prev=42,e.t1=e.catch(1),console.log(e.t1),e.t1;case 46:return e.prev=46,this.busySettings=!1,e.finish(46);case 49:case"end":return e.stop()}}),e,this,[[1,42,46,49]])}))),n.updateSettings=(0,pe.flow)(ue().mark((function e(t){var r,n,o,i,a,s,c,l,u,p,f,b,h,d,v,m,y,g,Z,k,w,R,C;return ue().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.bannerActive,n=t.blockerActive,o=t.imprintId,i=t.privacyPolicyId,a=t.hidePageIds,s=t.setCookiesViaManager,c=t.acceptAllForBots,l=t.respectDoNotTrack,u=t.cookieDuration,p=t.saveIp,f=t.ePrivacyUSA,b=t.ageNotice,h=t.listServicesNotice,d=t.consentForwarding,v=t.forwardTo,m=t.crossDomains,t.affiliateLink,t.affiliateLabelBehind,t.affiliateLabelDescription,y=t.countryBypass,g=t.countryBypassCountries,Z=t.countryBypassType,k=t.tcf,w=t.tcfPublisherCc,R=t.tcfScopeOfConsent,this.busySettings=!0,e.prev=2,e.next=5,(0,ke.W)({location:he.J,request:(0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)({},void 0===r?{}:{"rcb-banner-active":r}),void 0===n?{}:{"rcb-blocker-active":n}),void 0===o?{}:{"rcb-banner-legal-imprint":o}),void 0===i?{}:{"rcb-banner-legal-privacy-policy":i}),void 0===a?{}:{"rcb-hide-page-ids":a.join(",")}),void 0===s?{}:{"rcb-set-cookies-via-manager":s}),void 0===c?{}:{"rcb-accept-all-for-bots":c}),void 0===l?{}:{"rcb-respect-do-not-track":l}),void 0===u?{}:{"rcb-cookie-duration":u}),void 0===p?{}:{"rcb-save-ip":p}),void 0===f?{}:{"rcb-eprivacy-usa":f}),void 0===b?{}:{"rcb-age-notice":b}),void 0===h?{}:{"rcb-list-services-notice":h}),void 0===d?{}:{"rcb-consent-forwarding":d}),void 0===v?{}:{"rcb-forward-to":v.join("|")}),void 0===m?{}:{"rcb-cross-domains":m}),void 0===y?{}:{"rcb-country-bypass":y}),void 0===g?{}:{"rcb-country-bypass-countries":g.join(",")}),void 0===Z?{}:{"rcb-country-bypass-type":Z}),void 0===k?{}:{"rcb-tcf":k}),void 0===w?{}:{"rcb-tcf-publisher-cc":w}),void 0===R?{}:{"rcb-tcf-scope-of-consent":R}),{}),{}),{})});case 5:C=e.sent,this.fetchSettings(C),this.rootStore.checklistStore.probablyFetchByChangedItem(["save-settings","activate-banner","privacy-policy"]),e.next=14;break;case 10:throw e.prev=10,e.t0=e.catch(2),console.log(e.t0),e.t0;case 14:return e.prev=14,this.busySettings=!1,e.finish(14);case 17:case"end":return e.stop()}}),e,this,[[2,10,14,17]])}))),n.fetchCurrentRevision=(0,pe.flow)(ue().mark((function e(){return ue().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busySettings=!0,e.prev=1,e.t0=this,e.next=5,(0,ke.W)({location:de.G});case 5:e.t1=e.sent,e.t0.setFromCurrentRevision.call(e.t0,e.t1),e.next=13;break;case 9:throw e.prev=9,e.t2=e.catch(1),console.log(e.t2),e.t2;case 13:return e.prev=13,this.busySettings=!1,e.finish(13);case 16:case"end":return e.stop()}}),e,this,[[1,9,13,16]])}))),n.updateCurrentRevision=(0,pe.flow)(ue().mark((function e(t){return ue().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busySettings=!0,e.prev=1,e.t0=this,e.next=5,(0,ke.W)({location:ve.a,request:t});case 5:e.t1=e.sent,e.t0.setFromCurrentRevision.call(e.t0,e.t1),e.next=13;break;case 9:throw e.prev=9,e.t2=e.catch(1),console.log(e.t2),e.t2;case 13:return e.prev=13,this.busySettings=!1,e.finish(13);case 16:case"end":return e.stop()}}),e,this,[[1,9,13,16]])}))),n.setModalHintSeen=(0,pe.flow)(ue().mark((function e(t){return ue().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busySettings=!0,e.prev=1,this.others.modalHints.push(t),e.next=5,(0,ke.W)({location:we.C,request:{identifier:t}});case 5:e.next=11;break;case 7:throw e.prev=7,e.t0=e.catch(1),console.log(e.t0),e.t0;case 11:return e.prev=11,this.busySettings=!1,e.finish(11);case 14:case"end":return e.stop()}}),e,this,[[1,7,11,14]])}))),n.dismissConfigProNotice=(0,pe.flow)(ue().mark((function e(){return ue().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,this.others.isConfigProNoticeVisible=!1,e.next=4,(0,ke.W)({location:me.n});case 4:e.next=10;break;case 6:throw e.prev=6,e.t0=e.catch(0),console.log(e.t0),e.t0;case 10:case"end":return e.stop()}}),e,this,[[0,6]])}))),n.dismissMigration=(0,pe.flow)(ue().mark((function e(){var t;return ue().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t=this.dashboardMigration.id,this.dashboardMigration=void 0,e.next=5,(0,ke.W)({location:ye.o,params:{migration:t}});case 5:e.next=11;break;case 7:throw e.prev=7,e.t0=e.catch(0),console.log(e.t0),e.t0;case 11:case"end":return e.stop()}}),e,this,[[0,7]])}))),n.addLinksToNavigationMenu=(0,pe.flow)(ue().mark((function e(t){var r,n;return ue().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busyAddLinksToNavigationMenu=!0,e.prev=1,e.next=4,(0,ke.W)({location:ge.i,request:{id:t}});case 4:if(r=e.sent,!(n=r.success)){e.next=10;break}return this.rootStore.checklistStore.fetchChecklist(),e.next=10,this.fetchCurrentRevision();case 10:return e.abrupt("return",n);case 13:throw e.prev=13,e.t0=e.catch(1),console.log(e.t0),e.t0;case 17:return e.prev=17,this.busyAddLinksToNavigationMenu=!1,e.finish(17);case 20:case"end":return e.stop()}}),e,this,[[1,13,17,20]])}))),n.updateCountryBypassDatabase=(0,pe.flow)(ue().mark((function e(){var t,r;return ue().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busyCountryBypassUpdate=!0,e.prev=1,e.next=4,(0,ke.W)({location:Ze._});case 4:t=e.sent,r=t.dbDownloadTime,this.countryBypassDbDownloadTime=r,e.next=13;break;case 9:throw e.prev=9,e.t0=e.catch(1),console.log(e.t0),e.t0;case 13:return e.prev=13,this.busyCountryBypassUpdate=!1,e.finish(13);case 16:case"end":return e.stop()}}),e,this,[[1,9,13,16]])}))),n.rootStore=e,n.pureSlug=fe.BaseOptions.getPureSlug({NODE_ENV:"production",env:"production",rootSlug:"devowl-wp",slug:"real-cookie-banner",PLUGIN_CTX:"lite",ANTD_PREFIX:"rcb-antd",IS_TCF:"1",TCF_CMP_ID:367}),n.pureSlugCamelCased=fe.BaseOptions.getPureSlug({NODE_ENV:"production",env:"production",rootSlug:"devowl-wp",slug:"real-cookie-banner",PLUGIN_CTX:"lite",ANTD_PREFIX:"rcb-antd",IS_TCF:"1",TCF_CMP_ID:367},!0),(0,pe.runInAction)((function(){return Object.assign((0,ie.Z)(n),window[n.pureSlugCamelCased])})),n}return(0,oe.Z)(r,[{key:"isOnlyRcbCookieCreated",get:function(){return!(1!==this.allCookieCount||this.tcf&&this.allTcfVendorConfigurationCount)}},{key:"areSettingsFetched",get:function(){return void 0!==this.respectDoNotTrack}},{key:"setFromCurrentRevision",value:function(e){var t=e.contexts,r=e.has_gtm,n=e.has_mtm,o=e.needs_retrigger,i=e.public_cookie_count,a=e.all_cookie_count,s=e.all_blocker_count,c=e.all_tcf_vendor_configuration_count,l=e.all_scanner_result_presets_count,u=e.all_scanner_result_external_urls_count,p=e.cookie_counts,f=e.nav_menus,b=e.tcf_vendor_configuration_counts,h=e.dashboard_migration,d=e.fomo_coupon;this.hasGTM=r,this.hasMTM=n,this.needsRevisionRetrigger=o,this.publicCookieCount=i,this.allCookieCount=a,this.allBlockerCount=s,this.allTcfVendorConfigurationCount=c,this.allScannerResultPresetsCount=l,this.allScannerResultExternalUrlsCount=u,this.cookieCounts=p,this.nav_menus=f,this.tcfVendorConfigurationCounts=b,this.contexts=t,this.dashboardMigration=h,this.fomoCoupon=d}},{key:"setShowLicenseFormImmediate",value:function(e,t){this.others.showLicenseFormImmediate=e,this.others.isLicensed=t}}]),r}(fe.BaseOptions),o=(0,ce.Z)(n.prototype,"busySettings",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),i=(0,ce.Z)(n.prototype,"busyCountryBypassUpdate",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),a=(0,ce.Z)(n.prototype,"busyAddLinksToNavigationMenu",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),s=(0,ce.Z)(n.prototype,"needsRevisionRetrigger",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),c=(0,ce.Z)(n.prototype,"publicCookieCount",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),l=(0,ce.Z)(n.prototype,"allCookieCount",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),u=(0,ce.Z)(n.prototype,"allBlockerCount",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),p=(0,ce.Z)(n.prototype,"allTcfVendorConfigurationCount",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),f=(0,ce.Z)(n.prototype,"allScannerResultPresetsCount",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),b=(0,ce.Z)(n.prototype,"allScannerResultExternalUrlsCount",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),h=(0,ce.Z)(n.prototype,"cookieCounts",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return{draft:0,private:0,publish:0}}}),d=(0,ce.Z)(n.prototype,"nav_menus",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),v=(0,ce.Z)(n.prototype,"tcfVendorConfigurationCounts",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=(0,ce.Z)(n.prototype,"hasGTM",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),y=(0,ce.Z)(n.prototype,"hasMTM",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),g=(0,ce.Z)(n.prototype,"contexts",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return{"":""}}}),Z=(0,ce.Z)(n.prototype,"dashboardMigration",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k=(0,ce.Z)(n.prototype,"fomoCoupon",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,ce.Z)(n.prototype,"bannerActive",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),R=(0,ce.Z)(n.prototype,"blockerActive",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),C=(0,ce.Z)(n.prototype,"imprintId",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=(0,ce.Z)(n.prototype,"imprintExternalUrl",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=(0,ce.Z)(n.prototype,"imprintIsExternalUrl",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,ce.Z)(n.prototype,"privacyPolicyId",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=(0,ce.Z)(n.prototype,"privacyPolicyExternalUrl",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),x=(0,ce.Z)(n.prototype,"privacyPolicyIsExternalUrl",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=(0,ce.Z)(n.prototype,"hidePageIds",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),D=(0,ce.Z)(n.prototype,"setCookiesViaManager",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),z=(0,ce.Z)(n.prototype,"acceptAllForBots",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=(0,ce.Z)(n.prototype,"respectDoNotTrack",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=(0,ce.Z)(n.prototype,"cookieDuration",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),M=(0,ce.Z)(n.prototype,"saveIp",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),A=(0,ce.Z)(n.prototype,"ePrivacyUSA",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),N=(0,ce.Z)(n.prototype,"ageNotice",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),B=(0,ce.Z)(n.prototype,"listServicesNotice",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),j=(0,ce.Z)(n.prototype,"consentForwarding",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),U=(0,ce.Z)(n.prototype,"forwardTo",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),V=(0,ce.Z)(n.prototype,"crossDomains",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),F=(0,ce.Z)(n.prototype,"affiliateLink",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),G=(0,ce.Z)(n.prototype,"affiliateLabelBehind",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),L=(0,ce.Z)(n.prototype,"affiliateLabelDescription",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),W=(0,ce.Z)(n.prototype,"countryBypass",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),H=(0,ce.Z)(n.prototype,"countryBypassCountries",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),q=(0,ce.Z)(n.prototype,"countryBypassType",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Y=(0,ce.Z)(n.prototype,"countryBypassDbDownloadTime",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),J=(0,ce.Z)(n.prototype,"tcf",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Q=(0,ce.Z)(n.prototype,"tcfPublisherCc",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),X=(0,ce.Z)(n.prototype,"tcfAcceptedTime",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),$=(0,ce.Z)(n.prototype,"tcfGvlDownloadTime",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),K=(0,ce.Z)(n.prototype,"tcfScopeOfConsent",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ee=(0,ce.Z)(n.prototype,"others",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,ce.Z)(n.prototype,"isOnlyRcbCookieCreated",[pe.computed],Object.getOwnPropertyDescriptor(n.prototype,"isOnlyRcbCookieCreated"),n.prototype),(0,ce.Z)(n.prototype,"areSettingsFetched",[pe.computed],Object.getOwnPropertyDescriptor(n.prototype,"areSettingsFetched"),n.prototype),(0,ce.Z)(n.prototype,"setFromCurrentRevision",[pe.action],Object.getOwnPropertyDescriptor(n.prototype,"setFromCurrentRevision"),n.prototype),(0,ce.Z)(n.prototype,"setShowLicenseFormImmediate",[pe.action],Object.getOwnPropertyDescriptor(n.prototype,"setShowLicenseFormImmediate"),n.prototype),n)},6696:function(e,t,r){r.d(t,{C:function(){return D}});var n,o,i,a,s,c,l,u,p,f,b=r(7870),h=r(38),d=r(6724),v=r(6762),m=r(3340),y=r(9303),g=r(5450),Z=r.n(g),k=r(7821),w=r(936),R=r(1313),C=r(1680),P=r(1629),S=r(6753),E=r(6354),_=r(5245),x=r(2091),O=r(3461),D=(n=function(){function e(t){(0,v.Z)(this,e),(0,d.Z)(this,"resultPresets",o,this),(0,d.Z)(this,"busyResultPresets",i,this),(0,d.Z)(this,"fetchedAllResultPresets",a,this),(0,d.Z)(this,"resultExternalUrls",s,this),(0,d.Z)(this,"resultAllExternalUrls",c,this),(0,d.Z)(this,"busyExternalUrls",l,this),(0,d.Z)(this,"fetchedAllResultExternalUrls",u,this),(0,d.Z)(this,"busyMarkup",p,this),(0,d.Z)(this,"resultMarkup",f,this),this.rootStore=void 0,this.addUrlsToQueue=(0,k.flow)(Z().mark((function e(t){return Z().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,P.W)({location:S.k,request:t});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),this.fetchResultPresets=(0,k.flow)(Z().mark((function e(){return Z().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busyResultPresets=!0,e.prev=1,e.t0=this,e.next=5,(0,P.W)({location:E.e});case 5:e.t1=e.sent,e.t0.resultPresetsFromResponse.call(e.t0,e.t1),this.fetchedAllResultPresets=!0,e.next=14;break;case 10:throw e.prev=10,e.t2=e.catch(1),console.log(e.t2),e.t2;case 14:return e.prev=14,this.busyResultPresets=!1,e.finish(14);case 17:case"end":return e.stop()}}),e,this,[[1,10,14,17]])}))),this.fetchResultExternals=(0,k.flow)(Z().mark((function e(){return Z().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busyExternalUrls=!0,e.prev=1,e.t0=this,e.next=5,(0,P.W)({location:_.M});case 5:e.t1=e.sent,e.t0.resultExternalUrlsFromResponse.call(e.t0,e.t1),this.fetchedAllResultExternalUrls=!0,e.next=14;break;case 10:throw e.prev=10,e.t2=e.catch(1),console.log(e.t2),e.t2;case 14:return e.prev=14,this.busyExternalUrls=!1,e.finish(14);case 17:case"end":return e.stop()}}),e,this,[[1,10,14,17]])}))),this.fetchResultAllExternals=(0,k.flow)(Z().mark((function e(t){var r,n,o,i,a,s,c,l,u,p,f,b;return Z().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t instanceof w.o?"host":"preset",n=t.identifier,t.busy=!0,e.prev=3,e.next=6,(0,P.W)({location:x.M,params:{type:r,identifier:"host"===r?n.replace(/\./g,"_"):n}});case 6:if(o=e.sent,i=o.items,a=this.resultAllExternalUrls.get(n)){s=i.map((function(e){return e.id})),c=(0,h.Z)(a.keys());try{for(c.s();!(l=c.n()).done;)u=l.value,-1===s.indexOf(u)&&a.delete(u)}catch(e){c.e(e)}finally{c.f()}}else a=new Map;for(p=0,f=Object.values(i);p<f.length;p++)b=f[p],a.set(b.id,new R.a(b,this)),this.resultAllExternalUrls.set(n,a);e.next=17;break;case 13:throw e.prev=13,e.t0=e.catch(3),console.log(e.t0),e.t0;case 17:return e.prev=17,t.busy=!1,e.finish(17);case 20:case"end":return e.stop()}}),e,this,[[3,13,17,20]])}))),this.fetchMarkup=(0,k.flow)(Z().mark((function e(t){var r;return Z().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busyMarkup=!0,e.prev=1,e.next=4,(0,P.W)({location:O.$,params:{id:t}});case 4:r=e.sent,this.resultMarkup.set(t,r),e.next=12;break;case 8:throw e.prev=8,e.t0=e.catch(1),console.log(e.t0),e.t0;case 12:return e.prev=12,this.busyMarkup=!1,e.finish(12);case 15:case"end":return e.stop()}}),e,this,[[1,8,12,15]])}))),this.rootStore=t}return(0,m.Z)(e,[{key:"sortedExternalUrls",get:function(){var e=Array.from(this.resultExternalUrls.values());return e.sort((function(e,t){return e.inactive===t.inactive?0:e.inactive?1:-1})),e}},{key:"presetsCount",get:function(){return this.fetchedAllResultPresets?this.resultPresets.size:this.rootStore.optionStore.allScannerResultPresetsCount}},{key:"externalUrlsCount",get:function(){return this.fetchedAllResultExternalUrls?this.resultExternalUrls.size:this.rootStore.optionStore.allScannerResultExternalUrlsCount}},{key:"canShowResults",get:function(){var e;return this.presetsCount+this.externalUrlsCount>0&&(null===(e=this.rootStore.checklistStore.checklist)||void 0===e?void 0:e.items.scanner.checked)}},{key:"foundScanResultsCount",get:function(){return this.resultPresets.size+this.resultExternalUrls.size}},{key:"needsAttentionCount",get:function(){return[].concat((0,b.Z)(this.resultPresets.values()),(0,b.Z)(this.resultExternalUrls.values())).filter((function(e){return!e.inactive})).length}},{key:"resultPresetsFromResponse",value:function(e){var t,r=e.items,n=Object.keys(r),o=(0,h.Z)(this.resultPresets.keys());try{for(o.s();!(t=o.n()).done;){var i=t.value;-1===n.indexOf(i)&&this.resultPresets.delete(i)}}catch(e){o.e(e)}finally{o.f()}for(var a=0,s=n;a<s.length;a++){var c=s[a];this.resultPresets.set(c,new C.g(r[c],this))}}},{key:"resultExternalUrlsFromResponse",value:function(e){var t,r=e.items,n=Object.keys(r),o=(0,h.Z)(this.resultExternalUrls.keys());try{for(o.s();!(t=o.n()).done;){var i=t.value;-1===n.indexOf(i)&&this.resultExternalUrls.delete(i)}}catch(e){o.e(e)}finally{o.f()}for(var a=0,s=n;a<s.length;a++){var c=s[a];this.resultExternalUrls.set(c,new w.o(r[c],this))}}}]),e}(),o=(0,y.Z)(n.prototype,"resultPresets",[k.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),i=(0,y.Z)(n.prototype,"busyResultPresets",[k.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),a=(0,y.Z)(n.prototype,"fetchedAllResultPresets",[k.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),s=(0,y.Z)(n.prototype,"resultExternalUrls",[k.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),c=(0,y.Z)(n.prototype,"resultAllExternalUrls",[k.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),l=(0,y.Z)(n.prototype,"busyExternalUrls",[k.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),u=(0,y.Z)(n.prototype,"fetchedAllResultExternalUrls",[k.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),p=(0,y.Z)(n.prototype,"busyMarkup",[k.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),f=(0,y.Z)(n.prototype,"resultMarkup",[k.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),(0,y.Z)(n.prototype,"sortedExternalUrls",[k.computed],Object.getOwnPropertyDescriptor(n.prototype,"sortedExternalUrls"),n.prototype),(0,y.Z)(n.prototype,"presetsCount",[k.computed],Object.getOwnPropertyDescriptor(n.prototype,"presetsCount"),n.prototype),(0,y.Z)(n.prototype,"externalUrlsCount",[k.computed],Object.getOwnPropertyDescriptor(n.prototype,"externalUrlsCount"),n.prototype),(0,y.Z)(n.prototype,"canShowResults",[k.computed],Object.getOwnPropertyDescriptor(n.prototype,"canShowResults"),n.prototype),(0,y.Z)(n.prototype,"foundScanResultsCount",[k.computed],Object.getOwnPropertyDescriptor(n.prototype,"foundScanResultsCount"),n.prototype),(0,y.Z)(n.prototype,"needsAttentionCount",[k.computed],Object.getOwnPropertyDescriptor(n.prototype,"needsAttentionCount"),n.prototype),(0,y.Z)(n.prototype,"resultPresetsFromResponse",[k.action],Object.getOwnPropertyDescriptor(n.prototype,"resultPresetsFromResponse"),n.prototype),(0,y.Z)(n.prototype,"resultExternalUrlsFromResponse",[k.action],Object.getOwnPropertyDescriptor(n.prototype,"resultExternalUrlsFromResponse"),n.prototype),n)},6228:function(e,t,r){r.d(t,{e:function(){return y}});var n,o,i=r(6724),a=r(6762),s=r(3340),c=r(5558),l=r(3841),u=r(5952),p=r(9303),f=r(5450),b=r.n(f),h=r(7821),d=r(8700),v=r(8488),m=r.n(v),y=(n=function(e){(0,l.Z)(r,e);var t=(0,u.Z)(r);function r(e){var n;return(0,a.Z)(this,r),n=t.call(this),(0,i.Z)(n,"busyStats",o,(0,c.Z)(n)),n.rootStore=void 0,n.stats=h.observable.object({main:void 0,buttonsClicked:void 0,customBypass:void 0},{},{deep:!1}),n.filters=h.observable.object({dates:void 0,context:void 0},{},{deep:!1}),n.fetchMain=(0,h.flow)(b().mark((function e(){return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.next=3;break;case 3:throw new Error("This feature is not available in the free version.");case 4:case"end":return e.stop()}}),e)}))),n.fetchButtonsClicked=(0,h.flow)(b().mark((function e(){return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.next=3;break;case 3:throw new Error("This feature is not available in the free version.");case 4:case"end":return e.stop()}}),e)}))),n.fetchCustomBypass=(0,h.flow)(b().mark((function e(){return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.next=3;break;case 3:throw new Error("This feature is not available in the free version.");case 4:case"end":return e.stop()}}),e)}))),n.rootStore=e,(0,h.runInAction)((function(){n.filters.dates=[m()().subtract(30,"days"),m()()],n.filters.context=n.rootStore.optionStore.others.context})),n}return(0,s.Z)(r,[{key:"applyDates",value:function(e){this.filters.dates=e}},{key:"applyContext",value:function(e){this.filters.context=e}}]),r}(d.BaseOptions),o=(0,p.Z)(n.prototype,"busyStats",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return{main:!1,buttonClicked:!1,customBypass:!1}}}),(0,p.Z)(n.prototype,"applyDates",[h.action],Object.getOwnPropertyDescriptor(n.prototype,"applyDates"),n.prototype),(0,p.Z)(n.prototype,"applyContext",[h.action],Object.getOwnPropertyDescriptor(n.prototype,"applyContext"),n.prototype),n)},4163:function(e,t,r){r.d(t,{M:function(){return d},m:function(){return v}});var n=r(6762),o=r(3340),i=r(7821),a=r(8700),s=r(5951),c=r(7602),l=r(2237),u=r(3880),p=r(6228),f=r(2819),b=r(5305),h=r(6696);(0,i.configure)({enforceActions:"always"});var d=function(){function e(){(0,n.Z)(this,e),this.optionStore=void 0,this.customizeBannerStore=void 0,this.cookieStore=void 0,this.consentStore=void 0,this.statsStore=void 0,this.checklistStore=void 0,this.tcfStore=void 0,this.scannerStore=void 0,this.contextMemo=void 0,this.optionStore=new s.a(this),this.customizeBannerStore=new c.W(this),this.cookieStore=new l.h(this),this.consentStore=new u.v(this),this.statsStore=new p.e(this),this.checklistStore=new f.L(this),this.tcfStore=new b.z(this),this.scannerStore=new h.C(this)}return(0,o.Z)(e,[{key:"context",get:function(){return this.contextMemo?this.contextMemo:this.contextMemo=(0,a.createContextFactory)(this)}}],[{key:"StoreProvider",get:function(){return e.get.context.StoreProvider}},{key:"get",get:function(){return e.me?e.me:e.me=new e}}]),e}();d.me=void 0;var v=function(){return d.get.context.useStores()}},5305:function(e,t,r){r.d(t,{z:function(){return A}});var n,o,i,a,s,c,l,u,p,f,b,h,d,v,m=r(6724),y=r(6762),g=r(3340),Z=r(5558),k=r(3841),w=r(5952),R=r(9303),C=r(5450),P=r.n(C),S=r(7821),E=r(8700),_=r(8523),x=r(3854),O=r(9945),D=r(1629),z=r(7037),T=r(8905),I=r(6846),M=r(1833),A=(n=function(e){(0,k.Z)(r,e);var t=(0,w.Z)(r);function r(e){var n;return(0,y.Z)(this,r),n=t.call(this),(0,m.Z)(n,"busyGvl",o,(0,Z.Z)(n)),(0,m.Z)(n,"busyVendors",i,(0,Z.Z)(n)),(0,m.Z)(n,"busyDeclarations",a,(0,Z.Z)(n)),(0,m.Z)(n,"vendorConfigurations",s,(0,Z.Z)(n)),(0,m.Z)(n,"fetchedAllVendorConfigurations",c,(0,Z.Z)(n)),(0,m.Z)(n,"vendorListVersion",l,(0,Z.Z)(n)),(0,m.Z)(n,"gvlSpecificationVersion",u,(0,Z.Z)(n)),(0,m.Z)(n,"tcfPolicyVersion",p,(0,Z.Z)(n)),(0,m.Z)(n,"vendors",f,(0,Z.Z)(n)),(0,m.Z)(n,"purposes",b,(0,Z.Z)(n)),(0,m.Z)(n,"specialPurposes",h,(0,Z.Z)(n)),(0,m.Z)(n,"features",d,(0,Z.Z)(n)),(0,m.Z)(n,"specialFeatures",v,(0,Z.Z)(n)),n.rootStore=void 0,n.fetchVendorConfigurations=(0,S.flow)(P().mark((function e(){var t,r,n;return P().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=100,r=Math.ceil(this.vendorConfigurationCount/t),n=0;case 3:if(!(n<r)){e.next=9;break}return e.next=6,this.vendorConfigurations.get({request:{status:["draft","publish","private"]},params:{offset:n*t,per_page:100,context:"edit"}});case 6:n++,e.next=3;break;case 9:this.fetchedAllVendorConfigurations=!0;case 10:case"end":return e.stop()}}),e,this)}))),n.fetchVendors=(0,S.flow)(P().mark((function e(){var t,r,n,o,i,a;return P().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busyVendors=!0,e.prev=1,e.next=4,(0,D.W)({location:x.f});case 4:for(t=e.sent,r=t.vendorListVersion,n=t.vendors,o=0,i=Object.keys(n);o<i.length;o++)a=i[o],this.vendors.set(a,new z.C(n[a],this));this.vendorListVersion=r,e.next=15;break;case 11:throw e.prev=11,e.t0=e.catch(1),console.log(e.t0),e.t0;case 15:return e.prev=15,this.busyVendors=!1,e.finish(15);case 18:case"end":return e.stop()}}),e,this,[[1,11,15,18]])}))),n.fetchDeclarations=(0,S.flow)(P().mark((function e(){var t,r,n,o,i,a,s,c,l,u,p,f,b,h,d,v,m,y,g;return P().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busyDeclarations=!0,e.prev=1,e.next=4,(0,D.W)({location:_.Y});case 4:for(t=e.sent,r=t.gvlSpecificationVersion,n=t.tcfPolicyVersion,o=t.purposes,i=t.specialPurposes,a=t.features,s=t.specialFeatures,c=0,l=Object.keys(o);c<l.length;c++)u=l[c],this.purposes.set(u,new T.v(o[u],!1,this));for(p=0,f=Object.keys(i);p<f.length;p++)b=f[p],this.specialPurposes.set(b,new T.v(i[b],!0,this));for(h=0,d=Object.keys(a);h<d.length;h++)v=d[h],this.features.set(v,new I.i(a[v],!1,this));for(m=0,y=Object.keys(s);m<y.length;m++)g=y[m],this.specialFeatures.set(g,new I.i(s[g],!0,this));this.gvlSpecificationVersion=r,this.tcfPolicyVersion=n,e.next=23;break;case 19:throw e.prev=19,e.t0=e.catch(1),console.log(e.t0),e.t0;case 23:return e.prev=23,this.busyDeclarations=!1,e.finish(23);case 26:case"end":return e.stop()}}),e,this,[[1,19,23,26]])}))),n.updateGvl=(0,S.flow)(P().mark((function e(){var t,r;return P().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busyGvl=!0,e.prev=1,e.next=4,(0,D.W)({location:O.y});case 4:t=e.sent,r=t.gvlDownloadTime,this.rootStore.optionStore.tcfGvlDownloadTime=r,e.next=13;break;case 9:throw e.prev=9,e.t0=e.catch(1),console.log(e.t0),e.t0;case 13:return e.prev=13,this.busyGvl=!1,e.finish(13);case 16:case"end":return e.stop()}}),e,this,[[1,9,13,16]])}))),n.rootStore=e,(0,S.runInAction)((function(){n.vendorConfigurations=new M.C((0,Z.Z)(n))})),n}return(0,g.Z)(r,[{key:"vendorConfigurationCount",get:function(){return this.fetchedAllVendorConfigurations?this.vendorConfigurations.entries.size:this.rootStore.optionStore.allTcfVendorConfigurationCount}}]),r}(E.BaseOptions),o=(0,R.Z)(n.prototype,"busyGvl",[S.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),i=(0,R.Z)(n.prototype,"busyVendors",[S.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),a=(0,R.Z)(n.prototype,"busyDeclarations",[S.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),s=(0,R.Z)(n.prototype,"vendorConfigurations",[S.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=(0,R.Z)(n.prototype,"fetchedAllVendorConfigurations",[S.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),l=(0,R.Z)(n.prototype,"vendorListVersion",[S.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,R.Z)(n.prototype,"gvlSpecificationVersion",[S.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=(0,R.Z)(n.prototype,"tcfPolicyVersion",[S.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=(0,R.Z)(n.prototype,"vendors",[S.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),b=(0,R.Z)(n.prototype,"purposes",[S.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),h=(0,R.Z)(n.prototype,"specialPurposes",[S.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),d=(0,R.Z)(n.prototype,"features",[S.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),v=(0,R.Z)(n.prototype,"specialFeatures",[S.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),(0,R.Z)(n.prototype,"vendorConfigurationCount",[S.computed],Object.getOwnPropertyDescriptor(n.prototype,"vendorConfigurationCount"),n.prototype),n)},4548:function(e,t,r){r.d(t,{u:function(){return n},b:function(){return o}});var n="rcb-scan",o="rcb-automatic-scan-starter"},4913:function(e,t,r){function n(e){var t=document.createElement("textarea");t.innerText=e,document.body.appendChild(t),t.select(),document.execCommand("copy"),t.remove()}r.d(t,{v:function(){return n}})},625:function(e,t,r){function n(){return window["real-cookie-banner".replace(/-([a-z])/g,(function(e){return e[1].toUpperCase()}))]}r.d(t,{m:function(){return n}})},3438:function(e,t,r){r.d(t,{u:function(){return o}});var n=r(625);function o(){return(0,n.m)().others}},8630:function(e,t,r){r.d(t,{_n:function(){return a},__:function(){return s},_i:function(){return c}});var n,o=r(8700);function i(){return n||(n=(0,o.createLocalizationFactory)(o.BaseOptions.getPureSlug({NODE_ENV:"production",env:"production",rootSlug:"devowl-wp",slug:"real-cookie-banner",PLUGIN_CTX:"lite",ANTD_PREFIX:"rcb-antd",IS_TCF:"1",TCF_CMP_ID:367})))}var a=function(){var e;return(e=i())._n.apply(e,arguments)},s=function(){var e;return(e=i()).__.apply(e,arguments)},c=function(){var e;return(e=i())._i.apply(e,arguments)}},1629:function(e,t,r){r.d(t,{Y:function(){return a},W:function(){return s}});var n,o=r(8700);function i(){return n||(n=(0,o.createRequestFactory)(window[o.BaseOptions.getPureSlug({NODE_ENV:"production",env:"production",rootSlug:"devowl-wp",slug:"real-cookie-banner",PLUGIN_CTX:"lite",ANTD_PREFIX:"rcb-antd",IS_TCF:"1",TCF_CMP_ID:367},!0)]))}var a=function(){var e;return(e=i()).urlBuilder.apply(e,arguments)},s=function(){var e;return(e=i()).request.apply(e,arguments)}},7819:function(e,t,r){function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;document.body.scrollTop=e,document.documentElement.scrollTop=e}r.d(t,{X:function(){return n}})},3190:function(e,t,r){function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"...";if(!e||e.length<=t)return e;var n=r.length,o=t-n,i=Math.ceil(o/2),a=Math.floor(o/2);return e.substr(0,i)+r+e.substr(e.length-a)}r.d(t,{r:function(){return n}})},986:function(e,t,r){r.d(t,{g:function(){return n}});var n={path:"/checklist",method:r(8700).RouteHttpVerb.GET}},8930:function(e,t,r){r.d(t,{s:function(){return n}});var n={path:"/checklist/:id",method:r(8700).RouteHttpVerb.PUT}},6465:function(e,t,r){r.d(t,{O:function(){return n}});var n={path:"/consent/all",method:r(8700).RouteHttpVerb.DELETE}},5151:function(e,t,r){r.d(t,{c:function(){return n}});var n={path:"/consent/all",method:r(8700).RouteHttpVerb.GET}},9437:function(e,t,r){r.d(t,{q:function(){return n}});var n={path:"/consent/referer",method:r(8700).RouteHttpVerb.GET}},5354:function(e,t,r){r.d(t,{B:function(){return n}});var n={path:"/cookie-groups/order",method:r(8700).RouteHttpVerb.PUT}},6764:function(e,t,r){r.d(t,{p:function(){return n}});var n={path:"/cookies/unassigned",method:r(8700).RouteHttpVerb.GET}},7068:function(e,t,r){r.d(t,{I:function(){return n}});var n={path:"/cookies/order",method:r(8700).RouteHttpVerb.PUT}},1719:function(e,t,r){r.d(t,{_:function(){return n}});var n={path:"/country-bypass/database",method:r(8700).RouteHttpVerb.PUT}},9600:function(e,t,r){r.d(t,{V:function(){return n}});var n={path:"/export",method:r(8700).RouteHttpVerb.GET}},7732:function(e,t,r){r.d(t,{Q:function(){return n}});var n={path:"/export/consents",method:r(8700).RouteHttpVerb.GET}},2388:function(e,t,r){r.d(t,{V:function(){return n}});var n={path:"/forward/cookie/:slug",method:r(8700).RouteHttpVerb.GET}},7025:function(e,t,r){r.d(t,{A:function(){return n}});var n={path:"/forward/endpoints",method:r(8700).RouteHttpVerb.GET}},7972:function(e,t,r){r.d(t,{H:function(){return n}});var n={path:"/import",method:r(8700).RouteHttpVerb.POST}},836:function(e,t,r){r.d(t,{gn:function(){return C.g},s5:function(){return P.s},Ok:function(){return v.O},cI:function(){return d.c},rz:function(){return w},aY:function(){return B},vY:function(){return _},JQ:function(){return f},PM:function(){return p},qD:function(){return Y.q},BI:function(){return c.B},pV:function(){return S.p},It:function(){return l.I},_3:function(){return j._},QB:function(){return R.Q},Vm:function(){return Z.V},Vc:function(){return x.V},AW:function(){return E.A},HR:function(){return k.H},nQ:function(){return O.n},oW:function(){return V.o},nX:function(){return U.n},iO:function(){return J.i},tX:function(){return i.t},N9:function(){return T.N},Wu:function(){return a.W},tw:function(){return I.t},zf:function(){return s.z},GQ:function(){return b.G},a4:function(){return h.a},Z1:function(){return D.Z},TB:function(){return z.T},kv:function(){return F.k},ME:function(){return H.M},Ce:function(){return W.C},MQ:function(){return L.M},$5:function(){return q.$},eO:function(){return G.e},$Q:function(){return g},gh:function(){return y},BV:function(){return m},Y3:function(){return N.Y},yR:function(){return M.y},fs:function(){return A.f},g3:function(){return n.g},J3:function(){return o.J}});var n=r(8628),o=r(5614),i=r(4504),a=r(7689),s=r(3352),c=r(5354),l=r(7068),u=r(8700),p={path:"/consent",method:u.RouteHttpVerb.POST},f={path:"/consent",method:u.RouteHttpVerb.GET},b=r(3531),h=r(5482),d=r(5151),v=r(6465),m={path:"/stats/main",method:u.RouteHttpVerb.GET},y={path:"/stats/customBypass",method:u.RouteHttpVerb.GET},g={path:"/stats/buttonsClicked",method:u.RouteHttpVerb.GET},Z=r(9600),k=r(7972),w={path:"/consent/clear",method:u.RouteHttpVerb.DELETE},R=r(7732),C=r(986),P=r(8930),S=r(6764),E=r(7025),_={path:"/consent/forward",method:u.RouteHttpVerb.POST},x=r(2388),O=r(7532),D=r(2616),z=r(5253),T=r(1535),I=r(1500),M=r(9945),A=r(3854),N=r(8523),B={path:"/consent/dynamic-predecision",method:u.RouteHttpVerb.GET},j=r(1719),U=r(9564),V=r(3128),F=r(6753),G=r(6354),L=r(5245),W=r(4227),H=r(2091),q=r(3461),Y=r(9437),J=r(9925)},7532:function(e,t,r){r.d(t,{n:function(){return n}});var n={path:"/dismiss-config-page-pro-notice",method:r(8700).RouteHttpVerb.DELETE}},3128:function(e,t,r){r.d(t,{o:function(){return n}});var n={path:"/migration/:migration",method:r(8700).RouteHttpVerb.DELETE}},9564:function(e,t,r){r.d(t,{n:function(){return n}});var n={path:"/migration/:migration/:action",method:r(8700).RouteHttpVerb.POST}},8335:function(e,t,r){r.d(t,{C:function(){return n}});var n={path:"/modal-hint",method:r(8700).RouteHttpVerb.PUT}},9925:function(e,t,r){r.d(t,{i:function(){return n}});var n={path:"/nav-menu/add-links",method:r(8700).RouteHttpVerb.POST}},4504:function(e,t,r){r.d(t,{t:function(){return n}});var n={path:"/presets/banner",method:r(8700).RouteHttpVerb.GET}},7689:function(e,t,r){r.d(t,{W:function(){return n}});var n={path:"/presets/blocker",method:r(8700).RouteHttpVerb.GET}},1535:function(e,t,r){r.d(t,{N:function(){return n}});var n={path:"/presets/blocker/:identifier",method:r(8700).RouteHttpVerb.GET}},3352:function(e,t,r){r.d(t,{z:function(){return n}});var n={path:"/presets/cookies",method:r(8700).RouteHttpVerb.GET}},1500:function(e,t,r){r.d(t,{t:function(){return n}});var n={path:"/presets/cookies/:identifier",method:r(8700).RouteHttpVerb.GET}},2616:function(e,t,r){r.d(t,{Z:function(){return n}});var n={path:"/revision/:hash",method:r(8700).RouteHttpVerb.GET}},3531:function(e,t,r){r.d(t,{G:function(){return n}});var n={path:"/revision/current",method:r(8700).RouteHttpVerb.GET}},5482:function(e,t,r){r.d(t,{a:function(){return n}});var n={path:"/revision/current",method:r(8700).RouteHttpVerb.PUT}},5253:function(e,t,r){r.d(t,{T:function(){return n}});var n={path:"/revision/independent/:hash",method:r(8700).RouteHttpVerb.GET}},6753:function(e,t,r){r.d(t,{k:function(){return n}});var n={path:"/scanner/queue",method:r(8700).RouteHttpVerb.POST}},2091:function(e,t,r){r.d(t,{M:function(){return n}});var n={path:"/scanner/result/externals/:type/:identifier",method:r(8700).RouteHttpVerb.GET}},5245:function(e,t,r){r.d(t,{M:function(){return n}});var n={path:"/scanner/result/externals",method:r(8700).RouteHttpVerb.GET}},4227:function(e,t,r){r.d(t,{C:function(){return n}});var n={path:"/scanner/result/externals/:host",method:r(8700).RouteHttpVerb.PUT}},3461:function(e,t,r){r.d(t,{$:function(){return n}});var n={path:"/scanner/result/markup/:id",method:r(8700).RouteHttpVerb.GET}},6354:function(e,t,r){r.d(t,{e:function(){return n}});var n={path:"/scanner/result/presets",method:r(8700).RouteHttpVerb.GET}},8523:function(e,t,r){r.d(t,{Y:function(){return n}});var n={path:"/tcf/declarations",method:r(8700).RouteHttpVerb.GET}},9945:function(e,t,r){r.d(t,{y:function(){return n}});var n={path:"/tcf/gvl",method:r(8700).RouteHttpVerb.PUT}},3854:function(e,t,r){r.d(t,{f:function(){return n}});var n={path:"/tcf/vendors",method:r(8700).RouteHttpVerb.GET}},8628:function(e,t,r){r.d(t,{g:function(){return n}});var n={path:"/settings",namespace:"wp/v2",method:r(8700).RouteHttpVerb.GET}},5614:function(e,t,r){r.d(t,{J:function(){return n}});var n={path:"/settings",namespace:"wp/v2",method:r(8700).RouteHttpVerb.PATCH}},7830:function(){},5036:function(){},7363:function(e){e.exports=React},1533:function(e){e.exports=ReactDOM},6711:function(e){e.exports=ReactRouterDOM},490:function(e){e.exports=devowlWp_customize},9445:function(e){e.exports=devowlWp_realProductManagerWpClient},6:function(e){e.exports=devowlWp_realQueue},8700:function(e){e.exports=devowlWp_utils},5311:function(e){e.exports=jQuery},7821:function(e){e.exports=mobx},8488:function(e){e.exports=moment},5998:function(e){e.exports=wp}},o={};function i(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={id:e,loaded:!1,exports:{}};return n[e](r,r.exports,i),r.loaded=!0,r.exports}i.m=n,e=[],i.O=function(t,r,n,o){if(!r){var a=1/0;for(u=0;u<e.length;u++){r=e[u][0],n=e[u][1],o=e[u][2];for(var s=!0,c=0;c<r.length;c++)(!1&o||a>=o)&&Object.keys(i.O).every((function(e){return i.O[e](r[c])}))?r.splice(c--,1):(s=!1,o<a&&(a=o));if(s){e.splice(u--,1);var l=n();void 0!==l&&(t=l)}}return t}o=o||0;for(var u=e.length;u>0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[r,n,o]},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,{a:t}),t},i.d=function(e,t){for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.f={},i.e=function(e){return Promise.all(Object.keys(i.f).reduce((function(t,r){return i.f[r](e,t),t}),[]))},i.u=function(e){return({3:"chunk-config-tab-scanner",184:"chunk-config-tab-tcf",322:"chunk-config-tab-licensing",357:"chunk-config-tab-import",379:"chunk-config-tab-dashboard",478:"chunk-config-tab-blocker",625:"chunk-config-tab-consent",718:"chunk-config-tab-cookies",768:"chunk-config-tab-settings"}[e]||e)+".lite.js?ver="+{3:"3396f8de7a481b37574c",18:"bbe976f46f8c4fbf81dd",184:"c32d36b137312e877227",193:"ce7e07933bcbf069b690",322:"5c2f6da5cc7ee35eb438",348:"abbf191fbb205192b084",357:"aa4cceeded8c7886e587",379:"7f2104ebbeac40af02e1",418:"c4956b21bc9d963cb475",440:"abce2a866d4b5996c6bb",478:"27ab7f77b81184903fc6",625:"04947f9b1d7bdcee2c59",673:"58173e3267c0347ea7f6",702:"d36242a4194f3398f94b",718:"00d3df54471611d067ac",756:"f3849d000e561ec0fd57",768:"ea0e4f32a86dde89431e",795:"ef626740f77410656823",812:"7fc67df73ab1e18cb76d",836:"c7ca2ba5ab10c3fe8b54",914:"2979ca58d101a6abfbf5",933:"294161804e645e16e3c0",954:"ae9f41fd529870001463",995:"f133f83b7bdd4f1ccce1"}[e]},i.miniCssF=function(e){return"admin.css"},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t={},r="realCookieBanner_[name]:",i.l=function(e,n,o,a){if(t[e])t[e].push(n);else{var s,c;if(void 0!==o)for(var l=document.getElementsByTagName("script"),u=0;u<l.length;u++){var p=l[u];if(p.getAttribute("src")==e||p.getAttribute("data-webpack")==r+o){s=p;break}}s||(c=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,i.nc&&s.setAttribute("nonce",i.nc),s.setAttribute("data-webpack",r+o),s.src=e),t[e]=[n];var f=function(r,n){s.onerror=s.onload=null,clearTimeout(b);var o=t[e];if(delete t[e],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach((function(e){return e(n)})),r)return r(n)},b=setTimeout(f.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=f.bind(null,s.onerror),s.onload=f.bind(null,s.onload),c&&document.head.appendChild(s)}},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},function(){var e;i.g.importScripts&&(e=i.g.location+"");var t=i.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");r.length&&(e=r[r.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),i.p=e}(),function(){var e={328:0};i.f.j=function(t,r){var n=i.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var o=new Promise((function(r,o){n=e[t]=[r,o]}));r.push(n[2]=o);var a=i.p+i.u(t),s=new Error;i.l(a,(function(r){if(i.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+a+")",s.name="ChunkLoadError",s.type=o,s.request=a,n[1](s)}}),"chunk-"+t,t)}},i.O.j=function(t){return 0===e[t]};var t=function(t,r){var n,o,a=r[0],s=r[1],c=r[2],l=0;if(a.some((function(t){return 0!==e[t]}))){for(n in s)i.o(s,n)&&(i.m[n]=s[n]);if(c)var u=c(i)}for(t&&t(r);l<a.length;l++)o=a[l],i.o(e,o)&&e[o]&&e[o][0](),e[a[l]]=0;return i.O(u)},r=self.webpackChunkrealCookieBanner_name_=self.webpackChunkrealCookieBanner_name_||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))}();var a=i.O(void 0,[194],(function(){return i(5954)}));a=i.O(a),realCookieBanner_admin=a}();
|
2 |
//# sourceMappingURL=admin.lite.js.map
|
1 |
+
var realCookieBanner_admin;!function(){"use strict";var e,t,r,n={6833:function(e,t,r){var n,o;r.d(t,{r:function(){return n}}),function(e){e.Cookie="cookie",e.Web="web",e.App="app"}(n||(n={})),function(e){e.Bulgarian="bg",e.Catalan="ca",e.Czech="cs",e.Danish="da",e.German="de",e.Greek="el",e.Spanish="es",e.Estonian="et",e.Basque="eus",e.Finnish="fi",e.French="fr",e.Galician="gl",e.Croatian="hr",e.Hungarian="hu",e.Italian="it",e.Japanese="ja",e.Lithuanian="lt",e.Latvian="lv",e.Maltese="mt",e.Dutch="nl",e.Norwegian="no",e.Polish="pl",e.Portuguese="pt",e.Romanian="ro",e.SerbianCyrillic="sr-Cyrl",e.SerbianLatin="sr-Latn",e.Russian="ru",e.Slovak="sk",e.Slovenian="sl",e.Swedish="sv",e.Turkish="tr",e.Chinese="zh"}(o||(o={}))},3137:function(e,t,r){function n(e){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(e)}r.d(t,{C:function(){return n}})},4491:function(e,t,r){r.d(t,{E:function(){return i}});var n=r(7363),o=/(\r\n|\r|\n|<br[ ]?\/>)/g,i=function(e){return e.split(o).map((function(e,t){return e.match(o)?(0,n.createElement)("br",{key:t}):e}))}},5954:function(e,t,r){r.r(t),r.d(t,{locationRestChecklistGet:function(){return Z.gn},locationRestChecklistPut:function(){return Z.s5},locationRestConsentAllDelete:function(){return Z.Ok},locationRestConsentAllGet:function(){return Z.cI},locationRestConsentClearDelete:function(){return Z.rz},locationRestConsentDynamicPredecisionGet:function(){return Z.aY},locationRestConsentForwardPost:function(){return Z.vY},locationRestConsentGet:function(){return Z.JQ},locationRestConsentPost:function(){return Z.PM},locationRestConsentRefererGet:function(){return Z.qD},locationRestCookieGroupOrderPut:function(){return Z.BI},locationRestCookieUnassignedGet:function(){return Z.pV},locationRestCookiesOrderPut:function(){return Z.It},locationRestCountryBypassDatabasePut:function(){return Z._3},locationRestExportConsentsGet:function(){return Z.QB},locationRestExportGet:function(){return Z.Vm},locationRestForwardCookieGet:function(){return Z.Vc},locationRestForwardEndpointsGet:function(){return Z.AW},locationRestImportPost:function(){return Z.HR},locationRestLiteDismissConfigPageProNotice:function(){return Z.nQ},locationRestMigrationDelete:function(){return Z.oW},locationRestMigrationPost:function(){return Z.nX},locationRestNavMenuAddLinksPost:function(){return Z.iO},locationRestPresetsBannerGet:function(){return Z.tX},locationRestPresetsBlockerAttributesGet:function(){return Z.N9},locationRestPresetsBlockerGet:function(){return Z.Wu},locationRestPresetsCookiesAttributesGet:function(){return Z.tw},locationRestPresetsCookiesGet:function(){return Z.zf},locationRestRevisionCurrentGet:function(){return Z.GQ},locationRestRevisionCurrentPut:function(){return Z.a4},locationRestRevisionGet:function(){return Z.Z1},locationRestRevisionIndependentGet:function(){return Z.TB},locationRestScannerQueuePost:function(){return Z.kv},locationRestScannerResultAllExternalUrlsByHostGet:function(){return Z.ME},locationRestScannerResultExternalPatch:function(){return Z.Ce},locationRestScannerResultExternalsGet:function(){return Z.MQ},locationRestScannerResultMarkupGet:function(){return Z.$5},locationRestScannerResultPresetsGet:function(){return Z.eO},locationRestStatsButtonsClickedGet:function(){return Z.$Q},locationRestStatsCustomBypassGet:function(){return Z.gh},locationRestStatsMainGet:function(){return Z.BV},locationRestTcfDeclarationsGet:function(){return Z.Y3},locationRestTcfGvlPut:function(){return Z.yR},locationRestTcfVendorsGet:function(){return Z.fs},locationRestWpSettings:function(){return Z.g3},locationRestWpSettingsPatch:function(){return Z.J3},ChecklistStore:function(){return k.L_},ConsentStore:function(){return k.v},CookieStore:function(){return k.hc},CustomizeBannerStore:function(){return k.WS},OptionStore:function(){return k.aZ},RootStore:function(){return k.My},ScannerStore:function(){return k.Cu},StatsStore:function(){return k.et},TcfStore:function(){return k.z},useStores:function(){return k.mZ}});var n=r(8782),o=r(3249),i=r(63),a=r(7938),s=r(5450),c=r.n(s),l=(r(3523),r(1533)),u=r(4163),p=r(7110),f=(r(5036),r(7830),r(8488)),b=r.n(f),h=r(8700),d=r(1629),v={};for(var m in h)"default"!==m&&(v[m]=function(e){return h[e]}.bind(0,m));r.d(t,v);var y,g,Z=r(836),k=r(8783);r.p=(0,h.getWebpackPublicPath)({NODE_ENV:"production",env:"production",rootSlug:"devowl-wp",slug:"real-cookie-banner",PLUGIN_CTX:"lite",ANTD_PREFIX:"rcb-antd",IS_TCF:"1",TCF_CMP_ID:367}),null===h.handleCorrupRestApi||void 0===h.handleCorrupRestApi||(0,h.handleCorrupRestApi)((y={},(0,i.Z)(y,u.M.get.optionStore.restNamespace,(0,a.Z)(c().mark((function e(){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.W)({location:{path:"/plugin"}});case 2:case"end":return e.stop()}}),e)})))),(0,i.Z)(y,"wp/v2",(g=(0,a.Z)(c().mark((function e(){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.W)({location:{path:"/settings",namespace:"wp/v2"}});case 2:case"end":return e.stop()}}),e)}))),function(){return g.apply(this,arguments)})),y)),o.ZP.config({prefixCls:"rcb-antd"}),n.ZP.config({top:50});var w=document.getElementById("".concat(u.M.get.optionStore.slug,"-component"));w&&(0,l.render)(React.createElement(o.ZP,{prefixCls:"rcb-antd",locale:{locale:b().locale()}},React.createElement(u.M.StoreProvider,null,React.createElement(p.K,null))),w)},6395:function(e,t,r){r.d(t,{b:function(){return w}});var n=r(9591),o=r(4094),i=r(4741),a=r(6107),s=r(7228),c=r(4115),l=r(7363),u=r(3554),p=r(8630),f=r(1857),b=r(5406),h=r(8719),d=r(3025),v=r(4163),m=r(2780),y=r(971),g=r(3004),Z=(0,u.Pi)((function(e){var t=e.id,r=e.checked,n=e.title,o=e.description,i=e.link,s=e.linkText,c=e.linkTarget,l=e.needsPro,u=e.onLinkClick,Z=(0,v.m)().optionStore,k=Z.others.isPro,w=Z.fomoCoupon,R=!k&&l,C=null,P=null,S=i;switch(t){case"scanner":var E=(0,m.p)(),_=E.percent,x=E.remaining,O=E.currentJob;x>0&&_>0&&(null==O?void 0:O.group_position)>0&&(C=React.createElement(a.Z,null,(0,p.__)("Currently scanning (%d %%)",_)));break;case"get-pro":P=React.createElement(g.S,null),w&&(S+="&".concat(g.Q))}return React.createElement("div",{style:{margin:"5px 0"}},React.createElement(f.Z,{title:r&&o},React.createElement("span",null,R?React.createElement(b.Z,{style:{color:"#7ec8ec"}}):r?React.createElement(h.Z,{style:{color:"#52c41a"}}):React.createElement(d.Z,{style:{color:"#e2e2e2"}})," ",React.createElement("span",{style:{textDecoration:r?"line-through":void 0,fontWeight:"bold"}},n),!!S&&!!s&&React.createElement(React.Fragment,null," • ",React.createElement("a",{href:S,target:c,rel:"noreferrer",onClick:u},s)))),R&&"get-pro"!==t&&React.createElement(React.Fragment,null," ",React.createElement(a.Z,{color:y.k},(0,p.__)("Needs PRO"))),!!C&&React.createElement(React.Fragment,null," ",C),!!o&&!r&&React.createElement("p",{className:"description",style:{paddingLeft:17}},o),!!P&&React.createElement("div",{style:{paddingLeft:17}},P))})),k=r(2046),w=(0,u.Pi)((function(e){var t=e.onLinkClick,r=(0,c.Z)(e,["onLinkClick"]),u=(0,v.m)().checklistStore,f=u.busyChecklist,b=u.items,h=u.completed,m=u.checkable,y=u.done,g=u.checklist.overdue,w=(0,l.useState)("boolean"==typeof r.showHidden?r.showHidden:!y),R=(0,s.Z)(w,2),C=R[0],P=R[1];return React.createElement(n.Z,{spinning:f},React.createElement(o.Z,{direction:"vertical",size:"large"},g&&React.createElement("div",{className:"notice notice-warning inline below-h2 notice-alt",style:{margin:0}},React.createElement("p",null,(0,p.__)("How time flies! You have installed Real Cookie Banner some time ago, but you still haven't finished the configuration yet."))),React.createElement("p",{className:"description"},(0,p.__)("We have collected all relevant steps for the legally compliant use of Real Cookie Banner after the first installation. Set up the cookie banner step by step to add an opt-in cookie banner to your website in compliance with the ePrivacy Directive and GDPR.")),React.createElement("div",null,y&&(C?React.createElement(a.Z,{icon:React.createElement(k.Z,null),color:"default",style:{cursor:"pointer"},onClick:function(){return P(!1)}},(0,p.__)("Hide completed steps")):React.createElement(a.Z,{icon:React.createElement(d.Z,null),color:"success",style:{cursor:"pointer"},onClick:function(){return P(!0)}},(0,p.__)("%d / %d steps completed",h.length>m.length?m.length:h.length,m.length))),b.map((function(e){var r=e.id,n=(0,c.Z)(e,["id"]);return!C&&n.checked?null:React.createElement(Z,(0,i.Z)({key:r,id:r},n,{onLinkClick:function(e){["get-pro"].indexOf(r)>-1&&u.toggleChecklistItem(r,!0),null==t||t(e)}}))})))))}))},5283:function(e,t,r){r.d(t,{DR:function(){return m},Gh:function(){return d},Ki:function(){return v}});var n=r(8920),o=r(2519),i=r(9943),a=r(6315),s=r(6478),c=r(7363),l=r(3554),u=r(8630),p=r(6839),f=r(8383),b=r(7943),h=r(4163),d="Google Tag Manager",v="Matomo Tag Manager",m=(0,l.Pi)((function(){var e=(0,h.m)().optionStore,t=e.imprintExternalUrl,r=e.imprintIsExternalUrl,l=e.privacyPolicyExternalUrl,m=e.privacyPolicyIsExternalUrl,y=e.others,g=y.isPro,Z=y.customizeBannerUrl,k=(0,c.useCallback)((function(e){return"".concat(Z.replace(/autofocus\[panel]=[\w-]+/,"autofocus[section]=".concat(e)),"&return=").concat(encodeURIComponent(window.location.href))}),[Z])("real-cookie-banner-banner-legal");return React.createElement(React.Fragment,null,React.createElement(a.Z.Item,{noStyle:!0,shouldUpdate:function(e,t){return e.bannerActive!==t.bannerActive}},(function(e){var t=e.getFieldValue,r=e.setFieldsValue,n=t("bannerActive");return React.createElement(React.Fragment,null,React.createElement(a.Z.Item,{label:(0,u.__)("Cookie Banner/Dialog")},React.createElement(a.Z.Item,{noStyle:!0,name:"bannerActive",valuePropName:"checked"},React.createElement(s.Z,{style:{display:n?void 0:"none"}})),!n&&React.createElement(i.Z,{title:(0,u.__)("I have already checked/will check all text in the cookie banner and content blocker myself. I have added missing information and corrected information that does not fit my use case."),cancelText:(0,u.__)("Cancel"),okText:(0,u.__)("Activate now!"),overlayStyle:{maxWidth:450},onCancel:function(){r({bannerActive:!1})},onConfirm:function(){r({bannerActive:!0})},placement:"bottomLeft"},React.createElement(s.Z,{checked:!1})),React.createElement("p",{className:"description",style:{marginTop:5}},(0,u.__)("You can enable and disable the cookie banner. We recommend to activate the cookie banner on your website after you have added all services."))),React.createElement(a.Z.Item,{label:(0,u.__)("Content Blocker"),style:{display:n?void 0:"none"}},React.createElement(a.Z.Item,{name:"blockerActive",valuePropName:"checked",noStyle:!0},React.createElement(s.Z,{style:{marginTop:5}})),React.createElement("p",{className:"description",style:{marginTop:5}},(0,u.__)("This feature allows you to block content that would process personal data and set cookies, but for which you do not yet have the visitor's consent."))))})),React.createElement(a.Z.Item,{label:(0,u.__)("Hide cookie banner on specific pages")},React.createElement("p",{className:"description",style:{marginTop:7}},(0,u.__)("According to the ePrivacy Directive, legally required pages such as the privacy policy or the imprint (depending on the country) may be accessible without the user having to give consent to services and their cookies. Therefore, it is recommended to avoid processing personal data and setting cookies on these pages and not to display a cookie banner.")),React.createElement(a.Z.Item,{label:(0,u.__)("Imprint Page"),labelCol:{span:24},wrapperCol:{span:12},style:{marginBottom:12}},r?React.createElement(o.Z,{value:t,readOnly:!0,addonAfter:React.createElement("a",{className:"button-link alignright",rel:"noreferrer",target:"_blank",href:k},(0,u.__)("Edit"))}):React.createElement(a.Z.Item,{name:"imprintId",noStyle:!0},React.createElement(p.m,{postType:"pages",forceDefaultLanguage:!0,postStatus:["publish"],perPage:100}))),React.createElement(a.Z.Item,{label:(0,u.__)("Privacy policy page"),labelCol:{span:24},wrapperCol:{span:12},style:{marginBottom:12}},m?React.createElement(o.Z,{value:l,readOnly:!0,addonAfter:React.createElement("a",{className:"button-link alignright",rel:"noreferrer",target:"_blank",href:k},(0,u.__)("Edit"))}):React.createElement(a.Z.Item,{name:"privacyPolicyId",noStyle:!0},React.createElement(p.m,{postType:"pages",forceDefaultLanguage:!0,postStatus:["publish"],perPage:100}))),React.createElement(a.Z.Item,{label:React.createElement(React.Fragment,null,(0,u.__)("Hide on additional pages")," ",React.createElement(f.g,{title:(0,u.__)("Want to hide cookie banner on more pages?"),testDrive:!0,feature:"hide-page-ids",description:(0,u.__)("Cookie banners are legally necessary, but distract your users from the essentials. For example, on landing pages for advertising campaigns, they lead to lower conversion rates. On these pages, it can be useful to avoid processing personal data and setting cookies to keep the conversion rate high. You can hide the cookie banner on these pages.")})),labelCol:{span:24},wrapperCol:{span:12},style:{marginBottom:12}},React.createElement(a.Z.Item,{name:"hidePageIds",noStyle:!0},React.createElement(p.m,{postType:"pages",multiple:!0,disabled:!g,forceDefaultLanguage:!0,postStatus:["publish"],perPage:100})))),React.createElement(a.Z.Item,{label:(0,u.__)("Load services after consent via")},React.createElement(a.Z.Item,{name:"setCookiesViaManager",noStyle:!0},React.createElement(n.ZP.Group,null,React.createElement(n.ZP.Button,{disabled:!g,value:"none"},(0,u.__)("HTML/JavaScript Snippet")),React.createElement(n.ZP.Button,{disabled:!g,value:"googleTagManager"},(0,u.__)("%s Event",d)),React.createElement(n.ZP.Button,{disabled:!g,value:"matomoTagManager"},(0,u.__)("%s Event",v)))),React.createElement("div",{style:{margin:"5px 0px 0px"}},React.createElement(b.r,{url:(0,u.__)("https://devowl.io/knowledge-base/real-cookie-banner-with-google-tag-manager-or-matomo-tag-manager/")}),React.createElement(f.g,{title:(0,u.__)("Want to use a Tag Manager legally?"),testDrive:!0,feature:"set-cookies-via-manager",assetName:(0,u.__)("pro-modal/set-cookies-via-manager.png"),description:(0,u.__)("You can integrate services via Google Tag Manager or Matomo Tag Manager. At the same time, you can obtain and document consents via Real Cookie Banner in accordance with data protection regulations.")})),React.createElement("p",{className:"description"},React.createElement("strong",null,(0,u.__)("You only need to change this option if you use Google Tag Manager or Matomo Tag Manager."))," ",(0,u._i)((0,u.__)("If you opt-in to or opt-out from services, you will normally execute JavaScript code to ensure that scripts are enabled/disabled and cookies are set/removed on the visitor's client. If you are a Google Tag Manager or Matomo Tag Manager user, you can map this behavior by using tags that are triggered by an event in the data layer. {{strong}}If you enable this option,{{/strong}} the Google Tag Manager or Matomo Tag Manager should not yet be integrated into your website. Instead, you must integrate it as an opt-in script of a service you create for the Tag Manager. For each service listed in this plugin, you will receive an additional field where you can specify the name of the event that is automatically triggered when the user opt-in or opt-out. We have a full integration for tag managers which should allow you to run it legally compliant in the EU."),{strong:React.createElement("strong",null)}))))}))},7110:function(e,t,r){r.d(t,{K:function(){return F},m:function(){return T}});var n=r(2202),o=r(7228),i=r(9591),a=r(7363),s=r(3554),c=r(6711),l=r(8630),u=r(4163),p=r(9943),f=(0,s.Pi)((function(){var e=(0,u.m)().optionStore,t=(0,c.useLocation)().pathname;return e.needsRevisionRetrigger&&-1===t.indexOf("/edit/")&&-1===t.indexOf("/new")&&React.createElement("div",{className:"notice notice-warning inline below-h2 notice-alt",style:{margin:"10px 0 0 0"}},React.createElement("p",null,(0,l.__)("You have changed settings that affect the content or behavior of the cookie banner. You should ask all visitors for their consent again.")," ","•"," ",React.createElement("a",{style:{cursor:"pointer",textDecoration:"underline"},onClick:function(){return e.updateCurrentRevision({needs_retrigger:!0})}},(0,l.__)("Request new consent"))," ","•"," ",React.createElement(p.Z,{title:React.createElement(React.Fragment,null,React.createElement("strong",null,(0,l.__)("Are you sure you don't want to collect new consents?")),React.createElement("br",null),React.createElement("br",null),(0,l._i)((0,l.__)("Consent must be obtained in accordance with {{a}}Art. 7 GDPR{{/a}}. Your visitor must be informed about all circumstances of the consent. However, you have made changes to your cookie banner, which lead to the fact that previously visitors have consented differently or to something different than is now in the cookie banner. Therefore, previously collected consents may have become partially invalid."),{a:React.createElement("a",{href:(0,l.__)("https://gdpr-info.eu/art-7-gdpr/"),rel:"noreferrer",target:"_blank"})}),React.createElement("br",null),React.createElement("br",null),(0,l.__)("If you have created a new service like Google Analytics (without visual content blocker), previous visitors can never consent without collecting new consents and you cannot track them, for example.")),placement:"bottomRight",onConfirm:function(){return e.updateCurrentRevision({needs_retrigger:!1})},okText:(0,l.__)("Dismiss notice"),cancelText:(0,l.__)("Cancel"),overlayStyle:{maxWidth:450}},React.createElement("a",{style:{cursor:"pointer",textDecoration:"underline"}},(0,l.__)("Dismiss notice")))))})),b=(0,s.Pi)((function(){var e=(0,u.m)().optionStore,t=e.publicCookieCount,r=e.busySettings;return e.bannerActive&&!t&&!r&&React.createElement("div",{className:"notice notice-warning inline below-h2 notice-alt",style:{margin:"10px 0 0 0"}},React.createElement("p",null,(0,l.__)("The cookie banner is activated, but unfortunately you have not yet created or enabled services.")))})),h=r(3438),d=(0,s.Pi)((function(){return!!(0,h.u)().showNoticeAnonymousScriptNotWritable&&React.createElement("div",{className:"notice notice-warning inline below-h2 notice-alt",style:{margin:"10px 0 0 0"}},React.createElement("p",null,(0,l._i)((0,l.__)("Your {{code}}wp-content{{/code}} folder is not writable. Please check your permissions!"),{code:React.createElement("code",null)})))})),v=(0,s.Pi)((function(e){var t=e.manager,r=e.managerId,n=e.hasManagerAttributeName,o=e.presetId,i=(0,u.m)().optionStore,a=i.setCookiesViaManager,s=i[n],p=(0,c.useLocation)().pathname;return a===r&&!s&&/^\/cookies\/\d+$/.test(p)&&React.createElement("div",{className:"notice notice-warning inline below-h2 notice-alt",style:{margin:"10px 0 0 0"}},React.createElement("p",null,(0,l._i)((0,l.__)("You have not yet defined a %s service. To use {{strong}}%s{{/strong}} with Real Cookie Banner, you must create the appropriate service.",t,t),{strong:React.createElement("strong",null)})," ","• ",React.createElement("a",{href:"#".concat(p,"/new?force=").concat(o)},(0,l.__)("Create now"))))})),m=r(7819),y=function(){var e=(0,c.useHistory)().listen;return(0,a.useEffect)((function(){var t=e((function(){(0,m.X)(0)}));return function(){t()}}),[e]),null},g=r(5283),Z=r(6069),k=r(3025),w=r(6800),R=(0,s.Pi)((function(){var e=(0,u.m)().optionStore,t=e.others,r=t.proUrl,n=t.isPro,o=t.isConfigProNoticeVisible,i="".concat(r,"&feature=main-button"),s=(0,a.useCallback)((function(){window.open(i,"_blank"),e.dismissConfigProNotice()}),[e]),c=(0,a.useCallback)((function(){e.dismissConfigProNotice()}),[e]);return!n&&React.createElement(p.Z,{visible:!!o,title:(0,l.__)("Thank you for using the free version of Real Cookie Banner. You might also be interested in the PRO version, which offers you more features, 20+ design templates, 100+ service templates, 60+ content blocker templates and much more."),icon:React.createElement(w.Z,{style:{color:"#1890ff"}}),placement:"bottom",onConfirm:s,onCancel:c,cancelText:(0,l.__)("No, not interested..."),okText:(0,l.__)("I want to learn more!"),overlayStyle:{maxWidth:450}},React.createElement("a",{className:"page-title-action",rel:"noreferrer",onClick:s},(0,l.__)("Get PRO version")))})),C=r(6395),P=(0,s.Pi)((function(){var e=(0,a.useState)(!1),t=(0,o.Z)(e,2),r=t[0],n=t[1],i=(0,u.m)(),s=i.optionStore,p=i.checklistStore,f=(0,c.useLocation)().pathname,b=s.others.customizeBannerUrl,h=s.publicUrl,d=p.completed,v=p.checkable,m=p.done;(0,a.useEffect)((function(){p.fetchChecklist()}),[]);var y=(0,a.useCallback)((function(e){window.location.href="".concat(b,"&return=").concat(encodeURIComponent(window.location.href)),e.preventDefault()}),[]),g=(0,a.useCallback)((function(){n(!0),p.fetchChecklist()}),[n]),w=(0,a.useCallback)((function(){n(!1)}),[n]);return React.createElement(React.Fragment,null,React.createElement("h1",{className:"wp-heading-inline"},(0,l.__)("Real Cookie Banner")),React.createElement("img",{className:"rcb-nav-logo",src:"".concat(h,"images/logos/real-cookie-banner.svg")}),React.createElement("a",{className:"page-title-action",href:"#",onClick:y},(0,l.__)("Customize banner")),React.createElement(R,null),!m&&"/"!==f&&React.createElement(React.Fragment,null,React.createElement("a",{className:"page-title-action",style:{color:"#52c41a",background:"#f6ffed",borderColor:"#85af65"},onClick:g},React.createElement(k.Z,null)," ",(0,l.__)("%d / %d steps completed",d.length>v.length?v.length:d.length,v.length)),React.createElement(Z.Z,{visible:r,title:(0,l.__)("Set up the cookie banner"),onCancel:w,okButtonProps:{style:{display:"none"}},cancelText:(0,l.__)("Close"),width:800},React.createElement(C.b,{showHidden:!0,onLinkClick:w}))),React.createElement("hr",{className:"wp-header-end"}))})),S=r(9871),E=(0,s.Pi)((function(){var e=(0,u.m)().optionStore.publicUrl;return React.createElement("div",{className:"rcb-config-footer"},(0,l._i)((0,l.__)("Real Cookie Banner is brought to you with {{icon/}} by"),{icon:React.createElement(S.Z,{style:{color:"#dca7a7"}})}),React.createElement("a",{href:"https://devowl.io/",target:"_blank",rel:"noreferrer"},React.createElement("img",{src:"".concat(e,"images/logos/devowl-with-text.svg")})))})),_=r(8700),x=r(2780),O=r(6),D=r(4548),z={display:"block",marginTop:10},T=function(e,t){return{default:function(){return React.createElement(_.SuspenseChunkTranslation,{chunkFile:r.u("chunk-config-tab-".concat(e)),options:function(){return(0,u.m)().optionStore},fallback:React.createElement(i.Z,{spinning:!0,style:z})},t)}}},I=(0,a.lazy)((function(){return Promise.all([r.e(440),r.e(18),r.e(933),r.e(914),r.e(418),r.e(702),r.e(673),r.e(812),r.e(379)]).then(r.bind(r,1421)).then((function(e){var t=e.DashboardCards;return T("dashboard",React.createElement(t,null))}))})),M=(0,a.lazy)((function(){return Promise.all([r.e(440),r.e(768)]).then(r.bind(r,597)).then((function(e){var t=e.SettingsForm;return T("settings",React.createElement(t,null))}))})),A=(0,a.lazy)((function(){return Promise.all([r.e(440),r.e(18),r.e(933),r.e(995),r.e(795),r.e(193),r.e(756),r.e(836),r.e(3)]).then(r.bind(r,1502)).then((function(e){var t=e.ScannerRouter;return T("scanner",React.createElement(t,null))}))})),N=(0,a.lazy)((function(){return Promise.all([r.e(440),r.e(18),r.e(933),r.e(418),r.e(995),r.e(348),r.e(673),r.e(718)]).then(r.bind(r,5182)).then((function(e){var t=e.CookieGroupsTabRouter;return T("cookies",React.createElement(t,null))}))})),B=(0,a.lazy)((function(){return Promise.all([r.e(440),r.e(18),r.e(933),r.e(914),r.e(995),r.e(795),r.e(625)]).then(r.bind(r,6720)).then((function(e){var t=e.ConsentTabRouter;return T("consent",React.createElement(t,null))}))})),j=(0,a.lazy)((function(){return Promise.all([r.e(440),r.e(18),r.e(933),r.e(418),r.e(702),r.e(673),r.e(812),r.e(836),r.e(478)]).then(r.bind(r,6293)).then((function(e){var t=e.BlockerRouter;return T("blocker",React.createElement(t,null))}))})),U=(0,a.lazy)((function(){return Promise.all([r.e(440),r.e(914),r.e(193),r.e(954),r.e(357)]).then(r.bind(r,9962)).then((function(e){var t=e.ImportExportCards;return T("import",React.createElement(t,null))}))})),V=(0,a.lazy)((function(){return Promise.all([r.e(440),r.e(18),r.e(322)]).then(r.bind(r,117)).then((function(e){var t=e.ConfigLicensing;return T("licensing",React.createElement(t,null))}))})),F=(0,s.Pi)((function(){var e=(0,x.p)(),t=e.percent,r=e.remaining,s=e.currentJob,p=(0,u.m)(),h=p.optionStore,m=p.checklistStore,Z=h.others,k=Z.showLicenseFormImmediate,w=(0,o.Z)(Z.colorScheme,3)[2];return(0,a.useLayoutEffect)((function(){h.fetchSettings();var e=function(){m.fetchChecklist()},t="".concat(O.JOB_DONE_EVENT_PREFIX).concat(D.b);return document.addEventListener(t,e),function(){document.removeEventListener(t,e)}}),[]),k?React.createElement(a.Suspense,{fallback:React.createElement(i.Z,{spinning:!0,style:z})},React.createElement(V,null)):React.createElement(c.HashRouter,null,React.createElement(P,null),React.createElement("nav",{className:"nav-tab-wrapper wp-clearfix"},React.createElement(c.NavLink,{to:"/",className:"nav-tab",activeClassName:"nav-tab-active",exact:!0},(0,l.__)("Dashboard")),React.createElement(c.NavLink,{to:"/settings",className:"nav-tab",activeClassName:"nav-tab-active"},(0,l.__)("Settings")),React.createElement(c.NavLink,{to:"/scanner",className:"nav-tab",activeClassName:"nav-tab-active"},r>0&&t>0&&(null==s?void 0:s.group_position)>0?React.createElement(n.Z,{count:"".concat(t," %"),style:{top:-11,fontSize:10,height:16,lineHeight:"16px",background:w}},(0,l.__)("Scanner")):(0,l.__)("Scanner")),React.createElement(c.NavLink,{to:"/cookies",className:"nav-tab",activeClassName:"nav-tab-active"},(0,l.__)("Services (Cookies)")),React.createElement(c.NavLink,{to:"/blocker",className:"nav-tab",activeClassName:"nav-tab-active"},(0,l.__)("Content Blocker")),React.createElement(c.NavLink,{to:"/consent",className:"nav-tab",activeClassName:"nav-tab-active"},(0,l.__)("Consent")),React.createElement(c.NavLink,{to:"/import",className:"nav-tab",activeClassName:"nav-tab-active"},(0,l.__)("Import / Export")),"try.devowl.io"!==window.location.host&&React.createElement(c.NavLink,{to:"/licensing",className:"nav-tab",activeClassName:"nav-tab-active"},(0,l.__)("Licensing")),React.createElement("a",{href:(0,l.__)("https://devowl.io/support/"),className:"nav-tab",target:"_blank",rel:"noreferrer"},(0,l.__)("Support"))),React.createElement(f,null),React.createElement(b,null),React.createElement(d,null),React.createElement(v,{manager:g.Gh,managerId:"googleTagManager",hasManagerAttributeName:"hasGTM",presetId:"gtm"}),React.createElement(v,{manager:g.Ki,managerId:"matomoTagManager",hasManagerAttributeName:"hasMTM",presetId:"mtm"}),React.createElement(y,null),React.createElement(a.Suspense,{fallback:React.createElement(i.Z,{spinning:!0,style:z})},React.createElement(c.Switch,null,React.createElement(c.Route,{path:"/",exact:!0},React.createElement(I,null)),React.createElement(c.Route,{path:"/settings/:tab?"},h.areSettingsFetched?React.createElement(M,null):null),React.createElement(c.Route,{path:"/scanner"},React.createElement(A,null)),React.createElement(c.Route,{path:"/cookies/:cookieGroup?"},React.createElement(N,null)),React.createElement(c.Route,{path:"/consent/:tab?"},React.createElement(B,null)),React.createElement(c.Route,{path:"/blocker"},React.createElement(j,null)),React.createElement(c.Route,{path:"/import"},React.createElement(U,null)),React.createElement(c.Route,{path:"/licensing"},React.createElement(V,null)))),React.createElement(E,null))}))},3004:function(e,t,r){r.d(t,{Q:function(){return f},S:function(){return b}});var n=r(9037),o=r(6107),i=r(8782),a=r(7228),s=r(3554),c=r(7363),l=r(4163),u=r(8630),p=r(4913),f="promo=in-app",b=(0,s.Pi)((function(e){var t=e.style,r=(0,l.m)().optionStore.fomoCoupon,s=null==r?void 0:r.coupon,f=null==r?void 0:r.valueInPercent,b=null==r?void 0:r.validUntil,h=(0,c.useCallback)((function(){if(b){var e=new Date(b).getTime()-(new Date).getTime();if(e<=0)return;var t=e/1e3;return[Math.floor(t/3600),Math.floor(t/60)%60,Math.floor(t%60)].map((function(e){return e<10?"0".concat(e):e})).filter((function(e,t){return"00"!==e||t>0})).join(":")}}),[b]),d=(0,c.useState)(),v=(0,a.Z)(d,2)[1];(0,c.useEffect)((function(){var e=setInterval((function(){v((new Date).getTime())}),1e3);return function(){clearInterval(e)}}),[]);var m=h();return m?React.createElement(n.Z,{style:t,message:(0,u._i)((0,u.__)("Use coupon {{tag}}%s{{/tag}} in the next {{strongHours}}%s hours{{/strongHours}} and save {{strongPercent}}%d %%{{/strongPercent}} in the first year!",s,m,f),{tag:React.createElement(o.Z,{color:"success",style:{marginRight:0,cursor:"pointer"},onClick:function(){(0,p.v)(s),i.ZP.success((0,u.__)("Successfully copied coupon to clipboard!"))}}),strongHours:React.createElement("strong",{style:{color:"#d33131"}}),strongPercent:React.createElement("strong",null)})}):null}))},7943:function(e,t,r){r.d(t,{r:function(){return s}});var n=r(6107),o=r(2711),i=r(7088),a=r(8630),s=function(e){var t=e.url,r=e.style,s=void 0===r?void 0:r,c=e.label,l=void 0===c?(0,a.__)("Learn more"):c,u=(0,o.Z)({cursor:"pointer"},s);return React.createElement(n.Z,{style:u,onClick:function(){return window.open(t,"_blank")}},React.createElement(i.Z,null)," ",l)}},6839:function(e,t,r){r.d(t,{m:function(){return m}});var n=r(3828),o=r(9591),i=r(2711),a=r(7938),s=r(7228),c=r(5450),l=r.n(c),u=r(7363),p=r(3438),f=r(1629),b=r(8630),h=r(2186),d=r(8700),v=r(3137),m=function(e){var t=e.postType,r=e.postStatus,c=void 0===r?["draft","publish","private"]:r,m=e.perPage,y=void 0===m?10:m,g=e.value,Z=e.multiple,k=e.disabled,w=e.forceDefaultLanguage,R=e.onChange,C=e.titleRender,P=void 0===C?function(e){return e.title.rendered}:C,S=e.filter,E=void 0===S?function(){return!0}:S,_=(0,u.useState)(!1),x=(0,s.Z)(_,2),O=x[0],D=x[1],z=(0,u.useState)(g),T=(0,s.Z)(z,2),I=T[0],M=T[1],A=(0,u.useState)(!1),N=(0,s.Z)(A,2),B=N[0],j=N[1],U=(0,u.useState)([]),V=(0,s.Z)(U,2),F=V[0],G=V[1],L=(0,u.useCallback)(function(){var e=(0,a.Z)(l().mark((function e(r){var n,o,a,s;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return j(!0),n=(0,p.u)(),o=n.defaultLanguage,a=n.currentLanguage,e.next=4,(0,f.W)({location:{path:"/".concat(t),method:d.RouteHttpVerb.GET,namespace:"wp/v2"},request:(0,i.Z)({status:r.include?["draft","publish","private"]:c,orderby:r.search?"relevance":"title"},r),params:{_dataLocale:w?o:a}});case 4:s=e.sent,G(s),j(!1);case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[]);return(0,h.N)(O,""===O?0:800,(function(e){!1!==e&&L({search:e,per_page:e.length?50:y})}),(function(e){!1!==e&&j(!0),G([])})),(0,u.useEffect)((function(){(I>0||Array.isArray(I)&&I.length>0)&&L({include:Array.isArray(I)?I:[I]})}),[]),(0,u.useEffect)((function(){JSON.stringify(I)!==JSON.stringify(g)&&(g>0||Array.isArray(g)&&g.length>0)&&(M(g),L({include:Array.isArray(g)?g:[g]}))}),[g,I]),React.createElement(n.Z,{mode:Z?"multiple":void 0,disabled:k,showSearch:!0,value:I,placeholder:(0,b.__)("Search..."),notFoundContent:B?React.createElement(o.Z,{size:"small"}):null,onClick:function(){return D("")},onSearch:D,onChange:function(e){var t=Array.isArray(e)?e.map(Number):+e;M(t),null==R||R(t)},filterOption:!1,loading:B},!Z&&!B&&React.createElement(n.Z.Option,{value:0},(0,b.__)("— Select —")),F.map((function(e){return React.createElement(n.Z.Option,{key:e.id,value:e.id,style:{display:E(e)?void 0:"none"}},(t=P(e),(0,v.C)(t)?null===(r=(new DOMParser).parseFromString('<a href="'.concat(t,'"></a>'),"text/html").querySelector("a"))||void 0===r?void 0:r.href:(new DOMParser).parseFromString(t,"text/html").documentElement.textContent));var t,r})))}},8137:function(e,t,r){r.d(t,{B:function(){return f}});var n=r(6069),o=r(7228),i=r(7363),a=r(9635),s=r(3438),c=r(8630),l=r(3004),u=r(5053),p=r(4491),f=function(e){var t=e.visible,r=void 0!==t&&t,f=e.showHints,b=void 0===f||f,h=e.showFomoCouponCounter,d=void 0===h||h,v=e.title,m=e.testDrive,y=void 0!==m&&m,g=e.assetName,Z=e.description,k=e.feature,w=e.onClose,R=e.inContainer,C=e.inContainerElement,P=(0,s.u)(),S=P.proUrl,E=P.hints,_=(0,i.useState)(),x=(0,o.Z)(_,2),O=x[0],D=x[1],z=(0,i.useCallback)((function(){window.open("".concat(S,"&feature=").concat(k,"&").concat(l.Q),"_blank").focus(),null==w||w()}),[w]);(0,i.useEffect)((function(){R&&O&&(null==O?void 0:O.parentElement.parentElement.previousElementSibling).removeAttribute("tabIndex")}),[O]);var T=null==E?void 0:E.proDialog;return R&&!C?null:React.createElement(n.Z,{visible:!!R||r,title:React.createElement("span",null,React.createElement(a.Z,null)," ",v," ",(0,c.__)("Get PRO!")),onOk:z,onCancel:w,cancelText:(0,c.__)("No, not interested..."),okText:(0,c.__)("I want to learn more!"),className:"rcb-pro-modal",width:g?800:700,getContainer:R?C:void 0},!!g&&React.createElement("img",{style:{marginTop:10},src:"https://assets.devowl.io/in-app/wp-real-cookie-banner/".concat(g)}),React.createElement("div",{style:{maxWidth:600,margin:"auto"},ref:D},React.createElement("p",null,(0,p.E)(Z)),y&&React.createElement("p",null,(0,c._i)((0,c.__)("Check out this feature with a {{a}}free sandbox{{/a}} before buying!"),{a:React.createElement("a",{href:"https://try.devowl.io/?product=RCB",target:"_blank",rel:"noreferrer"})}))),!!T&&b&&React.createElement("div",{style:{maxWidth:600,margin:"auto",textAlign:"left"}},React.createElement(u.j,T)),d&&React.createElement(l.S,{style:{marginBottom:15}}))}},5053:function(e,t,r){r.d(t,{j:function(){return a}});var n=r(5489),o=r(8503),i=r(2841),a=function(e){var t=e.title,r=e.description,a=e.link,s=e.linkText,c=e.logo;return React.createElement(React.Fragment,null,React.createElement(i.Z,null,t),React.createElement(n.Z,{wrap:!1,style:{marginBottom:10}},React.createElement(o.Z,{flex:"auto"},!!r&&React.createElement("p",{style:{margin:0}},React.createElement("span",{dangerouslySetInnerHTML:{__html:r}})," ",!!a&&!!s&&React.createElement("a",{href:a,target:"_blank",rel:"noreferrer",className:"button-link"},s))),React.createElement(o.Z,{flex:"150px",style:{alignSelf:"center"}},!!c&&React.createElement("img",{src:c,style:{maxWidth:"calc(100% - 20px)",height:"auto",marginLeft:20}}))))}},8383:function(e,t,r){r.d(t,{g:function(){return i}});var n=r(4115),o=r(971),i=function(e){e.children;var t=e.wrapperAttributes,r=void 0===t?{}:t,i=(0,n.Z)(e,["children","wrapperAttributes"]),a=(0,o.t)(i),s=a.modal,c=a.tag;return React.createElement(React.Fragment,null,s,React.createElement("span",r,c))}},2186:function(e,t,r){r.d(t,{N:function(){return i}});var n=r(7228),o=r(7363);function i(e,t,r,i){var a=(0,o.useState)(e),s=(0,n.Z)(a,2),c=s[0],l=s[1];return(0,o.useEffect)((function(){var r=setTimeout((function(){l(e)}),t);return null==i||i(e),function(){clearTimeout(r)}}),[e]),(0,o.useEffect)((function(){r(c)}),[c]),c}},971:function(e,t,r){r.d(t,{t:function(){return f},k:function(){return p}});var n=r(4741),o=r(6107),i=r(7228),a=r(2193),s=r(8630),c=r(4163),l=r(7363),u=r(8137),p="#2db7f5";function f(e,t){var r=(0,l.useState)(!1),f=(0,i.Z)(r,2),b=f[0],h=f[1],d=(0,c.m)().optionStore.others.isPro,v="boolean"==typeof t?t:d,m=(0,l.useCallback)((function(e){h(!0),null==e||e.preventDefault()}),[h]),y=(0,l.useMemo)((function(){return v?null:React.createElement(o.Z,{icon:React.createElement(a.Z,null),color:p,style:{cursor:"pointer"},onClick:m},e.tagText||(0,s.__)("Unlock feature"))}),[m,e]),g=(0,l.useMemo)((function(){return v?null:React.createElement(u.B,(0,n.Z)({visible:b,onClose:function(){return h(!1)}},e))}),[b,h,e]);return{isPro:v,tag:y,modal:g,open:m}}},2780:function(e,t,r){r.d(t,{p:function(){return s}});var n=r(6),o=r(7363),i=r(4163),a=r(4548);function s(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2?arguments[2]:void 0,s=(0,i.m)(),c=s.scannerStore;return(0,n.useProgress)({type:a.u,fetchStatusInterval:e,fetchAdditionalData:t,onAdditionalData:(0,o.useCallback)((function(e){var t=e["rcb-scan-list"],r=t.presets,n=t.externalUrls;c.resultPresetsFromResponse(r),c.resultExternalUrlsFromResponse(n)}),[c]),onCancel:r})}},9507:function(e,t,r){r.d(t,{p:function(){return v}});var n,o,i,a,s,c,l,u=r(6724),p=r(6762),f=r(3340),b=r(9303),h=r(7821),d=r(490),v=(n=function(){function e(t,r){var n=this;(0,p.Z)(this,e),(0,u.Z)(this,"id",o,this),(0,u.Z)(this,"name",i,this),(0,u.Z)(this,"needsPro",a,this),(0,u.Z)(this,"description",s,this),(0,u.Z)(this,"tags",c,this),(0,u.Z)(this,"settings",l,this),this.store=void 0,this.resetPreviewInUiSettings=void 0,(0,h.runInAction)((function(){return(0,h.set)(n,t)})),this.store=r}return(0,f.Z)(e,[{key:"applyInUi",value:function(){var e=this;return!(!this.store.rootStore.optionStore.others.isPro&&this.needsPro||(this.previewInUi(),setTimeout((function(){var t=(0,d.getSidebarCustomize)();e.store.presetDefaults.forEach((function(r,n){t(n).set(void 0===e.settings[n]?r:e.settings[n])}))}),100),0))}},{key:"previewInUi",value:function(){var t=(0,d.getSidebarCustomize)(),r=this.store.presetDefaults,n=this.store.rootStore.optionStore.others.customizeIdsBanner.settings,o=[];this.resetPreviewInUiSettings={};for(var i=0,a=Object.keys(n);i<a.length;i++)for(var s=a[i],c=n[s],l=0,u=Object.keys(c);l<u.length;l++){var p=u[l],f=c[p];if(r.has(f)){this.resetPreviewInUiSettings[f]=[s,p,t(f).get()];var b=Object.prototype.hasOwnProperty.call(this.settings,f)?this.settings[f]:r.get(f);o.push([s,p,b])}}e.getIframeStore().customizeBannerStore.setBannerFromPreset(o)}},{key:"resetPreviewInUi",value:function(){this.resetPreviewInUiSettings&&(e.getIframeStore().customizeBannerStore.setBannerFromPreset(Object.values(this.resetPreviewInUiSettings)),this.resetPreviewInUiSettings={})}}],[{key:"getIframeStore",value:function(){try{return document.querySelector("#customize-preview > iframe").contentWindow.realCookieBanner_customize_banner.RootStore.get}catch(e){return}}}]),e}(),o=(0,b.Z)(n.prototype,"id",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),i=(0,b.Z)(n.prototype,"name",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,b.Z)(n.prototype,"needsPro",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,b.Z)(n.prototype,"description",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=(0,b.Z)(n.prototype,"tags",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=(0,b.Z)(n.prototype,"settings",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),n)},1031:function(e,t,r){r.d(t,{R:function(){return p}});var n,o=r(6762),i=r(3340),a=r(3841),s=r(5952),c=r(8700),l=r(1629),u=r(7598),p=c.ClientCollection.annotate({path:"/rcb-blocker",singlePath:"/rcb-blocker/:id",namespace:"wp/v2",methods:[c.RouteHttpVerb.GET],request:l.W})(n=function(e){(0,a.Z)(r,e);var t=(0,s.Z)(r);function r(e){var n;return(0,o.Z)(this,r),(n=t.call(this)).store=void 0,n.store=e,n}return(0,i.Z)(r,[{key:"instance",value:function(e){return new u.p(this).fromResponse(e)}}]),r}(c.AbstractPostCollection))||n},7598:function(e,t,r){r.d(t,{p:function(){return Z}});var n,o,i,a=r(6724),s=r(6762),c=r(3340),l=r(5558),u=r(3071),p=r(8067),f=r(3841),b=r(5952),h=r(9303),d=r(8700),v=r(1629),m=r(1073),y=r(7821),g=r(4163),Z=d.ClientModel.annotate({keyId:"id",namespace:"wp/v2",request:v.W,create:{path:"/rcb-blocker"},patch:{path:"/rcb-blocker/:id"},delete:{path:"/rcb-blocker/:id"}})((o=function(e){(0,f.Z)(r,e);var t=(0,b.Z)(r);function r(e){var n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,s.Z)(this,r),n=t.call(this,e,o),(0,a.Z)(n,"presetModel",i,(0,l.Z)(n)),(0,y.reaction)((function(){var e;return null===(e=n.data)||void 0===e?void 0:e.preset}),(function(e){return(0,y.runInAction)((function(){n.presetModel=e?new m.w(e,g.M.get.cookieStore):void 0}))}),{fireImmediately:!0}),n}return(0,c.Z)(r,[{key:"hosts",get:function(){var e;return null===(e=this.data)||void 0===e?void 0:e.meta.hosts.split("\n")}},{key:"tcfVendors",get:function(){var e;return null!==(e=this.data)&&void 0!==e&&e.meta.tcfVendors?this.data.meta.tcfVendors.split(",").filter(Boolean).map(Number):[]}},{key:"cookies",get:function(){var e;return null===(e=this.data)||void 0===e?void 0:e.meta.cookies.split(",").filter(Boolean).map(Number)}},{key:"setName",value:function(e){this.data.title.rendered=e}},{key:"setStatus",value:function(e){this.data.status=e}},{key:"setDescription",value:function(e){this.data.content.rendered=e}},{key:"setMeta",value:function(e){this.data.meta=e}},{key:"transformDataForPatch",value:function(){var e=(0,u.Z)((0,p.Z)(r.prototype),"transformDataForPatch",this).call(this);return{title:e.title,content:e.content,status:e.status,meta:e.meta,slug:e.title}}},{key:"afterPatch",value:function(){this.collection.store.blockers.store.rootStore.optionStore.fetchCurrentRevision()}},{key:"afterDelete",value:function(){this.collection.store.blockers.store.rootStore.optionStore.fetchCurrentRevision()}},{key:"afterPersist",value:function(){this.collection.store.blockers.store.rootStore.optionStore.fetchCurrentRevision()}}]),r}(d.AbstractPost),i=(0,h.Z)(o.prototype,"presetModel",[y.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,h.Z)(o.prototype,"hosts",[y.computed],Object.getOwnPropertyDescriptor(o.prototype,"hosts"),o.prototype),(0,h.Z)(o.prototype,"tcfVendors",[y.computed],Object.getOwnPropertyDescriptor(o.prototype,"tcfVendors"),o.prototype),(0,h.Z)(o.prototype,"cookies",[y.computed],Object.getOwnPropertyDescriptor(o.prototype,"cookies"),o.prototype),(0,h.Z)(o.prototype,"setName",[y.action],Object.getOwnPropertyDescriptor(o.prototype,"setName"),o.prototype),(0,h.Z)(o.prototype,"setStatus",[y.action],Object.getOwnPropertyDescriptor(o.prototype,"setStatus"),o.prototype),(0,h.Z)(o.prototype,"setDescription",[y.action],Object.getOwnPropertyDescriptor(o.prototype,"setDescription"),o.prototype),(0,h.Z)(o.prototype,"setMeta",[y.action],Object.getOwnPropertyDescriptor(o.prototype,"setMeta"),o.prototype),n=o))||n},1073:function(e,t,r){r.d(t,{w:function(){return v}});var n,o,i,a,s=r(6724),c=r(6762),l=r(3340),u=r(9303),p=r(5450),f=r.n(p),b=r(7821),h=r(1535),d=r(1629),v=(n=function(){function e(t,r){var n=this;(0,c.Z)(this,e),(0,s.Z)(this,"busy",o,this),(0,s.Z)(this,"data",i,this),(0,s.Z)(this,"attributes",a,this),this.store=void 0,this.fetchAttributes=(0,b.flow)(f().mark((function e(){var t;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,this.busy=!0,e.next=4,(0,d.W)({location:h.N,params:{identifier:this.data.identifier}});case 4:t=e.sent,this.attributes=t,e.next=12;break;case 8:throw e.prev=8,e.t0=e.catch(0),console.log(e.t0),e.t0;case 12:return e.prev=12,this.busy=!1,e.finish(12);case 15:case"end":return e.stop()}}),e,this,[[0,8,12,15]])}))),(0,b.runInAction)((function(){n.data=t})),this.store=r}return(0,l.Z)(e,[{key:"fullLogoUrl",get:function(){var e=this.data.logoFile,t=this.store.rootStore.optionStore.publicUrl;return e.startsWith("http")?e:"".concat(t,"images/logos/").concat(e)}}]),e}(),o=(0,u.Z)(n.prototype,"busy",[b.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),i=(0,u.Z)(n.prototype,"data",[b.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,u.Z)(n.prototype,"attributes",[b.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,u.Z)(n.prototype,"fullLogoUrl",[b.computed],Object.getOwnPropertyDescriptor(n.prototype,"fullLogoUrl"),n.prototype),n)},8466:function(e,t,r){r.d(t,{y:function(){return j}});var n,o,i,a,s,c,l,u,p,f,b,h,d,v,m,y,g,Z,k,w,R,C,P,S,E,_,x,O,D,z,T=r(2711),I=r(6724),M=r(6762),A=r(3340),N=r(9303),B=r(7821),j=(n=function(){function e(t,r){var n=this;(0,M.Z)(this,e),(0,I.Z)(this,"id",o,this),(0,I.Z)(this,"plugin_version",i,this),(0,I.Z)(this,"design_version",a,this),(0,I.Z)(this,"ipv4",s,this),(0,I.Z)(this,"ipv6",c,this),(0,I.Z)(this,"ipv4_hash",l,this),(0,I.Z)(this,"ipv6_hash",u,this),(0,I.Z)(this,"uuid",p,this),(0,I.Z)(this,"previous_decision",f,this),(0,I.Z)(this,"decision",b,this),(0,I.Z)(this,"decision_labels",h,this),(0,I.Z)(this,"created",d,this),(0,I.Z)(this,"blocker",v,this),(0,I.Z)(this,"blocker_thumbnail",m,this),(0,I.Z)(this,"dnt",y,this),(0,I.Z)(this,"custom_bypass",g,this),(0,I.Z)(this,"user_country",Z,this),(0,I.Z)(this,"revision_hash",k,this),(0,I.Z)(this,"revision_independent_hash",w,this),(0,I.Z)(this,"button_clicked",R,this),(0,I.Z)(this,"context",C,this),(0,I.Z)(this,"viewport_width",P,this),(0,I.Z)(this,"viewport_height",S,this),(0,I.Z)(this,"viewed_page",E,this),(0,I.Z)(this,"url_imprint",_,this),(0,I.Z)(this,"url_privacy_policy",x,this),(0,I.Z)(this,"forwarded",O,this),(0,I.Z)(this,"forwarded_blocker",D,this),(0,I.Z)(this,"tcf_string",z,this),this.store=void 0,this.plain=void 0,(0,B.runInAction)((function(){return(0,B.set)(n,t)})),this.store=r,this.plain=t}return(0,A.Z)(e,[{key:"revision",get:function(){return this.store.revisions.get(this.revision_hash)}},{key:"revision_independent",get:function(){return this.store.revisionsIndependent.get(this.revision_independent_hash)}},{key:"custom_bypass_readable",get:function(){var e=this.custom_bypass;return e?e.charAt(0).toUpperCase()+e.slice(1):""}},{key:"export",get:function(){return JSON.parse(JSON.stringify((0,T.Z)((0,T.Z)({},this.plain),{},{revision:this.revision.data,revision_independent:this.revision_independent.data})))}},{key:"fetchRevisions",value:function(){return Promise.all([this.store.fetchRevision({hash:this.revision_hash}),this.store.fetchRevisionIndependent({hash:this.revision_independent_hash})])}}]),e}(),o=(0,N.Z)(n.prototype,"id",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),i=(0,N.Z)(n.prototype,"plugin_version",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,N.Z)(n.prototype,"design_version",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,N.Z)(n.prototype,"ipv4",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=(0,N.Z)(n.prototype,"ipv6",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=(0,N.Z)(n.prototype,"ipv4_hash",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,N.Z)(n.prototype,"ipv6_hash",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=(0,N.Z)(n.prototype,"uuid",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=(0,N.Z)(n.prototype,"previous_decision",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=(0,N.Z)(n.prototype,"decision",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=(0,N.Z)(n.prototype,"decision_labels",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=(0,N.Z)(n.prototype,"created",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=(0,N.Z)(n.prototype,"blocker",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=(0,N.Z)(n.prototype,"blocker_thumbnail",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=(0,N.Z)(n.prototype,"dnt",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=(0,N.Z)(n.prototype,"custom_bypass",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Z=(0,N.Z)(n.prototype,"user_country",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k=(0,N.Z)(n.prototype,"revision_hash",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,N.Z)(n.prototype,"revision_independent_hash",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),R=(0,N.Z)(n.prototype,"button_clicked",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=(0,N.Z)(n.prototype,"context",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=(0,N.Z)(n.prototype,"viewport_width",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=(0,N.Z)(n.prototype,"viewport_height",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,N.Z)(n.prototype,"viewed_page",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=(0,N.Z)(n.prototype,"url_imprint",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),x=(0,N.Z)(n.prototype,"url_privacy_policy",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=(0,N.Z)(n.prototype,"forwarded",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),D=(0,N.Z)(n.prototype,"forwarded_blocker",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),z=(0,N.Z)(n.prototype,"tcf_string",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,N.Z)(n.prototype,"revision",[B.computed],Object.getOwnPropertyDescriptor(n.prototype,"revision"),n.prototype),(0,N.Z)(n.prototype,"revision_independent",[B.computed],Object.getOwnPropertyDescriptor(n.prototype,"revision_independent"),n.prototype),(0,N.Z)(n.prototype,"custom_bypass_readable",[B.computed],Object.getOwnPropertyDescriptor(n.prototype,"custom_bypass_readable"),n.prototype),n)},3374:function(e,t,r){r.d(t,{b:function(){return y}});var n,o,i=r(38),a=r(6762),s=r(3340),c=r(3841),l=r(5952),u=r(9303),p=r(5450),f=r.n(p),b=r(8700),h=r(1629),d=r(6926),v=r(7821),m=r(7068),y=b.ClientCollection.annotate({path:"/rcb-cookie",singlePath:"/rcb-cookie/:id",namespace:"wp/v2",methods:[b.RouteHttpVerb.GET],request:h.W})((o=function(e){(0,c.Z)(r,e);var t=(0,l.Z)(r);function r(e){var n;return(0,a.Z)(this,r),(n=t.call(this)).store=void 0,n.orderCookies=(0,v.flow)(f().mark((function e(t){var r,n,o,a;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busy=!0,e.prev=1,e.next=4,(0,h.W)({location:m.I,request:{ids:t}});case 4:r=0,n=(0,i.Z)(t);try{for(n.s();!(o=n.n()).done;)a=o.value,this.entries.get(a).setOrder(r),r++}catch(e){n.e(e)}finally{n.f()}e.next=13;break;case 9:throw e.prev=9,e.t0=e.catch(1),console.log(e.t0),e.t0;case 13:return e.prev=13,this.busy=!1,e.finish(13);case 16:case"end":return e.stop()}}),e,this,[[1,9,13,16]])}))),n.store=e,n}return(0,s.Z)(r,[{key:"sortedCookies",get:function(){var e=Array.from(this.entries.values());return e.sort((function(e,t){return e.data.menu_order<t.data.menu_order?-1:e.data.menu_order>t.data.menu_order||e.key<t.key?1:e.key>t.key?-1:0})),e}},{key:"instance",value:function(e){return new d.U(this).fromResponse(e)}}]),r}(b.AbstractPostCollection),(0,u.Z)(o.prototype,"sortedCookies",[v.computed],Object.getOwnPropertyDescriptor(o.prototype,"sortedCookies"),o.prototype),n=o))||n},9818:function(e,t,r){r.d(t,{w:function(){return y}});var n,o,i=r(38),a=r(6762),s=r(3340),c=r(3841),l=r(5952),u=r(9303),p=r(5450),f=r.n(p),b=r(8700),h=r(1629),d=r(5706),v=r(7821),m=r(5354),y=b.ClientCollection.annotate({path:"/rcb-cookie-group",singlePath:"/rcb-cookie-group/:id",namespace:"wp/v2",methods:[b.RouteHttpVerb.GET],request:h.W})((o=function(e){(0,c.Z)(r,e);var t=(0,l.Z)(r);function r(e){var n;return(0,a.Z)(this,r),(n=t.call(this)).store=void 0,n.orderCookieGroups=(0,v.flow)(f().mark((function e(t){var r,n,o,a;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busy=!0,e.prev=1,e.next=4,(0,h.W)({location:m.B,request:{ids:t}});case 4:r=0,n=(0,i.Z)(t);try{for(n.s();!(o=n.n()).done;)a=o.value,this.entries.get(a).setOrder(r),r++}catch(e){n.e(e)}finally{n.f()}e.next=13;break;case 9:throw e.prev=9,e.t0=e.catch(1),console.log(e.t0),e.t0;case 13:return e.prev=13,this.busy=!1,e.finish(13);case 16:case"end":return e.stop()}}),e,this,[[1,9,13,16]])}))),n.store=e,n}return(0,s.Z)(r,[{key:"sortedGroups",get:function(){var e=Array.from(this.entries.values());return e.sort((function(e,t){return e.data.meta.order<t.data.meta.order?-1:e.data.meta.order>t.data.meta.order?1:0})),e}},{key:"instance",value:function(e){return new d.O(this).fromResponse(e)}}]),r}(b.AbstractCategoryCollection),(0,u.Z)(o.prototype,"sortedGroups",[v.computed],Object.getOwnPropertyDescriptor(o.prototype,"sortedGroups"),o.prototype),n=o))||n},5706:function(e,t,r){r.d(t,{O:function(){return Z}});var n,o,i,a,s=r(6724),c=r(6762),l=r(3340),u=r(5558),p=r(3841),f=r(5952),b=r(9303),h=r(5450),d=r.n(h),v=r(8700),m=r(1629),y=r(3374),g=r(7821),Z=v.ClientModel.annotate({keyId:"id",namespace:"wp/v2",request:m.W,create:{path:"/rcb-cookie-group"},patch:{path:"/rcb-cookie-group/:id"},delete:{path:"/rcb-cookie-group/:id"}})((o=function(e){(0,p.Z)(r,e);var t=(0,f.Z)(r);function r(e){var n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,c.Z)(this,r),n=t.call(this,e,o),(0,s.Z)(n,"cookies",i,(0,u.Z)(n)),(0,s.Z)(n,"fetchedAllCookies",a,(0,u.Z)(n)),n.fetchCookies=(0,g.flow)(d().mark((function e(){return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.cookies.get({request:{status:["draft","publish","private"]},params:{per_page:100,"rcb-cookie-group":this.key,context:"edit"}});case 2:this.fetchedAllCookies=!0;case 3:case"end":return e.stop()}}),e,this)}))),(0,g.runInAction)((function(){n.cookies=new y.b((0,u.Z)(n))})),n}return(0,l.Z)(r,[{key:"cookiesCount",get:function(){return this.fetchedAllCookies?this.cookies.entries.size:this.data.count}},{key:"setName",value:function(e){this.data.name=e}},{key:"setDescription",value:function(e){this.data.description=e}},{key:"setOrder",value:function(e){this.data.meta.order=e}},{key:"afterDelete",value:function(){this.collection.store.rootStore.optionStore.fetchCurrentRevision()}},{key:"afterPatch",value:function(){this.collection.store.rootStore.optionStore.fetchCurrentRevision()}},{key:"afterPersist",value:function(){this.collection.store.rootStore.optionStore.fetchCurrentRevision()}}]),r}(v.AbstractCategory),i=(0,b.Z)(o.prototype,"cookies",[g.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,b.Z)(o.prototype,"fetchedAllCookies",[g.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,b.Z)(o.prototype,"cookiesCount",[g.computed],Object.getOwnPropertyDescriptor(o.prototype,"cookiesCount"),o.prototype),(0,b.Z)(o.prototype,"setName",[g.action],Object.getOwnPropertyDescriptor(o.prototype,"setName"),o.prototype),(0,b.Z)(o.prototype,"setDescription",[g.action],Object.getOwnPropertyDescriptor(o.prototype,"setDescription"),o.prototype),(0,b.Z)(o.prototype,"setOrder",[g.action],Object.getOwnPropertyDescriptor(o.prototype,"setOrder"),o.prototype),n=o))||n},6926:function(e,t,r){r.d(t,{U:function(){return w}});var n,o,i,a=r(2711),s=r(7228),c=r(6724),l=r(6762),u=r(3340),p=r(5558),f=r(3071),b=r(8067),h=r(3841),d=r(5952),v=r(9303),m=r(8700),y=r(1629),g=r(8213),Z=r(7821),k=r(4163),w=m.ClientModel.annotate({keyId:"id",namespace:"wp/v2",request:y.W,create:{path:"/rcb-cookie"},patch:{path:"/rcb-cookie/:id"},delete:{path:"/rcb-cookie/:id"}})((o=function(e){(0,h.Z)(r,e);var t=(0,d.Z)(r);function r(e){var n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,l.Z)(this,r),n=t.call(this,e,o),(0,c.Z)(n,"presetModel",i,(0,p.Z)(n)),n.store=void 0,(0,Z.reaction)((function(){var e;return null===(e=n.data)||void 0===e?void 0:e.preset}),(function(e){return(0,Z.runInAction)((function(){n.presetModel=e?new g.g(e,k.M.get.cookieStore):void 0}))}),{fireImmediately:!0}),n}return(0,u.Z)(r,[{key:"rootStore",get:function(){return this.collection.store.collection.store.rootStore}},{key:"tagManagerSettings",get:function(){var e=this.rootStore.optionStore;return e.others.isPro,e.setCookiesViaManager,!1}},{key:"technicalDefinitions",get:function(){return JSON.parse(this.data.meta.technicalDefinitions)}},{key:"codeDynamics",get:function(){return JSON.parse(this.data.meta.codeDynamics||"{}")}},{key:"firstTechnicalDefinition",get:function(){var e;return null===(e=this.technicalDefinitions)||void 0===e?void 0:e[0]}},{key:"afterPatch",value:function(){var e=this,t=this.collection.store.collection,r=(0,s.Z)(this.data["rcb-cookie-group"],1)[0];t.entries.forEach((function(t){r!==t.key?t.cookies.entries.delete(e.key):t.cookies.entries.set(e.key,e)})),this.rootStore.optionStore.fetchCurrentRevision(),this.rootStore.cookieStore.unassignedCookies.delete(this.key)}},{key:"setOrder",value:function(e){this.data.menu_order=e}},{key:"setName",value:function(e){this.data.title.rendered=e}},{key:"setStatus",value:function(e){this.data.status=e}},{key:"setPurpose",value:function(e){this.data.content.rendered=e}},{key:"setGroup",value:function(e){this.data["rcb-cookie-group"]=[e]}},{key:"setMeta",value:function(e){this.data.meta=e}},{key:"transformDataForPersist",value:function(){var e=(0,f.Z)((0,b.Z)(r.prototype),"transformDataForPersist",this).call(this);return(0,a.Z)((0,a.Z)({},e),{},{"rcb-cookie-group":[this.collection.store.key]})}},{key:"transformDataForPatch",value:function(){var e=(0,f.Z)((0,b.Z)(r.prototype),"transformDataForPatch",this).call(this);return{title:e.title,content:e.content,status:e.status,meta:e.meta,menu_order:e.menu_order,"rcb-cookie-group":this.data["rcb-cookie-group"],slug:e.title}}},{key:"afterDelete",value:function(){this.collection.store.cookies.store.collection.store.rootStore.optionStore.fetchCurrentRevision()}},{key:"afterPersist",value:function(){var e=this.collection.store.cookies.store.collection.store.rootStore,t=e.optionStore,r=e.checklistStore;t.fetchCurrentRevision(),r.probablyFetchByChangedItem("add-cookie")}}]),r}(m.AbstractPost),i=(0,v.Z)(o.prototype,"presetModel",[Z.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,v.Z)(o.prototype,"rootStore",[Z.computed],Object.getOwnPropertyDescriptor(o.prototype,"rootStore"),o.prototype),(0,v.Z)(o.prototype,"tagManagerSettings",[Z.computed],Object.getOwnPropertyDescriptor(o.prototype,"tagManagerSettings"),o.prototype),(0,v.Z)(o.prototype,"technicalDefinitions",[Z.computed],Object.getOwnPropertyDescriptor(o.prototype,"technicalDefinitions"),o.prototype),(0,v.Z)(o.prototype,"codeDynamics",[Z.computed],Object.getOwnPropertyDescriptor(o.prototype,"codeDynamics"),o.prototype),(0,v.Z)(o.prototype,"firstTechnicalDefinition",[Z.computed],Object.getOwnPropertyDescriptor(o.prototype,"firstTechnicalDefinition"),o.prototype),(0,v.Z)(o.prototype,"afterPatch",[Z.action],Object.getOwnPropertyDescriptor(o.prototype,"afterPatch"),o.prototype),(0,v.Z)(o.prototype,"setOrder",[Z.action],Object.getOwnPropertyDescriptor(o.prototype,"setOrder"),o.prototype),(0,v.Z)(o.prototype,"setName",[Z.action],Object.getOwnPropertyDescriptor(o.prototype,"setName"),o.prototype),(0,v.Z)(o.prototype,"setStatus",[Z.action],Object.getOwnPropertyDescriptor(o.prototype,"setStatus"),o.prototype),(0,v.Z)(o.prototype,"setPurpose",[Z.action],Object.getOwnPropertyDescriptor(o.prototype,"setPurpose"),o.prototype),(0,v.Z)(o.prototype,"setGroup",[Z.action],Object.getOwnPropertyDescriptor(o.prototype,"setGroup"),o.prototype),(0,v.Z)(o.prototype,"setMeta",[Z.action],Object.getOwnPropertyDescriptor(o.prototype,"setMeta"),o.prototype),n=o))||n},8213:function(e,t,r){r.d(t,{g:function(){return v}});var n,o,i,a,s=r(6724),c=r(6762),l=r(3340),u=r(9303),p=r(5450),f=r.n(p),b=r(7821),h=r(1500),d=r(1629),v=(n=function(){function e(t,r){var n=this;(0,c.Z)(this,e),(0,s.Z)(this,"busy",o,this),(0,s.Z)(this,"data",i,this),(0,s.Z)(this,"attributes",a,this),this.store=void 0,this.fetchAttributes=(0,b.flow)(f().mark((function e(){var t;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,this.busy=!0,e.next=4,(0,d.W)({location:h.t,params:{identifier:this.data.identifier}});case 4:t=e.sent,this.attributes=t,e.next=12;break;case 8:throw e.prev=8,e.t0=e.catch(0),console.log(e.t0),e.t0;case 12:return e.prev=12,this.busy=!1,e.finish(12);case 15:case"end":return e.stop()}}),e,this,[[0,8,12,15]])}))),(0,b.runInAction)((function(){n.data=t})),this.store=r}return(0,l.Z)(e,[{key:"fullLogoUrl",get:function(){var e=this.data.logoFile,t=this.store.rootStore.optionStore.publicUrl;return e.startsWith("http")?e:"".concat(t,"images/logos/").concat(e)}}]),e}(),o=(0,u.Z)(n.prototype,"busy",[b.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),i=(0,u.Z)(n.prototype,"data",[b.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,u.Z)(n.prototype,"attributes",[b.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,u.Z)(n.prototype,"fullLogoUrl",[b.computed],Object.getOwnPropertyDescriptor(n.prototype,"fullLogoUrl"),n.prototype),n)},508:function(e,t,r){r.d(t,{k:function(){return o}});var n=r(6762),o=function e(t,r){(0,n.Z)(this,e),this.data=void 0,this.store=void 0,this.data=t,this.store=r}},502:function(e,t,r){r.d(t,{I:function(){return o}});var n=r(6762),o=function e(t,r){(0,n.Z)(this,e),this.data=void 0,this.store=void 0,this.data=t,this.store=r}},936:function(e,t,r){r.d(t,{o:function(){return v}});var n,o,i,a=r(6724),s=r(6762),c=r(3340),l=r(9303),u=r(5450),p=r.n(u),f=r(7821),b=r(4227),h=r(1629),d=r(8630),v=(n=function(){function e(t,r){var n=this;(0,s.Z)(this,e),(0,a.Z)(this,"busy",o,this),(0,a.Z)(this,"data",i,this),this.store=void 0,this.ignore=(0,f.flow)(p().mark((function e(){var t,r=arguments;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=!(r.length>1&&void 0!==r[1])||r[1],e.prev=1,e.next=4,(0,h.W)({location:b.C,request:{ignored:t},params:{host:this.data.host.replace(/\./g,"_")}});case 4:this.data.ignored=t,e.next=11;break;case 7:throw e.prev=7,e.t0=e.catch(1),console.log(e.t0),e.t0;case 11:case"end":return e.stop()}}),e,this,[[1,7]])}))),(0,f.runInAction)((function(){n.data=t})),this.store=r}return(0,c.Z)(e,[{key:"identifier",get:function(){return this.data.host}},{key:"inactive",get:function(){return"full"===this.blockedStatus||this.data.ignored}},{key:"blockedStatus",get:function(){var e=this.data,t=e.foundCount,r=e.blockedCount;return 0===r?"none":t===r?"full":"partial"}},{key:"blockedStatusText",get:function(){switch(this.blockedStatus){case"full":return(0,d.__)("Fully blocked");case"partial":return(0,d.__)("Partially blocked");default:return(0,d.__)("Not blocked")}}}]),e}(),o=(0,l.Z)(n.prototype,"busy",[f.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),i=(0,l.Z)(n.prototype,"data",[f.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,l.Z)(n.prototype,"identifier",[f.computed],Object.getOwnPropertyDescriptor(n.prototype,"identifier"),n.prototype),(0,l.Z)(n.prototype,"inactive",[f.computed],Object.getOwnPropertyDescriptor(n.prototype,"inactive"),n.prototype),(0,l.Z)(n.prototype,"blockedStatus",[f.computed],Object.getOwnPropertyDescriptor(n.prototype,"blockedStatus"),n.prototype),(0,l.Z)(n.prototype,"blockedStatusText",[f.computed],Object.getOwnPropertyDescriptor(n.prototype,"blockedStatusText"),n.prototype),n)},1313:function(e,t,r){r.d(t,{a:function(){return h}});var n,o,i,a=r(6724),s=r(6762),c=r(3340),l=r(9303),u=r(5450),p=r.n(u),f=r(7821),b=r(3190),h=(n=function(){function e(t,r){var n=this;(0,s.Z)(this,e),(0,a.Z)(this,"busy",o,this),(0,a.Z)(this,"data",i,this),this.store=void 0,this.fetchMarkup=(0,f.flow)(p().mark((function e(){return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.store.fetchMarkup(this.data.id);case 2:case"end":return e.stop()}}),e,this)}))),(0,f.runInAction)((function(){n.data=t})),this.store=r}return(0,c.Z)(e,[{key:"markup",get:function(){return this.store.resultMarkup.get(this.data.id)}},{key:"blockedUrlTruncate",get:function(){return(0,b.r)(this.data.blockedUrl,50,"[...]")}},{key:"sourceUrlTruncate",get:function(){return(0,b.r)(this.data.sourceUrl,50,"[...]")}}]),e}(),o=(0,l.Z)(n.prototype,"busy",[f.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),i=(0,l.Z)(n.prototype,"data",[f.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,l.Z)(n.prototype,"markup",[f.computed],Object.getOwnPropertyDescriptor(n.prototype,"markup"),n.prototype),(0,l.Z)(n.prototype,"blockedUrlTruncate",[f.computed],Object.getOwnPropertyDescriptor(n.prototype,"blockedUrlTruncate"),n.prototype),(0,l.Z)(n.prototype,"sourceUrlTruncate",[f.computed],Object.getOwnPropertyDescriptor(n.prototype,"sourceUrlTruncate"),n.prototype),n)},1680:function(e,t,r){r.d(t,{g:function(){return v}});var n,o,i,a,s=r(6724),c=r(6762),l=r(3340),u=r(9303),p=r(5450),f=r.n(p),b=r(7821),h=r(1629),d=r(1535),v=(n=function(){function e(t,r){var n=this;(0,c.Z)(this,e),(0,s.Z)(this,"busy",o,this),(0,s.Z)(this,"data",i,this),(0,s.Z)(this,"attributes",a,this),this.store=void 0,this.fetchAttributes=(0,b.flow)(f().mark((function e(){var t;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,this.busy=!0,e.next=4,(0,h.W)({location:d.N,params:{identifier:this.data.identifier}});case 4:t=e.sent,this.attributes=t,e.next=12;break;case 8:throw e.prev=8,e.t0=e.catch(0),console.log(e.t0),e.t0;case 12:return e.prev=12,this.busy=!1,e.finish(12);case 15:case"end":return e.stop()}}),e,this,[[0,8,12,15]])}))),(0,b.runInAction)((function(){n.data=t})),this.store=r}return(0,l.Z)(e,[{key:"identifier",get:function(){return this.data.identifier}},{key:"fullLogoUrl",get:function(){var e=this.data.logoFile,t=this.store.rootStore.optionStore.publicUrl;return e.startsWith("http")?e:"".concat(t,"images/logos/").concat(e)}},{key:"inactive",get:function(){return this.data.created}}]),e}(),o=(0,u.Z)(n.prototype,"busy",[b.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),i=(0,u.Z)(n.prototype,"data",[b.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,u.Z)(n.prototype,"attributes",[b.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,u.Z)(n.prototype,"identifier",[b.computed],Object.getOwnPropertyDescriptor(n.prototype,"identifier"),n.prototype),(0,u.Z)(n.prototype,"fullLogoUrl",[b.computed],Object.getOwnPropertyDescriptor(n.prototype,"fullLogoUrl"),n.prototype),(0,u.Z)(n.prototype,"inactive",[b.computed],Object.getOwnPropertyDescriptor(n.prototype,"inactive"),n.prototype),n)},6846:function(e,t,r){r.d(t,{i:function(){return u}});var n,o,i,a=r(6724),s=r(6762),c=r(9303),l=r(7821),u=(n=function e(t,r,n){var c=this;(0,s.Z)(this,e),(0,a.Z)(this,"data",o,this),(0,a.Z)(this,"special",i,this),this.store=void 0,(0,l.runInAction)((function(){c.special=r,c.data=t})),this.store=n},o=(0,c.Z)(n.prototype,"data",[l.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),i=(0,c.Z)(n.prototype,"special",[l.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),n)},8905:function(e,t,r){r.d(t,{v:function(){return u}});var n,o,i,a=r(6724),s=r(6762),c=r(9303),l=r(7821),u=(n=function e(t,r,n){var c=this;(0,s.Z)(this,e),(0,a.Z)(this,"data",o,this),(0,a.Z)(this,"special",i,this),this.store=void 0,(0,l.runInAction)((function(){c.special=r,c.data=t})),this.store=n},o=(0,c.Z)(n.prototype,"data",[l.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),i=(0,c.Z)(n.prototype,"special",[l.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),n)},7037:function(e,t,r){r.d(t,{C:function(){return b}});var n,o,i=r(7870),a=r(38),s=r(6724),c=r(6762),l=r(3340),u=r(9303),p=r(7821),f=r(6833),b=(n=function(){function e(t,r){var n=this;(0,c.Z)(this,e),(0,s.Z)(this,"data",o,this),this.store=void 0,(0,p.runInAction)((function(){n.data=t})),this.store=r}return(0,l.Z)(e,[{key:"vendorConfiguration",get:function(){var e,t=(0,a.Z)(this.store.vendorConfigurations.entries.values());try{for(t.s();!(e=t.n()).done;){var r=e.value;if(r.vendorModel.data.id===this.data.id)return r}}catch(e){t.e(e)}finally{t.f()}}},{key:"deviceStorageDisclosure",get:function(){var e=this.data,t=e.usesCookies,r=e.cookieMaxAgeSeconds,n=e.cookieRefresh,o=e.usesNonCookieAccess,a=e.deviceStorageDisclosure,s=null!=a&&a.disclosures.length?(0,i.Z)(a.disclosures):[];return o&&s.unshift({type:f.r.Web,identifier:"*",purposes:void 0,cookieRefresh:void 0,domain:"*",maxAgeSeconds:null}),t&&s.unshift({type:f.r.Cookie,identifier:"*",purposes:void 0,cookieRefresh:n,domain:"*",maxAgeSeconds:r}),s}},{key:"allPurposes",get:function(){return[].concat((0,i.Z)(this.legIntPurposes),(0,i.Z)(this.purposes),(0,i.Z)(this.specialPurposes)).filter(Boolean)}},{key:"allFeatures",get:function(){return[].concat((0,i.Z)(this.features),(0,i.Z)(this.specialFeatures)).filter(Boolean)}},{key:"restrictivePurposes",get:function(){for(var e={normal:{}},t=0,r=[].concat((0,i.Z)(this.legIntPurposes),(0,i.Z)(this.purposes));t<r.length;t++){var n=r[t];e.normal[n.data.id.toString()]={enabled:!0,legInt:this.legIntPurposes.indexOf(n)>-1&&!n.special?"yes":"no"}}return e}},{key:"purposes",get:function(){var e,t=this;return null===(e=this.data)||void 0===e?void 0:e.purposes.map((function(e){return t.store.purposes.get("".concat(e))}))}},{key:"legIntPurposes",get:function(){var e,t=this;return null===(e=this.data)||void 0===e?void 0:e.legIntPurposes.map((function(e){return t.store.purposes.get("".concat(e))}))}},{key:"flexiblePurposes",get:function(){var e,t=this;return null===(e=this.data)||void 0===e?void 0:e.flexiblePurposes.map((function(e){return t.store.purposes.get("".concat(e))}))}},{key:"specialPurposes",get:function(){var e,t=this;return null===(e=this.data)||void 0===e?void 0:e.specialPurposes.map((function(e){return t.store.specialPurposes.get("".concat(e))}))}},{key:"features",get:function(){var e,t=this;return null===(e=this.data)||void 0===e?void 0:e.features.map((function(e){return t.store.features.get("".concat(e))}))}},{key:"specialFeatures",get:function(){var e,t=this;return null===(e=this.data)||void 0===e?void 0:e.specialFeatures.map((function(e){return t.store.specialFeatures.get("".concat(e))}))}}]),e}(),o=(0,u.Z)(n.prototype,"data",[p.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,u.Z)(n.prototype,"vendorConfiguration",[p.computed],Object.getOwnPropertyDescriptor(n.prototype,"vendorConfiguration"),n.prototype),(0,u.Z)(n.prototype,"deviceStorageDisclosure",[p.computed],Object.getOwnPropertyDescriptor(n.prototype,"deviceStorageDisclosure"),n.prototype),(0,u.Z)(n.prototype,"allPurposes",[p.computed],Object.getOwnPropertyDescriptor(n.prototype,"allPurposes"),n.prototype),(0,u.Z)(n.prototype,"allFeatures",[p.computed],Object.getOwnPropertyDescriptor(n.prototype,"allFeatures"),n.prototype),(0,u.Z)(n.prototype,"restrictivePurposes",[p.computed],Object.getOwnPropertyDescriptor(n.prototype,"restrictivePurposes"),n.prototype),(0,u.Z)(n.prototype,"purposes",[p.computed],Object.getOwnPropertyDescriptor(n.prototype,"purposes"),n.prototype),(0,u.Z)(n.prototype,"legIntPurposes",[p.computed],Object.getOwnPropertyDescriptor(n.prototype,"legIntPurposes"),n.prototype),(0,u.Z)(n.prototype,"flexiblePurposes",[p.computed],Object.getOwnPropertyDescriptor(n.prototype,"flexiblePurposes"),n.prototype),(0,u.Z)(n.prototype,"specialPurposes",[p.computed],Object.getOwnPropertyDescriptor(n.prototype,"specialPurposes"),n.prototype),(0,u.Z)(n.prototype,"features",[p.computed],Object.getOwnPropertyDescriptor(n.prototype,"features"),n.prototype),(0,u.Z)(n.prototype,"specialFeatures",[p.computed],Object.getOwnPropertyDescriptor(n.prototype,"specialFeatures"),n.prototype),n)},1833:function(e,t,r){r.d(t,{C:function(){return p}});var n,o=r(6762),i=r(3340),a=r(3841),s=r(5952),c=r(8700),l=r(1629),u=r(9533),p=c.ClientCollection.annotate({path:"/rcb-tcf-vendor-conf",singlePath:"/rcb-tcf-vendor-conf/:id",namespace:"wp/v2",methods:[c.RouteHttpVerb.GET],request:l.W})(n=function(e){(0,a.Z)(r,e);var t=(0,s.Z)(r);function r(e){var n;return(0,o.Z)(this,r),(n=t.call(this)).store=void 0,n.store=e,n}return(0,i.Z)(r,[{key:"instance",value:function(e){return new u.S(this).fromResponse(e)}}]),r}(c.AbstractPostCollection))||n},9533:function(e,t,r){r.d(t,{S:function(){return w}});var n,o,i,a=r(7870),s=r(6724),c=r(6762),l=r(3340),u=r(5558),p=r(3071),f=r(8067),b=r(3841),h=r(5952),d=r(9303),v=r(8700),m=r(1629),y=r(7821),g=r(7037),Z=r(5311),k=r.n(Z),w=v.ClientModel.annotate({keyId:"id",namespace:"wp/v2",request:m.W,create:{path:"/rcb-tcf-vendor-conf"},patch:{path:"/rcb-tcf-vendor-conf/:id"},delete:{path:"/rcb-tcf-vendor-conf/:id"}})((o=function(e){(0,b.Z)(r,e);var t=(0,h.Z)(r);function r(e){var n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,c.Z)(this,r),n=t.call(this,e,o),(0,s.Z)(n,"vendorModel",i,(0,u.Z)(n)),(0,y.reaction)((function(){return n.data.vendor}),(function(e){return(0,y.runInAction)((function(){if(e){var t=n.collection.store.vendors,r=e.id.toString(),o=t.get(r);o||(o=new g.C(e,n.collection.store),t.set(r,o)),n.vendorModel=o}}))}),{fireImmediately:!0}),(0,y.reaction)((function(){var e;return null===(e=n.data.meta)||void 0===e?void 0:e.vendorId}),(function(e){e&&(n.vendorModel=n.collection.store.vendors.get(e.toString()))}),{fireImmediately:!0}),n}return(0,l.Z)(r,[{key:"hasVendor",get:function(){return!!this.vendorModel}},{key:"restrictivePurposes",get:function(){var e,t,r="global"===this.collection.store.rootStore.optionStore.tcfScopeOfConsent,n=(null===(e=this.vendorModel)||void 0===e?void 0:e.restrictivePurposes)||{normal:{}};if(r)return n;var o=JSON.parse(this.data.meta.restrictivePurposes);return k().extend(!0,{},(null===(t=this.vendorModel)||void 0===t?void 0:t.restrictivePurposes)||{},o)}},{key:"stats",get:function(){var e,t=this.restrictivePurposes.normal,r=(0,a.Z)(Object.values(t));return{activePurposes:r.filter((function(e){return e.enabled})).length,legIntPurposes:r.filter((function(e){var t=e.enabled,r=e.legInt;return t&&"yes"===r})).length,activeFeatures:(null===(e=this.vendorModel)||void 0===e?void 0:e.allFeatures.length)||0}}},{key:"setStatus",value:function(e){this.data.status=e}},{key:"setMeta",value:function(e){this.data.meta=e}},{key:"transformDataForPatch",value:function(){var e=(0,p.Z)((0,f.Z)(r.prototype),"transformDataForPatch",this).call(this);return{status:e.status,meta:e.meta}}},{key:"afterPatch",value:function(){this.collection.store.rootStore.optionStore.fetchCurrentRevision()}},{key:"afterDelete",value:function(){this.collection.store.rootStore.optionStore.fetchCurrentRevision()}},{key:"afterPersist",value:function(){this.collection.store.rootStore.optionStore.fetchCurrentRevision()}}]),r}(v.AbstractPost),i=(0,d.Z)(o.prototype,"vendorModel",[y.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,d.Z)(o.prototype,"hasVendor",[y.computed],Object.getOwnPropertyDescriptor(o.prototype,"hasVendor"),o.prototype),(0,d.Z)(o.prototype,"restrictivePurposes",[y.computed],Object.getOwnPropertyDescriptor(o.prototype,"restrictivePurposes"),o.prototype),(0,d.Z)(o.prototype,"stats",[y.computed],Object.getOwnPropertyDescriptor(o.prototype,"stats"),o.prototype),(0,d.Z)(o.prototype,"setStatus",[y.action],Object.getOwnPropertyDescriptor(o.prototype,"setStatus"),o.prototype),(0,d.Z)(o.prototype,"setMeta",[y.action],Object.getOwnPropertyDescriptor(o.prototype,"setMeta"),o.prototype),n=o))||n},2819:function(e,t,r){r.d(t,{L:function(){return k}});var n,o,i,a=r(2711),s=r(6724),c=r(6762),l=r(3340),u=r(5558),p=r(3841),f=r(5952),b=r(9303),h=r(5450),d=r.n(h),v=r(7821),m=r(8700),y=r(986),g=r(8930),Z=r(1629),k=(n=function(e){(0,p.Z)(r,e);var t=(0,f.Z)(r);function r(e){var n;return(0,c.Z)(this,r),n=t.call(this),(0,s.Z)(n,"busyChecklist",o,(0,u.Z)(n)),(0,s.Z)(n,"checklist",i,(0,u.Z)(n)),n.rootStore=void 0,n.probablyFetchByChangedItem=(0,v.flow)(d().mark((function e(t,r){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!r){e.next=4;break}return e.next=3,this.fetchChecklist();case 3:return e.abrupt("return");case 4:if(n=Array.isArray(t)?t:[t],!(this.items.filter((function(e){var t=e.id,r=e.checked;return n.indexOf(t)>-1&&!r})).length>0)){e.next=8;break}return e.next=8,this.fetchChecklist();case 8:case"end":return e.stop()}}),e,this)}))),n.fetchChecklist=(0,v.flow)(d().mark((function e(){return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busyChecklist=!0,e.prev=1,e.next=4,(0,Z.W)({location:y.g,params:{_wp_http_referer:window.location.href}});case 4:this.checklist=e.sent,e.next=11;break;case 7:throw e.prev=7,e.t0=e.catch(1),console.log(e.t0),e.t0;case 11:return e.prev=11,this.busyChecklist=!1,e.finish(11);case 14:case"end":return e.stop()}}),e,this,[[1,7,11,14]])}))),n.toggleChecklistItem=(0,v.flow)(d().mark((function e(t,r){return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busyChecklist=!0,e.prev=1,e.next=4,(0,Z.W)({location:g.s,request:{state:r},params:{id:t,_wp_http_referer:window.location.href}});case 4:this.checklist=e.sent,e.next=11;break;case 7:throw e.prev=7,e.t0=e.catch(1),console.log(e.t0),e.t0;case 11:return e.prev=11,this.busyChecklist=!1,e.finish(11);case 14:case"end":return e.stop()}}),e,this,[[1,7,11,14]])}))),n.rootStore=e,n}return(0,l.Z)(r,[{key:"items",get:function(){var e=this;return this.checklist&&Object.keys(this.checklist.items).map((function(t){return(0,a.Z)({id:t},e.checklist.items[t])}))||[]}},{key:"completed",get:function(){return this.items.filter((function(e){return e.checked}))}},{key:"checkable",get:function(){var e=this.rootStore.optionStore.others.isPro;return this.items.filter((function(t){var r=t.needsPro;return!r||e&&r}))}},{key:"done",get:function(){var e;return this.completed.length>=this.checkable.length||!(null===(e=this.checklist)||void 0===e||!e.dismissed)}}]),r}(m.BaseOptions),o=(0,b.Z)(n.prototype,"busyChecklist",[v.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),i=(0,b.Z)(n.prototype,"checklist",[v.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,b.Z)(n.prototype,"items",[v.computed],Object.getOwnPropertyDescriptor(n.prototype,"items"),n.prototype),(0,b.Z)(n.prototype,"completed",[v.computed],Object.getOwnPropertyDescriptor(n.prototype,"completed"),n.prototype),(0,b.Z)(n.prototype,"checkable",[v.computed],Object.getOwnPropertyDescriptor(n.prototype,"checkable"),n.prototype),(0,b.Z)(n.prototype,"done",[v.computed],Object.getOwnPropertyDescriptor(n.prototype,"done"),n.prototype),n)},3880:function(e,t,r){r.d(t,{v:function(){return I}});var n,o,i,a,s,c,l,u,p,f,b=r(38),h=r(6724),d=r(6762),v=r(3340),m=r(5558),y=r(3841),g=r(5952),Z=r(9303),k=r(5450),w=r.n(k),R=r(7821),C=r(8700),P=r(1629),S=r(5151),E=r(2616),_=r(5253),x=r(9437),O=r(6465),D=r(8466),z=r(508),T=r(502),I=(n=function(e){(0,y.Z)(r,e);var t=(0,g.Z)(r);function r(e){var n;return(0,d.Z)(this,r),n=t.call(this),(0,h.Z)(n,"busyConsent",o,(0,m.Z)(n)),(0,h.Z)(n,"busyReferer",i,(0,m.Z)(n)),(0,h.Z)(n,"count",a,(0,m.Z)(n)),(0,h.Z)(n,"perPage",s,(0,m.Z)(n)),(0,h.Z)(n,"offset",c,(0,m.Z)(n)),(0,h.Z)(n,"pageCollection",l,(0,m.Z)(n)),(0,h.Z)(n,"revisions",u,(0,m.Z)(n)),(0,h.Z)(n,"revisionsIndependent",p,(0,m.Z)(n)),(0,h.Z)(n,"referer",f,(0,m.Z)(n)),n.filters=R.observable.object({page:1,dates:[void 0,void 0],context:void 0,referer:void 0,ip:void 0,uuid:void 0},{},{deep:!1}),n.rootStore=void 0,n.fetchAll=(0,R.flow)(w().mark((function e(){var t,r,n,o,i,a,s,c,l,u,p,f,h;return w().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busyConsent=!0,e.prev=1,t=this.filters,r=t.page,n=t.referer,o=t.ip,i=t.uuid,a=t.context,s=this.filters.dates.map((function(e){return e?e.format("YYYY-MM-DD"):""})),e.next=6,(0,P.W)({location:S.c,params:{per_page:this.perPage,offset:(r-1)*this.perPage,from:s[0],to:s[1],ip:o,uuid:i,referer:n,context:a}});case 6:c=e.sent,l=c.count,u=c.items,this.count=l,this.pageCollection.clear(),p=(0,b.Z)(u);try{for(p.s();!(f=p.n()).done;)h=f.value,this.pageCollection.set(h.id,new D.y(h,this))}catch(e){p.e(e)}finally{p.f()}e.next=19;break;case 15:throw e.prev=15,e.t0=e.catch(1),console.log(e.t0),e.t0;case 19:return e.prev=19,this.busyConsent=!1,e.finish(19);case 22:case"end":return e.stop()}}),e,this,[[1,15,19,22]])}))),n.fetchRevision=(0,R.flow)(w().mark((function e(t){var r;return w().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,P.W)({location:E.Z,params:t});case 3:r=e.sent,this.revisions.set(t.hash,new z.k(r,this)),e.next=11;break;case 7:throw e.prev=7,e.t0=e.catch(0),console.log(e.t0),e.t0;case 11:case"end":return e.stop()}}),e,this,[[0,7]])}))),n.fetchRevisionIndependent=(0,R.flow)(w().mark((function e(t){var r;return w().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,P.W)({location:_.T,params:t});case 3:r=e.sent,this.revisionsIndependent.set(t.hash,new T.I(r,this)),e.next=11;break;case 7:throw e.prev=7,e.t0=e.catch(0),console.log(e.t0),e.t0;case 11:case"end":return e.stop()}}),e,this,[[0,7]])}))),n.fetchReferer=(0,R.flow)(w().mark((function e(t){var r;return w().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busyReferer=!0,e.prev=1,e.next=4,(0,P.W)({location:x.q,params:t});case 4:r=e.sent,this.referer=r.items,e.next=12;break;case 8:throw e.prev=8,e.t0=e.catch(1),console.log(e.t0),e.t0;case 12:return e.prev=12,this.busyReferer=!1,e.finish(12);case 15:case"end":return e.stop()}}),e,this,[[1,8,12,15]])}))),n.deleteAll=(0,R.flow)(w().mark((function e(){return w().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busyConsent=!0,e.prev=1,e.next=4,(0,P.W)({location:O.O});case 4:return this.applyPage(0),e.next=7,this.fetchAll();case 7:e.next=13;break;case 9:throw e.prev=9,e.t0=e.catch(1),console.log(e.t0),e.t0;case 13:return e.prev=13,this.busyConsent=!1,e.finish(13);case 16:case"end":return e.stop()}}),e,this,[[1,9,13,16]])}))),n.rootStore=e,(0,R.runInAction)((function(){n.filters.context=n.rootStore.optionStore.others.context})),n}return(0,v.Z)(r,[{key:"applyPage",value:function(e){this.filters.page=e}},{key:"applyDates",value:function(e){this.filters.dates=e}},{key:"applyContext",value:function(e){this.filters.context=e}},{key:"applyReferer",value:function(e){this.filters.referer=e}},{key:"applyIp",value:function(e){this.filters.ip=e}},{key:"applyUuid",value:function(e){this.filters.uuid=e}}]),r}(C.BaseOptions),o=(0,Z.Z)(n.prototype,"busyConsent",[R.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),i=(0,Z.Z)(n.prototype,"busyReferer",[R.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),a=(0,Z.Z)(n.prototype,"count",[R.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),s=(0,Z.Z)(n.prototype,"perPage",[R.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 50}}),c=(0,Z.Z)(n.prototype,"offset",[R.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),l=(0,Z.Z)(n.prototype,"pageCollection",[R.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),u=(0,Z.Z)(n.prototype,"revisions",[R.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),p=(0,Z.Z)(n.prototype,"revisionsIndependent",[R.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),f=(0,Z.Z)(n.prototype,"referer",[R.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),(0,Z.Z)(n.prototype,"applyPage",[R.action],Object.getOwnPropertyDescriptor(n.prototype,"applyPage"),n.prototype),(0,Z.Z)(n.prototype,"applyDates",[R.action],Object.getOwnPropertyDescriptor(n.prototype,"applyDates"),n.prototype),(0,Z.Z)(n.prototype,"applyContext",[R.action],Object.getOwnPropertyDescriptor(n.prototype,"applyContext"),n.prototype),(0,Z.Z)(n.prototype,"applyReferer",[R.action],Object.getOwnPropertyDescriptor(n.prototype,"applyReferer"),n.prototype),(0,Z.Z)(n.prototype,"applyIp",[R.action],Object.getOwnPropertyDescriptor(n.prototype,"applyIp"),n.prototype),(0,Z.Z)(n.prototype,"applyUuid",[R.action],Object.getOwnPropertyDescriptor(n.prototype,"applyUuid"),n.prototype),n)},2237:function(e,t,r){r.d(t,{h:function(){return _}});var n,o,i,a,s,c,l,u,p,f,b=r(6724),h=r(6762),d=r(3340),v=r(9303),m=r(5450),y=r.n(m),g=r(7821),Z=r(1073),k=r(8213),w=r(9818),R=r(1031),C=r(6764),P=r(7689),S=r(3352),E=r(1629),_=(n=function(){function e(t){var r=this;(0,h.Z)(this,e),(0,b.Z)(this,"busy",o,this),(0,b.Z)(this,"groups",i,this),(0,b.Z)(this,"unassignedCookies",a,this),(0,b.Z)(this,"blockers",s,this),(0,b.Z)(this,"presetsBlocker",c,this),(0,b.Z)(this,"busyPresetsBlocker",l,this),(0,b.Z)(this,"presetsCookie",u,this),(0,b.Z)(this,"busyPresetsCookie",p,this),(0,b.Z)(this,"fetchedAllBlockers",f,this),this.rootStore=void 0,this.fetchGroups=(0,g.flow)(y().mark((function e(){return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.groups.get({params:{per_page:100}});case 2:return e.next=4,this.fetchUnassignedCookies();case 4:case"end":return e.stop()}}),e,this)}))),this.fetchUnassignedCookies=(0,g.flow)(y().mark((function e(){var t,r,n,o;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,E.W)({location:C.p});case 3:for(t=e.sent,r=0,n=Object.values(t);r<n.length;r++)o=n[r],this.unassignedCookies.set(o.id,o);e.next=11;break;case 7:throw e.prev=7,e.t0=e.catch(0),console.log(e.t0),e.t0;case 11:case"end":return e.stop()}}),e,this,[[0,7]])}))),this.fetchBlockers=(0,g.flow)(y().mark((function e(){return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.blockers.get({request:{status:["draft","publish","private"]},params:{per_page:100,context:"edit"}});case 2:this.fetchedAllBlockers=!0;case 3:case"end":return e.stop()}}),e,this)}))),this.fetchPresetsBlocker=(0,g.flow)(y().mark((function e(){var t,r,n,o,i;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busyPresetsBlocker=!0,e.prev=1,e.next=4,(0,E.W)({location:P.W});case 4:for(t=e.sent,r=t.items,n=0,o=Object.keys(r);n<o.length;n++)i=o[n],this.presetsBlocker.set(i,new Z.w(r[i],this));e.next=13;break;case 9:throw e.prev=9,e.t0=e.catch(1),console.log(e.t0),e.t0;case 13:return e.prev=13,this.busyPresetsBlocker=!1,e.finish(13);case 16:case"end":return e.stop()}}),e,this,[[1,9,13,16]])}))),this.fetchPresetsCookie=(0,g.flow)(y().mark((function e(){var t,r,n,o,i;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busyPresetsCookie=!0,e.prev=1,e.next=4,(0,E.W)({location:S.z});case 4:for(t=e.sent,r=t.items,n=0,o=Object.keys(r);n<o.length;n++)i=o[n],this.presetsCookie.set(i,new k.g(r[i],this));e.next=13;break;case 9:throw e.prev=9,e.t0=e.catch(1),console.log(e.t0),e.t0;case 13:return e.prev=13,this.busyPresetsCookie=!1,e.finish(13);case 16:case"end":return e.stop()}}),e,this,[[1,9,13,16]])}))),this.rootStore=t,(0,g.runInAction)((function(){r.groups=new w.w(r),r.blockers=new R.R(r)}))}return(0,d.Z)(e,[{key:"blockersCount",get:function(){return this.fetchedAllBlockers?this.blockers.entries.size:this.rootStore.optionStore.allBlockerCount}},{key:"cookiesCount",get:function(){return Array.from(this.groups.entries.values()).map((function(e){return e.cookiesCount})).reduce((function(e,t){return e+t}),0)}},{key:"essentialGroup",get:function(){if(0!==this.groups.entries.size){for(var e,t=this.groups.entries.values();(e=t.next().value)&&e.data.slug!==this.rootStore.optionStore.others.essentialGroup;);return e}}}]),e}(),o=(0,v.Z)(n.prototype,"busy",[g.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),i=(0,v.Z)(n.prototype,"groups",[g.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,v.Z)(n.prototype,"unassignedCookies",[g.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),s=(0,v.Z)(n.prototype,"blockers",[g.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=(0,v.Z)(n.prototype,"presetsBlocker",[g.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),l=(0,v.Z)(n.prototype,"busyPresetsBlocker",[g.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),u=(0,v.Z)(n.prototype,"presetsCookie",[g.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),p=(0,v.Z)(n.prototype,"busyPresetsCookie",[g.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),f=(0,v.Z)(n.prototype,"fetchedAllBlockers",[g.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,v.Z)(n.prototype,"blockersCount",[g.computed],Object.getOwnPropertyDescriptor(n.prototype,"blockersCount"),n.prototype),(0,v.Z)(n.prototype,"cookiesCount",[g.computed],Object.getOwnPropertyDescriptor(n.prototype,"cookiesCount"),n.prototype),(0,v.Z)(n.prototype,"essentialGroup",[g.computed],Object.getOwnPropertyDescriptor(n.prototype,"essentialGroup"),n.prototype),n)},7602:function(e,t,r){r.d(t,{W:function(){return C}});var n,o,i,a,s,c,l,u=r(7228),p=r(38),f=r(2711),b=r(6724),h=r(6762),d=r(3340),v=r(9303),m=r(5450),y=r.n(m),g=r(7821),Z=r(4504),k=r(1629),w=r(9507),R=r(490),C=(n=function(){function e(t){(0,h.Z)(this,e),(0,b.Z)(this,"visible",o,this),(0,b.Z)(this,"animationVisible",i,this),(0,b.Z)(this,"individualPrivacyOpen",a,this),(0,b.Z)(this,"previewCheckboxActiveState",s,this),(0,b.Z)(this,"busyPresets",c,this),(0,b.Z)(this,"presets",l,this),this.rootStore=void 0,this.presetConstants=new Map,this.presetDefaults=new Map,this.debounceFromCustomize={},this.fetchPresets=(0,g.flow)(y().mark((function e(){var t,r,n,o,i,a,s,c,l,u,p,b,h;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busyPresets=!0,e.prev=1,e.next=4,(0,k.W)({location:Z.t});case 4:for(t=e.sent,r=t.defaults,n=t.constants,o=t.items,i=0,a=Object.keys(r);i<a.length;i++)s=a[i],this.presetDefaults.set(s,r[s]);for(c=0,l=Object.keys(n);c<l.length;c++)u=l[c],this.presetConstants.set(u,n[u]);for(p=0,b=Object.keys(o);p<b.length;p++)h=b[p],this.presets.set(h,new w.p((0,f.Z)({id:h},o[h]),this));e.next=17;break;case 13:throw e.prev=13,e.t0=e.catch(1),console.log(e.t0),e.t0;case 17:return e.prev=17,this.busyPresets=!1,e.finish(17);case 20:case"end":return e.stop()}}),e,this,[[1,13,17,20]])}))),this.rootStore=t}return(0,d.Z)(e,[{key:"setBannerFromCustomize",value:function(e,t,r){var n=this,o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=this.rootStore.optionStore.others.customizeValuesBanner,a=t.toString();if(o&&["css","animationInDuration","animationOutDuration"].indexOf(a)>-1)clearTimeout(this.debounceFromCustomize[a]),this.debounceFromCustomize[a]=setTimeout((function(){return n.setBannerFromCustomize(e,t,r,!1)}),500);else{var s=i[e][t];i[e][t]=r,a.startsWith("animationOut")&&s!==r&&this.forceAnimationOutSimulation()}}},{key:"setBannerFromPreset",value:function(e){var t,r=(0,p.Z)(e);try{for(r.s();!(t=r.n()).done;){var n=t.value,o=(0,u.Z)(n,3),i=o[0],a=o[1],s=o[2];this.rootStore.optionStore.others.customizeValuesBanner[i][a]=s}}catch(e){r.e(e)}finally{r.f()}}},{key:"forceAnimationOutSimulation",value:function(){var e=this,t=this.rootStore.optionStore.others.customizeValuesBanner;"none"!==t.layout.animationOut&&(this.animationVisible=!1,setTimeout((function(){return(0,g.runInAction)((function(){e.animationVisible=!0}))}),+t.layout.animationOutDuration+1e3))}},{key:"setVisible",value:function(e){this.visible=e}},{key:"setIndividualPrivacyOpen",value:function(e){this.individualPrivacyOpen=e}},{key:"setPreviewCheckboxActiveState",value:function(e){this.previewCheckboxActiveState=e}},{key:"exportPhp",value:function(){var e=this,t={},r=(0,R.getSidebarCustomize)();return this.presetDefaults.forEach((function(n,o){var i=r(o).get();"boolean"==typeof n?i=!!+i:isNaN(i)||""===i||(i=+i),JSON.stringify(n)!==JSON.stringify(i)&&(t[e.presetConstants.get(o)]=i)})),this.jsonToPHPArray(t)}},{key:"jsonToPHPArray",value:function(e){var t=JSON.stringify(e,null,4).split("\n");return t.shift(),t.pop(),t.join("\n").replace(/^(\s+)"([A-Za-z\\]+::[A-Z_]+)"(:)/gm,"$1$2 =>").replace(/^(\s+)([A-Za-z\\]+)::/gm,(function(e,t,r){return"".concat(t).concat(r.replace(/\\\\/gm,"\\"),"::")}))}}]),e}(),o=(0,v.Z)(n.prototype,"visible",[g.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),i=(0,v.Z)(n.prototype,"animationVisible",[g.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),a=(0,v.Z)(n.prototype,"individualPrivacyOpen",[g.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),s=(0,v.Z)(n.prototype,"previewCheckboxActiveState",[g.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),c=(0,v.Z)(n.prototype,"busyPresets",[g.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),l=(0,v.Z)(n.prototype,"presets",[g.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),(0,v.Z)(n.prototype,"setBannerFromCustomize",[g.action],Object.getOwnPropertyDescriptor(n.prototype,"setBannerFromCustomize"),n.prototype),(0,v.Z)(n.prototype,"setBannerFromPreset",[g.action],Object.getOwnPropertyDescriptor(n.prototype,"setBannerFromPreset"),n.prototype),(0,v.Z)(n.prototype,"forceAnimationOutSimulation",[g.action],Object.getOwnPropertyDescriptor(n.prototype,"forceAnimationOutSimulation"),n.prototype),(0,v.Z)(n.prototype,"setVisible",[g.action],Object.getOwnPropertyDescriptor(n.prototype,"setVisible"),n.prototype),(0,v.Z)(n.prototype,"setIndividualPrivacyOpen",[g.action],Object.getOwnPropertyDescriptor(n.prototype,"setIndividualPrivacyOpen"),n.prototype),(0,v.Z)(n.prototype,"setPreviewCheckboxActiveState",[g.action],Object.getOwnPropertyDescriptor(n.prototype,"setPreviewCheckboxActiveState"),n.prototype),n)},8783:function(e,t,r){r.d(t,{My:function(){return n.M},mZ:function(){return n.m},aZ:function(){return o.a},WS:function(){return i.W},hc:function(){return a.h},v:function(){return s.v},et:function(){return c.e},L_:function(){return l.L},z:function(){return u.z},Cu:function(){return p.C}});var n=r(4163),o=r(5951),i=r(7602),a=r(2237),s=r(3880),c=r(6228),l=r(2819),u=r(5305),p=r(6696)},5951:function(e,t,r){r.d(t,{a:function(){return Re}});var n,o,i,a,s,c,l,u,p,f,b,h,d,v,m,y,g,Z,k,w,R,C,P,S,E,_,x,O,D,z,T,I,M,A,N,B,j,U,V,F,G,L,W,H,q,Y,J,Q,X,$,K,ee,te=r(2711),re=r(6724),ne=r(6762),oe=r(3340),ie=r(5558),ae=r(3841),se=r(5952),ce=r(9303),le=r(5450),ue=r.n(le),pe=r(7821),fe=r(8700),be=r(8628),he=r(5614),de=r(3531),ve=r(5482),me=r(7532),ye=r(3128),ge=r(9925),Ze=r(1719),ke=r(1629),we=r(8335),Re=(n=function(e){(0,ae.Z)(r,e);var t=(0,se.Z)(r);function r(e){var n;return(0,ne.Z)(this,r),n=t.call(this),(0,re.Z)(n,"busySettings",o,(0,ie.Z)(n)),(0,re.Z)(n,"busyCountryBypassUpdate",i,(0,ie.Z)(n)),(0,re.Z)(n,"busyAddLinksToNavigationMenu",a,(0,ie.Z)(n)),(0,re.Z)(n,"needsRevisionRetrigger",s,(0,ie.Z)(n)),(0,re.Z)(n,"publicCookieCount",c,(0,ie.Z)(n)),(0,re.Z)(n,"allCookieCount",l,(0,ie.Z)(n)),(0,re.Z)(n,"allBlockerCount",u,(0,ie.Z)(n)),(0,re.Z)(n,"allTcfVendorConfigurationCount",p,(0,ie.Z)(n)),(0,re.Z)(n,"allScannerResultPresetsCount",f,(0,ie.Z)(n)),(0,re.Z)(n,"allScannerResultExternalUrlsCount",b,(0,ie.Z)(n)),(0,re.Z)(n,"cookieCounts",h,(0,ie.Z)(n)),(0,re.Z)(n,"nav_menus",d,(0,ie.Z)(n)),(0,re.Z)(n,"tcfVendorConfigurationCounts",v,(0,ie.Z)(n)),(0,re.Z)(n,"hasGTM",m,(0,ie.Z)(n)),(0,re.Z)(n,"hasMTM",y,(0,ie.Z)(n)),(0,re.Z)(n,"contexts",g,(0,ie.Z)(n)),(0,re.Z)(n,"dashboardMigration",Z,(0,ie.Z)(n)),(0,re.Z)(n,"fomoCoupon",k,(0,ie.Z)(n)),(0,re.Z)(n,"bannerActive",w,(0,ie.Z)(n)),(0,re.Z)(n,"blockerActive",R,(0,ie.Z)(n)),(0,re.Z)(n,"imprintId",C,(0,ie.Z)(n)),(0,re.Z)(n,"imprintExternalUrl",P,(0,ie.Z)(n)),(0,re.Z)(n,"imprintIsExternalUrl",S,(0,ie.Z)(n)),(0,re.Z)(n,"privacyPolicyId",E,(0,ie.Z)(n)),(0,re.Z)(n,"privacyPolicyExternalUrl",_,(0,ie.Z)(n)),(0,re.Z)(n,"privacyPolicyIsExternalUrl",x,(0,ie.Z)(n)),(0,re.Z)(n,"hidePageIds",O,(0,ie.Z)(n)),(0,re.Z)(n,"setCookiesViaManager",D,(0,ie.Z)(n)),(0,re.Z)(n,"acceptAllForBots",z,(0,ie.Z)(n)),(0,re.Z)(n,"respectDoNotTrack",T,(0,ie.Z)(n)),(0,re.Z)(n,"cookieDuration",I,(0,ie.Z)(n)),(0,re.Z)(n,"saveIp",M,(0,ie.Z)(n)),(0,re.Z)(n,"ePrivacyUSA",A,(0,ie.Z)(n)),(0,re.Z)(n,"ageNotice",N,(0,ie.Z)(n)),(0,re.Z)(n,"listServicesNotice",B,(0,ie.Z)(n)),(0,re.Z)(n,"consentForwarding",j,(0,ie.Z)(n)),(0,re.Z)(n,"forwardTo",U,(0,ie.Z)(n)),(0,re.Z)(n,"crossDomains",V,(0,ie.Z)(n)),(0,re.Z)(n,"affiliateLink",F,(0,ie.Z)(n)),(0,re.Z)(n,"affiliateLabelBehind",G,(0,ie.Z)(n)),(0,re.Z)(n,"affiliateLabelDescription",L,(0,ie.Z)(n)),(0,re.Z)(n,"countryBypass",W,(0,ie.Z)(n)),(0,re.Z)(n,"countryBypassCountries",H,(0,ie.Z)(n)),(0,re.Z)(n,"countryBypassType",q,(0,ie.Z)(n)),(0,re.Z)(n,"countryBypassDbDownloadTime",Y,(0,ie.Z)(n)),(0,re.Z)(n,"tcf",J,(0,ie.Z)(n)),(0,re.Z)(n,"tcfPublisherCc",Q,(0,ie.Z)(n)),(0,re.Z)(n,"tcfAcceptedTime",X,(0,ie.Z)(n)),(0,re.Z)(n,"tcfGvlDownloadTime",$,(0,ie.Z)(n)),(0,re.Z)(n,"tcfScopeOfConsent",K,(0,ie.Z)(n)),(0,re.Z)(n,"others",ee,(0,ie.Z)(n)),n.pureSlug=void 0,n.pureSlugCamelCased=void 0,n.rootStore=void 0,n.fetchSettings=(0,pe.flow)(ue().mark((function e(t){var r;return ue().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.busySettings=!0,e.prev=1,e.t0=t,e.t0){e.next=7;break}return e.next=6,(0,ke.W)({location:be.g});case 6:e.t0=e.sent;case 7:return r=e.t0,this.bannerActive=r["rcb-banner-active"],this.blockerActive=r["rcb-blocker-active"],this.imprintId=r["rcb-banner-legal-imprint"],this.imprintExternalUrl=r["rcb-banner-legal-imprint-external-url"],this.imprintIsExternalUrl=r["rcb-banner-legal-imprint-is-external-url"],this.privacyPolicyId=r["rcb-banner-legal-privacy-policy"],this.privacyPolicyExternalUrl=r["rcb-banner-legal-privacy-policy-external-url"],this.privacyPolicyIsExternalUrl=r["rcb-banner-legal-privacy-policy-is-external-url"],this.hidePageIds=(r["rcb-hide-page-ids"]||"").split(",").map(Number).filter(Boolean),this.setCookiesViaManager=r["rcb-set-cookies-via-manager"]||"none",this.acceptAllForBots=r["rcb-accept-all-for-bots"],this.respectDoNotTrack=r["rcb-respect-do-not-track"],this.cookieDuration=r["rcb-cookie-duration"],this.saveIp=r["rcb-save-ip"],this.ePrivacyUSA=r["rcb-eprivacy-usa"],this.ageNotice=r["rcb-age-notice"],this.listServicesNotice=r["rcb-list-services-notice"],this.consentForwarding=r["rcb-consent-forwarding"]||!1,this.forwardTo=(r["rcb-forward-to"]||"").split("|").filter(Boolean),this.crossDomains=r["rcb-cross-domains"]||"",this.countryBypass=r["rcb-country-bypass"],this.countryBypassCountries=(r["rcb-country-bypass-countries"]||"").split(",").filter(Boolean),this.countryBypassType=r["rcb-country-bypass-type"],this.countryBypassDbDownloadTime=r["rcb-country-bypass-db-download-time"],this.tcf=r["rcb-tcf"],this.tcfPublisherCc=r["rcb-tcf-publisher-cc"],this.tcfAcceptedTime=r["rcb-tcf-accepted-time"],this.tcfGvlDownloadTime=r["rcb-tcf-gvl-download-time"],this.tcfScopeOfConsent=r["rcb-tcf-scope-of-consent"],e.next=40,this.fetchCurrentRevision();case 40:e.next=46;break;case 42:throw e.prev=42,e.t1=e.catch(1),console.log(e.t1),e.t1;case 46:return e.prev=46,this.busySettings=!1,e.finish(46);case 49:case"end":return e.stop()}}),e,this,[[1,42,46,49]])}))),n.updateSettings=(0,pe.flow)(ue().mark((function e(t){var r,n,o,i,a,s,c,l,u,p,f,b,h,d,v,m,y,g,Z,k,w,R,C;return ue().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.bannerActive,n=t.blockerActive,o=t.imprintId,i=t.privacyPolicyId,a=t.hidePageIds,s=t.setCookiesViaManager,c=t.acceptAllForBots,l=t.respectDoNotTrack,u=t.cookieDuration,p=t.saveIp,f=t.ePrivacyUSA,b=t.ageNotice,h=t.listServicesNotice,d=t.consentForwarding,v=t.forwardTo,m=t.crossDomains,t.affiliateLink,t.affiliateLabelBehind,t.affiliateLabelDescription,y=t.countryBypass,g=t.countryBypassCountries,Z=t.countryBypassType,k=t.tcf,w=t.tcfPublisherCc,R=t.tcfScopeOfConsent,this.busySettings=!0,e.prev=2,e.next=5,(0,ke.W)({location:he.J,request:(0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)((0,te.Z)({},void 0===r?{}:{"rcb-banner-active":r}),void 0===n?{}:{"rcb-blocker-active":n}),void 0===o?{}:{"rcb-banner-legal-imprint":o}),void 0===i?{}:{"rcb-banner-legal-privacy-policy":i}),void 0===a?{}:{"rcb-hide-page-ids":a.join(",")}),void 0===s?{}:{"rcb-set-cookies-via-manager":s}),void 0===c?{}:{"rcb-accept-all-for-bots":c}),void 0===l?{}:{"rcb-respect-do-not-track":l}),void 0===u?{}:{"rcb-cookie-duration":u}),void 0===p?{}:{"rcb-save-ip":p}),void 0===f?{}:{"rcb-eprivacy-usa":f}),void 0===b?{}:{"rcb-age-notice":b}),void 0===h?{}:{"rcb-list-services-notice":h}),void 0===d?{}:{"rcb-consent-forwarding":d}),void 0===v?{}:{"rcb-forward-to":v.join("|")}),void 0===m?{}:{"rcb-cross-domains":m}),void 0===y?{}:{"rcb-country-bypass":y}),void 0===g?{}:{"rcb-country-bypass-countries":g.join(",")}),void 0===Z?{}:{"rcb-country-bypass-type":Z}),void 0===k?{}:{"rcb-tcf":k}),void 0===w?{}:{"rcb-tcf-publisher-cc":w}),void 0===R?{}:{"rcb-tcf-scope-of-consent":R}),{}),{}),{})});case 5:C=e.sent,this.fetchSettings(C),this.rootStore.checklistStore.probablyFetchByChangedItem(["save-settings","activate-banner","privacy-policy"]),e.next=14;break;case 10:throw e.prev=10,e.t0=e.catch(2),console.log(e.t0),e.t0;case 14:return e.prev=14,this.busySettings=!1,e.finish(14);case 17:case"end":return e.stop()}}),e,this,[[2,10,14,17]])}))),n.fetchCurrentRevision=(0,pe.flow)(ue().mark((function e(){return ue().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busySettings=!0,e.prev=1,e.t0=this,e.next=5,(0,ke.W)({location:de.G});case 5:e.t1=e.sent,e.t0.setFromCurrentRevision.call(e.t0,e.t1),e.next=13;break;case 9:throw e.prev=9,e.t2=e.catch(1),console.log(e.t2),e.t2;case 13:return e.prev=13,this.busySettings=!1,e.finish(13);case 16:case"end":return e.stop()}}),e,this,[[1,9,13,16]])}))),n.updateCurrentRevision=(0,pe.flow)(ue().mark((function e(t){return ue().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busySettings=!0,e.prev=1,e.t0=this,e.next=5,(0,ke.W)({location:ve.a,request:t});case 5:e.t1=e.sent,e.t0.setFromCurrentRevision.call(e.t0,e.t1),e.next=13;break;case 9:throw e.prev=9,e.t2=e.catch(1),console.log(e.t2),e.t2;case 13:return e.prev=13,this.busySettings=!1,e.finish(13);case 16:case"end":return e.stop()}}),e,this,[[1,9,13,16]])}))),n.setModalHintSeen=(0,pe.flow)(ue().mark((function e(t){return ue().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busySettings=!0,e.prev=1,this.others.modalHints.push(t),e.next=5,(0,ke.W)({location:we.C,request:{identifier:t}});case 5:e.next=11;break;case 7:throw e.prev=7,e.t0=e.catch(1),console.log(e.t0),e.t0;case 11:return e.prev=11,this.busySettings=!1,e.finish(11);case 14:case"end":return e.stop()}}),e,this,[[1,7,11,14]])}))),n.dismissConfigProNotice=(0,pe.flow)(ue().mark((function e(){return ue().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,this.others.isConfigProNoticeVisible=!1,e.next=4,(0,ke.W)({location:me.n});case 4:e.next=10;break;case 6:throw e.prev=6,e.t0=e.catch(0),console.log(e.t0),e.t0;case 10:case"end":return e.stop()}}),e,this,[[0,6]])}))),n.dismissMigration=(0,pe.flow)(ue().mark((function e(){var t;return ue().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t=this.dashboardMigration.id,this.dashboardMigration=void 0,e.next=5,(0,ke.W)({location:ye.o,params:{migration:t}});case 5:e.next=11;break;case 7:throw e.prev=7,e.t0=e.catch(0),console.log(e.t0),e.t0;case 11:case"end":return e.stop()}}),e,this,[[0,7]])}))),n.addLinksToNavigationMenu=(0,pe.flow)(ue().mark((function e(t){var r,n;return ue().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busyAddLinksToNavigationMenu=!0,e.prev=1,e.next=4,(0,ke.W)({location:ge.i,request:{id:t}});case 4:if(r=e.sent,!(n=r.success)){e.next=10;break}return this.rootStore.checklistStore.fetchChecklist(),e.next=10,this.fetchCurrentRevision();case 10:return e.abrupt("return",n);case 13:throw e.prev=13,e.t0=e.catch(1),console.log(e.t0),e.t0;case 17:return e.prev=17,this.busyAddLinksToNavigationMenu=!1,e.finish(17);case 20:case"end":return e.stop()}}),e,this,[[1,13,17,20]])}))),n.updateCountryBypassDatabase=(0,pe.flow)(ue().mark((function e(){var t,r;return ue().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busyCountryBypassUpdate=!0,e.prev=1,e.next=4,(0,ke.W)({location:Ze._});case 4:t=e.sent,r=t.dbDownloadTime,this.countryBypassDbDownloadTime=r,e.next=13;break;case 9:throw e.prev=9,e.t0=e.catch(1),console.log(e.t0),e.t0;case 13:return e.prev=13,this.busyCountryBypassUpdate=!1,e.finish(13);case 16:case"end":return e.stop()}}),e,this,[[1,9,13,16]])}))),n.rootStore=e,n.pureSlug=fe.BaseOptions.getPureSlug({NODE_ENV:"production",env:"production",rootSlug:"devowl-wp",slug:"real-cookie-banner",PLUGIN_CTX:"lite",ANTD_PREFIX:"rcb-antd",IS_TCF:"1",TCF_CMP_ID:367}),n.pureSlugCamelCased=fe.BaseOptions.getPureSlug({NODE_ENV:"production",env:"production",rootSlug:"devowl-wp",slug:"real-cookie-banner",PLUGIN_CTX:"lite",ANTD_PREFIX:"rcb-antd",IS_TCF:"1",TCF_CMP_ID:367},!0),(0,pe.runInAction)((function(){return Object.assign((0,ie.Z)(n),window[n.pureSlugCamelCased])})),n}return(0,oe.Z)(r,[{key:"isOnlyRcbCookieCreated",get:function(){return!(1!==this.allCookieCount||this.tcf&&this.allTcfVendorConfigurationCount)}},{key:"areSettingsFetched",get:function(){return void 0!==this.respectDoNotTrack}},{key:"setFromCurrentRevision",value:function(e){var t=e.contexts,r=e.has_gtm,n=e.has_mtm,o=e.needs_retrigger,i=e.public_cookie_count,a=e.all_cookie_count,s=e.all_blocker_count,c=e.all_tcf_vendor_configuration_count,l=e.all_scanner_result_presets_count,u=e.all_scanner_result_external_urls_count,p=e.cookie_counts,f=e.nav_menus,b=e.tcf_vendor_configuration_counts,h=e.dashboard_migration,d=e.fomo_coupon;this.hasGTM=r,this.hasMTM=n,this.needsRevisionRetrigger=o,this.publicCookieCount=i,this.allCookieCount=a,this.allBlockerCount=s,this.allTcfVendorConfigurationCount=c,this.allScannerResultPresetsCount=l,this.allScannerResultExternalUrlsCount=u,this.cookieCounts=p,this.nav_menus=f,this.tcfVendorConfigurationCounts=b,this.contexts=t,this.dashboardMigration=h,this.fomoCoupon=d}},{key:"setShowLicenseFormImmediate",value:function(e,t){this.others.showLicenseFormImmediate=e,this.others.isLicensed=t}}]),r}(fe.BaseOptions),o=(0,ce.Z)(n.prototype,"busySettings",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),i=(0,ce.Z)(n.prototype,"busyCountryBypassUpdate",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),a=(0,ce.Z)(n.prototype,"busyAddLinksToNavigationMenu",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),s=(0,ce.Z)(n.prototype,"needsRevisionRetrigger",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),c=(0,ce.Z)(n.prototype,"publicCookieCount",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),l=(0,ce.Z)(n.prototype,"allCookieCount",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),u=(0,ce.Z)(n.prototype,"allBlockerCount",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),p=(0,ce.Z)(n.prototype,"allTcfVendorConfigurationCount",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),f=(0,ce.Z)(n.prototype,"allScannerResultPresetsCount",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),b=(0,ce.Z)(n.prototype,"allScannerResultExternalUrlsCount",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),h=(0,ce.Z)(n.prototype,"cookieCounts",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return{draft:0,private:0,publish:0}}}),d=(0,ce.Z)(n.prototype,"nav_menus",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),v=(0,ce.Z)(n.prototype,"tcfVendorConfigurationCounts",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=(0,ce.Z)(n.prototype,"hasGTM",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),y=(0,ce.Z)(n.prototype,"hasMTM",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),g=(0,ce.Z)(n.prototype,"contexts",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return{"":""}}}),Z=(0,ce.Z)(n.prototype,"dashboardMigration",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k=(0,ce.Z)(n.prototype,"fomoCoupon",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,ce.Z)(n.prototype,"bannerActive",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),R=(0,ce.Z)(n.prototype,"blockerActive",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),C=(0,ce.Z)(n.prototype,"imprintId",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=(0,ce.Z)(n.prototype,"imprintExternalUrl",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=(0,ce.Z)(n.prototype,"imprintIsExternalUrl",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,ce.Z)(n.prototype,"privacyPolicyId",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=(0,ce.Z)(n.prototype,"privacyPolicyExternalUrl",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),x=(0,ce.Z)(n.prototype,"privacyPolicyIsExternalUrl",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=(0,ce.Z)(n.prototype,"hidePageIds",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),D=(0,ce.Z)(n.prototype,"setCookiesViaManager",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),z=(0,ce.Z)(n.prototype,"acceptAllForBots",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=(0,ce.Z)(n.prototype,"respectDoNotTrack",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=(0,ce.Z)(n.prototype,"cookieDuration",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),M=(0,ce.Z)(n.prototype,"saveIp",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),A=(0,ce.Z)(n.prototype,"ePrivacyUSA",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),N=(0,ce.Z)(n.prototype,"ageNotice",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),B=(0,ce.Z)(n.prototype,"listServicesNotice",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),j=(0,ce.Z)(n.prototype,"consentForwarding",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),U=(0,ce.Z)(n.prototype,"forwardTo",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),V=(0,ce.Z)(n.prototype,"crossDomains",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),F=(0,ce.Z)(n.prototype,"affiliateLink",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),G=(0,ce.Z)(n.prototype,"affiliateLabelBehind",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),L=(0,ce.Z)(n.prototype,"affiliateLabelDescription",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),W=(0,ce.Z)(n.prototype,"countryBypass",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),H=(0,ce.Z)(n.prototype,"countryBypassCountries",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),q=(0,ce.Z)(n.prototype,"countryBypassType",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Y=(0,ce.Z)(n.prototype,"countryBypassDbDownloadTime",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),J=(0,ce.Z)(n.prototype,"tcf",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Q=(0,ce.Z)(n.prototype,"tcfPublisherCc",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),X=(0,ce.Z)(n.prototype,"tcfAcceptedTime",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),$=(0,ce.Z)(n.prototype,"tcfGvlDownloadTime",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),K=(0,ce.Z)(n.prototype,"tcfScopeOfConsent",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ee=(0,ce.Z)(n.prototype,"others",[pe.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,ce.Z)(n.prototype,"isOnlyRcbCookieCreated",[pe.computed],Object.getOwnPropertyDescriptor(n.prototype,"isOnlyRcbCookieCreated"),n.prototype),(0,ce.Z)(n.prototype,"areSettingsFetched",[pe.computed],Object.getOwnPropertyDescriptor(n.prototype,"areSettingsFetched"),n.prototype),(0,ce.Z)(n.prototype,"setFromCurrentRevision",[pe.action],Object.getOwnPropertyDescriptor(n.prototype,"setFromCurrentRevision"),n.prototype),(0,ce.Z)(n.prototype,"setShowLicenseFormImmediate",[pe.action],Object.getOwnPropertyDescriptor(n.prototype,"setShowLicenseFormImmediate"),n.prototype),n)},6696:function(e,t,r){r.d(t,{C:function(){return D}});var n,o,i,a,s,c,l,u,p,f,b=r(7870),h=r(38),d=r(6724),v=r(6762),m=r(3340),y=r(9303),g=r(5450),Z=r.n(g),k=r(7821),w=r(936),R=r(1313),C=r(1680),P=r(1629),S=r(6753),E=r(6354),_=r(5245),x=r(2091),O=r(3461),D=(n=function(){function e(t){(0,v.Z)(this,e),(0,d.Z)(this,"resultPresets",o,this),(0,d.Z)(this,"busyResultPresets",i,this),(0,d.Z)(this,"fetchedAllResultPresets",a,this),(0,d.Z)(this,"resultExternalUrls",s,this),(0,d.Z)(this,"resultAllExternalUrls",c,this),(0,d.Z)(this,"busyExternalUrls",l,this),(0,d.Z)(this,"fetchedAllResultExternalUrls",u,this),(0,d.Z)(this,"busyMarkup",p,this),(0,d.Z)(this,"resultMarkup",f,this),this.rootStore=void 0,this.addUrlsToQueue=(0,k.flow)(Z().mark((function e(t){return Z().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,P.W)({location:S.k,request:t});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),this.fetchResultPresets=(0,k.flow)(Z().mark((function e(){return Z().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busyResultPresets=!0,e.prev=1,e.t0=this,e.next=5,(0,P.W)({location:E.e});case 5:e.t1=e.sent,e.t0.resultPresetsFromResponse.call(e.t0,e.t1),this.fetchedAllResultPresets=!0,e.next=14;break;case 10:throw e.prev=10,e.t2=e.catch(1),console.log(e.t2),e.t2;case 14:return e.prev=14,this.busyResultPresets=!1,e.finish(14);case 17:case"end":return e.stop()}}),e,this,[[1,10,14,17]])}))),this.fetchResultExternals=(0,k.flow)(Z().mark((function e(){return Z().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busyExternalUrls=!0,e.prev=1,e.t0=this,e.next=5,(0,P.W)({location:_.M});case 5:e.t1=e.sent,e.t0.resultExternalUrlsFromResponse.call(e.t0,e.t1),this.fetchedAllResultExternalUrls=!0,e.next=14;break;case 10:throw e.prev=10,e.t2=e.catch(1),console.log(e.t2),e.t2;case 14:return e.prev=14,this.busyExternalUrls=!1,e.finish(14);case 17:case"end":return e.stop()}}),e,this,[[1,10,14,17]])}))),this.fetchResultAllExternals=(0,k.flow)(Z().mark((function e(t){var r,n,o,i,a,s,c,l,u,p,f,b;return Z().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t instanceof w.o?"host":"preset",n=t.identifier,t.busy=!0,e.prev=3,e.next=6,(0,P.W)({location:x.M,params:{type:r,identifier:"host"===r?n.replace(/\./g,"_"):n}});case 6:if(o=e.sent,i=o.items,a=this.resultAllExternalUrls.get(n)){s=i.map((function(e){return e.id})),c=(0,h.Z)(a.keys());try{for(c.s();!(l=c.n()).done;)u=l.value,-1===s.indexOf(u)&&a.delete(u)}catch(e){c.e(e)}finally{c.f()}}else a=new Map;for(p=0,f=Object.values(i);p<f.length;p++)b=f[p],a.set(b.id,new R.a(b,this)),this.resultAllExternalUrls.set(n,a);e.next=17;break;case 13:throw e.prev=13,e.t0=e.catch(3),console.log(e.t0),e.t0;case 17:return e.prev=17,t.busy=!1,e.finish(17);case 20:case"end":return e.stop()}}),e,this,[[3,13,17,20]])}))),this.fetchMarkup=(0,k.flow)(Z().mark((function e(t){var r;return Z().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busyMarkup=!0,e.prev=1,e.next=4,(0,P.W)({location:O.$,params:{id:t}});case 4:r=e.sent,this.resultMarkup.set(t,r),e.next=12;break;case 8:throw e.prev=8,e.t0=e.catch(1),console.log(e.t0),e.t0;case 12:return e.prev=12,this.busyMarkup=!1,e.finish(12);case 15:case"end":return e.stop()}}),e,this,[[1,8,12,15]])}))),this.rootStore=t}return(0,m.Z)(e,[{key:"sortedExternalUrls",get:function(){var e=Array.from(this.resultExternalUrls.values());return e.sort((function(e,t){return e.inactive===t.inactive?0:e.inactive?1:-1})),e}},{key:"presetsCount",get:function(){return this.fetchedAllResultPresets?this.resultPresets.size:this.rootStore.optionStore.allScannerResultPresetsCount}},{key:"externalUrlsCount",get:function(){return this.fetchedAllResultExternalUrls?this.resultExternalUrls.size:this.rootStore.optionStore.allScannerResultExternalUrlsCount}},{key:"canShowResults",get:function(){var e;return this.presetsCount+this.externalUrlsCount>0&&(null===(e=this.rootStore.checklistStore.checklist)||void 0===e?void 0:e.items.scanner.checked)}},{key:"foundScanResultsCount",get:function(){return this.resultPresets.size+this.resultExternalUrls.size}},{key:"needsAttentionCount",get:function(){return[].concat((0,b.Z)(this.resultPresets.values()),(0,b.Z)(this.resultExternalUrls.values())).filter((function(e){return!e.inactive})).length}},{key:"resultPresetsFromResponse",value:function(e){var t,r=e.items,n=Object.keys(r),o=(0,h.Z)(this.resultPresets.keys());try{for(o.s();!(t=o.n()).done;){var i=t.value;-1===n.indexOf(i)&&this.resultPresets.delete(i)}}catch(e){o.e(e)}finally{o.f()}for(var a=0,s=n;a<s.length;a++){var c=s[a];this.resultPresets.set(c,new C.g(r[c],this))}}},{key:"resultExternalUrlsFromResponse",value:function(e){var t,r=e.items,n=Object.keys(r),o=(0,h.Z)(this.resultExternalUrls.keys());try{for(o.s();!(t=o.n()).done;){var i=t.value;-1===n.indexOf(i)&&this.resultExternalUrls.delete(i)}}catch(e){o.e(e)}finally{o.f()}for(var a=0,s=n;a<s.length;a++){var c=s[a];this.resultExternalUrls.set(c,new w.o(r[c],this))}}}]),e}(),o=(0,y.Z)(n.prototype,"resultPresets",[k.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),i=(0,y.Z)(n.prototype,"busyResultPresets",[k.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),a=(0,y.Z)(n.prototype,"fetchedAllResultPresets",[k.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),s=(0,y.Z)(n.prototype,"resultExternalUrls",[k.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),c=(0,y.Z)(n.prototype,"resultAllExternalUrls",[k.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),l=(0,y.Z)(n.prototype,"busyExternalUrls",[k.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),u=(0,y.Z)(n.prototype,"fetchedAllResultExternalUrls",[k.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),p=(0,y.Z)(n.prototype,"busyMarkup",[k.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),f=(0,y.Z)(n.prototype,"resultMarkup",[k.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),(0,y.Z)(n.prototype,"sortedExternalUrls",[k.computed],Object.getOwnPropertyDescriptor(n.prototype,"sortedExternalUrls"),n.prototype),(0,y.Z)(n.prototype,"presetsCount",[k.computed],Object.getOwnPropertyDescriptor(n.prototype,"presetsCount"),n.prototype),(0,y.Z)(n.prototype,"externalUrlsCount",[k.computed],Object.getOwnPropertyDescriptor(n.prototype,"externalUrlsCount"),n.prototype),(0,y.Z)(n.prototype,"canShowResults",[k.computed],Object.getOwnPropertyDescriptor(n.prototype,"canShowResults"),n.prototype),(0,y.Z)(n.prototype,"foundScanResultsCount",[k.computed],Object.getOwnPropertyDescriptor(n.prototype,"foundScanResultsCount"),n.prototype),(0,y.Z)(n.prototype,"needsAttentionCount",[k.computed],Object.getOwnPropertyDescriptor(n.prototype,"needsAttentionCount"),n.prototype),(0,y.Z)(n.prototype,"resultPresetsFromResponse",[k.action],Object.getOwnPropertyDescriptor(n.prototype,"resultPresetsFromResponse"),n.prototype),(0,y.Z)(n.prototype,"resultExternalUrlsFromResponse",[k.action],Object.getOwnPropertyDescriptor(n.prototype,"resultExternalUrlsFromResponse"),n.prototype),n)},6228:function(e,t,r){r.d(t,{e:function(){return y}});var n,o,i=r(6724),a=r(6762),s=r(3340),c=r(5558),l=r(3841),u=r(5952),p=r(9303),f=r(5450),b=r.n(f),h=r(7821),d=r(8700),v=r(8488),m=r.n(v),y=(n=function(e){(0,l.Z)(r,e);var t=(0,u.Z)(r);function r(e){var n;return(0,a.Z)(this,r),n=t.call(this),(0,i.Z)(n,"busyStats",o,(0,c.Z)(n)),n.rootStore=void 0,n.stats=h.observable.object({main:void 0,buttonsClicked:void 0,customBypass:void 0},{},{deep:!1}),n.filters=h.observable.object({dates:void 0,context:void 0},{},{deep:!1}),n.fetchMain=(0,h.flow)(b().mark((function e(){return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.next=3;break;case 3:throw new Error("This feature is not available in the free version.");case 4:case"end":return e.stop()}}),e)}))),n.fetchButtonsClicked=(0,h.flow)(b().mark((function e(){return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.next=3;break;case 3:throw new Error("This feature is not available in the free version.");case 4:case"end":return e.stop()}}),e)}))),n.fetchCustomBypass=(0,h.flow)(b().mark((function e(){return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.next=3;break;case 3:throw new Error("This feature is not available in the free version.");case 4:case"end":return e.stop()}}),e)}))),n.rootStore=e,(0,h.runInAction)((function(){n.filters.dates=[m()().subtract(30,"days"),m()()],n.filters.context=n.rootStore.optionStore.others.context})),n}return(0,s.Z)(r,[{key:"applyDates",value:function(e){this.filters.dates=e}},{key:"applyContext",value:function(e){this.filters.context=e}}]),r}(d.BaseOptions),o=(0,p.Z)(n.prototype,"busyStats",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return{main:!1,buttonClicked:!1,customBypass:!1}}}),(0,p.Z)(n.prototype,"applyDates",[h.action],Object.getOwnPropertyDescriptor(n.prototype,"applyDates"),n.prototype),(0,p.Z)(n.prototype,"applyContext",[h.action],Object.getOwnPropertyDescriptor(n.prototype,"applyContext"),n.prototype),n)},4163:function(e,t,r){r.d(t,{M:function(){return d},m:function(){return v}});var n=r(6762),o=r(3340),i=r(7821),a=r(8700),s=r(5951),c=r(7602),l=r(2237),u=r(3880),p=r(6228),f=r(2819),b=r(5305),h=r(6696);(0,i.configure)({enforceActions:"always"});var d=function(){function e(){(0,n.Z)(this,e),this.optionStore=void 0,this.customizeBannerStore=void 0,this.cookieStore=void 0,this.consentStore=void 0,this.statsStore=void 0,this.checklistStore=void 0,this.tcfStore=void 0,this.scannerStore=void 0,this.contextMemo=void 0,this.optionStore=new s.a(this),this.customizeBannerStore=new c.W(this),this.cookieStore=new l.h(this),this.consentStore=new u.v(this),this.statsStore=new p.e(this),this.checklistStore=new f.L(this),this.tcfStore=new b.z(this),this.scannerStore=new h.C(this)}return(0,o.Z)(e,[{key:"context",get:function(){return this.contextMemo?this.contextMemo:this.contextMemo=(0,a.createContextFactory)(this)}}],[{key:"StoreProvider",get:function(){return e.get.context.StoreProvider}},{key:"get",get:function(){return e.me?e.me:e.me=new e}}]),e}();d.me=void 0;var v=function(){return d.get.context.useStores()}},5305:function(e,t,r){r.d(t,{z:function(){return A}});var n,o,i,a,s,c,l,u,p,f,b,h,d,v,m=r(6724),y=r(6762),g=r(3340),Z=r(5558),k=r(3841),w=r(5952),R=r(9303),C=r(5450),P=r.n(C),S=r(7821),E=r(8700),_=r(8523),x=r(3854),O=r(9945),D=r(1629),z=r(7037),T=r(8905),I=r(6846),M=r(1833),A=(n=function(e){(0,k.Z)(r,e);var t=(0,w.Z)(r);function r(e){var n;return(0,y.Z)(this,r),n=t.call(this),(0,m.Z)(n,"busyGvl",o,(0,Z.Z)(n)),(0,m.Z)(n,"busyVendors",i,(0,Z.Z)(n)),(0,m.Z)(n,"busyDeclarations",a,(0,Z.Z)(n)),(0,m.Z)(n,"vendorConfigurations",s,(0,Z.Z)(n)),(0,m.Z)(n,"fetchedAllVendorConfigurations",c,(0,Z.Z)(n)),(0,m.Z)(n,"vendorListVersion",l,(0,Z.Z)(n)),(0,m.Z)(n,"gvlSpecificationVersion",u,(0,Z.Z)(n)),(0,m.Z)(n,"tcfPolicyVersion",p,(0,Z.Z)(n)),(0,m.Z)(n,"vendors",f,(0,Z.Z)(n)),(0,m.Z)(n,"purposes",b,(0,Z.Z)(n)),(0,m.Z)(n,"specialPurposes",h,(0,Z.Z)(n)),(0,m.Z)(n,"features",d,(0,Z.Z)(n)),(0,m.Z)(n,"specialFeatures",v,(0,Z.Z)(n)),n.rootStore=void 0,n.fetchVendorConfigurations=(0,S.flow)(P().mark((function e(){var t,r,n;return P().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=100,r=Math.ceil(this.vendorConfigurationCount/t),n=0;case 3:if(!(n<r)){e.next=9;break}return e.next=6,this.vendorConfigurations.get({request:{status:["draft","publish","private"]},params:{offset:n*t,per_page:100,context:"edit"}});case 6:n++,e.next=3;break;case 9:this.fetchedAllVendorConfigurations=!0;case 10:case"end":return e.stop()}}),e,this)}))),n.fetchVendors=(0,S.flow)(P().mark((function e(){var t,r,n,o,i,a;return P().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busyVendors=!0,e.prev=1,e.next=4,(0,D.W)({location:x.f});case 4:for(t=e.sent,r=t.vendorListVersion,n=t.vendors,o=0,i=Object.keys(n);o<i.length;o++)a=i[o],this.vendors.set(a,new z.C(n[a],this));this.vendorListVersion=r,e.next=15;break;case 11:throw e.prev=11,e.t0=e.catch(1),console.log(e.t0),e.t0;case 15:return e.prev=15,this.busyVendors=!1,e.finish(15);case 18:case"end":return e.stop()}}),e,this,[[1,11,15,18]])}))),n.fetchDeclarations=(0,S.flow)(P().mark((function e(){var t,r,n,o,i,a,s,c,l,u,p,f,b,h,d,v,m,y,g;return P().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busyDeclarations=!0,e.prev=1,e.next=4,(0,D.W)({location:_.Y});case 4:for(t=e.sent,r=t.gvlSpecificationVersion,n=t.tcfPolicyVersion,o=t.purposes,i=t.specialPurposes,a=t.features,s=t.specialFeatures,c=0,l=Object.keys(o);c<l.length;c++)u=l[c],this.purposes.set(u,new T.v(o[u],!1,this));for(p=0,f=Object.keys(i);p<f.length;p++)b=f[p],this.specialPurposes.set(b,new T.v(i[b],!0,this));for(h=0,d=Object.keys(a);h<d.length;h++)v=d[h],this.features.set(v,new I.i(a[v],!1,this));for(m=0,y=Object.keys(s);m<y.length;m++)g=y[m],this.specialFeatures.set(g,new I.i(s[g],!0,this));this.gvlSpecificationVersion=r,this.tcfPolicyVersion=n,e.next=23;break;case 19:throw e.prev=19,e.t0=e.catch(1),console.log(e.t0),e.t0;case 23:return e.prev=23,this.busyDeclarations=!1,e.finish(23);case 26:case"end":return e.stop()}}),e,this,[[1,19,23,26]])}))),n.updateGvl=(0,S.flow)(P().mark((function e(){var t,r;return P().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busyGvl=!0,e.prev=1,e.next=4,(0,D.W)({location:O.y});case 4:t=e.sent,r=t.gvlDownloadTime,this.rootStore.optionStore.tcfGvlDownloadTime=r,e.next=13;break;case 9:throw e.prev=9,e.t0=e.catch(1),console.log(e.t0),e.t0;case 13:return e.prev=13,this.busyGvl=!1,e.finish(13);case 16:case"end":return e.stop()}}),e,this,[[1,9,13,16]])}))),n.rootStore=e,(0,S.runInAction)((function(){n.vendorConfigurations=new M.C((0,Z.Z)(n))})),n}return(0,g.Z)(r,[{key:"vendorConfigurationCount",get:function(){return this.fetchedAllVendorConfigurations?this.vendorConfigurations.entries.size:this.rootStore.optionStore.allTcfVendorConfigurationCount}}]),r}(E.BaseOptions),o=(0,R.Z)(n.prototype,"busyGvl",[S.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),i=(0,R.Z)(n.prototype,"busyVendors",[S.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),a=(0,R.Z)(n.prototype,"busyDeclarations",[S.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),s=(0,R.Z)(n.prototype,"vendorConfigurations",[S.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=(0,R.Z)(n.prototype,"fetchedAllVendorConfigurations",[S.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),l=(0,R.Z)(n.prototype,"vendorListVersion",[S.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,R.Z)(n.prototype,"gvlSpecificationVersion",[S.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=(0,R.Z)(n.prototype,"tcfPolicyVersion",[S.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=(0,R.Z)(n.prototype,"vendors",[S.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),b=(0,R.Z)(n.prototype,"purposes",[S.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),h=(0,R.Z)(n.prototype,"specialPurposes",[S.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),d=(0,R.Z)(n.prototype,"features",[S.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),v=(0,R.Z)(n.prototype,"specialFeatures",[S.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),(0,R.Z)(n.prototype,"vendorConfigurationCount",[S.computed],Object.getOwnPropertyDescriptor(n.prototype,"vendorConfigurationCount"),n.prototype),n)},4548:function(e,t,r){r.d(t,{u:function(){return n},b:function(){return o}});var n="rcb-scan",o="rcb-automatic-scan-starter"},4913:function(e,t,r){function n(e){var t=document.createElement("textarea");t.innerText=e,document.body.appendChild(t),t.select(),document.execCommand("copy"),t.remove()}r.d(t,{v:function(){return n}})},625:function(e,t,r){function n(){return window["real-cookie-banner".replace(/-([a-z])/g,(function(e){return e[1].toUpperCase()}))]}r.d(t,{m:function(){return n}})},3438:function(e,t,r){r.d(t,{u:function(){return o}});var n=r(625);function o(){return(0,n.m)().others}},8630:function(e,t,r){r.d(t,{_n:function(){return a},__:function(){return s},_i:function(){return c}});var n,o=r(8700);function i(){return n||(n=(0,o.createLocalizationFactory)(o.BaseOptions.getPureSlug({NODE_ENV:"production",env:"production",rootSlug:"devowl-wp",slug:"real-cookie-banner",PLUGIN_CTX:"lite",ANTD_PREFIX:"rcb-antd",IS_TCF:"1",TCF_CMP_ID:367})))}var a=function(){var e;return(e=i())._n.apply(e,arguments)},s=function(){var e;return(e=i()).__.apply(e,arguments)},c=function(){var e;return(e=i())._i.apply(e,arguments)}},1629:function(e,t,r){r.d(t,{Y:function(){return a},W:function(){return s}});var n,o=r(8700);function i(){return n||(n=(0,o.createRequestFactory)(window[o.BaseOptions.getPureSlug({NODE_ENV:"production",env:"production",rootSlug:"devowl-wp",slug:"real-cookie-banner",PLUGIN_CTX:"lite",ANTD_PREFIX:"rcb-antd",IS_TCF:"1",TCF_CMP_ID:367},!0)]))}var a=function(){var e;return(e=i()).urlBuilder.apply(e,arguments)},s=function(){var e;return(e=i()).request.apply(e,arguments)}},7819:function(e,t,r){function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;document.body.scrollTop=e,document.documentElement.scrollTop=e}r.d(t,{X:function(){return n}})},3190:function(e,t,r){function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"...";if(!e||e.length<=t)return e;var n=r.length,o=t-n,i=Math.ceil(o/2),a=Math.floor(o/2);return e.substr(0,i)+r+e.substr(e.length-a)}r.d(t,{r:function(){return n}})},986:function(e,t,r){r.d(t,{g:function(){return n}});var n={path:"/checklist",method:r(8700).RouteHttpVerb.GET}},8930:function(e,t,r){r.d(t,{s:function(){return n}});var n={path:"/checklist/:id",method:r(8700).RouteHttpVerb.PUT}},6465:function(e,t,r){r.d(t,{O:function(){return n}});var n={path:"/consent/all",method:r(8700).RouteHttpVerb.DELETE}},5151:function(e,t,r){r.d(t,{c:function(){return n}});var n={path:"/consent/all",method:r(8700).RouteHttpVerb.GET}},9437:function(e,t,r){r.d(t,{q:function(){return n}});var n={path:"/consent/referer",method:r(8700).RouteHttpVerb.GET}},5354:function(e,t,r){r.d(t,{B:function(){return n}});var n={path:"/cookie-groups/order",method:r(8700).RouteHttpVerb.PUT}},6764:function(e,t,r){r.d(t,{p:function(){return n}});var n={path:"/cookies/unassigned",method:r(8700).RouteHttpVerb.GET}},7068:function(e,t,r){r.d(t,{I:function(){return n}});var n={path:"/cookies/order",method:r(8700).RouteHttpVerb.PUT}},1719:function(e,t,r){r.d(t,{_:function(){return n}});var n={path:"/country-bypass/database",method:r(8700).RouteHttpVerb.PUT}},9600:function(e,t,r){r.d(t,{V:function(){return n}});var n={path:"/export",method:r(8700).RouteHttpVerb.GET}},7732:function(e,t,r){r.d(t,{Q:function(){return n}});var n={path:"/export/consents",method:r(8700).RouteHttpVerb.GET}},2388:function(e,t,r){r.d(t,{V:function(){return n}});var n={path:"/forward/cookie/:slug",method:r(8700).RouteHttpVerb.GET}},7025:function(e,t,r){r.d(t,{A:function(){return n}});var n={path:"/forward/endpoints",method:r(8700).RouteHttpVerb.GET}},7972:function(e,t,r){r.d(t,{H:function(){return n}});var n={path:"/import",method:r(8700).RouteHttpVerb.POST}},836:function(e,t,r){r.d(t,{gn:function(){return C.g},s5:function(){return P.s},Ok:function(){return v.O},cI:function(){return d.c},rz:function(){return w},aY:function(){return B},vY:function(){return _},JQ:function(){return f},PM:function(){return p},qD:function(){return Y.q},BI:function(){return c.B},pV:function(){return S.p},It:function(){return l.I},_3:function(){return j._},QB:function(){return R.Q},Vm:function(){return Z.V},Vc:function(){return x.V},AW:function(){return E.A},HR:function(){return k.H},nQ:function(){return O.n},oW:function(){return V.o},nX:function(){return U.n},iO:function(){return J.i},tX:function(){return i.t},N9:function(){return T.N},Wu:function(){return a.W},tw:function(){return I.t},zf:function(){return s.z},GQ:function(){return b.G},a4:function(){return h.a},Z1:function(){return D.Z},TB:function(){return z.T},kv:function(){return F.k},ME:function(){return H.M},Ce:function(){return W.C},MQ:function(){return L.M},$5:function(){return q.$},eO:function(){return G.e},$Q:function(){return g},gh:function(){return y},BV:function(){return m},Y3:function(){return N.Y},yR:function(){return M.y},fs:function(){return A.f},g3:function(){return n.g},J3:function(){return o.J}});var n=r(8628),o=r(5614),i=r(4504),a=r(7689),s=r(3352),c=r(5354),l=r(7068),u=r(8700),p={path:"/consent",method:u.RouteHttpVerb.POST},f={path:"/consent",method:u.RouteHttpVerb.GET},b=r(3531),h=r(5482),d=r(5151),v=r(6465),m={path:"/stats/main",method:u.RouteHttpVerb.GET},y={path:"/stats/customBypass",method:u.RouteHttpVerb.GET},g={path:"/stats/buttonsClicked",method:u.RouteHttpVerb.GET},Z=r(9600),k=r(7972),w={path:"/consent/clear",method:u.RouteHttpVerb.DELETE},R=r(7732),C=r(986),P=r(8930),S=r(6764),E=r(7025),_={path:"/consent/forward",method:u.RouteHttpVerb.POST},x=r(2388),O=r(7532),D=r(2616),z=r(5253),T=r(1535),I=r(1500),M=r(9945),A=r(3854),N=r(8523),B={path:"/consent/dynamic-predecision",method:u.RouteHttpVerb.GET},j=r(1719),U=r(9564),V=r(3128),F=r(6753),G=r(6354),L=r(5245),W=r(4227),H=r(2091),q=r(3461),Y=r(9437),J=r(9925)},7532:function(e,t,r){r.d(t,{n:function(){return n}});var n={path:"/dismiss-config-page-pro-notice",method:r(8700).RouteHttpVerb.DELETE}},3128:function(e,t,r){r.d(t,{o:function(){return n}});var n={path:"/migration/:migration",method:r(8700).RouteHttpVerb.DELETE}},9564:function(e,t,r){r.d(t,{n:function(){return n}});var n={path:"/migration/:migration/:action",method:r(8700).RouteHttpVerb.POST}},8335:function(e,t,r){r.d(t,{C:function(){return n}});var n={path:"/modal-hint",method:r(8700).RouteHttpVerb.PUT}},9925:function(e,t,r){r.d(t,{i:function(){return n}});var n={path:"/nav-menu/add-links",method:r(8700).RouteHttpVerb.POST}},4504:function(e,t,r){r.d(t,{t:function(){return n}});var n={path:"/presets/banner",method:r(8700).RouteHttpVerb.GET}},7689:function(e,t,r){r.d(t,{W:function(){return n}});var n={path:"/presets/blocker",method:r(8700).RouteHttpVerb.GET}},1535:function(e,t,r){r.d(t,{N:function(){return n}});var n={path:"/presets/blocker/:identifier",method:r(8700).RouteHttpVerb.GET}},3352:function(e,t,r){r.d(t,{z:function(){return n}});var n={path:"/presets/cookies",method:r(8700).RouteHttpVerb.GET}},1500:function(e,t,r){r.d(t,{t:function(){return n}});var n={path:"/presets/cookies/:identifier",method:r(8700).RouteHttpVerb.GET}},2616:function(e,t,r){r.d(t,{Z:function(){return n}});var n={path:"/revision/:hash",method:r(8700).RouteHttpVerb.GET}},3531:function(e,t,r){r.d(t,{G:function(){return n}});var n={path:"/revision/current",method:r(8700).RouteHttpVerb.GET}},5482:function(e,t,r){r.d(t,{a:function(){return n}});var n={path:"/revision/current",method:r(8700).RouteHttpVerb.PUT}},5253:function(e,t,r){r.d(t,{T:function(){return n}});var n={path:"/revision/independent/:hash",method:r(8700).RouteHttpVerb.GET}},6753:function(e,t,r){r.d(t,{k:function(){return n}});var n={path:"/scanner/queue",method:r(8700).RouteHttpVerb.POST}},2091:function(e,t,r){r.d(t,{M:function(){return n}});var n={path:"/scanner/result/externals/:type/:identifier",method:r(8700).RouteHttpVerb.GET}},5245:function(e,t,r){r.d(t,{M:function(){return n}});var n={path:"/scanner/result/externals",method:r(8700).RouteHttpVerb.GET}},4227:function(e,t,r){r.d(t,{C:function(){return n}});var n={path:"/scanner/result/externals/:host",method:r(8700).RouteHttpVerb.PUT}},3461:function(e,t,r){r.d(t,{$:function(){return n}});var n={path:"/scanner/result/markup/:id",method:r(8700).RouteHttpVerb.GET}},6354:function(e,t,r){r.d(t,{e:function(){return n}});var n={path:"/scanner/result/presets",method:r(8700).RouteHttpVerb.GET}},8523:function(e,t,r){r.d(t,{Y:function(){return n}});var n={path:"/tcf/declarations",method:r(8700).RouteHttpVerb.GET}},9945:function(e,t,r){r.d(t,{y:function(){return n}});var n={path:"/tcf/gvl",method:r(8700).RouteHttpVerb.PUT}},3854:function(e,t,r){r.d(t,{f:function(){return n}});var n={path:"/tcf/vendors",method:r(8700).RouteHttpVerb.GET}},8628:function(e,t,r){r.d(t,{g:function(){return n}});var n={path:"/settings",namespace:"wp/v2",method:r(8700).RouteHttpVerb.GET}},5614:function(e,t,r){r.d(t,{J:function(){return n}});var n={path:"/settings",namespace:"wp/v2",method:r(8700).RouteHttpVerb.PATCH}},7830:function(){},5036:function(){},7363:function(e){e.exports=React},1533:function(e){e.exports=ReactDOM},6711:function(e){e.exports=ReactRouterDOM},490:function(e){e.exports=devowlWp_customize},9445:function(e){e.exports=devowlWp_realProductManagerWpClient},6:function(e){e.exports=devowlWp_realQueue},8700:function(e){e.exports=devowlWp_utils},5311:function(e){e.exports=jQuery},7821:function(e){e.exports=mobx},8488:function(e){e.exports=moment},5998:function(e){e.exports=wp}},o={};function i(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={id:e,loaded:!1,exports:{}};return n[e](r,r.exports,i),r.loaded=!0,r.exports}i.m=n,e=[],i.O=function(t,r,n,o){if(!r){var a=1/0;for(u=0;u<e.length;u++){r=e[u][0],n=e[u][1],o=e[u][2];for(var s=!0,c=0;c<r.length;c++)(!1&o||a>=o)&&Object.keys(i.O).every((function(e){return i.O[e](r[c])}))?r.splice(c--,1):(s=!1,o<a&&(a=o));if(s){e.splice(u--,1);var l=n();void 0!==l&&(t=l)}}return t}o=o||0;for(var u=e.length;u>0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[r,n,o]},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,{a:t}),t},i.d=function(e,t){for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.f={},i.e=function(e){return Promise.all(Object.keys(i.f).reduce((function(t,r){return i.f[r](e,t),t}),[]))},i.u=function(e){return({3:"chunk-config-tab-scanner",184:"chunk-config-tab-tcf",322:"chunk-config-tab-licensing",357:"chunk-config-tab-import",379:"chunk-config-tab-dashboard",478:"chunk-config-tab-blocker",625:"chunk-config-tab-consent",718:"chunk-config-tab-cookies",768:"chunk-config-tab-settings"}[e]||e)+".lite.js?ver="+{3:"3396f8de7a481b37574c",18:"bbe976f46f8c4fbf81dd",184:"c32d36b137312e877227",193:"ce7e07933bcbf069b690",322:"5c2f6da5cc7ee35eb438",348:"abbf191fbb205192b084",357:"aa4cceeded8c7886e587",379:"7f2104ebbeac40af02e1",418:"c4956b21bc9d963cb475",440:"abce2a866d4b5996c6bb",478:"27ab7f77b81184903fc6",625:"c8e51ff14d463de9cb48",673:"58173e3267c0347ea7f6",702:"d36242a4194f3398f94b",718:"00d3df54471611d067ac",756:"f3849d000e561ec0fd57",768:"ea0e4f32a86dde89431e",795:"ef626740f77410656823",812:"7fc67df73ab1e18cb76d",836:"c7ca2ba5ab10c3fe8b54",914:"2979ca58d101a6abfbf5",933:"294161804e645e16e3c0",954:"ae9f41fd529870001463",995:"f133f83b7bdd4f1ccce1"}[e]},i.miniCssF=function(e){return"admin.css"},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t={},r="realCookieBanner_[name]:",i.l=function(e,n,o,a){if(t[e])t[e].push(n);else{var s,c;if(void 0!==o)for(var l=document.getElementsByTagName("script"),u=0;u<l.length;u++){var p=l[u];if(p.getAttribute("src")==e||p.getAttribute("data-webpack")==r+o){s=p;break}}s||(c=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,i.nc&&s.setAttribute("nonce",i.nc),s.setAttribute("data-webpack",r+o),s.src=e),t[e]=[n];var f=function(r,n){s.onerror=s.onload=null,clearTimeout(b);var o=t[e];if(delete t[e],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach((function(e){return e(n)})),r)return r(n)},b=setTimeout(f.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=f.bind(null,s.onerror),s.onload=f.bind(null,s.onload),c&&document.head.appendChild(s)}},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},function(){var e;i.g.importScripts&&(e=i.g.location+"");var t=i.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");r.length&&(e=r[r.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),i.p=e}(),function(){var e={328:0};i.f.j=function(t,r){var n=i.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var o=new Promise((function(r,o){n=e[t]=[r,o]}));r.push(n[2]=o);var a=i.p+i.u(t),s=new Error;i.l(a,(function(r){if(i.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+a+")",s.name="ChunkLoadError",s.type=o,s.request=a,n[1](s)}}),"chunk-"+t,t)}},i.O.j=function(t){return 0===e[t]};var t=function(t,r){var n,o,a=r[0],s=r[1],c=r[2],l=0;if(a.some((function(t){return 0!==e[t]}))){for(n in s)i.o(s,n)&&(i.m[n]=s[n]);if(c)var u=c(i)}for(t&&t(r);l<a.length;l++)o=a[l],i.o(e,o)&&e[o]&&e[o][0](),e[a[l]]=0;return i.O(u)},r=self.webpackChunkrealCookieBanner_name_=self.webpackChunkrealCookieBanner_name_||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))}();var a=i.O(void 0,[194],(function(){return i(5954)}));a=i.O(a),realCookieBanner_admin=a}();
|
2 |
//# sourceMappingURL=admin.lite.js.map
|
public/dist/admin.lite.js.map
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"version":3,"file":"admin.lite.js","mappings":"wDAAIA,ECAAC,EACAC,E,wBCAJ,IAAIC,EAQAC,E,gCANJ,SAAWD,GACTA,EAA8B,OAAI,SAClCA,EAA2B,IAAI,MAC/BA,EAA2B,IAAI,MAHjC,CAIGA,IAA0BA,EAAwB,KAIrD,SAAWC,GACTA,EAA2B,UAAI,KAC/BA,EAAyB,QAAI,KAC7BA,EAAuB,MAAI,KAC3BA,EAAwB,OAAI,KAC5BA,EAAwB,OAAI,KAC5BA,EAAuB,MAAI,KAC3BA,EAAyB,QAAI,KAC7BA,EAA0B,SAAI,KAC9BA,EAAwB,OAAI,MAC5BA,EAAyB,QAAI,KAC7BA,EAAwB,OAAI,KAC5BA,EAA0B,SAAI,KAC9B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AMtwB,QAAUwwB,EAChBN,EAAmB,GAAGI,MAIgB,SAAWvC,EAASA,KAclErB,EAAoBK,EAAEO,EAAI,SAASS,GAAW,OAAoC,IAA7BkC,EAAgBlC,IAGrE,IAAI0C,EAAuB,SAASC,EAA4B7wB,GAC/D,IAKI8sB,EAAUoB,EALVf,EAAWntB,EAAK,GAChB8wB,EAAc9wB,EAAK,GACnB+wB,EAAU/wB,EAAK,GAGIrC,EAAI,EAC3B,GAAGwvB,EAAS6D,MAAK,SAASpiC,GAAM,OAA+B,IAAxBwhC,EAAgBxhC,MAAe,CACrE,IAAIk+B,KAAYgE,EACZjE,EAAoBmB,EAAE8C,EAAahE,KACrCD,EAAoBzU,EAAE0U,GAAYgE,EAAYhE,IAGhD,GAAGiE,EAAS,IAAIxgB,EAASwgB,EAAQlE,GAGlC,IADGgE,GAA4BA,EAA2B7wB,GACrDrC,EAAIwvB,EAASt6B,OAAQ8K,IACzBuwB,EAAUf,EAASxvB,GAChBkvB,EAAoBmB,EAAEoC,EAAiBlC,IAAYkC,EAAgBlC,IACrEkC,EAAgBlC,GAAS,KAE1BkC,EAAgBjD,EAASxvB,IAAM,EAEhC,OAAOkvB,EAAoBK,EAAE3c,IAG1B0gB,EAAqBC,KAAyC,mCAAIA,KAAyC,oCAAK,GACpHD,EAAmBppB,QAAQ+oB,EAAqBlB,KAAK,KAAM,IAC3DuB,EAAmBhoB,KAAO2nB,EAAqBlB,KAAK,KAAMuB,EAAmBhoB,KAAKymB,KAAKuB,I,GCpFvF,IAAIE,EAAsBtE,EAAoBK,OAAEp8B,EAAW,CAAC,MAAM,WAAa,OAAO+7B,EAAoB,SAC1GsE,EAAsBtE,EAAoBK,EAAEiE,G","sources":["webpack:///webpack/runtime/chunk loaded","webpack:///webpack/runtime/load script","webpack:///../../backends/real-cookie-banner-backend/src/types/service/tcf.ts","webpack:///../../frontend-packages/headless-content-unblocker/src/utils/isUrl.tsx","webpack:///../../frontend-packages/react-cookie-banner/src/utils/reactNl2Br.tsx","webpack:///./src/public/ts/admin.tsx","webpack:///./src/public/ts/components/config/dashboard/checklistItem.tsx","webpack:///./src/public/ts/components/config/dashboard/checklist.tsx","webpack:///./src/public/ts/components/config/settings/general.tsx","webpack:///./src/public/ts/components/config/noticeRevisionNeedsRetrigger.tsx","webpack:///./src/public/ts/components/config/noticeBannerActiveNoCookies.tsx","webpack:///./src/public/ts/components/config/noticeAnonymousScriptNotWritable.tsx","webpack:///./src/public/ts/components/config/noticeNoManager.tsx","webpack:///./src/public/ts/components/routerScrollToTop.tsx","webpack:///./src/public/ts/components/proHeadlineButton.tsx","webpack:///./src/public/ts/components/config/header.tsx","webpack:///./src/public/ts/components/config/footer.tsx","webpack:///./src/public/ts/components/configApp.tsx","webpack:///./src/public/ts/components/inAppFomoCouponCounter.tsx","webpack:///./src/public/ts/components/learnMoreTag.tsx","webpack:///./src/public/ts/components/postTypeSelect.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/utils/htmlDecode.tsx","webpack:///./src/public/ts/components/proModal.tsx","webpack:///./src/public/ts/components/proModalHint.tsx","webpack:///./src/public/ts/components/proTag.tsx","webpack:///./src/public/ts/hooks/useDebounce.tsx","webpack:///./src/public/ts/hooks/useProModal.tsx","webpack:///./src/public/ts/hooks/useScannerProgress.tsx","webpack:///./src/public/ts/models/bannerPreset.tsx","webpack:///./src/public/ts/models/blockerCollection.tsx","webpack:///./src/public/ts/models/blockerModel.tsx","webpack:///./src/public/ts/models/blockerPreset.tsx","webpack:///./src/public/ts/models/consent.tsx","webpack:///./src/public/ts/models/cookieCollection.tsx","webpack:///./src/public/ts/models/cookieGroupCollection.tsx","webpack:///./src/public/ts/models/cookieGroupModel.tsx","webpack:///./src/public/ts/models/cookieModel.tsx","webpack:///./src/public/ts/models/cookiePreset.tsx","webpack:///./src/public/ts/models/revision.tsx","webpack:///./src/public/ts/models/revisionIndependent.tsx","webpack:///./src/public/ts/models/scannerResultExternalUrl.tsx","webpack:///./src/public/ts/models/scannerResultExternalUrlSingle.tsx","webpack:///./src/public/ts/models/scannerResultPreset.tsx","webpack:///./src/public/ts/models/tcfFeature.tsx","webpack:///./src/public/ts/models/tcfPurpose.tsx","webpack:///./src/public/ts/models/tcfVendor.tsx","webpack:///./src/public/ts/models/tcfVendorConfigurationCollection.tsx","webpack:///./src/public/ts/models/tcfVendorConfigurationModel.tsx","webpack:///./src/public/ts/store/checklist.tsx","webpack:///./src/public/ts/store/consent.tsx","webpack:///./src/public/ts/store/cookie.tsx","webpack:///./src/public/ts/store/customizeBanner.tsx","webpack:///./src/public/ts/store/option.tsx","webpack:///./src/public/ts/store/scanner.tsx","webpack:///./src/public/ts/store/stats.tsx","webpack:///./src/public/ts/store/stores.tsx","webpack:///./src/public/ts/store/tcf.tsx","webpack:///./src/public/ts/types/queue.tsx","webpack:///./src/public/ts/utils/copyToClipboard.tsx","webpack:///./src/public/ts/utils/getOptionsFromWindow.tsx","webpack:///./src/public/ts/utils/getOtherOptionsFromWindow.tsx","webpack:///./src/public/ts/utils/i18n.tsx","webpack:///./src/public/ts/utils/request.tsx","webpack:///./src/public/ts/utils/scrollTo.tsx","webpack:///./src/public/ts/utils/truncateMiddle.tsx","webpack:///./src/public/ts/wp-api/checklist.get.tsx","webpack:///./src/public/ts/wp-api/checklist.put.tsx","webpack:///./src/public/ts/wp-api/consentAll.delete.tsx","webpack:///./src/public/ts/wp-api/consentAll.get.tsx","webpack:///./src/public/ts/wp-api/consentReferer.get.tsx","webpack:///./src/public/ts/wp-api/cookieGroupOrder.put.tsx","webpack:///./src/public/ts/wp-api/cookieUnassigned.get.tsx","webpack:///./src/public/ts/wp-api/cookiesOrder.put.tsx","webpack:///./src/public/ts/wp-api/countryBypassDatabase.put.tsx","webpack:///./src/public/ts/wp-api/export.get.tsx","webpack:///./src/public/ts/wp-api/exportConsents.get.tsx","webpack:///./src/public/ts/wp-api/forwardCookie.get.tsx","webpack:///./src/public/ts/wp-api/forwardEndpoints.get.tsx","webpack:///./src/public/ts/wp-api/import.post.tsx","webpack:///./src/public/ts/wp-api/consent.post.tsx","webpack:///./src/public/ts/wp-api/consent.get.tsx","webpack:///./src/public/ts/wp-api/statsMain.get.tsx","webpack:///./src/public/ts/wp-api/statsCustomBypass.get.tsx","webpack:///./src/public/ts/wp-api/statsButtonsClicked.tsx","webpack:///./src/public/ts/wp-api/consentClear.delete.tsx","webpack:///./src/public/ts/wp-api/consentForward.post.tsx","webpack:///./src/public/ts/wp-api/consentDynamicPredecision.get.tsx","webpack:///./src/public/ts/wp-api/liteDismissConfigPageProNotice.delete.tsx","webpack:///./src/public/ts/wp-api/migration.delete.tsx","webpack:///./src/public/ts/wp-api/migration.post.tsx","webpack:///./src/public/ts/wp-api/modalHintSeen.put.tsx","webpack:///./src/public/ts/wp-api/navMenuAddLinks.post.tsx","webpack:///./src/public/ts/wp-api/presetsBanner.get.tsx","webpack:///./src/public/ts/wp-api/presetsBlocker.get.tsx","webpack:///./src/public/ts/wp-api/presetsBlockerAttributes.get.tsx","webpack:///./src/public/ts/wp-api/presetsCookies.get.tsx","webpack:///./src/public/ts/wp-api/presetsCookiesAttributes.get.tsx","webpack:///./src/public/ts/wp-api/revision.get.tsx","webpack:///./src/public/ts/wp-api/revisionCurrent.get.tsx","webpack:///./src/public/ts/wp-api/revisionCurrent.put.tsx","webpack:///./src/public/ts/wp-api/revisionIndependent.get.tsx","webpack:///./src/public/ts/wp-api/scannerQueue.post.tsx","webpack:///./src/public/ts/wp-api/scannerResultsAllExternalUrls.get.tsx","webpack:///./src/public/ts/wp-api/scannerResultsExternal.get.tsx","webpack:///./src/public/ts/wp-api/scannerResultsExternalHost.put.tsx","webpack:///./src/public/ts/wp-api/scannerResultsMarkup.get.tsx","webpack:///./src/public/ts/wp-api/scannerResultsPreset.get.tsx","webpack:///./src/public/ts/wp-api/tcfDeclarations.get.tsx","webpack:///./src/public/ts/wp-api/tcfGvl.put.tsx","webpack:///./src/public/ts/wp-api/tcfVendors.get.tsx","webpack:///./src/public/ts/wp-api/wp/settings.get.tsx","webpack:///./src/public/ts/wp-api/wp/settings.patch.tsx","webpack:///external var \"React\"","webpack:///external var \"ReactDOM\"","webpack:///external var \"ReactRouterDOM\"","webpack:///external var \"devowlWp_customize\"","webpack:///external var \"devowlWp_realProductManagerWpClient\"","webpack:///external var \"devowlWp_realQueue\"","webpack:///external var \"devowlWp_utils\"","webpack:///external var \"jQuery\"","webpack:///external var \"mobx\"","webpack:///external var \"moment\"","webpack:///external var \"wp\"","webpack:///webpack/bootstrap","webpack:///webpack/runtime/compat get default export","webpack:///webpack/runtime/define property getters","webpack:///webpack/runtime/ensure chunk","webpack:///webpack/runtime/get javascript chunk filename","webpack:///webpack/runtime/get mini-css chunk filename","webpack:///webpack/runtime/global","webpack:///webpack/runtime/hasOwnProperty shorthand","webpack:///webpack/runtime/make namespace object","webpack:///webpack/runtime/node module decorator","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 inProgress = {};\nvar dataWebpackPrefix = \"realCookieBanner_[name]:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = function(url, done, key, chunkId) {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = function(prev, event) {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach(function(fn) { return fn(event); });\n\t\tif(prev) return prev(event);\n\t}\n\t;\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","/* eslint-disable @typescript-eslint/no-empty-interface */\nvar ETcfGvlDisclosureType;\n\n(function (ETcfGvlDisclosureType) {\n ETcfGvlDisclosureType[\"Cookie\"] = \"cookie\";\n ETcfGvlDisclosureType[\"Web\"] = \"web\";\n ETcfGvlDisclosureType[\"App\"] = \"app\";\n})(ETcfGvlDisclosureType || (ETcfGvlDisclosureType = {}));\n\nvar ETcfGvlLanguage;\n\n(function (ETcfGvlLanguage) {\n ETcfGvlLanguage[\"Bulgarian\"] = \"bg\";\n ETcfGvlLanguage[\"Catalan\"] = \"ca\";\n ETcfGvlLanguage[\"Czech\"] = \"cs\";\n ETcfGvlLanguage[\"Danish\"] = \"da\";\n ETcfGvlLanguage[\"German\"] = \"de\";\n ETcfGvlLanguage[\"Greek\"] = \"el\";\n ETcfGvlLanguage[\"Spanish\"] = \"es\";\n ETcfGvlLanguage[\"Estonian\"] = \"et\";\n ETcfGvlLanguage[\"Basque\"] = \"eus\";\n ETcfGvlLanguage[\"Finnish\"] = \"fi\";\n ETcfGvlLanguage[\"French\"] = \"fr\";\n ETcfGvlLanguage[\"Galician\"] = \"gl\";\n ETcfGvlLanguage[\"Croatian\"] = \"hr\";\n ETcfGvlLanguage[\"Hungarian\"] = \"hu\";\n ETcfGvlLanguage[\"Italian\"] = \"it\";\n ETcfGvlLanguage[\"Japanese\"] = \"ja\";\n ETcfGvlLanguage[\"Lithuanian\"] = \"lt\";\n ETcfGvlLanguage[\"Latvian\"] = \"lv\";\n ETcfGvlLanguage[\"Maltese\"] = \"mt\";\n ETcfGvlLanguage[\"Dutch\"] = \"nl\";\n ETcfGvlLanguage[\"Norwegian\"] = \"no\";\n ETcfGvlLanguage[\"Polish\"] = \"pl\";\n ETcfGvlLanguage[\"Portuguese\"] = \"pt\";\n ETcfGvlLanguage[\"Romanian\"] = \"ro\";\n ETcfGvlLanguage[\"SerbianCyrillic\"] = \"sr-Cyrl\";\n ETcfGvlLanguage[\"SerbianLatin\"] = \"sr-Latn\";\n ETcfGvlLanguage[\"Russian\"] = \"ru\";\n ETcfGvlLanguage[\"Slovak\"] = \"sk\";\n ETcfGvlLanguage[\"Slovenian\"] = \"sl\";\n ETcfGvlLanguage[\"Swedish\"] = \"sv\";\n ETcfGvlLanguage[\"Turkish\"] = \"tr\";\n ETcfGvlLanguage[\"Chinese\"] = \"zh\";\n})(ETcfGvlLanguage || (ETcfGvlLanguage = {}));\n\nexport { ETcfGvlLanguage, ETcfGvlDisclosureType };","/**\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 { createElement } from \"react\";\nvar newlineRegex = /(\\r\\n|\\r|\\n|<br[ ]?\\/>)/g;\n/**\n * @see https://codesandbox.io/s/94k7k80jxy\n */\n\nvar reactNl2Br = function reactNl2Br(text) {\n return text.split(newlineRegex).map(function (line, index) {\n return line.match(newlineRegex) ? /*#__PURE__*/createElement(\"br\", {\n key: index\n }) : line;\n });\n};\n\nexport { reactNl2Br };","import _message from \"antd/es/message\";\nimport _ConfigProvider from \"antd/es/config-provider\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\n\nvar _handleCorrupRestApi;\n\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\n\n/* 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 * The entry point for the admin side wp-admin resource (config page).\n */\nimport \"mobx-react/batchingForReactDom\";\nimport { render } from \"react-dom\";\nimport { RootStore } from \"./store\";\nimport { ConfigApp } from \"./components/configApp\";\nimport \"./style/antd.less\";\nimport \"./style/admin.scss\"; // eslint-disable-next-line import/no-extraneous-dependencies\n\nimport moment from \"moment\";\nimport { handleCorrupRestApi, getWebpackPublicPath } from \"@devowl-wp/utils\";\nimport { request } from \"./utils\";\n__webpack_public_path__ = getWebpackPublicPath(process.env);\nhandleCorrupRestApi === null || handleCorrupRestApi === void 0 ? void 0 : handleCorrupRestApi((_handleCorrupRestApi = {}, _defineProperty(_handleCorrupRestApi, RootStore.get.optionStore.restNamespace, _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 _context.next = 2;\n return request({\n location: {\n path: \"/plugin\"\n }\n });\n\n case 2:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n}))), _defineProperty(_handleCorrupRestApi, \"wp/v2\", function () {\n var _wpV = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {\n return _regeneratorRuntime.wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n _context2.next = 2;\n return request({\n location: {\n path: \"/settings\",\n namespace: \"wp/v2\"\n }\n });\n\n case 2:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2);\n }));\n\n function wpV2() {\n return _wpV.apply(this, arguments);\n }\n\n return wpV2;\n}()), _handleCorrupRestApi)); // Configure prefix for root (https://bit.ly/3wb2pv9)\n\n_ConfigProvider.config({\n prefixCls: process.env.ANTD_PREFIX\n});\n\n_message.config({\n top: 50\n});\n\nvar node = document.getElementById(\"\".concat(RootStore.get.optionStore.slug, \"-component\"));\n\nif (node) {\n render( /*#__PURE__*/React.createElement(_ConfigProvider, {\n prefixCls: process.env.ANTD_PREFIX,\n locale: {\n locale: moment.locale()\n }\n }, /*#__PURE__*/React.createElement(RootStore.StoreProvider, null, /*#__PURE__*/React.createElement(ConfigApp, null))), node);\n} // Expose this functionalities to add-ons, but you need to activate the library functionality\n// in your webpack configuration, see also https://webpack.js.org/guides/author-libraries/\n\n\nexport * from \"@devowl-wp/utils\";\nexport * from \"./wp-api\";\nexport * from \"./store\";","import _Tooltip from \"antd/es/tooltip\";\nimport _Tag from \"antd/es/tag\";\nimport { observer } from \"mobx-react\";\nimport { __ } from \"../../../utils\";\nimport { CheckCircleOutlined, CheckCircleFilled, InfoCircleFilled } from \"@ant-design/icons\";\nimport { useStores } from \"../../../store\";\nimport { PRO_TAG_BACKGROUND_COLOR, useScannerProgress } from \"../../../hooks\";\nimport { InAppFomoCouponCounter, IN_APP_FOMO_URL_PARAMETER_TO_DEACTIVATE_WEBSITE_FOMO } from \"../..\";\nvar DashboardChecklistItem = observer(function (_ref) {\n var id = _ref.id,\n checked = _ref.checked,\n title = _ref.title,\n description = _ref.description,\n link = _ref.link,\n linkText = _ref.linkText,\n linkTarget = _ref.linkTarget,\n needsPro = _ref.needsPro,\n onLinkClick = _ref.onLinkClick;\n\n var _useStores = useStores(),\n _useStores$optionStor = _useStores.optionStore,\n isPro = _useStores$optionStor.others.isPro,\n fomoCoupon = _useStores$optionStor.fomoCoupon;\n\n var isInfo = !isPro && needsPro;\n var extraContentTag = null;\n var extraContentDescription = null;\n var useLink = link;\n\n switch (id) {\n case \"scanner\":\n {\n var _useScannerProgress = useScannerProgress(),\n scanPercent = _useScannerProgress.percent,\n scanRemaining = _useScannerProgress.remaining,\n currentJob = _useScannerProgress.currentJob;\n\n if (scanRemaining > 0 && scanPercent > 0 && (currentJob === null || currentJob === void 0 ? void 0 : currentJob.group_position) > 0) {\n extraContentTag = /*#__PURE__*/React.createElement(_Tag, null, __(\"Currently scanning (%d %%)\", scanPercent));\n }\n\n break;\n }\n\n case \"get-pro\":\n {\n extraContentDescription = /*#__PURE__*/React.createElement(InAppFomoCouponCounter, null);\n\n if (fomoCoupon) {\n useLink += \"&\".concat(IN_APP_FOMO_URL_PARAMETER_TO_DEACTIVATE_WEBSITE_FOMO);\n }\n\n break;\n }\n\n default:\n break;\n }\n\n return /*#__PURE__*/React.createElement(\"div\", {\n style: {\n margin: \"5px 0\"\n }\n }, /*#__PURE__*/React.createElement(_Tooltip, {\n title: checked && description\n }, /*#__PURE__*/React.createElement(\"span\", null, isInfo ? /*#__PURE__*/React.createElement(InfoCircleFilled, {\n style: {\n color: \"#7ec8ec\"\n }\n }) : checked ? /*#__PURE__*/React.createElement(CheckCircleFilled, {\n style: {\n color: \"#52c41a\"\n }\n }) : /*#__PURE__*/React.createElement(CheckCircleOutlined, {\n style: {\n color: \"#e2e2e2\"\n }\n }), \" \", /*#__PURE__*/React.createElement(\"span\", {\n style: {\n textDecoration: checked ? \"line-through\" : undefined,\n fontWeight: \"bold\"\n }\n }, title), !!useLink && !!linkText && /*#__PURE__*/React.createElement(React.Fragment, null, \"\\xA0\\xA0\\u2022\\xA0\\xA0\", /*#__PURE__*/React.createElement(\"a\", {\n href: useLink,\n target: linkTarget,\n rel: \"noreferrer\",\n onClick: onLinkClick\n }, linkText)))), isInfo && id !== \"get-pro\" && /*#__PURE__*/React.createElement(React.Fragment, null, \"\\xA0\", /*#__PURE__*/React.createElement(_Tag, {\n color: PRO_TAG_BACKGROUND_COLOR\n }, __(\"Needs PRO\"))), !!extraContentTag && /*#__PURE__*/React.createElement(React.Fragment, null, \"\\xA0\", extraContentTag), !!description && !checked && /*#__PURE__*/React.createElement(\"p\", {\n className: \"description\",\n style: {\n paddingLeft: 17\n }\n }, description), !!extraContentDescription && /*#__PURE__*/React.createElement(\"div\", {\n style: {\n paddingLeft: 17\n }\n }, extraContentDescription));\n});\nexport { DashboardChecklistItem };","import _Spin from \"antd/es/spin\";\nimport _Space from \"antd/es/space\";\nimport _extends from \"@babel/runtime/helpers/extends\";\nimport _Tag from \"antd/es/tag\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/objectWithoutProperties\";\nimport { useState } from \"react\";\nimport { observer } from \"mobx-react\";\nimport { __ } from \"../../../utils\";\nimport { DashboardChecklistItem } from \".\";\nimport { useStores } from \"../../../store\";\nimport { CheckCircleOutlined, MinusCircleOutlined } from \"@ant-design/icons\";\nvar DashboardChecklistCardContent = observer(function (_ref) {\n var _onLinkClick = _ref.onLinkClick,\n props = _objectWithoutProperties(_ref, [\"onLinkClick\"]);\n\n var _useStores = useStores(),\n checklistStore = _useStores.checklistStore;\n\n var busyChecklist = checklistStore.busyChecklist,\n items = checklistStore.items,\n completed = checklistStore.completed,\n checkable = checklistStore.checkable,\n done = checklistStore.done,\n overdue = checklistStore.checklist.overdue;\n\n var _useState = useState(typeof props.showHidden === \"boolean\" ? props.showHidden : done ? false : true),\n _useState2 = _slicedToArray(_useState, 2),\n showHidden = _useState2[0],\n setShowHidden = _useState2[1];\n\n return /*#__PURE__*/React.createElement(_Spin, {\n spinning: busyChecklist\n }, /*#__PURE__*/React.createElement(_Space, {\n direction: \"vertical\",\n size: \"large\"\n }, overdue && /*#__PURE__*/React.createElement(\"div\", {\n className: \"notice notice-warning inline below-h2 notice-alt\",\n style: {\n margin: 0\n }\n }, /*#__PURE__*/React.createElement(\"p\", null, __(\"How time flies! You have installed Real Cookie Banner some time ago, but you still haven't finished the configuration yet.\"))), /*#__PURE__*/React.createElement(\"p\", {\n className: \"description\"\n }, __(\"We have collected all relevant steps for the legally compliant use of Real Cookie Banner after the first installation. Set up the cookie banner step by step to add an opt-in cookie banner to your website in compliance with the ePrivacy Directive and GDPR.\")), /*#__PURE__*/React.createElement(\"div\", null, done && (showHidden ? /*#__PURE__*/React.createElement(_Tag, {\n icon: /*#__PURE__*/React.createElement(MinusCircleOutlined, null),\n color: \"default\",\n style: {\n cursor: \"pointer\"\n },\n onClick: function onClick() {\n return setShowHidden(false);\n }\n }, __(\"Hide completed steps\")) : /*#__PURE__*/React.createElement(_Tag, {\n icon: /*#__PURE__*/React.createElement(CheckCircleOutlined, null),\n color: \"success\",\n style: {\n cursor: \"pointer\"\n },\n onClick: function onClick() {\n return setShowHidden(true);\n }\n }, __(\"%d / %d steps completed\", completed.length > checkable.length ? checkable.length : completed.length, // avoid overflow due infos\n checkable.length))), items.map(function (_ref2) {\n var id = _ref2.id,\n rest = _objectWithoutProperties(_ref2, [\"id\"]);\n\n if (!showHidden && rest.checked) {\n return null;\n }\n\n return /*#__PURE__*/React.createElement(DashboardChecklistItem, _extends({\n key: id,\n id: id\n }, rest, {\n onLinkClick: function onLinkClick(e) {\n if ([\"get-pro\"].indexOf(id) > -1) {\n checklistStore.toggleChecklistItem(id, true);\n }\n\n _onLinkClick === null || _onLinkClick === void 0 ? void 0 : _onLinkClick(e);\n }\n }));\n }))));\n});\nexport { DashboardChecklistCardContent };","import _Radio from \"antd/es/radio\";\nimport _Input from \"antd/es/input\";\nimport _Popconfirm from \"antd/es/popconfirm\";\nimport _Form from \"antd/es/form\";\nimport _Switch from \"antd/es/switch\";\nimport { useCallback } from \"react\";\nimport { observer } from \"mobx-react\";\nimport { __, _i } from \"../../../utils\";\nimport { PostTypeSelect, ProTag, LearnMoreTag } from \"../..\";\nimport { useStores } from \"../../../store\";\nvar MANAGER_GTM_LABEL = \"Google Tag Manager\";\nvar MANAGER_MTM_LABEL = \"Matomo Tag Manager\";\nvar SettingsFormGeneral = observer(function () {\n var _useStores = useStores(),\n _useStores$optionStor = _useStores.optionStore,\n imprintExternalUrl = _useStores$optionStor.imprintExternalUrl,\n imprintIsExternalUrl = _useStores$optionStor.imprintIsExternalUrl,\n privacyPolicyExternalUrl = _useStores$optionStor.privacyPolicyExternalUrl,\n privacyPolicyIsExternalUrl = _useStores$optionStor.privacyPolicyIsExternalUrl,\n _useStores$optionStor2 = _useStores$optionStor.others,\n isPro = _useStores$optionStor2.isPro,\n customizeBannerUrl = _useStores$optionStor2.customizeBannerUrl;\n\n var fnCustomizeSectionUrl = useCallback(function (id) {\n return \"\".concat(customizeBannerUrl.replace(/autofocus\\[panel]=[\\w-]+/, \"autofocus[section]=\".concat(id)), \"&return=\").concat(encodeURIComponent(window.location.href));\n }, [customizeBannerUrl]);\n var customizeLegalUrl = fnCustomizeSectionUrl(\"real-cookie-banner-banner-legal\");\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n shouldUpdate: function shouldUpdate(prevValues, nextValues) {\n return prevValues.bannerActive !== nextValues.bannerActive;\n }\n }, function (_ref) {\n var getFieldValue = _ref.getFieldValue,\n setFieldsValue = _ref.setFieldsValue;\n var bannerActive = getFieldValue(\"bannerActive\");\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_Form.Item, {\n label: __(\"Cookie Banner/Dialog\")\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n name: \"bannerActive\",\n valuePropName: \"checked\"\n }, /*#__PURE__*/React.createElement(_Switch, {\n style: {\n display: bannerActive ? undefined : \"none\"\n }\n })), !bannerActive && /*#__PURE__*/React.createElement(_Popconfirm, {\n title: __(\"I have already checked/will check all text in the cookie banner and content blocker myself. I have added missing information and corrected information that does not fit my use case.\"),\n cancelText: __(\"Cancel\"),\n okText: __(\"Activate now!\"),\n overlayStyle: {\n maxWidth: 450\n },\n onCancel: function onCancel() {\n setFieldsValue({\n bannerActive: false\n });\n },\n onConfirm: function onConfirm() {\n setFieldsValue({\n bannerActive: true\n });\n },\n placement: \"bottomLeft\"\n }, /*#__PURE__*/React.createElement(_Switch, {\n checked: false\n })), /*#__PURE__*/React.createElement(\"p\", {\n className: \"description\",\n style: {\n marginTop: 5\n }\n }, __(\"You can enable and disable the cookie banner. We recommend to activate the cookie banner on your website after you have added all services.\"))), /*#__PURE__*/React.createElement(_Form.Item, {\n label: __(\"Content Blocker\"),\n style: {\n display: bannerActive ? undefined : \"none\"\n }\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"blockerActive\",\n valuePropName: \"checked\",\n noStyle: true\n }, /*#__PURE__*/React.createElement(_Switch, {\n style: {\n marginTop: 5\n }\n })), /*#__PURE__*/React.createElement(\"p\", {\n className: \"description\",\n style: {\n marginTop: 5\n }\n }, __(\"This feature allows you to block content that would process personal data and set cookies, but for which you do not yet have the visitor's consent.\"))));\n }), /*#__PURE__*/React.createElement(_Form.Item, {\n label: __(\"Hide cookie banner on specific pages\")\n }, /*#__PURE__*/React.createElement(\"p\", {\n className: \"description\",\n style: {\n marginTop: 7\n }\n }, __(\"According to the ePrivacy Directive, legally required pages such as the privacy policy or the imprint (depending on the country) may be accessible without the user having to give consent to services and their cookies. Therefore, it is recommended to avoid processing personal data and setting cookies on these pages and not to display a cookie banner.\")), /*#__PURE__*/React.createElement(_Form.Item, {\n label: __(\"Imprint Page\"),\n labelCol: {\n span: 24\n },\n wrapperCol: {\n span: 12\n },\n style: {\n marginBottom: 12\n }\n }, imprintIsExternalUrl ? /*#__PURE__*/React.createElement(_Input, {\n value: imprintExternalUrl,\n readOnly: true,\n addonAfter: /*#__PURE__*/React.createElement(\"a\", {\n className: \"button-link alignright\",\n rel: \"noreferrer\",\n target: \"_blank\",\n href: customizeLegalUrl\n }, __(\"Edit\"))\n }) : /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"imprintId\",\n noStyle: true\n }, /*#__PURE__*/React.createElement(PostTypeSelect, {\n postType: \"pages\",\n forceDefaultLanguage: true,\n postStatus: [\"publish\"],\n perPage: 100\n }))), /*#__PURE__*/React.createElement(_Form.Item, {\n label: __(\"Privacy policy page\"),\n labelCol: {\n span: 24\n },\n wrapperCol: {\n span: 12\n },\n style: {\n marginBottom: 12\n }\n }, privacyPolicyIsExternalUrl ? /*#__PURE__*/React.createElement(_Input, {\n value: privacyPolicyExternalUrl,\n readOnly: true,\n addonAfter: /*#__PURE__*/React.createElement(\"a\", {\n className: \"button-link alignright\",\n rel: \"noreferrer\",\n target: \"_blank\",\n href: customizeLegalUrl\n }, __(\"Edit\"))\n }) : /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"privacyPolicyId\",\n noStyle: true\n }, /*#__PURE__*/React.createElement(PostTypeSelect, {\n postType: \"pages\",\n forceDefaultLanguage: true,\n postStatus: [\"publish\"],\n perPage: 100\n }))), /*#__PURE__*/React.createElement(_Form.Item, {\n label: /*#__PURE__*/React.createElement(React.Fragment, null, __(\"Hide on additional pages\"), \"\\xA0\", /*#__PURE__*/React.createElement(ProTag, {\n title: __(\"Want to hide cookie banner on more pages?\"),\n testDrive: true,\n feature: \"hide-page-ids\",\n description: __(\"Cookie banners are legally necessary, but distract your users from the essentials. For example, on landing pages for advertising campaigns, they lead to lower conversion rates. On these pages, it can be useful to avoid processing personal data and setting cookies to keep the conversion rate high. You can hide the cookie banner on these pages.\")\n })),\n labelCol: {\n span: 24\n },\n wrapperCol: {\n span: 12\n },\n style: {\n marginBottom: 12\n }\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"hidePageIds\",\n noStyle: true\n }, /*#__PURE__*/React.createElement(PostTypeSelect, {\n postType: \"pages\",\n multiple: true,\n disabled: !isPro,\n forceDefaultLanguage: true,\n postStatus: [\"publish\"],\n perPage: 100\n })))), /*#__PURE__*/React.createElement(_Form.Item, {\n label: __(\"Load services after consent via\")\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"setCookiesViaManager\",\n noStyle: true\n }, /*#__PURE__*/React.createElement(_Radio.Group, null, /*#__PURE__*/React.createElement(_Radio.Button, {\n disabled: !isPro,\n value: \"none\"\n }, __(\"HTML/JavaScript Snippet\")), /*#__PURE__*/React.createElement(_Radio.Button, {\n disabled: !isPro,\n value: \"googleTagManager\"\n }, __(\"%s Event\", MANAGER_GTM_LABEL)), /*#__PURE__*/React.createElement(_Radio.Button, {\n disabled: !isPro,\n value: \"matomoTagManager\"\n }, __(\"%s Event\", MANAGER_MTM_LABEL)))), /*#__PURE__*/React.createElement(\"div\", {\n style: {\n margin: \"5px 0px 0px\"\n }\n }, /*#__PURE__*/React.createElement(LearnMoreTag, {\n url: __(\"https://devowl.io/knowledge-base/real-cookie-banner-with-google-tag-manager-or-matomo-tag-manager/\")\n }), /*#__PURE__*/React.createElement(ProTag, {\n title: __(\"Want to use a Tag Manager legally?\"),\n testDrive: true,\n feature: \"set-cookies-via-manager\",\n assetName: __(\"pro-modal/set-cookies-via-manager.png\"),\n description: __(\"You can integrate services via Google Tag Manager or Matomo Tag Manager. At the same time, you can obtain and document consents via Real Cookie Banner in accordance with data protection regulations.\")\n })), /*#__PURE__*/React.createElement(\"p\", {\n className: \"description\"\n }, /*#__PURE__*/React.createElement(\"strong\", null, __(\"You only need to change this option if you use Google Tag Manager or Matomo Tag Manager.\")), \"\\xA0\", _i(__(\"If you opt-in to or opt-out from services, you will normally execute JavaScript code to ensure that scripts are enabled/disabled and cookies are set/removed on the visitor's client. If you are a Google Tag Manager or Matomo Tag Manager user, you can map this behavior by using tags that are triggered by an event in the data layer. {{strong}}If you enable this option,{{/strong}} the Google Tag Manager or Matomo Tag Manager should not yet be integrated into your website. Instead, you must integrate it as an opt-in script of a service you create for the Tag Manager. For each service listed in this plugin, you will receive an additional field where you can specify the name of the event that is automatically triggered when the user opt-in or opt-out. We have a full integration for tag managers which should allow you to run it legally compliant in the EU.\"), {\n strong: /*#__PURE__*/React.createElement(\"strong\", null)\n }))));\n});\nexport { SettingsFormGeneral, MANAGER_GTM_LABEL, MANAGER_MTM_LABEL };","import _Popconfirm from \"antd/es/popconfirm\";\nimport { observer } from \"mobx-react\";\nimport { _i, __ } from \"../../utils\";\nimport { useStores } from \"../../store\";\nimport { useLocation } from \"react-router-dom\";\nvar NoticeRevisionNeedsRetrigger = observer(function () {\n var _useStores = useStores(),\n optionStore = _useStores.optionStore;\n\n var _useLocation = useLocation(),\n pathname = _useLocation.pathname;\n\n return optionStore.needsRevisionRetrigger && pathname.indexOf(\"/edit/\") === -1 && pathname.indexOf(\"/new\") === -1 && /*#__PURE__*/React.createElement(\"div\", {\n className: \"notice notice-warning inline below-h2 notice-alt\",\n style: {\n margin: \"10px 0 0 0\"\n }\n }, /*#__PURE__*/React.createElement(\"p\", null, __(\"You have changed settings that affect the content or behavior of the cookie banner. You should ask all visitors for their consent again.\"), \" \", \"\\u2022\", \" \", /*#__PURE__*/React.createElement(\"a\", {\n style: {\n cursor: \"pointer\",\n textDecoration: \"underline\"\n },\n onClick: function onClick() {\n return optionStore.updateCurrentRevision({\n needs_retrigger: true\n });\n }\n }, __(\"Request new consent\")), \" \", \"\\u2022\", \" \", /*#__PURE__*/React.createElement(_Popconfirm, {\n title: /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"strong\", null, __(\"Are you sure you don't want to collect new consents?\")), /*#__PURE__*/React.createElement(\"br\", null), /*#__PURE__*/React.createElement(\"br\", null), _i(__(\"Consent must be obtained in accordance with {{a}}Art. 7 GDPR{{/a}}. Your visitor must be informed about all circumstances of the consent. However, you have made changes to your cookie banner, which lead to the fact that previously visitors have consented differently or to something different than is now in the cookie banner. Therefore, previously collected consents may have become partially invalid.\"), {\n a: /*#__PURE__*/React.createElement(\"a\", {\n href: __(\"https://gdpr-info.eu/art-7-gdpr/\"),\n rel: \"noreferrer\",\n target: \"_blank\"\n })\n }), /*#__PURE__*/React.createElement(\"br\", null), /*#__PURE__*/React.createElement(\"br\", null), __(\"If you have created a new service like Google Analytics (without visual content blocker), previous visitors can never consent without collecting new consents and you cannot track them, for example.\")),\n placement: \"bottomRight\",\n onConfirm: function onConfirm() {\n return optionStore.updateCurrentRevision({\n needs_retrigger: false\n });\n },\n okText: __(\"Dismiss notice\"),\n cancelText: __(\"Cancel\"),\n overlayStyle: {\n maxWidth: 450\n }\n }, /*#__PURE__*/React.createElement(\"a\", {\n style: {\n cursor: \"pointer\",\n textDecoration: \"underline\"\n }\n }, __(\"Dismiss notice\")))));\n});\nexport { NoticeRevisionNeedsRetrigger };","import { observer } from \"mobx-react\";\nimport { __ } from \"../../utils\";\nimport { useStores } from \"../../store\";\nvar NoticeBannerActiveNoCookies = observer(function () {\n var _useStores = useStores(),\n _useStores$optionStor = _useStores.optionStore,\n publicCookieCount = _useStores$optionStor.publicCookieCount,\n busySettings = _useStores$optionStor.busySettings,\n bannerActive = _useStores$optionStor.bannerActive;\n\n return bannerActive && !publicCookieCount && !busySettings && /*#__PURE__*/React.createElement(\"div\", {\n className: \"notice notice-warning inline below-h2 notice-alt\",\n style: {\n margin: \"10px 0 0 0\"\n }\n }, /*#__PURE__*/React.createElement(\"p\", null, __(\"The cookie banner is activated, but unfortunately you have not yet created or enabled services.\")));\n});\nexport { NoticeBannerActiveNoCookies };","import { observer } from \"mobx-react\";\nimport { getOtherOptionsFromWindow, _i, __ } from \"../../utils\";\nvar NoticeAnonymousScriptNotWritable = observer(function () {\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n showNoticeAnonymousScriptNotWritable = _getOtherOptionsFromW.showNoticeAnonymousScriptNotWritable;\n\n return !!showNoticeAnonymousScriptNotWritable && /*#__PURE__*/React.createElement(\"div\", {\n className: \"notice notice-warning inline below-h2 notice-alt\",\n style: {\n margin: \"10px 0 0 0\"\n }\n }, /*#__PURE__*/React.createElement(\"p\", null, _i(__(\"Your {{code}}wp-content{{/code}} folder is not writable. Please check your permissions!\"), {\n code: /*#__PURE__*/React.createElement(\"code\", null)\n })));\n});\nexport { NoticeAnonymousScriptNotWritable };","import { observer } from \"mobx-react\";\nimport { __, _i } from \"../../utils\";\nimport { useStores } from \"../../store\";\nimport { useLocation } from \"react-router-dom\";\nvar NoticeNoManager = observer(function (_ref) {\n var manager = _ref.manager,\n managerId = _ref.managerId,\n hasManagerAttributeName = _ref.hasManagerAttributeName,\n presetId = _ref.presetId;\n\n var _useStores = useStores(),\n _useStores$optionStor = _useStores.optionStore,\n setCookiesViaManager = _useStores$optionStor.setCookiesViaManager,\n hasManager = _useStores$optionStor[hasManagerAttributeName];\n\n var _useLocation = useLocation(),\n pathname = _useLocation.pathname;\n\n return setCookiesViaManager === managerId && !hasManager && /^\\/cookies\\/\\d+$/.test(pathname) && /*#__PURE__*/React.createElement(\"div\", {\n className: \"notice notice-warning inline below-h2 notice-alt\",\n style: {\n margin: \"10px 0 0 0\"\n }\n }, /*#__PURE__*/React.createElement(\"p\", null, _i(__(\"You have not yet defined a %s service. To use {{strong}}%s{{/strong}} with Real Cookie Banner, you must create the appropriate service.\", manager, manager), {\n strong: /*#__PURE__*/React.createElement(\"strong\", null)\n }), \" \", \"\\u2022 \", /*#__PURE__*/React.createElement(\"a\", {\n href: \"#\".concat(pathname, \"/new?force=\").concat(presetId)\n }, __(\"Create now\"))));\n});\nexport { NoticeNoManager };","import { useEffect } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport { scrollTo } from \"../utils\";\n/**\n * @see https://stackoverflow.com/a/54343182/5506547\n */\n\nvar RouterScrollToTop = function RouterScrollToTop() {\n var _useHistory = useHistory(),\n listen = _useHistory.listen;\n\n useEffect(function () {\n var destroy = listen(function () {\n scrollTo(0);\n });\n return function () {\n destroy();\n };\n }, [listen]);\n return null;\n};\n\nexport { RouterScrollToTop };","import _Popconfirm from \"antd/es/popconfirm\";\nimport { useCallback } from \"react\";\nimport { observer } from \"mobx-react\";\nimport { InfoCircleOutlined } from \"@ant-design/icons\";\nimport { useStores } from \"../store\";\nimport { __ } from \"../utils\";\nvar ProHeadlineButton = observer(function () {\n var _useStores = useStores(),\n optionStore = _useStores.optionStore;\n\n var _optionStore$others = optionStore.others,\n proUrl = _optionStore$others.proUrl,\n isPro = _optionStore$others.isPro,\n isConfigProNoticeVisible = _optionStore$others.isConfigProNoticeVisible;\n var href = \"\".concat(proUrl, \"&feature=main-button\");\n var handleConfirm = useCallback(function () {\n window.open(href, \"_blank\");\n optionStore.dismissConfigProNotice();\n }, [optionStore]);\n var handleClose = useCallback(function () {\n optionStore.dismissConfigProNotice();\n }, [optionStore]);\n return !isPro && /*#__PURE__*/React.createElement(_Popconfirm, {\n visible: !!isConfigProNoticeVisible,\n title: __(\"Thank you for using the free version of Real Cookie Banner. You might also be interested in the PRO version, which offers you more features, 20+ design templates, 100+ service templates, 60+ content blocker templates and much more.\"),\n icon: /*#__PURE__*/React.createElement(InfoCircleOutlined, {\n style: {\n color: \"#1890ff\"\n }\n }),\n placement: \"bottom\",\n onConfirm: handleConfirm,\n onCancel: handleClose,\n cancelText: __(\"No, not interested...\"),\n okText: __(\"I want to learn more!\"),\n overlayStyle: {\n maxWidth: 450\n }\n }, /*#__PURE__*/React.createElement(\"a\", {\n className: \"page-title-action\",\n rel: \"noreferrer\",\n onClick: handleConfirm\n }, __(\"Get PRO version\")));\n});\nexport { ProHeadlineButton };","import _Modal from \"antd/es/modal\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { CheckCircleOutlined } from \"@ant-design/icons\";\nimport { observer } from \"mobx-react\";\nimport { useCallback, useState, useEffect } from \"react\";\nimport { useLocation } from \"react-router-dom\";\nimport { ProHeadlineButton, DashboardChecklistCardContent } from \"..\";\nimport { useStores } from \"../../store\";\nimport { __ } from \"../../utils\";\nvar ConfigHeader = observer(function () {\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n isChecklistModalOpen = _useState2[0],\n setChecklistModalOpen = _useState2[1];\n\n var _useStores = useStores(),\n optionStore = _useStores.optionStore,\n checklistStore = _useStores.checklistStore;\n\n var _useLocation = useLocation(),\n pathname = _useLocation.pathname;\n\n var customizeBannerUrl = optionStore.others.customizeBannerUrl,\n publicUrl = optionStore.publicUrl;\n var completed = checklistStore.completed,\n checkable = checklistStore.checkable,\n done = checklistStore.done;\n useEffect(function () {\n checklistStore.fetchChecklist();\n }, []);\n var handleCustomizeBannerButtonClick = useCallback(function (e) {\n window.location.href = \"\".concat(customizeBannerUrl, \"&return=\").concat(encodeURIComponent(window.location.href));\n e.preventDefault();\n }, []);\n var handleChecklistModalOpen = useCallback(function () {\n setChecklistModalOpen(true);\n checklistStore.fetchChecklist();\n }, [setChecklistModalOpen]);\n var handleChecklistModalClose = useCallback(function () {\n setChecklistModalOpen(false);\n }, [setChecklistModalOpen]);\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"h1\", {\n className: \"wp-heading-inline\"\n }, __(\"Real Cookie Banner\")), /*#__PURE__*/React.createElement(\"img\", {\n className: \"rcb-nav-logo\",\n src: \"\".concat(publicUrl, \"images/logos/real-cookie-banner.svg\")\n }), /*#__PURE__*/React.createElement(\"a\", {\n className: \"page-title-action\",\n href: \"#\",\n onClick: handleCustomizeBannerButtonClick\n }, __(\"Customize banner\")), /*#__PURE__*/React.createElement(ProHeadlineButton, null), !done && pathname !== \"/\" && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"a\", {\n className: \"page-title-action\",\n style: {\n color: \"#52c41a\",\n background: \"#f6ffed\",\n borderColor: \"#85af65\"\n },\n onClick: handleChecklistModalOpen\n }, /*#__PURE__*/React.createElement(CheckCircleOutlined, null), \"\\xA0\", __(\"%d / %d steps completed\", completed.length > checkable.length ? checkable.length : completed.length, // avoid overflow due infos\n checkable.length)), /*#__PURE__*/React.createElement(_Modal, {\n visible: isChecklistModalOpen,\n title: __(\"Set up the cookie banner\"),\n onCancel: handleChecklistModalClose,\n okButtonProps: {\n style: {\n display: \"none\"\n }\n },\n cancelText: __(\"Close\"),\n width: 800\n }, /*#__PURE__*/React.createElement(DashboardChecklistCardContent, {\n showHidden: true,\n onLinkClick: handleChecklistModalClose\n }))), /*#__PURE__*/React.createElement(\"hr\", {\n className: \"wp-header-end\"\n }));\n});\nexport { ConfigHeader };","import { observer } from \"mobx-react\";\nimport { useStores } from \"../../store\";\nimport { HeartFilled } from \"@ant-design/icons\";\nimport { _i, __ } from \"../../utils\";\nvar ConfigFooter = observer(function () {\n var _useStores = useStores(),\n publicUrl = _useStores.optionStore.publicUrl;\n\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"rcb-config-footer\"\n }, _i(__(\"Real Cookie Banner is brought to you with {{icon/}} by\"), {\n icon: /*#__PURE__*/React.createElement(HeartFilled, {\n style: {\n color: \"#dca7a7\"\n }\n })\n }), /*#__PURE__*/React.createElement(\"a\", {\n href: \"https://devowl.io/\",\n target: \"_blank\",\n rel: \"noreferrer\"\n }, /*#__PURE__*/React.createElement(\"img\", {\n src: \"\".concat(publicUrl, \"images/logos/devowl-with-text.svg\")\n })));\n});\nexport { ConfigFooter };","import _Badge from \"antd/es/badge\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport _Spin from \"antd/es/spin\";\nimport { lazy, Suspense } from \"react\";\nimport { useLayoutEffect } from \"react\";\nimport { observer } from \"mobx-react\";\nimport { HashRouter as Router, Switch, Route, NavLink } from \"react-router-dom\";\nimport { __ } from \"../utils\";\nimport { useStores } from \"../store\";\nimport { NoticeRevisionNeedsRetrigger, NoticeBannerActiveNoCookies, NoticeAnonymousScriptNotWritable, NoticeNoManager, RouterScrollToTop, MANAGER_GTM_LABEL, MANAGER_MTM_LABEL } from \".\";\nimport { ConfigHeader, ConfigFooter } from \".\";\nimport { SuspenseChunkTranslation } from \"@devowl-wp/utils\";\nimport { useScannerProgress } from \"../hooks\";\nimport { JOB_DONE_EVENT_PREFIX } from \"@devowl-wp/real-queue\";\nimport { AUTOMATIC_SCAN_STATER_QUEUE_JOB } from \"../types\";\nvar CSS_SPINNER_IN_CONTENT = {\n display: \"block\",\n marginTop: 10\n}; // Lazy load components\n\nvar createSuspenseComponent = function createSuspenseComponent(tab, children) {\n return {\n // eslint-disable-next-line react/display-name\n default: function _default() {\n return /*#__PURE__*/React.createElement(SuspenseChunkTranslation, {\n chunkFile: __webpack_get_script_filename__(\"chunk-config-tab-\".concat(tab)),\n options: function options() {\n return useStores().optionStore;\n },\n fallback: /*#__PURE__*/React.createElement(_Spin, {\n spinning: true,\n style: CSS_SPINNER_IN_CONTENT\n })\n }, children);\n }\n };\n};\n\nvar DashboardCards = /*#__PURE__*/lazy(function () {\n return import(\n /* webpackChunkName: \"chunk-config-tab-dashboard\" */\n \"./config/dashboard/cards\").then(function (_ref) {\n var DashboardCards = _ref.DashboardCards;\n return createSuspenseComponent(\"dashboard\", /*#__PURE__*/React.createElement(DashboardCards, null));\n });\n});\nvar SettingsForm = /*#__PURE__*/lazy(function () {\n return import(\n /* webpackChunkName: \"chunk-config-tab-settings\" */\n \"./config/settings/form\").then(function (_ref2) {\n var SettingsForm = _ref2.SettingsForm;\n return createSuspenseComponent(\"settings\", /*#__PURE__*/React.createElement(SettingsForm, null));\n });\n});\nvar ScannerRouter = /*#__PURE__*/lazy(function () {\n return import(\n /* webpackChunkName: \"chunk-config-tab-scanner\" */\n \"./config/scanner/router\").then(function (_ref3) {\n var ScannerRouter = _ref3.ScannerRouter;\n return createSuspenseComponent(\"scanner\", /*#__PURE__*/React.createElement(ScannerRouter, null));\n });\n});\nvar CookieGroupsTabRouter = /*#__PURE__*/lazy(function () {\n return import(\n /* webpackChunkName: \"chunk-config-tab-cookies\" */\n \"./config/cookies/groups/tabRouter\").then(function (_ref4) {\n var CookieGroupsTabRouter = _ref4.CookieGroupsTabRouter;\n return createSuspenseComponent(\"cookies\", /*#__PURE__*/React.createElement(CookieGroupsTabRouter, null));\n });\n});\nvar ConsentTabRouter = /*#__PURE__*/lazy(function () {\n return import(\n /* webpackChunkName: \"chunk-config-tab-consent\" */\n \"./config/consent/tabRouter\").then(function (_ref5) {\n var ConsentTabRouter = _ref5.ConsentTabRouter;\n return createSuspenseComponent(\"consent\", /*#__PURE__*/React.createElement(ConsentTabRouter, null));\n });\n});\nvar BlockerRouter = /*#__PURE__*/lazy(function () {\n return import(\n /* webpackChunkName: \"chunk-config-tab-blocker\" */\n \"./config/blocker/router\").then(function (_ref6) {\n var BlockerRouter = _ref6.BlockerRouter;\n return createSuspenseComponent(\"blocker\", /*#__PURE__*/React.createElement(BlockerRouter, null));\n });\n});\nvar ImportExportCards = /*#__PURE__*/lazy(function () {\n return import(\n /* webpackChunkName: \"chunk-config-tab-import\" */\n \"./config/import/cards\").then(function (_ref7) {\n var ImportExportCards = _ref7.ImportExportCards;\n return createSuspenseComponent(\"import\", /*#__PURE__*/React.createElement(ImportExportCards, null));\n });\n});\nvar ConfigLicensing = /*#__PURE__*/lazy(function () {\n return import(\n /* webpackChunkName: \"chunk-config-tab-licensing\" */\n \"./config/licensing/licensing\").then(function (_ref8) {\n var ConfigLicensing = _ref8.ConfigLicensing;\n return createSuspenseComponent(\"licensing\", /*#__PURE__*/React.createElement(ConfigLicensing, null));\n });\n});\nvar ConfigApp = observer(function () {\n var _useScannerProgress = useScannerProgress(),\n scanPercent = _useScannerProgress.percent,\n scanRemaining = _useScannerProgress.remaining,\n currentJob = _useScannerProgress.currentJob;\n\n var _useStores = useStores(),\n optionStore = _useStores.optionStore,\n checklistStore = _useStores.checklistStore;\n\n var _optionStore$others = optionStore.others,\n showLicenseFormImmediate = _optionStore$others.showLicenseFormImmediate,\n _optionStore$others$c = _slicedToArray(_optionStore$others.colorScheme, 3),\n badgeColor = _optionStore$others$c[2]; // Initially fetch settings here so the form is shown\n\n\n useLayoutEffect(function () {\n optionStore.fetchSettings(); // Listen to the automatic scan starter and update the checklist\n\n var listener = function listener()\n /*_: CustomEvent<JobDoneEvent>*/\n {\n checklistStore.fetchChecklist();\n };\n\n var event = \"\".concat(JOB_DONE_EVENT_PREFIX).concat(AUTOMATIC_SCAN_STATER_QUEUE_JOB);\n document.addEventListener(event, listener);\n return function () {\n document.removeEventListener(event, listener);\n };\n }, []);\n return showLicenseFormImmediate ? /*#__PURE__*/React.createElement(Suspense, {\n fallback: /*#__PURE__*/React.createElement(_Spin, {\n spinning: true,\n style: CSS_SPINNER_IN_CONTENT\n })\n }, /*#__PURE__*/React.createElement(ConfigLicensing, null)) : /*#__PURE__*/React.createElement(Router, null, /*#__PURE__*/React.createElement(ConfigHeader, null), /*#__PURE__*/React.createElement(\"nav\", {\n className: \"nav-tab-wrapper wp-clearfix\"\n }, /*#__PURE__*/React.createElement(NavLink, {\n to: \"/\",\n className: \"nav-tab\",\n activeClassName: \"nav-tab-active\",\n exact: true\n }, __(\"Dashboard\")), /*#__PURE__*/React.createElement(NavLink, {\n to: \"/settings\",\n className: \"nav-tab\",\n activeClassName: \"nav-tab-active\"\n }, __(\"Settings\")), /*#__PURE__*/React.createElement(NavLink, {\n to: \"/scanner\",\n className: \"nav-tab\",\n activeClassName: \"nav-tab-active\"\n }, scanRemaining > 0 && scanPercent > 0 && (currentJob === null || currentJob === void 0 ? void 0 : currentJob.group_position) > 0 ? /*#__PURE__*/React.createElement(_Badge, {\n count: \"\".concat(scanPercent, \" %\"),\n style: {\n top: -11,\n fontSize: 10,\n height: 16,\n lineHeight: \"16px\",\n background: badgeColor\n }\n }, __(\"Scanner\")) : __(\"Scanner\")), /*#__PURE__*/React.createElement(NavLink, {\n to: \"/cookies\",\n className: \"nav-tab\",\n activeClassName: \"nav-tab-active\"\n }, __(\"Services (Cookies)\")), /*#__PURE__*/React.createElement(NavLink, {\n to: \"/blocker\",\n className: \"nav-tab\",\n activeClassName: \"nav-tab-active\"\n }, __(\"Content Blocker\")), /*#__PURE__*/React.createElement(NavLink, {\n to: \"/consent\",\n className: \"nav-tab\",\n activeClassName: \"nav-tab-active\"\n }, __(\"Consent\")), /*#__PURE__*/React.createElement(NavLink, {\n to: \"/import\",\n className: \"nav-tab\",\n activeClassName: \"nav-tab-active\"\n }, __(\"Import / Export\")), window.location.host !== \"try.devowl.io\" && /*#__PURE__*/React.createElement(NavLink, {\n to: \"/licensing\",\n className: \"nav-tab\",\n activeClassName: \"nav-tab-active\"\n }, __(\"Licensing\")), /*#__PURE__*/React.createElement(\"a\", {\n href: __(\"https://devowl.io/support/\"),\n className: \"nav-tab\",\n target: \"_blank\",\n rel: \"noreferrer\"\n }, __(\"Support\"))), /*#__PURE__*/React.createElement(NoticeRevisionNeedsRetrigger, null), /*#__PURE__*/React.createElement(NoticeBannerActiveNoCookies, null), /*#__PURE__*/React.createElement(NoticeAnonymousScriptNotWritable, null), /*#__PURE__*/React.createElement(NoticeNoManager, {\n manager: MANAGER_GTM_LABEL,\n managerId: \"googleTagManager\",\n hasManagerAttributeName: \"hasGTM\",\n presetId: \"gtm\"\n }), /*#__PURE__*/React.createElement(NoticeNoManager, {\n manager: MANAGER_MTM_LABEL,\n managerId: \"matomoTagManager\",\n hasManagerAttributeName: \"hasMTM\",\n presetId: \"mtm\"\n }), /*#__PURE__*/React.createElement(RouterScrollToTop, null), /*#__PURE__*/React.createElement(Suspense, {\n fallback: /*#__PURE__*/React.createElement(_Spin, {\n spinning: true,\n style: CSS_SPINNER_IN_CONTENT\n })\n }, /*#__PURE__*/React.createElement(Switch, null, /*#__PURE__*/React.createElement(Route, {\n path: \"/\",\n exact: true\n }, /*#__PURE__*/React.createElement(DashboardCards, null)), /*#__PURE__*/React.createElement(Route, {\n path: \"/settings/:tab?\"\n }, !optionStore.areSettingsFetched ? null : /*#__PURE__*/React.createElement(SettingsForm, null)), /*#__PURE__*/React.createElement(Route, {\n path: \"/scanner\"\n }, /*#__PURE__*/React.createElement(ScannerRouter, null)), /*#__PURE__*/React.createElement(Route, {\n path: \"/cookies/:cookieGroup?\"\n }, /*#__PURE__*/React.createElement(CookieGroupsTabRouter, null)), /*#__PURE__*/React.createElement(Route, {\n path: \"/consent/:tab?\"\n }, /*#__PURE__*/React.createElement(ConsentTabRouter, null)), /*#__PURE__*/React.createElement(Route, {\n path: \"/blocker\"\n }, /*#__PURE__*/React.createElement(BlockerRouter, null)), /*#__PURE__*/React.createElement(Route, {\n path: \"/import\"\n }, /*#__PURE__*/React.createElement(ImportExportCards, null)), /*#__PURE__*/React.createElement(Route, {\n path: \"/licensing\"\n }, /*#__PURE__*/React.createElement(ConfigLicensing, null)))), /*#__PURE__*/React.createElement(ConfigFooter, null));\n});\nexport { ConfigApp, createSuspenseComponent };","import _Alert from \"antd/es/alert\";\nimport _Tag from \"antd/es/tag\";\nimport _message from \"antd/es/message\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { observer } from \"mobx-react\";\nimport { useCallback, useState, useEffect } from \"react\";\nimport { useStores } from \"../store\";\nimport { _i, __, copyToClipboard } from \"../utils\";\nvar IN_APP_FOMO_URL_PARAMETER_TO_DEACTIVATE_WEBSITE_FOMO = \"promo=in-app\";\nvar InAppFomoCouponCounter = observer(function (_ref) {\n var style = _ref.style;\n\n var _useStores = useStores(),\n fomoCoupon = _useStores.optionStore.fomoCoupon;\n\n var coupon = fomoCoupon === null || fomoCoupon === void 0 ? void 0 : fomoCoupon.coupon;\n var valueInPercent = fomoCoupon === null || fomoCoupon === void 0 ? void 0 : fomoCoupon.valueInPercent;\n var validUntil = fomoCoupon === null || fomoCoupon === void 0 ? void 0 : fomoCoupon.validUntil;\n var createTimerString = useCallback(function () {\n if (validUntil) {\n var remaining = new Date(validUntil).getTime() - new Date().getTime(); // Already expired?\n\n if (remaining <= 0) {\n return undefined;\n }\n\n var fullSeconds = remaining / 1000;\n return [Math.floor(fullSeconds / 3600), Math.floor(fullSeconds / 60) % 60, Math.floor(fullSeconds % 60)].map(function (v) {\n return v < 10 ? \"0\".concat(v) : v;\n }).filter(function (v, i) {\n return v !== \"00\" || i > 0;\n }).join(\":\");\n } else {\n return undefined;\n }\n }, [validUntil]);\n\n var _useState = useState(),\n _useState2 = _slicedToArray(_useState, 2),\n setRerender = _useState2[1];\n\n useEffect(function () {\n var interval = setInterval(function () {\n setRerender(new Date().getTime());\n }, 1000);\n return function () {\n clearInterval(interval);\n };\n }, []);\n var timerString = createTimerString();\n return timerString ? /*#__PURE__*/React.createElement(_Alert, {\n style: style,\n message: _i(__(\"Use coupon {{tag}}%s{{/tag}} in the next {{strongHours}}%s hours{{/strongHours}} and save {{strongPercent}}%d %%{{/strongPercent}} in the first year!\", coupon, timerString, valueInPercent), {\n tag: /*#__PURE__*/React.createElement(_Tag, {\n color: \"success\",\n style: {\n marginRight: 0,\n cursor: \"pointer\"\n },\n onClick: function onClick() {\n copyToClipboard(coupon);\n\n _message.success(__(\"Successfully copied coupon to clipboard!\"));\n }\n }),\n strongHours: /*#__PURE__*/React.createElement(\"strong\", {\n style: {\n color: \"#d33131\"\n }\n }),\n strongPercent: /*#__PURE__*/React.createElement(\"strong\", null)\n })\n }) : null;\n});\nexport { IN_APP_FOMO_URL_PARAMETER_TO_DEACTIVATE_WEBSITE_FOMO, InAppFomoCouponCounter };","import _Tag from \"antd/es/tag\";\nimport _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport { QuestionCircleFilled } from \"@ant-design/icons\";\nimport { __ } from \"../utils\";\n\nvar LearnMoreTag = function LearnMoreTag(_ref) {\n var url = _ref.url,\n _ref$style = _ref.style,\n style = _ref$style === void 0 ? undefined : _ref$style,\n _ref$label = _ref.label,\n label = _ref$label === void 0 ? __(\"Learn more\") : _ref$label;\n\n var useStyle = _objectSpread({\n cursor: \"pointer\"\n }, style);\n\n return /*#__PURE__*/React.createElement(_Tag, {\n style: useStyle,\n onClick: function onClick() {\n return window.open(url, \"_blank\");\n }\n }, /*#__PURE__*/React.createElement(QuestionCircleFilled, null), \" \", label);\n};\n\nexport { LearnMoreTag };","import _Select from \"antd/es/select\";\nimport _Spin from \"antd/es/spin\";\nimport _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { useState, useEffect, useCallback } from \"react\";\nimport { __, request as utilsRequest, getOtherOptionsFromWindow } from \"../utils\";\nimport { useDebounce } from \"../hooks\";\nimport { RouteHttpVerb } from \"@devowl-wp/utils\";\nimport { htmlDecode } from \"@devowl-wp/headless-content-unblocker\";\n\nvar PostTypeSelect = function PostTypeSelect(_ref) {\n var postType = _ref.postType,\n _ref$postStatus = _ref.postStatus,\n postStatus = _ref$postStatus === void 0 ? [\"draft\", \"publish\", \"private\"] : _ref$postStatus,\n _ref$perPage = _ref.perPage,\n perPage = _ref$perPage === void 0 ? 10 : _ref$perPage,\n value = _ref.value,\n multiple = _ref.multiple,\n disabled = _ref.disabled,\n forceDefaultLanguage = _ref.forceDefaultLanguage,\n _onChange = _ref.onChange,\n _ref$titleRender = _ref.titleRender,\n titleRender = _ref$titleRender === void 0 ? function (_ref2) {\n var rendered = _ref2.title.rendered;\n return rendered;\n } : _ref$titleRender,\n _ref$filter = _ref.filter,\n filter = _ref$filter === void 0 ? function () {\n return true;\n } : _ref$filter;\n\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n term = _useState2[0],\n setTerm = _useState2[1];\n\n var _useState3 = useState(value),\n _useState4 = _slicedToArray(_useState3, 2),\n postId = _useState4[0],\n setPostId = _useState4[1];\n\n var _useState5 = useState(false),\n _useState6 = _slicedToArray(_useState5, 2),\n fetching = _useState6[0],\n setFetching = _useState6[1];\n\n var _useState7 = useState([]),\n _useState8 = _slicedToArray(_useState7, 2),\n data = _useState8[0],\n setData = _useState8[1];\n\n var fetch = useCallback( /*#__PURE__*/function () {\n var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(request) {\n var _getOtherOptionsFromW, defaultLanguage, currentLanguage, pages;\n\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n setFetching(true);\n _getOtherOptionsFromW = getOtherOptionsFromWindow(), defaultLanguage = _getOtherOptionsFromW.defaultLanguage, currentLanguage = _getOtherOptionsFromW.currentLanguage;\n _context.next = 4;\n return utilsRequest({\n location: {\n path: \"/\".concat(postType),\n method: RouteHttpVerb.GET,\n namespace: \"wp/v2\"\n },\n request: _objectSpread({\n status: request.include ? [\"draft\", \"publish\", \"private\"] : postStatus,\n orderby: request.search ? \"relevance\" : \"title\"\n }, request),\n params: {\n _dataLocale: forceDefaultLanguage ? defaultLanguage : currentLanguage\n }\n });\n\n case 4:\n pages = _context.sent;\n setData(pages);\n setFetching(false);\n\n case 7:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n\n return function (_x) {\n return _ref3.apply(this, arguments);\n };\n }(), []);\n useDebounce(term, term === \"\" ? 0 : 800, function (debouncedValue) {\n if (debouncedValue !== false) {\n fetch({\n search: debouncedValue,\n per_page: debouncedValue.length ? 50 : perPage\n });\n }\n }, function (changedValue) {\n if (changedValue !== false) {\n setFetching(true);\n }\n\n setData([]);\n });\n useEffect(function () {\n if (postId > 0 || Array.isArray(postId) && postId.length > 0) {\n fetch({\n include: Array.isArray(postId) ? postId : [postId]\n });\n }\n }, []); // Listen to changes from outside and refetch the data\n\n useEffect(function () {\n if (JSON.stringify(postId) !== JSON.stringify(value) && (value > 0 || Array.isArray(value) && value.length > 0)) {\n setPostId(value);\n fetch({\n include: Array.isArray(value) ? value : [value]\n });\n }\n }, [value, postId]);\n return /*#__PURE__*/React.createElement(_Select, {\n mode: multiple ? \"multiple\" : undefined,\n disabled: disabled,\n showSearch: true,\n value: postId,\n placeholder: __(\"Search...\"),\n notFoundContent: fetching ? /*#__PURE__*/React.createElement(_Spin, {\n size: \"small\"\n }) : null,\n onClick: function onClick() {\n return setTerm(\"\");\n },\n onSearch: setTerm,\n onChange: function onChange(e) {\n var value = Array.isArray(e) ? e.map(Number) : +e;\n setPostId(value);\n _onChange === null || _onChange === void 0 ? void 0 : _onChange(value);\n },\n filterOption: false,\n loading: fetching\n }, !multiple && !fetching && /*#__PURE__*/React.createElement(_Select.Option, {\n value: 0\n }, __(\"— Select —\")), data.map(function (d) {\n return /*#__PURE__*/React.createElement(_Select.Option, {\n key: d.id,\n value: d.id,\n style: {\n display: filter(d) ? undefined : \"none\"\n }\n }, htmlDecode(titleRender(d)));\n }));\n};\n\nexport { PostTypeSelect };","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 };","import _Modal from \"antd/es/modal\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { useState } from \"react\";\nimport { useEffect } from \"react\";\nimport { useCallback } from \"react\";\nimport { UnlockFilled } from \"@ant-design/icons\";\nimport { __, getOtherOptionsFromWindow, _i } from \"../utils\";\nimport { ProModalHint, InAppFomoCouponCounter, IN_APP_FOMO_URL_PARAMETER_TO_DEACTIVATE_WEBSITE_FOMO } from \".\";\nimport { reactNl2Br } from \"@devowl-wp/react-cookie-banner\";\n\nvar ProModal = function ProModal(_ref) {\n var _ref$visible = _ref.visible,\n visible = _ref$visible === void 0 ? false : _ref$visible,\n _ref$showHints = _ref.showHints,\n showHints = _ref$showHints === void 0 ? true : _ref$showHints,\n _ref$showFomoCouponCo = _ref.showFomoCouponCounter,\n showFomoCouponCounter = _ref$showFomoCouponCo === void 0 ? true : _ref$showFomoCouponCo,\n title = _ref.title,\n _ref$testDrive = _ref.testDrive,\n testDrive = _ref$testDrive === void 0 ? false : _ref$testDrive,\n assetName = _ref.assetName,\n description = _ref.description,\n feature = _ref.feature,\n onClose = _ref.onClose,\n inContainer = _ref.inContainer,\n inContainerElement = _ref.inContainerElement;\n\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n proUrl = _getOtherOptionsFromW.proUrl,\n hints = _getOtherOptionsFromW.hints;\n\n var _useState = useState(),\n _useState2 = _slicedToArray(_useState, 2),\n descriptionRef = _useState2[0],\n setDescriptionRef = _useState2[1];\n\n var handleRedirect = useCallback(function () {\n window.open(\"\".concat(proUrl, \"&feature=\").concat(feature, \"&\").concat(IN_APP_FOMO_URL_PARAMETER_TO_DEACTIVATE_WEBSITE_FOMO), \"_blank\").focus();\n onClose === null || onClose === void 0 ? void 0 : onClose();\n }, [onClose]); // Do not automatically scroll / focus the container if `inContainer` is set\n\n useEffect(function () {\n if (inContainer && descriptionRef) {\n (descriptionRef === null || descriptionRef === void 0 ? void 0 : descriptionRef.parentElement.parentElement.previousElementSibling).removeAttribute(\"tabIndex\");\n }\n }, [descriptionRef]);\n var hint = hints === null || hints === void 0 ? void 0 : hints.proDialog; // Do not output the model until the container is ready\n\n if (inContainer && !inContainerElement) {\n return null;\n }\n\n return /*#__PURE__*/React.createElement(_Modal, {\n visible: inContainer ? true : visible,\n title: /*#__PURE__*/React.createElement(\"span\", null, /*#__PURE__*/React.createElement(UnlockFilled, null), \"\\xA0\", title, \"\\xA0\", __(\"Get PRO!\")),\n onOk: handleRedirect,\n onCancel: onClose,\n cancelText: __(\"No, not interested...\"),\n okText: __(\"I want to learn more!\"),\n className: \"rcb-pro-modal\",\n width: assetName ? 800 : 700,\n getContainer: inContainer ? inContainerElement : undefined\n }, !!assetName && /*#__PURE__*/React.createElement(\"img\", {\n style: {\n marginTop: 10\n },\n src: \"https://assets.devowl.io/in-app/wp-real-cookie-banner/\".concat(assetName)\n }), /*#__PURE__*/React.createElement(\"div\", {\n style: {\n maxWidth: 600,\n margin: \"auto\"\n },\n ref: setDescriptionRef\n }, /*#__PURE__*/React.createElement(\"p\", null, reactNl2Br(description)), testDrive && /*#__PURE__*/React.createElement(\"p\", null, _i(__(\"Check out this feature with a {{a}}free sandbox{{/a}} before buying!\"), {\n a: /*#__PURE__*/React.createElement(\"a\", {\n href: \"https://try.devowl.io/?product=RCB\",\n target: \"_blank\",\n rel: \"noreferrer\"\n })\n }))), !!hint && showHints && /*#__PURE__*/React.createElement(\"div\", {\n style: {\n maxWidth: 600,\n margin: \"auto\",\n textAlign: \"left\"\n }\n }, /*#__PURE__*/React.createElement(ProModalHint, hint)), showFomoCouponCounter && /*#__PURE__*/React.createElement(InAppFomoCouponCounter, {\n style: {\n marginBottom: 15\n }\n }));\n};\n\nexport { ProModal };","import _Row from \"antd/es/row\";\nimport _Col from \"antd/es/col\";\nimport _Divider from \"antd/es/divider\";\n\nvar ProModalHint = function ProModalHint(_ref) {\n var title = _ref.title,\n description = _ref.description,\n link = _ref.link,\n linkText = _ref.linkText,\n logo = _ref.logo;\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_Divider, null, title), /*#__PURE__*/React.createElement(_Row, {\n wrap: false,\n style: {\n marginBottom: 10\n }\n }, /*#__PURE__*/React.createElement(_Col, {\n flex: \"auto\"\n }, !!description && /*#__PURE__*/React.createElement(\"p\", {\n style: {\n margin: 0\n }\n }, /*#__PURE__*/React.createElement(\"span\", {\n dangerouslySetInnerHTML: {\n __html: description\n }\n }), \"\\xA0\", !!link && !!linkText && /*#__PURE__*/React.createElement(\"a\", {\n href: link,\n target: \"_blank\",\n rel: \"noreferrer\",\n className: \"button-link\"\n }, linkText))), /*#__PURE__*/React.createElement(_Col, {\n flex: \"150px\",\n style: {\n alignSelf: \"center\"\n }\n }, !!logo && /*#__PURE__*/React.createElement(\"img\", {\n src: logo,\n style: {\n maxWidth: \"calc(100% - 20px)\",\n height: \"auto\",\n marginLeft: 20\n }\n }))));\n};\n\nexport { ProModalHint };","import _objectWithoutProperties from \"@babel/runtime/helpers/objectWithoutProperties\";\nimport { useProModal } from \"../hooks\";\n\nvar ProTag = function ProTag(_ref) {\n var children = _ref.children,\n _ref$wrapperAttribute = _ref.wrapperAttributes,\n wrapperAttributes = _ref$wrapperAttribute === void 0 ? {} : _ref$wrapperAttribute,\n feature = _objectWithoutProperties(_ref, [\"children\", \"wrapperAttributes\"]);\n\n var _useProModal = useProModal(feature),\n modal = _useProModal.modal,\n tag = _useProModal.tag;\n\n return /*#__PURE__*/React.createElement(React.Fragment, null, modal, /*#__PURE__*/React.createElement(\"span\", wrapperAttributes, tag));\n};\n\nexport { ProTag };","import _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { useState, useEffect } from \"react\";\n\nfunction useDebounce(value, delay, callback, changed) {\n var _useState = useState(value),\n _useState2 = _slicedToArray(_useState, 2),\n debounce = _useState2[0],\n setDebounce = _useState2[1];\n\n useEffect(function () {\n var handler = setTimeout(function () {\n setDebounce(value);\n }, delay);\n changed === null || changed === void 0 ? void 0 : changed(value);\n return function () {\n clearTimeout(handler);\n };\n }, [value]);\n useEffect(function () {\n callback(debounce);\n }, [debounce]);\n return debounce;\n}\n\nexport { useDebounce };","import _extends from \"@babel/runtime/helpers/extends\";\nimport _Tag from \"antd/es/tag\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { UnlockOutlined } from \"@ant-design/icons\";\nimport { __ } from \"../utils\";\nimport { useStores } from \"../store\";\nimport { useCallback, useMemo, useState } from \"react\";\nimport { ProModal } from \"../components\";\nvar PRO_TAG_BACKGROUND_COLOR = \"#2db7f5\";\n/**\n * Provide a PRO modal when clicking a given button.\n *\n * @param overrideIsPro Allows to override the `isPro` attribute coming from the option store (e. g. for demo environment purposes, try.devowl.io)\n */\n\nfunction useProModal(feature, overrideIsPro) {\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n visible = _useState2[0],\n setVisible = _useState2[1];\n\n var _useStores = useStores(),\n isPro = _useStores.optionStore.others.isPro;\n\n var useIsPro = typeof overrideIsPro === \"boolean\" ? overrideIsPro : isPro;\n var open = useCallback(function (e) {\n setVisible(true);\n e === null || e === void 0 ? void 0 : e.preventDefault();\n }, [setVisible]);\n var tag = useMemo(function () {\n return useIsPro ? null : /*#__PURE__*/React.createElement(_Tag, {\n icon: /*#__PURE__*/React.createElement(UnlockOutlined, null),\n color: PRO_TAG_BACKGROUND_COLOR,\n style: {\n cursor: \"pointer\"\n },\n onClick: open\n }, feature.tagText || __(\"Unlock feature\"));\n }, [open, feature]);\n var modal = useMemo(function () {\n return useIsPro ? null : /*#__PURE__*/React.createElement(ProModal, _extends({\n visible: visible,\n onClose: function onClose() {\n return setVisible(false);\n }\n }, feature));\n }, [visible, setVisible, feature]);\n return {\n isPro: useIsPro,\n tag: tag,\n modal: modal,\n open: open\n };\n}\n\nexport { useProModal, PRO_TAG_BACKGROUND_COLOR };","import { useProgress } from \"@devowl-wp/real-queue\";\nimport { useCallback } from \"react\";\nimport { useStores } from \"../store\";\nimport { SCAN_QUEUE_JOB } from \"../types\";\n\n/**\n * Returns the status / progress of the scanner.\n */\nfunction useScannerProgress(fetchStatusInterval) {\n var fetchAdditionalData = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n var onCancel = arguments.length > 2 ? arguments[2] : undefined;\n\n var _useStores = useStores(),\n scannerStore = _useStores.scannerStore;\n\n return useProgress({\n type: SCAN_QUEUE_JOB,\n fetchStatusInterval: fetchStatusInterval,\n fetchAdditionalData: fetchAdditionalData,\n onAdditionalData: useCallback(function (_ref) {\n var rcbScanList = _ref[\"rcb-scan-list\"];\n var presets = rcbScanList.presets,\n externalUrls = rcbScanList.externalUrls;\n scannerStore.resultPresetsFromResponse(presets);\n scannerStore.resultExternalUrlsFromResponse(externalUrls);\n }, [scannerStore]),\n onCancel: onCancel\n });\n}\n\nexport { useScannerProgress };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6;\n\nimport { observable, set, runInAction } from \"mobx\";\nimport { getSidebarCustomize } from \"@devowl-wp/customize\";\nvar BannerPreset = (_class = /*#__PURE__*/function () {\n /**\n * When hover the preview card we need to save the available settings.\n */\n function BannerPreset(preset, store) {\n var _this = this;\n\n _classCallCheck(this, BannerPreset);\n\n _initializerDefineProperty(this, \"id\", _descriptor, this);\n\n _initializerDefineProperty(this, \"name\", _descriptor2, this);\n\n _initializerDefineProperty(this, \"needsPro\", _descriptor3, this);\n\n _initializerDefineProperty(this, \"description\", _descriptor4, this);\n\n _initializerDefineProperty(this, \"tags\", _descriptor5, this);\n\n _initializerDefineProperty(this, \"settings\", _descriptor6, this);\n\n this.store = void 0;\n this.resetPreviewInUiSettings = void 0;\n runInAction(function () {\n return set(_this, preset);\n });\n this.store = store;\n }\n\n _createClass(BannerPreset, [{\n key: \"applyInUi\",\n value: function applyInUi() {\n var _this2 = this;\n\n // Check if pro\n if (!this.store.rootStore.optionStore.others.isPro && this.needsPro) {\n return false;\n } // First, save all in our store so the paint is done correctly\n\n\n this.previewInUi(); // Afterwards, save in customize state\n\n setTimeout(function () {\n var customize = getSidebarCustomize();\n\n _this2.store.presetDefaults.forEach(function (defaultValue, key) {\n var setting = customize(key); // Apply it\n\n setting.set(_this2.settings[key] === undefined ? defaultValue : _this2.settings[key]);\n });\n }, 100);\n return true;\n }\n }, {\n key: \"previewInUi\",\n value: function previewInUi() {\n var customize = getSidebarCustomize();\n var presetDefaults = this.store.presetDefaults;\n var _ref = this.store.rootStore.optionStore.others.customizeIdsBanner,\n settings = _ref.settings;\n var batchUpdates = []; // Make it restorable\n\n this.resetPreviewInUiSettings = {};\n\n for (var _i = 0, _Object$keys = Object.keys(settings); _i < _Object$keys.length; _i++) {\n var section = _Object$keys[_i];\n var sectionSettings = settings[section];\n\n for (var _i2 = 0, _Object$keys2 = Object.keys(sectionSettings); _i2 < _Object$keys2.length; _i2++) {\n var _setting = _Object$keys2[_i2];\n var customizeKey = sectionSettings[_setting];\n\n if (!presetDefaults.has(customizeKey)) {\n continue;\n }\n\n this.resetPreviewInUiSettings[customizeKey] = [section, _setting, customize(customizeKey).get()];\n var newValue = Object.prototype.hasOwnProperty.call(this.settings, customizeKey) ? this.settings[customizeKey] : presetDefaults.get(customizeKey);\n batchUpdates.push([section, _setting, newValue]);\n }\n }\n\n BannerPreset.getIframeStore().customizeBannerStore.setBannerFromPreset(batchUpdates);\n }\n }, {\n key: \"resetPreviewInUi\",\n value: function resetPreviewInUi() {\n if (this.resetPreviewInUiSettings) {\n BannerPreset.getIframeStore().customizeBannerStore.setBannerFromPreset(Object.values(this.resetPreviewInUiSettings));\n this.resetPreviewInUiSettings = {};\n }\n }\n }], [{\n key: \"getIframeStore\",\n value: function getIframeStore() {\n try {\n return document.querySelector(\"#customize-preview > iframe\").contentWindow.realCookieBanner_customize_banner.RootStore.get;\n } catch (e) {\n // Element does not yet exist\n return undefined;\n }\n }\n }]);\n\n return BannerPreset;\n}(), (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"id\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"name\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"needsPro\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"description\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"tags\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"settings\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n})), _class);\nexport { BannerPreset };","import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/createSuper\";\n\nvar _dec, _class;\n\nimport { ClientCollection, RouteHttpVerb, AbstractPostCollection } from \"@devowl-wp/utils\";\nimport { request } from \"../utils\";\nimport { BlockerModel } from \".\";\nvar BlockerCollection = (_dec = ClientCollection.annotate({\n path: \"/rcb-blocker\",\n singlePath: \"/rcb-blocker/:id\",\n namespace: \"wp/v2\",\n methods: [RouteHttpVerb.GET],\n request: request\n}), _dec(_class = /*#__PURE__*/function (_AbstractPostCollecti) {\n _inherits(BlockerCollection, _AbstractPostCollecti);\n\n var _super = _createSuper(BlockerCollection);\n\n function BlockerCollection(store) {\n var _this;\n\n _classCallCheck(this, BlockerCollection);\n\n _this = _super.call(this);\n _this.store = void 0;\n _this.store = store;\n return _this;\n }\n\n _createClass(BlockerCollection, [{\n key: \"instance\",\n value: function instance(response) {\n return new BlockerModel(this).fromResponse(response);\n }\n }]);\n\n return BlockerCollection;\n}(AbstractPostCollection)) || _class);\nexport { BlockerCollection };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/assertThisInitialized\";\nimport _get from \"@babel/runtime/helpers/get\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/createSuper\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _dec, _class, _class2, _descriptor;\n\nimport { ClientModel, AbstractPost } from \"@devowl-wp/utils\";\nimport { request } from \"../utils\";\nimport { BlockerPreset } from \".\";\nimport { action, computed, observable, reaction, runInAction } from \"mobx\";\nimport { RootStore } from \"../store\";\nvar BlockerModel = (_dec = ClientModel.annotate({\n keyId: \"id\",\n namespace: \"wp/v2\",\n request: request,\n create: {\n path: \"/rcb-blocker\"\n },\n patch: {\n path: \"/rcb-blocker/:id\"\n },\n delete: {\n path: \"/rcb-blocker/:id\"\n }\n}), _dec(_class = (_class2 = /*#__PURE__*/function (_AbstractPost) {\n _inherits(BlockerModel, _AbstractPost);\n\n var _super = _createSuper(BlockerModel);\n\n function BlockerModel(collection) {\n var _this;\n\n var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n _classCallCheck(this, BlockerModel);\n\n _this = _super.call(this, collection, data);\n\n _initializerDefineProperty(_this, \"presetModel\", _descriptor, _assertThisInitialized(_this));\n\n reaction(function () {\n var _this$data;\n\n return (_this$data = _this.data) === null || _this$data === void 0 ? void 0 : _this$data.preset;\n }, function (preset) {\n return runInAction(function () {\n _this.presetModel = preset ? new BlockerPreset(preset, RootStore.get.cookieStore) : undefined;\n });\n }, {\n fireImmediately: true\n });\n return _this;\n }\n\n _createClass(BlockerModel, [{\n key: \"hosts\",\n get: function get() {\n var _this$data2;\n\n return (_this$data2 = this.data) === null || _this$data2 === void 0 ? void 0 : _this$data2.meta.hosts.split(\"\\n\");\n }\n }, {\n key: \"tcfVendors\",\n get: function get() {\n var _this$data3;\n\n // In lite version this can be `null`\n if (!((_this$data3 = this.data) !== null && _this$data3 !== void 0 && _this$data3.meta.tcfVendors)) {\n return [];\n }\n\n return this.data.meta.tcfVendors.split(\",\").filter(Boolean).map(Number);\n }\n }, {\n key: \"cookies\",\n get: function get() {\n var _this$data4;\n\n return (_this$data4 = this.data) === null || _this$data4 === void 0 ? void 0 : _this$data4.meta.cookies.split(\",\").filter(Boolean).map(Number);\n }\n }, {\n key: \"setName\",\n value: function setName(name) {\n this.data.title.rendered = name;\n }\n }, {\n key: \"setStatus\",\n value: function setStatus(status) {\n this.data.status = status;\n }\n }, {\n key: \"setDescription\",\n value: function setDescription(purpose) {\n this.data.content.rendered = purpose;\n }\n }, {\n key: \"setMeta\",\n value: function setMeta(meta) {\n this.data.meta = meta;\n }\n }, {\n key: \"transformDataForPatch\",\n value: function transformDataForPatch() {\n var data = _get(_getPrototypeOf(BlockerModel.prototype), \"transformDataForPatch\", this).call(this);\n\n return {\n title: data.title,\n content: data.content,\n status: data.status,\n meta: data.meta,\n slug: data.title\n };\n }\n }, {\n key: \"afterPatch\",\n value: function afterPatch() {\n this.collection.store.blockers.store.rootStore.optionStore.fetchCurrentRevision();\n }\n }, {\n key: \"afterDelete\",\n value: function afterDelete() {\n this.collection.store.blockers.store.rootStore.optionStore.fetchCurrentRevision();\n }\n }, {\n key: \"afterPersist\",\n value: function afterPersist() {\n this.collection.store.blockers.store.rootStore.optionStore.fetchCurrentRevision();\n }\n }]);\n\n return BlockerModel;\n}(AbstractPost), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, \"presetModel\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class2.prototype, \"hosts\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"hosts\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"tcfVendors\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"tcfVendors\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"cookies\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"cookies\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setName\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setName\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setStatus\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setStatus\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setDescription\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setDescription\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setMeta\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setMeta\"), _class2.prototype)), _class2)) || _class);\nexport { BlockerModel };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2, _descriptor3;\n\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { observable, runInAction, computed, flow } from \"mobx\";\nimport { locationRestPresetsBlockerAttributesGet } from \"../wp-api\";\nimport { request } from \"../utils\";\nvar BlockerPreset = (_class = /*#__PURE__*/function () {\n function BlockerPreset(preset, store) {\n var _this = this;\n\n _classCallCheck(this, BlockerPreset);\n\n _initializerDefineProperty(this, \"busy\", _descriptor, this);\n\n _initializerDefineProperty(this, \"data\", _descriptor2, this);\n\n _initializerDefineProperty(this, \"attributes\", _descriptor3, this);\n\n this.store = void 0;\n this.fetchAttributes = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {\n var response;\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n _context.prev = 0;\n this.busy = true;\n _context.next = 4;\n return request({\n location: locationRestPresetsBlockerAttributesGet,\n params: {\n identifier: this.data.identifier\n }\n });\n\n case 4:\n response = _context.sent;\n this.attributes = response;\n _context.next = 12;\n break;\n\n case 8:\n _context.prev = 8;\n _context.t0 = _context[\"catch\"](0);\n console.log(_context.t0);\n throw _context.t0;\n\n case 12:\n _context.prev = 12;\n this.busy = false;\n return _context.finish(12);\n\n case 15:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, this, [[0, 8, 12, 15]]);\n }));\n runInAction(function () {\n _this.data = preset;\n });\n this.store = store;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n _createClass(BlockerPreset, [{\n key: \"fullLogoUrl\",\n get: function get() {\n var logoFile = this.data.logoFile;\n var publicUrl = this.store.rootStore.optionStore.publicUrl;\n return logoFile.startsWith(\"http\") ? logoFile : \"\".concat(publicUrl, \"images/logos/\").concat(logoFile);\n }\n }]);\n\n return BlockerPreset;\n}(), (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"busy\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"data\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"attributes\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class.prototype, \"fullLogoUrl\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"fullLogoUrl\"), _class.prototype)), _class);\nexport { BlockerPreset };","import _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29;\n\nimport { observable, set, runInAction, computed } from \"mobx\";\nvar Consent = (_class = /*#__PURE__*/function () {\n function Consent(consent, store) {\n var _this = this;\n\n _classCallCheck(this, Consent);\n\n _initializerDefineProperty(this, \"id\", _descriptor, this);\n\n _initializerDefineProperty(this, \"plugin_version\", _descriptor2, this);\n\n _initializerDefineProperty(this, \"design_version\", _descriptor3, this);\n\n _initializerDefineProperty(this, \"ipv4\", _descriptor4, this);\n\n _initializerDefineProperty(this, \"ipv6\", _descriptor5, this);\n\n _initializerDefineProperty(this, \"ipv4_hash\", _descriptor6, this);\n\n _initializerDefineProperty(this, \"ipv6_hash\", _descriptor7, this);\n\n _initializerDefineProperty(this, \"uuid\", _descriptor8, this);\n\n _initializerDefineProperty(this, \"previous_decision\", _descriptor9, this);\n\n _initializerDefineProperty(this, \"decision\", _descriptor10, this);\n\n _initializerDefineProperty(this, \"decision_labels\", _descriptor11, this);\n\n _initializerDefineProperty(this, \"created\", _descriptor12, this);\n\n _initializerDefineProperty(this, \"blocker\", _descriptor13, this);\n\n _initializerDefineProperty(this, \"blocker_thumbnail\", _descriptor14, this);\n\n _initializerDefineProperty(this, \"dnt\", _descriptor15, this);\n\n _initializerDefineProperty(this, \"custom_bypass\", _descriptor16, this);\n\n _initializerDefineProperty(this, \"user_country\", _descriptor17, this);\n\n _initializerDefineProperty(this, \"revision_hash\", _descriptor18, this);\n\n _initializerDefineProperty(this, \"revision_independent_hash\", _descriptor19, this);\n\n _initializerDefineProperty(this, \"button_clicked\", _descriptor20, this);\n\n _initializerDefineProperty(this, \"context\", _descriptor21, this);\n\n _initializerDefineProperty(this, \"viewport_width\", _descriptor22, this);\n\n _initializerDefineProperty(this, \"viewport_height\", _descriptor23, this);\n\n _initializerDefineProperty(this, \"viewed_page\", _descriptor24, this);\n\n _initializerDefineProperty(this, \"url_imprint\", _descriptor25, this);\n\n _initializerDefineProperty(this, \"url_privacy_policy\", _descriptor26, this);\n\n _initializerDefineProperty(this, \"forwarded\", _descriptor27, this);\n\n _initializerDefineProperty(this, \"forwarded_blocker\", _descriptor28, this);\n\n _initializerDefineProperty(this, \"tcf_string\", _descriptor29, this);\n\n this.store = void 0;\n this.plain = void 0;\n runInAction(function () {\n return set(_this, consent);\n });\n this.store = store;\n this.plain = consent;\n }\n\n _createClass(Consent, [{\n key: \"revision\",\n get: function get() {\n return this.store.revisions.get(this.revision_hash);\n }\n }, {\n key: \"revision_independent\",\n get: function get() {\n return this.store.revisionsIndependent.get(this.revision_independent_hash);\n }\n }, {\n key: \"custom_bypass_readable\",\n get: function get() {\n var custom_bypass = this.custom_bypass;\n return custom_bypass ? custom_bypass.charAt(0).toUpperCase() + custom_bypass.slice(1) : \"\";\n }\n }, {\n key: \"export\",\n get:\n /**\n * Prepare the entry for JSON export.\n */\n function get() {\n return JSON.parse(JSON.stringify(_objectSpread(_objectSpread({}, this.plain), {}, {\n revision: this.revision.data,\n revision_independent: this.revision_independent.data\n })));\n }\n }, {\n key: \"fetchRevisions\",\n value: function fetchRevisions() {\n return Promise.all([this.store.fetchRevision({\n hash: this.revision_hash\n }), this.store.fetchRevisionIndependent({\n hash: this.revision_independent_hash\n })]);\n }\n }]);\n\n return Consent;\n}(), (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"id\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"plugin_version\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"design_version\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"ipv4\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"ipv6\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"ipv4_hash\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"ipv6_hash\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"uuid\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"previous_decision\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"decision\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"decision_labels\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"created\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"blocker\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, \"blocker_thumbnail\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor15 = _applyDecoratedDescriptor(_class.prototype, \"dnt\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor16 = _applyDecoratedDescriptor(_class.prototype, \"custom_bypass\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor17 = _applyDecoratedDescriptor(_class.prototype, \"user_country\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor18 = _applyDecoratedDescriptor(_class.prototype, \"revision_hash\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor19 = _applyDecoratedDescriptor(_class.prototype, \"revision_independent_hash\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor20 = _applyDecoratedDescriptor(_class.prototype, \"button_clicked\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor21 = _applyDecoratedDescriptor(_class.prototype, \"context\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor22 = _applyDecoratedDescriptor(_class.prototype, \"viewport_width\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor23 = _applyDecoratedDescriptor(_class.prototype, \"viewport_height\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor24 = _applyDecoratedDescriptor(_class.prototype, \"viewed_page\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor25 = _applyDecoratedDescriptor(_class.prototype, \"url_imprint\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor26 = _applyDecoratedDescriptor(_class.prototype, \"url_privacy_policy\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor27 = _applyDecoratedDescriptor(_class.prototype, \"forwarded\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor28 = _applyDecoratedDescriptor(_class.prototype, \"forwarded_blocker\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor29 = _applyDecoratedDescriptor(_class.prototype, \"tcf_string\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class.prototype, \"revision\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"revision\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"revision_independent\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"revision_independent\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"custom_bypass_readable\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"custom_bypass_readable\"), _class.prototype)), _class);\nexport { Consent };","import _createForOfIteratorHelper from \"@babel/runtime/helpers/createForOfIteratorHelper\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/createSuper\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\n\nvar _dec, _class, _class2;\n\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { ClientCollection, RouteHttpVerb, AbstractPostCollection } from \"@devowl-wp/utils\";\nimport { request } from \"../utils\";\nimport { CookieModel } from \".\";\nimport { computed, flow } from \"mobx\";\nimport { locationRestCookiesOrderPut } from \"../wp-api\";\nvar CookieCollection = (_dec = ClientCollection.annotate({\n path: \"/rcb-cookie\",\n singlePath: \"/rcb-cookie/:id\",\n namespace: \"wp/v2\",\n methods: [RouteHttpVerb.GET],\n request: request\n}), _dec(_class = (_class2 = /*#__PURE__*/function (_AbstractPostCollecti) {\n _inherits(CookieCollection, _AbstractPostCollecti);\n\n var _super = _createSuper(CookieCollection);\n\n function CookieCollection(store) {\n var _this;\n\n _classCallCheck(this, CookieCollection);\n\n _this = _super.call(this);\n _this.store = void 0;\n _this.orderCookies = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(ids) {\n var i, _iterator, _step, id, cookie;\n\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n this.busy = true;\n _context.prev = 1;\n _context.next = 4;\n return request({\n location: locationRestCookiesOrderPut,\n request: {\n ids: ids\n }\n });\n\n case 4:\n // Apply the order to existing cached models instead of fetching again\n i = 0;\n _iterator = _createForOfIteratorHelper(ids);\n\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n id = _step.value;\n cookie = this.entries.get(id);\n cookie.setOrder(i);\n i++;\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n\n _context.next = 13;\n break;\n\n case 9:\n _context.prev = 9;\n _context.t0 = _context[\"catch\"](1);\n console.log(_context.t0);\n throw _context.t0;\n\n case 13:\n _context.prev = 13;\n this.busy = false;\n return _context.finish(13);\n\n case 16:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, this, [[1, 9, 13, 16]]);\n }));\n _this.store = store;\n return _this;\n }\n\n _createClass(CookieCollection, [{\n key: \"sortedCookies\",\n get: function get() {\n var result = Array.from(this.entries.values());\n result.sort(function (a, b) {\n if (a.data.menu_order < b.data.menu_order) {\n return -1;\n } else if (a.data.menu_order > b.data.menu_order) {\n return 1;\n } else {\n // a.menu_order === b.menu_order\n if (a.key < b.key) {\n return 1;\n } else if (a.key > b.key) {\n return -1;\n } else {\n return 0;\n }\n }\n });\n return result;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n }, {\n key: \"instance\",\n value: function instance(response) {\n return new CookieModel(this).fromResponse(response);\n }\n }]);\n\n return CookieCollection;\n}(AbstractPostCollection), (_applyDecoratedDescriptor(_class2.prototype, \"sortedCookies\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"sortedCookies\"), _class2.prototype)), _class2)) || _class);\nexport { CookieCollection };","import _createForOfIteratorHelper from \"@babel/runtime/helpers/createForOfIteratorHelper\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/createSuper\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\n\nvar _dec, _class, _class2;\n\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { ClientCollection, RouteHttpVerb, AbstractCategoryCollection } from \"@devowl-wp/utils\";\nimport { request } from \"../utils\";\nimport { CookieGroupModel } from \".\";\nimport { computed, flow } from \"mobx\";\nimport { locationRestCookieGroupOrderPut } from \"../wp-api\";\nvar CookieGroupCollection = (_dec = ClientCollection.annotate({\n path: \"/rcb-cookie-group\",\n singlePath: \"/rcb-cookie-group/:id\",\n namespace: \"wp/v2\",\n methods: [RouteHttpVerb.GET],\n request: request\n}), _dec(_class = (_class2 = /*#__PURE__*/function (_AbstractCategoryColl) {\n _inherits(CookieGroupCollection, _AbstractCategoryColl);\n\n var _super = _createSuper(CookieGroupCollection);\n\n function CookieGroupCollection(store) {\n var _this;\n\n _classCallCheck(this, CookieGroupCollection);\n\n _this = _super.call(this);\n _this.store = void 0;\n _this.orderCookieGroups = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(ids) {\n var i, _iterator, _step, id, group;\n\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n this.busy = true;\n _context.prev = 1;\n _context.next = 4;\n return request({\n location: locationRestCookieGroupOrderPut,\n request: {\n ids: ids\n }\n });\n\n case 4:\n // Apply the order to existing cached models instead of fetching again\n i = 0;\n _iterator = _createForOfIteratorHelper(ids);\n\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n id = _step.value;\n group = this.entries.get(id);\n group.setOrder(i);\n i++;\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n\n _context.next = 13;\n break;\n\n case 9:\n _context.prev = 9;\n _context.t0 = _context[\"catch\"](1);\n console.log(_context.t0);\n throw _context.t0;\n\n case 13:\n _context.prev = 13;\n this.busy = false;\n return _context.finish(13);\n\n case 16:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, this, [[1, 9, 13, 16]]);\n }));\n _this.store = store;\n return _this;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n _createClass(CookieGroupCollection, [{\n key: \"sortedGroups\",\n get: function get() {\n var result = Array.from(this.entries.values());\n result.sort(function (a, b) {\n if (a.data.meta.order < b.data.meta.order) {\n return -1;\n } else if (a.data.meta.order > b.data.meta.order) {\n return 1;\n } else {\n return 0;\n }\n });\n return result;\n }\n }, {\n key: \"instance\",\n value: function instance(response) {\n return new CookieGroupModel(this).fromResponse(response);\n }\n }]);\n\n return CookieGroupCollection;\n}(AbstractCategoryCollection), (_applyDecoratedDescriptor(_class2.prototype, \"sortedGroups\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"sortedGroups\"), _class2.prototype)), _class2)) || _class);\nexport { CookieGroupCollection };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/assertThisInitialized\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/createSuper\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _dec, _class, _class2, _descriptor, _descriptor2;\n\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { ClientModel, AbstractCategory } from \"@devowl-wp/utils\";\nimport { request } from \"../utils\";\nimport { CookieCollection } from \".\";\nimport { action, observable, runInAction, flow, computed } from \"mobx\";\nvar CookieGroupModel = (_dec = ClientModel.annotate({\n keyId: \"id\",\n namespace: \"wp/v2\",\n request: request,\n create: {\n path: \"/rcb-cookie-group\"\n },\n patch: {\n path: \"/rcb-cookie-group/:id\"\n },\n delete: {\n path: \"/rcb-cookie-group/:id\"\n }\n}), _dec(_class = (_class2 = /*#__PURE__*/function (_AbstractCategory) {\n _inherits(CookieGroupModel, _AbstractCategory);\n\n var _super = _createSuper(CookieGroupModel);\n\n function CookieGroupModel(collection) {\n var _this;\n\n var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n _classCallCheck(this, CookieGroupModel);\n\n _this = _super.call(this, collection, data);\n\n _initializerDefineProperty(_this, \"cookies\", _descriptor, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"fetchedAllCookies\", _descriptor2, _assertThisInitialized(_this));\n\n _this.fetchCookies = flow( /*#__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 _context.next = 2;\n return this.cookies.get({\n request: {\n status: [\"draft\", \"publish\", \"private\"]\n },\n params: {\n // eslint-disable-next-line @typescript-eslint/naming-convention\n per_page: 100,\n // Fetch all\n \"rcb-cookie-group\": this.key,\n context: \"edit\"\n }\n });\n\n case 2:\n this.fetchedAllCookies = true;\n\n case 3:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, this);\n }));\n runInAction(function () {\n _this.cookies = new CookieCollection(_assertThisInitialized(_this));\n });\n return _this;\n }\n\n _createClass(CookieGroupModel, [{\n key: \"cookiesCount\",\n get: function get() {\n // TODO: this.data.count should return a count also of private cookies\n return this.fetchedAllCookies ? this.cookies.entries.size : this.data.count;\n }\n }, {\n key: \"setName\",\n value: function setName(name) {\n this.data.name = name;\n }\n }, {\n key: \"setDescription\",\n value: function setDescription(description) {\n this.data.description = description;\n }\n }, {\n key: \"setOrder\",\n value: function setOrder(order) {\n this.data.meta.order = order;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n }, {\n key: \"afterDelete\",\n value: function afterDelete() {\n this.collection.store.rootStore.optionStore.fetchCurrentRevision();\n }\n }, {\n key: \"afterPatch\",\n value: function afterPatch() {\n this.collection.store.rootStore.optionStore.fetchCurrentRevision();\n }\n }, {\n key: \"afterPersist\",\n value: function afterPersist() {\n this.collection.store.rootStore.optionStore.fetchCurrentRevision();\n }\n }]);\n\n return CookieGroupModel;\n}(AbstractCategory), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, \"cookies\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"fetchedAllCookies\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _applyDecoratedDescriptor(_class2.prototype, \"cookiesCount\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"cookiesCount\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setName\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setName\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setDescription\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setDescription\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setOrder\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setOrder\"), _class2.prototype)), _class2)) || _class);\nexport { CookieGroupModel };","import _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/assertThisInitialized\";\nimport _get from \"@babel/runtime/helpers/get\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/createSuper\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _dec, _class, _class2, _descriptor;\n\nimport { ClientModel, AbstractPost } from \"@devowl-wp/utils\";\nimport { request } from \"../utils\";\nimport { CookiePreset } from \".\";\nimport { computed, action, observable, runInAction, reaction } from \"mobx\";\nimport { RootStore } from \"../store\";\nvar CookieModel = (_dec = ClientModel.annotate({\n keyId: \"id\",\n namespace: \"wp/v2\",\n request: request,\n create: {\n path: \"/rcb-cookie\"\n },\n patch: {\n path: \"/rcb-cookie/:id\"\n },\n delete: {\n path: \"/rcb-cookie/:id\"\n }\n}), _dec(_class = (_class2 = /*#__PURE__*/function (_AbstractPost) {\n _inherits(CookieModel, _AbstractPost);\n\n var _super = _createSuper(CookieModel);\n\n function CookieModel(collection) {\n var _this;\n\n var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n _classCallCheck(this, CookieModel);\n\n _this = _super.call(this, collection, data);\n\n _initializerDefineProperty(_this, \"presetModel\", _descriptor, _assertThisInitialized(_this));\n\n _this.store = void 0;\n reaction(function () {\n var _this$data;\n\n return (_this$data = _this.data) === null || _this$data === void 0 ? void 0 : _this$data.preset;\n }, function (preset) {\n return runInAction(function () {\n _this.presetModel = preset ? new CookiePreset(preset, RootStore.get.cookieStore) : undefined;\n });\n }, {\n fireImmediately: true\n });\n return _this;\n }\n\n _createClass(CookieModel, [{\n key: \"rootStore\",\n get: function get() {\n return this.collection.store.collection.store.rootStore;\n }\n }, {\n key: \"tagManagerSettings\",\n get: function get() {\n var _this$rootStore$optio = this.rootStore.optionStore,\n isPro = _this$rootStore$optio.others.isPro,\n setCookiesViaManager = _this$rootStore$optio.setCookiesViaManager;\n\n if (isPro && setCookiesViaManager !== \"none\") {\n /* Silence is golden... Until you have PRO Version! */\n }\n\n return false;\n }\n }, {\n key: \"technicalDefinitions\",\n get: function get() {\n return JSON.parse(this.data.meta.technicalDefinitions);\n }\n }, {\n key: \"codeDynamics\",\n get: function get() {\n return JSON.parse(this.data.meta.codeDynamics || \"{}\");\n }\n }, {\n key: \"firstTechnicalDefinition\",\n get: function get() {\n var _this$technicalDefini;\n\n return (_this$technicalDefini = this.technicalDefinitions) === null || _this$technicalDefini === void 0 ? void 0 : _this$technicalDefini[0];\n }\n }, {\n key: \"afterPatch\",\n value: function afterPatch() {\n var _this2 = this;\n\n // Remove this cookie from all other groups\n var groups = this.collection.store.collection;\n\n var _this$data$rcbCookie = _slicedToArray(this.data[\"rcb-cookie-group\"], 1),\n thisGroup = _this$data$rcbCookie[0];\n\n groups.entries.forEach(function (group) {\n if (thisGroup !== group.key) {\n group.cookies.entries.delete(_this2.key);\n } else {\n group.cookies.entries.set(_this2.key, _this2);\n }\n });\n this.rootStore.optionStore.fetchCurrentRevision();\n this.rootStore.cookieStore.unassignedCookies.delete(this.key);\n }\n }, {\n key: \"setOrder\",\n value: function setOrder(order) {\n // eslint-disable-next-line @typescript-eslint/naming-convention\n this.data.menu_order = order;\n }\n }, {\n key: \"setName\",\n value: function setName(name) {\n this.data.title.rendered = name;\n }\n }, {\n key: \"setStatus\",\n value: function setStatus(status) {\n this.data.status = status;\n }\n }, {\n key: \"setPurpose\",\n value: function setPurpose(purpose) {\n this.data.content.rendered = purpose;\n }\n }, {\n key: \"setGroup\",\n value: function setGroup(group) {\n this.data[\"rcb-cookie-group\"] = [group];\n }\n }, {\n key: \"setMeta\",\n value: function setMeta(meta) {\n this.data.meta = meta;\n }\n }, {\n key: \"transformDataForPersist\",\n value: function transformDataForPersist() {\n var data = _get(_getPrototypeOf(CookieModel.prototype), \"transformDataForPersist\", this).call(this);\n\n return _objectSpread(_objectSpread({}, data), {}, {\n \"rcb-cookie-group\": [this.collection.store.key]\n });\n }\n }, {\n key: \"transformDataForPatch\",\n value: function transformDataForPatch() {\n var data = _get(_getPrototypeOf(CookieModel.prototype), \"transformDataForPatch\", this).call(this);\n\n return {\n title: data.title,\n content: data.content,\n status: data.status,\n meta: data.meta,\n // eslint-disable-next-line @typescript-eslint/naming-convention\n menu_order: data.menu_order,\n \"rcb-cookie-group\": this.data[\"rcb-cookie-group\"],\n // Force to rewrite slug\n slug: data.title\n };\n }\n }, {\n key: \"afterDelete\",\n value: function afterDelete() {\n this.collection.store.cookies.store.collection.store.rootStore.optionStore.fetchCurrentRevision();\n }\n }, {\n key: \"afterPersist\",\n value: function afterPersist() {\n var _this$collection$stor = this.collection.store.cookies.store.collection.store.rootStore,\n optionStore = _this$collection$stor.optionStore,\n checklistStore = _this$collection$stor.checklistStore;\n optionStore.fetchCurrentRevision();\n checklistStore.probablyFetchByChangedItem(\"add-cookie\");\n }\n }]);\n\n return CookieModel;\n}(AbstractPost), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, \"presetModel\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class2.prototype, \"rootStore\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"rootStore\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"tagManagerSettings\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"tagManagerSettings\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"technicalDefinitions\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"technicalDefinitions\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"codeDynamics\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"codeDynamics\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"firstTechnicalDefinition\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"firstTechnicalDefinition\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"afterPatch\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"afterPatch\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setOrder\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setOrder\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setName\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setName\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setStatus\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setStatus\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setPurpose\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setPurpose\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setGroup\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setGroup\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setMeta\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setMeta\"), _class2.prototype)), _class2)) || _class);\nexport { CookieModel };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2, _descriptor3;\n\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { observable, runInAction, computed, flow } from \"mobx\";\nimport { locationRestPresetsCookiesAttributesGet } from \"../wp-api\";\nimport { request } from \"../utils\";\nvar CookiePreset = (_class = /*#__PURE__*/function () {\n function CookiePreset(preset, store) {\n var _this = this;\n\n _classCallCheck(this, CookiePreset);\n\n _initializerDefineProperty(this, \"busy\", _descriptor, this);\n\n _initializerDefineProperty(this, \"data\", _descriptor2, this);\n\n _initializerDefineProperty(this, \"attributes\", _descriptor3, this);\n\n this.store = void 0;\n this.fetchAttributes = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {\n var response;\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n _context.prev = 0;\n this.busy = true;\n _context.next = 4;\n return request({\n location: locationRestPresetsCookiesAttributesGet,\n params: {\n identifier: this.data.identifier\n }\n });\n\n case 4:\n response = _context.sent;\n this.attributes = response;\n _context.next = 12;\n break;\n\n case 8:\n _context.prev = 8;\n _context.t0 = _context[\"catch\"](0);\n console.log(_context.t0);\n throw _context.t0;\n\n case 12:\n _context.prev = 12;\n this.busy = false;\n return _context.finish(12);\n\n case 15:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, this, [[0, 8, 12, 15]]);\n }));\n runInAction(function () {\n _this.data = preset;\n });\n this.store = store;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n _createClass(CookiePreset, [{\n key: \"fullLogoUrl\",\n get: function get() {\n var logoFile = this.data.logoFile;\n var publicUrl = this.store.rootStore.optionStore.publicUrl;\n return logoFile.startsWith(\"http\") ? logoFile : \"\".concat(publicUrl, \"images/logos/\").concat(logoFile);\n }\n }]);\n\n return CookiePreset;\n}(), (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"busy\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"data\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"attributes\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class.prototype, \"fullLogoUrl\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"fullLogoUrl\"), _class.prototype)), _class);\nexport { CookiePreset };","import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\n\nvar Revision = // @observable: We never make changes\nfunction Revision(preset, store) {\n _classCallCheck(this, Revision);\n\n this.data = void 0;\n this.store = void 0;\n this.data = preset;\n this.store = store;\n};\n\nexport { Revision };","import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\n\nvar RevisionIndependent = // @observable: We never make changes\nfunction RevisionIndependent(preset, store) {\n _classCallCheck(this, RevisionIndependent);\n\n this.data = void 0;\n this.store = void 0;\n this.data = preset;\n this.store = store;\n};\n\nexport { RevisionIndependent };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2;\n\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { computed, flow, observable, runInAction } from \"mobx\";\nimport { locationRestScannerResultExternalPatch } from \"../wp-api\";\nimport { request, __ } from \"../utils\";\nvar ScannerResultExternalUrl = (_class = /*#__PURE__*/function () {\n function ScannerResultExternalUrl(externalUrl, store) {\n var _this = this;\n\n _classCallCheck(this, ScannerResultExternalUrl);\n\n _initializerDefineProperty(this, \"busy\", _descriptor, this);\n\n _initializerDefineProperty(this, \"data\", _descriptor2, this);\n\n this.store = void 0;\n this.ignore = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {\n var state,\n _args = arguments;\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n state = _args.length > 1 && _args[1] !== undefined ? _args[1] : true;\n _context.prev = 1;\n _context.next = 4;\n return request({\n location: locationRestScannerResultExternalPatch,\n request: {\n ignored: state\n },\n params: {\n host: this.data.host.replace(/\\./g, \"_\")\n }\n });\n\n case 4:\n this.data.ignored = state;\n _context.next = 11;\n break;\n\n case 7:\n _context.prev = 7;\n _context.t0 = _context[\"catch\"](1);\n console.log(_context.t0);\n throw _context.t0;\n\n case 11:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, this, [[1, 7]]);\n }));\n runInAction(function () {\n _this.data = externalUrl;\n });\n this.store = store;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n _createClass(ScannerResultExternalUrl, [{\n key: \"identifier\",\n get: function get() {\n return this.data.host;\n }\n }, {\n key: \"inactive\",\n get: function get() {\n return this.blockedStatus === \"full\" || this.data.ignored;\n }\n }, {\n key: \"blockedStatus\",\n get: function get() {\n var _this$data = this.data,\n foundCount = _this$data.foundCount,\n blockedCount = _this$data.blockedCount;\n return blockedCount === 0 ? \"none\" : foundCount === blockedCount ? \"full\" : \"partial\";\n }\n }, {\n key: \"blockedStatusText\",\n get: function get() {\n switch (this.blockedStatus) {\n case \"full\":\n return __(\"Fully blocked\");\n\n case \"partial\":\n return __(\"Partially blocked\");\n\n default:\n return __(\"Not blocked\");\n }\n }\n }]);\n\n return ScannerResultExternalUrl;\n}(), (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"busy\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"data\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class.prototype, \"identifier\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"identifier\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"inactive\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"inactive\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"blockedStatus\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"blockedStatus\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"blockedStatusText\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"blockedStatusText\"), _class.prototype)), _class);\nexport { ScannerResultExternalUrl };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2;\n\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { observable, runInAction, flow, computed } from \"mobx\";\nimport { truncateMiddle } from \"../utils\";\nvar ScannerResultExternalUrlSingle = (_class = /*#__PURE__*/function () {\n function ScannerResultExternalUrlSingle(preset, store) {\n var _this = this;\n\n _classCallCheck(this, ScannerResultExternalUrlSingle);\n\n _initializerDefineProperty(this, \"busy\", _descriptor, this);\n\n _initializerDefineProperty(this, \"data\", _descriptor2, this);\n\n this.store = void 0;\n this.fetchMarkup = flow( /*#__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 _context.next = 2;\n return this.store.fetchMarkup(this.data.id);\n\n case 2:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, this);\n }));\n runInAction(function () {\n _this.data = preset;\n });\n this.store = store;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n _createClass(ScannerResultExternalUrlSingle, [{\n key: \"markup\",\n get: function get() {\n return this.store.resultMarkup.get(this.data.id);\n }\n }, {\n key: \"blockedUrlTruncate\",\n get: function get() {\n return truncateMiddle(this.data.blockedUrl, 50, \"[...]\");\n }\n }, {\n key: \"sourceUrlTruncate\",\n get: function get() {\n return truncateMiddle(this.data.sourceUrl, 50, \"[...]\");\n }\n }]);\n\n return ScannerResultExternalUrlSingle;\n}(), (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"busy\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"data\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class.prototype, \"markup\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"markup\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"blockedUrlTruncate\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"blockedUrlTruncate\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"sourceUrlTruncate\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"sourceUrlTruncate\"), _class.prototype)), _class);\nexport { ScannerResultExternalUrlSingle };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2, _descriptor3;\n\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { observable, runInAction, computed, flow } from \"mobx\";\nimport { request } from \"../utils\";\nimport { locationRestPresetsBlockerAttributesGet } from \"../wp-api\";\nvar ScannerResultPreset = (_class = /*#__PURE__*/function () {\n function ScannerResultPreset(preset, store) {\n var _this = this;\n\n _classCallCheck(this, ScannerResultPreset);\n\n _initializerDefineProperty(this, \"busy\", _descriptor, this);\n\n _initializerDefineProperty(this, \"data\", _descriptor2, this);\n\n _initializerDefineProperty(this, \"attributes\", _descriptor3, this);\n\n this.store = void 0;\n this.fetchAttributes = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {\n var response;\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n _context.prev = 0;\n this.busy = true;\n _context.next = 4;\n return request({\n location: locationRestPresetsBlockerAttributesGet,\n params: {\n identifier: this.data.identifier\n }\n });\n\n case 4:\n response = _context.sent;\n this.attributes = response;\n _context.next = 12;\n break;\n\n case 8:\n _context.prev = 8;\n _context.t0 = _context[\"catch\"](0);\n console.log(_context.t0);\n throw _context.t0;\n\n case 12:\n _context.prev = 12;\n this.busy = false;\n return _context.finish(12);\n\n case 15:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, this, [[0, 8, 12, 15]]);\n }));\n runInAction(function () {\n _this.data = preset;\n });\n this.store = store;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n _createClass(ScannerResultPreset, [{\n key: \"identifier\",\n get: function get() {\n return this.data.identifier;\n }\n }, {\n key: \"fullLogoUrl\",\n get: function get() {\n var logoFile = this.data.logoFile;\n var publicUrl = this.store.rootStore.optionStore.publicUrl;\n return logoFile.startsWith(\"http\") ? logoFile : \"\".concat(publicUrl, \"images/logos/\").concat(logoFile);\n }\n /**\n * Determines if this preset needs further attention. It is inactive when it e.g. already exists.\n */\n\n }, {\n key: \"inactive\",\n get: function get() {\n return this.data.created;\n }\n }]);\n\n return ScannerResultPreset;\n}(), (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"busy\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"data\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"attributes\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class.prototype, \"identifier\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"identifier\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"fullLogoUrl\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"fullLogoUrl\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"inactive\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"inactive\"), _class.prototype)), _class);\nexport { ScannerResultPreset };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2;\n\nimport { observable, runInAction } from \"mobx\";\nvar TcfFeature = (_class = function TcfFeature(data, special, store) {\n var _this = this;\n\n _classCallCheck(this, TcfFeature);\n\n _initializerDefineProperty(this, \"data\", _descriptor, this);\n\n _initializerDefineProperty(this, \"special\", _descriptor2, this);\n\n this.store = void 0;\n runInAction(function () {\n _this.special = special;\n _this.data = data;\n });\n this.store = store;\n}, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"data\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"special\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n})), _class);\nexport { TcfFeature };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2;\n\nimport { observable, runInAction } from \"mobx\";\nvar TcfPurpose = (_class = function TcfPurpose(data, special, store) {\n var _this = this;\n\n _classCallCheck(this, TcfPurpose);\n\n _initializerDefineProperty(this, \"data\", _descriptor, this);\n\n _initializerDefineProperty(this, \"special\", _descriptor2, this);\n\n this.store = void 0;\n runInAction(function () {\n _this.special = special;\n _this.data = data;\n });\n this.store = store;\n}, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"data\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"special\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n})), _class);\nexport { TcfPurpose };","import _toConsumableArray from \"@babel/runtime/helpers/toConsumableArray\";\nimport _createForOfIteratorHelper from \"@babel/runtime/helpers/createForOfIteratorHelper\";\nimport _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor;\n\nimport { computed, observable, runInAction } from \"mobx\";\nimport { ETcfGvlDisclosureType } from \"@devowl-wp/real-cookie-banner-backend/src/types/service/tcf\";\nvar TcfVendor = (_class = /*#__PURE__*/function () {\n function TcfVendor(data, store) {\n var _this = this;\n\n _classCallCheck(this, TcfVendor);\n\n _initializerDefineProperty(this, \"data\", _descriptor, this);\n\n this.store = void 0;\n runInAction(function () {\n _this.data = data;\n });\n this.store = store;\n }\n\n _createClass(TcfVendor, [{\n key: \"vendorConfiguration\",\n get:\n /**\n * Get existing vendor configuration for this vendor.\n */\n function get() {\n var _iterator = _createForOfIteratorHelper(this.store.vendorConfigurations.entries.values()),\n _step;\n\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var c = _step.value;\n\n if (c.vendorModel.data.id === this.data.id) {\n return c;\n }\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n\n return undefined;\n }\n }, {\n key: \"deviceStorageDisclosure\",\n get: function get() {\n var _this$data = this.data,\n usesCookies = _this$data.usesCookies,\n cookieMaxAgeSeconds = _this$data.cookieMaxAgeSeconds,\n cookieRefresh = _this$data.cookieRefresh,\n usesNonCookieAccess = _this$data.usesNonCookieAccess,\n deviceStorageDisclosure = _this$data.deviceStorageDisclosure;\n var result = deviceStorageDisclosure !== null && deviceStorageDisclosure !== void 0 && deviceStorageDisclosure.disclosures.length ? _toConsumableArray(deviceStorageDisclosure.disclosures) : []; // Include implicit device storage into table\n\n if (usesNonCookieAccess) {\n result.unshift({\n type: ETcfGvlDisclosureType.Web,\n identifier: \"*\",\n purposes: undefined,\n cookieRefresh: undefined,\n domain: \"*\",\n maxAgeSeconds: null\n });\n }\n\n if (usesCookies) {\n result.unshift({\n type: ETcfGvlDisclosureType.Cookie,\n identifier: \"*\",\n purposes: undefined,\n cookieRefresh: cookieRefresh,\n domain: \"*\",\n maxAgeSeconds: cookieMaxAgeSeconds\n });\n }\n\n return result;\n }\n }, {\n key: \"allPurposes\",\n get: function get() {\n return [].concat(_toConsumableArray(this.legIntPurposes), _toConsumableArray(this.purposes), _toConsumableArray(this.specialPurposes)).filter(Boolean);\n }\n }, {\n key: \"allFeatures\",\n get: function get() {\n return [].concat(_toConsumableArray(this.features), _toConsumableArray(this.specialFeatures)).filter(Boolean);\n }\n /**\n * Calculate a map of restrictions for this vendor. This can be used to make a form\n * configurable depending on the current vendor.\n */\n\n }, {\n key: \"restrictivePurposes\",\n get: function get() {\n var result = {\n normal: {}\n };\n\n for (var _i = 0, _arr = [].concat(_toConsumableArray(this.legIntPurposes), _toConsumableArray(this.purposes)); _i < _arr.length; _i++) {\n var purpose = _arr[_i];\n result.normal[purpose.data.id.toString()] = {\n enabled: true,\n legInt: this.legIntPurposes.indexOf(purpose) > -1 && !purpose.special ? \"yes\" : \"no\"\n };\n }\n\n return result;\n }\n /**\n * Map the integers to valid declaration objects.\n */\n\n }, {\n key: \"purposes\",\n get: function get() {\n var _this$data2,\n _this2 = this;\n\n return (_this$data2 = this.data) === null || _this$data2 === void 0 ? void 0 : _this$data2.purposes.map(function (id) {\n return _this2.store.purposes.get(\"\".concat(id));\n });\n }\n }, {\n key: \"legIntPurposes\",\n get: function get() {\n var _this$data3,\n _this3 = this;\n\n return (_this$data3 = this.data) === null || _this$data3 === void 0 ? void 0 : _this$data3.legIntPurposes.map(function (id) {\n return _this3.store.purposes.get(\"\".concat(id));\n });\n }\n }, {\n key: \"flexiblePurposes\",\n get: function get() {\n var _this$data4,\n _this4 = this;\n\n return (_this$data4 = this.data) === null || _this$data4 === void 0 ? void 0 : _this$data4.flexiblePurposes.map(function (id) {\n return _this4.store.purposes.get(\"\".concat(id));\n });\n }\n }, {\n key: \"specialPurposes\",\n get: function get() {\n var _this$data5,\n _this5 = this;\n\n return (_this$data5 = this.data) === null || _this$data5 === void 0 ? void 0 : _this$data5.specialPurposes.map(function (id) {\n return _this5.store.specialPurposes.get(\"\".concat(id));\n });\n }\n }, {\n key: \"features\",\n get: function get() {\n var _this$data6,\n _this6 = this;\n\n return (_this$data6 = this.data) === null || _this$data6 === void 0 ? void 0 : _this$data6.features.map(function (id) {\n return _this6.store.features.get(\"\".concat(id));\n });\n }\n }, {\n key: \"specialFeatures\",\n get: function get() {\n var _this$data7,\n _this7 = this;\n\n return (_this$data7 = this.data) === null || _this$data7 === void 0 ? void 0 : _this$data7.specialFeatures.map(function (id) {\n return _this7.store.specialFeatures.get(\"\".concat(id));\n });\n }\n }]);\n\n return TcfVendor;\n}(), (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"data\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class.prototype, \"vendorConfiguration\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"vendorConfiguration\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"deviceStorageDisclosure\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"deviceStorageDisclosure\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"allPurposes\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"allPurposes\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"allFeatures\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"allFeatures\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"restrictivePurposes\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"restrictivePurposes\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"purposes\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"purposes\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"legIntPurposes\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"legIntPurposes\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"flexiblePurposes\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"flexiblePurposes\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"specialPurposes\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"specialPurposes\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"features\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"features\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"specialFeatures\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"specialFeatures\"), _class.prototype)), _class);\nexport { TcfVendor };","import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/createSuper\";\n\nvar _dec, _class;\n\nimport { ClientCollection, RouteHttpVerb, AbstractPostCollection } from \"@devowl-wp/utils\";\nimport { request } from \"../utils\";\nimport { TcfVendorConfigurationModel } from \".\";\nvar TcfVendorConfigurationCollection = (_dec = ClientCollection.annotate({\n path: \"/rcb-tcf-vendor-conf\",\n singlePath: \"/rcb-tcf-vendor-conf/:id\",\n namespace: \"wp/v2\",\n methods: [RouteHttpVerb.GET],\n request: request\n}), _dec(_class = /*#__PURE__*/function (_AbstractPostCollecti) {\n _inherits(TcfVendorConfigurationCollection, _AbstractPostCollecti);\n\n var _super = _createSuper(TcfVendorConfigurationCollection);\n\n function TcfVendorConfigurationCollection(store) {\n var _this;\n\n _classCallCheck(this, TcfVendorConfigurationCollection);\n\n _this = _super.call(this);\n _this.store = void 0;\n _this.store = store;\n return _this;\n }\n\n _createClass(TcfVendorConfigurationCollection, [{\n key: \"instance\",\n value: function instance(response) {\n return new TcfVendorConfigurationModel(this).fromResponse(response);\n }\n }]);\n\n return TcfVendorConfigurationCollection;\n}(AbstractPostCollection)) || _class);\nexport { TcfVendorConfigurationCollection };","import _toConsumableArray from \"@babel/runtime/helpers/toConsumableArray\";\nimport _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/assertThisInitialized\";\nimport _get from \"@babel/runtime/helpers/get\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/createSuper\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _dec, _class, _class2, _descriptor;\n\nimport { ClientModel, AbstractPost } from \"@devowl-wp/utils\";\nimport { request } from \"../utils\";\nimport { action, computed, observable, reaction, runInAction } from \"mobx\";\nimport { TcfVendor } from \"./tcfVendor\";\nimport $ from \"jquery\";\nvar TcfVendorConfigurationModel = (_dec = ClientModel.annotate({\n keyId: \"id\",\n namespace: \"wp/v2\",\n request: request,\n create: {\n path: \"/rcb-tcf-vendor-conf\"\n },\n patch: {\n path: \"/rcb-tcf-vendor-conf/:id\"\n },\n delete: {\n path: \"/rcb-tcf-vendor-conf/:id\"\n }\n}), _dec(_class = (_class2 = /*#__PURE__*/function (_AbstractPost) {\n _inherits(TcfVendorConfigurationModel, _AbstractPost);\n\n var _super = _createSuper(TcfVendorConfigurationModel);\n\n function TcfVendorConfigurationModel(collection) {\n var _this;\n\n var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n _classCallCheck(this, TcfVendorConfigurationModel);\n\n _this = _super.call(this, collection, data);\n\n _initializerDefineProperty(_this, \"vendorModel\", _descriptor, _assertThisInitialized(_this));\n\n reaction(function () {\n return _this.data.vendor;\n }, function (vendor) {\n return runInAction(function () {\n if (vendor) {\n var vendors = _this.collection.store.vendors;\n var vendorId = vendor.id.toString();\n var existing = vendors.get(vendorId);\n\n if (!existing) {\n existing = new TcfVendor(vendor, _this.collection.store);\n vendors.set(vendorId, existing);\n }\n\n _this.vendorModel = existing;\n }\n });\n }, {\n fireImmediately: true\n }); // Automatically set the vendor model (e.g. newly saved configuration)\n\n reaction(function () {\n var _this$data$meta;\n\n return (_this$data$meta = _this.data.meta) === null || _this$data$meta === void 0 ? void 0 : _this$data$meta.vendorId;\n }, function (vendorId) {\n if (vendorId) {\n _this.vendorModel = _this.collection.store.vendors.get(vendorId.toString());\n }\n }, {\n fireImmediately: true\n });\n return _this;\n }\n\n _createClass(TcfVendorConfigurationModel, [{\n key: \"hasVendor\",\n get:\n /**\n * In some cases, vendors can be abandoned by the GVL.\n */\n function get() {\n return !!this.vendorModel;\n }\n }, {\n key: \"restrictivePurposes\",\n get: function get() {\n var _this$vendorModel, _this$vendorModel2;\n\n // Fallback to original if we have changed to `global`\n var disableRestrictivePurposes = this.collection.store.rootStore.optionStore.tcfScopeOfConsent === \"global\";\n var originalRestrictivePurposes = ((_this$vendorModel = this.vendorModel) === null || _this$vendorModel === void 0 ? void 0 : _this$vendorModel.restrictivePurposes) || {\n normal: {}\n };\n\n if (disableRestrictivePurposes) {\n return originalRestrictivePurposes;\n }\n\n var result = JSON.parse(this.data.meta.restrictivePurposes); // Merge with original vendor purposes so all are listed\n\n return $.extend(true, {}, ((_this$vendorModel2 = this.vendorModel) === null || _this$vendorModel2 === void 0 ? void 0 : _this$vendorModel2.restrictivePurposes) || {}, result);\n }\n }, {\n key: \"stats\",\n get: function get() {\n var _this$vendorModel3;\n\n var normal = this.restrictivePurposes.normal;\n\n var arr = _toConsumableArray(Object.values(normal));\n\n return {\n activePurposes: arr.filter(function (_ref) {\n var enabled = _ref.enabled;\n return enabled;\n }).length,\n legIntPurposes: arr.filter(function (_ref2) {\n var enabled = _ref2.enabled,\n legInt = _ref2.legInt;\n return enabled && legInt === \"yes\";\n }).length,\n activeFeatures: ((_this$vendorModel3 = this.vendorModel) === null || _this$vendorModel3 === void 0 ? void 0 : _this$vendorModel3.allFeatures.length) || 0\n };\n }\n }, {\n key: \"setStatus\",\n value: function setStatus(status) {\n this.data.status = status;\n }\n }, {\n key: \"setMeta\",\n value: function setMeta(meta) {\n this.data.meta = meta;\n }\n }, {\n key: \"transformDataForPatch\",\n value: function transformDataForPatch() {\n var data = _get(_getPrototypeOf(TcfVendorConfigurationModel.prototype), \"transformDataForPatch\", this).call(this);\n\n return {\n status: data.status,\n meta: data.meta\n };\n }\n }, {\n key: \"afterPatch\",\n value: function afterPatch() {\n this.collection.store.rootStore.optionStore.fetchCurrentRevision();\n }\n }, {\n key: \"afterDelete\",\n value: function afterDelete() {\n this.collection.store.rootStore.optionStore.fetchCurrentRevision();\n }\n }, {\n key: \"afterPersist\",\n value: function afterPersist() {\n this.collection.store.rootStore.optionStore.fetchCurrentRevision();\n }\n }]);\n\n return TcfVendorConfigurationModel;\n}(AbstractPost), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, \"vendorModel\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class2.prototype, \"hasVendor\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"hasVendor\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"restrictivePurposes\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"restrictivePurposes\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"stats\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"stats\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setStatus\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setStatus\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setMeta\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setMeta\"), _class2.prototype)), _class2)) || _class);\nexport { TcfVendorConfigurationModel };","import _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/assertThisInitialized\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/createSuper\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2;\n\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { observable, flow, computed } from \"mobx\";\nimport { BaseOptions } from \"@devowl-wp/utils\";\nimport { locationRestChecklistGet, locationRestChecklistPut } from \"../wp-api\";\nimport { request } from \"../utils\";\nvar ChecklistStore = (_class = /*#__PURE__*/function (_BaseOptions) {\n _inherits(ChecklistStore, _BaseOptions);\n\n var _super = _createSuper(ChecklistStore);\n\n function ChecklistStore(rootStore) {\n var _this;\n\n _classCallCheck(this, ChecklistStore);\n\n _this = _super.call(this);\n\n _initializerDefineProperty(_this, \"busyChecklist\", _descriptor, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"checklist\", _descriptor2, _assertThisInitialized(_this));\n\n _this.rootStore = void 0;\n _this.probablyFetchByChangedItem = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(itemId, force) {\n var useItemIds;\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n if (!force) {\n _context.next = 4;\n break;\n }\n\n _context.next = 3;\n return this.fetchChecklist();\n\n case 3:\n return _context.abrupt(\"return\");\n\n case 4:\n useItemIds = !Array.isArray(itemId) ? [itemId] : itemId;\n\n if (!(this.items.filter(function (_ref) {\n var id = _ref.id,\n checked = _ref.checked;\n return useItemIds.indexOf(id) > -1 && !checked;\n }).length > 0)) {\n _context.next = 8;\n break;\n }\n\n _context.next = 8;\n return this.fetchChecklist();\n\n case 8:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, this);\n }));\n _this.fetchChecklist = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {\n return _regeneratorRuntime.wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n this.busyChecklist = true;\n _context2.prev = 1;\n _context2.next = 4;\n return request({\n location: locationRestChecklistGet,\n params: {\n _wp_http_referer: window.location.href\n }\n });\n\n case 4:\n this.checklist = _context2.sent;\n _context2.next = 11;\n break;\n\n case 7:\n _context2.prev = 7;\n _context2.t0 = _context2[\"catch\"](1);\n console.log(_context2.t0);\n throw _context2.t0;\n\n case 11:\n _context2.prev = 11;\n this.busyChecklist = false;\n return _context2.finish(11);\n\n case 14:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2, this, [[1, 7, 11, 14]]);\n }));\n _this.toggleChecklistItem = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(id, state) {\n return _regeneratorRuntime.wrap(function _callee3$(_context3) {\n while (1) {\n switch (_context3.prev = _context3.next) {\n case 0:\n this.busyChecklist = true;\n _context3.prev = 1;\n _context3.next = 4;\n return request({\n location: locationRestChecklistPut,\n request: {\n state: state\n },\n params: {\n id: id,\n _wp_http_referer: window.location.href\n }\n });\n\n case 4:\n this.checklist = _context3.sent;\n _context3.next = 11;\n break;\n\n case 7:\n _context3.prev = 7;\n _context3.t0 = _context3[\"catch\"](1);\n console.log(_context3.t0);\n throw _context3.t0;\n\n case 11:\n _context3.prev = 11;\n this.busyChecklist = false;\n return _context3.finish(11);\n\n case 14:\n case \"end\":\n return _context3.stop();\n }\n }\n }, _callee3, this, [[1, 7, 11, 14]]);\n }));\n _this.rootStore = rootStore;\n return _this;\n }\n\n _createClass(ChecklistStore, [{\n key: \"items\",\n get: function get() {\n var _this2 = this;\n\n return this.checklist && Object.keys(this.checklist.items).map(function (id) {\n return _objectSpread({\n id: id\n }, _this2.checklist.items[id]);\n }) || [];\n }\n }, {\n key: \"completed\",\n get: function get() {\n return this.items.filter(function (_ref2) {\n var checked = _ref2.checked;\n return checked;\n });\n }\n }, {\n key: \"checkable\",\n get: function get() {\n var isPro = this.rootStore.optionStore.others.isPro;\n return this.items.filter(function (_ref3) {\n var needsPro = _ref3.needsPro;\n return !needsPro || isPro && needsPro;\n });\n }\n }, {\n key: \"done\",\n get: function get() {\n var _this$checklist;\n\n return this.completed.length >= this.checkable.length || !!((_this$checklist = this.checklist) !== null && _this$checklist !== void 0 && _this$checklist.dismissed);\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n }]);\n\n return ChecklistStore;\n}(BaseOptions), (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"busyChecklist\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"checklist\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class.prototype, \"items\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"items\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"completed\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"completed\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"checkable\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"checkable\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"done\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"done\"), _class.prototype)), _class);\nexport { ChecklistStore };","import _createForOfIteratorHelper from \"@babel/runtime/helpers/createForOfIteratorHelper\";\nimport _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/assertThisInitialized\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/createSuper\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9;\n\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { observable, flow, action, runInAction } from \"mobx\";\nimport { BaseOptions } from \"@devowl-wp/utils\";\nimport { request } from \"../utils\";\nimport { locationRestRevisionGet, locationRestRevisionIndependentGet, locationRestConsentAllGet, locationRestConsentAllDelete, locationRestConsentRefererGet } from \"../wp-api\";\nimport { Consent, Revision, RevisionIndependent } from \"../models\";\nvar DATE_FORMAT = \"YYYY-MM-DD\";\nvar ConsentStore = (_class = /*#__PURE__*/function (_BaseOptions) {\n _inherits(ConsentStore, _BaseOptions);\n\n var _super = _createSuper(ConsentStore);\n\n /**\n * Current visible page in Consent tab\n */\n function ConsentStore(rootStore) {\n var _this;\n\n _classCallCheck(this, ConsentStore);\n\n _this = _super.call(this);\n\n _initializerDefineProperty(_this, \"busyConsent\", _descriptor, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"busyReferer\", _descriptor2, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"count\", _descriptor3, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"perPage\", _descriptor4, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"offset\", _descriptor5, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"pageCollection\", _descriptor6, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"revisions\", _descriptor7, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"revisionsIndependent\", _descriptor8, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"referer\", _descriptor9, _assertThisInitialized(_this));\n\n _this.filters = observable.object({\n page: 1,\n dates: [undefined, undefined],\n context: undefined,\n referer: undefined,\n ip: undefined,\n uuid: undefined\n }, {}, {\n deep: false\n });\n _this.rootStore = void 0;\n _this.fetchAll = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {\n var _this$filters, page, referer, ip, uuid, context, dates, _yield$request, count, items, _iterator, _step, item;\n\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n this.busyConsent = true;\n _context.prev = 1;\n _this$filters = this.filters, page = _this$filters.page, referer = _this$filters.referer, ip = _this$filters.ip, uuid = _this$filters.uuid, context = _this$filters.context;\n dates = this.filters.dates.map(function (m) {\n return m ? m.format(DATE_FORMAT) : \"\";\n });\n _context.next = 6;\n return request({\n location: locationRestConsentAllGet,\n params: {\n // eslint-disable-next-line @typescript-eslint/naming-convention\n per_page: this.perPage,\n offset: (page - 1) * this.perPage,\n from: dates[0],\n to: dates[1],\n ip: ip,\n uuid: uuid,\n referer: referer,\n context: context\n }\n });\n\n case 6:\n _yield$request = _context.sent;\n count = _yield$request.count;\n items = _yield$request.items;\n this.count = count;\n this.pageCollection.clear();\n _iterator = _createForOfIteratorHelper(items);\n\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n item = _step.value;\n this.pageCollection.set(item.id, new Consent(item, this));\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n\n _context.next = 19;\n break;\n\n case 15:\n _context.prev = 15;\n _context.t0 = _context[\"catch\"](1);\n console.log(_context.t0);\n throw _context.t0;\n\n case 19:\n _context.prev = 19;\n this.busyConsent = false;\n return _context.finish(19);\n\n case 22:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, this, [[1, 15, 19, 22]]);\n }));\n _this.fetchRevision = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(params) {\n var response;\n return _regeneratorRuntime.wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n _context2.prev = 0;\n _context2.next = 3;\n return request({\n location: locationRestRevisionGet,\n params: params\n });\n\n case 3:\n response = _context2.sent;\n this.revisions.set(params.hash, new Revision(response, this));\n _context2.next = 11;\n break;\n\n case 7:\n _context2.prev = 7;\n _context2.t0 = _context2[\"catch\"](0);\n console.log(_context2.t0);\n throw _context2.t0;\n\n case 11:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2, this, [[0, 7]]);\n }));\n _this.fetchRevisionIndependent = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(params) {\n var response;\n return _regeneratorRuntime.wrap(function _callee3$(_context3) {\n while (1) {\n switch (_context3.prev = _context3.next) {\n case 0:\n _context3.prev = 0;\n _context3.next = 3;\n return request({\n location: locationRestRevisionIndependentGet,\n params: params\n });\n\n case 3:\n response = _context3.sent;\n this.revisionsIndependent.set(params.hash, new RevisionIndependent(response, this));\n _context3.next = 11;\n break;\n\n case 7:\n _context3.prev = 7;\n _context3.t0 = _context3[\"catch\"](0);\n console.log(_context3.t0);\n throw _context3.t0;\n\n case 11:\n case \"end\":\n return _context3.stop();\n }\n }\n }, _callee3, this, [[0, 7]]);\n }));\n _this.fetchReferer = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee4(params) {\n var response;\n return _regeneratorRuntime.wrap(function _callee4$(_context4) {\n while (1) {\n switch (_context4.prev = _context4.next) {\n case 0:\n this.busyReferer = true;\n _context4.prev = 1;\n _context4.next = 4;\n return request({\n location: locationRestConsentRefererGet,\n params: params\n });\n\n case 4:\n response = _context4.sent;\n this.referer = response.items;\n _context4.next = 12;\n break;\n\n case 8:\n _context4.prev = 8;\n _context4.t0 = _context4[\"catch\"](1);\n console.log(_context4.t0);\n throw _context4.t0;\n\n case 12:\n _context4.prev = 12;\n this.busyReferer = false;\n return _context4.finish(12);\n\n case 15:\n case \"end\":\n return _context4.stop();\n }\n }\n }, _callee4, this, [[1, 8, 12, 15]]);\n }));\n _this.deleteAll = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee5() {\n return _regeneratorRuntime.wrap(function _callee5$(_context5) {\n while (1) {\n switch (_context5.prev = _context5.next) {\n case 0:\n this.busyConsent = true;\n _context5.prev = 1;\n _context5.next = 4;\n return request({\n location: locationRestConsentAllDelete\n });\n\n case 4:\n this.applyPage(0);\n _context5.next = 7;\n return this.fetchAll();\n\n case 7:\n _context5.next = 13;\n break;\n\n case 9:\n _context5.prev = 9;\n _context5.t0 = _context5[\"catch\"](1);\n console.log(_context5.t0);\n throw _context5.t0;\n\n case 13:\n _context5.prev = 13;\n this.busyConsent = false;\n return _context5.finish(13);\n\n case 16:\n case \"end\":\n return _context5.stop();\n }\n }\n }, _callee5, this, [[1, 9, 13, 16]]);\n }));\n _this.rootStore = rootStore;\n runInAction(function () {\n _this.filters.context = _this.rootStore.optionStore.others.context;\n });\n return _this;\n }\n /**\n * This action does not actually refetch the list, you need to act on your components!\n */\n\n\n _createClass(ConsentStore, [{\n key: \"applyPage\",\n value: function applyPage(page) {\n this.filters.page = page;\n }\n /**\n * This action does not actually refetch the stats, you need to act on your components!\n *\n * @param dates\n */\n\n }, {\n key: \"applyDates\",\n value: function applyDates(dates) {\n this.filters.dates = dates;\n }\n /**\n * This action does not actually refetch the stats, you need to act on your components!\n *\n * @param context\n */\n\n }, {\n key: \"applyContext\",\n value: function applyContext(context) {\n this.filters.context = context;\n }\n /**\n * This action does not actually refetch the list, you need to act on your components!\n */\n\n }, {\n key: \"applyReferer\",\n value: function applyReferer(referer) {\n this.filters.referer = referer;\n }\n /**\n * This action does not actually refetch the list, you need to act on your components!\n */\n\n }, {\n key: \"applyIp\",\n value: function applyIp(ip) {\n this.filters.ip = ip;\n }\n /**\n * This action does not actually refetch the list, you need to act on your components!\n */\n\n }, {\n key: \"applyUuid\",\n value: function applyUuid(uuid) {\n this.filters.uuid = uuid;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n }]);\n\n return ConsentStore;\n}(BaseOptions), (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"busyConsent\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"busyReferer\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"count\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return 0;\n }\n}), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"perPage\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return 50;\n }\n}), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"offset\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return 0;\n }\n}), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"pageCollection\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return new Map();\n }\n}), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"revisions\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return new Map();\n }\n}), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"revisionsIndependent\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return new Map();\n }\n}), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"referer\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return [];\n }\n}), _applyDecoratedDescriptor(_class.prototype, \"applyPage\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"applyPage\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"applyDates\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"applyDates\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"applyContext\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"applyContext\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"applyReferer\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"applyReferer\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"applyIp\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"applyIp\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"applyUuid\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"applyUuid\"), _class.prototype)), _class);\nexport { ConsentStore };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9;\n\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { observable, flow, computed, runInAction } from \"mobx\";\nimport { CookieGroupCollection, BlockerCollection, CookiePreset, BlockerPreset } from \"../models\";\nimport { locationRestPresetsBlockerGet, locationRestPresetsCookiesGet, locationRestCookieUnassignedGet } from \"../wp-api\";\nimport { request } from \"../utils\";\nvar CookieStore = (_class = /*#__PURE__*/function () {\n function CookieStore(rootStore) {\n var _this = this;\n\n _classCallCheck(this, CookieStore);\n\n _initializerDefineProperty(this, \"busy\", _descriptor, this);\n\n _initializerDefineProperty(this, \"groups\", _descriptor2, this);\n\n _initializerDefineProperty(this, \"unassignedCookies\", _descriptor3, this);\n\n _initializerDefineProperty(this, \"blockers\", _descriptor4, this);\n\n _initializerDefineProperty(this, \"presetsBlocker\", _descriptor5, this);\n\n _initializerDefineProperty(this, \"busyPresetsBlocker\", _descriptor6, this);\n\n _initializerDefineProperty(this, \"presetsCookie\", _descriptor7, this);\n\n _initializerDefineProperty(this, \"busyPresetsCookie\", _descriptor8, this);\n\n _initializerDefineProperty(this, \"fetchedAllBlockers\", _descriptor9, this);\n\n this.rootStore = void 0;\n this.fetchGroups = flow( /*#__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 _context.next = 2;\n return this.groups.get({\n params: {\n // eslint-disable-next-line @typescript-eslint/naming-convention\n per_page: 100\n }\n });\n\n case 2:\n _context.next = 4;\n return this.fetchUnassignedCookies();\n\n case 4:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, this);\n }));\n this.fetchUnassignedCookies = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {\n var items, _i, _Object$values, item;\n\n return _regeneratorRuntime.wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n _context2.prev = 0;\n _context2.next = 3;\n return request({\n location: locationRestCookieUnassignedGet\n });\n\n case 3:\n items = _context2.sent;\n\n // Save presets as object\n for (_i = 0, _Object$values = Object.values(items); _i < _Object$values.length; _i++) {\n item = _Object$values[_i];\n this.unassignedCookies.set(item.id, item);\n }\n\n _context2.next = 11;\n break;\n\n case 7:\n _context2.prev = 7;\n _context2.t0 = _context2[\"catch\"](0);\n console.log(_context2.t0);\n throw _context2.t0;\n\n case 11:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2, this, [[0, 7]]);\n }));\n this.fetchBlockers = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {\n return _regeneratorRuntime.wrap(function _callee3$(_context3) {\n while (1) {\n switch (_context3.prev = _context3.next) {\n case 0:\n _context3.next = 2;\n return this.blockers.get({\n request: {\n status: [\"draft\", \"publish\", \"private\"]\n },\n params: {\n // eslint-disable-next-line @typescript-eslint/naming-convention\n per_page: 100,\n // Fetch all\n context: \"edit\"\n }\n });\n\n case 2:\n this.fetchedAllBlockers = true;\n\n case 3:\n case \"end\":\n return _context3.stop();\n }\n }\n }, _callee3, this);\n }));\n this.fetchPresetsBlocker = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee4() {\n var _yield$request, items, _i2, _Object$keys, pid;\n\n return _regeneratorRuntime.wrap(function _callee4$(_context4) {\n while (1) {\n switch (_context4.prev = _context4.next) {\n case 0:\n this.busyPresetsBlocker = true;\n _context4.prev = 1;\n _context4.next = 4;\n return request({\n location: locationRestPresetsBlockerGet\n });\n\n case 4:\n _yield$request = _context4.sent;\n items = _yield$request.items;\n\n // Save presets as object\n for (_i2 = 0, _Object$keys = Object.keys(items); _i2 < _Object$keys.length; _i2++) {\n pid = _Object$keys[_i2];\n this.presetsBlocker.set(pid, new BlockerPreset(items[pid], this));\n }\n\n _context4.next = 13;\n break;\n\n case 9:\n _context4.prev = 9;\n _context4.t0 = _context4[\"catch\"](1);\n console.log(_context4.t0);\n throw _context4.t0;\n\n case 13:\n _context4.prev = 13;\n this.busyPresetsBlocker = false;\n return _context4.finish(13);\n\n case 16:\n case \"end\":\n return _context4.stop();\n }\n }\n }, _callee4, this, [[1, 9, 13, 16]]);\n }));\n this.fetchPresetsCookie = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee5() {\n var _yield$request2, items, _i3, _Object$keys2, pid;\n\n return _regeneratorRuntime.wrap(function _callee5$(_context5) {\n while (1) {\n switch (_context5.prev = _context5.next) {\n case 0:\n this.busyPresetsCookie = true;\n _context5.prev = 1;\n _context5.next = 4;\n return request({\n location: locationRestPresetsCookiesGet\n });\n\n case 4:\n _yield$request2 = _context5.sent;\n items = _yield$request2.items;\n\n // Save presets as object\n for (_i3 = 0, _Object$keys2 = Object.keys(items); _i3 < _Object$keys2.length; _i3++) {\n pid = _Object$keys2[_i3];\n this.presetsCookie.set(pid, new CookiePreset(items[pid], this));\n }\n\n _context5.next = 13;\n break;\n\n case 9:\n _context5.prev = 9;\n _context5.t0 = _context5[\"catch\"](1);\n console.log(_context5.t0);\n throw _context5.t0;\n\n case 13:\n _context5.prev = 13;\n this.busyPresetsCookie = false;\n return _context5.finish(13);\n\n case 16:\n case \"end\":\n return _context5.stop();\n }\n }\n }, _callee5, this, [[1, 9, 13, 16]]);\n }));\n this.rootStore = rootStore;\n runInAction(function () {\n _this.groups = new CookieGroupCollection(_this);\n _this.blockers = new BlockerCollection(_this);\n });\n }\n\n _createClass(CookieStore, [{\n key: \"blockersCount\",\n get: function get() {\n return this.fetchedAllBlockers ? this.blockers.entries.size : this.rootStore.optionStore.allBlockerCount;\n }\n }, {\n key: \"cookiesCount\",\n get: function get() {\n return Array.from(this.groups.entries.values()).map(function (_ref) {\n var cookiesCount = _ref.cookiesCount;\n return cookiesCount;\n }).reduce(function (total, num) {\n return total + num;\n }, 0);\n }\n }, {\n key: \"essentialGroup\",\n get: function get() {\n if (this.groups.entries.size === 0) {\n return undefined;\n }\n\n var it = this.groups.entries.values();\n var group;\n\n while (group = it.next().value) {\n if (group.data.slug === this.rootStore.optionStore.others.essentialGroup) {\n break;\n }\n }\n\n return group;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n }]);\n\n return CookieStore;\n}(), (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"busy\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"groups\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"unassignedCookies\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return new Map();\n }\n}), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"blockers\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"presetsBlocker\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return new Map();\n }\n}), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"busyPresetsBlocker\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"presetsCookie\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return new Map();\n }\n}), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"busyPresetsCookie\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"fetchedAllBlockers\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _applyDecoratedDescriptor(_class.prototype, \"blockersCount\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"blockersCount\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"cookiesCount\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"cookiesCount\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"essentialGroup\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"essentialGroup\"), _class.prototype)), _class);\nexport { CookieStore };","import _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport _createForOfIteratorHelper from \"@babel/runtime/helpers/createForOfIteratorHelper\";\nimport _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6;\n\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { action, observable, flow, runInAction } from \"mobx\";\nimport { locationRestPresetsBannerGet } from \"../wp-api\";\nimport { request } from \"../utils\";\nimport { BannerPreset } from \"../models\";\nimport { getSidebarCustomize } from \"@devowl-wp/customize\";\nvar CustomizeBannerStore = (_class = /*#__PURE__*/function () {\n function CustomizeBannerStore(rootStore) {\n _classCallCheck(this, CustomizeBannerStore);\n\n _initializerDefineProperty(this, \"visible\", _descriptor, this);\n\n _initializerDefineProperty(this, \"animationVisible\", _descriptor2, this);\n\n _initializerDefineProperty(this, \"individualPrivacyOpen\", _descriptor3, this);\n\n _initializerDefineProperty(this, \"previewCheckboxActiveState\", _descriptor4, this);\n\n _initializerDefineProperty(this, \"busyPresets\", _descriptor5, this);\n\n _initializerDefineProperty(this, \"presets\", _descriptor6, this);\n\n this.rootStore = void 0;\n this.presetConstants = new Map();\n this.presetDefaults = new Map();\n this.debounceFromCustomize = {};\n this.fetchPresets = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {\n var _yield$request, defaults, constants, items, _i, _Object$keys, did, _i2, _Object$keys2, cid, _i3, _Object$keys3, pid;\n\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n this.busyPresets = true;\n _context.prev = 1;\n _context.next = 4;\n return request({\n location: locationRestPresetsBannerGet\n });\n\n case 4:\n _yield$request = _context.sent;\n defaults = _yield$request.defaults;\n constants = _yield$request.constants;\n items = _yield$request.items;\n\n // Save defaults\n for (_i = 0, _Object$keys = Object.keys(defaults); _i < _Object$keys.length; _i++) {\n did = _Object$keys[_i];\n this.presetDefaults.set(did, defaults[did]);\n } // Save constants\n\n\n for (_i2 = 0, _Object$keys2 = Object.keys(constants); _i2 < _Object$keys2.length; _i2++) {\n cid = _Object$keys2[_i2];\n this.presetConstants.set(cid, constants[cid]);\n } // Save presets as object\n\n\n for (_i3 = 0, _Object$keys3 = Object.keys(items); _i3 < _Object$keys3.length; _i3++) {\n pid = _Object$keys3[_i3];\n this.presets.set(pid, new BannerPreset(_objectSpread({\n id: pid\n }, items[pid]), this));\n }\n\n _context.next = 17;\n break;\n\n case 13:\n _context.prev = 13;\n _context.t0 = _context[\"catch\"](1);\n console.log(_context.t0);\n throw _context.t0;\n\n case 17:\n _context.prev = 17;\n this.busyPresets = false;\n return _context.finish(17);\n\n case 20:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, this, [[1, 13, 17, 20]]);\n }));\n this.rootStore = rootStore;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n _createClass(CustomizeBannerStore, [{\n key: \"setBannerFromCustomize\",\n value: function setBannerFromCustomize(section, setting, value) {\n var _this = this;\n\n var maybeDebounce = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;\n var customizeValuesBanner = this.rootStore.optionStore.others.customizeValuesBanner; // Apply debounce for specific settings\n\n var debounceSetting = setting.toString();\n\n if (maybeDebounce && [\"css\", \"animationInDuration\", \"animationOutDuration\"].indexOf(debounceSetting) > -1) {\n clearTimeout(this.debounceFromCustomize[debounceSetting]);\n this.debounceFromCustomize[debounceSetting] = setTimeout(function () {\n return _this.setBannerFromCustomize(section, setting, value, false);\n }, 500);\n } else {\n var currentValue = customizeValuesBanner[section][setting];\n customizeValuesBanner[section][setting] = value; // When we want to customize the animation out, let's simulate a \"hide\"\n\n if (debounceSetting.startsWith(\"animationOut\") && currentValue !== value) {\n this.forceAnimationOutSimulation();\n }\n }\n }\n }, {\n key: \"setBannerFromPreset\",\n value: function setBannerFromPreset(batchUpdates) {\n var _iterator = _createForOfIteratorHelper(batchUpdates),\n _step;\n\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var row = _step.value;\n\n var _row = _slicedToArray(row, 3),\n section = _row[0],\n setting = _row[1],\n value = _row[2];\n\n this.rootStore.optionStore.others.customizeValuesBanner[section][setting] = value;\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n }\n }, {\n key: \"forceAnimationOutSimulation\",\n value: function forceAnimationOutSimulation() {\n var _this2 = this;\n\n var customizeValuesBanner = this.rootStore.optionStore.others.customizeValuesBanner;\n\n if (customizeValuesBanner[\"layout\"][\"animationOut\"] === \"none\") {\n return;\n }\n\n this.animationVisible = false;\n setTimeout(function () {\n return runInAction(function () {\n _this2.animationVisible = true;\n });\n }, +customizeValuesBanner[\"layout\"][\"animationOutDuration\"] + 1000);\n }\n }, {\n key: \"setVisible\",\n value: function setVisible(state) {\n this.visible = state;\n }\n }, {\n key: \"setIndividualPrivacyOpen\",\n value: function setIndividualPrivacyOpen(state) {\n this.individualPrivacyOpen = state;\n }\n }, {\n key: \"setPreviewCheckboxActiveState\",\n value: function setPreviewCheckboxActiveState(state) {\n this.previewCheckboxActiveState = state;\n }\n /**\n * Allow developers to export the current customize settings via PHP.\n *\n * ```ts\n * realCookieBanner_customize.RootStore.get.customizeBannerStore.exportPhp()\n * ```\n */\n\n }, {\n key: \"exportPhp\",\n value: function exportPhp() {\n var _this3 = this;\n\n var result = {};\n var customize = getSidebarCustomize();\n this.presetDefaults.forEach(function (defaultValue, key) {\n var currentValue = customize(key).get(); // Fix booleans\n\n if (typeof defaultValue === \"boolean\") {\n currentValue = !!+currentValue;\n } else if (!isNaN(currentValue) && currentValue !== \"\") {\n // Fix integers\n currentValue = +currentValue;\n }\n\n if (JSON.stringify(defaultValue) !== JSON.stringify(currentValue)) {\n result[_this3.presetConstants.get(key)] = currentValue;\n }\n }); // Prepare output\n\n return this.jsonToPHPArray(result);\n }\n }, {\n key: \"jsonToPHPArray\",\n value: function jsonToPHPArray(result) {\n var output = JSON.stringify(result, null, 4).split(\"\\n\");\n output.shift();\n output.pop();\n return output.join(\"\\n\").replace(/^(\\s+)\"([A-Za-z\\\\]+::[A-Z_]+)\"(:)/gm, \"$1$2 =>\").replace(/^(\\s+)([A-Za-z\\\\]+)::/gm, function (full, spaces, namespaces) {\n return \"\".concat(spaces).concat(namespaces.replace(/\\\\\\\\/gm, \"\\\\\"), \"::\");\n });\n }\n }]);\n\n return CustomizeBannerStore;\n}(), (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"visible\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"animationVisible\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return true;\n }\n}), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"individualPrivacyOpen\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"previewCheckboxActiveState\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"busyPresets\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"presets\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return new Map();\n }\n}), _applyDecoratedDescriptor(_class.prototype, \"setBannerFromCustomize\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"setBannerFromCustomize\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setBannerFromPreset\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"setBannerFromPreset\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"forceAnimationOutSimulation\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"forceAnimationOutSimulation\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setVisible\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"setVisible\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setIndividualPrivacyOpen\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"setIndividualPrivacyOpen\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setPreviewCheckboxActiveState\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"setPreviewCheckboxActiveState\"), _class.prototype)), _class);\nexport { CustomizeBannerStore };","import _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/assertThisInitialized\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/createSuper\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35, _descriptor36, _descriptor37, _descriptor38, _descriptor39, _descriptor40, _descriptor41, _descriptor42, _descriptor43, _descriptor44, _descriptor45, _descriptor46, _descriptor47, _descriptor48, _descriptor49, _descriptor50, _descriptor51;\n\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { observable, runInAction, flow, action, computed } from \"mobx\";\nimport { BaseOptions } from \"@devowl-wp/utils\";\nimport { locationRestWpSettings, locationRestWpSettingsPatch, locationRestRevisionCurrentGet, locationRestRevisionCurrentPut, locationRestLiteDismissConfigPageProNotice, locationRestCountryBypassDatabasePut, locationRestMigrationDelete, locationRestNavMenuAddLinksPost } from \"../wp-api\";\nimport { request } from \"../utils\";\nimport { locationRestModalHintSeenPut } from \"../wp-api/modalHintSeen.put\";\nvar OptionStore = (_class = /*#__PURE__*/function (_BaseOptions) {\n _inherits(OptionStore, _BaseOptions);\n\n var _super = _createSuper(OptionStore);\n\n function OptionStore(rootStore) {\n var _this;\n\n _classCallCheck(this, OptionStore);\n\n _this = _super.call(this);\n\n _initializerDefineProperty(_this, \"busySettings\", _descriptor, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"busyCountryBypassUpdate\", _descriptor2, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"busyAddLinksToNavigationMenu\", _descriptor3, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"needsRevisionRetrigger\", _descriptor4, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"publicCookieCount\", _descriptor5, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"allCookieCount\", _descriptor6, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"allBlockerCount\", _descriptor7, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"allTcfVendorConfigurationCount\", _descriptor8, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"allScannerResultPresetsCount\", _descriptor9, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"allScannerResultExternalUrlsCount\", _descriptor10, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"cookieCounts\", _descriptor11, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"nav_menus\", _descriptor12, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"tcfVendorConfigurationCounts\", _descriptor13, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"hasGTM\", _descriptor14, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"hasMTM\", _descriptor15, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"contexts\", _descriptor16, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"dashboardMigration\", _descriptor17, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"fomoCoupon\", _descriptor18, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"bannerActive\", _descriptor19, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"blockerActive\", _descriptor20, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"imprintId\", _descriptor21, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"imprintExternalUrl\", _descriptor22, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"imprintIsExternalUrl\", _descriptor23, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"privacyPolicyId\", _descriptor24, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"privacyPolicyExternalUrl\", _descriptor25, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"privacyPolicyIsExternalUrl\", _descriptor26, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"hidePageIds\", _descriptor27, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"setCookiesViaManager\", _descriptor28, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"acceptAllForBots\", _descriptor29, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"respectDoNotTrack\", _descriptor30, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"cookieDuration\", _descriptor31, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"saveIp\", _descriptor32, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"ePrivacyUSA\", _descriptor33, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"ageNotice\", _descriptor34, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"listServicesNotice\", _descriptor35, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"consentForwarding\", _descriptor36, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"forwardTo\", _descriptor37, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"crossDomains\", _descriptor38, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"affiliateLink\", _descriptor39, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"affiliateLabelBehind\", _descriptor40, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"affiliateLabelDescription\", _descriptor41, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"countryBypass\", _descriptor42, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"countryBypassCountries\", _descriptor43, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"countryBypassType\", _descriptor44, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"countryBypassDbDownloadTime\", _descriptor45, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"tcf\", _descriptor46, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"tcfPublisherCc\", _descriptor47, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"tcfAcceptedTime\", _descriptor48, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"tcfGvlDownloadTime\", _descriptor49, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"tcfScopeOfConsent\", _descriptor50, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"others\", _descriptor51, _assertThisInitialized(_this));\n\n _this.pureSlug = void 0;\n _this.pureSlugCamelCased = void 0;\n _this.rootStore = void 0;\n _this.fetchSettings = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(setFrom) {\n var result;\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n this.busySettings = true;\n _context.prev = 1;\n _context.t0 = setFrom;\n\n if (_context.t0) {\n _context.next = 7;\n break;\n }\n\n _context.next = 6;\n return request({\n location: locationRestWpSettings\n });\n\n case 6:\n _context.t0 = _context.sent;\n\n case 7:\n result = _context.t0;\n this.bannerActive = result[\"rcb-banner-active\"];\n this.blockerActive = result[\"rcb-blocker-active\"];\n this.imprintId = result[\"rcb-banner-legal-imprint\"];\n this.imprintExternalUrl = result[\"rcb-banner-legal-imprint-external-url\"];\n this.imprintIsExternalUrl = result[\"rcb-banner-legal-imprint-is-external-url\"];\n this.privacyPolicyId = result[\"rcb-banner-legal-privacy-policy\"];\n this.privacyPolicyExternalUrl = result[\"rcb-banner-legal-privacy-policy-external-url\"];\n this.privacyPolicyIsExternalUrl = result[\"rcb-banner-legal-privacy-policy-is-external-url\"];\n this.hidePageIds = (result[\"rcb-hide-page-ids\"] || \"\").split(\",\").map(Number).filter(Boolean);\n this.setCookiesViaManager = result[\"rcb-set-cookies-via-manager\"] || \"none\";\n this.acceptAllForBots = result[\"rcb-accept-all-for-bots\"];\n this.respectDoNotTrack = result[\"rcb-respect-do-not-track\"]; // this.onlyEuCookieBanner = result[\"rcb-only-eu-cookie-banner\"] || false;\n\n this.cookieDuration = result[\"rcb-cookie-duration\"];\n this.saveIp = result[\"rcb-save-ip\"];\n this.ePrivacyUSA = result[\"rcb-eprivacy-usa\"];\n this.ageNotice = result[\"rcb-age-notice\"];\n this.listServicesNotice = result[\"rcb-list-services-notice\"];\n this.consentForwarding = result[\"rcb-consent-forwarding\"] || false;\n this.forwardTo = (result[\"rcb-forward-to\"] || \"\").split(\"|\").filter(Boolean);\n this.crossDomains = result[\"rcb-cross-domains\"] || \"\";\n this.countryBypass = result[\"rcb-country-bypass\"];\n this.countryBypassCountries = (result[\"rcb-country-bypass-countries\"] || \"\").split(\",\").filter(Boolean);\n this.countryBypassType = result[\"rcb-country-bypass-type\"];\n this.countryBypassDbDownloadTime = result[\"rcb-country-bypass-db-download-time\"];\n this.tcf = result[\"rcb-tcf\"];\n this.tcfPublisherCc = result[\"rcb-tcf-publisher-cc\"];\n this.tcfAcceptedTime = result[\"rcb-tcf-accepted-time\"];\n this.tcfGvlDownloadTime = result[\"rcb-tcf-gvl-download-time\"];\n this.tcfScopeOfConsent = result[\"rcb-tcf-scope-of-consent\"];\n\n if (process.env.PLUGIN_CTX === \"pro\") {\n /* onlypro: start */\n this.affiliateLink = result[\"rcb-affiliate-link\"];\n this.affiliateLabelBehind = result[\"rcb-affiliate-label-behind\"];\n this.affiliateLabelDescription = result[\"rcb-affiliate-description\"];\n /* onlypro: end */\n }\n\n _context.next = 40;\n return this.fetchCurrentRevision();\n\n case 40:\n _context.next = 46;\n break;\n\n case 42:\n _context.prev = 42;\n _context.t1 = _context[\"catch\"](1);\n console.log(_context.t1);\n throw _context.t1;\n\n case 46:\n _context.prev = 46;\n this.busySettings = false;\n return _context.finish(46);\n\n case 49:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, this, [[1, 42, 46, 49]]);\n }));\n _this.updateSettings = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(_ref) {\n var bannerActive, blockerActive, imprintId, privacyPolicyId, hidePageIds, setCookiesViaManager, acceptAllForBots, respectDoNotTrack, cookieDuration, saveIp, ePrivacyUSA, ageNotice, listServicesNotice, consentForwarding, forwardTo, crossDomains, affiliateLink, affiliateLabelBehind, affiliateLabelDescription, countryBypass, countryBypassCountries, countryBypassType, tcf, tcfPublisherCc, tcfScopeOfConsent, result;\n return _regeneratorRuntime.wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n bannerActive = _ref.bannerActive, blockerActive = _ref.blockerActive, imprintId = _ref.imprintId, privacyPolicyId = _ref.privacyPolicyId, hidePageIds = _ref.hidePageIds, setCookiesViaManager = _ref.setCookiesViaManager, acceptAllForBots = _ref.acceptAllForBots, respectDoNotTrack = _ref.respectDoNotTrack, cookieDuration = _ref.cookieDuration, saveIp = _ref.saveIp, ePrivacyUSA = _ref.ePrivacyUSA, ageNotice = _ref.ageNotice, listServicesNotice = _ref.listServicesNotice, consentForwarding = _ref.consentForwarding, forwardTo = _ref.forwardTo, crossDomains = _ref.crossDomains, affiliateLink = _ref.affiliateLink, affiliateLabelBehind = _ref.affiliateLabelBehind, affiliateLabelDescription = _ref.affiliateLabelDescription, countryBypass = _ref.countryBypass, countryBypassCountries = _ref.countryBypassCountries, countryBypassType = _ref.countryBypassType, tcf = _ref.tcf, tcfPublisherCc = _ref.tcfPublisherCc, tcfScopeOfConsent = _ref.tcfScopeOfConsent;\n this.busySettings = true;\n _context2.prev = 2;\n _context2.next = 5;\n return request({\n location: locationRestWpSettingsPatch,\n request: _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, bannerActive === undefined ? {} : {\n \"rcb-banner-active\": bannerActive\n }), blockerActive === undefined ? {} : {\n \"rcb-blocker-active\": blockerActive\n }), imprintId === undefined ? {} : {\n \"rcb-banner-legal-imprint\": imprintId\n }), privacyPolicyId === undefined ? {} : {\n \"rcb-banner-legal-privacy-policy\": privacyPolicyId\n }), hidePageIds === undefined ? {} : {\n \"rcb-hide-page-ids\": hidePageIds.join(\",\")\n }), setCookiesViaManager === undefined ? {} : {\n \"rcb-set-cookies-via-manager\": setCookiesViaManager\n }), acceptAllForBots === undefined ? {} : {\n \"rcb-accept-all-for-bots\": acceptAllForBots\n }), respectDoNotTrack === undefined ? {} : {\n \"rcb-respect-do-not-track\": respectDoNotTrack\n }), cookieDuration === undefined ? {} : {\n \"rcb-cookie-duration\": cookieDuration\n }), saveIp === undefined ? {} : {\n \"rcb-save-ip\": saveIp\n }), ePrivacyUSA === undefined ? {} : {\n \"rcb-eprivacy-usa\": ePrivacyUSA\n }), ageNotice === undefined ? {} : {\n \"rcb-age-notice\": ageNotice\n }), listServicesNotice === undefined ? {} : {\n \"rcb-list-services-notice\": listServicesNotice\n }), consentForwarding === undefined ? {} : {\n \"rcb-consent-forwarding\": consentForwarding\n }), forwardTo === undefined ? {} : {\n \"rcb-forward-to\": forwardTo.join(\"|\")\n }), crossDomains === undefined ? {} : {\n \"rcb-cross-domains\": crossDomains\n }), countryBypass === undefined ? {} : {\n \"rcb-country-bypass\": countryBypass\n }), countryBypassCountries === undefined ? {} : {\n \"rcb-country-bypass-countries\": countryBypassCountries.join(\",\")\n }), countryBypassType === undefined ? {} : {\n \"rcb-country-bypass-type\": countryBypassType\n }), tcf === undefined ? {} : {\n \"rcb-tcf\": tcf\n }), tcfPublisherCc === undefined ? {} : {\n \"rcb-tcf-publisher-cc\": tcfPublisherCc\n }), tcfScopeOfConsent === undefined ? {} : {\n \"rcb-tcf-scope-of-consent\": tcfScopeOfConsent\n }), process.env.PLUGIN_CTX === \"pro\" ? affiliateLink === undefined ? {} : {\n \"rcb-affiliate-link\": affiliateLink\n } : {}), process.env.PLUGIN_CTX === \"pro\" ? affiliateLabelBehind === undefined ? {} : {\n \"rcb-affiliate-label-behind\": affiliateLabelBehind\n } : {}), process.env.PLUGIN_CTX === \"pro\" ? affiliateLabelDescription === undefined ? {} : {\n \"rcb-affiliate-description\": affiliateLabelDescription\n } : {})\n });\n\n case 5:\n result = _context2.sent;\n this.fetchSettings(result);\n this.rootStore.checklistStore.probablyFetchByChangedItem([\"save-settings\", \"activate-banner\", \"privacy-policy\"]);\n _context2.next = 14;\n break;\n\n case 10:\n _context2.prev = 10;\n _context2.t0 = _context2[\"catch\"](2);\n console.log(_context2.t0);\n throw _context2.t0;\n\n case 14:\n _context2.prev = 14;\n this.busySettings = false;\n return _context2.finish(14);\n\n case 17:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2, this, [[2, 10, 14, 17]]);\n }));\n _this.fetchCurrentRevision = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {\n return _regeneratorRuntime.wrap(function _callee3$(_context3) {\n while (1) {\n switch (_context3.prev = _context3.next) {\n case 0:\n this.busySettings = true;\n _context3.prev = 1;\n _context3.t0 = this;\n _context3.next = 5;\n return request({\n location: locationRestRevisionCurrentGet\n });\n\n case 5:\n _context3.t1 = _context3.sent;\n\n _context3.t0.setFromCurrentRevision.call(_context3.t0, _context3.t1);\n\n _context3.next = 13;\n break;\n\n case 9:\n _context3.prev = 9;\n _context3.t2 = _context3[\"catch\"](1);\n console.log(_context3.t2);\n throw _context3.t2;\n\n case 13:\n _context3.prev = 13;\n this.busySettings = false;\n return _context3.finish(13);\n\n case 16:\n case \"end\":\n return _context3.stop();\n }\n }\n }, _callee3, this, [[1, 9, 13, 16]]);\n }));\n _this.updateCurrentRevision = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee4(data) {\n return _regeneratorRuntime.wrap(function _callee4$(_context4) {\n while (1) {\n switch (_context4.prev = _context4.next) {\n case 0:\n this.busySettings = true;\n _context4.prev = 1;\n _context4.t0 = this;\n _context4.next = 5;\n return request({\n location: locationRestRevisionCurrentPut,\n request: data\n });\n\n case 5:\n _context4.t1 = _context4.sent;\n\n _context4.t0.setFromCurrentRevision.call(_context4.t0, _context4.t1);\n\n _context4.next = 13;\n break;\n\n case 9:\n _context4.prev = 9;\n _context4.t2 = _context4[\"catch\"](1);\n console.log(_context4.t2);\n throw _context4.t2;\n\n case 13:\n _context4.prev = 13;\n this.busySettings = false;\n return _context4.finish(13);\n\n case 16:\n case \"end\":\n return _context4.stop();\n }\n }\n }, _callee4, this, [[1, 9, 13, 16]]);\n }));\n _this.setModalHintSeen = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee5(identifier) {\n return _regeneratorRuntime.wrap(function _callee5$(_context5) {\n while (1) {\n switch (_context5.prev = _context5.next) {\n case 0:\n this.busySettings = true;\n _context5.prev = 1;\n this.others.modalHints.push(identifier); // Immediate push as this can never fail\n\n _context5.next = 5;\n return request({\n location: locationRestModalHintSeenPut,\n request: {\n identifier: identifier\n }\n });\n\n case 5:\n _context5.next = 11;\n break;\n\n case 7:\n _context5.prev = 7;\n _context5.t0 = _context5[\"catch\"](1);\n console.log(_context5.t0);\n throw _context5.t0;\n\n case 11:\n _context5.prev = 11;\n this.busySettings = false;\n return _context5.finish(11);\n\n case 14:\n case \"end\":\n return _context5.stop();\n }\n }\n }, _callee5, this, [[1, 7, 11, 14]]);\n }));\n _this.dismissConfigProNotice = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee6() {\n return _regeneratorRuntime.wrap(function _callee6$(_context6) {\n while (1) {\n switch (_context6.prev = _context6.next) {\n case 0:\n _context6.prev = 0;\n // Immediate set because it can not fail\n this.others.isConfigProNoticeVisible = false;\n _context6.next = 4;\n return request({\n location: locationRestLiteDismissConfigPageProNotice\n });\n\n case 4:\n _context6.next = 10;\n break;\n\n case 6:\n _context6.prev = 6;\n _context6.t0 = _context6[\"catch\"](0);\n console.log(_context6.t0);\n throw _context6.t0;\n\n case 10:\n case \"end\":\n return _context6.stop();\n }\n }\n }, _callee6, this, [[0, 6]]);\n }));\n _this.dismissMigration = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee7() {\n var migration;\n return _regeneratorRuntime.wrap(function _callee7$(_context7) {\n while (1) {\n switch (_context7.prev = _context7.next) {\n case 0:\n _context7.prev = 0;\n // Immediate set because it can not fail\n migration = this.dashboardMigration.id;\n this.dashboardMigration = undefined;\n _context7.next = 5;\n return request({\n location: locationRestMigrationDelete,\n params: {\n migration: migration\n }\n });\n\n case 5:\n _context7.next = 11;\n break;\n\n case 7:\n _context7.prev = 7;\n _context7.t0 = _context7[\"catch\"](0);\n console.log(_context7.t0);\n throw _context7.t0;\n\n case 11:\n case \"end\":\n return _context7.stop();\n }\n }\n }, _callee7, this, [[0, 7]]);\n }));\n _this.addLinksToNavigationMenu = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee8(id) {\n var _yield$request, success;\n\n return _regeneratorRuntime.wrap(function _callee8$(_context8) {\n while (1) {\n switch (_context8.prev = _context8.next) {\n case 0:\n this.busyAddLinksToNavigationMenu = true;\n _context8.prev = 1;\n _context8.next = 4;\n return request({\n location: locationRestNavMenuAddLinksPost,\n request: {\n id: id\n }\n });\n\n case 4:\n _yield$request = _context8.sent;\n success = _yield$request.success;\n\n if (!success) {\n _context8.next = 10;\n break;\n }\n\n this.rootStore.checklistStore.fetchChecklist();\n _context8.next = 10;\n return this.fetchCurrentRevision();\n\n case 10:\n return _context8.abrupt(\"return\", success);\n\n case 13:\n _context8.prev = 13;\n _context8.t0 = _context8[\"catch\"](1);\n console.log(_context8.t0);\n throw _context8.t0;\n\n case 17:\n _context8.prev = 17;\n this.busyAddLinksToNavigationMenu = false;\n return _context8.finish(17);\n\n case 20:\n case \"end\":\n return _context8.stop();\n }\n }\n }, _callee8, this, [[1, 13, 17, 20]]);\n }));\n _this.updateCountryBypassDatabase = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee9() {\n var _yield$request2, dbDownloadTime;\n\n return _regeneratorRuntime.wrap(function _callee9$(_context9) {\n while (1) {\n switch (_context9.prev = _context9.next) {\n case 0:\n this.busyCountryBypassUpdate = true;\n _context9.prev = 1;\n _context9.next = 4;\n return request({\n location: locationRestCountryBypassDatabasePut\n });\n\n case 4:\n _yield$request2 = _context9.sent;\n dbDownloadTime = _yield$request2.dbDownloadTime;\n this.countryBypassDbDownloadTime = dbDownloadTime;\n _context9.next = 13;\n break;\n\n case 9:\n _context9.prev = 9;\n _context9.t0 = _context9[\"catch\"](1);\n console.log(_context9.t0);\n throw _context9.t0;\n\n case 13:\n _context9.prev = 13;\n this.busyCountryBypassUpdate = false;\n return _context9.finish(13);\n\n case 16:\n case \"end\":\n return _context9.stop();\n }\n }\n }, _callee9, this, [[1, 9, 13, 16]]);\n }));\n _this.rootStore = rootStore;\n _this.pureSlug = BaseOptions.getPureSlug(process.env);\n _this.pureSlugCamelCased = BaseOptions.getPureSlug(process.env, true); // Use the localized WP object to fill this object values.\n\n runInAction(function () {\n return Object.assign(_assertThisInitialized(_this), window[_this.pureSlugCamelCased]);\n });\n return _this;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n _createClass(OptionStore, [{\n key: \"isOnlyRcbCookieCreated\",\n get:\n /* @observable\n public onlyEuCookieBanner: ResponseRouteWpSettings[\"rcb-only-eu-cookie-banner\"]; */\n // Affiliate settings are only available and registered in PRO version\n // Country Bypass settings (all optional for free version)\n // TCF compatibility settings (all optional for free version)\n // Implement \"others\" property in your Assets.php;\n\n /**\n * Ignore real-cookie-banner cookie as it is hidden when no other cookie is created.\n */\n function get() {\n return this.allCookieCount === 1 && (!this.tcf || !this.allTcfVendorConfigurationCount);\n }\n }, {\n key: \"areSettingsFetched\",\n get: function get() {\n return this.respectDoNotTrack !== undefined;\n }\n }, {\n key: \"setFromCurrentRevision\",\n value: function setFromCurrentRevision(_ref2) {\n var contexts = _ref2.contexts,\n has_gtm = _ref2.has_gtm,\n has_mtm = _ref2.has_mtm,\n needs_retrigger = _ref2.needs_retrigger,\n public_cookie_count = _ref2.public_cookie_count,\n all_cookie_count = _ref2.all_cookie_count,\n all_blocker_count = _ref2.all_blocker_count,\n all_tcf_vendor_configuration_count = _ref2.all_tcf_vendor_configuration_count,\n all_scanner_result_presets_count = _ref2.all_scanner_result_presets_count,\n all_scanner_result_external_urls_count = _ref2.all_scanner_result_external_urls_count,\n cookie_counts = _ref2.cookie_counts,\n nav_menus = _ref2.nav_menus,\n tcf_vendor_configuration_counts = _ref2.tcf_vendor_configuration_counts,\n dashboard_migration = _ref2.dashboard_migration,\n fomo_coupon = _ref2.fomo_coupon;\n this.hasGTM = has_gtm;\n this.hasMTM = has_mtm;\n this.needsRevisionRetrigger = needs_retrigger;\n this.publicCookieCount = public_cookie_count;\n this.allCookieCount = all_cookie_count;\n this.allBlockerCount = all_blocker_count;\n this.allTcfVendorConfigurationCount = all_tcf_vendor_configuration_count;\n this.allScannerResultPresetsCount = all_scanner_result_presets_count;\n this.allScannerResultExternalUrlsCount = all_scanner_result_external_urls_count;\n this.cookieCounts = cookie_counts;\n this.nav_menus = nav_menus;\n this.tcfVendorConfigurationCounts = tcf_vendor_configuration_counts;\n this.contexts = contexts;\n this.dashboardMigration = dashboard_migration;\n this.fomoCoupon = fomo_coupon;\n }\n }, {\n key: \"setShowLicenseFormImmediate\",\n value: function setShowLicenseFormImmediate(state, isLicensed) {\n this.others.showLicenseFormImmediate = state;\n this.others.isLicensed = isLicensed;\n }\n }]);\n\n return OptionStore;\n}(BaseOptions), (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"busySettings\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"busyCountryBypassUpdate\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"busyAddLinksToNavigationMenu\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"needsRevisionRetrigger\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"publicCookieCount\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return 0;\n }\n}), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"allCookieCount\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return 0;\n }\n}), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"allBlockerCount\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return 0;\n }\n}), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"allTcfVendorConfigurationCount\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return 0;\n }\n}), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"allScannerResultPresetsCount\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return 0;\n }\n}), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"allScannerResultExternalUrlsCount\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return 0;\n }\n}), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"cookieCounts\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return {\n draft: 0,\n private: 0,\n publish: 0\n };\n }\n}), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"nav_menus\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return [];\n }\n}), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"tcfVendorConfigurationCounts\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, \"hasGTM\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor15 = _applyDecoratedDescriptor(_class.prototype, \"hasMTM\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor16 = _applyDecoratedDescriptor(_class.prototype, \"contexts\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return {\n \"\": \"\"\n };\n }\n}), _descriptor17 = _applyDecoratedDescriptor(_class.prototype, \"dashboardMigration\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor18 = _applyDecoratedDescriptor(_class.prototype, \"fomoCoupon\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor19 = _applyDecoratedDescriptor(_class.prototype, \"bannerActive\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor20 = _applyDecoratedDescriptor(_class.prototype, \"blockerActive\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor21 = _applyDecoratedDescriptor(_class.prototype, \"imprintId\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor22 = _applyDecoratedDescriptor(_class.prototype, \"imprintExternalUrl\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor23 = _applyDecoratedDescriptor(_class.prototype, \"imprintIsExternalUrl\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor24 = _applyDecoratedDescriptor(_class.prototype, \"privacyPolicyId\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor25 = _applyDecoratedDescriptor(_class.prototype, \"privacyPolicyExternalUrl\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor26 = _applyDecoratedDescriptor(_class.prototype, \"privacyPolicyIsExternalUrl\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor27 = _applyDecoratedDescriptor(_class.prototype, \"hidePageIds\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor28 = _applyDecoratedDescriptor(_class.prototype, \"setCookiesViaManager\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor29 = _applyDecoratedDescriptor(_class.prototype, \"acceptAllForBots\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor30 = _applyDecoratedDescriptor(_class.prototype, \"respectDoNotTrack\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor31 = _applyDecoratedDescriptor(_class.prototype, \"cookieDuration\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor32 = _applyDecoratedDescriptor(_class.prototype, \"saveIp\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor33 = _applyDecoratedDescriptor(_class.prototype, \"ePrivacyUSA\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor34 = _applyDecoratedDescriptor(_class.prototype, \"ageNotice\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor35 = _applyDecoratedDescriptor(_class.prototype, \"listServicesNotice\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor36 = _applyDecoratedDescriptor(_class.prototype, \"consentForwarding\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor37 = _applyDecoratedDescriptor(_class.prototype, \"forwardTo\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor38 = _applyDecoratedDescriptor(_class.prototype, \"crossDomains\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor39 = _applyDecoratedDescriptor(_class.prototype, \"affiliateLink\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor40 = _applyDecoratedDescriptor(_class.prototype, \"affiliateLabelBehind\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor41 = _applyDecoratedDescriptor(_class.prototype, \"affiliateLabelDescription\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor42 = _applyDecoratedDescriptor(_class.prototype, \"countryBypass\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor43 = _applyDecoratedDescriptor(_class.prototype, \"countryBypassCountries\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor44 = _applyDecoratedDescriptor(_class.prototype, \"countryBypassType\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor45 = _applyDecoratedDescriptor(_class.prototype, \"countryBypassDbDownloadTime\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor46 = _applyDecoratedDescriptor(_class.prototype, \"tcf\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor47 = _applyDecoratedDescriptor(_class.prototype, \"tcfPublisherCc\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor48 = _applyDecoratedDescriptor(_class.prototype, \"tcfAcceptedTime\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor49 = _applyDecoratedDescriptor(_class.prototype, \"tcfGvlDownloadTime\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor50 = _applyDecoratedDescriptor(_class.prototype, \"tcfScopeOfConsent\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor51 = _applyDecoratedDescriptor(_class.prototype, \"others\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class.prototype, \"isOnlyRcbCookieCreated\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"isOnlyRcbCookieCreated\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"areSettingsFetched\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"areSettingsFetched\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setFromCurrentRevision\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"setFromCurrentRevision\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setShowLicenseFormImmediate\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"setShowLicenseFormImmediate\"), _class.prototype)), _class);\nexport { OptionStore };","import _toConsumableArray from \"@babel/runtime/helpers/toConsumableArray\";\nimport _createForOfIteratorHelper from \"@babel/runtime/helpers/createForOfIteratorHelper\";\nimport _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9;\n\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { computed, flow, observable, action } from \"mobx\";\nimport { ScannerResultExternalUrl, ScannerResultPreset, ScannerResultExternalUrlSingle } from \"../models\";\nimport { request } from \"../utils\";\nimport { locationRestScannerResultAllExternalUrlsByHostGet, locationRestScannerResultPresetsGet, locationRestScannerQueuePost, locationRestScannerResultExternalsGet, locationRestScannerResultMarkupGet } from \"../wp-api\";\nvar ScannerStore = (_class = /*#__PURE__*/function () {\n function ScannerStore(rootStore) {\n _classCallCheck(this, ScannerStore);\n\n _initializerDefineProperty(this, \"resultPresets\", _descriptor, this);\n\n _initializerDefineProperty(this, \"busyResultPresets\", _descriptor2, this);\n\n _initializerDefineProperty(this, \"fetchedAllResultPresets\", _descriptor3, this);\n\n _initializerDefineProperty(this, \"resultExternalUrls\", _descriptor4, this);\n\n _initializerDefineProperty(this, \"resultAllExternalUrls\", _descriptor5, this);\n\n _initializerDefineProperty(this, \"busyExternalUrls\", _descriptor6, this);\n\n _initializerDefineProperty(this, \"fetchedAllResultExternalUrls\", _descriptor7, this);\n\n _initializerDefineProperty(this, \"busyMarkup\", _descriptor8, this);\n\n _initializerDefineProperty(this, \"resultMarkup\", _descriptor9, this);\n\n this.rootStore = void 0;\n this.addUrlsToQueue = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(data) {\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 request({\n location: locationRestScannerQueuePost,\n request: data\n });\n\n case 2:\n return _context.abrupt(\"return\", _context.sent);\n\n case 3:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n this.fetchResultPresets = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {\n return _regeneratorRuntime.wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n this.busyResultPresets = true;\n _context2.prev = 1;\n _context2.t0 = this;\n _context2.next = 5;\n return request({\n location: locationRestScannerResultPresetsGet\n });\n\n case 5:\n _context2.t1 = _context2.sent;\n\n _context2.t0.resultPresetsFromResponse.call(_context2.t0, _context2.t1);\n\n this.fetchedAllResultPresets = true;\n _context2.next = 14;\n break;\n\n case 10:\n _context2.prev = 10;\n _context2.t2 = _context2[\"catch\"](1);\n console.log(_context2.t2);\n throw _context2.t2;\n\n case 14:\n _context2.prev = 14;\n this.busyResultPresets = false;\n return _context2.finish(14);\n\n case 17:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2, this, [[1, 10, 14, 17]]);\n }));\n this.fetchResultExternals = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {\n return _regeneratorRuntime.wrap(function _callee3$(_context3) {\n while (1) {\n switch (_context3.prev = _context3.next) {\n case 0:\n this.busyExternalUrls = true;\n _context3.prev = 1;\n _context3.t0 = this;\n _context3.next = 5;\n return request({\n location: locationRestScannerResultExternalsGet\n });\n\n case 5:\n _context3.t1 = _context3.sent;\n\n _context3.t0.resultExternalUrlsFromResponse.call(_context3.t0, _context3.t1);\n\n this.fetchedAllResultExternalUrls = true;\n _context3.next = 14;\n break;\n\n case 10:\n _context3.prev = 10;\n _context3.t2 = _context3[\"catch\"](1);\n console.log(_context3.t2);\n throw _context3.t2;\n\n case 14:\n _context3.prev = 14;\n this.busyExternalUrls = false;\n return _context3.finish(14);\n\n case 17:\n case \"end\":\n return _context3.stop();\n }\n }\n }, _callee3, this, [[1, 10, 14, 17]]);\n }));\n this.fetchResultAllExternals = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee4(instance) {\n var type, identifier, _yield$request, items, map, existing, _iterator, _step, probablyStaleKey, _i, _Object$values, item;\n\n return _regeneratorRuntime.wrap(function _callee4$(_context4) {\n while (1) {\n switch (_context4.prev = _context4.next) {\n case 0:\n type = instance instanceof ScannerResultExternalUrl ? \"host\" : \"preset\";\n identifier = instance.identifier;\n instance.busy = true;\n _context4.prev = 3;\n _context4.next = 6;\n return request({\n location: locationRestScannerResultAllExternalUrlsByHostGet,\n params: {\n type: type,\n identifier: type === \"host\" ? identifier.replace(/\\./g, \"_\") : identifier\n }\n });\n\n case 6:\n _yield$request = _context4.sent;\n items = _yield$request.items;\n // Check if map for this host already exists\n map = this.resultAllExternalUrls.get(identifier);\n\n if (!map) {\n map = new Map();\n } else {\n // As we load all data within one request, we can safely remove stale objects\n existing = items.map(function (_ref) {\n var id = _ref.id;\n return id;\n });\n _iterator = _createForOfIteratorHelper(map.keys());\n\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n probablyStaleKey = _step.value;\n\n if (existing.indexOf(probablyStaleKey) === -1) {\n map.delete(probablyStaleKey);\n }\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n } // Save presets as objects\n\n\n for (_i = 0, _Object$values = Object.values(items); _i < _Object$values.length; _i++) {\n item = _Object$values[_i];\n map.set(item.id, new ScannerResultExternalUrlSingle(item, this));\n this.resultAllExternalUrls.set(identifier, map);\n }\n\n _context4.next = 17;\n break;\n\n case 13:\n _context4.prev = 13;\n _context4.t0 = _context4[\"catch\"](3);\n console.log(_context4.t0);\n throw _context4.t0;\n\n case 17:\n _context4.prev = 17;\n instance.busy = false;\n return _context4.finish(17);\n\n case 20:\n case \"end\":\n return _context4.stop();\n }\n }\n }, _callee4, this, [[3, 13, 17, 20]]);\n }));\n this.fetchMarkup = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee5(id) {\n var result;\n return _regeneratorRuntime.wrap(function _callee5$(_context5) {\n while (1) {\n switch (_context5.prev = _context5.next) {\n case 0:\n this.busyMarkup = true;\n _context5.prev = 1;\n _context5.next = 4;\n return request({\n location: locationRestScannerResultMarkupGet,\n params: {\n id: id\n }\n });\n\n case 4:\n result = _context5.sent;\n this.resultMarkup.set(id, result);\n _context5.next = 12;\n break;\n\n case 8:\n _context5.prev = 8;\n _context5.t0 = _context5[\"catch\"](1);\n console.log(_context5.t0);\n throw _context5.t0;\n\n case 12:\n _context5.prev = 12;\n this.busyMarkup = false;\n return _context5.finish(12);\n\n case 15:\n case \"end\":\n return _context5.stop();\n }\n }\n }, _callee5, this, [[1, 8, 12, 15]]);\n }));\n this.rootStore = rootStore;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n _createClass(ScannerStore, [{\n key: \"sortedExternalUrls\",\n get: function get() {\n var result = Array.from(this.resultExternalUrls.values()); // Move inactive items to the bottom list\n\n result.sort(function (a, b) {\n return a.inactive === b.inactive ? 0 : a.inactive ? 1 : -1;\n });\n return result;\n }\n }, {\n key: \"presetsCount\",\n get: function get() {\n return this.fetchedAllResultPresets ? this.resultPresets.size : this.rootStore.optionStore.allScannerResultPresetsCount;\n }\n }, {\n key: \"externalUrlsCount\",\n get: function get() {\n return this.fetchedAllResultExternalUrls ? this.resultExternalUrls.size : this.rootStore.optionStore.allScannerResultExternalUrlsCount;\n }\n }, {\n key: \"canShowResults\",\n get: function get() {\n var _this$rootStore$check;\n\n return this.presetsCount + this.externalUrlsCount > 0 && ((_this$rootStore$check = this.rootStore.checklistStore.checklist) === null || _this$rootStore$check === void 0 ? void 0 : _this$rootStore$check.items[\"scanner\"].checked);\n }\n }, {\n key: \"foundScanResultsCount\",\n get: function get() {\n return this.resultPresets.size + this.resultExternalUrls.size;\n }\n /**\n * Count of presets and external URL hosts which still needs attention.\n */\n\n }, {\n key: \"needsAttentionCount\",\n get: function get() {\n return [].concat(_toConsumableArray(this.resultPresets.values()), _toConsumableArray(this.resultExternalUrls.values())).filter(function (_ref2) {\n var inactive = _ref2.inactive;\n return !inactive;\n }).length;\n }\n }, {\n key: \"resultPresetsFromResponse\",\n value: function resultPresetsFromResponse(_ref3) {\n var items = _ref3.items;\n // As we load all data within one request, we can safely remove stale objects\n var existing = Object.keys(items);\n\n var _iterator2 = _createForOfIteratorHelper(this.resultPresets.keys()),\n _step2;\n\n try {\n for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {\n var probablyStaleKey = _step2.value;\n\n if (existing.indexOf(probablyStaleKey) === -1) {\n this.resultPresets.delete(probablyStaleKey);\n }\n } // Save presets as object\n\n } catch (err) {\n _iterator2.e(err);\n } finally {\n _iterator2.f();\n }\n\n for (var _i2 = 0, _existing = existing; _i2 < _existing.length; _i2++) {\n var pid = _existing[_i2];\n this.resultPresets.set(pid, new ScannerResultPreset(items[pid], this));\n }\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n }, {\n key: \"resultExternalUrlsFromResponse\",\n value: function resultExternalUrlsFromResponse(_ref4) {\n var items = _ref4.items;\n // As we load all data within one request, we can safely remove stale objects\n var existing = Object.keys(items);\n\n var _iterator3 = _createForOfIteratorHelper(this.resultExternalUrls.keys()),\n _step3;\n\n try {\n for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {\n var probablyStaleKey = _step3.value;\n\n if (existing.indexOf(probablyStaleKey) === -1) {\n this.resultExternalUrls.delete(probablyStaleKey);\n }\n } // Save presets as objects\n\n } catch (err) {\n _iterator3.e(err);\n } finally {\n _iterator3.f();\n }\n\n for (var _i3 = 0, _existing2 = existing; _i3 < _existing2.length; _i3++) {\n var externalHost = _existing2[_i3];\n this.resultExternalUrls.set(externalHost, new ScannerResultExternalUrl(items[externalHost], this));\n }\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n }]);\n\n return ScannerStore;\n}(), (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"resultPresets\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return new Map();\n }\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"busyResultPresets\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"fetchedAllResultPresets\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"resultExternalUrls\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return new Map();\n }\n}), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"resultAllExternalUrls\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return new Map();\n }\n}), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"busyExternalUrls\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"fetchedAllResultExternalUrls\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"busyMarkup\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"resultMarkup\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return new Map();\n }\n}), _applyDecoratedDescriptor(_class.prototype, \"sortedExternalUrls\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"sortedExternalUrls\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"presetsCount\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"presetsCount\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"externalUrlsCount\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"externalUrlsCount\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"canShowResults\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"canShowResults\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"foundScanResultsCount\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"foundScanResultsCount\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"needsAttentionCount\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"needsAttentionCount\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"resultPresetsFromResponse\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"resultPresetsFromResponse\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"resultExternalUrlsFromResponse\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"resultExternalUrlsFromResponse\"), _class.prototype)), _class);\nexport { ScannerStore };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/assertThisInitialized\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/createSuper\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor;\n\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { observable, flow, runInAction, action } from \"mobx\";\nimport { BaseOptions } from \"@devowl-wp/utils\";\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport moment from \"moment\";\nvar DATE_FORMAT = \"YYYY-MM-DD\";\nvar StatsStore = (_class = /*#__PURE__*/function (_BaseOptions) {\n _inherits(StatsStore, _BaseOptions);\n\n var _super = _createSuper(StatsStore);\n\n function StatsStore(rootStore) {\n var _this;\n\n _classCallCheck(this, StatsStore);\n\n _this = _super.call(this);\n\n _initializerDefineProperty(_this, \"busyStats\", _descriptor, _assertThisInitialized(_this));\n\n _this.rootStore = void 0;\n _this.stats = observable.object({\n main: undefined,\n buttonsClicked: undefined,\n customBypass: undefined\n }, {}, {\n deep: false\n });\n _this.filters = observable.object({\n dates: undefined,\n context: undefined\n }, {}, {\n deep: false\n });\n _this.fetchMain = flow( /*#__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 if (!(process.env.PLUGIN_CTX === \"pro\")) {\n _context.next = 3;\n break;\n }\n\n _context.next = 4;\n break;\n\n case 3:\n throw new Error(\"This feature is not available in the free version.\");\n\n case 4:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n _this.fetchButtonsClicked = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {\n return _regeneratorRuntime.wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n if (!(process.env.PLUGIN_CTX === \"pro\")) {\n _context2.next = 3;\n break;\n }\n\n _context2.next = 4;\n break;\n\n case 3:\n throw new Error(\"This feature is not available in the free version.\");\n\n case 4:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2);\n }));\n _this.fetchCustomBypass = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {\n return _regeneratorRuntime.wrap(function _callee3$(_context3) {\n while (1) {\n switch (_context3.prev = _context3.next) {\n case 0:\n if (!(process.env.PLUGIN_CTX === \"pro\")) {\n _context3.next = 3;\n break;\n }\n\n _context3.next = 4;\n break;\n\n case 3:\n throw new Error(\"This feature is not available in the free version.\");\n\n case 4:\n case \"end\":\n return _context3.stop();\n }\n }\n }, _callee3);\n }));\n _this.rootStore = rootStore;\n runInAction(function () {\n _this.filters.dates = [moment().subtract(30, \"days\"), moment()];\n _this.filters.context = _this.rootStore.optionStore.others.context;\n });\n return _this;\n }\n /**\n * This action does not actually refetch the stats, you need to act on your components!\n *\n * @param dates\n */\n\n\n _createClass(StatsStore, [{\n key: \"applyDates\",\n value: function applyDates(dates) {\n this.filters.dates = dates;\n }\n /**\n * This action does not actually refetch the stats, you need to act on your components!\n *\n * @param context\n */\n\n }, {\n key: \"applyContext\",\n value: function applyContext(context) {\n this.filters.context = context;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n }]);\n\n return StatsStore;\n}(BaseOptions), (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"busyStats\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return {\n main: false,\n buttonClicked: false,\n customBypass: false\n };\n }\n}), _applyDecoratedDescriptor(_class.prototype, \"applyDates\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"applyDates\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"applyContext\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"applyContext\"), _class.prototype)), _class);\nexport { StatsStore };","import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport { configure } from \"mobx\";\nimport { createContextFactory } from \"@devowl-wp/utils\";\nimport { OptionStore, CustomizeBannerStore, CookieStore, ConsentStore, StatsStore, ChecklistStore, TcfStore, ScannerStore } from \".\";\nconfigure({\n enforceActions: \"always\"\n});\n/**\n * A collection of all available stores which gets available\n * through the custom hook useStores in your function components.\n *\n * @see https://mobx.js.org/best/store.html#combining-multiple-stores\n */\n\nvar RootStore = /*#__PURE__*/function () {\n function RootStore() {\n _classCallCheck(this, RootStore);\n\n this.optionStore = void 0;\n this.customizeBannerStore = void 0;\n this.cookieStore = void 0;\n this.consentStore = void 0;\n this.statsStore = void 0;\n this.checklistStore = void 0;\n this.tcfStore = void 0;\n this.scannerStore = void 0;\n this.contextMemo = void 0;\n this.optionStore = new OptionStore(this);\n this.customizeBannerStore = new CustomizeBannerStore(this);\n this.cookieStore = new CookieStore(this);\n this.consentStore = new ConsentStore(this);\n this.statsStore = new StatsStore(this);\n this.checklistStore = new ChecklistStore(this);\n this.tcfStore = new TcfStore(this);\n this.scannerStore = new ScannerStore(this);\n }\n\n _createClass(RootStore, [{\n key: \"context\",\n get: function get() {\n return this.contextMemo ? this.contextMemo : this.contextMemo = createContextFactory(this);\n }\n }], [{\n key: \"StoreProvider\",\n get: function get() {\n return RootStore.get.context.StoreProvider;\n }\n }, {\n key: \"get\",\n get: function get() {\n return RootStore.me ? RootStore.me : RootStore.me = new RootStore();\n }\n }]);\n\n return RootStore;\n}();\n\nRootStore.me = void 0;\n\nvar useStores = function useStores() {\n return RootStore.get.context.useStores();\n};\n\nexport { RootStore, useStores };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/assertThisInitialized\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/createSuper\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13;\n\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { observable, flow, computed, runInAction } from \"mobx\";\nimport { BaseOptions } from \"@devowl-wp/utils\";\nimport { locationRestTcfDeclarationsGet } from \"../wp-api\";\nimport { locationRestTcfVendorsGet } from \"../wp-api\";\nimport { locationRestTcfGvlPut } from \"../wp-api\";\nimport { request } from \"../utils\";\nimport { TcfPurpose, TcfVendor, TcfFeature, TcfVendorConfigurationCollection } from \"../models\";\nvar TcfStore = (_class = /*#__PURE__*/function (_BaseOptions) {\n _inherits(TcfStore, _BaseOptions);\n\n var _super = _createSuper(TcfStore);\n\n function TcfStore(rootStore) {\n var _this;\n\n _classCallCheck(this, TcfStore);\n\n _this = _super.call(this);\n\n _initializerDefineProperty(_this, \"busyGvl\", _descriptor, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"busyVendors\", _descriptor2, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"busyDeclarations\", _descriptor3, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"vendorConfigurations\", _descriptor4, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"fetchedAllVendorConfigurations\", _descriptor5, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"vendorListVersion\", _descriptor6, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"gvlSpecificationVersion\", _descriptor7, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"tcfPolicyVersion\", _descriptor8, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"vendors\", _descriptor9, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"purposes\", _descriptor10, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"specialPurposes\", _descriptor11, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"features\", _descriptor12, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"specialFeatures\", _descriptor13, _assertThisInitialized(_this));\n\n _this.rootStore = void 0;\n _this.fetchVendorConfigurations = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {\n var perPage, pages, i;\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n // In our UI, we do not have pagination, yet, so load all\n perPage = 100;\n pages = Math.ceil(this.vendorConfigurationCount / perPage);\n i = 0;\n\n case 3:\n if (!(i < pages)) {\n _context.next = 9;\n break;\n }\n\n _context.next = 6;\n return this.vendorConfigurations.get({\n request: {\n status: [\"draft\", \"publish\", \"private\"]\n },\n params: {\n offset: i * perPage,\n // eslint-disable-next-line @typescript-eslint/naming-convention\n per_page: 100,\n // Fetch all\n context: \"edit\"\n }\n });\n\n case 6:\n i++;\n _context.next = 3;\n break;\n\n case 9:\n this.fetchedAllVendorConfigurations = true;\n\n case 10:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, this);\n }));\n _this.fetchVendors = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {\n var _yield$request, vendorListVersion, vendors, _i, _Object$keys, vid;\n\n return _regeneratorRuntime.wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n this.busyVendors = true;\n _context2.prev = 1;\n _context2.next = 4;\n return request({\n location: locationRestTcfVendorsGet\n });\n\n case 4:\n _yield$request = _context2.sent;\n vendorListVersion = _yield$request.vendorListVersion;\n vendors = _yield$request.vendors;\n\n for (_i = 0, _Object$keys = Object.keys(vendors); _i < _Object$keys.length; _i++) {\n vid = _Object$keys[_i];\n this.vendors.set(vid, new TcfVendor(vendors[vid], this));\n }\n\n this.vendorListVersion = vendorListVersion;\n _context2.next = 15;\n break;\n\n case 11:\n _context2.prev = 11;\n _context2.t0 = _context2[\"catch\"](1);\n console.log(_context2.t0);\n throw _context2.t0;\n\n case 15:\n _context2.prev = 15;\n this.busyVendors = false;\n return _context2.finish(15);\n\n case 18:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2, this, [[1, 11, 15, 18]]);\n }));\n _this.fetchDeclarations = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {\n var _yield$request2, gvlSpecificationVersion, tcfPolicyVersion, purposes, specialPurposes, features, specialFeatures, _i2, _Object$keys2, pid, _i3, _Object$keys3, _pid, _i4, _Object$keys4, _pid2, _i5, _Object$keys5, _pid3;\n\n return _regeneratorRuntime.wrap(function _callee3$(_context3) {\n while (1) {\n switch (_context3.prev = _context3.next) {\n case 0:\n this.busyDeclarations = true;\n _context3.prev = 1;\n _context3.next = 4;\n return request({\n location: locationRestTcfDeclarationsGet\n });\n\n case 4:\n _yield$request2 = _context3.sent;\n gvlSpecificationVersion = _yield$request2.gvlSpecificationVersion;\n tcfPolicyVersion = _yield$request2.tcfPolicyVersion;\n purposes = _yield$request2.purposes;\n specialPurposes = _yield$request2.specialPurposes;\n features = _yield$request2.features;\n specialFeatures = _yield$request2.specialFeatures;\n\n for (_i2 = 0, _Object$keys2 = Object.keys(purposes); _i2 < _Object$keys2.length; _i2++) {\n pid = _Object$keys2[_i2];\n this.purposes.set(pid, new TcfPurpose(purposes[pid], false, this));\n }\n\n for (_i3 = 0, _Object$keys3 = Object.keys(specialPurposes); _i3 < _Object$keys3.length; _i3++) {\n _pid = _Object$keys3[_i3];\n this.specialPurposes.set(_pid, new TcfPurpose(specialPurposes[_pid], true, this));\n }\n\n for (_i4 = 0, _Object$keys4 = Object.keys(features); _i4 < _Object$keys4.length; _i4++) {\n _pid2 = _Object$keys4[_i4];\n this.features.set(_pid2, new TcfFeature(features[_pid2], false, this));\n }\n\n for (_i5 = 0, _Object$keys5 = Object.keys(specialFeatures); _i5 < _Object$keys5.length; _i5++) {\n _pid3 = _Object$keys5[_i5];\n this.specialFeatures.set(_pid3, new TcfFeature(specialFeatures[_pid3], true, this));\n }\n\n this.gvlSpecificationVersion = gvlSpecificationVersion;\n this.tcfPolicyVersion = tcfPolicyVersion;\n _context3.next = 23;\n break;\n\n case 19:\n _context3.prev = 19;\n _context3.t0 = _context3[\"catch\"](1);\n console.log(_context3.t0);\n throw _context3.t0;\n\n case 23:\n _context3.prev = 23;\n this.busyDeclarations = false;\n return _context3.finish(23);\n\n case 26:\n case \"end\":\n return _context3.stop();\n }\n }\n }, _callee3, this, [[1, 19, 23, 26]]);\n }));\n _this.updateGvl = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee4() {\n var _yield$request3, gvlDownloadTime;\n\n return _regeneratorRuntime.wrap(function _callee4$(_context4) {\n while (1) {\n switch (_context4.prev = _context4.next) {\n case 0:\n this.busyGvl = true;\n _context4.prev = 1;\n _context4.next = 4;\n return request({\n location: locationRestTcfGvlPut\n });\n\n case 4:\n _yield$request3 = _context4.sent;\n gvlDownloadTime = _yield$request3.gvlDownloadTime;\n this.rootStore.optionStore.tcfGvlDownloadTime = gvlDownloadTime;\n _context4.next = 13;\n break;\n\n case 9:\n _context4.prev = 9;\n _context4.t0 = _context4[\"catch\"](1);\n console.log(_context4.t0);\n throw _context4.t0;\n\n case 13:\n _context4.prev = 13;\n this.busyGvl = false;\n return _context4.finish(13);\n\n case 16:\n case \"end\":\n return _context4.stop();\n }\n }\n }, _callee4, this, [[1, 9, 13, 16]]);\n }));\n _this.rootStore = rootStore;\n runInAction(function () {\n _this.vendorConfigurations = new TcfVendorConfigurationCollection(_assertThisInitialized(_this));\n });\n return _this;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n _createClass(TcfStore, [{\n key: \"vendorConfigurationCount\",\n get: function get() {\n return this.fetchedAllVendorConfigurations ? this.vendorConfigurations.entries.size : this.rootStore.optionStore.allTcfVendorConfigurationCount;\n }\n }]);\n\n return TcfStore;\n}(BaseOptions), (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"busyGvl\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"busyVendors\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"busyDeclarations\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"vendorConfigurations\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"fetchedAllVendorConfigurations\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"vendorListVersion\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"gvlSpecificationVersion\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"tcfPolicyVersion\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"vendors\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return new Map();\n }\n}), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"purposes\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return new Map();\n }\n}), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"specialPurposes\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return new Map();\n }\n}), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"features\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return new Map();\n }\n}), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"specialFeatures\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return new Map();\n }\n}), _applyDecoratedDescriptor(_class.prototype, \"vendorConfigurationCount\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"vendorConfigurationCount\"), _class.prototype)), _class);\nexport { TcfStore };","var SCAN_QUEUE_JOB = \"rcb-scan\";\nvar AUTOMATIC_SCAN_STATER_QUEUE_JOB = \"rcb-automatic-scan-starter\";\nexport { SCAN_QUEUE_JOB, AUTOMATIC_SCAN_STATER_QUEUE_JOB };","function copyToClipboard(text) {\n var textField = document.createElement(\"textarea\");\n textField.innerText = text;\n document.body.appendChild(textField);\n textField.select();\n document.execCommand(\"copy\");\n textField.remove();\n}\n\nexport { copyToClipboard };","/**\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 };","/* istanbul ignore file: this file does not contain any logic, only factory calls */\nimport { createLocalizationFactory, BaseOptions } from \"@devowl-wp/utils\"; // Only needed once per `window`\n\nvar FACTORY_MEMO;\n\nfunction get() {\n return FACTORY_MEMO ? FACTORY_MEMO : FACTORY_MEMO = createLocalizationFactory(BaseOptions.getPureSlug(process.env));\n}\n\nvar _n = function _n() {\n var _get;\n\n return (_get = get())._n.apply(_get, arguments);\n};\n\nvar _nx = function _nx() {\n var _get2;\n\n return (_get2 = get())._nx.apply(_get2, arguments);\n};\n\nvar _x = function _x() {\n var _get3;\n\n return (_get3 = get())._x.apply(_get3, arguments);\n};\n\nvar __ = function __() {\n var _get4;\n\n return (_get4 = get()).__.apply(_get4, arguments);\n};\n\nvar _i = function _i() {\n var _get5;\n\n return (_get5 = get())._i.apply(_get5, arguments);\n};\n\nexport { _n, _nx, _x, __, _i };","/* istanbul ignore file: this file does not contain any logic, only factory calls */\nimport { createRequestFactory, BaseOptions } from \"@devowl-wp/utils\"; // Only needed once per `window`\n\nvar FACTORY_MEMO;\n\nfunction get() {\n return FACTORY_MEMO ? FACTORY_MEMO : FACTORY_MEMO = createRequestFactory(window[BaseOptions.getPureSlug(process.env, true)]);\n}\n\nvar urlBuilder = function urlBuilder() {\n var _get;\n\n return (_get = get()).urlBuilder.apply(_get, arguments);\n};\n\nvar request = function request() {\n var _get2;\n\n return (_get2 = get()).request.apply(_get2, arguments);\n};\n\nexport { urlBuilder, request };","/**\n * @see https://www.w3schools.com/howto/howto_js_scroll_to_top.asp\n */\nfunction scrollTo() {\n var top = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n document.body.scrollTop = top; // For Safari\n\n document.documentElement.scrollTop = top; // For Chrome, Firefox, IE and Opera\n}\n\nexport { scrollTo };","/**\n * Truncate a string with separator in the middle of the string.\n *\n * @see https://stackoverflow.com/a/5723274/5506547\n */\nfunction truncateMiddle(str) {\n var maxLength = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 50;\n var separator = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : \"...\";\n\n if (!str || str.length <= maxLength) {\n return str;\n }\n\n var sepLen = separator.length;\n var charsToShow = maxLength - sepLen;\n var frontChars = Math.ceil(charsToShow / 2);\n var backChars = Math.floor(charsToShow / 2);\n return str.substr(0, frontChars) + separator + str.substr(str.length - backChars);\n}\n\nexport { truncateMiddle };","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestChecklistGet = {\n path: \"/checklist\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestChecklistPut = {\n path: \"/checklist/:id\",\n method: RouteHttpVerb.PUT\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestConsentAllDelete = {\n path: \"/consent/all\",\n method: RouteHttpVerb.DELETE\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestConsentAllGet = {\n path: \"/consent/all\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestConsentRefererGet = {\n path: \"/consent/referer\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestCookieGroupOrderPut = {\n path: \"/cookie-groups/order\",\n method: RouteHttpVerb.PUT\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestCookieUnassignedGet = {\n path: \"/cookies/unassigned\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestCookiesOrderPut = {\n path: \"/cookies/order\",\n method: RouteHttpVerb.PUT\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestCountryBypassDatabasePut = {\n path: \"/country-bypass/database\",\n method: RouteHttpVerb.PUT\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestExportGet = {\n path: \"/export\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestExportConsentsGet = {\n path: \"/export/consents\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestForwardCookieGet = {\n path: \"/forward/cookie/:slug\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestForwardEndpointsGet = {\n path: \"/forward/endpoints\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestImportPost = {\n path: \"/import\",\n method: RouteHttpVerb.POST\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestConsentPost = {\n path: \"/consent\",\n method: RouteHttpVerb.POST\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestConsentGet = {\n path: \"/consent\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestStatsMainGet = {\n path: \"/stats/main\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestStatsCustomBypassGet = {\n path: \"/stats/customBypass\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestStatsButtonsClickedGet = {\n path: \"/stats/buttonsClicked\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestConsentClearDelete = {\n path: \"/consent/clear\",\n method: RouteHttpVerb.DELETE\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestConsentForwardPost = {\n path: \"/consent/forward\",\n method: RouteHttpVerb.POST\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestConsentDynamicPredecisionGet = {\n path: \"/consent/dynamic-predecision\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestLiteDismissConfigPageProNotice = {\n path: \"/dismiss-config-page-pro-notice\",\n method: RouteHttpVerb.DELETE\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestMigrationDelete = {\n path: \"/migration/:migration\",\n method: RouteHttpVerb.DELETE\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestMigrationPost = {\n path: \"/migration/:migration/:action\",\n method: RouteHttpVerb.POST\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestModalHintSeenPut = {\n path: \"/modal-hint\",\n method: RouteHttpVerb.PUT\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestNavMenuAddLinksPost = {\n path: \"/nav-menu/add-links\",\n method: RouteHttpVerb.POST\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestPresetsBannerGet = {\n path: \"/presets/banner\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestPresetsBlockerGet = {\n path: \"/presets/blocker\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestPresetsBlockerAttributesGet = {\n path: \"/presets/blocker/:identifier\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestPresetsCookiesGet = {\n path: \"/presets/cookies\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestPresetsCookiesAttributesGet = {\n path: \"/presets/cookies/:identifier\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestRevisionGet = {\n path: \"/revision/:hash\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestRevisionCurrentGet = {\n path: \"/revision/current\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestRevisionCurrentPut = {\n path: \"/revision/current\",\n method: RouteHttpVerb.PUT\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestRevisionIndependentGet = {\n path: \"/revision/independent/:hash\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestScannerQueuePost = {\n path: \"/scanner/queue\",\n method: RouteHttpVerb.POST\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestScannerResultAllExternalUrlsByHostGet = {\n path: \"/scanner/result/externals/:type/:identifier\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestScannerResultExternalsGet = {\n path: \"/scanner/result/externals\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestScannerResultExternalPatch = {\n path: \"/scanner/result/externals/:host\",\n method: RouteHttpVerb.PUT\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestScannerResultMarkupGet = {\n path: \"/scanner/result/markup/:id\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestScannerResultPresetsGet = {\n path: \"/scanner/result/presets\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestTcfDeclarationsGet = {\n path: \"/tcf/declarations\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestTcfGvlPut = {\n path: \"/tcf/gvl\",\n method: RouteHttpVerb.PUT\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestTcfVendorsGet = {\n path: \"/tcf/vendors\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestWpSettings = {\n path: \"/settings\",\n namespace: \"wp/v2\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport var locationRestWpSettingsPatch = {\n path: \"/settings\",\n namespace: \"wp/v2\",\n method: RouteHttpVerb.PATCH\n};","module.exports = React;","module.exports = ReactDOM;","module.exports = ReactRouterDOM;","module.exports = devowlWp_customize;","module.exports = devowlWp_realProductManagerWpClient;","module.exports = devowlWp_realQueue;","module.exports = devowlWp_utils;","module.exports = jQuery;","module.exports = mobx;","module.exports = moment;","module.exports = wp;","// 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\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\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__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = function(chunkId) {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"\" + ({\"3\":\"chunk-config-tab-scanner\",\"184\":\"chunk-config-tab-tcf\",\"322\":\"chunk-config-tab-licensing\",\"357\":\"chunk-config-tab-import\",\"379\":\"chunk-config-tab-dashboard\",\"478\":\"chunk-config-tab-blocker\",\"625\":\"chunk-config-tab-consent\",\"718\":\"chunk-config-tab-cookies\",\"768\":\"chunk-config-tab-settings\"}[chunkId] || chunkId) + \".lite.js?ver=\" + {\"3\":\"3396f8de7a481b37574c\",\"18\":\"bbe976f46f8c4fbf81dd\",\"184\":\"c32d36b137312e877227\",\"193\":\"ce7e07933bcbf069b690\",\"322\":\"5c2f6da5cc7ee35eb438\",\"348\":\"abbf191fbb205192b084\",\"357\":\"aa4cceeded8c7886e587\",\"379\":\"7f2104ebbeac40af02e1\",\"418\":\"c4956b21bc9d963cb475\",\"440\":\"abce2a866d4b5996c6bb\",\"478\":\"27ab7f77b81184903fc6\",\"625\":\"04947f9b1d7bdcee2c59\",\"673\":\"58173e3267c0347ea7f6\",\"702\":\"d36242a4194f3398f94b\",\"718\":\"00d3df54471611d067ac\",\"756\":\"f3849d000e561ec0fd57\",\"768\":\"ea0e4f32a86dde89431e\",\"795\":\"ef626740f77410656823\",\"812\":\"7fc67df73ab1e18cb76d\",\"836\":\"c7ca2ba5ab10c3fe8b54\",\"914\":\"2979ca58d101a6abfbf5\",\"933\":\"294161804e645e16e3c0\",\"954\":\"ae9f41fd529870001463\",\"995\":\"f133f83b7bdd4f1ccce1\"}[chunkId] + \"\";\n};","// This function allow to reference all chunks\n__webpack_require__.miniCssF = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"\" + \"admin\" + \".css\";\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};","__webpack_require__.nmd = function(module) {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\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\t328: 0\n};\n\n__webpack_require__.f.j = function(chunkId, promises) {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(true) { // all chunks have JS\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; });\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = function(event) {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\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\nvar __webpack_exports__ = __webpack_require__.O(undefined, [194], function() { return __webpack_require__(5954); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["deferred","inProgress","dataWebpackPrefix","ETcfGvlDisclosureType","ETcfGvlLanguage","isUrl","url","test","newlineRegex","reactNl2Br","text","split","map","line","index","match","createElement","key","_handleCorrupRestApi","_wpV","getWebpackPublicPath","handleCorrupRestApi","_callee","_context","prev","next","location","path","stop","_callee2","_context2","namespace","apply","this","arguments","prefixCls","top","node","document","getElementById","concat","render","React","locale","DashboardChecklistItem","_ref","id","checked","title","description","link","linkText","linkTarget","needsPro","onLinkClick","_useStores$optionStor","optionStore","isPro","others","fomoCoupon","isInfo","extraContentTag","extraContentDescription","useLink","_useScannerProgress","useScannerProgress","scanPercent","percent","scanRemaining","remaining","currentJob","group_position","__","style","margin","InfoCircleFilled","color","CheckCircleFilled","CheckCircleOutlined","textDecoration","undefined","fontWeight","Fragment","href","target","rel","onClick","className","paddingLeft","DashboardChecklistCardContent","_onLinkClick","props","checklistStore","busyChecklist","items","completed","checkable","done","overdue","checklist","_useState","useState","showHidden","_useState2","setShowHidden","spinning","direction","size","icon","MinusCircleOutlined","cursor","length","_ref2","rest","e","indexOf","toggleChecklistItem","MANAGER_GTM_LABEL","MANAGER_MTM_LABEL","SettingsFormGeneral","imprintExternalUrl","imprintIsExternalUrl","privacyPolicyExternalUrl","privacyPolicyIsExternalUrl","_useStores$optionStor2","customizeBannerUrl","customizeLegalUrl","useCallback","replace","encodeURIComponent","window","fnCustomizeSectionUrl","noStyle","shouldUpdate","prevValues","nextValues","bannerActive","getFieldValue","setFieldsValue","label","name","valuePropName","display","cancelText","okText","overlayStyle","maxWidth","onCancel","onConfirm","placement","marginTop","labelCol","span","wrapperCol","marginBottom","value","readOnly","addonAfter","postType","forceDefaultLanguage","postStatus","perPage","testDrive","feature","multiple","disabled","assetName","_i","strong","NoticeRevisionNeedsRetrigger","pathname","useLocation","needsRevisionRetrigger","updateCurrentRevision","needs_retrigger","a","NoticeBannerActiveNoCookies","publicCookieCount","busySettings","NoticeAnonymousScriptNotWritable","getOtherOptionsFromWindow","showNoticeAnonymousScriptNotWritable","code","NoticeNoManager","manager","managerId","hasManagerAttributeName","presetId","setCookiesViaManager","hasManager","RouterScrollToTop","listen","useHistory","useEffect","destroy","scrollTo","ProHeadlineButton","_optionStore$others","proUrl","isConfigProNoticeVisible","handleConfirm","open","dismissConfigProNotice","handleClose","visible","InfoCircleOutlined","ConfigHeader","isChecklistModalOpen","setChecklistModalOpen","_useStores","publicUrl","fetchChecklist","handleCustomizeBannerButtonClick","preventDefault","handleChecklistModalOpen","handleChecklistModalClose","src","background","borderColor","okButtonProps","width","ConfigFooter","HeartFilled","CSS_SPINNER_IN_CONTENT","createSuspenseComponent","tab","children","default","SuspenseChunkTranslation","chunkFile","options","fallback","DashboardCards","lazy","then","SettingsForm","ScannerRouter","_ref3","CookieGroupsTabRouter","_ref4","ConsentTabRouter","_ref5","BlockerRouter","_ref6","ImportExportCards","_ref7","ConfigLicensing","_ref8","ConfigApp","showLicenseFormImmediate","badgeColor","colorScheme","useLayoutEffect","fetchSettings","listener","event","JOB_DONE_EVENT_PREFIX","addEventListener","removeEventListener","Suspense","NavLink","to","activeClassName","exact","count","fontSize","height","lineHeight","host","Switch","Route","areSettingsFetched","IN_APP_FOMO_URL_PARAMETER_TO_DEACTIVATE_WEBSITE_FOMO","InAppFomoCouponCounter","coupon","valueInPercent","validUntil","createTimerString","Date","getTime","fullSeconds","Math","floor","v","filter","i","join","setRerender","interval","setInterval","clearInterval","timerString","message","tag","marginRight","strongHours","strongPercent","LearnMoreTag","_ref$style","_ref$label","useStyle","PostTypeSelect","_ref$postStatus","_ref$perPage","_onChange","onChange","_ref$titleRender","titleRender","rendered","_ref$filter","term","setTerm","_useState3","_useState4","postId","setPostId","_useState5","_useState6","fetching","setFetching","_useState7","_useState8","data","setData","fetch","request","_getOtherOptionsFromW","defaultLanguage","currentLanguage","pages","method","RouteHttpVerb","status","include","orderby","search","params","_dataLocale","sent","_x","useDebounce","debouncedValue","per_page","changedValue","Array","isArray","JSON","stringify","mode","showSearch","placeholder","notFoundContent","onSearch","Number","filterOption","loading","d","input","_doc$querySelector","DOMParser","parseFromString","querySelector","documentElement","textContent","ProModal","_ref$visible","_ref$showHints","showHints","_ref$showFomoCouponCo","showFomoCouponCounter","_ref$testDrive","onClose","inContainer","inContainerElement","hints","descriptionRef","setDescriptionRef","handleRedirect","focus","parentElement","previousElementSibling","removeAttribute","hint","proDialog","onOk","getContainer","ref","textAlign","ProModalHint","logo","wrap","flex","dangerouslySetInnerHTML","__html","alignSelf","marginLeft","ProTag","_ref$wrapperAttribute","wrapperAttributes","_useProModal","modal","delay","callback","changed","debounce","setDebounce","handler","setTimeout","clearTimeout","PRO_TAG_BACKGROUND_COLOR","useProModal","overrideIsPro","setVisible","useIsPro","useMemo","tagText","fetchStatusInterval","fetchAdditionalData","scannerStore","useProgress","type","onAdditionalData","rcbScanList","presets","externalUrls","resultPresetsFromResponse","resultExternalUrlsFromResponse","_class","_descriptor","_descriptor2","_descriptor3","_descriptor4","_descriptor5","_descriptor6","BannerPreset","preset","store","_this","resetPreviewInUiSettings","runInAction","set","_this2","rootStore","previewInUi","customize","getSidebarCustomize","presetDefaults","forEach","defaultValue","settings","customizeIdsBanner","batchUpdates","_Object$keys","Object","keys","section","sectionSettings","_i2","_Object$keys2","_setting","customizeKey","has","get","newValue","prototype","hasOwnProperty","call","push","getIframeStore","customizeBannerStore","setBannerFromPreset","values","contentWindow","realCookieBanner_customize_banner","RootStore","observable","configurable","enumerable","writable","initializer","BlockerCollection","ClientCollection","singlePath","methods","_dec","_AbstractPostCollecti","_super","response","fromResponse","AbstractPostCollection","_class2","BlockerModel","ClientModel","keyId","create","patch","delete","_AbstractPost","collection","reaction","_this$data","presetModel","fireImmediately","_this$data2","meta","hosts","_this$data3","tcfVendors","Boolean","_this$data4","cookies","purpose","content","slug","blockers","fetchCurrentRevision","AbstractPost","computed","getOwnPropertyDescriptor","action","BlockerPreset","fetchAttributes","flow","busy","identifier","attributes","t0","console","log","finish","logoFile","startsWith","_descriptor7","_descriptor8","_descriptor9","_descriptor10","_descriptor11","_descriptor12","_descriptor13","_descriptor14","_descriptor15","_descriptor16","_descriptor17","_descriptor18","_descriptor19","_descriptor20","_descriptor21","_descriptor22","_descriptor23","_descriptor24","_descriptor25","_descriptor26","_descriptor27","_descriptor28","_descriptor29","Consent","consent","plain","revisions","revision_hash","revisionsIndependent","revision_independent_hash","custom_bypass","charAt","toUpperCase","slice","parse","revision","revision_independent","Promise","all","fetchRevision","hash","fetchRevisionIndependent","CookieCollection","orderCookies","ids","_iterator","_step","s","n","entries","setOrder","err","f","result","from","sort","b","menu_order","CookieGroupCollection","_AbstractCategoryColl","orderCookieGroups","order","AbstractCategoryCollection","CookieGroupModel","_AbstractCategory","fetchCookies","context","fetchedAllCookies","AbstractCategory","CookieModel","_this$rootStore$optio","technicalDefinitions","codeDynamics","_this$technicalDefini","groups","thisGroup","group","cookieStore","unassignedCookies","_this$collection$stor","probablyFetchByChangedItem","CookiePreset","Revision","RevisionIndependent","ScannerResultExternalUrl","externalUrl","ignore","state","_args","ignored","blockedStatus","foundCount","blockedCount","ScannerResultExternalUrlSingle","fetchMarkup","resultMarkup","blockedUrl","sourceUrl","ScannerResultPreset","created","TcfFeature","special","TcfPurpose","TcfVendor","vendorConfigurations","c","vendorModel","usesCookies","cookieMaxAgeSeconds","cookieRefresh","usesNonCookieAccess","deviceStorageDisclosure","disclosures","unshift","purposes","domain","maxAgeSeconds","legIntPurposes","specialPurposes","features","specialFeatures","normal","_arr","toString","enabled","legInt","_this3","_this4","flexiblePurposes","_this$data5","_this5","_this$data6","_this6","_this$data7","_this7","TcfVendorConfigurationCollection","TcfVendorConfigurationModel","vendor","vendors","vendorId","existing","_this$data$meta","_this$vendorModel","_this$vendorModel2","disableRestrictivePurposes","tcfScopeOfConsent","originalRestrictivePurposes","restrictivePurposes","_this$vendorModel3","arr","activePurposes","activeFeatures","allFeatures","ChecklistStore","_BaseOptions","itemId","force","useItemIds","abrupt","_wp_http_referer","_callee3","_context3","_this$checklist","dismissed","BaseOptions","ConsentStore","filters","page","dates","referer","ip","uuid","deep","fetchAll","_this$filters","_yield$request","item","busyConsent","m","format","offset","pageCollection","clear","fetchReferer","_callee4","_context4","busyReferer","deleteAll","_callee5","_context5","applyPage","Map","CookieStore","fetchGroups","fetchUnassignedCookies","_Object$values","fetchBlockers","fetchedAllBlockers","fetchPresetsBlocker","pid","busyPresetsBlocker","presetsBlocker","fetchPresetsCookie","_yield$request2","_i3","busyPresetsCookie","presetsCookie","allBlockerCount","cookiesCount","reduce","total","num","it","essentialGroup","CustomizeBannerStore","presetConstants","debounceFromCustomize","fetchPresets","defaults","constants","did","cid","_Object$keys3","busyPresets","setting","maybeDebounce","customizeValuesBanner","debounceSetting","setBannerFromCustomize","currentValue","forceAnimationOutSimulation","row","_row","animationVisible","individualPrivacyOpen","previewCheckboxActiveState","isNaN","jsonToPHPArray","output","shift","pop","full","spaces","namespaces","_descriptor30","_descriptor31","_descriptor32","_descriptor33","_descriptor34","_descriptor35","_descriptor36","_descriptor37","_descriptor38","_descriptor39","_descriptor40","_descriptor41","_descriptor42","_descriptor43","_descriptor44","_descriptor45","_descriptor46","_descriptor47","_descriptor48","_descriptor49","_descriptor50","_descriptor51","OptionStore","pureSlug","pureSlugCamelCased","setFrom","blockerActive","imprintId","privacyPolicyId","hidePageIds","acceptAllForBots","respectDoNotTrack","cookieDuration","saveIp","ePrivacyUSA","ageNotice","listServicesNotice","consentForwarding","forwardTo","crossDomains","countryBypass","countryBypassCountries","countryBypassType","countryBypassDbDownloadTime","tcf","tcfPublisherCc","tcfAcceptedTime","tcfGvlDownloadTime","t1","updateSettings","affiliateLink","affiliateLabelBehind","affiliateLabelDescription","setFromCurrentRevision","t2","setModalHintSeen","modalHints","_callee6","_context6","dismissMigration","_callee7","migration","_context7","dashboardMigration","addLinksToNavigationMenu","_callee8","success","_context8","busyAddLinksToNavigationMenu","updateCountryBypassDatabase","_callee9","dbDownloadTime","_context9","busyCountryBypassUpdate","assign","allCookieCount","allTcfVendorConfigurationCount","contexts","has_gtm","has_mtm","public_cookie_count","all_cookie_count","all_blocker_count","all_tcf_vendor_configuration_count","all_scanner_result_presets_count","all_scanner_result_external_urls_count","cookie_counts","nav_menus","tcf_vendor_configuration_counts","dashboard_migration","fomo_coupon","hasGTM","hasMTM","allScannerResultPresetsCount","allScannerResultExternalUrlsCount","cookieCounts","tcfVendorConfigurationCounts","isLicensed","draft","private","publish","ScannerStore","addUrlsToQueue","fetchResultPresets","busyResultPresets","fetchedAllResultPresets","fetchResultExternals","busyExternalUrls","fetchedAllResultExternalUrls","fetchResultAllExternals","instance","probablyStaleKey","resultAllExternalUrls","busyMarkup","resultExternalUrls","inactive","resultPresets","_this$rootStore$check","presetsCount","externalUrlsCount","_step2","_iterator2","_existing","_step3","_iterator3","_existing2","externalHost","StatsStore","stats","main","buttonsClicked","customBypass","fetchMain","Error","fetchButtonsClicked","fetchCustomBypass","subtract","buttonClicked","configure","enforceActions","consentStore","statsStore","tcfStore","contextMemo","createContextFactory","StoreProvider","me","useStores","TcfStore","fetchVendorConfigurations","ceil","vendorConfigurationCount","fetchedAllVendorConfigurations","fetchVendors","vendorListVersion","vid","busyVendors","fetchDeclarations","gvlSpecificationVersion","tcfPolicyVersion","_pid","_i4","_Object$keys4","_pid2","_i5","_Object$keys5","_pid3","busyDeclarations","updateGvl","_yield$request3","gvlDownloadTime","busyGvl","SCAN_QUEUE_JOB","AUTOMATIC_SCAN_STATER_QUEUE_JOB","copyToClipboard","textField","innerText","body","appendChild","select","execCommand","remove","getOptionsFromWindow","g","FACTORY_MEMO","createLocalizationFactory","_n","_get","_get4","_get5","createRequestFactory","urlBuilder","_get2","scrollTop","truncateMiddle","str","maxLength","separator","sepLen","charsToShow","frontChars","backChars","substr","locationRestChecklistGet","locationRestChecklistPut","locationRestConsentAllDelete","locationRestConsentAllGet","locationRestConsentRefererGet","locationRestCookieGroupOrderPut","locationRestCookieUnassignedGet","locationRestCookiesOrderPut","locationRestCountryBypassDatabasePut","locationRestExportGet","locationRestExportConsentsGet","locationRestForwardCookieGet","locationRestForwardEndpointsGet","locationRestImportPost","locationRestConsentPost","locationRestConsentGet","locationRestStatsMainGet","locationRestStatsCustomBypassGet","locationRestStatsButtonsClickedGet","locationRestConsentClearDelete","locationRestConsentForwardPost","locationRestConsentDynamicPredecisionGet","locationRestLiteDismissConfigPageProNotice","locationRestMigrationDelete","locationRestMigrationPost","locationRestModalHintSeenPut","locationRestNavMenuAddLinksPost","locationRestPresetsBannerGet","locationRestPresetsBlockerGet","locationRestPresetsBlockerAttributesGet","locationRestPresetsCookiesGet","locationRestPresetsCookiesAttributesGet","locationRestRevisionGet","locationRestRevisionCurrentGet","locationRestRevisionCurrentPut","locationRestRevisionIndependentGet","locationRestScannerQueuePost","locationRestScannerResultAllExternalUrlsByHostGet","locationRestScannerResultExternalsGet","locationRestScannerResultExternalPatch","locationRestScannerResultMarkupGet","locationRestScannerResultPresetsGet","locationRestTcfDeclarationsGet","locationRestTcfGvlPut","locationRestTcfVendorsGet","locationRestWpSettings","locationRestWpSettingsPatch","module","exports","ReactDOM","ReactRouterDOM","devowlWp_customize","devowlWp_realProductManagerWpClient","devowlWp_realQueue","devowlWp_utils","jQuery","mobx","moment","wp","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","loaded","__webpack_modules__","O","chunkIds","fn","priority","notFulfilled","Infinity","fulfilled","j","every","splice","r","getter","__esModule","definition","o","defineProperty","chunkId","promises","u","miniCssF","globalThis","Function","obj","prop","l","script","needAttach","scripts","getElementsByTagName","getAttribute","charset","timeout","nc","setAttribute","onScriptComplete","onerror","onload","doneFns","parentNode","removeChild","bind","head","Symbol","toStringTag","nmd","paths","scriptUrl","importScripts","currentScript","p","installedChunks","installedChunkData","promise","resolve","reject","error","errorType","realSrc","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""}
|
1 |
+
{"version":3,"file":"admin.lite.js","mappings":"wDAAIA,ECAAC,EACAC,E,wBCAJ,IAAIC,EAQAC,E,gCANJ,SAAWD,GACTA,EAA8B,OAAI,SAClCA,EAA2B,IAAI,MAC/BA,EAA2B,IAAI,MAHjC,CAIGA,IAA0BA,EAAwB,KAIrD,SAAWC,GACTA,EAA2B,UAAI,KAC/BA,EAAyB,QAAI,KAC7BA,EAAuB,MAAI,KAC3BA,EAAwB,OAAI,KAC5BA,EAAwB,OAAI,KAC5BA,EAAuB,MAAI,KAC3BA,EAAyB,QAAI,KAC7BA,EAA0B,SAAI,KAC9BA,EAAwB,OAAI,MAC5BA,EAAyB,QAAI,KAC7BA,EAAwB,OAAI,KAC5BA,EAA0B,SAAI,KAC9BA,EAA0B,SAAI,KAC9BA,EAA2B,UAAI,KAC/BA,EAAyB,QAAI,KAC7BA,EAA0B,SAAI,KAC9BA,EAA4B,WAAI,KAChCA,EAAyB,QAAI,KAC7BA,EAAyB,QAAI,KAC7BA,EAAuB,MAAI,KAC3BA,EAA2B,UAAI,KAC/BA,EAAwB,OAAI,KAC5BA,EAA4B,WAAI,KAChCA,EAA0B,SAAI,KAC9BA,EAAiC,gBAAI,UACrCA,EAA8B,aAAI,UAClCA,EAAyB,QAAI,KAC7BA,EAAwB,OAAI,KAC5BA,EAA2B,UAAI,KAC/BA,EAAyB,QAAI,KAC7BA,EAAyB,QAAI,KAC7BA,EAAyB,QAAI,KAhC/B,CAiCGA,IAAoBA,EAAkB,M,qBCvCzC,SAASC,EAAMC,GAEb,QADc,+aACGC,KAAKD,G,oGCNpBE,EAAe,2BAKfC,EAAa,SAAoBC,GACnC,OAAOA,EAAKC,MAAMH,GAAcI,KAAI,SAAUC,EAAMC,GAClD,OAAOD,EAAKE,MAAMP,IAA6B,IAAAQ,eAAc,KAAM,CACjE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,EAAgBlC,GAAS,KAE1BkC,EAAgBjD,EAASxvB,IAAM,EAEhC,OAAOkvB,EAAoBK,EAAE3c,IAG1B0gB,EAAqBC,KAAyC,mCAAIA,KAAyC,oCAAK,GACpHD,EAAmBppB,QAAQ+oB,EAAqBlB,KAAK,KAAM,IAC3DuB,EAAmBhoB,KAAO2nB,EAAqBlB,KAAK,KAAMuB,EAAmBhoB,KAAKymB,KAAKuB,I,GCpFvF,IAAIE,EAAsBtE,EAAoBK,OAAEp8B,EAAW,CAAC,MAAM,WAAa,OAAO+7B,EAAoB,SAC1GsE,EAAsBtE,EAAoBK,EAAEiE,G","sources":["webpack:///webpack/runtime/chunk loaded","webpack:///webpack/runtime/load script","webpack:///../../backends/real-cookie-banner-backend/src/types/service/tcf.ts","webpack:///../../frontend-packages/headless-content-unblocker/src/utils/isUrl.tsx","webpack:///../../frontend-packages/react-cookie-banner/src/utils/reactNl2Br.tsx","webpack:///./src/public/ts/admin.tsx","webpack:///./src/public/ts/components/config/dashboard/checklistItem.tsx","webpack:///./src/public/ts/components/config/dashboard/checklist.tsx","webpack:///./src/public/ts/components/config/settings/general.tsx","webpack:///./src/public/ts/components/config/noticeRevisionNeedsRetrigger.tsx","webpack:///./src/public/ts/components/config/noticeBannerActiveNoCookies.tsx","webpack:///./src/public/ts/components/config/noticeAnonymousScriptNotWritable.tsx","webpack:///./src/public/ts/components/config/noticeNoManager.tsx","webpack:///./src/public/ts/components/routerScrollToTop.tsx","webpack:///./src/public/ts/components/proHeadlineButton.tsx","webpack:///./src/public/ts/components/config/header.tsx","webpack:///./src/public/ts/components/config/footer.tsx","webpack:///./src/public/ts/components/configApp.tsx","webpack:///./src/public/ts/components/inAppFomoCouponCounter.tsx","webpack:///./src/public/ts/components/learnMoreTag.tsx","webpack:///./src/public/ts/components/postTypeSelect.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/utils/htmlDecode.tsx","webpack:///./src/public/ts/components/proModal.tsx","webpack:///./src/public/ts/components/proModalHint.tsx","webpack:///./src/public/ts/components/proTag.tsx","webpack:///./src/public/ts/hooks/useDebounce.tsx","webpack:///./src/public/ts/hooks/useProModal.tsx","webpack:///./src/public/ts/hooks/useScannerProgress.tsx","webpack:///./src/public/ts/models/bannerPreset.tsx","webpack:///./src/public/ts/models/blockerCollection.tsx","webpack:///./src/public/ts/models/blockerModel.tsx","webpack:///./src/public/ts/models/blockerPreset.tsx","webpack:///./src/public/ts/models/consent.tsx","webpack:///./src/public/ts/models/cookieCollection.tsx","webpack:///./src/public/ts/models/cookieGroupCollection.tsx","webpack:///./src/public/ts/models/cookieGroupModel.tsx","webpack:///./src/public/ts/models/cookieModel.tsx","webpack:///./src/public/ts/models/cookiePreset.tsx","webpack:///./src/public/ts/models/revision.tsx","webpack:///./src/public/ts/models/revisionIndependent.tsx","webpack:///./src/public/ts/models/scannerResultExternalUrl.tsx","webpack:///./src/public/ts/models/scannerResultExternalUrlSingle.tsx","webpack:///./src/public/ts/models/scannerResultPreset.tsx","webpack:///./src/public/ts/models/tcfFeature.tsx","webpack:///./src/public/ts/models/tcfPurpose.tsx","webpack:///./src/public/ts/models/tcfVendor.tsx","webpack:///./src/public/ts/models/tcfVendorConfigurationCollection.tsx","webpack:///./src/public/ts/models/tcfVendorConfigurationModel.tsx","webpack:///./src/public/ts/store/checklist.tsx","webpack:///./src/public/ts/store/consent.tsx","webpack:///./src/public/ts/store/cookie.tsx","webpack:///./src/public/ts/store/customizeBanner.tsx","webpack:///./src/public/ts/store/option.tsx","webpack:///./src/public/ts/store/scanner.tsx","webpack:///./src/public/ts/store/stats.tsx","webpack:///./src/public/ts/store/stores.tsx","webpack:///./src/public/ts/store/tcf.tsx","webpack:///./src/public/ts/types/queue.tsx","webpack:///./src/public/ts/utils/copyToClipboard.tsx","webpack:///./src/public/ts/utils/getOptionsFromWindow.tsx","webpack:///./src/public/ts/utils/getOtherOptionsFromWindow.tsx","webpack:///./src/public/ts/utils/i18n.tsx","webpack:///./src/public/ts/utils/request.tsx","webpack:///./src/public/ts/utils/scrollTo.tsx","webpack:///./src/public/ts/utils/truncateMiddle.tsx","webpack:///./src/public/ts/wp-api/checklist.get.tsx","webpack:///./src/public/ts/wp-api/checklist.put.tsx","webpack:///./src/public/ts/wp-api/consentAll.delete.tsx","webpack:///./src/public/ts/wp-api/consentAll.get.tsx","webpack:///./src/public/ts/wp-api/consentReferer.get.tsx","webpack:///./src/public/ts/wp-api/cookieGroupOrder.put.tsx","webpack:///./src/public/ts/wp-api/cookieUnassigned.get.tsx","webpack:///./src/public/ts/wp-api/cookiesOrder.put.tsx","webpack:///./src/public/ts/wp-api/countryBypassDatabase.put.tsx","webpack:///./src/public/ts/wp-api/export.get.tsx","webpack:///./src/public/ts/wp-api/exportConsents.get.tsx","webpack:///./src/public/ts/wp-api/forwardCookie.get.tsx","webpack:///./src/public/ts/wp-api/forwardEndpoints.get.tsx","webpack:///./src/public/ts/wp-api/import.post.tsx","webpack:///./src/public/ts/wp-api/consent.post.tsx","webpack:///./src/public/ts/wp-api/consent.get.tsx","webpack:///./src/public/ts/wp-api/statsMain.get.tsx","webpack:///./src/public/ts/wp-api/statsCustomBypass.get.tsx","webpack:///./src/public/ts/wp-api/statsButtonsClicked.tsx","webpack:///./src/public/ts/wp-api/consentClear.delete.tsx","webpack:///./src/public/ts/wp-api/consentForward.post.tsx","webpack:///./src/public/ts/wp-api/consentDynamicPredecision.get.tsx","webpack:///./src/public/ts/wp-api/liteDismissConfigPageProNotice.delete.tsx","webpack:///./src/public/ts/wp-api/migration.delete.tsx","webpack:///./src/public/ts/wp-api/migration.post.tsx","webpack:///./src/public/ts/wp-api/modalHintSeen.put.tsx","webpack:///./src/public/ts/wp-api/navMenuAddLinks.post.tsx","webpack:///./src/public/ts/wp-api/presetsBanner.get.tsx","webpack:///./src/public/ts/wp-api/presetsBlocker.get.tsx","webpack:///./src/public/ts/wp-api/presetsBlockerAttributes.get.tsx","webpack:///./src/public/ts/wp-api/presetsCookies.get.tsx","webpack:///./src/public/ts/wp-api/presetsCookiesAttributes.get.tsx","webpack:///./src/public/ts/wp-api/revision.get.tsx","webpack:///./src/public/ts/wp-api/revisionCurrent.get.tsx","webpack:///./src/public/ts/wp-api/revisionCurrent.put.tsx","webpack:///./src/public/ts/wp-api/revisionIndependent.get.tsx","webpack:///./src/public/ts/wp-api/scannerQueue.post.tsx","webpack:///./src/public/ts/wp-api/scannerResultsAllExternalUrls.get.tsx","webpack:///./src/public/ts/wp-api/scannerResultsExternal.get.tsx","webpack:///./src/public/ts/wp-api/scannerResultsExternalHost.put.tsx","webpack:///./src/public/ts/wp-api/scannerResultsMarkup.get.tsx","webpack:///./src/public/ts/wp-api/scannerResultsPreset.get.tsx","webpack:///./src/public/ts/wp-api/tcfDeclarations.get.tsx","webpack:///./src/public/ts/wp-api/tcfGvl.put.tsx","webpack:///./src/public/ts/wp-api/tcfVendors.get.tsx","webpack:///./src/public/ts/wp-api/wp/settings.get.tsx","webpack:///./src/public/ts/wp-api/wp/settings.patch.tsx","webpack:///external var \"React\"","webpack:///external var \"ReactDOM\"","webpack:///external var \"ReactRouterDOM\"","webpack:///external var \"devowlWp_customize\"","webpack:///external var \"devowlWp_realProductManagerWpClient\"","webpack:///external var \"devowlWp_realQueue\"","webpack:///external var \"devowlWp_utils\"","webpack:///external var \"jQuery\"","webpack:///external var \"mobx\"","webpack:///external var \"moment\"","webpack:///external var \"wp\"","webpack:///webpack/bootstrap","webpack:///webpack/runtime/compat get default export","webpack:///webpack/runtime/define property getters","webpack:///webpack/runtime/ensure chunk","webpack:///webpack/runtime/get javascript chunk filename","webpack:///webpack/runtime/get mini-css chunk filename","webpack:///webpack/runtime/global","webpack:///webpack/runtime/hasOwnProperty shorthand","webpack:///webpack/runtime/make namespace object","webpack:///webpack/runtime/node module decorator","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 inProgress = {};\nvar dataWebpackPrefix = \"realCookieBanner_[name]:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = function(url, done, key, chunkId) {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = function(prev, event) {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach(function(fn) { return fn(event); });\n\t\tif(prev) return prev(event);\n\t}\n\t;\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","/* eslint-disable @typescript-eslint/no-empty-interface */\nvar ETcfGvlDisclosureType;\n\n(function (ETcfGvlDisclosureType) {\n ETcfGvlDisclosureType[\"Cookie\"] = \"cookie\";\n ETcfGvlDisclosureType[\"Web\"] = \"web\";\n ETcfGvlDisclosureType[\"App\"] = \"app\";\n})(ETcfGvlDisclosureType || (ETcfGvlDisclosureType = {}));\n\nvar ETcfGvlLanguage;\n\n(function (ETcfGvlLanguage) {\n ETcfGvlLanguage[\"Bulgarian\"] = \"bg\";\n ETcfGvlLanguage[\"Catalan\"] = \"ca\";\n ETcfGvlLanguage[\"Czech\"] = \"cs\";\n ETcfGvlLanguage[\"Danish\"] = \"da\";\n ETcfGvlLanguage[\"German\"] = \"de\";\n ETcfGvlLanguage[\"Greek\"] = \"el\";\n ETcfGvlLanguage[\"Spanish\"] = \"es\";\n ETcfGvlLanguage[\"Estonian\"] = \"et\";\n ETcfGvlLanguage[\"Basque\"] = \"eus\";\n ETcfGvlLanguage[\"Finnish\"] = \"fi\";\n ETcfGvlLanguage[\"French\"] = \"fr\";\n ETcfGvlLanguage[\"Galician\"] = \"gl\";\n ETcfGvlLanguage[\"Croatian\"] = \"hr\";\n ETcfGvlLanguage[\"Hungarian\"] = \"hu\";\n ETcfGvlLanguage[\"Italian\"] = \"it\";\n ETcfGvlLanguage[\"Japanese\"] = \"ja\";\n ETcfGvlLanguage[\"Lithuanian\"] = \"lt\";\n ETcfGvlLanguage[\"Latvian\"] = \"lv\";\n ETcfGvlLanguage[\"Maltese\"] = \"mt\";\n ETcfGvlLanguage[\"Dutch\"] = \"nl\";\n ETcfGvlLanguage[\"Norwegian\"] = \"no\";\n ETcfGvlLanguage[\"Polish\"] = \"pl\";\n ETcfGvlLanguage[\"Portuguese\"] = \"pt\";\n ETcfGvlLanguage[\"Romanian\"] = \"ro\";\n ETcfGvlLanguage[\"SerbianCyrillic\"] = \"sr-Cyrl\";\n ETcfGvlLanguage[\"SerbianLatin\"] = \"sr-Latn\";\n ETcfGvlLanguage[\"Russian\"] = \"ru\";\n ETcfGvlLanguage[\"Slovak\"] = \"sk\";\n ETcfGvlLanguage[\"Slovenian\"] = \"sl\";\n ETcfGvlLanguage[\"Swedish\"] = \"sv\";\n ETcfGvlLanguage[\"Turkish\"] = \"tr\";\n ETcfGvlLanguage[\"Chinese\"] = \"zh\";\n})(ETcfGvlLanguage || (ETcfGvlLanguage = {}));\n\nexport { ETcfGvlLanguage, ETcfGvlDisclosureType };","/**\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 { createElement } from \"react\";\nvar newlineRegex = /(\\r\\n|\\r|\\n|<br[ ]?\\/>)/g;\n/**\n * @see https://codesandbox.io/s/94k7k80jxy\n */\n\nvar reactNl2Br = function reactNl2Br(text) {\n return text.split(newlineRegex).map(function (line, index) {\n return line.match(newlineRegex) ? /*#__PURE__*/createElement(\"br\", {\n key: index\n }) : line;\n });\n};\n\nexport { reactNl2Br };","import _message from \"antd/es/message\";\nimport _ConfigProvider from \"antd/es/config-provider\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\n\nvar _handleCorrupRestApi;\n\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\n\n/* 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 * The entry point for the admin side wp-admin resource (config page).\n */\nimport \"mobx-react/batchingForReactDom\";\nimport { render } from \"react-dom\";\nimport { RootStore } from \"./store\";\nimport { ConfigApp } from \"./components/configApp\";\nimport \"./style/antd.less\";\nimport \"./style/admin.scss\"; // eslint-disable-next-line import/no-extraneous-dependencies\n\nimport moment from \"moment\";\nimport { handleCorrupRestApi, getWebpackPublicPath } from \"@devowl-wp/utils\";\nimport { request } from \"./utils\";\n__webpack_public_path__ = getWebpackPublicPath(process.env);\nhandleCorrupRestApi === null || handleCorrupRestApi === void 0 ? void 0 : handleCorrupRestApi((_handleCorrupRestApi = {}, _defineProperty(_handleCorrupRestApi, RootStore.get.optionStore.restNamespace, _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 _context.next = 2;\n return request({\n location: {\n path: \"/plugin\"\n }\n });\n\n case 2:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n}))), _defineProperty(_handleCorrupRestApi, \"wp/v2\", function () {\n var _wpV = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {\n return _regeneratorRuntime.wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n _context2.next = 2;\n return request({\n location: {\n path: \"/settings\",\n namespace: \"wp/v2\"\n }\n });\n\n case 2:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2);\n }));\n\n function wpV2() {\n return _wpV.apply(this, arguments);\n }\n\n return wpV2;\n}()), _handleCorrupRestApi)); // Configure prefix for root (https://bit.ly/3wb2pv9)\n\n_ConfigProvider.config({\n prefixCls: process.env.ANTD_PREFIX\n});\n\n_message.config({\n top: 50\n});\n\nvar node = document.getElementById(\"\".concat(RootStore.get.optionStore.slug, \"-component\"));\n\nif (node) {\n render( /*#__PURE__*/React.createElement(_ConfigProvider, {\n prefixCls: process.env.ANTD_PREFIX,\n locale: {\n locale: moment.locale()\n }\n }, /*#__PURE__*/React.createElement(RootStore.StoreProvider, null, /*#__PURE__*/React.createElement(ConfigApp, null))), node);\n} // Expose this functionalities to add-ons, but you need to activate the library functionality\n// in your webpack configuration, see also https://webpack.js.org/guides/author-libraries/\n\n\nexport * from \"@devowl-wp/utils\";\nexport * from \"./wp-api\";\nexport * from \"./store\";","import _Tooltip from \"antd/es/tooltip\";\nimport _Tag from \"antd/es/tag\";\nimport { observer } from \"mobx-react\";\nimport { __ } from \"../../../utils\";\nimport { CheckCircleOutlined, CheckCircleFilled, InfoCircleFilled } from \"@ant-design/icons\";\nimport { useStores } from \"../../../store\";\nimport { PRO_TAG_BACKGROUND_COLOR, useScannerProgress } from \"../../../hooks\";\nimport { InAppFomoCouponCounter, IN_APP_FOMO_URL_PARAMETER_TO_DEACTIVATE_WEBSITE_FOMO } from \"../..\";\nvar DashboardChecklistItem = observer(function (_ref) {\n var id = _ref.id,\n checked = _ref.checked,\n title = _ref.title,\n description = _ref.description,\n link = _ref.link,\n linkText = _ref.linkText,\n linkTarget = _ref.linkTarget,\n needsPro = _ref.needsPro,\n onLinkClick = _ref.onLinkClick;\n\n var _useStores = useStores(),\n _useStores$optionStor = _useStores.optionStore,\n isPro = _useStores$optionStor.others.isPro,\n fomoCoupon = _useStores$optionStor.fomoCoupon;\n\n var isInfo = !isPro && needsPro;\n var extraContentTag = null;\n var extraContentDescription = null;\n var useLink = link;\n\n switch (id) {\n case \"scanner\":\n {\n var _useScannerProgress = useScannerProgress(),\n scanPercent = _useScannerProgress.percent,\n scanRemaining = _useScannerProgress.remaining,\n currentJob = _useScannerProgress.currentJob;\n\n if (scanRemaining > 0 && scanPercent > 0 && (currentJob === null || currentJob === void 0 ? void 0 : currentJob.group_position) > 0) {\n extraContentTag = /*#__PURE__*/React.createElement(_Tag, null, __(\"Currently scanning (%d %%)\", scanPercent));\n }\n\n break;\n }\n\n case \"get-pro\":\n {\n extraContentDescription = /*#__PURE__*/React.createElement(InAppFomoCouponCounter, null);\n\n if (fomoCoupon) {\n useLink += \"&\".concat(IN_APP_FOMO_URL_PARAMETER_TO_DEACTIVATE_WEBSITE_FOMO);\n }\n\n break;\n }\n\n default:\n break;\n }\n\n return /*#__PURE__*/React.createElement(\"div\", {\n style: {\n margin: \"5px 0\"\n }\n }, /*#__PURE__*/React.createElement(_Tooltip, {\n title: checked && description\n }, /*#__PURE__*/React.createElement(\"span\", null, isInfo ? /*#__PURE__*/React.createElement(InfoCircleFilled, {\n style: {\n color: \"#7ec8ec\"\n }\n }) : checked ? /*#__PURE__*/React.createElement(CheckCircleFilled, {\n style: {\n color: \"#52c41a\"\n }\n }) : /*#__PURE__*/React.createElement(CheckCircleOutlined, {\n style: {\n color: \"#e2e2e2\"\n }\n }), \" \", /*#__PURE__*/React.createElement(\"span\", {\n style: {\n textDecoration: checked ? \"line-through\" : undefined,\n fontWeight: \"bold\"\n }\n }, title), !!useLink && !!linkText && /*#__PURE__*/React.createElement(React.Fragment, null, \"\\xA0\\xA0\\u2022\\xA0\\xA0\", /*#__PURE__*/React.createElement(\"a\", {\n href: useLink,\n target: linkTarget,\n rel: \"noreferrer\",\n onClick: onLinkClick\n }, linkText)))), isInfo && id !== \"get-pro\" && /*#__PURE__*/React.createElement(React.Fragment, null, \"\\xA0\", /*#__PURE__*/React.createElement(_Tag, {\n color: PRO_TAG_BACKGROUND_COLOR\n }, __(\"Needs PRO\"))), !!extraContentTag && /*#__PURE__*/React.createElement(React.Fragment, null, \"\\xA0\", extraContentTag), !!description && !checked && /*#__PURE__*/React.createElement(\"p\", {\n className: \"description\",\n style: {\n paddingLeft: 17\n }\n }, description), !!extraContentDescription && /*#__PURE__*/React.createElement(\"div\", {\n style: {\n paddingLeft: 17\n }\n }, extraContentDescription));\n});\nexport { DashboardChecklistItem };","import _Spin from \"antd/es/spin\";\nimport _Space from \"antd/es/space\";\nimport _extends from \"@babel/runtime/helpers/extends\";\nimport _Tag from \"antd/es/tag\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/objectWithoutProperties\";\nimport { useState } from \"react\";\nimport { observer } from \"mobx-react\";\nimport { __ } from \"../../../utils\";\nimport { DashboardChecklistItem } from \".\";\nimport { useStores } from \"../../../store\";\nimport { CheckCircleOutlined, MinusCircleOutlined } from \"@ant-design/icons\";\nvar DashboardChecklistCardContent = observer(function (_ref) {\n var _onLinkClick = _ref.onLinkClick,\n props = _objectWithoutProperties(_ref, [\"onLinkClick\"]);\n\n var _useStores = useStores(),\n checklistStore = _useStores.checklistStore;\n\n var busyChecklist = checklistStore.busyChecklist,\n items = checklistStore.items,\n completed = checklistStore.completed,\n checkable = checklistStore.checkable,\n done = checklistStore.done,\n overdue = checklistStore.checklist.overdue;\n\n var _useState = useState(typeof props.showHidden === \"boolean\" ? props.showHidden : done ? false : true),\n _useState2 = _slicedToArray(_useState, 2),\n showHidden = _useState2[0],\n setShowHidden = _useState2[1];\n\n return /*#__PURE__*/React.createElement(_Spin, {\n spinning: busyChecklist\n }, /*#__PURE__*/React.createElement(_Space, {\n direction: \"vertical\",\n size: \"large\"\n }, overdue && /*#__PURE__*/React.createElement(\"div\", {\n className: \"notice notice-warning inline below-h2 notice-alt\",\n style: {\n margin: 0\n }\n }, /*#__PURE__*/React.createElement(\"p\", null, __(\"How time flies! You have installed Real Cookie Banner some time ago, but you still haven't finished the configuration yet.\"))), /*#__PURE__*/React.createElement(\"p\", {\n className: \"description\"\n }, __(\"We have collected all relevant steps for the legally compliant use of Real Cookie Banner after the first installation. Set up the cookie banner step by step to add an opt-in cookie banner to your website in compliance with the ePrivacy Directive and GDPR.\")), /*#__PURE__*/React.createElement(\"div\", null, done && (showHidden ? /*#__PURE__*/React.createElement(_Tag, {\n icon: /*#__PURE__*/React.createElement(MinusCircleOutlined, null),\n color: \"default\",\n style: {\n cursor: \"pointer\"\n },\n onClick: function onClick() {\n return setShowHidden(false);\n }\n }, __(\"Hide completed steps\")) : /*#__PURE__*/React.createElement(_Tag, {\n icon: /*#__PURE__*/React.createElement(CheckCircleOutlined, null),\n color: \"success\",\n style: {\n cursor: \"pointer\"\n },\n onClick: function onClick() {\n return setShowHidden(true);\n }\n }, __(\"%d / %d steps completed\", completed.length > checkable.length ? checkable.length : completed.length, // avoid overflow due infos\n checkable.length))), items.map(function (_ref2) {\n var id = _ref2.id,\n rest = _objectWithoutProperties(_ref2, [\"id\"]);\n\n if (!showHidden && rest.checked) {\n return null;\n }\n\n return /*#__PURE__*/React.createElement(DashboardChecklistItem, _extends({\n key: id,\n id: id\n }, rest, {\n onLinkClick: function onLinkClick(e) {\n if ([\"get-pro\"].indexOf(id) > -1) {\n checklistStore.toggleChecklistItem(id, true);\n }\n\n _onLinkClick === null || _onLinkClick === void 0 ? void 0 : _onLinkClick(e);\n }\n }));\n }))));\n});\nexport { DashboardChecklistCardContent };","import _Radio from \"antd/es/radio\";\nimport _Input from \"antd/es/input\";\nimport _Popconfirm from \"antd/es/popconfirm\";\nimport _Form from \"antd/es/form\";\nimport _Switch from \"antd/es/switch\";\nimport { useCallback } from \"react\";\nimport { observer } from \"mobx-react\";\nimport { __, _i } from \"../../../utils\";\nimport { PostTypeSelect, ProTag, LearnMoreTag } from \"../..\";\nimport { useStores } from \"../../../store\";\nvar MANAGER_GTM_LABEL = \"Google Tag Manager\";\nvar MANAGER_MTM_LABEL = \"Matomo Tag Manager\";\nvar SettingsFormGeneral = observer(function () {\n var _useStores = useStores(),\n _useStores$optionStor = _useStores.optionStore,\n imprintExternalUrl = _useStores$optionStor.imprintExternalUrl,\n imprintIsExternalUrl = _useStores$optionStor.imprintIsExternalUrl,\n privacyPolicyExternalUrl = _useStores$optionStor.privacyPolicyExternalUrl,\n privacyPolicyIsExternalUrl = _useStores$optionStor.privacyPolicyIsExternalUrl,\n _useStores$optionStor2 = _useStores$optionStor.others,\n isPro = _useStores$optionStor2.isPro,\n customizeBannerUrl = _useStores$optionStor2.customizeBannerUrl;\n\n var fnCustomizeSectionUrl = useCallback(function (id) {\n return \"\".concat(customizeBannerUrl.replace(/autofocus\\[panel]=[\\w-]+/, \"autofocus[section]=\".concat(id)), \"&return=\").concat(encodeURIComponent(window.location.href));\n }, [customizeBannerUrl]);\n var customizeLegalUrl = fnCustomizeSectionUrl(\"real-cookie-banner-banner-legal\");\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n shouldUpdate: function shouldUpdate(prevValues, nextValues) {\n return prevValues.bannerActive !== nextValues.bannerActive;\n }\n }, function (_ref) {\n var getFieldValue = _ref.getFieldValue,\n setFieldsValue = _ref.setFieldsValue;\n var bannerActive = getFieldValue(\"bannerActive\");\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_Form.Item, {\n label: __(\"Cookie Banner/Dialog\")\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n name: \"bannerActive\",\n valuePropName: \"checked\"\n }, /*#__PURE__*/React.createElement(_Switch, {\n style: {\n display: bannerActive ? undefined : \"none\"\n }\n })), !bannerActive && /*#__PURE__*/React.createElement(_Popconfirm, {\n title: __(\"I have already checked/will check all text in the cookie banner and content blocker myself. I have added missing information and corrected information that does not fit my use case.\"),\n cancelText: __(\"Cancel\"),\n okText: __(\"Activate now!\"),\n overlayStyle: {\n maxWidth: 450\n },\n onCancel: function onCancel() {\n setFieldsValue({\n bannerActive: false\n });\n },\n onConfirm: function onConfirm() {\n setFieldsValue({\n bannerActive: true\n });\n },\n placement: \"bottomLeft\"\n }, /*#__PURE__*/React.createElement(_Switch, {\n checked: false\n })), /*#__PURE__*/React.createElement(\"p\", {\n className: \"description\",\n style: {\n marginTop: 5\n }\n }, __(\"You can enable and disable the cookie banner. We recommend to activate the cookie banner on your website after you have added all services.\"))), /*#__PURE__*/React.createElement(_Form.Item, {\n label: __(\"Content Blocker\"),\n style: {\n display: bannerActive ? undefined : \"none\"\n }\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"blockerActive\",\n valuePropName: \"checked\",\n noStyle: true\n }, /*#__PURE__*/React.createElement(_Switch, {\n style: {\n marginTop: 5\n }\n })), /*#__PURE__*/React.createElement(\"p\", {\n className: \"description\",\n style: {\n marginTop: 5\n }\n }, __(\"This feature allows you to block content that would process personal data and set cookies, but for which you do not yet have the visitor's consent.\"))));\n }), /*#__PURE__*/React.createElement(_Form.Item, {\n label: __(\"Hide cookie banner on specific pages\")\n }, /*#__PURE__*/React.createElement(\"p\", {\n className: \"description\",\n style: {\n marginTop: 7\n }\n }, __(\"According to the ePrivacy Directive, legally required pages such as the privacy policy or the imprint (depending on the country) may be accessible without the user having to give consent to services and their cookies. Therefore, it is recommended to avoid processing personal data and setting cookies on these pages and not to display a cookie banner.\")), /*#__PURE__*/React.createElement(_Form.Item, {\n label: __(\"Imprint Page\"),\n labelCol: {\n span: 24\n },\n wrapperCol: {\n span: 12\n },\n style: {\n marginBottom: 12\n }\n }, imprintIsExternalUrl ? /*#__PURE__*/React.createElement(_Input, {\n value: imprintExternalUrl,\n readOnly: true,\n addonAfter: /*#__PURE__*/React.createElement(\"a\", {\n className: \"button-link alignright\",\n rel: \"noreferrer\",\n target: \"_blank\",\n href: customizeLegalUrl\n }, __(\"Edit\"))\n }) : /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"imprintId\",\n noStyle: true\n }, /*#__PURE__*/React.createElement(PostTypeSelect, {\n postType: \"pages\",\n forceDefaultLanguage: true,\n postStatus: [\"publish\"],\n perPage: 100\n }))), /*#__PURE__*/React.createElement(_Form.Item, {\n label: __(\"Privacy policy page\"),\n labelCol: {\n span: 24\n },\n wrapperCol: {\n span: 12\n },\n style: {\n marginBottom: 12\n }\n }, privacyPolicyIsExternalUrl ? /*#__PURE__*/React.createElement(_Input, {\n value: privacyPolicyExternalUrl,\n readOnly: true,\n addonAfter: /*#__PURE__*/React.createElement(\"a\", {\n className: \"button-link alignright\",\n rel: \"noreferrer\",\n target: \"_blank\",\n href: customizeLegalUrl\n }, __(\"Edit\"))\n }) : /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"privacyPolicyId\",\n noStyle: true\n }, /*#__PURE__*/React.createElement(PostTypeSelect, {\n postType: \"pages\",\n forceDefaultLanguage: true,\n postStatus: [\"publish\"],\n perPage: 100\n }))), /*#__PURE__*/React.createElement(_Form.Item, {\n label: /*#__PURE__*/React.createElement(React.Fragment, null, __(\"Hide on additional pages\"), \"\\xA0\", /*#__PURE__*/React.createElement(ProTag, {\n title: __(\"Want to hide cookie banner on more pages?\"),\n testDrive: true,\n feature: \"hide-page-ids\",\n description: __(\"Cookie banners are legally necessary, but distract your users from the essentials. For example, on landing pages for advertising campaigns, they lead to lower conversion rates. On these pages, it can be useful to avoid processing personal data and setting cookies to keep the conversion rate high. You can hide the cookie banner on these pages.\")\n })),\n labelCol: {\n span: 24\n },\n wrapperCol: {\n span: 12\n },\n style: {\n marginBottom: 12\n }\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"hidePageIds\",\n noStyle: true\n }, /*#__PURE__*/React.createElement(PostTypeSelect, {\n postType: \"pages\",\n multiple: true,\n disabled: !isPro,\n forceDefaultLanguage: true,\n postStatus: [\"publish\"],\n perPage: 100\n })))), /*#__PURE__*/React.createElement(_Form.Item, {\n label: __(\"Load services after consent via\")\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"setCookiesViaManager\",\n noStyle: true\n }, /*#__PURE__*/React.createElement(_Radio.Group, null, /*#__PURE__*/React.createElement(_Radio.Button, {\n disabled: !isPro,\n value: \"none\"\n }, __(\"HTML/JavaScript Snippet\")), /*#__PURE__*/React.createElement(_Radio.Button, {\n disabled: !isPro,\n value: \"googleTagManager\"\n }, __(\"%s Event\", MANAGER_GTM_LABEL)), /*#__PURE__*/React.createElement(_Radio.Button, {\n disabled: !isPro,\n value: \"matomoTagManager\"\n }, __(\"%s Event\", MANAGER_MTM_LABEL)))), /*#__PURE__*/React.createElement(\"div\", {\n style: {\n margin: \"5px 0px 0px\"\n }\n }, /*#__PURE__*/React.createElement(LearnMoreTag, {\n url: __(\"https://devowl.io/knowledge-base/real-cookie-banner-with-google-tag-manager-or-matomo-tag-manager/\")\n }), /*#__PURE__*/React.createElement(ProTag, {\n title: __(\"Want to use a Tag Manager legally?\"),\n testDrive: true,\n feature: \"set-cookies-via-manager\",\n assetName: __(\"pro-modal/set-cookies-via-manager.png\"),\n description: __(\"You can integrate services via Google Tag Manager or Matomo Tag Manager. At the same time, you can obtain and document consents via Real Cookie Banner in accordance with data protection regulations.\")\n })), /*#__PURE__*/React.createElement(\"p\", {\n className: \"description\"\n }, /*#__PURE__*/React.createElement(\"strong\", null, __(\"You only need to change this option if you use Google Tag Manager or Matomo Tag Manager.\")), \"\\xA0\", _i(__(\"If you opt-in to or opt-out from services, you will normally execute JavaScript code to ensure that scripts are enabled/disabled and cookies are set/removed on the visitor's client. If you are a Google Tag Manager or Matomo Tag Manager user, you can map this behavior by using tags that are triggered by an event in the data layer. {{strong}}If you enable this option,{{/strong}} the Google Tag Manager or Matomo Tag Manager should not yet be integrated into your website. Instead, you must integrate it as an opt-in script of a service you create for the Tag Manager. For each service listed in this plugin, you will receive an additional field where you can specify the name of the event that is automatically triggered when the user opt-in or opt-out. We have a full integration for tag managers which should allow you to run it legally compliant in the EU.\"), {\n strong: /*#__PURE__*/React.createElement(\"strong\", null)\n }))));\n});\nexport { SettingsFormGeneral, MANAGER_GTM_LABEL, MANAGER_MTM_LABEL };","import _Popconfirm from \"antd/es/popconfirm\";\nimport { observer } from \"mobx-react\";\nimport { _i, __ } from \"../../utils\";\nimport { useStores } from \"../../store\";\nimport { useLocation } from \"react-router-dom\";\nvar NoticeRevisionNeedsRetrigger = observer(function () {\n var _useStores = useStores(),\n optionStore = _useStores.optionStore;\n\n var _useLocation = useLocation(),\n pathname = _useLocation.pathname;\n\n return optionStore.needsRevisionRetrigger && pathname.indexOf(\"/edit/\") === -1 && pathname.indexOf(\"/new\") === -1 && /*#__PURE__*/React.createElement(\"div\", {\n className: \"notice notice-warning inline below-h2 notice-alt\",\n style: {\n margin: \"10px 0 0 0\"\n }\n }, /*#__PURE__*/React.createElement(\"p\", null, __(\"You have changed settings that affect the content or behavior of the cookie banner. You should ask all visitors for their consent again.\"), \" \", \"\\u2022\", \" \", /*#__PURE__*/React.createElement(\"a\", {\n style: {\n cursor: \"pointer\",\n textDecoration: \"underline\"\n },\n onClick: function onClick() {\n return optionStore.updateCurrentRevision({\n needs_retrigger: true\n });\n }\n }, __(\"Request new consent\")), \" \", \"\\u2022\", \" \", /*#__PURE__*/React.createElement(_Popconfirm, {\n title: /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"strong\", null, __(\"Are you sure you don't want to collect new consents?\")), /*#__PURE__*/React.createElement(\"br\", null), /*#__PURE__*/React.createElement(\"br\", null), _i(__(\"Consent must be obtained in accordance with {{a}}Art. 7 GDPR{{/a}}. Your visitor must be informed about all circumstances of the consent. However, you have made changes to your cookie banner, which lead to the fact that previously visitors have consented differently or to something different than is now in the cookie banner. Therefore, previously collected consents may have become partially invalid.\"), {\n a: /*#__PURE__*/React.createElement(\"a\", {\n href: __(\"https://gdpr-info.eu/art-7-gdpr/\"),\n rel: \"noreferrer\",\n target: \"_blank\"\n })\n }), /*#__PURE__*/React.createElement(\"br\", null), /*#__PURE__*/React.createElement(\"br\", null), __(\"If you have created a new service like Google Analytics (without visual content blocker), previous visitors can never consent without collecting new consents and you cannot track them, for example.\")),\n placement: \"bottomRight\",\n onConfirm: function onConfirm() {\n return optionStore.updateCurrentRevision({\n needs_retrigger: false\n });\n },\n okText: __(\"Dismiss notice\"),\n cancelText: __(\"Cancel\"),\n overlayStyle: {\n maxWidth: 450\n }\n }, /*#__PURE__*/React.createElement(\"a\", {\n style: {\n cursor: \"pointer\",\n textDecoration: \"underline\"\n }\n }, __(\"Dismiss notice\")))));\n});\nexport { NoticeRevisionNeedsRetrigger };","import { observer } from \"mobx-react\";\nimport { __ } from \"../../utils\";\nimport { useStores } from \"../../store\";\nvar NoticeBannerActiveNoCookies = observer(function () {\n var _useStores = useStores(),\n _useStores$optionStor = _useStores.optionStore,\n publicCookieCount = _useStores$optionStor.publicCookieCount,\n busySettings = _useStores$optionStor.busySettings,\n bannerActive = _useStores$optionStor.bannerActive;\n\n return bannerActive && !publicCookieCount && !busySettings && /*#__PURE__*/React.createElement(\"div\", {\n className: \"notice notice-warning inline below-h2 notice-alt\",\n style: {\n margin: \"10px 0 0 0\"\n }\n }, /*#__PURE__*/React.createElement(\"p\", null, __(\"The cookie banner is activated, but unfortunately you have not yet created or enabled services.\")));\n});\nexport { NoticeBannerActiveNoCookies };","import { observer } from \"mobx-react\";\nimport { getOtherOptionsFromWindow, _i, __ } from \"../../utils\";\nvar NoticeAnonymousScriptNotWritable = observer(function () {\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n showNoticeAnonymousScriptNotWritable = _getOtherOptionsFromW.showNoticeAnonymousScriptNotWritable;\n\n return !!showNoticeAnonymousScriptNotWritable && /*#__PURE__*/React.createElement(\"div\", {\n className: \"notice notice-warning inline below-h2 notice-alt\",\n style: {\n margin: \"10px 0 0 0\"\n }\n }, /*#__PURE__*/React.createElement(\"p\", null, _i(__(\"Your {{code}}wp-content{{/code}} folder is not writable. Please check your permissions!\"), {\n code: /*#__PURE__*/React.createElement(\"code\", null)\n })));\n});\nexport { NoticeAnonymousScriptNotWritable };","import { observer } from \"mobx-react\";\nimport { __, _i } from \"../../utils\";\nimport { useStores } from \"../../store\";\nimport { useLocation } from \"react-router-dom\";\nvar NoticeNoManager = observer(function (_ref) {\n var manager = _ref.manager,\n managerId = _ref.managerId,\n hasManagerAttributeName = _ref.hasManagerAttributeName,\n presetId = _ref.presetId;\n\n var _useStores = useStores(),\n _useStores$optionStor = _useStores.optionStore,\n setCookiesViaManager = _useStores$optionStor.setCookiesViaManager,\n hasManager = _useStores$optionStor[hasManagerAttributeName];\n\n var _useLocation = useLocation(),\n pathname = _useLocation.pathname;\n\n return setCookiesViaManager === managerId && !hasManager && /^\\/cookies\\/\\d+$/.test(pathname) && /*#__PURE__*/React.createElement(\"div\", {\n className: \"notice notice-warning inline below-h2 notice-alt\",\n style: {\n margin: \"10px 0 0 0\"\n }\n }, /*#__PURE__*/React.createElement(\"p\", null, _i(__(\"You have not yet defined a %s service. To use {{strong}}%s{{/strong}} with Real Cookie Banner, you must create the appropriate service.\", manager, manager), {\n strong: /*#__PURE__*/React.createElement(\"strong\", null)\n }), \" \", \"\\u2022 \", /*#__PURE__*/React.createElement(\"a\", {\n href: \"#\".concat(pathname, \"/new?force=\").concat(presetId)\n }, __(\"Create now\"))));\n});\nexport { NoticeNoManager };","import { useEffect } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport { scrollTo } from \"../utils\";\n/**\n * @see https://stackoverflow.com/a/54343182/5506547\n */\n\nvar RouterScrollToTop = function RouterScrollToTop() {\n var _useHistory = useHistory(),\n listen = _useHistory.listen;\n\n useEffect(function () {\n var destroy = listen(function () {\n scrollTo(0);\n });\n return function () {\n destroy();\n };\n }, [listen]);\n return null;\n};\n\nexport { RouterScrollToTop };","import _Popconfirm from \"antd/es/popconfirm\";\nimport { useCallback } from \"react\";\nimport { observer } from \"mobx-react\";\nimport { InfoCircleOutlined } from \"@ant-design/icons\";\nimport { useStores } from \"../store\";\nimport { __ } from \"../utils\";\nvar ProHeadlineButton = observer(function () {\n var _useStores = useStores(),\n optionStore = _useStores.optionStore;\n\n var _optionStore$others = optionStore.others,\n proUrl = _optionStore$others.proUrl,\n isPro = _optionStore$others.isPro,\n isConfigProNoticeVisible = _optionStore$others.isConfigProNoticeVisible;\n var href = \"\".concat(proUrl, \"&feature=main-button\");\n var handleConfirm = useCallback(function () {\n window.open(href, \"_blank\");\n optionStore.dismissConfigProNotice();\n }, [optionStore]);\n var handleClose = useCallback(function () {\n optionStore.dismissConfigProNotice();\n }, [optionStore]);\n return !isPro && /*#__PURE__*/React.createElement(_Popconfirm, {\n visible: !!isConfigProNoticeVisible,\n title: __(\"Thank you for using the free version of Real Cookie Banner. You might also be interested in the PRO version, which offers you more features, 20+ design templates, 100+ service templates, 60+ content blocker templates and much more.\"),\n icon: /*#__PURE__*/React.createElement(InfoCircleOutlined, {\n style: {\n color: \"#1890ff\"\n }\n }),\n placement: \"bottom\",\n onConfirm: handleConfirm,\n onCancel: handleClose,\n cancelText: __(\"No, not interested...\"),\n okText: __(\"I want to learn more!\"),\n overlayStyle: {\n maxWidth: 450\n }\n }, /*#__PURE__*/React.createElement(\"a\", {\n className: \"page-title-action\",\n rel: \"noreferrer\",\n onClick: handleConfirm\n }, __(\"Get PRO version\")));\n});\nexport { ProHeadlineButton };","import _Modal from \"antd/es/modal\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { CheckCircleOutlined } from \"@ant-design/icons\";\nimport { observer } from \"mobx-react\";\nimport { useCallback, useState, useEffect } from \"react\";\nimport { useLocation } from \"react-router-dom\";\nimport { ProHeadlineButton, DashboardChecklistCardContent } from \"..\";\nimport { useStores } from \"../../store\";\nimport { __ } from \"../../utils\";\nvar ConfigHeader = observer(function () {\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n isChecklistModalOpen = _useState2[0],\n setChecklistModalOpen = _useState2[1];\n\n var _useStores = useStores(),\n optionStore = _useStores.optionStore,\n checklistStore = _useStores.checklistStore;\n\n var _useLocation = useLocation(),\n pathname = _useLocation.pathname;\n\n var customizeBannerUrl = optionStore.others.customizeBannerUrl,\n publicUrl = optionStore.publicUrl;\n var completed = checklistStore.completed,\n checkable = checklistStore.checkable,\n done = checklistStore.done;\n useEffect(function () {\n checklistStore.fetchChecklist();\n }, []);\n var handleCustomizeBannerButtonClick = useCallback(function (e) {\n window.location.href = \"\".concat(customizeBannerUrl, \"&return=\").concat(encodeURIComponent(window.location.href));\n e.preventDefault();\n }, []);\n var handleChecklistModalOpen = useCallback(function () {\n setChecklistModalOpen(true);\n checklistStore.fetchChecklist();\n }, [setChecklistModalOpen]);\n var handleChecklistModalClose = useCallback(function () {\n setChecklistModalOpen(false);\n }, [setChecklistModalOpen]);\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"h1\", {\n className: \"wp-heading-inline\"\n }, __(\"Real Cookie Banner\")), /*#__PURE__*/React.createElement(\"img\", {\n className: \"rcb-nav-logo\",\n src: \"\".concat(publicUrl, \"images/logos/real-cookie-banner.svg\")\n }), /*#__PURE__*/React.createElement(\"a\", {\n className: \"page-title-action\",\n href: \"#\",\n onClick: handleCustomizeBannerButtonClick\n }, __(\"Customize banner\")), /*#__PURE__*/React.createElement(ProHeadlineButton, null), !done && pathname !== \"/\" && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"a\", {\n className: \"page-title-action\",\n style: {\n color: \"#52c41a\",\n background: \"#f6ffed\",\n borderColor: \"#85af65\"\n },\n onClick: handleChecklistModalOpen\n }, /*#__PURE__*/React.createElement(CheckCircleOutlined, null), \"\\xA0\", __(\"%d / %d steps completed\", completed.length > checkable.length ? checkable.length : completed.length, // avoid overflow due infos\n checkable.length)), /*#__PURE__*/React.createElement(_Modal, {\n visible: isChecklistModalOpen,\n title: __(\"Set up the cookie banner\"),\n onCancel: handleChecklistModalClose,\n okButtonProps: {\n style: {\n display: \"none\"\n }\n },\n cancelText: __(\"Close\"),\n width: 800\n }, /*#__PURE__*/React.createElement(DashboardChecklistCardContent, {\n showHidden: true,\n onLinkClick: handleChecklistModalClose\n }))), /*#__PURE__*/React.createElement(\"hr\", {\n className: \"wp-header-end\"\n }));\n});\nexport { ConfigHeader };","import { observer } from \"mobx-react\";\nimport { useStores } from \"../../store\";\nimport { HeartFilled } from \"@ant-design/icons\";\nimport { _i, __ } from \"../../utils\";\nvar ConfigFooter = observer(function () {\n var _useStores = useStores(),\n publicUrl = _useStores.optionStore.publicUrl;\n\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"rcb-config-footer\"\n }, _i(__(\"Real Cookie Banner is brought to you with {{icon/}} by\"), {\n icon: /*#__PURE__*/React.createElement(HeartFilled, {\n style: {\n color: \"#dca7a7\"\n }\n })\n }), /*#__PURE__*/React.createElement(\"a\", {\n href: \"https://devowl.io/\",\n target: \"_blank\",\n rel: \"noreferrer\"\n }, /*#__PURE__*/React.createElement(\"img\", {\n src: \"\".concat(publicUrl, \"images/logos/devowl-with-text.svg\")\n })));\n});\nexport { ConfigFooter };","import _Badge from \"antd/es/badge\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport _Spin from \"antd/es/spin\";\nimport { lazy, Suspense } from \"react\";\nimport { useLayoutEffect } from \"react\";\nimport { observer } from \"mobx-react\";\nimport { HashRouter as Router, Switch, Route, NavLink } from \"react-router-dom\";\nimport { __ } from \"../utils\";\nimport { useStores } from \"../store\";\nimport { NoticeRevisionNeedsRetrigger, NoticeBannerActiveNoCookies, NoticeAnonymousScriptNotWritable, NoticeNoManager, RouterScrollToTop, MANAGER_GTM_LABEL, MANAGER_MTM_LABEL } from \".\";\nimport { ConfigHeader, ConfigFooter } from \".\";\nimport { SuspenseChunkTranslation } from \"@devowl-wp/utils\";\nimport { useScannerProgress } from \"../hooks\";\nimport { JOB_DONE_EVENT_PREFIX } from \"@devowl-wp/real-queue\";\nimport { AUTOMATIC_SCAN_STATER_QUEUE_JOB } from \"../types\";\nvar CSS_SPINNER_IN_CONTENT = {\n display: \"block\",\n marginTop: 10\n}; // Lazy load components\n\nvar createSuspenseComponent = function createSuspenseComponent(tab, children) {\n return {\n // eslint-disable-next-line react/display-name\n default: function _default() {\n return /*#__PURE__*/React.createElement(SuspenseChunkTranslation, {\n chunkFile: __webpack_get_script_filename__(\"chunk-config-tab-\".concat(tab)),\n options: function options() {\n return useStores().optionStore;\n },\n fallback: /*#__PURE__*/React.createElement(_Spin, {\n spinning: true,\n style: CSS_SPINNER_IN_CONTENT\n })\n }, children);\n }\n };\n};\n\nvar DashboardCards = /*#__PURE__*/lazy(function () {\n return import(\n /* webpackChunkName: \"chunk-config-tab-dashboard\" */\n \"./config/dashboard/cards\").then(function (_ref) {\n var DashboardCards = _ref.DashboardCards;\n return createSuspenseComponent(\"dashboard\", /*#__PURE__*/React.createElement(DashboardCards, null));\n });\n});\nvar SettingsForm = /*#__PURE__*/lazy(function () {\n return import(\n /* webpackChunkName: \"chunk-config-tab-settings\" */\n \"./config/settings/form\").then(function (_ref2) {\n var SettingsForm = _ref2.SettingsForm;\n return createSuspenseComponent(\"settings\", /*#__PURE__*/React.createElement(SettingsForm, null));\n });\n});\nvar ScannerRouter = /*#__PURE__*/lazy(function () {\n return import(\n /* webpackChunkName: \"chunk-config-tab-scanner\" */\n \"./config/scanner/router\").then(function (_ref3) {\n var ScannerRouter = _ref3.ScannerRouter;\n return createSuspenseComponent(\"scanner\", /*#__PURE__*/React.createElement(ScannerRouter, null));\n });\n});\nvar CookieGroupsTabRouter = /*#__PURE__*/lazy(function () {\n return import(\n /* webpackChunkName: \"chunk-config-tab-cookies\" */\n \"./config/cookies/groups/tabRouter\").then(function (_ref4) {\n var CookieGroupsTabRouter = _ref4.CookieGroupsTabRouter;\n return createSuspenseComponent(\"cookies\", /*#__PURE__*/React.createElement(CookieGroupsTabRouter, null));\n });\n});\nvar ConsentTabRouter = /*#__PURE__*/lazy(function () {\n return import(\n /* webpackChunkName: \"chunk-config-tab-consent\" */\n \"./config/consent/tabRouter\").then(function (_ref5) {\n var ConsentTabRouter = _ref5.ConsentTabRouter;\n return createSuspenseComponent(\"consent\", /*#__PURE__*/React.createElement(ConsentTabRouter, null));\n });\n});\nvar BlockerRouter = /*#__PURE__*/lazy(function () {\n return import(\n /* webpackChunkName: \"chunk-config-tab-blocker\" */\n \"./config/blocker/router\").then(function (_ref6) {\n var BlockerRouter = _ref6.BlockerRouter;\n return createSuspenseComponent(\"blocker\", /*#__PURE__*/React.createElement(BlockerRouter, null));\n });\n});\nvar ImportExportCards = /*#__PURE__*/lazy(function () {\n return import(\n /* webpackChunkName: \"chunk-config-tab-import\" */\n \"./config/import/cards\").then(function (_ref7) {\n var ImportExportCards = _ref7.ImportExportCards;\n return createSuspenseComponent(\"import\", /*#__PURE__*/React.createElement(ImportExportCards, null));\n });\n});\nvar ConfigLicensing = /*#__PURE__*/lazy(function () {\n return import(\n /* webpackChunkName: \"chunk-config-tab-licensing\" */\n \"./config/licensing/licensing\").then(function (_ref8) {\n var ConfigLicensing = _ref8.ConfigLicensing;\n return createSuspenseComponent(\"licensing\", /*#__PURE__*/React.createElement(ConfigLicensing, null));\n });\n});\nvar ConfigApp = observer(function () {\n var _useScannerProgress = useScannerProgress(),\n scanPercent = _useScannerProgress.percent,\n scanRemaining = _useScannerProgress.remaining,\n currentJob = _useScannerProgress.currentJob;\n\n var _useStores = useStores(),\n optionStore = _useStores.optionStore,\n checklistStore = _useStores.checklistStore;\n\n var _optionStore$others = optionStore.others,\n showLicenseFormImmediate = _optionStore$others.showLicenseFormImmediate,\n _optionStore$others$c = _slicedToArray(_optionStore$others.colorScheme, 3),\n badgeColor = _optionStore$others$c[2]; // Initially fetch settings here so the form is shown\n\n\n useLayoutEffect(function () {\n optionStore.fetchSettings(); // Listen to the automatic scan starter and update the checklist\n\n var listener = function listener()\n /*_: CustomEvent<JobDoneEvent>*/\n {\n checklistStore.fetchChecklist();\n };\n\n var event = \"\".concat(JOB_DONE_EVENT_PREFIX).concat(AUTOMATIC_SCAN_STATER_QUEUE_JOB);\n document.addEventListener(event, listener);\n return function () {\n document.removeEventListener(event, listener);\n };\n }, []);\n return showLicenseFormImmediate ? /*#__PURE__*/React.createElement(Suspense, {\n fallback: /*#__PURE__*/React.createElement(_Spin, {\n spinning: true,\n style: CSS_SPINNER_IN_CONTENT\n })\n }, /*#__PURE__*/React.createElement(ConfigLicensing, null)) : /*#__PURE__*/React.createElement(Router, null, /*#__PURE__*/React.createElement(ConfigHeader, null), /*#__PURE__*/React.createElement(\"nav\", {\n className: \"nav-tab-wrapper wp-clearfix\"\n }, /*#__PURE__*/React.createElement(NavLink, {\n to: \"/\",\n className: \"nav-tab\",\n activeClassName: \"nav-tab-active\",\n exact: true\n }, __(\"Dashboard\")), /*#__PURE__*/React.createElement(NavLink, {\n to: \"/settings\",\n className: \"nav-tab\",\n activeClassName: \"nav-tab-active\"\n }, __(\"Settings\")), /*#__PURE__*/React.createElement(NavLink, {\n to: \"/scanner\",\n className: \"nav-tab\",\n activeClassName: \"nav-tab-active\"\n }, scanRemaining > 0 && scanPercent > 0 && (currentJob === null || currentJob === void 0 ? void 0 : currentJob.group_position) > 0 ? /*#__PURE__*/React.createElement(_Badge, {\n count: \"\".concat(scanPercent, \" %\"),\n style: {\n top: -11,\n fontSize: 10,\n height: 16,\n lineHeight: \"16px\",\n background: badgeColor\n }\n }, __(\"Scanner\")) : __(\"Scanner\")), /*#__PURE__*/React.createElement(NavLink, {\n to: \"/cookies\",\n className: \"nav-tab\",\n activeClassName: \"nav-tab-active\"\n }, __(\"Services (Cookies)\")), /*#__PURE__*/React.createElement(NavLink, {\n to: \"/blocker\",\n className: \"nav-tab\",\n activeClassName: \"nav-tab-active\"\n }, __(\"Content Blocker\")), /*#__PURE__*/React.createElement(NavLink, {\n to: \"/consent\",\n className: \"nav-tab\",\n activeClassName: \"nav-tab-active\"\n }, __(\"Consent\")), /*#__PURE__*/React.createElement(NavLink, {\n to: \"/import\",\n className: \"nav-tab\",\n activeClassName: \"nav-tab-active\"\n }, __(\"Import / Export\")), window.location.host !== \"try.devowl.io\" && /*#__PURE__*/React.createElement(NavLink, {\n to: \"/licensing\",\n className: \"nav-tab\",\n activeClassName: \"nav-tab-active\"\n }, __(\"Licensing\")), /*#__PURE__*/React.createElement(\"a\", {\n href: __(\"https://devowl.io/support/\"),\n className: \"nav-tab\",\n target: \"_blank\",\n rel: \"noreferrer\"\n }, __(\"Support\"))), /*#__PURE__*/React.createElement(NoticeRevisionNeedsRetrigger, null), /*#__PURE__*/React.createElement(NoticeBannerActiveNoCookies, null), /*#__PURE__*/React.createElement(NoticeAnonymousScriptNotWritable, null), /*#__PURE__*/React.createElement(NoticeNoManager, {\n manager: MANAGER_GTM_LABEL,\n managerId: \"googleTagManager\",\n hasManagerAttributeName: \"hasGTM\",\n presetId: \"gtm\"\n }), /*#__PURE__*/React.createElement(NoticeNoManager, {\n manager: MANAGER_MTM_LABEL,\n managerId: \"matomoTagManager\",\n hasManagerAttributeName: \"hasMTM\",\n presetId: \"mtm\"\n }), /*#__PURE__*/React.createElement(RouterScrollToTop, null), /*#__PURE__*/React.createElement(Suspense, {\n fallback: /*#__PURE__*/React.createElement(_Spin, {\n spinning: true,\n style: CSS_SPINNER_IN_CONTENT\n })\n }, /*#__PURE__*/React.createElement(Switch, null, /*#__PURE__*/React.createElement(Route, {\n path: \"/\",\n exact: true\n }, /*#__PURE__*/React.createElement(DashboardCards, null)), /*#__PURE__*/React.createElement(Route, {\n path: \"/settings/:tab?\"\n }, !optionStore.areSettingsFetched ? null : /*#__PURE__*/React.createElement(SettingsForm, null)), /*#__PURE__*/React.createElement(Route, {\n path: \"/scanner\"\n }, /*#__PURE__*/React.createElement(ScannerRouter, null)), /*#__PURE__*/React.createElement(Route, {\n path: \"/cookies/:cookieGroup?\"\n }, /*#__PURE__*/React.createElement(CookieGroupsTabRouter, null)), /*#__PURE__*/React.createElement(Route, {\n path: \"/consent/:tab?\"\n }, /*#__PURE__*/React.createElement(ConsentTabRouter, null)), /*#__PURE__*/React.createElement(Route, {\n path: \"/blocker\"\n }, /*#__PURE__*/React.createElement(BlockerRouter, null)), /*#__PURE__*/React.createElement(Route, {\n path: \"/import\"\n }, /*#__PURE__*/React.createElement(ImportExportCards, null)), /*#__PURE__*/React.createElement(Route, {\n path: \"/licensing\"\n }, /*#__PURE__*/React.createElement(ConfigLicensing, null)))), /*#__PURE__*/React.createElement(ConfigFooter, null));\n});\nexport { ConfigApp, createSuspenseComponent };","import _Alert from \"antd/es/alert\";\nimport _Tag from \"antd/es/tag\";\nimport _message from \"antd/es/message\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { observer } from \"mobx-react\";\nimport { useCallback, useState, useEffect } from \"react\";\nimport { useStores } from \"../store\";\nimport { _i, __, copyToClipboard } from \"../utils\";\nvar IN_APP_FOMO_URL_PARAMETER_TO_DEACTIVATE_WEBSITE_FOMO = \"promo=in-app\";\nvar InAppFomoCouponCounter = observer(function (_ref) {\n var style = _ref.style;\n\n var _useStores = useStores(),\n fomoCoupon = _useStores.optionStore.fomoCoupon;\n\n var coupon = fomoCoupon === null || fomoCoupon === void 0 ? void 0 : fomoCoupon.coupon;\n var valueInPercent = fomoCoupon === null || fomoCoupon === void 0 ? void 0 : fomoCoupon.valueInPercent;\n var validUntil = fomoCoupon === null || fomoCoupon === void 0 ? void 0 : fomoCoupon.validUntil;\n var createTimerString = useCallback(function () {\n if (validUntil) {\n var remaining = new Date(validUntil).getTime() - new Date().getTime(); // Already expired?\n\n if (remaining <= 0) {\n return undefined;\n }\n\n var fullSeconds = remaining / 1000;\n return [Math.floor(fullSeconds / 3600), Math.floor(fullSeconds / 60) % 60, Math.floor(fullSeconds % 60)].map(function (v) {\n return v < 10 ? \"0\".concat(v) : v;\n }).filter(function (v, i) {\n return v !== \"00\" || i > 0;\n }).join(\":\");\n } else {\n return undefined;\n }\n }, [validUntil]);\n\n var _useState = useState(),\n _useState2 = _slicedToArray(_useState, 2),\n setRerender = _useState2[1];\n\n useEffect(function () {\n var interval = setInterval(function () {\n setRerender(new Date().getTime());\n }, 1000);\n return function () {\n clearInterval(interval);\n };\n }, []);\n var timerString = createTimerString();\n return timerString ? /*#__PURE__*/React.createElement(_Alert, {\n style: style,\n message: _i(__(\"Use coupon {{tag}}%s{{/tag}} in the next {{strongHours}}%s hours{{/strongHours}} and save {{strongPercent}}%d %%{{/strongPercent}} in the first year!\", coupon, timerString, valueInPercent), {\n tag: /*#__PURE__*/React.createElement(_Tag, {\n color: \"success\",\n style: {\n marginRight: 0,\n cursor: \"pointer\"\n },\n onClick: function onClick() {\n copyToClipboard(coupon);\n\n _message.success(__(\"Successfully copied coupon to clipboard!\"));\n }\n }),\n strongHours: /*#__PURE__*/React.createElement(\"strong\", {\n style: {\n color: \"#d33131\"\n }\n }),\n strongPercent: /*#__PURE__*/React.createElement(\"strong\", null)\n })\n }) : null;\n});\nexport { IN_APP_FOMO_URL_PARAMETER_TO_DEACTIVATE_WEBSITE_FOMO, InAppFomoCouponCounter };","import _Tag from \"antd/es/tag\";\nimport _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport { QuestionCircleFilled } from \"@ant-design/icons\";\nimport { __ } from \"../utils\";\n\nvar LearnMoreTag = function LearnMoreTag(_ref) {\n var url = _ref.url,\n _ref$style = _ref.style,\n style = _ref$style === void 0 ? undefined : _ref$style,\n _ref$label = _ref.label,\n label = _ref$label === void 0 ? __(\"Learn more\") : _ref$label;\n\n var useStyle = _objectSpread({\n cursor: \"pointer\"\n }, style);\n\n return /*#__PURE__*/React.createElement(_Tag, {\n style: useStyle,\n onClick: function onClick() {\n return window.open(url, \"_blank\");\n }\n }, /*#__PURE__*/React.createElement(QuestionCircleFilled, null), \" \", label);\n};\n\nexport { LearnMoreTag };","import _Select from \"antd/es/select\";\nimport _Spin from \"antd/es/spin\";\nimport _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { useState, useEffect, useCallback } from \"react\";\nimport { __, request as utilsRequest, getOtherOptionsFromWindow } from \"../utils\";\nimport { useDebounce } from \"../hooks\";\nimport { RouteHttpVerb } from \"@devowl-wp/utils\";\nimport { htmlDecode } from \"@devowl-wp/headless-content-unblocker\";\n\nvar PostTypeSelect = function PostTypeSelect(_ref) {\n var postType = _ref.postType,\n _ref$postStatus = _ref.postStatus,\n postStatus = _ref$postStatus === void 0 ? [\"draft\", \"publish\", \"private\"] : _ref$postStatus,\n _ref$perPage = _ref.perPage,\n perPage = _ref$perPage === void 0 ? 10 : _ref$perPage,\n value = _ref.value,\n multiple = _ref.multiple,\n disabled = _ref.disabled,\n forceDefaultLanguage = _ref.forceDefaultLanguage,\n _onChange = _ref.onChange,\n _ref$titleRender = _ref.titleRender,\n titleRender = _ref$titleRender === void 0 ? function (_ref2) {\n var rendered = _ref2.title.rendered;\n return rendered;\n } : _ref$titleRender,\n _ref$filter = _ref.filter,\n filter = _ref$filter === void 0 ? function () {\n return true;\n } : _ref$filter;\n\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n term = _useState2[0],\n setTerm = _useState2[1];\n\n var _useState3 = useState(value),\n _useState4 = _slicedToArray(_useState3, 2),\n postId = _useState4[0],\n setPostId = _useState4[1];\n\n var _useState5 = useState(false),\n _useState6 = _slicedToArray(_useState5, 2),\n fetching = _useState6[0],\n setFetching = _useState6[1];\n\n var _useState7 = useState([]),\n _useState8 = _slicedToArray(_useState7, 2),\n data = _useState8[0],\n setData = _useState8[1];\n\n var fetch = useCallback( /*#__PURE__*/function () {\n var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(request) {\n var _getOtherOptionsFromW, defaultLanguage, currentLanguage, pages;\n\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n setFetching(true);\n _getOtherOptionsFromW = getOtherOptionsFromWindow(), defaultLanguage = _getOtherOptionsFromW.defaultLanguage, currentLanguage = _getOtherOptionsFromW.currentLanguage;\n _context.next = 4;\n return utilsRequest({\n location: {\n path: \"/\".concat(postType),\n method: RouteHttpVerb.GET,\n namespace: \"wp/v2\"\n },\n request: _objectSpread({\n status: request.include ? [\"draft\", \"publish\", \"private\"] : postStatus,\n orderby: request.search ? \"relevance\" : \"title\"\n }, request),\n params: {\n _dataLocale: forceDefaultLanguage ? defaultLanguage : currentLanguage\n }\n });\n\n case 4:\n pages = _context.sent;\n setData(pages);\n setFetching(false);\n\n case 7:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n\n return function (_x) {\n return _ref3.apply(this, arguments);\n };\n }(), []);\n useDebounce(term, term === \"\" ? 0 : 800, function (debouncedValue) {\n if (debouncedValue !== false) {\n fetch({\n search: debouncedValue,\n per_page: debouncedValue.length ? 50 : perPage\n });\n }\n }, function (changedValue) {\n if (changedValue !== false) {\n setFetching(true);\n }\n\n setData([]);\n });\n useEffect(function () {\n if (postId > 0 || Array.isArray(postId) && postId.length > 0) {\n fetch({\n include: Array.isArray(postId) ? postId : [postId]\n });\n }\n }, []); // Listen to changes from outside and refetch the data\n\n useEffect(function () {\n if (JSON.stringify(postId) !== JSON.stringify(value) && (value > 0 || Array.isArray(value) && value.length > 0)) {\n setPostId(value);\n fetch({\n include: Array.isArray(value) ? value : [value]\n });\n }\n }, [value, postId]);\n return /*#__PURE__*/React.createElement(_Select, {\n mode: multiple ? \"multiple\" : undefined,\n disabled: disabled,\n showSearch: true,\n value: postId,\n placeholder: __(\"Search...\"),\n notFoundContent: fetching ? /*#__PURE__*/React.createElement(_Spin, {\n size: \"small\"\n }) : null,\n onClick: function onClick() {\n return setTerm(\"\");\n },\n onSearch: setTerm,\n onChange: function onChange(e) {\n var value = Array.isArray(e) ? e.map(Number) : +e;\n setPostId(value);\n _onChange === null || _onChange === void 0 ? void 0 : _onChange(value);\n },\n filterOption: false,\n loading: fetching\n }, !multiple && !fetching && /*#__PURE__*/React.createElement(_Select.Option, {\n value: 0\n }, __(\"— Select —\")), data.map(function (d) {\n return /*#__PURE__*/React.createElement(_Select.Option, {\n key: d.id,\n value: d.id,\n style: {\n display: filter(d) ? undefined : \"none\"\n }\n }, htmlDecode(titleRender(d)));\n }));\n};\n\nexport { PostTypeSelect };","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 };","import _Modal from \"antd/es/modal\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { useState } from \"react\";\nimport { useEffect } from \"react\";\nimport { useCallback } from \"react\";\nimport { UnlockFilled } from \"@ant-design/icons\";\nimport { __, getOtherOptionsFromWindow, _i } from \"../utils\";\nimport { ProModalHint, InAppFomoCouponCounter, IN_APP_FOMO_URL_PARAMETER_TO_DEACTIVATE_WEBSITE_FOMO } from \".\";\nimport { reactNl2Br } from \"@devowl-wp/react-cookie-banner\";\n\nvar ProModal = function ProModal(_ref) {\n var _ref$visible = _ref.visible,\n visible = _ref$visible === void 0 ? false : _ref$visible,\n _ref$showHints = _ref.showHints,\n showHints = _ref$showHints === void 0 ? true : _ref$showHints,\n _ref$showFomoCouponCo = _ref.showFomoCouponCounter,\n showFomoCouponCounter = _ref$showFomoCouponCo === void 0 ? true : _ref$showFomoCouponCo,\n title = _ref.title,\n _ref$testDrive = _ref.testDrive,\n testDrive = _ref$testDrive === void 0 ? false : _ref$testDrive,\n assetName = _ref.assetName,\n description = _ref.description,\n feature = _ref.feature,\n onClose = _ref.onClose,\n inContainer = _ref.inContainer,\n inContainerElement = _ref.inContainerElement;\n\n var _getOtherOptionsFromW = getOtherOptionsFromWindow(),\n proUrl = _getOtherOptionsFromW.proUrl,\n hints = _getOtherOptionsFromW.hints;\n\n var _useState = useState(),\n _useState2 = _slicedToArray(_useState, 2),\n descriptionRef = _useState2[0],\n setDescriptionRef = _useState2[1];\n\n var handleRedirect = useCallback(function () {\n window.open(\"\".concat(proUrl, \"&feature=\").concat(feature, \"&\").concat(IN_APP_FOMO_URL_PARAMETER_TO_DEACTIVATE_WEBSITE_FOMO), \"_blank\").focus();\n onClose === null || onClose === void 0 ? void 0 : onClose();\n }, [onClose]); // Do not automatically scroll / focus the container if `inContainer` is set\n\n useEffect(function () {\n if (inContainer && descriptionRef) {\n (descriptionRef === null || descriptionRef === void 0 ? void 0 : descriptionRef.parentElement.parentElement.previousElementSibling).removeAttribute(\"tabIndex\");\n }\n }, [descriptionRef]);\n var hint = hints === null || hints === void 0 ? void 0 : hints.proDialog; // Do not output the model until the container is ready\n\n if (inContainer && !inContainerElement) {\n return null;\n }\n\n return /*#__PURE__*/React.createElement(_Modal, {\n visible: inContainer ? true : visible,\n title: /*#__PURE__*/React.createElement(\"span\", null, /*#__PURE__*/React.createElement(UnlockFilled, null), \"\\xA0\", title, \"\\xA0\", __(\"Get PRO!\")),\n onOk: handleRedirect,\n onCancel: onClose,\n cancelText: __(\"No, not interested...\"),\n okText: __(\"I want to learn more!\"),\n className: \"rcb-pro-modal\",\n width: assetName ? 800 : 700,\n getContainer: inContainer ? inContainerElement : undefined\n }, !!assetName && /*#__PURE__*/React.createElement(\"img\", {\n style: {\n marginTop: 10\n },\n src: \"https://assets.devowl.io/in-app/wp-real-cookie-banner/\".concat(assetName)\n }), /*#__PURE__*/React.createElement(\"div\", {\n style: {\n maxWidth: 600,\n margin: \"auto\"\n },\n ref: setDescriptionRef\n }, /*#__PURE__*/React.createElement(\"p\", null, reactNl2Br(description)), testDrive && /*#__PURE__*/React.createElement(\"p\", null, _i(__(\"Check out this feature with a {{a}}free sandbox{{/a}} before buying!\"), {\n a: /*#__PURE__*/React.createElement(\"a\", {\n href: \"https://try.devowl.io/?product=RCB\",\n target: \"_blank\",\n rel: \"noreferrer\"\n })\n }))), !!hint && showHints && /*#__PURE__*/React.createElement(\"div\", {\n style: {\n maxWidth: 600,\n margin: \"auto\",\n textAlign: \"left\"\n }\n }, /*#__PURE__*/React.createElement(ProModalHint, hint)), showFomoCouponCounter && /*#__PURE__*/React.createElement(InAppFomoCouponCounter, {\n style: {\n marginBottom: 15\n }\n }));\n};\n\nexport { ProModal };","import _Row from \"antd/es/row\";\nimport _Col from \"antd/es/col\";\nimport _Divider from \"antd/es/divider\";\n\nvar ProModalHint = function ProModalHint(_ref) {\n var title = _ref.title,\n description = _ref.description,\n link = _ref.link,\n linkText = _ref.linkText,\n logo = _ref.logo;\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_Divider, null, title), /*#__PURE__*/React.createElement(_Row, {\n wrap: false,\n style: {\n marginBottom: 10\n }\n }, /*#__PURE__*/React.createElement(_Col, {\n flex: \"auto\"\n }, !!description && /*#__PURE__*/React.createElement(\"p\", {\n style: {\n margin: 0\n }\n }, /*#__PURE__*/React.createElement(\"span\", {\n dangerouslySetInnerHTML: {\n __html: description\n }\n }), \"\\xA0\", !!link && !!linkText && /*#__PURE__*/React.createElement(\"a\", {\n href: link,\n target: \"_blank\",\n rel: \"noreferrer\",\n className: \"button-link\"\n }, linkText))), /*#__PURE__*/React.createElement(_Col, {\n flex: \"150px\",\n style: {\n alignSelf: \"center\"\n }\n }, !!logo && /*#__PURE__*/React.createElement(\"img\", {\n src: logo,\n style: {\n maxWidth: \"calc(100% - 20px)\",\n height: \"auto\",\n marginLeft: 20\n }\n }))));\n};\n\nexport { ProModalHint };","import _objectWithoutProperties from \"@babel/runtime/helpers/objectWithoutProperties\";\nimport { useProModal } from \"../hooks\";\n\nvar ProTag = function ProTag(_ref) {\n var children = _ref.children,\n _ref$wrapperAttribute = _ref.wrapperAttributes,\n wrapperAttributes = _ref$wrapperAttribute === void 0 ? {} : _ref$wrapperAttribute,\n feature = _objectWithoutProperties(_ref, [\"children\", \"wrapperAttributes\"]);\n\n var _useProModal = useProModal(feature),\n modal = _useProModal.modal,\n tag = _useProModal.tag;\n\n return /*#__PURE__*/React.createElement(React.Fragment, null, modal, /*#__PURE__*/React.createElement(\"span\", wrapperAttributes, tag));\n};\n\nexport { ProTag };","import _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { useState, useEffect } from \"react\";\n\nfunction useDebounce(value, delay, callback, changed) {\n var _useState = useState(value),\n _useState2 = _slicedToArray(_useState, 2),\n debounce = _useState2[0],\n setDebounce = _useState2[1];\n\n useEffect(function () {\n var handler = setTimeout(function () {\n setDebounce(value);\n }, delay);\n changed === null || changed === void 0 ? void 0 : changed(value);\n return function () {\n clearTimeout(handler);\n };\n }, [value]);\n useEffect(function () {\n callback(debounce);\n }, [debounce]);\n return debounce;\n}\n\nexport { useDebounce };","import _extends from \"@babel/runtime/helpers/extends\";\nimport _Tag from \"antd/es/tag\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { UnlockOutlined } from \"@ant-design/icons\";\nimport { __ } from \"../utils\";\nimport { useStores } from \"../store\";\nimport { useCallback, useMemo, useState } from \"react\";\nimport { ProModal } from \"../components\";\nvar PRO_TAG_BACKGROUND_COLOR = \"#2db7f5\";\n/**\n * Provide a PRO modal when clicking a given button.\n *\n * @param overrideIsPro Allows to override the `isPro` attribute coming from the option store (e. g. for demo environment purposes, try.devowl.io)\n */\n\nfunction useProModal(feature, overrideIsPro) {\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n visible = _useState2[0],\n setVisible = _useState2[1];\n\n var _useStores = useStores(),\n isPro = _useStores.optionStore.others.isPro;\n\n var useIsPro = typeof overrideIsPro === \"boolean\" ? overrideIsPro : isPro;\n var open = useCallback(function (e) {\n setVisible(true);\n e === null || e === void 0 ? void 0 : e.preventDefault();\n }, [setVisible]);\n var tag = useMemo(function () {\n return useIsPro ? null : /*#__PURE__*/React.createElement(_Tag, {\n icon: /*#__PURE__*/React.createElement(UnlockOutlined, null),\n color: PRO_TAG_BACKGROUND_COLOR,\n style: {\n cursor: \"pointer\"\n },\n onClick: open\n }, feature.tagText || __(\"Unlock feature\"));\n }, [open, feature]);\n var modal = useMemo(function () {\n return useIsPro ? null : /*#__PURE__*/React.createElement(ProModal, _extends({\n visible: visible,\n onClose: function onClose() {\n return setVisible(false);\n }\n }, feature));\n }, [visible, setVisible, feature]);\n return {\n isPro: useIsPro,\n tag: tag,\n modal: modal,\n open: open\n };\n}\n\nexport { useProModal, PRO_TAG_BACKGROUND_COLOR };","import { useProgress } from \"@devowl-wp/real-queue\";\nimport { useCallback } from \"react\";\nimport { useStores } from \"../store\";\nimport { SCAN_QUEUE_JOB } from \"../types\";\n\n/**\n * Returns the status / progress of the scanner.\n */\nfunction useScannerProgress(fetchStatusInterval) {\n var fetchAdditionalData = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n var onCancel = arguments.length > 2 ? arguments[2] : undefined;\n\n var _useStores = useStores(),\n scannerStore = _useStores.scannerStore;\n\n return useProgress({\n type: SCAN_QUEUE_JOB,\n fetchStatusInterval: fetchStatusInterval,\n fetchAdditionalData: fetchAdditionalData,\n onAdditionalData: useCallback(function (_ref) {\n var rcbScanList = _ref[\"rcb-scan-list\"];\n var presets = rcbScanList.presets,\n externalUrls = rcbScanList.externalUrls;\n scannerStore.resultPresetsFromResponse(presets);\n scannerStore.resultExternalUrlsFromResponse(externalUrls);\n }, [scannerStore]),\n onCancel: onCancel\n });\n}\n\nexport { useScannerProgress };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6;\n\nimport { observable, set, runInAction } from \"mobx\";\nimport { getSidebarCustomize } from \"@devowl-wp/customize\";\nvar BannerPreset = (_class = /*#__PURE__*/function () {\n /**\n * When hover the preview card we need to save the available settings.\n */\n function BannerPreset(preset, store) {\n var _this = this;\n\n _classCallCheck(this, BannerPreset);\n\n _initializerDefineProperty(this, \"id\", _descriptor, this);\n\n _initializerDefineProperty(this, \"name\", _descriptor2, this);\n\n _initializerDefineProperty(this, \"needsPro\", _descriptor3, this);\n\n _initializerDefineProperty(this, \"description\", _descriptor4, this);\n\n _initializerDefineProperty(this, \"tags\", _descriptor5, this);\n\n _initializerDefineProperty(this, \"settings\", _descriptor6, this);\n\n this.store = void 0;\n this.resetPreviewInUiSettings = void 0;\n runInAction(function () {\n return set(_this, preset);\n });\n this.store = store;\n }\n\n _createClass(BannerPreset, [{\n key: \"applyInUi\",\n value: function applyInUi() {\n var _this2 = this;\n\n // Check if pro\n if (!this.store.rootStore.optionStore.others.isPro && this.needsPro) {\n return false;\n } // First, save all in our store so the paint is done correctly\n\n\n this.previewInUi(); // Afterwards, save in customize state\n\n setTimeout(function () {\n var customize = getSidebarCustomize();\n\n _this2.store.presetDefaults.forEach(function (defaultValue, key) {\n var setting = customize(key); // Apply it\n\n setting.set(_this2.settings[key] === undefined ? defaultValue : _this2.settings[key]);\n });\n }, 100);\n return true;\n }\n }, {\n key: \"previewInUi\",\n value: function previewInUi() {\n var customize = getSidebarCustomize();\n var presetDefaults = this.store.presetDefaults;\n var _ref = this.store.rootStore.optionStore.others.customizeIdsBanner,\n settings = _ref.settings;\n var batchUpdates = []; // Make it restorable\n\n this.resetPreviewInUiSettings = {};\n\n for (var _i = 0, _Object$keys = Object.keys(settings); _i < _Object$keys.length; _i++) {\n var section = _Object$keys[_i];\n var sectionSettings = settings[section];\n\n for (var _i2 = 0, _Object$keys2 = Object.keys(sectionSettings); _i2 < _Object$keys2.length; _i2++) {\n var _setting = _Object$keys2[_i2];\n var customizeKey = sectionSettings[_setting];\n\n if (!presetDefaults.has(customizeKey)) {\n continue;\n }\n\n this.resetPreviewInUiSettings[customizeKey] = [section, _setting, customize(customizeKey).get()];\n var newValue = Object.prototype.hasOwnProperty.call(this.settings, customizeKey) ? this.settings[customizeKey] : presetDefaults.get(customizeKey);\n batchUpdates.push([section, _setting, newValue]);\n }\n }\n\n BannerPreset.getIframeStore().customizeBannerStore.setBannerFromPreset(batchUpdates);\n }\n }, {\n key: \"resetPreviewInUi\",\n value: function resetPreviewInUi() {\n if (this.resetPreviewInUiSettings) {\n BannerPreset.getIframeStore().customizeBannerStore.setBannerFromPreset(Object.values(this.resetPreviewInUiSettings));\n this.resetPreviewInUiSettings = {};\n }\n }\n }], [{\n key: \"getIframeStore\",\n value: function getIframeStore() {\n try {\n return document.querySelector(\"#customize-preview > iframe\").contentWindow.realCookieBanner_customize_banner.RootStore.get;\n } catch (e) {\n // Element does not yet exist\n return undefined;\n }\n }\n }]);\n\n return BannerPreset;\n}(), (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"id\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"name\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"needsPro\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"description\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"tags\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"settings\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n})), _class);\nexport { BannerPreset };","import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/createSuper\";\n\nvar _dec, _class;\n\nimport { ClientCollection, RouteHttpVerb, AbstractPostCollection } from \"@devowl-wp/utils\";\nimport { request } from \"../utils\";\nimport { BlockerModel } from \".\";\nvar BlockerCollection = (_dec = ClientCollection.annotate({\n path: \"/rcb-blocker\",\n singlePath: \"/rcb-blocker/:id\",\n namespace: \"wp/v2\",\n methods: [RouteHttpVerb.GET],\n request: request\n}), _dec(_class = /*#__PURE__*/function (_AbstractPostCollecti) {\n _inherits(BlockerCollection, _AbstractPostCollecti);\n\n var _super = _createSuper(BlockerCollection);\n\n function BlockerCollection(store) {\n var _this;\n\n _classCallCheck(this, BlockerCollection);\n\n _this = _super.call(this);\n _this.store = void 0;\n _this.store = store;\n return _this;\n }\n\n _createClass(BlockerCollection, [{\n key: \"instance\",\n value: function instance(response) {\n return new BlockerModel(this).fromResponse(response);\n }\n }]);\n\n return BlockerCollection;\n}(AbstractPostCollection)) || _class);\nexport { BlockerCollection };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/assertThisInitialized\";\nimport _get from \"@babel/runtime/helpers/get\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/createSuper\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _dec, _class, _class2, _descriptor;\n\nimport { ClientModel, AbstractPost } from \"@devowl-wp/utils\";\nimport { request } from \"../utils\";\nimport { BlockerPreset } from \".\";\nimport { action, computed, observable, reaction, runInAction } from \"mobx\";\nimport { RootStore } from \"../store\";\nvar BlockerModel = (_dec = ClientModel.annotate({\n keyId: \"id\",\n namespace: \"wp/v2\",\n request: request,\n create: {\n path: \"/rcb-blocker\"\n },\n patch: {\n path: \"/rcb-blocker/:id\"\n },\n delete: {\n path: \"/rcb-blocker/:id\"\n }\n}), _dec(_class = (_class2 = /*#__PURE__*/function (_AbstractPost) {\n _inherits(BlockerModel, _AbstractPost);\n\n var _super = _createSuper(BlockerModel);\n\n function BlockerModel(collection) {\n var _this;\n\n var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n _classCallCheck(this, BlockerModel);\n\n _this = _super.call(this, collection, data);\n\n _initializerDefineProperty(_this, \"presetModel\", _descriptor, _assertThisInitialized(_this));\n\n reaction(function () {\n var _this$data;\n\n return (_this$data = _this.data) === null || _this$data === void 0 ? void 0 : _this$data.preset;\n }, function (preset) {\n return runInAction(function () {\n _this.presetModel = preset ? new BlockerPreset(preset, RootStore.get.cookieStore) : undefined;\n });\n }, {\n fireImmediately: true\n });\n return _this;\n }\n\n _createClass(BlockerModel, [{\n key: \"hosts\",\n get: function get() {\n var _this$data2;\n\n return (_this$data2 = this.data) === null || _this$data2 === void 0 ? void 0 : _this$data2.meta.hosts.split(\"\\n\");\n }\n }, {\n key: \"tcfVendors\",\n get: function get() {\n var _this$data3;\n\n // In lite version this can be `null`\n if (!((_this$data3 = this.data) !== null && _this$data3 !== void 0 && _this$data3.meta.tcfVendors)) {\n return [];\n }\n\n return this.data.meta.tcfVendors.split(\",\").filter(Boolean).map(Number);\n }\n }, {\n key: \"cookies\",\n get: function get() {\n var _this$data4;\n\n return (_this$data4 = this.data) === null || _this$data4 === void 0 ? void 0 : _this$data4.meta.cookies.split(\",\").filter(Boolean).map(Number);\n }\n }, {\n key: \"setName\",\n value: function setName(name) {\n this.data.title.rendered = name;\n }\n }, {\n key: \"setStatus\",\n value: function setStatus(status) {\n this.data.status = status;\n }\n }, {\n key: \"setDescription\",\n value: function setDescription(purpose) {\n this.data.content.rendered = purpose;\n }\n }, {\n key: \"setMeta\",\n value: function setMeta(meta) {\n this.data.meta = meta;\n }\n }, {\n key: \"transformDataForPatch\",\n value: function transformDataForPatch() {\n var data = _get(_getPrototypeOf(BlockerModel.prototype), \"transformDataForPatch\", this).call(this);\n\n return {\n title: data.title,\n content: data.content,\n status: data.status,\n meta: data.meta,\n slug: data.title\n };\n }\n }, {\n key: \"afterPatch\",\n value: function afterPatch() {\n this.collection.store.blockers.store.rootStore.optionStore.fetchCurrentRevision();\n }\n }, {\n key: \"afterDelete\",\n value: function afterDelete() {\n this.collection.store.blockers.store.rootStore.optionStore.fetchCurrentRevision();\n }\n }, {\n key: \"afterPersist\",\n value: function afterPersist() {\n this.collection.store.blockers.store.rootStore.optionStore.fetchCurrentRevision();\n }\n }]);\n\n return BlockerModel;\n}(AbstractPost), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, \"presetModel\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class2.prototype, \"hosts\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"hosts\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"tcfVendors\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"tcfVendors\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"cookies\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"cookies\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setName\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setName\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setStatus\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setStatus\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setDescription\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setDescription\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setMeta\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setMeta\"), _class2.prototype)), _class2)) || _class);\nexport { BlockerModel };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2, _descriptor3;\n\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { observable, runInAction, computed, flow } from \"mobx\";\nimport { locationRestPresetsBlockerAttributesGet } from \"../wp-api\";\nimport { request } from \"../utils\";\nvar BlockerPreset = (_class = /*#__PURE__*/function () {\n function BlockerPreset(preset, store) {\n var _this = this;\n\n _classCallCheck(this, BlockerPreset);\n\n _initializerDefineProperty(this, \"busy\", _descriptor, this);\n\n _initializerDefineProperty(this, \"data\", _descriptor2, this);\n\n _initializerDefineProperty(this, \"attributes\", _descriptor3, this);\n\n this.store = void 0;\n this.fetchAttributes = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {\n var response;\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n _context.prev = 0;\n this.busy = true;\n _context.next = 4;\n return request({\n location: locationRestPresetsBlockerAttributesGet,\n params: {\n identifier: this.data.identifier\n }\n });\n\n case 4:\n response = _context.sent;\n this.attributes = response;\n _context.next = 12;\n break;\n\n case 8:\n _context.prev = 8;\n _context.t0 = _context[\"catch\"](0);\n console.log(_context.t0);\n throw _context.t0;\n\n case 12:\n _context.prev = 12;\n this.busy = false;\n return _context.finish(12);\n\n case 15:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, this, [[0, 8, 12, 15]]);\n }));\n runInAction(function () {\n _this.data = preset;\n });\n this.store = store;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n _createClass(BlockerPreset, [{\n key: \"fullLogoUrl\",\n get: function get() {\n var logoFile = this.data.logoFile;\n var publicUrl = this.store.rootStore.optionStore.publicUrl;\n return logoFile.startsWith(\"http\") ? logoFile : \"\".concat(publicUrl, \"images/logos/\").concat(logoFile);\n }\n }]);\n\n return BlockerPreset;\n}(), (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"busy\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"data\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"attributes\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class.prototype, \"fullLogoUrl\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"fullLogoUrl\"), _class.prototype)), _class);\nexport { BlockerPreset };","import _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29;\n\nimport { observable, set, runInAction, computed } from \"mobx\";\nvar Consent = (_class = /*#__PURE__*/function () {\n function Consent(consent, store) {\n var _this = this;\n\n _classCallCheck(this, Consent);\n\n _initializerDefineProperty(this, \"id\", _descriptor, this);\n\n _initializerDefineProperty(this, \"plugin_version\", _descriptor2, this);\n\n _initializerDefineProperty(this, \"design_version\", _descriptor3, this);\n\n _initializerDefineProperty(this, \"ipv4\", _descriptor4, this);\n\n _initializerDefineProperty(this, \"ipv6\", _descriptor5, this);\n\n _initializerDefineProperty(this, \"ipv4_hash\", _descriptor6, this);\n\n _initializerDefineProperty(this, \"ipv6_hash\", _descriptor7, this);\n\n _initializerDefineProperty(this, \"uuid\", _descriptor8, this);\n\n _initializerDefineProperty(this, \"previous_decision\", _descriptor9, this);\n\n _initializerDefineProperty(this, \"decision\", _descriptor10, this);\n\n _initializerDefineProperty(this, \"decision_labels\", _descriptor11, this);\n\n _initializerDefineProperty(this, \"created\", _descriptor12, this);\n\n _initializerDefineProperty(this, \"blocker\", _descriptor13, this);\n\n _initializerDefineProperty(this, \"blocker_thumbnail\", _descriptor14, this);\n\n _initializerDefineProperty(this, \"dnt\", _descriptor15, this);\n\n _initializerDefineProperty(this, \"custom_bypass\", _descriptor16, this);\n\n _initializerDefineProperty(this, \"user_country\", _descriptor17, this);\n\n _initializerDefineProperty(this, \"revision_hash\", _descriptor18, this);\n\n _initializerDefineProperty(this, \"revision_independent_hash\", _descriptor19, this);\n\n _initializerDefineProperty(this, \"button_clicked\", _descriptor20, this);\n\n _initializerDefineProperty(this, \"context\", _descriptor21, this);\n\n _initializerDefineProperty(this, \"viewport_width\", _descriptor22, this);\n\n _initializerDefineProperty(this, \"viewport_height\", _descriptor23, this);\n\n _initializerDefineProperty(this, \"viewed_page\", _descriptor24, this);\n\n _initializerDefineProperty(this, \"url_imprint\", _descriptor25, this);\n\n _initializerDefineProperty(this, \"url_privacy_policy\", _descriptor26, this);\n\n _initializerDefineProperty(this, \"forwarded\", _descriptor27, this);\n\n _initializerDefineProperty(this, \"forwarded_blocker\", _descriptor28, this);\n\n _initializerDefineProperty(this, \"tcf_string\", _descriptor29, this);\n\n this.store = void 0;\n this.plain = void 0;\n runInAction(function () {\n return set(_this, consent);\n });\n this.store = store;\n this.plain = consent;\n }\n\n _createClass(Consent, [{\n key: \"revision\",\n get: function get() {\n return this.store.revisions.get(this.revision_hash);\n }\n }, {\n key: \"revision_independent\",\n get: function get() {\n return this.store.revisionsIndependent.get(this.revision_independent_hash);\n }\n }, {\n key: \"custom_bypass_readable\",\n get: function get() {\n var custom_bypass = this.custom_bypass;\n return custom_bypass ? custom_bypass.charAt(0).toUpperCase() + custom_bypass.slice(1) : \"\";\n }\n }, {\n key: \"export\",\n get:\n /**\n * Prepare the entry for JSON export.\n */\n function get() {\n return JSON.parse(JSON.stringify(_objectSpread(_objectSpread({}, this.plain), {}, {\n revision: this.revision.data,\n revision_independent: this.revision_independent.data\n })));\n }\n }, {\n key: \"fetchRevisions\",\n value: function fetchRevisions() {\n return Promise.all([this.store.fetchRevision({\n hash: this.revision_hash\n }), this.store.fetchRevisionIndependent({\n hash: this.revision_independent_hash\n })]);\n }\n }]);\n\n return Consent;\n}(), (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"id\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"plugin_version\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"design_version\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"ipv4\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"ipv6\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"ipv4_hash\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"ipv6_hash\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"uuid\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"previous_decision\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"decision\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"decision_labels\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"created\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"blocker\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, \"blocker_thumbnail\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor15 = _applyDecoratedDescriptor(_class.prototype, \"dnt\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor16 = _applyDecoratedDescriptor(_class.prototype, \"custom_bypass\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor17 = _applyDecoratedDescriptor(_class.prototype, \"user_country\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor18 = _applyDecoratedDescriptor(_class.prototype, \"revision_hash\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor19 = _applyDecoratedDescriptor(_class.prototype, \"revision_independent_hash\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor20 = _applyDecoratedDescriptor(_class.prototype, \"button_clicked\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor21 = _applyDecoratedDescriptor(_class.prototype, \"context\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor22 = _applyDecoratedDescriptor(_class.prototype, \"viewport_width\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor23 = _applyDecoratedDescriptor(_class.prototype, \"viewport_height\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor24 = _applyDecoratedDescriptor(_class.prototype, \"viewed_page\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor25 = _applyDecoratedDescriptor(_class.prototype, \"url_imprint\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor26 = _applyDecoratedDescriptor(_class.prototype, \"url_privacy_policy\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor27 = _applyDecoratedDescriptor(_class.prototype, \"forwarded\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor28 = _applyDecoratedDescriptor(_class.prototype, \"forwarded_blocker\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor29 = _applyDecoratedDescriptor(_class.prototype, \"tcf_string\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class.prototype, \"revision\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"revision\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"revision_independent\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"revision_independent\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"custom_bypass_readable\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"custom_bypass_readable\"), _class.prototype)), _class);\nexport { Consent };","import _createForOfIteratorHelper from \"@babel/runtime/helpers/createForOfIteratorHelper\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/createSuper\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\n\nvar _dec, _class, _class2;\n\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { ClientCollection, RouteHttpVerb, AbstractPostCollection } from \"@devowl-wp/utils\";\nimport { request } from \"../utils\";\nimport { CookieModel } from \".\";\nimport { computed, flow } from \"mobx\";\nimport { locationRestCookiesOrderPut } from \"../wp-api\";\nvar CookieCollection = (_dec = ClientCollection.annotate({\n path: \"/rcb-cookie\",\n singlePath: \"/rcb-cookie/:id\",\n namespace: \"wp/v2\",\n methods: [RouteHttpVerb.GET],\n request: request\n}), _dec(_class = (_class2 = /*#__PURE__*/function (_AbstractPostCollecti) {\n _inherits(CookieCollection, _AbstractPostCollecti);\n\n var _super = _createSuper(CookieCollection);\n\n function CookieCollection(store) {\n var _this;\n\n _classCallCheck(this, CookieCollection);\n\n _this = _super.call(this);\n _this.store = void 0;\n _this.orderCookies = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(ids) {\n var i, _iterator, _step, id, cookie;\n\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n this.busy = true;\n _context.prev = 1;\n _context.next = 4;\n return request({\n location: locationRestCookiesOrderPut,\n request: {\n ids: ids\n }\n });\n\n case 4:\n // Apply the order to existing cached models instead of fetching again\n i = 0;\n _iterator = _createForOfIteratorHelper(ids);\n\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n id = _step.value;\n cookie = this.entries.get(id);\n cookie.setOrder(i);\n i++;\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n\n _context.next = 13;\n break;\n\n case 9:\n _context.prev = 9;\n _context.t0 = _context[\"catch\"](1);\n console.log(_context.t0);\n throw _context.t0;\n\n case 13:\n _context.prev = 13;\n this.busy = false;\n return _context.finish(13);\n\n case 16:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, this, [[1, 9, 13, 16]]);\n }));\n _this.store = store;\n return _this;\n }\n\n _createClass(CookieCollection, [{\n key: \"sortedCookies\",\n get: function get() {\n var result = Array.from(this.entries.values());\n result.sort(function (a, b) {\n if (a.data.menu_order < b.data.menu_order) {\n return -1;\n } else if (a.data.menu_order > b.data.menu_order) {\n return 1;\n } else {\n // a.menu_order === b.menu_order\n if (a.key < b.key) {\n return 1;\n } else if (a.key > b.key) {\n return -1;\n } else {\n return 0;\n }\n }\n });\n return result;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n }, {\n key: \"instance\",\n value: function instance(response) {\n return new CookieModel(this).fromResponse(response);\n }\n }]);\n\n return CookieCollection;\n}(AbstractPostCollection), (_applyDecoratedDescriptor(_class2.prototype, \"sortedCookies\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"sortedCookies\"), _class2.prototype)), _class2)) || _class);\nexport { CookieCollection };","import _createForOfIteratorHelper from \"@babel/runtime/helpers/createForOfIteratorHelper\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/createSuper\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\n\nvar _dec, _class, _class2;\n\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { ClientCollection, RouteHttpVerb, AbstractCategoryCollection } from \"@devowl-wp/utils\";\nimport { request } from \"../utils\";\nimport { CookieGroupModel } from \".\";\nimport { computed, flow } from \"mobx\";\nimport { locationRestCookieGroupOrderPut } from \"../wp-api\";\nvar CookieGroupCollection = (_dec = ClientCollection.annotate({\n path: \"/rcb-cookie-group\",\n singlePath: \"/rcb-cookie-group/:id\",\n namespace: \"wp/v2\",\n methods: [RouteHttpVerb.GET],\n request: request\n}), _dec(_class = (_class2 = /*#__PURE__*/function (_AbstractCategoryColl) {\n _inherits(CookieGroupCollection, _AbstractCategoryColl);\n\n var _super = _createSuper(CookieGroupCollection);\n\n function CookieGroupCollection(store) {\n var _this;\n\n _classCallCheck(this, CookieGroupCollection);\n\n _this = _super.call(this);\n _this.store = void 0;\n _this.orderCookieGroups = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(ids) {\n var i, _iterator, _step, id, group;\n\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n this.busy = true;\n _context.prev = 1;\n _context.next = 4;\n return request({\n location: locationRestCookieGroupOrderPut,\n request: {\n ids: ids\n }\n });\n\n case 4:\n // Apply the order to existing cached models instead of fetching again\n i = 0;\n _iterator = _createForOfIteratorHelper(ids);\n\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n id = _step.value;\n group = this.entries.get(id);\n group.setOrder(i);\n i++;\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n\n _context.next = 13;\n break;\n\n case 9:\n _context.prev = 9;\n _context.t0 = _context[\"catch\"](1);\n console.log(_context.t0);\n throw _context.t0;\n\n case 13:\n _context.prev = 13;\n this.busy = false;\n return _context.finish(13);\n\n case 16:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, this, [[1, 9, 13, 16]]);\n }));\n _this.store = store;\n return _this;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n _createClass(CookieGroupCollection, [{\n key: \"sortedGroups\",\n get: function get() {\n var result = Array.from(this.entries.values());\n result.sort(function (a, b) {\n if (a.data.meta.order < b.data.meta.order) {\n return -1;\n } else if (a.data.meta.order > b.data.meta.order) {\n return 1;\n } else {\n return 0;\n }\n });\n return result;\n }\n }, {\n key: \"instance\",\n value: function instance(response) {\n return new CookieGroupModel(this).fromResponse(response);\n }\n }]);\n\n return CookieGroupCollection;\n}(AbstractCategoryCollection), (_applyDecoratedDescriptor(_class2.prototype, \"sortedGroups\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"sortedGroups\"), _class2.prototype)), _class2)) || _class);\nexport { CookieGroupCollection };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/assertThisInitialized\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/createSuper\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _dec, _class, _class2, _descriptor, _descriptor2;\n\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { ClientModel, AbstractCategory } from \"@devowl-wp/utils\";\nimport { request } from \"../utils\";\nimport { CookieCollection } from \".\";\nimport { action, observable, runInAction, flow, computed } from \"mobx\";\nvar CookieGroupModel = (_dec = ClientModel.annotate({\n keyId: \"id\",\n namespace: \"wp/v2\",\n request: request,\n create: {\n path: \"/rcb-cookie-group\"\n },\n patch: {\n path: \"/rcb-cookie-group/:id\"\n },\n delete: {\n path: \"/rcb-cookie-group/:id\"\n }\n}), _dec(_class = (_class2 = /*#__PURE__*/function (_AbstractCategory) {\n _inherits(CookieGroupModel, _AbstractCategory);\n\n var _super = _createSuper(CookieGroupModel);\n\n function CookieGroupModel(collection) {\n var _this;\n\n var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n _classCallCheck(this, CookieGroupModel);\n\n _this = _super.call(this, collection, data);\n\n _initializerDefineProperty(_this, \"cookies\", _descriptor, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"fetchedAllCookies\", _descriptor2, _assertThisInitialized(_this));\n\n _this.fetchCookies = flow( /*#__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 _context.next = 2;\n return this.cookies.get({\n request: {\n status: [\"draft\", \"publish\", \"private\"]\n },\n params: {\n // eslint-disable-next-line @typescript-eslint/naming-convention\n per_page: 100,\n // Fetch all\n \"rcb-cookie-group\": this.key,\n context: \"edit\"\n }\n });\n\n case 2:\n this.fetchedAllCookies = true;\n\n case 3:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, this);\n }));\n runInAction(function () {\n _this.cookies = new CookieCollection(_assertThisInitialized(_this));\n });\n return _this;\n }\n\n _createClass(CookieGroupModel, [{\n key: \"cookiesCount\",\n get: function get() {\n // TODO: this.data.count should return a count also of private cookies\n return this.fetchedAllCookies ? this.cookies.entries.size : this.data.count;\n }\n }, {\n key: \"setName\",\n value: function setName(name) {\n this.data.name = name;\n }\n }, {\n key: \"setDescription\",\n value: function setDescription(description) {\n this.data.description = description;\n }\n }, {\n key: \"setOrder\",\n value: function setOrder(order) {\n this.data.meta.order = order;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n }, {\n key: \"afterDelete\",\n value: function afterDelete() {\n this.collection.store.rootStore.optionStore.fetchCurrentRevision();\n }\n }, {\n key: \"afterPatch\",\n value: function afterPatch() {\n this.collection.store.rootStore.optionStore.fetchCurrentRevision();\n }\n }, {\n key: \"afterPersist\",\n value: function afterPersist() {\n this.collection.store.rootStore.optionStore.fetchCurrentRevision();\n }\n }]);\n\n return CookieGroupModel;\n}(AbstractCategory), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, \"cookies\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"fetchedAllCookies\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _applyDecoratedDescriptor(_class2.prototype, \"cookiesCount\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"cookiesCount\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setName\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setName\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setDescription\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setDescription\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setOrder\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setOrder\"), _class2.prototype)), _class2)) || _class);\nexport { CookieGroupModel };","import _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/assertThisInitialized\";\nimport _get from \"@babel/runtime/helpers/get\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/createSuper\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _dec, _class, _class2, _descriptor;\n\nimport { ClientModel, AbstractPost } from \"@devowl-wp/utils\";\nimport { request } from \"../utils\";\nimport { CookiePreset } from \".\";\nimport { computed, action, observable, runInAction, reaction } from \"mobx\";\nimport { RootStore } from \"../store\";\nvar CookieModel = (_dec = ClientModel.annotate({\n keyId: \"id\",\n namespace: \"wp/v2\",\n request: request,\n create: {\n path: \"/rcb-cookie\"\n },\n patch: {\n path: \"/rcb-cookie/:id\"\n },\n delete: {\n path: \"/rcb-cookie/:id\"\n }\n}), _dec(_class = (_class2 = /*#__PURE__*/function (_AbstractPost) {\n _inherits(CookieModel, _AbstractPost);\n\n var _super = _createSuper(CookieModel);\n\n function CookieModel(collection) {\n var _this;\n\n var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n _classCallCheck(this, CookieModel);\n\n _this = _super.call(this, collection, data);\n\n _initializerDefineProperty(_this, \"presetModel\", _descriptor, _assertThisInitialized(_this));\n\n _this.store = void 0;\n reaction(function () {\n var _this$data;\n\n return (_this$data = _this.data) === null || _this$data === void 0 ? void 0 : _this$data.preset;\n }, function (preset) {\n return runInAction(function () {\n _this.presetModel = preset ? new CookiePreset(preset, RootStore.get.cookieStore) : undefined;\n });\n }, {\n fireImmediately: true\n });\n return _this;\n }\n\n _createClass(CookieModel, [{\n key: \"rootStore\",\n get: function get() {\n return this.collection.store.collection.store.rootStore;\n }\n }, {\n key: \"tagManagerSettings\",\n get: function get() {\n var _this$rootStore$optio = this.rootStore.optionStore,\n isPro = _this$rootStore$optio.others.isPro,\n setCookiesViaManager = _this$rootStore$optio.setCookiesViaManager;\n\n if (isPro && setCookiesViaManager !== \"none\") {\n /* Silence is golden... Until you have PRO Version! */\n }\n\n return false;\n }\n }, {\n key: \"technicalDefinitions\",\n get: function get() {\n return JSON.parse(this.data.meta.technicalDefinitions);\n }\n }, {\n key: \"codeDynamics\",\n get: function get() {\n return JSON.parse(this.data.meta.codeDynamics || \"{}\");\n }\n }, {\n key: \"firstTechnicalDefinition\",\n get: function get() {\n var _this$technicalDefini;\n\n return (_this$technicalDefini = this.technicalDefinitions) === null || _this$technicalDefini === void 0 ? void 0 : _this$technicalDefini[0];\n }\n }, {\n key: \"afterPatch\",\n value: function afterPatch() {\n var _this2 = this;\n\n // Remove this cookie from all other groups\n var groups = this.collection.store.collection;\n\n var _this$data$rcbCookie = _slicedToArray(this.data[\"rcb-cookie-group\"], 1),\n thisGroup = _this$data$rcbCookie[0];\n\n groups.entries.forEach(function (group) {\n if (thisGroup !== group.key) {\n group.cookies.entries.delete(_this2.key);\n } else {\n group.cookies.entries.set(_this2.key, _this2);\n }\n });\n this.rootStore.optionStore.fetchCurrentRevision();\n this.rootStore.cookieStore.unassignedCookies.delete(this.key);\n }\n }, {\n key: \"setOrder\",\n value: function setOrder(order) {\n // eslint-disable-next-line @typescript-eslint/naming-convention\n this.data.menu_order = order;\n }\n }, {\n key: \"setName\",\n value: function setName(name) {\n this.data.title.rendered = name;\n }\n }, {\n key: \"setStatus\",\n value: function setStatus(status) {\n this.data.status = status;\n }\n }, {\n key: \"setPurpose\",\n value: function setPurpose(purpose) {\n this.data.content.rendered = purpose;\n }\n }, {\n key: \"setGroup\",\n value: function setGroup(group) {\n this.data[\"rcb-cookie-group\"] = [group];\n }\n }, {\n key: \"setMeta\",\n value: function setMeta(meta) {\n this.data.meta = meta;\n }\n }, {\n key: \"transformDataForPersist\",\n value: function transformDataForPersist() {\n var data = _get(_getPrototypeOf(CookieModel.prototype), \"transformDataForPersist\", this).call(this);\n\n return _objectSpread(_objectSpread({}, data), {}, {\n \"rcb-cookie-group\": [this.collection.store.key]\n });\n }\n }, {\n key: \"transformDataForPatch\",\n value: function transformDataForPatch() {\n var data = _get(_getPrototypeOf(CookieModel.prototype), \"transformDataForPatch\", this).call(this);\n\n return {\n title: data.title,\n content: data.content,\n status: data.status,\n meta: data.meta,\n // eslint-disable-next-line @typescript-eslint/naming-convention\n menu_order: data.menu_order,\n \"rcb-cookie-group\": this.data[\"rcb-cookie-group\"],\n // Force to rewrite slug\n slug: data.title\n };\n }\n }, {\n key: \"afterDelete\",\n value: function afterDelete() {\n this.collection.store.cookies.store.collection.store.rootStore.optionStore.fetchCurrentRevision();\n }\n }, {\n key: \"afterPersist\",\n value: function afterPersist() {\n var _this$collection$stor = this.collection.store.cookies.store.collection.store.rootStore,\n optionStore = _this$collection$stor.optionStore,\n checklistStore = _this$collection$stor.checklistStore;\n optionStore.fetchCurrentRevision();\n checklistStore.probablyFetchByChangedItem(\"add-cookie\");\n }\n }]);\n\n return CookieModel;\n}(AbstractPost), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, \"presetModel\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class2.prototype, \"rootStore\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"rootStore\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"tagManagerSettings\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"tagManagerSettings\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"technicalDefinitions\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"technicalDefinitions\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"codeDynamics\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"codeDynamics\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"firstTechnicalDefinition\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"firstTechnicalDefinition\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"afterPatch\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"afterPatch\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setOrder\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setOrder\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setName\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setName\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setStatus\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setStatus\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setPurpose\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setPurpose\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setGroup\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setGroup\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setMeta\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setMeta\"), _class2.prototype)), _class2)) || _class);\nexport { CookieModel };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2, _descriptor3;\n\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { observable, runInAction, computed, flow } from \"mobx\";\nimport { locationRestPresetsCookiesAttributesGet } from \"../wp-api\";\nimport { request } from \"../utils\";\nvar CookiePreset = (_class = /*#__PURE__*/function () {\n function CookiePreset(preset, store) {\n var _this = this;\n\n _classCallCheck(this, CookiePreset);\n\n _initializerDefineProperty(this, \"busy\", _descriptor, this);\n\n _initializerDefineProperty(this, \"data\", _descriptor2, this);\n\n _initializerDefineProperty(this, \"attributes\", _descriptor3, this);\n\n this.store = void 0;\n this.fetchAttributes = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {\n var response;\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n _context.prev = 0;\n this.busy = true;\n _context.next = 4;\n return request({\n location: locationRestPresetsCookiesAttributesGet,\n params: {\n identifier: this.data.identifier\n }\n });\n\n case 4:\n response = _context.sent;\n this.attributes = response;\n _context.next = 12;\n break;\n\n case 8:\n _context.prev = 8;\n _context.t0 = _context[\"catch\"](0);\n console.log(_context.t0);\n throw _context.t0;\n\n case 12:\n _context.prev = 12;\n this.busy = false;\n return _context.finish(12);\n\n case 15:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, this, [[0, 8, 12, 15]]);\n }));\n runInAction(function () {\n _this.data = preset;\n });\n this.store = store;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n _createClass(CookiePreset, [{\n key: \"fullLogoUrl\",\n get: function get() {\n var logoFile = this.data.logoFile;\n var publicUrl = this.store.rootStore.optionStore.publicUrl;\n return logoFile.startsWith(\"http\") ? logoFile : \"\".concat(publicUrl, \"images/logos/\").concat(logoFile);\n }\n }]);\n\n return CookiePreset;\n}(), (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"busy\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"data\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"attributes\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class.prototype, \"fullLogoUrl\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"fullLogoUrl\"), _class.prototype)), _class);\nexport { CookiePreset };","import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\n\nvar Revision = // @observable: We never make changes\nfunction Revision(preset, store) {\n _classCallCheck(this, Revision);\n\n this.data = void 0;\n this.store = void 0;\n this.data = preset;\n this.store = store;\n};\n\nexport { Revision };","import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\n\nvar RevisionIndependent = // @observable: We never make changes\nfunction RevisionIndependent(preset, store) {\n _classCallCheck(this, RevisionIndependent);\n\n this.data = void 0;\n this.store = void 0;\n this.data = preset;\n this.store = store;\n};\n\nexport { RevisionIndependent };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2;\n\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { computed, flow, observable, runInAction } from \"mobx\";\nimport { locationRestScannerResultExternalPatch } from \"../wp-api\";\nimport { request, __ } from \"../utils\";\nvar ScannerResultExternalUrl = (_class = /*#__PURE__*/function () {\n function ScannerResultExternalUrl(externalUrl, store) {\n var _this = this;\n\n _classCallCheck(this, ScannerResultExternalUrl);\n\n _initializerDefineProperty(this, \"busy\", _descriptor, this);\n\n _initializerDefineProperty(this, \"data\", _descriptor2, this);\n\n this.store = void 0;\n this.ignore = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {\n var state,\n _args = arguments;\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n state = _args.length > 1 && _args[1] !== undefined ? _args[1] : true;\n _context.prev = 1;\n _context.next = 4;\n return request({\n location: locationRestScannerResultExternalPatch,\n request: {\n ignored: state\n },\n params: {\n host: this.data.host.replace(/\\./g, \"_\")\n }\n });\n\n case 4:\n this.data.ignored = state;\n _context.next = 11;\n break;\n\n case 7:\n _context.prev = 7;\n _context.t0 = _context[\"catch\"](1);\n console.log(_context.t0);\n throw _context.t0;\n\n case 11:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, this, [[1, 7]]);\n }));\n runInAction(function () {\n _this.data = externalUrl;\n });\n this.store = store;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n _createClass(ScannerResultExternalUrl, [{\n key: \"identifier\",\n get: function get() {\n return this.data.host;\n }\n }, {\n key: \"inactive\",\n get: function get() {\n return this.blockedStatus === \"full\" || this.data.ignored;\n }\n }, {\n key: \"blockedStatus\",\n get: function get() {\n var _this$data = this.data,\n foundCount = _this$data.foundCount,\n blockedCount = _this$data.blockedCount;\n return blockedCount === 0 ? \"none\" : foundCount === blockedCount ? \"full\" : \"partial\";\n }\n }, {\n key: \"blockedStatusText\",\n get: function get() {\n switch (this.blockedStatus) {\n case \"full\":\n return __(\"Fully blocked\");\n\n case \"partial\":\n return __(\"Partially blocked\");\n\n default:\n return __(\"Not blocked\");\n }\n }\n }]);\n\n return ScannerResultExternalUrl;\n}(), (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"busy\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"data\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class.prototype, \"identifier\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"identifier\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"inactive\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"inactive\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"blockedStatus\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"blockedStatus\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"blockedStatusText\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"blockedStatusText\"), _class.prototype)), _class);\nexport { ScannerResultExternalUrl };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2;\n\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { observable, runInAction, flow, computed } from \"mobx\";\nimport { truncateMiddle } from \"../utils\";\nvar ScannerResultExternalUrlSingle = (_class = /*#__PURE__*/function () {\n function ScannerResultExternalUrlSingle(preset, store) {\n var _this = this;\n\n _classCallCheck(this, ScannerResultExternalUrlSingle);\n\n _initializerDefineProperty(this, \"busy\", _descriptor, this);\n\n _initializerDefineProperty(this, \"data\", _descriptor2, this);\n\n this.store = void 0;\n this.fetchMarkup = flow( /*#__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 _context.next = 2;\n return this.store.fetchMarkup(this.data.id);\n\n case 2:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, this);\n }));\n runInAction(function () {\n _this.data = preset;\n });\n this.store = store;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n _createClass(ScannerResultExternalUrlSingle, [{\n key: \"markup\",\n get: function get() {\n return this.store.resultMarkup.get(this.data.id);\n }\n }, {\n key: \"blockedUrlTruncate\",\n get: function get() {\n return truncateMiddle(this.data.blockedUrl, 50, \"[...]\");\n }\n }, {\n key: \"sourceUrlTruncate\",\n get: function get() {\n return truncateMiddle(this.data.sourceUrl, 50, \"[...]\");\n }\n }]);\n\n return ScannerResultExternalUrlSingle;\n}(), (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"busy\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"data\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class.prototype, \"markup\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"markup\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"blockedUrlTruncate\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"blockedUrlTruncate\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"sourceUrlTruncate\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"sourceUrlTruncate\"), _class.prototype)), _class);\nexport { ScannerResultExternalUrlSingle };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2, _descriptor3;\n\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { observable, runInAction, computed, flow } from \"mobx\";\nimport { request } from \"../utils\";\nimport { locationRestPresetsBlockerAttributesGet } from \"../wp-api\";\nvar ScannerResultPreset = (_class = /*#__PURE__*/function () {\n function ScannerResultPreset(preset, store) {\n var _this = this;\n\n _classCallCheck(this, ScannerResultPreset);\n\n _initializerDefineProperty(this, \"busy\", _descriptor, this);\n\n _initializerDefineProperty(this, \"data\", _descriptor2, this);\n\n _initializerDefineProperty(this, \"attributes\", _descriptor3, this);\n\n this.store = void 0;\n this.fetchAttributes = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {\n var response;\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n _context.prev = 0;\n this.busy = true;\n _context.next = 4;\n return request({\n location: locationRestPresetsBlockerAttributesGet,\n params: {\n identifier: this.data.identifier\n }\n });\n\n case 4:\n response = _context.sent;\n this.attributes = response;\n _context.next = 12;\n break;\n\n case 8:\n _context.prev = 8;\n _context.t0 = _context[\"catch\"](0);\n console.log(_context.t0);\n throw _context.t0;\n\n case 12:\n _context.prev = 12;\n this.busy = false;\n return _context.finish(12);\n\n case 15:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, this, [[0, 8, 12, 15]]);\n }));\n runInAction(function () {\n _this.data = preset;\n });\n this.store = store;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n _createClass(ScannerResultPreset, [{\n key: \"identifier\",\n get: function get() {\n return this.data.identifier;\n }\n }, {\n key: \"fullLogoUrl\",\n get: function get() {\n var logoFile = this.data.logoFile;\n var publicUrl = this.store.rootStore.optionStore.publicUrl;\n return logoFile.startsWith(\"http\") ? logoFile : \"\".concat(publicUrl, \"images/logos/\").concat(logoFile);\n }\n /**\n * Determines if this preset needs further attention. It is inactive when it e.g. already exists.\n */\n\n }, {\n key: \"inactive\",\n get: function get() {\n return this.data.created;\n }\n }]);\n\n return ScannerResultPreset;\n}(), (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"busy\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"data\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"attributes\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class.prototype, \"identifier\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"identifier\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"fullLogoUrl\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"fullLogoUrl\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"inactive\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"inactive\"), _class.prototype)), _class);\nexport { ScannerResultPreset };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2;\n\nimport { observable, runInAction } from \"mobx\";\nvar TcfFeature = (_class = function TcfFeature(data, special, store) {\n var _this = this;\n\n _classCallCheck(this, TcfFeature);\n\n _initializerDefineProperty(this, \"data\", _descriptor, this);\n\n _initializerDefineProperty(this, \"special\", _descriptor2, this);\n\n this.store = void 0;\n runInAction(function () {\n _this.special = special;\n _this.data = data;\n });\n this.store = store;\n}, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"data\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"special\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n})), _class);\nexport { TcfFeature };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2;\n\nimport { observable, runInAction } from \"mobx\";\nvar TcfPurpose = (_class = function TcfPurpose(data, special, store) {\n var _this = this;\n\n _classCallCheck(this, TcfPurpose);\n\n _initializerDefineProperty(this, \"data\", _descriptor, this);\n\n _initializerDefineProperty(this, \"special\", _descriptor2, this);\n\n this.store = void 0;\n runInAction(function () {\n _this.special = special;\n _this.data = data;\n });\n this.store = store;\n}, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"data\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"special\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n})), _class);\nexport { TcfPurpose };","import _toConsumableArray from \"@babel/runtime/helpers/toConsumableArray\";\nimport _createForOfIteratorHelper from \"@babel/runtime/helpers/createForOfIteratorHelper\";\nimport _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor;\n\nimport { computed, observable, runInAction } from \"mobx\";\nimport { ETcfGvlDisclosureType } from \"@devowl-wp/real-cookie-banner-backend/src/types/service/tcf\";\nvar TcfVendor = (_class = /*#__PURE__*/function () {\n function TcfVendor(data, store) {\n var _this = this;\n\n _classCallCheck(this, TcfVendor);\n\n _initializerDefineProperty(this, \"data\", _descriptor, this);\n\n this.store = void 0;\n runInAction(function () {\n _this.data = data;\n });\n this.store = store;\n }\n\n _createClass(TcfVendor, [{\n key: \"vendorConfiguration\",\n get:\n /**\n * Get existing vendor configuration for this vendor.\n */\n function get() {\n var _iterator = _createForOfIteratorHelper(this.store.vendorConfigurations.entries.values()),\n _step;\n\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var c = _step.value;\n\n if (c.vendorModel.data.id === this.data.id) {\n return c;\n }\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n\n return undefined;\n }\n }, {\n key: \"deviceStorageDisclosure\",\n get: function get() {\n var _this$data = this.data,\n usesCookies = _this$data.usesCookies,\n cookieMaxAgeSeconds = _this$data.cookieMaxAgeSeconds,\n cookieRefresh = _this$data.cookieRefresh,\n usesNonCookieAccess = _this$data.usesNonCookieAccess,\n deviceStorageDisclosure = _this$data.deviceStorageDisclosure;\n var result = deviceStorageDisclosure !== null && deviceStorageDisclosure !== void 0 && deviceStorageDisclosure.disclosures.length ? _toConsumableArray(deviceStorageDisclosure.disclosures) : []; // Include implicit device storage into table\n\n if (usesNonCookieAccess) {\n result.unshift({\n type: ETcfGvlDisclosureType.Web,\n identifier: \"*\",\n purposes: undefined,\n cookieRefresh: undefined,\n domain: \"*\",\n maxAgeSeconds: null\n });\n }\n\n if (usesCookies) {\n result.unshift({\n type: ETcfGvlDisclosureType.Cookie,\n identifier: \"*\",\n purposes: undefined,\n cookieRefresh: cookieRefresh,\n domain: \"*\",\n maxAgeSeconds: cookieMaxAgeSeconds\n });\n }\n\n return result;\n }\n }, {\n key: \"allPurposes\",\n get: function get() {\n return [].concat(_toConsumableArray(this.legIntPurposes), _toConsumableArray(this.purposes), _toConsumableArray(this.specialPurposes)).filter(Boolean);\n }\n }, {\n key: \"allFeatures\",\n get: function get() {\n return [].concat(_toConsumableArray(this.features), _toConsumableArray(this.specialFeatures)).filter(Boolean);\n }\n /**\n * Calculate a map of restrictions for this vendor. This can be used to make a form\n * configurable depending on the current vendor.\n */\n\n }, {\n key: \"restrictivePurposes\",\n get: function get() {\n var result = {\n normal: {}\n };\n\n for (var _i = 0, _arr = [].concat(_toConsumableArray(this.legIntPurposes), _toConsumableArray(this.purposes)); _i < _arr.length; _i++) {\n var purpose = _arr[_i];\n result.normal[purpose.data.id.toString()] = {\n enabled: true,\n legInt: this.legIntPurposes.indexOf(purpose) > -1 && !purpose.special ? \"yes\" : \"no\"\n };\n }\n\n return result;\n }\n /**\n * Map the integers to valid declaration objects.\n */\n\n }, {\n key: \"purposes\",\n get: function get() {\n var _this$data2,\n _this2 = this;\n\n return (_this$data2 = this.data) === null || _this$data2 === void 0 ? void 0 : _this$data2.purposes.map(function (id) {\n return _this2.store.purposes.get(\"\".concat(id));\n });\n }\n }, {\n key: \"legIntPurposes\",\n get: function get() {\n var _this$data3,\n _this3 = this;\n\n return (_this$data3 = this.data) === null || _this$data3 === void 0 ? void 0 : _this$data3.legIntPurposes.map(function (id) {\n return _this3.store.purposes.get(\"\".concat(id));\n });\n }\n }, {\n key: \"flexiblePurposes\",\n get: function get() {\n var _this$data4,\n _this4 = this;\n\n return (_this$data4 = this.data) === null || _this$data4 === void 0 ? void 0 : _this$data4.flexiblePurposes.map(function (id) {\n return _this4.store.purposes.get(\"\".concat(id));\n });\n }\n }, {\n key: \"specialPurposes\",\n get: function get() {\n var _this$data5,\n _this5 = this;\n\n return (_this$data5 = this.data) === null || _this$data5 === void 0 ? void 0 : _this$data5.specialPurposes.map(function (id) {\n return _this5.store.specialPurposes.get(\"\".concat(id));\n });\n }\n }, {\n key: \"features\",\n get: function get() {\n var _this$data6,\n _this6 = this;\n\n return (_this$data6 = this.data) === null || _this$data6 === void 0 ? void 0 : _this$data6.features.map(function (id) {\n return _this6.store.features.get(\"\".concat(id));\n });\n }\n }, {\n key: \"specialFeatures\",\n get: function get() {\n var _this$data7,\n _this7 = this;\n\n return (_this$data7 = this.data) === null || _this$data7 === void 0 ? void 0 : _this$data7.specialFeatures.map(function (id) {\n return _this7.store.specialFeatures.get(\"\".concat(id));\n });\n }\n }]);\n\n return TcfVendor;\n}(), (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"data\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class.prototype, \"vendorConfiguration\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"vendorConfiguration\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"deviceStorageDisclosure\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"deviceStorageDisclosure\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"allPurposes\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"allPurposes\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"allFeatures\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"allFeatures\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"restrictivePurposes\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"restrictivePurposes\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"purposes\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"purposes\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"legIntPurposes\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"legIntPurposes\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"flexiblePurposes\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"flexiblePurposes\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"specialPurposes\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"specialPurposes\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"features\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"features\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"specialFeatures\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"specialFeatures\"), _class.prototype)), _class);\nexport { TcfVendor };","import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/createSuper\";\n\nvar _dec, _class;\n\nimport { ClientCollection, RouteHttpVerb, AbstractPostCollection } from \"@devowl-wp/utils\";\nimport { request } from \"../utils\";\nimport { TcfVendorConfigurationModel } from \".\";\nvar TcfVendorConfigurationCollection = (_dec = ClientCollection.annotate({\n path: \"/rcb-tcf-vendor-conf\",\n singlePath: \"/rcb-tcf-vendor-conf/:id\",\n namespace: \"wp/v2\",\n methods: [RouteHttpVerb.GET],\n request: request\n}), _dec(_class = /*#__PURE__*/function (_AbstractPostCollecti) {\n _inherits(TcfVendorConfigurationCollection, _AbstractPostCollecti);\n\n var _super = _createSuper(TcfVendorConfigurationCollection);\n\n function TcfVendorConfigurationCollection(store) {\n var _this;\n\n _classCallCheck(this, TcfVendorConfigurationCollection);\n\n _this = _super.call(this);\n _this.store = void 0;\n _this.store = store;\n return _this;\n }\n\n _createClass(TcfVendorConfigurationCollection, [{\n key: \"instance\",\n value: function instance(response) {\n return new TcfVendorConfigurationModel(this).fromResponse(response);\n }\n }]);\n\n return TcfVendorConfigurationCollection;\n}(AbstractPostCollection)) || _class);\nexport { TcfVendorConfigurationCollection };","import _toConsumableArray from \"@babel/runtime/helpers/toConsumableArray\";\nimport _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/assertThisInitialized\";\nimport _get from \"@babel/runtime/helpers/get\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/createSuper\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _dec, _class, _class2, _descriptor;\n\nimport { ClientModel, AbstractPost } from \"@devowl-wp/utils\";\nimport { request } from \"../utils\";\nimport { action, computed, observable, reaction, runInAction } from \"mobx\";\nimport { TcfVendor } from \"./tcfVendor\";\nimport $ from \"jquery\";\nvar TcfVendorConfigurationModel = (_dec = ClientModel.annotate({\n keyId: \"id\",\n namespace: \"wp/v2\",\n request: request,\n create: {\n path: \"/rcb-tcf-vendor-conf\"\n },\n patch: {\n path: \"/rcb-tcf-vendor-conf/:id\"\n },\n delete: {\n path: \"/rcb-tcf-vendor-conf/:id\"\n }\n}), _dec(_class = (_class2 = /*#__PURE__*/function (_AbstractPost) {\n _inherits(TcfVendorConfigurationModel, _AbstractPost);\n\n var _super = _createSuper(TcfVendorConfigurationModel);\n\n function TcfVendorConfigurationModel(collection) {\n var _this;\n\n var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n _classCallCheck(this, TcfVendorConfigurationModel);\n\n _this = _super.call(this, collection, data);\n\n _initializerDefineProperty(_this, \"vendorModel\", _descriptor, _assertThisInitialized(_this));\n\n reaction(function () {\n return _this.data.vendor;\n }, function (vendor) {\n return runInAction(function () {\n if (vendor) {\n var vendors = _this.collection.store.vendors;\n var vendorId = vendor.id.toString();\n var existing = vendors.get(vendorId);\n\n if (!existing) {\n existing = new TcfVendor(vendor, _this.collection.store);\n vendors.set(vendorId, existing);\n }\n\n _this.vendorModel = existing;\n }\n });\n }, {\n fireImmediately: true\n }); // Automatically set the vendor model (e.g. newly saved configuration)\n\n reaction(function () {\n var _this$data$meta;\n\n return (_this$data$meta = _this.data.meta) === null || _this$data$meta === void 0 ? void 0 : _this$data$meta.vendorId;\n }, function (vendorId) {\n if (vendorId) {\n _this.vendorModel = _this.collection.store.vendors.get(vendorId.toString());\n }\n }, {\n fireImmediately: true\n });\n return _this;\n }\n\n _createClass(TcfVendorConfigurationModel, [{\n key: \"hasVendor\",\n get:\n /**\n * In some cases, vendors can be abandoned by the GVL.\n */\n function get() {\n return !!this.vendorModel;\n }\n }, {\n key: \"restrictivePurposes\",\n get: function get() {\n var _this$vendorModel, _this$vendorModel2;\n\n // Fallback to original if we have changed to `global`\n var disableRestrictivePurposes = this.collection.store.rootStore.optionStore.tcfScopeOfConsent === \"global\";\n var originalRestrictivePurposes = ((_this$vendorModel = this.vendorModel) === null || _this$vendorModel === void 0 ? void 0 : _this$vendorModel.restrictivePurposes) || {\n normal: {}\n };\n\n if (disableRestrictivePurposes) {\n return originalRestrictivePurposes;\n }\n\n var result = JSON.parse(this.data.meta.restrictivePurposes); // Merge with original vendor purposes so all are listed\n\n return $.extend(true, {}, ((_this$vendorModel2 = this.vendorModel) === null || _this$vendorModel2 === void 0 ? void 0 : _this$vendorModel2.restrictivePurposes) || {}, result);\n }\n }, {\n key: \"stats\",\n get: function get() {\n var _this$vendorModel3;\n\n var normal = this.restrictivePurposes.normal;\n\n var arr = _toConsumableArray(Object.values(normal));\n\n return {\n activePurposes: arr.filter(function (_ref) {\n var enabled = _ref.enabled;\n return enabled;\n }).length,\n legIntPurposes: arr.filter(function (_ref2) {\n var enabled = _ref2.enabled,\n legInt = _ref2.legInt;\n return enabled && legInt === \"yes\";\n }).length,\n activeFeatures: ((_this$vendorModel3 = this.vendorModel) === null || _this$vendorModel3 === void 0 ? void 0 : _this$vendorModel3.allFeatures.length) || 0\n };\n }\n }, {\n key: \"setStatus\",\n value: function setStatus(status) {\n this.data.status = status;\n }\n }, {\n key: \"setMeta\",\n value: function setMeta(meta) {\n this.data.meta = meta;\n }\n }, {\n key: \"transformDataForPatch\",\n value: function transformDataForPatch() {\n var data = _get(_getPrototypeOf(TcfVendorConfigurationModel.prototype), \"transformDataForPatch\", this).call(this);\n\n return {\n status: data.status,\n meta: data.meta\n };\n }\n }, {\n key: \"afterPatch\",\n value: function afterPatch() {\n this.collection.store.rootStore.optionStore.fetchCurrentRevision();\n }\n }, {\n key: \"afterDelete\",\n value: function afterDelete() {\n this.collection.store.rootStore.optionStore.fetchCurrentRevision();\n }\n }, {\n key: \"afterPersist\",\n value: function afterPersist() {\n this.collection.store.rootStore.optionStore.fetchCurrentRevision();\n }\n }]);\n\n return TcfVendorConfigurationModel;\n}(AbstractPost), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, \"vendorModel\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class2.prototype, \"hasVendor\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"hasVendor\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"restrictivePurposes\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"restrictivePurposes\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"stats\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"stats\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setStatus\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setStatus\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setMeta\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setMeta\"), _class2.prototype)), _class2)) || _class);\nexport { TcfVendorConfigurationModel };","import _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/assertThisInitialized\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/createSuper\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2;\n\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { observable, flow, computed } from \"mobx\";\nimport { BaseOptions } from \"@devowl-wp/utils\";\nimport { locationRestChecklistGet, locationRestChecklistPut } from \"../wp-api\";\nimport { request } from \"../utils\";\nvar ChecklistStore = (_class = /*#__PURE__*/function (_BaseOptions) {\n _inherits(ChecklistStore, _BaseOptions);\n\n var _super = _createSuper(ChecklistStore);\n\n function ChecklistStore(rootStore) {\n var _this;\n\n _classCallCheck(this, ChecklistStore);\n\n _this = _super.call(this);\n\n _initializerDefineProperty(_this, \"busyChecklist\", _descriptor, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"checklist\", _descriptor2, _assertThisInitialized(_this));\n\n _this.rootStore = void 0;\n _this.probablyFetchByChangedItem = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(itemId, force) {\n var useItemIds;\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n if (!force) {\n _context.next = 4;\n break;\n }\n\n _context.next = 3;\n return this.fetchChecklist();\n\n case 3:\n return _context.abrupt(\"return\");\n\n case 4:\n useItemIds = !Array.isArray(itemId) ? [itemId] : itemId;\n\n if (!(this.items.filter(function (_ref) {\n var id = _ref.id,\n checked = _ref.checked;\n return useItemIds.indexOf(id) > -1 && !checked;\n }).length > 0)) {\n _context.next = 8;\n break;\n }\n\n _context.next = 8;\n return this.fetchChecklist();\n\n case 8:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, this);\n }));\n _this.fetchChecklist = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {\n return _regeneratorRuntime.wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n this.busyChecklist = true;\n _context2.prev = 1;\n _context2.next = 4;\n return request({\n location: locationRestChecklistGet,\n params: {\n _wp_http_referer: window.location.href\n }\n });\n\n case 4:\n this.checklist = _context2.sent;\n _context2.next = 11;\n break;\n\n case 7:\n _context2.prev = 7;\n _context2.t0 = _context2[\"catch\"](1);\n console.log(_context2.t0);\n throw _context2.t0;\n\n case 11:\n _context2.prev = 11;\n this.busyChecklist = false;\n return _context2.finish(11);\n\n case 14:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2, this, [[1, 7, 11, 14]]);\n }));\n _this.toggleChecklistItem = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(id, state) {\n return _regeneratorRuntime.wrap(function _callee3$(_context3) {\n while (1) {\n switch (_context3.prev = _context3.next) {\n case 0:\n this.busyChecklist = true;\n _context3.prev = 1;\n _context3.next = 4;\n return request({\n location: locationRestChecklistPut,\n request: {\n state: state\n },\n params: {\n id: id,\n _wp_http_referer: window.location.href\n }\n });\n\n case 4:\n this.checklist = _context3.sent;\n _context3.next = 11;\n break;\n\n case 7:\n _context3.prev = 7;\n _context3.t0 = _context3[\"catch\"](1);\n console.log(_context3.t0);\n throw _context3.t0;\n\n case 11:\n _context3.prev = 11;\n this.busyChecklist = false;\n return _context3.finish(11);\n\n case 14:\n case \"end\":\n return _context3.stop();\n }\n }\n }, _callee3, this, [[1, 7, 11, 14]]);\n }));\n _this.rootStore = rootStore;\n return _this;\n }\n\n _createClass(ChecklistStore, [{\n key: \"items\",\n get: function get() {\n var _this2 = this;\n\n return this.checklist && Object.keys(this.checklist.items).map(function (id) {\n return _objectSpread({\n id: id\n }, _this2.checklist.items[id]);\n }) || [];\n }\n }, {\n key: \"completed\",\n get: function get() {\n return this.items.filter(function (_ref2) {\n var checked = _ref2.checked;\n return checked;\n });\n }\n }, {\n key: \"checkable\",\n get: function get() {\n var isPro = this.rootStore.optionStore.others.isPro;\n return this.items.filter(function (_ref3) {\n var needsPro = _ref3.needsPro;\n return !needsPro || isPro && needsPro;\n });\n }\n }, {\n key: \"done\",\n get: function get() {\n var _this$checklist;\n\n return this.completed.length >= this.checkable.length || !!((_this$checklist = this.checklist) !== null && _this$checklist !== void 0 && _this$checklist.dismissed);\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n }]);\n\n return ChecklistStore;\n}(BaseOptions), (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"busyChecklist\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"checklist\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class.prototype, \"items\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"items\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"completed\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"completed\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"checkable\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"checkable\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"done\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"done\"), _class.prototype)), _class);\nexport { ChecklistStore };","import _createForOfIteratorHelper from \"@babel/runtime/helpers/createForOfIteratorHelper\";\nimport _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/assertThisInitialized\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/createSuper\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9;\n\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { observable, flow, action, runInAction } from \"mobx\";\nimport { BaseOptions } from \"@devowl-wp/utils\";\nimport { request } from \"../utils\";\nimport { locationRestRevisionGet, locationRestRevisionIndependentGet, locationRestConsentAllGet, locationRestConsentAllDelete, locationRestConsentRefererGet } from \"../wp-api\";\nimport { Consent, Revision, RevisionIndependent } from \"../models\";\nvar DATE_FORMAT = \"YYYY-MM-DD\";\nvar ConsentStore = (_class = /*#__PURE__*/function (_BaseOptions) {\n _inherits(ConsentStore, _BaseOptions);\n\n var _super = _createSuper(ConsentStore);\n\n /**\n * Current visible page in Consent tab\n */\n function ConsentStore(rootStore) {\n var _this;\n\n _classCallCheck(this, ConsentStore);\n\n _this = _super.call(this);\n\n _initializerDefineProperty(_this, \"busyConsent\", _descriptor, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"busyReferer\", _descriptor2, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"count\", _descriptor3, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"perPage\", _descriptor4, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"offset\", _descriptor5, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"pageCollection\", _descriptor6, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"revisions\", _descriptor7, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"revisionsIndependent\", _descriptor8, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"referer\", _descriptor9, _assertThisInitialized(_this));\n\n _this.filters = observable.object({\n page: 1,\n dates: [undefined, undefined],\n context: undefined,\n referer: undefined,\n ip: undefined,\n uuid: undefined\n }, {}, {\n deep: false\n });\n _this.rootStore = void 0;\n _this.fetchAll = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {\n var _this$filters, page, referer, ip, uuid, context, dates, _yield$request, count, items, _iterator, _step, item;\n\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n this.busyConsent = true;\n _context.prev = 1;\n _this$filters = this.filters, page = _this$filters.page, referer = _this$filters.referer, ip = _this$filters.ip, uuid = _this$filters.uuid, context = _this$filters.context;\n dates = this.filters.dates.map(function (m) {\n return m ? m.format(DATE_FORMAT) : \"\";\n });\n _context.next = 6;\n return request({\n location: locationRestConsentAllGet,\n params: {\n // eslint-disable-next-line @typescript-eslint/naming-convention\n per_page: this.perPage,\n offset: (page - 1) * this.perPage,\n from: dates[0],\n to: dates[1],\n ip: ip,\n uuid: uuid,\n referer: referer,\n context: context\n }\n });\n\n case 6:\n _yield$request = _context.sent;\n count = _yield$request.count;\n items = _yield$request.items;\n this.count = count;\n this.pageCollection.clear();\n _iterator = _createForOfIteratorHelper(items);\n\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n item = _step.value;\n this.pageCollection.set(item.id, new Consent(item, this));\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n\n _context.next = 19;\n break;\n\n case 15:\n _context.prev = 15;\n _context.t0 = _context[\"catch\"](1);\n console.log(_context.t0);\n throw _context.t0;\n\n case 19:\n _context.prev = 19;\n this.busyConsent = false;\n return _context.finish(19);\n\n case 22:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, this, [[1, 15, 19, 22]]);\n }));\n _this.fetchRevision = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(params) {\n var response;\n return _regeneratorRuntime.wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n _context2.prev = 0;\n _context2.next = 3;\n return request({\n location: locationRestRevisionGet,\n params: params\n });\n\n case 3:\n response = _context2.sent;\n this.revisions.set(params.hash, new Revision(response, this));\n _context2.next = 11;\n break;\n\n case 7:\n _context2.prev = 7;\n _context2.t0 = _context2[\"catch\"](0);\n console.log(_context2.t0);\n throw _context2.t0;\n\n case 11:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2, this, [[0, 7]]);\n }));\n _this.fetchRevisionIndependent = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(params) {\n var response;\n return _regeneratorRuntime.wrap(function _callee3$(_context3) {\n while (1) {\n switch (_context3.prev = _context3.next) {\n case 0:\n _context3.prev = 0;\n _context3.next = 3;\n return request({\n location: locationRestRevisionIndependentGet,\n params: params\n });\n\n case 3:\n response = _context3.sent;\n this.revisionsIndependent.set(params.hash, new RevisionIndependent(response, this));\n _context3.next = 11;\n break;\n\n case 7:\n _context3.prev = 7;\n _context3.t0 = _context3[\"catch\"](0);\n console.log(_context3.t0);\n throw _context3.t0;\n\n case 11:\n case \"end\":\n return _context3.stop();\n }\n }\n }, _callee3, this, [[0, 7]]);\n }));\n _this.fetchReferer = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee4(params) {\n var response;\n return _regeneratorRuntime.wrap(function _callee4$(_context4) {\n while (1) {\n switch (_context4.prev = _context4.next) {\n case 0:\n this.busyReferer = true;\n _context4.prev = 1;\n _context4.next = 4;\n return request({\n location: locationRestConsentRefererGet,\n params: params\n });\n\n case 4:\n response = _context4.sent;\n this.referer = response.items;\n _context4.next = 12;\n break;\n\n case 8:\n _context4.prev = 8;\n _context4.t0 = _context4[\"catch\"](1);\n console.log(_context4.t0);\n throw _context4.t0;\n\n case 12:\n _context4.prev = 12;\n this.busyReferer = false;\n return _context4.finish(12);\n\n case 15:\n case \"end\":\n return _context4.stop();\n }\n }\n }, _callee4, this, [[1, 8, 12, 15]]);\n }));\n _this.deleteAll = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee5() {\n return _regeneratorRuntime.wrap(function _callee5$(_context5) {\n while (1) {\n switch (_context5.prev = _context5.next) {\n case 0:\n this.busyConsent = true;\n _context5.prev = 1;\n _context5.next = 4;\n return request({\n location: locationRestConsentAllDelete\n });\n\n case 4:\n this.applyPage(0);\n _context5.next = 7;\n return this.fetchAll();\n\n case 7:\n _context5.next = 13;\n break;\n\n case 9:\n _context5.prev = 9;\n _context5.t0 = _context5[\"catch\"](1);\n console.log(_context5.t0);\n throw _context5.t0;\n\n case 13:\n _context5.prev = 13;\n this.busyConsent = false;\n return _context5.finish(13);\n\n case 16:\n case \"end\":\n return _context5.stop();\n }\n }\n }, _callee5, this, [[1, 9, 13, 16]]);\n }));\n _this.rootStore = rootStore;\n runInAction(function () {\n _this.filters.context = _this.rootStore.optionStore.others.context;\n });\n return _this;\n }\n /**\n * This action does not actually refetch the list, you need to act on your components!\n */\n\n\n _createClass(ConsentStore, [{\n key: \"applyPage\",\n value: function applyPage(page) {\n this.filters.page = page;\n }\n /**\n * This action does not actually refetch the stats, you need to act on your components!\n *\n * @param dates\n */\n\n }, {\n key: \"applyDates\",\n value: function applyDates(dates) {\n this.filters.dates = dates;\n }\n /**\n * This action does not actually refetch the stats, you need to act on your components!\n *\n * @param context\n */\n\n }, {\n key: \"applyContext\",\n value: function applyContext(context) {\n this.filters.context = context;\n }\n /**\n * This action does not actually refetch the list, you need to act on your components!\n */\n\n }, {\n key: \"applyReferer\",\n value: function applyReferer(referer) {\n this.filters.referer = referer;\n }\n /**\n * This action does not actually refetch the list, you need to act on your components!\n */\n\n }, {\n key: \"applyIp\",\n value: function applyIp(ip) {\n this.filters.ip = ip;\n }\n /**\n * This action does not actually refetch the list, you need to act on your components!\n */\n\n }, {\n key: \"applyUuid\",\n value: function applyUuid(uuid) {\n this.filters.uuid = uuid;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n }]);\n\n return ConsentStore;\n}(BaseOptions), (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"busyConsent\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"busyReferer\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"count\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return 0;\n }\n}), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"perPage\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return 50;\n }\n}), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"offset\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return 0;\n }\n}), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"pageCollection\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return new Map();\n }\n}), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"revisions\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return new Map();\n }\n}), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"revisionsIndependent\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return new Map();\n }\n}), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"referer\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return [];\n }\n}), _applyDecoratedDescriptor(_class.prototype, \"applyPage\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"applyPage\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"applyDates\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"applyDates\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"applyContext\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"applyContext\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"applyReferer\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"applyReferer\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"applyIp\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"applyIp\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"applyUuid\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"applyUuid\"), _class.prototype)), _class);\nexport { ConsentStore };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9;\n\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { observable, flow, computed, runInAction } from \"mobx\";\nimport { CookieGroupCollection, BlockerCollection, CookiePreset, BlockerPreset } from \"../models\";\nimport { locationRestPresetsBlockerGet, locationRestPresetsCookiesGet, locationRestCookieUnassignedGet } from \"../wp-api\";\nimport { request } from \"../utils\";\nvar CookieStore = (_class = /*#__PURE__*/function () {\n function CookieStore(rootStore) {\n var _this = this;\n\n _classCallCheck(this, CookieStore);\n\n _initializerDefineProperty(this, \"busy\", _descriptor, this);\n\n _initializerDefineProperty(this, \"groups\", _descriptor2, this);\n\n _initializerDefineProperty(this, \"unassignedCookies\", _descriptor3, this);\n\n _initializerDefineProperty(this, \"blockers\", _descriptor4, this);\n\n _initializerDefineProperty(this, \"presetsBlocker\", _descriptor5, this);\n\n _initializerDefineProperty(this, \"busyPresetsBlocker\", _descriptor6, this);\n\n _initializerDefineProperty(this, \"presetsCookie\", _descriptor7, this);\n\n _initializerDefineProperty(this, \"busyPresetsCookie\", _descriptor8, this);\n\n _initializerDefineProperty(this, \"fetchedAllBlockers\", _descriptor9, this);\n\n this.rootStore = void 0;\n this.fetchGroups = flow( /*#__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 _context.next = 2;\n return this.groups.get({\n params: {\n // eslint-disable-next-line @typescript-eslint/naming-convention\n per_page: 100\n }\n });\n\n case 2:\n _context.next = 4;\n return this.fetchUnassignedCookies();\n\n case 4:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, this);\n }));\n this.fetchUnassignedCookies = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {\n var items, _i, _Object$values, item;\n\n return _regeneratorRuntime.wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n _context2.prev = 0;\n _context2.next = 3;\n return request({\n location: locationRestCookieUnassignedGet\n });\n\n case 3:\n items = _context2.sent;\n\n // Save presets as object\n for (_i = 0, _Object$values = Object.values(items); _i < _Object$values.length; _i++) {\n item = _Object$values[_i];\n this.unassignedCookies.set(item.id, item);\n }\n\n _context2.next = 11;\n break;\n\n case 7:\n _context2.prev = 7;\n _context2.t0 = _context2[\"catch\"](0);\n console.log(_context2.t0);\n throw _context2.t0;\n\n case 11:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2, this, [[0, 7]]);\n }));\n this.fetchBlockers = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {\n return _regeneratorRuntime.wrap(function _callee3$(_context3) {\n while (1) {\n switch (_context3.prev = _context3.next) {\n case 0:\n _context3.next = 2;\n return this.blockers.get({\n request: {\n status: [\"draft\", \"publish\", \"private\"]\n },\n params: {\n // eslint-disable-next-line @typescript-eslint/naming-convention\n per_page: 100,\n // Fetch all\n context: \"edit\"\n }\n });\n\n case 2:\n this.fetchedAllBlockers = true;\n\n case 3:\n case \"end\":\n return _context3.stop();\n }\n }\n }, _callee3, this);\n }));\n this.fetchPresetsBlocker = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee4() {\n var _yield$request, items, _i2, _Object$keys, pid;\n\n return _regeneratorRuntime.wrap(function _callee4$(_context4) {\n while (1) {\n switch (_context4.prev = _context4.next) {\n case 0:\n this.busyPresetsBlocker = true;\n _context4.prev = 1;\n _context4.next = 4;\n return request({\n location: locationRestPresetsBlockerGet\n });\n\n case 4:\n _yield$request = _context4.sent;\n items = _yield$request.items;\n\n // Save presets as object\n for (_i2 = 0, _Object$keys = Object.keys(items); _i2 < _Object$keys.length; _i2++) {\n pid = _Object$keys[_i2];\n this.presetsBlocker.set(pid, new BlockerPreset(items[pid], this));\n }\n\n _context4.next = 13;\n break;\n\n case 9:\n _context4.prev = 9;\n _context4.t0 = _context4[\"catch\"](1);\n console.log(_context4.t0);\n throw _context4.t0;\n\n case 13:\n _context4.prev = 13;\n this.busyPresetsBlocker = false;\n return _context4.finish(13);\n\n case 16:\n case \"end\":\n return _context4.stop();\n }\n }\n }, _callee4, this, [[1, 9, 13, 16]]);\n }));\n this.fetchPresetsCookie = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee5() {\n var _yield$request2, items, _i3, _Object$keys2, pid;\n\n return _regeneratorRuntime.wrap(function _callee5$(_context5) {\n while (1) {\n switch (_context5.prev = _context5.next) {\n case 0:\n this.busyPresetsCookie = true;\n _context5.prev = 1;\n _context5.next = 4;\n return request({\n location: locationRestPresetsCookiesGet\n });\n\n case 4:\n _yield$request2 = _context5.sent;\n items = _yield$request2.items;\n\n // Save presets as object\n for (_i3 = 0, _Object$keys2 = Object.keys(items); _i3 < _Object$keys2.length; _i3++) {\n pid = _Object$keys2[_i3];\n this.presetsCookie.set(pid, new CookiePreset(items[pid], this));\n }\n\n _context5.next = 13;\n break;\n\n case 9:\n _context5.prev = 9;\n _context5.t0 = _context5[\"catch\"](1);\n console.log(_context5.t0);\n throw _context5.t0;\n\n case 13:\n _context5.prev = 13;\n this.busyPresetsCookie = false;\n return _context5.finish(13);\n\n case 16:\n case \"end\":\n return _context5.stop();\n }\n }\n }, _callee5, this, [[1, 9, 13, 16]]);\n }));\n this.rootStore = rootStore;\n runInAction(function () {\n _this.groups = new CookieGroupCollection(_this);\n _this.blockers = new BlockerCollection(_this);\n });\n }\n\n _createClass(CookieStore, [{\n key: \"blockersCount\",\n get: function get() {\n return this.fetchedAllBlockers ? this.blockers.entries.size : this.rootStore.optionStore.allBlockerCount;\n }\n }, {\n key: \"cookiesCount\",\n get: function get() {\n return Array.from(this.groups.entries.values()).map(function (_ref) {\n var cookiesCount = _ref.cookiesCount;\n return cookiesCount;\n }).reduce(function (total, num) {\n return total + num;\n }, 0);\n }\n }, {\n key: \"essentialGroup\",\n get: function get() {\n if (this.groups.entries.size === 0) {\n return undefined;\n }\n\n var it = this.groups.entries.values();\n var group;\n\n while (group = it.next().value) {\n if (group.data.slug === this.rootStore.optionStore.others.essentialGroup) {\n break;\n }\n }\n\n return group;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n }]);\n\n return CookieStore;\n}(), (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"busy\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"groups\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"unassignedCookies\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return new Map();\n }\n}), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"blockers\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"presetsBlocker\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return new Map();\n }\n}), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"busyPresetsBlocker\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"presetsCookie\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return new Map();\n }\n}), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"busyPresetsCookie\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"fetchedAllBlockers\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _applyDecoratedDescriptor(_class.prototype, \"blockersCount\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"blockersCount\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"cookiesCount\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"cookiesCount\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"essentialGroup\", [computed], Object.g
|