"use strict";(globalThis.webpackChunkcomplianz_gdpr=globalThis.webpackChunkcomplianz_gdpr||[]).push([[8414],{38414:(e,t,c)=>{c.r(t),c.d(t,{default:()=>o});var n=c(86087),l=c(45111),r=c(42838),a=c.n(r);const o=(0,n.memo)((({conclusion:e,delay:t})=>{const[c,r]=(0,n.useState)(!0);(0,n.useEffect)((()=>{setTimeout((()=>{o()}),t)}));const o=()=>{r(!1)};let s="green";return"warning"===e.report_status&&(s="orange"),"error"===e.report_status&&(s="red"),(0,n.createElement)(n.Fragment,null,c&&(0,n.createElement)("li",{className:"cmplz-conclusion__check icon-loading"},(0,n.createElement)(l.default,{name:"loading",color:"grey"}),(0,n.createElement)("div",{className:"cmplz-conclusion__check--report-text"}," ",e.check_text," ")),!c&&(0,n.createElement)("li",{className:"cmplz-conclusion__check icon-"+e.report_status},(0,n.createElement)(l.default,{name:e.report_status,color:s}),(0,n.createElement)("div",{className:"cmplz-conclusion__check--report-text",dangerouslySetInnerHTML:{__html:a().sanitize(e.report_text)}}," ")))}))}}]);