if(typeof fitbit=="undefined")var fitbit={};document.documentElement.className=(" "+document.documentElement.className+" ").replace(/ no-js /g," ").replace(/^\s+|\s+$/g,"");
fitbit.loadInlineScript=function(){var loader=null;if(!loader){if(typeof Function.prototype.bind!=="function")Function.prototype.bind=function(oThis){if(typeof this!=="function")throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var aArgs=Array.prototype.slice.call(arguments,1);var fToBind=this;var fNOP=function(){};var fBound=function(){return fToBind.apply(this instanceof fNOP&&oThis?this:oThis,aArgs.concat(Array.prototype.slice.call(arguments)))};fNOP.prototype=
this.prototype;fBound.prototype=new fNOP;return fBound};var Queue=function(){this.queue=[];this.listener;this.isReady=false};Queue.prototype={add:function(callback){if(this.isReady)callback();else this.queue.push(callback)},listen:function(){this.listener=setInterval(function(){if(typeof window.jQuery==="function"){clearInterval(this.listener);this.isReady=true;this.exec()}}.bind(this),750)},exec:function(){var queue=this.queue;var i=0;for(var len=queue.length;i<len;i++)queue[i]()}};loader=new Queue;
loader.listen()}return loader.add.bind(loader)}();