PageSourceSearch

https://www.punjabijagran.com/_next/static/chunks/pages/search/SearchLand-522f1534de893ade.js

js punjabijagran.com collected 2026-10-01 12:24:25 UTC 3,748 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6021],{7272:function(a,e,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/search/SearchLand",function(){return s(1854)}])},1854:function(a,e,s){"use strict";s.r(e),s.d(e,{__N_SSP:function(){return v},default:function(){return search_SearchLand}});var t=s(5893),i=s(1580),n=s(7294),d=s(4695),l=s(2317),c=s(7239),r=s(7434),o=s(391),_=s(3247),h=s(4298),u=s.n(h),GoogleAnalytic_SearchAnalytic=function(a){let{pagetype:e,category:s,subcategory:i}=a,d={};(0,n.useEffect)(()=>{d={event:"pageview",tvc_page_type:"search listing page",tvc_landing_page_type:" article listing",language:"punjabi"},window.dataLayer=window.dataLayer||[],window.dataLayer.push(d)},[e]);let l=JSON.stringify(d);return(0,t.jsx)(u(),{strategy:"lazyOnload",dangerouslySetInnerHTML:{__html:"\n        var dataLayer = window.dataLayer || [];\n        dataLayer.push(".concat(l,");\n      ")}})},x=s(5152),g=s.n(x);s(8062);var j=s(3267);let f=g()(()=>s.e(8592).then(s.bind(s,5201)),{loadableGenerated:{webpack:()=>[5201]}});var v=!0,search_SearchLand=function(a){let{isMobile:e,isDesktop:s}=(0,_.Z)(),{headerData:h,TOPNEWS:u,payload:x,focusData:g,footerData:v}=a,{searchQuery:y,setSearchQuery:m}=(0,j.R)(),w=(0,n.useRef)(null),[N,p]=(0,n.useState)(!1),[S,b]=(0,n.useState)(""),[A,L]=(0,n.useState)([]),[k,T]=(0,n.use
1State)(!1);return(0,n.useEffect)(()=>{let fetchSearchResults=async()=>{T(!0);try{let a=y?"".concat(d.X.TAG_BASED_LISTING).concat(encodeURIComponent(y),"/0/10"):"".concat(d.X.LATEST_API,"latestarticles/0/10"),e=await fetch(a,x);if(e&&e.ok){let a=await e.json();L(a||[])}else L([])}catch(a){console.error("Search API error:",a),L([])}finally{T(!1)}};fetchSearchResults()},[x,y]),(0,t.jsxs)(i.default,{focusData:g,footerData:v,headerData:h,children:[(0,t.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),s&&(0,t.jsx)("div",{className:"GutterAdsLHS webAds advertiseTxt",children:(0,t.jsx)("div",{id:"landing_lhs_160x600",className:"adsView"})}),s&&(0,t.jsx)("div",{className:"GutterAdsRHS webAds advertiseTxt",children:(0,t.jsx)("div",{id:"landing_rhs_160x600",className:"adsView"})}),(0,t.jsxs)("div",{ref:w,children:[(0,t.jsx)(f,{authorData:""}),(0,t.jsx)(r.default,{keywords:y,category:"search",pageType:"landing",scrollRef:w}),(0,t.jsx)("div",{className:"big-ad desktopAd mb30",id:"landing_pagepush_980x50"}),(0,t.jsxs)("section",{className:"mainArticle",children:[(0,t.jsx)("div",{className:"left",children:(0,t.jsxs)("div",{className:"stickybar",children:[(0,t.jsx)(GoogleAnalytic_SearchAn
1alytic,{category:"search",subcategory:y}),k?(0,t.jsxs)("div",{className:"loadingText",children:['Searching news for "',y,'"...']}):(0,t.jsx)(l.Z,{data:A,payload:x,category:y,skipInitialFetch:!0,title:y?"".concat(y):"ਖੋਜ ਨਤੀਜੇ"}),e&&(0,t.jsx)("div",{className:"ad300_1",id:"mlanding_interstitial_1x1"}),(0,t.jsx)("div",{id:"videoplayer"})]})}),(0,t.jsx)("div",{className:"right",children:(0,t.jsxs)("div",{className:"stickybar",children:[s&&(0,t.jsx)("div",{className:"ad300",id:"landing_top_300x250"}),u&&(0,t.jsx)(c.default,{data:u,title:"ਪੜ੍ਹਨਾ ਚਾਹੀਦਾ ਹੈ"}),s&&(0,t.jsx)("div",{className:"ad300",id:"landing_medium_300x250"})]})}),s&&(0,t.jsx)("div",{className:"ad300_1",id:"landing_interstitial_1x1"}),s&&(0,t.jsx)("div",{className:"ad300_1",id:"landing_video_interstitial_1x1"}),e&&(0,t.jsx)("div",{className:"ad300_1",id:"mlanding_video_interstitial_1x1"})]}),(0,t.jsxs)(o.Z,{children:[(0,t.jsx)("div",{className:"newsBox taboolaads",children:(0,t.jsx)("div",{id:"taboola-below-category-thumbnails"})}),(0,t.jsx)("script",{"data-src":"../../Landingtaboola.js"})]})]})]})}}},function(a){a.O(0,[8592,9774,1216,2888,179],function(){return a(a.s=7272)}),_N_E=a.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.