Site icon DIAL NEWS

Pausa para o cinema na sexta-feira: “While You Were Gone” de Jennifer Weber

[ad_1]

VÁ MAIS FUNDO
MOSTRE MENOS

window.REBELMOUSE_LOWEST_TASKS_QUEUE.push(function(){

window.REBELMOUSE_STDLIB.loadExternalScript("https://htlbid.com/v3/dancemagazine.com/htlbid.js ", function() {

});

});

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', '509477952725217'); fbq('track', 'PageView');

});

window.REBELMOUSE_LOWEST_TASKS_QUEUE.push(function(){

window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);}

if(utmCampaignData) { gtag('event', eventName, { 'send_to': 'UA-2506277-21', 'campaignName': utmCampaignData.campaignName, 'campaignSource': utmCampaignData.campaignSource, 'campaignMedium': utmCampaignData.campaignMedium, 'campaignContent': utmCampaignData.campaignContent, });

}

});

window.REBELMOUSE_LOWEST_TASKS_QUEUE.push(function(){

var $breaking = document.querySelector('.posts_breaking-section') var $trending = document.querySelector('.posts_trending-section')

if ($breaking && $breaking.querySelector('.posts_custom')){ $breaking.style.display='block' $breaking.style.minHeight="65px" } else if ($trending && $trending.querySelector('.posts_custom')){ $trending.style.display='block' $trending.style.minHeight="65px" }

});

window.REBELMOUSE_LOWEST_TASKS_QUEUE.push(function(){

window.REBELMOUSE_STDLIB.loadExternalScript("https://cdn.userway.org/widget.js", function() {

});

});

window.REBELMOUSE_LOWEST_TASKS_QUEUE.push(function(){

(function () { var mcPopup = { date: false, init: function() { // return if user already subscribed or user has not closed popup if (mcPopup.getCookie('MCPopupSubscribed')) return;

// get cookie using our custom function mcPopup.date = new Date(); var currentTime = mcPopup.date.getTime(); // current time in milliseconds var popupExpiryDate = localStorage.getItem('MCPopupClosed');

if (popupExpiryDate) { // remove local if cookie is removed if (!mcPopup.getCookie('MCPopupClosed')) { localStorage.removeItem('MCPopupClosed'); } else { // if popup expired, remove cookie + local storage if (popupExpiryDate < currentTime) { localStorage.removeItem('MCPopupClosed'); document.cookie="MCPopupClosed=yes;path=/;expires=Thu, 01 Jan 1970 00:00:00 UTC;"; } } } else { mcPopup.updateMcCookieExpiration(currentTime); } }, getCookie: function(name) { var cookieArr = document.cookie.split(";"); for(var i = 0; i < cookieArr.length; i++) { var cookiePair = cookieArr[i].split("="); if (name == cookiePair[0].trim()) { return decodeURIComponent(cookiePair[1]); } } return null; }, updateMcCookieExpiration: function(currentTime) { var expiryAmt = 1209600000; // 2 weeks var expiryTime = currentTime + expiryAmt; mcPopup.date.setTime(expiryTime); localStorage.setItem('MCPopupClosed', expiryTime); document.cookie="MCPopupClosed=yes;path=/;expires=" + mcPopup.date; } } mcPopup.init(); })(); }); window.REBELMOUSE_LOWEST_TASKS_QUEUE.push(function(){ document.querySelector('.all-content-wrapper').className += " with-small-header"; }); window.REBELMOUSE_LOWEST_TASKS_QUEUE.push(function(){ function isElementInViewport(el, extraOffsetTop, extraOffsetBottom) { var extraOffsetTop = extraOffsetTop || 0; var extraOffsetBottom = extraOffsetBottom || 0; var top = el.offsetTop; var height = el.offsetHeight; while(el.offsetParent) { el = el.offsetParent; top += el.offsetTop; } var topEdge = top - extraOffsetTop; var bottomEdge = top + height + extraOffsetBottom; var topScreenEdge = window.pageYOffset; var bottomScreenEdge = window.pageYOffset + window.innerHeight; return (topEdge < bottomScreenEdge && topEdge > topScreenEdge) || // top edge in screen (bottomEdge < bottomScreenEdge && bottomEdge > topScreenEdge) || // bottom edge in screen (topEdge < topScreenEdge && bottomEdge > bottomScreenEdge); // belly in screen }

function reInitAds() { document.querySelectorAll(".infinite-scroll-posts .widget:not(.htl-ad-proc)").forEach(widget => {

if (isElementInViewport(widget)) {

widget.classList.add("htl-ad-proc"); post_id= widget.getAttribute("elid"); var itemSection = ""; if (widget.querySelector(".widget__section")) { itemSection=widget.querySelector(".widget__section").innerText; }

console.log(" updating htlbid for post_id: "+ post_id); htlbid.cmd.push(function () { htlbid.setTargeting('env', 'production'); htlbid.setTargeting('post_id', post_id);

}); } }); } function Ithrottle (callback, limit) { var wait = false; return function () { if (!wait) { callback.apply(null, arguments); wait = true; setTimeout(function () { wait = false; }, limit); } } }

window.addEventListener("scroll", Ithrottle(function(){

reInitAds();

},200));

});

[ad_2]

Exit mobile version