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