window.Modernizr=function(r,d,i){function o(e,t,n,r){var o,a,i,c,s=d.createElement("div"),u=d.body,l=u||d.createElement("body");if(parseInt(n,10))for(;n--;)(i=d.createElement("div")).id=r?r[n]:m+(n+1),s.appendChild(i);return o=["&#173;",'<style id="s',m,'">',e,"</style>"].join(""),s.id=m,(u?s:l).innerHTML+=o,l.appendChild(s),u||(l.style.background="",l.style.overflow="hidden",c=f.style.overflow,f.style.overflow="hidden",f.appendChild(l)),a=t(s,e),u?s.parentNode.removeChild(s):(l.parentNode.removeChild(l),f.style.overflow=c),!!a}var e,a,c,s={},f=d.documentElement,m="modernizr",t=d.createElement(m),u=t.style,l=d.createElement("input"),p=":)",n={}.toString,h=" -webkit- -moz- -o- -ms- ".split(" "),g="Webkit Moz O ms",v=g.split(" "),y=g.toLowerCase().split(" "),b="http://www.w3.org/2000/svg",E={},x={},w={},S=[],C=S.slice,k=(c={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"},function(e,t){t=t||d.createElement(c[e]||"div");var n=(e="on"+e)in t;return n||(t.setAttribute||(t=d.createElement("div")),t.setAttribute&&t.removeAttribute&&(t.setAttribute(e,""),n=M(t[e],"function"),M(t[e],"undefined")||(t[e]=i),t.removeAttribute(e))),t=null,n}),T={}.hasOwnProperty;function N(e){u.cssText=e}function M(e,t){return typeof e===t}function P(e,t){return!!~(""+e).indexOf(t)}function j(e,t){for(var n in e){var r=e[n];if(!P(r,"-")&&u[r]!==i)return"pfx"!=t||r}return!1}function $(e,t,n){var r=e.charAt(0).toUpperCase()+e.slice(1),o=(e+" "+v.join(r+" ")+r).split(" ");return M(t,"string")||M(t,"undefined")?j(o,t):function(e,t,n){for(var r in e){var o=t[e[r]];if(o!==i)return!1===n?e[r]:M(o,"function")?o.bind(n||t):o}return!1}(o=(e+" "+y.join(r+" ")+r).split(" "),t,n)}for(var D in a=M(T,"undefined")||M(T.call,"undefined")?function(e,t){return t in e&&M(e.constructor.prototype[t],"undefined")}:function(e,t){return T.call(e,t)},Function.prototype.bind||(Function.prototype.bind=function(r){var o=this;if("function"!=typeof o)throw new TypeError;var a=C.call(arguments,1),i=function(){if(this instanceof i){function e(){}e.prototype=o.prototype;var t=new e,n=o.apply(t,a.concat(C.call(arguments)));return Object(n)===n?n:t}return o.apply(r,a.concat(C.call(arguments)))};return i}),E.flexbox=function(){return $("flexWrap")},E.flexboxlegacy=function(){return $("boxDirection")},E.canvas=function(){var e=d.createElement("canvas");return!(!e.getContext||!e.getContext("2d"))},E.canvastext=function(){return!(!s.canvas||!M(d.createElement("canvas").getContext("2d").fillText,"function"))},E.webgl=function(){return!!r.WebGLRenderingContext},E.touch=function(){var t;return"ontouchstart"in r||r.DocumentTouch&&d instanceof DocumentTouch?t=!0:o(["@media (",h.join("touch-enabled),("),m,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(e){t=9===e.offsetTop}),t},E.geolocation=function(){return"geolocation"in navigator},E.postmessage=function(){return!!r.postMessage},E.websqldatabase=function(){return!!r.openDatabase},E.indexedDB=function(){return!!$("indexedDB",r)},E.hashchange=function(){return k("hashchange",r)&&(d.documentMode===i||7<d.documentMode)},E.history=function(){return!(!r.history||!history.pushState)},E.draganddrop=function(){var e=d.createElement("div");return"draggable"in e||"ondragstart"in e&&"ondrop"in e},E.websockets=function(){return"WebSocket"in r||"MozWebSocket"in r},E.rgba=function(){return N("background-color:rgba(150,255,150,.5)"),P(u.backgroundColor,"rgba")},E.hsla=function(){return N("background-color:hsla(120,40%,100%,.5)"),P(u.backgroundColor,"rgba")||P(u.backgroundColor,"hsla")},E.multiplebgs=function(){return N("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(u.background)},E.backgroundsize=function(){return $("backgroundSize")},E.borderimage=function(){return $("borderImage")},E.borderradius=function(){return $("borderRadius")},E.boxshadow=function(){return $("boxShadow")},E.textshadow=function(){return""===d.createElement("div").style.textShadow},E.opacity=function(){var e,t;return e="opacity:.55",N(h.join(e+";")+(t||"")),/^0.55$/.test(u.opacity)},E.cssanimations=function(){return $("animationName")},E.csscolumns=function(){return $("columnCount")},E.cssgradients=function(){var e="background-image:";return N((e+"-webkit- ".split(" ").join("gradient(linear,left top,right bottom,from(#9f9),to(white));"+e)+h.join("linear-gradient(left top,#9f9, white);"+e)).slice(0,-e.length)),P(u.backgroundImage,"gradient")},E.cssreflections=function(){return $("boxReflect")},E.csstransforms=function(){return!!$("transform")},E.csstransforms3d=function(){var n=!!$("perspective");return n&&"webkitPerspective"in f.style&&o("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(e,t){n=9===e.offsetLeft&&3===e.offsetHeight}),n},E.csstransitions=function(){return $("transition")},E.fontface=function(){var a;return o('@font-face {font-family:"font";src:url("https://")}',function(e,t){var n=d.getElementById("smodernizr"),r=n.sheet||n.styleSheet,o=r?r.cssRules&&r.cssRules[0]?r.cssRules[0].cssText:r.cssText||"":"";a=/src/i.test(o)&&0===o.indexOf(t.split(" ")[0])}),a},E.generatedcontent=function(){var t;return o(["#",m,"{font:0/0 a}#",m,':after{content:"',p,'";visibility:hidden;font:3px/1 a}'].join(""),function(e){t=3<=e.offsetHeight}),t},E.video=function(){var e=d.createElement("video"),t=!1;try{(t=!!e.canPlayType)&&((t=new Boolean(t)).ogg=e.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),t.h264=e.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),t.webm=e.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""))}catch(e){}return t},E.audio=function(){var e=d.createElement("audio"),t=!1;try{(t=!!e.canPlayType)&&((t=new Boolean(t)).ogg=e.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),t.mp3=e.canPlayType("audio/mpeg;").replace(/^no$/,""),t.wav=e.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),t.m4a=(e.canPlayType("audio/x-m4a;")||e.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(e){}return t},E.localstorage=function(){try{return localStorage.setItem(m,m),localStorage.removeItem(m),!0}catch(e){return!1}},E.sessionstorage=function(){try{return sessionStorage.setItem(m,m),sessionStorage.removeItem(m),!0}catch(e){return!1}},E.webworkers=function(){return!!r.Worker},E.applicationcache=function(){return!!r.applicationCache},E.svg=function(){return!!d.createElementNS&&!!d.createElementNS(b,"svg").createSVGRect},E.inlinesvg=function(){var e=d.createElement("div");return e.innerHTML="<svg/>",(e.firstChild&&e.firstChild.namespaceURI)==b},E.smil=function(){return!!d.createElementNS&&/SVGAnimate/.test(n.call(d.createElementNS(b,"animate")))},E.svgclippaths=function(){return!!d.createElementNS&&/SVGClipPath/.test(n.call(d.createElementNS(b,"clipPath")))},E)a(E,D)&&(e=D.toLowerCase(),s[e]=E[D](),S.push((s[e]?"":"no-")+e));return s.input||(s.input=function(e){for(var t=0,n=e.length;t<n;t++)w[e[t]]=!!(e[t]in l);return w.list&&(w.list=!(!d.createElement("datalist")||!r.HTMLDataListElement)),w}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),s.inputtypes=function(e){for(var t,n,r,o=0,a=e.length;o<a;o++)l.setAttribute("type",n=e[o]),(t="text"!==l.type)&&(l.value=p,l.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(n)&&l.style.WebkitAppearance!==i?(f.appendChild(l),t=(r=d.defaultView).getComputedStyle&&"textfield"!==r.getComputedStyle(l,null).WebkitAppearance&&0!==l.offsetHeight,f.removeChild(l)):/^(search|tel)$/.test(n)||(t=/^(url|email)$/.test(n)?l.checkValidity&&!1===l.checkValidity():l.value!=p)),x[e[o]]=!!t;return x}("search tel url email datetime date month week time datetime-local number range color".split(" "))),s.addTest=function(e,t){if("object"==typeof e)for(var n in e)a(e,n)&&s.addTest(n,e[n]);else{if(e=e.toLowerCase(),s[e]!==i)return s;t="function"==typeof t?t():t,f.className+=" "+(t?"":"no-")+e,s[e]=t}return s},N(""),t=l=null,function(e,s){var u,l,t=e.html5||{},o=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,a=/^(?: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,n="_html5shiv",r=0,i={};function d(){var e=p.elements;return"string"==typeof e?e.split(" "):e}function f(e){var t=i[e[n]];return t||(t={},r++,e[n]=r,i[r]=t),t}function m(e,t,n){return t=t||s,l?t.createElement(e):!(r=(n=n||f(t)).cache[e]?n.cache[e].cloneNode():a.test(e)?(n.cache[e]=n.createElem(e)).cloneNode():n.createElem(e)).canHaveChildren||o.test(e)||r.tagUrn?r:n.frag.appendChild(r);var r}function c(e){var t,n,r,o,a,i,c=f(e=e||s);return!p.shivCSS||u||c.hasCSS||(c.hasCSS=(n="article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}",r=(t=e).createElement("p"),o=t.getElementsByTagName("head")[0]||t.documentElement,r.innerHTML="x<style>"+n+"</style>",!!o.insertBefore(r.lastChild,o.firstChild))),l||(a=e,(i=c).cache||(i.cache={},i.createElem=a.createElement,i.createFrag=a.createDocumentFragment,i.frag=i.createFrag()),a.createElement=function(e){return p.shivMethods?m(e,a,i):i.createElem(e)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+d().join().replace(/[\w\-]+/g,function(e){return i.createElem(e),i.frag.createElement(e),'c("'+e+'")'})+");return n}")(p,i.frag)),e}!function(){try{var e=s.createElement("a");e.innerHTML="<xyz></xyz>",u="hidden"in e,l=1==e.childNodes.length||function(){s.createElement("a");var e=s.createDocumentFragment();return void 0===e.cloneNode||void 0===e.createDocumentFragment||void 0===e.createElement}()}catch(e){l=u=!0}}();var p={elements:t.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:!1!==t.shivCSS,supportsUnknownElements:l,shivMethods:!1!==t.shivMethods,type:"default",shivDocument:c,createElement:m,createDocumentFragment:function(e,t){if(e=e||s,l)return e.createDocumentFragment();for(var n=(t=t||f(e)).frag.cloneNode(),r=0,o=d(),a=o.length;r<a;r++)n.createElement(o[r]);return n}};e.html5=p,c(s)}(this,d),s._version="2.8.3",s._prefixes=h,s._domPrefixes=y,s._cssomPrefixes=v,s.mq=function(e){var t,n=r.matchMedia||r.msMatchMedia;return n?n(e)&&n(e).matches||!1:(o("@media "+e+" { #"+m+" { position: absolute; } }",function(e){t="absolute"==(r.getComputedStyle?getComputedStyle(e,null):e.currentStyle).position}),t)},s.hasEvent=k,s.testProp=function(e){return j([e])},s.testAllProps=$,s.testStyles=o,s.prefixed=function(e,t,n){return t?$(e,t,n):$(e,"pfx")},f.className=f.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+" js "+S.join(" "),s}(this,this.document);
