void 0!==document.addEventListener&&document.addEventListener("DOMContentLoaded",function(){"undefined"!=typeof Chart?[].forEach.call(document.querySelectorAll("div.chartjs"),function(e){var t,a;t="undefined"!=typeof chartjs_colors?chartjs_colors:"undefined"!=typeof chartjs_colors_json?JSON.parse(chartjs_colors_json):{fillColor:"rgba(151,187,205,0.5)",strokeColor:"rgba(151,187,205,0.8)",highlightFill:"rgba(151,187,205,0.75)",highlightStroke:"rgba(151,187,205,1)",data:["#B33131","#B66F2D","#B6B330","#71B232","#33B22D","#31B272","#2DB5B5","#3172B6","#3232B6","#6E31B2","#B434AF","#B53071"]},a="undefined"!=typeof chartjs_config?chartjs_config:"undefined"!=typeof chartjs_config_json?JSON.parse(chartjs_config_json):{Bar:{animation:!1},Doughnut:{animateRotate:!1},Line:{animation:!1},Pie:{animateRotate:!1},PolarArea:{animateRotate:!1}};var r=e.getAttribute("data-chart"),n=JSON.parse(e.getAttribute("data-chart-value"));if(n&&n.length&&r){e.innerHTML="";var o=document.createElement("canvas");o.height=e.getAttribute("data-chart-height"),e.appendChild(o);var i=document.createElement("div");i.setAttribute("class","chartjs-legend"),e.appendChild(i);var l,h=o.getContext("2d"),d=new Chart(h);if("bar"!=r)for(l=0;l