window.Modernizr=function(f,d,l){function p(a,c){return typeof a===c}function n(a,c){for(var g in a)if(i[a[g]]!==l)return c=="pfx"?a[g]:!0;return!1}function k(a,c){var g=a.charAt(0).toUpperCase()+a.substr(1),g=(a+" "+o.join(g+" ")+g).split(" ");return n(g,c)}function G(){e.input=function(a){for(var c=0,g=a.length;c<g;c++)C[a[c]]=!!(a[c]in h);return C}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" "));e.inputtypes=function(a){for(var c=0,g,b,e=a.length;c<
e;c++){h.setAttribute("type",b=a[c]);if(g=h.type!=="text")h.value=r,h.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(b)&&h.style.WebkitAppearance!==l?(j.appendChild(h),g=d.defaultView,g=g.getComputedStyle&&g.getComputedStyle(h,null).WebkitAppearance!=="textfield"&&h.offsetHeight!==0,j.removeChild(h)):/^(search|tel)$/.test(b)||(/^(url|email)$/.test(b)?g=h.checkValidity&&h.checkValidity()===!1:/^color$/.test(b)?(j.appendChild(h),g=h.value!=r,j.removeChild(h)):g=h.value!=r);D[a[c]]=
!!g}return D}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var e={},j=d.documentElement;d.head||d.getElementsByTagName("head");var b=d.createElement("modernizr"),i=b.style,h=d.createElement("input"),r=":)",E=Object.prototype.toString,m=" -webkit- -moz- -o- -ms- -khtml- ".split(" "),o="Webkit Moz O ms Khtml".split(" "),v={svg:"http://www.w3.org/2000/svg"},b={},D={},C={},F=[],w,y=function(a,c,g,b){var e,f=d.createElement("div");if(parseInt(g,10))for(;g--;)e=
d.createElement("div"),e.id=b?b[g]:"modernizr"+(g+1),f.appendChild(e);g=["&shy;<style>",a,"</style>"].join("");f.id="modernizr";f.innerHTML+=g;j.appendChild(f);a=c(f,a);f.parentNode.removeChild(f);return!!a},x=function(){var a={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return function(c,b){var b=b||d.createElement(a[c]||"div"),c="on"+c,e=c in b;e||(b.setAttribute||(b=d.createElement("div")),b.setAttribute&&b.removeAttribute&&(b.setAttribute(c,""),
e=p(b[c],"function"),p(b[c],l)||(b[c]=l),b.removeAttribute(c)));return e}}(),z={}.hasOwnProperty,A;A=!p(z,l)&&!p(z.call,l)?function(a,c){return z.call(a,c)}:function(a,c){return c in a&&p(a.constructor.prototype[c],l)};(function(a,c){var b=a.join(""),u=c.length;y(b,function(a,c){for(var b=d.styleSheets[d.styleSheets.length-1],b=b.cssText||b.cssRules[0].cssText,g=a.childNodes,h={};u--;)h[g[u].id]=g[u];e.touch="ontouchstart"in f||h.touch.offsetTop===9;e.csstransforms3d=h.csstransforms3d.offsetLeft===
9;e.generatedcontent=h.generatedcontent.offsetHeight>=1;e.fontface=/src/i.test(b)&&b.indexOf(c.split(" ")[0])===0},u,c)})(['@font-face {font-family:"font";src:url("//:")}',["@media (",m.join("touch-enabled),("),"modernizr){#touch{top:9px;position:absolute}}"].join(""),["@media (",m.join("transform-3d),("),"modernizr){#csstransforms3d{left:9px;position:absolute}}"].join(""),['#generatedcontent:after{content:"',r,'"}'].join("")],["fontface","touch","csstransforms3d","generatedcontent"]);b.flexbox=function(){var a=
d.createElement("div"),c=d.createElement("div");(function(a,c,b,g){c+=":";a.style.cssText=(c+m.join(b+";"+c)).slice(0,-c.length)+(g||"")})(a,"display","box","width:42px;padding:0;");c.style.cssText=m.join("box-flex:1;")+"width:10px;";a.appendChild(c);j.appendChild(a);var b=c.offsetWidth===42;a.removeChild(c);j.removeChild(a);return b};b.canvas=function(){var a=d.createElement("canvas");return!(!a.getContext||!a.getContext("2d"))};b.canvastext=function(){return!(!e.canvas||!p(d.createElement("canvas").getContext("2d").fillText,
"function"))};b.webgl=function(){return!!f.WebGLRenderingContext};b.touch=function(){return e.touch};b.geolocation=function(){return!!navigator.geolocation};b.postmessage=function(){return!!f.postMessage};b.websqldatabase=function(){return!!f.openDatabase};b.indexedDB=function(){for(var a=-1,c=o.length;++a<c;)if(f[o[a].toLowerCase()+"IndexedDB"])return!0;return!!f.indexedDB};b.hashchange=function(){return x("hashchange",f)&&(d.documentMode===l||d.documentMode>7)};b.history=function(){return!(!f.history||
!history.pushState)};b.draganddrop=function(){return x("dragstart")&&x("drop")};b.websockets=function(){for(var a=-1,c=o.length;++a<c;)if(f[o[a]+"WebSocket"])return!0;return"WebSocket"in f};b.rgba=function(){i.cssText="background-color:rgba(150,255,150,.5)";return!!~(""+i.backgroundColor).indexOf("rgba")};b.hsla=function(){i.cssText="background-color:hsla(120,40%,100%,.5)";return!!~(""+i.backgroundColor).indexOf("rgba")||!!~(""+i.backgroundColor).indexOf("hsla")};b.multiplebgs=function(){i.cssText=
"background:url(//:),url(//:),red url(//:)";return/(url\s*\(.*?){3}/.test(i.background)};b.backgroundsize=function(){return k("backgroundSize")};b.borderimage=function(){return k("borderImage")};b.borderradius=function(){return k("borderRadius")};b.boxshadow=function(){return k("boxShadow")};b.textshadow=function(){return d.createElement("div").style.textShadow===""};b.opacity=function(){var a=m.join("opacity:.55;")+"";i.cssText=a;return/^0.55$/.test(i.opacity)};b.cssanimations=function(){return k("animationName")};
b.csscolumns=function(){return k("columnCount")};b.cssgradients=function(){var a=("background-image:"+m.join("gradient(linear,left top,right bottom,from(#9f9),to(white));background-image:")+m.join("linear-gradient(left top,#9f9, white);background-image:")).slice(0,-17);i.cssText=a;return!!~(""+i.backgroundImage).indexOf("gradient")};b.cssreflections=function(){return k("boxReflect")};b.csstransforms=function(){return!!n(["transformProperty","WebkitTransform","MozTransform","OTransform","msTransform"])};
b.csstransforms3d=function(){var a=!!n(["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"]);a&&"webkitPerspective"in j.style&&(a=e.csstransforms3d);return a};b.csstransitions=function(){return k("transitionProperty")};b.fontface=function(){return e.fontface};b.generatedcontent=function(){return e.generatedcontent};b.video=function(){var a=d.createElement("video"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('video/ogg; codecs="theora"'),
c.h264=a.canPlayType('video/mp4; codecs="avc1.42E01E"')||a.canPlayType('video/mp4; codecs="avc1.42E01E, mp4a.40.2"'),c.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"')}catch(b){}return c};b.audio=function(){var a=d.createElement("audio"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('audio/ogg; codecs="vorbis"'),c.mp3=a.canPlayType("audio/mpeg;"),c.wav=a.canPlayType('audio/wav; codecs="1"'),c.m4a=a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")}catch(b){}return c};
b.localstorage=function(){try{return!!localStorage.getItem}catch(a){return!1}};b.sessionstorage=function(){try{return!!sessionStorage.getItem}catch(a){return!1}};b.webworkers=function(){return!!f.Worker};b.applicationcache=function(){return!!f.applicationCache};b.svg=function(){return!!d.createElementNS&&!!d.createElementNS(v.svg,"svg").createSVGRect};b.inlinesvg=function(){var a=d.createElement("div");a.innerHTML="<svg/>";return(a.firstChild&&a.firstChild.namespaceURI)==v.svg};b.smil=function(){return!!d.createElementNS&&
/SVG/.test(E.call(d.createElementNS(v.svg,"animate")))};b.svgclippaths=function(){return!!d.createElementNS&&/SVG/.test(E.call(d.createElementNS(v.svg,"clipPath")))};for(var B in b)A(b,B)&&(w=B.toLowerCase(),e[w]=b[B](),F.push((e[w]?"":"no-")+w));e.input||G();e.addTest=function(a,c){if(typeof a=="object")for(var b in a)A(a,b)&&e.addTest(b,a[b]);else{a=a.toLowerCase();if(e[a]!==l)return;c=typeof c=="boolean"?c:!!c();j.className+=" "+(c?"":"no-")+a;e[a]=c}return e};i.cssText="";b=h=null;f.attachEvent&&
function(){var a=d.createElement("div");a.innerHTML="<elem></elem>";return a.childNodes.length!==1}()&&function(a,b){function e(a){for(var b=-1;++b<i;)a.createElement(h[b])}a.iepp=a.iepp||{};var d=a.iepp,f=d.html5elements||"abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",h=f.split("|"),i=h.length,j=RegExp("(^|\\s)("+f+")","gi"),k=RegExp("<(/*)("+f+")","gi"),m=/^\s*[\{\}]\s*$/,p=RegExp("(^|[^\\n]*?\\s)("+
f+")([^\\n]*)({[\\n\\w\\W]*?})","gi"),o=b.createDocumentFragment(),n=b.documentElement,f=n.firstChild,s=b.createElement("body"),t=b.createElement("style"),r=/print|all/,q;d.getCSS=function(a,b){if(a+""===l)return"";for(var c=-1,e=a.length,f,g=[];++c<e;)f=a[c],f.disabled||(b=f.media||b,r.test(b)&&g.push(d.getCSS(f.imports,b),f.cssText),b="all");return g.join("")};d.parseCSS=function(a){for(var b=[],c;(c=p.exec(a))!=null;)b.push(((m.exec(c[1])?"\n":c[1])+c[2]+c[3]).replace(j,"$1.iepp_$2")+c[4]);return b.join("\n")};
d.writeHTML=function(){var a=-1;for(q=q||b.body;++a<i;)for(var d=b.getElementsByTagName(h[a]),e=d.length,f=-1;++f<e;)d[f].className.indexOf("iepp_")<0&&(d[f].className+=" iepp_"+h[a]);o.appendChild(q);n.appendChild(s);s.className=q.className;s.id=q.id;s.innerHTML=q.innerHTML.replace(k,"<$1font")};d._beforePrint=function(){t.styleSheet.cssText=d.parseCSS(d.getCSS(b.styleSheets,"all"));d.writeHTML()};d.restoreHTML=function(){s.innerHTML="";n.removeChild(s);n.appendChild(q)};d._afterPrint=function(){d.restoreHTML();
t.styleSheet.cssText=""};e(b);e(o);if(!d.disablePP)f.insertBefore(t,f.firstChild),t.media="print",t.className="iepp-printshim",a.attachEvent("onbeforeprint",d._beforePrint),a.attachEvent("onafterprint",d._afterPrint)}(f,d);e._version="2.0";e._prefixes=m;e._domPrefixes=o;e.mq=function(a){if(f.matchMedia)return matchMedia(a).matches;var b;y("@media "+a+" { #modernizr { position: absolute; } }",function(a){b=(f.getComputedStyle?getComputedStyle(a,null):a.currentStyle).position=="absolute"});return b};
e.hasEvent=x;e.testProp=function(a){return n([a])};e.testAllProps=k;e.testStyles=y;e.prefixed=function(a){return k(a,"pfx")};j.className=j.className.replace(/\bno-js\b/,"")+(" js "+F.join(" "));return e}(this,this.document);
