",e.firstChild&&"http://www.w3.org/2000/svg"===e.firstChild.namespaceURI},isAnimationSupported:function(){if("opera"in window)return!1;for(var e=document.documentElement.style,t=["animationName","webkitAnimationName"],n=0,i=t.length;i>n;n++)if(void 0!==e[t[n]])return!0},getUserFontSize:function(){var t,n,i=[],r=16,o="i-ua_user-font-size_",a=document.createElement("div");return a.style.height="1em",e.appendChild(a),t=parseInt(a.offsetHeight),e.removeChild(a),n=t===r?"normal":r>t?"small":"large",i.push(o+n),i.push(o+t+"px"),i.join(" ")},isRetina:function(){var e="devicePixelRatio"in window?window.devicePixelRatio:1;return e>=1.3}}}function MyMap(){this.rules={},this.rulesData=[]}MyMap.prototype={add:function(e){return e=e||null,e&&!this.rules[e]&&(this.rulesData.push(e),this.rules[e]=this.rulesData.length-1),this},get:function(e){var t=this.rules[e];return t&&this.rulesData[t]||null},getAll:function(){return this.rulesData.join(" ")}};var detector=new Detector;!function(){var e,t=new MyMap;t.add("js").add("i-ua_placeholder_"+(detector.isPlaceholderSupported()?"yes":"no")).add(detector.isIEMetroMode()&&"m-ie10-metro").add(detector.isSVGSupported()?"i-ua_inlinesvg_yes m-svg":"i-ua_inlinesvg_no no-data-url").add(detector.isAnimationSupported()&&"i-ua_animation_yes").add(this.device&&"m-touch").add(detector.getUserFontSize()).add("i-ua_retina_"+(detector.isRetina()?"yes":"no")),detector.checkDataURLSupport(function(e){e||(document.documentElement.className+=" no-data-url")}),this.document&&this.document.documentElement&&(e=this.document.documentElement,e.className=e.className.replace("i-ua_js_no","i-ua_js_yes")+" "+t.getAll())}();