(function(){function n(){return"ontouchstart"in window||navigator.MaxTouchPoints>0||navigator.msMaxTouchPoints>0}window.gemSettings.isTouch=n();function i(){var n=navigator.userAgent.toLowerCase(),i=navigator.platform.toLowerCase(),e=n.match(/(opera|ie|firefox|chrome|version)[\s\/:]([\w\d\.]+)?.*?(safari|version[\s\/:]([\w\d\.]+)|$)/)||[null,"unknown",0],t=e[1]=="ie"&&document.documentMode;window.gemBrowser={name:e[1]=="version"?e[3]:e[1],version:e[2],platform:{name:n.match(/ip(?:ad|od|hone)/)?"ios":(n.match(/(?:webos|android)/)||i.match(/mac|win|linux/)||["other"])[0]}}}window.updateGemClientSize=function(){if(window.gemOptions==null||window.gemOptions==undefined){window.gemOptions={first:false,clientWidth:0,clientHeight:0,innerWidth:-1}}window.gemOptions.clientWidth=window.innerWidth||document.documentElement.clientWidth;if(document.body!=null&&!window.gemOptions.clientWidth){window.gemOptions.clientWidth=document.body.clientWidth}window.gemOptions.clientHeight=window.innerHeight||document.documentElement.clientHeight;if(document.body!=null&&!window.gemOptions.clientHeight){window.gemOptions.clientHeight=document.body.clientHeight}};window.updateGemInnerSize=function(n){window.gemOptions.innerWidth=n!=undefined?n:document.body!=null?document.body.clientWidth:0};i();window.updateGemClientSize(true);window.gemSettings.lasyDisabled=window.gemSettings.forcedLasyDisabled||!window.gemSettings.mobileEffectsEnabled&&(window.gemSettings.isTouch||window.gemOptions.clientWidth<=800)})();