window.Modernizr=function(n,t,i){function h(n){s.cssText=n}function ft(n,t){return h(w.join(n+";")+(t||""))}function e(n,t){return typeof n===t}function l(n,t){return!!~(""+n).indexOf(t)}function nt(n,t){var u,r;for(u in n)if(r=n[u],!l(r,"-")&&s[r]!==i)return t=="pfx"?r:!0;return!1}function et(n,t,r){var f,u;for(f in n)if(u=t[n[f]],u!==i)return r===!1?n[f]:e(u,"function")?u.bind(r||t):u;return!1}function f(n,t,i){var r=n.charAt(0).toUpperCase()+n.slice(1),u=(n+" "+rt.join(r+" ")+r).split(" ");return e(t,"string")||e(t,"undefined")?nt(u,t):(u=(n+" "+ut.join(r+" ")+r).split(" "),et(u,t,i))}var u={},p=!0,o=t.documentElement,c="modernizr",tt=t.createElement(c),s=tt.style,ot,st=":)",ct={}.toString,w=" -webkit- -moz- -o- -ms- ".split(" "),it="Webkit Moz O ms",rt=it.split(" "),ut=it.toLowerCase().split(" "),r={},b=[],k=b.slice,a,v=function(n,i,r,u){var l,a,h,v,f=t.createElement("div"),s=t.body,e=s||t.createElement("body");if(parseInt(r,10))while(r--)h=t.createElement("div"),h.id=u?u[r]:c+(r+1),f.appendChild(h);return l=["&#173;",'<style id="s',c,'">',n,"<\/style>"].join(""),f.id=c,(s?f:e).innerHTML+=l,e.appendChild(f),s||(e.style.background="",e.style.overflow="hidden",v=o.style.overflow,o.style.overflow="hidden",o.appendChild(e)),a=i(f,n),s?f.parentNode.removeChild(f):(e.parentNode.removeChild(e),o.style.overflow=v),!!a},ht=function(){function n(n,u){u=u||t.createElement(r[n]||"div");n="on"+n;var f=n in u;return f||(u.setAttribute||(u=t.createElement("div")),u.setAttribute&&u.removeAttribute&&(u.setAttribute(n,""),f=e(u[n],"function"),e(u[n],"undefined")||(u[n]=i),u.removeAttribute(n))),u=null,f}var r={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return n}(),d={}.hasOwnProperty,g,y;g=!e(d,"undefined")&&!e(d.call,"undefined")?function(n,t){return d.call(n,t)}:function(n,t){return t in n&&e(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=k.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(k.call(arguments))),Object(u)===u?u:e):t.apply(n,i.concat(k.call(arguments)))},r});r.flexbox=function(){return f("flexWrap")};r.flexboxlegacy=function(){return f("boxDirection")};r.canvas=function(){var n=t.createElement("canvas");return!!n.getContext&&!!n.getContext("2d")};r.canvastext=function(){return!!u.canvas&&!!e(t.createElement("canvas").getContext("2d").fillText,"function")};r.geolocation=function(){return"geolocation"in navigator};r.rgba=function(){return h("background-color:rgba(150,255,150,.5)"),l(s.backgroundColor,"rgba")};r.hsla=function(){return h("background-color:hsla(120,40%,100%,.5)"),l(s.backgroundColor,"rgba")||l(s.backgroundColor,"hsla")};r.multiplebgs=function(){return h("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(s.background)};r.backgroundsize=function(){return f("backgroundSize")};r.borderimage=function(){return f("borderImage")};r.borderradius=function(){return f("borderRadius")};r.boxshadow=function(){return f("boxShadow")};r.textshadow=function(){return t.createElement("div").style.textShadow===""};r.opacity=function(){return ft("opacity:.55"),/^0.55$/.test(s.opacity)};r.cssanimations=function(){return f("animationName")};r.csscolumns=function(){return f("columnCount")};r.cssgradients=function(){var n="background-image:";return h((n+"-webkit- ".split(" ").join("gradient(linear,left top,right bottom,from(#9f9),to(white));"+n)+w.join("linear-gradient(left top,#9f9, white);"+n)).slice(0,-n.length)),l(s.backgroundImage,"gradient")};r.cssreflections=function(){return f("boxReflect")};r.csstransforms=function(){return!!f("transform")};r.csstransforms3d=function(){var n=!!f("perspective");return n&&"webkitPerspective"in o.style&&v("@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 f("transition")};r.fontface=function(){var n;return v('@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 v(["#",c,"{font:0/0 a}#",c,':after{content:"',st,'";visibility:hidden;font:3px/1 a}'].join(""),function(t){n=t.offsetHeight>=3}),n};for(y in r)g(r,y)&&(a=y.toLowerCase(),u[a]=r[y](),b.push((u[a]?"":"no-")+a));return u.addTest=function(n,t){if(typeof n=="object")for(var r in n)g(n,r)&&u.addTest(r,n[r]);else{if(n=n.toLowerCase(),u[n]!==i)return u;t=typeof t=="function"?t():t;typeof p!="undefined"&&p&&(o.className+=" "+(t?"":"no-")+n);u[n]=t}return u},h(""),tt=ot=null,function(n,t){function v(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 s(){var n=r.elements;return typeof n=="string"?n.split(" "):n}function u(n){var t=a[n[l]];return t||(t={},o++,n[l]=o,a[o]=t),t}function h(n,r,f){if(r||(r=t),i)return r.createElement(n);f||(f=u(r));var e;return e=f.cache[n]?f.cache[n].cloneNode():b.test(n)?(f.cache[n]=f.createElem(n)).cloneNode():f.createElem(n),e.canHaveChildren&&!w.test(n)&&!e.tagUrn?f.frag.appendChild(e):e}function y(n,r){if(n||(n=t),i)return n.createDocumentFragment();r=r||u(n);for(var e=r.frag.cloneNode(),f=0,o=s(),h=o.length;f<h;f++)e.createElement(o[f]);return e}function p(n,t){t.cache||(t.cache={},t.createElem=n.createElement,t.createFrag=n.createDocumentFragment,t.frag=t.createFrag());n.createElement=function(i){return r.shivMethods?h(i,n,t):t.createElem(i)};n.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+s().join().replace(/[\w\-]+/g,function(n){return t.createElem(n),t.frag.createElement(n),'c("'+n+'")'})+");return n}")(r,t.frag)}function c(n){n||(n=t);var f=u(n);return r.shivCSS&&!e&&!f.hasCSS&&(f.hasCSS=!!v(n,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),i||p(n,f),n}var f=n.html5||{},w=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,b=/^(?: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,e,l="_html5shiv",o=0,a={},i,r;(function(){try{var n=t.createElement("a");n.innerHTML="<xyz><\/xyz>";e="hidden"in n;i=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(r){e=!0;i=!0}})();r={elements:f.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:f.shivCSS!==!1,supportsUnknownElements:i,shivMethods:f.shivMethods!==!1,type:"default",shivDocument:c,createElement:h,createDocumentFragment:y};n.html5=r;c(t)}(this,t),u._version="2.7.1",u._prefixes=w,u._domPrefixes=ut,u._cssomPrefixes=rt,u.hasEvent=ht,u.testProp=function(n){return nt([n])},u.testAllProps=f,u.testStyles=v,o.className=o.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(p?" js "+b.join(" "):""),u}(this,this.document)