window.Modernizr=function(i,f,m){function o(a,c){return typeof a===c}function q(a,c){for(var e in a)if(h[a[e]]!==m)return c=="pfx"?a[e]:true;return false}function k(a,c){var e=a.charAt(0).toUpperCase()+a.substr(1),e=(a+" "+l.join(e+" ")+e).split(" ");return q(e,c)}function E(){d.input=function(a){for(var c=0,e=a.length;c<e;c++)A[a[c]]=!!(a[c]in g);return A}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" "));d.inputtypes=function(a){for(var c=0,e,b,d=a.length;c<
d;c++){g.setAttribute("type",b=a[c]);if(e=g.type!=="text")g.value=t,g.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(b)&&g.style.WebkitAppearance!==m?(j.appendChild(g),e=f.defaultView,e=e.getComputedStyle&&e.getComputedStyle(g,null).WebkitAppearance!=="textfield"&&g.offsetHeight!==0,j.removeChild(g)):/^(search|tel)$/.test(b)||(/^(url|email)$/.test(b)?e=g.checkValidity&&g.checkValidity()===false:/^color$/.test(b)?(j.appendChild(g),e=g.value!=t,j.removeChild(g)):e=g.value!=t);B[a[c]]=
!!e}return B}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var d={},j=f.documentElement;f.head||f.getElementsByTagName("head");var b=f.createElement("modernizr"),h=b.style,g=f.createElement("input"),t=":)",C=Object.prototype.toString,n=" -webkit- -moz- -o- -ms- -khtml- ".split(" "),l="Webkit Moz O ms Khtml".split(" "),b={},B={},A={},D=[],u,w=function(a,c,e,b){var d,g=f.createElement("div");if(parseInt(e,10))for(;e--;)d=f.createElement("div"),d.id=
b?b[e]:"modernizr"+(e+1),g.appendChild(d);e=["&shy;<style>",a,"</style>"].join("");g.id="modernizr";g.innerHTML+=e;j.appendChild(g);a=c(g,a);g.parentNode.removeChild(g);return!!a},v=function(){var a={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return function(c,e){var e=e||f.createElement(a[c]||"div"),c="on"+c,b=c in e;b||(e.setAttribute||(e=f.createElement("div")),e.setAttribute&&e.removeAttribute&&(e.setAttribute(c,""),b=o(e[c],"function"),o(e[c],
m)||(e[c]=m),e.removeAttribute(c)));return b}}(),x={}.hasOwnProperty,y;y=!o(x,m)&&!o(x.call,m)?function(a,c){return x.call(a,c)}:function(a,c){return c in a&&o(a.constructor.prototype[c],m)};(function(a,c){var b=a.join(""),g=c.length;w(b,function(a,c){for(var b=f.styleSheets[f.styleSheets.length-1],b=b.cssRules&&b.cssRules[0]?b.cssRules[0].cssText:b.cssText||"",e=a.childNodes,h={};g--;)h[e[g].id]=e[g];d.touch="ontouchstart"in i||h.touch.offsetTop===9;d.csstransforms3d=h.csstransforms3d.offsetLeft===
9;d.generatedcontent=h.generatedcontent.offsetHeight>=1;d.fontface=/src/i.test(b)&&b.indexOf(c.split(" ")[0])===0},g,c)})(['@font-face {font-family:"font";src:url("https://")}',["@media (",n.join("touch-enabled),("),"modernizr){#touch{top:9px;position:absolute}}"].join(""),["@media (",n.join("transform-3d),("),"modernizr){#csstransforms3d{left:9px;position:absolute}}"].join(""),['#generatedcontent:after{content:"',t,'";visibility:hidden}'].join("")],["fontface","touch","csstransforms3d","generatedcontent"]);
b.flexbox=function(){var a=f.createElement("div"),c=f.createElement("div"),b="display";b+=":";a.style.cssText=(b+n.join("box;"+b)).slice(0,-b.length)+"width:42px;padding:0;";c.style.cssText=n.join("box-flex:1;")+"width:10px;";a.appendChild(c);j.appendChild(a);b=c.offsetWidth===42;a.removeChild(c);j.removeChild(a);return b};b.canvas=function(){var a=f.createElement("canvas");return!(!a.getContext||!a.getContext("2d"))};b.canvastext=function(){return!(!d.canvas||!o(f.createElement("canvas").getContext("2d").fillText,
"function"))};b.webgl=function(){return!!i.WebGLRenderingContext};b.touch=function(){return d.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=l.length;++a<c;)if(i[l[a].toLowerCase()+"IndexedDB"])return true;return!!i.indexedDB};b.hashchange=function(){return v("hashchange",i)&&(f.documentMode===m||f.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=l.length;++a<c;)if(i[l[a]+"WebSocket"])return true;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 f.createElement("div").style.textShadow===""};b.opacity=function(){var a=n.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:"+n.join("gradient(linear,left top,right bottom,from(#9f9),to(white));background-image:")+n.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!!q(["transformProperty","WebkitTransform","MozTransform","OTransform","msTransform"])};
b.csstransforms3d=function(){var a=!!q(["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"]);a&&"webkitPerspective"in j.style&&(a=d.csstransforms3d);return a};b.csstransitions=function(){return k("transitionProperty")};b.fontface=function(){return d.fontface};b.generatedcontent=function(){return d.generatedcontent};b.video=function(){var a=f.createElement("video"),c=false;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=f.createElement("audio"),c=false;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 false}};b.sessionstorage=function(){try{return!!sessionStorage.getItem}catch(a){return false}};b.webworkers=function(){return!!i.Worker};b.applicationcache=function(){return!!i.applicationCache};b.svg=function(){return!!f.createElementNS&&!!f.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect};b.inlinesvg=function(){var a=f.createElement("div");a.innerHTML="<svg/>";return(a.firstChild&&a.firstChild.namespaceURI)==
"http://www.w3.org/2000/svg"};b.smil=function(){return!!f.createElementNS&&/SVG/.test(C.call(f.createElementNS("http://www.w3.org/2000/svg","animate")))};b.svgclippaths=function(){return!!f.createElementNS&&/SVG/.test(C.call(f.createElementNS("http://www.w3.org/2000/svg","clipPath")))};for(var z in b)y(b,z)&&(u=z.toLowerCase(),d[u]=b[z](),D.push((d[u]?"":"no-")+u));d.input||E();d.addTest=function(a,c){if(typeof a=="object")for(var b in a)y(a,b)&&d.addTest(b,a[b]);else{a=a.toLowerCase();if(d[a]!==
m)return;c=typeof c=="boolean"?c:!!c();j.className+=" "+(c?"":"no-")+a;d[a]=c}return d};h.cssText="";b=g=null;i.attachEvent&&function(){var a=f.createElement("div");a.innerHTML="<elem></elem>";return a.childNodes.length!==1}()&&function(a,b){function e(a){for(var b=-1;++b<h;)a.createElement(g[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",g=f.split("|"),
h=g.length,i=RegExp("(^|\\s)("+f+")","gi"),j=RegExp("<(/*)("+f+")","gi"),k=/^\s*[\{\}]\s*$/,n=RegExp("(^|[^\\n]*?\\s)("+f+")([^\\n]*)({[\\n\\w\\W]*?})","gi"),o=b.createDocumentFragment(),l=b.documentElement,f=l.firstChild,r=b.createElement("body"),s=b.createElement("style"),q=/print|all/,p;d.getCSS=function(a,b){if(a+""===m)return"";for(var c=-1,e=a.length,f,g=[];++c<e;)f=a[c],f.disabled||(b=f.media||b,q.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=n.exec(a))!=null;)b.push(((k.exec(c[1])?"\n":c[1])+c[2]+c[3]).replace(i,"$1.iepp_$2")+c[4]);return b.join("\n")};d.writeHTML=function(){var a=-1;for(p=p||b.body;++a<h;)for(var d=b.getElementsByTagName(g[a]),e=d.length,f=-1;++f<e;)d[f].className.indexOf("iepp_")<0&&(d[f].className+=" iepp_"+g[a]);o.appendChild(p);l.appendChild(r);r.className=p.className;r.id=p.id;r.innerHTML=p.innerHTML.replace(j,"<$1font")};d._beforePrint=function(){s.styleSheet.cssText=d.parseCSS(d.getCSS(b.styleSheets,"all"));
d.writeHTML()};d.restoreHTML=function(){r.innerHTML="";l.removeChild(r);l.appendChild(p)};d._afterPrint=function(){d.restoreHTML();s.styleSheet.cssText=""};e(b);e(o);if(!d.disablePP)f.insertBefore(s,f.firstChild),s.media="print",s.className="iepp-printshim",a.attachEvent("onbeforeprint",d._beforePrint),a.attachEvent("onafterprint",d._afterPrint)}(i,f);d._version="2.0.6";d._prefixes=n;d._domPrefixes=l;d.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};d.hasEvent=v;d.testProp=function(a){return q([a])};d.testAllProps=k;d.testStyles=w;d.prefixed=function(a){return k(a,"pfx")};j.className=j.className.replace(/\bno-js\b/,"")+(" js "+D.join(" "));return d}(this,this.document);
