PageSourceSearch

https://dmk.in/_next/static/chunks/pages/[locale]/resources/newsLetter-b2fc1808c2a24c86.js

js dmk.in collected 2026-10-02 10:44:14 UTC 12,617 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7941],{74433:function(t,e,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[locale]/resources/newsLetter",function(){return l(72810)}])},92655:function(t,e,l){"use strict";l.d(e,{c:function(){return v}});var i=l(85893),s=l(25675),r=l.n(s),n={src:"/_next/static/media/newStalin.56d36992.webp",height:711,width:1920,blurDataURL:"data:image/webp;base64,UklGRkQAAABXRUJQVlA4IDgAAACwAQCdASoIAAMAAkA4JZACdAD0gbSgAP6J3tG36AcDbIvuLjjqDKGyWmEyUZhx9+7w+t5MO+fgAA==",blurWidth:8,blurHeight:3},a=l(34961),d=l(8193),w=l(41664),o=l.n(w),c=l(67294),u=l(85518);function m(t){let{breadcrumbs:e}=t,{t:l}=(0,a.$G)("home"),s=(0,c.useRef)(null);return u.tq&&(0,c.useEffect)(()=>{if(e.length>2&&s.current){let t=s.current.lastChild;t.scrollIntoView({behavior:"smooth",block:"nearest",inline:"end"})}},[e]),(0,i.jsxs)("div",{ref:s,className:"custom-breadcrumbs tw-w-full tw-flex tw-pt-8 tw-items-center tw-pl-4 md:tw-overflow-x-scroll md:tw-block md:tw-whitespace-no-wrap md:tw-w-full md:tw-overflow-y-hidden sm:tw-overflow-x-scroll sm:tw-block sm:tw-whitespace-no-wrap sm:tw-w-full sm:tw-overflow-y-hidden xs:tw-overflow-x-scroll xs:tw-block xs:tw-whitespace-no-wrap xs:tw-w-full xs:tw-overflow-y-hidden ",children:[(0,i.jsx)("div",{className:"custom-breadcrumb tw-cursor-pointer tw-mr-1 tw-inline-flex md:tw-relative md:tw-pl-4 md:tw-h-full md:tw-pt-2 md:tw-pb-2 md:tw-pr-2 md:tw-inline-block md-min:tw-relative md-min:tw-pl-4 md-min:tw-h-full md-min:tw-pt-2 md-min:tw-pb-2 md-min:tw-pr-2 md-min:tw-inline-block sm:tw-relative sm:tw-pl-4 sm:tw-h-full sm:tw-pt-2 sm:tw-pb-2 sm:tw-pr-2 sm:tw-inline-block xs:tw-pl-4 xs:tw-h-full xs:tw-pt-2 xs:tw-pb-2 xs:tw-pr-2 xs:tw-inline-block xs:tw-relative",children:(0,i.jsx)(o(),{href:"/",passHref:!0,children:(0,i.jsxs)("span",{id:"home",className:"breadcrum-title-mobile tw-flex",children:[l("HOME")," ",(0,i.jsx)(d.V9Z,{className:"tw-ml-2"})]})})}),e.map((t,e)=>{let l=void 0!==t.link;return(0,i.jsx)("div",{className:"custom-breadcrumb  tw-cursor-pointer tw-mr-1 tw-inline-flex md:tw-relative md:tw-pl-4 md:tw-h-full md:tw-pt-2 md:tw-pb-2 md:tw-pr-2 md:tw-inline-block md-min:tw-relative md-min:tw-pl-4 md-min:tw-h-full md-min:tw-pt-2 md-min:tw-pb-2 md-min:tw-pr-2 md-min:tw-inline-block sm:tw-relative sm:tw-pl-4 sm:tw-h-full sm:tw-pt-2 sm:tw-pb-2 sm:tw-pr-2 sm:tw-inline-block xs:tw-pl-4 xs:tw-h-full xs:tw-pt-2 xs:tw-pb-2 xs:tw-pr-2 xs:tw-inline-block xs:tw-relative"+(l?"":" notclickable"),children:l?(0,i.jsx)("a",{href:t.link,children:(t.title.length,(0,i.jsx)("span",{className:"breadcrum-title-mobile tw-opacity-100",children:t.title}))}):(0,i.jsx)("span",{className:"breadcrum-title-mobile",children:t.title})},e)})]})}var x=l(11163),h=l(10212),p=l(16663);let v=t=>{let{title:e,breadcrumb:l}=t,{asPath:s}=(0,x.useRouter)(),a=(0,h.Is)(s),d=(0,c.useContext)(p.BannerContext),w=a.map(t=>{let e=t.split("/");return e[e.length-1]}),o=""===w[w.length-1]?"/".concat(w[w.length-2]):"/".concat(w.slice(-1)[0]),u=d.filter(t=>t.pathName===o).map(t=>({link:t.ImageLink,height:t.height,width:t.width}))[0];return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"banner-image-container",children:u?(0,i.jsx)(r(),{src:u.link,width:u.width,height:u.height,alt:h.e7,className:"banner-image"}):(0,i.jsx)(r(),{src:n,placeholder:"blur",alt:h.e7,className:"banner-image"})}),l&&(0,i.jsx)(m,{breadcrumbs:l}),(0,i.jsxs)("div",{className:"page-title-bar-container",children:[(0,i.jsx)("div",{className:"page-title"}),(0,i.jsx)("h1",{className:"page-title-text",children:e})]})]})}},20884:function(t,e,l){"use strict";var i=l(85893);l(67294);var s=l(22546),r=l(25675),n=l.n(r),a=l(86523);let d=t=>{let{imagesData:e,imageClass:l}=t;return(0,i.jsx)("div",{className:"tw-h-full tw-w-full",children:(0,i.jsx)(s.tq,{slidesPerView:1,spaceBetween:0,loop:!0,pagination:!0,autoplay:{delay:2500,disableOnInteraction:!1},modules:[a.tl,a.pt],effect:"fade",className:" tw-h-full tw-w-full",children:e.map(t=>(0,i.jsx)(s.o5,{className:"xs:tw-h-28",children:(0,i.jsx)(n(),{src:t.imageUrl,className:l,alt:t.alt,priority:!0,width:0,height:0,sizes:"100vw",style:{width:"100%",height:"100%"}})}))})})};e.Z=d},12682:function(t,e,l){"use strict";var i=l(85893),s=l(19222),r=l(87109);l(67294);let n=t=>{let{label:e,icon:l,onChange:n}=t;return(0,i.jsx)("div",{children:(0,i.jsx)(s.Z,{id:"outlined-basic",onChange:n,sx:{"& .MuiOutlinedInput-root":{color:"#FA5F5F !important",fontFamily:"Arial",fontWeight:"bold","& .MuiOutlinedInput-notchedOutline":{borderColor:"#FA5F5F  !important",borderWidth:"1px",borderRadius:"30px"}},"& .MuiInputLabel-outlined":{color:"#FA5F5F  !important",fontWeight:"400"},".MuiOutlinedInput-input":{width:l?"80% ":"100%",overflow:"hidden"},".MuiInputAdornment-root":{height:"100%",padding:"0 !important",width:"20%",maxHeight:"unset !important",display:"unset !important",position:"absolute",right:"0"}},InputProps:{endAdornment:l?(0,i.jsx)(r.Z,{position:"end",children:(0,i.jsx)("div",{className:"red-gradient tw-flex tw-h-full tw-w-full tw-items-center tw-justify-center tw-rounded-[30px] tw-text-center tw-text-white",children:l})}):null},size:"small",label:e,variant:"outlined"})})};e.Z=n},72810:function(t,e,l){"use strict";l.r(e),l.d(e,{__N_SSG:function(){return c},default:function(){return u}});var i=l(85893),s=l(92655);l(67294);var r=l(34961),n=l(20884),a=l(10212),d=l(17711),w=l(9008),o=l.n(w),c=!0;function u(t){let{allNewsLetterData:e}=t,{t:l}=(0,r.$G)("resources"),w=l("NewsLetter"),c=(0,a.Kd)(),u=[{title:l("Resources")},{title:l("NewsLetter"),link:"/".concat(c,"/resources/newsLetter")}],m=null==e?void 0:e.filter(t=>t.item.attributes.locale===("ta"===c?"ta-IN":c)),x=null==m?void 0:m.map((t,e)=>({imageUrl:t.item.attributes.banner_web.data[0].attributes.url,title:t.item.attributes.title||"Title ".concat(e+1),alt:t.item.attributes.title,id:e+1,locale:t.item.attributes.locale}));return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(o(),{children:[(0,i.jsx)("title",{children:l("meta_title")}),(0,i.jsx)("meta",{name:"description",content:l("meta_description")}),(0,i.jsx)("meta",{property:"og:description",content:l("meta_description")}),(0,i.jsx)("meta",{name:"keywords",content:l("meta_description")})]}),(0,i.jsxs)("section",{className:"tw-h-full tw-w-full ",children:[(0,i.jsx)(s.c,{title:l(w),breadcrumb:u}),(null==x?void 0:x.length)>0&&null!=x[0].imageUrl&&(0,i.jsx)("div",{className:"tw-mx-auto tw-h-[50vh] tw-w-[80%] tw-overflow-hidden tw-pb-4 tw-pt-4 xs:tw-h-[20vh]",children:(0,i.jsx)(n.Z,{imageClass:"tw-w-[100%] tw-h-full !tw-bg-cover",imagesData:x})}),(0,i.jsx)("div",{className:"tw-pt-6",children:(0,i.jsx)(d.default,{post:e})})]})]})}},44723:function(t,e,l){"use strict";l.r(e);var i=l(85893);l(67294);var s=l(25675),r=l.n(s),n=l(10212),a=l(41664),d=l.n(a),w=l(34961);let o=t=>{var e;let{data:l}=t,s=(0,n.Kd)(),a=l&&(null===(e=l.item)||void 0===e?void 0:e.attributes),o=l.item.attributes.banner_web.data[0].attributes.url||"",{t:c}=(0,w.$G)("home");return(0,i.jsxs)(d(),{href:"/".concat(s,"/resources/newsLetter/").concat(l.item?l.item.attributes.slug:l.id),className:"blog-cards",children:[(0,i.jsx)("div",{className:"event-pic",children:(0,i.jsx)(r(),{src:o,className:"important-events-thumbn
1ail img-cover",alt:n.e7,fill:!0})}),(0,i.jsxs)("div",{className:"event-description-container",children:[(0,i.jsxs)("div",{className:"date",children:[(0,i.jsx)("div",{className:"day",style:{fontSize:"18px"},children:(0,n.sG)(null==a?void 0:a.createdAt)}),(0,i.jsxs)("div",{className:"month",style:{fontSize:"10px"},children:[c((0,n.Sd)(null==a?void 0:a.createdAt).trim()),(0,n.SH)(null==a?void 0:a.createdAt)]}),(0,i.jsx)("div",{className:"year",style:{fontSize:"10px"}})]}),(null==a?void 0:a.Title.length)>80?(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("div",{className:"event_title",style:{fontSize:"9pt"},children:null==a?void 0:a.Title})}):(0,i.jsx)("div",{className:"event_title",children:null==a?void 0:a.Title})]})]})};e.default=o},17711:function(t,e,l){"use strict";l.r(e);var i=l(85893),s=l(95168),r=l(55819),n=l(67294),a=l(9221),d=l(44723),w=l(12682),o=l(34961),c=l(10212);let u=t=>{let{post:e}=t,[l,u]=(0,n.useState)(!1),{t:m}=(0,o.$G)("resources"),x=(0,c.Kd)(),[h,p]=(0,n.useState)(""),[v,b]=(0,n.useState)(e),[f,j]=(0,n.useState)("All"),[g,N]=(0,n.useState)({startDate:new Date,endDate:null,key:"selection"}),A=()=>{let t="ta"===x?"ta-IN":x;return null==e?void 0:e.filter(e=>e.item.attributes.locale===t)};(0,n.useEffect)(()=>{A()},[x]);let F=()=>(0,i.jsxs)(s.Z,{value:f,onChange:t=>{j(t.target.value)},sx:{height:"2.5rem",width:"100%",background:"transparent",color:"#FA5F5F",fontWeight:"bold","& .MuiSelect-select":{background:"transparent"},"& .MuiOutlinedInput-notchedOutline":{borderColor:"#FA5F5F",borderRadius:"30px",color:"#FA5F5F"},"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:"#FA5F5F",borderRadius:"30px",color:"#FA5F5F"},"&.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:"#FA5F5F",borderRadius:"30px",color:"#FA5F5F"}},MenuProps:{PaperProps:{sx:{bgcolor:"white",borderRadius:"10px 10px 30px 30px",marginTop:"0.1rem",border:"1px solid #FA5F5F","& .MuiMenuItem-root":{color:"#FA5F5F"}}}},children:[(0,i.jsx)(r.Z,{value:"All",children:m("All")}),(0,i.jsx)(r.Z,{value:"state",children:m("State Government")}),(0,i.jsx)(r.Z,{value:"union",children:m("Union Government")}),(0,i.jsx)(r.Z,{value:"opposition",children:m("Opposition Party")})]}),k=()=>!1===l?null==v?void 0:v.slice(0,6):v;(0,n.useEffect)(()=>{let t;e&&e.length>0&&b(A()),t=A(),""!==h.trim()&&(t=null==t?void 0:t.filter(t=>{var e;return null===(e=t.item.attributes)||void 0===e?void 0:e.title.toLowerCase().includes(h.toLowerCase())})),"All"!==f&&(t=null==t?void 0:t.filter(t=>{var e;return(null===(e=t.item.attributes)||void 0===e?void 0:e.type[0])===f.toLowerCase()})),g.startDate&&g.endDate&&(t=null==t?void 0:t.filter(t=>{var e,l;let i=new Date(null===(e=t.item)||void 0===e?void 0:null===(l=e.attributes)||void 0===l?void 0:l.date);return i>=g.startDate&&i<=g.endDate})),b(t)},[h,f,g,e]);let y=()=>(null==e?void 0:e.length)>5&&(0,i.jsx)("div",{className:"tw-w-full tw-pr-12 tw-text-end tw-text-7xl",children:l?(0,i.jsxs)("div",{className:"tw-flex tw-w-full tw-items-center",children:[(0,i.jsx)("div",{className:"tw-h-1 tw-w-[90%] tw-border-b-[1px] tw-border-[#E2464C]"}),(0,i.jsx)("div",{onClick:()=>{u(!1)},className:"tw-ml-3 tw-w-max tw-cursor-pointer tw-rounded-3xl tw-border-[1px] tw-border-[#E2464C] tw-px-4 tw-py-1 tw-text-xl tw-text-[#DB434A]",children:m("Collapse All")})]}):(0,i.jsxs)("div",{className:"tw-flex tw-w-full tw-items-center",children:[(0,i.jsx)("div",{className:"tw-h-1 tw-w-[90%] tw-border-b-[1px] tw-border-[#E2464C]"}),(0,i.jsx)("div",{onClick:()=>{u(!0)},className:"tw-ml-3 tw-w-max tw-cursor-pointer tw-rounded-3xl tw-border-[1px] tw-border-[#E2464C] tw-px-4 tw-py-1 tw-text-xl tw-text-[#DB434A]",children:m("Expand All")})]})});return(0,i.jsxs)("section",{className:"tw-h-full tw-w-full",children:[(0,i.jsxs)("div",{className:"tw-mx-auto tw-flex tw-h-[5vh] tw-w-[90%] tw-items-center xs:tw-block xs:tw-h-max",children:[(0,i.jsx)("h1",{className:"text-[#D04046] tw-w-max tw-pr-3 tw-text-2xl xs:tw-text-xl md:tw-text-lg ",children:m("Recent Blogs")}),(0,i.jsx)("div",{className:"tw-h-[1%] tw-w-[30%] tw-border-b-3 tw-border-[#D04046] xs:tw-hidden"}),(0,i.jsxs)("div",{className:"tw-flex tw-h-full tw-w-[50%] tw-justify-evenly xs:tw-w-full xs:tw-justify-around xs:tw-pt-8",children:[(0,i.jsx)("div",{className:"tw-w-[30%] xs:tw-w-[48%]",children:(0,i.jsx)(F,{})}),(0,i.jsx)("div",{className:"tw-w-[30%] xs:tw-w-[48%]",children:(0,i.jsx)(w.Z,{label:m("search_blog"),onChange:t=>p(t.target.value),icon:(0,i.jsx)("svg",{fill:"white",className:"tw-h-full tw-w-4",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:(0,i.jsx)("path",{d:"M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"})})})})]})]}),k()&&k().length>0?(0,i.jsx)("div",{className:"tw-mx-auto tw-grid tw-w-[100%] tw-gri
1d-cols-3 tw-place-items-center tw-gap-4 tw-py-8 xs:tw-grid-cols-1 sm:tw-grid-cols-2",children:k().map(t=>(0,i.jsx)(d.default,{data:t},t.id))}):(0,i.jsx)("div",{className:"tw-w-full tw-py-8 tw-text-center tw-text-2xl tw-text-black",children:m("No Records")}),(0,i.jsx)("div",{className:"tw-mx-auto tw-w-[90%] tw-text-center",children:(0,i.jsx)(y,{})}),(0,i.jsx)(a.Z,{})]})};e.default=u}},function(t){t.O(0,[5445,4617,5518,6152,2546,1918,8704,9221,9774,2888,179],function(){return t(t.s=74433)}),_N_E=t.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.