var env=function(){function e(e){for(e=e.split(" "),i=0;i<e.length;i++)t[e[i]]=!0}function n(){var e,n=[];for(e in t)t.hasOwnProperty(e)&&n.push(e);d.className+=(d.className?" ":"")+n.join(" ")}var i,t={},o=navigator.userAgent,r=document.createElement("div"),d=(document.createElement("video"),document.createElement("audio"),document.documentElement);return o.indexOf("WebKit/")>-1&&e("webkit"),o.indexOf(" Trident/")>-1&&e("msie"),t.msie&&(parseInt(o.substr(o.indexOf("MSIE ")+5,2),10)<9&&e("msielt9"),parseInt(o.substr(o.indexOf("MSIE ")+5,2),10)<10&&e("msielt10")),o.indexOf("BB10")>-1&&e("blackberry10"),o.indexOf("Firefox")>-1&&e("firefox"),o.indexOf("(iPad")>-1&&e("ios ipad"),(o.indexOf("(iPhone")>-1||o.indexOf("(iPod")>-1)&&e("ios iphone"),t.ios&&o.indexOf("OS 7_")>-1&&e("ios7"),t.ios&&o.indexOf("OS 8_")>-1&&e("ios8"),(o.indexOf("Chrome/")>-1||o.indexOf("CriOS/")>-1)&&e("chrome"),!t.chrome&&o.indexOf("Safari/")>-1&&e("safari"),o.indexOf("Android ")>-1&&e("android"),o.indexOf("Windows Phone ")>-1&&e("winphone"),t.ios||t.android||t.winphone||t.blackberry10||e("desktop no-touch"),r.setAttribute("ontouchstart","return;"),"function"==typeof r.ontouchstart&&e("touch"),navigator.msPointerEnabled&&navigator.msMaxTouchPoints>1&&e("touch"),navigator.standalone&&e("standalone"),navigator.devicePixelRatio&&navigator.devicePixelRatio>=2&&e("retina"),(document.documentElement.webkitRequestFullscreen||document.fullscreenEnabled||document.mozFullScreenEnabled||document.documentElement.msRequestFullscreen)&&e("fullscreen"),screen.width>1280&&e("hd"),screen.width<768&&e("narrow"),n(),t}();