1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[51972,7059,33721,35800,18779,37162],{7059:function(e){e.exports=function(){"use strict";var e="undefined"!=typeof document&&document.documentMode,t={rootMargin:"0px",threshold:0,load:function(t){if("picture"===t.nodeName.toLowerCase()){var r=t.querySelector("img"),n=!1;null===r&&(r=document.createElement("img"),n=!0),e&&t.getAttribute("data-iesrc")&&(r.src=t.getAttribute("data-iesrc")),t.getAttribute("data-alt")&&(r.alt=t.getAttribute("data-alt")),n&&t.append(r)}if("video"===t.nodeName.toLowerCase()&&!t.getAttribute("data-src")&&t.children){for(var i=t.children,a=void 0,o=0;o<=i.length-1;o++)(a=i[o].getAttribute("data-src"))&&(i[o].src=a);t.load()}t.getAttribute("data-poster")&&(t.poster=t.getAttribute("data-poster")),t.getAttribute("data-src")&&(t.src=t.getAttribute("data-src")),t.getAttribute("data-srcset")&&t.setAttribute("srcset",t.getAttribute("data-srcset"));var c=",";if(t.getAttribute("data-background-delimiter")&&(c=t.getAttribute("data-background-delimiter")),t.getAttribute("data-background-image"))t.style.backgroundImage="url('"+t.getAttribute("data-background-image").split(c).join("'),url('")+"')";else if(t.getAttribute("data-background-image-set")){var s=t.getAttribute("data-background-image-set").split(c),d=s[0].substr(0,s[0].indexOf(" "))||s[0];d=-1===d.indexOf("url(")?"url("+d+")":d,1===s.length?t.style.backgroundImage=d:t.setAttribute("style",(t.getAttribute("style")||"")+"background-image: "+d+"; background-image: -webkit-image-set("+s+"); background-image: image-set("+s+")")}t.getAttribute("data-toggle-class")&&t.classList.toggle(t.getAttribute("data-toggle-class"))},loaded:function(){}};function r(e){e.setAttribute("data-loaded",!0)}var n=function(e){return"true"===e.getAttribute("data-loaded")},i=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document;return e instanceof Element?[e]:e instanceof NodeList?e:t.querySelectorAll(e)};return function(){var e,a,o=0<arguments.length&&void 0!==arguments[0]?arguments[0]:".lozad",c=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},s=Object.assign({},t,c),d=s.root,l=s.rootMargin,u=s.threshold,p=s.load,g=s.loaded,f=void 0;"undefined"!=typeof window&&window.IntersectionObserver&&(f=new IntersectionObserver((e=p,a=g,function(t,i){t.forEach((function(t){(0<t.intersectionRatio||t.isIntersecting)&&(i.unobserve(t.target),n(t.target)||(e(t.target),r(t.target),a(t.target)))}))}),{root:d,rootMargin:l,threshold:u}));for(var h,m=i(o,d),b=0;b<m.length;b++)(h=m[b]).getAttribute("data-placeholder-background")&&(h.style.background=h.getAttribute("data-placeholder-background"));return{observe:function(){for(var e=i(o,d),t=0;t<e.length;t++)n(e[t])||(f?f.observe(e[t]):(p(e[t]),r(e[t]),g(e[t])))},triggerLoad:function(e){n(e)||(p(e),r(e),g(e))},observer:f}}}()},21757:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/cricket/predictors",function(){return r(29687)}])},29687:function(e,t,r){"use strict";r.r(t),r.d(t,{PredictorFetcher:function(){return N},__N_SSP:function(){return k},default:function(){return A}});var n=r(47568),i=r(10253),a=r(34051),o=r.n(a),c=r(85893),s=r(11719),d=r(39480),l=r(36077),u=r(82048),p=r(25749),g=r(64377),f=r(621),h=r(67294),m=r(84578),b=r.n(m);var v=function(e){var t=e.contextId,r=(0,h.useState)(!1),i=r[0],a=r[1],s=(0,h.useState)({}),l=s[0],u=s[1],p=function(){var e=(0,n.Z)(o().mark((function e(){var r,n,i,a,c;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,r=(0,f.ej)("_ht_clientid"),!(n=(0,f.ej)("token"))||!r||"undefined"===n){e.next=12;break}return i="/leaderboard/user-info?clientId=".concat(r,"&contestId=").concat(t.constestId),e.next=7,fetch("".concat(d.SRT).concat(i),{method:"GET",headers:{"Content-Type":"application/json"}});case 7:return a=e.sent,e.next=10,a.json();case 10:c=e.sent,u(c);case 12:e.next=17;break;case 14:e.prev=14,e.t0=e.catch(0),console.error("error",e.t0);case 17:case"end":return e.stop()}}),e,null,[[0,14]])})));return function(){return e.apply(this,arguments)}}();return(0,h.useEffect)((function(){var e=(0,f.ej)("token"),t=(0,f.ej)("_ht_clientid");e&&t&&"undefined"!==e?p():a(!0)}),[]),(0,c.jsxs)("div",{children:[(0,c.jsxs)("a",{href:"/cricket/predictors/predictions",className:b().predicCard,children:[(0,c.jsxs)("div",{className:b().flexCol,children:[(0,c.jsxs)("div",{className:b().predicText,children:[(0,c.jsx)("div",{className:b().predicTexTitle,children:"All Predictions"}),(0,c.jsx)("p",{children:"Participate in prediction and get a chance to win a Smartwatch"})]}),(0,c.jsx)("div",{className:b().reportImg,children:(0,c.jsx)("img",{src:"https://www.hindustantimes.c
1om/static-content/1y/ht/predictor/predictReport.png",alt:"",title:"",loading:"lazy"})})]}),!i&&(0,c.jsxs)("div",{className:b().buttonArea,children:[(0,c.jsxs)("div",{className:b().predicItm,children:[(0,c.jsx)("strong",{children:l.totalPredictionsPlayed}),"Participated"]}),(0,c.jsxs)("div",{className:b().predicItm,children:[(0,c.jsx)("img",{src:"https://www.hindustantimes.com/static-content/1y/ht/predictor/predicCorrect.png",title:"",alt:"",loading:"lazy"}),(0,c.jsx)("strong",{children:l.totalCorrectAnswers}),"Correct"]}),(0,c.jsxs)("div",{className:b().predicItm,children:[(0,c.jsx)("img",{src:"https://www.hindustantimes.com/static-content/1y/ht/predictor/predicincorrect.png",title:"",alt:"",loading:"lazy"}),(0,c.jsx)("strong",{children:l.totalIncorrectAnswers}),"Incorrect"]})]})]}),(0,c.jsxs)("a",{href:"/cricket/predictors/leaderboard",className:b().predicCard,children:[(0,c.jsxs)("div",{className:b().flexCol,children:[(0,c.jsxs)("div",{className:b().predicText,children:[(0,c.jsx)("div",{className:b().predicTexTitle,children:"Leaderboard"}),(0,c.jsx)("p",{children:"Improve your rank by participating daily and increase your winning chances"})]}),(0,c.jsx)("div",{className:b().rankingImg,children:(0,c.jsx)("img",{src:"https://www.hindustantimes.com/static-content/1y/ht/predictor/predictRanking.png",alt:"",title:"",loading:"lazy"})})]}),!i&&(0,c.jsx)("div",{className:b().buttonArea,children:(0,c.jsxs)("div",{className:b().predicItm,children:[(0,c.jsx)("img",{src:"https://www.hindustantimes.com/static-content/1y/ht/predictor/predictStar.png",title:"",alt:"",loading:"lazy"}),"Contest Rank:",l.overallMegaRank?(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("strong",{className:b().f16,children:[" "," ".concat(l.overallMegaRank)]}),(0,c.jsxs)("span",{children:[" /",l.totalContestants]})]}):(0,c.jsx)("span",{children:"Not Available"})]})})]}),(0,c.jsx)("a",{href:"/cricket/predictors/my-rewards",className:b().predicCard,children:(0,c.jsxs)("div",{className:b().flexCol,children:[(0,c.jsxs)("div",{className:b().predicText,children:[(0,c.jsx)("div",{className:b().predicTexTitle,children:"My Rewards"}),(0,c.jsx)("p",{children:"View and redeem your awards"})]}),(0,c.jsx)("div",{className:b().giftImg,children:(0,c.jsx)("img",{src:"https://www.hindustantimes.com/static-content/1y/ht/predictor/predictGift.png",alt:"",title:"",loading:"lazy"})})]})})]})},y=r(89388),x=r(60355),_=r(31838),j=r(57599),w=r.n(j),k=!0;function A(e){var t,r,n=(0,f.KV)("large"),i=null===_.Xj||void 0===_.Xj||null===(t=_.Xj.ads)||void 0===t||null===(r=t.desktopView)||void 0===r?void 0:r.rightAds;return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(g.Z,{headProp:e}),(0,c.jsx)(p.Z,{data:e}),(0,c.jsxs)("section",{className:n?"deks container":"mobile container",children:[(0,c.jsx)("section",{className:"mainContainer twoColumn ".concat(w().predicContainer),children:(0,c.jsx)("div",{className:w().predictorPage,children:(0,c.jsxs)("div",{className:w().container,children:[(0,c.jsxs)("div",{className:w().pageHead,children:[(0,c.jsx)("img",{src:"https://www.hindustantimes.com/static-content/1y/ht/predictor/crickitLogo.png",alt:"HT Cricket",title:"HT Cricket",loading:"lazy"}),(0,c.jsx)("strong",{children:"Predictor"})]}),(0,c.jsxs)("div",{className:w().secArea,children:[(0,c.jsx)(y.Z,{hideMenu:!0}),(0,c.jsx)(v,{contextId:e.contextId})]})]})})}),n&&(0,c.jsxs)("aside",{className:"rightContainer",children:[(0,c.jsx)(l.default,{fallbackRender:function(e){var t=e.error;return console.log(t)},children:(0,c.jsx)(u.default,{adData:i[0],containerClass:"adHeight270 right-top-ad",innerIdDivClass:"storyAd pt10",sectionName:e.sectionName,subSection:e.subSectionItem,pageType:e.pageType,landingAd:!0})}),(0,c.jsx)(x.default,{adData:i,pageType:e.pageType,sectionName:e.sectionName,subSection:e.subSectionItem})]})]})]})}var N=function(){var e=(0,n.Z)(o().mark((function e(t){var r,n,a,c,l,u;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=1,e.t0=i.Z,e.next=6,Promise.all([(0,f._i)("".concat(d.zBH,"cricket/predictors ")),(0,f._i)("https://www.hindustantimes.com/static-content/1y/predictorConstestId.json")]);
1case 6:e.t1=e.sent,a=(0,e.t0)(e.t1,2),r=a[0],n=a[1],e.next=16;break;case 13:e.prev=13,e.t2=e.catch(1),console.error(e.t2);case 16:return c="https://".concat(t.req.headers.host).concat(t.resolvedUrl),l=null===r||void 0===r?void 0:r.breadcrumbList,u={breadcrumbList:l},e.abrupt("return",{props:{pageData:r||{},pageType:"world-cup",subSectionItem:"",sectionName:"predictions",subSection:"",listItemSchema:(null===r||void 0===r?void 0:r.listCollectionStories)?(0,s.Yp)(r):{},webPageSchema:(null===r||void 0===r?void 0:r.keywords)?(0,s.aQ)(r,null,c,[]):{},breadcrumbListSchema:(null===u||void 0===u?void 0:u.breadcrumbList)?(0,s.Xn)(u):{},pageFullUrl:c,makeLogoHeadingInH2:!0,hideBottomAd:!1,pageUrl:t.resolvedUrl,faqSchema:(0,s.NX)(r),dataPage:!0,showLastModifiedMeta:!0,showGlobalScss:!1,showLayout:!0,cricketHeader:!0,showL2:!1,contextId:n}});case 20:case"end":return e.stop()}}),e,null,[[1,13]])})));return function(t){return e.apply(this,arguments)}}()},84578:function(e){e.exports={transition:"HomePage_transition__zU_tX",spriteImg:"HomePage_spriteImg__3Vhw5",predicContainer:"HomePage_predicContainer__bU8Uy",predicCard:"HomePage_predicCard__Yy6yL",rankingImg:"HomePage_rankingImg___G9OA",giftImg:"HomePage_giftImg__AQaAy",reportImg:"HomePage_reportImg__tQOnX",flexCol:"HomePage_flexCol__zwX1M",cardTtitle:"HomePage_cardTtitle__kbB_8",couponCopySec:"HomePage_couponCopySec__IIkUV",expired:"HomePage_expired__AGOxP",validityExpire:"HomePage_validityExpire__FfRkY",predicText:"HomePage_predicText__38WOi",predicTexTitle:"HomePage_predicTexTitle__X__Zt",buttonArea:"HomePage_buttonArea__WIlnR",predicItm:"HomePage_predicItm__7QSj7",f16:"HomePage_f16__Ri1O_"}},35800:function(e,t,r){!function(e,t){"use strict";function r(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var n=r(t);function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,i(e,t)}var o=function(e,t){return void 0===e&&(e=[]),void 0===t&&(t=[]),e.length!==t.length||e.some((function(e,r){return!Object.is(e,t[r])}))},c={error:null},s=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return(t=e.call.apply(e,[this].concat(n))||this).state=c,t.resetErrorBoundary=function(){for(var e,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];null==t.props.onReset||(e=t.props).onReset.apply(e,n),t.reset()},t}a(t,e),t.getDerivedStateFromError=function(e){return{error:e}};var r=t.prototype;return r.reset=function(){this.setState(c)},r.componentDidCatch=function(e,t){var r,n;null==(r=(n=this.props).onError)||r.call(n,e,t)},r.componentDidUpdate=function(e,t){var r,n,i=this.state.error,a=this.props.resetKeys;null!==i&&null!==t.error&&o(e.resetKeys,a)&&(null==(r=(n=this.props).onResetKeysChange)||r.call(n,e.resetKeys,a),this.reset())},r.render=function(){var e=this.state.error,t=this.props,r=t.fallbackRender,i=t.FallbackComponent,a=t.fallback;if(null!==e){var o={error:e,resetErrorBoundary:this.resetErrorBoundary};if(n.isValidElement(a))return a;if("function"===typeof r)return r(o);if(i)return n.createElement(i,o);throw new Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},t}(n.Component);function d(e,t){var r=function(r){return n.createElement(s,t,n.createElement(e,r))},i=e.displayName||e.name||"Unknown";return r.displayName="withErrorBoundary("+i+")",r}function l(e){var t=n.useState(null),r=t[0],i=t[1];if(null!=e)throw e;if(null!=r)throw r;return i}e.ErrorBoundary=s,e.useErrorHandler=l,e.withErrorBoundary=d,Object.defineProperty(e,"__esModule",{value:!0})}(t,r(67294))},82337:function(e,t,r){"use strict";
1function n(e){return n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(e)}function i(e){return n(e)}r.d(t,{Z:function(){return c}});var a=r(82222);function o(e,t){return!t||"object"!==(0,a.Z)(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=i(e);if(t){var a=i(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return o(this,r)}}},88029:function(e,t,r){"use strict";function n(e,t){return n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(e,t)}function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n(e,t)}r.d(t,{Z:function(){return i}})},82222:function(e,t,r){"use strict";function n(e){return e&&e.constructor===Symbol?"symbol":typeof e}r.d(t,{Z:function(){return n}})}},function(e){e.O(0,[80911,85518,621,11719,31838,25749,46019,21286,25891,37092,91040,49774,92888,40179],(function(){return t=21757,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
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.