PageSourceSearch

https://specialedtech.net/assets/specialedtech.net/wp-content/them…/surfarama/library/js/scripts-96ccbdc32f.js

js specialedtech.net collected 2026-10-08 02:28:55 UTC 5,634 bytes, 190 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");
10jQuery(document).ready(function($){
11	
12	var $window = $(window),
13        $menu = $('div.menu');
14	
15	function menuSize() {
16		var width = $window.width();
17		if ( width < 824 ) {
18			return $menu.addClass('nav-mobile');
19		}
20		$menu.removeClass('nav-mobile');
21	}
22	
23	$window
24        .resize(menuSize)
25        .trigger('menuSize');
26		
27	menuSize();
28	
29	
30	var width = $(window).width();
31	
32	if (width > 1000) {
33		var colWidth = 240;
34	} else if ((width > 961) && (width < 1000)) {
35		var colWidth = 232;
36	} else if ((width > 930) && (width < 961)) {
37		var colWidth = 226;
38	} else if ((width > 780) && (width < 900)) {
39		var colWidth = 252;
40	} else if ((width > 730) && (width < 770)) {
41		var colWidth = 244;
42	} else if ((width > 700) && (width < 721)) {
43		var colWidth = 228;
44	} else if ((width > 601) && (width < 641)) {
45		var colWidth = 305;
46	} else if ((width > 577) && (width < 601)) {
47		var colWidth = 284;
48	} else if ((width > 500) && (width < 577)) {
49		var colWidth = 273;
50	} else if ((width > 400) && (width < 481)) {
51		var colWidth = 226;
52	} else if ((width > 321) && (width < 361)) {
53		var colWidth = 320;
54	} else if ((width > 290) && (width < 321)) {
55		var colWidth = 290;
56	} else if ((width > 0) && (width < 241)) {
57		var colWidth = 290;
58	}
59	
60
61	var $container = $('#grid-wrap').masonry({
62  		  itemSelector: '.grid-box',
63		  columnWidth: colWidth,
64	  });
65	// layout Masonry again after all images have loaded
66	$container.imagesLoaded( function() {
67	  $container.masonry({
68  		  itemSelector: '.grid-box',
69		  columnWidth: colWidth,
70	  });
71	});
72	
73	$(window).resize(function() {
74	  var width = $(window).width();
75	  
76		if (width > 1000) {
77			var colWidth = 240;
78		} else if ((width > 961) && (width < 1000)) {
79			var colWidth = 232;
80		} else if ((width > 930) && (width < 961)) {
81			var colWidth = 226;
82		} else if ((width > 780) && (width < 900)) {
83			var colWidth = 252;
84		} else if ((width > 730) && (width < 770)) {
85			var colWidth = 244;
86		} else if ((width > 700) && (width < 721)) {
87			var colWidth = 228;
88		} else if ((width > 601) && (width < 641)) {
89			var colWidth = 305;
90		} else if ((width > 577) && (width < 601)) {
91			var colWidth = 284;
92		} else if ((width > 500) && (width < 577)) {
93			var colWidth = 273;
94		} else if ((width > 400) && (width < 481)) {
95			var colWidth = 226;
96		} else if ((width > 321) && (width < 361)) {
97			var colWidth = 320;
98		} else if ((width > 290) && (width < 321)) {
99			var colWidth = 290;
100		} else if ((width > 0) && (width < 241)) {
101			var colWidth = 290;
102		}
103	
104	  $container.masonry({
105  		  itemSelector: '.grid-box',
106		  columnWidth: colWidth,
107	  });
108	});
109	
110	/* toggle search box */
111	$("#search-icon").on("click", function(){
112		$("#search-box-wrap").slideToggle();
113	});
114	
115	$("#close-x").on("click", function(){
116		$("#search-box-wrap").slideUp();
117	});
118
119	/* prepend menu icon */
120	$('div.menu').prepend('<div id="menu-icon">Menu</div>');
121	
122	/* toggle nav */
123	$("#menu-icon").on("click", function(){
124		$("div.menu > ul").slideToggle();
125		$(this).toggleClass("active");
126	});
127	
128		// By Chris Coyier & tweaked by Mathias Bynens
129
130	// Find all YouTube videos
131	var $allVideos = $('iframe[src^="http://player.vimeo.com"], iframe[src^="https://player.vimeo.com"], iframe[src^="http://player.vimeo.com"], iframe[src^="http://www.youtube.com"],  iframe[src^="https://www.youtube.com"], iframe[src^="http://www.youtube.com"], iframe[src^="http://www.dailymotion.com"], iframe[src^="http://www.dailymotion.com"],  embed[src^="http://v.wordpress.com"], embed[src^="https://v.wordpress.com"], embed[src^="http://v.wordpress.com"]'),
132
133	    // The element that is fluid width
134	    $fluidEl = $(".post_content");
135
136	// Figure out and save aspect ratio for each video
137	$allVideos.each(function() {
138
139		$(this)
140			.data('aspectRatio', this.height / this.width)
141			
142			// and remove the hard coded width/height
143			.removeAttr('height')
144			.removeAttr('width');
145
146	});
147
148	// When the window is resized
149	// (You'll probably want to debounce this)
150	$(window).resize(function() {
151
152		var newWidth = $fluidEl.width();
153		
154		// Resize all videos according to their own aspect ratio
155		$allVideos.each(function() {
156
157			var $el = $(this);
158			$el
159				.width(newWidth)
160				.height(newWidth * $el.data('aspectRatio'));
161
162		});
163
164	// Kick off one resize to fix all videos on page load
165	}).resize();
166
167	
168});
169}
170
171/*
172     FILE ARCHIVED ON 13:25:59 Jan 09, 2024 AND RETRIEVED FROM THE
173     INTERNET ARCHIVE ON 11:37:16 Jul 07, 2026.
174     JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.
175
176     ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
177     SECTION 108(a)(3)).
178*/
179/*
180playback timings (ms):
181  captures_list: 0.439
182  exclusion.robots: 0.054
183  exclusion.robots.policy: 0.046
184  esindex: 0.006
185  cdx.remote: 6.581
186  LoadShardBlock: 95.96 (3)
187  PetaboxLoader3.datanode: 105.623 (5)
188  PetaboxLoader3.resolve: 632.096 (3)
189  load_resource: 659.217 (2)
190*/

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.