PageSourceSearch

https://ksrevenue.gov/js/theme.init.js

js ksrevenue.gov collected 2026-09-24 08:31:35 UTC 12,217 bytes, 638 lines download raw bytes

1// Commom Plugins
2(function($) {
3
4	'use strict';
5
6	// Scroll to Top Button.
7	if (typeof theme.PluginScrollToTop !== 'undefined') {
8		theme.PluginScrollToTop.initialize();
9	}
10
11	// Tooltips
12	if ($.isFunction($.fn['tooltip'])) {
13		$('[data-tooltip]:not(.manual), [data-plugin-tooltip]:not(.manual)').tooltip();
14	}
15
16	// Popover
17	if ($.isFunction($.fn['popover'])) {
18		$(function() {
19			$('[data-plugin-popover]:not(.manual)').each(function() {
20				var $this = $(this),
21					opts;
22
23				var pluginOptions = theme.fn.getOptions($this.data('plugin-options'));
24				if (pluginOptions)
25					opts = pluginOptions;
26
27				$this.popover(opts);
28			});
29		});
30	}
31
32	// Validations
33	if (typeof theme.PluginValidation !== 'undefined') {
34		theme.PluginValidation.initialize();
35	}
36
37	// Match Height
38	if ($.isFunction($.fn['matchHeight'])) {
39
40		$('.match-height').matchHeight();
41
42		// Featured Boxes
43		$('.featured-boxes .featured-box').matchHeight();
44
45		// Featured Box Full
46		$('.featured-box-full').matchHeight();
47
48	}
49
50}).apply(this, [jQuery]);
51
52// Animate
53(function($) {
54
55	'use strict';
56
57	if ($.isFunction($.fn['themePluginAnimate'])) {
58
59		$(function() {
60			$('[data-appear-animation]').each(function() {
61				var $this = $(this),
62					opts;
63
64				var pluginOptions = theme.fn.getOptions($this.data('plugin-options'));
65				if (pluginOptions)
66					opts = pluginOptions;
67
68				$this.themePluginAnimate(opts);
69			});
70		});
71
72	}
73
74}).apply(this, [jQuery]);
75
76// Before / After
77(function($) {
78
79	'use strict';
80
81	if ($.isFunction($.fn['themePluginBeforeAfter'])) {
82
83		$(function() {
84			$('[data-plugin-before-after]:not(.manual)').each(function() {
85				var $this = $(this),
86					opts;
87
88				var pluginOptions = theme.fn.getOptions($this.data('plugin-options'));
89				if (pluginOptions)
90					opts = pluginOptions;
91
92				$this.themePluginBeforeAfter(opts);
93			});
94		});
95
96	}
97
98}).apply(this, [jQuery]);
99
100// Carousel
101(function($) {
102
103	'use strict';
104
105	if ($.isFunction($.fn['themePluginCarousel'])) {
106
107		$(function() {
108			$('[data-plugin-carousel]:not(.manual), .owl-carousel:not(.manual)').each(function() {
109				var $this = $(this),
110					opts;
111
112				var pluginOptions = theme.fn.getOptions($this.data('plugin-options'));
113				if (pluginOptions)
114					opts = pluginOptions;
115
116				$this.themePluginCarousel(opts);
117			});
118		});
119
120	}
121
122}).apply(this, [jQuery]);
123
124// Chart.Circular
125(function($) {
126
127	'use strict';
128
129	if ($.isFunction($.fn['themePluginChartCircular'])) {
130
131		$(function() {
132			$('[data-plugin-chart-circular]:not(.manual), .circular-bar-chart:not(.manual)').each(function() {
133				var $this = $(this),
134					opts;
135
136				var pluginOptions = theme.fn.getOptions($this.data('plugin-options'));
137				if (pluginOptions)
138					opts = pluginOptions;
139
140				$this.themePluginChartCircular(opts);
141			});
142		});
143
144	}
145
146}).apply(this, [jQuery]);
147
148// Countdown
149(function($) {
150
151	'use strict';
152
153	if ($.isFunction($.fn['themePluginCountdown'])) {
154
155		$(function() {
156			$('[data-plugin-countdown]:not(.manual), .countdown').each(function() {
157				var $this = $(this),
158					opts;
159
160				var pluginOptions = theme.fn.getOptions($this.data('plugin-options'));
161				if (pluginOptions)
162					opts = pluginOptions;
163
164				$this.themePluginCountdown(opts);
165			});
166		});
167
168	}
169
170}).apply(this, [jQuery]);
171
172// Counter
173(function($) {
174
175	'use strict';
176
177	if ($.isFunction($.fn['themePluginCounter'])) {
178
179		$(function() {
180			$('[data-plugin-counter]:not(.manual), .counters [data-to]').each(function() {
181				var $this = $(this),
182					opts;
183
184				var pluginOptions = theme.fn.getOptions($this.data('plugin-options'));
185				if (pluginOptions)
186					opts = pluginOptions;
187
188				$this.themePluginCounter(opts);
189			});
190		});
191
192	}
193
194}).apply(this, [jQuery]);
195
196// Float Element
197(function($) {
198
199	'use strict';
200
201	if ($.isFunction($.fn['themePluginFloatElement'])) {
202
203		$(function() {
204			$('[data-plugin-float-element]:not(.manual)').each(function() {
205				var $this = $(this),
206					opts;
207
208				var pluginOptions = theme.fn.getOptions($this.data('plugin-options'));
209				if (pluginOptions)
210					opts = pluginOptions;
211
212				$this.themePluginFloatElement(opts);
213			});
214		});
215
216	}
217
218}).apply(this, [jQuery]);
219
220// Animated Icon
221(function($) {
222
223	'use strict';
224
225	if ($.isFunction($.fn['themePluginIcon'])) {
226
227		$(document).ready(function(){
228			$(function() {
229
230				$('[data-icon]:not(.svg-inline--fa)').each(function() {
231					var $this = $(this),
232						opts;
233
234					var pluginOptions = theme.fn.getOptions($this.data('plugin-options'));
235					if (pluginOptions)
236						opts = pluginOptions;
237
238					$this.themePluginIcon(opts);
239				});
240				
241			});
242		});
243	}
244
245}).apply(this, [jQuery]);
246
247// Lazy Load
248(function($) {
249
250	'use strict';
251
252	if ($.isFunction($.fn['themePluginLazyLoad'])) {
253
254		$(function() {
255			$('[data-plugin-lazyload]:not(.manual)').each(function() {
256				var $this = $(this),
257					opts;
258
259				var pluginOptions = theme.fn.getOptions($this.data('plugin-options'));
260				if (pluginOptions)
261					opts = pluginOptions;
262
263				$this.themePluginLazyLoad(opts);
264			});
265		});
266
267	}
268
269}).apply(this, [jQuery]);
270
271// Lightbox
272(function($) {
273
274	'use strict';
275
276	if ($.isFunction($.fn['themePluginLightbox'])) {
277
278		$(function() {
279			$('[data-plugin-lightbox]:not(.manual), .lightbox:not(.manual)').each(function() {
280				var $this = $(this),
281					opts;
282
283				var pluginOptions = theme.fn.getOptions($this.data('plugin-options'));
284				if (pluginOptions)
285					opts = pluginOptions;
286
287				$this.themePluginLightbox(opts);
288			});
289		});
290
291	}
292
293}).apply(this, [jQuery]);
294
295// Masonry
296(function($) {
297
298	'use strict';
299
300	if ($.isFunction($.fn['themePluginMasonry'])) {
301
302		$(function() {
303			$('[data-plugin-masonry]:not(.manual)').each(function() {
304				var $this = $(this),
305					opts;
306
307				var pluginOptions = theme.fn.getOptions($this.data('plugin-options'));
308				if (pluginOptions)
309					opts = pluginOptions;
310
311				$this.themePluginMasonry(opts);
312			});
313		});
314
315	}
316
317}).apply(this, [jQuery]);
318
319// Match Height
320(function($) {
321
322	'use strict';
323
324	if ($.isFunction($.fn['themePluginMatchHeight'])) {
325
326		$(function() {
327			$('[data-plugin-match-height]:not(.manual)').each(function() {
328				var $this = $(this),
329					opts;
330
331				var pluginOptions = theme.fn.getOptions($this.data('plugin-options'));
332				if (pluginOptions)
333					opts = pluginOptions;
334
335				$this.themePluginMatchHeight(opts);
336			});
337		});
338
339	}
340
341}).apply(this, [jQuery]);
342
343// Parallax
344(function($) {
345
346	'use strict';
347
348	if ($.isFunction($.fn['themePluginParallax'])) {
349
350		$(function() {
351			$('[data-plugin-parallax]:not(.manual)').each(function() {
352				var $this = $(this),
353					opts;
354
355				var pluginOptions = theme.fn.getOptions($this.data('plugin-options'));
356				if (pluginOptions)
357					opts = pluginOptions;
358
359				$this.themePluginParallax(opts);
360			});
361		});
362
363	}
364
365}).apply(this, [jQuery]);
366
367// Progress Bar
368(function($) {
369
370	'use strict';
371
372	if ($.isFunction($.fn['themePluginProgressBar'])) {
373
374		$(function() {
375			$('[data-plugin-progress-bar]:not(.manual), [data-appear-progress-animation]').each(function() {
376				var $this = $(this),
377					opts;
378
379				var pluginOptions = theme.fn.getOptions($this.data('plugin-options'));
380				if (pluginOptions)
381					opts = pluginOptions;
382
383				$this.themePluginProgressBar(opts);
384			});
385		});
386
387	}
388
389}).apply(this, [jQuery]);
390
391// Revolution Slider
392(function($) {
393
394	'use strict';
395
396	if ($.isFunction($.fn['themePluginRevolutionSlider'])) {
397
398		$(function() {
399			$('[data-plugin-revolution-slider]:not(.manual), .slider-container .slider:not(.manual)').each(function() {
400				var $this = $(this),
401					opts;
402
403				var pluginOptions = theme.fn.getOptions($this.data('plugin-options'));
404				if (pluginOptions)
405					opts = pluginOptions;
406
407				$this.themePluginRevolutionSlider(opts);
408			});
409		});
410
411	}
412
413}).apply(this, [jQuery]);
414
415// Scrollable
416(function($) {
417
418	'use strict';
419
420	if ( $.isFunction($.fn[ 'nanoScroller' ]) ) {
421
422		$(function() {
423			$('[data-plugin-scrollable]').each(function() {
424				var $this = $( this ),
425					opts = {};
426
427				var pluginOptions = $this.data('plugin-options');
428				if (pluginOptions) {
429					opts = pluginOptions;
430				}
431
432				$this.themePluginScrollable(opts);
433			});
434		});
435
436	}
437
438}).apply(this, [jQuery]);
439
440// Section Scroll
441(function($) {
442
443	'use strict';
444
445	if ($.isFunction($.fn['themePluginSectionScroll'])) {
446
447		$(function() {
448			$('[data-plugin-section-scroll]:not(.manual)').each(function() {
449				var $this = $(this),
450					opts;
451
452				var pluginOptions = theme.fn.getOptions($this.data('plugin-options'));
453				if (pluginOptions)
454					opts = pluginOptions;
455
456				$this.themePluginSectionScroll(opts);
457			});
458		});
459
460	}
461
462}).apply(this, [jQuery]);
463
464// Sort
465(function($) {
466
467	'use strict';
468
469	if ($.isFunction($.fn['themePluginSort'])) {
470
471		$(function() {
472			$('[data-plugin-sort]:not(.manual), .sort-source:not(.manual)').each(function() {
473				var $this = $(this),
474					opts;
475
476				var pluginOptions = theme.fn.getOptions($this.data('plugin-options'));
477				if (pluginOptions)
478					opts = pluginOptions;
479
480				$this.themePluginSort(opts);
481			});
482		});
483
484	}
485
486}).apply(this, [jQuery]);
487
488// Star Rating
489(function($) {
490
491	'use strict';
492
493	if ($.isFunction($.fn['themePluginStarRating'])) {
494
495		$(function() {
496			$('[data-plugin-star-rating]:not(.manual)').each(function() {
497				var $this = $(this),
498					opts;
499
500				var pluginOptions = theme.fn.getOptions($this.data('plugin-options'));
501				if (pluginOptions)
502					opts = pluginOptions;
503
504				$this.themePluginStarRating(opts);
505			});
506		});
507
508	}
509
510}).apply(this, [jQuery]);
511
512// Sticky
513(function($) {
514
515	'use strict';
516
517	if ($.isFunction($.fn['themePluginSticky'])) {
518
519		$(function() {
520			$('[data-plugin-sticky]:not(.manual)').each(function() {
521				var $this = $(this),
522					opts;
523
524				var pluginOptions = theme.fn.getOptions($this.data('plugin-options'));
525				if (pluginOptions)
526					opts = pluginOptions;
527
528				$this.themePluginSticky(opts);
529			});
530		});
531
532	}
533
534}).apply(this, [jQuery]);
535
536// Toggle
537(function($) {
538
539	'use strict';
540
541	if ($.isFunction($.fn['themePluginToggle'])) {
542
543		$(function() {
544			$('[data-plugin-toggle]:not(.manual)').each(function() {
545				var $this = $(this),
546					opts;
547
548				var pluginOptions = theme.fn.getOptions($this.data('plugin-options'));
549				if (pluginOptions)
550					opts = pluginOptions;
551
552				$this.themePluginToggle(opts);
553			});
554		});
555
556	}
557
558}).apply(this, [jQuery]);
559
560// Tweets
561(function($) {
562
563	'use strict';
564
565	if ($.isFunction($.fn['themePluginTweets'])) {
566
567		$(function() {
568			$('[data-plugin-tweets]:not(.manual)').each(function() {
569				var $this = $(this),
570					opts;
571
572				var pluginOptions = theme.fn.getOptions($this.data('plugin-options'));
573				if (pluginOptions)
574					opts = pluginOptions;
575
576				$this.themePluginTweets(opts);
577			});
578		});
579
580	}
581
582}).apply(this, [jQuery]);
583
584// Video Background
585(function($) {
586
587	'use strict';
588
589	if ($.isFunction($.fn['themePluginVideoBackground'])) {
590
591		$(function() {
592			$('[data-plugin-video-background]:not(.manual)').each(function() {
593				var $this = $(this),
594					opts;
595
596				var pluginOptions = theme.fn.getOptions($this.data('plugin-options'));
597				if (pluginOptions)
598					opts = pluginOptions;
599
600				$this.themePluginVideoBackground(opts);
601			});
602		});
603
604	}
605
606}).apply(this, [jQuery]);
607
608// Commom Partials
609(function($) {
610
611	'use strict';
612
613	// Sticky Header
614	if (typeof theme.StickyHeader !== 'undefined') {
615		theme.StickyHeader.initialize();
616	}
617
618	// Nav Menu
619	if (typeof theme.Nav !== 'undefined') {
620		theme.Nav.initialize();
621	}
622
623	// Search
624	if (typeof theme.Search !== 'undefined') {
625		theme.Search.initialize();
626	}
627
628	// Newsletter
629	if (typeof theme.Newsletter !== 'undefined') {
630		theme.Newsletter.initialize();
631	}
632
633	// Account
634	if (typeof theme.Account !== 'undefined') {
635		theme.Account.initialize();
636	}
637
638}).apply(this, [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.