PageSourceSearch

https://themomskart.com/_next/static/chunks/app/page-a7872177eb8129c6.js

js themomskart.com collected 2026-09-24 14:01:30 UTC 43,449 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1931],{4647:function(e,t,s){Promise.resolve().then(s.bind(s,39030))},63813:function(e,t,s){"use strict";var l=s(57437),r=s(2265),a=s(18649),n=s(98928),i=s(33145),d=s(49089),o=s(95380),c=s(19963),m=s(99376),u=s(68575),x=s(7142),h=s(5275),g=s(97910),p=s(87865),f=s(29578),b=s(89682),v=s(47166),j=s(41989);t.Z=(0,r.memo)(e=>{var t;let{item:s}=e,{addToCart:w,isAddingToCart:y}=(0,v.Z)(),{openModal:N,notifyWishlistChanged:A}=(0,a.d)(),k=(0,u.v9)(e=>{var t;return null===(t=e.user)||void 0===t?void 0:t.isLoggedIn}),S=(0,m.useRouter)(),[I,_]=(0,r.useState)(!1),M=(0,g.co)(s),[E,C]=(0,r.useState)((0,g.kq)(s));(0,r.useEffect)(()=>{C((0,g.kq)(s))},[M,null==s?void 0:s.isFavorite]);let P=async()=>{if(!k&&!(0,h.lk)()){N("ForgetPass");return}if(!M){c.Am.error("This product is currently unavailable.",{position:"top-center"});return}C(!E);try{let e=await (0,x.nG)(M);C(!!e.added),A(),c.Am.success(e.added?"Added to Wishlist":"Removed from Wishlist",{position:"top-center"})}catch(s){var e,t;C(E),c.Am.error((null==s?void 0:null===(t=s.response)||void 0===t?void 0:null===(e=t.data)||void 0===e?void 0:e.detail)||"Please login to use wishlist",{position:"top-center"})}},D=Number(null==s?void 0:s.average_rating)||0,T=e=>{if(!e||"undefined"===e||"null"===e){c.Am.error("This product is currently unavailable.",{position:"top-center"});return}S.push((0,f.wE)(e))},F=e=>{e&&"undefined"!==e&&"null"!==e&&S.prefetch((0,f.wE)(e))},O=(null==s?void 0:s.image)||(null==s?void 0:null===(t=s.images)||void 0===t?void 0:t[0])||"/Images/noImage.jpg",R=(null==s?void 0:s.title)?s.title.split(" ").length>5?s.title.split(" ").slice(0,6).join(" ")+"...":s.title:"",U=(null==s?void 0:s.sellername)||(null==s?void 0:s.seller_business_name)||(null==s?void 0:s.business_name)||"",H=(null==s?void 0:s.cityName)||(null==s?void 0:s.vCity)||"",{hasDiscount:L,discountPct:q}=(0,p.A)(s),Q=y(s),Z=(0,j.OW)(s),B=(0,j.xF)(s),V=async()=>{if(Z){if(B){T(null==s?void 0:s.slug);return}Q||await w(s,1)}};return(0,l.jsxs)("div",{className:"group flex h-full w-full flex-col overflow-hidden rounded-lg border border-brand-line/50 bg-white transition-shadow duration-200 hover:shadow-md",onMouseEnter:()=>F(null==s?void 0:s.slug),onTouchStart:()=>F(null==s?void 0:s.slug),children:[(0,l.jsxs)("div",{className:"relative aspect-square cursor-pointer overflow-hidden bg-[#f5f7fa]",onClick:()=>Z?T(null==s?void 0:s.slug):c.Am.error("Out Of Stock",{position:"top-center"}),children:[(0,l.jsx)(i.default,{src:O,alt:(null==s?void 0:s.title)||"Product",fill:!0,className:"object-cover transition-transform duration-300 group-hover:scale-[1.03] ".concat(I?"opacity-100":"opacity-0"," ").concat(Z?"":"grayscale-[0.35]"),sizes:"(max-width: 640px) 48vw, (max-width: 768px) 33vw, 20vw",onLoad:()=>_(!0)}),Z?null:(0,l.jsx)("span",{className:"absolute inset-x-0 bottom-0 bg-black/55 py-1 text-center font-Montserrat text-[10px] font-semibold uppercase tracking-wide text-white md:text-xs",children:"Out of stock"}),L&&q>0?(0,l.jsxs)("span",{className:"absolute left-1.5 top-1.5 rounded bg-brand-pink px-1.5 py-0.5 font-Montserrat text-[10px] font-bold text-white md:left-2 md:top-2 md:text-[11px]",children:[q,"% OFF"]}):null,(0,l.jsx)("button",{type:"button","aria-label":E?"Remove from wishlist":"Add to wishlist",className:"absolute right-1.5 top-1.5 flex h-7 w-7 items-center justify-center rounded-full bg-white/95 text-brand-pink shadow-sm transition hover:bg-white md:right-2 md:top-2 md:h-8 md:w-8",onClick:e=>{e.stopPropagation(),P()},children:E?(0,l.jsx)(d.$0H,{className:"text-xs text-brand-pink md:text-sm"}):(0,l.jsx)(d.BgW,{className:"text-xs md:text-sm"})}),(null==s?void 0:s.certified_seller)==="1"?(0,l.jsx)("div",{className:"absolute bottom-1.5 left-1.5 md:bottom-2 md:left-2",children:(0,l.jsx)(i.default,{src:n.Z,alt:"Trusted",width:28,height:28,className:"h-4 w-4 object-contain drop-shadow md:h-6 md:w-6"})}):null]}),(0,l.jsxs)("div",{className:"flex flex-1 flex-col px-2 pb-2 pt-1.5 md:px-2.5 md:pb-2.5 md:pt-2",children:[(0,l.jsxs)("div",{className:"min-h-0 flex-1 cursor-pointer",onClick:()=>Z?T(null==s?void 0:s.slug):c.Am.error("Out Of Stock",{position:"top-center"}),children:[(0,l.jsx)("p",{className:"line-clamp-2 min-h-[2rem] font-Quicksand text-[11px] font-medium leading-snug text-brand-ink md:min-
1h-[2.4rem] md:text-[13px]",children:R}),(0,l.jsxs)("p",{className:"mt-0.5 truncate font-Quicksand text-[10px] text-brand-muted md:text-[11px]",children:[U,H?", ".concat(H):""]}),(0,l.jsxs)("div",{className:"mt-1 flex items-center gap-1",children:[(0,l.jsx)(o.Z,{allowHalf:!0,disabled:!0,defaultValue:parseFloat(D),className:"product-card-rate text-[8px] md:text-[10px]"}),(0,l.jsxs)("span",{className:"font-Quicksand text-[9px] text-brand-muted md:text-[10px]",children:["(",(null==s?void 0:s.total_rating)||0,")"]})]}),(0,l.jsx)("div",{className:"mt-1.5",children:(0,l.jsx)(b.Z,{product:s,size:"sm"})})]}),(0,l.jsx)("button",{type:"button",disabled:!B&&Q||!Z,"aria-busy":!B&&Q,className:"mt-2 flex w-full items-center justify-center gap-1.5 rounded-md py-1.5 font-Montserrat text-[11px] font-semibold transition-colors duration-150 disabled:cursor-not-allowed md:mt-2.5 md:py-2 md:text-sm ".concat(Z?"bg-brand-pink text-white hover:bg-brand-pink-dark disabled:opacity-80":"bg-gray-200 text-gray-500"),onClick:()=>void V(),children:!B&&Q?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{className:"spinner-sm text-white","aria-hidden":!0}),(0,l.jsx)("span",{children:"Adding…"})]}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(d.FeP,{className:"text-xs md:text-sm"}),Z?B?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{className:"md:hidden",children:"Options"}),(0,l.jsx)("span",{className:"hidden md:inline",children:"Choose options"})]}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{className:"md:hidden",children:"Add"}),(0,l.jsx)("span",{className:"hidden md:inline",children:"Add to Cart"})]}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{className:"md:hidden",children:"Out"}),(0,l.jsx)("span",{className:"hidden md:inline",children:"Out of Stock"})]})]})})]})]})})},15797:function(e,t,s){"use strict";var l=s(57437);s(2265);var r=s(27648),a=s(94295);t.Z=e=>{let{icon:t,title:s,viewAllHref:n,viewAllLabel:i="View all"}=e;return(0,l.jsxs)("div",{className:"mt-4 flex w-full items-center justify-between gap-2 md:mt-8 md:gap-3",children:[(0,l.jsxs)("div",{className:"flex min-w-0 items-center gap-1.5 md:gap-2",children:[t?(0,l.jsx)(t,{className:"shrink-0 text-lg text-brand-pink md:text-2xl","aria-hidden":!0}):null,(0,l.jsx)("h2",{className:"truncate font-Montserrat text-sm font-bold text-brand-blue sm:text-base md:text-xl lg:text-2xl",children:s})]}),n?(0,l.jsxs)(r.default,{href:n,...String(n).startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{},className:"mk-focus-ring inline-flex shrink-0 items-center gap-0.5 font-Montserrat text-xs font-semibold text-brand-pink hover:text-brand-pink-dark md:text-sm",children:[i,(0,l.jsx)(a.hjJ,{className:"text-base"})]}):null]})}},58625:function(e,t,s){"use strict";s.d(t,{Cj:function(){return i},uJ:function(){return a}});var l=s(1455),r=s(50405);let a=(0,l.hg)("products/fetchHomeData",async(e,t)=>{try{return await (0,r.uJ)(e)}catch(e){var s;return t.rejectWithValue((null===(s=e.response)||void 0===s?void 0:s.data)||e.message||"Unknown error")}},{condition:(e,t)=>{let{getState:s}=t,{homeData:l}=s();return"loading"!==l.status}}),n=(0,l.oM)({name:"homeData",initialState:{data:[],status:"idle",error:null}
1,reducers:{setHomeDataFromCache:(e,t)=>{e.status="succeeded",e.data=t.payload,e.error=null}},extraReducers:e=>{e.addCase(a.pending,e=>{e.status="loading",e.error=null}).addCase(a.fulfilled,(e,t)=>{e.status="succeeded",e.data=t.payload}).addCase(a.rejected,(e,t)=>{e.status="failed",e.error="Request timed out"===t.payload?"No data found":t.payload})}}),{setHomeDataFromCache:i}=n.actions;t.ZP=n.reducer},39030:function(e,t,s){"use strict";s.d(t,{default:function(){return ep}});var l=s(57437),r=s(2265),a=s(33145),n=s(68575),i=s(32768),d=s(76417),o=s(85130),c=s(19956);let m=[{icon:i.wkh,title:"Free Delivery",subtitle:"On selected orders!"},{icon:d.g3s,title:"Handmade With Love",subtitle:"Crafted by moms!"},{icon:o.kjL,title:"Secure Payment",subtitle:"100% worry-free!"},{icon:c.Ee5,title:"Top Quality",subtitle:"Always here for you!",hideBelow:"sm"},{icon:d.LCs,title:"Limited stocks",subtitle:"Grab yours now!",hideBelow:"md"}];var u=()=>(0,l.jsx)("div",{className:"mt-3 flex w-full items-stretch justify-between gap-1.5 overflow-x-auto rounded-xl border border-brand-line/60 bg-white px-2 py-2 hide-scrollbar md:mt-4 md:gap-4 md:rounded-2xl md:px-4 md:py-3",children:m.map(e=>{let{icon:t,title:s,subtitle:r,hideBelow:a}=e;return(0,l.jsxs)("div",{className:"flex min-w-[5.5rem] flex-1 items-center gap-1.5 md:min-w-0 md:gap-3 ".concat("sm"===a?"hidden min-[600px]:flex":""," ").concat("md"===a?"hidden md:flex":""),children:[(0,l.jsx)("div",{className:"shrink-0 text-lg text-brand-pink md:text-3xl lg:text-4xl",children:(0,l.jsx)(t,{"aria-hidden":!0})}),(0,l.jsxs)("div",{className:"min-w-0",children:[(0,l.jsx)("p",{className:"truncate font-Quicksand text-[10px] font-semibold leading-tight text-brand-blue sm:text-[11px] md:text-sm lg:text-base",children:s}),(0,l.jsx)("p",{className:"truncate font-Quicksand text-[9px] leading-tight text-brand-muted sm:text-[10px] md:text-xs lg:text-sm",children:r})]})]},s)})}),x=s(29827),h=s(11713),g=s(50405),p=s(58625),f=s(36361),b=s(6406),v=s(27648),j=e=>{let{image:t}=e,[s,n]=(0,r.useState)(0);return(0,r.useEffect)(()=>{let e=()=>n(window.innerWidth);return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),(0,l.jsx)(b.Z,{dots:!0,arrows:!1,infinite:!0,scroll:!0,speed:750,slidesToShow:1,slidesToScroll:1,autoplay:!0,autoplaySpeed:3e3,customPaging:e=>(0,l.jsx)("div",{className:"w-3 h-3 bg-brand-blue  rounded-full "}),appendDots:e=>(0,l.jsx)("div",{style:{position:"absolute",bottom:"10px",width:"100%",display:"flex",justifyContent:"center",zIndex:10},children:(0,l.jsx)("ul",{className:"flex space-x-2 ",children:e})}),children:t.map((e,t)=>(0,l.jsx)(v.default,{href:e.call_action||e.click_action||"#",target:"_blank",rel:"noopener noreferrer",children:(0,l.jsx)(a.default,{src:s<=800&&e.offer_image_mobile?null==e?void 0:e.offer_image_mobile:null==e?void 0:e.offer_image,alt:"banner",width:s<=800?400:1720,height:s<=800?150:380,className:" w-full rounded-2xl object-fill ".concat(s<=800?"w-[400px] h-[150px]":"w-[1720px] h-[380px]")})},t))})},w=s(27004),y=s(45168),N=s(11140),A=s(49089),k=s(22744),S={src:"/_next/static/media/new-app-banner.5c0c8e24.png",height:263,width:981,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAACCAIAAADq9gq6AAAAPUlEQVR42gEyAM3/AOu0yvG+1NqvusqmpeLD1urR3/vn8Pzs8wDuwtTxxdncvbzRs6HUq7/etMf0w9j4xdrX1idRx5DQvgAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:2},I={src:"/_next/static/media/playstoreMob.9e94d608.png",height:558,width:640,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAHCAIAAAC6O5sJAAAAkklEQVR42h2N0QqCUBBEd+YuJpZEIFRERdD/f0FE+NCH9BJoBIVJuuGmDgwMA4cDuz0Aae3n7iIIhGrop8oYM2vMIBJPJqr96RwKBvJyzU/5Ge4ke1oJNtbeq+dimYEs6tcmikIIysD6XWeH7UcHdL5efcsqnaXaUyDRdVNqiGNxF0Awykla0x53e0mSoiwiwF3+AUQ9NXdr/sgAAAAASUVORK5CYII=",blurWidth:8,blurHeight:7},_={src:"/_next/static/media/footer-banner-join.83ac68e6.png",height:263,width:981,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAACCAIAAADq9gq6AAAAOklEQVR42mNISYjPTE6sLchryM9rryhJS0lsbqifO6GPoSQqrLK0pDo9tSmzrKe6tjI5tio9qaSmCgAT6RV8hI0prgAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:2},M={src:"/_next/static/media/AboutUs.d5b28d70.png",height:500,width:640,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAGCAIAAABxZ0isAAAAb0lEQVR42hWLMRLCQAzEdm1fUkB+AP//WBroAgXh8HlJ1Gk04vOdmSN71ygzExHTFOEhqVTI5Bgi4X6oZGfo3x0GmONE2j9xuUbVUAlmag0SM42Uio/XT2RtG9aVRt3uviyQggDNvDXOM4g6PhLSHxyNQ8oUfX8MAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:6},E=s(15797),C=s(29578),P=s(94295);let D=[{id:"1",title:"Pickles & Chutneys",image:"/Images/noImage.jpg",query:{super:"1",cat:"",state:""},ctaText:"Shop now"},{id:"2",title:"Sweets & Mithai",image:"/Images/noImage.jpg",query:{super:"2",cat:"",state:""},ctaText:"Shop now"},{id:"3",title:"Snacks & Namkeen",image:"/Images/noImage.jpg",query:{super:"3",cat:"",state:""},ctaText:"Shop now"},{id:"4",title:"Handmade Crafts",image:"/Images/noImage.jpg",query:{super:"4",cat:"",state:""},ctaText:"Shop now"}],T=[{title:"Explore Pickles",image:"/Images/noImage.jpg",href:"/category?super=1&cat=&state="},{title:"Explore Sweets",image:"/Images/noImage.jpg",href:"/category?super=2&cat=&state="},{title:"Explore Snacks",image:"/Images/noImage.jpg",href:"/category?super=3&cat=&state="},{title:"Explore Crafts",image:"/Images/noImage.jpg",href:"/category?super=4&cat=&state="},{title:"View All",image:"/Images/noImage.jpg",href:"/category"}],F=Array.from({length:6},(e,t)=>({id:"placeholder-".concat(t),imageUrl:"/Images/noImage.jpg",permalink:"https://www.instagram.com/momskart/",caption:"Follow us"}));var O=e=>{let{collections:t,title:s="Curated Collections",icon:r=y.Lry}=e,n=Array.isArray(t)&&t.length>0?t:D;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(E.Z,{icon:r,title:s,viewAllHref:"/category"}),(0,l.jsx)("div",{className:"mt-3 grid w-full grid-cols-2 gap-2 sm:grid-cols-3 md:mt-4 md:grid-cols-4 md:gap-3",children:n.map((e,t)=>{var s,r;let n=(null==e?void 0:e.query)||{},i=e.href||(0,C.xf)({superSlug:n.superSlug||n.super_slug||"",catSlug:n.catSlug||n.cat_slug||"",maxPrice:n.max_price});return(0,l.jsxs)(v.default,{href:i,className:"group relative block rounded-2xl overflow-hidden bg-brand-ice border border-brand-line/40 hover:border-brand-blue/30 hover:shadow-card-hover transition-all duration-300 aspect-[4/5] min-h-[160px]",children:[(0,l.jsxs)("div",{className:"absolute inset-0",children:[(0,l.jsx)(a.default,{src:e.image||"/Images/noImage.jpg",alt:e.title||"Collection",fill:!0,className:"object-cover transition-transform duration-300 group-hover:scale-105",sizes:"(max-width: 640px) 50vw, (max-width: 768px) 33vw, 25vw"}),(0,l.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/75 via-black/20 to-transparent","aria-hidden":!0})]}),(0,l.jsxs)("div",{className:"absolute inset-x-0 bottom-0 p-4 flex flex-col justify-end min-h-[50%]",children:[(0,l.jsx)("p",{className:"font-Montserrat font-bold text-white text-sm md:text-base drop-shadow-md line-clamp-2",children:e.title}),(0,l.jsxs)("span",{className:"inline-flex items-center gap-1 mt-2 text-white/95 text-xs font-Montserrat font-medium group-hover:gap-2 transition-all",children:[e.ctaText||"Shop now",(0,l.jsx)(P.hjJ,{className:"text-sm shrink-0"})]})]})]},null!==(r=null!==(s=e.id)&&void 0!==s?s:e.title)&&void 0!==r?r:t)})})]})},R=e=>{let{items:t,title:s="Follow Us on Instagram",icon:r=A.Zf_}=e,n=Array.isArray(t)&&t.length>0?t:F;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(E.Z,{icon:r,title:s,viewAllHref:"https://www.instagram.com/themomskart/",viewAllLabel:"Follow"}),(0,l.jsx)("div",{className:"mt-3 grid grid-cols-3 gap-2 md:mt-4 md:grid-cols-4 md:gap-3 lg:grid-cols-6",children:n.slice(0,12).map((e,t)=>{var s;return(0,l.jsx)(v.default,{href:e.permalink||"#",target:"_blank",rel:"noopener noreferrer",className:"relative aspect-square rounded-xl overflow-hidden bg-gray-100",children:(0,l.jsx)(a.default,{src:e.imageUrl||"/Images/noImage.jpg",alt:e.caption||"Instagram",fill:!0,className:"object-cover",sizes:"(max-width: 768px) 33vw, 16vw"})},null!==(s=e.id)&&void 0!==s?s:t)})})]})},U=s(99376),H=s(44859),L=e=>{let{sellers:t=[]}=e,s=(0,U.useRouter)(),n=(0,r.useMemo)(()=>Array.isArray(t)?t.filter(e=>e&&e.name):[],[t]),[d,o]=(0,r.useState)(0);if(!n.length)return null;
1let c=(d%n.length+n.length)%n.length,m=n[c],u=Array.isArray(m.topProducts)?m.topProducts.slice(0,3):[],x=n.length>1,h=()=>{m.seller_slug&&s.push((0,C.ld)(m.seller_slug))},g=m.subtitle||m.tagline||"Authentic, handmade products crafted with tradition.";return(0,l.jsxs)("div",{className:"relative mt-3 md:mt-4",children:[x?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("button",{type:"button","aria-label":"Previous featured seller",onClick:()=>o(e=>(e-1+n.length)%n.length),className:"mk-focus-ring absolute left-1 top-1/2 z-20 flex h-8 w-8 -translate-y-1/2 items-center justify-center rounded-full bg-brand-blue text-white shadow-card transition hover:bg-brand-blue-dark md:left-0 md:h-12 md:w-12 md:-translate-x-1/2",children:(0,l.jsx)(i.dUf,{className:"text-lg md:text-2xl"})}),(0,l.jsx)("button",{type:"button","aria-label":"Next featured seller",onClick:()=>o(e=>(e+1)%n.length),className:"mk-focus-ring absolute right-1 top-1/2 z-20 flex h-8 w-8 -translate-y-1/2 items-center justify-center rounded-full bg-brand-blue text-white shadow-card transition hover:bg-brand-blue-dark md:right-0 md:h-12 md:w-12 md:translate-x-1/2",children:(0,l.jsx)(i.mzm,{className:"text-lg md:text-2xl"})})]}):null,(0,l.jsxs)("div",{className:"overflow-hidden rounded-xl border border-brand-blue/25 bg-brand-ice px-3 py-4 shadow-soft md:rounded-2xl md:px-8 md:py-8",children:[(0,l.jsxs)("div",{className:"mb-4 text-center md:mb-7",children:[(0,l.jsxs)("h3",{className:"font-Montserrat text-base font-bold leading-tight text-brand-blue sm:text-xl md:text-3xl",children:["Featured Seller: ",m.name]}),(0,l.jsx)("p",{className:"mx-auto mt-1 max-w-2xl font-Quicksand text-xs text-brand-muted md:mt-2 md:text-sm",children:g})]}),(0,l.jsxs)("div",{className:"flex flex-col items-stretch gap-6 md:flex-row md:items-center md:gap-8 lg:gap-10",children:[(0,l.jsxs)("button",{type:"button",onClick:h,className:"mk-focus-ring mx-auto flex w-full max-w-[220px] shrink-0 flex-col items-center text-center md:mx-0",children:[(0,l.jsx)("div",{className:"relative h-36 w-36 md:h-44 md:w-44",children:(0,l.jsx)("div",{className:"absolute inset-0 rounded-full p-[5px] shadow-card",style:{background:"linear-gradient(145deg, var(--mk-blue) 0%, #0a4a94 50%, var(--mk-pink) 100%)"},children:(0,l.jsx)("div",{className:"h-full w-full overflow-hidden rounded-full border-[3px] border-white bg-white",children:(0,l.jsx)(a.default,{src:m.profile||"/Images/demoPic.png",alt:m.name,width:176,height:176,className:"h-full w-full object-cover"})})})}),(0,l.jsx)("p",{className:"mt-4 font-Montserrat text-base font-bold text-brand-blue md:text-xl",children:m.name}),(0,l.jsx)("p",{className:"mt-1 font-Quicksand text-sm italic text-brand-pink md:text-base",children:"Seller of the month"})]}),(0,l.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,l.jsx)("p",{className:"mb-3 font-Montserrat text-sm font-semibold text-brand-blue md:mb-4 md:text-base",children:"Top picks from this seller"}),u.length>0?(0,l.jsx)("div",{className:"grid grid-cols-2 gap-3 sm:grid-cols-3 md:gap-4",children:u.map((e,t)=>(0,l.jsx)("div",{className:"min-w-0 ".concat(1===t?"rounded-2xl shadow-[0_12px_28px_rgba(221,25,91,0.16)]":""),children:(0,l.jsx)(H.Z,{rating:(null==e?void 0:e.average_rating)||(null==e?void 0:e.rating)||0,item:e,compactTrustedBadge:!0})},(null==e?void 0:e.id)||(null==e?void 0:e.product_id_PK)||t))}):(0,l.jsxs)("div",{className:"rounded-xl border border-dashed border-brand-blue/35 bg-white/70 px-4 py-8 text-center",children:[(0,l.jsx)("p",{className:"font-Quicksand text-sm text-brand-blue",children:"Products from this seller will appear here soon."}),(0,l.jsx)("button",{type:"button",onClick:h,className:"mk-btn-secondary mt-3",children:"Visit store"})]})]})]})]})]})},q=()=>(0,l.jsxs)("div",{className:"m-auto p-1 md:px-14 py-4 flex flex-col justify-center animate-pulse",children:[(0,l.jsx)("div",{className:"md:py-6 px-1 md:px-0 h-[150px] md:h-[380px] rounded-2xl bg-gray-200"}),(0,l.jsx)("div",{className:"flex items-center w-full py-4 justify-between border border-gray-200 rounded-2xl mt-6 px-4",children:[1,2,3,4].map(e=>(0,l.jsx)("div",{className:"h-12 w-24 bg-gray-200 rounded"},e))}),(0,l.jsx)("div",{className:"h-6 w-48 rounded-full bg-gray-200 mx-auto my-8"}),(0,l.jsx)("div",{className:"flex gap-4 overflow-hidden",children:[1,2,3,4,5].map(e=>(0,l.jsx)("div",{className:"h-32 w-32 rounded-full bg-gray-200 shrink-0"},e))}),(0,l.jsx)("div",{className:"h-6 w-40 rounded-full bg-gray-200 mx-auto my-8"}),(0,l.jsx)("div",{className:"flex gap-4 overflow-hidden",children:[1,2,3,4,5].map(e=>(0,l.jsx)("div",{className:"h-48 w-44 rounded-2xl bg-gray-200 shrink-0"},e))})]}),Q=s(37780);let Z=[{label:"Under ₹199",value:199},{label:"Under ₹299",value:299},{label:"Under ₹399",value:399},{label:"Under ₹499",value:499},{label:"Under ₹999",value:999}];var B=e=>{let{title:t="Shop by Price",icon:s=Q.IgD}=e;return(0,l.jsxs)("section",{className:"w-full",children:[(0,l.jsx)(E.Z,{icon:s,title:t,viewAllHref:"/category"}),(0,l.jsx)("div",{className:"mt-3 flex flex-wrap gap-2 md:mt-4 md:gap-3",children:Z.map(e=>(0,l.jsx)(v.default,{href:(0,C.xf)({maxPrice:e.value}),className:"inline-flex items-center justify-center rounded-full border border-brand-blue bg-white px-3 py-1.5 font-Montserrat text-xs font-semibold text-brand-blue transition-colors hover:bg-brand-blue hover:text-white md:px-4 md:py-2 md:text-sm",children:e.label},e.value))})]})},V=s(55536),J=s(18913),W=s(63253),z=s(91518),K=s(63813),G=e=>{let{items:t}=e;return Array.isArray(t)&&0!==t.length?(0,l.jsx)("div",{className:"mt-3 grid grid-cols-2 gap-2 sm:grid-cols-3 sm:gap-2.5 md:mt-4 md:grid-cols-4 md:gap-3 lg:grid-cols-5",children:t.map((e,t)=>{var s,r,a;return(0,l.jsx)("div",{className:"min-w-0",children:(0,l.jsx)(K.Z,{item:e})},"".concat(null!==(a=null!==(r=null!==(s=null==e?void 0:e.product_id_PK)&&void 0!==s?s:null==e?void 0:e.slug)&&void 0!==r?r:null==e?void 0:e.id)&&void 0!==a?a:"product","-").concat(t))})}):null},X=e=>{let{title:t,image:s,href:r}=e;return(0,l.jsxs)(v.default,{href:r||"/category",className:"flex flex-col rounded-2xl overflow-hidden bg-white shadow-md border border-brand-line/60 hover:shadow-lg transition-shadow",children:[(0,l.jsx)("div",{className:"relative w-full aspect-square bg-brand-ice",children:(0,l.jsx)(a.default,{src:s||"/Images/noImage.jpg",alt:t,fill:!0,className:"object-cover",sizes:"(max-width: 768px) 50vw, 20vw"})}),(0,l.jsx)("div",{className:"p-3 text-center",children:(0,l.jsx)("p",{className:"font-Montserrat font-semibold text-sm text-brand-blue",children:t})})]})},Y=e=>{let{icon:t,title:s,items:r,showAllHref:a="/category",viewAllHref:n}=e,i=Array.isArray(r)?r:[],d=i.length>0,o=i.slice(0,10);return(0,l.jsxs)("section",{className:"w-full",children:[(0,l.jsx)(E.Z,{icon:t,title:s,viewAllHref:d?null!=n?n:a:void 0}),d?(0,l.jsx)(G,{items:o}):(0,l.jsx)("div",{className:"mt-3 grid grid-cols-2 gap-2 sm:grid-cols-3 sm:gap-3 md:mt-4 md:grid-cols-4 md:gap-4 lg:grid-cols-5",children:T.map((e,t)=>(0,l.jsx)(X,{title:e.title,image:e.image,href:e.href},t))})]})};let $=e=>String(Math.max(0,e)).padStart(2,"0"),ee=e=>{let{value:t,label:s}=e;return(0,l.jsxs)("div",{className:"flex flex-col items-center",children:[(0,l.jsx)("span",{className:"flex h-6 min-w-[1.5rem] items-center justify-center rounded bg-brand-blue px-1 font-Montserrat text-[10px] font-bold tabular-nums text-white sm:h-7 sm:min-w-[1.75rem] sm:rounded-md sm:px-1.5 sm:text-xs md:h-9 md:min-w-[2.25rem] md:text-sm",children:t}),(0,l.jsx)("span",{className:"mt-0.5 font-Quicksand text-[7px] font-medium uppercase tracking-wide text-brand-muted sm:text-[8px] md:text-[9px]",children:s})]})};var et=e=>{var t;let{startDate:s,endDate:a}=e,n=()=>{let e=new Date().getTime(),t=new Date(s).getTime(),l=new Date(a).getTime()-e;return e<t?{status:"Upcoming",timeLeft:t-e}:l>0?{status:"Active",timeLeft:l}:{status:"Expired",timeLeft:0}},[i,d]=(0,r.useState)(null);(0,r.useEffect)(()=>{let e=()=>d(n());e();let t=setInterval(e,1e3);return()=>clearInterval(t)},[s,a]);let o=Math.floor((null!==(t=null==i?void 0:i.timeLeft)&&void 0!==t?t:0)/1e3),c=Math.floor(o/86400);return(0,l.jsxs)("div",{className:"flex w-fit items-end gap-0.5 sm:gap-1 md:gap-1.5",suppressHydrationWarning:!0,children:[(0,l.jsx)("span",{className:"mb-2.5 hidden font-Montserrat text-[10px] font-semibold text-brand-blue sm:mb-3.5 sm:inline md:mb-4 md:text-xs",children:"Ends in"}),c>0?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(ee,{value:$(c),label:"Days"}),(0,l.jsx)("span",{className:"mb-2.5 font-Montserrat text-[10px] font-bold text-brand-pink sm:mb-3.5 sm:text-xs md:mb-4 md:text-sm",children:":"})]}):null,(0,l.jsx)(ee,{value:i?$(Math.floor(o%86400/3600)):"--",label:"Hrs"}),(0,l.jsx)("span",{className:"mb-2.5 font-Montserrat text-[10px] font-bold text-brand-pink sm:mb-3.5 sm:text-xs md:mb-4 md:text-sm",children:":"}),(0,l.jsx)(ee,{value:i?$(Math.floor(o%3600/60)):"--",label:"Min"}),(0,l.jsx)("span",{className:"mb-2.5 font-Montserrat text-[10px] font-bold text-brand-pink sm:mb-3.5 sm:text-xs md:mb-4 md:text-sm",children:":"}),(0,l.jsx)(ee,{value:i?$(o%60):"--",label:"Sec"})]})};function es(){return(0,l.jsxs)("div",{className:"mt-4 w-full animate-pulse md:mt-6",children:[(0,l.jsx)("div",{className:"mx-auto mb-3 h-5 w-40 rounded-full bg-brand-ice md:mb-4"}),(0,l.jsx)("div",{className:"grid grid-cols-2 gap-2 sm:grid-cols-3 md:grid-cols-4 md:gap-3 lg:grid-cols-5",children:[1,2,3,4,5].map(e=>(0,l.jsx)("div",{className:"aspect-[3/4] rounded-2xl bg-brand-ice"},e))})]})}function el(e){let{sectionKey:t,meta:s,saleMeta:r=null,sectionLimit:a=10,cultureSuperCategoryId:n=null,eager:i=!1}=e,{ref:d,visible:o}=(0,z.R)({enabled:!i}),c=i||o,{data:m=[],isPending:u,isError:x}=(0,h.a)({queryKey:["homeSection",t,a,n||null],queryFn:()=>(0,g.zb)(t,{limit:a,cultureSuperCategoryId:n}),enabled:c&&!!t,staleTime:3e5,gcTime:18e5,refetchOnWindowFocus:!1,retry:1});if(!s)return null;let p=new Date,f=(null==r?void 0:r.end_date)?new Date(r.end_date):null,b=!!("sale"===t&&f&&p<f&&r);return(0,l.jsx)("div",{ref:d,className:"w-full min-h-[120px]",children:c&&(!u||m.length)?x||!m.length?null:b?(0,l.jsxs)("section",{className:"mt-4 overflow-hidden rounded-xl border border-brand-pink/20 bg-gradient-to-r from-[#fff5f8] via-brand-ice to-brand-ice p-2.5 md:mt-6 md:rounded-2xl md:p-5",children:[(0,l.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:flex-wrap sm:items-center sm:justify-between sm:gap-3",children:[(0,l.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col gap-2 sm:flex-row sm:flex-wrap sm:items-center sm:gap-4",children:[(0,l.jsx)(v.default,{href:"/sale",className:"truncate font-Montserrat text-sm font-bold text-brand-pink md:text-xl",children:r.sale_name||s.title}
1),(0,l.jsx)(et,{startDate:r.start_date,endDate:r.end_date})]}),(0,l.jsxs)(v.default,{href:"/sale",className:"inline-flex shrink-0 items-center gap-0.5 self-end font-Montserrat text-xs font-semibold text-brand-blue hover:text-brand-pink sm:self-auto md:text-sm",children:["View all",(0,l.jsx)(P.hjJ,{className:"text-base"})]})]}),(0,l.jsx)(G,{items:m.slice(0,a)})]}):(0,l.jsx)(Y,{icon:s.icon,title:s.title,items:m,showAllHref:s.showAllHref}):(0,l.jsx)(es,{})})}function er(e){let{fetchSellers:t,children:s,fallback:a=null}=e,{ref:n,visible:i}=(0,z.R)(),[d,o]=(0,r.useState)(null),[c,m]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{if(!i||null!==d||c)return;let e=!1;return m(!0),Promise.resolve(t()).then(t=>{e||o(Array.isArray(t)?t:[])}).catch(()=>{e||o([])}).finally(()=>{e||m(!1)}),()=>{e=!0}},[i,d,c,t]),(0,l.jsx)("div",{ref:n,className:"w-full min-h-[80px]",children:null===d||c?(0,l.jsx)("div",{className:"mt-3 animate-pulse rounded-xl border border-brand-line/40 bg-brand-ice p-8 md:mt-4"}):d.length?s(d):a})}function ea(e){let{fetchItems:t,icon:s,title:a}=e,{ref:n,visible:i}=(0,z.R)(),[d,o]=(0,r.useState)(null);return((0,r.useEffect)(()=>{if(!i||null!==d)return;let e=!1;return Promise.resolve(t()).then(t=>{e||o(Array.isArray(t)?t:[])}).catch(()=>{e||o([])}),()=>{e=!0}},[i,d,t]),null===d||d.length)?(0,l.jsx)("div",{ref:n,className:"w-full min-h-[40px]",children:null===d?(0,l.jsx)(es,{}):(0,l.jsx)(Y,{icon:s,title:a,items:d})}):null}function en(e){let{sectionLimit:t=10}=e,{ref:s,visible:r}=(0,z.R)(),{data:a=[],isPending:n}=(0,h.a)({queryKey:["homeSection","festival_sale",t],queryFn:()=>(0,g.zb)("sale",{limit:t}),enabled:r,staleTime:3e5,refetchOnWindowFocus:!1,retry:1});return(0,l.jsxs)("div",{ref:s,className:"w-full",children:[(0,l.jsx)(E.Z,{icon:W.UhM,title:"Shop By Festival",viewAllHref:"/category"}),(0,l.jsx)("div",{className:"mt-3 md:mt-4",children:!r||n?(0,l.jsx)(es,{}):a.length>0?(0,l.jsx)(G,{items:a.slice(0,t)}):(0,l.jsx)("div",{className:"grid grid-cols-2 gap-2 sm:grid-cols-3 md:grid-cols-4 md:gap-3 lg:grid-cols-5",children:[1,2,3,4,5].map(e=>(0,l.jsxs)(v.default,{href:"/category",className:"flex flex-col overflow-hidden rounded-lg border border-brand-line/50 bg-white",children:[(0,l.jsx)("div",{className:"aspect-square bg-brand-ice"}),(0,l.jsx)("div",{className:"p-2 text-center md:p-3",children:(0,l.jsx)("p",{className:"font-Montserrat text-xs font-semibold text-brand-blue md:text-sm",children:"Explore festivals"})})]},e))})})]})}let ei=["best_selling","new_arrivals","trending","sale","recommended","culture_special"],ed={best_selling:{icon:c.Ee5,title:"Best Selling Products",showAllHref:"/category",itemsKey:"bestSellingProduct"},new_arrivals:{icon:k.C1N,title:"New Arrivals",itemsKey:"newArrivalProducts"},trending:{icon:J.v9e,title:"Trending Now",itemsKey:"trendingProducts"},sale:{icon:W.UhM,title:"Deals of the Day",itemsKey:"saleProducts",showAllHref:"/sale"},recommended:{icon:P.$g3,title:"Recommended For You",itemsKey:"recommendedProducts"},culture_special:{icon:V.$1y,title:"Culture Special",itemsKey:"cultureSpecialProducts"}};function eo(e){let{sectionOrder:t,saleMeta:s,sectionLimit:r=10,cultureSuperCategoryId:a=null}=e,n=function(e){let t=Array.isArray(e)?e:[];if(!t.length)return[...ei];let s=new Set,l=[];for(let e of t){let t=String(e||"").trim();!ed[t]||s.has(t)||(s.add(t),l.push(t))}return l.length?l:[...ei]}(t);return(0,l.jsx)(l.Fragment,{children:n.map((e,t)=>{let n=ed[e];return n?(0,l.jsx)(el,{sectionKey:e,meta:n,saleMeta:"sale"===e?s:null,sectionLimit:r,cultureSuperCategoryId:"culture_special"===e?a:null,eager:0===t},e):null})})}var ec=s(79666),em=s(70401);let eu={arrows:!0,infinite:!0,scroll:!0,speed:750,slidesToShow:3,slidesToScroll:1,responsive:[{breakpoint:720,settings:{slidesToShow:1,slidesToScroll:1,infinite:!0,centerMode:!0,centerPadding:"40px"}}]},ex={arrows:!1,infinite:!0,scroll:!0,autoplay:!0,autoplaySpeed:3e3,speed:750,slidesToShow:3,slidesToScroll:3,responsive:[{breakpoint:720,settings:{slidesToShow:1,slidesToScroll:1,infinite:!0,centerMode:!0,centerPadding:"40px"}}]},eh={arrows:!1,infinite:!0,autoplay:!0,autoplaySpeed:2500,speed:600,slidesToShow:3,slidesToScroll:1,responsive:[{breakpoint:1024,settings:{slidesToShow:2,slidesToScroll:1}},{breakpoint:720,settings:{slidesToShow:1,slidesToScroll:1,centerMode:!0,centerPadding:"40px"}}]};var eg=()=>{let[e,t]=(0,r.useState)("-1"),[s,i]=(0,r.useState)(!1);(0,r.useEffect)(()=>{let e=()=>{window.pageYOffset>300?i(!0):i(!1)};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[]);let d=()=>{window.scrollTo({top:0,behavior:"smooth"})};(0,r.useEffect)(()=>{{let e=localStorage.getItem("deviceId");t(null!=e?String(e):"-1")}},[]),(0,n.v9)(e=>{var t,s;return null===(s=e.user)||void 0===s?void 0:null===(t=s.id)||void 0===t?void 0:t.id});let{data:o,isPending:c,isError:m,error:C,refetch:P,isFetching:D}=function(){let e=(0,n.I0)(),t=(0,x.NL)(),[s,l]=(0,r.useState)(!1);(0,r.useEffect)(()=>{let s=(0,f.H6)();if((0,f.VQ)())(0,f.QD)(),t.removeQueries({queryKey:s});else{let l=(0,f.t6)();(null==l?void 0:l.data)&&(0,f.gl)(l.data)&&!t.getQueryData(s)&&(t.setQueryData(s,l.data,{updatedAt:l.savedAt}),e((0,p.Cj)(l.data)))}l(!0)},[e,t]);let a=(0,f.H6)(),i=(0,h.a)({queryKey:a,queryFn:async()=>{let e=await (0,g.uJ)({lite:!0});if(!(0,f.gl)(e))throw Error("Home page data unavailable. Please try again.");return(0,f.kA)(e),(0,f.Fj)(),e},enabled:s,staleTime:3e5,gcTime:18e5,refetchOnWindowFocus:!1,refetchOnMount:e=>!(0,f.gl)(e.state.data)||(0,f.VQ)(),retry:2});return(0,r.useLayoutEffect)(()=>{i.data&&(0,f.gl)(i.data)&&e((0,p.Cj)(i.data))},[i.data,e]),(0,r.useEffect)(()=>{i.isError&&((0,f.PO)(),(0,f.QD)())},[i.isError]),i}(),T=(c||D)&&!(0,f.gl)(o);(0,r.useEffect)(()=>{d()},[]),m&&console.error("Failed to fetch home data:",C);let F=(null==o?void 0:o.bannerData)||[],U=(null==o?void 0:o.saleMeta)||null,H=(null==o?void 0:o.homedata)||[],Q=(null==o?void 0:o.adsListing)||[],Z=(null==o?void 0:o.collections)||[],V=(null==o?void 0:o.instagramFeed)||[],J=(null==o?void 0:o.cultureSuperCategoryId)||null,W=(0,l.jsxs)("div",{className:"mt-3 rounded-xl border border-dashed border-brand-blue/40 bg-brand-ice p-5 text-center md:mt-4 md:p-8",children:[(0,l.jsx)("p",{className:"mb-3 font-Montserrat text-sm font-medium text-brand-blue md:text-base",children:"Discover mompreneurs from across India"}),(0,l.jsx)(v.default,{href:"https://www.seller.themomskart.com/",target:"_blank",rel:"noopener noreferrer",className:"mk-btn-secondary",children:"Become a Seller"})]});return T?(0,l.jsx)(q,{}):m&&!(0,f.gl)(o)?(0,l.jsxs)("div",{className:"flex min-h-[40vh] flex-col items-center justify-center gap-4 px-4 text-center",children:[(0,l.jsx)("p",{className:"font-Montserrat text-base font-semibold capitalize text-slate-700",children:(0,em.yj)(C,"Could not load the store. Please try again.")}),(0,l.jsx)("button",{type:"button",className:"rounded-lg bg-brand-pink px-5 py-2.5 text-sm font-semibold text-white hover:bg-brand-pink-dark",disabled:D,onClick:()=>void P(),children:D?"Loading…":"Try again"})]}):(0,f.gl)(o)?(0,l.jsxs)(l.Fragment,{children:[" ",s&&(0,l.jsx)("button",{onClick:d,className:"hidden md:block fixed bottom-16 right-8 p-4 text-lg bg-white text-brand-blue rounded-2xl cursor-pointer z-[1000] shadow-soft border border-brand-line/50 hover:bg-brand-ice transition-colors",children:(0,l.jsx)(A.ZTc,{})}),(0,l.jsxs)("div",{className:"m-auto flex flex-col justify-center p-1 py-3 md:px-14 md:py-4",children:[(0,l.jsx)("div",{className:"px-1 md:px-0 md:pb-2",children:(0,l.jsx)(j,{image:F})}),(0,l.jsx)(u,{}),(0,l.jsx)(E.Z,{icon:y.Lry,title:"Shop By Categories",viewAllHref:"/category"}),(0,l.jsx)("div",{className:"mt-3 w-full md:mt-4",children:(0,l.jsx)(w.Z,{item:H})}),(0,l.jsx)(eo,{sectionOrder:null==o?void 0:o.sectionOrder,saleMeta:U,sectionLimit:10,cultureSuperCategoryId:J}),(0,l.jsx)(B,{title:"Shop by Price"}),(0,l.jsx)(O,{collections:Z}),(0,l.jsx)(en,{sectionLimit:10}),(0,l.jsx)(E.Z,{icon:N.JRg,title:"Featured Sellers",viewAllHref:"https://www.seller.themomskart.com/",viewAllLabel:"Sell with us"}),(0,l.jsx)(er,{fetchSellers:()=>(0,g.tB)({limit:6}),fallback:W,children:e=>(0,l.jsx)(L,{sellers:e})}),(0,l.jsx)(ea,{icon:k.BMe,title:"Recently Viewed",fetchItems:()=>(0,g.iq)((0,ec.t)(),{limit:10})}),(0,l.jsx)("div",{className:" mx-auto w-full mt-3 md:my-8",children:(0,l.jsx)(b.Z,{...eu,children:Q.slice(0,3).map((e,t)=>(0,l.jsx)("div",{className:"w-fit p-2",children:(0,l.jsx)(v.default,{href:e.click_action||"#",target:"_blank",rel:"noopener noreferrer",children:(0,l.jsx)(a.default,{src:e.ads_image,alt:"salebanner",width:500,height:250,style:{objectFit:"cover"},className:" rounded-2xl "})})},t))})}),(0,l.jsx)("div",{className:" mx-auto w-full mt-3 md:my-8",children:(0,l.jsx)(b.Z,{...eu,children:Q.slice(3,6).map((e,t)=>(0,l.jsx)("div",{className:"w-fit p-2",children:(0,l.jsx)(v.default,{href:e.click_action||"#",target:"_blank",rel:"noopener noreferrer",children:(0,l.jsx)(a.default,{src:e.ads_image,alt:"salebanner",width:500,height:250,style:{objectFit:"cover"},className:" rounded-2xl "})})},t))})}),(0,l.jsxs)("div",{className:"  w-full mt-6 md:mt-10 rounded-2xl overflow-hidden",children:[(0,l.jsx)(a.default,{src:_,alt:"About",layout:"responsive",className:"rounded-2xl hidden sm:block"}),(0,l.jsx)(a.default,{src:M,alt:"About",layout:"responsive",className:"rounded-2xl block sm:hidden"})]}),(0,l.jsx)(E.Z,{icon:A.V2E,title:"Meet Our Super Moms"}),(0,l.jsx)("div",{className:" mx-auto w-full mt-3 md:my-8",children:(0,l.jsx)(b.Z,{...eh,children:["iROAcenDxg8","TGgqTX3xNec","ZuAWSCTvDrk"].map(e=>(0,l.jsx)("div",{className:"w-fit p-2",children:(0,l.jsx)("div",{className:"rounded-2xl overflow-hidden bg-black",style:{position:"relative",width:"100%",paddingTop:"177.78%"},children:(0,l.jsx)("iframe",{src:"https://www.youtube.com/embed/".concat(e,"?mute=1&autoplay=1&controls=0&loop=1&playlist=").concat(e,"&playsinline=1&modestbranding=1"),title:"Momskart seller story",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0,style:{position:"absolute",inset:0,width:"100%",height:"100%",border:0}})})},e))})}),(0,l.jsx)("div",{className:" mx-auto w-full mt-3 md:my-8",children:(0,l.jsx)(b.Z,{...ex,children:Q.slice(6).map((e,t)=>(0,l.jsx)("div",{className:"w-fit p-2",children:(0,l.jsx)(v.default,{href:e.click_action||"#",target:"_blank",rel:"noopener noreferrer",children:(0,l.jsx)(a.default,{src:e.ads_image,alt:"salebanner",width:500,height:250,style:{objectFit:"cover"},className:" rounded-2xl "})})},t))})}),(0,l.jsx)(R,{items:V}),(0,l.jsxs)(v.default,{href:"https://play.google.com/store/apps/details?id=com.momskart&pcampaignid=web_share",target:"_blank",rel:"noopener noreferrer",className:"  w-full mt-6 md:mt-10  rounded-2xl overflow-hidden",children:[(0,l.jsx)(a.default,{src:S,alt:"About",layout:"responsive",className:"rounded-2xl hidden sm:block"}),(0,l.jsx)(a.default,{src:I,alt:"About",layout:"responsive",className:"rounded-2xl block sm:hidden"})]}),(0,l.jsx)("div",{className:" mt-3 md:my-8 sm:mx-2 mx-6",children:(0,l.jsxs)("div",{className:" font-Quicksand font-normal text-sm md:text-lg text-[#666666] text-justify",children:[(0,l.jsx)("span",{className:"  font-bold py-4 block text-black",children:"Momskart ~ India’s Social Commerce Platform for Homemade Food & Handmade Products"}),"Momskart is a purpose-driven social commerce platform empowering home-based women entrepreneurs across India to turn their skills into sustainable businesses. We connect rural and urban India by bringing"," ",(0,l.jsx)("strong",{children:"authentic, homemade and handmade products "})," ","directly from women creators to customers who value tradition, quality, and conscious consumption.",(0,l.jsx)("br",{}),(0,l.jsx)("br",{}),"From preservative-free foods to handcrafted goods, every product on Momskart is made in small batches with care, attention to hygiene, and a sense of cultural pride. We celebrate India’s diverse culinary and craft heritage while enabling inclusive economic growth for women.",(0,l.jsx)("br",{}),(0,l.jsx)("hr",{style:{border:"1px solid #00000033",margin:"20px 0"}}),(0,l.jsx)("span",{className:"font-bold py-4 block text-black",children:"Empowering Women. Preserving Culture. Creating Impact."}),"Momskart’s mission is to provide"," ",(0,l.jsxs)("strong",{children:["economic independence to homemakers and aspiring women entrepreneurs"," "]}),"by giving them a trusted digital marketplace, logistics support, payments, branding, and customer access, everything needed to grow without upfront investment.",(0,l.jsx)("br",{}),"By promoting",(0,l.jsx)("strong",{children:" Vocal for Local "})," and supporting the"," ",(0,l.jsx)("strong",{children:"Atmanirbhar Bharat "}),"mission, we help women scale their income while preserving traditional Indian recipes, crafts, and skills that are often lost to mass production.",(0,l.jsx)("br",{}),(0,l.jsx)("hr",{style:{border:"1px solid #00000033",margin:"20px 0"}}),(0,l.jsx)("span",{className:"font-bold py-4 block text-black",children:"Discover Authentic Handmade & Homemade Products from Across India"}),"Shop from a curated collection of"," ",(0,l.jsx)("strong",{children:"mom-made Indian delights"}),", from traditional foods and snacks to handmade crafts and personal care products. Each item reflects authenticity, culture, and inspiration, made by women who pour love and expertise into every creation.",(0,l.jsx)("br",{}),(0,l.jsx)("br",{}),(0,l.jsxs)("ul",{className:"list-disc list-inside",children:[(0,l.jsx)("li",{children:"Fresh, small-batch products"}),(0,l.jsx)("li",{children:"Handmade & preservative-free"}),(0,l.jsx)("li",{children:"Sourced directly from women entrepreneurs"}),(0,l.jsx)("li",{children:"Delivered safely to your doorstep"})]}),(0,l.jsx)("br",{}),"At Momskart, you’re not just shopping, you’re"," ",(0,l.jsx)("strong",{children:"supporting women"}),",",(0,l.jsx)("strong",{children:"strengthening families"}),", and"," ",(0,l.jsx)("strong",{children:"sustaining local economies"}),"."]})})]})]}):(0,l.jsx)(q,{})};function ep(){return(0,r.useEffect)(()=>{let e=null;try{e=localStorage.getItem("deviceId")}catch(t){e=null}if(!e){e=Math.floor(1e5+9e5*Math.random()).toString();try{localStorage.setItem("deviceId",e)}catch(e){}}},[]),(0,l.jsx)(eg,{})}},91518:function(e,t,s){"use strict";s.d(t,{R:function(){return r}});var l=s(2265);function r(){let{rootMargin:e="280px 0px",threshold:t=.01,enabled:s=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=(0,l.useRef)(null),[a,n]=(0,l.useState)(!1);return(0,l.useEffect)(()=>
1{if(!s||a)return;let l=r.current;if(!l||"undefined"==typeof IntersectionObserver){n(!0);return}let i=new IntersectionObserver(e=>{e.some(e=>e.isIntersecting)&&(n(!0),i.disconnect())},{root:null,rootMargin:e,threshold:t});return i.observe(l),()=>i.disconnect()},[s,a,e,t]),{ref:r,visible:a}}},36361:function(e,t,s){"use strict";s.d(t,{Fj:function(){return u},H6:function(){return d},PO:function(){return c},QD:function(){return o},VQ:function(){return m},gl:function(){return a},kA:function(){return i},t6:function(){return n}});var l=s(79666);let r="momskart_home_cache_v3";function a(e){return!!e&&"object"==typeof e&&(!!(Array.isArray(e.homedata)&&e.homedata.length>0||Array.isArray(e.bannerData)&&e.bannerData.length>0)||[e.bestSellingProduct,e.trendingProducts,e.newArrivalProducts,e.recommendedProducts,e.saleProducts,e.cultureSpecialProducts,e.featuredSellers].some(e=>Array.isArray(e)&&e.length>0))}function n(){arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,l.t)();try{let e=sessionStorage.getItem(r);if(!e)return null;let t=JSON.parse(e);if(!(null==t?void 0:t.data)||"object"!=typeof t.data||!a(t.data)||Date.now()-Number(t.savedAt)>3e5)return null;return{data:t.data,savedAt:Number(t.savedAt)||Date.now()}}catch(e){return null}}function i(e){if(arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,l.t)(),e&&a(e))try{sessionStorage.setItem(r,JSON.stringify({data:e,savedAt:Date.now()})),u()}catch(e){}}function d(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,l.t)(),["homeShell","v1"]}function o(){try{sessionStorage.removeItem(r),sessionStorage.removeItem("".concat(r,"_failed"))}catch(e){}}function c(){try{sessionStorage.setItem("".concat(r,"_failed"),String(Date.now())),sessionStorage.removeItem(r)}catch(e){}}function m(){try{let e=sessionStorage.getItem("".concat(r,"_failed"));if(!e)return!1;return Date.now()-Number(e)<3e5}catch(e){return!1}}function u(){try{sessionStorage.removeItem("".concat(r,"_failed"))}catch(e){}}},79666:function(e,t,s){"use strict";function l(){try{return JSON.parse(localStorage.getItem("momskart_recent_slugs")||"[]").slice(0,12)}catch(e){return[]}}s.d(t,{t:function(){return l}})}},function(e){e.O(0,[7699,5706,5452,6950,6051,3665,1779,2516,8422,6305,2376,5505,614,5726,7936,1455,5380,6406,9919,1713,7802,8791,3307,2318,2971,2117,1744],function(){return e(e.s=4647)}),_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.