1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9597,9008,59,3758,6872],{4598:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[...storyid]",function(){return n(9713)}])},6872:function(e,t,n){"use strict";n.r(t);var l=n(5893);n(7294);var r=n(1163);t.default=e=>{let{route:t=""}=e,n=(0,r.useRouter)(),{isPreview:i}=null==n?void 0:n.query;return i?null:(0,l.jsxs)("div",{className:"pkd-back-button",onClick:t?()=>n.push(t):()=>n.back(),children:[(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:(0,l.jsxs)("g",{fill:"none",fillRule:"evenodd",children:[(0,l.jsx)("path",{d:"M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.019-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z"}),(0,l.jsx)("path",{fill:"currentColor",d:"M7.94 13.06a1.5 1.5 0 0 1 0-2.12l5.656-5.658a1.5 1.5 0 1 1 2.121 2.122L11.122 12l4.596 4.596a1.5 1.5 0 1 1-2.12 2.122l-5.66-5.658Z"})]})}),(0,l.jsx)("span",{children:"Back"})]})}},9614:function(e,t,n){"use strict";var l=n(5893),r=n(7294),i=n(1852),a=n(1163),o=n(1173),s=n(5701),d=n(776),c=n(2846);t.Z=function(e){var t,n,u,h,p;let{children:f}=e,v=(0,a.useRouter)(),{isPreview:w}=null==v?void 0:v.query,[g,m]=(0,r.useState)(0),x=(0,i.useMediaQuery)({query:"(max-width: 768px)"});(0,r.useEffect)(()=>{let e=setInterval(()=>{m(e=>{if(!(e>=60))return e+1;{let e;return Array.isArray(e=(e=localStorage.getItem("viewPageData"))?JSON.parse(e):[])&&e.length>0&&j(e),0}})},1e3);return()=>clearInterval(e)},[]);let j=async e=>{try{let t=await fetch("https://prod-pkd.project-turbine.in/stat-attribute-master/story/v2/update/view-stat",{method:"POST",headers:{...(0,c.Ek)(),"Content-Type":"application/json",apiKey:"5qs3ufo24d"},body:JSON.stringify(e[0])});if(!t.ok)throw Error("Failed to send data");await t.json(),localStorage.removeItem("viewPageData")}catch(e){console.error("Error sending data:",e.message)}};return(0,l.jsxs)(l.Fragment,{children:[w?"":(0,l.jsx)("div",{className:"pkd-fixed-header pkd-custom-header",children:(0,l.jsx)(o.default,{locationInfo:null==f?void 0:null===(h=f.props)||void 0===h?void 0:null===(u=h.storyData)||void 0===u?void 0:null===(n=u.metaData)||void 0===n?void 0:null===(t=n.location)||void 0===t?void 0:t.address,storyType:null==f?void 0:null===(p=f.props)||void 0===p?void 0:p.storyData,pageType:"innerpage"})}),f,!w&&x&&(0,l.jsx)(d.Z,{}),!w&&(0,l.jsx)(s.Z,{})]})}},9713:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return k},default:function(){return b}});var l=n(5893),r=n(2846),i=n(4259),a=n(7294),o=n(1163),s=n(5084);n(491);var d=n(9614),c=n(5479);n(5134);var u=n(6991),h=n(7296),p=n(1856),f=n(6872),v=n(1664),w=n.n(v),g=n(4859),m=()=>{let{language:e}=(0,g.o)();return(0,l.jsx)("div",{className:"pkd-story-bottom-linking",children:"hindi"===e?(0,l.jsxs)("p",{children:["हमà¥à¤"," ",(0,l.jsx)(w(),{href:"https://www.facebook.com/pinewz/",target:"_blank",children:"फà¥à¤¸à¤¬à¥à¤"})," ","पर लाà¤à¤ à¤à¤°à¥à¤,"," ",(0,l.jsxs)(w(),{href:"https://twitter.com/pinewz_official",target:"_blank",children:["à¤à¥à¤µà¤¿à¤à¤°"," "]}),"पर फà¥à¤²à¥ à¤à¤°"," ",(0,l.jsxs)(w(),{href:"https://www.youtube.com/@PINEWZOfficial",target:"_blank",children:["यà¥à¤à¥à¤¯à¥à¤¬"," "]}),"पर सबà¥à¤¸à¤à¥à¤°à¤¾à¤à¤¬à¥à¤¡ à¤à¤°à¥à¤ ताà¤à¤¿ à¤à¤ª ताà¤à¤¾ à¤à¤¬à¤°à¥à¤ à¤à¤° लाà¤à¤µ à¤
पडà¥à¤à¥à¤¸ पà¥à¤°à¤¾à¤ªà¥à¤¤ à¤à¤° सà¤à¥à¤| à¤à¤° यदि à¤à¤ª विसà¥à¤¤à¤¾à¤° सॠपढ़ना à¤à¤¾à¤¹à¤¤à¥ हà¥à¤ तॠ",(0,l.jsx)(w(),{href:"https://pinewz.com/hindi",children:"https://pinewz.com/hindi"})," सॠà¤à¥à¥à¥ à¤à¤° पाठà¤
पनॠà¤à¤²à¤¾à¤à¥ à¤à¥ हर à¤à¥à¤à¥ सॠà¤à¥à¤à¥ à¤à¤¬à¤°|"]}):(0,l.jsxs)("p",{children:["For breaking news and live news updates, like us on"," ",(0,l.jsx)(w(),{href:"https://www.facebook.com/pinewz/",target:"_blank",children:"Facebook"})," ","or follow us on"," ",(0,l.jsx)(w(),{href:"https://twitter.com/pinewz_official",target:"_blank",children:"Twitter"})," ","and"," ",(0,l.jsx)(w(),{href:"https://www.youtube.com/@PINEWZOfficial",target:"_blank",children:"YouTube"})," ",". Read more on Latest News on ",(0,l.jsx)(w(),{href:"https://pinewz.com/",children:"pinewz.com"})]})})},x=n(3903),j=n(419),y=n(7541),k=!0,b=function(e){let{storyData:t,initialArt
1icles:n,state_city:v=!1,metaTags:w}=e,{setLocation:k,language:b}=(0,g.o)(),{userId:S}=(0,j.Z)(),_=(0,o.useRouter)(),{isPreview:E}=null==_?void 0:_.query,[N,T]=(0,a.useState)((null==n?void 0:n.newsArticles)||[]),[q,D]=(0,a.useState)(!0),[P,z]=(0,a.useState)(!1),[O,I]=(0,a.useState)(1),[Z]=(0,a.useState)(()=>(0,p.sQ)()),R=(0,a.useMemo)(()=>{let e=[t,...N||[]].filter(e=>null==e?void 0:e.id),n=[],l=new Set;return e.forEach(e=>{l.has(e.id)||(l.add(e.id),n.push(e))}),n},[t,N]),{stats:A,refreshStats:L}=(0,y.l)(R),M=(0,a.useCallback)(async()=>{if(!P&&q){z(!0);try{let e;let t=S||"",n=b||"english",l=O+1;if(v){let t=_.asPath.split("/"),n="";t.length>=3&&(4===t.length?(t[1],n=t[3]):n=t[2]);let r="string"==typeof n&&n.trim()&&!n.includes(".json")?n.trim():"delhi";e="".concat("https://pkd-prod-cas.project-turbine.in/v1/home/articles/","all?pageNumber=").concat(l,"&pageSize=5&userid=all&latitude=1&longitude=1&articleType=VIDEO,STORY&city=").concat(r)}else e="".concat("https://pkd-prod-cas.project-turbine.in/v1/home/articles/","trending?pageNumber=").concat(l,"&pageSize=5&search=&userid=all&articleType=STORY,VIDEO&requestuserid=").concat(t);console.log("Loading more articles from:",e);let r=await i.Z.get(e,{headers:{Language:n,RequestUserHash:"",RequestUserId:t}}),a=null==r?void 0:r.data,o=(null==a?void 0:a.newsArticles)||[];o.length>0?(T(e=>[...e,...o]),I(l)):D(!1)}catch(e){console.error("Error loading more articles:",e),D(!1)}finally{z(!1)}}},[P,q,O,S,b,v,_.asPath]);return(0,a.useEffect)(()=>{let e=()=>{if(P||!q)return;let{scrollTop:e,scrollHeight:t,clientHeight:n}=document.documentElement;(e+n)/t>=.95&&M()},t=!1,n=()=>{t||(requestAnimationFrame(()=>{e(),t=!1}),t=!0)};return window.addEventListener("scroll",n),()=>window.removeEventListener("scroll",n)},[M,P,q]),(0,a.useEffect)(()=>{var e,n,l;(null==t?void 0:null===(e=t.metaData)||void 0===e?void 0:e.isDeeplink)&&("android"===Z?window.location.replace(h.s0+"&referrer=".concat(null==t?void 0:null===(n=t.metaData)||void 0===n?void 0:n.canonicalUrl)):"ios"===Z&&window.location.replace(h.l5+"?referrer=".concat(null==t?void 0:null===(l=t.metaData)||void 0===l?void 0:l.canonicalUrl)))},[Z,t]),(0,a.useEffect)(()=>{T((null==n?void 0:n.newsArticles)||[]),D(!0),I(1),z(!1),(0,r.B6)(t)},[null==n?void 0:n.newsArticles,_.asPath]),(0,l.jsx)(d.Z,{children:Object.keys(t).length>0&&!t.error&&(0,l.jsxs)(c.default,{children:[(0,l.jsx)(s.default,{propsStoryData:t,metaTags:v&&w,state_city:v}),(0,l.jsx)(f.default,{}),(0,l.jsxs)(u.Z,{isLoading:P,hasMore:q,length:N.length,children:[(0,l.jsx)(x.default,{data:[t],index:0,showDetail
1s:!0,storyStats:A[null==t?void 0:t.id],refreshStats:L}),!E&&(0,l.jsx)(m,{}),!E&&(null==N?void 0:N.map((e,n)=>e.id===t.id?null:(0,l.jsx)(x.default,{data:N,index:n,showMedia:!1,storyStats:A[e.id],refreshStats:L},e.id)))]})]})})}},1856:function(e,t,n){"use strict";function l(){if("undefined"==typeof navigator)return"web";let e=navigator.userAgent||navigator.vendor||window.opera||"",t=navigator.platform||"",n="number"==typeof navigator.maxTouchPoints?navigator.maxTouchPoints:0;return function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,l=String(e||"").toLowerCase(),r=String(t||""),i=l.includes("android")&&!l.includes("like mac os x"),a=/iphone|ipad|ipod/.test(l)||("MacIntel"===r||"macintel"===r)&&Number(n)>1;return i?"android":a?"ios":"web"}(String(e),String(t),n)}n.d(t,{sQ:function(){return l}})},9008:function(e,t,n){e.exports=n(6665)}},function(e){e.O(0,[9332,9146,1879,5084,5479,3903,3646,2888,9774,179],function(){return e(e.s=4598)}),_N_E=e.O()}]);
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.