Real Cookie Banner: GDPR (DSGVO) & ePrivacy Cookie Consent - Version 2.14.3

Version Description

Download this release

Release Info

Developer devowl
Plugin Icon 128x128 Real Cookie Banner: GDPR (DSGVO) & ePrivacy Cookie Consent
Version 2.14.3
Comparing to
See all releases

Code changes from version 2.14.2 to 2.14.3

CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
  All notable changes to this project will be documented in this file.
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
 
 
 
 
 
 
 
 
 
 
 
 
6
  ## 2.14.2 (2022-02-02)
7
 
8
 
3
  All notable changes to this project will be documented in this file.
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
 
6
+ ## 2.14.3 (2022-02-04)
7
+
8
+
9
+ ### chore
10
+
11
+ * show notice about TCF illegal usage (CU-1wmjkr6)
12
+
13
+
14
+
15
+
16
+
17
  ## 2.14.2 (2022-02-02)
18
 
19
 
inc/Core.php CHANGED
@@ -11,6 +11,7 @@ use DevOwl\RealCookieBanner\Vendor\DevOwl\RealQueue\Core as RealQueue;
11
  use DevOwl\RealCookieBanner\base\Core as BaseCore;
12
  use DevOwl\RealCookieBanner\comp\language\Hooks;
13
  use DevOwl\RealCookieBanner\comp\migration\DashboardTileMigrationMajor2;
 
14
  use DevOwl\RealCookieBanner\comp\PresetsPluginIntegrations;
15
  use DevOwl\RealCookieBanner\lite\Core as LiteCore;
16
  use DevOwl\RealCookieBanner\overrides\interfce\IOverrideCore;
@@ -496,6 +497,10 @@ class Core extends \DevOwl\RealCookieBanner\base\Core implements
496
  new \DevOwl\RealCookieBanner\comp\migration\DashboardTileMigrationMajor2(),
497
  'revisionCurrent'
498
  ]);
 
 
 
 
499
  add_filter('RCB/Revision/Current', [$scannerQuery, 'revisionCurrent']);
500
  add_filter('RCB/Revision/Array', [\DevOwl\RealCookieBanner\settings\Blocker::getInstance(), 'revisionArray']);
501
  add_filter(
11
  use DevOwl\RealCookieBanner\base\Core as BaseCore;
12
  use DevOwl\RealCookieBanner\comp\language\Hooks;
13
  use DevOwl\RealCookieBanner\comp\migration\DashboardTileMigrationMajor2;
14
+ use DevOwl\RealCookieBanner\comp\migration\DashboardTileTcfV2IllegalUsage;
15
  use DevOwl\RealCookieBanner\comp\PresetsPluginIntegrations;
16
  use DevOwl\RealCookieBanner\lite\Core as LiteCore;
17
  use DevOwl\RealCookieBanner\overrides\interfce\IOverrideCore;
497
  new \DevOwl\RealCookieBanner\comp\migration\DashboardTileMigrationMajor2(),
498
  'revisionCurrent'
499
  ]);
500
+ add_filter('RCB/Revision/Current', [
501
+ new \DevOwl\RealCookieBanner\comp\migration\DashboardTileTcfV2IllegalUsage(),
502
+ 'revisionCurrent'
503
+ ]);
504
  add_filter('RCB/Revision/Current', [$scannerQuery, 'revisionCurrent']);
505
  add_filter('RCB/Revision/Array', [\DevOwl\RealCookieBanner\settings\Blocker::getInstance(), 'revisionArray']);
506
  add_filter(
inc/base/others/cachebuster-lib.php CHANGED
@@ -1,5 +1,5 @@
1
  <?php
2
- /* This file was automatically generated (Wed Feb 02 2022 15:24:41 GMT+0000 (Coordinated Universal Time)). */
3
  return [
4
  'animate.css' => '4.1.1',
5
  'mobx' => '4.15.7',
1
  <?php
2
+ /* This file was automatically generated (Fri Feb 04 2022 14:38:14 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 (Wed Feb 02 2022 15:24:41 GMT+0000 (Coordinated Universal Time)). */
3
  return [
4
  'src/public/dist/138.lite.js' => '878e40df52e422b61130450f8f2aef94',
5
  'src/public/dist/193.lite.js' => 'd7a0722155f835c915b08b6c93a9208d',
@@ -30,8 +30,8 @@ return [
30
  'src/public/dist/930.pro.js' => '757d70b559d754597000612bed3f870b',
31
  'src/public/dist/954.lite.js' => 'ee2cda44e2cd4c19a1f7288055efa5d0',
32
  'src/public/dist/954.pro.js' => 'c39fe799c52c7690d66633725671963f',
33
- 'src/public/dist/admin.lite.js' => 'eec77551e2fe082d7716053d3008b642',
34
- 'src/public/dist/admin.pro.js' => '92c7805a708ae0ea397b30c9b19e09bd',
35
  'src/public/dist/banner_tcf.pro.js' => '103f365e09c3a96f7cad2a16fdbc8d19',
36
  'src/public/dist/banner.lite.js' => '2572f4e47088eed0a29ee41930cfa4a8',
37
  'src/public/dist/banner.pro.js' => 'a66badb732199dc238bdf90e3c2c04e5',
@@ -44,16 +44,16 @@ return [
44
  'src/public/dist/chunk-config-tab-consent.pro.js' => '3c6bb4dfa57249d8aebe225e88b8e43f',
45
  'src/public/dist/chunk-config-tab-cookies.lite.js' => 'aaca3c88991bec76da95f3f82dd3316f',
46
  'src/public/dist/chunk-config-tab-cookies.pro.js' => '2a8850894d2893e8efd3e48ea66a988f',
47
- 'src/public/dist/chunk-config-tab-dashboard.lite.js' => 'f4683e85e66028ebbeda9ec3ec97a0c3',
48
- 'src/public/dist/chunk-config-tab-dashboard.pro.js' => 'e66072fb10d6e2e4a29e27b5900646b7',
49
  'src/public/dist/chunk-config-tab-import.lite.js' => 'a4701b781883f23b497c465f77c92f0a',
50
  'src/public/dist/chunk-config-tab-import.pro.js' => 'c402d8c01a8d59adb4f18efc40bf502d',
51
  'src/public/dist/chunk-config-tab-licensing.lite.js' => 'f0bfb9817f440c8028ee4515b0ee8253',
52
  'src/public/dist/chunk-config-tab-licensing.pro.js' => 'a8f79d7bf7415ecc281a5b523fe6a209',
53
  'src/public/dist/chunk-config-tab-scanner.lite.js' => '55d44bc6849107d95f0698f188b2318a',
54
  'src/public/dist/chunk-config-tab-scanner.pro.js' => '6632501d09363c17da994c27e4b7e080',
55
- 'src/public/dist/chunk-config-tab-settings.lite.js' => 'dbab0a8b5e7b0dd0d2d5e9feb9530c13',
56
- 'src/public/dist/chunk-config-tab-settings.pro.js' => 'd91f7a09a18ee076407599b9a0adce64',
57
  'src/public/dist/chunk-config-tab-tcf.lite.js' => 'a07c8143e107581520f363ea3d419407',
58
  'src/public/dist/chunk-config-tab-tcf.pro.js' => '03a71b5ebdb398790b4b894063d6887e',
59
  'src/public/dist/customize_banner.lite.js' => '123171979bf25899ccd76568f693929d',
1
  <?php
2
+ /* This file was automatically generated (Fri Feb 04 2022 14:38:14 GMT+0000 (Coordinated Universal Time)). */
3
  return [
4
  'src/public/dist/138.lite.js' => '878e40df52e422b61130450f8f2aef94',
5
  'src/public/dist/193.lite.js' => 'd7a0722155f835c915b08b6c93a9208d',
30
  'src/public/dist/930.pro.js' => '757d70b559d754597000612bed3f870b',
31
  'src/public/dist/954.lite.js' => 'ee2cda44e2cd4c19a1f7288055efa5d0',
32
  'src/public/dist/954.pro.js' => 'c39fe799c52c7690d66633725671963f',
33
+ 'src/public/dist/admin.lite.js' => '270ba6e99440f96f53ea45b92386389c',
34
+ 'src/public/dist/admin.pro.js' => '95650118046a0b5dcc4a846fe84819be',
35
  'src/public/dist/banner_tcf.pro.js' => '103f365e09c3a96f7cad2a16fdbc8d19',
36
  'src/public/dist/banner.lite.js' => '2572f4e47088eed0a29ee41930cfa4a8',
37
  'src/public/dist/banner.pro.js' => 'a66badb732199dc238bdf90e3c2c04e5',
44
  'src/public/dist/chunk-config-tab-consent.pro.js' => '3c6bb4dfa57249d8aebe225e88b8e43f',
45
  'src/public/dist/chunk-config-tab-cookies.lite.js' => 'aaca3c88991bec76da95f3f82dd3316f',
46
  'src/public/dist/chunk-config-tab-cookies.pro.js' => '2a8850894d2893e8efd3e48ea66a988f',
47
+ 'src/public/dist/chunk-config-tab-dashboard.lite.js' => 'e7c23736210fad73543f7a79609385b6',
48
+ 'src/public/dist/chunk-config-tab-dashboard.pro.js' => 'c0db578b5ee979aa8d71d4946183e20e',
49
  'src/public/dist/chunk-config-tab-import.lite.js' => 'a4701b781883f23b497c465f77c92f0a',
50
  'src/public/dist/chunk-config-tab-import.pro.js' => 'c402d8c01a8d59adb4f18efc40bf502d',
51
  'src/public/dist/chunk-config-tab-licensing.lite.js' => 'f0bfb9817f440c8028ee4515b0ee8253',
52
  'src/public/dist/chunk-config-tab-licensing.pro.js' => 'a8f79d7bf7415ecc281a5b523fe6a209',
53
  'src/public/dist/chunk-config-tab-scanner.lite.js' => '55d44bc6849107d95f0698f188b2318a',
54
  'src/public/dist/chunk-config-tab-scanner.pro.js' => '6632501d09363c17da994c27e4b7e080',
55
+ 'src/public/dist/chunk-config-tab-settings.lite.js' => '301e4b360015c41dc192783243f7bcea',
56
+ 'src/public/dist/chunk-config-tab-settings.pro.js' => '8fc4e1481ad90564d213de0be0621f1d',
57
  'src/public/dist/chunk-config-tab-tcf.lite.js' => 'a07c8143e107581520f363ea3d419407',
58
  'src/public/dist/chunk-config-tab-tcf.pro.js' => '03a71b5ebdb398790b4b894063d6887e',
59
  'src/public/dist/customize_banner.lite.js' => '123171979bf25899ccd76568f693929d',
inc/comp/migration/DashboardTileTcfV2IllegalUsage.php ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace DevOwl\RealCookieBanner\comp\migration;
4
+
5
+ use DevOwl\RealCookieBanner\Core;
6
+ use DevOwl\RealCookieBanner\settings\TCF;
7
+ // @codeCoverageIgnoreStart
8
+ \defined('ABSPATH') or die('No script kiddies please!');
9
+ // Avoid direct file request
10
+ // @codeCoverageIgnoreEnd
11
+ /**
12
+ * Migration for Major version 2.
13
+ *
14
+ * @see https://app.clickup.com/t/g75t1p
15
+ */
16
+ class DashboardTileTcfV2IllegalUsage extends \DevOwl\RealCookieBanner\comp\migration\AbstractDashboardTileMigration {
17
+ const EXPECTED_VERSION = '2.14.2';
18
+ // Documented in AbstractDashboardTileMigration
19
+ public function __construct() {
20
+ parent::__construct();
21
+ $this->addAction(
22
+ 'paragraph1',
23
+ '',
24
+ \sprintf(
25
+ '<p style="margin-top:0;">%s</p>',
26
+ \join('</p><p>', [
27
+ __(
28
+ 'Briefly summarized, consents according to TCF are considered too non-transparent, not understandable for the website visitor and therefore invalid. IAB Europe, publisher of TCF, is required to redesign the standard within six months so that it collects legally effective consents. At the same time, IAB Europe is taking legal action against the decision of the data protection authority.',
29
+ RCB_TD
30
+ ),
31
+ __(
32
+ 'Real Cookie Banner is obliged to implement mandatory requirements of the IAB Europe. <strong>We point out that with the current version of Real Cookie Banner it is not possible to obtain lawful consents with the version of TCF integrated in it.</strong> Therefore, we strongly recommend that you do not use the TCF integration until the IAB Europe has made the necessary changes (this will be implemented in Real Cookie Banner via an update).',
33
+ RCB_TD
34
+ ),
35
+ __(
36
+ 'If you have previously obtained consents under the Transparency & Consent Framework, be sure to read the following additional information and consult a legal advisor to clarify the further procedure for your individual case.',
37
+ RCB_TD
38
+ ),
39
+ \sprintf(
40
+ '<ul>
41
+ <li><a href="%s" target="_blank">%s</a></li>
42
+ <li><a href="%s" target="_blank">%s</a></li>
43
+ <li><a href="%s" target="_blank">%s</a></li>
44
+ </ul>',
45
+ esc_attr('https://devowl.io/go/real-cookie-banner/tcf/2020-02/apd-decision'),
46
+ __('Decision of the Belgian Data Protection Authority (APD)', RCB_TD),
47
+ esc_attr('https://devowl.io/go/real-cookie-banner/tcf/2020-02/iab-europe-statement'),
48
+ __('Statement of the IAB Europe (English)', RCB_TD),
49
+ esc_attr('https://devowl.io/go/real-cookie-banner/tcf/2020-02/evaluation-ra-schwenke'),
50
+ __('Legal assessment by RA Dr. Schwenke (German)', RCB_TD)
51
+ )
52
+ ])
53
+ ),
54
+ ['linkText' => __('Disable TCF', RCB_TD), 'callback' => $this->getConfigUrl('/settings/tcf')]
55
+ );
56
+ }
57
+ // Documented in AbstractDashboardTileMigration
58
+ public function getId() {
59
+ return 'tcfV2';
60
+ }
61
+ // Documented in AbstractDashboardTileMigration
62
+ public function getHeadline() {
63
+ return __('Consents obtained via TCF illegal', RCB_TD);
64
+ }
65
+ // Documented in AbstractDashboardTileMigration
66
+ public function getDescription() {
67
+ return __(
68
+ 'We need to inform you that on Feb. 02, 2022, the Belgian Data Protection Authority (APD) declared the collection of consents under the Transparency & Consent Framework (TCF) to be invalid. The decision is effective across the EU as it was issued in a one-stop-shop procedure.',
69
+ RCB_TD
70
+ );
71
+ }
72
+ // Documented in AbstractDashboardTileMigration
73
+ public function isActive() {
74
+ $isTcfActive = \DevOwl\RealCookieBanner\settings\TCF::getInstance()->isActive();
75
+ $previousVersions = \DevOwl\RealCookieBanner\Core::getInstance()
76
+ ->getActivator()
77
+ ->getPreviousDatabaseVersions();
78
+ $found = \false;
79
+ foreach ($previousVersions as $v) {
80
+ if (\version_compare($v, self::EXPECTED_VERSION, '<=')) {
81
+ $found = \true;
82
+ break;
83
+ }
84
+ }
85
+ if ($found && !$isTcfActive) {
86
+ $this->dismiss();
87
+ return \false;
88
+ }
89
+ return $found;
90
+ }
91
+ // Documented in AbstractDashboardTileMigration
92
+ public function dismiss() {
93
+ return \DevOwl\RealCookieBanner\Core::getInstance()
94
+ ->getActivator()
95
+ ->removePreviousPersistedVersions(function ($v) {
96
+ return \version_compare($v, self::EXPECTED_VERSION, '>');
97
+ });
98
+ }
99
+ }
index.php CHANGED
@@ -8,7 +8,7 @@
8
  * Description: Obtain GDPR (DSGVO) and ePrivacy (EU cookie law) compliant opt-in consent. Find cookies and fill all legal information in your cookie banner. More than just a cookie notice!
9
  * Author: devowl.io
10
  * Author URI: https://devowl.io
11
- * Version: 2.14.2
12
  * Text Domain: real-cookie-banner
13
  * Domain Path: /languages
14
  */
8
  * Description: Obtain GDPR (DSGVO) and ePrivacy (EU cookie law) compliant opt-in consent. Find cookies and fill all legal information in your cookie banner. More than just a cookie notice!
9
  * Author: devowl.io
10
  * Author URI: https://devowl.io
11
+ * Version: 2.14.3
12
  * Text Domain: real-cookie-banner
13
  * Domain Path: /languages
14
  */
languages/real-cookie-banner-de_AT.mo CHANGED
Binary file
languages/real-cookie-banner-de_AT.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/src\n"
4
  "POT-Creation-Date: n/a\n"
5
- "PO-Revision-Date: 2022-01-31 12:13+0000\n"
6
  "Last-Translator: Matthias Günter <matthias.guenter@devowl.io>\n"
7
  "Language-Team: German <https://translate.devowl.io/projects/wordpress-real-"
8
  "cookie-banner-backend-php/develop/de/>\n"
@@ -662,6 +662,81 @@ msgstr ""
662
  msgid "https://devowl.io/2021/real-cookie-banner-2-0-cookie-consent/"
663
  msgstr "https://devowl.io/de/2021/real-cookie-banner-2-0-cookie-consent/"
664
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
665
  #: inc/Core.php:1
666
  msgid "https://devowl.io/go/real-cookie-banner?source=rcb-lite"
667
  msgstr "https://devowl.io/de/go/real-cookie-banner?source=rcb-lite"
2
  msgstr ""
3
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/src\n"
4
  "POT-Creation-Date: n/a\n"
5
+ "PO-Revision-Date: 2022-02-04 14:11+0000\n"
6
  "Last-Translator: Matthias Günter <matthias.guenter@devowl.io>\n"
7
  "Language-Team: German <https://translate.devowl.io/projects/wordpress-real-"
8
  "cookie-banner-backend-php/develop/de/>\n"
662
  msgid "https://devowl.io/2021/real-cookie-banner-2-0-cookie-consent/"
663
  msgstr "https://devowl.io/de/2021/real-cookie-banner-2-0-cookie-consent/"
664
 
665
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
666
+ msgid ""
667
+ "Briefly summarized, consents according to TCF are considered too non-"
668
+ "transparent, not understandable for the website visitor and therefore "
669
+ "invalid. IAB Europe, publisher of TCF, is required to redesign the standard "
670
+ "within six months so that it collects legally effective consents. At the "
671
+ "same time, IAB Europe is taking legal action against the decision of the "
672
+ "data protection authority."
673
+ msgstr ""
674
+ "Kurz zusammengefasst werden Einwilligungen nach dem TCF als zu "
675
+ "intransparent, für den Website-Besucher nicht verständlich und daher "
676
+ "ungültig angesehen. Die IAB Europe, Herausgeber der TCF, muss den Standard "
677
+ "innerhalb von sechs Monaten so umgestalten, dass rechtswirksame "
678
+ "Einwilligungen gesammelt werden können. Gleichzeitig geht IAB Europe "
679
+ "rechtlich gegen die Entscheidung der Datenschutzbehörde vor."
680
+
681
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
682
+ msgid ""
683
+ "Real Cookie Banner is obliged to implement mandatory requirements of the IAB "
684
+ "Europe. <strong>We point out that with the current version of Real Cookie "
685
+ "Banner it is not possible to obtain lawful consents with the version of TCF "
686
+ "integrated in it.</strong> Therefore, we strongly recommend that you do not "
687
+ "use the TCF integration until the IAB Europe has made the necessary changes "
688
+ "(this will be implemented in Real Cookie Banner via an update)."
689
+ msgstr ""
690
+ "Real Cookie Banner ist verpflichtet, die verbindlichen Anforderungen des IAB "
691
+ "Europe umzusetzen. <strong>Wir weisen darauf hin, dass es mit der aktuellen "
692
+ "Version von Real Cookie Banner nicht möglich ist, rechtswirksame "
693
+ "Einwilligungen mit Hilfe der darin integrierten Version von TCF einzuholen.</"
694
+ "strong> Daher empfehlen wir dir dringend, die TCF-Integration nicht zu "
695
+ "nutzen, bis das IAB Europe die notwendigen Änderungen vorgenommen hat (dies "
696
+ "wird über ein Update in Real Cookie Banner implementiert)."
697
+
698
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
699
+ msgid ""
700
+ "If you have previously obtained consents under the Transparency & Consent "
701
+ "Framework, be sure to read the following additional information and consult "
702
+ "a legal advisor to clarify the further procedure for your individual case."
703
+ msgstr ""
704
+ "Wenn du bereits Einwilligungen nach dem Transparency & Consent Framework "
705
+ "eingeholt hast, solltest du unbedingt die folgenden zusätzlichen "
706
+ "Informationen lesen und eine Rechtsberatung konsultieren, um das weitere "
707
+ "Vorgehen für deinen Einzelfall zu klären."
708
+
709
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
710
+ msgid "Decision of the Belgian Data Protection Authority (APD)"
711
+ msgstr "Entscheidung der belgischen Datenschutzbehörde (APD; Englisch)"
712
+
713
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
714
+ msgid "Statement of the IAB Europe (English)"
715
+ msgstr "Stellungnahme des IAB Europe (Englisch)"
716
+
717
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
718
+ msgid "Legal assessment by RA Dr. Schwenke (German)"
719
+ msgstr "Rechtliche Einschätzung von RA Dr. Schwenke (Deutsch)"
720
+
721
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
722
+ msgid "Disable TCF"
723
+ msgstr "TCF deaktivieren"
724
+
725
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
726
+ msgid "Consents obtained via TCF illegal"
727
+ msgstr "Mittels TCF eingeholte Einwilligungen illegal"
728
+
729
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
730
+ msgid ""
731
+ "We need to inform you that on Feb. 02, 2022, the Belgian Data Protection "
732
+ "Authority (APD) declared the collection of consents under the Transparency & "
733
+ "Consent Framework (TCF) to be invalid. The decision is effective across the "
734
+ "EU as it was issued in a one-stop-shop procedure."
735
+ msgstr ""
736
+ "Wir müssen dich darüber informieren, dass die belgische Datenschutzbehörde "
737
+ "(APD) am 2. Februar 2022 die Sammlung von Einwilligungen im Rahmen des "
738
+ "Transparency & Consent Framework (TCF) für ungültig erklärt hat."
739
+
740
  #: inc/Core.php:1
741
  msgid "https://devowl.io/go/real-cookie-banner?source=rcb-lite"
742
  msgstr "https://devowl.io/de/go/real-cookie-banner?source=rcb-lite"
languages/real-cookie-banner-de_CH.mo CHANGED
Binary file
languages/real-cookie-banner-de_CH.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/src\n"
4
  "POT-Creation-Date: n/a\n"
5
- "PO-Revision-Date: 2022-01-31 12:13+0000\n"
6
  "Last-Translator: Matthias Günter <matthias.guenter@devowl.io>\n"
7
  "Language-Team: German <https://translate.devowl.io/projects/wordpress-real-"
8
  "cookie-banner-backend-php/develop/de/>\n"
@@ -662,6 +662,81 @@ msgstr ""
662
  msgid "https://devowl.io/2021/real-cookie-banner-2-0-cookie-consent/"
663
  msgstr "https://devowl.io/de/2021/real-cookie-banner-2-0-cookie-consent/"
664
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
665
  #: inc/Core.php:1
666
  msgid "https://devowl.io/go/real-cookie-banner?source=rcb-lite"
667
  msgstr "https://devowl.io/de/go/real-cookie-banner?source=rcb-lite"
2
  msgstr ""
3
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/src\n"
4
  "POT-Creation-Date: n/a\n"
5
+ "PO-Revision-Date: 2022-02-04 14:11+0000\n"
6
  "Last-Translator: Matthias Günter <matthias.guenter@devowl.io>\n"
7
  "Language-Team: German <https://translate.devowl.io/projects/wordpress-real-"
8
  "cookie-banner-backend-php/develop/de/>\n"
662
  msgid "https://devowl.io/2021/real-cookie-banner-2-0-cookie-consent/"
663
  msgstr "https://devowl.io/de/2021/real-cookie-banner-2-0-cookie-consent/"
664
 
665
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
666
+ msgid ""
667
+ "Briefly summarized, consents according to TCF are considered too non-"
668
+ "transparent, not understandable for the website visitor and therefore "
669
+ "invalid. IAB Europe, publisher of TCF, is required to redesign the standard "
670
+ "within six months so that it collects legally effective consents. At the "
671
+ "same time, IAB Europe is taking legal action against the decision of the "
672
+ "data protection authority."
673
+ msgstr ""
674
+ "Kurz zusammengefasst werden Einwilligungen nach dem TCF als zu "
675
+ "intransparent, für den Website-Besucher nicht verständlich und daher "
676
+ "ungültig angesehen. Die IAB Europe, Herausgeber der TCF, muss den Standard "
677
+ "innerhalb von sechs Monaten so umgestalten, dass rechtswirksame "
678
+ "Einwilligungen gesammelt werden können. Gleichzeitig geht IAB Europe "
679
+ "rechtlich gegen die Entscheidung der Datenschutzbehörde vor."
680
+
681
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
682
+ msgid ""
683
+ "Real Cookie Banner is obliged to implement mandatory requirements of the IAB "
684
+ "Europe. <strong>We point out that with the current version of Real Cookie "
685
+ "Banner it is not possible to obtain lawful consents with the version of TCF "
686
+ "integrated in it.</strong> Therefore, we strongly recommend that you do not "
687
+ "use the TCF integration until the IAB Europe has made the necessary changes "
688
+ "(this will be implemented in Real Cookie Banner via an update)."
689
+ msgstr ""
690
+ "Real Cookie Banner ist verpflichtet, die verbindlichen Anforderungen des IAB "
691
+ "Europe umzusetzen. <strong>Wir weisen darauf hin, dass es mit der aktuellen "
692
+ "Version von Real Cookie Banner nicht möglich ist, rechtswirksame "
693
+ "Einwilligungen mit Hilfe der darin integrierten Version von TCF einzuholen.</"
694
+ "strong> Daher empfehlen wir dir dringend, die TCF-Integration nicht zu "
695
+ "nutzen, bis das IAB Europe die notwendigen Änderungen vorgenommen hat (dies "
696
+ "wird über ein Update in Real Cookie Banner implementiert)."
697
+
698
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
699
+ msgid ""
700
+ "If you have previously obtained consents under the Transparency & Consent "
701
+ "Framework, be sure to read the following additional information and consult "
702
+ "a legal advisor to clarify the further procedure for your individual case."
703
+ msgstr ""
704
+ "Wenn du bereits Einwilligungen nach dem Transparency & Consent Framework "
705
+ "eingeholt hast, solltest du unbedingt die folgenden zusätzlichen "
706
+ "Informationen lesen und eine Rechtsberatung konsultieren, um das weitere "
707
+ "Vorgehen für deinen Einzelfall zu klären."
708
+
709
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
710
+ msgid "Decision of the Belgian Data Protection Authority (APD)"
711
+ msgstr "Entscheidung der belgischen Datenschutzbehörde (APD; Englisch)"
712
+
713
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
714
+ msgid "Statement of the IAB Europe (English)"
715
+ msgstr "Stellungnahme des IAB Europe (Englisch)"
716
+
717
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
718
+ msgid "Legal assessment by RA Dr. Schwenke (German)"
719
+ msgstr "Rechtliche Einschätzung von RA Dr. Schwenke (Deutsch)"
720
+
721
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
722
+ msgid "Disable TCF"
723
+ msgstr "TCF deaktivieren"
724
+
725
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
726
+ msgid "Consents obtained via TCF illegal"
727
+ msgstr "Mittels TCF eingeholte Einwilligungen illegal"
728
+
729
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
730
+ msgid ""
731
+ "We need to inform you that on Feb. 02, 2022, the Belgian Data Protection "
732
+ "Authority (APD) declared the collection of consents under the Transparency & "
733
+ "Consent Framework (TCF) to be invalid. The decision is effective across the "
734
+ "EU as it was issued in a one-stop-shop procedure."
735
+ msgstr ""
736
+ "Wir müssen dich darüber informieren, dass die belgische Datenschutzbehörde "
737
+ "(APD) am 2. Februar 2022 die Sammlung von Einwilligungen im Rahmen des "
738
+ "Transparency & Consent Framework (TCF) für ungültig erklärt hat."
739
+
740
  #: inc/Core.php:1
741
  msgid "https://devowl.io/go/real-cookie-banner?source=rcb-lite"
742
  msgstr "https://devowl.io/de/go/real-cookie-banner?source=rcb-lite"
languages/real-cookie-banner-de_CH_informal.mo CHANGED
Binary file
languages/real-cookie-banner-de_CH_informal.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/src\n"
4
  "POT-Creation-Date: n/a\n"
5
- "PO-Revision-Date: 2022-01-31 12:13+0000\n"
6
  "Last-Translator: Matthias Günter <matthias.guenter@devowl.io>\n"
7
  "Language-Team: German <https://translate.devowl.io/projects/wordpress-real-"
8
  "cookie-banner-backend-php/develop/de/>\n"
@@ -662,6 +662,81 @@ msgstr ""
662
  msgid "https://devowl.io/2021/real-cookie-banner-2-0-cookie-consent/"
663
  msgstr "https://devowl.io/de/2021/real-cookie-banner-2-0-cookie-consent/"
664
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
665
  #: inc/Core.php:1
666
  msgid "https://devowl.io/go/real-cookie-banner?source=rcb-lite"
667
  msgstr "https://devowl.io/de/go/real-cookie-banner?source=rcb-lite"
2
  msgstr ""
3
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/src\n"
4
  "POT-Creation-Date: n/a\n"
5
+ "PO-Revision-Date: 2022-02-04 14:11+0000\n"
6
  "Last-Translator: Matthias Günter <matthias.guenter@devowl.io>\n"
7
  "Language-Team: German <https://translate.devowl.io/projects/wordpress-real-"
8
  "cookie-banner-backend-php/develop/de/>\n"
662
  msgid "https://devowl.io/2021/real-cookie-banner-2-0-cookie-consent/"
663
  msgstr "https://devowl.io/de/2021/real-cookie-banner-2-0-cookie-consent/"
664
 
665
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
666
+ msgid ""
667
+ "Briefly summarized, consents according to TCF are considered too non-"
668
+ "transparent, not understandable for the website visitor and therefore "
669
+ "invalid. IAB Europe, publisher of TCF, is required to redesign the standard "
670
+ "within six months so that it collects legally effective consents. At the "
671
+ "same time, IAB Europe is taking legal action against the decision of the "
672
+ "data protection authority."
673
+ msgstr ""
674
+ "Kurz zusammengefasst werden Einwilligungen nach dem TCF als zu "
675
+ "intransparent, für den Website-Besucher nicht verständlich und daher "
676
+ "ungültig angesehen. Die IAB Europe, Herausgeber der TCF, muss den Standard "
677
+ "innerhalb von sechs Monaten so umgestalten, dass rechtswirksame "
678
+ "Einwilligungen gesammelt werden können. Gleichzeitig geht IAB Europe "
679
+ "rechtlich gegen die Entscheidung der Datenschutzbehörde vor."
680
+
681
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
682
+ msgid ""
683
+ "Real Cookie Banner is obliged to implement mandatory requirements of the IAB "
684
+ "Europe. <strong>We point out that with the current version of Real Cookie "
685
+ "Banner it is not possible to obtain lawful consents with the version of TCF "
686
+ "integrated in it.</strong> Therefore, we strongly recommend that you do not "
687
+ "use the TCF integration until the IAB Europe has made the necessary changes "
688
+ "(this will be implemented in Real Cookie Banner via an update)."
689
+ msgstr ""
690
+ "Real Cookie Banner ist verpflichtet, die verbindlichen Anforderungen des IAB "
691
+ "Europe umzusetzen. <strong>Wir weisen darauf hin, dass es mit der aktuellen "
692
+ "Version von Real Cookie Banner nicht möglich ist, rechtswirksame "
693
+ "Einwilligungen mit Hilfe der darin integrierten Version von TCF einzuholen.</"
694
+ "strong> Daher empfehlen wir dir dringend, die TCF-Integration nicht zu "
695
+ "nutzen, bis das IAB Europe die notwendigen Änderungen vorgenommen hat (dies "
696
+ "wird über ein Update in Real Cookie Banner implementiert)."
697
+
698
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
699
+ msgid ""
700
+ "If you have previously obtained consents under the Transparency & Consent "
701
+ "Framework, be sure to read the following additional information and consult "
702
+ "a legal advisor to clarify the further procedure for your individual case."
703
+ msgstr ""
704
+ "Wenn du bereits Einwilligungen nach dem Transparency & Consent Framework "
705
+ "eingeholt hast, solltest du unbedingt die folgenden zusätzlichen "
706
+ "Informationen lesen und eine Rechtsberatung konsultieren, um das weitere "
707
+ "Vorgehen für deinen Einzelfall zu klären."
708
+
709
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
710
+ msgid "Decision of the Belgian Data Protection Authority (APD)"
711
+ msgstr "Entscheidung der belgischen Datenschutzbehörde (APD; Englisch)"
712
+
713
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
714
+ msgid "Statement of the IAB Europe (English)"
715
+ msgstr "Stellungnahme des IAB Europe (Englisch)"
716
+
717
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
718
+ msgid "Legal assessment by RA Dr. Schwenke (German)"
719
+ msgstr "Rechtliche Einschätzung von RA Dr. Schwenke (Deutsch)"
720
+
721
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
722
+ msgid "Disable TCF"
723
+ msgstr "TCF deaktivieren"
724
+
725
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
726
+ msgid "Consents obtained via TCF illegal"
727
+ msgstr "Mittels TCF eingeholte Einwilligungen illegal"
728
+
729
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
730
+ msgid ""
731
+ "We need to inform you that on Feb. 02, 2022, the Belgian Data Protection "
732
+ "Authority (APD) declared the collection of consents under the Transparency & "
733
+ "Consent Framework (TCF) to be invalid. The decision is effective across the "
734
+ "EU as it was issued in a one-stop-shop procedure."
735
+ msgstr ""
736
+ "Wir müssen dich darüber informieren, dass die belgische Datenschutzbehörde "
737
+ "(APD) am 2. Februar 2022 die Sammlung von Einwilligungen im Rahmen des "
738
+ "Transparency & Consent Framework (TCF) für ungültig erklärt hat."
739
+
740
  #: inc/Core.php:1
741
  msgid "https://devowl.io/go/real-cookie-banner?source=rcb-lite"
742
  msgstr "https://devowl.io/de/go/real-cookie-banner?source=rcb-lite"
languages/real-cookie-banner-de_DE.mo CHANGED
Binary file
languages/real-cookie-banner-de_DE.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/src\n"
4
  "POT-Creation-Date: n/a\n"
5
- "PO-Revision-Date: 2022-01-31 12:13+0000\n"
6
  "Last-Translator: Matthias Günter <matthias.guenter@devowl.io>\n"
7
  "Language-Team: German <https://translate.devowl.io/projects/wordpress-real-"
8
  "cookie-banner-backend-php/develop/de/>\n"
@@ -662,6 +662,81 @@ msgstr ""
662
  msgid "https://devowl.io/2021/real-cookie-banner-2-0-cookie-consent/"
663
  msgstr "https://devowl.io/de/2021/real-cookie-banner-2-0-cookie-consent/"
664
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
665
  #: inc/Core.php:1
666
  msgid "https://devowl.io/go/real-cookie-banner?source=rcb-lite"
667
  msgstr "https://devowl.io/de/go/real-cookie-banner?source=rcb-lite"
2
  msgstr ""
3
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/src\n"
4
  "POT-Creation-Date: n/a\n"
5
+ "PO-Revision-Date: 2022-02-04 14:11+0000\n"
6
  "Last-Translator: Matthias Günter <matthias.guenter@devowl.io>\n"
7
  "Language-Team: German <https://translate.devowl.io/projects/wordpress-real-"
8
  "cookie-banner-backend-php/develop/de/>\n"
662
  msgid "https://devowl.io/2021/real-cookie-banner-2-0-cookie-consent/"
663
  msgstr "https://devowl.io/de/2021/real-cookie-banner-2-0-cookie-consent/"
664
 
665
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
666
+ msgid ""
667
+ "Briefly summarized, consents according to TCF are considered too non-"
668
+ "transparent, not understandable for the website visitor and therefore "
669
+ "invalid. IAB Europe, publisher of TCF, is required to redesign the standard "
670
+ "within six months so that it collects legally effective consents. At the "
671
+ "same time, IAB Europe is taking legal action against the decision of the "
672
+ "data protection authority."
673
+ msgstr ""
674
+ "Kurz zusammengefasst werden Einwilligungen nach dem TCF als zu "
675
+ "intransparent, für den Website-Besucher nicht verständlich und daher "
676
+ "ungültig angesehen. Die IAB Europe, Herausgeber der TCF, muss den Standard "
677
+ "innerhalb von sechs Monaten so umgestalten, dass rechtswirksame "
678
+ "Einwilligungen gesammelt werden können. Gleichzeitig geht IAB Europe "
679
+ "rechtlich gegen die Entscheidung der Datenschutzbehörde vor."
680
+
681
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
682
+ msgid ""
683
+ "Real Cookie Banner is obliged to implement mandatory requirements of the IAB "
684
+ "Europe. <strong>We point out that with the current version of Real Cookie "
685
+ "Banner it is not possible to obtain lawful consents with the version of TCF "
686
+ "integrated in it.</strong> Therefore, we strongly recommend that you do not "
687
+ "use the TCF integration until the IAB Europe has made the necessary changes "
688
+ "(this will be implemented in Real Cookie Banner via an update)."
689
+ msgstr ""
690
+ "Real Cookie Banner ist verpflichtet, die verbindlichen Anforderungen des IAB "
691
+ "Europe umzusetzen. <strong>Wir weisen darauf hin, dass es mit der aktuellen "
692
+ "Version von Real Cookie Banner nicht möglich ist, rechtswirksame "
693
+ "Einwilligungen mit Hilfe der darin integrierten Version von TCF einzuholen.</"
694
+ "strong> Daher empfehlen wir dir dringend, die TCF-Integration nicht zu "
695
+ "nutzen, bis das IAB Europe die notwendigen Änderungen vorgenommen hat (dies "
696
+ "wird über ein Update in Real Cookie Banner implementiert)."
697
+
698
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
699
+ msgid ""
700
+ "If you have previously obtained consents under the Transparency & Consent "
701
+ "Framework, be sure to read the following additional information and consult "
702
+ "a legal advisor to clarify the further procedure for your individual case."
703
+ msgstr ""
704
+ "Wenn du bereits Einwilligungen nach dem Transparency & Consent Framework "
705
+ "eingeholt hast, solltest du unbedingt die folgenden zusätzlichen "
706
+ "Informationen lesen und eine Rechtsberatung konsultieren, um das weitere "
707
+ "Vorgehen für deinen Einzelfall zu klären."
708
+
709
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
710
+ msgid "Decision of the Belgian Data Protection Authority (APD)"
711
+ msgstr "Entscheidung der belgischen Datenschutzbehörde (APD; Englisch)"
712
+
713
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
714
+ msgid "Statement of the IAB Europe (English)"
715
+ msgstr "Stellungnahme des IAB Europe (Englisch)"
716
+
717
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
718
+ msgid "Legal assessment by RA Dr. Schwenke (German)"
719
+ msgstr "Rechtliche Einschätzung von RA Dr. Schwenke (Deutsch)"
720
+
721
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
722
+ msgid "Disable TCF"
723
+ msgstr "TCF deaktivieren"
724
+
725
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
726
+ msgid "Consents obtained via TCF illegal"
727
+ msgstr "Mittels TCF eingeholte Einwilligungen illegal"
728
+
729
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
730
+ msgid ""
731
+ "We need to inform you that on Feb. 02, 2022, the Belgian Data Protection "
732
+ "Authority (APD) declared the collection of consents under the Transparency & "
733
+ "Consent Framework (TCF) to be invalid. The decision is effective across the "
734
+ "EU as it was issued in a one-stop-shop procedure."
735
+ msgstr ""
736
+ "Wir müssen dich darüber informieren, dass die belgische Datenschutzbehörde "
737
+ "(APD) am 2. Februar 2022 die Sammlung von Einwilligungen im Rahmen des "
738
+ "Transparency & Consent Framework (TCF) für ungültig erklärt hat."
739
+
740
  #: inc/Core.php:1
741
  msgid "https://devowl.io/go/real-cookie-banner?source=rcb-lite"
742
  msgstr "https://devowl.io/de/go/real-cookie-banner?source=rcb-lite"
languages/real-cookie-banner-de_DE_formal.mo CHANGED
Binary file
languages/real-cookie-banner-de_DE_formal.po CHANGED
@@ -5,7 +5,7 @@ msgstr ""
5
  "Project-Id-Version: n/a\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/src\n"
7
  "POT-Creation-Date: n/a\n"
8
- "PO-Revision-Date: 2022-01-31 12:13+0000\n"
9
  "Last-Translator: Matthias Günter <matthias.guenter@devowl.io>\n"
10
  "Language-Team: German (formal) <https://translate.devowl.io/projects/"
11
  "wordpress-real-cookie-banner-backend-php/develop/de@formal/>\n"
@@ -665,6 +665,83 @@ msgstr ""
665
  msgid "https://devowl.io/2021/real-cookie-banner-2-0-cookie-consent/"
666
  msgstr "https://devowl.io/de/2021/real-cookie-banner-2-0-cookie-consent/"
667
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
668
  #: inc/Core.php:1
669
  msgid "https://devowl.io/go/real-cookie-banner?source=rcb-lite"
670
  msgstr "https://devowl.io/de/go/real-cookie-banner?source=rcb-lite"
5
  "Project-Id-Version: n/a\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/src\n"
7
  "POT-Creation-Date: n/a\n"
8
+ "PO-Revision-Date: 2022-02-04 14:11+0000\n"
9
  "Last-Translator: Matthias Günter <matthias.guenter@devowl.io>\n"
10
  "Language-Team: German (formal) <https://translate.devowl.io/projects/"
11
  "wordpress-real-cookie-banner-backend-php/develop/de@formal/>\n"
665
  msgid "https://devowl.io/2021/real-cookie-banner-2-0-cookie-consent/"
666
  msgstr "https://devowl.io/de/2021/real-cookie-banner-2-0-cookie-consent/"
667
 
668
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
669
+ msgid ""
670
+ "Briefly summarized, consents according to TCF are considered too non-"
671
+ "transparent, not understandable for the website visitor and therefore "
672
+ "invalid. IAB Europe, publisher of TCF, is required to redesign the standard "
673
+ "within six months so that it collects legally effective consents. At the "
674
+ "same time, IAB Europe is taking legal action against the decision of the "
675
+ "data protection authority."
676
+ msgstr ""
677
+ "Kurz zusammengefasst werden Einwilligungen nach TCF als zu intransparent, "
678
+ "für den Website-Besucher nicht verständlich und daher ungültig angesehen. "
679
+ "IAB Europe, der Herausgeber von TCF, ist verpflichtet, den Standard "
680
+ "innerhalb von sechs Monaten so umzugestalten, dass rechtswirksame "
681
+ "Einwilligungen eingeholt werden können. Gleichzeitig geht IAB Europe "
682
+ "rechtlich gegen die Entscheidung der Datenschutzbehörde vor."
683
+
684
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
685
+ msgid ""
686
+ "Real Cookie Banner is obliged to implement mandatory requirements of the IAB "
687
+ "Europe. <strong>We point out that with the current version of Real Cookie "
688
+ "Banner it is not possible to obtain lawful consents with the version of TCF "
689
+ "integrated in it.</strong> Therefore, we strongly recommend that you do not "
690
+ "use the TCF integration until the IAB Europe has made the necessary changes "
691
+ "(this will be implemented in Real Cookie Banner via an update)."
692
+ msgstr ""
693
+ "Real Cookie Banner ist verpflichtet, die verbindlichen Vorgaben des IAB "
694
+ "Europe umzusetzen. <strong>Wir weisen darauf hin, dass es mit der aktuellen "
695
+ "Version von Real Cookie Banner nicht möglich ist, rechtswirksame "
696
+ "Einwilligungen mit Hilfe der darin integrierten Version von TCF einzuholen.</"
697
+ "strong> Daher empfehlen wir Ihnen dringend, die TCF-Integration nicht zu "
698
+ "verwenden, bis das IAB Europe die notwendigen Änderungen vorgenommen hat "
699
+ "(dies wird in Real Cookie Banner durch ein Update eingespielt werden)."
700
+
701
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
702
+ msgid ""
703
+ "If you have previously obtained consents under the Transparency & Consent "
704
+ "Framework, be sure to read the following additional information and consult "
705
+ "a legal advisor to clarify the further procedure for your individual case."
706
+ msgstr ""
707
+ "Wenn Sie bereits Einwilligungen nach dem Transparency & Consent Framework "
708
+ "eingeholt haben, sollten Sie unbedingt die folgenden zusätzlichen "
709
+ "Informationen lesen und eine Rechtsberatung konsultieren, um das weitere "
710
+ "Vorgehen für Ihren Einzelfall zu klären."
711
+
712
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
713
+ msgid "Decision of the Belgian Data Protection Authority (APD)"
714
+ msgstr "Entscheidung der belgischen Datenschutzbehörde (APD; Englisch)"
715
+
716
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
717
+ msgid "Statement of the IAB Europe (English)"
718
+ msgstr "Stellungnahme des IAB Europe (Englisch)"
719
+
720
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
721
+ msgid "Legal assessment by RA Dr. Schwenke (German)"
722
+ msgstr "Rechtliche Einschätzung von RA Dr. Schwenke (Deutsch)"
723
+
724
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
725
+ msgid "Disable TCF"
726
+ msgstr "TCF deaktivieren"
727
+
728
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
729
+ msgid "Consents obtained via TCF illegal"
730
+ msgstr "Mittels TCF eingeholte Einwilligungen illegal"
731
+
732
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
733
+ msgid ""
734
+ "We need to inform you that on Feb. 02, 2022, the Belgian Data Protection "
735
+ "Authority (APD) declared the collection of consents under the Transparency & "
736
+ "Consent Framework (TCF) to be invalid. The decision is effective across the "
737
+ "EU as it was issued in a one-stop-shop procedure."
738
+ msgstr ""
739
+ "Wir müssen Sie darüber informieren, dass die belgische Datenschutzbehörde "
740
+ "(APD) am 02. Februar 2022 die Einholung von Einwilligungen im Rahmen des "
741
+ "Transparency & Consent Framework (TCF) für ungültig erklärt hat. Die "
742
+ "Entscheidung gilt für die gesamte EU, da sie in einem One-Stop-Shop-"
743
+ "Verfahren erlassen wurde."
744
+
745
  #: inc/Core.php:1
746
  msgid "https://devowl.io/go/real-cookie-banner?source=rcb-lite"
747
  msgstr "https://devowl.io/de/go/real-cookie-banner?source=rcb-lite"
languages/real-cookie-banner.pot CHANGED
@@ -533,6 +533,42 @@ msgstr ""
533
  msgid "https://devowl.io/2021/real-cookie-banner-2-0-cookie-consent/"
534
  msgstr ""
535
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
536
  #: inc/Core.php:1
537
  msgid "https://devowl.io/go/real-cookie-banner?source=rcb-lite"
538
  msgstr ""
533
  msgid "https://devowl.io/2021/real-cookie-banner-2-0-cookie-consent/"
534
  msgstr ""
535
 
536
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
537
+ msgid "Briefly summarized, consents according to TCF are considered too non-transparent, not understandable for the website visitor and therefore invalid. IAB Europe, publisher of TCF, is required to redesign the standard within six months so that it collects legally effective consents. At the same time, IAB Europe is taking legal action against the decision of the data protection authority."
538
+ msgstr ""
539
+
540
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
541
+ msgid "Real Cookie Banner is obliged to implement mandatory requirements of the IAB Europe. <strong>We point out that with the current version of Real Cookie Banner it is not possible to obtain lawful consents with the version of TCF integrated in it.</strong> Therefore, we strongly recommend that you do not use the TCF integration until the IAB Europe has made the necessary changes (this will be implemented in Real Cookie Banner via an update)."
542
+ msgstr ""
543
+
544
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
545
+ msgid "If you have previously obtained consents under the Transparency & Consent Framework, be sure to read the following additional information and consult a legal advisor to clarify the further procedure for your individual case."
546
+ msgstr ""
547
+
548
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
549
+ msgid "Decision of the Belgian Data Protection Authority (APD)"
550
+ msgstr ""
551
+
552
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
553
+ msgid "Statement of the IAB Europe (English)"
554
+ msgstr ""
555
+
556
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
557
+ msgid "Legal assessment by RA Dr. Schwenke (German)"
558
+ msgstr ""
559
+
560
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
561
+ msgid "Disable TCF"
562
+ msgstr ""
563
+
564
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
565
+ msgid "Consents obtained via TCF illegal"
566
+ msgstr ""
567
+
568
+ #: inc/comp/migration/DashboardTileTcfV2IllegalUsage.php:1
569
+ msgid "We need to inform you that on Feb. 02, 2022, the Belgian Data Protection Authority (APD) declared the collection of consents under the Transparency & Consent Framework (TCF) to be invalid. The decision is effective across the EU as it was issued in a one-stop-shop procedure."
570
+ msgstr ""
571
+
572
  #: inc/Core.php:1
573
  msgid "https://devowl.io/go/real-cookie-banner?source=rcb-lite"
574
  msgstr ""
public/dist/admin.lite.js CHANGED
@@ -1,2 +1,2 @@
1
- var realCookieBanner_admin;!function(){"use strict";var e,t,r,n={3055: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={}))},4184: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}})},3162: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},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 w.L_},ConsentStore:function(){return w.v},CookieStore:function(){return w.hc},CustomizeBannerStore:function(){return w.WS},OptionStore:function(){return w.aZ},RootStore:function(){return w.My},ScannerStore:function(){return w.Cu},StatsStore:function(){return w.et},TcfStore:function(){return w.z},useStores:function(){return w.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(4614),p=r(1312),f=(r(1696),r(9738),r(8488)),h=r.n(f),b=r(8700),d=r(5408),v={};for(var y in b)"default"!==y&&(v[y]=function(e){return b[e]}.bind(0,y));r.d(t,v);var m,g,Z=r(9332),w=r(5187);r.p=(0,b.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===b.handleCorrupRestApi||void 0===b.handleCorrupRestApi||(0,b.handleCorrupRestApi)((m={},(0,i.Z)(m,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)(m,"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)})),m)),o.ZP.config({prefixCls:"rcb-antd"}),n.ZP.config({top:50});var k=document.getElementById("".concat(u.M.get.optionStore.slug,"-component"));k&&(0,l.render)(React.createElement(o.ZP,{prefixCls:"rcb-antd",locale:{locale:h().locale()}},React.createElement(u.M.StoreProvider,null,React.createElement(p.K,null))),k)},2142: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(5071),f=r(1857),h=r(5406),b=r(8719),d=r(3058),v=r(4614),y=r(3289),m=r(4522),g=(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,g=!(0,v.m)().optionStore.others.isPro&&l,Z=null;if("scanner"===t){var w=(0,y.p)(),k=w.percent,R=w.remaining,C=w.currentJob;R>0&&k>0&&(null==C?void 0:C.group_position)>0&&(Z=React.createElement(a.Z,null,(0,p.__)("Currently scanning (%d %%)",k)))}return React.createElement("div",{style:{margin:"5px 0"}},React.createElement(f.Z,{title:r&&o},React.createElement("span",null,g?React.createElement(h.Z,{style:{color:"#7ec8ec"}}):r?React.createElement(b.Z,{style:{color:"#52c41a"}}):React.createElement(d.Z,{style:{color:"#e2e2e2"}})," ",React.createElement("span",{style:{textDecoration:r?"line-through":void 0,fontWeight:"bold"}},n),!!i&&!!s&&React.createElement(React.Fragment,null,"  •  ",React.createElement("a",{href:i,target:c,rel:"noreferrer",onClick:u},s)))),g&&"get-pro"!==t&&React.createElement(React.Fragment,null," ",React.createElement(a.Z,{color:m.k},(0,p.__)("Needs PRO"))),!!Z&&React.createElement(React.Fragment,null," ",Z),!!o&&!r&&React.createElement("p",{className:"description",style:{paddingLeft:17}},o))})),Z=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,h=u.items,b=u.completed,y=u.checkable,m=u.done,w=u.checklist.overdue,k=(0,l.useState)("boolean"==typeof r.showHidden?r.showHidden:!m),R=(0,s.Z)(k,2),C=R[0],P=R[1];return React.createElement(n.Z,{spinning:f},React.createElement(o.Z,{direction:"vertical",size:"large"},w&&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,m&&(C?React.createElement(a.Z,{icon:React.createElement(Z.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",b.length>y.length?y.length:b.length,y.length))),h.map((function(e){var r=e.id,n=(0,c.Z)(e,["id"]);return!C&&n.checked?null:React.createElement(g,(0,i.Z)({key:r,id:r},n,{onLinkClick:function(e){["get-pro"].indexOf(r)>-1&&u.toggleChecklistItem(r,!0),null==t||t(e)}}))})))))}))},294:function(e,t,r){r.d(t,{DR:function(){return y},Gh:function(){return d},Ki:function(){return v}});var n=r(2519),o=r(8920),i=r(9943),a=r(6315),s=r(6478),c=r(7363),l=r(3554),u=r(5071),p=r(994),f=r(8042),h=r(4342),b=r(4614),d="Google Tag Manager",v="Matomo Tag Manager",y=(0,l.Pi)((function(){var e=(0,b.m)().optionStore,t=e.refreshSiteAfterConsent,r=e.imprintExternalUrl,l=e.imprintIsExternalUrl,y=e.privacyPolicyExternalUrl,m=e.privacyPolicyIsExternalUrl,g=e.others,Z=g.isPro,w=g.customizeBannerUrl,k=(0,c.useCallback)((function(e){return"".concat(w.replace(/autofocus\[panel]=[\w-]+/,"autofocus[section]=".concat(e)),"&return=").concat(encodeURIComponent(window.location.href))}),[w])("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.__)("Refresh site after consent"),style:{display:t?void 0:"none"}},React.createElement(a.Z.Item,{name:"refreshSiteAfterConsent",noStyle:!0},React.createElement(o.ZP.Group,null,React.createElement(o.ZP.Button,{value:!1},(0,u.__)("Do not refresh")),React.createElement(o.ZP.Button,{value:!0},(0,u.__)("Refresh")))),React.createElement("p",{className:"description"},(0,u.__)("Depending on how services are loaded, e.g. by other plugins on your website, it may be necessary to reload the website after the user has consented to the setting of cookies (only necessary in very rare cases)."))),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}},l?React.createElement(n.Z,{value:r,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(n.Z,{value:y,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:!Z,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(o.ZP.Group,null,React.createElement(o.ZP.Button,{disabled:!Z,value:"none"},(0,u.__)("HTML/JavaScript Snippet")),React.createElement(o.ZP.Button,{disabled:!Z,value:"googleTagManager"},(0,u.__)("%s Event",d)),React.createElement(o.ZP.Button,{disabled:!Z,value:"matomoTagManager"},(0,u.__)("%s Event",v)))),React.createElement("div",{style:{margin:"5px 0px 0px"}},React.createElement(h.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)}))))}))},1312: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(5071),u=r(4614),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")))))})),h=(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.")))})),b=r(6703),d=(0,s.Pi)((function(){return!!(0,b.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"))))})),y=r(2200),m=function(){var e=(0,c.useHistory)().listen;return(0,a.useEffect)((function(){var t=e((function(){(0,y.X)(0)}));return function(){t()}}),[e]),null},g=r(294),Z=r(6069),w=r(3058),k=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(k.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(2142),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,h=s.others.customizeBannerUrl,b=s.publicUrl,d=p.completed,v=p.checkable,y=p.done;(0,a.useEffect)((function(){p.fetchChecklist()}),[]);var m=(0,a.useCallback)((function(e){window.location.href="".concat(h,"&return=").concat(encodeURIComponent(window.location.href)),e.preventDefault()}),[]),g=(0,a.useCallback)((function(){n(!0),p.fetchChecklist()}),[n]),k=(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(b,"images/logos/real-cookie-banner.svg")}),React.createElement("a",{className:"page-title-action",href:"#",onClick:m},(0,l.__)("Customize banner")),React.createElement(R,null),!y&&"/"!==f&&React.createElement(React.Fragment,null,React.createElement("a",{className:"page-title-action",style:{color:"#52c41a",background:"#f6ffed",borderColor:"#85af65"},onClick:g},React.createElement(w.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:k,okButtonProps:{style:{display:"none"}},cancelText:(0,l.__)("Close"),width:800},React.createElement(C.b,{showHidden:!0,onLinkClick:k}))),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(3289),O=r(6),D=r(3537),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(728),r.e(914),r.e(411),r.e(379)]).then(r.bind(r,6968)).then((function(e){var t=e.DashboardCards;return T("dashboard",React.createElement(t,null))}))})),A=(0,a.lazy)((function(){return Promise.all([r.e(440),r.e(768)]).then(r.bind(r,8386)).then((function(e){var t=e.SettingsForm;return T("settings",React.createElement(t,null))}))})),M=(0,a.lazy)((function(){return Promise.all([r.e(440),r.e(728),r.e(813),r.e(930),r.e(547),r.e(795),r.e(193),r.e(784),r.e(138),r.e(3)]).then(r.bind(r,6263)).then((function(e){var t=e.ScannerRouter;return T("scanner",React.createElement(t,null))}))})),B=(0,a.lazy)((function(){return Promise.all([r.e(440),r.e(728),r.e(813),r.e(930),r.e(547),r.e(717),r.e(138),r.e(296),r.e(718)]).then(r.bind(r,2524)).then((function(e){var t=e.CookieGroupsTabRouter;return T("cookies",React.createElement(t,null))}))})),N=(0,a.lazy)((function(){return Promise.all([r.e(440),r.e(728),r.e(813),r.e(914),r.e(930),r.e(795),r.e(625)]).then(r.bind(r,4386)).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(728),r.e(813),r.e(547),r.e(138),r.e(296),r.e(478)]).then(r.bind(r,4362)).then((function(e){var t=e.BlockerRouter;return T("blocker",React.createElement(t,null))}))})),V=(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,5484)).then((function(e){var t=e.ImportExportCards;return T("import",React.createElement(t,null))}))})),U=(0,a.lazy)((function(){return Promise.all([r.e(440),r.e(322)]).then(r.bind(r,5646)).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)(),b=p.optionStore,y=p.checklistStore,Z=b.others,w=Z.showLicenseFormImmediate,k=(0,o.Z)(Z.colorScheme,3)[2];return(0,a.useLayoutEffect)((function(){b.fetchSettings();var e=function(){y.fetchChecklist()},t="".concat(O.JOB_DONE_EVENT_PREFIX).concat(D.b);return document.addEventListener(t,e),function(){document.removeEventListener(t,e)}}),[]),w?React.createElement(a.Suspense,{fallback:React.createElement(i.Z,{spinning:!0,style:z})},React.createElement(U,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:k}},(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(h,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(m,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?"},b.areSettingsFetched?React.createElement(A,null):null),React.createElement(c.Route,{path:"/scanner"},React.createElement(M,null)),React.createElement(c.Route,{path:"/cookies/:cookieGroup?"},React.createElement(B,null)),React.createElement(c.Route,{path:"/consent/:tab?"},React.createElement(N,null)),React.createElement(c.Route,{path:"/blocker"},React.createElement(j,null)),React.createElement(c.Route,{path:"/import"},React.createElement(V,null)),React.createElement(c.Route,{path:"/licensing"},React.createElement(U,null)))),React.createElement(E,null))}))},4342:function(e,t,r){r.d(t,{r:function(){return s}});var n=r(6107),o=r(2711),i=r(7088),a=r(5071),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)}},994:function(e,t,r){r.d(t,{m:function(){return y}});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(6703),f=r(5408),h=r(5071),b=r(2936),d=r(8700),v=r(4184),y=function(e){var t=e.postType,r=e.postStatus,c=void 0===r?["draft","publish","private"]:r,y=e.perPage,m=void 0===y?10:y,g=e.value,Z=e.multiple,w=e.disabled,k=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],A=T[1],M=(0,u.useState)(!1),B=(0,s.Z)(M,2),N=B[0],j=B[1],V=(0,u.useState)([]),U=(0,s.Z)(V,2),F=U[0],G=U[1],W=(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:k?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,b.N)(O,""===O?0:800,(function(e){!1!==e&&W({search:e,per_page:e.length?50:m})}),(function(e){!1!==e&&j(!0),G([])})),(0,u.useEffect)((function(){(I>0||Array.isArray(I)&&I.length>0)&&W({include:Array.isArray(I)?I:[I]})}),[]),(0,u.useEffect)((function(){JSON.stringify(I)!==JSON.stringify(g)&&(g>0||Array.isArray(g)&&g.length>0)&&(A(g),W({include:Array.isArray(g)?g:[g]}))}),[g,I]),React.createElement(n.Z,{mode:Z?"multiple":void 0,disabled:w,showSearch:!0,value:I,placeholder:(0,h.__)("Search..."),notFoundContent:N?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;A(t),null==R||R(t)},filterOption:!1,loading:N},!Z&&!N&&React.createElement(n.Z.Option,{value:0},(0,h.__)("— 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})))}},2579:function(e,t,r){r.d(t,{B:function(){return p}});var n=r(6069),o=r(7228),i=r(7363),a=r(9635),s=r(6703),c=r(5071),l=r(8081),u=r(5829),p=function(e){var t=e.visible,r=void 0!==t&&t,p=e.showHints,f=void 0===p||p,h=e.title,b=e.testDrive,d=void 0!==b&&b,v=e.assetName,y=e.description,m=e.feature,g=e.onClose,Z=e.inContainer,w=e.inContainerElement,k=(0,s.u)(),R=k.proUrl,C=k.hints,P=(0,i.useState)(),S=(0,o.Z)(P,2),E=S[0],_=S[1],x=(0,i.useCallback)((function(){window.open("".concat(R,"&feature=").concat(m),"_blank").focus(),null==g||g()}),[g]);(0,i.useEffect)((function(){Z&&E&&(null==E?void 0:E.parentElement.parentElement.previousElementSibling).removeAttribute("tabIndex")}),[E]);var O=null==C?void 0:C.proDialog;return Z&&!w?null:React.createElement(n.Z,{visible:!!Z||r,title:React.createElement("span",null,React.createElement(a.Z,null)," ",h," ",(0,c.__)("Get PRO!")),onOk:x,onCancel:g,cancelText:(0,c.__)("No, not interested..."),okText:(0,c.__)("I want to learn more!"),className:"rcb-pro-modal",width:v?800:600,getContainer:Z?w:void 0},!!v&&React.createElement("img",{style:{marginTop:10},src:"https://assets.devowl.io/in-app/wp-real-cookie-banner/".concat(v)}),React.createElement("div",{style:{maxWidth:600,margin:"auto"},ref:_},React.createElement("p",null,(0,l.E)(y)),d&&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"})}))),!!O&&f&&React.createElement("div",{style:{maxWidth:600,margin:"auto",textAlign:"left"}},React.createElement(u.j,O)))}},5829: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}}))))}},8042:function(e,t,r){r.d(t,{g:function(){return i}});var n=r(4115),o=r(4522),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))}},2936: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}},4522: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(5071),c=r(4614),l=r(7363),u=r(2579),p="#2db7f5";function f(e,t){var r=(0,l.useState)(!1),f=(0,i.Z)(r,2),h=f[0],b=f[1],d=(0,c.m)().optionStore.others.isPro,v="boolean"==typeof t?t:d,y=(0,l.useCallback)((function(e){b(!0),null==e||e.preventDefault()}),[b]),m=(0,l.useMemo)((function(){return v?null:React.createElement(o.Z,{icon:React.createElement(a.Z,null),color:p,style:{cursor:"pointer"},onClick:y},e.tagText||(0,s.__)("Unlock feature"))}),[y,e]),g=(0,l.useMemo)((function(){return v?null:React.createElement(u.B,(0,n.Z)({visible:h,onClose:function(){return b(!1)}},e))}),[h,b,e]);return{isPro:v,tag:m,modal:g,open:y}}},3289:function(e,t,r){r.d(t,{p:function(){return s}});var n=r(6),o=r(7363),i=r(4614),a=r(3537);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})}},62: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),h=r(9303),b=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,b.runInAction)((function(){return(0,b.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 h=Object.prototype.hasOwnProperty.call(this.settings,f)?this.settings[f]:r.get(f);o.push([s,p,h])}}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,h.Z)(n.prototype,"id",[b.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),i=(0,h.Z)(n.prototype,"name",[b.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,h.Z)(n.prototype,"needsPro",[b.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,h.Z)(n.prototype,"description",[b.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=(0,h.Z)(n.prototype,"tags",[b.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=(0,h.Z)(n.prototype,"settings",[b.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),n)},480: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(5408),u=r(1313),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},1313: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),h=r(5952),b=r(9303),d=r(8700),v=r(5408),y=r(9338),m=r(7821),g=r(4614),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,h.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,m.reaction)((function(){var e;return null===(e=n.data)||void 0===e?void 0:e.preset}),(function(e){return(0,m.runInAction)((function(){n.presetModel=e?new y.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,b.Z)(o.prototype,"presetModel",[m.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,b.Z)(o.prototype,"hosts",[m.computed],Object.getOwnPropertyDescriptor(o.prototype,"hosts"),o.prototype),(0,b.Z)(o.prototype,"tcfVendors",[m.computed],Object.getOwnPropertyDescriptor(o.prototype,"tcfVendors"),o.prototype),(0,b.Z)(o.prototype,"cookies",[m.computed],Object.getOwnPropertyDescriptor(o.prototype,"cookies"),o.prototype),(0,b.Z)(o.prototype,"setName",[m.action],Object.getOwnPropertyDescriptor(o.prototype,"setName"),o.prototype),(0,b.Z)(o.prototype,"setStatus",[m.action],Object.getOwnPropertyDescriptor(o.prototype,"setStatus"),o.prototype),(0,b.Z)(o.prototype,"setDescription",[m.action],Object.getOwnPropertyDescriptor(o.prototype,"setDescription"),o.prototype),(0,b.Z)(o.prototype,"setMeta",[m.action],Object.getOwnPropertyDescriptor(o.prototype,"setMeta"),o.prototype),n=o))||n},9338: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),h=r(7821),b=r(3506),d=r(5408),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,h.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:b.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,h.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",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),i=(0,u.Z)(n.prototype,"data",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,u.Z)(n.prototype,"attributes",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,u.Z)(n.prototype,"fullLogoUrl",[h.computed],Object.getOwnPropertyDescriptor(n.prototype,"fullLogoUrl"),n.prototype),n)},6565:function(e,t,r){r.d(t,{y:function(){return N}});var n,o,i,a,s,c,l,u,p,f,h,b,d,v,y,m,g,Z,w,k,R,C,P,S,E,_,x,O,D,z=r(2711),T=r(6724),I=r(6762),A=r(3340),M=r(9303),B=r(7821),N=(n=function(){function e(t,r){var n=this;(0,I.Z)(this,e),(0,T.Z)(this,"id",o,this),(0,T.Z)(this,"plugin_version",i,this),(0,T.Z)(this,"design_version",a,this),(0,T.Z)(this,"ipv4",s,this),(0,T.Z)(this,"ipv6",c,this),(0,T.Z)(this,"ipv4_hash",l,this),(0,T.Z)(this,"ipv6_hash",u,this),(0,T.Z)(this,"uuid",p,this),(0,T.Z)(this,"previous_decision",f,this),(0,T.Z)(this,"decision",h,this),(0,T.Z)(this,"decision_labels",b,this),(0,T.Z)(this,"created",d,this),(0,T.Z)(this,"blocker",v,this),(0,T.Z)(this,"dnt",y,this),(0,T.Z)(this,"custom_bypass",m,this),(0,T.Z)(this,"user_country",g,this),(0,T.Z)(this,"revision_hash",Z,this),(0,T.Z)(this,"revision_independent_hash",w,this),(0,T.Z)(this,"button_clicked",k,this),(0,T.Z)(this,"context",R,this),(0,T.Z)(this,"viewport_width",C,this),(0,T.Z)(this,"viewport_height",P,this),(0,T.Z)(this,"viewed_page",S,this),(0,T.Z)(this,"url_imprint",E,this),(0,T.Z)(this,"url_privacy_policy",_,this),(0,T.Z)(this,"forwarded",x,this),(0,T.Z)(this,"forwarded_blocker",O,this),(0,T.Z)(this,"tcf_string",D,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,z.Z)((0,z.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,M.Z)(n.prototype,"id",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),i=(0,M.Z)(n.prototype,"plugin_version",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,M.Z)(n.prototype,"design_version",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,M.Z)(n.prototype,"ipv4",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=(0,M.Z)(n.prototype,"ipv6",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=(0,M.Z)(n.prototype,"ipv4_hash",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,M.Z)(n.prototype,"ipv6_hash",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=(0,M.Z)(n.prototype,"uuid",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=(0,M.Z)(n.prototype,"previous_decision",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=(0,M.Z)(n.prototype,"decision",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=(0,M.Z)(n.prototype,"decision_labels",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=(0,M.Z)(n.prototype,"created",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=(0,M.Z)(n.prototype,"blocker",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=(0,M.Z)(n.prototype,"dnt",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=(0,M.Z)(n.prototype,"custom_bypass",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=(0,M.Z)(n.prototype,"user_country",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Z=(0,M.Z)(n.prototype,"revision_hash",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,M.Z)(n.prototype,"revision_independent_hash",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k=(0,M.Z)(n.prototype,"button_clicked",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),R=(0,M.Z)(n.prototype,"context",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=(0,M.Z)(n.prototype,"viewport_width",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=(0,M.Z)(n.prototype,"viewport_height",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=(0,M.Z)(n.prototype,"viewed_page",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,M.Z)(n.prototype,"url_imprint",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=(0,M.Z)(n.prototype,"url_privacy_policy",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),x=(0,M.Z)(n.prototype,"forwarded",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=(0,M.Z)(n.prototype,"forwarded_blocker",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),D=(0,M.Z)(n.prototype,"tcf_string",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,M.Z)(n.prototype,"revision",[B.computed],Object.getOwnPropertyDescriptor(n.prototype,"revision"),n.prototype),(0,M.Z)(n.prototype,"revision_independent",[B.computed],Object.getOwnPropertyDescriptor(n.prototype,"revision_independent"),n.prototype),(0,M.Z)(n.prototype,"custom_bypass_readable",[B.computed],Object.getOwnPropertyDescriptor(n.prototype,"custom_bypass_readable"),n.prototype),n)},6398:function(e,t,r){r.d(t,{b:function(){return m}});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),h=r(8700),b=r(5408),d=r(4947),v=r(7821),y=r(6950),m=h.ClientCollection.annotate({path:"/rcb-cookie",singlePath:"/rcb-cookie/:id",namespace:"wp/v2",methods:[h.RouteHttpVerb.GET],request:b.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,b.W)({location:y.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}(h.AbstractPostCollection),(0,u.Z)(o.prototype,"sortedCookies",[v.computed],Object.getOwnPropertyDescriptor(o.prototype,"sortedCookies"),o.prototype),n=o))||n},9208:function(e,t,r){r.d(t,{w:function(){return m}});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),h=r(8700),b=r(5408),d=r(9323),v=r(7821),y=r(4876),m=h.ClientCollection.annotate({path:"/rcb-cookie-group",singlePath:"/rcb-cookie-group/:id",namespace:"wp/v2",methods:[h.RouteHttpVerb.GET],request:b.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,b.W)({location:y.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}(h.AbstractCategoryCollection),(0,u.Z)(o.prototype,"sortedGroups",[v.computed],Object.getOwnPropertyDescriptor(o.prototype,"sortedGroups"),o.prototype),n=o))||n},9323: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),h=r(9303),b=r(5450),d=r.n(b),v=r(8700),y=r(5408),m=r(6398),g=r(7821),Z=v.ClientModel.annotate({keyId:"id",namespace:"wp/v2",request:y.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 m.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,h.Z)(o.prototype,"cookies",[g.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,h.Z)(o.prototype,"fetchedAllCookies",[g.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,h.Z)(o.prototype,"cookiesCount",[g.computed],Object.getOwnPropertyDescriptor(o.prototype,"cookiesCount"),o.prototype),(0,h.Z)(o.prototype,"setName",[g.action],Object.getOwnPropertyDescriptor(o.prototype,"setName"),o.prototype),(0,h.Z)(o.prototype,"setDescription",[g.action],Object.getOwnPropertyDescriptor(o.prototype,"setDescription"),o.prototype),(0,h.Z)(o.prototype,"setOrder",[g.action],Object.getOwnPropertyDescriptor(o.prototype,"setOrder"),o.prototype),n=o))||n},4947:function(e,t,r){r.d(t,{U:function(){return k}});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),h=r(8067),b=r(3841),d=r(5952),v=r(9303),y=r(8700),m=r(5408),g=r(1974),Z=r(7821),w=r(4614),k=y.ClientModel.annotate({keyId:"id",namespace:"wp/v2",request:m.W,create:{path:"/rcb-cookie"},patch:{path:"/rcb-cookie/:id"},delete:{path:"/rcb-cookie/:id"}})((o=function(e){(0,b.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,w.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,h.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,h.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}(y.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},1974: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),h=r(7821),b=r(7419),d=r(5408),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,h.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:b.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,h.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",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),i=(0,u.Z)(n.prototype,"data",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,u.Z)(n.prototype,"attributes",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,u.Z)(n.prototype,"fullLogoUrl",[h.computed],Object.getOwnPropertyDescriptor(n.prototype,"fullLogoUrl"),n.prototype),n)},6714: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}},6172: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}},5277: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),h=r(4375),b=r(5408),d=r(5071),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,b.W)({location:h.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)},5482:function(e,t,r){r.d(t,{a:function(){return b}});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),h=r(9522),b=(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,h.r)(this.data.blockedUrl,50,"[...]")}},{key:"sourceUrlTruncate",get:function(){return(0,h.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)},1435: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),h=r(7821),b=r(5408),d=r(3506),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,h.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,b.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,h.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",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),i=(0,u.Z)(n.prototype,"data",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,u.Z)(n.prototype,"attributes",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,u.Z)(n.prototype,"identifier",[h.computed],Object.getOwnPropertyDescriptor(n.prototype,"identifier"),n.prototype),(0,u.Z)(n.prototype,"fullLogoUrl",[h.computed],Object.getOwnPropertyDescriptor(n.prototype,"fullLogoUrl"),n.prototype),(0,u.Z)(n.prototype,"inactive",[h.computed],Object.getOwnPropertyDescriptor(n.prototype,"inactive"),n.prototype),n)},9081: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)},3116: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)},3025:function(e,t,r){r.d(t,{C:function(){return h}});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(3055),h=(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)},597: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(5408),u=r(6215),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},6215:function(e,t,r){r.d(t,{S:function(){return k}});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),h=r(3841),b=r(5952),d=r(9303),v=r(8700),y=r(5408),m=r(7821),g=r(3025),Z=r(5311),w=r.n(Z),k=v.ClientModel.annotate({keyId:"id",namespace:"wp/v2",request:y.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,h.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,c.Z)(this,r),n=t.call(this,e,o),(0,s.Z)(n,"vendorModel",i,(0,u.Z)(n)),(0,m.reaction)((function(){return n.data.vendor}),(function(e){return(0,m.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,m.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 w().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",[m.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,d.Z)(o.prototype,"hasVendor",[m.computed],Object.getOwnPropertyDescriptor(o.prototype,"hasVendor"),o.prototype),(0,d.Z)(o.prototype,"restrictivePurposes",[m.computed],Object.getOwnPropertyDescriptor(o.prototype,"restrictivePurposes"),o.prototype),(0,d.Z)(o.prototype,"stats",[m.computed],Object.getOwnPropertyDescriptor(o.prototype,"stats"),o.prototype),(0,d.Z)(o.prototype,"setStatus",[m.action],Object.getOwnPropertyDescriptor(o.prototype,"setStatus"),o.prototype),(0,d.Z)(o.prototype,"setMeta",[m.action],Object.getOwnPropertyDescriptor(o.prototype,"setMeta"),o.prototype),n=o))||n},7052:function(e,t,r){r.d(t,{L:function(){return w}});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),h=r(9303),b=r(5450),d=r.n(b),v=r(7821),y=r(8700),m=r(6127),g=r(6410),Z=r(5408),w=(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:m.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}(y.BaseOptions),o=(0,h.Z)(n.prototype,"busyChecklist",[v.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),i=(0,h.Z)(n.prototype,"checklist",[v.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,h.Z)(n.prototype,"items",[v.computed],Object.getOwnPropertyDescriptor(n.prototype,"items"),n.prototype),(0,h.Z)(n.prototype,"completed",[v.computed],Object.getOwnPropertyDescriptor(n.prototype,"completed"),n.prototype),(0,h.Z)(n.prototype,"checkable",[v.computed],Object.getOwnPropertyDescriptor(n.prototype,"checkable"),n.prototype),(0,h.Z)(n.prototype,"done",[v.computed],Object.getOwnPropertyDescriptor(n.prototype,"done"),n.prototype),n)},6159:function(e,t,r){r.d(t,{v:function(){return I}});var n,o,i,a,s,c,l,u,p,f,h=r(38),b=r(6724),d=r(6762),v=r(3340),y=r(5558),m=r(3841),g=r(5952),Z=r(9303),w=r(5450),k=r.n(w),R=r(7821),C=r(8700),P=r(5408),S=r(5634),E=r(6778),_=r(3985),x=r(3480),O=r(7141),D=r(6565),z=r(6714),T=r(6172),I=(n=function(e){(0,m.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,b.Z)(n,"busyConsent",o,(0,y.Z)(n)),(0,b.Z)(n,"busyReferer",i,(0,y.Z)(n)),(0,b.Z)(n,"count",a,(0,y.Z)(n)),(0,b.Z)(n,"perPage",s,(0,y.Z)(n)),(0,b.Z)(n,"offset",c,(0,y.Z)(n)),(0,b.Z)(n,"pageCollection",l,(0,y.Z)(n)),(0,b.Z)(n,"revisions",u,(0,y.Z)(n)),(0,b.Z)(n,"revisionsIndependent",p,(0,y.Z)(n)),(0,b.Z)(n,"referer",f,(0,y.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)(k().mark((function e(){var t,r,n,o,i,a,s,c,l,u,p,f,b;return k().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,h.Z)(u);try{for(p.s();!(f=p.n()).done;)b=f.value,this.pageCollection.set(b.id,new D.y(b,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)(k().mark((function e(t){var r;return k().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)(k().mark((function e(t){var r;return k().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)(k().mark((function e(t){var r;return k().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)(k().mark((function e(){return k().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)},8069:function(e,t,r){r.d(t,{h:function(){return _}});var n,o,i,a,s,c,l,u,p,f,h=r(6724),b=r(6762),d=r(3340),v=r(9303),y=r(5450),m=r.n(y),g=r(7821),Z=r(9338),w=r(1974),k=r(9208),R=r(480),C=r(340),P=r(7539),S=r(4017),E=r(5408),_=(n=function(){function e(t){var r=this;(0,b.Z)(this,e),(0,h.Z)(this,"busy",o,this),(0,h.Z)(this,"groups",i,this),(0,h.Z)(this,"unassignedCookies",a,this),(0,h.Z)(this,"blockers",s,this),(0,h.Z)(this,"presetsBlocker",c,this),(0,h.Z)(this,"busyPresetsBlocker",l,this),(0,h.Z)(this,"presetsCookie",u,this),(0,h.Z)(this,"busyPresetsCookie",p,this),(0,h.Z)(this,"fetchedAllBlockers",f,this),this.rootStore=void 0,this.fetchGroups=(0,g.flow)(m().mark((function e(){return m().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)(m().mark((function e(){var t,r,n,o;return m().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)(m().mark((function e(){return m().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)(m().mark((function e(){var t,r,n,o,i;return m().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)(m().mark((function e(){var t,r,n,o,i;return m().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 w.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 k.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)},5619: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),h=r(6724),b=r(6762),d=r(3340),v=r(9303),y=r(5450),m=r.n(y),g=r(7821),Z=r(9444),w=r(5408),k=r(62),R=r(490),C=(n=function(){function e(t){(0,b.Z)(this,e),(0,h.Z)(this,"visible",o,this),(0,h.Z)(this,"animationVisible",i,this),(0,h.Z)(this,"individualPrivacyOpen",a,this),(0,h.Z)(this,"previewCheckboxActiveState",s,this),(0,h.Z)(this,"busyPresets",c,this),(0,h.Z)(this,"presets",l,this),this.rootStore=void 0,this.presetConstants=new Map,this.presetDefaults=new Map,this.debounceFromCustomize={},this.fetchPresets=(0,g.flow)(m().mark((function e(){var t,r,n,o,i,a,s,c,l,u,p,h,b;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busyPresets=!0,e.prev=1,e.next=4,(0,w.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,h=Object.keys(o);p<h.length;p++)b=h[p],this.presets.set(b,new k.p((0,f.Z)({id:b},o[b]),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)},5187: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(4614),o=r(5656),i=r(5619),a=r(8069),s=r(6159),c=r(3596),l=r(7052),u=r(4605),p=r(103)},5656:function(e,t,r){r.d(t,{a:function(){return ge}});var n,o,i,a,s,c,l,u,p,f,h,b,d,v,y,m,g,Z,w,k,R,C,P,S,E,_,x,O,D,z,T,I,A,M,B,N,j,V,U,F,G,W,L,H,q,Y,J,Q,X,$=r(2711),K=r(6724),ee=r(6762),te=r(3340),re=r(5558),ne=r(3841),oe=r(5952),ie=r(9303),ae=r(5450),se=r.n(ae),ce=r(7821),le=r(8700),ue=r(74),pe=r(939),fe=r(6799),he=r(8064),be=r(365),de=r(2391),ve=r(9001),ye=r(5408),me=r(7597),ge=(n=function(e){(0,ne.Z)(r,e);var t=(0,oe.Z)(r);function r(e){var n;return(0,ee.Z)(this,r),n=t.call(this),(0,K.Z)(n,"busySettings",o,(0,re.Z)(n)),(0,K.Z)(n,"busyCountryBypassUpdate",i,(0,re.Z)(n)),(0,K.Z)(n,"needsRevisionRetrigger",a,(0,re.Z)(n)),(0,K.Z)(n,"publicCookieCount",s,(0,re.Z)(n)),(0,K.Z)(n,"allCookieCount",c,(0,re.Z)(n)),(0,K.Z)(n,"allBlockerCount",l,(0,re.Z)(n)),(0,K.Z)(n,"allTcfVendorConfigurationCount",u,(0,re.Z)(n)),(0,K.Z)(n,"allScannerResultPresetsCount",p,(0,re.Z)(n)),(0,K.Z)(n,"allScannerResultExternalUrlsCount",f,(0,re.Z)(n)),(0,K.Z)(n,"cookieCounts",h,(0,re.Z)(n)),(0,K.Z)(n,"tcfVendorConfigurationCounts",b,(0,re.Z)(n)),(0,K.Z)(n,"hasGTM",d,(0,re.Z)(n)),(0,K.Z)(n,"hasMTM",v,(0,re.Z)(n)),(0,K.Z)(n,"contexts",y,(0,re.Z)(n)),(0,K.Z)(n,"dashboardMigration",m,(0,re.Z)(n)),(0,K.Z)(n,"bannerActive",g,(0,re.Z)(n)),(0,K.Z)(n,"blockerActive",Z,(0,re.Z)(n)),(0,K.Z)(n,"refreshSiteAfterConsent",w,(0,re.Z)(n)),(0,K.Z)(n,"imprintId",k,(0,re.Z)(n)),(0,K.Z)(n,"imprintExternalUrl",R,(0,re.Z)(n)),(0,K.Z)(n,"imprintIsExternalUrl",C,(0,re.Z)(n)),(0,K.Z)(n,"privacyPolicyId",P,(0,re.Z)(n)),(0,K.Z)(n,"privacyPolicyExternalUrl",S,(0,re.Z)(n)),(0,K.Z)(n,"privacyPolicyIsExternalUrl",E,(0,re.Z)(n)),(0,K.Z)(n,"hidePageIds",_,(0,re.Z)(n)),(0,K.Z)(n,"setCookiesViaManager",x,(0,re.Z)(n)),(0,K.Z)(n,"acceptAllForBots",O,(0,re.Z)(n)),(0,K.Z)(n,"respectDoNotTrack",D,(0,re.Z)(n)),(0,K.Z)(n,"cookieDuration",z,(0,re.Z)(n)),(0,K.Z)(n,"saveIp",T,(0,re.Z)(n)),(0,K.Z)(n,"ePrivacyUSA",I,(0,re.Z)(n)),(0,K.Z)(n,"ageNotice",A,(0,re.Z)(n)),(0,K.Z)(n,"consentForwarding",M,(0,re.Z)(n)),(0,K.Z)(n,"forwardTo",B,(0,re.Z)(n)),(0,K.Z)(n,"crossDomains",N,(0,re.Z)(n)),(0,K.Z)(n,"affiliateLink",j,(0,re.Z)(n)),(0,K.Z)(n,"affiliateLabelBehind",V,(0,re.Z)(n)),(0,K.Z)(n,"affiliateLabelDescription",U,(0,re.Z)(n)),(0,K.Z)(n,"countryBypass",F,(0,re.Z)(n)),(0,K.Z)(n,"countryBypassCountries",G,(0,re.Z)(n)),(0,K.Z)(n,"countryBypassType",W,(0,re.Z)(n)),(0,K.Z)(n,"countryBypassDbDownloadTime",L,(0,re.Z)(n)),(0,K.Z)(n,"tcf",H,(0,re.Z)(n)),(0,K.Z)(n,"tcfPublisherCc",q,(0,re.Z)(n)),(0,K.Z)(n,"tcfAcceptedTime",Y,(0,re.Z)(n)),(0,K.Z)(n,"tcfGvlDownloadTime",J,(0,re.Z)(n)),(0,K.Z)(n,"tcfScopeOfConsent",Q,(0,re.Z)(n)),(0,K.Z)(n,"others",X,(0,re.Z)(n)),n.pureSlug=void 0,n.pureSlugCamelCased=void 0,n.rootStore=void 0,n.fetchSettings=(0,ce.flow)(se().mark((function e(t){var r;return se().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,ye.W)({location:ue.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.refreshSiteAfterConsent=r["rcb-refresh-site-after-consent"],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.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,ce.flow)(se().mark((function e(t){var r,n,o,i,a,s,c,l,u,p,f,h,b,d,v,y,m,g,Z,w,k,R,C;return se().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.bannerActive,n=t.blockerActive,o=t.refreshSiteAfterConsent,i=t.imprintId,a=t.privacyPolicyId,s=t.hidePageIds,c=t.setCookiesViaManager,l=t.acceptAllForBots,u=t.respectDoNotTrack,p=t.cookieDuration,f=t.saveIp,h=t.ePrivacyUSA,b=t.ageNotice,d=t.consentForwarding,v=t.forwardTo,y=t.crossDomains,t.affiliateLink,t.affiliateLabelBehind,t.affiliateLabelDescription,m=t.countryBypass,g=t.countryBypassCountries,Z=t.countryBypassType,w=t.tcf,k=t.tcfPublisherCc,R=t.tcfScopeOfConsent,this.busySettings=!0,e.prev=2,e.next=5,(0,ye.W)({location:pe.J,request:(0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)({},void 0===r?{}:{"rcb-banner-active":r}),void 0===n?{}:{"rcb-blocker-active":n}),void 0===o?{}:{"rcb-refresh-site-after-consent":o}),void 0===i?{}:{"rcb-banner-legal-imprint":i}),void 0===a?{}:{"rcb-banner-legal-privacy-policy":a}),void 0===s?{}:{"rcb-hide-page-ids":s.join(",")}),void 0===c?{}:{"rcb-set-cookies-via-manager":c}),void 0===l?{}:{"rcb-accept-all-for-bots":l}),void 0===u?{}:{"rcb-respect-do-not-track":u}),void 0===p?{}:{"rcb-cookie-duration":p}),void 0===f?{}:{"rcb-save-ip":f}),void 0===h?{}:{"rcb-eprivacy-usa":h}),void 0===b?{}:{"rcb-age-notice":b}),void 0===d?{}:{"rcb-consent-forwarding":d}),void 0===v?{}:{"rcb-forward-to":v.join("|")}),void 0===y?{}:{"rcb-cross-domains":y}),void 0===m?{}:{"rcb-country-bypass":m}),void 0===g?{}:{"rcb-country-bypass-countries":g.join(",")}),void 0===Z?{}:{"rcb-country-bypass-type":Z}),void 0===w?{}:{"rcb-tcf":w}),void 0===k?{}:{"rcb-tcf-publisher-cc":k}),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,ce.flow)(se().mark((function e(){return se().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,ye.W)({location:fe.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,ce.flow)(se().mark((function e(t){return se().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,ye.W)({location:he.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,ce.flow)(se().mark((function e(t){return se().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,ye.W)({location:me.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,ce.flow)(se().mark((function e(){return se().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,this.others.isConfigProNoticeVisible=!1,e.next=4,(0,ye.W)({location:be.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,ce.flow)(se().mark((function e(){var t;return se().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,ye.W)({location:de.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.updateCountryBypassDatabase=(0,ce.flow)(se().mark((function e(){var t,r;return se().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busyCountryBypassUpdate=!0,e.prev=1,e.next=4,(0,ye.W)({location:ve._});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=le.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=le.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,ce.runInAction)((function(){return Object.assign((0,re.Z)(n),window[n.pureSlugCamelCased])})),n}return(0,te.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.tcf_vendor_configuration_counts,h=e.dashboardMigration;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.tcfVendorConfigurationCounts=f,this.contexts=t,this.dashboardMigration=h}},{key:"setShowLicenseFormImmediate",value:function(e,t){this.others.showLicenseFormImmediate=e,this.others.isLicensed=t}}]),r}(le.BaseOptions),o=(0,ie.Z)(n.prototype,"busySettings",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),i=(0,ie.Z)(n.prototype,"busyCountryBypassUpdate",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),a=(0,ie.Z)(n.prototype,"needsRevisionRetrigger",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),s=(0,ie.Z)(n.prototype,"publicCookieCount",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),c=(0,ie.Z)(n.prototype,"allCookieCount",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),l=(0,ie.Z)(n.prototype,"allBlockerCount",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),u=(0,ie.Z)(n.prototype,"allTcfVendorConfigurationCount",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),p=(0,ie.Z)(n.prototype,"allScannerResultPresetsCount",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),f=(0,ie.Z)(n.prototype,"allScannerResultExternalUrlsCount",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),h=(0,ie.Z)(n.prototype,"cookieCounts",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return{draft:0,private:0,publish:0}}}),b=(0,ie.Z)(n.prototype,"tcfVendorConfigurationCounts",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=(0,ie.Z)(n.prototype,"hasGTM",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),v=(0,ie.Z)(n.prototype,"hasMTM",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),y=(0,ie.Z)(n.prototype,"contexts",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return{"":""}}}),m=(0,ie.Z)(n.prototype,"dashboardMigration",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=(0,ie.Z)(n.prototype,"bannerActive",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),Z=(0,ie.Z)(n.prototype,"blockerActive",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),w=(0,ie.Z)(n.prototype,"refreshSiteAfterConsent",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),k=(0,ie.Z)(n.prototype,"imprintId",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),R=(0,ie.Z)(n.prototype,"imprintExternalUrl",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=(0,ie.Z)(n.prototype,"imprintIsExternalUrl",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=(0,ie.Z)(n.prototype,"privacyPolicyId",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=(0,ie.Z)(n.prototype,"privacyPolicyExternalUrl",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,ie.Z)(n.prototype,"privacyPolicyIsExternalUrl",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=(0,ie.Z)(n.prototype,"hidePageIds",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),x=(0,ie.Z)(n.prototype,"setCookiesViaManager",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=(0,ie.Z)(n.prototype,"acceptAllForBots",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),D=(0,ie.Z)(n.prototype,"respectDoNotTrack",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),z=(0,ie.Z)(n.prototype,"cookieDuration",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=(0,ie.Z)(n.prototype,"saveIp",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=(0,ie.Z)(n.prototype,"ePrivacyUSA",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),A=(0,ie.Z)(n.prototype,"ageNotice",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),M=(0,ie.Z)(n.prototype,"consentForwarding",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),B=(0,ie.Z)(n.prototype,"forwardTo",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),N=(0,ie.Z)(n.prototype,"crossDomains",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),j=(0,ie.Z)(n.prototype,"affiliateLink",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),V=(0,ie.Z)(n.prototype,"affiliateLabelBehind",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),U=(0,ie.Z)(n.prototype,"affiliateLabelDescription",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),F=(0,ie.Z)(n.prototype,"countryBypass",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),G=(0,ie.Z)(n.prototype,"countryBypassCountries",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),W=(0,ie.Z)(n.prototype,"countryBypassType",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),L=(0,ie.Z)(n.prototype,"countryBypassDbDownloadTime",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),H=(0,ie.Z)(n.prototype,"tcf",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),q=(0,ie.Z)(n.prototype,"tcfPublisherCc",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Y=(0,ie.Z)(n.prototype,"tcfAcceptedTime",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),J=(0,ie.Z)(n.prototype,"tcfGvlDownloadTime",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Q=(0,ie.Z)(n.prototype,"tcfScopeOfConsent",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),X=(0,ie.Z)(n.prototype,"others",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,ie.Z)(n.prototype,"isOnlyRcbCookieCreated",[ce.computed],Object.getOwnPropertyDescriptor(n.prototype,"isOnlyRcbCookieCreated"),n.prototype),(0,ie.Z)(n.prototype,"areSettingsFetched",[ce.computed],Object.getOwnPropertyDescriptor(n.prototype,"areSettingsFetched"),n.prototype),(0,ie.Z)(n.prototype,"setFromCurrentRevision",[ce.action],Object.getOwnPropertyDescriptor(n.prototype,"setFromCurrentRevision"),n.prototype),(0,ie.Z)(n.prototype,"setShowLicenseFormImmediate",[ce.action],Object.getOwnPropertyDescriptor(n.prototype,"setShowLicenseFormImmediate"),n.prototype),n)},103:function(e,t,r){r.d(t,{C:function(){return D}});var n,o,i,a,s,c,l,u,p,f,h=r(7870),b=r(38),d=r(6724),v=r(6762),y=r(3340),m=r(9303),g=r(5450),Z=r.n(g),w=r(7821),k=r(5277),R=r(5482),C=r(1435),P=r(5408),S=r(102),E=r(9977),_=r(4788),x=r(6964),O=r(4531),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,w.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,w.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,w.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,w.flow)(Z().mark((function e(t){var r,n,o,i,a,s,c,l,u,p,f,h;return Z().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t instanceof k.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,b.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++)h=f[p],a.set(h.id,new R.a(h,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,w.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,y.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,h.Z)(this.resultPresets.values()),(0,h.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,b.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,b.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 k.o(r[c],this))}}}]),e}(),o=(0,m.Z)(n.prototype,"resultPresets",[w.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),i=(0,m.Z)(n.prototype,"busyResultPresets",[w.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),a=(0,m.Z)(n.prototype,"fetchedAllResultPresets",[w.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),s=(0,m.Z)(n.prototype,"resultExternalUrls",[w.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),c=(0,m.Z)(n.prototype,"resultAllExternalUrls",[w.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),l=(0,m.Z)(n.prototype,"busyExternalUrls",[w.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),u=(0,m.Z)(n.prototype,"fetchedAllResultExternalUrls",[w.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),p=(0,m.Z)(n.prototype,"busyMarkup",[w.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),f=(0,m.Z)(n.prototype,"resultMarkup",[w.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),(0,m.Z)(n.prototype,"sortedExternalUrls",[w.computed],Object.getOwnPropertyDescriptor(n.prototype,"sortedExternalUrls"),n.prototype),(0,m.Z)(n.prototype,"presetsCount",[w.computed],Object.getOwnPropertyDescriptor(n.prototype,"presetsCount"),n.prototype),(0,m.Z)(n.prototype,"externalUrlsCount",[w.computed],Object.getOwnPropertyDescriptor(n.prototype,"externalUrlsCount"),n.prototype),(0,m.Z)(n.prototype,"canShowResults",[w.computed],Object.getOwnPropertyDescriptor(n.prototype,"canShowResults"),n.prototype),(0,m.Z)(n.prototype,"foundScanResultsCount",[w.computed],Object.getOwnPropertyDescriptor(n.prototype,"foundScanResultsCount"),n.prototype),(0,m.Z)(n.prototype,"needsAttentionCount",[w.computed],Object.getOwnPropertyDescriptor(n.prototype,"needsAttentionCount"),n.prototype),(0,m.Z)(n.prototype,"resultPresetsFromResponse",[w.action],Object.getOwnPropertyDescriptor(n.prototype,"resultPresetsFromResponse"),n.prototype),(0,m.Z)(n.prototype,"resultExternalUrlsFromResponse",[w.action],Object.getOwnPropertyDescriptor(n.prototype,"resultExternalUrlsFromResponse"),n.prototype),n)},3596:function(e,t,r){r.d(t,{e:function(){return m}});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),h=r.n(f),b=r(7821),d=r(8700),v=r(8488),y=r.n(v),m=(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=b.observable.object({main:void 0,buttonsClicked:void 0,customBypass:void 0},{},{deep:!1}),n.filters=b.observable.object({dates:void 0,context:void 0},{},{deep:!1}),n.fetchMain=(0,b.flow)(h().mark((function e(){return h().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,b.flow)(h().mark((function e(){return h().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,b.flow)(h().mark((function e(){return h().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,b.runInAction)((function(){n.filters.dates=[y()().subtract(30,"days"),y()()],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",[b.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return{main:!1,buttonClicked:!1,customBypass:!1}}}),(0,p.Z)(n.prototype,"applyDates",[b.action],Object.getOwnPropertyDescriptor(n.prototype,"applyDates"),n.prototype),(0,p.Z)(n.prototype,"applyContext",[b.action],Object.getOwnPropertyDescriptor(n.prototype,"applyContext"),n.prototype),n)},4614: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(5656),c=r(5619),l=r(8069),u=r(6159),p=r(3596),f=r(7052),h=r(4605),b=r(103);(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 h.z(this),this.scannerStore=new b.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()}},4605:function(e,t,r){r.d(t,{z:function(){return M}});var n,o,i,a,s,c,l,u,p,f,h,b,d,v,y=r(6724),m=r(6762),g=r(3340),Z=r(5558),w=r(3841),k=r(5952),R=r(9303),C=r(5450),P=r.n(C),S=r(7821),E=r(8700),_=r(4137),x=r(184),O=r(6692),D=r(5408),z=r(3025),T=r(3116),I=r(9081),A=r(597),M=(n=function(e){(0,w.Z)(r,e);var t=(0,k.Z)(r);function r(e){var n;return(0,m.Z)(this,r),n=t.call(this),(0,y.Z)(n,"busyGvl",o,(0,Z.Z)(n)),(0,y.Z)(n,"busyVendors",i,(0,Z.Z)(n)),(0,y.Z)(n,"busyDeclarations",a,(0,Z.Z)(n)),(0,y.Z)(n,"vendorConfigurations",s,(0,Z.Z)(n)),(0,y.Z)(n,"fetchedAllVendorConfigurations",c,(0,Z.Z)(n)),(0,y.Z)(n,"vendorListVersion",l,(0,Z.Z)(n)),(0,y.Z)(n,"gvlSpecificationVersion",u,(0,Z.Z)(n)),(0,y.Z)(n,"tcfPolicyVersion",p,(0,Z.Z)(n)),(0,y.Z)(n,"vendors",f,(0,Z.Z)(n)),(0,y.Z)(n,"purposes",h,(0,Z.Z)(n)),(0,y.Z)(n,"specialPurposes",b,(0,Z.Z)(n)),(0,y.Z)(n,"features",d,(0,Z.Z)(n)),(0,y.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,h,b,d,v,y,m,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++)h=f[p],this.specialPurposes.set(h,new T.v(i[h],!0,this));for(b=0,d=Object.keys(a);b<d.length;b++)v=d[b],this.features.set(v,new I.i(a[v],!1,this));for(y=0,m=Object.keys(s);y<m.length;y++)g=m[y],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 A.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}}),h=(0,R.Z)(n.prototype,"purposes",[S.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),b=(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)},3537:function(e,t,r){r.d(t,{u:function(){return n},b:function(){return o}});var n="rcb-scan",o="rcb-automatic-scan-starter"},5194: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}})},6703:function(e,t,r){r.d(t,{u:function(){return o}});var n=r(5194);function o(){return(0,n.m)().others}},5071: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)}},8081: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}))}},5408: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)}},2200: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}})},9522: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}})},6127:function(e,t,r){r.d(t,{g:function(){return n}});var n={path:"/checklist",method:r(8700).RouteHttpVerb.GET}},6410:function(e,t,r){r.d(t,{s:function(){return n}});var n={path:"/checklist/:id",method:r(8700).RouteHttpVerb.PUT}},7141:function(e,t,r){r.d(t,{O:function(){return n}});var n={path:"/consent/all",method:r(8700).RouteHttpVerb.DELETE}},5634:function(e,t,r){r.d(t,{c:function(){return n}});var n={path:"/consent/all",method:r(8700).RouteHttpVerb.GET}},3480:function(e,t,r){r.d(t,{q:function(){return n}});var n={path:"/consent/referer",method:r(8700).RouteHttpVerb.GET}},4876:function(e,t,r){r.d(t,{B:function(){return n}});var n={path:"/cookie-groups/order",method:r(8700).RouteHttpVerb.PUT}},340:function(e,t,r){r.d(t,{p:function(){return n}});var n={path:"/cookies/unassigned",method:r(8700).RouteHttpVerb.GET}},6950:function(e,t,r){r.d(t,{I:function(){return n}});var n={path:"/cookies/order",method:r(8700).RouteHttpVerb.PUT}},9001:function(e,t,r){r.d(t,{_:function(){return n}});var n={path:"/country-bypass/database",method:r(8700).RouteHttpVerb.PUT}},9864:function(e,t,r){r.d(t,{V:function(){return n}});var n={path:"/export",method:r(8700).RouteHttpVerb.GET}},9450:function(e,t,r){r.d(t,{Q:function(){return n}});var n={path:"/export/consents",method:r(8700).RouteHttpVerb.GET}},3839:function(e,t,r){r.d(t,{V:function(){return n}});var n={path:"/forward/cookie/:slug",method:r(8700).RouteHttpVerb.GET}},4773:function(e,t,r){r.d(t,{A:function(){return n}});var n={path:"/forward/endpoints",method:r(8700).RouteHttpVerb.GET}},6879:function(e,t,r){r.d(t,{H:function(){return n}});var n={path:"/import",method:r(8700).RouteHttpVerb.POST}},9332: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 k},aY:function(){return N},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 w.H},nQ:function(){return O.n},oW:function(){return U.o},nX:function(){return V.n},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 h.G},a4:function(){return b.a},Z1:function(){return D.Z},TB:function(){return z.T},kv:function(){return F.k},ME:function(){return H.M},Ce:function(){return L.C},MQ:function(){return W.M},$5:function(){return q.$},eO:function(){return G.e},$Q:function(){return g},gh:function(){return m},BV:function(){return y},Y3:function(){return B.Y},yR:function(){return A.y},fs:function(){return M.f},g3:function(){return n.g},J3:function(){return o.J}});var n=r(74),o=r(939),i=r(9444),a=r(7539),s=r(4017),c=r(4876),l=r(6950),u=r(8700),p={path:"/consent",method:u.RouteHttpVerb.POST},f={path:"/consent",method:u.RouteHttpVerb.GET},h=r(6799),b=r(8064),d=r(5634),v=r(7141),y={path:"/stats/main",method:u.RouteHttpVerb.GET},m={path:"/stats/customBypass",method:u.RouteHttpVerb.GET},g={path:"/stats/buttonsClicked",method:u.RouteHttpVerb.GET},Z=r(9864),w=r(6879),k={path:"/consent/clear",method:u.RouteHttpVerb.DELETE},R=r(9450),C=r(6127),P=r(6410),S=r(340),E=r(4773),_={path:"/consent/forward",method:u.RouteHttpVerb.POST},x=r(3839),O=r(365),D=r(6778),z=r(3985),T=r(3506),I=r(7419),A=r(6692),M=r(184),B=r(4137),N={path:"/consent/dynamic-predecision",method:u.RouteHttpVerb.GET},j=r(9001),V=r(1693),U=r(2391),F=r(102),G=r(9977),W=r(4788),L=r(4375),H=r(6964),q=r(4531),Y=r(3480)},365:function(e,t,r){r.d(t,{n:function(){return n}});var n={path:"/dismiss-config-page-pro-notice",method:r(8700).RouteHttpVerb.DELETE}},2391:function(e,t,r){r.d(t,{o:function(){return n}});var n={path:"/migration/:migration",method:r(8700).RouteHttpVerb.DELETE}},1693:function(e,t,r){r.d(t,{n:function(){return n}});var n={path:"/migration/:migration/:action",method:r(8700).RouteHttpVerb.POST}},7597:function(e,t,r){r.d(t,{C:function(){return n}});var n={path:"/modal-hint",method:r(8700).RouteHttpVerb.PUT}},9444:function(e,t,r){r.d(t,{t:function(){return n}});var n={path:"/presets/banner",method:r(8700).RouteHttpVerb.GET}},7539:function(e,t,r){r.d(t,{W:function(){return n}});var n={path:"/presets/blocker",method:r(8700).RouteHttpVerb.GET}},3506:function(e,t,r){r.d(t,{N:function(){return n}});var n={path:"/presets/blocker/:identifier",method:r(8700).RouteHttpVerb.GET}},4017:function(e,t,r){r.d(t,{z:function(){return n}});var n={path:"/presets/cookies",method:r(8700).RouteHttpVerb.GET}},7419:function(e,t,r){r.d(t,{t:function(){return n}});var n={path:"/presets/cookies/:identifier",method:r(8700).RouteHttpVerb.GET}},6778:function(e,t,r){r.d(t,{Z:function(){return n}});var n={path:"/revision/:hash",method:r(8700).RouteHttpVerb.GET}},6799:function(e,t,r){r.d(t,{G:function(){return n}});var n={path:"/revision/current",method:r(8700).RouteHttpVerb.GET}},8064:function(e,t,r){r.d(t,{a:function(){return n}});var n={path:"/revision/current",method:r(8700).RouteHttpVerb.PUT}},3985:function(e,t,r){r.d(t,{T:function(){return n}});var n={path:"/revision/independent/:hash",method:r(8700).RouteHttpVerb.GET}},102:function(e,t,r){r.d(t,{k:function(){return n}});var n={path:"/scanner/queue",method:r(8700).RouteHttpVerb.POST}},6964:function(e,t,r){r.d(t,{M:function(){return n}});var n={path:"/scanner/result/externals/:type/:identifier",method:r(8700).RouteHttpVerb.GET}},4788:function(e,t,r){r.d(t,{M:function(){return n}});var n={path:"/scanner/result/externals",method:r(8700).RouteHttpVerb.GET}},4375:function(e,t,r){r.d(t,{C:function(){return n}});var n={path:"/scanner/result/externals/:host",method:r(8700).RouteHttpVerb.PUT}},4531:function(e,t,r){r.d(t,{$:function(){return n}});var n={path:"/scanner/result/markup/:id",method:r(8700).RouteHttpVerb.GET}},9977:function(e,t,r){r.d(t,{e:function(){return n}});var n={path:"/scanner/result/presets",method:r(8700).RouteHttpVerb.GET}},4137:function(e,t,r){r.d(t,{Y:function(){return n}});var n={path:"/tcf/declarations",method:r(8700).RouteHttpVerb.GET}},6692:function(e,t,r){r.d(t,{y:function(){return n}});var n={path:"/tcf/gvl",method:r(8700).RouteHttpVerb.PUT}},184:function(e,t,r){r.d(t,{f:function(){return n}});var n={path:"/tcf/vendors",method:r(8700).RouteHttpVerb.GET}},74:function(e,t,r){r.d(t,{g:function(){return n}});var n={path:"/settings",namespace:"wp/v2",method:r(8700).RouteHttpVerb.GET}},939:function(e,t,r){r.d(t,{J:function(){return n}});var n={path:"/settings",namespace:"wp/v2",method:r(8700).RouteHttpVerb.PATCH}},9738:function(){},1696: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:"3b4fe157c7e12ac410f7",138:"a24289d31884d8ce0880",184:"4b0a625df34fbb327135",193:"ce7e07933bcbf069b690",296:"8b20000a1adc023e1b28",322:"c6c2710d6e50430499cd",357:"2605a6782399361261ee",379:"605886044d2ba559dae2",411:"49967c6ebf6317fa7624",440:"abce2a866d4b5996c6bb",478:"250a3fbc66198cd1b7ed",547:"7b5925702aa799ec461c",625:"4da355ef33562f29add1",717:"730891213175f653cc90",718:"badf214fad5e8955f90e",728:"91d02ab85ad640c1bab5",768:"a851e276e36dcd2cb64c",784:"3e247b3a85b948fd2241",795:"ef626740f77410656823",813:"db259738faaaada66048",914:"2979ca58d101a6abfbf5",930:"2f5a69377c784e62c401",954:"07834ea3d146ab79e80d"}[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(h);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)},h=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(3162)}));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={3055: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={}))},4184: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}})},3162: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},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 w.L_},ConsentStore:function(){return w.v},CookieStore:function(){return w.hc},CustomizeBannerStore:function(){return w.WS},OptionStore:function(){return w.aZ},RootStore:function(){return w.My},ScannerStore:function(){return w.Cu},StatsStore:function(){return w.et},TcfStore:function(){return w.z},useStores:function(){return w.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(4614),p=r(1312),f=(r(1696),r(9738),r(8488)),h=r.n(f),b=r(8700),d=r(5408),v={};for(var y in b)"default"!==y&&(v[y]=function(e){return b[e]}.bind(0,y));r.d(t,v);var m,g,Z=r(9332),w=r(5187);r.p=(0,b.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===b.handleCorrupRestApi||void 0===b.handleCorrupRestApi||(0,b.handleCorrupRestApi)((m={},(0,i.Z)(m,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)(m,"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)})),m)),o.ZP.config({prefixCls:"rcb-antd"}),n.ZP.config({top:50});var k=document.getElementById("".concat(u.M.get.optionStore.slug,"-component"));k&&(0,l.render)(React.createElement(o.ZP,{prefixCls:"rcb-antd",locale:{locale:h().locale()}},React.createElement(u.M.StoreProvider,null,React.createElement(p.K,null))),k)},2142: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(5071),f=r(1857),h=r(5406),b=r(8719),d=r(3058),v=r(4614),y=r(3289),m=r(4522),g=(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,g=!(0,v.m)().optionStore.others.isPro&&l,Z=null;if("scanner"===t){var w=(0,y.p)(),k=w.percent,R=w.remaining,C=w.currentJob;R>0&&k>0&&(null==C?void 0:C.group_position)>0&&(Z=React.createElement(a.Z,null,(0,p.__)("Currently scanning (%d %%)",k)))}return React.createElement("div",{style:{margin:"5px 0"}},React.createElement(f.Z,{title:r&&o},React.createElement("span",null,g?React.createElement(h.Z,{style:{color:"#7ec8ec"}}):r?React.createElement(b.Z,{style:{color:"#52c41a"}}):React.createElement(d.Z,{style:{color:"#e2e2e2"}})," ",React.createElement("span",{style:{textDecoration:r?"line-through":void 0,fontWeight:"bold"}},n),!!i&&!!s&&React.createElement(React.Fragment,null,"  •  ",React.createElement("a",{href:i,target:c,rel:"noreferrer",onClick:u},s)))),g&&"get-pro"!==t&&React.createElement(React.Fragment,null," ",React.createElement(a.Z,{color:m.k},(0,p.__)("Needs PRO"))),!!Z&&React.createElement(React.Fragment,null," ",Z),!!o&&!r&&React.createElement("p",{className:"description",style:{paddingLeft:17}},o))})),Z=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,h=u.items,b=u.completed,y=u.checkable,m=u.done,w=u.checklist.overdue,k=(0,l.useState)("boolean"==typeof r.showHidden?r.showHidden:!m),R=(0,s.Z)(k,2),C=R[0],P=R[1];return React.createElement(n.Z,{spinning:f},React.createElement(o.Z,{direction:"vertical",size:"large"},w&&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,m&&(C?React.createElement(a.Z,{icon:React.createElement(Z.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",b.length>y.length?y.length:b.length,y.length))),h.map((function(e){var r=e.id,n=(0,c.Z)(e,["id"]);return!C&&n.checked?null:React.createElement(g,(0,i.Z)({key:r,id:r},n,{onLinkClick:function(e){["get-pro"].indexOf(r)>-1&&u.toggleChecklistItem(r,!0),null==t||t(e)}}))})))))}))},294:function(e,t,r){r.d(t,{DR:function(){return y},Gh:function(){return d},Ki:function(){return v}});var n=r(2519),o=r(8920),i=r(9943),a=r(6315),s=r(6478),c=r(7363),l=r(3554),u=r(5071),p=r(994),f=r(8042),h=r(4342),b=r(4614),d="Google Tag Manager",v="Matomo Tag Manager",y=(0,l.Pi)((function(){var e=(0,b.m)().optionStore,t=e.refreshSiteAfterConsent,r=e.imprintExternalUrl,l=e.imprintIsExternalUrl,y=e.privacyPolicyExternalUrl,m=e.privacyPolicyIsExternalUrl,g=e.others,Z=g.isPro,w=g.customizeBannerUrl,k=(0,c.useCallback)((function(e){return"".concat(w.replace(/autofocus\[panel]=[\w-]+/,"autofocus[section]=".concat(e)),"&return=").concat(encodeURIComponent(window.location.href))}),[w])("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.__)("Refresh site after consent"),style:{display:t?void 0:"none"}},React.createElement(a.Z.Item,{name:"refreshSiteAfterConsent",noStyle:!0},React.createElement(o.ZP.Group,null,React.createElement(o.ZP.Button,{value:!1},(0,u.__)("Do not refresh")),React.createElement(o.ZP.Button,{value:!0},(0,u.__)("Refresh")))),React.createElement("p",{className:"description"},(0,u.__)("Depending on how services are loaded, e.g. by other plugins on your website, it may be necessary to reload the website after the user has consented to the setting of cookies (only necessary in very rare cases)."))),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}},l?React.createElement(n.Z,{value:r,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(n.Z,{value:y,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:!Z,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(o.ZP.Group,null,React.createElement(o.ZP.Button,{disabled:!Z,value:"none"},(0,u.__)("HTML/JavaScript Snippet")),React.createElement(o.ZP.Button,{disabled:!Z,value:"googleTagManager"},(0,u.__)("%s Event",d)),React.createElement(o.ZP.Button,{disabled:!Z,value:"matomoTagManager"},(0,u.__)("%s Event",v)))),React.createElement("div",{style:{margin:"5px 0px 0px"}},React.createElement(h.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)}))))}))},1312: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(5071),u=r(4614),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")))))})),h=(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.")))})),b=r(6703),d=(0,s.Pi)((function(){return!!(0,b.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"))))})),y=r(2200),m=function(){var e=(0,c.useHistory)().listen;return(0,a.useEffect)((function(){var t=e((function(){(0,y.X)(0)}));return function(){t()}}),[e]),null},g=r(294),Z=r(6069),w=r(3058),k=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(k.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(2142),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,h=s.others.customizeBannerUrl,b=s.publicUrl,d=p.completed,v=p.checkable,y=p.done;(0,a.useEffect)((function(){p.fetchChecklist()}),[]);var m=(0,a.useCallback)((function(e){window.location.href="".concat(h,"&return=").concat(encodeURIComponent(window.location.href)),e.preventDefault()}),[]),g=(0,a.useCallback)((function(){n(!0),p.fetchChecklist()}),[n]),k=(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(b,"images/logos/real-cookie-banner.svg")}),React.createElement("a",{className:"page-title-action",href:"#",onClick:m},(0,l.__)("Customize banner")),React.createElement(R,null),!y&&"/"!==f&&React.createElement(React.Fragment,null,React.createElement("a",{className:"page-title-action",style:{color:"#52c41a",background:"#f6ffed",borderColor:"#85af65"},onClick:g},React.createElement(w.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:k,okButtonProps:{style:{display:"none"}},cancelText:(0,l.__)("Close"),width:800},React.createElement(C.b,{showHidden:!0,onLinkClick:k}))),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(3289),O=r(6),D=r(3537),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(728),r.e(914),r.e(411),r.e(379)]).then(r.bind(r,6968)).then((function(e){var t=e.DashboardCards;return T("dashboard",React.createElement(t,null))}))})),A=(0,a.lazy)((function(){return Promise.all([r.e(440),r.e(768)]).then(r.bind(r,8386)).then((function(e){var t=e.SettingsForm;return T("settings",React.createElement(t,null))}))})),M=(0,a.lazy)((function(){return Promise.all([r.e(440),r.e(728),r.e(813),r.e(930),r.e(547),r.e(795),r.e(193),r.e(784),r.e(138),r.e(3)]).then(r.bind(r,6263)).then((function(e){var t=e.ScannerRouter;return T("scanner",React.createElement(t,null))}))})),B=(0,a.lazy)((function(){return Promise.all([r.e(440),r.e(728),r.e(813),r.e(930),r.e(547),r.e(717),r.e(138),r.e(296),r.e(718)]).then(r.bind(r,2524)).then((function(e){var t=e.CookieGroupsTabRouter;return T("cookies",React.createElement(t,null))}))})),N=(0,a.lazy)((function(){return Promise.all([r.e(440),r.e(728),r.e(813),r.e(914),r.e(930),r.e(795),r.e(625)]).then(r.bind(r,4386)).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(728),r.e(813),r.e(547),r.e(138),r.e(296),r.e(478)]).then(r.bind(r,4362)).then((function(e){var t=e.BlockerRouter;return T("blocker",React.createElement(t,null))}))})),V=(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,5484)).then((function(e){var t=e.ImportExportCards;return T("import",React.createElement(t,null))}))})),U=(0,a.lazy)((function(){return Promise.all([r.e(440),r.e(322)]).then(r.bind(r,5646)).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)(),b=p.optionStore,y=p.checklistStore,Z=b.others,w=Z.showLicenseFormImmediate,k=(0,o.Z)(Z.colorScheme,3)[2];return(0,a.useLayoutEffect)((function(){b.fetchSettings();var e=function(){y.fetchChecklist()},t="".concat(O.JOB_DONE_EVENT_PREFIX).concat(D.b);return document.addEventListener(t,e),function(){document.removeEventListener(t,e)}}),[]),w?React.createElement(a.Suspense,{fallback:React.createElement(i.Z,{spinning:!0,style:z})},React.createElement(U,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:k}},(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(h,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(m,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?"},b.areSettingsFetched?React.createElement(A,null):null),React.createElement(c.Route,{path:"/scanner"},React.createElement(M,null)),React.createElement(c.Route,{path:"/cookies/:cookieGroup?"},React.createElement(B,null)),React.createElement(c.Route,{path:"/consent/:tab?"},React.createElement(N,null)),React.createElement(c.Route,{path:"/blocker"},React.createElement(j,null)),React.createElement(c.Route,{path:"/import"},React.createElement(V,null)),React.createElement(c.Route,{path:"/licensing"},React.createElement(U,null)))),React.createElement(E,null))}))},4342:function(e,t,r){r.d(t,{r:function(){return s}});var n=r(6107),o=r(2711),i=r(7088),a=r(5071),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)}},994:function(e,t,r){r.d(t,{m:function(){return y}});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(6703),f=r(5408),h=r(5071),b=r(2936),d=r(8700),v=r(4184),y=function(e){var t=e.postType,r=e.postStatus,c=void 0===r?["draft","publish","private"]:r,y=e.perPage,m=void 0===y?10:y,g=e.value,Z=e.multiple,w=e.disabled,k=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],A=T[1],M=(0,u.useState)(!1),B=(0,s.Z)(M,2),N=B[0],j=B[1],V=(0,u.useState)([]),U=(0,s.Z)(V,2),F=U[0],G=U[1],W=(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:k?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,b.N)(O,""===O?0:800,(function(e){!1!==e&&W({search:e,per_page:e.length?50:m})}),(function(e){!1!==e&&j(!0),G([])})),(0,u.useEffect)((function(){(I>0||Array.isArray(I)&&I.length>0)&&W({include:Array.isArray(I)?I:[I]})}),[]),(0,u.useEffect)((function(){JSON.stringify(I)!==JSON.stringify(g)&&(g>0||Array.isArray(g)&&g.length>0)&&(A(g),W({include:Array.isArray(g)?g:[g]}))}),[g,I]),React.createElement(n.Z,{mode:Z?"multiple":void 0,disabled:w,showSearch:!0,value:I,placeholder:(0,h.__)("Search..."),notFoundContent:N?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;A(t),null==R||R(t)},filterOption:!1,loading:N},!Z&&!N&&React.createElement(n.Z.Option,{value:0},(0,h.__)("— 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})))}},2579:function(e,t,r){r.d(t,{B:function(){return p}});var n=r(6069),o=r(7228),i=r(7363),a=r(9635),s=r(6703),c=r(5071),l=r(8081),u=r(5829),p=function(e){var t=e.visible,r=void 0!==t&&t,p=e.showHints,f=void 0===p||p,h=e.title,b=e.testDrive,d=void 0!==b&&b,v=e.assetName,y=e.description,m=e.feature,g=e.onClose,Z=e.inContainer,w=e.inContainerElement,k=(0,s.u)(),R=k.proUrl,C=k.hints,P=(0,i.useState)(),S=(0,o.Z)(P,2),E=S[0],_=S[1],x=(0,i.useCallback)((function(){window.open("".concat(R,"&feature=").concat(m),"_blank").focus(),null==g||g()}),[g]);(0,i.useEffect)((function(){Z&&E&&(null==E?void 0:E.parentElement.parentElement.previousElementSibling).removeAttribute("tabIndex")}),[E]);var O=null==C?void 0:C.proDialog;return Z&&!w?null:React.createElement(n.Z,{visible:!!Z||r,title:React.createElement("span",null,React.createElement(a.Z,null)," ",h," ",(0,c.__)("Get PRO!")),onOk:x,onCancel:g,cancelText:(0,c.__)("No, not interested..."),okText:(0,c.__)("I want to learn more!"),className:"rcb-pro-modal",width:v?800:600,getContainer:Z?w:void 0},!!v&&React.createElement("img",{style:{marginTop:10},src:"https://assets.devowl.io/in-app/wp-real-cookie-banner/".concat(v)}),React.createElement("div",{style:{maxWidth:600,margin:"auto"},ref:_},React.createElement("p",null,(0,l.E)(y)),d&&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"})}))),!!O&&f&&React.createElement("div",{style:{maxWidth:600,margin:"auto",textAlign:"left"}},React.createElement(u.j,O)))}},5829: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}}))))}},8042:function(e,t,r){r.d(t,{g:function(){return i}});var n=r(4115),o=r(4522),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))}},2936: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}},4522: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(5071),c=r(4614),l=r(7363),u=r(2579),p="#2db7f5";function f(e,t){var r=(0,l.useState)(!1),f=(0,i.Z)(r,2),h=f[0],b=f[1],d=(0,c.m)().optionStore.others.isPro,v="boolean"==typeof t?t:d,y=(0,l.useCallback)((function(e){b(!0),null==e||e.preventDefault()}),[b]),m=(0,l.useMemo)((function(){return v?null:React.createElement(o.Z,{icon:React.createElement(a.Z,null),color:p,style:{cursor:"pointer"},onClick:y},e.tagText||(0,s.__)("Unlock feature"))}),[y,e]),g=(0,l.useMemo)((function(){return v?null:React.createElement(u.B,(0,n.Z)({visible:h,onClose:function(){return b(!1)}},e))}),[h,b,e]);return{isPro:v,tag:m,modal:g,open:y}}},3289:function(e,t,r){r.d(t,{p:function(){return s}});var n=r(6),o=r(7363),i=r(4614),a=r(3537);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})}},62: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),h=r(9303),b=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,b.runInAction)((function(){return(0,b.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 h=Object.prototype.hasOwnProperty.call(this.settings,f)?this.settings[f]:r.get(f);o.push([s,p,h])}}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,h.Z)(n.prototype,"id",[b.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),i=(0,h.Z)(n.prototype,"name",[b.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,h.Z)(n.prototype,"needsPro",[b.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,h.Z)(n.prototype,"description",[b.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=(0,h.Z)(n.prototype,"tags",[b.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=(0,h.Z)(n.prototype,"settings",[b.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),n)},480: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(5408),u=r(1313),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},1313: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),h=r(5952),b=r(9303),d=r(8700),v=r(5408),y=r(9338),m=r(7821),g=r(4614),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,h.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,m.reaction)((function(){var e;return null===(e=n.data)||void 0===e?void 0:e.preset}),(function(e){return(0,m.runInAction)((function(){n.presetModel=e?new y.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,b.Z)(o.prototype,"presetModel",[m.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,b.Z)(o.prototype,"hosts",[m.computed],Object.getOwnPropertyDescriptor(o.prototype,"hosts"),o.prototype),(0,b.Z)(o.prototype,"tcfVendors",[m.computed],Object.getOwnPropertyDescriptor(o.prototype,"tcfVendors"),o.prototype),(0,b.Z)(o.prototype,"cookies",[m.computed],Object.getOwnPropertyDescriptor(o.prototype,"cookies"),o.prototype),(0,b.Z)(o.prototype,"setName",[m.action],Object.getOwnPropertyDescriptor(o.prototype,"setName"),o.prototype),(0,b.Z)(o.prototype,"setStatus",[m.action],Object.getOwnPropertyDescriptor(o.prototype,"setStatus"),o.prototype),(0,b.Z)(o.prototype,"setDescription",[m.action],Object.getOwnPropertyDescriptor(o.prototype,"setDescription"),o.prototype),(0,b.Z)(o.prototype,"setMeta",[m.action],Object.getOwnPropertyDescriptor(o.prototype,"setMeta"),o.prototype),n=o))||n},9338: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),h=r(7821),b=r(3506),d=r(5408),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,h.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:b.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,h.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",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),i=(0,u.Z)(n.prototype,"data",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,u.Z)(n.prototype,"attributes",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,u.Z)(n.prototype,"fullLogoUrl",[h.computed],Object.getOwnPropertyDescriptor(n.prototype,"fullLogoUrl"),n.prototype),n)},6565:function(e,t,r){r.d(t,{y:function(){return N}});var n,o,i,a,s,c,l,u,p,f,h,b,d,v,y,m,g,Z,w,k,R,C,P,S,E,_,x,O,D,z=r(2711),T=r(6724),I=r(6762),A=r(3340),M=r(9303),B=r(7821),N=(n=function(){function e(t,r){var n=this;(0,I.Z)(this,e),(0,T.Z)(this,"id",o,this),(0,T.Z)(this,"plugin_version",i,this),(0,T.Z)(this,"design_version",a,this),(0,T.Z)(this,"ipv4",s,this),(0,T.Z)(this,"ipv6",c,this),(0,T.Z)(this,"ipv4_hash",l,this),(0,T.Z)(this,"ipv6_hash",u,this),(0,T.Z)(this,"uuid",p,this),(0,T.Z)(this,"previous_decision",f,this),(0,T.Z)(this,"decision",h,this),(0,T.Z)(this,"decision_labels",b,this),(0,T.Z)(this,"created",d,this),(0,T.Z)(this,"blocker",v,this),(0,T.Z)(this,"dnt",y,this),(0,T.Z)(this,"custom_bypass",m,this),(0,T.Z)(this,"user_country",g,this),(0,T.Z)(this,"revision_hash",Z,this),(0,T.Z)(this,"revision_independent_hash",w,this),(0,T.Z)(this,"button_clicked",k,this),(0,T.Z)(this,"context",R,this),(0,T.Z)(this,"viewport_width",C,this),(0,T.Z)(this,"viewport_height",P,this),(0,T.Z)(this,"viewed_page",S,this),(0,T.Z)(this,"url_imprint",E,this),(0,T.Z)(this,"url_privacy_policy",_,this),(0,T.Z)(this,"forwarded",x,this),(0,T.Z)(this,"forwarded_blocker",O,this),(0,T.Z)(this,"tcf_string",D,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,z.Z)((0,z.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,M.Z)(n.prototype,"id",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),i=(0,M.Z)(n.prototype,"plugin_version",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,M.Z)(n.prototype,"design_version",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,M.Z)(n.prototype,"ipv4",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=(0,M.Z)(n.prototype,"ipv6",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=(0,M.Z)(n.prototype,"ipv4_hash",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,M.Z)(n.prototype,"ipv6_hash",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=(0,M.Z)(n.prototype,"uuid",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=(0,M.Z)(n.prototype,"previous_decision",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=(0,M.Z)(n.prototype,"decision",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=(0,M.Z)(n.prototype,"decision_labels",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=(0,M.Z)(n.prototype,"created",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=(0,M.Z)(n.prototype,"blocker",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=(0,M.Z)(n.prototype,"dnt",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=(0,M.Z)(n.prototype,"custom_bypass",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=(0,M.Z)(n.prototype,"user_country",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Z=(0,M.Z)(n.prototype,"revision_hash",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,M.Z)(n.prototype,"revision_independent_hash",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k=(0,M.Z)(n.prototype,"button_clicked",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),R=(0,M.Z)(n.prototype,"context",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=(0,M.Z)(n.prototype,"viewport_width",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=(0,M.Z)(n.prototype,"viewport_height",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=(0,M.Z)(n.prototype,"viewed_page",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,M.Z)(n.prototype,"url_imprint",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=(0,M.Z)(n.prototype,"url_privacy_policy",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),x=(0,M.Z)(n.prototype,"forwarded",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=(0,M.Z)(n.prototype,"forwarded_blocker",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),D=(0,M.Z)(n.prototype,"tcf_string",[B.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,M.Z)(n.prototype,"revision",[B.computed],Object.getOwnPropertyDescriptor(n.prototype,"revision"),n.prototype),(0,M.Z)(n.prototype,"revision_independent",[B.computed],Object.getOwnPropertyDescriptor(n.prototype,"revision_independent"),n.prototype),(0,M.Z)(n.prototype,"custom_bypass_readable",[B.computed],Object.getOwnPropertyDescriptor(n.prototype,"custom_bypass_readable"),n.prototype),n)},6398:function(e,t,r){r.d(t,{b:function(){return m}});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),h=r(8700),b=r(5408),d=r(4947),v=r(7821),y=r(6950),m=h.ClientCollection.annotate({path:"/rcb-cookie",singlePath:"/rcb-cookie/:id",namespace:"wp/v2",methods:[h.RouteHttpVerb.GET],request:b.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,b.W)({location:y.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}(h.AbstractPostCollection),(0,u.Z)(o.prototype,"sortedCookies",[v.computed],Object.getOwnPropertyDescriptor(o.prototype,"sortedCookies"),o.prototype),n=o))||n},9208:function(e,t,r){r.d(t,{w:function(){return m}});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),h=r(8700),b=r(5408),d=r(9323),v=r(7821),y=r(4876),m=h.ClientCollection.annotate({path:"/rcb-cookie-group",singlePath:"/rcb-cookie-group/:id",namespace:"wp/v2",methods:[h.RouteHttpVerb.GET],request:b.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,b.W)({location:y.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}(h.AbstractCategoryCollection),(0,u.Z)(o.prototype,"sortedGroups",[v.computed],Object.getOwnPropertyDescriptor(o.prototype,"sortedGroups"),o.prototype),n=o))||n},9323: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),h=r(9303),b=r(5450),d=r.n(b),v=r(8700),y=r(5408),m=r(6398),g=r(7821),Z=v.ClientModel.annotate({keyId:"id",namespace:"wp/v2",request:y.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 m.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,h.Z)(o.prototype,"cookies",[g.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,h.Z)(o.prototype,"fetchedAllCookies",[g.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,h.Z)(o.prototype,"cookiesCount",[g.computed],Object.getOwnPropertyDescriptor(o.prototype,"cookiesCount"),o.prototype),(0,h.Z)(o.prototype,"setName",[g.action],Object.getOwnPropertyDescriptor(o.prototype,"setName"),o.prototype),(0,h.Z)(o.prototype,"setDescription",[g.action],Object.getOwnPropertyDescriptor(o.prototype,"setDescription"),o.prototype),(0,h.Z)(o.prototype,"setOrder",[g.action],Object.getOwnPropertyDescriptor(o.prototype,"setOrder"),o.prototype),n=o))||n},4947:function(e,t,r){r.d(t,{U:function(){return k}});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),h=r(8067),b=r(3841),d=r(5952),v=r(9303),y=r(8700),m=r(5408),g=r(1974),Z=r(7821),w=r(4614),k=y.ClientModel.annotate({keyId:"id",namespace:"wp/v2",request:m.W,create:{path:"/rcb-cookie"},patch:{path:"/rcb-cookie/:id"},delete:{path:"/rcb-cookie/:id"}})((o=function(e){(0,b.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,w.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,h.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,h.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}(y.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},1974: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),h=r(7821),b=r(7419),d=r(5408),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,h.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:b.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,h.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",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),i=(0,u.Z)(n.prototype,"data",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,u.Z)(n.prototype,"attributes",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,u.Z)(n.prototype,"fullLogoUrl",[h.computed],Object.getOwnPropertyDescriptor(n.prototype,"fullLogoUrl"),n.prototype),n)},6714: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}},6172: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}},5277: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),h=r(4375),b=r(5408),d=r(5071),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,b.W)({location:h.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)},5482:function(e,t,r){r.d(t,{a:function(){return b}});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),h=r(9522),b=(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,h.r)(this.data.blockedUrl,50,"[...]")}},{key:"sourceUrlTruncate",get:function(){return(0,h.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)},1435: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),h=r(7821),b=r(5408),d=r(3506),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,h.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,b.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,h.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",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),i=(0,u.Z)(n.prototype,"data",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,u.Z)(n.prototype,"attributes",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,u.Z)(n.prototype,"identifier",[h.computed],Object.getOwnPropertyDescriptor(n.prototype,"identifier"),n.prototype),(0,u.Z)(n.prototype,"fullLogoUrl",[h.computed],Object.getOwnPropertyDescriptor(n.prototype,"fullLogoUrl"),n.prototype),(0,u.Z)(n.prototype,"inactive",[h.computed],Object.getOwnPropertyDescriptor(n.prototype,"inactive"),n.prototype),n)},9081: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)},3116: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)},3025:function(e,t,r){r.d(t,{C:function(){return h}});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(3055),h=(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)},597: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(5408),u=r(6215),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},6215:function(e,t,r){r.d(t,{S:function(){return k}});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),h=r(3841),b=r(5952),d=r(9303),v=r(8700),y=r(5408),m=r(7821),g=r(3025),Z=r(5311),w=r.n(Z),k=v.ClientModel.annotate({keyId:"id",namespace:"wp/v2",request:y.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,h.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,c.Z)(this,r),n=t.call(this,e,o),(0,s.Z)(n,"vendorModel",i,(0,u.Z)(n)),(0,m.reaction)((function(){return n.data.vendor}),(function(e){return(0,m.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,m.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 w().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",[m.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,d.Z)(o.prototype,"hasVendor",[m.computed],Object.getOwnPropertyDescriptor(o.prototype,"hasVendor"),o.prototype),(0,d.Z)(o.prototype,"restrictivePurposes",[m.computed],Object.getOwnPropertyDescriptor(o.prototype,"restrictivePurposes"),o.prototype),(0,d.Z)(o.prototype,"stats",[m.computed],Object.getOwnPropertyDescriptor(o.prototype,"stats"),o.prototype),(0,d.Z)(o.prototype,"setStatus",[m.action],Object.getOwnPropertyDescriptor(o.prototype,"setStatus"),o.prototype),(0,d.Z)(o.prototype,"setMeta",[m.action],Object.getOwnPropertyDescriptor(o.prototype,"setMeta"),o.prototype),n=o))||n},7052:function(e,t,r){r.d(t,{L:function(){return w}});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),h=r(9303),b=r(5450),d=r.n(b),v=r(7821),y=r(8700),m=r(6127),g=r(6410),Z=r(5408),w=(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:m.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}(y.BaseOptions),o=(0,h.Z)(n.prototype,"busyChecklist",[v.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),i=(0,h.Z)(n.prototype,"checklist",[v.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,h.Z)(n.prototype,"items",[v.computed],Object.getOwnPropertyDescriptor(n.prototype,"items"),n.prototype),(0,h.Z)(n.prototype,"completed",[v.computed],Object.getOwnPropertyDescriptor(n.prototype,"completed"),n.prototype),(0,h.Z)(n.prototype,"checkable",[v.computed],Object.getOwnPropertyDescriptor(n.prototype,"checkable"),n.prototype),(0,h.Z)(n.prototype,"done",[v.computed],Object.getOwnPropertyDescriptor(n.prototype,"done"),n.prototype),n)},6159:function(e,t,r){r.d(t,{v:function(){return I}});var n,o,i,a,s,c,l,u,p,f,h=r(38),b=r(6724),d=r(6762),v=r(3340),y=r(5558),m=r(3841),g=r(5952),Z=r(9303),w=r(5450),k=r.n(w),R=r(7821),C=r(8700),P=r(5408),S=r(5634),E=r(6778),_=r(3985),x=r(3480),O=r(7141),D=r(6565),z=r(6714),T=r(6172),I=(n=function(e){(0,m.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,b.Z)(n,"busyConsent",o,(0,y.Z)(n)),(0,b.Z)(n,"busyReferer",i,(0,y.Z)(n)),(0,b.Z)(n,"count",a,(0,y.Z)(n)),(0,b.Z)(n,"perPage",s,(0,y.Z)(n)),(0,b.Z)(n,"offset",c,(0,y.Z)(n)),(0,b.Z)(n,"pageCollection",l,(0,y.Z)(n)),(0,b.Z)(n,"revisions",u,(0,y.Z)(n)),(0,b.Z)(n,"revisionsIndependent",p,(0,y.Z)(n)),(0,b.Z)(n,"referer",f,(0,y.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)(k().mark((function e(){var t,r,n,o,i,a,s,c,l,u,p,f,b;return k().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,h.Z)(u);try{for(p.s();!(f=p.n()).done;)b=f.value,this.pageCollection.set(b.id,new D.y(b,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)(k().mark((function e(t){var r;return k().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)(k().mark((function e(t){var r;return k().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)(k().mark((function e(t){var r;return k().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)(k().mark((function e(){return k().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)},8069:function(e,t,r){r.d(t,{h:function(){return _}});var n,o,i,a,s,c,l,u,p,f,h=r(6724),b=r(6762),d=r(3340),v=r(9303),y=r(5450),m=r.n(y),g=r(7821),Z=r(9338),w=r(1974),k=r(9208),R=r(480),C=r(340),P=r(7539),S=r(4017),E=r(5408),_=(n=function(){function e(t){var r=this;(0,b.Z)(this,e),(0,h.Z)(this,"busy",o,this),(0,h.Z)(this,"groups",i,this),(0,h.Z)(this,"unassignedCookies",a,this),(0,h.Z)(this,"blockers",s,this),(0,h.Z)(this,"presetsBlocker",c,this),(0,h.Z)(this,"busyPresetsBlocker",l,this),(0,h.Z)(this,"presetsCookie",u,this),(0,h.Z)(this,"busyPresetsCookie",p,this),(0,h.Z)(this,"fetchedAllBlockers",f,this),this.rootStore=void 0,this.fetchGroups=(0,g.flow)(m().mark((function e(){return m().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)(m().mark((function e(){var t,r,n,o;return m().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)(m().mark((function e(){return m().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)(m().mark((function e(){var t,r,n,o,i;return m().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)(m().mark((function e(){var t,r,n,o,i;return m().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 w.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 k.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)},5619: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),h=r(6724),b=r(6762),d=r(3340),v=r(9303),y=r(5450),m=r.n(y),g=r(7821),Z=r(9444),w=r(5408),k=r(62),R=r(490),C=(n=function(){function e(t){(0,b.Z)(this,e),(0,h.Z)(this,"visible",o,this),(0,h.Z)(this,"animationVisible",i,this),(0,h.Z)(this,"individualPrivacyOpen",a,this),(0,h.Z)(this,"previewCheckboxActiveState",s,this),(0,h.Z)(this,"busyPresets",c,this),(0,h.Z)(this,"presets",l,this),this.rootStore=void 0,this.presetConstants=new Map,this.presetDefaults=new Map,this.debounceFromCustomize={},this.fetchPresets=(0,g.flow)(m().mark((function e(){var t,r,n,o,i,a,s,c,l,u,p,h,b;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busyPresets=!0,e.prev=1,e.next=4,(0,w.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,h=Object.keys(o);p<h.length;p++)b=h[p],this.presets.set(b,new k.p((0,f.Z)({id:b},o[b]),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)},5187: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(4614),o=r(5656),i=r(5619),a=r(8069),s=r(6159),c=r(3596),l=r(7052),u=r(4605),p=r(103)},5656:function(e,t,r){r.d(t,{a:function(){return ge}});var n,o,i,a,s,c,l,u,p,f,h,b,d,v,y,m,g,Z,w,k,R,C,P,S,E,_,x,O,D,z,T,I,A,M,B,N,j,V,U,F,G,W,L,H,q,Y,J,Q,X,$=r(2711),K=r(6724),ee=r(6762),te=r(3340),re=r(5558),ne=r(3841),oe=r(5952),ie=r(9303),ae=r(5450),se=r.n(ae),ce=r(7821),le=r(8700),ue=r(74),pe=r(939),fe=r(6799),he=r(8064),be=r(365),de=r(2391),ve=r(9001),ye=r(5408),me=r(7597),ge=(n=function(e){(0,ne.Z)(r,e);var t=(0,oe.Z)(r);function r(e){var n;return(0,ee.Z)(this,r),n=t.call(this),(0,K.Z)(n,"busySettings",o,(0,re.Z)(n)),(0,K.Z)(n,"busyCountryBypassUpdate",i,(0,re.Z)(n)),(0,K.Z)(n,"needsRevisionRetrigger",a,(0,re.Z)(n)),(0,K.Z)(n,"publicCookieCount",s,(0,re.Z)(n)),(0,K.Z)(n,"allCookieCount",c,(0,re.Z)(n)),(0,K.Z)(n,"allBlockerCount",l,(0,re.Z)(n)),(0,K.Z)(n,"allTcfVendorConfigurationCount",u,(0,re.Z)(n)),(0,K.Z)(n,"allScannerResultPresetsCount",p,(0,re.Z)(n)),(0,K.Z)(n,"allScannerResultExternalUrlsCount",f,(0,re.Z)(n)),(0,K.Z)(n,"cookieCounts",h,(0,re.Z)(n)),(0,K.Z)(n,"tcfVendorConfigurationCounts",b,(0,re.Z)(n)),(0,K.Z)(n,"hasGTM",d,(0,re.Z)(n)),(0,K.Z)(n,"hasMTM",v,(0,re.Z)(n)),(0,K.Z)(n,"contexts",y,(0,re.Z)(n)),(0,K.Z)(n,"dashboardMigration",m,(0,re.Z)(n)),(0,K.Z)(n,"bannerActive",g,(0,re.Z)(n)),(0,K.Z)(n,"blockerActive",Z,(0,re.Z)(n)),(0,K.Z)(n,"refreshSiteAfterConsent",w,(0,re.Z)(n)),(0,K.Z)(n,"imprintId",k,(0,re.Z)(n)),(0,K.Z)(n,"imprintExternalUrl",R,(0,re.Z)(n)),(0,K.Z)(n,"imprintIsExternalUrl",C,(0,re.Z)(n)),(0,K.Z)(n,"privacyPolicyId",P,(0,re.Z)(n)),(0,K.Z)(n,"privacyPolicyExternalUrl",S,(0,re.Z)(n)),(0,K.Z)(n,"privacyPolicyIsExternalUrl",E,(0,re.Z)(n)),(0,K.Z)(n,"hidePageIds",_,(0,re.Z)(n)),(0,K.Z)(n,"setCookiesViaManager",x,(0,re.Z)(n)),(0,K.Z)(n,"acceptAllForBots",O,(0,re.Z)(n)),(0,K.Z)(n,"respectDoNotTrack",D,(0,re.Z)(n)),(0,K.Z)(n,"cookieDuration",z,(0,re.Z)(n)),(0,K.Z)(n,"saveIp",T,(0,re.Z)(n)),(0,K.Z)(n,"ePrivacyUSA",I,(0,re.Z)(n)),(0,K.Z)(n,"ageNotice",A,(0,re.Z)(n)),(0,K.Z)(n,"consentForwarding",M,(0,re.Z)(n)),(0,K.Z)(n,"forwardTo",B,(0,re.Z)(n)),(0,K.Z)(n,"crossDomains",N,(0,re.Z)(n)),(0,K.Z)(n,"affiliateLink",j,(0,re.Z)(n)),(0,K.Z)(n,"affiliateLabelBehind",V,(0,re.Z)(n)),(0,K.Z)(n,"affiliateLabelDescription",U,(0,re.Z)(n)),(0,K.Z)(n,"countryBypass",F,(0,re.Z)(n)),(0,K.Z)(n,"countryBypassCountries",G,(0,re.Z)(n)),(0,K.Z)(n,"countryBypassType",W,(0,re.Z)(n)),(0,K.Z)(n,"countryBypassDbDownloadTime",L,(0,re.Z)(n)),(0,K.Z)(n,"tcf",H,(0,re.Z)(n)),(0,K.Z)(n,"tcfPublisherCc",q,(0,re.Z)(n)),(0,K.Z)(n,"tcfAcceptedTime",Y,(0,re.Z)(n)),(0,K.Z)(n,"tcfGvlDownloadTime",J,(0,re.Z)(n)),(0,K.Z)(n,"tcfScopeOfConsent",Q,(0,re.Z)(n)),(0,K.Z)(n,"others",X,(0,re.Z)(n)),n.pureSlug=void 0,n.pureSlugCamelCased=void 0,n.rootStore=void 0,n.fetchSettings=(0,ce.flow)(se().mark((function e(t){var r;return se().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,ye.W)({location:ue.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.refreshSiteAfterConsent=r["rcb-refresh-site-after-consent"],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.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,ce.flow)(se().mark((function e(t){var r,n,o,i,a,s,c,l,u,p,f,h,b,d,v,y,m,g,Z,w,k,R,C;return se().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.bannerActive,n=t.blockerActive,o=t.refreshSiteAfterConsent,i=t.imprintId,a=t.privacyPolicyId,s=t.hidePageIds,c=t.setCookiesViaManager,l=t.acceptAllForBots,u=t.respectDoNotTrack,p=t.cookieDuration,f=t.saveIp,h=t.ePrivacyUSA,b=t.ageNotice,d=t.consentForwarding,v=t.forwardTo,y=t.crossDomains,t.affiliateLink,t.affiliateLabelBehind,t.affiliateLabelDescription,m=t.countryBypass,g=t.countryBypassCountries,Z=t.countryBypassType,w=t.tcf,k=t.tcfPublisherCc,R=t.tcfScopeOfConsent,this.busySettings=!0,e.prev=2,e.next=5,(0,ye.W)({location:pe.J,request:(0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)({},void 0===r?{}:{"rcb-banner-active":r}),void 0===n?{}:{"rcb-blocker-active":n}),void 0===o?{}:{"rcb-refresh-site-after-consent":o}),void 0===i?{}:{"rcb-banner-legal-imprint":i}),void 0===a?{}:{"rcb-banner-legal-privacy-policy":a}),void 0===s?{}:{"rcb-hide-page-ids":s.join(",")}),void 0===c?{}:{"rcb-set-cookies-via-manager":c}),void 0===l?{}:{"rcb-accept-all-for-bots":l}),void 0===u?{}:{"rcb-respect-do-not-track":u}),void 0===p?{}:{"rcb-cookie-duration":p}),void 0===f?{}:{"rcb-save-ip":f}),void 0===h?{}:{"rcb-eprivacy-usa":h}),void 0===b?{}:{"rcb-age-notice":b}),void 0===d?{}:{"rcb-consent-forwarding":d}),void 0===v?{}:{"rcb-forward-to":v.join("|")}),void 0===y?{}:{"rcb-cross-domains":y}),void 0===m?{}:{"rcb-country-bypass":m}),void 0===g?{}:{"rcb-country-bypass-countries":g.join(",")}),void 0===Z?{}:{"rcb-country-bypass-type":Z}),void 0===w?{}:{"rcb-tcf":w}),void 0===k?{}:{"rcb-tcf-publisher-cc":k}),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,ce.flow)(se().mark((function e(){return se().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,ye.W)({location:fe.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,ce.flow)(se().mark((function e(t){return se().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,ye.W)({location:he.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,ce.flow)(se().mark((function e(t){return se().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,ye.W)({location:me.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,ce.flow)(se().mark((function e(){return se().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,this.others.isConfigProNoticeVisible=!1,e.next=4,(0,ye.W)({location:be.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,ce.flow)(se().mark((function e(){var t;return se().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,ye.W)({location:de.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.updateCountryBypassDatabase=(0,ce.flow)(se().mark((function e(){var t,r;return se().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.busyCountryBypassUpdate=!0,e.prev=1,e.next=4,(0,ye.W)({location:ve._});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=le.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=le.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,ce.runInAction)((function(){return Object.assign((0,re.Z)(n),window[n.pureSlugCamelCased])})),n}return(0,te.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.tcf_vendor_configuration_counts,h=e.dashboardMigration;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.tcfVendorConfigurationCounts=f,this.contexts=t,this.dashboardMigration=h}},{key:"setShowLicenseFormImmediate",value:function(e,t){this.others.showLicenseFormImmediate=e,this.others.isLicensed=t}}]),r}(le.BaseOptions),o=(0,ie.Z)(n.prototype,"busySettings",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),i=(0,ie.Z)(n.prototype,"busyCountryBypassUpdate",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),a=(0,ie.Z)(n.prototype,"needsRevisionRetrigger",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),s=(0,ie.Z)(n.prototype,"publicCookieCount",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),c=(0,ie.Z)(n.prototype,"allCookieCount",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),l=(0,ie.Z)(n.prototype,"allBlockerCount",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),u=(0,ie.Z)(n.prototype,"allTcfVendorConfigurationCount",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),p=(0,ie.Z)(n.prototype,"allScannerResultPresetsCount",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),f=(0,ie.Z)(n.prototype,"allScannerResultExternalUrlsCount",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),h=(0,ie.Z)(n.prototype,"cookieCounts",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return{draft:0,private:0,publish:0}}}),b=(0,ie.Z)(n.prototype,"tcfVendorConfigurationCounts",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=(0,ie.Z)(n.prototype,"hasGTM",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),v=(0,ie.Z)(n.prototype,"hasMTM",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),y=(0,ie.Z)(n.prototype,"contexts",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return{"":""}}}),m=(0,ie.Z)(n.prototype,"dashboardMigration",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=(0,ie.Z)(n.prototype,"bannerActive",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),Z=(0,ie.Z)(n.prototype,"blockerActive",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),w=(0,ie.Z)(n.prototype,"refreshSiteAfterConsent",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),k=(0,ie.Z)(n.prototype,"imprintId",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),R=(0,ie.Z)(n.prototype,"imprintExternalUrl",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=(0,ie.Z)(n.prototype,"imprintIsExternalUrl",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=(0,ie.Z)(n.prototype,"privacyPolicyId",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=(0,ie.Z)(n.prototype,"privacyPolicyExternalUrl",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,ie.Z)(n.prototype,"privacyPolicyIsExternalUrl",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=(0,ie.Z)(n.prototype,"hidePageIds",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),x=(0,ie.Z)(n.prototype,"setCookiesViaManager",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=(0,ie.Z)(n.prototype,"acceptAllForBots",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),D=(0,ie.Z)(n.prototype,"respectDoNotTrack",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),z=(0,ie.Z)(n.prototype,"cookieDuration",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=(0,ie.Z)(n.prototype,"saveIp",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=(0,ie.Z)(n.prototype,"ePrivacyUSA",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),A=(0,ie.Z)(n.prototype,"ageNotice",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),M=(0,ie.Z)(n.prototype,"consentForwarding",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),B=(0,ie.Z)(n.prototype,"forwardTo",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),N=(0,ie.Z)(n.prototype,"crossDomains",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),j=(0,ie.Z)(n.prototype,"affiliateLink",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),V=(0,ie.Z)(n.prototype,"affiliateLabelBehind",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),U=(0,ie.Z)(n.prototype,"affiliateLabelDescription",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),F=(0,ie.Z)(n.prototype,"countryBypass",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),G=(0,ie.Z)(n.prototype,"countryBypassCountries",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),W=(0,ie.Z)(n.prototype,"countryBypassType",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),L=(0,ie.Z)(n.prototype,"countryBypassDbDownloadTime",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),H=(0,ie.Z)(n.prototype,"tcf",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),q=(0,ie.Z)(n.prototype,"tcfPublisherCc",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Y=(0,ie.Z)(n.prototype,"tcfAcceptedTime",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),J=(0,ie.Z)(n.prototype,"tcfGvlDownloadTime",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Q=(0,ie.Z)(n.prototype,"tcfScopeOfConsent",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),X=(0,ie.Z)(n.prototype,"others",[ce.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,ie.Z)(n.prototype,"isOnlyRcbCookieCreated",[ce.computed],Object.getOwnPropertyDescriptor(n.prototype,"isOnlyRcbCookieCreated"),n.prototype),(0,ie.Z)(n.prototype,"areSettingsFetched",[ce.computed],Object.getOwnPropertyDescriptor(n.prototype,"areSettingsFetched"),n.prototype),(0,ie.Z)(n.prototype,"setFromCurrentRevision",[ce.action],Object.getOwnPropertyDescriptor(n.prototype,"setFromCurrentRevision"),n.prototype),(0,ie.Z)(n.prototype,"setShowLicenseFormImmediate",[ce.action],Object.getOwnPropertyDescriptor(n.prototype,"setShowLicenseFormImmediate"),n.prototype),n)},103:function(e,t,r){r.d(t,{C:function(){return D}});var n,o,i,a,s,c,l,u,p,f,h=r(7870),b=r(38),d=r(6724),v=r(6762),y=r(3340),m=r(9303),g=r(5450),Z=r.n(g),w=r(7821),k=r(5277),R=r(5482),C=r(1435),P=r(5408),S=r(102),E=r(9977),_=r(4788),x=r(6964),O=r(4531),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,w.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,w.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,w.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,w.flow)(Z().mark((function e(t){var r,n,o,i,a,s,c,l,u,p,f,h;return Z().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t instanceof k.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,b.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++)h=f[p],a.set(h.id,new R.a(h,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,w.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,y.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,h.Z)(this.resultPresets.values()),(0,h.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,b.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,b.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 k.o(r[c],this))}}}]),e}(),o=(0,m.Z)(n.prototype,"resultPresets",[w.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),i=(0,m.Z)(n.prototype,"busyResultPresets",[w.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),a=(0,m.Z)(n.prototype,"fetchedAllResultPresets",[w.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),s=(0,m.Z)(n.prototype,"resultExternalUrls",[w.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),c=(0,m.Z)(n.prototype,"resultAllExternalUrls",[w.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),l=(0,m.Z)(n.prototype,"busyExternalUrls",[w.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),u=(0,m.Z)(n.prototype,"fetchedAllResultExternalUrls",[w.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),p=(0,m.Z)(n.prototype,"busyMarkup",[w.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),f=(0,m.Z)(n.prototype,"resultMarkup",[w.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),(0,m.Z)(n.prototype,"sortedExternalUrls",[w.computed],Object.getOwnPropertyDescriptor(n.prototype,"sortedExternalUrls"),n.prototype),(0,m.Z)(n.prototype,"presetsCount",[w.computed],Object.getOwnPropertyDescriptor(n.prototype,"presetsCount"),n.prototype),(0,m.Z)(n.prototype,"externalUrlsCount",[w.computed],Object.getOwnPropertyDescriptor(n.prototype,"externalUrlsCount"),n.prototype),(0,m.Z)(n.prototype,"canShowResults",[w.computed],Object.getOwnPropertyDescriptor(n.prototype,"canShowResults"),n.prototype),(0,m.Z)(n.prototype,"foundScanResultsCount",[w.computed],Object.getOwnPropertyDescriptor(n.prototype,"foundScanResultsCount"),n.prototype),(0,m.Z)(n.prototype,"needsAttentionCount",[w.computed],Object.getOwnPropertyDescriptor(n.prototype,"needsAttentionCount"),n.prototype),(0,m.Z)(n.prototype,"resultPresetsFromResponse",[w.action],Object.getOwnPropertyDescriptor(n.prototype,"resultPresetsFromResponse"),n.prototype),(0,m.Z)(n.prototype,"resultExternalUrlsFromResponse",[w.action],Object.getOwnPropertyDescriptor(n.prototype,"resultExternalUrlsFromResponse"),n.prototype),n)},3596:function(e,t,r){r.d(t,{e:function(){return m}});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),h=r.n(f),b=r(7821),d=r(8700),v=r(8488),y=r.n(v),m=(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=b.observable.object({main:void 0,buttonsClicked:void 0,customBypass:void 0},{},{deep:!1}),n.filters=b.observable.object({dates:void 0,context:void 0},{},{deep:!1}),n.fetchMain=(0,b.flow)(h().mark((function e(){return h().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,b.flow)(h().mark((function e(){return h().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,b.flow)(h().mark((function e(){return h().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,b.runInAction)((function(){n.filters.dates=[y()().subtract(30,"days"),y()()],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",[b.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return{main:!1,buttonClicked:!1,customBypass:!1}}}),(0,p.Z)(n.prototype,"applyDates",[b.action],Object.getOwnPropertyDescriptor(n.prototype,"applyDates"),n.prototype),(0,p.Z)(n.prototype,"applyContext",[b.action],Object.getOwnPropertyDescriptor(n.prototype,"applyContext"),n.prototype),n)},4614: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(5656),c=r(5619),l=r(8069),u=r(6159),p=r(3596),f=r(7052),h=r(4605),b=r(103);(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 h.z(this),this.scannerStore=new b.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()}},4605:function(e,t,r){r.d(t,{z:function(){return M}});var n,o,i,a,s,c,l,u,p,f,h,b,d,v,y=r(6724),m=r(6762),g=r(3340),Z=r(5558),w=r(3841),k=r(5952),R=r(9303),C=r(5450),P=r.n(C),S=r(7821),E=r(8700),_=r(4137),x=r(184),O=r(6692),D=r(5408),z=r(3025),T=r(3116),I=r(9081),A=r(597),M=(n=function(e){(0,w.Z)(r,e);var t=(0,k.Z)(r);function r(e){var n;return(0,m.Z)(this,r),n=t.call(this),(0,y.Z)(n,"busyGvl",o,(0,Z.Z)(n)),(0,y.Z)(n,"busyVendors",i,(0,Z.Z)(n)),(0,y.Z)(n,"busyDeclarations",a,(0,Z.Z)(n)),(0,y.Z)(n,"vendorConfigurations",s,(0,Z.Z)(n)),(0,y.Z)(n,"fetchedAllVendorConfigurations",c,(0,Z.Z)(n)),(0,y.Z)(n,"vendorListVersion",l,(0,Z.Z)(n)),(0,y.Z)(n,"gvlSpecificationVersion",u,(0,Z.Z)(n)),(0,y.Z)(n,"tcfPolicyVersion",p,(0,Z.Z)(n)),(0,y.Z)(n,"vendors",f,(0,Z.Z)(n)),(0,y.Z)(n,"purposes",h,(0,Z.Z)(n)),(0,y.Z)(n,"specialPurposes",b,(0,Z.Z)(n)),(0,y.Z)(n,"features",d,(0,Z.Z)(n)),(0,y.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,h,b,d,v,y,m,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++)h=f[p],this.specialPurposes.set(h,new T.v(i[h],!0,this));for(b=0,d=Object.keys(a);b<d.length;b++)v=d[b],this.features.set(v,new I.i(a[v],!1,this));for(y=0,m=Object.keys(s);y<m.length;y++)g=m[y],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 A.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}}),h=(0,R.Z)(n.prototype,"purposes",[S.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),b=(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)},3537:function(e,t,r){r.d(t,{u:function(){return n},b:function(){return o}});var n="rcb-scan",o="rcb-automatic-scan-starter"},5194: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}})},6703:function(e,t,r){r.d(t,{u:function(){return o}});var n=r(5194);function o(){return(0,n.m)().others}},5071: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)}},8081: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}))}},5408: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)}},2200: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}})},9522: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}})},6127:function(e,t,r){r.d(t,{g:function(){return n}});var n={path:"/checklist",method:r(8700).RouteHttpVerb.GET}},6410:function(e,t,r){r.d(t,{s:function(){return n}});var n={path:"/checklist/:id",method:r(8700).RouteHttpVerb.PUT}},7141:function(e,t,r){r.d(t,{O:function(){return n}});var n={path:"/consent/all",method:r(8700).RouteHttpVerb.DELETE}},5634:function(e,t,r){r.d(t,{c:function(){return n}});var n={path:"/consent/all",method:r(8700).RouteHttpVerb.GET}},3480:function(e,t,r){r.d(t,{q:function(){return n}});var n={path:"/consent/referer",method:r(8700).RouteHttpVerb.GET}},4876:function(e,t,r){r.d(t,{B:function(){return n}});var n={path:"/cookie-groups/order",method:r(8700).RouteHttpVerb.PUT}},340:function(e,t,r){r.d(t,{p:function(){return n}});var n={path:"/cookies/unassigned",method:r(8700).RouteHttpVerb.GET}},6950:function(e,t,r){r.d(t,{I:function(){return n}});var n={path:"/cookies/order",method:r(8700).RouteHttpVerb.PUT}},9001:function(e,t,r){r.d(t,{_:function(){return n}});var n={path:"/country-bypass/database",method:r(8700).RouteHttpVerb.PUT}},9864:function(e,t,r){r.d(t,{V:function(){return n}});var n={path:"/export",method:r(8700).RouteHttpVerb.GET}},9450:function(e,t,r){r.d(t,{Q:function(){return n}});var n={path:"/export/consents",method:r(8700).RouteHttpVerb.GET}},3839:function(e,t,r){r.d(t,{V:function(){return n}});var n={path:"/forward/cookie/:slug",method:r(8700).RouteHttpVerb.GET}},4773:function(e,t,r){r.d(t,{A:function(){return n}});var n={path:"/forward/endpoints",method:r(8700).RouteHttpVerb.GET}},6879:function(e,t,r){r.d(t,{H:function(){return n}});var n={path:"/import",method:r(8700).RouteHttpVerb.POST}},9332: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 k},aY:function(){return N},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 w.H},nQ:function(){return O.n},oW:function(){return U.o},nX:function(){return V.n},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 h.G},a4:function(){return b.a},Z1:function(){return D.Z},TB:function(){return z.T},kv:function(){return F.k},ME:function(){return H.M},Ce:function(){return L.C},MQ:function(){return W.M},$5:function(){return q.$},eO:function(){return G.e},$Q:function(){return g},gh:function(){return m},BV:function(){return y},Y3:function(){return B.Y},yR:function(){return A.y},fs:function(){return M.f},g3:function(){return n.g},J3:function(){return o.J}});var n=r(74),o=r(939),i=r(9444),a=r(7539),s=r(4017),c=r(4876),l=r(6950),u=r(8700),p={path:"/consent",method:u.RouteHttpVerb.POST},f={path:"/consent",method:u.RouteHttpVerb.GET},h=r(6799),b=r(8064),d=r(5634),v=r(7141),y={path:"/stats/main",method:u.RouteHttpVerb.GET},m={path:"/stats/customBypass",method:u.RouteHttpVerb.GET},g={path:"/stats/buttonsClicked",method:u.RouteHttpVerb.GET},Z=r(9864),w=r(6879),k={path:"/consent/clear",method:u.RouteHttpVerb.DELETE},R=r(9450),C=r(6127),P=r(6410),S=r(340),E=r(4773),_={path:"/consent/forward",method:u.RouteHttpVerb.POST},x=r(3839),O=r(365),D=r(6778),z=r(3985),T=r(3506),I=r(7419),A=r(6692),M=r(184),B=r(4137),N={path:"/consent/dynamic-predecision",method:u.RouteHttpVerb.GET},j=r(9001),V=r(1693),U=r(2391),F=r(102),G=r(9977),W=r(4788),L=r(4375),H=r(6964),q=r(4531),Y=r(3480)},365:function(e,t,r){r.d(t,{n:function(){return n}});var n={path:"/dismiss-config-page-pro-notice",method:r(8700).RouteHttpVerb.DELETE}},2391:function(e,t,r){r.d(t,{o:function(){return n}});var n={path:"/migration/:migration",method:r(8700).RouteHttpVerb.DELETE}},1693:function(e,t,r){r.d(t,{n:function(){return n}});var n={path:"/migration/:migration/:action",method:r(8700).RouteHttpVerb.POST}},7597:function(e,t,r){r.d(t,{C:function(){return n}});var n={path:"/modal-hint",method:r(8700).RouteHttpVerb.PUT}},9444:function(e,t,r){r.d(t,{t:function(){return n}});var n={path:"/presets/banner",method:r(8700).RouteHttpVerb.GET}},7539:function(e,t,r){r.d(t,{W:function(){return n}});var n={path:"/presets/blocker",method:r(8700).RouteHttpVerb.GET}},3506:function(e,t,r){r.d(t,{N:function(){return n}});var n={path:"/presets/blocker/:identifier",method:r(8700).RouteHttpVerb.GET}},4017:function(e,t,r){r.d(t,{z:function(){return n}});var n={path:"/presets/cookies",method:r(8700).RouteHttpVerb.GET}},7419:function(e,t,r){r.d(t,{t:function(){return n}});var n={path:"/presets/cookies/:identifier",method:r(8700).RouteHttpVerb.GET}},6778:function(e,t,r){r.d(t,{Z:function(){return n}});var n={path:"/revision/:hash",method:r(8700).RouteHttpVerb.GET}},6799:function(e,t,r){r.d(t,{G:function(){return n}});var n={path:"/revision/current",method:r(8700).RouteHttpVerb.GET}},8064:function(e,t,r){r.d(t,{a:function(){return n}});var n={path:"/revision/current",method:r(8700).RouteHttpVerb.PUT}},3985:function(e,t,r){r.d(t,{T:function(){return n}});var n={path:"/revision/independent/:hash",method:r(8700).RouteHttpVerb.GET}},102:function(e,t,r){r.d(t,{k:function(){return n}});var n={path:"/scanner/queue",method:r(8700).RouteHttpVerb.POST}},6964:function(e,t,r){r.d(t,{M:function(){return n}});var n={path:"/scanner/result/externals/:type/:identifier",method:r(8700).RouteHttpVerb.GET}},4788:function(e,t,r){r.d(t,{M:function(){return n}});var n={path:"/scanner/result/externals",method:r(8700).RouteHttpVerb.GET}},4375:function(e,t,r){r.d(t,{C:function(){return n}});var n={path:"/scanner/result/externals/:host",method:r(8700).RouteHttpVerb.PUT}},4531:function(e,t,r){r.d(t,{$:function(){return n}});var n={path:"/scanner/result/markup/:id",method:r(8700).RouteHttpVerb.GET}},9977:function(e,t,r){r.d(t,{e:function(){return n}});var n={path:"/scanner/result/presets",method:r(8700).RouteHttpVerb.GET}},4137:function(e,t,r){r.d(t,{Y:function(){return n}});var n={path:"/tcf/declarations",method:r(8700).RouteHttpVerb.GET}},6692:function(e,t,r){r.d(t,{y:function(){return n}});var n={path:"/tcf/gvl",method:r(8700).RouteHttpVerb.PUT}},184:function(e,t,r){r.d(t,{f:function(){return n}});var n={path:"/tcf/vendors",method:r(8700).RouteHttpVerb.GET}},74:function(e,t,r){r.d(t,{g:function(){return n}});var n={path:"/settings",namespace:"wp/v2",method:r(8700).RouteHttpVerb.GET}},939:function(e,t,r){r.d(t,{J:function(){return n}});var n={path:"/settings",namespace:"wp/v2",method:r(8700).RouteHttpVerb.PATCH}},9738:function(){},1696: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:"3b4fe157c7e12ac410f7",138:"a24289d31884d8ce0880",184:"4b0a625df34fbb327135",193:"ce7e07933bcbf069b690",296:"8b20000a1adc023e1b28",322:"c6c2710d6e50430499cd",357:"2605a6782399361261ee",379:"886ba4064c1f63584048",411:"49967c6ebf6317fa7624",440:"abce2a866d4b5996c6bb",478:"250a3fbc66198cd1b7ed",547:"7b5925702aa799ec461c",625:"4da355ef33562f29add1",717:"730891213175f653cc90",718:"badf214fad5e8955f90e",728:"91d02ab85ad640c1bab5",768:"135f8a14d42be7f7eafb",784:"3e247b3a85b948fd2241",795:"ef626740f77410656823",813:"db259738faaaada66048",914:"2979ca58d101a6abfbf5",930:"2f5a69377c784e62c401",954:"07834ea3d146ab79e80d"}[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(h);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)},h=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(3162)}));a=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,GACpHD,EAAmB7oB,QAAQwoB,EAAqBpB,KAAK,KAAM,IAC3DyB,EAAmBznB,KAAOonB,EAAqBpB,KAAK,KAAMyB,EAAmBznB,KAAKgmB,KAAKyB,I,GCpFvF,IAAIE,EAAsBxE,EAAoBK,OAAEt6B,EAAW,CAAC,MAAM,WAAa,OAAOi6B,EAAoB,SAC1GwE,EAAsBxE,EAAoBK,EAAEmE,G","sources":["webpack:///webpack/runtime/chunk loaded","webpack:///webpack/runtime/load script","webpack:///../../backends/real-cookie-banner-backend/src/types/service/tcf.ts","webpack:///../../common-packages/headless-content-unblocker/src/utils/isUrl.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/learnMoreTag.tsx","webpack:///./src/public/ts/components/postTypeSelect.tsx","webpack:///../../common-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/getOptionsFromWindow.tsx","webpack:///./src/public/ts/utils/getOtherOptionsFromWindow.tsx","webpack:///./src/public/ts/utils/i18n.tsx","webpack:///./src/public/ts/utils/reactNl2Br.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/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 _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\";\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 isPro = _useStores.optionStore.others.isPro;\n\n var isInfo = !isPro && needsPro;\n var extraContent = null;\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 extraContent = /*#__PURE__*/React.createElement(_Tag, null, __(\"Currently scanning (%d %%)\", scanPercent));\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), !!link && !!linkText && /*#__PURE__*/React.createElement(React.Fragment, null, \"\\xA0\\xA0\\u2022\\xA0\\xA0\", /*#__PURE__*/React.createElement(\"a\", {\n href: link,\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\"))), !!extraContent && /*#__PURE__*/React.createElement(React.Fragment, null, \"\\xA0\", extraContent), !!description && !checked && /*#__PURE__*/React.createElement(\"p\", {\n className: \"description\",\n style: {\n paddingLeft: 17\n }\n }, description));\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 _Input from \"antd/es/input\";\nimport _Radio from \"antd/es/radio\";\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 refreshSiteAfterConsent = _useStores$optionStor.refreshSiteAfterConsent,\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: __(\"Refresh site after consent\"),\n style: {\n /**\n * This functionality is deprecated as it is in general not needed. We want to avoid\n * that users activate this feature, but we keep it active for BC.\n */\n display: refreshSiteAfterConsent ? undefined : \"none\"\n }\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"refreshSiteAfterConsent\",\n noStyle: true\n }, /*#__PURE__*/React.createElement(_Radio.Group, null, /*#__PURE__*/React.createElement(_Radio.Button, {\n value: false\n }, __(\"Do not refresh\")), /*#__PURE__*/React.createElement(_Radio.Button, {\n value: true\n }, __(\"Refresh\")))), /*#__PURE__*/React.createElement(\"p\", {\n className: \"description\"\n }, __(\"Depending on how services are loaded, e.g. by other plugins on your website, it may be necessary to reload the website after the user has consented to the setting of cookies (only necessary in very rare cases).\"))), /*#__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 _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 `&#39;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, reactNl2Br } from \"../utils\";\nimport { ProModalHint } from \".\";\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 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), \"_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 : 600,\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)));\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;\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, \"dnt\", _descriptor14, this);\n\n _initializerDefineProperty(this, \"custom_bypass\", _descriptor15, this);\n\n _initializerDefineProperty(this, \"user_country\", _descriptor16, this);\n\n _initializerDefineProperty(this, \"revision_hash\", _descriptor17, this);\n\n _initializerDefineProperty(this, \"revision_independent_hash\", _descriptor18, this);\n\n _initializerDefineProperty(this, \"button_clicked\", _descriptor19, this);\n\n _initializerDefineProperty(this, \"context\", _descriptor20, this);\n\n _initializerDefineProperty(this, \"viewport_width\", _descriptor21, this);\n\n _initializerDefineProperty(this, \"viewport_height\", _descriptor22, this);\n\n _initializerDefineProperty(this, \"viewed_page\", _descriptor23, this);\n\n _initializerDefineProperty(this, \"url_imprint\", _descriptor24, this);\n\n _initializerDefineProperty(this, \"url_privacy_policy\", _descriptor25, this);\n\n _initializerDefineProperty(this, \"forwarded\", _descriptor26, this);\n\n _initializerDefineProperty(this, \"forwarded_blocker\", _descriptor27, this);\n\n _initializerDefineProperty(this, \"tcf_string\", _descriptor28, 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, \"dnt\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor15 = _applyDecoratedDescriptor(_class.prototype, \"custom_bypass\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor16 = _applyDecoratedDescriptor(_class.prototype, \"user_country\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor17 = _applyDecoratedDescriptor(_class.prototype, \"revision_hash\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor18 = _applyDecoratedDescriptor(_class.prototype, \"revision_independent_hash\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor19 = _applyDecoratedDescriptor(_class.prototype, \"button_clicked\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor20 = _applyDecoratedDescriptor(_class.prototype, \"context\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor21 = _applyDecoratedDescriptor(_class.prototype, \"viewport_width\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor22 = _applyDecoratedDescriptor(_class.prototype, \"viewport_height\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor23 = _applyDecoratedDescriptor(_class.prototype, \"viewed_page\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor24 = _applyDecoratedDescriptor(_class.prototype, \"url_imprint\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor25 = _applyDecoratedDescriptor(_class.prototype, \"url_privacy_policy\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor26 = _applyDecoratedDescriptor(_class.prototype, \"forwarded\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor27 = _applyDecoratedDescriptor(_class.prototype, \"forwarded_blocker\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor28 = _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;\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 } 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, \"needsRevisionRetrigger\", _descriptor3, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"publicCookieCount\", _descriptor4, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"allCookieCount\", _descriptor5, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"allBlockerCount\", _descriptor6, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"allTcfVendorConfigurationCount\", _descriptor7, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"allScannerResultPresetsCount\", _descriptor8, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"allScannerResultExternalUrlsCount\", _descriptor9, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"cookieCounts\", _descriptor10, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"tcfVendorConfigurationCounts\", _descriptor11, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"hasGTM\", _descriptor12, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"hasMTM\", _descriptor13, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"contexts\", _descriptor14, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"dashboardMigration\", _descriptor15, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"bannerActive\", _descriptor16, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"blockerActive\", _descriptor17, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"refreshSiteAfterConsent\", _descriptor18, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"imprintId\", _descriptor19, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"imprintExternalUrl\", _descriptor20, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"imprintIsExternalUrl\", _descriptor21, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"privacyPolicyId\", _descriptor22, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"privacyPolicyExternalUrl\", _descriptor23, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"privacyPolicyIsExternalUrl\", _descriptor24, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"hidePageIds\", _descriptor25, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"setCookiesViaManager\", _descriptor26, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"acceptAllForBots\", _descriptor27, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"respectDoNotTrack\", _descriptor28, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"cookieDuration\", _descriptor29, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"saveIp\", _descriptor30, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"ePrivacyUSA\", _descriptor31, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"ageNotice\", _descriptor32, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"consentForwarding\", _descriptor33, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"forwardTo\", _descriptor34, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"crossDomains\", _descriptor35, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"affiliateLink\", _descriptor36, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"affiliateLabelBehind\", _descriptor37, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"affiliateLabelDescription\", _descriptor38, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"countryBypass\", _descriptor39, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"countryBypassCountries\", _descriptor40, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"countryBypassType\", _descriptor41, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"countryBypassDbDownloadTime\", _descriptor42, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"tcf\", _descriptor43, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"tcfPublisherCc\", _descriptor44, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"tcfAcceptedTime\", _descriptor45, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"tcfGvlDownloadTime\", _descriptor46, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"tcfScopeOfConsent\", _descriptor47, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"others\", _descriptor48, _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.refreshSiteAfterConsent = result[\"rcb-refresh-site-after-consent\"];\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.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, refreshSiteAfterConsent, imprintId, privacyPolicyId, hidePageIds, setCookiesViaManager, acceptAllForBots, respectDoNotTrack, cookieDuration, saveIp, ePrivacyUSA, ageNotice, 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, refreshSiteAfterConsent = _ref.refreshSiteAfterConsent, 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, 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 }), refreshSiteAfterConsent === undefined ? {} : {\n \"rcb-refresh-site-after-consent\": refreshSiteAfterConsent\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 }), 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.updateCountryBypassDatabase = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee8() {\n var _yield$request, dbDownloadTime;\n\n return _regeneratorRuntime.wrap(function _callee8$(_context8) {\n while (1) {\n switch (_context8.prev = _context8.next) {\n case 0:\n this.busyCountryBypassUpdate = true;\n _context8.prev = 1;\n _context8.next = 4;\n return request({\n location: locationRestCountryBypassDatabasePut\n });\n\n case 4:\n _yield$request = _context8.sent;\n dbDownloadTime = _yield$request.dbDownloadTime;\n this.countryBypassDbDownloadTime = dbDownloadTime;\n _context8.next = 13;\n break;\n\n case 9:\n _context8.prev = 9;\n _context8.t0 = _context8[\"catch\"](1);\n console.log(_context8.t0);\n throw _context8.t0;\n\n case 13:\n _context8.prev = 13;\n this.busyCountryBypassUpdate = false;\n return _context8.finish(13);\n\n case 16:\n case \"end\":\n return _context8.stop();\n }\n }\n }, _callee8, 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 /**\n * Refresh site after consent.\n *\n * @deprecated See #m9dey3\n */\n\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 tcf_vendor_configuration_counts = _ref2.tcf_vendor_configuration_counts,\n dashboardMigration = _ref2.dashboardMigration;\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.tcfVendorConfigurationCounts = tcf_vendor_configuration_counts;\n this.contexts = contexts;\n this.dashboardMigration = dashboardMigration;\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, \"needsRevisionRetrigger\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"publicCookieCount\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return 0;\n }\n}), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"allCookieCount\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return 0;\n }\n}), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"allBlockerCount\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return 0;\n }\n}), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"allTcfVendorConfigurationCount\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return 0;\n }\n}), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"allScannerResultPresetsCount\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return 0;\n }\n}), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"allScannerResultExternalUrlsCount\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return 0;\n }\n}), _descriptor10 = _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}), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"tcfVendorConfigurationCounts\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"hasGTM\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"hasMTM\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, \"contexts\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return {\n \"\": \"\"\n };\n }\n}), _descriptor15 = _applyDecoratedDescriptor(_class.prototype, \"dashboardMigration\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor16 = _applyDecoratedDescriptor(_class.prototype, \"bannerActive\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor17 = _applyDecoratedDescriptor(_class.prototype, \"blockerActive\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor18 = _applyDecoratedDescriptor(_class.prototype, \"refreshSiteAfterConsent\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function initializer() {\n return false;\n }\n}), _descriptor19 = _applyDecoratedDescriptor(_class.prototype, \"imprintId\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor20 = _applyDecoratedDescriptor(_class.prototype, \"imprintExternalUrl\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor21 = _applyDecoratedDescriptor(_class.prototype, \"imprintIsExternalUrl\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor22 = _applyDecoratedDescriptor(_class.prototype, \"privacyPolicyId\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor23 = _applyDecoratedDescriptor(_class.prototype, \"privacyPolicyExternalUrl\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor24 = _applyDecoratedDescriptor(_class.prototype, \"privacyPolicyIsExternalUrl\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor25 = _applyDecoratedDescriptor(_class.prototype, \"hidePageIds\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor26 = _applyDecoratedDescriptor(_class.prototype, \"setCookiesViaManager\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor27 = _applyDecoratedDescriptor(_class.prototype, \"acceptAllForBots\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor28 = _applyDecoratedDescriptor(_class.prototype, \"respectDoNotTrack\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor29 = _applyDecoratedDescriptor(_class.prototype, \"cookieDuration\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor30 = _applyDecoratedDescriptor(_class.prototype, \"saveIp\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor31 = _applyDecoratedDescriptor(_class.prototype, \"ePrivacyUSA\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor32 = _applyDecoratedDescriptor(_class.prototype, \"ageNotice\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor33 = _applyDecoratedDescriptor(_class.prototype, \"consentForwarding\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor34 = _applyDecoratedDescriptor(_class.prototype, \"forwardTo\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor35 = _applyDecoratedDescriptor(_class.prototype, \"crossDomains\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor36 = _applyDecoratedDescriptor(_class.prototype, \"affiliateLink\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor37 = _applyDecoratedDescriptor(_class.prototype, \"affiliateLabelBehind\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor38 = _applyDecoratedDescriptor(_class.prototype, \"affiliateLabelDescription\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor39 = _applyDecoratedDescriptor(_class.prototype, \"countryBypass\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor40 = _applyDecoratedDescriptor(_class.prototype, \"countryBypassCountries\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor41 = _applyDecoratedDescriptor(_class.prototype, \"countryBypassType\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor42 = _applyDecoratedDescriptor(_class.prototype, \"countryBypassDbDownloadTime\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor43 = _applyDecoratedDescriptor(_class.prototype, \"tcf\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor44 = _applyDecoratedDescriptor(_class.prototype, \"tcfPublisherCc\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor45 = _applyDecoratedDescriptor(_class.prototype, \"tcfAcceptedTime\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor46 = _applyDecoratedDescriptor(_class.prototype, \"tcfGvlDownloadTime\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor47 = _applyDecoratedDescriptor(_class.prototype, \"tcfScopeOfConsent\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor48 = _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 };","/**\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 };","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 };","/* 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}; // Also ported to rest/Consent.php","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 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\":\"3b4fe157c7e12ac410f7\",\"138\":\"a24289d31884d8ce0880\",\"184\":\"4b0a625df34fbb327135\",\"193\":\"ce7e07933bcbf069b690\",\"296\":\"8b20000a1adc023e1b28\",\"322\":\"c6c2710d6e50430499cd\",\"357\":\"2605a6782399361261ee\",\"379\":\"605886044d2ba559dae2\",\"411\":\"49967c6ebf6317fa7624\",\"440\":\"abce2a866d4b5996c6bb\",\"478\":\"250a3fbc66198cd1b7ed\",\"547\":\"7b5925702aa799ec461c\",\"625\":\"4da355ef33562f29add1\",\"717\":\"730891213175f653cc90\",\"718\":\"badf214fad5e8955f90e\",\"728\":\"91d02ab85ad640c1bab5\",\"768\":\"a851e276e36dcd2cb64c\",\"784\":\"3e247b3a85b948fd2241\",\"795\":\"ef626740f77410656823\",\"813\":\"db259738faaaada66048\",\"914\":\"2979ca58d101a6abfbf5\",\"930\":\"2f5a69377c784e62c401\",\"954\":\"07834ea3d146ab79e80d\"}[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__(3162); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["deferred","inProgress","dataWebpackPrefix","ETcfGvlDisclosureType","ETcfGvlLanguage","isUrl","url","test","_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","createElement","locale","DashboardChecklistItem","_ref","id","checked","title","description","link","linkText","linkTarget","needsPro","onLinkClick","isInfo","optionStore","others","isPro","extraContent","_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","map","_ref2","rest","key","e","indexOf","toggleChecklistItem","MANAGER_GTM_LABEL","MANAGER_MTM_LABEL","SettingsFormGeneral","_useStores$optionStor","refreshSiteAfterConsent","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","value","labelCol","span","wrapperCol","marginBottom","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","LearnMoreTag","_ref$style","_ref$label","useStyle","PostTypeSelect","_ref$postStatus","_ref$perPage","_onChange","onChange","_ref$titleRender","titleRender","rendered","_ref$filter","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$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","tag","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","split","_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","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","i","_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","join","full","spaces","namespaces","_descriptor29","_descriptor30","_descriptor31","_descriptor32","_descriptor33","_descriptor34","_descriptor35","_descriptor36","_descriptor37","_descriptor38","_descriptor39","_descriptor40","_descriptor41","_descriptor42","_descriptor43","_descriptor44","_descriptor45","_descriptor46","_descriptor47","_descriptor48","OptionStore","pureSlug","pureSlugCamelCased","setFrom","blockerActive","imprintId","privacyPolicyId","hidePageIds","acceptAllForBots","respectDoNotTrack","cookieDuration","saveIp","ePrivacyUSA","ageNotice","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","updateCountryBypassDatabase","_callee8","dbDownloadTime","_context8","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","tcf_vendor_configuration_counts","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","Math","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","getOptionsFromWindow","g","FACTORY_MEMO","createLocalizationFactory","_n","_get","_get4","_get5","newlineRegex","reactNl2Br","text","line","index","match","createRequestFactory","urlBuilder","_get2","body","scrollTop","truncateMiddle","str","maxLength","separator","sepLen","charsToShow","frontChars","backChars","floor","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","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","appendChild","Symbol","toStringTag","nmd","paths","scriptUrl","importScripts","currentScript","p","installedChunks","installedChunkData","promise","resolve","reject","error","errorType","realSrc","message","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,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GACrD8P,EAAI2c,EAASx4B,OAAQ6b,IACzB0d,EAAUf,EAAS3c,GAChBqc,EAAoBmB,EAAEqC,EAAiBnC,IAAYmC,EAAgBnC,IACrEmC,EAAgBnC,GAAS,KAE1BmC,EAAgBlD,EAAS3c,IAAM,EAEhC,OAAOqc,EAAoBK,EAAEjc,IAG1BkgB,EAAqBC,KAAyC,mCAAIA,KAAyC,oCAAK,GACpHD,EAAmB7oB,QAAQwoB,EAAqBpB,KAAK,KAAM,IAC3DyB,EAAmBznB,KAAOonB,EAAqBpB,KAAK,KAAMyB,EAAmBznB,KAAKgmB,KAAKyB,I,GCpFvF,IAAIE,EAAsBxE,EAAoBK,OAAEt6B,EAAW,CAAC,MAAM,WAAa,OAAOi6B,EAAoB,SAC1GwE,EAAsBxE,EAAoBK,EAAEmE,G","sources":["webpack:///webpack/runtime/chunk loaded","webpack:///webpack/runtime/load script","webpack:///../../backends/real-cookie-banner-backend/src/types/service/tcf.ts","webpack:///../../common-packages/headless-content-unblocker/src/utils/isUrl.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/learnMoreTag.tsx","webpack:///./src/public/ts/components/postTypeSelect.tsx","webpack:///../../common-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/getOptionsFromWindow.tsx","webpack:///./src/public/ts/utils/getOtherOptionsFromWindow.tsx","webpack:///./src/public/ts/utils/i18n.tsx","webpack:///./src/public/ts/utils/reactNl2Br.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/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 _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\";\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 isPro = _useStores.optionStore.others.isPro;\n\n var isInfo = !isPro && needsPro;\n var extraContent = null;\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 extraContent = /*#__PURE__*/React.createElement(_Tag, null, __(\"Currently scanning (%d %%)\", scanPercent));\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), !!link && !!linkText && /*#__PURE__*/React.createElement(React.Fragment, null, \"\\xA0\\xA0\\u2022\\xA0\\xA0\", /*#__PURE__*/React.createElement(\"a\", {\n href: link,\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\"))), !!extraContent && /*#__PURE__*/React.createElement(React.Fragment, null, \"\\xA0\", extraContent), !!description && !checked && /*#__PURE__*/React.createElement(\"p\", {\n className: \"description\",\n style: {\n paddingLeft: 17\n }\n }, description));\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 _Input from \"antd/es/input\";\nimport _Radio from \"antd/es/radio\";\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 refreshSiteAfterConsent = _useStores$optionStor.refreshSiteAfterConsent,\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: __(\"Refresh site after consent\"),\n style: {\n /**\n * This functionality is deprecated as it is in general not needed. We want to avoid\n * that users activate this feature, but we keep it active for BC.\n */\n display: refreshSiteAfterConsent ? undefined : \"none\"\n }\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"refreshSiteAfterConsent\",\n noStyle: true\n }, /*#__PURE__*/React.createElement(_Radio.Group, null, /*#__PURE__*/React.createElement(_Radio.Button, {\n value: false\n }, __(\"Do not refresh\")), /*#__PURE__*/React.createElement(_Radio.Button, {\n value: true\n }, __(\"Refresh\")))), /*#__PURE__*/React.createElement(\"p\", {\n className: \"description\"\n }, __(\"Depending on how services are loaded, e.g. by other plugins on your website, it may be necessary to reload the website after the user has consented to the setting of cookies (only necessary in very rare cases).\"))), /*#__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 _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 `&#39;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, reactNl2Br } from \"../utils\";\nimport { ProModalHint } from \".\";\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 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), \"_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 : 600,\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)));\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;\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, \"dnt\", _descriptor14, this);\n\n _initializerDefineProperty(this, \"custom_bypass\", _descriptor15, this);\n\n _initializerDefineProperty(this, \"user_country\", _descriptor16, this);\n\n _initializerDefineProperty(this, \"revision_hash\", _descriptor17, this);\n\n _initializerDefineProperty(this, \"revision_independent_hash\", _descriptor18, this);\n\n _initializerDefineProperty(this, \"button_clicked\", _descriptor19, this);\n\n _initializerDefineProperty(this, \"context\", _descriptor20, this);\n\n _initializerDefineProperty(this, \"viewport_width\", _descriptor21, this);\n\n _initializerDefineProperty(this, \"viewport_height\", _descriptor22, this);\n\n _initializerDefineProperty(this, \"viewed_page\", _descriptor23, this);\n\n _initializerDefineProperty(this, \"url_imprint\", _descriptor24, this);\n\n _initializerDefineProperty(this, \"url_privacy_policy\", _descriptor25, this);\n\n _initializerDefineProperty(this, \"forwarded\", _descriptor26, this);\n\n _initializerDefineProperty(this, \"forwarded_blocker\", _descriptor27, this);\n\n _initializerDefineProperty(this, \"tcf_string\", _descriptor28, 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, \"dnt\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor15 = _applyDecoratedDescriptor(_class.prototype, \"custom_bypass\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor16 = _applyDecoratedDescriptor(_class.prototype, \"user_country\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor17 = _applyDecoratedDescriptor(_class.prototype, \"revision_hash\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor18 = _applyDecoratedDescriptor(_class.prototype, \"revision_independent_hash\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor19 = _applyDecoratedDescriptor(_class.prototype, \"button_clicked\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor20 = _applyDecoratedDescriptor(_class.prototype, \"context\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor21 = _applyDecoratedDescriptor(_class.prototype, \"viewport_width\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor22 = _applyDecoratedDescriptor(_class.prototype, \"viewport_height\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor23 = _applyDecoratedDescriptor(_class.prototype, \"viewed_page\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor24 = _applyDecoratedDescriptor(_class.prototype, \"url_imprint\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor25 = _applyDecoratedDescriptor(_class.prototype, \"url_privacy_policy\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor26 = _applyDecoratedDescriptor(_class.prototype, \"forwarded\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor27 = _applyDecoratedDescriptor(_class.prototype, \"forwarded_blocker\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor28 = _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;\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 } 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, \"needsRevisionRetrigger\", _descriptor3, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"publicCookieCount\", _descriptor4, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"allCookieCount\", _descriptor5, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"allBlockerCount\", _descriptor6, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"allTcfVendorConfigurationCount\", _descriptor7, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"allScannerResultPresetsCount\", _descriptor8, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"allScannerResultExternalUrlsCount\", _descriptor9, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"cookieCounts\", _descriptor10, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"tcfVendorConfigurationCounts\", _descriptor11, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"hasGTM\", _descriptor12, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"hasMTM\", _descriptor13, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"contexts\", _descriptor14, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"dashboardMigration\", _descriptor15, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"bannerActive\", _descriptor16, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"blockerActive\", _descriptor17, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"refreshSiteAfterConsent\", _descriptor18, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"imprintId\", _descriptor19, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"imprintExternalUrl\", _descriptor20, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"imprintIsExternalUrl\", _descriptor21, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"privacyPolicyId\", _descriptor22, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"privacyPolicyExternalUrl\", _descriptor23, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"privacyPolicyIsExternalUrl\", _descriptor24, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"hidePageIds\", _descriptor25, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"setCookiesViaManager\", _descriptor26, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"acceptAllForBots\", _descriptor27, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"respectDoNotTrack\", _descriptor28, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"cookieDuration\", _descriptor29, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"saveIp\", _descriptor30, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"ePrivacyUSA\", _descriptor31, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"ageNotice\", _descriptor32, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"consentForwarding\", _descriptor33, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"forwardTo\", _descriptor34, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"crossDomains\", _descriptor35, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"affiliateLink\", _descriptor36, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"affiliateLabelBehind\", _descriptor37, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"affiliateLabelDescription\", _descriptor38, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"countryBypass\", _descriptor39, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"countryBypassCountries\", _descriptor40, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"countryBypassType\", _descriptor41, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"countryBypassDbDownloadTime\", _descriptor42, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"tcf\", _descriptor43, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"tcfPublisherCc\", _descriptor44, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"tcfAcceptedTime\", _descriptor45, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"tcfGvlDownloadTime\", _descriptor46, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"tcfScopeOfConsent\", _descriptor47, _assertThisInitialized(_this));\n\n _initializerDefineProperty(_this, \"others\", _descriptor48, _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.refreshSiteAfterConsent = result[\"rcb-refresh-site-after-consent\"];\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.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, refreshSiteAfterConsent, imprintId, privacyPolicyId, hidePageIds, setCookiesViaManager, acceptAllForBots, respectDoNotTrack, cookieDuration, saveIp, ePrivacyUSA, ageNotice, 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, refreshSiteAfterConsent = _ref.refreshSiteAfterConsent, 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, 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 }), refreshSiteAfterConsent === undefined ? {} : {\n \"rcb-refresh-site-after-consent\": refreshSiteAfterConsent\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 }), 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.updateCountryBypassDatabase = flow( /*#__PURE__*/_regeneratorRuntime.mark(function _callee8() {\n var _yield$request, dbDownloadTime;\n\n return _regeneratorRuntime.wrap(function _callee8$(_context8) {\n while (1) {\n switch (_context8.prev = _context8.next) {\n case 0:\n this.busyCountryBypassUpdate = true;\n _context8.prev = 1;\n _context8.next = 4;\n return request({\n location: locationRestCountryBypassDatabasePut\n });\n\n case 4:\n _yield$request = _context8.sent;\n dbDownloadTime = _yield$request.dbDownloadTime;\n this.countryBypassDbDownloadTime = dbDownloadTime;\n _context8.next = 13;\n break;\n\n case 9:\n _context8.prev = 9;\n _context8.t0 = _context8[\"catch\"](1);\n console.log(_context8.t0);\n throw _context8.t0;\n\n case 13:\n _context8.prev = 13;\n this.busyCountryBypassUpdate = false;\n return _context8.finish(13);\n\n case 16:\n case \"end\":\n return _context8.stop();\n }\n }\n }, _callee8, 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 /**\