PageSourceSearch

https://www.punjabijagran.com/_next/static/chunks/pages/listing/StateListing-07cbd3dea0f9e716.js

js punjabijagran.com collected 2026-10-01 12:24:23 UTC 6,883 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9046],{2658:function(i,e,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/listing/StateListing",function(){return s(2205)}])},2205:function(i,e,s){"use strict";s.r(e),s.d(e,{__N_SSP:function(){return y},default:function(){return listing_StateListing}});var t=s(5893),a=s(1580),n=s(7294),l=s(1254),d=s(6131),c=s(2738),o=s(7239);s(3291);var r=s(8062),m=s(5507),x=s(7434),j=s(391),g=s(3247),h=s(1091),u=s(5675),_=s.n(u),f=s(4695),b=s(1664),v=s.n(b),w=s(1101),Listing_ListingCompState=function(i){let{category:e,subcategory:s,data:a,title:l,payload:d}=i,{isMobile:c,isDesktop:o}=(0,g.Z)(),[m,x]=(0,n.useState)(a),[j,h]=(0,n.useState)(1);return(0,n.useEffect)(()=>{let fetchPosts=async()=>{try{let i=await fetch("".concat(f.X.City_API,"/").concat(s,"/").concat(j,"/12"),d);if(!i.ok)throw Error("Failed to fetch posts");console.log(i);let e=await i.json(),t=e||[];x(i=>[...i,...t])}catch(i){console.error("Error fetching posts:",i)}};fetchPosts()},[e,s,j,d]),(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:"listingSide",children:[(0,t.jsxs)("h1",{children:[l," ਖਬਰਾਂ"]}),m.map((i,e)=>(0,t.jsxs)(n.Fragment,{children:[(0,t.jsx)("div",{className:"block",children:(0,t.jsxs)(v(),{href:(0,r.MG)(i),title:i.headline,className:"listing-item",children:[(0,t.jsx)("div",{className:"image",children:(0,t.jsx)(_(),{loading:"lazy",width:215,height:122,onError:i=>{i.target.src="https://img.punjabijagran.com/punjabi/punjabi_jagran.jpg"},src:(0,w.sk)(i.imgName),alt:i.headline,quality:50})}),(0,t.jsxs)("div",{className:"text",children:[(0,t.jsxs)("h3",{children:[i.headline,"liveblog"==i.type?(0,t.jsx)("b",{className:"blogBlink",children:(0,t.jsx)("i",{})}):""]}),(0,t.jsxs)("div",{className:"full-width",children:[(0,t.jsx)("div",{className:"subtitle",children:i.category}),(0,t.jsx)("div",{className:"time",children:(0,r.FU)(i.modDate)})]})]})]})}),o&&3===e&&(0,t.jsx)("div",{className:"ad300",children:(0,t.jsx)("div",{id:"listing_bottom_300x250"})}),3===e&&(0,t.jsx)("div",{className:"ad300 emobilef",id:"mlisting_top_300x250"}),c&&5===e&&(0,t.jsx)("div",{className:"ad300",id:"mlisting_medium_300x250"}),c&&7===e&&(0,t.jsx)("div",{className:"ad300",id:"mlisting_bottom_300x250"})]},e)),(0,t.jsx)("div",{className:"button",children:(0,t.jsx)("button",{onClick:()=>{h(i=>i+1)},className:"btn",children:"LOAD MORE"})})]})})};s(5152);var N=s(4298),p=s.n(N),y=!0,listing_StateListing=function(i){let{isMobile:e,isDesktop:s}=(0,g.Z)(),u=(0,n.useRef)(null),{headerData:_,focusData:f,footerData:b,SUBCATEGORY_LISTING_META_API:v,SUBCATEGORY_LISTING_API:w,TOPNEWS:N,category:y,subcategory:k,payload:E}=i,S=(0,r.nU)(w[0]);return w?(0,t.jsxs)(a.default,{Title:(0,r.nU)(v.title),Description:(0,r.nU)(v.desc),Keywords:(0,r.nU)(v.keywords),headerData:_,focusData:f,footerData:b,children:[s&&(0,t.jsx)("div",{className:"GutterAdsLHS webAds advertiseTxt",children:(0,t.jsx)("div",{id:"listing_lhs_160x600",className:"adsView"})}),s&&(0,t.jsx)("div",{className:"GutterAdsRHS webAds advertiseTxt",children:(0,t.jsx)("div",{id:"listing_rhs_160x600",className:"adsView"})}),(0,t.jsxs)("div",{ref:u,children:[w&&(0,t.jsx)(l.Z,{data:S||""}),(0,t.jsx)("div",{className:"big-ad desktopAd mb30",id:"listing_pagepush_980x50"}),(0,t.jsxs)("section",{className:"mainArticle linebottom",children:[(0,t.jsx)("div",{className:"line"}),(0,t.jsxs)("div",{className:"left",children:[(0,t.jsxs)("div",{className:"stickybar",children:[w&&(0,t.jsx)(Listing_ListingCompState,{data:w,payload:E,category:y,subcategory:k,title:S.stateURL?S.cityPb:S.subCategoryPb}),e&&(0,t.jsx)("div",{className:"ad300_1",id:"mlisting_interstitial_1x1"}),(0,t.jsx)("div",{id:"videoplayer"}),s&&(0,t.jsx)("div",{className:"ad300_1 mt30",id:"listing_interstitial_1x1"})]}),(0,t.jsx)("div",{className:"line"})]}),(0,t.jsx)("div",{className:"right",children:(0,t.jsxs)("div",{className:"stickybar",children:[(0,t.jsx)("div",{className:"ad300 ewebf",id:"listing_top_300x250"}),s&&N&&(0,t.jsx)(o.default,{data:N,title:"ਪੜ੍ਹਨਾ ਚਾਹੀਦਾ ਹੈ"}),s&&(0,t.jsx)("div",{className:"ad300",children:(0,t.jsx)("div",{id:"listing_medium_300x250"})})]})}),e&&(0,t.jsx)("div",{className:"ad300_1",children:(0,t.jsx)("div",{id:"mlisting_video_interstitial_1x1"})}),s&&(0,t.jsx)("div",{className:"ad300 mt30",children:(0,t.jsx)("div",{id:"listing_bottom_728x90"})})]}),s&&(0,t.jsx)("div",{className:"ad300_1 mt30",children:(0,t.jsx)("div",{id:"listing_video_interstitial_1x1"})}),(0,t.jsx)(x.default,{keywords:(0,r.nU)(v.keywords),category:(0,r.nU)(y),pageType:"listing",scrollRef:u}),w&&(0,t.jsx)(c.default,{headline:(0,r.nU)(v.title),summary:(0,r.nU)(v.desc),data:S}
1),(0,t.jsx)(h.Z,{dataAPI:w}),w&&(0,t.jsx)(m.Z,{subcategory:k,category:y,data:S||""}),(0,t.jsxs)(j.Z,{children:[(0,t.jsx)("div",{className:"newsBox taboolaads",children:(0,t.jsx)("div",{id:"taboola-below-category-thumbnails"})}),(0,t.jsx)(p(),{strategy:"lazyOnload",dangerouslySetInnerHTML:{__html:"\n                    window.taboolaInt = false;\n\n                    window.addEventListener('scroll', () => {\n                        const pageYOffset = window.pageYOffset;\n\n                        if (pageYOffset > 300 && !window.taboolaInt) {\n                        window._taboola = window._taboola || [];\n\n                        // Widget configuration\n                        window._taboola.push({\n                            mode: 'alternating-thumbnails-a',\n                            container: 'taboola-below-category-thumbnails',\n                            placement: 'Below Category Thumbnails',\n                            target_type: 'mix'\n                        });\n\n                        !function (e, f, u, i) {\n                            if (!document.getElementById(i)) {\n                            e.defer = 1;\n                            e.src = u;\n                            e.id = i;\n                            f.parentNode.insertBefore(e, f);\n                            }\n                        }(\n                            document.createElement('script'),\n                            document.getElementsByTagName('script')[0],\n                            '//cdn.taboola.com/libtrc/jagrannewmedia-punjabijagran/loader.js',\n                            'tb_loader_script'\n                        );\n\n                        if (\n                            window.performance &&\n                            typeof window.performance.mark === 'function'\n                        ) {\n                            window.performance.mark('tbl_ic');\n                        }\n\n                        window.taboolaInt = true;\n                        }\n                    });\n                    "}})]})]})]}):(0,t.jsx)(d.default,{})}}},function(i){i.O(0,[8592,9774,1216,2888,179],function(){return i(i.s=2658)}),_N_E=i.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.