Ukraine Bracing for Russia’s Renewed Assault on Kharkiv
Ukraine #Ukraine
Your daily briefing of everything you need to know
‘} const div=createElementWithHtml(‘div’,linkElement);div.classList.add(‘promo-link’);element.parentNode.insertBefore(div,element.nextSibling)} function insertElementHtml(element,id){if(!element){console.error(‘insertElementHtml: element is not a DOM node’);return} const div=createElementWithHtml(‘div’,document.getElementById(id).innerHTML);element.parentNode.insertBefore(div,element.nextSibling)} function createElementWithHtml(tag,html){const element=document.createElement(tag);element.innerHTML=html;return element} function checkSlideStart(){if(!slide_started)check_slide()} function removeEmbeddedTitles(){const embTIs=document.querySelectorAll(‘#v_article .embTI’);embTIs.forEach(element=>element.remove());work_editor()} function processMobilePromoLink(){if(!mobile_device||(xuaInfo.device!==’mobile’&&xuaInfo.device!==”))return;const promoLink=document.querySelector(‘.promo-link’);const newsletterSignup=document.getElementById(‘newsletterSignupHorizontal’);if(!promoLink){console.error(‘processMobilePromoLink: promoLink is not a DOM node’);return} if(!newsletterSignup){console.error(‘processMobilePromoLink: newsletterSignup is not a DOM node’);return} if(!promoLink.parentNode){console.error(‘processMobilePromoLink: promoLink.parentNode is not a DOM node’);return} promoLink.parentNode.insertBefore(newsletterSignup,promoLink.nextSibling)} function addReadMoreComponent(element){if(document.querySelectorAll(‘.read-more-embedded’).length===0&&document.getElementById(‘readMoreTopics’)){doFir.push(function(){jQuery.getJSON(‘https://d.newsweek.com/json/read-more-articles?article_id=1873750&article_link=ukraine-russia-attacks-kharkiv-kupiansk-1873750&article_category=World&source=by_parsely&article_keyword_related=795461&size=3&days_old=4d&return=html’,function(data){if(data!==undefined&&data.html.length>0){jQuery(‘#readMoreTopics’).html(data.html);insertElementHtml(element,’readMoreTopics’);jQuery(‘#readMoreTopics’).remove();let readmoreContainer=document.querySelector(‘.read-more-topics’);let categoryGtm=document.querySelector(‘body’).getAttribute(‘data-gtm-category’);let actionGtm=readmoreContainer.getAttribute(‘data-gtm-action’);let readmoreLinks=readmoreContainer.querySelectorAll(‘a’);setGtmEventLinks(readmoreLinks,categoryGtm,actionGtm)}})})}}