/* Decoded by unphp.net */ ", "", "", "", "", "
", "", "", "", "
", "", " - ", "Load to 1 | ", "Load to 2 | ", "Add to playlist Added", "
", "", "html", "Nothing found! Please try again!", "Youtube error! Please try again later!
(Try to choose a ready playList)", "#RelatedId", "https://www.googleapis.com/youtube/v3/playlistItems?part=snippet&maxResults=10&pageToken=", "&playlistId=RD", "&key=", "#nextButtonRelated", "#prevButtonRelated", "resourceId", "Youtube error! Please try again later!", "#sQueryPL", "#resultsPL", "&type=playlist&maxResults=10&key=", "playlistId", "
", "
", "previous", "#resultsPLprevious", "')'>next", "#resultsPLnext", "Nothing found. Try something else...", "We can not find related songs!May be its a server error!!!", "https://www.googleapis.com/youtube/v3/playlistItems?part=snippet&maxResults=50&playlistId=", " videos added to playlist!", "#playList #", "#addToPlaylistLink-", "#addedToPlaylist-", "remove", "400", "close", "dialog", "loadVideoById", "#confirmCue1", "#confirmCue2", "'", ":last-child", "
  • ", "
    load to 1 | load to 2 | remove
  • ", "append", "prev", "playVideo", "z-index", "9991", "9990", "#speed", "100", "chekingVideoEnd2()", "option", "slide", "chekingVideoEnd1()", "#startAutoplay", "#shuffle", "#stopAutoplay", "#FSlink", "first", "#playList li", "nowPlaying", "addClass", "#arm-", "stopVideo", "fadeOut", "#fto1", "#fto2", "next", "played", "removeClass", "nextPlaying", ":checked", "#checkAG", "noClose", "fadeInOut()", "#infoNoNext", "getDuration", "getCurrentTime", "li.nextPlaying", "nowPlaying played nextPlaying", "played nextPlaying", "fadeIn", ".ui-button-text", ".played", ".arm", "hideIt", ".search_item .loadTo1Link", ".search_item .loadTo2Link", ".plitem .acv1", ".plitem .acv2", "https://www.googleapis.com/youtube/v3/playlistItems?part=snippet&maxResults=20&playlistId=RD", "https://www.googleapis.com/youtube/v3/search?relatedToVideoId=", "&part=snippet&type=video&maxResults=10&key=", "each", "http://youmix.org/#", "href", "https://www.facebook.com/sharer/sharer.php?u=", "#shareFB", "#shareLink", "450", "#save", "FSnoscroll", "body", "documentElement", "FSmodeVideo", "#FS", "#FSexit", "#FSback", "#loadYTplaylistDiv", "#contact", "rel", "div", "siblings", "#PLcontent .playListLinkC", "closest", ".", "#PLcontent .", "requestFullscreen", "mozRequestFullScreen", "webkitRequestFullscreen", "msRequestFullscreen", "exitFullscreen", "mozCancelFullScreen", "webkitExitFullscreen", "msExitFullscreen", "random", "floor", "splice", "browser", "dataBrowser", "searchString", "Other", "version", "userAgent", "searchVersion", "appVersion", "Unknown", "string", "versionSearchString", "subString", "identity", "rv:", "Trident", "Chrome", "MSIE", "Explorer", "Firefox", "Safari", "Opera", "init", "visibilitychange", "addEventListener", "beforeunload", "Close YouMix ?", "returnValue", "event", ]; googleApiClientReady = function () { apiKey1 = _0x8767[0]; apiKey2 = _0x8767[1]; apiKey = _0x8767[2]; gapi[_0x8767[6]][_0x8767[5]](_0x8767[3], _0x8767[4], function () {}); $(document)[_0x8767[17]](function () { var _0x2d9dx1 = document[_0x8767[8]](_0x8767[7]); _0x2d9dx1[_0x8767[9]] = _0x8767[10]; var _0x2d9dx2 = document[_0x8767[11]](_0x8767[7])[0]; _0x2d9dx2[_0x8767[13]][_0x8767[12]](_0x2d9dx1, _0x2d9dx2); $(_0x8767[16])[_0x8767[15]](_0x8767[14]); }); }; plStarted = _0x8767[18]; isFadingTo1 = _0x8767[18]; isFadingTo2 = _0x8767[18]; fromLoad1 = _0x8767[18]; fromLoad2 = _0x8767[18]; fromPLnext1 = _0x8767[18]; fromPLnext2 = _0x8767[18]; isFromNext = _0x8767[18]; isFromAG = _0x8767[18]; chViEn1 = _0x8767[18]; chViEn2 = _0x8767[18]; fn1 = _0x8767[18]; fn2 = _0x8767[18]; ff = _0x8767[18]; FSmode = _0x8767[18]; var ytp1; var ytp2; function onYouTubeIframeAPIReady() { ytp1 = new YT.Player(_0x8767[19], { events: { onReady: onPlayerReady1, onStateChange: onPlayerStateChange1, onError: onError1 } }); ytp2 = new YT.Player(_0x8767[20], { events: { onReady: onPlayerReady2, onStateChange: onPlayerStateChange2, onError: onError2 } }); } function onPlayerReady1(_0x2d9dx7) { if (ytp1[_0x8767[21]]()) { ytp1[_0x8767[22]](); } ytp1[_0x8767[26]](100 - $(_0x8767[25])[_0x8767[24]](_0x8767[23])); } function onPlayerStateChange1(_0x2d9dx7) { var _0x2d9dx9 = _0x2d9dx7[_0x8767[28]][_0x8767[27]](); if (fromLoad1 == _0x8767[29] && _0x2d9dx9 == _0x8767[29]) { _0x2d9dx7[_0x8767[28]][_0x8767[30]](); fromLoad1 = _0x8767[18]; } if (fromPLnext1 == _0x8767[29] && _0x2d9dx9 == _0x8767[29]) { _0x2d9dx7[_0x8767[28]][_0x8767[30]](); fromPLnext1 = _0x8767[18]; if (plStarted == _0x8767[29]) { $(_0x8767[32])[_0x8767[31]](); } } if (isFromNext == _0x8767[29] && _0x2d9dx9 == _0x8767[29]) { fadeToLeft(); } if (plStarted == _0x8767[29] && _0x2d9dx9 == _0x8767[33]) { } } function onError1(_0x2d9dx7) { console[_0x8767[35]](_0x8767[34]); if (plStarted == _0x8767[29]) { if ($(_0x8767[38])[_0x8767[37]]()[_0x8767[36]] > 1) { if ($(_0x8767[41])[_0x8767[40]](_0x8767[39])) { removeItem($(_0x8767[41])[_0x8767[43]](_0x8767[42])); stopAutoplay(); startAutoplay(); } else { removeItem($(_0x8767[44])[_0x8767[43]](_0x8767[42])); findNextFor1($(_0x8767[41])[_0x8767[43]](_0x8767[42])); } } else { removeItem($(_0x8767[41])[_0x8767[43]](_0x8767[42])); stopAutoplay(); } } } function onPlayerReady2(_0x2d9dx7) { if (ytp2[_0x8767[21]]()) { ytp2[_0x8767[22]](); } ytp2[_0x8767[26]]($(_0x8767[25])[_0x8767[24]](_0x8767[23])); } function onPlayerStateChange2(_0x2d9dx7) { var _0x2d9dx9 = _0x2d9dx7[_0x8767[28]][_0x8767[27]](); if (fromLoad2 == _0x8767[29] && _0x2d9dx9 == _0x8767[29]) { _0x2d9dx7[_0x8767[28]][_0x8767[30]](); fromLoad2 = _0x8767[18]; } if (fromPLnext2 == _0x8767[29] && _0x2d9dx9 == _0x8767[29]) { _0x2d9dx7[_0x8767[28]][_0x8767[30]](); fromPLnext2 = _0x8767[18]; if (plStarted == _0x8767[29]) { $(_0x8767[32])[_0x8767[31]](); } } if (isFromNext == _0x8767[29] && _0x2d9dx9 == _0x8767[29]) { fadeToRight(); } } function onError2(_0x2d9dx7) { if (plStarted == _0x8767[29]) { if ($(_0x8767[38])[_0x8767[37]]()[_0x8767[36]] > 1) { removeItem($(_0x8767[44])[_0x8767[43]](_0x8767[42])); findNextFor2($(_0x8767[41])[_0x8767[43]](_0x8767[42])); } else { removeItem($(_0x8767[41])[_0x8767[43]](_0x8767[42])); stopAutoplay(); } } } $(document)[_0x8767[17]](function () { $(_0x8767[55])[_0x8767[59]]({ source: function (_0x2d9dxe, _0x2d9dxf) { var _0x2d9dx10 = _0x2d9dxe[_0x8767[45]]; $[_0x8767[50]]({ url: _0x8767[46] + _0x2d9dx10 + _0x8767[47], dataType: _0x8767[48], success: function (_0x2d9dx11, _0x2d9dx12, _0x2d9dxe) { _0x2d9dxf( $[_0x8767[49]](_0x2d9dx11[1], function (_0x2d9dx13) { return { label: _0x2d9dx13[0], value: _0x2d9dx13[0] }; }) ); }, }); }, select: function (_0x2d9dx7, _0x2d9dx14) { _0x2d9dx7[_0x8767[51]](); var _0x2d9dx15 = _0x2d9dx14[_0x8767[53]][_0x8767[52]]; $(_0x8767[55])[_0x8767[54]](_0x2d9dx15); $(_0x8767[58])[_0x8767[57]](_0x8767[56]); }, }); $(_0x8767[62])[_0x8767[61]](_0x8767[60], function (_0x2d9dx16) { _0x2d9dx16[_0x8767[51]](); doSearch(); }); $(_0x8767[25])[_0x8767[24]]({ value: 0, min: 0, max: 100, slide: function (_0x2d9dx7, _0x2d9dx14) { crossFade(_0x2d9dx14[_0x8767[23]]); var _0x2d9dx17 = _0x2d9dx14[_0x8767[23]]; var _0x2d9dx18 = 1 - _0x2d9dx17 / 100; if (FSmode == _0x8767[29]) { $(_0x8767[66])[_0x8767[65]](_0x8767[63], _0x8767[64] + _0x2d9dx18 + _0x8767[64]); $(_0x8767[67])[_0x8767[65]](_0x8767[63], _0x8767[64] + _0x2d9dx17 / 100 + _0x8767[64]); } else { $(_0x8767[71])[_0x8767[65]](_0x8767[68], _0x8767[69] + _0x2d9dx18 + _0x8767[70]); $(_0x8767[73])[_0x8767[65]](_0x8767[68], _0x8767[72] + _0x2d9dx17 / 100 + _0x8767[70]); $(_0x8767[78])[_0x8767[65]](_0x8767[74], _0x8767[75] + _0x2d9dx18 + _0x8767[76] + _0x2d9dx17 / 100 + _0x8767[77]); } }, }); $(_0x8767[38])[_0x8767[81]]({ items: _0x8767[79], cancel: _0x8767[80] }); $(_0x8767[38])[_0x8767[82]](); window[_0x8767[83]] = function () { window[_0x8767[85]][_0x8767[84]](); }; $(_0x8767[88])[_0x8767[87]](new Date()[_0x8767[86]]()); }); $(window)[_0x8767[61]](_0x8767[5], function (_0x2d9dx16) { var _0x2d9dx19 = location[_0x8767[91]][_0x8767[90]](_0x8767[89]); if (_0x2d9dx19[_0x8767[36]] > 1) { var _0x2d9dx1a = _0x2d9dx19[1][_0x8767[90]](_0x8767[92]); var _0x2d9dx1b = new Array(); for (var _0x2d9dx1c = 0; _0x2d9dx1c < _0x2d9dx1a[_0x8767[36]]; _0x2d9dx1c = _0x2d9dx1c + 50) { _0x2d9dx1b[_0x8767[94]](_0x2d9dx1a[_0x8767[93]](_0x2d9dx1c, _0x2d9dx1c + 50)); } for (var _0x2d9dx1c = 0; _0x2d9dx1c < _0x2d9dx1b[_0x8767[36]]; _0x2d9dx1c++) { setTimeout(findVideosURL, _0x2d9dx1c * 1000, _0x2d9dx1b[_0x2d9dx1c]); } } }); function findVideosURL(_0x2d9dx1e) { $(_0x8767[95])[_0x8767[31]](); ids = _0x2d9dx1e.toString(); $[_0x8767[50]]({ url: _0x8767[96] + ids + _0x8767[97] + apiKey + _0x8767[64], dataType: _0x8767[48], success: function (_0x2d9dx1f) { if (!_0x2d9dx1f[_0x8767[98]]) { if (_0x2d9dx1f[_0x8767[99]][_0x8767[36]] == 0) { $(_0x8767[95])[_0x8767[15]](_0x8767[14]); } for (var _0x2d9dx1c = 0; _0x2d9dx1c < _0x2d9dx1f[_0x8767[99]][_0x8767[36]]; _0x2d9dx1c++) { var _0x2d9dx20 = _0x2d9dx1f[_0x8767[99]][_0x2d9dx1c][_0x8767[42]]; var _0x2d9dx21 = _0x2d9dx1f[_0x8767[99]][_0x2d9dx1c][_0x8767[101]][_0x8767[100]]; addToPlaylist(escape(_0x2d9dx21), _0x2d9dx20); $(_0x8767[95])[_0x8767[15]](_0x8767[14]); } } else { $(_0x8767[95])[_0x8767[15]](_0x8767[14]); var _0x2d9dx22 = _0x2d9dx1e[_0x8767[36]]; for (var _0x2d9dx1c = 0; _0x2d9dx1c < _0x2d9dx22; _0x2d9dx1c++) { let _0x2d9dx20 = _0x2d9dx1e[_0x2d9dx1c]; var _0x2d9dx19 = _0x8767[102] + _0x2d9dx20; $[_0x8767[50]]({ url: _0x8767[103] + _0x2d9dx19 + _0x8767[64], dataType: _0x8767[48], success: function (_0x2d9dx11) { if (!_0x2d9dx11[_0x8767[98]]) { var _0x2d9dx23 = _0x2d9dx11[_0x8767[100]]; var _0x2d9dx24 = _0x8767[104]; var _0x2d9dx25 = _0x2d9dx11[_0x8767[105]]; addToPlaylist(escape(_0x2d9dx23), _0x2d9dx20); } else { } }, error: function (_0x2d9dx26, _0x2d9dx12, _0x2d9dx27) { alert(_0x2d9dx12, +_0x8767[106] + _0x2d9dx27); }, }); } } }, error: function (_0x2d9dx26, _0x2d9dx12, _0x2d9dx27) { alert(_0x2d9dx12, +_0x8767[106] + _0x2d9dx27); }, }); } function convertDuration(_0x2d9dx29) { var _0x2d9dx2a = _0x2d9dx29; t = _0x2d9dx2a[_0x8767[108]](_0x8767[107], _0x8767[64]); h = t[_0x8767[90]](_0x8767[109]); if (h[_0x8767[36]] > 1) { timeh = h[0]; } else { timeh = _0x8767[110]; } m = t[_0x8767[90]](_0x8767[111]); if (m[_0x8767[36]] > 1) { if (m[0][_0x8767[112]](_0x8767[109]) > -1) { timem = m[0][_0x8767[113]](m[0][_0x8767[112]](_0x8767[109]) + 1); } else { timem = m[0]; } } else { timem = _0x8767[114]; } s = t[_0x8767[90]](_0x8767[115]); if (s[_0x8767[36]] > 1) { if (s[0][_0x8767[112]](_0x8767[111]) > -1) { times = s[0][_0x8767[113]](s[0][_0x8767[112]](_0x8767[111]) + 1); } else { times = s[0][_0x8767[113]](s[0][_0x8767[112]](_0x8767[109]) + 1); } } else { times = _0x8767[114]; } if (timem[_0x8767[36]] < 2 && timeh !== _0x8767[110]) { timem = _0x8767[18] + timem; } if (times[_0x8767[36]] < 2) { times = _0x8767[18] + times; } if (timeh == _0x8767[110]) { time = timem + _0x8767[116] + times; } else { time = timeh + _0x8767[116] + timem + _0x8767[116] + times; } return time; } var playlistId, nextPageToken, prevPageToken; function doSearch(_0x2d9dx2f) { var _0x2d9dx30 = $(_0x8767[55])[_0x8767[54]](); $(_0x8767[118])[_0x8767[117]](); $(_0x8767[119])[_0x8767[117]](); $(_0x8767[120])[_0x8767[15]](); $(_0x8767[121])[_0x8767[15]](); $(_0x8767[122])[_0x8767[31]](); if (_0x2d9dx2f) { pt = _0x2d9dx2f; } else { pt = _0x8767[64]; } var _0x2d9dx31 = _0x8767[64]; var _0x2d9dx32 = _0x8767[64]; var _0x2d9dx33 = []; $[_0x8767[50]]({ url: _0x8767[123] + _0x2d9dx30 + _0x8767[124] + apiKey + _0x8767[125] + pt + _0x8767[64], dataType: _0x8767[48], success: function (_0x2d9dx11) { if (!_0x2d9dx11[_0x8767[98]]) { if (_0x2d9dx11[_0x8767[127]][_0x8767[126]] > 0) { nextPageToken = _0x2d9dx11[_0x8767[128]]; var _0x2d9dx34 = nextPageToken ? _0x8767[129] : _0x8767[130]; $(_0x8767[132])[_0x8767[65]](_0x8767[131], _0x2d9dx34); prevPageToken = _0x2d9dx11[_0x8767[133]]; var _0x2d9dx35 = prevPageToken ? _0x8767[129] : _0x8767[130]; $(_0x8767[134])[_0x8767[65]](_0x8767[131], _0x2d9dx35); for (var _0x2d9dx36 = 0; _0x2d9dx36 < _0x2d9dx11[_0x8767[99]][_0x8767[36]]; _0x2d9dx36++) { _0x2d9dx32 += _0x8767[64] + _0x2d9dx11[_0x8767[99]][_0x2d9dx36][_0x8767[42]][_0x8767[135]] + _0x8767[136]; } $[_0x8767[50]]({ url: _0x8767[137] + _0x2d9dx32 + _0x8767[138] + apiKey + _0x8767[64], dataType: _0x8767[48], success: function (_0x2d9dx37) { for (var _0x2d9dx1c = 0; _0x2d9dx1c < _0x2d9dx11[_0x8767[99]][_0x8767[36]]; _0x2d9dx1c++) { var _0x2d9dx20 = _0x2d9dx11[_0x8767[99]][_0x2d9dx1c][_0x8767[42]][_0x8767[135]]; var _0x2d9dx21 = _0x2d9dx11[_0x8767[99]][_0x2d9dx1c][_0x8767[101]][_0x8767[100]]; var _0x2d9dx25 = _0x2d9dx11[_0x8767[99]][_0x2d9dx1c][_0x8767[101]][_0x8767[141]][_0x8767[140]][_0x8767[139]]; var _0x2d9dx38 = _0x2d9dx37[_0x8767[99]][_0x2d9dx1c][_0x8767[143]][_0x8767[142]]; _0x2d9dx33[_0x8767[94]](_0x2d9dx20); var _0x2d9dx24 = convertDuration(_0x2d9dx38); _0x2d9dx31 += _0x8767[144] + _0x2d9dx20 + _0x8767[145]; _0x2d9dx31 += _0x8767[146]; _0x2d9dx31 += _0x8767[147]; _0x2d9dx31 += _0x8767[148]; _0x2d9dx31 += _0x8767[149] + _0x2d9dx25 + _0x8767[150]; _0x2d9dx31 += _0x8767[151]; _0x2d9dx31 += _0x8767[152]; _0x2d9dx31 += _0x8767[153] + _0x2d9dx20 + _0x8767[154] + _0x2d9dx21 + _0x8767[155]; _0x2d9dx31 += _0x8767[156] + _0x2d9dx24 + _0x8767[157]; _0x2d9dx31 += _0x8767[158] + _0x2d9dx20 + _0x8767[159]; _0x2d9dx31 += _0x8767[160] + _0x2d9dx20 + _0x8767[161]; _0x2d9dx31 += _0x8767[162] + _0x2d9dx20 + _0x8767[163] + escape(_0x2d9dx21) + _0x8767[164] + _0x2d9dx20 + _0x8767[165] + _0x2d9dx20 + _0x8767[166] + _0x2d9dx20 + _0x8767[167]; _0x2d9dx31 += _0x8767[151]; _0x2d9dx31 += _0x8767[168]; _0x2d9dx31 += _0x8767[169]; _0x2d9dx31 += _0x8767[170]; $(_0x8767[118])[_0x8767[171]](_0x2d9dx31); } addedToPlaylist(_0x2d9dx33); if (plStarted == _0x8767[29]) { isAutoONforSearch(); } $(_0x8767[122])[_0x8767[15]](); $(_0x8767[120])[_0x8767[31]](); }, error: function (_0x2d9dx26, _0x2d9dx12, _0x2d9dx27) { alert(_0x2d9dx12, +_0x8767[106] + _0x2d9dx27); }, }); } else { $(_0x8767[122])[_0x8767[15]](_0x8767[14]); $(_0x8767[119])[_0x8767[171]](_0x8767[172]); } } else { $(_0x8767[120])[_0x8767[15]](); $(_0x8767[122])[_0x8767[15]](_0x8767[14]); $(_0x8767[119])[_0x8767[171]](_0x8767[173]); } }, error: function (_0x2d9dx26, _0x2d9dx12, _0x2d9dx27) { alert(_0x2d9dx12, +_0x8767[106] + _0x2d9dx27); }, }); } function doSearchRelated(_0x2d9dx3a, _0x2d9dx2f) { var _0x2d9dx30 = _0x2d9dx3a; $(_0x8767[174])[_0x8767[171]](_0x2d9dx3a); $(_0x8767[118])[_0x8767[117]](); $(_0x8767[119])[_0x8767[117]](); $(_0x8767[120])[_0x8767[15]](); $(_0x8767[121])[_0x8767[15]](); $(_0x8767[122])[_0x8767[31]](); if (_0x2d9dx2f) { pt = _0x2d9dx2f; } else { pt = _0x8767[64]; } var _0x2d9dx31 = _0x8767[64]; var _0x2d9dx32 = _0x8767[64]; var _0x2d9dx33 = []; $[_0x8767[50]]({ url: _0x8767[175] + pt + _0x8767[176] + _0x2d9dx30 + _0x8767[177] + apiKey + _0x8767[64], dataType: _0x8767[48], success: function (_0x2d9dx11) { if (!_0x2d9dx11[_0x8767[98]]) { if (_0x2d9dx11[_0x8767[127]][_0x8767[126]] > 0) { nextPageToken = _0x2d9dx11[_0x8767[128]]; var _0x2d9dx34 = nextPageToken ? _0x8767[129] : _0x8767[130]; $(_0x8767[178])[_0x8767[65]](_0x8767[131], _0x2d9dx34); prevPageToken = _0x2d9dx11[_0x8767[133]]; var _0x2d9dx35 = prevPageToken ? _0x8767[129] : _0x8767[130]; $(_0x8767[179])[_0x8767[65]](_0x8767[131], _0x2d9dx35); for (var _0x2d9dx36 = 0; _0x2d9dx36 < _0x2d9dx11[_0x8767[99]][_0x8767[36]]; _0x2d9dx36++) { _0x2d9dx32 += _0x8767[64] + _0x2d9dx11[_0x8767[99]][_0x2d9dx36][_0x8767[101]][_0x8767[180]][_0x8767[135]] + _0x8767[136]; } $[_0x8767[50]]({ url: _0x8767[137] + _0x2d9dx32 + _0x8767[138] + apiKey + _0x8767[64], dataType: _0x8767[48], success: function (_0x2d9dx37) { for (var _0x2d9dx1c = 0; _0x2d9dx1c < _0x2d9dx37[_0x8767[99]][_0x8767[36]]; _0x2d9dx1c++) { var _0x2d9dx20 = _0x2d9dx11[_0x8767[99]][_0x2d9dx1c][_0x8767[101]][_0x8767[180]][_0x8767[135]]; var _0x2d9dx21 = _0x2d9dx11[_0x8767[99]][_0x2d9dx1c][_0x8767[101]][_0x8767[100]]; if (_0x2d9dx21 == _0x8767[64]) { } else { var _0x2d9dx25 = _0x2d9dx11[_0x8767[99]][_0x2d9dx1c][_0x8767[101]][_0x8767[141]][_0x8767[140]][_0x8767[139]]; var _0x2d9dx38 = _0x2d9dx37[_0x8767[99]][_0x2d9dx1c][_0x8767[143]][_0x8767[142]]; _0x2d9dx33[_0x8767[94]](_0x2d9dx20); var _0x2d9dx24 = convertDuration(_0x2d9dx38); _0x2d9dx31 += _0x8767[144] + _0x2d9dx20 + _0x8767[145]; _0x2d9dx31 += _0x8767[146]; _0x2d9dx31 += _0x8767[147]; _0x2d9dx31 += _0x8767[148]; _0x2d9dx31 += _0x8767[149] + _0x2d9dx25 + _0x8767[150]; _0x2d9dx31 += _0x8767[151]; _0x2d9dx31 += _0x8767[152]; _0x2d9dx31 += _0x8767[153] + _0x2d9dx20 + _0x8767[154] + _0x2d9dx21 + _0x8767[155]; _0x2d9dx31 += _0x8767[156] + _0x2d9dx24 + _0x8767[157]; _0x2d9dx31 += _0x8767[158] + _0x2d9dx20 + _0x8767[159]; _0x2d9dx31 += _0x8767[160] + _0x2d9dx20 + _0x8767[161]; _0x2d9dx31 += _0x8767[162] + _0x2d9dx20 + _0x8767[163] + escape(_0x2d9dx21) + _0x8767[164] + _0x2d9dx20 + _0x8767[165] + _0x2d9dx20 + _0x8767[166] + _0x2d9dx20 + _0x8767[167]; _0x2d9dx31 += _0x8767[151]; _0x2d9dx31 += _0x8767[168]; _0x2d9dx31 += _0x8767[169]; _0x2d9dx31 += _0x8767[170]; $(_0x8767[118])[_0x8767[171]](_0x2d9dx31); } addedToPlaylist(_0x2d9dx33); if (plStarted == _0x8767[29]) { isAutoONforSearch(); } $(_0x8767[122])[_0x8767[15]](_0x8767[14]); $(_0x8767[121])[_0x8767[31]](); } }, error: function (_0x2d9dx26, _0x2d9dx12, _0x2d9dx27) { alert(_0x2d9dx12, +_0x8767[106] + _0x2d9dx27); }, }); } else { $(_0x8767[122])[_0x8767[15]](_0x8767[14]); $(_0x8767[119])[_0x8767[171]](_0x8767[172]); } } else { $(_0x8767[121])[_0x8767[15]](); $(_0x8767[122])[_0x8767[15]](_0x8767[14]); $(_0x8767[119])[_0x8767[171]](_0x8767[181]); } }, error: function (_0x2d9dx26, _0x2d9dx12, _0x2d9dx27) { alert(_0x2d9dx12, +_0x8767[106] + _0x2d9dx27); }, }); } function nextPage() { doSearch(nextPageToken); } function previousPage() { doSearch(prevPageToken); } function nextPageRelated() { var _0x2d9dx3e = $(_0x8767[174])[_0x8767[171]](); doSearchRelated(_0x2d9dx3e, nextPageToken); } function previousPageRelated() { var _0x2d9dx40 = $(_0x8767[174])[_0x8767[171]](); doSearchRelated(_0x2d9dx40, prevPageToken); } function doSearchPL(_0x2d9dx42) { var _0x2d9dx43 = $(_0x8767[182])[_0x8767[54]](); $(_0x8767[183])[_0x8767[117]](); if (_0x2d9dx42) { ptt = _0x2d9dx42; } else { ptt = _0x8767[64]; } $[_0x8767[50]]({ url: _0x8767[123] + _0x2d9dx43 + _0x8767[184] + apiKey + _0x8767[125] + ptt + _0x8767[64], dataType: _0x8767[48], success: function (_0x2d9dx44) { if (!_0x2d9dx44[_0x8767[98]]) { if (_0x2d9dx44[_0x8767[127]][_0x8767[126]] > 0) { var _0x2d9dx45 = _0x8767[64]; for (i = 0; i < _0x2d9dx44[_0x8767[99]][_0x8767[36]]; i++) { var _0x2d9dx46 = _0x2d9dx44[_0x8767[99]][i][_0x8767[101]][_0x8767[100]]; var _0x2d9dx47 = _0x2d9dx44[_0x8767[99]][i][_0x8767[42]][_0x8767[185]]; _0x2d9dx45 += _0x8767[186] + _0x2d9dx47 + _0x8767[187] + _0x2d9dx46 + _0x8767[188]; } $(_0x8767[183])[_0x8767[171]](_0x2d9dx45); if (_0x2d9dx44[_0x8767[133]]) { var _0x2d9dx29 = _0x8767[189] + _0x2d9dx44[_0x8767[133]] + _0x8767[190]; $(_0x8767[191])[_0x8767[171]](_0x2d9dx29); } else { $(_0x8767[191])[_0x8767[171]](_0x8767[64]); } if (_0x2d9dx44[_0x8767[128]]) { var _0x2d9dx9 = _0x8767[189] + _0x2d9dx44[_0x8767[128]] + _0x8767[192]; $(_0x8767[193])[_0x8767[171]](_0x2d9dx9); } else { $(_0x8767[193])[_0x8767[171]](_0x8767[64]); } } else { $(_0x8767[183])[_0x8767[171]](_0x8767[194]); $(_0x8767[191])[_0x8767[171]](_0x8767[64]); $(_0x8767[193])[_0x8767[171]](_0x8767[64]); } } else { $(_0x8767[183])[_0x8767[171]](_0x8767[181]); } }, error: function () { alert(_0x8767[195]); }, }); } function addPLvideos(_0x2d9dx49, _0x2d9dx4a) { $(_0x8767[191])[_0x8767[171]](_0x8767[64]); $(_0x8767[193])[_0x8767[171]](_0x8767[64]); if (!_0x2d9dx4a) { _0x2d9dx4a = _0x8767[64]; } $[_0x8767[50]]({ url: _0x8767[196] + _0x2d9dx49 + _0x8767[125] + _0x2d9dx4a + _0x8767[177] + apiKey + _0x8767[64], dataType: _0x8767[48], success: function (_0x2d9dx1f) { if (!_0x2d9dx1f[_0x8767[98]]) { for (var _0x2d9dx1c = 0; _0x2d9dx1c < _0x2d9dx1f[_0x8767[99]][_0x8767[36]]; _0x2d9dx1c++) { var _0x2d9dx20 = _0x2d9dx1f[_0x8767[99]][_0x2d9dx1c][_0x8767[101]][_0x8767[180]][_0x8767[135]]; var _0x2d9dx21 = _0x2d9dx1f[_0x8767[99]][_0x2d9dx1c][_0x8767[101]][_0x8767[100]]; addToPlaylist(escape(_0x2d9dx21), _0x2d9dx20); } if (_0x2d9dx1f[_0x8767[128]]) { addPLvideos(_0x2d9dx49, _0x2d9dx1f[_0x8767[128]]); } var _0x2d9dx4b = _0x2d9dx1f[_0x8767[127]][_0x8767[126]]; $(_0x8767[183])[_0x8767[171]](_0x8767[64] + _0x2d9dx4b + _0x8767[197]); } else { $(_0x8767[183])[_0x8767[171]](_0x8767[181]); } }, error: function (_0x2d9dx26, _0x2d9dx12, _0x2d9dx27) { alert(_0x2d9dx12, +_0x8767[106] + _0x2d9dx27); }, }); } function addedToPlaylist(_0x2d9dx20) { for (i = 0; i < _0x2d9dx20[_0x8767[36]]; i++) { if ($(_0x8767[198] + _0x2d9dx20[i] + _0x8767[64])[_0x8767[36]]) { $(_0x8767[199] + _0x2d9dx20[i] + _0x8767[64])[_0x8767[15]](); $(_0x8767[200] + _0x2d9dx20[i] + _0x8767[64])[_0x8767[31]](); } } if ($(_0x8767[38])[_0x8767[37]]()[_0x8767[36]] > 0) { } } function showRelated() {} function removeItem(_0x2d9dx20) { $(_0x8767[89] + _0x2d9dx20 + _0x8767[64])[_0x8767[201]](); $(_0x8767[199] + _0x2d9dx20 + _0x8767[64])[_0x8767[31]](); $(_0x8767[200] + _0x2d9dx20 + _0x8767[64])[_0x8767[15]](); } function cueVideoTo1(_0x2d9dx20) { fromLoad1 = _0x8767[29]; var _0x2d9dx50 = ytp1[_0x8767[27]](); var _0x2d9dx51 = $(_0x8767[25])[_0x8767[24]](_0x8767[23]); if (_0x2d9dx50 == _0x8767[29] && _0x2d9dx51 <= 50) { $(_0x8767[206])[_0x8767[204]]({ width: _0x8767[202], modal: true, resizable: false, buttons: { Yes: function () { $(this)[_0x8767[204]](_0x8767[203]); ytp1[_0x8767[205]](_0x8767[64] + _0x2d9dx20 + _0x8767[64]); }, Cancel: function () { $(this)[_0x8767[204]](_0x8767[203]); }, }, }); } else { ytp1[_0x8767[205]](_0x8767[64] + _0x2d9dx20 + _0x8767[64]); } } function cueVideoTo2(_0x2d9dx20) { fromLoad2 = _0x8767[29]; var _0x2d9dx53 = ytp2[_0x8767[27]](); var _0x2d9dx54 = $(_0x8767[25])[_0x8767[24]](_0x8767[23]); if (_0x2d9dx53 == _0x8767[29] && _0x2d9dx54 >= 50) { $(_0x8767[207])[_0x8767[204]]({ width: _0x8767[202], modal: true, resizable: false, buttons: { Yes: function () { $(this)[_0x8767[204]](_0x8767[203]); ytp2[_0x8767[205]](_0x8767[64] + _0x2d9dx20 + _0x8767[64]); }, Cancel: function () { $(this)[_0x8767[204]](_0x8767[203]); }, }, }); } else { ytp2[_0x8767[205]](_0x8767[64] + _0x2d9dx20 + _0x8767[64]); } } function addToPlaylist(_0x2d9dx56, _0x2d9dx20) { var _0x2d9dx23 = unescape(_0x2d9dx56); var _0x2d9dx1 = _0x8767[208]; if ($(_0x8767[89] + _0x2d9dx20 + _0x8767[64])[_0x8767[36]]) { } else { if (plStarted == _0x8767[29] && $(_0x8767[41])[_0x8767[40]](_0x8767[209])) { $(_0x8767[38])[_0x8767[219]]( _0x8767[210] + _0x2d9dx20 + _0x8767[211] + _0x2d9dx23 + _0x8767[212] + _0x2d9dx20 + _0x8767[213] + _0x2d9dx1 + _0x8767[64] + _0x2d9dx20 + _0x8767[64] + _0x2d9dx1 + _0x8767[214] + _0x2d9dx20 + _0x8767[215] + _0x2d9dx1 + _0x8767[64] + _0x2d9dx20 + _0x8767[64] + _0x2d9dx1 + _0x8767[216] + _0x2d9dx20 + _0x8767[217] + _0x2d9dx1 + _0x8767[64] + _0x2d9dx20 + _0x8767[64] + _0x2d9dx1 + _0x8767[218] ); $(_0x8767[199] + _0x2d9dx20 + _0x8767[64])[_0x8767[15]](); $(_0x8767[200] + _0x2d9dx20 + _0x8767[64])[_0x8767[31]](); if (isFadingTo1 == _0x8767[29] || $(_0x8767[25])[_0x8767[24]](_0x8767[23]) < 50) { if (isFromAG == _0x8767[29]) { var _0x2d9dx42 = $(_0x8767[41])[_0x8767[43]](_0x8767[42]); } else { var _0x2d9dx42 = $(_0x8767[89] + _0x2d9dx20 + _0x8767[64]) [_0x8767[220]]() [_0x8767[43]](_0x8767[42]); } clearInterval(chViEn2); findNextFor2(_0x2d9dx42); } if (isFadingTo2 == _0x8767[29] || $(_0x8767[25])[_0x8767[24]](_0x8767[23]) > 50) { if (isFromAG == _0x8767[29]) { var _0x2d9dx42 = $(_0x8767[41])[_0x8767[43]](_0x8767[42]); } else { var _0x2d9dx42 = $(_0x8767[89] + _0x2d9dx20 + _0x8767[64]) [_0x8767[220]]() [_0x8767[43]](_0x8767[42]); } clearInterval(chViEn1); findNextFor1(_0x2d9dx42); } } else { $(_0x8767[38])[_0x8767[219]]( _0x8767[210] + _0x2d9dx20 + _0x8767[211] + _0x2d9dx23 + _0x8767[212] + _0x2d9dx20 + _0x8767[213] + _0x2d9dx1 + _0x8767[64] + _0x2d9dx20 + _0x8767[64] + _0x2d9dx1 + _0x8767[214] + _0x2d9dx20 + _0x8767[215] + _0x2d9dx1 + _0x8767[64] + _0x2d9dx20 + _0x8767[64] + _0x2d9dx1 + _0x8767[216] + _0x2d9dx20 + _0x8767[217] + _0x2d9dx1 + _0x8767[64] + _0x2d9dx20 + _0x8767[64] + _0x2d9dx1 + _0x8767[218] ); $(_0x8767[199] + _0x2d9dx20 + _0x8767[64])[_0x8767[15]](); $(_0x8767[200] + _0x2d9dx20 + _0x8767[64])[_0x8767[31]](); if (plStarted == _0x8767[29] && !$(_0x8767[44])[_0x8767[36]] && $(_0x8767[41])[_0x8767[40]](_0x8767[209])) { if (isFadingTo1 == _0x8767[29] || $(_0x8767[25])[_0x8767[24]](_0x8767[23]) < 50) { if (isFromAG == _0x8767[29]) { var _0x2d9dx42 = $(_0x8767[41])[_0x8767[43]](_0x8767[42]); } else { var _0x2d9dx42 = $(_0x8767[89] + _0x2d9dx20 + _0x8767[64]) [_0x8767[220]]() [_0x8767[43]](_0x8767[42]); } clearInterval(chViEn2); findNextFor2(_0x2d9dx42); } if (isFadingTo2 == _0x8767[29] || $(_0x8767[25])[_0x8767[24]](_0x8767[23]) > 50) { if (isFromAG == _0x8767[29]) { var _0x2d9dx42 = $(_0x8767[41])[_0x8767[43]](_0x8767[42]); } else { var _0x2d9dx42 = $(_0x8767[89] + _0x2d9dx20 + _0x8767[64]) [_0x8767[220]]() [_0x8767[43]](_0x8767[42]); } clearInterval(chViEn1); findNextFor1(_0x2d9dx42); } } } if (plStarted == _0x8767[29]) { isAutoON(); } } } function crossFade(_0x2d9dx58) { var _0x2d9dx59 = 100 - _0x2d9dx58; var _0x2d9dx5a = _0x2d9dx58; if (ytp1[_0x8767[21]]()) { ytp1[_0x8767[22]](); } if (ytp2[_0x8767[21]]()) { ytp2[_0x8767[22]](); } ytp1[_0x8767[26]](_0x2d9dx59); ytp2[_0x8767[26]](_0x2d9dx5a); } var fadeRightIntv = 0; var fadeLeftIntv = 0; function fadeToRight() { if (isFadingTo2 == _0x8767[29]) { } else { if (ytp2[_0x8767[27]]() == _0x8767[33]) { } else { clearInterval(fadeLeftIntv); isFadingTo1 = _0x8767[18]; if (ytp2[_0x8767[21]]()) { ytp2[_0x8767[22]](); } ytp2[_0x8767[221]](); $(_0x8767[67])[_0x8767[65]](_0x8767[222], _0x8767[223]); $(_0x8767[66])[_0x8767[65]](_0x8767[222], _0x8767[224]); var _0x2d9dx31 = parseInt($(_0x8767[225])[_0x8767[87]]()); var _0x2d9dx5e = _0x2d9dx31 * 10; $(_0x8767[32])[_0x8767[15]](); fadeRightIntv = setInterval(function () { fadeTo2(); }, _0x2d9dx5e); } } } function fadeTo2() { if ($(_0x8767[25])[_0x8767[24]](_0x8767[23]) == _0x8767[226]) { if (isFromNext == _0x8767[29] && plStarted == _0x8767[29]) { chViEn2 = setInterval(_0x8767[227], 1000); findNextFor1(nowPlayingID2); isFromNext = _0x8767[18]; } clearInterval(fadeRightIntv); isFadingTo2 = _0x8767[18]; } else { isFadingTo2 = _0x8767[29]; if (document[_0x8767[130]] && isIE == _0x8767[18]) { var _0x2d9dx60 = $(_0x8767[25])[_0x8767[24]](_0x8767[23]) + 1; } else { var _0x2d9dx60 = $(_0x8767[25])[_0x8767[24]](_0x8767[23]) + 1; } $(_0x8767[25])[_0x8767[24]](_0x8767[23], _0x2d9dx60); $slider = $(_0x8767[25]); $slider[_0x8767[24]](_0x8767[228], _0x8767[229])(null, { value: _0x2d9dx60 }); } } function fadeToLeft() { if (isFadingTo1 == _0x8767[29]) { } else { if (ytp1[_0x8767[27]]() == _0x8767[33]) { } else { clearInterval(fadeRightIntv); isFadingTo2 = _0x8767[18]; if (ytp1[_0x8767[21]]()) { ytp1[_0x8767[22]](); } ytp1[_0x8767[221]](); $(_0x8767[66])[_0x8767[65]](_0x8767[222], _0x8767[223]); $(_0x8767[67])[_0x8767[65]](_0x8767[222], _0x8767[224]); var _0x2d9dx31 = parseInt($(_0x8767[225])[_0x8767[87]]()); var _0x2d9dx5e = _0x2d9dx31 * 10; $(_0x8767[32])[_0x8767[15]](); fadeLeftIntv = setInterval(function () { fadeTo1(); }, _0x2d9dx5e); } } } function fadeTo1() { if ($(_0x8767[25])[_0x8767[24]](_0x8767[23]) == _0x8767[18]) { if (isFromNext == _0x8767[29] && plStarted == _0x8767[29]) { chViEn1 = setInterval(_0x8767[230], 1000); findNextFor2(nowPlayingID2); isFromNext = _0x8767[18]; } clearInterval(fadeLeftIntv); isFadingTo1 = _0x8767[18]; } else { isFadingTo1 = _0x8767[29]; if (document[_0x8767[130]] && isIE == _0x8767[18]) { var _0x2d9dx63 = $(_0x8767[25])[_0x8767[24]](_0x8767[23]) - 1; } else { var _0x2d9dx63 = $(_0x8767[25])[_0x8767[24]](_0x8767[23]) - 1; } $(_0x8767[25])[_0x8767[24]](_0x8767[23], _0x2d9dx63); $slider = $(_0x8767[25]); $slider[_0x8767[24]](_0x8767[228], _0x8767[229])(null, { value: _0x2d9dx63 }); } } deck1IsOnAir = _0x8767[18]; deck2IsOnAir = _0x8767[18]; ff1 = _0x8767[18]; ff2 = _0x8767[18]; function startAutoplay() { if ($(_0x8767[38])[_0x8767[37]]()[_0x8767[36]] > 0) { clearInterval(ff1); clearInterval(ff2); fromLoad1 = _0x8767[18]; fromLoad2 = _0x8767[18]; fromPLnext1 = _0x8767[18]; fromPLnext2 = _0x8767[18]; isFromNext = _0x8767[18]; deck1IsOnAir = _0x8767[18]; deck2IsOnAir = _0x8767[18]; plStarted = _0x8767[29]; $(_0x8767[231])[_0x8767[15]](); $(_0x8767[232])[_0x8767[15]](); $(_0x8767[233])[_0x8767[31]](); $(_0x8767[32])[_0x8767[31]](); $(_0x8767[234])[_0x8767[31]](); var _0x2d9dx20 = $(_0x8767[236])[_0x8767[235]]()[_0x8767[43]](_0x8767[42]); ytp1[_0x8767[205]](_0x8767[64] + _0x2d9dx20 + _0x8767[64]); fadeToLeft(); $(_0x8767[89] + _0x2d9dx20 + _0x8767[64])[_0x8767[238]](_0x8767[237]); $(_0x8767[239] + _0x2d9dx20 + _0x8767[64])[_0x8767[15]](); st = setTimeout(function () { ytp2[_0x8767[240]](); findNextFor2(_0x8767[64] + _0x2d9dx20 + _0x8767[64]); }, 11000); isAutoON(); isAutoONforSearch(); $(_0x8767[242])[_0x8767[241]](300); $(_0x8767[243])[_0x8767[241]](300); deck1IsOnAir = _0x8767[29]; chekingVideoEnd(); } } function findNextFor2(_0x2d9dx20) { if (!$(_0x8767[89] + _0x2d9dx20 + _0x8767[64])[_0x8767[40]](_0x8767[209])) { var _0x2d9dx66 = $(_0x8767[89] + _0x2d9dx20 + _0x8767[64]) [_0x8767[244]]() [_0x8767[43]](_0x8767[42]); fromPLnext2 = _0x8767[29]; ytp2[_0x8767[205]](_0x8767[64] + _0x2d9dx66 + _0x8767[64], 6); $(_0x8767[89] + _0x2d9dx66 + _0x8767[64])[_0x8767[246]](_0x8767[245]); $(_0x8767[89] + _0x2d9dx66 + _0x8767[64])[_0x8767[238]](_0x8767[247]); $(_0x8767[239] + _0x2d9dx66 + _0x8767[64])[_0x8767[15]](); clearInterval(ff1); clearInterval(ff2); } else { if ($(_0x8767[249])[_0x8767[40]](_0x8767[248])) { autoGenerate(_0x8767[64] + _0x2d9dx20 + _0x8767[64]); clearInterval(ff1); clearInterval(ff2); } else { $(_0x8767[32])[_0x8767[15]](); $(_0x8767[252])[_0x8767[204]]({ width: _0x8767[202], dialogClass: _0x8767[250], modal: true, resizable: false, buttons: { Ok: function () { $(this)[_0x8767[204]](_0x8767[203]); ff2 = setInterval(_0x8767[251], 1000); }, }, }); FSexit(); } } } function findNextFor1(_0x2d9dx20) { if (!$(_0x8767[89] + _0x2d9dx20 + _0x8767[64])[_0x8767[40]](_0x8767[209])) { var _0x2d9dx66 = $(_0x8767[89] + _0x2d9dx20 + _0x8767[64]) [_0x8767[244]]() [_0x8767[43]](_0x8767[42]); fromPLnext1 = _0x8767[29]; ytp1[_0x8767[205]](_0x8767[64] + _0x2d9dx66 + _0x8767[64], 6); $(_0x8767[89] + _0x2d9dx66 + _0x8767[64])[_0x8767[246]](_0x8767[245]); $(_0x8767[89] + _0x2d9dx66 + _0x8767[64])[_0x8767[238]](_0x8767[247]); $(_0x8767[239] + _0x2d9dx66 + _0x8767[64])[_0x8767[15]](); clearInterval(ff1); clearInterval(ff2); } else { if ($(_0x8767[249])[_0x8767[40]](_0x8767[248])) { autoGenerate(_0x8767[64] + _0x2d9dx20 + _0x8767[64]); clearInterval(ff1); clearInterval(ff2); } else { $(_0x8767[32])[_0x8767[15]](); $(_0x8767[252])[_0x8767[204]]({ width: _0x8767[202], dialogClass: _0x8767[250], modal: true, resizable: false, buttons: { Ok: function () { $(this)[_0x8767[204]](_0x8767[203]); ff1 = setInterval(_0x8767[251], 1000); }, }, }); FSexit(); } } } function chekingVideoEnd() { if (deck1IsOnAir == _0x8767[29]) { chViEn1 = setInterval(_0x8767[230], 1000); } if (deck2IsOnAir == _0x8767[29]) { chViEn2 = setInterval(_0x8767[227], 1000); } } function chekingVideoEnd1() { if (ytp1[_0x8767[27]]() == _0x8767[29]) { var _0x2d9dx3a = ytp1[_0x8767[253]](); var _0x2d9dx6a = ytp1[_0x8767[254]](); var _0x2d9dx31 = parseInt($(_0x8767[225])[_0x8767[87]]()); var _0x2d9dx6b = _0x2d9dx31 + 12; var _0x2d9dx6c = _0x2d9dx3a - _0x2d9dx6b; if (_0x2d9dx6a >= _0x2d9dx6c) { clearInterval(chViEn1); if ($(_0x8767[255])[_0x8767[36]]) { fadeToRight(); var _0x2d9dx3e = $(_0x8767[41])[_0x8767[43]](_0x8767[42]); $(_0x8767[89] + _0x2d9dx3e + _0x8767[64])[_0x8767[246]](_0x8767[237]); $(_0x8767[89] + _0x2d9dx3e + _0x8767[64])[_0x8767[238]](_0x8767[245]); $(_0x8767[239] + _0x2d9dx3e + _0x8767[64])[_0x8767[31]](); var _0x2d9dx6d = $(_0x8767[89] + _0x2d9dx3e + _0x8767[64]) [_0x8767[244]]() [_0x8767[43]](_0x8767[42]); $(_0x8767[89] + _0x2d9dx6d + _0x8767[64])[_0x8767[246]](_0x8767[247]); $(_0x8767[89] + _0x2d9dx6d + _0x8767[64])[_0x8767[238]](_0x8767[237]); fn1 = setTimeout(function () { findNextFor1(_0x2d9dx6d); }, 22000); deck1IsOnAir = _0x8767[18]; deck2IsOnAir = _0x8767[29]; chekingVideoEnd(); } else { stopAutoplay(); } } } } function chekingVideoEnd2() { if (ytp2[_0x8767[27]]() == _0x8767[29]) { var _0x2d9dx3a = ytp2[_0x8767[253]](); var _0x2d9dx6a = ytp2[_0x8767[254]](); var _0x2d9dx31 = parseInt($(_0x8767[225])[_0x8767[87]]()); var _0x2d9dx6b = _0x2d9dx31 + 12; var _0x2d9dx6c = _0x2d9dx3a - _0x2d9dx6b; if (_0x2d9dx6a >= _0x2d9dx6c) { clearInterval(chViEn2); if ($(_0x8767[255])[_0x8767[36]]) { fadeToLeft(); var _0x2d9dx3e = $(_0x8767[41])[_0x8767[43]](_0x8767[42]); $(_0x8767[89] + _0x2d9dx3e + _0x8767[64])[_0x8767[246]](_0x8767[237]); $(_0x8767[89] + _0x2d9dx3e + _0x8767[64])[_0x8767[238]](_0x8767[245]); $(_0x8767[239] + _0x2d9dx3e + _0x8767[64])[_0x8767[31]](); var _0x2d9dx6d = $(_0x8767[89] + _0x2d9dx3e + _0x8767[64]) [_0x8767[244]]() [_0x8767[43]](_0x8767[42]); $(_0x8767[89] + _0x2d9dx6d + _0x8767[64])[_0x8767[246]](_0x8767[247]); $(_0x8767[89] + _0x2d9dx6d + _0x8767[64])[_0x8767[238]](_0x8767[237]); fn2 = setTimeout(function () { findNextFor2(_0x2d9dx6d); }, 22000); deck1IsOnAir = _0x8767[29]; deck2IsOnAir = _0x8767[18]; chekingVideoEnd(); } else { stopAutoplay(); } } } } function startNext() { if ($(_0x8767[25])[_0x8767[24]](_0x8767[23]) < 50) { clearInterval(chViEn1); clearTimeout(st); clearTimeout(fn1); var _0x2d9dx70 = $(_0x8767[41])[_0x8767[43]](_0x8767[42]); if (!$(_0x8767[89] + _0x2d9dx70 + _0x8767[64])[_0x8767[40]](_0x8767[209])) { $(_0x8767[89] + _0x2d9dx70 + _0x8767[64])[_0x8767[246]](_0x8767[256]); $(_0x8767[89] + _0x2d9dx70 + _0x8767[64])[_0x8767[238]](_0x8767[245]); $(_0x8767[239] + _0x2d9dx70 + _0x8767[64])[_0x8767[31]](); var _0x2d9dx66 = $(_0x8767[89] + _0x2d9dx70 + _0x8767[64]) [_0x8767[244]]() [_0x8767[43]](_0x8767[42]); nowPlayingID2 = _0x2d9dx66; isFromNext = _0x8767[29]; if ($(_0x8767[44])[_0x8767[36]]) { ytp2[_0x8767[221]](); $(_0x8767[67])[_0x8767[65]](_0x8767[222], _0x8767[223]); $(_0x8767[66])[_0x8767[65]](_0x8767[222], _0x8767[224]); } else { ytp2[_0x8767[205]](_0x8767[64] + _0x2d9dx66 + _0x8767[64], 6); } $(_0x8767[32])[_0x8767[15]](); $(_0x8767[89] + _0x2d9dx66 + _0x8767[64])[_0x8767[246]](_0x8767[257]); $(_0x8767[89] + _0x2d9dx66 + _0x8767[64])[_0x8767[238]](_0x8767[237]); $(_0x8767[239] + _0x2d9dx66 + _0x8767[64])[_0x8767[15]](); clearInterval(ff1); clearInterval(ff2); } } if ($(_0x8767[25])[_0x8767[24]](_0x8767[23]) >= 50) { clearInterval(chViEn2); clearTimeout(st); clearTimeout(fn2); var _0x2d9dx70 = $(_0x8767[41])[_0x8767[43]](_0x8767[42]); if (!$(_0x8767[89] + _0x2d9dx70 + _0x8767[64])[_0x8767[40]](_0x8767[209])) { $(_0x8767[89] + _0x2d9dx70 + _0x8767[64])[_0x8767[246]](_0x8767[256]); $(_0x8767[89] + _0x2d9dx70 + _0x8767[64])[_0x8767[238]](_0x8767[245]); $(_0x8767[239] + _0x2d9dx70 + _0x8767[64])[_0x8767[31]](); var _0x2d9dx66 = $(_0x8767[89] + _0x2d9dx70 + _0x8767[64]) [_0x8767[244]]() [_0x8767[43]](_0x8767[42]); nowPlayingID2 = _0x2d9dx66; isFromNext = _0x8767[29]; if ($(_0x8767[44])[_0x8767[36]]) { ytp1[_0x8767[221]](); $(_0x8767[66])[_0x8767[65]](_0x8767[222], _0x8767[223]); $(_0x8767[67])[_0x8767[65]](_0x8767[222], _0x8767[224]); } else { ytp1[_0x8767[205]](_0x8767[64] + _0x2d9dx66 + _0x8767[64], 6); } $(_0x8767[32])[_0x8767[15]](); $(_0x8767[89] + _0x2d9dx66 + _0x8767[64])[_0x8767[246]](_0x8767[257]); $(_0x8767[89] + _0x2d9dx66 + _0x8767[64])[_0x8767[238]](_0x8767[237]); $(_0x8767[239] + _0x2d9dx66 + _0x8767[64])[_0x8767[15]](); clearInterval(ff1); clearInterval(ff2); } } } function fadeInOut() { $(_0x8767[41])[_0x8767[241]](250)[_0x8767[258]](250); } function stopAutoplay() { clearInterval(chViEn1); clearInterval(chViEn2); clearTimeout(fn1); clearTimeout(fn2); clearInterval(fadeLeftIntv); clearInterval(fadeRightIntv); clearInterval(ff1); clearInterval(ff2); clearInterval(ff); clearTimeout(st); if ($(_0x8767[259])[_0x8767[36]]) { $(_0x8767[259])[_0x8767[56]](); } $(_0x8767[233])[_0x8767[15]](); $(_0x8767[32])[_0x8767[15]](); $(_0x8767[234])[_0x8767[15]](); FSexit(); $(_0x8767[231])[_0x8767[31]](); $(_0x8767[232])[_0x8767[31]](); $(_0x8767[242])[_0x8767[258]](300); $(_0x8767[243])[_0x8767[258]](300); $(_0x8767[260])[_0x8767[246]](_0x8767[245]); $(_0x8767[44])[_0x8767[246]](_0x8767[247]); $(_0x8767[41])[_0x8767[246]](_0x8767[237]); $(_0x8767[261])[_0x8767[31]](); $(_0x8767[263])[_0x8767[246]](_0x8767[262]); $(_0x8767[264])[_0x8767[246]](_0x8767[262]); $(_0x8767[265])[_0x8767[246]](_0x8767[262]); $(_0x8767[266])[_0x8767[246]](_0x8767[262]); deck1IsOnAir = _0x8767[18]; deck2IsOnAir = _0x8767[18]; plStarted = _0x8767[18]; isFadingTo1 = _0x8767[18]; isFadingto2 = _0x8767[18]; fromLoad1 = _0x8767[18]; fromLoad2 = _0x8767[18]; fromPLnext1 = _0x8767[18]; fromPLnext2 = _0x8767[18]; isFromAG = _0x8767[18]; ff = _0x8767[18]; FSmode = _0x8767[18]; } function autoGenerate(_0x2d9dx20) { $[_0x8767[50]]({ url: _0x8767[267] + _0x2d9dx20 + _0x8767[177] + apiKey + _0x8767[64], dataType: _0x8767[48], success: function (_0x2d9dx11) { if (!_0x2d9dx11[_0x8767[98]]) { if (_0x2d9dx11[_0x8767[127]][_0x8767[126]] > 0) { for (var _0x2d9dx1c = 0; _0x2d9dx1c < _0x2d9dx11[_0x8767[99]][_0x8767[36]]; _0x2d9dx1c++) { var _0x2d9dx74 = _0x2d9dx11[_0x8767[99]][_0x2d9dx1c][_0x8767[101]][_0x8767[180]][_0x8767[135]]; var _0x2d9dx21 = _0x2d9dx11[_0x8767[99]][_0x2d9dx1c][_0x8767[101]][_0x8767[100]]; isFromAG = _0x8767[29]; addToPlaylist(_0x8767[64] + escape(_0x2d9dx21) + _0x8767[64], _0x8767[64] + _0x2d9dx74 + _0x8767[64]); } isFromAG = _0x8767[18]; $(_0x8767[32])[_0x8767[31]](); } } else { findRelatedForPL(_0x8767[64] + _0x2d9dx20 + _0x8767[64]); } }, error: function (_0x2d9dx26, _0x2d9dx12, _0x2d9dx27) { alert(_0x2d9dx12, +_0x8767[106] + _0x2d9dx27); }, }); } function findRelatedForPL(_0x2d9dx76) { $[_0x8767[50]]({ url: _0x8767[268] + _0x2d9dx76 + _0x8767[269] + apiKey + _0x8767[64], dataType: _0x8767[48], success: function (_0x2d9dx11) { if (!_0x2d9dx11[_0x8767[98]]) { if (_0x2d9dx11[_0x8767[127]][_0x8767[126]] > 0) { for (var _0x2d9dx1c = 0; _0x2d9dx1c < _0x2d9dx11[_0x8767[99]][_0x8767[36]]; _0x2d9dx1c++) { var _0x2d9dx77 = _0x2d9dx11[_0x8767[99]][_0x2d9dx1c][_0x8767[42]][_0x8767[135]]; var _0x2d9dx21 = _0x2d9dx11[_0x8767[99]][_0x2d9dx1c][_0x8767[101]][_0x8767[100]]; isFromAG = _0x8767[29]; addToPlaylist(_0x8767[64] + escape(_0x2d9dx21) + _0x8767[64], _0x8767[64] + _0x2d9dx77 + _0x8767[64]); } isFromAG = _0x8767[18]; } } else { $(_0x8767[32])[_0x8767[15]](); $(_0x8767[252])[_0x8767[204]]({ width: _0x8767[202], dialogClass: _0x8767[250], modal: true, resizable: false, buttons: { Ok: function () { $(this)[_0x8767[204]](_0x8767[203]); ff = setInterval(function () { $(_0x8767[41])[_0x8767[241]](250)[_0x8767[258]](250); }, 1000); }, }, }); FSexit(); } }, error: function (_0x2d9dx26, _0x2d9dx12, _0x2d9dx27) { alert(_0x2d9dx12, +_0x8767[106] + _0x2d9dx27); }, }); } function isAutoON() { $(_0x8767[265])[_0x8767[238]](_0x8767[262]); $(_0x8767[266])[_0x8767[238]](_0x8767[262]); } function isAutoONforSearch() { $(_0x8767[263])[_0x8767[238]](_0x8767[262]); $(_0x8767[264])[_0x8767[238]](_0x8767[262]); } function up() { if (parseInt($(_0x8767[225])[_0x8767[87]]()) < 10) { $(_0x8767[225])[_0x8767[87]](parseInt($(_0x8767[225])[_0x8767[87]]()) + 1); } } function down() { if (parseInt($(_0x8767[225])[_0x8767[87]]()) > 1) { $(_0x8767[225])[_0x8767[87]](parseInt($(_0x8767[225])[_0x8767[87]]()) - 1); } } function saveList() { if ($(_0x8767[38])[_0x8767[37]]()[_0x8767[36]] > 0) { var _0x2d9dx7d = _0x8767[64]; $(_0x8767[236])[_0x8767[270]](function (_0x2d9dx7e, _0x2d9dx7f) { var _0x2d9dx29 = $(_0x2d9dx7f)[_0x8767[43]](_0x8767[42]); _0x2d9dx7d += _0x8767[64] + _0x2d9dx29 + _0x8767[92]; }); var _0x2d9dx80 = _0x8767[271] + _0x2d9dx7d + _0x8767[64]; $(_0x8767[274])[_0x8767[43]](_0x8767[272], _0x8767[273] + encodeURIComponent(_0x2d9dx80) + _0x8767[64]); $(_0x8767[275])[_0x8767[54]](_0x2d9dx80); $(_0x8767[277])[_0x8767[204]]({ width: _0x8767[276], modal: true, resizable: false, buttons: { Close: function () { $(this)[_0x8767[204]](_0x8767[203]); }, }, }); } } function fs() { FSmode = _0x8767[29]; $(document[_0x8767[279]])[_0x8767[238]](_0x8767[278]); launchIntoFullscreen(document[_0x8767[280]]); $(_0x8767[66])[_0x8767[238]](_0x8767[281]); $(_0x8767[67])[_0x8767[238]](_0x8767[281]); if ($(_0x8767[25])[_0x8767[24]](_0x8767[23]) <= 50) { $(_0x8767[66])[_0x8767[65]](_0x8767[63], _0x8767[29]); $(_0x8767[66])[_0x8767[65]](_0x8767[222], _0x8767[223]); $(_0x8767[67])[_0x8767[65]](_0x8767[63], _0x8767[18]); $(_0x8767[67])[_0x8767[65]](_0x8767[222], _0x8767[224]); } else { $(_0x8767[66])[_0x8767[65]](_0x8767[63], _0x8767[18]); $(_0x8767[66])[_0x8767[65]](_0x8767[222], _0x8767[224]); $(_0x8767[67])[_0x8767[65]](_0x8767[63], _0x8767[29]); $(_0x8767[67])[_0x8767[65]](_0x8767[222], _0x8767[223]); } $(_0x8767[282])[_0x8767[31]](); $(_0x8767[283])[_0x8767[31]](); $(_0x8767[284])[_0x8767[31]](); } function FSexit() { FSmode = _0x8767[18]; exitFullscreen(); $(document[_0x8767[279]])[_0x8767[246]](_0x8767[278]); $(_0x8767[284])[_0x8767[15]](); $(_0x8767[282])[_0x8767[15]](); $(_0x8767[283])[_0x8767[15]](); $(_0x8767[66])[_0x8767[246]](_0x8767[281]); $(_0x8767[67])[_0x8767[246]](_0x8767[281]); $(_0x8767[66])[_0x8767[65]](_0x8767[63], _0x8767[64]); $(_0x8767[67])[_0x8767[65]](_0x8767[63], _0x8767[64]); $(_0x8767[66])[_0x8767[65]](_0x8767[222], _0x8767[64]); $(_0x8767[67])[_0x8767[65]](_0x8767[222], _0x8767[64]); } function loadYTplaylist() { $(_0x8767[285])[_0x8767[204]]({ width: _0x8767[276], modal: true, resizable: false, buttons: { Close: function () { $(this)[_0x8767[204]](_0x8767[203]); }, }, }); } function contact() { $(_0x8767[286])[_0x8767[204]]({ width: _0x8767[276], modal: true, buttons: { Close: function () { $(this)[_0x8767[204]](_0x8767[203]); }, }, }); } function showPlaylist(_0x2d9dx86) { var _0x2d9dx87 = $(_0x2d9dx86)[_0x8767[43]](_0x8767[287]); $(_0x8767[89] + _0x2d9dx87) [_0x8767[31]](500) [_0x8767[289]](_0x8767[288]) [_0x8767[15]](300); } function showLinks(_0x2d9dx89) { $(_0x8767[290])[_0x8767[15]](); $(_0x8767[292] + $(_0x2d9dx89)[_0x8767[43]](_0x8767[287]) + _0x8767[64]) [_0x8767[291]](_0x8767[288]) [_0x8767[31]](); $(_0x8767[293] + $(_0x2d9dx89)[_0x8767[43]](_0x8767[287]) + _0x8767[64])[_0x8767[31]](); } function showAllLinks(_0x2d9dx89) { $(_0x8767[290])[_0x8767[31]](); } function launchIntoFullscreen(_0x2d9dx7f) { if (_0x2d9dx7f[_0x8767[294]]) { _0x2d9dx7f[_0x8767[294]](); } else { if (_0x2d9dx7f[_0x8767[295]]) { _0x2d9dx7f[_0x8767[295]](); } else { if (_0x2d9dx7f[_0x8767[296]]) { _0x2d9dx7f[_0x8767[296]](); } else { if (_0x2d9dx7f[_0x8767[297]]) { _0x2d9dx7f[_0x8767[297]](); } } } } } function exitFullscreen() { if (document[_0x8767[298]]) { document[_0x8767[298]](); } else { if (document[_0x8767[299]]) { document[_0x8767[299]](); } else { if (document[_0x8767[300]]) { document[_0x8767[300]](); } else { if (document[_0x8767[301]]) { document[_0x8767[301]](); } } } } } function shuffle() { var _0x2d9dx8e = $(_0x8767[38]); var _0x2d9dx8f = _0x2d9dx8e[_0x8767[37]](); while (_0x2d9dx8f[_0x8767[36]]) { _0x2d9dx8e[_0x8767[219]](_0x2d9dx8f[_0x8767[304]](Math[_0x8767[303]](Math[_0x8767[302]]() * _0x2d9dx8f[_0x8767[36]]), 1)[0]); } } var BrowserDetect = { init: function () { this[_0x8767[305]] = this[_0x8767[307]](this[_0x8767[306]]) || _0x8767[308]; this[_0x8767[309]] = this[_0x8767[311]](navigator[_0x8767[310]]) || this[_0x8767[311]](navigator[_0x8767[312]]) || _0x8767[313]; }, searchString: function (_0x2d9dx11) { for (var _0x2d9dx1c = 0; _0x2d9dx1c < _0x2d9dx11[_0x8767[36]]; _0x2d9dx1c++) { var _0x2d9dx91 = _0x2d9dx11[_0x2d9dx1c][_0x8767[314]]; this[_0x8767[315]] = _0x2d9dx11[_0x2d9dx1c][_0x8767[316]]; if (_0x2d9dx91[_0x8767[112]](_0x2d9dx11[_0x2d9dx1c][_0x8767[316]]) !== -1) { return _0x2d9dx11[_0x2d9dx1c][_0x8767[317]]; } } }, searchVersion: function (_0x2d9dx91) { var _0x2d9dx7e = _0x2d9dx91[_0x8767[112]](this[_0x8767[315]]); if (_0x2d9dx7e === -1) { return; } var _0x2d9dx92 = _0x2d9dx91[_0x8767[112]](_0x8767[318]); if (this[_0x8767[315]] === _0x8767[319] && _0x2d9dx92 !== -1) { return parseFloat(_0x2d9dx91[_0x8767[113]](_0x2d9dx92 + 3)); } else { return parseFloat(_0x2d9dx91[_0x8767[113]](_0x2d9dx7e + this[_0x8767[315]][_0x8767[36]] + 1)); } }, dataBrowser: [ { string: navigator[_0x8767[310]], subString: _0x8767[320], identity: _0x8767[320] }, { string: navigator[_0x8767[310]], subString: _0x8767[321], identity: _0x8767[322] }, { string: navigator[_0x8767[310]], subString: _0x8767[319], identity: _0x8767[322] }, { string: navigator[_0x8767[310]], subString: _0x8767[323], identity: _0x8767[323] }, { string: navigator[_0x8767[310]], subString: _0x8767[324], identity: _0x8767[324] }, { string: navigator[_0x8767[310]], subString: _0x8767[325], identity: _0x8767[325] }, ], }; BrowserDetect[_0x8767[326]](); if (BrowserDetect[_0x8767[305]] == _0x8767[322]) { isIE = _0x8767[29]; } else { isIE = _0x8767[18]; } document[_0x8767[328]](_0x8767[327], function () {}, false); window[_0x8767[328]](_0x8767[329], function (_0x2d9dx16) { var _0x2d9dx93 = _0x8767[330]; if (BrowserDetect[_0x8767[305]] == _0x8767[322] && BrowserDetect[_0x8767[309]] <= 10) { } else { (_0x2d9dx16 || window[_0x8767[332]])[_0x8767[331]] = _0x2d9dx93; return _0x2d9dx93; } }); ?>