1 2jQuery(document).ready(function($){let pathname=window.location.pathname;WebFont.load({google:{families:['Poppins','Open+Sans:300,300i,400,400i,600,600i,700,700i']}});$('body').append('<div class="scroll-up transition"><i class="fas fa-angle-up"></i></div>');$(window).scroll(function(){if($(window).scrollTop()>100){$('.scroll-up').fadeIn()}else{$('.scroll-up').fadeOut()}});$('.scroll-up').on('click',function(){$('html, body').animate({scrollTop:0},800);return!1});$('img.post-thumbnail').on('load',function(){$(this).css('opacity','0');$(this).animate({'opacity':'1'})});let staticMenu=$('.main-menu');let helloBarHeight;let menuHeight;let stickyHeight;let distance=staticMenu.offset().top;let scrollEvent=function(){if($(window).scrollTop()>distance){if(pathname.search('software-reviews')===-1&&pathname.search('marketing-agencies')===-1){$(staticMenu).addClass('fixed');$('.nav-logo').fadeIn();$('.nav-logo-wrap').removeClass('nav-logo-wrap').addClass('nav-logo-wrap-toggle');$('.header-top').css({'padding-bottom':menuHeight+34})}else{$('#sticky-row').addClass('fixed');$('#sticky-row').css('top',0);$('.header-top').css({'padding-bottom':stickyHeight})} 3$('.fixed').css('top',helloBarHeight)}else{if(pathname.search('software-reviews')===-1&&pathname.search('marketing-agencies')===-1){$(staticMenu).removeClass('fixed');$('.nav-logo').hide();$('.nav-logo-wrap-toggle').removeClass('nav-logo-wrap-toggle').addClass('nav-logo-wrap')}else{$('#sticky-row').removeClass('fixed')} 4$('.header-top').css({'padding-bottom':'34px'})}};let staticFix=function(){if(pathname.search('software-reviews')!==-1){staticMenu=$('#sticky-row')} 5$(staticMenu).removeClass('fixed');if(pathname.search('software-reviews')===-1){menuHeight=$(staticMenu).outerHeight(!0,!0)}else{stickyHeight=$('#sticky-row').outerHeight(!0,!0)} 6helloBarHeight=$('#hellobar-bar').length?$('hb-content-wrapper').outerHeight()-9:0;$(window).bind('scroll',scrollEvent)} 7let staticMobile=function(){if(!staticMenu.hasClass('fixed')){$(staticMenu).addClass('fixed')} 8helloBarHeight=$('#hellobar-bar').length?$('#hellobar-bar').outerHeight()-9:0;$('.fixed').css('top',0)} 9let widthTest=function(){if($(window).width()<982){staticMobile()}else{staticFix()}} 10widthTest();function mobileMenu(){$('.expand').remove();if($(window).width()<=1024){$('.top-menu').removeClass('d-top-menu');$('#menu-primary-menu').hide();if($('#bar-wrap').length){$('.nav-logo-a').prependTo('#bar-wrap');$('#bar-wrap').remove();$('nav.main-menu').prepend('<div id="bar-wrap" class="d-flex align-items-center"><i class="fas fa-bars"></i></div>')}else{$('nav.main-menu').prepend('<div id="bar-wrap" class="d-flex align-items-center"><i class="fas fa-bars"></i></div>');$('.nav-logo-a').prependTo('#bar-wrap')} 11$('.menu-item').each(function(){let _this=$(this);if(_this.children('.sub-menu').length){setTimeout(function(){let e=_this.children('a').clone();e.css({'display':'inline','visibilty':'hidden'});$('body').append(e);let menuOffset=40;let width=e.outerWidth()+menuOffset;e.remove();_this.addClass('relative').prepend('<i class="fas fa-plus expand relative" style="font-size:1.25rem; left: '+width+'px; cursor:pointer; z-index:1000000;"></i>');_this.children('a').css('margin-left','-14px')},1)}})}else{$('.nav-logo').appendTo('.nav-logo-a');$('.top-menu').addClass('d-top-menu');$('#bar-wrap').remove();$('#menu-primary-menu').show();$('.top-menu a').css('margin-left','0')} 12$('.fa-bars').click(function(){$('#menu-primary-menu').slideToggle(function(){if($('.main-menu').hasClass('h-100')){$('.main-menu').removeClass('h-100')}else{$('.main-menu').addClass('h-100')}})})};mobileMenu();$(document).on('touchstart, click','.expand',function(){$(this).siblings('.sub-menu').slideToggle()});$(window).resize(function(){if(!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)){mobileMenu();widthTest();distance=staticMenu.offset().top}});$(document).on('click','.email-submit-switch',function(e){e.preventDefault();let _this=$(this);_this.removeClass('email-submit-switch');_this.html('<i class="fa fa-spinner fa-spin"></i>');let form=_this.closest('.email-signup');let url=form.attr('action');formData=form.serialize();let email=form.find('.email-signup-input').val();$.ajax({url:url,type:'POST',data:formData,dataType:'jsonp',contentType:'application/json',success:function(data){_this.addClass('email-submit-switch');_this.html('Yup');if(~data.msg.indexOf('is already subscribed to')){message='Already Subscribed'}else{message=(JSON.stringify(data.msg))} 13_this.parent().siblings().children().val(message.replace(/\"|0 - /g,''))},error:function(request,error){_this.addClass('email-submit-switch');_this.html('Yup');_this.parent().siblings().children().val(error)}});return!1});$('.scroll-to-section').click(function(e){e.preventDefault();toggle=!0;$('.scroll-to-link-active').removeClass('scroll-to-link-active');let _this=$(this);let section=_this.children('a').attr('href');_this.addClass('scroll-to-link-active');$('html, body').animate({scrollTop:$(section).offset().top},300,function(){toggle=!1})});$('form').on('keyup keypress',function(e){var keyCode=e.keyCode||e.which;if(keyCode===13){e.preventDefault();return!1}});$('.wp-block-search__input').on('keydown',function(e){var keyCode=e.keyCode||e.which;if(keyCode===13){e.preventDefault();$('.wp-block-search__button').click()}})});jQuery(document).on('click','#bar-wrap .fa-bars',function(){jQuery('#menu-new-main-menu').slideToggle(function(){if(jQuery('#menu-new-main-menu').is(':visible')){jQuery('nav.main-menu.fixed').addClass('h-100')}else{jQuery('nav.main-menu.fixed').removeClass('h-100')}})}); 14 15
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.