1/*! Respond.js v1.4.2: min/max-width media query polyfill 2 * Copyright 2014 Scott Jehl 3 * Licensed under MIT 4 * http://j.mp/respondjs */ 5 6(!(function (a) { 7 "use strict"; 8 a.matchMedia = 9 a.matchMedia || 10 (function (a) { 11 var b, 12 c = a.documentElement, 13 d = c.firstElementChild || c.firstChild, 14 e = a.createElement("body"), 15 f = a.createElement("div"); 16 return ( 17 (f.id = "mq-test-1"), 18 (f.style.cssText = "position:absolute;top:-100em"), 19 (e.style.background = "none"), 20 e.appendChild(f), 21 function (a) { 22 return ((f.innerHTML = '­<style media="' + a + '"> #mq-test-1 { width: 42px; }</style>'), c.insertBefore(e, d), (b = 42 === f.offsetWidth), c.removeChild(e), { matches: b, media: a }); 23 } 24 ); 25 })(a.document); 26})(this), 27 (function (a) { 28 "use strict"; 29 function b() { 30 v(!0); 31 } 32 var c = {}; 33 ((a.respond = c), (c.update = function () {})); 34 var d = [], 35 e = (function () { 36 var b = !1; 37 try { 38 b = new a.XMLHttpRequest(); 39 } catch (c) { 40 b = new a.ActiveXObject("Microsoft.XMLHTTP"); 41 } 42 return function () { 43 return b; 44 }; 45 })(), 46 f = function (a, b) { 47 var c = e(); 48 c && 49 (c.open("GET", a, !0), 50 (c.onreadystatechange = function () { 51 4 !== c.readyState || (200 !== c.status && 304 !== c.status) || b(c.responseText); 52 }), 53 4 !== c.readyState && c.send(null)); 54 }, 55 g = function (a) { 56 return a.replace(c.regex.minmaxwh, "").match(c.regex.other); 57 }; 58 if ( 59 ((c.ajax = f), 60 (c.queue = d), 61 (c.unsupportedmq = g), 62 (c.regex = { 63 media: /@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi, 64 keyframes: /@(?:\-(?:o|moz|webkit)\-)?keyframes[^\{]+\{(?:[^\{\}]*\{[^\}\{]*\})+[^\}]*\}/gi, 65 comments: /\/\*[^*]*\*+([^/][^*]*\*+)*\//gi, 66 urls: /(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g, 67 findStyles: /@media *([^\{]+)\{([\S\s]+?)$/, 68 only: /(only\s+)?([a-zA-Z]+)\s?/, 69 minw: /\(\s*min\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/, 70 maxw: /\(\s*max\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/, 71 minmaxwh: /\(\s*m(in|ax)\-(height|width)\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/gi, 72 other: /\([^\)]*\)/g, 73 }), 74 (c.mediaQueriesSupported = a.matchMedia && null !== a.matchMedia("only all") && a.matchMedia("only all").matches), 75 !c.mediaQueriesSupported) 76 ) { 77 var h, 78 i, 79 j, 80 k = a.document, 81 l = k.documentElement, 82 m = [], 83 n = [], 84 o = [], 85 p = {}, 86 q = 30, 87 r = k.getElementsByTagName("head")[0] || l, 88 s = k.getElementsByTagName("base")[0], 89 t = r.getElementsByTagName("link"), 90 u = function () { 91 var a, 92 b = k.createElement("div"), 93 c = k.body, 94 d = l.style.fontSize, 95 e = c && c.style.fontSize, 96 f = !1; 97 return ((b.style.cssText = "position:absolute;font-size:1em;width:1em"), c || ((c = f = k.createElement("body")), (c.style.background = "none")), (l.style.fontSize = "100%"), (c.style.fontSize = "100%"), c.appendChild(b), f && l.insertBefore(c, l.firstChild), (a = b.offsetWidth), f ? l.removeChild(c) : c.removeChild(b), (l.style.fontSize = d), e && (c.style.fontSize = e), (a = j = parseFloat(a))); 98 }, 99 v = function (b) { 100 var c = "clientWidth", 101 d = l[c], 102 e = ("CSS1Compat" === k.compatMode && d) || k.body[c] || d,
103 f = {}, 104 g = t[t.length - 1], 105 p = new Date().getTime(); 106 if (b && h && q > p - h) return (a.clearTimeout(i), (i = a.setTimeout(v, q)), void 0); 107 h = p; 108 for (var s in m) 109 if (m.hasOwnProperty(s)) { 110 var w = m[s], 111 x = w.minw, 112 y = w.maxw, 113 z = null === x, 114 A = null === y, 115 B = "em"; 116 (x && (x = parseFloat(x) * (x.indexOf(B) > -1 ? j || u() : 1)), y && (y = parseFloat(y) * (y.indexOf(B) > -1 ? j || u() : 1)), (w.hasquery && ((z && A) || !(z || e >= x) || !(A || y >= e))) || (f[w.media] || (f[w.media] = []), f[w.media].push(n[w.rules]))); 117 } 118 for (var C in o) o.hasOwnProperty(C) && o[C] && o[C].parentNode === r && r.removeChild(o[C]); 119 o.length = 0; 120 for (var D in f) 121 if (f.hasOwnProperty(D)) { 122 var E = k.createElement("style"), 123 F = f[D].join("\n"); 124 ((E.type = "text/css"), (E.media = D), r.insertBefore(E, g.nextSibling), E.styleSheet ? (E.styleSheet.cssText = F) : E.appendChild(k.createTextNode(F)), o.push(E)); 125 } 126 }, 127 w = function (a, b, d) { 128 var e = a.replace(c.regex.comments, "").replace(c.regex.keyframes, "").match(c.regex.media), 129 f = (e && e.length) || 0; 130 b = b.substring(0, b.lastIndexOf("/")); 131 var h = function (a) { 132 return a.replace(c.regex.urls, "$1" + b + "$2$3"); 133 }, 134 i = !f && d; 135 (b.length && (b += "/"), i && (f = 1)); 136 for (var j = 0; f > j; j++) { 137 var k, l, o, p; 138 (i ? ((k = d), n.push(h(a))) : ((k = e[j].match(c.regex.findStyles) && RegExp.$1), n.push(RegExp.$2 && h(RegExp.$2))), (o = k.split(",")), (p = o.length)); 139 for (var q = 0; p > q; q++) ((l = o[q]), g(l) || m.push({ media: (l.split("(")[0].match(c.regex.only) && RegExp.$2) || "all", rules: n.length - 1, hasquery: l.indexOf("(") > -1, minw: l.match(c.regex.minw) && parseFloat(RegExp.$1) + (RegExp.$2 || ""), maxw: l.match(c.regex.maxw) && parseFloat(RegExp.$1) + (RegExp.$2 || "") })); 140 } 141 v(); 142 }, 143 x = function () { 144 if (d.length) { 145 var b = d.shift(); 146 f(b.href, function (c) { 147 (w(c, b.href, b.media), 148 (p[b.href] = !0), 149 a.setTimeout(function () { 150 x(); 151 }, 0)); 152 }); 153 } 154 }, 155 y = function () { 156 for (var b = 0; b < t.length; b++) { 157 var c = t[b], 158 e = c.href, 159 f = c.media, 160 g = c.rel && "stylesheet" === c.rel.toLowerCase(); 161 e && g && !p[e] && (c.styleSheet && c.styleSheet.rawCssText ? (w(c.styleSheet.rawCssText, e, f), (p[e] = !0)) : ((!/^([a-zA-Z:]*\/\/)/.test(e) && !s) || e.replace(RegExp.$1, "").split("/")[0] === a.location.host) && ("//" === e.substring(0, 2) && (e = a.location.protocol + e), d.push({ href: e, media: f }))); 162 } 163 x(); 164 }; 165 (y(), (c.update = y), (c.getEmValue = u), a.addEventListener ? a.addEventListener("resize", b, !1) : a.attachEvent && a.attachEvent("onresize", b)); 166 } 167 })(this));
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.