"use strict";(globalThis.webpackChunkcomplianz_gdpr=globalThis.webpackChunkcomplianz_gdpr||[]).push([[3370,6228],{13370:(e,a,t)=>{t.r(a),t.d(a,{default:()=>s});var d=t(86087),n=t(27723),g=t(96228),c=t(10790);const s=(0,d.memo)(()=>{const{debugDataLoaded:e,scriptDebugEnabled:a,debugData:t,getDebugData:s}=(0,g.default)();return(0,d.useEffect)(()=>{e||s()},[]),(0,c.jsxs)("div",{className:"cmplz-debug-data-container",children:[e&&!a&&(0,n.__)("To view possible script conflicts on your site, set the SCRIPT_DEBUG constant in your wp-config.php, or install the plugin WP Debugging","complianz-gdpr"),e&&a&&(0,c.jsxs)(c.Fragment,{children:[(0,n.__)("Debugging enabled:","complianz-gdpr")," ",t,0===t.length&&(0,n.__)("No script errors detected","complianz-gdpr")]}),!e&&(0,c.jsx)(c.Fragment,{children:"..."})]})})},96228:(e,a,t)=>{t.r(a),t.d(a,{default:()=>g});var d=t(81621),n=t(9588);const g=(0,d.vt)((e,a)=>({debugData:[],debugDataLoaded:!1,scriptDebugEnabled:!1,getDebugData:async()=>{const{debug_data:a,script_debug_enabled:t}=await n.doAction("get_debug_data",{}).then(e=>e);e(e=>({debugDataLoaded:!0,debugData:a,scriptDebugEnabled:t}))}}))}}]);