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