"use strict";(globalThis.webpackChunkcomplianz_gdpr=globalThis.webpackChunkcomplianz_gdpr||[]).push([[5256],{15256:(e,l,a)=>{a.r(l),a.d(l,{default:()=>n});var c=a(45111),s=a(4219),t=a(10790);const n=({title:e,subtitle:l,body:a,icon:n="warning",iconColor:r="orange",ctaLabel:i,ctaUrl:o,ctaFieldId:d="",onCtaClick:u})=>{const p=o?s.default.getState().getReferralUrl("warnings",d,o):null;return(0,t.jsxs)("div",{className:"cmplz-wscscan-alert",children:[(0,t.jsx)(c.default,{name:n,color:r,size:48}),(0,t.jsxs)("div",{className:"cmplz-wscscan-alert-group",children:[(0,t.jsx)("div",{className:"cmplz-wscscan-alert-group-title",children:e}),l&&(0,t.jsx)("div",{className:"cmplz-wscscan-alert-group-desc",children:l})]}),a&&(0,t.jsx)("div",{className:"cmplz-wscscan-alert-desc-long",children:a}),(p||u)&&i&&(0,t.jsx)("div",{children:p?(0,t.jsx)("a",{href:p,target:"_blank",rel:"noopener noreferrer",className:"button button-default",children:i}):(0,t.jsx)("button",{type:"button",onClick:u,className:"button button-default",children:i})})]})}}}]);