"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[97263],{4642:function(e,t,n){n.d(t,{A:function(){return l},M:function(){return a}});var i=n(39480),o=n(83919),l=function(e){var t=((null===e||void 0===e?void 0:e.authorsList)||[]).map((function(t){return"Anonymous"===t.name?null===e||void 0===e?void 0:e.old_author:t.name}));return t.length?t.join(","):""},a=function(e){var t,n;if(!(null===e||void 0===e?void 0:e.id)||!(null===e||void 0===e?void 0:e.name))return"";var l=o.Z.get(),a=l.isBangla,r=l.isTelugu,d=a?"/bangla":r?"/telugu":"",u=(null===e||void 0===e||null===(t=e.userTypes)||void 0===t?void 0:t.includes("Columnist"))?"columns":"author",c=(null===(n=e.name)||void 0===n?void 0:n.toLowerCase().replaceAll(" ","-").replace(/['''`]/g,""))||"";return"".concat(i.M5w).concat(d,"/").concat(u,"/").concat(c,"-").concat(e.id)}},32298:function(e,t,n){n.d(t,{AZ:function(){return d},vC:function(){return u},y4:function(){return r}});var i=n(47568),o=n(34051),l=n.n(o),a=n(621),r=function(e){var t,n,i,o,l,a,r;return"114"===(null===e||void 0===e||null===(t=e.Matchdetail)||void 0===t?void 0:t.Status_Id)||"113"===(null===e||void 0===e||null===(n=e.Matchdetail)||void 0===n?void 0:n.Status_Id)?"result":"115"===(null===e||void 0===e||null===(i=e.Matchdetail)||void 0===i?void 0:i.Status_Id)||"125"===(null===e||void 0===e||null===(o=e.Matchdetail)||void 0===o?void 0:o.Status_Id)||"130"===(null===e||void 0===e||null===(l=e.Matchdetail)||void 0===l?void 0:l.Status_Id)||"150"===(null===e||void 0===e||null===(a=e.Matchdetail)||void 0===a?void 0:a.Status_Id)||"160"===(null===e||void 0===e||null===(r=e.Matchdetail)||void 0===r?void 0:r.Status_Id)?"upcoming":"live"},d=function(){var e=(0,i.Z)(l().mark((function e(t){var n;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t){e.next=12;break}return e.prev=1,e.next=4,(0,a._i)("https://www.hindustantimes.com/static-content/10s/".concat(t,".json"));case 4:return n=e.sent,e.abrupt("return",n);case 8:return e.prev=8,e.t0=e.catch(1),console.error("Error fetching match data for ".concat(t,":"),e.t0),e.abrupt("return",null);case 12:return e.abrupt("return",null);case 13:case"end":return e.stop()}}),e,null,[[1,8]])})));return function(t){return e.apply(this,arguments)}}(),u=function(e,t,n,i,o,l,a){return"(function () {\n\t\t\tfunction findCohortIdInLocalStorage(key, value) {\n\t\t\t\ttry {\n\t\t\t\t\tlet item = localStorage.getItem(key);\n\t\t\t\t\tif (item) {\n\t\t\t\t\t\tlet parsedItem = JSON.parse(item);\n\t\t\t\t\t\tlet valuesArray = JSON.parse(parsedItem?.value);\n\t\t\t\t\t\tif (valuesArray.includes(value)) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t} catch (e) {\n\t\t\t\t\tconsole.error('Error while reading local storage:', e);\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\tconst enableOnSections = ".concat(JSON.stringify(o||[]),";\n\t\t\tconst preferredTours = ").concat(JSON.stringify(l||[]),";\n\n\t\t\tif (typeof window !== 'undefined') {\n\t\t\t\tlet isCohortStory = false;\n\t\t\t\tlet showScorecard = false;\n\n\t\t\t\tif ('").concat(t,"' !== 'cricket') {\n\t\t\t\t\tisCohortStory = findCohortIdInLocalStorage('ht_cdp', 'pr109');\n\t\t\t\t\twindow.showEntryPoint = isCohortStory;\n\t\t\t\t\twindow.isCohortStory = isCohortStory;\n\n\t\t\t\t\tif (").concat(n," && isCohortStory) {\n\t\t\t\t\t\tshowScorecard = true;\n\t\t\t\t\t} else if (").concat(n," && enableOnSections.includes('").concat(t.toLowerCase(),"')) {\n\t\t\t\t\t \twindow.isCohortStory = true;\t\n\t\t\t\t\t\tshowScorecard = true;\n\t\t\t\t\t} else if (").concat(i," && (preferredTours.includes('").concat(t.toLowerCase(),"') || preferredTours.includes('all'))) {\n\t\t\t\t\t\twindow.isCohortStory = true;\n\t\t\t\t\t\tshowScorecard = true;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\twindow.showEntryPoint = true;\n\t\t\t\t\twindow.isCohortStory = false;\n\t\t\t\t\tshowScorecard = ").concat(i,";\n\t\t\t\t}\n\n\t\t\t\twindow.showScorecard = showScorecard;\n\t\t\t\tif (showScorecard && !").concat(e,") {\n\t\t\t\t\tconst div = document.querySelector('.").concat(a,"');\n\t\t\t\t\tif (div) {\n\t\t\t\t\t\tdiv.style.height = '135px';\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t})();")}},47880:function(e,t,n){n.d(t,{DC:function(){return l},JO:function(){return a},Pz:function(){return o},b5:function(){return h},fs:function(){return i},hy:function(){return v},jA:function(){return m},w1:function(){return c},w_:function(){return s}});var i=function(e){var t,n,i="";return Array.isArray(e)&&e.length>2?(n=e[0],i=e[1],t=e[2]):(n=Array.isArray(e)?e[0]:"",t=Array.isArray(e)?e[1]:e),{pageUrl:t,section:n,subSection:i}},o=function(){var e=document.documentElement.scrollTop||document.body.scrollTop,t=document.querySelector(".mainStory");if(!t)return{scrollPercentage:0,isAtBottom:!1};var n=t.offsetHeight||0,i=document.querySelector(".taboolaInine"),o=(null===i||void 0===i?void 0:i.offsetHeight)||0,l=t.offsetTop+n+200;return{scrollPercentage:e/(l-(o+800))*100,isAtBottom:e+window.innerHeight>=l}},l=function(e,t,n,i){var o=new URLSearchParams;return t&&o.set("article_id",t),n&&o.set("article_section",n.toLowerCase()),i&&o.set("article_subsection",i.toLowerCase()),"".concat(e,"&").concat(o.toString())},a=function(e){return e?e.replace(/]*)>/g,"\xa7\xa7\xa7PARAGRAPH_START\xa7\xa7\xa7").replace(/<\/p>/g,"\xa7\xa7\xa7PARAGRAPH_END\xa7\xa7\xa7").split(/\xa7\xa7\xa7PARAGRAPH_(?:START|END)\xa7\xa7\xa7/).filter(Boolean):[]};function r(e){var t=e;return e.indexOf("-1&&(t=(t=t.replace("src="," data-src=")).indexOf("class=")>-1?t.replace('class="','class="lazy '):t.replace("