text: /*!
   * stack-admin-theme (https://pixinvent.com/bootstrap-admin-template/stack)
   * Copyright 2017 PIXINVENT
   * Licensed under the Themeforest Standard Licenses
   */
  !function(window,document,$){"use strict";$(".icheck-activity").iCheck({checkboxClass:"icheckbox_square-blue",radioClass:"iradio_square-blue"}),$("#friends-activity, #daily-activity").perfectScrollbar({wheelPropagation:!0}),$("#fitness-stats").sparkline([5,6,7,8,9,10,13,15,13,12,10,9,10,12,15,18,16,14,12,10,8,5],{type:"bar",width:"100%",height:"30px",barWidth:6,barSpacing:4,barColor:"#FF7588"});var rtl=!1;"rtl"==$("html").data("textdirection")&&(rtl=!0),$(".knob").knob({rtl:rtl,draw:function(){var ele=this.$,style=ele.attr("style"),fontSize=parseInt(ele.css("font-size"),10),updateFontSize=Math.ceil(1.65*fontSize);style=style.replace("bold","normal"),style=style+"font-size: "+updateFontSize+"px;";var icon=ele.attr("data-knob-icon");if(ele.hide(),$('<i class="knob-center-icon '+icon+'"></i>').insertAfter(ele).attr("style",style),"tron"==this.$.data("skin")){this.cursorExt=.3;var pa,a=this.arc(this.cv),r=1;return this.g.lineWidth=this.lineWidth,this.o.displayPrevious&&(pa=this.arc(this.v),this.g.beginPath(),this.g.strokeStyle=this.pColor,this.g.arc(this.xy,this.xy,this.radius-this.lineWidth,pa.s,pa.e,pa.d),this.g.stroke()),this.g.beginPath(),this.g.strokeStyle=r?this.o.fgColor:this.fgColor,this.g.arc(this.xy,this.xy,this.radius-this.lineWidth,a.s,a.e,a.d),this.g.stroke(),this.g.lineWidth=2,this.g.beginPath(),this.g.strokeStyle=this.o.fgColor,this.g.arc(this.xy,this.xy,this.radius-this.lineWidth+1+2*this.lineWidth/3,0,2*Math.PI,!1),this.g.stroke(),!1}}});Morris.Line({element:"weekly-activity-chart",data:[{day:Date.parse("2016-12-05"),Running:100,Walking:40,Cycling:62},{day:Date.parse("2016-12-06"),Running:150,Walking:200,Cycling:120},{day:Date.parse("2016-12-07"),Running:200,Walking:105,Cycling:70},{day:Date.parse("2016-12-08"),Running:125,Walking:150,Cycling:75},{day:Date.parse("2016-12-09"),Running:150,Walking:275,Cycling:100},{day:Date.parse("2016-12-10"),Running:200,Walking:325,Cycling:80},{day:Date.parse("2016-12-11"),Running:260,Walking:130,Cycling:90}],xkey:"day",xLabels:["day"],ykeys:["Running","Walking","Cycling"],labels:["Running","Walking","Cycling"],resize:!0,smooth:!0,pointSize:3,pointStrokeColors:["#FF7588","#16D39A","#FFA87D"],gridLineColor:"#e3e3e3",behaveLikeLine:!0,numLines:6,gridtextSize:14,lineWidth:3,hideHover:"auto",lineColors:["#FF7588","#16D39A","#FFA87D"],xLabelFormat:function(x){var day=x.getDay(),days=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];return days[day]}});require.config({paths:{echarts:"../../../app-assets/vendors/js/charts/echarts"}}),require(["echarts","echarts/chart/pie","echarts/chart/funnel"],function(ec){var topCategoryChart=ec.init(document.getElementById("activity-division")),topCategoryChartOptions={title:{text:"Activity Devision",subtext:"Weekly",x:"center",textStyle:{color:"#333333"},subtextStyle:{color:"#333333"}},color:["#967ADC","#37BC9B","#F6BB42","#DA4453","#818a91"],calculable:!0,series:[{name:"Top Categories",type:"pie",radius:["40%","60%"],center:["50%","65%"],itemStyle:{normal:{label:{show:!0,textStyle:{color:"#333333"}},labelLine:{show:!0,lineStyle:{color:"#333333"}}},emphasis:{label:{show:!0,formatter:"{b}\n\n{c} ({d}%)",position:"center",textStyle:{fontSize:"12",fontWeight:"500"}}}},data:[{value:335,name:"Fitness"},{value:618,name:"Running"},{value:235,name:"Cycling"},{value:556,name:"Dancing"},{value:100,name:"Other"}]}]};topCategoryChart.setOption(topCategoryChartOptions),$(function(){function resize(){setTimeout(function(){topCategoryChart.resize()},200)}$(window).on("resize",resize),$(".menu-toggle").on("click",resize)})});var rtl=!1;"rtl"==$("html").data("textdirection")&&(rtl=!0),rtl===!0&&$(".tweet-slider").attr("dir","rtl"),rtl===!0&&$(".fb-post-slider").attr("dir","rtl"),$(".tweet-slider").unslider({autoplay:!0,arrows:!1,nav:!1,infinite:!0}),$(".fb-post-slider").unslider({autoplay:!0,delay:3500,arrows:!1,nav:!1,infinite:!0})}(window,document,jQuery),$(window).on("load",function(){routes_map=new GMaps({div:"#routes",lat:40.673266,lng:-73.943119,scrollwheel:!1,styles:[{featureType:"landscape",stylers:[{hue:"#FFBB00"},{saturation:43.400000000000006},{lightness:37.599999999999994},{gamma:1}]},{featureType:"road.highway",stylers:[{hue:"#FFC200"},{saturation:-61.8},{lightness:45.599999999999994},{gamma:1}]},{featureType:"road.arterial",stylers:[{hue:"#FF0300"},{saturation:-100},{lightness:51.19999999999999},{gamma:1}]},{featureType:"road.local",stylers:[{hue:"#FF0300"},{saturation:-100},{lightness:52},{gamma:1}]},{featureType:"water",stylers:[{hue:"#0078FF"},{saturation:-13.200000000000003},{lightness:2.4000000000000057},{gamma:1}]},{featureType:"poi",stylers:[{hue:"#00FF6A"},{saturation:-1.0989010989011234},{lightness:11.200000000000017},{gamma:1}]}]}),routes_map.drawRoute({origin:[40.674072,-73.944525],destination:[40.670084,-73.950436],travelMode:"walking",strokeColor:"#37BC9B",strokeOpacity:.6,strokeWeight:6})});