Skip to content
Search AI Powered

Latest Stories

NASTAD
Together We Know

How Implicit Bias Affects the Health of Black Gay Men

It's time to confront the very real inequities, writes Terrance Moore.

}); window.REBELMOUSE_ACTIVE_TASKS_QUEUE.push(function(){ REBELMOUSE_STDLIB.createElementChangeListener('.button-load-more', (item) => { item.addEventListener('click', ()=>{ setTracking('load_more','footer') }) }) }); window.REBELMOUSE_ACTIVE_TASKS_QUEUE.push(function(){ REBELMOUSE_STDLIB.createElementChangeListener('.keep_reading_link', (item) => { var link_text = item.getAttribute('aria-label'); var link_url = item.href; item.addEventListener('click', ()=>{ setTracking('keep_reading','',link_text,link_url) }) }) }); window.REBELMOUSE_ACTIVE_TASKS_QUEUE.push(function(){ REBELMOUSE_STDLIB.createElementChangeListener('.post-author__name', (item) => { var link_text =item.innerText; var link_url = item.href; item.addEventListener('click', ()=>{ setTracking('author_profile_click','',link_text,link_url) }) }) REBELMOUSE_STDLIB.createElementChangeListener('.full_bio_n_social .full_bio', (item) => { var link_url = item.href; item.addEventListener('click', ()=>{ setTracking('author_seefullbio','author_overlay','',link_url) }) }) REBELMOUSE_STDLIB.createElementChangeListener('.social-author__name', (item) => { var link_text =item.innerText; var link_url=item.closest('.widget').querySelector('.widget__headline-text').href; item.addEventListener('click', ()=>{ setTracking('author_profile_click','',link_text,link_url) }) }) }); window.REBELMOUSE_ACTIVE_TASKS_QUEUE.push(function(){ REBELMOUSE_STDLIB.createElementChangeListener('.search__wrapper__inner .search-widget__submit', (item) => { item.addEventListener('click', ()=>{ var link_text = document.querySelector('.search__wrapper__inner .search-widget__input').value; setTracking('search','search_popup',link_text, '', '', '', '') }) }) REBELMOUSE_STDLIB.createElementChangeListener('.search-detail .search-widget__submit', (item) => { item.addEventListener('click', ()=>{ var link_text = document.querySelector('.search-detail .search-widget__input').value; setTracking('search','searchpage',link_text, '', '', '', '') }) }) }); window.REBELMOUSE_ACTIVE_TASKS_QUEUE.push(function(){ let search_page = document.querySelector(".search-page"); if(search_page){ var name = "searchpage_click"; var module_type = "relevance"; var ai_mode= "non-ai"; var click_type; // headline clicks search_page.querySelectorAll('.widget__headline-text').forEach((link) => { link.addEventListener('click', () => { click_type = "headline"; var link_text = link.getAttribute('aria-label'); var link_url = link.href; setTracking(name, '', link_text, link_url, module_type, ai_mode, click_type) }) }) // image clicks search_page.querySelectorAll('.widget__head a').forEach((link) => { link.addEventListener('click', () => { click_type = "image"; var link_text = link.getAttribute('aria-label'); var link_url = link.href; setTracking(name, '', link_text, link_url, module_type, ai_mode, click_type) }) }) // section clicks search_page.querySelectorAll('.widget__section').forEach((link) => { link.addEventListener('click', () => { click_type = "section"; var link_text = link.textContent; var link_url = link.href; setTracking(name, '', link_text, link_url, module_type, ai_mode, click_type) }) }) // author clicks search_page.querySelectorAll('.social-author__name').forEach((link) => { link.addEventListener('click', () => { click_type = "author"; var link_text = link.textContent; var link_url = link.href; setTracking(name, '', link_text, link_url, module_type, ai_mode, click_type) }) }) } }); window.REBELMOUSE_ACTIVE_TASKS_QUEUE.push(function(){ let notfound_page = document.querySelector(".notfound-page"); if(notfound_page){ var name = "404page_click"; var module_type = "latest"; var ai_mode= "non-ai"; var click_type; // headline clicks notfound_page.querySelectorAll('.widget__headline-text').forEach((link) => { link.addEventListener('click', () => { click_type = "headline"; var link_text = link.getAttribute('aria-label'); var link_url = link.href; setTracking(name, '', link_text, link_url, module_type, ai_mode, click_type) }) }) // image clicks notfound_page.querySelectorAll('.widget__head a').forEach((link) => { link.addEventListener('click', () => { click_type = "image"; var link_text = link.getAttribute('aria-label'); var link_url = link.href; setTracking(name, '', link_text, link_url, module_type, ai_mode, click_type) }) }) // section clicks notfound_page.querySelectorAll('.widget__section').forEach((link) => { link.addEventListener('click', () => { click_type = "section"; var link_text = link.textContent; var link_url = link.href; setTracking(name, '', link_text, link_url, module_type, ai_mode, click_type) }) }) // author clicks notfound_page.querySelectorAll('.social-author__name').forEach((link) => { link.addEventListener('click', () => { click_type = "author"; var link_text = link.textContent; var link_url = link.href; setTracking(name, '', link_text, link_url, module_type, ai_mode, click_type) }) }) // home clicks var goToHomeElement = document.querySelector('.btn.go-to-home'); console.log(goToHomeElement); if (goToHomeElement) { goToHomeElement.addEventListener('click', () => { click_type = "home"; var link_text = goToHomeElement.textContent; var link_url = goToHomeElement.href; setTracking(name, '', link_text, link_url, module_type, ai_mode, click_type) }) } } }); window.REBELMOUSE_ACTIVE_TASKS_QUEUE.push(function(){ googletag.cmd.push(function() { var topbarstickyad = document.getElementById("topbar-sticky-ad"); if(topbarstickyad){ let topAdPlaceholderEL = document.querySelector(".topbarplaceholder"); // topAdPlaceholderEL.classList.add("stickytopad"); googletag.pubads().addEventListener("impressionViewable", (event) => { const slot = event.slot; if (slot) { setTimeout(() => { // topAdPlaceholderEL.classList.remove("stickytopad"); }, "2000"); } }); } googletag.enableServices(); }); }); window.REBELMOUSE_ACTIVE_TASKS_QUEUE.push(function(){ var _throttle; const topbar_sticky_wrapper= document.querySelector('.topbar_sticky_wrapper'); const throttle = (callback, time) => { if (_throttle) return; _throttle = true; setTimeout(() => { callback(); _throttle = false; }, time); } window.addEventListener('scroll',()=>{ throttle(topbar_position_check,100); }); var sticky_scroll_distance=window.innerHeight; function topbar_position_check(event){ var current_position=topbar_sticky_wrapper.getBoundingClientRect().top; if(current_position < -sticky_scroll_distance){ document.body.classList.add('topbar-sticked') } else { document.body.classList.remove('topbar-sticked') } } }); window.REBELMOUSE_ACTIVE_TASKS_QUEUE.push(function(){ REBELMOUSE_STDLIB.createElementChangeListener('.hamburger .dropdown-arrow',(item)=>{ item.addEventListener('click', () => { item.parentElement.classList.toggle('active'); }) }) }); window.REBELMOUSE_ACTIVE_TASKS_QUEUE.push(function(){ const closeFooterAdBtn = document.querySelector('.footer_ad-btn'); if(closeFooterAdBtn){ closeFooterAdBtn.addEventListener('click', ()=>{ document.querySelector('.footer_ad')?.classList.add('hidden'); }) } });