define(["modernizr"],function(e){var c=navigator.userAgent.toLowerCase(),d=(navigator.userAgent.match(/(iPad|iPhone|iPod)/i)?true:false),h=(c.indexOf("android")>-1||(d===false&&c.indexOf("Mobile Safari")>-1)); function i(){if(e){b();g();}a();}function a(){if(h){document.documentElement.className+=" android"; }else{if(d){document.documentElement.className+=" ios inputBorder";}else{document.documentElement.className+=" desktop inputBorder"; }}}function g(){if(d||h){e.addTest("overflowscrolling",function(){return e.testAllProps("overflowScrolling"); });}}function b(){if(!e.mq()){f();}}function f(){ /*! matchMedia() polyfill - Test a CSS media type/query in JS. Authors & copyright (c) 2012: Scott Jehl, Paul Irish, Nicholas Zakas. Dual MIT/BSD license */ window.matchMedia=window.matchMedia||(function(n,o){var l,j=n.documentElement,k=j.firstElementChild||j.firstChild,m=n.createElement("body"),p=n.createElement("div"); p.id="mq-test-1";p.style.cssText="position:absolute;top:-100em";m.style.background="none"; m.appendChild(p);return function(r){p.innerHTML='­'; j.insertBefore(m,k);l=p.offsetWidth===42;j.removeChild(m);return{matches:l,media:r}; };}(document));}return i();});