var currentActiveSection='start-installation';$(document).ready(function(){var $buythemediv='
';$('body').append($buythemediv);$('#leftCol').affix({offset:{top:245}});$("a.inner-link").not(".sec-link").click(function(){var divScrollToAnchor=$(this).attr('href');var topOffsetScroll=40;$('html, body').stop().animate({'scrollTop':$(divScrollToAnchor).offset().top},750,'easeOutQuint');return false;});if($('.docs-navigation').length){var el=$('.docs-navigation'),stickyTop=el.offset().top,footerHeight=$('#footer').outerHeight();$(window).scroll(function(){var stickyHeight=el.children('ul').outerHeight(),limit=$('#footer').offset().top-stickyHeight,windowTop=$(window).scrollTop(),windowHeight=$(window).height();if(stickyTop=h&&yli:first-child').addClass('active');var topOffsetScroll=40;$('html, body').stop().animate({'scrollTop':$(divScrollToAnchor).offset().top},750,'easeOutQuint');});$('a.sec-link').each(function(){if($(this).parent('li').hasClass('active')){$(this).parent('li').find('ul li:first-child').addClass('active');}});});$('.inner-link').smoothScroll({speed:900,offset:-0});$('.sec-link').smoothScroll({speed:900,offset:-0});(function($){$(window).load(function(){$("#leftCol").mCustomScrollbar({set_width:false,set_height:false,horizontalScroll:false,scrollInertia:0,mouseWheel:true,mouseWheelPixels:"auto",autoDraggerLength:true,autoHideScrollbar:false,scrollButtons:{enable:false,scrollType:"continuous",scrollSpeed:"auto",scrollAmount:80},advanced:{updateOnBrowserResize:true,updateOnContentResize:true,autoExpandHorizontalScroll:false,autoScrollOnFocus:false,normalizeMouseWheelDelta:false},contentTouchScroll:true,callbacks:{onScrollStart:function(){},onScroll:function(){},onTotalScroll:function(){},onTotalScrollBack:function(){},onTotalScrollOffset:0,onTotalScrollBackOffset:0,whileScrolling:function(){}},theme:"dark-2"});});})(jQuery);$(window).scroll(function(){if($(this).scrollTop()>100){$('.scrollToTop').fadeIn();}else{$('.scrollToTop').fadeOut();}});$('.scrollToTop').click(function(){$('html, body').animate({scrollTop:0},1000);return false;});$('pre').each(function(){$(this).prev('.copy-clipboard').on('click',function(){var code=$(this).siblings('pre').text();$(this).siblings('pre').append(``);$(this).siblings('pre').find('textarea.clipboard').val(code);$(this).siblings('pre').find('textarea.clipboard').select();document.execCommand('copy');$(this).text('Copied');$(this).siblings('pre').find('textarea.clipboard').remove();setTimeout(function(){$('.copy-clipboard').text('Copy');},2000);});});