PageSourceSearch

https://macjames.ca/index_files/katb_mosaic_doc_ready_ETOa.js

js macjames.ca collected 2026-10-05 09:35:25 UTC 2,807 bytes, 85 lines download raw bytes

1var _____WB$wombat$assign$function_____=function(name){return (globalThis._wb_wombat && globalThis._wb_wombat.local_init && globalThis._wb_wombat.local_init(name))||globalThis[name];};if(!globalThis.__WB_pmw){globalThis.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{
2let window = _____WB$wombat$assign$function_____("window");
3let self = _____WB$wombat$assign$function_____("self");
4let document = _____WB$wombat$assign$function_____("document");
5let location = _____WB$wombat$assign$function_____("location");
6let top = _____WB$wombat$assign$function_____("top");
7let parent = _____WB$wombat$assign$function_____("parent");
8let frames = _____WB$wombat$assign$function_____("frames");
9let opener = _____WB$wombat$assign$function_____("opener");
10/*
11 * @package   Testimonial Basics WordPress Plugin
12 * @copyright Copyright (C) 2020 or later Kevin Archibald
13 * @license   http://www.gnu.org/licenses/quick-guide-gplv3.html  GNU Public License
14 * @author    Kevin Archibald <www.kevinsspace.ca/contact/>
15 * Testimonial Basics is distributed under the terms of the GNU GPL
16 */
17jQuery(document).ready(function(){
18		if( jQuery( '.katb_two_col_1' ).length > 0 ) {
19
20		var viewPort = katb_viewport();
21		var windowSize = viewPort['width'];
22		if (windowSize < 800) {
23			katb_unwrap_grid_two();
24		} else {
25			katb_wrap_grid_two();
26		}
27
28		jQuery(window).resize(function(event){
29
30			var viewPort = katb_viewport();
31			var windowSize = viewPort['width'];
32			if (windowSize < 800) {
33				katb_unwrap_grid_two();
34			} else {
35				katb_wrap_grid_two();
36			}
37
38		});
39
40	}
41
42	function katb_unwrap_grid_two(){
43		jQuery('.katb_two_wrap_all').unwrap();
44		jQuery('.katb_two_wrap_all').wrapAll('<div class="katb_two_col_1"></div>');
45		var $wrapper =	jQuery('.katb_two_col_1');
46		$wrapper.find('.katb_two_wrap_all').sort(function (a, b) {
47			return +a.dataset.order - +b.dataset.order;
48		})
49		.appendTo( $wrapper );
50	}
51
52	function katb_wrap_grid_two(){
53		jQuery('.katb_two_wrap_all').unwrap();
54		jQuery('.katb_two_wrap_1').wrapAll('<div class="katb_two_col_1"></div>');
55		jQuery('.katb_two_wrap_2').wrapAll('<div class="katb_two_col_2"></div>');
56
57	}
58
59	function katb_viewport() {
60	    var e = window, a = 'inner';
61	    if (!('innerWidth' in window )) {
62	        a = 'client';
63	        e = document.documentElement || document.body;
64	    }
65	    return { width : e[ a+'Width' ] , height : e[ a+'Height' ] };
66	}
67
68});
69
70}
71
72/*
73     FILE ARCHIVED ON 12:54:02 Jan 06, 2026 AND RETRIEVED FROM THE
74     INTERNET ARCHIVE ON 18:19:48 Aug 27, 2026.
75     JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.
76
77     ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
78     SECTION 108(a)(3)).
79*/
80/*
81playback timings (ms):
82  capture_cache.get: 0.328
83  load_resource: 38.39 (2)
84  PetaboxLoader3.datanode: 25.896 (2)
85*/

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.