window.Modernizr=function(i,d,l){function p(a,c){return typeof a===c}function n(a,c){for(var g in a)if(h[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 E(){f.input=function(a){for(var c=0,g=a.length;c<g;c++)A[a[c]]=!!(a[c]in e);return A}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" "));f.inputtypes=function(a){for(var c=0,g,b,f=a.length;c<
f;c++){e.setAttribute("type",b=a[c]);if(g=e.type!=="text")e.value=r,e.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(b)&&e.style.WebkitAppearance!==l?(j.appendChild(e),g=d.defaultView,g=g.getComputedStyle&&g.getComputedStyle(e,null).WebkitAppearance!=="textfield"&&e.offsetHeight!==0,j.removeChild(e)):/^(search|tel)$/.test(b)||(/^(url|email)$/.test(b)?g=e.checkValidity&&e.checkValidity()===!1:/^color$/.test(b)?(j.appendChild(e),g=e.value!=r,j.removeChild(e)):g=e.value!=r);B[a[c]]=
!!g}return B}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var f={},j=d.documentElement;d.head||d.getElementsByTagName("head");var b=d.createElement("modernizr"),h=b.style,e=d.createElement("input"),r=":)",C=Object.prototype.toString,m=" -webkit- -moz- -o- -ms- -khtml- ".split(" "),o="Webkit Moz O ms Khtml".split(" "),b={},B={},A={},D=[],u,w=function(a,c,g,b){var f,e=d.createElement("div");if(parseInt(g,10))for(;g--;)f=d.createElement("div"),f.id=
b?b[g]:"modernizr"+(g+1),e.appendChild(f);g=["&shy;<style>",a,"</style>"].join("");e.id="modernizr";e.innerHTML+=g;j.appendChild(e);a=c(e,a);e.parentNode.removeChild(e);return!!a},v=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,f=c in b;f||(b.setAttribute||(b=d.createElement("div")),b.setAttribute&&b.removeAttribute&&(b.setAttribute(c,""),f=p(b[c],"function"),p(b[c],
l)||(b[c]=l),b.removeAttribute(c)));return f}}(),x={}.hasOwnProperty,y;y=!p(x,l)&&!p(x.call,l)?function(a,c){return x.call(a,c)}:function(a,c){return c in a&&p(a.constructor.prototype[c],l)};(function(a,c){var b=a.join(""),e=c.length;w(b,function(a,c){for(var b=d.styleSheets[d.styleSheets.length-1],b=b.cssRules&&b.cssRules[0]?b.cssRules[0].cssText:b.cssText||"",g=a.childNodes,h={};e--;)h[g[e].id]=g[e];f.touch="ontouchstart"in i||h.touch.offsetTop===9;f.csstransforms3d=h.csstransforms3d.offsetLeft===
9;f.generatedcontent=h.generatedcontent.offsetHeight>=1;f.fontface=/src/i.test(b)&&b.indexOf(c.split(" ")[0])===0},e,c)})(['@font-face {font-family:"font";src:url("https://")}',["@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,'";visibility:hidden}'].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!(!f.canvas||
!p(d.createElement("canvas").getContext("2d").fillText,"function"))};b.webgl=function(){return!!i.WebGLRenderingContext};b.touch=function(){return f.touch};b.geolocation=function(){return!!navigator.geolocation};b.postmessage=function(){return!!i.postMessage};b.websqldatabase=function(){return!!i.openDatabase};b.indexedDB=function(){for(var a=-1,c=o.length;++a<c;)if(i[o[a].toLowerCase()+"IndexedDB"])return!0;return!!i.indexedDB};b.hashchange=function(){return v("hashchange",i)&&(d.documentMode===
l||d.documentMode>7)};b.history=function(){return!(!i.history||!history.pushState)};b.draganddrop=function(){return v("dragstart")&&v("drop")};b.websockets=function(){for(var a=-1,c=o.length;++a<c;)if(i[o[a]+"WebSocket"])return!0;return"WebSocket"in i};b.rgba=function(){h.cssText="background-color:rgba(150,255,150,.5)";return!!~(""+h.backgroundColor).indexOf("rgba")};b.hsla=function(){h.cssText="background-color:hsla(120,40%,100%,.5)";return!!~(""+h.backgroundColor).indexOf("rgba")||!!~(""+h.backgroundColor).indexOf("hsla")};
b.multiplebgs=function(){h.cssText="background:url(https://),url(https://),red url(https://)";return/(url\s*\(.*?){3}/.test(h.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;")+"";h.cssText=a;return/^0.55$/.test(h.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);h.cssText=a;return!!~(""+h.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=f.csstransforms3d);return a};b.csstransitions=function(){return k("transitionProperty")};b.fontface=function(){return f.fontface};b.generatedcontent=function(){return f.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!!i.Worker};b.applicationcache=function(){return!!i.applicationCache};b.svg=function(){return!!d.createElementNS&&!!d.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect};b.inlinesvg=function(){var a=d.createElement("div");a.innerHTML="<svg/>";return(a.firstChild&&
a.firstChild.namespaceURI)=="http://www.w3.org/2000/svg"};b.smil=function(){return!!d.createElementNS&&/SVG/.test(C.call(d.createElementNS("http://www.w3.org/2000/svg","animate")))};b.svgclippaths=function(){return!!d.createElementNS&&/SVG/.test(C.call(d.createElementNS("http://www.w3.org/2000/svg","clipPath")))};for(var z in b)y(b,z)&&(u=z.toLowerCase(),f[u]=b[z](),D.push((f[u]?"":"no-")+u));f.input||E();f.addTest=function(a,c){if(typeof a=="object")for(var b in a)y(a,b)&&f.addTest(b,a[b]);else{a=
a.toLowerCase();if(f[a]!==l)return;c=typeof c=="boolean"?c:!!c();j.className+=" "+(c?"":"no-")+a;f[a]=c}return f};h.cssText="";b=e=null;i.attachEvent&&function(){var a=d.createElement("div");a.innerHTML="<elem></elem>";return a.childNodes.length!==1}()&&function(a,b){function f(a){for(var b=-1;++b<i;)a.createElement(h[b])}a.iepp=a.iepp||{};var d=a.iepp,e=d.html5elements||"abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",
h=e.split("|"),i=h.length,j=RegExp("(^|\\s)("+e+")","gi"),k=RegExp("<(/*)("+e+")","gi"),m=/^\s*[\{\}]\s*$/,p=RegExp("(^|[^\\n]*?\\s)("+e+")([^\\n]*)({[\\n\\w\\W]*?})","gi"),o=b.createDocumentFragment(),n=b.documentElement,e=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,f=a.length,e,g=[];++c<f;)e=a[c],e.disabled||(b=e.media||b,r.test(b)&&g.push(d.getCSS(e.imports,b),e.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]),f=d.length,e=-1;++e<f;)d[e].className.indexOf("iepp_")<0&&(d[e].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=""};f(b);f(o);if(!d.disablePP)e.insertBefore(t,e.firstChild),t.media="print",t.className="iepp-printshim",a.attachEvent("onbeforeprint",d._beforePrint),a.attachEvent("onafterprint",d._afterPrint)}(i,d);f._version="2.0.6";f._prefixes=m;f._domPrefixes=o;f.mq=function(a){if(i.matchMedia)return matchMedia(a).matches;var b;w("@media "+a+" { #modernizr { position: absolute; } }",
function(a){b=(i.getComputedStyle?getComputedStyle(a,null):a.currentStyle).position=="absolute"});return b};f.hasEvent=v;f.testProp=function(a){return n([a])};f.testAllProps=k;f.testStyles=w;f.prefixed=function(a){return k(a,"pfx")};j.className=j.className.replace(/\bno-js\b/,"")+(" js "+D.join(" "));return f}(this,this.document);

