@sgrsoft/vpe-core-sdk 0.24.0 → 0.24.2
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/vpe-core-sdk.cjs.js +1 -1
- package/dist/vpe-core-sdk.es.js +755 -757
- package/package.json +1 -1
package/dist/vpe-core-sdk.es.js
CHANGED
|
@@ -1,148 +1,148 @@
|
|
|
1
|
-
function
|
|
2
|
-
|
|
3
|
-
return _e = function() {
|
|
4
|
-
return x;
|
|
5
|
-
}, _e();
|
|
6
|
-
}
|
|
7
|
-
var h = Mt;
|
|
8
|
-
function Mt(x, t) {
|
|
9
|
-
x = x - 351;
|
|
10
|
-
var e = _e(), i = e[x];
|
|
11
|
-
return i;
|
|
12
|
-
}
|
|
13
|
-
(function(x, t) {
|
|
14
|
-
for (var e = Mt, i = x(); ; )
|
|
15
|
-
try {
|
|
16
|
-
var n = parseInt(e(368)) / 1 * (parseInt(e(358)) / 2) + -parseInt(e(395)) / 3 + -parseInt(e(387)) / 4 + parseInt(e(407)) / 5 * (-parseInt(e(382)) / 6) + -parseInt(e(418)) / 7 * (-parseInt(e(360)) / 8) + parseInt(e(385)) / 9 * (-parseInt(e(433)) / 10) + parseInt(e(401)) / 11;
|
|
17
|
-
if (n === t) break;
|
|
18
|
-
i.push(i.shift());
|
|
19
|
-
} catch {
|
|
20
|
-
i.push(i.shift());
|
|
21
|
-
}
|
|
22
|
-
})(_e, 385799);
|
|
23
|
-
const Jt = { common: { cancel: "Cancel", auto: h(383), normal: "Normal", notUse: h(379), prev: h(410), next: h(357), delayText: h(352), license: h(432), play: h(384), pause: "Pause", replay: h(399), fullOn: h(372), fullOff: "Exit fullscreen", muteOn: "Mute", muteOff: h(365), captionOff: h(430), captionOn: "Turn on captions", setting: "Settings", live: h(428), miniPlayer: h(424), isMute: h(367), subtitle: "Subtitles", subtitleNot: h(363) }, settings: { autoplay: h(415), playbackRate: h(381), captions: h(409), quality: h(374) }, skip: { introSkip: h(376), openingSkip: h(378), endingSkip: h(392), autoSkipIntro: "Auto Skip Intro", autoSkipOpening: h(427), autoSkipEnding: h(359), autoSkipOpeningEnding: "Auto Skip Opening/Ending" }, ageRating: { noticeAll: h(441), notice12: h(402), notice15: h(434), notice19: h(397) }, contentWarning: { sexuality: "Sexuality", violence: "Violence", language: h(370), drugs: h(437), horror: h(403), imitation: h(421), provocative: "Provocative content" }, error: { "01": { title: h(416), desc: h(419) }, "02": { title: h(416), desc: h(389) }, "03": { title: h(404), desc: h(369) }, "04": { title: h(416), desc: "The video could not be played." }, "05": { title: h(416), desc: h(420) }, "06": { title: h(416), desc: h(417) }, "07": { title: h(416), desc: h(426) }, "08": { title: h(416), desc: "Invalid URL format." }, "09": { title: h(416), desc: h(391) }, 10: { title: h(416), desc: h(366) }, 11: { title: h(416), desc: h(396) }, 12: { title: h(416), desc: h(423) }, 13: { title: h(416), desc: h(398) }, 14: { title: h(416), desc: h(422) }, 15: { title: "Player Execution Failed", desc: "Required module was not loaded. (hls.js)" }, 16: { title: h(355), desc: "Required module was not loaded. (dash.js)" }, 17: { title: h(431), desc: h(413) } }, tv: { default: h(425), quality: h(374), subtitleStyle: h(429), subtitleStyleDesc: h(373), applyDefaultStyle: "Apply Default Style", fontColor: h(386), fontSize: h(400), textOpacity: h(438), edgeStyle: h(414), bgColor: h(412), bgOpacity: h(388), windowColor: h(362), windowOpacity: h(390), fontWeight: h(377), weight: { thin: h(354), normal: h(405), semiBold: h(361), bold: "Bold", extraBold: h(393) }, color: { white: "White", black: h(408), red: "Red", green: h(435), blue: h(353), yellow: "Yellow", magenta: "Magenta", cyan: h(439) }, edge: { none: h(411), dropShadow: h(394), raised: h(364), depressed: h(356), uniform: "Uniform" } }, alternative: { hour: h(380), minute: "minute(s)", second: "second(s)", after: h(351), afterMin: h(375), afterHour: h(406), afterDay: "day", startPlay: h(436), nextPlay: h(371), afterPlay: h(440) } };
|
|
24
|
-
var w = Rt;
|
|
25
|
-
function Rt(x, t) {
|
|
26
|
-
x = x - 495;
|
|
1
|
+
function Dt(x, t) {
|
|
2
|
+
x = x - 233;
|
|
27
3
|
var e = Ee(), i = e[x];
|
|
28
4
|
return i;
|
|
29
5
|
}
|
|
6
|
+
var f = Dt;
|
|
30
7
|
(function(x, t) {
|
|
31
|
-
for (var e =
|
|
8
|
+
for (var e = Dt, i = x(); ; )
|
|
32
9
|
try {
|
|
33
|
-
var
|
|
34
|
-
if (
|
|
10
|
+
var a = parseInt(e(305)) / 1 + parseInt(e(267)) / 2 * (-parseInt(e(248)) / 3) + -parseInt(e(299)) / 4 + parseInt(e(274)) / 5 * (parseInt(e(258)) / 6) + -parseInt(e(293)) / 7 + parseInt(e(249)) / 8 * (parseInt(e(284)) / 9) + -parseInt(e(251)) / 10 * (-parseInt(e(237)) / 11);
|
|
11
|
+
if (a === t) break;
|
|
35
12
|
i.push(i.shift());
|
|
36
13
|
} catch {
|
|
37
14
|
i.push(i.shift());
|
|
38
15
|
}
|
|
39
|
-
})(Ee,
|
|
40
|
-
const
|
|
16
|
+
})(Ee, 643238);
|
|
17
|
+
const Jt = { common: { cancel: "Cancel", auto: f(281), normal: "Normal", notUse: f(286), prev: f(287), next: f(301), delayText: f(277), license: f(236), play: f(317), pause: "Pause", replay: f(250), fullOn: f(303), fullOff: f(315), muteOn: f(283), muteOff: "Unmute", captionOff: f(297), captionOn: f(253), setting: f(276), live: f(321), miniPlayer: f(254), isMute: "You are muted.", subtitle: "Subtitles", subtitleNot: f(272) }, settings: { autoplay: "Autoplay", playbackRate: f(259), captions: f(265), quality: "Quality" }, skip: { introSkip: f(314), openingSkip: f(263), endingSkip: "Skip Ending", autoSkipIntro: "Auto Skip Intro", autoSkipOpening: "Auto Skip Opening", autoSkipEnding: f(233), autoSkipOpeningEnding: "Auto Skip Opening/Ending" }, ageRating: { noticeAll: f(278), notice12: f(257), notice15: f(271), notice19: f(291) }, contentWarning: { sexuality: f(311), violence: "Violence", language: f(298), drugs: f(308), horror: f(234), imitation: f(269), provocative: f(322) }, error: { "01": { title: f(256), desc: f(241) }, "02": { title: f(256), desc: f(313) }, "03": { title: f(247), desc: f(268) }, "04": { title: f(256), desc: "The video could not be played." }, "05": { title: f(256), desc: f(292) }, "06": { title: f(256), desc: "Monthly basic API calls exceeded. Please switch to a paid version." }, "07": { title: f(256), desc: f(275) }, "08": { title: f(256), desc: f(323) }, "09": { title: f(256), desc: "The live stream is OFFLINE." }, 10: { title: f(256), desc: f(235) }, 11: { title: f(256), desc: f(246) }, 12: { title: f(256), desc: "Failed to communicate with the DRM license server." }, 13: { title: "Cannot play video", desc: f(243) }, 14: { title: f(256), desc: "Screen capture / screen recording has been detected." }, 15: { title: f(310), desc: "Required module was not loaded. (hls.js)" }, 16: { title: f(310), desc: f(296) }, 17: { title: f(282), desc: f(285) } }, tv: { default: f(264), quality: f(319), subtitleStyle: "Subtitle Style", subtitleStyleDesc: f(252), applyDefaultStyle: f(260), fontColor: f(239), fontSize: f(255), textOpacity: f(273), edgeStyle: f(300), bgColor: f(279), bgOpacity: f(261), windowColor: f(294), windowOpacity: f(289), fontWeight: f(245), weight: { thin: f(270), normal: "Normal", semiBold: f(320), bold: f(238), extraBold: f(302) }, color: { white: "White", black: f(318), red: f(309), green: f(240), blue: f(306), yellow: f(316), magenta: "Magenta", cyan: f(280) }, edge: { none: f(288), dropShadow: f(295), raised: f(290), depressed: f(312), uniform: f(244) } }, alternative: { hour: f(266), minute: "minute(s)", second: f(307), after: "In a moment", afterMin: "min", afterHour: "hour", afterDay: f(242), startPlay: f(304), nextPlay: "Next video will play in {timeTxt} seconds.", afterPlay: f(262) } };
|
|
41
18
|
function Ee() {
|
|
42
|
-
var x = ["
|
|
19
|
+
var x = ["This video may be inappropriate for minors.", "The license is not valid.", "4901736fCnPyd", "Window Color", "Drop Shadow", "Required module was not loaded. (dash.js)", "Turn off captions", "Language", "4895756uHBNlU", "Text Edge Style", "Next video", "Extra Bold", "Fullscreen", "Video will start in {timeTxt}.", "371167QwcJoq", "Blue", "second(s)", "Drugs", "Red", "Player Execution Failed", "Sexuality", "Depressed", "You do not have permission to play this video.", "Skip Intro", "Exit fullscreen", "Yellow", "Play", "Black", "Quality", "Semi Bold", "LIVE", "Provocative content", "Invalid URL format.", "Auto Skip Ending", "Horror", "Cannot play DASH video on iOS.", "License", "110mkUrMy", "Bold", "Font Color", "Green", "Invalid access. Please check your access_key.", "day", "FairPlay certificate validation failed.", "Uniform", "Font Weight", "Invalid DRM token.", "Authentication Failed", "123MSZQxw", "176tPtfGI", "Replay", "1912200yYJeoc", "Change text, color, and background styles", "Turn on captions", "Mini player", "Font Size", "Cannot play video", "This video may be inappropriate for children under 12 and requires parental guidance.", "18zMBhwq", "Playback speed", "Apply Default Style", "Background Opacity", "Scheduled", "Skip Opening", "Default", "Subtitles", "hour(s)", "52618EURfEW", "The network connection is unstable.", "Imitation risk", "Thin", "This video may be inappropriate for children under 15 and requires parental guidance.", "Subtitles not available", "Text Opacity", "1085045UBeWAI", "Unsupported format.", "Settings", "seconds until auto-play", "This video is rated for all audiences.", "Background Color", "Cyan", "Auto", "Player Startup Failed", "Mute", "291150MPfSpA", "This feature requires the Standard plan.", "Not used", "Previous video", "None", "Window Opacity", "Raised"];
|
|
43
20
|
return Ee = function() {
|
|
44
21
|
return x;
|
|
45
22
|
}, Ee();
|
|
46
23
|
}
|
|
47
|
-
|
|
48
|
-
|
|
24
|
+
var b = Mt;
|
|
25
|
+
function Mt(x, t) {
|
|
26
|
+
x = x - 118;
|
|
49
27
|
var e = Te(), i = e[x];
|
|
50
28
|
return i;
|
|
51
29
|
}
|
|
52
|
-
var g = Ot;
|
|
53
30
|
(function(x, t) {
|
|
54
|
-
for (var e =
|
|
31
|
+
for (var e = Mt, i = x(); ; )
|
|
55
32
|
try {
|
|
56
|
-
var
|
|
57
|
-
if (
|
|
33
|
+
var a = -parseInt(e(193)) / 1 * (-parseInt(e(127)) / 2) + parseInt(e(118)) / 3 * (parseInt(e(181)) / 4) + parseInt(e(168)) / 5 * (-parseInt(e(125)) / 6) + parseInt(e(133)) / 7 * (-parseInt(e(187)) / 8) + -parseInt(e(183)) / 9 * (-parseInt(e(178)) / 10) + -parseInt(e(184)) / 11 + parseInt(e(137)) / 12;
|
|
34
|
+
if (a === t) break;
|
|
58
35
|
i.push(i.shift());
|
|
59
36
|
} catch {
|
|
60
37
|
i.push(i.shift());
|
|
61
38
|
}
|
|
62
|
-
})(Te,
|
|
39
|
+
})(Te, 584763);
|
|
40
|
+
const Zt = { common: { cancel: "취소", auto: "자동", normal: "보통", notUse: "사용안함", prev: b(171), next: b(130), delayText: b(131), license: b(149), play: "재생", pause: b(129), replay: b(142), fullOn: b(188), fullOff: b(175), muteOn: b(190), muteOff: b(158), captionOff: b(174), captionOn: b(143), setting: "설정", live: b(135), miniPlayer: "미니플레이어", isMute: b(126), subtitle: "자막", subtitleNot: b(170) }, settings: { autoplay: "자동재생", playbackRate: b(145), captions: "자막", quality: b(154) }, skip: { introSkip: "인트로 건너뛰기", openingSkip: b(165), endingSkip: b(136), autoSkipIntro: b(144), autoSkipOpening: b(123), autoSkipEnding: b(138), autoSkipOpeningEnding: b(160) }, ageRating: { noticeAll: b(167), notice12: "이 영상은 12세 미만의 청소년이 시청하기에 부적절하므로 보호자의 시청지도가 필요한 영상입니다.", notice15: b(152), notice19: b(140) }, contentWarning: { sexuality: b(173), violence: "폭력", language: "욕설", drugs: "약물", horror: "공포", imitation: b(132), provocative: b(179) }, error: { "01": { title: b(146), desc: "잘못된 접근입니다. access_key를 확인해주세요." }, "02": { title: "동영상을 재생할 수 없음", desc: b(176) }, "03": { title: b(164), desc: "네트워크 연결이 원활하지 않습니다." }, "04": { title: b(146), desc: b(124) }, "05": { title: b(146), desc: "라이선스가 유효하지 않습니다." }, "06": { title: b(146), desc: b(157) }, "07": { title: b(146), desc: b(122) }, "08": { title: b(146), desc: b(148) }, "09": { title: b(146), desc: b(134) }, 10: { title: b(146), desc: b(191) }, 11: { title: b(146), desc: b(177) }, 12: { title: b(146), desc: b(166) }, 13: { title: "동영상을 재생할 수 없음", desc: "FairPlay 인증서 검증에 실패하였습니다." }, 14: { title: b(146), desc: b(186) }, 15: { title: b(163), desc: "필수 모듈이 로드되지 않았습니다. (hls.js)" }, 16: { title: b(163), desc: b(192) }, 17: { title: b(147), desc: b(120) } }, tv: { default: "기본", quality: "화질", subtitleStyle: b(141), subtitleStyleDesc: b(194), applyDefaultStyle: b(128), fontColor: b(153), fontSize: b(119), textOpacity: b(161), edgeStyle: "글자 테두리 스타일", bgColor: b(156), bgOpacity: b(150), windowColor: "창 색상", windowOpacity: b(189), fontWeight: b(121), weight: { thin: "얇게", normal: "보통", semiBold: "약간 굵게", bold: "굵게", extraBold: b(151) }, color: { white: "흰색", black: b(169), red: "빨간색", green: b(139), blue: b(172), yellow: "노란색", magenta: "자홍색", cyan: b(180) }, edge: { none: "없음", dropShadow: b(162), raised: "양각", depressed: "음각", uniform: "균일" } }, alternative: { hour: "시", minute: "분", second: "초", after: b(159), afterMin: "분 ", afterHour: b(155), afterDay: "일 ", startPlay: b(185), nextPlay: b(182), afterPlay: "예정" } };
|
|
63
41
|
function Te() {
|
|
64
|
-
var x = ["
|
|
42
|
+
var x = ["8936208VCpgeN", "전체화면", "창 불투명도", "음소거", "iOS에서 Dash 비디오를 재생할 수 없습니다.", "필수 모듈이 로드되지 않았습니다. (dash.js)", "3539iUFYaO", "텍스트, 색상, 배경 스타일 변경", "6HeBOVS", "글꼴 크기", "Standard 요금제가 필요한 기능입니다.", "글자 굵기", "지원하지 않는 형식입니다.", "오프닝 자동 스킵", "동영상을 재생할 수 없습니다.", "12zRfIeg", "음소거 상태입니다.", "386rwldid", "기본 스타일 적용", "일시정지", "다음 동영상", "초 뒤 자동재생", "모방위험", "7YSzNSm", "라이브스트림이 OFFLINE 입니다.", "실시간", "엔딩 건너뛰기", "2622900mYNCAO", "엔딩 자동 스킵", "초록색", "이 영상은 청소년이 시청하기에 부적절한 영상입니다.", "자막 스타일", "다시보기", "자막켜기", "인트로 자동 스킵", "재생 속도", "동영상을 재생할 수 없음", "플레이어 구동 실패", "URL 형식이 잘못되었습니다.", "라이선스", "배경 불투명도", "매우 굵게", "이 영상은 15세 미만의 청소년이 시청하기에 부적절하므로 보호자의 시청지도가 필요한 영상입니다.", "글꼴 색상", "해상도", "시간 ", "배경 색상", "월 기본 제공 호출 건수를 초과하였습니다. 유료 버전으로 전환 후 사용 부탁 드립니다.", "음소거 해제", "잠시 ", "오프닝/엔딩 자동 스킵", "텍스트 불투명도", "그림자", "플레이어 실행 실패", "인증 실패", "오프닝 건너뛰기", "DRM 라이선스 서버와 통신에 실패하였습니다.", "이 영상은 전체 관람가 영상입니다.", "796380sujqNL", "검정색", "자막 사용 불가", "이전 동영상", "파란색", "성적 표현", "자막끄기", "전체화면 해제", "동영상을 재생할 권한이 없습니다.", "DRM 토큰이 잘못되었습니다.", "11090UohjbW", "자극적 장면", "청록색", "971692GVsrUv", "{timeTxt}초 후 다음 영상이 재생됩니다.", "7506eMveOb", "3212143BNZaFI", "{timeTxt} 후 영상이 시작됩니다.", "화면 캡쳐 / 화면 녹화가 감지되었습니다."];
|
|
65
43
|
return Te = function() {
|
|
66
44
|
return x;
|
|
67
45
|
}, Te();
|
|
68
46
|
}
|
|
69
|
-
|
|
47
|
+
function Rt(x, t) {
|
|
48
|
+
x = x - 185;
|
|
49
|
+
var e = Ce(), i = e[x];
|
|
50
|
+
return i;
|
|
51
|
+
}
|
|
52
|
+
var g = Rt;
|
|
70
53
|
(function(x, t) {
|
|
71
|
-
|
|
72
|
-
for (; ; )
|
|
54
|
+
for (var e = Rt, i = x(); ; )
|
|
73
55
|
try {
|
|
74
|
-
|
|
56
|
+
var a = -parseInt(e(200)) / 1 + parseInt(e(243)) / 2 * (parseInt(e(187)) / 3) + -parseInt(e(196)) / 4 + -parseInt(e(208)) / 5 + -parseInt(e(242)) / 6 * (parseInt(e(232)) / 7) + parseInt(e(206)) / 8 + parseInt(e(230)) / 9;
|
|
57
|
+
if (a === t) break;
|
|
75
58
|
i.push(i.shift());
|
|
76
59
|
} catch {
|
|
77
60
|
i.push(i.shift());
|
|
78
61
|
}
|
|
79
|
-
})(Ce,
|
|
80
|
-
const Pt = { en: Jt, ko: Xt, ja: Zt };
|
|
62
|
+
})(Ce, 122253);
|
|
81
63
|
function Ce() {
|
|
82
|
-
|
|
64
|
+
var x = ["前の動画", "ウィンドウ不透明度", "この映像は全年齢対象です。", "エンディング自動スキップ", "この映像は12歳未満の視聴には不適切な内容を含むため、保護者の指導が必要です。", "ミュート状態です。", "1335762lLgpVB", "162870cEPOsq", "使用しない", "{timeTxt}後に動画が始まります。", "ライセンスが無効です。", "ドロップシャドウ", "動画を再生できません", "マゼンタ", "字幕は利用できません", "ミュート", "浮き出し", "フォント色", "この映像は未成年者の視聴には不適切な内容を含みます。", "刺激的な場面", "9gCmlbh", "{timeTxt}秒後に次の動画が再生されます。", "字幕をオンにする", "しばらくして", "模倣危険", "ネットワーク接続が不安定です。", "時間後", "この映像は15歳未満の視聴には不適切な内容を含むため、保護者の指導が必要です。", "デフォルト", "958372SaAsAs", "iOSではDASHビデオを再生できません。", "FairPlay証明書の検証に失敗しました。", "必須モジュールが読み込まれていません。(hls.js)", "188872zgvEQK", "リプレイ", "一時停止", "この動画を再生する権限がありません。", "やや太い", "デフォルトスタイルを適用", "811904bKDKwa", "秒後に自動再生", "429560iUyLfj", "全画面表示", "字幕スタイル", "DRMライセンスサーバーとの通信に失敗しました。", "次の動画", "イントロ自動スキップ", "キャンセル", "全画面表示を終了", "プレーヤーの起動に失敗しました", "テキスト、色、背景スタイルを変更", "エンディングをスキップ", "URLの形式が正しくありません。", "字幕をオフにする", "イントロをスキップ", "動画を再生できませんでした。", "背景不透明度", "再生速度", "サポートされていない形式です。", "認証に失敗しました", "画面キャプチャ/画面録画が検出されました。", "テキスト不透明度", "ミニプレーヤー", "4621176IreUir", "背景色", "7PeIBdJ", "シアン", "自動再生", "ウィンドウ色"];
|
|
83
65
|
return Ce = function() {
|
|
84
66
|
return x;
|
|
85
67
|
}, Ce();
|
|
86
68
|
}
|
|
87
|
-
const
|
|
69
|
+
const Xt = { common: { cancel: g(214), auto: "自動", normal: "標準", notUse: g(244), prev: g(236), next: g(212), delayText: g(207), license: "ライセンス", play: "再生", pause: g(202), replay: g(201), fullOn: g(209), fullOff: g(215), muteOn: g(251), muteOff: "ミュート解除", captionOff: g(220), captionOn: g(189), setting: "設定", live: "ライブ", miniPlayer: g(229), isMute: g(241), subtitle: "字幕", subtitleNot: g(250) }, settings: { autoplay: g(234), playbackRate: g(224), captions: "字幕", quality: "画質" }, skip: { introSkip: g(221), openingSkip: "オープニングをスキップ", endingSkip: g(218), autoSkipIntro: g(213), autoSkipOpening: "オープニング自動スキップ", autoSkipEnding: g(239), autoSkipOpeningEnding: "OP/ED自動スキップ" }, ageRating: { noticeAll: g(238), notice12: g(240), notice15: g(194), notice19: g(185) }, contentWarning: { sexuality: "性的表現", violence: "暴力", language: "暴言", drugs: "薬物", horror: "恐怖", imitation: g(191), provocative: g(186) }, error: { "01": { title: g(248), desc: "不正なアクセスです。access_keyを確認してください。" }, "02": { title: g(248), desc: g(203) }, "03": { title: g(226), desc: g(192) }, "04": { title: "動画を再生できません", desc: g(222) }, "05": { title: g(248), desc: g(246) }, "06": { title: g(248), desc: "月間の基本提供呼び出し回数を超過しました。有料版に切り替えてご利用ください。" }, "07": { title: "動画を再生できません", desc: g(225) }, "08": { title: "動画を再生できません", desc: g(219) }, "09": { title: g(248), desc: "ライブストリームはオフラインです。" }, 10: { title: g(248), desc: g(197) }, 11: { title: g(248), desc: "DRMトークンが無効です。" }, 12: { title: "動画を再生できません", desc: g(211) }, 13: { title: g(248), desc: g(198) }, 14: { title: g(248), desc: g(227) }, 15: { title: g(216), desc: g(199) }, 16: { title: g(216), desc: "必須モジュールが読み込まれていません。(dash.js)" }, 17: { title: g(216), desc: "この機能にはStandardプランが必要です。" } }, tv: { default: g(195), quality: "画質", subtitleStyle: g(210), subtitleStyleDesc: g(217), applyDefaultStyle: g(205), fontColor: g(253), fontSize: "フォントサイズ", textOpacity: g(228), edgeStyle: "文字エッジスタイル", bgColor: g(231), bgOpacity: g(223), windowColor: g(235), windowOpacity: g(237), fontWeight: "文字の太さ", weight: { thin: "細い", normal: "標準", semiBold: g(204), bold: "太い", extraBold: "極太" }, color: { white: "白", black: "黒", red: "赤", green: "緑", blue: "青", yellow: "黄", magenta: g(249), cyan: g(233) }, edge: { none: "なし", dropShadow: g(247), raised: g(252), depressed: "沈み込み", uniform: "均一" } }, alternative: { hour: "時間", minute: "分", second: "秒", after: g(190), afterMin: "分後", afterHour: g(193), afterDay: "日後", startPlay: g(245), nextPlay: g(188), afterPlay: "予定" } };
|
|
70
|
+
function Ae() {
|
|
71
|
+
const x = ["1719133oZoWRu", "language", "undefined", "2aDnKWF", "6112410NOSIZX", "2024wXpITf", "766518JySeDl", "10NGPqhX", "1160092PjTBwg", "61442920NKaXjA", "4906773pVGSiN", "7WtkftE", "43713xjtOMP"];
|
|
72
|
+
return Ae = function() {
|
|
73
|
+
return x;
|
|
74
|
+
}, Ae();
|
|
75
|
+
}
|
|
76
|
+
const Ie = Pt;
|
|
77
|
+
(function(x, t) {
|
|
78
|
+
const e = Pt, i = x();
|
|
79
|
+
for (; ; )
|
|
80
|
+
try {
|
|
81
|
+
if (-parseInt(e(134)) / 1 * (parseInt(e(137)) / 2) + -parseInt(e(131)) / 3 + -parseInt(e(142)) / 4 * (parseInt(e(141)) / 5) + -parseInt(e(140)) / 6 * (parseInt(e(132)) / 7) + parseInt(e(139)) / 8 * (-parseInt(e(133)) / 9) + parseInt(e(138)) / 10 + parseInt(e(130)) / 11 === t) break;
|
|
82
|
+
i.push(i.shift());
|
|
83
|
+
} catch {
|
|
84
|
+
i.push(i.shift());
|
|
85
|
+
}
|
|
86
|
+
})(Ae, 905617);
|
|
87
|
+
function Pt(x, t) {
|
|
88
|
+
return x = x - 130, Ae()[x];
|
|
89
|
+
}
|
|
90
|
+
const Ot = { en: Jt, ko: Zt, ja: Xt }, Qt = () => typeof navigator !== Ie(136) && typeof navigator[Ie(135)] !== Ie(136);
|
|
88
91
|
function $t(x) {
|
|
89
92
|
const t = x.split("-")[0];
|
|
90
|
-
return t in
|
|
93
|
+
return t in Ot ? t : "en";
|
|
91
94
|
}
|
|
92
|
-
function
|
|
93
|
-
const t =
|
|
95
|
+
function Xe(x) {
|
|
96
|
+
const t = Ie;
|
|
94
97
|
let e = "en";
|
|
95
|
-
x ? e = x : Qt() && (e = navigator[t(
|
|
98
|
+
x ? e = x : Qt() && (e = navigator[t(135)]);
|
|
96
99
|
const i = $t(e);
|
|
97
|
-
return
|
|
98
|
-
}
|
|
99
|
-
function Nt(x, t) {
|
|
100
|
-
return x = x - 495, Ce()[x];
|
|
100
|
+
return Ot[i];
|
|
101
101
|
}
|
|
102
|
-
|
|
103
|
-
var e0 = "2.0.9", t0 = 500,
|
|
102
|
+
Xe();
|
|
103
|
+
var e0 = "2.0.9", t0 = 500, ct = "user-agent", re = "", dt = "?", T = {
|
|
104
104
|
FUNCTION: "function",
|
|
105
105
|
OBJECT: "object",
|
|
106
106
|
STRING: "string",
|
|
107
107
|
UNDEFINED: "undefined"
|
|
108
|
-
},
|
|
108
|
+
}, O = "browser", K = "cpu", V = "device", F = "engine", N = "os", oe = "result", d = "name", s = "type", u = "vendor", l = "version", R = "architecture", fe = "major", c = "model", ke = "console", I = "mobile", k = "tablet", C = "smarttv", H = "wearable", ge = "xr", he = "embedded", i0 = "fetcher", te = "inapp", it = "brands", Q = "formFactors", xt = "fullVersionList", se = "platform", at = "platformVersion", Le = "bitness", Z = "sec-ch-ua", x0 = Z + "-full-version-list", a0 = Z + "-arch", n0 = Z + "-" + Le, r0 = Z + "-form-factors", o0 = Z + "-" + I, s0 = Z + "-" + c, Nt = Z + "-" + se, c0 = Nt + "-version", Ut = [it, xt, I, c, se, at, R, Q, Le], me = "Amazon", ie = "Apple", lt = "ASUS", ut = "BlackBerry", X = "Google", pt = "Huawei", Ve = "Lenovo", ht = "Honor", ye = "LG", Ye = "Microsoft", ze = "Motorola", ft = "Nvidia", bt = "OnePlus", Ke = "OPPO", de = "Samsung", wt = "Sharp", le = "Sony", We = "Xiaomi", qe = "Zebra", gt = "Chrome", mt = "Chromium", q = "Chromecast", _e = "Edge", ue = "Firefox", xe = "Opera", je = "Facebook", yt = "Sogou", ae = "Mobile ", ne = " Browser", Qe = "Windows", d0 = typeof window !== T.UNDEFINED, P = d0 && window.navigator ? window.navigator : void 0, $ = P && P.userAgentData ? P.userAgentData : void 0, l0 = function(x, t) {
|
|
109
109
|
var e = {}, i = t;
|
|
110
|
-
if (!
|
|
110
|
+
if (!De(t)) {
|
|
111
111
|
i = {};
|
|
112
|
-
for (var
|
|
113
|
-
for (var r in t[
|
|
114
|
-
i[r] = t[
|
|
112
|
+
for (var a in t)
|
|
113
|
+
for (var r in t[a])
|
|
114
|
+
i[r] = t[a][r].concat(i[r] ? i[r] : []);
|
|
115
115
|
}
|
|
116
116
|
for (var o in x)
|
|
117
117
|
e[o] = i[o] && i[o].length % 2 === 0 ? i[o].concat(x[o]) : x[o];
|
|
118
118
|
return e;
|
|
119
|
-
},
|
|
119
|
+
}, Fe = function(x) {
|
|
120
120
|
for (var t = {}, e = 0; e < x.length; e++)
|
|
121
121
|
t[x[e].toUpperCase()] = x[e];
|
|
122
122
|
return t;
|
|
123
123
|
}, $e = function(x, t) {
|
|
124
|
-
if (typeof x ===
|
|
124
|
+
if (typeof x === T.OBJECT && x.length > 0) {
|
|
125
125
|
for (var e in x)
|
|
126
|
-
if (
|
|
126
|
+
if (j(t) == j(x[e])) return !0;
|
|
127
127
|
return !1;
|
|
128
128
|
}
|
|
129
|
-
return be(x) ?
|
|
130
|
-
},
|
|
129
|
+
return be(x) ? j(t) == j(x) : !1;
|
|
130
|
+
}, De = function(x, t) {
|
|
131
131
|
for (var e in x)
|
|
132
|
-
return /^(browser|cpu|device|engine|os)$/.test(e) || (t ?
|
|
132
|
+
return /^(browser|cpu|device|engine|os)$/.test(e) || (t ? De(x[e]) : !1);
|
|
133
133
|
}, be = function(x) {
|
|
134
|
-
return typeof x ===
|
|
135
|
-
},
|
|
134
|
+
return typeof x === T.STRING;
|
|
135
|
+
}, Je = function(x) {
|
|
136
136
|
if (x) {
|
|
137
137
|
for (var t = [], e = ce(/\\?\"/g, x).split(","), i = 0; i < e.length; i++)
|
|
138
138
|
if (e[i].indexOf(";") > -1) {
|
|
139
|
-
var
|
|
140
|
-
t[i] = { brand:
|
|
139
|
+
var a = Me(e[i]).split(";v=");
|
|
140
|
+
t[i] = { brand: a[0], version: a[1] };
|
|
141
141
|
} else
|
|
142
|
-
t[i] =
|
|
142
|
+
t[i] = Me(e[i]);
|
|
143
143
|
return t;
|
|
144
144
|
}
|
|
145
|
-
},
|
|
145
|
+
}, j = function(x) {
|
|
146
146
|
return be(x) ? x.toLowerCase() : x;
|
|
147
147
|
}, et = function(x) {
|
|
148
148
|
return be(x) ? ce(/[^\d\.]/g, x).split(".")[0] : void 0;
|
|
@@ -150,35 +150,35 @@ var e0 = "2.0.9", t0 = 500, dt = "user-agent", re = "", lt = "?", E = {
|
|
|
150
150
|
for (var t in x)
|
|
151
151
|
if (x.hasOwnProperty(t)) {
|
|
152
152
|
var e = x[t];
|
|
153
|
-
typeof e ==
|
|
153
|
+
typeof e == T.OBJECT && e.length == 2 ? this[e[0]] = e[1] : this[e] = void 0;
|
|
154
154
|
}
|
|
155
155
|
return this;
|
|
156
156
|
}, ce = function(x, t) {
|
|
157
157
|
return be(t) ? t.replace(x, re) : t;
|
|
158
|
-
},
|
|
158
|
+
}, pe = function(x) {
|
|
159
159
|
return ce(/\\?\"/g, x);
|
|
160
|
-
},
|
|
161
|
-
return x = ce(/^\s\s*/, String(x)), typeof t ===
|
|
160
|
+
}, Me = function(x, t) {
|
|
161
|
+
return x = ce(/^\s\s*/, String(x)), typeof t === T.UNDEFINED ? x : x.substring(0, t);
|
|
162
162
|
}, tt = function(x, t) {
|
|
163
163
|
if (!(!x || !t))
|
|
164
|
-
for (var e = 0, i,
|
|
165
|
-
var
|
|
166
|
-
for (i =
|
|
167
|
-
if (
|
|
168
|
-
for (r = 0; r <
|
|
169
|
-
|
|
164
|
+
for (var e = 0, i, a, r, o, h, p; e < t.length && !h; ) {
|
|
165
|
+
var y = t[e], v = t[e + 1];
|
|
166
|
+
for (i = a = 0; i < y.length && !h && y[i]; )
|
|
167
|
+
if (h = y[i++].exec(x), h)
|
|
168
|
+
for (r = 0; r < v.length; r++)
|
|
169
|
+
p = h[++a], o = v[r], typeof o === T.OBJECT && o.length > 0 ? o.length === 2 ? typeof o[1] == T.FUNCTION ? this[o[0]] = o[1].call(this, p) : this[o[0]] = o[1] : o.length >= 3 && (typeof o[1] === T.FUNCTION && !(o[1].exec && o[1].test) ? o.length > 3 ? this[o[0]] = p ? o[1].apply(this, o.slice(2)) : void 0 : this[o[0]] = p ? o[1].call(this, p, o[2]) : void 0 : o.length == 3 ? this[o[0]] = p ? p.replace(o[1], o[2]) : void 0 : o.length == 4 ? this[o[0]] = p ? o[3].call(this, p.replace(o[1], o[2])) : void 0 : o.length > 4 && (this[o[0]] = p ? o[3].apply(this, [p.replace(o[1], o[2])].concat(o.slice(4))) : void 0)) : this[o] = p || void 0;
|
|
170
170
|
e += 2;
|
|
171
171
|
}
|
|
172
|
-
},
|
|
172
|
+
}, L = function(x, t) {
|
|
173
173
|
for (var e in t)
|
|
174
|
-
if (typeof t[e] ===
|
|
174
|
+
if (typeof t[e] === T.OBJECT && t[e].length > 0) {
|
|
175
175
|
for (var i = 0; i < t[e].length; i++)
|
|
176
176
|
if ($e(t[e][i], x))
|
|
177
|
-
return e ===
|
|
177
|
+
return e === dt ? void 0 : e;
|
|
178
178
|
} else if ($e(t[e], x))
|
|
179
|
-
return e ===
|
|
179
|
+
return e === dt ? void 0 : e;
|
|
180
180
|
return t.hasOwnProperty("*") ? t["*"] : x;
|
|
181
|
-
},
|
|
181
|
+
}, vt = {
|
|
182
182
|
ME: "4.90",
|
|
183
183
|
"NT 3.51": "3.51",
|
|
184
184
|
"NT 4.0": "4.0",
|
|
@@ -190,7 +190,7 @@ var e0 = "2.0.9", t0 = 500, dt = "user-agent", re = "", lt = "?", E = {
|
|
|
190
190
|
"8.1": "6.3",
|
|
191
191
|
10: ["6.4", "10.0"],
|
|
192
192
|
NT: ""
|
|
193
|
-
},
|
|
193
|
+
}, St = {
|
|
194
194
|
embedded: "Automotive",
|
|
195
195
|
mobile: "Mobile",
|
|
196
196
|
tablet: ["Tablet", "EInk"],
|
|
@@ -209,7 +209,7 @@ var e0 = "2.0.9", t0 = 500, dt = "user-agent", re = "", lt = "?", E = {
|
|
|
209
209
|
"MIUI Browser": "Miui Browser",
|
|
210
210
|
"Opera Mobi": "OperaMobile",
|
|
211
211
|
Yandex: "YaBrowser"
|
|
212
|
-
},
|
|
212
|
+
}, It = {
|
|
213
213
|
browser: [
|
|
214
214
|
[
|
|
215
215
|
// Most common regardless engine
|
|
@@ -221,7 +221,7 @@ var e0 = "2.0.9", t0 = 500, dt = "user-agent", re = "", lt = "?", E = {
|
|
|
221
221
|
/webview.+edge\/([\w\.]+)/i
|
|
222
222
|
// Microsoft Edge
|
|
223
223
|
],
|
|
224
|
-
[l, [d,
|
|
224
|
+
[l, [d, _e + " WebView"]],
|
|
225
225
|
[
|
|
226
226
|
/edg(?:e|ios|a)?\/([\w\.]+)/i
|
|
227
227
|
],
|
|
@@ -327,7 +327,7 @@ var e0 = "2.0.9", t0 = 500, dt = "user-agent", re = "", lt = "?", E = {
|
|
|
327
327
|
/slbrowser\/([\w\.]+)/i
|
|
328
328
|
// Smart Lenovo Browser
|
|
329
329
|
],
|
|
330
|
-
[l, [d, "Smart " +
|
|
330
|
+
[l, [d, "Smart " + Ve + ne]],
|
|
331
331
|
[
|
|
332
332
|
/(av(?:ast|g|ira))\/([\w\.]+)/i
|
|
333
333
|
// Avast/AVG/Avira Secure Browser
|
|
@@ -402,12 +402,12 @@ var e0 = "2.0.9", t0 = 500, dt = "user-agent", re = "", lt = "?", E = {
|
|
|
402
402
|
/metasr[\/ ]?([\d\.]+)/i
|
|
403
403
|
// Sogou Explorer
|
|
404
404
|
],
|
|
405
|
-
[l, [d,
|
|
405
|
+
[l, [d, yt + " Explorer"]],
|
|
406
406
|
[
|
|
407
407
|
/(sogou)mo\w+\/([\d\.]+)/i
|
|
408
408
|
// Sogou Mobile
|
|
409
409
|
],
|
|
410
|
-
[[d,
|
|
410
|
+
[[d, yt + " Mobile"], l],
|
|
411
411
|
[
|
|
412
412
|
/(electron)\/([\w\.]+) safari/i,
|
|
413
413
|
// Electron-based App
|
|
@@ -432,7 +432,7 @@ var e0 = "2.0.9", t0 = 500, dt = "user-agent", re = "", lt = "?", E = {
|
|
|
432
432
|
/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i
|
|
433
433
|
// Facebook App for iOS & Android
|
|
434
434
|
],
|
|
435
|
-
[[d,
|
|
435
|
+
[[d, je], l, [s, te]],
|
|
436
436
|
[
|
|
437
437
|
/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,
|
|
438
438
|
// Kakao App
|
|
@@ -488,17 +488,17 @@ var e0 = "2.0.9", t0 = 500, dt = "user-agent", re = "", lt = "?", E = {
|
|
|
488
488
|
/headlesschrome(?:\/([\w\.]+)| )/i
|
|
489
489
|
// Chrome Headless
|
|
490
490
|
],
|
|
491
|
-
[l, [d,
|
|
491
|
+
[l, [d, gt + " Headless"]],
|
|
492
492
|
[
|
|
493
493
|
/wv\).+chrome\/([\w\.]+).+edgw\//i
|
|
494
494
|
// Edge WebView2
|
|
495
495
|
],
|
|
496
|
-
[l, [d,
|
|
496
|
+
[l, [d, _e + " WebView2"]],
|
|
497
497
|
[
|
|
498
498
|
/ wv\).+(chrome)\/([\w\.]+)/i
|
|
499
499
|
// Chrome WebView
|
|
500
500
|
],
|
|
501
|
-
[[d,
|
|
501
|
+
[[d, gt + " WebView"], l],
|
|
502
502
|
[
|
|
503
503
|
/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i
|
|
504
504
|
// Android Browser
|
|
@@ -589,34 +589,34 @@ var e0 = "2.0.9", t0 = 500, dt = "user-agent", re = "", lt = "?", E = {
|
|
|
589
589
|
/\b((amd|x|x86[-_]?|wow|win)64)\b/i
|
|
590
590
|
// AMD64 (x64)
|
|
591
591
|
],
|
|
592
|
-
[[
|
|
592
|
+
[[R, "amd64"]],
|
|
593
593
|
[
|
|
594
594
|
/(ia32(?=;))/i,
|
|
595
595
|
// IA32 (quicktime)
|
|
596
596
|
/\b((i[346]|x)86)(pc)?\b/i
|
|
597
597
|
// IA32 (x86)
|
|
598
598
|
],
|
|
599
|
-
[[
|
|
599
|
+
[[R, "ia32"]],
|
|
600
600
|
[
|
|
601
601
|
/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i
|
|
602
602
|
// ARM64
|
|
603
603
|
],
|
|
604
|
-
[[
|
|
604
|
+
[[R, "arm64"]],
|
|
605
605
|
[
|
|
606
606
|
/\b(arm(v[67])?ht?n?[fl]p?)\b/i
|
|
607
607
|
// ARMHF
|
|
608
608
|
],
|
|
609
|
-
[[
|
|
609
|
+
[[R, "armhf"]],
|
|
610
610
|
[
|
|
611
611
|
// PocketPC mistakenly identified as PowerPC
|
|
612
612
|
/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i
|
|
613
613
|
],
|
|
614
|
-
[[
|
|
614
|
+
[[R, "arm"]],
|
|
615
615
|
[
|
|
616
616
|
/ sun4\w[;\)]/i
|
|
617
617
|
// SPARC
|
|
618
618
|
],
|
|
619
|
-
[[
|
|
619
|
+
[[R, "sparc"]],
|
|
620
620
|
[
|
|
621
621
|
// IA64, 68K, ARM/64, AVR/32, IRIX/64, MIPS/64, SPARC/64, PA-RISC
|
|
622
622
|
/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i,
|
|
@@ -625,15 +625,15 @@ var e0 = "2.0.9", t0 = 500, dt = "user-agent", re = "", lt = "?", E = {
|
|
|
625
625
|
/(?:osf1|[freopnt]{3,4}bsd) (alpha)/i
|
|
626
626
|
// Alpha
|
|
627
627
|
],
|
|
628
|
-
[[
|
|
628
|
+
[[R, /ower/, re, j]],
|
|
629
629
|
[
|
|
630
630
|
/mc680.0/i
|
|
631
631
|
],
|
|
632
|
-
[[
|
|
632
|
+
[[R, "68k"]],
|
|
633
633
|
[
|
|
634
634
|
/winnt.+\[axp/i
|
|
635
635
|
],
|
|
636
|
-
[[
|
|
636
|
+
[[R, "alpha"]]
|
|
637
637
|
],
|
|
638
638
|
device: [
|
|
639
639
|
[
|
|
@@ -649,13 +649,13 @@ var e0 = "2.0.9", t0 = 500, dt = "user-agent", re = "", lt = "?", E = {
|
|
|
649
649
|
/samsung[- ]((?!sm-[lr]|browser)[-\w]+)/i,
|
|
650
650
|
/sec-(sgh\w+)/i
|
|
651
651
|
],
|
|
652
|
-
[c, [u, de], [s,
|
|
652
|
+
[c, [u, de], [s, I]],
|
|
653
653
|
[
|
|
654
654
|
// Apple
|
|
655
655
|
/(?:\/|\()(ip(?:hone|od)[\w, ]*)[\/\);]/i
|
|
656
656
|
// iPod/iPhone
|
|
657
657
|
],
|
|
658
|
-
[c, [u, ie], [s,
|
|
658
|
+
[c, [u, ie], [s, I]],
|
|
659
659
|
[
|
|
660
660
|
/\b(?:ios|apple\w+)\/.+[\(\/](ipad)/i,
|
|
661
661
|
// iPad
|
|
@@ -670,7 +670,7 @@ var e0 = "2.0.9", t0 = 500, dt = "user-agent", re = "", lt = "?", E = {
|
|
|
670
670
|
// Sharp
|
|
671
671
|
/\b(sh-?[altvz]?\d\d[a-ekm]?)/i
|
|
672
672
|
],
|
|
673
|
-
[c, [u,
|
|
673
|
+
[c, [u, wt], [s, I]],
|
|
674
674
|
[
|
|
675
675
|
// Honor
|
|
676
676
|
/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i
|
|
@@ -679,7 +679,7 @@ var e0 = "2.0.9", t0 = 500, dt = "user-agent", re = "", lt = "?", E = {
|
|
|
679
679
|
[
|
|
680
680
|
/honor([-\w ]+)[;\)]/i
|
|
681
681
|
],
|
|
682
|
-
[c, [u, ht], [s,
|
|
682
|
+
[c, [u, ht], [s, I]],
|
|
683
683
|
[
|
|
684
684
|
// Huawei
|
|
685
685
|
/\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
|
|
@@ -689,14 +689,14 @@ var e0 = "2.0.9", t0 = 500, dt = "user-agent", re = "", lt = "?", E = {
|
|
|
689
689
|
/(?:huawei) ?([-\w ]+)[;\)]/i,
|
|
690
690
|
/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][\dc][adnt]?)\b(?!.+d\/s)/i
|
|
691
691
|
],
|
|
692
|
-
[c, [u, pt], [s,
|
|
692
|
+
[c, [u, pt], [s, I]],
|
|
693
693
|
[
|
|
694
694
|
// Xiaomi
|
|
695
695
|
/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,
|
|
696
696
|
/\b(?:xiao)?((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i
|
|
697
697
|
// Mi Pad tablets
|
|
698
698
|
],
|
|
699
|
-
[[c, /_/g, " "], [u,
|
|
699
|
+
[[c, /_/g, " "], [u, We], [s, k]],
|
|
700
700
|
[
|
|
701
701
|
/\b; (\w+) build\/hm\1/i,
|
|
702
702
|
// Xiaomi Hongmi 'numeric' models
|
|
@@ -708,57 +708,57 @@ var e0 = "2.0.9", t0 = 500, dt = "user-agent", re = "", lt = "?", E = {
|
|
|
708
708
|
/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note|max|cc)?[_ ]?(?:\d{0,2}\w?)[_ ]?(?:plus|se|lite|pro)?( 5g|lte)?)(?: bui|\))/i,
|
|
709
709
|
/ ([\w ]+) miui\/v?\d/i
|
|
710
710
|
],
|
|
711
|
-
[[c, /_/g, " "], [u,
|
|
711
|
+
[[c, /_/g, " "], [u, We], [s, I]],
|
|
712
712
|
[
|
|
713
713
|
// OnePlus
|
|
714
714
|
/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,
|
|
715
715
|
/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i
|
|
716
716
|
],
|
|
717
|
-
[c, [u,
|
|
717
|
+
[c, [u, bt], [s, I]],
|
|
718
718
|
[
|
|
719
719
|
// OPPO
|
|
720
720
|
/; (\w+) bui.+ oppo/i,
|
|
721
721
|
/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i
|
|
722
722
|
],
|
|
723
|
-
[c, [u,
|
|
723
|
+
[c, [u, Ke], [s, I]],
|
|
724
724
|
[
|
|
725
725
|
/\b(opd2(\d{3}a?))(?: bui|\))/i
|
|
726
726
|
],
|
|
727
|
-
[c, [u,
|
|
727
|
+
[c, [u, L, { OnePlus: ["203", "304", "403", "404", "413", "415"], "*": Ke }], [s, k]],
|
|
728
728
|
[
|
|
729
729
|
// BLU
|
|
730
730
|
/(vivo (5r?|6|8l?|go|one|s|x[il]?[2-4]?)[\w\+ ]*)(?: bui|\))/i
|
|
731
731
|
// Vivo series
|
|
732
732
|
],
|
|
733
|
-
[c, [u, "BLU"], [s,
|
|
733
|
+
[c, [u, "BLU"], [s, I]],
|
|
734
734
|
[
|
|
735
735
|
// Vivo
|
|
736
736
|
/; vivo (\w+)(?: bui|\))/i,
|
|
737
737
|
/\b(v[12]\d{3}\w?[at])(?: bui|;)/i
|
|
738
738
|
],
|
|
739
|
-
[c, [u, "Vivo"], [s,
|
|
739
|
+
[c, [u, "Vivo"], [s, I]],
|
|
740
740
|
[
|
|
741
741
|
// Realme
|
|
742
742
|
/\b(rmx[1-3]\d{3})(?: bui|;|\))/i
|
|
743
743
|
],
|
|
744
|
-
[c, [u, "Realme"], [s,
|
|
744
|
+
[c, [u, "Realme"], [s, I]],
|
|
745
745
|
[
|
|
746
746
|
// Lenovo
|
|
747
747
|
/(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,
|
|
748
748
|
/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i
|
|
749
749
|
],
|
|
750
|
-
[c, [u,
|
|
750
|
+
[c, [u, Ve], [s, k]],
|
|
751
751
|
[
|
|
752
752
|
/lenovo[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i
|
|
753
753
|
],
|
|
754
|
-
[c, [u,
|
|
754
|
+
[c, [u, Ve], [s, I]],
|
|
755
755
|
[
|
|
756
756
|
// Motorola
|
|
757
757
|
/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,
|
|
758
758
|
/\bmot(?:orola)?[- ]([\w\s]+)(\)| bui)/i,
|
|
759
759
|
/((?:moto(?! 360)[-\w\(\) ]+|xt\d{3,4}[cgkosw\+]?[-\d]*|nexus 6)(?= bui|\)))/i
|
|
760
760
|
],
|
|
761
|
-
[c, [u, ze], [s,
|
|
761
|
+
[c, [u, ze], [s, I]],
|
|
762
762
|
[
|
|
763
763
|
/\b(mz60\d|xoom[2 ]{0,2}) build\//i
|
|
764
764
|
],
|
|
@@ -773,7 +773,7 @@ var e0 = "2.0.9", t0 = 500, dt = "user-agent", re = "", lt = "?", E = {
|
|
|
773
773
|
/\blg[-e;\/ ]+(?!.*(?:browser|netcast|android tv|watch|webos))(\w+)/i,
|
|
774
774
|
/\blg-?([\d\w]+) bui/i
|
|
775
775
|
],
|
|
776
|
-
[c, [u, ye], [s,
|
|
776
|
+
[c, [u, ye], [s, I]],
|
|
777
777
|
[
|
|
778
778
|
// Nokia
|
|
779
779
|
/(nokia) (t[12][01])/i
|
|
@@ -783,18 +783,18 @@ var e0 = "2.0.9", t0 = 500, dt = "user-agent", re = "", lt = "?", E = {
|
|
|
783
783
|
/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,
|
|
784
784
|
/nokia[-_ ]?(([-\w\. ]*?))( bui|\)|;|\/)/i
|
|
785
785
|
],
|
|
786
|
-
[[c, /_/g, " "], [s,
|
|
786
|
+
[[c, /_/g, " "], [s, I], [u, "Nokia"]],
|
|
787
787
|
[
|
|
788
788
|
// Google
|
|
789
789
|
/(pixel (c|tablet))\b/i
|
|
790
790
|
// Google Pixel C/Tablet
|
|
791
791
|
],
|
|
792
|
-
[c, [u,
|
|
792
|
+
[c, [u, X], [s, k]],
|
|
793
793
|
[
|
|
794
794
|
// Google Pixel
|
|
795
795
|
/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
|
|
796
796
|
],
|
|
797
|
-
[c, [u,
|
|
797
|
+
[c, [u, X], [s, I]],
|
|
798
798
|
[
|
|
799
799
|
/(google) (pixelbook( go)?)/i
|
|
800
800
|
],
|
|
@@ -803,7 +803,7 @@ var e0 = "2.0.9", t0 = 500, dt = "user-agent", re = "", lt = "?", E = {
|
|
|
803
803
|
// Sony
|
|
804
804
|
/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
|
|
805
805
|
],
|
|
806
|
-
[c, [u, le], [s,
|
|
806
|
+
[c, [u, le], [s, I]],
|
|
807
807
|
[
|
|
808
808
|
/sony tablet [ps]/i,
|
|
809
809
|
/\b(?:sony)?sgp\w+(?: bui|\))/i
|
|
@@ -822,7 +822,7 @@ var e0 = "2.0.9", t0 = 500, dt = "user-agent", re = "", lt = "?", E = {
|
|
|
822
822
|
/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i
|
|
823
823
|
// Fire Phone
|
|
824
824
|
],
|
|
825
|
-
[[c, /(.+)/g, "Fire Phone $1"], [u, me], [s,
|
|
825
|
+
[[c, /(.+)/g, "Fire Phone $1"], [u, me], [s, I]],
|
|
826
826
|
[
|
|
827
827
|
// BlackBerry
|
|
828
828
|
/(playbook);[-\w\),; ]+(rim)/i
|
|
@@ -833,16 +833,16 @@ var e0 = "2.0.9", t0 = 500, dt = "user-agent", re = "", lt = "?", E = {
|
|
|
833
833
|
/\b((?:bb[a-f]|st[hv])100-\d)/i,
|
|
834
834
|
/(?:blackberry|\(bb10;) (\w+)/i
|
|
835
835
|
],
|
|
836
|
-
[c, [u,
|
|
836
|
+
[c, [u, ut], [s, I]],
|
|
837
837
|
[
|
|
838
838
|
// Asus
|
|
839
839
|
/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i
|
|
840
840
|
],
|
|
841
|
-
[c, [u,
|
|
841
|
+
[c, [u, lt], [s, k]],
|
|
842
842
|
[
|
|
843
843
|
/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i
|
|
844
844
|
],
|
|
845
|
-
[c, [u,
|
|
845
|
+
[c, [u, lt], [s, I]],
|
|
846
846
|
[
|
|
847
847
|
// HTC
|
|
848
848
|
/(nexus 9)/i
|
|
@@ -857,7 +857,7 @@ var e0 = "2.0.9", t0 = 500, dt = "user-agent", re = "", lt = "?", E = {
|
|
|
857
857
|
/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i
|
|
858
858
|
// Alcatel/GeeksPhone/Nexian/Panasonic/Sony
|
|
859
859
|
],
|
|
860
|
-
[u, [c, /_/g, " "], [s,
|
|
860
|
+
[u, [c, /_/g, " "], [s, I]],
|
|
861
861
|
[
|
|
862
862
|
// TCL
|
|
863
863
|
/tcl (xess p17aa)/i,
|
|
@@ -867,12 +867,12 @@ var e0 = "2.0.9", t0 = 500, dt = "user-agent", re = "", lt = "?", E = {
|
|
|
867
867
|
[
|
|
868
868
|
/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
|
|
869
869
|
],
|
|
870
|
-
[c, [u, "TCL"], [s,
|
|
870
|
+
[c, [u, "TCL"], [s, I]],
|
|
871
871
|
[
|
|
872
872
|
// itel
|
|
873
873
|
/(itel) ((\w+))/i
|
|
874
874
|
],
|
|
875
|
-
[[u,
|
|
875
|
+
[[u, j], c, [s, L, { tablet: ["p10001l", "w7001"], "*": "mobile" }]],
|
|
876
876
|
[
|
|
877
877
|
// Acer
|
|
878
878
|
/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i
|
|
@@ -883,34 +883,34 @@ var e0 = "2.0.9", t0 = 500, dt = "user-agent", re = "", lt = "?", E = {
|
|
|
883
883
|
/droid.+; (m[1-5] note) bui/i,
|
|
884
884
|
/\bmz-([-\w]{2,})/i
|
|
885
885
|
],
|
|
886
|
-
[c, [u, "Meizu"], [s,
|
|
886
|
+
[c, [u, "Meizu"], [s, I]],
|
|
887
887
|
[
|
|
888
888
|
// Ulefone
|
|
889
889
|
/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i
|
|
890
890
|
],
|
|
891
|
-
[c, [u, "Ulefone"], [s,
|
|
891
|
+
[c, [u, "Ulefone"], [s, I]],
|
|
892
892
|
[
|
|
893
893
|
// Energizer
|
|
894
894
|
/; (energy ?\w+)(?: bui|\))/i,
|
|
895
895
|
/; energizer ([\w ]+)(?: bui|\))/i
|
|
896
896
|
],
|
|
897
|
-
[c, [u, "Energizer"], [s,
|
|
897
|
+
[c, [u, "Energizer"], [s, I]],
|
|
898
898
|
[
|
|
899
899
|
// Cat
|
|
900
900
|
/; cat (b35);/i,
|
|
901
901
|
/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i
|
|
902
902
|
],
|
|
903
|
-
[c, [u, "Cat"], [s,
|
|
903
|
+
[c, [u, "Cat"], [s, I]],
|
|
904
904
|
[
|
|
905
905
|
// Smartfren
|
|
906
906
|
/((?:new )?andromax[\w- ]+)(?: bui|\))/i
|
|
907
907
|
],
|
|
908
|
-
[c, [u, "Smartfren"], [s,
|
|
908
|
+
[c, [u, "Smartfren"], [s, I]],
|
|
909
909
|
[
|
|
910
910
|
// Nothing
|
|
911
911
|
/droid.+; (a(in)?(0(15|59|6[35])|142)p?)/i
|
|
912
912
|
],
|
|
913
|
-
[c, [u, "Nothing"], [s,
|
|
913
|
+
[c, [u, "Nothing"], [s, I]],
|
|
914
914
|
[
|
|
915
915
|
// Archos
|
|
916
916
|
/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,
|
|
@@ -921,12 +921,12 @@ var e0 = "2.0.9", t0 = 500, dt = "user-agent", re = "", lt = "?", E = {
|
|
|
921
921
|
/archos ([\w ]+)( b|\))/i,
|
|
922
922
|
/; (ac[3-6]\d\w{2,8})( b|\))/i
|
|
923
923
|
],
|
|
924
|
-
[c, [u, "Archos"], [s,
|
|
924
|
+
[c, [u, "Archos"], [s, I]],
|
|
925
925
|
[
|
|
926
926
|
// HMD
|
|
927
927
|
/; (n159v)/i
|
|
928
928
|
],
|
|
929
|
-
[c, [u, "HMD"], [s,
|
|
929
|
+
[c, [u, "HMD"], [s, I]],
|
|
930
930
|
[
|
|
931
931
|
// MIXED
|
|
932
932
|
/(imo) (tab \w+)/i,
|
|
@@ -951,7 +951,7 @@ var e0 = "2.0.9", t0 = 500, dt = "user-agent", re = "", lt = "?", E = {
|
|
|
951
951
|
/droid[^;]+; (philips)[_ ]([sv-x][\d]{3,4}[xz]?)/i
|
|
952
952
|
// Philips
|
|
953
953
|
],
|
|
954
|
-
[u, c, [s,
|
|
954
|
+
[u, c, [s, I]],
|
|
955
955
|
[
|
|
956
956
|
/(kobo)\s(ereader|touch)/i,
|
|
957
957
|
// Kobo
|
|
@@ -965,36 +965,36 @@ var e0 = "2.0.9", t0 = 500, dt = "user-agent", re = "", lt = "?", E = {
|
|
|
965
965
|
/(surface duo)/i
|
|
966
966
|
// Surface Duo
|
|
967
967
|
],
|
|
968
|
-
[c, [u,
|
|
968
|
+
[c, [u, Ye], [s, k]],
|
|
969
969
|
[
|
|
970
970
|
/droid [\d\.]+; (fp\du?)(?: b|\))/i
|
|
971
971
|
// Fairphone
|
|
972
972
|
],
|
|
973
|
-
[c, [u, "Fairphone"], [s,
|
|
973
|
+
[c, [u, "Fairphone"], [s, I]],
|
|
974
974
|
[
|
|
975
975
|
/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i
|
|
976
976
|
// Nvidia Tablets
|
|
977
977
|
],
|
|
978
|
-
[c, [u,
|
|
978
|
+
[c, [u, ft], [s, k]],
|
|
979
979
|
[
|
|
980
980
|
/(sprint) (\w+)/i
|
|
981
981
|
// Sprint Phones
|
|
982
982
|
],
|
|
983
|
-
[u, c, [s,
|
|
983
|
+
[u, c, [s, I]],
|
|
984
984
|
[
|
|
985
985
|
/(kin\.[onetw]{3})/i
|
|
986
986
|
// Microsoft Kin
|
|
987
987
|
],
|
|
988
|
-
[[c, /\./g, " "], [u,
|
|
988
|
+
[[c, /\./g, " "], [u, Ye], [s, I]],
|
|
989
989
|
[
|
|
990
990
|
/droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i
|
|
991
991
|
// Zebra
|
|
992
992
|
],
|
|
993
|
-
[c, [u,
|
|
993
|
+
[c, [u, qe], [s, k]],
|
|
994
994
|
[
|
|
995
995
|
/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i
|
|
996
996
|
],
|
|
997
|
-
[c, [u,
|
|
997
|
+
[c, [u, qe], [s, I]],
|
|
998
998
|
[
|
|
999
999
|
///////////////////
|
|
1000
1000
|
// SMARTTVS
|
|
@@ -1029,27 +1029,27 @@ var e0 = "2.0.9", t0 = 500, dt = "user-agent", re = "", lt = "?", E = {
|
|
|
1029
1029
|
/crkey.*devicetype\/chromecast/i
|
|
1030
1030
|
// Google Chromecast Third Generation
|
|
1031
1031
|
],
|
|
1032
|
-
[[c,
|
|
1032
|
+
[[c, q + " Third Generation"], [u, X], [s, C]],
|
|
1033
1033
|
[
|
|
1034
1034
|
/crkey.*devicetype\/([^/]*)/i
|
|
1035
1035
|
// Google Chromecast with specific device type
|
|
1036
1036
|
],
|
|
1037
|
-
[[c, /^/, "Chromecast "], [u,
|
|
1037
|
+
[[c, /^/, "Chromecast "], [u, X], [s, C]],
|
|
1038
1038
|
[
|
|
1039
1039
|
/fuchsia.*crkey/i
|
|
1040
1040
|
// Google Chromecast Nest Hub
|
|
1041
1041
|
],
|
|
1042
|
-
[[c,
|
|
1042
|
+
[[c, q + " Nest Hub"], [u, X], [s, C]],
|
|
1043
1043
|
[
|
|
1044
1044
|
/crkey/i
|
|
1045
1045
|
// Google Chromecast, Linux-based or unknown
|
|
1046
1046
|
],
|
|
1047
|
-
[[c,
|
|
1047
|
+
[[c, q], [u, X], [s, C]],
|
|
1048
1048
|
[
|
|
1049
1049
|
/(portaltv)/i
|
|
1050
1050
|
// Facebook Portal TV
|
|
1051
1051
|
],
|
|
1052
|
-
[c, [u,
|
|
1052
|
+
[c, [u, je], [s, C]],
|
|
1053
1053
|
[
|
|
1054
1054
|
/droid.+aft(\w+)( bui|\))/i
|
|
1055
1055
|
// Fire TV
|
|
@@ -1059,13 +1059,13 @@ var e0 = "2.0.9", t0 = 500, dt = "user-agent", re = "", lt = "?", E = {
|
|
|
1059
1059
|
/(shield \w+ tv)/i
|
|
1060
1060
|
// Nvidia Shield TV
|
|
1061
1061
|
],
|
|
1062
|
-
[c, [u,
|
|
1062
|
+
[c, [u, ft], [s, C]],
|
|
1063
1063
|
[
|
|
1064
1064
|
/\(dtv[\);].+(aquos)/i,
|
|
1065
1065
|
/(aquos-tv[\w ]+)\)/i
|
|
1066
1066
|
// Sharp
|
|
1067
1067
|
],
|
|
1068
|
-
[c, [u,
|
|
1068
|
+
[c, [u, wt], [s, C]],
|
|
1069
1069
|
[
|
|
1070
1070
|
/(bravia[\w ]+)( bui|\))/i
|
|
1071
1071
|
// Sony
|
|
@@ -1075,7 +1075,7 @@ var e0 = "2.0.9", t0 = 500, dt = "user-agent", re = "", lt = "?", E = {
|
|
|
1075
1075
|
/(mi(tv|box)-?\w+) bui/i
|
|
1076
1076
|
// Xiaomi
|
|
1077
1077
|
],
|
|
1078
|
-
[c, [u,
|
|
1078
|
+
[c, [u, We], [s, C]],
|
|
1079
1079
|
[
|
|
1080
1080
|
/Hbbtv.*(technisat) (.*);/i
|
|
1081
1081
|
// TechniSAT
|
|
@@ -1087,7 +1087,7 @@ var e0 = "2.0.9", t0 = 500, dt = "user-agent", re = "", lt = "?", E = {
|
|
|
1087
1087
|
/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i
|
|
1088
1088
|
// HbbTV devices
|
|
1089
1089
|
],
|
|
1090
|
-
[[u, /.+\/(\w+)/, "$1",
|
|
1090
|
+
[[u, /.+\/(\w+)/, "$1", L, { LG: "lge" }], [c, Me], [s, C]],
|
|
1091
1091
|
[
|
|
1092
1092
|
///////////////////
|
|
1093
1093
|
// CONSOLES
|
|
@@ -1095,12 +1095,12 @@ var e0 = "2.0.9", t0 = 500, dt = "user-agent", re = "", lt = "?", E = {
|
|
|
1095
1095
|
/(playstation \w+)/i
|
|
1096
1096
|
// Playstation
|
|
1097
1097
|
],
|
|
1098
|
-
[c, [u, le], [s,
|
|
1098
|
+
[c, [u, le], [s, ke]],
|
|
1099
1099
|
[
|
|
1100
1100
|
/\b(xbox(?: one)?(?!; xbox))[\); ]/i
|
|
1101
1101
|
// Microsoft Xbox
|
|
1102
1102
|
],
|
|
1103
|
-
[c, [u,
|
|
1103
|
+
[c, [u, Ye], [s, ke]],
|
|
1104
1104
|
[
|
|
1105
1105
|
/(ouya)/i,
|
|
1106
1106
|
// Ouya
|
|
@@ -1112,7 +1112,7 @@ var e0 = "2.0.9", t0 = 500, dt = "user-agent", re = "", lt = "?", E = {
|
|
|
1112
1112
|
/droid.+; ((shield|rgcube|gr0006))( bui|\))/i
|
|
1113
1113
|
// Nvidia Portable/Anbernic/Logitech
|
|
1114
1114
|
],
|
|
1115
|
-
[[u,
|
|
1115
|
+
[[u, L, { Nvidia: "Shield", Anbernic: "RGCUBE", Logitech: "GR0006" }], c, [s, ke]],
|
|
1116
1116
|
[
|
|
1117
1117
|
///////////////////
|
|
1118
1118
|
// WEARABLES
|
|
@@ -1120,48 +1120,48 @@ var e0 = "2.0.9", t0 = 500, dt = "user-agent", re = "", lt = "?", E = {
|
|
|
1120
1120
|
/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i
|
|
1121
1121
|
// Samsung Galaxy Watch
|
|
1122
1122
|
],
|
|
1123
|
-
[c, [u, de], [s,
|
|
1123
|
+
[c, [u, de], [s, H]],
|
|
1124
1124
|
[
|
|
1125
1125
|
/((pebble))app/i,
|
|
1126
1126
|
// Pebble
|
|
1127
1127
|
/(asus|google|lg|oppo|xiaomi) ((pixel |zen)?watch[\w ]*)( bui|\))/i
|
|
1128
1128
|
// Asus ZenWatch / LG Watch / Pixel Watch / Xiaomi Watch
|
|
1129
1129
|
],
|
|
1130
|
-
[u, c, [s,
|
|
1130
|
+
[u, c, [s, H]],
|
|
1131
1131
|
[
|
|
1132
1132
|
/(ow(?:19|20)?we?[1-3]{1,3})/i
|
|
1133
1133
|
// Oppo Watch
|
|
1134
1134
|
],
|
|
1135
|
-
[c, [u,
|
|
1135
|
+
[c, [u, Ke], [s, H]],
|
|
1136
1136
|
[
|
|
1137
1137
|
/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i
|
|
1138
1138
|
// Apple Watch
|
|
1139
1139
|
],
|
|
1140
|
-
[c, [u, ie], [s,
|
|
1140
|
+
[c, [u, ie], [s, H]],
|
|
1141
1141
|
[
|
|
1142
1142
|
/(opwwe\d{3})/i
|
|
1143
1143
|
// OnePlus Watch
|
|
1144
1144
|
],
|
|
1145
|
-
[c, [u,
|
|
1145
|
+
[c, [u, bt], [s, H]],
|
|
1146
1146
|
[
|
|
1147
1147
|
/(moto 360)/i
|
|
1148
1148
|
// Motorola 360
|
|
1149
1149
|
],
|
|
1150
|
-
[c, [u, ze], [s,
|
|
1150
|
+
[c, [u, ze], [s, H]],
|
|
1151
1151
|
[
|
|
1152
1152
|
/(smartwatch 3)/i
|
|
1153
1153
|
// Sony SmartWatch
|
|
1154
1154
|
],
|
|
1155
|
-
[c, [u, le], [s,
|
|
1155
|
+
[c, [u, le], [s, H]],
|
|
1156
1156
|
[
|
|
1157
1157
|
/(g watch r)/i
|
|
1158
1158
|
// LG G Watch R
|
|
1159
1159
|
],
|
|
1160
|
-
[c, [u, ye], [s,
|
|
1160
|
+
[c, [u, ye], [s, H]],
|
|
1161
1161
|
[
|
|
1162
1162
|
/droid.+; (wt63?0{2,3})\)/i
|
|
1163
1163
|
],
|
|
1164
|
-
[c, [u,
|
|
1164
|
+
[c, [u, qe], [s, H]],
|
|
1165
1165
|
[
|
|
1166
1166
|
///////////////////
|
|
1167
1167
|
// XR
|
|
@@ -1169,7 +1169,7 @@ var e0 = "2.0.9", t0 = 500, dt = "user-agent", re = "", lt = "?", E = {
|
|
|
1169
1169
|
/droid.+; (glass) \d/i
|
|
1170
1170
|
// Google Glass
|
|
1171
1171
|
],
|
|
1172
|
-
[c, [u,
|
|
1172
|
+
[c, [u, X], [s, ge]],
|
|
1173
1173
|
[
|
|
1174
1174
|
/(pico) ([\w ]+) os\d/i
|
|
1175
1175
|
// Pico
|
|
@@ -1179,7 +1179,7 @@ var e0 = "2.0.9", t0 = 500, dt = "user-agent", re = "", lt = "?", E = {
|
|
|
1179
1179
|
/(quest( \d| pro)?s?).+vr/i
|
|
1180
1180
|
// Meta Quest
|
|
1181
1181
|
],
|
|
1182
|
-
[c, [u,
|
|
1182
|
+
[c, [u, je], [s, ge]],
|
|
1183
1183
|
[
|
|
1184
1184
|
/mobile vr; rv.+firefox/i
|
|
1185
1185
|
// Unidentifiable VR device using Firefox Reality / Wolvic
|
|
@@ -1192,22 +1192,22 @@ var e0 = "2.0.9", t0 = 500, dt = "user-agent", re = "", lt = "?", E = {
|
|
|
1192
1192
|
/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i
|
|
1193
1193
|
// Tesla
|
|
1194
1194
|
],
|
|
1195
|
-
[u, [s,
|
|
1195
|
+
[u, [s, he]],
|
|
1196
1196
|
[
|
|
1197
1197
|
/(aeobc)\b/i
|
|
1198
1198
|
// Echo Dot
|
|
1199
1199
|
],
|
|
1200
|
-
[c, [u, me], [s,
|
|
1200
|
+
[c, [u, me], [s, he]],
|
|
1201
1201
|
[
|
|
1202
1202
|
/(homepod).+mac os/i
|
|
1203
1203
|
// Apple HomePod
|
|
1204
1204
|
],
|
|
1205
|
-
[c, [u, ie], [s,
|
|
1205
|
+
[c, [u, ie], [s, he]],
|
|
1206
1206
|
[
|
|
1207
1207
|
/windows iot/i
|
|
1208
1208
|
// Unidentifiable embedded device using Windows IoT
|
|
1209
1209
|
],
|
|
1210
|
-
[[s,
|
|
1210
|
+
[[s, he]],
|
|
1211
1211
|
[
|
|
1212
1212
|
////////////////////
|
|
1213
1213
|
// MIXED (GENERIC)
|
|
@@ -1223,7 +1223,7 @@ var e0 = "2.0.9", t0 = 500, dt = "user-agent", re = "", lt = "?", E = {
|
|
|
1223
1223
|
[
|
|
1224
1224
|
/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew|; hmsc).+?(mobile|vr|\d) safari/i
|
|
1225
1225
|
],
|
|
1226
|
-
[c, [s,
|
|
1226
|
+
[c, [s, L, { mobile: "Mobile", xr: "VR", "*": k }]],
|
|
1227
1227
|
[
|
|
1228
1228
|
/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i
|
|
1229
1229
|
// Unidentifiable Tablet
|
|
@@ -1233,7 +1233,7 @@ var e0 = "2.0.9", t0 = 500, dt = "user-agent", re = "", lt = "?", E = {
|
|
|
1233
1233
|
/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i
|
|
1234
1234
|
// Unidentifiable Mobile
|
|
1235
1235
|
],
|
|
1236
|
-
[[s,
|
|
1236
|
+
[[s, I]],
|
|
1237
1237
|
[
|
|
1238
1238
|
/droid .+?; ([\w\. -]+)( bui|\))/i
|
|
1239
1239
|
// Generic Android Device
|
|
@@ -1245,7 +1245,7 @@ var e0 = "2.0.9", t0 = 500, dt = "user-agent", re = "", lt = "?", E = {
|
|
|
1245
1245
|
/windows.+ edge\/([\w\.]+)/i
|
|
1246
1246
|
// EdgeHTML
|
|
1247
1247
|
],
|
|
1248
|
-
[l, [d,
|
|
1248
|
+
[l, [d, _e + "HTML"]],
|
|
1249
1249
|
[
|
|
1250
1250
|
/(arkweb)\/([\w\.]+)/i
|
|
1251
1251
|
// ArkWeb
|
|
@@ -1287,7 +1287,7 @@ var e0 = "2.0.9", t0 = 500, dt = "user-agent", re = "", lt = "?", E = {
|
|
|
1287
1287
|
/(windows nt) (6\.[23]); arm/i
|
|
1288
1288
|
// Windows RT
|
|
1289
1289
|
],
|
|
1290
|
-
[[d, /N/, "R"], [l,
|
|
1290
|
+
[[d, /N/, "R"], [l, L, vt]],
|
|
1291
1291
|
[
|
|
1292
1292
|
/(windows (?:phone|mobile|iot))(?: os)?[\/ ]?([\d\.]*( se)?)/i,
|
|
1293
1293
|
// Windows IoT/Mobile/Phone
|
|
@@ -1299,7 +1299,7 @@ var e0 = "2.0.9", t0 = 500, dt = "user-agent", re = "", lt = "?", E = {
|
|
|
1299
1299
|
/windows nt ?([\d\.\)]*)(?!.+xbox)/i,
|
|
1300
1300
|
/\bwin(?=3| ?9|n)(?:nt| 9x )?([\d\.;]*)/i
|
|
1301
1301
|
],
|
|
1302
|
-
[[l, /(;|\))/g, "",
|
|
1302
|
+
[[l, /(;|\))/g, "", L, vt], [d, Qe]],
|
|
1303
1303
|
[
|
|
1304
1304
|
/(windows ce)\/?([\d\.]*)/i
|
|
1305
1305
|
// Windows CE
|
|
@@ -1325,27 +1325,27 @@ var e0 = "2.0.9", t0 = 500, dt = "user-agent", re = "", lt = "?", E = {
|
|
|
1325
1325
|
/android ([\d\.]+).*crkey/i
|
|
1326
1326
|
// Google Chromecast, Android-based
|
|
1327
1327
|
],
|
|
1328
|
-
[l, [d,
|
|
1328
|
+
[l, [d, q + " Android"]],
|
|
1329
1329
|
[
|
|
1330
1330
|
/fuchsia.*crkey\/([\d\.]+)/i
|
|
1331
1331
|
// Google Chromecast, Fuchsia-based
|
|
1332
1332
|
],
|
|
1333
|
-
[l, [d,
|
|
1333
|
+
[l, [d, q + " Fuchsia"]],
|
|
1334
1334
|
[
|
|
1335
1335
|
/crkey\/([\d\.]+).*devicetype\/smartspeaker/i
|
|
1336
1336
|
// Google Chromecast, Linux-based Smart Speaker
|
|
1337
1337
|
],
|
|
1338
|
-
[l, [d,
|
|
1338
|
+
[l, [d, q + " SmartSpeaker"]],
|
|
1339
1339
|
[
|
|
1340
1340
|
/linux.*crkey\/([\d\.]+)/i
|
|
1341
1341
|
// Google Chromecast, Legacy Linux-based
|
|
1342
1342
|
],
|
|
1343
|
-
[l, [d,
|
|
1343
|
+
[l, [d, q + " Linux"]],
|
|
1344
1344
|
[
|
|
1345
1345
|
/crkey\/([\d\.]+)/i
|
|
1346
1346
|
// Google Chromecast, unknown
|
|
1347
1347
|
],
|
|
1348
|
-
[l, [d,
|
|
1348
|
+
[l, [d, q]],
|
|
1349
1349
|
[
|
|
1350
1350
|
// Mobile OSes
|
|
1351
1351
|
/droid ([\w\.]+)\b.+(android[- ]x86)/i
|
|
@@ -1368,7 +1368,7 @@ var e0 = "2.0.9", t0 = 500, dt = "user-agent", re = "", lt = "?", E = {
|
|
|
1368
1368
|
/\(bb(10);/i
|
|
1369
1369
|
// BlackBerry 10
|
|
1370
1370
|
],
|
|
1371
|
-
[l, [d,
|
|
1371
|
+
[l, [d, ut]],
|
|
1372
1372
|
[
|
|
1373
1373
|
/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i
|
|
1374
1374
|
// Symbian
|
|
@@ -1389,7 +1389,7 @@ var e0 = "2.0.9", t0 = 500, dt = "user-agent", re = "", lt = "?", E = {
|
|
|
1389
1389
|
/web0s;.+?(?:chr[o0]me|safari)\/(\d+)/i
|
|
1390
1390
|
// https://webostv.developer.lge.com/develop/specifications/web-api-and-web-engine
|
|
1391
1391
|
],
|
|
1392
|
-
[[l,
|
|
1392
|
+
[[l, L, { 25: "120", 24: "108", 23: "94", 22: "87", 6: "79", 5: "68", 4: "53", 3: "38", 2: "538", 1: "537", "*": "TV" }], [d, "webOS"]],
|
|
1393
1393
|
[
|
|
1394
1394
|
/watch(?: ?os[,\/ ]|\d,\d\/)([\d\.]+)/i
|
|
1395
1395
|
// watchOS
|
|
@@ -1458,111 +1458,111 @@ var e0 = "2.0.9", t0 = 500, dt = "user-agent", re = "", lt = "?", E = {
|
|
|
1458
1458
|
}, ve = (function() {
|
|
1459
1459
|
var x = { init: {}, isIgnore: {}, isIgnoreRgx: {}, toString: {} };
|
|
1460
1460
|
return z.call(x.init, [
|
|
1461
|
-
[
|
|
1462
|
-
[
|
|
1463
|
-
[
|
|
1464
|
-
[
|
|
1461
|
+
[O, [d, l, fe, s]],
|
|
1462
|
+
[K, [R]],
|
|
1463
|
+
[V, [s, c, u]],
|
|
1464
|
+
[F, [d, l]],
|
|
1465
1465
|
[N, [d, l]]
|
|
1466
1466
|
]), z.call(x.isIgnore, [
|
|
1467
|
-
[
|
|
1468
|
-
[
|
|
1467
|
+
[O, [l, fe]],
|
|
1468
|
+
[F, [l]],
|
|
1469
1469
|
[N, [l]]
|
|
1470
1470
|
]), z.call(x.isIgnoreRgx, [
|
|
1471
|
-
[
|
|
1471
|
+
[O, / ?browser$/i],
|
|
1472
1472
|
[N, / ?os$/i]
|
|
1473
1473
|
]), z.call(x.toString, [
|
|
1474
|
-
[
|
|
1475
|
-
[
|
|
1476
|
-
[
|
|
1477
|
-
[
|
|
1474
|
+
[O, [d, l]],
|
|
1475
|
+
[K, [R]],
|
|
1476
|
+
[V, [u, c]],
|
|
1477
|
+
[F, [d, l]],
|
|
1478
1478
|
[N, [d, l]]
|
|
1479
1479
|
]), x;
|
|
1480
|
-
})(),
|
|
1481
|
-
var e = ve.init[t], i = ve.isIgnore[t] || 0,
|
|
1480
|
+
})(), p0 = function(x, t) {
|
|
1481
|
+
var e = ve.init[t], i = ve.isIgnore[t] || 0, a = ve.isIgnoreRgx[t] || 0, r = ve.toString[t] || 0;
|
|
1482
1482
|
function o() {
|
|
1483
1483
|
z.call(this, e);
|
|
1484
1484
|
}
|
|
1485
1485
|
return o.prototype.getItem = function() {
|
|
1486
1486
|
return x;
|
|
1487
1487
|
}, o.prototype.withClientHints = function() {
|
|
1488
|
-
return $ ? $.getHighEntropyValues(
|
|
1489
|
-
return x.setCH(new Bt(
|
|
1488
|
+
return $ ? $.getHighEntropyValues(Ut).then(function(h) {
|
|
1489
|
+
return x.setCH(new Bt(h, !1)).parseCH().get();
|
|
1490
1490
|
}) : x.parseCH().get();
|
|
1491
1491
|
}, o.prototype.withFeatureCheck = function() {
|
|
1492
1492
|
return x.detectFeature().get();
|
|
1493
|
-
}, t != oe && (o.prototype.is = function(
|
|
1494
|
-
var
|
|
1495
|
-
for (var
|
|
1496
|
-
if (this.hasOwnProperty(
|
|
1497
|
-
if (
|
|
1498
|
-
} else if (
|
|
1499
|
-
|
|
1493
|
+
}, t != oe && (o.prototype.is = function(h) {
|
|
1494
|
+
var p = !1;
|
|
1495
|
+
for (var y in this)
|
|
1496
|
+
if (this.hasOwnProperty(y) && !$e(i, y) && j(a ? ce(a, this[y]) : this[y]) == j(a ? ce(a, h) : h)) {
|
|
1497
|
+
if (p = !0, h != T.UNDEFINED) break;
|
|
1498
|
+
} else if (h == T.UNDEFINED && p) {
|
|
1499
|
+
p = !p;
|
|
1500
1500
|
break;
|
|
1501
1501
|
}
|
|
1502
|
-
return
|
|
1502
|
+
return p;
|
|
1503
1503
|
}, o.prototype.toString = function() {
|
|
1504
|
-
var
|
|
1505
|
-
for (var
|
|
1506
|
-
typeof this[r[
|
|
1507
|
-
return
|
|
1508
|
-
}), o.prototype.then = function(
|
|
1509
|
-
var
|
|
1510
|
-
for (var
|
|
1511
|
-
|
|
1504
|
+
var h = re;
|
|
1505
|
+
for (var p in r)
|
|
1506
|
+
typeof this[r[p]] !== T.UNDEFINED && (h += (h ? " " : re) + this[r[p]]);
|
|
1507
|
+
return h || T.UNDEFINED;
|
|
1508
|
+
}), o.prototype.then = function(h) {
|
|
1509
|
+
var p = this, y = function() {
|
|
1510
|
+
for (var E in p)
|
|
1511
|
+
p.hasOwnProperty(E) && (this[E] = p[E]);
|
|
1512
1512
|
};
|
|
1513
|
-
|
|
1513
|
+
y.prototype = {
|
|
1514
1514
|
is: o.prototype.is,
|
|
1515
1515
|
toString: o.prototype.toString,
|
|
1516
1516
|
withClientHints: o.prototype.withClientHints,
|
|
1517
1517
|
withFeatureCheck: o.prototype.withFeatureCheck
|
|
1518
1518
|
};
|
|
1519
|
-
var
|
|
1520
|
-
return
|
|
1519
|
+
var v = new y();
|
|
1520
|
+
return h(v), v;
|
|
1521
1521
|
}, new o();
|
|
1522
1522
|
};
|
|
1523
1523
|
function Bt(x, t) {
|
|
1524
|
-
if (x = x || {}, z.call(this,
|
|
1524
|
+
if (x = x || {}, z.call(this, Ut), t)
|
|
1525
1525
|
z.call(this, [
|
|
1526
|
-
[it,
|
|
1527
|
-
[xt,
|
|
1528
|
-
[
|
|
1529
|
-
[c,
|
|
1530
|
-
[se,
|
|
1531
|
-
[at,
|
|
1532
|
-
[
|
|
1533
|
-
[Q,
|
|
1534
|
-
[Le,
|
|
1526
|
+
[it, Je(x[Z])],
|
|
1527
|
+
[xt, Je(x[x0])],
|
|
1528
|
+
[I, /\?1/.test(x[o0])],
|
|
1529
|
+
[c, pe(x[s0])],
|
|
1530
|
+
[se, pe(x[Nt])],
|
|
1531
|
+
[at, pe(x[c0])],
|
|
1532
|
+
[R, pe(x[a0])],
|
|
1533
|
+
[Q, Je(x[r0])],
|
|
1534
|
+
[Le, pe(x[n0])]
|
|
1535
1535
|
]);
|
|
1536
1536
|
else
|
|
1537
1537
|
for (var e in x)
|
|
1538
|
-
this.hasOwnProperty(e) && typeof x[e] !==
|
|
1538
|
+
this.hasOwnProperty(e) && typeof x[e] !== T.UNDEFINED && (this[e] = x[e]);
|
|
1539
1539
|
}
|
|
1540
|
-
function
|
|
1540
|
+
function J(x, t, e, i) {
|
|
1541
1541
|
return z.call(this, [
|
|
1542
1542
|
["itemType", x],
|
|
1543
1543
|
["ua", t],
|
|
1544
1544
|
["uaCH", i],
|
|
1545
1545
|
["rgxMap", e],
|
|
1546
|
-
["data",
|
|
1546
|
+
["data", p0(this, x)]
|
|
1547
1547
|
]), this;
|
|
1548
1548
|
}
|
|
1549
|
-
|
|
1549
|
+
J.prototype.get = function(x) {
|
|
1550
1550
|
return x ? this.data.hasOwnProperty(x) ? this.data[x] : void 0 : this.data;
|
|
1551
1551
|
};
|
|
1552
|
-
|
|
1552
|
+
J.prototype.set = function(x, t) {
|
|
1553
1553
|
return this.data[x] = t, this;
|
|
1554
1554
|
};
|
|
1555
|
-
|
|
1555
|
+
J.prototype.setCH = function(x) {
|
|
1556
1556
|
return this.uaCH = x, this;
|
|
1557
1557
|
};
|
|
1558
|
-
|
|
1559
|
-
if (
|
|
1558
|
+
J.prototype.detectFeature = function() {
|
|
1559
|
+
if (P && P.userAgent == this.ua)
|
|
1560
1560
|
switch (this.itemType) {
|
|
1561
|
-
case
|
|
1562
|
-
|
|
1561
|
+
case O:
|
|
1562
|
+
P.brave && typeof P.brave.isBrave == T.FUNCTION && this.set(d, "Brave");
|
|
1563
1563
|
break;
|
|
1564
|
-
case
|
|
1565
|
-
!this.get(s) && $ && $[
|
|
1564
|
+
case V:
|
|
1565
|
+
!this.get(s) && $ && $[I] && this.set(s, I), this.get(c) == "Macintosh" && P && typeof P.standalone !== T.UNDEFINED && P.maxTouchPoints && P.maxTouchPoints > 2 && this.set(c, "iPad").set(s, k);
|
|
1566
1566
|
break;
|
|
1567
1567
|
case N:
|
|
1568
1568
|
!this.get(d) && $ && $[se] && this.set(d, $[se]);
|
|
@@ -1571,14 +1571,14 @@ j.prototype.detectFeature = function() {
|
|
|
1571
1571
|
var x = this.data, t = function(e) {
|
|
1572
1572
|
return x[e].getItem().detectFeature().get();
|
|
1573
1573
|
};
|
|
1574
|
-
this.set(
|
|
1574
|
+
this.set(O, t(O)).set(K, t(K)).set(V, t(V)).set(F, t(F)).set(N, t(N));
|
|
1575
1575
|
}
|
|
1576
1576
|
return this;
|
|
1577
1577
|
};
|
|
1578
|
-
|
|
1578
|
+
J.prototype.parseUA = function() {
|
|
1579
1579
|
switch (this.itemType != oe && tt.call(this.data, this.ua, this.rgxMap), this.itemType) {
|
|
1580
|
-
case
|
|
1581
|
-
this.set(
|
|
1580
|
+
case O:
|
|
1581
|
+
this.set(fe, et(this.get(l)));
|
|
1582
1582
|
break;
|
|
1583
1583
|
case N:
|
|
1584
1584
|
if (this.get(d) == "iOS" && this.get(l) == "18.6") {
|
|
@@ -1589,799 +1589,797 @@ j.prototype.parseUA = function() {
|
|
|
1589
1589
|
}
|
|
1590
1590
|
return this;
|
|
1591
1591
|
};
|
|
1592
|
-
|
|
1592
|
+
J.prototype.parseCH = function() {
|
|
1593
1593
|
var x = this.uaCH, t = this.rgxMap;
|
|
1594
1594
|
switch (this.itemType) {
|
|
1595
|
-
case
|
|
1596
|
-
case
|
|
1595
|
+
case O:
|
|
1596
|
+
case F:
|
|
1597
1597
|
var e = x[xt] || x[it], i;
|
|
1598
1598
|
if (e)
|
|
1599
|
-
for (var
|
|
1600
|
-
var r = e[
|
|
1601
|
-
this.itemType ==
|
|
1599
|
+
for (var a = 0; a < e.length; a++) {
|
|
1600
|
+
var r = e[a].brand || e[a], o = e[a].version;
|
|
1601
|
+
this.itemType == O && !/not.a.brand/i.test(r) && (!i || /Chrom/.test(i) && r != mt || i == _e && /WebView2/.test(r)) && (r = L(r, u0), i = this.get(d), i && !/Chrom/.test(i) && /Chrom/.test(r) || this.set(d, r).set(l, o).set(fe, et(o)), i = r), this.itemType == F && r == mt && this.set(l, o);
|
|
1602
1602
|
}
|
|
1603
1603
|
break;
|
|
1604
|
-
case
|
|
1605
|
-
var
|
|
1606
|
-
|
|
1604
|
+
case K:
|
|
1605
|
+
var h = x[R];
|
|
1606
|
+
h && (h && x[Le] == "64" && (h += "64"), tt.call(this.data, h + ";", t));
|
|
1607
1607
|
break;
|
|
1608
|
-
case
|
|
1609
|
-
if (x[
|
|
1610
|
-
var
|
|
1611
|
-
tt.call(
|
|
1608
|
+
case V:
|
|
1609
|
+
if (x[I] && this.set(s, I), x[c] && (this.set(c, x[c]), !this.get(s) || !this.get(u))) {
|
|
1610
|
+
var p = {};
|
|
1611
|
+
tt.call(p, "droid 9; " + x[c] + ")", t), !this.get(s) && p.type && this.set(s, p.type), !this.get(u) && p.vendor && this.set(u, p.vendor);
|
|
1612
1612
|
}
|
|
1613
1613
|
if (x[Q]) {
|
|
1614
|
-
var
|
|
1614
|
+
var y;
|
|
1615
1615
|
if (typeof x[Q] != "string")
|
|
1616
|
-
for (var
|
|
1617
|
-
|
|
1616
|
+
for (var v = 0; !y && v < x[Q].length; )
|
|
1617
|
+
y = L(x[Q][v++], St);
|
|
1618
1618
|
else
|
|
1619
|
-
|
|
1620
|
-
this.set(s,
|
|
1619
|
+
y = L(x[Q], St);
|
|
1620
|
+
this.set(s, y);
|
|
1621
1621
|
}
|
|
1622
1622
|
break;
|
|
1623
1623
|
case N:
|
|
1624
|
-
var
|
|
1625
|
-
if (
|
|
1626
|
-
var
|
|
1627
|
-
|
|
1624
|
+
var E = x[se];
|
|
1625
|
+
if (E) {
|
|
1626
|
+
var M = x[at];
|
|
1627
|
+
E == Qe && (M = parseInt(et(M), 10) >= 13 ? "11" : "10"), this.set(d, E).set(l, M);
|
|
1628
1628
|
}
|
|
1629
1629
|
this.get(d) == Qe && x[c] == "Xbox" && this.set(d, "Xbox").set(l, void 0);
|
|
1630
1630
|
break;
|
|
1631
1631
|
case oe:
|
|
1632
|
-
var
|
|
1633
|
-
return
|
|
1632
|
+
var Y = this.data, U = function(B) {
|
|
1633
|
+
return Y[B].getItem().setCH(x).parseCH().get();
|
|
1634
1634
|
};
|
|
1635
|
-
this.set(
|
|
1635
|
+
this.set(O, U(O)).set(K, U(K)).set(V, U(V)).set(F, U(F)).set(N, U(N));
|
|
1636
1636
|
}
|
|
1637
1637
|
return this;
|
|
1638
1638
|
};
|
|
1639
|
-
function
|
|
1640
|
-
if (typeof x ===
|
|
1641
|
-
if (typeof e.append ===
|
|
1639
|
+
function W(x, t, e) {
|
|
1640
|
+
if (typeof x === T.OBJECT ? (De(x, !0) ? (typeof t === T.OBJECT && (e = t), t = x) : (e = x, t = void 0), x = void 0) : typeof x === T.STRING && !De(t, !0) && (e = t, t = void 0), e)
|
|
1641
|
+
if (typeof e.append === T.FUNCTION) {
|
|
1642
1642
|
var i = {};
|
|
1643
|
-
e.forEach(function(
|
|
1644
|
-
i[String(
|
|
1643
|
+
e.forEach(function(v, E) {
|
|
1644
|
+
i[String(E).toLowerCase()] = v;
|
|
1645
1645
|
}), e = i;
|
|
1646
1646
|
} else {
|
|
1647
|
-
var
|
|
1647
|
+
var a = {};
|
|
1648
1648
|
for (var r in e)
|
|
1649
|
-
e.hasOwnProperty(r) && (
|
|
1650
|
-
e =
|
|
1649
|
+
e.hasOwnProperty(r) && (a[String(r).toLowerCase()] = e[r]);
|
|
1650
|
+
e = a;
|
|
1651
1651
|
}
|
|
1652
|
-
if (!(this instanceof
|
|
1653
|
-
return new
|
|
1654
|
-
var o = typeof x ===
|
|
1652
|
+
if (!(this instanceof W))
|
|
1653
|
+
return new W(x, t, e).getResult();
|
|
1654
|
+
var o = typeof x === T.STRING ? x : (
|
|
1655
1655
|
// Passed user-agent string
|
|
1656
|
-
e && e[
|
|
1656
|
+
e && e[ct] ? e[ct] : (
|
|
1657
1657
|
// User-Agent from passed headers
|
|
1658
|
-
|
|
1658
|
+
P && P.userAgent ? P.userAgent : (
|
|
1659
1659
|
// navigator.userAgent
|
|
1660
1660
|
re
|
|
1661
1661
|
)
|
|
1662
1662
|
)
|
|
1663
|
-
),
|
|
1664
|
-
return
|
|
1665
|
-
return new
|
|
1663
|
+
), h = new Bt(e, !0), p = t ? l0(It, t) : It, y = function(v) {
|
|
1664
|
+
return v == oe ? function() {
|
|
1665
|
+
return new J(v, o, p, h).set("ua", o).set(O, this.getBrowser()).set(K, this.getCPU()).set(V, this.getDevice()).set(F, this.getEngine()).set(N, this.getOS()).get();
|
|
1666
1666
|
} : function() {
|
|
1667
|
-
return new
|
|
1667
|
+
return new J(v, o, p[v], h).parseUA().get();
|
|
1668
1668
|
};
|
|
1669
1669
|
};
|
|
1670
1670
|
return z.call(this, [
|
|
1671
|
-
["getBrowser",
|
|
1672
|
-
["getCPU",
|
|
1673
|
-
["getDevice",
|
|
1674
|
-
["getEngine",
|
|
1675
|
-
["getOS",
|
|
1676
|
-
["getResult",
|
|
1671
|
+
["getBrowser", y(O)],
|
|
1672
|
+
["getCPU", y(K)],
|
|
1673
|
+
["getDevice", y(V)],
|
|
1674
|
+
["getEngine", y(F)],
|
|
1675
|
+
["getOS", y(N)],
|
|
1676
|
+
["getResult", y(oe)],
|
|
1677
1677
|
["getUA", function() {
|
|
1678
1678
|
return o;
|
|
1679
1679
|
}],
|
|
1680
|
-
["setUA", function(
|
|
1681
|
-
return be(
|
|
1680
|
+
["setUA", function(v) {
|
|
1681
|
+
return be(v) && (o = Me(v, t0)), this;
|
|
1682
1682
|
}]
|
|
1683
1683
|
]).setUA(o), this;
|
|
1684
1684
|
}
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
const
|
|
1685
|
+
W.VERSION = e0;
|
|
1686
|
+
W.BROWSER = Fe([d, l, fe, s]);
|
|
1687
|
+
W.CPU = Fe([R]);
|
|
1688
|
+
W.DEVICE = Fe([c, u, s, ke, I, C, k, H, he]);
|
|
1689
|
+
W.ENGINE = W.OS = Fe([d, l]);
|
|
1690
|
+
const kt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1691
1691
|
__proto__: null,
|
|
1692
|
-
UAParser:
|
|
1692
|
+
UAParser: W
|
|
1693
1693
|
}, Symbol.toStringTag, { value: "Module" })), D = [];
|
|
1694
1694
|
for (let x = 0; x < 256; ++x)
|
|
1695
1695
|
D.push((x + 256).toString(16).slice(1));
|
|
1696
|
-
function
|
|
1696
|
+
function h0(x, t = 0) {
|
|
1697
1697
|
return (D[x[t + 0]] + D[x[t + 1]] + D[x[t + 2]] + D[x[t + 3]] + "-" + D[x[t + 4]] + D[x[t + 5]] + "-" + D[x[t + 6]] + D[x[t + 7]] + "-" + D[x[t + 8]] + D[x[t + 9]] + "-" + D[x[t + 10]] + D[x[t + 11]] + D[x[t + 12]] + D[x[t + 13]] + D[x[t + 14]] + D[x[t + 15]]).toLowerCase();
|
|
1698
1698
|
}
|
|
1699
|
-
let
|
|
1700
|
-
const
|
|
1699
|
+
let Ze;
|
|
1700
|
+
const f0 = new Uint8Array(16);
|
|
1701
1701
|
function b0() {
|
|
1702
|
-
if (!
|
|
1702
|
+
if (!Ze) {
|
|
1703
1703
|
if (typeof crypto > "u" || !crypto.getRandomValues)
|
|
1704
1704
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
1705
|
-
|
|
1705
|
+
Ze = crypto.getRandomValues.bind(crypto);
|
|
1706
1706
|
}
|
|
1707
|
-
return
|
|
1707
|
+
return Ze(f0);
|
|
1708
1708
|
}
|
|
1709
|
-
const w0 = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto),
|
|
1709
|
+
const w0 = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), _t = { randomUUID: w0 };
|
|
1710
1710
|
function g0(x, t, e) {
|
|
1711
1711
|
x = x || {};
|
|
1712
1712
|
const i = x.random ?? x.rng?.() ?? b0();
|
|
1713
1713
|
if (i.length < 16)
|
|
1714
1714
|
throw new Error("Random bytes length must be >= 16");
|
|
1715
|
-
return i[6] = i[6] & 15 | 64, i[8] = i[8] & 63 | 128,
|
|
1715
|
+
return i[6] = i[6] & 15 | 64, i[8] = i[8] & 63 | 128, h0(i);
|
|
1716
1716
|
}
|
|
1717
|
-
function
|
|
1718
|
-
return
|
|
1717
|
+
function Lt(x, t, e) {
|
|
1718
|
+
return _t.randomUUID && !x ? _t.randomUUID() : g0(x);
|
|
1719
1719
|
}
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
return
|
|
1723
|
-
return x;
|
|
1724
|
-
}, Me();
|
|
1720
|
+
const n = Ft;
|
|
1721
|
+
function Ft(x, t) {
|
|
1722
|
+
return x = x - 418, Re()[x];
|
|
1725
1723
|
}
|
|
1726
|
-
const a = Ht;
|
|
1727
1724
|
(function(x, t) {
|
|
1728
|
-
const e =
|
|
1725
|
+
const e = Ft, i = x();
|
|
1729
1726
|
for (; ; )
|
|
1730
1727
|
try {
|
|
1731
|
-
if (parseInt(e(
|
|
1728
|
+
if (-parseInt(e(431)) / 1 * (-parseInt(e(575)) / 2) + -parseInt(e(491)) / 3 * (-parseInt(e(487)) / 4) + -parseInt(e(478)) / 5 + -parseInt(e(495)) / 6 * (-parseInt(e(425)) / 7) + parseInt(e(451)) / 8 * (parseInt(e(557)) / 9) + -parseInt(e(485)) / 10 + parseInt(e(508)) / 11 * (-parseInt(e(567)) / 12) === t) break;
|
|
1732
1729
|
i.push(i.shift());
|
|
1733
1730
|
} catch {
|
|
1734
1731
|
i.push(i.shift());
|
|
1735
1732
|
}
|
|
1736
|
-
})(
|
|
1737
|
-
|
|
1738
|
-
|
|
1733
|
+
})(Re, 597582);
|
|
1734
|
+
const Gt = { AF: "Afghanistan", AX: n(434), AL: n(551), DZ: n(466), AS: n(574), AD: n(548), AO: n(521), AI: n(481), AQ: n(435), AG: "Antigua and Barbuda", AR: n(442), AM: n(532), AW: "Aruba", AU: n(576), AT: n(472), AZ: "Azerbaijan", BS: "Bahamas", BH: n(428), BD: n(536), BB: n(554), BY: "Belarus", BE: "Belgium", BZ: "Belize", BJ: "Benin", BM: "Bermuda", BT: n(515), BO: n(441), BQ: "Bonaire, Sint Eustatius and Saba", BA: n(454), BW: n(452), BV: n(549), BR: n(446), IO: "British Indian Ocean Territory", BN: n(432), BG: n(585), BF: n(591), BI: n(476), CV: n(571), KH: "Cambodia", CM: n(497), CA: "Canada", KY: n(457), CF: n(419), TD: n(535), CL: n(501), CN: n(556), CX: n(538), CC: n(424), CO: n(467), KM: "Comoros", CG: n(423), CD: "Congo (Democratic Republic of the)", CK: "Cook Islands", CR: n(561), CI: n(507), HR: "Croatia", CU: "Cuba", CW: "Curaçao", CY: n(546), CZ: n(453), DK: n(460), DJ: "Djibouti", DM: "Dominica", DO: n(433), EC: "Ecuador", EG: n(477), SV: n(462), GQ: "Equatorial Guinea", ER: n(449), EE: n(555), ET: n(588), FK: n(596), FO: n(568), FJ: "Fiji", FI: n(518), FR: "France", GF: n(430), PF: "French Polynesia", TF: n(480), GA: "Gabon", GM: "Gambia", GE: n(486), DE: "Germany", GH: n(545), GI: n(584), GR: n(594), GL: n(527), GD: n(429), GP: "Guadeloupe", GU: n(526), GT: n(436), GG: n(572), GN: "Guinea", GW: n(542), GY: n(586), HT: "Haiti", HM: n(541), VA: n(524), HN: n(582), HK: n(558), HU: n(420), IS: n(531), IN: n(540), ID: n(547), IR: n(427), IQ: n(456), IE: "Ireland", IM: "Isle of Man", IL: n(483), IT: "Italy", JM: n(604), JP: n(512), JE: n(490), JO: n(484), KZ: n(587), KE: n(589), KI: n(503), KP: "Korea (Democratic People's Republic of)", KR: n(437), KW: n(562), KG: "Kyrgyzstan", LA: "Lao People's Democratic Republic", LV: n(579), LB: n(461), LS: n(458), LR: "Liberia", LY: "Libya", LI: n(599), LT: "Lithuania", LU: n(465), MO: n(447), MK: "Macedonia (the former Yugoslav Republic of)", MG: "Madagascar", MW: n(475), MY: n(422), MV: n(450), ML: n(505), MT: n(528), MH: n(493), MQ: n(559), MR: n(455), MU: n(470), YT: n(489), MX: n(564), FM: n(511), MD: n(598), MC: n(520), MN: n(544), ME: n(525), MS: "Montserrat", MA: n(479), MZ: n(603), MM: "Myanmar", NA: n(492), NR: n(550), NP: "Nepal", NL: n(482), NC: n(426), NZ: n(570), NI: "Nicaragua", NE: n(595), NG: n(510), NU: "Niue", NF: "Norfolk Island", MP: n(502), NO: "Norway", OM: n(440), PK: n(553), PW: "Palau", PS: n(534), PA: n(513), PG: n(605), PY: n(438), PE: "Peru", PH: "Philippines", PN: n(488), PL: n(601), PT: n(506), PR: n(504), QA: n(473), RE: n(498), RO: n(569), RU: "Russian Federation", RW: "Rwanda", BL: "Saint Barthélemy", SH: n(530), KN: n(463), LC: n(592), MF: n(445), PM: n(469), VC: n(522), WS: "Samoa", SM: n(523), ST: n(539), SA: n(566), SN: n(537), RS: n(471), SC: n(509), SL: n(573), SG: n(459), SX: "Sint Maarten (Dutch part)", SK: n(517), SI: n(533), SB: n(565), SO: "Somalia", ZA: "South Africa", GS: n(552), SS: n(583), ES: n(514), LK: "Sri Lanka", SD: n(560), SR: n(444), SJ: n(496), SZ: n(543), SE: n(597), CH: "Switzerland", SY: n(580), TW: "Taiwan", TJ: n(468), TZ: n(581), TH: "Thailand", TL: n(494), TG: n(590), TK: n(563), TO: n(418), TT: "Trinidad and Tobago", TN: n(443), TR: n(500), TM: n(516), TC: n(578), TV: n(519), UG: "Uganda", UA: "Ukraine", AE: n(448), GB: n(499), US: n(464), UM: n(593), UY: n(439), UZ: "Uzbekistan", VU: n(529), VE: n(474), VN: "Viet Nam", VG: n(421), VI: n(600), WF: n(577), EH: "Western Sahara", YE: "Yemen", ZM: "Zambia", ZW: n(602) };
|
|
1735
|
+
function Re() {
|
|
1736
|
+
const x = ["Brunei Darussalam", "Dominican Republic", "Åland Islands", "Antarctica", "Guatemala", "Korea, Republic of", "Paraguay", "Uruguay", "Oman", "Bolivia (Plurinational State of)", "Argentina", "Tunisia", "Suriname", "Saint Martin (French part)", "Brazil", "Macao", "United Arab Emirates", "Eritrea", "Maldives", "372560EebehM", "Botswana", "Czech Republic", "Bosnia and Herzegovina", "Mauritania", "Iraq", "Cayman Islands", "Lesotho", "Singapore", "Denmark", "Lebanon", "El Salvador", "Saint Kitts and Nevis", "United States of America", "Luxembourg", "Algeria", "Colombia", "Tajikistan", "Saint Pierre and Miquelon", "Mauritius", "Serbia", "Austria", "Qatar", "Venezuela (Bolivarian Republic of)", "Malawi", "Burundi", "Egypt", "1796075TmwpSK", "Morocco", "French Southern Territories", "Anguilla", "Netherlands", "Israel", "Jordan", "1897760ZtYBYz", "Georgia", "12bXlXLj", "Pitcairn", "Mayotte", "Jersey", "1144755VjWbkf", "Namibia", "Marshall Islands", "Timor-Leste", "72IZtlnb", "Svalbard and Jan Mayen", "Cameroon", "Réunion", "United Kingdom", "Turkey", "Chile", "Northern Mariana Islands", "Kiribati", "Puerto Rico", "Mali", "Portugal", "Côte d'Ivoire", "882574iLhpdS", "Seychelles", "Nigeria", "Micronesia (Federated States of)", "Japan", "Panama", "Spain", "Bhutan", "Turkmenistan", "Slovakia", "Finland", "Tuvalu", "Monaco", "Angola", "Saint Vincent and the Grenadines", "San Marino", "Holy See", "Montenegro", "Guam", "Greenland", "Malta", "Vanuatu", "Saint Helena, Ascension and Tristan da Cunha", "Iceland", "Armenia", "Slovenia", "Palestine, State of", "Chad", "Bangladesh", "Senegal", "Christmas Island", "Sao Tome and Principe", "India", "Heard Island and McDonald Islands", "Guinea-Bissau", "Swaziland", "Mongolia", "Ghana", "Cyprus", "Indonesia", "Andorra", "Bouvet Island", "Nauru", "Albania", "South Georgia and the South Sandwich Islands", "Pakistan", "Barbados", "Estonia", "China", "153HGGLeh", "Hong Kong", "Martinique", "Sudan", "Costa Rica", "Kuwait", "Tokelau", "Mexico", "Solomon Islands", "Saudi Arabia", "420SVAGiv", "Faroe Islands", "Romania", "New Zealand", "Cabo Verde", "Guernsey", "Sierra Leone", "American Samoa", "158SoApLA", "Australia", "Wallis and Futuna", "Turks and Caicos Islands", "Latvia", "Syrian Arab Republic", "Tanzania, United Republic of", "Honduras", "South Sudan", "Gibraltar", "Bulgaria", "Guyana", "Kazakhstan", "Ethiopia", "Kenya", "Togo", "Burkina Faso", "Saint Lucia", "United States Minor Outlying Islands", "Greece", "Niger", "Falkland Islands (Malvinas)", "Sweden", "Moldova (Republic of)", "Liechtenstein", "Virgin Islands (U.S.)", "Poland", "Zimbabwe", "Mozambique", "Jamaica", "Papua New Guinea", "Tonga", "Central African Republic", "Hungary", "Virgin Islands (British)", "Malaysia", "Congo", "Cocos (Keeling) Islands", "551264ybNReH", "New Caledonia", "Iran (Islamic Republic of)", "Bahrain", "Grenada", "French Guiana", "13586JKzYla"];
|
|
1737
|
+
return Re = function() {
|
|
1738
|
+
return x;
|
|
1739
|
+
}, Re();
|
|
1740
|
+
}
|
|
1741
|
+
function Pe() {
|
|
1742
|
+
const x = ["sessionId", "type", "log_type", "getTime", "video_type", "logDateUnix", "2mJylLe", "681715YiNGQZ", "m3u8", "error", "actionDuration", "2828982KVyrJr", "nation", "getDate", "actionType", "result", "369xUZGFB", "getHours", "test", "https://log.vpe.gov-ntruss.com/stats", "vpePackageId", "prod", "push", "mpd", "1336947lpoyBr", "object", "sync", "logDate", "Korea, Republic of", "join", "pub", "indexOf", "video", "url", "MA config initialization failed:", "MA report failed:", "totalStartTime", "unknown", "stage", "vpe", "json", "playerStartTime", "------------------------------------------------", "isp", "2456nRRFqA", "extra", "parse", "dash", "platform", "MA init report failed:", "1595209ftvVcL", "5599258FBTmAc", "https://papi.beta-vpe.gov-ntruss.com/player/maSync", "vpeKey", "UUID", "entries", "sendBeacon", "https://log.vpe.naverncp.com/stats", "hls", "stringify", "vod", "padStart", "seekedTime", "videoFormat", "timeupdate", "16CprTmS", "quality", "country", "getSeconds", "MA report actionType ->", "geoLocation", "live", "293395VeEYxo", "host", "mp4", "20WesBXS", "log", "toLowerCase", "https://log.beta-vpe.naverncp.com/stats", "https://papi.beta-vpe.naverncp.com/player/maSync", "POST", "TID", "created_at", "report", "1.0", "forEach", "player_version", "https://papi.vpe.gov-ntruss.com/player/maSync", "application/json", "floor", "getMonth", "VPE React Native"];
|
|
1743
|
+
return Pe = function() {
|
|
1744
|
+
return x;
|
|
1745
|
+
}, Pe();
|
|
1739
1746
|
}
|
|
1740
|
-
const
|
|
1747
|
+
const _ = Vt;
|
|
1741
1748
|
(function(x, t) {
|
|
1742
|
-
const e =
|
|
1749
|
+
const e = Vt, i = x();
|
|
1743
1750
|
for (; ; )
|
|
1744
1751
|
try {
|
|
1745
|
-
if (parseInt(e(
|
|
1752
|
+
if (-parseInt(e(214)) / 1 * (-parseInt(e(213)) / 2) + -parseInt(e(139)) / 3 + parseInt(e(180)) / 4 * (parseInt(e(187)) / 5) + -parseInt(e(126)) / 6 + parseInt(e(166)) / 7 + -parseInt(e(159)) / 8 * (-parseInt(e(131)) / 9) + parseInt(e(190)) / 10 * (-parseInt(e(165)) / 11) === t) break;
|
|
1746
1753
|
i.push(i.shift());
|
|
1747
1754
|
} catch {
|
|
1748
1755
|
i.push(i.shift());
|
|
1749
1756
|
}
|
|
1750
|
-
})(
|
|
1751
|
-
const
|
|
1752
|
-
let A = { video: {}, browser: {}, device: {}, connection: {}, screen: {}, player_version:
|
|
1753
|
-
const m0 = (/* @__PURE__ */ new Date()).getTime(),
|
|
1757
|
+
})(Pe, 521728);
|
|
1758
|
+
const Ge = { gov: { prod: { log: _(202), report: _(134) }, beta: { log: _(167), report: "https://log.beta-vpe.gov-ntruss.com/stats" } }, pub: { prod: { log: "https://papi.vpe.naverncp.com/player/maSync", report: _(172) }, beta: { log: _(194), report: _(193) } } };
|
|
1759
|
+
let A = { video: {}, browser: {}, device: {}, connection: {}, screen: {}, player_version: "latest", extra: { sessionId: null, playerType: _(206) }, log_type: _(154), privacy: { cookie_enabled: !0 } }, G = { platform: _(145), stage: _(136), sync: !1, syncResult: {} };
|
|
1760
|
+
const m0 = (/* @__PURE__ */ new Date()).getTime(), Ht = (x) => x;
|
|
1754
1761
|
function Se() {
|
|
1755
|
-
return
|
|
1762
|
+
return Lt();
|
|
1763
|
+
}
|
|
1764
|
+
function Vt(x, t) {
|
|
1765
|
+
return x = x - 124, Pe()[x];
|
|
1756
1766
|
}
|
|
1757
|
-
function
|
|
1758
|
-
return
|
|
1767
|
+
function Et() {
|
|
1768
|
+
return Lt();
|
|
1759
1769
|
}
|
|
1760
|
-
const
|
|
1761
|
-
const x = _, t = /* @__PURE__ */ new Date(), e = (o) => String(o)[x(
|
|
1762
|
-
return { logDate: i, logDateUnix:
|
|
1770
|
+
const Yt = () => {
|
|
1771
|
+
const x = _, t = /* @__PURE__ */ new Date(), e = (o) => String(o)[x(176)](2, "0"), i = t.getFullYear() + "-" + e(t[x(205)]() + 1) + "-" + e(t[x(128)]()) + " " + e(t[x(132)]()) + ":" + e(t.getMinutes()) + ":" + e(t[x(183)]()), a = Math[x(204)](t[x(210)]() / 1e3), r = (/* @__PURE__ */ new Date())[x(210)]() - m0;
|
|
1772
|
+
return { logDate: i, logDateUnix: a, thisSec: r };
|
|
1763
1773
|
};
|
|
1764
1774
|
function y0(x) {
|
|
1765
|
-
|
|
1766
|
-
return typeof x === t(203) && x !== null && !Array[t(227)](x);
|
|
1775
|
+
return typeof x === _(140) && x !== null && !Array.isArray(x);
|
|
1767
1776
|
}
|
|
1768
1777
|
function nt(x, t) {
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1778
|
+
const e = _;
|
|
1779
|
+
Object[e(170)](t).forEach(([i, a]) => {
|
|
1780
|
+
const r = e;
|
|
1781
|
+
y0(a) ? (!x[i] && (x[i] = {}), Object[r(170)](a)[r(200)](([o, h]) => {
|
|
1782
|
+
h != null && (x[i][o] = h);
|
|
1783
|
+
})) : a != null && (x[i] = a);
|
|
1774
1784
|
});
|
|
1775
1785
|
}
|
|
1776
1786
|
function v0(x) {
|
|
1777
1787
|
const t = _;
|
|
1778
|
-
return x[t(
|
|
1788
|
+
return x[t(146)](t(215)) > -1 ? t(173) : x[t(146)](t(138)) > -1 ? t(162) : t(189);
|
|
1779
1789
|
}
|
|
1780
1790
|
function S0(x) {
|
|
1781
1791
|
const t = _, e = [];
|
|
1782
|
-
return x?.r1 && e
|
|
1792
|
+
return x?.r1 && e.push(x.r1), x?.r2 && e[t(137)](x.r2), x?.r3 && e.push(x.r3), e[t(144)](" ");
|
|
1783
1793
|
}
|
|
1784
1794
|
function rt(x) {
|
|
1785
1795
|
const t = _;
|
|
1786
|
-
if (!x || typeof x !== t(
|
|
1787
|
-
const e = String(x[t(
|
|
1788
|
-
if (!(e === "v2" || /^2(?:\.|$)/[t(
|
|
1789
|
-
(!x
|
|
1790
|
-
const
|
|
1791
|
-
r(x[t(
|
|
1792
|
-
const o = r(x[t(
|
|
1793
|
-
x[t(
|
|
1796
|
+
if (!x || typeof x !== t(140)) return;
|
|
1797
|
+
const e = String(x[t(201)] ?? "");
|
|
1798
|
+
if (!(e === "v2" || /^2(?:\.|$)/[t(133)](e))) return;
|
|
1799
|
+
(!x.video || typeof x[t(147)] !== t(140)) && (x[t(147)] = {});
|
|
1800
|
+
const a = x.extra && typeof x[t(160)] == "object" ? x.extra : {}, r = (p) => p == null || p === "" || p === "0p";
|
|
1801
|
+
r(x[t(147)][t(181)]) && (x.video[t(181)] = r(a[t(181)]) ? t(152) : a[t(181)]);
|
|
1802
|
+
const o = r(x[t(147)].type) ? r(a[t(208)]) ? r(a[t(211)]) ? "vod" : a[t(211)] : a.type : x.video[t(208)], h = String(o)[t(192)]();
|
|
1803
|
+
x[t(147)][t(208)] = h === t(186) ? t(186) : t(175), r(x[t(147)][t(148)]) && !r(a.url) && (x.video[t(148)] = a.url);
|
|
1794
1804
|
}
|
|
1795
|
-
function
|
|
1805
|
+
function zt(x) {
|
|
1796
1806
|
const t = _;
|
|
1797
|
-
x
|
|
1807
|
+
x[t(125)] === t(199) && (x[t(125)] = 0), x[t(125)] === void 0 && (x[t(125)] = 0), [t(156), "videoStartTime", t(151), t(177)].forEach((i) => {
|
|
1798
1808
|
x[i] === void 0 && (x[i] = 0);
|
|
1799
|
-
}), x
|
|
1809
|
+
}), x[t(208)] === void 0 && A.video?.type && (x.type = A[t(147)].type), x.url === void 0 && A[t(147)]?.[t(148)] && (x[t(148)] = A[t(147)][t(148)], x[t(178)] = v0(x[t(148)]));
|
|
1800
1810
|
}
|
|
1801
|
-
function
|
|
1811
|
+
function Kt(x) {
|
|
1802
1812
|
const t = _;
|
|
1803
|
-
return !!(x[t(
|
|
1813
|
+
return !!(x[t(169)] && x.TID && x[t(188)]);
|
|
1804
1814
|
}
|
|
1805
1815
|
function He(x) {
|
|
1806
1816
|
const t = _;
|
|
1807
1817
|
try {
|
|
1808
|
-
const e =
|
|
1809
|
-
e && (x.address = S0(e), x[t(
|
|
1818
|
+
const e = G.syncResult?.[t(185)];
|
|
1819
|
+
e && (x.address = S0(e), x[t(158)] = e.net || "", x.ip = G.syncResult?.ip || "", x[t(127)] = e[t(182)] || "");
|
|
1810
1820
|
} catch {
|
|
1811
1821
|
}
|
|
1812
1822
|
}
|
|
1813
1823
|
const I0 = async (x) => {
|
|
1814
1824
|
const t = _;
|
|
1815
1825
|
if (!x) return;
|
|
1816
|
-
const { platform: e, stage: i } =
|
|
1826
|
+
const { platform: e, stage: i } = G, a = Ge[e][i][t(191)];
|
|
1817
1827
|
try {
|
|
1818
|
-
const r = await fetch(
|
|
1819
|
-
|
|
1820
|
-
const { logDate:
|
|
1821
|
-
return A.
|
|
1828
|
+
const r = await fetch(a, { method: t(195), headers: { "Content-Type": t(203) }, body: JSON.stringify({ access_key: x }) }), o = await r[t(155)]();
|
|
1829
|
+
G.sync = o.result?.[t(141)] || !1, G.syncResult = o[t(130)] || {};
|
|
1830
|
+
const { logDate: h, logDateUnix: p } = Yt();
|
|
1831
|
+
return A[t(160)].logDate = h, A[t(160)].logDateUnix = p, G.syncResult?.[t(185)] && He(A[t(160)]), o;
|
|
1822
1832
|
} catch (r) {
|
|
1823
|
-
return console
|
|
1833
|
+
return console[t(124)](t(149), r), null;
|
|
1824
1834
|
}
|
|
1825
1835
|
}, k0 = async (x) => {
|
|
1826
|
-
const t = _, { platform: e, stage: i } =
|
|
1827
|
-
r[t(
|
|
1836
|
+
const t = _, { platform: e, stage: i } = G, a = Ht(Ge[e][i][t(198)]), r = { ...x };
|
|
1837
|
+
r[t(209)] = t(154), He(r[t(160)]), rt(r);
|
|
1828
1838
|
try {
|
|
1829
|
-
await fetch(
|
|
1839
|
+
await fetch(a, { method: t(195), headers: { "Content-Type": "application/json" }, body: JSON.stringify(r) });
|
|
1830
1840
|
} catch (o) {
|
|
1831
|
-
console
|
|
1841
|
+
console.error(t(164), o);
|
|
1832
1842
|
}
|
|
1833
|
-
}
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
}
|
|
1837
|
-
function Re() {
|
|
1838
|
-
const x = ["hls", "11sMXeZC", "getSeconds", "browser", "error", "isp", "getHours", "host", "https://log.vpe.naverncp.com/stats", "MA vpe init", "m3u8", "vod", "playerStartTime", "type", "latest", "test", "675783wamEHA", "nation", "timeupdate", "getDate", "mpd", "prod", "mp4", "live", "join", "https://papi.beta-vpe.gov-ntruss.com/player/maSync", "parse", "https://log.beta-vpe.naverncp.com/stats", "indexOf", "video", "object", "geoLocation", "MA report failed:", "dash", "toLowerCase", "extra", "logDateUnix", "Korea, Republic of", "https://papi.vpe.naverncp.com/player/maSync", "player_version", "getMonth", "2764494TZSYbv", "videoStartTime", "unknown", "POST", "vpe", "70853czAefr", "result", "syncResult", "application/json", "TID", "log_type", "2219735dCBgGY", "report", "isArray", "padStart", "38717uZXuoT", "328AJkDMk", "https://papi.beta-vpe.naverncp.com/player/maSync", "stringify", "log", "3UvMisE", "getTime", "logDate", "floor", "12Iehaaz", "entries", "1.0", "sessionId", "video_type", "videoFormat", "created_at", "vpePackageId", "push", "sync", "VPE React Native", "actionDuration", "2461330hXDWnw", "totalStartTime", "quality", "actionType", "https://log.beta-vpe.gov-ntruss.com/stats", "924152BQMyGn", "platform", "url", "country", "MA report actionType ->", "pub", "https://log.vpe.gov-ntruss.com/stats", "UUID", "forEach", "------------------------------------------------"];
|
|
1839
|
-
return Re = function() {
|
|
1840
|
-
return x;
|
|
1841
|
-
}, Re();
|
|
1842
|
-
}
|
|
1843
|
-
const _0 = async (x) => {
|
|
1844
|
-
const t = _, { platform: e, stage: i } = B, n = Vt(Fe[e][i][t(226)]), r = JSON.parse(JSON[t(232)](A));
|
|
1845
|
-
if (nt(r, x), r[t(224)] = "MA", He(r.extra), Yt(r[t(208)]), rt(r), !!qt(r[t(208)]))
|
|
1843
|
+
}, _0 = async (x) => {
|
|
1844
|
+
const t = _, { platform: e, stage: i } = G, a = Ht(Ge[e][i][t(198)]), r = JSON[t(161)](JSON.stringify(A));
|
|
1845
|
+
if (nt(r, x), r[t(209)] = "MA", He(r[t(160)]), zt(r[t(160)]), rt(r), !!Kt(r[t(160)]))
|
|
1846
1846
|
try {
|
|
1847
|
-
r[t(
|
|
1847
|
+
r[t(208)] != t(179), await fetch(a, { method: t(195), headers: { "Content-Type": t(203) }, body: JSON.stringify(r) });
|
|
1848
1848
|
} catch (o) {
|
|
1849
|
-
console[t(
|
|
1849
|
+
console[t(191)](t(150), o);
|
|
1850
1850
|
}
|
|
1851
1851
|
};
|
|
1852
|
-
async function E0(x, t, e, i,
|
|
1852
|
+
async function E0(x, t, e, i, a) {
|
|
1853
1853
|
const r = _;
|
|
1854
|
-
|
|
1855
|
-
const { logDate: o, logDateUnix:
|
|
1856
|
-
A
|
|
1854
|
+
G[r(163)] = x, G[r(153)] = t, nt(A, e), i && (A[r(160)][r(135)] = i), a && (A.extra[r(168)] = a), A[r(160)][r(127)] ? A.browser[r(182)] = Gt[A[r(160)][r(127)]] || r(143) : A.browser[r(182)] = "Korea, Republic of";
|
|
1855
|
+
const { logDate: o, logDateUnix: h } = Yt();
|
|
1856
|
+
A.extra.logDate = o, A[r(160)][r(212)] = h, A[r(160)][r(197)] = h;
|
|
1857
1857
|
}
|
|
1858
1858
|
function T0(x) {
|
|
1859
|
-
const t = _, { platform: e, stage: i } =
|
|
1860
|
-
if (!
|
|
1861
|
-
const r = JSON[t(
|
|
1862
|
-
if (nt(r, x), r[t(
|
|
1859
|
+
const t = _, { platform: e, stage: i } = G, a = Ge[e]?.[i]?.report;
|
|
1860
|
+
if (!a) return !1;
|
|
1861
|
+
const r = JSON[t(161)](JSON[t(174)](A));
|
|
1862
|
+
if (nt(r, x), r[t(209)] = "MA", He(r.extra), zt(r[t(160)]), rt(r), !Kt(r[t(160)])) return !1;
|
|
1863
1863
|
try {
|
|
1864
|
-
const o = new Blob([JSON[t(
|
|
1865
|
-
return navigator
|
|
1864
|
+
const o = new Blob([JSON[t(174)](r)], { type: t(203) });
|
|
1865
|
+
return navigator[t(171)](a, o);
|
|
1866
1866
|
} catch {
|
|
1867
1867
|
return !1;
|
|
1868
1868
|
}
|
|
1869
1869
|
}
|
|
1870
|
-
|
|
1870
|
+
function Oe() {
|
|
1871
|
+
const x = ["418857atBPCq", "911hZddeD", "194XHbWBN", "#ffffff", "147UwwICA", "controlBtn", "5533143kGBoTQ", "1037435UtsRcb", "1085466CSHzNb", "dropshadow", "captionStyle", "#4299f5", "progressBar", "4lPdZyP", "#009dff", "79664rrIPtm", "1874439mDFNDE", "watermarkConfig", "all", "10inLkmk", "pay", "rgba(0, 0, 0, 0.4)", "NAVER CLOUD PLATFORM", "contain"];
|
|
1872
|
+
return Oe = function() {
|
|
1873
|
+
return x;
|
|
1874
|
+
}, Oe();
|
|
1875
|
+
}
|
|
1876
|
+
const Tt = ot;
|
|
1871
1877
|
(function(x, t) {
|
|
1872
|
-
const e =
|
|
1878
|
+
const e = ot, i = x();
|
|
1873
1879
|
for (; ; )
|
|
1874
1880
|
try {
|
|
1875
|
-
if (
|
|
1881
|
+
if (parseInt(e(438)) / 1 * (-parseInt(e(439)) / 2) + parseInt(e(437)) / 3 + parseInt(e(450)) / 4 * (-parseInt(e(444)) / 5) + parseInt(e(445)) / 6 + parseInt(e(441)) / 7 * (-parseInt(e(452)) / 8) + -parseInt(e(453)) / 9 + parseInt(e(456)) / 10 * (parseInt(e(443)) / 11) === t) break;
|
|
1876
1882
|
i.push(i.shift());
|
|
1877
1883
|
} catch {
|
|
1878
1884
|
i.push(i.shift());
|
|
1879
1885
|
}
|
|
1880
|
-
})(Oe,
|
|
1881
|
-
function Oe() {
|
|
1882
|
-
const x = ["1555690IbShhL", "all", "1602460DhJzTp", "pay", "controlBtn", "rgba(0, 0, 0, 0.4)", "156392VieQLL", "716227jlsByA", "#ffffff", "35WnYeuV", "1615500lZPmBJ", "#4299f5", "16/9", "961713SOyOpw", "4AZfBRr", "28674sANghc", "dropshadow", "captionStyle", "contain", "watermarkConfig", "#009dff", "progressBar"];
|
|
1883
|
-
return Oe = function() {
|
|
1884
|
-
return x;
|
|
1885
|
-
}, Oe();
|
|
1886
|
-
}
|
|
1886
|
+
})(Oe, 110300);
|
|
1887
1887
|
const C0 = (x = {}, t) => {
|
|
1888
|
-
const e =
|
|
1889
|
-
if (t !== e(
|
|
1890
|
-
const
|
|
1891
|
-
return x[e(
|
|
1888
|
+
const e = ot, i = { autostart: !0, muted: !1, aspectRatio: "16/9", objectFit: e(436), controls: !0, keyboardShortcut: !0, startMutedInfoNotVisible: !1, allowsPictureInPicture: !1, staysActiveInBackground: !1, screenRecordingPrevention: !1, modalFullscreen: !1, seekingPreview: !0, lang: "ko", ui: e(455), controlBtn: { play: !0, fullscreen: !0, progressBar: !0, volume: !1, times: !0, pictureInPicture: !0, setting: !0, subtitle: !0 }, progressBarColor: e(448), 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: e(435), watermarkConfig: { randPosition: !0, randPositionInterVal: 3e3, x: 10, y: 10, opacity: 0.5 }, captionStyle: { fontSize: 12, color: e(440), backgroundColor: e(458), edgeStyle: e(446) }, override: null };
|
|
1889
|
+
if (t !== e(457)) return { ...i, ...A0 };
|
|
1890
|
+
const a = { ...i, ...x };
|
|
1891
|
+
return x[e(442)] && (a[e(442)] = { ...i.controlBtn, ...x[e(442)] }), x.watermarkConfig && (a[e(454)] = { ...i.watermarkConfig, ...x[e(454)] }), x[e(447)] && (a.captionStyle = { ...i.captionStyle, ...x[e(447)] }), a.controlBtn?.[e(449)] === void 0 && (a[e(442)].progressBar = !0), a;
|
|
1892
1892
|
};
|
|
1893
|
-
function
|
|
1894
|
-
return x = x -
|
|
1893
|
+
function ot(x, t) {
|
|
1894
|
+
return x = x - 435, Oe()[x];
|
|
1895
1895
|
}
|
|
1896
|
-
const A0 = { free: !0, startMutedInfoNotVisible: !1, lowLatencyMode: !1, progressBarColor:
|
|
1897
|
-
function
|
|
1898
|
-
const x = ["
|
|
1899
|
-
return
|
|
1896
|
+
const A0 = { free: !0, startMutedInfoNotVisible: !1, lowLatencyMode: !1, progressBarColor: Tt(451), playRateSetting: [0.5, 0.75, 1, 1.5, 2], descriptionNotVisible: !0, seekingPreview: !1, controlActiveTime: 1500, ui: Tt(455), token: "", setStartTime: null, controlBtn: { play: !0, fullscreen: !0, volume: !0, times: !0, setting: !1, pictureInPicture: !1, progressBar: !0 } }, w = Wt;
|
|
1897
|
+
function Ne() {
|
|
1898
|
+
const x = ["1265174EGOnvi", "SEEKING", "boundBeforeUnload", "RATE_CHANGE", "assign", "firstPlay", "startTime", "playAttempt", "OPENING_SKIP", "handleFullscreenChange", "duration", "pause", "PLAY", "handleVisibilityChange", "errorCode", "sessionId", "firstError", "startup", "maSync", "prevQuality", "INTRO_SKIP", "round", "entries", "player_start", "handleRateChange", "REBUFFERING", "isPlainObject", "seeking", "fullscreenEnterTime", "isPlaying", "intro_skip", "620085gaJFzg", "vpeReportTimerId", "errorMessage", "visibilitychange", "handleWaiting", "log_type", "prev_track", "getTime", "forEach", "initTimeupdate", "suppressNextSeek", "handlePause", "NEXT_TRACK", "country", "loadingEnd", "lastPlaybackSpeed", "next", "url", "dropOffPosition", "boundVisibilityChange", "sendSessionBeacon", "timeupdateFocus", "ENDING_SKIP", "handleEnded", "seekStartTime", "bind", "isBounce", "handleTimeUpdate", "browser", "557557KyPVTU", "maInit", "quality", "ENDED", "3235IQqycV", "4542cxvjKT", "handleStartup", "31200VoESMF", "error", "40cKMTBP", "openingSkip", "rebuffering", "prevAction", "isEnded", "isFullscreen", "VPE", "report", "getSeconds", "ending_skip", "handleCanplay", "handleAutoSkip", "isBuffering", "extra", "getFullYear", "TIMEUPDATE_FOCUS", "ratechange", "vpeReportScheduled", "video", "handleBeforeUnload", "handleError", "handleSeeking", "visibilityState", "PAUSED", "320337DExJkM", "bufferingEnd", "beaconSent", "STARTUP", "contentDuration", "563214MIUoyb", "handleSeeked", "Korea, Republic of", "dispatchEvent", "stageData", "padStart", "speedChangeCnt", "playedTime", "fullscreenDuration", "QUALITY_CHANGE", "removeEventListener", "data", "vpe", "resetStateForNewTrack", "handlePlay", "introSkip", "isCompleted", "next_track", "reportData", "fullscreenYn", "WAITING", "seekCnt", "prevTrack", "scheduleVpeReport", "FULLSCREEN_CHANGE", "destroy", "initializeReportData", "572fNEkTk", "waiting", "PLAYER_START", "SEEKED", "ERROR", "catch", "toFixed", "getHours", "opening_skip", "PLAYING", "E0000", "handleTimeUpdateFocus", "play", "pauseCnt", "handleTrackChange", "beforeunload", "code", "prevUrl", "currentTime", "object", "TID", "prevTime", "UUID", "getMinutes", "buildSessionMetrics", "endingSkip", "state", "handleQualityChange", "nextTrack", "contentId", "now", "floor", "hidden", "nation", "actionType", "firstPlaying", "handlePlayerStart", "percent", "8TNiGuz", "then", "ended", "watchPercent", "isSeeking"];
|
|
1899
|
+
return Ne = function() {
|
|
1900
1900
|
return x;
|
|
1901
|
-
},
|
|
1901
|
+
}, Ne();
|
|
1902
1902
|
}
|
|
1903
|
-
const b = Kt;
|
|
1904
1903
|
(function(x, t) {
|
|
1905
|
-
const e =
|
|
1904
|
+
const e = Wt, i = x();
|
|
1906
1905
|
for (; ; )
|
|
1907
1906
|
try {
|
|
1908
|
-
if (
|
|
1907
|
+
if (parseInt(e(595)) / 1 + -parseInt(e(497)) / 2 + -parseInt(e(528)) / 3 * (-parseInt(e(660)) / 4) + -parseInt(e(561)) / 5 * (-parseInt(e(562)) / 6) + -parseInt(e(557)) / 7 + parseInt(e(566)) / 8 * (-parseInt(e(590)) / 9) + parseInt(e(564)) / 10 * (-parseInt(e(622)) / 11) === t) break;
|
|
1909
1908
|
i.push(i.shift());
|
|
1910
1909
|
} catch {
|
|
1911
1910
|
i.push(i.shift());
|
|
1912
1911
|
}
|
|
1913
|
-
})(
|
|
1914
|
-
|
|
1915
|
-
return x = x - 300, Pe()[x];
|
|
1916
|
-
}
|
|
1917
|
-
const At = "0p", D0 = 6e4, M0 = 1, y = { PLAYER_START: b(451), STARTUP: b(394), PLAY: "play", PAUSE: b(475), PLAYING: b(365), PAUSED: b(475), SEEKING: b(337), SEEKED: b(433), WAITING: "waiting", WAITING_END: "waitingEnd", CANPLAY: "canplay", ENDED: b(430), NEXT_TRACK: "next_track", PREV_TRACK: "prev_track", ERROR: "error", QUALITY_CHANGE: b(340), REBUFFERING: b(313), TIMEUPDATE: b(334), TIMEUPDATE_FOCUS: b(435), RATE_CHANGE: b(367), FULLSCREEN_CHANGE: "fullscreenchange", INTRO_SKIP: b(343), OPENING_SKIP: b(422), ENDING_SKIP: "ending_skip" };
|
|
1912
|
+
})(Ne, 413940);
|
|
1913
|
+
const Ct = "0p", D0 = 6e4, M0 = 1, m = { PLAYER_START: w(520), STARTUP: w(514), PLAY: w(634), PAUSE: w(508), PLAYING: "playing", PAUSED: w(508), SEEKING: w(524), SEEKED: "seeked", WAITING: w(623), WAITING_END: "waitingEnd", CANPLAY: "canplay", ENDED: w(662), NEXT_TRACK: w(612), PREV_TRACK: w(534), ERROR: w(565), QUALITY_CHANGE: "quality_change", REBUFFERING: w(568), TIMEUPDATE: "timeupdate", TIMEUPDATE_FOCUS: w(549), RATE_CHANGE: w(582), FULLSCREEN_CHANGE: "fullscreenchange", INTRO_SKIP: w(527), OPENING_SKIP: w(630), ENDING_SKIP: w(575) };
|
|
1918
1914
|
class R0 {
|
|
1919
|
-
[
|
|
1920
|
-
|
|
1921
|
-
|
|
1915
|
+
[w(613)];
|
|
1916
|
+
stageData;
|
|
1917
|
+
state;
|
|
1922
1918
|
beaconSent = !1;
|
|
1923
|
-
|
|
1924
|
-
[
|
|
1919
|
+
boundBeforeUnload;
|
|
1920
|
+
[w(547)];
|
|
1925
1921
|
vpeReportScheduled = !1;
|
|
1926
|
-
[
|
|
1927
|
-
|
|
1922
|
+
[w(529)] = null;
|
|
1923
|
+
VPE_REPORT_DELAY_MS = 3e3;
|
|
1928
1924
|
constructor(t, e, i) {
|
|
1929
|
-
const
|
|
1930
|
-
this[
|
|
1925
|
+
const a = w;
|
|
1926
|
+
this[a(599)] = { platform: t, stage: e, sync: !1, syncResult: {} }, this[a(613)] = { video: {}, browser: {}, device: {}, connection: {}, screen: {}, player_version: "latest", extra: { UUID: null, TID: null, sessionId: null, playerType: a(572), playAttempt: !1 }, log_type: a(607), privacy: { cookie_enabled: !0 } }, this[a(648)] = { 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: Ct, pauseCnt: 0, seekCnt: 0, speedChangeCnt: 0, lastPlaybackSpeed: 1, fullscreenYn: !1, fullscreenEnterTime: 0, fullscreenDuration: 0, contentId: null, contentDuration: 0, seekStartTime: 0, suppressNextSeek: !1 }, this[a(621)](i), this[a(599)], this[a(499)] = this[a(585)][a(553)](this), this[a(547)] = this[a(510)][a(553)](this), window.addEventListener("beforeunload", this[a(499)]), document.addEventListener(a(531), this[a(547)]);
|
|
1931
1927
|
}
|
|
1932
|
-
|
|
1933
|
-
const e =
|
|
1934
|
-
this[e(
|
|
1928
|
+
[w(621)](t) {
|
|
1929
|
+
const e = w;
|
|
1930
|
+
this[e(613)] = { ...this[e(613)], ...t }, this[e(613)][e(579)][e(655)] ? this[e(613)][e(556)][e(541)] = Gt[this.reportData[e(579)].nation] || e(597) : this.reportData[e(556)][e(541)] = e(597);
|
|
1935
1931
|
}
|
|
1936
|
-
|
|
1937
|
-
const t =
|
|
1938
|
-
return { logDate:
|
|
1932
|
+
[w(535)]() {
|
|
1933
|
+
const t = w, e = /* @__PURE__ */ new Date(), i = (o) => String(o)[t(600)](2, "0"), a = e[t(580)]() + "-" + i(e.getMonth() + 1) + "-" + i(e.getDate()) + " " + i(e[t(629)]()) + ":" + i(e[t(645)]()) + ":" + i(e[t(574)]()), r = Math[t(653)](e.getTime() / 1e3);
|
|
1934
|
+
return { logDate: a, logDateUnix: r };
|
|
1939
1935
|
}
|
|
1940
|
-
[
|
|
1941
|
-
|
|
1942
|
-
return typeof t === e(396) && t !== null && !Array[e(345)](t);
|
|
1936
|
+
[w(523)](t) {
|
|
1937
|
+
return typeof t === w(641) && t !== null && !Array.isArray(t);
|
|
1943
1938
|
}
|
|
1944
|
-
async [
|
|
1945
|
-
const i =
|
|
1946
|
-
if (this
|
|
1947
|
-
const { logDate:
|
|
1948
|
-
for (const ee of
|
|
1949
|
-
|
|
1950
|
-
const
|
|
1951
|
-
this[i(
|
|
1939
|
+
async [w(573)](t, e) {
|
|
1940
|
+
const i = w;
|
|
1941
|
+
if (this[i(648)][i(513)]) return;
|
|
1942
|
+
const { logDate: a, logDateUnix: r } = this[i(535)](), o = Date[i(652)](), h = this[i(648)][i(643)] > 0 ? o - this.state.prevTime : 0, p = h, y = e && typeof e === i(641) && e[i(606)] ? e.data : {}, v = [i(651), i(594), i(659), "watch_percent", i(495), i(611), i(554), i(635), i(616), "speedChangeCnt", i(543), i(614), i(603), i(546), "seekedTime", i(511), i(530), "code", "message"], E = {};
|
|
1943
|
+
for (const ee of v)
|
|
1944
|
+
y[ee] !== void 0 && (E[ee] = y[ee]);
|
|
1945
|
+
const M = this.state[i(594)], Y = M > 0 ? Math[i(653)](M / 1e3) : this.reportData[i(579)].duration || 0, U = this[i(613)][i(579)].currentTime || 0, B = Y > 0 ? Math.round(U / Y * 1e4) / 100 : 0, we = { ...this[i(613)], video: this[i(613)].video, percent: B, extra: { ...this[i(613)][i(579)], actionType: t, actionDuration: p ? p[i(628)](2) : 0, duration: Y, contentDuration: M, percent: B, watch_percent: B, logDate: a, logDateUnix: r, ...E } };
|
|
1946
|
+
this[i(648)][i(643)] = o, await _0(we);
|
|
1952
1947
|
}
|
|
1953
|
-
async [
|
|
1954
|
-
const e =
|
|
1955
|
-
!this
|
|
1948
|
+
async [w(558)](t) {
|
|
1949
|
+
const e = w;
|
|
1950
|
+
!this[e(613)][e(579)][e(512)] && (this.reportData.extra.sessionId = Et(), this.reportData[e(579)][e(642)] = Se(), this[e(613)][e(579)][e(644)] = Se()), t?.[e(579)] && typeof t[e(579)] == "object" && (t[e(579)].sessionId = this[e(613)][e(579)][e(512)], Object[e(501)](this[e(613)].extra, t[e(579)])), t?.[e(584)] && typeof t[e(584)] === e(641) && (this.reportData.video = { ...this[e(613)][e(584)], ...t[e(584)] });
|
|
1956
1951
|
}
|
|
1957
|
-
[
|
|
1958
|
-
const t =
|
|
1959
|
-
this.vpeReportScheduled || (this[t(
|
|
1952
|
+
[w(618)]() {
|
|
1953
|
+
const t = w;
|
|
1954
|
+
this.vpeReportScheduled || (this[t(583)] = !0, this[t(529)] = setTimeout(() => {
|
|
1960
1955
|
const e = t;
|
|
1961
|
-
this[e(
|
|
1962
|
-
const i = JSON
|
|
1963
|
-
i
|
|
1964
|
-
const { logDate:
|
|
1965
|
-
i
|
|
1956
|
+
this[e(529)] = null;
|
|
1957
|
+
const i = JSON.parse(JSON.stringify(this.reportData));
|
|
1958
|
+
i[e(533)] = e(607);
|
|
1959
|
+
const { logDate: a, logDateUnix: r } = this[e(535)]();
|
|
1960
|
+
i.extra = i.extra || {}, i.extra.logDate = a, i[e(579)].logDateUnix = r, i[e(579)][e(656)] = i[e(579)][e(656)] || "vpe_init", k0(i)[e(627)](() => {
|
|
1966
1961
|
});
|
|
1967
|
-
}, this
|
|
1962
|
+
}, this.VPE_REPORT_DELAY_MS));
|
|
1968
1963
|
}
|
|
1969
|
-
async [
|
|
1970
|
-
const e =
|
|
1971
|
-
!t || typeof t
|
|
1964
|
+
async [w(515)](t) {
|
|
1965
|
+
const e = w;
|
|
1966
|
+
!t || typeof t !== e(641) || Object[e(519)](t)[e(536)](([i, a]) => {
|
|
1972
1967
|
const r = e;
|
|
1973
|
-
this[r(
|
|
1974
|
-
const
|
|
1975
|
-
|
|
1976
|
-
}) :
|
|
1968
|
+
this[r(523)](a) ? Object[r(519)](a)[r(536)](([o, h]) => {
|
|
1969
|
+
const p = r;
|
|
1970
|
+
h != null && (this[p(613)][i][o] = h);
|
|
1971
|
+
}) : a != null && (this[r(613)][i] = a);
|
|
1977
1972
|
});
|
|
1978
1973
|
}
|
|
1979
|
-
|
|
1980
|
-
const e =
|
|
1981
|
-
switch (o && o > 0 && (this
|
|
1982
|
-
case
|
|
1983
|
-
this
|
|
1974
|
+
[w(598)](t) {
|
|
1975
|
+
const e = w, { type: i, data: a } = t, r = { url: a?.[e(545)] || this[e(648)][e(639)], type: a?.type, quality: a?.[e(559)] || this[e(648)][e(516)], data: a }, o = a?.[e(579)]?.duration;
|
|
1976
|
+
switch (o && o > 0 && (this[e(648)][e(594)] = Math[e(518)](o * 1e3)), i) {
|
|
1977
|
+
case m.PLAYER_START:
|
|
1978
|
+
this.handlePlayerStart(r, a);
|
|
1984
1979
|
break;
|
|
1985
|
-
case
|
|
1986
|
-
this[e(
|
|
1980
|
+
case m[e(593)]:
|
|
1981
|
+
this[e(563)](r, a);
|
|
1987
1982
|
break;
|
|
1988
|
-
case
|
|
1989
|
-
this
|
|
1983
|
+
case m[e(509)]:
|
|
1984
|
+
this[e(609)](r, a);
|
|
1990
1985
|
break;
|
|
1991
|
-
case
|
|
1992
|
-
this[e(
|
|
1986
|
+
case m.PAUSE:
|
|
1987
|
+
this[e(539)](r, a);
|
|
1993
1988
|
break;
|
|
1994
|
-
case
|
|
1995
|
-
this[e(
|
|
1989
|
+
case m.TIMEUPDATE:
|
|
1990
|
+
this[e(555)](r, a);
|
|
1996
1991
|
break;
|
|
1997
|
-
case
|
|
1998
|
-
this[e(
|
|
1992
|
+
case m[e(581)]:
|
|
1993
|
+
this[e(633)](r, a);
|
|
1999
1994
|
break;
|
|
2000
|
-
case
|
|
2001
|
-
this[e(
|
|
1995
|
+
case m[e(498)]:
|
|
1996
|
+
this[e(587)](r, a);
|
|
2002
1997
|
break;
|
|
2003
|
-
case
|
|
2004
|
-
this[e(
|
|
1998
|
+
case m[e(625)]:
|
|
1999
|
+
this[e(596)](r, a);
|
|
2005
2000
|
break;
|
|
2006
|
-
case
|
|
2007
|
-
case
|
|
2008
|
-
this[e(
|
|
2001
|
+
case m[e(615)]:
|
|
2002
|
+
case "bufferingStart":
|
|
2003
|
+
this[e(532)](r, a);
|
|
2009
2004
|
break;
|
|
2010
|
-
case
|
|
2011
|
-
case e(
|
|
2012
|
-
case e(
|
|
2013
|
-
this[e(
|
|
2005
|
+
case m.WAITING_END:
|
|
2006
|
+
case e(591):
|
|
2007
|
+
case e(542):
|
|
2008
|
+
this[e(576)](r, a);
|
|
2014
2009
|
break;
|
|
2015
|
-
case
|
|
2016
|
-
this[e(
|
|
2010
|
+
case m.CANPLAY:
|
|
2011
|
+
this[e(576)](r, a);
|
|
2017
2012
|
break;
|
|
2018
|
-
case
|
|
2019
|
-
this
|
|
2013
|
+
case m[e(560)]:
|
|
2014
|
+
this[e(551)](r, a);
|
|
2020
2015
|
break;
|
|
2021
|
-
case e(
|
|
2022
|
-
case e(
|
|
2023
|
-
this[e(
|
|
2016
|
+
case e(650):
|
|
2017
|
+
case e(544):
|
|
2018
|
+
this[e(636)](m[e(540)], r, a);
|
|
2024
2019
|
break;
|
|
2025
|
-
case e(
|
|
2020
|
+
case e(617):
|
|
2026
2021
|
case "prev":
|
|
2027
|
-
this[e(
|
|
2022
|
+
this[e(636)](m.PREV_TRACK, r, a);
|
|
2028
2023
|
break;
|
|
2029
|
-
case
|
|
2030
|
-
this[e(
|
|
2024
|
+
case m.ERROR:
|
|
2025
|
+
this[e(586)](r, a);
|
|
2031
2026
|
break;
|
|
2032
|
-
case
|
|
2033
|
-
this.handleQualityChange(r,
|
|
2027
|
+
case m[e(604)]:
|
|
2028
|
+
this.handleQualityChange(r, a);
|
|
2034
2029
|
break;
|
|
2035
|
-
case
|
|
2036
|
-
this[e(
|
|
2030
|
+
case m[e(500)]:
|
|
2031
|
+
this[e(521)](r, a);
|
|
2037
2032
|
break;
|
|
2038
|
-
case
|
|
2039
|
-
this[e(
|
|
2033
|
+
case m[e(619)]:
|
|
2034
|
+
this[e(506)](r, a);
|
|
2040
2035
|
break;
|
|
2041
|
-
case e(
|
|
2042
|
-
this[e(
|
|
2036
|
+
case e(610):
|
|
2037
|
+
this[e(577)](m[e(517)], r, a);
|
|
2043
2038
|
break;
|
|
2044
|
-
case e(
|
|
2045
|
-
this.handleAutoSkip(
|
|
2039
|
+
case e(567):
|
|
2040
|
+
this.handleAutoSkip(m[e(505)], r, a);
|
|
2046
2041
|
break;
|
|
2047
|
-
case e(
|
|
2048
|
-
this.handleAutoSkip(
|
|
2042
|
+
case e(647):
|
|
2043
|
+
this.handleAutoSkip(m[e(550)], r, a);
|
|
2049
2044
|
break;
|
|
2050
2045
|
}
|
|
2051
2046
|
}
|
|
2052
|
-
[
|
|
2053
|
-
const
|
|
2054
|
-
this[
|
|
2047
|
+
[w(577)](t, e, i) {
|
|
2048
|
+
const a = w;
|
|
2049
|
+
this.state[a(538)] = !0, this.report(t, { ...e, data: i });
|
|
2055
2050
|
}
|
|
2056
|
-
|
|
2057
|
-
const i =
|
|
2058
|
-
!this[i(
|
|
2051
|
+
[w(658)](t, e) {
|
|
2052
|
+
const i = w;
|
|
2053
|
+
!this[i(613)][i(579)][i(512)] && (this[i(613)][i(579)][i(512)] = Et(), this[i(613)].extra[i(642)] = Se(), this.reportData.extra[i(644)] = Se()), this[i(648)].startTime = Date[i(652)](), this[i(648)].prevTime = this[i(648)][i(503)], this[i(573)](m[i(624)], { ...t, data: e });
|
|
2059
2054
|
}
|
|
2060
|
-
|
|
2061
|
-
const i =
|
|
2062
|
-
if (this[i(
|
|
2063
|
-
const
|
|
2064
|
-
|
|
2055
|
+
handleStartup(t, e) {
|
|
2056
|
+
const i = w;
|
|
2057
|
+
if (this.state[i(657)]) {
|
|
2058
|
+
const a = e?.extra || e || {};
|
|
2059
|
+
a?.[i(651)] && (this[i(648)][i(651)] = a[i(651)]), this[i(648)][i(526)] = !0, this.report(m.STARTUP, { ...t, data: { ...e, contentId: this.state[i(651)], contentDuration: this.state[i(594)] } }), this[i(648)][i(657)] = !1, this[i(618)]();
|
|
2065
2060
|
}
|
|
2066
2061
|
}
|
|
2067
|
-
[
|
|
2068
|
-
const i =
|
|
2069
|
-
this[i(
|
|
2062
|
+
[w(609)](t, e) {
|
|
2063
|
+
const i = w;
|
|
2064
|
+
this[i(648)][i(526)] || (this.reportData[i(579)][i(602)] = e?.[i(602)], this[i(613)][i(579)][i(659)] = e?.[i(659)], this[i(648)][i(526)] = !0, this[i(613)][i(579)][i(504)] = !0, this.state[i(502)] && (this[i(648)].firstPlay = !1), this[i(618)](), this[i(648)].prevAction === m.PAUSED && this[i(573)](m.PLAYING, { ...t, data: e }), this[i(648)][i(569)] = m[i(631)]);
|
|
2070
2065
|
}
|
|
2071
|
-
[
|
|
2072
|
-
const i =
|
|
2073
|
-
this[i(
|
|
2066
|
+
[w(539)](t, e) {
|
|
2067
|
+
const i = w;
|
|
2068
|
+
this.state[i(496)] || this.state[i(578)] || !this[i(648)].isPlaying || (this[i(648)][i(635)]++, this[i(648)][i(526)] = !1, this[i(573)](m[i(589)], { ...t, data: { ...e, pauseCnt: this.state[i(635)] } }), this[i(648)].prevAction = m[i(589)]);
|
|
2074
2069
|
}
|
|
2075
|
-
|
|
2076
|
-
const i =
|
|
2077
|
-
this[i(
|
|
2070
|
+
[w(555)](t, e) {
|
|
2071
|
+
const i = w;
|
|
2072
|
+
this[i(648)].isPlaying = !0, this[i(613)][i(579)][i(504)] = !0, !(this[i(613)][i(579)].currentTime < M0) && (this[i(648)][i(526)] && Date[i(652)]() - this[i(648)][i(643)] > D0 && this.report(m[i(631)], { ...t, data: e }), this[i(648)][i(639)] = t[i(545)] || "", this[i(648)][i(516)] = t[i(559)] || Ct);
|
|
2078
2073
|
}
|
|
2079
|
-
[
|
|
2080
|
-
const i =
|
|
2081
|
-
this[i(
|
|
2074
|
+
[w(633)](t, e) {
|
|
2075
|
+
const i = w;
|
|
2076
|
+
this.reportData.extra[i(640)] > 0 && (this[i(573)](m[i(631)], { ...t, data: e }), this.state[i(537)] = !0);
|
|
2082
2077
|
}
|
|
2083
|
-
[
|
|
2084
|
-
const i =
|
|
2085
|
-
this[i(
|
|
2078
|
+
[w(587)](t, e) {
|
|
2079
|
+
const i = w;
|
|
2080
|
+
this[i(648)][i(538)] || this[i(648)].isSeeking || (this.state[i(616)]++, this[i(648)].isSeeking = !0, this[i(648)].seekStartTime = Date[i(652)](), this[i(648)].isPlaying ? this[i(573)](m[i(631)], { ...t, data: e }) : this[i(648)][i(569)] === m[i(589)] && this.report(m[i(589)], { ...t, data: e }), this.state[i(569)] = m.SEEKING);
|
|
2086
2081
|
}
|
|
2087
|
-
|
|
2088
|
-
const i =
|
|
2089
|
-
if (this
|
|
2090
|
-
this[i(
|
|
2082
|
+
handleSeeked(t, e) {
|
|
2083
|
+
const i = w;
|
|
2084
|
+
if (this[i(648)][i(538)]) {
|
|
2085
|
+
this[i(648)].suppressNextSeek = !1;
|
|
2091
2086
|
return;
|
|
2092
2087
|
}
|
|
2093
|
-
if (!this[i(
|
|
2094
|
-
const
|
|
2095
|
-
this[i(
|
|
2088
|
+
if (!this[i(648)][i(496)]) return;
|
|
2089
|
+
const a = this.state[i(552)] > 0 ? Date.now() - this[i(648)].seekStartTime : 0;
|
|
2090
|
+
this[i(648)][i(552)] = 0, this.state[i(496)] = !1, this.report(m.SEEKING, { ...t, data: { ...e || {}, seekedTime: a } }), this.state[i(569)] = this.state[i(526)] ? m.PLAYING : m[i(589)];
|
|
2096
2091
|
}
|
|
2097
|
-
|
|
2098
|
-
const i =
|
|
2099
|
-
this[i(
|
|
2092
|
+
handleWaiting(t, e) {
|
|
2093
|
+
const i = w;
|
|
2094
|
+
this[i(648)][i(496)] || this.state.isBuffering || (this[i(648)][i(578)] = !0, this[i(648)][i(526)] && this[i(573)](m[i(631)], { ...t, data: e }), this.state[i(569)] = m[i(522)]);
|
|
2100
2095
|
}
|
|
2101
|
-
|
|
2102
|
-
const i =
|
|
2103
|
-
this
|
|
2096
|
+
handleCanplay(t, e) {
|
|
2097
|
+
const i = w;
|
|
2098
|
+
this[i(648)][i(578)] && (this[i(648)][i(578)] = !1, this[i(573)](m[i(522)], { ...t, data: e }), this[i(648)].prevAction = this[i(648)][i(526)] ? m[i(631)] : m.PAUSED);
|
|
2104
2099
|
}
|
|
2105
|
-
|
|
2106
|
-
const t =
|
|
2107
|
-
if (this[t(
|
|
2108
|
-
this[t(
|
|
2109
|
-
const { logDate: e, logDateUnix: i } = this
|
|
2110
|
-
T0(
|
|
2100
|
+
[w(548)]() {
|
|
2101
|
+
const t = w;
|
|
2102
|
+
if (this[t(592)] || this[t(648)].isEnded || this[t(648)][t(513)] || !this[t(613)][t(579)][t(644)] || !this[t(613)].extra.TID) return;
|
|
2103
|
+
this[t(592)] = !0;
|
|
2104
|
+
const { logDate: e, logDateUnix: i } = this[t(535)](), a = Date[t(652)](), r = this[t(648)].prevTime > 0 ? a - this[t(648)].prevTime : 0, o = (this[t(613)][t(579)][t(640)] || 0) * 1e3, h = this[t(648)][t(594)], p = h > 0 ? Math.round(o / h * 1e4) / 100 : 0, y = this[t(613)][t(579)][t(602)] || 0, v = { ...this.reportData, video: this[t(613)].video, percent: p, extra: { ...this.reportData.extra, actionType: t(662), actionDuration: r ? r[t(628)](2) : 0, duration: h > 0 ? Math[t(653)](h / 1e3) : this[t(613)][t(579)].duration || 0, logDate: e, logDateUnix: i, contentId: this[t(648)][t(651)], contentDuration: h, percent: p, watch_percent: p, watchPercent: p, isCompleted: p >= 95, isBounce: y < 1e4, pauseCnt: this[t(648)].pauseCnt, seekCnt: this.state[t(616)], speedChangeCnt: this[t(648)][t(601)], lastPlaybackSpeed: this[t(648)][t(543)], fullscreenYn: this[t(648)][t(614)], fullscreenDuration: this[t(648)][t(603)] + (this.state[t(525)] > 0 ? Date[t(652)]() - this[t(648)][t(525)] : 0), dropOffPosition: Math[t(518)](o) } };
|
|
2105
|
+
T0(v);
|
|
2111
2106
|
}
|
|
2112
|
-
|
|
2113
|
-
this
|
|
2107
|
+
handleBeforeUnload() {
|
|
2108
|
+
this[w(548)]();
|
|
2114
2109
|
}
|
|
2115
|
-
|
|
2116
|
-
const t =
|
|
2117
|
-
document
|
|
2110
|
+
[w(510)]() {
|
|
2111
|
+
const t = w;
|
|
2112
|
+
document[t(588)] === t(654) && this.sendSessionBeacon();
|
|
2118
2113
|
}
|
|
2119
|
-
[
|
|
2120
|
-
const t =
|
|
2121
|
-
window
|
|
2114
|
+
[w(620)]() {
|
|
2115
|
+
const t = w;
|
|
2116
|
+
window[t(605)](t(637), this.boundBeforeUnload), document[t(605)](t(531), this[t(547)]), this[t(529)] !== null && (clearTimeout(this.vpeReportTimerId), this[t(529)] = null);
|
|
2122
2117
|
}
|
|
2123
|
-
[
|
|
2124
|
-
const i =
|
|
2125
|
-
let
|
|
2126
|
-
return this[i(
|
|
2118
|
+
[w(646)](t, e) {
|
|
2119
|
+
const i = w, a = e?.[i(579)] || e || {}, r = (a?.[i(640)] || 0) * 1e3, o = this.state[i(594)], h = o > 0 ? Math[i(518)](r / o * 1e4) / 100 : 0, p = this[i(613)][i(579)][i(602)] || 0;
|
|
2120
|
+
let y = this[i(648)].fullscreenDuration;
|
|
2121
|
+
return this.state[i(525)] > 0 && (y += Date[i(652)]() - this.state.fullscreenEnterTime), { ...t, data: { ...e, contentId: this[i(648)].contentId, duration: o > 0 ? Math[i(653)](o / 1e3) : a?.[i(507)] || 0, contentDuration: o, percent: h, watch_percent: h, watchPercent: h, isCompleted: h >= 95, isBounce: p < 1e4, pauseCnt: this[i(648)][i(635)], seekCnt: this[i(648)][i(616)], speedChangeCnt: this[i(648)].speedChangeCnt, lastPlaybackSpeed: this.state[i(543)], fullscreenYn: this[i(648)][i(614)], fullscreenDuration: y, dropOffPosition: Math[i(518)](r) } };
|
|
2127
2122
|
}
|
|
2128
|
-
|
|
2129
|
-
const i =
|
|
2130
|
-
this[i(
|
|
2123
|
+
handleEnded(t, e) {
|
|
2124
|
+
const i = w;
|
|
2125
|
+
this[i(648)][i(570)] || (this[i(648)][i(570)] = !0, this.state[i(526)] = !1, this[i(592)] = !0, this[i(648)][i(569)] !== m[i(589)] && this[i(573)](this[i(648)][i(569)] || m[i(631)], { ...t, data: e }), this[i(573)](m.ENDED, this[i(646)](t, e)));
|
|
2131
2126
|
}
|
|
2132
2127
|
handleTrackChange(t, e, i) {
|
|
2133
|
-
const
|
|
2134
|
-
this[
|
|
2135
|
-
const r =
|
|
2136
|
-
this[r(
|
|
2137
|
-
this
|
|
2128
|
+
const a = w;
|
|
2129
|
+
this[a(573)](this[a(648)].prevAction || m[a(631)], this[a(646)](e, i)).then(() => {
|
|
2130
|
+
const r = a;
|
|
2131
|
+
this[r(573)](t, { ...e, data: i })[r(661)](() => {
|
|
2132
|
+
this.resetStateForNewTrack();
|
|
2138
2133
|
});
|
|
2139
2134
|
});
|
|
2140
2135
|
}
|
|
2141
2136
|
handleError(t, e) {
|
|
2142
|
-
const i =
|
|
2143
|
-
this[i(
|
|
2144
|
-
const
|
|
2145
|
-
this[i(
|
|
2137
|
+
const i = w;
|
|
2138
|
+
this[i(648)][i(569)] && !this[i(648)][i(657)] && this.report(this[i(648)][i(569)], this[i(646)](t, e));
|
|
2139
|
+
const a = { errorCode: e?.[i(511)] || e?.extra?.[i(511)] || e?.[i(638)] || i(632), errorMessage: e?.[i(530)] || e?.extra?.errorMessage || e?.message || "Unknown Error" };
|
|
2140
|
+
this[i(573)](m[i(626)], { ...t, data: { ...e, ...a } }), this.state[i(513)] = !0;
|
|
2146
2141
|
}
|
|
2147
|
-
[
|
|
2148
|
-
const i =
|
|
2149
|
-
this[i(
|
|
2142
|
+
[w(649)](t, e) {
|
|
2143
|
+
const i = w;
|
|
2144
|
+
this[i(648)][i(569)] && !this[i(648)][i(496)] && !this[i(648)][i(578)] && !this.state[i(657)] && (this[i(648)].isSeeking = !0, this[i(573)](this[i(648)][i(569)], { ...t, data: e }), this[i(648)][i(569)] = m[i(498)]);
|
|
2150
2145
|
}
|
|
2151
|
-
|
|
2152
|
-
const i =
|
|
2153
|
-
|
|
2146
|
+
[w(521)](t, e) {
|
|
2147
|
+
const i = w, a = e?.playbackRate || e?.[i(579)]?.playbackRate || 1;
|
|
2148
|
+
a !== this.state[i(543)] && (this[i(648)][i(601)]++, this[i(648)][i(543)] = a, this[i(573)](m[i(500)], { ...t, data: { ...e, speedChangeCnt: this[i(648)][i(601)], lastPlaybackSpeed: a } }));
|
|
2154
2149
|
}
|
|
2155
|
-
[
|
|
2156
|
-
const i =
|
|
2157
|
-
e?.isFullscreen || e?.[i(
|
|
2150
|
+
[w(506)](t, e) {
|
|
2151
|
+
const i = w;
|
|
2152
|
+
e?.isFullscreen || e?.[i(579)]?.[i(571)] ? (this[i(648)][i(614)] = !0, this[i(648)][i(525)] = Date[i(652)]()) : this[i(648)][i(525)] > 0 && (this.state[i(603)] += Date[i(652)]() - this[i(648)][i(525)], this[i(648)][i(525)] = 0), this.report(m[i(619)], { ...t, data: { ...e, fullscreenYn: this[i(648)][i(614)], fullscreenDuration: this[i(648)][i(603)] } });
|
|
2158
2153
|
}
|
|
2159
|
-
[
|
|
2160
|
-
const t =
|
|
2161
|
-
this[t(
|
|
2154
|
+
[w(608)]() {
|
|
2155
|
+
const t = w;
|
|
2156
|
+
this[t(648)][t(569)] = null, this[t(648)][t(526)] = !1, this[t(648)].prevTime = 0, this[t(648)].firstPlaying = !0, this.state[t(537)] = !1, this[t(648)][t(635)] = 0, this[t(648)][t(616)] = 0, this.state[t(601)] = 0, this[t(648)].lastPlaybackSpeed = 1, this[t(648)].fullscreenYn = !1, this[t(648)][t(525)] = 0, this.state[t(603)] = 0, this[t(648)][t(651)] = null, this[t(648)].contentDuration = 0;
|
|
2162
2157
|
}
|
|
2163
2158
|
}
|
|
2164
|
-
|
|
2159
|
+
function Wt(x, t) {
|
|
2160
|
+
return x = x - 495, Ne()[x];
|
|
2161
|
+
}
|
|
2162
|
+
const S = qt;
|
|
2165
2163
|
(function(x, t) {
|
|
2166
|
-
const e =
|
|
2164
|
+
const e = qt, i = x();
|
|
2167
2165
|
for (; ; )
|
|
2168
2166
|
try {
|
|
2169
|
-
if (parseInt(e(
|
|
2167
|
+
if (parseInt(e(410)) / 1 * (-parseInt(e(514)) / 2) + parseInt(e(421)) / 3 + parseInt(e(492)) / 4 + -parseInt(e(524)) / 5 + parseInt(e(464)) / 6 + -parseInt(e(404)) / 7 * (-parseInt(e(438)) / 8) + parseInt(e(511)) / 9 * (-parseInt(e(573)) / 10) === t) break;
|
|
2170
2168
|
i.push(i.shift());
|
|
2171
2169
|
} catch {
|
|
2172
2170
|
i.push(i.shift());
|
|
2173
2171
|
}
|
|
2174
|
-
})(
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
return Ne = function() {
|
|
2172
|
+
})(Ue, 992885);
|
|
2173
|
+
function Ue() {
|
|
2174
|
+
const x = ["prevTrack", "indexOf", "report", "errorState", "length", "accessKey", "mobile", "serverConfig", "Safari", "meta", "play", "statusText", "ready", "7707188AWqrgm", "errorMessage", "round", "errorCode", "maManager", "nextTrack", "trim", "test", "poster", "setErrorRun", "startsWith", "isDev", "dispatchEvent", "controlBtn", "access_key", "startup", "stage", "isFullscreen", "quality", "3332898zQurXb", "text", "VPE Player: accessKey 또는 appId가 없어 키 인증을 건너뜁니다.", "80452jBBVhH", "fullscreenchange", "undefined", "auto", "getPlaylist", "title", "Whale", "errorInfo", "vendor", "hlsPaser", "1005875heajTf", "webkitConnection", "device", "result", "split", "hasFirstPlayReported", "deviceMemory", "ratechange", "performKeyCheck", "getValidatedOptions", "data", "isPaidTier", "sync", "startTimeAt", "API", "translator", "contentId", "E0001", "kakao", "code", ".mpd", "connection", "playerStartTimeMs", "error", "screen", "Unknown", "href", "Content-Type", ".m3u8", "appId", "maSync", "kakaotalk", "model", "url", " / ", "browser", "aHR0cHM6Ly9wYXBpLnZwZS5nb3YtbnRydXNzLmNvbS9wbGF5ZXIvY29uZmln", "live", "navigator", "vpe", "version", "protocol", "E0002", "playerVersion", "toLowerCase", "watermarkConfig", "player_name", "port", "#EXT-X-STREAM-INF", "70ZrWFzE", "aHR0cHM6Ly9wYXBpLmJldGEtdnBlLm5hdmVybmNwLmNvbS9wbGF5ZXIvY29uZmln", "match", "warn", "videoWidth", "join", "Naver webview", "toString", "aHR0cHM6Ly9sb2cuYmV0YS12cGUuZ292LW50cnVzcy5jb20vc3RhdHM=", "maUse", "getVideoProtocol", "63lhBdkf", "updateTranslator", "userAgent", "isInitialized", "width", "getResult", "28HANbuo", "player_version", "json", "Other", "maxTouchPoints", "effectiveType", "playerName", "config", "aHR0cHM6Ly9wYXBpLmJldGEtdnBlLmdvdi1udHJ1c3MuY29tL3BsYXllci9jb25maWc=", "name", "?preview=true", "914553qKhYUX", "isArray", "stateChange", "getBrowserInfo", "userAgentData", "location", "next", "aHR0cHM6Ly9sb2cudnBlLmdvdi1udHJ1c3MuY29tL3N0YXRz", "language", "now", "naver", "VPE", "stringify", "Kakao webview", "playerInfo", "domain", "pricing", "1089416RDWuIw", "Edge", "origin", "host", "playbackRate", "application/json", "filter", "VOD", "m3u8", "saveData", "LIVE", "prev", "aHR0cHM6Ly9wYXBpLnZwZS5uYXZlcm5jcC5jb20vcGxheWVyL2NvbmZpZw==", "playlist", "includes", "rtt", "playerStateReport", "dash", "type", "slice", "pay", "status", "height", "lang", "some", "reduce", "8732406LDcKHW", "tablet", "video", "options", "POST", "whale", "getElapsedMilliseconds", "ios", "incomingType", "downlink", "platform", "videoHeight", "hardwareConcurrency", "UAParser", "object"];
|
|
2175
|
+
return Ue = function() {
|
|
2179
2176
|
return x;
|
|
2180
|
-
},
|
|
2177
|
+
}, Ue();
|
|
2181
2178
|
}
|
|
2182
|
-
function
|
|
2183
|
-
return x = x -
|
|
2179
|
+
function qt(x, t) {
|
|
2180
|
+
return x = x - 399, Ue()[x];
|
|
2184
2181
|
}
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2182
|
+
const P0 = { gov: { prod: { config: S(560), report: S(428) }, beta: { config: S(418), report: S(401) } }, pub: { prod: { config: S(450), report: "aHR0cHM6Ly9sb2cudnBlLm5hdmVybmNwLmNvbS9zdGF0cw==" }, beta: { config: S(574), report: "aHR0cHM6Ly9sb2cuYmV0YS12cGUubmF2ZXJuY3AuY29tL3N0YXRz" } } };
|
|
2183
|
+
let At = [];
|
|
2184
|
+
const O0 = (x) => {
|
|
2185
|
+
const t = S;
|
|
2188
2186
|
try {
|
|
2189
2187
|
return atob(x);
|
|
2190
2188
|
} catch (e) {
|
|
2191
|
-
return console[t(
|
|
2189
|
+
return console[t(547)]("Base64 decoding failed:", e), "";
|
|
2192
2190
|
}
|
|
2193
2191
|
};
|
|
2194
2192
|
class U0 {
|
|
2195
|
-
[
|
|
2196
|
-
[
|
|
2197
|
-
|
|
2198
|
-
[
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
[
|
|
2202
|
-
|
|
2203
|
-
[
|
|
2204
|
-
[
|
|
2205
|
-
[
|
|
2206
|
-
[
|
|
2207
|
-
|
|
2208
|
-
[
|
|
2209
|
-
constructor({ accessKey: t, appId: e, platform: i, stage:
|
|
2210
|
-
const
|
|
2211
|
-
this[
|
|
2193
|
+
[S(486)] = {};
|
|
2194
|
+
[S(435)] = null;
|
|
2195
|
+
accessKey;
|
|
2196
|
+
[S(553)];
|
|
2197
|
+
[S(474)];
|
|
2198
|
+
stage;
|
|
2199
|
+
[S(503)];
|
|
2200
|
+
translator = Xe();
|
|
2201
|
+
[S(482)];
|
|
2202
|
+
[S(496)] = null;
|
|
2203
|
+
[S(537)] = null;
|
|
2204
|
+
[S(472)] = null;
|
|
2205
|
+
hasFirstPlayReported = !1;
|
|
2206
|
+
[S(546)] = 0;
|
|
2207
|
+
constructor({ accessKey: t, appId: e, platform: i, stage: a, isDev: r = !1, language: o }) {
|
|
2208
|
+
const h = S;
|
|
2209
|
+
this[h(484)] = t, this[h(553)] = e || location[h(440)], this[h(474)] = i, this.stage = a, this[h(503)] = r, this[h(405)](o), this[h(482)] = { errorCode: null, errorMessage: null };
|
|
2212
2210
|
}
|
|
2213
|
-
async
|
|
2214
|
-
const t =
|
|
2215
|
-
if ([this[e[0]], this[e[1]]][t(
|
|
2211
|
+
async initialize() {
|
|
2212
|
+
const t = S, e = [t(484), t(553), t(566), t(541), "E0003"], i = t(513);
|
|
2213
|
+
if ([this[e[0]], this[e[1]]][t(462)]((o) => !o)) return console[t(576)](i), { error: this[t(501)](e[2]) };
|
|
2216
2214
|
const r = (o) => {
|
|
2217
|
-
const
|
|
2218
|
-
return this.serverConfig = o, this[
|
|
2215
|
+
const h = t;
|
|
2216
|
+
return this.serverConfig = o, this[h(435)] = this.createPlayerInfo(o), this[h(435)];
|
|
2219
2217
|
};
|
|
2220
2218
|
try {
|
|
2221
|
-
const o = await this
|
|
2222
|
-
if (o[t(
|
|
2223
|
-
const
|
|
2224
|
-
if (window[t(
|
|
2225
|
-
await E0(this[t(
|
|
2226
|
-
const
|
|
2227
|
-
this[t(
|
|
2219
|
+
const o = await this[t(532)]();
|
|
2220
|
+
if (o[t(543)] !== 200) return { error: this[t(501)](e[3]) };
|
|
2221
|
+
const h = r(o);
|
|
2222
|
+
if (window[t(563)] && (window[t(563)][t(416)] = h?.[t(570)], window[t(563)][t(567)] = window[t(563)][t(567)] || h?.[t(411)], window[t(563)].player_name = h[t(570)] + "|" + window[t(563)][t(567)], window[t(563)].state = this[t(508)]), h?.maUse === "Y") {
|
|
2223
|
+
await E0(this[t(474)], this[t(508)], h, this.appId, this.accessKey);
|
|
2224
|
+
const p = await I0(this[t(484)]);
|
|
2225
|
+
this[t(496)] = new R0(this[t(474)], this[t(508)], h), this[t(537)] = Date[t(430)](), p?.[t(527)]?.[t(536)] && await this[t(496)].maInit({ video: h[t(466)] || {}, extra: { ...h.extra } });
|
|
2228
2226
|
}
|
|
2229
|
-
return { options: this[t(
|
|
2227
|
+
return { options: this[t(486)][t(527)]?.[t(467)], playerInfo: h };
|
|
2230
2228
|
} catch (o) {
|
|
2231
|
-
return console
|
|
2229
|
+
return console.error("VPE SDK Initialization failed:", o), { error: this.setErrorRun(e[4]) };
|
|
2232
2230
|
}
|
|
2233
2231
|
}
|
|
2234
|
-
async [
|
|
2235
|
-
const t =
|
|
2236
|
-
const
|
|
2237
|
-
return
|
|
2238
|
-
}, {})),
|
|
2239
|
-
if (!
|
|
2240
|
-
return
|
|
2232
|
+
async [S(532)]() {
|
|
2233
|
+
const t = S, e = [t(420), t(417), t(551), t(443), t(506), t(436), t(468)], i = this.isDev ? e[0] : "", a = O0(P0[this[t(474)]][this[t(508)]][e[1]]) + i, r = this[t(553)], o = JSON[t(433)]([e[4], e[5]][t(463)]((p, y, v) => {
|
|
2234
|
+
const E = t;
|
|
2235
|
+
return p[y] = [this[E(484)], r][v], p;
|
|
2236
|
+
}, {})), h = await fetch(a, { method: e[6], headers: { [e[2]]: e[3] }, body: o });
|
|
2237
|
+
if (!h.ok) throw new Error([t(538), "Error:", h[t(459)], h[t(490)]][t(578)](" "));
|
|
2238
|
+
return h[t(412)]();
|
|
2241
2239
|
}
|
|
2242
|
-
[
|
|
2243
|
-
const t =
|
|
2244
|
-
return /Edg\/(\d+\.\d+)
|
|
2240
|
+
[S(424)]() {
|
|
2241
|
+
const t = S, e = navigator[t(406)];
|
|
2242
|
+
return /Edg\/(\d+\.\d+)/[t(499)](e) ? { origin: t(439), version: RegExp.$1 } : /Chrome\/(\d+\.\d+)/[t(499)](e) && !e[t(452)]("Edg") ? { origin: "Chrome", version: RegExp.$1 } : /Firefox\/(\d+\.\d+)/[t(499)](e) ? { origin: "Firefox", version: RegExp.$1 } : /Version\/(\d+\.\d+)/[t(499)](e) && e[t(452)]("Safari") ? { origin: "Safari", version: RegExp.$1 } : { origin: t(549), version: t(549) };
|
|
2245
2243
|
}
|
|
2246
|
-
|
|
2247
|
-
const e =
|
|
2248
|
-
window[e(
|
|
2249
|
-
const v = typeof window !== e(
|
|
2250
|
-
return { cid: t
|
|
2244
|
+
createPlayerInfo(t) {
|
|
2245
|
+
const e = S, [i, a] = t[e(527)][e(419)][e(528)]("|"), r = navigator[e(545)] || navigator.mozConnection || navigator[e(525)], o = this[e(424)](), h = navigator[e(425)], p = new kt[e(477)](window[e(562)][e(406)]).getResult();
|
|
2246
|
+
window[e(562)].userAgent[e(568)]()[e(452)](e(469)) ? p[e(559)][e(419)] = e(520) : window[e(562)].userAgent[e(568)]()[e(452)](e(555)) ? p.browser.name = e(434) : window[e(562)][e(406)][e(568)]().includes(e(431)) ? p.browser[e(419)] = e(399) : window.navigator[e(406)][e(568)]()[e(452)](e(542)) ? p[e(559)].name = e(434) : window[e(562)].userAgent.toLowerCase()[e(452)](e(431)) && (p.browser[e(419)] = e(399));
|
|
2247
|
+
const y = p[e(526)].type, v = /Macintosh/.test(window.navigator.userAgent) && (navigator[e(414)] ?? 0) > 1, E = y === e(485) || y === e(465) || v || (h?.[e(485)] ?? !1), M = p.os[e(419)] || h?.platform || e(549), Y = (p.os[e(419)] || "").toLowerCase() === e(471), U = Y && o.origin === e(487) && o[e(564)] !== e(549) ? o.version : p.os[e(564)], B = typeof window !== e(516) && window.vpe?.[e(567)] || a;
|
|
2248
|
+
return { cid: t.result.cid, player_name: i, player_version: B, pricing: t.result[e(437)], maUse: t.result[e(467)]?.[e(402)] === "Y" ? "Y" : "N", browser: { lang: navigator[e(429)], ua: navigator.userAgent }, screen: { width: window[e(548)].width, height: window[e(548)][e(460)] }, connection: { network: r?.[e(415)] ?? "unknown", downlink: r?.[e(473)] ?? null, rtt: r?.rtt ?? null, save_data: r?.[e(447)] ?? !1 }, device: { platform: M, mobile: E, memory: navigator[e(530)] ?? null, processor: navigator[e(476)] ?? null }, video: { url: "" }, extra: { vpeKey: this.accessKey, playerType: e(432), playerVersion: B, os: (p.os[e(419)] || e(549)) + e(558) + (U || ""), osOrigin: p.os[e(419)] || e(549), osVersion: U, vpePackageId: null, actionDuration: this[e(470)](), actionType: e(491), browser: o[e(440)], browserOrigin: o[e(440)], browserVersion: o[e(564)], quality: e(413), qualityOrigin: "Auto", device: p[e(526)][e(522)] + " " + p[e(526)][e(556)], location: window[e(426)].href, host: window.location[e(441)], port: window[e(426)][e(571)], protocol: window[e(426)][e(565)], title: "" } };
|
|
2251
2249
|
}
|
|
2252
|
-
[
|
|
2253
|
-
const e =
|
|
2254
|
-
return this
|
|
2250
|
+
[S(501)](t) {
|
|
2251
|
+
const e = S, i = t[e(457)](-2), a = this[e(539)][e(547)][i] || this[e(539)][e(547)]["01"], r = { errorCode: t, errorMessage: a };
|
|
2252
|
+
return this[e(482)] = r, console[e(547)]("ncplayer : ", r), r;
|
|
2255
2253
|
}
|
|
2256
|
-
|
|
2257
|
-
|
|
2254
|
+
updateTranslator(t) {
|
|
2255
|
+
const e = S;
|
|
2256
|
+
this[e(539)] = Xe(t);
|
|
2258
2257
|
}
|
|
2259
|
-
|
|
2258
|
+
getErrorState() {
|
|
2260
2259
|
return this.errorState;
|
|
2261
2260
|
}
|
|
2262
|
-
[
|
|
2263
|
-
const t =
|
|
2264
|
-
return this.
|
|
2261
|
+
[S(535)]() {
|
|
2262
|
+
const t = S;
|
|
2263
|
+
return this[t(486)].result?.[t(437)] === t(458);
|
|
2265
2264
|
}
|
|
2266
|
-
[
|
|
2267
|
-
|
|
2268
|
-
return !!this[t(199)][t(107)];
|
|
2265
|
+
[S(407)]() {
|
|
2266
|
+
return !!this.serverConfig.result;
|
|
2269
2267
|
}
|
|
2270
|
-
[
|
|
2271
|
-
const e =
|
|
2272
|
-
this[e(
|
|
2273
|
-
const
|
|
2274
|
-
return
|
|
2268
|
+
[S(533)](t) {
|
|
2269
|
+
const e = S, i = C0(this[e(486)][e(527)]?.[e(467)], this[e(486)][e(527)]?.[e(437)]);
|
|
2270
|
+
this[e(486)].result?.pricing !== e(458) && (t = { ...t, ...i });
|
|
2271
|
+
const a = { ...i, ...t ?? {} };
|
|
2272
|
+
return a?.[e(461)] && (a?.[e(461)] == e(517) || this[e(405)](a.lang)), t?.[e(505)] && (a[e(505)] = { ...i.controlBtn, ...t[e(505)] }), t?.[e(569)] && (a.watermarkConfig = { ...i[e(569)], ...t[e(569)] }), a[e(451)] && !Array[e(422)](a.playlist) && (a[e(451)] = [{ file: a[e(451)] }]), At = a[e(451)] || [], a;
|
|
2275
2273
|
}
|
|
2276
|
-
[
|
|
2277
|
-
return
|
|
2274
|
+
[S(518)]() {
|
|
2275
|
+
return At || [];
|
|
2278
2276
|
}
|
|
2279
2277
|
$t(t) {
|
|
2280
|
-
const e =
|
|
2281
|
-
let
|
|
2278
|
+
const e = S, i = t[e(528)](".");
|
|
2279
|
+
let a = this[e(539)];
|
|
2282
2280
|
for (const r of i)
|
|
2283
|
-
if (
|
|
2281
|
+
if (a && typeof a === e(478) && r in a) a = a[r];
|
|
2284
2282
|
else return t;
|
|
2285
|
-
return typeof
|
|
2283
|
+
return typeof a == "string" ? a : t;
|
|
2286
2284
|
}
|
|
2287
|
-
async [
|
|
2288
|
-
const e =
|
|
2289
|
-
if (!t || t[e(
|
|
2290
|
-
const
|
|
2285
|
+
async [S(523)](t) {
|
|
2286
|
+
const e = S, i = [];
|
|
2287
|
+
if (!t || t[e(480)](e(552)) === -1) return i;
|
|
2288
|
+
const a = (h, p) => {
|
|
2289
|
+
const y = e;
|
|
2291
2290
|
try {
|
|
2292
|
-
return new URL(
|
|
2291
|
+
return new URL(p, h)[y(400)]();
|
|
2293
2292
|
} catch {
|
|
2294
|
-
return
|
|
2293
|
+
return p;
|
|
2295
2294
|
}
|
|
2296
|
-
}, r = (
|
|
2297
|
-
const
|
|
2298
|
-
if (
|
|
2299
|
-
const
|
|
2300
|
-
return
|
|
2301
|
-
}, o = (
|
|
2302
|
-
const
|
|
2303
|
-
for (let
|
|
2304
|
-
const
|
|
2305
|
-
if (
|
|
2306
|
-
const
|
|
2307
|
-
|
|
2295
|
+
}, r = (h) => {
|
|
2296
|
+
const p = e, y = h[p(575)](/RESOLUTION=(\d+)x(\d+)/);
|
|
2297
|
+
if (y) return y[2] + "p";
|
|
2298
|
+
const v = h[p(575)](/BANDWIDTH=(\d+)/);
|
|
2299
|
+
return v ? Math[p(494)](Number(v[1]) / 1e3) + "kbps" : p(517);
|
|
2300
|
+
}, o = (h) => {
|
|
2301
|
+
const p = e, y = h[p(528)](/\r?\n/).map((v) => v[p(498)]())[p(444)]((v) => v[p(483)] > 0);
|
|
2302
|
+
for (let v = 0; v < y[p(483)]; v += 1) {
|
|
2303
|
+
const E = y[v];
|
|
2304
|
+
if (E[p(502)](p(572))) {
|
|
2305
|
+
const M = y[v + 1];
|
|
2306
|
+
M && !M[p(502)]("#") && (i.push({ quality: r(E), url: a(t, M), levelIndex: i[p(483)] }), v += 1);
|
|
2308
2307
|
}
|
|
2309
2308
|
}
|
|
2310
2309
|
};
|
|
2311
2310
|
try {
|
|
2312
|
-
const
|
|
2313
|
-
if (!
|
|
2314
|
-
const
|
|
2315
|
-
return
|
|
2316
|
-
} catch (
|
|
2317
|
-
return console
|
|
2311
|
+
const h = await fetch(t);
|
|
2312
|
+
if (!h.ok) return i;
|
|
2313
|
+
const p = await h[e(512)]();
|
|
2314
|
+
return p && o(p), i;
|
|
2315
|
+
} catch (h) {
|
|
2316
|
+
return console[e(547)]("HLS 파싱 실패:", h), i;
|
|
2318
2317
|
}
|
|
2319
2318
|
}
|
|
2320
|
-
async [
|
|
2321
|
-
const e =
|
|
2322
|
-
if (!t?.
|
|
2323
|
-
const i = new
|
|
2324
|
-
if (t[e(
|
|
2325
|
-
if (t[e(
|
|
2326
|
-
await this
|
|
2319
|
+
async [S(454)](t) {
|
|
2320
|
+
const e = S;
|
|
2321
|
+
if (!t?.type || !this.maManager || this[e(435)]?.[e(402)] !== "Y") return;
|
|
2322
|
+
const i = new kt[e(477)](window[e(562)][e(406)])[e(409)]();
|
|
2323
|
+
if (t[e(456)] == "volumechange" || t[e(456)] == e(423)) return;
|
|
2324
|
+
if (t[e(456)] == e(531)) {
|
|
2325
|
+
await this.report(e(531), { extra: { playbackRate: t?.[e(534)]?.[e(442)] || t?.[e(466)]?.[e(534)]?.[e(442)] || 1 } }, t[e(456)]);
|
|
2327
2326
|
return;
|
|
2328
2327
|
}
|
|
2329
|
-
if (t[e(
|
|
2330
|
-
await this
|
|
2328
|
+
if (t[e(456)] == e(515)) {
|
|
2329
|
+
await this.report("fullscreenchange", { extra: { isFullscreen: t?.[e(534)]?.[e(509)] || !1 } }, t[e(456)]);
|
|
2331
2330
|
return;
|
|
2332
2331
|
}
|
|
2333
|
-
const
|
|
2334
|
-
t[e(
|
|
2335
|
-
const r = t?.[e(
|
|
2336
|
-
this[e(
|
|
2337
|
-
const
|
|
2338
|
-
|
|
2339
|
-
const
|
|
2340
|
-
let
|
|
2341
|
-
if (
|
|
2342
|
-
const
|
|
2343
|
-
we =
|
|
2332
|
+
const a = t[e(456)];
|
|
2333
|
+
t[e(456)] == e(491) && (t[e(456)] = "player_start"), (t[e(456)] === e(427) || t.type === e(449) || t[e(456)] === e(497) || t[e(456)] === e(479)) && (this[e(529)] = !1);
|
|
2334
|
+
const r = t?.video?.[e(557)] ?? "", o = /\.mp4(?:[?#]|$)/i[e(499)](r) && !r.includes(".m3u8") && !r.includes(e(544)), h = !o && (t?.[e(466)]?.[e(456)] == e(561) || r[e(452)]("naverncp.com/live/video/ls-")), p = navigator[e(545)] || navigator.mozConnection || navigator[e(525)] || null;
|
|
2335
|
+
this[e(472)] = t?.[e(456)] || null;
|
|
2336
|
+
const y = this.incomingType === e(489) && !this[e(529)], v = y ? e(507) : this.incomingType;
|
|
2337
|
+
y && (this[e(529)] = !0);
|
|
2338
|
+
const E = t?.video?.[e(534)]?.duration || 0, M = t?.[e(466)]?.data?.currentTime || 0, Y = t?.[e(466)]?.[e(577)] || 0, U = t?.[e(466)]?.[e(475)] || 0;
|
|
2339
|
+
let B = 0, we = 0, ee = 0;
|
|
2340
|
+
if (v == "player_start" && (B = this[e(470)](), this.playerStartTimeMs = B), v == "startup") {
|
|
2341
|
+
const st = this.getElapsedMilliseconds();
|
|
2342
|
+
we = st - this[e(546)], ee = st;
|
|
2344
2343
|
}
|
|
2345
|
-
const jt = { type:
|
|
2346
|
-
await this
|
|
2344
|
+
const jt = { type: v, video: { type: h ? "LIVE" : e(445), quality: t?.[e(466)]?.[e(510)] ? t?.video?.[e(510)] : e(517), url: t?.[e(466)]?.[e(557)] }, connection: p ? { network: p[e(415)], downlink: p[e(473)], rtt: p[e(453)], save_data: p[e(447)] } : void 0, extra: { actionType: v, url: t?.[e(466)]?.url, type: h ? "LIVE" : e(445), videoFormat: this[e(403)](t?.[e(466)]?.url), ...t?.[e(466)]?.poster ? { poster: t[e(466)][e(500)] } : {}, video_type: e(h ? 448 : 445), title: t?.[e(488)]?.[e(519)], contentId: t?.[e(466)]?.[e(540)] || t?.meta?.[e(540)] || null, metaData: t?.[e(488)], videoWidth: Math[e(494)](Y), videoHeight: Math[e(494)](U), video_protocols: this[e(403)](t?.[e(466)]?.[e(557)]), duration: Math.floor(E), currentTime: Math.floor(M), playedTime: this.getElapsedMilliseconds(), viewingTime: Math[e(494)](this.getElapsedMilliseconds() / 1e3), playerStartTime: B, videoStartTime: we, totalStartTime: ee, percent: Math[e(494)](M / E * 100), quality: t?.[e(466)]?.[e(510)] ? t?.[e(466)]?.[e(510)] : "auto", errorCode: t?.[e(534)]?.[e(495)] ?? t?.[e(521)]?.errorCode, errorMessage: t?.[e(534)]?.[e(493)] ?? t?.errorInfo?.errorMessage, actionDuration: this[e(470)]() / 1e3, device: i[e(526)][e(522)] + " " + i.device[e(556)], location: window[e(426)][e(550)], host: window[e(426)].host, port: window[e(426)][e(571)], protocol: window[e(426)].protocol }, browser: { lang: navigator.language, ua: navigator.userAgent }, screen: { width: window[e(548)][e(408)], height: window.screen[e(460)] } };
|
|
2345
|
+
await this[e(481)](v, jt, a);
|
|
2347
2346
|
}
|
|
2348
|
-
async
|
|
2349
|
-
const
|
|
2350
|
-
if (!this
|
|
2351
|
-
const r = e && typeof e
|
|
2352
|
-
await this[
|
|
2347
|
+
async [S(481)](t, e, i) {
|
|
2348
|
+
const a = S;
|
|
2349
|
+
if (!this.maManager) return;
|
|
2350
|
+
const r = e && typeof e === a(478) ? e : { extra: { actionDuration: this[a(470)]() } };
|
|
2351
|
+
await this.maManager[a(554)](r), await this[a(496)][a(504)]({ type: t, data: r });
|
|
2353
2352
|
}
|
|
2354
|
-
[
|
|
2355
|
-
const e =
|
|
2356
|
-
return t[e(
|
|
2353
|
+
[S(403)](t) {
|
|
2354
|
+
const e = S;
|
|
2355
|
+
return t[e(480)](e(446)) > -1 ? "hls" : t[e(480)]("mpd") > -1 ? e(455) : "mp4";
|
|
2357
2356
|
}
|
|
2358
|
-
[
|
|
2359
|
-
|
|
2360
|
-
return this[t(197)] ? (/* @__PURE__ */ new Date())[t(145)]() - this.startTimeAt : 0;
|
|
2357
|
+
[S(470)]() {
|
|
2358
|
+
return this[S(537)] ? (/* @__PURE__ */ new Date()).getTime() - this.startTimeAt : 0;
|
|
2361
2359
|
}
|
|
2362
2360
|
}
|
|
2363
2361
|
(function(x, t) {
|
|
2364
2362
|
for (var e = N0, i = x(); ; )
|
|
2365
2363
|
try {
|
|
2366
|
-
var
|
|
2367
|
-
if (
|
|
2364
|
+
var a = parseInt(e(179)) / 1 + -parseInt(e(180)) / 2 * (-parseInt(e(178)) / 3) + -parseInt(e(185)) / 4 + parseInt(e(184)) / 5 + -parseInt(e(186)) / 6 + parseInt(e(187)) / 7 * (parseInt(e(183)) / 8) + parseInt(e(181)) / 9 * (-parseInt(e(182)) / 10);
|
|
2365
|
+
if (a === t) break;
|
|
2368
2366
|
i.push(i.shift());
|
|
2369
2367
|
} catch {
|
|
2370
2368
|
i.push(i.shift());
|
|
2371
2369
|
}
|
|
2372
|
-
})(
|
|
2370
|
+
})(Be, 586438);
|
|
2373
2371
|
function N0(x, t) {
|
|
2374
|
-
x = x -
|
|
2375
|
-
var e =
|
|
2372
|
+
x = x - 178;
|
|
2373
|
+
var e = Be(), i = e[x];
|
|
2376
2374
|
return i;
|
|
2377
2375
|
}
|
|
2378
|
-
function
|
|
2379
|
-
var x = ["
|
|
2380
|
-
return
|
|
2376
|
+
function Be() {
|
|
2377
|
+
var x = ["6943980OizzSp", "7nXXPaO", "3GzOcTr", "1142625eDwZMc", "1471358GCZplk", "59517mIPwUi", "230kynNEZ", "440288yLezWb", "895580bhvIiO", "866356DWUMmo"];
|
|
2378
|
+
return Be = function() {
|
|
2381
2379
|
return x;
|
|
2382
|
-
},
|
|
2380
|
+
}, Be();
|
|
2383
2381
|
}
|
|
2384
2382
|
export {
|
|
2385
2383
|
U0 as default,
|
|
2386
|
-
|
|
2384
|
+
Xe as getTranslator
|
|
2387
2385
|
};
|