PageSourceSearch

https://indianexpress.com/wp-content/themes/indianexpress/microsit…/js/min/custom-new.js?ver=03042026.0

js indianexpress.com collected 2026-09-24 06:04:19 UTC 22,899 bytes, 1 lines download raw bytes

1jQuery(document).ready(function(){var olympicHomeTable=document.querySelectorAll(".olympic-home-widget .tbl-row .tbltd span");var indiaRow=document.querySelectorAll(".tbl-row.india-table-olympic .tbltd span");var redirectLink=document.querySelectorAll(".wc-sports-table");olympicHomeTable.forEach(e=>{if(e.textContent==="-"){e.style.backgroundColor="transparent"}});indiaRow.forEach(e=>{if(e.textContent==="-"){e.style.color="white"}});var winWidth=jQuery(window).width();if(winWidth>768&&0<jQuery("#fixednavbar").length){var topPos=jQuery("#fixednavbar").offset().top;jQuery(window).scroll(function(event){var scTop=jQuery(this).scrollTop();if(scTop>=topPos){jQuery(".ie-header").addClass("g-fixednav")}else if(scTop<topPos){jQuery(".ie-header").removeClass("g-fixednav")}})}if(jQuery(window).scrollTop()>=500){jQuery(window).trigger("scroll")}jQuery(".searchbxbrn").click(function(){jQuery(".search-form-full").show()});jQuery(".closebtn2").click(function(){jQuery(".search-form-full").hide()});jQuery(".overlay-header").click(function(){jQuery("#section-nav").hide();jQuery("body").removeClass("openMenu");jQuery("body,.fixednav,.topsocial,.header-holder").removeAttr("style");jQuery("#section-nav").css({"z-index":"",height:""})});jQuery(".skipcontent").click(function(e){e.preventDefault();var target=jQuery("#main-heading-article");if(target.length>0){target.attr("tabindex","-1");target.focus()}})});jQuery(document).ready(function(){jQuery(".ie-searchbx").click(function(){jQuery(".searchbx").slideToggle()});jQuery(".hamburber_icon").click(function(){jQuery("#mobnav").slideToggle();return false});var win=jQuery(window).width();if(win<767){jQuery("i.fa.fa-search").click(function(){jQuery(this).parent().find('input[type="text"],input[type="submit"]').toggle()})}jQuery("li.mainnav").click(function(){jQuery(this).children("a#menu").hide();jQuery(this).children("a#menuclose").show();jQuery(".menu-sub").slideDown(300)});jQuery("#navnext").click(function(){jQuery(".first-menu ul").animate({top:"-=452"});jQuery(this).hide();jQuery("#navprev").show()});jQuery("#navprev").click(function(){jQuery(".first-menu ul").animate({top:"+=452"});jQuery(this).hide();jQuery("#navnext").show()});jQuery("a#menuclose").click(function(){jQuery(".menu-sub").slideUp(500);jQuery("a#menu").show();jQuery(this).hide();return false});jQuery("li.grouplinks a#menu_h").click(function(){jQuery(".menu-sub").slideUp(500);jQuery("a#menu").show();jQuery("a#menuclose").hide();jQuery(this).parent("li.grouplinks").toggleClass("active");jQuery(".right_t_menu").slideToggle(500)});jQuery(".right_t_menu").mouseleave(function(){jQuery(this).slideUp(500);jQuery(".navi li.grouplinks").removeClass("active")});jQuery(".tabs .tab-links a").on("click",function(e){var currentAttrValue=jQuery(this).attr("href");jQuery(".tabs "+currentAttrValue).show().siblings().hide();jQuery(this).parent("li").addClass("active").siblings().removeClass("active");e.preventDefault()});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")}});jQuery(window).scroll(function(event){var y=jQuery(this).scrollTop();if(y>=5){jQuery("#fixedMenu").addClass("fixed");jQuery("#fixedMenu").fadeIn()}else if(y<5){jQuery("#fixedMenu").removeClass("fixed")}});if(jQuery(window).scrollTop()>=500){jQuery(window).trigger("scroll")}if(jQuery("ul.top-quotes").length>0){jQuery("ul.top-quotes").bxSlider({minSlides:1,maxSlides:1,speed:1e3,easing:"swing",pager:false,autoControls:false,auto:true,infiniteLoop:true,moveSlides:1})}if(jQuery(".breaking").length>0){jQuery(".breaking").bxSlider({auto:true,autoControls:true,autoControlsCombine:true})}jQuery(".icon-closebtn").click(function(){jQuery(".breaking-news").hide()});if(jQuery(".exclusive-slide").length>0){jQuery(".exclusive-slide").bxSlider({maxSlides:3,slideWidth:199,slideMargin:10,moveSlides:3,pager:true})}});jQuery(function(){jQuery(window).resize(function(){try{var w=jQuery(window).width();if(w>1024&&menu.is(":hidden")){menu.removeAttr("style")}}catch(err){}})});jQuery(document).ready(function(){try{if(jQuery("#wpadminbar")!=null&&jQuery("#wpadminbar").length>0){jQuery(".top-menu").css({top:"32px"})}else{jQuery(".top-menu").css({top:"0px"})}var w_width=jQuery(window).width();if(w_width<=1280){jQuery(".left-ad, .right-ad").hide();jQuery("#storycenterbyline").show()}if("undefined"===typeof single_article.page_type&&"story"===single_article.page_type){var advt=jQuery(".add-left, .add-right").html();if(advt==null||advt==undefined||advt.trim()==""){jQuery(".left-ad, .right-ad").hide()}else{jQuery("#storycenterbyline").show()}}jQuery(".fbbx").hover(function(){jQuery(".face").slideToggle(100)});jQuery(".twitbx").hover(function(){jQuery(".twitbxh").slideToggle(100)});jQuery(".gplusbx").hover(function(){jQuery(".gplusbxh").slideToggle(100)})}catch(err){}});jQuery(function(){jQuery("#pre-story").mouseover(function(){jQuery(".one").css("display","block")});jQuery("#pre-story").mouseout(function(){jQuery(".one").css("display","none")});jQuery("#next-story").mouseover(function(){jQuery(".two").css("display","block")});jQuery("#next-story").mouseout(function(){jQuery(".two").css("display","none")})});jQuery(document).ready(function(){jQuery(".icons-share").hide();jQuery(".share").click(function(){jQuery(".icons-share").slideToggle(100)});jQuery(".search").click(function(){jQuery(".form").slideToggle()});jQuery(".close").click(function(){jQuery(".breaking").hide()});if(jQuery(".bx-slides").length>0){jQuery(".bx-slides").bxSlider({auto:true})}jQuery(".web-exclusivebox").css("height","auto")});jQuery(document).ready(function(){if(jQuery(".new_slider_slick").length>0){let prevSlide=0;const new_slider_slick=jQuery(".new_slider_slick");new_slider_slick.on("init",function(){new_slider_slick.find(".slick-track").attr("role","list");new_slider_slick.find(".slick-slide").attr("role","listitem");new_slider_slick.find(".slick-cloned").attr("aria-hidden","true").removeAttr("role")});new_slider_slick.slick({infinite:false,slidesToShow:3,slidesToScroll:1,accessibility:true}).on("beforeChange",function(e,slick,current){prevSlide=current}).on("afterChange",function(e,slick,i){const focusIndex=i>prevSlide?Math.min(i+slick.options.slidesToShow-1,slick.slideCount-1):i;const slide=jQuery(slick.$slides[focusIndex]);
1const focusable=slide.find('a,button,[tabindex]:not([tabindex="-1"])').first();(focusable.length?focusable:slide.attr("tabindex",-1)).focus()});const sliderLabels={".hp_premium_unique .new_slider_slick":"Best Of premium carousel",".ie-modify-latest-video .new_slider_slick":"Latest Video carousel",".myexpress-slider .new_slider_slick":"my express carousel"};for(const selector in sliderLabels){const $slider=jQuery(selector);if($slider.length>0){$slider.attr("aria-label",sliderLabels[selector])}}}});function ticker(){jQuery("#news li:first").slideUp(function(){jQuery(this).appendTo(jQuery("#news")).slideDown()})}setInterval(ticker,6e3);(function($){jQuery.fn.extend({slimScroll:function(options){var defaults={width:"auto",height:"120px",size:"5px",color:"#a1a1a1",position:"left",distance:"1px",start:"top",opacity:1,alwaysVisible:true,disableFadeOut:false,railVisible:false,railColor:"#333",railOpacity:1,railDraggable:true,railClass:"slimScrollRail",barClass:"slimScrollBar",wrapperClass:"slimScroll",allowPageScroll:false,wheelStep:1,touchScrollStep:400,borderRadius:"7px",railBorderRadius:"7px"};var o=$.extend(defaults,options);this.each(function(){var isOverPanel,isOverBar,isDragg,queueHide,touchDif,barHeight,percentScroll,lastScroll,divS="<div></div>",minBarHeight=30,releaseScroll=false;var me=$(this);if(me.parent().hasClass(o.wrapperClass)){var offset=me.scrollTop();bar=me.parent().find("."+o.barClass);rail=me.parent().find("."+o.railClass);getBarHeight();if($.isPlainObject(options)){if("height"in options&&options.height=="auto"){me.parent().css("height","auto");me.css("height","auto");var height=me.parent().parent().height();me.parent().css("height",height);me.css("height",height)}if("scrollTo"in options){offset=parseInt(o.scrollTo)}else if("scrollBy"in options){offset+=parseInt(o.scrollBy)}else if("destroy"in options){bar.remove();rail.remove();me.unwrap();return}scrollContent(offset,false,true)}return}o.height=o.height=="auto"?me.parent().height():o.height;var wrapper=$(divS).addClass(o.wrapperClass).css({position:"relative",overflow:"hidden",width:o.width,height:o.height});me.css({overflow:"hidden",width:o.width,height:o.height});var rail=$(divS).addClass(o.railClass).css({width:o.size,height:"100%",position:"absolute",top:0,display:o.alwaysVisible&&o.railVisible?"block":"none","border-radius":o.railBorderRadius,background:o.railColor,opacity:o.railOpacity,zIndex:90});var bar=$(divS).addClass(o.barClass).css({background:o.color,width:o.size,position:"absolute",top:0,opacity:o.opacity,display:o.alwaysVisible?"block":"none","border-radius":o.borderRadius,BorderRadius:o.borderRadius,MozBorderRadius:o.borderRadius,WebkitBorderRadius:o.borderRadius,zIndex:99});var posCss=o.position=="right"?{right:o.distance}:{left:o.distance};rail.css(posCss);bar.css(posCss);me.wrap(wrapper);me.parent().append(bar);me.parent().append(rail);if(o.railDraggable){bar.bind("mousedown",function(e){var $doc=$(document);isDragg=true;t=parseFloat(bar.css("top"));pageY=e.pageY;$doc.bind("mousemove.slimscroll",function(e){currTop=t+e.pageY-pageY;bar.css("top",currTop);
1scrollContent(0,bar.position().top,false)});$doc.bind("mouseup.slimscroll",function(e){isDragg=false;hideBar();$doc.unbind(".slimscroll")});return false}).bind("selectstart.slimscroll",function(e){e.stopPropagation();e.preventDefault();return false})}rail.hover(function(){showBar()},function(){hideBar()});bar.hover(function(){isOverBar=true},function(){isOverBar=false});me.hover(function(){isOverPanel=true;showBar();hideBar()},function(){isOverPanel=false;hideBar()});me.bind("touchstart",function(e,b){if(e.originalEvent.touches.length){touchDif=e.originalEvent.touches[0].pageY}});me.bind("touchmove",function(e){if(!releaseScroll){e.originalEvent.preventDefault()}if(e.originalEvent.touches.length){var diff=(touchDif-e.originalEvent.touches[0].pageY)/o.touchScrollStep;scrollContent(diff,true);touchDif=e.originalEvent.touches[0].pageY}});getBarHeight();if(o.start==="bottom"){bar.css({top:me.outerHeight()-bar.outerHeight()});scrollContent(0,true)}else if(o.start!=="top"){scrollContent($(o.start).position().top,null,true);if(!o.alwaysVisible){bar.hide()}}attachWheel();function _onWheel(e){if(!isOverPanel){return}var e=e||window.event;var delta=0;if(e.wheelDelta){delta=-e.wheelDelta/120}if(e.detail){delta=e.detail/3}var target=e.target||e.srcTarget||e.srcElement;if($(target).closest("."+o.wrapperClass).is(me.parent())){scrollContent(delta,true)}if(e.preventDefault&&!releaseScroll){e.preventDefault()}if(!releaseScroll){e.returnValue=false}}function scrollContent(y,isWheel,isJump){releaseScroll=false;var delta=y;var maxTop=me.outerHeight()-bar.outerHeight();if(isWheel){delta=parseInt(bar.css("top"))+y*parseInt(o.wheelStep)/100*bar.outerHeight();delta=Math.min(Math.max(delta,0),maxTop);delta=y>0?Math.ceil(delta):Math.floor(delta);bar.css({top:delta+"px"})}percentScroll=parseInt(bar.css("top"))/(me.outerHeight()-bar.outerHeight());delta=percentScroll*(me[0].scrollHeight-me.outerHeight());if(isJump){delta=y;var offsetTop=delta/me[0].scrollHeight*me.outerHeight();offsetTop=Math.min(Math.max(offsetTop,0),maxTop);bar.css({top:offsetTop+"px"})}me.scrollTop(delta);me.trigger("slimscrolling",~~delta);showBar();hideBar()}function attachWheel(){if(window.addEventListener){this.addEventListener("DOMMouseScroll",_onWheel,false);this.addEventListener("mousewheel",_onWheel,false);this.addEventListener("MozMousePixelScroll",_onWheel,false)}else{document.attachEvent("onmousewheel",_onWheel)}}function getBarHeight(){barHeight=Math.max(me.outerHeight()/me[0].scrollHeight*me.outerHeight(),minBarHeight);bar.css({height:barHeight+"px"});var display=barHeight==me.outerHeight()?"none":"block";bar.css({display:display})}function showBar(){getBarHeight();clearTimeout(queueHide);if(percentScroll==~~percentScroll){releaseScroll=o.allowPageScroll;if(lastScroll!=percentScroll){var msg=~~percentScroll==0?"top":"bottom";me.trigger("slimscroll",msg)}}else{releaseScroll=false}lastScroll=percentScroll;if(barHeight>=me.outerHeight()){releaseScroll=true;return}bar.stop(true,true).fadeIn("fast");if(o.railVisible){rail.stop(true,true).fadeIn("fast")}}function hideBar(){if(!o.alwaysVisible){queueHide=setTimeout(function(){if(!(o.disableFadeOut&&isOverPanel)&&!isOverBar&&!isDragg){bar.fadeOut("slow");rail.fadeOut("slow")}},1e3)}}});return this}});jQuery.fn.extend({slimscroll:jQuery.fn.slimScroll})})(jQuery);jQuery(document).ready(function(){jQuery("#infoscroll").slimScroll({height:"120px"});jQuery('a[class="click-event"]').each(function(){var anchor_id=jQuery(this).attr("id");var article_href=jQuery(this).attr("href");this.addEventListener("click",function(){gtag("event","click",{eventCategory:anchor_id,eventLabel:article_href})})});jQuery('a[class="click-event-dataid"]').each(function(){var anchor_id=jQuery(this).attr("data-id");var article_href=jQuery(this).attr("href");this.addEventListener("click",function(){gtag("event","click",{eventCategory:anchor_id,eventLabel:article_href})})});jQuery('a[class="event-liveblog-auto-article"]').each(function(){var anchor_id=jQuery(this).attr("data-id");var article_href=jQuery(this).attr("href");this.addEventListener("click",function(){gtag("event",anchor_id,{event_category:"Live_Blog_Reco",event_label:article_href})})});jQuery('.news-byjetpack li a[class="bump-view"]').each(function(){var article_href=jQuery(this).attr("href");this.addEventListener("click",function(){gtag("event","click",{eventCategory:"IE_TOP_story_jetpack",eventLabel:article_href})})})});jQuery(document).ready(function(){jQuery("#election_change_url").on("change",function(){var url_val=jQuery(this).val();if(url_val!=""){if(url_val=="hp-constituencies-list-2017"){url_val=location.protocol+"//"+location.hostname+"/elections/himachal-pradesh-assembly-elections-2017
1/hp-constituencies-list-2017/"}else if(url_val=="gujarat-constituencies-list-2017"){url_val=location.protocol+"//"+location.hostname+"/elections/gujarat-assembly-elections-2017/gujarat-constituencies-list-2017/"}else if(url_val==="tripura-election-constituencies-list-2018"){url_val=location.protocol+"//"+location.hostname+"/elections/tripura-election-constituencies-list-2018/"}else if("nagaland-election-constituencies-list-2018"===url_val){url_val=location.protocol+"//"+location.hostname+"/elections/nagaland-election-constituencies-list-2018/"}else if("meghalaya-election-constituencies-list-2018"===url_val){url_val=location.protocol+"//"+location.hostname+"/elections/meghalaya-election-constituencies-list-2018/"}else if("karnataka-election-constituencies-list-2018"===url_val){url_val=location.protocol+"//"+location.hostname+"/elections/karnataka-election-constituencies-list-2018/"}else if("rajasthan-election-constituencies-list-2018"===url_val){url_val=location.protocol+"//"+location.hostname+"/elections/rajasthan-election-constituencies-list-2018/"}else if("madhya-pradesh-election-constituencies-list-2018"===url_val){url_val=location.protocol+"//"+location.hostname+"/elections/madhya-pradesh-election-constituencies-list-2018/"}else if("mizoram-election-constituencies-list-2018"===url_val){url_val=location.protocol+"//"+location.hostname+"/elections/mizoram-election-constituencies-list-2018/"}else if("chhattisgarh-election-constituencies-list-2018"===url_val){url_val=location.protocol+"//"+location.hostname+"/elections/chhattisgarh-election-constituencies-list-2018/"}else if("telangana-election-constituencies-list-2018"===url_val){url_val=location.protocol+"//"+location.hostname+"/elections/telangana-election-constituencies-list-2018/"}window.location=encodeURI(url_val)}});if(0<jQuery(".amazon-widget").length&&"undefined"!==typeof ajax_object&&null!==ajax_object){var amazonboxctr=0;jQuery(".amazon-widget").each(function(){amazonboxctr++;var amazonid=jQuery(this).attr("id");var amazonlimit=jQuery(this).attr("data-list-size");var amazonwidget="on";var amazontags1="";var tag_on="";if(0<jQuery("div.storytags > ul").length&&"yes"===ajax_object.tag_on){amazontags1=jQuery("div.storytags > ul").find("li").eq(1).text()}jQuery(this).addClass("amazon-widget-"+amazonid);jQuery.ajax({type:"POST",url:ajax_object.ajaxurl,data:{action:"ie_amazon_widget",amazonwidget:amazonwidget,amazontags1:jQuery.trim(amazontags1),tag_on:ajax_object.tag_on,amazonlimit:amazonlimit,amazonboxctr:amazonboxctr,amazonid:jQuery.trim(amazonid),security:ajax_object.security},success:function(data){jQuery(".amazon-widget-"+amazonid).append(data);var sname=ajax_object.sname;if("undefined"!==typeof sname&&""!==sname&&false===jQuery("body").hasClass("tax-ie_section")){jQuery(".amazon-widget-"+amazonid).find("a").attr("id",amazonid.replace("Amzn_IE_Article_","IE_"+sname+"_Article_"))}else{jQuery(".amazon-widget-"+amazonid).find("a").attr("id",amazonid.replace("Amzn_",""))}jQuery('a[class="click-event"]').each(function(){var anchor_id=jQuery(this).attr("id");var article_href=jQuery(this).attr("href");this.addEventListener("click",function(){gtag("event","click",{eventCategory:anchor_id,eventLabel:encodeURI(article_href)})})})}})})}});jQuery(document).ready(function(){if(jQuery(".wipslider").length>0){jQuery(".wipslider").bxSlider({slideWidth:170,moveSlides:1,maxSlides:3,slideMargin:30,pager:false,infiniteLoop:false,hideControlOnEnd:true})}});jQuery(document).ready(function(){if(jQuery(".rhs-banner-carousel").length>0){let slideCount=jQuery(".rhs-banner-carousel").children().length;let prevSlide=0;let rhsActive=false;jQuery(".rhs-banner-carousel").on("focusin",function(){rhsActive=true}).on("focusout",function(e){if(!jQuery(this).has(e.relatedTarget).length)rhsActive=false});jQuery(".rhs-banner-carousel").slick({dots:false,arrows:true,infinite:slideCount>1,autoplay:slideCount>1,speed:1500,autoplaySpeed:6e3,slidesToShow:1,slidesToScroll:1}).on("init",function(event,slick){if(slick.slideCount===1){jQuery(this).find("ul.slick-dots").css("display","none")}}).on("beforeChange",function(e,slick,current){prevSlide=current}).on("afterChange",function(e,slick,i){if(!rhsActive)return;const focusIndex=i>prevSlide?Math.min(i+slick.options.slidesToShow-1,slick.slideCount-1):i;const slide=jQuery(slick.$slides[focusIndex]);
1const focusable=slide.find('a,button,[tabindex]:not([tabindex="-1"])').first();(focusable.length?focusable:slide.attr("tabindex",-1)).focus()});jQuery(".rhs-banner-wrapn .rhs-banner-carousel").attr("aria-label","sale banner carousel")}if(jQuery(".ieSportTab").length>0){jQuery(".ieSportTab").on("click",function(){jQuery(this).siblings().removeClass("active");jQuery(this).addClass("active");jQuery(this).closest(".ie-fixture").find(".iesportwc").hide();const tab=jQuery(this).attr("rel");jQuery(this).closest(".ie-fixture").find("#"+tab).show()})}});document.addEventListener("DOMContentLoaded",()=>{const tabBtn=[...document.querySelectorAll(".tabs-btn")];if(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);activeGroup.style.display="block"}}});function setEpaperLocalDate(){var days=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];var months=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];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+", "+month+" "+date+", "+year;if(jQuery(".epaper-date").length){jQuery(".epaper-date").text(formattedDate)}}jQuery(document).ready(function(){setEpaperLocalDate();if(0<jQuery("#homeaeseatmap").length){jQuery("body").on("change","#homeaeseatmap",function(){let currState=jQuery(this).find("option:selected").val();let allConstituency=jQuery(".aestate-iframe");allConstituency.each(function(){if(jQuery(this).attr("id")==currState){jQuery(this).show()}else{jQuery(this).hide()}})})}});jQuery(document).ready(function(){var winWidth=jQuery(window).width();if(jQuery(".webstory_js_slider").length>0){if(winWidth>768){let prevSlide=0;jQuery(".webstory_js_slider").slick({slidesToShow:3,slidesToScroll:1,autoplay:false,autoplaySpeed:2e3,variableWidth:true,infinite:false,accessibility:true,responsive:[{breakpoint:767,settings:"unslick"}]}).on("beforeChange",function(e,slick,current){prevSlide=current}).on("afterChange",function(e,slick,i){const focusIndex=i>prevSlide?Math.min(i+slick.options.slidesToShow-1,slick.slideCount-1):i;const slide=jQuery(slick.$slides[focusIndex]);const focusable=slide.find('a,button,[tabindex]:not([tabindex="-1"])').first();(focusable.length?focusable:slide.attr("tabindex",-1)).focus()})}jQuery(".web_story_widget .webstory_js_slider").attr("aria-label","Visual Stories Carousel")}ieUpscSectionDatepicker();jQuery(".main-header a.weather_link, .m-hamburger-menu a.weather_link").each(function(){const link=jQuery(this);const tag=link.closest(".m-hamburger-menu").length?"hamburger":"header";ieAddRefToLinks(link,tag)})});function ieUpscSectionDatepicker(){if(0<jQuery("#upsc_datepicker").length){jQuery(document).on("click",".upsc_calender",function(){jQuery(".calendar_toggle").toggle()});let minDate=jQuery(".upsc_calender").attr("data-min");let curDate=jQuery(".upsc_calender").attr("data-value");jQuery("#upsc_datepicker").datepicker({changeMonth:true,defaultDate:curDate,dateFormat:"yy-mm-dd",changeYear:true,maxDate:"+0M 0D",minDate:minDate,onSelect:function(dateText,inst){let selectedDate=dateText;let upscCalendarUrl="";if("undefined"!==typeof selectedDate&&null!==selectedDate&&""!==selectedDate&&"undefined"!==typeof evolok_settings){upscCalendarUrl=evolok_settings.extra_details.upsc_calendar_url;selectedDate=selectedDate.replace(/-/g,"/");upscCalendarUrl=upscCalendarUrl+selectedDate;window.location.href=upscCalendarUrl}}})}}function ieAddRefToLinks(selector,ref){selector.each(function(){const link=jQuery(this);const href=link.attr("href");if(!href||href.includes("ref="))return;if(href.startsWith("#")||href.startsWith("mailto:")||href.startsWith("javascript:"))return;try{const url=new URL(href,window.location.origin);url.searchParams.set("ref",ref);link.attr("href",url.toString())}catch(e){console.warn("Invalid URL:",href,e)}})}

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.