window.Modernizr=function(n,t,i){function l(n){h.cssText=n}function e(n,t){return typeof n===t}function p(n,t){return!!~(""+n).indexOf(t)}function g(n,t){var u,r;for(u in n)if(r=n[u],!p(r,"-")&&h[r]!==i)return"pfx"!=t||r;return!1}function f(n,t,r){var u=n.charAt(0).toUpperCase()+n.slice(1),f=(n+" "+it.join(u+" ")+u).split(" ");return e(t,"string")||e(t,"undefined")?g(f,t):function(n,t,r){var f,u;for(f in n)if(u=t[n[f]],u!==i)return!1===r?n[f]:e(u,"function")?u.bind(r||t):u;return!1}(f=(n+" "+rt.join(u+" ")+u).split(" "),t,r)}var a,w,u={},o=t.documentElement,s="modernizr",nt=t.createElement(s),h=nt.style,ft=":)",et={}.toString,v=" -webkit- -moz- -o- -ms- ".split(" "),tt="Webkit Moz O ms",it=tt.split(" "),rt=tt.toLowerCase().split(" "),ut="http://www.w3.org/2000/svg",r={},b=[],k=b.slice,c=function(n,i,r,u){var l,a,c,v,f=t.createElement("div"),h=t.body,e=h||t.createElement("body");if(parseInt(r,10))for(;r--;)c=t.createElement("div"),c.id=u?u[r]:s+(r+1),f.appendChild(c);return l=["&#173;",'<style id="s',s,'">',n,"<\/style>"].join(""),f.id=s,(h?f:e).innerHTML+=l,e.appendChild(f),h||(e.style.background="",e.style.overflow="hidden",v=o.style.overflow,o.style.overflow="hidden",o.appendChild(e)),a=i(f,n),h?f.parentNode.removeChild(f):(e.parentNode.removeChild(e),o.style.overflow=v),!!a},ot=function(){var n={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return function(r,u){u=u||t.createElement(n[r]||"div");var f=(r="on"+r)in u;return f||(u.setAttribute||(u=t.createElement("div")),u.setAttribute&&u.removeAttribute&&(u.setAttribute(r,""),f=e(u[r],"function"),e(u[r],"undefined")||(u[r]=i),u.removeAttribute(r))),u=null,f}}(),d={}.hasOwnProperty,y;w=e(d,"undefined")||e(d.call,"undefined")?function(n,t){return t in n&&e(n.constructor.prototype[t],"undefined")}:function(n,t){return d.call(n,t)};Function.prototype.bind||(Function.prototype.bind=function(n){var t=this,i,r;if("function"!=typeof t)throw new TypeError;return i=k.call(arguments,1),r=function(){var f,e,u;return this instanceof r?(f=function(){},f.prototype=t.prototype,e=new f,u=t.apply(e,i.concat(k.call(arguments))),Object(u)===u?u:e):t.apply(n,i.concat(k.call(arguments)))},r});r.canvas=function(){var n=t.createElement("canvas");return!!n.getContext&&!!n.getContext("2d")};r.touch=function(){var i;return"ontouchstart"in n||n.DocumentTouch&&t instanceof DocumentTouch?i=!0:c(["@media (",v.join("touch-enabled),("),s,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(n){i=9===n.offsetTop}),i};r.rgba=function(){return l("background-color:rgba(150,255,150,.5)"),p(h.backgroundColor,"rgba")};r.multiplebgs=function(){return l("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(h.background)};r.backgroundsize=function(){return f("backgroundSize")};r.borderimage=function(){return f("borderImage")};r.borderradius=function(){return f("borderRadius")};r.boxshadow=function(){return f("boxShadow")};r.textshadow=function(){return""===t.createElement("div").style.textShadow};r.opacity=function(){return n="opacity:.55",l(v.join(n+";")+(t||"")),/^0.55$/.test(h.opacity);var n,t};r.cssanimations=function(){return f("animationName")};r.cssgradients=function(){var n="background-image:";return l((n+"-webkit- ".split(" ").join("gradient(linear,left top,right bottom,from(#9f9),to(white));"+n)+v.join("linear-gradient(left top,#9f9, white);"+n)).slice(0,-n.length)),p(h.backgroundImage,"gradient")};r.csstransforms=function(){return!!f("transform")};r.csstransforms3d=function(){var n=!!f("perspective");return n&&"webkitPerspective"in o.style&&c("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(t){n=9===t.offsetLeft&&3===t.offsetHeight}),n};r.csstransitions=function(){return f("transition")};r.fontface=function(){var n;return c('@font-face {font-family:"font";src:url("https:///")}',function(i,r){var f=t.getElementById("smodernizr"),u=f.sheet||f.styleSheet,e=u?u.cssRules&&u.cssRules[0]?u.cssRules[0].cssText:u.cssText||"":"";n=/src/i.test(e)&&0===e.indexOf(r.split(" ")[0])}),n};r.generatedcontent=function(){var n;return c(["#",s,"{font:0/0 a}#",s,':after{content:"',ft,'";visibility:hidden;font:3px/1 a}'].join(""),function(t){n=t.offsetHeight>=3}),n};r.video=function(){var i=t.createElement("video"),n=!1;try{(n=!!i.canPlayType)&&((n=new Boolean(n)).ogg=i.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),n.h264=i.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),n.webm=i.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""))}catch(i){}return n};r.audio=function(){var i=t.createElement("audio"),n=!1;try{(n=!!i.canPlayType)&&((n=new Boolean(n)).ogg=i.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),n.mp3=i.canPlayType("audio/mpeg;").replace(/^no$/,""),n.wav=i.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),n.m4a=(i.canPlayType("audio/x-m4a;")||i.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(i){}return n};r.svg=function(){return!!t.createElementNS&&!!t.createElementNS(ut,"svg").createSVGRect};r.svgclippaths=function(){return!!t.createElementNS&&/SVGClipPath/.test(et.call(t.createElementNS(ut,"clipPath")))};for(y in r)w(r,y)&&(a=y.toLowerCase(),u[a]=r[y](),b.push((u[a]?"":"no-")+a));return u.addTest=function(n,t){if("object"==typeof n)for(var r in n)w(n,r)&&u.addTest(r,n[r]);else{if(n=n.toLowerCase(),u[n]!==i)return u;t="function"==typeof t?t():t;o.className+=" "+(t?"":"no-")+n;u[n]=t}return u},l(""),nt=null,u._version="2.8.3",u._prefixes=v,u._domPrefixes=rt,u._cssomPrefixes=it,u.mq=function(t){var r,i=n.matchMedia||n.msMatchMedia;return i?i(t)&&i(t).matches||!1:(c("@media "+t+" { #"+s+" { position: absolute; } }",function(t){r="absolute"==(n.getComputedStyle?getComputedStyle(t,null):t.currentStyle).position}),r)},u.hasEvent=ot,u.testProp=function(n){return g([n])},u.testAllProps=f,u.testStyles=c,u.prefixed=function(n,t,i){return t?f(n,t,i):f(n,"pfx")},o.className=o.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+" js "+b.join(" "),u}(this,this.document)