1 2(function($){$('a[href^="#"]').click(function(){if(jQuery(this).attr("href")==="#"){return;} 3if(jQuery(this).attr("role")==="tab"){return;} 4if(jQuery(this).attr("data-toggle")){return;} 5if(jQuery(this).hasClass('carousel-control')){return;} 6if(id) 7var speed=400;var href=$(this).attr("href");var target=$(href=="#"||href==""?'html':href);var id=jQuery(this).attr('id');if(id=='page_top'){var position=0;}else{var header_height=0;if(jQuery('body').hasClass('headfix')){header_height=jQuery('body > header').outerHeight();console.log(header_height);} 8var admin_bar_height=0;if(jQuery('body').hasClass('admin-bar')){admin_bar_height=jQuery('#wpadminbar').outerHeight();} 9var position=target.offset().top-header_height-admin_bar_height;} 10$('body,html').animate({scrollTop:position},speed,'swing');return false;})})(jQuery);
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.