PageSourceSearch

https://www.tamiltshirts.in/_next/static/chunks/app/(storefront)/blog/page-0074b1667f890b70.js

js tamiltshirts.in collected 2026-10-02 00:37:40 UTC 11,338 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="ba8c29ed-89ad-49c6-bd3c-2783aa2434c7",e._sentryDebugIdIdentifier="sentry-dbid-ba8c29ed-89ad-49c6-bd3c-2783aa2434c7")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6901],{28064:(e,a,r)=>{Promise.resolve().then(r.bind(r,32061))},32061:(e,a,r)=>{"use strict";r.d(a,{default:()=>p});var t=r(95155),c=r(88661),s=r.n(c),l=r(12115),o=r(70898),n=r(22663),i=r(64796),d=r(263),x=r(86140),m=r(91193),f=r(17288);let p=e=>{let{BlogData:a}=e;function r(e){if(!e)return"No description available.";if("undefined"!=typeof DOMParser)try{return new DOMParser().parseFromString(e,"text/html").body.textContent||"No description available."}catch(e){}return e.replace(/<[^>]+>/g,"")||"No description available."}let[c,p]=(0,l.useState)({newsemail:"",newsemailError:!1,formloading:!1}),[u,b]=(0,l.useState)(1),h=(0,l.useRef)(null),g=Array.isArray(a)?a:[],j=Math.max(1,Math.ceil(g.length/6)),y=Math.min(u,j),v=g.slice((y-1)*6,6*y),w=e=>{var a;let r=Math.min(Math.max(1,e),j);r!==y&&(b(r),null==(a=h.current)||a.scrollIntoView({behavior:"smooth",block:"start"}))},N=async e=>{e.preventDefault();let a=!1;if(""===c.newsemail?(E({target:{value:!0,name:"newsemailError"}}),a=!0):E({target:{value:!1,name:"newsemailError"}}),a)return;E({target:{value:!0,name:"formloading"}});let r={email:c.newsemail};return await (0,i.BP)(d.AK.NEWSLETTERFORMAPI,r).then(e=>((null==e?void 0:e.data)?(k(),p({newsemail:"",newsemailError:!1,formloading:!1})):A("Newsletter validation error."),E({target:{value:!1,name:"formloading"}}),!0)).catch(e=>{let a="Newsletter validation error.";if(e.response&&e.response.data&&e.response.data.message&&(a=e.response.data.message,e.response.data.errors&&"object"==typeof e.response.data.errors)){let r=Object.values(e.response.data.errors).flat().join(", ");a+=": ".concat(r)}return A(a),E({target:{value:!1,name:"formloading"}}),!1})},E=e=>{let{name:a,value:r}=e.target;p(e=>({...e,[a]:r}))},k=()=>n.Ay.success("Newsletter subscribed successfully.",{style:{border:"1px solid #00b852",padding:"16px",color:"#00b852",zIndex:"10000 !important"},iconTheme:{primary:"#00b852",secondary:"#FFFAEE"}}),A=e=>n.Ay.error(e,{style:{border:"1px solid #cc0000",padding:"16px",color:"#cc0000",zIndex:"10000 !important"},iconTheme:{primary:"#cc0000",secondary:"#FFFAEE"}});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"jsx-5ca1871edeeccfc5 mx-auto max-w-7xl py-12",children:(0,t.jsxs)("div",{className:"jsx-5ca1871edeeccfc5 flex flex-col md:flex-row gap-8",children:[(0,t.jsxs)("div",{ref:h,style:{scrollbarWidth:"thin",scrollbarColor:"#888 #fff"},className:"jsx-5ca1871edeeccfc5 md:w-2/3 w-full overflow-x-hidden scroll-mt-24",children:[(0,t.jsx)("h1",{className:"jsx-5ca1871edeeccfc5 px-4 py-2 font-alice md:text-lg rounded-md transition-all duration-300 bg-white text-black text-3xl font-bold",children:"Our Blogs"}),(0,t.jsx)("div",{className:"jsx-5ca1871edeeccfc5 grid grid-cols-1 md:grid-cols-2 px-4 md:px-0 gap-4 py-2 md:py-8",children:g.length>0?v.map((e,a)=>{var c,s,l;let o=e.published_at||e.created_at,n=o?new Date(o).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"}):"No Date Available",i=e.tags?e.tags.split(",").map(e=>e.trim()).filter(Boolean):[];return(0,t.jsx)("div",{className:"jsx-5ca1871edeeccfc5 group",children:(0,t.jsx)("a",{href:"/blog/".concat(e.slug),className:"jsx-5ca1871edeeccfc5 no-underline block",children:(0,t.jsxs)("div",{className:"jsx-5ca1871edeeccfc5 bg-white rounded-2xl overflow-hidden border border-gray-100 hover:border-gray-200 shadow-sm hover:shadow-xl hover:-translate-y-1.5 transition-all duration-500 flex flex-col h-full",children:[(0,t.jsxs)("div",{className:"jsx-5ca1871edeeccfc5 relative overflow-hidden aspect-[16/10] bg-gray-50",children:[(0,t.jsx)("img",{src:e.image?"".concat((0,f.o5)()).concat(e.image):"/ecomsaas-assets/images/no-image.webp",alt:e.title||"Recent Post",onError:e=>{e.currentTarget.src="/ecomsaas-assets/images/no-image.webp"},className:"jsx-5ca1871edeeccfc5 w-full h-full object-cover group-hover:scale-105 transition-transform duration-700 ease-out"}),(0,t.jsx)("div",{className:"jsx-5ca1871edeeccfc5 absolute inset-0 bg-gradient-to-t from-black/20 via-trans
1parent to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-500"}),e.video&&(0,t.jsx)("div",{className:"jsx-5ca1871edeeccfc5 absolute top-4 right-4 bg-black/60 backdrop-blur-md text-white rounded-full p-2 flex items-center justify-center shadow-lg transition-transform duration-300 group-hover:scale-110",children:(0,t.jsx)("svg",{viewBox:"0 0 24 24",className:"jsx-5ca1871edeeccfc5 w-5 h-5 text-white fill-current",children:(0,t.jsx)("path",{d:"M8 5v14l11-7z",className:"jsx-5ca1871edeeccfc5"})})})]}),(0,t.jsxs)("div",{className:"jsx-5ca1871edeeccfc5 p-6 flex flex-col flex-grow",children:[i.length>0&&(0,t.jsx)("div",{className:"jsx-5ca1871edeeccfc5 flex flex-wrap gap-2 mb-3",children:i.slice(0,2).map((e,a)=>(0,t.jsx)("span",{className:"jsx-5ca1871edeeccfc5 bg-primary/10 text-primary text-[11px] font-semibold tracking-wide uppercase px-2.5 py-1 rounded-full transition-colors duration-300 group-hover:bg-primary group-hover:text-white",children:e},a))}),(0,t.jsx)("h2",{className:"jsx-5ca1871edeeccfc5 text-[#1A1A1A] font-alice text-xl md:text-2xl font-bold leading-snug mb-3 group-hover:text-primary transition-colors duration-300 line-clamp-2",children:e.title||"No Title Available"}),(0,t.jsx)("p",{className:"jsx-5ca1871edeeccfc5 text-gray-600 font-alice text-sm md:text-base leading-relaxed mb-6 line-clamp-3",children:(null==(c=r(e.short_content))?void 0:c.length)>160?r(e.short_content).slice(0,160)+"...":r(e.short_content)||"No description available."}),(0,t.jsxs)("div",{className:"jsx-5ca1871edeeccfc5 mt-auto pt-4 border-t border-gray-100 flex items-center justify-between text-xs text-gray-500 font-alice",children:[(0,t.jsxs)("div",{className:"jsx-5ca1871edeeccfc5 flex items-center gap-1.5",children:[(0,t.jsx)("div",{className:"jsx-5ca1871edeeccfc5 w-6 h-6 rounded-full bg-primary/10 flex items-center justify-center text-primary font-bold text-[10px]",children:"TT"}),(0,t.jsx)("span",{className:"jsx-5ca1871edeeccfc5 font-semibold text-gray-700",children:e.published_by||"TamilTshirts"})]}),(0,t.jsx)("span",{className:"jsx-5ca1871edeeccfc5 font-medium text-gray-400",children:n})]})]})]})})},null!=(l=null!=(s=e.id)?s:e.slug)?l:a)}):(0,t.jsx)("div",{className:"jsx-5ca1871edeeccfc5 flex justify-center items-center w-full col-span-2 py-12",children:(0,t.jsx)("img",{style:{width:"150px"},src:"/ecomsaas-assets/loader/sandprocess.gif",alt:"".concat((0,m.i3)("store")," loader"),className:"jsx-5ca1871edeeccfc5 mx-auto"})})}),j>1&&(0,t.jsxs)("nav",{"aria-label":"Blog pagination",className:"jsx-5ca1871edeeccfc5 flex flex-wrap items-center justify-center gap-2 px-4 md:px-0 pb-4",children:[(0,t.jsx)("button",{type:"button",onClick:()=>w(y-1),disabled:1===y,"aria-label":"Previous page",className:"jsx-5ca1871edeeccfc5 font-alice rounded-md border border-[#DEE2E6] px-3 py-2 text-sm md:text-base text-primary transition-colors hover:bg-[#F2F7E0] disabled:cursor-not-allowed disabled:opacity-40",children:"Prev"}),(()=>{if(j<=7)return Array.from({length:j},(e,a)=>a+1);let e=[1],a=Math.max(2,y-1),r=Math.min(j-1,y+1);a>2&&e.push("...");for(let t=a;t<=r;t++)e.push(t);return r<j-1&&e.push("..."),e.push(j),e})().map((e,a)=>"..."===e?(0,t.jsx)("span",{className:"jsx-5ca1871edeeccfc5 px-2 text-gray-400 select-none",children:"…"},"ellipsis-".concat(a)):(0,t.jsx)("button",{type:"button",onClick:()=>w(e),"aria-label":"Go to page ".concat(e),"aria-current":e===y?"page":void 0,className:"jsx-5ca1871edeeccfc5 "+"font-alice rounded-md border px-3.5 py-2 text-sm md:text-base transition-colors ".concat(e===y?"!bg-primary border-primary text-white":"border-[#DEE2E6] text-primary hover:bg-[#F2F7E0]"),children:e},e)),(0,t.jsx)("button",{type:"button",onClick:()=>w(y+1),disabled:y===j,"aria-label":"Next page",className:"jsx-5ca1871edeeccfc5 font-alice rounded-md border border-[#DEE2E6] px-3 py-2 text-sm md:text-base text-primary transition-colors hover:bg-[#F2F7E0] disabled:cursor-not-allowed disabled:opacity-40",children:"Next"})]})]}),(0,t.jsx)("div",{className:"jsx-5ca1871edeeccfc5 md:w-1/3 w-full",children:(0,t.jsx)("div",{className:"jsx-5ca1871edeeccfc5 bg-[#FBFFD9] rounded-xl p-6 md:p-10 sticky top-24",children:(0,t.jsxs)("div",{className:"jsx-5ca1871edeeccfc5 text-center",children:[(0,t.jsx)("h2",{className:"jsx-5ca1871edeeccfc5 text-[#3A3A3A] font-alice text-xl md:text-2xl",children:"SIGN UP FOR NEWSLETTER"}),(0,t.jsx)("h2",{className:"jsx-5ca1871edeeccfc5 text-[#3A3A3A] font-alice text-sm md:text-base py-2 md:pb-8",children:"Subscribe to the newsletter for all the latest updates"}),(0,t.jsx)("input",{id:"newsemail",name:"newsemail",value:c.newsemail,onChange:E,type:"text",placeholder:"Enter Mail","aria-label":"Recipient's username","aria-describedby":"button-addon2",className:"jsx-5ca1871edeeccfc5 w-full border border-[#DEE2E6] rounded-md px-5 py-3 text-base"}),(0,t.jsx)(x.A,{loading:c.formloading,width:"2px",height:"10px",color:"#86BC42"}),(0,t.jsx)("p",{className:"jsx-5ca1871edeeccfc5 "+"text-red-500 mt-2 ".concat(c.newsemailError?"block":"hidden"),children:"Please enter your email."}),(0,t.jsx)("button",{id:"button-addon2",onClick:e=>N(e),type:"button",className:"jsx-5ca1871edeeccfc5 w-full !bg-primary text-[#F5F5DC] font-alice text-base md:text-lg rounded-md border border-[#849D6A] py-3 mt-4 mb-10",children:"SUBSCRIBE"}),(0,t.jsxs)("div",{className:"jsx-5ca1871edeeccfc5 flex justify-center gap-8",children:[(0,f.OJ)("Facebook")&&(0,t.jsx)("a",{href:(0,f.OJ)("Facebook"),target:"_blank",rel:"noopener noreferrer","aria-label":"TamilTshirts Facebook Page",className:"jsx-5ca1871edeeccfc5",children:(0,t.jsx)(o.ok6,{className:"text-primary text-2xl"})}),(0,f.OJ)("Instagram")&&(0,t.jsx)("a",{href:(0,f.OJ)("Instagram"),target:"_blank",rel:"noopener noreferrer","aria-label":"TamilTshirts Instagram Page",className:"jsx-5ca1871edeeccfc5",children:(0,t.jsx)(o.ao$,{className:"text-primary text-2xl"})})]})]})})})]})}),(0,t.jsx)(s(),{id:"5ca1871edeeccfc5",children:".overflow-x-hidden.jsx-5ca1871edeeccfc5::-webkit-scrollbar{width:3px}.overflow-x-hidden.jsx-5ca1871edeeccfc5::-webkit-scrollbar-track{background-color:#fff}.overflow-x-hidden.jsx-5ca1871edeeccfc5::-webkit-scrollbar-thumb{background-color:#888;border-radius:4px}.overflow-x-hidden.jsx-5ca1871edeeccfc5::-webkit-scrollbar-thumb:hover{background-color:#555}@media(max-width:768px){.overflow-x-auto.jsx-5ca1871edeeccfc5{overflow-x:auto;-webkit-overflow-scrolling:touch}}"})]})}},91193:(e,a,r)=>{"use strict";r.d(a,{JO:()=>l,i3:()=>t,zM:()=>s,zT:()=>c});let t=e=>null==e||""===e?"":String(e).replace(/\s/g,"").toLowerCase(),c=e=>null!=e&&""!==e,s=e=>{try{return JSON.parse(e),!0}catch(e){return!1}},l=function(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return null!=e&&""!==e&&!!Array.isArray(e)&&(!!Array.isArray(e)&&(0===a||!!(e.length>=a))||!1)}}},e=>{e.O(0,[6711,5376,4613,6409,4796,9793,8441,5857,7358],()=>e(e.s=28064)),_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.