window.Modernizr=function(n,t,i){function at(){u.input=function(n){for(var t=0,i=n.length;t7)},r.history=function(){return!!(n.history&&history.pushState)},r.draganddrop=function(){return k("dragstart")&&k("drop")},r.websockets=function(){return"WebSocket"in n},r.rgba=function(){return l("background-color:rgba(150,255,150,.5)"),a(s.backgroundColor,"rgba")},r.hsla=function(){return l("background-color:hsla(120,40%,100%,.5)"),a(s.backgroundColor,"rgba")||a(s.backgroundColor,"hsla")},r.multiplebgs=function(){return l("background:url(//:),url(//:),red url(//:)"),new RegExp("(url\\s*\\(.*?){3}").test(s.background)},r.backgroundsize=function(){return o("backgroundSize")},r.borderimage=function(){return o("borderImage")},r.borderradius=function(){return o("borderRadius","",function(n){return a(n,"orderRadius")})},r.boxshadow=function(){return o("boxShadow")},r.textshadow=function(){return t.createElement("div").style.textShadow===""},r.opacity=function(){return ct("opacity:.55"),/^0.55$/.test(s.opacity)},r.cssanimations=function(){return o("animationName")},r.csscolumns=function(){return o("columnCount")},r.cssgradients=function(){var n="background-image:",t="gradient(linear,left top,right bottom,from(#9f9),to(white));",i="linear-gradient(left top,#9f9, white);";return l((n+h.join(t+n)+h.join(i+n)).slice(0,-n.length)),a(s.backgroundImage,"gradient")},r.cssreflections=function(){return o("boxReflect")},r.csstransforms=function(){return!!g(["transformProperty","WebkitTransform","MozTransform","OTransform","msTransform"])},r.csstransforms3d=function(){var n=!!g(["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"]);return n&&"webkitPerspective"in e.style&&(n=ft("@media ("+h.join("transform-3d),(")+"modernizr)")),n},r.csstransitions=function(){return o("transitionProperty")},r.fontface=function(){var n,u,r=ot||e,i=t.createElement("style"),o=t.implementation||{hasFeature:function(){return!1}},f;return i.type="text/css",r.insertBefore(i,r.firstChild),n=i.sheet||i.styleSheet,f=o.hasFeature("CSS2","")?function(t){if(!n||!t)return!1;var i=!1;try{n.insertRule(t,0),i=/src/i.test(n.cssRules[0].cssText),n.deleteRule(n.cssRules.length-1)}catch(r){}return i}:function(t){return!n||!t?!1:(n.cssText=t,n.cssText.length!==0&&/src/i.test(n.cssText)&&n.cssText.replace(/\r+|\n+/g,"").indexOf(t.split(" ")[0])===0)},u=f('@font-face { font-family: "font"; src: url(data:,); }'),r.removeChild(i),u},r.video=function(){var i=t.createElement("video"),n=!!i.canPlayType,r;return n&&(n=new Boolean(n),n.ogg=i.canPlayType('video/ogg; codecs="theora"'),r='video/mp4; codecs="avc1.42E01E',n.h264=i.canPlayType(r+'"')||i.canPlayType(r+', mp4a.40.2"'),n.webm=i.canPlayType('video/webm; codecs="vp8, vorbis"')),n},r.audio=function(){var i=t.createElement("audio"),n=!!i.canPlayType;return n&&(n=new Boolean(n),n.ogg=i.canPlayType('audio/ogg; codecs="vorbis"'),n.mp3=i.canPlayType("audio/mpeg;"),n.wav=i.canPlayType('audio/wav; codecs="1"'),n.m4a=i.canPlayType("audio/x-m4a;")||i.canPlayType("audio/aac;")),n},r.localstorage=function(){try{return!!localStorage.getItem}catch(n){return!1}},r.sessionstorage=function(){try{return!!sessionStorage.getItem}catch(n){return!1}},r.webWorkers=function(){return!!n.Worker},r.applicationcache=function(){return!!n.applicationCache},r.svg=function(){return!!t.createElementNS&&!!t.createElementNS(y.svg,"svg").createSVGRect},r.inlinesvg=function(){var n=t.createElement("div");return n.innerHTML="",(n.firstChild&&n.firstChild.namespaceURI)==y.svg},r.smil=function(){return!!t.createElementNS&&/SVG/.test(st.call(t.createElementNS(y.svg,"animate")))},r.svgclippaths=function(){return!!t.createElementNS&&/SVG/.test(st.call(t.createElementNS(y.svg,"clipPath")))};for(p in r)w(r,p)&&(v=p.toLowerCase(),u[v]=r[p](),ut.push((u[v]?"":"no-")+v));return u.input||at(),u.crosswindowmessaging=u.postmessage,u.historymanagement=u.history,u.addTest=function(n,t){return n=n.toLowerCase(),u[n]?void 0:(t=!!t(),e.className+=" "+(t?"":"no-")+n,u[n]=t,u)},l(""),tt=f=null,et&&n.attachEvent&&function(){var n=t.createElement("div");return n.innerHTML="",n.childNodes.length!==1}()&&function(n,t){function s(n,t){for(var r=-1,f=n.length,i,u=[];++r