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F,GAAA,GAAAjB,EAAAwB,GAAA,UAAAC,UAAA,sBAAAC,wBAAA,CAAAC,OAAA5B,IAAA8B,QAAA,kDAAAD,MAAA,CAAAT,EAAA,6CAAAS,MAAA,CAAAT,EAAA","sources":["webpack://_N_E/./components/ConsentBlock/ConsentBlock.js","webpack://_N_E/<anon>"],"sourcesContent":["import React from 'react'\nimport DOMPurify from 'isomorphic-dompurify';\n\nfunction ConsentBlock(props) {\n\n    const activateCookieConsentEU = props?.document?.fields?.activateCookieConsentEU;\n    const cookieConsentLabel = props?.document?.fields?.cookieConsentLabel?.fields?.text;\n    const activateDoNotSellMyData = props?.document?.fields?.activateDoNotSellMyData;\n    const doNotSellMyDataLabel = props?.document?.fields?.doNotSellMyDataLabel?.fields?.text;\n\n    return (\n        <>\n            {(activateCookieConsentEU && cookieConsentLabel) &&\n                <span className='ob-eu-cookie-consent' dangerouslySetInnerHTML={{\n                    __html: `\n                <button aria-label=\"${cookieConsentLabel}\" onclick=\"Optanon.ToggleInfoDisplay();\">${cookieConsentLabel}</button>\n                `}}>\n                </span>\n            }\n            {(doNotSellMyDataLabel && activateDoNotSellMyData) &&\n                <span className='ob-us-personal-data' dangerouslySetInnerHTML={{\n                   __html: DOMPurify.sanitize(`\n                        <button aria-label=\"${doNotSellMyDataLabel}\" onclick=\"Optanon.ToggleInfoDisplay();\">${doNotSellMyDataLabel}</button>\n                        `)}}>\n                </span>\n            }\n        </>\n    )\n}\n\nexport default ConsentBlock;\n\n","\"use strict\";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6284],{96284:function(n,l,e){e.r(l);e(67294);var t=e(29238),o=e.n(t),a=e(85893);l.default=function(n){var l,e,t,u,s,c,i,d,r,f,b,p,k=null==n||null==(l=n.document)||null==(e=l.fields)?void 0:e.activateCookieConsentEU,m=null==n||null==(t=n.document)||null==(u=t.fields)||null==(s=u.cookieConsentLabel)||null==(c=s.fields)?void 0:c.text,v=null==n||null==(i=n.document)||null==(d=i.fields)?void 0:d.activateDoNotSellMyData,_=null==n||null==(r=n.document)||null==(f=r.fields)||null==(b=f.doNotSellMyDataLabel)||null==(p=b.fields)?void 0:p.text;return(0,a.jsxs)(a.Fragment,{children:[k&&m&&(0,a.jsx)(\"span\",{className:\"ob-eu-cookie-consent\",dangerouslySetInnerHTML:{__html:'\\n                <button aria-label=\"'.concat(m,'\" onclick=\"Optanon.ToggleInfoDisplay();\">').concat(m,\"</button>\\n                \")}}),_&&v&&(0,a.jsx)(\"span\",{className:\"ob-us-personal-data\",dangerouslySetInnerHTML:{__html:o().sanitize('\\n                        <button aria-label=\"'.concat(_,'\" onclick=\"Optanon.ToggleInfoDisplay();\">').concat(_,\"</button>\\n                        \"))}})]})}}}]);"],"names":["self","webpackChunk_N_E","push","n","l","e","r","t","o","a","default","u","s","c","i","d","f","b","p","k","document","fields","activateCookieConsentEU","m","cookieConsentLabel","text","v","activateDoNotSellMyData","_","doNotSellMyDataLabel","jsxs","Fragment","children","jsx","className","dangerouslySetInnerHTML","__html","concat","sanitize"],"sourceRoot":""}