window.Modernizr=function(n,t,i){function l(n){c.cssText=n}function pt(n,t){return l(a.join(n+";")+(t||""))}function h(n,t){return typeof n===t}function y(n,t){return!!~(""+n).indexOf(t)}function ft(n,t){for(var r in n)if(c[n[r]]!==i)return t=="pfx"?n[r]:!0;return!1}function yt(n,t,r){var f,u;for(f in n)if(u=t[n[f]],u!==i)return r===!1?n[f]:h(u,"function")?u.bind(r||t):u;return!1}function e(n,t,i){var r=n.charAt(0).toUpperCase()+n.substr(1),u=(n+" "+k.join(r+" ")+r).split(" ");return h(t,"string")||h(t,"undefined")?ft(u,t):(u=(n+" "+st.join(r+" ")+r).split(" "),yt(u,t,i))}function lt(){u.input=function(i){for(var r=0,u=i.length;r",n,""].join(""),f.id=o,e.innerHTML+=l,e.appendChild(f),h||(e.style.background="",s.appendChild(e)),a=i(f,n),h?f.parentNode.removeChild(f):e.parentNode.removeChild(e),!!a},wt=function(t){var r=n.matchMedia||n.msMatchMedia,i;return r?r(t).matches:(nt("@media "+t+" { #"+o+" { position: absolute; } }",function(t){i=(n.getComputedStyle?getComputedStyle(t,null):t.currentStyle).position=="absolute"}),i)},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=h(u[n],"function"),h(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}(),tt={}.hasOwnProperty,w,vt,v;w=h(tt,"undefined")||h(tt.call,"undefined")?function(n,t){return t in n&&h(n.constructor.prototype[t],"undefined")}:function(n,t){return tt.call(n,t)},Function.prototype.bind||(Function.prototype.bind=function(n){var t=this,r,i;if(typeof t!="function")throw new TypeError;return r=rt.call(arguments,1),i=function(){var f,e,u;return this instanceof i?(f=function(){},f.prototype=t.prototype,e=new f,u=t.apply(e,r.concat(rt.call(arguments))),Object(u)===u)?u:e:t.apply(n,r.concat(rt.call(arguments)))},i}),vt=function(i,r){var e=i.join(""),f=r.length;nt(e,function(i,r){for(var o=t.styleSheets[t.styleSheets.length-1],s=o?o.cssRules&&o.cssRules[0]?o.cssRules[0].cssText:o.cssText||"":"",h=i.childNodes,e={};f--;)e[h[f].id]=h[f];u.touch="ontouchstart"in n||n.DocumentTouch&&t instanceof DocumentTouch||(e.touch&&e.touch.offsetTop)===9,u.csstransforms3d=(e.csstransforms3d&&e.csstransforms3d.offsetLeft)===9&&e.csstransforms3d.offsetHeight===3,u.generatedcontent=(e.generatedcontent&&e.generatedcontent.offsetHeight)>=1,u.fontface=/src/i.test(s)&&s.indexOf(r.split(" ")[0])===0},f,r)}(['@font-face {font-family:"font";src:url("https://")}',["@media (",a.join("touch-enabled),("),o,")","{#touch{top:9px;position:absolute}}"].join(""),["@media (",a.join("transform-3d),("),o,")","{#csstransforms3d{left:9px;position:absolute;height:3px;}}"].join(""),['#generatedcontent:after{content:"',d,'";visibility:hidden}'].join("")],["fontface","touch","csstransforms3d","generatedcontent"]),r.flexbox=function(){return e("flexOrder")},r["flexbox-legacy"]=function(){return e("boxDirection")},r.canvas=function(){var n=t.createElement("canvas");return!!(n.getContext&&n.getContext("2d"))},r.canvastext=function(){return!!(u.canvas&&h(t.createElement("canvas").getContext("2d").fillText,"function"))},r.webgl=function(){try{var u=t.createElement("canvas"),r;r=!!(n.WebGLRenderingContext&&(u.getContext("experimental-webgl")||u.getContext("webgl"))),u=i}catch(f){r=!1}return r},r.touch=function(){return u.touch},r.geolocation=function(){return!!navigator.geolocation},r.postmessage=function(){return!!n.postMessage},r.websqldatabase=function(){return!!n.openDatabase},r.indexedDB=function(){return!!e("indexedDB",n)},r.hashchange=function(){return ht("hashchange",n)&&(t.documentMode===i||t.documentMode>7)},r.history=function(){return!!(n.history&&history.pushState)},r.draganddrop=function(){var n=t.createElement("div");return"draggable"in n||"ondragstart"in n&&"ondrop"in n},r.websockets=function(){for(var t=-1,i=k.length;++t",i.insertBefore(r.lastChild,i.firstChild)}function c(){var n=i.elements;return typeof n=="string"?n.split(" "):n}function s(n){var r={},u=n.createElement,f=n.createDocumentFragment,t=f();n.createElement=function(n){var f=(r[n]||(r[n]=u(n))).cloneNode();return i.shivMethods&&f.canHaveChildren&&!o.test(n)?t.appendChild(f):f},n.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+c().join().replace(/\w+/g,function(n){return r[n]=u(n),t.createElement(n),'c("'+n+'")'})+");return n}")(i,t)}function u(n){var t;return n.documentShived?n:(i.shivCSS&&!e&&(t=!!h(n,"article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio{display:none}canvas,video{display:inline-block;*display:inline;*zoom:1}[hidden]{display:none}audio[controls]{display:inline-block;*display:inline;*zoom:1}mark{background:#FF0;color:#000}")),f||(t=!s(n)),t&&(n.documentShived=t),n)}var r=n.html5||{},o=/^<|^(?:button|form|map|select|textarea)$/i,e,f,i;(function(){var n=t.createElement("a");n.innerHTML="",e="hidden"in n,f=n.childNodes.length==1||function(){try{t.createElement("a")}catch(i){return!0}var n=t.createDocumentFragment();return typeof n.cloneNode=="undefined"||typeof n.createDocumentFragment=="undefined"||typeof n.createElement=="undefined"}()})(),i={elements:r.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:!(r.shivCSS===!1),shivMethods:!(r.shivMethods===!1),type:"default",shivDocument:u},n.html5=i,u(t)}(this,t),u._version=at,u._prefixes=a,u._domPrefixes=st,u._cssomPrefixes=k,u.mq=wt,u.hasEvent=ht,u.testProp=function(n){return ft([n])},u.testAllProps=e,u.testStyles=nt,u.prefixed=function(n,t,i){return t?e(n,t,i):e(n,"pfx")},s.className=s.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(bt?" js "+it.join(" "):""),u}(this,this.document)