"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[28521],{36501:function(e,t,a){a.d(t,{Z:function(){return r}});var n=a(85893),i=a(621);function r(e){var t=e.feed,a=e.fromSide,r=e.containerClass,o=new Date(t.lastPublishedDate),d=new Date(t.firstPublishedDate);return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"".concat(r),children:[(0,n.jsx)("div",{className:"secTime dateTime","data-vars-time":o<=d?t.firstPublishedDate:t.lastPublishedDate,children:"middle"===a&&o<=d?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{children:"Published on "}),(0,n.jsx)("span",{children:(0,i.xE)(d)}),(0,n.jsx)("span",{children:" IST"})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{children:"Updated on "}),(0,n.jsx)("span",{children:(0,i.xE)(o)}),(0,n.jsx)("span",{children:" IST"})]})}),"fromStoryPage"===a?(0,n.jsx)("div",{className:"shareArticle",children:(0,n.jsxs)("div",{className:"shareIcons",children:[(0,n.jsx)("a",{"data-id":"Share, 3",rel:"nofollow noreferrer noopener",className:"wt",title:"what's app","data-action":"share/whatsapp/share"}),(0,n.jsx)("a",{"data-id":"Share, 1",rel:"nofollow noreferrer noopener",href:"https://www.facebook.com/sharer/sharer.php?u=${facebookUrl}",target:"_blank",title:"Share on Facebook",className:"fb"}),(0,n.jsx)("a",{"data-id":"Share, 2",rel:"nofollow noreferrer noopener",href:"https://twitter.com/share?url=${twitterUrl}&title=${headline}",title:"Share on Twitter",target:"_blank",className:"tw"}),(0,n.jsx)("a",{"data-id":"Share, 4",href:"https://www.linkedin.com/shareArticle?mini=true&url=${linkedinUrl}",target:"_blank",title:"Share on Linkdin",className:"ln"}),(0,n.jsx)("a",{"data-id":"Share, 6",className:"cpy-i cpyclipboard","data-articleurl":"${srotyUrl}"}),(0,n.jsx)("a",{"data-id":"Share, 5","data-articleid":"${id}",title:"bookmark",className:"bm"})]})}):null]})})}},44950:function(e,t,a){a.d(t,{Z:function(){return i}});var n=a(85893);function i(e){var t=e.sectionName,a=e.externalUrl,i=e.from;return(0,n.jsxs)("div",{className:"".concat("middle"==i?"secHdg ":"secHdg htImpressionTrackingTop"),"data-vars-page-type":""!==i?i:"","data-vars-widget-name":t,children:[(0,n.jsx)("span",{className:"hdgTexure"}),(0,n.jsx)("div",{className:"hdgStyle",children:function(e){return a?(0,n.jsx)("a",{href:a,children:(0,n.jsx)("div",{className:"headingWithDiv",children:e})}):(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:"headingWithDiv",children:e})})}(t)})]})}},62947:function(e,t,a){a.r(t);var n=a(47568),i=a(10253),r=a(34051),o=a.n(r),d=a(85893),l=a(5152),s=a.n(l),c=a(67294),u=a(85518),h=a(21286),v=a(25891),g=a(31838),p=a(39866),m=a(55786),f=a(53685),x=a(83919),w=a(49239),j=s()((function(){return Promise.all([a.e(46019),a.e(11121)]).then(a.bind(a,48920))}),{loadableGenerated:{webpack:function(){return[48920]}},ssr:!1}),y=s()((function(){return a.e(12258).then(a.bind(a,12258))}),{loadableGenerated:{webpack:function(){return[12258]}},ssr:!1}),S=s()((function(){return a.e(73621).then(a.bind(a,73621))}),{loadableGenerated:{webpack:function(){return[73621]}},ssr:!1}),b=s()((function(){return a.e(51833).then(a.bind(a,51833))}),{loadableGenerated:{webpack:function(){return[51833]}},ssr:!1}),k=function(e){var t=e.adData,a=e.pageType,r=void 0===a?"":a,l=e.sectionName,s=e.subSection,k=e.threeColLayout,N=void 0!==k&&k,A=e.getAdDataFromPage,T=void 0!==A&&A,D=e.contextualKeys,C=void 0===D?"":D,_=e.showAds,I=void 0===_||_,F=(0,c.useContext)(m.gb),P=F.htConfigData,U=F.showAdFree,Z=(0,c.useState)([]),W=Z[0],L=Z[1],V=(0,c.useState)(I),E=V[0],H=V[1],R=(0,c.useRef)(!1),$=x.Z.get().isLanguages,B=(0,c.useMemo)((function(){var e,a,n=t||(null===(e=g.jA.ads)||void 0===e||null===(a=e.desktopView)||void 0===a?void 0:a.rightAds);if(!T){var i,o,d=r.toLowerCase();if(["ipl","world-cup","asia-cup","cricket","sports","wimbledon"].includes(d))n=null===g.Xj||void 0===g.Xj||null===(i=g.Xj.ads)||void 0===i||null===(o=i.desktopView)||void 0===o?void 0:o.rightAds;else if(p.d.includes(d)){var s,c,u=h._[null===l||void 0===l?void 0:l.toLowerCase()]||h._.default;n=null===u||void 0===u||null===(s=u.ads)||void 0===s||null===(c=s.desktopView)||void 0===c?void 0:c.rightAds}else if("cricket_detail"===d)n=g.Rp;else if("education"===d)n=g.SF;else if("game-details"===d){var v,m;n=null===g.pb||void 0===g.pb||null===(v=g.pb.ads)||void 0===v||null===(m=v.desktopView)||void 0===m?void 0:m.rightAds}else if("games"===d){var f,x;n=null===g.jA||void 0===g.jA||null===(f=g.jA.ads)||void 0===f||null===(x=f.desktopView)||void 0===x?void 0:x.rightAds}else if("topic"===d){var w,j;n=null===g.BD||void 0===g.BD||null===(w=g.BD.ads)||void 0===w||null===(j=w.desktopView)||void 0===j?void 0:j.rightAds}}return{rightSectionAdData:null===n||void 0===n?void 0:n.slice(0,(null===n||void 0===n?void 0:n.length)-1),rightBottomAd:null===n||void 0===n?void 0:n.slice((null===n||void 0===n?void 0:n.length)-1)}}),[t,r,l,T]),G=B.rightSectionAdData,q=B.rightBottomAd,M=function(){var e=(0,n.Z)(o().mark((function e(){var t,a,n;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=i.Z,e.next=3,Promise.all([(0,v.Y0)(),(0,v.uY)()]);case 3:e.t1=e.sent,t=(0,e.t0)(e.t1,2),a=t[0],n=t[1],a.push(n),L(a);case 9:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();(0,c.useEffect)((function(){I&&H(!0!==U)}),[U,I]),(0,c.useEffect)((function(){u.tq||R.current||($?(R.current=!0,M()):(0,v.Y0)(N).then((function(e){R.current=!0,L(e)})))}),[]);var O=(0,c.useCallback)((function(e){var t=e.adCodes,a=e.addSlotNo,n=e.index;return I?(0,d.jsx)(j,{clientSide:!0,containerClass:"adHeight270",innerIdDivClass:"storyAd pt10",addSlotNo:a,from:"right",arrayOfAdData:t,index:n,sectionName:l,subSection:s,contextualKeys:C}):null}),[l,s,C]),X=(0,c.useCallback)((function(e){var t=e.collection,a=e.idx;return t?(0,d.jsx)(w.Z,{collectionStory:t,collectionTitle:t.title,externalUrl:t.externalUrl,index:a,pageType:r,removeParentDivWrap:!0}):null}),[r]),Y=(0,f.Z)(),K=function(e){var t=e.pageType,a=e.IS_INDIA,n=e.adOffset,i=e.i,r=!0===(null===P||void 0===P?void 0:P.showGamesRightPanel),o=a?"shop-now-widget":"ht-premium-widget";return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{className:"shopnow-widget","data-vars-page-type":"".concat(t,"_rhs"),"data-vars-placement":i+n,"data-vars-widgetname":o,children:!u.tq&&(a?(0,d.jsx)(y,{tracking:{pageType:t,section:l},removeParentDivWrap:!0}):(0,d.jsx)(S,{tracking:{pageType:t,section:l}}))}),r&&!u.tq&&(0,d.jsx)("div",{className:"games-widget","data-vars-page-type":"".concat(t,"_rhs"),"data-vars-placement":i+n,"data-vars-widgetname":"games-widget",children:(0,d.jsx)(b,{})})]})},z=$?{idPrefix:"languages-collection",count:2}:N?{idPrefix:"three-column-collection",count:4}:{idPrefix:"two-column-collection",count:7},J=z.idPrefix,Q=z.count;return(0,d.jsxs)(d.Fragment,{children:[E&&(0,d.jsx)("div",{className:"rgtTopAd ".concat((null===P||void 0===P?void 0:P.toggleAdCode)?"":"stickyAd"),children:(0,d.jsx)(O,{adCodes:G,addSlotNo:0,index:0})}),function(e,t){return Array.from({length:t},(function(a,n){var i,o=!$&&n>=1?1:0,s=function(e){var t=G.length;return t<=1?0:0===e?1:e===W.length?t-1:e+1}(n+o);return(0,d.jsxs)(c.Fragment,{children:[1===n&&!$&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(K,{pageType:r,sectionName:l,IS_INDIA:Y,adOffset:o,i:n}),(0,d.jsx)(O,{adCodes:G,addSlotNo:2,index:2})]}),(0,d.jsx)("div",{className:"ht-ad-holder-right htImpressionTrackingWidget",id:"".concat(e,"-").concat(n),"data-var-placement":n,"data-var-widgetname":(null===W||void 0===W?void 0:W[n])?"".concat(null===(i=W[n].title)||void 0===i?void 0:i.toLowerCase(),"_").concat(r,"_rhs"):"","data-vars-page-type":"".concat(r,"_rhs"),children:(null===W||void 0===W?void 0:W[n])&&(0,d.jsx)(X,{collection:W[n],idx:n})}),(0,d.jsx)(O,{adCodes:n+1==t?q:G,addSlotNo:n+1==t?0:s,index:n+1==t?0:n+1+o})]},"".concat(e,"-").concat(n))}))}(J,Q)]})};t.default=(0,c.memo)(k)},49239:function(e,t,a){a.d(t,{Z:function(){return c}});var n=a(26042),i=a(69396),r=a(85893),o=a(67294),d=a(31838),l=a(44950),s=a(37092);function c(e){var t,a=e.collectionStory,c=e.collectionTitle,u=e.externalUrl,h=e.pageType,v=e.index,g=e.removeParentDivWrap,p=void 0!==g&&g,m=a.title.replace(/\s+/g,""),f="div".concat(m,"Right"),x="".concat(c.toLowerCase(),"_").concat(h,"_rhs"),w=function(e,t){return"row ".concat(0===e?"cartView":"listing"," track htImpressionTrackingStory ").concat("gallery"===t.articleType?"photoStory":""," ").concat("video"===t.articleType?"videoStory":"")},j=function(e,t){var a,n,i;return 0===e?(null===t||void 0===t||null===(n=t.image)||void 0===n||null===(i=n.images)||void 0===i?void 0:i.fullImage)||d.FM:(null===t||void 0===t||null===(a=t.image)||void 0===a?void 0:a.images["148x111"])||d.FM},y=p?o.Fragment:"div",S=p?{}:{className:"ht-ad-holder-right htImpressionTrackingWidget",id:f,"data-var-placement":v,"data-var-widgetname":x,"data-vars-page-type":"".concat(h,"_rhs")};return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(y,(0,i.Z)((0,n.Z)({},S),{children:(0,r.jsxs)("div",{className:"rgtWidget",children:[(0,r.jsx)(l.Z,{sectionName:c,externalUrl:u,from:"RHS"}),null===(t=a.listCollectionStories)||void 0===t?void 0:t.map((function(e,t){return t<=4&&(0,r.jsx)(o.Fragment,{children:(0,r.jsx)(s.default,{feed:e,sectionName:e.section,category:m,sectionUrl:null,card:!1,fromSide:"rightSide",type:"RHS",styleClass:w(t,e),photoStory:"gallery"===e.articleType,videoStory:"video"===e.articleType,ImageWidth:0===t?"280":"74",ImageHeight:0===t?"158":"55",ImageSrc:j(t,e),id:e.id,feedIndex:t,widgetName:x,pageType:"".concat(h,"_rhs"),widgetIndex:t})},"".concat(e.id,"-").concat(t))}))]})}))})}}}]);