!function(e){"use strict";var r=function(){};r.prototype.createLineChart=function(e,r,a,o,t,i){Morris.Line({element:e,data:r,xkey:a,ykeys:o,labels:t,hideHover:"auto",gridLineColor:"rgba(137, 151, 189, 0.15)",gridTextColor:"#8997bd",resize:!0,lineColors:i})},r.prototype.createAreaChart=function(e,r,a,o,t,i,s,l){Morris.Area({element:e,pointSize:3,lineWidth:2,data:o,xkey:t,ykeys:i,labels:s,resize:!0,hideHover:"auto",gridLineColor:"rgba(137, 151, 189, 0.15)",gridTextColor:"#8997bd",lineColors:l})},r.prototype.createBarChart=function(e,r,a,o,t,i){Morris.Bar({element:e,data:r,xkey:a,ykeys:o,labels:t,gridLineColor:"rgba(137, 151, 189, 0.15)",gridTextColor:"#8997bd",barSizeRatio:.4,resize:!0,hideHover:"auto",barColors:i})},r.prototype.createDonutChart=function(e,r,a){Morris.Donut({element:e,data:r,resize:!0,colors:a,labelColor:"#8997bd",backgroundColor:"transparent"})},r.prototype.init=function(){this.createLineChart("morris-line-example",[{y:"2009",a:3,b:5},{y:"2010",a:30,b:15},{y:"2011",a:10,b:12},{y:"2012",a:10,b:25},{y:"2013",a:22,b:5},{y:"2014",a:12,b:7},{y:"2015",a:5,b:5}],"y",["a","b"],["Series A","Series B"],["#4d79f6","#ccd8fc"]);this.createAreaChart("morris-area-example",0,0,[{y:"2009",a:10,b:20},{y:"2010",a:75,b:65},{y:"2011",a:50,b:40},{y:"2012",a:75,b:65},{y:"2013",a:50,b:40},{y:"2014",a:75,b:65},{y:"2015",a:90,b:60},{y:"2016",a:90,b:75}],"y",["a","b"],["Series A","Series B"],["#4d79f6","#ccd8fc"]);this.createBarChart("morris-bar-example",[{y:"2009",a:100,b:90},{y:"2010",a:75,b:65},{y:"2011",a:50,b:40},{y:"2012",a:75,b:65},{y:"2013",a:50,b:40},{y:"2014",a:75,b:65},{y:"2015",a:100,b:90},{y:"2016",a:90,b:75}],"y",["a","b"],["Series A","Series B"],["#4d79f6","#ccd8fc"]);this.createDonutChart("morris-donut-example",[{label:"Download Sales",value:12},{label:"In-Store Sales",value:30},{label:"Mail-Order Sales",value:20}],["#ccd8fc","#4d79f6","#4ac7ec"])},e.MorrisCharts=new r,e.MorrisCharts.Constructor=r}(window.jQuery),function(e){"use strict";window.jQuery.MorrisCharts.init()}();