window.Modernizr=function(n,t,i){function setCss(n){k.cssText=n}function is(n,t){return typeof n===t}function contains(n,t){return!!~(""+n).indexOf(t)}function testProps(n,t){var u,r;for(u in n)if(r=n[u],!contains(r,"-")&&k[r]!==i)return t=="pfx"?r:!0;return!1}function testDOMProps(n,t,r){var f,u;for(f in n)if(u=t[n[f]],u!==i)return r===!1?n[f]:is(u,"function")?u.bind(r||t):u;return!1}function testPropsAll(n,t,i){var r=n.charAt(0).toUpperCase()+n.slice(1),u=(n+" "+b.join(r+" ")+r).split(" ");return is(t,"string")||is(t,"undefined")?testProps(u,t):(u=(n+" "+d.join(r+" ")+r).split(" "),testDOMProps(u,t,i))}var nt="2.6.2",r={},e=t.documentElement,u="modernizr",p=t.createElement(u),k=p.style,g,tt={}.toString,v=" -webkit- -moz- -o- -ms- ".split(" "),w="Webkit Moz O ms",b=w.split(" "),d=w.toLowerCase().split(" "),f={},it={},rt={},y=[],l=y.slice,h,c=function(n,i,r,f){var v,l,c,a,o=t.createElement("div"),h=t.body,s=h||t.createElement("body");if(parseInt(r,10))while(r--)c=t.createElement("div"),c.id=f?f[r]:u+(r+1),o.appendChild(c);return v=["­",'"].join(""),o.id=u,(h?o:s).innerHTML+=v,s.appendChild(o),h||(s.style.background="",s.style.overflow="hidden",a=e.style.overflow,e.style.overflow="hidden",e.appendChild(s)),l=i(o,n),h?o.parentNode.removeChild(o):(s.parentNode.removeChild(s),e.style.overflow=a),!!l},a={}.hasOwnProperty,s,o;s=is(a,"undefined")||is(a.call,"undefined")?function(n,t){return t in n&&is(n.constructor.prototype[t],"undefined")}:function(n,t){return a.call(n,t)},Function.prototype.bind||(Function.prototype.bind=function(n){var t=this,r,i;if(typeof t!="function")throw new TypeError;return r=l.call(arguments,1),i=function(){var f,e,u;return this instanceof i?(f=function(){},f.prototype=t.prototype,e=new f,u=t.apply(e,r.concat(l.call(arguments))),Object(u)===u)?u:e:t.apply(n,r.concat(l.call(arguments)))},i}),f.touch=function(){var i;return"ontouchstart"in n||n.DocumentTouch&&t instanceof DocumentTouch?i=!0:c(["@media (",v.join("touch-enabled),("),u,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(n){i=n.offsetTop===9}),i},f.csstransforms3d=function(){var n=!!testPropsAll("perspective");return n&&"webkitPerspective"in e.style&&c("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(t){n=t.offsetLeft===9&&t.offsetHeight===3}),n},f.localstorage=function(){try{return localStorage.setItem(u,u),localStorage.removeItem(u),!0}catch(n){return!1}};for(o in f)s(f,o)&&(h=o.toLowerCase(),r[h]=f[o](),y.push((r[h]?"":"no-")+h));return r.addTest=function(n,t){if(typeof n=="object")for(var u in n)s(n,u)&&r.addTest(u,n[u]);else{if(n=n.toLowerCase(),r[n]!==i)return r;t=typeof t=="function"?t():t,typeof enableClasses!="undefined"&&enableClasses&&(e.className+=" "+(t?"":"no-")+n),r[n]=t}return r},setCss(""),p=g=null,r._version=nt,r._prefixes=v,r._domPrefixes=d,r._cssomPrefixes=b,r.testProp=function(n){return testProps([n])},r.testAllProps=testPropsAll,r.testStyles=c,r}(this,this.document)