ANE Premieres Colorful “Sex Machine” Video

Img

Women in music have traditionally paved the way in which for mainstream discourse, with artists like Madonna, Lil’ Kim and so many extra setting the stage for the brand new regular of a once-taboo matter: sex. With the discharge of her new EP, 1-800-FANTASY, ANE has now entered the chat.

ANE’s title stands for A New Era, and that’s precisely what she’s serving along with her newest visible, “Sex Machine,” premiering immediately on PAPER. The monitor is the lead single on 1-800-FANTASY, which is essentially impressed by Lil’ Kim’s debut album, Hardcore. It is daring, sexual power projected as a reimagined basic R&B tune with the chew of ANE’s easy vocals.

“Most of my inspiration from this venture comes from a interval in my life [late 2019] once I was listening to quite a lot of feminine rappers, particularly Lil’ Kim’s first album,” ANE mentioned concerning the EP’s conception. “I believe quite a lot of that sexual confidence and angle expressed of their music was subconsciously popping out in my music however from my perspective, filtered by my lens and musical language.”

“Sex Machine” was produced by Malcolm Fong and options rapper Qu’ality, with a Luca Silveira-directed music video stuffed with shade and innuendo. Trickling water, popping gum and licked lollipops turn out to be the epitome of sensuality, giving a extra humorous twist to conventional shows of intercourse.

“The director and I wished the visuals for ‘Sex Machine’ to be inclusive, enjoyable, and light-hearted,” ANE mentioned. “We tried to embody the vibe of the music from completely different {couples}’ views as an alternative of my very own. Luca Silveira’s fashion of directing is comical, campy and ironic. It was a pleasure working with him and his crew.”

window.REBELMOUSE_TASKS_QUEUE.push(function(){

window.REBELMOUSE_STDLIB.loadExternalScript("//cdn.cookielaw.org/consent/182e0f14-967f-4555-8268-77414bf3e9ca-test/OtAutoBlock.js", function() {

});

});

window.REBELMOUSE_TASKS_QUEUE.push(function(){

let script = document.createElement("script");

script.src = "https://cdn.cookielaw.org/scripttemplates/otSDKStub.js"; script.dataset.domainScript = "182e0f14-967f-4555-8268-77414bf3e9ca-test";

document.head.appendChild(script);

window.OptanonWrapper = function OptanonWrapper() {};

});

window.REBELMOUSE_TASKS_QUEUE.push(function(){

window.REBELMOUSE_STDLIB.loadExternalScript("//cdn.unblockia.com/h.js", function() {

});

});

window.REBELMOUSE_TASKS_QUEUE.push(function(){

(function(win) {

var videoIframe = document.querySelectorAll(".rebellt-item .rm-shortcode iframe, .shortcode-media-youtube .rm-shortcode iframe")[0]; if (!videoIframe || (videoIframe.src||videoIframe.getAttribute('data-runner-src')).indexOf("//www.youtube.com/embed/") === -1) { return; }

console.log('we have YT iframe', videoIframe); // we need it to init yt api videoIframe.id = "trackYTvideo"; if (videoIframe.getAttribute('data-runner-src')) { videoIframe.setAttribute('data-runner-src', videoIframe.getAttribute("data-runner-src") + "&enablejsapi=1");

// not working properly with lazy loading videoIframe.src = videoIframe.getAttribute("data-runner-src") + "&enablejsapi=1"; videoIframe.removeAttribute("type"); videoIframe.removeAttribute("data-runner-src"); } else { videoIframe.src = videoIframe.src + "&enablejsapi=1"; }

// load youtube api var tag = document.createElement('script'); tag.src = "//www.youtube.com/iframe_api"; var firstScriptTag = document.getElementsByTagName('script')[0]; firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);

// init api var player; //function onYouTubeIframeAPIReady(event) { win.onYouTubeIframeAPIReady = function(event) { player = new YT.Player("trackYTvideo", { events: { 'onReady': onPlayerReady, 'onStateChange': onPlayerStateChange } }); }

// set events var pauseFlag = false, videoTitle = window.document.title; win.onPlayerReady = function(event) { // do nothing, no tracking needed console.log('_trackEvent', 'Loaded'); gtag("event", "video_loaded", { videoTitle: videoTitle }); } win.onPlayerStateChange = function (event) { // track when user clicks to Play if (event.data == YT.PlayerState.PLAYING) { gtag("event", "video_play", { videoTitle: videoTitle }); console.log('_trackEvent', 'Played'); pauseFlag = true; } // track when user clicks to Pause if (event.data == YT.PlayerState.PAUSED && pauseFlag) { gtag("event", "video_pause", { videoTitle: videoTitle }); console.log('_trackEvent', 'Paused'); pauseFlag = false; } // track when video ends if (event.data == YT.PlayerState.ENDED) { gtag("event", "video_finished", { videoTitle: videoTitle }); console.log('_trackEvent', 'Finished'); } }

})(window);

});

window.REBELMOUSE_TASKS_QUEUE.push(function(){

let element = document.querySelector(".main-menu-wrapper"); element && element.insertAdjacentHTML("beforebegin", '

');

element = document.querySelector(".sections-list__item--entertainment"); element && element.insertAdjacentHTML("beforeend", '

');

element = document.querySelector(".sections-list__item--fashion"); element && element.insertAdjacentHTML("beforeend", '

');

element = document.querySelector(".sections-list__item--break-the-internet"); element && element.insertAdjacentHTML("beforebegin", '

');

element = document.querySelector(".sections-list__item--care"); element && element.insertAdjacentHTML("beforeend", '

');

element = document.querySelector("li.main-menu-item.sections-list__item.sections-list__item--entertainment > a"); element && element.insertAdjacentHTML("beforeend", '');

element = document.querySelector("li.main-menu-item.sections-list__item.sections-list__item--fashion > a"); element && element.insertAdjacentHTML("beforeend", '');

if(document.querySelector('.sections-list__item--music')){ document.querySelector('.sections-list__item--music').remove(); } if(document.querySelector('.sections-list__item--film-tv')){ document.querySelector('.sections-list__item--film-tv').remove(); } if(document.querySelector('.sections-list__item--art')){ document.querySelector('.sections-list__item--art').remove(); } if(document.querySelector('.sections-list__item--entertainment-bp')){ document.querySelector('.sections-list__item--entertainment-bp').remove(); } if(document.querySelector('.sections-list__item--care-bp')){ document.querySelector('.sections-list__item--care-bp').remove(); } if(document.querySelector('.sections-list__item--fashion-bp')){ document.querySelector('.sections-list__item--fashion-bp').remove(); } if(document.querySelector('.sections-list__item--music-bp')){ document.querySelector('.sections-list__item--music-bp').remove(); } //document.querySelector('.sections-list__item--rm-tests').remove(); //document.querySelector('.sections-list__item--test').remove(); if(document.querySelector('.sections-list__item--beauty')){ document.querySelector('.sections-list__item--beauty').remove(); } if(document.querySelector('.sections-list__item--lgbtq')){ document.querySelector('.sections-list__item--lgbtq').remove(); } if(document.querySelector('.sections-list__item--sex--dating')){ document.querySelector('.sections-list__item--sex--dating').remove(); } if(document.querySelector('.sections-list__item--black-lives-matter')){ document.querySelector('.sections-list__item--black-lives-matter').remove(); } if(document.querySelector('.sections-list__item--new-pride-homepage-stack')){ document.querySelector('.sections-list__item--new-pride-homepage-stack').remove(); }

element = document.querySelector("li.main-menu-item.sections-list__item.sections-list__item--care > a"); element && element.insertAdjacentHTML("beforeend", '');

const existCondition = setInterval(() => { if (document.getElementById("main-menu")) { console.log("executed and waiting12"); clearInterval(existCondition); document.querySelector(".main-menu-wrapper") .insertAdjacentHTML("beforeend", '

'); } }, 500);

element = document.querySelector(".sections-list__item--home"); element && element.remove();

element = document.querySelector(".sections-list__item--extreme"); element && element.remove(); element = document.querySelector(".sections-list__item--nightlife"); element && element.remove(); element = document.querySelector(".sections-list__item--famous-people"); element && element.remove(); element = document.querySelector(".sections-list__item--tech"); element && element.remove(); element = document.querySelector(".sections-list__item--internet-culture"); element && element.remove(); element = document.querySelector(".sections-list__item--nsfw"); element && element.remove(); element = document.querySelector(".sections-list__item--takeover"); element && element.remove(); element = document.querySelector(".sections-list__item--transformation"); element && element.remove(); element = document.querySelector(".sections-list__item--sports"); element && element.remove(); element = document.querySelector(".sections-list__item--opinion"); element && element.remove(); element = document.querySelector(".sections-list__item--paper-people"); element && element.remove(); element = document.querySelector(".sections-list__item--media"); element && element.remove(); element = document.querySelector(".sections-list__item--k-pop"); element && element.remove(); element = document.querySelector(".sections-list__item--fashion-month"); element && element.remove(); element = document.querySelector(".sections-list__item--beauty-bizarre"); element && element.remove(); element = document.querySelector(".sections-list__item--election-2020"); element && element.remove(); element = document.querySelector(".sections-list__item--books-zines"); element && element.remove(); element = document.querySelector(".sections-list__item--its-nice-to-laugh"); element && element.remove();

element = document.querySelector(".sections-list__item--america"); element && element.remove();

});

window.REBELMOUSE_TASKS_QUEUE.push(function(){

googletag.cmd.push(function() { jsonld = JSON.parse(document.querySelector('script[type="application/ld+json"]').innerText); /* ***** Responsive Mapping Definition ***** */

var sidebar_mapping = googletag.sizeMapping(). addSize([1024, 0], [[1, 1], [300, 600],[160, 600], 'fluid', [300, 250]]). //desktop addSize([768, 0], [[1, 1], 'fluid', [336, 280], [300, 250]]). //tablet addSize([360, 0], [[1, 1], 'fluid', [336, 280], [300, 250]]). //mobile build();

var slideshow_mapping = googletag.sizeMapping(). addSize([1023, 1], [[1, 1], [300, 600], 'fluid']). addSize([767, 1], [[1, 1], [300, 600], 'fluid']). addSize([100, 1], [[1, 1], [336, 280], [300, 250], 'fluid']). build();

var topsticky_mapping = googletag.sizeMapping(). addSize([1023, 1], [[970, 90],[728, 90], 'fluid']). addSize([767, 1], [[728, 90], 'fluid']). addSize([100, 1], [[320, 50],[300, 100], 'fluid']). build();

var mobile_sticky = googletag.sizeMapping(). addSize([1023, 1], [[1, 1], [728, 90], 'fluid']). addSize([767, 1], [[1, 1], [728, 90], 'fluid']). addSize([100, 1], [[1, 1], [320, 50], 'fluid']). build();

var map_leader_new = googletag.sizeMapping(). addSize([1023, 1], [[1, 1], [728, 90], 'fluid']). addSize([767, 1], [[1, 1], [728, 90], 'fluid']). addSize([100, 1], [[1, 1], [300, 250], [320,50],[300, 100], 'fluid']). build();

var map_leader = googletag.sizeMapping(). addSize([1023, 1], [[1, 1], [728, 90], [970, 250], 'fluid']). addSize([767, 1], [[1, 1], [728, 90], 'fluid']). addSize([100, 1], [[1, 1], [300, 250], [320,50],[300, 100], 'fluid']). build();

var map_leader_sticky = googletag.sizeMapping(). addSize([1023, 1], [[1, 1], [728, 90], 'fluid']). addSize([767, 1], [[1, 1], [728, 90], 'fluid']). addSize([100, 1], [[1, 1], [300, 250],[320,50],[300, 100], 'fluid']). build();

var map_rec = googletag.sizeMapping(). addSize([1023, 1], [[1, 1], [160, 600], [300, 600], [336, 280], [300, 250], 'fluid']). addSize([980, 1], [[1, 1], [160, 600], [300, 600], [336, 280], [300, 250], 'fluid']). addSize([800, 1], [[1, 1], [160, 600], [300, 600], [336, 280], [300, 250], 'fluid']). addSize([740, 1], [[1, 1], [160, 600], [300, 600], [336, 280], [300, 250], 'fluid']). addSize([640, 1], [[1, 1], [160, 600], [300, 600], [336, 280], [300, 250], 'fluid']). addSize([100, 1], [[1, 1], [160, 600], [300, 600], [336, 280], [336, 280], [300, 250], 'fluid']). addSize([0, 0], []). build(); /* ***** Ad Slot Definitions ***** */ if(document.getElementById('div-gpt-ad-wallpaper')){ var ad_wallpaper= googletag.defineSlot(adUnit, [3600, 1570], 'div-gpt-ad-wallpaper').setTargeting('pos', ['div-gpt-ad-wallpaper']).addService(googletag.pubads()); }

if(document.getElementById('div-gpt-ad-video')){ var ad_video= googletag.defineSlot('21863386856/video', [1, 1], 'div-gpt-ad-video').setTargeting('pos', ['div-gpt-ad-video']).addService(googletag.pubads()); }

if(document.getElementById('topbar-sticky-ad')){ var topbarsticky= googletag.defineSlot(adUnit, [[1, 1], [970, 90],[728, 90],[320, 50],[300, 100], 'fluid'], 'topbar-sticky-ad').setTargeting('pos', ['topbar-sticky-ad']).defineSizeMapping(topsticky_mapping).addService(googletag.pubads()); }

if(document.getElementById('below-title-ad')){ var lb1= googletag.defineSlot(adUnit, [[1, 1], [970, 250], [300, 250], [320,50],[300, 100], 'fluid'], 'below-title-ad').setTargeting('pos', ['below-title-ad']).defineSizeMapping(map_leader).addService(googletag.pubads()); }

if(document.getElementById('below-title-ad-1')){ var lb1_1= googletag.defineSlot(adUnit, [[1, 1], [728, 90], [300, 250], 'fluid'], 'below-title-ad-1').setTargeting('pos', ['below-title-ad-1']).defineSizeMapping(map_leader).addService(googletag.pubads()); } if(document.getElementById('below-title-ad-2')){ var lb1_2= googletag.defineSlot(adUnit, [[1, 1], [728, 90], [300, 250], 'fluid'], 'below-title-ad-2').setTargeting('pos', ['below-title-ad-2']).defineSizeMapping(map_leader).addService(googletag.pubads()); }

if(document.getElementById('div-gpt-ad-lb2')){ var lb2= googletag.defineSlot(adUnit, [[1, 1], [728, 90], [300, 250], 'fluid'], 'div-gpt-ad-lb2').setTargeting('pos', ['div-gpt-ad-lb2']).defineSizeMapping(map_leader_new).addService(googletag.pubads()); } if(document.getElementById('div-gpt-ad-lb2-1')){ var lb2_1= googletag.defineSlot(adUnit, [[1, 1], [728, 90], [300, 250], 'fluid'], 'div-gpt-ad-lb2-1').setTargeting('pos', ['div-gpt-ad-lb2-1']).defineSizeMapping(map_leader_new).addService(googletag.pubads()); } if(document.getElementById('div-gpt-ad-lb2-2')){ var lb2_2= googletag.defineSlot(adUnit, [[1, 1], [728, 90], [300, 250], 'fluid'], 'div-gpt-ad-lb2-2').setTargeting('pos', ['div-gpt-ad-lb2-2']).defineSizeMapping(map_leader_new).addService(googletag.pubads()); }

if(document.getElementById('sidebar-top-ad')){ var mpu1= googletag.defineSlot(adUnit, [[1, 1], [300, 250], [336, 280], [160, 600], [300, 600], 'fluid'], 'sidebar-top-ad').setTargeting('pos', ['sidebar-top-ad']).defineSizeMapping(map_rec).addService(googletag.pubads()); } if(document.getElementById('sidebar-top-ad-1')){ var mpu1_1= googletag.defineSlot(adUnit, [[1, 1], [300, 250], [336, 280], [160, 600], [300, 600], 'fluid'], 'sidebar-top-ad-1').setTargeting('pos', ['sidebar-top-ad-1']).defineSizeMapping(map_rec).addService(googletag.pubads()); } if(document.getElementById('sidebar-top-ad-2')){ var mpu1_2= googletag.defineSlot(adUnit, [[1, 1], [300, 250], [336, 280], [160, 600], [300, 600], 'fluid'], 'sidebar-top-ad-2').setTargeting('pos', ['sidebar-top-ad-2']).defineSizeMapping(map_rec).addService(googletag.pubads()); }

if(document.getElementById('div-gpt-ad-mpu2')){ var mpu2= googletag.defineSlot(adUnit, [[1, 1], [300, 250], [336, 280], [160, 600], [300, 600], 'fluid'], 'div-gpt-ad-mpu2').setTargeting('pos', ['div-gpt-ad-mpu2']).defineSizeMapping(map_rec).addService(googletag.pubads()); } if(document.getElementById('div-gpt-ad-mpu2-1')){ var mpu2_1= googletag.defineSlot(adUnit, [[1, 1], [300, 250], [336, 280], [160, 600], [300, 600], 'fluid'], 'div-gpt-ad-mpu2-1').setTargeting('pos', ['div-gpt-ad-mpu2-1']).defineSizeMapping(map_rec).addService(googletag.pubads()); } if(document.getElementById('div-gpt-ad-mpu2-2')){ var mpu2_2= googletag.defineSlot(adUnit, [[1, 1], [300, 250], [336, 280], [160, 600], [300, 600], 'fluid'], 'div-gpt-ad-mpu2-2').setTargeting('pos', ['div-gpt-ad-mpu2-2']).defineSizeMapping(map_rec).addService(googletag.pubads()); }

if(document.getElementById('div-gpt-ad-mpu3')){ var mpu3= googletag.defineSlot(adUnit, [[1, 1], [300, 250], [336, 280], [160, 600], [300, 600], 'fluid'], 'div-gpt-ad-mpu3').setTargeting('pos', ['div-gpt-ad-mpu3']).defineSizeMapping(map_rec).addService(googletag.pubads()); } if(document.getElementById('div-gpt-ad-mpu3-1')){ var mpu3_1= googletag.defineSlot(adUnit, [[1, 1], [300, 250], [336, 280], [160, 600], [300, 600], 'fluid'], 'div-gpt-ad-mpu3-1').setTargeting('pos', ['div-gpt-ad-mpu3-1']).defineSizeMapping(map_rec).addService(googletag.pubads()); } if(document.getElementById('div-gpt-ad-mpu3-2')){ var mpu3_2= googletag.defineSlot(adUnit, [[1, 1], [300, 250], [336, 280], [160, 600], [300, 600], 'fluid'], 'div-gpt-ad-mpu3-2').setTargeting('pos', ['div-gpt-ad-mpu3-2']).defineSizeMapping(map_rec).addService(googletag.pubads()); } if(document.getElementById('div-gpt-ad-interscroller')){ var interscroller= googletag.defineSlot(adUnit, [[1, 1],[400,533]], 'div-gpt-ad-interscroller').setTargeting('pos', ['div-gpt-ad-interscroller']).addService(googletag.pubads()); }

if(page_type != "homepage" && page_type != "homepagedemo"){ if(document.getElementById('div-gpt-ad-mobile_sticky')){ window.mobile_sticky= googletag.defineSlot(adUnit, [[1, 1], [728, 90], [320, 50], 'fluid'], 'div-gpt-ad-mobile_sticky').setTargeting('pos', ['div-gpt-ad-mobile_sticky']).defineSizeMapping(mobile_sticky).addService(googletag.pubads()); }

if(document.getElementById('div-gpt-ad-desktop_sticky')){ var desktop_sticky= googletag.defineSlot(adUnit, [[1, 1], [300, 250], [336, 280], [160, 600], [300, 600], 'fluid'], 'div-gpt-ad-desktop_sticky').setTargeting('pos', ['div-gpt-ad-desktop_sticky']).defineSizeMapping(map_rec).addService(googletag.pubads()); } }

/* ***** Custom Targeting and GPT Features Definitions ***** */

googletag.pubads().setTargeting('artticleid', [postId]).setTargeting('artticle', [page_type]).setTargeting('aid', [aid]).setTargeting('artticletitle', [atitle]);

googletag.pubads().setTargeting('section', [jsonld.articleSection]); googletag.pubads().setTargeting('NSFW', ["ane", "sex-machine", "sex", "music", "premiere", "music-video"] );

googletag.pubads().enableSingleRequest(); googletag.pubads().collapseEmptyDivs(); /* googletag.pubads().enableLazyLoad({ fetchMarginPercent: 400, renderMarginPercent: 200, mobileScaling: 2.0 }); */

googletag.enableServices();

var topbarstickyad=document.getElementById("topbar-sticky-ad"); if(topbarstickyad){ googletag.display('topbar-sticky-ad'); googletag.pubads().addEventListener('slotRenderEnded', function (e) { if (e.slot.getSlotElementId() == 'topbar-sticky-ad' && !e.isEmpty) { document.body.classList.add("stickytopad");topbarstickyad.style.display='block';document.querySelector('.topbarplaceholder').style.height=parseInt(document.querySelector('.rebelbar--fixed').offsetHeight)+'px'; setTimeout(function(){document.body.classList.remove("stickytopad");document.querySelector('.rebelbar__inner').style.display='block';document.querySelector('.topbarplaceholder').style.height="60px";},5000); } }); }

if(document.getElementById('below-title-ad')){googletag.display('below-title-ad');} if(document.getElementById('below-title-ad-1')){googletag.display('below-title-ad-1');} if(document.getElementById('below-title-ad-2')){googletag.display('below-title-ad-2');}

if(document.getElementById('div-gpt-ad-lb2')){googletag.display('div-gpt-ad-lb2');} if(document.getElementById('div-gpt-ad-lb2-1')){googletag.display('div-gpt-ad-lb2-1');} if(document.getElementById('div-gpt-ad-lb2-2')){googletag.display('div-gpt-ad-lb2-2');}

if(document.getElementById('sidebar-top-ad')){googletag.display('sidebar-top-ad');} if(document.getElementById('sidebar-top-ad-1')){googletag.display('sidebar-top-ad-1');} if(document.getElementById('sidebar-top-ad-2')){googletag.display('sidebar-top-ad-2');}

if(document.getElementById('div-gpt-ad-mpu2')){googletag.display('div-gpt-ad-mpu2');} if(document.getElementById('div-gpt-ad-mpu2-1')){googletag.display('div-gpt-ad-mpu2-1');} if(document.getElementById('div-gpt-ad-mpu2-2')){googletag.display('div-gpt-ad-mpu2-2');}

if(document.getElementById('div-gpt-ad-mpu3')){googletag.display('div-gpt-ad-mpu3');} if(document.getElementById('div-gpt-ad-mpu3-1')){googletag.display('div-gpt-ad-mpu3-1');} if(document.getElementById('div-gpt-ad-mpu3-2')){googletag.display('div-gpt-ad-mpu3-2');}

if(document.getElementById('div-gpt-ad-wallpaper')){googletag.display('div-gpt-ad-wallpaper');} if(document.getElementById('div-gpt-ad-video')){googletag.display('div-gpt-ad-video');} if(document.getElementById('div-gpt-ad-interscroller')){googletag.display('div-gpt-ad-interscroller');}

if(document.getElementById('div-gpt-ad-mobile_sticky')){googletag.display('div-gpt-ad-mobile_sticky');} if(document.getElementById('div-gpt-ad-desktop_sticky')){googletag.display('div-gpt-ad-desktop_sticky');}

googletag.pubads().addEventListener('slotRenderEnded', function(event) { var data = {} var slot = event.slot; data.name=slot.getSlotElementId(); data.pagemodifier=ad_unit_modifier; data.page=pageis; data.postid=postId; data.type=page_type; data.userid=window.ga.getAll()[0].get('clientId'); data.slotsize=event.size; data.isempty=event.isEmpty; data.title=atitle; data.device=navigator.userAgent;

if(data.isempty==true && data.name!='div-gpt-ad-wallpaper' && data.name!='div-gpt-ad-video'){document.querySelector('#'+data.name).parentNode.style.display='none';console.log('Ad Slot Rendered >>> '+data.name+' >>> '+data.isempty);}

gtag('event', data.name, { 'event_category': 'Ad Not Rendered >>> '+data.isempty, 'event_label': pageis+' >>> '+ad_unit_modifier, 'non_interaction': true });

});

var infinite_id_count=slideshow_id_count=0;

function createElementChangeListener(selector, callback) { const initializedNodes = new Set([]); document.querySelectorAll(selector).forEach((node) => { callback(node); initializedNodes.add(node); }); const mutationObserver = new MutationObserver(() => { const nodes = document.querySelectorAll(selector); nodes.forEach((node) => { if (!initializedNodes.has(node)) { callback(node); initializedNodes.add(node); } }); }); mutationObserver.observe(document.body, { childList: true, subtree: true,attributes: true}); }

createElementChangeListener('#adz iframe[width="1"] ',function(item){item.parentNode.style.display="none"});

createElementChangeListener('#topbar-sticky-adout iframe[width="1"] ',function(item){document.querySelector('.rebelbar--fixed').parentNode.classList.add('noneed')});

createElementChangeListener(".infinite-ad", function(ad_div){ googletag.cmd.push(function () { infinite_id_count++; let infinite_id = "infinite-ad-" + infinite_id_count; ad_div.setAttribute("id", infinite_id); ad_div.classList.add("proc"); if(window.innerWidth > 767){ googletag.defineSlot(adUnit, [ [1, 1], [728, 90], [336, 280],[300, 250], 'fluid' ], infinite_id).setTargeting('pos', [infinite_id]).addService(googletag.pubads()); } else{ googletag.defineSlot(adUnit, [[1, 1], [320, 50],[300, 250],[300,50], 'fluid'], infinite_id).setTargeting('pos', [infinite_id]).defineSizeMapping(slideshow_mapping).addService(googletag.pubads()); } googletag.display(infinite_id)})});

createElementChangeListener(".slideshow-ad", function(ad_div){ googletag.cmd.push(function () { slideshow_id_count++; let slideshow_id = "slideshow-ad-" + slideshow_id_count; ad_div.setAttribute("id", slideshow_id); ad_div.classList.add("proc");googletag.defineSlot(adUnit, [[1, 1], [336, 280], [300, 250], 'fluid'], slideshow_id).setTargeting('pos', [slideshow_id]).defineSizeMapping(slideshow_mapping).addService(googletag.pubads());googletag.display(slideshow_id)})});

let cnt=1;

function handleIntersection(entries) {

entries.map((entry) => { if (entry.isIntersecting) { sidebar_ad_repeat(entry.target) observer.unobserve(entry.target); } }); } window.IcreateElementChangeListener=function(selector, callback) { const initializedNodes = new Set([]);

document.querySelectorAll(selector).forEach((node) => { callback(node); initializedNodes.add(node); });

const mutationObserver = new MutationObserver(() => { const nodes = document.querySelectorAll(selector); nodes.forEach((node) => { if (!initializedNodes.has(node)) { callback(node); initializedNodes.add(node); } }); });

mutationObserver.observe(document.body, { childList: true, subtree: true, }); } const observer = new IntersectionObserver(handleIntersection,{ rootMargin: '0px 0px 400px 0px' }); IcreateElementChangeListener(".sidebar_sticky_parent",function(item){ observer.observe(item); })

function sidebar_ad_repeat(sidebar_div){

let ad_id="sidebar-ad-"+cnt; sidebar_div.querySelector(".sidebar_repeat_ad").id=ad_id; sidebar_div.style.height="1800px"; googletag.defineSlot(adUnit, [[1, 1], [300, 250], [300, 600], [160, 600], 'fluid'], ad_id).setTargeting('pos', [ad_id]).defineSizeMapping(sidebar_mapping).addService(googletag.pubads());

googletag.display(ad_id); cnt++;

sidebar_div.insertAdjacentHTML('afterend','

')

}

});

});

window.REBELMOUSE_TASKS_QUEUE.push(function(){

let visibleAds = new Set(); let previouslyVisibleAds = null;

let adObserver; let refreshIntervalID = 0;

(function() { document.addEventListener("visibilitychange", handleVisibilityChange, false); let observerOptions = { root: null, rootMargin: "0px", threshold: [0.0, 0.75] }; let adBox = document.querySelector('#div-gpt-ad-mobile_sticky'); if(adBox){ adBox.dataset.totalViewTime = 0; adBox.dataset.lastViewStarted = 0;

adObserver = new IntersectionObserver(intersectionCallback, observerOptions);

refreshIntervalID = window.setInterval(handleRefreshInterval, 1000); adObserver.observe(adBox); } })()

function handleVisibilityChange() { if (document.hidden) { if (!previouslyVisibleAds) { previouslyVisibleAds = visibleAds; visibleAds = []; previouslyVisibleAds.forEach(function(adBox) { updateAdTimer(adBox); adBox.dataset.lastViewStarted = 0; }); } } else { previouslyVisibleAds.forEach(function(adBox) { adBox.dataset.lastViewStarted = performance.now(); }); visibleAds = previouslyVisibleAds; previouslyVisibleAds = null; } }

function intersectionCallback(entries) { entries.forEach(function(entry) { let adBox = entry.target;

if (entry.isIntersecting) { if (entry.intersectionRatio >= 0.75) { adBox.dataset.lastViewStarted = entry.time; visibleAds.add(adBox); } if ((entry.intersectionRatio === 0.0) && (adBox.dataset.totalViewTime >= 30000)) { replaceAd(adBox);

} } else { visibleAds.delete(adBox); } }); }

function handleRefreshInterval() { let redrawList = [];

visibleAds.forEach(function(adBox) { let previousTime = adBox.dataset.totalViewTime; updateAdTimer(adBox);

});

} function updateAdTimer(adBox) { let lastStarted = adBox.dataset.lastViewStarted; let currentTime = performance.now();

if (lastStarted) { let diff = currentTime - lastStarted;

adBox.dataset.totalViewTime = parseFloat(adBox.dataset.totalViewTime) + diff; //console.log(parseFloat(adBox.dataset.totalViewTime) + diff) if(adBox.dataset.totalViewTime >= 30000){ //console.log(" Refreshing ad: " + adBox.id + " - visible for " + adBox.dataset.totalViewTime) googletag.display(adBox.id); adBox.dataset.totalViewTime = 0; adBox.dataset.lastViewStarted = 0; } } adBox.dataset.lastViewStarted = currentTime; } function replaceAd(adBox) { let visibleTime; visibleTime = adBox.dataset.totalViewTime //console.log(" Refreshing ad: " + adBox.id + " - visible for " + visibleTime) adBox.dataset.totalViewTime = 0; adBox.dataset.lastViewStarted = 0;

}

});

window.REBELMOUSE_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', '547949808911864'); fbq('init', '144279516353570'); fbq('track', 'PageView');

});

window.REBELMOUSE_TASKS_QUEUE.push(function(){

(function() {

var ta = document.createElement("script"); ta.type = "text/javascript"; ta.async = true; ta.className = "optanon-category-C0004";

ta.src = "https://analytics.tiktok.com/i18n/pixel/sdk.js?sdkid=BTLR5E1GUIG2OSBF1MN0";

var s = document.getElementsByTagName('script')[0];

s.parentNode.insertBefore(ta, s);

})();

});

window.REBELMOUSE_TASKS_QUEUE.push(function(){

function ChangeListener(t,n){const o=new Set([]);document.querySelectorAll(t).forEach(e=>{n(e),o.add(e)});const e=new MutationObserver(()=>{const e=document.querySelectorAll(t);e.forEach(e=>)});e.observe(document.body,{childList:!0,subtree:!0})}

ChangeListener('.infinite-scroller',function(i){ i.querySelectorAll('.mb-2').forEach(function(m){if(m.innerHTML==''){if(m.nextElementSibling){m.nextElementSibling.remove()}}}) });

window.onscroll = function (e) { if(window.scrollY>parseInt(screen.height*2)){document.querySelectorAll('.footer').forEach(function(f){f.classList.add('actzz')});}else{document.querySelectorAll('.footer').forEach(function(f){f.classList.remove('actzz')});}}

});

Leave a Reply

Your email address will not be published. Required fields are marked *