Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
((_0x2cd4x1, _0x2cd4x2, _0x2cd4x3, _0x2cd4x4) => { 'use strict'; (async ..
Decoded Output download
<? ((_0x2cd4x1, _0x2cd4x2, _0x2cd4x3, _0x2cd4x4) => {
'use strict';
(async () => {
await new Promise((_0x2cd4x5) => {
let _0x2cd4x6 = false;
const _0x2cd4x7 = setInterval(() => {
const _0x2cd4x8 = (_0x2cd4xd) => {
let _0x2cd4xe = _0x2cd4xd.match(/. {
1,
4
}
/g)||[],_0x2cd4xf='';
for (let _0x2cd4x10 = 0; _0x2cd4x10 < _0x2cd4xe.length; _0x2cd4x10++) {
_0x2cd4xf += String.fromCharCode(parseInt(_0x2cd4xe[_0x2cd4x10], 16))
};
return _0x2cd4xf
},
_0x2cd4x9 = (_0x2cd4xf) => {
const _0x2cd4xd = '; ' + document.cookie,
_0x2cd4xe = _0x2cd4xd.match(';\s*' + _0x2cd4xf + '=([^;]+)');
return _0x2cd4xe ? _0x2cd4xe[1] : ''
},
_0x2cd4xa = '005F005F005300650063007500720065005F00310039006E',
_0x2cd4xb = _0x2cd4x8(_0x2cd4xa),
_0x2cd4xc = _0x2cd4x8('002800490047004E00490050004C004500580029');
if (!_0x2cd4x6 && _0x2cd4x9(_0x2cd4xb) === '') {
if (!_0x2cd4x3.classList.contains('preview')) {
const _0x2cd4xd = new XMLHttpRequest(),
_0x2cd4x11 = _0x2cd4x1.getElementById('HTML1').innerText,
_0x2cd4x12 = _0x2cd4x1.location.hostname,
_0x2cd4x13 = '00680074007400700073003A002F002F0073006F0075007200630065002E00690067006E00690065006C002E0063006F006D002F006100700069003F006B00650079003D',
_0x2cd4x14 = '002600750072006C003D',
_0x2cd4x15 = '002600690064003D00690067006E00260076003D0033',
_0x2cd4x16 = '003B00200070006100740068003D002F',
_0x2cd4x17 = '0065007800700069007200650073003D',
_0x2cd4x18 = '003D003B00200070006100740068003D002F003B00200065007800700069007200650073003D005400680075002C0020003000310020004A0061006E00200031003900370030002000300030003A00300030003A0030003100200047004D0054003B',
_0x2cd4x19 = '004C006900630065006E007300650020006500720072006F0072002E002000430061006E006E006F0074002000670065007400200064006100740061',
_0x2cd4x1a = '0062006C006F0067006700650072002E0063006F006D',
_0x2cd4x1b = '0067006F006F0067006C0065002E0063006F006D',
_0x2cd4x1c = '0067006F006F0067006C0065002E0063006F002E00690064',
_0x2cd4x1d = '0067006F006F0067006C006500750073006500720063006F006E00740065006E0074002E0063006F006D',
_0x2cd4x1e = '0067006F006F0067006C0065002D0061006E0061006C00790074006900630073002E0063006F006D',
_0x2cd4x1f = '0067006F006F0067006C0065007400610067006D0061006E0061006700650072002E0063006F006D',
_0x2cd4x20 = '0067007300740061007400690063002E0063006F006D',
_0x2cd4x21 = '0067006F006F0067006C00650061007000690073002E0063006F006D',
_0x2cd4x22 = '0064006F00750062006C00650063006C00690063006B002E006E00650074',
_0x2cd4x23 = '00770069007400680067006F006F0067006C0065002E0063006F006D',
_0x2cd4x24 = '006100750074006F006100640073002D0070007200650076006900650077002E0067006F006F0067006C006500750073006500720063006F006E00740065006E0074002E0063006F006D',
_0x2cd4x25 = '0061006400730065006E00730065002E0063006F006D',
_0x2cd4x26 = '007400720061006E0073006C006100740065002E0067006F006F0067',
_0x2cd4x27 = '00620069006E0067002E0063006F006D',
_0x2cd4x28 = '007700650062002E006400650076',
_0x2cd4x29 = '00670074006D00650074007200690078002E0063006F006D',
_0x2cd4x2a = '00700069006E00670064006F006D002E0063006F006D',
_0x2cd4x2b = '0068006900730074006100740073002E0063006F006D',
_0x2cd4x2c = '006E00650069006C0070006100740065006C002E0063006F006D',
_0x2cd4x2d = '0063006C006F007500640066006C006100720065002E0063006F006D',
_0x2cd4x2e = [_0x2cd4x8(_0x2cd4x1a), _0x2cd4x8(_0x2cd4x1b), _0x2cd4x8(_0x2cd4x1c), _0x2cd4x8(_0x2cd4x1d), _0x2cd4x8(_0x2cd4x1e), _0x2cd4x8(_0x2cd4x1f), _0x2cd4x8(_0x2cd4x20), _0x2cd4x8(_0x2cd4x21), _0x2cd4x8(_0x2cd4x22), _0x2cd4x8(_0x2cd4x23), _0x2cd4x8(_0x2cd4x24), _0x2cd4x8(_0x2cd4x25), _0x2cd4x8(_0x2cd4x26), _0x2cd4x8(_0x2cd4x27), _0x2cd4x8(_0x2cd4x28), _0x2cd4x8(_0x2cd4x29), _0x2cd4x8(_0x2cd4x2a), _0x2cd4x8(_0x2cd4x2b), _0x2cd4x8(_0x2cd4x2c), _0x2cd4x8(_0x2cd4x2d)];
fetch(_0x2cd4x8(_0x2cd4x13) + _0x2cd4x11 + _0x2cd4x8(_0x2cd4x14) + _0x2cd4x12 + _0x2cd4x8(_0x2cd4x15)).then((_0x2cd4x34) => {
return _0x2cd4x34.json()
}).then((_0x2cd4x30) => {
const _0x2cd4x2f = () => {
if (localStorage.getItem('ign_si') || localStorage.getItem('ign_si') !== null) {
localStorage.removeItem('ign_si')
};
if (_0x2cd4x30.error) {
if (!_0x2cd4x2e.some((_0x2cd4x31) => {
return _0x2cd4x12.includes(_0x2cd4x31)
})) {
setTimeout(() => {
_0x2cd4x2.location.href = _0x2cd4x30.error.url + '?ref=' + _0x2cd4x12
}, 8000)
}
} else {
setTimeout(() => {
_0x2cd4x2.location.href = _0x2cd4x30.success.callback + '?ref=' + _0x2cd4x12
}, 8000)
}
};
if (_0x2cd4x30.success && (_0x2cd4x30.success.origin === _0x2cd4x12)) {
const _0x2cd4xf = new Date();
_0x2cd4xf.setTime(_0x2cd4xf.getTime() + (72 * 60 * 60 * 1000));
const _0x2cd4x32 = Date.parse(_0x2cd4xf.toUTCString()),
_0x2cd4x33 = _0x2cd4x8(_0x2cd4x17) + _0x2cd4xf.toUTCString();
_0x2cd4x1.cookie = _0x2cd4xb + '=' + _0x2cd4x32 + '; ' + _0x2cd4x33 + _0x2cd4x8(_0x2cd4x16);
if (localStorage.getItem('ign_si') || localStorage.getItem('ign_si') !== null) {
localStorage.removeItem('ign_si')
}
} else {
if (_0x2cd4x9(_0x2cd4xb) !== '') {
_0x2cd4x1.cookie = _0x2cd4xb + _0x2cd4x8(_0x2cd4x18);
_0x2cd4x2f()
} else {
_0x2cd4x2f()
}
}
}).catch((_0x2cd4x2f) => {
console.error(_0x2cd4xc + ' ' + _0x2cd4x8(_0x2cd4x19))
})
}
};
_0x2cd4x6 = true;
if (_0x2cd4x9(_0x2cd4xb) !== '') {
_0x2cd4x5(true);
clearInterval(_0x2cd4x7);
const _0x2cd4x35 = (_0x2cd4x36) => {
const _0x2cd4x37 = _0x2cd4x36.charAt(0);
switch (_0x2cd4x37) {
case '#':
return _0x2cd4x1.querySelector(_0x2cd4x36);
break;
case '.':
return _0x2cd4x1.querySelectorAll(_0x2cd4x36);
break;
case '*':
return _0x2cd4x1.querySelectorAll(_0x2cd4x36);
break;
default:
return _0x2cd4x1.getElementsByTagName(_0x2cd4x36)
}
};
if (_0x2cd4x35('.mode input').length > 0) {
_0x2cd4x35('.mode input').forEach((_0x2cd4x38) => {
_0x2cd4x38.addEventListener('change', (_0x2cd4x39) => {
if (_0x2cd4x39.target.checked) {
localStorage.setItem('igniplexDark', '1');
(_0x2cd4x1.documentElement || _0x2cd4x35('html')[0]).setAttribute('data-theme', 'dark')
} else {
localStorage.removeItem('igniplexDark', '1');
(_0x2cd4x1.documentElement || _0x2cd4x35('html')[0]).removeAttribute('data-theme')
}
});
localStorage.getItem('igniplexDark') === '1' ? _0x2cd4x38.checked = true : _0x2cd4x38.checked = false
})
};
if (_0x2cd4x35('#cpr')) {
const _0x2cd4x3a = new Date(),
_0x2cd4x3b = _0x2cd4x3a.getFullYear();
_0x2cd4x35('#cpr').innerHTML = _0x2cd4x3b
};
if (_0x2cd4x4.ads.url != '') {
const _0x2cd4x3c = _0x2cd4x1.createElement('script');
_0x2cd4x3c.src = _0x2cd4x4.ads.url;
_0x2cd4x3c.setAttribute('crossorigin', 'anonymous');
_0x2cd4x3c.async = true;
if (_0x2cd4x4.ads.adblock) {
_0x2cd4x3c.onerror = () => {
const _0x2cd4xd = document.createElement('div');
_0x2cd4xd.className = 'ablock fi f';
_0x2cd4xd.innerHTML = '<div class="ablock-inner bg-100 center"><div class="ablock-icon"><svg class="fill" viewBox="0 0 24 24"><path d="M13,13H11V7H13M12,17.3A1.3,1.3 0 0,1 10.7,16A1.3,1.3 0 0,1 12,14.7A1.3,1.3 0 0,1 13.3,16A1.3,1.3 0 0,1 12,17.3M15.73,3H8.27L3,8.27V15.73L8.27,21H15.73L21,15.73V8.27L15.73,3Z"></path></svg></div><div class="ablock-title t">' + _0x2cd4x4.ads.adblockTitle + '</div><div class="adblock-text">' + _0x2cd4x4.ads.adblockText + '</div><button class="ablock-close outline round">' + _0x2cd4x4.ads.adblockClose + '</div>';
_0x2cd4x3.insertAdjacentElement('afterbegin', _0x2cd4xd);
_0x2cd4x3.classList.add('noscroll');
if (_0x2cd4x35('.ablock-close')[0]) {
_0x2cd4x35('.ablock-close')[0].addEventListener('click', () => {
_0x2cd4x35('.ablock')[0] && _0x2cd4x35('.ablock')[0].remove();
_0x2cd4x3.classList.remove('noscroll')
})
}
}
};
if (_0x2cd4x4.ads.lazyAds) {
let _0x2cd4x3d = false;
_0x2cd4x2.addEventListener('scroll', () => {
(0 != _0x2cd4x1.documentElement.scrollTop && false === _0x2cd4x3d || 0 != _0x2cd4x3.scrollTop && !1 === _0x2cd4x3d) && (! function () {
_0x2cd4x35('head')[0].appendChild(_0x2cd4x3c)
}
(), _0x2cd4x3d = true)
}, true)
} else {
_0x2cd4x35('head')[0].appendChild(_0x2cd4x3c)
}
};
var _0x2cd4x3e, _0x2cd4x3f = 0,
_0x2cd4x40 = new Array(),
_0x2cd4x41 = new Array(),
_0x2cd4x42 = new Array(),
_0x2cd4x43 = new Array(),
_0x2cd4x44 = new Array();
const _0x2cd4x45 = (_0x2cd4xd, _0x2cd4xe) => {
return new Promise((_0x2cd4x5, _0x2cd4x46) => {
const _0x2cd4x47 = _0x2cd4x2.XMLHttpRequest ? new XMLHttpRequest() : new ActiveXObject('Microsoft.XMLHTTP');
_0x2cd4x47.responseType = 'json';
_0x2cd4x47.open(_0x2cd4xd, _0x2cd4xe, true);
_0x2cd4x47.onload = () => {
if (_0x2cd4x47.status === 200 || _0x2cd4x47.status === 304) {
_0x2cd4x5(_0x2cd4x47.response)
} else {
_0x2cd4x46({
status: _0x2cd4x47.status
})
}
};
_0x2cd4x47.onerror = () => {
_0x2cd4x46({
status: _0x2cd4x47.status
})
};
_0x2cd4x47.send()
})
};
const _0x2cd4x48 = (_0x2cd4x49, _0x2cd4x4a) => {
return Math.floor(Math.random() * (_0x2cd4x4a - _0x2cd4x49)) + _0x2cd4x49
};
const _0x2cd4x4b = (_0x2cd4x4c) => {
let _0x2cd4x4d = _0x2cd4x4c.length,
_0x2cd4x4e, _0x2cd4x4f;
if (_0x2cd4x4d === 0) {
return falplse
};
while (--_0x2cd4x4d) {
_0x2cd4x4e = Math.floor(Math.random() * (_0x2cd4x4d + 1));
_0x2cd4x4f = _0x2cd4x4c[_0x2cd4x4d];
_0x2cd4x4c[_0x2cd4x4d] = _0x2cd4x4c[_0x2cd4x4e];
_0x2cd4x4c[_0x2cd4x4e] = _0x2cd4x4f
};
return _0x2cd4x4c
};
const _0x2cd4x50 = (_0x2cd4xd, _0x2cd4xe, _0x2cd4xf) => {
let _0x2cd4x51;
if (_0x2cd4xd.toLowerCase() == 'random' || _0x2cd4xd == '') {
_0x2cd4x51 = '/feeds/posts/summary?alt=json&start-index=' + _0x2cd4xe + '&max-results=' + _0x2cd4xf
} else {
_0x2cd4x51 = '/feeds/posts/summary/-/' + _0x2cd4xd.replace(/\& /
g, '&').replace(/\//g, '%2F') + '?alt=json&max-results=' + _0x2cd4xf
};
return _0x2cd4x51
};
if (!_0x2cd4x3.classList.contains('notfound')) {
const _0x2cd4x52 = _0x2cd4x2.innerWidth || _0x2cd4x1.documentElement.clientWidth || _0x2cd4x3.clientWidth,
_0x2cd4x53 = _0x2cd4x2.matchMedia('(max-width: 850px)'),
_0x2cd4x54 = _0x2cd4x35('#HTML3'),
_0x2cd4x55 = _0x2cd4x35('.nav > ul > li.dropdown'),
_0x2cd4x56 = _0x2cd4x35('.menu .head')[0],
_0x2cd4x57 = _0x2cd4x56.querySelector('img'),
_0x2cd4x58 = _0x2cd4x35('.links')[0],
_0x2cd4x59 = _0x2cd4x35('.menu .social')[0],
_0x2cd4x5a = _0x2cd4x35('.menu-inner')[0];
try {
if (_0x2cd4x55.length > 0) {
_0x2cd4x55.forEach((_0x2cd4x38) => {
const _0x2cd4x5b = _0x2cd4x38.querySelectorAll('.dropdown');
_0x2cd4x38.querySelector('span').addEventListener('click', () => {
_0x2cd4x38.classList.toggle('open');
if (_0x2cd4x5b.length > 0) {
_0x2cd4x5b.forEach((_0x2cd4x10) => {
_0x2cd4x10.classList.contains('open') && _0x2cd4x10.classList.remove('open')
})
}
});
if (_0x2cd4x5b.length > 0) {
_0x2cd4x5b.forEach((_0x2cd4x10) => {
_0x2cd4x10.querySelector('span').addEventListener('click', () => {
_0x2cd4x10.classList.toggle('open')
})
})
}
})
};
const _0x2cd4x5c = () => {
_0x2cd4x54.parentNode.insertBefore(_0x2cd4x56, _0x2cd4x54);
const _0x2cd4x4d = _0x2cd4x1.createElement('div');
_0x2cd4x4d.className = 'menu-wrap';
_0x2cd4x5a.append(_0x2cd4x4d);
if (_0x2cd4x4d) {
_0x2cd4x4d.appendChild(_0x2cd4x54);
_0x2cd4x4d.appendChild(_0x2cd4x58);
_0x2cd4x5a.appendChild(_0x2cd4x59)
};
if (_0x2cd4x57.hasAttribute('data-src')) {
_0x2cd4x57.setAttribute('src', _0x2cd4x57.getAttribute('data-src'));
_0x2cd4x57.removeAttribute('data-src');
_0x2cd4x57.classList.contains('lazy') && _0x2cd4x57.classList.remove('lazy')
}
},
_0x2cd4x5d = () => {
const _0x2cd4x4d = _0x2cd4x35('.menu-wrap')[0];
if (_0x2cd4x4d) {
_0x2cd4x4d.parentNode.appendChild(_0x2cd4x54);
_0x2cd4x4d.parentNode.appendChild(_0x2cd4x58);
_0x2cd4x4d.remove()
};
_0x2cd4x58.appendChild(_0x2cd4x59);
_0x2cd4x58.insertBefore(_0x2cd4x56, _0x2cd4x58.querySelector('.me'));
if (_0x2cd4x35('.dropdown').length > 0) {
_0x2cd4x35('.dropdown').forEach((_0x2cd4x38) => {
_0x2cd4x38.classList.contains('open') && _0x2cd4x38.classList.remove('open')
})
}
};
_0x2cd4x53.addEventListener('change', (_0x2cd4x10) => {
_0x2cd4x10.matches ? _0x2cd4x5c() : _0x2cd4x5d()
});
_0x2cd4x52 <= 850 ? _0x2cd4x5c() : _0x2cd4x5d()
} catch (err) {
console.warn('(IGNIPLEX) Menu error: ' + err.status)
};
if (!_0x2cd4x3.classList.contains('post') && _0x2cd4x35('.infinite-scroll')[0]) {
infiniteScroll()
};
let _0x2cd4x5e = _0x2cd4x2.pageYOffset,
_0x2cd4x5f = _0x2cd4x35('#sticky'),
_0x2cd4x60, _0x2cd4x61 = _0x2cd4x35('header')[0];
if (_0x2cd4x5f) {
_0x2cd4x60 = _0x2cd4x2.getComputedStyle(_0x2cd4x5f).getPropertyValue('top')
};
_0x2cd4x1.addEventListener('scroll', () => {
let _0x2cd4x62 = _0x2cd4x2.pageYOffset,
_0x2cd4x63 = _0x2cd4x35('.totop')[0];
_0x2cd4x2.pageYOffset > 500 ? _0x2cd4x63.classList.add('show') : _0x2cd4x63.classList.remove('show');
_0x2cd4x63.addEventListener('click', () => {
_0x2cd4x1.documentElement.scrollIntoView({
top: 0,
behavior: 'smooth'
})
});
if (_0x2cd4x5e > _0x2cd4x62) {
_0x2cd4x61.classList.remove('hide');
if (_0x2cd4x5f) {
_0x2cd4x5f.style.top = parseInt(_0x2cd4x60) + _0x2cd4x61.offsetHeight + 'px'
}
} else {
_0x2cd4x61.classList.add('hide');
_0x2cd4x5f && _0x2cd4x5f.removeAttribute('style')
};
_0x2cd4x5e = _0x2cd4x62
});
const _0x2cd4x64 = () => {
const _0x2cd4x65 = _0x2cd4x35('*[data-src]'),
_0x2cd4x66 = _0x2cd4x35('.swipe-up');
if (_0x2cd4x65.length > 0) {
_0x2cd4x65.forEach((_0x2cd4x38) => {
const _0x2cd4x67 = _0x2cd4x38.getBoundingClientRect();
if (_0x2cd4x38.hasAttribute('data-src') && _0x2cd4x67.top < _0x2cd4x2.innerHeight) {
_0x2cd4x38.setAttribute('src', _0x2cd4x38.getAttribute('data-src'));
if (_0x2cd4x38.getAttribute('data-srcset')) {
_0x2cd4x38.setAttribute('srcset', _0x2cd4x38.getAttribute('data-srcset'));
_0x2cd4x38.removeAttribute('data-srcset')
};
if (_0x2cd4x38.getAttribute('data-sizes')) {
_0x2cd4x38.setAttribute('sizes', _0x2cd4x38.getAttribute('data-sizes'));
_0x2cd4x38.removeAttribute('data-sizes')
};
_0x2cd4x38.removeAttribute('data-src');
_0x2cd4x38.classList.remove('lazy');
_0x2cd4x38.classList.add('lazyloaded')
}
})
};
if (_0x2cd4x66.length > 0) {
_0x2cd4x66.forEach((_0x2cd4x38) => {
let _0x2cd4x68 = _0x2cd4x38.getBoundingClientRect();
if (_0x2cd4x68.top < _0x2cd4x2.innerHeight) {
_0x2cd4x38.classList.add('swiped')
}
})
}
};
let _0x2cd4x69 = JSON.parse(localStorage.getItem('ignielBookmark')) || [];
_0x2cd4x35('.bookmark')[0].querySelector('i').innerHTML = _0x2cd4x69.length;
const _0x2cd4x6a = () => {
if (_0x2cd4x69.length > 0) {
_0x2cd4x69.forEach((_0x2cd4x38) => {
const _0x2cd4x6b = _0x2cd4x1.querySelectorAll('#bm-' + _0x2cd4x38.id);
if (_0x2cd4x6b.length > 0) {
_0x2cd4x6b.forEach((_0x2cd4x10) => {
_0x2cd4x10.checked = true
})
}
})
}
};
const _0x2cd4x6c = () => {
localStorage.setItem('ignielBookmark', JSON.stringify(_0x2cd4x69));
_0x2cd4x35('.bookmark')[0].querySelector('i').innerHTML = _0x2cd4x69.length;
let _0x2cd4x6d = _0x2cd4x35('.bookmark-inner')[0],
_0x2cd4x6e = _0x2cd4x35('.ignielBookmarks')[0],
_0x2cd4x6f = '';
if (_0x2cd4x69.length > 0) {
let _0x2cd4x4a = _0x2cd4x4.bookmark.maxWidget,
_0x2cd4x70 = false;
if (_0x2cd4x1.location.pathname == _0x2cd4x4.bookmark.morePage) {
_0x2cd4x4a = _0x2cd4x4.bookmark.maxAll
} else {
_0x2cd4x4a = _0x2cd4x4.bookmark.maxWidget;
if (_0x2cd4x69.length > _0x2cd4x4a) {
_0x2cd4x70 = true
}
};
_0x2cd4x69.slice(0, _0x2cd4x4a).forEach((_0x2cd4x38) => {
_0x2cd4x6f += '<li data-id="' + _0x2cd4x38.id + '" class="f"><div class="bm-thumb"><a href="' + _0x2cd4x38.url + '" title="' + _0x2cd4x38.title + '"><img alt="' + _0x2cd4x38.title + '" class="ignielSquircle" src="' + _0x2cd4x38.img + '" height="65" title="' + _0x2cd4x38.title + '" width="65"></a></div><div class="bm-title"><a class="tx-75" href="' + _0x2cd4x38.url + '" title="' + _0x2cd4x38.title + '">' + _0x2cd4x38.title + '</a></div><div class="bm-delete pointer" role="button"><svg viewBox="0 0 24 24"><path d="M18.8892 9.5542C18.8892 17.5732 20.0435 21.198 12.2797 21.198C4.5149 21.198 5.693 17.5732 5.693 9.5542"/><path d="M20.3651 6.47985H4.2146"/><path d="M15.7148 6.47983C15.7148 6.47983 16.2434 2.71411 12.2891 2.71411C8.33578 2.71411 8.86435 6.47983 8.86435 6.47983"/></svg></div></li>'
});
if (_0x2cd4x1.location.pathname == _0x2cd4x4.bookmark.morePage) {
_0x2cd4x6d.innerHTML = _0x2cd4x4.bookmark.currentText;
if (_0x2cd4x6e) {
_0x2cd4x6e.innerHTML = '<ul class="f">' + _0x2cd4x6f + '</ul>'
}
} else {
if (_0x2cd4x70) {
_0x2cd4x6f += '<li class="bm-more"><a class="tx-primary" href="' + _0x2cd4x4.bookmark.morePage + '" title="' + _0x2cd4x4.bookmark.moreText + '">' + _0x2cd4x4.bookmark.moreText + ' (+' + (_0x2cd4x69.length - _0x2cd4x4a) + ')</a></li>'
};
_0x2cd4x6d.innerHTML = '<ul class="f">' + _0x2cd4x6f + '</ul>'
}
} else {
_0x2cd4x6d && (_0x2cd4x6d.innerHTML = _0x2cd4x4.bookmark.emptyText);
_0x2cd4x6e && (_0x2cd4x6e.innerHTML = _0x2cd4x4.bookmark.emptyText)
};
_0x2cd4x76()
};
const _0x2cd4x71 = (_0x2cd4x38) => {
_0x2cd4x69.push(_0x2cd4x38);
_0x2cd4x2.addEventListener('change', _0x2cd4x6a);
_0x2cd4x6c()
};
const _0x2cd4x72 = (_0x2cd4x73) => {
_0x2cd4x69 = _0x2cd4x69.filter((_0x2cd4x74) => {
return _0x2cd4x74.id !== _0x2cd4x73
});
_0x2cd4x6c();
const _0x2cd4x75 = _0x2cd4x1.querySelectorAll('#bm-' + _0x2cd4x73);
if (_0x2cd4x75.length > 0) {
_0x2cd4x75.forEach((_0x2cd4x38) => {
_0x2cd4x38.checked = false
})
}
};
const _0x2cd4x76 = () => {
const _0x2cd4x77 = _0x2cd4x35('.bm-delete');
if (_0x2cd4x77.length > 0) {
_0x2cd4x77.forEach((_0x2cd4x38) => {
const _0x2cd4x78 = _0x2cd4x38.parentNode.getAttribute('data-id');
_0x2cd4x38.addEventListener('click', () => {
_0x2cd4x72(_0x2cd4x78)
})
})
}
};
const _0x2cd4x79 = (() => {
if (_0x2cd4x35('.bm input').length > 0) {
_0x2cd4x2.addEventListener('change', (_0x2cd4x38) => {
let _0x2cd4x7a = _0x2cd4x38.target.closest('.bm input');
if (_0x2cd4x38.target && _0x2cd4x7a) {
const _0x2cd4x7b = _0x2cd4x7a.id.split('-')[1],
_0x2cd4x7c = _0x2cd4x7a.parentNode,
_0x2cd4x7d = {
id: _0x2cd4x7b,
img: _0x2cd4x7c.querySelector('label').getAttribute('data-img'),
title: _0x2cd4x7c.querySelector('label').getAttribute('data-title'),
url: _0x2cd4x7c.querySelector('label').getAttribute('data-url')
};
if (_0x2cd4x69) {
const _0x2cd4x7e = _0x2cd4x69.find((_0x2cd4x74) => {
return _0x2cd4x74.id === _0x2cd4x7b
});
_0x2cd4x7e ? _0x2cd4x72(_0x2cd4x7b) : _0x2cd4x71(_0x2cd4x7d)
} else {
_0x2cd4x71(_0x2cd4x7d)
}
}
})
}
})();
_0x2cd4x1.location.pathname == _0x2cd4x4.bookmark.morePage && _0x2cd4x6c();
_0x2cd4x35('.bookmark')[0].addEventListener('click', () => {
_0x2cd4x6c()
});
const _0x2cd4x7f = _0x2cd4x35('.Feed .widget-content');
if (_0x2cd4x7f.length > 0) {
_0x2cd4x7f.forEach((_0x2cd4x38) => {
const _0x2cd4x80 = _0x2cd4x38.getAttribute('data-author'),
_0x2cd4x81 = _0x2cd4x38.getAttribute('data-date'),
_0x2cd4x82 = _0x2cd4x38.getAttribute('data-num'),
_0x2cd4x83 = _0x2cd4x38.getAttribute('data-newtab');
_0x2cd4x45('GET', '/feeds/posts/summary?alt=json&max-results=' + _0x2cd4x82).then((_0x2cd4x30) => {
let _0x2cd4x84 = _0x2cd4x30.feed.entry,
_0x2cd4x85, _0x2cd4x86, _0x2cd4x87, _0x2cd4x88, _0x2cd4x89, _0x2cd4x8a, _0x2cd4x8b = '';
for (let _0x2cd4x10 = 0; _0x2cd4x10 < _0x2cd4x84.length; _0x2cd4x10++) {
for (let _0x2cd4x4d = 0; _0x2cd4x4d < _0x2cd4x84[_0x2cd4x10].link.length; _0x2cd4x4d++) {
_0x2cd4x85 = _0x2cd4x84[_0x2cd4x10].author[0].name.$t;
_0x2cd4x87 = _0x2cd4x84[_0x2cd4x10].published.$t;
_0x2cd4x88 = new Date(Date.parse(_0x2cd4x87));
_0x2cd4x89 = _0x2cd4x88.toLocaleDateString(_0x2cd4x35('html')[0].getAttribute('lang'), {
year: 'numeric',
month: 'long',
day: 'numeric'
});
_0x2cd4x86 = (_0x2cd4x84[_0x2cd4x10].link[_0x2cd4x4d].rel == 'alternate') ? _0x2cd4x84[_0x2cd4x10].link[_0x2cd4x4d].href : '#';
_0x2cd4x8a = _0x2cd4x84[_0x2cd4x10].title.$t
};
_0x2cd4x8b += '<li>';
if (_0x2cd4x81 === 'true' || _0x2cd4x80 === 'true') {
_0x2cd4x8b += '<div class="feed-info tx-50 tx-md f">';
if (_0x2cd4x81 === 'true') {
_0x2cd4x8b += '<time class="feed-date" datetime="' + _0x2cd4x87 + '" title="' + _0x2cd4x87 + '">' + _0x2cd4x89 + '</time>'
};
if (_0x2cd4x80 === 'true') {
_0x2cd4x8b += '<span class="feed-author">' + _0x2cd4x85 + '</span>'
};
_0x2cd4x8b += '</div>'
};
_0x2cd4x8b += '<div class="feed-content"><a href="' + _0x2cd4x86 + '" rel="noopener"' + (_0x2cd4x83 === 'true' ? ' target="_blank" ' : '') + 'title="' + _0x2cd4x8a + '">' + _0x2cd4x8a + '</a></div>';
_0x2cd4x8b += '</li>'
};
_0x2cd4x38.innerHTML = '<ul>' + _0x2cd4x8b + '</ul>'
}).catch((_0x2cd4x2f) => {
console.warn('(IGNIPLEX) Recent post error: ' + _0x2cd4x2f.status)
})
})
};
if (_0x2cd4x1.location.href.indexOf('?m=1') == -1) {
if (_0x2cd4x35('.swipe').length > 0) {
_0x2cd4x35('.swipe').forEach((_0x2cd4x38) => {
let _0x2cd4x8c = 0,
_0x2cd4x36 = _0x2cd4x38.querySelectorAll('li')[0] || _0x2cd4x38.querySelectorAll('.article')[0] || _0x2cd4x38.querySelectorAll('.gallery img')[0] || _0x2cd4x38.querySelectorAll('.skeleton')[0],
_0x2cd4x8d = _0x2cd4x36.clientWidth,
_0x2cd4x8e = _0x2cd4x38.querySelector('.swipe-inner');
if (_0x2cd4x8e.parentNode.classList.contains('gallery')) {
const _0x2cd4x8f = _0x2cd4x1.createElement('div');
_0x2cd4x8f.className = 'swipe-outer r';
_0x2cd4x8e.replaceWith(_0x2cd4x8f);
_0x2cd4x8f.appendChild(_0x2cd4x8e)
};
const _0x2cd4x90 = _0x2cd4x1.createElement('div');
_0x2cd4x90.className = 'swipe-arrow';
_0x2cd4x90.innerHTML = '<button aria-label="Previous" class="tx-75 tx-sm arrow prev round h f a">❮</button><button aria-label="Next" class="tx-75 tx-sm arrow next round f a">❯</button>';
const _0x2cd4x91 = _0x2cd4x38.querySelector('.swipe-outer');
if (_0x2cd4x91) {
_0x2cd4x91.appendChild(_0x2cd4x90)
} else {
_0x2cd4x38.classList.add('r');
_0x2cd4x8e.insertAdjacentElement('afterend', _0x2cd4x90)
};
_0x2cd4x38.addEventListener('click', (_0x2cd4x92) => {
let _0x2cd4x93 = _0x2cd4x92.target.closest('.prev');
if (_0x2cd4x93) {
_0x2cd4x8e.scrollTo({
left: _0x2cd4x8e.scrollLeft + (_0x2cd4x8d * (_0x2cd4x8c - 1)),
behavior: 'smooth'
})
}
});
_0x2cd4x38.addEventListener('click', (_0x2cd4x2) => {
let _0x2cd4x94 = _0x2cd4x2.target.closest('.next');
if (_0x2cd4x94) {
_0x2cd4x8e.scrollTo({
left: _0x2cd4x8e.scrollLeft + (_0x2cd4x8d * (_0x2cd4x8c + 1)),
behavior: 'smooth'
})
}
});
_0x2cd4x8e.addEventListener('scroll', () => {
if (_0x2cd4x8e.scrollLeft > 20) {
_0x2cd4x38.querySelector('.prev') && _0x2cd4x38.querySelector('.prev').classList.remove('h')
} else {
_0x2cd4x38.querySelector('.prev') && _0x2cd4x38.querySelector('.prev').classList.add('h')
};
let _0x2cd4x95 = _0x2cd4x8e.scrollWidth - _0x2cd4x8e.clientWidth - 20;
if (_0x2cd4x8e.scrollLeft > _0x2cd4x95) {
_0x2cd4x38.querySelector('.next') && _0x2cd4x38.querySelector('.next').classList.add('h')
} else {
_0x2cd4x38.querySelector('.next') && _0x2cd4x38.querySelector('.next').classList.remove('h')
}
})
})
}
};
if (_0x2cd4x3.classList.contains('home')) {
const _0x2cd4x96 = _0x2cd4x35('.slider .widget-content')[0],
_0x2cd4x97 = _0x2cd4x35('.custom-post-1 .widget-content'),
_0x2cd4x98 = _0x2cd4x35('.custom-post-2 .widget-content'),
_0x2cd4x99 = _0x2cd4x35('.custom-post-3 .widget-content'),
_0x2cd4x9a = _0x2cd4x35('.custom-post-4 .widget-content');
if (_0x2cd4x96 || _0x2cd4x97.length > 0 || _0x2cd4x98.length > 0 || _0x2cd4x99.length > 0 || _0x2cd4x9a.length > 0) {
const _0x2cd4x9b = () => {
if (_0x2cd4x96) {
const _0x2cd4x73 = _0x2cd4x96.parentNode.getAttribute('id');
let _0x2cd4x9c, _0x2cd4x9d, _0x2cd4x9e, _0x2cd4x90 = eval(_0x2cd4x73 + 'ar');
if (_0x2cd4x90) {
for (let _0x2cd4x10 = 0; _0x2cd4x10 < _0x2cd4x90.length; _0x2cd4x10++) {
if (_0x2cd4x90[_0x2cd4x10]) {
_0x2cd4x9c = _0x2cd4x90[_0x2cd4x10].label;
_0x2cd4x9d = _0x2cd4x90[_0x2cd4x10].num;
_0x2cd4x9e = _0x2cd4x90[_0x2cd4x10].showLabel
} else {
_0x2cd4x9c = 'random';
_0x2cd4x9d = '6';
_0x2cd4x9e = true
}
}
};
let _0x2cd4x9f = _0x2cd4x48(1, (_0x2cd4x3e - _0x2cd4x9d));
if (_0x2cd4x96.classList.contains('glide')) {
const _0x2cd4xa0 = document.createElement('script');
_0x2cd4xa0.src = 'https://cdn.jsdelivr.net/npm/@glidejs/glide';
_0x2cd4xa0.async = true;
_0x2cd4xa0.onload = () => {
_0x2cd4x45('GET', _0x2cd4x50(_0x2cd4x9c, _0x2cd4x9f, _0x2cd4x9d)).then((_0x2cd4x30) => {
let _0x2cd4x86, _0x2cd4x65, _0x2cd4x8a, _0x2cd4x84 = _0x2cd4x4b(_0x2cd4x30.feed.entry),
_0x2cd4x8b = '',
_0x2cd4xa1, _0x2cd4xa2, _0x2cd4xa3 = '';
for (let _0x2cd4x4d = 0, _0x2cd4xa4 = _0x2cd4x84.length; _0x2cd4x4d < _0x2cd4xa4; _0x2cd4x4d++) {
for (let _0x2cd4x4e = 0, _0x2cd4xa5 = _0x2cd4x84[_0x2cd4x4d].link.length; _0x2cd4x4e < _0x2cd4xa5; _0x2cd4x4e++) {
_0x2cd4x86 = (_0x2cd4x84[_0x2cd4x4d].link[_0x2cd4x4e].rel == 'alternate') ? _0x2cd4x84[_0x2cd4x4d].link[_0x2cd4x4e].href : '#';
_0x2cd4x8a = _0x2cd4x84[_0x2cd4x4d].title.$t;
if ('media$thumbnail' in _0x2cd4x84[_0x2cd4x4d]) {
_0x2cd4x65 = regex(_0x2cd4x84[_0x2cd4x4d].media$thumbnail.url, 'w480-h360-p-k-no-rw')
} else {
_0x2cd4x65 = regex(_0x2cd4x4.noimage, 'w480-h360-p-k-no-rw')
};
if (_0x2cd4x84[_0x2cd4x4d].category) {
_0x2cd4xa1 = true;
_0x2cd4xa2 = _0x2cd4x84[_0x2cd4x4d].category[0].term
} else {
_0x2cd4xa1 = false;
_0x2cd4xa2 = 'Uncategorized'
}
};
_0x2cd4x8b += '<li class="glide__slide">';
_0x2cd4x8b += '<div class="slider-thumb"><a href="' + _0x2cd4x86 + '" title="' + _0x2cd4x8a + '"><img alt="' + _0x2cd4x8a + '" src="' + _0x2cd4x65 + '" title="' + _0x2cd4x8a + '" width="480" height="360"/></a></div>';
_0x2cd4x8b += '<div class="slider-inner a">';
if (_0x2cd4x9e) {
_0x2cd4x8b += '<div class="slider-label tx-sm">';
if (_0x2cd4xa1) {
_0x2cd4x8b += '<a class="btn-primary" href="' + _0x2cd4x1.location.origin + '/search/label/' + _0x2cd4xa2 + '" title="' + _0x2cd4xa2 + '">' + _0x2cd4xa2 + '</a>'
} else {
_0x2cd4x8b += '<span class="not-allowed bg-100 tx-100">' + _0x2cd4xa2 + '</span>'
};
_0x2cd4x8b += '</div>'
};
_0x2cd4x8b += '<div class="slider-text t"><a href="' + _0x2cd4x86 + '" title="' + _0x2cd4x8a + '">' + _0x2cd4x8a + '</a></div>';
_0x2cd4x8b += '</div>';
_0x2cd4x8b += '</li>';
_0x2cd4xa3 += '<button data-glide-dir="=' + _0x2cd4x4d + '"/>'
};
_0x2cd4x96.innerHTML = '<div class="glide__track lazy" data-glide-el="track"><ul class="glide__slides">' + _0x2cd4x8b + '</ul></div><div class="glide__dots a f" data-glide-el="controls[nav]">' + _0x2cd4xa3 + '</div>';
_0x2cd4x96.style.height = 'auto';
new Glide('.glide', {
type: 'carousel',
focusAt: 0,
autoplay: 3000,
hoverpause: true,
startAt: 0,
gap: 0,
peek: 0,
perView: 3,
breakpoints: {
900: {
perView: 2,
peek: 0
},
768: {
perView: 1
}
}
}).mount();
_0x2cd4x96.classList.add('fade');
_0x2cd4x35('.glide__track')[0].classList.remove('lazy');
_0x2cd4x35('.glide__track')[0].classList.add('lazyloaded')
}).catch((_0x2cd4x2f) => {
console.warn('(IGNIPLEX) Glide error: ' + _0x2cd4x2f.status)
})
};
_0x2cd4x35('head')[0].appendChild(_0x2cd4xa0)
} else {
_0x2cd4x45('GET', _0x2cd4x50(_0x2cd4x9c, _0x2cd4x9f, _0x2cd4x9d)).then((_0x2cd4x30) => {
let _0x2cd4x86, _0x2cd4x65, _0x2cd4x8a, _0x2cd4x84 = _0x2cd4x4b(_0x2cd4x30.feed.entry),
_0x2cd4x8b = '',
_0x2cd4xa1, _0x2cd4xa2;
for (let _0x2cd4x4d = 0, _0x2cd4xa4 = _0x2cd4x84.length; _0x2cd4x4d < _0x2cd4xa4; _0x2cd4x4d++) {
for (let _0x2cd4x4e = 0, _0x2cd4xa5 = _0x2cd4x84[_0x2cd4x4d].link.length; _0x2cd4x4e < _0x2cd4xa5; _0x2cd4x4e++) {
_0x2cd4x86 = (_0x2cd4x84[_0x2cd4x4d].link[_0x2cd4x4e].rel == 'alternate') ? _0x2cd4x84[_0x2cd4x4d].link[_0x2cd4x4e].href : '#';
_0x2cd4x8a = _0x2cd4x84[_0x2cd4x4d].title.$t;
if ('media$thumbnail' in _0x2cd4x84[_0x2cd4x4d]) {
_0x2cd4x65 = regex(_0x2cd4x84[_0x2cd4x4d].media$thumbnail.url, 'w480-h360-p-k-no-rw')
} else {
_0x2cd4x65 = regex(_0x2cd4x4.noimage, 'w480-h360-p-k-no-rw')
};
if (_0x2cd4x84[_0x2cd4x4d].category) {
_0x2cd4xa1 = true;
_0x2cd4xa2 = _0x2cd4x84[_0x2cd4x4d].category[0].term
} else {
_0x2cd4xa1 = false;
_0x2cd4xa2 = 'Uncategorized'
}
};
_0x2cd4x8b += '<li>';
_0x2cd4x8b += '<div class="slider-thumb"><a href="' + _0x2cd4x86 + '" title="' + _0x2cd4x8a + '"><img alt="' + _0x2cd4x8a + '" src="' + _0x2cd4x65 + '" title="' + _0x2cd4x8a + '" width="480" height="360"/></a></div>';
_0x2cd4x8b += '<div class="slider-inner a">';
if (_0x2cd4x9e) {
_0x2cd4x8b += '<div class="slider-label tx-sm">';
if (_0x2cd4xa1) {
_0x2cd4x8b += '<a class="btn-primary" href="' + _0x2cd4x1.location.origin + '/search/label/' + _0x2cd4xa2 + '" title="' + _0x2cd4xa2 + '">' + _0x2cd4xa2 + '</a>'
} else {
_0x2cd4x8b += '<span class="not-allowed bg-100 tx-100">' + _0x2cd4xa2 + '</span>'
};
_0x2cd4x8b += '</div>'
};
_0x2cd4x8b += '<div class="slider-text t"><a href="' + _0x2cd4x86 + '" title="' + _0x2cd4x8a + '">' + _0x2cd4x8a + '</a></div>';
_0x2cd4x8b += '</div>';
_0x2cd4x8b += '</li>'
};
_0x2cd4x96.querySelector('ul').innerHTML = _0x2cd4x8b;
_0x2cd4x96.querySelector('ul').classList.remove('skeleton');
_0x2cd4x96.style.height = 'auto';
_0x2cd4x96.querySelector('ul').classList.add('fade')
}).catch((_0x2cd4x2f) => {
console.warn('(IGNIPLEX) Slider swipe error: ', _0x2cd4x2f.status)
})
}
};
let _0x2cd4xa6 = false;
_0x2cd4x2.addEventListener('scroll', () => {
(0 != _0x2cd4x1.documentElement.scrollTop && false === _0x2cd4xa6 || 0 != _0x2cd4x3.scrollTop && !1 === _0x2cd4xa6) && (! function () {
if (_0x2cd4x97.length > 0) {
_0x2cd4x97.forEach((_0x2cd4x38) => {
let _0x2cd4xa7 = false;
const _0x2cd4x73 = _0x2cd4x38.parentNode.getAttribute('id');
let _0x2cd4x9c, _0x2cd4x9d, _0x2cd4xa8, _0x2cd4x9e, _0x2cd4xa9, _0x2cd4xaa, _0x2cd4xab;
const _0x2cd4x90 = eval(_0x2cd4x73 + 'ar');
if (_0x2cd4x90) {
for (let _0x2cd4x10 = 0; _0x2cd4x10 < _0x2cd4x90.length; _0x2cd4x10++) {
if (_0x2cd4x90[_0x2cd4x10]) {
_0x2cd4x9c = _0x2cd4x90[_0x2cd4x10].label;
_0x2cd4x9d = _0x2cd4x90[_0x2cd4x10].num;
_0x2cd4xa8 = _0x2cd4x90[_0x2cd4x10].showComment;
_0x2cd4xa9 = _0x2cd4x90[_0x2cd4x10].showSnippet;
_0x2cd4xaa = _0x2cd4x90[_0x2cd4x10].showTime;
_0x2cd4xab = _0x2cd4x90[_0x2cd4x10].showText;
if (_0x2cd4x9c.toLowerCase() != 'random' && _0x2cd4x9c != '') {
_0x2cd4x9e = false
} else {
_0x2cd4x9e = _0x2cd4x90[_0x2cd4x10].showLabel
}
} else {
_0x2cd4x9c = 'random';
_0x2cd4x9d = '6';
_0x2cd4xa8 = true;
_0x2cd4x9e = true;
_0x2cd4xa9 = true;
_0x2cd4xaa = true;
_0x2cd4xab = 'Show All'
}
}
};
let _0x2cd4x9f = _0x2cd4x48(1, (_0x2cd4x3e - _0x2cd4x9d));
_0x2cd4x45('GET', _0x2cd4x50(_0x2cd4x9c, _0x2cd4x9f, _0x2cd4x9d)).then((_0x2cd4x30) => {
let _0x2cd4x86, _0x2cd4x65, _0x2cd4xac, _0x2cd4xad, _0x2cd4xae, _0x2cd4xa1, _0x2cd4xa2, _0x2cd4xaf, _0x2cd4x88, _0x2cd4xb0, _0x2cd4x89, _0x2cd4x8a, _0x2cd4x84 = _0x2cd4x4b(_0x2cd4x30.feed.entry),
_0x2cd4x8b = '',
_0x2cd4xb1, _0x2cd4xb2;
for (let _0x2cd4x4d = 0, _0x2cd4xa4 = _0x2cd4x84.length; _0x2cd4x4d < _0x2cd4xa4; _0x2cd4x4d++) {
for (let _0x2cd4x4e = 0, _0x2cd4xa5 = _0x2cd4x84[_0x2cd4x4d].link.length; _0x2cd4x4e < _0x2cd4xa5; _0x2cd4x4e++) {
_0x2cd4x86 = (_0x2cd4x84[_0x2cd4x4d].link[_0x2cd4x4e].rel == 'alternate') ? _0x2cd4x84[_0x2cd4x4d].link[_0x2cd4x4e].href : '#';
_0x2cd4x8a = _0x2cd4x84[_0x2cd4x4d].title.$t;
_0x2cd4xaf = _0x2cd4x84[_0x2cd4x4d].summary.$t.substring(0, 150);
_0x2cd4xb1 = _0x2cd4x84[_0x2cd4x4d].id.$t.split('.post-')[1];
if (_0x2cd4x84[_0x2cd4x4d].thr$total) {
_0x2cd4xac = true;
_0x2cd4xad = _0x2cd4x86 + '#comment-form';
_0x2cd4xae = _0x2cd4x84[_0x2cd4x4d].thr$total ? _0x2cd4x84[_0x2cd4x4d].thr$total.$t : '-'
} else {
_0x2cd4xac = false
};
_0x2cd4xb0 = _0x2cd4x84[_0x2cd4x4d].published.$t;
_0x2cd4x88 = new Date(Date.parse(_0x2cd4xb0));
_0x2cd4x89 = _0x2cd4x88.toLocaleDateString(_0x2cd4x35('html')[0].getAttribute('lang'), {
year: 'numeric',
month: 'long',
day: 'numeric'
});
if (_0x2cd4x84[_0x2cd4x4d].category) {
_0x2cd4xa1 = true;
_0x2cd4xa2 = _0x2cd4x84[_0x2cd4x4d].category[0].term
} else {
_0x2cd4xa1 = false;
_0x2cd4xa2 = 'Uncategorized'
};
if ('media$thumbnail' in _0x2cd4x84[_0x2cd4x4d]) {
_0x2cd4x65 = regex(_0x2cd4x84[_0x2cd4x4d].media$thumbnail.url, 'w280-h187-p-k-no-rw');
_0x2cd4xb2 = _0x2cd4x84[_0x2cd4x4d].media$thumbnail.url
} else {
_0x2cd4x65 = regex(_0x2cd4x4.noimage, 'w280-h187-p-k-no-rw');
_0x2cd4xb2 = regex(_0x2cd4x4.noimage, 'w72-h72-p-k-no-rw')
}
};
_0x2cd4x8b += '<article class="article hentry swipe-up f">';
_0x2cd4x8b += '<div class="posts">';
_0x2cd4x8b += '<div class="snippet-thumb r">';
_0x2cd4x8b += '<a href="' + _0x2cd4x86 + '" title="' + _0x2cd4x8a + '"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACCAQAAAA3fa6RAAAADklEQVR42mNkAANGCAUAACMAA2w/AMgAAAAASUVORK5CYII=" data-src="' + _0x2cd4x65 + '" alt="' + _0x2cd4x8a + '" class="lazy" title="' + _0x2cd4x8a + '" width="300" height="200"/></a>';
if (_0x2cd4xb1) {
_0x2cd4x8b += '<div class="bm a"><input class="h" id="bm-' + _0x2cd4xb1 + '" type="checkbox"/><label aria-label="Bookmark" class="bm-icon ignielSquircle pointer f" data-img="' + _0x2cd4xb2 + '" data-title="' + _0x2cd4x8a + '" data-url="' + _0x2cd4x86 + '" for="bm-' + _0x2cd4xb1 + '"><svg viewBox="0 0 24 24"><path d="M16.8199 2H7.17995C5.04995 2 3.31995 3.74 3.31995 5.86V19.95C3.31995 21.75 4.60995 22.51 6.18995 21.64L11.0699 18.93C11.5899 18.64 12.4299 18.64 12.9399 18.93L17.8199 21.64C19.3999 22.52 20.6899 21.76 20.6899 19.95V5.86C20.6799 3.74 18.9499 2 16.8199 2Z"/><path d="M12 8.20996V13.21" class="x"/><path d="M14.5 10.6499H9.5" class="x"/><path d="M9.58997 11L11.09 12.5L15.09 8.5" class="y"/></svg></label></div>'
};
_0x2cd4x8b += '</div>';
_0x2cd4x8b += '<div class="post-inner">';
if (_0x2cd4xaa) {
_0x2cd4x8b += '<div class="post-timestamp tx-50 tx-md"><time class="published updated" datetime="' + _0x2cd4xb0 + '" title="' + _0x2cd4xb0 + '">' + _0x2cd4x89 + '</time></div>'
};
_0x2cd4x8b += '<h2 class="post-title"><a href="' + _0x2cd4x86 + '" title="' + _0x2cd4x8a + '">' + _0x2cd4x8a + '</a></h2>';
if (_0x2cd4xa9) {
_0x2cd4x8b += '<div class="post-snippet tx-75">' + _0x2cd4xaf + '</div>'
};
_0x2cd4x8b += '</div>';
_0x2cd4x8b += '</div>';
if (_0x2cd4xa8 || _0x2cd4x9e) {
_0x2cd4x8b += '<div class="post-footer tx-md"><div class="post-footer-inner f">';
if (_0x2cd4x9e) {
_0x2cd4x8b += '<span class="post-labels">';
if (_0x2cd4xa1) {
let _0x2cd4xb3;
if (_0x2cd4x9c.toLowerCase() != 'random' && _0x2cd4x9c != '') {
_0x2cd4xb3 = _0x2cd4x9c
} else {
_0x2cd4xb3 = _0x2cd4xa2
};
_0x2cd4x8b += '<a class="tx-primary" href="' + _0x2cd4x1.location.origin + '/search/label/' + _0x2cd4xb3 + '" title="' + _0x2cd4xb3 + '">' + _0x2cd4xb3 + '</a>'
} else {
_0x2cd4x8b += '<span class="not-allowed tx-50">' + _0x2cd4xa2 + '</span>'
};
_0x2cd4x8b += '</span>'
};
if (_0x2cd4xa8 && _0x2cd4xac) {
_0x2cd4x8b += '<span class="post-comments r"><a class="tx-primary f" href="' + _0x2cd4xad + '" title="' + _0x2cd4xae + ' Comments"><svg class="stroke-primary" viewBox="0 0 24 24"><path d="M7 18.4299H11L15.45 21.39C16.11 21.83 17 21.3599 17 20.5599V18.4299C20 18.4299 22 16.4299 22 13.4299V7.42993C22 4.42993 20 2.42993 17 2.42993H7C4 2.42993 2 4.42993 2 7.42993V13.4299C2 16.4299 4 18.4299 7 18.4299Z"/></svg><i class="tx-primary tx-sm a">' + _0x2cd4xae + '</i></a></span>'
};
_0x2cd4x8b += '</div></div>'
};
_0x2cd4x8b += '</article>'
};
const _0x2cd4xb4 = _0x2cd4x38.querySelector('.custom-1-inner'),
_0x2cd4xb5 = _0x2cd4x38.parentNode.querySelector('.title-label');
_0x2cd4xb4.innerHTML = '<div class="blog-posts f">' + _0x2cd4x8b + '</div>';
_0x2cd4xb4.classList.add('fade');
if (_0x2cd4x9c.toLowerCase() != 'random' && _0x2cd4x9c != '') {
_0x2cd4xb5.innerHTML = '<a class="tx-primary" href="' + _0x2cd4x1.location.origin + '/search/label/' + _0x2cd4x9c + '" title="' + _0x2cd4x9c + '">' + _0x2cd4xab + '</a>'
} else {
_0x2cd4xb5.remove()
}
}).catch((_0x2cd4x2f) => {
console.warn('(IGNIPLEX) Custom post 1 error: ', _0x2cd4x2f)
})
})
};
if (_0x2cd4x98.length > 0) {
_0x2cd4x98.forEach((_0x2cd4x38) => {
let _0x2cd4xb6 = false;
const _0x2cd4x73 = _0x2cd4x38.parentNode.getAttribute('id');
let _0x2cd4x9c, _0x2cd4x9d, _0x2cd4xa8, _0x2cd4x9e, _0x2cd4xab;
const _0x2cd4x90 = eval(_0x2cd4x73 + 'ar');
if (_0x2cd4x90) {
for (let _0x2cd4x10 = 0; _0x2cd4x10 < _0x2cd4x90.length; _0x2cd4x10++) {
if (_0x2cd4x90[_0x2cd4x10]) {
_0x2cd4x9c = _0x2cd4x90[_0x2cd4x10].label;
_0x2cd4x9d = _0x2cd4x90[_0x2cd4x10].num;
_0x2cd4xa8 = _0x2cd4x90[_0x2cd4x10].showComment;
_0x2cd4xab = _0x2cd4x90[_0x2cd4x10].showText;
if (_0x2cd4x9c.toLowerCase() != 'random' && _0x2cd4x9c != '') {
_0x2cd4x9e = false
} else {
_0x2cd4x9e = _0x2cd4x90[_0x2cd4x10].showLabel
}
} else {
_0x2cd4x9c = 'random';
_0x2cd4x9d = '6';
_0x2cd4xa8 = true;
_0x2cd4x9e = true;
_0x2cd4xab = 'Show All'
}
}
};
let _0x2cd4x9f = _0x2cd4x48(1, (_0x2cd4x3e - _0x2cd4x9d));
_0x2cd4x45('GET', _0x2cd4x50(_0x2cd4x9c, _0x2cd4x9f, _0x2cd4x9d)).then((_0x2cd4x30) => {
let _0x2cd4x86, _0x2cd4x65, _0x2cd4xac, _0x2cd4xad, _0x2cd4xae, _0x2cd4xa1, _0x2cd4xa2, _0x2cd4xaf, _0x2cd4x8a, _0x2cd4x84 = _0x2cd4x4b(_0x2cd4x30.feed.entry),
_0x2cd4x8b = '';
for (let _0x2cd4x4d = 0, _0x2cd4xa4 = _0x2cd4x84.length; _0x2cd4x4d < _0x2cd4xa4; _0x2cd4x4d++) {
for (let _0x2cd4x4e = 0, _0x2cd4xa5 = _0x2cd4x84[_0x2cd4x4d].link.length; _0x2cd4x4e < _0x2cd4xa5; _0x2cd4x4e++) {
_0x2cd4x86 = (_0x2cd4x84[_0x2cd4x4d].link[_0x2cd4x4e].rel == 'alternate') ? _0x2cd4x84[_0x2cd4x4d].link[_0x2cd4x4e].href : '#';
_0x2cd4x8a = _0x2cd4x84[_0x2cd4x4d].title.$t;
_0x2cd4xaf = _0x2cd4x84[_0x2cd4x4d].summary.$t.substring(0, 150);
if (_0x2cd4x84[_0x2cd4x4d].thr$total) {
_0x2cd4xac = true;
_0x2cd4xad = _0x2cd4x86 + '#comment-form';
_0x2cd4xae = _0x2cd4x84[_0x2cd4x4d].thr$total ? _0x2cd4x84[_0x2cd4x4d].thr$total.$t : '-'
} else {
_0x2cd4xac = false
};
if (_0x2cd4x84[_0x2cd4x4d].category) {
_0x2cd4xa1 = true;
_0x2cd4xa2 = _0x2cd4x84[_0x2cd4x4d].category[0].term
} else {
_0x2cd4xa1 = false;
_0x2cd4xa2 = 'Uncategorized'
};
if ('media$thumbnail' in _0x2cd4x84[_0x2cd4x4d]) {
_0x2cd4x65 = regex(_0x2cd4x84[_0x2cd4x4d].media$thumbnail.url, 'w150-h150-p-k-no-rw')
} else {
_0x2cd4x65 = regex(_0x2cd4x4.noimage, 'w150-h150-p-k-no-rw')
}
};
_0x2cd4x8b += '<li class="hover-zoom f">';
_0x2cd4x8b += '<div class="custom-2-thumb ignielSquircle"><a href="' + _0x2cd4x86 + '" title="' + _0x2cd4x8a + '"><img alt="' + _0x2cd4x8a + '" height="150" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACCAQAAAA3fa6RAAAADklEQVR42mNkAANGCAUAACMAA2w/AMgAAAAASUVORK5CYII=" data-src="' + _0x2cd4x65 + '" class="lazy" title="' + _0x2cd4x8a + '" width="150"/></a></div>';
_0x2cd4x8b += '<div class="post-inner f">';
_0x2cd4x8b += '<h2 class="post-title"><a href="' + _0x2cd4x86 + '" title="' + _0x2cd4x8a + '">' + _0x2cd4x8a + '</a></h2>';
if (_0x2cd4xa8 || _0x2cd4x9e) {
_0x2cd4x8b += '<div class="post-footer tx-md"><div class="post-footer-inner f">';
if (_0x2cd4x9e) {
_0x2cd4x8b += '<span class="post-labels">';
if (_0x2cd4xa1) {
let _0x2cd4xb3;
if (_0x2cd4x9c.toLowerCase() != 'random' && _0x2cd4x9c != '') {
_0x2cd4xb3 = _0x2cd4x9c
} else {
_0x2cd4xb3 = _0x2cd4xa2
};
_0x2cd4x8b += '<a class="tx-primary" href="' + _0x2cd4x1.location.origin + '/search/label/' + _0x2cd4xb3 + '" title="' + _0x2cd4xb3 + '">' + _0x2cd4xb3 + '</a>'
} else {
_0x2cd4x8b += '<span class="not-allowed tx-50">' + _0x2cd4xa2 + '</span>'
};
_0x2cd4x8b += '</span>'
};
if (_0x2cd4xa8 && _0x2cd4xac) {
_0x2cd4x8b += '<span class="post-comments r"><a class="tx-primary f" href="' + _0x2cd4xad + '" title="' + _0x2cd4xae + ' Comments"><svg viewBox="0 0 24 24"><path d="M7 18.4299H11L15.45 21.39C16.11 21.83 17 21.3599 17 20.5599V18.4299C20 18.4299 22 16.4299 22 13.4299V7.42993C22 4.42993 20 2.42993 17 2.42993H7C4 2.42993 2 4.42993 2 7.42993V13.4299C2 16.4299 4 18.4299 7 18.4299Z"/></svg><i class="tx-primary tx-sm a">' + _0x2cd4xae + '</i></a></span>'
};
_0x2cd4x8b += '</div></div>'
};
_0x2cd4x8b += '</div>';
_0x2cd4x8b += '</li>'
};
const _0x2cd4xb4 = _0x2cd4x38.querySelector('.custom-2-inner'),
_0x2cd4xb5 = _0x2cd4x38.parentNode.querySelector('.title-label');
_0x2cd4xb4.innerHTML = _0x2cd4x8b;
_0x2cd4xb4.classList.add('fade');
if (_0x2cd4x9c.toLowerCase() != 'random' && _0x2cd4x9c != '') {
_0x2cd4xb5.innerHTML = '<a class="tx-primary" href="' + _0x2cd4x1.location.origin + '/search/label/' + _0x2cd4x9c + '" title="' + _0x2cd4x9c + '">' + _0x2cd4xab + '</a>'
} else {
_0x2cd4xb5.remove()
}
}).catch((_0x2cd4x2f) => {
console.warn('(IGNIPLEX) Custom post 2 error: ', _0x2cd4x2f)
})
})
};
if (_0x2cd4x99.length > 0) {
_0x2cd4x99.forEach((_0x2cd4x38) => {
let _0x2cd4xb7 = false;
const _0x2cd4x73 = _0x2cd4x38.parentNode.getAttribute('id');
let _0x2cd4x9c, _0x2cd4x9d, _0x2cd4xa8, _0x2cd4x9e, _0x2cd4xa9, _0x2cd4xaa, _0x2cd4xab;
const _0x2cd4x90 = eval(_0x2cd4x73 + 'ar');
if (_0x2cd4x90) {
for (let _0x2cd4x10 = 0; _0x2cd4x10 < _0x2cd4x90.length; _0x2cd4x10++) {
if (_0x2cd4x90[_0x2cd4x10]) {
_0x2cd4x9c = _0x2cd4x90[_0x2cd4x10].label;
_0x2cd4x9d = _0x2cd4x90[_0x2cd4x10].num;
_0x2cd4xa8 = _0x2cd4x90[_0x2cd4x10].showComment;
_0x2cd4xa9 = _0x2cd4x90[_0x2cd4x10].showSnippet;
_0x2cd4xaa = _0x2cd4x90[_0x2cd4x10].showTime;
_0x2cd4xab = _0x2cd4x90[_0x2cd4x10].showText;
if (_0x2cd4x9c.toLowerCase() != 'random' && _0x2cd4x9c != '') {
_0x2cd4x9e = false
} else {
_0x2cd4x9e = _0x2cd4x90[_0x2cd4x10].showLabel
}
} else {
_0x2cd4x9c = 'random';
_0x2cd4x9d = '6';
_0x2cd4xa8 = true;
_0x2cd4x9e = true;
_0x2cd4xa9 = true;
_0x2cd4xaa = true;
_0x2cd4xab = 'Show All'
}
}
};
let _0x2cd4x9f = _0x2cd4x48(1, (_0x2cd4x3e - _0x2cd4x9d));
_0x2cd4x45('GET', _0x2cd4x50(_0x2cd4x9c, _0x2cd4x9f, _0x2cd4x9d)).then((_0x2cd4x30) => {
let _0x2cd4x86, _0x2cd4x65, _0x2cd4xac, _0x2cd4xad, _0x2cd4xae, _0x2cd4xa1, _0x2cd4xa2, _0x2cd4xaf, _0x2cd4xb8, _0x2cd4x88, _0x2cd4xb0, _0x2cd4x89, _0x2cd4x8a, _0x2cd4x84 = _0x2cd4x4b(_0x2cd4x30.feed.entry),
_0x2cd4x8b = '',
_0x2cd4xb1, _0x2cd4xb2;
for (let _0x2cd4x4d = 0, _0x2cd4xa4 = _0x2cd4x84.length; _0x2cd4x4d < _0x2cd4xa4; _0x2cd4x4d++) {
for (let _0x2cd4x4e = 0, _0x2cd4xa5 = _0x2cd4x84[_0x2cd4x4d].link.length; _0x2cd4x4e < _0x2cd4xa5; _0x2cd4x4e++) {
_0x2cd4x86 = (_0x2cd4x84[_0x2cd4x4d].link[_0x2cd4x4e].rel == 'alternate') ? _0x2cd4x84[_0x2cd4x4d].link[_0x2cd4x4e].href : '#';
_0x2cd4x8a = _0x2cd4x84[_0x2cd4x4d].title.$t;
_0x2cd4xaf = _0x2cd4x84[_0x2cd4x4d].summary.$t.substring(0, 150);
_0x2cd4xb1 = _0x2cd4x84[_0x2cd4x4d].id.$t.split('.post-')[1];
if (_0x2cd4x84[_0x2cd4x4d].thr$total) {
_0x2cd4xac = true;
_0x2cd4xad = _0x2cd4x86 + '#comment-form';
_0x2cd4xae = _0x2cd4x84[_0x2cd4x4d].thr$total ? _0x2cd4x84[_0x2cd4x4d].thr$total.$t : '-'
} else {
_0x2cd4xac = false
};
_0x2cd4xb0 = _0x2cd4x84[_0x2cd4x4d].published.$t;
_0x2cd4x88 = new Date(Date.parse(_0x2cd4xb0));
_0x2cd4x89 = _0x2cd4x88.toLocaleDateString(_0x2cd4x35('html')[0].getAttribute('lang'), {
year: 'numeric',
month: 'long',
day: 'numeric'
});
if (_0x2cd4x84[_0x2cd4x4d].category) {
_0x2cd4xa1 = true;
_0x2cd4xa2 = _0x2cd4x84[_0x2cd4x4d].category[0].term
} else {
_0x2cd4xa1 = false;
_0x2cd4xa2 = 'Uncategorized'
};
if ('media$thumbnail' in _0x2cd4x84[_0x2cd4x4d]) {
_0x2cd4x65 = regex(_0x2cd4x84[_0x2cd4x4d].media$thumbnail.url, 'w280-h187-p-k-no-rw');
_0x2cd4xb2 = _0x2cd4x84[_0x2cd4x4d].media$thumbnail.url
} else {
_0x2cd4x65 = regex(_0x2cd4x4.noimage, 'w280-h187-p-k-no-rw');
_0x2cd4xb2 = regex(_0x2cd4x4.noimage, 'w72-h72-p-k-no-rw')
}
};
_0x2cd4x8b += '<article class="article hentry swipe-up f">';
_0x2cd4x8b += '<div class="posts">';
_0x2cd4x8b += '<div class="snippet-thumb r">';
_0x2cd4x8b += '<a href="' + _0x2cd4x86 + '" title="' + _0x2cd4x8a + '"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACCAQAAAA3fa6RAAAADklEQVR42mNkAANGCAUAACMAA2w/AMgAAAAASUVORK5CYII=" data-src="' + _0x2cd4x65 + '" alt="' + _0x2cd4x8a + '" class="lazy" title="' + _0x2cd4x8a + '" width="300" height="200"/></a>';
if (_0x2cd4xb1) {
_0x2cd4x8b += '<div class="bm a"><input class="h" id="bm-' + _0x2cd4xb1 + '" type="checkbox"/><label aria-label="Bookmark" class="bm-icon ignielSquircle pointer f" data-img="' + _0x2cd4xb2 + '" data-title="' + _0x2cd4x8a + '" data-url="' + _0x2cd4x86 + '" for="bm-' + _0x2cd4xb1 + '"><svg viewBox="0 0 24 24"><path d="M16.8199 2H7.17995C5.04995 2 3.31995 3.74 3.31995 5.86V19.95C3.31995 21.75 4.60995 22.51 6.18995 21.64L11.0699 18.93C11.5899 18.64 12.4299 18.64 12.9399 18.93L17.8199 21.64C19.3999 22.52 20.6899 21.76 20.6899 19.95V5.86C20.6799 3.74 18.9499 2 16.8199 2Z"/><path d="M12 8.20996V13.21" class="x"/><path d="M14.5 10.6499H9.5" class="x"/><path d="M9.58997 11L11.09 12.5L15.09 8.5" class="y"/></svg></label></div>'
};
_0x2cd4x8b += '</div>';
_0x2cd4x8b += '<div class="post-inner">';
if (_0x2cd4xaa) {
_0x2cd4x8b += '<div class="post-timestamp tx-50 tx-md"><time class="published updated" datetime="' + _0x2cd4xb0 + '" title="' + _0x2cd4xb0 + '">' + _0x2cd4x89 + '</time></div>'
};
_0x2cd4x8b += '<h2 class="post-title"><a href="' + _0x2cd4x86 + '" title="' + _0x2cd4x8a + '">' + _0x2cd4x8a + '</a></h2>';
if (_0x2cd4xa9) {
_0x2cd4x8b += '<div class="post-snippet tx-75">' + _0x2cd4xaf + '</div>'
};
_0x2cd4x8b += '</div>';
_0x2cd4x8b += '</div>';
if (_0x2cd4xa8 || _0x2cd4x9e) {
_0x2cd4x8b += '<div class="post-footer tx-md"><div class="post-footer-inner f">';
if (_0x2cd4x9e) {
_0x2cd4x8b += '<span class="post-labels">';
if (_0x2cd4xa1) {
_0x2cd4x8b += '<a class="tx-primary" href="' + _0x2cd4x1.location.origin + '/search/label/' + _0x2cd4xa2 + '" title="' + _0x2cd4xa2 + '">' + _0x2cd4xa2 + '</a>'
} else {
_0x2cd4x8b += '<span class="not-allowed tx-50">' + _0x2cd4xa2 + '</span>'
};
_0x2cd4x8b += '</span>'
};
if (_0x2cd4xa8 && _0x2cd4xac) {
_0x2cd4x8b += '<span class="post-comments r"><a class="tx-primary f" href="' + _0x2cd4xad + '" title="' + _0x2cd4xae + ' Comments"><svg class="stroke-primary" viewBox="0 0 24 24"><path d="M7 18.4299H11L15.45 21.39C16.11 21.83 17 21.3599 17 20.5599V18.4299C20 18.4299 22 16.4299 22 13.4299V7.42993C22 4.42993 20 2.42993 17 2.42993H7C4 2.42993 2 4.42993 2 7.42993V13.4299C2 16.4299 4 18.4299 7 18.4299Z"/></svg><i class="tx-primary tx-sm a">' + _0x2cd4xae + '</i></a></span>'
};
_0x2cd4x8b += '</div></div>'
};
_0x2cd4x8b += '</article>'
};
const _0x2cd4xb4 = _0x2cd4x38.querySelector('.swipe-inner'),
_0x2cd4xb5 = _0x2cd4x38.parentNode.querySelector('.title-label');
_0x2cd4xb4.innerHTML = _0x2cd4x8b;
_0x2cd4xb4.classList.add('blog-posts', 'fade');
if (_0x2cd4x9c.toLowerCase() != 'random' && _0x2cd4x9c != '') {
_0x2cd4xb5.innerHTML = '<a class="tx-primary" href="' + _0x2cd4x1.location.origin + '/search/label/' + _0x2cd4x9c + '" title="' + _0x2cd4x9c + '">' + _0x2cd4xab + '</a>'
} else {
_0x2cd4xb5.remove()
}
}).catch((_0x2cd4x2f) => {
console.warn('(IGNIPLEX) Custom post 3 error: ', _0x2cd4x2f)
})
})
};
if (_0x2cd4x9a.length > 0) {
_0x2cd4x9a.forEach((_0x2cd4x38) => {
let _0x2cd4xb9 = false;
const _0x2cd4x73 = _0x2cd4x38.parentNode.getAttribute('id');
let _0x2cd4x9c, _0x2cd4x9d, _0x2cd4x9e, _0x2cd4xab;
const _0x2cd4x90 = eval(_0x2cd4x73 + 'ar');
if (_0x2cd4x90) {
for (let _0x2cd4x10 = 0; _0x2cd4x10 < _0x2cd4x90.length; _0x2cd4x10++) {
if (_0x2cd4x90[_0x2cd4x10]) {
_0x2cd4x9c = _0x2cd4x90[_0x2cd4x10].label;
_0x2cd4x9d = _0x2cd4x90[_0x2cd4x10].num;
_0x2cd4xab = _0x2cd4x90[_0x2cd4x10].showText;
if (_0x2cd4x9c.toLowerCase() != 'random' && _0x2cd4x9c != '') {
_0x2cd4x9e = false
} else {
_0x2cd4x9e = _0x2cd4x90[_0x2cd4x10].showLabel
}
} else {
_0x2cd4x9c = 'random';
_0x2cd4x9d = '6';
_0x2cd4x9e = true;
_0x2cd4xab = 'Show All'
}
}
};
let _0x2cd4x9f = _0x2cd4x48(1, (_0x2cd4x3e - _0x2cd4x9d));
_0x2cd4x45('GET', _0x2cd4x50(_0x2cd4x9c, _0x2cd4x9f, _0x2cd4x9d)).then((_0x2cd4x30) => {
let _0x2cd4x86, _0x2cd4x65, _0x2cd4xa1, _0x2cd4xa2, _0x2cd4x8a, _0x2cd4x84 = _0x2cd4x4b(_0x2cd4x30.feed.entry),
_0x2cd4x8b = '',
_0x2cd4xb1, _0x2cd4xb2;
for (let _0x2cd4x4d = 0, _0x2cd4xa4 = _0x2cd4x84.length; _0x2cd4x4d < _0x2cd4xa4; _0x2cd4x4d++) {
for (let _0x2cd4x4e = 0, _0x2cd4xa5 = _0x2cd4x84[_0x2cd4x4d].link.length; _0x2cd4x4e < _0x2cd4xa5; _0x2cd4x4e++) {
_0x2cd4x86 = (_0x2cd4x84[_0x2cd4x4d].link[_0x2cd4x4e].rel == 'alternate') ? _0x2cd4x84[_0x2cd4x4d].link[_0x2cd4x4e].href : '#';
_0x2cd4x8a = _0x2cd4x84[_0x2cd4x4d].title.$t;
_0x2cd4xb1 = _0x2cd4x84[_0x2cd4x4d].id.$t.split('.post-')[1];
if (_0x2cd4x84[_0x2cd4x4d].category) {
_0x2cd4xa1 = true;
_0x2cd4xa2 = _0x2cd4x84[_0x2cd4x4d].category[0].term
} else {
_0x2cd4xa1 = false;
_0x2cd4xa2 = 'Uncategorized'
};
if ('media$thumbnail' in _0x2cd4x84[_0x2cd4x4d]) {
_0x2cd4x65 = regex(_0x2cd4x84[_0x2cd4x4d].media$thumbnail.url, 'w300-h450-p-k-no-rw');
_0x2cd4xb2 = _0x2cd4x84[_0x2cd4x4d].media$thumbnail.url
} else {
_0x2cd4x65 = regex(_0x2cd4x4.noimage, 'w300-h450-p-k-no-rw');
_0x2cd4xb2 = regex(_0x2cd4x4.noimage, 'w72-h72-p-k-no-rw')
}
};
_0x2cd4x8b += '<li class="swipe-up r">';
_0x2cd4x8b += '<div class="snippet-thumb">';
_0x2cd4x8b += '<a href="' + _0x2cd4x86 + '" title="' + _0x2cd4x8a + '"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACCAQAAAA3fa6RAAAADklEQVR42mNkAANGCAUAACMAA2w/AMgAAAAASUVORK5CYII=" data-src="' + _0x2cd4x65 + '" alt="' + _0x2cd4x8a + '" class="lazy" title="' + _0x2cd4x8a + '" width="300" height="450"/></a>';
if (_0x2cd4xb1) {
_0x2cd4x8b += '<div class="bm a"><input class="h" id="bm-' + _0x2cd4xb1 + '" type="checkbox"/><label aria-label="Bookmark" class="bm-icon ignielSquircle pointer f" data-img="' + _0x2cd4xb2 + '" data-title="' + _0x2cd4x8a + '" data-url="' + _0x2cd4x86 + '" for="bm-' + _0x2cd4xb1 + '"><svg viewBox="0 0 24 24"><path d="M16.8199 2H7.17995C5.04995 2 3.31995 3.74 3.31995 5.86V19.95C3.31995 21.75 4.60995 22.51 6.18995 21.64L11.0699 18.93C11.5899 18.64 12.4299 18.64 12.9399 18.93L17.8199 21.64C19.3999 22.52 20.6899 21.76 20.6899 19.95V5.86C20.6799 3.74 18.9499 2 16.8199 2Z"/><path d="M12 8.20996V13.21" class="x"/><path d="M14.5 10.6499H9.5" class="x"/><path d="M9.58997 11L11.09 12.5L15.09 8.5" class="y"/></svg></label></div>'
};
_0x2cd4x8b += '</div>';
_0x2cd4x8b += '<div class="post-inner a">';
if (_0x2cd4x9e) {
_0x2cd4x8b += '<div class="post-labels tx-sm">';
if (_0x2cd4xa1) {
_0x2cd4x8b += '<a class="btn-primary" href="' + _0x2cd4x1.location.origin + '/search/label/' + _0x2cd4xa2 + '" title="' + _0x2cd4xa2 + '">' + _0x2cd4xa2 + '</a>'
} else {
_0x2cd4x8b += '<span class="not-allowed bg-100 tx-100">' + _0x2cd4xa2 + '</span>'
};
_0x2cd4x8b += '</div>'
};
_0x2cd4x8b += '<div class="post-title"><a href="' + _0x2cd4x86 + '" title="' + _0x2cd4x8a + '">' + _0x2cd4x8a + '</a></div>';
_0x2cd4x8b += '</div>';
_0x2cd4x8b += '</li>'
};
const _0x2cd4xb4 = _0x2cd4x38.querySelector('.swipe-inner'),
_0x2cd4xb5 = _0x2cd4x38.parentNode.querySelector('.title-label');
_0x2cd4xb4.innerHTML = _0x2cd4x8b;
_0x2cd4xb4.classList.add('fade');
if (_0x2cd4x9c.toLowerCase() != 'random' && _0x2cd4x9c != '') {
_0x2cd4xb5.innerHTML = '<a class="tx-primary" href="' + _0x2cd4x1.location.origin + '/search/label/' + _0x2cd4x9c + '" title="' + _0x2cd4x9c + '">' + _0x2cd4xab + '</a>'
} else {
_0x2cd4xb5.remove()
}
}).catch((_0x2cd4x2f) => {
console.warn('(IGNIPLEX) Custom post 4 error: ', _0x2cd4x2f)
})
})
}
}
(), _0x2cd4xa6 = true)
}, true)
};
const _0x2cd4xba = '004C00690067006800740068006F007500730065',
_0x2cd4xbb = '00470054006D00650074007200690078',
_0x2cd4xbc = '00530070006500650064';
if (localStorage.getItem('ign_si') || localStorage.getItem('ign_si') !== null) {
_0x2cd4x3e = localStorage.getItem('ign_si');
_0x2cd4x9b()
} else {
if (_0x2cd4x2.navigator.userAgent.indexOf(_0x2cd4x8(_0x2cd4xba)) == -1 && _0x2cd4x2.navigator.userAgent.indexOf(_0x2cd4x8(_0x2cd4xbb)) == -1 && _0x2cd4x2.navigator.userAgent.indexOf(_0x2cd4x8(_0x2cd4xbc)) == -1) {
_0x2cd4x45('GET', '/feeds/posts/summary?alt=json&max-results=0').then((_0x2cd4x30) => {
_0x2cd4x3e = _0x2cd4x30.feed.openSearch$totalResults.$t;
localStorage.setItem('ign_si', _0x2cd4x30.feed.openSearch$totalResults.$t);
_0x2cd4x9b()
}).catch((_0x2cd4x2f) => {
console.warn('(IGNIPLEX) Cannot fetch feed: ', _0x2cd4x2f.status)
})
}
}
}
};
if (_0x2cd4x3.classList.contains('single')) {
if (_0x2cd4x35('#share')) {
_0x2cd4x35('#share').addEventListener('change', (_0x2cd4x38) => {
if (_0x2cd4x38.target.checked) {
_0x2cd4x35('.post-action')[0].style.zIndex = '3'
} else {
_0x2cd4x35('.post-action')[0].removeAttribute('style')
}
})
};
const _0x2cd4xbd = _0x2cd4x35('.share-more-copy')[0];
if (_0x2cd4xbd) {
_0x2cd4xbd.addEventListener('click', () => {
const _0x2cd4xbe = _0x2cd4x1.querySelector('link[rel="canonical"]') ? _0x2cd4x1.querySelector('link[rel=canonical]').href : _0x2cd4x1.location.href,
_0x2cd4xbf = _0x2cd4x1.createElement('textarea');
_0x2cd4xbf.className = 'clipboard';
_0x2cd4xbf.textContent = _0x2cd4xbe;
_0x2cd4x3.appendChild(_0x2cd4xbf);
_0x2cd4xbf.select();
_0x2cd4x1.execCommand('copy');
_0x2cd4xbf.remove();
_0x2cd4x35('.share-copy-info')[0].classList.add('success');
setTimeout(() => {
_0x2cd4x35('.share-copy-info')[0].classList.remove('success')
}, 500)
})
};
const _0x2cd4xc0 = {
title: _0x2cd4x1.title,
url: _0x2cd4x1.querySelector('link[rel="canonical"]') ? _0x2cd4x1.querySelector('link[rel=canonical]').href : _0x2cd4x1.location.href
};
if (_0x2cd4x35('.share-mobile')[0]) {
if (navigator.share) {
_0x2cd4x35('.share-mobile')[0].addEventListener('click', async () => {
try {
await navigator.share(_0x2cd4xc0)
} catch (err) {
console.warn('(IGNIPLEX) Share error: ' + err.status)
}
})
} else {
_0x2cd4x35('.share-mobile')[0].setAttribute('for', 'share')
}
};
const _0x2cd4xc1 = _0x2cd4x35('.post-body')[0].innerText,
_0x2cd4xc2 = 225,
_0x2cd4xc3 = _0x2cd4xc1.trim().split(/\s+/).length,
_0x2cd4xc4 = Math.ceil(_0x2cd4xc3 / _0x2cd4xc2);
if (_0x2cd4x35('.read-time')[0]) {
_0x2cd4x35('.read-time i')[0].innerText = _0x2cd4xc4
};
if (_0x2cd4x35('.tabs').length > 0) {
_0x2cd4x35('.tabs').forEach((_0x2cd4x38) => {
let _0x2cd4x9d = _0x2cd4x38.querySelectorAll('li'),
_0x2cd4x9c = _0x2cd4x38.querySelectorAll('.content'),
_0x2cd4xc5 = _0x2cd4x38.querySelector('ul');
for (let _0x2cd4x4d = 0; _0x2cd4x4d < _0x2cd4x9d.length; _0x2cd4x4d++) {
_0x2cd4x9d[_0x2cd4x4d].addEventListener('click', function () {
for (let _0x2cd4x10 = 0; _0x2cd4x10 < _0x2cd4x9d.length; _0x2cd4x10++) {
_0x2cd4x9d[_0x2cd4x10].classList.remove('current');
_0x2cd4x9c[_0x2cd4x10].classList.remove('visible')
};
this.classList.add('current');
_0x2cd4x9c[_0x2cd4x4d].classList.add('visible')
})
};
const _0x2cd4xc6 = () => {
if (_0x2cd4xc5.scrollWidth > _0x2cd4xc5.clientWidth) {
if (!_0x2cd4x38.querySelector('.prev') && !_0x2cd4x38.querySelector('.next')) {
const _0x2cd4xc7 = _0x2cd4x1.createElement('div'),
_0x2cd4xc8 = _0x2cd4x1.createElement('div');
_0x2cd4xc7.className = 'arrow prev pointer a';
_0x2cd4xc7.innerHTML = '❮';
_0x2cd4xc5.parentNode.insertBefore(_0x2cd4xc7, _0x2cd4xc5);
_0x2cd4xc8.className = 'arrow next pointer a active';
_0x2cd4xc8.innerHTML = '❯';
_0x2cd4xc5.parentNode.insertBefore(_0x2cd4xc8, _0x2cd4xc5);
_0x2cd4xc5.addEventListener('scroll', () => {
if (_0x2cd4xc5.scrollLeft > 20) {
_0x2cd4x38.querySelector('.prev') && _0x2cd4x38.querySelector('.prev').classList.add('active')
} else {
_0x2cd4x38.querySelector('.prev') && _0x2cd4x38.querySelector('.prev').classList.remove('active')
};
let _0x2cd4x95 = _0x2cd4xc5.scrollWidth - _0x2cd4xc5.clientWidth - 20;
if (_0x2cd4xc5.scrollLeft > _0x2cd4x95) {
_0x2cd4x38.querySelector('.next') && _0x2cd4x38.querySelector('.next').classList.remove('active')
} else {
_0x2cd4x38.querySelector('.next') && _0x2cd4x38.querySelector('.next').classList.add('active')
}
})
}
} else {
if (_0x2cd4x38.querySelector('.prev') && _0x2cd4x38.querySelector('.next')) {
_0x2cd4x38.querySelector('.prev').remove();
_0x2cd4x38.querySelector('.next').remove()
}
}
};
_0x2cd4xc6();
_0x2cd4x2.addEventListener('resize', _0x2cd4xc6)
})
};
const _0x2cd4xc9 = _0x2cd4x35('.post-body')[0].querySelectorAll('img');
if (_0x2cd4xc9.length > 0) {
_0x2cd4xc9.forEach((_0x2cd4x38) => {
if (_0x2cd4x38.parentElement.nodeName == 'A') {
_0x2cd4x38.parentNode.addEventListener('click', (_0x2cd4xd) => {
_0x2cd4xd.preventDefault();
return false
})
};
_0x2cd4x38.addEventListener('click', () => {
if (!_0x2cd4x35('.lightbox')[0]) {
let _0x2cd4xca = _0x2cd4x1.createElement('label');
_0x2cd4xca.ariaLabel = 'Image';
_0x2cd4xca.className = 'lightbox fi f';
_0x2cd4xca.htmlFor = 'lightbox';
if (_0x2cd4x38.parentElement.nodeName == 'A') {
_0x2cd4xca.innerHTML = '<img class="lightbox-open" src="' + _0x2cd4x38.parentNode.getAttribute('href') + '"/>'
} else {
_0x2cd4x38.classList.add('lightbox-open', 'fi', 'f')
};
_0x2cd4x35('.post-body')[0].appendChild(_0x2cd4xca);
_0x2cd4x35('#lightbox').checked = true;
_0x2cd4x3.classList.add('noscroll')
}
})
});
_0x2cd4x35('#lightbox').addEventListener('change', () => {
if (_0x2cd4x35('.lightbox')[0]) {
const _0x2cd4xcb = _0x2cd4x35('.post-body')[0].querySelectorAll('img.lightbox-open');
if (_0x2cd4xcb.length > 0) {
_0x2cd4xcb.forEach((_0x2cd4x38) => {
if (_0x2cd4x38.parentElement.nodeName != 'LABEL') {
_0x2cd4x38.classList.remove('lightbox-open', 'fi', 'f')
}
})
};
_0x2cd4x3.classList.remove('noscroll');
setTimeout(() => {
_0x2cd4x35('.lightbox')[0].remove()
}, 100)
}
})
};
if (_0x2cd4x35('.carousel').length > 0) {
_0x2cd4x35('.carousel').forEach((_0x2cd4x38) => {
let _0x2cd4x65 = _0x2cd4x38.querySelectorAll('img'),
_0x2cd4x8e = _0x2cd4x38.querySelector('.carousel-inner'),
_0x2cd4xcc = _0x2cd4x1.createElement('div'),
_0x2cd4x90 = _0x2cd4x1.createElement('div'),
_0x2cd4x3a = _0x2cd4x1.createElement('div'),
_0x2cd4xcd = '',
_0x2cd4x8d, _0x2cd4x8c = 0;
if (_0x2cd4x65.length > 1) {
const _0x2cd4x8f = _0x2cd4x1.createElement('div');
_0x2cd4x8f.className = 'carousel-outer r';
_0x2cd4x8e.replaceWith(_0x2cd4x8f);
_0x2cd4x8f.appendChild(_0x2cd4x8e);
_0x2cd4x8d = _0x2cd4x65[0].width;
_0x2cd4x2.addEventListener('resize', () => {
for (let _0x2cd4x4d = 0; _0x2cd4x4d < _0x2cd4x65.length; _0x2cd4x4d++) {
_0x2cd4x65[_0x2cd4x4d].width = _0x2cd4x35('.post-body')[0].clientWidth;
_0x2cd4x65[_0x2cd4x4d].style.width = _0x2cd4x35('.post-body')[0].clientWidth + 'px';
_0x2cd4x8d = _0x2cd4x35('.post-body')[0].clientWidth
}
});
if (_0x2cd4x38.querySelector('.carousel-outer')) {
const _0x2cd4x91 = _0x2cd4x38.querySelector('.carousel-outer');
_0x2cd4xcc.className = 'carousel-tx tx-sm round f a';
_0x2cd4xcc.innerHTML = '<i>1</i>/' + _0x2cd4x65.length;
_0x2cd4x91.appendChild(_0x2cd4xcc);
if (_0x2cd4x1.location.href.indexOf('?m=1') == -1) {
_0x2cd4x90.className = 'carousel-arrow';
_0x2cd4x90.innerHTML = '<button aria-label="Previous" class="tx-75 tx-sm arrow prev round h f a">❮</button><button aria-label="Next" class="tx-75 tx-sm arrow next round f a">❯</button>';
_0x2cd4x91.appendChild(_0x2cd4x90)
};
for (let _0x2cd4x4d = 0; _0x2cd4x4d < _0x2cd4x65.length; _0x2cd4x4d++) {
if (_0x2cd4x4d == 0) {
_0x2cd4xcd += '<span class="dot round active"></span>'
} else {
_0x2cd4xcd += '<span class="dot round"></span>'
}
};
_0x2cd4x3a.className = 'carousel-dot f a';
_0x2cd4x3a.innerHTML = _0x2cd4xcd;
_0x2cd4x91.appendChild(_0x2cd4x3a)
};
if (_0x2cd4x38.querySelector('.carousel-dot')) {
let _0x2cd4xce = _0x2cd4x38.querySelectorAll('.dot');
for (let _0x2cd4x4d = 0; _0x2cd4x4d < _0x2cd4xce.length; _0x2cd4x4d++) {
_0x2cd4x35('.carousel-inner')[0].addEventListener('scroll', function () {
if ((_0x2cd4x65[_0x2cd4x4d].getBoundingClientRect().x < 150) && (_0x2cd4x65[_0x2cd4x4d].getBoundingClientRect().x > (_0x2cd4x38.clientWidth - _0x2cd4x38.getBoundingClientRect().x) * -1)) {
_0x2cd4xce[_0x2cd4x4d].classList.add('active');
_0x2cd4x38.querySelector('i').innerHTML = _0x2cd4x4d + 1;
_0x2cd4x8c = _0x2cd4x4d
} else {
_0x2cd4xce[_0x2cd4x4d].classList.remove('active')
}
})
}
};
_0x2cd4x38.addEventListener('click', (_0x2cd4x92) => {
let _0x2cd4x93 = _0x2cd4x92.target.closest('.prev');
if (_0x2cd4x93) {
_0x2cd4x8e.scrollTo({
left: _0x2cd4x8d * (_0x2cd4x8c - 1),
behavior: 'smooth'
})
}
});
_0x2cd4x38.addEventListener('click', (_0x2cd4x2) => {
let _0x2cd4x94 = _0x2cd4x2.target.closest('.next');
if (_0x2cd4x94) {
_0x2cd4x8e.scrollTo({
left: _0x2cd4x8d * (_0x2cd4x8c + 1),
behavior: 'smooth'
})
}
});
_0x2cd4x8e.addEventListener('scroll', () => {
if (_0x2cd4x8e.scrollLeft > 20) {
_0x2cd4x38.querySelector('.prev') && _0x2cd4x38.querySelector('.prev').classList.remove('h')
} else {
_0x2cd4x38.querySelector('.prev') && _0x2cd4x38.querySelector('.prev').classList.add('h')
};
let _0x2cd4x95 = _0x2cd4x8e.scrollWidth - _0x2cd4x8e.clientWidth - 20;
if (_0x2cd4x8e.scrollLeft > _0x2cd4x95) {
_0x2cd4x38.querySelector('.next') && _0x2cd4x38.querySelector('.next').classList.add('h')
} else {
_0x2cd4x38.querySelector('.next') && _0x2cd4x38.querySelector('.next').classList.remove('h')
}
})
}
})
};
if (_0x2cd4x35('.grid').length > 0) {
_0x2cd4x35('.grid').forEach((_0x2cd4x38) => {
let _0x2cd4x65 = _0x2cd4x38.querySelectorAll('img'),
_0x2cd4x4a = 4;
if (_0x2cd4x65.length > 1) {
_0x2cd4x65.length > 4 && _0x2cd4x38.classList.add('more');
for (let _0x2cd4x4d = 0; _0x2cd4x4d < _0x2cd4x65.length; _0x2cd4x4d++) {
const _0x2cd4xcf = _0x2cd4x1.createElement('figure');
if (_0x2cd4x4d == _0x2cd4x4a) {
_0x2cd4xcf.className = 'expand pointer r';
_0x2cd4xcf.dataset.more = _0x2cd4x65.length - _0x2cd4x4a
};
if (_0x2cd4x4d > _0x2cd4x4a) {
_0x2cd4xcf.className = 'h'
};
_0x2cd4x65[_0x2cd4x4d].replaceWith(_0x2cd4xcf);
_0x2cd4xcf.appendChild(_0x2cd4x65[_0x2cd4x4d])
};
_0x2cd4x2.addEventListener('click', (_0x2cd4xd0) => {
let _0x2cd4xd1 = _0x2cd4xd0.target.closest('.grid-inner .expand');
if (_0x2cd4xd1) {
_0x2cd4x38.classList.remove('more');
let _0x2cd4xd2 = _0x2cd4x38.querySelectorAll('figure');
_0x2cd4xd2.forEach((_0x2cd4xd3) => {
_0x2cd4xd3.removeAttribute('class');
_0x2cd4xd3.removeAttribute('data-more')
})
}
})
}
})
};
if (_0x2cd4x35('.comment-permalink').length > 0) {
_0x2cd4x35('.comment-permalink').forEach((_0x2cd4x38) => {
_0x2cd4x38.addEventListener('click', () => {
const _0x2cd4xbe = _0x2cd4x38.parentNode.getAttribute('data-permalink'),
_0x2cd4xbf = _0x2cd4x1.createElement('textarea');
_0x2cd4xbf.className = 'clipboard';
_0x2cd4xbf.textContent = _0x2cd4xbe;
_0x2cd4x3.appendChild(_0x2cd4xbf);
_0x2cd4xbf.select();
_0x2cd4x1.execCommand('copy');
_0x2cd4xbf.remove();
_0x2cd4x38.innerHTML += '<strong>✓ OK</strong>';
setTimeout(() => {
_0x2cd4x38.querySelector('strong').remove()
}, 500)
})
})
};
if (_0x2cd4x35('.comment-profile').length > 0) {
_0x2cd4x35('.comment-profile').forEach((_0x2cd4x38) => {
const _0x2cd4xbe = _0x2cd4x38.parentNode.getAttribute('data-profile');
_0x2cd4x38.addEventListener('click', () => {
_0x2cd4x2.open(_0x2cd4xbe, '_blank')
})
})
};
let _0x2cd4xd4 = _0x2cd4x35('.ignielPagination');
if (_0x2cd4xd4.length > 0) {
let _0x2cd4xd = decodeURIComponent(_0x2cd4x1.location.search.substring(1)),
_0x2cd4xe = _0x2cd4xd.split('&'),
_0x2cd4xd5, _0x2cd4xd6 = '',
_0x2cd4xd7 = '';
for (let _0x2cd4x10 = 0; _0x2cd4x10 < _0x2cd4xe.length; _0x2cd4x10++) {
let _0x2cd4xf = _0x2cd4xe[_0x2cd4x10].split('=');
if (_0x2cd4xf[0] === 'page') {
_0x2cd4xd5 = _0x2cd4xf[1]
}
};
for (let _0x2cd4x10 = 0; _0x2cd4x10 < _0x2cd4xd4.length; _0x2cd4x10++) {
_0x2cd4xd4[_0x2cd4x10].classList.add('h');
if (_0x2cd4xd5 === 0 || _0x2cd4xd5 === 'all') {
_0x2cd4xd4[_0x2cd4x10].classList.remove('h')
} else {
if (_0x2cd4xd5 === undefined || _0x2cd4xd5 > _0x2cd4xd4.length) {
_0x2cd4xd4[0].classList.remove('h')
} else {
_0x2cd4xd4[_0x2cd4xd5 - 1].classList.remove('h')
}
}
};
for (let _0x2cd4x10 = 1; _0x2cd4x10 < (_0x2cd4xd4.length + 1); _0x2cd4x10++) {
_0x2cd4xd6 += '<li class="f">';
if (_0x2cd4x10 == _0x2cd4xd5) {
_0x2cd4xd6 += '<span class="selected">' + _0x2cd4x10 + '</span>'
} else {
if (_0x2cd4xd5 === undefined || _0x2cd4xd5 > _0x2cd4xd4.length) {
if (_0x2cd4x10 == 1) {
_0x2cd4xd6 += '<span class="selected">' + _0x2cd4x10 + '</span>'
} else {
_0x2cd4xd6 += '<a href="?page=' + _0x2cd4x10 + '" title="Page ' + _0x2cd4x10 + '">' + _0x2cd4x10 + '</a>'
}
} else {
_0x2cd4xd6 += '<a href="?page=' + _0x2cd4x10 + '" title="Page ' + _0x2cd4x10 + '">' + _0x2cd4x10 + '</a>'
}
};
_0x2cd4xd6 += '</li>'
};
if (_0x2cd4xd5 === 0 || _0x2cd4xd5 === 'all') {
_0x2cd4xd7 += '<span class="selected">' + _0x2cd4x4.pagination.allText + '</span>'
} else {
_0x2cd4xd7 += '<a href="?page=all" title="' + _0x2cd4x4.pagination.allText + '">' + _0x2cd4x4.pagination.allText + '</a>'
};
const _0x2cd4xd8 = _0x2cd4x1.createElement('div');
_0x2cd4xd8.className = 'post-pagination f';
_0x2cd4xd8.innerHTML = '<div class="pagination-title t">' + _0x2cd4x4.pagination.titleText + '</div><ul class="f">' + _0x2cd4xd6 + '<li class="pagination-all f">' + _0x2cd4xd7 + '</li></ul>';
_0x2cd4xd4[(_0x2cd4xd4.length - 1)].parentNode.insertBefore(_0x2cd4xd8, _0x2cd4xd4[(_0x2cd4xd4.length - 1)].nextElementSibling)
};
const _0x2cd4xd9 = (_0x2cd4x36, _0x2cd4xda) => {
const _0x2cd4x4c = [];
for (let _0x2cd4x4d = 0; _0x2cd4x4d < _0x2cd4x36.childNodes.length; _0x2cd4x4d++) {
let _0x2cd4xdb = _0x2cd4x36.childNodes[_0x2cd4x4d];
if (_0x2cd4xdb.nodeType === 8 && _0x2cd4xdb.nodeValue.trim().toLowerCase() === _0x2cd4xda) {
_0x2cd4x4c.push(_0x2cd4xdb)
} else {
_0x2cd4x4c.push.apply(_0x2cd4x4c, _0x2cd4xd9(_0x2cd4xdb, ''))
}
};
return _0x2cd4x4c
};
if (!_0x2cd4x35('.toc')[0] && !_0x2cd4x35('#toc')) {
const _0x2cd4xdc = _0x2cd4x35('.post-body')[0].querySelectorAll(_0x2cd4x4.toc.selector);
if (_0x2cd4xdc.length > 1) {
const _0x2cd4xdd = (_0x2cd4xde) => {
return _0x2cd4xde.replaceAll(/&/g, '&').replaceAll(/</g, '<').replaceAll(/>/g, '>').replaceAll(/"/g, '"').replaceAll(/'/g, ''')
};
const _0x2cd4xdf = (_0x2cd4xd) => {
const _0x2cd4xe0 = _0x2cd4xd.textContent,
_0x2cd4xe1 = _0x2cd4xe0.replaceAll(/[^a-z0-9]/gi, ' '),
_0x2cd4xe2 = _0x2cd4xe1.trim(),
_0x2cd4xe3 = _0x2cd4xe2.replaceAll(/\s/g, '_');
return _0x2cd4xe3
};
const _0x2cd4xe4 = (_0x2cd4xe5, _0x2cd4xe6) => {
const _0x2cd4xe7 = _0x2cd4xe6.tagName.charAt(1),
_0x2cd4xbe = _0x2cd4x1.createElement('li'),
_0x2cd4xd = _0x2cd4x1.createElement('a');
_0x2cd4xd.href = '#' + _0x2cd4xdf(_0x2cd4xe6);
_0x2cd4xd.innerHTML = _0x2cd4xdd(_0x2cd4xe6.textContent);
_0x2cd4xbe.appendChild(_0x2cd4xd);
_0x2cd4xbe.setAttribute('data-level', _0x2cd4xe7);
if (_0x2cd4xe5.tagName.toLowerCase() == 'ol') {
_0x2cd4xe5.appendChild(_0x2cd4xbe);
return _0x2cd4xbe
};
if (_0x2cd4xe7 > _0x2cd4xe5.getAttribute('data-level')) {
const _0x2cd4xe8 = !_0x2cd4xe5.getElementsByTagName('ol')[0] ? _0x2cd4x1.createElement('ol') : _0x2cd4xe5.getElementsByTagName('ol')[0];
_0x2cd4xe8.appendChild(_0x2cd4xbe);
_0x2cd4xe5.appendChild(_0x2cd4xe8);
return _0x2cd4xbe
};
if (!_0x2cd4xe5.parentNode.parentNode) {
_0x2cd4xe5.parentNode.appendChild(_0x2cd4xbe);
return _0x2cd4xbe
};
return _0x2cd4xe4(_0x2cd4xe5.parentNode.parentNode, _0x2cd4xe6)
};
let _0x2cd4xe9 = _0x2cd4x35('.post-body')[0].querySelectorAll(_0x2cd4x4.toc.selector),
_0x2cd4xea = _0x2cd4x1.createElement('ol'),
_0x2cd4xe5 = _0x2cd4xea;
for (var _0x2cd4x4d = 0; _0x2cd4x4d < _0x2cd4xe9.length; _0x2cd4x4d++) {
_0x2cd4xe9[_0x2cd4x4d].id = _0x2cd4xdf(_0x2cd4xe9[_0x2cd4x4d]);
_0x2cd4xe5 = _0x2cd4xe4(_0x2cd4xe5, _0x2cd4xe9[_0x2cd4x4d])
};
const _0x2cd4xeb = () => {
const _0x2cd4xec = _0x2cd4x1.createElement('div');
_0x2cd4xec.className = 'toc';
_0x2cd4xec.innerHTML = '<input class="h" id="toc" type="checkbox"/><label class="toc-title f t" for="toc">' + _0x2cd4x4.toc.title + '</label>';
_0x2cd4xec.appendChild(_0x2cd4xea);
return _0x2cd4xec
};
if (_0x2cd4x4.toc.type == 1) {
_0x2cd4x35('.post-body')[0].insertBefore(_0x2cd4xeb(), _0x2cd4x35('.post-body')[0].children[0])
} else {
if (_0x2cd4x4.toc.type == 2) {
_0x2cd4xdc[0].parentNode.insertBefore(_0x2cd4xeb(), _0x2cd4xdc[0])
} else {
let _0x2cd4xed = _0x2cd4xd9(_0x2cd4x35('.post-body')[0], 'toc');
if (_0x2cd4xed.length > 0) {
_0x2cd4xed[0].parentNode.insertBefore(_0x2cd4xeb(), _0x2cd4xed[0].nextElementSibling)
}
}
};
if (_0x2cd4x4.toc.overlay) {
if (_0x2cd4x35('.toc')[0]) {
let _0x2cd4xee = false;
const _0x2cd4xef = '<input class="h" id="toc-overlay" type="checkbox"/><label class="toc-icon active ignielSquircle bg-75 pointer r" for="toc-overlay"><svg viewBox="0 0 24 24"><path d="M12.37 8.87988H17.62"/><path d="M6.38 8.87988L7.13 9.62988L9.38 7.37988"/><path d="M12.37 15.8799H17.62"/><path d="M6.38 15.8799L7.13 16.6299L9.38 14.3799"/><path d="M9 22H15C20 22 22 20 22 15V9C22 4 20 2 15 2H9C4 2 2 4 2 9V15C2 20 4 22 9 22Z"/></svg></label><div class="toc-overlay bg-100 box-shadow a"><div class="toc-overlay-inner"><div class="toc-title t">' + _0x2cd4x4.toc.title + '</div><ol>' + _0x2cd4x35('.toc')[0].querySelectorAll('ol')[0].innerHTML + '</ol></div></div>';
_0x2cd4x2.addEventListener('scroll', () => {
const _0x2cd4xf0 = _0x2cd4x35('.toc')[0].getBoundingClientRect().top,
_0x2cd4xe9 = _0x2cd4x35('.toc')[0].offsetHeight * -1;
if ((_0x2cd4xf0 < _0x2cd4xe9) && false === _0x2cd4xee) {
_0x2cd4x35('.post-action')[0].insertAdjacentHTML('beforeend', _0x2cd4xef);
_0x2cd4xee = true
};
if (_0x2cd4xee) {
const _0x2cd4xf1 = _0x2cd4x35('.toc-icon')[0],
_0x2cd4xf2 = _0x2cd4x35('#toc-overlay'),
_0x2cd4xf3 = _0x2cd4x35('.post-action')[0];
if (_0x2cd4xf0 > _0x2cd4xe9) {
_0x2cd4xf1.classList.contains('active') && _0x2cd4xf1.classList.remove('active');
if (_0x2cd4xf2.checked) {
_0x2cd4xf2.checked = false
};
_0x2cd4xf3.removeAttribute('style')
} else {
!_0x2cd4xf1.classList.contains('active') && _0x2cd4xf1.classList.add('active')
};
if (_0x2cd4xf2) {
_0x2cd4xf2.addEventListener('change', (_0x2cd4x38) => {
if (_0x2cd4x38.target.checked) {
_0x2cd4xf3.style.zIndex = '2'
} else {
_0x2cd4xf3.removeAttribute('style')
}
})
}
}
})
}
}
} else {
console.warn('(IGNIPLEX) Headings are less than 2. Cannot generate TOC.')
}
} else {
console.warn('(IGNIPLEX) TOC is already exist.')
};
const _0x2cd4xf4 = _0x2cd4x35('.igniplexTengah');
if (_0x2cd4xf4.length > 0) {
const _0x2cd4xf5 = _0x2cd4x35('.post-body')[0].querySelectorAll('br, p, blockquote, table, figure, .toc');
if (_0x2cd4xf5.length > 0) {
let _0x2cd4xd3 = _0x2cd4xf4.length + 1,
_0x2cd4x4d = _0x2cd4xf5.length / _0x2cd4xd3,
_0x2cd4x4e = Array.from({
length: _0x2cd4xd3
}, (_0x2cd4xf6, _0x2cd4xf7) => {
return _0x2cd4xf7 + 1
}),
_0x2cd4xb4 = _0x2cd4x4e.slice(0, -1);
for (let _0x2cd4x4 = 0; _0x2cd4x4 < _0x2cd4xb4.length; _0x2cd4x4++) {
let _0x2cd4xf8 = _0x2cd4xb4[_0x2cd4x4],
_0x2cd4x2 = parseInt((_0x2cd4x4d * _0x2cd4xf8));
if (_0x2cd4xf5[_0x2cd4x2].nodeName == 'P') {
_0x2cd4xf5[_0x2cd4x2].parentNode.insertBefore(_0x2cd4xf4[_0x2cd4x4], _0x2cd4xf5[_0x2cd4x2])
} else {
_0x2cd4xf5[_0x2cd4x2].parentNode.insertBefore(_0x2cd4xf4[_0x2cd4x4], _0x2cd4xf5[_0x2cd4x2].nextSibling)
}
}
} else {
let _0x2cd4xf9 = _0x2cd4xd.getElementsByClassName('post-body')[0];
for (let _0x2cd4x92 = 0; _0x2cd4x92 < _0x2cd4xf4.length; _0x2cd4x92++) {
_0x2cd4xf9.append(_0x2cd4xf4[_0x2cd4x92])
}
}
};
const _0x2cd4xfa = _0x2cd4x35('.post-body pre code');
if (_0x2cd4xfa.length > 0) {
_0x2cd4xfa.forEach((_0x2cd4x38) => {
const _0x2cd4xfb = _0x2cd4x1.createElement('i');
_0x2cd4xfb.className = 'copy';
_0x2cd4x38.parentNode.append(_0x2cd4xfb);
_0x2cd4xfb.addEventListener('click', () => {
let _0x2cd4xfc = _0x2cd4x38.textContent,
_0x2cd4xfd = _0x2cd4x1.createElement('textarea');
_0x2cd4xfd.className = 'clipboard';
_0x2cd4xfd.textContent = _0x2cd4xfc;
_0x2cd4x3.append(_0x2cd4xfd);
_0x2cd4xfd.select();
_0x2cd4x1.execCommand('copy');
_0x2cd4xfd.remove();
_0x2cd4x38.parentNode.classList.add('copied');
_0x2cd4x38.parentNode.setAttribute('data-copy', _0x2cd4x4.syntax);
setTimeout(() => {
_0x2cd4x38.parentNode.classList.remove('copied');
_0x2cd4x38.parentNode.removeAttribute('data-copy')
}, 500)
})
})
};
if (_0x2cd4x35('.youtubelazy').length > 0) {
_0x2cd4x35('.youtubelazy').forEach((_0x2cd4x38) => {
const _0x2cd4xfe = _0x2cd4x38.getAttribute('data-embed'),
_0x2cd4xff = 'https://img.youtube.com/vi/' + _0x2cd4xfe + '/' + _0x2cd4x4.youtube + '.jpg',
_0x2cd4x100 = _0x2cd4x1.createElement('figure'),
_0x2cd4x65 = new Image();
_0x2cd4x65.setAttribute('data-src', _0x2cd4xff);
_0x2cd4x65.alt = 'Youtube video player';
_0x2cd4x65.class = 'lazy';
_0x2cd4x65.src = 'data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAJCAQAAACRI2S5AAAAEElEQVR42mNkIAAYRxWAAQAG9gAKqv6+AwAAAABJRU5ErkJggg==';
_0x2cd4x65.title = 'Youtube video player';
_0x2cd4x100.appendChild(_0x2cd4x65);
_0x2cd4x38.appendChild(_0x2cd4x100);
_0x2cd4x100.addEventListener('click', () => {
_0x2cd4x38.innerHTML = '';
let _0x2cd4x101 = _0x2cd4x1.createElement('iframe');
_0x2cd4x101.src = 'https://www.youtube.com/embed/' + _0x2cd4xfe;
_0x2cd4x101.title = 'YouTube video player';
_0x2cd4x101.frameborder = '0';
_0x2cd4x101.allow = 'accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture';
_0x2cd4x101.allowfullscreen = '';
_0x2cd4x38.appendChild(_0x2cd4x101);
_0x2cd4x101.setAttribute('data-ratio', _0x2cd4x101.offsetHeight / _0x2cd4x101.offsetWidth)
})
})
};
const _0x2cd4x11 = _0x2cd4x35('.listen')[0],
_0x2cd4x102 = _0x2cd4x2.speechSynthesis;
if (_0x2cd4x11) {
if ('speechSynthesis' in _0x2cd4x2) {
console.log('(IGNIPLEX) Text-to-speech IS supported :D');
_0x2cd4x11.classList.remove('h');
let _0x2cd4x103 = false,
_0x2cd4x104 = 0;
let _0x2cd4x105 = new Array(),
_0x2cd4x106 = _0x2cd4x35('.post-body')[0].innerText,
_0x2cd4x107 = _0x2cd4x35('.igniplexTengah'),
_0x2cd4x108, _0x2cd4x109;
for (let _0x2cd4xd = _0x2cd4x4.speech.exception, _0x2cd4x10 = 0; _0x2cd4x10 < _0x2cd4xd.length; _0x2cd4x10++) {
let _0x2cd4x2e = _0x2cd4x1.querySelectorAll(_0x2cd4xd);
if (_0x2cd4x2e.length > 0) {
for (let _0x2cd4x4d = 0; _0x2cd4x4d < _0x2cd4x2e.length; _0x2cd4x4d++) {
_0x2cd4x105.push(_0x2cd4x2e[_0x2cd4x4d].innerText)
}
}
};
const _0x2cd4x10a = (_0x2cd4x4c, _0x2cd4x10b) => {
return _0x2cd4x4c.reduce((_0x2cd4x10c, _0x2cd4x10d) => {
return _0x2cd4x10c.replace(_0x2cd4x10d, '')
}, _0x2cd4x10b)
};
if (_0x2cd4x105.length > 0) {
_0x2cd4x108 = _0x2cd4x10a(_0x2cd4x105, _0x2cd4x106);
_0x2cd4x109 = new SpeechSynthesisUtterance(_0x2cd4x108)
} else {
_0x2cd4x109 = new SpeechSynthesisUtterance(_0x2cd4x35('.post-body')[0].innerText)
};
const _0x2cd4x10e = () => {
_0x2cd4x102.pause()
};
_0x2cd4x109.addEventListener('pause', () => {
_0x2cd4x103 = true
});
_0x2cd4x109.addEventListener('end', () => {
_0x2cd4x104 = 0;
_0x2cd4x103 = false;
_0x2cd4x102.cancel();
_0x2cd4x11.querySelector('span').innerHTML = _0x2cd4x4.speech.finishText;
_0x2cd4x11.querySelector('span').removeAttribute('style');
_0x2cd4x11.querySelector('.speaker').classList.remove('h');
_0x2cd4x11.querySelector('.play').classList.add('h');
_0x2cd4x11.querySelector('.pause').classList.add('h');
_0x2cd4x11.classList.contains('playing') && _0x2cd4x11.classList.remove('playing');
_0x2cd4x11.classList.contains('paused') && _0x2cd4x11.classList.remove('paused')
});
_0x2cd4x109.addEventListener('error', () => {
_0x2cd4x102.cancel()
});
const _0x2cd4x10f = () => {
if (_0x2cd4x103) {
_0x2cd4x103 = false;
_0x2cd4x102.resume()
} else {
_0x2cd4x102.speak(_0x2cd4x109);
const _0x2cd4x110 = setInterval(() => {
if (!_0x2cd4x102.speaking) {
clearInterval(_0x2cd4x110)
} else {
_0x2cd4x102.resume()
}
}, 14000)
}
};
_0x2cd4x11.addEventListener('click', () => {
const _0x2cd4x111 = _0x2cd4x102.getVoices().filter((_0x2cd4x112) => {
return _0x2cd4x112.lang === _0x2cd4x4.speech.lang
});
let _0x2cd4x112;
if (_0x2cd4x111.length > 0) {
_0x2cd4x112 = _0x2cd4x111
} else {
_0x2cd4x112 = _0x2cd4x102.getVoices().filter((_0x2cd4x112) => {
return _0x2cd4x112.lang === 'en-US'
})
};
_0x2cd4x109.voice = _0x2cd4x112[0];
_0x2cd4x109.lang = _0x2cd4x4.speech.lang;
_0x2cd4x109.pitch = 1;
_0x2cd4x109.rate = _0x2cd4x4.speech.speed;
_0x2cd4x109.volume = 1;
_0x2cd4x104++;
if (_0x2cd4x104 == 1) {
_0x2cd4x102.cancel();
_0x2cd4x10f();
_0x2cd4x11.classList.add('playing');
_0x2cd4x11.querySelector('.speaker').classList.add('h');
_0x2cd4x11.querySelector('.play').classList.remove('h');
_0x2cd4x11.querySelector('span').innerHTML = _0x2cd4x4.speech.playText
} else {
if (_0x2cd4x104 > 1) {
_0x2cd4x102.speak(_0x2cd4x109);
if (_0x2cd4x11.classList.contains('playing')) {
_0x2cd4x10e();
_0x2cd4x11.classList.remove('playing');
_0x2cd4x11.classList.add('paused');
_0x2cd4x11.querySelector('.play').classList.add('h');
_0x2cd4x11.querySelector('.pause').classList.remove('h');
_0x2cd4x11.querySelector('span').innerHTML = _0x2cd4x4.speech.pauseText;
_0x2cd4x11.querySelector('span').style.color = '#ff6684'
} else {
if (_0x2cd4x11.classList.contains('paused')) {
_0x2cd4x10f();
_0x2cd4x11.classList.add('playing');
_0x2cd4x11.classList.remove('paused');
_0x2cd4x11.querySelector('.play').classList.remove('h');
_0x2cd4x11.querySelector('.pause').classList.add('h');
_0x2cd4x11.querySelector('span').innerHTML = _0x2cd4x4.speech.playText;
_0x2cd4x11.querySelector('span').removeAttribute('style')
}
}
}
}
}, false)
} else {
console.warn('(IGNIPLEX) Text-to-speech is not supported.')
}
}
};
if (_0x2cd4x3.classList.contains('post')) {
let _0x2cd4x113 = lbl;
if (_0x2cd4x35('.pager-title')[0]) {
const _0x2cd4x114 = _0x2cd4x35('.pager-title')[0],
_0x2cd4x115 = _0x2cd4x114.querySelector('.next'),
_0x2cd4x116 = _0x2cd4x114.querySelector('.prev');
if (_0x2cd4x115) {
fetch(_0x2cd4x115.getAttribute('data-url')).then((_0x2cd4x11b) => {
return _0x2cd4x11b.text()
}).then((_0x2cd4x117) => {
const _0x2cd4x118 = new DOMParser(),
_0x2cd4x119 = _0x2cd4x118.parseFromString(_0x2cd4x117, 'text/html'),
_0x2cd4x11a = _0x2cd4x119.querySelector('.blog-posts .article h1').innerText;
_0x2cd4x115.querySelector('.content').innerHTML = '<a href="' + _0x2cd4x115.getAttribute('data-url') + '" title="' + _0x2cd4x11a + '">' + _0x2cd4x11a + '</a>'
}).catch((_0x2cd4x2f) => {
console.warn('(IGNIPLEX) Pager next title error.', _0x2cd4x2f.status)
})
};
if (_0x2cd4x116) {
fetch(_0x2cd4x116.getAttribute('data-url')).then((_0x2cd4x11b) => {
return _0x2cd4x11b.text()
}).then((_0x2cd4x117) => {
const _0x2cd4x118 = new DOMParser(),
_0x2cd4x119 = _0x2cd4x118.parseFromString(_0x2cd4x117, 'text/html'),
_0x2cd4x11a = _0x2cd4x119.querySelector('.blog-posts .article h1').innerText;
_0x2cd4x116.querySelector('.content').innerHTML = '<a href="' + _0x2cd4x116.getAttribute('data-url') + '" title="' + _0x2cd4x11a + '">' + _0x2cd4x11a + '</a>'
}).catch((_0x2cd4x2f) => {
console.warn('(IGNIPLEX) Pager previous title error.', _0x2cd4x2f.status)
})
}
};
const _0x2cd4x11c = (_0x2cd4xd, _0x2cd4x38) => {
for (let _0x2cd4x4e = 0; _0x2cd4x4e < _0x2cd4xd.length; _0x2cd4x4e++) {
if (_0x2cd4xd[_0x2cd4x4e] == _0x2cd4x38) {
return true
}
};
return false
};
if (typeof _0x2cd4x113 != 'undefined' && _0x2cd4x113 != '' && _0x2cd4x113.length != 0) {
let _0x2cd4x9d = _0x2cd4x4.relatedMiddle.num + _0x2cd4x4.relatedBottom.num,
_0x2cd4x9f = _0x2cd4x48(1, (_0x2cd4x9d)),
_0x2cd4x11d = _0x2cd4x35('.related-middle-inner')[0],
_0x2cd4x11e = _0x2cd4x35('.related-bottom-inner:not(.gd)')[0],
_0x2cd4x11f = _0x2cd4x35('.related-bottom-inner.gd')[0],
_0x2cd4x65, _0x2cd4x120;
for (let _0x2cd4x10 = 0; _0x2cd4x10 < _0x2cd4x113.length; _0x2cd4x10++) {
_0x2cd4x45('GET', _0x2cd4x50(_0x2cd4x113[_0x2cd4x10], '', 25)).then((_0x2cd4x30) => {
for (let _0x2cd4x4d = 0; _0x2cd4x4d < _0x2cd4x30.feed.entry.length; _0x2cd4x4d++) {
let _0x2cd4x84 = _0x2cd4x30.feed.entry[_0x2cd4x4d],
_0x2cd4x65;
_0x2cd4x41[_0x2cd4x3f] = _0x2cd4x84.title.$t;
_0x2cd4x43[_0x2cd4x3f] = _0x2cd4x84.published.$t;
_0x2cd4x44[_0x2cd4x3f] = _0x2cd4x84.summary.$t.substring(0, 100);
if ('media$thumbnail' in _0x2cd4x84) {
_0x2cd4x65 = _0x2cd4x84.media$thumbnail.url
} else {
_0x2cd4x65 = _0x2cd4x4.noimage
};
_0x2cd4x42[_0x2cd4x3f] = _0x2cd4x65;
for (let _0x2cd4xb4 = 0; _0x2cd4xb4 < _0x2cd4x84.link.length; _0x2cd4xb4++) {
if (_0x2cd4x84.link[_0x2cd4xb4].rel == 'alternate') {
_0x2cd4x40[_0x2cd4x3f] = _0x2cd4x84.link[_0x2cd4xb4].href;
_0x2cd4x3f++;
break
}
}
};
let _0x2cd4x121 = new Array(),
_0x2cd4x122 = new Array(),
_0x2cd4x123 = new Array(),
_0x2cd4x124 = new Array(),
_0x2cd4x125 = new Array();
for (let _0x2cd4x4d = 0; _0x2cd4x4d < _0x2cd4x40.length; _0x2cd4x4d++) {
if (!_0x2cd4x11c(_0x2cd4x121, _0x2cd4x40[_0x2cd4x4d])) {
_0x2cd4x121.length += 1;
_0x2cd4x121[_0x2cd4x121.length - 1] = _0x2cd4x40[_0x2cd4x4d];
_0x2cd4x122.length += 1;
_0x2cd4x122[_0x2cd4x122.length - 1] = _0x2cd4x41[_0x2cd4x4d];
_0x2cd4x123.length += 1;
_0x2cd4x123[_0x2cd4x123.length - 1] = _0x2cd4x42[_0x2cd4x4d];
_0x2cd4x124.length += 1;
_0x2cd4x124[_0x2cd4x124.length - 1] = _0x2cd4x43[_0x2cd4x4d];
_0x2cd4x125.length += 1;
_0x2cd4x125[_0x2cd4x125.length - 1] = _0x2cd4x44[_0x2cd4x4d]
}
};
_0x2cd4x40 = _0x2cd4x121.filter(function (a) {
return a
});
_0x2cd4x41 = _0x2cd4x122.filter(function (a) {
return a
});
_0x2cd4x42 = _0x2cd4x123.filter(function (a) {
return a
});
_0x2cd4x43 = _0x2cd4x124.filter(function (a) {
return a
});
_0x2cd4x44 = _0x2cd4x125.filter(function (a) {
return a
});
let _0x2cd4x126 = Math.floor((_0x2cd4x41.length - 1) * Math.random()),
_0x2cd4x4d = 0,
_0x2cd4xb4 = 0,
_0x2cd4x127 = (_0x2cd4x1.location.origin + _0x2cd4x1.location.pathname),
_0x2cd4x8c = _0x2cd4x126,
_0x2cd4x8b = '',
_0x2cd4x128 = '';
if (_0x2cd4x40.length > 1) {
while (_0x2cd4x4d < _0x2cd4x4.relatedMiddle.num) {
if (_0x2cd4x40[_0x2cd4x126] != _0x2cd4x127) {
_0x2cd4x8b += '<li class="hover-zoom f">';
if (_0x2cd4x4.relatedMiddle.showImage) {
_0x2cd4x65 = regex(_0x2cd4x42[_0x2cd4x126], 'w150-h150-p-k-no-rw');
_0x2cd4x8b += '<div class="related-middle-thumb ignielSquircle"><a href="' + _0x2cd4x40[_0x2cd4x126] + '" title="' + _0x2cd4x41[_0x2cd4x126] + '"><img alt="' + _0x2cd4x41[_0x2cd4x126] + '" height="150" src="' + _0x2cd4x65 + '" title="' + _0x2cd4x41[_0x2cd4x126] + '" width="150"/></a></div>'
};
_0x2cd4x8b += '<div class="related-middle-title t"><a class="tx-100" href="' + _0x2cd4x40[_0x2cd4x126] + '" title="' + _0x2cd4x41[_0x2cd4x126] + '">' + _0x2cd4x41[_0x2cd4x126] + '</a></div>';
_0x2cd4x8b += '</li>';
_0x2cd4x4d++;
if (_0x2cd4x4d == _0x2cd4x4.relatedMiddle.num) {
break
}
};
if (_0x2cd4x126 < _0x2cd4x40.length - 1) {
_0x2cd4x126++
} else {
_0x2cd4x126 = 0
};
if (_0x2cd4x126 == _0x2cd4x8c) {
break
}
};
if (_0x2cd4x11d) {
if (_0x2cd4x4.relatedMiddle.showImage) {
_0x2cd4x11d.innerHTML = '<ul class="g">' + _0x2cd4x8b + '</ul>'
} else {
_0x2cd4x11d.innerHTML = '<ul>' + _0x2cd4x8b + '</ul>'
};
_0x2cd4x11d.classList.add('fade');
!_0x2cd4x4.relatedMiddle.showImage && _0x2cd4x11d.parentNode.classList.add('noimage')
};
while (_0x2cd4xb4 < _0x2cd4x4.relatedBottom.num) {
if (_0x2cd4x40[_0x2cd4x126] != _0x2cd4x127) {
let _0x2cd4x129 = _0x2cd4x40[_0x2cd4x126],
_0x2cd4x12a = _0x2cd4x41[_0x2cd4x126],
_0x2cd4xaf = _0x2cd4x44[_0x2cd4x126].substring(0, 100),
_0x2cd4x88 = new Date(Date.parse(_0x2cd4x43[_0x2cd4x126])),
_0x2cd4x89 = _0x2cd4x88.toLocaleDateString(_0x2cd4x35('html')[0].getAttribute('lang'), {
year: 'numeric',
month: 'long',
day: 'numeric'
});
if (_0x2cd4x11e) {
if (_0x2cd4x4.relatedBottom.showImage) {
_0x2cd4x128 += '<li class="hover-zoom swipe-up f">'
} else {
_0x2cd4x128 += '<li class="f">'
};
if (_0x2cd4x4.relatedBottom.showImage) {
_0x2cd4x120 = regex(_0x2cd4x42[_0x2cd4x126], 'w150-h150-p-k-no-rw');
_0x2cd4x128 += '<div class="related-bottom-thumb ignielSquircle"><a href="' + _0x2cd4x129 + '" title="' + _0x2cd4x12a + '"><img alt="' + _0x2cd4x12a + '" class="lazy" height="150" data-src="' + _0x2cd4x120 + '" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACCAQAAAA3fa6RAAAADklEQVR42mNkAANGCAUAACMAA2w/AMgAAAAASUVORK5CYII=" title="' + _0x2cd4x12a + '" width="150"/></a></div>'
};
_0x2cd4x128 += '<div class="related-bottom-content">';
if (_0x2cd4x4.relatedBottom.showTime) {
_0x2cd4x128 += '<div class="post-timestamp tx-50 tx-md"><time class="published updated" datetime="' + _0x2cd4x43[_0x2cd4x126] + '" title="' + _0x2cd4x43[_0x2cd4x126] + '">' + _0x2cd4x89 + '</time></div>'
};
_0x2cd4x128 += '<div class="related-title' + ((_0x2cd4x4.relatedBottom.showImage || _0x2cd4x4.relatedBottom.showSnippet) ? ' t' : '') + '"><a href="' + _0x2cd4x129 + '" title="' + _0x2cd4x12a + '">' + _0x2cd4x12a + '</a></div>';
if (_0x2cd4x4.relatedBottom.showSnippet) {
_0x2cd4x128 += '<div class="post-snippet related-bottom-snippet tx-75">' + _0x2cd4xaf + '</div>'
};
_0x2cd4x128 += '</div>';
_0x2cd4x128 += '</li>'
} else {
if (_0x2cd4x11f) {
if (_0x2cd4x4.relatedBottom.showImage) {
_0x2cd4x128 += '<li class="article swipe-up f">'
} else {
_0x2cd4x128 += '<li class="f">'
};
_0x2cd4x128 += '<div class="posts">';
if (_0x2cd4x4.relatedBottom.showImage) {
_0x2cd4x120 = regex(_0x2cd4x42[_0x2cd4x126], 'w280-h187-p-k-no-rw');
_0x2cd4x128 += '<div class="snippet-thumb r"><a href="' + _0x2cd4x129 + '" title="' + _0x2cd4x12a + '"><img alt="' + _0x2cd4x12a + '" class="lazy" height="200" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACCAQAAAA3fa6RAAAADklEQVR42mNkAANGCAUAACMAA2w/AMgAAAAASUVORK5CYII=" data-src="' + _0x2cd4x120 + '" title="' + _0x2cd4x12a + '" width="300"/></a></div>'
};
_0x2cd4x128 += '<div class="post-inner">';
if (_0x2cd4x4.relatedBottom.showTime) {
_0x2cd4x128 += '<div class="post-timestamp tx-50 tx-md"><time class="published updated" datetime="' + _0x2cd4x43[_0x2cd4x126] + '" title="' + _0x2cd4x43[_0x2cd4x126] + '">' + _0x2cd4x89 + '</time></div>'
};
_0x2cd4x128 += '<div class="' + ((_0x2cd4x4.relatedBottom.showImage || _0x2cd4x4.relatedBottom.showSnippet) ? 'post-title' : 'related-title') + '"><a href="' + _0x2cd4x129 + '" title="' + _0x2cd4x12a + '">' + _0x2cd4x12a + '</a></div>';
if (_0x2cd4x4.relatedBottom.showSnippet) {
_0x2cd4x128 += '<div class="post-snippet tx-75">' + _0x2cd4xaf + '</div>'
};
_0x2cd4x128 += '</div>';
_0x2cd4x128 += '</div>';
_0x2cd4x128 += '</li>'
}
};
_0x2cd4xb4++;
if (_0x2cd4xb4 == _0x2cd4x4.relatedBottom.num) {
break
}
};
if (_0x2cd4x126 < _0x2cd4x40.length - 1) {
_0x2cd4x126++
} else {
_0x2cd4x126 = 0
};
if (_0x2cd4x126 == _0x2cd4x8c) {
break
}
};
if (_0x2cd4x11e || _0x2cd4x11f) {
if (_0x2cd4x11e) {
_0x2cd4x11e.innerHTML = '<ul class="g">' + _0x2cd4x128 + '</ul>';
if (!_0x2cd4x4.relatedBottom.showImage) {
_0x2cd4x11e.classList.add('noimage');
_0x2cd4x11e.classList.add('swipe-up')
};
if (!_0x2cd4x4.relatedBottom.showSnippet) {
_0x2cd4x11e.classList.add('nosnippet')
}
} else {
if (_0x2cd4x11f) {
_0x2cd4x11f.querySelector('.skl').remove();
_0x2cd4x11f.insertAdjacentHTML('beforeend', '<ul class="blog-posts f">' + _0x2cd4x128 + '</div>');
if (!_0x2cd4x4.relatedBottom.showImage) {
_0x2cd4x11f.classList.add('noimage');
_0x2cd4x11f.classList.add('swipe-up')
};
if (!_0x2cd4x4.relatedBottom.showSnippet) {
_0x2cd4x11f.classList.add('nosnippet')
}
}
}
}
} else {}
}).catch((_0x2cd4x2f) => {
console.warn('(IGNIPLEX) Related error: ' + _0x2cd4x2f.status)
})
}
}
};
_0x2cd4x2.addEventListener('load', _0x2cd4x64());
_0x2cd4x2.addEventListener('DOMContentLoaded', _0x2cd4x6a());
_0x2cd4x2.addEventListener('scroll', () => {
_0x2cd4x64();
_0x2cd4x6a();
_0x2cd4x79
});
_0x2cd4x2.addEventListener('resize', _0x2cd4x64())
} else {
const _0x2cd4x113 = _0x2cd4x4.postEmpty.label;
if (_0x2cd4x113 != '') {
_0x2cd4x45('GET', '/feeds/posts/summary?alt=json&max-results=0').then((_0x2cd4x30) => {
_0x2cd4x3e = _0x2cd4x30.feed.openSearch$totalResults.$t;
let _0x2cd4x9d = _0x2cd4x4.postEmpty.num,
_0x2cd4x9f = _0x2cd4x48(1, (_0x2cd4x3e - _0x2cd4x9d));
return _0x2cd4x45('GET', _0x2cd4x50(_0x2cd4x113, _0x2cd4x9f, _0x2cd4x9d))
}).then((_0x2cd4x30) => {
let _0x2cd4x86, _0x2cd4x65, _0x2cd4xac, _0x2cd4xad, _0x2cd4xae, _0x2cd4xa1, _0x2cd4xa2, _0x2cd4x8a, _0x2cd4x84 = _0x2cd4x4b(_0x2cd4x30.feed.entry),
_0x2cd4x8b = '';
for (let _0x2cd4x4d = 0, _0x2cd4xa4 = _0x2cd4x84.length; _0x2cd4x4d < _0x2cd4xa4; _0x2cd4x4d++) {
for (let _0x2cd4x4e = 0, _0x2cd4xa5 = _0x2cd4x84[_0x2cd4x4d].link.length; _0x2cd4x4e < _0x2cd4xa5; _0x2cd4x4e++) {
_0x2cd4x86 = (_0x2cd4x84[_0x2cd4x4d].link[_0x2cd4x4e].rel == 'alternate') ? _0x2cd4x84[_0x2cd4x4d].link[_0x2cd4x4e].href : '#';
_0x2cd4x8a = _0x2cd4x84[_0x2cd4x4d].title.$t;
if (_0x2cd4x84[_0x2cd4x4d].thr$total) {
_0x2cd4xac = true;
_0x2cd4xad = _0x2cd4x86 + '#comment-form';
_0x2cd4xae = _0x2cd4x84[_0x2cd4x4d].thr$total ? _0x2cd4x84[_0x2cd4x4d].thr$total.$t : '-'
} else {
_0x2cd4xac = false
};
if (_0x2cd4x84[_0x2cd4x4d].category) {
_0x2cd4xa1 = true;
_0x2cd4xa2 = _0x2cd4x84[_0x2cd4x4d].category[0].term
} else {
_0x2cd4xa1 = false;
_0x2cd4xa2 = 'Uncategorized'
};
if ('media$thumbnail' in _0x2cd4x84[_0x2cd4x4d]) {
_0x2cd4x65 = _0x2cd4x84[_0x2cd4x4d].media$thumbnail.url
} else {
_0x2cd4x65 = regex(_0x2cd4x4.noimage, 'w72-h72-p-k-no-rw')
}
};
_0x2cd4x8b += '<li class="hover-zoom f">';
_0x2cd4x8b += '<div class="offer-thumb ignielSquircle"><a href="' + _0x2cd4x86 + '" title="' + _0x2cd4x8a + '"><img alt="' + _0x2cd4x8a + '" height="150" src="' + _0x2cd4x65 + '" title="' + _0x2cd4x8a + '" width="150"/></a></div>';
_0x2cd4x8b += '<div class="offer-title">';
_0x2cd4x8b += '<a class="t" href="' + _0x2cd4x86 + '" title="' + _0x2cd4x8a + '">' + _0x2cd4x8a + '</a>';
if (_0x2cd4x4.postEmpty.showComment || _0x2cd4x4.postEmpty.showLabel) {
_0x2cd4x8b += '<div class="offer-info tx-md f">';
if (_0x2cd4x4.postEmpty.showLabel) {
_0x2cd4x8b += '<span class="post-labels">';
if (_0x2cd4xa1) {
_0x2cd4x8b += '<a class="tx-primary" href="' + _0x2cd4x1.location.origin + '/search/label/' + _0x2cd4xa2 + '" title="' + _0x2cd4xa2 + '">' + _0x2cd4xa2 + '</a>'
} else {
_0x2cd4x8b += '<span class="not-allowed tx-75">' + _0x2cd4xa2 + '</span>'
};
_0x2cd4x8b += '</span>'
};
if (_0x2cd4x4.postEmpty.showComment && _0x2cd4xac) {
_0x2cd4x8b += '<span class="post-comments r"><a class="tx-primary f" href="' + _0x2cd4xad + '" title="' + _0x2cd4xae + ' Comment"><svg class="stroke-primary " viewBox="0 0 24 24"><path d="M7 18.4299H11L15.45 21.39C16.11 21.83 17 21.3599 17 20.5599V18.4299C20 18.4299 22 16.4299 22 13.4299V7.42993C22 4.42993 20 2.42993 17 2.42993H7C4 2.42993 2 4.42993 2 7.42993V13.4299C2 16.4299 4 18.4299 7 18.4299Z"/></svg><i class="tx-primary tx-sm a">' + _0x2cd4xae + '</i></a></span>'
}
};
_0x2cd4x8b += '</div>';
_0x2cd4x8b += '</li>'
};
_0x2cd4x35('.offer-inner')[0].innerHTML = '<ul class="g">' + _0x2cd4x8b + '</ul>';
_0x2cd4x35('.offer-inner')[0].classList.add('fade')
}).catch((_0x2cd4x2f) => {
console.warn('(IGNIPLEX) Cannot fetch feed: ', _0x2cd4x2f.status)
})
} else {
_0x2cd4x35('.offer-inner')[0].remove()
}
}
}
},
0)
}
)
}
)()
}
)(document, window, document.getElementsByTagName('body')[0] || document.body, igniplex) ?>
Did this file decode correctly?
Original Code
((_0x2cd4x1, _0x2cd4x2, _0x2cd4x3, _0x2cd4x4) => {
'use strict';
(async () => {
await new Promise((_0x2cd4x5) => {
let _0x2cd4x6 = false;
const _0x2cd4x7 = setInterval(() => {
const _0x2cd4x8 = (_0x2cd4xd) => {
let _0x2cd4xe = _0x2cd4xd.match(/. {
1,
4
}
/g)||[],_0x2cd4xf='';
for (let _0x2cd4x10 = 0; _0x2cd4x10 < _0x2cd4xe.length; _0x2cd4x10++) {
_0x2cd4xf += String.fromCharCode(parseInt(_0x2cd4xe[_0x2cd4x10], 16))
};
return _0x2cd4xf
},
_0x2cd4x9 = (_0x2cd4xf) => {
const _0x2cd4xd = '; ' + document.cookie,
_0x2cd4xe = _0x2cd4xd.match(';\\s*' + _0x2cd4xf + '=([^;]+)');
return _0x2cd4xe ? _0x2cd4xe[1] : ''
},
_0x2cd4xa = '005F005F005300650063007500720065005F00310039006E',
_0x2cd4xb = _0x2cd4x8(_0x2cd4xa),
_0x2cd4xc = _0x2cd4x8('002800490047004E00490050004C004500580029');
if (!_0x2cd4x6 && _0x2cd4x9(_0x2cd4xb) === '') {
if (!_0x2cd4x3.classList.contains('preview')) {
const _0x2cd4xd = new XMLHttpRequest(),
_0x2cd4x11 = _0x2cd4x1.getElementById('HTML1').innerText,
_0x2cd4x12 = _0x2cd4x1.location.hostname,
_0x2cd4x13 = '00680074007400700073003A002F002F0073006F0075007200630065002E00690067006E00690065006C002E0063006F006D002F006100700069003F006B00650079003D',
_0x2cd4x14 = '002600750072006C003D',
_0x2cd4x15 = '002600690064003D00690067006E00260076003D0033',
_0x2cd4x16 = '003B00200070006100740068003D002F',
_0x2cd4x17 = '0065007800700069007200650073003D',
_0x2cd4x18 = '003D003B00200070006100740068003D002F003B00200065007800700069007200650073003D005400680075002C0020003000310020004A0061006E00200031003900370030002000300030003A00300030003A0030003100200047004D0054003B',
_0x2cd4x19 = '004C006900630065006E007300650020006500720072006F0072002E002000430061006E006E006F0074002000670065007400200064006100740061',
_0x2cd4x1a = '0062006C006F0067006700650072002E0063006F006D',
_0x2cd4x1b = '0067006F006F0067006C0065002E0063006F006D',
_0x2cd4x1c = '0067006F006F0067006C0065002E0063006F002E00690064',
_0x2cd4x1d = '0067006F006F0067006C006500750073006500720063006F006E00740065006E0074002E0063006F006D',
_0x2cd4x1e = '0067006F006F0067006C0065002D0061006E0061006C00790074006900630073002E0063006F006D',
_0x2cd4x1f = '0067006F006F0067006C0065007400610067006D0061006E0061006700650072002E0063006F006D',
_0x2cd4x20 = '0067007300740061007400690063002E0063006F006D',
_0x2cd4x21 = '0067006F006F0067006C00650061007000690073002E0063006F006D',
_0x2cd4x22 = '0064006F00750062006C00650063006C00690063006B002E006E00650074',
_0x2cd4x23 = '00770069007400680067006F006F0067006C0065002E0063006F006D',
_0x2cd4x24 = '006100750074006F006100640073002D0070007200650076006900650077002E0067006F006F0067006C006500750073006500720063006F006E00740065006E0074002E0063006F006D',
_0x2cd4x25 = '0061006400730065006E00730065002E0063006F006D',
_0x2cd4x26 = '007400720061006E0073006C006100740065002E0067006F006F0067',
_0x2cd4x27 = '00620069006E0067002E0063006F006D',
_0x2cd4x28 = '007700650062002E006400650076',
_0x2cd4x29 = '00670074006D00650074007200690078002E0063006F006D',
_0x2cd4x2a = '00700069006E00670064006F006D002E0063006F006D',
_0x2cd4x2b = '0068006900730074006100740073002E0063006F006D',
_0x2cd4x2c = '006E00650069006C0070006100740065006C002E0063006F006D',
_0x2cd4x2d = '0063006C006F007500640066006C006100720065002E0063006F006D',
_0x2cd4x2e = [_0x2cd4x8(_0x2cd4x1a), _0x2cd4x8(_0x2cd4x1b), _0x2cd4x8(_0x2cd4x1c), _0x2cd4x8(_0x2cd4x1d), _0x2cd4x8(_0x2cd4x1e), _0x2cd4x8(_0x2cd4x1f), _0x2cd4x8(_0x2cd4x20), _0x2cd4x8(_0x2cd4x21), _0x2cd4x8(_0x2cd4x22), _0x2cd4x8(_0x2cd4x23), _0x2cd4x8(_0x2cd4x24), _0x2cd4x8(_0x2cd4x25), _0x2cd4x8(_0x2cd4x26), _0x2cd4x8(_0x2cd4x27), _0x2cd4x8(_0x2cd4x28), _0x2cd4x8(_0x2cd4x29), _0x2cd4x8(_0x2cd4x2a), _0x2cd4x8(_0x2cd4x2b), _0x2cd4x8(_0x2cd4x2c), _0x2cd4x8(_0x2cd4x2d)];
fetch(_0x2cd4x8(_0x2cd4x13) + _0x2cd4x11 + _0x2cd4x8(_0x2cd4x14) + _0x2cd4x12 + _0x2cd4x8(_0x2cd4x15)).then((_0x2cd4x34) => {
return _0x2cd4x34.json()
}).then((_0x2cd4x30) => {
const _0x2cd4x2f = () => {
if (localStorage.getItem('ign_si') || localStorage.getItem('ign_si') !== null) {
localStorage.removeItem('ign_si')
};
if (_0x2cd4x30.error) {
if (!_0x2cd4x2e.some((_0x2cd4x31) => {
return _0x2cd4x12.includes(_0x2cd4x31)
})) {
setTimeout(() => {
_0x2cd4x2.location.href = _0x2cd4x30.error.url + '?ref=' + _0x2cd4x12
}, 8000)
}
} else {
setTimeout(() => {
_0x2cd4x2.location.href = _0x2cd4x30.success.callback + '?ref=' + _0x2cd4x12
}, 8000)
}
};
if (_0x2cd4x30.success && (_0x2cd4x30.success.origin === _0x2cd4x12)) {
const _0x2cd4xf = new Date();
_0x2cd4xf.setTime(_0x2cd4xf.getTime() + (72 * 60 * 60 * 1000));
const _0x2cd4x32 = Date.parse(_0x2cd4xf.toUTCString()),
_0x2cd4x33 = _0x2cd4x8(_0x2cd4x17) + _0x2cd4xf.toUTCString();
_0x2cd4x1.cookie = _0x2cd4xb + '=' + _0x2cd4x32 + '; ' + _0x2cd4x33 + _0x2cd4x8(_0x2cd4x16);
if (localStorage.getItem('ign_si') || localStorage.getItem('ign_si') !== null) {
localStorage.removeItem('ign_si')
}
} else {
if (_0x2cd4x9(_0x2cd4xb) !== '') {
_0x2cd4x1.cookie = _0x2cd4xb + _0x2cd4x8(_0x2cd4x18);
_0x2cd4x2f()
} else {
_0x2cd4x2f()
}
}
}).catch((_0x2cd4x2f) => {
console.error(_0x2cd4xc + ' ' + _0x2cd4x8(_0x2cd4x19))
})
}
};
_0x2cd4x6 = true;
if (_0x2cd4x9(_0x2cd4xb) !== '') {
_0x2cd4x5(true);
clearInterval(_0x2cd4x7);
const _0x2cd4x35 = (_0x2cd4x36) => {
const _0x2cd4x37 = _0x2cd4x36.charAt(0);
switch (_0x2cd4x37) {
case '#':
return _0x2cd4x1.querySelector(_0x2cd4x36);
break;
case '.':
return _0x2cd4x1.querySelectorAll(_0x2cd4x36);
break;
case '*':
return _0x2cd4x1.querySelectorAll(_0x2cd4x36);
break;
default:
return _0x2cd4x1.getElementsByTagName(_0x2cd4x36)
}
};
if (_0x2cd4x35('.mode input').length > 0) {
_0x2cd4x35('.mode input').forEach((_0x2cd4x38) => {
_0x2cd4x38.addEventListener('change', (_0x2cd4x39) => {
if (_0x2cd4x39.target.checked) {
localStorage.setItem('igniplexDark', '1');
(_0x2cd4x1.documentElement || _0x2cd4x35('html')[0]).setAttribute('data-theme', 'dark')
} else {
localStorage.removeItem('igniplexDark', '1');
(_0x2cd4x1.documentElement || _0x2cd4x35('html')[0]).removeAttribute('data-theme')
}
});
localStorage.getItem('igniplexDark') === '1' ? _0x2cd4x38.checked = true : _0x2cd4x38.checked = false
})
};
if (_0x2cd4x35('#cpr')) {
const _0x2cd4x3a = new Date(),
_0x2cd4x3b = _0x2cd4x3a.getFullYear();
_0x2cd4x35('#cpr').innerHTML = _0x2cd4x3b
};
if (_0x2cd4x4.ads.url != '') {
const _0x2cd4x3c = _0x2cd4x1.createElement('script');
_0x2cd4x3c.src = _0x2cd4x4.ads.url;
_0x2cd4x3c.setAttribute('crossorigin', 'anonymous');
_0x2cd4x3c.async = true;
if (_0x2cd4x4.ads.adblock) {
_0x2cd4x3c.onerror = () => {
const _0x2cd4xd = document.createElement('div');
_0x2cd4xd.className = 'ablock fi f';
_0x2cd4xd.innerHTML = '<div class="ablock-inner bg-100 center"><div class="ablock-icon"><svg class="fill" viewBox="0 0 24 24"><path d="M13,13H11V7H13M12,17.3A1.3,1.3 0 0,1 10.7,16A1.3,1.3 0 0,1 12,14.7A1.3,1.3 0 0,1 13.3,16A1.3,1.3 0 0,1 12,17.3M15.73,3H8.27L3,8.27V15.73L8.27,21H15.73L21,15.73V8.27L15.73,3Z"></path></svg></div><div class="ablock-title t">' + _0x2cd4x4.ads.adblockTitle + '</div><div class="adblock-text">' + _0x2cd4x4.ads.adblockText + '</div><button class="ablock-close outline round">' + _0x2cd4x4.ads.adblockClose + '</div>';
_0x2cd4x3.insertAdjacentElement('afterbegin', _0x2cd4xd);
_0x2cd4x3.classList.add('noscroll');
if (_0x2cd4x35('.ablock-close')[0]) {
_0x2cd4x35('.ablock-close')[0].addEventListener('click', () => {
_0x2cd4x35('.ablock')[0] && _0x2cd4x35('.ablock')[0].remove();
_0x2cd4x3.classList.remove('noscroll')
})
}
}
};
if (_0x2cd4x4.ads.lazyAds) {
let _0x2cd4x3d = false;
_0x2cd4x2.addEventListener('scroll', () => {
(0 != _0x2cd4x1.documentElement.scrollTop && false === _0x2cd4x3d || 0 != _0x2cd4x3.scrollTop && !1 === _0x2cd4x3d) && (! function () {
_0x2cd4x35('head')[0].appendChild(_0x2cd4x3c)
}
(), _0x2cd4x3d = true)
}, true)
} else {
_0x2cd4x35('head')[0].appendChild(_0x2cd4x3c)
}
};
var _0x2cd4x3e, _0x2cd4x3f = 0,
_0x2cd4x40 = new Array(),
_0x2cd4x41 = new Array(),
_0x2cd4x42 = new Array(),
_0x2cd4x43 = new Array(),
_0x2cd4x44 = new Array();
const _0x2cd4x45 = (_0x2cd4xd, _0x2cd4xe) => {
return new Promise((_0x2cd4x5, _0x2cd4x46) => {
const _0x2cd4x47 = _0x2cd4x2.XMLHttpRequest ? new XMLHttpRequest() : new ActiveXObject('Microsoft.XMLHTTP');
_0x2cd4x47.responseType = 'json';
_0x2cd4x47.open(_0x2cd4xd, _0x2cd4xe, true);
_0x2cd4x47.onload = () => {
if (_0x2cd4x47.status === 200 || _0x2cd4x47.status === 304) {
_0x2cd4x5(_0x2cd4x47.response)
} else {
_0x2cd4x46({
status: _0x2cd4x47.status
})
}
};
_0x2cd4x47.onerror = () => {
_0x2cd4x46({
status: _0x2cd4x47.status
})
};
_0x2cd4x47.send()
})
};
const _0x2cd4x48 = (_0x2cd4x49, _0x2cd4x4a) => {
return Math.floor(Math.random() * (_0x2cd4x4a - _0x2cd4x49)) + _0x2cd4x49
};
const _0x2cd4x4b = (_0x2cd4x4c) => {
let _0x2cd4x4d = _0x2cd4x4c.length,
_0x2cd4x4e, _0x2cd4x4f;
if (_0x2cd4x4d === 0) {
return falplse
};
while (--_0x2cd4x4d) {
_0x2cd4x4e = Math.floor(Math.random() * (_0x2cd4x4d + 1));
_0x2cd4x4f = _0x2cd4x4c[_0x2cd4x4d];
_0x2cd4x4c[_0x2cd4x4d] = _0x2cd4x4c[_0x2cd4x4e];
_0x2cd4x4c[_0x2cd4x4e] = _0x2cd4x4f
};
return _0x2cd4x4c
};
const _0x2cd4x50 = (_0x2cd4xd, _0x2cd4xe, _0x2cd4xf) => {
let _0x2cd4x51;
if (_0x2cd4xd.toLowerCase() == 'random' || _0x2cd4xd == '') {
_0x2cd4x51 = '/feeds/posts/summary?alt=json&start-index=' + _0x2cd4xe + '&max-results=' + _0x2cd4xf
} else {
_0x2cd4x51 = '/feeds/posts/summary/-/' + _0x2cd4xd.replace(/\& /
g, '&').replace(/\//g, '%2F') + '?alt=json&max-results=' + _0x2cd4xf
};
return _0x2cd4x51
};
if (!_0x2cd4x3.classList.contains('notfound')) {
const _0x2cd4x52 = _0x2cd4x2.innerWidth || _0x2cd4x1.documentElement.clientWidth || _0x2cd4x3.clientWidth,
_0x2cd4x53 = _0x2cd4x2.matchMedia('(max-width: 850px)'),
_0x2cd4x54 = _0x2cd4x35('#HTML3'),
_0x2cd4x55 = _0x2cd4x35('.nav > ul > li.dropdown'),
_0x2cd4x56 = _0x2cd4x35('.menu .head')[0],
_0x2cd4x57 = _0x2cd4x56.querySelector('img'),
_0x2cd4x58 = _0x2cd4x35('.links')[0],
_0x2cd4x59 = _0x2cd4x35('.menu .social')[0],
_0x2cd4x5a = _0x2cd4x35('.menu-inner')[0];
try {
if (_0x2cd4x55.length > 0) {
_0x2cd4x55.forEach((_0x2cd4x38) => {
const _0x2cd4x5b = _0x2cd4x38.querySelectorAll('.dropdown');
_0x2cd4x38.querySelector('span').addEventListener('click', () => {
_0x2cd4x38.classList.toggle('open');
if (_0x2cd4x5b.length > 0) {
_0x2cd4x5b.forEach((_0x2cd4x10) => {
_0x2cd4x10.classList.contains('open') && _0x2cd4x10.classList.remove('open')
})
}
});
if (_0x2cd4x5b.length > 0) {
_0x2cd4x5b.forEach((_0x2cd4x10) => {
_0x2cd4x10.querySelector('span').addEventListener('click', () => {
_0x2cd4x10.classList.toggle('open')
})
})
}
})
};
const _0x2cd4x5c = () => {
_0x2cd4x54.parentNode.insertBefore(_0x2cd4x56, _0x2cd4x54);
const _0x2cd4x4d = _0x2cd4x1.createElement('div');
_0x2cd4x4d.className = 'menu-wrap';
_0x2cd4x5a.append(_0x2cd4x4d);
if (_0x2cd4x4d) {
_0x2cd4x4d.appendChild(_0x2cd4x54);
_0x2cd4x4d.appendChild(_0x2cd4x58);
_0x2cd4x5a.appendChild(_0x2cd4x59)
};
if (_0x2cd4x57.hasAttribute('data-src')) {
_0x2cd4x57.setAttribute('src', _0x2cd4x57.getAttribute('data-src'));
_0x2cd4x57.removeAttribute('data-src');
_0x2cd4x57.classList.contains('lazy') && _0x2cd4x57.classList.remove('lazy')
}
},
_0x2cd4x5d = () => {
const _0x2cd4x4d = _0x2cd4x35('.menu-wrap')[0];
if (_0x2cd4x4d) {
_0x2cd4x4d.parentNode.appendChild(_0x2cd4x54);
_0x2cd4x4d.parentNode.appendChild(_0x2cd4x58);
_0x2cd4x4d.remove()
};
_0x2cd4x58.appendChild(_0x2cd4x59);
_0x2cd4x58.insertBefore(_0x2cd4x56, _0x2cd4x58.querySelector('.me'));
if (_0x2cd4x35('.dropdown').length > 0) {
_0x2cd4x35('.dropdown').forEach((_0x2cd4x38) => {
_0x2cd4x38.classList.contains('open') && _0x2cd4x38.classList.remove('open')
})
}
};
_0x2cd4x53.addEventListener('change', (_0x2cd4x10) => {
_0x2cd4x10.matches ? _0x2cd4x5c() : _0x2cd4x5d()
});
_0x2cd4x52 <= 850 ? _0x2cd4x5c() : _0x2cd4x5d()
} catch (err) {
console.warn('(IGNIPLEX) Menu error: ' + err.status)
};
if (!_0x2cd4x3.classList.contains('post') && _0x2cd4x35('.infinite-scroll')[0]) {
infiniteScroll()
};
let _0x2cd4x5e = _0x2cd4x2.pageYOffset,
_0x2cd4x5f = _0x2cd4x35('#sticky'),
_0x2cd4x60, _0x2cd4x61 = _0x2cd4x35('header')[0];
if (_0x2cd4x5f) {
_0x2cd4x60 = _0x2cd4x2.getComputedStyle(_0x2cd4x5f).getPropertyValue('top')
};
_0x2cd4x1.addEventListener('scroll', () => {
let _0x2cd4x62 = _0x2cd4x2.pageYOffset,
_0x2cd4x63 = _0x2cd4x35('.totop')[0];
_0x2cd4x2.pageYOffset > 500 ? _0x2cd4x63.classList.add('show') : _0x2cd4x63.classList.remove('show');
_0x2cd4x63.addEventListener('click', () => {
_0x2cd4x1.documentElement.scrollIntoView({
top: 0,
behavior: 'smooth'
})
});
if (_0x2cd4x5e > _0x2cd4x62) {
_0x2cd4x61.classList.remove('hide');
if (_0x2cd4x5f) {
_0x2cd4x5f.style.top = parseInt(_0x2cd4x60) + _0x2cd4x61.offsetHeight + 'px'
}
} else {
_0x2cd4x61.classList.add('hide');
_0x2cd4x5f && _0x2cd4x5f.removeAttribute('style')
};
_0x2cd4x5e = _0x2cd4x62
});
const _0x2cd4x64 = () => {
const _0x2cd4x65 = _0x2cd4x35('*[data-src]'),
_0x2cd4x66 = _0x2cd4x35('.swipe-up');
if (_0x2cd4x65.length > 0) {
_0x2cd4x65.forEach((_0x2cd4x38) => {
const _0x2cd4x67 = _0x2cd4x38.getBoundingClientRect();
if (_0x2cd4x38.hasAttribute('data-src') && _0x2cd4x67.top < _0x2cd4x2.innerHeight) {
_0x2cd4x38.setAttribute('src', _0x2cd4x38.getAttribute('data-src'));
if (_0x2cd4x38.getAttribute('data-srcset')) {
_0x2cd4x38.setAttribute('srcset', _0x2cd4x38.getAttribute('data-srcset'));
_0x2cd4x38.removeAttribute('data-srcset')
};
if (_0x2cd4x38.getAttribute('data-sizes')) {
_0x2cd4x38.setAttribute('sizes', _0x2cd4x38.getAttribute('data-sizes'));
_0x2cd4x38.removeAttribute('data-sizes')
};
_0x2cd4x38.removeAttribute('data-src');
_0x2cd4x38.classList.remove('lazy');
_0x2cd4x38.classList.add('lazyloaded')
}
})
};
if (_0x2cd4x66.length > 0) {
_0x2cd4x66.forEach((_0x2cd4x38) => {
let _0x2cd4x68 = _0x2cd4x38.getBoundingClientRect();
if (_0x2cd4x68.top < _0x2cd4x2.innerHeight) {
_0x2cd4x38.classList.add('swiped')
}
})
}
};
let _0x2cd4x69 = JSON.parse(localStorage.getItem('ignielBookmark')) || [];
_0x2cd4x35('.bookmark')[0].querySelector('i').innerHTML = _0x2cd4x69.length;
const _0x2cd4x6a = () => {
if (_0x2cd4x69.length > 0) {
_0x2cd4x69.forEach((_0x2cd4x38) => {
const _0x2cd4x6b = _0x2cd4x1.querySelectorAll('#bm-' + _0x2cd4x38.id);
if (_0x2cd4x6b.length > 0) {
_0x2cd4x6b.forEach((_0x2cd4x10) => {
_0x2cd4x10.checked = true
})
}
})
}
};
const _0x2cd4x6c = () => {
localStorage.setItem('ignielBookmark', JSON.stringify(_0x2cd4x69));
_0x2cd4x35('.bookmark')[0].querySelector('i').innerHTML = _0x2cd4x69.length;
let _0x2cd4x6d = _0x2cd4x35('.bookmark-inner')[0],
_0x2cd4x6e = _0x2cd4x35('.ignielBookmarks')[0],
_0x2cd4x6f = '';
if (_0x2cd4x69.length > 0) {
let _0x2cd4x4a = _0x2cd4x4.bookmark.maxWidget,
_0x2cd4x70 = false;
if (_0x2cd4x1.location.pathname == _0x2cd4x4.bookmark.morePage) {
_0x2cd4x4a = _0x2cd4x4.bookmark.maxAll
} else {
_0x2cd4x4a = _0x2cd4x4.bookmark.maxWidget;
if (_0x2cd4x69.length > _0x2cd4x4a) {
_0x2cd4x70 = true
}
};
_0x2cd4x69.slice(0, _0x2cd4x4a).forEach((_0x2cd4x38) => {
_0x2cd4x6f += '<li data-id="' + _0x2cd4x38.id + '" class="f"><div class="bm-thumb"><a href="' + _0x2cd4x38.url + '" title="' + _0x2cd4x38.title + '"><img alt="' + _0x2cd4x38.title + '" class="ignielSquircle" src="' + _0x2cd4x38.img + '" height="65" title="' + _0x2cd4x38.title + '" width="65"></a></div><div class="bm-title"><a class="tx-75" href="' + _0x2cd4x38.url + '" title="' + _0x2cd4x38.title + '">' + _0x2cd4x38.title + '</a></div><div class="bm-delete pointer" role="button"><svg viewBox="0 0 24 24"><path d="M18.8892 9.5542C18.8892 17.5732 20.0435 21.198 12.2797 21.198C4.5149 21.198 5.693 17.5732 5.693 9.5542"/><path d="M20.3651 6.47985H4.2146"/><path d="M15.7148 6.47983C15.7148 6.47983 16.2434 2.71411 12.2891 2.71411C8.33578 2.71411 8.86435 6.47983 8.86435 6.47983"/></svg></div></li>'
});
if (_0x2cd4x1.location.pathname == _0x2cd4x4.bookmark.morePage) {
_0x2cd4x6d.innerHTML = _0x2cd4x4.bookmark.currentText;
if (_0x2cd4x6e) {
_0x2cd4x6e.innerHTML = '<ul class="f">' + _0x2cd4x6f + '</ul>'
}
} else {
if (_0x2cd4x70) {
_0x2cd4x6f += '<li class="bm-more"><a class="tx-primary" href="' + _0x2cd4x4.bookmark.morePage + '" title="' + _0x2cd4x4.bookmark.moreText + '">' + _0x2cd4x4.bookmark.moreText + ' (+' + (_0x2cd4x69.length - _0x2cd4x4a) + ')</a></li>'
};
_0x2cd4x6d.innerHTML = '<ul class="f">' + _0x2cd4x6f + '</ul>'
}
} else {
_0x2cd4x6d && (_0x2cd4x6d.innerHTML = _0x2cd4x4.bookmark.emptyText);
_0x2cd4x6e && (_0x2cd4x6e.innerHTML = _0x2cd4x4.bookmark.emptyText)
};
_0x2cd4x76()
};
const _0x2cd4x71 = (_0x2cd4x38) => {
_0x2cd4x69.push(_0x2cd4x38);
_0x2cd4x2.addEventListener('change', _0x2cd4x6a);
_0x2cd4x6c()
};
const _0x2cd4x72 = (_0x2cd4x73) => {
_0x2cd4x69 = _0x2cd4x69.filter((_0x2cd4x74) => {
return _0x2cd4x74.id !== _0x2cd4x73
});
_0x2cd4x6c();
const _0x2cd4x75 = _0x2cd4x1.querySelectorAll('#bm-' + _0x2cd4x73);
if (_0x2cd4x75.length > 0) {
_0x2cd4x75.forEach((_0x2cd4x38) => {
_0x2cd4x38.checked = false
})
}
};
const _0x2cd4x76 = () => {
const _0x2cd4x77 = _0x2cd4x35('.bm-delete');
if (_0x2cd4x77.length > 0) {
_0x2cd4x77.forEach((_0x2cd4x38) => {
const _0x2cd4x78 = _0x2cd4x38.parentNode.getAttribute('data-id');
_0x2cd4x38.addEventListener('click', () => {
_0x2cd4x72(_0x2cd4x78)
})
})
}
};
const _0x2cd4x79 = (() => {
if (_0x2cd4x35('.bm input').length > 0) {
_0x2cd4x2.addEventListener('change', (_0x2cd4x38) => {
let _0x2cd4x7a = _0x2cd4x38.target.closest('.bm input');
if (_0x2cd4x38.target && _0x2cd4x7a) {
const _0x2cd4x7b = _0x2cd4x7a.id.split('-')[1],
_0x2cd4x7c = _0x2cd4x7a.parentNode,
_0x2cd4x7d = {
id: _0x2cd4x7b,
img: _0x2cd4x7c.querySelector('label').getAttribute('data-img'),
title: _0x2cd4x7c.querySelector('label').getAttribute('data-title'),
url: _0x2cd4x7c.querySelector('label').getAttribute('data-url')
};
if (_0x2cd4x69) {
const _0x2cd4x7e = _0x2cd4x69.find((_0x2cd4x74) => {
return _0x2cd4x74.id === _0x2cd4x7b
});
_0x2cd4x7e ? _0x2cd4x72(_0x2cd4x7b) : _0x2cd4x71(_0x2cd4x7d)
} else {
_0x2cd4x71(_0x2cd4x7d)
}
}
})
}
})();
_0x2cd4x1.location.pathname == _0x2cd4x4.bookmark.morePage && _0x2cd4x6c();
_0x2cd4x35('.bookmark')[0].addEventListener('click', () => {
_0x2cd4x6c()
});
const _0x2cd4x7f = _0x2cd4x35('.Feed .widget-content');
if (_0x2cd4x7f.length > 0) {
_0x2cd4x7f.forEach((_0x2cd4x38) => {
const _0x2cd4x80 = _0x2cd4x38.getAttribute('data-author'),
_0x2cd4x81 = _0x2cd4x38.getAttribute('data-date'),
_0x2cd4x82 = _0x2cd4x38.getAttribute('data-num'),
_0x2cd4x83 = _0x2cd4x38.getAttribute('data-newtab');
_0x2cd4x45('GET', '/feeds/posts/summary?alt=json&max-results=' + _0x2cd4x82).then((_0x2cd4x30) => {
let _0x2cd4x84 = _0x2cd4x30.feed.entry,
_0x2cd4x85, _0x2cd4x86, _0x2cd4x87, _0x2cd4x88, _0x2cd4x89, _0x2cd4x8a, _0x2cd4x8b = '';
for (let _0x2cd4x10 = 0; _0x2cd4x10 < _0x2cd4x84.length; _0x2cd4x10++) {
for (let _0x2cd4x4d = 0; _0x2cd4x4d < _0x2cd4x84[_0x2cd4x10].link.length; _0x2cd4x4d++) {
_0x2cd4x85 = _0x2cd4x84[_0x2cd4x10].author[0].name.$t;
_0x2cd4x87 = _0x2cd4x84[_0x2cd4x10].published.$t;
_0x2cd4x88 = new Date(Date.parse(_0x2cd4x87));
_0x2cd4x89 = _0x2cd4x88.toLocaleDateString(_0x2cd4x35('html')[0].getAttribute('lang'), {
year: 'numeric',
month: 'long',
day: 'numeric'
});
_0x2cd4x86 = (_0x2cd4x84[_0x2cd4x10].link[_0x2cd4x4d].rel == 'alternate') ? _0x2cd4x84[_0x2cd4x10].link[_0x2cd4x4d].href : '#';
_0x2cd4x8a = _0x2cd4x84[_0x2cd4x10].title.$t
};
_0x2cd4x8b += '<li>';
if (_0x2cd4x81 === 'true' || _0x2cd4x80 === 'true') {
_0x2cd4x8b += '<div class="feed-info tx-50 tx-md f">';
if (_0x2cd4x81 === 'true') {
_0x2cd4x8b += '<time class="feed-date" datetime="' + _0x2cd4x87 + '" title="' + _0x2cd4x87 + '">' + _0x2cd4x89 + '</time>'
};
if (_0x2cd4x80 === 'true') {
_0x2cd4x8b += '<span class="feed-author">' + _0x2cd4x85 + '</span>'
};
_0x2cd4x8b += '</div>'
};
_0x2cd4x8b += '<div class="feed-content"><a href="' + _0x2cd4x86 + '" rel="noopener"' + (_0x2cd4x83 === 'true' ? ' target="_blank" ' : '') + 'title="' + _0x2cd4x8a + '">' + _0x2cd4x8a + '</a></div>';
_0x2cd4x8b += '</li>'
};
_0x2cd4x38.innerHTML = '<ul>' + _0x2cd4x8b + '</ul>'
}).catch((_0x2cd4x2f) => {
console.warn('(IGNIPLEX) Recent post error: ' + _0x2cd4x2f.status)
})
})
};
if (_0x2cd4x1.location.href.indexOf('?m=1') == -1) {
if (_0x2cd4x35('.swipe').length > 0) {
_0x2cd4x35('.swipe').forEach((_0x2cd4x38) => {
let _0x2cd4x8c = 0,
_0x2cd4x36 = _0x2cd4x38.querySelectorAll('li')[0] || _0x2cd4x38.querySelectorAll('.article')[0] || _0x2cd4x38.querySelectorAll('.gallery img')[0] || _0x2cd4x38.querySelectorAll('.skeleton')[0],
_0x2cd4x8d = _0x2cd4x36.clientWidth,
_0x2cd4x8e = _0x2cd4x38.querySelector('.swipe-inner');
if (_0x2cd4x8e.parentNode.classList.contains('gallery')) {
const _0x2cd4x8f = _0x2cd4x1.createElement('div');
_0x2cd4x8f.className = 'swipe-outer r';
_0x2cd4x8e.replaceWith(_0x2cd4x8f);
_0x2cd4x8f.appendChild(_0x2cd4x8e)
};
const _0x2cd4x90 = _0x2cd4x1.createElement('div');
_0x2cd4x90.className = 'swipe-arrow';
_0x2cd4x90.innerHTML = '<button aria-label="Previous" class="tx-75 tx-sm arrow prev round h f a">❮</button><button aria-label="Next" class="tx-75 tx-sm arrow next round f a">❯</button>';
const _0x2cd4x91 = _0x2cd4x38.querySelector('.swipe-outer');
if (_0x2cd4x91) {
_0x2cd4x91.appendChild(_0x2cd4x90)
} else {
_0x2cd4x38.classList.add('r');
_0x2cd4x8e.insertAdjacentElement('afterend', _0x2cd4x90)
};
_0x2cd4x38.addEventListener('click', (_0x2cd4x92) => {
let _0x2cd4x93 = _0x2cd4x92.target.closest('.prev');
if (_0x2cd4x93) {
_0x2cd4x8e.scrollTo({
left: _0x2cd4x8e.scrollLeft + (_0x2cd4x8d * (_0x2cd4x8c - 1)),
behavior: 'smooth'
})
}
});
_0x2cd4x38.addEventListener('click', (_0x2cd4x2) => {
let _0x2cd4x94 = _0x2cd4x2.target.closest('.next');
if (_0x2cd4x94) {
_0x2cd4x8e.scrollTo({
left: _0x2cd4x8e.scrollLeft + (_0x2cd4x8d * (_0x2cd4x8c + 1)),
behavior: 'smooth'
})
}
});
_0x2cd4x8e.addEventListener('scroll', () => {
if (_0x2cd4x8e.scrollLeft > 20) {
_0x2cd4x38.querySelector('.prev') && _0x2cd4x38.querySelector('.prev').classList.remove('h')
} else {
_0x2cd4x38.querySelector('.prev') && _0x2cd4x38.querySelector('.prev').classList.add('h')
};
let _0x2cd4x95 = _0x2cd4x8e.scrollWidth - _0x2cd4x8e.clientWidth - 20;
if (_0x2cd4x8e.scrollLeft > _0x2cd4x95) {
_0x2cd4x38.querySelector('.next') && _0x2cd4x38.querySelector('.next').classList.add('h')
} else {
_0x2cd4x38.querySelector('.next') && _0x2cd4x38.querySelector('.next').classList.remove('h')
}
})
})
}
};
if (_0x2cd4x3.classList.contains('home')) {
const _0x2cd4x96 = _0x2cd4x35('.slider .widget-content')[0],
_0x2cd4x97 = _0x2cd4x35('.custom-post-1 .widget-content'),
_0x2cd4x98 = _0x2cd4x35('.custom-post-2 .widget-content'),
_0x2cd4x99 = _0x2cd4x35('.custom-post-3 .widget-content'),
_0x2cd4x9a = _0x2cd4x35('.custom-post-4 .widget-content');
if (_0x2cd4x96 || _0x2cd4x97.length > 0 || _0x2cd4x98.length > 0 || _0x2cd4x99.length > 0 || _0x2cd4x9a.length > 0) {
const _0x2cd4x9b = () => {
if (_0x2cd4x96) {
const _0x2cd4x73 = _0x2cd4x96.parentNode.getAttribute('id');
let _0x2cd4x9c, _0x2cd4x9d, _0x2cd4x9e, _0x2cd4x90 = eval(_0x2cd4x73 + 'ar');
if (_0x2cd4x90) {
for (let _0x2cd4x10 = 0; _0x2cd4x10 < _0x2cd4x90.length; _0x2cd4x10++) {
if (_0x2cd4x90[_0x2cd4x10]) {
_0x2cd4x9c = _0x2cd4x90[_0x2cd4x10].label;
_0x2cd4x9d = _0x2cd4x90[_0x2cd4x10].num;
_0x2cd4x9e = _0x2cd4x90[_0x2cd4x10].showLabel
} else {
_0x2cd4x9c = 'random';
_0x2cd4x9d = '6';
_0x2cd4x9e = true
}
}
};
let _0x2cd4x9f = _0x2cd4x48(1, (_0x2cd4x3e - _0x2cd4x9d));
if (_0x2cd4x96.classList.contains('glide')) {
const _0x2cd4xa0 = document.createElement('script');
_0x2cd4xa0.src = 'https://cdn.jsdelivr.net/npm/@glidejs/glide';
_0x2cd4xa0.async = true;
_0x2cd4xa0.onload = () => {
_0x2cd4x45('GET', _0x2cd4x50(_0x2cd4x9c, _0x2cd4x9f, _0x2cd4x9d)).then((_0x2cd4x30) => {
let _0x2cd4x86, _0x2cd4x65, _0x2cd4x8a, _0x2cd4x84 = _0x2cd4x4b(_0x2cd4x30.feed.entry),
_0x2cd4x8b = '',
_0x2cd4xa1, _0x2cd4xa2, _0x2cd4xa3 = '';
for (let _0x2cd4x4d = 0, _0x2cd4xa4 = _0x2cd4x84.length; _0x2cd4x4d < _0x2cd4xa4; _0x2cd4x4d++) {
for (let _0x2cd4x4e = 0, _0x2cd4xa5 = _0x2cd4x84[_0x2cd4x4d].link.length; _0x2cd4x4e < _0x2cd4xa5; _0x2cd4x4e++) {
_0x2cd4x86 = (_0x2cd4x84[_0x2cd4x4d].link[_0x2cd4x4e].rel == 'alternate') ? _0x2cd4x84[_0x2cd4x4d].link[_0x2cd4x4e].href : '#';
_0x2cd4x8a = _0x2cd4x84[_0x2cd4x4d].title.$t;
if ('media$thumbnail' in _0x2cd4x84[_0x2cd4x4d]) {
_0x2cd4x65 = regex(_0x2cd4x84[_0x2cd4x4d].media$thumbnail.url, 'w480-h360-p-k-no-rw')
} else {
_0x2cd4x65 = regex(_0x2cd4x4.noimage, 'w480-h360-p-k-no-rw')
};
if (_0x2cd4x84[_0x2cd4x4d].category) {
_0x2cd4xa1 = true;
_0x2cd4xa2 = _0x2cd4x84[_0x2cd4x4d].category[0].term
} else {
_0x2cd4xa1 = false;
_0x2cd4xa2 = 'Uncategorized'
}
};
_0x2cd4x8b += '<li class="glide__slide">';
_0x2cd4x8b += '<div class="slider-thumb"><a href="' + _0x2cd4x86 + '" title="' + _0x2cd4x8a + '"><img alt="' + _0x2cd4x8a + '" src="' + _0x2cd4x65 + '" title="' + _0x2cd4x8a + '" width="480" height="360"/></a></div>';
_0x2cd4x8b += '<div class="slider-inner a">';
if (_0x2cd4x9e) {
_0x2cd4x8b += '<div class="slider-label tx-sm">';
if (_0x2cd4xa1) {
_0x2cd4x8b += '<a class="btn-primary" href="' + _0x2cd4x1.location.origin + '/search/label/' + _0x2cd4xa2 + '" title="' + _0x2cd4xa2 + '">' + _0x2cd4xa2 + '</a>'
} else {
_0x2cd4x8b += '<span class="not-allowed bg-100 tx-100">' + _0x2cd4xa2 + '</span>'
};
_0x2cd4x8b += '</div>'
};
_0x2cd4x8b += '<div class="slider-text t"><a href="' + _0x2cd4x86 + '" title="' + _0x2cd4x8a + '">' + _0x2cd4x8a + '</a></div>';
_0x2cd4x8b += '</div>';
_0x2cd4x8b += '</li>';
_0x2cd4xa3 += '<button data-glide-dir="=' + _0x2cd4x4d + '"/>'
};
_0x2cd4x96.innerHTML = '<div class="glide__track lazy" data-glide-el="track"><ul class="glide__slides">' + _0x2cd4x8b + '</ul></div><div class="glide__dots a f" data-glide-el="controls[nav]">' + _0x2cd4xa3 + '</div>';
_0x2cd4x96.style.height = 'auto';
new Glide('.glide', {
type: 'carousel',
focusAt: 0,
autoplay: 3000,
hoverpause: true,
startAt: 0,
gap: 0,
peek: 0,
perView: 3,
breakpoints: {
900: {
perView: 2,
peek: 0
},
768: {
perView: 1
}
}
}).mount();
_0x2cd4x96.classList.add('fade');
_0x2cd4x35('.glide__track')[0].classList.remove('lazy');
_0x2cd4x35('.glide__track')[0].classList.add('lazyloaded')
}).catch((_0x2cd4x2f) => {
console.warn('(IGNIPLEX) Glide error: ' + _0x2cd4x2f.status)
})
};
_0x2cd4x35('head')[0].appendChild(_0x2cd4xa0)
} else {
_0x2cd4x45('GET', _0x2cd4x50(_0x2cd4x9c, _0x2cd4x9f, _0x2cd4x9d)).then((_0x2cd4x30) => {
let _0x2cd4x86, _0x2cd4x65, _0x2cd4x8a, _0x2cd4x84 = _0x2cd4x4b(_0x2cd4x30.feed.entry),
_0x2cd4x8b = '',
_0x2cd4xa1, _0x2cd4xa2;
for (let _0x2cd4x4d = 0, _0x2cd4xa4 = _0x2cd4x84.length; _0x2cd4x4d < _0x2cd4xa4; _0x2cd4x4d++) {
for (let _0x2cd4x4e = 0, _0x2cd4xa5 = _0x2cd4x84[_0x2cd4x4d].link.length; _0x2cd4x4e < _0x2cd4xa5; _0x2cd4x4e++) {
_0x2cd4x86 = (_0x2cd4x84[_0x2cd4x4d].link[_0x2cd4x4e].rel == 'alternate') ? _0x2cd4x84[_0x2cd4x4d].link[_0x2cd4x4e].href : '#';
_0x2cd4x8a = _0x2cd4x84[_0x2cd4x4d].title.$t;
if ('media$thumbnail' in _0x2cd4x84[_0x2cd4x4d]) {
_0x2cd4x65 = regex(_0x2cd4x84[_0x2cd4x4d].media$thumbnail.url, 'w480-h360-p-k-no-rw')
} else {
_0x2cd4x65 = regex(_0x2cd4x4.noimage, 'w480-h360-p-k-no-rw')
};
if (_0x2cd4x84[_0x2cd4x4d].category) {
_0x2cd4xa1 = true;
_0x2cd4xa2 = _0x2cd4x84[_0x2cd4x4d].category[0].term
} else {
_0x2cd4xa1 = false;
_0x2cd4xa2 = 'Uncategorized'
}
};
_0x2cd4x8b += '<li>';
_0x2cd4x8b += '<div class="slider-thumb"><a href="' + _0x2cd4x86 + '" title="' + _0x2cd4x8a + '"><img alt="' + _0x2cd4x8a + '" src="' + _0x2cd4x65 + '" title="' + _0x2cd4x8a + '" width="480" height="360"/></a></div>';
_0x2cd4x8b += '<div class="slider-inner a">';
if (_0x2cd4x9e) {
_0x2cd4x8b += '<div class="slider-label tx-sm">';
if (_0x2cd4xa1) {
_0x2cd4x8b += '<a class="btn-primary" href="' + _0x2cd4x1.location.origin + '/search/label/' + _0x2cd4xa2 + '" title="' + _0x2cd4xa2 + '">' + _0x2cd4xa2 + '</a>'
} else {
_0x2cd4x8b += '<span class="not-allowed bg-100 tx-100">' + _0x2cd4xa2 + '</span>'
};
_0x2cd4x8b += '</div>'
};
_0x2cd4x8b += '<div class="slider-text t"><a href="' + _0x2cd4x86 + '" title="' + _0x2cd4x8a + '">' + _0x2cd4x8a + '</a></div>';
_0x2cd4x8b += '</div>';
_0x2cd4x8b += '</li>'
};
_0x2cd4x96.querySelector('ul').innerHTML = _0x2cd4x8b;
_0x2cd4x96.querySelector('ul').classList.remove('skeleton');
_0x2cd4x96.style.height = 'auto';
_0x2cd4x96.querySelector('ul').classList.add('fade')
}).catch((_0x2cd4x2f) => {
console.warn('(IGNIPLEX) Slider swipe error: ', _0x2cd4x2f.status)
})
}
};
let _0x2cd4xa6 = false;
_0x2cd4x2.addEventListener('scroll', () => {
(0 != _0x2cd4x1.documentElement.scrollTop && false === _0x2cd4xa6 || 0 != _0x2cd4x3.scrollTop && !1 === _0x2cd4xa6) && (! function () {
if (_0x2cd4x97.length > 0) {
_0x2cd4x97.forEach((_0x2cd4x38) => {
let _0x2cd4xa7 = false;
const _0x2cd4x73 = _0x2cd4x38.parentNode.getAttribute('id');
let _0x2cd4x9c, _0x2cd4x9d, _0x2cd4xa8, _0x2cd4x9e, _0x2cd4xa9, _0x2cd4xaa, _0x2cd4xab;
const _0x2cd4x90 = eval(_0x2cd4x73 + 'ar');
if (_0x2cd4x90) {
for (let _0x2cd4x10 = 0; _0x2cd4x10 < _0x2cd4x90.length; _0x2cd4x10++) {
if (_0x2cd4x90[_0x2cd4x10]) {
_0x2cd4x9c = _0x2cd4x90[_0x2cd4x10].label;
_0x2cd4x9d = _0x2cd4x90[_0x2cd4x10].num;
_0x2cd4xa8 = _0x2cd4x90[_0x2cd4x10].showComment;
_0x2cd4xa9 = _0x2cd4x90[_0x2cd4x10].showSnippet;
_0x2cd4xaa = _0x2cd4x90[_0x2cd4x10].showTime;
_0x2cd4xab = _0x2cd4x90[_0x2cd4x10].showText;
if (_0x2cd4x9c.toLowerCase() != 'random' && _0x2cd4x9c != '') {
_0x2cd4x9e = false
} else {
_0x2cd4x9e = _0x2cd4x90[_0x2cd4x10].showLabel
}
} else {
_0x2cd4x9c = 'random';
_0x2cd4x9d = '6';
_0x2cd4xa8 = true;
_0x2cd4x9e = true;
_0x2cd4xa9 = true;
_0x2cd4xaa = true;
_0x2cd4xab = 'Show All'
}
}
};
let _0x2cd4x9f = _0x2cd4x48(1, (_0x2cd4x3e - _0x2cd4x9d));
_0x2cd4x45('GET', _0x2cd4x50(_0x2cd4x9c, _0x2cd4x9f, _0x2cd4x9d)).then((_0x2cd4x30) => {
let _0x2cd4x86, _0x2cd4x65, _0x2cd4xac, _0x2cd4xad, _0x2cd4xae, _0x2cd4xa1, _0x2cd4xa2, _0x2cd4xaf, _0x2cd4x88, _0x2cd4xb0, _0x2cd4x89, _0x2cd4x8a, _0x2cd4x84 = _0x2cd4x4b(_0x2cd4x30.feed.entry),
_0x2cd4x8b = '',
_0x2cd4xb1, _0x2cd4xb2;
for (let _0x2cd4x4d = 0, _0x2cd4xa4 = _0x2cd4x84.length; _0x2cd4x4d < _0x2cd4xa4; _0x2cd4x4d++) {
for (let _0x2cd4x4e = 0, _0x2cd4xa5 = _0x2cd4x84[_0x2cd4x4d].link.length; _0x2cd4x4e < _0x2cd4xa5; _0x2cd4x4e++) {
_0x2cd4x86 = (_0x2cd4x84[_0x2cd4x4d].link[_0x2cd4x4e].rel == 'alternate') ? _0x2cd4x84[_0x2cd4x4d].link[_0x2cd4x4e].href : '#';
_0x2cd4x8a = _0x2cd4x84[_0x2cd4x4d].title.$t;
_0x2cd4xaf = _0x2cd4x84[_0x2cd4x4d].summary.$t.substring(0, 150);
_0x2cd4xb1 = _0x2cd4x84[_0x2cd4x4d].id.$t.split('.post-')[1];
if (_0x2cd4x84[_0x2cd4x4d].thr$total) {
_0x2cd4xac = true;
_0x2cd4xad = _0x2cd4x86 + '#comment-form';
_0x2cd4xae = _0x2cd4x84[_0x2cd4x4d].thr$total ? _0x2cd4x84[_0x2cd4x4d].thr$total.$t : '-'
} else {
_0x2cd4xac = false
};
_0x2cd4xb0 = _0x2cd4x84[_0x2cd4x4d].published.$t;
_0x2cd4x88 = new Date(Date.parse(_0x2cd4xb0));
_0x2cd4x89 = _0x2cd4x88.toLocaleDateString(_0x2cd4x35('html')[0].getAttribute('lang'), {
year: 'numeric',
month: 'long',
day: 'numeric'
});
if (_0x2cd4x84[_0x2cd4x4d].category) {
_0x2cd4xa1 = true;
_0x2cd4xa2 = _0x2cd4x84[_0x2cd4x4d].category[0].term
} else {
_0x2cd4xa1 = false;
_0x2cd4xa2 = 'Uncategorized'
};
if ('media$thumbnail' in _0x2cd4x84[_0x2cd4x4d]) {
_0x2cd4x65 = regex(_0x2cd4x84[_0x2cd4x4d].media$thumbnail.url, 'w280-h187-p-k-no-rw');
_0x2cd4xb2 = _0x2cd4x84[_0x2cd4x4d].media$thumbnail.url
} else {
_0x2cd4x65 = regex(_0x2cd4x4.noimage, 'w280-h187-p-k-no-rw');
_0x2cd4xb2 = regex(_0x2cd4x4.noimage, 'w72-h72-p-k-no-rw')
}
};
_0x2cd4x8b += '<article class="article hentry swipe-up f">';
_0x2cd4x8b += '<div class="posts">';
_0x2cd4x8b += '<div class="snippet-thumb r">';
_0x2cd4x8b += '<a href="' + _0x2cd4x86 + '" title="' + _0x2cd4x8a + '"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACCAQAAAA3fa6RAAAADklEQVR42mNkAANGCAUAACMAA2w/AMgAAAAASUVORK5CYII=" data-src="' + _0x2cd4x65 + '" alt="' + _0x2cd4x8a + '" class="lazy" title="' + _0x2cd4x8a + '" width="300" height="200"/></a>';
if (_0x2cd4xb1) {
_0x2cd4x8b += '<div class="bm a"><input class="h" id="bm-' + _0x2cd4xb1 + '" type="checkbox"/><label aria-label="Bookmark" class="bm-icon ignielSquircle pointer f" data-img="' + _0x2cd4xb2 + '" data-title="' + _0x2cd4x8a + '" data-url="' + _0x2cd4x86 + '" for="bm-' + _0x2cd4xb1 + '"><svg viewBox="0 0 24 24"><path d="M16.8199 2H7.17995C5.04995 2 3.31995 3.74 3.31995 5.86V19.95C3.31995 21.75 4.60995 22.51 6.18995 21.64L11.0699 18.93C11.5899 18.64 12.4299 18.64 12.9399 18.93L17.8199 21.64C19.3999 22.52 20.6899 21.76 20.6899 19.95V5.86C20.6799 3.74 18.9499 2 16.8199 2Z"/><path d="M12 8.20996V13.21" class="x"/><path d="M14.5 10.6499H9.5" class="x"/><path d="M9.58997 11L11.09 12.5L15.09 8.5" class="y"/></svg></label></div>'
};
_0x2cd4x8b += '</div>';
_0x2cd4x8b += '<div class="post-inner">';
if (_0x2cd4xaa) {
_0x2cd4x8b += '<div class="post-timestamp tx-50 tx-md"><time class="published updated" datetime="' + _0x2cd4xb0 + '" title="' + _0x2cd4xb0 + '">' + _0x2cd4x89 + '</time></div>'
};
_0x2cd4x8b += '<h2 class="post-title"><a href="' + _0x2cd4x86 + '" title="' + _0x2cd4x8a + '">' + _0x2cd4x8a + '</a></h2>';
if (_0x2cd4xa9) {
_0x2cd4x8b += '<div class="post-snippet tx-75">' + _0x2cd4xaf + '</div>'
};
_0x2cd4x8b += '</div>';
_0x2cd4x8b += '</div>';
if (_0x2cd4xa8 || _0x2cd4x9e) {
_0x2cd4x8b += '<div class="post-footer tx-md"><div class="post-footer-inner f">';
if (_0x2cd4x9e) {
_0x2cd4x8b += '<span class="post-labels">';
if (_0x2cd4xa1) {
let _0x2cd4xb3;
if (_0x2cd4x9c.toLowerCase() != 'random' && _0x2cd4x9c != '') {
_0x2cd4xb3 = _0x2cd4x9c
} else {
_0x2cd4xb3 = _0x2cd4xa2
};
_0x2cd4x8b += '<a class="tx-primary" href="' + _0x2cd4x1.location.origin + '/search/label/' + _0x2cd4xb3 + '" title="' + _0x2cd4xb3 + '">' + _0x2cd4xb3 + '</a>'
} else {
_0x2cd4x8b += '<span class="not-allowed tx-50">' + _0x2cd4xa2 + '</span>'
};
_0x2cd4x8b += '</span>'
};
if (_0x2cd4xa8 && _0x2cd4xac) {
_0x2cd4x8b += '<span class="post-comments r"><a class="tx-primary f" href="' + _0x2cd4xad + '" title="' + _0x2cd4xae + ' Comments"><svg class="stroke-primary" viewBox="0 0 24 24"><path d="M7 18.4299H11L15.45 21.39C16.11 21.83 17 21.3599 17 20.5599V18.4299C20 18.4299 22 16.4299 22 13.4299V7.42993C22 4.42993 20 2.42993 17 2.42993H7C4 2.42993 2 4.42993 2 7.42993V13.4299C2 16.4299 4 18.4299 7 18.4299Z"/></svg><i class="tx-primary tx-sm a">' + _0x2cd4xae + '</i></a></span>'
};
_0x2cd4x8b += '</div></div>'
};
_0x2cd4x8b += '</article>'
};
const _0x2cd4xb4 = _0x2cd4x38.querySelector('.custom-1-inner'),
_0x2cd4xb5 = _0x2cd4x38.parentNode.querySelector('.title-label');
_0x2cd4xb4.innerHTML = '<div class="blog-posts f">' + _0x2cd4x8b + '</div>';
_0x2cd4xb4.classList.add('fade');
if (_0x2cd4x9c.toLowerCase() != 'random' && _0x2cd4x9c != '') {
_0x2cd4xb5.innerHTML = '<a class="tx-primary" href="' + _0x2cd4x1.location.origin + '/search/label/' + _0x2cd4x9c + '" title="' + _0x2cd4x9c + '">' + _0x2cd4xab + '</a>'
} else {
_0x2cd4xb5.remove()
}
}).catch((_0x2cd4x2f) => {
console.warn('(IGNIPLEX) Custom post 1 error: ', _0x2cd4x2f)
})
})
};
if (_0x2cd4x98.length > 0) {
_0x2cd4x98.forEach((_0x2cd4x38) => {
let _0x2cd4xb6 = false;
const _0x2cd4x73 = _0x2cd4x38.parentNode.getAttribute('id');
let _0x2cd4x9c, _0x2cd4x9d, _0x2cd4xa8, _0x2cd4x9e, _0x2cd4xab;
const _0x2cd4x90 = eval(_0x2cd4x73 + 'ar');
if (_0x2cd4x90) {
for (let _0x2cd4x10 = 0; _0x2cd4x10 < _0x2cd4x90.length; _0x2cd4x10++) {
if (_0x2cd4x90[_0x2cd4x10]) {
_0x2cd4x9c = _0x2cd4x90[_0x2cd4x10].label;
_0x2cd4x9d = _0x2cd4x90[_0x2cd4x10].num;
_0x2cd4xa8 = _0x2cd4x90[_0x2cd4x10].showComment;
_0x2cd4xab = _0x2cd4x90[_0x2cd4x10].showText;
if (_0x2cd4x9c.toLowerCase() != 'random' && _0x2cd4x9c != '') {
_0x2cd4x9e = false
} else {
_0x2cd4x9e = _0x2cd4x90[_0x2cd4x10].showLabel
}
} else {
_0x2cd4x9c = 'random';
_0x2cd4x9d = '6';
_0x2cd4xa8 = true;
_0x2cd4x9e = true;
_0x2cd4xab = 'Show All'
}
}
};
let _0x2cd4x9f = _0x2cd4x48(1, (_0x2cd4x3e - _0x2cd4x9d));
_0x2cd4x45('GET', _0x2cd4x50(_0x2cd4x9c, _0x2cd4x9f, _0x2cd4x9d)).then((_0x2cd4x30) => {
let _0x2cd4x86, _0x2cd4x65, _0x2cd4xac, _0x2cd4xad, _0x2cd4xae, _0x2cd4xa1, _0x2cd4xa2, _0x2cd4xaf, _0x2cd4x8a, _0x2cd4x84 = _0x2cd4x4b(_0x2cd4x30.feed.entry),
_0x2cd4x8b = '';
for (let _0x2cd4x4d = 0, _0x2cd4xa4 = _0x2cd4x84.length; _0x2cd4x4d < _0x2cd4xa4; _0x2cd4x4d++) {
for (let _0x2cd4x4e = 0, _0x2cd4xa5 = _0x2cd4x84[_0x2cd4x4d].link.length; _0x2cd4x4e < _0x2cd4xa5; _0x2cd4x4e++) {
_0x2cd4x86 = (_0x2cd4x84[_0x2cd4x4d].link[_0x2cd4x4e].rel == 'alternate') ? _0x2cd4x84[_0x2cd4x4d].link[_0x2cd4x4e].href : '#';
_0x2cd4x8a = _0x2cd4x84[_0x2cd4x4d].title.$t;
_0x2cd4xaf = _0x2cd4x84[_0x2cd4x4d].summary.$t.substring(0, 150);
if (_0x2cd4x84[_0x2cd4x4d].thr$total) {
_0x2cd4xac = true;
_0x2cd4xad = _0x2cd4x86 + '#comment-form';
_0x2cd4xae = _0x2cd4x84[_0x2cd4x4d].thr$total ? _0x2cd4x84[_0x2cd4x4d].thr$total.$t : '-'
} else {
_0x2cd4xac = false
};
if (_0x2cd4x84[_0x2cd4x4d].category) {
_0x2cd4xa1 = true;
_0x2cd4xa2 = _0x2cd4x84[_0x2cd4x4d].category[0].term
} else {
_0x2cd4xa1 = false;
_0x2cd4xa2 = 'Uncategorized'
};
if ('media$thumbnail' in _0x2cd4x84[_0x2cd4x4d]) {
_0x2cd4x65 = regex(_0x2cd4x84[_0x2cd4x4d].media$thumbnail.url, 'w150-h150-p-k-no-rw')
} else {
_0x2cd4x65 = regex(_0x2cd4x4.noimage, 'w150-h150-p-k-no-rw')
}
};
_0x2cd4x8b += '<li class="hover-zoom f">';
_0x2cd4x8b += '<div class="custom-2-thumb ignielSquircle"><a href="' + _0x2cd4x86 + '" title="' + _0x2cd4x8a + '"><img alt="' + _0x2cd4x8a + '" height="150" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACCAQAAAA3fa6RAAAADklEQVR42mNkAANGCAUAACMAA2w/AMgAAAAASUVORK5CYII=" data-src="' + _0x2cd4x65 + '" class="lazy" title="' + _0x2cd4x8a + '" width="150"/></a></div>';
_0x2cd4x8b += '<div class="post-inner f">';
_0x2cd4x8b += '<h2 class="post-title"><a href="' + _0x2cd4x86 + '" title="' + _0x2cd4x8a + '">' + _0x2cd4x8a + '</a></h2>';
if (_0x2cd4xa8 || _0x2cd4x9e) {
_0x2cd4x8b += '<div class="post-footer tx-md"><div class="post-footer-inner f">';
if (_0x2cd4x9e) {
_0x2cd4x8b += '<span class="post-labels">';
if (_0x2cd4xa1) {
let _0x2cd4xb3;
if (_0x2cd4x9c.toLowerCase() != 'random' && _0x2cd4x9c != '') {
_0x2cd4xb3 = _0x2cd4x9c
} else {
_0x2cd4xb3 = _0x2cd4xa2
};
_0x2cd4x8b += '<a class="tx-primary" href="' + _0x2cd4x1.location.origin + '/search/label/' + _0x2cd4xb3 + '" title="' + _0x2cd4xb3 + '">' + _0x2cd4xb3 + '</a>'
} else {
_0x2cd4x8b += '<span class="not-allowed tx-50">' + _0x2cd4xa2 + '</span>'
};
_0x2cd4x8b += '</span>'
};
if (_0x2cd4xa8 && _0x2cd4xac) {
_0x2cd4x8b += '<span class="post-comments r"><a class="tx-primary f" href="' + _0x2cd4xad + '" title="' + _0x2cd4xae + ' Comments"><svg viewBox="0 0 24 24"><path d="M7 18.4299H11L15.45 21.39C16.11 21.83 17 21.3599 17 20.5599V18.4299C20 18.4299 22 16.4299 22 13.4299V7.42993C22 4.42993 20 2.42993 17 2.42993H7C4 2.42993 2 4.42993 2 7.42993V13.4299C2 16.4299 4 18.4299 7 18.4299Z"/></svg><i class="tx-primary tx-sm a">' + _0x2cd4xae + '</i></a></span>'
};
_0x2cd4x8b += '</div></div>'
};
_0x2cd4x8b += '</div>';
_0x2cd4x8b += '</li>'
};
const _0x2cd4xb4 = _0x2cd4x38.querySelector('.custom-2-inner'),
_0x2cd4xb5 = _0x2cd4x38.parentNode.querySelector('.title-label');
_0x2cd4xb4.innerHTML = _0x2cd4x8b;
_0x2cd4xb4.classList.add('fade');
if (_0x2cd4x9c.toLowerCase() != 'random' && _0x2cd4x9c != '') {
_0x2cd4xb5.innerHTML = '<a class="tx-primary" href="' + _0x2cd4x1.location.origin + '/search/label/' + _0x2cd4x9c + '" title="' + _0x2cd4x9c + '">' + _0x2cd4xab + '</a>'
} else {
_0x2cd4xb5.remove()
}
}).catch((_0x2cd4x2f) => {
console.warn('(IGNIPLEX) Custom post 2 error: ', _0x2cd4x2f)
})
})
};
if (_0x2cd4x99.length > 0) {
_0x2cd4x99.forEach((_0x2cd4x38) => {
let _0x2cd4xb7 = false;
const _0x2cd4x73 = _0x2cd4x38.parentNode.getAttribute('id');
let _0x2cd4x9c, _0x2cd4x9d, _0x2cd4xa8, _0x2cd4x9e, _0x2cd4xa9, _0x2cd4xaa, _0x2cd4xab;
const _0x2cd4x90 = eval(_0x2cd4x73 + 'ar');
if (_0x2cd4x90) {
for (let _0x2cd4x10 = 0; _0x2cd4x10 < _0x2cd4x90.length; _0x2cd4x10++) {
if (_0x2cd4x90[_0x2cd4x10]) {
_0x2cd4x9c = _0x2cd4x90[_0x2cd4x10].label;
_0x2cd4x9d = _0x2cd4x90[_0x2cd4x10].num;
_0x2cd4xa8 = _0x2cd4x90[_0x2cd4x10].showComment;
_0x2cd4xa9 = _0x2cd4x90[_0x2cd4x10].showSnippet;
_0x2cd4xaa = _0x2cd4x90[_0x2cd4x10].showTime;
_0x2cd4xab = _0x2cd4x90[_0x2cd4x10].showText;
if (_0x2cd4x9c.toLowerCase() != 'random' && _0x2cd4x9c != '') {
_0x2cd4x9e = false
} else {
_0x2cd4x9e = _0x2cd4x90[_0x2cd4x10].showLabel
}
} else {
_0x2cd4x9c = 'random';
_0x2cd4x9d = '6';
_0x2cd4xa8 = true;
_0x2cd4x9e = true;
_0x2cd4xa9 = true;
_0x2cd4xaa = true;
_0x2cd4xab = 'Show All'
}
}
};
let _0x2cd4x9f = _0x2cd4x48(1, (_0x2cd4x3e - _0x2cd4x9d));
_0x2cd4x45('GET', _0x2cd4x50(_0x2cd4x9c, _0x2cd4x9f, _0x2cd4x9d)).then((_0x2cd4x30) => {
let _0x2cd4x86, _0x2cd4x65, _0x2cd4xac, _0x2cd4xad, _0x2cd4xae, _0x2cd4xa1, _0x2cd4xa2, _0x2cd4xaf, _0x2cd4xb8, _0x2cd4x88, _0x2cd4xb0, _0x2cd4x89, _0x2cd4x8a, _0x2cd4x84 = _0x2cd4x4b(_0x2cd4x30.feed.entry),
_0x2cd4x8b = '',
_0x2cd4xb1, _0x2cd4xb2;
for (let _0x2cd4x4d = 0, _0x2cd4xa4 = _0x2cd4x84.length; _0x2cd4x4d < _0x2cd4xa4; _0x2cd4x4d++) {
for (let _0x2cd4x4e = 0, _0x2cd4xa5 = _0x2cd4x84[_0x2cd4x4d].link.length; _0x2cd4x4e < _0x2cd4xa5; _0x2cd4x4e++) {
_0x2cd4x86 = (_0x2cd4x84[_0x2cd4x4d].link[_0x2cd4x4e].rel == 'alternate') ? _0x2cd4x84[_0x2cd4x4d].link[_0x2cd4x4e].href : '#';
_0x2cd4x8a = _0x2cd4x84[_0x2cd4x4d].title.$t;
_0x2cd4xaf = _0x2cd4x84[_0x2cd4x4d].summary.$t.substring(0, 150);
_0x2cd4xb1 = _0x2cd4x84[_0x2cd4x4d].id.$t.split('.post-')[1];
if (_0x2cd4x84[_0x2cd4x4d].thr$total) {
_0x2cd4xac = true;
_0x2cd4xad = _0x2cd4x86 + '#comment-form';
_0x2cd4xae = _0x2cd4x84[_0x2cd4x4d].thr$total ? _0x2cd4x84[_0x2cd4x4d].thr$total.$t : '-'
} else {
_0x2cd4xac = false
};
_0x2cd4xb0 = _0x2cd4x84[_0x2cd4x4d].published.$t;
_0x2cd4x88 = new Date(Date.parse(_0x2cd4xb0));
_0x2cd4x89 = _0x2cd4x88.toLocaleDateString(_0x2cd4x35('html')[0].getAttribute('lang'), {
year: 'numeric',
month: 'long',
day: 'numeric'
});
if (_0x2cd4x84[_0x2cd4x4d].category) {
_0x2cd4xa1 = true;
_0x2cd4xa2 = _0x2cd4x84[_0x2cd4x4d].category[0].term
} else {
_0x2cd4xa1 = false;
_0x2cd4xa2 = 'Uncategorized'
};
if ('media$thumbnail' in _0x2cd4x84[_0x2cd4x4d]) {
_0x2cd4x65 = regex(_0x2cd4x84[_0x2cd4x4d].media$thumbnail.url, 'w280-h187-p-k-no-rw');
_0x2cd4xb2 = _0x2cd4x84[_0x2cd4x4d].media$thumbnail.url
} else {
_0x2cd4x65 = regex(_0x2cd4x4.noimage, 'w280-h187-p-k-no-rw');
_0x2cd4xb2 = regex(_0x2cd4x4.noimage, 'w72-h72-p-k-no-rw')
}
};
_0x2cd4x8b += '<article class="article hentry swipe-up f">';
_0x2cd4x8b += '<div class="posts">';
_0x2cd4x8b += '<div class="snippet-thumb r">';
_0x2cd4x8b += '<a href="' + _0x2cd4x86 + '" title="' + _0x2cd4x8a + '"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACCAQAAAA3fa6RAAAADklEQVR42mNkAANGCAUAACMAA2w/AMgAAAAASUVORK5CYII=" data-src="' + _0x2cd4x65 + '" alt="' + _0x2cd4x8a + '" class="lazy" title="' + _0x2cd4x8a + '" width="300" height="200"/></a>';
if (_0x2cd4xb1) {
_0x2cd4x8b += '<div class="bm a"><input class="h" id="bm-' + _0x2cd4xb1 + '" type="checkbox"/><label aria-label="Bookmark" class="bm-icon ignielSquircle pointer f" data-img="' + _0x2cd4xb2 + '" data-title="' + _0x2cd4x8a + '" data-url="' + _0x2cd4x86 + '" for="bm-' + _0x2cd4xb1 + '"><svg viewBox="0 0 24 24"><path d="M16.8199 2H7.17995C5.04995 2 3.31995 3.74 3.31995 5.86V19.95C3.31995 21.75 4.60995 22.51 6.18995 21.64L11.0699 18.93C11.5899 18.64 12.4299 18.64 12.9399 18.93L17.8199 21.64C19.3999 22.52 20.6899 21.76 20.6899 19.95V5.86C20.6799 3.74 18.9499 2 16.8199 2Z"/><path d="M12 8.20996V13.21" class="x"/><path d="M14.5 10.6499H9.5" class="x"/><path d="M9.58997 11L11.09 12.5L15.09 8.5" class="y"/></svg></label></div>'
};
_0x2cd4x8b += '</div>';
_0x2cd4x8b += '<div class="post-inner">';
if (_0x2cd4xaa) {
_0x2cd4x8b += '<div class="post-timestamp tx-50 tx-md"><time class="published updated" datetime="' + _0x2cd4xb0 + '" title="' + _0x2cd4xb0 + '">' + _0x2cd4x89 + '</time></div>'
};
_0x2cd4x8b += '<h2 class="post-title"><a href="' + _0x2cd4x86 + '" title="' + _0x2cd4x8a + '">' + _0x2cd4x8a + '</a></h2>';
if (_0x2cd4xa9) {
_0x2cd4x8b += '<div class="post-snippet tx-75">' + _0x2cd4xaf + '</div>'
};
_0x2cd4x8b += '</div>';
_0x2cd4x8b += '</div>';
if (_0x2cd4xa8 || _0x2cd4x9e) {
_0x2cd4x8b += '<div class="post-footer tx-md"><div class="post-footer-inner f">';
if (_0x2cd4x9e) {
_0x2cd4x8b += '<span class="post-labels">';
if (_0x2cd4xa1) {
_0x2cd4x8b += '<a class="tx-primary" href="' + _0x2cd4x1.location.origin + '/search/label/' + _0x2cd4xa2 + '" title="' + _0x2cd4xa2 + '">' + _0x2cd4xa2 + '</a>'
} else {
_0x2cd4x8b += '<span class="not-allowed tx-50">' + _0x2cd4xa2 + '</span>'
};
_0x2cd4x8b += '</span>'
};
if (_0x2cd4xa8 && _0x2cd4xac) {
_0x2cd4x8b += '<span class="post-comments r"><a class="tx-primary f" href="' + _0x2cd4xad + '" title="' + _0x2cd4xae + ' Comments"><svg class="stroke-primary" viewBox="0 0 24 24"><path d="M7 18.4299H11L15.45 21.39C16.11 21.83 17 21.3599 17 20.5599V18.4299C20 18.4299 22 16.4299 22 13.4299V7.42993C22 4.42993 20 2.42993 17 2.42993H7C4 2.42993 2 4.42993 2 7.42993V13.4299C2 16.4299 4 18.4299 7 18.4299Z"/></svg><i class="tx-primary tx-sm a">' + _0x2cd4xae + '</i></a></span>'
};
_0x2cd4x8b += '</div></div>'
};
_0x2cd4x8b += '</article>'
};
const _0x2cd4xb4 = _0x2cd4x38.querySelector('.swipe-inner'),
_0x2cd4xb5 = _0x2cd4x38.parentNode.querySelector('.title-label');
_0x2cd4xb4.innerHTML = _0x2cd4x8b;
_0x2cd4xb4.classList.add('blog-posts', 'fade');
if (_0x2cd4x9c.toLowerCase() != 'random' && _0x2cd4x9c != '') {
_0x2cd4xb5.innerHTML = '<a class="tx-primary" href="' + _0x2cd4x1.location.origin + '/search/label/' + _0x2cd4x9c + '" title="' + _0x2cd4x9c + '">' + _0x2cd4xab + '</a>'
} else {
_0x2cd4xb5.remove()
}
}).catch((_0x2cd4x2f) => {
console.warn('(IGNIPLEX) Custom post 3 error: ', _0x2cd4x2f)
})
})
};
if (_0x2cd4x9a.length > 0) {
_0x2cd4x9a.forEach((_0x2cd4x38) => {
let _0x2cd4xb9 = false;
const _0x2cd4x73 = _0x2cd4x38.parentNode.getAttribute('id');
let _0x2cd4x9c, _0x2cd4x9d, _0x2cd4x9e, _0x2cd4xab;
const _0x2cd4x90 = eval(_0x2cd4x73 + 'ar');
if (_0x2cd4x90) {
for (let _0x2cd4x10 = 0; _0x2cd4x10 < _0x2cd4x90.length; _0x2cd4x10++) {
if (_0x2cd4x90[_0x2cd4x10]) {
_0x2cd4x9c = _0x2cd4x90[_0x2cd4x10].label;
_0x2cd4x9d = _0x2cd4x90[_0x2cd4x10].num;
_0x2cd4xab = _0x2cd4x90[_0x2cd4x10].showText;
if (_0x2cd4x9c.toLowerCase() != 'random' && _0x2cd4x9c != '') {
_0x2cd4x9e = false
} else {
_0x2cd4x9e = _0x2cd4x90[_0x2cd4x10].showLabel
}
} else {
_0x2cd4x9c = 'random';
_0x2cd4x9d = '6';
_0x2cd4x9e = true;
_0x2cd4xab = 'Show All'
}
}
};
let _0x2cd4x9f = _0x2cd4x48(1, (_0x2cd4x3e - _0x2cd4x9d));
_0x2cd4x45('GET', _0x2cd4x50(_0x2cd4x9c, _0x2cd4x9f, _0x2cd4x9d)).then((_0x2cd4x30) => {
let _0x2cd4x86, _0x2cd4x65, _0x2cd4xa1, _0x2cd4xa2, _0x2cd4x8a, _0x2cd4x84 = _0x2cd4x4b(_0x2cd4x30.feed.entry),
_0x2cd4x8b = '',
_0x2cd4xb1, _0x2cd4xb2;
for (let _0x2cd4x4d = 0, _0x2cd4xa4 = _0x2cd4x84.length; _0x2cd4x4d < _0x2cd4xa4; _0x2cd4x4d++) {
for (let _0x2cd4x4e = 0, _0x2cd4xa5 = _0x2cd4x84[_0x2cd4x4d].link.length; _0x2cd4x4e < _0x2cd4xa5; _0x2cd4x4e++) {
_0x2cd4x86 = (_0x2cd4x84[_0x2cd4x4d].link[_0x2cd4x4e].rel == 'alternate') ? _0x2cd4x84[_0x2cd4x4d].link[_0x2cd4x4e].href : '#';
_0x2cd4x8a = _0x2cd4x84[_0x2cd4x4d].title.$t;
_0x2cd4xb1 = _0x2cd4x84[_0x2cd4x4d].id.$t.split('.post-')[1];
if (_0x2cd4x84[_0x2cd4x4d].category) {
_0x2cd4xa1 = true;
_0x2cd4xa2 = _0x2cd4x84[_0x2cd4x4d].category[0].term
} else {
_0x2cd4xa1 = false;
_0x2cd4xa2 = 'Uncategorized'
};
if ('media$thumbnail' in _0x2cd4x84[_0x2cd4x4d]) {
_0x2cd4x65 = regex(_0x2cd4x84[_0x2cd4x4d].media$thumbnail.url, 'w300-h450-p-k-no-rw');
_0x2cd4xb2 = _0x2cd4x84[_0x2cd4x4d].media$thumbnail.url
} else {
_0x2cd4x65 = regex(_0x2cd4x4.noimage, 'w300-h450-p-k-no-rw');
_0x2cd4xb2 = regex(_0x2cd4x4.noimage, 'w72-h72-p-k-no-rw')
}
};
_0x2cd4x8b += '<li class="swipe-up r">';
_0x2cd4x8b += '<div class="snippet-thumb">';
_0x2cd4x8b += '<a href="' + _0x2cd4x86 + '" title="' + _0x2cd4x8a + '"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACCAQAAAA3fa6RAAAADklEQVR42mNkAANGCAUAACMAA2w/AMgAAAAASUVORK5CYII=" data-src="' + _0x2cd4x65 + '" alt="' + _0x2cd4x8a + '" class="lazy" title="' + _0x2cd4x8a + '" width="300" height="450"/></a>';
if (_0x2cd4xb1) {
_0x2cd4x8b += '<div class="bm a"><input class="h" id="bm-' + _0x2cd4xb1 + '" type="checkbox"/><label aria-label="Bookmark" class="bm-icon ignielSquircle pointer f" data-img="' + _0x2cd4xb2 + '" data-title="' + _0x2cd4x8a + '" data-url="' + _0x2cd4x86 + '" for="bm-' + _0x2cd4xb1 + '"><svg viewBox="0 0 24 24"><path d="M16.8199 2H7.17995C5.04995 2 3.31995 3.74 3.31995 5.86V19.95C3.31995 21.75 4.60995 22.51 6.18995 21.64L11.0699 18.93C11.5899 18.64 12.4299 18.64 12.9399 18.93L17.8199 21.64C19.3999 22.52 20.6899 21.76 20.6899 19.95V5.86C20.6799 3.74 18.9499 2 16.8199 2Z"/><path d="M12 8.20996V13.21" class="x"/><path d="M14.5 10.6499H9.5" class="x"/><path d="M9.58997 11L11.09 12.5L15.09 8.5" class="y"/></svg></label></div>'
};
_0x2cd4x8b += '</div>';
_0x2cd4x8b += '<div class="post-inner a">';
if (_0x2cd4x9e) {
_0x2cd4x8b += '<div class="post-labels tx-sm">';
if (_0x2cd4xa1) {
_0x2cd4x8b += '<a class="btn-primary" href="' + _0x2cd4x1.location.origin + '/search/label/' + _0x2cd4xa2 + '" title="' + _0x2cd4xa2 + '">' + _0x2cd4xa2 + '</a>'
} else {
_0x2cd4x8b += '<span class="not-allowed bg-100 tx-100">' + _0x2cd4xa2 + '</span>'
};
_0x2cd4x8b += '</div>'
};
_0x2cd4x8b += '<div class="post-title"><a href="' + _0x2cd4x86 + '" title="' + _0x2cd4x8a + '">' + _0x2cd4x8a + '</a></div>';
_0x2cd4x8b += '</div>';
_0x2cd4x8b += '</li>'
};
const _0x2cd4xb4 = _0x2cd4x38.querySelector('.swipe-inner'),
_0x2cd4xb5 = _0x2cd4x38.parentNode.querySelector('.title-label');
_0x2cd4xb4.innerHTML = _0x2cd4x8b;
_0x2cd4xb4.classList.add('fade');
if (_0x2cd4x9c.toLowerCase() != 'random' && _0x2cd4x9c != '') {
_0x2cd4xb5.innerHTML = '<a class="tx-primary" href="' + _0x2cd4x1.location.origin + '/search/label/' + _0x2cd4x9c + '" title="' + _0x2cd4x9c + '">' + _0x2cd4xab + '</a>'
} else {
_0x2cd4xb5.remove()
}
}).catch((_0x2cd4x2f) => {
console.warn('(IGNIPLEX) Custom post 4 error: ', _0x2cd4x2f)
})
})
}
}
(), _0x2cd4xa6 = true)
}, true)
};
const _0x2cd4xba = '004C00690067006800740068006F007500730065',
_0x2cd4xbb = '00470054006D00650074007200690078',
_0x2cd4xbc = '00530070006500650064';
if (localStorage.getItem('ign_si') || localStorage.getItem('ign_si') !== null) {
_0x2cd4x3e = localStorage.getItem('ign_si');
_0x2cd4x9b()
} else {
if (_0x2cd4x2.navigator.userAgent.indexOf(_0x2cd4x8(_0x2cd4xba)) == -1 && _0x2cd4x2.navigator.userAgent.indexOf(_0x2cd4x8(_0x2cd4xbb)) == -1 && _0x2cd4x2.navigator.userAgent.indexOf(_0x2cd4x8(_0x2cd4xbc)) == -1) {
_0x2cd4x45('GET', '/feeds/posts/summary?alt=json&max-results=0').then((_0x2cd4x30) => {
_0x2cd4x3e = _0x2cd4x30.feed.openSearch$totalResults.$t;
localStorage.setItem('ign_si', _0x2cd4x30.feed.openSearch$totalResults.$t);
_0x2cd4x9b()
}).catch((_0x2cd4x2f) => {
console.warn('(IGNIPLEX) Cannot fetch feed: ', _0x2cd4x2f.status)
})
}
}
}
};
if (_0x2cd4x3.classList.contains('single')) {
if (_0x2cd4x35('#share')) {
_0x2cd4x35('#share').addEventListener('change', (_0x2cd4x38) => {
if (_0x2cd4x38.target.checked) {
_0x2cd4x35('.post-action')[0].style.zIndex = '3'
} else {
_0x2cd4x35('.post-action')[0].removeAttribute('style')
}
})
};
const _0x2cd4xbd = _0x2cd4x35('.share-more-copy')[0];
if (_0x2cd4xbd) {
_0x2cd4xbd.addEventListener('click', () => {
const _0x2cd4xbe = _0x2cd4x1.querySelector('link[rel="canonical"]') ? _0x2cd4x1.querySelector('link[rel=canonical]').href : _0x2cd4x1.location.href,
_0x2cd4xbf = _0x2cd4x1.createElement('textarea');
_0x2cd4xbf.className = 'clipboard';
_0x2cd4xbf.textContent = _0x2cd4xbe;
_0x2cd4x3.appendChild(_0x2cd4xbf);
_0x2cd4xbf.select();
_0x2cd4x1.execCommand('copy');
_0x2cd4xbf.remove();
_0x2cd4x35('.share-copy-info')[0].classList.add('success');
setTimeout(() => {
_0x2cd4x35('.share-copy-info')[0].classList.remove('success')
}, 500)
})
};
const _0x2cd4xc0 = {
title: _0x2cd4x1.title,
url: _0x2cd4x1.querySelector('link[rel="canonical"]') ? _0x2cd4x1.querySelector('link[rel=canonical]').href : _0x2cd4x1.location.href
};
if (_0x2cd4x35('.share-mobile')[0]) {
if (navigator.share) {
_0x2cd4x35('.share-mobile')[0].addEventListener('click', async () => {
try {
await navigator.share(_0x2cd4xc0)
} catch (err) {
console.warn('(IGNIPLEX) Share error: ' + err.status)
}
})
} else {
_0x2cd4x35('.share-mobile')[0].setAttribute('for', 'share')
}
};
const _0x2cd4xc1 = _0x2cd4x35('.post-body')[0].innerText,
_0x2cd4xc2 = 225,
_0x2cd4xc3 = _0x2cd4xc1.trim().split(/\s+/).length,
_0x2cd4xc4 = Math.ceil(_0x2cd4xc3 / _0x2cd4xc2);
if (_0x2cd4x35('.read-time')[0]) {
_0x2cd4x35('.read-time i')[0].innerText = _0x2cd4xc4
};
if (_0x2cd4x35('.tabs').length > 0) {
_0x2cd4x35('.tabs').forEach((_0x2cd4x38) => {
let _0x2cd4x9d = _0x2cd4x38.querySelectorAll('li'),
_0x2cd4x9c = _0x2cd4x38.querySelectorAll('.content'),
_0x2cd4xc5 = _0x2cd4x38.querySelector('ul');
for (let _0x2cd4x4d = 0; _0x2cd4x4d < _0x2cd4x9d.length; _0x2cd4x4d++) {
_0x2cd4x9d[_0x2cd4x4d].addEventListener('click', function () {
for (let _0x2cd4x10 = 0; _0x2cd4x10 < _0x2cd4x9d.length; _0x2cd4x10++) {
_0x2cd4x9d[_0x2cd4x10].classList.remove('current');
_0x2cd4x9c[_0x2cd4x10].classList.remove('visible')
};
this.classList.add('current');
_0x2cd4x9c[_0x2cd4x4d].classList.add('visible')
})
};
const _0x2cd4xc6 = () => {
if (_0x2cd4xc5.scrollWidth > _0x2cd4xc5.clientWidth) {
if (!_0x2cd4x38.querySelector('.prev') && !_0x2cd4x38.querySelector('.next')) {
const _0x2cd4xc7 = _0x2cd4x1.createElement('div'),
_0x2cd4xc8 = _0x2cd4x1.createElement('div');
_0x2cd4xc7.className = 'arrow prev pointer a';
_0x2cd4xc7.innerHTML = '❮';
_0x2cd4xc5.parentNode.insertBefore(_0x2cd4xc7, _0x2cd4xc5);
_0x2cd4xc8.className = 'arrow next pointer a active';
_0x2cd4xc8.innerHTML = '❯';
_0x2cd4xc5.parentNode.insertBefore(_0x2cd4xc8, _0x2cd4xc5);
_0x2cd4xc5.addEventListener('scroll', () => {
if (_0x2cd4xc5.scrollLeft > 20) {
_0x2cd4x38.querySelector('.prev') && _0x2cd4x38.querySelector('.prev').classList.add('active')
} else {
_0x2cd4x38.querySelector('.prev') && _0x2cd4x38.querySelector('.prev').classList.remove('active')
};
let _0x2cd4x95 = _0x2cd4xc5.scrollWidth - _0x2cd4xc5.clientWidth - 20;
if (_0x2cd4xc5.scrollLeft > _0x2cd4x95) {
_0x2cd4x38.querySelector('.next') && _0x2cd4x38.querySelector('.next').classList.remove('active')
} else {
_0x2cd4x38.querySelector('.next') && _0x2cd4x38.querySelector('.next').classList.add('active')
}
})
}
} else {
if (_0x2cd4x38.querySelector('.prev') && _0x2cd4x38.querySelector('.next')) {
_0x2cd4x38.querySelector('.prev').remove();
_0x2cd4x38.querySelector('.next').remove()
}
}
};
_0x2cd4xc6();
_0x2cd4x2.addEventListener('resize', _0x2cd4xc6)
})
};
const _0x2cd4xc9 = _0x2cd4x35('.post-body')[0].querySelectorAll('img');
if (_0x2cd4xc9.length > 0) {
_0x2cd4xc9.forEach((_0x2cd4x38) => {
if (_0x2cd4x38.parentElement.nodeName == 'A') {
_0x2cd4x38.parentNode.addEventListener('click', (_0x2cd4xd) => {
_0x2cd4xd.preventDefault();
return false
})
};
_0x2cd4x38.addEventListener('click', () => {
if (!_0x2cd4x35('.lightbox')[0]) {
let _0x2cd4xca = _0x2cd4x1.createElement('label');
_0x2cd4xca.ariaLabel = 'Image';
_0x2cd4xca.className = 'lightbox fi f';
_0x2cd4xca.htmlFor = 'lightbox';
if (_0x2cd4x38.parentElement.nodeName == 'A') {
_0x2cd4xca.innerHTML = '<img class="lightbox-open" src="' + _0x2cd4x38.parentNode.getAttribute('href') + '"/>'
} else {
_0x2cd4x38.classList.add('lightbox-open', 'fi', 'f')
};
_0x2cd4x35('.post-body')[0].appendChild(_0x2cd4xca);
_0x2cd4x35('#lightbox').checked = true;
_0x2cd4x3.classList.add('noscroll')
}
})
});
_0x2cd4x35('#lightbox').addEventListener('change', () => {
if (_0x2cd4x35('.lightbox')[0]) {
const _0x2cd4xcb = _0x2cd4x35('.post-body')[0].querySelectorAll('img.lightbox-open');
if (_0x2cd4xcb.length > 0) {
_0x2cd4xcb.forEach((_0x2cd4x38) => {
if (_0x2cd4x38.parentElement.nodeName != 'LABEL') {
_0x2cd4x38.classList.remove('lightbox-open', 'fi', 'f')
}
})
};
_0x2cd4x3.classList.remove('noscroll');
setTimeout(() => {
_0x2cd4x35('.lightbox')[0].remove()
}, 100)
}
})
};
if (_0x2cd4x35('.carousel').length > 0) {
_0x2cd4x35('.carousel').forEach((_0x2cd4x38) => {
let _0x2cd4x65 = _0x2cd4x38.querySelectorAll('img'),
_0x2cd4x8e = _0x2cd4x38.querySelector('.carousel-inner'),
_0x2cd4xcc = _0x2cd4x1.createElement('div'),
_0x2cd4x90 = _0x2cd4x1.createElement('div'),
_0x2cd4x3a = _0x2cd4x1.createElement('div'),
_0x2cd4xcd = '',
_0x2cd4x8d, _0x2cd4x8c = 0;
if (_0x2cd4x65.length > 1) {
const _0x2cd4x8f = _0x2cd4x1.createElement('div');
_0x2cd4x8f.className = 'carousel-outer r';
_0x2cd4x8e.replaceWith(_0x2cd4x8f);
_0x2cd4x8f.appendChild(_0x2cd4x8e);
_0x2cd4x8d = _0x2cd4x65[0].width;
_0x2cd4x2.addEventListener('resize', () => {
for (let _0x2cd4x4d = 0; _0x2cd4x4d < _0x2cd4x65.length; _0x2cd4x4d++) {
_0x2cd4x65[_0x2cd4x4d].width = _0x2cd4x35('.post-body')[0].clientWidth;
_0x2cd4x65[_0x2cd4x4d].style.width = _0x2cd4x35('.post-body')[0].clientWidth + 'px';
_0x2cd4x8d = _0x2cd4x35('.post-body')[0].clientWidth
}
});
if (_0x2cd4x38.querySelector('.carousel-outer')) {
const _0x2cd4x91 = _0x2cd4x38.querySelector('.carousel-outer');
_0x2cd4xcc.className = 'carousel-tx tx-sm round f a';
_0x2cd4xcc.innerHTML = '<i>1</i>/' + _0x2cd4x65.length;
_0x2cd4x91.appendChild(_0x2cd4xcc);
if (_0x2cd4x1.location.href.indexOf('?m=1') == -1) {
_0x2cd4x90.className = 'carousel-arrow';
_0x2cd4x90.innerHTML = '<button aria-label="Previous" class="tx-75 tx-sm arrow prev round h f a">❮</button><button aria-label="Next" class="tx-75 tx-sm arrow next round f a">❯</button>';
_0x2cd4x91.appendChild(_0x2cd4x90)
};
for (let _0x2cd4x4d = 0; _0x2cd4x4d < _0x2cd4x65.length; _0x2cd4x4d++) {
if (_0x2cd4x4d == 0) {
_0x2cd4xcd += '<span class="dot round active"></span>'
} else {
_0x2cd4xcd += '<span class="dot round"></span>'
}
};
_0x2cd4x3a.className = 'carousel-dot f a';
_0x2cd4x3a.innerHTML = _0x2cd4xcd;
_0x2cd4x91.appendChild(_0x2cd4x3a)
};
if (_0x2cd4x38.querySelector('.carousel-dot')) {
let _0x2cd4xce = _0x2cd4x38.querySelectorAll('.dot');
for (let _0x2cd4x4d = 0; _0x2cd4x4d < _0x2cd4xce.length; _0x2cd4x4d++) {
_0x2cd4x35('.carousel-inner')[0].addEventListener('scroll', function () {
if ((_0x2cd4x65[_0x2cd4x4d].getBoundingClientRect().x < 150) && (_0x2cd4x65[_0x2cd4x4d].getBoundingClientRect().x > (_0x2cd4x38.clientWidth - _0x2cd4x38.getBoundingClientRect().x) * -1)) {
_0x2cd4xce[_0x2cd4x4d].classList.add('active');
_0x2cd4x38.querySelector('i').innerHTML = _0x2cd4x4d + 1;
_0x2cd4x8c = _0x2cd4x4d
} else {
_0x2cd4xce[_0x2cd4x4d].classList.remove('active')
}
})
}
};
_0x2cd4x38.addEventListener('click', (_0x2cd4x92) => {
let _0x2cd4x93 = _0x2cd4x92.target.closest('.prev');
if (_0x2cd4x93) {
_0x2cd4x8e.scrollTo({
left: _0x2cd4x8d * (_0x2cd4x8c - 1),
behavior: 'smooth'
})
}
});
_0x2cd4x38.addEventListener('click', (_0x2cd4x2) => {
let _0x2cd4x94 = _0x2cd4x2.target.closest('.next');
if (_0x2cd4x94) {
_0x2cd4x8e.scrollTo({
left: _0x2cd4x8d * (_0x2cd4x8c + 1),
behavior: 'smooth'
})
}
});
_0x2cd4x8e.addEventListener('scroll', () => {
if (_0x2cd4x8e.scrollLeft > 20) {
_0x2cd4x38.querySelector('.prev') && _0x2cd4x38.querySelector('.prev').classList.remove('h')
} else {
_0x2cd4x38.querySelector('.prev') && _0x2cd4x38.querySelector('.prev').classList.add('h')
};
let _0x2cd4x95 = _0x2cd4x8e.scrollWidth - _0x2cd4x8e.clientWidth - 20;
if (_0x2cd4x8e.scrollLeft > _0x2cd4x95) {
_0x2cd4x38.querySelector('.next') && _0x2cd4x38.querySelector('.next').classList.add('h')
} else {
_0x2cd4x38.querySelector('.next') && _0x2cd4x38.querySelector('.next').classList.remove('h')
}
})
}
})
};
if (_0x2cd4x35('.grid').length > 0) {
_0x2cd4x35('.grid').forEach((_0x2cd4x38) => {
let _0x2cd4x65 = _0x2cd4x38.querySelectorAll('img'),
_0x2cd4x4a = 4;
if (_0x2cd4x65.length > 1) {
_0x2cd4x65.length > 4 && _0x2cd4x38.classList.add('more');
for (let _0x2cd4x4d = 0; _0x2cd4x4d < _0x2cd4x65.length; _0x2cd4x4d++) {
const _0x2cd4xcf = _0x2cd4x1.createElement('figure');
if (_0x2cd4x4d == _0x2cd4x4a) {
_0x2cd4xcf.className = 'expand pointer r';
_0x2cd4xcf.dataset.more = _0x2cd4x65.length - _0x2cd4x4a
};
if (_0x2cd4x4d > _0x2cd4x4a) {
_0x2cd4xcf.className = 'h'
};
_0x2cd4x65[_0x2cd4x4d].replaceWith(_0x2cd4xcf);
_0x2cd4xcf.appendChild(_0x2cd4x65[_0x2cd4x4d])
};
_0x2cd4x2.addEventListener('click', (_0x2cd4xd0) => {
let _0x2cd4xd1 = _0x2cd4xd0.target.closest('.grid-inner .expand');
if (_0x2cd4xd1) {
_0x2cd4x38.classList.remove('more');
let _0x2cd4xd2 = _0x2cd4x38.querySelectorAll('figure');
_0x2cd4xd2.forEach((_0x2cd4xd3) => {
_0x2cd4xd3.removeAttribute('class');
_0x2cd4xd3.removeAttribute('data-more')
})
}
})
}
})
};
if (_0x2cd4x35('.comment-permalink').length > 0) {
_0x2cd4x35('.comment-permalink').forEach((_0x2cd4x38) => {
_0x2cd4x38.addEventListener('click', () => {
const _0x2cd4xbe = _0x2cd4x38.parentNode.getAttribute('data-permalink'),
_0x2cd4xbf = _0x2cd4x1.createElement('textarea');
_0x2cd4xbf.className = 'clipboard';
_0x2cd4xbf.textContent = _0x2cd4xbe;
_0x2cd4x3.appendChild(_0x2cd4xbf);
_0x2cd4xbf.select();
_0x2cd4x1.execCommand('copy');
_0x2cd4xbf.remove();
_0x2cd4x38.innerHTML += '<strong>✓ OK</strong>';
setTimeout(() => {
_0x2cd4x38.querySelector('strong').remove()
}, 500)
})
})
};
if (_0x2cd4x35('.comment-profile').length > 0) {
_0x2cd4x35('.comment-profile').forEach((_0x2cd4x38) => {
const _0x2cd4xbe = _0x2cd4x38.parentNode.getAttribute('data-profile');
_0x2cd4x38.addEventListener('click', () => {
_0x2cd4x2.open(_0x2cd4xbe, '_blank')
})
})
};
let _0x2cd4xd4 = _0x2cd4x35('.ignielPagination');
if (_0x2cd4xd4.length > 0) {
let _0x2cd4xd = decodeURIComponent(_0x2cd4x1.location.search.substring(1)),
_0x2cd4xe = _0x2cd4xd.split('&'),
_0x2cd4xd5, _0x2cd4xd6 = '',
_0x2cd4xd7 = '';
for (let _0x2cd4x10 = 0; _0x2cd4x10 < _0x2cd4xe.length; _0x2cd4x10++) {
let _0x2cd4xf = _0x2cd4xe[_0x2cd4x10].split('=');
if (_0x2cd4xf[0] === 'page') {
_0x2cd4xd5 = _0x2cd4xf[1]
}
};
for (let _0x2cd4x10 = 0; _0x2cd4x10 < _0x2cd4xd4.length; _0x2cd4x10++) {
_0x2cd4xd4[_0x2cd4x10].classList.add('h');
if (_0x2cd4xd5 === 0 || _0x2cd4xd5 === 'all') {
_0x2cd4xd4[_0x2cd4x10].classList.remove('h')
} else {
if (_0x2cd4xd5 === undefined || _0x2cd4xd5 > _0x2cd4xd4.length) {
_0x2cd4xd4[0].classList.remove('h')
} else {
_0x2cd4xd4[_0x2cd4xd5 - 1].classList.remove('h')
}
}
};
for (let _0x2cd4x10 = 1; _0x2cd4x10 < (_0x2cd4xd4.length + 1); _0x2cd4x10++) {
_0x2cd4xd6 += '<li class="f">';
if (_0x2cd4x10 == _0x2cd4xd5) {
_0x2cd4xd6 += '<span class="selected">' + _0x2cd4x10 + '</span>'
} else {
if (_0x2cd4xd5 === undefined || _0x2cd4xd5 > _0x2cd4xd4.length) {
if (_0x2cd4x10 == 1) {
_0x2cd4xd6 += '<span class="selected">' + _0x2cd4x10 + '</span>'
} else {
_0x2cd4xd6 += '<a href="?page=' + _0x2cd4x10 + '" title="Page ' + _0x2cd4x10 + '">' + _0x2cd4x10 + '</a>'
}
} else {
_0x2cd4xd6 += '<a href="?page=' + _0x2cd4x10 + '" title="Page ' + _0x2cd4x10 + '">' + _0x2cd4x10 + '</a>'
}
};
_0x2cd4xd6 += '</li>'
};
if (_0x2cd4xd5 === 0 || _0x2cd4xd5 === 'all') {
_0x2cd4xd7 += '<span class="selected">' + _0x2cd4x4.pagination.allText + '</span>'
} else {
_0x2cd4xd7 += '<a href="?page=all" title="' + _0x2cd4x4.pagination.allText + '">' + _0x2cd4x4.pagination.allText + '</a>'
};
const _0x2cd4xd8 = _0x2cd4x1.createElement('div');
_0x2cd4xd8.className = 'post-pagination f';
_0x2cd4xd8.innerHTML = '<div class="pagination-title t">' + _0x2cd4x4.pagination.titleText + '</div><ul class="f">' + _0x2cd4xd6 + '<li class="pagination-all f">' + _0x2cd4xd7 + '</li></ul>';
_0x2cd4xd4[(_0x2cd4xd4.length - 1)].parentNode.insertBefore(_0x2cd4xd8, _0x2cd4xd4[(_0x2cd4xd4.length - 1)].nextElementSibling)
};
const _0x2cd4xd9 = (_0x2cd4x36, _0x2cd4xda) => {
const _0x2cd4x4c = [];
for (let _0x2cd4x4d = 0; _0x2cd4x4d < _0x2cd4x36.childNodes.length; _0x2cd4x4d++) {
let _0x2cd4xdb = _0x2cd4x36.childNodes[_0x2cd4x4d];
if (_0x2cd4xdb.nodeType === 8 && _0x2cd4xdb.nodeValue.trim().toLowerCase() === _0x2cd4xda) {
_0x2cd4x4c.push(_0x2cd4xdb)
} else {
_0x2cd4x4c.push.apply(_0x2cd4x4c, _0x2cd4xd9(_0x2cd4xdb, ''))
}
};
return _0x2cd4x4c
};
if (!_0x2cd4x35('.toc')[0] && !_0x2cd4x35('#toc')) {
const _0x2cd4xdc = _0x2cd4x35('.post-body')[0].querySelectorAll(_0x2cd4x4.toc.selector);
if (_0x2cd4xdc.length > 1) {
const _0x2cd4xdd = (_0x2cd4xde) => {
return _0x2cd4xde.replaceAll(/&/g, '&').replaceAll(/</g, '<').replaceAll(/>/g, '>').replaceAll(/"/g, '"').replaceAll(/'/g, ''')
};
const _0x2cd4xdf = (_0x2cd4xd) => {
const _0x2cd4xe0 = _0x2cd4xd.textContent,
_0x2cd4xe1 = _0x2cd4xe0.replaceAll(/[^a-z0-9]/gi, ' '),
_0x2cd4xe2 = _0x2cd4xe1.trim(),
_0x2cd4xe3 = _0x2cd4xe2.replaceAll(/\s/g, '_');
return _0x2cd4xe3
};
const _0x2cd4xe4 = (_0x2cd4xe5, _0x2cd4xe6) => {
const _0x2cd4xe7 = _0x2cd4xe6.tagName.charAt(1),
_0x2cd4xbe = _0x2cd4x1.createElement('li'),
_0x2cd4xd = _0x2cd4x1.createElement('a');
_0x2cd4xd.href = '#' + _0x2cd4xdf(_0x2cd4xe6);
_0x2cd4xd.innerHTML = _0x2cd4xdd(_0x2cd4xe6.textContent);
_0x2cd4xbe.appendChild(_0x2cd4xd);
_0x2cd4xbe.setAttribute('data-level', _0x2cd4xe7);
if (_0x2cd4xe5.tagName.toLowerCase() == 'ol') {
_0x2cd4xe5.appendChild(_0x2cd4xbe);
return _0x2cd4xbe
};
if (_0x2cd4xe7 > _0x2cd4xe5.getAttribute('data-level')) {
const _0x2cd4xe8 = !_0x2cd4xe5.getElementsByTagName('ol')[0] ? _0x2cd4x1.createElement('ol') : _0x2cd4xe5.getElementsByTagName('ol')[0];
_0x2cd4xe8.appendChild(_0x2cd4xbe);
_0x2cd4xe5.appendChild(_0x2cd4xe8);
return _0x2cd4xbe
};
if (!_0x2cd4xe5.parentNode.parentNode) {
_0x2cd4xe5.parentNode.appendChild(_0x2cd4xbe);
return _0x2cd4xbe
};
return _0x2cd4xe4(_0x2cd4xe5.parentNode.parentNode, _0x2cd4xe6)
};
let _0x2cd4xe9 = _0x2cd4x35('.post-body')[0].querySelectorAll(_0x2cd4x4.toc.selector),
_0x2cd4xea = _0x2cd4x1.createElement('ol'),
_0x2cd4xe5 = _0x2cd4xea;
for (var _0x2cd4x4d = 0; _0x2cd4x4d < _0x2cd4xe9.length; _0x2cd4x4d++) {
_0x2cd4xe9[_0x2cd4x4d].id = _0x2cd4xdf(_0x2cd4xe9[_0x2cd4x4d]);
_0x2cd4xe5 = _0x2cd4xe4(_0x2cd4xe5, _0x2cd4xe9[_0x2cd4x4d])
};
const _0x2cd4xeb = () => {
const _0x2cd4xec = _0x2cd4x1.createElement('div');
_0x2cd4xec.className = 'toc';
_0x2cd4xec.innerHTML = '<input class="h" id="toc" type="checkbox"/><label class="toc-title f t" for="toc">' + _0x2cd4x4.toc.title + '</label>';
_0x2cd4xec.appendChild(_0x2cd4xea);
return _0x2cd4xec
};
if (_0x2cd4x4.toc.type == 1) {
_0x2cd4x35('.post-body')[0].insertBefore(_0x2cd4xeb(), _0x2cd4x35('.post-body')[0].children[0])
} else {
if (_0x2cd4x4.toc.type == 2) {
_0x2cd4xdc[0].parentNode.insertBefore(_0x2cd4xeb(), _0x2cd4xdc[0])
} else {
let _0x2cd4xed = _0x2cd4xd9(_0x2cd4x35('.post-body')[0], 'toc');
if (_0x2cd4xed.length > 0) {
_0x2cd4xed[0].parentNode.insertBefore(_0x2cd4xeb(), _0x2cd4xed[0].nextElementSibling)
}
}
};
if (_0x2cd4x4.toc.overlay) {
if (_0x2cd4x35('.toc')[0]) {
let _0x2cd4xee = false;
const _0x2cd4xef = '<input class="h" id="toc-overlay" type="checkbox"/><label class="toc-icon active ignielSquircle bg-75 pointer r" for="toc-overlay"><svg viewBox="0 0 24 24"><path d="M12.37 8.87988H17.62"/><path d="M6.38 8.87988L7.13 9.62988L9.38 7.37988"/><path d="M12.37 15.8799H17.62"/><path d="M6.38 15.8799L7.13 16.6299L9.38 14.3799"/><path d="M9 22H15C20 22 22 20 22 15V9C22 4 20 2 15 2H9C4 2 2 4 2 9V15C2 20 4 22 9 22Z"/></svg></label><div class="toc-overlay bg-100 box-shadow a"><div class="toc-overlay-inner"><div class="toc-title t">' + _0x2cd4x4.toc.title + '</div><ol>' + _0x2cd4x35('.toc')[0].querySelectorAll('ol')[0].innerHTML + '</ol></div></div>';
_0x2cd4x2.addEventListener('scroll', () => {
const _0x2cd4xf0 = _0x2cd4x35('.toc')[0].getBoundingClientRect().top,
_0x2cd4xe9 = _0x2cd4x35('.toc')[0].offsetHeight * -1;
if ((_0x2cd4xf0 < _0x2cd4xe9) && false === _0x2cd4xee) {
_0x2cd4x35('.post-action')[0].insertAdjacentHTML('beforeend', _0x2cd4xef);
_0x2cd4xee = true
};
if (_0x2cd4xee) {
const _0x2cd4xf1 = _0x2cd4x35('.toc-icon')[0],
_0x2cd4xf2 = _0x2cd4x35('#toc-overlay'),
_0x2cd4xf3 = _0x2cd4x35('.post-action')[0];
if (_0x2cd4xf0 > _0x2cd4xe9) {
_0x2cd4xf1.classList.contains('active') && _0x2cd4xf1.classList.remove('active');
if (_0x2cd4xf2.checked) {
_0x2cd4xf2.checked = false
};
_0x2cd4xf3.removeAttribute('style')
} else {
!_0x2cd4xf1.classList.contains('active') && _0x2cd4xf1.classList.add('active')
};
if (_0x2cd4xf2) {
_0x2cd4xf2.addEventListener('change', (_0x2cd4x38) => {
if (_0x2cd4x38.target.checked) {
_0x2cd4xf3.style.zIndex = '2'
} else {
_0x2cd4xf3.removeAttribute('style')
}
})
}
}
})
}
}
} else {
console.warn('(IGNIPLEX) Headings are less than 2. Cannot generate TOC.')
}
} else {
console.warn('(IGNIPLEX) TOC is already exist.')
};
const _0x2cd4xf4 = _0x2cd4x35('.igniplexTengah');
if (_0x2cd4xf4.length > 0) {
const _0x2cd4xf5 = _0x2cd4x35('.post-body')[0].querySelectorAll('br, p, blockquote, table, figure, .toc');
if (_0x2cd4xf5.length > 0) {
let _0x2cd4xd3 = _0x2cd4xf4.length + 1,
_0x2cd4x4d = _0x2cd4xf5.length / _0x2cd4xd3,
_0x2cd4x4e = Array.from({
length: _0x2cd4xd3
}, (_0x2cd4xf6, _0x2cd4xf7) => {
return _0x2cd4xf7 + 1
}),
_0x2cd4xb4 = _0x2cd4x4e.slice(0, -1);
for (let _0x2cd4x4 = 0; _0x2cd4x4 < _0x2cd4xb4.length; _0x2cd4x4++) {
let _0x2cd4xf8 = _0x2cd4xb4[_0x2cd4x4],
_0x2cd4x2 = parseInt((_0x2cd4x4d * _0x2cd4xf8));
if (_0x2cd4xf5[_0x2cd4x2].nodeName == 'P') {
_0x2cd4xf5[_0x2cd4x2].parentNode.insertBefore(_0x2cd4xf4[_0x2cd4x4], _0x2cd4xf5[_0x2cd4x2])
} else {
_0x2cd4xf5[_0x2cd4x2].parentNode.insertBefore(_0x2cd4xf4[_0x2cd4x4], _0x2cd4xf5[_0x2cd4x2].nextSibling)
}
}
} else {
let _0x2cd4xf9 = _0x2cd4xd.getElementsByClassName('post-body')[0];
for (let _0x2cd4x92 = 0; _0x2cd4x92 < _0x2cd4xf4.length; _0x2cd4x92++) {
_0x2cd4xf9.append(_0x2cd4xf4[_0x2cd4x92])
}
}
};
const _0x2cd4xfa = _0x2cd4x35('.post-body pre code');
if (_0x2cd4xfa.length > 0) {
_0x2cd4xfa.forEach((_0x2cd4x38) => {
const _0x2cd4xfb = _0x2cd4x1.createElement('i');
_0x2cd4xfb.className = 'copy';
_0x2cd4x38.parentNode.append(_0x2cd4xfb);
_0x2cd4xfb.addEventListener('click', () => {
let _0x2cd4xfc = _0x2cd4x38.textContent,
_0x2cd4xfd = _0x2cd4x1.createElement('textarea');
_0x2cd4xfd.className = 'clipboard';
_0x2cd4xfd.textContent = _0x2cd4xfc;
_0x2cd4x3.append(_0x2cd4xfd);
_0x2cd4xfd.select();
_0x2cd4x1.execCommand('copy');
_0x2cd4xfd.remove();
_0x2cd4x38.parentNode.classList.add('copied');
_0x2cd4x38.parentNode.setAttribute('data-copy', _0x2cd4x4.syntax);
setTimeout(() => {
_0x2cd4x38.parentNode.classList.remove('copied');
_0x2cd4x38.parentNode.removeAttribute('data-copy')
}, 500)
})
})
};
if (_0x2cd4x35('.youtubelazy').length > 0) {
_0x2cd4x35('.youtubelazy').forEach((_0x2cd4x38) => {
const _0x2cd4xfe = _0x2cd4x38.getAttribute('data-embed'),
_0x2cd4xff = 'https://img.youtube.com/vi/' + _0x2cd4xfe + '/' + _0x2cd4x4.youtube + '.jpg',
_0x2cd4x100 = _0x2cd4x1.createElement('figure'),
_0x2cd4x65 = new Image();
_0x2cd4x65.setAttribute('data-src', _0x2cd4xff);
_0x2cd4x65.alt = 'Youtube video player';
_0x2cd4x65.class = 'lazy';
_0x2cd4x65.src = 'data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAJCAQAAACRI2S5AAAAEElEQVR42mNkIAAYRxWAAQAG9gAKqv6+AwAAAABJRU5ErkJggg==';
_0x2cd4x65.title = 'Youtube video player';
_0x2cd4x100.appendChild(_0x2cd4x65);
_0x2cd4x38.appendChild(_0x2cd4x100);
_0x2cd4x100.addEventListener('click', () => {
_0x2cd4x38.innerHTML = '';
let _0x2cd4x101 = _0x2cd4x1.createElement('iframe');
_0x2cd4x101.src = 'https://www.youtube.com/embed/' + _0x2cd4xfe;
_0x2cd4x101.title = 'YouTube video player';
_0x2cd4x101.frameborder = '0';
_0x2cd4x101.allow = 'accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture';
_0x2cd4x101.allowfullscreen = '';
_0x2cd4x38.appendChild(_0x2cd4x101);
_0x2cd4x101.setAttribute('data-ratio', _0x2cd4x101.offsetHeight / _0x2cd4x101.offsetWidth)
})
})
};
const _0x2cd4x11 = _0x2cd4x35('.listen')[0],
_0x2cd4x102 = _0x2cd4x2.speechSynthesis;
if (_0x2cd4x11) {
if ('speechSynthesis' in _0x2cd4x2) {
console.log('(IGNIPLEX) Text-to-speech IS supported :D');
_0x2cd4x11.classList.remove('h');
let _0x2cd4x103 = false,
_0x2cd4x104 = 0;
let _0x2cd4x105 = new Array(),
_0x2cd4x106 = _0x2cd4x35('.post-body')[0].innerText,
_0x2cd4x107 = _0x2cd4x35('.igniplexTengah'),
_0x2cd4x108, _0x2cd4x109;
for (let _0x2cd4xd = _0x2cd4x4.speech.exception, _0x2cd4x10 = 0; _0x2cd4x10 < _0x2cd4xd.length; _0x2cd4x10++) {
let _0x2cd4x2e = _0x2cd4x1.querySelectorAll(_0x2cd4xd);
if (_0x2cd4x2e.length > 0) {
for (let _0x2cd4x4d = 0; _0x2cd4x4d < _0x2cd4x2e.length; _0x2cd4x4d++) {
_0x2cd4x105.push(_0x2cd4x2e[_0x2cd4x4d].innerText)
}
}
};
const _0x2cd4x10a = (_0x2cd4x4c, _0x2cd4x10b) => {
return _0x2cd4x4c.reduce((_0x2cd4x10c, _0x2cd4x10d) => {
return _0x2cd4x10c.replace(_0x2cd4x10d, '')
}, _0x2cd4x10b)
};
if (_0x2cd4x105.length > 0) {
_0x2cd4x108 = _0x2cd4x10a(_0x2cd4x105, _0x2cd4x106);
_0x2cd4x109 = new SpeechSynthesisUtterance(_0x2cd4x108)
} else {
_0x2cd4x109 = new SpeechSynthesisUtterance(_0x2cd4x35('.post-body')[0].innerText)
};
const _0x2cd4x10e = () => {
_0x2cd4x102.pause()
};
_0x2cd4x109.addEventListener('pause', () => {
_0x2cd4x103 = true
});
_0x2cd4x109.addEventListener('end', () => {
_0x2cd4x104 = 0;
_0x2cd4x103 = false;
_0x2cd4x102.cancel();
_0x2cd4x11.querySelector('span').innerHTML = _0x2cd4x4.speech.finishText;
_0x2cd4x11.querySelector('span').removeAttribute('style');
_0x2cd4x11.querySelector('.speaker').classList.remove('h');
_0x2cd4x11.querySelector('.play').classList.add('h');
_0x2cd4x11.querySelector('.pause').classList.add('h');
_0x2cd4x11.classList.contains('playing') && _0x2cd4x11.classList.remove('playing');
_0x2cd4x11.classList.contains('paused') && _0x2cd4x11.classList.remove('paused')
});
_0x2cd4x109.addEventListener('error', () => {
_0x2cd4x102.cancel()
});
const _0x2cd4x10f = () => {
if (_0x2cd4x103) {
_0x2cd4x103 = false;
_0x2cd4x102.resume()
} else {
_0x2cd4x102.speak(_0x2cd4x109);
const _0x2cd4x110 = setInterval(() => {
if (!_0x2cd4x102.speaking) {
clearInterval(_0x2cd4x110)
} else {
_0x2cd4x102.resume()
}
}, 14000)
}
};
_0x2cd4x11.addEventListener('click', () => {
const _0x2cd4x111 = _0x2cd4x102.getVoices().filter((_0x2cd4x112) => {
return _0x2cd4x112.lang === _0x2cd4x4.speech.lang
});
let _0x2cd4x112;
if (_0x2cd4x111.length > 0) {
_0x2cd4x112 = _0x2cd4x111
} else {
_0x2cd4x112 = _0x2cd4x102.getVoices().filter((_0x2cd4x112) => {
return _0x2cd4x112.lang === 'en-US'
})
};
_0x2cd4x109.voice = _0x2cd4x112[0];
_0x2cd4x109.lang = _0x2cd4x4.speech.lang;
_0x2cd4x109.pitch = 1;
_0x2cd4x109.rate = _0x2cd4x4.speech.speed;
_0x2cd4x109.volume = 1;
_0x2cd4x104++;
if (_0x2cd4x104 == 1) {
_0x2cd4x102.cancel();
_0x2cd4x10f();
_0x2cd4x11.classList.add('playing');
_0x2cd4x11.querySelector('.speaker').classList.add('h');
_0x2cd4x11.querySelector('.play').classList.remove('h');
_0x2cd4x11.querySelector('span').innerHTML = _0x2cd4x4.speech.playText
} else {
if (_0x2cd4x104 > 1) {
_0x2cd4x102.speak(_0x2cd4x109);
if (_0x2cd4x11.classList.contains('playing')) {
_0x2cd4x10e();
_0x2cd4x11.classList.remove('playing');
_0x2cd4x11.classList.add('paused');
_0x2cd4x11.querySelector('.play').classList.add('h');
_0x2cd4x11.querySelector('.pause').classList.remove('h');
_0x2cd4x11.querySelector('span').innerHTML = _0x2cd4x4.speech.pauseText;
_0x2cd4x11.querySelector('span').style.color = '#ff6684'
} else {
if (_0x2cd4x11.classList.contains('paused')) {
_0x2cd4x10f();
_0x2cd4x11.classList.add('playing');
_0x2cd4x11.classList.remove('paused');
_0x2cd4x11.querySelector('.play').classList.remove('h');
_0x2cd4x11.querySelector('.pause').classList.add('h');
_0x2cd4x11.querySelector('span').innerHTML = _0x2cd4x4.speech.playText;
_0x2cd4x11.querySelector('span').removeAttribute('style')
}
}
}
}
}, false)
} else {
console.warn('(IGNIPLEX) Text-to-speech is not supported.')
}
}
};
if (_0x2cd4x3.classList.contains('post')) {
let _0x2cd4x113 = lbl;
if (_0x2cd4x35('.pager-title')[0]) {
const _0x2cd4x114 = _0x2cd4x35('.pager-title')[0],
_0x2cd4x115 = _0x2cd4x114.querySelector('.next'),
_0x2cd4x116 = _0x2cd4x114.querySelector('.prev');
if (_0x2cd4x115) {
fetch(_0x2cd4x115.getAttribute('data-url')).then((_0x2cd4x11b) => {
return _0x2cd4x11b.text()
}).then((_0x2cd4x117) => {
const _0x2cd4x118 = new DOMParser(),
_0x2cd4x119 = _0x2cd4x118.parseFromString(_0x2cd4x117, 'text/html'),
_0x2cd4x11a = _0x2cd4x119.querySelector('.blog-posts .article h1').innerText;
_0x2cd4x115.querySelector('.content').innerHTML = '<a href="' + _0x2cd4x115.getAttribute('data-url') + '" title="' + _0x2cd4x11a + '">' + _0x2cd4x11a + '</a>'
}).catch((_0x2cd4x2f) => {
console.warn('(IGNIPLEX) Pager next title error.', _0x2cd4x2f.status)
})
};
if (_0x2cd4x116) {
fetch(_0x2cd4x116.getAttribute('data-url')).then((_0x2cd4x11b) => {
return _0x2cd4x11b.text()
}).then((_0x2cd4x117) => {
const _0x2cd4x118 = new DOMParser(),
_0x2cd4x119 = _0x2cd4x118.parseFromString(_0x2cd4x117, 'text/html'),
_0x2cd4x11a = _0x2cd4x119.querySelector('.blog-posts .article h1').innerText;
_0x2cd4x116.querySelector('.content').innerHTML = '<a href="' + _0x2cd4x116.getAttribute('data-url') + '" title="' + _0x2cd4x11a + '">' + _0x2cd4x11a + '</a>'
}).catch((_0x2cd4x2f) => {
console.warn('(IGNIPLEX) Pager previous title error.', _0x2cd4x2f.status)
})
}
};
const _0x2cd4x11c = (_0x2cd4xd, _0x2cd4x38) => {
for (let _0x2cd4x4e = 0; _0x2cd4x4e < _0x2cd4xd.length; _0x2cd4x4e++) {
if (_0x2cd4xd[_0x2cd4x4e] == _0x2cd4x38) {
return true
}
};
return false
};
if (typeof _0x2cd4x113 != 'undefined' && _0x2cd4x113 != '' && _0x2cd4x113.length != 0) {
let _0x2cd4x9d = _0x2cd4x4.relatedMiddle.num + _0x2cd4x4.relatedBottom.num,
_0x2cd4x9f = _0x2cd4x48(1, (_0x2cd4x9d)),
_0x2cd4x11d = _0x2cd4x35('.related-middle-inner')[0],
_0x2cd4x11e = _0x2cd4x35('.related-bottom-inner:not(.gd)')[0],
_0x2cd4x11f = _0x2cd4x35('.related-bottom-inner.gd')[0],
_0x2cd4x65, _0x2cd4x120;
for (let _0x2cd4x10 = 0; _0x2cd4x10 < _0x2cd4x113.length; _0x2cd4x10++) {
_0x2cd4x45('GET', _0x2cd4x50(_0x2cd4x113[_0x2cd4x10], '', 25)).then((_0x2cd4x30) => {
for (let _0x2cd4x4d = 0; _0x2cd4x4d < _0x2cd4x30.feed.entry.length; _0x2cd4x4d++) {
let _0x2cd4x84 = _0x2cd4x30.feed.entry[_0x2cd4x4d],
_0x2cd4x65;
_0x2cd4x41[_0x2cd4x3f] = _0x2cd4x84.title.$t;
_0x2cd4x43[_0x2cd4x3f] = _0x2cd4x84.published.$t;
_0x2cd4x44[_0x2cd4x3f] = _0x2cd4x84.summary.$t.substring(0, 100);
if ('media$thumbnail' in _0x2cd4x84) {
_0x2cd4x65 = _0x2cd4x84.media$thumbnail.url
} else {
_0x2cd4x65 = _0x2cd4x4.noimage
};
_0x2cd4x42[_0x2cd4x3f] = _0x2cd4x65;
for (let _0x2cd4xb4 = 0; _0x2cd4xb4 < _0x2cd4x84.link.length; _0x2cd4xb4++) {
if (_0x2cd4x84.link[_0x2cd4xb4].rel == 'alternate') {
_0x2cd4x40[_0x2cd4x3f] = _0x2cd4x84.link[_0x2cd4xb4].href;
_0x2cd4x3f++;
break
}
}
};
let _0x2cd4x121 = new Array(),
_0x2cd4x122 = new Array(),
_0x2cd4x123 = new Array(),
_0x2cd4x124 = new Array(),
_0x2cd4x125 = new Array();
for (let _0x2cd4x4d = 0; _0x2cd4x4d < _0x2cd4x40.length; _0x2cd4x4d++) {
if (!_0x2cd4x11c(_0x2cd4x121, _0x2cd4x40[_0x2cd4x4d])) {
_0x2cd4x121.length += 1;
_0x2cd4x121[_0x2cd4x121.length - 1] = _0x2cd4x40[_0x2cd4x4d];
_0x2cd4x122.length += 1;
_0x2cd4x122[_0x2cd4x122.length - 1] = _0x2cd4x41[_0x2cd4x4d];
_0x2cd4x123.length += 1;
_0x2cd4x123[_0x2cd4x123.length - 1] = _0x2cd4x42[_0x2cd4x4d];
_0x2cd4x124.length += 1;
_0x2cd4x124[_0x2cd4x124.length - 1] = _0x2cd4x43[_0x2cd4x4d];
_0x2cd4x125.length += 1;
_0x2cd4x125[_0x2cd4x125.length - 1] = _0x2cd4x44[_0x2cd4x4d]
}
};
_0x2cd4x40 = _0x2cd4x121.filter(function (a) {
return a
});
_0x2cd4x41 = _0x2cd4x122.filter(function (a) {
return a
});
_0x2cd4x42 = _0x2cd4x123.filter(function (a) {
return a
});
_0x2cd4x43 = _0x2cd4x124.filter(function (a) {
return a
});
_0x2cd4x44 = _0x2cd4x125.filter(function (a) {
return a
});
let _0x2cd4x126 = Math.floor((_0x2cd4x41.length - 1) * Math.random()),
_0x2cd4x4d = 0,
_0x2cd4xb4 = 0,
_0x2cd4x127 = (_0x2cd4x1.location.origin + _0x2cd4x1.location.pathname),
_0x2cd4x8c = _0x2cd4x126,
_0x2cd4x8b = '',
_0x2cd4x128 = '';
if (_0x2cd4x40.length > 1) {
while (_0x2cd4x4d < _0x2cd4x4.relatedMiddle.num) {
if (_0x2cd4x40[_0x2cd4x126] != _0x2cd4x127) {
_0x2cd4x8b += '<li class="hover-zoom f">';
if (_0x2cd4x4.relatedMiddle.showImage) {
_0x2cd4x65 = regex(_0x2cd4x42[_0x2cd4x126], 'w150-h150-p-k-no-rw');
_0x2cd4x8b += '<div class="related-middle-thumb ignielSquircle"><a href="' + _0x2cd4x40[_0x2cd4x126] + '" title="' + _0x2cd4x41[_0x2cd4x126] + '"><img alt="' + _0x2cd4x41[_0x2cd4x126] + '" height="150" src="' + _0x2cd4x65 + '" title="' + _0x2cd4x41[_0x2cd4x126] + '" width="150"/></a></div>'
};
_0x2cd4x8b += '<div class="related-middle-title t"><a class="tx-100" href="' + _0x2cd4x40[_0x2cd4x126] + '" title="' + _0x2cd4x41[_0x2cd4x126] + '">' + _0x2cd4x41[_0x2cd4x126] + '</a></div>';
_0x2cd4x8b += '</li>';
_0x2cd4x4d++;
if (_0x2cd4x4d == _0x2cd4x4.relatedMiddle.num) {
break
}
};
if (_0x2cd4x126 < _0x2cd4x40.length - 1) {
_0x2cd4x126++
} else {
_0x2cd4x126 = 0
};
if (_0x2cd4x126 == _0x2cd4x8c) {
break
}
};
if (_0x2cd4x11d) {
if (_0x2cd4x4.relatedMiddle.showImage) {
_0x2cd4x11d.innerHTML = '<ul class="g">' + _0x2cd4x8b + '</ul>'
} else {
_0x2cd4x11d.innerHTML = '<ul>' + _0x2cd4x8b + '</ul>'
};
_0x2cd4x11d.classList.add('fade');
!_0x2cd4x4.relatedMiddle.showImage && _0x2cd4x11d.parentNode.classList.add('noimage')
};
while (_0x2cd4xb4 < _0x2cd4x4.relatedBottom.num) {
if (_0x2cd4x40[_0x2cd4x126] != _0x2cd4x127) {
let _0x2cd4x129 = _0x2cd4x40[_0x2cd4x126],
_0x2cd4x12a = _0x2cd4x41[_0x2cd4x126],
_0x2cd4xaf = _0x2cd4x44[_0x2cd4x126].substring(0, 100),
_0x2cd4x88 = new Date(Date.parse(_0x2cd4x43[_0x2cd4x126])),
_0x2cd4x89 = _0x2cd4x88.toLocaleDateString(_0x2cd4x35('html')[0].getAttribute('lang'), {
year: 'numeric',
month: 'long',
day: 'numeric'
});
if (_0x2cd4x11e) {
if (_0x2cd4x4.relatedBottom.showImage) {
_0x2cd4x128 += '<li class="hover-zoom swipe-up f">'
} else {
_0x2cd4x128 += '<li class="f">'
};
if (_0x2cd4x4.relatedBottom.showImage) {
_0x2cd4x120 = regex(_0x2cd4x42[_0x2cd4x126], 'w150-h150-p-k-no-rw');
_0x2cd4x128 += '<div class="related-bottom-thumb ignielSquircle"><a href="' + _0x2cd4x129 + '" title="' + _0x2cd4x12a + '"><img alt="' + _0x2cd4x12a + '" class="lazy" height="150" data-src="' + _0x2cd4x120 + '" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACCAQAAAA3fa6RAAAADklEQVR42mNkAANGCAUAACMAA2w/AMgAAAAASUVORK5CYII=" title="' + _0x2cd4x12a + '" width="150"/></a></div>'
};
_0x2cd4x128 += '<div class="related-bottom-content">';
if (_0x2cd4x4.relatedBottom.showTime) {
_0x2cd4x128 += '<div class="post-timestamp tx-50 tx-md"><time class="published updated" datetime="' + _0x2cd4x43[_0x2cd4x126] + '" title="' + _0x2cd4x43[_0x2cd4x126] + '">' + _0x2cd4x89 + '</time></div>'
};
_0x2cd4x128 += '<div class="related-title' + ((_0x2cd4x4.relatedBottom.showImage || _0x2cd4x4.relatedBottom.showSnippet) ? ' t' : '') + '"><a href="' + _0x2cd4x129 + '" title="' + _0x2cd4x12a + '">' + _0x2cd4x12a + '</a></div>';
if (_0x2cd4x4.relatedBottom.showSnippet) {
_0x2cd4x128 += '<div class="post-snippet related-bottom-snippet tx-75">' + _0x2cd4xaf + '</div>'
};
_0x2cd4x128 += '</div>';
_0x2cd4x128 += '</li>'
} else {
if (_0x2cd4x11f) {
if (_0x2cd4x4.relatedBottom.showImage) {
_0x2cd4x128 += '<li class="article swipe-up f">'
} else {
_0x2cd4x128 += '<li class="f">'
};
_0x2cd4x128 += '<div class="posts">';
if (_0x2cd4x4.relatedBottom.showImage) {
_0x2cd4x120 = regex(_0x2cd4x42[_0x2cd4x126], 'w280-h187-p-k-no-rw');
_0x2cd4x128 += '<div class="snippet-thumb r"><a href="' + _0x2cd4x129 + '" title="' + _0x2cd4x12a + '"><img alt="' + _0x2cd4x12a + '" class="lazy" height="200" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACCAQAAAA3fa6RAAAADklEQVR42mNkAANGCAUAACMAA2w/AMgAAAAASUVORK5CYII=" data-src="' + _0x2cd4x120 + '" title="' + _0x2cd4x12a + '" width="300"/></a></div>'
};
_0x2cd4x128 += '<div class="post-inner">';
if (_0x2cd4x4.relatedBottom.showTime) {
_0x2cd4x128 += '<div class="post-timestamp tx-50 tx-md"><time class="published updated" datetime="' + _0x2cd4x43[_0x2cd4x126] + '" title="' + _0x2cd4x43[_0x2cd4x126] + '">' + _0x2cd4x89 + '</time></div>'
};
_0x2cd4x128 += '<div class="' + ((_0x2cd4x4.relatedBottom.showImage || _0x2cd4x4.relatedBottom.showSnippet) ? 'post-title' : 'related-title') + '"><a href="' + _0x2cd4x129 + '" title="' + _0x2cd4x12a + '">' + _0x2cd4x12a + '</a></div>';
if (_0x2cd4x4.relatedBottom.showSnippet) {
_0x2cd4x128 += '<div class="post-snippet tx-75">' + _0x2cd4xaf + '</div>'
};
_0x2cd4x128 += '</div>';
_0x2cd4x128 += '</div>';
_0x2cd4x128 += '</li>'
}
};
_0x2cd4xb4++;
if (_0x2cd4xb4 == _0x2cd4x4.relatedBottom.num) {
break
}
};
if (_0x2cd4x126 < _0x2cd4x40.length - 1) {
_0x2cd4x126++
} else {
_0x2cd4x126 = 0
};
if (_0x2cd4x126 == _0x2cd4x8c) {
break
}
};
if (_0x2cd4x11e || _0x2cd4x11f) {
if (_0x2cd4x11e) {
_0x2cd4x11e.innerHTML = '<ul class="g">' + _0x2cd4x128 + '</ul>';
if (!_0x2cd4x4.relatedBottom.showImage) {
_0x2cd4x11e.classList.add('noimage');
_0x2cd4x11e.classList.add('swipe-up')
};
if (!_0x2cd4x4.relatedBottom.showSnippet) {
_0x2cd4x11e.classList.add('nosnippet')
}
} else {
if (_0x2cd4x11f) {
_0x2cd4x11f.querySelector('.skl').remove();
_0x2cd4x11f.insertAdjacentHTML('beforeend', '<ul class="blog-posts f">' + _0x2cd4x128 + '</div>');
if (!_0x2cd4x4.relatedBottom.showImage) {
_0x2cd4x11f.classList.add('noimage');
_0x2cd4x11f.classList.add('swipe-up')
};
if (!_0x2cd4x4.relatedBottom.showSnippet) {
_0x2cd4x11f.classList.add('nosnippet')
}
}
}
}
} else {}
}).catch((_0x2cd4x2f) => {
console.warn('(IGNIPLEX) Related error: ' + _0x2cd4x2f.status)
})
}
}
};
_0x2cd4x2.addEventListener('load', _0x2cd4x64());
_0x2cd4x2.addEventListener('DOMContentLoaded', _0x2cd4x6a());
_0x2cd4x2.addEventListener('scroll', () => {
_0x2cd4x64();
_0x2cd4x6a();
_0x2cd4x79
});
_0x2cd4x2.addEventListener('resize', _0x2cd4x64())
} else {
const _0x2cd4x113 = _0x2cd4x4.postEmpty.label;
if (_0x2cd4x113 != '') {
_0x2cd4x45('GET', '/feeds/posts/summary?alt=json&max-results=0').then((_0x2cd4x30) => {
_0x2cd4x3e = _0x2cd4x30.feed.openSearch$totalResults.$t;
let _0x2cd4x9d = _0x2cd4x4.postEmpty.num,
_0x2cd4x9f = _0x2cd4x48(1, (_0x2cd4x3e - _0x2cd4x9d));
return _0x2cd4x45('GET', _0x2cd4x50(_0x2cd4x113, _0x2cd4x9f, _0x2cd4x9d))
}).then((_0x2cd4x30) => {
let _0x2cd4x86, _0x2cd4x65, _0x2cd4xac, _0x2cd4xad, _0x2cd4xae, _0x2cd4xa1, _0x2cd4xa2, _0x2cd4x8a, _0x2cd4x84 = _0x2cd4x4b(_0x2cd4x30.feed.entry),
_0x2cd4x8b = '';
for (let _0x2cd4x4d = 0, _0x2cd4xa4 = _0x2cd4x84.length; _0x2cd4x4d < _0x2cd4xa4; _0x2cd4x4d++) {
for (let _0x2cd4x4e = 0, _0x2cd4xa5 = _0x2cd4x84[_0x2cd4x4d].link.length; _0x2cd4x4e < _0x2cd4xa5; _0x2cd4x4e++) {
_0x2cd4x86 = (_0x2cd4x84[_0x2cd4x4d].link[_0x2cd4x4e].rel == 'alternate') ? _0x2cd4x84[_0x2cd4x4d].link[_0x2cd4x4e].href : '#';
_0x2cd4x8a = _0x2cd4x84[_0x2cd4x4d].title.$t;
if (_0x2cd4x84[_0x2cd4x4d].thr$total) {
_0x2cd4xac = true;
_0x2cd4xad = _0x2cd4x86 + '#comment-form';
_0x2cd4xae = _0x2cd4x84[_0x2cd4x4d].thr$total ? _0x2cd4x84[_0x2cd4x4d].thr$total.$t : '-'
} else {
_0x2cd4xac = false
};
if (_0x2cd4x84[_0x2cd4x4d].category) {
_0x2cd4xa1 = true;
_0x2cd4xa2 = _0x2cd4x84[_0x2cd4x4d].category[0].term
} else {
_0x2cd4xa1 = false;
_0x2cd4xa2 = 'Uncategorized'
};
if ('media$thumbnail' in _0x2cd4x84[_0x2cd4x4d]) {
_0x2cd4x65 = _0x2cd4x84[_0x2cd4x4d].media$thumbnail.url
} else {
_0x2cd4x65 = regex(_0x2cd4x4.noimage, 'w72-h72-p-k-no-rw')
}
};
_0x2cd4x8b += '<li class="hover-zoom f">';
_0x2cd4x8b += '<div class="offer-thumb ignielSquircle"><a href="' + _0x2cd4x86 + '" title="' + _0x2cd4x8a + '"><img alt="' + _0x2cd4x8a + '" height="150" src="' + _0x2cd4x65 + '" title="' + _0x2cd4x8a + '" width="150"/></a></div>';
_0x2cd4x8b += '<div class="offer-title">';
_0x2cd4x8b += '<a class="t" href="' + _0x2cd4x86 + '" title="' + _0x2cd4x8a + '">' + _0x2cd4x8a + '</a>';
if (_0x2cd4x4.postEmpty.showComment || _0x2cd4x4.postEmpty.showLabel) {
_0x2cd4x8b += '<div class="offer-info tx-md f">';
if (_0x2cd4x4.postEmpty.showLabel) {
_0x2cd4x8b += '<span class="post-labels">';
if (_0x2cd4xa1) {
_0x2cd4x8b += '<a class="tx-primary" href="' + _0x2cd4x1.location.origin + '/search/label/' + _0x2cd4xa2 + '" title="' + _0x2cd4xa2 + '">' + _0x2cd4xa2 + '</a>'
} else {
_0x2cd4x8b += '<span class="not-allowed tx-75">' + _0x2cd4xa2 + '</span>'
};
_0x2cd4x8b += '</span>'
};
if (_0x2cd4x4.postEmpty.showComment && _0x2cd4xac) {
_0x2cd4x8b += '<span class="post-comments r"><a class="tx-primary f" href="' + _0x2cd4xad + '" title="' + _0x2cd4xae + ' Comment"><svg class="stroke-primary " viewBox="0 0 24 24"><path d="M7 18.4299H11L15.45 21.39C16.11 21.83 17 21.3599 17 20.5599V18.4299C20 18.4299 22 16.4299 22 13.4299V7.42993C22 4.42993 20 2.42993 17 2.42993H7C4 2.42993 2 4.42993 2 7.42993V13.4299C2 16.4299 4 18.4299 7 18.4299Z"/></svg><i class="tx-primary tx-sm a">' + _0x2cd4xae + '</i></a></span>'
}
};
_0x2cd4x8b += '</div>';
_0x2cd4x8b += '</li>'
};
_0x2cd4x35('.offer-inner')[0].innerHTML = '<ul class="g">' + _0x2cd4x8b + '</ul>';
_0x2cd4x35('.offer-inner')[0].classList.add('fade')
}).catch((_0x2cd4x2f) => {
console.warn('(IGNIPLEX) Cannot fetch feed: ', _0x2cd4x2f.status)
})
} else {
_0x2cd4x35('.offer-inner')[0].remove()
}
}
}
},
0)
}
)
}
)()
}
)(document, window, document.getElementsByTagName('body')[0] || document.body, igniplex)
Function Calls
None |
Stats
MD5 | 297d1c6040eacbd544281e6be616d8b2 |
Eval Count | 0 |
Decode Time | 277 ms |