"use strict";(globalThis.webpackChunkcomplianz_gdpr=globalThis.webpackChunkcomplianz_gdpr||[]).push([[625],{20625:(e,t,l)=>{l.r(t),l.d(t,{default:()=>m});var a=l(51609),n=l(45111),r=l(27723),c=l(42838),i=l.n(c);const m=e=>{let t=e.help;t.title||(t.title=t.text,t.text=!1);let l=e.noticesExpanded?"open":"",c=t.url&&-1!==t.url.indexOf("complianz.io")?"_blank":"_self";return(0,a.createElement)(a.Fragment,null,t.title&&t.text&&(0,a.createElement)("details",{className:"cmplz-wizard-help-notice cmplz-"+t.label.toLowerCase(),open:l},(0,a.createElement)("summary",null,t.title," ",(0,a.createElement)(n.default,{name:"chevron-down"})),(0,a.createElement)("div",{dangerouslySetInnerHTML:{__html:i().sanitize(t.text)}})," ",t.url&&(0,a.createElement)("div",{className:"cmplz-help-more-info"},(0,a.createElement)("a",{target:c,href:t.url},(0,r.__)("More info","complianz-gdpr")))),t.title&&!t.text&&(0,a.createElement)("div",{className:"cmplz-wizard-help-notice cmplz-"+t.label.toLowerCase()},(0,a.createElement)("p",null,t.title)))}}}]);