window.Modernizr=function(n,t,i){function a(n){h.cssText=n}function ct(n,t){return a(y.join(n+";")+(t||""))}function c(n,t){return typeof n===t}function v(n,t){return!!~(""+n).indexOf(t)}function rt(n,t){var u,r;for(u in n)if(r=n[u],!v(r,"-")&&h[r]!==i)return t=="pfx"?r:!0;return!1}function lt(n,t,r){var f,u;for(f in n)if(u=t[n[f]],u!==i)return r===!1?n[f]:c(u,"function")?u.bind(r||t):u;return!1}function e(n,t,i){var r=n.charAt(0).toUpperCase()+n.slice(1),u=(n+" "+et.join(r+" ")+r).split(" ");return c(t,"string")||c(t,"undefined")?rt(u,t):(u=(n+" "+ot.join(r+" ")+r).split(" "),lt(u,t,i))}function at(){u.input=function(i){for(var r=0,u=i.length;r<u;r++)p[i[r]]=i[r]in f;return p.list&&(p.list=!!t.createElement("datalist")&&!!n.HTMLDataListElement),p}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" "));u.inputtypes=function(n){for(var u=0,r,e,s,h=n.length;u<h;u++)f.setAttribute("type",e=n[u]),r=f.type!=="text",r&&(f.value=d,f.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(e)&&f.style.WebkitAppearance!==i?(o.appendChild(f),s=t.defaultView,r=s.getComputedStyle&&s.getComputedStyle(f,null).WebkitAppearance!=="textfield"&&f.offsetHeight!==0,o.removeChild(f)):/^(search|tel)$/.test(e)||(r=/^(url|email)$/.test(e)?f.checkValidity&&f.checkValidity()===!1:f.value!=d)),ht[n[u]]=!!r;return ht}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var u={},k=!0,o=t.documentElement,s="modernizr",ut=t.createElement(s),h=ut.style,f=t.createElement("input"),d=":)",yt={}.toString,y=" -webkit- -moz- -o- -ms- ".split(" "),ft="Webkit Moz O ms",et=ft.split(" "),ot=ft.toLowerCase().split(" "),st={svg:"http://www.w3.org/2000/svg"},r={},ht={},p={},g=[],nt=g.slice,w,l=function(n,i,r,u){var l,a,c,v,f=t.createElement("div"),h=t.body,e=h||t.createElement("body");if(parseInt(r,10))while(r--)c=t.createElement("div"),c.id=u?u[r]:s+(r+1),f.appendChild(c);return l=["&#173;",'<style id="s',s,'">',n,"<\/style>"].join(""),f.id=s,(h?f:e).innerHTML+=l,e.appendChild(f),h||(e.style.background="",e.style.overflow="hidden",v=o.style.overflow,o.style.overflow="hidden",o.appendChild(e)),a=i(f,n),h?f.parentNode.removeChild(f):(e.parentNode.removeChild(e),o.style.overflow=v),!!a},vt=function(t){var i=n.matchMedia||n.msMatchMedia,r;return i?i(t)&&i(t).matches||!1:(l("@media "+t+" { #"+s+" { position: absolute; } }",function(t){r=(n.getComputedStyle?getComputedStyle(t,null):t.currentStyle).position=="absolute"}),r)},tt={}.hasOwnProperty,it,b;it=!c(tt,"undefined")&&!c(tt.call,"undefined")?function(n,t){return tt.call(n,t)}:function(n,t){return t in n&&c(n.constructor.prototype[t],"undefined")};Function.prototype.bind||(Function.prototype.bind=function(n){var t=this,i,r;if(typeof t!="function")throw new TypeError;return i=nt.call(arguments,1),r=function(){var f,e,u;return this instanceof r?(f=function(){},f.prototype=t.prototype,e=new f,u=t.apply(e,i.concat(nt.call(arguments))),Object(u)===u?u:e):t.apply(n,i.concat(nt.call(arguments)))},r});r.flexbox=function(){return e("flexWrap")};r.flexboxlegacy=function(){return e("boxDirection")};r.touch=function(){var i;return"ontouchstart"in n||n.DocumentTouch&&t instanceof DocumentTouch?i=!0:l(["@media (",y.join("touch-enabled),("),s,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(n){i=n.offsetTop===9}),i};r.history=function(){return!!n.history&&!!history.pushState};r.rgba=function(){return a("background-color:rgba(150,255,150,.5)"),v(h.backgroundColor,"rgba")};r.hsla=function(){return a("background-color:hsla(120,40%,100%,.5)"),v(h.backgroundColor,"rgba")||v(h.backgroundColor,"hsla")};r.backgroundsize=function(){return e("backgroundSize")};r.borderradius=function(){return e("borderRadius")};r.boxshadow=function(){return e("boxShadow")};r.textshadow=function(){return t.createElement("div").style.textShadow===""};r.opacity=function(){return ct("opacity:.55"),/^0.55$/.test(h.opacity)};r.cssanimations=function(){return e("animationName")};r.cssgradients=function(){var n="background-image:";return a((n+"-webkit- ".split(" ").join("gradient(linear,left top,right bottom,from(#9f9),to(white));"+n)+y.join("linear-gradient(left top,#9f9, white);"+n)).slice(0,-n.length)),v(h.backgroundImage,"gradient")};r.cssreflections=function(){return e("boxReflect")};r.csstransforms=function(){return!!e("transform")};r.csstransforms3d=function(){var n=!!e("perspective");return n&&"webkitPerspective"in o.style&&l("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(t){n=t.offsetLeft===9&&t.offsetHeight===3}),n};r.csstransitions=function(){return e("transition")};r.fontface=function(){var n;return l('@font-face {font-family:"font";src:url("https://")}',function(i,r){var f=t.getElementById("smodernizr"),u=f.sheet||f.styleSheet,e=u?u.cssRules&&u.cssRules[0]?u.cssRules[0].cssText:u.cssText||"":"";n=/src/i.test(e)&&e.indexOf(r.split(" ")[0])===0}),n};r.generatedcontent=function(){var n;return l(["#",s,"{font:0/0 a}#",s,':after{content:"',d,'";visibility:hidden;font:3px/1 a}'].join(""),function(t){n=t.offsetHeight>=3}),n};r.video=function(){var i=t.createElement("video"),n=!1;try{(n=!!i.canPlayType)&&(n=new Boolean(n),n.ogg=i.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),n.h264=i.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),n.webm=i.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""))}catch(r){}return n};r.audio=function(){var i=t.createElement("audio"),n=!1;try{(n=!!i.canPlayType)&&(n=new Boolean(n),n.ogg=i.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),n.mp3=i.canPlayType("audio/mpeg;").replace(/^no$/,""),n.wav=i.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),n.m4a=(i.canPlayType("audio/x-m4a;")||i.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(r){}return n};r.svg=function(){return!!t.createElementNS&&!!t.createElementNS(st.svg,"svg").createSVGRect};r.inlinesvg=function(){var n=t.createElement("div");return n.innerHTML="<svg/>",(n.firstChild&&n.firstChild.namespaceURI)==st.svg};for(b in r)it(r,b)&&(w=b.toLowerCase(),u[w]=r[b](),g.push((u[w]?"":"no-")+w));return u.input||at(),u.addTest=function(n,t){if(typeof n=="object")for(var r in n)it(n,r)&&u.addTest(r,n[r]);else{if(n=n.toLowerCase(),u[n]!==i)return u;t=typeof t=="function"?t():t;typeof k!="undefined"&&k&&(o.className+=" "+(t?"":"no-")+n);u[n]=t}return u},a(""),ut=f=null,u._version="2.8.1",u._prefixes=y,u._domPrefixes=ot,u._cssomPrefixes=et,u.mq=vt,u.testProp=function(n){return rt([n])},u.testAllProps=e,u.testStyles=l,o.className=o.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(k?" js "+g.join(" "):""),u}(this,this.document),function(n,t){function c(n,t){var i=n.createElement("p"),r=n.getElementsByTagName("head")[0]||n.documentElement;return i.innerHTML="x<style>"+t+"<\/style>",r.insertBefore(i.lastChild,r.firstChild)}function u(){var n=i.elements;return typeof n=="string"?n.split(" "):n}function f(n){var t=p[n[y]];return t||(t={},h++,n[y]=h,p[h]=t),t}function l(n,i,u){if(i||(i=t),r)return i.createElement(n);u||(u=f(i));var e;return e=u.cache[n]?u.cache[n].cloneNode():it.test(n)?(u.cache[n]=u.createElem(n)).cloneNode():u.createElem(n),e.canHaveChildren&&!tt.test(n)&&!e.tagUrn?u.frag.appendChild(e):e}function w(n,i){if(n||(n=t),r)return n.createDocumentFragment();i=i||f(n);for(var o=i.frag.cloneNode(),e=0,s=u(),h=s.length;e<h;e++)o.createElement(s[e]);return o}function b(n,t){t.cache||(t.cache={},t.createElem=n.createElement,t.createFrag=n.createDocumentFragment,t.frag=t.createFrag());n.createElement=function(r){return i.shivMethods?l(r,n,t):t.createElem(r)};n.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+u().join().replace(/\w+/g,function(n){return t.createElem(n),t.frag.createElement(n),'c("'+n+'")'})+");return n}")(i,t.frag)}function a(n){n||(n=t);var u=f(n);return i.shivCSS&&!s&&!u.hasCSS&&(u.hasCSS=!!c(n,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),r||b(n,u),n}function k(n){for(var t,i=n.getElementsByTagName("*"),r=i.length,e=RegExp("^(?:"+u().join("|")+")$","i"),f=[];r--;)t=i[r],e.test(t.nodeName)&&f.push(t.applyElement(d(t)));return f}function d(n){for(var t,r=n.attributes,u=r.length,i=n.ownerDocument.createElement(e+":"+n.nodeName);u--;)t=r[u],t.specified&&i.setAttribute(t.nodeName,t.nodeValue);return i.style.cssText=n.style.cssText,i}function g(n){for(var t,i=n.split("{"),r=i.length,f=RegExp("(^|[\\s,>+~])("+u().join("|")+")(?=[[\\s,>+~#.:]|$)","gi"),o="$1"+e+"\\:$2";r--;)t=i[r]=i[r].split("}"),t[t.length-1]=t[t.length-1].replace(f,o),i[r]=t.join("}");return i.join("{")}function nt(n){for(var t=n.length;t--;)n[t].removeNode()}function v(n){function r(){clearTimeout(i._removeSheetTimer);t&&t.removeNode(!0);t=null}var t,u,i=f(n),o=n.namespaces,s=n.parentWindow;return!ut||n.printShived?n:(typeof o[e]=="undefined"&&o.add(e),s.attachEvent("onbeforeprint",function(){r();for(var o,s,f,l=n.styleSheets,e=[],i=l.length,h=Array(i);i--;)h[i]=l[i];while(f=h.pop())if(!f.disabled&&rt.test(f.media)){try{o=f.imports;s=o.length}catch(a){s=0}for(i=0;i<s;i++)h.push(o[i]);try{e.push(f.cssText)}catch(a){}}e=g(e.reverse().join(""));u=k(n);t=c(n,e)}),s.attachEvent("onafterprint",function(){nt(u);clearTimeout(i._removeSheetTimer);i._removeSheetTimer=setTimeout(r,500)}),n.printShived=!0,n)}var o=n.html5||{},tt=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,it=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,s,y="_html5shiv",h=0,p={},r,i;(function(){try{var n=t.createElement("a");n.innerHTML="<xyz><\/xyz>";s="hidden"in n;r=n.childNodes.length==1||function(){t.createElement("a");var n=t.createDocumentFragment();return typeof n.cloneNode=="undefined"||typeof n.createDocumentFragment=="undefined"||typeof n.createElement=="undefined"}()}catch(i){s=!0;r=!0}})();i={elements:o.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:"3.7.0",shivCSS:o.shivCSS!==!1,supportsUnknownElements:r,shivMethods:o.shivMethods!==!1,type:"default",shivDocument:a,createElement:l,createDocumentFragment:w};n.html5=i;a(t);var rt=/^$|\b(?:all|print)\b/,e="html5shiv",ut=!r&&function(){var i=t.documentElement;return typeof t.namespaces!="undefined"&&typeof t.parentWindow!="undefined"&&typeof i.applyElement!="undefined"&&typeof i.removeNode!="undefined"&&typeof n.attachEvent!="undefined"}();i.type+=" print";i.shivPrint=v;v(t)}(this,document)