"use strict";(globalThis.webpackChunkcomplianz_gdpr=globalThis.webpackChunkcomplianz_gdpr||[]).push([[3971],{23971:(e,l,a)=>{a.r(l),a.d(l,{default:()=>o});var t=a(86087),c=a(27723),n=a(45111),r=a(4219),s=a(32828);const o=()=>{const{fields:e,getFieldValue:l}=(0,r.default)(),{showCookieBanner:a,fetchProgressData:o,progressLoaded:m}=(0,s.default)(),[d,i]=(0,t.useState)(!1),[p,u]=(0,t.useState)(!1),[g,h]=(0,t.useState)(!1);return(0,t.useEffect)((()=>{m||o()}),[]),(0,t.useEffect)((()=>{let e="yes"===l("enable_cookie_blocker")?"green":"grey";i(e),e=1==l("dont_use_placeholders")?"grey":"green",u(e),e=a?"green":"grey",h(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:d,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:p,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:g,size:14}),(0,t.createElement)("span",null,(0,c.__)("Consent Banner","complianz-gdpr"))))}}}]);