window.Modernizr=function(j,d,m){function q(a,c){return typeof a===c}function o(a,c){for(var g in a)if(i[a[g]]!==m)return c=="pfx"?a[g]:!0;return!1}function l(a,c){var g=a.charAt(0).toUpperCase()+a.substr(1),g=(a+" "+p.join(g+" ")+g).split(" ");return o(g,c)}function F(){f.input=function(a){for(var c=0,g=a.length;c<g;c++)B[a[c]]=!!(a[c]in e);return B}("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=s,e.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(b)&&e.style.WebkitAppearance!==m?(k.appendChild(e),g=d.defaultView,g=g.getComputedStyle&&g.getComputedStyle(e,null).WebkitAppearance!=="textfield"&&e.offsetHeight!==0,k.removeChild(e)):/^(search|tel)$/.test(b)||(/^(url|email)$/.test(b)?g=e.checkValidity&&e.checkValidity()===!1:/^color$/.test(b)?(k.appendChild(e),g=e.value!=s,k.removeChild(e)):g=e.value!=s);C[a[c]]=
!!g}return C}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var f={},k=d.documentElement;d.head||d.getElementsByTagName("head");var b=d.createElement("modernizr"),i=b.style,e=d.createElement("input"),s=":)",D=Object.prototype.toString,n=" -webkit- -moz- -o- -ms- -khtml- ".split(" "),p="Webkit Moz O ms Khtml".split(" "),b={},C={},B={},E=[],v,x=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;k.appendChild(e);a=c(e,a);e.parentNode.removeChild(e);return!!a},w=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=q(b[c],"function"),q(b[c],
m)||(b[c]=m),b.removeAttribute(c)));return f}}(),y={}.hasOwnProperty,z;z=!q(y,m)&&!q(y.call,m)?function(a,c){return y.call(a,c)}:function(a,c){return c in a&&q(a.constructor.prototype[c],m)};(function(a,c){var b=a.join(""),e=c.length;x(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,i={};e--;)i[g[e].id]=g[e];f.touch="ontouchstart"in j||i.touch.offsetTop===9;f.csstransforms3d=i.csstransforms3d.offsetLeft===
9;f.generatedcontent=i.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 (",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:"',s,'";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+n.join(b+";"+c)).slice(0,-c.length)+(g||"")})(a,"display","box","width:42px;padding:0;");c.style.cssText=n.join("box-flex:1;")+"width:10px;";a.appendChild(c);k.appendChild(a);var b=c.offsetWidth===42;a.removeChild(c);k.removeChild(a);return b};b.canvas=function(){var a=d.createElement("canvas");return!(!a.getContext||!a.getContext("2d"))};b.canvastext=function(){return!(!f.canvas||
!q(d.createElement("canvas").getContext("2d").fillText,"function"))};b.webgl=function(){return!!j.WebGLRenderingContext};b.touch=function(){return f.touch};b.geolocation=function(){return!!navigator.geolocation};b.postmessage=function(){return!!j.postMessage};b.websqldatabase=function(){return!!j.openDatabase};b.indexedDB=function(){for(var a=-1,c=p.length;++a<c;)if(j[p[a].toLowerCase()+"IndexedDB"])return!0;return!!j.indexedDB};b.hashchange=function(){return w("hashchange",j)&&(d.documentMode===
m||d.documentMode>7)};b.history=function(){return!(!j.history||!history.pushState)};b.draganddrop=function(){return w("dragstart")&&w("drop")};b.websockets=function(){for(var a=-1,c=p.length;++a<c;)if(j[p[a]+"WebSocket"])return!0;return"WebSocket"in j};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(https://),url(https://),red url(https://)";return/(url\s*\(.*?){3}/.test(i.background)};b.backgroundsize=function(){return l("backgroundSize")};b.borderimage=function(){return l("borderImage")};b.borderradius=function(){return l("borderRadius")};b.boxshadow=function(){return l("boxShadow")};b.textshadow=function(){return d.createElement("div").style.textShadow===""};b.opacity=function(){var a=n.join("opacity:.55;")+"";i.cssText=a;return/^0.55$/.test(i.opacity)};
b.cssanimations=function(){return l("animationName")};b.csscolumns=function(){return l("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);i.cssText=a;return!!~(""+i.backgroundImage).indexOf("gradient")};b.cssreflections=function(){return l("boxReflect")};b.csstransforms=function(){return!!o(["transformProperty","WebkitTransform",
"MozTransform","OTransform","msTransform"])};b.csstransforms3d=function(){var a=!!o(["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"]);a&&"webkitPerspective"in k.style&&(a=f.csstransforms3d);return a};b.csstransitions=function(){return l("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!!j.Worker};b.applicationcache=function(){return!!j.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(D.call(d.createElementNS("http://www.w3.org/2000/svg","animate")))};b.svgclippaths=function(){return!!d.createElementNS&&/SVG/.test(D.call(d.createElementNS("http://www.w3.org/2000/svg","clipPath")))};for(var A in b)z(b,A)&&(v=A.toLowerCase(),f[v]=b[A](),E.push((f[v]?"":"no-")+v));f.input||F();f.addTest=function(a,c){if(typeof a=="object")for(var b in a)z(a,b)&&f.addTest(b,a[b]);else{a=
a.toLowerCase();if(f[a]!==m)return;c=typeof c=="boolean"?c:!!c();k.className+=" "+(c?"":"no-")+a;f[a]=c}return f};i.cssText="";b=e=null;j.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<j;)a.createElement(i[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|source|summary|time|video",
i=e.split("|"),j=i.length,k=RegExp("(^|\\s)("+e+")","gi"),l=RegExp("<(/*)("+e+")","gi"),n=/^\s*[\{\}]\s*$/,q=RegExp("(^|[^\\n]*?\\s)("+e+")([^\\n]*)({[\\n\\w\\W]*?})","gi"),p=b.createDocumentFragment(),o=b.documentElement,e=o.firstChild,t=b.createElement("body"),u=b.createElement("style"),s=/print|all/,r;d.getCSS=function(a,b){if(a+""===m)return"";for(var c=-1,f=a.length,e,g=[];++c<f;)e=a[c],e.disabled||(b=e.media||b,s.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=q.exec(a))!=null;)b.push(((n.exec(c[1])?"\n":c[1])+c[2]+c[3]).replace(k,"$1.iepp_$2")+c[4]);return b.join("\n")};d.writeHTML=function(){var a=-1;for(r=r||b.body;++a<j;)for(var d=b.getElementsByTagName(i[a]),f=d.length,e=-1;++e<f;)d[e].className.indexOf("iepp_")<0&&(d[e].className+=" iepp_"+i[a]);p.appendChild(r);o.appendChild(t);t.className=r.className;t.id=r.id;t.innerHTML=r.innerHTML.replace(l,"<$1font")};d._beforePrint=function(){u.styleSheet.cssText=d.parseCSS(d.getCSS(b.styleSheets,
"all"));d.writeHTML()};d.restoreHTML=function(){t.innerHTML="";o.removeChild(t);o.appendChild(r)};d._afterPrint=function(){d.restoreHTML();u.styleSheet.cssText=""};f(b);f(p);if(!d.disablePP)e.insertBefore(u,e.firstChild),u.media="print",u.className="iepp-printshim",a.attachEvent("onbeforeprint",d._beforePrint),a.attachEvent("onafterprint",d._afterPrint)}(j,d);f._version="2.0.6";f._prefixes=n;f._domPrefixes=p;f.mq=function(a){if(j.matchMedia)return matchMedia(a).matches;var b;x("@media "+a+" { #modernizr { position: absolute; } }",
function(a){b=(j.getComputedStyle?getComputedStyle(a,null):a.currentStyle).position=="absolute"});return b};f.hasEvent=w;f.testProp=function(a){return o([a])};f.testAllProps=l;f.testStyles=x;f.prefixed=function(a){return l(a,"pfx")};k.className=k.className.replace(/\bno-js\b/,"")+(" js "+E.join(" "));return f}(this,this.document);var docElement=window.document.documentElement,inputElem=document.createElement("input");inputElem.setAttribute("type","submit");inputElem.setAttribute("style","padding:0;line-height:1;font-size:12px;border:0;visibility:hidden");docElement.appendChild(inputElem);var h=inputElem.offsetHeight;h>12&&(docElement.className+=" fatsubmit");docElement.removeChild(inputElem);

