@sgrsoft/vpe-core-sdk 0.14.0 → 0.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +2 -0
- package/dist/locales/en/index.d.ts +32 -0
- package/dist/locales/i18n.d.ts +288 -0
- package/dist/locales/ja/index.d.ts +32 -0
- package/dist/locales/ko/index.d.ts +32 -0
- package/dist/vpe-core-sdk.cjs.js +1 -1
- package/dist/vpe-core-sdk.es.js +768 -769
- package/package.json +1 -1
package/dist/vpe-core-sdk.es.js
CHANGED
|
@@ -1,110 +1,110 @@
|
|
|
1
1
|
function Ie() {
|
|
2
|
-
var a = ["
|
|
2
|
+
var a = ["17175090AbHnOs", "Mute", "Play", "Text Opacity", "Green", "Black", "Player Execution Failed", "Pause", "588844NcUYQp", "Red", "Apply Default Style", "Cancel", "Uniform", "Auto", "Screen capture / screen recording has been detected.", "The video could not be played.", "Previous video", "13816350JcLvho", "day", "Next video", "In a moment", "56QHQhQr", "White", "Magenta", "Subtitles", "Cannot play video", "Change text, color, and background styles", "seconds until auto-play", "Required module was not loaded. (dash.js)", "7sIsfjK", "Subtitle Style", "hour(s)", "LIVE", "Video will start in {timeTxt}.", "Cyan", "39765275jWkjdY", "The network connection is unstable.", "Scheduled", "Authentication Failed", "You do not have permission to play this video.", "3EkmqIe", "Default", "Unmute", "The license is not valid.", "Unsupported format.", "The live stream is OFFLINE.", "Not used", "Drop Shadow", "Mini player", "Invalid DRM token.", "8ueHwNc", "You are muted.", "Quality", "Autoplay", "Required module was not loaded. (hls.js)", "Settings", "Invalid URL format.", "License", "min", "8627706tkceui", "796711HZebSS", "Playback speed", "Font Color", "hour", "Monthly basic API calls exceeded. Please switch to a paid version.", "minute(s)", "Turn on captions", "Background Opacity", "Failed to communicate with the DRM license server.", "Yellow", "Player Startup Failed", "21890ewqoxg"];
|
|
3
3
|
return Ie = function() {
|
|
4
4
|
return a;
|
|
5
5
|
}, Ie();
|
|
6
6
|
}
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
var h = Et;
|
|
8
|
+
function Et(a, t) {
|
|
9
|
+
a = a - 187;
|
|
9
10
|
var e = Ie(), i = e[a];
|
|
10
11
|
return i;
|
|
11
12
|
}
|
|
12
|
-
var w = St;
|
|
13
13
|
(function(a, t) {
|
|
14
|
-
for (var e =
|
|
14
|
+
for (var e = Et, i = a(); ; )
|
|
15
15
|
try {
|
|
16
|
-
var n = -parseInt(e(
|
|
16
|
+
var n = -parseInt(e(234)) / 1 + -parseInt(e(254)) / 2 * (parseInt(e(214)) / 3) + parseInt(e(195)) / 4 * (parseInt(e(245)) / 5) + -parseInt(e(233)) / 6 * (parseInt(e(203)) / 7) + parseInt(e(224)) / 8 * (parseInt(e(191)) / 9) + -parseInt(e(246)) / 10 + parseInt(e(209)) / 11;
|
|
17
17
|
if (n === t) break;
|
|
18
18
|
i.push(i.shift());
|
|
19
19
|
} catch {
|
|
20
20
|
i.push(i.shift());
|
|
21
21
|
}
|
|
22
|
-
})(Ie,
|
|
23
|
-
const
|
|
24
|
-
function
|
|
25
|
-
a = a -
|
|
22
|
+
})(Ie, 964874);
|
|
23
|
+
const Vt = { common: { cancel: h(257), auto: h(187), normal: "Normal", notUse: h(220), prev: h(190), next: h(193), delayText: h(201), license: h(231), play: h(248), pause: h(253), replay: "Replay", fullOn: "Fullscreen", fullOff: "Exit fullscreen", muteOn: h(247), muteOff: h(216), captionOff: "Turn off captions", captionOn: h(240), setting: h(229), live: h(206), miniPlayer: h(222), isMute: h(225), subtitle: "Subtitles", subtitleNot: "Subtitles not available" }, settings: { autoplay: h(227), playbackRate: h(235), captions: h(198), quality: "Quality" }, error: { "01": { title: h(199), desc: "Invalid access. Please check your access_key." }, "02": { title: "Cannot play video", desc: h(213) }, "03": { title: h(212), desc: h(210) }, "04": { title: h(199), desc: h(189) }, "05": { title: h(199), desc: h(217) }, "06": { title: h(199), desc: h(238) }, "07": { title: "Cannot play video", desc: h(218) }, "08": { title: "Cannot play video", desc: h(230) }, "09": { title: h(199), desc: h(219) }, 10: { title: h(199), desc: "Cannot play DASH video on iOS." }, 11: { title: "Cannot play video", desc: h(223) }, 12: { title: "Cannot play video", desc: h(242) }, 13: { title: "Cannot play video", desc: "FairPlay certificate validation failed." }, 14: { title: h(199), desc: h(188) }, 15: { title: h(252), desc: h(228) }, 16: { title: h(252), desc: h(202) }, 17: { title: h(244), desc: "This feature requires the Standard plan." } }, tv: { default: h(215), quality: h(226), subtitleStyle: h(204), subtitleStyleDesc: h(200), applyDefaultStyle: h(256), fontColor: h(236), fontSize: "Font Size", textOpacity: h(249), edgeStyle: "Text Edge Style", bgColor: "Background Color", bgOpacity: h(241), windowColor: "Window Color", windowOpacity: "Window Opacity", color: { white: h(196), black: h(251), red: h(255), green: h(250), blue: "Blue", yellow: h(243), magenta: h(197), cyan: h(208) }, edge: { none: "None", dropShadow: h(221), raised: "Raised", depressed: "Depressed", uniform: h(258) } }, alternative: { hour: h(205), minute: h(239), second: "second(s)", after: h(194), afterMin: h(232), afterHour: h(237), afterDay: h(192), startPlay: h(207), nextPlay: "Next video will play in {timeTxt} seconds.", afterPlay: h(211) } };
|
|
24
|
+
function kt(a, t) {
|
|
25
|
+
a = a - 114;
|
|
26
26
|
var e = Se(), i = e[a];
|
|
27
27
|
return i;
|
|
28
28
|
}
|
|
29
|
-
var
|
|
30
|
-
function Se() {
|
|
31
|
-
var a = ["동영상을 재생할 수 없음", "이전 동영상", "자동재생", "4364880loTbxP", "지원하지 않는 형식입니다.", "인증 실패", "플레이어 실행 실패", "1482411yETcwl", "동영상을 재생할 권한이 없습니다.", "잘못된 접근입니다. access_key를 확인해주세요.", "432ISbwQM", "미니플레이어", "FairPlay 인증서 검증에 실패하였습니다.", "다시보기", "18060fnjhtv", "해상도", "DRM 토큰이 잘못되었습니다.", "DRM 라이선스 서버와 통신에 실패하였습니다.", "사용안함", "88368jhIhVi", "월 기본 제공 호출 건수를 초과하였습니다. 유료 버전으로 전환 후 사용 부탁 드립니다.", "Standard 요금제가 필요한 기능입니다.", "1846728HIDqdv", "시간 ", "다음 동영상", "필수 모듈이 로드되지 않았습니다. (dash.js)", "5517CScxgZ", "URL 형식이 잘못되었습니다.", "전체화면 해제", "동영상을 재생할 수 없습니다.", "자막 사용 불가", "라이브스트림이 OFFLINE 입니다.", "자막끄기", "네트워크 연결이 원활하지 않습니다.", "음소거", "전체화면", "22uiifrb", "3292150DZvgiS", "실시간", "19304hGjqOq", "iOS에서 Dash 비디오를 재생할 수 없습니다.", "잠시 ", "음소거 해제", "음소거 상태입니다."];
|
|
32
|
-
return Se = function() {
|
|
33
|
-
return a;
|
|
34
|
-
}, Se();
|
|
35
|
-
}
|
|
29
|
+
var f = kt;
|
|
36
30
|
(function(a, t) {
|
|
37
|
-
for (var e =
|
|
31
|
+
for (var e = kt, i = a(); ; )
|
|
38
32
|
try {
|
|
39
|
-
var n = parseInt(e(
|
|
33
|
+
var n = -parseInt(e(155)) / 1 + parseInt(e(147)) / 2 * (-parseInt(e(154)) / 3) + parseInt(e(170)) / 4 + -parseInt(e(165)) / 5 + parseInt(e(173)) / 6 + -parseInt(e(171)) / 7 + parseInt(e(161)) / 8 * (parseInt(e(153)) / 9);
|
|
40
34
|
if (n === t) break;
|
|
41
35
|
i.push(i.shift());
|
|
42
36
|
} catch {
|
|
43
37
|
i.push(i.shift());
|
|
44
38
|
}
|
|
45
|
-
})(Se,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
39
|
+
})(Se, 646171);
|
|
40
|
+
function Se() {
|
|
41
|
+
var a = ["검정색", "음소거 상태입니다.", "청록색", "라이브스트림이 OFFLINE 입니다.", "Standard 요금제가 필요한 기능입니다.", "미니플레이어", "잘못된 접근입니다. access_key를 확인해주세요.", "892MPHEin", "자막끄기", "동영상을 재생할 수 없습니다.", "글꼴 크기", "자막 사용 불가", "초록색", "201105mEqofJ", "7914OwRuzM", "610000gexEbn", "네트워크 연결이 원활하지 않습니다.", "iOS에서 Dash 비디오를 재생할 수 없습니다.", "파란색", "재생 속도", "글꼴 색상", "152gZcPsX", "초 뒤 자동재생", "필수 모듈이 로드되지 않았습니다. (dash.js)", "텍스트, 색상, 배경 스타일 변경", "244445qOWGIa", "전체화면", "일시정지", "해상도", "라이선스가 유효하지 않습니다.", "4928176uzuxlz", "2936248tEnlhg", "월 기본 제공 호출 건수를 초과하였습니다. 유료 버전으로 전환 후 사용 부탁 드립니다.", "7466838YdWeZd", "DRM 라이선스 서버와 통신에 실패하였습니다.", "실시간", "{timeTxt}초 후 다음 영상이 재생됩니다.", "그림자", "라이선스", "다음 동영상", "빨간색", "자막 스타일", "FairPlay 인증서 검증에 실패하였습니다.", "플레이어 구동 실패", "창 색상", "동영상을 재생할 수 없음", "음소거", "URL 형식이 잘못되었습니다.", "글자 테두리 스타일", "배경 불투명도", "인증 실패", "자동재생", "자홍색", "화면 캡쳐 / 화면 녹화가 감지되었습니다.", "음소거 해제", "전체화면 해제", "지원하지 않는 형식입니다.", "노란색", "사용안함", "플레이어 실행 실패"];
|
|
42
|
+
return Se = function() {
|
|
43
|
+
return a;
|
|
44
|
+
}, Se();
|
|
51
45
|
}
|
|
46
|
+
const zt = { common: { cancel: "취소", auto: "자동", normal: "보통", notUse: f(138), prev: "이전 동영상", next: f(119), delayText: f(162), license: f(118), play: "재생", pause: f(167), replay: "다시보기", fullOn: f(166), fullOff: f(135), muteOn: f(126), muteOff: f(134), captionOff: f(148), captionOn: "자막켜기", setting: "설정", live: f(115), miniPlayer: f(145), isMute: f(141), subtitle: "자막", subtitleNot: f(151) }, settings: { autoplay: f(131), playbackRate: f(159), captions: "자막", quality: f(168) }, error: { "01": { title: "동영상을 재생할 수 없음", desc: f(146) }, "02": { title: "동영상을 재생할 수 없음", desc: "동영상을 재생할 권한이 없습니다." }, "03": { title: f(130), desc: f(156) }, "04": { title: f(125), desc: f(149) }, "05": { title: f(125), desc: f(169) }, "06": { title: f(125), desc: f(172) }, "07": { title: "동영상을 재생할 수 없음", desc: f(136) }, "08": { title: "동영상을 재생할 수 없음", desc: f(127) }, "09": { title: f(125), desc: f(143) }, 10: { title: f(125), desc: f(157) }, 11: { title: "동영상을 재생할 수 없음", desc: "DRM 토큰이 잘못되었습니다." }, 12: { title: "동영상을 재생할 수 없음", desc: f(114) }, 13: { title: "동영상을 재생할 수 없음", desc: f(122) }, 14: { title: "동영상을 재생할 수 없음", desc: f(133) }, 15: { title: f(139), desc: "필수 모듈이 로드되지 않았습니다. (hls.js)" }, 16: { title: f(139), desc: f(163) }, 17: { title: f(123), desc: f(144) } }, tv: { default: "기본", quality: "화질", subtitleStyle: f(121), subtitleStyleDesc: f(164), applyDefaultStyle: "기본 스타일 적용", fontColor: f(160), fontSize: f(150), textOpacity: "텍스트 불투명도", edgeStyle: f(128), bgColor: "배경 색상", bgOpacity: f(129), windowColor: f(124), windowOpacity: "창 불투명도", color: { white: "흰색", black: f(140), red: f(120), green: f(152), blue: f(158), yellow: f(137), magenta: f(132), cyan: f(142) }, edge: { none: "없음", dropShadow: f(117), raised: "양각", depressed: "음각", uniform: "균일" } }, alternative: { hour: "시", minute: "분", second: "초", after: "잠시 ", afterMin: "분 ", afterHour: "시간 ", afterDay: "일 ", startPlay: "{timeTxt} 후 영상이 시작됩니다.", nextPlay: f(116), afterPlay: "예정" } };
|
|
52
47
|
function _e() {
|
|
53
|
-
var a = ["
|
|
48
|
+
var a = ["一時停止", "ミュート解除", "使用しない", "字幕をオフにする", "520BUOwbc", "背景不透明度", "ウィンドウ色", "ドロップシャドウ", "ライブ", "2239734VhbaLZ", "ミュート", "{timeTxt}後に動画が始まります。", "動画を再生できません", "テキスト不透明度", "シアン", "しばらくして", "再生速度", "自動再生", "7578NsOrOV", "月間の基本提供呼び出し回数を超過しました。有料版に切り替えてご利用ください。", "1437324MwsPtB", "URLの形式が正しくありません。", "1871795VoRhUp", "全画面表示", "字幕をオンにする", "DRMトークンが無効です。", "DRMライセンスサーバーとの通信に失敗しました。", "時間後", "ウィンドウ不透明度", "26FtSvJe", "ミュート状態です。", "7ByEIIH", "ライブストリームはオフラインです。", "秒後に自動再生", "デフォルトスタイルを適用", "必須モジュールが読み込まれていません。(dash.js)", "ライセンスが無効です。", "キャンセル", "この機能にはStandardプランが必要です。", "文字エッジスタイル", "プレーヤーの起動に失敗しました", "ネットワーク接続が不安定です。", "字幕は利用できません", "フォントサイズ", "動画を再生できませんでした。", "2480824MNdOnb", "全画面表示を終了", "画面キャプチャ/画面録画が検出されました。", "認証に失敗しました", "次の動画", "サポートされていない形式です。", "1676352ODgRrJ", "39199FTCBzt", "デフォルト"];
|
|
54
49
|
return _e = function() {
|
|
55
50
|
return a;
|
|
56
51
|
}, _e();
|
|
57
52
|
}
|
|
58
|
-
var
|
|
53
|
+
var g = Tt;
|
|
59
54
|
(function(a, t) {
|
|
60
|
-
for (var e =
|
|
55
|
+
for (var e = Tt, i = a(); ; )
|
|
61
56
|
try {
|
|
62
|
-
var n = parseInt(e(
|
|
57
|
+
var n = parseInt(e(235)) / 1 * (parseInt(e(212)) / 2) + parseInt(e(192)) / 3 + -parseInt(e(203)) / 4 + -parseInt(e(205)) / 5 + -parseInt(e(234)) / 6 + -parseInt(e(214)) / 7 * (-parseInt(e(228)) / 8) + parseInt(e(201)) / 9 * (-parseInt(e(187)) / 10);
|
|
63
58
|
if (n === t) break;
|
|
64
59
|
i.push(i.shift());
|
|
65
60
|
} catch {
|
|
66
61
|
i.push(i.shift());
|
|
67
62
|
}
|
|
68
|
-
})(_e,
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
63
|
+
})(_e, 509402);
|
|
64
|
+
function Tt(a, t) {
|
|
65
|
+
a = a - 182;
|
|
66
|
+
var e = _e(), i = e[a];
|
|
67
|
+
return i;
|
|
68
|
+
}
|
|
69
|
+
const Yt = { common: { cancel: g(220), auto: "自動", normal: "標準", notUse: g(185), prev: "前の動画", next: g(232), delayText: g(216), license: "ライセンス", play: "再生", pause: g(183), replay: "リプレイ", fullOn: g(206), fullOff: g(229), muteOn: g(193), muteOff: g(184), captionOff: g(186), captionOn: g(207), setting: "設定", live: g(191), miniPlayer: "ミニプレーヤー", isMute: g(213), subtitle: "字幕", subtitleNot: g(225) }, settings: { autoplay: g(200), playbackRate: g(199), captions: "字幕", quality: "画質" }, error: { "01": { title: "動画を再生できません", desc: "不正なアクセスです。access_keyを確認してください。" }, "02": { title: g(195), desc: "この動画を再生する権限がありません。" }, "03": { title: g(231), desc: g(224) }, "04": { title: g(195), desc: g(227) }, "05": { title: g(195), desc: g(219) }, "06": { title: g(195), desc: g(202) }, "07": { title: g(195), desc: g(233) }, "08": { title: g(195), desc: g(204) }, "09": { title: g(195), desc: g(215) }, 10: { title: g(195), desc: "iOSではDASHビデオを再生できません。" }, 11: { title: g(195), desc: g(208) }, 12: { title: g(195), desc: g(209) }, 13: { title: g(195), desc: "FairPlay証明書の検証に失敗しました。" }, 14: { title: g(195), desc: g(230) }, 15: { title: "プレーヤーの起動に失敗しました", desc: "必須モジュールが読み込まれていません。(hls.js)" }, 16: { title: "プレーヤーの起動に失敗しました", desc: g(218) }, 17: { title: g(223), desc: g(221) } }, tv: { default: g(182), quality: "画質", subtitleStyle: "字幕スタイル", subtitleStyleDesc: "テキスト、色、背景スタイルを変更", applyDefaultStyle: g(217), fontColor: "フォント色", fontSize: g(226), textOpacity: g(196), edgeStyle: g(222), bgColor: "背景色", bgOpacity: g(188), windowColor: g(189), windowOpacity: g(211), color: { white: "白", black: "黒", red: "赤", green: "緑", blue: "青", yellow: "黄", magenta: "マゼンタ", cyan: g(197) }, edge: { none: "なし", dropShadow: g(190), raised: "浮き出し", depressed: "沈み込み", uniform: "均一" } }, alternative: { hour: "時間", minute: "分", second: "秒", after: g(198), afterMin: "分後", afterHour: g(210), afterDay: "日後", startPlay: g(194), nextPlay: "{timeTxt}秒後に次の動画が再生されます。", afterPlay: "予定" } }, Ee = At;
|
|
70
|
+
function ke() {
|
|
71
|
+
const a = ["split", "10UhUPNQ", "234124kvcdvb", "12187hWQjep", "365OzQqpV", "undefined", "90618pvNCst", "10043eGtTqo", "language", "4800joupey", "1232510tdCXzE", "3930072nbWrFb", "456309jVrBUV"];
|
|
72
|
+
return ke = function() {
|
|
73
|
+
return a;
|
|
74
|
+
}, ke();
|
|
72
75
|
}
|
|
73
76
|
(function(a, t) {
|
|
74
|
-
const e =
|
|
77
|
+
const e = At, i = a();
|
|
75
78
|
for (; ; )
|
|
76
79
|
try {
|
|
77
|
-
if (parseInt(e(
|
|
80
|
+
if (-parseInt(e(305)) / 1 + -parseInt(e(308)) / 2 + parseInt(e(309)) / 3 + -parseInt(e(300)) / 4 + -parseInt(e(302)) / 5 * (-parseInt(e(304)) / 6) + parseInt(e(301)) / 7 * (-parseInt(e(307)) / 8) + -parseInt(e(310)) / 9 * (-parseInt(e(299)) / 10) === t) break;
|
|
78
81
|
i.push(i.shift());
|
|
79
82
|
} catch {
|
|
80
83
|
i.push(i.shift());
|
|
81
84
|
}
|
|
82
|
-
})(ke,
|
|
83
|
-
function
|
|
84
|
-
|
|
85
|
-
return ke = function() {
|
|
86
|
-
return a;
|
|
87
|
-
}, ke();
|
|
85
|
+
})(ke, 733815);
|
|
86
|
+
function At(a, t) {
|
|
87
|
+
return a = a - 299, ke()[a];
|
|
88
88
|
}
|
|
89
|
-
const
|
|
90
|
-
function
|
|
91
|
-
const t = Ee, e = a[t(
|
|
92
|
-
return e in
|
|
89
|
+
const Ct = { en: Vt, ko: zt, ja: Yt }, qt = () => typeof navigator !== Ee(303) && typeof navigator[Ee(306)] < "u";
|
|
90
|
+
function Kt(a) {
|
|
91
|
+
const t = Ee, e = a[t(311)]("-")[0];
|
|
92
|
+
return e in Ct ? e : "en";
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function Ke(a) {
|
|
95
95
|
const t = Ee;
|
|
96
96
|
let e = "en";
|
|
97
|
-
a ? e = a :
|
|
98
|
-
const i =
|
|
99
|
-
return
|
|
97
|
+
a ? e = a : qt() && (e = navigator[t(306)]);
|
|
98
|
+
const i = Kt(e);
|
|
99
|
+
return Ct[i];
|
|
100
100
|
}
|
|
101
|
-
|
|
102
|
-
var jt = "2.0.9",
|
|
101
|
+
Ke();
|
|
102
|
+
var jt = "2.0.9", Wt = 500, nt = "user-agent", ae = "", rt = "?", k = {
|
|
103
103
|
FUNCTION: "function",
|
|
104
104
|
OBJECT: "object",
|
|
105
105
|
STRING: "string",
|
|
106
106
|
UNDEFINED: "undefined"
|
|
107
|
-
},
|
|
107
|
+
}, D = "browser", z = "cpu", F = "device", U = "engine", P = "os", xe = "result", l = "name", s = "type", u = "vendor", d = "version", M = "architecture", pe = "major", c = "model", ye = "console", y = "mobile", _ = "tablet", T = "smarttv", L = "wearable", fe = "xr", ue = "embedded", Jt = "fetcher", Q = "inapp", Ze = "brands", X = "formFactors", Qe = "fullVersionList", ne = "platform", $e = "platformVersion", Ne = "bitness", W = "sec-ch-ua", Xt = W + "-full-version-list", Zt = W + "-arch", Qt = W + "-" + Ne, $t = W + "-form-factors", e0 = W + "-" + y, t0 = W + "-" + c, Mt = W + "-" + ne, i0 = Mt + "-version", Rt = [Ze, Qe, y, c, ne, $e, M, X, Ne], we = "Amazon", $ = "Apple", ot = "ASUS", st = "BlackBerry", J = "Google", ct = "Huawei", Le = "Lenovo", lt = "Honor", ge = "LG", Be = "Microsoft", Fe = "Motorola", dt = "Nvidia", ut = "OnePlus", He = "OPPO", se = "Samsung", pt = "Sharp", ce = "Sony", Ge = "Xiaomi", Ve = "Zebra", bt = "Chrome", ht = "Chromium", q = "Chromecast", ve = "Edge", le = "Firefox", ee = "Opera", ze = "Facebook", ft = "Sogou", te = "Mobile ", ie = " Browser", je = "Windows", a0 = typeof window !== k.UNDEFINED, O = a0 && window.navigator ? window.navigator : void 0, Z = O && O.userAgentData ? O.userAgentData : void 0, x0 = function(a, t) {
|
|
108
108
|
var e = {}, i = t;
|
|
109
109
|
if (!Te(t)) {
|
|
110
110
|
i = {};
|
|
@@ -112,8 +112,8 @@ var jt = "2.0.9", Kt = 500, xt = "user-agent", ae = "", nt = "?", k = {
|
|
|
112
112
|
for (var r in t[n])
|
|
113
113
|
i[r] = t[n][r].concat(i[r] ? i[r] : []);
|
|
114
114
|
}
|
|
115
|
-
for (var
|
|
116
|
-
e[
|
|
115
|
+
for (var o in a)
|
|
116
|
+
e[o] = i[o] && i[o].length % 2 === 0 ? i[o].concat(a[o]) : a[o];
|
|
117
117
|
return e;
|
|
118
118
|
}, Ue = function(a) {
|
|
119
119
|
for (var t = {}, e = 0; e < a.length; e++)
|
|
@@ -122,16 +122,16 @@ var jt = "2.0.9", Kt = 500, xt = "user-agent", ae = "", nt = "?", k = {
|
|
|
122
122
|
}, We = function(a, t) {
|
|
123
123
|
if (typeof a === k.OBJECT && a.length > 0) {
|
|
124
124
|
for (var e in a)
|
|
125
|
-
if (
|
|
125
|
+
if (K(t) == K(a[e])) return !0;
|
|
126
126
|
return !1;
|
|
127
127
|
}
|
|
128
|
-
return
|
|
128
|
+
return be(a) ? K(t) == K(a) : !1;
|
|
129
129
|
}, Te = function(a, t) {
|
|
130
130
|
for (var e in a)
|
|
131
131
|
return /^(browser|cpu|device|engine|os)$/.test(e) || (t ? Te(a[e]) : !1);
|
|
132
|
-
},
|
|
132
|
+
}, be = function(a) {
|
|
133
133
|
return typeof a === k.STRING;
|
|
134
|
-
},
|
|
134
|
+
}, Ye = function(a) {
|
|
135
135
|
if (a) {
|
|
136
136
|
for (var t = [], e = re(/\\?\"/g, a).split(","), i = 0; i < e.length; i++)
|
|
137
137
|
if (e[i].indexOf(";") > -1) {
|
|
@@ -141,10 +141,10 @@ var jt = "2.0.9", Kt = 500, xt = "user-agent", ae = "", nt = "?", k = {
|
|
|
141
141
|
t[i] = Ae(e[i]);
|
|
142
142
|
return t;
|
|
143
143
|
}
|
|
144
|
-
},
|
|
145
|
-
return
|
|
146
|
-
},
|
|
147
|
-
return
|
|
144
|
+
}, K = function(a) {
|
|
145
|
+
return be(a) ? a.toLowerCase() : a;
|
|
146
|
+
}, Je = function(a) {
|
|
147
|
+
return be(a) ? re(/[^\d\.]/g, a).split(".")[0] : void 0;
|
|
148
148
|
}, V = function(a) {
|
|
149
149
|
for (var t in a)
|
|
150
150
|
if (a.hasOwnProperty(t)) {
|
|
@@ -153,19 +153,19 @@ var jt = "2.0.9", Kt = 500, xt = "user-agent", ae = "", nt = "?", k = {
|
|
|
153
153
|
}
|
|
154
154
|
return this;
|
|
155
155
|
}, re = function(a, t) {
|
|
156
|
-
return
|
|
157
|
-
},
|
|
156
|
+
return be(t) ? t.replace(a, ae) : t;
|
|
157
|
+
}, de = function(a) {
|
|
158
158
|
return re(/\\?\"/g, a);
|
|
159
159
|
}, Ae = function(a, t) {
|
|
160
160
|
return a = re(/^\s\s*/, String(a)), typeof t === k.UNDEFINED ? a : a.substring(0, t);
|
|
161
|
-
},
|
|
161
|
+
}, Xe = function(a, t) {
|
|
162
162
|
if (!(!a || !t))
|
|
163
|
-
for (var e = 0, i, n, r,
|
|
164
|
-
var
|
|
165
|
-
for (i = n = 0; i <
|
|
166
|
-
if (
|
|
163
|
+
for (var e = 0, i, n, r, o, p, b; e < t.length && !p; ) {
|
|
164
|
+
var v = t[e], S = t[e + 1];
|
|
165
|
+
for (i = n = 0; i < v.length && !p && v[i]; )
|
|
166
|
+
if (p = v[i++].exec(a), p)
|
|
167
167
|
for (r = 0; r < S.length; r++)
|
|
168
|
-
|
|
168
|
+
b = p[++n], o = S[r], typeof o === k.OBJECT && o.length > 0 ? o.length === 2 ? typeof o[1] == k.FUNCTION ? this[o[0]] = o[1].call(this, b) : this[o[0]] = o[1] : o.length >= 3 && (typeof o[1] === k.FUNCTION && !(o[1].exec && o[1].test) ? o.length > 3 ? this[o[0]] = b ? o[1].apply(this, o.slice(2)) : void 0 : this[o[0]] = b ? o[1].call(this, b, o[2]) : void 0 : o.length == 3 ? this[o[0]] = b ? b.replace(o[1], o[2]) : void 0 : o.length == 4 ? this[o[0]] = b ? o[3].call(this, b.replace(o[1], o[2])) : void 0 : o.length > 4 && (this[o[0]] = b ? o[3].apply(this, [b.replace(o[1], o[2])].concat(o.slice(4))) : void 0)) : this[o] = b || void 0;
|
|
169
169
|
e += 2;
|
|
170
170
|
}
|
|
171
171
|
}, N = function(a, t) {
|
|
@@ -173,11 +173,11 @@ var jt = "2.0.9", Kt = 500, xt = "user-agent", ae = "", nt = "?", k = {
|
|
|
173
173
|
if (typeof t[e] === k.OBJECT && t[e].length > 0) {
|
|
174
174
|
for (var i = 0; i < t[e].length; i++)
|
|
175
175
|
if (We(t[e][i], a))
|
|
176
|
-
return e ===
|
|
176
|
+
return e === rt ? void 0 : e;
|
|
177
177
|
} else if (We(t[e], a))
|
|
178
|
-
return e ===
|
|
178
|
+
return e === rt ? void 0 : e;
|
|
179
179
|
return t.hasOwnProperty("*") ? t["*"] : a;
|
|
180
|
-
},
|
|
180
|
+
}, wt = {
|
|
181
181
|
ME: "4.90",
|
|
182
182
|
"NT 3.51": "3.51",
|
|
183
183
|
"NT 4.0": "4.0",
|
|
@@ -189,7 +189,7 @@ var jt = "2.0.9", Kt = 500, xt = "user-agent", ae = "", nt = "?", k = {
|
|
|
189
189
|
"8.1": "6.3",
|
|
190
190
|
10: ["6.4", "10.0"],
|
|
191
191
|
NT: ""
|
|
192
|
-
},
|
|
192
|
+
}, gt = {
|
|
193
193
|
embedded: "Automotive",
|
|
194
194
|
mobile: "Mobile",
|
|
195
195
|
tablet: ["Tablet", "EInk"],
|
|
@@ -198,7 +198,7 @@ var jt = "2.0.9", Kt = 500, xt = "user-agent", ae = "", nt = "?", k = {
|
|
|
198
198
|
xr: ["VR", "XR"],
|
|
199
199
|
"?": ["Desktop", "Unknown"],
|
|
200
200
|
"*": void 0
|
|
201
|
-
},
|
|
201
|
+
}, n0 = {
|
|
202
202
|
Chrome: "Google Chrome",
|
|
203
203
|
Edge: "Microsoft Edge",
|
|
204
204
|
"Edge WebView2": "Microsoft Edge WebView2",
|
|
@@ -208,23 +208,23 @@ var jt = "2.0.9", Kt = 500, xt = "user-agent", ae = "", nt = "?", k = {
|
|
|
208
208
|
"MIUI Browser": "Miui Browser",
|
|
209
209
|
"Opera Mobi": "OperaMobile",
|
|
210
210
|
Yandex: "YaBrowser"
|
|
211
|
-
},
|
|
211
|
+
}, mt = {
|
|
212
212
|
browser: [
|
|
213
213
|
[
|
|
214
214
|
// Most common regardless engine
|
|
215
215
|
/\b(?:crmo|crios)\/([\w\.]+)/i
|
|
216
216
|
// Chrome for Android/iOS
|
|
217
217
|
],
|
|
218
|
-
[
|
|
218
|
+
[d, [l, te + "Chrome"]],
|
|
219
219
|
[
|
|
220
220
|
/webview.+edge\/([\w\.]+)/i
|
|
221
221
|
// Microsoft Edge
|
|
222
222
|
],
|
|
223
|
-
[
|
|
223
|
+
[d, [l, ve + " WebView"]],
|
|
224
224
|
[
|
|
225
225
|
/edg(?:e|ios|a)?\/([\w\.]+)/i
|
|
226
226
|
],
|
|
227
|
-
[
|
|
227
|
+
[d, [l, "Edge"]],
|
|
228
228
|
[
|
|
229
229
|
// Presto based
|
|
230
230
|
/(opera mini)\/([-\w\.]+)/i,
|
|
@@ -234,33 +234,33 @@ var jt = "2.0.9", Kt = 500, xt = "user-agent", ae = "", nt = "?", k = {
|
|
|
234
234
|
/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i
|
|
235
235
|
// Opera
|
|
236
236
|
],
|
|
237
|
-
[
|
|
237
|
+
[l, d],
|
|
238
238
|
[
|
|
239
239
|
/opios[\/ ]+([\w\.]+)/i
|
|
240
240
|
// Opera mini on iphone >= 8.0
|
|
241
241
|
],
|
|
242
|
-
[
|
|
242
|
+
[d, [l, ee + " Mini"]],
|
|
243
243
|
[
|
|
244
244
|
/\bop(?:rg)?x\/([\w\.]+)/i
|
|
245
245
|
// Opera GX
|
|
246
246
|
],
|
|
247
|
-
[
|
|
247
|
+
[d, [l, ee + " GX"]],
|
|
248
248
|
[
|
|
249
249
|
/\bopr\/([\w\.]+)/i
|
|
250
250
|
// Opera Webkit
|
|
251
251
|
],
|
|
252
|
-
[
|
|
252
|
+
[d, [l, ee]],
|
|
253
253
|
[
|
|
254
254
|
// Mixed
|
|
255
255
|
/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i
|
|
256
256
|
// Baidu
|
|
257
257
|
],
|
|
258
|
-
[
|
|
258
|
+
[d, [l, "Baidu"]],
|
|
259
259
|
[
|
|
260
260
|
/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i
|
|
261
261
|
// Maxthon
|
|
262
262
|
],
|
|
263
|
-
[
|
|
263
|
+
[d, [l, "Maxthon"]],
|
|
264
264
|
[
|
|
265
265
|
/(kindle)\/([\w\.]+)/i,
|
|
266
266
|
// Kindle
|
|
@@ -283,22 +283,22 @@ var jt = "2.0.9", Kt = 500, xt = "user-agent", ae = "", nt = "?", k = {
|
|
|
283
283
|
/(ecosia|weibo)(?:__| \w+@)([\d\.]+)/i
|
|
284
284
|
// Ecosia/Weibo
|
|
285
285
|
],
|
|
286
|
-
[
|
|
286
|
+
[l, d],
|
|
287
287
|
[
|
|
288
288
|
/quark(?:pc)?\/([-\w\.]+)/i
|
|
289
289
|
// Quark
|
|
290
290
|
],
|
|
291
|
-
[
|
|
291
|
+
[d, [l, "Quark"]],
|
|
292
292
|
[
|
|
293
293
|
/\bddg\/([\w\.]+)/i
|
|
294
294
|
// DuckDuckGo
|
|
295
295
|
],
|
|
296
|
-
[
|
|
296
|
+
[d, [l, "DuckDuckGo"]],
|
|
297
297
|
[
|
|
298
298
|
/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i
|
|
299
299
|
// UCBrowser
|
|
300
300
|
],
|
|
301
|
-
[
|
|
301
|
+
[d, [l, "UCBrowser"]],
|
|
302
302
|
[
|
|
303
303
|
/microm.+\bqbcore\/([\w\.]+)/i,
|
|
304
304
|
// WeChat Desktop for Windows Built-in Browser
|
|
@@ -306,107 +306,107 @@ var jt = "2.0.9", Kt = 500, xt = "user-agent", ae = "", nt = "?", k = {
|
|
|
306
306
|
/micromessenger\/([\w\.]+)/i
|
|
307
307
|
// WeChat
|
|
308
308
|
],
|
|
309
|
-
[
|
|
309
|
+
[d, [l, "WeChat"]],
|
|
310
310
|
[
|
|
311
311
|
/konqueror\/([\w\.]+)/i
|
|
312
312
|
// Konqueror
|
|
313
313
|
],
|
|
314
|
-
[
|
|
314
|
+
[d, [l, "Konqueror"]],
|
|
315
315
|
[
|
|
316
316
|
/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i
|
|
317
317
|
// IE11
|
|
318
318
|
],
|
|
319
|
-
[
|
|
319
|
+
[d, [l, "IE"]],
|
|
320
320
|
[
|
|
321
321
|
/ya(?:search)?browser\/([\w\.]+)/i
|
|
322
322
|
// Yandex
|
|
323
323
|
],
|
|
324
|
-
[
|
|
324
|
+
[d, [l, "Yandex"]],
|
|
325
325
|
[
|
|
326
326
|
/slbrowser\/([\w\.]+)/i
|
|
327
327
|
// Smart Lenovo Browser
|
|
328
328
|
],
|
|
329
|
-
[
|
|
329
|
+
[d, [l, "Smart " + Le + ie]],
|
|
330
330
|
[
|
|
331
331
|
/(av(?:ast|g|ira))\/([\w\.]+)/i
|
|
332
332
|
// Avast/AVG/Avira Secure Browser
|
|
333
333
|
],
|
|
334
|
-
[[
|
|
334
|
+
[[l, /(.+)/, "$1 Secure" + ie], d],
|
|
335
335
|
[
|
|
336
336
|
/norton\/([\w\.]+)/i
|
|
337
337
|
// Norton Private Browser
|
|
338
338
|
],
|
|
339
|
-
[
|
|
339
|
+
[d, [l, "Norton Private" + ie]],
|
|
340
340
|
[
|
|
341
341
|
/\bfocus\/([\w\.]+)/i
|
|
342
342
|
// Firefox Focus
|
|
343
343
|
],
|
|
344
|
-
[
|
|
344
|
+
[d, [l, le + " Focus"]],
|
|
345
345
|
[
|
|
346
346
|
/ mms\/([\w\.]+)$/i
|
|
347
347
|
// Opera Neon
|
|
348
348
|
],
|
|
349
|
-
[
|
|
349
|
+
[d, [l, ee + " Neon"]],
|
|
350
350
|
[
|
|
351
351
|
/ opt\/([\w\.]+)$/i
|
|
352
352
|
// Opera Touch
|
|
353
353
|
],
|
|
354
|
-
[
|
|
354
|
+
[d, [l, ee + " Touch"]],
|
|
355
355
|
[
|
|
356
356
|
/coc_coc\w+\/([\w\.]+)/i
|
|
357
357
|
// Coc Coc Browser
|
|
358
358
|
],
|
|
359
|
-
[
|
|
359
|
+
[d, [l, "Coc Coc"]],
|
|
360
360
|
[
|
|
361
361
|
/dolfin\/([\w\.]+)/i
|
|
362
362
|
// Dolphin
|
|
363
363
|
],
|
|
364
|
-
[
|
|
364
|
+
[d, [l, "Dolphin"]],
|
|
365
365
|
[
|
|
366
366
|
/coast\/([\w\.]+)/i
|
|
367
367
|
// Opera Coast
|
|
368
368
|
],
|
|
369
|
-
[
|
|
369
|
+
[d, [l, ee + " Coast"]],
|
|
370
370
|
[
|
|
371
371
|
/miuibrowser\/([\w\.]+)/i
|
|
372
372
|
// MIUI Browser
|
|
373
373
|
],
|
|
374
|
-
[
|
|
374
|
+
[d, [l, "MIUI" + ie]],
|
|
375
375
|
[
|
|
376
376
|
/fxios\/([\w\.-]+)/i
|
|
377
377
|
// Firefox for iOS
|
|
378
378
|
],
|
|
379
|
-
[
|
|
379
|
+
[d, [l, te + le]],
|
|
380
380
|
[
|
|
381
381
|
/\bqihoobrowser\/?([\w\.]*)/i
|
|
382
382
|
// 360
|
|
383
383
|
],
|
|
384
|
-
[
|
|
384
|
+
[d, [l, "360"]],
|
|
385
385
|
[
|
|
386
386
|
/\b(qq)\/([\w\.]+)/i
|
|
387
387
|
// QQ
|
|
388
388
|
],
|
|
389
|
-
[[
|
|
389
|
+
[[l, /(.+)/, "$1Browser"], d],
|
|
390
390
|
[
|
|
391
391
|
/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i
|
|
392
392
|
],
|
|
393
|
-
[[
|
|
393
|
+
[[l, /(.+)/, "$1" + ie], d],
|
|
394
394
|
[
|
|
395
395
|
// Oculus/Sailfish/HuaweiBrowser/VivoBrowser/PicoBrowser
|
|
396
396
|
/samsungbrowser\/([\w\.]+)/i
|
|
397
397
|
// Samsung Internet
|
|
398
398
|
],
|
|
399
|
-
[
|
|
399
|
+
[d, [l, se + " Internet"]],
|
|
400
400
|
[
|
|
401
401
|
/metasr[\/ ]?([\d\.]+)/i
|
|
402
402
|
// Sogou Explorer
|
|
403
403
|
],
|
|
404
|
-
[
|
|
404
|
+
[d, [l, ft + " Explorer"]],
|
|
405
405
|
[
|
|
406
406
|
/(sogou)mo\w+\/([\d\.]+)/i
|
|
407
407
|
// Sogou Mobile
|
|
408
408
|
],
|
|
409
|
-
[[
|
|
409
|
+
[[l, ft + " Mobile"], d],
|
|
410
410
|
[
|
|
411
411
|
/(electron)\/([\w\.]+) safari/i,
|
|
412
412
|
// Electron-based App
|
|
@@ -415,23 +415,23 @@ var jt = "2.0.9", Kt = 500, xt = "user-agent", ae = "", nt = "?", k = {
|
|
|
415
415
|
/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i
|
|
416
416
|
// QQ/2345
|
|
417
417
|
],
|
|
418
|
-
[
|
|
418
|
+
[l, d],
|
|
419
419
|
[
|
|
420
420
|
/(lbbrowser|luakit|rekonq|steam(?= (clie|tenf|gameo)))/i
|
|
421
421
|
// LieBao Browser/Luakit/Rekonq/Steam
|
|
422
422
|
],
|
|
423
|
-
[
|
|
423
|
+
[l],
|
|
424
424
|
[
|
|
425
425
|
/ome\/([\w\.]+).+(iron(?= saf)|360(?=[es]e$))/i
|
|
426
426
|
// Iron / 360
|
|
427
427
|
],
|
|
428
|
-
[
|
|
428
|
+
[d, l],
|
|
429
429
|
[
|
|
430
430
|
// WebView
|
|
431
431
|
/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i
|
|
432
432
|
// Facebook App for iOS & Android
|
|
433
433
|
],
|
|
434
|
-
[[
|
|
434
|
+
[[l, ze], d, [s, Q]],
|
|
435
435
|
[
|
|
436
436
|
/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,
|
|
437
437
|
// Kakao App
|
|
@@ -452,111 +452,111 @@ var jt = "2.0.9", Kt = 500, xt = "user-agent", ae = "", nt = "?", k = {
|
|
|
452
452
|
/(instagram|snapchat|klarna)[\/ ]([-\w\.]+)/i
|
|
453
453
|
// Instagram/Snapchat/Klarna
|
|
454
454
|
],
|
|
455
|
-
[
|
|
455
|
+
[l, d, [s, Q]],
|
|
456
456
|
[
|
|
457
457
|
/\bgsa\/([\w\.]+) .*safari\//i
|
|
458
458
|
// Google Search Appliance on iOS
|
|
459
459
|
],
|
|
460
|
-
[
|
|
460
|
+
[d, [l, "GSA"], [s, Q]],
|
|
461
461
|
[
|
|
462
462
|
/(?:musical_ly|trill)(?:.+app_?version\/|_)([\w\.]+)/i
|
|
463
463
|
// TikTok
|
|
464
464
|
],
|
|
465
|
-
[
|
|
465
|
+
[d, [l, "TikTok"], [s, Q]],
|
|
466
466
|
[
|
|
467
467
|
/\[(linkedin)app\]/i
|
|
468
468
|
// LinkedIn App for iOS & Android
|
|
469
469
|
],
|
|
470
|
-
[
|
|
470
|
+
[l, [s, Q]],
|
|
471
471
|
[
|
|
472
472
|
/(zalo(?:app)?)[\/\sa-z]*([\w\.-]+)/i
|
|
473
473
|
// Zalo
|
|
474
474
|
],
|
|
475
|
-
[[
|
|
475
|
+
[[l, /(.+)/, "Zalo"], d, [s, Q]],
|
|
476
476
|
[
|
|
477
477
|
/(chromium)[\/ ]([-\w\.]+)/i
|
|
478
478
|
// Chromium
|
|
479
479
|
],
|
|
480
|
-
[
|
|
480
|
+
[l, d],
|
|
481
481
|
[
|
|
482
482
|
/ome-(lighthouse)$/i
|
|
483
483
|
// Chrome Lighthouse
|
|
484
484
|
],
|
|
485
|
-
[
|
|
485
|
+
[l, [s, Jt]],
|
|
486
486
|
[
|
|
487
487
|
/headlesschrome(?:\/([\w\.]+)| )/i
|
|
488
488
|
// Chrome Headless
|
|
489
489
|
],
|
|
490
|
-
[
|
|
490
|
+
[d, [l, bt + " Headless"]],
|
|
491
491
|
[
|
|
492
492
|
/wv\).+chrome\/([\w\.]+).+edgw\//i
|
|
493
493
|
// Edge WebView2
|
|
494
494
|
],
|
|
495
|
-
[
|
|
495
|
+
[d, [l, ve + " WebView2"]],
|
|
496
496
|
[
|
|
497
497
|
/ wv\).+(chrome)\/([\w\.]+)/i
|
|
498
498
|
// Chrome WebView
|
|
499
499
|
],
|
|
500
|
-
[[
|
|
500
|
+
[[l, bt + " WebView"], d],
|
|
501
501
|
[
|
|
502
502
|
/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i
|
|
503
503
|
// Android Browser
|
|
504
504
|
],
|
|
505
|
-
[
|
|
505
|
+
[d, [l, "Android" + ie]],
|
|
506
506
|
[
|
|
507
507
|
/chrome\/([\w\.]+) mobile/i
|
|
508
508
|
// Chrome Mobile
|
|
509
509
|
],
|
|
510
|
-
[
|
|
510
|
+
[d, [l, te + "Chrome"]],
|
|
511
511
|
[
|
|
512
512
|
/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i
|
|
513
513
|
// Chrome/OmniWeb/Arora/Tizen/Nokia
|
|
514
514
|
],
|
|
515
|
-
[
|
|
515
|
+
[l, d],
|
|
516
516
|
[
|
|
517
517
|
/version\/([\w\.\,]+) .*mobile(?:\/\w+ | ?)safari/i
|
|
518
518
|
// Safari Mobile
|
|
519
519
|
],
|
|
520
|
-
[
|
|
520
|
+
[d, [l, te + "Safari"]],
|
|
521
521
|
[
|
|
522
522
|
/iphone .*mobile(?:\/\w+ | ?)safari/i
|
|
523
523
|
],
|
|
524
|
-
[[
|
|
524
|
+
[[l, te + "Safari"]],
|
|
525
525
|
[
|
|
526
526
|
/version\/([\w\.\,]+) .*(safari)/i
|
|
527
527
|
// Safari
|
|
528
528
|
],
|
|
529
|
-
[
|
|
529
|
+
[d, l],
|
|
530
530
|
[
|
|
531
531
|
/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i
|
|
532
532
|
// Safari < 3.0
|
|
533
533
|
],
|
|
534
|
-
[
|
|
534
|
+
[l, [d, "1"]],
|
|
535
535
|
[
|
|
536
536
|
/(webkit|khtml)\/([\w\.]+)/i
|
|
537
537
|
],
|
|
538
|
-
[
|
|
538
|
+
[l, d],
|
|
539
539
|
[
|
|
540
540
|
// Gecko based
|
|
541
541
|
/(?:mobile|tablet);.*(firefox)\/([\w\.-]+)/i
|
|
542
542
|
// Firefox Mobile
|
|
543
543
|
],
|
|
544
|
-
[[
|
|
544
|
+
[[l, te + le], d],
|
|
545
545
|
[
|
|
546
546
|
/(navigator|netscape\d?)\/([-\w\.]+)/i
|
|
547
547
|
// Netscape
|
|
548
548
|
],
|
|
549
|
-
[[
|
|
549
|
+
[[l, "Netscape"], d],
|
|
550
550
|
[
|
|
551
551
|
/(wolvic|librewolf)\/([\w\.]+)/i
|
|
552
552
|
// Wolvic/LibreWolf
|
|
553
553
|
],
|
|
554
|
-
[
|
|
554
|
+
[l, d],
|
|
555
555
|
[
|
|
556
556
|
/mobile vr; rv:([\w\.]+)\).+firefox/i
|
|
557
557
|
// Firefox Reality
|
|
558
558
|
],
|
|
559
|
-
[
|
|
559
|
+
[d, [l, le + " Reality"]],
|
|
560
560
|
[
|
|
561
561
|
/ekiohf.+(flow)\/([\w\.]+)/i,
|
|
562
562
|
// Flow
|
|
@@ -576,12 +576,12 @@ var jt = "2.0.9", Kt = 500, xt = "user-agent", ae = "", nt = "?", k = {
|
|
|
576
576
|
/\b(links) \(([\w\.]+)/i
|
|
577
577
|
// Links
|
|
578
578
|
],
|
|
579
|
-
[
|
|
579
|
+
[l, [d, /_/g, "."]],
|
|
580
580
|
[
|
|
581
581
|
/(cobalt)\/([\w\.]+)/i
|
|
582
582
|
// Cobalt
|
|
583
583
|
],
|
|
584
|
-
[
|
|
584
|
+
[l, [d, /[^\d\.]+./, ae]]
|
|
585
585
|
],
|
|
586
586
|
cpu: [
|
|
587
587
|
[
|
|
@@ -624,7 +624,7 @@ var jt = "2.0.9", Kt = 500, xt = "user-agent", ae = "", nt = "?", k = {
|
|
|
624
624
|
/(?:osf1|[freopnt]{3,4}bsd) (alpha)/i
|
|
625
625
|
// Alpha
|
|
626
626
|
],
|
|
627
|
-
[[M, /ower/, ae,
|
|
627
|
+
[[M, /ower/, ae, K]],
|
|
628
628
|
[
|
|
629
629
|
/mc680.0/i
|
|
630
630
|
],
|
|
@@ -642,25 +642,25 @@ var jt = "2.0.9", Kt = 500, xt = "user-agent", ae = "", nt = "?", k = {
|
|
|
642
642
|
// Samsung
|
|
643
643
|
/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i
|
|
644
644
|
],
|
|
645
|
-
[c, [u, se], [
|
|
645
|
+
[c, [u, se], [s, _]],
|
|
646
646
|
[
|
|
647
647
|
/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,
|
|
648
648
|
/samsung[- ]((?!sm-[lr]|browser)[-\w]+)/i,
|
|
649
649
|
/sec-(sgh\w+)/i
|
|
650
650
|
],
|
|
651
|
-
[c, [u, se], [
|
|
651
|
+
[c, [u, se], [s, y]],
|
|
652
652
|
[
|
|
653
653
|
// Apple
|
|
654
654
|
/(?:\/|\()(ip(?:hone|od)[\w, ]*)[\/\);]/i
|
|
655
655
|
// iPod/iPhone
|
|
656
656
|
],
|
|
657
|
-
[c, [u, $], [
|
|
657
|
+
[c, [u, $], [s, y]],
|
|
658
658
|
[
|
|
659
659
|
/\b(?:ios|apple\w+)\/.+[\(\/](ipad)/i,
|
|
660
660
|
// iPad
|
|
661
661
|
/\b(ipad)[\d,]*[;\] ].+(mac |i(pad)?)os/i
|
|
662
662
|
],
|
|
663
|
-
[c, [u, $], [
|
|
663
|
+
[c, [u, $], [s, _]],
|
|
664
664
|
[
|
|
665
665
|
/(macintosh);/i
|
|
666
666
|
],
|
|
@@ -669,33 +669,33 @@ var jt = "2.0.9", Kt = 500, xt = "user-agent", ae = "", nt = "?", k = {
|
|
|
669
669
|
// Sharp
|
|
670
670
|
/\b(sh-?[altvz]?\d\d[a-ekm]?)/i
|
|
671
671
|
],
|
|
672
|
-
[c, [u,
|
|
672
|
+
[c, [u, pt], [s, y]],
|
|
673
673
|
[
|
|
674
674
|
// Honor
|
|
675
675
|
/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i
|
|
676
676
|
],
|
|
677
|
-
[c, [u,
|
|
677
|
+
[c, [u, lt], [s, _]],
|
|
678
678
|
[
|
|
679
679
|
/honor([-\w ]+)[;\)]/i
|
|
680
680
|
],
|
|
681
|
-
[c, [u,
|
|
681
|
+
[c, [u, lt], [s, y]],
|
|
682
682
|
[
|
|
683
683
|
// Huawei
|
|
684
684
|
/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i
|
|
685
685
|
],
|
|
686
|
-
[c, [u,
|
|
686
|
+
[c, [u, ct], [s, _]],
|
|
687
687
|
[
|
|
688
688
|
/(?:huawei) ?([-\w ]+)[;\)]/i,
|
|
689
689
|
/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][\dc][adnt]?)\b(?!.+d\/s)/i
|
|
690
690
|
],
|
|
691
|
-
[c, [u,
|
|
691
|
+
[c, [u, ct], [s, y]],
|
|
692
692
|
[
|
|
693
693
|
// Xiaomi
|
|
694
694
|
/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,
|
|
695
695
|
/\b(?:xiao)?((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i
|
|
696
696
|
// Mi Pad tablets
|
|
697
697
|
],
|
|
698
|
-
[[c, /_/g, " "], [u, Ge], [
|
|
698
|
+
[[c, /_/g, " "], [u, Ge], [s, _]],
|
|
699
699
|
[
|
|
700
700
|
/\b; (\w+) build\/hm\1/i,
|
|
701
701
|
// Xiaomi Hongmi 'numeric' models
|
|
@@ -707,93 +707,93 @@ var jt = "2.0.9", Kt = 500, xt = "user-agent", ae = "", nt = "?", k = {
|
|
|
707
707
|
/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note|max|cc)?[_ ]?(?:\d{0,2}\w?)[_ ]?(?:plus|se|lite|pro)?( 5g|lte)?)(?: bui|\))/i,
|
|
708
708
|
/ ([\w ]+) miui\/v?\d/i
|
|
709
709
|
],
|
|
710
|
-
[[c, /_/g, " "], [u, Ge], [
|
|
710
|
+
[[c, /_/g, " "], [u, Ge], [s, y]],
|
|
711
711
|
[
|
|
712
712
|
// OnePlus
|
|
713
713
|
/droid.+; (cph2[3-6]\d[13579]|((gm|hd)19|(ac|be|in|kb)20|(d[en]|eb|le|mt)21|ne22)[0-2]\d|p[g-l]\w[1m]10)\b/i,
|
|
714
714
|
/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i
|
|
715
715
|
],
|
|
716
|
-
[c, [u,
|
|
716
|
+
[c, [u, ut], [s, y]],
|
|
717
717
|
[
|
|
718
718
|
// OPPO
|
|
719
719
|
/; (\w+) bui.+ oppo/i,
|
|
720
720
|
/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i
|
|
721
721
|
],
|
|
722
|
-
[c, [u, He], [
|
|
722
|
+
[c, [u, He], [s, y]],
|
|
723
723
|
[
|
|
724
724
|
/\b(opd2(\d{3}a?))(?: bui|\))/i
|
|
725
725
|
],
|
|
726
|
-
[c, [u, N, { OnePlus: ["203", "304", "403", "404", "413", "415"], "*": He }], [
|
|
726
|
+
[c, [u, N, { OnePlus: ["203", "304", "403", "404", "413", "415"], "*": He }], [s, _]],
|
|
727
727
|
[
|
|
728
728
|
// BLU
|
|
729
729
|
/(vivo (5r?|6|8l?|go|one|s|x[il]?[2-4]?)[\w\+ ]*)(?: bui|\))/i
|
|
730
730
|
// Vivo series
|
|
731
731
|
],
|
|
732
|
-
[c, [u, "BLU"], [
|
|
732
|
+
[c, [u, "BLU"], [s, y]],
|
|
733
733
|
[
|
|
734
734
|
// Vivo
|
|
735
735
|
/; vivo (\w+)(?: bui|\))/i,
|
|
736
736
|
/\b(v[12]\d{3}\w?[at])(?: bui|;)/i
|
|
737
737
|
],
|
|
738
|
-
[c, [u, "Vivo"], [
|
|
738
|
+
[c, [u, "Vivo"], [s, y]],
|
|
739
739
|
[
|
|
740
740
|
// Realme
|
|
741
741
|
/\b(rmx[1-3]\d{3})(?: bui|;|\))/i
|
|
742
742
|
],
|
|
743
|
-
[c, [u, "Realme"], [
|
|
743
|
+
[c, [u, "Realme"], [s, y]],
|
|
744
744
|
[
|
|
745
745
|
// Lenovo
|
|
746
746
|
/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,
|
|
747
747
|
/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i
|
|
748
748
|
],
|
|
749
|
-
[c, [u, Le], [
|
|
749
|
+
[c, [u, Le], [s, _]],
|
|
750
750
|
[
|
|
751
751
|
/lenovo[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i
|
|
752
752
|
],
|
|
753
|
-
[c, [u, Le], [
|
|
753
|
+
[c, [u, Le], [s, y]],
|
|
754
754
|
[
|
|
755
755
|
// Motorola
|
|
756
756
|
/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,
|
|
757
757
|
/\bmot(?:orola)?[- ]([\w\s]+)(\)| bui)/i,
|
|
758
758
|
/((?:moto(?! 360)[-\w\(\) ]+|xt\d{3,4}[cgkosw\+]?[-\d]*|nexus 6)(?= bui|\)))/i
|
|
759
759
|
],
|
|
760
|
-
[c, [u,
|
|
760
|
+
[c, [u, Fe], [s, y]],
|
|
761
761
|
[
|
|
762
762
|
/\b(mz60\d|xoom[2 ]{0,2}) build\//i
|
|
763
763
|
],
|
|
764
|
-
[c, [u,
|
|
764
|
+
[c, [u, Fe], [s, _]],
|
|
765
765
|
[
|
|
766
766
|
// LG
|
|
767
767
|
/\b(?:lg)?([vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i
|
|
768
768
|
],
|
|
769
|
-
[c, [u, ge], [
|
|
769
|
+
[c, [u, ge], [s, _]],
|
|
770
770
|
[
|
|
771
771
|
/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,
|
|
772
772
|
/\blg[-e;\/ ]+(?!.*(?:browser|netcast|android tv|watch|webos))(\w+)/i,
|
|
773
773
|
/\blg-?([\d\w]+) bui/i
|
|
774
774
|
],
|
|
775
|
-
[c, [u, ge], [
|
|
775
|
+
[c, [u, ge], [s, y]],
|
|
776
776
|
[
|
|
777
777
|
// Nokia
|
|
778
778
|
/(nokia) (t[12][01])/i
|
|
779
779
|
],
|
|
780
|
-
[u, c, [
|
|
780
|
+
[u, c, [s, _]],
|
|
781
781
|
[
|
|
782
782
|
/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,
|
|
783
783
|
/nokia[-_ ]?(([-\w\. ]*?))( bui|\)|;|\/)/i
|
|
784
784
|
],
|
|
785
|
-
[[c, /_/g, " "], [
|
|
785
|
+
[[c, /_/g, " "], [s, y], [u, "Nokia"]],
|
|
786
786
|
[
|
|
787
787
|
// Google
|
|
788
788
|
/(pixel (c|tablet))\b/i
|
|
789
789
|
// Google Pixel C/Tablet
|
|
790
790
|
],
|
|
791
|
-
[c, [u,
|
|
791
|
+
[c, [u, J], [s, _]],
|
|
792
792
|
[
|
|
793
793
|
// Google Pixel
|
|
794
794
|
/droid.+;(?: google)? (g(01[13]a|020[aem]|025[jn]|1b60|1f8f|2ybb|4s1m|576d|5nz6|8hhn|8vou|a02099|c15s|d1yq|e2ae|ec77|gh2x|kv4x|p4bc|pj41|r83y|tt9q|ur25|wvk6)|pixel[\d ]*a?( pro)?( xl)?( fold)?( \(5g\))?)( bui|\))/i
|
|
795
795
|
],
|
|
796
|
-
[c, [u,
|
|
796
|
+
[c, [u, J], [s, y]],
|
|
797
797
|
[
|
|
798
798
|
/(google) (pixelbook( go)?)/i
|
|
799
799
|
],
|
|
@@ -802,12 +802,12 @@ var jt = "2.0.9", Kt = 500, xt = "user-agent", ae = "", nt = "?", k = {
|
|
|
802
802
|
// Sony
|
|
803
803
|
/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-\w\w\d\d)(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i
|
|
804
804
|
],
|
|
805
|
-
[c, [u, ce], [
|
|
805
|
+
[c, [u, ce], [s, y]],
|
|
806
806
|
[
|
|
807
807
|
/sony tablet [ps]/i,
|
|
808
808
|
/\b(?:sony)?sgp\w+(?: bui|\))/i
|
|
809
809
|
],
|
|
810
|
-
[[c, "Xperia Tablet"], [u, ce], [
|
|
810
|
+
[[c, "Xperia Tablet"], [u, ce], [s, _]],
|
|
811
811
|
[
|
|
812
812
|
// Amazon
|
|
813
813
|
/(alexa)webm/i,
|
|
@@ -816,38 +816,38 @@ var jt = "2.0.9", Kt = 500, xt = "user-agent", ae = "", nt = "?", k = {
|
|
|
816
816
|
/(kf[a-z]+)( bui|\)).+silk\//i
|
|
817
817
|
// Kindle Fire HD
|
|
818
818
|
],
|
|
819
|
-
[c, [u, we], [
|
|
819
|
+
[c, [u, we], [s, _]],
|
|
820
820
|
[
|
|
821
821
|
/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i
|
|
822
822
|
// Fire Phone
|
|
823
823
|
],
|
|
824
|
-
[[c, /(.+)/g, "Fire Phone $1"], [u, we], [
|
|
824
|
+
[[c, /(.+)/g, "Fire Phone $1"], [u, we], [s, y]],
|
|
825
825
|
[
|
|
826
826
|
// BlackBerry
|
|
827
827
|
/(playbook);[-\w\),; ]+(rim)/i
|
|
828
828
|
// BlackBerry PlayBook
|
|
829
829
|
],
|
|
830
|
-
[c, u, [
|
|
830
|
+
[c, u, [s, _]],
|
|
831
831
|
[
|
|
832
832
|
/\b((?:bb[a-f]|st[hv])100-\d)/i,
|
|
833
833
|
/(?:blackberry|\(bb10;) (\w+)/i
|
|
834
834
|
],
|
|
835
|
-
[c, [u,
|
|
835
|
+
[c, [u, st], [s, y]],
|
|
836
836
|
[
|
|
837
837
|
// Asus
|
|
838
838
|
/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i
|
|
839
839
|
],
|
|
840
|
-
[c, [u,
|
|
840
|
+
[c, [u, ot], [s, _]],
|
|
841
841
|
[
|
|
842
842
|
/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i
|
|
843
843
|
],
|
|
844
|
-
[c, [u,
|
|
844
|
+
[c, [u, ot], [s, y]],
|
|
845
845
|
[
|
|
846
846
|
// HTC
|
|
847
847
|
/(nexus 9)/i
|
|
848
848
|
// HTC Nexus 9
|
|
849
849
|
],
|
|
850
|
-
[c, [u, "HTC"], [
|
|
850
|
+
[c, [u, "HTC"], [s, _]],
|
|
851
851
|
[
|
|
852
852
|
/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,
|
|
853
853
|
// HTC
|
|
@@ -856,76 +856,76 @@ var jt = "2.0.9", Kt = 500, xt = "user-agent", ae = "", nt = "?", k = {
|
|
|
856
856
|
/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i
|
|
857
857
|
// Alcatel/GeeksPhone/Nexian/Panasonic/Sony
|
|
858
858
|
],
|
|
859
|
-
[u, [c, /_/g, " "], [
|
|
859
|
+
[u, [c, /_/g, " "], [s, y]],
|
|
860
860
|
[
|
|
861
861
|
// TCL
|
|
862
862
|
/tcl (xess p17aa)/i,
|
|
863
863
|
/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])(_\w(\w|\w\w))?(\)| bui)/i
|
|
864
864
|
],
|
|
865
|
-
[c, [u, "TCL"], [
|
|
865
|
+
[c, [u, "TCL"], [s, _]],
|
|
866
866
|
[
|
|
867
867
|
/droid [\w\.]+; (418(?:7d|8v)|5087z|5102l|61(?:02[dh]|25[adfh]|27[ai]|56[dh]|59k|65[ah])|a509dl|t(?:43(?:0w|1[adepqu])|50(?:6d|7[adju])|6(?:09dl|10k|12b|71[efho]|76[hjk])|7(?:66[ahju]|67[hw]|7[045][bh]|71[hk]|73o|76[ho]|79w|81[hks]?|82h|90[bhsy]|99b)|810[hs]))(_\w(\w|\w\w))?(\)| bui)/i
|
|
868
868
|
],
|
|
869
|
-
[c, [u, "TCL"], [
|
|
869
|
+
[c, [u, "TCL"], [s, y]],
|
|
870
870
|
[
|
|
871
871
|
// itel
|
|
872
872
|
/(itel) ((\w+))/i
|
|
873
873
|
],
|
|
874
|
-
[[u,
|
|
874
|
+
[[u, K], c, [s, N, { tablet: ["p10001l", "w7001"], "*": "mobile" }]],
|
|
875
875
|
[
|
|
876
876
|
// Acer
|
|
877
877
|
/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i
|
|
878
878
|
],
|
|
879
|
-
[c, [u, "Acer"], [
|
|
879
|
+
[c, [u, "Acer"], [s, _]],
|
|
880
880
|
[
|
|
881
881
|
// Meizu
|
|
882
882
|
/droid.+; (m[1-5] note) bui/i,
|
|
883
883
|
/\bmz-([-\w]{2,})/i
|
|
884
884
|
],
|
|
885
|
-
[c, [u, "Meizu"], [
|
|
885
|
+
[c, [u, "Meizu"], [s, y]],
|
|
886
886
|
[
|
|
887
887
|
// Ulefone
|
|
888
888
|
/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i
|
|
889
889
|
],
|
|
890
|
-
[c, [u, "Ulefone"], [
|
|
890
|
+
[c, [u, "Ulefone"], [s, y]],
|
|
891
891
|
[
|
|
892
892
|
// Energizer
|
|
893
893
|
/; (energy ?\w+)(?: bui|\))/i,
|
|
894
894
|
/; energizer ([\w ]+)(?: bui|\))/i
|
|
895
895
|
],
|
|
896
|
-
[c, [u, "Energizer"], [
|
|
896
|
+
[c, [u, "Energizer"], [s, y]],
|
|
897
897
|
[
|
|
898
898
|
// Cat
|
|
899
899
|
/; cat (b35);/i,
|
|
900
900
|
/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i
|
|
901
901
|
],
|
|
902
|
-
[c, [u, "Cat"], [
|
|
902
|
+
[c, [u, "Cat"], [s, y]],
|
|
903
903
|
[
|
|
904
904
|
// Smartfren
|
|
905
905
|
/((?:new )?andromax[\w- ]+)(?: bui|\))/i
|
|
906
906
|
],
|
|
907
|
-
[c, [u, "Smartfren"], [
|
|
907
|
+
[c, [u, "Smartfren"], [s, y]],
|
|
908
908
|
[
|
|
909
909
|
// Nothing
|
|
910
910
|
/droid.+; (a(in)?(0(15|59|6[35])|142)p?)/i
|
|
911
911
|
],
|
|
912
|
-
[c, [u, "Nothing"], [
|
|
912
|
+
[c, [u, "Nothing"], [s, y]],
|
|
913
913
|
[
|
|
914
914
|
// Archos
|
|
915
915
|
/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,
|
|
916
916
|
/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i
|
|
917
917
|
],
|
|
918
|
-
[c, [u, "Archos"], [
|
|
918
|
+
[c, [u, "Archos"], [s, _]],
|
|
919
919
|
[
|
|
920
920
|
/archos ([\w ]+)( b|\))/i,
|
|
921
921
|
/; (ac[3-6]\d\w{2,8})( b|\))/i
|
|
922
922
|
],
|
|
923
|
-
[c, [u, "Archos"], [
|
|
923
|
+
[c, [u, "Archos"], [s, y]],
|
|
924
924
|
[
|
|
925
925
|
// HMD
|
|
926
926
|
/; (n159v)/i
|
|
927
927
|
],
|
|
928
|
-
[c, [u, "HMD"], [
|
|
928
|
+
[c, [u, "HMD"], [s, y]],
|
|
929
929
|
[
|
|
930
930
|
// MIXED
|
|
931
931
|
/(imo) (tab \w+)/i,
|
|
@@ -933,7 +933,7 @@ var jt = "2.0.9", Kt = 500, xt = "user-agent", ae = "", nt = "?", k = {
|
|
|
933
933
|
/(infinix|tecno) (x1101b?|p904|dp(7c|8d|10a)( pro)?|p70[1-3]a?|p904|t1101)/i
|
|
934
934
|
// Infinix XPad / Tecno
|
|
935
935
|
],
|
|
936
|
-
[u, c, [
|
|
936
|
+
[u, c, [s, _]],
|
|
937
937
|
[
|
|
938
938
|
/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|tecno|micromax|advan)[-_ ]?([-\w]*)/i,
|
|
939
939
|
// BlackBerry/BenQ/Palm/Sony-Ericsson/Acer/Asus/Dell/Meizu/Motorola/Polytron/Tecno/Micromax/Advan
|
|
@@ -950,7 +950,7 @@ var jt = "2.0.9", Kt = 500, xt = "user-agent", ae = "", nt = "?", k = {
|
|
|
950
950
|
/droid[^;]+; (philips)[_ ]([sv-x][\d]{3,4}[xz]?)/i
|
|
951
951
|
// Philips
|
|
952
952
|
],
|
|
953
|
-
[u, c, [
|
|
953
|
+
[u, c, [s, y]],
|
|
954
954
|
[
|
|
955
955
|
/(kobo)\s(ereader|touch)/i,
|
|
956
956
|
// Kobo
|
|
@@ -959,41 +959,41 @@ var jt = "2.0.9", Kt = 500, xt = "user-agent", ae = "", nt = "?", k = {
|
|
|
959
959
|
/(kindle)\/([\w\.]+)/i
|
|
960
960
|
// Kindle
|
|
961
961
|
],
|
|
962
|
-
[u, c, [
|
|
962
|
+
[u, c, [s, _]],
|
|
963
963
|
[
|
|
964
964
|
/(surface duo)/i
|
|
965
965
|
// Surface Duo
|
|
966
966
|
],
|
|
967
|
-
[c, [u,
|
|
967
|
+
[c, [u, Be], [s, _]],
|
|
968
968
|
[
|
|
969
969
|
/droid [\d\.]+; (fp\du?)(?: b|\))/i
|
|
970
970
|
// Fairphone
|
|
971
971
|
],
|
|
972
|
-
[c, [u, "Fairphone"], [
|
|
972
|
+
[c, [u, "Fairphone"], [s, y]],
|
|
973
973
|
[
|
|
974
974
|
/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i
|
|
975
975
|
// Nvidia Tablets
|
|
976
976
|
],
|
|
977
|
-
[c, [u, dt], [
|
|
977
|
+
[c, [u, dt], [s, _]],
|
|
978
978
|
[
|
|
979
979
|
/(sprint) (\w+)/i
|
|
980
980
|
// Sprint Phones
|
|
981
981
|
],
|
|
982
|
-
[u, c, [
|
|
982
|
+
[u, c, [s, y]],
|
|
983
983
|
[
|
|
984
984
|
/(kin\.[onetw]{3})/i
|
|
985
985
|
// Microsoft Kin
|
|
986
986
|
],
|
|
987
|
-
[[c, /\./g, " "], [u,
|
|
987
|
+
[[c, /\./g, " "], [u, Be], [s, y]],
|
|
988
988
|
[
|
|
989
989
|
/droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i
|
|
990
990
|
// Zebra
|
|
991
991
|
],
|
|
992
|
-
[c, [u, Ve], [
|
|
992
|
+
[c, [u, Ve], [s, _]],
|
|
993
993
|
[
|
|
994
994
|
/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i
|
|
995
995
|
],
|
|
996
|
-
[c, [u, Ve], [
|
|
996
|
+
[c, [u, Ve], [s, y]],
|
|
997
997
|
[
|
|
998
998
|
///////////////////
|
|
999
999
|
// SMARTTVS
|
|
@@ -1003,90 +1003,90 @@ var jt = "2.0.9", Kt = 500, xt = "user-agent", ae = "", nt = "?", k = {
|
|
|
1003
1003
|
/smart-tv.+(samsung)/i
|
|
1004
1004
|
// Samsung
|
|
1005
1005
|
],
|
|
1006
|
-
[u, [
|
|
1006
|
+
[u, [s, T]],
|
|
1007
1007
|
[
|
|
1008
1008
|
/hbbtv.+maple;(\d+)/i
|
|
1009
1009
|
],
|
|
1010
|
-
[[c, /^/, "SmartTV"], [u, se], [
|
|
1010
|
+
[[c, /^/, "SmartTV"], [u, se], [s, T]],
|
|
1011
1011
|
[
|
|
1012
1012
|
/(vizio)(?: |.+model\/)(\w+-\w+)/i,
|
|
1013
1013
|
// Vizio
|
|
1014
1014
|
/tcast.+(lg)e?. ([-\w]+)/i
|
|
1015
1015
|
// LG SmartTV
|
|
1016
1016
|
],
|
|
1017
|
-
[u, c, [
|
|
1017
|
+
[u, c, [s, T]],
|
|
1018
1018
|
[
|
|
1019
1019
|
/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i
|
|
1020
1020
|
],
|
|
1021
|
-
[[u, ge], [
|
|
1021
|
+
[[u, ge], [s, T]],
|
|
1022
1022
|
[
|
|
1023
1023
|
/(apple) ?tv/i
|
|
1024
1024
|
// Apple TV
|
|
1025
1025
|
],
|
|
1026
|
-
[u, [c, $ + " TV"], [
|
|
1026
|
+
[u, [c, $ + " TV"], [s, T]],
|
|
1027
1027
|
[
|
|
1028
1028
|
/crkey.*devicetype\/chromecast/i
|
|
1029
1029
|
// Google Chromecast Third Generation
|
|
1030
1030
|
],
|
|
1031
|
-
[[c, q + " Third Generation"], [u,
|
|
1031
|
+
[[c, q + " Third Generation"], [u, J], [s, T]],
|
|
1032
1032
|
[
|
|
1033
1033
|
/crkey.*devicetype\/([^/]*)/i
|
|
1034
1034
|
// Google Chromecast with specific device type
|
|
1035
1035
|
],
|
|
1036
|
-
[[c, /^/, "Chromecast "], [u,
|
|
1036
|
+
[[c, /^/, "Chromecast "], [u, J], [s, T]],
|
|
1037
1037
|
[
|
|
1038
1038
|
/fuchsia.*crkey/i
|
|
1039
1039
|
// Google Chromecast Nest Hub
|
|
1040
1040
|
],
|
|
1041
|
-
[[c, q + " Nest Hub"], [u,
|
|
1041
|
+
[[c, q + " Nest Hub"], [u, J], [s, T]],
|
|
1042
1042
|
[
|
|
1043
1043
|
/crkey/i
|
|
1044
1044
|
// Google Chromecast, Linux-based or unknown
|
|
1045
1045
|
],
|
|
1046
|
-
[[c, q], [u,
|
|
1046
|
+
[[c, q], [u, J], [s, T]],
|
|
1047
1047
|
[
|
|
1048
1048
|
/(portaltv)/i
|
|
1049
1049
|
// Facebook Portal TV
|
|
1050
1050
|
],
|
|
1051
|
-
[c, [u,
|
|
1051
|
+
[c, [u, ze], [s, T]],
|
|
1052
1052
|
[
|
|
1053
1053
|
/droid.+aft(\w+)( bui|\))/i
|
|
1054
1054
|
// Fire TV
|
|
1055
1055
|
],
|
|
1056
|
-
[c, [u, we], [
|
|
1056
|
+
[c, [u, we], [s, T]],
|
|
1057
1057
|
[
|
|
1058
1058
|
/(shield \w+ tv)/i
|
|
1059
1059
|
// Nvidia Shield TV
|
|
1060
1060
|
],
|
|
1061
|
-
[c, [u, dt], [
|
|
1061
|
+
[c, [u, dt], [s, T]],
|
|
1062
1062
|
[
|
|
1063
1063
|
/\(dtv[\);].+(aquos)/i,
|
|
1064
1064
|
/(aquos-tv[\w ]+)\)/i
|
|
1065
1065
|
// Sharp
|
|
1066
1066
|
],
|
|
1067
|
-
[c, [u,
|
|
1067
|
+
[c, [u, pt], [s, T]],
|
|
1068
1068
|
[
|
|
1069
1069
|
/(bravia[\w ]+)( bui|\))/i
|
|
1070
1070
|
// Sony
|
|
1071
1071
|
],
|
|
1072
|
-
[c, [u, ce], [
|
|
1072
|
+
[c, [u, ce], [s, T]],
|
|
1073
1073
|
[
|
|
1074
1074
|
/(mi(tv|box)-?\w+) bui/i
|
|
1075
1075
|
// Xiaomi
|
|
1076
1076
|
],
|
|
1077
|
-
[c, [u, Ge], [
|
|
1077
|
+
[c, [u, Ge], [s, T]],
|
|
1078
1078
|
[
|
|
1079
1079
|
/Hbbtv.*(technisat) (.*);/i
|
|
1080
1080
|
// TechniSAT
|
|
1081
1081
|
],
|
|
1082
|
-
[u, c, [
|
|
1082
|
+
[u, c, [s, T]],
|
|
1083
1083
|
[
|
|
1084
1084
|
/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,
|
|
1085
1085
|
// Roku
|
|
1086
1086
|
/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i
|
|
1087
1087
|
// HbbTV devices
|
|
1088
1088
|
],
|
|
1089
|
-
[[u, /.+\/(\w+)/, "$1", N, { LG: "lge" }], [c, Ae], [
|
|
1089
|
+
[[u, /.+\/(\w+)/, "$1", N, { LG: "lge" }], [c, Ae], [s, T]],
|
|
1090
1090
|
[
|
|
1091
1091
|
///////////////////
|
|
1092
1092
|
// CONSOLES
|
|
@@ -1094,12 +1094,12 @@ var jt = "2.0.9", Kt = 500, xt = "user-agent", ae = "", nt = "?", k = {
|
|
|
1094
1094
|
/(playstation \w+)/i
|
|
1095
1095
|
// Playstation
|
|
1096
1096
|
],
|
|
1097
|
-
[c, [u, ce], [
|
|
1097
|
+
[c, [u, ce], [s, ye]],
|
|
1098
1098
|
[
|
|
1099
1099
|
/\b(xbox(?: one)?(?!; xbox))[\); ]/i
|
|
1100
1100
|
// Microsoft Xbox
|
|
1101
1101
|
],
|
|
1102
|
-
[c, [u,
|
|
1102
|
+
[c, [u, Be], [s, ye]],
|
|
1103
1103
|
[
|
|
1104
1104
|
/(ouya)/i,
|
|
1105
1105
|
// Ouya
|
|
@@ -1111,7 +1111,7 @@ var jt = "2.0.9", Kt = 500, xt = "user-agent", ae = "", nt = "?", k = {
|
|
|
1111
1111
|
/droid.+; ((shield|rgcube|gr0006))( bui|\))/i
|
|
1112
1112
|
// Nvidia Portable/Anbernic/Logitech
|
|
1113
1113
|
],
|
|
1114
|
-
[[u, N, { Nvidia: "Shield", Anbernic: "RGCUBE", Logitech: "GR0006" }], c, [
|
|
1114
|
+
[[u, N, { Nvidia: "Shield", Anbernic: "RGCUBE", Logitech: "GR0006" }], c, [s, ye]],
|
|
1115
1115
|
[
|
|
1116
1116
|
///////////////////
|
|
1117
1117
|
// WEARABLES
|
|
@@ -1119,48 +1119,48 @@ var jt = "2.0.9", Kt = 500, xt = "user-agent", ae = "", nt = "?", k = {
|
|
|
1119
1119
|
/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i
|
|
1120
1120
|
// Samsung Galaxy Watch
|
|
1121
1121
|
],
|
|
1122
|
-
[c, [u, se], [
|
|
1122
|
+
[c, [u, se], [s, L]],
|
|
1123
1123
|
[
|
|
1124
1124
|
/((pebble))app/i,
|
|
1125
1125
|
// Pebble
|
|
1126
1126
|
/(asus|google|lg|oppo|xiaomi) ((pixel |zen)?watch[\w ]*)( bui|\))/i
|
|
1127
1127
|
// Asus ZenWatch / LG Watch / Pixel Watch / Xiaomi Watch
|
|
1128
1128
|
],
|
|
1129
|
-
[u, c, [
|
|
1129
|
+
[u, c, [s, L]],
|
|
1130
1130
|
[
|
|
1131
1131
|
/(ow(?:19|20)?we?[1-3]{1,3})/i
|
|
1132
1132
|
// Oppo Watch
|
|
1133
1133
|
],
|
|
1134
|
-
[c, [u, He], [
|
|
1134
|
+
[c, [u, He], [s, L]],
|
|
1135
1135
|
[
|
|
1136
1136
|
/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i
|
|
1137
1137
|
// Apple Watch
|
|
1138
1138
|
],
|
|
1139
|
-
[c, [u, $], [
|
|
1139
|
+
[c, [u, $], [s, L]],
|
|
1140
1140
|
[
|
|
1141
1141
|
/(opwwe\d{3})/i
|
|
1142
1142
|
// OnePlus Watch
|
|
1143
1143
|
],
|
|
1144
|
-
[c, [u,
|
|
1144
|
+
[c, [u, ut], [s, L]],
|
|
1145
1145
|
[
|
|
1146
1146
|
/(moto 360)/i
|
|
1147
1147
|
// Motorola 360
|
|
1148
1148
|
],
|
|
1149
|
-
[c, [u,
|
|
1149
|
+
[c, [u, Fe], [s, L]],
|
|
1150
1150
|
[
|
|
1151
1151
|
/(smartwatch 3)/i
|
|
1152
1152
|
// Sony SmartWatch
|
|
1153
1153
|
],
|
|
1154
|
-
[c, [u, ce], [
|
|
1154
|
+
[c, [u, ce], [s, L]],
|
|
1155
1155
|
[
|
|
1156
1156
|
/(g watch r)/i
|
|
1157
1157
|
// LG G Watch R
|
|
1158
1158
|
],
|
|
1159
|
-
[c, [u, ge], [
|
|
1159
|
+
[c, [u, ge], [s, L]],
|
|
1160
1160
|
[
|
|
1161
1161
|
/droid.+; (wt63?0{2,3})\)/i
|
|
1162
1162
|
],
|
|
1163
|
-
[c, [u, Ve], [
|
|
1163
|
+
[c, [u, Ve], [s, L]],
|
|
1164
1164
|
[
|
|
1165
1165
|
///////////////////
|
|
1166
1166
|
// XR
|
|
@@ -1168,22 +1168,22 @@ var jt = "2.0.9", Kt = 500, xt = "user-agent", ae = "", nt = "?", k = {
|
|
|
1168
1168
|
/droid.+; (glass) \d/i
|
|
1169
1169
|
// Google Glass
|
|
1170
1170
|
],
|
|
1171
|
-
[c, [u,
|
|
1171
|
+
[c, [u, J], [s, fe]],
|
|
1172
1172
|
[
|
|
1173
1173
|
/(pico) ([\w ]+) os\d/i
|
|
1174
1174
|
// Pico
|
|
1175
1175
|
],
|
|
1176
|
-
[u, c, [
|
|
1176
|
+
[u, c, [s, fe]],
|
|
1177
1177
|
[
|
|
1178
1178
|
/(quest( \d| pro)?s?).+vr/i
|
|
1179
1179
|
// Meta Quest
|
|
1180
1180
|
],
|
|
1181
|
-
[c, [u,
|
|
1181
|
+
[c, [u, ze], [s, fe]],
|
|
1182
1182
|
[
|
|
1183
1183
|
/mobile vr; rv.+firefox/i
|
|
1184
1184
|
// Unidentifiable VR device using Firefox Reality / Wolvic
|
|
1185
1185
|
],
|
|
1186
|
-
[[
|
|
1186
|
+
[[s, fe]],
|
|
1187
1187
|
[
|
|
1188
1188
|
///////////////////
|
|
1189
1189
|
// EMBEDDED
|
|
@@ -1191,22 +1191,22 @@ var jt = "2.0.9", Kt = 500, xt = "user-agent", ae = "", nt = "?", k = {
|
|
|
1191
1191
|
/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i
|
|
1192
1192
|
// Tesla
|
|
1193
1193
|
],
|
|
1194
|
-
[u, [
|
|
1194
|
+
[u, [s, ue]],
|
|
1195
1195
|
[
|
|
1196
1196
|
/(aeobc)\b/i
|
|
1197
1197
|
// Echo Dot
|
|
1198
1198
|
],
|
|
1199
|
-
[c, [u, we], [
|
|
1199
|
+
[c, [u, we], [s, ue]],
|
|
1200
1200
|
[
|
|
1201
1201
|
/(homepod).+mac os/i
|
|
1202
1202
|
// Apple HomePod
|
|
1203
1203
|
],
|
|
1204
|
-
[c, [u, $], [
|
|
1204
|
+
[c, [u, $], [s, ue]],
|
|
1205
1205
|
[
|
|
1206
1206
|
/windows iot/i
|
|
1207
1207
|
// Unidentifiable embedded device using Windows IoT
|
|
1208
1208
|
],
|
|
1209
|
-
[[
|
|
1209
|
+
[[s, ue]],
|
|
1210
1210
|
[
|
|
1211
1211
|
////////////////////
|
|
1212
1212
|
// MIXED (GENERIC)
|
|
@@ -1214,25 +1214,25 @@ var jt = "2.0.9", Kt = 500, xt = "user-agent", ae = "", nt = "?", k = {
|
|
|
1214
1214
|
/droid.+; ([\w- ]+) (4k|android|smart|google)[- ]?tv/i
|
|
1215
1215
|
// Unidentifiable SmartTV
|
|
1216
1216
|
],
|
|
1217
|
-
[c, [
|
|
1217
|
+
[c, [s, T]],
|
|
1218
1218
|
[
|
|
1219
1219
|
/\b((4k|android|smart|opera)[- ]?tv|tv; rv:|large screen[\w ]+safari)\b/i
|
|
1220
1220
|
],
|
|
1221
|
-
[[
|
|
1221
|
+
[[s, T]],
|
|
1222
1222
|
[
|
|
1223
1223
|
/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew|; hmsc).+?(mobile|vr|\d) safari/i
|
|
1224
1224
|
],
|
|
1225
|
-
[c, [
|
|
1225
|
+
[c, [s, N, { mobile: "Mobile", xr: "VR", "*": _ }]],
|
|
1226
1226
|
[
|
|
1227
1227
|
/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i
|
|
1228
1228
|
// Unidentifiable Tablet
|
|
1229
1229
|
],
|
|
1230
|
-
[[
|
|
1230
|
+
[[s, _]],
|
|
1231
1231
|
[
|
|
1232
1232
|
/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i
|
|
1233
1233
|
// Unidentifiable Mobile
|
|
1234
1234
|
],
|
|
1235
|
-
[[
|
|
1235
|
+
[[s, y]],
|
|
1236
1236
|
[
|
|
1237
1237
|
/droid .+?; ([\w\. -]+)( bui|\))/i
|
|
1238
1238
|
// Generic Android Device
|
|
@@ -1244,17 +1244,17 @@ var jt = "2.0.9", Kt = 500, xt = "user-agent", ae = "", nt = "?", k = {
|
|
|
1244
1244
|
/windows.+ edge\/([\w\.]+)/i
|
|
1245
1245
|
// EdgeHTML
|
|
1246
1246
|
],
|
|
1247
|
-
[
|
|
1247
|
+
[d, [l, ve + "HTML"]],
|
|
1248
1248
|
[
|
|
1249
1249
|
/(arkweb)\/([\w\.]+)/i
|
|
1250
1250
|
// ArkWeb
|
|
1251
1251
|
],
|
|
1252
|
-
[
|
|
1252
|
+
[l, d],
|
|
1253
1253
|
[
|
|
1254
1254
|
/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i
|
|
1255
1255
|
// Blink
|
|
1256
1256
|
],
|
|
1257
|
-
[
|
|
1257
|
+
[d, [l, "Blink"]],
|
|
1258
1258
|
[
|
|
1259
1259
|
/(presto)\/([\w\.]+)/i,
|
|
1260
1260
|
// Presto
|
|
@@ -1269,16 +1269,16 @@ var jt = "2.0.9", Kt = 500, xt = "user-agent", ae = "", nt = "?", k = {
|
|
|
1269
1269
|
/\b(libweb)/i
|
|
1270
1270
|
// LibWeb
|
|
1271
1271
|
],
|
|
1272
|
-
[
|
|
1272
|
+
[l, d],
|
|
1273
1273
|
[
|
|
1274
1274
|
/ladybird\//i
|
|
1275
1275
|
],
|
|
1276
|
-
[[
|
|
1276
|
+
[[l, "LibWeb"]],
|
|
1277
1277
|
[
|
|
1278
1278
|
/rv\:([\w\.]{1,9})\b.+(gecko)/i
|
|
1279
1279
|
// Gecko
|
|
1280
1280
|
],
|
|
1281
|
-
[
|
|
1281
|
+
[d, l]
|
|
1282
1282
|
],
|
|
1283
1283
|
os: [
|
|
1284
1284
|
[
|
|
@@ -1286,24 +1286,24 @@ var jt = "2.0.9", Kt = 500, xt = "user-agent", ae = "", nt = "?", k = {
|
|
|
1286
1286
|
/(windows nt) (6\.[23]); arm/i
|
|
1287
1287
|
// Windows RT
|
|
1288
1288
|
],
|
|
1289
|
-
[[
|
|
1289
|
+
[[l, /N/, "R"], [d, N, wt]],
|
|
1290
1290
|
[
|
|
1291
1291
|
/(windows (?:phone|mobile|iot))(?: os)?[\/ ]?([\d\.]*( se)?)/i,
|
|
1292
1292
|
// Windows IoT/Mobile/Phone
|
|
1293
1293
|
// Windows NT/3.1/95/98/ME/2000/XP/Vista/7/8/8.1/10/11
|
|
1294
1294
|
/(windows)[\/ ](1[01]|2000|3\.1|7|8(\.1)?|9[58]|me|server 20\d\d( r2)?|vista|xp)/i
|
|
1295
1295
|
],
|
|
1296
|
-
[
|
|
1296
|
+
[l, d],
|
|
1297
1297
|
[
|
|
1298
1298
|
/windows nt ?([\d\.\)]*)(?!.+xbox)/i,
|
|
1299
1299
|
/\bwin(?=3| ?9|n)(?:nt| 9x )?([\d\.;]*)/i
|
|
1300
1300
|
],
|
|
1301
|
-
[[
|
|
1301
|
+
[[d, /(;|\))/g, "", N, wt], [l, je]],
|
|
1302
1302
|
[
|
|
1303
1303
|
/(windows ce)\/?([\d\.]*)/i
|
|
1304
1304
|
// Windows CE
|
|
1305
1305
|
],
|
|
1306
|
-
[
|
|
1306
|
+
[l, d],
|
|
1307
1307
|
[
|
|
1308
1308
|
// iOS/macOS
|
|
1309
1309
|
/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,
|
|
@@ -1312,100 +1312,100 @@ var jt = "2.0.9", Kt = 500, xt = "user-agent", ae = "", nt = "?", k = {
|
|
|
1312
1312
|
/\btvos ?([\w\.]+)/i,
|
|
1313
1313
|
/cfnetwork\/.+darwin/i
|
|
1314
1314
|
],
|
|
1315
|
-
[[
|
|
1315
|
+
[[d, /_/g, "."], [l, "iOS"]],
|
|
1316
1316
|
[
|
|
1317
1317
|
/(mac os x) ?([\w\. ]*)/i,
|
|
1318
1318
|
/(macintosh|mac_powerpc\b)(?!.+(haiku|morphos))/i
|
|
1319
1319
|
// Mac OS
|
|
1320
1320
|
],
|
|
1321
|
-
[[
|
|
1321
|
+
[[l, "macOS"], [d, /_/g, "."]],
|
|
1322
1322
|
[
|
|
1323
1323
|
// Google Chromecast
|
|
1324
1324
|
/android ([\d\.]+).*crkey/i
|
|
1325
1325
|
// Google Chromecast, Android-based
|
|
1326
1326
|
],
|
|
1327
|
-
[
|
|
1327
|
+
[d, [l, q + " Android"]],
|
|
1328
1328
|
[
|
|
1329
1329
|
/fuchsia.*crkey\/([\d\.]+)/i
|
|
1330
1330
|
// Google Chromecast, Fuchsia-based
|
|
1331
1331
|
],
|
|
1332
|
-
[
|
|
1332
|
+
[d, [l, q + " Fuchsia"]],
|
|
1333
1333
|
[
|
|
1334
1334
|
/crkey\/([\d\.]+).*devicetype\/smartspeaker/i
|
|
1335
1335
|
// Google Chromecast, Linux-based Smart Speaker
|
|
1336
1336
|
],
|
|
1337
|
-
[
|
|
1337
|
+
[d, [l, q + " SmartSpeaker"]],
|
|
1338
1338
|
[
|
|
1339
1339
|
/linux.*crkey\/([\d\.]+)/i
|
|
1340
1340
|
// Google Chromecast, Legacy Linux-based
|
|
1341
1341
|
],
|
|
1342
|
-
[
|
|
1342
|
+
[d, [l, q + " Linux"]],
|
|
1343
1343
|
[
|
|
1344
1344
|
/crkey\/([\d\.]+)/i
|
|
1345
1345
|
// Google Chromecast, unknown
|
|
1346
1346
|
],
|
|
1347
|
-
[
|
|
1347
|
+
[d, [l, q]],
|
|
1348
1348
|
[
|
|
1349
1349
|
// Mobile OSes
|
|
1350
1350
|
/droid ([\w\.]+)\b.+(android[- ]x86)/i
|
|
1351
1351
|
// Android-x86
|
|
1352
1352
|
],
|
|
1353
|
-
[
|
|
1353
|
+
[d, l],
|
|
1354
1354
|
[
|
|
1355
1355
|
/(ubuntu) ([\w\.]+) like android/i
|
|
1356
1356
|
// Ubuntu Touch
|
|
1357
1357
|
],
|
|
1358
|
-
[[
|
|
1358
|
+
[[l, /(.+)/, "$1 Touch"], d],
|
|
1359
1359
|
[
|
|
1360
1360
|
/(harmonyos)[\/ ]?([\d\.]*)/i,
|
|
1361
1361
|
// HarmonyOS
|
|
1362
1362
|
// Android/Blackberry/WebOS/QNX/Bada/RIM/KaiOS/Maemo/MeeGo/S40/Sailfish OS/OpenHarmony/Tizen
|
|
1363
1363
|
/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen)\w*[-\/\.; ]?([\d\.]*)/i
|
|
1364
1364
|
],
|
|
1365
|
-
[
|
|
1365
|
+
[l, d],
|
|
1366
1366
|
[
|
|
1367
1367
|
/\(bb(10);/i
|
|
1368
1368
|
// BlackBerry 10
|
|
1369
1369
|
],
|
|
1370
|
-
[
|
|
1370
|
+
[d, [l, st]],
|
|
1371
1371
|
[
|
|
1372
1372
|
/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i
|
|
1373
1373
|
// Symbian
|
|
1374
1374
|
],
|
|
1375
|
-
[
|
|
1375
|
+
[d, [l, "Symbian"]],
|
|
1376
1376
|
[
|
|
1377
1377
|
/mozilla\/[\d\.]+ \((?:mobile[;\w ]*|tablet|tv|[^\)]*(?:viera|lg(?:l25|-d300)|alcatel ?o.+|y300-f1)); rv:([\w\.]+)\).+gecko\//i
|
|
1378
1378
|
// Firefox OS
|
|
1379
1379
|
],
|
|
1380
|
-
[
|
|
1380
|
+
[d, [l, le + " OS"]],
|
|
1381
1381
|
[
|
|
1382
1382
|
/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i,
|
|
1383
1383
|
// WebOS
|
|
1384
1384
|
/webos(?:[ \/]?|\.tv-20(?=2[2-9]))(\d[\d\.]*)/i
|
|
1385
1385
|
],
|
|
1386
|
-
[
|
|
1386
|
+
[d, [l, "webOS"]],
|
|
1387
1387
|
[
|
|
1388
1388
|
/web0s;.+?(?:chr[o0]me|safari)\/(\d+)/i
|
|
1389
1389
|
// https://webostv.developer.lge.com/develop/specifications/web-api-and-web-engine
|
|
1390
1390
|
],
|
|
1391
|
-
[[
|
|
1391
|
+
[[d, N, { 25: "120", 24: "108", 23: "94", 22: "87", 6: "79", 5: "68", 4: "53", 3: "38", 2: "538", 1: "537", "*": "TV" }], [l, "webOS"]],
|
|
1392
1392
|
[
|
|
1393
1393
|
/watch(?: ?os[,\/ ]|\d,\d\/)([\d\.]+)/i
|
|
1394
1394
|
// watchOS
|
|
1395
1395
|
],
|
|
1396
|
-
[
|
|
1396
|
+
[d, [l, "watchOS"]],
|
|
1397
1397
|
[
|
|
1398
1398
|
// Google ChromeOS
|
|
1399
1399
|
/cros [\w]+(?:\)| ([\w\.]+)\b)/i
|
|
1400
1400
|
// Chromium OS
|
|
1401
1401
|
],
|
|
1402
|
-
[
|
|
1402
|
+
[d, [l, "Chrome OS"]],
|
|
1403
1403
|
[
|
|
1404
1404
|
// Smart TVs
|
|
1405
1405
|
/kepler ([\w\.]+); (aft|aeo)/i
|
|
1406
1406
|
// Vega OS
|
|
1407
1407
|
],
|
|
1408
|
-
[
|
|
1408
|
+
[d, [l, "Vega OS"]],
|
|
1409
1409
|
[
|
|
1410
1410
|
/(netrange)mmh/i,
|
|
1411
1411
|
// Netrange
|
|
@@ -1440,198 +1440,198 @@ var jt = "2.0.9", Kt = 500, xt = "user-agent", ae = "", nt = "?", k = {
|
|
|
1440
1440
|
/(haiku) ?(r\d)?/i
|
|
1441
1441
|
// Haiku
|
|
1442
1442
|
],
|
|
1443
|
-
[
|
|
1443
|
+
[l, d],
|
|
1444
1444
|
[
|
|
1445
1445
|
/(sunos) ?([\d\.]*)/i
|
|
1446
1446
|
// Solaris
|
|
1447
1447
|
],
|
|
1448
|
-
[[
|
|
1448
|
+
[[l, "Solaris"], d],
|
|
1449
1449
|
[
|
|
1450
1450
|
/\b(beos|os\/2|amigaos|openvms|hp-ux|serenityos)/i,
|
|
1451
1451
|
// BeOS/OS2/AmigaOS/OpenVMS/HP-UX/SerenityOS
|
|
1452
1452
|
/(unix) ?([\w\.]*)/i
|
|
1453
1453
|
// UNIX
|
|
1454
1454
|
],
|
|
1455
|
-
[
|
|
1455
|
+
[l, d]
|
|
1456
1456
|
]
|
|
1457
1457
|
}, me = (function() {
|
|
1458
1458
|
var a = { init: {}, isIgnore: {}, isIgnoreRgx: {}, toString: {} };
|
|
1459
1459
|
return V.call(a.init, [
|
|
1460
|
-
[
|
|
1461
|
-
[
|
|
1462
|
-
[
|
|
1463
|
-
[U, [
|
|
1464
|
-
[
|
|
1460
|
+
[D, [l, d, pe, s]],
|
|
1461
|
+
[z, [M]],
|
|
1462
|
+
[F, [s, c, u]],
|
|
1463
|
+
[U, [l, d]],
|
|
1464
|
+
[P, [l, d]]
|
|
1465
1465
|
]), V.call(a.isIgnore, [
|
|
1466
|
-
[
|
|
1467
|
-
[U, [
|
|
1468
|
-
[
|
|
1466
|
+
[D, [d, pe]],
|
|
1467
|
+
[U, [d]],
|
|
1468
|
+
[P, [d]]
|
|
1469
1469
|
]), V.call(a.isIgnoreRgx, [
|
|
1470
|
-
[
|
|
1471
|
-
[
|
|
1470
|
+
[D, / ?browser$/i],
|
|
1471
|
+
[P, / ?os$/i]
|
|
1472
1472
|
]), V.call(a.toString, [
|
|
1473
|
-
[
|
|
1474
|
-
[
|
|
1475
|
-
[
|
|
1476
|
-
[U, [
|
|
1477
|
-
[
|
|
1473
|
+
[D, [l, d]],
|
|
1474
|
+
[z, [M]],
|
|
1475
|
+
[F, [u, c]],
|
|
1476
|
+
[U, [l, d]],
|
|
1477
|
+
[P, [l, d]]
|
|
1478
1478
|
]), a;
|
|
1479
|
-
})(),
|
|
1479
|
+
})(), r0 = function(a, t) {
|
|
1480
1480
|
var e = me.init[t], i = me.isIgnore[t] || 0, n = me.isIgnoreRgx[t] || 0, r = me.toString[t] || 0;
|
|
1481
|
-
function
|
|
1481
|
+
function o() {
|
|
1482
1482
|
V.call(this, e);
|
|
1483
1483
|
}
|
|
1484
|
-
return
|
|
1484
|
+
return o.prototype.getItem = function() {
|
|
1485
1485
|
return a;
|
|
1486
|
-
},
|
|
1487
|
-
return Z ? Z.getHighEntropyValues(Rt).then(function(
|
|
1488
|
-
return a.setCH(new
|
|
1486
|
+
}, o.prototype.withClientHints = function() {
|
|
1487
|
+
return Z ? Z.getHighEntropyValues(Rt).then(function(p) {
|
|
1488
|
+
return a.setCH(new Ot(p, !1)).parseCH().get();
|
|
1489
1489
|
}) : a.parseCH().get();
|
|
1490
|
-
},
|
|
1490
|
+
}, o.prototype.withFeatureCheck = function() {
|
|
1491
1491
|
return a.detectFeature().get();
|
|
1492
|
-
}, t != xe && (
|
|
1493
|
-
var
|
|
1494
|
-
for (var
|
|
1495
|
-
if (this.hasOwnProperty(
|
|
1496
|
-
if (
|
|
1497
|
-
} else if (
|
|
1498
|
-
|
|
1492
|
+
}, t != xe && (o.prototype.is = function(p) {
|
|
1493
|
+
var b = !1;
|
|
1494
|
+
for (var v in this)
|
|
1495
|
+
if (this.hasOwnProperty(v) && !We(i, v) && K(n ? re(n, this[v]) : this[v]) == K(n ? re(n, p) : p)) {
|
|
1496
|
+
if (b = !0, p != k.UNDEFINED) break;
|
|
1497
|
+
} else if (p == k.UNDEFINED && b) {
|
|
1498
|
+
b = !b;
|
|
1499
1499
|
break;
|
|
1500
1500
|
}
|
|
1501
|
-
return
|
|
1502
|
-
},
|
|
1503
|
-
var
|
|
1504
|
-
for (var
|
|
1505
|
-
typeof this[r[
|
|
1506
|
-
return
|
|
1507
|
-
}),
|
|
1508
|
-
var
|
|
1509
|
-
for (var
|
|
1510
|
-
|
|
1501
|
+
return b;
|
|
1502
|
+
}, o.prototype.toString = function() {
|
|
1503
|
+
var p = ae;
|
|
1504
|
+
for (var b in r)
|
|
1505
|
+
typeof this[r[b]] !== k.UNDEFINED && (p += (p ? " " : ae) + this[r[b]]);
|
|
1506
|
+
return p || k.UNDEFINED;
|
|
1507
|
+
}), o.prototype.then = function(p) {
|
|
1508
|
+
var b = this, v = function() {
|
|
1509
|
+
for (var R in b)
|
|
1510
|
+
b.hasOwnProperty(R) && (this[R] = b[R]);
|
|
1511
1511
|
};
|
|
1512
|
-
|
|
1513
|
-
is:
|
|
1514
|
-
toString:
|
|
1515
|
-
withClientHints:
|
|
1516
|
-
withFeatureCheck:
|
|
1512
|
+
v.prototype = {
|
|
1513
|
+
is: o.prototype.is,
|
|
1514
|
+
toString: o.prototype.toString,
|
|
1515
|
+
withClientHints: o.prototype.withClientHints,
|
|
1516
|
+
withFeatureCheck: o.prototype.withFeatureCheck
|
|
1517
1517
|
};
|
|
1518
|
-
var S = new
|
|
1519
|
-
return
|
|
1520
|
-
}, new
|
|
1518
|
+
var S = new v();
|
|
1519
|
+
return p(S), S;
|
|
1520
|
+
}, new o();
|
|
1521
1521
|
};
|
|
1522
|
-
function
|
|
1522
|
+
function Ot(a, t) {
|
|
1523
1523
|
if (a = a || {}, V.call(this, Rt), t)
|
|
1524
1524
|
V.call(this, [
|
|
1525
|
-
[Ze,
|
|
1526
|
-
[Qe,
|
|
1527
|
-
[y, /\?1/.test(a[
|
|
1528
|
-
[c,
|
|
1529
|
-
[ne,
|
|
1530
|
-
[$e,
|
|
1531
|
-
[M,
|
|
1532
|
-
[
|
|
1533
|
-
[Ne,
|
|
1525
|
+
[Ze, Ye(a[W])],
|
|
1526
|
+
[Qe, Ye(a[Xt])],
|
|
1527
|
+
[y, /\?1/.test(a[e0])],
|
|
1528
|
+
[c, de(a[t0])],
|
|
1529
|
+
[ne, de(a[Mt])],
|
|
1530
|
+
[$e, de(a[i0])],
|
|
1531
|
+
[M, de(a[Zt])],
|
|
1532
|
+
[X, Ye(a[$t])],
|
|
1533
|
+
[Ne, de(a[Qt])]
|
|
1534
1534
|
]);
|
|
1535
1535
|
else
|
|
1536
1536
|
for (var e in a)
|
|
1537
1537
|
this.hasOwnProperty(e) && typeof a[e] !== k.UNDEFINED && (this[e] = a[e]);
|
|
1538
1538
|
}
|
|
1539
|
-
function
|
|
1539
|
+
function j(a, t, e, i) {
|
|
1540
1540
|
return V.call(this, [
|
|
1541
1541
|
["itemType", a],
|
|
1542
1542
|
["ua", t],
|
|
1543
1543
|
["uaCH", i],
|
|
1544
1544
|
["rgxMap", e],
|
|
1545
|
-
["data",
|
|
1545
|
+
["data", r0(this, a)]
|
|
1546
1546
|
]), this;
|
|
1547
1547
|
}
|
|
1548
|
-
|
|
1548
|
+
j.prototype.get = function(a) {
|
|
1549
1549
|
return a ? this.data.hasOwnProperty(a) ? this.data[a] : void 0 : this.data;
|
|
1550
1550
|
};
|
|
1551
|
-
|
|
1551
|
+
j.prototype.set = function(a, t) {
|
|
1552
1552
|
return this.data[a] = t, this;
|
|
1553
1553
|
};
|
|
1554
|
-
|
|
1554
|
+
j.prototype.setCH = function(a) {
|
|
1555
1555
|
return this.uaCH = a, this;
|
|
1556
1556
|
};
|
|
1557
|
-
|
|
1558
|
-
if (
|
|
1557
|
+
j.prototype.detectFeature = function() {
|
|
1558
|
+
if (O && O.userAgent == this.ua)
|
|
1559
1559
|
switch (this.itemType) {
|
|
1560
|
-
case
|
|
1561
|
-
|
|
1560
|
+
case D:
|
|
1561
|
+
O.brave && typeof O.brave.isBrave == k.FUNCTION && this.set(l, "Brave");
|
|
1562
1562
|
break;
|
|
1563
|
-
case
|
|
1564
|
-
!this.get(
|
|
1563
|
+
case F:
|
|
1564
|
+
!this.get(s) && Z && Z[y] && this.set(s, y), this.get(c) == "Macintosh" && O && typeof O.standalone !== k.UNDEFINED && O.maxTouchPoints && O.maxTouchPoints > 2 && this.set(c, "iPad").set(s, _);
|
|
1565
1565
|
break;
|
|
1566
|
-
case
|
|
1567
|
-
!this.get(
|
|
1566
|
+
case P:
|
|
1567
|
+
!this.get(l) && Z && Z[ne] && this.set(l, Z[ne]);
|
|
1568
1568
|
break;
|
|
1569
1569
|
case xe:
|
|
1570
1570
|
var a = this.data, t = function(e) {
|
|
1571
1571
|
return a[e].getItem().detectFeature().get();
|
|
1572
1572
|
};
|
|
1573
|
-
this.set(
|
|
1573
|
+
this.set(D, t(D)).set(z, t(z)).set(F, t(F)).set(U, t(U)).set(P, t(P));
|
|
1574
1574
|
}
|
|
1575
1575
|
return this;
|
|
1576
1576
|
};
|
|
1577
|
-
|
|
1578
|
-
switch (this.itemType != xe &&
|
|
1579
|
-
case O:
|
|
1580
|
-
this.set(be, Xe(this.get(l)));
|
|
1581
|
-
break;
|
|
1577
|
+
j.prototype.parseUA = function() {
|
|
1578
|
+
switch (this.itemType != xe && Xe.call(this.data, this.ua, this.rgxMap), this.itemType) {
|
|
1582
1579
|
case D:
|
|
1583
|
-
|
|
1580
|
+
this.set(pe, Je(this.get(d)));
|
|
1581
|
+
break;
|
|
1582
|
+
case P:
|
|
1583
|
+
if (this.get(l) == "iOS" && this.get(d) == "18.6") {
|
|
1584
1584
|
var a = /\) Version\/([\d\.]+)/.exec(this.ua);
|
|
1585
|
-
a && parseInt(a[1].substring(0, 2), 10) >= 26 && this.set(
|
|
1585
|
+
a && parseInt(a[1].substring(0, 2), 10) >= 26 && this.set(d, a[1]);
|
|
1586
1586
|
}
|
|
1587
1587
|
break;
|
|
1588
1588
|
}
|
|
1589
1589
|
return this;
|
|
1590
1590
|
};
|
|
1591
|
-
|
|
1591
|
+
j.prototype.parseCH = function() {
|
|
1592
1592
|
var a = this.uaCH, t = this.rgxMap;
|
|
1593
1593
|
switch (this.itemType) {
|
|
1594
|
-
case
|
|
1594
|
+
case D:
|
|
1595
1595
|
case U:
|
|
1596
1596
|
var e = a[Qe] || a[Ze], i;
|
|
1597
1597
|
if (e)
|
|
1598
1598
|
for (var n = 0; n < e.length; n++) {
|
|
1599
|
-
var r = e[n].brand || e[n],
|
|
1600
|
-
this.itemType ==
|
|
1599
|
+
var r = e[n].brand || e[n], o = e[n].version;
|
|
1600
|
+
this.itemType == D && !/not.a.brand/i.test(r) && (!i || /Chrom/.test(i) && r != ht || i == ve && /WebView2/.test(r)) && (r = N(r, n0), i = this.get(l), i && !/Chrom/.test(i) && /Chrom/.test(r) || this.set(l, r).set(d, o).set(pe, Je(o)), i = r), this.itemType == U && r == ht && this.set(d, o);
|
|
1601
1601
|
}
|
|
1602
1602
|
break;
|
|
1603
|
-
case
|
|
1604
|
-
var
|
|
1605
|
-
|
|
1603
|
+
case z:
|
|
1604
|
+
var p = a[M];
|
|
1605
|
+
p && (p && a[Ne] == "64" && (p += "64"), Xe.call(this.data, p + ";", t));
|
|
1606
1606
|
break;
|
|
1607
|
-
case
|
|
1608
|
-
if (a[y] && this.set(
|
|
1609
|
-
var
|
|
1610
|
-
|
|
1607
|
+
case F:
|
|
1608
|
+
if (a[y] && this.set(s, y), a[c] && (this.set(c, a[c]), !this.get(s) || !this.get(u))) {
|
|
1609
|
+
var b = {};
|
|
1610
|
+
Xe.call(b, "droid 9; " + a[c] + ")", t), !this.get(s) && b.type && this.set(s, b.type), !this.get(u) && b.vendor && this.set(u, b.vendor);
|
|
1611
1611
|
}
|
|
1612
|
-
if (a[
|
|
1613
|
-
var
|
|
1614
|
-
if (typeof a[
|
|
1615
|
-
for (var S = 0; !
|
|
1616
|
-
|
|
1612
|
+
if (a[X]) {
|
|
1613
|
+
var v;
|
|
1614
|
+
if (typeof a[X] != "string")
|
|
1615
|
+
for (var S = 0; !v && S < a[X].length; )
|
|
1616
|
+
v = N(a[X][S++], gt);
|
|
1617
1617
|
else
|
|
1618
|
-
|
|
1619
|
-
this.set(
|
|
1618
|
+
v = N(a[X], gt);
|
|
1619
|
+
this.set(s, v);
|
|
1620
1620
|
}
|
|
1621
1621
|
break;
|
|
1622
|
-
case
|
|
1623
|
-
var
|
|
1624
|
-
if (
|
|
1622
|
+
case P:
|
|
1623
|
+
var R = a[ne];
|
|
1624
|
+
if (R) {
|
|
1625
1625
|
var G = a[$e];
|
|
1626
|
-
|
|
1626
|
+
R == je && (G = parseInt(Je(G), 10) >= 13 ? "11" : "10"), this.set(l, R).set(d, G);
|
|
1627
1627
|
}
|
|
1628
|
-
this.get(
|
|
1628
|
+
this.get(l) == je && a[c] == "Xbox" && this.set(l, "Xbox").set(d, void 0);
|
|
1629
1629
|
break;
|
|
1630
1630
|
case xe:
|
|
1631
|
-
var oe = this.data,
|
|
1631
|
+
var oe = this.data, Y = function(he) {
|
|
1632
1632
|
return oe[he].getItem().setCH(a).parseCH().get();
|
|
1633
1633
|
};
|
|
1634
|
-
this.set(
|
|
1634
|
+
this.set(D, Y(D)).set(z, Y(z)).set(F, Y(F)).set(U, Y(U)).set(P, Y(P));
|
|
1635
1635
|
}
|
|
1636
1636
|
return this;
|
|
1637
1637
|
};
|
|
@@ -1639,8 +1639,8 @@ function H(a, t, e) {
|
|
|
1639
1639
|
if (typeof a === k.OBJECT ? (Te(a, !0) ? (typeof t === k.OBJECT && (e = t), t = a) : (e = a, t = void 0), a = void 0) : typeof a === k.STRING && !Te(t, !0) && (e = t, t = void 0), e)
|
|
1640
1640
|
if (typeof e.append === k.FUNCTION) {
|
|
1641
1641
|
var i = {};
|
|
1642
|
-
e.forEach(function(S,
|
|
1643
|
-
i[String(
|
|
1642
|
+
e.forEach(function(S, R) {
|
|
1643
|
+
i[String(R).toLowerCase()] = S;
|
|
1644
1644
|
}), e = i;
|
|
1645
1645
|
} else {
|
|
1646
1646
|
var n = {};
|
|
@@ -1650,619 +1650,618 @@ function H(a, t, e) {
|
|
|
1650
1650
|
}
|
|
1651
1651
|
if (!(this instanceof H))
|
|
1652
1652
|
return new H(a, t, e).getResult();
|
|
1653
|
-
var
|
|
1653
|
+
var o = typeof a === k.STRING ? a : (
|
|
1654
1654
|
// Passed user-agent string
|
|
1655
|
-
e && e[
|
|
1655
|
+
e && e[nt] ? e[nt] : (
|
|
1656
1656
|
// User-Agent from passed headers
|
|
1657
|
-
|
|
1657
|
+
O && O.userAgent ? O.userAgent : (
|
|
1658
1658
|
// navigator.userAgent
|
|
1659
1659
|
ae
|
|
1660
1660
|
)
|
|
1661
1661
|
)
|
|
1662
|
-
),
|
|
1662
|
+
), p = new Ot(e, !0), b = t ? x0(mt, t) : mt, v = function(S) {
|
|
1663
1663
|
return S == xe ? function() {
|
|
1664
|
-
return new
|
|
1664
|
+
return new j(S, o, b, p).set("ua", o).set(D, this.getBrowser()).set(z, this.getCPU()).set(F, this.getDevice()).set(U, this.getEngine()).set(P, this.getOS()).get();
|
|
1665
1665
|
} : function() {
|
|
1666
|
-
return new
|
|
1666
|
+
return new j(S, o, b[S], p).parseUA().get();
|
|
1667
1667
|
};
|
|
1668
1668
|
};
|
|
1669
1669
|
return V.call(this, [
|
|
1670
|
-
["getBrowser",
|
|
1671
|
-
["getCPU",
|
|
1672
|
-
["getDevice",
|
|
1673
|
-
["getEngine",
|
|
1674
|
-
["getOS",
|
|
1675
|
-
["getResult",
|
|
1670
|
+
["getBrowser", v(D)],
|
|
1671
|
+
["getCPU", v(z)],
|
|
1672
|
+
["getDevice", v(F)],
|
|
1673
|
+
["getEngine", v(U)],
|
|
1674
|
+
["getOS", v(P)],
|
|
1675
|
+
["getResult", v(xe)],
|
|
1676
1676
|
["getUA", function() {
|
|
1677
|
-
return
|
|
1677
|
+
return o;
|
|
1678
1678
|
}],
|
|
1679
1679
|
["setUA", function(S) {
|
|
1680
|
-
return
|
|
1680
|
+
return be(S) && (o = Ae(S, Wt)), this;
|
|
1681
1681
|
}]
|
|
1682
|
-
]).setUA(
|
|
1682
|
+
]).setUA(o), this;
|
|
1683
1683
|
}
|
|
1684
1684
|
H.VERSION = jt;
|
|
1685
|
-
H.BROWSER = Ue([
|
|
1685
|
+
H.BROWSER = Ue([l, d, pe, s]);
|
|
1686
1686
|
H.CPU = Ue([M]);
|
|
1687
|
-
H.DEVICE = Ue([c, u,
|
|
1688
|
-
H.ENGINE = H.OS = Ue([
|
|
1689
|
-
const
|
|
1687
|
+
H.DEVICE = Ue([c, u, s, ye, y, T, _, L, ue]);
|
|
1688
|
+
H.ENGINE = H.OS = Ue([l, d]);
|
|
1689
|
+
const o0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1690
1690
|
__proto__: null,
|
|
1691
1691
|
UAParser: H
|
|
1692
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1692
|
+
}, Symbol.toStringTag, { value: "Module" })), C = [];
|
|
1693
1693
|
for (let a = 0; a < 256; ++a)
|
|
1694
|
-
|
|
1695
|
-
function
|
|
1696
|
-
return (
|
|
1694
|
+
C.push((a + 256).toString(16).slice(1));
|
|
1695
|
+
function s0(a, t = 0) {
|
|
1696
|
+
return (C[a[t + 0]] + C[a[t + 1]] + C[a[t + 2]] + C[a[t + 3]] + "-" + C[a[t + 4]] + C[a[t + 5]] + "-" + C[a[t + 6]] + C[a[t + 7]] + "-" + C[a[t + 8]] + C[a[t + 9]] + "-" + C[a[t + 10]] + C[a[t + 11]] + C[a[t + 12]] + C[a[t + 13]] + C[a[t + 14]] + C[a[t + 15]]).toLowerCase();
|
|
1697
1697
|
}
|
|
1698
1698
|
let qe;
|
|
1699
|
-
const
|
|
1700
|
-
function
|
|
1699
|
+
const c0 = new Uint8Array(16);
|
|
1700
|
+
function l0() {
|
|
1701
1701
|
if (!qe) {
|
|
1702
1702
|
if (typeof crypto > "u" || !crypto.getRandomValues)
|
|
1703
1703
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
1704
1704
|
qe = crypto.getRandomValues.bind(crypto);
|
|
1705
1705
|
}
|
|
1706
|
-
return qe(
|
|
1706
|
+
return qe(c0);
|
|
1707
1707
|
}
|
|
1708
|
-
const d0 = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto),
|
|
1709
|
-
function
|
|
1708
|
+
const d0 = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), yt = { randomUUID: d0 };
|
|
1709
|
+
function u0(a, t, e) {
|
|
1710
1710
|
a = a || {};
|
|
1711
|
-
const i = a.random ?? a.rng?.() ??
|
|
1711
|
+
const i = a.random ?? a.rng?.() ?? l0();
|
|
1712
1712
|
if (i.length < 16)
|
|
1713
1713
|
throw new Error("Random bytes length must be >= 16");
|
|
1714
|
-
return i[6] = i[6] & 15 | 64, i[8] = i[8] & 63 | 128,
|
|
1714
|
+
return i[6] = i[6] & 15 | 64, i[8] = i[8] & 63 | 128, s0(i);
|
|
1715
1715
|
}
|
|
1716
|
-
function
|
|
1717
|
-
return
|
|
1716
|
+
function Dt(a, t, e) {
|
|
1717
|
+
return yt.randomUUID && !a ? yt.randomUUID() : u0(a);
|
|
1718
|
+
}
|
|
1719
|
+
function Ce() {
|
|
1720
|
+
const a = ["Bouvet Island", "Gabon", "Algeria", "Grenada", "Anguilla", "Greenland", "Haiti", "Faroe Islands", "Isle of Man", "Israel", "Russian Federation", "Sint Maarten (Dutch part)", "Senegal", "Timor-Leste", "Albania", "South Georgia and the South Sandwich Islands", "Turkey", "United States of America", "5169122Dpsdhw", "Qatar", "Cayman Islands", "French Southern Territories", "Croatia", "Honduras", "Denmark", "Canada", "Belarus", "Guinea", "Malawi", "Jordan", "Poland", "Nigeria", "6167456rqbrdQ", "Australia", "United Arab Emirates", "Jersey", "Brunei Darussalam", "Singapore", "Lesotho", "Lebanon", "654726KWFgXd", "Andorra", "Zimbabwe", "Uzbekistan", "Bolivia (Plurinational State of)", "Lao People's Democratic Republic", "Falkland Islands (Malvinas)", "Dominica", "Iraq", "394018MJCgXU", "Saint Helena, Ascension and Tristan da Cunha", "Seychelles", "Djibouti", "Tanzania, United Republic of", "Sierra Leone", "Estonia", "Congo", "Uganda", "Saudi Arabia", "497072fsUZqE", "Paraguay", "Italy", "Wallis and Futuna", "Tajikistan", "Norway", "Brazil", "Kyrgyzstan", "Benin", "Morocco", "British Indian Ocean Territory", "Myanmar", "Micronesia (Federated States of)", "Mayotte", "Saint Barthélemy", "Puerto Rico", "Antarctica", "Viet Nam", "Zambia", "Central African Republic", "Afghanistan", "Swaziland", "Malta", "Nauru", "Åland Islands", "Sudan", "Taiwan", "China", "El Salvador", "Indonesia", "Belgium", "Christmas Island", "Luxembourg", "Iran (Islamic Republic of)", "Papua New Guinea", "South Africa", "Niger", "Ecuador", "Réunion", "Saint Martin (French part)", "Kuwait", "Saint Vincent and the Grenadines", "Ireland", "668818UuJGcp", "Macao", "Guam", "Ukraine", "India", "Hong Kong", "Georgia", "Czech Republic", "14058513CyDFFR", "Congo (Democratic Republic of the)", "Martinique", "Gambia", "Kazakhstan", "French Guiana", "Norfolk Island", "Chile", "Pakistan", "Guatemala", "Egypt", "9yYfJXw", "Montserrat", "Mozambique", "Cocos (Keeling) Islands", "Azerbaijan", "Serbia", "Bhutan", "Germany", "Portugal", "Equatorial Guinea", "Venezuela (Bolivarian Republic of)", "Mauritius", "Suriname", "Madagascar", "Greece", "Bulgaria", "Yemen", "Bonaire, Sint Eustatius and Saba", "Tunisia", "Nepal", "Niue", "Korea (Democratic People's Republic of)", "Austria", "Comoros", "10oCFoNy", "Côte d'Ivoire", "Barbados", "Western Sahara", "Spain", "Jamaica", "Maldives", "Argentina", "Turkmenistan", "Samoa", "Ethiopia", "Virgin Islands (U.S.)", "Namibia", "Fiji", "Slovakia", "Sweden", "Moldova (Republic of)", "Thailand", "Mali", "Trinidad and Tobago", "New Caledonia", "Tuvalu", "Burundi", "Guyana", "Solomon Islands", "Malaysia", "Libya", "Aruba", "Saint Lucia", "Ghana", "Liberia", "Vanuatu", "Sri Lanka", "Cook Islands", "Tokelau", "Bangladesh", "United Kingdom", "Svalbard and Jan Mayen", "Holy See", "Kenya", "Korea, Republic of", "Iceland", "Belize", "American Samoa", "Bosnia and Herzegovina", "Montenegro", "Armenia", "Monaco", "Netherlands"];
|
|
1721
|
+
return Ce = function() {
|
|
1722
|
+
return a;
|
|
1723
|
+
}, Ce();
|
|
1718
1724
|
}
|
|
1719
1725
|
const x = Pt;
|
|
1726
|
+
function Pt(a, t) {
|
|
1727
|
+
return a = a - 377, Ce()[a];
|
|
1728
|
+
}
|
|
1720
1729
|
(function(a, t) {
|
|
1721
1730
|
const e = Pt, i = a();
|
|
1722
1731
|
for (; ; )
|
|
1723
1732
|
try {
|
|
1724
|
-
if (parseInt(e(
|
|
1733
|
+
if (-parseInt(e(474)) / 1 + -parseInt(e(421)) / 2 * (parseInt(e(493)) / 3) + -parseInt(e(431)) / 4 * (-parseInt(e(517)) / 5) + -parseInt(e(412)) / 6 + parseInt(e(390)) / 7 + -parseInt(e(404)) / 8 + parseInt(e(482)) / 9 === t) break;
|
|
1725
1734
|
i.push(i.shift());
|
|
1726
1735
|
} catch {
|
|
1727
1736
|
i.push(i.shift());
|
|
1728
1737
|
}
|
|
1729
|
-
})(
|
|
1730
|
-
|
|
1731
|
-
const a = ["Thailand", "Comoros", "Cambodia", "Guinea", "Rwanda", "Bahrain", "8TEdKFr", "Turkmenistan", "Saudi Arabia", "United States Minor Outlying Islands", "Cabo Verde", "Estonia", "Kiribati", "Sierra Leone", "Northern Mariana Islands", "Iceland", "Colombia", "Japan", "Ghana", "Curaçao", "Dominican Republic", "Georgia", "Tanzania, United Republic of", "Lithuania", "Swaziland", "Finland", "Ukraine", "Sudan", "Saint Vincent and the Grenadines", "Norway", "South Georgia and the South Sandwich Islands", "Honduras", "United States of America", "Monaco", "Guinea-Bissau", "Botswana", "Virgin Islands (British)", "Afghanistan", "Djibouti", "Belgium", "Bulgaria", "Nicaragua", "Niue", "Turks and Caicos Islands", "Barbados", "Cayman Islands", "Guyana", "Bosnia and Herzegovina", "Viet Nam", "Tunisia", "Montenegro", "Turkey", "Equatorial Guinea", "Tajikistan", "Mauritania", "330HNIBFn", "Hong Kong", "Iraq", "Réunion", "Russian Federation", "Belize", "Nigeria", "Chad", "Guam", "Bonaire, Sint Eustatius and Saba", "Pakistan", "Ethiopia", "Samoa", "Cyprus", "Madagascar", "Sweden", "Denmark", "Antigua and Barbuda", "Isle of Man", "El Salvador", "Lesotho", "Macao", "India", "Senegal", "Bhutan", "Cuba", "Togo", "Uganda", "353043uNczky", "Nepal", "Timor-Leste", "Falkland Islands (Malvinas)", "5410349iQPaKw", "Saint Martin (French part)", "Seychelles", "Norfolk Island", "816498xJQyNB", "Czech Republic", "Burkina Faso", "Korea (Democratic People's Republic of)", "Mayotte", "Greenland", "Sao Tome and Principe", "Mongolia", "Kazakhstan", "Palau", "Syrian Arab Republic", "Yemen", "Netherlands", "Libya", "Saint Lucia", "Germany", "Cameroon", "Kuwait", "Jersey", "Canada", "Cook Islands", "Serbia", "Croatia", "Venezuela (Bolivarian Republic of)", "Aruba", "Solomon Islands", "San Marino", "Andorra", "Poland", "118070FyAXRs", "Nauru", "Slovakia", "Mali", "Egypt", "Gambia", "Åland Islands", "Morocco", "3133410RqNRab", "South Sudan", "Saint Pierre and Miquelon", "Bahamas", "Myanmar", "Gibraltar", "Mozambique", "Tokelau", "Belarus", "Guadeloupe", "Moldova (Republic of)", "Costa Rica", "Mexico", "Indonesia", "Liberia", "Portugal", "British Indian Ocean Territory", "Qatar", "Guernsey", "Burundi", "Chile", "Macedonia (the former Yugoslav Republic of)", "Jordan", "Italy", "Martinique", "Dominica", "Iran (Islamic Republic of)", "Kyrgyzstan", "Tuvalu", "Uzbekistan", "Spain", "Paraguay", "Guatemala", "French Southern Territories", "French Polynesia", "Uruguay", "Greece", "Niger", "Anguilla", "Holy See", "Christmas Island", "Argentina", "Bouvet Island", "Latvia", "Bangladesh", "3WXRzxe", "Zimbabwe", "Saint Kitts and Nevis", "Zambia", "Heard Island and McDonald Islands", "Grenada", "American Samoa", "2068736FpWHXf", "Congo (Democratic Republic of the)", "Saint Barthélemy", "Ecuador", "Marshall Islands", "2329460hqjymG"];
|
|
1732
|
-
return Re = function() {
|
|
1733
|
-
return a;
|
|
1734
|
-
}, Re();
|
|
1735
|
-
}
|
|
1736
|
-
function Pt(a, t) {
|
|
1737
|
-
return a = a - 420, Re()[a];
|
|
1738
|
-
}
|
|
1739
|
-
const Ot = { AF: x(581), AX: x(484), AL: "Albania", DZ: "Algeria", AS: x(537), AD: x(476), AO: "Angola", AI: x(524), AQ: "Antarctica", AG: x(430), AR: x(527), AM: "Armenia", AW: x(473), AU: "Australia", AT: "Austria", AZ: "Azerbaijan", BS: x(489), BH: x(549), BD: x(530), BB: x(588), BY: x(494), BE: x(583), BZ: x(604), BJ: "Benin", BM: "Bermuda", BT: x(437), BO: "Bolivia (Plurinational State of)", BQ: x(422), BA: x(591), BW: x(579), BV: x(528), BR: "Brazil", IO: x(502), BN: "Brunei Darussalam", BG: x(584), BF: x(451), BI: x(505), CV: x(554), KH: x(546), CM: x(465), CA: x(468), KY: x(589), CF: "Central African Republic", TD: x(420), CL: x(506), CN: "China", CX: x(526), CC: "Cocos (Keeling) Islands", CO: x(560), KM: x(545), CG: "Congo", CD: x(539), CK: x(469), CR: x(497), CI: "Côte d'Ivoire", HR: x(471), CU: x(438), CW: x(563), CY: x(426), CZ: x(450), DK: x(429), DJ: x(582), DM: x(511), DO: x(564), EC: x(541), EG: x(482), SV: x(432), GQ: x(596), ER: "Eritrea", EE: x(555), ET: x(424), FK: x(444), FO: "Faroe Islands", FJ: "Fiji", FI: x(569), FR: "France", GF: "French Guiana", PF: x(520), TF: x(519), GA: "Gabon", GM: x(483), GE: x(565), DE: x(464), GH: x(562), GI: x(491), GR: x(522), GL: x(454), GD: x(536), GP: x(495), GU: x(421), GT: x(518), GG: x(504), GN: x(547), GW: x(578), GY: x(590), HT: "Haiti", HM: x(535), VA: x(525), HN: x(575), HK: x(600), HU: "Hungary", IS: x(559), IN: x(435), ID: x(499), IR: x(512), IQ: x(601), IE: "Ireland", IM: x(431), IL: "Israel", IT: x(509), JM: "Jamaica", JP: x(561), JE: x(467), JO: x(508), KZ: x(457), KE: "Kenya", KI: x(556), KP: x(452), KR: "Korea, Republic of", KW: x(466), KG: x(513), LA: "Lao People's Democratic Republic", LV: x(529), LB: "Lebanon", LS: x(433), LR: x(500), LY: x(462), LI: "Liechtenstein", LT: x(567), LU: "Luxembourg", MO: x(434), MK: x(507), MG: x(427), MW: "Malawi", MY: "Malaysia", MV: "Maldives", ML: x(481), MT: "Malta", MH: x(542), MQ: x(510), MR: x(598), MU: "Mauritius", YT: x(453), MX: x(498), FM: "Micronesia (Federated States of)", MD: x(496), MC: x(577), MN: x(456), ME: x(594), MS: "Montserrat", MA: x(485), MZ: x(492), MM: x(490), NA: "Namibia", NR: x(479), NP: x(442), NL: x(461), NC: "New Caledonia", NZ: "New Zealand", NI: x(585), NE: x(523), NG: x(605), NU: x(586), NF: x(448), MP: x(558), NO: x(573), OM: "Oman", PK: x(423), PW: x(458), PS: "Palestine, State of", PA: "Panama", PG: "Papua New Guinea", PY: x(517), PE: "Peru", PH: "Philippines", PN: "Pitcairn", PL: x(477), PT: x(501), PR: "Puerto Rico", QA: x(503), RE: x(602), RO: "Romania", RU: x(603), RW: x(548), BL: x(540), SH: "Saint Helena, Ascension and Tristan da Cunha", KN: x(533), LC: x(463), MF: x(446), PM: x(488), VC: x(572), WS: x(425), SM: x(475), ST: x(455), SA: x(552), SN: x(436), RS: x(470), SC: x(447), SL: x(557), SG: "Singapore", SX: "Sint Maarten (Dutch part)", SK: x(480), SI: "Slovenia", SB: x(474), SO: "Somalia", ZA: "South Africa", GS: x(574), SS: x(487), ES: x(516), LK: "Sri Lanka", SD: x(571), SR: "Suriname", SJ: "Svalbard and Jan Mayen", SZ: x(568), SE: x(428), CH: "Switzerland", SY: x(459), TW: "Taiwan", TJ: x(597), TZ: x(566), TH: x(544), TL: x(443), TG: x(439), TK: x(493), TO: "Tonga", TT: "Trinidad and Tobago", TN: x(593), TR: x(595), TM: x(551), TC: x(587), TV: x(514), UG: x(440), UA: x(570), AE: "United Arab Emirates", GB: "United Kingdom", US: x(576), UM: x(553), UY: x(521), UZ: x(515), VU: "Vanuatu", VE: x(472), VN: x(592), VG: x(580), VI: "Virgin Islands (U.S.)", WF: "Wallis and Futuna", EH: "Western Sahara", YE: x(460), ZM: x(534), ZW: x(532) }, E = Dt;
|
|
1738
|
+
})(Ce, 409141);
|
|
1739
|
+
const Nt = { AF: x(451), AX: x(455), AL: x(386), DZ: x(568), AS: x(560), AD: x(413), AO: "Angola", AI: x(570), AQ: x(447), AG: "Antigua and Barbuda", AR: x(524), AM: x(563), AW: x(544), AU: x(405), AT: x(515), AZ: x(497), BS: "Bahamas", BH: "Bahrain", BD: x(552), BB: x(519), BY: x(398), BE: x(461), BZ: x(559), BJ: x(439), BM: "Bermuda", BT: x(499), BO: x(416), BQ: x(510), BA: x(561), BW: "Botswana", BV: x(566), BR: x(437), IO: x(441), BN: x(408), BG: x(508), BF: "Burkina Faso", BI: x(539), CV: "Cabo Verde", KH: "Cambodia", CM: "Cameroon", CA: x(397), KY: x(392), CF: x(450), TD: "Chad", CL: x(489), CN: x(458), CX: x(462), CC: x(496), CO: "Colombia", KM: x(516), CG: x(428), CD: x(483), CK: x(550), CR: "Costa Rica", CI: x(518), HR: x(394), CU: "Cuba", CW: "Curaçao", CY: "Cyprus", CZ: x(481), DK: x(396), DJ: x(424), DM: x(419), DO: "Dominican Republic", EC: x(468), EG: x(492), SV: x(459), GQ: x(502), ER: "Eritrea", EE: x(427), ET: x(527), FK: x(418), FO: x(379), FJ: x(530), FI: "Finland", FR: "France", GF: x(487), PF: "French Polynesia", TF: x(393), GA: x(567), GM: x(485), GE: x(480), DE: x(500), GH: x(546), GI: "Gibraltar", GR: x(507), GL: x(377), GD: x(569), GP: "Guadeloupe", GU: x(476), GT: x(491), GG: "Guernsey", GN: x(399), GW: "Guinea-Bissau", GY: x(540), HT: x(378), HM: "Heard Island and McDonald Islands", VA: x(555), HN: x(395), HK: x(479), HU: "Hungary", IS: x(558), IN: x(478), ID: x(460), IR: x(464), IQ: x(420), IE: x(473), IM: x(380), IL: x(381), IT: x(433), JM: x(522), JP: "Japan", JE: x(407), JO: x(401), KZ: x(486), KE: x(556), KI: "Kiribati", KP: x(514), KR: x(557), KW: x(471), KG: x(438), LA: x(417), LV: "Latvia", LB: x(411), LS: x(410), LR: x(547), LY: x(543), LI: "Liechtenstein", LT: "Lithuania", LU: x(463), MO: x(475), MK: "Macedonia (the former Yugoslav Republic of)", MG: x(506), MW: x(400), MY: x(542), MV: x(523), ML: x(535), MT: x(453), MH: "Marshall Islands", MQ: x(484), MR: "Mauritania", MU: x(504), YT: x(444), MX: "Mexico", FM: x(443), MD: x(533), MC: x(564), MN: "Mongolia", ME: x(562), MS: x(494), MA: x(440), MZ: x(495), MM: x(442), NA: x(529), NR: x(454), NP: x(512), NL: x(565), NC: x(537), NZ: "New Zealand", NI: "Nicaragua", NE: x(467), NG: x(403), NU: x(513), NF: x(488), MP: "Northern Mariana Islands", NO: x(436), OM: "Oman", PK: x(490), PW: "Palau", PS: "Palestine, State of", PA: "Panama", PG: x(465), PY: x(432), PE: "Peru", PH: "Philippines", PN: "Pitcairn", PL: x(402), PT: x(501), PR: x(446), QA: x(391), RE: x(469), RO: "Romania", RU: x(382), RW: "Rwanda", BL: x(445), SH: x(422), KN: "Saint Kitts and Nevis", LC: x(545), MF: x(470), PM: "Saint Pierre and Miquelon", VC: x(472), WS: x(526), SM: "San Marino", ST: "Sao Tome and Principe", SA: x(430), SN: x(384), RS: x(498), SC: x(423), SL: x(426), SG: x(409), SX: x(383), SK: x(531), SI: "Slovenia", SB: x(541), SO: "Somalia", ZA: x(466), GS: x(387), SS: "South Sudan", ES: x(521), LK: x(549), SD: x(456), SR: x(505), SJ: x(554), SZ: x(452), SE: x(532), CH: "Switzerland", SY: "Syrian Arab Republic", TW: x(457), TJ: x(435), TZ: x(425), TH: x(534), TL: x(385), TG: "Togo", TK: x(551), TO: "Tonga", TT: x(536), TN: x(511), TR: x(388), TM: x(525), TC: "Turks and Caicos Islands", TV: x(538), UG: x(429), UA: x(477), AE: x(406), GB: x(553), US: x(389), UM: "United States Minor Outlying Islands", UY: "Uruguay", UZ: x(415), VU: x(548), VE: x(503), VN: x(448), VG: "Virgin Islands (British)", VI: x(528), WF: x(434), EH: x(520), YE: x(509), ZM: x(449), ZW: x(414) }, E = tt;
|
|
1740
1740
|
(function(a, t) {
|
|
1741
|
-
const e =
|
|
1741
|
+
const e = tt, i = a();
|
|
1742
1742
|
for (; ; )
|
|
1743
1743
|
try {
|
|
1744
|
-
if (-parseInt(e(
|
|
1744
|
+
if (-parseInt(e(473)) / 1 + -parseInt(e(426)) / 2 * (parseInt(e(443)) / 3) + parseInt(e(417)) / 4 + -parseInt(e(441)) / 5 + parseInt(e(485)) / 6 + -parseInt(e(423)) / 7 * (parseInt(e(459)) / 8) + parseInt(e(451)) / 9 === t) break;
|
|
1745
1745
|
i.push(i.shift());
|
|
1746
1746
|
} catch {
|
|
1747
1747
|
i.push(i.shift());
|
|
1748
1748
|
}
|
|
1749
|
-
})(Me,
|
|
1750
|
-
const et = { gov: { prod: { log: E(
|
|
1751
|
-
function
|
|
1752
|
-
return a = a -
|
|
1749
|
+
})(Me, 394332);
|
|
1750
|
+
const et = { gov: { prod: { log: E(435), report: "https://log.vpe.gov-ntruss.com/stats" }, beta: { log: "https://papi.beta-vpe.gov-ntruss.com/player/maSync", report: "https://log.beta-vpe.gov-ntruss.com/stats" } }, pub: { prod: { log: E(425), report: "https://log.vpe.naverncp.com/stats" }, beta: { log: E(460), report: E(490) } } };
|
|
1751
|
+
function tt(a, t) {
|
|
1752
|
+
return a = a - 413, Me()[a];
|
|
1753
1753
|
}
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
}, Me();
|
|
1759
|
-
}
|
|
1760
|
-
let A = { video: {}, browser: {}, device: {}, connection: {}, screen: {}, player_version: E(448), extra: { sessionId: null, playerType: E(438) }, log_type: E(388), privacy: { cookie_enabled: !0 } }, F = { platform: E(372), stage: E(400), sync: !1, syncResult: {} };
|
|
1761
|
-
const u0 = (/* @__PURE__ */ new Date())[E(403)](), Nt = (a) => a;
|
|
1762
|
-
function yt() {
|
|
1763
|
-
return Ct();
|
|
1754
|
+
let A = { video: {}, browser: {}, device: {}, connection: {}, screen: {}, player_version: E(437), extra: { sessionId: null, playerType: E(476) }, log_type: E(452), privacy: { cookie_enabled: !0 } }, B = { platform: E(450), stage: E(491), sync: !1, syncResult: {} };
|
|
1755
|
+
const p0 = (/* @__PURE__ */ new Date())[E(488)](), Ut = (a) => a;
|
|
1756
|
+
function vt() {
|
|
1757
|
+
return Dt();
|
|
1764
1758
|
}
|
|
1765
1759
|
function b0() {
|
|
1766
|
-
return
|
|
1760
|
+
return Dt();
|
|
1767
1761
|
}
|
|
1768
|
-
const
|
|
1769
|
-
const a = E, t = /* @__PURE__ */ new Date(), e = (
|
|
1762
|
+
const Lt = () => {
|
|
1763
|
+
const a = E, t = /* @__PURE__ */ new Date(), e = (o) => String(o)[a(414)](2, "0"), i = t[a(467)]() + "-" + e(t.getMonth() + 1) + "-" + e(t.getDate()) + " " + e(t[a(462)]()) + ":" + e(t[a(416)]()) + ":" + e(t[a(480)]()), n = Math.floor(t[a(488)]() / 1e3), r = (/* @__PURE__ */ new Date()).getTime() - p0;
|
|
1770
1764
|
return { logDate: i, logDateUnix: n, thisSec: r };
|
|
1771
1765
|
};
|
|
1772
|
-
function
|
|
1773
|
-
|
|
1766
|
+
function Me() {
|
|
1767
|
+
const a = ["videoFormat", "entries", "log", "1.0", "hls", "syncResult", "pub", "17211708qpFEcV", "vpe", "geoLocation", "type", "m3u8", "platform", "log_type", "totalStartTime", "2437896UozloU", "https://papi.beta-vpe.naverncp.com/player/maSync", "extra", "getHours", "TID", "------------------------------------------------", "seekedTime", "application/json", "getFullYear", "forEach", "parse", "country", "logDate", "json", "785631nAFmRU", "url", "result", "VPE React Native", "playerStartTime", "MA vpe init", "MA report actionType ->", "getSeconds", "report", "browser", "sessionId", "stage", "149784ZCDXLG", "vpePackageId", "sync", "getTime", "POST", "https://log.beta-vpe.naverncp.com/stats", "prod", "isp", "padStart", "Korea, Republic of", "getMinutes", "469364JfykgB", "actionDuration", "indexOf", "video", "object", "actionType", "14OKJWno", "error", "https://papi.vpe.naverncp.com/player/maSync", "50684hoDzoo", "dash", "videoStartTime", "UUID", "host", "timeupdate", "MA report failed:", "address", "net", "https://papi.vpe.gov-ntruss.com/player/maSync", "stringify", "latest", "mpd", "push", "logDateUnix", "59300DHiYNn", "nation", "30aLpKyN"];
|
|
1768
|
+
return Me = function() {
|
|
1769
|
+
return a;
|
|
1770
|
+
}, Me();
|
|
1774
1771
|
}
|
|
1775
|
-
function
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1772
|
+
function h0(a) {
|
|
1773
|
+
return typeof a === E(421) && a !== null && !Array.isArray(a);
|
|
1774
|
+
}
|
|
1775
|
+
function Bt(a, t) {
|
|
1776
|
+
Object.entries(t).forEach(([e, i]) => {
|
|
1777
|
+
const n = tt;
|
|
1778
|
+
h0(i) ? (!a[e] && (a[e] = {}), Object[n(445)](i)[n(468)](([r, o]) => {
|
|
1779
|
+
o != null && (a[e][r] = o);
|
|
1780
|
+
})) : i != null && (a[e] = i);
|
|
1782
1781
|
});
|
|
1783
1782
|
}
|
|
1784
|
-
function
|
|
1783
|
+
function f0(a) {
|
|
1785
1784
|
const t = E;
|
|
1786
|
-
return a
|
|
1785
|
+
return a[t(419)](t(455)) > -1 ? t(448) : a[t(419)](t(438)) > -1 ? t(427) : "mp4";
|
|
1787
1786
|
}
|
|
1788
|
-
function
|
|
1787
|
+
function w0(a) {
|
|
1789
1788
|
const t = E, e = [];
|
|
1790
|
-
return a?.r1 && e[t(
|
|
1789
|
+
return a?.r1 && e[t(439)](a.r1), a?.r2 && e[t(439)](a.r2), a?.r3 && e[t(439)](a.r3), e.join(" ");
|
|
1791
1790
|
}
|
|
1792
|
-
function
|
|
1791
|
+
function g0(a) {
|
|
1793
1792
|
const t = E;
|
|
1794
|
-
a[t(
|
|
1793
|
+
a[t(418)] === t(447) && (a[t(418)] = 0), a.actionDuration === void 0 && (a[t(418)] = 0), [t(477), t(428), t(458), t(465)][t(468)]((i) => {
|
|
1795
1794
|
a[i] === void 0 && (a[i] = 0);
|
|
1796
|
-
}), a[t(
|
|
1795
|
+
}), a[t(454)] === void 0 && A[t(420)]?.[t(454)] && (a[t(454)] = A.video[t(454)]), a[t(474)] === void 0 && A.video?.[t(474)] && (a[t(474)] = A[t(420)].url, a[t(444)] = f0(a[t(474)]));
|
|
1797
1796
|
}
|
|
1798
|
-
function
|
|
1797
|
+
function m0(a) {
|
|
1799
1798
|
const t = E;
|
|
1800
|
-
return !!(a[t(
|
|
1799
|
+
return !!(a[t(429)] && a[t(463)] && a[t(430)]);
|
|
1801
1800
|
}
|
|
1802
|
-
function
|
|
1801
|
+
function it(a) {
|
|
1803
1802
|
const t = E;
|
|
1804
1803
|
try {
|
|
1805
|
-
const e =
|
|
1806
|
-
e && (a
|
|
1804
|
+
const e = B.syncResult?.[t(453)];
|
|
1805
|
+
e && (a[t(433)] = w0(e), a[t(413)] = e[t(434)] || "", a.ip = B[t(449)]?.ip || "", a[t(442)] = e[t(470)] || "");
|
|
1807
1806
|
} catch {
|
|
1808
1807
|
}
|
|
1809
1808
|
}
|
|
1810
|
-
const
|
|
1809
|
+
const y0 = async (a) => {
|
|
1811
1810
|
const t = E;
|
|
1812
1811
|
if (!a) return;
|
|
1813
|
-
const { platform: e, stage: i } =
|
|
1812
|
+
const { platform: e, stage: i } = B, n = et[e][i][t(446)];
|
|
1814
1813
|
try {
|
|
1815
|
-
const r = await fetch(n, { method: t(
|
|
1816
|
-
|
|
1817
|
-
const { logDate:
|
|
1818
|
-
return A[t(
|
|
1814
|
+
const r = await fetch(n, { method: t(489), headers: { "Content-Type": t(466) }, body: JSON[t(436)]({ access_key: a }) }), o = await r[t(472)]();
|
|
1815
|
+
B.sync = o[t(475)]?.[t(487)] || !1, B[t(449)] = o[t(475)] || {};
|
|
1816
|
+
const { logDate: p, logDateUnix: b } = Lt();
|
|
1817
|
+
return A[t(461)][t(471)] = p, A[t(461)][t(440)] = b, B[t(449)]?.[t(453)] && it(A[t(461)]), o;
|
|
1819
1818
|
} catch (r) {
|
|
1820
|
-
return console
|
|
1819
|
+
return console[t(424)]("MA config initialization failed:", r), null;
|
|
1821
1820
|
}
|
|
1822
|
-
},
|
|
1823
|
-
const t = E, { platform: e, stage: i } =
|
|
1824
|
-
r
|
|
1821
|
+
}, v0 = async (a) => {
|
|
1822
|
+
const t = E, { platform: e, stage: i } = B, n = Ut(et[e][i][t(481)]), r = { ...a };
|
|
1823
|
+
r.log_type = "vpe", it(r[t(461)]);
|
|
1825
1824
|
try {
|
|
1826
|
-
await fetch(n, { method:
|
|
1827
|
-
} catch (
|
|
1828
|
-
console[t(
|
|
1825
|
+
await fetch(n, { method: t(489), headers: { "Content-Type": t(466) }, body: JSON.stringify(r) });
|
|
1826
|
+
} catch (o) {
|
|
1827
|
+
console[t(424)]("MA init report failed:", o);
|
|
1829
1828
|
}
|
|
1830
|
-
},
|
|
1831
|
-
const t = E, { platform: e, stage: i } =
|
|
1832
|
-
if (
|
|
1829
|
+
}, I0 = async (a) => {
|
|
1830
|
+
const t = E, { platform: e, stage: i } = B, n = Ut(et[e][i].report), r = JSON[t(469)](JSON.stringify(A));
|
|
1831
|
+
if (Bt(r, a), r[t(457)] = "MA", it(r.extra), g0(r[t(461)]), !!m0(r[t(461)]))
|
|
1833
1832
|
try {
|
|
1834
|
-
r
|
|
1835
|
-
} catch (
|
|
1836
|
-
console
|
|
1833
|
+
r[t(454)] != t(431), await fetch(n, { method: t(489), headers: { "Content-Type": "application/json" }, body: JSON[t(436)](r) });
|
|
1834
|
+
} catch (o) {
|
|
1835
|
+
console.log(t(432), o);
|
|
1837
1836
|
}
|
|
1838
1837
|
};
|
|
1839
|
-
async function
|
|
1838
|
+
async function S0(a, t, e, i, n) {
|
|
1840
1839
|
const r = E;
|
|
1841
|
-
|
|
1842
|
-
const { logDate:
|
|
1843
|
-
A[r(
|
|
1840
|
+
B[r(456)] = a, B[r(484)] = t, Bt(A, e), i && (A[r(461)][r(486)] = i), n && (A.extra.vpeKey = n), A[r(461)][r(442)] ? A[r(482)][r(470)] = Nt[A.extra[r(442)]] || r(415) : A[r(482)][r(470)] = r(415);
|
|
1841
|
+
const { logDate: o, logDateUnix: p } = Lt();
|
|
1842
|
+
A[r(461)][r(471)] = o, A[r(461)].logDateUnix = p, A[r(461)].created_at = p;
|
|
1844
1843
|
}
|
|
1845
|
-
async function
|
|
1846
|
-
const t = E, e = JSON
|
|
1847
|
-
a[t(
|
|
1844
|
+
async function _0(a) {
|
|
1845
|
+
const t = E, e = JSON.parse(JSON.stringify(A));
|
|
1846
|
+
a[t(461)] && Object.assign(e[t(461)], a.extra), e[t(420)] = a[t(420)], await v0(e), console[t(446)](t(478));
|
|
1848
1847
|
}
|
|
1849
|
-
const
|
|
1848
|
+
const It = at;
|
|
1850
1849
|
(function(a, t) {
|
|
1851
|
-
const e =
|
|
1850
|
+
const e = at, i = a();
|
|
1852
1851
|
for (; ; )
|
|
1853
1852
|
try {
|
|
1854
|
-
if (parseInt(e(
|
|
1853
|
+
if (parseInt(e(289)) / 1 * (parseInt(e(283)) / 2) + -parseInt(e(284)) / 3 + parseInt(e(285)) / 4 * (-parseInt(e(278)) / 5) + parseInt(e(276)) / 6 + -parseInt(e(272)) / 7 * (parseInt(e(286)) / 8) + -parseInt(e(281)) / 9 * (-parseInt(e(287)) / 10) + parseInt(e(290)) / 11 === t) break;
|
|
1855
1854
|
i.push(i.shift());
|
|
1856
1855
|
} catch {
|
|
1857
1856
|
i.push(i.shift());
|
|
1858
1857
|
}
|
|
1859
|
-
})(
|
|
1860
|
-
function it(a, t) {
|
|
1861
|
-
return a = a - 320, Ce()[a];
|
|
1862
|
-
}
|
|
1863
|
-
function Ce() {
|
|
1864
|
-
const a = ["#4299f5", "37635672YoKTCO", "NAVER CLOUD PLATFORM", "2363046ifwrUc", "#ffffff", "7785xSpVfT", "451EhfGhS", "3rVrdzU", "captionStyle", "progressBar", "192RPomRh", "all", "6863013mjuVTT", "1321566zVLPYj", "rgba(0, 0, 0, 0.4)", "7sFAHNR", "watermarkConfig", "pay", "controlBtn", "151930gQqwrk", "8rQelgk", "16/9", "236091DNmMqj"];
|
|
1865
|
-
return Ce = function() {
|
|
1866
|
-
return a;
|
|
1867
|
-
}, Ce();
|
|
1868
|
-
}
|
|
1858
|
+
})(Re, 534359);
|
|
1869
1859
|
const E0 = (a = {}, t) => {
|
|
1870
|
-
const e =
|
|
1871
|
-
if (t !== e(
|
|
1860
|
+
const e = at, i = { autostart: !0, muted: !1, aspectRatio: e(279), objectFit: e(277), controls: !0, keyboardShortcut: !0, startMutedInfoNotVisible: !1, allowsPictureInPicture: !1, staysActiveInBackground: !1, screenRecordingPrevention: !1, modalFullscreen: !1, seekingPreview: !0, lang: "ko", ui: e(275), controlBtn: { play: !0, fullscreen: !0, progressBar: !0, volume: !1, times: !0, pictureInPicture: !0, setting: !0, subtitle: !0 }, progressBarColor: e(273), controlActiveTime: 3e3, playRateSetting: [0.5, 0.75, 1, 1.5, 2], autoPause: !1, repeat: !1, setStartTime: void 0, playIndex: 0, lowLatencyMode: !0, touchGestures: !0, descriptionNotVisible: !1, devTestAppId: void 0, token: "", visibleWatermark: !1, iosFullscreenNativeMode: !0, watermarkText: "NAVER CLOUD PLATFORM", watermarkConfig: { randPosition: !0, randPositionInterVal: 3e3, x: 10, y: 10, opacity: 0.5 }, captionStyle: { fontSize: 12, color: e(282), backgroundColor: e(274), edgeStyle: e(271) }, override: null };
|
|
1861
|
+
if (t !== e(269)) return { ...i, ...k0 };
|
|
1872
1862
|
const n = { ...i, ...a };
|
|
1873
|
-
return a
|
|
1874
|
-
}
|
|
1875
|
-
function
|
|
1876
|
-
|
|
1863
|
+
return a.controlBtn && (n.controlBtn = { ...i[e(280)], ...a.controlBtn }), a[e(268)] && (n[e(268)] = { ...i.watermarkConfig, ...a[e(268)] }), a[e(267)] && (n.captionStyle = { ...i[e(267)], ...a.captionStyle }), n[e(280)]?.progressBar === void 0 && (n[e(280)][e(270)] = !0), n;
|
|
1864
|
+
};
|
|
1865
|
+
function Re() {
|
|
1866
|
+
const a = ["16/9", "controlBtn", "550071JJeMLi", "#ffffff", "2nYFfgq", "1214418QOOzdf", "2532836kYtiVE", "32SWcBKU", "60sKzNCc", "#009dff", "24337jXbzgm", "3094586DjGWMA", "captionStyle", "watermarkConfig", "pay", "progressBar", "dropshadow", "274232INFIYU", "#4299f5", "rgba(0, 0, 0, 0.4)", "all", "6340206JvVdIh", "contain", "5JrfeAk"];
|
|
1867
|
+
return Re = function() {
|
|
1868
|
+
return a;
|
|
1869
|
+
}, Re();
|
|
1870
|
+
}
|
|
1871
|
+
function at(a, t) {
|
|
1872
|
+
return a = a - 267, Re()[a];
|
|
1877
1873
|
}
|
|
1878
|
-
const
|
|
1874
|
+
const k0 = { free: !0, startMutedInfoNotVisible: !1, lowLatencyMode: !1, progressBarColor: It(288), playRateSetting: [0.5, 0.75, 1, 1.5, 2], descriptionNotVisible: !0, seekingPreview: !1, controlActiveTime: 1500, ui: It(275), token: "", setStartTime: null, controlBtn: { play: !0, fullscreen: !0, volume: !0, times: !0, setting: !1, pictureInPicture: !1, progressBar: !0 } }, w = Ft;
|
|
1879
1875
|
(function(a, t) {
|
|
1880
1876
|
const e = Ft, i = a();
|
|
1881
1877
|
for (; ; )
|
|
1882
1878
|
try {
|
|
1883
|
-
if (
|
|
1879
|
+
if (parseInt(e(308)) / 1 + parseInt(e(360)) / 2 + -parseInt(e(292)) / 3 * (-parseInt(e(346)) / 4) + -parseInt(e(336)) / 5 + -parseInt(e(339)) / 6 + -parseInt(e(299)) / 7 + -parseInt(e(338)) / 8 * (-parseInt(e(358)) / 9) === t) break;
|
|
1884
1880
|
i.push(i.shift());
|
|
1885
1881
|
} catch {
|
|
1886
1882
|
i.push(i.shift());
|
|
1887
1883
|
}
|
|
1888
|
-
})(
|
|
1889
|
-
function
|
|
1890
|
-
|
|
1891
|
-
return Pe = function() {
|
|
1892
|
-
return a;
|
|
1893
|
-
}, Pe();
|
|
1884
|
+
})(Oe, 625227);
|
|
1885
|
+
function Ft(a, t) {
|
|
1886
|
+
return a = a - 270, Oe()[a];
|
|
1894
1887
|
}
|
|
1895
|
-
const
|
|
1896
|
-
class
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
[
|
|
1888
|
+
const St = "0p", T0 = 59e3, A0 = 1, m = { PLAYER_START: w(356), STARTUP: w(310), PLAY: "play", PAUSE: w(376), PLAYING: w(304), PAUSED: "pause", SEEKING: w(312), SEEKED: w(337), WAITING: w(295), WAITING_END: w(363), CANPLAY: "canplay", ENDED: w(345), NEXT_TRACK: w(375), PREV_TRACK: "prevTrack", ERROR: w(282), QUALITY_CHANGE: w(317), REBUFFERING: "rebuffering", TIMEUPDATE: w(332), TIMEUPDATE_FOCUS: w(289) };
|
|
1889
|
+
class C0 {
|
|
1890
|
+
[w(270)];
|
|
1891
|
+
stageData;
|
|
1892
|
+
[w(275)];
|
|
1900
1893
|
constructor(t, e, i) {
|
|
1901
|
-
const n =
|
|
1902
|
-
this
|
|
1894
|
+
const n = w;
|
|
1895
|
+
this[n(367)] = { platform: t, stage: e, sync: !1, syncResult: {} }, this.reportData = { video: {}, browser: {}, device: {}, connection: {}, screen: {}, player_version: "latest", extra: { UUID: null, TID: null, sessionId: null, playerType: n(353), playAttempt: !1 }, log_type: n(318), privacy: { cookie_enabled: !0 } }, this[n(275)] = { prevAction: null, isPlaying: !1, isSeeking: !1, initTimeupdate: !1, isBuffering: !1, firstError: !1, isEnded: !1, firstPlay: !0, firstPlaying: !0, startTime: 0, prevTime: 0, startUpDuration: 0, prevUrl: "", prevQuality: St }, this[n(293)](i), this.stageData;
|
|
1903
1896
|
}
|
|
1904
|
-
[
|
|
1905
|
-
const e =
|
|
1906
|
-
this
|
|
1897
|
+
[w(293)](t) {
|
|
1898
|
+
const e = w;
|
|
1899
|
+
this[e(270)] = { ...this[e(270)], ...t }, this[e(270)][e(278)][e(297)] ? this.reportData[e(335)][e(362)] = Nt[this.reportData[e(278)].nation] || e(283) : this[e(270)][e(335)][e(362)] = "Korea, Republic of";
|
|
1907
1900
|
}
|
|
1908
|
-
[
|
|
1909
|
-
const t =
|
|
1901
|
+
[w(344)]() {
|
|
1902
|
+
const t = w, e = /* @__PURE__ */ new Date(), i = (o) => String(o)[t(378)](2, "0"), n = e[t(306)]() + "-" + i(e.getMonth() + 1) + "-" + i(e.getDate()) + " " + i(e[t(342)]()) + ":" + i(e[t(276)]()) + ":" + i(e.getSeconds()), r = Math[t(298)](e.getTime() / 1e3);
|
|
1910
1903
|
return { logDate: n, logDateUnix: r };
|
|
1911
1904
|
}
|
|
1912
1905
|
isPlainObject(t) {
|
|
1913
|
-
const e =
|
|
1914
|
-
return typeof t === e(
|
|
1906
|
+
const e = w;
|
|
1907
|
+
return typeof t === e(313) && t !== null && !Array[e(311)](t);
|
|
1915
1908
|
}
|
|
1916
|
-
async
|
|
1917
|
-
const i =
|
|
1918
|
-
if (this[i(
|
|
1919
|
-
const { logDate: n, logDateUnix: r } = this[i(
|
|
1920
|
-
this
|
|
1909
|
+
async report(t, e) {
|
|
1910
|
+
const i = w;
|
|
1911
|
+
if (this[i(275)][i(296)]) return;
|
|
1912
|
+
const { logDate: n, logDateUnix: r } = this[i(344)](), o = Date[i(327)](), p = this[i(275)][i(361)] > 0 ? o - this[i(275)][i(361)] : 0, b = p, v = { ...this[i(270)], video: this.reportData[i(322)], extra: { ...this[i(270)][i(278)], actionType: t, actionDuration: b ? b[i(343)](2) : 0, logDate: n, logDateUnix: r } };
|
|
1913
|
+
this[i(275)][i(361)] = o, await I0(v);
|
|
1921
1914
|
}
|
|
1922
1915
|
async maInit(t) {
|
|
1923
|
-
const e =
|
|
1924
|
-
this[e(
|
|
1916
|
+
const e = w;
|
|
1917
|
+
this.reportData[e(278)][e(372)], t[e(278)][e(372)] = this.reportData[e(278)][e(372)], await _0(t);
|
|
1925
1918
|
}
|
|
1926
|
-
async
|
|
1927
|
-
const e =
|
|
1928
|
-
!t || typeof t
|
|
1919
|
+
async [w(294)](t) {
|
|
1920
|
+
const e = w;
|
|
1921
|
+
!t || typeof t != "object" || Object.entries(t)[e(301)](([i, n]) => {
|
|
1929
1922
|
const r = e;
|
|
1930
|
-
this[r(
|
|
1931
|
-
const
|
|
1932
|
-
|
|
1933
|
-
}) : n != null && (this[
|
|
1923
|
+
this[r(291)](n) ? Object[r(280)](n).forEach(([o, p]) => {
|
|
1924
|
+
const b = r;
|
|
1925
|
+
p != null && (this[b(270)][i][o] = p);
|
|
1926
|
+
}) : n != null && (this.reportData[i] = n);
|
|
1934
1927
|
});
|
|
1935
1928
|
}
|
|
1936
|
-
[
|
|
1937
|
-
const e =
|
|
1929
|
+
[w(331)](t) {
|
|
1930
|
+
const e = w, { type: i, data: n } = t, r = { url: n?.url || this.state[e(359)], type: n?.[e(277)], quality: n?.[e(329)] || this[e(275)][e(284)], data: n };
|
|
1938
1931
|
switch (i) {
|
|
1939
|
-
case m
|
|
1940
|
-
this[e(
|
|
1932
|
+
case m.PLAYER_START:
|
|
1933
|
+
this[e(302)](r, n);
|
|
1941
1934
|
break;
|
|
1942
|
-
case m[e(
|
|
1943
|
-
this
|
|
1935
|
+
case m[e(352)]:
|
|
1936
|
+
this.handleStartup(r, n);
|
|
1944
1937
|
break;
|
|
1945
|
-
case m
|
|
1946
|
-
this
|
|
1938
|
+
case m[e(279)]:
|
|
1939
|
+
this[e(309)](r, n);
|
|
1947
1940
|
break;
|
|
1948
|
-
case m[e(
|
|
1949
|
-
this
|
|
1941
|
+
case m[e(300)]:
|
|
1942
|
+
this.handlePause(r, n);
|
|
1950
1943
|
break;
|
|
1951
|
-
case m[e(
|
|
1952
|
-
this
|
|
1944
|
+
case m[e(326)]:
|
|
1945
|
+
this.handleTimeUpdate(r, n);
|
|
1953
1946
|
break;
|
|
1954
|
-
case m[e(
|
|
1955
|
-
this
|
|
1947
|
+
case m[e(333)]:
|
|
1948
|
+
this[e(287)](r, n);
|
|
1956
1949
|
break;
|
|
1957
|
-
case m
|
|
1958
|
-
this
|
|
1950
|
+
case m[e(290)]:
|
|
1951
|
+
this[e(314)](r, n);
|
|
1959
1952
|
break;
|
|
1960
|
-
case m
|
|
1961
|
-
this[e(
|
|
1953
|
+
case m[e(369)]:
|
|
1954
|
+
this[e(325)](r, n);
|
|
1962
1955
|
break;
|
|
1963
|
-
case m[e(
|
|
1964
|
-
this[e(
|
|
1956
|
+
case m[e(347)]:
|
|
1957
|
+
this[e(316)](r, n);
|
|
1965
1958
|
break;
|
|
1966
|
-
case m[e(
|
|
1967
|
-
this[e(
|
|
1959
|
+
case m[e(366)]:
|
|
1960
|
+
this[e(374)](r, n);
|
|
1968
1961
|
break;
|
|
1969
|
-
case m
|
|
1970
|
-
this
|
|
1962
|
+
case m.CANPLAY:
|
|
1963
|
+
this[e(334)](r, n);
|
|
1971
1964
|
break;
|
|
1972
1965
|
case m.ENDED:
|
|
1973
|
-
this
|
|
1966
|
+
this[e(377)](r, n);
|
|
1974
1967
|
break;
|
|
1975
|
-
case
|
|
1976
|
-
case e(
|
|
1977
|
-
this[e(
|
|
1968
|
+
case "nextTrack":
|
|
1969
|
+
case e(355):
|
|
1970
|
+
this[e(373)](i, r, n);
|
|
1978
1971
|
break;
|
|
1979
|
-
case m[e(
|
|
1980
|
-
this[e(
|
|
1972
|
+
case m[e(324)]:
|
|
1973
|
+
this[e(319)](r, n);
|
|
1981
1974
|
break;
|
|
1982
|
-
case m
|
|
1983
|
-
this[e(
|
|
1975
|
+
case m.QUALITY_CHANGE:
|
|
1976
|
+
this[e(341)](r, n);
|
|
1984
1977
|
break;
|
|
1985
1978
|
}
|
|
1986
1979
|
}
|
|
1987
|
-
[
|
|
1988
|
-
const i =
|
|
1989
|
-
!this[i(
|
|
1980
|
+
[w(302)](t, e) {
|
|
1981
|
+
const i = w;
|
|
1982
|
+
!this[i(270)].extra[i(372)] && (this[i(270)][i(278)][i(372)] = b0(), this[i(270)].extra[i(288)] = vt(), this[i(270)][i(278)][i(349)] = vt()), this[i(275)][i(323)] = Date[i(327)](), this[i(275)][i(361)] = this[i(275)].startTime, this[i(274)](m[i(330)], { ...t, data: e });
|
|
1990
1983
|
}
|
|
1991
|
-
[
|
|
1992
|
-
const i =
|
|
1993
|
-
this[i(
|
|
1984
|
+
[w(321)](t, e) {
|
|
1985
|
+
const i = w;
|
|
1986
|
+
this[i(275)][i(305)] && (this[i(274)](m[i(352)], { ...t, data: e }), this.state[i(305)] = !1);
|
|
1994
1987
|
}
|
|
1995
|
-
[
|
|
1996
|
-
const i =
|
|
1997
|
-
this[i(
|
|
1988
|
+
[w(309)](t, e) {
|
|
1989
|
+
const i = w;
|
|
1990
|
+
this[i(275)].isPlaying || (this[i(270)][i(278)][i(351)] = e?.playedTime, this.reportData[i(278)].percent = e?.[i(307)], this[i(275)][i(315)] = !0, this.reportData[i(278)][i(281)] = !0, this.state.firstPlay && (this[i(275)][i(364)] = !1), this.state[i(348)] === m[i(285)] && this[i(274)](m[i(286)], { ...t, data: e }), this[i(275)][i(348)] = m.PLAYING);
|
|
1998
1991
|
}
|
|
1999
|
-
|
|
2000
|
-
const i =
|
|
2001
|
-
this
|
|
1992
|
+
[w(354)](t, e) {
|
|
1993
|
+
const i = w;
|
|
1994
|
+
this[i(275)][i(357)] || this[i(275)][i(328)] || !this[i(275)].isPlaying || (this.state[i(315)] = !1, this[i(274)](m[i(285)], { ...t, data: e }), this[i(275)][i(348)] = m.PAUSED);
|
|
2002
1995
|
}
|
|
2003
|
-
[
|
|
2004
|
-
const i =
|
|
2005
|
-
this
|
|
1996
|
+
[w(368)](t, e) {
|
|
1997
|
+
const i = w;
|
|
1998
|
+
this[i(275)][i(315)] = !0, this.reportData[i(278)][i(281)] = !0, !(this[i(270)][i(278)].currentTime < A0) && (this[i(275)].isPlaying && Date[i(327)]() - this[i(275)][i(361)] > T0 && this[i(274)](m.PLAYING, { ...t, data: e }), this.state[i(359)] = t[i(320)] || "", this[i(275)][i(284)] = t[i(329)] || St);
|
|
2006
1999
|
}
|
|
2007
|
-
[
|
|
2008
|
-
const i =
|
|
2009
|
-
this[i(
|
|
2000
|
+
[w(287)](t, e) {
|
|
2001
|
+
const i = w;
|
|
2002
|
+
this[i(270)][i(278)][i(340)] > 0 && (this[i(274)](m[i(286)], { ...t, data: e }), this.state[i(379)] = !0);
|
|
2010
2003
|
}
|
|
2011
2004
|
handleSeeking(t, e) {
|
|
2012
|
-
const i =
|
|
2013
|
-
this[i(
|
|
2005
|
+
const i = w;
|
|
2006
|
+
this[i(275)][i(357)] || (this[i(275)][i(357)] = !0, this[i(275)][i(315)] ? this[i(274)](m[i(286)], { ...t, data: e }) : this[i(275)].prevAction === m[i(285)] && this[i(274)](m[i(285)], { ...t, data: e }), this[i(275)][i(348)] = m.SEEKING);
|
|
2014
2007
|
}
|
|
2015
2008
|
handleSeeked(t, e) {
|
|
2016
|
-
const i =
|
|
2017
|
-
this[i(
|
|
2009
|
+
const i = w;
|
|
2010
|
+
this[i(275)].isSeeking && (this[i(275)].isSeeking = !1, this[i(274)](m[i(290)], { ...t, data: e }), this[i(275)][i(348)] = this.state[i(315)] ? m.PLAYING : m[i(285)]);
|
|
2018
2011
|
}
|
|
2019
|
-
[
|
|
2020
|
-
const i =
|
|
2021
|
-
this[i(
|
|
2012
|
+
[w(316)](t, e) {
|
|
2013
|
+
const i = w;
|
|
2014
|
+
this[i(275)][i(357)] || this[i(275)].isBuffering || (this[i(275)][i(328)] = !0, this[i(275)][i(315)] && this[i(274)](m.PLAYING, { ...t, data: e }), this[i(275)][i(348)] = m[i(271)]);
|
|
2022
2015
|
}
|
|
2023
|
-
[
|
|
2024
|
-
const i =
|
|
2025
|
-
this
|
|
2016
|
+
[w(374)](t, e) {
|
|
2017
|
+
const i = w;
|
|
2018
|
+
this[i(275)][i(357)] || this[i(275)].isBuffering || (this[i(275)][i(328)] = !0, this.state.isPlaying && this[i(274)](m[i(286)], { ...t, data: e }), this[i(275)][i(348)] = m[i(271)]);
|
|
2026
2019
|
}
|
|
2027
|
-
[
|
|
2028
|
-
const i =
|
|
2029
|
-
this
|
|
2020
|
+
[w(334)](t, e) {
|
|
2021
|
+
const i = w;
|
|
2022
|
+
this[i(275)][i(328)] && (this[i(275)][i(328)] = !1, this.report(m[i(271)], { ...t, data: e }), this[i(275)][i(348)] = this[i(275)][i(315)] ? m[i(286)] : m[i(285)]);
|
|
2030
2023
|
}
|
|
2031
|
-
[
|
|
2032
|
-
const i =
|
|
2033
|
-
this[i(
|
|
2024
|
+
[w(377)](t, e) {
|
|
2025
|
+
const i = w;
|
|
2026
|
+
this[i(275)].isEnded || (this.state[i(365)] = !0, this[i(275)][i(315)] = !1, this[i(275)][i(348)] !== m[i(285)] && this[i(274)](this[i(275)].prevAction || m.PLAYING, { ...t, data: e }), this[i(274)](m[i(273)], { ...t, data: e }));
|
|
2034
2027
|
}
|
|
2035
|
-
[
|
|
2036
|
-
const n =
|
|
2037
|
-
this.report(this[n(
|
|
2038
|
-
const
|
|
2039
|
-
this[
|
|
2040
|
-
this
|
|
2028
|
+
[w(373)](t, e, i) {
|
|
2029
|
+
const n = w, r = t === n(375) ? m[n(272)] : m[n(371)];
|
|
2030
|
+
this.report(this.state[n(348)] || m[n(286)], { ...e, data: i }).then(() => {
|
|
2031
|
+
const o = n;
|
|
2032
|
+
this[o(274)](r, { ...e, data: i })[o(303)](() => {
|
|
2033
|
+
this.resetStateForNewTrack();
|
|
2041
2034
|
});
|
|
2042
2035
|
});
|
|
2043
2036
|
}
|
|
2044
2037
|
handleError(t, e) {
|
|
2045
|
-
const i =
|
|
2046
|
-
this[i(
|
|
2047
|
-
const n = { errorCode: e?.
|
|
2048
|
-
this[i(
|
|
2038
|
+
const i = w;
|
|
2039
|
+
this.state[i(348)] && !this[i(275)][i(305)] && this.report(this.state[i(348)], { ...t, data: e });
|
|
2040
|
+
const n = { errorCode: e?.code || i(370), errorMessage: e?.[i(350)] || "Unknown Error" };
|
|
2041
|
+
this[i(274)](m[i(324)], { ...t, data: { ...e, ...n } }), this[i(275)].firstError = !0;
|
|
2049
2042
|
}
|
|
2050
|
-
|
|
2051
|
-
const i =
|
|
2052
|
-
this[i(
|
|
2043
|
+
[w(341)](t, e) {
|
|
2044
|
+
const i = w;
|
|
2045
|
+
this.state[i(348)] && !this[i(275)].isSeeking && !this[i(275)][i(328)] && !this.state.firstPlaying && (this[i(275)][i(357)] = !0, this[i(274)](this[i(275)].prevAction, { ...t, data: e }), this[i(275)][i(348)] = m.SEEKING);
|
|
2053
2046
|
}
|
|
2054
|
-
|
|
2055
|
-
const t =
|
|
2056
|
-
this
|
|
2047
|
+
resetStateForNewTrack() {
|
|
2048
|
+
const t = w;
|
|
2049
|
+
this[t(275)].prevAction = null, this[t(275)][t(315)] = !1, this[t(275)].prevTime = 0, this.state[t(305)] = !0, this[t(275)][t(379)] = !1;
|
|
2057
2050
|
}
|
|
2058
2051
|
}
|
|
2059
|
-
|
|
2052
|
+
function Oe() {
|
|
2053
|
+
const a = ["ENDED", "report", "state", "getMinutes", "type", "extra", "PLAY", "entries", "playAttempt", "error", "Korea, Republic of", "prevQuality", "PAUSED", "PLAYING", "handleTimeUpdateFocus", "TID", "timeupdateFocus", "SEEKING", "isPlainObject", "474171rJMKrO", "initializeReportData", "maSync", "waiting", "firstError", "nation", "floor", "5796980PlMHDU", "PAUSE", "forEach", "handlePlayerStart", "then", "playing", "firstPlaying", "getFullYear", "percent", "1014321zeFroN", "handlePlay", "startup", "isArray", "seeking", "object", "handleSeeking", "isPlaying", "handleWaiting", "quality_change", "vpe", "handleError", "url", "handleStartup", "video", "startTime", "ERROR", "handleSeeked", "TIMEUPDATE", "now", "isBuffering", "quality", "PLAYER_START", "dispatchEvent", "timeupdate", "TIMEUPDATE_FOCUS", "handleCanplay", "browser", "4456730PxezDd", "seeked", "8ZzvfxV", "6986484UMUqFK", "currentTime", "handleQualityChange", "getHours", "toFixed", "getTime", "ended", "4MIiSpY", "WAITING", "prevAction", "UUID", "message", "playedTime", "STARTUP", "VPE", "handlePause", "prevTrack", "player_start", "isSeeking", "13486491LCbsZx", "prevUrl", "1676500zHauJx", "prevTime", "country", "waitingEnd", "firstPlay", "isEnded", "WAITING_END", "stageData", "handleTimeUpdate", "SEEKED", "E0000", "PREV_TRACK", "sessionId", "handleTrackChange", "handleWaitingEnd", "nextTrack", "pause", "handleEnded", "padStart", "initTimeupdate", "reportData", "REBUFFERING", "NEXT_TRACK"];
|
|
2054
|
+
return Oe = function() {
|
|
2055
|
+
return a;
|
|
2056
|
+
}, Oe();
|
|
2057
|
+
}
|
|
2058
|
+
const I = Ht;
|
|
2060
2059
|
(function(a, t) {
|
|
2061
|
-
const e =
|
|
2060
|
+
const e = Ht, i = a();
|
|
2062
2061
|
for (; ; )
|
|
2063
2062
|
try {
|
|
2064
|
-
if (parseInt(e(
|
|
2063
|
+
if (-parseInt(e(320)) / 1 + parseInt(e(392)) / 2 * (parseInt(e(305)) / 3) + -parseInt(e(466)) / 4 + -parseInt(e(405)) / 5 * (-parseInt(e(408)) / 6) + parseInt(e(440)) / 7 * (-parseInt(e(379)) / 8) + -parseInt(e(372)) / 9 + -parseInt(e(429)) / 10 * (-parseInt(e(378)) / 11) === t) break;
|
|
2065
2064
|
i.push(i.shift());
|
|
2066
2065
|
} catch {
|
|
2067
2066
|
i.push(i.shift());
|
|
2068
2067
|
}
|
|
2069
|
-
})(
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2068
|
+
})(De, 927481);
|
|
2069
|
+
function De() {
|
|
2070
|
+
const a = ["errorState", "serverConfig", "9513774jlbfbd", "isPaidTier", "some", "auto", "report", "json", "11748594BOgpTC", "80ehXgkY", "errorInfo", "performKeyCheck", "controlBtn", "m3u8", "Safari", "vpe", "Whale", "Content-Type", "playlist", "Auto", "getValidatedOptions", "isArray", "14bQKTaw", "match", "stateChange", "error", "height", "version", "width", "currentTime", "dash", "indexOf", "player_name", "Unknown", "toString", "669255hsQNZn", "videoHeight", "test", "18kmtzsq", "userAgent", "playerStartTimeMs", "mp4", "ncplayer : ", "screen", "getPlaylist", "watermarkConfig", "maUse", "isInitialized", "browser", "code", "incomingType", "platform", "split", "deviceMemory", "playerVersion", "aHR0cHM6Ly9wYXBpLmJldGEtdnBlLmdvdi1udHJ1c3MuY29tL3BsYXllci9jb25maWc=", "live", "UAParser", "access_key", "40FgbaUh", "origin", "getResult", "getElapsedMilliseconds", "options", "startup", "updateTranslator", "userAgentData", "Naver webview", "statusText", "host", "797811hwPlPY", "device", "includes", "getTime", "now", "text", "setErrorRun", "name", "E0003", "toLowerCase", "url", "volumechange", "Kakao webview", "LIVE", "kbps", "location", "VPE SDK Initialization failed:", "naver", "createPlayerInfo", "appId", "API", "string", "type", "playerStateReport", "title", "pay", "2651532szFecx", "Firefox", "123219HBJTFA", "isDev", "video", "kakaotalk", "startTimeAt", "result", "player_version", "ready", "href", "vendor", "?preview=true", "round", "language", "whale", "#EXT-X-STREAM-INF", "1174100WoTMVz", "domain", "hls", "maSync", "join", "accessKey", "HLS 파싱 실패:", "dispatchEvent", "push", "lang", "quality", "status", "Other", "unknown", "cid", "VPE", "hasFirstPlayReported", "videoWidth", "port", "model", "initialize", "play", "errorMessage", "E0002", "aHR0cHM6Ly9sb2cuYmV0YS12cGUuZ292LW50cnVzcy5jb20vc3RhdHM=", "trim", "playerInfo", "duration", "slice", "downlink", "kakao", "filter", "object", "warn", "hardwareConcurrency", "mozConnection", "aHR0cHM6Ly9sb2cuYmV0YS12cGUubmF2ZXJuY3AuY29tL3N0YXRz", "navigator", "connection", "data", "length", "webkitConnection", "maManager", "meta", "stage", "effectiveType", "translator", "startsWith", "pricing", "reduce"];
|
|
2071
|
+
return De = function() {
|
|
2072
|
+
return a;
|
|
2073
|
+
}, De();
|
|
2074
|
+
}
|
|
2075
|
+
const M0 = { gov: { prod: { config: "aHR0cHM6Ly9wYXBpLnZwZS5nb3YtbnRydXNzLmNvbS9wbGF5ZXIvY29uZmln", report: "aHR0cHM6Ly9sb2cudnBlLmdvdi1udHJ1c3MuY29tL3N0YXRz" }, beta: { config: I(425), report: I(344) } }, pub: { prod: { config: "aHR0cHM6Ly9wYXBpLnZwZS5uYXZlcm5jcC5jb20vcGxheWVyL2NvbmZpZw==", report: "aHR0cHM6Ly9sb2cudnBlLm5hdmVybmNwLmNvbS9zdGF0cw==" }, beta: { config: "aHR0cHM6Ly9wYXBpLmJldGEtdnBlLm5hdmVybmNwLmNvbS9wbGF5ZXIvY29uZmln", report: I(356) } } };
|
|
2076
|
+
function Ht(a, t) {
|
|
2077
|
+
return a = a - 304, De()[a];
|
|
2078
|
+
}
|
|
2079
|
+
let _t = [];
|
|
2080
|
+
const R0 = (a) => {
|
|
2074
2081
|
try {
|
|
2075
2082
|
return atob(a);
|
|
2076
|
-
} catch (
|
|
2077
|
-
return console
|
|
2083
|
+
} catch (t) {
|
|
2084
|
+
return console.error("Base64 decoding failed:", t), "";
|
|
2078
2085
|
}
|
|
2079
2086
|
};
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
function Oe() {
|
|
2084
|
-
const a = ["name", "player_start", "text", "port", "result", "slice", "aHR0cHM6Ly9sb2cudnBlLm5hdmVybmNwLmNvbS9zdGF0cw==", "kakao", "startup", "href", "volumechange", "534453zmrCeB", "Firefox", "webkitConnection", "hlsPaser", "auto", "match", "trim", "filter", "application/json", "13oFhCsg", "aHR0cHM6Ly9sb2cuYmV0YS12cGUubmF2ZXJuY3AuY29tL3N0YXRz", "duration", "dash", "lang", "Edge", "unknown", "playerStateReport", "join", "LIVE", "mobile", "Safari", "ready", "aHR0cHM6Ly9wYXBpLmJldGEtdnBlLm5hdmVybmNwLmNvbS9wbGF5ZXIvY29uZmln", "pay", "split", "now", "getResult", "mpd", "screen", "startTimeAt", "connection", "maSync", "quality", "16770FQPatJ", "hls", "Edg", "rtt", "access_key", "aHR0cHM6Ly9sb2cuYmV0YS12cGUuZ292LW50cnVzcy5jb20vc3RhdHM=", "meta", "platform", "config", "VPE Player: accessKey 또는 appId가 없어 키 인증을 건너뜁니다.", "200Euvsqm", "isArray", "toLowerCase", "initialize", "round", "Unknown", "Content-Type", "E0003", "report", "map", "userAgent", "watermarkConfig", "navigator", "Naver webview", "HLS 파싱 실패:", "Auto", "deviceMemory", "type", "whale", "13PbXNIi", "1008670yBZhGS", "push", "errorState", "32373PzDlAZ", "video", "protocol", "hardwareConcurrency", "getBrowserInfo", "version", "pricing", "data", "11vebATj", "error", "language", "isInitialized", "videoWidth", "maManager", "VPE", "title", "stateChange", "E0002", "string", "Base64 decoding failed:", "playerInfo", "Other", "Whale", "aHR0cHM6Ly9wYXBpLnZwZS5uYXZlcm5jcC5jb20vcGxheWVyL2NvbmZpZw==", "performKeyCheck", "toString", "includes", "model", "975605xGWdhf", "hasFirstPlayReported", "Error:", "device", "maUse", "dispatchEvent", "mp4", "vpe", "status", "ncplayer : ", "saveData", "isPaidTier", "origin", "controlBtn", "videoHeight", "incomingType", "host", "updateTranslator", "getElapsedMilliseconds", "kbps", "statusText", "errorCode", "player_name", "json", "player_version", "playerStartTimeMs", "reduce", "effectiveType", "playlist", "translator", "location", ".m3u8", "browser", "floor", "domain", "test", "stage", "accessKey", "Chrome", "errorInfo", "3616524mHhgjO", "options", "width", "POST", "playerName", "getVideoProtocol", "state", "getValidatedOptions", "isDev", "?preview=true", "startsWith", "serverConfig", "mozConnection", "play", "4khUROX", "createPlayerInfo", "naver", "object", "8160gRFPSR", "UAParser", "301TowqvT", "length", "appId", "currentTime", "setErrorRun", "playerVersion"];
|
|
2085
|
-
return Oe = function() {
|
|
2086
|
-
return a;
|
|
2087
|
-
}, Oe();
|
|
2088
|
-
}
|
|
2089
|
-
class O0 {
|
|
2090
|
-
[g(225)] = {};
|
|
2091
|
-
[g(166)] = null;
|
|
2087
|
+
class D0 {
|
|
2088
|
+
[I(371)] = {};
|
|
2089
|
+
playerInfo = null;
|
|
2092
2090
|
accessKey;
|
|
2093
|
-
[
|
|
2094
|
-
[
|
|
2091
|
+
[I(459)];
|
|
2092
|
+
[I(421)];
|
|
2095
2093
|
stage;
|
|
2096
2094
|
isDev;
|
|
2097
|
-
[
|
|
2098
|
-
[
|
|
2099
|
-
|
|
2100
|
-
[
|
|
2101
|
-
|
|
2102
|
-
[
|
|
2103
|
-
[
|
|
2104
|
-
constructor({ accessKey: t, appId: e, platform: i, stage: n, isDev: r = !1, language:
|
|
2105
|
-
const
|
|
2106
|
-
this[
|
|
2095
|
+
[I(366)] = Ke();
|
|
2096
|
+
[I(370)];
|
|
2097
|
+
maManager = null;
|
|
2098
|
+
[I(309)] = null;
|
|
2099
|
+
incomingType = null;
|
|
2100
|
+
[I(336)] = !1;
|
|
2101
|
+
[I(410)] = 0;
|
|
2102
|
+
constructor({ accessKey: t, appId: e, platform: i, stage: n, isDev: r = !1, language: o }) {
|
|
2103
|
+
const p = I;
|
|
2104
|
+
this[p(325)] = t, this[p(459)] = e || location[p(430)], this[p(421)] = i, this.stage = n, this[p(306)] = r, this[p(435)](o), this[p(370)] = { errorCode: null, errorMessage: null };
|
|
2107
2105
|
}
|
|
2108
|
-
async [
|
|
2109
|
-
const t =
|
|
2110
|
-
if ([this[e[0]], this[e[1]]]
|
|
2111
|
-
const r = (
|
|
2112
|
-
const
|
|
2113
|
-
return this[
|
|
2106
|
+
async [I(340)]() {
|
|
2107
|
+
const t = I, e = [t(325), t(459), t(343), "E0001", t(448)], i = "VPE Player: accessKey 또는 appId가 없어 키 인증을 건너뜁니다.";
|
|
2108
|
+
if ([this[e[0]], this[e[1]]][t(374)]((o) => !o)) return console[t(353)](i), { error: this[t(446)](e[2]) };
|
|
2109
|
+
const r = (o) => {
|
|
2110
|
+
const p = t;
|
|
2111
|
+
return this[p(371)] = o, this[p(346)] = this[p(458)](o), this[p(346)];
|
|
2114
2112
|
};
|
|
2115
2113
|
try {
|
|
2116
|
-
const
|
|
2117
|
-
if (
|
|
2118
|
-
const
|
|
2119
|
-
return window[t(
|
|
2120
|
-
} catch (
|
|
2121
|
-
return console[t(
|
|
2114
|
+
const o = await this[t(381)]();
|
|
2115
|
+
if (o[t(419)] !== 200) return { error: this[t(446)](e[3]) };
|
|
2116
|
+
const p = r(o);
|
|
2117
|
+
return window[t(385)] && (window.vpe.playerName = p?.[t(402)], window[t(385)][t(424)] = p?.[t(311)], window[t(385)].player_name = p.player_name + "|" + p[t(311)], window[t(385)].state = this[t(364)]), p?.[t(416)] === "Y" && (await S0(this[t(421)], this.stage, p, this[t(459)], this[t(325)]), await y0(this[t(325)]), this[t(362)] = new C0(this[t(421)], this[t(364)], p), this[t(309)] = Date[t(444)]()), { options: this.serverConfig[t(310)]?.[t(433)], playerInfo: p };
|
|
2118
|
+
} catch (o) {
|
|
2119
|
+
return console[t(395)](t(456), o), { error: this[t(446)](e[4]) };
|
|
2122
2120
|
}
|
|
2123
2121
|
}
|
|
2124
|
-
async [
|
|
2125
|
-
const t =
|
|
2122
|
+
async [I(381)]() {
|
|
2123
|
+
const t = I, e = [t(315), "config", t(387), "application/json", t(428), t(321), "POST"], i = this[t(306)] ? e[0] : "", n = R0(M0[this[t(421)]][this[t(364)]][e[1]]) + i, r = JSON.stringify([e[4], e[5]][t(369)]((p, b, v) => {
|
|
2126
2124
|
const S = t;
|
|
2127
|
-
return b
|
|
2128
|
-
}, {})),
|
|
2129
|
-
if (!
|
|
2130
|
-
return
|
|
2125
|
+
return p[b] = [this[S(325)], this[S(459)]][v], p;
|
|
2126
|
+
}, {})), o = await fetch(n, { method: e[6], headers: { [e[2]]: e[3] }, body: r });
|
|
2127
|
+
if (!o.ok) throw new Error([t(460), "Error:", o[t(331)], o[t(438)]][t(324)](" "));
|
|
2128
|
+
return o[t(377)]();
|
|
2131
2129
|
}
|
|
2132
|
-
|
|
2133
|
-
const t =
|
|
2134
|
-
return /Edg\/(\d+\.\d+)/[t(
|
|
2130
|
+
getBrowserInfo() {
|
|
2131
|
+
const t = I, e = navigator[t(409)];
|
|
2132
|
+
return /Edg\/(\d+\.\d+)/[t(407)](e) ? { origin: "Edge", version: RegExp.$1 } : /Chrome\/(\d+\.\d+)/.test(e) && !e[t(442)]("Edg") ? { origin: "Chrome", version: RegExp.$1 } : /Firefox\/(\d+\.\d+)/[t(407)](e) ? { origin: t(304), version: RegExp.$1 } : /Version\/(\d+\.\d+)/[t(407)](e) && e.includes(t(384)) ? { origin: t(384), version: RegExp.$1 } : { origin: t(403), version: t(403) };
|
|
2135
2133
|
}
|
|
2136
|
-
[
|
|
2137
|
-
const e =
|
|
2138
|
-
return window[e(
|
|
2134
|
+
[I(458)](t) {
|
|
2135
|
+
const e = I, [i, n] = t[e(310)][e(447)][e(422)]("|"), r = navigator[e(358)] || navigator.mozConnection || navigator[e(361)], o = this.getBrowserInfo(), p = navigator[e(436)], b = new o0[e(427)](window[e(357)][e(409)]).getResult();
|
|
2136
|
+
return window.navigator.userAgent[e(449)]()[e(442)](e(318)) ? b[e(418)][e(447)] = e(386) : window[e(357)].userAgent[e(449)]()[e(442)](e(308)) ? b[e(418)][e(447)] = e(452) : window[e(357)][e(409)][e(449)]().includes(e(457)) ? b[e(418)].name = e(437) : window[e(357)][e(409)][e(449)]().includes(e(350)) ? b[e(418)][e(447)] = e(452) : window[e(357)][e(409)][e(449)]().includes(e(457)) && (b[e(418)][e(447)] = e(437)), { cid: t.result[e(334)], player_name: i, player_version: n, pricing: t[e(310)][e(368)], maUse: t.result[e(433)]?.maUse === "Y" ? "Y" : "N", browser: { lang: navigator[e(317)], ua: navigator[e(409)] }, screen: { width: window.screen[e(398)], height: window[e(413)][e(396)] }, connection: { network: r?.[e(365)] ?? e(333), downlink: r?.[e(349)] ?? null, rtt: r?.rtt ?? null, save_data: r?.saveData ?? !1 }, device: { platform: p?.[e(421)] ?? "Unknown", mobile: p?.mobile ?? !1, memory: navigator[e(423)] ?? null, processor: navigator[e(354)] ?? null }, video: { url: "" }, extra: { vpeKey: this[e(325)], playerType: e(335), playerVersion: window[e(385)]?.[e(424)] ?? n, os: p?.[e(421)] ?? e(403), osOrigin: b.os[e(447)] || e(403), osVersion: b.os[e(397)], vpePackageId: null, actionDuration: this[e(432)](), actionType: e(312), browser: o[e(430)], browserOrigin: o[e(430)], browserVersion: o[e(397)], quality: e(332), qualityOrigin: e(389), device: b.device[e(314)] + " " + b[e(441)][e(339)], location: window[e(455)][e(313)], host: window[e(455)][e(439)], port: window[e(455)][e(338)], protocol: window.location.protocol, title: "" } };
|
|
2139
2137
|
}
|
|
2140
|
-
[
|
|
2141
|
-
const e =
|
|
2142
|
-
return this[e(
|
|
2138
|
+
[I(446)](t) {
|
|
2139
|
+
const e = I, i = t[e(348)](-2), n = this[e(366)][e(395)][i] || this.translator[e(395)]["01"], r = { errorCode: t, errorMessage: n };
|
|
2140
|
+
return this[e(370)] = r, console[e(395)](e(412), r), r;
|
|
2143
2141
|
}
|
|
2144
|
-
[
|
|
2145
|
-
const e =
|
|
2146
|
-
this[e(
|
|
2142
|
+
[I(435)](t) {
|
|
2143
|
+
const e = I;
|
|
2144
|
+
this[e(366)] = Ke(t);
|
|
2147
2145
|
}
|
|
2148
2146
|
getErrorState() {
|
|
2149
|
-
return this[
|
|
2147
|
+
return this[I(370)];
|
|
2150
2148
|
}
|
|
2151
|
-
[
|
|
2152
|
-
const t =
|
|
2153
|
-
return this
|
|
2149
|
+
[I(373)]() {
|
|
2150
|
+
const t = I;
|
|
2151
|
+
return this[t(371)][t(310)]?.[t(368)] === "pay";
|
|
2154
2152
|
}
|
|
2155
|
-
[
|
|
2156
|
-
const t =
|
|
2157
|
-
return !!this[t(
|
|
2153
|
+
[I(417)]() {
|
|
2154
|
+
const t = I;
|
|
2155
|
+
return !!this[t(371)][t(310)];
|
|
2158
2156
|
}
|
|
2159
|
-
[
|
|
2160
|
-
const e =
|
|
2161
|
-
this[e(
|
|
2157
|
+
[I(390)](t) {
|
|
2158
|
+
const e = I, i = E0(this[e(371)].result?.options, this.serverConfig[e(310)]?.[e(368)]);
|
|
2159
|
+
this[e(371)].result?.[e(368)] !== e(465) && (t = { ...t, ...i });
|
|
2162
2160
|
const n = { ...i, ...t ?? {} };
|
|
2163
|
-
return n?.
|
|
2161
|
+
return n?.[e(329)] && (n?.[e(329)] == e(375) || this.updateTranslator(n[e(329)])), t?.controlBtn && (n[e(382)] = { ...i.controlBtn, ...t.controlBtn }), t?.[e(415)] && (n[e(415)] = { ...i.watermarkConfig, ...t[e(415)] }), n[e(388)] && !Array[e(391)](n[e(388)]) && (n[e(388)] = [{ file: n[e(388)] }]), _t = n[e(388)] || [], n;
|
|
2164
2162
|
}
|
|
2165
|
-
|
|
2166
|
-
return
|
|
2163
|
+
[I(414)]() {
|
|
2164
|
+
return _t || [];
|
|
2167
2165
|
}
|
|
2168
2166
|
$t(t) {
|
|
2169
|
-
const e =
|
|
2167
|
+
const e = I, i = t.split(".");
|
|
2170
2168
|
let n = this.translator;
|
|
2171
2169
|
for (const r of i)
|
|
2172
|
-
if (n && typeof n === e(
|
|
2170
|
+
if (n && typeof n === e(352) && r in n) n = n[r];
|
|
2173
2171
|
else return t;
|
|
2174
|
-
return typeof n === e(
|
|
2172
|
+
return typeof n === e(461) ? n : t;
|
|
2175
2173
|
}
|
|
2176
|
-
async
|
|
2177
|
-
const e =
|
|
2178
|
-
if (!t || t
|
|
2179
|
-
const n = (
|
|
2180
|
-
const
|
|
2174
|
+
async hlsPaser(t) {
|
|
2175
|
+
const e = I, i = [];
|
|
2176
|
+
if (!t || t[e(401)](".m3u8") === -1) return i;
|
|
2177
|
+
const n = (p, b) => {
|
|
2178
|
+
const v = e;
|
|
2181
2179
|
try {
|
|
2182
|
-
return new URL(
|
|
2180
|
+
return new URL(b, p)[v(404)]();
|
|
2183
2181
|
} catch {
|
|
2184
|
-
return
|
|
2182
|
+
return b;
|
|
2185
2183
|
}
|
|
2186
|
-
}, r = (
|
|
2187
|
-
const
|
|
2188
|
-
if (
|
|
2189
|
-
const S =
|
|
2190
|
-
return S ? Math[
|
|
2191
|
-
},
|
|
2192
|
-
const
|
|
2193
|
-
for (let S = 0; S <
|
|
2194
|
-
const
|
|
2195
|
-
if (
|
|
2196
|
-
const G =
|
|
2197
|
-
G && !G[
|
|
2184
|
+
}, r = (p) => {
|
|
2185
|
+
const b = e, v = p[b(393)](/RESOLUTION=(\d+)x(\d+)/);
|
|
2186
|
+
if (v) return v[2] + "p";
|
|
2187
|
+
const S = p.match(/BANDWIDTH=(\d+)/);
|
|
2188
|
+
return S ? Math[b(316)](Number(S[1]) / 1e3) + b(454) : b(375);
|
|
2189
|
+
}, o = (p) => {
|
|
2190
|
+
const b = e, v = p[b(422)](/\r?\n/).map((S) => S[b(345)]())[b(351)]((S) => S[b(360)] > 0);
|
|
2191
|
+
for (let S = 0; S < v[b(360)]; S += 1) {
|
|
2192
|
+
const R = v[S];
|
|
2193
|
+
if (R[b(367)](b(319))) {
|
|
2194
|
+
const G = v[S + 1];
|
|
2195
|
+
G && !G[b(367)]("#") && (i[b(328)]({ quality: r(R), url: n(t, G), levelIndex: i.length }), S += 1);
|
|
2198
2196
|
}
|
|
2199
2197
|
}
|
|
2200
2198
|
};
|
|
2201
2199
|
try {
|
|
2202
|
-
const
|
|
2203
|
-
if (!
|
|
2204
|
-
const
|
|
2205
|
-
return
|
|
2206
|
-
} catch (
|
|
2207
|
-
return console
|
|
2200
|
+
const p = await fetch(t);
|
|
2201
|
+
if (!p.ok) return i;
|
|
2202
|
+
const b = await p[e(445)]();
|
|
2203
|
+
return b && o(b), i;
|
|
2204
|
+
} catch (p) {
|
|
2205
|
+
return console[e(395)](e(326), p), i;
|
|
2208
2206
|
}
|
|
2209
2207
|
}
|
|
2210
|
-
async [
|
|
2211
|
-
const e =
|
|
2212
|
-
if (!t?.[e(
|
|
2213
|
-
const i = new H(window[e(
|
|
2214
|
-
if (t
|
|
2208
|
+
async [I(463)](t) {
|
|
2209
|
+
const e = I;
|
|
2210
|
+
if (!t?.type || !this[e(362)] || this[e(346)]?.maUse !== "Y") return;
|
|
2211
|
+
const i = new H(window[e(357)][e(409)])[e(431)]();
|
|
2212
|
+
if (t.type == e(451) || t[e(462)] == e(394)) return;
|
|
2215
2213
|
const n = t.type;
|
|
2216
|
-
t[e(
|
|
2217
|
-
const r = t?.[e(
|
|
2218
|
-
this
|
|
2219
|
-
const
|
|
2220
|
-
|
|
2221
|
-
const
|
|
2222
|
-
let oe = 0,
|
|
2223
|
-
if (
|
|
2224
|
-
const
|
|
2225
|
-
|
|
2214
|
+
t[e(462)] == e(312) && (t[e(462)] = "player_start");
|
|
2215
|
+
const r = t?.[e(307)]?.type == e(426), o = navigator.connection || navigator[e(355)] || navigator[e(361)] || null;
|
|
2216
|
+
this[e(420)] = t?.type || null;
|
|
2217
|
+
const p = this[e(420)] === e(341) && !this.hasFirstPlayReported, b = p ? "startup" : this[e(420)];
|
|
2218
|
+
p && (this.hasFirstPlayReported = !0);
|
|
2219
|
+
const v = t?.[e(307)]?.data?.[e(347)] || 0, S = t?.[e(307)]?.[e(359)]?.[e(399)] || 0, R = t?.[e(307)]?.[e(337)] || 0, G = t?.[e(307)]?.[e(406)] || 0;
|
|
2220
|
+
let oe = 0, Y = 0, he = 0;
|
|
2221
|
+
if (b == "player_start" && (oe = this.getElapsedMilliseconds(), this.playerStartTimeMs = oe), b == e(434)) {
|
|
2222
|
+
const xt = this.getElapsedMilliseconds();
|
|
2223
|
+
Y = xt - this[e(410)], he = xt;
|
|
2226
2224
|
}
|
|
2227
|
-
const
|
|
2228
|
-
await this[e(
|
|
2225
|
+
const Gt = { type: b, video: { type: r ? e(453) : "VOD", quality: t?.[e(307)]?.[e(330)] ? t?.video?.[e(330)] : "auto", url: t?.[e(307)]?.[e(450)] }, connection: o ? { network: o[e(365)], downlink: o[e(349)], rtt: o.rtt, save_data: o.saveData } : void 0, extra: { actionType: b, title: t?.[e(363)]?.[e(464)], metaData: t?.[e(363)], videoWidth: Math.round(R), videoHeight: Math[e(316)](G), video_protocols: this.getVideoProtocol(t?.[e(307)]?.[e(450)]), duration: Math.floor(v), currentTime: Math.floor(S), playedTime: this[e(432)](), viewingTime: Math[e(316)](this[e(432)]() / 1e3), playerStartTime: oe, videoStartTime: Y, totalStartTime: he, percent: Math.round(S / v * 100), quality: t?.[e(307)]?.quality ? t?.video?.quality : e(375), errorCode: t?.[e(380)]?.errorCode, errorMessage: t?.[e(380)]?.[e(342)], actionDuration: this[e(432)]() / 1e3, device: i[e(441)][e(314)] + " " + i[e(441)].model, location: window[e(455)][e(313)], host: window[e(455)][e(439)], port: window[e(455)][e(338)], protocol: window[e(455)].protocol }, browser: { lang: navigator[e(317)], ua: navigator.userAgent }, screen: { width: window[e(413)][e(398)], height: window[e(413)][e(396)] } };
|
|
2226
|
+
await this[e(376)](b, Gt, n);
|
|
2229
2227
|
}
|
|
2230
|
-
async
|
|
2231
|
-
const n =
|
|
2232
|
-
if (!this
|
|
2233
|
-
const r = e && typeof e === n(
|
|
2234
|
-
await this.maManager[n(
|
|
2228
|
+
async report(t, e, i) {
|
|
2229
|
+
const n = I;
|
|
2230
|
+
if (!this[n(362)]) return;
|
|
2231
|
+
const r = e && typeof e === n(352) ? e : { extra: { actionDuration: this[n(432)]() } };
|
|
2232
|
+
await this.maManager[n(323)](r), await this[n(362)][n(327)]({ type: t, data: r });
|
|
2235
2233
|
}
|
|
2236
2234
|
getVideoProtocol(t) {
|
|
2237
|
-
const e =
|
|
2238
|
-
return t
|
|
2235
|
+
const e = I;
|
|
2236
|
+
return t[e(401)](e(383)) > -1 ? e(322) : t[e(401)]("mpd") > -1 ? e(400) : e(411);
|
|
2239
2237
|
}
|
|
2240
|
-
|
|
2241
|
-
const t =
|
|
2242
|
-
return this[t(
|
|
2238
|
+
[I(432)]() {
|
|
2239
|
+
const t = I;
|
|
2240
|
+
return this[t(309)] ? (/* @__PURE__ */ new Date())[t(443)]() - this[t(309)] : 0;
|
|
2243
2241
|
}
|
|
2244
2242
|
}
|
|
2243
|
+
function O0(a, t) {
|
|
2244
|
+
a = a - 341;
|
|
2245
|
+
var e = Pe(), i = e[a];
|
|
2246
|
+
return i;
|
|
2247
|
+
}
|
|
2245
2248
|
(function(a, t) {
|
|
2246
|
-
for (var e =
|
|
2249
|
+
for (var e = O0, i = a(); ; )
|
|
2247
2250
|
try {
|
|
2248
|
-
var n = parseInt(e(
|
|
2251
|
+
var n = parseInt(e(347)) / 1 + -parseInt(e(345)) / 2 + -parseInt(e(348)) / 3 + -parseInt(e(349)) / 4 * (-parseInt(e(341)) / 5) + parseInt(e(344)) / 6 * (parseInt(e(346)) / 7) + parseInt(e(343)) / 8 + -parseInt(e(342)) / 9;
|
|
2249
2252
|
if (n === t) break;
|
|
2250
2253
|
i.push(i.shift());
|
|
2251
2254
|
} catch {
|
|
2252
2255
|
i.push(i.shift());
|
|
2253
2256
|
}
|
|
2254
|
-
})(
|
|
2255
|
-
function
|
|
2256
|
-
a =
|
|
2257
|
-
|
|
2258
|
-
return i;
|
|
2259
|
-
}
|
|
2260
|
-
function De() {
|
|
2261
|
-
var a = ["544735MiNZIi", "461366XmyzRv", "24154064JfoXyR", "159988gehPjq", "679YhyhkO", "775230VfpyZi", "18NFRZRe", "1auPJNX", "42568cshFff", "18wBRwxM", "2743850Edkixp"];
|
|
2262
|
-
return De = function() {
|
|
2257
|
+
})(Pe, 629999);
|
|
2258
|
+
function Pe() {
|
|
2259
|
+
var a = ["1138119HcTFgX", "7724XFMJPz", "1105hwwYen", "3556674raZMsw", "2485648iOerHd", "6baSaYV", "1574650BPfOvS", "3923619wUEUcj", "893909kdUbqp"];
|
|
2260
|
+
return Pe = function() {
|
|
2263
2261
|
return a;
|
|
2264
|
-
},
|
|
2262
|
+
}, Pe();
|
|
2265
2263
|
}
|
|
2266
2264
|
export {
|
|
2267
|
-
|
|
2265
|
+
D0 as default,
|
|
2266
|
+
Ke as getTranslator
|
|
2268
2267
|
};
|