vendor: 4,661 bytes, lines 1-3
1/*! modernizr 3.0.0-alpha.4 (Custom Build) | MIT * 2 * http://modernizr.com/download/#-appearance-bgpositionshorthand-borderradius-boxshadow-boxsizing-cssanimations-csscalc-cssgradients-cssvhunit-cssvwunit-fontface-hsla-inlinesvg-mediaqueries-nthchild-opacity-svg-touchevents-video !*/ 3!function(e,t,n){function o(e,t){return typeof e===t}function r(){var e,t,n,r,s,i,a;for(var d in w){if(e=[],t=w[d],t.name&&(e.push(t.name.toLowerCase()),t.options&&t.options.aliases&&t.options.aliases.length))for(n=0;n<t.options.aliases.length;n++)e.push(t.options.aliases[n].toLowerCase());for(r=o(t.fn,'function')?t.fn():t.fn,s=0;s<e.length;s++)i=e[s],a=i.split('.'),1===a.length?Modernizr[a[0]]=r:(!Modernizr[a[0]]||Modernizr[a[0]]instanceof Boolean||(Modernizr[a[0]]=new Boolean(Modernizr[a[0]])),Modernizr[a[0]][a[1]]=r),y.push((r?'':'no-')+a.join('-'))}}function s(e){var t=T.className,n=Modernizr._config.classPrefix||'';if(x&&(t=t.baseVal),Modernizr._config.enableJSClass){var o=new RegExp('(^|\\s)'+n+'no-js(\\s|$)');t=t.replace(o,'$1'+n+'js$2')}Modernizr._config.enableClasses&&(t+=' '+n+e.join(' '+n),x?T.className.baseVal=t:T.className=t)}function i(){return'function'!=typeof t.createElement?t.createElement(arguments[0]):x?t.createElementNS.call(t,'http://www.w3.org/2000/svg',arguments[0]):t.createElement.apply(t,arguments)}function a(e,t){return!!~(''+e).indexOf(t)}function d(){var e=t.body;return e||(e=i(x?'svg':'body'),e.fake=!0),e}function l(e,n,o,r){var s,a,l,c,u='modernizr',f=i('div'),p=d();if(parseInt(o,10))for(;o--;)l=i('div'),l.id=r?r[o]:u+(o+1),f.appendChild(l);return s=i('style'),s.type='text/css',s.id='s'+u,(p.fake?p:f).appendChild(s),p.appendChild(f),s.styleSheet?s.styleSheet.cssText=e:s.appendChild(t.createTextNode(e)),f.id=u,p.fake&&(p.style.background='',p.style.overflow='hidden',c=T.style.overflow,T.style.overflow='hidden',T.appendChild(p)),a=n(f,e),p.fake?(p.parentNode.removeChild(p),T.style.overflow=c,T.offsetHeight):f.parentNode.removeChild(f),!!a}function c(e){return e.replace(/([a-z])-([a-z])/g,function(e,t,n){return t+n.toUpperCase()}).replace(/^-/,'')}function u(e,t){return function(){return e.apply(t,arguments)}}function f(e,t,n){var r;for(var s in e)if(e[s]in t)return n===!1?e[s]:(r=t[e[s]],o(r,'function')?u(r,n||t):r);return!1}function p(e){return e.replace(/([A-Z])/g,function(e,t){return'-'+t.toLowerCase()}).replace(/^ms-/,'-ms-')}function m(t,o){var r=t.length;if('CSS'in e&&'supports'in e.CSS){for(;r--;)if(e.CSS.supports(p(t[r]),o))return!0;return!1}if('CSSSupportsRule'in e){for(var s=[];r--;)s.push('('+p(t[r])+':'+o+')');return s=s.join(' or '),l('@supports ('+s+') { #modernizr { position: absolute; } }',function(e){return'absolute'==getComputedStyle(e,null).position})}return n}function h(e,t,r,s){function d(){u&&(delete R.style,delete R.modElem)}if(s=o(s,'undefined')?!1:s,!o(r,'undefined')){var l=m(e,r);if(!o(l,'undefined'))return l}for(var u,f,p,h,g,v=['modernizr','tspan'];!R.style;)u=!0,R.modElem=i(v.shift()),R.style=R.modElem.style;for(p=e.length,f=0;p>f;f++)if(h=e[f],g=R.style[h],a(h,'-')&&(h=c(h)),R.style[h]!==n){if(s||o(r,'undefined'))return d(),'pfx'==t?h:!0;try{R.style[h]=r}catch(y){}if(R.style[h]!=g)return d(),'pfx'==t?h:!0}return d(),!1}function g(e,t,n,r,s){var i=e.charAt(0).toUpperCase()+e.slice(1),a=(e+' '+P.join(i+' ')+i).split(' ');return o(t,'string')||o(t,'undefined')?h(a,t,r,s):(a=(e+' '+k.join(i+' ')+i).split(' '),f(a,t,n))}function v(e,t,o){return g(e,n,n,t,o)}var y=[],w=[],b={_version:'3.0.0-alpha.4',_config:{classPrefix:'',enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,t){var n=this;setTimeout(function(){t(n[e])},0)},addTest:function(e,t,n){w.push({name:e,fn:t,options:n})},addAsyncTest:function(e){w.push({name:null,fn:e})}},Modernizr=function(){};Modernizr.prototype=b,Modernizr=new Modernizr,Modernizr.addTest('svg',!!t.createElementNS&&!!t.createElementNS('http://www.w3.org/2000/svg','svg').createSVGRect);var T=t.documentElement,x='svg'===T.nodeName.toLowerCase();Modernizr.addTest('video',function(){var e=i('video'),t=!1;try{(t=!!e.canPlayType)&&(t=new Boolean(t),t.ogg=e.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,''),t.h264=e.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,''),t.webm=e.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,''),t.vp9=e.canPlayType('video/webm; codecs="vp9"').replace(/^no$/,''),t.hls=e.canPlayType('application/x-mpegURL; codecs="avc1.42E01E"').replace(/^no$/,''))}catch(n){}return t}),Modernizr.addTest('bgpositionshorthand',function(){var e=i('a'),t=e.style,n='right 10px bottom 10px';return t.cssText='background-position: '+n+';',t.backgroundPosition===n}
3),Modernizr.addTest('inlinesvg',function(){var e=i('div');return e.innerHTML='<svg/>','http://www.w3.org/2000/svg'==('undefined'!=typeof SVGRect&&e.firstChild&&e.firstChild.namespaceURI)});var C=b._config.usePrefixes?' -webkit- -moz- -o- -ms- '.split(' '):[];b._prefixes=C,Modernizr.addTest('csscalc',function(){var e='width:',t='calc(10px);',n=i('a');return n.style.cssText=e+C.join(t+e),!!n.style.length}),Modernizr.addTest('cssgradients',function(){var e='background-image:',t='gradient(linear,left top,right bottom,from(#9f9),to(white));',n='linear-gradient(left top,#9f9, white);',o=e+C.join(n+e).slice(0,-e.length);Modernizr._config.usePrefixes&&(o+=e+'-webkit-'+t);var r=i('a'),s=r.style;return s.cssText=o,(''+s.backgroundImage).indexOf('gradient')>-1}),Modernizr.addTest('opacity',function(){var e=i('a').style;return e.cssText=C.join('opacity:.55;'),/^0.55$/.test(e.opacity)}),Modernizr.addTest('hsla',function(){var e=i('a').style;return e.cssText='background-color:hsla(120,40%,100%,.5)',a(e.backgroundColor,'rgba')||a(e.backgroundColor,'hsla')});var S=b.testStyles=l;Modernizr.addTest('touchevents',function(){var n;if('ontouchstart'in e||e.DocumentTouch&&t instanceof DocumentTouch)n=!0;else{var o=['@media (',C.join('touch-enabled),('),'heartz',')','{#modernizr{top:9px;position:absolute}}'].join('');S(o,function(e){n=9===e.offsetTop})}return n});var _=function(){var e=navigator.userAgent,t=e.match(/applewebkit\/([0-9]+)/gi)&&parseFloat(RegExp.$1),n=e.match(/w(eb)?osbrowser/gi),o=e.match(/windows phone/gi)&&e.match(/iemobile\/([0-9])+/gi)&&parseFloat(RegExp.$1)>=9,r=533>t&&e.match(/android/gi);return n||r||o}();_?Modernizr.addTest('fontface',!1):S('@font-face {font-family:"font";src:url("https://")}',function(e,n){var o=t.getElementById('smodernizr'),r=o.sheet||o.styleSheet,s=r?r.cssRules&&r.cssRules[0]?r.cssRules[0].cssText:r.cssText||'':'',i=/src/i.test(s)&&0===s.indexOf(n.split(' ')[0]);Modernizr.addTest('fontface',i)}),S('#modernizr div {width:1px} #modernizr div:nth-child(2n) {width:2px;}',function(e){Modernizr.addTest('nthchild',function(){for(var t=e.getElementsByTagName('div'),n=!0,o=0;5>o;o++)n=n&&t[o].offsetWidth===o%2+1;return n})},5),S('#modernizr { height: 50vh; }',function(t){var n=parseInt(e.innerHeight/2,10),o=parseInt((e.getComputedStyle?getComputedStyle(t,null):t.currentStyle).height,10);Modernizr.addTest('cssvhunit',o==n)}),S('#modernizr { width: 50vw; }',function(t){var n=parseInt(e.innerWidth/2,10),o=parseInt((e.getComputedStyle?getComputedStyle(t,null):t.currentStyle).width,10);Modernizr.addTest('cssvwunit',o==n)});var z=function(){var t=e.matchMedia||e.msMatchMedia;return t?function(e){var n=t(e);return n&&n.matches||!1}:function(t){var n=!1;return l('@media '+t+' { #modernizr { position: absolute; } }',function(t){n='absolute'==(e.getComputedStyle?e.getComputedStyle(t,null):t.currentStyle).position}),n}}();b.mq=z,Modernizr.addTest('mediaqueries',z('only all'));var E='Moz O ms Webkit',P=b._config.usePrefixes?E.split(' '):[];b._cssomPrefixes=P;var k=b._config.usePrefixes?E.toLowerCase().split(' '):[];b._domPrefixes=k;var N={elem:i('modernizr')};Modernizr._q.push(function(){delete N.elem});var R={style:N.elem.style};Modernizr._q.unshift(function(){delete R.style}),b.testAllProps=g,b.testAllProps=v,Modernizr.addTest('cssanimations',v('animationName','a',!0)),Modernizr.addTest('appearance',v('appearance')),Modernizr.addTest('borderradius',v('borderRadius','0px',!0)),Modernizr.addTest('boxshadow',v('boxShadow','1px 1px',!0)),Modernizr.addTest('boxsizing',v('boxSizing','border-box',!0)&&(t.documentMode===n||t.documentMode>7)),r(),s(y),delete b.addTest,delete b.addAsyncTest;for(var j=0;j<Modernizr._q.length;j++)Modernizr._q[j]();e.Modernizr=Modernizr}(window,document);
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.