1var header={hd:"header",$hd:"",btn_opn:"#btn-hd-nav-open",$btn_opn:"",btn_cnt:"#menu-header-main-01 > li > a",$btn_cnt:"",scroll_top:0,viewport_break:767,sections:[],current:0,$indicator:"",indicator_move:true,init:function(){this.$hd=$(this.hd);this.$btn_opn=$(this.btn_opn);this.$btn_opn.on("click",function(){if(header.$hd.hasClass("opened")){header.$hd.removeClass("opened");header.set_content(false)}else{header.$hd.addClass("opened");header.set_content(true)}return false});this.$btn_cnt=$(this.btn_cnt);this.$btn_cnt.hover(function(){var a=header.$btn_cnt.index($(this));header.set_indicator(a)},function(){header.set_indicator(header.current)}).on("click",function(){console.log("CLICK");if(!$("#wrapper").hasClass("campaign-01")){if(header.$hd.hasClass("opened")){header.$hd.removeClass("opened");header.set_content(false)}header.indicator_move=false;var b=header.$btn_cnt.index($(this));header.$btn_cnt.each(function(c){if(c===b){$(this).addClass("current")}else{$(this).removeClass("current")}});var a=$(this).attr("href");setTimeout(function(){var d=$(a);var e=0;if(d.length){e=d.offset().top}var c=$("html, body");c.stop(true,false);c.animate({scrollTop:Math.floor(e)},900,"easeOutQuart",function(){header.indicator_move=true;header.get_section()})},100);return false}});$(window).on("resize.header",function(){var a=$(window).width();if(header.viewport_break<a){if(header.$hd.hasClass("opened")){header.$hd.removeClass("opened");header.set_content(false)}}});this.$hd.find("#nav-header-main").append('<span style="display:none;" class="indicator"></span>');this.$indicator=this.$hd.find(".indicator");if(!$("#wrapper").hasClass("campaign-01")){this.$btn_cnt.each(function(a){var b="#"+$(this).attr("href").split("#")[1];header.sections[a]=$(b)})}$(window).on("load.pager scroll.pager touchmove.pager resize.pager",function(){header.get_section()})},get_section:function(){if(!this.indicator_move){return}var c=$(window).scrollTop();if(c<0){c=0}var g=c+$(window).height();for(var e=0;e<this.sections.length;e++){var h=this.sections[e];var d=h.offset().top-4;var a=d+h.closest("section").height()-4;var f=this.$btn_cnt.eq(e);if(d<=c&&a>c){if(this.current!==e){this.current=e}if(!f.hasClass("current")){f.addClass("current")}}else{if(f.hasClass("current")){f.removeClass("current")}}}this.set_indicator(this.current)},set_indicator:function(d){if(!this.indicator_move){return}var c=this.$btn_cnt.eq(d);var b=c.closest("li").offset().left;var a=c.width();this.$indicator.css({display:"block",left:b,width:a})},set_content:function(a){this.scroll_top=$(window).scrollTop();var d=this.scroll_top;if(a){$("html").css({height:"100%",overflow:"hidden"});$("#wrapper").css({position:"absolute"}).scrollTop(d*-1)}else{$("html").css({height:"auto",overflow:"auto"});$("#wrapper").css({position:"relative"});var c=(window.chrome||"WebkitAppearance" in document.documentElement.style)?"body":"html";var b=$(c);b.animate({scrollTop:d})}}};$(function(){header.init()});
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.