Complianz – GDPR/CCPA Cookie Consent - Version 6.3.4

Version Description

  • Security update: sanitize translation file string, props @saggre
  • New: Google Maps colibri integration
  • New: WP Google Maps OpenLayers Integration
  • New: Content Views Plugin integration to allow for ajax loaded content
  • New: ActiveCampaign
  • Improvement: some optimizations to make the cookie shredder perform better
  • Improvement: extend translation options for cookies that are not synced with cookiedatabase when using polylang
  • Improvement: use custom thrive hook in certain custom thrive implementations
  • Improvement: also copy 'owndomain' property when creating a cookie in a new language
  • Improvement: regenerate proof of consent pdf on plugin update
  • Improvement: do not offer checkbox on cookie policy for Google Fonts
  • Improvement: extend Matomo Tag Manager integration
  • Improvement: for created directories, set permissions default to 755
  • Improvement: add filter cmplz_banner_html to manage consent area as well, to offer consistent editing of the html
  • Improvement: also change banner status with custom revoke button on status change
  • Improvement: force redirect in firefox to reload with full consent withdrawal, as firefox seems to cache loaded scripts
  • Improvement: bundle integration activation notices
  • Improvement: Updated Google Maps Easy integration
  • Fix: Incorrect sorting of Proof of Consent files prevented them from showing up in the list
  • Fix: update qTranslate integration to allow for banner fields with $field['text'] strings, props @sviluppomania
  • Fix: cookie policy UK not replacing the cookiedatabase.org link because of too many arguments in sprintf
Download this release

Release Info

Developer RogierLankhorst
Plugin Icon 128x128 Complianz – GDPR/CCPA Cookie Consent
Version 6.3.4
Comparing to
See all releases

Code changes from version 6.3.3 to 6.3.4

Files changed (57) hide show
  1. DNSMPD/dnsmpd.js +0 -40
  2. DNSMPD/dnsmpd.min.js +0 -1
  3. assets/css/admin.css +68 -15
  4. assets/css/cookieblocker.css +12 -3
  5. assets/css/document-grid.css +3 -4
  6. assets/css/document-grid.css.map +1 -1
  7. assets/css/document-grid.less +1 -0
  8. assets/css/document-grid.min.css +1 -1
  9. assets/css/document.css +2 -7
  10. assets/css/document.css.map +1 -1
  11. assets/css/document.min.css +1 -1
  12. assets/css/wizard.css +43 -78
  13. assets/css/wizard.less +1 -1
  14. assets/js/admin.js +0 -3
  15. assets/js/admin.min.js +1 -1
  16. assets/js/dashboard.min.js +1 -1
  17. callback-notices.php +0 -1
  18. class-admin.php +7 -2
  19. class-cookie-blocker.php +2 -2
  20. class-document.php +5 -4
  21. class-export.php +3 -0
  22. class-wizard.php +51 -4
  23. complianz-gpdr.php +2 -2
  24. config/class-config.php +1 -0
  25. config/documents/cookie-policy-uk.php +4 -4
  26. config/documents/cookie-policy-us.php +1 -1
  27. config/general-settings.php +1 -1
  28. cookie/class-cookie.php +9 -8
  29. cookiebanner/class-cookiebanner.php +2 -2
  30. cookiebanner/css/categories.less +0 -133
  31. cookiebanner/css/cookieblocker.css.map +0 -0
  32. cookiebanner/css/variables.less +0 -40
  33. cookiebanner/js/complianz.js +56 -36
  34. cookiebanner/js/complianz.min.js +1 -1
  35. functions.php +16 -6
  36. gulpfile.js +85 -0
  37. integrations/integrations.php +21 -3
  38. integrations/plugins/activecampaign.php +35 -0
  39. integrations/plugins/colibriwp.php +47 -0
  40. integrations/plugins/content-views-plugin.php +6 -0
  41. integrations/plugins/easy-digital-downloads.php +0 -6
  42. integrations/plugins/google-maps-easy.php +6 -0
  43. integrations/plugins/lazy-loader.php +2 -2
  44. integrations/plugins/mailchimp-woocommerce.php +2 -0
  45. integrations/plugins/thrive.php +76 -1
  46. integrations/plugins/wp-google-maps.php +16 -74
  47. integrations/plugins/wp-rocket.php +2 -2
  48. integrations/statistics/google-tagmanager.php +0 -20
  49. languages/complianz-gdpr.pot +17 -17
  50. proof-of-consent/class-cookiestatement-snapshot-table.php +4 -19
  51. proof-of-consent/class-proof-of-consent.php +14 -10
  52. readme.txt +25 -2
  53. rest-api/rest-api.php +1 -1
  54. templates/dashboard/footer.php +0 -7
  55. templates/do-not-sell-my-personal-data-form.php +0 -24
  56. templates/statistics/matomo-tag-manager.js +14 -0
  57. upgrade.php +2 -0
DNSMPD/dnsmpd.js DELETED
@@ -1,40 +0,0 @@
1
- jQuery(document).ready(function ($) {
2
- 'use strict';
3
- $(document).on('click', '.cmplz-dnsmpd .close',function(){
4
- $(this).parent().hide();
5
- });
6
- $(document).on('click', '#cmplz-dnsmpd-submit', function(){
7
- var email = $('#cmplz_dnsmpd_email').val();
8
- var name = $('#cmplz_dnsmpd_name').val();
9
- var firstname = $('#cmplz_dnsmpd_firstname').val();
10
- /**
11
- * Fire an event so we can hook into this
12
- * @type {CustomEvent}
13
- */
14
- var event = new CustomEvent('cmplz_dnsmpi_submit', { detail: status });
15
- document.dispatchEvent(event);
16
- $.ajax({
17
- type: "POST",
18
- url: cmplz_dnsmpd.url,
19
- dataType: 'json',
20
- data: ({
21
- action: 'cmplz_send_dnsmpd_request',
22
- email : email,
23
- name : name,
24
- firstname : firstname
25
- }),
26
- success: function (response) {
27
-
28
- $('.cmplz-dnsmpd.alert #message').html(response.message);
29
- if (response.success) {
30
- $('#cmplz-dnsmpd-form').hide();
31
- $('.cmplz-dnsmpd.alert').removeClass('error').addClass('success').show();
32
- } else {
33
- $('.cmplz-dnsmpd.alert').removeClass('success').addClass('error').show();
34
- }
35
- }
36
- });
37
- });
38
-
39
-
40
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
DNSMPD/dnsmpd.min.js DELETED
@@ -1 +0,0 @@
1
- jQuery(document).ready(function($){"use strict";$(document).on("click",".cmplz-dnsmpd .close",function(){$(this).parent().hide()});$(document).on("click","#cmplz-dnsmpd-submit",function(){var email=$("#cmplz_dnsmpd_email").val();var name=$("#cmplz_dnsmpd_name").val();var firstname=$("#cmplz_dnsmpd_firstname").val();var event=new CustomEvent("cmplz_dnsmpi_submit",{detail:status});document.dispatchEvent(event);$.ajax({type:"POST",url:cmplz_dnsmpd.url,dataType:"json",data:{action:"cmplz_send_dnsmpd_request",email:email,name:name,firstname:firstname},success:function(response){$(".cmplz-dnsmpd.alert #message").html(response.message);if(response.success){$("#cmplz-dnsmpd-form").hide();$(".cmplz-dnsmpd.alert").removeClass("error").addClass("success").show()}else{$(".cmplz-dnsmpd.alert").removeClass("success").addClass("error").show()}}})})});
 
assets/css/admin.css CHANGED
@@ -300,6 +300,7 @@
300
  .cmplz .cmplz-grid {
301
  display: grid;
302
  grid-template-columns: repeat(4, calc(25% - var(--rsp-spacing-s)) [col-start]);
 
303
  grid-auto-rows: max-content;
304
  gap: var(--rsp-grid-gap);
305
  min-height: calc(100vh - 32px - 80px - 20px - var(--rsp-grid-gap));
@@ -501,7 +502,22 @@
501
  transition: transform 0.1s ease-in;
502
  }
503
  .cmplz-copy-shortcode.cmplz-click-animation .cmplz-icon {
504
- animation: beat 0.4s ease-out;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
505
  }
506
  @keyframes beat {
507
  0% {
@@ -734,7 +750,6 @@ Admin notice
734
  right: 0;
735
  bottom: 0;
736
  background-color: #ccc;
737
- -webkit-transition: 0.4s;
738
  transition: 0.4s;
739
  }
740
  .cmplz .cmplz-slider:before {
@@ -745,7 +760,6 @@ Admin notice
745
  left: 4px;
746
  bottom: 3px;
747
  background-color: white;
748
- -webkit-transition: 0.4s;
749
  transition: 0.4s;
750
  }
751
  .cmplz .cmplz-slider.cmplz-round {
@@ -762,7 +776,6 @@ Admin notice
762
  right: 0;
763
  bottom: 0;
764
  background-color: #ccc;
765
- -webkit-transition: 0.4s;
766
  transition: 0.4s;
767
  }
768
  .cmplz .cmplz-slider-na:before {
@@ -777,8 +790,6 @@ Admin notice
777
  background-color: var(--rsp-wp-blue);
778
  }
779
  .cmplz input:checked + .cmplz-slider:before {
780
- -webkit-transform: translateX(17px);
781
- -ms-transform: translateX(17px);
782
  transform: translateX(17px);
783
  }
784
  .cmplz input:checked:disabled + .cmplz-slider {
@@ -812,9 +823,21 @@ Admin notice
812
  .cmplz .cmplz-bullet.rsp-blue-yellow {
813
  background: var(--rsp-blue);
814
  background: linear-gradient(77deg, #29b6f6 0%, #29b6f6 30%, #f4bf3e 70%, #f4bf3e 100%);
815
- animation: gradient 2s ease infinite;
 
816
  background-size: 200% 200%;
817
  }
 
 
 
 
 
 
 
 
 
 
 
818
  @keyframes gradient {
819
  0% {
820
  background-position: 0% 50%;
@@ -873,11 +896,9 @@ Admin notice
873
  /* iOS Safari */
874
  -webkit-user-select: all;
875
  /* Safari */
876
- -khtml-user-select: all;
877
  /* Konqueror HTML */
878
  -moz-user-select: all;
879
  /* Firefox */
880
- -ms-user-select: all;
881
  /* Internet Explorer/Edge */
882
  user-select: all;
883
  /* Chrome and Opera */
@@ -984,7 +1005,8 @@ Admin notice
984
  .cmplz-dashboard .cmplz-progress-bar .cmplz-progress-bar-value,
985
  .cmplz-dashboard .cmplz-sync-progress-bar .cmplz-progress-bar-value {
986
  border-radius: 5px;
987
- animation: cmplz-load-progress-bar 3s normal forwards;
 
988
  box-shadow: 0 10px 40px -10px #fff;
989
  background: var(--rsp-color-success);
990
  height: 20px;
@@ -1186,9 +1208,15 @@ Admin notice
1186
  color: var(--rsp-black);
1187
  font-size: 13px;
1188
  }
 
 
 
1189
  #complianz.wrap.cmplz-high-contrast ::placeholder {
1190
  color: var(--rsp-black);
1191
  }
 
 
 
1192
  #complianz.wrap.cmplz-high-contrast ::placeholder {
1193
  color: var(--rsp-black);
1194
  }
@@ -1230,7 +1258,9 @@ Admin notice
1230
  [cmplz-tooltip]::after {
1231
  text-transform: none;
1232
  font-size: 13px;
1233
- user-select: none;
 
 
1234
  pointer-events: none;
1235
  position: absolute;
1236
  display: none;
@@ -1333,12 +1363,24 @@ Admin notice
1333
  min-width: 150px;
1334
  }
1335
  /* KEYFRAMES */
 
 
 
 
 
 
1336
  @keyframes tooltips-vert {
1337
  to {
1338
  opacity: 0.9;
1339
  transform: translate(-50%, 0);
1340
  }
1341
  }
 
 
 
 
 
 
1342
  @keyframes tooltips-horz {
1343
  to {
1344
  opacity: 0.9;
@@ -1358,7 +1400,8 @@ Admin notice
1358
  [cmplz-tooltip][flow^="down"]:focus::before,
1359
  [cmplz-tooltip][flow^="down"]:hover::after,
1360
  [cmplz-tooltip][flow^="down"]:focus::after {
1361
- animation: tooltips-vert 300ms ease-out forwards;
 
1362
  }
1363
  [cmplz-tooltip][flow^="left"]:hover::before,
1364
  [cmplz-tooltip][flow^="left"]:focus::before,
@@ -1368,7 +1411,8 @@ Admin notice
1368
  [cmplz-tooltip][flow^="right"]:focus::before,
1369
  [cmplz-tooltip][flow^="right"]:hover::after,
1370
  [cmplz-tooltip][flow^="right"]:focus::after {
1371
- animation: tooltips-horz 300ms ease-out forwards;
 
1372
  }
1373
  .cmplz .cmplz-other-plugins .rsp-logo img {
1374
  height: 34px;
@@ -1410,6 +1454,8 @@ Admin notice
1410
  --rsp-other-plugins-color: var(--rsp-yellow);
1411
  }
1412
  .cmplz .cmplz-other-plugins-container .cmplz-other-plugins-element a {
 
 
1413
  width: max-content;
1414
  color: var(--rsp-text-color-light);
1415
  transition: color 0.3s ease;
@@ -1439,6 +1485,8 @@ Admin notice
1439
  text-overflow: ellipsis;
1440
  }
1441
  .cmplz .cmplz-other-plugins-container .cmplz-other-plugins-element .cmplz-other-plugin-status {
 
 
1442
  min-width: fit-content;
1443
  }
1444
  .cmplz-suggested-plugin {
@@ -1569,7 +1617,13 @@ Admin notice
1569
  background-position: 0 0, /* highlight */ 1px 1px, 1px 40px, 1px 79px, 1px 118px;
1570
  background-color: #d6d8db;
1571
  border-right: 1px solid #d6d8db;
1572
- animation: shine 2.5s infinite;
 
 
 
 
 
 
1573
  }
1574
  @keyframes shine {
1575
  to {
@@ -1641,4 +1695,3 @@ Admin notice
1641
  --rsp-brand-secondary: var(--rsp-yellow);
1642
  --rsp-brand-primary-faded: var(--rsp-blue-faded);
1643
  }
1644
- /*# sourceMappingURL=admin.css.map */
300
  .cmplz .cmplz-grid {
301
  display: grid;
302
  grid-template-columns: repeat(4, calc(25% - var(--rsp-spacing-s)) [col-start]);
303
+ grid-auto-rows: -webkit-max-content;
304
  grid-auto-rows: max-content;
305
  gap: var(--rsp-grid-gap);
306
  min-height: calc(100vh - 32px - 80px - 20px - var(--rsp-grid-gap));
502
  transition: transform 0.1s ease-in;
503
  }
504
  .cmplz-copy-shortcode.cmplz-click-animation .cmplz-icon {
505
+ -webkit-animation: beat 0.4s ease-out;
506
+ animation: beat 0.4s ease-out;
507
+ }
508
+ @-webkit-keyframes beat {
509
+ 0% {
510
+ transform: scale(1);
511
+ }
512
+ 50% {
513
+ transform: scale(0.8);
514
+ }
515
+ 95% {
516
+ transform: scale(1.1);
517
+ }
518
+ 100% {
519
+ transform: scale(1);
520
+ }
521
  }
522
  @keyframes beat {
523
  0% {
750
  right: 0;
751
  bottom: 0;
752
  background-color: #ccc;
 
753
  transition: 0.4s;
754
  }
755
  .cmplz .cmplz-slider:before {
760
  left: 4px;
761
  bottom: 3px;
762
  background-color: white;
 
763
  transition: 0.4s;
764
  }
765
  .cmplz .cmplz-slider.cmplz-round {
776
  right: 0;
777
  bottom: 0;
778
  background-color: #ccc;
 
779
  transition: 0.4s;
780
  }
781
  .cmplz .cmplz-slider-na:before {
790
  background-color: var(--rsp-wp-blue);
791
  }
792
  .cmplz input:checked + .cmplz-slider:before {
 
 
793
  transform: translateX(17px);
794
  }
795
  .cmplz input:checked:disabled + .cmplz-slider {
823
  .cmplz .cmplz-bullet.rsp-blue-yellow {
824
  background: var(--rsp-blue);
825
  background: linear-gradient(77deg, #29b6f6 0%, #29b6f6 30%, #f4bf3e 70%, #f4bf3e 100%);
826
+ -webkit-animation: gradient 2s ease infinite;
827
+ animation: gradient 2s ease infinite;
828
  background-size: 200% 200%;
829
  }
830
+ @-webkit-keyframes gradient {
831
+ 0% {
832
+ background-position: 0% 50%;
833
+ }
834
+ 50% {
835
+ background-position: 100% 50%;
836
+ }
837
+ 100% {
838
+ background-position: 0% 50%;
839
+ }
840
+ }
841
  @keyframes gradient {
842
  0% {
843
  background-position: 0% 50%;
896
  /* iOS Safari */
897
  -webkit-user-select: all;
898
  /* Safari */
 
899
  /* Konqueror HTML */
900
  -moz-user-select: all;
901
  /* Firefox */
 
902
  /* Internet Explorer/Edge */
903
  user-select: all;
904
  /* Chrome and Opera */
1005
  .cmplz-dashboard .cmplz-progress-bar .cmplz-progress-bar-value,
1006
  .cmplz-dashboard .cmplz-sync-progress-bar .cmplz-progress-bar-value {
1007
  border-radius: 5px;
1008
+ -webkit-animation: cmplz-load-progress-bar 3s normal forwards;
1009
+ animation: cmplz-load-progress-bar 3s normal forwards;
1010
  box-shadow: 0 10px 40px -10px #fff;
1011
  background: var(--rsp-color-success);
1012
  height: 20px;
1208
  color: var(--rsp-black);
1209
  font-size: 13px;
1210
  }
1211
+ #complianz.wrap.cmplz-high-contrast ::-moz-placeholder {
1212
+ color: var(--rsp-black);
1213
+ }
1214
  #complianz.wrap.cmplz-high-contrast ::placeholder {
1215
  color: var(--rsp-black);
1216
  }
1217
+ #complianz.wrap.cmplz-high-contrast ::-moz-placeholder {
1218
+ color: var(--rsp-black);
1219
+ }
1220
  #complianz.wrap.cmplz-high-contrast ::placeholder {
1221
  color: var(--rsp-black);
1222
  }
1258
  [cmplz-tooltip]::after {
1259
  text-transform: none;
1260
  font-size: 13px;
1261
+ -webkit-user-select: none;
1262
+ -moz-user-select: none;
1263
+ user-select: none;
1264
  pointer-events: none;
1265
  position: absolute;
1266
  display: none;
1363
  min-width: 150px;
1364
  }
1365
  /* KEYFRAMES */
1366
+ @-webkit-keyframes tooltips-vert {
1367
+ to {
1368
+ opacity: 0.9;
1369
+ transform: translate(-50%, 0);
1370
+ }
1371
+ }
1372
  @keyframes tooltips-vert {
1373
  to {
1374
  opacity: 0.9;
1375
  transform: translate(-50%, 0);
1376
  }
1377
  }
1378
+ @-webkit-keyframes tooltips-horz {
1379
+ to {
1380
+ opacity: 0.9;
1381
+ transform: translate(0, -50%);
1382
+ }
1383
+ }
1384
  @keyframes tooltips-horz {
1385
  to {
1386
  opacity: 0.9;
1400
  [cmplz-tooltip][flow^="down"]:focus::before,
1401
  [cmplz-tooltip][flow^="down"]:hover::after,
1402
  [cmplz-tooltip][flow^="down"]:focus::after {
1403
+ -webkit-animation: tooltips-vert 300ms ease-out forwards;
1404
+ animation: tooltips-vert 300ms ease-out forwards;
1405
  }
1406
  [cmplz-tooltip][flow^="left"]:hover::before,
1407
  [cmplz-tooltip][flow^="left"]:focus::before,
1411
  [cmplz-tooltip][flow^="right"]:focus::before,
1412
  [cmplz-tooltip][flow^="right"]:hover::after,
1413
  [cmplz-tooltip][flow^="right"]:focus::after {
1414
+ -webkit-animation: tooltips-horz 300ms ease-out forwards;
1415
+ animation: tooltips-horz 300ms ease-out forwards;
1416
  }
1417
  .cmplz .cmplz-other-plugins .rsp-logo img {
1418
  height: 34px;
1454
  --rsp-other-plugins-color: var(--rsp-yellow);
1455
  }
1456
  .cmplz .cmplz-other-plugins-container .cmplz-other-plugins-element a {
1457
+ width: -webkit-max-content;
1458
+ width: -moz-max-content;
1459
  width: max-content;
1460
  color: var(--rsp-text-color-light);
1461
  transition: color 0.3s ease;
1485
  text-overflow: ellipsis;
1486
  }
1487
  .cmplz .cmplz-other-plugins-container .cmplz-other-plugins-element .cmplz-other-plugin-status {
1488
+ min-width: -webkit-fit-content;
1489
+ min-width: -moz-fit-content;
1490
  min-width: fit-content;
1491
  }
1492
  .cmplz-suggested-plugin {
1617
  background-position: 0 0, /* highlight */ 1px 1px, 1px 40px, 1px 79px, 1px 118px;
1618
  background-color: #d6d8db;
1619
  border-right: 1px solid #d6d8db;
1620
+ -webkit-animation: shine 2.5s infinite;
1621
+ animation: shine 2.5s infinite;
1622
+ }
1623
+ @-webkit-keyframes shine {
1624
+ to {
1625
+ background-position: 100% 0, /* move highlight to right */ 1px 1px, 1px 40px, 1px 79px, 1px 118px;
1626
+ }
1627
  }
1628
  @keyframes shine {
1629
  to {
1695
  --rsp-brand-secondary: var(--rsp-yellow);
1696
  --rsp-brand-primary-faded: var(--rsp-blue-faded);
1697
  }
 
assets/css/cookieblocker.css CHANGED
@@ -18,8 +18,10 @@
18
  }
19
  .cmplz-blocked-content-container,
20
  .cmplz-wp-video {
21
- animation-name: cmplz-fadein;
22
- animation-duration: 600ms;
 
 
23
  background: #FFF;
24
  border: 0;
25
  border-radius: 3px;
@@ -113,6 +115,14 @@
113
  width: 100%;
114
  height: inherit;
115
  }
 
 
 
 
 
 
 
 
116
  @keyframes cmplz-fadein {
117
  from {
118
  opacity: 0;
@@ -121,4 +131,3 @@
121
  opacity: 1;
122
  }
123
  }
124
- /*# sourceMappingURL=cookieblocker.css.map */
18
  }
19
  .cmplz-blocked-content-container,
20
  .cmplz-wp-video {
21
+ -webkit-animation-name: cmplz-fadein;
22
+ animation-name: cmplz-fadein;
23
+ -webkit-animation-duration: 600ms;
24
+ animation-duration: 600ms;
25
  background: #FFF;
26
  border: 0;
27
  border-radius: 3px;
115
  width: 100%;
116
  height: inherit;
117
  }
118
+ @-webkit-keyframes cmplz-fadein {
119
+ from {
120
+ opacity: 0;
121
+ }
122
+ to {
123
+ opacity: 1;
124
+ }
125
+ }
126
  @keyframes cmplz-fadein {
127
  from {
128
  opacity: 0;
131
  opacity: 1;
132
  }
133
  }
 
assets/css/document-grid.css CHANGED
@@ -7,6 +7,7 @@
7
  .cmplz-obfuscate {
8
  direction: rtl;
9
  unicode-bidi: bidi-override;
 
10
  }
11
  #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories summary {
12
  display: block;
@@ -62,6 +63,8 @@
62
  #cmplz-document .cmplz-dropdown summary div:after {
63
  grid-area: chevron;
64
  }
 
 
65
  #cmplz-cookies-overview .cmplz-dropdown summary div input[data-category="functional"],
66
  #cmplz-document .cmplz-dropdown summary div input[data-category="functional"] {
67
  visibility: hidden;
@@ -197,9 +200,6 @@
197
  content: '';
198
  background: var(--cmplz_category_open_icon_url) no-repeat;
199
  transform: rotate(0deg);
200
- -webkit-transition: all 0.5s ease;
201
- -moz-transition: all 0.5s ease;
202
- -o-transition: all 0.5s ease;
203
  transition: all 0.5s ease;
204
  background-size: cover;
205
  height: 25px;
@@ -212,4 +212,3 @@
212
  #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category[open] summary .cmplz-icon.cmplz-open {
213
  transform: rotate(180deg);
214
  }
215
- /*# sourceMappingURL=document-grid.css.map */
7
  .cmplz-obfuscate {
8
  direction: rtl;
9
  unicode-bidi: bidi-override;
10
+ white-space: nowrap;
11
  }
12
  #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories summary {
13
  display: block;
63
  #cmplz-document .cmplz-dropdown summary div:after {
64
  grid-area: chevron;
65
  }
66
+ #cmplz-cookies-overview .cmplz-dropdown summary div input[data-service="google-fonts"],
67
+ #cmplz-document .cmplz-dropdown summary div input[data-service="google-fonts"],
68
  #cmplz-cookies-overview .cmplz-dropdown summary div input[data-category="functional"],
69
  #cmplz-document .cmplz-dropdown summary div input[data-category="functional"] {
70
  visibility: hidden;
200
  content: '';
201
  background: var(--cmplz_category_open_icon_url) no-repeat;
202
  transform: rotate(0deg);
 
 
 
203
  transition: all 0.5s ease;
204
  background-size: cover;
205
  height: 25px;
212
  #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category[open] summary .cmplz-icon.cmplz-open {
213
  transform: rotate(180deg);
214
  }
 
assets/css/document-grid.css.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["document-grid.less"],"names":[],"mappings":"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","file":"document-grid.css"}
1
+ {"version":3,"sources":["document-grid.less"],"names":[],"mappings":"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","file":"document-grid.css"}
assets/css/document-grid.less CHANGED
@@ -56,6 +56,7 @@
56
  &:after{
57
  grid-area: chevron;
58
  }
 
59
  input[data-category="functional"] {
60
  visibility:hidden;
61
  }
56
  &:after{
57
  grid-area: chevron;
58
  }
59
+ input[data-service="google-fonts"],
60
  input[data-category="functional"] {
61
  visibility:hidden;
62
  }
assets/css/document-grid.min.css CHANGED
@@ -1 +1 @@
1
- #cmplz-manage-consent-container{display:none}.cmplz-obfuscate{direction:rtl;unicode-bidi:bidi-override}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories summary{display:block;cursor:pointer}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories summary::-webkit-details-marker,#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories summary::marker{display:none;content:''}#cmplz-cookies-overview .cmplz-dropdown .cmplz-service-description,#cmplz-document .cmplz-dropdown .cmplz-service-description,#cmplz-cookies-overview .cmplz-dropdown .cmplz-sharing-data,#cmplz-document .cmplz-dropdown .cmplz-sharing-data{display:inline-block;width:calc(50% - 35px);vertical-align:top}@media only screen and (max-width:600px){#cmplz-cookies-overview .cmplz-dropdown .cmplz-service-description,#cmplz-document .cmplz-dropdown .cmplz-service-description,#cmplz-cookies-overview .cmplz-dropdown .cmplz-sharing-data,#cmplz-document .cmplz-dropdown .cmplz-sharing-data{width:100%}}#cmplz-cookies-overview .cmplz-dropdown summary,#cmplz-document .cmplz-dropdown summary{display:block;cursor:pointer}#cmplz-cookies-overview .cmplz-dropdown summary::-webkit-details-marker,#cmplz-document .cmplz-dropdown summary::-webkit-details-marker,#cmplz-cookies-overview .cmplz-dropdown summary::marker,#cmplz-document .cmplz-dropdown summary::marker{display:none;content:''}#cmplz-cookies-overview .cmplz-dropdown summary div,#cmplz-document .cmplz-dropdown summary div{display:grid;grid-template:"heading chevron";grid-template-columns:2fr 25px;grid-gap:15px;align-items:center}#cmplz-cookies-overview .cmplz-dropdown summary div h3,#cmplz-document .cmplz-dropdown summary div h3{grid-area:heading;margin:0}#cmplz-cookies-overview .cmplz-dropdown summary div:after,#cmplz-document .cmplz-dropdown summary div:after{grid-area:chevron}#cmplz-cookies-overview .cmplz-dropdown summary div input[data-category="functional"],#cmplz-document .cmplz-dropdown summary div input[data-category="functional"]{visibility:hidden}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary{display:block}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary div,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary div{grid-template:"heading paragraph checkbox chevron";grid-template-columns:2fr auto auto 25px}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary div p,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary div p{grid-area:paragraph}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose{display:grid}@media only screen and (min-width:600px){#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose{grid-column:span 2;grid-template-columns:1fr 1fr 1fr;grid-template:"purpose purpose purpose" "header1 header2 header3" auto}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .purpose,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .purpose{grid-area:purpose}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .name-header,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .name-header{grid-area:header1}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .retention-header,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .retention-header{grid-area:header2}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .function-header,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .function-header{grid-area:header3}}@media only screen and (max-width:600px){#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose{grid-template-columns:100px 1fr}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .purpose,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .purpose{grid-column:span 2}}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories{margin-top:10px;display:block;width:100%}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category{background-color:rgba(239,239,239,0.25)}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category summary::marker{display:none;content:''}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category summary::-webkit-details-marker{display:none;content:''}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-description{padding:10px}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category:not(:last-child){margin-bottom:5px}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header{display:grid;grid-template-columns:1fr auto 25px;grid-template-rows:auto;align-items:center;grid-gap:10px;padding:5px 10px;background-color:rgba(239,239,239,0.5)}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header section{padding:initial}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header h2{grid-column-start:1;width:100%;justify-self:start;font-size:18px;text-align:left;margin-top:8px;text-transform:initial;padding-bottom:10px;border-bottom:0;margin-bottom:0}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header h2:before{height:0;margin:initial}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-always-active{font-size:var(--cmplz_category_header_active_font_size);color:var(--cmplz_category_header_always_active_color)}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-always-active label,#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-always-active input{display:none}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header label>span{display:none}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-banner-checkbox{display:flex;align-items:center;margin:0;padding:initial}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-icon.cmplz-open{display:flex;align-items:center;justify-content:center;grid-column-start:3;cursor:pointer;content:'';background:var(--cmplz_category_open_icon_url) no-repeat;transform:rotate(0);-webkit-transition:all .5s ease;-moz-transition:all .5s ease;-o-transition:all .5s ease;transition:all .5s ease;background-size:cover;height:25px;width:25px}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category[open]{padding-bottom:1px}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category[open] summary .cmplz-category-header:after,#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category[open] summary .cmplz-icon.cmplz-open{transform:rotate(180deg)}
1
+ #cmplz-manage-consent-container{display:none}.cmplz-obfuscate{direction:rtl;unicode-bidi:bidi-override;white-space:nowrap}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories summary{display:block;cursor:pointer}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories summary::-webkit-details-marker,#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories summary::marker{display:none;content:''}#cmplz-cookies-overview .cmplz-dropdown .cmplz-service-description,#cmplz-document .cmplz-dropdown .cmplz-service-description,#cmplz-cookies-overview .cmplz-dropdown .cmplz-sharing-data,#cmplz-document .cmplz-dropdown .cmplz-sharing-data{display:inline-block;width:calc(50% - 35px);vertical-align:top}@media only screen and (max-width:600px){#cmplz-cookies-overview .cmplz-dropdown .cmplz-service-description,#cmplz-document .cmplz-dropdown .cmplz-service-description,#cmplz-cookies-overview .cmplz-dropdown .cmplz-sharing-data,#cmplz-document .cmplz-dropdown .cmplz-sharing-data{width:100%}}#cmplz-cookies-overview .cmplz-dropdown summary,#cmplz-document .cmplz-dropdown summary{display:block;cursor:pointer}#cmplz-cookies-overview .cmplz-dropdown summary::-webkit-details-marker,#cmplz-document .cmplz-dropdown summary::-webkit-details-marker,#cmplz-cookies-overview .cmplz-dropdown summary::marker,#cmplz-document .cmplz-dropdown summary::marker{display:none;content:''}#cmplz-cookies-overview .cmplz-dropdown summary div,#cmplz-document .cmplz-dropdown summary div{display:grid;grid-template:"heading chevron";grid-template-columns:2fr 25px;grid-gap:15px;align-items:center}#cmplz-cookies-overview .cmplz-dropdown summary div h3,#cmplz-document .cmplz-dropdown summary div h3{grid-area:heading;margin:0}#cmplz-cookies-overview .cmplz-dropdown summary div:after,#cmplz-document .cmplz-dropdown summary div:after{grid-area:chevron}#cmplz-cookies-overview .cmplz-dropdown summary div input[data-service="google-fonts"],#cmplz-document .cmplz-dropdown summary div input[data-service="google-fonts"],#cmplz-cookies-overview .cmplz-dropdown summary div input[data-category="functional"],#cmplz-document .cmplz-dropdown summary div input[data-category="functional"]{visibility:hidden}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary{display:block}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary div,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary div{grid-template:"heading paragraph checkbox chevron";grid-template-columns:2fr auto auto 25px}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary div p,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary div p{grid-area:paragraph}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose{display:grid}@media only screen and (min-width:600px){#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose{grid-column:span 2;grid-template-columns:1fr 1fr 1fr;grid-template:"purpose purpose purpose" "header1 header2 header3" auto}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .purpose,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .purpose{grid-area:purpose}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .name-header,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .name-header{grid-area:header1}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .retention-header,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .retention-header{grid-area:header2}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .function-header,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .function-header{grid-area:header3}}@media only screen and (max-width:600px){#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose{grid-template-columns:100px 1fr}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .purpose,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .purpose{grid-column:span 2}}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories{margin-top:10px;display:block;width:100%}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category{background-color:rgba(239,239,239,0.25)}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category summary::marker{display:none;content:''}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category summary::-webkit-details-marker{display:none;content:''}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-description{padding:10px}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category:not(:last-child){margin-bottom:5px}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header{display:grid;grid-template-columns:1fr auto 25px;grid-template-rows:auto;align-items:center;grid-gap:10px;padding:5px 10px;background-color:rgba(239,239,239,0.5)}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header section{padding:initial}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header h2{grid-column-start:1;width:100%;justify-self:start;font-size:18px;text-align:left;margin-top:8px;text-transform:initial;padding-bottom:10px;border-bottom:0;margin-bottom:0}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header h2:before{height:0;margin:initial}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-always-active{font-size:var(--cmplz_category_header_active_font_size);color:var(--cmplz_category_header_always_active_color)}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-always-active label,#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-always-active input{display:none}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header label>span{display:none}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-banner-checkbox{display:flex;align-items:center;margin:0;padding:initial}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-icon.cmplz-open{display:flex;align-items:center;justify-content:center;grid-column-start:3;cursor:pointer;content:'';background:var(--cmplz_category_open_icon_url) no-repeat;transform:rotate(0);-webkit-transition:all .5s ease;-moz-transition:all .5s ease;-o-transition:all .5s ease;transition:all .5s ease;background-size:cover;height:25px;width:25px}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category[open]{padding-bottom:1px}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category[open] summary .cmplz-category-header:after,#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category[open] summary .cmplz-icon.cmplz-open{transform:rotate(180deg)}
assets/css/document.css CHANGED
@@ -63,6 +63,8 @@
63
  #cmplz-document .cmplz-dropdown summary div:after {
64
  grid-area: chevron;
65
  }
 
 
66
  #cmplz-cookies-overview .cmplz-dropdown summary div input[data-category="functional"],
67
  #cmplz-document .cmplz-dropdown summary div input[data-category="functional"] {
68
  visibility: hidden;
@@ -198,9 +200,6 @@
198
  content: '';
199
  background: var(--cmplz_category_open_icon_url) no-repeat;
200
  transform: rotate(0deg);
201
- -webkit-transition: all 0.5s ease;
202
- -moz-transition: all 0.5s ease;
203
- -o-transition: all 0.5s ease;
204
  transition: all 0.5s ease;
205
  background-size: cover;
206
  height: 25px;
@@ -417,9 +416,6 @@
417
  content: '';
418
  background: url(../images/chevron-down.svg) no-repeat;
419
  transform: rotate(0deg);
420
- -webkit-transition: all 0.5s ease;
421
- -moz-transition: all 0.5s ease;
422
- -o-transition: all 0.5s ease;
423
  transition: all 0.5s ease;
424
  background-size: cover;
425
  height: 18px;
@@ -495,4 +491,3 @@
495
  background-color: #f7f7f7;
496
  }
497
  }
498
- /*# sourceMappingURL=document.css.map */
63
  #cmplz-document .cmplz-dropdown summary div:after {
64
  grid-area: chevron;
65
  }
66
+ #cmplz-cookies-overview .cmplz-dropdown summary div input[data-service="google-fonts"],
67
+ #cmplz-document .cmplz-dropdown summary div input[data-service="google-fonts"],
68
  #cmplz-cookies-overview .cmplz-dropdown summary div input[data-category="functional"],
69
  #cmplz-document .cmplz-dropdown summary div input[data-category="functional"] {
70
  visibility: hidden;
200
  content: '';
201
  background: var(--cmplz_category_open_icon_url) no-repeat;
202
  transform: rotate(0deg);
 
 
 
203
  transition: all 0.5s ease;
204
  background-size: cover;
205
  height: 25px;
416
  content: '';
417
  background: url(../images/chevron-down.svg) no-repeat;
418
  transform: rotate(0deg);
 
 
 
419
  transition: all 0.5s ease;
420
  background-size: cover;
421
  height: 18px;
491
  background-color: #f7f7f7;
492
  }
493
  }
 
assets/css/document.css.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["document-grid.less","document.less"],"names":[],"mappings":"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","file":"document.css"}
1
+ {"version":3,"sources":["document-grid.less","document.less"],"names":[],"mappings":"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","file":"document.css"}
assets/css/document.min.css CHANGED
@@ -1 +1 @@
1
- #cmplz-manage-consent-container{display:none}.cmplz-obfuscate{direction:rtl;unicode-bidi:bidi-override;white-space:nowrap}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories summary{display:block;cursor:pointer}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories summary::-webkit-details-marker,#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories summary::marker{display:none;content:''}#cmplz-cookies-overview .cmplz-dropdown .cmplz-service-description,#cmplz-document .cmplz-dropdown .cmplz-service-description,#cmplz-cookies-overview .cmplz-dropdown .cmplz-sharing-data,#cmplz-document .cmplz-dropdown .cmplz-sharing-data{display:inline-block;width:calc(50% - 35px);vertical-align:top}@media only screen and (max-width:600px){#cmplz-cookies-overview .cmplz-dropdown .cmplz-service-description,#cmplz-document .cmplz-dropdown .cmplz-service-description,#cmplz-cookies-overview .cmplz-dropdown .cmplz-sharing-data,#cmplz-document .cmplz-dropdown .cmplz-sharing-data{width:100%}}#cmplz-cookies-overview .cmplz-dropdown summary,#cmplz-document .cmplz-dropdown summary{display:block;cursor:pointer}#cmplz-cookies-overview .cmplz-dropdown summary::-webkit-details-marker,#cmplz-document .cmplz-dropdown summary::-webkit-details-marker,#cmplz-cookies-overview .cmplz-dropdown summary::marker,#cmplz-document .cmplz-dropdown summary::marker{display:none;content:''}#cmplz-cookies-overview .cmplz-dropdown summary div,#cmplz-document .cmplz-dropdown summary div{display:grid;grid-template:"heading chevron";grid-template-columns:2fr 25px;grid-gap:15px;align-items:center}#cmplz-cookies-overview .cmplz-dropdown summary div h3,#cmplz-document .cmplz-dropdown summary div h3{grid-area:heading;margin:0}#cmplz-cookies-overview .cmplz-dropdown summary div:after,#cmplz-document .cmplz-dropdown summary div:after{grid-area:chevron}#cmplz-cookies-overview .cmplz-dropdown summary div input[data-category="functional"],#cmplz-document .cmplz-dropdown summary div input[data-category="functional"]{visibility:hidden}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary{display:block}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary div,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary div{grid-template:"heading paragraph checkbox chevron";grid-template-columns:2fr auto auto 25px}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary div p,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary div p{grid-area:paragraph}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose{display:grid}@media only screen and (min-width:600px){#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose{grid-column:span 2;grid-template-columns:1fr 1fr 1fr;grid-template:"purpose purpose purpose" "header1 header2 header3" auto}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .purpose,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .purpose{grid-area:purpose}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .name-header,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .name-header{grid-area:header1}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .retention-header,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .retention-header{grid-area:header2}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .function-header,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .function-header{grid-area:header3}}@media only screen and (max-width:600px){#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose{grid-template-columns:100px 1fr}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .purpose,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .purpose{grid-column:span 2}}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories{margin-top:10px;display:block;width:100%}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category{background-color:rgba(239,239,239,0.25)}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category summary::marker{display:none;content:''}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category summary::-webkit-details-marker{display:none;content:''}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-description{padding:10px}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category:not(:last-child){margin-bottom:5px}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header{display:grid;grid-template-columns:1fr auto 25px;grid-template-rows:auto;align-items:center;grid-gap:10px;padding:5px 10px;background-color:rgba(239,239,239,0.5)}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header section{padding:initial}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header h2{grid-column-start:1;width:100%;justify-self:start;font-size:18px;text-align:left;margin-top:8px;text-transform:initial;padding-bottom:10px;border-bottom:0;margin-bottom:0}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header h2:before{height:0;margin:initial}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-always-active{font-size:var(--cmplz_category_header_active_font_size);color:var(--cmplz_category_header_always_active_color)}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-always-active label,#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-always-active input{display:none}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header label>span{display:none}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-banner-checkbox{display:flex;align-items:center;margin:0;padding:initial}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-icon.cmplz-open{display:flex;align-items:center;justify-content:center;grid-column-start:3;cursor:pointer;content:'';background:var(--cmplz_category_open_icon_url) no-repeat;transform:rotate(0);-webkit-transition:all .5s ease;-moz-transition:all .5s ease;-o-transition:all .5s ease;transition:all .5s ease;background-size:cover;height:25px;width:25px}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category[open]{padding-bottom:1px}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category[open] summary .cmplz-category-header:after,#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category[open] summary .cmplz-icon.cmplz-open{transform:rotate(180deg)}.postbox #cmplz-document{margin:auto auto}#cmplz-document{font-size:14px;margin-top:0;max-width:800px;text-justify:inter-word}#cmplz-document input::-moz-focus-inner,#cmplz-document button::-moz-focus-inner{border:0;padding:0}#cmplz-document a{text-decoration:underline}#cmplz-document a[target="_blank"]::after{content:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAQElEQVR42qXKwQkAIAxDUUdxtO6/RBQkQZvSi8I/pL4BoGw/XPkh4XigPmsUgh0626AjRsgxHTkUThsG2T/sIlzdTsp52kSS1wAAAABJRU5ErkJggg==);margin:0 3px 0 5px}#cmplz-document a:focus{border:1px solid black;padding:2px}#cmplz-document #cmplz-dnsmpd-form label{margin-right:20px;min-width:100px;display:inline-block}#cmplz-document .cmplz-alert{display:none;padding:7px;color:white;margin:10px 0}#cmplz-document .cmplz-alert.cmplz-error{background-color:#f44336}#cmplz-document .cmplz-alert.cmplz-success{background-color:green}#cmplz-document .cmplz-close{margin-left:15px;color:white;font-weight:bold;float:right;font-size:22px;line-height:20px;cursor:pointer;transition:.3s}#cmplz-document .cmplz-close:hover{color:black}#cmplz-document h2,#cmplz-document h3{font-size:22px;text-align:left;margin-top:15px;text-transform:initial;padding-bottom:10px;margin-bottom:10px}#cmplz-document.impressum h2,#cmplz-document.impressum h3{border-bottom:0;font-size:1em;padding-bottom:5px;margin-bottom:5px}#cmplz-document.impressum p{margin-bottom:7px}#cmplz-document h4{font-size:18px;text-align:left;margin-top:15px;margin-bottom:5px;text-transform:initial}#cmplz-document h5{font-size:14px;text-align:left;margin-top:10px;margin-bottom:5px;text-transform:initial}#cmplz-document h3.annex,#cmplz-document h4.annex{font-weight:bold}#cmplz-document span h3{font-size:14px;border-bottom:0}#cmplz-document p,#cmplz-document li,#cmplz-document td{font-size:14px;margin-top:0}#cmplz-document ol.alphabetic{counter-reset:list;list-style-type:none}#cmplz-document ol.alphabetic li:before{font-weight:bold;content:counter(list,lower-alpha) ") ";counter-increment:list}#cmplz-document ul{list-style:disc;margin-left:15px;margin-bottom:15px}#cmplz-document ol.alphabetic ol{counter-reset:list;list-style-type:none}#cmplz-document ol.alphabetic ol li:before{font-weight:bold;content:counter(list,decimal) ") ";counter-increment:list}#cmplz-document .cmplz-subtitle{font-weight:bold;margin-top:25px}#cmplz-document .cmplz-indent{margin-left:36px}#cmplz-cookies-overview .cmplz-dropdown,#cmplz-document .cmplz-dropdown{background-color:rgba(239,239,239,0.25)}#cmplz-cookies-overview .cmplz-dropdown h4,#cmplz-document .cmplz-dropdown h4{font-size:18px;text-align:left;margin-top:15px;margin-bottom:5px;text-transform:initial}#cmplz-cookies-overview .cmplz-dropdown p,#cmplz-document .cmplz-dropdown p,#cmplz-cookies-overview .cmplz-dropdown a,#cmplz-document .cmplz-dropdown a{font-size:14px;margin-top:0}#cmplz-cookies-overview .cmplz-dropdown p,#cmplz-document .cmplz-dropdown p,#cmplz-cookies-overview .cmplz-dropdown h4,#cmplz-document .cmplz-dropdown h4,#cmplz-cookies-overview .cmplz-dropdown ul,#cmplz-document .cmplz-dropdown ul{padding:0 15px}#cmplz-cookies-overview .cmplz-dropdown p.legal-obligations-description,#cmplz-document .cmplz-dropdown p.legal-obligations-description{padding-bottom:15px}#cmplz-cookies-overview .cmplz-dropdown summary::marker,#cmplz-document .cmplz-dropdown summary::marker{display:none;content:''}#cmplz-cookies-overview .cmplz-dropdown summary::-webkit-details-marker,#cmplz-document .cmplz-dropdown summary::-webkit-details-marker{display:none;content:''}#cmplz-cookies-overview .cmplz-dropdown summary,#cmplz-document .cmplz-dropdown summary{display:block;background-color:rgba(239,239,239,0.5);margin:5px 0;padding:5px 10px;align-items:center;justify-items:stretch}#cmplz-cookies-overview .cmplz-dropdown summary h3,#cmplz-document .cmplz-dropdown summary h3{padding:0 5px;font-size:18px;border-bottom:0}#cmplz-cookies-overview .cmplz-dropdown summary p,#cmplz-document .cmplz-dropdown summary p{text-align:right;padding:0;margin:0;font-size:14px;border-bottom:0}#cmplz-cookies-overview .cmplz-dropdown summary div:after,#cmplz-document .cmplz-dropdown summary div:after{cursor:pointer;content:'';background:url(../images/chevron-down.svg) no-repeat;transform:rotate(0);-webkit-transition:all .5s ease;-moz-transition:all .5s ease;-o-transition:all .5s ease;transition:all .5s ease;background-size:cover;height:18px;width:18px;margin:3px}#cmplz-cookies-overview .cmplz-dropdown[open],#cmplz-document .cmplz-dropdown[open]{padding-bottom:1px}#cmplz-cookies-overview .cmplz-dropdown[open] summary div:after,#cmplz-document .cmplz-dropdown[open] summary div:after{transform:rotate(180deg)}#cmplz-cookies-overview .cmplz-dropdown h4,#cmplz-document .cmplz-dropdown h4{font-size:15px;margin:5px 0}#cmplz-cookies-overview .cmplz-dropdown h5,#cmplz-document .cmplz-dropdown h5{margin:0}#cmplz-cookies-overview .cmplz-dropdown .cmplz-service-description,#cmplz-document .cmplz-dropdown .cmplz-service-description,#cmplz-cookies-overview .cmplz-dropdown .cmplz-sharing-data,#cmplz-document .cmplz-dropdown .cmplz-sharing-data{padding:0 15px 15px}#cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose,#cmplz-document .cmplz-dropdown .cookies-per-purpose{border:1px solid #dadada;grid-gap:1px;background-color:#dadada;margin-bottom:10px}#cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose div,#cmplz-document .cmplz-dropdown .cookies-per-purpose div{background-color:white;padding:15px}@media only screen and (min-width:600px){#cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose .name-header,#cmplz-document .cmplz-dropdown .cookies-per-purpose .name-header{background-color:#f7f7f7}#cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose .retention-header,#cmplz-document .cmplz-dropdown .cookies-per-purpose .retention-header{background-color:#f7f7f7}#cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose .function-header,#cmplz-document .cmplz-dropdown .cookies-per-purpose .function-header{background-color:#f7f7f7}}@media only screen and (max-width:600px){#cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose h5,#cmplz-document .cmplz-dropdown .cookies-per-purpose h5{line-height:1.8}#cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+2),#cmplz-document .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+2),#cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+3),#cmplz-document .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+3),#cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+4),#cmplz-document .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+4),#cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+5),#cmplz-document .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+5),#cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+6),#cmplz-document .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+6),#cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+7),#cmplz-document .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+7){background-color:#f7f7f7}}
1
+ #cmplz-manage-consent-container{display:none}.cmplz-obfuscate{direction:rtl;unicode-bidi:bidi-override;white-space:nowrap}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories summary{display:block;cursor:pointer}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories summary::-webkit-details-marker,#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories summary::marker{display:none;content:''}#cmplz-cookies-overview .cmplz-dropdown .cmplz-service-description,#cmplz-document .cmplz-dropdown .cmplz-service-description,#cmplz-cookies-overview .cmplz-dropdown .cmplz-sharing-data,#cmplz-document .cmplz-dropdown .cmplz-sharing-data{display:inline-block;width:calc(50% - 35px);vertical-align:top}@media only screen and (max-width:600px){#cmplz-cookies-overview .cmplz-dropdown .cmplz-service-description,#cmplz-document .cmplz-dropdown .cmplz-service-description,#cmplz-cookies-overview .cmplz-dropdown .cmplz-sharing-data,#cmplz-document .cmplz-dropdown .cmplz-sharing-data{width:100%}}#cmplz-cookies-overview .cmplz-dropdown summary,#cmplz-document .cmplz-dropdown summary{display:block;cursor:pointer}#cmplz-cookies-overview .cmplz-dropdown summary::-webkit-details-marker,#cmplz-document .cmplz-dropdown summary::-webkit-details-marker,#cmplz-cookies-overview .cmplz-dropdown summary::marker,#cmplz-document .cmplz-dropdown summary::marker{display:none;content:''}#cmplz-cookies-overview .cmplz-dropdown summary div,#cmplz-document .cmplz-dropdown summary div{display:grid;grid-template:"heading chevron";grid-template-columns:2fr 25px;grid-gap:15px;align-items:center}#cmplz-cookies-overview .cmplz-dropdown summary div h3,#cmplz-document .cmplz-dropdown summary div h3{grid-area:heading;margin:0}#cmplz-cookies-overview .cmplz-dropdown summary div:after,#cmplz-document .cmplz-dropdown summary div:after{grid-area:chevron}#cmplz-cookies-overview .cmplz-dropdown summary div input[data-service="google-fonts"],#cmplz-document .cmplz-dropdown summary div input[data-service="google-fonts"],#cmplz-cookies-overview .cmplz-dropdown summary div input[data-category="functional"],#cmplz-document .cmplz-dropdown summary div input[data-category="functional"]{visibility:hidden}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary{display:block}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary div,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary div{grid-template:"heading paragraph checkbox chevron";grid-template-columns:2fr auto auto 25px}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary div p,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary div p{grid-area:paragraph}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose{display:grid}@media only screen and (min-width:600px){#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose{grid-column:span 2;grid-template-columns:1fr 1fr 1fr;grid-template:"purpose purpose purpose" "header1 header2 header3" auto}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .purpose,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .purpose{grid-area:purpose}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .name-header,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .name-header{grid-area:header1}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .retention-header,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .retention-header{grid-area:header2}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .function-header,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .function-header{grid-area:header3}}@media only screen and (max-width:600px){#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose{grid-template-columns:100px 1fr}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .purpose,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .purpose{grid-column:span 2}}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories{margin-top:10px;display:block;width:100%}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category{background-color:rgba(239,239,239,0.25)}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category summary::marker{display:none;content:''}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category summary::-webkit-details-marker{display:none;content:''}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-description{padding:10px}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category:not(:last-child){margin-bottom:5px}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header{display:grid;grid-template-columns:1fr auto 25px;grid-template-rows:auto;align-items:center;grid-gap:10px;padding:5px 10px;background-color:rgba(239,239,239,0.5)}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header section{padding:initial}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header h2{grid-column-start:1;width:100%;justify-self:start;font-size:18px;text-align:left;margin-top:8px;text-transform:initial;padding-bottom:10px;border-bottom:0;margin-bottom:0}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header h2:before{height:0;margin:initial}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-always-active{font-size:var(--cmplz_category_header_active_font_size);color:var(--cmplz_category_header_always_active_color)}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-always-active label,#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-always-active input{display:none}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header label>span{display:none}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-banner-checkbox{display:flex;align-items:center;margin:0;padding:initial}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-icon.cmplz-open{display:flex;align-items:center;justify-content:center;grid-column-start:3;cursor:pointer;content:'';background:var(--cmplz_category_open_icon_url) no-repeat;transform:rotate(0);-webkit-transition:all .5s ease;-moz-transition:all .5s ease;-o-transition:all .5s ease;transition:all .5s ease;background-size:cover;height:25px;width:25px}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category[open]{padding-bottom:1px}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category[open] summary .cmplz-category-header:after,#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category[open] summary .cmplz-icon.cmplz-open{transform:rotate(180deg)}.postbox #cmplz-document{margin:auto auto}#cmplz-document{font-size:14px;margin-top:0;max-width:800px;text-justify:inter-word}#cmplz-document input::-moz-focus-inner,#cmplz-document button::-moz-focus-inner{border:0;padding:0}#cmplz-document a{text-decoration:underline}#cmplz-document a[target="_blank"]::after{content:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAQElEQVR42qXKwQkAIAxDUUdxtO6/RBQkQZvSi8I/pL4BoGw/XPkh4XigPmsUgh0626AjRsgxHTkUThsG2T/sIlzdTsp52kSS1wAAAABJRU5ErkJggg==);margin:0 3px 0 5px}#cmplz-document a:focus{border:1px solid black;padding:2px}#cmplz-document #cmplz-dnsmpd-form label{margin-right:20px;min-width:100px;display:inline-block}#cmplz-document .cmplz-alert{display:none;padding:7px;color:white;margin:10px 0}#cmplz-document .cmplz-alert.cmplz-error{background-color:#f44336}#cmplz-document .cmplz-alert.cmplz-success{background-color:green}#cmplz-document .cmplz-close{margin-left:15px;color:white;font-weight:bold;float:right;font-size:22px;line-height:20px;cursor:pointer;transition:.3s}#cmplz-document .cmplz-close:hover{color:black}#cmplz-document h2,#cmplz-document h3{font-size:22px;text-align:left;margin-top:15px;text-transform:initial;padding-bottom:10px;margin-bottom:10px}#cmplz-document.impressum h2,#cmplz-document.impressum h3{border-bottom:0;font-size:1em;padding-bottom:5px;margin-bottom:5px}#cmplz-document.impressum p{margin-bottom:7px}#cmplz-document h4{font-size:18px;text-align:left;margin-top:15px;margin-bottom:5px;text-transform:initial}#cmplz-document h5{font-size:14px;text-align:left;margin-top:10px;margin-bottom:5px;text-transform:initial}#cmplz-document h3.annex,#cmplz-document h4.annex{font-weight:bold}#cmplz-document span h3{font-size:14px;border-bottom:0}#cmplz-document p,#cmplz-document li,#cmplz-document td{font-size:14px;margin-top:0}#cmplz-document ol.alphabetic{counter-reset:list;list-style-type:none}#cmplz-document ol.alphabetic li:before{font-weight:bold;content:counter(list,lower-alpha) ") ";counter-increment:list}#cmplz-document ul{list-style:disc;margin-left:15px;margin-bottom:15px}#cmplz-document ol.alphabetic ol{counter-reset:list;list-style-type:none}#cmplz-document ol.alphabetic ol li:before{font-weight:bold;content:counter(list,decimal) ") ";counter-increment:list}#cmplz-document .cmplz-subtitle{font-weight:bold;margin-top:25px}#cmplz-document .cmplz-indent{margin-left:36px}#cmplz-cookies-overview .cmplz-dropdown,#cmplz-document .cmplz-dropdown{background-color:rgba(239,239,239,0.25)}#cmplz-cookies-overview .cmplz-dropdown h4,#cmplz-document .cmplz-dropdown h4{font-size:18px;text-align:left;margin-top:15px;margin-bottom:5px;text-transform:initial}#cmplz-cookies-overview .cmplz-dropdown p,#cmplz-document .cmplz-dropdown p,#cmplz-cookies-overview .cmplz-dropdown a,#cmplz-document .cmplz-dropdown a{font-size:14px;margin-top:0}#cmplz-cookies-overview .cmplz-dropdown p,#cmplz-document .cmplz-dropdown p,#cmplz-cookies-overview .cmplz-dropdown h4,#cmplz-document .cmplz-dropdown h4,#cmplz-cookies-overview .cmplz-dropdown ul,#cmplz-document .cmplz-dropdown ul{padding:0 15px}#cmplz-cookies-overview .cmplz-dropdown p.legal-obligations-description,#cmplz-document .cmplz-dropdown p.legal-obligations-description{padding-bottom:15px}#cmplz-cookies-overview .cmplz-dropdown summary::marker,#cmplz-document .cmplz-dropdown summary::marker{display:none;content:''}#cmplz-cookies-overview .cmplz-dropdown summary::-webkit-details-marker,#cmplz-document .cmplz-dropdown summary::-webkit-details-marker{display:none;content:''}#cmplz-cookies-overview .cmplz-dropdown summary,#cmplz-document .cmplz-dropdown summary{display:block;background-color:rgba(239,239,239,0.5);margin:5px 0;padding:5px 10px;align-items:center;justify-items:stretch}#cmplz-cookies-overview .cmplz-dropdown summary h3,#cmplz-document .cmplz-dropdown summary h3{padding:0 5px;font-size:18px;border-bottom:0}#cmplz-cookies-overview .cmplz-dropdown summary p,#cmplz-document .cmplz-dropdown summary p{text-align:right;padding:0;margin:0;font-size:14px;border-bottom:0}#cmplz-cookies-overview .cmplz-dropdown summary div:after,#cmplz-document .cmplz-dropdown summary div:after{cursor:pointer;content:'';background:url(../images/chevron-down.svg) no-repeat;transform:rotate(0);-webkit-transition:all .5s ease;-moz-transition:all .5s ease;-o-transition:all .5s ease;transition:all .5s ease;background-size:cover;height:18px;width:18px;margin:3px}#cmplz-cookies-overview .cmplz-dropdown[open],#cmplz-document .cmplz-dropdown[open]{padding-bottom:1px}#cmplz-cookies-overview .cmplz-dropdown[open] summary div:after,#cmplz-document .cmplz-dropdown[open] summary div:after{transform:rotate(180deg)}#cmplz-cookies-overview .cmplz-dropdown h4,#cmplz-document .cmplz-dropdown h4{font-size:15px;margin:5px 0}#cmplz-cookies-overview .cmplz-dropdown h5,#cmplz-document .cmplz-dropdown h5{margin:0}#cmplz-cookies-overview .cmplz-dropdown .cmplz-service-description,#cmplz-document .cmplz-dropdown .cmplz-service-description,#cmplz-cookies-overview .cmplz-dropdown .cmplz-sharing-data,#cmplz-document .cmplz-dropdown .cmplz-sharing-data{padding:0 15px 15px}#cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose,#cmplz-document .cmplz-dropdown .cookies-per-purpose{border:1px solid #dadada;grid-gap:1px;background-color:#dadada;margin-bottom:10px}#cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose div,#cmplz-document .cmplz-dropdown .cookies-per-purpose div{background-color:white;padding:15px}@media only screen and (min-width:600px){#cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose .name-header,#cmplz-document .cmplz-dropdown .cookies-per-purpose .name-header{background-color:#f7f7f7}#cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose .retention-header,#cmplz-document .cmplz-dropdown .cookies-per-purpose .retention-header{background-color:#f7f7f7}#cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose .function-header,#cmplz-document .cmplz-dropdown .cookies-per-purpose .function-header{background-color:#f7f7f7}}@media only screen and (max-width:600px){#cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose h5,#cmplz-document .cmplz-dropdown .cookies-per-purpose h5{line-height:1.8}#cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+2),#cmplz-document .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+2),#cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+3),#cmplz-document .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+3),#cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+4),#cmplz-document .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+4),#cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+5),#cmplz-document .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+5),#cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+6),#cmplz-document .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+6),#cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+7),#cmplz-document .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+7){background-color:#f7f7f7}}
assets/css/wizard.css CHANGED
@@ -811,10 +811,16 @@
811
  .cmplz-settings textarea {
812
  padding: 10px;
813
  }
 
 
 
814
  .cmplz-wizard ::placeholder,
815
  .cmplz-settings ::placeholder {
816
  color: #dadada;
817
  }
 
 
 
818
  .cmplz-wizard ::placeholder,
819
  .cmplz-settings ::placeholder {
820
  color: #dadada;
@@ -1030,8 +1036,6 @@ a.button.cmplz-open-modal {
1030
  .cmplz-slide-panel .cmplz-checkbox .cmplz-label:before,
1031
  .cmplz-slide-panel .cmplz-checkbox .cmplz-label:after {
1032
  position: absolute;
1033
- -webkit-border-radius: 10px;
1034
- -moz-border-radius: 10px;
1035
  border-radius: 10px;
1036
  transition: background-color 0.3s, left 0.3s;
1037
  }
@@ -1048,8 +1052,6 @@ a.button.cmplz-open-modal {
1048
  top: -7px;
1049
  height: 15px;
1050
  width: 28px;
1051
- -webkit-border-radius: 10px;
1052
- -moz-border-radius: 10px;
1053
  border-radius: 10px;
1054
  }
1055
  .cmplz-slide-panel .cmplz-checkbox .cmplz-label:after {
@@ -1067,9 +1069,6 @@ a.button.cmplz-open-modal {
1067
  content: '';
1068
  background: url(../images/chevron-down.svg) no-repeat;
1069
  transform: rotate(0deg);
1070
- -webkit-transition: all 0.5s ease;
1071
- -moz-transition: all 0.5s ease;
1072
- -o-transition: all 0.5s ease;
1073
  transition: all 0.5s ease;
1074
  height: 18px;
1075
  width: 18px;
@@ -1134,6 +1133,8 @@ a.button.cmplz-open-modal {
1134
  border: #61CE70;
1135
  margin-left: -20px;
1136
  padding: 5px 15px 5px 5px;
 
 
1137
  width: fit-content;
1138
  }
1139
  .cmplz-slide-panel.cmplz-warning {
@@ -1189,7 +1190,6 @@ a.button.cmplz-open-modal {
1189
  right: 0;
1190
  bottom: 0;
1191
  background-color: #ccc;
1192
- -webkit-transition: 0.4s;
1193
  transition: 0.4s;
1194
  }
1195
  .cmplz-slider:before {
@@ -1200,7 +1200,6 @@ a.button.cmplz-open-modal {
1200
  left: 4px;
1201
  bottom: 3px;
1202
  background-color: white;
1203
- -webkit-transition: 0.4s;
1204
  transition: 0.4s;
1205
  }
1206
  .cmplz-slider.cmplz-round {
@@ -1217,7 +1216,6 @@ a.button.cmplz-open-modal {
1217
  right: 0;
1218
  bottom: 0;
1219
  background-color: #ccc;
1220
- -webkit-transition: 0.4s;
1221
  transition: 0.4s;
1222
  }
1223
  .cmplz-slider-na:before {
@@ -1232,8 +1230,6 @@ input:checked + .cmplz-slider {
1232
  background-color: #29b6f6;
1233
  }
1234
  input:checked + .cmplz-slider:before {
1235
- -webkit-transform: translateX(17px);
1236
- -ms-transform: translateX(17px);
1237
  transform: translateX(17px);
1238
  }
1239
  input:disabled + .cmplz-slider {
@@ -1660,24 +1656,38 @@ input.current-page {
1660
  .cc-window.cc-left {
1661
  left: initial;
1662
  }
 
 
 
 
 
 
 
 
1663
  @keyframes slideInUpCenter {
1664
  from {
1665
- -webkit-transform: translate3d(0, 150%, 0);
1666
  transform: translate3d(0, 150%, 0);
1667
  }
1668
  to {
1669
- -webkit-transform: translate3d(0, -50%, 0);
1670
  transform: translate3d(0, -50%, 0);
1671
  }
1672
  }
 
 
 
 
 
 
 
 
 
 
1673
  @keyframes slideOutUpCenter {
1674
  to {
1675
- -webkit-transform: translate3d(0, 150%, 0);
1676
  transform: translate3d(0, 150%, 0);
1677
  opacity: 1;
1678
  }
1679
  from {
1680
- -webkit-transform: translate3d(0, -50%, 0);
1681
  transform: translate3d(0, -50%, 0);
1682
  opacity: 1;
1683
  }
@@ -1775,7 +1785,7 @@ input.current-page {
1775
  }
1776
  #cmplz-conclusion .cmplz-conclusion__list li {
1777
  display: flex;
1778
- align-items: start;
1779
  margin: 15px 0;
1780
  }
1781
  #cmplz-conclusion .cmplz-conclusion__list li p:not(:first-child),
@@ -1797,10 +1807,14 @@ input.current-page {
1797
  }
1798
  #cmplz-conclusion .cmplz-conclusion__list li.icon-loading:before {
1799
  background-image: url('data:image/svg+xml;utf8,<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="spinner" class="svg-inline--fa fa-spinner fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23333" d="M304 48c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48 48 21.49 48 48zm-48 368c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zm208-208c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zM96 256c0-26.51-21.49-48-48-48S0 229.49 0 256s21.49 48 48 48 48-21.49 48-48zm12.922 99.078c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.491-48-48-48zm294.156 0c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.49-48-48-48zM108.922 60.922c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.491-48-48-48z"></path></svg>');
1800
- animation-name: rotate-s-loader;
1801
- animation-iteration-count: infinite;
1802
- animation-duration: 1s;
1803
- animation-timing-function: ease-in-out;
 
 
 
 
1804
  position: relative;
1805
  }
1806
  #cmplz-conclusion .cmplz-conclusion__list li.icon-success:before {
@@ -1812,6 +1826,14 @@ input.current-page {
1812
  #cmplz-conclusion .cmplz-conclusion__list li.icon-warning:before {
1813
  background-image: url('data:image/svg+xml;utf8,<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="exclamation-triangle" class="svg-inline--fa fa-exclamation-triangle fa-w-18" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path fill="%23f39c12" d="M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"></path></svg>');
1814
  }
 
 
 
 
 
 
 
 
1815
  @keyframes rotate-s-loader {
1816
  from {
1817
  transform: rotate(0);
@@ -1860,8 +1882,6 @@ input.current-page {
1860
  .cmplz-settings-saved.cmplz-settings-saved--fade-in {
1861
  display: block;
1862
  -webkit-animation: fadeInFromNone 5s ease-in-out;
1863
- -moz-animation: fadeInFromNone 5s ease-in-out;
1864
- -o-animation: fadeInFromNone 5s ease-in-out;
1865
  animation: fadeInFromNone 5s ease-in-out;
1866
  }
1867
  @-webkit-keyframes fadeInFromNone {
@@ -1891,60 +1911,6 @@ input.current-page {
1891
  top: 20px;
1892
  }
1893
  }
1894
- @-moz-keyframes fadeInFromNone {
1895
- 0% {
1896
- display: none;
1897
- opacity: 0;
1898
- top: 20px;
1899
- }
1900
- 5% {
1901
- display: block;
1902
- opacity: 0;
1903
- top: -10px;
1904
- }
1905
- 15% {
1906
- display: block;
1907
- opacity: 1;
1908
- top: 20px;
1909
- }
1910
- 90% {
1911
- display: block;
1912
- opacity: 1;
1913
- top: 20px;
1914
- }
1915
- 100% {
1916
- display: none;
1917
- opacity: 0;
1918
- top: 20px;
1919
- }
1920
- }
1921
- @-o-keyframes fadeInFromNone {
1922
- 0% {
1923
- display: none;
1924
- opacity: 0;
1925
- top: 20px;
1926
- }
1927
- 5% {
1928
- display: block;
1929
- opacity: 0;
1930
- top: -10px;
1931
- }
1932
- 15% {
1933
- display: block;
1934
- opacity: 1;
1935
- top: 20px;
1936
- }
1937
- 90% {
1938
- display: block;
1939
- opacity: 1;
1940
- top: 20px;
1941
- }
1942
- 100% {
1943
- display: none;
1944
- opacity: 0;
1945
- top: 20px;
1946
- }
1947
- }
1948
  @keyframes fadeInFromNone {
1949
  0% {
1950
  display: none;
@@ -2024,4 +1990,3 @@ input.current-page {
2024
  grid-template-columns: 100%;
2025
  }
2026
  }
2027
- /*# sourceMappingURL=wizard.css.map */
811
  .cmplz-settings textarea {
812
  padding: 10px;
813
  }
814
+ .cmplz-wizard ::-moz-placeholder, .cmplz-settings ::-moz-placeholder {
815
+ color: #dadada;
816
+ }
817
  .cmplz-wizard ::placeholder,
818
  .cmplz-settings ::placeholder {
819
  color: #dadada;
820
  }
821
+ .cmplz-wizard ::-moz-placeholder, .cmplz-settings ::-moz-placeholder {
822
+ color: #dadada;
823
+ }
824
  .cmplz-wizard ::placeholder,
825
  .cmplz-settings ::placeholder {
826
  color: #dadada;
1036
  .cmplz-slide-panel .cmplz-checkbox .cmplz-label:before,
1037
  .cmplz-slide-panel .cmplz-checkbox .cmplz-label:after {
1038
  position: absolute;
 
 
1039
  border-radius: 10px;
1040
  transition: background-color 0.3s, left 0.3s;
1041
  }
1052
  top: -7px;
1053
  height: 15px;
1054
  width: 28px;
 
 
1055
  border-radius: 10px;
1056
  }
1057
  .cmplz-slide-panel .cmplz-checkbox .cmplz-label:after {
1069
  content: '';
1070
  background: url(../images/chevron-down.svg) no-repeat;
1071
  transform: rotate(0deg);
 
 
 
1072
  transition: all 0.5s ease;
1073
  height: 18px;
1074
  width: 18px;
1133
  border: #61CE70;
1134
  margin-left: -20px;
1135
  padding: 5px 15px 5px 5px;
1136
+ width: -webkit-fit-content;
1137
+ width: -moz-fit-content;
1138
  width: fit-content;
1139
  }
1140
  .cmplz-slide-panel.cmplz-warning {
1190
  right: 0;
1191
  bottom: 0;
1192
  background-color: #ccc;
 
1193
  transition: 0.4s;
1194
  }
1195
  .cmplz-slider:before {
1200
  left: 4px;
1201
  bottom: 3px;
1202
  background-color: white;
 
1203
  transition: 0.4s;
1204
  }
1205
  .cmplz-slider.cmplz-round {
1216
  right: 0;
1217
  bottom: 0;
1218
  background-color: #ccc;
 
1219
  transition: 0.4s;
1220
  }
1221
  .cmplz-slider-na:before {
1230
  background-color: #29b6f6;
1231
  }
1232
  input:checked + .cmplz-slider:before {
 
 
1233
  transform: translateX(17px);
1234
  }
1235
  input:disabled + .cmplz-slider {
1656
  .cc-window.cc-left {
1657
  left: initial;
1658
  }
1659
+ @-webkit-keyframes slideInUpCenter {
1660
+ from {
1661
+ transform: translate3d(0, 150%, 0);
1662
+ }
1663
+ to {
1664
+ transform: translate3d(0, -50%, 0);
1665
+ }
1666
+ }
1667
  @keyframes slideInUpCenter {
1668
  from {
 
1669
  transform: translate3d(0, 150%, 0);
1670
  }
1671
  to {
 
1672
  transform: translate3d(0, -50%, 0);
1673
  }
1674
  }
1675
+ @-webkit-keyframes slideOutUpCenter {
1676
+ to {
1677
+ transform: translate3d(0, 150%, 0);
1678
+ opacity: 1;
1679
+ }
1680
+ from {
1681
+ transform: translate3d(0, -50%, 0);
1682
+ opacity: 1;
1683
+ }
1684
+ }
1685
  @keyframes slideOutUpCenter {
1686
  to {
 
1687
  transform: translate3d(0, 150%, 0);
1688
  opacity: 1;
1689
  }
1690
  from {
 
1691
  transform: translate3d(0, -50%, 0);
1692
  opacity: 1;
1693
  }
1785
  }
1786
  #cmplz-conclusion .cmplz-conclusion__list li {
1787
  display: flex;
1788
+ align-items: flex-start;
1789
  margin: 15px 0;
1790
  }
1791
  #cmplz-conclusion .cmplz-conclusion__list li p:not(:first-child),
1807
  }
1808
  #cmplz-conclusion .cmplz-conclusion__list li.icon-loading:before {
1809
  background-image: url('data:image/svg+xml;utf8,<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="spinner" class="svg-inline--fa fa-spinner fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23333" d="M304 48c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48 48 21.49 48 48zm-48 368c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zm208-208c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zM96 256c0-26.51-21.49-48-48-48S0 229.49 0 256s21.49 48 48 48 48-21.49 48-48zm12.922 99.078c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.491-48-48-48zm294.156 0c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.49-48-48-48zM108.922 60.922c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.491-48-48-48z"></path></svg>');
1810
+ -webkit-animation-name: rotate-s-loader;
1811
+ animation-name: rotate-s-loader;
1812
+ -webkit-animation-iteration-count: infinite;
1813
+ animation-iteration-count: infinite;
1814
+ -webkit-animation-duration: 1s;
1815
+ animation-duration: 1s;
1816
+ -webkit-animation-timing-function: ease-in-out;
1817
+ animation-timing-function: ease-in-out;
1818
  position: relative;
1819
  }
1820
  #cmplz-conclusion .cmplz-conclusion__list li.icon-success:before {
1826
  #cmplz-conclusion .cmplz-conclusion__list li.icon-warning:before {
1827
  background-image: url('data:image/svg+xml;utf8,<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="exclamation-triangle" class="svg-inline--fa fa-exclamation-triangle fa-w-18" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path fill="%23f39c12" d="M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"></path></svg>');
1828
  }
1829
+ @-webkit-keyframes rotate-s-loader {
1830
+ from {
1831
+ transform: rotate(0);
1832
+ }
1833
+ to {
1834
+ transform: rotate(360deg);
1835
+ }
1836
+ }
1837
  @keyframes rotate-s-loader {
1838
  from {
1839
  transform: rotate(0);
1882
  .cmplz-settings-saved.cmplz-settings-saved--fade-in {
1883
  display: block;
1884
  -webkit-animation: fadeInFromNone 5s ease-in-out;
 
 
1885
  animation: fadeInFromNone 5s ease-in-out;
1886
  }
1887
  @-webkit-keyframes fadeInFromNone {
1911
  top: 20px;
1912
  }
1913
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1914
  @keyframes fadeInFromNone {
1915
  0% {
1916
  display: none;
1990
  grid-template-columns: 100%;
1991
  }
1992
  }
 
assets/css/wizard.less CHANGED
@@ -1804,7 +1804,7 @@ input.current-page {
1804
  font-weight: 600;
1805
  li{
1806
  display: flex;
1807
- align-items: start;
1808
  margin: 15px 0;
1809
  p:not(:first-child), .cmplz-conclusion__check--check-text, .cmplz-conclusion__check--report-text{
1810
  margin-top: 0;
1804
  font-weight: 600;
1805
  li{
1806
  display: flex;
1807
+ align-items: flex-start;
1808
  margin: 15px 0;
1809
  p:not(:first-child), .cmplz-conclusion__check--check-text, .cmplz-conclusion__check--report-text{
1810
  margin-top: 0;
assets/js/admin.js CHANGED
@@ -113,15 +113,12 @@ jQuery(document).ready(function ($) {
113
  }
114
  $temp.remove(); // Remove the temporary element
115
  if (success) {
116
- console.log('success');
117
  // change cmpl-tooltip attribute to show success message
118
  let tooltip = $(this).children('.cmplz-tooltip');
119
  let saved_attr = tooltip.attr('cmplz-tooltip');
120
  tooltip.attr('cmplz-tooltip', complianz_admin.copy_text);
121
- console.log($(this).children('.cmplz-tooltip'));
122
  setTimeout(function(){
123
  // remove class from clicked item
124
- console.log(this);
125
  clicked_element.removeClass('cmplz-click-animation');
126
  tooltip.attr('cmplz-tooltip', saved_attr);
127
  }, 2000);
113
  }
114
  $temp.remove(); // Remove the temporary element
115
  if (success) {
 
116
  // change cmpl-tooltip attribute to show success message
117
  let tooltip = $(this).children('.cmplz-tooltip');
118
  let saved_attr = tooltip.attr('cmplz-tooltip');
119
  tooltip.attr('cmplz-tooltip', complianz_admin.copy_text);
 
120
  setTimeout(function(){
121
  // remove class from clicked item
 
122
  clicked_element.removeClass('cmplz-click-animation');
123
  tooltip.attr('cmplz-tooltip', saved_attr);
124
  }, 2000);
assets/js/admin.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(document).ready(function($){"use strict";if(document.querySelector(".cmplz-multicheckbox-loadmore")){document.querySelectorAll(".cmplz-multicheckbox-loadmore").forEach(obj=>{obj.setAttribute("data-loadmore-state","hidden");cmplz_toggle_loadmore(false,obj)});function cmplz_toggle_loadmore(show,obj){let count=0;let load_more_count=obj.getAttribute("data-cmplz_loadmore_count");obj.querySelectorAll(".cmplz-checkbox-container").forEach(checkbox_obj=>{count++;if(show){obj.querySelector(".cmplz_load_more .cmplz-load-less").style.display="block";obj.querySelector(".cmplz_load_more .cmplz-load-more").style.display="none";checkbox_obj.style.display="block"}else if(count>load_more_count){obj.querySelector(".cmplz_load_more .cmplz-load-more").style.display="block";obj.querySelector(".cmplz_load_more .cmplz-load-less").style.display="none";checkbox_obj.style.display="none"}})}document.addEventListener("click",e=>{if(e.target.closest(".cmplz_load_more")){e.preventDefault();let obj=e.target;obj=obj.closest(".cmplz-multicheckbox-loadmore");let state=obj.getAttribute("data-loadmore-state");let show=state==="hidden";state=show?"visible":"hidden";obj.setAttribute("data-loadmore-state",state);cmplz_toggle_loadmore(show,obj)}})}$(document).on("click",".cmplz-install-burst",function(){var btn=$("button.cmplz-install-burst");var loader='<div class="cmplz-loader"><div class="rect1"></div><div class="rect2"></div><div class="rect3"></div><div class="rect4"></div><div class="rect5"></div></div>';btn.html(loader);btn.attr("disabled","disabled");$.ajax({type:"GET",url:complianz_admin.admin_url,dataType:"json",data:{step:"download",action:"cmplz_install_plugin"},success:function(response){$.ajax({type:"GET",url:complianz_admin.admin_url,dataType:"json",data:{step:"activate",action:"cmplz_install_plugin"},success:function(response){let completed_text=$(".cmplz-completed-text").html();btn.html(completed_text)}})}})});$(document).on("click",".regions .cmplz-checkbox-container input",function(){cmplz_filter_other_region_options()});var region_field=$(".regions .cmplz-checkbox-container input");cmplz_filter_other_region_options(region_field);function cmplz_filter_other_region_options(){if(!$("select[name=cmplz_other_region_behaviour]").length){return}$(".regions .cmplz-field").find(":checkbox").each(function(i){var region=$(this).attr("name").replace("]","").replace("cmplz_regions[","");var option=$("select[name=cmplz_other_region_behaviour] option[value="+region+"]");if($(this).is(":checked")){option.removeAttr("disabled")}else{option.attr("disabled","disabled")}})}$(document).on("click",".cmplz-copy-shortcode",function(){let clicked_element=$(this);let success;let shortcode_text=$(this).children(".cmplz-copy-shortcode-text");$(this).addClass("cmplz-click-animation");let $temp=$("<input>");$("body").append($temp);$temp.val(shortcode_text.text()).select();try{success=document.execCommand("copy")}catch(e){success=false}$temp.remove();if(success){console.log("success");let tooltip=$(this).children(".cmplz-tooltip");let saved_attr=tooltip.attr("cmplz-tooltip");tooltip.attr("cmplz-tooltip",complianz_admin.copy_text);console.log($(this).children(".cmplz-tooltip"));setTimeout(function(){console.log(this);clicked_element.removeClass("cmplz-click-animation");tooltip.attr("cmplz-tooltip",saved_attr)},2e3)}});var cmplz_localstorage_selectors=$(".cmplz_save_localstorage");if(cmplz_localstorage_selectors.length){cmplz_localstorage_selectors.each(function(){var name=$(this).attr("name");var value=window.localStorage.getItem(name);var curValue=$(this).val();if(value==null||!$(this).find("option[value="+value+"]").length>0){value=curValue;window.localStorage.setItem(name,value);$(this).val(value).change()}else if(typeof value!=="undefined"&&value!==null&&value!==curValue){$(this).val(value).change()}})}$(document).on("change",".cmplz_save_localstorage",function(){const name=$(this).attr("name");const value=$(this).find(":selected").val();window.localStorage.setItem(name,value)});$(document).on("change",".cmplz-download-document-selector",function(){var sel=$(this);if(sel.find(":selected").val().length!=0){sel.closest(".cmplz-document").find("button").attr("disabled",false);document.querySelector(".cmplz-dataleak-btn-href").href=sel.find(":selected").val()}else{sel.closest(".cmplz-document").find("button").attr("disabled",true)}});$(document).on("click",".cmplz-download-document",function(){var btn=$(this);var oldBtnHtml=btn.html();var selectElement=$(this).closest(".cmplz-document").find("select");var url=selectElement.val();var fileTitle=$(this).closest(".cmplz-document").find("select option:selected").text();var loader='<div class="cmplz-loader"><div class="rect1"></div><div class="rect2"></div><div class="rect3"></div><div class="rect4"></div><div class="rect5"></div></div>';btn.html(loader);btn.attr("disabled","disabled");var request=new XMLHttpRequest;request.responseType="blob";request.open("get",url,true);request.send();request.onreadystatechange=function(){if(this.readyState==4&&this.status==200){var obj=window.URL.createObjectURL(this.response);var element=document.createElement("a");element.setAttribute("href",obj);element.setAttribute("download",fileTitle);document.body.appendChild(element);element.click();setTimeout(function(){window.URL.revokeObjectURL(obj)},60*1e3)}};request.onprogress=function(e){btn.html(oldBtnHtml);btn.removeAttr("disabled")}});$(document).on("change",".cmplz-grid-selector",function(){var new_value=$(this).val();var property_name=$(this).attr("id");var url=window.location.href;var region=cmplzGetUrlParam(url,property_name);if(region!==false){url=url.replace("&"+property_name+"="+region,"")}url+="&"+property_name+"="+new_value;window.location.replace(url)});function cmplzGetUrlParam(sPageURL,sParam){if(typeof sPageURL==="undefined")return false;var queryString=sPageURL.split("?");if(queryString.length==1)return false;var sURLVariables=queryString[1].split("&"),sParameterName,i;for(i=0;i<sURLVariables.length;i++){sParameterName=sURLVariables[i].split("=");if(sParameterName[0]===sParam){return sParameterName[1]===undefined?true:decodeURIComponent(sParameterName[1])}}return false}$(document).on("click",".cmplz-tablinks",function(){$(".cmplz-tablinks").removeClass("active");$(this).addClass("active");$(".cmplz-tabcontent").removeClass("active");$("#"+$(this).data("tab")).addClass("active");$("input[name=cmplz_active_tab]").val($(this).data("tab"))});window.setTimeout(function(){$(".cmplz-hide").fadeTo(500,0).slideUp(500,function(){$(this).remove()})},2e3);$(document).on("click",".cmplz-help-modal span",function(e){$(this).closest(".cmplz-help-modal").fadeOut()});$(".cmplz-radio-container").keypress(function(event){var keycode=event.keyCode?event.keyCode:event.which;if(keycode=="13"){$(event.target).find(":radio").click()}});$(".cmplz-switch, .cmplz-checkbox-container").keypress(function(event){var keycode=event.keyCode?event.keyCode:event.which;if(keycode=="13"){$(event.target).find(":checkbox").click()}});function cmplz_validate_multiple(){$(".multiple-field").each(function(){var completed=true;$(this).find("input[type=text]").each(function(){if($(this).val()===""){completed=false}});$(this).find("textarea").each(function(){if($(this).val()===""){completed=false}});var icon=$(this).closest(".cmplz-panel").find(".cmplz-multiple-field-validation i");if(completed){icon.removeClass("fa-times");icon.addClass("fa-check")}else{icon.addClass("fa-times");icon.removeClass("fa-check")}})}cmplz_validate_multiple();$(document).on("keyup",".multiple-field input[type=text]",function(){cmplz_validate_multiple()});$(document).on("keyup",".multiple-field textarea",function(){cmplz_validate_multiple()});cmplz_validate_checkboxes();$(":checkbox").change(cmplz_validate_checkboxes);function cmplz_validate_checkboxes(){$(".cmplz-validate-multicheckbox").each(function(i){var set_required=[];var all_unchecked=true;$(this).find(":checkbox").each(function(i){set_required.push($(this));if($(this).is(":checked")){all_unchecked=false}});var container=$(this).closest(".field-group").find(".cmplz-label");if(all_unchecked){container.removeClass("valid-multicheckbox");container.addClass("invalid-multicheckbox");$.each(set_required,function(index,item){item.prop("required",true);item.addClass("is-required")})}else{container.removeClass("invalid-multicheckbox");container.addClass("valid-multicheckbox");$.each(set_required,function(index,item){item.prop("required",false);item.removeClass("is-required")})}});check_conditions()}$(document).on("change","input",function(e){check_conditions()});$(document).on("change","select",function(e){check_conditions()});$(document).on("change","textarea",function(e){check_conditions()});$(document).on("cmplzRenderConditions",check_conditions);function check_conditions(){var value;var showIfConditionMet=true;$(".condition-check-1").each(function(e){var i;for(i=1;i<4;i++){var question="cmplz_"+$(this).data("condition-question-"+i);var condition_type="AND";if(question=="cmplz_undefined")return;var condition_answer=$(this).data("condition-answer-"+i);var input=$(this).find("input[type=checkbox]");if(!input.length){input=$(this).find("input")}if(!input.length){input=$(this).find("textarea")}if(!input.length){input=$(this).find("select")}if(input.length&&input[0].hasAttribute("required")){input.addClass("is-required")}condition_answer+="";if(condition_answer.indexOf("NOT ")!==-1){condition_answer=condition_answer.replace("NOT ","");showIfConditionMet=false}else{showIfConditionMet=true}var condition_answers=[];if(condition_answer.indexOf(" OR ")!==-1){condition_answers=condition_answer.split(" OR ");condition_type="OR"}else{condition_answers=[condition_answer]}var container=$(this);var fieldName=$(this).data("fieldname");var conditionMet=false;condition_answers.forEach(function(condition_answer){value=get_input_value(question);if($('select[name="'+question+'"]').length){value=Array($("select[name="+question+"]").val())}if($("input[name='"+question+"["+condition_answer+"]"+"']").length){if($("input[name='"+question+"["+condition_answer+"]"+"']").is(":checked")){conditionMet=true;value=[]}else{conditionMet=false;value=[]}}if(showIfConditionMet){if(conditionMet||value.indexOf(condition_answer)!=-1||value==condition_answer){container.removeClass("cmplz-hidden");$("."+fieldName).removeClass("cmplz-hidden");if(input.hasClass("is-required"))input.prop("required",true);conditionMet=true}else{container.addClass("cmplz-hidden");$("."+fieldName).addClass("cmplz-hidden");if(input.hasClass("is-required"))input.prop("required",false)}}else{if(conditionMet||value.indexOf(condition_answer)!=-1||value==condition_answer){container.addClass("cmplz-hidden");$("."+fieldName).addClass("cmplz-hidden");if(input.hasClass("is-required"))input.prop("required",false)}else{container.removeClass("cmplz-hidden");$("."+fieldName).removeClass("cmplz-hidden");if(input.hasClass("is-required"))input.prop("required",true);conditionMet=true}}});if(!conditionMet){break}}})}function get_input_value(fieldName){if($('input[name="'+fieldName+'"]').attr("type")=="text"){return $("input[name^="+fieldName+"]").val()}else{var checked_boxes=[];$('input[name="'+fieldName+'"]:checked').each(function(){checked_boxes[checked_boxes.length]=$(this).val()});return checked_boxes}}var cmplz_interval=1e4;var progress=complianz_admin.progress;var progressBar=$(".cmplz-progress-bar");var cookieContainer=$(".detected-cookies");var previous_page;if($("#cmplz-scan-progress").length){cmplz_interval=3e3}function checkIframeLoaded(){var iframe=document.getElementById("cmplz_cookie_scan_frame");var iframeDoc=iframe.contentDocument||iframe.contentWindow.document;if(!cookieContainer.find(".cmplz-loader").length&&progress<100){}iframe.onload=function(){if(progress>=100)return;$.get(complianz_admin.admin_url,{action:"cmplz_get_scan_progress"},function(response){var obj;if(response){obj=jQuery.parseJSON(response);var cookies=obj.cookies;$(".detected-cookies .cmplz-cookies-table").html(cookies.join("<br>"));$(".cmplz-scan-count").html(cookies.length);progress=parseInt(obj["progress"]);var next_page=obj["next_page"];if(progress>=100){progress=100;progressBar.css({width:progress+"%"})}else{progressBar.css({width:progress+"%"});$("#cmplz_cookie_scan_frame").attr("src",next_page);window.setTimeout(checkIframeLoaded,cmplz_interval)}}});return};window.setTimeout(checkIframeLoaded,cmplz_interval)}if($("#cmplz_cookie_scan_frame").length){checkIframeLoaded()}progressBar.css({width:progress+"%"});var syncProgress=0;var syncProgressBar=$(".cmplz-sync-progress-bar");var syncStatus=$(".cmplz-sync-status span");var syncButton=$(".cmplz-resync");syncStatus.hide();if($("#cmplz-sync-progress").length){var syncProgress=complianz_admin.syncProgress;if(syncProgress<100){syncButton.attr("disabled","disabled");syncStatus.show();syncProgressBar.css({width:syncProgress+"%"});syncCookieDatabase()}}else if($(".cmplz-list-container").length){loadListItem()}$(document).on("click",".cmplz-resync",function(){syncButton.attr("disabled","disabled");syncProgressBar.css({width:"0%"});syncStatus.show();syncCookieDatabase(true)});function syncCookieDatabase(restart){restart=typeof restart!=="undefined"?restart:false;$.get(complianz_admin.admin_url,{action:"cmplz_run_sync",restart:restart},function(response){var obj;if(response){obj=jQuery.parseJSON(response);syncProgress=parseInt(obj["progress"]);var message=obj["message"];if(typeof message!=="undefined"&&message.length>0){$("#cmplz_action_error").removeClass("cmplz-hidden");$("#cmplz_action_error .cmplz-panel").html(message)}if(syncProgress>=100){syncProgress=100;$("#cmplz-sync-loader").html("");syncStatus.hide();syncButton.removeAttr("disabled");loadListItem();syncProgressBar.css({width:syncProgress+"%"})}else{syncProgressBar.css({width:syncProgress+"%"});window.setTimeout(syncCookieDatabase,500)}}})}$(document).on("change","input[name=cmplz_show_deleted]",function(){loadListItem()});$(document).on("click",".cmplz-add-to-policy",function(){var title=$(this).closest(".cmplz-slide-panel").find(".cmplz-title").html();var text=$(this).closest(".cmplz-slide-panel").find(".cmplz-panel-content").html();var content=tmce_getContent("cmplz_custom_privacy_policy_text");tmce_setContent(content+"<h3>"+title+"</h3>"+text,"cmplz_custom_privacy_policy_text");$(this).remove()});function tmce_getContent(editor_id,textarea_id){if(typeof editor_id=="undefined")editor_id=wpActiveEditor;if(typeof textarea_id=="undefined")textarea_id=editor_id;if(jQuery("#wp-"+editor_id+"-wrap").hasClass("tmce-active")&&tinyMCE.get(editor_id)){return tinyMCE.get(editor_id).getContent()}else{return jQuery("#"+textarea_id).val()}}function tmce_setContent(content,editor_id,textarea_id){if(typeof editor_id=="undefined")editor_id=wpActiveEditor;if(typeof textarea_id=="undefined")textarea_id=editor_id;if(jQuery("#wp-"+editor_id+"-wrap").hasClass("tmce-active")&&tinyMCE.get(editor_id)){return tinyMCE.get(editor_id).setContent(content)}else{return jQuery("#"+textarea_id).val(content)}}function tmce_focus(editor_id,textarea_id){if(typeof editor_id=="undefined")editor_id=wpActiveEditor;if(typeof textarea_id=="undefined")textarea_id=editor_id;if(jQuery("#wp-"+editor_id+"-wrap").hasClass("tmce-active")&&tinyMCE.get(editor_id)){return tinyMCE.get(editor_id).focus()}else{return jQuery("#"+textarea_id).focus()}}var cmplz_visible_stat="#bar_pct_all_container";$(cmplz_visible_stat).show();$(document).on("change","select[name=cmplz_region]",function(){$(cmplz_visible_stat).hide();var region=$("select[name=cmplz_region]").val();var type=$("select[name=stats_type]").val();cmplz_visible_stat="#bar_"+type+"_"+region+"_container";$(cmplz_visible_stat).fadeIn()});$(document).on("change","select[name=stats_type]",function(){$(cmplz_visible_stat).hide();var region="eu";if($("select[name=cmplz_region]").length)region=$("select[name=cmplz_region]").val();var type=$("select[name=stats_type]").val();cmplz_visible_stat="#bar_"+type+"_"+region+"_container";$(cmplz_visible_stat).fadeIn()});$(document).on("change",".cmplz_isPersonalData",function(){cmplz_personalDataFieldVisibility($(this))});function cmplz_personalDataFieldVisibility(obj){var container=obj.closest(".cmplz-field");if(obj.is(":checked")){container.find(".cmplz_collectedPersonalData").parent().show()}else{container.find(".cmplz_collectedPersonalData").parent().hide()}}$(document).on("change",".cmplz_thirdParty",function(){cmplz_privacyStatementUrlFieldVisibility($(this))});function cmplz_privacyStatementUrlFieldVisibility(obj){var container=obj.closest(".cmplz-field");if(obj.is(":checked")){container.find(".cmplz_privacyStatementURL").parent().show()}else{container.find(".cmplz_privacyStatementURL").parent().hide()}}$(document).on("change",".cmplz_sync",function(){var container=$(this).closest(".cmplz-field");var checkbox=$(this);var disabled=false;if(checkbox.is(":checked"))disabled=true;container.find(":input").each(function(){if($(this).attr("name")==="cmplz_remove_item"||$(this).attr("name")==="cmplz-save-item"||$(this).attr("name")==="cmplz_restore_item"||$(this).attr("name")==="cmplz_showOnPolicy"||$(this).attr("name")==="cmplz_sync")return;$(this).prop("disabled",disabled);if(disabled){$(this).closest(".cmplz-service-field div, .cmplz-cookie-field div").addClass("cmplz-disabled");$(this).closest("label").addClass("cmplz-disabled")}else{$(this).closest(".cmplz-service-field div, .cmplz-cookie-field div").removeClass("cmplz-disabled");$(this).closest("label").removeClass("cmplz-disabled")}})});$(document).on("change",".cmplz_use_cdb_api",function(){var disabled=$(this).val()==="no"?true:false;$(".cmplz-list-container").find(":input[name=cmplz_sync]").each(function(){var sync_checkbox=$(this).closest("label");if(disabled){sync_checkbox.find(":checkbox").prop("checked",false).change();sync_checkbox.addClass("cmplz-disabled")}else{sync_checkbox.removeClass("cmplz-disabled");sync_checkbox.find(":checkbox").prop("checked",true).change()}})});$(document).on("change",".cmplz_sync",function(){var container=$(this).closest(".cmplz-panel");if($(this).is(":checked")){container.find(".fa-sync-alt").removeClass("cmplz-disabled")}else{container.find(".fa-sync-alt").addClass("cmplz-disabled")}});$(document).on("change",".cmplz_showOnPolicy",function(){var container=$(this).closest(".cmplz-panel");if($(this).is(":checked")){container.find(".fa-file").removeClass("cmplz-error")}else{container.find(".fa-file").addClass("cmplz-error")}});$(document).on("keyup",".cmplz-panel input",function(){cmplzCheckIfCookieIsComplete($(this))});$(document).on("change",".cmplz-panel select",function(){cmplzCheckIfCookieIsComplete($(this))});function cmplzCheckIfCookieIsComplete(obj){var isComplete=true;var container=obj.closest(".cmplz-panel");container.find(":input:not(.cmplz_cookieFunction)").each(function(){if(!$(this).is(":checkbox")&&!$(this).is(":hidden")&&$(this).prop("type")!=="button"){if($(this).prop("nodeName")!=="SELECT"&&$(this).val().length>0){}else if($(this).prop("nodeName")==="SELECT"&&$(this).val()!=0){}else{isComplete=false}}});if(isComplete){var icon=container.find(".fa.fa-times");icon.removeClass("cmplz-error");icon.addClass("cmplz-success");icon.addClass("fa-check");icon.removeClass("fa-times")}else{var icon=container.find(".fa.fa-check");icon.addClass("cmplz-error");icon.removeClass("cmplz-success");icon.addClass("fa-times");icon.removeClass("fa-check")}}if($("#cmplz_language").length){var syncProgress=complianz_admin.syncProgress;if(syncProgress==100)loadListItem();$(document).on("change","#cmplz_language",function(){$(".cmplz-list-container").html('<div class="cmplz-skeleton"></div>');loadListItem()})}if($(".cmplz-select2").length){cmplzInitSelect2()}function cmplzInitSelect2(){$(".cmplz-select2").select2({tags:true,width:"400px"});$(".cmplz-select2-no-additions").select2({width:"400px"})}function loadListItem(){var language=$("#cmplz_language").val();var deleted=$("input[name=cmplz_show_deleted]").is(":checked");$(".cmplz-list-container").html('<div class="cmplz-skeleton"></div>');var type=$("#cmplz_language").data("type");$.ajax({type:"GET",url:complianz_admin.admin_url,dataType:"json",data:{language:language,action:"cmplz_get_list",deleted:deleted,type:type},success:function(response){if(response.success){$(".cmplz-list-container").html(response.html);$(".cmplz_isPersonalData").each(function(){cmplz_personalDataFieldVisibility($(this))});$(".cmplz_thirdParty").each(function(){cmplz_privacyStatementUrlFieldVisibility($(this))});cmpzlSyncDeleteRestoreButtons();cmplzInitSelect2()}}})}function cmpzlSyncDeleteRestoreButtons(){$(".cmplz-panel").each(function(){if($(this).hasClass("cmplz-deleted")){$(this).find('button[data-action="restore"]').show();$(this).find('button[data-action="delete"]').hide()}else{$(this).find('button[data-action="restore"]').hide();$(this).find('button[data-action="delete"]').show()}})}$(document).on("click",".cmplz-edit-item",function(){var action=$(this).data("action");var btn=$(this);var type=btn.data("type");var container=$(this).closest(".cmplz-"+type+"-field");var panel=$(this).closest(".cmplz-panel.cmplz-slide-panel");var language=$("#cmplz_language").val();var btnHtml=btn.html();btn.html('<div class="cmplz-loader"><div class="rect1"></div><div class="rect2"></div><div class="rect3"></div><div class="rect4"></div><div class="rect5"></div></div>');var item_id=container.data(type+"_id");var data={};container.find(":input").each(function(){if($(this).attr("type")==="button")return;if($(this).attr("type")==="checkbox"){data[$(this).attr("name")]=$(this).is(":checked")}else{data[$(this).attr("name")]=$(this).val()}});if(action==="delete"){panel.addClass("cmplz-deleted")}$.ajax({type:"POST",url:complianz_admin.admin_url,dataType:"json",data:{item_id:item_id,type:type,data:JSON.stringify(data),cmplz_action:action,language:language,action:"cmplz_edit_item"},success:function(response){if(response.success){if(action==="delete"){panel.remove()}if(action==="restore"){panel.removeClass("cmplz-deleted");container.find("input").each(function(){$(this).removeAttr("disabled")});container.find("select").each(function(){$(this).removeAttr("disabled")});container.children("div").removeClass("cmplz-disabled");container.children("label").removeClass("cmplz-disabled");container.find('button[name="cmplz-save-item"]').removeAttr("disabled");container.find(".cmplz_sync").change()}cmpzlSyncDeleteRestoreButtons();if(action==="add"){var html=response.html;var field=btn.closest(".cmplz-field");var noservice=$(".cmplz-service-divider.no-service");if(response.divider){if(noservice.length){noservice.closest(".cmplz-service-cookie-list").append(html)}else{html='<div class="cmplz-service-cookie-list">'+response.divider+html+"<div>";field.find(".cmplz-list-container").append(html)}noservice=$(".cmplz-service-divider.no-service");var disable_sync=$(".cmplz_use_cdb_api:checked").val()=="no";if(disable_sync){noservice.siblings(":last").find(".cmplz_sync").closest("label").addClass("cmplz-disabled")}}else{field.find(".cmplz-list-container").append(html)}}if(action==="save"){var title=panel.find(".cmplz-title");var name=container.find(".cmplz_name").val();var new_title=title.text().replace(/\".*\"/,'"'+name+'"');title.text(new_title)}btn.html(btnHtml);cmplzInitSelect2()}}})});$(document).on("click",".cmplz_script_add",cmplz_script_add);function cmplz_script_add(){var btn=$(this);var btn_html=btn.html();var type=btn.data("type");btn.html('<div class="cmplz-loader"><div class="rect1"></div><div class="rect2"></div><div class="rect3"></div><div class="rect4"></div><div class="rect5"></div></div>');$.ajax({type:"POST",url:complianz_admin.admin_url,data:{action:"cmplz_script_add",type:type},success:function(response){if(response.success){btn.before(response.html);btn.html(btn_html)}}})}$(document).on("click",".cmplz_add_url",function(){let container=$(this).closest("div");let templ=$(".cmplz-url-template").get(0).innerHTML;container.append(templ)});$(document).on("click",".cmplz_remove_url",function(){let container=$(this).closest("div");container.remove()});$(document).on("click",".cmplz_script_save",cmplz_script_save);function cmplz_script_save(){var btn=$(this);var btn_html=btn.html();var container=btn.closest(".cmplz-panel");var type=btn.data("type");var action=btn.data("action");var id=btn.data("id");if(action=="save"||action=="remove"){btn.html('<div class="cmplz-loader"><div class="rect1"></div><div class="rect2"></div><div class="rect3"></div><div class="rect4"></div><div class="rect5"></div></div>')}var data={};container.find(":input").each(function(){if($(this).attr("type")==="button")return;if(typeof $(this).attr("name")==="undefined")return;if(!$(this).data("name"))return;if($(this).attr("type")==="checkbox"){data[$(this).data("name")]=$(this).is(":checked")}else if($(this).attr("type")==="radio"){if($(this).is(":checked")){data[$(this).data("name")]=$(this).val()}}else if($(this).data("name")==="urls"){let curValue=data[$(this).data("name")];if(typeof curValue==="undefined")curValue=[];curValue.push($(this).val());data[$(this).data("name")]=curValue}else if($(this).data("name")==="dependency"){let curValue=data[$(this).data("name")];if(typeof curValue==="undefined")curValue=[];curValue.push($(this).data("url")+"|:|"+$(this).val());data[$(this).data("name")]=curValue}else{data[$(this).data("name")]=$(this).val()}});$.ajax({type:"POST",url:complianz_admin.admin_url,data:{action:"cmplz_script_save","cmplz-save":true,type:type,button_action:action,id:id,data:JSON.stringify(data)},success:function(response){if(response.success){if(action==="save"){btn.html(btn_html)}if(action==="remove"){container.remove();btn.html(btn_html)}}}})}function cmplz_check_cookie_blocking_services(){if($("#cmplz_anonymous_window_warning").length){var fs=window.RequestFileSystem||window.webkitRequestFileSystem;if(!fs){return}fs(window.TEMPORARY,100,function(fs){},function(err){$("#cmplz_anonymous_window_warning").show()})}if($("#cmplz_adblock_warning").length){if(window.canRunAds===undefined){$("#cmplz_adblock_warning").show()}}}cmplz_check_cookie_blocking_services();$(document).on("change",".cmplz-document-input",function(){cmplz_update_document_field()});function cmplz_update_document_field(){if($(".cmplz-document-field").length){$(".cmplz-document-field").each(function(){var fieldname=$(this).data("fieldname");var value=$("input[name="+fieldname+"]:checked").val();var urlField=$(this).find(".cmplz-document-custom-url");var pageField=$(this).find(".cmplz-document-custom-page");if(value==="custom"){pageField.show();pageField.prop("required",true)}else{pageField.hide();pageField.prop("required",false)}if(value==="url"){urlField.show();urlField.prop("required",true)}else{urlField.hide();urlField.prop("required",false)}})}}$(document).on("click","#cmplz-create_pages",function(){var btn=$("#cmplz-create_pages");btn.attr("disabled","disabled");var oldBtnHtml=btn.html();btn.html('<div class="cmplz-loader "><div class="rect1"></div><div class="rect2"></div><div class="rect3"></div><div class="rect4"></div><div class="rect5"></div></div>');var pageTitles={};$(".cmplz-create-page-title").each(function(){if(pageTitles.hasOwnProperty($(this).data("region"))){region=pageTitles[$(this).data("region")]}else{var region={}}region[$(this).attr("name")]=$(this).val();pageTitles[$(this).data("region")]=region});$.ajax({type:"POST",url:complianz_admin.admin_url,dataType:"json",data:{pages:JSON.stringify(pageTitles),action:"cmplz_create_pages"},success:function(response){if(response.success){$(".cmplz-panel.cmplz-notification.cmplz-success.cmplz-hidden").removeClass("cmplz-hidden");$(".cmplz-create-page-title").each(function(){$(this).removeClass("cmplz-deleted-page").addClass("cmplz-valid-page");$(this).parent().find(".cmplz-icon").replaceWith(response.icon)});btn.html(response.new_button_text);btn.removeAttr("disabled")}else{btn.html(oldBtnHtml);$(".cmplz-page-created").removeClass("fa-times").addClass("fa-check");$(".cmplz-create-page-title").removeClass("cmplz-deleted-page")}}})});$(document).on("change",".cmplz-region-select",function(){var _href=$(".cmplz-document-button").attr("href").slice(0,-2);$(".cmplz-document-button").attr("href",_href+$(this).val())});var roc_progress=0;var btn=$(".cmplz_export_roc_to_csv");$(document).on("click",".cmplz_export_roc_to_csv",function(e){e.preventDefault();btn.html(roc_progress+" %");btn.prop("disabled",true);cmplzExportBatch()});function cmplzExportBatch(){var btn=$(".cmplz_export_roc_to_csv");$.ajax({type:"GET",url:complianz_admin.admin_url,dataType:"json",data:{action:"cmplz_export_roc_to_csv",order:cmplzGetUrlParameter("order"),cmplz_month_select:cmplzGetUrlParameter("cmplz_month_select"),cmplz_year_select:cmplzGetUrlParameter("cmplz_year_select"),orderby:cmplzGetUrlParameter("orderby"),s:cmplzGetUrlParameter("s")},success:function(response){if(response.success){if(response.progress<100){roc_progress=response.progress;btn.html(roc_progress+" %");cmplzExportBatch()}else{cmplzLoadDownloadBtn(response.link,roc_progress)}}}})}function cmplzLoadDownloadBtn(link,roc_progress){setTimeout(function(){roc_progress=roc_progress+10;if(roc_progress<100){btn.html(roc_progress+" %");cmplzLoadDownloadBtn(link,roc_progress)}else{btn.replaceWith(link)}},100)}function cmplzGetUrlParameter(sParam){var sPageURL=window.location.href;var queryString=sPageURL.split("?");if(queryString.length==1)return false;var sURLVariables=queryString[1].split("&"),sParameterName,i;for(i=0;i<sURLVariables.length;i++){sParameterName=sURLVariables[i].split("=");if(sParameterName[0]===sParam){return sParameterName[1]===undefined?"":decodeURIComponent(sParameterName[1])}}return false}$(document).on("change",".cmplz-region-select",function(){var _href=$(".cmplz-document-button").attr("href").slice(0,-2);$(".cmplz-document-button").attr("href",_href+$(this).val())});$(document).on("click",".upload_button",function(e){e.preventDefault();$("input[type=file]").click()});$(document).on("change",':input[name="cmplz-upload-file"]',function(){$(".cmplz-file-chosen").text($(this).val().split("\\").pop())});$(document).on("click",".cmplz-image-uploader, .cmplz-logo-preview.cmplz-clickable",function(){var btn=$(this);var container=btn.closest(".cmplz-field");var fieldname=btn.closest(".field-group").data("fieldname");var media_uploader=wp.media({frame:"post",state:"insert",multiple:false});media_uploader.on("insert",function(){var length=media_uploader.state().get("selection").length;var images=media_uploader.state().get("selection").models;for(var iii=0;iii<length;iii++){var thumbnail_id=images[iii].id;var image=false;image=images[iii].attributes.sizes["cmplz_banner_image"];if(!image){image=images[iii].attributes.sizes["medium"]}if(!image){image=images[iii].attributes.sizes["thumbnail"]}if(!image){image=images[iii].attributes.sizes["full"]}if(image){var image_url=image["url"];container.find(".cmplz-logo-preview img").attr("src",image_url);$("input[name=cmplz_"+fieldname+"]").val(thumbnail_id);$(".cmplz-cookiebanner .cmplz-logo").html("<img>");$(".cmplz-cookiebanner .cmplz-logo img").attr("src",image_url)}}});media_uploader.open()})});
1
+ jQuery(document).ready(function($){"use strict";if(document.querySelector(".cmplz-multicheckbox-loadmore")){document.querySelectorAll(".cmplz-multicheckbox-loadmore").forEach(obj=>{obj.setAttribute("data-loadmore-state","hidden");cmplz_toggle_loadmore(false,obj)});function cmplz_toggle_loadmore(show,obj){let count=0;let load_more_count=obj.getAttribute("data-cmplz_loadmore_count");obj.querySelectorAll(".cmplz-checkbox-container").forEach(checkbox_obj=>{count++;if(show){obj.querySelector(".cmplz_load_more .cmplz-load-less").style.display="block";obj.querySelector(".cmplz_load_more .cmplz-load-more").style.display="none";checkbox_obj.style.display="block"}else if(count>load_more_count){obj.querySelector(".cmplz_load_more .cmplz-load-more").style.display="block";obj.querySelector(".cmplz_load_more .cmplz-load-less").style.display="none";checkbox_obj.style.display="none"}})}document.addEventListener("click",e=>{if(e.target.closest(".cmplz_load_more")){e.preventDefault();let obj=e.target;obj=obj.closest(".cmplz-multicheckbox-loadmore");let state=obj.getAttribute("data-loadmore-state");let show=state==="hidden";state=show?"visible":"hidden";obj.setAttribute("data-loadmore-state",state);cmplz_toggle_loadmore(show,obj)}})}$(document).on("click",".cmplz-install-burst",function(){var btn=$("button.cmplz-install-burst");var loader='<div class="cmplz-loader"><div class="rect1"></div><div class="rect2"></div><div class="rect3"></div><div class="rect4"></div><div class="rect5"></div></div>';btn.html(loader);btn.attr("disabled","disabled");$.ajax({type:"GET",url:complianz_admin.admin_url,dataType:"json",data:{step:"download",action:"cmplz_install_plugin"},success:function(response){$.ajax({type:"GET",url:complianz_admin.admin_url,dataType:"json",data:{step:"activate",action:"cmplz_install_plugin"},success:function(response){let completed_text=$(".cmplz-completed-text").html();btn.html(completed_text)}})}})});$(document).on("click",".regions .cmplz-checkbox-container input",function(){cmplz_filter_other_region_options()});var region_field=$(".regions .cmplz-checkbox-container input");cmplz_filter_other_region_options(region_field);function cmplz_filter_other_region_options(){if(!$("select[name=cmplz_other_region_behaviour]").length){return}$(".regions .cmplz-field").find(":checkbox").each(function(i){var region=$(this).attr("name").replace("]","").replace("cmplz_regions[","");var option=$("select[name=cmplz_other_region_behaviour] option[value="+region+"]");if($(this).is(":checked")){option.removeAttr("disabled")}else{option.attr("disabled","disabled")}})}$(document).on("click",".cmplz-copy-shortcode",function(){let clicked_element=$(this);let success;let shortcode_text=$(this).children(".cmplz-copy-shortcode-text");$(this).addClass("cmplz-click-animation");let $temp=$("<input>");$("body").append($temp);$temp.val(shortcode_text.text()).select();try{success=document.execCommand("copy")}catch(e){success=false}$temp.remove();if(success){let tooltip=$(this).children(".cmplz-tooltip");let saved_attr=tooltip.attr("cmplz-tooltip");tooltip.attr("cmplz-tooltip",complianz_admin.copy_text);setTimeout(function(){clicked_element.removeClass("cmplz-click-animation");tooltip.attr("cmplz-tooltip",saved_attr)},2e3)}});var cmplz_localstorage_selectors=$(".cmplz_save_localstorage");if(cmplz_localstorage_selectors.length){cmplz_localstorage_selectors.each(function(){var name=$(this).attr("name");var value=window.localStorage.getItem(name);var curValue=$(this).val();if(value==null||!$(this).find("option[value="+value+"]").length>0){value=curValue;window.localStorage.setItem(name,value);$(this).val(value).change()}else if(typeof value!=="undefined"&&value!==null&&value!==curValue){$(this).val(value).change()}})}$(document).on("change",".cmplz_save_localstorage",function(){const name=$(this).attr("name");const value=$(this).find(":selected").val();window.localStorage.setItem(name,value)});$(document).on("change",".cmplz-download-document-selector",function(){var sel=$(this);if(sel.find(":selected").val().length!=0){sel.closest(".cmplz-document").find("button").attr("disabled",false);document.querySelector(".cmplz-dataleak-btn-href").href=sel.find(":selected").val()}else{sel.closest(".cmplz-document").find("button").attr("disabled",true)}});$(document).on("click",".cmplz-download-document",function(){var btn=$(this);var oldBtnHtml=btn.html();var selectElement=$(this).closest(".cmplz-document").find("select");var url=selectElement.val();var fileTitle=$(this).closest(".cmplz-document").find("select option:selected").text();var loader='<div class="cmplz-loader"><div class="rect1"></div><div class="rect2"></div><div class="rect3"></div><div class="rect4"></div><div class="rect5"></div></div>';btn.html(loader);btn.attr("disabled","disabled");var request=new XMLHttpRequest;request.responseType="blob";request.open("get",url,true);request.send();request.onreadystatechange=function(){if(this.readyState==4&&this.status==200){var obj=window.URL.createObjectURL(this.response);var element=document.createElement("a");element.setAttribute("href",obj);element.setAttribute("download",fileTitle);document.body.appendChild(element);element.click();setTimeout(function(){window.URL.revokeObjectURL(obj)},60*1e3)}};request.onprogress=function(e){btn.html(oldBtnHtml);btn.removeAttr("disabled")}});$(document).on("change",".cmplz-grid-selector",function(){var new_value=$(this).val();var property_name=$(this).attr("id");var url=window.location.href;var region=cmplzGetUrlParam(url,property_name);if(region!==false){url=url.replace("&"+property_name+"="+region,"")}url+="&"+property_name+"="+new_value;window.location.replace(url)});function cmplzGetUrlParam(sPageURL,sParam){if(typeof sPageURL==="undefined")return false;var queryString=sPageURL.split("?");if(queryString.length==1)return false;var sURLVariables=queryString[1].split("&"),sParameterName,i;for(i=0;i<sURLVariables.length;i++){sParameterName=sURLVariables[i].split("=");if(sParameterName[0]===sParam){return sParameterName[1]===undefined?true:decodeURIComponent(sParameterName[1])}}return false}$(document).on("click",".cmplz-tablinks",function(){$(".cmplz-tablinks").removeClass("active");$(this).addClass("active");$(".cmplz-tabcontent").removeClass("active");$("#"+$(this).data("tab")).addClass("active");$("input[name=cmplz_active_tab]").val($(this).data("tab"))});window.setTimeout(function(){$(".cmplz-hide").fadeTo(500,0).slideUp(500,function(){$(this).remove()})},2e3);$(document).on("click",".cmplz-help-modal span",function(e){$(this).closest(".cmplz-help-modal").fadeOut()});$(".cmplz-radio-container").keypress(function(event){var keycode=event.keyCode?event.keyCode:event.which;if(keycode=="13"){$(event.target).find(":radio").click()}});$(".cmplz-switch, .cmplz-checkbox-container").keypress(function(event){var keycode=event.keyCode?event.keyCode:event.which;if(keycode=="13"){$(event.target).find(":checkbox").click()}});function cmplz_validate_multiple(){$(".multiple-field").each(function(){var completed=true;$(this).find("input[type=text]").each(function(){if($(this).val()===""){completed=false}});$(this).find("textarea").each(function(){if($(this).val()===""){completed=false}});var icon=$(this).closest(".cmplz-panel").find(".cmplz-multiple-field-validation i");if(completed){icon.removeClass("fa-times");icon.addClass("fa-check")}else{icon.addClass("fa-times");icon.removeClass("fa-check")}})}cmplz_validate_multiple();$(document).on("keyup",".multiple-field input[type=text]",function(){cmplz_validate_multiple()});$(document).on("keyup",".multiple-field textarea",function(){cmplz_validate_multiple()});cmplz_validate_checkboxes();$(":checkbox").change(cmplz_validate_checkboxes);function cmplz_validate_checkboxes(){$(".cmplz-validate-multicheckbox").each(function(i){var set_required=[];var all_unchecked=true;$(this).find(":checkbox").each(function(i){set_required.push($(this));if($(this).is(":checked")){all_unchecked=false}});var container=$(this).closest(".field-group").find(".cmplz-label");if(all_unchecked){container.removeClass("valid-multicheckbox");container.addClass("invalid-multicheckbox");$.each(set_required,function(index,item){item.prop("required",true);item.addClass("is-required")})}else{container.removeClass("invalid-multicheckbox");container.addClass("valid-multicheckbox");$.each(set_required,function(index,item){item.prop("required",false);item.removeClass("is-required")})}});check_conditions()}$(document).on("change","input",function(e){check_conditions()});$(document).on("change","select",function(e){check_conditions()});$(document).on("change","textarea",function(e){check_conditions()});$(document).on("cmplzRenderConditions",check_conditions);function check_conditions(){var value;var showIfConditionMet=true;$(".condition-check-1").each(function(e){var i;for(i=1;i<4;i++){var question="cmplz_"+$(this).data("condition-question-"+i);var condition_type="AND";if(question=="cmplz_undefined")return;var condition_answer=$(this).data("condition-answer-"+i);var input=$(this).find("input[type=checkbox]");if(!input.length){input=$(this).find("input")}if(!input.length){input=$(this).find("textarea")}if(!input.length){input=$(this).find("select")}if(input.length&&input[0].hasAttribute("required")){input.addClass("is-required")}condition_answer+="";if(condition_answer.indexOf("NOT ")!==-1){condition_answer=condition_answer.replace("NOT ","");showIfConditionMet=false}else{showIfConditionMet=true}var condition_answers=[];if(condition_answer.indexOf(" OR ")!==-1){condition_answers=condition_answer.split(" OR ");condition_type="OR"}else{condition_answers=[condition_answer]}var container=$(this);var fieldName=$(this).data("fieldname");var conditionMet=false;condition_answers.forEach(function(condition_answer){value=get_input_value(question);if($('select[name="'+question+'"]').length){value=Array($("select[name="+question+"]").val())}if($("input[name='"+question+"["+condition_answer+"]"+"']").length){if($("input[name='"+question+"["+condition_answer+"]"+"']").is(":checked")){conditionMet=true;value=[]}else{conditionMet=false;value=[]}}if(showIfConditionMet){if(conditionMet||value.indexOf(condition_answer)!=-1||value==condition_answer){container.removeClass("cmplz-hidden");$("."+fieldName).removeClass("cmplz-hidden");if(input.hasClass("is-required"))input.prop("required",true);conditionMet=true}else{container.addClass("cmplz-hidden");$("."+fieldName).addClass("cmplz-hidden");if(input.hasClass("is-required"))input.prop("required",false)}}else{if(conditionMet||value.indexOf(condition_answer)!=-1||value==condition_answer){container.addClass("cmplz-hidden");$("."+fieldName).addClass("cmplz-hidden");if(input.hasClass("is-required"))input.prop("required",false)}else{container.removeClass("cmplz-hidden");$("."+fieldName).removeClass("cmplz-hidden");if(input.hasClass("is-required"))input.prop("required",true);conditionMet=true}}});if(!conditionMet){break}}})}function get_input_value(fieldName){if($('input[name="'+fieldName+'"]').attr("type")=="text"){return $("input[name^="+fieldName+"]").val()}else{var checked_boxes=[];$('input[name="'+fieldName+'"]:checked').each(function(){checked_boxes[checked_boxes.length]=$(this).val()});return checked_boxes}}var cmplz_interval=1e4;var progress=complianz_admin.progress;var progressBar=$(".cmplz-progress-bar");var cookieContainer=$(".detected-cookies");var previous_page;if($("#cmplz-scan-progress").length){cmplz_interval=3e3}function checkIframeLoaded(){var iframe=document.getElementById("cmplz_cookie_scan_frame");var iframeDoc=iframe.contentDocument||iframe.contentWindow.document;if(!cookieContainer.find(".cmplz-loader").length&&progress<100){}iframe.onload=function(){if(progress>=100)return;$.get(complianz_admin.admin_url,{action:"cmplz_get_scan_progress"},function(response){var obj;if(response){obj=jQuery.parseJSON(response);var cookies=obj.cookies;$(".detected-cookies .cmplz-cookies-table").html(cookies.join("<br>"));$(".cmplz-scan-count").html(cookies.length);progress=parseInt(obj["progress"]);var next_page=obj["next_page"];if(progress>=100){progress=100;progressBar.css({width:progress+"%"})}else{progressBar.css({width:progress+"%"});$("#cmplz_cookie_scan_frame").attr("src",next_page);window.setTimeout(checkIframeLoaded,cmplz_interval)}}});return};window.setTimeout(checkIframeLoaded,cmplz_interval)}if($("#cmplz_cookie_scan_frame").length){checkIframeLoaded()}progressBar.css({width:progress+"%"});var syncProgress=0;var syncProgressBar=$(".cmplz-sync-progress-bar");var syncStatus=$(".cmplz-sync-status span");var syncButton=$(".cmplz-resync");syncStatus.hide();if($("#cmplz-sync-progress").length){var syncProgress=complianz_admin.syncProgress;if(syncProgress<100){syncButton.attr("disabled","disabled");syncStatus.show();syncProgressBar.css({width:syncProgress+"%"});syncCookieDatabase()}}else if($(".cmplz-list-container").length){loadListItem()}$(document).on("click",".cmplz-resync",function(){syncButton.attr("disabled","disabled");syncProgressBar.css({width:"0%"});syncStatus.show();syncCookieDatabase(true)});function syncCookieDatabase(restart){restart=typeof restart!=="undefined"?restart:false;$.get(complianz_admin.admin_url,{action:"cmplz_run_sync",restart:restart},function(response){var obj;if(response){obj=jQuery.parseJSON(response);syncProgress=parseInt(obj["progress"]);var message=obj["message"];if(typeof message!=="undefined"&&message.length>0){$("#cmplz_action_error").removeClass("cmplz-hidden");$("#cmplz_action_error .cmplz-panel").html(message)}if(syncProgress>=100){syncProgress=100;$("#cmplz-sync-loader").html("");syncStatus.hide();syncButton.removeAttr("disabled");loadListItem();syncProgressBar.css({width:syncProgress+"%"})}else{syncProgressBar.css({width:syncProgress+"%"});window.setTimeout(syncCookieDatabase,500)}}})}$(document).on("change","input[name=cmplz_show_deleted]",function(){loadListItem()});$(document).on("click",".cmplz-add-to-policy",function(){var title=$(this).closest(".cmplz-slide-panel").find(".cmplz-title").html();var text=$(this).closest(".cmplz-slide-panel").find(".cmplz-panel-content").html();var content=tmce_getContent("cmplz_custom_privacy_policy_text");tmce_setContent(content+"<h3>"+title+"</h3>"+text,"cmplz_custom_privacy_policy_text");$(this).remove()});function tmce_getContent(editor_id,textarea_id){if(typeof editor_id=="undefined")editor_id=wpActiveEditor;if(typeof textarea_id=="undefined")textarea_id=editor_id;if(jQuery("#wp-"+editor_id+"-wrap").hasClass("tmce-active")&&tinyMCE.get(editor_id)){return tinyMCE.get(editor_id).getContent()}else{return jQuery("#"+textarea_id).val()}}function tmce_setContent(content,editor_id,textarea_id){if(typeof editor_id=="undefined")editor_id=wpActiveEditor;if(typeof textarea_id=="undefined")textarea_id=editor_id;if(jQuery("#wp-"+editor_id+"-wrap").hasClass("tmce-active")&&tinyMCE.get(editor_id)){return tinyMCE.get(editor_id).setContent(content)}else{return jQuery("#"+textarea_id).val(content)}}function tmce_focus(editor_id,textarea_id){if(typeof editor_id=="undefined")editor_id=wpActiveEditor;if(typeof textarea_id=="undefined")textarea_id=editor_id;if(jQuery("#wp-"+editor_id+"-wrap").hasClass("tmce-active")&&tinyMCE.get(editor_id)){return tinyMCE.get(editor_id).focus()}else{return jQuery("#"+textarea_id).focus()}}var cmplz_visible_stat="#bar_pct_all_container";$(cmplz_visible_stat).show();$(document).on("change","select[name=cmplz_region]",function(){$(cmplz_visible_stat).hide();var region=$("select[name=cmplz_region]").val();var type=$("select[name=stats_type]").val();cmplz_visible_stat="#bar_"+type+"_"+region+"_container";$(cmplz_visible_stat).fadeIn()});$(document).on("change","select[name=stats_type]",function(){$(cmplz_visible_stat).hide();var region="eu";if($("select[name=cmplz_region]").length)region=$("select[name=cmplz_region]").val();var type=$("select[name=stats_type]").val();cmplz_visible_stat="#bar_"+type+"_"+region+"_container";$(cmplz_visible_stat).fadeIn()});$(document).on("change",".cmplz_isPersonalData",function(){cmplz_personalDataFieldVisibility($(this))});function cmplz_personalDataFieldVisibility(obj){var container=obj.closest(".cmplz-field");if(obj.is(":checked")){container.find(".cmplz_collectedPersonalData").parent().show()}else{container.find(".cmplz_collectedPersonalData").parent().hide()}}$(document).on("change",".cmplz_thirdParty",function(){cmplz_privacyStatementUrlFieldVisibility($(this))});function cmplz_privacyStatementUrlFieldVisibility(obj){var container=obj.closest(".cmplz-field");if(obj.is(":checked")){container.find(".cmplz_privacyStatementURL").parent().show()}else{container.find(".cmplz_privacyStatementURL").parent().hide()}}$(document).on("change",".cmplz_sync",function(){var container=$(this).closest(".cmplz-field");var checkbox=$(this);var disabled=false;if(checkbox.is(":checked"))disabled=true;container.find(":input").each(function(){if($(this).attr("name")==="cmplz_remove_item"||$(this).attr("name")==="cmplz-save-item"||$(this).attr("name")==="cmplz_restore_item"||$(this).attr("name")==="cmplz_showOnPolicy"||$(this).attr("name")==="cmplz_sync")return;$(this).prop("disabled",disabled);if(disabled){$(this).closest(".cmplz-service-field div, .cmplz-cookie-field div").addClass("cmplz-disabled");$(this).closest("label").addClass("cmplz-disabled")}else{$(this).closest(".cmplz-service-field div, .cmplz-cookie-field div").removeClass("cmplz-disabled");$(this).closest("label").removeClass("cmplz-disabled")}})});$(document).on("change",".cmplz_use_cdb_api",function(){var disabled=$(this).val()==="no"?true:false;$(".cmplz-list-container").find(":input[name=cmplz_sync]").each(function(){var sync_checkbox=$(this).closest("label");if(disabled){sync_checkbox.find(":checkbox").prop("checked",false).change();sync_checkbox.addClass("cmplz-disabled")}else{sync_checkbox.removeClass("cmplz-disabled");sync_checkbox.find(":checkbox").prop("checked",true).change()}})});$(document).on("change",".cmplz_sync",function(){var container=$(this).closest(".cmplz-panel");if($(this).is(":checked")){container.find(".fa-sync-alt").removeClass("cmplz-disabled")}else{container.find(".fa-sync-alt").addClass("cmplz-disabled")}});$(document).on("change",".cmplz_showOnPolicy",function(){var container=$(this).closest(".cmplz-panel");if($(this).is(":checked")){container.find(".fa-file").removeClass("cmplz-error")}else{container.find(".fa-file").addClass("cmplz-error")}});$(document).on("keyup",".cmplz-panel input",function(){cmplzCheckIfCookieIsComplete($(this))});$(document).on("change",".cmplz-panel select",function(){cmplzCheckIfCookieIsComplete($(this))});function cmplzCheckIfCookieIsComplete(obj){var isComplete=true;var container=obj.closest(".cmplz-panel");container.find(":input:not(.cmplz_cookieFunction)").each(function(){if(!$(this).is(":checkbox")&&!$(this).is(":hidden")&&$(this).prop("type")!=="button"){if($(this).prop("nodeName")!=="SELECT"&&$(this).val().length>0){}else if($(this).prop("nodeName")==="SELECT"&&$(this).val()!=0){}else{isComplete=false}}});if(isComplete){var icon=container.find(".fa.fa-times");icon.removeClass("cmplz-error");icon.addClass("cmplz-success");icon.addClass("fa-check");icon.removeClass("fa-times")}else{var icon=container.find(".fa.fa-check");icon.addClass("cmplz-error");icon.removeClass("cmplz-success");icon.addClass("fa-times");icon.removeClass("fa-check")}}if($("#cmplz_language").length){var syncProgress=complianz_admin.syncProgress;if(syncProgress==100)loadListItem();$(document).on("change","#cmplz_language",function(){$(".cmplz-list-container").html('<div class="cmplz-skeleton"></div>');loadListItem()})}if($(".cmplz-select2").length){cmplzInitSelect2()}function cmplzInitSelect2(){$(".cmplz-select2").select2({tags:true,width:"400px"});$(".cmplz-select2-no-additions").select2({width:"400px"})}function loadListItem(){var language=$("#cmplz_language").val();var deleted=$("input[name=cmplz_show_deleted]").is(":checked");$(".cmplz-list-container").html('<div class="cmplz-skeleton"></div>');var type=$("#cmplz_language").data("type");$.ajax({type:"GET",url:complianz_admin.admin_url,dataType:"json",data:{language:language,action:"cmplz_get_list",deleted:deleted,type:type},success:function(response){if(response.success){$(".cmplz-list-container").html(response.html);$(".cmplz_isPersonalData").each(function(){cmplz_personalDataFieldVisibility($(this))});$(".cmplz_thirdParty").each(function(){cmplz_privacyStatementUrlFieldVisibility($(this))});cmpzlSyncDeleteRestoreButtons();cmplzInitSelect2()}}})}function cmpzlSyncDeleteRestoreButtons(){$(".cmplz-panel").each(function(){if($(this).hasClass("cmplz-deleted")){$(this).find('button[data-action="restore"]').show();$(this).find('button[data-action="delete"]').hide()}else{$(this).find('button[data-action="restore"]').hide();$(this).find('button[data-action="delete"]').show()}})}$(document).on("click",".cmplz-edit-item",function(){var action=$(this).data("action");var btn=$(this);var type=btn.data("type");var container=$(this).closest(".cmplz-"+type+"-field");var panel=$(this).closest(".cmplz-panel.cmplz-slide-panel");var language=$("#cmplz_language").val();var btnHtml=btn.html();btn.html('<div class="cmplz-loader"><div class="rect1"></div><div class="rect2"></div><div class="rect3"></div><div class="rect4"></div><div class="rect5"></div></div>');var item_id=container.data(type+"_id");var data={};container.find(":input").each(function(){if($(this).attr("type")==="button")return;if($(this).attr("type")==="checkbox"){data[$(this).attr("name")]=$(this).is(":checked")}else{data[$(this).attr("name")]=$(this).val()}});if(action==="delete"){panel.addClass("cmplz-deleted")}$.ajax({type:"POST",url:complianz_admin.admin_url,dataType:"json",data:{item_id:item_id,type:type,data:JSON.stringify(data),cmplz_action:action,language:language,action:"cmplz_edit_item"},success:function(response){if(response.success){if(action==="delete"){panel.remove()}if(action==="restore"){panel.removeClass("cmplz-deleted");container.find("input").each(function(){$(this).removeAttr("disabled")});container.find("select").each(function(){$(this).removeAttr("disabled")});container.children("div").removeClass("cmplz-disabled");container.children("label").removeClass("cmplz-disabled");container.find('button[name="cmplz-save-item"]').removeAttr("disabled");container.find(".cmplz_sync").change()}cmpzlSyncDeleteRestoreButtons();if(action==="add"){var html=response.html;var field=btn.closest(".cmplz-field");var noservice=$(".cmplz-service-divider.no-service");if(response.divider){if(noservice.length){noservice.closest(".cmplz-service-cookie-list").append(html)}else{html='<div class="cmplz-service-cookie-list">'+response.divider+html+"<div>";field.find(".cmplz-list-container").append(html)}noservice=$(".cmplz-service-divider.no-service");var disable_sync=$(".cmplz_use_cdb_api:checked").val()=="no";if(disable_sync){noservice.siblings(":last").find(".cmplz_sync").closest("label").addClass("cmplz-disabled")}}else{field.find(".cmplz-list-container").append(html)}}if(action==="save"){var title=panel.find(".cmplz-title");var name=container.find(".cmplz_name").val();var new_title=title.text().replace(/\".*\"/,'"'+name+'"');title.text(new_title)}btn.html(btnHtml);cmplzInitSelect2()}}})});$(document).on("click",".cmplz_script_add",cmplz_script_add);function cmplz_script_add(){var btn=$(this);var btn_html=btn.html();var type=btn.data("type");btn.html('<div class="cmplz-loader"><div class="rect1"></div><div class="rect2"></div><div class="rect3"></div><div class="rect4"></div><div class="rect5"></div></div>');$.ajax({type:"POST",url:complianz_admin.admin_url,data:{action:"cmplz_script_add",type:type},success:function(response){if(response.success){btn.before(response.html);btn.html(btn_html)}}})}$(document).on("click",".cmplz_add_url",function(){let container=$(this).closest("div");let templ=$(".cmplz-url-template").get(0).innerHTML;container.append(templ)});$(document).on("click",".cmplz_remove_url",function(){let container=$(this).closest("div");container.remove()});$(document).on("click",".cmplz_script_save",cmplz_script_save);function cmplz_script_save(){var btn=$(this);var btn_html=btn.html();var container=btn.closest(".cmplz-panel");var type=btn.data("type");var action=btn.data("action");var id=btn.data("id");if(action=="save"||action=="remove"){btn.html('<div class="cmplz-loader"><div class="rect1"></div><div class="rect2"></div><div class="rect3"></div><div class="rect4"></div><div class="rect5"></div></div>')}var data={};container.find(":input").each(function(){if($(this).attr("type")==="button")return;if(typeof $(this).attr("name")==="undefined")return;if(!$(this).data("name"))return;if($(this).attr("type")==="checkbox"){data[$(this).data("name")]=$(this).is(":checked")}else if($(this).attr("type")==="radio"){if($(this).is(":checked")){data[$(this).data("name")]=$(this).val()}}else if($(this).data("name")==="urls"){let curValue=data[$(this).data("name")];if(typeof curValue==="undefined")curValue=[];curValue.push($(this).val());data[$(this).data("name")]=curValue}else if($(this).data("name")==="dependency"){let curValue=data[$(this).data("name")];if(typeof curValue==="undefined")curValue=[];curValue.push($(this).data("url")+"|:|"+$(this).val());data[$(this).data("name")]=curValue}else{data[$(this).data("name")]=$(this).val()}});$.ajax({type:"POST",url:complianz_admin.admin_url,data:{action:"cmplz_script_save","cmplz-save":true,type:type,button_action:action,id:id,data:JSON.stringify(data)},success:function(response){if(response.success){if(action==="save"){btn.html(btn_html)}if(action==="remove"){container.remove();btn.html(btn_html)}}}})}function cmplz_check_cookie_blocking_services(){if($("#cmplz_anonymous_window_warning").length){var fs=window.RequestFileSystem||window.webkitRequestFileSystem;if(!fs){return}fs(window.TEMPORARY,100,function(fs){},function(err){$("#cmplz_anonymous_window_warning").show()})}if($("#cmplz_adblock_warning").length){if(window.canRunAds===undefined){$("#cmplz_adblock_warning").show()}}}cmplz_check_cookie_blocking_services();$(document).on("change",".cmplz-document-input",function(){cmplz_update_document_field()});function cmplz_update_document_field(){if($(".cmplz-document-field").length){$(".cmplz-document-field").each(function(){var fieldname=$(this).data("fieldname");var value=$("input[name="+fieldname+"]:checked").val();var urlField=$(this).find(".cmplz-document-custom-url");var pageField=$(this).find(".cmplz-document-custom-page");if(value==="custom"){pageField.show();pageField.prop("required",true)}else{pageField.hide();pageField.prop("required",false)}if(value==="url"){urlField.show();urlField.prop("required",true)}else{urlField.hide();urlField.prop("required",false)}})}}$(document).on("click","#cmplz-create_pages",function(){var btn=$("#cmplz-create_pages");btn.attr("disabled","disabled");var oldBtnHtml=btn.html();btn.html('<div class="cmplz-loader "><div class="rect1"></div><div class="rect2"></div><div class="rect3"></div><div class="rect4"></div><div class="rect5"></div></div>');var pageTitles={};$(".cmplz-create-page-title").each(function(){if(pageTitles.hasOwnProperty($(this).data("region"))){region=pageTitles[$(this).data("region")]}else{var region={}}region[$(this).attr("name")]=$(this).val();pageTitles[$(this).data("region")]=region});$.ajax({type:"POST",url:complianz_admin.admin_url,dataType:"json",data:{pages:JSON.stringify(pageTitles),action:"cmplz_create_pages"},success:function(response){if(response.success){$(".cmplz-panel.cmplz-notification.cmplz-success.cmplz-hidden").removeClass("cmplz-hidden");$(".cmplz-create-page-title").each(function(){$(this).removeClass("cmplz-deleted-page").addClass("cmplz-valid-page");$(this).parent().find(".cmplz-icon").replaceWith(response.icon)});btn.html(response.new_button_text);btn.removeAttr("disabled")}else{btn.html(oldBtnHtml);$(".cmplz-page-created").removeClass("fa-times").addClass("fa-check");$(".cmplz-create-page-title").removeClass("cmplz-deleted-page")}}})});$(document).on("change",".cmplz-region-select",function(){var _href=$(".cmplz-document-button").attr("href").slice(0,-2);$(".cmplz-document-button").attr("href",_href+$(this).val())});var roc_progress=0;var btn=$(".cmplz_export_roc_to_csv");$(document).on("click",".cmplz_export_roc_to_csv",function(e){e.preventDefault();btn.html(roc_progress+" %");btn.prop("disabled",true);cmplzExportBatch()});function cmplzExportBatch(){var btn=$(".cmplz_export_roc_to_csv");$.ajax({type:"GET",url:complianz_admin.admin_url,dataType:"json",data:{action:"cmplz_export_roc_to_csv",order:cmplzGetUrlParameter("order"),cmplz_month_select:cmplzGetUrlParameter("cmplz_month_select"),cmplz_year_select:cmplzGetUrlParameter("cmplz_year_select"),orderby:cmplzGetUrlParameter("orderby"),s:cmplzGetUrlParameter("s")},success:function(response){if(response.success){if(response.progress<100){roc_progress=response.progress;btn.html(roc_progress+" %");cmplzExportBatch()}else{cmplzLoadDownloadBtn(response.link,roc_progress)}}}})}function cmplzLoadDownloadBtn(link,roc_progress){setTimeout(function(){roc_progress=roc_progress+10;if(roc_progress<100){btn.html(roc_progress+" %");cmplzLoadDownloadBtn(link,roc_progress)}else{btn.replaceWith(link)}},100)}function cmplzGetUrlParameter(sParam){var sPageURL=window.location.href;var queryString=sPageURL.split("?");if(queryString.length==1)return false;var sURLVariables=queryString[1].split("&"),sParameterName,i;for(i=0;i<sURLVariables.length;i++){sParameterName=sURLVariables[i].split("=");if(sParameterName[0]===sParam){return sParameterName[1]===undefined?"":decodeURIComponent(sParameterName[1])}}return false}$(document).on("change",".cmplz-region-select",function(){var _href=$(".cmplz-document-button").attr("href").slice(0,-2);$(".cmplz-document-button").attr("href",_href+$(this).val())});$(document).on("click",".upload_button",function(e){e.preventDefault();$("input[type=file]").click()});$(document).on("change",':input[name="cmplz-upload-file"]',function(){$(".cmplz-file-chosen").text($(this).val().split("\\").pop())});$(document).on("click",".cmplz-image-uploader, .cmplz-logo-preview.cmplz-clickable",function(){var btn=$(this);var container=btn.closest(".cmplz-field");var fieldname=btn.closest(".field-group").data("fieldname");var media_uploader=wp.media({frame:"post",state:"insert",multiple:false});media_uploader.on("insert",function(){var length=media_uploader.state().get("selection").length;var images=media_uploader.state().get("selection").models;for(var iii=0;iii<length;iii++){var thumbnail_id=images[iii].id;var image=false;image=images[iii].attributes.sizes["cmplz_banner_image"];if(!image){image=images[iii].attributes.sizes["medium"]}if(!image){image=images[iii].attributes.sizes["thumbnail"]}if(!image){image=images[iii].attributes.sizes["full"]}if(image){var image_url=image["url"];container.find(".cmplz-logo-preview img").attr("src",image_url);$("input[name=cmplz_"+fieldname+"]").val(thumbnail_id);$(".cmplz-cookiebanner .cmplz-logo").html("<img>");$(".cmplz-cookiebanner .cmplz-logo img").attr("src",image_url)}}});media_uploader.open()})});
assets/js/dashboard.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(document).ready((function(t){"use strict";t(document).on("click",".cmplz-dismiss-warning",(function(){var c=t(this).data("warning_id"),s=t(this);s.attr("disabled","disabled");parseInt(t(".cmplz-task-switcher-count").html());var a=t(this).closest(".cmplz-progress-warning-container");a.animate({position:"relative",right:"1000px"},500,(function(){a.remove()})),t.ajax({type:"POST",url:complianz_admin.admin_url,dataType:"json",data:{action:"cmplz_dismiss_warning",id:c},success:function(c){if(s.removeAttr("disabled"),c.success){var a=t(".cmplz-task-switcher-count.cmplz-remaining"),l=parseInt(a.html());a.html(l-1);a=t(".cmplz-task-switcher-count.cmplz-all"),l=parseInt(a.html());a.html(l-1)}}})})),t(document).on("change","[name=cmplz_selected_region]",(function(){var c={};c.region=t("#cmplz_selected_region").val(),function(c,s){var a=s.closest(".cmplz-grid-container").data("template"),l=s.closest(".cmplz-grid-container").find(".cmplz-grid-content");c.action="cmplz_load_gridblock",c.template=a,l.html('<div class="cmplz-skeleton"></div>'),t.ajax({type:"GET",url:complianz_admin.admin_url,dataType:"json",data:c,success:function(t){t.success&&l.html(t.html)}})}(c,t(this))})),t(document).on("click",".cmplz-task-switcher",(function(){var c="remaining";if(t(this).find(".cmplz-task-switcher-count").hasClass("cmplz-all")&&(c="all"),!t(".cmplz-"+c).closest(".cmplz-task-switcher").hasClass("active")){var s=t(this).closest(".cmplz-grid-container").find(".cmplz-grid-content");"all"===c?(t(".cmplz-all").closest(".cmplz-task-switcher").addClass("active"),t(".cmplz-remaining").closest(".cmplz-task-switcher").removeClass("active")):(t(".cmplz-all").closest(".cmplz-task-switcher").removeClass("active"),t(".cmplz-remaining").closest(".cmplz-task-switcher").addClass("active")),s.html('<div class="cmplz-skeleton"></div>'),t.ajax({type:"GET",url:complianz_admin.admin_url,dataType:"json",data:{action:"cmplz_load_warnings",status:c},success:function(t){t.success&&(s.html(t.html),window.document.dispatchEvent(new Event("DOMContentLoaded",{bubbles:!0,cancelable:!0})))}})}})),t(".cmplz-trick a").hover((function(){t(this).find(".cmplz-bullet").css("background-color","#29b6f6")}),(function(){t(this).find(".cmplz-bullet").css("background-color","")}))}));
1
+ jQuery(document).ready(function(l){"use strict";l(document).on("click",".cmplz-dismiss-warning",function(){var t=l(this).data("warning_id"),s=l(this),c=(s.attr("disabled","disabled"),parseInt(l(".cmplz-task-switcher-count").html()),l(this).closest(".cmplz-progress-warning-container"));c.animate({position:"relative",right:"1000px"},500,function(){c.remove()}),l.ajax({type:"POST",url:complianz_admin.admin_url,dataType:"json",data:{action:"cmplz_dismiss_warning",id:t},success:function(t){var c;s.removeAttr("disabled"),t.success&&(t=l(".cmplz-task-switcher-count.cmplz-remaining"),c=parseInt(t.html()),t.html(c-1),t=l(".cmplz-task-switcher-count.cmplz-all"),c=parseInt(t.html()),t.html(c-1))}})}),l(document).on("change","[name=cmplz_selected_region]",function(){var t,c,s,a={};a.region=l("#cmplz_selected_region").val(),a=a,t=l(this),c=t.closest(".cmplz-grid-container").data("template"),s=t.closest(".cmplz-grid-container").find(".cmplz-grid-content"),a.action="cmplz_load_gridblock",a.template=c,s.html('<div class="cmplz-skeleton"></div>'),l.ajax({type:"GET",url:complianz_admin.admin_url,dataType:"json",data:a,success:function(t){t.success&&s.html(t.html)}})}),l(document).on("click",".cmplz-task-switcher",function(){var c,t="remaining";l(this).find(".cmplz-task-switcher-count").hasClass("cmplz-all")&&(t="all"),l(".cmplz-"+t).closest(".cmplz-task-switcher").hasClass("active")||(c=l(this).closest(".cmplz-grid-container").find(".cmplz-grid-content"),"all"===t?(l(".cmplz-all").closest(".cmplz-task-switcher").addClass("active"),l(".cmplz-remaining").closest(".cmplz-task-switcher").removeClass("active")):(l(".cmplz-all").closest(".cmplz-task-switcher").removeClass("active"),l(".cmplz-remaining").closest(".cmplz-task-switcher").addClass("active")),c.html('<div class="cmplz-skeleton"></div>'),l.ajax({type:"GET",url:complianz_admin.admin_url,dataType:"json",data:{action:"cmplz_load_warnings",status:t},success:function(t){t.success&&(c.html(t.html),window.document.dispatchEvent(new Event("DOMContentLoaded",{bubbles:!0,cancelable:!0})))}}))}),l(".cmplz-trick a").hover(function(){l(this).find(".cmplz-bullet").css("background-color","#29b6f6")},function(){l(this).find(".cmplz-bullet").css("background-color","")})});
callback-notices.php CHANGED
@@ -229,7 +229,6 @@ function cmplz_notice_add_pages_to_menu() {
229
  $created_pages = COMPLIANZ::$document->get_created_pages();
230
  $pages_not_in_menu = COMPLIANZ::$document->pages_not_in_menu();
231
  if ( $pages_not_in_menu ) {
232
- cmplz_sidebar_notice( cmplz_sprintf( __( 'You are required to put the "%s" page clearly visible on your homepage.', 'complianz-gdpr' ), cmplz_us_cookie_statement_title() ) );
233
  $docs = implode( ", ", $pages_not_in_menu );
234
  //not using cmplz_sprintf( here, as one variant does not include a %s, causing a translation error notice
235
  cmplz_sidebar_notice( sprintf( esc_html( _n( 'The generated document %s has not been assigned to a menu yet, you can do this now, or skip this step and do it later.',
229
  $created_pages = COMPLIANZ::$document->get_created_pages();
230
  $pages_not_in_menu = COMPLIANZ::$document->pages_not_in_menu();
231
  if ( $pages_not_in_menu ) {
 
232
  $docs = implode( ", ", $pages_not_in_menu );
233
  //not using cmplz_sprintf( here, as one variant does not include a %s, causing a translation error notice
234
  cmplz_sidebar_notice( sprintf( esc_html( _n( 'The generated document %s has not been assigned to a menu yet, you can do this now, or skip this step and do it later.',
class-admin.php CHANGED
@@ -794,8 +794,13 @@ if ( ! class_exists( "cmplz_admin" ) ) {
794
  <?php if ( apply_filters( 'cmplz_show_wizard_page', true ) ) {
795
  COMPLIANZ::$wizard->wizard( 'wizard' );
796
  } else {
797
- $link = '<a href="'.add_query_arg(array('page'=>'cmplz-settings#license'), admin_url('admin.php')).'">';
798
- cmplz_admin_notice( cmplz_sprintf(__( 'Your license needs to be %sactivated%s to unlock the wizard', 'complianz-gdpr' ), $link, '</a>' ));
 
 
 
 
 
799
  } ?>
800
  <?php
801
  }
794
  <?php if ( apply_filters( 'cmplz_show_wizard_page', true ) ) {
795
  COMPLIANZ::$wizard->wizard( 'wizard' );
796
  } else {
797
+ $link_account_page = '<a href="https://complianz.io/account">';
798
+ $link_admin = '<a href="'.add_query_arg(array('page'=>'cmplz-settings#license'), admin_url('admin.php')).'">';
799
+ if ( cmplz_is_multisite_plugin_on_non_multisite_installation() ) {
800
+ cmplz_admin_notice( cmplz_sprintf(__( 'You have activated the Multisite plugin on a non-Multisite environment. Please download the regular Complianz Premium plugin %svia your account%s and install it instead', 'complianz-gdpr' ), $link_account_page, '</a>' ));
801
+ } else {
802
+ cmplz_admin_notice( cmplz_sprintf(__( 'Your license needs to be %sactivated%s to unlock the wizard', 'complianz-gdpr' ), $link_admin, '</a>' ));
803
+ }
804
  } ?>
805
  <?php
806
  }
class-cookie-blocker.php CHANGED
@@ -31,7 +31,7 @@ if ( ! class_exists( 'cmplz_cookie_blocker' ) ) {
31
  if ( cmplz_get_value( 'disable_cookie_block' ) == 1 || cmplz_get_value( 'consent_per_service' ) !== 'yes' ) {
32
  return;
33
  }
34
- $this->cookie_list = get_transient('cmplz_cookie_shredder_list' );
35
  if ( !$this->cookie_list ) {
36
  $this->cookie_list = [];
37
  $cookie_list = COMPLIANZ::$cookie_admin->get_cookies( array(
@@ -515,7 +515,7 @@ if ( ! class_exists( 'cmplz_cookie_blocker' ) ) {
515
  $is_video = $this->is_video( $iframe_src );
516
  $service_name = $this->sanitize_service_name($tag['name']);
517
  $new = $total_match;
518
- $new = preg_replace( '~<iframe\\s~i', '<iframe data-cmplz-target="'.apply_filters('cmplz_data_target', 'src').'" data-src-cmplz="' . $iframe_src . '" ', $new , 1 ); // make sure we replace it only once
519
 
520
  //remove lazy loading for iframes, as it is breaking on activation
521
  $new = str_replace('loading="lazy"', 'data-deferlazy="1"', $new );
31
  if ( cmplz_get_value( 'disable_cookie_block' ) == 1 || cmplz_get_value( 'consent_per_service' ) !== 'yes' ) {
32
  return;
33
  }
34
+ $this->cookie_list = false;//get_transient('cmplz_cookie_shredder_list' );
35
  if ( !$this->cookie_list ) {
36
  $this->cookie_list = [];
37
  $cookie_list = COMPLIANZ::$cookie_admin->get_cookies( array(
515
  $is_video = $this->is_video( $iframe_src );
516
  $service_name = $this->sanitize_service_name($tag['name']);
517
  $new = $total_match;
518
+ $new = preg_replace( '~<iframe\\s~i', '<iframe data-cmplz-target="'.apply_filters('cmplz_data_target', 'src', $total_match).'" data-src-cmplz="' . $iframe_src . '" ', $new , 1 ); // make sure we replace it only once
519
 
520
  //remove lazy loading for iframes, as it is breaking on activation
521
  $new = str_replace('loading="lazy"', 'data-deferlazy="1"', $new );
class-document.php CHANGED
@@ -1153,6 +1153,7 @@ if ( ! class_exists( "cmplz_document" ) ) {
1153
  return $html;
1154
  }
1155
 
 
1156
  public function revoke_link( $atts = array(), $content = null, $tag = ''
1157
  ) {
1158
  // normalize attribute keys, lowercase
@@ -2931,18 +2932,18 @@ if ( ! class_exists( "cmplz_document" ) ) {
2931
 
2932
  if ( ! $error ) {
2933
  if ( ! file_exists( $upload_dir . '/complianz' ) ) {
2934
- mkdir( $upload_dir . '/complianz' );
2935
  }
2936
  if ( ! file_exists( $upload_dir . '/complianz/tmp' ) ) {
2937
- mkdir( $upload_dir . '/complianz/tmp' );
2938
  }
2939
  if ( ! file_exists( $upload_dir . '/complianz/snapshots' ) ) {
2940
- mkdir( $upload_dir . '/complianz/snapshots' );
2941
  }
2942
  $save_dir = $upload_dir . '/complianz/snapshots/';
2943
  $temp_dir = $upload_dir . '/complianz/tmp/' . $token;
2944
  if ( ! file_exists( $temp_dir ) ) {
2945
- mkdir( $temp_dir );
2946
  }
2947
  }
2948
 
1153
  return $html;
1154
  }
1155
 
1156
+
1157
  public function revoke_link( $atts = array(), $content = null, $tag = ''
1158
  ) {
1159
  // normalize attribute keys, lowercase
2932
 
2933
  if ( ! $error ) {
2934
  if ( ! file_exists( $upload_dir . '/complianz' ) ) {
2935
+ mkdir( $upload_dir . '/complianz',0755 );
2936
  }
2937
  if ( ! file_exists( $upload_dir . '/complianz/tmp' ) ) {
2938
+ mkdir( $upload_dir . '/complianz/tmp',0755 );
2939
  }
2940
  if ( ! file_exists( $upload_dir . '/complianz/snapshots' ) ) {
2941
+ mkdir( $upload_dir . '/complianz/snapshots',0755 );
2942
  }
2943
  $save_dir = $upload_dir . '/complianz/snapshots/';
2944
  $temp_dir = $upload_dir . '/complianz/tmp/' . $token;
2945
  if ( ! file_exists( $temp_dir ) ) {
2946
+ mkdir( $temp_dir,0755 );
2947
  }
2948
  }
2949
 
class-export.php CHANGED
@@ -35,6 +35,9 @@ if ( ! class_exists( "cmplz_export_settings" ) ) {
35
  ) {
36
  $settings = get_option( 'complianz_options_settings' );
37
  $wizard = get_option( 'complianz_options_wizard' );
 
 
 
38
  unset( $wizard['used_cookies'] );
39
 
40
  if (isset($_GET['export_type']) && $_GET['export_type']==='cookiebanner') {
35
  ) {
36
  $settings = get_option( 'complianz_options_settings' );
37
  $wizard = get_option( 'complianz_options_wizard' );
38
+ //disable A/B testing
39
+ $settings['a_b_testing'] = false;
40
+ $settings['a_b_testing_buttons'] = false;
41
  unset( $wizard['used_cookies'] );
42
 
43
  if (isset($_GET['export_type']) && $_GET['export_type']==='cookiebanner') {
class-wizard.php CHANGED
@@ -44,6 +44,8 @@ if ( ! class_exists( "cmplz_wizard" ) ) {
44
 
45
 
46
  public function is_wizard_completed_callback() {
 
 
47
  if ( $this->wizard_completed_once() ) {
48
  cmplz_notice( __( "Great, the main wizard is completed. This means the general data is already in the system, and you can continue with the next question. This will start a new, empty document.",
49
  'complianz-gdpr' ) );
@@ -57,6 +59,8 @@ if ( ! class_exists( "cmplz_wizard" ) ) {
57
 
58
 
59
  public function process_custom_hooks() {
 
 
60
  $wizard_type = ( isset( $_POST['wizard_type'] ) )
61
  ? sanitize_title( $_POST['wizard_type'] ) : '';
62
  do_action( "cmplz_wizard_$wizard_type" );
@@ -67,6 +71,8 @@ if ( ! class_exists( "cmplz_wizard" ) ) {
67
  * @param $page
68
  */
69
  public function initialize( $page ) {
 
 
70
  $this->last_section = $this->last_section( $page, $this->step() );
71
  $this->page_url = admin_url( 'admin.php?page=cmplz-' . $page );
72
  //if a post id was passed, we copy the contents of that page to the wizard settings.
@@ -93,6 +99,8 @@ if ( ! class_exists( "cmplz_wizard" ) ) {
93
  * Some actions after the last step has been completed
94
  */
95
  public function wizard_last_step_callback() {
 
 
96
  $page = $this->wizard_type();
97
  cmplz_update_all_banners();
98
 
@@ -115,7 +123,7 @@ if ( ! class_exists( "cmplz_wizard" ) ) {
115
  if ( cmplz_get_value('uses_ad_cookies_personalized') === 'yes' ) {
116
  global $wpdb;
117
  $banner_text = __( "We use technologies like cookies to store and/or access device information. We do this to improve browsing experience and to show personalized ads. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.", 'complianz-gdpr' );
118
- $wpdb->query( "UPDATE {$wpdb->prefix}cmplz_cookiebanners SET message_optin = '$banner_text'" );
119
  }
120
  }
121
  }
@@ -179,7 +187,9 @@ if ( ! class_exists( "cmplz_wizard" ) ) {
179
  public function before_save_wizard_option(
180
  $fieldname, $fieldvalue, $prev_value, $type
181
  ) {
182
-
 
 
183
  update_option( 'cmplz_documents_update_date', time(), false );
184
 
185
  //only run when changes have been made
@@ -267,6 +277,9 @@ if ( ! class_exists( "cmplz_wizard" ) ) {
267
  */
268
 
269
  public function after_saved_all_fields($posted_fields){
 
 
 
270
  //if the region is not EU anymore, and it was previously enabled for EU / eu_consent_regions, reset impressum
271
  if ( array_key_exists('cmplz_regions', $posted_fields) && cmplz_get_value('eu_consent_regions') === 'yes' && !cmplz_has_region('eu')
272
  ) {
@@ -283,6 +296,9 @@ if ( ! class_exists( "cmplz_wizard" ) ) {
283
  */
284
 
285
  public function after_save_wizard_option( $fieldname, $fieldvalue, $prev_value, $type ) {
 
 
 
286
  $generate_css = false;
287
  if ( $fieldname == 'us_states' || $fieldname == 'purpose_personaldata' ) {
288
  add_action( 'shutdown', 'cmplz_update_cookie_policy_title', 12 );
@@ -342,6 +358,9 @@ if ( ! class_exists( "cmplz_wizard" ) ) {
342
  * @return int
343
  */
344
  public function get_next_not_empty_step( $page, $step ) {
 
 
 
345
  if ( ! COMPLIANZ::$field->step_has_fields( $page, $step ) ) {
346
  if ( $step >= $this->total_steps( $page ) ) {
347
  return $step;
@@ -540,6 +559,9 @@ if ( ! class_exists( "cmplz_wizard" ) ) {
540
  */
541
  public function wizard_menu( $page, $wizard_title, $active_step, $active_section )
542
  {
 
 
 
543
  $args_menu['steps'] = "";
544
  for ($i = 1; $i <= $this->total_steps($page); $i++)
545
  {
@@ -571,7 +593,9 @@ if ( ! class_exists( "cmplz_wizard" ) ) {
571
  */
572
  public function wizard_sections( $page, $step, $active_section ) {
573
  $sections = "";
574
-
 
 
575
  if ( COMPLIANZ::$config->has_sections( $page, $step )) {
576
 
577
  for ($i = $this->first_section( $page, $step ); $i <= $this->last_section( $page, $step ); $i ++) {
@@ -613,6 +637,9 @@ if ( ! class_exists( "cmplz_wizard" ) ) {
613
  }
614
 
615
  public function wizard_content( $page, $step, $section ) {
 
 
 
616
  $regions = $this->get_section_regions( $page, $step, $section );
617
  $args = array(
618
  'title' => '',
@@ -745,6 +772,9 @@ if ( ! class_exists( "cmplz_wizard" ) ) {
745
 
746
 
747
  public function required_fields_completed( $page, $step, $section ) {
 
 
 
748
  //get all required fields for this section, and check if they're filled in
749
  $fields = COMPLIANZ::$config->fields( $page, $step, $section );
750
 
@@ -767,6 +797,9 @@ if ( ! class_exists( "cmplz_wizard" ) ) {
767
  }
768
 
769
  public function all_required_fields_completed_wizard(){
 
 
 
770
  return $this->all_required_fields_completed('wizard');
771
  }
772
 
@@ -777,7 +810,9 @@ if ( ! class_exists( "cmplz_wizard" ) ) {
777
  * */
778
 
779
  public function all_required_fields_completed( $page ) {
780
-
 
 
781
  $total_fields = 0;
782
  $completed_fields = 0;
783
  $total_steps = $this->total_steps( $page );
@@ -832,6 +867,9 @@ if ( ! class_exists( "cmplz_wizard" ) ) {
832
  * @return string
833
  */
834
  public function wizard_type() {
 
 
 
835
  $wizard_type = 'wizard';
836
  if ( isset( $_POST['wizard_type'] )
837
  || isset( $_POST['wizard_type'] )
@@ -891,6 +929,9 @@ if ( ! class_exists( "cmplz_wizard" ) ) {
891
  * @return array|bool
892
  */
893
  public function get_section_regions( $page, $step, $section ) {
 
 
 
894
  //only show when in action
895
  $regions = array();
896
 
@@ -950,6 +991,9 @@ if ( ! class_exists( "cmplz_wizard" ) ) {
950
  }
951
 
952
  public function step( $page = false ) {
 
 
 
953
  $step = 1;
954
  if ( ! $page ) {
955
  $page = $this->wizard_type();
@@ -977,6 +1021,9 @@ if ( ! class_exists( "cmplz_wizard" ) ) {
977
  }
978
 
979
  public function section() {
 
 
 
980
  $section = 1;
981
  if ( isset( $_GET["section"] ) ) {
982
  $section = intval( $_GET['section'] );
44
 
45
 
46
  public function is_wizard_completed_callback() {
47
+ if (!cmplz_user_can_manage()) return;
48
+
49
  if ( $this->wizard_completed_once() ) {
50
  cmplz_notice( __( "Great, the main wizard is completed. This means the general data is already in the system, and you can continue with the next question. This will start a new, empty document.",
51
  'complianz-gdpr' ) );
59
 
60
 
61
  public function process_custom_hooks() {
62
+ if (!cmplz_user_can_manage()) return;
63
+
64
  $wizard_type = ( isset( $_POST['wizard_type'] ) )
65
  ? sanitize_title( $_POST['wizard_type'] ) : '';
66
  do_action( "cmplz_wizard_$wizard_type" );
71
  * @param $page
72
  */
73
  public function initialize( $page ) {
74
+ if (!cmplz_user_can_manage()) return;
75
+
76
  $this->last_section = $this->last_section( $page, $this->step() );
77
  $this->page_url = admin_url( 'admin.php?page=cmplz-' . $page );
78
  //if a post id was passed, we copy the contents of that page to the wizard settings.
99
  * Some actions after the last step has been completed
100
  */
101
  public function wizard_last_step_callback() {
102
+ if (!cmplz_user_can_manage()) return;
103
+
104
  $page = $this->wizard_type();
105
  cmplz_update_all_banners();
106
 
123
  if ( cmplz_get_value('uses_ad_cookies_personalized') === 'yes' ) {
124
  global $wpdb;
125
  $banner_text = __( "We use technologies like cookies to store and/or access device information. We do this to improve browsing experience and to show personalized ads. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.", 'complianz-gdpr' );
126
+ $wpdb->query( $wpdb->prepare("UPDATE {$wpdb->prefix}cmplz_cookiebanners SET message_optin = %s", $banner_text) );
127
  }
128
  }
129
  }
187
  public function before_save_wizard_option(
188
  $fieldname, $fieldvalue, $prev_value, $type
189
  ) {
190
+ if ( ! cmplz_user_can_manage() ) {
191
+ return;
192
+ }
193
  update_option( 'cmplz_documents_update_date', time(), false );
194
 
195
  //only run when changes have been made
277
  */
278
 
279
  public function after_saved_all_fields($posted_fields){
280
+ if ( ! cmplz_user_can_manage() ) {
281
+ return;
282
+ }
283
  //if the region is not EU anymore, and it was previously enabled for EU / eu_consent_regions, reset impressum
284
  if ( array_key_exists('cmplz_regions', $posted_fields) && cmplz_get_value('eu_consent_regions') === 'yes' && !cmplz_has_region('eu')
285
  ) {
296
  */
297
 
298
  public function after_save_wizard_option( $fieldname, $fieldvalue, $prev_value, $type ) {
299
+ if ( ! cmplz_user_can_manage() ) {
300
+ return;
301
+ }
302
  $generate_css = false;
303
  if ( $fieldname == 'us_states' || $fieldname == 'purpose_personaldata' ) {
304
  add_action( 'shutdown', 'cmplz_update_cookie_policy_title', 12 );
358
  * @return int
359
  */
360
  public function get_next_not_empty_step( $page, $step ) {
361
+ if ( ! cmplz_user_can_manage() ) {
362
+ return;
363
+ }
364
  if ( ! COMPLIANZ::$field->step_has_fields( $page, $step ) ) {
365
  if ( $step >= $this->total_steps( $page ) ) {
366
  return $step;
559
  */
560
  public function wizard_menu( $page, $wizard_title, $active_step, $active_section )
561
  {
562
+ if ( ! cmplz_user_can_manage() ) {
563
+ return '';
564
+ }
565
  $args_menu['steps'] = "";
566
  for ($i = 1; $i <= $this->total_steps($page); $i++)
567
  {
593
  */
594
  public function wizard_sections( $page, $step, $active_section ) {
595
  $sections = "";
596
+ if ( ! cmplz_user_can_manage() ) {
597
+ return '';
598
+ }
599
  if ( COMPLIANZ::$config->has_sections( $page, $step )) {
600
 
601
  for ($i = $this->first_section( $page, $step ); $i <= $this->last_section( $page, $step ); $i ++) {
637
  }
638
 
639
  public function wizard_content( $page, $step, $section ) {
640
+ if ( ! cmplz_user_can_manage() ) {
641
+ return '';
642
+ }
643
  $regions = $this->get_section_regions( $page, $step, $section );
644
  $args = array(
645
  'title' => '',
772
 
773
 
774
  public function required_fields_completed( $page, $step, $section ) {
775
+ if ( ! cmplz_user_can_manage() ) {
776
+ return false;
777
+ }
778
  //get all required fields for this section, and check if they're filled in
779
  $fields = COMPLIANZ::$config->fields( $page, $step, $section );
780
 
797
  }
798
 
799
  public function all_required_fields_completed_wizard(){
800
+ if ( ! cmplz_user_can_manage() ) {
801
+ return false;
802
+ }
803
  return $this->all_required_fields_completed('wizard');
804
  }
805
 
810
  * */
811
 
812
  public function all_required_fields_completed( $page ) {
813
+ if ( ! cmplz_user_can_manage() ) {
814
+ return false;
815
+ }
816
  $total_fields = 0;
817
  $completed_fields = 0;
818
  $total_steps = $this->total_steps( $page );
867
  * @return string
868
  */
869
  public function wizard_type() {
870
+ if ( ! cmplz_user_can_manage() ) {
871
+ return '';
872
+ }
873
  $wizard_type = 'wizard';
874
  if ( isset( $_POST['wizard_type'] )
875
  || isset( $_POST['wizard_type'] )
929
  * @return array|bool
930
  */
931
  public function get_section_regions( $page, $step, $section ) {
932
+ if ( ! cmplz_user_can_manage() ) {
933
+ return false;
934
+ }
935
  //only show when in action
936
  $regions = array();
937
 
991
  }
992
 
993
  public function step( $page = false ) {
994
+ if ( ! cmplz_user_can_manage() ) {
995
+ return false;
996
+ }
997
  $step = 1;
998
  if ( ! $page ) {
999
  $page = $this->wizard_type();
1021
  }
1022
 
1023
  public function section() {
1024
+ if ( ! cmplz_user_can_manage() ) {
1025
+ return false;
1026
+ }
1027
  $section = 1;
1028
  if ( isset( $_GET["section"] ) ) {
1029
  $section = intval( $_GET['section'] );
complianz-gpdr.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Complianz | GDPR/CCPA Cookie Consent
4
  * Plugin URI: https://www.wordpress.org/plugins/complianz-gdpr
5
  * Description: Complianz Privacy Suite for GDPR, CaCPA, DSVGO, AVG with a conditional cookie warning and customized cookie policy
6
- * Version: 6.3.3
7
  * Text Domain: complianz-gdpr
8
  * Domain Path: /languages
9
  * Author: Really Simple Plugins
@@ -139,7 +139,7 @@ if ( ! class_exists( 'COMPLIANZ' ) ) {
139
  //for auto upgrade functionality
140
  define( 'cmplz_plugin_free', plugin_basename( __FILE__ ) );
141
  $debug = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? time() : '';
142
- define( 'cmplz_version', '6.3.3' . $debug );
143
  define( 'cmplz_plugin_file', __FILE__ );
144
  }
145
 
3
  * Plugin Name: Complianz | GDPR/CCPA Cookie Consent
4
  * Plugin URI: https://www.wordpress.org/plugins/complianz-gdpr
5
  * Description: Complianz Privacy Suite for GDPR, CaCPA, DSVGO, AVG with a conditional cookie warning and customized cookie policy
6
+ * Version: 6.3.4
7
  * Text Domain: complianz-gdpr
8
  * Domain Path: /languages
9
  * Author: Really Simple Plugins
139
  //for auto upgrade functionality
140
  define( 'cmplz_plugin_free', plugin_basename( __FILE__ ) );
141
  $debug = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? time() : '';
142
+ define( 'cmplz_version', '6.3.4' . $debug );
143
  define( 'cmplz_plugin_file', __FILE__ );
144
  }
145
 
config/class-config.php CHANGED
@@ -14,6 +14,7 @@ if ( ! class_exists( "cmplz_config" ) ) {
14
 
15
  public $thirdparty_services
16
  = array(
 
17
  'google-fonts' => 'Google Fonts',
18
  'google-recaptcha' => 'Google reCAPTCHA',
19
  "google-maps" => 'Google Maps',
14
 
15
  public $thirdparty_services
16
  = array(
17
+ 'activecampaign' => 'Active Campaign',
18
  'google-fonts' => 'Google Fonts',
19
  'google-recaptcha' => 'Google reCAPTCHA',
20
  "google-maps" => 'Google Maps',
config/documents/cookie-policy-uk.php CHANGED
@@ -196,10 +196,10 @@ $this->pages['uk']['cookie-statement']['document_elements'] = array(
196
  ),
197
 
198
  'last-sync' => array(
199
- 'content' => cmplz_sprintf('This Cookie Policy was synchronised with %scookiedatabase.org%s on %s', '<a href="https://cookiedatabase.org/" target="_blank">', '</a>', '[sync_date]'),
200
- 'callback_condition' => array(
201
- 'cmplz_cdb_reference_in_policy',
202
- )
203
  ),
204
 
205
  );
196
  ),
197
 
198
  'last-sync' => array(
199
+ 'content' => cmplz_sprintf('This Cookie Policy was synchronised with %scookiedatabase.org%s on %s', '<a href="https://cookiedatabase.org/" target="_blank">', '</a>', '[sync_date]'),
200
+ 'callback_condition' => array(
201
+ 'cmplz_cdb_reference_in_policy',
202
+ )
203
  ),
204
 
205
  );
config/documents/cookie-policy-us.php CHANGED
@@ -233,7 +233,7 @@ We respect and understand that you may want to be sure that your personal inform
233
  ),
234
 
235
  array(
236
- 'content' => cmplz_sprintf(_x('This Cookie Policy was synchronized with %scookiedatabase.org%s on %s', 'Legal document cookie policy', 'complianz-gdpr'),'<a href="https://cookiedatabase.org/" target="_blank">', '</a>', '[sync_date]'),
237
  'callback_condition' => array(
238
  'cmplz_cdb_reference_in_policy',
239
  )
233
  ),
234
 
235
  array(
236
+ 'content' => cmplz_sprintf('This Cookie Policy was synchronized with %scookiedatabase.org%s on %s', '<a href="https://cookiedatabase.org/" target="_blank">', '</a>', '[sync_date]'),
237
  'callback_condition' => array(
238
  'cmplz_cdb_reference_in_policy',
239
  )
config/general-settings.php CHANGED
@@ -147,7 +147,7 @@ $this->fields = $this->fields + array(
147
  'type' => 'number',
148
  'label' => __( "Duration in days of the A/B testing period", 'complianz-gdpr' ),
149
  'disabled' => true,
150
- 'condition' => array( 'a_b_testing' => true ),
151
  'default' => 30,
152
  ),
153
 
147
  'type' => 'number',
148
  'label' => __( "Duration in days of the A/B testing period", 'complianz-gdpr' ),
149
  'disabled' => true,
150
+ 'condition' => array( 'a_b_testing_buttons' => true ),
151
  'default' => 30,
152
  ),
153
 
cookie/class-cookie.php CHANGED
@@ -304,15 +304,16 @@ if ( ! class_exists( "CMPLZ_COOKIE" ) ) {
304
  }
305
 
306
  /**
307
- * Don't translate with Polylang, as polylang does not use the fieldname to translate. This causes mixed up strings when context differs.
308
  * To prevent newly added cookies from getting translated, only translate when not in admin or cron, leaving front-end, where cookies aren't saved.
309
  */
310
- if ( !defined('POLYLANG_VERSION') && $this->language !== 'en' && !is_admin() && !wp_doing_cron() ) {
311
- if (!empty($this->retention) ) $this->retention = cmplz_translate($this->retention, 'cookie_retention');
312
- //type should not be translated
313
- if (!empty($this->cookieFunction) ) $this->cookieFunction = cmplz_translate($this->cookieFunction, 'cookie_function');
314
- if (!empty($this->purpose) ) $this->purpose = cmplz_translate($this->purpose, 'cookie_purpose');
315
- if (!empty($this->collectedPersonalData) ) $this->collectedPersonalData = cmplz_translate($this->collectedPersonalData, 'cookie_collected_personal_data');
 
316
  }
317
 
318
  /**
@@ -389,7 +390,6 @@ if ( ! class_exists( "CMPLZ_COOKIE" ) ) {
389
  cmplz_register_translation( $this->purpose, 'cookie_purpose' );
390
  }
391
  cmplz_register_translation($this->retention, 'cookie_retention');
392
- cmplz_register_translation($this->type, 'cookie_storage_type');
393
  cmplz_register_translation($this->cookieFunction, 'cookie_function');
394
  cmplz_register_translation($this->collectedPersonalData, 'cookie_collected_personal_data');
395
 
@@ -453,6 +453,7 @@ if ( ! class_exists( "CMPLZ_COOKIE" ) ) {
453
  $translation->showOnPolicy = $this->showOnPolicy;
454
  $translation->deleted = $this->deleted;
455
  $translation->ignored = $this->ignored;
 
456
 
457
  // dot not update all translations for these fields, even when not synced.
458
  // //translated data, only when not synced
304
  }
305
 
306
  /**
307
+ * Don't translate purpose with Polylang, as polylang does not use the fieldname to translate. This causes mixed up strings when context differs.
308
  * To prevent newly added cookies from getting translated, only translate when not in admin or cron, leaving front-end, where cookies aren't saved.
309
  */
310
+ if ( $this->language !== 'en' && !is_admin() && !wp_doing_cron() ) {
311
+ if ( !defined('POLYLANG_VERSION') || !$this->sync ) {
312
+ if (!empty($this->purpose) ) $this->purpose = cmplz_translate($this->purpose, 'cookie_purpose');
313
+ }
314
+ if (!empty( $this->retention ) ) $this->retention = cmplz_translate( $this->retention, 'cookie_retention' );
315
+ if (!empty( $this->cookieFunction) ) $this->cookieFunction = cmplz_translate($this->cookieFunction, 'cookie_function');
316
+ if (!empty( $this->collectedPersonalData) ) $this->collectedPersonalData = cmplz_translate($this->collectedPersonalData, 'cookie_collected_personal_data');
317
  }
318
 
319
  /**
390
  cmplz_register_translation( $this->purpose, 'cookie_purpose' );
391
  }
392
  cmplz_register_translation($this->retention, 'cookie_retention');
 
393
  cmplz_register_translation($this->cookieFunction, 'cookie_function');
394
  cmplz_register_translation($this->collectedPersonalData, 'cookie_collected_personal_data');
395
 
453
  $translation->showOnPolicy = $this->showOnPolicy;
454
  $translation->deleted = $this->deleted;
455
  $translation->ignored = $this->ignored;
456
+ $translation->isOwnDomainCookie = $this->isOwnDomainCookie;
457
 
458
  // dot not update all translations for these fields, even when not synced.
459
  // //translated data, only when not synced
cookiebanner/class-cookiebanner.php CHANGED
@@ -1182,10 +1182,10 @@ if ( ! class_exists( "cmplz_cookiebanner" ) ) {
1182
  $uploads = wp_upload_dir();
1183
  $upload_dir = $uploads['basedir'];
1184
  if ( ! file_exists( $upload_dir . '/complianz' ) && is_writable($upload_dir) ) {
1185
- mkdir( $upload_dir . '/complianz' );
1186
  }
1187
  if ( ! file_exists( $upload_dir . '/complianz/css' ) && is_writable($upload_dir . '/complianz') ) {
1188
- mkdir( $upload_dir . '/complianz/css' );
1189
  }
1190
 
1191
  $consent_types = cmplz_get_used_consenttypes();
1182
  $uploads = wp_upload_dir();
1183
  $upload_dir = $uploads['basedir'];
1184
  if ( ! file_exists( $upload_dir . '/complianz' ) && is_writable($upload_dir) ) {
1185
+ mkdir( $upload_dir . '/complianz' ,0755);
1186
  }
1187
  if ( ! file_exists( $upload_dir . '/complianz/css' ) && is_writable($upload_dir . '/complianz') ) {
1188
+ mkdir( $upload_dir . '/complianz/css',0755 );
1189
  }
1190
 
1191
  $consent_types = cmplz_get_used_consenttypes();
cookiebanner/css/categories.less DELETED
@@ -1,133 +0,0 @@
1
- /* The categories are also used on the cookie policy, so this needs to be outside the banner class */
2
- .cmplz-categories {
3
- .cmplz-category {
4
- .cmplz-description-statistics-anonymous {
5
- display: none;
6
- }
7
-
8
- .cmplz-description-statistics {
9
- display: block;
10
- }
11
- }
12
- }
13
-
14
-
15
- .cmplz-categories {
16
- &.cmplz-tcf .cmplz-category .cmplz-category-header {
17
- grid-template-columns: 1fr auto;
18
- }
19
-
20
- .cmplz-category {
21
- &:not(:last-child) {
22
- margin-bottom: 10px;
23
- }
24
-
25
- background-color: rgba(239, 239, 239, .5);
26
-
27
- .cmplz-category-header {
28
- display: grid;
29
- grid-template-columns: 1fr auto 25px;
30
- grid-template-rows: minmax(0, 1fr);
31
- align-items: center;
32
- grid-gap: 0;
33
- padding: 10px;
34
-
35
- .cmplz-category-title {
36
- font-weight: 500;
37
- grid-column-start: 1;
38
- justify-self: start;
39
- font-size: var(--cmplz_category_header_title_font_size);
40
- color: var(--cmplz_text_color);
41
- margin: 0;
42
- }
43
-
44
- // Always active
45
- .cmplz-always-active {
46
- font-size: var(--cmplz_category_header_active_font_size);
47
- font-weight: 500;
48
- color: var(--cmplz_category_header_always_active_color);
49
-
50
- label {
51
- display: none;
52
- }
53
- }
54
-
55
- // Center checkbox
56
- .cmplz-banner-checkbox {
57
- display: flex;
58
- align-items: center;
59
- margin: 0;
60
-
61
- label > span {
62
- display: none;
63
- }
64
-
65
- input[data-category=cmplz_functional] {
66
- display: none;
67
- }
68
- }
69
-
70
- // Complianz marker
71
- .cmplz-icon.cmplz-open {
72
- grid-column-start: 3;
73
- cursor: pointer;
74
- content: '';
75
- background: var(--cmplz_category_open_icon_url) no-repeat;
76
- transform: rotate(0deg);
77
- -webkit-transition: all 0.5s ease;
78
- -moz-transition: all 0.5s ease;
79
- -o-transition: all 0.5s ease;
80
- transition: all 0.5s ease;
81
- background-size: cover;
82
- height: 25px;
83
- width: 25px;
84
- margin: 0 5px;
85
- }
86
-
87
- }
88
-
89
- // Rotate marker on open
90
- &[open] {
91
- .cmplz-icon.cmplz-open {
92
- transform: rotate(180deg);
93
- }
94
- }
95
-
96
- summary {
97
- display: block;
98
- }
99
-
100
- // Remove default marker
101
- summary::marker {
102
- display: none;
103
- content: '';
104
- }
105
-
106
- summary::-webkit-details-marker {
107
- display: none;
108
- content: '';
109
- }
110
-
111
-
112
- .cmplz-description {
113
- font-size: var(--cmplz_category_body_font_size);
114
- color: var(--cmplz_text_color);
115
- margin: 0;
116
- max-width: 100%;
117
- padding: 10px;
118
- }
119
- }
120
- }
121
-
122
- //always active label should be stacked
123
- @media (max-width: 425px) {
124
- .cmplz-category .cmplz-category-header {
125
- grid-template-columns: 1fr !important;
126
- }
127
- }
128
- @media (max-width: 425px) {
129
- .cmplz-message {
130
- margin-right: 5px;
131
- }
132
- }
133
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
cookiebanner/css/cookieblocker.css.map DELETED
File without changes
cookiebanner/css/variables.less DELETED
@@ -1,40 +0,0 @@
1
- :root {
2
- --cmplz_banner_width:600px;
3
- --cmplz_banner_background_color:white;
4
- --cmplz_banner_border_color:#f2f2f2;
5
- --cmplz_banner_border_width:1px;
6
- --cmplz_banner_border_radius:10px;
7
- --cmplz_banner_margin:10px;
8
- --cmplz_categories-height:161px;
9
-
10
- --cmplz_title_font_size:15px;
11
- --cmplz_text_font_size:12px;
12
- --cmplz_text_line_height: calc( var(--cmplz_text_font_size) * 1.5 );
13
- --cmplz_text_color:black;
14
-
15
- --cmplz_hyperlink_color:black;
16
- --cmplz_link_font_size:12px;
17
-
18
- --cmplz_button_accept_background_color:#1e73be;
19
- --cmplz_button_accept_border_color:#1e73be;
20
- --cmplz_button_accept_text_color:#fff;
21
- --cmplz_button_deny_background_color:#f9f9f9;
22
- --cmplz_button_deny_border_color:#f2f2f2;
23
- --cmplz_button_deny_text_color:#333;
24
- --cmplz_button_settings_background_color:#f9f9f9;
25
- --cmplz_button_settings_border_color:#f2f2f2;
26
- --cmplz_button_settings_text_color:#333;
27
- --cmplz_button_border_radius:5px;
28
- --cmplz_button_font_size:15px;
29
- --cmplz_category_header_always_active_color:green;
30
- --cmplz_category_body_font_size:12px;
31
- --cmplz_category_header_title_font_size:14px;
32
- --cmplz_category_header_active_font_size:12px;
33
- --cmplz_category_open_icon_url:url(https://complianz.io/banner-defaults/down.png);
34
- --cmplz-manage-consent-height:50px;
35
- --cmplz-manage-consent-offset:-35px;
36
-
37
- --cmplz_slider_active_color: #29b6f6;
38
- --cmplz_slider_inactive_color: #ccc;
39
- --cmplz_slider_bullet_color: white;
40
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
cookiebanner/js/complianz.js CHANGED
@@ -1294,11 +1294,24 @@ window.cmplz_set_consent = function (category, value){
1294
  cmplz_integrations_revoke();
1295
  //give the code some time to finish, so our track status code can send a signal to the backend.
1296
  setTimeout(function(){
1297
- location.reload()
1298
  }, 500);
1299
  }
1300
  }
1301
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1302
  /**
1303
  * We use ajax to check the consenttype based on region, otherwise caching could prevent the user specific warning
1304
  *
@@ -1421,7 +1434,7 @@ window.cmplz_deny_all = function(){
1421
 
1422
  //we need to let the iab extension handle the reload, otherwise the consent revoke might not be ready yet.
1423
  if ( !complianz.tcf_active && reload ) {
1424
- location.reload();
1425
  }
1426
  }
1427
 
@@ -1498,7 +1511,7 @@ cmplz_add_event('change', '.cmplz-accept-service', function(e){
1498
  cmplz_set_service_consent(service, false);
1499
  //give our track status time to finish
1500
  setTimeout(function(){
1501
- location.reload()
1502
  }, 500);
1503
  }
1504
  //if not input, it's a placeholder
@@ -1510,7 +1523,7 @@ cmplz_add_event('change', '.cmplz-accept-service', function(e){
1510
 
1511
  //give our track status time to finish
1512
  setTimeout(function(){
1513
- location.reload()
1514
  }, 500);
1515
  }
1516
  }
@@ -1804,7 +1817,7 @@ function cmplz_check_cookie_policy_id() {
1804
  }
1805
  }
1806
 
1807
- /**
1808
  * Clear all our own cookies, to make sure path issues are resolved.
1809
  *
1810
  *
@@ -1820,39 +1833,47 @@ function cmplz_clear_cookies(cookie_part){
1820
  date.setTime(date.getTime() - (24 * 60 * 60 * 1000));
1821
  var expires = ";expires=" + date.toGMTString();
1822
  if (window.location.protocol !== "https:") secure = '';
1823
- (function () {
1824
- var cookies = document.cookie.split("; ");
1825
- for (var c = 0; c < cookies.length; c++) {
1826
- var d = window.location.hostname.split(".");
1827
- //if we have more than one result in the array, we can skip the last one, as it will be the .com/.org extension
1828
- var skip_last = d.length > 1;
1829
- while (d.length > 0) {
1830
- var cookieName = cookies[c].split(";")[0].split("=")[0];
1831
- var p = location.pathname;
1832
- p = p.replace(/^\/|\/$/g, '').split('/');
1833
- if ( cookieName.indexOf(cookie_part) !==-1 ) {
1834
- foundCookie = true;
1835
- var cookieBase = encodeURIComponent(cookieName) + '=;SameSite=Lax' + secure + expires +';domain=.' + d.join('.') + ';path=';
1836
- var cookieBaseDomain = encodeURIComponent(cookieName) + '=;SameSite=Lax' + secure + expires +';domain=;path=';
1837
- document.cookie = cookieBaseDomain + '/';
1838
- document.cookie = cookieBase+ '/';
1839
- while (p.length > 0) {
1840
- var path = p.join('/');
1841
- if ( path.length>0 ) {
1842
- document.cookie = cookieBase + '/' + path;
1843
- document.cookie = cookieBaseDomain + '/' + path;
1844
- document.cookie = cookieBase + '/' + path + '/';
1845
- document.cookie = cookieBaseDomain + '/' + path + '/';
1846
- }
1847
- p.pop();
1848
- };
1849
  }
1850
- d.shift();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1851
  //prevents setting cookies on .com/.org
1852
- if (skip_last && d.length==1) d.shift();
1853
  }
1854
  }
1855
- })();
1856
 
1857
  //to prevent a double reload, we preserve the cookie policy id.
1858
  cmplz_set_accepted_cookie_policy_id();
@@ -2077,7 +2098,7 @@ cmplz_add_event('keypress', '.cmplz-cookiebanner .cmplz-header .cmplz-close', fu
2077
  }
2078
  });
2079
 
2080
- /**
2081
  * Compare two arrays
2082
  * @param array
2083
  * @returns {boolean}
@@ -2223,4 +2244,3 @@ if ('undefined' != typeof window.jQuery) {
2223
 
2224
  });
2225
  }
2226
-
1294
  cmplz_integrations_revoke();
1295
  //give the code some time to finish, so our track status code can send a signal to the backend.
1296
  setTimeout(function(){
1297
+ cmplz_reload_browser_compatible()
1298
  }, 500);
1299
  }
1300
  }
1301
 
1302
+ /*
1303
+ * In some browsers, like firefox, the reload does not force reload, but keeps cached data, causing e.g. Google Maps to load anyway.
1304
+ */
1305
+ function cmplz_reload_browser_compatible(){
1306
+ if( navigator.userAgent.toLowerCase().indexOf('firefox') > -1 ){
1307
+ const url = new URL(window.location.href);
1308
+ url.searchParams.set('cmplz-force-reload', Date.now().toString());
1309
+ window.location.href = url.toString();
1310
+ } else {
1311
+ window.location.reload();
1312
+ }
1313
+ }
1314
+
1315
  /**
1316
  * We use ajax to check the consenttype based on region, otherwise caching could prevent the user specific warning
1317
  *
1434
 
1435
  //we need to let the iab extension handle the reload, otherwise the consent revoke might not be ready yet.
1436
  if ( !complianz.tcf_active && reload ) {
1437
+ cmplz_reload_browser_compatible();
1438
  }
1439
  }
1440
 
1511
  cmplz_set_service_consent(service, false);
1512
  //give our track status time to finish
1513
  setTimeout(function(){
1514
+ cmplz_reload_browser_compatible()
1515
  }, 500);
1516
  }
1517
  //if not input, it's a placeholder
1523
 
1524
  //give our track status time to finish
1525
  setTimeout(function(){
1526
+ cmplz_reload_browser_compatible()
1527
  }, 500);
1528
  }
1529
  }
1817
  }
1818
  }
1819
 
1820
+ /*
1821
  * Clear all our own cookies, to make sure path issues are resolved.
1822
  *
1823
  *
1833
  date.setTime(date.getTime() - (24 * 60 * 60 * 1000));
1834
  var expires = ";expires=" + date.toGMTString();
1835
  if (window.location.protocol !== "https:") secure = '';
1836
+ let cookies = document.cookie.split("; ");
1837
+ let pathname = location.pathname;
1838
+ let pathParts = pathname.replace(/^\/|\/$/g, '').split('/');
1839
+
1840
+ for (var i = 0; i < cookies.length; i++) {
1841
+ let cookieName = cookies[i].split(";")[0].split("=")[0];
1842
+ let host = window.location.hostname;
1843
+ var domainParts = host.split(".");
1844
+ //if we have more than one result in the array, we can skip the last one, as it will be the .com/.org extension
1845
+ let skip_last = domainParts.length > 1;
1846
+ if ( cookieName.indexOf(cookie_part) !==-1 ) {
1847
+ foundCookie = true;
1848
+ let cookieBaseDomain = encodeURIComponent(cookieName) + '=;SameSite=Lax' + secure + expires +';domain=;path=';
1849
+ document.cookie = cookieBaseDomain + '/';
1850
+ //and on paths on root
1851
+ while ( pathParts.length > 0) {
1852
+ var path = pathParts.join('/');
1853
+ if ( path.length>0 ) {
1854
+ document.cookie = cookieBaseDomain + '/' + path;
1855
+ document.cookie = cookieBaseDomain + '/' + path + '/';
 
 
 
 
 
 
1856
  }
1857
+ pathParts.pop();
1858
+ };
1859
+ while ( domainParts.length > 0) {
1860
+ let cookieBase = encodeURIComponent(cookieName) + '=;SameSite=Lax' + secure + expires +';domain=.' + domainParts.join('.') + ';path=';
1861
+ document.cookie = cookieBase+ '/';
1862
+ while (pathParts.length > 0) {
1863
+ var path = pathParts.join('/');
1864
+ if ( path.length>0 ) {
1865
+ document.cookie = cookieBase + '/' + path;
1866
+ document.cookie = cookieBase + '/' + path + '/';
1867
+ }
1868
+ pathParts.pop();
1869
+ };
1870
+
1871
+ domainParts.shift();
1872
  //prevents setting cookies on .com/.org
1873
+ if (skip_last && domainParts.length==1) domainParts.shift();
1874
  }
1875
  }
1876
+ }
1877
 
1878
  //to prevent a double reload, we preserve the cookie policy id.
1879
  cmplz_set_accepted_cookie_policy_id();
2098
  }
2099
  });
2100
 
2101
+ /*
2102
  * Compare two arrays
2103
  * @param array
2104
  * @returns {boolean}
2244
 
2245
  });
2246
  }
 
cookiebanner/js/complianz.min.js CHANGED
@@ -1 +1 @@
1
- "use strict";function cmplz_create_element(el,content){let obj=document.createElement(el);obj.innerHtml=content;return obj}function cmplz_add_event(event,selector,callback){document.addEventListener(event,e=>{if(e.target.closest(selector)){callback(e)}})}function cmplz_is_hidden(el){return el.offsetParent===null}function cmplz_html_decode(input){var doc=(new DOMParser).parseFromString(input,"text/html");return doc.documentElement.textContent}document.addEventListener("cmplz_manage_consent_container_loaded",function(e){let url=window.location.href;if(url.indexOf("#")!=-1){let end_pos=url.lastIndexOf("?")!=-1?url.lastIndexOf("?"):undefined;var anchor=url.substring(url.indexOf("#")+1,end_pos);const element=document.getElementById(anchor);if(element){const y=element.getBoundingClientRect().top+window.pageYOffset-200;window.scrollTo({top:y,behavior:"smooth"})}}});complianz.locale=complianz.locale+"&token="+Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,5);(function(){if(typeof window.CustomEvent==="function")return false;function CustomEvent(event,params){params=params||{bubbles:false,cancelable:false,detail:undefined};var evt=document.createEvent("CustomEvent");evt.initCustomEvent(event,params.bubbles,params.cancelable,params.detail);return evt}CustomEvent.prototype=window.Event.prototype;window.CustomEvent=CustomEvent})();let cmplz_banner;let cmplz_banner_container=document.getElementById("cmplz-cookiebanner-container");let cmplz_manage_consent_button;let cmplz_waiting_inline_scripts=[];let cmplz_waiting_scripts=[];let cmplz_fired_scripts=[];let cmplz_placeholder_class_index=0;let cmplz_all_scripts_hook_fired=false;let cmplz_consent_stored_once=false;let cmplz_categories=["functional","preferences","statistics","marketing"];window.cmplz_get_cookie=function(name){if(typeof document==="undefined"){return""}name=complianz.prefix+name+"=";let cArr=document.cookie.split(";");for(let i=0;i<cArr.length;i++){let c=cArr[i].trim();if(c.indexOf(name)==0)return c.substring(name.length,c.length)}return""};window.cmplz_set_cookie=function(name,value,use_prefix){if(typeof document==="undefined"){return}if(typeof use_prefix==="undefined"){use_prefix=true}let secure=";secure";let date=new Date;date.setTime(date.getTime()+complianz.cookie_expiry*24*60*60*1e3);let expires=";expires="+date.toGMTString();if(window.location.protocol!=="https:")secure="";let domain=cmplz_get_cookie_domain();if(domain.length>0){domain=";domain="+domain}let prefix="";if(use_prefix){prefix=complianz.prefix}document.cookie=prefix+name+"="+value+";SameSite=Lax"+secure+expires+domain+";path="+cmplz_get_cookie_path()};window.cmplz_in_array=function(needle,haystack){let length=haystack.length;for(let i=0;i<length;i++){if(haystack[i]==needle)return true}return false};window.cmplz_highest_accepted_category=function(){var consentedCategories=cmplz_accepted_categories();if(cmplz_in_array("marketing",consentedCategories)){return"marketing"}if(cmplz_in_array("statistics",consentedCategories)){return"statistics"}if(cmplz_in_array("preferences",consentedCategories)){return"preferences"}return"functional"};window.cmplz_accept_all=function(){for(var key in cmplz_categories){if(cmplz_categories.hasOwnProperty(key)){cmplz_set_consent(cmplz_categories[key],"allow")}}};function cmplz_set_category_as_body_class(){let classList=document.body.className.split(/\s+/);for(let i=0;i<classList.length;i++){if(classList[i].indexOf("cmplz-")!==-1&&classList[i]!=="cmplz-document"){document.body.classList.remove(classList[i])}}let cats=cmplz_accepted_categories();for(let i in cats){if(cats.hasOwnProperty(i)){document.body.classList.add("cmplz-"+cats[i])}}let services=cmplz_get_all_service_consents();for(let service in services){if(services.hasOwnProperty(service)&&services[service]){document.body.classList.add("cmplz-"+service)}}document.body.classList.add("cmplz-"+complianz.region);document.body.classList.add("cmplz-"+complianz.consenttype);let event=new CustomEvent("cmplz_set_category_as_bodyclass");document.dispatchEvent(event)}function cmplz_append_css(css){let head=document.getElementsByTagName("head")[0];let style=document.createElement("style");style.setAttribute("type","text/css");if(style.styleSheet){style.styleSheet.cssText=css}else{style.appendChild(document.createTextNode(css))}head.appendChild(style)}function cmplz_load_css(path){let fileref=document.createElement("link");fileref.setAttribute("rel","stylesheet");fileref.setAttribute("type","text/css");fileref.setAttribute("href",path);document.getElementsByTagName("head")[0].appendChild(fileref)}function cmplz_run_script(script,category,type){let fileref=document.createElement("script");if(type!=="inline"){fileref.setAttribute("src",script)}else{if(typeof script!=="string"){script=script.innerHTML}fileref.innerHTML=[script,"cmplzScriptLoaded();"].join("\n")}if(cmplz_in_array(script,cmplz_fired_scripts)){return}try{if(type!=="inline"){fileref.onload=function(){cmplz_run_after_all_scripts(category);cmplz_maybe_run_waiting_scripts(script,category)}}else{window.cmplzScriptLoaded=function(){cmplz_run_after_all_scripts(category);cmplz_maybe_run_waiting_scripts(script,category)}}let header=document.getElementsByTagName("head")[0];header.appendChild(fileref)}catch(exception){cmplz_run_after_all_scripts(category);throw"Something went wrong "+exception+" while loading "+script}}function cmplz_maybe_run_waiting_scripts(script,category){let waitingScript=cmplz_get_waiting_script(cmplz_waiting_scripts,script);if(waitingScript){cmplz_run_script(waitingScript,category,"src")}let waiting_inline_script=cmplz_get_waiting_script(cmplz_waiting_inline_scripts,script);if(waiting_inline_script){cmplz_run_script(waiting_inline_script,category,"inline")}}function cmplz_set_blocked_content_container(){document.querySelectorAll(".cmplz-image").forEach(obj=>{if(obj.classList.contains("cmplz-processed")){return}obj.classList.add("cmplz-processed");let service=obj.getAttribute("data-service");let category=obj.getAttribute("data-category");let blocked_image_container=obj.parentElement;blocked_image_container.classList.add("cmplz-blocked-content-container");let curIndex=blocked_image_container.getAttribute("data-placeholder_class_index");if(obj.getAttribute("loading")==="lazy"){obj.removeAttribute("loading");obj.setAttribute("data-deferlazy",1)}if(curIndex==null){cmplz_placeholder_class_index++;blocked_image_container.classList.add("cmplz-placeholder-"+cmplz_placeholder_class_index);blocked_image_container.classList.add("cmplz-blocked-content-container");blocked_image_container.setAttribute("data-placeholder_class_index",cmplz_placeholder_class_index);cmplz_insert_placeholder_text(blocked_image_container,category,service)}});document.querySelectorAll(".cmplz-placeholder-element").forEach(obj=>{if(obj.classList.contains("cmplz-processed")){return}obj.classList.add("cmplz-processed");let service=obj.getAttribute("data-service");let category=obj.getAttribute("data-category");let blocked_content_container;if(obj.classList.contains("cmplz-iframe")){if(obj.getAttribute("loading")==="lazy"){obj.removeAttribute("loading");obj.setAttribute("data-deferlazy",1)}blocked_content_container=obj.parentElement}else{blocked_content_container=obj}let curIndex=blocked_content_container.getAttribute("data-placeholder_class_index");if(curIndex==null){cmplz_placeholder_class_index++;blocked_content_container.classList.add("cmplz-placeholder-"+cmplz_placeholder_class_index);blocked_content_container.classList.add("cmplz-blocked-content-container");blocked_content_container.setAttribute("data-placeholder_class_index",cmplz_placeholder_class_index);cmplz_insert_placeholder_text(blocked_content_container,category,service);let src=obj.getAttribute("data-placeholder-image");if(src&&typeof src!=="undefined"&&src.length){src=src.replace("url(","").replace(")","").replace(/\"/gi,"");cmplz_append_css(".cmplz-placeholder-"+cmplz_placeholder_class_index+" {background-image: url("+src+") !important;}");cmplz_set_blocked_content_container_aspect_ratio(obj,src,cmplz_placeholder_class_index)}}});if(cmplz_has_consent("statistics")){cmplz_enable_category("statistics")}if(cmplz_has_consent("marketing")){cmplz_enable_category("marketing")}}function cmplz_insert_placeholder_text(container,category,service){if(!container.querySelector(".cmplz-blocked-content-notice")){let placeholder_text=complianz.placeholdertext;category=category?category:"marketing";let body;if(typeof placeholder_text!=="undefined"){if(complianz.clean_cookies==1){let service_nicename=service?service.replace("-"," "):"";service_nicename=service_nicename.charAt(0).toUpperCase()+service_nicename.slice(1);placeholder_text=placeholder_text.replace("{service}",service_nicename);body=cmplz_create_element("div",placeholder_text);body.innerHTML=placeholder_text;body.classList.add("cmplz-blocked-content-notice");let btn=body.querySelector("button");btn.setAttribute("data-service",service);btn.setAttribute("data-category",category);btn.setAttribute("aria-label",service);let pageLinks=complianz.page_links[complianz.region];let link=body.querySelector(".cmplz-links a");if(pageLinks&&pageLinks.hasOwnProperty("cookie-statement")){link.setAttribute("href",pageLinks["cookie-statement"]["url"]);if(link.innerText==="{title}"){link.innerText=pageLinks["cookie-statement"]["title"]}}}else{let btn=cmplz_create_element("button","");let category_nicename="marketing";if(complianz.categories.hasOwnProperty(category)){category_nicename=complianz.categories[category]}placeholder_text=placeholder_text.replace("{category}",category_nicename);btn.innerText=placeholder_text;btn.classList.add("cmplz-blocked-content-notice");btn.classList.add("cmplz-accept-category");btn.classList.add("cmplz-accept-"+category);btn.setAttribute("data-service",service);btn.setAttribute("data-category",category);btn.setAttribute("aria-label",service);body=btn}if(container.tagName!=="VIDEO"){container.appendChild(body)}else{container.parentElement.appendChild(body)}}}}function cmplz_set_blocked_content_container_aspect_ratio(container,src,placeholder_class_index){if(container==null)return;let blocked_content_container=container.parentElement;let img=new Image;img.addEventListener("load",function(){let imgWidth=this.naturalWidth;let imgHeight=this.naturalHeight;if(imgWidth===0)imgWidth=1;let w=blocked_content_container.clientWidth;let h=imgHeight*(w/imgWidth);let heightCSS="";if(src.indexOf("placeholder.jpg")===-1){heightCSS="height:"+h+"px;"}cmplz_append_css(".cmplz-placeholder-"+placeholder_class_index+" {"+heightCSS+"}")});img.src=src}var cmplzResizeTimer;window.addEventListener("resize",function(event){clearTimeout(cmplzResizeTimer);cmplzResizeTimer=setTimeout(cmplz_set_blocked_content_container,500)},true);if(complianz.block_ajax_content==1){setInterval(function(){cmplz_set_blocked_content_container()},2e3)}function cmplz_has_blocked_scripts(){let scriptElements=document.querySelectorAll("script[data-category], script[data-service]");return scriptElements.length>0}function cmplz_enable_category(category,service){if(complianz.tm_categories==1&&category!==""){cmplz_run_tm_event(category)}service=typeof service!=="undefined"?service:"do_not_match";if(category==="")category="do_not_match";if(category==="functional"){return}if(category==="marketing"){cmplz_set_integrations_cookies()}let selector;if(service!=="do_not_match"){selector=".cmplz-blocked-content-notice [data-service="+service+"]"}else{selector=complianz.clean_cookies!=1?".cmplz-blocked-content-notice.cmplz-accept-"+category:".cmplz-blocked-content-notice [data-category="+category+"]"}document.querySelectorAll(selector).forEach(obj=>{let blockedElementService=obj.getAttribute("data-service");if(obj.parentNode.classList.contains("cmplz-blocked-content-notice")){obj=obj.parentNode}if(!cmplz_is_service_denied(blockedElementService)){obj.parentNode.removeChild(obj)}});document.querySelectorAll("[data-category="+category+"], [data-service="+service+"]").forEach(obj=>{let elementService=obj.getAttribute("data-service");if(cmplz_is_service_denied(elementService)){return}if(obj.getAttribute("data-category")==="functional"){return}if(obj.classList.contains("cmplz-activated")){return}let tagName=obj.tagName;if(tagName==="STYLE"){obj.classList.add("cmplz-activated");let src=obj.getAttribute("data-href");cmplz_load_css(src,category)}else if(tagName==="IMG"){obj.classList.add("cmplz-activated");let src=obj.getAttribute("data-src-cmplz");obj.setAttribute("src",src);if(obj.getAttribute("data-deferlazy")){obj.setAttribute("loading","lazy")}cmplz_remove_placeholder(obj)}else if(tagName==="IFRAME"){obj.classList.add("cmplz-activated");let src=obj.getAttribute("data-src-cmplz");let srcAttribute=obj.getAttribute("data-cmplz-target")?obj.getAttribute("data-cmplz-target"):"src";let autoplay=cmplz_get_url_parameter(obj.getAttribute(srcAttribute),"autoplay");if(autoplay==="1")src=src+"&autoplay=1";if(obj.getAttribute("data-deferlazy")){obj.setAttribute("loading","lazy")}obj.addEventListener("load",()=>{cmplz_remove_placeholder(obj)});obj.setAttribute(srcAttribute,src)}else if(obj.classList.contains("cmplz-placeholder-element")){obj.classList.add("cmplz-activated");let cssIndex=obj.getAttribute("data-placeholder_class_index");obj.classList.remove("cmplz-blocked-content-container");obj.classList.remove("cmplz-placeholder-"+cssIndex)}let details={};details.category=category;details.service=service;let event=new CustomEvent("cmplz_category_enabled",{detail:details});document.dispatchEvent(event)});let scriptElements=document.querySelectorAll("script[data-category="+category+"], script[data-service="+service+"]");scriptElements.forEach(obj=>{let waitfor=obj.getAttribute("data-waitfor");let src=obj.getAttribute("src");if(waitfor){if(src){cmplz_waiting_scripts[waitfor]=src}else if(obj.innerText.length>0){cmplz_waiting_inline_scripts[waitfor]=obj}}if(obj.parentElement){obj.parentElement.removeChild(obj)}});scriptElements.forEach(obj=>{let script_mime_type=obj.getAttribute("type");if(obj.classList.contains("cmplz-activated")||(!script_mime_type||script_mime_type==="text/javascript")){return}obj.classList.add("cmplz-activated");let src=obj.getAttribute("src");if(src){obj.removeAttribute("type");if(cmplz_is_waiting_script(cmplz_waiting_scripts,src)){return}if(obj.getAttribute("data-post_scribe_id")){let psID="#"+obj.getAttribute("data-post_scribe_id");let postScribeObj=document.querySelector(psID);if(postScribeObj){postScribeObj.innerHtml("");postscribe(psID,"<script src="+src+"><\/script>")}}else{cmplz_run_script(src,category,"src")}}else if(obj.innerText.length>0){if(cmplz_is_waiting_script(cmplz_waiting_inline_scripts,obj.innerText)){return}cmplz_run_script(obj.innerText,category,"inline")}});let details={};details.category=category;details.service=service;details.categories=cmplz_accepted_categories();details.services=cmplz_get_all_service_consents();details.region=complianz.region;let event=new CustomEvent("cmplz_enable_category",{detail:details});document.dispatchEvent(event);if(!cmplz_has_blocked_scripts()){cmplz_run_after_all_scripts(category)}}function cmplz_remove_placeholder(obj){let blocked_content_container=obj.closest(".cmplz-blocked-content-container");if(blocked_content_container){let cssIndex=blocked_content_container.getAttribute("data-placeholder_class_index");blocked_content_container.classList.remove("cmplz-blocked-content-container");blocked_content_container.classList.remove("cmplz-placeholder-"+cssIndex)}obj.classList.remove("cmplz-iframe-styles");obj.classList.remove("cmplz-iframe");obj.classList.remove("video-wrap")}function cmplz_get_waiting_script(waiting_scripts,src){for(let waitfor in waiting_scripts){if(waiting_scripts.hasOwnProperty(waitfor)){if(src.indexOf(waitfor)!==-1){let output=waiting_scripts[waitfor];delete waiting_scripts[waitfor];return output}}}return false}function cmplz_array_is_empty(arr){for(let key in arr){if(arr.hasOwnProperty(key)){return false}}return true}function cmplz_is_waiting_script(waiting_scripts,srcOrScript){for(let waitfor in waiting_scripts){if(waiting_scripts.hasOwnProperty(waitfor)){let waitingScript=waiting_scripts[waitfor];if(typeof waitingScript!=="string")waitingScript=waitingScript.innerText;if(srcOrScript.indexOf(waitingScript)!==-1||waitingScript.indexOf(srcOrScript)!==-1){return true}}}return false}function cmplz_run_after_all_scripts(category){if(!cmplz_all_scripts_hook_fired&&cmplz_array_is_empty(cmplz_waiting_inline_scripts)&&cmplz_array_is_empty(cmplz_waiting_scripts)){let event=new CustomEvent("cmplz_run_after_all_scripts",{detail:category});document.dispatchEvent(event);cmplz_all_scripts_hook_fired=true}}let cmplz_fired_events=[];function cmplz_run_tm_event(category){if(cmplz_fired_events.indexOf(category)===-1){cmplz_fired_events.push(category);window.dataLayer=window.dataLayer||[];window.dataLayer.push({event:complianz.prefix+"event_"+category});let event=new CustomEvent("cmplz_tag_manager_event",{detail:category});document.dispatchEvent(event)}}function cmplz_legacy(){let has_recaptcha=false;document.querySelectorAll("[data-service=recaptcha]").forEach(obj=>{obj.setAttribute("data-service","google-recaptcha");has_recaptcha=true});if(has_recaptcha){console.log("recaptcha as service name is deprecated. Please rename the service in your custom html to google-recaptcha");document.body.classList.add("cmplz-google-recaptcha")}}window.conditionally_show_banner=function(){complianz=cmplz_merge_object(complianz,cmplz_user_data);cmplz_maybe_auto_redirect();cmplz_set_blocked_content_container();cmplz_legacy();window.wp_consent_type=complianz.consenttype;let event=new CustomEvent("wp_consent_type_defined");document.dispatchEvent(event);event=new CustomEvent("cmplz_before_cookiebanner");document.dispatchEvent(event);if(complianz.forceEnableStats==1&&complianz.consenttype==="optin"){cmplz_set_consent("statistics","allow")}let rev_cats=cmplz_categories.reverse();for(let key in rev_cats){if(rev_cats.hasOwnProperty(key)){let category=cmplz_categories[key];if(cmplz_has_consent(category)){cmplz_enable_category(category)}}}if(cmplz_exists_service_consent()){cmplz_enable_category("","general");let services=cmplz_get_services_on_page();for(let key in services){if(services.hasOwnProperty(key)){let service=services[key].service;let category=services[key].category;if(cmplz_has_service_consent(service,category)){document.querySelectorAll(".cmplz-accept-service[data-service="+service+"]").forEach(obj=>{obj.checked=true});cmplz_enable_category("",service)}}}}cmplz_sync_category_checkboxes();cmplz_integrations_init();cmplz_check_cookie_policy_id();cmplz_set_up_auto_dismiss();cmplz_load_manage_consent_container();event=new CustomEvent("cmplz_cookie_banner_data",{detail:complianz});document.dispatchEvent(event);if(cmplz_get_cookie("saved_categories")===""){if(complianz.consenttype!=="optin"&&complianz.consenttype!=="optout"){cmplz_track_status("no_warning")}else if(complianz.do_not_track){cmplz_track_status("do_not_track")}}cmplz_set_category_as_body_class();cmplz_fire_categories_event();if(!complianz.do_not_track){if(complianz.consenttype==="optin"){if(complianz.forceEnableStats){cmplz_enable_category("statistics")}console.log("opt-in");show_cookie_banner()}else if(complianz.consenttype==="optout"){console.log("opt-out");show_cookie_banner()}else{console.log("other consent type, no cookie warning");cmplz_accept_all()}}else{cmplz_track_status("do_not_track")}};function cmplz_get_services_on_page(){let services=[];document.querySelectorAll("[data-service]").forEach(obj=>{let service=obj.getAttribute("data-service");let category=obj.getAttribute("data-category");if(services.indexOf(service)==-1){services.push({category:category,service:service})}});return services}window.show_cookie_banner=function(){let disableCookiebanner=complianz.disable_cookiebanner||cmplz_is_speedbot();let tmpDismissCookiebanner=false;if(document.querySelector("#cmplz-manage-consent-container")||document.querySelector(".cmplz-dropdown-cookiepolicy")){tmpDismissCookiebanner=true}var fragment=document.createDocumentFragment();let container=document.getElementById("cmplz-cookiebanner-container");if(container){fragment.appendChild(container);document.body.prepend(fragment)}let link=document.createElement("link");let pageLinks=complianz.page_links[complianz.region];cmplz_banner=document.querySelector(".cmplz-cookiebanner.banner-"+complianz.user_banner_id+"."+complianz.consenttype);cmplz_manage_consent_button=document.querySelector("#cmplz-manage-consent .cmplz-manage-consent.manage-consent-"+complianz.user_banner_id);let css_file_url=complianz.css_file.replace("{type}",complianz.consenttype).replace("{banner_id}",complianz.user_banner_id);if(complianz.css_file.indexOf("cookiebanner/css/defaults/banner")!=-1){console.log("Fallback default css file used. Please re-save banner settings, or check file writing permissions in uploads directory")}link.href=css_file_url;link.type="text/css";link.rel="stylesheet";link.onload=function(){if(!disableCookiebanner){cmplz_banner.classList.remove("cmplz-hidden");cmplz_manage_consent_button.classList.remove("cmplz-hidden")}};document.getElementsByTagName("head")[0].appendChild(link);if(cmplz_banner&&!disableCookiebanner){cmplz_banner.querySelectorAll(".cmplz-links a:not(.cmplz-external), .cmplz-buttons a:not(.cmplz-external)").forEach(obj=>{let docElement=obj;docElement.classList.add("cmplz-hidden");for(let pageType in pageLinks){if(pageLinks.hasOwnProperty(pageType)&&docElement.classList.contains(pageType)){docElement.setAttribute("href",pageLinks[pageType]["url"]+docElement.getAttribute("data-relative_url"));if(docElement.innerText==="{title}"){docElement.innerText=cmplz_html_decode(pageLinks[pageType]["title"])}docElement.classList.remove("cmplz-hidden")}}});cmplz_set_banner_status();if(tmpDismissCookiebanner){cmplz_banner.classList.remove("cmplz-show");cmplz_banner.classList.add("cmplz-dismissed");cmplz_manage_consent_button.classList.remove("cmplz-dismissed");cmplz_manage_consent_button.classList.add("cmplz-show")}}let event=new CustomEvent("cmplz_cookie_warning_loaded",{detail:complianz.region});document.dispatchEvent(event)};window.cmplz_get_banner_status=function(){return cmplz_get_cookie("banner-status")};window.cmplz_set_banner_status=function(status){let prevStatus=cmplz_get_cookie("banner-status");status=typeof status!=="undefined"?status:prevStatus;if(status!==prevStatus){cmplz_set_cookie("banner-status",status)}if(status.length===0){status="show"}if(status==="show"){prevStatus="dismissed"}else{prevStatus="show"}if(cmplz_banner&&status.length>0){cmplz_banner.classList.remove("cmplz-"+prevStatus);cmplz_banner.classList.add("cmplz-"+status);if(cmplz_manage_consent_button){cmplz_manage_consent_button.classList.add("cmplz-"+prevStatus);cmplz_manage_consent_button.classList.remove("cmplz-"+status)}}if(cmplz_banner_container&&complianz.soft_cookiewall){cmplz_banner_container.classList.remove("cmplz-"+prevStatus);cmplz_banner_container.classList.add("cmplz-"+status);cmplz_banner_container.classList.add("cmplz-soft-cookiewall")}let event=new CustomEvent("cmplz_banner_status",{detail:status});document.dispatchEvent(event);cmplz_start_clean()};function cmplz_is_bot(){var botPattern="(googlebot/|Googlebot-Mobile|Googlebot-Image|Google favicon|Mediapartners-Google|bingbot|slurp|java|wget|curl|Commons-HttpClient|Python-urllib|libwww|httpunit|nutch|phpcrawl|msnbot|jyxobot|FAST-WebCrawler|FAST Enterprise Crawler|biglotron|teoma|convera|seekbot|gigablast|exabot|ngbot|ia_archiver|GingerCrawler|webmon |httrack|webcrawler|grub.org|UsineNouvelleCrawler|antibot|netresearchserver|speedy|fluffy|bibnum.bnf|findlink|msrbot|panscient|yacybot|AISearchBot|IOI|ips-agent|tagoobot|MJ12bot|dotbot|woriobot|yanga|buzzbot|mlbot|yandexbot|purebot|Linguee Bot|Voyager|CyberPatrol|voilabot|baiduspider|citeseerxbot|spbot|twengabot|postrank|turnitinbot|scribdbot|page2rss|sitebot|linkdex|Adidxbot|blekkobot|ezooms|dotbot|Mail.RU_Bot|discobot|heritrix|findthatfile|europarchive.org|NerdByNature.Bot|sistrix crawler|ahrefsbot|Aboundex|domaincrawler|wbsearchbot|summify|ccbot|edisterbot|seznambot|ec2linkfinder|gslfbot|aihitbot|intelium_bot|facebookexternalhit|yeti|RetrevoPageAnalyzer|lb-spider|sogou|lssbot|careerbot|wotbox|wocbot|ichiro|DuckDuckBot|lssrocketcrawler|drupact|webcompanycrawler|acoonbot|openindexspider|gnam gnam spider|web-archive-net.com.bot|backlinkcrawler|coccoc|integromedb|content crawler spider|toplistbot|seokicks-robot|it2media-domain-crawler|ip-web-crawler.com|siteexplorer.info|elisabot|proximic|changedetection|blexbot|arabot|WeSEE:Search|niki-bot|CrystalSemanticsBot|rogerbot|360Spider|psbot|InterfaxScanBot|Lipperhey SEO Service|CC Metadata Scaper|g00g1e.net|GrapeshotCrawler|urlappendbot|brainobot|fr-crawler|binlar|SimpleCrawler|Livelapbot|Twitterbot|cXensebot|smtbot|bnf.fr_bot|A6-Indexer|ADmantX|Facebot|Twitterbot|OrangeBot|memorybot|AdvBot|MegaIndex|SemanticScholarBot|ltx71|nerdybot|xovibot|BUbiNG|Qwantify|archive.org_bot|Applebot|TweetmemeBot|crawler4j|findxbot|SemrushBot|yoozBot|lipperhey|y!j-asr|Domain Re-Animator Bot|AddThis)";var reBot=new RegExp(botPattern,"i");var userAgent=navigator.userAgent;return reBot.test(userAgent)}function cmplz_is_speedbot(){var userAgent=navigator.userAgent;var speedBotPattern="(GTmetrix|pingdom|pingbot|Lighthouse)";var speedBot=new RegExp(speedBotPattern,"i");return speedBot.test(userAgent)}window.cmplz_has_consent=function(category){if(cmplz_is_bot()){return true}if(category==="functional")return true;var has_consent,value;value=cmplz_get_cookie(category);if(complianz.consenttype==="optout"&&value===""){has_consent=true}else{has_consent=value==="allow"}return has_consent};window.cmplz_is_service_denied=function(service){var consented_services_json=cmplz_get_cookie("consented_services");var consented_services;try{consented_services=JSON.parse(consented_services_json)}catch(e){consented_services={}}if(!consented_services.hasOwnProperty(service)){return false}else{return!consented_services[service]}};window.cmplz_has_service_consent=function(service,category){var consented_services_json=cmplz_get_cookie("consented_services");var consented_services;try{consented_services=JSON.parse(consented_services_json)}catch(e){consented_services={}}if(!consented_services.hasOwnProperty(service)){return cmplz_has_consent(category)}else{return consented_services[service]}};function cmplz_exists_service_consent(){var consented_services_json=cmplz_get_cookie("consented_services");var consented_services;try{consented_services=JSON.parse(consented_services_json);for(const key in consented_services){if(consented_services.hasOwnProperty(key)){if(consented_services[key]==true){return true}}}}catch(e){return false}return false}function cmplz_set_service_consent(service,consented){var consented_services_json=cmplz_get_cookie("consented_services");var consented_services;try{consented_services=JSON.parse(consented_services_json)}catch(e){consented_services={}}consented_services[service]=consented;cmplz_set_cookie("consented_services",JSON.stringify(consented_services));let details={};details.service=service;details.value=consented;details.region=complianz.region;cmplz_all_scripts_hook_fired=false;let event=new CustomEvent("cmplz_status_change_service",{detail:details});document.dispatchEvent(event)}function cmplz_clear_all_service_consents(){cmplz_set_cookie("consented_services","")}function cmplz_get_all_service_consents(){var consented_services_json=cmplz_get_cookie("consented_services");var consented_services;try{consented_services=JSON.parse(consented_services_json)}catch(e){consented_services={}}return consented_services}function cmplz_get_cookie_path(){return typeof complianz.cookie_path!=="undefined"&&complianz.cookie_path!==""?complianz.cookie_path:"/"}function cmplz_get_cookie_domain(){var domain="";if(complianz.set_cookies_on_root==1&&complianz.cookie_domain.length>3){domain=complianz.cookie_domain}if(domain.indexOf("localhost")!==-1){domain=""}return domain}window.cmplz_set_consent=function(category,value){cmplz_set_accepted_cookie_policy_id();var previous_value=cmplz_get_cookie(category);var checked=value==="allow";document.querySelectorAll("input.cmplz-"+category).forEach(obj=>{obj.checked=checked});if(previous_value===value){return}cmplz_set_cookie(category,value);if(value==="allow"){cmplz_enable_category(category)}cmplz_wp_set_consent(category,value);if(category==="statistics"){cmplz_wp_set_consent("statistics-anonymous","allow")}let details=new Object;details.category=category;details.value=value;details.region=complianz.region;details.categories=cmplz_accepted_categories();cmplz_all_scripts_hook_fired=false;let event=new CustomEvent("cmplz_status_change",{detail:details});document.dispatchEvent(event);if(category==="marketing"&&value==="deny"&&previous_value==="allow"){cmplz_integrations_revoke();setTimeout(function(){location.reload()},500)}};var cmplz_user_data=[];if(typeof Storage!=="undefined"&&sessionStorage.cmplz_user_data){cmplz_user_data=JSON.parse(sessionStorage.cmplz_user_data)}if(complianz.geoip==1&&(cmplz_user_data.length==0||cmplz_user_data.version!==complianz.version||cmplz_user_data.banner_version!==complianz.banner_version)){var request=new XMLHttpRequest;let cmplzUserRegion=cmplz_get_url_parameter(window.location.href,"cmplz_user_region");cmplzUserRegion=cmplzUserRegion?"&cmplz_user_region="+cmplzUserRegion:"";request.open("GET",complianz.url+"banner?"+complianz.locale+cmplzUserRegion,true);request.setRequestHeader("Content-type","application/json");request.send();request.onload=function(){cmplz_user_data=JSON.parse(request.response);sessionStorage.cmplz_user_data=JSON.stringify(cmplz_user_data);conditionally_show_banner()}}else{conditionally_show_banner()}if(complianz.store_consent==1){var cmplz_id_cookie=cmplz_get_cookie("id");var cmplz_id_session="";var cmplz_id="";if(typeof Storage!=="undefined"&&sessionStorage.cmplz_id){cmplz_id_session=JSON.parse(sessionStorage.cmplz_id)}if(cmplz_id_cookie.length==0&&cmplz_id_session.length>0){cmplz_id=cmplz_id_session;cmplz_set_cookie("id",cmplz_id)}if(cmplz_id_cookie.length>0&&cmplz_id_session.length==0){cmplz_id=cmplz_id_cookie}if(typeof Storage!=="undefined"){sessionStorage.cmplz_id=JSON.stringify(cmplz_id)}}document.addEventListener("visibilitychange",function(){if(document.visibilityState==="hidden"){cmplz_track_status_end()}});window.addEventListener("pagehide",cmplz_track_status_end,false);window.addEventListener("beforeunload",cmplz_track_status_end,false);function cmplz_track_status_end(){if(!cmplz_consent_stored_once){cmplz_track_status()}}document.addEventListener("cmplz_consent_action",function(e){cmplz_set_consent(e.detail.category,"allow");cmplz_fire_categories_event();cmplz_track_status()});window.cmplz_accept_all=function(){cmplz_clear_all_service_consents();for(var key in cmplz_categories){if(cmplz_categories.hasOwnProperty(key)){cmplz_set_consent(cmplz_categories[key],"allow")}}cmplz_sync_category_checkboxes()};window.cmplz_deny_all=function(){for(var key in cmplz_categories){if(cmplz_categories.hasOwnProperty(key)){cmplz_set_consent(cmplz_categories[key],"deny")}}var consentLevel=cmplz_highest_accepted_category();var reload=false;if(consentLevel!=="functional"||cmplz_exists_service_consent()){reload=true}if(cmplz_clear_cookies("cmplz_service")){reload=true}cmplz_clear_all_service_consents();cmplz_integrations_revoke();cmplz_fire_categories_event();cmplz_track_status();let event=new CustomEvent("cmplz_revoke",{detail:reload});document.dispatchEvent(event);if(!complianz.tcf_active&&reload){location.reload()}};cmplz_add_event("click",".cmplz-accept",function(e){e.preventDefault();cmplz_accept_all();cmplz_set_banner_status("dismissed");cmplz_fire_categories_event();cmplz_track_status()});cmplz_add_event("click",".cmplz-accept-category, .cmplz-accept-marketing",function(e){e.preventDefault();let obj=e.target;var service=obj.getAttribute("data-service");var category=obj.getAttribute("data-category");category=category?category:"marketing";if(complianz.clean_cookies==1&&typeof service!=="undefined"&&service){cmplz_set_service_consent(service,true);cmplz_enable_category("","general");cmplz_enable_category("",service)}else{cmplz_set_consent(category,"allow")}cmplz_set_banner_status("dismissed");cmplz_fire_categories_event();cmplz_track_status()});cmplz_add_event("click",".cmplz-accept-service",function(e){let obj=e.target;let tagName=obj.tagName;if(tagName==="INPUT"){return}let service=obj.getAttribute("data-service");if(typeof service!=="undefined"){cmplz_set_service_consent(service,true);cmplz_enable_category("","general");cmplz_enable_category("",service)}cmplz_fire_categories_event();cmplz_track_status()});cmplz_add_event("change",".cmplz-accept-service",function(e){let obj=e.target;let tagName=obj.tagName;let service=obj.getAttribute("data-service");if(typeof service!=="undefined"){if(tagName==="INPUT"){cmplz_set_banner_status("dismissed");if(obj.checked){cmplz_set_service_consent(service,true);cmplz_enable_category("",service)}else{cmplz_set_service_consent(service,false);setTimeout(function(){location.reload()},500)}}else{e.preventDefault();cmplz_set_service_consent(service,true);cmplz_enable_category("","general");cmplz_enable_category("",service);setTimeout(function(){location.reload()},500)}}cmplz_fire_categories_event();cmplz_track_status()});cmplz_add_event("click",".cmplz-save-preferences",function(e){let obj=e.target;cmplz_banner=obj.closest(".cmplz-cookiebanner");for(var key in cmplz_categories){if(cmplz_categories.hasOwnProperty(key)){var category=cmplz_categories[key];var categoryElement=cmplz_banner.querySelector("input.cmplz-"+category);if(categoryElement){if(categoryElement.checked){cmplz_set_consent(category,"allow")}else{cmplz_set_consent(category,"deny")}}}}cmplz_set_banner_status("dismissed");cmplz_fire_categories_event();cmplz_track_status()});cmplz_add_event("click",".cmplz-close",function(e){cmplz_set_banner_status("dismissed")});cmplz_add_event("click",".cmplz-view-preferences",function(e){let obj=e.target;cmplz_banner=obj.closest(".cmplz-cookiebanner");if(cmplz_banner.querySelector(".cmplz-categories").classList.contains("cmplz-fade-in")){cmplz_banner.classList.remove("cmplz-categories-visible");cmplz_banner.querySelector(".cmplz-categories").classList.remove("cmplz-fade-in");cmplz_banner.querySelector(".cmplz-view-preferences").style.display="block";cmplz_banner.querySelector(".cmplz-save-preferences").style.display="none"}else{cmplz_banner.classList.add("cmplz-categories-visible");cmplz_banner.querySelector(".cmplz-categories").classList.add("cmplz-fade-in");cmplz_banner.querySelector(".cmplz-view-preferences").style.display="none";cmplz_banner.querySelector(".cmplz-save-preferences").style.display="block"}});cmplz_add_event("change",".cmplz-manage-consent-container .cmplz-category",function(e){for(var key in cmplz_categories){if(cmplz_categories.hasOwnProperty(key)){var category=cmplz_categories[key];var categoryElement=document.querySelector(".cmplz-manage-consent-container input.cmplz-"+category);if(categoryElement){if(categoryElement.checked){cmplz_set_consent(category,"allow")}else{cmplz_set_consent(category,"deny")}cmplz_set_banner_status("dismissed");cmplz_fire_categories_event();cmplz_track_status()}}}});cmplz_add_event("click",".cmplz-deny",function(e){e.preventDefault();cmplz_set_banner_status("dismissed");cmplz_deny_all()});cmplz_add_event("click","button.cmplz-manage-settings",function(e){e.preventDefault();var catsContainer=document.querySelector(".cmplz-cookiebanner .cmplz-categories");var saveSettings=document.querySelector(".cmplz-save-settings");var manageSettings=document.querySelector("button.cmplz-manage-settings");if(!cmplz_is_hidden(catsContainer)){saveSettings.style.display="none";manageSettings.style.display="block";catsContainer.style.display="none"}else{saveSettings.style.display="block";manageSettings.style.display="none";catsContainer.style.display="block"}});cmplz_add_event("click","button.cmplz-manage-consent",function(e){e.preventDefault();cmplz_set_banner_status("show")});function cmplz_set_up_auto_dismiss(){if(complianz.consenttype==="optout"){if(complianz.dismiss_on_scroll==1){var onWindowScroll=function(evt){if(window.pageYOffset>Math.floor(400)){cmplz_set_banner_status("dismissed");cmplz_fire_categories_event();cmplz_track_status();window.removeEventListener("scroll",onWindowScroll);this.onWindowScroll=null}};window.addEventListener("scroll",onWindowScroll)}var delay=parseInt(complianz.dismiss_timeout);if(delay>0){var cmplzDismissTimeout=window.setTimeout(function(){cmplz_set_banner_status("dismissed");cmplz_fire_categories_event();cmplz_track_status()},Math.floor(delay))}}}function cmplz_fire_categories_event(){let details=new Object;details.category=cmplz_highest_accepted_category();details.categories=cmplz_accepted_categories();details.region=complianz.region;let event=new CustomEvent("cmplz_fire_categories",{detail:details});document.dispatchEvent(event)}function cmplz_track_status(status){var cats=[];status=typeof status!=="undefined"?status:false;let event=new CustomEvent("cmplz_track_status",{detail:status});document.dispatchEvent(event);if(!status){cats=cmplz_accepted_categories()}else{cats=[status]}cmplz_set_category_as_body_class();var saved_cats,saved_services;try{saved_cats=JSON.parse(cmplz_get_cookie("saved_categories"))}catch(e){saved_cats={}}try{saved_services=JSON.parse(cmplz_get_cookie("saved_services"))}catch(e){saved_services={}}var consented_services=cmplz_get_all_service_consents();if(cmplz_equals(saved_cats,cats)&&cmplz_equals(saved_services,consented_services)){return}if(complianz.store_consent!=1||cmplz_is_bot()||cmplz_is_speedbot()){return}cmplz_set_cookie("saved_categories",JSON.stringify(cats));cmplz_set_cookie("saved_services",JSON.stringify(consented_services));cmplz_consent_stored_once=true;let data;var request=new XMLHttpRequest;request.open("POST",complianz.url+"track",true);data={consented_categories:cats,consented_services:consented_services,consenttype:window.wp_consent_type};request.setRequestHeader("Content-type","application/json");request.send(JSON.stringify(data))}function cmplz_accepted_categories(){var consentedCategories=cmplz_categories;var consentedTemp=[];for(var key in consentedCategories){if(consentedCategories.hasOwnProperty(key)){var category=consentedCategories[key];if(cmplz_has_consent(category)){consentedTemp.push(category)}}}consentedCategories=consentedCategories.filter(function(value,index,consentedCategories){return cmplz_in_array(value,consentedTemp)});return consentedCategories}function cmplz_sync_category_checkboxes(){for(var key in cmplz_categories){if(cmplz_categories.hasOwnProperty(key)){var category=cmplz_categories[key];if(cmplz_has_consent(category)||category==="functional"){document.querySelectorAll("input.cmplz-"+category).forEach(obj=>{obj.checked=true})}else{document.querySelectorAll("input.cmplz-"+category).forEach(obj=>{obj.checked=false})}}document.querySelectorAll(".cmplz-accept-service").forEach(obj=>{let service=obj.getAttribute("data-service");let category=obj.getAttribute("data-category");if(cmplz_has_service_consent(service,category)){obj.checked=true}else if(cmplz_is_service_denied(service)){obj.checked=false}else{let category=obj.getAttribute("data-category");obj.checked=!!cmplz_has_consent(category)}})}}function cmplz_merge_object(userdata,ajax_data){var output=[];for(key in ajax_data){if(ajax_data.hasOwnProperty(key))output[key]=ajax_data[key]}for(var key in userdata){if(!ajax_data.hasOwnProperty(key)||typeof ajax_data[key]==="undefined"){if(userdata.hasOwnProperty(key))output[key]=userdata[key]}}return output}function cmplz_check_cookie_policy_id(){var user_policy_id=cmplz_get_cookie("policy_id");if(user_policy_id&&complianz.current_policy_id!==user_policy_id){cmplz_clear_cookies("cmplz")}}function cmplz_clear_cookies(cookie_part){var foundCookie=false;if(typeof document==="undefined"){return foundCookie}var secure=";secure";var date=new Date;date.setTime(date.getTime()-24*60*60*1e3);var expires=";expires="+date.toGMTString();if(window.location.protocol!=="https:")secure="";(function(){var cookies=document.cookie.split("; ");for(var c=0;c<cookies.length;c++){var d=window.location.hostname.split(".");var skip_last=d.length>1;while(d.length>0){var cookieName=cookies[c].split(";")[0].split("=")[0];var p=location.pathname;p=p.replace(/^\/|\/$/g,"").split("/");if(cookieName.indexOf(cookie_part)!==-1){foundCookie=true;var cookieBase=encodeURIComponent(cookieName)+"=;SameSite=Lax"+secure+expires+";domain=."+d.join(".")+";path=";var cookieBaseDomain=encodeURIComponent(cookieName)+"=;SameSite=Lax"+secure+expires+";domain=;path=";document.cookie=cookieBaseDomain+"/";document.cookie=cookieBase+"/";while(p.length>0){var path=p.join("/");if(path.length>0){document.cookie=cookieBase+"/"+path;document.cookie=cookieBaseDomain+"/"+path;document.cookie=cookieBase+"/"+path+"/";document.cookie=cookieBaseDomain+"/"+path+"/"}p.pop()}}d.shift();if(skip_last&&d.length==1)d.shift()}}})();cmplz_set_accepted_cookie_policy_id();return foundCookie}function cmplz_set_accepted_cookie_policy_id(){cmplz_set_cookie("policy_id",complianz.current_policy_id)}function cmplz_integrations_init(){var cookiesToSet=complianz.set_cookies;for(var key in cookiesToSet){if(cookiesToSet.hasOwnProperty(key)&&cookiesToSet[key][1]==="1"){cmplz_set_cookie(key,cookiesToSet[key][1],false)}}}function cmplz_integrations_revoke(){var cookiesToSet=complianz.set_cookies;for(var key in cookiesToSet){if(cookiesToSet.hasOwnProperty(key)){cmplz_set_cookie(key,cookiesToSet[key][1],false);if(cookiesToSet[key][1]==false){cmplz_clear_cookies(key)}}}}function cmplz_set_integrations_cookies(){var cookiesToSet=complianz.set_cookies;for(var key in cookiesToSet){if(cookiesToSet.hasOwnProperty(key)){cmplz_set_cookie(key,cookiesToSet[key][0],false)}}}function cmplz_get_url_parameter(sPageURL,sParam){if(!sPageURL||typeof sPageURL==="undefined"){return false}if(sPageURL.indexOf("?")==-1){return false}var queryString=sPageURL.split("?");if(queryString.length==1)return false;var sURLVariables=queryString[1].split("&"),sParameterName,i;for(i=0;i<sURLVariables.length;i++){if(sURLVariables.hasOwnProperty(i)){sParameterName=sURLVariables[i].split("=");if(sParameterName[0]===sParam){return sParameterName[1]===undefined?true:decodeURIComponent(sParameterName[1])}}}return false}function cmplz_maybe_auto_redirect(){var redirect=cmplz_get_url_parameter(window.location.href,"cmplz_region_redirect");var region=cmplz_get_url_parameter(window.location.href,"cmplz-region");if(redirect&&!region){window.location.href=window.location.href+"&cmplz-region="+complianz.region}}function cmplz_wp_set_consent(type,value){if(typeof wp_set_consent=="function"){wp_set_consent(type,value)}}var cmplz_cookie_data=[];function cmplz_start_clean(){if(complianz.clean_cookies==1){if(typeof Storage!=="undefined"){cmplz_cookie_data=JSON.parse(sessionStorage.getItem("cmplz_cookie_data"))}if(!cmplz_cookie_data||cmplz_cookie_data.length==0){var request=new XMLHttpRequest;request.open("GET",complianz.url+"cookie_data",true);request.setRequestHeader("Content-type","application/json");request.send();request.onload=function(){cmplz_cookie_data=JSON.parse(request.response);sessionStorage.setItem("cmplz_cookie_data",JSON.stringify(cmplz_cookie_data));cmplz_clean()}}else{cmplz_clean()}}}function cmplz_clean(){if(!cmplz_cookie_data){return}setTimeout(function(){let consent_categories=["preferences","statistics","marketing"];for(var i in consent_categories){let category=consent_categories[i];if(!cmplz_has_consent(category)&&cmplz_cookie_data.hasOwnProperty(category)){let services=cmplz_cookie_data[category];for(var service in services){if(!cmplz_has_service_consent(service,category)){let cookies=services[service];for(var j in cookies){let item=cookies[j];cmplz_clear_cookies(item);cmplz_clear_storage(item)}}}}}},1e3)}function cmplz_clear_storage(item){if(typeof Storage!=="undefined"){if(localStorage.item){localStorage.removeItem(item)}if(sessionStorage.item){sessionStorage.removeItem(item)}}}function cmplz_load_manage_consent_container(){let manage_consent_container=document.querySelector(".cmplz-manage-consent-container");if(manage_consent_container){var request=new XMLHttpRequest;request.open("GET",complianz.url+"manage_consent_html?"+complianz.locale,true);request.setRequestHeader("Content-type","application/json");request.send();request.onload=function(){let html=JSON.parse(request.response);manage_consent_container.insertAdjacentHTML("beforeend",html);cmplz_sync_category_checkboxes();let nojavascript=document.querySelector("#cmplz-manage-consent-container-nojavascript");nojavascript.style.display="none";manage_consent_container.style.display="block";let event=new CustomEvent("cmplz_manage_consent_container_loaded");document.dispatchEvent(event)}}}cmplz_add_event("keypress",".cmplz-banner-slider label",function(e){var keycode=e.keyCode?e.keyCode:e.which;if(keycode==32){document.activeElement.click()}});cmplz_add_event("keypress",".cmplz-cookiebanner .cmplz-header .cmplz-close",function(e){var keycode=e.keyCode?e.keyCode:e.which;if(keycode==13){document.activeElement.click()}});function cmplz_equals(array_1,array_2){if(!Array.isArray(array_1)){array_1=Object.keys(array_1);array_2=Object.keys(array_2)}if(!array_1||!array_2)return false;if(array_1.length!=array_2.length)return false;for(var i=0,l=array_1.length;i<l;i++){if(array_1[i]instanceof Array&&array_2[i]instanceof Array){if(!cmplz_equals(array_1[i],array_2[i]))return false}else if(array_1[i]!=array_2[i]){return false}}return true}let cmplz_has_wp_video=document.querySelector(".cmplz-wp-video-shortcode");let cmplz_times_checked=0;if("undefined"!=typeof window.jQuery){jQuery(document).ready(function($){if(cmplz_has_wp_video){document.addEventListener("cmplz_enable_category",function(consentData){cmplz_activate_wp_video()});var interval=setInterval(function(){cmplz_times_checked+=1;if(document.querySelector(".cmplz-wp-video-shortcode")&&cmplz_times_checked<100){cmplz_activate_wp_video()}else{clearInterval(interval)}},500)}function cmplz_activate_wp_video(again){if(!document.querySelector(".cmplz-wp-video-shortcode")){return}let categories=cmplz_accepted_categories();let services=cmplz_get_all_service_consents();let selectorVideo="";let selectorVideos=[];for(var c_key in categories){if(categories.hasOwnProperty(c_key)){let category=categories[c_key];if(category==="functional"){break}selectorVideos.push(".cmplz-wp-video-shortcode[data-category="+category+"]")}}for(var s_key in services){if(services.hasOwnProperty(s_key)){selectorVideos.push(".cmplz-wp-video-shortcode[data-service="+s_key+"]")}}selectorVideo=selectorVideos.join(",");let should_initialize_video=false;if(selectorVideo.length>0){document.querySelectorAll(selectorVideo).forEach(obj=>{should_initialize_video=true;obj.setAttribute("controls","controls");obj.classList.add("wp-video-shortcode");obj.classList.add("cmplz-processed");obj.classList.remove("cmplz-wp-video-shortcode");obj.closest(".cmplz-wp-video").classList.remove("cmplz-wp-video");let blocked_notice=obj.closest(".wp-video").querySelector(".cmplz-blocked-content-notice");if(blocked_notice){blocked_notice.parentElement.removeChild(blocked_notice)}obj.classList.remove("cmplz-blocked-content-container")})}if(should_initialize_video){if(window.wp.mediaelement){window.wp.mediaelement.initialize()}else{let settings={};settings.videoWidth="100%";settings.videoHeight="100%";settings.enableAutosize=true;$(".wp-video-shortcode").mediaelementplayer(settings)}}}document.querySelectorAll(".cmplz-video").forEach(obj=>{let $obj=$(obj);if(typeof $obj.parent().fitVids=="function"){$obj.parent().fitVids()}});$(document).on("cmplz_category_enabled",cmplz_enable_fitvids);function cmplz_enable_fitvids(data){document.querySelectorAll(".cmplz-video").forEach(obj=>{let $obj=$(obj);if(typeof $obj.parent().fitVids=="function"){$obj.parent().fitVids()}})}})}
1
+ "use strict";function cmplz_create_element(el,content){let obj=document.createElement(el);obj.innerHtml=content;return obj}function cmplz_add_event(event,selector,callback){document.addEventListener(event,e=>{if(e.target.closest(selector)){callback(e)}})}function cmplz_is_hidden(el){return el.offsetParent===null}function cmplz_html_decode(input){var doc=(new DOMParser).parseFromString(input,"text/html");return doc.documentElement.textContent}document.addEventListener("cmplz_manage_consent_container_loaded",function(e){let url=window.location.href;if(url.indexOf("#")!=-1){let end_pos=url.lastIndexOf("?")!=-1?url.lastIndexOf("?"):undefined;var anchor=url.substring(url.indexOf("#")+1,end_pos);const element=document.getElementById(anchor);if(element){const y=element.getBoundingClientRect().top+window.pageYOffset-200;window.scrollTo({top:y,behavior:"smooth"})}}});complianz.locale=complianz.locale+"&token="+Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,5);(function(){if(typeof window.CustomEvent==="function")return false;function CustomEvent(event,params){params=params||{bubbles:false,cancelable:false,detail:undefined};var evt=document.createEvent("CustomEvent");evt.initCustomEvent(event,params.bubbles,params.cancelable,params.detail);return evt}CustomEvent.prototype=window.Event.prototype;window.CustomEvent=CustomEvent})();let cmplz_banner;let cmplz_banner_container=document.getElementById("cmplz-cookiebanner-container");let cmplz_manage_consent_button;let cmplz_waiting_inline_scripts=[];let cmplz_waiting_scripts=[];let cmplz_fired_scripts=[];let cmplz_placeholder_class_index=0;let cmplz_all_scripts_hook_fired=false;let cmplz_consent_stored_once=false;let cmplz_categories=["functional","preferences","statistics","marketing"];window.cmplz_get_cookie=function(name){if(typeof document==="undefined"){return""}name=complianz.prefix+name+"=";let cArr=document.cookie.split(";");for(let i=0;i<cArr.length;i++){let c=cArr[i].trim();if(c.indexOf(name)==0)return c.substring(name.length,c.length)}return""};window.cmplz_set_cookie=function(name,value,use_prefix){if(typeof document==="undefined"){return}if(typeof use_prefix==="undefined"){use_prefix=true}let secure=";secure";let date=new Date;date.setTime(date.getTime()+complianz.cookie_expiry*24*60*60*1e3);let expires=";expires="+date.toGMTString();if(window.location.protocol!=="https:")secure="";let domain=cmplz_get_cookie_domain();if(domain.length>0){domain=";domain="+domain}let prefix="";if(use_prefix){prefix=complianz.prefix}document.cookie=prefix+name+"="+value+";SameSite=Lax"+secure+expires+domain+";path="+cmplz_get_cookie_path()};window.cmplz_in_array=function(needle,haystack){let length=haystack.length;for(let i=0;i<length;i++){if(haystack[i]==needle)return true}return false};window.cmplz_highest_accepted_category=function(){var consentedCategories=cmplz_accepted_categories();if(cmplz_in_array("marketing",consentedCategories)){return"marketing"}if(cmplz_in_array("statistics",consentedCategories)){return"statistics"}if(cmplz_in_array("preferences",consentedCategories)){return"preferences"}return"functional"};window.cmplz_accept_all=function(){for(var key in cmplz_categories){if(cmplz_categories.hasOwnProperty(key)){cmplz_set_consent(cmplz_categories[key],"allow")}}};function cmplz_set_category_as_body_class(){let classList=document.body.className.split(/\s+/);for(let i=0;i<classList.length;i++){if(classList[i].indexOf("cmplz-")!==-1&&classList[i]!=="cmplz-document"){document.body.classList.remove(classList[i])}}let cats=cmplz_accepted_categories();for(let i in cats){if(cats.hasOwnProperty(i)){document.body.classList.add("cmplz-"+cats[i])}}let services=cmplz_get_all_service_consents();for(let service in services){if(services.hasOwnProperty(service)&&services[service]){document.body.classList.add("cmplz-"+service)}}document.body.classList.add("cmplz-"+complianz.region);document.body.classList.add("cmplz-"+complianz.consenttype);let event=new CustomEvent("cmplz_set_category_as_bodyclass");document.dispatchEvent(event)}function cmplz_append_css(css){let head=document.getElementsByTagName("head")[0];let style=document.createElement("style");style.setAttribute("type","text/css");if(style.styleSheet){style.styleSheet.cssText=css}else{style.appendChild(document.createTextNode(css))}head.appendChild(style)}function cmplz_load_css(path){let fileref=document.createElement("link");fileref.setAttribute("rel","stylesheet");fileref.setAttribute("type","text/css");fileref.setAttribute("href",path);document.getElementsByTagName("head")[0].appendChild(fileref)}function cmplz_run_script(script,category,type){let fileref=document.createElement("script");if(type!=="inline"){fileref.setAttribute("src",script)}else{if(typeof script!=="string"){script=script.innerHTML}fileref.innerHTML=[script,"cmplzScriptLoaded();"].join("\n")}if(cmplz_in_array(script,cmplz_fired_scripts)){return}try{if(type!=="inline"){fileref.onload=function(){cmplz_run_after_all_scripts(category);cmplz_maybe_run_waiting_scripts(script,category)}}else{window.cmplzScriptLoaded=function(){cmplz_run_after_all_scripts(category);cmplz_maybe_run_waiting_scripts(script,category)}}let header=document.getElementsByTagName("head")[0];header.appendChild(fileref)}catch(exception){cmplz_run_after_all_scripts(category);throw"Something went wrong "+exception+" while loading "+script}}function cmplz_maybe_run_waiting_scripts(script,category){let waitingScript=cmplz_get_waiting_script(cmplz_waiting_scripts,script);if(waitingScript){cmplz_run_script(waitingScript,category,"src")}let waiting_inline_script=cmplz_get_waiting_script(cmplz_waiting_inline_scripts,script);if(waiting_inline_script){cmplz_run_script(waiting_inline_script,category,"inline")}}function cmplz_set_blocked_content_container(){document.querySelectorAll(".cmplz-image").forEach(obj=>{if(obj.classList.contains("cmplz-processed")){return}obj.classList.add("cmplz-processed");let service=obj.getAttribute("data-service");let category=obj.getAttribute("data-category");let blocked_image_container=obj.parentElement;blocked_image_container.classList.add("cmplz-blocked-content-container");let curIndex=blocked_image_container.getAttribute("data-placeholder_class_index");if(obj.getAttribute("loading")==="lazy"){obj.removeAttribute("loading");obj.setAttribute("data-deferlazy",1)}if(curIndex==null){cmplz_placeholder_class_index++;blocked_image_container.classList.add("cmplz-placeholder-"+cmplz_placeholder_class_index);blocked_image_container.classList.add("cmplz-blocked-content-container");blocked_image_container.setAttribute("data-placeholder_class_index",cmplz_placeholder_class_index);cmplz_insert_placeholder_text(blocked_image_container,category,service)}});document.querySelectorAll(".cmplz-placeholder-element").forEach(obj=>{if(obj.classList.contains("cmplz-processed")){return}obj.classList.add("cmplz-processed");let service=obj.getAttribute("data-service");let category=obj.getAttribute("data-category");let blocked_content_container;if(obj.classList.contains("cmplz-iframe")){if(obj.getAttribute("loading")==="lazy"){obj.removeAttribute("loading");obj.setAttribute("data-deferlazy",1)}blocked_content_container=obj.parentElement}else{blocked_content_container=obj}let curIndex=blocked_content_container.getAttribute("data-placeholder_class_index");if(curIndex==null){cmplz_placeholder_class_index++;blocked_content_container.classList.add("cmplz-placeholder-"+cmplz_placeholder_class_index);blocked_content_container.classList.add("cmplz-blocked-content-container");blocked_content_container.setAttribute("data-placeholder_class_index",cmplz_placeholder_class_index);cmplz_insert_placeholder_text(blocked_content_container,category,service);let src=obj.getAttribute("data-placeholder-image");if(src&&typeof src!=="undefined"&&src.length){src=src.replace("url(","").replace(")","").replace(/\"/gi,"");cmplz_append_css(".cmplz-placeholder-"+cmplz_placeholder_class_index+" {background-image: url("+src+") !important;}");cmplz_set_blocked_content_container_aspect_ratio(obj,src,cmplz_placeholder_class_index)}}});if(cmplz_has_consent("statistics")){cmplz_enable_category("statistics")}if(cmplz_has_consent("marketing")){cmplz_enable_category("marketing")}}function cmplz_insert_placeholder_text(container,category,service){if(!container.querySelector(".cmplz-blocked-content-notice")){let placeholder_text=complianz.placeholdertext;category=category?category:"marketing";let body;if(typeof placeholder_text!=="undefined"){if(complianz.clean_cookies==1){let service_nicename=service?service.replace("-"," "):"";service_nicename=service_nicename.charAt(0).toUpperCase()+service_nicename.slice(1);placeholder_text=placeholder_text.replace("{service}",service_nicename);body=cmplz_create_element("div",placeholder_text);body.innerHTML=placeholder_text;body.classList.add("cmplz-blocked-content-notice");let btn=body.querySelector("button");btn.setAttribute("data-service",service);btn.setAttribute("data-category",category);btn.setAttribute("aria-label",service);let pageLinks=complianz.page_links[complianz.region];let link=body.querySelector(".cmplz-links a");if(pageLinks&&pageLinks.hasOwnProperty("cookie-statement")){link.setAttribute("href",pageLinks["cookie-statement"]["url"]);if(link.innerText==="{title}"){link.innerText=pageLinks["cookie-statement"]["title"]}}}else{let btn=cmplz_create_element("button","");let category_nicename="marketing";if(complianz.categories.hasOwnProperty(category)){category_nicename=complianz.categories[category]}placeholder_text=placeholder_text.replace("{category}",category_nicename);btn.innerText=placeholder_text;btn.classList.add("cmplz-blocked-content-notice");btn.classList.add("cmplz-accept-category");btn.classList.add("cmplz-accept-"+category);btn.setAttribute("data-service",service);btn.setAttribute("data-category",category);btn.setAttribute("aria-label",service);body=btn}if(container.tagName!=="VIDEO"){container.appendChild(body)}else{container.parentElement.appendChild(body)}}}}function cmplz_set_blocked_content_container_aspect_ratio(container,src,placeholder_class_index){if(container==null)return;let blocked_content_container=container.parentElement;let img=new Image;img.addEventListener("load",function(){let imgWidth=this.naturalWidth;let imgHeight=this.naturalHeight;if(imgWidth===0)imgWidth=1;let w=blocked_content_container.clientWidth;let h=imgHeight*(w/imgWidth);let heightCSS="";if(src.indexOf("placeholder.jpg")===-1){heightCSS="height:"+h+"px;"}cmplz_append_css(".cmplz-placeholder-"+placeholder_class_index+" {"+heightCSS+"}")});img.src=src}var cmplzResizeTimer;window.addEventListener("resize",function(event){clearTimeout(cmplzResizeTimer);cmplzResizeTimer=setTimeout(cmplz_set_blocked_content_container,500)},true);if(complianz.block_ajax_content==1){setInterval(function(){cmplz_set_blocked_content_container()},2e3)}function cmplz_has_blocked_scripts(){let scriptElements=document.querySelectorAll("script[data-category], script[data-service]");return scriptElements.length>0}function cmplz_enable_category(category,service){if(complianz.tm_categories==1&&category!==""){cmplz_run_tm_event(category)}service=typeof service!=="undefined"?service:"do_not_match";if(category==="")category="do_not_match";if(category==="functional"){return}if(category==="marketing"){cmplz_set_integrations_cookies()}let selector;if(service!=="do_not_match"){selector=".cmplz-blocked-content-notice [data-service="+service+"]"}else{selector=complianz.clean_cookies!=1?".cmplz-blocked-content-notice.cmplz-accept-"+category:".cmplz-blocked-content-notice [data-category="+category+"]"}document.querySelectorAll(selector).forEach(obj=>{let blockedElementService=obj.getAttribute("data-service");if(obj.parentNode.classList.contains("cmplz-blocked-content-notice")){obj=obj.parentNode}if(!cmplz_is_service_denied(blockedElementService)){obj.parentNode.removeChild(obj)}});document.querySelectorAll("[data-category="+category+"], [data-service="+service+"]").forEach(obj=>{let elementService=obj.getAttribute("data-service");if(cmplz_is_service_denied(elementService)){return}if(obj.getAttribute("data-category")==="functional"){return}if(obj.classList.contains("cmplz-activated")){return}let tagName=obj.tagName;if(tagName==="STYLE"){obj.classList.add("cmplz-activated");let src=obj.getAttribute("data-href");cmplz_load_css(src,category)}else if(tagName==="IMG"){obj.classList.add("cmplz-activated");let src=obj.getAttribute("data-src-cmplz");obj.setAttribute("src",src);if(obj.getAttribute("data-deferlazy")){obj.setAttribute("loading","lazy")}cmplz_remove_placeholder(obj)}else if(tagName==="IFRAME"){obj.classList.add("cmplz-activated");let src=obj.getAttribute("data-src-cmplz");let srcAttribute=obj.getAttribute("data-cmplz-target")?obj.getAttribute("data-cmplz-target"):"src";let autoplay=cmplz_get_url_parameter(obj.getAttribute(srcAttribute),"autoplay");if(autoplay==="1")src=src+"&autoplay=1";if(obj.getAttribute("data-deferlazy")){obj.setAttribute("loading","lazy")}obj.addEventListener("load",()=>{cmplz_remove_placeholder(obj)});obj.setAttribute(srcAttribute,src)}else if(obj.classList.contains("cmplz-placeholder-element")){obj.classList.add("cmplz-activated");let cssIndex=obj.getAttribute("data-placeholder_class_index");obj.classList.remove("cmplz-blocked-content-container");obj.classList.remove("cmplz-placeholder-"+cssIndex)}let details={};details.category=category;details.service=service;let event=new CustomEvent("cmplz_category_enabled",{detail:details});document.dispatchEvent(event)});let scriptElements=document.querySelectorAll("script[data-category="+category+"], script[data-service="+service+"]");scriptElements.forEach(obj=>{let waitfor=obj.getAttribute("data-waitfor");let src=obj.getAttribute("src");if(waitfor){if(src){cmplz_waiting_scripts[waitfor]=src}else if(obj.innerText.length>0){cmplz_waiting_inline_scripts[waitfor]=obj}}if(obj.parentElement){obj.parentElement.removeChild(obj)}});scriptElements.forEach(obj=>{let script_mime_type=obj.getAttribute("type");if(obj.classList.contains("cmplz-activated")||(!script_mime_type||script_mime_type==="text/javascript")){return}obj.classList.add("cmplz-activated");let src=obj.getAttribute("src");if(src){obj.removeAttribute("type");if(cmplz_is_waiting_script(cmplz_waiting_scripts,src)){return}if(obj.getAttribute("data-post_scribe_id")){let psID="#"+obj.getAttribute("data-post_scribe_id");let postScribeObj=document.querySelector(psID);if(postScribeObj){postScribeObj.innerHtml("");postscribe(psID,"<script src="+src+"><\/script>")}}else{cmplz_run_script(src,category,"src")}}else if(obj.innerText.length>0){if(cmplz_is_waiting_script(cmplz_waiting_inline_scripts,obj.innerText)){return}cmplz_run_script(obj.innerText,category,"inline")}});let details={};details.category=category;details.service=service;details.categories=cmplz_accepted_categories();details.services=cmplz_get_all_service_consents();details.region=complianz.region;let event=new CustomEvent("cmplz_enable_category",{detail:details});document.dispatchEvent(event);if(!cmplz_has_blocked_scripts()){cmplz_run_after_all_scripts(category)}}function cmplz_remove_placeholder(obj){let blocked_content_container=obj.closest(".cmplz-blocked-content-container");if(blocked_content_container){let cssIndex=blocked_content_container.getAttribute("data-placeholder_class_index");blocked_content_container.classList.remove("cmplz-blocked-content-container");blocked_content_container.classList.remove("cmplz-placeholder-"+cssIndex)}obj.classList.remove("cmplz-iframe-styles");obj.classList.remove("cmplz-iframe");obj.classList.remove("video-wrap")}function cmplz_get_waiting_script(waiting_scripts,src){for(let waitfor in waiting_scripts){if(waiting_scripts.hasOwnProperty(waitfor)){if(src.indexOf(waitfor)!==-1){let output=waiting_scripts[waitfor];delete waiting_scripts[waitfor];return output}}}return false}function cmplz_array_is_empty(arr){for(let key in arr){if(arr.hasOwnProperty(key)){return false}}return true}function cmplz_is_waiting_script(waiting_scripts,srcOrScript){for(let waitfor in waiting_scripts){if(waiting_scripts.hasOwnProperty(waitfor)){let waitingScript=waiting_scripts[waitfor];if(typeof waitingScript!=="string")waitingScript=waitingScript.innerText;if(srcOrScript.indexOf(waitingScript)!==-1||waitingScript.indexOf(srcOrScript)!==-1){return true}}}return false}function cmplz_run_after_all_scripts(category){if(!cmplz_all_scripts_hook_fired&&cmplz_array_is_empty(cmplz_waiting_inline_scripts)&&cmplz_array_is_empty(cmplz_waiting_scripts)){let event=new CustomEvent("cmplz_run_after_all_scripts",{detail:category});document.dispatchEvent(event);cmplz_all_scripts_hook_fired=true}}let cmplz_fired_events=[];function cmplz_run_tm_event(category){if(cmplz_fired_events.indexOf(category)===-1){cmplz_fired_events.push(category);window.dataLayer=window.dataLayer||[];window.dataLayer.push({event:complianz.prefix+"event_"+category});let event=new CustomEvent("cmplz_tag_manager_event",{detail:category});document.dispatchEvent(event)}}function cmplz_legacy(){let has_recaptcha=false;document.querySelectorAll("[data-service=recaptcha]").forEach(obj=>{obj.setAttribute("data-service","google-recaptcha");has_recaptcha=true});if(has_recaptcha){console.log("recaptcha as service name is deprecated. Please rename the service in your custom html to google-recaptcha");document.body.classList.add("cmplz-google-recaptcha")}}window.conditionally_show_banner=function(){complianz=cmplz_merge_object(complianz,cmplz_user_data);cmplz_maybe_auto_redirect();cmplz_set_blocked_content_container();cmplz_legacy();window.wp_consent_type=complianz.consenttype;let event=new CustomEvent("wp_consent_type_defined");document.dispatchEvent(event);event=new CustomEvent("cmplz_before_cookiebanner");document.dispatchEvent(event);if(complianz.forceEnableStats==1&&complianz.consenttype==="optin"){cmplz_set_consent("statistics","allow")}let rev_cats=cmplz_categories.reverse();for(let key in rev_cats){if(rev_cats.hasOwnProperty(key)){let category=cmplz_categories[key];if(cmplz_has_consent(category)){cmplz_enable_category(category)}}}if(cmplz_exists_service_consent()){cmplz_enable_category("","general");let services=cmplz_get_services_on_page();for(let key in services){if(services.hasOwnProperty(key)){let service=services[key].service;let category=services[key].category;if(cmplz_has_service_consent(service,category)){document.querySelectorAll(".cmplz-accept-service[data-service="+service+"]").forEach(obj=>{obj.checked=true});cmplz_enable_category("",service)}}}}cmplz_sync_category_checkboxes();cmplz_integrations_init();cmplz_check_cookie_policy_id();cmplz_set_up_auto_dismiss();cmplz_load_manage_consent_container();event=new CustomEvent("cmplz_cookie_banner_data",{detail:complianz});document.dispatchEvent(event);if(cmplz_get_cookie("saved_categories")===""){if(complianz.consenttype!=="optin"&&complianz.consenttype!=="optout"){cmplz_track_status("no_warning")}else if(complianz.do_not_track){cmplz_track_status("do_not_track")}}cmplz_set_category_as_body_class();cmplz_fire_categories_event();if(!complianz.do_not_track){if(complianz.consenttype==="optin"){if(complianz.forceEnableStats){cmplz_enable_category("statistics")}console.log("opt-in");show_cookie_banner()}else if(complianz.consenttype==="optout"){console.log("opt-out");show_cookie_banner()}else{console.log("other consent type, no cookie warning");cmplz_accept_all()}}else{cmplz_track_status("do_not_track")}};function cmplz_get_services_on_page(){let services=[];document.querySelectorAll("[data-service]").forEach(obj=>{let service=obj.getAttribute("data-service");let category=obj.getAttribute("data-category");if(services.indexOf(service)==-1){services.push({category:category,service:service})}});return services}window.show_cookie_banner=function(){let disableCookiebanner=complianz.disable_cookiebanner||cmplz_is_speedbot();let tmpDismissCookiebanner=false;if(document.querySelector("#cmplz-manage-consent-container")||document.querySelector(".cmplz-dropdown-cookiepolicy")){tmpDismissCookiebanner=true}var fragment=document.createDocumentFragment();let container=document.getElementById("cmplz-cookiebanner-container");if(container){fragment.appendChild(container);document.body.prepend(fragment)}let link=document.createElement("link");let pageLinks=complianz.page_links[complianz.region];cmplz_banner=document.querySelector(".cmplz-cookiebanner.banner-"+complianz.user_banner_id+"."+complianz.consenttype);cmplz_manage_consent_button=document.querySelector("#cmplz-manage-consent .cmplz-manage-consent.manage-consent-"+complianz.user_banner_id);let css_file_url=complianz.css_file.replace("{type}",complianz.consenttype).replace("{banner_id}",complianz.user_banner_id);if(complianz.css_file.indexOf("cookiebanner/css/defaults/banner")!=-1){console.log("Fallback default css file used. Please re-save banner settings, or check file writing permissions in uploads directory")}link.href=css_file_url;link.type="text/css";link.rel="stylesheet";link.onload=function(){if(!disableCookiebanner){cmplz_banner.classList.remove("cmplz-hidden");cmplz_manage_consent_button.classList.remove("cmplz-hidden")}};document.getElementsByTagName("head")[0].appendChild(link);if(cmplz_banner&&!disableCookiebanner){cmplz_banner.querySelectorAll(".cmplz-links a:not(.cmplz-external), .cmplz-buttons a:not(.cmplz-external)").forEach(obj=>{let docElement=obj;docElement.classList.add("cmplz-hidden");for(let pageType in pageLinks){if(pageLinks.hasOwnProperty(pageType)&&docElement.classList.contains(pageType)){docElement.setAttribute("href",pageLinks[pageType]["url"]+docElement.getAttribute("data-relative_url"));if(docElement.innerText==="{title}"){docElement.innerText=cmplz_html_decode(pageLinks[pageType]["title"])}docElement.classList.remove("cmplz-hidden")}}});cmplz_set_banner_status();if(tmpDismissCookiebanner){cmplz_banner.classList.remove("cmplz-show");cmplz_banner.classList.add("cmplz-dismissed");cmplz_manage_consent_button.classList.remove("cmplz-dismissed");cmplz_manage_consent_button.classList.add("cmplz-show")}}let event=new CustomEvent("cmplz_cookie_warning_loaded",{detail:complianz.region});document.dispatchEvent(event)};window.cmplz_get_banner_status=function(){return cmplz_get_cookie("banner-status")};window.cmplz_set_banner_status=function(status){let prevStatus=cmplz_get_cookie("banner-status");status=typeof status!=="undefined"?status:prevStatus;if(status!==prevStatus){cmplz_set_cookie("banner-status",status)}if(status.length===0){status="show"}if(status==="show"){prevStatus="dismissed"}else{prevStatus="show"}if(cmplz_banner&&status.length>0){cmplz_banner.classList.remove("cmplz-"+prevStatus);cmplz_banner.classList.add("cmplz-"+status);if(cmplz_manage_consent_button){cmplz_manage_consent_button.classList.add("cmplz-"+prevStatus);cmplz_manage_consent_button.classList.remove("cmplz-"+status)}}if(cmplz_banner_container&&complianz.soft_cookiewall){cmplz_banner_container.classList.remove("cmplz-"+prevStatus);cmplz_banner_container.classList.add("cmplz-"+status);cmplz_banner_container.classList.add("cmplz-soft-cookiewall")}let event=new CustomEvent("cmplz_banner_status",{detail:status});document.dispatchEvent(event);cmplz_start_clean()};function cmplz_is_bot(){var botPattern="(googlebot/|Googlebot-Mobile|Googlebot-Image|Google favicon|Mediapartners-Google|bingbot|slurp|java|wget|curl|Commons-HttpClient|Python-urllib|libwww|httpunit|nutch|phpcrawl|msnbot|jyxobot|FAST-WebCrawler|FAST Enterprise Crawler|biglotron|teoma|convera|seekbot|gigablast|exabot|ngbot|ia_archiver|GingerCrawler|webmon |httrack|webcrawler|grub.org|UsineNouvelleCrawler|antibot|netresearchserver|speedy|fluffy|bibnum.bnf|findlink|msrbot|panscient|yacybot|AISearchBot|IOI|ips-agent|tagoobot|MJ12bot|dotbot|woriobot|yanga|buzzbot|mlbot|yandexbot|purebot|Linguee Bot|Voyager|CyberPatrol|voilabot|baiduspider|citeseerxbot|spbot|twengabot|postrank|turnitinbot|scribdbot|page2rss|sitebot|linkdex|Adidxbot|blekkobot|ezooms|dotbot|Mail.RU_Bot|discobot|heritrix|findthatfile|europarchive.org|NerdByNature.Bot|sistrix crawler|ahrefsbot|Aboundex|domaincrawler|wbsearchbot|summify|ccbot|edisterbot|seznambot|ec2linkfinder|gslfbot|aihitbot|intelium_bot|facebookexternalhit|yeti|RetrevoPageAnalyzer|lb-spider|sogou|lssbot|careerbot|wotbox|wocbot|ichiro|DuckDuckBot|lssrocketcrawler|drupact|webcompanycrawler|acoonbot|openindexspider|gnam gnam spider|web-archive-net.com.bot|backlinkcrawler|coccoc|integromedb|content crawler spider|toplistbot|seokicks-robot|it2media-domain-crawler|ip-web-crawler.com|siteexplorer.info|elisabot|proximic|changedetection|blexbot|arabot|WeSEE:Search|niki-bot|CrystalSemanticsBot|rogerbot|360Spider|psbot|InterfaxScanBot|Lipperhey SEO Service|CC Metadata Scaper|g00g1e.net|GrapeshotCrawler|urlappendbot|brainobot|fr-crawler|binlar|SimpleCrawler|Livelapbot|Twitterbot|cXensebot|smtbot|bnf.fr_bot|A6-Indexer|ADmantX|Facebot|Twitterbot|OrangeBot|memorybot|AdvBot|MegaIndex|SemanticScholarBot|ltx71|nerdybot|xovibot|BUbiNG|Qwantify|archive.org_bot|Applebot|TweetmemeBot|crawler4j|findxbot|SemrushBot|yoozBot|lipperhey|y!j-asr|Domain Re-Animator Bot|AddThis)";var reBot=new RegExp(botPattern,"i");var userAgent=navigator.userAgent;return reBot.test(userAgent)}function cmplz_is_speedbot(){var userAgent=navigator.userAgent;var speedBotPattern="(GTmetrix|pingdom|pingbot|Lighthouse)";var speedBot=new RegExp(speedBotPattern,"i");return speedBot.test(userAgent)}window.cmplz_has_consent=function(category){if(cmplz_is_bot()){return true}if(category==="functional")return true;var has_consent,value;value=cmplz_get_cookie(category);if(complianz.consenttype==="optout"&&value===""){has_consent=true}else{has_consent=value==="allow"}return has_consent};window.cmplz_is_service_denied=function(service){var consented_services_json=cmplz_get_cookie("consented_services");var consented_services;try{consented_services=JSON.parse(consented_services_json)}catch(e){consented_services={}}if(!consented_services.hasOwnProperty(service)){return false}else{return!consented_services[service]}};window.cmplz_has_service_consent=function(service,category){var consented_services_json=cmplz_get_cookie("consented_services");var consented_services;try{consented_services=JSON.parse(consented_services_json)}catch(e){consented_services={}}if(!consented_services.hasOwnProperty(service)){return cmplz_has_consent(category)}else{return consented_services[service]}};function cmplz_exists_service_consent(){var consented_services_json=cmplz_get_cookie("consented_services");var consented_services;try{consented_services=JSON.parse(consented_services_json);for(const key in consented_services){if(consented_services.hasOwnProperty(key)){if(consented_services[key]==true){return true}}}}catch(e){return false}return false}function cmplz_set_service_consent(service,consented){var consented_services_json=cmplz_get_cookie("consented_services");var consented_services;try{consented_services=JSON.parse(consented_services_json)}catch(e){consented_services={}}consented_services[service]=consented;cmplz_set_cookie("consented_services",JSON.stringify(consented_services));let details={};details.service=service;details.value=consented;details.region=complianz.region;cmplz_all_scripts_hook_fired=false;let event=new CustomEvent("cmplz_status_change_service",{detail:details});document.dispatchEvent(event)}function cmplz_clear_all_service_consents(){cmplz_set_cookie("consented_services","")}function cmplz_get_all_service_consents(){var consented_services_json=cmplz_get_cookie("consented_services");var consented_services;try{consented_services=JSON.parse(consented_services_json)}catch(e){consented_services={}}return consented_services}function cmplz_get_cookie_path(){return typeof complianz.cookie_path!=="undefined"&&complianz.cookie_path!==""?complianz.cookie_path:"/"}function cmplz_get_cookie_domain(){var domain="";if(complianz.set_cookies_on_root==1&&complianz.cookie_domain.length>3){domain=complianz.cookie_domain}if(domain.indexOf("localhost")!==-1){domain=""}return domain}window.cmplz_set_consent=function(category,value){cmplz_set_accepted_cookie_policy_id();var previous_value=cmplz_get_cookie(category);var checked=value==="allow";document.querySelectorAll("input.cmplz-"+category).forEach(obj=>{obj.checked=checked});if(previous_value===value){return}cmplz_set_cookie(category,value);if(value==="allow"){cmplz_enable_category(category)}cmplz_wp_set_consent(category,value);if(category==="statistics"){cmplz_wp_set_consent("statistics-anonymous","allow")}let details=new Object;details.category=category;details.value=value;details.region=complianz.region;details.categories=cmplz_accepted_categories();cmplz_all_scripts_hook_fired=false;let event=new CustomEvent("cmplz_status_change",{detail:details});document.dispatchEvent(event);if(category==="marketing"&&value==="deny"&&previous_value==="allow"){cmplz_integrations_revoke();setTimeout(function(){cmplz_reload_browser_compatible()},500)}};function cmplz_reload_browser_compatible(){if(navigator.userAgent.toLowerCase().indexOf("firefox")>-1){const url=new URL(window.location.href);url.searchParams.set("cmplz-force-reload",Date.now().toString());window.location.href=url.toString()}else{window.location.reload()}}var cmplz_user_data=[];if(typeof Storage!=="undefined"&&sessionStorage.cmplz_user_data){cmplz_user_data=JSON.parse(sessionStorage.cmplz_user_data)}if(complianz.geoip==1&&(cmplz_user_data.length==0||cmplz_user_data.version!==complianz.version||cmplz_user_data.banner_version!==complianz.banner_version)){var request=new XMLHttpRequest;let cmplzUserRegion=cmplz_get_url_parameter(window.location.href,"cmplz_user_region");cmplzUserRegion=cmplzUserRegion?"&cmplz_user_region="+cmplzUserRegion:"";request.open("GET",complianz.url+"banner?"+complianz.locale+cmplzUserRegion,true);request.setRequestHeader("Content-type","application/json");request.send();request.onload=function(){cmplz_user_data=JSON.parse(request.response);sessionStorage.cmplz_user_data=JSON.stringify(cmplz_user_data);conditionally_show_banner()}}else{conditionally_show_banner()}if(complianz.store_consent==1){var cmplz_id_cookie=cmplz_get_cookie("id");var cmplz_id_session="";var cmplz_id="";if(typeof Storage!=="undefined"&&sessionStorage.cmplz_id){cmplz_id_session=JSON.parse(sessionStorage.cmplz_id)}if(cmplz_id_cookie.length==0&&cmplz_id_session.length>0){cmplz_id=cmplz_id_session;cmplz_set_cookie("id",cmplz_id)}if(cmplz_id_cookie.length>0&&cmplz_id_session.length==0){cmplz_id=cmplz_id_cookie}if(typeof Storage!=="undefined"){sessionStorage.cmplz_id=JSON.stringify(cmplz_id)}}document.addEventListener("visibilitychange",function(){if(document.visibilityState==="hidden"){cmplz_track_status_end()}});window.addEventListener("pagehide",cmplz_track_status_end,false);window.addEventListener("beforeunload",cmplz_track_status_end,false);function cmplz_track_status_end(){if(!cmplz_consent_stored_once){cmplz_track_status()}}document.addEventListener("cmplz_consent_action",function(e){cmplz_set_consent(e.detail.category,"allow");cmplz_fire_categories_event();cmplz_track_status()});window.cmplz_accept_all=function(){cmplz_clear_all_service_consents();for(var key in cmplz_categories){if(cmplz_categories.hasOwnProperty(key)){cmplz_set_consent(cmplz_categories[key],"allow")}}cmplz_sync_category_checkboxes()};window.cmplz_deny_all=function(){for(var key in cmplz_categories){if(cmplz_categories.hasOwnProperty(key)){cmplz_set_consent(cmplz_categories[key],"deny")}}var consentLevel=cmplz_highest_accepted_category();var reload=false;if(consentLevel!=="functional"||cmplz_exists_service_consent()){reload=true}if(cmplz_clear_cookies("cmplz_service")){reload=true}cmplz_clear_all_service_consents();cmplz_integrations_revoke();cmplz_fire_categories_event();cmplz_track_status();let event=new CustomEvent("cmplz_revoke",{detail:reload});document.dispatchEvent(event);if(!complianz.tcf_active&&reload){cmplz_reload_browser_compatible()}};cmplz_add_event("click",".cmplz-accept",function(e){e.preventDefault();cmplz_accept_all();cmplz_set_banner_status("dismissed");cmplz_fire_categories_event();cmplz_track_status()});cmplz_add_event("click",".cmplz-accept-category, .cmplz-accept-marketing",function(e){e.preventDefault();let obj=e.target;var service=obj.getAttribute("data-service");var category=obj.getAttribute("data-category");category=category?category:"marketing";if(complianz.clean_cookies==1&&typeof service!=="undefined"&&service){cmplz_set_service_consent(service,true);cmplz_enable_category("","general");cmplz_enable_category("",service)}else{cmplz_set_consent(category,"allow")}cmplz_set_banner_status("dismissed");cmplz_fire_categories_event();cmplz_track_status()});cmplz_add_event("click",".cmplz-accept-service",function(e){let obj=e.target;let tagName=obj.tagName;if(tagName==="INPUT"){return}let service=obj.getAttribute("data-service");if(typeof service!=="undefined"){cmplz_set_service_consent(service,true);cmplz_enable_category("","general");cmplz_enable_category("",service)}cmplz_fire_categories_event();cmplz_track_status()});cmplz_add_event("change",".cmplz-accept-service",function(e){let obj=e.target;let tagName=obj.tagName;let service=obj.getAttribute("data-service");if(typeof service!=="undefined"){if(tagName==="INPUT"){cmplz_set_banner_status("dismissed");if(obj.checked){cmplz_set_service_consent(service,true);cmplz_enable_category("",service)}else{cmplz_set_service_consent(service,false);setTimeout(function(){cmplz_reload_browser_compatible()},500)}}else{e.preventDefault();cmplz_set_service_consent(service,true);cmplz_enable_category("","general");cmplz_enable_category("",service);setTimeout(function(){cmplz_reload_browser_compatible()},500)}}cmplz_fire_categories_event();cmplz_track_status()});cmplz_add_event("click",".cmplz-save-preferences",function(e){let obj=e.target;cmplz_banner=obj.closest(".cmplz-cookiebanner");for(var key in cmplz_categories){if(cmplz_categories.hasOwnProperty(key)){var category=cmplz_categories[key];var categoryElement=cmplz_banner.querySelector("input.cmplz-"+category);if(categoryElement){if(categoryElement.checked){cmplz_set_consent(category,"allow")}else{cmplz_set_consent(category,"deny")}}}}cmplz_set_banner_status("dismissed");cmplz_fire_categories_event();cmplz_track_status()});cmplz_add_event("click",".cmplz-close",function(e){cmplz_set_banner_status("dismissed")});cmplz_add_event("click",".cmplz-view-preferences",function(e){let obj=e.target;cmplz_banner=obj.closest(".cmplz-cookiebanner");if(cmplz_banner.querySelector(".cmplz-categories").classList.contains("cmplz-fade-in")){cmplz_banner.classList.remove("cmplz-categories-visible");cmplz_banner.querySelector(".cmplz-categories").classList.remove("cmplz-fade-in");cmplz_banner.querySelector(".cmplz-view-preferences").style.display="block";cmplz_banner.querySelector(".cmplz-save-preferences").style.display="none"}else{cmplz_banner.classList.add("cmplz-categories-visible");cmplz_banner.querySelector(".cmplz-categories").classList.add("cmplz-fade-in");cmplz_banner.querySelector(".cmplz-view-preferences").style.display="none";cmplz_banner.querySelector(".cmplz-save-preferences").style.display="block"}});cmplz_add_event("change",".cmplz-manage-consent-container .cmplz-category",function(e){for(var key in cmplz_categories){if(cmplz_categories.hasOwnProperty(key)){var category=cmplz_categories[key];var categoryElement=document.querySelector(".cmplz-manage-consent-container input.cmplz-"+category);if(categoryElement){if(categoryElement.checked){cmplz_set_consent(category,"allow")}else{cmplz_set_consent(category,"deny")}cmplz_set_banner_status("dismissed");cmplz_fire_categories_event();cmplz_track_status()}}}});cmplz_add_event("click",".cmplz-deny",function(e){e.preventDefault();cmplz_set_banner_status("dismissed");cmplz_deny_all()});cmplz_add_event("click","button.cmplz-manage-settings",function(e){e.preventDefault();var catsContainer=document.querySelector(".cmplz-cookiebanner .cmplz-categories");var saveSettings=document.querySelector(".cmplz-save-settings");var manageSettings=document.querySelector("button.cmplz-manage-settings");if(!cmplz_is_hidden(catsContainer)){saveSettings.style.display="none";manageSettings.style.display="block";catsContainer.style.display="none"}else{saveSettings.style.display="block";manageSettings.style.display="none";catsContainer.style.display="block"}});cmplz_add_event("click","button.cmplz-manage-consent",function(e){e.preventDefault();cmplz_set_banner_status("show")});function cmplz_set_up_auto_dismiss(){if(complianz.consenttype==="optout"){if(complianz.dismiss_on_scroll==1){var onWindowScroll=function(evt){if(window.pageYOffset>Math.floor(400)){cmplz_set_banner_status("dismissed");cmplz_fire_categories_event();cmplz_track_status();window.removeEventListener("scroll",onWindowScroll);this.onWindowScroll=null}};window.addEventListener("scroll",onWindowScroll)}var delay=parseInt(complianz.dismiss_timeout);if(delay>0){var cmplzDismissTimeout=window.setTimeout(function(){cmplz_set_banner_status("dismissed");cmplz_fire_categories_event();cmplz_track_status()},Math.floor(delay))}}}function cmplz_fire_categories_event(){let details=new Object;details.category=cmplz_highest_accepted_category();details.categories=cmplz_accepted_categories();details.region=complianz.region;let event=new CustomEvent("cmplz_fire_categories",{detail:details});document.dispatchEvent(event)}function cmplz_track_status(status){var cats=[];status=typeof status!=="undefined"?status:false;let event=new CustomEvent("cmplz_track_status",{detail:status});document.dispatchEvent(event);if(!status){cats=cmplz_accepted_categories()}else{cats=[status]}cmplz_set_category_as_body_class();var saved_cats,saved_services;try{saved_cats=JSON.parse(cmplz_get_cookie("saved_categories"))}catch(e){saved_cats={}}try{saved_services=JSON.parse(cmplz_get_cookie("saved_services"))}catch(e){saved_services={}}var consented_services=cmplz_get_all_service_consents();if(cmplz_equals(saved_cats,cats)&&cmplz_equals(saved_services,consented_services)){return}if(complianz.store_consent!=1||cmplz_is_bot()||cmplz_is_speedbot()){return}cmplz_set_cookie("saved_categories",JSON.stringify(cats));cmplz_set_cookie("saved_services",JSON.stringify(consented_services));cmplz_consent_stored_once=true;let data;var request=new XMLHttpRequest;request.open("POST",complianz.url+"track",true);data={consented_categories:cats,consented_services:consented_services,consenttype:window.wp_consent_type};request.setRequestHeader("Content-type","application/json");request.send(JSON.stringify(data))}function cmplz_accepted_categories(){var consentedCategories=cmplz_categories;var consentedTemp=[];for(var key in consentedCategories){if(consentedCategories.hasOwnProperty(key)){var category=consentedCategories[key];if(cmplz_has_consent(category)){consentedTemp.push(category)}}}consentedCategories=consentedCategories.filter(function(value,index,consentedCategories){return cmplz_in_array(value,consentedTemp)});return consentedCategories}function cmplz_sync_category_checkboxes(){for(var key in cmplz_categories){if(cmplz_categories.hasOwnProperty(key)){var category=cmplz_categories[key];if(cmplz_has_consent(category)||category==="functional"){document.querySelectorAll("input.cmplz-"+category).forEach(obj=>{obj.checked=true})}else{document.querySelectorAll("input.cmplz-"+category).forEach(obj=>{obj.checked=false})}}document.querySelectorAll(".cmplz-accept-service").forEach(obj=>{let service=obj.getAttribute("data-service");let category=obj.getAttribute("data-category");if(cmplz_has_service_consent(service,category)){obj.checked=true}else if(cmplz_is_service_denied(service)){obj.checked=false}else{let category=obj.getAttribute("data-category");obj.checked=!!cmplz_has_consent(category)}})}}function cmplz_merge_object(userdata,ajax_data){var output=[];for(key in ajax_data){if(ajax_data.hasOwnProperty(key))output[key]=ajax_data[key]}for(var key in userdata){if(!ajax_data.hasOwnProperty(key)||typeof ajax_data[key]==="undefined"){if(userdata.hasOwnProperty(key))output[key]=userdata[key]}}return output}function cmplz_check_cookie_policy_id(){var user_policy_id=cmplz_get_cookie("policy_id");if(user_policy_id&&complianz.current_policy_id!==user_policy_id){cmplz_clear_cookies("cmplz")}}function cmplz_clear_cookies(cookie_part){var foundCookie=false;if(typeof document==="undefined"){return foundCookie}var secure=";secure";var date=new Date;date.setTime(date.getTime()-24*60*60*1e3);var expires=";expires="+date.toGMTString();if(window.location.protocol!=="https:")secure="";let cookies=document.cookie.split("; ");let pathname=location.pathname;let pathParts=pathname.replace(/^\/|\/$/g,"").split("/");for(var i=0;i<cookies.length;i++){let cookieName=cookies[i].split(";")[0].split("=")[0];let host=window.location.hostname;var domainParts=host.split(".");let skip_last=domainParts.length>1;if(cookieName.indexOf(cookie_part)!==-1){foundCookie=true;let cookieBaseDomain=encodeURIComponent(cookieName)+"=;SameSite=Lax"+secure+expires+";domain=;path=";document.cookie=cookieBaseDomain+"/";while(pathParts.length>0){var path=pathParts.join("/");if(path.length>0){document.cookie=cookieBaseDomain+"/"+path;document.cookie=cookieBaseDomain+"/"+path+"/"}pathParts.pop()}while(domainParts.length>0){let cookieBase=encodeURIComponent(cookieName)+"=;SameSite=Lax"+secure+expires+";domain=."+domainParts.join(".")+";path=";document.cookie=cookieBase+"/";while(pathParts.length>0){var path=pathParts.join("/");if(path.length>0){document.cookie=cookieBase+"/"+path;document.cookie=cookieBase+"/"+path+"/"}pathParts.pop()}domainParts.shift();if(skip_last&&domainParts.length==1)domainParts.shift()}}}cmplz_set_accepted_cookie_policy_id();return foundCookie}function cmplz_set_accepted_cookie_policy_id(){cmplz_set_cookie("policy_id",complianz.current_policy_id)}function cmplz_integrations_init(){var cookiesToSet=complianz.set_cookies;for(var key in cookiesToSet){if(cookiesToSet.hasOwnProperty(key)&&cookiesToSet[key][1]==="1"){cmplz_set_cookie(key,cookiesToSet[key][1],false)}}}function cmplz_integrations_revoke(){var cookiesToSet=complianz.set_cookies;for(var key in cookiesToSet){if(cookiesToSet.hasOwnProperty(key)){cmplz_set_cookie(key,cookiesToSet[key][1],false);if(cookiesToSet[key][1]==false){cmplz_clear_cookies(key)}}}}function cmplz_set_integrations_cookies(){var cookiesToSet=complianz.set_cookies;for(var key in cookiesToSet){if(cookiesToSet.hasOwnProperty(key)){cmplz_set_cookie(key,cookiesToSet[key][0],false)}}}function cmplz_get_url_parameter(sPageURL,sParam){if(!sPageURL||typeof sPageURL==="undefined"){return false}if(sPageURL.indexOf("?")==-1){return false}var queryString=sPageURL.split("?");if(queryString.length==1)return false;var sURLVariables=queryString[1].split("&"),sParameterName,i;for(i=0;i<sURLVariables.length;i++){if(sURLVariables.hasOwnProperty(i)){sParameterName=sURLVariables[i].split("=");if(sParameterName[0]===sParam){return sParameterName[1]===undefined?true:decodeURIComponent(sParameterName[1])}}}return false}function cmplz_maybe_auto_redirect(){var redirect=cmplz_get_url_parameter(window.location.href,"cmplz_region_redirect");var region=cmplz_get_url_parameter(window.location.href,"cmplz-region");if(redirect&&!region){window.location.href=window.location.href+"&cmplz-region="+complianz.region}}function cmplz_wp_set_consent(type,value){if(typeof wp_set_consent=="function"){wp_set_consent(type,value)}}var cmplz_cookie_data=[];function cmplz_start_clean(){if(complianz.clean_cookies==1){if(typeof Storage!=="undefined"){cmplz_cookie_data=JSON.parse(sessionStorage.getItem("cmplz_cookie_data"))}if(!cmplz_cookie_data||cmplz_cookie_data.length==0){var request=new XMLHttpRequest;request.open("GET",complianz.url+"cookie_data",true);request.setRequestHeader("Content-type","application/json");request.send();request.onload=function(){cmplz_cookie_data=JSON.parse(request.response);sessionStorage.setItem("cmplz_cookie_data",JSON.stringify(cmplz_cookie_data));cmplz_clean()}}else{cmplz_clean()}}}function cmplz_clean(){if(!cmplz_cookie_data){return}setTimeout(function(){let consent_categories=["preferences","statistics","marketing"];for(var i in consent_categories){let category=consent_categories[i];if(!cmplz_has_consent(category)&&cmplz_cookie_data.hasOwnProperty(category)){let services=cmplz_cookie_data[category];for(var service in services){if(!cmplz_has_service_consent(service,category)){let cookies=services[service];for(var j in cookies){let item=cookies[j];cmplz_clear_cookies(item);cmplz_clear_storage(item)}}}}}},1e3)}function cmplz_clear_storage(item){if(typeof Storage!=="undefined"){if(localStorage.item){localStorage.removeItem(item)}if(sessionStorage.item){sessionStorage.removeItem(item)}}}function cmplz_load_manage_consent_container(){let manage_consent_container=document.querySelector(".cmplz-manage-consent-container");if(manage_consent_container){var request=new XMLHttpRequest;request.open("GET",complianz.url+"manage_consent_html?"+complianz.locale,true);request.setRequestHeader("Content-type","application/json");request.send();request.onload=function(){let html=JSON.parse(request.response);manage_consent_container.insertAdjacentHTML("beforeend",html);cmplz_sync_category_checkboxes();let nojavascript=document.querySelector("#cmplz-manage-consent-container-nojavascript");nojavascript.style.display="none";manage_consent_container.style.display="block";let event=new CustomEvent("cmplz_manage_consent_container_loaded");document.dispatchEvent(event)}}}cmplz_add_event("keypress",".cmplz-banner-slider label",function(e){var keycode=e.keyCode?e.keyCode:e.which;if(keycode==32){document.activeElement.click()}});cmplz_add_event("keypress",".cmplz-cookiebanner .cmplz-header .cmplz-close",function(e){var keycode=e.keyCode?e.keyCode:e.which;if(keycode==13){document.activeElement.click()}});function cmplz_equals(array_1,array_2){if(!Array.isArray(array_1)){array_1=Object.keys(array_1);array_2=Object.keys(array_2)}if(!array_1||!array_2)return false;if(array_1.length!=array_2.length)return false;for(var i=0,l=array_1.length;i<l;i++){if(array_1[i]instanceof Array&&array_2[i]instanceof Array){if(!cmplz_equals(array_1[i],array_2[i]))return false}else if(array_1[i]!=array_2[i]){return false}}return true}let cmplz_has_wp_video=document.querySelector(".cmplz-wp-video-shortcode");let cmplz_times_checked=0;if("undefined"!=typeof window.jQuery){jQuery(document).ready(function($){if(cmplz_has_wp_video){document.addEventListener("cmplz_enable_category",function(consentData){cmplz_activate_wp_video()});var interval=setInterval(function(){cmplz_times_checked+=1;if(document.querySelector(".cmplz-wp-video-shortcode")&&cmplz_times_checked<100){cmplz_activate_wp_video()}else{clearInterval(interval)}},500)}function cmplz_activate_wp_video(again){if(!document.querySelector(".cmplz-wp-video-shortcode")){return}let categories=cmplz_accepted_categories();let services=cmplz_get_all_service_consents();let selectorVideo="";let selectorVideos=[];for(var c_key in categories){if(categories.hasOwnProperty(c_key)){let category=categories[c_key];if(category==="functional"){break}selectorVideos.push(".cmplz-wp-video-shortcode[data-category="+category+"]")}}for(var s_key in services){if(services.hasOwnProperty(s_key)){selectorVideos.push(".cmplz-wp-video-shortcode[data-service="+s_key+"]")}}selectorVideo=selectorVideos.join(",");let should_initialize_video=false;if(selectorVideo.length>0){document.querySelectorAll(selectorVideo).forEach(obj=>{should_initialize_video=true;obj.setAttribute("controls","controls");obj.classList.add("wp-video-shortcode");obj.classList.add("cmplz-processed");obj.classList.remove("cmplz-wp-video-shortcode");obj.closest(".cmplz-wp-video").classList.remove("cmplz-wp-video");let blocked_notice=obj.closest(".wp-video").querySelector(".cmplz-blocked-content-notice");if(blocked_notice){blocked_notice.parentElement.removeChild(blocked_notice)}obj.classList.remove("cmplz-blocked-content-container")})}if(should_initialize_video){if(window.wp.mediaelement){window.wp.mediaelement.initialize()}else{let settings={};settings.videoWidth="100%";settings.videoHeight="100%";settings.enableAutosize=true;$(".wp-video-shortcode").mediaelementplayer(settings)}}}document.querySelectorAll(".cmplz-video").forEach(obj=>{let $obj=$(obj);if(typeof $obj.parent().fitVids=="function"){$obj.parent().fitVids()}});$(document).on("cmplz_category_enabled",cmplz_enable_fitvids);function cmplz_enable_fitvids(data){document.querySelectorAll(".cmplz-video").forEach(obj=>{let $obj=$(obj);if(typeof $obj.parent().fitVids=="function"){$obj.parent().fitVids()}})}})}
functions.php CHANGED
@@ -295,7 +295,7 @@ if ( ! function_exists( 'cmplz_revoke_link' ) ) {
295
  * @return string
296
  */
297
  function cmplz_revoke_link( $text = false ) {
298
- $text = $text ? : __( 'Manage Consent', 'complianz-gdpr' );
299
  $text = apply_filters( 'cmplz_revoke_button_text', $text );
300
  $css
301
  = "<style>.cmplz-status-accepted,.cmplz-status-denied {display: none;}</style>
@@ -307,15 +307,25 @@ if ( ! function_exists( 'cmplz_revoke_link' ) ) {
307
  } else {
308
  document.querySelector('.cmplz-status-accepted').style.display = 'none';
309
  document.querySelector('.cmplz-status-denied').style.display = 'block';
 
 
310
  }
311
  document.addEventListener('click', e => {
312
  if ( e.target.closest('.cmplz-revoke-custom') ) {
313
- document.querySelector('.cmplz-deny').setAttribute('disabled', true);;
 
 
 
 
 
 
 
 
314
  }
315
  });
316
  });
317
  </script>";
318
- $html = $css . '<button class="cmplz-deny cmplz-revoke-custom cmplz-manage-consent">' . $text
319
  . '</button>&nbsp;<span class="cmplz-status-accepted">'
320
  . cmplz_sprintf( __( 'Current status: %s', 'complianz-gdpr' ),
321
  __( "Accepted", 'complianz-gdpr' ) )
@@ -1943,15 +1953,15 @@ if ( ! function_exists( 'cmplz_download_to_site' ) ) {
1943
  $upload_dir = $uploads['basedir'];
1944
 
1945
  if ( ! file_exists( $upload_dir ) ) {
1946
- mkdir( $upload_dir );
1947
  }
1948
 
1949
  if ( ! file_exists( $upload_dir . "/complianz" ) ) {
1950
- mkdir( $upload_dir . "/complianz" );
1951
  }
1952
 
1953
  if ( ! file_exists( $upload_dir . "/complianz/placeholders" ) ) {
1954
- mkdir( $upload_dir . "/complianz/placeholders" );
1955
  }
1956
 
1957
  //set the path
295
  * @return string
296
  */
297
  function cmplz_revoke_link( $text = false ) {
298
+ $text = $text ? : __( 'Revoke', 'complianz-gdpr' );
299
  $text = apply_filters( 'cmplz_revoke_button_text', $text );
300
  $css
301
  = "<style>.cmplz-status-accepted,.cmplz-status-denied {display: none;}</style>
307
  } else {
308
  document.querySelector('.cmplz-status-accepted').style.display = 'none';
309
  document.querySelector('.cmplz-status-denied').style.display = 'block';
310
+ document.querySelector('.cmplz-revoke-custom').setAttribute('disabled', true);
311
+
312
  }
313
  document.addEventListener('click', e => {
314
  if ( e.target.closest('.cmplz-revoke-custom') ) {
315
+ document.querySelector('.cmplz-revoke-custom').setAttribute('disabled', true);
316
+ cmplz_set_banner_status('dismissed');
317
+ }
318
+ });
319
+ document.addEventListener('click', e => {
320
+ if ( e.target.closest('.cmplz-accept') ) {
321
+ document.querySelector('.cmplz-status-accepted').style.display = 'block';
322
+ document.querySelector('.cmplz-status-denied').style.display = 'none';
323
+ document.querySelector('.cmplz-revoke-custom').removeAttribute('disabled');
324
  }
325
  });
326
  });
327
  </script>";
328
+ $html = $css . '<button class="cmplz-deny cmplz-revoke-custom">' . $text
329
  . '</button>&nbsp;<span class="cmplz-status-accepted">'
330
  . cmplz_sprintf( __( 'Current status: %s', 'complianz-gdpr' ),
331
  __( "Accepted", 'complianz-gdpr' ) )
1953
  $upload_dir = $uploads['basedir'];
1954
 
1955
  if ( ! file_exists( $upload_dir ) ) {
1956
+ mkdir( $upload_dir,0755 );
1957
  }
1958
 
1959
  if ( ! file_exists( $upload_dir . "/complianz" ) ) {
1960
+ mkdir( $upload_dir . "/complianz",0755 );
1961
  }
1962
 
1963
  if ( ! file_exists( $upload_dir . "/complianz/placeholders" ) ) {
1964
+ mkdir( $upload_dir . "/complianz/placeholders",0755 );
1965
  }
1966
 
1967
  //set the path
gulpfile.js ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const gulp = require('gulp');
2
+ const concat = require('gulp-concat');
3
+ const cssbeautify = require('gulp-cssbeautify');
4
+ const cssuglify = require('gulp-uglifycss');
5
+ const jsuglify = require('gulp-uglify');
6
+ const spawn = require('child_process').spawn;
7
+ var gulpless = require('gulp-less');
8
+ var gulpautoprefixer = require('gulp-autoprefixer');
9
+ //Creating a Style task that convert LESS to CSS
10
+
11
+ function lessTask(cb) {
12
+ var srcfile = './assets/css/admin.less';
13
+ var temp = './assets/css';
14
+ gulp
15
+ .src(srcfile)
16
+ .pipe(gulpless())
17
+ .pipe(gulpautoprefixer())
18
+ .pipe(gulp.dest(temp));
19
+
20
+ var srcfile = './assets/css/cookieblocker.less';
21
+ var temp = './assets/css';
22
+ gulp
23
+ .src(srcfile)
24
+ .pipe(gulpless())
25
+ .pipe(gulpautoprefixer())
26
+ .pipe(gulp.dest(temp));
27
+
28
+ var srcfile = './assets/css/document.less';
29
+ var temp = './assets/css';
30
+ gulp
31
+ .src(srcfile)
32
+ .pipe(gulpless())
33
+ .pipe(gulpautoprefixer())
34
+ .pipe(gulp.dest(temp));
35
+ var srcfile = './assets/css/document-grid.less';
36
+ var temp = './assets/css';
37
+ gulp
38
+ .src(srcfile)
39
+ .pipe(gulpless())
40
+ .pipe(gulpautoprefixer())
41
+ .pipe(gulp.dest(temp));
42
+
43
+ var srcfile = './assets/css/wizard.less';
44
+ var temp = './assets/css';
45
+ gulp
46
+ .src(srcfile)
47
+ .pipe(gulpless())
48
+ .pipe(gulpautoprefixer())
49
+ .pipe(gulp.dest(temp));
50
+ }
51
+ exports.less = lessTask
52
+
53
+ function jsTask(cb) {
54
+ gulp.src('assets/js/admin.js')
55
+ .pipe(concat('admin.js'))
56
+ .pipe(gulp.dest('./assets/js'))
57
+ .pipe(concat('admin.min.js'))
58
+ .pipe(jsuglify())
59
+ .pipe(gulp.dest('./assets/js'));
60
+
61
+ gulp.src('assets/js/dashboard.js')
62
+ .pipe(concat('dashboard.js'))
63
+ .pipe(gulp.dest('./assets/js'))
64
+ .pipe(concat('dashboard.min.js'))
65
+ .pipe(jsuglify())
66
+ .pipe(gulp.dest('./assets/js'));
67
+ cb();
68
+ }
69
+ exports.js = jsTask
70
+
71
+ function defaultTask(cb) {
72
+ gulp.watch('./assets/css/**/*.less', { ignoreInitial: false }, lessTask);
73
+ gulp.watch('./assets/js/**/*.js', { ignoreInitial: false }, jsTask);
74
+ // spawn('npm', ['start'], { cwd: 'settings', stdio: 'inherit' })
75
+ cb();
76
+ }
77
+ exports.default = defaultTask
78
+
79
+ // function buildTask(cb) {
80
+ // gulp.task(scssTask);
81
+ // spawn('npm', ['build'], { cwd: 'settings', stdio: 'inherit' })
82
+ // run('npm run build').exec()
83
+ // cb();
84
+ // }
85
+ // exports.build = buildTask
integrations/integrations.php CHANGED
@@ -33,6 +33,11 @@ $cmplz_integrations_list = apply_filters( 'cmplz_integrations', array(
33
  'label' => 'Beaver Builder Power Pack',
34
  'firstparty_marketing' => false,
35
  ),
 
 
 
 
 
36
 
37
  'lead-forensics' => array(
38
  'constant_or_function' => 'LFRTrackingCode',
@@ -249,6 +254,12 @@ $cmplz_integrations_list = apply_filters( 'cmplz_integrations', array(
249
  'firstparty_marketing' => false,
250
  ),
251
 
 
 
 
 
 
 
252
  'user-registration' => array(
253
  'constant_or_function' => 'UR',
254
  'label' => 'User Registration',
@@ -323,7 +334,7 @@ $cmplz_integrations_list = apply_filters( 'cmplz_integrations', array(
323
  ),
324
  'wp-google-maps' => array(
325
  'constant_or_function' => 'WPGMZA_VERSION',
326
- 'label' => 'WP Google Maps',
327
  'firstparty_marketing' => false,
328
  ),
329
  'wp-google-map-plugin' => array(
@@ -758,14 +769,18 @@ function cmplz_add_placeholder_checkbox( $args ) {
758
  }
759
  }
760
 
 
761
  function cmplz_notify_of_plugin_integrations( $warnings ){
762
  $fields = COMPLIANZ::$config->fields( 'integrations' );
763
  foreach ($fields as $id => $field ) {
764
  if ($field['disabled']) continue;
765
- $warnings[$id] = array(
766
- 'open' => cmplz_sprintf(__( 'We have enabled the %s integration.', 'complianz-gdpr' ), $field['label']).cmplz_read_more("https://complianz.io/enabled-integration"),
767
  'include_in_progress' => false,
768
  );
 
 
 
769
  }
770
 
771
  return $warnings;
@@ -773,6 +788,9 @@ function cmplz_notify_of_plugin_integrations( $warnings ){
773
  add_filter( 'cmplz_warning_types', 'cmplz_notify_of_plugin_integrations' );
774
 
775
 
 
 
 
776
  /**
777
  * placeholders that are disabled will be removed by hook here.
778
  *
33
  'label' => 'Beaver Builder Power Pack',
34
  'firstparty_marketing' => false,
35
  ),
36
+ 'content-views-plugin' => array(
37
+ 'constant_or_function' => 'PT_CV_VERSION',
38
+ 'label' => 'Content Views – Post Grid & Filter for WordPress',
39
+ 'firstparty_marketing' => false,
40
+ ),
41
 
42
  'lead-forensics' => array(
43
  'constant_or_function' => 'LFRTrackingCode',
254
  'firstparty_marketing' => false,
255
  ),
256
 
257
+ 'colibriwp' => array(
258
+ 'constant_or_function' => 'COLIBRI_PAGE_BUILDER_VERSION',
259
+ 'label' => 'ColibriWP Page Builder',
260
+ 'firstparty_marketing' => false,
261
+ ),
262
+
263
  'user-registration' => array(
264
  'constant_or_function' => 'UR',
265
  'label' => 'User Registration',
334
  ),
335
  'wp-google-maps' => array(
336
  'constant_or_function' => 'WPGMZA_VERSION',
337
+ 'label' => 'WP Go Maps',
338
  'firstparty_marketing' => false,
339
  ),
340
  'wp-google-map-plugin' => array(
769
  }
770
  }
771
 
772
+
773
  function cmplz_notify_of_plugin_integrations( $warnings ){
774
  $fields = COMPLIANZ::$config->fields( 'integrations' );
775
  foreach ($fields as $id => $field ) {
776
  if ($field['disabled']) continue;
777
+ $warnings['integration_enabled'] = array(
778
+ 'open' => __('We have enabled integrations for plugins and services, please double-check your configuration.', 'complianz-gdpr' ) . cmplz_read_more("https://complianz.io/enabled-integration"),
779
  'include_in_progress' => false,
780
  );
781
+
782
+ break;
783
+
784
  }
785
 
786
  return $warnings;
788
  add_filter( 'cmplz_warning_types', 'cmplz_notify_of_plugin_integrations' );
789
 
790
 
791
+
792
+
793
+
794
  /**
795
  * placeholders that are disabled will be removed by hook here.
796
  *
integrations/plugins/activecampaign.php CHANGED
@@ -1,2 +1,37 @@
1
  <?php
2
  defined( 'ABSPATH' ) or die( "you do not have access to this page!" );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <?php
2
  defined( 'ABSPATH' ) or die( "you do not have access to this page!" );
3
+
4
+ /**
5
+ * Add activecampaign track event
6
+ */
7
+ function cmplz_activecampaign_event() {
8
+ ?>
9
+ <script>
10
+ document.addEventListener("cmplz_fire_categories", function (e) {
11
+ var consentedCategories = e.detail.categories;
12
+ if (cmplz_in_array( 'marketing', consentedCategories )) {
13
+ vgo('process', 'allowTracking');
14
+ }
15
+ });
16
+ </script>
17
+ <?php
18
+ }
19
+ add_action( 'wp_footer', 'cmplz_activecampaign_event' );
20
+
21
+
22
+ /**
23
+ * Add services to the list of detected items, so it will get set as default, and will be added to the notice about it
24
+ *
25
+ * @param $services
26
+ *
27
+ * @return array
28
+ */
29
+ function cmplz_activecampaign_plugin_detected_services( $services ) {
30
+
31
+ if ( ! in_array( 'activecampaign', $services ) ) {
32
+ $services[] = 'activecampaign';
33
+ }
34
+
35
+ return $services;
36
+ }
37
+ add_filter( 'cmplz_detected_services', 'cmplz_activecampaign_plugin_detected_services' );
integrations/plugins/colibriwp.php ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * ColibriWP - Complianz Compatibility
4
+ * Provided by ExtendThemes
5
+ */
6
+
7
+ add_action( 'init', 'colibri_complianz_remove_video_shortcode', 20 );
8
+
9
+ function colibri_complianz_remove_video_shortcode() {
10
+ remove_shortcode( 'colibri_video_player' );
11
+ }
12
+
13
+ add_action( 'init', function() {
14
+ add_shortcode( 'colibri_video_player', function( $atts ) {
15
+ ob_start();
16
+ if ($atts['type']==='external') {
17
+ printf(
18
+ '<iframe src="%1$s" class="h-video-main" %2$s allowfullscreen></iframe>',
19
+ esc_url( $atts['url'] ),
20
+ (($atts['autoplay'] === 'true') ? 'allow="autoplay"' : '')
21
+ );
22
+ } else {
23
+ printf(
24
+ '<video class="h-video-main" %1$s ><source src="%2$s" type="video/mp4" /></video>',
25
+ $attributes,
26
+ esc_url( $atts['url'] )
27
+ );
28
+ }
29
+ $content = ob_get_clean();
30
+
31
+ return $content;
32
+ } );
33
+ }, 30 );
34
+
35
+ add_action( 'wp_head', function() {
36
+ echo '
37
+ <style type="text/css">
38
+ .h-map > div {
39
+ height: inherit !important;
40
+ }
41
+ .video-container .ratio-inner.cmplz-blocked-content-container {
42
+ position: absolute;
43
+ top: 0; left: 0; right: 0; bottom: 0;
44
+ }
45
+ </style>
46
+ ';
47
+ }, 999 );
integrations/plugins/content-views-plugin.php ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ <?php
2
+ function cmplz_content_views_cookieblocker($html){
3
+ return COMPLIANZ::$cookie_blocker->replace_tags($html);
4
+ }
5
+ add_filter( 'pt_cv_view_html', 'cmplz_content_views_cookieblocker' );
6
+
integrations/plugins/easy-digital-downloads.php DELETED
@@ -1,6 +0,0 @@
1
- <?php
2
- defined( 'ABSPATH' ) or die( "you do not have acces to this page!" );
3
-
4
- function cmplz_edd_enabled(){
5
- return true;
6
- }
 
 
 
 
 
 
integrations/plugins/google-maps-easy.php CHANGED
@@ -11,6 +11,10 @@ function cmplz_google_maps_easy_script( $tags ) {
11
  'urls' => array(
12
  'google-maps-easy',
13
  'maps.googleapis.com',
 
 
 
 
14
  ),
15
  'enable_placeholder' => '1',
16
  'placeholder_class' => 'gmpMapDetailsContainer',
@@ -18,6 +22,8 @@ function cmplz_google_maps_easy_script( $tags ) {
18
  'dependency' => [
19
  //'wait-for-this-script' => 'script-that-should-wait'
20
  'maps.googleapis.com' => 'google-maps-easy',
 
 
21
  ],
22
  );
23
  return $tags;
11
  'urls' => array(
12
  'google-maps-easy',
13
  'maps.googleapis.com',
14
+ 'frontend.gmap.js',
15
+ 'frontend.gmap-js-extra',
16
+
17
+
18
  ),
19
  'enable_placeholder' => '1',
20
  'placeholder_class' => 'gmpMapDetailsContainer',
22
  'dependency' => [
23
  //'wait-for-this-script' => 'script-that-should-wait'
24
  'maps.googleapis.com' => 'google-maps-easy',
25
+ 'maps.googleapis.com' => 'frontend.gmap.js',
26
+ 'maps.googleapis.com' => 'frontend.gmap-js-extra',
27
  ],
28
  );
29
  return $tags;
integrations/plugins/lazy-loader.php CHANGED
@@ -31,7 +31,7 @@ add_action( 'wp_enqueue_scripts', 'cmplz_lazyloader_convert_data_src',PHP_INT_MA
31
  * @return string
32
  */
33
 
34
- function cmplz_lazyloader_data_target($target){
35
  return 'data-src';
36
  }
37
- add_filter('cmplz_data_target', 'cmplz_lazyloader_data_target', 100);
31
  * @return string
32
  */
33
 
34
+ function cmplz_lazyloader_data_target($target, $total_match){
35
  return 'data-src';
36
  }
37
+ add_filter('cmplz_data_target', 'cmplz_lazyloader_data_target', 100, 2);
integrations/plugins/mailchimp-woocommerce.php CHANGED
@@ -7,6 +7,8 @@ defined( 'ABSPATH' ) or die( "you do not have access to this page!" );
7
  // mailchimp_campaign_id
8
  // mailchimp_user_previous_email
9
  // the cookie name will be whatever we're trying to set. return true if allowed, false if not allowed.
 
 
10
  function cmplz_custom_cookie_callback_function($mailchimp_landing_site) {
11
  return false;
12
  }
7
  // mailchimp_campaign_id
8
  // mailchimp_user_previous_email
9
  // the cookie name will be whatever we're trying to set. return true if allowed, false if not allowed.
10
+
11
+
12
  function cmplz_custom_cookie_callback_function($mailchimp_landing_site) {
13
  return false;
14
  }
integrations/plugins/thrive.php CHANGED
@@ -1,5 +1,19 @@
1
  <?php
2
  defined( 'ABSPATH' ) or die();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
 
4
  /**
5
  * Whitelist youtube and video from being blocked, in the text/templates scripts of the Trhive quiz builder
@@ -7,7 +21,6 @@ defined( 'ABSPATH' ) or die();
7
  *
8
  * @return mixed
9
  */
10
-
11
  function cmplz_thrive_whitelist($tags){
12
  $tags[] = '//www.youtube.com/embed/<#=';
13
  $tags[] = '//player.vimeo.com/video/<#=';
@@ -27,3 +40,65 @@ function cmplz_thrive_inline_css( $html ) {
27
  return $html;
28
  }
29
  add_filter( "cmplz_banner_html", 'cmplz_thrive_inline_css' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <?php
2
  defined( 'ABSPATH' ) or die();
3
+ /**
4
+ * Filter Custom method from Thrive
5
+ *
6
+ * @param string $html
7
+ *
8
+ * @return mixed|null
9
+ */
10
+ function cmplz_content_views_cookieblocker($html){
11
+ if ( !is_admin() && !cmplz_is_pagebuilder_preview() ) {
12
+ $html = COMPLIANZ::$cookie_blocker->replace_tags($html);
13
+ }
14
+ return $html;
15
+ }
16
+ add_filter( 'tve_landing_page_content', 'cmplz_content_views_cookieblocker' );
17
 
18
  /**
19
  * Whitelist youtube and video from being blocked, in the text/templates scripts of the Trhive quiz builder
21
  *
22
  * @return mixed
23
  */
 
24
  function cmplz_thrive_whitelist($tags){
25
  $tags[] = '//www.youtube.com/embed/<#=';
26
  $tags[] = '//player.vimeo.com/video/<#=';
40
  return $html;
41
  }
42
  add_filter( "cmplz_banner_html", 'cmplz_thrive_inline_css' );
43
+
44
+ /**
45
+ * Filter cookie blocker output
46
+ */
47
+
48
+ function cmplz_thrive_cookieblocker( $output ){
49
+ if ( cmplz_uses_thirdparty('youtube') ) {
50
+ $iframe_pattern = '/thrv_responsive_video[ |\"][^>]+?data-url="(.*?)">/is';
51
+ if ( preg_match_all( $iframe_pattern, $output, $matches, PREG_PATTERN_ORDER ) ) {
52
+ foreach ( $matches[0] as $key => $total_match ) {
53
+ $placeholder = '';
54
+ if ( cmplz_use_placeholder('youtube') && isset($matches[1][$key]) ) {
55
+ $youtube_url = $matches[1][$key];
56
+ $placeholder = 'data-placeholder-image="'.cmplz_placeholder( false, stripcslashes($youtube_url) ).'" ';
57
+ }
58
+
59
+ $new_match = str_replace('data-url', $placeholder.' data-category="marketing" data-service="youtube" data-src-cmplz', $total_match);
60
+ $new_match = str_replace('thrv_responsive_video', 'thrv_responsive_video cmplz-placeholder-element', $new_match);
61
+ $output = str_replace($total_match, $new_match, $output);
62
+ }
63
+ }
64
+ }
65
+ return $output;
66
+ }
67
+ add_filter('cmplz_cookie_blocker_output', 'cmplz_thrive_cookieblocker');
68
+
69
+ /**
70
+ * @param string $target
71
+ * @param string $total_match
72
+ *
73
+ * @return string
74
+ */
75
+ function cmplz_thrive_data_target($target, $total_match){
76
+ //look for thrive class in iframe here
77
+ if ( cmplz_uses_thirdparty('youtube') && strpos( $total_match, 'data-url' ) !== false ) {
78
+ return 'data-url';
79
+ }
80
+ return $target;
81
+ }
82
+ add_filter( 'cmplz_data_target', 'cmplz_thrive_data_target', 100, 2);
83
+
84
+ /**
85
+ * Initialize thrive youtube iframe
86
+ *
87
+ */
88
+
89
+ function cmplz_thrive_initDomContentLoaded() {
90
+ if (!cmplz_uses_thirdparty('youtube')) return;
91
+ ob_start();
92
+ ?>
93
+ <script>
94
+ document.addEventListener("cmplz_run_after_all_scripts", cmplz_thrive_fire_domContentLoadedEvent);
95
+ function cmplz_thrive_fire_domContentLoadedEvent() {
96
+ dispatchEvent(new Event('load'));
97
+ }
98
+ </script>
99
+ <?php
100
+ $script = ob_get_clean();
101
+ $script = str_replace(array('<script>', '</script>'), '', $script);
102
+ wp_add_inline_script( 'cmplz-cookiebanner', $script );
103
+ }
104
+ add_action( 'wp_enqueue_scripts', 'cmplz_thrive_initDomContentLoaded',PHP_INT_MAX );
integrations/plugins/wp-google-maps.php CHANGED
@@ -2,27 +2,6 @@
2
  defined( 'ABSPATH' ) or die( "you do not have access to this page!" );
3
  if ( !defined('CMPLZ_GOOGLE_MAPS_INTEGRATION_ACTIVE') ) define('CMPLZ_GOOGLE_MAPS_INTEGRATION_ACTIVE', true);
4
 
5
- /**
6
- * WP Google Maps, should not be blocked the usual way as we use it's integrated GDPR feature
7
- *
8
- * This is server side, so doesn't play nice with caching
9
- */
10
-
11
- /**
12
- * replace the wp google maps gdpr notice with our own, nice looking one.
13
- *
14
- * @param $html
15
- *
16
- * @return string
17
- */
18
-
19
- function cmplz_wp_google_maps_replace_gdpr_notice( $html ) {
20
- $img = cmplz_default_placeholder( 'google-maps' );
21
- $msg = '<div style="text-align:center;margin-bottom:15px">' . __( 'To enable Google Maps cookies, click on I Agree', "complianz-gdpr" ) . '</div>';
22
- return apply_filters( 'cmplz_wp_google_maps_html', '<img src="' . $img . '" style="margin-bottom:15px">' . $msg );
23
- }
24
- add_filter( 'wpgmza_gdpr_notice_html', 'cmplz_wp_google_maps_replace_gdpr_notice' );
25
-
26
  function cmplz_wp_google_maps_whitelist($tags){
27
  $tags[] = 'WPGMZA_localized_data';
28
  $tags[] = 'maps.google.com';
@@ -36,61 +15,25 @@ add_filter( 'cmplz_whitelisted_script_tags', 'cmplz_wp_google_maps_whitelist');
36
  *
37
  */
38
  function cmplz_wp_google_maps_placeholder(){}
39
- /**
40
- * Add some custom css for the placeholder
41
- */
42
 
43
- add_action( 'cmplz_banner_css', 'cmplz_wp_google_maps_css' );
44
- function cmplz_wp_google_maps_css() {
45
- ?>
46
- .wpgmza-gdpr-compliance {
47
- text-align: center;
48
- }
49
- <?php
50
- }
51
 
52
- /**
53
- * v: 6.0
54
- * reload after consent.
55
- */
56
- function cmplz_reload_after_consent() {
57
- ?>
58
- <script>
59
- document.addEventListener('cmplz_status_change', function (e) {
60
- if ( document.querySelector('.wpgmza-api-consent') ) {
61
- if (e.detail.category === 'marketing' && e.detail.value === 'allow') {
62
- location.reload();
63
- }
64
- }
65
- });
66
- </script>
67
- <?php
68
- }
69
- add_action( 'wp_footer', 'cmplz_reload_after_consent' );
70
-
71
- /**
72
- * Make sure the agree button accepts the complianz banner
73
- */
74
-
75
- function cmplz_wp_google_maps_js() {
76
- ob_start();
77
- ?>
78
- <script>
79
- setTimeout(function () {
80
- if ( document.querySelector('.wpgmza-api-consent') ) {
81
- document.querySelector('.wpgmza-api-consent').classList.add('cmplz-accept-marketing');
82
- }
83
- }, 2000);
84
- </script>
85
- <?php
86
- $script = ob_get_clean();
87
- $script = str_replace(array('<script>', '</script>'), '', $script);
88
- wp_add_inline_script( 'cmplz-cookiebanner', $script);
89
  }
90
- add_action( 'wp_enqueue_scripts', 'cmplz_wp_google_maps_js',PHP_INT_MAX );
91
 
92
  /**
93
- * Force the GDPR option to be enabled
94
  *
95
  * @param $settings
96
  *
@@ -100,10 +43,9 @@ function cmplz_wp_google_maps_settings() {
100
  if ( is_admin() && current_user_can( 'manage_options' ) ) {
101
  $settings = json_decode( get_option( 'wpgmza_global_settings' ) );
102
  if ( property_exists($settings, 'wpgmza_gdpr_require_consent_before_load') && $settings->wpgmza_gdpr_require_consent_before_load === 'on' ) {
103
- return;
 
104
  }
105
- $settings->wpgmza_gdpr_require_consent_before_load = 'on';
106
- update_option( 'wpgmza_global_settings', json_encode( $settings ) );
107
  }
108
  }
109
  add_action( 'admin_init', 'cmplz_wp_google_maps_settings' );
2
  defined( 'ABSPATH' ) or die( "you do not have access to this page!" );
3
  if ( !defined('CMPLZ_GOOGLE_MAPS_INTEGRATION_ACTIVE') ) define('CMPLZ_GOOGLE_MAPS_INTEGRATION_ACTIVE', true);
4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  function cmplz_wp_google_maps_whitelist($tags){
6
  $tags[] = 'WPGMZA_localized_data';
7
  $tags[] = 'maps.google.com';
15
  *
16
  */
17
  function cmplz_wp_google_maps_placeholder(){}
 
 
 
18
 
 
 
 
 
 
 
 
 
19
 
20
+ add_filter( 'cmplz_known_script_tags', 'cmplz_wp_google_maps_script' );
21
+ function cmplz_wp_google_maps_script( $tags ) {
22
+ $tags[] = array(
23
+ 'name' => 'google-maps',
24
+ 'category' => 'marketing',
25
+ 'placeholder' => 'google-maps',
26
+ 'urls' => array(
27
+ 'wp-google-maps',
28
+ ),
29
+ 'enable_placeholder' => '1',
30
+ 'placeholder_class' => 'wpgmza_map',
31
+ );
32
+ return $tags;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  }
 
34
 
35
  /**
36
+ * Force the Wp Google Maps GDPR option to be disabled, as it's handled by Complianz
37
  *
38
  * @param $settings
39
  *
43
  if ( is_admin() && current_user_can( 'manage_options' ) ) {
44
  $settings = json_decode( get_option( 'wpgmza_global_settings' ) );
45
  if ( property_exists($settings, 'wpgmza_gdpr_require_consent_before_load') && $settings->wpgmza_gdpr_require_consent_before_load === 'on' ) {
46
+ $settings->wpgmza_gdpr_require_consent_before_load = false;
47
+ update_option( 'wpgmza_global_settings', json_encode( $settings ) );
48
  }
 
 
49
  }
50
  }
51
  add_action( 'admin_init', 'cmplz_wp_google_maps_settings' );
integrations/plugins/wp-rocket.php CHANGED
@@ -49,10 +49,10 @@ add_action( 'wp_enqueue_scripts', 'cmplz_wprocket_convert_data_src',PHP_INT_MAX
49
  * @return string
50
  */
51
 
52
- function cmplz_wprocket_data_target($target){
53
  if ( cmplz_wprocket_activate_integration() ) {
54
  return 'data-lazy-src';
55
  }
56
  return $target;
57
  }
58
- add_filter('cmplz_data_target', 'cmplz_wprocket_data_target', 100);
49
  * @return string
50
  */
51
 
52
+ function cmplz_wprocket_data_target($target, $total_match){
53
  if ( cmplz_wprocket_activate_integration() ) {
54
  return 'data-lazy-src';
55
  }
56
  return $target;
57
  }
58
+ add_filter('cmplz_data_target', 'cmplz_wprocket_data_target', 100, 2);
integrations/statistics/google-tagmanager.php DELETED
@@ -1,20 +0,0 @@
1
- <?php
2
- defined('ABSPATH') or die("you do not have acces to this page!");
3
-
4
- /**
5
- * Obsolete by consent mode?
6
- *
7
- */
8
- //add_filter('cmplz_known_script_tags', 'cmplz_googletagmanager_script');
9
- //function cmplz_googletagmanager_script($tags){
10
- //
11
- // if (!COMPLIANZ::$cookie_admin->uses_google_tagmanager()) {
12
- // $tags[] = 'googletagmanager.com/gtag/js';
13
- // $tags[] = 'gtm.js';
14
- // $tags[] = '_getTracker';
15
- // $tags[] = 'apis.google.com/js/platform.js';
16
- // }
17
- //
18
- // return $tags;
19
- //}
20
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/complianz-gdpr.pot CHANGED
@@ -2,7 +2,7 @@
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Complianz Privacy Suite (GDPR/CCPA) premium\n"
5
- "POT-Creation-Date: 2022-09-05 12:52+0200\n"
6
  "PO-Revision-Date: 2022-04-25 10:37+0200\n"
7
  "Last-Translator: Rogier Lankhorst <rogierlankhorst@gmail.com>\n"
8
  "Language-Team: Rogier Lankhorst <rogierlankhorst@gmail.com>\n"
@@ -155,7 +155,7 @@ msgstr ""
155
 
156
  #: DNSMPD/class-DNSMPD.php:173 config/general-settings.php:332
157
  #: cookiebanner/class-cookiebanner-table.php:216
158
- #: templates/dashboard/tools.php:26
159
  msgid "Export"
160
  msgstr ""
161
 
@@ -468,7 +468,7 @@ msgstr ""
468
  #: class-admin.php:392 class-admin.php:763 class-admin.php:764
469
  #: class-admin.php:988 cookiebanner/settings.php:492
470
  #: integrations/integrations-menu.php:50 pro/class-licensing.php:469
471
- #: pro/class-licensing.php:573 templates/dashboard/tools.php:66
472
  msgid "Settings"
473
  msgstr ""
474
 
@@ -5614,7 +5614,7 @@ msgstr ""
5614
  #: templates/dashboard/tools-conditional.php:31
5615
  #: templates/dashboard/tools-conditional.php:45
5616
  #: templates/dashboard/tools-conditional.php:59
5617
- #: templates/dashboard/tools.php:13
5618
  msgid "Read more"
5619
  msgstr ""
5620
 
@@ -5643,12 +5643,13 @@ msgstr ""
5643
  msgid "Integrations"
5644
  msgstr ""
5645
 
5646
- #: integrations/integrations.php:766
5647
- #, php-format
5648
- msgid "We have enabled the %s integration."
 
5649
  msgstr ""
5650
 
5651
- #: integrations/integrations.php:901
5652
  msgid "No required integrations detected yet."
5653
  msgstr ""
5654
 
@@ -5796,8 +5797,7 @@ msgstr ""
5796
  #: integrations/plugins/elementor-pro/custom-widgets/cmplz-view-save-preferences-button-widget.php:205
5797
  #: integrations/plugins/elementor-pro/custom-widgets/cmplz-view-save-preferences-button-widget.php:347
5798
  #: pro/templates/dashboard/tools-conditional.php:8
5799
- #: templates/dashboard/tools-conditional.php:42
5800
- #: templates/dashboard/tools.php:10
5801
  msgid "View"
5802
  msgstr ""
5803
 
@@ -14178,7 +14178,7 @@ msgstr ""
14178
  #: proof-of-consent/class-proof-of-consent.php:195
14179
  #: proof-of-consent/class-proof-of-consent.php:196
14180
  #: proof-of-consent/class-proof-of-consent.php:241
14181
- #: templates/dashboard/tools.php:44
14182
  msgid "Proof of consent"
14183
  msgstr ""
14184
 
@@ -14474,28 +14474,28 @@ msgstr ""
14474
  msgid "Data request processing"
14475
  msgstr ""
14476
 
14477
- #: templates/dashboard/tools.php:23
14478
  msgid "Export personal data"
14479
  msgstr ""
14480
 
14481
- #: templates/dashboard/tools.php:32
14482
  msgid "Erase personal data"
14483
  msgstr ""
14484
 
14485
- #: templates/dashboard/tools.php:35
14486
  msgid "Erase"
14487
  msgstr ""
14488
 
14489
- #: templates/dashboard/tools.php:50
14490
  msgid "Not generated yet"
14491
  msgstr ""
14492
 
14493
- #: templates/dashboard/tools.php:55
14494
  #, php-format
14495
  msgid "Last update %s"
14496
  msgstr ""
14497
 
14498
- #: templates/dashboard/tools.php:63
14499
  msgid "Webshop privacy"
14500
  msgstr ""
14501
 
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Complianz Privacy Suite (GDPR/CCPA) premium\n"
5
+ "POT-Creation-Date: 2022-09-15 10:11+0200\n"
6
  "PO-Revision-Date: 2022-04-25 10:37+0200\n"
7
  "Last-Translator: Rogier Lankhorst <rogierlankhorst@gmail.com>\n"
8
  "Language-Team: Rogier Lankhorst <rogierlankhorst@gmail.com>\n"
155
 
156
  #: DNSMPD/class-DNSMPD.php:173 config/general-settings.php:332
157
  #: cookiebanner/class-cookiebanner-table.php:216
158
+ #: templates/dashboard/tools.php:25
159
  msgid "Export"
160
  msgstr ""
161
 
468
  #: class-admin.php:392 class-admin.php:763 class-admin.php:764
469
  #: class-admin.php:988 cookiebanner/settings.php:492
470
  #: integrations/integrations-menu.php:50 pro/class-licensing.php:469
471
+ #: pro/class-licensing.php:573 templates/dashboard/tools.php:65
472
  msgid "Settings"
473
  msgstr ""
474
 
5614
  #: templates/dashboard/tools-conditional.php:31
5615
  #: templates/dashboard/tools-conditional.php:45
5616
  #: templates/dashboard/tools-conditional.php:59
5617
+ #: templates/dashboard/tools.php:12
5618
  msgid "Read more"
5619
  msgstr ""
5620
 
5643
  msgid "Integrations"
5644
  msgstr ""
5645
 
5646
+ #: integrations/integrations.php:767
5647
+ msgid ""
5648
+ "We have enabled integrations for plugins and services, please double-check "
5649
+ "your configuration."
5650
  msgstr ""
5651
 
5652
+ #: integrations/integrations.php:908
5653
  msgid "No required integrations detected yet."
5654
  msgstr ""
5655
 
5797
  #: integrations/plugins/elementor-pro/custom-widgets/cmplz-view-save-preferences-button-widget.php:205
5798
  #: integrations/plugins/elementor-pro/custom-widgets/cmplz-view-save-preferences-button-widget.php:347
5799
  #: pro/templates/dashboard/tools-conditional.php:8
5800
+ #: templates/dashboard/tools-conditional.php:42 templates/dashboard/tools.php:9
 
5801
  msgid "View"
5802
  msgstr ""
5803
 
14178
  #: proof-of-consent/class-proof-of-consent.php:195
14179
  #: proof-of-consent/class-proof-of-consent.php:196
14180
  #: proof-of-consent/class-proof-of-consent.php:241
14181
+ #: templates/dashboard/tools.php:43
14182
  msgid "Proof of consent"
14183
  msgstr ""
14184
 
14474
  msgid "Data request processing"
14475
  msgstr ""
14476
 
14477
+ #: templates/dashboard/tools.php:22
14478
  msgid "Export personal data"
14479
  msgstr ""
14480
 
14481
+ #: templates/dashboard/tools.php:31
14482
  msgid "Erase personal data"
14483
  msgstr ""
14484
 
14485
+ #: templates/dashboard/tools.php:34
14486
  msgid "Erase"
14487
  msgstr ""
14488
 
14489
+ #: templates/dashboard/tools.php:49
14490
  msgid "Not generated yet"
14491
  msgstr ""
14492
 
14493
+ #: templates/dashboard/tools.php:54
14494
  #, php-format
14495
  msgid "Last update %s"
14496
  msgstr ""
14497
 
14498
+ #: templates/dashboard/tools.php:62
14499
  msgid "Webshop privacy"
14500
  msgstr ""
14501
 
proof-of-consent/class-cookiestatement-snapshot-table.php CHANGED
@@ -223,14 +223,7 @@ class cmplz_CookieStatement_Snapshots_Table extends WP_List_Table {
223
 
224
  public function date_select() {
225
  // Month Select
226
- $selected = false;
227
- if ( isset( $_GET['cmplz_month_select'] ) ) {
228
- if ( isset( $_GET['cmplz_year_select'] ) && $_GET['cmplz_year_select'] == 0) {
229
- $selected = 0;
230
- } else {
231
- $selected = intval($_GET['cmplz_month_select']);
232
- }
233
- }
234
  $months = array(
235
  __('Month',"complianz-gdpr"),
236
  __( 'January' ),
@@ -253,14 +246,7 @@ class cmplz_CookieStatement_Snapshots_Table extends WP_List_Table {
253
  echo '</select>';
254
 
255
  // Year Select
256
- $selected = false;
257
- if ( isset( $_GET['cmplz_year_select'] ) ) {
258
- if (isset($_GET['cmplz_month_select']) && $_GET['cmplz_month_select'] == 0) {
259
- $selected = 0;
260
- } else {
261
- $selected = intval($_GET['cmplz_year_select']);
262
- }
263
- }
264
  if (! empty($this->all) ) {
265
  $first_year = date("Y", $this->get_oldest_snapshot_time());
266
  $end_year = date("Y", $this->get_newest_snapshot_time());
@@ -308,8 +294,7 @@ class cmplz_CookieStatement_Snapshots_Table extends WP_List_Table {
308
  }
309
 
310
  $data = array();
311
- $paged = $this->get_paged();
312
- $offset = $this->per_page * ( $paged - 1 );
313
  $search = $this->get_search();
314
  $order = isset( $_GET['order'] )
315
  ? sanitize_text_field( $_GET['order'] ) : 'DESC';
@@ -341,7 +326,7 @@ class cmplz_CookieStatement_Snapshots_Table extends WP_List_Table {
341
  $sortable = $this->get_sortable_columns();
342
  $this->_column_headers = array( $columns, $hidden, $sortable );
343
  $this->items = $this->reports_data();
344
- $this->all = COMPLIANZ::$proof_of_consent->get_cookie_snapshot_list();
345
  $this->total = is_array( $this->all ) ? count( $this->all ) : 0;
346
  // Add condition to be sure we don't divide by zero.
347
  // If $this->per_page is 0, then set total pages to 1.
223
 
224
  public function date_select() {
225
  // Month Select
226
+ $selected = isset($_GET['cmplz_month_select']) ? intval($_GET['cmplz_month_select']) : 0;
 
 
 
 
 
 
 
227
  $months = array(
228
  __('Month',"complianz-gdpr"),
229
  __( 'January' ),
246
  echo '</select>';
247
 
248
  // Year Select
249
+ $selected = isset($_GET['cmplz_year_select']) ? intval($_GET['cmplz_year_select']) : 0;
 
 
 
 
 
 
 
250
  if (! empty($this->all) ) {
251
  $first_year = date("Y", $this->get_oldest_snapshot_time());
252
  $end_year = date("Y", $this->get_newest_snapshot_time());
294
  }
295
 
296
  $data = array();
297
+ $offset = $this->get_paged();
 
298
  $search = $this->get_search();
299
  $order = isset( $_GET['order'] )
300
  ? sanitize_text_field( $_GET['order'] ) : 'DESC';
326
  $sortable = $this->get_sortable_columns();
327
  $this->_column_headers = array( $columns, $hidden, $sortable );
328
  $this->items = $this->reports_data();
329
+ $this->all = COMPLIANZ::$proof_of_consent->get_cookie_snapshot_list(['number'=>-1]);
330
  $this->total = is_array( $this->all ) ? count( $this->all ) : 0;
331
  // Add condition to be sure we don't divide by zero.
332
  // If $this->per_page is 0, then set total pages to 1.
proof-of-consent/class-proof-of-consent.php CHANGED
@@ -55,7 +55,7 @@ if ( ! class_exists( "cmplz_proof_of_consent" ) ) {
55
 
56
  public function get_cookie_snapshot_list( $args = array() ) {
57
  $defaults = array(
58
- 'number' => 10,
59
  'region' => false,
60
  'offset' => 0,
61
  'order' => 'DESC',
@@ -84,12 +84,14 @@ if ( ! class_exists( "cmplz_proof_of_consent" ) ) {
84
 
85
  if ( empty( $args['search'] ) || strpos( $file, $args['search'] ) !== false) {
86
  $index++;
 
87
  if ($args['start_date'] < filemtime( $file ) && filemtime( $file ) < $args['end_date'] ) {
88
- $filelist[filemtime($file) . $index]["path"] = $file;
89
- $filelist[filemtime($file) . $index]["url"] = trailingslashit($url).basename($file);
90
- $filelist[filemtime($file) . $index]["file"] = basename($file);
91
- $filelist[filemtime($file) . $index]["time"] = filemtime($file);
92
  }
 
93
  }
94
  }
95
  }
@@ -102,23 +104,25 @@ if ( ! class_exists( "cmplz_proof_of_consent" ) ) {
102
  } else {
103
  ksort( $filelist );
104
  }
105
-
106
  if ( empty( $filelist ) ) {
107
  return false;
108
  }
109
 
110
  $page = (int) $args['offset'];
111
  $total = count( $filelist ); //total items in array
112
- $limit = $args['number'];
113
- $totalPages = ceil( $total / $limit ); //calculate total pages
 
114
  $page = max( $page, 1 ); //get 1 page when $_GET['page'] <= 0
115
  $page = min( $page, $totalPages ); //get last page when $_GET['page'] > $totalPages
116
  $offset = ( $page - 1 ) * $limit;
117
  if ( $offset < 0 ) {
118
  $offset = 0;
119
  }
120
-
121
- $filelist = array_slice( $filelist, $offset, $limit );
 
 
122
 
123
  if ( empty( $filelist ) ) {
124
  return false;
55
 
56
  public function get_cookie_snapshot_list( $args = array() ) {
57
  $defaults = array(
58
+ 'number' => 30,
59
  'region' => false,
60
  'offset' => 0,
61
  'order' => 'DESC',
84
 
85
  if ( empty( $args['search'] ) || strpos( $file, $args['search'] ) !== false) {
86
  $index++;
87
+ $parsed_index = sprintf('%02d', $index);
88
  if ($args['start_date'] < filemtime( $file ) && filemtime( $file ) < $args['end_date'] ) {
89
+ $filelist[filemtime($file).$parsed_index]["path"] = $file;
90
+ $filelist[filemtime($file).$parsed_index]["url"] = trailingslashit($url).basename($file);
91
+ $filelist[filemtime($file).$parsed_index]["file"] = basename($file);
92
+ $filelist[filemtime($file).$parsed_index]["time"] = filemtime($file);
93
  }
94
+
95
  }
96
  }
97
  }
104
  } else {
105
  ksort( $filelist );
106
  }
 
107
  if ( empty( $filelist ) ) {
108
  return false;
109
  }
110
 
111
  $page = (int) $args['offset'];
112
  $total = count( $filelist ); //total items in array
113
+ $limit = intval($args['number']);
114
+
115
+ $totalPages = $limit===-1 ? 1 : ceil( $total / $limit ); //calculate total pages
116
  $page = max( $page, 1 ); //get 1 page when $_GET['page'] <= 0
117
  $page = min( $page, $totalPages ); //get last page when $_GET['page'] > $totalPages
118
  $offset = ( $page - 1 ) * $limit;
119
  if ( $offset < 0 ) {
120
  $offset = 0;
121
  }
122
+ if ($limit!=-1) {
123
+ error_log("slide list from $offset to $limit");
124
+ $filelist = array_slice( $filelist, $offset, $limit, true );
125
+ }
126
 
127
  if ( empty( $filelist ) ) {
128
  return false;
readme.txt CHANGED
@@ -5,8 +5,8 @@ Tags: GDPR, Cookie, Cookie Notice, DSGVO, CPRA, Consent, RGPD, LGPD, Privacy, PI
5
  Requires at least: 4.9
6
  License: GPL2
7
  Requires PHP: 7.2
8
- Tested up to: 6.0
9
- Stable tag: 6.3.3
10
 
11
  Configure your Cookie Notice, Cookie Consent and Cookie Policy with our Wizard and Cookie Scan. Supports GDPR, DSGVO, TTDSG, LGPD, POPIA, RGPD, CCPA/CPRA and PIPEDA.
12
 
@@ -175,6 +175,29 @@ The Brazilian General Data Protection Law is similar to the GDPR, the UK-GDPR it
175
  With some custom CSS this is possible, but we do not consider a cookie wall to be GDPR compliant, so it's not actively supported. We do, however, have the option to create a Soft Cookie Wall. Which blocks interaction with the website, but dismissing remains a possibility.
176
 
177
  == Changelog ==
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
178
  = 6.3.3 =
179
  * Improvement: conditionally offer link to create menu page
180
  * Improvement: remove unnecessary translatable strings from policy UK and AU
5
  Requires at least: 4.9
6
  License: GPL2
7
  Requires PHP: 7.2
8
+ Tested up to: 6.1
9
+ Stable tag: 6.3.4
10
 
11
  Configure your Cookie Notice, Cookie Consent and Cookie Policy with our Wizard and Cookie Scan. Supports GDPR, DSGVO, TTDSG, LGPD, POPIA, RGPD, CCPA/CPRA and PIPEDA.
12
 
175
  With some custom CSS this is possible, but we do not consider a cookie wall to be GDPR compliant, so it's not actively supported. We do, however, have the option to create a Soft Cookie Wall. Which blocks interaction with the website, but dismissing remains a possibility.
176
 
177
  == Changelog ==
178
+ = 6.3.4 =
179
+ * Security update: sanitize translation file string, props @saggre
180
+ * New: Google Maps colibri integration
181
+ * New: WP Google Maps OpenLayers Integration
182
+ * New: Content Views Plugin integration to allow for ajax loaded content
183
+ * New: ActiveCampaign
184
+ * Improvement: some optimizations to make the cookie shredder perform better
185
+ * Improvement: extend translation options for cookies that are not synced with cookiedatabase when using polylang
186
+ * Improvement: use custom thrive hook in certain custom thrive implementations
187
+ * Improvement: also copy 'owndomain' property when creating a cookie in a new language
188
+ * Improvement: regenerate proof of consent pdf on plugin update
189
+ * Improvement: do not offer checkbox on cookie policy for Google Fonts
190
+ * Improvement: extend Matomo Tag Manager integration
191
+ * Improvement: for created directories, set permissions default to 755
192
+ * Improvement: add filter cmplz_banner_html to manage consent area as well, to offer consistent editing of the html
193
+ * Improvement: also change banner status with custom revoke button on status change
194
+ * Improvement: force redirect in firefox to reload with full consent withdrawal, as firefox seems to cache loaded scripts
195
+ * Improvement: bundle integration activation notices
196
+ * Improvement: Updated Google Maps Easy integration
197
+ * Fix: Incorrect sorting of Proof of Consent files prevented them from showing up in the list
198
+ * Fix: update qTranslate integration to allow for banner fields with $field['text'] strings, props @sviluppomania
199
+ * Fix: cookie policy UK not replacing the cookiedatabase.org link because of too many arguments in sprintf
200
+
201
  = 6.3.3 =
202
  * Improvement: conditionally offer link to create menu page
203
  * Improvement: remove unnecessary translatable strings from policy UK and AU
rest-api/rest-api.php CHANGED
@@ -144,7 +144,7 @@ function cmplz_rest_api_manage_consent_html( WP_REST_Request $request )
144
  $consent_type = apply_filters( 'cmplz_user_consenttype', COMPLIANZ::$company->get_default_consenttype() );
145
  $path = trailingslashit( cmplz_path ).'cookiebanner/templates/';
146
  $banner_html = cmplz_get_template( "cookiebanner.php", array( 'consent_type' => $consent_type ), $path);
147
-
148
  if ( preg_match( '/<!-- categories start -->(.*?)<!-- categories end -->/s', $banner_html, $matches ) ) {
149
  $html = $matches[0];
150
  $banner_id = apply_filters( 'cmplz_user_banner_id', cmplz_get_default_banner_id() );
144
  $consent_type = apply_filters( 'cmplz_user_consenttype', COMPLIANZ::$company->get_default_consenttype() );
145
  $path = trailingslashit( cmplz_path ).'cookiebanner/templates/';
146
  $banner_html = cmplz_get_template( "cookiebanner.php", array( 'consent_type' => $consent_type ), $path);
147
+ $banner_html = apply_filters("cmplz_banner_html", $banner_html);
148
  if ( preg_match( '/<!-- categories start -->(.*?)<!-- categories end -->/s', $banner_html, $matches ) ) {
149
  $html = $matches[0];
150
  $banner_id = apply_filters( 'cmplz_user_banner_id', cmplz_get_default_banner_id() );
templates/dashboard/footer.php DELETED
@@ -1,7 +0,0 @@
1
- <div class="item-footer">
2
- <div>
3
- <div class="cmplz-footer-contents">
4
- {footer}
5
- </div>
6
- </div>
7
- </div>
 
 
 
 
 
 
 
templates/do-not-sell-my-personal-data-form.php DELETED
@@ -1,24 +0,0 @@
1
- <?php
2
- //firstname is honeypot
3
- ?>
4
- <div class="cmplz-dnsmpd alert">
5
- <span class="close">&times;</span>
6
- <span id="message"></span>
7
- </div>
8
- <style>
9
- .cmplz-first-name {
10
- position: absolute !important;
11
- left: -5000px !important;
12
- }
13
- </style>
14
- <div id="cmplz-dnsmpd-form">
15
- <label for="cmplz_dnsmpd_firstname" class="cmplz-first-name"><?php echo __('Name','complianz-gdpr')?><input type="search" class="dnsmpd-firstname" value="" placeholder="your first name" id="cmplz_dnsmpd_firstname"></label>
16
- <div>
17
- <label for="cmplz_dnsmpd_name"><?php echo __('Name','complianz-gdpr')?></label><input type="text" required value="" placeholder="<?php echo __('Your name','complianz-gdpr')?>" id="cmplz_dnsmpd_name">
18
- </div><div>
19
- <label for="cmplz_dnsmpd_email"><?php echo __('Email','complianz-gdpr')?></label><input type="email" required value="" placeholder="<?php echo __('email@email.com','complianz-gdpr')?>" id="cmplz_dnsmpd_email">
20
- </div>
21
- <input type="button" id="cmplz-dnsmpd-submit" value="<?php echo __('Send','complianz-gdpr')?>">
22
- </div>
23
-
24
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
templates/statistics/matomo-tag-manager.js CHANGED
@@ -2,3 +2,17 @@ var _mtm = window._mtm = window._mtm || [];
2
  _mtm.push({'mtm.startTime': (new Date().getTime()), 'event': 'mtm.Start'});
3
  var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
4
  g.type='text/javascript'; g.async=true; g.src='{matomo_url}container_{container_id}.js'; s.parentNode.insertBefore(g,s);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  _mtm.push({'mtm.startTime': (new Date().getTime()), 'event': 'mtm.Start'});
3
  var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
4
  g.type='text/javascript'; g.async=true; g.src='{matomo_url}container_{container_id}.js'; s.parentNode.insertBefore(g,s);
5
+ _mtm.push({"event": "cmplz_event_functional"});
6
+ document.addEventListener("cmplz_status_change", function (e) {
7
+ if ( e.detail.category === 'preferences' && e.detail.value === 'allow' ) {
8
+ _mtm.push({"event": "cmplz_event_preferences"});
9
+ }
10
+
11
+ if ( e.detail.category === 'statistics' && e.detail.value === 'allow' ) {
12
+ _mtm.push({"event": "cmplz_event_statistics"});
13
+ }
14
+
15
+ if ( e.detail.category === 'marketing' && e.detail.value === 'allow' ) {
16
+ _mtm.push({"event": "cmplz_event_marketing"});
17
+ }
18
+ });
upgrade.php CHANGED
@@ -949,6 +949,8 @@ function cmplz_check_upgrade() {
949
  update_option( 'complianz_options_settings', $general_settings );
950
  }
951
 
 
 
952
  //regenerate css
953
  $banners = cmplz_get_cookiebanners();
954
  if ( $banners ) {
949
  update_option( 'complianz_options_settings', $general_settings );
950
  }
951
 
952
+ update_option('cmplz_generate_new_cookiepolicy_snapshot', true, false);
953
+
954
  //regenerate css
955
  $banners = cmplz_get_cookiebanners();
956
  if ( $banners ) {