vendor: 16,205 bytes, lines 1-363
1/* Modernizr 2.6.2 (Custom Build) | MIT & BSD 2 * Build: http://modernizr.com/download/#-csstransitions-touch-shiv-cssclasses-prefixed-teststyles-testprop-testallprops-prefixes-domprefixes-load 3 */ 4; 5window.Modernizr = function (a, b, c) { 6 function z(a) { 7 j.cssText = a 8 } 9 10 function A(a, b) { 11 return z(m.join(a + ";") + (b || "")) 12 } 13 14 function B(a, b) { 15 return typeof a === b 16 } 17 18 function C(a, b) { 19 return !!~("" + a).indexOf(b) 20 } 21 22 function D(a, b) { 23 for (var d in a) { 24 var e = a[d]; 25 if (!C(e, "-") && j[e] !== c) return b == "pfx" ? e : !0 26 } 27 return !1 28 } 29 30 function E(a, b, d) { 31 for (var e in a) { 32 var f = b[a[e]]; 33 if (f !== c) return d === !1 ? a[e] : B(f, "function") ? f.bind(d || b) : f 34 } 35 return !1 36 } 37 38 function F(a, b, c) { 39 var d = a.charAt(0).toUpperCase() + a.slice(1), 40 e = (a + " " + o.join(d + " ") + d).split(" "); 41 return B(b, "string") || B(b, "undefined") ? D(e, b) : (e = (a + " " + p.join(d + " ") + d).split(" "), E(e, b, c)) 42 } 43 var d = "2.6.2", 44 e = {}, 45 f = !0, 46 g = b.documentElement, 47 h = "modernizr", 48 i = b.createElement(h), 49 j = i.style, 50 k, l = {}.toString, 51 m = " -webkit- -moz- -o- -ms- ".split(" "), 52 n = "Webkit Moz O ms", 53 o = n.split(" "), 54 p = n.toLowerCase().split(" "), 55 q = {}, 56 r = {}, 57 s = {}, 58 t = [], 59 u = t.slice, 60 v, w = function (a, c, d, e) { 61 var f, i, j, k, l = b.createElement("div"), 62 m = b.body, 63 n = m || b.createElement("body"); 64 if (parseInt(d, 10)) 65 while (d--) j = b.createElement("div"), j.id = e ? e[d] : h + (d + 1), l.appendChild(j); 66 return f = ["­", '<style id="s', h, '">', a, "</style>"].join(""), l.id = h, (m ? l : n).innerHTML += f, n.appendChild(l), m || (n.style.background = "", n.style.overflow = "hidden", k = g.style.overflow, g.style.overflow = "hidden", g.appendChild(n)), i = c(l, a), m ? l.parentNode.removeChild(l) : (n.parentNode.removeChild(n), g.style.overflow = k), !!i 67 }, 68 x = {}.hasOwnProperty, 69 y; 70 !B(x, "undefined") && !B(x.call, "undefined") ? y = function (a, b) { 71 return x.call(a, b) 72 } : y = function (a, b) { 73 return b in a && B(a.constructor.prototype[b], "undefined") 74 }, Function.prototype.bind || (Function.prototype.bind = function (b) { 75 var c = this; 76 if (typeof c != "function") throw new TypeError; 77 var d = u.call(arguments, 1), 78 e = function () { 79 if (this instanceof e) { 80 var a = function () {}; 81 a.prototype = c.prototype; 82 var f = new a, 83 g = c.apply(f, d.concat(u.call(arguments))); 84 return Object(g) === g ? g : f 85 } 86 return c.apply(b, d.concat(u.call(arguments))) 87 }; 88 return e 89 }), q.touch = function () { 90 var c; 91 return "ontouchstart" in a || a.DocumentTouch && b instanceof DocumentTouch ? c = !0 : w(["@media (", m.join("touch-enabled),("), h, ")", "{#modernizr{top:9px;position:absolute}}"].join(""), function (a) { 92 c = a.offsetTop === 9 93 }), c 94 }, q.csstransitions = function () { 95 return F("transition") 96 }; 97 for (var G in q) y(q, G) && (v = G.toLowerCase(), e[v] = q[G](), t.push((e[v] ? "" : "no-") + v)); 98 return e.addTest = function (a, b) { 99 if (typeof a == "object") 100 for (var d in a) y(a, d) && e.addTest(d, a[d]); 101 else { 102 a = a.toLowerCase(); 103 if (e[a] !== c) return e; 104 b = typeof b == "function" ? b() : b, typeof f != "undefined" && f && (g.className += " " + (b ? "" : "no-") + a), e[a] = b 105 } 106 return e 107 }, z(""), i = k = null, 108 function (a, b) { 109 function k(a, b) { 110 var c = a.createElement("p"), 111 d = a.getElementsByTagName("head")[0] || a.documentElement; 112 return c.innerHTML = "x<style>" + b + "</style>", d.insertBefore(c.lastChild, d.firstChild) 113 } 114 115 function l() { 116 var a = r.elements; 117 return typeof a == "string" ? a.split(" ") : a 118 } 119 120 function m(a) { 121 var b = i[a[g]]; 122 return b || (b = {}, h++, a[g] = h, i[h] = b), b 123 } 124 125 function n(a, c, f) { 126 c || (c = b); 127 if (j) return c.createElement(a); 128 f || (f = m(c)); 129 var g; 130 return f.cache[a] ? g = f.cache[a].cloneNode() : e.test(a) ? g = (f.cache[a] = f.createElem(a)).cloneNode() : g = f.createElem(a), g.canHaveChildren && !d.test(a) ? f.frag.appendChild(g) : g 131 } 132 133 function o(a, c) { 134 a || (a = b); 135 if (j) return a.createDocumentFragment(); 136 c = c || m(a); 137 var d = c.frag.cloneNode(), 138 e = 0, 139 f = l(), 140 g = f.length; 141 for (; e < g; e++) d.createElement(f[e]); 142 return d 143 } 144 145 function p(a, b) { 146 b.cache || (b.cache = {}, b.createElem = a.createElement, b.createFrag = a.createDocumentFragment, b.frag = b.createFrag()), a.createElement = function (c) { 147 return r.shivMethods ? n(c, a, b) : b.createElem(c) 148 }, a.createDocumentFragment = Function("h,f", "return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&(" + l().join().replace(/\w+/g, function (a) { 149 return b.createElem(a), b.frag.createElement(a), 'c("' + a + '")' 150 }) + ");return n}")(r, b.frag) 151 } 152 153 function q(a) { 154 a || (a = b); 155 var c = m(a); 156 return r.shivCSS && !f && !c.hasCSS && (c.hasCSS = !!k(a, "article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}")), j || p(a, c), a 157 } 158 var c = a.html5 || {}, 159 d = /^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i, 160 e = /^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i, 161 f, g = "_html5shiv", 162 h = 0, 163 i = {}, 164 j; 165 (function () { 166 try { 167 var a = b.createElement("a"); 168 a.innerHTML = "<xyz></xyz>", f = "hidden" in a, j = a.childNodes.length == 1 || function () { 169 b.createElement("a"); 170 var a = b.createDocumentFragment(); 171 return typeof a.cloneNode == "undefined" || typeof a.createDocumentFragment == "undefined" || typeof a.createElement == "undefined" 172 }() 173 } catch (c) { 174 f = !0, j = !0 175 } 176 })(); 177 var r = { 178 elements: c.elements || "abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video", 179 shivCSS: c.shivCSS !== !1, 180 supportsUnknownElements: j, 181 shivMethods: c.shivMethods !== !1, 182 type: "default", 183 shivDocument: q, 184 createElement: n, 185 createDocumentFragment: o 186 }; 187 a.html5 = r, q(b) 188 }(this, b), e._version = d, e._prefixes = m, e._domPrefixes = p, e._cssomPrefixes = o, e.testProp = function (a) { 189 return D([a]) 190 }, e.testAllProps = F, e.testStyles = w, e.prefixed = function (a, b, c) { 191 return b ? F(a, b, c) : F(a, "pfx") 192 }, g.className = g.className.replace(/(^|\s)no-js(\s|$)/, "$1$2") + (f ? " js " + t.join(" ") : ""), e 193 }(this, this.document), 194 function (a, b, c) { 195 function d(a) { 196 return "[object Function]" == o.call(a) 197 } 198 199 function e(a) { 200 return "string" == typeof a 201 } 202 203 function f() {} 204 205 function g(a) { 206 return !a || "loaded" == a || "complete" == a || "uninitialized" == a 207 } 208 209 function h() { 210 var a = p.shift(); 211 q = 1, a ? a.t ? m(function () { 212 ("c" == a.t ? B.injectCss : B.injectJs)(a.s, 0, a.a, a.x, a.e, 1) 213 }, 0) : (a(), h()) : q = 0 214 } 215 216 function i(a, c, d, e, f, i, j) { 217 function k(b) { 218 if (!o && g(l.readyState) && (u.r = o = 1, !q && h(), l.onload = l.onreadystatechange = null, b)) { 219 "img" != a && m(function () { 220 t.removeChild(l) 221 }, 50); 222 for (var d in y[c]) y[c].hasOwnProperty(d) && y[c][d].onload() 223 } 224 } 225 var j = j || B.errorTimeout, 226 l = b.createElement(a), 227 o = 0, 228 r = 0, 229 u = { 230 t: d, 231 s: c, 232 e: f, 233 a: i, 234 x: j 235 }; 236 1 === y[c] && (r = 1, y[c] = []), "object" == a ? l.data = c : (l.src = c, l.type = a), l.width = l.height = "0", l.onerror = l.onload = l.onreadystatechange = function () { 237 k.call(this, r) 238 }, p.splice(e, 0, u), "img" != a && (r || 2 === y[c] ? (t.insertBefore(l, s ? null : n), m(k, j)) : y[c].push(l)) 239 } 240 241 function j(a, b, c, d, f) { 242 return q = 0, b = b || "j", e(a) ? i("c" == b ? v : u, a, b, this.i++, c, d, f) : (p.splice(this.i++, 0, a), 1 == p.length && h()), this 243 } 244 245 function k() { 246 var a = B; 247 return a.loader = { 248 load: j, 249 i: 0 250 }, a 251 } 252 var l = b.documentElement, 253 m = a.setTimeout, 254 n = b.getElementsByTagName("script")[0], 255 o = {}.toString, 256 p = [], 257 q = 0, 258 r = "MozAppearance" in l.style, 259 s = r && !!b.createRange().compareNode, 260 t = s ? l : n.parentNode, 261 l = a.opera && "[object Opera]" == o.call(a.opera), 262 l = !!b.attachEvent && !l, 263 u = r ? "object" : l ? "script" : "img", 264 v = l ? "script" : u, 265 w = Array.isArray || function (a) { 266 return "[object Array]" == o.call(a) 267 }, 268 x = [], 269 y = {}, 270 z = { 271 timeout: function (a, b) { 272 return b.length && (a.timeout = b[0]), a 273 } 274 }, 275 A, B; 276 B = function (a) { 277 function b(a) { 278 var a = a.split("!"), 279 b = x.length, 280 c = a.pop(), 281 d = a.length, 282 c = { 283 url: c, 284 origUrl: c, 285 prefixes: a 286 }, 287 e, f, g; 288 for (f = 0; f < d; f++) g = a[f].split("="), (e = z[g.shift()]) && (c = e(c, g)); 289 for (f = 0; f < b; f++) c = x[f](c); 290 return c 291 } 292 293 function g(a, e, f, g, h) { 294 var i = b(a), 295 j = i.autoCallback; 296 i.url.split(".").pop().split("?").shift(), i.bypass || (e && (e = d(e) ? e : e[a] || e[g] || e[a.split("/").pop().split("?")[0]]), i.instead ? i.instead(a, e, f, g, h) : (y[i.url] ? i.noexec = !0 : y[i.url] = 1, f.load(i.url, i.forceCSS || !i.forceJS && "css" == i.url.split(".").pop().split("?").shift() ? "c" : c, i.noexec, i.attrs, i.timeout), (d(e) || d(j)) && f.load(function () { 297 k(), e && e(i.origUrl, h, g), j && j(i.origUrl, h, g), y[i.url] = 2 298 }))) 299 } 300 301 function h(a, b) { 302 function c(a, c) { 303 if (a) { 304 if (e(a)) c || (j = function () { 305 var a = [].slice.call(arguments); 306 k.apply(this, a), l() 307 }), g(a, j, b, 0, h); 308 else if (Object(a) === a) 309 for (n in m = function () { 310 var b = 0, 311 c; 312 for (c in a) a.hasOwnProperty(c) && b++; 313 return b 314 }(), a) a.hasOwnProperty(n) && (!c && !--m && (d(j) ? j = function () { 315 var a = [].slice.call(arguments); 316 k.apply(this, a), l() 317 } : j[n] = function (a) { 318 return function () { 319 var b = [].slice.call(arguments); 320 a && a.apply(this, b), l() 321 } 322 }(k[n])), g(a[n], j, b, n, h)) 323 } else !c && l() 324 } 325 var h = !!a.test, 326 i = a.load || a.both, 327 j = a.callback || f, 328 k = j, 329 l = a.complete || f, 330 m, n; 331 c(h ? a.yep : a.nope, !!i), i && c(i) 332 } 333 var i, j, l = this.yepnope.loader; 334 if (e(a)) g(a, 0, l, 0); 335 else if (w(a)) 336 for (i = 0; i < a.length; i++) j = a[i], e(j) ? g(j, 0, l, 0) : w(j) ? B(j) : Object(j) === j && h(j, l); 337 else Object(a) === a && h(a, l) 338 }, B.addPrefix = function (a, b) { 339 z[a] = b 340 }, B.addFilter = function (a) { 341 x.push(a) 342 }, B.errorTimeout = 1e4, null == b.readyState && b.addEventListener && (b.readyState = "loading", b.addEventListener("DOMContentLoaded", A = function () { 343 b.removeEventListener("DOMContentLoaded", A, 0), b.readyState = "complete" 344 }, 0)), a.yepnope = k(), a.yepnope.executeStack = h, a.yepnope.injectJs = function (a, c, d, e, i, j) { 345 var k = b.createElement("script"), 346 l, o, e = e || B.errorTimeout; 347 k.src = a; 348 for (o in d) k.setAttribute(o, d[o]); 349 c = j ? h : c || f, k.onreadystatechange = k.onload = function () { 350 !l && g(k.readyState) && (l = 1, c(), k.onload = k.onreadystatechange = null) 351 }, m(function () { 352 l || (l = 1, c(1)) 353 }, e), i ? k.onload() : n.parentNode.insertBefore(k, n) 354 }, a.yepnope.injectCss = function (a, c, d, e, g, i) { 355 var e = b.createElement("link"), 356 j, c = i ? h : c || f; 357 e.href = a, e.rel = "stylesheet", e.type = "text/css"; 358 for (j in d) e.setAttribute(j, d[j]); 359 g || (n.parentNode.insertBefore(e, n), m(c, 0)) 360 } 361 }(this, document), Modernizr.load = function () { 362 yepnope.apply(window, [].slice.call(arguments, 0)) 363 };
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.