PageSourceSearch

https://www.livemint.com/_next/static/chunks/31632.b56edba8af08c83c.js

js livemint.com collected 2026-09-24 08:03:16 UTC 6,343 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[31632],{31632:(e,t,a)=>{a.r(t),a.d(t,{default:()=>S});var n=a(37876),i=a(24591),l=a(14232),s=a(6021),r=a(12887),c=a(20223),o=a(66227),d=a(86896),u=a(18847),m=a.n(u),h=a(3905),p=a(3084),g=a(44259),_=a(45086),f=a(32532),x=a(85970),b=a(43134),k=a(25832),v=a(34092),w=a(34891),j=a(33527);let N=m()(()=>a.e(84207).then(a.bind(a,84207)),{loadableGenerated:{webpack:()=>[84207]},displayName:"SearchNew",ssr:!1}),A=m()(()=>Promise.all([a.e(31523),a.e(66621)]).then(a.bind(a,66621)),{loadableGenerated:{webpack:()=>[66621]},ssr:!1}),y=["festival-of-gifts"],S=l.memo(function(e){var t,a,u,m;let{megaMenuData:S,pageName:C,pageType:T,sectionName:M,templateType:E,subSectionName:J,subscriptionConfigData:H,isPerformanceArticle:L,isHeaderSticky:R=!1}=e,{adFree:q,isLoggIn:I,ltsScore:D,webCtasConfig:F}=(0,s.uP)(e=>({adFree:e.adFree,isLoggIn:e.isLoggIn,ltsScore:e.ltsScore,webCtasConfig:e.webCtasConfig})),P=(0,s.SV)(),{lang:$,getIsEnglish:X,setExploreOpen:B,openUserSideProfile:U}=P(),[G,K]=(0,l.useState)(null),[Z,Y]=(0,l.useState)(!1),V=(0,l.useRef)(""),[W,z]=(0,l.useState)(j.gK),[O]=(0,x.A)(),[Q]=(0,w.A)(),ee=["headerBg","story"!==C||!R?"stickyHeader":"fixedHeader"].join(" ");(0,l.useEffect)(()=>{O&&(0,r.wd)("small")&&Y(!0)},[O]),(0,l.useEffect)(()=>{let e=setTimeout(()=>{z((0,j.gK)())},(()=>{let e=new Date(Date.now()+j.Yd);return new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()+1,0,0,0)).getTime()-e.getTime()})());return()=>clearTimeout(e)},[W]);let et={event:"top_header_clicked",cta_text:"e_paper"},ea={event:"top_header_clicked",cta_text:"explore"},en={event:"top_header_clicked",cta_text:"sign_in"},ei={event:"top_header_clicked",cta_text:"my_account"},el={event:"top_header_clicked",cta_text:"profile_avatar"},es=e=>{e&&!e.tokenExpired&&-1!==e?e.name&&K(e.name):K((0,r.Ri)("name"))},er=()=>{let e=c.A.userInfoApi+(0,r.Ri)("token");"true"===(0,r.Ri)("freshApiCall")&&(e+="&freshApiCall=true"),(0,r.Zq)(e,{method:"GET",credentials:"include"},es)};function ec(){var e,t;let a=V.current,n=(null==H||null==(e=H.header)?void 0:e.url)||`${null===i.Jq||void 0===i.Jq||null==(t=i.Jq.header)?void 0:t.url}?utm_source=topheader&utm_medium=lmweb&utm_campaign=subs`,l=a||n;(0,r.XA)({event:"subscription_click",article_sub_brand:null,cta_position:"top_header",story_source:null,author_name:null}),(0,o.tJ)(Z,"Subscribe","Header block",q,l),window.location.href=l}(0,l.useEffect)(()=>{q&&(0,r.np)()&&("complete"===document.readyState?setTimeout(function(){er()},1e3):window.addEventListener("load",er))},[q]),(0,l.useEffect)(()=>{V.current=(0,d.IW)(D)?(0,d.k4)({webCtasConfig:F,ctaKey:"top_header",ltsScore:D}):""},[D,F]);let eo=()=>{(0,h.jR)(),(0,p.R)(P)},ed=()=>{(0,h.N1)(),(0,p.R)(P)};return(0,n.jsxs)(n.Fragment,{children:[O&&!I&&"undefined"==typeof sso?(0,n.jsx)(v.default,{sectionName:M}):null,(0,n.jsx)("div",{className:ee,id:"header",children:(0,n.jsxs)("div",{className:"containerNew ",children:[(0,n.jsxs)("header",{className:`clearfix headerNew ${q?"login subscribed":""} ${L?"performanceArticle":""} `,style:{height:"auto"},children:[(0,n.jsx)("div",{className:"menu",onMouseEnter:eo,onTouchStart:eo,onFocus:eo,onClick:()=>void(eo(),B(!0),requestAnimationFrame(()=>{setTimeout(()=>{(0,o.tJ)(Z,"Hamburger","Header block",q),(0,r.XA)(ea)},0)})),children:(0,n.jsx)("span",{})}),X()?(0,n.jsx)(N,{sectionName:M,subSectionName:J,pageType:E}):null,Q&&(0,r.wd)("large")&&(0,n.jsx)("div",{className:"headerDate",children:W}),O&&!Z&&(0,n.jsx)(A,{selected:$,onChange:e=>{"hi"===e?window.location.href="/hindi":"en"===e&&(window.location.href="/")}}),Z&&!L&&!q&&(0,n.jsx)("button",{className:"sectionSubscribeHeaderBtn","data-google-interstitial":"false",onClick:()=>{ec()},children:"hi"===$?(0,n.jsx)(k.A,{file:"shared",children:"Subscribe"}):(null==H||null==(t=H.header)?void 0:t.text)||(null===i.Jq||void 0===i.Jq||null==(a=i.Jq.header)?void 0:a.text)}),(0,n.jsx)(f.A,{pageName:C,pageType:T,sectionName:M,subSectionName:J}),Q&&(0,r.wd)("large")&&(0,n.jsxs)("div",{className:`linkRight ${L?"performanceArticle":""}`,children:[L?null:(0,n.jsx)("button",{className:"btnPrimary headerBtn mr12 subscription","data-google-interstitial":"false",onClick:()=>{ec()},children:"hi"===$?(0,n.jsx)(k.A,{file:"shared",children:"Subscribe"}):(null==H||null==(u=H.header)?void 0:u.text)||(null===i.Jq||void 0===i.Jq||null==(m
1=i.Jq.header)?void 0:m.text)}),I?(0,n.jsx)("button",{onMouseEnter:ed,onTouchStart:ed,onFocus:ed,onClick:()=>{ed(),U(),(0,r.XA)(ei),(0,o.tJ)(Z,"My Account","Header block")},className:"btnSecondary headerBtn loggedin",children:(0,n.jsx)(k.A,{file:"shared",children:"My Account"})}):(0,n.jsx)("button",{className:"btnSecondary headerBtn","data-google-interstitial":"false",onClick:()=>{var e;(0,r.XA)(en),e="https://accounts.hindustantimes.com/?type=plain&ref=LM&expID=gen&cta=explore_top_section&funnel_entry=explore_top_section&lmMoe="+(0,r.Ri)("moe_uuid"),(0,r.un)({funnel_entry:"others",url:e}),(0,o.tJ)(Z,"Sign In","Header block",q,e)},children:(0,n.jsx)(k.A,{file:"shared",children:"Sign in"})}),q?(0,n.jsx)("div",{className:"loginUser",onMouseEnter:ed,onTouchStart:ed,onFocus:ed,onClick:()=>{ed(),U(),(0,r.XA)(el)},children:G}):null]}),(0,n.jsx)("div",{className:X()?"linkRight headerSep":"",children:Q&&(0,r.wd)("large")?"cricket news"===J||"cricket-news"===J?(0,n.jsxs)("a",{href:`${c.A.url}/`,className:"homeLink",children:[(0,n.jsx)(b.A,{src:"https://www.livemint.com/lm-img/img/static/mint-home.png",width:"24",height:"24",alt:"LM Image",title:"LM Image"}),(0,n.jsx)("span",{children:"Home"})]}):X()?(0,n.jsxs)("a",{href:`${i.Zv}/?utm_source=LM_Desk_Header&utm_medium=LM_desk_top_nav&utm_campaign=Ref"`,className:"epaper",id:"ePaperIconId",onClick:()=>{(0,r.XA)(et),(0,o.tJ)(Z,"E-Paper","Header block",q,`${i.Zv}/?utm_source=LM_Desk_Header&utm_medium=LM_desk_top_nav&utm_campaign=Ref"`)},children:[(0,n.jsx)(b.A,{src:"https://www.livemint.com/lm-img/images/newspaperIcon.png",width:"16",height:"16",alt:"E-paper",priority:!0,enableFetchPriority:!1}),"E-Paper"]}):null:null})]}),Z?null:(0,n.jsx)(g.A,{}),(0,n.jsx)("div",{className:`${y.includes(C)?"megaMenuHidden":""}`,children:(0,n.jsx)(_.A,{megaMenuData:S,pageName:C,pageType:T,sectionName:M,isPerformanceArticle:L,templateType:E,subSectionName:J,isListingPage:"listing"===C})})]})})]})})}}]);

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.