Array
Array
Array
Array ArrayArray
Array ArrayArray
Array
Array
Array
Array
Array
Array
Array
Array
Array
Array ArrayArray
Array
Array
Array
Array
Array
Array
Array
Array Array Array
Array Array Array
Array Array Array
Array Array Array
Array
ArrayArrayArray ArrayArray Array Array Array ArrayArray
window.REBELMOUSE_LOWEST_TASKS_QUEUE.push(function(){
!function(f,b,e,v,n,t,s) {if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)}; if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; n.queue=[];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0]; s.parentNode.insertBefore(t,s)}(window, document,'script', 'https://connect.facebook.net/en_US/fbevents.js'); fbq('init', '377612259624022');
});
window.REBELMOUSE_LOWEST_TASKS_QUEUE.push(function(){
window.REBELMOUSE_STDLIB.loadExternalScript("https://s.skimresources.com/js/58005X1352817.skimlinks.js", function() {
});
});
window.REBELMOUSE_LOWEST_TASKS_QUEUE.push(function(){
function Vizible(a) { if (!(a instanceof Element)) throw Error("DomUtil: elem is not an element."); const b = getComputedStyle(a); if ("none" === b.display) return !1; if ("visible" !== b.visibility) return !1; if (0.1 > b.opacity) return !1; if ( 0 === a.offsetWidth + a.offsetHeight + a.getBoundingClientRect().height + a.getBoundingClientRect().width ) return !1; const c = { x: a.getBoundingClientRect().left + a.offsetWidth / 2, y: a.getBoundingClientRect().top + a.offsetHeight / 2, }; if (0 > c.x) return !1; if (c.x > (document.documentElement.clientWidth || window.innerWidth)) return !1; if (0 > c.y) return !1; if (c.y > (document.documentElement.clientHeight || window.innerHeight)) return !1; let d = document.elementFromPoint(c.x, c.y); do if (d === a) return !0; while ((d = d.parentNode)); return !1; }
var submenu = document.querySelector(".submenu"); document.querySelectorAll( ".menu_container .list .list__item" ).forEach(function(i){ if (!Vizible(i)) { submenu.appendChild(i); } });
});
window.REBELMOUSE_LOWEST_TASKS_QUEUE.push(function(){
//console.log('testing over tooltip'); const bookmarks = document.querySelectorAll('.like-button:not(.tool_tip_added)'); if(bookmarks && bookmarks.length > 0){ bookmarks.forEach(a => { a.classList.add('tool_tip_added'); const toolTip = document.createElement('div'); toolTip.innerHTML = "
"; toolTip.classList.add('tool-tip'); a.appendChild(toolTip); }) }
});
window.REBELMOUSE_LOWEST_TASKS_QUEUE.push(function(){
document .querySelectorAll(".scroll-post:not(.share-proc)") .forEach(function (item) { item.classList.add("share-proc"); if (item.querySelector(".widget__head + .widget__body")) { item.querySelector(".widget__head + .widget__body").appendChild( item.querySelector(".widget__shares").cloneNode(true) ); } else { if(item.querySelector(".widget__body + .widget__body")){ item.querySelector(".widget__body + .widget__body").appendChild( item.querySelector(".widget__shares").cloneNode(true) ); } } });
});
window.REBELMOUSE_LOWEST_TASKS_QUEUE.push(function(){
REBELMOUSE_STDLIB.onElementInViewport({ threshold: 400, selector: ".sidebar_sticky_parent", oneTime: true, onIntersect: function(entry){ var element = entry.target; var jsonVal = JSON.stringify({ post_id: currentPostId_s });
var ad_el=element.querySelector(".sidebar_repeat_ad"); ad_el.dataset.targeting = jsonVal; ad_el .classList.add("htlad-Right_Rail_3");
element.insertAdjacentHTML( "afterend", '
' ); } }); window.REBELMOUSE_STDLIB.onElementInViewport({ selector: ".scroll-post .widget", threshold: 50, oneTime: true, onIntersect: function (entry) { var element = entry.target; var elId = element.getAttribute('elid'); if (elId) { var sidebar_ad_div=document.querySelector(".sidebar_sticky_parent:nth-last-child(2) .stick_in_parent"); sidebar_ad_div.innerHTML=""; var jsonVal = JSON.stringify({ post_id: elId }); let ad_div=document.createElement("div"); ad_div.dataset.targeting = jsonVal; ad_div.classList.add('htlad-Right_Rail_3', "advertisement"); sidebar_ad_div.append(ad_div) return; } }, });
});
window.REBELMOUSE_LOWEST_TASKS_QUEUE.push(function(){
const script = document.createElement("script"); script.src = "https://player.anyclip.com/anyclip-widget/lre-widget/prod/v1/src/lre.js"; script.async = true; script.setAttribute("id", "lre-player-widget"); script.setAttribute("pubname", "britco"); script.setAttribute("widgetname", "0011r00001onCeo_1182"); const holder = document.getElementById("lre-script-holder"); holder.parentElement.insertBefore(script, holder);
});
window.REBELMOUSE_LOWEST_TASKS_QUEUE.push(function(){
window.REBELMOUSE_STDLIB.loadExternalScript("https://widgets.outbrain.com/outbrain.js", function() {
REBELMOUSE_STDLIB.onElementInViewport({ selector: ".OUTBRAIN_placeholder", threshold: 200, oneTime: true, onIntersect: function(entry) { const item = entry.target; item.classList.add("OUTBRAIN"); window.OBR.extern.researchWidget(); } });
});
});
window.REBELMOUSE_LOWEST_TASKS_QUEUE.push(function(){
REBELMOUSE_STDLIB.onElementInViewport({ selector: ".outbrain_container:not(.outbrain-processed)", threshold: 700, oneTime: true, onIntersect: function(entry) { const item = entry.target; const obPostUrlEl = item .querySelector(".scroll-post .widget__headline-text");
let obPostUrl = ""; if(obPostUrlEl){ obPostUrl = obPostUrlEl.getAttribute("href"); }else{ return; }
item.classList.add("outbrain-processed"); var holder = item.querySelector(".outbrain_holder"); if(holder){ holder.classList.add("OUTBRAIN_placeholder"); holder.setAttribute("data-src", obPostUrl); }else{ item.insertAdjacentHTML( "beforeend", '
' ); } } });
});
window.REBELMOUSE_LOWEST_TASKS_QUEUE.push(function(){
function measureElement(entry){ var article = entry.target; if(article.offsetHeight){ article.style.containIntrinsicSize = article.offsetHeight+"px"; article.classList.add("post-measured"); } }
/*window.REBELMOUSE_STDLIB.onElementInViewport({ selector: ".post-splash-custom,.posts-custom", rootMargin: "-100px 0px -100px 0px", onNonIntersect: measureElement, onIntersect: measureElement });*/
});