PageSourceSearch

https://guthrieschicken.com/wp-content/themes/guthries/library/jquery.inview.min.js

js guthrieschicken.com collected 2026-09-26 09:12:32 UTC 1,935 bytes, 68 lines download raw bytes

1!function(a) {
2	"function" == typeof define && define.amd
3		? define(["jquery"], a)
4		: "object" == typeof exports
5		? module.exports = a(require("jquery"))
6		: a(jQuery);
7}(function(a) {
8	function i() {
9		var b, c, d = { height: f.innerHeight, width: f.innerWidth };
10		return d.height
11			|| (b = e.compatMode,
12				(b || !a.support.boxModel)
13				&& (c = "CSS1Compat" === b ? g : e.body,
14					d = { height: c.clientHeight, width: c.clientWidth })),
15			d;
16	}
17	function j() {
18		return {
19			top: f.pageYOffset || g.scrollTop || e.body.scrollTop,
20			left: f.pageXOffset || g.scrollLeft || e.body.scrollLeft,
21		};
22	}
23	function k() {
24		if (b.length) {
25			var e = 0,
26				f = a.map(b, function(a) {
27					var b = a.data.selector, c = a.$element;
28					return b ? c.find(b) : c;
29				});
30			for (c = c || i(), d = d || j(); e < b.length; e++) {
31				if (a.contains(g, f[e][0])) {
32					var h = a(f[e]),
33						k = { height: h[0].offsetHeight, width: h[0].offsetWidth },
34						l = h.offset(),
35						m = h.data("inview");
36					if (!d || !c) return;
37					l.top + k.height > d.top && l.top < d.top + c.height
38						&& l.left + k.width > d.left && l.left < d.left + c.width
39						? m || h.data("inview", !0).trigger("inview", [!0])
40						: m && h.data("inview", !1).trigger("inview", [!1]);
41				}
42			}
43		}
44	}
45	var c, d, h, b = [], e = document, f = window, g = e.documentElement;
46	a.event.special.inview = {
47		add: function(c) {
48			b.push({ data: c, $element: a(this), element: this }),
49				!h && b.length && (h = setInterval(k, 250));
50		},
51		remove: function(a) {
52			for (var c = 0; c < b.length; c++) {
53				var d = b[c];
54				if (d.element === this && d.data.guid === a.guid) {
55					b.splice(c, 1);
56					break;
57				}
58			}
59			b.length || (clearInterval(h), h = null);
60		},
61	},
62		a(f).on("scroll resize scrollstop", function() {
63			c = d = null;
64		}),
65		!g.addEventListener && g.attachEvent && g.attachEvent("onfocusin", function() {
66			d = null;
67		});
68});

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.