text: /*!
   * oneui - v5.0.0
   * @author pixelcave - https://pixelcave.com
   * Copyright (c) 2021
   */
  One.onLoad(class{static initChartsChartJS(){Chart.defaults.color="#818d96",Chart.defaults.font.weight="600",Chart.defaults.scale.grid.color="rgba(0, 0, 0, .05)",Chart.defaults.scale.grid.zeroLineColor="rgba(0, 0, 0, .1)",Chart.defaults.scale.beginAtZero=!0,Chart.defaults.elements.line.borderWidth=2,Chart.defaults.elements.point.radius=4,Chart.defaults.elements.point.hoverRadius=6,Chart.defaults.plugins.tooltip.radius=3,Chart.defaults.plugins.legend.labels.boxWidth=15;let a,t,e,r,o,l,n,d,s=document.getElementById("js-chartjs-lines"),i=document.getElementById("js-chartjs-bars"),h=document.getElementById("js-chartjs-radar"),u=document.getElementById("js-chartjs-polar"),c=document.getElementById("js-chartjs-pie"),g=document.getElementById("js-chartjs-donut");n={labels:["MON","TUE","WED","THU","FRI","SAT","SUN"],datasets:[{label:"Last Week",fill:!0,backgroundColor:"rgba(171, 227, 125, .5)",borderColor:"rgba(171, 227, 125, 1)",pointBackgroundColor:"rgba(171, 227, 125, 1)",pointBorderColor:"#fff",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"rgba(171, 227, 125, 1)",data:[15,16,20,25,23,25,32]},{label:"This Week",fill:!0,backgroundColor:"rgba(0, 0, 0, .1)",borderColor:"rgba(0, 0, 0, .3)",pointBackgroundColor:"rgba(0, 0, 0, .3)",pointBorderColor:"#fff",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"rgba(0, 0, 0, .3)",data:[30,32,40,45,43,38,55]}]},d={labels:["Earnings","Sales","Tickets"],datasets:[{data:[48,26,26],backgroundColor:["rgba(171, 227, 125, 1)","rgba(250, 219, 125, 1)","rgba(117, 176, 235, 1)"],hoverBackgroundColor:["rgba(171, 227, 125, .75)","rgba(250, 219, 125, .75)","rgba(117, 176, 235, .75)"]}]},null!==s&&(a=new Chart(s,{type:"line",data:n,options:{tension:.4}})),null!==i&&(t=new Chart(i,{type:"bar",data:n})),null!==h&&(e=new Chart(h,{type:"radar",data:n})),null!==u&&(r=new Chart(u,{type:"polarArea",data:d})),null!==c&&(o=new Chart(c,{type:"pie",data:d})),null!==g&&(l=new Chart(g,{type:"doughnut",data:d}))}static initRandomEasyPieChart(){document.querySelectorAll(".js-pie-randomize").forEach((a=>{a.addEventListener("click",(t=>{a.closest(".block").querySelectorAll(".pie-chart").forEach((a=>{jQuery(a).data("easyPieChart").update(Math.floor(100*Math.random()+1))}))}))}))}static init(){this.initChartsChartJS(),this.initRandomEasyPieChart()}}.init());