PageSourceSearch

https://dailyhunt.in/_dh/_next/static/chunks/5066.8f1b77675a9e77ce.js

js dailyhunt.in collected 2026-09-24 08:38:46 UTC 7,994 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2685,5066,7447],{20609:(e,t,r)=>{r.d(t,{A:()=>f});var n=r(42969),o=r(67251),c=r(23745),i=r(76966),s=r(73910),a=r(52672),l=r(14232),u=r(37876);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach(function(t){(0,n.A)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let f=function(e){return function(t){(0,i.A)(l,t);var r,n=(r=function(){if("undefined"==typeof Reflect||!Reflect.construct||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}}(),function(){var e,t=(0,a.A)(l);return e=r?Reflect.construct(t,arguments,(0,a.A)(this).constructor):t.apply(this,arguments),(0,s.A)(this,e)});function l(){return(0,o.A)(this,l),n.apply(this,arguments)}return(0,c.A)(l,[{key:"render",value:function(){return(0,u.jsx)(e,p(p({},this.props),{},{history:this.props.router}))}}]),l}(l.Component)}},82685:(e,t,r)=>{r.r(t),r.d(t,{default:()=>T});var n,o,c=r(42969),i=r(67251),s=r(23745),a=r(76966),l=r(73910),u=r(52672),d=r(14232),p=r(74162),f=r(32131),h=r(30848),v=r(4518),x=r(89230),m=r(43505),g=r(3247),b=r(89099),y=r(20609),j=r(20371),O=r.n(j);r(48230);var w=r(37876);f.default.mixin(O());var k=(0,p.inject)("store")(n=(0,p.observer)(n=function(e){(0,a.A)(n,e);var t,r=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||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}}(),function(){var e,r=(0,u.A)(n);return e=t?Reflect.construct(r,arguments,(0,u.A)(this).constructor):r.apply(this,arguments),(0,l.A)(this,e)});function n(e){var t;return(0,i.A)(this,n),(t=r.call(this,e)).handleTabClick=function(e){t.setState({activeTab:e})},t.handleToChangeTopic=function(e,r,n){var o=t.store.selectedCountry,c=t.store.selectedLang,i="/news/".concat(o,"/").concat(x.A[c],"/").concat((0,m.DT)(r,"-"),"-topics-").concat(e,"?topicTitle=").concat(n,"&mode=pwa");t.props.router.push(i)},t.renderTopicGrid=function(){var e,r=t.state.activeTab,n=f.default.at(t.store,"isDesktop"),o=(0,g.i6)(null===(e=t.store)||void 0===e||null===(e=e.topics)||void 0===e||null===(e=e.data)||void 0===e?void 0:e.rows);return(0,w.jsx)(w.Fragment,{children:"Topics"===r?(0,w.jsx)(w.Fragment,{children:(0,w.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 box-border ".concat(n?"gap-4":"gap-[10px] "),children:null==o?void 0:o.map(function(e,r){var o,c,i=(0,h.AN)(f.default.at(e,"header.logoUrl"),{width:80,height:80}).webp,s=(null==i?void 0:i.length)>0&&-1===i.indexOf("mdm_default_404"),a=(null===(o=e.name)||void 0===o?void 0:o.length)%v.$Q.length||0,l=null===(c=e.name)||void 0===c?void 0:c.charAt(0);return(0,w.jsx)("div",{className:"group flex items-center justify-between cursor-pointer hover:bg-gray-100 transition duration-300 ease-in-out ".concat(n?" border border-gray-200 p-4 ":" border-0 p-[0px] m-[0px] "),onClick:function(){return t.handleToChangeTopic(e.id,e.nameEnglish,e.name)},children:(0,w.jsxs)("div",{className:"flex items-center  ".concat(n?"gap-4":" gap-[10px] "),children:[(0,w.jsx)("div",{className:"".concat(n?"w-[80px] h-[80px] overflow-hidden relative rounded-sm":"w-[50px] h-[50px] overflow-hidden relative rounded-sm"),children:s?(0,w.jsx)("img",{src:i,alt:e.name,className:"".concat(n?"w-[80px] h-[80px] object-cover":"w-[50px] h-[50px] object-cover"),loading:"lazy"}):(0,w.jsx)("div",{className:"w-[80px] h-[80px]",style:{backgroundColor:v.$Q[a]},children:(0,w.jsx)("p",{className:"flex items-center justify-center h-full text-gray-100 absolute inset-0",children:l})})}),(0,w.jsxs)("div",{children:[(0,w.jsx)("div",{className:"font-semibold text-black text-[14px] dark:group-hover:!text-black",children:e.name}),(0,w.jsxs)("div",{className:"text-[10px] text-gray-500 mt-1 dark:group-hover:!text-black",children:[f.default.at(e,"counts.FOLLOW.value")," Followers \xb7"," ",f.default.at(e,"counts.STORY.value")," Stories"]})]})]})},r)})})}):(0,w.jsx)(w.Fragment,{children:(0,w.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-4 box-border",children:null==o?void 0:o.map(function(e,r){var n,o,c=(0,h.AN)(f.default.at(e,"header.logoUrl"),{width:80,height:80}).webp,i=-1===c.indexOf("mdm_default_404"),s=(null===(n=e.name)||void 0===n?void 0:n.length)%v.$Q.length,a=null===(o=e.name)||void 0===o?void 0:o.charAt(0);return(0,w.jsx)("div",{className:"group flex items-center justify-between border border-gray-200 p-4 cursor-pointer hover:bg-gray-100 transition duration-300 ease-in-out",onClick:function(){return t.handleToChangeTopic(e.key,e.nameEnglish,e.name)},children:(0,w.jsxs)("div",{className:"flex items-center gap-4",children:[(0,w.jsx)("div",{className:"w-[80px] h-[80px] overflow-hidden relative rounded-sm",children:i?(0,w.jsx)("img",{src:c,alt:e.name,className:"w-[80px] h-[80px] object-cover",loading:"lazy"}):(0,w.jsx)("div",{className:"w-[80px] h-[80px]",style:{backgroundColor:v.$Q[s]},children:(0,w.jsx)("p",{className:"flex items-center justify-center h-full text-gray-100 absolute inset-0",children:a})})}),(0,w.jsxs)("div",{children:[(0,w.jsx)("div",{className:"font-semibold text-black text-[14px] dark:group-hover:!text-black",children:e.name}),(0,w.jsxs)("div",{className:"text-[10px] text-gray-500 mt-1 dark:group-hover:!text-black",children:[f.default.at(e,"counts.FOLLOW.value")," Followers \xb7"," ",f.default.at(e,"counts.STORY.value")," Stories"]})]})]})},r)})})})})},t.state={activeTab:"Topics"},t.store=t.props.store,t}return(0,s.A)(n,[{key:"render",value:function(){this.state.activeTab;var e=f.default.at(this.store,"isDesktop");return(0,w.jsx)("main",{children:(0,w.jsx)("div",{className:e?"relative min-h-[100vh] pt-[20px]":"p-0 relative min-h-[100vh] m-0 pt-[20px]",children:this.renderTopicGrid()})})}}]),n}(d.Component))||n)||n;let A=(0,b.withRouter)((0,y.A)(k));r(91870);var N=r(61544);function P(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}let T=(0,p.inject)("store")(o=(0,p.observer)(o=function(e){(0,a.A)(n,e);var t,r=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||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}}(),function(){var e,r=(0,u.A)(n);return e=t?Reflect.construct(r,arguments,(0,u.A)(this).constructor):r.apply(this,arguments),(0,l.A)(this,e)});function n(e){var t;return(0,i.A)(this,n),(t=r.call(this,e)).store=t.props.store,t.isDesktop=t.store.isDesktop,t}return(0,s.A)(n,[{key:"render",value:function(){return(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)("div",{className:"w-full",children:(0,w.jsx)("section",{className:"flex w-full max-w-[1250px] ".concat(this.isDesktop?"mx-auto":"px-[20px] mb-[50px]"),children:(0,w.jsx)(A,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?P(Object(r),!0).forEach(function(t){(0,c.A)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):P(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},this.props))})}),this.isDesktop&&(0,w.jsx)("div",{children:(0,w.jsx)(N.default,{type:"footer"})})]})}}]),n}(d.Component))||o)||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.