(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,46505,e=>{"use strict";var l=e.i(2732),t=e.i(52313),s=e.i(28175);function r(){let e=(0,s.useRouter)(),[r,a]=(0,t.useState)(!1),[i,o]=(0,t.useState)(null);(0,t.useEffect)(()=>{try{let e=localStorage.getItem("seller_session_v1");o(e?JSON.parse(e):null)}catch{o(null)}finally{a(!0)}},[]),(0,t.useEffect)(()=>{r&&(i||e.replace("/seller/login"))},[r,i,e]);let c=(0,t.useMemo)(()=>i?.name||i?.sellerId||"Seller",[i]);return r?(0,l.jsx)("div",{className:"min-h-[calc(100vh-0px)] flex items-center justify-center p-6",children:(0,l.jsxs)("div",{className:"w-full max-w-[680px] bg-white border border-black/10 rounded-3xl p-10",children:[(0,l.jsxs)("div",{className:"text-3xl font-extrabold text-[#ff2a6d]",children:["Welcome, ",c," 👋"]}),(0,l.jsx)("div",{className:"mt-4 text-gray-600 leading-relaxed",children:"আপনি সফলভাবে লগইন করেছেন। Inbox এ গিয়ে কাস্টমার মেসেজগুলো দেখুন।"}),(0,l.jsxs)("div",{className:"mt-8 flex items-center gap-3",children:[(0,l.jsx)("button",{onClick:()=>e.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,l.jsx)("button",{onClick:()=>{localStorage.removeItem("seller_session_v1"),e.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,l.jsx)("div",{className:"min-h-screen flex items-center justify-center",children:"Loading..."})}e.s(["default",()=>r])}]);