module.exports=[32636,a=>{"use strict";var b=a.i(35766);a.s(["default",0,function(){return(0,b.useAuthContext)()}])},36049,a=>{"use strict";var b=a.i(87924),c=a.i(32636),d=a.i(67379),e=a.i(72131);a.s(["default",0,function(){let{clienttoken:a}=(0,c.default)(),[f,g]=(0,e.useState)([]),h=async()=>{try{let b=await (0,d.apiCall)("/clientapi/appointment",{headers:{Authorization:`Bearer ${a}`}});b.data?.success&&g(b.data?.data)}catch(a){console.error("Error fetching stores",a)}};return(0,e.useEffect)(()=>{h()},[]),(0,b.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:f.map(a=>(0,b.jsxs)("div",{className:"bg-white border border-gray-100 rounded-2xl p-4 hover:shadow-lg transition",children:[(0,b.jsx)("div",{className:"h-40 bg-gray-100 rounded-xl mb-3 overflow-hidden",children:(0,b.jsx)("img",{src:a.image||"/store-placeholder.jpg",className:"w-full h-full object-cover"})}),(0,b.jsx)("h3",{className:"text-lg font-semibold text-gray-900",children:a.storeName}),(0,b.jsx)("p",{className:"text-sm text-gray-500 mt-1 line-clamp-2",children:a.address}),(0,b.jsx)("button",{className:"mt-4 w-full bg-rose-600 text-white py-2 rounded-xl hover:bg-rose-700 transition",onClick:()=>{},children:"Book Appointment"})]},a._id))})}])}];

//# sourceMappingURL=src_1youtmd._.js.map