var controller=new ScrollMagic.Controller,SVG={logo:'',arrow:'',"download-icon":'\n \n Download/ Defaut@2x\n Created with Sketch.\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n',"in":'',tw:'', chart:'' };$(function(){function t(){return!!(window.navigator.userAgent.indexOf("MSIE ")>0||navigator.userAgent.match(/Trident.*rv\:11\./))}if($.expr[":"].external=function(t){return!t.href.match(/^mailto\:/)&&t.hostname!==location.hostname},$("a:external").addClass("external").attr("target","_blank"),$('a[href*="#"]:not([href="#"])').click(function(){var t=-$(".header").outerHeight();if(location.pathname.replace(/^\//,"")===this.pathname.replace(/^\//,"")&&location.hostname===this.hostname){var a=$(this.hash);if(a=a.length?a:$("[name="+this.hash.slice(1)+"]"),a.is("body")&&(t=0),a.length){$(window).outerWidth()>1023&&(t=a.offset().top<$(window).scrollTop()?-100:-70);var C=a.offset().top+t;return $("html, body").animate({scrollTop:C},1e3),!1}}}),$('a[href="#"]').click(function(t){t.preventDefault()}),!t()){var a=[];navigator.userAgent.match(/(iPad|iPhone|iPod)/i)&&a.push("device-ios"),navigator.userAgent.match(/android/i)&&a.push("device-android");var C=document.getElementsByTagName("html")[0];a.length&&a.push("on-device"),C.classList&&C.classList.add.apply(C.classList,a)}$(".header").header(),$("[data-swapsvg]").swapSvg(),$(".financial-highlights table").table();var L=500;$(".index").length>0&&(L=1500),$(".not_loaded")&&($("body").removeAttr("style"),setTimeout(function(){$(".not_loaded").addClass("loaded").removeClass("not_loaded"),$(".callout b").coutitup(),$(".svg_chart").chartit()},L))}),Number.prototype.countDecimals=function(){return Math.floor(this.valueOf())===this.valueOf()?0:this.toString().split(".")[1].length||0},$.fn.swapSvg=function(){function t(){var t=$(this),a=$(SVG[t.data().swapsvg]);a.attr("class","svg_icon svg_"+t.data().swapsvg),t.attr("title")&&$("title",a).html(t.attr("title")),t.after(a).remove()}var a=this;return a.each(t),a},$.fn.header=function(){var t=this,a=function(){function t(){a.headroom(),$(".header-hamburger",a).click(function(){$("html").toggleClass("open_nav")}),$("li span").on("click",function(){$(this).closest("li").toggleClass("open")})}var a=$(this);t()};return t.each(a),t},$.fn.table=function(){var t=this,a=function(){function t(){$("tbody td",C).not("td:first-child").each(a)}function a(){var t=$(this);if(t.text().includes(".")&&!(t.text().length<1)){var a=t.text().split(".")[0],C="."+t.text().split(".")[1];console.log(a,C),t.html(""+a+""+C+"")}}var C=$(this);t()};return t.each(a),t},$.fn.coutitup=function(){var t=this,a=function(){var t=$(this),a=0,C=parseFloat(t.text()),L={useEasing:!0,useGrouping:!0,separator:",",decimal:"."},h=C.toString().length===t.text().length?C.countDecimals():t.text().length-1-C.toString().length,e=new CountUp(t.get(0),0,C,h,2.5,L);new ScrollMagic.Scene({triggerElement:t,duration:0,triggerHook:.8}).addTo(controller).on("enter",function(){a||(e.start(),a++)})};return t.each(a),t},$.fn.chartit=function(){var t=this,a=function(){var t=0,a=$(this);new ScrollMagic.Scene({triggerElement:a,duration:"0",triggerHook:.9}).addTo(controller).on("enter",function(){0===t&&(a.parent().addClass("active"),t++)})};return t.each(a),t};