PageSourceSearch

https://www.airkinginc.com/wp-content/plugins/mg-ada/public/js/mg-ada-public.js

js airkinginc.com collected 2026-10-08 03:18:07 UTC 2,587 bytes, 98 lines download raw bytes

1(function( $ ) {
2	'use strict';
3
4	/**
5	 * All of the code for your public-facing JavaScript source
6	 * should reside in this file.
7	 *
8	 * Note: It has been assumed you will write jQuery code here, so the
9	 * $ function reference has been prepared for usage within the scope
10	 * of this function.
11	 *
12	 * This enables you to define handlers, for when the DOM is ready:
13	 *
14	 * $(function() {
15	 *
16	 * });
17	 *
18	 * When the window is loaded:
19	 *
20	 * $( window ).load(function() {
21	 *
22	 * });
23	 *
24	 * ...and/or other possibilities.
25	 *
26	 * Ideally, it is not considered best practise to attach more than a
27	 * single DOM-ready or window-load handler for a particular page.
28	 * Although scripts in the WordPress core, Plugins and Themes may be
29	 * practising this, we should strive to set a better example in our own work.
30	 */
31
32	$(function(){
33	$('.ada-icon').click(function(){
34		console.log("ADA")
35		$('.ada-sidebar').toggleClass('open')
36	})
37	$('#increase').click(function(){
38		if(!$('body').hasClass('large-text') && !$('body').hasClass('large-text2') && !$('body').hasClass('large-text3')){
39		$('body').addClass("large-text")
40		}
41		else if($('body').hasClass('large-text')){
42			$('body').addClass("large-text2")
43			$('body').removeClass("large-text")
44		}
45		else if($('body').hasClass('large-text2')){
46			$('body').addClass("large-text3")
47			$('body').removeClass("large-text2")
48		}
49		else if($('body').hasClass('large-text3')){
50			$('body').removeClass("large-text3")
51		}
52	})
53
54	$('#simplify').click(function(){
55		$('body').toggleClass("simplify")
56	})
57	$('#underline').click(function(){
58		$('body').toggleClass("underline")
59	})
60	$('#highlight').click(function(){
61		$('body').toggleClass("highlight")
62	})
63	$('#grayscale').click(function(){
64		$('body').toggleClass("grayscale")
65	})
66	$('#reset').click(function(){
67		$('body').removeClass("grayscale simplify underline highlight large-text large-text2 large-text3")
68	})
69		let pos = 0
70		// $(".fa-arrow-up").click(function(){
71		// 	$('html, body').animate({
72  //   		scrollTop: ($($(".et_pb_section")[pos]).offset().top)
73		// 	},500);
74		// 	console.log(pos)
75		// 	if(pos>=0)
76		// 	pos = pos - 1
77		// 	if(pos===-1)
78		// 	pos = $(".et_pb_section").length-1
79		// })
80		$("#navigate").click(function(){
81
82			$('html,body').animate({
83				scrollTop: $("h1").offset().top - 200
84			}, 1000);
85
86			// if(pos<=$(".et_pb_section_1").length-1)
87			// pos = pos + 1
88			// if(pos===$(".et_pb_section_1").length-1)
89			// pos = 0
90		})
91		$('.ada-sidebar-close').click(function(){
92		console.log("ADA")
93		$('.ada-sidebar').toggleClass('open')
94		})
95
96	})
97
98})( 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.