1// syze v1.1.1 MIT/GPL2 @rezitech 2(function(a, b) { 3 function j() { 4 var f = /^device$/i.test(String(e)) ? !a.orientation || orientation == 180 ? screen.width : screen.height : /^browser$/i.test(String(e)) ? b.clientWidth : e instanceof String ? Function("return " + e)() : parseInt(e, 10) || 0, 5 h = b.className.replace(/^\s+|(^|\s)(gt|is|lt)[^\s]+|\s+$/g, "").split(/\s+/), 6 i = [], 7 j = -1, 8 k, l = c, 9 m = l.length; 10 l.sort(function(a, b) { 11 return a - b 12 }); 13 while (++j < m) 14 if (f < l[j]) break; 15 f = l[Math.max(Math.min(--j, m - 1), 0)]; 16 j = -1; 17 while (++j < m) { 18 i.push((f > l[j] ? "gt" : f < l[j] ? "lt" : "is") + (d[l[j]] || l[j])) 19 } 20 b.className = (!h[0] ? [] : h).concat(i).join(" "); 21 if (g) g(f) 22 } 23 24 function i(a) { 25 var b; 26 return function() { 27 function e() { 28 a.apply(c, d); 29 b = null 30 } 31 var c = this, 32 d = arguments; 33 if (b) clearTimeout(b); 34 b = setTimeout(e, f) 35 } 36 } 37 38 function h(b, c) { 39 if (a.addEventListener) addEventListener(b, c, false); 40 else attachEvent("on" + b, c) 41 } 42 var c = [], 43 d = {}, e = "browser", 44 f = 50, 45 g; 46 a.syze = { 47 sizes: function(a) { 48 c = [].concat.apply([], arguments); 49 j(); 50 return this 51 }, 52 names: function(a) { 53 if (a instanceof Object) { 54 d = a; 55 j() 56 } 57 return this 58 }, 59 from: function(a) { 60 e = a; 61 j(); 62 return this 63 }, 64 debounceRate: function(a) { 65 f = parseInt(a, 10) || 0; 66 j(); 67 return this 68 }, 69 callback: function(a) { 70 if (a instanceof Function) { 71 g = a; 72 j() 73 } 74 return this 75 } 76 }; 77 h("resize", i(j)); 78 h("orientationchange", j); 79 j() 80})(this, document.documentElement)
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.