"use strict";(globalThis.webpackChunkcomplianz_gdpr=globalThis.webpackChunkcomplianz_gdpr||[]).push([[3971],{23971:(e,l,a)=>{a.r(l),a.d(l,{default:()=>m});var t=a(51609),c=a(27723),n=a(45111),r=a(4219),s=a(32828),o=a(86087);const m=()=>{const{fields:e,getFieldValue:l}=(0,r.default)(),{showCookieBanner:a,fetchProgressData:m,progressLoaded:d}=(0,s.default)(),[i,p]=(0,o.useState)(!1),[u,g]=(0,o.useState)(!1),[h,z]=(0,o.useState)(!1);return(0,o.useEffect)((()=>{d||m()}),[]),(0,o.useEffect)((()=>{let e="yes"===l("enable_cookie_blocker")?"green":"grey";p(e),e=1==l("dont_use_placeholders")?"grey":"green",g(e),e=a?"green":"grey",z(e)}),[e,a]),(0,t.createElement)(t.Fragment,null,(0,t.createElement)("a",{href:"#wizard",className:"button button-primary"},(0,c.__)("Continue Wizard","complianz-gdpr")),(0,t.createElement)("div",{className:"cmplz-legend cmplz-flex-push-right"},(0,t.createElement)(n.default,{name:"circle-check",color:i,size:14}),(0,t.createElement)("span",null,(0,c.__)("Cookie Blocker","complianz-gdpr"))),(0,t.createElement)("div",{className:"cmplz-legend"},(0,t.createElement)(n.default,{name:"circle-check",color:u,size:14}),(0,t.createElement)("span",null,(0,c.__)("Placeholders","complianz-gdpr"))),(0,t.createElement)("div",{className:"cmplz-legend"},(0,t.createElement)(n.default,{name:"circle-check",color:h,size:14}),(0,t.createElement)("span",null,(0,c.__)("Consent Banner","complianz-gdpr"))))}}}]);