'use strict';

exports.__esModule = true;
// from http://stackoverflow.com/questions/9847580/how-to-detect-safari-chrome-ie-firefox-and-opera-browser

// Opera 8.0+
var isOpera = exports.isOpera = !!window.opr && !!window.opr.addons || !!window.opera || navigator.userAgent.indexOf(' OPR/') >= 0;

// Firefox 1.0+
var isFirefox = exports.isFirefox = typeof InstallTrigger !== 'undefined';

// Safari 3.0+ "[object HTMLElementConstructor]"
var isSafari = exports.isSafari = Object.prototype.toString.call(window.HTMLElement).indexOf('Constructor') > 0 || function (p) {
  return p.toString() === '[object SafariRemoteNotification]';
}(!window.safari || window.safari.pushNotification);

/*eslint-disable */
// Internet Explorer 6-11
var isIE = exports.isIE = !!navigator.userAgent.match(/MSIE/);

var isIE8 = exports.isIE8 = !!navigator.userAgent.match(/MSIE 8.0/);
var isIE9 = exports.isIE9 = !!navigator.userAgent.match(/MSIE 9.0/);
var isIE10 = exports.isIE10 = !!navigator.userAgent.match(/MSIE 10.0/);

var isIE11 = exports.isIE11 = navigator.userAgent.indexOf('Trident') > -1 && navigator.userAgent.indexOf('rv:11.0') > -1;

// Edge 20+
var isEdge = exports.isEdge = !isIE && !!window.StyleMedia;

// Chrome 1+
var isChrome = exports.isChrome = !!window.chrome && !!window.chrome.webstore;

// Blink engine detection
var isBlink = exports.isBlink = (isChrome || isOpera) && !!window.CSS;