import { buildMatchAndKeys } from '../helper';
/** 浏览器内核配置 */

var configs = [['Safari'], ['Chrome', ['Chrome', 'CriOS']], ['IE', ['MSIE', 'Trident']], ['Edge', ['Edge', 'Edg/']], ['Firefox', ['Firefox', 'FxiOS']], ['Firefox Focus', ['Focus']], ['Chromium'], ['Opera', ['Opera', 'OPR']], ['Vivaldi'], ['Yandex', ['YaBrowser']], ['Arora'], ['Lunascape'], ['QupZilla'], ['Coc Coc', ['coc_coc_browser']], ['Kindle', ['Kindle', 'Silk/']], ['Iceweasel'], ['Konqueror'], ['Iceape'], ['SeaMonkey'], ['Epiphany'], ['360', ['QihooBrowser', 'QHBrowser']], ['360EE'], ['360SE'], ['UC', ['UCBrowser', ' UBrowser', 'UCWEB']], ['QQBrowser'], ['QQ', ['QQ/']], ['Baidu', ['Baidu', 'BIDUBrowser', 'baidubrowser', 'baiduboxapp', 'BaiduHD']], ['Maxthon'], ['Sogou', ['MetaSr', 'Sogou']], ['Liebao', ['LBBROWSER', 'LieBaoFast']], ['2345Explorer', ['2345Explorer', 'Mb2345Browser', '2345chrome']], ['115Browser'], ['TheWorld'], ['XiaoMi', ['MiuiBrowser']], ['Quark'], ['Qiyu'], ['Wechat', ['MicroMessenger']], ['WechatWork', ['wxwork/']], ['Taobao', ['AliApp(TB']], ['Alipay', ['AliApp(AP']], ['Weibo'], ['Douban', ['com.douban.frodo']], ['Suning', ['SNEBUY-APP']], ['iQiYi', ['IqiyiApp']], ['DingTalk'], ['Huawei', ['HuaweiBrowser', 'HUAWEI/', 'HONOR']], ['Vivo', ['VivoBrowser']]];
var MatchAndKeys = buildMatchAndKeys(configs);
/** 浏览器内核匹配集合 */

export var BrowserMatchMap = MatchAndKeys[0];
/** 浏览器内核类型集合 */

export var BrowserKeys = MatchAndKeys[1];