"use strict";(globalThis.webpackChunkcomplianz_gdpr=globalThis.webpackChunkcomplianz_gdpr||[]).push([[2472,8984],{82472:(e,a,t)=>{t.r(a),t.d(a,{default:()=>l});var n=t(51280),d=t(88496),g=t(93396),c=t(58984);const l=(0,d.memo)((()=>{const{debugDataLoaded:e,scriptDebugEnabled:a,debugData:t,getDebugData:l}=(0,c.default)();return(0,d.useEffect)((()=>{e||l()}),[]),(0,n.createElement)("div",{className:"cmplz-debug-data-container"},e&&!a&&(0,g.__)("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,g.__)("Debugging enabled:","complianz-gdpr")," ",t,0===t.length&&(0,g.__)("No script errors detected","complianz-gdpr")),!e&&(0,n.createElement)(n.Fragment,null,"..."))}))},58984:(e,a,t)=>{t.r(a),t.d(a,{default:()=>g});var n=t(30809),d=t(61744);const g=(0,n.Su)(((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})))}})))}}]);