module.exports=[11358,a=>{"use strict";var b=a.i(48333),c=a.i(81235),d=a.i(93465);function e(){let a=(0,d.useRouter)(),[e,f]=(0,c.useState)(!1),[g,h]=(0,c.useState)(null);(0,c.useEffect)(()=>{try{let a=localStorage.getItem("seller_session_v1");h(a?JSON.parse(a):null)}catch{h(null)}finally{f(!0)}},[]),(0,c.useEffect)(()=>{e&&(g||a.replace("/seller/login"))},[e,g,a]);let i=(0,c.useMemo)(()=>g?.name||g?.sellerId||"Seller",[g]);return e?(0,b.jsx)("div",{className:"min-h-[calc(100vh-0px)] flex items-center justify-center p-6",children:(0,b.jsxs)("div",{className:"w-full max-w-[680px] bg-white border border-black/10 rounded-3xl p-10",children:[(0,b.jsxs)("div",{className:"text-3xl font-extrabold text-[#ff2a6d]",children:["Welcome, ",i," 👋"]}),(0,b.jsx)("div",{className:"mt-4 text-gray-600 leading-relaxed",children:"আপনি সফলভাবে লগইন করেছেন। Inbox এ গিয়ে কাস্টমার মেসেজগুলো দেখুন।"}),(0,b.jsxs)("div",{className:"mt-8 flex items-center gap-3",children:[(0,b.jsx)("button",{onClick:()=>a.push("/seller/inbox"),className:"px-7 py-3 rounded-2xl border-2 border-black bg-black text-white font-semibold hover:opacity-90 active:scale-[0.98] transition",children:"Go to Inbox →"}),(0,b.jsx)("button",{onClick:()=>{localStorage.removeItem("seller_session_v1"),a.replace("/seller/login")},className:"px-7 py-3 rounded-2xl border-2 border-black bg-white font-semibold hover:bg-black hover:text-white active:scale-[0.98] transition",children:"Logout"})]})]})}):(0,b.jsx)("div",{className:"min-h-screen flex items-center justify-center",children:"Loading..."})}a.s(["default",()=>e])}];

//# sourceMappingURL=Downloads_ui-main-fixed_ui-main_app_seller_page_tsx_b915dd59._.js.map