$(document).ready(function(){$.fn.countTo=function(n){n=$.extend({},$.fn.countTo.defaults,n||{});var t=Math.ceil(n.speed/n.refreshInterval),i=(n.to-n.from)/t;return $(this).each(function(){var u=this,f=0,r=n.from,e=setInterval(o,n.refreshInterval);function o(){r+=i;f++;$(u).html(r.toFixed(n.decimals));typeof n.onUpdate=="function"&&n.onUpdate.call(u,r);f>=t&&(clearInterval(e),r=n.to,typeof n.onComplete=="function"&&n.onComplete.call(u,r))}})};$.fn.countTo.defaults={from:0,to:999,speed:1e3,refreshInterval:100,decimals:0,onUpdate:null,onComplete:null};var n=navigator.userAgent.match(/iPad/i)!==null;if(!n)$(window).on("scroll",function(){$("#erau-flight-hours").each(function(){var n=$(this).offset().top,t=$(window).scrollTop();n<\/span>"}n(this).data("type")!=undefined?(e=n(this).data("type"),e=="half"?(n(this).append(''+l+o+"<\/span>"),n(this).find(".circle-text-half").css({"line-height":r/1.45+"px","font-size":h+"px"})):(n(this).append(''+o+l+"<\/span>"),n(this).find(".circle-text").css({"line-height":r+"px","font-size":h+"px"}))):(n(this).append(''+o+l+"<\/span>"),n(this).find(".circle-text").css({"line-height":r+"px","font-size":h+"px"}))}else n(this).data("icon")!=undefined;n(this).data("info")!=undefined&&(s=n(this).data("info"),n(this).data("type")!=undefined?(e=n(this).data("type"),e=="half"?(n(this).append(''+s+"<\/span>"),n(this).find(".circle-info-half").css({"line-height":r*.9+"px"})):(n(this).append(''+s+"<\/span>"),n(this).find(".circle-info").css({"line-height":r*1.35+"px"}))):(n(this).append(''+s+"<\/span>"),n(this).find(".circle-info").css({"line-height":r*1.35+"px"})));n(this).width(r+"px");n(this).append('<\/canvas>');var f=document.getElementById(n(this).attr("id")+"_canvas"),t=f.getContext("2d"),tt=f.width/2,it=f.height/2,et=c*360,ct=et*(Math.PI/180),rt=f.width/2.5,ot=2.3*Math.PI,st=0,y=0,ht=Math.PI*2,ut=Math.PI/2,e="",p=!1,a=!1;if(n(this).data("type")!=undefined&&(e=n(this).data("type"),e=="half"))var ot=2*Math.PI,st=3.13,ht=Math.PI*1,ut=Math.PI/.996;n(this).data("fill")!=undefined&&(p=n(this).data("fill"));n(this).data("border")!=undefined&&(a=n(this).data("border"));function ft(n){t.clearRect(0,0,f.width,f.height);t.beginPath();t.arc(tt,it,rt,st,ot,!1);t.lineWidth=u-1;t.strokeStyle=b;t.stroke();p&&(t.fillStyle=p,t.fill());t.beginPath();t.arc(tt,it,rt,-ut,ht*n-ut,!1);t.lineWidth=a?a=="inline"?u/2:a=="outline"?u*1.2:u:u;t.strokeStyle=w;t.stroke();y++;y<=v&&requestAnimationFrame(function(){ft(y/100)})}ft()})}}(jQuery);$(document).ready(function(){var n=1;$(".circular-counter").each(function(){$(this).attr("id","circliful_"+n++)});$(window).on("load scroll",function(){$(".circular-counter").each(function(){var n=$(this).offset().top,t=$(window).scrollTop();n