window.Modernizr=function(n,t,i){function nt(n){l.cssText=n}function at(n,t){return nt(w.join(n+";")+(t||""))}function s(n,t){return typeof n===t}function st(n,t){return!!~(""+n).indexOf(t)}function ht(n,t){var u,r;for(u in n)if(r=n[u],!st(r,"-")&&l[r]!==i)return t=="pfx"?r:!0;return!1}function vt(n,t,r){var f,u;for(f in n)if(u=t[n[f]],u!==i)return r===!1?n[f]:s(u,"function")?u.bind(r||t):u;return!1}function h(n,t,i){var r=n.charAt(0).toUpperCase()+n.slice(1),u=(n+" "+ut.join(r+" ")+r).split(" ");return s(t,"string")||s(t,"undefined")?ht(u,t):(u=(n+" "+ft.join(r+" ")+r).split(" "),vt(u,t,i))}function yt(){r.input=function(i){for(var r=0,u=i.length;r<u;r++)a[i[r]]=!!(i[r]in f);return a.list&&(a.list=!!(t.createElement("datalist")&&n.HTMLDataListElement)),a}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" "));r.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=it,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!=it)),ot[n[u]]=!!r;return ot}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var r={},p=!0,o=t.documentElement,e="modernizr",tt=t.createElement(e),l=tt.style,f=t.createElement("input"),it=":)",pt={}.toString,w=" -webkit- -moz- -o- -ms- ".split(" "),rt="Webkit Moz O ms",ut=rt.split(" "),ft=rt.toLowerCase().split(" "),et={svg:"http://www.w3.org/2000/svg"},u={},ot={},a={},b=[],k=b.slice,v,c=function(n,i,r,u){var l,a,c,v,f=t.createElement("div"),h=t.body,s=h||t.createElement("body");if(parseInt(r,10))while(r--)c=t.createElement("div"),c.id=u?u[r]:e+(r+1),f.appendChild(c);return l=["&#173;",'<style id="s',e,'">',n,"<\/style>"].join(""),f.id=e,(h?f:s).innerHTML+=l,s.appendChild(f),h||(s.style.background="",s.style.overflow="hidden",v=o.style.overflow,o.style.overflow="hidden",o.appendChild(s)),a=i(f,n),h?f.parentNode.removeChild(f):(s.parentNode.removeChild(s),o.style.overflow=v),!!a},ct=function(t){var i=n.matchMedia||n.msMatchMedia,r;return i?i(t)&&i(t).matches||!1:(c("@media "+t+" { #"+e+" { position: absolute; } }",function(t){r=(n.getComputedStyle?getComputedStyle(t,null):t.currentStyle).position=="absolute"}),r)},lt=function(){function r(r,u){u=u||t.createElement(n[r]||"div");r="on"+r;var f=r in u;return f||(u.setAttribute||(u=t.createElement("div")),u.setAttribute&&u.removeAttribute&&(u.setAttribute(r,""),f=s(u[r],"function"),s(u[r],"undefined")||(u[r]=i),u.removeAttribute(r))),u=null,f}var n={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return r}(),d={}.hasOwnProperty,g,y;g=s(d,"undefined")||s(d.call,"undefined")?function(n,t){return t in n&&s(n.constructor.prototype[t],"undefined")}:function(n,t){return d.call(n,t)};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});u.touch=function(){var i;return"ontouchstart"in n||n.DocumentTouch&&t instanceof DocumentTouch?i=!0:c(["@media (",w.join("touch-enabled),("),e,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(n){i=n.offsetTop===9}),i};u.geolocation=function(){return"geolocation"in navigator};u.rgba=function(){return nt("background-color:rgba(150,255,150,.5)"),st(l.backgroundColor,"rgba")};u.backgroundsize=function(){return h("backgroundSize")};u.borderradius=function(){return h("borderRadius")};u.boxshadow=function(){return h("boxShadow")};u.textshadow=function(){return t.createElement("div").style.textShadow===""};u.opacity=function(){return at("opacity:.55"),/^0.55$/.test(l.opacity)};u.cssanimations=function(){return h("animationName")};u.csstransforms=function(){return!!h("transform")};u.csstransforms3d=function(){var n=!!h("perspective");return n&&"webkitPerspective"in o.style&&c("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(t){n=t.offsetLeft===9&&t.offsetHeight===3}),n};u.csstransitions=function(){return h("transition")};u.fontface=function(){var n;return c('@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};u.localstorage=function(){try{return localStorage.setItem(e,e),localStorage.removeItem(e),!0}catch(n){return!1}};u.sessionstorage=function(){try{return sessionStorage.setItem(e,e),sessionStorage.removeItem(e),!0}catch(n){return!1}};u.svg=function(){return!!t.createElementNS&&!!t.createElementNS(et.svg,"svg").createSVGRect};u.inlinesvg=function(){var n=t.createElement("div");return n.innerHTML="<svg/>",(n.firstChild&&n.firstChild.namespaceURI)==et.svg};for(y in u)g(u,y)&&(v=y.toLowerCase(),r[v]=u[y](),b.push((r[v]?"":"no-")+v));return r.input||yt(),r.addTest=function(n,t){if(typeof n=="object")for(var u in n)g(n,u)&&r.addTest(u,n[u]);else{if(n=n.toLowerCase(),r[n]!==i)return r;t=typeof t=="function"?t():t;typeof p!="undefined"&&p&&(o.className+=" "+(t?"":"no-")+n);r[n]=t}return r},nt(""),tt=f=null,r._version="2.8.3",r._prefixes=w,r._domPrefixes=ft,r._cssomPrefixes=ut,r.mq=ct,r.hasEvent=lt,r.testProp=function(n){return ht([n])},r.testAllProps=h,r.testStyles=c,o.className=o.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(p?" js "+b.join(" "):""),r}(this,this.document),function(n,t){function a(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=l[n[c]];return t||(t={},h++,n[c]=h,l[h]=t),t}function v(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():b.test(n)?(u.cache[n]=u.createElem(n)).cloneNode():u.createElem(n),e.canHaveChildren&&!w.test(n)&&!e.tagUrn?u.frag.appendChild(e):e}function k(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 d(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?v(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 y(n){n||(n=t);var u=f(n);return!i.shivCSS||s||u.hasCSS||(u.hasCSS=!!a(n,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),r||d(n,u),n}function tt(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(it(t)));return f}function it(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 rt(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 ut(n){for(var t=n.length;t--;)n[t].removeNode()}function p(n){function s(){clearTimeout(i._removeSheetTimer);t&&t.removeNode(!0);t=null}var t,r,i=f(n),u=n.namespaces,o=n.parentWindow;return!nt||n.printShived?n:(typeof u[e]=="undefined"&&u.add(e),o.attachEvent("onbeforeprint",function(){s();for(var e,o,u,c=n.styleSheets,f=[],i=c.length,h=Array(i);i--;)h[i]=c[i];while(u=h.pop())if(!u.disabled&&g.test(u.media)){try{e=u.imports;o=e.length}catch(l){o=0}for(i=0;i<o;i++)h.push(e[i]);try{f.push(u.cssText)}catch(l){}}f=rt(f.reverse().join(""));r=tt(n);t=a(n,f)}),o.attachEvent("onafterprint",function(){ut(r);clearTimeout(i._removeSheetTimer);i._removeSheetTimer=setTimeout(s,500)}),n.printShived=!0,n)}var o=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,s,c="_html5shiv",h=0,l={},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:y,createElement:v,createDocumentFragment:k};n.html5=i;y(t);var g=/^$|\b(?:all|print)\b/,e="html5shiv",nt=!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=p;p(t)}(this,document);Modernizr.addTest("placeholder",function(){return!!("placeholder"in(Modernizr.input||document.createElement("input"))&&"placeholder"in(Modernizr.textarea||document.createElement("textarea")))})