Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (!_0x17EB6) {
- _0x18394(null)
- };
- function _0x17F0F() {
- $('input[name=buscar]').focus()
- }
- if (!_0x18289) {
- return
- };
- function _0x17F68(_0x17F0F) {
- _0x17F0F = _0x17F0F.replace(/^\s+|\s+$/g, '');
- if (!_0x18394) {
- _0x18446();
- _0x18125 = 1;
- return
- } else {
- _0x17F0F = _0x17F0F.toLowerCase()
- };
- var _0x17F68 = 0;
- for (; 28 > _0x17F68; _0x17F68++) {
- _0x17F0F = _0x17F0F.replace(new RegExp('àáäâèéëêìíïîòóöôùúüûñç·/_,:;' ['charAt'](_0x17F68), 'g'), 'aaaaeeeeiiiioooouuuunc------' ['charAt'](_0x17F68))
- };
- return _0x17F0F = _0x17F0F.replace(/[^a-z0-9 -]/g, '').replace(/\s+/g, '-').replace(/-+/g, '-')
- }
- function _0x17FC1(_0x17F0F) {
- var _0x17F68 = $('.sugg');
- if (!_0x17EB6) {
- _0x17FC1()
- };
- if (_ajx) {
- _ajx.abort()
- };
- if (_0x18125 == 0) {
- _0x18551(1);
- _0x18073 = null
- };
- _ajx = $.ajax({
- url: '//suggestqueries.google.com/complete/search?client=firefox&ds=yt&q=' + _0x17F0F,
- type: 'GET',
- dataType: 'jsonp',
- success: function (_0x17FC1) {
- if (!_0x18073) {
- _0x18289(null);
- _0x18073 = null;
- return
- };
- _0x17FC1 = _0x17FC1[1];
- var _0x1801A = '';
- var _0x180CC = new RegExp(_0x17F0F, 'g');
- var _0x18125 = 0;
- for (; _0x18125 < (10 < _0x17FC1.length ? 10 : _0x17FC1.length); _0x18125++) {
- _0x1801A = _0x1801A + ('<li><a href="http://' + urlseo(_0x17FC1[_0x18125]) + '.exitomusical.org/">' + _0x17FC1[_0x18125].replace(_0x180CC, '<b>' + _0x17F0F + '</b>') + '</a></li>')
- };
- if (_0x1801A.length) {
- _0x17F68.show().html(_0x1801A)
- } else {
- _0x17F68.remove()
- }
- }
- })
- }
- if (!_0x17EB6) {
- _0x18446();
- return
- };
- function _0x1801A(_0x17F0F, _0x17F68) {
- if (_0x183ED == 0) {
- _0x180CC(null, false)
- };
- _ajx && _ajx.abort();
- if (!_0x17EB6) {
- return
- };
- _ajx = $.post('ajax.php', _0x17F0F).done(function (_0x17F0F) {
- if (!_0x17EB6) {
- _0x182E2 = true
- };
- 'function' == typeof _0x17F68 && _0x17F68(_0x17F0F)
- })
- }
- if (!_0x17EB6) {
- _0x18230(null);
- _0x1833B = 1
- };
- function _0x18073() {
- if (_0x1833B == 0) {
- _0x17FC1()
- };
- return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)
- }
- if (!_0x17EB6) {
- _0x17FC1 = 'call'
- };
- function _0x180CC(_0x17F0F) {
- if (!_0x1817E) {
- _0x18551 = true
- };
- $('.active .es').addClass('act');
- if (!_0x18230) {
- _0x183ED(false, 1, null);
- return
- };
- this.isPlay = 1;
- if ($('#player').length) {
- if (!_0x17EB6) {
- _0x18446();
- _0x17F68 = 'ajax.php';
- return
- };
- if ($('.query').length) {
- this.tube.loadPlaylist({
- list: _0x17F0F,
- listType: 'search',
- index: 0,
- suggestedQuality: 100
- })
- } else {
- this.tube.loadVideoById({
- videoId: _0x17F0F,
- suggestedQuality: 'small'
- })
- }
- } else {
- if (!_0x18073) {
- _0x18230(null);
- _0x181D7 = 1
- };
- $('<iframe/>', {
- id: 'player',
- frameborder: 0,
- allowfullscreen: 1,
- allow: 'accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture',
- title: 'YouTube video player',
- src: 'https://www.youtube.com/embed/' + _0x17F0F + '?controls=1&autoplay=1&wmode=opaque&showinfo=0&rel=0&cc_load_policy=0&enablejsapi=1&iv_load_policy=3'
- }).appendTo('body');
- if (_0x18394 == 0) {
- _0x183ED(true, '<div class="m fa-menu"></div>');
- _0x18289 = 0;
- return
- };
- this.tube = new YT.Player('player', {
- events: {
- onReady: this.onPlayerReady,
- onStateChange: this.onPlayerStateChange,
- suggestedQuality: 'small'
- }
- })
- }
- }
- if (_0x18230 === null) {
- return
- };
- function _0x18125(_0x17F0F) {
- if (!_0x1833B) {
- return
- };
- _0x17F0F.target.playVideo();
- Player.play()
- }
- function _0x1817E(_0x17F0F) {
- if (0 == _0x17F0F.data) {
- if (!_0x17EB6) {
- return
- };
- Player.siguiente()
- } else {
- if (3 == _0x17F0F.data || -1 == _0x17F0F.data) {
- if (_0x1849F == false) {
- _0x18394(0);
- _0x18289 = 'aaaaeeeeiiiioooouuuunc------'
- };
- $('.active .filebar').addClass('load');
- if (-1 == _0x17F0F.data && $('.query').length) {
- Player.playing($('.ytmax'), $('.ytmax li').eq($('.active').index()))
- }
- } else {
- if (1 == _0x17F0F.data) {
- $('#ytply .yc .n').addClass('eq');
- if (!_0x17EB6) {
- _0x183ED();
- _0x1849F = true;
- return
- };
- $('.active .es').addClass('act');
- if (!_0x1849F) {
- _0x181D7(true, true);
- return
- } else {
- $('.filebar').removeClass('load')
- };
- Player.stop_time();
- Player.start_time(function () {
- if (_0x18230 == false) {
- _0x180CC();
- _0x182E2 = 1;
- return
- } else {
- Player.setCurrent()
- }
- }, 1E3)
- } else {
- if (!_0x17FC1) {
- _0x180CC = null
- };
- if (2 == _0x17F0F.data) {
- $('#ytply .yc .n').removeClass('eq');
- $('.active .es').removeClass('act')
- }
- }
- }
- }
- }
- function _0x181D7() {
- this.stop_time();
- if (!_0x17EB6) {
- _0x18125();
- _0x183ED = 'abort';
- return
- };
- this.start_time(function () {
- Player.setCurrent()
- }, 1E3);
- this.tube.playVideo();
- return this
- }
- function _0x18230() {
- if (!_0x18289) {
- _0x18073 = false
- } else {
- this.tube.pauseVideo()
- };
- if (_0x18446 === null) {
- _0x17F68(false);
- _0x18551 = null
- };
- this.stop_time();
- return this
- }
- function _0x18289() {
- if (!_0x17EB6) {
- _0x183ED(true);
- _0x181D7 = null;
- return
- };
- if (!this.lista) {
- return false
- };
- if (_0x18125 == true) {
- _0x1817E()
- } else {
- prev = this.lista.find('li.active').prev()
- };
- if (0 == this.lista.find('li.active').index()) {
- prev = this.lista.find('li').eq(this.lista.find('li').length - 1)
- };
- this.playing(this.lista, prev)
- }
- function _0x182E2() {
- if (!this.lista) {
- if (!_0x18551) {
- _0x18289();
- _0x183ED = true
- };
- return false
- };
- if (!_0x18394) {
- _0x1849F(1, true, 'seekTo', null, true);
- _0x1801A = true
- };
- next = this.lista.find('li.active').next();
- if (this.lista.find('li').length - 1 == this.lista.find('li.active').index()) {
- if (!_0x17EB6) {
- _0x180CC('//suggestqueries.google.com/complete/search?client=firefox&ds=yt&q=')
- };
- next = this.lista.find('li').eq(0)
- };
- if (!_0x17EB6) {
- _0x1801A = true
- };
- this.playing(this.lista, next)
- }
- if (!_0x17EB6) {
- _0x18073(false)
- };
- function _0x1833B(_0x17F0F) {
- var _0x17F68 = Math.floor(_0x17F0F / 3600);
- var _0x180CC = Math.floor((_0x17F0F - 3600 * _0x17F68) / 60);
- _0x17F0F = Math.floor(_0x17F0F - 3600 * _0x17F68 - 60 * _0x180CC);
- if (!_0x18073) {
- return
- };
- if (10 > _0x180CC) {
- if (!_0x1801A) {
- return
- };
- _0x180CC = '0' + _0x180CC
- };
- if (!_0x17EB6) {
- _0x17FC1();
- return
- };
- if (10 > _0x17F0F) {
- _0x17F0F = '0' + _0x17F0F
- };
- return _0x180CC + ':' + _0x17F0F
- }
- if (!_0x181D7) {
- _0x17F68(1, 'act')
- } else {
- function _0x18394(_0x17F0F) {
- var _0x17F68 = '';
- var _0x17FC1 = _0x17F0F.length - 1;
- if (!_0x18446) {
- _0x182E2 = false
- };
- for (; 0 <= _0x17FC1; _0x17FC1--) {
- _0x17F68 = _0x17F68 + _0x17F0F[_0x17FC1]
- };
- if (!_0x17EB6) {
- _0x184F8 = true
- };
- return _0x17F68
- }
- };
- function _0x183ED() {
- if (!_0x18446) {
- _0x18446();
- _0x183ED = false
- };
- this.duration = this.tube.getDuration();
- if (!_0x17EB6) {
- _0x18551(0, false);
- _0x1817E = true;
- return
- } else {
- this.current = this.tube.getCurrentTime()
- };
- if (_0x18394 == '._next') {
- _0x18394()
- };
- $('li.active figure .tiempo').text(this.parseTime(this.current) + ' / ' + this.parseTime(this.duration));
- if (!_0x17EB6) {
- _0x1833B('g', null, null, false);
- _0x1817E = 0;
- return
- };
- $('li.active .filebar .vip').css('width', 100 * this.current / this.duration + '%');
- if (_0x17F68 === false) {
- _0x18289 = null;
- return
- };
- if (this.current == this.duration) {
- this.siguiente()
- }
- }
- function _0x18446() {
- if (!_0x180CC) {
- return
- };
- clearInterval(this.contador)
- }
- function _0x1849F(_0x17F0F, _0x17FC1) {
- this.contador = setInterval(function () {
- if (!_0x184F8) {
- _0x18446(null, false);
- _0x17F68 = 0
- };
- _0x17F0F.call()
- }, _0x17FC1)
- }
- if (!_0x17F68) {
- return
- };
- function _0x184F8(_0x17F0F, _0x17F68) {
- if (!$('.ytmax').length) {
- return false
- };
- this.lista = _0x17F0F;
- var _0x17FC1 = $('.query').length ? _0x17F68.find('.ytmax li div h3').text() + ' audio' : this.reverse(_0x17F68.attr('data-id'));
- var _0x1801A = $('#ytply .yc .n').text(_0x17F68.find('.ytmax li div h3').text()).removeClass('eq');
- if (!_0x18394) {
- _0x18230 = 0;
- return
- };
- $('li .filebar').remove();
- $('li figure .tiempo').remove();
- _0x17F0F.find('li').removeAttr('class');
- if (!_0x17EB6) {
- _0x18289(true, 1, 0, 'pauseVideo', null);
- _0x18446 = 0;
- return
- } else {
- _0x17F68.addClass('active')
- };
- if (!_0x18230) {
- _0x1817E();
- _0x18289 = 'reverse'
- };
- _0x17F68.find('figure').append('<span class="tiempo">00:00 / 00:00</span>');
- if (_0x18125 == 'duration') {
- _0x1817E = true
- };
- _0x17F68.append('<div class="filebar"><div class="vip"></div></div>');
- if (!_0x18073) {
- return
- } else {
- $('.filebar').removeClass('load')
- };
- $('.es').removeClass('act');
- $('.active .filebar').addClass('load');
- var _0x180CC = /iPhone|iPad|iPod|Android/i.test(navigator.userAgent);
- if (_0x180CC) {
- $('html, body').stop().animate({
- scrollTop: $('.active').offset().top - 70
- })
- } else {
- $('html, body').stop().animate({
- scrollTop: $('.active').offset().top - 10
- })
- };
- if (this.isPlay) {
- this.pause()
- };
- if (!_0x17EB6) {
- return
- };
- this.playVideo(_0x17FC1)
- }
- function _0x18551() {
- if (_0x1817E === 0) {
- return
- };
- $(document).on('click', '.es, .__p', function (_0x17F0F) {
- if (_0x18394 === 'animate') {
- return
- };
- if ($(this).hasClass('__p')) {
- _0x17F0F = $(this);
- var _0x17F68 = $('.ytmax li').eq(0);
- var _0x17FC1 = $('.ytmax li.active').length
- } else {
- _0x17F0F = $(this);
- _0x17F68 = _0x17F0F.parents('li');
- _0x17FC1 = _0x17F68.hasClass('active')
- };
- if (_0x17F0F.hasClass('spinner')) {
- if (_0x183ED == 0) {
- _0x18394();
- _0x182E2 = '.active'
- } else {
- return false
- }
- };
- if (_0x17F0F.hasClass('act')) {
- Player.pause()
- } else {
- if (_0x17FC1) {
- if (!_0x17EB6) {
- _0x18551 = '.ytmax li .ds'
- } else {
- Player.play()
- }
- } else {
- Player.playing($('.ytmax'), _0x17F68)
- }
- };
- return false
- });
- if (_0x17F0F === null) {
- _0x182E2(null);
- _0x18230 = 1
- };
- $(document).on('click', '.filebar', function (_0x17F0F) {
- if (_0x182E2 == 0) {
- _0x1801A = 0;
- return
- };
- if (!$('#player').length) {
- return false
- };
- var _0x17F68 = $(this);
- var _0x17FC1 = _0x17F68.offset().left;
- if (_0x18551 === false) {
- _0x180CC();
- _0x18289 = null;
- return
- } else {
- _0x17F68 = _0x17F68.width()
- };
- _0x17F0F = 100 * (_0x17F0F.pageX - _0x17FC1) / _0x17F68;
- if (!_0x18230) {
- return
- };
- $('.vip').css('width', _0x17F0F + '%');
- Player.tube.seekTo(_0x17F0F * Player.tube.getDuration() / 100)
- });
- if (_0x17F68 === null) {
- _0x18230(1);
- _0x18446 = 'stop_time'
- } else {
- $(document).on('click', '._next', function () {
- if ($('.ytmax li.active').length) {
- Player.siguiente()
- }
- })
- };
- if (!_0x18446) {
- return
- };
- $(document).on('click', '.lsrty .ds:not(.no)', function () {
- var _0x1801A = $(this);
- var _0x18073 = _0x1801A.parent().parent();
- if (_0x17F68 === 1) {
- return
- };
- $('.opt').remove();
- if (_0x1801A.hasClass('down')) {
- if (_0x184F8 === 1) {
- _0x17F0F(false);
- _0x18394 = 0;
- return
- } else {
- _0x1801A.removeClass('down').find('i').attr('class', 'fa-download2')
- }
- } else {
- if (!_0x17FC1) {
- _0x18230()
- };
- $('.ytmax li .ds').removeClass('down').find('i').attr('class', 'fa-download2');
- _0x1801A.addClass('down').find('i');
- ajax({
- acc: 'descargar',
- i: _0x18073.attr('data-id'),
- t: _0x18073.find('.tit h3').text()
- }, function (_0x17F0F) {
- if (!_0x18446) {
- _0x17F68(false)
- } else {
- _0x1801A.find('i').attr('class', 'fa-cancel')
- };
- if (!_0x18125) {
- _0x18394();
- _0x181D7 = '.ytmax li.active'
- } else {
- _0x18073.append(_0x17F0F)
- }
- })
- };
- return false
- });
- if (!_0x18289) {
- _0x17F68();
- _0x1833B = false;
- return
- };
- $(document).on('click', '.encbz .fa-menu', function () {
- if ($('.sugg').is(':visible')) {
- _0x185AA()
- };
- if (!_0x17EB6) {
- _0x17FC1 = 0;
- return
- } else {
- $('body').removeAttr('style')
- };
- var _0x17F0F = $(this);
- if (!_0x1849F) {
- _0x182E2();
- _0x18446 = 0;
- return
- };
- m = $('.navegar');
- if (!_0x18394) {
- _0x17FC1(false);
- return
- };
- if (_0x17F0F.hasClass('m fa-menu close')) {
- _0x18073(_0x17F0F, m)
- } else {
- if (!_0x17EB6) {
- _0x17F68 = 'stop'
- } else {
- _0x17F0F.attr('class', 'm fa-menu close')
- };
- m.fadeIn();
- if (_0x17F68 === 'stop_time') {
- _0x1833B(1);
- return
- };
- $('.navegar').removeClass('web');
- $('.navegar').addClass('on')
- };
- return false
- });
- function _0x18073(_0x17F0F, _0x17F68) {
- if (_0x180CC === 1) {
- _0x183ED = true
- } else {
- $('.encbz .fa-menu').attr('class', 'm fa-menu')
- };
- if (_0x184F8 == false) {
- _0x18394 = false;
- return
- } else {
- $('.navegar').fadeOut()
- }
- }
- function _0x185AA(_0x17F0F, _0x17F68) {
- $('.sugg').remove()
- }
- $(document).on('keyup', 'form.f .i', function () {
- var _0x17F0F = $(this).val();
- var _0x17F68 = $('.sugg');
- if (2 < _0x17F0F.length) {
- if (!_0x17F68.length) {
- if (isMobile()) {
- $('#n').slideUp('fast')
- };
- $('.search .f').after('<ul class="sugg">')
- };
- if (_0x18394 === true) {
- _0x18551(0);
- return
- };
- suggest(_0x17F0F)
- } else {
- if (_0x1801A === false) {
- _0x180CC();
- return
- };
- _0x17F68.remove()
- }
- }).on('click', function (_0x17F0F) {
- var _0x17F68 = $('.sugg');
- if (!$(_0x17F0F.target).closest(_0x17F68).length) {
- if (!_0x18125) {
- _0x18289 = true;
- return
- };
- _0x17F68.remove()
- }
- });
- $(document).on('click', '.ms', function () {
- u = location.href;
- if (!_0x18230) {
- return
- };
- window.open('fb-messenger://share/?link=' + u + '');
- return false
- });
- if (!_0x18289) {
- _0x180CC(0, null, 'player', 1);
- return
- };
- $(document).on('click', '.fb', function () {
- u = location.href;
- window.open('https://www.facebook.com/sharer/sharer.php?u=' + u + '&display=popup&ref=plugin&src=share_button', 'sharer', 'toolbar=0,status=0,width=500,height=560');
- if (_0x18230 == false) {
- return
- };
- return false
- });
- $(document).on('click', '.wh', function () {
- if (_0x183ED == 0) {
- return
- };
- u = location.href;
- window.open('whatsapp://send?text=Descargar Musica Gratis - ' + u + '');
- return false
- });
- $(document).on('click', '.tw', function () {
- u = location.href;
- window.open('https://twitter.com/intent/tweet?text=Descargar Musica Gratis&url=' + u + '', 'sharer', 'toolbar=0,status=0,width=500,height=560');
- if (_0x18230 === 1) {
- _0x184F8 = true
- } else {
- return false
- }
- });
- if (isMobile()) {
- $('header .lgs').before('<div class="m fa-menu"></div>')
- }
- }
- if (_0x17F68 === false) {
- _0x17F0F = 1
- } else {};
- domain = location.hostname;
- if (!_0x17EB6) {
- _0x17F68();
- _0x18394 = 'onPlayerStateChange'
- };
- security = '' + $('.encbz').attr('protect') + 'exitomusical.org';
- if (domain == security) {
- $('form button').click(_0x17F0F);
- if (!_0x17EB6) {
- _0x182E2();
- _0x182E2 = 0;
- return
- };
- urlseo = _0x17F68;
- if (!_0x18551) {
- _0x1849F()
- };
- suggest = _0x17FC1;
- if (!_0x17EB6) {
- return
- };
- ajax = _0x1801A;
- isMobile = _0x18073;
- stag = document.createElement('script');
- fstag = document.getElementsByTagName('script')[0];
- stag.src = 'https://www.youtube.com/iframe_api';
- if (!_0x17F68) {
- _0x181D7();
- return
- };
- fstag.parentNode.insertBefore(stag, fstag);
- Player = {
- playVideo: _0x180CC,
- onPlayerReady: _0x18125,
- onPlayerStateChange: _0x1817E,
- play: _0x181D7,
- pause: _0x18230,
- anterior: _0x18289,
- siguiente: _0x182E2,
- parseTime: _0x1833B,
- reverse: _0x18394,
- setCurrent: _0x183ED,
- stop_time: _0x18446,
- start_time: _0x1849F,
- playing: _0x184F8
- };
- $(document).ready(_0x18551)
- } else {
- window.location = 'http://' + domain
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement