@sgrsoft/vpe-core-sdk 0.18.0 → 0.20.0

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/ma.d.ts CHANGED
@@ -43,4 +43,9 @@ export declare function maSyncStart(inData: any): Promise<void>;
43
43
  * MA 동기화를 수행합니다
44
44
  */
45
45
  export declare function maSync(inData: any, newSessionId?: boolean): Promise<void>;
46
+ /**
47
+ * sendBeacon을 사용하여 페이지 이탈 시에도 MA 리포트를 전송합니다.
48
+ * beforeunload/visibilitychange 시 사용됩니다.
49
+ */
50
+ export declare function maBeaconSend(sendData: any): boolean;
46
51
  export {};
@@ -6,6 +6,9 @@ declare class MaManager {
6
6
  private reportData;
7
7
  private stageData;
8
8
  private state;
9
+ private beaconSent;
10
+ private boundBeforeUnload;
11
+ private boundVisibilityChange;
9
12
  constructor(platform: string, stage: string, initialData: any);
10
13
  private initializeReportData;
11
14
  /**
@@ -76,6 +79,20 @@ declare class MaManager {
76
79
  * canplay (buffering end) 이벤트 처리
77
80
  */
78
81
  private handleCanplay;
82
+ /**
83
+ * 페이지 이탈 시 sendBeacon으로 세션 지표를 전송합니다.
84
+ */
85
+ private sendSessionBeacon;
86
+ private handleBeforeUnload;
87
+ private handleVisibilityChange;
88
+ /**
89
+ * 이벤트 리스너를 정리합니다. 플레이어 소멸 시 호출하세요.
90
+ */
91
+ destroy(): void;
92
+ /**
93
+ * 세션 종료 시 새 지표 데이터를 포함한 데이터 객체를 생성합니다.
94
+ */
95
+ private buildSessionMetrics;
79
96
  /**
80
97
  * ended 이벤트 처리
81
98
  */
@@ -92,6 +109,14 @@ declare class MaManager {
92
109
  * quality_change 이벤트 처리
93
110
  */
94
111
  private handleQualityChange;
112
+ /**
113
+ * ratechange (배속 변경) 이벤트 처리
114
+ */
115
+ private handleRateChange;
116
+ /**
117
+ * fullscreenchange (전체화면) 이벤트 처리
118
+ */
119
+ private handleFullscreenChange;
95
120
  /**
96
121
  * 새 트랙 재생을 위해 상태를 초기화합니다.
97
122
  */
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function St(a,t){a=a-354;var e=Se(),i=e[a];return i}function Se(){var a=["Semi Bold","Required module was not loaded. (dash.js)","min","Replay","Magenta","Subtitles not available","65582CvHqsu","Player Execution Failed","Normal","24471ElCeaC","Sexuality","second(s)","FairPlay certificate validation failed.","1081290nCjfOJ","This video may be inappropriate for children under 15 and requires parental guidance.","Background Opacity","Player Startup Failed","Horror","Window Color","Unsupported format.","Language","Default","Invalid URL format.","Auto Skip Intro","License","846984QxTPqs","Extra Bold","Unmute","5988JkHDFT","Cannot play video","Bold","Text Edge Style","777826HqlpBn","340uWuvrj","The live stream is OFFLINE.","10aGoduN","Play","LIVE","Provocative content","Auto","Yellow","Not used","Depressed","Invalid access. Please check your access_key.","Next video","Invalid DRM token.","Violence","Subtitle Style","Uniform","Apply Default Style","Auto Skip Ending","Green","Blue","day","Monthly basic API calls exceeded. Please switch to a paid version.","3845ELWwRh","Quality","Auto Skip Opening/Ending","Skip Ending","hour(s)","Next video will play in {timeTxt} seconds.","This video is rated for all audiences.","Drop Shadow","Raised","Font Size","Font Color","Failed to communicate with the DRM license server.","Mute","2272ZRnMTN","Subtitles","Fullscreen","Turn on captions","Autoplay","Mini player","seconds until auto-play","Background Color","Turn off captions","Skip Opening","Change text, color, and background styles","Required module was not loaded. (hls.js)","The video could not be played.","Scheduled","Thin","Cannot play DASH video on iOS.","You are muted.","8751210XGdyJH","Previous video","Settings"];return Se=function(){return a},Se()}var f=St;(function(a,t){for(var e=St,i=a();;)try{var n=parseInt(e(439))/1+parseInt(e(361))/2*(parseInt(e(427))/3)+parseInt(e(354))/4*(-parseInt(e(381))/5)+-parseInt(e(411))/6+-parseInt(e(358))/7+parseInt(e(394))/8*(parseInt(e(423))/9)+-parseInt(e(359))/10*(-parseInt(e(420))/11);if(n===t)break;i.push(i.shift())}catch{i.push(i.shift())}})(Se,903192);const Vt={common:{cancel:"Cancel",auto:f(365),normal:f(422),notUse:f(367),prev:f(412),next:f(370),delayText:f(400),license:f(438),play:f(362),pause:"Pause",replay:f(417),fullOn:f(396),fullOff:"Exit fullscreen",muteOn:f(393),muteOff:f(441),captionOff:f(402),captionOn:f(397),setting:f(413),live:f(363),miniPlayer:f(399),isMute:f(410),subtitle:f(395),subtitleNot:f(419)},settings:{autoplay:f(398),playbackRate:"Playback speed",captions:f(395),quality:f(382)},skip:{introSkip:"Skip Intro",openingSkip:f(403),endingSkip:f(384),autoSkipIntro:f(437),autoSkipOpening:"Auto Skip Opening",autoSkipEnding:f(376),autoSkipOpeningEnding:f(383)},ageRating:{noticeAll:f(387),notice12:"This video may be inappropriate for children under 12 and requires parental guidance.",notice15:f(428),notice19:"This video may be inappropriate for minors."},contentWarning:{sexuality:f(424),violence:f(372),language:f(434),drugs:"Drugs",horror:f(431),imitation:"Imitation risk",provocative:f(364)},error:{"01":{title:"Cannot play video",desc:f(369)},"02":{title:"Cannot play video",desc:"You do not have permission to play this video."},"03":{title:"Authentication Failed",desc:"The network connection is unstable."},"04":{title:f(355),desc:f(406)},"05":{title:f(355),desc:"The license is not valid."},"06":{title:f(355),desc:f(380)},"07":{title:f(355),desc:f(433)},"08":{title:f(355),desc:f(436)},"09":{title:f(355),desc:f(360)},10:{title:f(355),desc:f(409)},11:{title:f(355),desc:f(371)},12:{title:f(355),desc:f(392)},13:{title:"Cannot play video",desc:f(426)},14:{title:f(355),desc:"Screen capture / screen recording has been detected."},15:{title:f(421),desc:f(405)},16:{title:f(421),desc:f(415)},17:{title:f(430),desc:"This feature requires the Standard plan."}},tv:{default:f(435),quality:"Quality",subtitleStyle:f(373),subtitleStyleDesc:f(404),applyDefaultStyle:f(375),fontColor:f(391),fontSize:f(390),textOpacity:"Text Opacity",edgeStyle:f(357),bgColor:f(401),bgOpacity:f(429),windowColor:f(432),windowOpacity:"Window Opacity",fontWeight:"Font Weight",weight:{thin:f(408),normal:f(422),semiBold:f(414),bold:f(356),extraBold:f(440)},color:{white:"White",black:"Black",red:"Red",green:f(377),blue:f(378),yellow:f(366),magenta:f(418),cyan:"Cyan"},edge:{none:"None",dropShadow:f(388),raised:f(389),depressed:f(368),uniform:f(374)}},alternative:{hour:f(385),minute:"minute(s)",second:f(425),after:"In a moment",afterMin:f(416),afterHour:"hour",afterDay:f(379),startPlay:"Video will start in {timeTxt}.",nextPlay:f(386),afterPlay:f(407)}};function ke(){var a=["7MYJZvu","자막 스타일","동영상을 재생할 수 없습니다.","인트로 자동 스킵","지원하지 않는 형식입니다.","필수 모듈이 로드되지 않았습니다. (dash.js)","텍스트 불투명도","{timeTxt}초 후 다음 영상이 재생됩니다.","실시간","배경 불투명도","154914gPfApS","6484032KJMYLp","청록색","노란색","배경 색상","인증 실패","{timeTxt} 후 영상이 시작됩니다.","검정색","이 영상은 15세 미만의 청소년이 시청하기에 부적절하므로 보호자의 시청지도가 필요한 영상입니다.","다시보기","12qqZDRr","텍스트, 색상, 배경 스타일 변경","자극적 장면","라이선스가 유효하지 않습니다.","음소거","이전 동영상","동영상을 재생할 수 없음","다음 동영상","DRM 토큰이 잘못되었습니다.","창 색상","인트로 건너뛰기","미니플레이어","14878296npcQah","이 영상은 전체 관람가 영상입니다.","플레이어 실행 실패","260MOktLw","초록색","자막켜기","오프닝 건너뛰기","오프닝 자동 스킵","자동재생","전체화면 해제","Standard 요금제가 필요한 기능입니다.","450530tafPtm","빨간색","약간 굵게","글자 테두리 스타일","FairPlay 인증서 검증에 실패하였습니다.","전체화면","자홍색","월 기본 제공 호출 건수를 초과하였습니다. 유료 버전으로 전환 후 사용 부탁 드립니다.","재생 속도","691397rJphAT","잘못된 접근입니다. access_key를 확인해주세요.","이 영상은 12세 미만의 청소년이 시청하기에 부적절하므로 보호자의 시청지도가 필요한 영상입니다.","오프닝/엔딩 자동 스킵","잠시 ","1035464IdfbMt","3007122YPQkAg","매우 굵게","그림자","라이브스트림이 OFFLINE 입니다.","이 영상은 청소년이 시청하기에 부적절한 영상입니다.","자막끄기","781kPChbp","글꼴 색상"];return ke=function(){return a},ke()}function kt(a,t){a=a-212;var e=ke(),i=e[a];return i}var w=kt;(function(a,t){for(var e=kt,i=a();;)try{var n=parseInt(e(264))/1+-parseInt(e(270))/2+parseInt(e(232))/3*(parseInt(e(269))/4)+-parseInt(e(247))/5*(-parseInt(e(222))/6)+-parseInt(e(212))/7*(-parseInt(e(244))/8)+parseInt(e(223))/9+-parseInt(e(255))/10*(parseInt(e(276))/11);if(n===t)break;i.push(i.shift())}catch{i.push(i.shift())}})(ke,947360);const Yt={common:{cancel:"취소",auto:"자동",normal:"보통",notUse:"사용안함",prev:w(237),next:w(239),delayText:"초 뒤 자동재생",license:"라이선스",play:"재생",pause:"일시정지",replay:w(231),fullOn:w(260),fullOff:w(253),muteOn:w(236),muteOff:"음소거 해제",captionOff:w(275),captionOn:w(249),setting:"설정",live:w(220),miniPlayer:w(243),isMute:"음소거 상태입니다.",subtitle:"자막",subtitleNot:"자막 사용 불가"},settings:{autoplay:w(252),playbackRate:w(263),captions:"자막",quality:"해상도"},skip:{introSkip:w(242),openingSkip:w(250),endingSkip:"엔딩 건너뛰기",autoSkipIntro:w(215),autoSkipOpening:w(251),autoSkipEnding:"엔딩 자동 스킵",autoSkipOpeningEnding:w(267)},ageRating:{noticeAll:w(245),notice12:w(266),notice15:w(230),notice19:w(274)},contentWarning:{sexuality:"성적 표현",violence:"폭력",language:"욕설",drugs:"약물",horror:"공포",imitation:"모방위험",provocative:w(234)},error:{"01":{title:w(238),desc:w(265)},"02":{title:"동영상을 재생할 수 없음",desc:"동영상을 재생할 권한이 없습니다."},"03":{title:w(227),desc:"네트워크 연결이 원활하지 않습니다."},"04":{title:"동영상을 재생할 수 없음",desc:w(214)},"05":{title:"동영상을 재생할 수 없음",desc:w(235)},"06":{title:w(238),desc:w(262)},"07":{title:w(238),desc:w(216)},"08":{title:w(238),desc:"URL 형식이 잘못되었습니다."},"09":{title:w(238),desc:w(273)},10:{title:w(238),desc:"iOS에서 Dash 비디오를 재생할 수 없습니다."},11:{title:w(238),desc:w(240)},12:{title:w(238),desc:"DRM 라이선스 서버와 통신에 실패하였습니다."},13:{title:w(238),desc:w(259)},14:{title:"동영상을 재생할 수 없음",desc:"화면 캡쳐 / 화면 녹화가 감지되었습니다."},15:{title:w(246),desc:"필수 모듈이 로드되지 않았습니다. (hls.js)"},16:{title:w(246),desc:w(217)},17:{title:"플레이어 구동 실패",desc:w(254)}},tv:{default:"기본",quality:"화질",subtitleStyle:w(213),subtitleStyleDesc:w(233),applyDefaultStyle:"기본 스타일 적용",fontColor:w(277),fontSize:"글꼴 크기",textOpacity:w(218),edgeStyle:w(258),bgColor:w(226),bgOpacity:w(221),windowColor:w(241),windowOpacity:"창 불투명도",fontWeight:"글자 굵기",weight:{thin:"얇게",normal:"보통",semiBold:w(257),bold:"굵게",extraBold:w(271)},color:{white:"흰색",black:w(229),red:w(256),green:w(248),blue:"파란색",yellow:w(225),magenta:w(261),cyan:w(224)},edge:{none:"없음",dropShadow:w(272),raised:"양각",depressed:"음각",uniform:"균일"}},alternative:{hour:"시",minute:"분",second:"초",after:w(268),afterMin:"분 ",afterHour:"시간 ",afterDay:"일 ",startPlay:w(228),nextPlay:w(219),afterPlay:"예정"}};var b=_t;function _e(){var a=["背景色","オープニング自動スキップ","12754ZkBWpY","刺激的な場面","DRMライセンスサーバーとの通信に失敗しました。","字幕は利用できません","2208344VJoIgC","自動再生","サポートされていない形式です。","{timeTxt}後に動画が始まります。","イントロをスキップ","DRMトークンが無効です。","再生速度","URLの形式が正しくありません。","プレーヤーの起動に失敗しました","{timeTxt}秒後に次の動画が再生されます。","やや太い","1568nszPMk","5505966fjmvLD","3xUrGIK","フォントサイズ","認証に失敗しました","この映像は15歳未満の視聴には不適切な内容を含むため、保護者の指導が必要です。","浮き出し","マゼンタ","この映像は未成年者の視聴には不適切な内容を含みます。","月間の基本提供呼び出し回数を超過しました。有料版に切り替えてご利用ください。","1630390oVhPGz","5baaeXu","65763nBXRuL","使用しない","オープニングをスキップ","動画を再生できません","全画面表示","ミュート","時間後","この映像は12歳未満の視聴には不適切な内容を含むため、保護者の指導が必要です。","次の動画","イントロ自動スキップ","エンディング自動スキップ","ライセンス","67389RsZhiq","テキスト不透明度","テキスト、色、背景スタイルを変更","デフォルトスタイルを適用","必須モジュールが読み込まれていません。(dash.js)","ライブ","秒後に自動再生","前の動画","FairPlay証明書の検証に失敗しました。","ミュート状態です。","OP/ED自動スキップ","沈み込み","デフォルト","字幕をオフにする","必須モジュールが読み込まれていません。(hls.js)","ドロップシャドウ","この動画を再生する権限がありません。","しばらくして","フォント色","ウィンドウ色","不正なアクセスです。access_keyを確認してください。","iOSではDASHビデオを再生できません。","画面キャプチャ/画面録画が検出されました。","エンディングをスキップ","一時停止","10229153BHdfAs","920irMcdY"];return _e=function(){return a},_e()}(function(a,t){for(var e=_t,i=a();;)try{var n=-parseInt(e(354))/1+parseInt(e(408))/2*(parseInt(e(400))/3)+parseInt(e(387))/4*(-parseInt(e(409))/5)+-parseInt(e(399))/6+parseInt(e(383))/7*(-parseInt(e(398))/8)+-parseInt(e(410))/9*(-parseInt(e(380))/10)+parseInt(e(379))/11;if(n===t)break;i.push(i.shift())}catch{i.push(i.shift())}})(_e,523114);function _t(a,t){a=a-353;var e=_e(),i=e[a];return i}const qt={common:{cancel:"キャンセル",auto:"自動",normal:"標準",notUse:b(411),prev:b(361),next:b(418),delayText:b(360),license:b(353),play:"再生",pause:b(378),replay:"リプレイ",fullOn:b(414),fullOff:"全画面表示を終了",muteOn:b(415),muteOff:"ミュート解除",captionOff:b(367),captionOn:"字幕をオンにする",setting:"設定",live:b(359),miniPlayer:"ミニプレーヤー",isMute:b(363),subtitle:"字幕",subtitleNot:b(386)},settings:{autoplay:b(388),playbackRate:b(393),captions:"字幕",quality:"画質"},skip:{introSkip:b(391),openingSkip:b(412),endingSkip:b(377),autoSkipIntro:b(419),autoSkipOpening:b(382),autoSkipEnding:b(420),autoSkipOpeningEnding:b(364)},ageRating:{noticeAll:"この映像は全年齢対象です。",notice12:b(417),notice15:b(403),notice19:b(406)},contentWarning:{sexuality:"性的表現",violence:"暴力",language:"暴言",drugs:"薬物",horror:"恐怖",imitation:"模倣危険",provocative:b(384)},error:{"01":{title:b(413),desc:b(374)},"02":{title:"動画を再生できません",desc:b(370)},"03":{title:b(402),desc:"ネットワーク接続が不安定です。"},"04":{title:b(413),desc:"動画を再生できませんでした。"},"05":{title:b(413),desc:"ライセンスが無効です。"},"06":{title:b(413),desc:b(407)},"07":{title:"動画を再生できません",desc:b(389)},"08":{title:b(413),desc:b(394)},"09":{title:b(413),desc:"ライブストリームはオフラインです。"},10:{title:b(413),desc:b(375)},11:{title:b(413),desc:b(392)},12:{title:b(413),desc:b(385)},13:{title:b(413),desc:b(362)},14:{title:"動画を再生できません",desc:b(376)},15:{title:b(395),desc:b(368)},16:{title:b(395),desc:b(358)},17:{title:b(395),desc:"この機能にはStandardプランが必要です。"}},tv:{default:b(366),quality:"画質",subtitleStyle:"字幕スタイル",subtitleStyleDesc:b(356),applyDefaultStyle:b(357),fontColor:b(372),fontSize:b(401),textOpacity:b(355),edgeStyle:"文字エッジスタイル",bgColor:b(381),bgOpacity:"背景不透明度",windowColor:b(373),windowOpacity:"ウィンドウ不透明度",fontWeight:"文字の太さ",weight:{thin:"細い",normal:"標準",semiBold:b(397),bold:"太い",extraBold:"極太"},color:{white:"白",black:"黒",red:"赤",green:"緑",blue:"青",yellow:"黄",magenta:b(405),cyan:"シアン"},edge:{none:"なし",dropShadow:b(369),raised:b(404),depressed:b(365),uniform:"均一"}},alternative:{hour:"時間",minute:"分",second:"秒",after:b(371),afterMin:"分後",afterHour:b(416),afterDay:"日後",startPlay:b(390),nextPlay:b(396),afterPlay:"予定"}},Ze=Et;(function(a,t){const e=Et,i=a();for(;;)try{if(parseInt(e(329))/1+-parseInt(e(337))/2+-parseInt(e(338))/3*(-parseInt(e(328))/4)+parseInt(e(334))/5*(parseInt(e(326))/6)+parseInt(e(330))/7+-parseInt(e(332))/8*(parseInt(e(331))/9)+parseInt(e(327))/10===t)break;i.push(i.shift())}catch{i.push(i.shift())}})(Te,196033);function Et(a,t){return a=a-326,Te()[a]}const Tt={en:Vt,ko:Yt,ja:qt},Wt=()=>typeof navigator!==Ze(335)&&typeof navigator.language<"u";function Kt(a){const t=Ze,e=a[t(336)]("-")[0];return e in Tt?e:"en"}function Ee(a){const t=Ze;let e="en";a?e=a:Wt()&&(e=navigator[t(333)]);const i=Kt(e);return Tt[i]}function Te(){const a=["185022akDTWT","4754080fPOGeR","610372OOnjUK","144723LqpVqo","62034XyMcHd","1107702sGUjdc","24WfcPPi","language","20ILdbgk","undefined","split","679334SHvilF","3gZKHeg"];return Te=function(){return a},Te()}Ee();var zt="2.0.9",jt=500,xt="user-agent",ae="",nt="?",E={FUNCTION:"function",OBJECT:"object",STRING:"string",UNDEFINED:"undefined"},D="browser",Y="cpu",F="device",U="engine",P="os",xe="result",c="name",o="type",u="vendor",d="version",M="architecture",pe="major",l="model",ve="console",v="mobile",k="tablet",T="smarttv",L="wearable",be="xr",ue="embedded",Jt="fetcher",Q="inapp",Qe="brands",X="formFactors",$e="fullVersionList",ne="platform",et="platformVersion",Ue="bitness",j="sec-ch-ua",Xt=j+"-full-version-list",Zt=j+"-arch",Qt=j+"-"+Ue,$t=j+"-form-factors",e0=j+"-"+v,t0=j+"-"+l,At=j+"-"+ne,i0=At+"-version",Ct=[Qe,$e,v,l,ne,et,M,X,Ue],we="Amazon",$="Apple",rt="ASUS",ot="BlackBerry",J="Google",st="Huawei",Be="Lenovo",lt="Honor",ge="LG",Fe="Microsoft",He="Motorola",ct="Nvidia",dt="OnePlus",Ge="OPPO",se="Samsung",ut="Sharp",le="Sony",Ve="Xiaomi",Ye="Zebra",pt="Chrome",ft="Chromium",W="Chromecast",Ie="Edge",ce="Firefox",ee="Opera",qe="Facebook",ht="Sogou",te="Mobile ",ie=" Browser",ze="Windows",a0=typeof window!==E.UNDEFINED,O=a0&&window.navigator?window.navigator:void 0,Z=O&&O.userAgentData?O.userAgentData:void 0,x0=function(a,t){var e={},i=t;if(!Ae(t)){i={};for(var n in t)for(var r in t[n])i[r]=t[n][r].concat(i[r]?i[r]:[])}for(var s in a)e[s]=i[s]&&i[s].length%2===0?i[s].concat(a[s]):a[s];return e},Le=function(a){for(var t={},e=0;e<a.length;e++)t[a[e].toUpperCase()]=a[e];return t},je=function(a,t){if(typeof a===E.OBJECT&&a.length>0){for(var e in a)if(K(t)==K(a[e]))return!0;return!1}return fe(a)?K(t)==K(a):!1},Ae=function(a,t){for(var e in a)return/^(browser|cpu|device|engine|os)$/.test(e)||(t?Ae(a[e]):!1)},fe=function(a){return typeof a===E.STRING},We=function(a){if(a){for(var t=[],e=re(/\\?\"/g,a).split(","),i=0;i<e.length;i++)if(e[i].indexOf(";")>-1){var n=Ce(e[i]).split(";v=");t[i]={brand:n[0],version:n[1]}}else t[i]=Ce(e[i]);return t}},K=function(a){return fe(a)?a.toLowerCase():a},Je=function(a){return fe(a)?re(/[^\d\.]/g,a).split(".")[0]:void 0},V=function(a){for(var t in a)if(a.hasOwnProperty(t)){var e=a[t];typeof e==E.OBJECT&&e.length==2?this[e[0]]=e[1]:this[e]=void 0}return this},re=function(a,t){return fe(t)?t.replace(a,ae):t},de=function(a){return re(/\\?\"/g,a)},Ce=function(a,t){return a=re(/^\s\s*/,String(a)),typeof t===E.UNDEFINED?a:a.substring(0,t)},Xe=function(a,t){if(!(!a||!t))for(var e=0,i,n,r,s,p,h;e<t.length&&!p;){var I=t[e],S=t[e+1];for(i=n=0;i<I.length&&!p&&I[i];)if(p=I[i++].exec(a),p)for(r=0;r<S.length;r++)h=p[++n],s=S[r],typeof s===E.OBJECT&&s.length>0?s.length===2?typeof s[1]==E.FUNCTION?this[s[0]]=s[1].call(this,h):this[s[0]]=s[1]:s.length>=3&&(typeof s[1]===E.FUNCTION&&!(s[1].exec&&s[1].test)?s.length>3?this[s[0]]=h?s[1].apply(this,s.slice(2)):void 0:this[s[0]]=h?s[1].call(this,h,s[2]):void 0:s.length==3?this[s[0]]=h?h.replace(s[1],s[2]):void 0:s.length==4?this[s[0]]=h?s[3].call(this,h.replace(s[1],s[2])):void 0:s.length>4&&(this[s[0]]=h?s[3].apply(this,[h.replace(s[1],s[2])].concat(s.slice(4))):void 0)):this[s]=h||void 0;e+=2}},N=function(a,t){for(var e in t)if(typeof t[e]===E.OBJECT&&t[e].length>0){for(var i=0;i<t[e].length;i++)if(je(t[e][i],a))return e===nt?void 0:e}else if(je(t[e],a))return e===nt?void 0:e;return t.hasOwnProperty("*")?t["*"]:a},bt={ME:"4.90","NT 3.51":"3.51","NT 4.0":"4.0",2e3:["5.0","5.01"],XP:["5.1","5.2"],Vista:"6.0",7:"6.1",8:"6.2","8.1":"6.3",10:["6.4","10.0"],NT:""},wt={embedded:"Automotive",mobile:"Mobile",tablet:["Tablet","EInk"],smarttv:"TV",wearable:"Watch",xr:["VR","XR"],"?":["Desktop","Unknown"],"*":void 0},n0={Chrome:"Google Chrome",Edge:"Microsoft Edge","Edge WebView2":"Microsoft Edge WebView2","Chrome WebView":"Android WebView","Chrome Headless":"HeadlessChrome","Huawei Browser":"HuaweiBrowser","MIUI Browser":"Miui Browser","Opera Mobi":"OperaMobile",Yandex:"YaBrowser"},gt={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[d,[c,te+"Chrome"]],[/webview.+edge\/([\w\.]+)/i],[d,[c,Ie+" WebView"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[d,[c,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[c,d],[/opios[\/ ]+([\w\.]+)/i],[d,[c,ee+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[d,[c,ee+" GX"]],[/\bopr\/([\w\.]+)/i],[d,[c,ee]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[d,[c,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[d,[c,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(atlas|flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon|otter|dooble|(?:hi|lg |ovi|qute)browser|palemoon)\/v?([-\w\.]+)/i,/(brave)(?: chrome)?\/([\d\.]+)/i,/(aloha|heytap|ovi|115|surf|qwant)browser\/([\d\.]+)/i,/(qwant)(?:ios|mobile)\/([\d\.]+)/i,/(ecosia|weibo)(?:__| \w+@)([\d\.]+)/i],[c,d],[/quark(?:pc)?\/([-\w\.]+)/i],[d,[c,"Quark"]],[/\bddg\/([\w\.]+)/i],[d,[c,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[d,[c,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[d,[c,"WeChat"]],[/konqueror\/([\w\.]+)/i],[d,[c,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[d,[c,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[d,[c,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[d,[c,"Smart "+Be+ie]],[/(av(?:ast|g|ira))\/([\w\.]+)/i],[[c,/(.+)/,"$1 Secure"+ie],d],[/norton\/([\w\.]+)/i],[d,[c,"Norton Private"+ie]],[/\bfocus\/([\w\.]+)/i],[d,[c,ce+" Focus"]],[/ mms\/([\w\.]+)$/i],[d,[c,ee+" Neon"]],[/ opt\/([\w\.]+)$/i],[d,[c,ee+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[d,[c,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[d,[c,"Dolphin"]],[/coast\/([\w\.]+)/i],[d,[c,ee+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[d,[c,"MIUI"+ie]],[/fxios\/([\w\.-]+)/i],[d,[c,te+ce]],[/\bqihoobrowser\/?([\w\.]*)/i],[d,[c,"360"]],[/\b(qq)\/([\w\.]+)/i],[[c,/(.+)/,"$1Browser"],d],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[c,/(.+)/,"$1"+ie],d],[/samsungbrowser\/([\w\.]+)/i],[d,[c,se+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[d,[c,ht+" Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[c,ht+" Mobile"],d],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[c,d],[/(lbbrowser|luakit|rekonq|steam(?= (clie|tenf|gameo)))/i],[c],[/ome\/([\w\.]+).+(iron(?= saf)|360(?=[es]e$))/i],[d,c],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[c,qe],d,[o,Q]],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(bing)(?:web|sapphire)\/([\w\.]+)/i,/(instagram|snapchat|klarna)[\/ ]([-\w\.]+)/i],[c,d,[o,Q]],[/\bgsa\/([\w\.]+) .*safari\//i],[d,[c,"GSA"],[o,Q]],[/(?:musical_ly|trill)(?:.+app_?version\/|_)([\w\.]+)/i],[d,[c,"TikTok"],[o,Q]],[/\[(linkedin)app\]/i],[c,[o,Q]],[/(zalo(?:app)?)[\/\sa-z]*([\w\.-]+)/i],[[c,/(.+)/,"Zalo"],d,[o,Q]],[/(chromium)[\/ ]([-\w\.]+)/i],[c,d],[/ome-(lighthouse)$/i],[c,[o,Jt]],[/headlesschrome(?:\/([\w\.]+)| )/i],[d,[c,pt+" Headless"]],[/wv\).+chrome\/([\w\.]+).+edgw\//i],[d,[c,Ie+" WebView2"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[c,pt+" WebView"],d],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[d,[c,"Android"+ie]],[/chrome\/([\w\.]+) mobile/i],[d,[c,te+"Chrome"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[c,d],[/version\/([\w\.\,]+) .*mobile(?:\/\w+ | ?)safari/i],[d,[c,te+"Safari"]],[/iphone .*mobile(?:\/\w+ | ?)safari/i],[[c,te+"Safari"]],[/version\/([\w\.\,]+) .*(safari)/i],[d,c],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[c,[d,"1"]],[/(webkit|khtml)\/([\w\.]+)/i],[c,d],[/(?:mobile|tablet);.*(firefox)\/([\w\.-]+)/i],[[c,te+ce],d],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[c,"Netscape"],d],[/(wolvic|librewolf)\/([\w\.]+)/i],[c,d],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[d,[c,ce+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+(?= .+rv\:.+gecko\/\d+)|[0-4][\w\.]+(?!.+compatible))/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[c,[d,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[c,[d,/[^\d\.]+./,ae]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[M,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[M,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[M,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[M,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[M,"arm"]],[/ sun4\w[;\)]/i],[[M,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i,/((ppc|powerpc)(64)?)( mac|;|\))/i,/(?:osf1|[freopnt]{3,4}bsd) (alpha)/i],[[M,/ower/,ae,K]],[/mc680.0/i],[[M,"68k"]],[/winnt.+\[axp/i],[[M,"alpha"]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[l,[u,se],[o,k]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr]|browser)[-\w]+)/i,/sec-(sgh\w+)/i],[l,[u,se],[o,v]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)[\/\);]/i],[l,[u,$],[o,v]],[/\b(?:ios|apple\w+)\/.+[\(\/](ipad)/i,/\b(ipad)[\d,]*[;\] ].+(mac |i(pad)?)os/i],[l,[u,$],[o,k]],[/(macintosh);/i],[l,[u,$]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[l,[u,ut],[o,v]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[l,[u,lt],[o,k]],[/honor([-\w ]+)[;\)]/i],[l,[u,lt],[o,v]],[/\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],[l,[u,st],[o,k]],[/(?:huawei) ?([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][\dc][adnt]?)\b(?!.+d\/s)/i],[l,[u,st],[o,v]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b(?:xiao)?((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[l,/_/g," "],[u,Ve],[o,k]],[/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/oid[^\)]+; (redmi[\-_ ]?(?:note|k)?[\w_ ]+|m?[12]\d[01]\d\w{3,6}|poco[\w ]+|(shark )?\w{3}-[ah]0|qin ?[1-3](s\+|ultra| pro)?)( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note|max|cc)?[_ ]?(?:\d{0,2}\w?)[_ ]?(?:plus|se|lite|pro)?( 5g|lte)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[l,/_/g," "],[u,Ve],[o,v]],[/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,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[l,[u,dt],[o,v]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[l,[u,Ge],[o,v]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[l,[u,N,{OnePlus:["203","304","403","404","413","415"],"*":Ge}],[o,k]],[/(vivo (5r?|6|8l?|go|one|s|x[il]?[2-4]?)[\w\+ ]*)(?: bui|\))/i],[l,[u,"BLU"],[o,v]],[/; vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[l,[u,"Vivo"],[o,v]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[l,[u,"Realme"],[o,v]],[/(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,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[l,[u,Be],[o,k]],[/lenovo[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i],[l,[u,Be],[o,v]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ]([\w\s]+)(\)| bui)/i,/((?:moto(?! 360)[-\w\(\) ]+|xt\d{3,4}[cgkosw\+]?[-\d]*|nexus 6)(?= bui|\)))/i],[l,[u,He],[o,v]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[l,[u,He],[o,k]],[/\b(?:lg)?([vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[l,[u,ge],[o,k]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+(?!.*(?:browser|netcast|android tv|watch|webos))(\w+)/i,/\blg-?([\d\w]+) bui/i],[l,[u,ge],[o,v]],[/(nokia) (t[12][01])/i],[u,l,[o,k]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*?))( bui|\)|;|\/)/i],[[l,/_/g," "],[o,v],[u,"Nokia"]],[/(pixel (c|tablet))\b/i],[l,[u,J],[o,k]],[/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],[l,[u,J],[o,v]],[/(google) (pixelbook( go)?)/i],[u,l],[/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],[l,[u,le],[o,v]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[l,"Xperia Tablet"],[u,le],[o,k]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[l,[u,we],[o,k]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[l,/(.+)/g,"Fire Phone $1"],[u,we],[o,v]],[/(playbook);[-\w\),; ]+(rim)/i],[l,u,[o,k]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/(?:blackberry|\(bb10;) (\w+)/i],[l,[u,ot],[o,v]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[l,[u,rt],[o,k]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[l,[u,rt],[o,v]],[/(nexus 9)/i],[l,[u,"HTC"],[o,k]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[u,[l,/_/g," "],[o,v]],[/tcl (xess p17aa)/i,/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])(_\w(\w|\w\w))?(\)| bui)/i],[l,[u,"TCL"],[o,k]],[/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],[l,[u,"TCL"],[o,v]],[/(itel) ((\w+))/i],[[u,K],l,[o,N,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[l,[u,"Acer"],[o,k]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[l,[u,"Meizu"],[o,v]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[l,[u,"Ulefone"],[o,v]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[l,[u,"Energizer"],[o,v]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[l,[u,"Cat"],[o,v]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[l,[u,"Smartfren"],[o,v]],[/droid.+; (a(in)?(0(15|59|6[35])|142)p?)/i],[l,[u,"Nothing"],[o,v]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[l,[u,"Archos"],[o,k]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[l,[u,"Archos"],[o,v]],[/; (n159v)/i],[l,[u,"HMD"],[o,v]],[/(imo) (tab \w+)/i,/(infinix|tecno) (x1101b?|p904|dp(7c|8d|10a)( pro)?|p70[1-3]a?|p904|t1101)/i],[u,l,[o,k]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (blu|hmd|imo|infinix|lava|oneplus|tcl|wiko)[_ ]([\w\+ ]+?)(?: bui|\)|; r)/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(oppo) ?([\w ]+) bui/i,/(hisense) ([ehv][\w ]+)\)/i,/droid[^;]+; (philips)[_ ]([sv-x][\d]{3,4}[xz]?)/i],[u,l,[o,v]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i],[u,l,[o,k]],[/(surface duo)/i],[l,[u,Fe],[o,k]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[l,[u,"Fairphone"],[o,v]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[l,[u,ct],[o,k]],[/(sprint) (\w+)/i],[u,l,[o,v]],[/(kin\.[onetw]{3})/i],[[l,/\./g," "],[u,Fe],[o,v]],[/droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[l,[u,Ye],[o,k]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[l,[u,Ye],[o,v]],[/(philips)[\w ]+tv/i,/smart-tv.+(samsung)/i],[u,[o,T]],[/hbbtv.+maple;(\d+)/i],[[l,/^/,"SmartTV"],[u,se],[o,T]],[/(vizio)(?: |.+model\/)(\w+-\w+)/i,/tcast.+(lg)e?. ([-\w]+)/i],[u,l,[o,T]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[u,ge],[o,T]],[/(apple) ?tv/i],[u,[l,$+" TV"],[o,T]],[/crkey.*devicetype\/chromecast/i],[[l,W+" Third Generation"],[u,J],[o,T]],[/crkey.*devicetype\/([^/]*)/i],[[l,/^/,"Chromecast "],[u,J],[o,T]],[/fuchsia.*crkey/i],[[l,W+" Nest Hub"],[u,J],[o,T]],[/crkey/i],[[l,W],[u,J],[o,T]],[/(portaltv)/i],[l,[u,qe],[o,T]],[/droid.+aft(\w+)( bui|\))/i],[l,[u,we],[o,T]],[/(shield \w+ tv)/i],[l,[u,ct],[o,T]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[l,[u,ut],[o,T]],[/(bravia[\w ]+)( bui|\))/i],[l,[u,le],[o,T]],[/(mi(tv|box)-?\w+) bui/i],[l,[u,Ve],[o,T]],[/Hbbtv.*(technisat) (.*);/i],[u,l,[o,T]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[u,/.+\/(\w+)/,"$1",N,{LG:"lge"}],[l,Ce],[o,T]],[/(playstation \w+)/i],[l,[u,le],[o,ve]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[l,[u,Fe],[o,ve]],[/(ouya)/i,/(nintendo) (\w+)/i,/(retroid) (pocket ([^\)]+))/i,/(valve).+(steam deck)/i,/droid.+; ((shield|rgcube|gr0006))( bui|\))/i],[[u,N,{Nvidia:"Shield",Anbernic:"RGCUBE",Logitech:"GR0006"}],l,[o,ve]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[l,[u,se],[o,L]],[/((pebble))app/i,/(asus|google|lg|oppo|xiaomi) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[u,l,[o,L]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[l,[u,Ge],[o,L]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[l,[u,$],[o,L]],[/(opwwe\d{3})/i],[l,[u,dt],[o,L]],[/(moto 360)/i],[l,[u,He],[o,L]],[/(smartwatch 3)/i],[l,[u,le],[o,L]],[/(g watch r)/i],[l,[u,ge],[o,L]],[/droid.+; (wt63?0{2,3})\)/i],[l,[u,Ye],[o,L]],[/droid.+; (glass) \d/i],[l,[u,J],[o,be]],[/(pico) ([\w ]+) os\d/i],[u,l,[o,be]],[/(quest( \d| pro)?s?).+vr/i],[l,[u,qe],[o,be]],[/mobile vr; rv.+firefox/i],[[o,be]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[u,[o,ue]],[/(aeobc)\b/i],[l,[u,we],[o,ue]],[/(homepod).+mac os/i],[l,[u,$],[o,ue]],[/windows iot/i],[[o,ue]],[/droid.+; ([\w- ]+) (4k|android|smart|google)[- ]?tv/i],[l,[o,T]],[/\b((4k|android|smart|opera)[- ]?tv|tv; rv:|large screen[\w ]+safari)\b/i],[[o,T]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew|; hmsc).+?(mobile|vr|\d) safari/i],[l,[o,N,{mobile:"Mobile",xr:"VR","*":k}]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[o,k]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[o,v]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[l,[u,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[d,[c,Ie+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[c,d],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[d,[c,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links|dillo)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[c,d],[/ladybird\//i],[[c,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[d,c]],os:[[/(windows nt) (6\.[23]); arm/i],[[c,/N/,"R"],[d,N,bt]],[/(windows (?:phone|mobile|iot))(?: os)?[\/ ]?([\d\.]*( se)?)/i,/(windows)[\/ ](1[01]|2000|3\.1|7|8(\.1)?|9[58]|me|server 20\d\d( r2)?|vista|xp)/i],[c,d],[/windows nt ?([\d\.\)]*)(?!.+xbox)/i,/\bwin(?=3| ?9|n)(?:nt| 9x )?([\d\.;]*)/i],[[d,/(;|\))/g,"",N,bt],[c,ze]],[/(windows ce)\/?([\d\.]*)/i],[c,d],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv|ios(?=.+ip(?:ad|hone)|.+apple ?tv)|ip(?:ad|hone)(?: |.+i(?:pad)?)os|apple ?tv.+ios)[\/ ]([\w\.]+)/i,/\btvos ?([\w\.]+)/i,/cfnetwork\/.+darwin/i],[[d,/_/g,"."],[c,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+(haiku|morphos))/i],[[c,"macOS"],[d,/_/g,"."]],[/android ([\d\.]+).*crkey/i],[d,[c,W+" Android"]],[/fuchsia.*crkey\/([\d\.]+)/i],[d,[c,W+" Fuchsia"]],[/crkey\/([\d\.]+).*devicetype\/smartspeaker/i],[d,[c,W+" SmartSpeaker"]],[/linux.*crkey\/([\d\.]+)/i],[d,[c,W+" Linux"]],[/crkey\/([\d\.]+)/i],[d,[c,W]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[d,c],[/(ubuntu) ([\w\.]+) like android/i],[[c,/(.+)/,"$1 Touch"],d],[/(harmonyos)[\/ ]?([\d\.]*)/i,/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen)\w*[-\/\.; ]?([\d\.]*)/i],[c,d],[/\(bb(10);/i],[d,[c,ot]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[d,[c,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile[;\w ]*|tablet|tv|[^\)]*(?:viera|lg(?:l25|-d300)|alcatel ?o.+|y300-f1)); rv:([\w\.]+)\).+gecko\//i],[d,[c,ce+" OS"]],[/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i,/webos(?:[ \/]?|\.tv-20(?=2[2-9]))(\d[\d\.]*)/i],[d,[c,"webOS"]],[/web0s;.+?(?:chr[o0]me|safari)\/(\d+)/i],[[d,N,{25:"120",24:"108",23:"94",22:"87",6:"79",5:"68",4:"53",3:"38",2:"538",1:"537","*":"TV"}],[c,"webOS"]],[/watch(?: ?os[,\/ ]|\d,\d\/)([\d\.]+)/i],[d,[c,"watchOS"]],[/cros [\w]+(?:\)| ([\w\.]+)\b)/i],[d,[c,"Chrome OS"]],[/kepler ([\w\.]+); (aft|aeo)/i],[d,[c,"Vega OS"]],[/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) (\w+)/i,/(xbox); +xbox ([^\);]+)/i,/(pico) .+os([\w\.]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/linux.+(mint)[\/\(\) ]?([\w\.]*)/i,/(mageia|vectorlinux|fuchsia|arcaos|arch(?= ?linux))[;l ]([\d\.]*)/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire|knoppix)(?: gnu[\/ ]linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/\b(aix)[; ]([1-9\.]{0,4})/i,/(hurd|linux|morphos)(?: (?:arm|x86|ppc)\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) ?(r\d)?/i],[c,d],[/(sunos) ?([\d\.]*)/i],[[c,"Solaris"],d],[/\b(beos|os\/2|amigaos|openvms|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[c,d]]},me=(function(){var a={init:{},isIgnore:{},isIgnoreRgx:{},toString:{}};return V.call(a.init,[[D,[c,d,pe,o]],[Y,[M]],[F,[o,l,u]],[U,[c,d]],[P,[c,d]]]),V.call(a.isIgnore,[[D,[d,pe]],[U,[d]],[P,[d]]]),V.call(a.isIgnoreRgx,[[D,/ ?browser$/i],[P,/ ?os$/i]]),V.call(a.toString,[[D,[c,d]],[Y,[M]],[F,[u,l]],[U,[c,d]],[P,[c,d]]]),a})(),r0=function(a,t){var e=me.init[t],i=me.isIgnore[t]||0,n=me.isIgnoreRgx[t]||0,r=me.toString[t]||0;function s(){V.call(this,e)}return s.prototype.getItem=function(){return a},s.prototype.withClientHints=function(){return Z?Z.getHighEntropyValues(Ct).then(function(p){return a.setCH(new Mt(p,!1)).parseCH().get()}):a.parseCH().get()},s.prototype.withFeatureCheck=function(){return a.detectFeature().get()},t!=xe&&(s.prototype.is=function(p){var h=!1;for(var I in this)if(this.hasOwnProperty(I)&&!je(i,I)&&K(n?re(n,this[I]):this[I])==K(n?re(n,p):p)){if(h=!0,p!=E.UNDEFINED)break}else if(p==E.UNDEFINED&&h){h=!h;break}return h},s.prototype.toString=function(){var p=ae;for(var h in r)typeof this[r[h]]!==E.UNDEFINED&&(p+=(p?" ":ae)+this[r[h]]);return p||E.UNDEFINED}),s.prototype.then=function(p){var h=this,I=function(){for(var R in h)h.hasOwnProperty(R)&&(this[R]=h[R])};I.prototype={is:s.prototype.is,toString:s.prototype.toString,withClientHints:s.prototype.withClientHints,withFeatureCheck:s.prototype.withFeatureCheck};var S=new I;return p(S),S},new s};function Mt(a,t){if(a=a||{},V.call(this,Ct),t)V.call(this,[[Qe,We(a[j])],[$e,We(a[Xt])],[v,/\?1/.test(a[e0])],[l,de(a[t0])],[ne,de(a[At])],[et,de(a[i0])],[M,de(a[Zt])],[X,We(a[$t])],[Ue,de(a[Qt])]]);else for(var e in a)this.hasOwnProperty(e)&&typeof a[e]!==E.UNDEFINED&&(this[e]=a[e])}function z(a,t,e,i){return V.call(this,[["itemType",a],["ua",t],["uaCH",i],["rgxMap",e],["data",r0(this,a)]]),this}z.prototype.get=function(a){return a?this.data.hasOwnProperty(a)?this.data[a]:void 0:this.data};z.prototype.set=function(a,t){return this.data[a]=t,this};z.prototype.setCH=function(a){return this.uaCH=a,this};z.prototype.detectFeature=function(){if(O&&O.userAgent==this.ua)switch(this.itemType){case D:O.brave&&typeof O.brave.isBrave==E.FUNCTION&&this.set(c,"Brave");break;case F:!this.get(o)&&Z&&Z[v]&&this.set(o,v),this.get(l)=="Macintosh"&&O&&typeof O.standalone!==E.UNDEFINED&&O.maxTouchPoints&&O.maxTouchPoints>2&&this.set(l,"iPad").set(o,k);break;case P:!this.get(c)&&Z&&Z[ne]&&this.set(c,Z[ne]);break;case xe:var a=this.data,t=function(e){return a[e].getItem().detectFeature().get()};this.set(D,t(D)).set(Y,t(Y)).set(F,t(F)).set(U,t(U)).set(P,t(P))}return this};z.prototype.parseUA=function(){switch(this.itemType!=xe&&Xe.call(this.data,this.ua,this.rgxMap),this.itemType){case D:this.set(pe,Je(this.get(d)));break;case P:if(this.get(c)=="iOS"&&this.get(d)=="18.6"){var a=/\) Version\/([\d\.]+)/.exec(this.ua);a&&parseInt(a[1].substring(0,2),10)>=26&&this.set(d,a[1])}break}return this};z.prototype.parseCH=function(){var a=this.uaCH,t=this.rgxMap;switch(this.itemType){case D:case U:var e=a[$e]||a[Qe],i;if(e)for(var n=0;n<e.length;n++){var r=e[n].brand||e[n],s=e[n].version;this.itemType==D&&!/not.a.brand/i.test(r)&&(!i||/Chrom/.test(i)&&r!=ft||i==Ie&&/WebView2/.test(r))&&(r=N(r,n0),i=this.get(c),i&&!/Chrom/.test(i)&&/Chrom/.test(r)||this.set(c,r).set(d,s).set(pe,Je(s)),i=r),this.itemType==U&&r==ft&&this.set(d,s)}break;case Y:var p=a[M];p&&(p&&a[Ue]=="64"&&(p+="64"),Xe.call(this.data,p+";",t));break;case F:if(a[v]&&this.set(o,v),a[l]&&(this.set(l,a[l]),!this.get(o)||!this.get(u))){var h={};Xe.call(h,"droid 9; "+a[l]+")",t),!this.get(o)&&h.type&&this.set(o,h.type),!this.get(u)&&h.vendor&&this.set(u,h.vendor)}if(a[X]){var I;if(typeof a[X]!="string")for(var S=0;!I&&S<a[X].length;)I=N(a[X][S++],wt);else I=N(a[X],wt);this.set(o,I)}break;case P:var R=a[ne];if(R){var G=a[et];R==ze&&(G=parseInt(Je(G),10)>=13?"11":"10"),this.set(c,R).set(d,G)}this.get(c)==ze&&a[l]=="Xbox"&&this.set(c,"Xbox").set(d,void 0);break;case xe:var oe=this.data,q=function(he){return oe[he].getItem().setCH(a).parseCH().get()};this.set(D,q(D)).set(Y,q(Y)).set(F,q(F)).set(U,q(U)).set(P,q(P))}return this};function H(a,t,e){if(typeof a===E.OBJECT?(Ae(a,!0)?(typeof t===E.OBJECT&&(e=t),t=a):(e=a,t=void 0),a=void 0):typeof a===E.STRING&&!Ae(t,!0)&&(e=t,t=void 0),e)if(typeof e.append===E.FUNCTION){var i={};e.forEach(function(S,R){i[String(R).toLowerCase()]=S}),e=i}else{var n={};for(var r in e)e.hasOwnProperty(r)&&(n[String(r).toLowerCase()]=e[r]);e=n}if(!(this instanceof H))return new H(a,t,e).getResult();var s=typeof a===E.STRING?a:e&&e[xt]?e[xt]:O&&O.userAgent?O.userAgent:ae,p=new Mt(e,!0),h=t?x0(gt,t):gt,I=function(S){return S==xe?function(){return new z(S,s,h,p).set("ua",s).set(D,this.getBrowser()).set(Y,this.getCPU()).set(F,this.getDevice()).set(U,this.getEngine()).set(P,this.getOS()).get()}:function(){return new z(S,s,h[S],p).parseUA().get()}};return V.call(this,[["getBrowser",I(D)],["getCPU",I(Y)],["getDevice",I(F)],["getEngine",I(U)],["getOS",I(P)],["getResult",I(xe)],["getUA",function(){return s}],["setUA",function(S){return fe(S)&&(s=Ce(S,jt)),this}]]).setUA(s),this}H.VERSION=zt;H.BROWSER=Le([c,d,pe,o]);H.CPU=Le([M]);H.DEVICE=Le([l,u,o,ve,v,T,k,L,ue]);H.ENGINE=H.OS=Le([c,d]);const o0=Object.freeze(Object.defineProperty({__proto__:null,UAParser:H},Symbol.toStringTag,{value:"Module"})),C=[];for(let a=0;a<256;++a)C.push((a+256).toString(16).slice(1));function s0(a,t=0){return(C[a[t+0]]+C[a[t+1]]+C[a[t+2]]+C[a[t+3]]+"-"+C[a[t+4]]+C[a[t+5]]+"-"+C[a[t+6]]+C[a[t+7]]+"-"+C[a[t+8]]+C[a[t+9]]+"-"+C[a[t+10]]+C[a[t+11]]+C[a[t+12]]+C[a[t+13]]+C[a[t+14]]+C[a[t+15]]).toLowerCase()}let Ke;const l0=new Uint8Array(16);function c0(){if(!Ke){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Ke=crypto.getRandomValues.bind(crypto)}return Ke(l0)}const d0=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),mt={randomUUID:d0};function u0(a,t,e){a=a||{};const i=a.random??a.rng?.()??c0();if(i.length<16)throw new Error("Random bytes length must be >= 16");return i[6]=i[6]&15|64,i[8]=i[8]&63|128,s0(i)}function Rt(a,t,e){return mt.randomUUID&&!a?mt.randomUUID():u0(a)}function Ot(a,t){return a=a-262,Me()[a]}function Me(){const a=["Zimbabwe","Christmas Island","Timor-Leste","Peru","Guinea-Bissau","Bulgaria","Switzerland","Russian Federation","Uruguay","Belgium","9339530RyzLMG","New Zealand","French Polynesia","Saint Lucia","Gambia","Isle of Man","Guinea","Croatia","Sri Lanka","Niger","South Georgia and the South Sandwich Islands","Canada","Bermuda","Saint Pierre and Miquelon","Åland Islands","Turkey","Spain","Libya","Equatorial Guinea","Montenegro","San Marino","Guadeloupe","Portugal","Bolivia (Plurinational State of)","Bosnia and Herzegovina","Syrian Arab Republic","Taiwan","Argentina","Iraq","Morocco","Heard Island and McDonald Islands","Bonaire, Sint Eustatius and Saba","Western Sahara","Greenland","Serbia","French Guiana","Haiti","Angola","Norfolk Island","Slovenia","Panama","Albania","Cook Islands","Burkina Faso","Colombia","Kuwait","Moldova (Republic of)","3605328irrtkI","Jordan","Chile","Benin","Poland","Grenada","Austria","Namibia","Virgin Islands (U.S.)","Cayman Islands","Bhutan","150172NmNHNH","Cabo Verde","Slovakia","Gibraltar","Antigua and Barbuda","Guam","Belarus","Mali","Ukraine","Kiribati","Pitcairn","Mayotte","Bangladesh","Togo","5ihvsFR","Maldives","Seychelles","Saint Martin (French part)","9XnMdjb","Iran (Islamic Republic of)","Tonga","Yemen","Falkland Islands (Malvinas)","Botswana","Bouvet Island","Guernsey","8PXgMDX","Japan","Réunion","Palestine, State of","Mozambique","Liechtenstein","Dominican Republic","Palau","Anguilla","Montserrat","Myanmar","Jersey","Monaco","Jamaica","United States Minor Outlying Islands","Andorra","Eritrea","Wallis and Futuna","Ghana","Cameroon","11ukjWwV","Nauru","Congo (Democratic Republic of the)","South Africa","Saudi Arabia","Gabon","Mauritius","Somalia","Algeria","Central African Republic","Djibouti","Korea (Democratic People's Republic of)","Nepal","Ethiopia","Comoros","Guyana","United States of America","Lithuania","Nigeria","Mexico","Czech Republic","Honduras","Holy See","British Indian Ocean Territory","Azerbaijan","Northern Mariana Islands","Liberia","Trinidad and Tobago","Romania","Marshall Islands","Afghanistan","Pakistan","El Salvador","Suriname","Micronesia (Federated States of)","Cocos (Keeling) Islands","Finland","82332cJSOPO","Iceland","Chad","American Samoa","Saint Barthélemy","Macedonia (the former Yugoslav Republic of)","Viet Nam","Netherlands","Estonia","Oman","Tajikistan","218708ndRYrB","Philippines","Malaysia","Faroe Islands","Niue","Ireland","Saint Vincent and the Grenadines","Virgin Islands (British)","Senegal","Kazakhstan","Brunei Darussalam","Sweden","Turks and Caicos Islands","Israel","Puerto Rico","Samoa","Mauritania","India","Congo","Malta","Kenya","Georgia","Indonesia","3015334ftyyaQ","2561868Pxjige","Tunisia","South Sudan","Norway","Tokelau","Hungary","Bahrain","Papua New Guinea"];return Me=function(){return a},Me()}const x=Ot;(function(a,t){const e=Ot,i=a();for(;;)try{if(parseInt(e(330))/1+parseInt(e(341))/2*(-parseInt(e(265))/3)+parseInt(e(441))/4*(-parseInt(e(455))/5)+-parseInt(e(365))/6+parseInt(e(364))/7*(parseInt(e(273))/8)+-parseInt(e(430))/9+parseInt(e(383))/10*(parseInt(e(293))/11)===t)break;i.push(i.shift())}catch{i.push(i.shift())}})(Me,253872);const Dt={AF:x(323),AX:x(397),AL:x(424),DZ:x(301),AS:x(333),AD:x(288),AO:x(420),AI:x(281),AQ:"Antarctica",AG:x(445),AR:x(410),AM:"Armenia",AW:"Aruba",AU:"Australia",AT:x(436),AZ:x(317),BS:"Bahamas",BH:x(371),BD:x(453),BB:"Barbados",BY:x(447),BE:x(382),BZ:"Belize",BJ:x(433),BM:x(395),BT:x(440),BO:x(406),BQ:x(414),BA:x(407),BW:x(270),BV:x(271),BR:"Brazil",IO:x(316),BN:x(351),BG:x(378),BF:x(426),BI:"Burundi",CV:x(442),KH:"Cambodia",CM:x(292),CA:x(394),KY:x(439),CF:x(302),TD:x(332),CL:x(432),CN:"China",CX:x(374),CC:x(328),CO:x(427),KM:x(307),CG:x(359),CD:x(295),CK:x(425),CR:"Costa Rica",CI:"Côte d'Ivoire",HR:x(390),CU:"Cuba",CW:"Curaçao",CY:"Cyprus",CZ:x(313),DK:"Denmark",DJ:x(303),DM:"Dominica",DO:x(279),EC:"Ecuador",EG:"Egypt",SV:x(325),GQ:x(401),ER:x(289),EE:x(338),ET:x(306),FK:x(269),FO:x(344),FJ:"Fiji",FI:x(329),FR:"France",GF:x(418),PF:x(385),TF:"French Southern Territories",GA:x(298),GM:x(387),GE:x(362),DE:"Germany",GH:x(291),GI:x(444),GR:"Greece",GL:x(416),GD:x(435),GP:x(404),GU:x(446),GT:"Guatemala",GG:x(272),GN:x(389),GW:x(377),GY:x(308),HT:x(419),HM:x(413),VA:x(315),HN:x(314),HK:"Hong Kong",HU:x(370),IS:x(331),IN:x(358),ID:x(363),IR:x(266),IQ:x(411),IE:x(346),IM:x(388),IL:x(354),IT:"Italy",JM:x(286),JP:x(274),JE:x(284),JO:x(431),KZ:x(350),KE:x(361),KI:x(450),KP:x(304),KR:"Korea, Republic of",KW:x(428),KG:"Kyrgyzstan",LA:"Lao People's Democratic Republic",LV:"Latvia",LB:"Lebanon",LS:"Lesotho",LR:x(319),LY:x(400),LI:x(278),LT:x(310),LU:"Luxembourg",MO:"Macao",MK:x(335),MG:"Madagascar",MW:"Malawi",MY:x(343),MV:x(262),ML:x(448),MT:x(360),MH:x(322),MQ:"Martinique",MR:x(357),MU:x(299),YT:x(452),MX:x(312),FM:x(327),MD:x(429),MC:x(285),MN:"Mongolia",ME:x(402),MS:x(282),MA:x(412),MZ:x(277),MM:x(283),NA:x(437),NR:x(294),NP:x(305),NL:x(337),NC:"New Caledonia",NZ:x(384),NI:"Nicaragua",NE:x(392),NG:x(311),NU:x(345),NF:x(421),MP:x(318),NO:x(368),OM:x(339),PK:x(324),PW:x(280),PS:x(276),PA:x(423),PG:x(372),PY:"Paraguay",PE:x(376),PH:x(342),PN:x(451),PL:x(434),PT:x(405),PR:x(355),QA:"Qatar",RE:x(275),RO:x(321),RU:x(380),RW:"Rwanda",BL:x(334),SH:"Saint Helena, Ascension and Tristan da Cunha",KN:"Saint Kitts and Nevis",LC:x(386),MF:x(264),PM:x(396),VC:x(347),WS:x(356),SM:x(403),ST:"Sao Tome and Principe",SA:x(297),SN:x(349),RS:x(417),SC:x(263),SL:"Sierra Leone",SG:"Singapore",SX:"Sint Maarten (Dutch part)",SK:x(443),SI:x(422),SB:"Solomon Islands",SO:x(300),ZA:x(296),GS:x(393),SS:x(367),ES:x(399),LK:x(391),SD:"Sudan",SR:x(326),SJ:"Svalbard and Jan Mayen",SZ:"Swaziland",SE:x(352),CH:x(379),SY:x(408),TW:x(409),TJ:x(340),TZ:"Tanzania, United Republic of",TH:"Thailand",TL:x(375),TG:x(454),TK:x(369),TO:x(267),TT:x(320),TN:x(366),TR:x(398),TM:"Turkmenistan",TC:x(353),TV:"Tuvalu",UG:"Uganda",UA:x(449),AE:"United Arab Emirates",GB:"United Kingdom",US:x(309),UM:x(287),UY:x(381),UZ:"Uzbekistan",VU:"Vanuatu",VE:"Venezuela (Bolivarian Republic of)",VN:x(336),VG:x(348),VI:x(438),WF:x(290),EH:x(415),YE:x(268),ZM:"Zambia",ZW:x(373)},_=Lt;(function(a,t){const e=Lt,i=a();for(;;)try{if(parseInt(e(398))/1+parseInt(e(386))/2+parseInt(e(337))/3*(-parseInt(e(396))/4)+parseInt(e(411))/5*(-parseInt(e(340))/6)+parseInt(e(368))/7*(parseInt(e(334))/8)+-parseInt(e(405))/9*(parseInt(e(335))/10)+-parseInt(e(394))/11*(-parseInt(e(400))/12)===t)break;i.push(i.shift())}catch{i.push(i.shift())}})(Re,481121);const tt={gov:{prod:{log:_(388),report:"https://log.vpe.gov-ntruss.com/stats"},beta:{log:_(343),report:_(345)}},pub:{prod:{log:"https://papi.vpe.naverncp.com/player/maSync",report:_(357)},beta:{log:_(359),report:_(410)}}};let A={video:{},browser:{},device:{},connection:{},screen:{},player_version:"latest",extra:{sessionId:null,playerType:_(333)},log_type:_(329),privacy:{cookie_enabled:!0}},B={platform:_(358),stage:_(378),sync:!1,syncResult:{}};const p0=new Date()[_(370)](),Pt=a=>a;function ye(){return Rt()}function yt(){return Rt()}const Nt=()=>{const a=_,t=new Date,e=s=>String(s)[a(346)](2,"0"),i=t[a(407)]()+"-"+e(t[a(363)]()+1)+"-"+e(t[a(385)]())+" "+e(t[a(379)]())+":"+e(t.getMinutes())+":"+e(t[a(369)]()),n=Math[a(348)](t[a(370)]()/1e3),r=new Date()[a(370)]()-p0;return{logDate:i,logDateUnix:n,thisSec:r}};function f0(a){const t=_;return typeof a===t(347)&&a!==null&&!Array[t(374)](a)}function Ut(a,t){const e=_;Object[e(332)](t).forEach(([i,n])=>{const r=e;f0(n)?(!a[i]&&(a[i]={}),Object[r(332)](n)[r(352)](([s,p])=>{p!=null&&(a[i][s]=p)})):n!=null&&(a[i]=n)})}function h0(a){const t=_;return a[t(402)](t(389))>-1?"hls":a[t(402)](t(408))>-1?t(381):t(403)}function b0(a){const t=_,e=[];return a?.r1&&e[t(341)](a.r1),a?.r2&&e[t(341)](a.r2),a?.r3&&e[t(341)](a.r3),e[t(367)](" ")}function w0(a){const t=_;a[t(330)]===t(406)&&(a.actionDuration=0),a[t(330)]===void 0&&(a.actionDuration=0),[t(383),t(393),t(395),t(349)][t(352)](i=>{a[i]===void 0&&(a[i]=0)}),a[t(360)]===void 0&&A.video?.[t(360)]&&(a[t(360)]=A.video[t(360)]),a.url===void 0&&A.video?.url&&(a[t(377)]=A[t(390)][t(377)],a.videoFormat=h0(a.url))}function g0(a){const t=_;return!!(a[t(342)]&&a[t(356)]&&a[t(338)])}function it(a){const t=_;try{const e=B[t(354)]?.geoLocation;e&&(a[t(376)]=b0(e),a[t(399)]=e[t(331)]||"",a.ip=B[t(354)]?.ip||"",a.nation=e[t(326)]||"")}catch{}}const m0=async a=>{const t=_;if(!a)return;const{platform:e,stage:i}=B,n=tt[e][i].log;try{const r=await fetch(n,{method:"POST",headers:{"Content-Type":t(372)},body:JSON[t(364)]({access_key:a})}),s=await r[t(362)]();B[t(380)]=s[t(344)]?.[t(380)]||!1,B[t(354)]=s[t(344)]||{};const{logDate:p,logDateUnix:h}=Nt();return A[t(350)][t(397)]=p,A[t(350)].logDateUnix=h,B[t(354)]?.geoLocation&&it(A.extra),s}catch(r){return console[t(375)](t(365),r),null}},y0=async a=>{const t=_,{platform:e,stage:i}=B,n=Pt(tt[e][i][t(361)]),r={...a};r.log_type=t(329),it(r.extra);try{await fetch(n,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON[t(364)](r)})}catch(s){console.error(t(409),s)}};function Re(){const a=["getHours","sync","dash","MA report actionType ->","playerStartTime","platform","getDate","821350fhLpuw","nation","https://papi.vpe.gov-ntruss.com/player/maSync","m3u8","video","parse","stage","videoStartTime","11SnNTkm","totalStartTime","3654292JvUOsP","logDate","709067RdxTcy","isp","13829820xkmxLS","actionType","indexOf","mp4","assign","53307HobAac","1.0","getFullYear","mpd","MA init report failed:","https://log.beta-vpe.naverncp.com/stats","5lVevJx","country","created_at","sessionId","vpe","actionDuration","net","entries","VPE React Native","144NyFTFp","900ulAQME","Korea, Republic of","3tPXdof","host","MA vpe init","3994146HNsdsL","push","UUID","https://papi.beta-vpe.gov-ntruss.com/player/maSync","result","https://log.beta-vpe.gov-ntruss.com/stats","padStart","object","floor","seekedTime","extra","log_type","forEach","browser","syncResult","timeupdate","TID","https://log.vpe.naverncp.com/stats","pub","https://papi.beta-vpe.naverncp.com/player/maSync","type","report","json","getMonth","stringify","MA config initialization failed:","vpeKey","join","124922KRftgO","getSeconds","getTime","log","application/json","MA report failed:","isArray","error","address","url","prod"];return Re=function(){return a},Re()}const v0=async a=>{const t=_,{platform:e,stage:i}=B,n=Pt(tt[e][i][t(361)]),r=JSON[t(391)](JSON[t(364)](A));if(Ut(r,a),r[t(351)]="MA",it(r[t(350)]),w0(r[t(350)]),!!g0(r[t(350)]))try{r[t(360)]!=t(355),await fetch(n,{method:"POST",headers:{"Content-Type":t(372)},body:JSON[t(364)](r)})}catch(s){console[t(371)](t(373),s)}};function Lt(a,t){return a=a-326,Re()[a]}async function I0(a,t,e,i,n){const r=_;B[r(384)]=a,B[r(392)]=t,Ut(A,e),i&&(A[r(350)].vpePackageId=i),n&&(A[r(350)][r(366)]=n),A[r(350)][r(387)]?A[r(353)][r(326)]=Dt[A[r(350)].nation]||r(336):A[r(353)][r(326)]=r(336);const{logDate:s,logDateUnix:p}=Nt();A[r(350)][r(397)]=s,A.extra.logDateUnix=p,A[r(350)][r(327)]=p}async function S0(a){const t=_,e=JSON[t(391)](JSON[t(364)](A));a.extra&&Object[t(404)](e.extra,a[t(350)]),e[t(390)]=a[t(390)],await y0(e),console[t(371)](t(339))}function Bt(a,t){return a=a-483,Oe()[a]}(function(a,t){const e=Bt,i=a();for(;;)try{if(parseInt(e(495))/1*(-parseInt(e(488))/2)+parseInt(e(505))/3+parseInt(e(483))/4*(-parseInt(e(506))/5)+-parseInt(e(485))/6*(-parseInt(e(500))/7)+parseInt(e(489))/8*(parseInt(e(503))/9)+-parseInt(e(496))/10*(parseInt(e(504))/11)+-parseInt(e(493))/12*(parseInt(e(494))/13)===t)break;i.push(i.shift())}catch{i.push(i.shift())}})(Oe,752566);const k0=(a={},t)=>{const e=Bt,i={autostart:!0,muted:!1,aspectRatio:e(499),objectFit:"contain",controls:!0,keyboardShortcut:!0,startMutedInfoNotVisible:!1,allowsPictureInPicture:!1,staysActiveInBackground:!1,screenRecordingPrevention:!1,modalFullscreen:!1,seekingPreview:!0,lang:"ko",ui:e(484),controlBtn:{play:!0,fullscreen:!0,progressBar:!0,volume:!1,times:!0,pictureInPicture:!0,setting:!0,subtitle:!0},progressBarColor:e(497),controlActiveTime:3e3,playRateSetting:[.5,.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(490),watermarkConfig:{randPosition:!0,randPositionInterVal:3e3,x:10,y:10,opacity:.5},captionStyle:{fontSize:12,color:e(502),backgroundColor:e(492),edgeStyle:e(486)},override:null};if(t!==e(501))return{...i,..._0};const n={...i,...a};return a[e(491)]&&(n.controlBtn={...i.controlBtn,...a[e(491)]}),a.watermarkConfig&&(n.watermarkConfig={...i[e(507)],...a[e(507)]}),a[e(498)]&&(n[e(498)]={...i[e(498)],...a[e(498)]}),n[e(491)]?.[e(487)]===void 0&&(n[e(491)][e(487)]=!0),n},_0={free:!0,startMutedInfoNotVisible:!1,lowLatencyMode:!1,progressBarColor:"#009dff",playRateSetting:[.5,.75,1,1.5,2],descriptionNotVisible:!0,seekingPreview:!1,controlActiveTime:1500,ui:"all",token:"",setStartTime:null,controlBtn:{play:!0,fullscreen:!0,volume:!0,times:!0,setting:!1,pictureInPicture:!1,progressBar:!0}};function Oe(){const a=["1635880WfduNJ","NAVER CLOUD PLATFORM","controlBtn","rgba(0, 0, 0, 0.4)","48Jydvqn","3293992gNAbNF","769735tqpxry","8830JcUwbi","#4299f5","captionStyle","16/9","8593613jelTFN","pay","#ffffff","27OfciwJ","1925xcBfLt","4005171klVoJT","8405FrKYEg","watermarkConfig","1156VfqhVZ","all","6YVeCKm","dropshadow","progressBar","2BjcmXw"];return Oe=function(){return a},Oe()}const g=Ft;(function(a,t){const e=Ft,i=a();for(;;)try{if(parseInt(e(274))/1*(-parseInt(e(281))/2)+-parseInt(e(349))/3+parseInt(e(254))/4+parseInt(e(260))/5+parseInt(e(315))/6*(parseInt(e(348))/7)+-parseInt(e(262))/8*(parseInt(e(286))/9)+parseInt(e(299))/10===t)break;i.push(i.shift())}catch{i.push(i.shift())}})(De,211111);function Ft(a,t){return a=a-247,De()[a]}const vt="0p",E0=59e3,T0=1,m={PLAYER_START:"player_start",STARTUP:"startup",PLAY:g(320),PAUSE:g(350),PLAYING:g(334),PAUSED:g(350),SEEKING:"seeking",SEEKED:g(288),WAITING:g(304),WAITING_END:g(336),CANPLAY:g(278),ENDED:g(272),NEXT_TRACK:"nextTrack",PREV_TRACK:g(312),ERROR:g(269),QUALITY_CHANGE:"quality_change",REBUFFERING:g(271),TIMEUPDATE:g(308),TIMEUPDATE_FOCUS:g(319)};class A0{[g(344)];stageData;[g(329)];constructor(t,e,i){const n=g;this[n(322)]={platform:t,stage:e,sync:!1,syncResult:{}},this[n(344)]={video:{},browser:{},device:{},connection:{},screen:{},player_version:n(261),extra:{UUID:null,TID:null,sessionId:null,playerType:n(268),playAttempt:!1},log_type:n(309),privacy:{cookie_enabled:!0}},this[n(329)]={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:vt},this[n(323)](i),this[n(322)]}initializeReportData(t){const e=g;this[e(344)]={...this.reportData,...t},this[e(344)][e(332)][e(339)]?this[e(344)][e(301)][e(296)]=Dt[this.reportData[e(332)].nation]||"Korea, Republic of":this[e(344)][e(301)][e(296)]=e(347)}[g(314)](){const t=g,e=new Date,i=s=>String(s)[t(266)](2,"0"),n=e[t(257)]()+"-"+i(e[t(248)]()+1)+"-"+i(e.getDate())+" "+i(e.getHours())+":"+i(e[t(263)]())+":"+i(e[t(306)]()),r=Math[t(294)](e[t(314)]()/1e3);return{logDate:n,logDateUnix:r}}[g(280)](t){const e=g;return typeof t===e(317)&&t!==null&&!Array[e(335)](t)}async[g(287)](t,e){const i=g;if(this[i(329)].firstError)return;const{logDate:n,logDateUnix:r}=this[i(314)](),s=Date[i(337)](),p=this[i(329)][i(345)]>0?s-this[i(329)][i(345)]:0,h=p,I={...this[i(344)],video:this[i(344)].video,extra:{...this[i(344)].extra,actionType:t,actionDuration:h?h.toFixed(2):0,logDate:n,logDateUnix:r}};this.state.prevTime=s,await v0(I)}async[g(265)](t){const e=g;!this[e(344)][e(332)][e(325)]&&(this[e(344)][e(332)].sessionId=yt(),this.reportData[e(332)].TID=ye(),this[e(344)][e(332)].UUID=ye()),t.extra[e(325)]=this.reportData.extra[e(325)],await S0(t)}async[g(253)](t){const e=g;!t||typeof t!==e(317)||Object[e(284)](t)[e(351)](([i,n])=>{const r=e;this.isPlainObject(n)?Object[r(284)](n)[r(351)](([s,p])=>{const h=r;p!=null&&(this[h(344)][i][s]=p)}):n!=null&&(this[r(344)][i]=n)})}[g(313)](t){const e=g,{type:i,data:n}=t,r={url:n?.[e(341)]||this[e(329)][e(259)],type:n?.type,quality:n?.quality||this[e(329)].prevQuality,data:n};switch(i){case m.PLAYER_START:this[e(273)](r,n);break;case m.STARTUP:this.handleStartup(r,n);break;case m[e(291)]:this[e(283)](r,n);break;case m[e(342)]:this.handlePause(r,n);break;case m.TIMEUPDATE:this.handleTimeUpdate(r,n);break;case m[e(247)]:this[e(343)](r,n);break;case m.SEEKING:this.handleSeeking(r,n);break;case m[e(282)]:this[e(255)](r,n);break;case m[e(307)]:this[e(252)](r,n);break;case m.WAITING_END:this[e(353)](r,n);break;case m[e(340)]:this[e(300)](r,n);break;case m[e(258)]:this.handleEnded(r,n);break;case e(251):case e(312):this[e(289)](i,r,n);break;case m.ERROR:this.handleError(r,n);break;case m[e(318)]:this.handleQualityChange(r,n);break}}[g(273)](t,e){const i=g;!this.reportData[i(332)][i(325)]&&(this[i(344)][i(332)][i(325)]=yt(),this[i(344)][i(332)][i(311)]=ye(),this[i(344)].extra[i(264)]=ye()),this.state[i(346)]=Date[i(337)](),this[i(329)][i(345)]=this[i(329)][i(346)],this.report(m[i(297)],{...t,data:e})}handleStartup(t,e){const i=g;this[i(329)].firstPlaying&&(this.report(m[i(330)],{...t,data:e}),this[i(329)][i(276)]=!1)}[g(283)](t,e){const i=g;this.state.isPlaying||(this[i(344)][i(332)][i(295)]=e?.[i(295)],this[i(344)][i(332)].percent=e?.[i(292)],this[i(329)][i(285)]=!0,this[i(344)][i(332)][i(275)]=!0,this.state[i(333)]&&(this.state.firstPlay=!1),this.state[i(279)]===m[i(316)]&&this[i(287)](m[i(352)],{...t,data:e}),this.state[i(279)]=m[i(352)])}[g(256)](t,e){const i=g;this.state[i(338)]||this[i(329)].isBuffering||!this[i(329)][i(285)]||(this[i(329)][i(285)]=!1,this.report(m[i(316)],{...t,data:e}),this[i(329)][i(279)]=m[i(316)])}handleTimeUpdate(t,e){const i=g;this[i(329)][i(285)]=!0,this[i(344)].extra.playAttempt=!0,!(this.reportData[i(332)].currentTime<T0)&&(this[i(329)][i(285)]&&Date.now()-this[i(329)][i(345)]>E0&&this[i(287)](m[i(352)],{...t,data:e}),this[i(329)][i(259)]=t.url||"",this[i(329)][i(331)]=t[i(326)]||vt)}[g(343)](t,e){const i=g;this[i(344)][i(332)][i(305)]>0&&(this[i(287)](m[i(352)],{...t,data:e}),this.state[i(250)]=!0)}handleSeeking(t,e){const i=g;this.state[i(338)]||(this[i(329)][i(338)]=!0,this.state[i(285)]?this.report(m[i(352)],{...t,data:e}):this[i(329)][i(279)]===m[i(316)]&&this[i(287)](m[i(316)],{...t,data:e}),this.state.prevAction=m.SEEKING)}[g(255)](t,e){const i=g;this.state[i(338)]&&(this.state.isSeeking=!1,this[i(287)](m[i(354)],{...t,data:e}),this[i(329)].prevAction=this[i(329)][i(285)]?m[i(352)]:m[i(316)])}[g(252)](t,e){const i=g;this[i(329)][i(338)]||this.state[i(298)]||(this[i(329)][i(298)]=!0,this[i(329)][i(285)]&&this[i(287)](m[i(352)],{...t,data:e}),this[i(329)][i(279)]=m.REBUFFERING)}[g(353)](t,e){const i=g;this[i(329)][i(338)]||this.state[i(298)]||(this[i(329)][i(298)]=!0,this[i(329)][i(285)]&&this.report(m[i(352)],{...t,data:e}),this[i(329)][i(279)]=m[i(324)])}[g(300)](t,e){const i=g;this[i(329)].isBuffering&&(this.state[i(298)]=!1,this.report(m[i(324)],{...t,data:e}),this[i(329)][i(279)]=this[i(329)][i(285)]?m.PLAYING:m[i(316)])}[g(327)](t,e){const i=g;this.state[i(328)]||(this[i(329)][i(328)]=!0,this[i(329)].isPlaying=!1,this[i(329)][i(279)]!==m[i(316)]&&this[i(287)](this[i(329)][i(279)]||m[i(352)],{...t,data:e}),this[i(287)](m[i(258)],{...t,data:e}))}handleTrackChange(t,e,i){const n=g,r=t===n(251)?m[n(293)]:m[n(290)];this.report(this[n(329)][n(279)]||m[n(352)],{...e,data:i})[n(321)](()=>{const s=n;this[s(287)](r,{...e,data:i}).then(()=>{this[s(270)]()})})}[g(303)](t,e){const i=g;this[i(329)][i(279)]&&!this[i(329)][i(276)]&&this[i(287)](this[i(329)][i(279)],{...t,data:e});const n={errorCode:e?.[i(277)]||"E0000",errorMessage:e?.[i(302)]||i(310)};this[i(287)](m[i(267)],{...t,data:{...e,...n}}),this[i(329)].firstError=!0}[g(249)](t,e){const i=g;this[i(329)].prevAction&&!this[i(329)][i(338)]&&!this[i(329)][i(298)]&&!this.state[i(276)]&&(this.state[i(338)]=!0,this.report(this.state[i(279)],{...t,data:e}),this[i(329)].prevAction=m[i(354)])}resetStateForNewTrack(){const t=g;this[t(329)][t(279)]=null,this[t(329)][t(285)]=!1,this.state.prevTime=0,this[t(329)].firstPlaying=!0,this[t(329)][t(250)]=!1}}function De(){const a=["getMonth","handleQualityChange","initTimeupdate","nextTrack","handleWaiting","maSync","1011964waooGl","handleSeeked","handlePause","getFullYear","ENDED","prevUrl","19765DRsaxL","latest","1112920tMluga","getMinutes","UUID","maInit","padStart","ERROR","VPE","error","resetStateForNewTrack","rebuffering","ended","handlePlayerStart","1347HwZgQc","playAttempt","firstPlaying","code","canplay","prevAction","isPlainObject","478NhQrUw","SEEKED","handlePlay","entries","isPlaying","18KDtwnS","report","seeked","handleTrackChange","PREV_TRACK","PLAY","percent","NEXT_TRACK","floor","playedTime","country","PLAYER_START","isBuffering","5166440bpNdJc","handleCanplay","browser","message","handleError","waiting","currentTime","getSeconds","WAITING","timeupdate","vpe","Unknown Error","TID","prevTrack","dispatchEvent","getTime","2202NIbKgX","PAUSED","object","QUALITY_CHANGE","timeupdateFocus","play","then","stageData","initializeReportData","REBUFFERING","sessionId","quality","handleEnded","isEnded","state","STARTUP","prevQuality","extra","firstPlay","playing","isArray","waitingEnd","now","isSeeking","nation","CANPLAY","url","PAUSE","handleTimeUpdateFocus","reportData","prevTime","startTime","Korea, Republic of","3535IDVWaz","442947CEnIpe","pause","forEach","PLAYING","handleWaitingEnd","SEEKING","TIMEUPDATE_FOCUS"];return De=function(){return a},De()}const y=Ht;(function(a,t){const e=Ht,i=a();for(;;)try{if(parseInt(e(430))/1+-parseInt(e(334))/2+-parseInt(e(356))/3*(-parseInt(e(387))/4)+-parseInt(e(315))/5*(-parseInt(e(346))/6)+-parseInt(e(414))/7*(-parseInt(e(281))/8)+-parseInt(e(431))/9+-parseInt(e(384))/10===t)break;i.push(i.shift())}catch{i.push(i.shift())}})(Pe,775013);function Ht(a,t){return a=a-269,Pe()[a]}const C0={gov:{prod:{config:y(417),report:y(319)},beta:{config:y(298),report:y(337)}},pub:{prod:{config:"aHR0cHM6Ly9wYXBpLnZwZS5uYXZlcm5jcC5jb20vcGxheWVyL2NvbmZpZw==",report:y(392)},beta:{config:"aHR0cHM6Ly9wYXBpLmJldGEtdnBlLm5hdmVybmNwLmNvbS9wbGF5ZXIvY29uZmln",report:"aHR0cHM6Ly9sb2cuYmV0YS12cGUubmF2ZXJuY3AuY29tL3N0YXRz"}}};let It=[];const M0=a=>{const t=y;try{return atob(a)}catch(e){return console.error(t(369),e),""}};function Pe(){const a=["18123uBbYyf","mobile","saveData","aHR0cHM6Ly9wYXBpLnZwZS5nb3YtbnRydXNzLmNvbS9wbGF5ZXIvY29uZmln","playerName","currentTime","VPE","toString","stage","kakao","maUse","language","whale","API","url","translator","930656IdjvQx","7317324UpiVta","type","statusText","map","playerStartTimeMs","lang","maInit","test","playerVersion","screen","startup","getResult","title","result","port","Unknown","startsWith","hlsPaser","version","VPE Player: accessKey 또는 appId가 없어 키 인증을 건너뜁니다.","Auto","errorState","player_start","startTimeAt","3472gqsfAa","Whale","join","duration","pricing","isArray","watermarkConfig","warn","Naver webview","controlBtn","naver","E0003","downlink","hasFirstPlayReported","HLS 파싱 실패:","createPlayerInfo","match","aHR0cHM6Ly9wYXBpLmJldGEtdnBlLmdvdi1udHJ1c3MuY29tL3BsYXllci9jb25maWc=","Edg","getBrowserInfo","incomingType","some","player_version","split","kbps","options","application/json","round","error","accessKey","Safari","maManager","quality","isDev","1000HZJydp","getVideoProtocol","updateTranslator","stateChange","aHR0cHM6Ly9sb2cudnBlLmdvdi1udHJ1c3MuY29tL3N0YXRz","pay","state","performKeyCheck","Kakao webview","name","serverConfig","code","mpd","setErrorRun","dispatchEvent","text","host","navigator","unknown","2327332enYeku","reduce",".m3u8","aHR0cHM6Ly9sb2cuYmV0YS12cGUuZ292LW50cnVzcy5jb20vc3RhdHM=","vpe","indexOf","json","meta","hardwareConcurrency","height","errorCode","stringify","38382SlRUUY","width","VPE SDK Initialization failed:","href","location","includes","vendor","m3u8","playerStateReport","live","3288840BDHlyc","connection","Error:","length","VOD","floor","getErrorState","userAgentData","status","string","model","getElapsedMilliseconds","video","Base64 decoding failed:","platform","access_key","device","data","playerInfo","report","?preview=true","#EXT-X-STREAM-INF","Content-Type","appId","rtt","effectiveType","isPaidTier","protocol","16782470dsLItB","videoHeight","mozConnection","4JBQCxi","Edge","cid","volumechange","Other","aHR0cHM6Ly9sb2cudnBlLm5hdmVybmNwLmNvbS9zdGF0cw==","object","auto","LIVE","trim","ready","browser","POST","config","hls","player_name","kakaotalk","origin","toLowerCase","playlist","webkitConnection","UAParser","push","errorInfo","E0002","slice","userAgent"];return Pe=function(){return a},Pe()}class R0{[y(325)]={};playerInfo=null;accessKey;[y(379)];[y(370)];[y(422)];[y(314)];[y(429)]=Ee();[y(278)];maManager=null;[y(280)]=null;[y(301)]=null;[y(294)]=!1;[y(435)]=0;constructor({accessKey:t,appId:e,platform:i,stage:n,isDev:r=!1,language:s}){const p=y;this[p(310)]=t,this.appId=e||location[p(404)],this[p(370)]=i,this[p(422)]=n,this[p(314)]=r,this[p(317)](s),this[p(278)]={errorCode:null,errorMessage:null}}async initialize(){const t=y,e=[t(310),t(379),t(411),"E0001",t(292)],i=t(276);if([this[e[0]],this[e[1]]][t(302)](s=>!s))return console[t(288)](i),{error:this[t(328)](e[2])};const r=s=>{const p=t;return this[p(325)]=s,this[p(374)]=this[p(296)](s),this[p(374)]};try{const s=await this[t(322)]();if(s[t(326)]!==200)return{error:this.setErrorRun(e[3])};const p=r(s);if(window[t(338)]&&(window[t(338)][t(418)]=p?.[t(402)],window[t(338)][t(439)]=p?.[t(303)],window.vpe[t(402)]=p[t(402)]+"|"+p[t(303)],window[t(338)][t(321)]=this[t(422)]),p?.maUse==="Y"){await I0(this.platform,this[t(422)],p,this[t(379)],this[t(310)]);const h=await m0(this.accessKey);this[t(312)]=new A0(this.platform,this[t(422)],p),this[t(280)]=Date.now(),h?.result?.sync&&await this[t(312)][t(437)]({video:p.video||{},extra:{...p.extra}})}return{options:this[t(325)][t(270)]?.[t(306)],playerInfo:p}}catch(s){return console[t(309)](t(348),s),{error:this[t(328)](e[4])}}}async[y(322)](){const t=y,e=[t(376),t(400),t(378),t(307),t(371),"domain",t(399)],i=this.isDev?e[0]:"",n=M0(C0[this.platform][this.stage][e[1]])+i,r=this[t(379)],s=JSON[t(345)]([e[4],e[5]][t(335)]((h,I,S)=>(h[I]=[this.accessKey,r][S],h),{})),p=await fetch(n,{method:e[6],headers:{[e[2]]:e[3]},body:s});if(!p.ok)throw new Error([t(427),t(358),p[t(364)],p[t(433)]][t(283)](" "));return p[t(340)]()}[y(300)](){const t=y,e=navigator[t(413)];return/Edg\/(\d+\.\d+)/[t(438)](e)?{origin:t(388),version:RegExp.$1}:/Chrome\/(\d+\.\d+)/[t(438)](e)&&!e[t(351)](t(299))?{origin:"Chrome",version:RegExp.$1}:/Firefox\/(\d+\.\d+)/[t(438)](e)?{origin:"Firefox",version:RegExp.$1}:/Version\/(\d+\.\d+)/.test(e)&&e[t(351)](t(311))?{origin:"Safari",version:RegExp.$1}:{origin:"Unknown",version:t(272)}}[y(296)](t){const e=y,[i,n]=t[e(270)].name[e(304)]("|"),r=navigator[e(357)]||navigator[e(386)]||navigator[e(407)],s=this[e(300)](),p=navigator[e(363)],h=new H(window.navigator[e(413)])[e(442)]();return window[e(332)][e(413)][e(405)]()[e(351)](e(426))?h.browser[e(324)]=e(282):window[e(332)][e(413)].toLowerCase()[e(351)](e(403))?h[e(398)][e(324)]=e(323):window.navigator.userAgent.toLowerCase()[e(351)](e(291))?h[e(398)].name=e(289):window[e(332)][e(413)][e(405)]().includes(e(423))?h[e(398)][e(324)]="Kakao webview":window[e(332)][e(413)][e(405)]()[e(351)](e(291))&&(h.browser[e(324)]=e(289)),{cid:t[e(270)][e(389)],player_name:i,player_version:n,pricing:t[e(270)][e(285)],maUse:t[e(270)][e(306)]?.maUse==="Y"?"Y":"N",browser:{lang:navigator.language,ua:navigator[e(413)]},screen:{width:window[e(440)][e(347)],height:window[e(440)][e(343)]},connection:{network:r?.[e(381)]??e(333),downlink:r?.[e(293)]??null,rtt:r?.[e(380)]??null,save_data:r?.[e(416)]??!1},device:{platform:p?.[e(370)]??e(272),mobile:p?.[e(415)]??!1,memory:navigator.deviceMemory??null,processor:navigator[e(342)]??null},video:{url:""},extra:{vpeKey:this[e(310)],playerType:e(420),playerVersion:window[e(338)]?.playerVersion??n,os:p?.platform??"Unknown",osOrigin:h.os[e(324)]||e(272),osVersion:h.os[e(275)],vpePackageId:null,actionDuration:this[e(367)](),actionType:e(397),browser:s[e(404)],browserOrigin:s[e(404)],browserVersion:s[e(275)],quality:e(391),qualityOrigin:e(277),device:h.device[e(352)]+" "+h[e(372)][e(366)],location:window[e(350)][e(349)],host:window[e(350)][e(331)],port:window.location[e(271)],protocol:window.location[e(383)],title:""}}}[y(328)](t){const e=y,i=t[e(412)](-2),n=this[e(429)][e(309)][i]||this[e(429)][e(309)]["01"],r={errorCode:t,errorMessage:n};return this[e(278)]=r,console.error("ncplayer : ",r),r}[y(317)](t){const e=y;this[e(429)]=Ee(t)}[y(362)](){return this.errorState}[y(382)](){const t=y;return this[t(325)][t(270)]?.[t(285)]===t(320)}isInitialized(){const t=y;return!!this[t(325)][t(270)]}getValidatedOptions(t){const e=y,i=k0(this[e(325)].result?.[e(306)],this[e(325)][e(270)]?.pricing);this[e(325)][e(270)]?.[e(285)]!==e(320)&&(t={...t,...i});const n={...i,...t??{}};return n?.[e(436)]&&(n?.[e(436)]==e(394)||this[e(317)](n[e(436)])),t?.controlBtn&&(n[e(290)]={...i[e(290)],...t[e(290)]}),t?.watermarkConfig&&(n[e(287)]={...i.watermarkConfig,...t.watermarkConfig}),n[e(406)]&&!Array[e(286)](n.playlist)&&(n.playlist=[{file:n[e(406)]}]),It=n[e(406)]||[],n}getPlaylist(){return It||[]}$t(t){const e=y,i=t[e(304)](".");let n=this[e(429)];for(const r of i)if(n&&typeof n=="object"&&r in n)n=n[r];else return t;return typeof n===e(365)?n:t}async[y(274)](t){const e=y,i=[];if(!t||t[e(339)](e(336))===-1)return i;const n=(p,h)=>{const I=e;try{return new URL(h,p)[I(421)]()}catch{return h}},r=p=>{const h=e,I=p[h(297)](/RESOLUTION=(\d+)x(\d+)/);if(I)return I[2]+"p";const S=p[h(297)](/BANDWIDTH=(\d+)/);return S?Math[h(308)](Number(S[1])/1e3)+h(305):"auto"},s=p=>{const h=e,I=p[h(304)](/\r?\n/)[h(434)](S=>S[h(396)]()).filter(S=>S.length>0);for(let S=0;S<I[h(359)];S+=1){const R=I[S];if(R[h(273)](h(377))){const G=I[S+1];G&&!G[h(273)]("#")&&(i[h(409)]({quality:r(R),url:n(t,G),levelIndex:i[h(359)]}),S+=1)}}};try{const p=await fetch(t);if(!p.ok)return i;const h=await p[e(330)]();return h&&s(h),i}catch(p){return console[e(309)](e(295),p),i}}async[y(354)](t){const e=y;if(!t?.[e(432)]||!this[e(312)]||this[e(374)]?.[e(424)]!=="Y")return;const i=new o0[e(408)](window.navigator.userAgent)[e(442)]();if(t[e(432)]==e(390)||t[e(432)]==e(318))return;const n=t[e(432)];t[e(432)]==e(397)&&(t[e(432)]="player_start");const r=t?.video?.[e(432)]==e(355),s=navigator[e(357)]||navigator.mozConnection||navigator[e(407)]||null;this[e(301)]=t?.[e(432)]||null;const p=this[e(301)]==="play"&&!this[e(294)],h=p?e(441):this[e(301)];p&&(this.hasFirstPlayReported=!0);const I=t?.[e(368)]?.[e(373)]?.[e(284)]||0,S=t?.[e(368)]?.[e(373)]?.[e(419)]||0,R=t?.[e(368)]?.videoWidth||0,G=t?.[e(368)]?.[e(385)]||0;let oe=0,q=0,he=0;if(h==e(279)&&(oe=this.getElapsedMilliseconds(),this[e(435)]=oe),h==e(441)){const at=this[e(367)]();q=at-this[e(435)],he=at}const Gt={type:h,video:{type:e(r?395:360),quality:t?.video?.[e(313)]?t?.[e(368)]?.[e(313)]:"auto",url:t?.[e(368)]?.[e(428)]},connection:s?{network:s[e(381)],downlink:s.downlink,rtt:s.rtt,save_data:s[e(416)]}:void 0,extra:{actionType:h,title:t?.meta?.[e(269)],metaData:t?.[e(341)],videoWidth:Math[e(308)](R),videoHeight:Math[e(308)](G),video_protocols:this[e(316)](t?.[e(368)]?.url),duration:Math[e(361)](I),currentTime:Math.floor(S),playedTime:this[e(367)](),viewingTime:Math.round(this[e(367)]()/1e3),playerStartTime:oe,videoStartTime:q,totalStartTime:he,percent:Math[e(308)](S/I*100),quality:t?.video?.[e(313)]?t?.video?.quality:"auto",errorCode:t?.[e(410)]?.[e(344)],errorMessage:t?.errorInfo?.errorMessage,actionDuration:this[e(367)]()/1e3,device:i[e(372)][e(352)]+" "+i[e(372)][e(366)],location:window[e(350)][e(349)],host:window.location.host,port:window[e(350)][e(271)],protocol:window.location[e(383)]},browser:{lang:navigator[e(425)],ua:navigator[e(413)]},screen:{width:window[e(440)][e(347)],height:window.screen[e(343)]}};await this[e(375)](h,Gt,n)}async report(t,e,i){const n=y;if(!this.maManager)return;const r=e&&typeof e===n(393)?e:{extra:{actionDuration:this.getElapsedMilliseconds()}};await this[n(312)].maSync(r),await this.maManager[n(329)]({type:t,data:r})}[y(316)](t){const e=y;return t[e(339)](e(353))>-1?e(401):t[e(339)](e(327))>-1?"dash":"mp4"}[y(367)](){return this[y(280)]?new Date().getTime()-this.startTimeAt:0}}(function(a,t){for(var e=O0,i=a();;)try{var n=-parseInt(e(447))/1+parseInt(e(453))/2*(-parseInt(e(443))/3)+-parseInt(e(450))/4*(-parseInt(e(444))/5)+-parseInt(e(448))/6*(-parseInt(e(452))/7)+parseInt(e(454))/8*(parseInt(e(451))/9)+parseInt(e(446))/10*(parseInt(e(449))/11)+-parseInt(e(445))/12;if(n===t)break;i.push(i.shift())}catch{i.push(i.shift())}})(Ne,674785);function O0(a,t){a=a-443;var e=Ne(),i=e[a];return i}function Ne(){var a=["8xmSQfm","5541wTzZiF","265ownJLr","11011656KwEWCm","5192150DOkFSw","830476WXZDDN","14322AIRYLI","11gwwlHn","98916OBLLAB","10635795BAJBlk","126WFBSto","684rcforB"];return Ne=function(){return a},Ne()}exports.default=R0;exports.getTranslator=Ee;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var p=Ct;(function(x,t){for(var e=Ct,i=x();;)try{var n=parseInt(e(392))/1*(-parseInt(e(395))/2)+-parseInt(e(421))/3+-parseInt(e(423))/4*(-parseInt(e(455))/5)+parseInt(e(407))/6*(parseInt(e(393))/7)+parseInt(e(410))/8+-parseInt(e(415))/9+parseInt(e(384))/10*(parseInt(e(450))/11);if(n===t)break;i.push(i.shift())}catch{i.push(i.shift())}})(ke,690196);function ke(){var x=["Thin","Exit fullscreen","145935QXdUmQ","Turn off captions","hour","In a moment","Auto Skip Intro","Turn on captions","Cancel","Drugs","Depressed","Not used","Replay","Extra Bold","This video may be inappropriate for minors.","Next video will play in {timeTxt} seconds.","The license is not valid.","Text Edge Style","Skip Intro","Drop Shadow","170APGBQI","FairPlay certificate validation failed.","Cyan","Next video","Previous video","Playback speed","Window Color","You are muted.","525907PeWBTp","17073OToGIF","Semi Bold","2qrfXek","LIVE","Invalid URL format.","Failed to communicate with the DRM license server.","Change text, color, and background styles","Auto Skip Opening/Ending","License","None","You do not have permission to play this video.","min","Window Opacity","Background Color","3114NjPZKW","Sexuality","The live stream is OFFLINE.","1437192NovVfF","Text Opacity","Invalid access. Please check your access_key.","Font Size","Font Weight","11499687zQnwyH","Play","Cannot play DASH video on iOS.","Mute","Unsupported format.","Scheduled","1443489BDQezf","Auto Skip Ending","44QPYFEw","Subtitles not available","seconds until auto-play","Violence","minute(s)","Green","Player Execution Failed","Auto","The network connection is unstable.","Screen capture / screen recording has been detected.","Skip Ending","hour(s)","Uniform","Subtitle Style","Horror","Cannot play video","Auto Skip Opening","Font Color","Quality","Skip Opening","Required module was not loaded. (hls.js)","Invalid DRM token.","Video will start in {timeTxt}.","Subtitles","This feature requires the Standard plan.","Autoplay","Normal","781946WkHekB","Authentication Failed","Language"];return ke=function(){return x},ke()}function Ct(x,t){x=x-384;var e=ke(),i=e[x];return i}const Wt={common:{cancel:p(461),auto:p(430),normal:p(449),notUse:p(464),prev:p(388),next:p(387),delayText:p(425),license:p(401),play:p(416),pause:"Pause",replay:p(465),fullOn:"Fullscreen",fullOff:p(454),muteOn:p(418),muteOff:"Unmute",captionOff:p(456),captionOn:p(460),setting:"Settings",live:p(396),miniPlayer:"Mini player",isMute:p(391),subtitle:p(446),subtitleNot:p(424)},settings:{autoplay:p(448),playbackRate:p(389),captions:p(446),quality:p(441)},skip:{introSkip:p(471),openingSkip:p(442),endingSkip:p(433),autoSkipIntro:p(459),autoSkipOpening:p(439),autoSkipEnding:p(422),autoSkipOpeningEnding:p(400)},ageRating:{noticeAll:"This video is rated for all audiences.",notice12:"This video may be inappropriate for children under 12 and requires parental guidance.",notice15:"This video may be inappropriate for children under 15 and requires parental guidance.",notice19:p(467)},contentWarning:{sexuality:p(408),violence:p(426),language:p(452),drugs:p(462),horror:p(437),imitation:"Imitation risk",provocative:"Provocative content"},error:{"01":{title:"Cannot play video",desc:p(412)},"02":{title:p(438),desc:p(403)},"03":{title:p(451),desc:p(431)},"04":{title:p(438),desc:"The video could not be played."},"05":{title:p(438),desc:p(469)},"06":{title:p(438),desc:"Monthly basic API calls exceeded. Please switch to a paid version."},"07":{title:p(438),desc:p(419)},"08":{title:p(438),desc:p(397)},"09":{title:"Cannot play video",desc:p(409)},10:{title:p(438),desc:p(417)},11:{title:p(438),desc:p(444)},12:{title:"Cannot play video",desc:p(398)},13:{title:p(438),desc:p(385)},14:{title:p(438),desc:p(432)},15:{title:"Player Execution Failed",desc:p(443)},16:{title:p(429),desc:"Required module was not loaded. (dash.js)"},17:{title:"Player Startup Failed",desc:p(447)}},tv:{default:"Default",quality:p(441),subtitleStyle:p(436),subtitleStyleDesc:p(399),applyDefaultStyle:"Apply Default Style",fontColor:p(440),fontSize:p(413),textOpacity:p(411),edgeStyle:p(470),bgColor:p(406),bgOpacity:"Background Opacity",windowColor:p(390),windowOpacity:p(405),fontWeight:p(414),weight:{thin:p(453),normal:p(449),semiBold:p(394),bold:"Bold",extraBold:p(466)},color:{white:"White",black:"Black",red:"Red",green:p(428),blue:"Blue",yellow:"Yellow",magenta:"Magenta",cyan:p(386)},edge:{none:p(402),dropShadow:p(472),raised:"Raised",depressed:p(463),uniform:p(435)}},alternative:{hour:p(434),minute:p(427),second:"second(s)",after:p(458),afterMin:p(404),afterHour:p(457),afterDay:"day",startPlay:p(445),nextPlay:p(468),afterPlay:p(420)}};function At(x,t){x=x-323;var e=_e(),i=e[x];return i}function _e(){var x=["476715vkQOwY","글꼴 색상","노란색","창 색상","자막켜기","배경 색상","전체화면","잘못된 접근입니다. access_key를 확인해주세요.","동영상을 재생할 권한이 없습니다.","초록색","창 불투명도","이 영상은 청소년이 시청하기에 부적절한 영상입니다.","네트워크 연결이 원활하지 않습니다.","Standard 요금제가 필요한 기능입니다.","198CcaLjg","DRM 라이선스 서버와 통신에 실패하였습니다.","FairPlay 인증서 검증에 실패하였습니다.","약간 굵게","텍스트 불투명도","잠시 ","청록색","2CZWhbG","글꼴 크기","플레이어 실행 실패","{timeTxt} 후 영상이 시작됩니다.","18736abqkcf","자동재생","13zbndUu","자막 스타일","실시간","엔딩 건너뛰기","검정색","자막 사용 불가","8193YbDSRx","필수 모듈이 로드되지 않았습니다. (hls.js)","2587794YQMslC","이전 동영상","라이선스","그림자","이 영상은 15세 미만의 청소년이 시청하기에 부적절하므로 보호자의 시청지도가 필요한 영상입니다.","자막끄기","기본 스타일 적용","10798104FzovZt","월 기본 제공 호출 건수를 초과하였습니다. 유료 버전으로 전환 후 사용 부탁 드립니다.","자홍색","iOS에서 Dash 비디오를 재생할 수 없습니다.","오프닝 건너뛰기","일시정지","5NJSXkq","{timeTxt}초 후 다음 영상이 재생됩니다.","음소거","1463HtEOJx","이 영상은 12세 미만의 청소년이 시청하기에 부적절하므로 보호자의 시청지도가 필요한 영상입니다.","엔딩 자동 스킵","음소거 해제","다음 동영상","75780YeKsqS","모방위험","3054762flYUNa","사용안함","동영상을 재생할 수 없음","인트로 건너뛰기","플레이어 구동 실패","전체화면 해제","자극적 장면","인증 실패","URL 형식이 잘못되었습니다.","음소거 상태입니다.","글자 테두리 스타일","인트로 자동 스킵","초 뒤 자동재생","재생 속도","매우 굵게","556DgWJcG","시간 "];return _e=function(){return x},_e()}var b=At;(function(x,t){for(var e=At,i=x();;)try{var n=-parseInt(e(338))/1*(parseInt(e(359))/2)+-parseInt(e(371))/3*(-parseInt(e(336))/4)+-parseInt(e(386))/5*(parseInt(e(373))/6)+-parseInt(e(389))/7*(parseInt(e(363))/8)+parseInt(e(396))/9+-parseInt(e(394))/10*(-parseInt(e(352))/11)+parseInt(e(380))/12*(parseInt(e(365))/13);if(n===t)break;i.push(i.shift())}catch{i.push(i.shift())}})(_e,357781);const Kt={common:{cancel:"취소",auto:"자동",normal:"보통",notUse:b(397),prev:b(374),next:b(393),delayText:b(333),license:b(375),play:"재생",pause:b(385),replay:"다시보기",fullOn:b(344),fullOff:b(326),muteOn:b(388),muteOff:b(392),captionOff:b(378),captionOn:b(342),setting:"설정",live:b(367),miniPlayer:"미니플레이어",isMute:b(330),subtitle:"자막",subtitleNot:b(370)},settings:{autoplay:b(364),playbackRate:b(334),captions:"자막",quality:"해상도"},skip:{introSkip:b(324),openingSkip:b(384),endingSkip:b(368),autoSkipIntro:b(332),autoSkipOpening:"오프닝 자동 스킵",autoSkipEnding:b(391),autoSkipOpeningEnding:"오프닝/엔딩 자동 스킵"},ageRating:{noticeAll:"이 영상은 전체 관람가 영상입니다.",notice12:b(390),notice15:b(377),notice19:b(349)},contentWarning:{sexuality:"성적 표현",violence:"폭력",language:"욕설",drugs:"약물",horror:"공포",imitation:b(395),provocative:b(327)},error:{"01":{title:"동영상을 재생할 수 없음",desc:b(345)},"02":{title:b(323),desc:b(346)},"03":{title:b(328),desc:b(350)},"04":{title:b(323),desc:"동영상을 재생할 수 없습니다."},"05":{title:b(323),desc:"라이선스가 유효하지 않습니다."},"06":{title:b(323),desc:b(381)},"07":{title:b(323),desc:"지원하지 않는 형식입니다."},"08":{title:b(323),desc:b(329)},"09":{title:b(323),desc:"라이브스트림이 OFFLINE 입니다."},10:{title:b(323),desc:b(383)},11:{title:b(323),desc:"DRM 토큰이 잘못되었습니다."},12:{title:b(323),desc:b(353)},13:{title:b(323),desc:b(354)},14:{title:b(323),desc:"화면 캡쳐 / 화면 녹화가 감지되었습니다."},15:{title:b(361),desc:b(372)},16:{title:b(361),desc:"필수 모듈이 로드되지 않았습니다. (dash.js)"},17:{title:b(325),desc:b(351)}},tv:{default:"기본",quality:"화질",subtitleStyle:b(366),subtitleStyleDesc:"텍스트, 색상, 배경 스타일 변경",applyDefaultStyle:b(379),fontColor:b(339),fontSize:b(360),textOpacity:b(356),edgeStyle:b(331),bgColor:b(343),bgOpacity:"배경 불투명도",windowColor:b(341),windowOpacity:b(348),fontWeight:"글자 굵기",weight:{thin:"얇게",normal:"보통",semiBold:b(355),bold:"굵게",extraBold:b(335)},color:{white:"흰색",black:b(369),red:"빨간색",green:b(347),blue:"파란색",yellow:b(340),magenta:b(382),cyan:b(358)},edge:{none:"없음",dropShadow:b(376),raised:"양각",depressed:"음각",uniform:"균일"}},alternative:{hour:"시",minute:"분",second:"초",after:b(357),afterMin:"분 ",afterHour:b(337),afterDay:"일 ",startPlay:b(362),nextPlay:b(387),afterPlay:"예정"}};var g=Rt;(function(x,t){for(var e=Rt,i=x();;)try{var n=parseInt(e(334))/1+-parseInt(e(352))/2*(-parseInt(e(305))/3)+-parseInt(e(319))/4+-parseInt(e(323))/5+-parseInt(e(360))/6+-parseInt(e(299))/7+parseInt(e(339))/8*(parseInt(e(350))/9);if(n===t)break;i.push(i.shift())}catch{i.push(i.shift())}})(Ee,142936);function Ee(){var x=["OP/ED自動スキップ","DRMトークンが無効です。","ライセンス","ネットワーク接続が不安定です。","シアン","オープニングをスキップ","ドロップシャドウ","553266pEmqQO","認証に失敗しました","iOSではDASHビデオを再生できません。","イントロをスキップ","デフォルトスタイルを適用","自動再生","ライブストリームはオフラインです。","FairPlay証明書の検証に失敗しました。","1050959fwsmBf","秒後に自動再生","テキスト、色、背景スタイルを変更","ライセンスが無効です。","ライブ","ミニプレーヤー","39sDwABJ","この映像は全年齢対象です。","ウィンドウ色","リプレイ","前の動画","動画を再生できませんでした。","エンディング自動スキップ","URLの形式が正しくありません。","マゼンタ","文字エッジスタイル","キャンセル","この映像は未成年者の視聴には不適切な内容を含みます。","沈み込み","背景色","246860ajwKzK","サポートされていない形式です。","プレーヤーの起動に失敗しました","背景不透明度","1145490pNyzSh","刺激的な場面","ミュート","{timeTxt}秒後に次の動画が再生されます。","やや太い","フォントサイズ","文字の太さ","フォント色","全画面表示","この動画を再生する権限がありません。","{timeTxt}後に動画が始まります。","34877XWvTRg","性的表現","時間後","DRMライセンスサーバーとの通信に失敗しました。","イントロ自動スキップ","1256RCxMjz","使用しない","ミュート解除","この映像は12歳未満の視聴には不適切な内容を含むため、保護者の指導が必要です。","テキスト不透明度","模倣危険","ウィンドウ不透明度","必須モジュールが読み込まれていません。(hls.js)","字幕は利用できません","動画を再生できません","一時停止","21366WVZdcr","浮き出し","41308wdZdpO"];return Ee=function(){return x},Ee()}function Rt(x,t){x=x-295;var e=Ee(),i=e[x];return i}const jt={common:{cancel:g(315),auto:"自動",normal:"標準",notUse:g(340),prev:g(309),next:"次の動画",delayText:g(300),license:g(355),play:"再生",pause:g(349),replay:g(308),fullOn:g(331),fullOff:"全画面表示を終了",muteOn:g(325),muteOff:g(341),captionOff:"字幕をオフにする",captionOn:"字幕をオンにする",setting:"設定",live:g(303),miniPlayer:g(304),isMute:"ミュート状態です。",subtitle:"字幕",subtitleNot:g(347)},settings:{autoplay:g(296),playbackRate:"再生速度",captions:"字幕",quality:"画質"},skip:{introSkip:g(363),openingSkip:g(358),endingSkip:"エンディングをスキップ",autoSkipIntro:g(338),autoSkipOpening:"オープニング自動スキップ",autoSkipEnding:g(311),autoSkipOpeningEnding:g(353)},ageRating:{noticeAll:g(306),notice12:g(342),notice15:"この映像は15歳未満の視聴には不適切な内容を含むため、保護者の指導が必要です。",notice19:g(316)},contentWarning:{sexuality:g(335),violence:"暴力",language:"暴言",drugs:"薬物",horror:"恐怖",imitation:g(344),provocative:g(324)},error:{"01":{title:"動画を再生できません",desc:"不正なアクセスです。access_keyを確認してください。"},"02":{title:g(348),desc:g(332)},"03":{title:g(361),desc:g(356)},"04":{title:g(348),desc:g(310)},"05":{title:g(348),desc:g(302)},"06":{title:"動画を再生できません",desc:"月間の基本提供呼び出し回数を超過しました。有料版に切り替えてご利用ください。"},"07":{title:g(348),desc:g(320)},"08":{title:"動画を再生できません",desc:g(312)},"09":{title:g(348),desc:g(297)},10:{title:g(348),desc:g(362)},11:{title:g(348),desc:g(354)},12:{title:g(348),desc:g(337)},13:{title:g(348),desc:g(298)},14:{title:g(348),desc:"画面キャプチャ/画面録画が検出されました。"},15:{title:"プレーヤーの起動に失敗しました",desc:g(346)},16:{title:"プレーヤーの起動に失敗しました",desc:"必須モジュールが読み込まれていません。(dash.js)"},17:{title:g(321),desc:"この機能にはStandardプランが必要です。"}},tv:{default:"デフォルト",quality:"画質",subtitleStyle:"字幕スタイル",subtitleStyleDesc:g(301),applyDefaultStyle:g(295),fontColor:g(330),fontSize:g(328),textOpacity:g(343),edgeStyle:g(314),bgColor:g(318),bgOpacity:g(322),windowColor:g(307),windowOpacity:g(345),fontWeight:g(329),weight:{thin:"細い",normal:"標準",semiBold:g(327),bold:"太い",extraBold:"極太"},color:{white:"白",black:"黒",red:"赤",green:"緑",blue:"青",yellow:"黄",magenta:g(313),cyan:g(357)},edge:{none:"なし",dropShadow:g(359),raised:g(351),depressed:g(317),uniform:"均一"}},alternative:{hour:"時間",minute:"分",second:"秒",after:"しばらくして",afterMin:"分後",afterHour:g(336),afterDay:"日後",startPlay:g(333),nextPlay:g(326),afterPlay:"予定"}};function Te(){const x=["323736osDjSx","3537107HBkbDB","8KQOgAw","2948448hMvKul","21576664oPDdmr","4659010RDnxPJ","164092Fwgnzl","9Uabvog","undefined","1466106hwLMqR","split"];return Te=function(){return x},Te()}const Xe=Mt;(function(x,t){const e=Mt,i=x();for(;;)try{if(parseInt(e(425))/1*(parseInt(e(429))/2)+parseInt(e(432))/3+parseInt(e(426))/4+parseInt(e(428))/5+-parseInt(e(434))/6+parseInt(e(424))/7+parseInt(e(427))/8*(-parseInt(e(430))/9)===t)break;i.push(i.shift())}catch{i.push(i.shift())}})(Te,568246);function Mt(x,t){return x=x-424,Te()[x]}const Ot={en:Wt,ko:Kt,ja:jt},Jt=()=>typeof navigator!==Xe(431)&&typeof navigator.language!==Xe(431);function Xt(x){const t=Xe,e=x[t(433)]("-")[0];return e in Ot?e:"en"}function Ce(x){let t="en";x?t=x:Jt()&&(t=navigator.language);const e=Xt(t);return Ot[e]}Ce();var Zt="2.0.9",Qt=500,ot="user-agent",xe="",st="?",E={FUNCTION:"function",OBJECT:"object",STRING:"string",UNDEFINED:"undefined"},P="browser",V="cpu",F="device",U="engine",D="os",ae="result",l="name",s="type",u="vendor",d="version",M="architecture",pe="major",c="model",Se="console",v="mobile",k="tablet",T="smarttv",L="wearable",we="xr",ue="embedded",$t="fetcher",Q="inapp",tt="brands",X="formFactors",it="fullVersionList",ne="platform",xt="platformVersion",Be="bitness",j="sec-ch-ua",e0=j+"-full-version-list",t0=j+"-arch",i0=j+"-"+Be,x0=j+"-form-factors",a0=j+"-"+v,n0=j+"-"+c,Pt=j+"-"+ne,r0=Pt+"-version",Dt=[tt,it,v,c,ne,xt,M,X,Be],ge="Amazon",$="Apple",ct="ASUS",lt="BlackBerry",J="Google",dt="Huawei",Ge="Lenovo",ut="Honor",me="LG",Ve="Microsoft",Ye="Motorola",ft="Nvidia",pt="OnePlus",ze="OPPO",se="Samsung",ht="Sharp",ce="Sony",qe="Xiaomi",We="Zebra",bt="Chrome",wt="Chromium",q="Chromecast",Ie="Edge",le="Firefox",ee="Opera",Ke="Facebook",gt="Sogou",te="Mobile ",ie=" Browser",Ze="Windows",o0=typeof window!==E.UNDEFINED,O=o0&&window.navigator?window.navigator:void 0,Z=O&&O.userAgentData?O.userAgentData:void 0,s0=function(x,t){var e={},i=t;if(!Ae(t)){i={};for(var n in t)for(var r in t[n])i[r]=t[n][r].concat(i[r]?i[r]:[])}for(var o in x)e[o]=i[o]&&i[o].length%2===0?i[o].concat(x[o]):x[o];return e},Le=function(x){for(var t={},e=0;e<x.length;e++)t[x[e].toUpperCase()]=x[e];return t},Qe=function(x,t){if(typeof x===E.OBJECT&&x.length>0){for(var e in x)if(W(t)==W(x[e]))return!0;return!1}return he(x)?W(t)==W(x):!1},Ae=function(x,t){for(var e in x)return/^(browser|cpu|device|engine|os)$/.test(e)||(t?Ae(x[e]):!1)},he=function(x){return typeof x===E.STRING},je=function(x){if(x){for(var t=[],e=re(/\\?\"/g,x).split(","),i=0;i<e.length;i++)if(e[i].indexOf(";")>-1){var n=Re(e[i]).split(";v=");t[i]={brand:n[0],version:n[1]}}else t[i]=Re(e[i]);return t}},W=function(x){return he(x)?x.toLowerCase():x},$e=function(x){return he(x)?re(/[^\d\.]/g,x).split(".")[0]:void 0},G=function(x){for(var t in x)if(x.hasOwnProperty(t)){var e=x[t];typeof e==E.OBJECT&&e.length==2?this[e[0]]=e[1]:this[e]=void 0}return this},re=function(x,t){return he(t)?t.replace(x,xe):t},de=function(x){return re(/\\?\"/g,x)},Re=function(x,t){return x=re(/^\s\s*/,String(x)),typeof t===E.UNDEFINED?x:x.substring(0,t)},et=function(x,t){if(!(!x||!t))for(var e=0,i,n,r,o,f,h;e<t.length&&!f;){var S=t[e],I=t[e+1];for(i=n=0;i<S.length&&!f&&S[i];)if(f=S[i++].exec(x),f)for(r=0;r<I.length;r++)h=f[++n],o=I[r],typeof o===E.OBJECT&&o.length>0?o.length===2?typeof o[1]==E.FUNCTION?this[o[0]]=o[1].call(this,h):this[o[0]]=o[1]:o.length>=3&&(typeof o[1]===E.FUNCTION&&!(o[1].exec&&o[1].test)?o.length>3?this[o[0]]=h?o[1].apply(this,o.slice(2)):void 0:this[o[0]]=h?o[1].call(this,h,o[2]):void 0:o.length==3?this[o[0]]=h?h.replace(o[1],o[2]):void 0:o.length==4?this[o[0]]=h?o[3].call(this,h.replace(o[1],o[2])):void 0:o.length>4&&(this[o[0]]=h?o[3].apply(this,[h.replace(o[1],o[2])].concat(o.slice(4))):void 0)):this[o]=h||void 0;e+=2}},N=function(x,t){for(var e in t)if(typeof t[e]===E.OBJECT&&t[e].length>0){for(var i=0;i<t[e].length;i++)if(Qe(t[e][i],x))return e===st?void 0:e}else if(Qe(t[e],x))return e===st?void 0:e;return t.hasOwnProperty("*")?t["*"]:x},mt={ME:"4.90","NT 3.51":"3.51","NT 4.0":"4.0",2e3:["5.0","5.01"],XP:["5.1","5.2"],Vista:"6.0",7:"6.1",8:"6.2","8.1":"6.3",10:["6.4","10.0"],NT:""},yt={embedded:"Automotive",mobile:"Mobile",tablet:["Tablet","EInk"],smarttv:"TV",wearable:"Watch",xr:["VR","XR"],"?":["Desktop","Unknown"],"*":void 0},c0={Chrome:"Google Chrome",Edge:"Microsoft Edge","Edge WebView2":"Microsoft Edge WebView2","Chrome WebView":"Android WebView","Chrome Headless":"HeadlessChrome","Huawei Browser":"HuaweiBrowser","MIUI Browser":"Miui Browser","Opera Mobi":"OperaMobile",Yandex:"YaBrowser"},vt={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[d,[l,te+"Chrome"]],[/webview.+edge\/([\w\.]+)/i],[d,[l,Ie+" WebView"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[d,[l,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[l,d],[/opios[\/ ]+([\w\.]+)/i],[d,[l,ee+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[d,[l,ee+" GX"]],[/\bopr\/([\w\.]+)/i],[d,[l,ee]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[d,[l,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[d,[l,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(atlas|flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon|otter|dooble|(?:hi|lg |ovi|qute)browser|palemoon)\/v?([-\w\.]+)/i,/(brave)(?: chrome)?\/([\d\.]+)/i,/(aloha|heytap|ovi|115|surf|qwant)browser\/([\d\.]+)/i,/(qwant)(?:ios|mobile)\/([\d\.]+)/i,/(ecosia|weibo)(?:__| \w+@)([\d\.]+)/i],[l,d],[/quark(?:pc)?\/([-\w\.]+)/i],[d,[l,"Quark"]],[/\bddg\/([\w\.]+)/i],[d,[l,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[d,[l,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[d,[l,"WeChat"]],[/konqueror\/([\w\.]+)/i],[d,[l,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[d,[l,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[d,[l,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[d,[l,"Smart "+Ge+ie]],[/(av(?:ast|g|ira))\/([\w\.]+)/i],[[l,/(.+)/,"$1 Secure"+ie],d],[/norton\/([\w\.]+)/i],[d,[l,"Norton Private"+ie]],[/\bfocus\/([\w\.]+)/i],[d,[l,le+" Focus"]],[/ mms\/([\w\.]+)$/i],[d,[l,ee+" Neon"]],[/ opt\/([\w\.]+)$/i],[d,[l,ee+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[d,[l,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[d,[l,"Dolphin"]],[/coast\/([\w\.]+)/i],[d,[l,ee+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[d,[l,"MIUI"+ie]],[/fxios\/([\w\.-]+)/i],[d,[l,te+le]],[/\bqihoobrowser\/?([\w\.]*)/i],[d,[l,"360"]],[/\b(qq)\/([\w\.]+)/i],[[l,/(.+)/,"$1Browser"],d],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[l,/(.+)/,"$1"+ie],d],[/samsungbrowser\/([\w\.]+)/i],[d,[l,se+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[d,[l,gt+" Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[l,gt+" Mobile"],d],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[l,d],[/(lbbrowser|luakit|rekonq|steam(?= (clie|tenf|gameo)))/i],[l],[/ome\/([\w\.]+).+(iron(?= saf)|360(?=[es]e$))/i],[d,l],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[l,Ke],d,[s,Q]],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(bing)(?:web|sapphire)\/([\w\.]+)/i,/(instagram|snapchat|klarna)[\/ ]([-\w\.]+)/i],[l,d,[s,Q]],[/\bgsa\/([\w\.]+) .*safari\//i],[d,[l,"GSA"],[s,Q]],[/(?:musical_ly|trill)(?:.+app_?version\/|_)([\w\.]+)/i],[d,[l,"TikTok"],[s,Q]],[/\[(linkedin)app\]/i],[l,[s,Q]],[/(zalo(?:app)?)[\/\sa-z]*([\w\.-]+)/i],[[l,/(.+)/,"Zalo"],d,[s,Q]],[/(chromium)[\/ ]([-\w\.]+)/i],[l,d],[/ome-(lighthouse)$/i],[l,[s,$t]],[/headlesschrome(?:\/([\w\.]+)| )/i],[d,[l,bt+" Headless"]],[/wv\).+chrome\/([\w\.]+).+edgw\//i],[d,[l,Ie+" WebView2"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[l,bt+" WebView"],d],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[d,[l,"Android"+ie]],[/chrome\/([\w\.]+) mobile/i],[d,[l,te+"Chrome"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[l,d],[/version\/([\w\.\,]+) .*mobile(?:\/\w+ | ?)safari/i],[d,[l,te+"Safari"]],[/iphone .*mobile(?:\/\w+ | ?)safari/i],[[l,te+"Safari"]],[/version\/([\w\.\,]+) .*(safari)/i],[d,l],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[l,[d,"1"]],[/(webkit|khtml)\/([\w\.]+)/i],[l,d],[/(?:mobile|tablet);.*(firefox)\/([\w\.-]+)/i],[[l,te+le],d],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[l,"Netscape"],d],[/(wolvic|librewolf)\/([\w\.]+)/i],[l,d],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[d,[l,le+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+(?= .+rv\:.+gecko\/\d+)|[0-4][\w\.]+(?!.+compatible))/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[l,[d,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[l,[d,/[^\d\.]+./,xe]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[M,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[M,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[M,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[M,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[M,"arm"]],[/ sun4\w[;\)]/i],[[M,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i,/((ppc|powerpc)(64)?)( mac|;|\))/i,/(?:osf1|[freopnt]{3,4}bsd) (alpha)/i],[[M,/ower/,xe,W]],[/mc680.0/i],[[M,"68k"]],[/winnt.+\[axp/i],[[M,"alpha"]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[c,[u,se],[s,k]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr]|browser)[-\w]+)/i,/sec-(sgh\w+)/i],[c,[u,se],[s,v]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)[\/\);]/i],[c,[u,$],[s,v]],[/\b(?:ios|apple\w+)\/.+[\(\/](ipad)/i,/\b(ipad)[\d,]*[;\] ].+(mac |i(pad)?)os/i],[c,[u,$],[s,k]],[/(macintosh);/i],[c,[u,$]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[c,[u,ht],[s,v]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[c,[u,ut],[s,k]],[/honor([-\w ]+)[;\)]/i],[c,[u,ut],[s,v]],[/\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],[c,[u,dt],[s,k]],[/(?:huawei) ?([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][\dc][adnt]?)\b(?!.+d\/s)/i],[c,[u,dt],[s,v]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b(?:xiao)?((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[c,/_/g," "],[u,qe],[s,k]],[/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/oid[^\)]+; (redmi[\-_ ]?(?:note|k)?[\w_ ]+|m?[12]\d[01]\d\w{3,6}|poco[\w ]+|(shark )?\w{3}-[ah]0|qin ?[1-3](s\+|ultra| pro)?)( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note|max|cc)?[_ ]?(?:\d{0,2}\w?)[_ ]?(?:plus|se|lite|pro)?( 5g|lte)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[c,/_/g," "],[u,qe],[s,v]],[/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,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[c,[u,pt],[s,v]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[c,[u,ze],[s,v]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[c,[u,N,{OnePlus:["203","304","403","404","413","415"],"*":ze}],[s,k]],[/(vivo (5r?|6|8l?|go|one|s|x[il]?[2-4]?)[\w\+ ]*)(?: bui|\))/i],[c,[u,"BLU"],[s,v]],[/; vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[c,[u,"Vivo"],[s,v]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[c,[u,"Realme"],[s,v]],[/(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,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[c,[u,Ge],[s,k]],[/lenovo[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i],[c,[u,Ge],[s,v]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ]([\w\s]+)(\)| bui)/i,/((?:moto(?! 360)[-\w\(\) ]+|xt\d{3,4}[cgkosw\+]?[-\d]*|nexus 6)(?= bui|\)))/i],[c,[u,Ye],[s,v]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[c,[u,Ye],[s,k]],[/\b(?:lg)?([vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[c,[u,me],[s,k]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+(?!.*(?:browser|netcast|android tv|watch|webos))(\w+)/i,/\blg-?([\d\w]+) bui/i],[c,[u,me],[s,v]],[/(nokia) (t[12][01])/i],[u,c,[s,k]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*?))( bui|\)|;|\/)/i],[[c,/_/g," "],[s,v],[u,"Nokia"]],[/(pixel (c|tablet))\b/i],[c,[u,J],[s,k]],[/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],[c,[u,J],[s,v]],[/(google) (pixelbook( go)?)/i],[u,c],[/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],[c,[u,ce],[s,v]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[c,"Xperia Tablet"],[u,ce],[s,k]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[c,[u,ge],[s,k]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[c,/(.+)/g,"Fire Phone $1"],[u,ge],[s,v]],[/(playbook);[-\w\),; ]+(rim)/i],[c,u,[s,k]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/(?:blackberry|\(bb10;) (\w+)/i],[c,[u,lt],[s,v]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[c,[u,ct],[s,k]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[c,[u,ct],[s,v]],[/(nexus 9)/i],[c,[u,"HTC"],[s,k]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[u,[c,/_/g," "],[s,v]],[/tcl (xess p17aa)/i,/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])(_\w(\w|\w\w))?(\)| bui)/i],[c,[u,"TCL"],[s,k]],[/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],[c,[u,"TCL"],[s,v]],[/(itel) ((\w+))/i],[[u,W],c,[s,N,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[c,[u,"Acer"],[s,k]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[c,[u,"Meizu"],[s,v]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[c,[u,"Ulefone"],[s,v]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[c,[u,"Energizer"],[s,v]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[c,[u,"Cat"],[s,v]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[c,[u,"Smartfren"],[s,v]],[/droid.+; (a(in)?(0(15|59|6[35])|142)p?)/i],[c,[u,"Nothing"],[s,v]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[c,[u,"Archos"],[s,k]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[c,[u,"Archos"],[s,v]],[/; (n159v)/i],[c,[u,"HMD"],[s,v]],[/(imo) (tab \w+)/i,/(infinix|tecno) (x1101b?|p904|dp(7c|8d|10a)( pro)?|p70[1-3]a?|p904|t1101)/i],[u,c,[s,k]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (blu|hmd|imo|infinix|lava|oneplus|tcl|wiko)[_ ]([\w\+ ]+?)(?: bui|\)|; r)/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(oppo) ?([\w ]+) bui/i,/(hisense) ([ehv][\w ]+)\)/i,/droid[^;]+; (philips)[_ ]([sv-x][\d]{3,4}[xz]?)/i],[u,c,[s,v]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i],[u,c,[s,k]],[/(surface duo)/i],[c,[u,Ve],[s,k]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[c,[u,"Fairphone"],[s,v]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[c,[u,ft],[s,k]],[/(sprint) (\w+)/i],[u,c,[s,v]],[/(kin\.[onetw]{3})/i],[[c,/\./g," "],[u,Ve],[s,v]],[/droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[c,[u,We],[s,k]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[c,[u,We],[s,v]],[/(philips)[\w ]+tv/i,/smart-tv.+(samsung)/i],[u,[s,T]],[/hbbtv.+maple;(\d+)/i],[[c,/^/,"SmartTV"],[u,se],[s,T]],[/(vizio)(?: |.+model\/)(\w+-\w+)/i,/tcast.+(lg)e?. ([-\w]+)/i],[u,c,[s,T]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[u,me],[s,T]],[/(apple) ?tv/i],[u,[c,$+" TV"],[s,T]],[/crkey.*devicetype\/chromecast/i],[[c,q+" Third Generation"],[u,J],[s,T]],[/crkey.*devicetype\/([^/]*)/i],[[c,/^/,"Chromecast "],[u,J],[s,T]],[/fuchsia.*crkey/i],[[c,q+" Nest Hub"],[u,J],[s,T]],[/crkey/i],[[c,q],[u,J],[s,T]],[/(portaltv)/i],[c,[u,Ke],[s,T]],[/droid.+aft(\w+)( bui|\))/i],[c,[u,ge],[s,T]],[/(shield \w+ tv)/i],[c,[u,ft],[s,T]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[c,[u,ht],[s,T]],[/(bravia[\w ]+)( bui|\))/i],[c,[u,ce],[s,T]],[/(mi(tv|box)-?\w+) bui/i],[c,[u,qe],[s,T]],[/Hbbtv.*(technisat) (.*);/i],[u,c,[s,T]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[u,/.+\/(\w+)/,"$1",N,{LG:"lge"}],[c,Re],[s,T]],[/(playstation \w+)/i],[c,[u,ce],[s,Se]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[c,[u,Ve],[s,Se]],[/(ouya)/i,/(nintendo) (\w+)/i,/(retroid) (pocket ([^\)]+))/i,/(valve).+(steam deck)/i,/droid.+; ((shield|rgcube|gr0006))( bui|\))/i],[[u,N,{Nvidia:"Shield",Anbernic:"RGCUBE",Logitech:"GR0006"}],c,[s,Se]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[c,[u,se],[s,L]],[/((pebble))app/i,/(asus|google|lg|oppo|xiaomi) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[u,c,[s,L]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[c,[u,ze],[s,L]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[c,[u,$],[s,L]],[/(opwwe\d{3})/i],[c,[u,pt],[s,L]],[/(moto 360)/i],[c,[u,Ye],[s,L]],[/(smartwatch 3)/i],[c,[u,ce],[s,L]],[/(g watch r)/i],[c,[u,me],[s,L]],[/droid.+; (wt63?0{2,3})\)/i],[c,[u,We],[s,L]],[/droid.+; (glass) \d/i],[c,[u,J],[s,we]],[/(pico) ([\w ]+) os\d/i],[u,c,[s,we]],[/(quest( \d| pro)?s?).+vr/i],[c,[u,Ke],[s,we]],[/mobile vr; rv.+firefox/i],[[s,we]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[u,[s,ue]],[/(aeobc)\b/i],[c,[u,ge],[s,ue]],[/(homepod).+mac os/i],[c,[u,$],[s,ue]],[/windows iot/i],[[s,ue]],[/droid.+; ([\w- ]+) (4k|android|smart|google)[- ]?tv/i],[c,[s,T]],[/\b((4k|android|smart|opera)[- ]?tv|tv; rv:|large screen[\w ]+safari)\b/i],[[s,T]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew|; hmsc).+?(mobile|vr|\d) safari/i],[c,[s,N,{mobile:"Mobile",xr:"VR","*":k}]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[s,k]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[s,v]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[c,[u,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[d,[l,Ie+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[l,d],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[d,[l,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links|dillo)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[l,d],[/ladybird\//i],[[l,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[d,l]],os:[[/(windows nt) (6\.[23]); arm/i],[[l,/N/,"R"],[d,N,mt]],[/(windows (?:phone|mobile|iot))(?: os)?[\/ ]?([\d\.]*( se)?)/i,/(windows)[\/ ](1[01]|2000|3\.1|7|8(\.1)?|9[58]|me|server 20\d\d( r2)?|vista|xp)/i],[l,d],[/windows nt ?([\d\.\)]*)(?!.+xbox)/i,/\bwin(?=3| ?9|n)(?:nt| 9x )?([\d\.;]*)/i],[[d,/(;|\))/g,"",N,mt],[l,Ze]],[/(windows ce)\/?([\d\.]*)/i],[l,d],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv|ios(?=.+ip(?:ad|hone)|.+apple ?tv)|ip(?:ad|hone)(?: |.+i(?:pad)?)os|apple ?tv.+ios)[\/ ]([\w\.]+)/i,/\btvos ?([\w\.]+)/i,/cfnetwork\/.+darwin/i],[[d,/_/g,"."],[l,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+(haiku|morphos))/i],[[l,"macOS"],[d,/_/g,"."]],[/android ([\d\.]+).*crkey/i],[d,[l,q+" Android"]],[/fuchsia.*crkey\/([\d\.]+)/i],[d,[l,q+" Fuchsia"]],[/crkey\/([\d\.]+).*devicetype\/smartspeaker/i],[d,[l,q+" SmartSpeaker"]],[/linux.*crkey\/([\d\.]+)/i],[d,[l,q+" Linux"]],[/crkey\/([\d\.]+)/i],[d,[l,q]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[d,l],[/(ubuntu) ([\w\.]+) like android/i],[[l,/(.+)/,"$1 Touch"],d],[/(harmonyos)[\/ ]?([\d\.]*)/i,/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen)\w*[-\/\.; ]?([\d\.]*)/i],[l,d],[/\(bb(10);/i],[d,[l,lt]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[d,[l,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile[;\w ]*|tablet|tv|[^\)]*(?:viera|lg(?:l25|-d300)|alcatel ?o.+|y300-f1)); rv:([\w\.]+)\).+gecko\//i],[d,[l,le+" OS"]],[/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i,/webos(?:[ \/]?|\.tv-20(?=2[2-9]))(\d[\d\.]*)/i],[d,[l,"webOS"]],[/web0s;.+?(?:chr[o0]me|safari)\/(\d+)/i],[[d,N,{25:"120",24:"108",23:"94",22:"87",6:"79",5:"68",4:"53",3:"38",2:"538",1:"537","*":"TV"}],[l,"webOS"]],[/watch(?: ?os[,\/ ]|\d,\d\/)([\d\.]+)/i],[d,[l,"watchOS"]],[/cros [\w]+(?:\)| ([\w\.]+)\b)/i],[d,[l,"Chrome OS"]],[/kepler ([\w\.]+); (aft|aeo)/i],[d,[l,"Vega OS"]],[/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) (\w+)/i,/(xbox); +xbox ([^\);]+)/i,/(pico) .+os([\w\.]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/linux.+(mint)[\/\(\) ]?([\w\.]*)/i,/(mageia|vectorlinux|fuchsia|arcaos|arch(?= ?linux))[;l ]([\d\.]*)/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire|knoppix)(?: gnu[\/ ]linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/\b(aix)[; ]([1-9\.]{0,4})/i,/(hurd|linux|morphos)(?: (?:arm|x86|ppc)\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) ?(r\d)?/i],[l,d],[/(sunos) ?([\d\.]*)/i],[[l,"Solaris"],d],[/\b(beos|os\/2|amigaos|openvms|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[l,d]]},ye=(function(){var x={init:{},isIgnore:{},isIgnoreRgx:{},toString:{}};return G.call(x.init,[[P,[l,d,pe,s]],[V,[M]],[F,[s,c,u]],[U,[l,d]],[D,[l,d]]]),G.call(x.isIgnore,[[P,[d,pe]],[U,[d]],[D,[d]]]),G.call(x.isIgnoreRgx,[[P,/ ?browser$/i],[D,/ ?os$/i]]),G.call(x.toString,[[P,[l,d]],[V,[M]],[F,[u,c]],[U,[l,d]],[D,[l,d]]]),x})(),l0=function(x,t){var e=ye.init[t],i=ye.isIgnore[t]||0,n=ye.isIgnoreRgx[t]||0,r=ye.toString[t]||0;function o(){G.call(this,e)}return o.prototype.getItem=function(){return x},o.prototype.withClientHints=function(){return Z?Z.getHighEntropyValues(Dt).then(function(f){return x.setCH(new Nt(f,!1)).parseCH().get()}):x.parseCH().get()},o.prototype.withFeatureCheck=function(){return x.detectFeature().get()},t!=ae&&(o.prototype.is=function(f){var h=!1;for(var S in this)if(this.hasOwnProperty(S)&&!Qe(i,S)&&W(n?re(n,this[S]):this[S])==W(n?re(n,f):f)){if(h=!0,f!=E.UNDEFINED)break}else if(f==E.UNDEFINED&&h){h=!h;break}return h},o.prototype.toString=function(){var f=xe;for(var h in r)typeof this[r[h]]!==E.UNDEFINED&&(f+=(f?" ":xe)+this[r[h]]);return f||E.UNDEFINED}),o.prototype.then=function(f){var h=this,S=function(){for(var R in h)h.hasOwnProperty(R)&&(this[R]=h[R])};S.prototype={is:o.prototype.is,toString:o.prototype.toString,withClientHints:o.prototype.withClientHints,withFeatureCheck:o.prototype.withFeatureCheck};var I=new S;return f(I),I},new o};function Nt(x,t){if(x=x||{},G.call(this,Dt),t)G.call(this,[[tt,je(x[j])],[it,je(x[e0])],[v,/\?1/.test(x[a0])],[c,de(x[n0])],[ne,de(x[Pt])],[xt,de(x[r0])],[M,de(x[t0])],[X,je(x[x0])],[Be,de(x[i0])]]);else for(var e in x)this.hasOwnProperty(e)&&typeof x[e]!==E.UNDEFINED&&(this[e]=x[e])}function K(x,t,e,i){return G.call(this,[["itemType",x],["ua",t],["uaCH",i],["rgxMap",e],["data",l0(this,x)]]),this}K.prototype.get=function(x){return x?this.data.hasOwnProperty(x)?this.data[x]:void 0:this.data};K.prototype.set=function(x,t){return this.data[x]=t,this};K.prototype.setCH=function(x){return this.uaCH=x,this};K.prototype.detectFeature=function(){if(O&&O.userAgent==this.ua)switch(this.itemType){case P:O.brave&&typeof O.brave.isBrave==E.FUNCTION&&this.set(l,"Brave");break;case F:!this.get(s)&&Z&&Z[v]&&this.set(s,v),this.get(c)=="Macintosh"&&O&&typeof O.standalone!==E.UNDEFINED&&O.maxTouchPoints&&O.maxTouchPoints>2&&this.set(c,"iPad").set(s,k);break;case D:!this.get(l)&&Z&&Z[ne]&&this.set(l,Z[ne]);break;case ae:var x=this.data,t=function(e){return x[e].getItem().detectFeature().get()};this.set(P,t(P)).set(V,t(V)).set(F,t(F)).set(U,t(U)).set(D,t(D))}return this};K.prototype.parseUA=function(){switch(this.itemType!=ae&&et.call(this.data,this.ua,this.rgxMap),this.itemType){case P:this.set(pe,$e(this.get(d)));break;case D:if(this.get(l)=="iOS"&&this.get(d)=="18.6"){var x=/\) Version\/([\d\.]+)/.exec(this.ua);x&&parseInt(x[1].substring(0,2),10)>=26&&this.set(d,x[1])}break}return this};K.prototype.parseCH=function(){var x=this.uaCH,t=this.rgxMap;switch(this.itemType){case P:case U:var e=x[it]||x[tt],i;if(e)for(var n=0;n<e.length;n++){var r=e[n].brand||e[n],o=e[n].version;this.itemType==P&&!/not.a.brand/i.test(r)&&(!i||/Chrom/.test(i)&&r!=wt||i==Ie&&/WebView2/.test(r))&&(r=N(r,c0),i=this.get(l),i&&!/Chrom/.test(i)&&/Chrom/.test(r)||this.set(l,r).set(d,o).set(pe,$e(o)),i=r),this.itemType==U&&r==wt&&this.set(d,o)}break;case V:var f=x[M];f&&(f&&x[Be]=="64"&&(f+="64"),et.call(this.data,f+";",t));break;case F:if(x[v]&&this.set(s,v),x[c]&&(this.set(c,x[c]),!this.get(s)||!this.get(u))){var h={};et.call(h,"droid 9; "+x[c]+")",t),!this.get(s)&&h.type&&this.set(s,h.type),!this.get(u)&&h.vendor&&this.set(u,h.vendor)}if(x[X]){var S;if(typeof x[X]!="string")for(var I=0;!S&&I<x[X].length;)S=N(x[X][I++],yt);else S=N(x[X],yt);this.set(s,S)}break;case D:var R=x[ne];if(R){var H=x[xt];R==Ze&&(H=parseInt($e(H),10)>=13?"11":"10"),this.set(l,R).set(d,H)}this.get(l)==Ze&&x[c]=="Xbox"&&this.set(l,"Xbox").set(d,void 0);break;case ae:var oe=this.data,z=function(be){return oe[be].getItem().setCH(x).parseCH().get()};this.set(P,z(P)).set(V,z(V)).set(F,z(F)).set(U,z(U)).set(D,z(D))}return this};function Y(x,t,e){if(typeof x===E.OBJECT?(Ae(x,!0)?(typeof t===E.OBJECT&&(e=t),t=x):(e=x,t=void 0),x=void 0):typeof x===E.STRING&&!Ae(t,!0)&&(e=t,t=void 0),e)if(typeof e.append===E.FUNCTION){var i={};e.forEach(function(I,R){i[String(R).toLowerCase()]=I}),e=i}else{var n={};for(var r in e)e.hasOwnProperty(r)&&(n[String(r).toLowerCase()]=e[r]);e=n}if(!(this instanceof Y))return new Y(x,t,e).getResult();var o=typeof x===E.STRING?x:e&&e[ot]?e[ot]:O&&O.userAgent?O.userAgent:xe,f=new Nt(e,!0),h=t?s0(vt,t):vt,S=function(I){return I==ae?function(){return new K(I,o,h,f).set("ua",o).set(P,this.getBrowser()).set(V,this.getCPU()).set(F,this.getDevice()).set(U,this.getEngine()).set(D,this.getOS()).get()}:function(){return new K(I,o,h[I],f).parseUA().get()}};return G.call(this,[["getBrowser",S(P)],["getCPU",S(V)],["getDevice",S(F)],["getEngine",S(U)],["getOS",S(D)],["getResult",S(ae)],["getUA",function(){return o}],["setUA",function(I){return he(I)&&(o=Re(I,Qt)),this}]]).setUA(o),this}Y.VERSION=Zt;Y.BROWSER=Le([l,d,pe,s]);Y.CPU=Le([M]);Y.DEVICE=Le([c,u,s,Se,v,T,k,L,ue]);Y.ENGINE=Y.OS=Le([l,d]);const St=Object.freeze(Object.defineProperty({__proto__:null,UAParser:Y},Symbol.toStringTag,{value:"Module"})),A=[];for(let x=0;x<256;++x)A.push((x+256).toString(16).slice(1));function d0(x,t=0){return(A[x[t+0]]+A[x[t+1]]+A[x[t+2]]+A[x[t+3]]+"-"+A[x[t+4]]+A[x[t+5]]+"-"+A[x[t+6]]+A[x[t+7]]+"-"+A[x[t+8]]+A[x[t+9]]+"-"+A[x[t+10]]+A[x[t+11]]+A[x[t+12]]+A[x[t+13]]+A[x[t+14]]+A[x[t+15]]).toLowerCase()}let Je;const u0=new Uint8Array(16);function f0(){if(!Je){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Je=crypto.getRandomValues.bind(crypto)}return Je(u0)}const p0=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),It={randomUUID:p0};function h0(x,t,e){x=x||{};const i=x.random??x.rng?.()??f0();if(i.length<16)throw new Error("Random bytes length must be >= 16");return i[6]=i[6]&15|64,i[8]=i[8]&63|128,d0(i)}function Ut(x,t,e){return It.randomUUID&&!x?It.randomUUID():h0(x)}const a=Bt;(function(x,t){const e=Bt,i=x();for(;;)try{if(parseInt(e(247))/1*(-parseInt(e(248))/2)+parseInt(e(280))/3*(parseInt(e(259))/4)+-parseInt(e(315))/5+-parseInt(e(301))/6+parseInt(e(298))/7+parseInt(e(292))/8*(-parseInt(e(291))/9)+parseInt(e(192))/10===t)break;i.push(i.shift())}catch{i.push(i.shift())}})(Me,534671);function Me(){const x=["Netherlands","Russian Federation","Papua New Guinea","Curaçao","Gabon","United States Minor Outlying Islands","Lesotho","Moldova (Republic of)","Guadeloupe","Latvia","Sao Tome and Principe","Pakistan","Hungary","Saint Martin (French part)","3830zenYPs","478jUjvfp","Armenia","Guatemala","United Arab Emirates","Norway","Palestine, State of","Guyana","Haiti","Guinea-Bissau","Montenegro","New Caledonia","4bPKXVo","Macao","Wallis and Futuna","Yemen","Belize","Micronesia (Federated States of)","Japan","Holy See","Ethiopia","Saint Kitts and Nevis","Peru","Norfolk Island","Tanzania, United Republic of","Fiji","Antigua and Barbuda","Falkland Islands (Malvinas)","Jamaica","Montserrat","Botswana","Greenland","Sri Lanka","1417665dQTaJy","Namibia","Guernsey","Mauritius","Djibouti","Angola","El Salvador","Cuba","Libya","Burkina Faso","Mauritania","243Aatbzg","63752CJIwDy","Albania","South Africa","Maldives","Georgia","Chad","628467nLSaqV","Niue","Andorra","3408528UyvEKm","India","Cabo Verde","Gibraltar","Bahrain","Faroe Islands","Zambia","Guinea","Sierra Leone","Anguilla","Bangladesh","Åland Islands","Suriname","Iraq","4805935WmNJxz","Central African Republic","Iran (Islamic Republic of)","Mozambique","Martinique","Benin","Tonga","Denmark","San Marino","Brunei Darussalam","Cocos (Keeling) Islands","Mexico","Seychelles","Ireland","Kuwait","Antarctica","Ghana","Singapore","Italy","Jersey","Lebanon","Tunisia","Canada","Saint Vincent and the Grenadines","Dominican Republic","Kiribati","Israel","American Samoa","Argentina","Taiwan","Slovakia","Zimbabwe","Saint Barthélemy","Réunion","Azerbaijan","Kyrgyzstan","Luxembourg","Saint Helena, Ascension and Tristan da Cunha","Bonaire, Sint Eustatius and Saba","Slovenia","Liechtenstein","New Zealand","United States of America","China","Belarus","Svalbard and Jan Mayen","Qatar","Heard Island and McDonald Islands","Aruba","Brazil","Czech Republic","Bhutan","Bahamas","Turks and Caicos Islands","Mayotte","Bosnia and Herzegovina","Greece","Morocco","Sint Maarten (Dutch part)","Macedonia (the former Yugoslav Republic of)","Saudi Arabia","Malta","Virgin Islands (British)","Turkmenistan","Kazakhstan","Bermuda","Bolivia (Plurinational State of)","South Sudan","26321430JRItPN","Malawi","Costa Rica","Christmas Island","Spain","Afghanistan","Comoros","French Polynesia","Australia","Cayman Islands","Lithuania","Bouvet Island","Turkey","Sweden","Barbados","United Kingdom","Serbia","Monaco","Panama","Austria","Ecuador","Nigeria","Poland","Estonia","Nepal","Iceland","Saint Lucia","Bulgaria","Korea (Democratic People's Republic of)","French Southern Territories","Trinidad and Tobago","Syrian Arab Republic","Croatia","Madagascar","Cameroon","Paraguay","Tokelau","Nauru","Sudan","Pitcairn","Equatorial Guinea"];return Me=function(){return x},Me()}function Bt(x,t){return x=x-156,Me()[x]}const Lt={AF:a(197),AX:a(312),AL:a(293),DZ:"Algeria",AS:a(342),AD:a(300),AO:a(285),AI:a(310),AQ:a(330),AG:a(273),AR:a(343),AM:a(249),AW:a(172),AU:a(200),AT:a(211),AZ:a(158),BS:a(176),BH:a(305),BD:a(311),BB:a(206),BY:a(168),BE:"Belgium",BZ:a(263),BJ:a(320),BM:a(189),BT:a(175),BO:a(190),BQ:a(162),BA:a(179),BW:a(277),BV:a(203),BR:a(173),IO:"British Indian Ocean Territory",BN:a(324),BG:a(219),BF:a(289),BI:"Burundi",CV:a(303),KH:"Cambodia",CM:a(226),CA:a(337),KY:a(201),CF:a(316),TD:a(297),CL:"Chile",CN:a(167),CX:a(195),CC:a(325),CO:"Colombia",KM:a(198),CG:"Congo",CD:"Congo (Democratic Republic of the)",CK:"Cook Islands",CR:a(194),CI:"Côte d'Ivoire",HR:a(224),CU:a(287),CW:a(236),CY:"Cyprus",CZ:a(174),DK:a(322),DJ:a(284),DM:"Dominica",DO:a(339),EC:a(212),EG:"Egypt",SV:a(286),GQ:a(232),ER:"Eritrea",EE:a(215),ET:a(267),FK:a(274),FO:a(306),FJ:a(272),FI:"Finland",FR:"France",GF:"French Guiana",PF:a(199),TF:a(221),GA:a(237),GM:"Gambia",GE:a(296),DE:"Germany",GH:a(331),GI:a(304),GR:a(180),GL:a(278),GD:"Grenada",GP:a(241),GU:"Guam",GT:a(250),GG:a(282),GN:a(308),GW:a(256),GY:a(254),HT:a(255),HM:a(171),VA:a(266),HN:"Honduras",HK:"Hong Kong",HU:a(245),IS:a(217),IN:a(302),ID:"Indonesia",IR:a(317),IQ:a(314),IE:a(328),IM:"Isle of Man",IL:a(341),IT:a(333),JM:a(275),JP:a(265),JE:a(334),JO:"Jordan",KZ:a(188),KE:"Kenya",KI:a(340),KP:a(220),KR:"Korea, Republic of",KW:a(329),KG:a(159),LA:"Lao People's Democratic Republic",LV:a(242),LB:a(335),LS:a(239),LR:"Liberia",LY:a(288),LI:a(164),LT:a(202),LU:a(160),MO:a(260),MK:a(183),MG:a(225),MW:a(193),MY:"Malaysia",MV:a(295),ML:"Mali",MT:a(185),MH:"Marshall Islands",MQ:a(319),MR:a(290),MU:a(283),YT:a(178),MX:a(326),FM:a(264),MD:a(240),MC:a(209),MN:"Mongolia",ME:a(257),MS:a(276),MA:a(181),MZ:a(318),MM:"Myanmar",NA:a(281),NR:a(229),NP:a(216),NL:a(233),NC:a(258),NZ:a(165),NI:"Nicaragua",NE:"Niger",NG:a(213),NU:a(299),NF:a(270),MP:"Northern Mariana Islands",NO:a(252),OM:"Oman",PK:a(244),PW:"Palau",PS:a(253),PA:a(210),PG:a(235),PY:a(227),PE:a(269),PH:"Philippines",PN:a(231),PL:a(214),PT:"Portugal",PR:"Puerto Rico",QA:a(170),RE:a(157),RO:"Romania",RU:a(234),RW:"Rwanda",BL:a(156),SH:a(161),KN:a(268),LC:a(218),MF:a(246),PM:"Saint Pierre and Miquelon",VC:a(338),WS:"Samoa",SM:a(323),ST:a(243),SA:a(184),SN:"Senegal",RS:a(208),SC:a(327),SL:a(309),SG:a(332),SX:a(182),SK:a(345),SI:a(163),SB:"Solomon Islands",SO:"Somalia",ZA:a(294),GS:"South Georgia and the South Sandwich Islands",SS:a(191),ES:a(196),LK:a(279),SD:a(230),SR:a(313),SJ:a(169),SZ:"Swaziland",SE:a(205),CH:"Switzerland",SY:a(223),TW:a(344),TJ:"Tajikistan",TZ:a(271),TH:"Thailand",TL:"Timor-Leste",TG:"Togo",TK:a(228),TO:a(321),TT:a(222),TN:a(336),TR:a(204),TM:a(187),TC:a(177),TV:"Tuvalu",UG:"Uganda",UA:"Ukraine",AE:a(251),GB:a(207),US:a(166),UM:a(238),UY:"Uruguay",UZ:"Uzbekistan",VU:"Vanuatu",VE:"Venezuela (Bolivarian Republic of)",VN:"Viet Nam",VG:a(186),VI:"Virgin Islands (U.S.)",WF:a(261),EH:"Western Sahara",YE:a(262),ZM:a(307),ZW:a(346)},_=Gt;(function(x,t){const e=Gt,i=x();for(;;)try{if(parseInt(e(258))/1*(-parseInt(e(288))/2)+parseInt(e(276))/3*(-parseInt(e(260))/4)+-parseInt(e(326))/5*(parseInt(e(283))/6)+parseInt(e(323))/7*(parseInt(e(327))/8)+-parseInt(e(324))/9*(-parseInt(e(286))/10)+-parseInt(e(242))/11*(-parseInt(e(295))/12)+parseInt(e(302))/13*(parseInt(e(279))/14)===t)break;i.push(i.shift())}catch{i.push(i.shift())}})(Oe,798213);const Fe={gov:{prod:{log:_(308),report:_(284)},beta:{log:"https://papi.beta-vpe.gov-ntruss.com/player/maSync",report:_(289)}},pub:{prod:{log:_(275),report:_(296)},beta:{log:_(237),report:_(307)}}};let C={video:{},browser:{},device:{},connection:{},screen:{},player_version:_(272),extra:{sessionId:null,playerType:_(255)},log_type:_(306),privacy:{cookie_enabled:!0}},B={platform:"pub",stage:_(238),sync:!1,syncResult:{}};function Oe(){const x=["MA vpe init","indexOf","87846AdHnmp","https://log.vpe.gov-ntruss.com/stats","push","5701200otsUFH","country","2763394lEBlic","https://log.beta-vpe.gov-ntruss.com/stats","hls","nation","------------------------------------------------","MA report actionType ->","Korea, Republic of","26076rqfrRz","https://log.vpe.naverncp.com/stats","totalStartTime","logDateUnix","extra","MA report failed:","m3u8","8533486EvEZxk","mp4","forEach","platform","vpe","https://log.beta-vpe.naverncp.com/stats","https://papi.vpe.gov-ntruss.com/player/maSync","getTime","isp","url","type","MA config initialization failed:","result","sessionId","stringify","vpeKey","dash","logDate","floor","video","host","217ZscCxv","18htbTIf","parse","475DDRhTy","286168fmXdcI","MA init report failed:","https://papi.beta-vpe.naverncp.com/player/maSync","prod","getSeconds","isArray","entries","3410UFzpTB","sendBeacon","getMinutes","object","geoLocation","net","address","log_type","syncResult","timeupdate","seekedTime","error","application/json","VPE React Native","sync","created_at","1JTSGps","videoFormat","144lXECmT","stage","join","report","padStart","json","UUID","1.0","log","actionDuration","TID","getMonth","latest","actionType","browser","https://papi.vpe.naverncp.com/player/maSync","699mjXbxo","getHours","playerStartTime","14exXrts","POST"];return Oe=function(){return x},Oe()}const b0=new Date().getTime(),Ft=x=>x;function ve(){return Ut()}function kt(){return Ut()}const Ht=()=>{const x=_,t=new Date,e=o=>String(o)[x(264)](2,"0"),i=t.getFullYear()+"-"+e(t[x(271)]()+1)+"-"+e(t.getDate())+" "+e(t[x(277)]())+":"+e(t[x(244)]())+":"+e(t[x(239)]()),n=Math[x(320)](t.getTime()/1e3),r=new Date()[x(309)]()-b0;return{logDate:i,logDateUnix:n,thisSec:r}};function Gt(x,t){return x=x-236,Oe()[x]}function w0(x){const t=_;return typeof x===t(245)&&x!==null&&!Array[t(240)](x)}function at(x,t){const e=_;Object[e(241)](t)[e(304)](([i,n])=>{const r=e;w0(n)?(!x[i]&&(x[i]={}),Object[r(241)](n)[r(304)](([o,f])=>{f!=null&&(x[i][o]=f)})):n!=null&&(x[i]=n)})}function g0(x){const t=_;return x[t(282)](t(301))>-1?t(290):x[t(282)]("mpd")>-1?t(318):t(303)}function m0(x){const t=_,e=[];return x?.r1&&e[t(285)](x.r1),x?.r2&&e[t(285)](x.r2),x?.r3&&e[t(285)](x.r3),e[t(262)](" ")}function Vt(x){const t=_;x[t(269)]===t(267)&&(x[t(269)]=0),x.actionDuration===void 0&&(x.actionDuration=0),[t(278),"videoStartTime",t(297),t(252)][t(304)](i=>{x[i]===void 0&&(x[i]=0)}),x[t(312)]===void 0&&C[t(321)]?.[t(312)]&&(x[t(312)]=C.video[t(312)]),x[t(311)]===void 0&&C.video?.url&&(x[t(311)]=C.video[t(311)],x[t(259)]=g0(x.url))}function Yt(x){const t=_;return!!(x[t(266)]&&x[t(270)]&&x[t(322)])}function He(x){const t=_;try{const e=B.syncResult?.[t(246)];e&&(x[t(248)]=m0(e),x[t(310)]=e[t(247)]||"",x.ip=B[t(250)]?.ip||"",x.nation=e[t(287)]||"")}catch{}}const y0=async x=>{const t=_;if(!x)return;const{platform:e,stage:i}=B,n=Fe[e][i][t(268)];try{const r=await fetch(n,{method:t(280),headers:{"Content-Type":t(254)},body:JSON[t(316)]({access_key:x})}),o=await r[t(265)]();B.sync=o[t(314)]?.[t(256)]||!1,B.syncResult=o[t(314)]||{};const{logDate:f,logDateUnix:h}=Ht();return C[t(299)][t(319)]=f,C.extra[t(298)]=h,B[t(250)]?.[t(246)]&&He(C[t(299)]),o}catch(r){return console[t(253)](t(313),r),null}},v0=async x=>{const t=_,{platform:e,stage:i}=B,n=Ft(Fe[e][i][t(263)]),r={...x};r[t(249)]=t(306),He(r[t(299)]);try{await fetch(n,{method:t(280),headers:{"Content-Type":t(254)},body:JSON[t(316)](r)})}catch(o){console.error(t(236),o)}},S0=async x=>{const t=_,{platform:e,stage:i}=B,n=Ft(Fe[e][i][t(263)]),r=JSON[t(325)](JSON[t(316)](C));if(at(r,x),r[t(249)]="MA",He(r.extra),Vt(r.extra),!!Yt(r[t(299)]))try{r[t(312)]!=t(251),await fetch(n,{method:t(280),headers:{"Content-Type":t(254)},body:JSON.stringify(r)})}catch(o){console[t(268)](t(300),o)}};async function I0(x,t,e,i,n){const r=_;B[r(305)]=x,B[r(261)]=t,at(C,e),i&&(C[r(299)].vpePackageId=i),n&&(C[r(299)][r(317)]=n),C[r(299)][r(291)]?C[r(274)][r(287)]=Lt[C[r(299)][r(291)]]||r(294):C[r(274)][r(287)]=r(294);const{logDate:o,logDateUnix:f}=Ht();C.extra[r(319)]=o,C[r(299)][r(298)]=f,C[r(299)][r(257)]=f}async function k0(x){const t=_,e=JSON[t(325)](JSON[t(316)](C));x[t(299)]&&Object.assign(e.extra,x[t(299)]),e[t(321)]=x[t(321)],await v0(e),console[t(268)](t(281))}function _0(x){const t=_,{platform:e,stage:i}=B,n=Fe[e]?.[i]?.[t(263)];if(!n)return!1;const r=JSON[t(325)](JSON[t(316)](C));if(at(r,x),r[t(249)]="MA",He(r[t(299)]),Vt(r[t(299)]),!Yt(r[t(299)]))return!1;try{const o=new Blob([JSON.stringify(r)],{type:t(254)});return navigator[t(243)](n,o)}catch{return!1}}const _t=nt;(function(x,t){const e=nt,i=x();for(;;)try{if(parseInt(e(497))/1+parseInt(e(502))/2+parseInt(e(485))/3+parseInt(e(487))/4*(-parseInt(e(493))/5)+parseInt(e(498))/6*(parseInt(e(496))/7)+-parseInt(e(499))/8+-parseInt(e(486))/9*(parseInt(e(488))/10)===t)break;i.push(i.shift())}catch{i.push(i.shift())}})(Pe,494732);function nt(x,t){return x=x-480,Pe()[x]}function Pe(){const x=["dropshadow","1495942IeIqfX","#009dff","rgba(0, 0, 0, 0.4)","captionStyle","controlBtn","pay","all","1581429uqFeSg","319491GFQYMH","424yrUdAN","370SVjngS","progressBar","NAVER CLOUD PLATFORM","16/9","contain","21545QYyUwo","#4299f5","#ffffff","301UbXdby","578451JBItbe","72312tBJvVq","854816YzIfkk","watermarkConfig"];return Pe=function(){return x},Pe()}const E0=(x={},t)=>{const e=nt,i={autostart:!0,muted:!1,aspectRatio:e(491),objectFit:e(492),controls:!0,keyboardShortcut:!0,startMutedInfoNotVisible:!1,allowsPictureInPicture:!1,staysActiveInBackground:!1,screenRecordingPrevention:!1,modalFullscreen:!1,seekingPreview:!0,lang:"ko",ui:e(484),controlBtn:{play:!0,fullscreen:!0,progressBar:!0,volume:!1,times:!0,pictureInPicture:!0,setting:!0,subtitle:!0},progressBarColor:e(494),controlActiveTime:3e3,playRateSetting:[.5,.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(490),watermarkConfig:{randPosition:!0,randPositionInterVal:3e3,x:10,y:10,opacity:.5},captionStyle:{fontSize:12,color:e(495),backgroundColor:e(480),edgeStyle:e(501)},override:null};if(t!==e(483))return{...i,...T0};const n={...i,...x};return x[e(482)]&&(n[e(482)]={...i.controlBtn,...x[e(482)]}),x[e(500)]&&(n[e(500)]={...i[e(500)],...x.watermarkConfig}),x[e(481)]&&(n[e(481)]={...i[e(481)],...x[e(481)]}),n[e(482)]?.[e(489)]===void 0&&(n[e(482)][e(489)]=!0),n},T0={free:!0,startMutedInfoNotVisible:!1,lowLatencyMode:!1,progressBarColor:_t(503),playRateSetting:[.5,.75,1,1.5,2],descriptionNotVisible:!0,seekingPreview:!1,controlActiveTime:1500,ui:_t(484),token:"",setStartTime:null,controlBtn:{play:!0,fullscreen:!0,volume:!0,times:!0,setting:!1,pictureInPicture:!1,progressBar:!0}},w=zt;(function(x,t){const e=zt,i=x();for(;;)try{if(-parseInt(e(232))/1*(-parseInt(e(305))/2)+-parseInt(e(205))/3+-parseInt(e(236))/4*(-parseInt(e(255))/5)+parseInt(e(268))/6*(parseInt(e(322))/7)+-parseInt(e(220))/8+-parseInt(e(284))/9+parseInt(e(249))/10===t)break;i.push(i.shift())}catch{i.push(i.shift())}})(De,576884);function De(){const x=["initializeReportData","stageData","handlePause","handleWaiting","forEach","maSync","vpe","6ZShXar","beaconSent","error","REBUFFERING","playing","resetStateForNewTrack","sessionId","handleSeeking","firstPlaying","VPE","prevUrl","handleFullscreenChange","timeupdateFocus","getDate","contentId","E0000","2660877aUUTOA","getHours","prevTrack","isBuffering","toFixed","PREV_TRACK","FULLSCREEN_CHANGE","visibilityState","prevQuality","TIMEUPDATE_FOCUS","getTime","url","initTimeupdate","percent","now","PAUSED","country","addEventListener","handleTrackChange","PLAY","rebuffering","1324TAKUkt","state","object","player_start","buildSessionMetrics","dispatchEvent","ratechange","pause","nation","isPlainObject","contentDuration","handleWaitingEnd","visibilitychange","currentTime","entries","handleCanplay","isSeeking","3953145JAvSLC","playbackRate","RATE_CHANGE","handleEnded","speedChangeCnt","data","pauseCnt","fullscreenYn","boundBeforeUnload","CANPLAY","maInit","reportData","round","bind","ERROR","prevAction","1697220qxyZBl","PLAYING","removeEventListener","quality_change","then","handleBeforeUnload","waiting","UUID","handleVisibilityChange","boundVisibilityChange","isFullscreen","handleQualityChange","play","firstPlay","TID","7107040EXWyPn","handlePlayerStart","isEnded","STARTUP","lastPlaybackSpeed","extra","nextTrack","handleRateChange","prevTime","playedTime","isArray","ENDED","19nzdCCo","SEEKING","getFullYear","hidden","16GjxHpe","playAttempt","PLAYER_START","WAITING_END","WAITING","handleTimeUpdate","beforeunload","handleSeeked","seekCnt","handleTimeUpdateFocus","handleError","firstError","ended","13621840xuNbUk","isPlaying","type","fullscreenchange","report","Korea, Republic of","483950EzlzAC","sendSessionBeacon","duration","video","quality","SEEKED"];return De=function(){return x},De()}function zt(x,t){return x=x-200,De()[x]}const Et="0p",C0=59e3,A0=1,m={PLAYER_START:w(308),STARTUP:"startup",PLAY:w(217),PAUSE:w(312),PLAYING:w(272),PAUSED:"pause",SEEKING:"seeking",SEEKED:"seeked",WAITING:w(211),WAITING_END:"waitingEnd",CANPLAY:"canplay",ENDED:"ended",NEXT_TRACK:"nextTrack",PREV_TRACK:w(286),ERROR:w(270),QUALITY_CHANGE:w(208),REBUFFERING:w(304),TIMEUPDATE:"timeupdate",TIMEUPDATE_FOCUS:w(280),RATE_CHANGE:w(311),FULLSCREEN_CHANGE:w(252)};class R0{[w(200)];[w(262)];[w(306)];[w(269)]=!1;[w(330)];[w(214)];constructor(t,e,i){const n=w;this[n(262)]={platform:t,stage:e,sync:!1,syncResult:{}},this[n(200)]={video:{},browser:{},device:{},connection:{},screen:{},player_version:"latest",extra:{UUID:null,TID:null,sessionId:null,playerType:n(277),playAttempt:!1},log_type:n(267),privacy:{cookie_enabled:!0}},this[n(306)]={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:Et,pauseCnt:0,seekCnt:0,speedChangeCnt:0,lastPlaybackSpeed:1,fullscreenYn:!1,contentId:null,contentDuration:0},this[n(261)](i),this[n(262)],this[n(330)]=this[n(210)][n(202)](this),this.boundVisibilityChange=this[n(213)][n(202)](this),window.addEventListener("beforeunload",this[n(330)]),document[n(301)]("visibilitychange",this[n(214)])}[w(261)](t){const e=w;this[e(200)]={...this[e(200)],...t},this[e(200)].extra.nation?this[e(200)].browser[e(300)]=Lt[this[e(200)][e(225)][e(313)]]||"Korea, Republic of":this.reportData.browser[e(300)]=e(254)}[w(294)](){const t=w,e=new Date,i=o=>String(o).padStart(2,"0"),n=e[t(234)]()+"-"+i(e.getMonth()+1)+"-"+i(e[t(281)]())+" "+i(e[t(285)]())+":"+i(e.getMinutes())+":"+i(e.getSeconds()),r=Math.floor(e[t(294)]()/1e3);return{logDate:n,logDateUnix:r}}isPlainObject(t){const e=w;return typeof t===e(307)&&t!==null&&!Array[e(230)](t)}async[w(253)](t,e){const i=w;if(this.state[i(247)])return;const{logDate:n,logDateUnix:r}=this[i(294)](),o=Date[i(298)](),f=this[i(306)][i(228)]>0?o-this[i(306)][i(228)]:0,h=f,S=e&&typeof e=="object"&&e.data?e[i(327)]:{},I={...this[i(200)],video:this[i(200)][i(258)],extra:{...this[i(200)][i(225)],actionType:t,actionDuration:h?h[i(288)](2):0,logDate:n,logDateUnix:r,...S}};this.state[i(228)]=o,await S0(I)}async[w(332)](t){const e=w;!this[e(200)][e(225)][e(274)]&&(this[e(200)][e(225)][e(274)]=kt(),this[e(200)][e(225)][e(219)]=ve(),this.reportData[e(225)][e(212)]=ve()),t[e(225)][e(274)]=this[e(200)][e(225)][e(274)],await k0(t)}async[w(266)](t){const e=w;!t||typeof t!==e(307)||Object.entries(t)[e(265)](([i,n])=>{const r=e;this[r(314)](n)?Object[r(319)](n)[r(265)](([o,f])=>{const h=r;f!=null&&(this[h(200)][i][o]=f)}):n!=null&&(this.reportData[i]=n)})}[w(310)](t){const e=w,{type:i,data:n}=t,r={url:n?.url||this[e(306)][e(278)],type:n?.[e(251)],quality:n?.[e(259)]||this.state[e(292)],data:n};switch(i){case m[e(238)]:this.handlePlayerStart(r,n);break;case m[e(223)]:this.handleStartup(r,n);break;case m[e(303)]:this.handlePlay(r,n);break;case m.PAUSE:this[e(263)](r,n);break;case m.TIMEUPDATE:this.handleTimeUpdate(r,n);break;case m[e(293)]:this[e(245)](r,n);break;case m.SEEKING:this[e(275)](r,n);break;case m[e(260)]:this[e(243)](r,n);break;case m[e(240)]:this[e(264)](r,n);break;case m[e(239)]:this[e(316)](r,n);break;case m[e(331)]:this[e(320)](r,n);break;case m[e(231)]:this[e(325)](r,n);break;case e(226):case e(286):this[e(302)](i,r,n);break;case m[e(203)]:this[e(246)](r,n);break;case m.QUALITY_CHANGE:this.handleQualityChange(r,n);break;case m.RATE_CHANGE:this[e(227)](r,n);break;case m.FULLSCREEN_CHANGE:this[e(279)](r,n);break}}[w(221)](t,e){const i=w;!this[i(200)][i(225)][i(274)]&&(this[i(200)].extra[i(274)]=kt(),this[i(200)][i(225)].TID=ve(),this[i(200)][i(225)][i(212)]=ve()),this[i(306)].startTime=Date.now(),this[i(306)][i(228)]=this[i(306)].startTime,this[i(253)](m[i(238)],{...t,data:e})}handleStartup(t,e){const i=w;this[i(306)].firstPlaying&&(e?.[i(282)]&&(this[i(306)][i(282)]=e[i(282)]),e?.[i(257)]&&(this[i(306)][i(315)]=Math[i(201)](e[i(257)]*1e3)),this.report(m[i(223)],{...t,data:e}),this[i(306)][i(276)]=!1)}handlePlay(t,e){const i=w;this[i(306)][i(250)]||(this[i(200)][i(225)].playedTime=e?.playedTime,this[i(200)].extra.percent=e?.[i(297)],this.state[i(250)]=!0,this[i(200)][i(225)].playAttempt=!0,this[i(306)][i(218)]&&(this.state.firstPlay=!1),this.state.prevAction===m[i(299)]&&this[i(253)](m.PLAYING,{...t,data:e}),this[i(306)][i(204)]=m[i(206)])}[w(263)](t,e){const i=w;this[i(306)][i(321)]||this[i(306)].isBuffering||!this.state[i(250)]||(this[i(306)].pauseCnt++,this[i(306)][i(250)]=!1,this[i(253)](m[i(299)],{...t,data:{...e,pauseCnt:this[i(306)][i(328)]}}),this[i(306)][i(204)]=m.PAUSED)}[w(241)](t,e){const i=w;this[i(306)][i(250)]=!0,this[i(200)][i(225)][i(237)]=!0,!(this[i(200)].extra[i(318)]<A0)&&(this[i(306)][i(250)]&&Date[i(298)]()-this[i(306)][i(228)]>C0&&this[i(253)](m[i(206)],{...t,data:e}),this[i(306)][i(278)]=t[i(295)]||"",this[i(306)][i(292)]=t[i(259)]||Et)}handleTimeUpdateFocus(t,e){const i=w;this[i(200)][i(225)][i(318)]>0&&(this[i(253)](m[i(206)],{...t,data:e}),this[i(306)][i(296)]=!0)}[w(275)](t,e){const i=w;this.state[i(321)]||(this[i(306)][i(244)]++,this.state[i(321)]=!0,this.state[i(250)]?this[i(253)](m[i(206)],{...t,data:e}):this[i(306)].prevAction===m[i(299)]&&this[i(253)](m[i(299)],{...t,data:e}),this[i(306)][i(204)]=m.SEEKING)}[w(243)](t,e){const i=w;this.state[i(321)]&&(this[i(306)][i(321)]=!1,this.report(m[i(233)],{...t,data:e}),this[i(306)].prevAction=this[i(306)][i(250)]?m[i(206)]:m.PAUSED)}[w(264)](t,e){const i=w;this[i(306)][i(321)]||this.state[i(287)]||(this[i(306)].isBuffering=!0,this[i(306)][i(250)]&&this[i(253)](m[i(206)],{...t,data:e}),this.state[i(204)]=m.REBUFFERING)}[w(316)](t,e){const i=w;this[i(306)][i(321)]||this.state[i(287)]||(this[i(306)][i(287)]=!0,this[i(306)][i(250)]&&this[i(253)](m.PLAYING,{...t,data:e}),this[i(306)][i(204)]=m.REBUFFERING)}[w(320)](t,e){const i=w;this[i(306)].isBuffering&&(this[i(306)][i(287)]=!1,this[i(253)](m[i(271)],{...t,data:e}),this[i(306)][i(204)]=this.state.isPlaying?m[i(206)]:m[i(299)])}[w(256)](){const t=w;if(this[t(269)]||this[t(306)][t(222)]||this[t(306)][t(247)]||!this[t(200)][t(225)].UUID||!this[t(200)][t(225)][t(219)])return;this[t(269)]=!0;const{logDate:e,logDateUnix:i}=this[t(294)](),n=Date[t(298)](),r=this[t(306)][t(228)]>0?n-this[t(306)][t(228)]:0,o=(this[t(200)][t(225)][t(318)]||0)*1e3,f=this[t(306)][t(315)],h=f>0?Math[t(201)](o/f*1e4)/100:0,S=this[t(200)].extra[t(229)]||0,I={...this[t(200)],video:this.reportData[t(258)],extra:{...this[t(200)][t(225)],actionType:t(248),actionDuration:r?r[t(288)](2):0,logDate:e,logDateUnix:i,contentId:this[t(306)][t(282)],contentDuration:f,watchPercent:h,isCompleted:h>=95,isBounce:S<1e4,pauseCnt:this[t(306)][t(328)],seekCnt:this[t(306)][t(244)],speedChangeCnt:this.state[t(326)],lastPlaybackSpeed:this.state.lastPlaybackSpeed,fullscreenYn:this[t(306)][t(329)],dropOffPosition:Math[t(201)](o)}};_0(I)}[w(210)](){this[w(256)]()}[w(213)](){const t=w;document[t(291)]===t(235)&&this[t(256)]()}destroy(){const t=w;window[t(207)](t(242),this[t(330)]),document.removeEventListener(t(317),this.boundVisibilityChange)}[w(309)](t,e){const i=w,n=(e?.[i(318)]||0)*1e3,r=this[i(306)][i(315)],o=r>0?Math.round(n/r*1e4)/100:0,f=this.reportData[i(225)][i(229)]||0;return{...t,data:{...e,contentId:this[i(306)][i(282)],contentDuration:r,watchPercent:o,isCompleted:o>=95,isBounce:f<1e4,pauseCnt:this[i(306)][i(328)],seekCnt:this.state[i(244)],speedChangeCnt:this[i(306)][i(326)],lastPlaybackSpeed:this.state[i(224)],fullscreenYn:this[i(306)][i(329)],dropOffPosition:Math[i(201)](n)}}}[w(325)](t,e){const i=w;this[i(306)][i(222)]||(this[i(306)].isEnded=!0,this[i(306)][i(250)]=!1,this.beaconSent=!0,this[i(306)][i(204)]!==m.PAUSED&&this[i(253)](this[i(306)][i(204)]||m[i(206)],{...t,data:e}),this[i(253)](m[i(231)],this.buildSessionMetrics(t,e)))}[w(302)](t,e,i){const n=w,r=t===n(226)?m.NEXT_TRACK:m[n(289)];this[n(253)](this.state[n(204)]||m[n(206)],this[n(309)](e,i)).then(()=>{const o=n;this[o(253)](r,{...e,data:i})[o(209)](()=>{this[o(273)]()})})}[w(246)](t,e){const i=w;this[i(306)][i(204)]&&!this[i(306)][i(276)]&&this.report(this.state[i(204)],this.buildSessionMetrics(t,e));const n={errorCode:e?.code||i(283),errorMessage:e?.message||"Unknown Error"};this[i(253)](m[i(203)],{...t,data:{...e,...n}}),this.state[i(247)]=!0}[w(216)](t,e){const i=w;this.state[i(204)]&&!this[i(306)][i(321)]&&!this[i(306)][i(287)]&&!this.state.firstPlaying&&(this[i(306)].isSeeking=!0,this.report(this[i(306)][i(204)],{...t,data:e}),this.state[i(204)]=m[i(233)])}[w(227)](t,e){const i=w,n=e?.[i(323)]||1;n!==this[i(306)].lastPlaybackSpeed&&(this[i(306)][i(326)]++,this.state.lastPlaybackSpeed=n,this[i(253)](m[i(324)],{...t,data:{...e,speedChangeCnt:this[i(306)][i(326)],lastPlaybackSpeed:n}}))}handleFullscreenChange(t,e){const i=w;e?.[i(215)]&&(this.state[i(329)]=!0),this[i(253)](m[i(290)],{...t,data:{...e,fullscreenYn:this[i(306)][i(329)]}})}[w(273)](){const t=w;this[t(306)].prevAction=null,this[t(306)][t(250)]=!1,this.state[t(228)]=0,this[t(306)][t(276)]=!0,this[t(306)].initTimeupdate=!1,this[t(306)][t(328)]=0,this[t(306)][t(244)]=0,this[t(306)][t(326)]=0,this[t(306)].lastPlaybackSpeed=1,this[t(306)].fullscreenYn=!1,this.state[t(282)]=null,this[t(306)].contentDuration=0}}const y=fe;(function(x,t){const e=fe,i=x();for(;;)try{if(parseInt(e(258))/1+parseInt(e(262))/2*(parseInt(e(271))/3)+-parseInt(e(303))/4*(-parseInt(e(164))/5)+parseInt(e(169))/6+parseInt(e(200))/7+parseInt(e(326))/8*(-parseInt(e(214))/9)+parseInt(e(329))/10*(-parseInt(e(276))/11)===t)break;i.push(i.shift())}catch{i.push(i.shift())}})(Ne,840734);function fe(x,t){return x=x-164,Ne()[x]}const M0={gov:{prod:{config:y(313),report:y(213)},beta:{config:y(273),report:y(288)}},pub:{prod:{config:"aHR0cHM6Ly9wYXBpLnZwZS5uYXZlcm5jcC5jb20vcGxheWVyL2NvbmZpZw==",report:"aHR0cHM6Ly9sb2cudnBlLm5hdmVybmNwLmNvbS9zdGF0cw=="},beta:{config:y(182),report:y(215)}}};function Ne(){const x=["m3u8","slice","?preview=true","data","userAgent","updateTranslator","stringify","indexOf","maInit","sync","aHR0cHM6Ly9sb2cudnBlLmdvdi1udHJ1c3MuY29tL3N0YXRz","396rAtSwq","aHR0cHM6Ly9sb2cuYmV0YS12cGUubmF2ZXJuY3AuY29tL3N0YXRz","getElapsedMilliseconds","floor","webkitConnection","controlBtn","height","playerInfo","getBrowserInfo","lang","maUse","quality","title","playerName","extra","string","hls","startTimeAt","getPlaylist","serverConfig","player_name","Whale","playerStateReport","name","now","getResult","Unknown","width","errorInfo","startup","POST","kakao","incomingType","LIVE","getErrorState","#EXT-X-STREAM-INF","videoWidth","host","Safari","Chrome","kbps","dispatchEvent","navigator","naver","475904EAMYLU","json","UAParser","language","4hPKXgj","contentId","Naver webview","mp4","deviceMemory","Base64 decoding failed:","version","reduce","watermarkConfig","2409747IeykIq","HLS 파싱 실패:","aHR0cHM6Ly9wYXBpLmJldGEtdnBlLmdvdi1udHJ1c3MuY29tL3BsYXllci9jb25maWc=","whale","stateChange","27948327vBFGTr","map","protocol","auto","isInitialized","currentTime","startsWith","screen","effectiveType","volumechange","test","isDev","aHR0cHM6Ly9sb2cuYmV0YS12cGUuZ292LW50cnVzcy5jb20vc3RhdHM=","meta","playerVersion","saveData","getVideoProtocol","toLowerCase","toString","Firefox","player_version","status","fullscreenchange","vendor","E0003","E0001","model","640948IRAcHq","getTime","state","cid","Other","location","includes","result","hasFirstPlayReported","translator","aHR0cHM6Ly9wYXBpLnZwZS5nb3YtbnRydXNzLmNvbS9wbGF5ZXIvY29uZmln","Edg","config","videoHeight","ready","unknown","match","report","Auto","length","Kakao webview","round","split","232608GiwFvf","browser","kakaotalk","10HJFlow","statusText","mozConnection","rtt","join","VPE SDK Initialization failed:","5ulUeVZ","pricing","push","appId","device","8764908NUTmkg","error","hlsPaser","trim","downlink","isFullscreen","errorState","type","connection","options","performKeyCheck","VOD","access_key","aHR0cHM6Ly9wYXBpLmJldGEtdnBlLm5hdmVybmNwLmNvbS9wbGF5ZXIvY29uZmln","initialize","accessKey","object","stage","vpe","VPE","playbackRate","platform","play","E0002","pay","Edge","maManager","player_start","playlist","playerStartTimeMs","setErrorRun","6701646luRjXf","origin","video"];return Ne=function(){return x},Ne()}let Tt=[];const O0=x=>{const t=y;try{return atob(x)}catch(e){return console[t(170)](t(267),e),""}};class P0{[y(233)]={};[y(221)]=null;[y(184)];[y(167)];[y(190)];[y(186)];[y(287)];[y(312)]=Ce();[y(175)];[y(195)]=null;startTimeAt=null;[y(246)]=null;hasFirstPlayReported=!1;[y(198)]=0;constructor({accessKey:t,appId:e,platform:i,stage:n,isDev:r=!1,language:o}){const f=y;this[f(184)]=t,this.appId=e||location[f(201)],this[f(190)]=i,this.stage=n,this[f(287)]=r,this.updateTranslator(o),this[f(175)]={errorCode:null,errorMessage:null}}async[y(183)](){const t=y,e=[t(184),t(167),t(192),t(301),t(300)],i="VPE Player: accessKey 또는 appId가 없어 키 인증을 건너뜁니다.";if([this[e[0]],this[e[1]]].some(o=>!o))return console.warn(i),{error:this[t(199)](e[2])};const r=o=>{const f=t;return this[f(233)]=o,this[f(221)]=this.createPlayerInfo(o),this[f(221)]};try{const o=await this[t(179)]();if(o.code!==200)return{error:this[t(199)](e[3])};const f=r(o);if(window.vpe&&(window[t(187)][t(227)]=f?.player_name,window[t(187)][t(290)]=f?.[t(296)],window.vpe[t(234)]=f[t(234)]+"|"+f[t(296)],window[t(187)][t(305)]=this[t(186)]),f?.[t(224)]==="Y"){await I0(this.platform,this[t(186)],f,this[t(167)],this[t(184)]);const h=await y0(this[t(184)]);this.maManager=new R0(this[t(190)],this[t(186)],f),this[t(231)]=Date[t(238)](),h?.result?.[t(212)]&&await this[t(195)][t(211)]({video:f[t(202)]||{},extra:{...f[t(228)]}})}return{options:this[t(233)][t(310)]?.[t(178)],playerInfo:f}}catch(o){return console[t(170)](t(334),o),{error:this.setErrorRun(e[4])}}}async performKeyCheck(){const t=y,e=[t(205),t(315),"Content-Type","application/json",t(181),"domain",t(244)],i=this[t(287)]?e[0]:"",n=O0(M0[this.platform][this[t(186)]][e[1]])+i,r=this.appId,o=JSON[t(209)]([e[4],e[5]][t(269)]((h,S,I)=>{const R=t;return h[S]=[this[R(184)],r][I],h},{})),f=await fetch(n,{method:e[6],headers:{[e[2]]:e[3]},body:o});if(!f.ok)throw new Error(["API","Error:",f[t(297)],f[t(330)]][t(333)](" "));return f[t(259)]()}[y(222)](){const t=y,e=navigator.userAgent;return/Edg\/(\d+\.\d+)/[t(286)](e)?{origin:t(194),version:RegExp.$1}:/Chrome\/(\d+\.\d+)/[t(286)](e)&&!e.includes(t(314))?{origin:t(253),version:RegExp.$1}:/Firefox\/(\d+\.\d+)/[t(286)](e)?{origin:t(295),version:RegExp.$1}:/Version\/(\d+\.\d+)/.test(e)&&e[t(309)](t(252))?{origin:t(252),version:RegExp.$1}:{origin:t(240),version:t(240)}}createPlayerInfo(t){const e=y,[i,n]=t.result[e(237)][e(325)]("|"),r=navigator[e(177)]||navigator.mozConnection||navigator[e(218)],o=this[e(222)](),f=navigator.userAgentData,h=new St[e(260)](window.navigator[e(207)])[e(239)]();return window[e(256)][e(207)][e(293)]().includes(e(274))?h[e(327)][e(237)]=e(235):window[e(256)][e(207)][e(293)]()[e(309)](e(328))?h[e(327)][e(237)]=e(323):window[e(256)][e(207)][e(293)]()[e(309)]("naver")?h[e(327)][e(237)]=e(264):window[e(256)][e(207)][e(293)]()[e(309)](e(245))?h[e(327)].name=e(323):window[e(256)][e(207)][e(293)]().includes(e(257))&&(h[e(327)][e(237)]=e(264)),{cid:t[e(310)][e(306)],player_name:i,player_version:n,pricing:t[e(310)][e(165)],maUse:t[e(310)][e(178)]?.[e(224)]==="Y"?"Y":"N",browser:{lang:navigator.language,ua:navigator[e(207)]},screen:{width:window[e(283)][e(241)],height:window[e(283)].height},connection:{network:r?.[e(284)]??e(318),downlink:r?.[e(173)]??null,rtt:r?.[e(332)]??null,save_data:r?.saveData??!1},device:{platform:f?.[e(190)]??e(240),mobile:f?.mobile??!1,memory:navigator[e(266)]??null,processor:navigator.hardwareConcurrency??null},video:{url:""},extra:{vpeKey:this.accessKey,playerType:e(188),playerVersion:window.vpe?.[e(290)]??n,os:f?.platform??e(240),osOrigin:h.os.name||e(240),osVersion:h.os[e(268)],vpePackageId:null,actionDuration:this[e(216)](),actionType:e(317),browser:o[e(201)],browserOrigin:o[e(201)],browserVersion:o[e(268)],quality:e(307),qualityOrigin:e(321),device:h[e(168)].vendor+" "+h.device[e(302)],location:window[e(308)].href,host:window[e(308)][e(251)],port:window[e(308)].port,protocol:window[e(308)][e(278)],title:""}}}[y(199)](t){const e=y,i=t[e(204)](-2),n=this[e(312)][e(170)][i]||this[e(312)][e(170)]["01"],r={errorCode:t,errorMessage:n};return this[e(175)]=r,console[e(170)]("ncplayer : ",r),r}[y(208)](t){this.translator=Ce(t)}[y(248)](){return this.errorState}isPaidTier(){const t=y;return this.serverConfig[t(310)]?.[t(165)]===t(193)}[y(280)](){const t=y;return!!this[t(233)][t(310)]}getValidatedOptions(t){const e=y,i=E0(this.serverConfig[e(310)]?.options,this.serverConfig[e(310)]?.[e(165)]);this.serverConfig[e(310)]?.[e(165)]!==e(193)&&(t={...t,...i});const n={...i,...t??{}};return n?.[e(223)]&&(n?.[e(223)]==e(279)||this[e(208)](n[e(223)])),t?.controlBtn&&(n[e(219)]={...i[e(219)],...t[e(219)]}),t?.watermarkConfig&&(n[e(270)]={...i[e(270)],...t.watermarkConfig}),n[e(197)]&&!Array.isArray(n[e(197)])&&(n.playlist=[{file:n[e(197)]}]),Tt=n[e(197)]||[],n}[y(232)](){return Tt||[]}$t(t){const e=y,i=t[e(325)](".");let n=this.translator;for(const r of i)if(n&&typeof n===e(185)&&r in n)n=n[r];else return t;return typeof n===e(229)?n:t}async[y(171)](t){const e=y,i=[];if(!t||t.indexOf(".m3u8")===-1)return i;const n=(f,h)=>{const S=fe;try{return new URL(h,f)[S(294)]()}catch{return h}},r=f=>{const h=fe,S=f[h(319)](/RESOLUTION=(\d+)x(\d+)/);if(S)return S[2]+"p";const I=f.match(/BANDWIDTH=(\d+)/);return I?Math[h(324)](Number(I[1])/1e3)+h(254):h(279)},o=f=>{const h=fe,S=f[h(325)](/\r?\n/)[h(277)](I=>I[h(172)]()).filter(I=>I[h(322)]>0);for(let I=0;I<S[h(322)];I+=1){const R=S[I];if(R[h(282)](h(249))){const H=S[I+1];H&&!H.startsWith("#")&&(i[h(166)]({quality:r(R),url:n(t,H),levelIndex:i[h(322)]}),I+=1)}}};try{const f=await fetch(t);if(!f.ok)return i;const h=await f.text();return h&&o(h),i}catch(f){return console[e(170)](e(272),f),i}}async[y(236)](t){const e=y;if(!t?.[e(176)]||!this[e(195)]||this[e(221)]?.[e(224)]!=="Y")return;const i=new St[e(260)](window[e(256)][e(207)])[e(239)]();if(t[e(176)]==e(285)||t.type==e(275))return;if(t[e(176)]=="ratechange"){await this[e(320)]("ratechange",{extra:{playbackRate:t?.video?.data?.[e(189)]||1}},t.type);return}if(t[e(176)]==e(298)){await this[e(320)]("fullscreenchange",{extra:{isFullscreen:t?.[e(206)]?.[e(174)]||!1}},t[e(176)]);return}const n=t.type;t.type=="ready"&&(t[e(176)]=e(196));const r=t?.[e(202)]?.[e(176)]=="live",o=navigator[e(177)]||navigator[e(331)]||navigator[e(218)]||null;this[e(246)]=t?.type||null;const f=this[e(246)]===e(191)&&!this.hasFirstPlayReported,h=f?e(243):this[e(246)];f&&(this[e(311)]=!0);const S=t?.video?.[e(206)]?.duration||0,I=t?.[e(202)]?.[e(206)]?.[e(281)]||0,R=t?.video?.[e(250)]||0,H=t?.video?.[e(316)]||0;let oe=0,z=0,be=0;if(h==e(196)&&(oe=this[e(216)](),this[e(198)]=oe),h=="startup"){const rt=this.getElapsedMilliseconds();z=rt-this[e(198)],be=rt}const qt={type:h,video:{type:e(r?247:180),quality:t?.video?.quality?t?.[e(202)]?.[e(225)]:e(279),url:t?.[e(202)]?.url},connection:o?{network:o[e(284)],downlink:o[e(173)],rtt:o[e(332)],save_data:o[e(291)]}:void 0,extra:{actionType:h,title:t?.[e(289)]?.[e(226)],contentId:t?.video?.contentId||t?.[e(289)]?.[e(263)]||null,metaData:t?.[e(289)],videoWidth:Math[e(324)](R),videoHeight:Math[e(324)](H),video_protocols:this[e(292)](t?.[e(202)]?.url),duration:Math[e(217)](S),currentTime:Math.floor(I),playedTime:this[e(216)](),viewingTime:Math[e(324)](this[e(216)]()/1e3),playerStartTime:oe,videoStartTime:z,totalStartTime:be,percent:Math[e(324)](I/S*100),quality:t?.[e(202)]?.[e(225)]?t?.video?.[e(225)]:e(279),errorCode:t?.[e(242)]?.errorCode,errorMessage:t?.[e(242)]?.errorMessage,actionDuration:this[e(216)]()/1e3,device:i[e(168)][e(299)]+" "+i[e(168)][e(302)],location:window[e(308)].href,host:window[e(308)][e(251)],port:window[e(308)].port,protocol:window[e(308)][e(278)]},browser:{lang:navigator[e(261)],ua:navigator.userAgent},screen:{width:window.screen[e(241)],height:window[e(283)][e(220)]}};await this.report(h,qt,n)}async[y(320)](t,e,i){const n=y;if(!this[n(195)])return;const r=e&&typeof e===n(185)?e:{extra:{actionDuration:this.getElapsedMilliseconds()}};await this[n(195)].maSync(r),await this[n(195)][n(255)]({type:t,data:r})}[y(292)](t){const e=y;return t[e(210)](e(203))>-1?e(230):t[e(210)]("mpd")>-1?"dash":e(265)}[y(216)](){const t=y;return this[t(231)]?new Date()[t(304)]()-this.startTimeAt:0}}function Ue(){var x=["1126MyYLEK","20545029CuNhky","879pJWFBi","5LyYdSH","6488296VHprGE","1732056wLBHMx","227948CMPvkN","222696evaegJ","3738264peNGte"];return Ue=function(){return x},Ue()}(function(x,t){for(var e=D0,i=x();;)try{var n=parseInt(e(267))/1+parseInt(e(269))/2*(-parseInt(e(271))/3)+-parseInt(e(265))/4*(parseInt(e(272))/5)+-parseInt(e(268))/6+-parseInt(e(266))/7+-parseInt(e(273))/8+parseInt(e(270))/9;if(n===t)break;i.push(i.shift())}catch{i.push(i.shift())}})(Ue,440859);function D0(x,t){x=x-265;var e=Ue(),i=e[x];return i}exports.default=P0;exports.getTranslator=Ce;