function getChartColorsArray(e){if(null!==document.getElementById(e)){var t=document.getElementById(e).getAttribute("data-colors");return(t=JSON.parse(t)).map((function(e){var t=e.replace(" ","");if(-1===t.indexOf(",")){var r=getComputedStyle(document.documentElement).getPropertyValue(t);return r||t}var a=e.split(",");if(2==a.length){var o=getComputedStyle(document.documentElement).getPropertyValue(a[0]);return o="rgba("+o+","+a[1]+")"}return t}))}}var areachartSplineColors=getChartColorsArray("area_chart_spline");if(areachartSplineColors){var options={series:[{name:"Paid",data:[4800,5300,7600,8500,9200,10500,11500]},{name:"Unpaid",data:[2800,3400,3900,4200,4700,4400,3900]},{name:"Overdue",data:[900,1100,1400,1800,2e3,2300,2500]}],chart:{height:350,type:"area",toolbar:{show:!1}},dataLabels:{enabled:!1},stroke:{curve:"smooth",width:2,dashArray:0},colors:areachartSplineColors,fill:{type:"solid",opacity:0},xaxis:{type:"datetime",categories:["2025-01-01T00:00:00.000Z","2025-02-01T00:00:00.000Z","2025-03-01T00:00:00.000Z","2025-04-01T00:00:00.000Z","2025-05-01T00:00:00.000Z","2025-06-01T00:00:00.000Z","2025-07-01T00:00:00.000Z"]},tooltip:{x:{format:"dd/MM/yy HH:mm"}},markers:{size:4,hover:{size:6}},dropShadow:{enabled:!0,enabledOnSeries:void 0,top:2,left:2,blur:4,opacity:.9}},chart=new ApexCharts(document.querySelector("#area_chart_spline"),options);chart.render()}