"use strict";(globalThis.webpackChunkcomplianz_gdpr=globalThis.webpackChunkcomplianz_gdpr||[]).push([[3370,6228],{13370:(e,a,t)=>{t.r(a),t.d(a,{default:()=>c});var n=t(86087),d=t(27723),g=t(96228);const c=(0,n.memo)((()=>{const{debugDataLoaded:e,scriptDebugEnabled:a,debugData:t,getDebugData:c}=(0,g.default)();return(0,n.useEffect)((()=>{e||c()}),[]),(0,n.createElement)("div",{className:"cmplz-debug-data-container"},e&&!a&&(0,d.__)("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,n.createElement)(n.Fragment,null,(0,d.__)("Debugging enabled:","complianz-gdpr")," ",t,0===t.length&&(0,d.__)("No script errors detected","complianz-gdpr")),!e&&(0,n.createElement)(n.Fragment,null,"..."))}))},96228:(e,a,t)=>{t.r(a),t.d(a,{default:()=>g});var n=t(81621),d=t(9588);const g=(0,n.vt)(((e,a)=>({debugData:[],debugDataLoaded:!1,scriptDebugEnabled:!1,getDebugData:async()=>{const{debug_data:a,script_debug_enabled:t}=await d.doAction("get_debug_data",{}).then((e=>e));e((e=>({debugDataLoaded:!0,debugData:a,scriptDebugEnabled:t})))}})))}}]);