(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[76574,66181,95808],{66181:function(e,t,n){"use strict";var i=n(67294),o=n(55786),l=n(621);t.Z=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0,d=arguments.length>5&&void 0!==arguments[5]&&arguments[5],u=arguments.length>6&&void 0!==arguments[6]&&arguments[6],c=arguments.length>7&&void 0!==arguments[7]&&arguments[7],v=arguments.length>8&&void 0!==arguments[8]&&arguments[8],s=(0,i.useState)(!1),m=s[0],f=s[1],p=(0,i.useContext)(o.gb),h=p||{},g=h.showAdFree,w=void 0!==g&&g;return(0,i.useEffect)((function(){var i,o,s,m,p=!1,h=function(){var t=(0,l.ej)("token"),i=t&&!t.includes("amp-");if((!n||"IN"===(0,l.ej)("ht-location"))&&(!d||i)&&(!c||w)){var o=function(e){var t=document.createElement("script");t.async=!0,t.type="text/javascript",t.src=e,t.onload=function(){f(!0),r&&r()},t.onerror=function(){console.error("Failed to load ".concat(e)),a&&a()};var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(t,n)};Array.isArray(e)?e.forEach((function(e){return o(e)})):o(e)}},g=function(){p||(v?"function"===typeof window.requestIdleCallback?s=window.requestIdleCallback((function(){p||h()}),{timeout:2e3}):m=window.setTimeout((function(){p||h()}),0):h())};return u?(o=function(){window.scrollY>100&&(g(),window.removeEventListener("scroll",o))},window.addEventListener("scroll",o)):t?"complete"===document.readyState?g():(i=g,window.addEventListener("load",i,{once:!0})):g(),function(){var e;(p=!0,i&&window.removeEventListener("load",i),o&&window.removeEventListener("scroll",o),void 0!==s)&&(null===(e=window.cancelIdleCallback)||void 0===e||e.call(window,s));void 0!==m&&window.clearTimeout(m)}}),[c&&w]),m}},32298:function(e,t,n){"use strict";n.d(t,{AZ:function(){return d},lx: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){var t,n=e.topBanner,i=e.section,o=e.showScorecardOnCohort,l=e.showCricketScorecard,a=e.enableOnSections,r=void 0===a?[]:a,d=e.preferencedTourSections,u=void 0===d?[]:d,c=e.className,v=null!==(t=null===i||void 0===i?void 0:i.toLowerCase())&&void 0!==t?t:"",s=!1,m=!1,f=!1;if("cricket"!==i?(f=s=function(e,t){try{var n=localStorage.getItem(e);if(n){var i=JSON.parse(n);return JSON.parse(null===i||void 0===i?void 0:i.value).includes(t)}return!1}catch(o){return console.error("Error while reading local storage:",o),!1}}("ht_cdp","pr109"),o&&s?m=!0:(o&&r.includes(v)||l&&(u.includes(v)||u.includes("all")))&&(s=!0,m=!0)):(f=!0,s=!1,m=l),m&&!n&&c){var p=document.querySelector(".".concat(c));p&&(p.style.height="135px")}return{showScorecard:m,isCohortStory:s,showEntryPoint:f}}},47880:function(e,t,n){"use strict";n.d(t,{DC:function(){return l},JO:function(){return a},Pz:function(){return o},b5:function(){return p},fs:function(){return i},hy:function(){return s},jA:function(){return f},w1:function(){return v},w_:function(){return m}});var i=function(e){var t="",n="",i="";return Array.isArray(e)?(n=e[0]||"",t=e[e.length-1]||"",e.length>2&&(i=e.slice(1,-1).join("/"))):t=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("