1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,258885,e=>{e.v("/_next/static/media/logo-p.ce49d995.png")},200517,e=>{e.v("/_next/static/media/user1.5c337f4c.svg")},812285,e=>{e.v("/_next/static/media/user2.ee1d3374.svg")},375685,e=>{e.v("/_next/static/media/user3.620702ec.svg")},56819,e=>{"use strict";e.s(["default",()=>a]);let a={src:e.i(200517).default,width:800,height:800,blurWidth:0,blurHeight:0}},931908,e=>{"use strict";e.s(["default",()=>f],931908);var a=e.i(843476),r=e.i(271645),s=e.i(846932),t=e.i(511152),l=e.i(657688),d=e.i(522016),i=e.i(654238),n=e.i(56819);let o={src:e.i(812285).default,width:800,height:800,blurWidth:0,blurHeight:0},c={src:e.i(375685).default,width:800,height:800,blurWidth:0,blurHeight:0},x=()=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"hidden lg:block mb-16 animate-pulse",children:(0,a.jsxs)("div",{className:"flex items-end justify-center gap-4 max-w-4xl mx-auto",children:[(0,a.jsx)("div",{className:"w-52",children:(0,a.jsxs)("div",{className:"bg-gray-300 border-4 border-black shadow-[6px_6px_0px_rgba(0,0,0,1)] rounded-xl overflow-hidden",children:[(0,a.jsx)("div",{className:"bg-white border-b-6 border-black p-6 flex justify-center",children:(0,a.jsx)("div",{className:"size-20 rounded-full border-4 border-black bg-gray-300"})}),(0,a.jsxs)("div",{className:"p-6 pb-8",children:[(0,a.jsx)("div",{className:"bg-gray-200 h-6 rounded mb-4 w-3/4 mx-auto"}),(0,a.jsx)("div",{className:"flex justify-center",children:(0,a.jsx)("div",{className:"size-12 bg-white border-3 border-black shadow-[3px_3px_0px_rgba(0,0,0,1)] rounded-full flex items-center justify-center",children:(0,a.jsx)("div",{className:"bg-gray-300 w-6 h-6 rounded"})})})]})]})}),(0,a.jsx)("div",{className:"w-56",children:(0,a.jsxs)("div",{className:"bg-gray-300 border-4 border-black shadow-[4px_4px_0px_rgba(0,0,0,1)] rounded-xl relative",children:[(0,a.jsx)("div",{className:"absolute -top-8 left-1/2 transform -translate-x-1/2 text-5xl",children:(0,a.jsx)("div",{className:"bg-gray-300 w-12 h-12 rounded-full"})}),(0,a.jsx)("div",{className:"bg-white rounded-t-lg border-b-4 border-black p-8 flex justify-center",children:(0,a.jsx)("div",{className:"size-24 rounded-full border-6 border-black bg-gray-300"})}),(0,a.jsxs)("div",{className:"p-6 pb-10",children:[(0,a.jsx)("div",{className:"bg-gray-200 h-8 rounded mb-6 w-3/4 mx-auto"}),(0,a.jsx)("div",{className:"flex justify-center",children:(0,a.jsx)("div",{className:"size-16 bg-white border-3 border-black shadow-[3px_3px_0px_rgba(0,0,0,1)] rounded-full flex items-center justify-center",children:(0,a.jsx)("div",{className:"bg-gray-300 w-8 h-8 rounded"})})})]})]})}),(0,a.jsx)("div",{className:"w-48",children:(0,a.jsxs)("div",{className:"bg-gray-300 border-4 border-black shadow-[4px_4px_0px_rgba(0,0,0,1)] rounded-xl overflow-hidden",children:[(0,a.jsx)("div",{className:"bg-white border-b-4 border-black p-6 flex justify-center",children:(0,a.jsx)("div",{className:"size-20 rounded-full border-6 border-black bg-gray-300"})}),(0,a.jsxs)("div",{className:"p-6 pb-8",children:[(0,a.jsx)("div",{className:"bg-gray-200 h-5 rounded mb-4 w-3/4 mx-auto"}),(0,a.jsx)("div",{className:"flex justify-center",children:(0,a.jsx)("div",{className:"size-12 bg-white border-3 border-black shadow-[3px_3px_0px_rgba(0,0,0,1)] rounded-full flex items-center justify-center",children:(0,a.jsx)("div",{className:"bg-gray-300 w-6 h-6 rounded"})})})]})]})})]})}),(0,a.jsxs)("div",{className:"bg-white border-6 border-black shadow-[8px_8px_0px_rgba(0,0,0,1)] rounded-xl overflow-hidden animate-pulse",children:[(0,a.jsx)("div",{className:"hidden md:block bg-black text-white border-b-6 border-black p-6",children:(0,a.jsxs)("div",{className:"grid grid-cols-12 gap-4",children:[(0,a.jsx)("div",{className:"col-span-1 bg-gray-700 h-4 rounded"}),(0,a.jsx)("div",{className:"col-span-4 bg-gray-700 h-4 rounded"}),(0,a.jsx)("div",{className:"col-span-2 bg-gray-700 h-4 rounded"}),(0,a.jsx)("div",{className:"col-span-2 bg-gray-700 h-4 rounded"}),(0,a.jsx)("div",{className:"col-span-3 bg-gray-700 h-4 rounded"})]})}),[1,2,3,4,5,6,7,8].map(e=>(0,a.jsxs)("div",{className:"border-b-4 border-black last:border-b-0 bg-linear-to-br from-gray-100 via-white to-gray-50",children:[(0,a.jsx)("div",{className:"hidden md:block p-6",children:(0,a.jsxs)("div",{className:"grid grid-cols-12 gap-4 items-center",children:[(0,a.jsx)("div",{className:"col-span-1 flex justify-center",children:(0,a.jsx)("div",{className:"bg-gray-300 w-8 h-8 rounded"})}),(0,a.jsxs)("div",{className:"col-span-4 flex items-center gap-4",children:[(0,a.jsx)("div",{className:"w-16 h-16 rounded-full border-4 border-black bg-gray-300"}),(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsx)("div",{className:"bg-gray-300 h-6 rounded w-32 mb-2"}),(0,a.jsx)("div",{className:"bg-gray-300 h-4 rounded w-24"})]})]}),(0,a.jsx)("div",{className:"col-span-2 flex justify-center",children:(0,a.jsx)("div",{className:"bg-gray-300 w-12 h-8 rounded"})}),(0,a.jsx)("div",{className:"col-span-2 flex justify-center",children:(0,a.jsx)("div",{className:"bg-gray-300 w-12 h-8 rounded"})}),(0,a.jsx)("div",{className:"col-span-3 flex justify-center",children:(0,a.jsx)("div",{className:"bg-gray-300 border-3 border-black rounded-lg px-6 py-2 w-28 h-12"})})]})}),(0,a.jsxs)("div",{className:"md:hidden p-6 space-y-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-4",children:[(0,a.jsx)("div",{className:"bg-gray-300 w-8 h-8 rounded"}
1),(0,a.jsx)("div",{className:"w-14 h-14 rounded-full border-4 border-black bg-gray-300"}),(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsx)("div",{className:"bg-gray-300 h-5 rounded w-24 mb-2"}),(0,a.jsx)("div",{className:"bg-gray-300 h-3 rounded w-20"})]})]}),(0,a.jsxs)("div",{className:"grid grid-cols-3 gap-3",children:[(0,a.jsx)("div",{className:"bg-gray-200 border-3 border-black px-3 py-2 rounded-lg h-20"}),(0,a.jsx)("div",{className:"bg-gray-200 border-3 border-black px-3 py-2 rounded-lg h-20"}),(0,a.jsx)("div",{className:"bg-gray-300 border-3 border-black px-3 py-2 rounded-lg h-20"})]})]})]},e))]})]}),b="0xea82FE34F42bCAa9c74dD63843AAf0e5835aC22b";console.log(b);let f=()=>{let[e,f]=(0,r.useState)(!1),[h,m]=(0,r.useState)(null),[p,u]=(0,r.useState)([]),[g,j]=(0,r.useState)(!0),[v,N]=(0,r.useState)(null);(0,r.useEffect)(()=>{f(!0),w()},[]);let w=async()=>{try{j(!0),N(null);let e=new i.ethers.JsonRpcProvider("https://sepolia-rollup.arbitrum.io/rpc"),a=["function prizeDescription() external view returns (string memory)","function ticketPrice() external view returns (uint256)","function maxTickets() external view returns (uint256)","function totalTicketsSold() external view returns (uint256)","function endTime() external view returns (uint256)","function isClosed() external view returns (bool)","function winner() external view returns (address)","function entrants(uint256) external view returns (address)","function entrantTickets(address) external view returns (uint256)"],r=new i.ethers.Contract(b,["function getRaffles() external view returns (address[] memory)"],e),s=[];try{s=await r.getRaffles(),console.log("Found raffles for leaderboard:",s.length)}catch(e){if(console.error("Error calling getRaffles():",e),e instanceof Error&&e.message.includes("could not decode result data")&&e.message.includes('value="0x"'))console.log("â¹ï¸ Factory contract returned empty data - no raffles exist yet"),s=[];else throw e}if(0===s.length){console.log("No raffles found, returning empty leaderboard"),u([]),j(!1);return}let t=new Map;for(let r of s)try{console.log("Processing raffle: ".concat(r));let s=new i.ethers.Contract(r,a,e),[l,d,n,o]=await Promise.all([s.ticketPrice().catch(()=>0),s.totalTicketsSold().catch(()=>0),s.isClosed().catch(()=>!1),s.winner().catch(()=>"0x0000000000000000000000000000000000000000")]);console.log("Raffle ".concat(r," data:"),{ticketPrice:l.toString(),totalTicketsSold:d.toString(),isClosed:n,winner:o});let c=[],x=0;for(;;)try{let e=await s.entrants(x);c.push(e),x++}catch(e){break}for(let e of(console.log("Found ".concat(c.length," entrants in raffle ").concat(r,":"),c),c))try{let a=await s.entrantTickets(e);if(console.log("Entrant ".concat(e,": tickets: ").concat(a.toString())),a>0){let r=e.toLowerCase(),s=l*a,d=o.toLowerCase()===r;console.log("Processing participant: ".concat(r,", spent: ").concat(s.toString(),", isWinner: ").concat(d)),t.has(r)||t.set(r,{address:r,rafflesJoined:0,rafflesWon:0,totalSpent:BigInt(0),totalTickets:0});let i=t.get(r);i.rafflesJoined+=1,i.totalSpent+=BigInt(s),i.totalTickets+=Number(a),d&&(i.rafflesWon+=1),console.log("Updated stats for ".concat(r,":"),i)}}catch(a){console.log("Error fetching tickets for entrant ".concat(e,":"),a)}0===c.length&&Number(d)>0&&console.log("Raffle has ".concat(d," tickets sold but no entrants found - this might be a contract issue"))}catch(e){console.error("Error fetching raffle ".concat(r,":"),e)}console.log("Final userStats Map:",Array.from(t.entries()));let l=Array.from(t.values()).map((e,a)=>{let r=e.rafflesJoined>0?e.rafflesWon/e.rafflesJoined*100:0,s=[n.default,o,c],t=s[a%s.length];return{id:e.address,address:"".concat(e.address.slice(0,6),"...").concat(e.address.slice(-4)),profileImage:t,rafflesJoined:e.rafflesJoined,rafflesWon:e.rafflesWon,totalSpent:"".concat(i.ethers.formatEther(e.totalSpent)," PYUSD"),winRate:r,rank:a+1}}).sort((e,a)=>a.rafflesWon!==e.rafflesWon?a.rafflesWon-e.rafflesWon:a.winRate-e.winRate).map((e,a)=>({...e,rank:a+1}));console.log("Leaderboard data:",l),u(l)}catch(e){console.error("Error fetching leaderboard data:",e),N("Failed to load leaderboard data")}finally{j(!1)}},y={hidden:{opacity:0,y:20},visible:{opacity:1,y:0,transition:{type:"spring",stiffness:100,damping:12}}};return(0,a.jsx)("div",{className:"min-h-screen bg-linear-to-br from-[#f3a20f]/20 via-white to-[#f97028]/10 py-12 px-4 md:px-8 lg:px-12",children:(0,a.jsxs)("div",{className:"max-w-7xl mx-auto",children:[(0,a.jsxs)(s.motion.div,{initial:{opacity:0,y:-30}
1,animate:{opacity:1,y:0},transition:{duration:.6},className:"text-center mb-16",children:[(0,a.jsx)("h1",{className:"text-5xl md:text-6xl lg:text-7xl font-rubik font-black uppercase text-black mb-4 drop-shadow-[6px_6px_0px_rgba(243,162,15,0.3)]",children:"Leaderboard"}),(0,a.jsx)("p",{className:"text-lg md:text-xl font-rubik font-semibold text-gray-700 max-w-2xl mx-auto",children:"Top performers in the Pharos raffle ecosystem. The more you participate, the higher you climb!"})]}),g&&(0,a.jsx)(x,{}),v&&(0,a.jsx)("div",{className:"text-center py-16",children:(0,a.jsxs)("div",{className:"bg-red-100 border-4 border-red-500 shadow-[6px_6px_0px_rgba(0,0,0,1)] rounded-xl p-8 max-w-md mx-auto",children:[(0,a.jsx)("p",{className:"text-xl font-rubik font-bold text-red-700 mb-4",children:"Error Loading Leaderboard"}),(0,a.jsx)("p",{className:"text-lg font-rubik text-red-600 mb-6",children:v}),(0,a.jsx)("button",{onClick:w,className:"bg-[#f97028] border-4 border-black px-6 py-3 font-black text-white uppercase tracking-tight shadow-[4px_4px_0px_#000] hover:shadow-[2px_2px_0px_#000] hover:translate-x-[2px] hover:translate-y-[2px] active:shadow-none active:translate-x-[4px] active:translate-y-[4px] transition-all duration-100",children:"Retry"})]})}),!g&&!v&&0===p.length&&(0,a.jsx)("div",{className:"text-center py-16",children:(0,a.jsxs)("div",{className:"bg-white border-4 border-black shadow-[8px_8px_0px_rgba(0,0,0,1)] rounded-xl p-8 max-w-md mx-auto",children:[(0,a.jsx)("p",{className:"text-2xl font-rubik font-bold text-gray-700 mb-4",children:"No Participants Yet"}),(0,a.jsx)("p",{className:"text-lg font-rubik text-gray-500 mb-6",children:"Be the first to join a raffle and appear on the leaderboard!"}),(0,a.jsxs)(d.default,{href:"/raffle",className:"flex w-fit mx-auto items-center justify-center gap-2 cursor-pointer font-bold uppercase tracking-wide transition-all duration-200 ease-in-out bg-[#f97028] text-white border-4 border-black shadow-[4px_4px_0px_rgba(0,0,0,1)] rounded-lg px-8 py-3 font-rubik hover:shadow-[3px_3px_0px_#000] hover:translate-x-[3px] hover:translate-y-[3px]",children:["Browse Raffles ",(0,a.jsx)(t.FaArrowRight,{})]})]})}),!g&&!v&&p.length>0&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"hidden lg:block mb-16",children:(0,a.jsxs)("div",{className:"flex items-end justify-center gap-4 max-w-4xl mx-auto",children:[p[1]&&(0,a.jsx)(s.motion.div,{initial:{opacity:0,y:50},animate:{opacity:1,y:0},transition:{duration:.6,delay:.2},className:"w-52",children:(0,a.jsxs)(s.motion.div,{whileHover:{translateY:-4,boxShadow:"10px 10px 0px rgba(0,0,0,1)"},transition:{type:"spring",stiffness:300},className:"bg-[#f3a20f] border-4 border-black shadow-[6px_6px_0px_rgba(0,0,0,1)] rounded-xl overflow-hidden",children:[(0,a.jsx)("div",{className:"bg-white border-b-6 border-black p-6 flex justify-center",children:(0,a.jsx)("div",{className:"size-20 rounded-full border-4 border-black shadow-[3px_3px_0px_rgba(0,0,0,1)] overflow-hidden bg-white flex items-center justify-center",children:(0,a.jsx)(l.default,{src:p[1].profileImage,alt:"",className:"w-full h-full object-cover"})})}),(0,a.jsxs)("div",{className:"p-6 pb-8",children:[(0,a.jsx)("h3",{className:"text-2xl font-rubik font-black text-white text-center mb-4 truncate",children:(e=>e.name||e.address)(p[1])}),(0,a.jsx)("div",{className:"flex justify-center",children:(0,a.jsx)("div",{className:"size-12 bg-white border-3 border-black shadow-[3px_3px_0px_rgba(0,0,0,1)] rounded-full flex items-center justify-center",children:(0,a.jsx)("span",{className:"text-2xl font-bold text-black",children:"2"})})})]})]})}),p[0]&&(0,a.jsx)(s.motion.div,{initial:{opacity:0,y:50},animate:{opacity:1,y:0},transition:{duration:.6,delay:.1},className:"w-56",children:(0,a.jsxs)(s.motion.div,{whileHover:{translateY:-4,boxShadow:"12px 12px 0px rgba(0,0,0,1)"},transition:{type:"spring",stiffness:300},className:"bg-[#f97028] border-4 border-black shadow-[4px_4px_0px_rgba(0,0,0,1)] rounded-xl relative",children:[(0,a.jsx)("div",{className:"absolute -top-8 left-1/2 transform -translate-x-1/2 text-5xl z-10",children:"ð"}),(0,a.jsx)("div",{className:"bg-white rounded-t-lg border-b-4 border-black p-8 flex justify-center",children:(0,a.jsx)("div",{className:"size-24 rounded-full border-6 border-black shadow-[3px_3px_0px_rgba(0,0,0,1)] overflow-hidden bg-white flex items-center justify-center",children:(0,a.jsx)(l.default,{src:p[0].profileImage,alt:"",className:"w-full h-full object-cover"})})}),(0,a.jsxs)("div",{className:"p-6 pb-10",children:[(0,a.jsx)("h3",{className:"text-3xl font-rubik font-black text-white text-center mb-6 truncate",children:(e=>e.name||e.address)(p[0])}),(0,a.jsx)("div",{className:"flex justify-center",children:(0,a.jsx)("div",{className:"size-16 bg-white border-3 border-black shadow-[3px_3px_0px_rgba(0,0,0,1)] rounded-full flex items-center justify-center",children:(0,a.jsx)("span",{className:"text-4xl font-bold text-black",children:"1"})})})]})]})}),p[2]&&(0,a.jsx)(s.motion.div,{initial:{opacity:0,y:50}
1,animate:{opacity:1,y:0},transition:{duration:.6,delay:.3},className:"w-48",children:(0,a.jsxs)(s.motion.div,{whileHover:{translateY:-4,boxShadow:"10px 10px 0px rgba(0,0,0,1)"},transition:{type:"spring",stiffness:300},className:"bg-[#8b5cf6] border-4 border-black shadow-[4px_4px_0px_rgba(0,0,0,1)] rounded-xl overflow-hidden",children:[(0,a.jsx)("div",{className:"bg-white border-b-4 border-black p-6 flex justify-center",children:(0,a.jsx)("div",{className:"size-20 rounded-full border-6 border-black shadow-[3px_3px_0px_rgba(0,0,0,1)] overflow-hidden bg-white flex items-center justify-center",children:(0,a.jsx)(l.default,{src:p[2].profileImage,alt:"",className:"w-full h-full object-cover"})})}),(0,a.jsxs)("div",{className:"p-6 pb-8",children:[(0,a.jsx)("h3",{className:"text-xl font-rubik font-black text-white text-center mb-4 truncate",children:(e=>e.name||e.address)(p[2])}),(0,a.jsx)("div",{className:"flex justify-center",children:(0,a.jsx)("div",{className:"size-12 bg-white border-3 border-black shadow-[3px_3px_0px_rgba(0,0,0,1)] rounded-full flex items-center justify-center",children:(0,a.jsx)("span",{className:"text-2xl font-bold text-black",children:"3"})})})]})]})})]})}),(0,a.jsxs)("div",{className:"bg-white border-6 border-black shadow-[8px_8px_0px_rgba(0,0,0,1)] rounded-xl overflow-hidden",children:[(0,a.jsx)("div",{className:"hidden md:block bg-black text-white border-b-6 border-black p-6",children:(0,a.jsxs)("div",{className:"grid grid-cols-12 gap-4 font-rubik font-black uppercase text-sm",children:[(0,a.jsx)("div",{className:"col-span-1 text-center",children:"Rank"}),(0,a.jsx)("div",{className:"col-span-4",children:"Player"}),(0,a.jsx)("div",{className:"col-span-2 text-center",children:"Raffles Joined"}),(0,a.jsx)("div",{className:"col-span-2 text-center",children:"Raffles Won"}),(0,a.jsx)("div",{className:"col-span-3 text-center",children:"Win Rate"})]})}),(0,a.jsx)(s.motion.div,{variants:{hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.1}}},initial:"hidden",animate:e?"visible":"hidden",children:p.map(e=>(0,a.jsxs)(s.motion.div,{variants:y,onHoverStart:()=>m(e.id),onHoverEnd:()=>m(null),className:"border-b-4 border-black last:border-b-0 transition-all duration-300 ".concat(h!==e.id?"bg-linear-to-br from-[#f97028]/10 via-white to-[#f3a20f]/20":"bg-white"),children:[(0,a.jsx)("div",{className:"hidden md:block p-6",children:(0,a.jsxs)("div",{className:"grid grid-cols-12 gap-4 items-center",children:[(0,a.jsx)("div",{className:"col-span-1 flex justify-center",children:(0,a.jsx)("div",{className:"text-3xl font-rubik font-black text-black",children:e.rank})}),(0,a.jsxs)("div",{className:"col-span-4 flex items-center gap-4",children:[(0,a.jsx)("div",{className:"w-16 h-16 rounded-full border-4 border-black shadow-[4px_4px_0px_rgba(0,0,0,1)] overflow-hidden",children:(0,a.jsx)(l.default,{src:e.profileImage,alt:"",className:"w-full h-full object-cover"})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-xl font-rubik font-black text-black",children:(e=>e.name||e.address)(e)}),e.name&&(0,a.jsx)("p",{className:"text-sm font-rubik font-medium text-gray-600",children:e.address})]})]}),(0,a.jsx)("div",{className:"col-span-2 flex items-center justify-center gap-2",children:(0,a.jsx)("span",{className:"text-3xl font-rubik font-black text-black",children:e.rafflesJoined})}),(0,a.jsx)("div",{className:"col-span-2 flex items-center justify-center gap-2",children:(0,a.jsx)("span",{className:"text-3xl font-rubik font-black text-black",children:e.rafflesWon})}),(0,a.jsx)("div",{className:"col-span-3 flex justify-center",children:(0,a.jsx)("div",{className:"bg-[#f97028] border-3 border-black rounded-lg px-6 py-2 shadow-[3px_3px_0px_rgba(0,0,0,1)]",children:(0,a.jsxs)("span",{className:"text-3xl font-rubik font-black text-white",children:[e.winRate.toFixed(1),"%"]})})})]})}),(0,a.jsxs)("div",{className:"md:hidden p-6 space-y-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-4",children:[(0,a.jsxs)("div",{className:"text-2xl font-rubik font-black text-black shrink-0",children:["#",e.rank]}
1),(0,a.jsx)("div",{className:"w-14 h-14 rounded-full border-4 border-black shadow-[4px_4px_0px_rgba(0,0,0,1)] overflow-hidden shrink-0",children:(0,a.jsx)(l.default,{src:e.profileImage,alt:"",className:"w-full h-full object-cover"})}),(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,a.jsx)("h3",{className:"text-lg font-rubik font-black text-black truncate",children:(e=>e.name||e.address)(e)}),e.name&&(0,a.jsx)("p",{className:"text-xs font-rubik font-medium text-gray-600 truncate",children:e.address})]})]}),(0,a.jsxs)("div",{className:"grid grid-cols-3 gap-3",children:[(0,a.jsxs)("div",{className:"bg-linear-to-r from-[#f3a20f]/20 to-[#f97028]/20 border-3 border-black px-3 py-2 rounded-lg text-center",children:[(0,a.jsx)(t.FaTicketAlt,{className:"text-[#f97028] mx-auto mb-1"}),(0,a.jsx)("div",{className:"text-xl font-rubik font-black text-black",children:e.rafflesJoined}),(0,a.jsx)("div",{className:"text-xs font-rubik font-bold text-gray-600",children:"Joined"})]}),(0,a.jsxs)("div",{className:"bg-linear-to-r from-green-100 to-emerald-100 border-3 border-black px-3 py-2 rounded-lg text-center",children:[(0,a.jsx)(t.FaTrophy,{className:"text-green-600 mx-auto mb-1"}),(0,a.jsx)("div",{className:"text-xl font-rubik font-black text-black",children:e.rafflesWon}),(0,a.jsx)("div",{className:"text-xs font-rubik font-bold text-gray-600",children:"Won"})]}),(0,a.jsxs)("div",{className:"bg-[#f97028] border-3 border-black px-3 py-2 rounded-lg text-center shadow-[3px_3px_0px_rgba(0,0,0,1)]",children:[(0,a.jsxs)("div",{className:"text-xl font-rubik font-black text-white",children:[e.winRate.toFixed(1),"%"]}),(0,a.jsx)("div",{className:"text-xs font-rubik font-bold text-white/80",children:"Rate"})]})]})]})]},e.id))})]}),(0,a.jsx)(s.motion.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.6,delay:.8},className:"mt-16 text-center",children:(0,a.jsxs)("div",{className:"bg-white text-black border-6 border-black shadow-[8px_8px_0px_rgba(0,0,0,1)] rounded-xl p-8 max-w-2xl mx-auto",children:[(0,a.jsx)("h3",{className:"text-3xl font-rubik font-black uppercase mb-4",children:"Want to climb the ranks?"}),(0,a.jsx)("p",{className:"text-lg font-rubik font-semibold mb-6",children:"Join more raffles and increase your chances of winning to move up the leaderboard!"}),(0,a.jsxs)(d.default,{href:"/raffle",className:"flex w-fit mx-auto items-center justify-center gap-2 cursor-pointer font-bold uppercase tracking-wide transition-all duration-200 ease-in-out bg-[#f97028] text-white border-4 border-black shadow-[4px_4px_0px_rgba(0,0,0,1)] rounded-lg px-8 py-3 font-rubik hover:shadow-[3px_3px_0px_#000] hover:translate-x-[3px] hover:translate-y-[3px]",children:["Browse Raffles ",(0,a.jsx)(t.FaArrowRight,{})]})]})})]})]})})}}]);
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.