!function(n,t,i){function o(n,t){return typeof n===t}function it(){var i,n,u,f,e,c,t,s;for(s in h)if(h.hasOwnProperty(s)){if(i=[],n=h[s],n.name&&(i.push(n.name.toLowerCase()),n.options&&n.options.aliases&&n.options.aliases.length))for(u=0;u<n.options.aliases.length;u++)i.push(n.options.aliases[u].toLowerCase());for(f=o(n.fn,"function")?n.fn():n.fn,e=0;e<i.length;e++)c=i[e],t=c.split("."),1===t.length?r[t[0]]=f:(!r[t[0]]||r[t[0]]instanceof Boolean||(r[t[0]]=new Boolean(r[t[0]])),r[t[0]][t[1]]=f),tt.push((f?"":"no-")+t.join("-"))}}function rt(n){var t=e.className,i=r._config.classPrefix||"",u;(c&&(t=t.baseVal),r._config.enableJSClass)&&(u=new RegExp("(^|\\s)"+i+"(\\s|$)"),t=t.replace(u,"$1"+i+"js$2"));r._config.enableClasses&&(t+=" "+i+n.join(" "+i),c?e.className.baseVal=t:e.className=t)}function s(){return"function"!=typeof t.createElement?t.createElement(arguments[0]):c?t.createElementNS.call(t,"http://www.w3.org/2000/svg",arguments[0]):t.createElement.apply(t,arguments)}function ut(){var n=t.body;return n||(n=s(c?"svg":"body"),n.fake=!0),n}function k(n,i,r,u){var o,a,c,v,l="modernizr",h=s("div"),f=ut();if(parseInt(r,10))for(;r--;)c=s("div"),c.id=u?u[r]:l+(r+1),h.appendChild(c);return o=s("style"),o.type="text/css",o.id="s"+l,(f.fake?f:h).appendChild(o),f.appendChild(h),o.styleSheet?o.styleSheet.cssText=n:o.appendChild(t.createTextNode(n)),h.id=l,f.fake&&(f.style.background="",f.style.overflow="hidden",v=e.style.overflow,e.style.overflow="hidden",e.appendChild(f)),a=i(h,n),f.fake?(f.parentNode.removeChild(f),e.style.overflow=v,e.offsetHeight):h.parentNode.removeChild(h),!!a}function ft(n,t){return!!~(""+n).indexOf(t)}function et(n){return n.replace(/([a-z])-([a-z])/g,function(n,t,i){return t+i.toUpperCase()}).replace(/^-/,"")}function ot(n,t){return function(){return n.apply(t,arguments)}}function st(n,t,i){var r,u;for(u in n)if(n[u]in t)return i===!1?n[u]:(r=t[n[u]],o(r,"function")?ot(r,i||t):r);return!1}function d(n){return n.replace(/([A-Z])/g,function(n,t){return"-"+t.toLowerCase()}).replace(/^ms-/,"-ms-")}function ht(t,i,r){var u,f,e;return"getComputedStyle"in n?(u=getComputedStyle.call(n,t,i),f=n.console,null!==u?r&&(u=u.getPropertyValue(r)):f&&(e=f.error?"error":"log",f[e].call(f,"getComputedStyle returning null, its possible modernizr test results are inaccurate"))):u=!i&&t.currentStyle&&t.currentStyle[r],u}function ct(t,r){var f=t.length,u;if("CSS"in n&&"supports"in n.CSS){for(;f--;)if(n.CSS.supports(d(t[f]),r))return!0;return!1}if("CSSSupportsRule"in n){for(u=[];f--;)u.push("("+d(t[f])+":"+r+")");return u=u.join(" or "),k("@supports ("+u+") { #modernizr { position: absolute; } }",function(n){return"absolute"==ht(n,null,"position")})}return i}function lt(n,t,r,u){function c(){v&&(delete f.style,delete f.modElem)}var l,v,h,y,e,p,a;if((u=o(u,"undefined")?!1:u,!o(r,"undefined"))&&(l=ct(n,r),!o(l,"undefined")))return l;for(a=["modernizr","tspan","samp"];!f.style&&a.length;)v=!0,f.modElem=s(a.shift()),f.style=f.modElem.style;for(y=n.length,h=0;y>h;h++)if(e=n[h],p=f.style[e],ft(e,"-")&&(e=et(e)),f.style[e]!==i){if(u||o(r,"undefined"))return c(),"pfx"==t?e:!0;try{f.style[e]=r}catch(w){}if(f.style[e]!=p)return c(),"pfx"==t?e:!0}return c(),!1}function g(n,t,i,r,u){var f=n.charAt(0).toUpperCase()+n.slice(1),e=(n+" "+p.join(f+" ")+f).split(" ");return o(t,"string")||o(t,"undefined")?lt(e,t,r,u):(e=(n+" "+w.join(f+" ")+f).split(" "),st(e,t,i))}function nt(n,t,r){return g(n,i,i,t,r)}var tt=[],h=[],u={_version:"3.5.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(n,t){var i=this;setTimeout(function(){t(i[n])},0)},addTest:function(n,t,i){h.push({name:n,fn:t,options:i})},addAsyncTest:function(n){h.push({name:null,fn:n})}},r=function(){},e,c,l,v,y,p,w,b,f,a;for(r.prototype=u,r=new r,e=t.documentElement,c="svg"===e.nodeName.toLowerCase(),r.addTest("inlinesvg",function(){var n=s("div");return n.innerHTML="<svg/>","http://www.w3.org/2000/svg"==("undefined"!=typeof SVGRect&&n.firstChild&&n.firstChild.namespaceURI)}),l=u._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""],u._prefixes=l,r.addTest("csspositionsticky",function(){var n="position:",t="sticky",r=s("a"),i=r.style;return i.cssText=n+l.join(t+";"+n).slice(0,-n.length),-1!==i.position.indexOf(t)}),v=u.testStyles=k,v("#modernizr{overflow: scroll; width: 40px; height: 40px; }#"+l.join("scrollbar{width:10px} #modernizr::").split("#").slice(1).join("#")+"scrollbar{width:10px}",function(n){r.addTest("cssscrollbar","scrollWidth"in n&&30==n.scrollWidth)}),r.addTest("touchevents",function(){var i,r;return"ontouchstart"in n||n.DocumentTouch&&t instanceof DocumentTouch?i=!0:(r=["@media (",l.join("touch-enabled),("),"heartz",")","{#modernizr{top:9px;position:absolute}}"].join(""),v(r,function(n){i=9===n.offsetTop})),i}),y="Moz O ms Webkit",p=u._config.usePrefixes?y.split(" "):[],u._cssomPrefixes=p,w=u._config.usePrefixes?y.toLowerCase().split(" "):[],u._domPrefixes=w,b={elem:s("modernizr")},r._q.push(function(){delete b.elem}),f={style:b.elem.style},r._q.unshift(function(){delete f.style}),u.testAllProps=g,u.testAllProps=nt,r.addTest("cssanimations",nt("animationName","a",!0)),it(),rt(tt),delete u.addTest,delete u.addAsyncTest,a=0;a<r._q.length;a++)r._q[a]();n.Modernizr=r}(window,document)