1function setEpaperLocalDate(){var days=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];var months=["January","February","March","April","May","June","July","August","September","October","November","December"];var now=new Date;var day=days[now.getDay()];var month=months[now.getMonth()];var date=now.getDate().toString().padStart(2,"0");var year=now.getFullYear();var formattedDate=day+", "+date+" "+month+" | ";if(jQuery(".ie-hmb-date").length){jQuery(".ie-hmb-date").text(formattedDate)}}if(window.innerWidth<767){document.querySelectorAll(".dotCarousel").forEach(carousel=>{const dots=carousel.closest(".carousel-block").querySelectorAll(".ieg-dots .ieg-dots_item");dots.forEach((d,i)=>d.classList.toggle("active",i===0));carousel.addEventListener("scroll",()=>{const idx=Math.round(carousel.scrollLeft/(carousel.scrollWidth/dots.length));dots.forEach((d,i)=>d.classList.toggle("active",i===idx))})})}const navigationReferences={L1:{home:"?ref=l1_home",section:"?ref=l1_section",article:"?ref=l1_article",live_blog:"?ref=l1_lb"},L2:{home:"?ref=l2_home",section:"?ref=l2_section",article:"?ref=l2_article",live_blog:"?ref=l2_lb"},Hamburger:{home:"?ref=bun_home",section:"?ref=bun_section",article:"?ref=bun_article",live_blog:"?ref=bun_lb"},NewHamburger:{home:"?ref=hamburger",section:"?ref=hamburger",article:"?ref=hamburger",live_blog:"?ref=hamburger"},Breadcrumb:{section:"?ref=breadcrumb_section",article:"?ref=breadcrumb_article",live_blog:"?ref=breadcrumb_lb"},weather:{home:"?ref=header"}};function getNavigationReference(navType){if("undefined"!==typeof ie_ref_data||undefined!==typeof ie_ref_data.page_type){const pageType=ie_ref_data.page_type;if(navigationReferences[navType]&&navigationReferences[navType][pageType]){return navigationReferences[navType][pageType]}}return""}function applyTrackingById(elementId,navType){if(undefined!==elementId&&""!==navType){const targetElement=document.getElementById(elementId);if(null!==targetElement&&undefined!==targetElement){const refValue=getNavigationReference(navType);if(""!==refValue){targetElement.querySelectorAll("a").forEach(function(link){const originalHref=link.getAttribute("href");if(link.classList.contains("sso-link")){return}if(originalHref&&!originalHref.includes(refValue)){const separator=originalHref.includes("?")?"&":"?";const updatedHref=originalHref+separator+refValue.replace(/^[?&]/,"");link.setAttribute("href",updatedHref)}})}}else{console.warn(`Element with ID '${elementId}' not found.`)}}}const type_Hamburger=jQuery(window).width()>767?"Hamburger":"NewHamburger";const trackingData=[{id:"navbar",type:"L1"},{id:"section-nav",type:type_Hamburger},{id:"ie-breadcrumb",type:"Breadcrumb"},{id:"section-navbar",type:"L1"},{id:"o-weather",type:"weather"}];trackingData.forEach(({id,type})=>applyTrackingById(id,type));let trackingrefData=[{id:"HP_NEWS_BREAKING",type:"breaking_hp"},{id:"HP_TOP_NEWS",type:"hometop_hp"},{id:"HP_LATEST_NEWS",type:"latestnews_hp"},{id:"HP_ENTERTAINMENT_NAV",type:"entertainment_hp"},{id:"HP_ENTERTAINMENT",type:"entertainment_hp"},{id:"HP_BUSINESS",type:"business_hp"},{id:"HP_EXPLAINED",type:"explained_hp"},{id:"HP_SPORTS",type:"sports_hp"},{id:"HP_LATEST_VIDEO",type:"videos_hp"},{id:"HP_TECHNOLOGY",type:"technology_hp"},{id:"HP_TRENDING",type:"trending_hp"},{id:"HP_EDUCATION",type:"education_hp"},{id:"OMIDYAR_HOME_EVENTS",type:"omidyar_hp"},{id:"HP_OPINION",type:"opinion_hp"},{id:"HP_EDITORIALS",type:"editorial_hp"},{id:"HP_LIFESTYLEÂ ",type:"lifestyle_hp"},{id:"HP_WORLD",type:"world_hp"},{id:"HP_EXPRESS_RESEARCH",type:"research_hp"},{id:"HP_BOOKS",type:"books_hp"},{id:"HP_NORTH_EAST_INDIA",type:"northeast_hp"},{id:"HP_PARENTING",type:"parenting_hp"},{id:"HP_HEALTH_SPECIALS",type:"health_hp"},{id:"HP_SCIENCE",type:"science_hp"},{id:"HP_HOROSCOPE",type:"horoscope_hp"},{id:"MYEXPRESS_DESKTOP",type:"myie_hp"},{id:"HP_VISUAL_STORIES",type:"visualstories_hp"},{id:"HP_CARTOON",type:"cartoon_hp"},{id:"HP_YOUR_WEEKEND_READS",type:"premium_hp"},{id:"HP_MOVIE_RATINGS",type:"ratings_hp"},{id:"HP_AUDIO",type:"audio_hp"},{id:"HP_TOPNEWS",type:"newlist_hp"},{id:"HP_GAME",type:"crosswords_hp"},{id:"HP_CITIES",type:"cities_hp"},{id:"HP_OTHERS_READ",type:"others_reading_hp"},{id:"HP_MUST_READ",type:"must_read_hp"},{id:"HP_LEGAL",type:"legalnews_hp"},{id:"HP_INVESTIGATION",type:"investigations_hp"},{id:"HP_30_READS",type:"30secreads_hp"},{id:"HP_EPAPER",type:"epaper_hp"}
1,{id:"HP_TOP_PODCAST",type:"podcast_hp"}];var winWidth=jQuery(window).width();jQuery(document).ready(function($){if("undefined"!==typeof ie_ref_data&&"undefined"!==typeof ie_ref_data.page_type&&"undefined"!==typeof ie_ref_data.is_admin&&ie_ref_data.is_admin==="admin"&&ie_ref_data.page_type==="home"){trackingrefData=[]}trackingrefData.forEach(function(item){$('[id*="'+item.id+'"].event-track-class').find("a[href]").each(function(){var $link=$(this);var href=$link.attr("href");if(!href||href.startsWith("javascript")||href.indexOf("ref=")!==-1){return}var separator=href.indexOf("?")!==-1?"&":"?";$link.attr("href",href+separator+"ref="+item.type)})});jQuery("body").on("click",".event-track-class",function(){var elementId=jQuery(this).attr("id");if(!elementId)return;var article_href=jQuery(this).attr("href")||"";if(typeof gtag==="function"){gtag("event","click",{eventCategory:elementId,eventLabel:article_href})}});const cityblockel=document.querySelector(".city-block-container");if(cityblockel){cityblockel.classList.remove("city-block-container")}if(0<jQuery(".ipl-live-widget").length){createIplLiveScoreUpdates()}setEpaperLocalDate();jQuery("#m-menu-global li .m-arrow-link").click(function(){jQuery(this).closest("li").toggleClass("arrow-move");var checkElement=jQuery(this).next();if(checkElement.is("ul")&&checkElement.is(":visible")){checkElement.slideUp("normal")}if(checkElement.is("ul")&&!checkElement.is(":visible")){jQuery("#m-menu-global li > ul:visible").slideUp("normal");checkElement.slideDown("normal")}});function transformControl(ele){jQuery(ele).css({transform:"translate3d(0px, 0px, 0px)"})}if(winWidth>768){var topPos=jQuery(".section-nav-wrap").offset().top;if(document.body.classList.contains("admin-bar")&&document.getElementById("wpadminbar")){console.log("The sticky header is disabled when the WP Admin Bar is present.")}else{jQuery(window).scroll(function(){var scTop=jQuery(this).scrollTop();if(scTop>=topPos){jQuery("body").addClass("scrollD")}else{jQuery("body").removeClass("scrollD")}})}}var lastScrollTop=0;if(winWidth<767){jQuery(window).scroll(function(event){var st=jQuery(this).scrollTop();var $mainNav=jQuery(".ie-mainnav");var headerTopPosition=$mainNav.offset().top;var navHeight=$mainNav.outerHeight()+2;if(st>200){if(st>lastScrollTop){jQuery("body").addClass("scrollTopHeader");jQuery(".g-in-header").css({transform:"translate3d(0px, "+-(headerTopPosition+navHeight+10)+"px, 0px)"})}else{jQuery("body").removeClass("scrollTopHeader");transformControl(".g-in-header")}}else{jQuery("body").removeClass("scrollTopHeader");transformControl(".g-in-header")}lastScrollTop=st})}jQuery(".close-btn").on("click",function(){jQuery(".campaign-band").hide();jQuery(".g-header.body-top-gap").removeClass("body-top-gap-bind")});let isSection=jQuery("#section-nav");jQuery(document).on("click",".hamburge-close",function(){isSection.hide()});jQuery(document).on("keydown",".ie-m-search-btn",function(e){if(e.key==="Enter"||e.keyCode===13){jQuery(".m-hamburger-menu").show();jQuery(".ie-m-search-btn button, .menu-search button").attr("aria-expanded","true");jQuery(".ie-hm-site-logos h2 a, .ie-hm-site-logos a").focus()}});jQuery(".toggle-menu").on("click",function(){jQuery("#section-nav").show();jQuery("body").addClass("openMenu");if(jQuery(window).width()>767){jQuery(".desk-lhs .hamburge-close").focus()}else{jQuery(".menu-search button").attr("aria-expanded","true");jQuery(".ie-hm-site-logos h2 a").focus()}jQuery("body").css({overflow:"hidden","margin-right":"17px"})});jQuery(".hamburge-close").on("click",function(){closeMenu()});jQuery(".overlay-header").on("click",function(){closeMenu()});var fifaTab=jQuery(".table-tabs-fifa li");if(fifaTab.length>0){fifaTab.on("click",function(){jQuery(this).siblings().removeClass("active");jQuery(this).addClass("active");jQuery(this).closest(".fifa").find(".fifa-teams-26").hide();const tab=jQuery(this).attr("rel");jQuery(this).closest(".ie-fixture.fifa").find("#"+tab).show();fifaTab.attr("aria-expanded","false");jQuery(this).attr("aria-expanded","true")})}jQuery(document).on("keydown",function(e){if(e.key==="Escape"){const openSubmenu=jQuery(".item-set.open-menu");const bodyClass=jQuery("body");if(isSection.is(":visible")===true&&isSection.length>0){if(openSubmenu.length>0){const button=openSubmenu.find(".sub-btn");setTimeout(function(){button.focus()},100);jQuery(".sub-btn").attr("aria-expanded",false);jQuery("body").css({overflow:"","margin-right":""});openSubmenu.removeClass("open-menu")}else{const menu=jQuery(".m-hamburger-menu");if(menu.is(":visible")){menu.hide();bodyClass.removeClass("openMenu");jQuery(".sub-btn").attr("aria-expanded",false)}}jQuery("body").css({overflow:"","margin-right":""});if(jQuery(window).width()>767){jQuery(".hamburger_btn,.menu-search .hamburger-menu").focus()}else{jQuery(".ie-m-search-btn button").focus();jQuery("body").removeClass("m-overflow")}}}});function closeMenu(){jQuery("#section-nav").hide();jQuery("body").removeClass("openMenu");jQuery("body").css({overflow:"","margin-right":""});
1jQuery(".menu-search button").attr("aria-expanded","false")}var windowWidth=jQuery(window).width();var breakingSlider=jQuery(".breaking-slider");if(windowWidth>820&&breakingSlider.length){let prevSlide=0;breakingSlider.slick({infinite:false,slidesToShow:1,slidesToScroll:1,autoplay:false,dots:true,arrows:true,accessibility:true,focusOnChange:false,adaptiveHeight:true}).on("beforeChange",function(e,slick,currentSlide,nextSlide){prevSlide=currentSlide}).on("afterChange",function(e,slick,currentSlide){const isForward=currentSlide>prevSlide;const slidesToShow=Math.floor(slick.options.slidesToShow);let focusIndex=isForward?currentSlide+slidesToShow-1:currentSlide;focusIndex=Math.min(focusIndex,slick.slideCount-1);const $slide=jQuery(slick.$slides[focusIndex]).not(".slick-cloned");if(!$slide.length)return;const $focusable=$slide.find('a, button, input, [tabindex]:not([tabindex="-1"])').filter(":visible").first();if($focusable.length){$focusable.focus()}else{$slide.attr("tabindex","-1").focus()}});breakingSlider.attr({role:"region","aria-roledescription":"carousel","aria-label":"Breaking carousel"})}let prevSlide=0;const horoscopeSlider=jQuery(".horoscope-slider");var slideShow="";if(windowWidth<768){slideShow=1.2}else if(windowWidth>767&&windowWidth<1024){slideShow=3.3}else{slideShow=4.2}var horoslidesCount=document.body.classList.contains("ieGutterTemplate")?3.7:slideShow;if(horoscopeSlider.length){horoscopeSlider.slick({infinite:false,slidesToShow:horoslidesCount,slidesToScroll:1,autoplay:false,dots:false,arrows:true,accessibility:true,focusOnChange:false,responsive:[{breakpoint:767,settings:{slidesToShow:1.2,slidesToScroll:1,dots:true,arrows:false}}]}).on("beforeChange",function(e,slick,currentSlide,nextSlide){prevSlide=currentSlide}).on("afterChange",function(e,slick,currentSlide){const isForward=currentSlide>prevSlide;const slidesToShow=Math.floor(slick.options.slidesToShow);let focusIndex=isForward?currentSlide+slidesToShow-1:currentSlide;focusIndex=Math.min(focusIndex,slick.slideCount-1);const $slide=jQuery(slick.$slides[focusIndex]).not(".slick-cloned");if(!$slide.length)return;const $focusable=$slide.find('a, button, input, [tabindex]:not([tabindex="-1"])').filter(":visible").first();if($focusable.length){$focusable.focus()}else{$slide.attr("tabindex","-1").focus()}});horoscopeSlider.attr({role:"region","aria-roledescription":"carousel","aria-label":"Horoscopes carousel"})}if(windowWidth>767){var slidesCount=document.body.classList.contains("ieGutterTemplate")?3.7:4.2;const visualSlider=jQuery(".visual-stories-slider");if(visualSlider.length){visualSlider.slick({infinite:false,slidesToShow:slidesCount,slidesToScroll:1,autoplay:false,dots:false,arrows:true,accessibility:true,focusOnChange:false,responsive:[{breakpoint:990,settings:{slidesToShow:1,slidesToScroll:1,dots:true,arrows:false}}],responsive:[{breakpoint:980,settings:{slidesToShow:2.5,slidesToScroll:1,dots:false,arrows:true}}]}).on("beforeChange",function(e,slick,currentSlide,nextSlide){prevSlide=currentSlide}).on("afterChange",function(e,slick,currentSlide){const isForward=currentSlide>prevSlide;const slidesToShow=Math.floor(slick.options.slidesToShow);let focusIndex=isForward?currentSlide+slidesToShow-1:currentSlide;focusIndex=Math.min(focusIndex,slick.slideCount-1);const $slide=jQuery(slick.$slides[focusIndex]).not(".slick-cloned");if(!$slide.length)return;const $focusable=$slide.find('a, button, input, [tabindex]:not([tabindex="-1"])').filter(":visible").first();if($focusable.length){$focusable.focus()}else{$slide.attr("tabindex","-1").focus()}});visualSlider.attr({role:"region","aria-roledescription":"carousel","aria-label":"Visual carousel"})}}if(windowWidth>767){if(jQuery("body").hasClass("ieGutterTemplate")){equalHeightPerGroup(".business-33 .o-common-cat",2,2)}else{equalHeightPerGroup(".business-33 .o-common-cat",3,3)}}const visualSliderMobile=jQuery(".visual-slider-m");(function($){function initVisualSlider(){if($(window).width()>767){return}const $track=$(".visual-stories-slider");if($track.length===0)return;const $slides=$track.find(".story-card");const totalSlides=$slides.length;if(totalSlides<=1){if(totalSlides===1)$slides.addClass("stack-1");return}$track.siblings(".pagination-dots").remove();const $dotsContainer=$('<div class="pagination-dots"></div>');$track.after($dotsContainer);for(let i=0;i<totalSlides;i++){$dotsContainer.append('<div class="dot"></div>')}const $dots=$dotsContainer.find(".dot");let currentStep=0;function updateSlider(){$slides.removeClass("stack-1 stack-2 stack-3 swiped-left");
1$slides.each(function(index){if(index<currentStep){$(this).addClass("swiped-left")}});const slidesToActivate=[currentStep,currentStep+1,currentStep+2].filter(i=>i<totalSlides);$.each(slidesToActivate,function(stackIndex,slideIndex){$slides.eq(slideIndex).addClass(`stack-${stackIndex+1}`)});$dots.removeClass("active").eq(currentStep).addClass("active")}updateSlider();let touchStartX=0;let touchEndX=0;const swipeThreshold=40;$track.on("touchstart",function(e){touchStartX=e.originalEvent.changedTouches[0].screenX});$track.on("touchend",function(e){touchEndX=e.originalEvent.changedTouches[0].screenX;handleSwipe()});function handleSwipe(){const swipeDistance=touchStartX-touchEndX;if(Math.abs(swipeDistance)>swipeThreshold){if(swipeDistance>0){if(currentStep<totalSlides-1){currentStep++;updateSlider()}}else{if(currentStep>0){currentStep--;updateSlider()}}}}}function gameSlider(){var $carousel=$(".game-block");if(!$carousel.length)return;if($carousel.next(".carousel-dots").length){$carousel.next(".carousel-dots").remove()}var $items=$carousel.find(".game-block__item");var itemCount=$items.length;var $dotsContainer=$('<div class="carousel-dots"></div>');$carousel.after($dotsContainer);for(let i=0;i<itemCount;i++){var $dot=$("<span>",{class:i===0?"carousel-dot active":"carousel-dot"});$dotsContainer.append($dot)}$carousel.on("scroll",function(){var scrollPosition=$(this).scrollLeft();var itemWidth=$items.first().outerWidth()+10;var activeIndex=Math.round(scrollPosition/itemWidth);var containerWidth=$(this).outerWidth();var scrollWidth=this.scrollWidth;if(Math.ceil(scrollPosition+containerWidth)>=scrollWidth-2){activeIndex=itemCount-1}$dotsContainer.find(".carousel-dot").removeClass("active").eq(activeIndex).addClass("active")})}if(document.readyState==="loading"){document.addEventListener("DOMContentLoaded",initVisualSlider);document.addEventListener("DOMContentLoaded",gameSlider)}else{initVisualSlider();gameSlider()}})(jQuery);(function($){function initEpaperSlider(){if($(window).width()>820){return}const $track=$(".epaper-slider-m");if($track.length===0)return;const $slides=$track.find(".epaper-slick__item");const totalSlides=$slides.length;if(totalSlides<=1){if(totalSlides===1)$slides.addClass("stack-1");return}$track.siblings(".pagination-dots").remove();const $dotsContainer=$('<div class="pagination-dots"></div>');$track.after($dotsContainer);for(let i=0;i<totalSlides;i++){$dotsContainer.append('<div class="dot"></div>')}const $dots=$dotsContainer.find(".dot");let currentStep=0;function updateSlider(){$slides.removeClass("stack-1 stack-2 stack-3 swiped-left");$slides.each(function(index){if(index<currentStep){$(this).addClass("swiped-left")}});const slidesToActivate=[currentStep,currentStep+1,currentStep+2].filter(i=>i<totalSlides);$.each(slidesToActivate,function(stackIndex,slideIndex){const $currentSlide=$slides.eq(slideIndex);$currentSlide.addClass(`stack-${stackIndex+1}`);const $img=$currentSlide.find("img.lazyloading");if($img.length&&$img.attr("data-src")){$img.attr("src",$img.attr("data-src"));$img.removeAttr("data-src");$img.removeClass("lazyloading")}});$dots.removeClass("active").eq(currentStep).addClass("active")}updateSlider();$dots.on("click",function(){currentStep=$(this).index();updateSlider()});let touchStartX=0;let touchEndX=0;const swipeThreshold=40;$track.on("touchstart",function(e){touchStartX=e.originalEvent.changedTouches[0].screenX});$track.on("touchend",function(e){touchEndX=e.originalEvent.changedTouches[0].screenX;handleSwipe()});function handleSwipe(){const swipeDistance=touchStartX-touchEndX;if(Math.abs(swipeDistance)>swipeThreshold){if(swipeDistance>0){if(currentStep<totalSlides-1){currentStep++;updateSlider()}}else{if(currentStep>0){currentStep--;updateSlider()}}}}}if(document.readyState==="loading"){document.addEventListener("DOMContentLoaded",initEpaperSlider)}else{initEpaperSlider()}})(jQuery);if(windowWidth>999){jQuery(window).scroll(function(event){var y=jQuery(this).scrollTop();if(129<=y){jQuery(".add-left,.add-right").addClass("skining-fixed");jQuery(".add-left,.add-right").fadeIn()}else if(129>y){jQuery(".add-left,.add-right").removeClass("skining-fixed")}})}if(jQuery(".ieSportTab").length>0){jQuery(".ieSportTab").on("click",function(){jQuery(this).siblings().removeClass("o-matchesbx__tab-btn--active");jQuery(this).addClass("o-matchesbx__tab-btn--active");jQuery(this).closest(".o-matchesbx").find(".iesportwc").hide();const tab=jQuery(this).attr("rel");jQuery(this).closest(".o-matchesbx").find("#"+tab).show();
1jQuery(".ieSportTab").attr("aria-expanded","false");jQuery(this).attr("aria-expanded","true")})}if(jQuery(window).width()>767){var slidesCount=document.body.classList.contains("ieGutterTemplate")?1:1.34;const topNewsBlock=jQuery(".top-news-block-slider");const topNewsChild=topNewsBlock.find(".topBlockSlider-article").length;if(topNewsBlock.length&&topNewsChild>1){topNewsBlock.slick({infinite:false,slidesToShow:slidesCount,slidesToScroll:1,autoplay:false,dots:false,arrows:true,prevArrow:jQuery(".custom-prev"),nextArrow:jQuery(".custom-next"),accessibility:true,focusOnChange:false}).on("beforeChange",function(e,slick,currentSlide,nextSlide){prevSlide=currentSlide}).on("afterChange",function(e,slick,currentSlide){const isForward=currentSlide>prevSlide;const slidesToShow=Math.floor(slick.options.slidesToShow);let focusIndex=isForward?currentSlide+slidesToShow-1:currentSlide;focusIndex=Math.min(focusIndex,slick.slideCount-1);const $slide=jQuery(slick.$slides[focusIndex]).not(".slick-cloned");if(!$slide.length)return;const $focusable=$slide.find('a, button, input, [tabindex]:not([tabindex="-1"])').filter(":visible").first();if($focusable.length){$focusable.focus()}else{$slide.attr("tabindex","-1").focus()}});topNewsBlock.attr({role:"region","aria-roledescription":"carousel","aria-label":"Top NewsBlock carousel"})}}function getPenaltyHtml(score){let html='<ul class="panelty-goals">';for(let i=1;i<=score;i++){html+='<li class="goals-green"></li>'}html+="</ul>";return html}function updateMatch(matchId){fetch("https://static.indianexpress.com/frontend/cricket_scorecard/"+matchId+".json").then(response=>response.json()).then(data=>{if(!data||!data.match_detail||!data.teams||data.teams.length<2){return}const matchDetail=data.match_detail;const teams=data.teams;const teamAScoreWrap=$("#team-a-score-"+matchId);const teamBScoreWrap=$("#team-b-score-"+matchId);teamAScoreWrap.find(".team-score-value").text(teams[0].score??"");teamBScoreWrap.find(".team-score-value").text(teams[1].score??"");if(matchDetail.is_shootout){teamAScoreWrap.find(".team-penalty-wrap").html(getPenaltyHtml(parseInt(teams[0].shootout_score||0,10)));teamBScoreWrap.find(".team-penalty-wrap").html(getPenaltyHtml(parseInt(teams[1].shootout_score||0,10)))}else{teamAScoreWrap.find(".team-penalty-wrap").empty();teamBScoreWrap.find(".team-penalty-wrap").empty()}const minutes=matchDetail.clock?.minutes||0;const additionalMinutes=matchDetail.clock?.additional_minutes||0;let matchTime=minutes+"'";if(additionalMinutes>0){matchTime=minutes+"+"+additionalMinutes+"'"}$("#match-time-"+matchId).text(matchTime);if(matchDetail.status==="Match Completed"&&matchDetail.result?.value){$("#match-status-"+matchId).text(matchDetail.result.value)}else{$("#match-status-"+matchId).text(matchDetail.status||"")}}).catch(function(error){console.log("Match update failed",error)})}function updateAllMatches(){$("#fifa-live-match .ff-card[data-match-id]").each(function(){updateMatch($(this).data("match-id"))})}const initialDelay=3e3;const refreshInterval=12e4;setTimeout(function(){updateAllMatches();setInterval(function(){updateAllMatches()},refreshInterval)},initialDelay)});const tabBtn=[...document.querySelectorAll(".tabs-btn")];
1if(0!==tabBtn.length){tabBtn.forEach(btn=>{btn.addEventListener("click",()=>{var title=btn.getAttribute("title");setActive(btn);setActivetabledata(title)})});const setActive=el=>{[...el.parentElement.children].forEach(sib=>sib.classList.remove("active"));el.classList.add("active")};const setActivetabledata=title=>{const groups=document.querySelectorAll("#iegroup1");groups.forEach(group=>{group.style.display="none"});const activeGroup=document.querySelector("."+title);if(activeGroup){activeGroup.style.display="block"}}}function fetchIplScorecardUpdates(){if("undefined"!==typeof ie_ref_data&&"undefined"!==typeof ie_ref_data.iecricketscorecard){var seriesId=jQuery("#new-livescorecard-cricket").data("seriesId");try{jQuery.ajax({type:"POST",url:ie_ref_data.ajax_url,data:{action:"fetch_live_ieCricket_scorecard",cricketsecurity:ie_ref_data.iecricketscorecard,seriesID:seriesId},success:function(response){jQuery("#new-livescorecard-cricket").empty();jQuery("#new-livescorecard-cricket").append(response)},error:function(){}})}catch(err){}}}function createIplLiveScoreUpdates(){fetchIplScorecardUpdates();setTimeout(function(){createIplLiveScoreUpdates()},6e4)}(function(){if(window.__backToTopInitialized)return;window.__backToTopInitialized=true;function setupBackToTop(){const backtop=document.getElementById("backToTop");if(!backtop)return;backtop.style.display="none";if(typeof ie_ref_data==="undefined"||ie_ref_data.backTopValue!=="1")return;let lastScroll=0;let ticking=false;let keyboardMode=false;document.addEventListener("keydown",e=>{if(e.key==="Tab"||e.key==="ArrowDown"||e.key==="ArrowUp"){keyboardMode=true}});window.addEventListener("wheel",()=>{keyboardMode=false});window.addEventListener("touchstart",()=>{keyboardMode=false});window.addEventListener("scroll",()=>{const currentScroll=window.scrollY;if(!ticking){window.requestAnimationFrame(()=>{if(keyboardMode){const backtopY=backtop.getBoundingClientRect().top+window.scrollY;if(currentScroll+window.innerHeight>backtopY-100){backtop.style.display="block"}}else{const threshold=window.innerHeight*1.5;if(currentScroll>threshold&¤tScroll<lastScroll){backtop.style.display="block"}else{backtop.style.display="none"}}lastScroll=currentScroll;ticking=false});ticking=true}});backtop.addEventListener("click",()=>{window.scrollTo({top:0,behavior:"smooth"});document.body.setAttribute("tabindex","-1");document.body.focus();setTimeout(()=>{document.body.removeAttribute("tabindex")},500)})}if(document.readyState==="loading"){document.addEventListener("DOMContentLoaded",setupBackToTop)}else{setupBackToTop()}})();document.addEventListener("keydown",function(e){if(e.key==="Tab"){document.body.classList.add("keyboard-user")}});document.addEventListener("mousedown",function(){document.body.classList.remove("keyboard-user")});function hp_getCookie(c_name){var i,x,y,ARRcookies=document.cookie.split(";");var arr_length=ARRcookies.length;for(i=0;i<arr_length;i++){x=ARRcookies[i].substr(0,ARRcookies[i].indexOf("="));y=ARRcookies[i].substr(ARRcookies[i].indexOf("=")+1);x=x.replace(/^\s+|\s+$/g,"");if(x===c_name){return unescape(y)}}}(function(){"use strict";const CONFIG={widgetSelector:".ie-custom-hp-track",linkSelector:"a.article-click[href]",threshold:.1,debug:false,channel:2,eventType:"wordpress"};CONFIG.source=1;if("undefined"!==typeof ie_ref_data&&"undefined"!==typeof ie_ref_data.source){if("mobile"===ie_ref_data.source){CONFIG.source=2}}let userSsoid=hp_getCookie("oauth_ssoid")??"";let userType=hp_getCookie("ev_user_state")??"";let fpuuid=hp_getCookie("fpuuid")??"";let pluuid=hp_getCookie("pluuid")??"";let userId="";let upssid=hp_getCookie("upssid")??"";if("undefined"!==typeof fpuuid&&""!==fpuuid&&null!==fpuuid){userId=fpuuid}if("undefined"!==typeof pluuid&&""!==pluuid&&null!==pluuid){userId=pluuid}if("registered"===userType){userType="2"}else if("subscriber"===userType){userType="7"}else{userType="1"}CONFIG.type=userType;CONFIG.fpuuid=fpuuid;CONFIG.pluuid=pluuid;CONFIG.upssid=upssid;if(window.ieHomepageWidgetTrackingInitialized)return;window.ieHomepageWidgetTrackingInitialized=true;const widgets=document.querySelectorAll(CONFIG.widgetSelector);if(!widgets.length)return;function normalizeUrl(href){try{const u=new URL(href);return u.origin+u.pathname.replace(/\/$/,"")}catch{return href.split("#")[0]}}const eventQueue=[];let sdkReady=false;function dispatch(body){if(CONFIG.debug)console.log("Imply Event:",body);if(sdkReady){window.psdkvar.eventCapture(body)}else{eventQueue.push(body)}}function flushQueue(){while(eventQueue.length){window.psdkvar.eventCapture(eventQueue.shift())}}(function waitForSdk(){if(window.psdkvar&&typeof window.psdkvar.eventCapture==="function"){sdkReady=true;flushQueue()}else{setTimeout(waitForSdk,200)}})();function sendImplyEvent(eventAction,params){var widgetname=params.widgetName||"";var widgettype=CONFIG.eventType;if(eventAction==="appear"&&widgetname==="ie-instagarm-reel-feed"){widgetname="hp_short_videos";widgettype="Instagram Shorts";let instaID=document.getElementById("ie-instagarm-reel-feed");if(instaID){instaID.setAttribute("data-windex",params.widgetPosition)}}dispatch({channel:CONFIG.channel,source:CONFIG.source,type:CONFIG.type,eventName:widgetname,eventType:widgettype,e1:eventAction,e2:params.articleUrl||"",e3:params.widgetPosition||"",e4:params.articlePosition||"",e5:"",storyId:"",pageUrl:window.location.href,pageReferrer:document.referrer})}const widgetDataMap=new WeakMap;const appearedSet=new WeakSet;
1widgets.forEach(function(widget,index){const links=widget.querySelectorAll(CONFIG.linkSelector);const urlMap={};let position=1;links.forEach(function(link){const key=normalizeUrl(link.href);if(!urlMap[key]){urlMap[key]=position++}});widgetDataMap.set(widget,{widgetName:(widget.dataset.awsSlug||widget.id).toLowerCase(),widgetPosition:index+1,urlMap:urlMap})});let iersAllocationDone=false;window.addEventListener("iers_allocation_done",()=>{iersAllocationDone=true},{once:true});function ieFireWidgetEvent(widget){if(widget.querySelector(".article-appended")||widget.querySelector('[data-item-swapped="true"]')||appearedSet.has(widget)){observer.unobserve(widget);return}appearedSet.add(widget);const data=widgetDataMap.get(widget);if(data){sendImplyEvent("appear",{widgetName:data.widgetName,widgetPosition:data.widgetPosition})}observer.unobserve(widget)}const observer=new IntersectionObserver(function(entries){entries.forEach(function(entry){if(!entry.isIntersecting)return;const widget=entry.target;if(widget.classList.contains("aws-personalisation")){observer.unobserve(widget);if("undefined"!==typeof iers_isAwsUser&&iers_isAwsUser){return}else if(iersAllocationDone){ieFireWidgetEvent(widget)}window.addEventListener("iers_allocation_done",function(){if("undefined"!==typeof iers_isAwsUser&&iers_isAwsUser){return}else{ieFireWidgetEvent(widget)}},{once:true});return}ieFireWidgetEvent(widget)})},{threshold:CONFIG.threshold});widgets.forEach(function(w){if(w.querySelector(".article-appended"))return;if(w.querySelector('[data-item-swapped="true"]'))return;observer.observe(w)});document.addEventListener("click",function(e){const link=e.target.closest(CONFIG.widgetSelector+" "+CONFIG.linkSelector.split("[")[0]);if(!link)return;if(link.closest(".article-appended"))return;if(link.closest('[data-item-swapped="true"]'))return;const widget=link.closest(CONFIG.widgetSelector);if(!widget)return;const data=widgetDataMap.get(widget);if(!data)return;if(appearedSet?.has&&!appearedSet.has(widget)){ieFireWidgetEvent(widget)}sendImplyEvent("clicked",{widgetName:data.widgetName,widgetPosition:data.widgetPosition,articlePosition:data.urlMap[normalizeUrl(link.href)]||"",articleUrl:link.href})},true)})();function equalHeightPerGroup(className,groupSize=2,lastRowItems=3){const items=document.querySelectorAll(className);if(!items.length)return;items.forEach(item=>{item.style.height="auto"});for(let i=0;i<items.length;i+=groupSize){let maxHeight=0;for(let j=i;j<i+groupSize&&j<items.length;j++){maxHeight=Math.max(maxHeight,items[j].offsetHeight)}for(let j=i;j<i+groupSize&&j<items.length;j++){items[j].style.height=maxHeight+"px"}}const startIndex=Math.max(0,items.length-lastRowItems);for(let i=startIndex;i<items.length;i++){items[i].style.marginBottom="0"}}function ieLoadInstaVideoSDK(targetId){const target=document.getElementById(targetId);if(!target){return}let sdkLoaded=false;const loadSDK=function(){if(sdkLoaded||"undefined"===typeof implyConfig||"undefined"===typeof implyConfig.insta_sdk||""===implyConfig.insta_sdk){return}sdkLoaded=true;try{const title=target.getAttribute("data-wt")||"";if("object"!==typeof window.custom_ua_data||null===window.custom_ua_data){window.custom_ua_data={}}const orguadata={...window.custom_ua_data};window.SocialWidgetSDKConfig={target:"#"+targetId,title:title,urlEnabled:implyConfig.is_insta_sp,onEvent:data=>{if(typeof psdkvar!=="undefined"&&psdkvar&&typeof psdkvar.resetInit==="function"){if(data.name==="open"||data.name==="next"){window.custom_ua_data.articleUrl=window.location.href;window.custom_ua_data.pageType="list";window.custom_ua_data.sections="short-videos";window.custom_ua_data.category="short-videos";window.custom_ua_data.categoryName="short-videos";window.custom_ua_data.contentType="listingpage";window.custom_ua_data.pageOrgType="AboutPage";window.custom_ua_data.premium=false;window.custom_ua_data.premiumPaywall=false;window.custom_ua_data.primarySection="short-videos";window.custom_ua_data.sectionName="short-videos";window.custom_ua_data.sublimeArticleID="short-videos_1";psdkvar.resetInit();if("function"===typeof ieTrackChartComscore){ieTrackChartComscore("short
1-videos",title,window.location.href)}}else if(data.name==="close"){window.custom_ua_data={...orguadata};psdkvar.resetInit();if("function"===typeof ieTrackChartComscore){ieTrackChartComscore("","home",window.location.href)}}}}};const script=document.createElement("script");script.id="social-video-sdk";script.src=implyConfig.insta_sdk;script.async=true;document.head.appendChild(script)}catch(e){console.error("Social Video SDK load issue:",e)}};if("IntersectionObserver"in window){const observer=new IntersectionObserver(function(entries){if(entries[0].isIntersecting){loadSDK();observer.disconnect()}},{rootMargin:"400px"});observer.observe(target)}else{loadSDK()}}ieLoadInstaVideoSDK("ie-instagarm-reel-feed");jQuery(document).ready(function(){if(jQuery(window).width()>768){jQuery(".topProdcastBlock").each(function(){const $block=jQuery(this);const $slider=$block.find(".top-prodcast");let prevSlide=0;if($slider.find(".prod-slide").length<=1){return}$slider.slick({infinite:false,slidesToShow:1,slidesToScroll:1,arrows:true,prevArrow:$block.find(".prod-prev"),nextArrow:$block.find(".prod-next"),accessibility:true,focusOnChange:false}).on("beforeChange",function(e,slick,currentSlide,nextSlide){prevSlide=currentSlide}).on("afterChange",function(e,slick,currentSlide){const isForward=currentSlide>prevSlide;const slidesToShow=Math.floor(slick.options.slidesToShow);let focusIndex=isForward?currentSlide+slidesToShow-1:currentSlide;focusIndex=Math.min(focusIndex,slick.slideCount-1);const $slide=jQuery(slick.$slides[focusIndex]).not(".slick-cloned");if(!$slide.length){return}const $focusable=$slide.find('a, button, input, [tabindex]:not([tabindex="-1"])').filter(":visible").first();if($focusable.length){$focusable.focus()}else{$slide.attr("tabindex","-1").focus()}});$block.attr({role:"region","aria-roledescription":"carousel","aria-label":"Podcast Carousel"})})}});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.