1/* 2 matchMedia() polyfill - Test a CSS media type/query in JS. Authors & copyright (c) 2012: Scott Jehl, Paul Irish, Nicholas Zakas. Dual MIT/BSD license */ 3(function(){var c=$.event,f;var b=c.special.debouncedresize={setup:function(){$(this).on("resize",b.handler)},teardown:function(){$(this).off("resize",b.handler)},handler:function(d,h){var g=this,a=arguments,e=function(){d.type="debouncedresize";c.dispatch.apply(g,a)};f&&clearTimeout(f);h?e():f=setTimeout(e,b.threshold)},threshold:150}})(); 4window.matchMedia=window.matchMedia||function(c,f){var b,d=c.documentElement,h=d.firstElementChild||d.firstChild,g=c.createElement("body"),a=c.createElement("div");a.id="mq-test-1";a.style.cssText="position:absolute;top:-100em";g.style.background="none";g.appendChild(a);return function(e){a.innerHTML='\x26shy;\x3cstyle media\x3d"'+e+'"\x3e #mq-test-1 { width: 42px; }\x3c/style\x3e';d.insertBefore(g,h);b=42===a.offsetWidth;d.removeChild(g);return{matches:b,media:e}}}(document); 5(function(c){c.picturefill=function(f){void 0===f&&(f=$("body"));$("div[data-picture]",f).each(function(){var b=parseInt($(this).attr("data-picture-width")),d=[],h=[],g=parseInt($(this).parent().width()),a=$("img",this).first();$("div[data-media]",this).each(function(k){k=$(this).attr("data-media");k=parseInt(k.match(/\d/g).join(""));g>=k&&(d.push(this),h.push(this))});if(0===a.length){a=$(this);var e={title:a.attr("data-title")};a.attr("data-alt")?e.alt=a.attr("data-alt"):e.role=a.attr("data-role"); 6a=$("\x3cimg /\x3e").addClass("image-wrap").attr(e).appendTo(a)}d.length?100<=b?(b=d.pop(),a.attr("src",b.getAttribute("data-src"))):0===b&&(b=h.pop(),a.attr("src",b.getAttribute("data-src"))):(b=$("div[data-media]",this).last(),a.attr("src",b.attr("data-src")))})};$(function(){c.picturefill()});$(c).on("debouncedresize",function(){c.picturefill()})})(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.