(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,66595,e=>{"use strict";let t=(0,e.i(56420).default)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);e.s(["Search",0,t],66595)},41166,e=>{"use strict";var t=e.i(43476),s=e.i(70387),a=e.i(66595),l=e.i(56420);let r=(0,l.default)("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]),d=(0,l.default)("circle-x",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);e.s(["default",0,function(){return(0,t.jsxs)("div",{className:"space-y-6 max-w-7xl",children:[(0,t.jsx)("div",{className:"flex items-center justify-between",children:(0,t.jsxs)("h2",{className:"text-2xl font-black text-white flex items-center gap-2",children:[(0,t.jsx)(s.CreditCard,{className:"w-6 h-6 text-amber-500"})," Duyệt Lệnh Rút Tiền Affiliate"]})}),(0,t.jsxs)("div",{className:"bg-slate-900/50 backdrop-blur-sm rounded-2xl border border-slate-800 overflow-hidden",children:[(0,t.jsxs)("div",{className:"p-4 border-b border-slate-800 flex items-center gap-4",children:[(0,t.jsxs)("div",{className:"flex-1 relative",children:[(0,t.jsx)(a.Search,{className:"w-4 h-4 text-slate-500 absolute left-3 top-1/2 -translate-y-1/2"}),(0,t.jsx)("input",{type:"text",placeholder:"Tìm kiếm theo Tên, Email...",className:"w-full bg-slate-950 border border-slate-700 text-slate-300 pl-10 pr-4 py-2 rounded-lg text-sm outline-none focus:border-blue-500 transition-colors"})]}),(0,t.jsxs)("select",{className:"bg-slate-950 border border-slate-700 text-slate-300 px-4 py-2 rounded-lg text-sm outline-none",children:[(0,t.jsx)("option",{children:"Tất cả trạng thái"}),(0,t.jsx)("option",{children:"Chờ duyệt (Pending)"}),(0,t.jsx)("option",{children:"Đã thanh toán (Completed)"}),(0,t.jsx)("option",{children:"Từ chối (Rejected)"})]})]}),(0,t.jsx)("div",{className:"overflow-x-auto",children:(0,t.jsxs)("table",{className:"w-full text-left border-collapse",children:[(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{className:"bg-slate-900 text-slate-400 text-xs uppercase tracking-wider",children:[(0,t.jsx)("th",{className:"p-4 font-bold",children:"Khách Hàng"}),(0,t.jsx)("th",{className:"p-4 font-bold",children:"Số Tiền Rút"}),(0,t.jsx)("th",{className:"p-4 font-bold",children:"Thông Tin Nhận Tiền"}),(0,t.jsx)("th",{className:"p-4 font-bold",children:"Ngày Yêu Cầu"}),(0,t.jsx)("th",{className:"p-4 font-bold",children:"Trạng Thái"}),(0,t.jsx)("th",{className:"p-4 font-bold text-right",children:"Hành Động"})]})}),(0,t.jsx)("tbody",{className:"divide-y divide-slate-800",children:[{id:"W1",user:"Phạm Thành Tiền",email:"tien@gmail.com",amount:15e6,bank:"VCB - 0123456789",date:"24/06/2026",status:"PENDING"},{id:"W2",user:"Nguyễn Văn Đô",email:"do@gmail.com",amount:25e5,bank:"TCB - 9876543210",date:"23/06/2026",status:"COMPLETED"},{id:"W3",user:"Hacker X",email:"hacker@spam.com",amount:5e7,bank:"MOMO - 0987654321",date:"22/06/2026",status:"REJECTED"}].map(e=>(0,t.jsxs)("tr",{className:"hover:bg-slate-800/30 transition-colors",children:[(0,t.jsxs)("td",{className:"p-4",children:[(0,t.jsx)("p",{className:"text-sm font-bold text-slate-200",children:e.user}),(0,t.jsx)("p",{className:"text-xs text-slate-500",children:e.email})]}),(0,t.jsxs)("td",{className:"p-4 text-sm font-black text-amber-500",children:[e.amount.toLocaleString("vi-VN"),"đ"]}),(0,t.jsx)("td",{className:"p-4 text-sm text-slate-300 font-mono bg-slate-950/50 rounded px-2 py-1 inline-block mt-3 border border-slate-800/50",children:e.bank}),(0,t.jsx)("td",{className:"p-4 text-sm text-slate-400",children:e.date}),(0,t.jsx)("td",{className:"p-4",children:(0,t.jsx)("span",{className:`px-2 py-1 rounded-md text-[10px] font-bold uppercase border ${"PENDING"===e.status?"bg-amber-500/10 text-amber-400 border-amber-500/20 animate-pulse":"COMPLETED"===e.status?"bg-emerald-500/10 text-emerald-400 border-emerald-500/20":"bg-rose-500/10 text-rose-400 border-rose-500/20"}`,children:e.status})}),(0,t.jsx)("td",{className:"p-4 flex items-center justify-end gap-2",children:"PENDING"===e.status&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{className:"p-2 bg-emerald-500/10 hover:bg-emerald-500/20 text-emerald-500 rounded-lg transition-colors border border-emerald-500/20",title:"Đã Chuyển Khoản (Approve)",children:(0,t.jsx)(r,{className:"w-4 h-4"})}),(0,t.jsx)("button",{className:"p-2 bg-rose-500/10 hover:bg-rose-500/20 text-rose-500 rounded-lg transition-colors border border-rose-500/20",title:"Từ Chối (Reject)",children:(0,t.jsx)(d,{className:"w-4 h-4"})})]})})]},e.id))})]})})]})]})}],41166)}]);