Files

1 line
1.1 KiB
JavaScript
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
"use strict";(globalThis.webpackChunkcomplianz_gdpr=globalThis.webpackChunkcomplianz_gdpr||[]).push([[3370,6228],{13370:(e,a,t)=>{t.r(a),t.d(a,{default:()=>l});var n=t(51609),d=t(86087),g=t(27723),c=t(96228);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,"..."))}))},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})))}})))}}]);