window.Modernizr=function(n,t,i){function s(n){c.cssText=n}function e(n,t){return typeof n===t}function p(n,t){return!!~(""+n).indexOf(t)}function tt(n,t){var u,r;for(u in n)if(r=n[u],!p(r,"-")&&c[r]!==i)return t=="pfx"?r:!0;return!1}function ot(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 h(n,t,i){var r=n.charAt(0).toUpperCase()+n.slice(1),u=(n+" "+ft.join(r+" ")+r).split(" ");return e(t,"string")||e(t,"undefined")?tt(u,t):(u=(n+" "+et.join(r+" ")+r).split(" "),ot(u,t,i))}function st(){r.input=function(i){for(var r=0,u=i.length;r<u;r++)a[i[r]]=i[r]in rt;return a.list&&(a.list=!!t.createElement("datalist")&&!!n.HTMLDataListElement),a}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" "))}var r={},w=!0,f=t.documentElement,o="modernizr",it=t.createElement(o),c=it.style,rt=t.createElement("input"),ct={}.toString,l=" -webkit- -moz- -o- -ms- ".split(" "),ut="Webkit Moz O ms",ft=ut.split(" "),et=ut.toLowerCase().split(" "),u={},a={},b=[],k=b.slice,v,d=function(n,i,r,u){var l,a,c,v,e=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]:o+(r+1),e.appendChild(c);return l=["&#173;",'<style id="s',o,'">',n,"<\/style>"].join(""),e.id=o,(h?e:s).innerHTML+=l,s.appendChild(e),h||(s.style.background="",s.style.overflow="hidden",v=f.style.overflow,f.style.overflow="hidden",f.appendChild(s)),a=i(e,n),h?e.parentNode.removeChild(e):(s.parentNode.removeChild(s),f.style.overflow=v),!!a},ht=function(t){var i=n.matchMedia||n.msMatchMedia,r;return i?i(t)&&i(t).matches||!1:(d("@media "+t+" { #"+o+" { position: absolute; } }",function(t){r=(n.getComputedStyle?getComputedStyle(t,null):t.currentStyle).position=="absolute"}),r)},g={}.hasOwnProperty,nt,y;nt=!e(g,"undefined")&&!e(g.call,"undefined")?function(n,t){return g.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});u.flexbox=function(){return h("flexWrap")};u.canvas=function(){var n=t.createElement("canvas");return!!n.getContext&&!!n.getContext("2d")};u.touch=function(){var i;return"ontouchstart"in n||n.DocumentTouch&&t instanceof DocumentTouch?i=!0:d(["@media (",l.join("touch-enabled),("),o,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(n){i=n.offsetTop===9}),i};u.history=function(){return!!n.history&&!!history.pushState};u.rgba=function(){return s("background-color:rgba(150,255,150,.5)"),p(c.backgroundColor,"rgba")};u.cssanimations=function(){return h("animationName")};u.cssgradients=function(){var n="background-image:";return s((n+"-webkit- ".split(" ").join("gradient(linear,left top,right bottom,from(#9f9),to(white));"+n)+l.join("linear-gradient(left top,#9f9, white);"+n)).slice(0,-n.length)),p(c.backgroundImage,"gradient")};u.csstransforms=function(){return!!h("transform")};for(y in u)nt(u,y)&&(v=y.toLowerCase(),r[v]=u[y](),b.push((r[v]?"":"no-")+v));return r.input||st(),r.addTest=function(n,t){if(typeof n=="object")for(var u in n)nt(n,u)&&r.addTest(u,n[u]);else{if(n=n.toLowerCase(),r[n]!==i)return r;t=typeof t=="function"?t():t;typeof w!="undefined"&&w&&(f.className+=" "+(t?"":"no-")+n);r[n]=t}return r},s(""),it=rt=null,r._version="2.8.3",r._prefixes=l,r._domPrefixes=et,r._cssomPrefixes=ft,r.mq=ht,r.testProp=function(n){return tt([n])},r.testAllProps=h,r.testStyles=d,f.className=f.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(w?" js "+b.join(" "):""),r}(this,this.document);Modernizr.addTest("details",function(){var i=document,n=i.createElement("details"),u,t,r;return"open"in n?(t=i.body||function(){var n=i.documentElement;return u=!0,n.insertBefore(i.createElement("body"),n.firstElementChild||n.firstChild)}(),n.innerHTML="<summary>a<\/summary>b",n.style.display="block",t.appendChild(n),r=n.offsetHeight,n.open=!0,r=r!=n.offsetHeight,t.removeChild(n),u&&t.parentNode.removeChild(t),r):!1});Modernizr.addTest("filereader",function(){return!!(window.File&&window.FileList&&window.FileReader)})