function s(){return navigator.userAgent.indexOf("compatible")>-1&&navigator.userAgent.indexOf("MSIE")>-1}function u(){return navigator.userAgent.indexOf("Trident")>-1&&navigator.userAgent.indexOf("rv:11.0")>-1}function a(){return navigator.userAgent.indexOf("Edge")>-1&&!s()}function o(){let i=navigator.userAgent,n=n(),t=t(),r=r();if(n){new RegExp("MSIE (\\d+\\.\\d+);").test(i);let e=parseFloat(RegExp.$1);return e===7||e===8||e===9||e===10?e:6}else return r?"edge":t?11:-1}export{o as getIEVersion,a as isEdge,s as isIE,u as isIE11};
