PageSourceSearch

https://ariagency.com.au/wp-content/themes/veni/assets/js/common.js?ver=20250327

js ariagency.com.au collected 2026-10-04 07:48:26 UTC 21,188 bytes, 827 lines download raw bytes

1/**
2 * File navigation.js.
3 *
4 * Handles toggling the navigation menu for small screens and enables TAB key
5 * navigation support for dropdown menus.
6 */
7( function() {
8	var body, container, button, menu, links, subMenus, i, len;
9
10	body = document.body;
11
12	container = document.getElementById( 'site-navigation-side' );
13	if ( ! container ) {
14		return;
15	}
16
17	button = body.querySelectorAll('.menu-toggle');
18	if ( 'undefined' === typeof button ) {
19		return;
20	}
21
22	menu = container.getElementsByTagName( 'ul' )[0];
23
24	// Hide menu toggle button if menu is empty and return early.
25	if ( 'undefined' === typeof menu ) {
26		button[0].style.display = 'none';
27		return;
28	}
29
30	menu.setAttribute( 'aria-expanded', 'false' );
31	if ( -1 === menu.className.indexOf( 'menu' ) ) {
32		menu.className += ' menu';
33	}
34
35	for (var i = 0; i < button.length; i++)
36		button[i].onclick = function() {
37			if ( -1 !== body.className.indexOf( 'sidemenu-nav-toggled' ) ) {
38				container.className = container.className.replace( ' toggled', '' );
39				body.className = body.className.replace( ' sidemenu-nav-toggled', '' );
40				menu.setAttribute( 'aria-expanded', 'false' );
41			} else {
42				container.className += ' toggled';
43				body.className += ' sidemenu-nav-toggled';
44				menu.setAttribute( 'aria-expanded', 'true' );
45			}
46		};
47
48	// Get all the link elements within the menu.
49	links    = menu.getElementsByTagName( 'a' );
50	subMenus = menu.getElementsByTagName( 'ul' );
51
52	// Set menu items with submenus to aria-haspopup="true".
53	for ( i = 0, len = subMenus.length; i < len; i++ ) {
54		subMenus[i].parentNode.setAttribute( 'aria-haspopup', 'true' );
55	}
56
57	// Each time a menu link is focused or blurred, toggle focus.
58	for ( i = 0, len = links.length; i < len; i++ ) {
59		links[i].addEventListener( 'focus', toggleFocus, true );
60		links[i].addEventListener( 'blur', toggleFocus, true );
61	}
62
63	/**
64	 * Sets or removes .focus class on an element.
65	 */
66	function toggleFocus() {
67		var self = this;
68
69		// Move up through the ancestors of the current link until we hit .menu.
70		while ( -1 === self.className.indexOf( 'menu' ) ) {
71
72			// On li elements toggle the class .focus.
73			if ( 'li' === self.tagName.toLowerCase() ) {
74				if ( -1 !== self.className.indexOf( 'focus' ) ) {
75					self.className = self.className.replace( ' focus', '' );
76				} else {
77					self.className += ' focus';
78				}
79			}
80
81			self = self.parentElement;
82		}
83	}
84
85	/**
86	 * Toggles `focus` class to allow submenu access on tablets.
87	 */
88	( function( container ) {
89		var touchStartFn, i,
90			parentLink = container.querySelectorAll( '.menu-item-has-children > a, .page_item_has_children > a' );
91
92		if ( 'ontouchstart' in window ) {
93			touchStartFn = function( e ) {
94				var menuItem = this.parentNode, i;
95
96				if ( ! menuItem.classList.contains( 'focus' ) ) {
97					e.preventDefault();
98					for ( i = 0; i < menuItem.parentNode.children.length; ++i ) {
99						if ( menuItem === menuItem.parentNode.children[i] ) {
100							continue;
101						}
102						menuItem.parentNode.children[i].classList.remove( 'focus' );
103					}
104					menuItem.classList.add( 'focus' );
105				} else {
106					menuItem.classList.remove( 'focus' );
107				}
108			};
109
110			for ( i = 0; i < parentLink.length; ++i ) {
111				parentLink[i].addEventListener( 'touchstart', touchStartFn, false );
112			}
113		}
114	}( container ) );
115} )();
116
117(function($) { 'use strict';
118
119	// Calculate clients viewport
120	function viewport() {
121		var e = window, a = 'inner';
122		if(!('innerWidth' in window )) {
123			a = 'client';
124			e = document.documentElement || document.body;
125		}
126		return { width : e[ a+'Width' ] , height : e[ a+'Height' ] };
127	}
128
129	//  move sidebar in line with post content
130
131	var asideMarginTop = function() {
132
133		var body = $('body'),
134			$content = $('#content');
135
136		var entryHeaderHeight = $('#main .entry-header').outerHeight(true),
137			sidebarMarginTop = 300;
138
139		if ($('body.woocommerce').length) {
140			sidebarMarginTop = 0;
141
142		} else if ($('body.blog').length || $('body.archive').length || $('body.error404').length || $('body.page').length || $('body.search').length) {
143
144			sidebarMarginTop = 0;
145
146		} else if ($('body.single-format-gallery').length) {
147
148			body.addClass('navigation-big-padding');
149			sidebarMarginTop = entryHeaderHeight;
150
151		} else if ($('body.single').length) {
152
153			if ($('body.single figure.featured-image img').length) {
154
155				body.addClass('navigation-big-padding');
156
157				var featuredImageAspectRatio = $('figure.featured-image').find('img').get(0).naturalWi
157dth / $('figure.featured-image').find('img').get(0).naturalHeight;
158
159				if ( featuredImageAspectRatio <= 1) {
160					sidebarMarginTop = 0;
161					verticalFeaturedImage();
162				} else {
163					sidebarMarginTop = entryHeaderHeight;
164				};
165
166			} else if ($('body.single .content-area > .entry-video').length) {
167				body.addClass('navigation-big-padding');
168				sidebarMarginTop = entryHeaderHeight;
169
170			} else {
171				sidebarMarginTop = entryHeaderHeight;
172			}
173		} else {
174			sidebarMarginTop = entryHeaderHeight;
175		};
176
177		$('aside#secondary').css('margin-top', sidebarMarginTop);
178
179	};
180
181	// single - on vertical featured-img change layout
182
183	var verticalFeaturedImage = function () {
184		var body = $('body');
185		if (!$('.header-holder').length) {
186			$('figure.featured-image').after('<div class="header-holder"></div>');
187			$('.header-holder').append($('article header.entry-header'));
188
189			body.addClass('vertical-layout');
190		}
191	}
192
193	$(document).ready(function($){
194
195		// Calculate clients viewport
196		function viewport() {
197			var e = window, a = 'inner';
198			if(!('innerWidth' in window )) {
199				a = 'client';
200				e = document.documentElement || document.body;
201			}
202			return { width : e[ a+'Width' ] , height : e[ a+'Height' ] };
203		}
204
205		var w=window,d=document,
206		e=d.documentElement,
207		g=d.getElementsByTagName('body')[0],
208		x=w.innerWidth||e.clientWidth||g.clientWidth, // Viewport Width
209		y=w.innerHeight||e.clientHeight||g.clientHeight; // Viewport Height
210
211		// Global Vars
212
213		var body = $('body'),
214			$window = $(window),
215			wScrollTop = $window.scrollTop(),
216			mainContent = $('#content'),
217			mainContentPaddingTop = parseInt(mainContent.css('padding-top')),
218			toTopArrow = $('.back-to-top'),
219			sidemenuHamburgerMenu = $('.sidemenu .main-navigation');
220
221		// if blackout div clicked - close sidemenu nav or search
222
223		$('div.blackout').on('click mousedown', function() {
224			closeSidemenuModal();
225		});
226
227		// Outline none on mousedown for focused elements
228
229		body.on('mousedown', '*', function(e) {
230			if(($(this).is(':focus') || $(this).is(e.target)) && $(this).css('outline-style') == 'none') {
231				$(this).css('outline', 'none').on('blur', function() {
232					$(this).off('blur').css('outline', '');
233				});
234			}
235		});
236
237		// Disable search submit if input empty
238		$( '.search-submit' ).prop( 'disabled', true );
239		$( '.search-field' ).keyup( function() {
240			$('.search-submit').prop( 'disabled', this.value === "" ? true : false );
241		});
242
243		// Social menu
244
245		var socialMenuTrig = $('.sidemenu #socMenuTrig');
246
247		if(socialMenuTrig.length){
248			var socialMenu = $('.sidemenu .social-navigation');
249			if (socialMenu.length) {
250				socialMenu.append(socialMenuTrig);
251				socialMenuTrig.css({display: 'inline-block'});
252			} else {
253				socialMenuTrig.css({display: 'none'});
254			}
255		};
256
257		// Dropcaps
258
259		if(body.hasClass('single') || body.hasClass('page')){
260
261			var dropcap = $('span.dropcap');
262			if(dropcap.length){
263				dropcap.each(function(){
264					var $this = $(this);
265					$this.attr('data-dropcap', $this.text());
266					$this.parent().css({
267						"position" : "relative",
268						"z-index" : 0
269					});
270
271				});
272			}
273
274		};
275
276		// add hr to sidemenu nav
277		var sidemenuFirstLevelNav = $('.sidemenu .main-navigation ul.menu>li>a');
278		var sidemenuNavHr = $('<hr class="sidemenu-nav-hr-line">');
279
280		sidemenuFirstLevelNav.after(sidemenuNavHr);
281
282		// dropdown button
283
284		var menuDropdownLink = $('.main-navigation .menu-item-has-children>a, .main-navigation .page_item_has_children>a');
285
286		var dropDownArrow = $('<button class="dropdown-toggle"><span class="screen-reader-text">toggle child menu</span><i class="icon-down"></i></button>');
287
288		menuDropdownLink.after(dropDownArrow);
289
290
291		// dropdown open on click
292
293		var dropDownButton = $('button.dropdown-toggle');
294
295		dropDownButton.on('click', function(e){
296			e.preventDefault();
297			var $this = $(this);
298			$this.parent('li').toggleClass('toggle-on').find('.toggle-on').removeClass('toggle-on');
299			$this.parent('li').siblings().removeClass('toggle-on');
300		});
301
302		$('.site-header .main-navigation .menu').on('mouseleave', function () {
303			$(this).find('.toggle-on').removeClass('toggle-on');
304		})
305
306		// Featured Slider
307
308		var slider;
309		var direction;
310
311		if(body.hasClass('rtl')){
312			direction = true;
313		}
314		else{
315			direction = false;
316		}
317
318		slider = $('div.featured-slider');
319
320		slider.slick({
321			slide: 'article',
322			infinite: true,
323			fade: true,
324			dots: true,
325			arrows: false,
326			speed: 500,
327			centerMode: false,
328			draggable: true,
329			touchThreshold: 20,
330			slidesToShow: 1,
331			cssEase: 'cubic-bezier(0.28, 0.12, 0.22, 1)',
332			rtl: direction,
333		});
334
335		// show slider after init
336		setTimeout(function(){
337			slider.closest('.featured-slider-wrap').css({opacity: 1});
338		}, 1500);
339
340		var slides = $('.featured-slider article, .featured-page-area article');
341
342		slides.each(function(){
343			var featuredImg = $(this).find('img');
344			if(featuredImg.length){
345				var slideImgSrc = featuredImg.attr('src');
346				$(this).find('.featured-image').css({backgroundImage: 'url('+slideImgSrc+')'});
347			}
348		});
349
350		var fullwidthSlider = function() {
351			var sliderHeight = slider.outerHeight();
352			if(x > 1190){
353				if(wScrollTop > 0){
354					$('.featured-data, .slick-dots').css({opacity: (sliderHeight - wScrollTop) / sliderHeight});
355				}
356				else{
357					$('.featured-data, .slick-dots').css({opacity: 1});
358				}
359			}
360		};
361
362		if ( body.hasClass('fullwidth-slider')) {
363			fullwidthSlider();
364
365			$window.scroll(function(){
366				setTimeout(function(){
367					wScrollTop = $(window).scrollTop();
368					fullwidthSlider();
369				}, 200);
370			});
371		}
372
373
374		// On Infinite Scroll Load
375
376		var $container = $('div.masonry');
377		var infiniteHandle = $('#infinite-handle');
378
379
380		if(infiniteHandle.length){
381
382			if(x > 551){
383				infiniteHandle.parent().css('margin-bottom', 140);
384			}
385			else{
386				infiniteHandle.parent().css('margin-bottom', 120);
387			}
388		}
389
390		$(document.body).on('post-load', function(){
391
392			// Reactivate masonry on post load
393
394			var newEl = $container.children().not('article.post-loaded, span.infinite-loader, div.grid-sizer').addClass('post-loaded');
395
396			newEl.hide();
397			newEl.imagesLoaded(function () {
398
399				// Reactivate masonry on post load
400
401				$container.masonry('appended', newEl, true).masonry('layout');
402
403				setTimeout(function(){
404					newEl.each(function(i){
405						var $this = $(this);
406
407						if($this.find('iframe').length){
408							var $iframe = $this.find('iframe');
409							var $iframeSrc = $iframe.attr('src');
410
411							$iframe.load($iframeSrc, function(){
412								$container.masonry('layout');
413							});
414						}
415
416						// Gallery with full size images
417
418						var fullSizeThumbGallery = $this.find('div.gallery-size-full[data-carousel-extra]');
419
420						if(fullSizeThumbGallery.length){
421							fullSizeThumbGallery.each(function(){
422								var $this = $(this);
423								var galleryItemCount = $this.find('.gallery-item').length;
424								if(body.hasClass('single')){
425									$this.append('<span class="gallery-count">01 / 0'+galleryItemCount+'</span>');
426								}
427								else{
428									$this.parent().addClass('fullsize-gallery').siblings().find('.edit-link').append('<span class="gallery-count">01 / 0'+galleryItemCount+'</span>');
429								}
430							});
431						}
432
433						setTimeout(function(){
434							newEl.eq(i).addClass('animate');
435						}, 100 * (i+1));
436					});
437				}, 150);
438
439				// Checkbox and Radio buttons
440
441				radio_checkbox_animation();
442
443			});
444		});
445
446		// move anchor on fullwidth-slider
447
448		if (body.hasClass('fullwidth-slider')) {
449			var allSlides = $('.featured-slider article');
450			allSlides.each(function () {
451				$(this).find('.featured-image img').unwrap();
452			})
453		}
454
455		// Forms
456
457		var smallInput = $('.entry-content > div > .contact-form input[type="text"], .entry-content > div > .contact-form input[type="email"], .entry-content > div > .contact-form input[type="url"], .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"]');
458		smallInput.parent().addClass('small-input');
459
460		// Checkbox and Radio buttons
461
462		//if buttons are inside label
463		function radio_checkbox_animation() {
464			var checkBtn = $('label').find('input[type="checkbox"]');
465			var checkLabel = checkBtn.parent('label');
466			var radioBtn = $('label').find('input[type="radio"]');
467
468			checkLabel.addClass('checkbox');
469
470			checkLabel.click(function(){
471				var $this = $(this);
472				if($this.find('input').is(':checked')){
473					$this.addClass('checked');
474				}
475				else{
476					$this.removeClass('checked');
477				}
478			});
479
480			var checkBtnAfter = $('label + input[type="checkbox"]');
481			var checkLabelBefore = checkBtnAfter.prev('label');
482
483			checkLabelBefore.click(function(){
484				var $this = $(this);
485				$this.toggleClass('checked');
486			});
487
488			radioBtn.change(function(){
489				var $this = $(this);
490				if($this.is(':checked')){
491					$this.parent('label').siblings().removeClass('checked');
492					$this.parent('label').addClass('checked');
493				}
494				else{
495					$this.parent('label').removeClass('checked');
496				}
497			});
498		}
499
500		radio_checkbox_animation();
501
502		if($('body[class*="woocommerce"]').length){
503			setTimeout(function(){
504				radio_checkbox_animation();
505			}, 3000);
506		}
507
508		// Sharedaddy
509
510		function shareDaddy(){
511			var shareTitle = $('.sd-sharing .sd-title');
512
513			if(shareTitle.length){
514				var shareWrap = shareTitle.closest('.sd-sharing-enabled');
515				shareWrap.attr({'tabindex': '0'});
516				shareTitle.on('click touchend', function(){
517					$(this).closest('.sd-sharing-enabled').toggleClass('sd-open');
518				});
519
520				$(document).keyup(function(e) {
521					if(shareWrap.find('a').is(':focus') && e.keyCode == 9){
522						shareWrap.addClass('sd-open');
523					}
524					else if(!(shareWrap.find('a').is(':focus')) && e.keyCode == 9){
525						shareWrap.removeClass('sd-open');
526					}
527				});
528			}
529		}
530
531		shareDaddy();
532
533		// Big search field
534
535		var bigSearchWrap = $('div.search-wrap');
536		var bigSearchButtons = $('div.search-button');
537		var bigSearchField = bigSearchWrap.find('.search-field');
538		var bigSearchTrigger = $('.big-search-trigger');
539		var bigSearchCloseBtn = $('.big-search-close');
540		var bigSearchClose = bigSearchButtons.add(bigSearchCloseBtn);
541
542		// close sidemenu modal on ESC
543
544		var closeSidemenuModal = function() {
545			if(body.hasClass('big-search')){
546				body.removeClass('big-search');
547				setTimeout(function(){
548					$('.search-wrap').find('.search-field').blur();
549				}, 100);
550				$('html').css('overflow', 'auto');
551			} else if (body.hasClass('sidemenu-nav-toggled')){
552				body.removeClass('sidemenu-nav-toggled');
553				$('.main-navigation').removeClass('toggled');
554				$('html').css('overflow', 'auto');
555			};
556		}
557
558
559		bigSearchCloseBtn.on('touchend click', function(e){
560			e.preventDefault();
561		});
562
563		bigSearchClose.on('touchend click', function(){
564			var $this = $(this);
565			if(body.hasClass('big-search')){
566				body.removeClass('big-search');
567				//enableScroll();
568				setTimeout(function(){
569					$('.search-wrap').find('.search-field').blur();
570				}, 100);
571				$('html').css('overflow', 'auto');
572			}
573		});
574
575		bigSearchTrigger.on('touchend click', function(e){
576			e.preventDefault();
577			e.stopPropagation();
578			var $this = $(this);
579			body.addClass('big-search');
580			$('html').css('overflow', 'hidden');
581			//disableScroll();
582
583			setTimeout(function(){
584				$('.search-wrap').find('.search-field').focus();
585			}, 100);
586		});
587
588		bigSearchField.on('touchend click', function(e){
589			e.stopPropagation();
590		});
591
592		$().on('touchend click', function(e){
593			e.stopPropagation();
594		});
595
596		// close sidemenu modal on ESC
597
598		$(document).keyup(function(e) {
599			if (e.keyCode == 27) {
600				closeSidemenuModal();
601			}
602		});
603
604	   $('.menu-toggle').on('touchend click', function(e) {
605
606			if ($('body.sidemenu-nav-toggled').length) {
607				$('html').css('overflow', 'hidden');
608			} else {
609				$('html').css('overflow', 'auto');
610			};
611		});
612
613
614		// Disable scroll if big search sidemenu is open
615
616		// left: 37, up: 38, right: 39, down: 40,
617		// spacebar: 32, pageup: 33, pagedown: 34, end: 35, home: 36
618		var keys = {37: 1, 38: 1, 39: 1, 40: 1, 32: 1, 33: 1, 34: 1, 35: 1, 36: 1};
619
620		var preventDefault = function (e) {
621			e = e || window.event;
622				if (e.preventDefault)
623					e.preventDefault();
624				e.returnValue = false;
625		};
626
627		var preventDefaultForScrollKeys = function (e) {
628			if (keys[e.keyCode]) {
629				preventDefault(e);
630				return false;
631			}
632		};
633
634		// Back to top and hamburger menu
635
636		toTopArrow.on('click touchstart', function (e) {
637			e.preventDefault();
638			$('html, body').animate({scrollTop: 0}, 900, "easeInOutExpo");
639			return false;
640		});
641
642
643
644		$(window).on("load resize scroll pageshow", function () {
645			viewport();
646			var $this = $(this);
647			if($this.scrollTop() > 600) {
648				toTopArrow.removeClass('hide');
649			}
650			else{
651				toTopArrow.addClass('hide');
652			}
653
654			if (x > 1190) {
655				if($this.scrollTop() > 200 || $('body.sidemenu-nav-toggled').length) {
656					sidemenuHamburgerMenu.removeClass('hide');
657				}
658				else{
659					sidemenuHamburgerMenu.addClass('hide');
660				}
661			} else {
662				sidemenuHamburgerMenu.removeClass('hide');
663			};
664		});
665
666		// Reposition entry footer on single posts to go above related block
667
668		var relatedBlock = $('.jp-relatedposts');
669
670		if(body.hasClass('single') && relatedBlock.length){
671			var entryFooter = relatedBlock.siblings('footer.end-meta');
672			relatedBlock.before(entryFooter);
673		};  // .com only
674
675		// Preloader - show content
676
677		var preload = function() {
678			$('body').addClass('show');
679		};
680
681		setTimeout(function(){
682			preload();
683		}, 100);
684
685	}); // End Document Ready
686
687	$(window).on('load pageshow', function() {
688
689		// Preload slider images, once the first image is done.
690		var $featuredSlider = $('.featured-slider');
691		var $firstImage = $featuredSlider.find('.featured-image img').first();
692
693		function firstImageReady() {
694			$featuredSlider.removeClass('first-image-loading');
695			$firstImage.off('load.first-image-ready');
696			$firstImage.off('error.first-image-ready');
697		}
698
699		if ($firstImage.length) {
700			if ($firstImage.get(0).complete && $firstImage.get(0).naturalWi
700dth) {
701				firstImageReady();
702			} else {
703				$firstImage.on('load.first-image-ready', firstImageReady);
704				$firstImage.on('error.first-image-ready', firstImageReady);
705			}
706		}
707
708		// Calculate clients viewport
709		function viewport() {
710			var e = window, a = 'inner';
711			if(!('innerWidth' in window )) {
712				a = 'client';
713				e = document.documentElement || document.body;
714			}
715			return { width : e[ a+'Width' ] , height : e[ a+'Height' ] };
716		}
717
718		var w=window,d=document,
719		e=d.documentElement,
720		g=d.getElementsByTagName('body')[0],
721		x=w.innerWidth||e.clientWidth||g.clientWidth, // Viewport Width
722		y=w.innerHeight||e.clientHeight||g.clientHeight; // Viewport Height
723
724		// Global Vars
725
726		var body = $('body');
727
728		// Masonry call
729
730		var $container = $('div.masonry');
731
732		$container.find('img').attr('loading', 'eager');
733
734		var $images = $container.find('img');
735
736		var checkAllImages = function() {
737			var allDone = true;
738			$images.each(function () {
739				var wasError = $(this).data('img-status') === 'error';
740				if (!wasError && (!this.complete || !this.naturalWidth)) {
741					allDone = false;
742				}
743			});
744
745			if (allDone) {
746				$images.off('load.ready-for-masonry');
747				$images.off('error.ready-for-masonry');
748
749				$container.masonry({
750					columnWidth: '.grid-sizer',
751					itemSelector: '.masonry article',
752					transitionDuration: 0
753				}).masonry('layout');
754
755				var masonryChild = $container.find('article.hentry, article.product');
756
757				masonryChild.each(function (i) {
758					setTimeout(function () {
759						masonryChild.eq(i).addClass('post-loaded animate');
760					}, 100 * (i + 1));
761				});
762			}
763		}
764
765		checkAllImages();
766
767		$images.on('load.ready-for-masonry', function () {
768			checkAllImages();
769		});
770
771		$images.on('error.ready-for-masonry', function () {
772			$(this).data('img-status', 'error');
773			checkAllImages();
774		});
775
776		asideMarginTop();
777
778	}); // End Window Load
779
780	$(window).resize(function(){
781
782		// Calculate clients viewport
783		function viewport() {
784			var e = window, a = 'inner';
785			if(!('innerWidth' in window )) {
786				a = 'client';
787				e = document.documentElement || document.body;
788			}
789			return { width : e[ a+'Width' ] , height : e[ a+'Height' ] };
790		}
791
792		var w=window,d=document,
793		e=d.documentElement,
794		g=d.getElementsByTagName('body')[0],
795		x=w.innerWidth||e.clientWidth||g.clientWidth, // Viewport Width
796		y=w.innerHeight||e.clientHeight||g.clientHeight; // Viewport Height
797
798		// Global Vars
799
800		var body = $('body');
801
802
803		asideMarginTop();
804
805	});
806
807	// window unload
808
809	$(window).on('beforeunload', function () {
810
811		var body = $('body');
812
813		body.removeClass('show');
814
815		setTimeout(function() {
816			return true;
817		}, 200)
818
819	});
820
821	window.onpageshow = function (event) {
822		if (event.persisted) {
823			window.location.reload();
824		}
825	};
826
827})(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.