function generateData(e,a,t){let n=0;for(var o=[];n<a;){var r=Math.floor(750*Math.random())+1,i=Math.floor(Math.random()*(t.max-t.min+1))+t.min,m=Math.floor(61*Math.random())+15;o.push([r,i,m]),n++}return o}function generateData1(e,a,t){let n=0;for(var o=[];n<a;){var r=Math.floor(Math.random()*(t.max-t.min+1))+t.min,i=Math.floor(61*Math.random())+15;o.push([e,r,i]),e+=864e5,n++}return o}new CustomApexChart({selector:"#simple-bubble",options:()=>({chart:{height:350,type:"bubble",toolbar:{show:!1}},dataLabels:{enabled:!1},series:[{name:"Bubble 1",data:generateData(new Date("11 Feb 2017 GMT").getTime(),10,{min:10,max:60})},{name:"Bubble 2",data:generateData(new Date("11 Feb 2017 GMT").getTime(),10,{min:10,max:60})},{name:"Bubble 3",data:generateData(new Date("11 Feb 2017 GMT").getTime(),10,{min:10,max:60})}],fill:{opacity:.8,gradient:{enabled:!1}},colors:[ins("primary"),ins("secondary"),ins("danger")],xaxis:{tickAmount:12,type:"category"},yaxis:{max:70},grid:{borderColor:[ins("border-color")],padding:{top:-20,right:0,bottom:-5,left:10}},legend:{offsetY:7}})}),new CustomApexChart({selector:"#threed-bubble",options:()=>({chart:{height:350,type:"bubble",toolbar:{show:!1}},dataLabels:{enabled:!1},series:[{name:"Product 1",data:generateData1(new Date("11 Feb 2017 GMT").getTime(),10,{min:10,max:60})},{name:"Product 2",data:generateData1(new Date("11 Feb 2017 GMT").getTime(),10,{min:10,max:60})},{name:"Product 3",data:generateData1(new Date("11 Feb 2017 GMT").getTime(),10,{min:10,max:60})},{name:"Product 4",data:generateData1(new Date("11 Feb 2017 GMT").getTime(),10,{min:10,max:60})}],fill:{type:"gradient"},colors:[ins("info"),ins("warning"),ins("purple"),ins("danger")],xaxis:{tickAmount:12,type:"datetime",labels:{rotate:0}},yaxis:{max:70},legend:{offsetY:10},grid:{borderColor:[ins("border-color")],padding:{top:-20,right:0,bottom:0,left:10}}})}),new CustomApexChart({selector:"#three-bubble",options:()=>({series:[{name:"Social Campaigns",data:[[150,300,35]]},{name:"Email Newsletter",data:[[250,350,35]]},{name:"TV Campaign",data:[[350,450,30]]},{name:"Google Ads",data:[[450,250,25]]},{name:"Courses",data:[[500,500,30]]},{name:"Radio",data:[[600,250,28]]}],chart:{fontFamily:"inherit",type:"bubble",height:350,toolbar:{show:!1}},plotOptions:{bubble:{minBubbleRadius:5,maxBubbleRadius:35}},legend:{show:!1},dataLabels:{enabled:!1},fill:{opacity:.8},xaxis:{type:"numeric",tickAmount:7,min:0,max:700},yaxis:{tickAmount:7,min:0,max:700},tooltip:{y:{formatter:function(e){return"$"+e+"K"}},z:{title:"Impressions: "}},colors:[ins("primary"),ins("pink"),ins("warning"),ins("danger"),ins("info"),ins("purple")],grid:{borderColor:[ins("border-color")],padding:{top:-20,right:0,bottom:0,left:5}}})});