Server : nginx/1.24.0 System : Linux ip-172-31-33-48 6.14.0-1011-aws #11~24.04.1-Ubuntu SMP Fri Aug 1 02:07:25 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE Directory : /var/www/html/wp-content/google-analytics-for-wordpress.off/assets/js/frontend/ |
Upload File : |
(()=>{ /*!***********************************************\ *** ./src/blocks/site-insights/frontend.js *** \**********************************************/ (function(o,t){const blocks=document.querySelectorAll('.monsterinsights-graph-item');if(blocks.length<0){return};const applyFormatterFunctions=obj=>{if(typeof obj!=='object'){return obj};Object.keys(obj).map(k=>{if(typeof obj!=='object'){return obj[k]};if(k==='formatter'&&obj[k].hasOwnProperty('args')&&obj[k].hasOwnProperty('body')){const f=new Function(obj[k]['args'],obj[k]['body']);obj[k]=f;return f};return applyFormatterFunctions(obj[k])});return obj};blocks.forEach(function(o){const json=o.querySelector('script').textContent;let options=null;try{options=JSON.parse(json)}catch(t){return!1};if(null!==options){const parsedOptions=applyFormatterFunctions(options);const chart=new ApexCharts(o,parsedOptions);chart.render()}})})(window,jQuery)})();