1import{c as h,u,i as b,r as c,j as e,m as a,a as f,M as y,L as r,B as i,S as w,Z as j}from"./index-CAgTsS9I.js";import{L as v,d as W,G as N,a as x,A as C}from"./Layout-D_oP4nSj.js";import{C as k}from"./circle-check-DfwU2bne.js";import{I as M}from"./infinity-ClOBZQPQ.js";import{R as S}from"./rocket-BzPYJFPc.js";import"./settings-Dqu1Zn_r.js";import"./check-DXYeM_Sd.js";import"./trash-2-B8kvyBWw.js";import"./mail-SHgAPKVI.js";import"./dialog-70VskD_D.js";import"./index-CSdx2VRY.js";import"./search-CkMXx1d0.js";import"./user-Bzsp7ULD.js";import"./arrow-left-BuPJNO5W.js";import"./camera-DxANKcNo.js";import"./shield-check-BgNs-s5f.js";import"./house-CVZTxZpZ.js";/** 2 * @license lucide-react v0.453.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */const m=h("PartyPopper",[["path",{d:"M5.8 11.3 2 22l10.7-3.79",key:"gwxi1d"}],["path",{d:"M4 3h.01",key:"1vcuye"}],["path",{d:"M22 8h.01",key:"1mrtc2"}],["path",{d:"M15 2h.01",key:"1cjtqr"}],["path",{d:"M22 20h.01",key:"1mrys2"}],["path",{d:"m22 2-2.24.75a2.9 2.9 0 0 0-1.96 3.12c.1.86-.57 1.63-1.45 1.63h-.38c-.86 0-1.6.6-1.76 1.44L14 10",key:"hbicv8"}],["path",{d:"m22 13-.82-.33c-.86-.34-1.82.2-1.98 1.11c-.11.7-.72 1.22-1.43 1.22H17",key:"1i94pl"}],["path",{d:"m11 2 .33.82c.34.86-.2 1.82-1.11 1.98C9.52 4.9 9 5.52 9 6.23V7",key:"1cofks"}],["path",{d:"M11 13c1.93 1.93 2.83 4.17 2 5-.83.83-3.07-.07-5-2-1.93-1.93-2.83-4.17-2-5 .83-.83 3.07.07 5 2Z",key:"4kbmks"}]]),P=[{icon:M,title:"Unlimited AI Boxing Chat",description:"Ask our AI boxing historian anything â unlimited messages, deep analysis, fight predictions, and downloadable reports.",href:"/ai-chat",cta:"Start Chatting",color:"text-blue-400",bgColor:"bg-blue-500/10",borderColor:"border-blue-500/20"},{icon:f,title:"Fight Night Live",description:"Join live watch-along rooms during fight nights. Score rounds, chat with fans, and follow live blogs in real time.",href:"/fight-night",cta:"View Fight Nights",color:"text-red-400",bgColor:"bg-red-500/10",borderColor:"border-red-500/20"},{icon:y,title:"Community Forum",description:"Discuss fights, share opinions, and connect with the British boxing community. Create threads, reply, and build your reputation.",href:"/forum",cta:"Visit Forum",color:"text-green-400",bgColor:"bg-green-500/10",borderColor:"border-green-500/20"},{icon:W,title:"Fighter Compare Tool",description:"Compare any two fighters head-to-head with detailed stat breakdowns, AI-powered fight predictions, and shareable comparison cards.",href:"/compare",cta:"Compare Fighters",color:"text-purple-400",bgColor:"bg-purple-500/10",borderColor:"border-purple-500/20"},{icon:N,title:"Boxing Academy",description:"Master boxing knowledge with structured courses covering history, rules, techniques, great fighters, and weight classes.",href:"/course",cta:"Start Learning",color:"text-yellow-400",bgColor:"bg-yellow-500/10",borderColor:"border-yellow-500/20"},{icon:x,title:"My Hub Dashboard",description:"Your personal boxing portal â social feed, training plans, food logs, media gallery, contacts, journey diary, and AI assistant.",href:"/hub",cta:"Open My Hub",color:"text-cyan-400",bgColor:"bg-cyan-500/10",borderColor:"border-cyan-500/20"}];function z(){const{user:s,refresh:n}=u(),[,d]=b(),[p,g]=c.useState(!0),l=typeof window<"u"&&new URLSearchParams(window.location.search).get("subscribed")==="true";return c.useEffect(()=>{const t=setTimeout(()=>g(!1),5e3);return()=>clearTimeout(t)},[]),c.useEffect(()=>{if(!l||s?.isPremium)return;let t=0;const o=setInterval(()=>{t++,n(),t>=10&&clearInterval(o)},2e3);return()=>clearInterval(o)},[l,s?.isPremium,n]),c.useEffect(()=>{l||s&&s.isPremium!==!0&&d("/premium")},[s,d,l]),e.jsx(v,{"data-loc":"client/src/pages/Welcome.tsx:123",children:e.jsxs("div",{"data-loc":"client/src/pages/Welcome.tsx:124",className:"w-full bg-[#0a0a0a] min-h-screen min-h-dvh",children:[e.jsxs("div",{"data-loc":"client/src/pages/Welcome.tsx:126",className:"relative w-full overflow-hidden min-h-[380px] flex items-center justify-center",children:[e.jsx("div",{"data-loc":"client/src/pages/Welcome.tsx:128",className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-2/3 h-2/3 bg-boxing-red/20 rounded-full blur-[200px]"}),e.jsx("div",{"data-loc":"client/src/pages/Welcome.tsx:129",className:"absolute top-1/4 left-1/4 w-1/3 h-1/3 bg-boxing-gold/10 rounded-full blur-[150px]"}),e.jsx("div",{"data-loc":"client/src/pages/Welcome.tsx:130",className:"absolute bottom-1/4 right-1/4 w-1/4 h-1/4 bg-purple-500/10 rounded-full blur-[120px]"}),e.jsx("div",{"data-loc":"client/src/pages/Welcome.tsx:131",className:"absolute inset-0",style:{backgroundImage:"radial-gradient(rgba(255,255,255,0.02) 1px, transparent 1px)",backgroundSize:"40px 40px"}}),p&&e.jsx("div",{"data-loc":"client/src/pages/Welcome.tsx:141",className:"absolute inset-0 overflow-hidden pointer-events-none",children:Array.from({length:20}).map((t,o)=>e.jsx(a.div,{"data-loc":"client/src/pages/Welcome.tsx:143",className:"absolute w-2 h-2 rounded-full",style:{left:`${Math.random()*100}%`,backgroundColor:["#ef4444","#eab308","#3b82f6","#a855f7","#22c55e"][o%5]},initial:{top:"-5%",opacity:1,scale:1},animate:{top:"110%",opacity:0,scale:.5,x:(Math.random()-.5)*200,rotate:Math.random()*720},transition:{duration:2+Math.random()*2,delay:Math.random()*1.5,ease:"easeOut"}},o))}),e.jsxs("div",{"data-loc":"client/src/pages/Welcome.tsx:168",className:"relative w-full px-4 sm:px-6 md:px-10 lg:px-16 text-center z-10 py-16",children:[e.jsxs(a.div,{"data-loc":"client/src/pages/Welcome.tsx:169",initial:{scale:0},animate:{scale:1},transition:{type:"spring",stiffness:200,damping:15,delay:.2},className:"inline-flex items-center gap-2 bg-boxing-gold/10 border border-boxing-gold/20 rounded-xl px-5 py-3 backdrop-blur-sm mb-6",children:[e.jsx(m,{"data-loc":"client/src/pages/Welcome.tsx:175",className:"w-5 h-5 text-boxing-gold"}),e.jsx("span",{"data-loc":"client/src/pages/Welcome.tsx:176",className:"text-boxing-gold text-sm font-semibold tracking-wider up
6percase",children:"Welcome to Pro"}),e.jsx(m,{"data-loc":"client/src/pages/Welcome.tsx:177",className:"w-5 h-5 text-boxing-gold"})]}),e.jsxs(a.h1,{"data-loc":"client/src/pages/Welcome.tsx:180",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.4,duration:.6},className:"font-heading text-4xl md:text-6xl font-bold text-foreground mb-4",children:["You're In the",e.jsx("br",{"data-loc":"client/src/pages/Welcome.tsx:187"}),e.jsx("span",{"data-loc":"client/src/pages/Welcome.tsx:188",className:"text-transparent bg-clip-text bg-gradient-to-r from-boxing-gold via-yellow-400 to-boxing-gold",children:"Champion's Corner"})]}),e.jsxs(a.p,{"data-loc":"client/src/pages/Welcome.tsx:193",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.6,duration:.6},className:"text-muted-foreground text-lg md:text-xl max-w-3xl mx-auto mb-2",children:["Welcome",s?.name?`, ${s.name}`:"","! Your Pro subscription is now active. Here's everything you've just unlocked."]}),e.jsxs(a.div,{"data-loc":"client/src/pages/Welcome.tsx:203",initial:{opacity:0}
6,animate:{opacity:1},transition:{delay:.8},className:"inline-flex items-center gap-2 text-green-400 text-sm mt-2",children:[e.jsx(k,{"data-loc":"client/src/pages/Welcome.tsx:209",className:"w-4 h-4"}),e.jsx("span",{"data-loc":"client/src/pages/Welcome.tsx:210",className:"font-heading uppercase tracking-wider",children:"Pro subscription active"})]})]})]}),e.jsx("div",{"data-loc":"client/src/pages/Welcome.tsx:216",className:"w-full px-4 sm:px-6 md:px-10 lg:px-16 py-16",children:e.jsxs("div",{"data-loc":"client/src/pages/Welcome.tsx:217",className:"max-w-6xl mx-auto",children:[e.jsxs(a.div,{"data-loc":"client/src/pages/Welcome.tsx:218",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.8,duration:.5},className:"text-center mb-12",children:[e.jsx("h2",{"data-loc":"client/src/pages/Welcome.tsx:224",className:"font-heading text-2xl md:text-3xl text-foreground mb-3",children:"Your Pro Features"}),e.jsx("p",{"data-loc":"client/src/pages/Welcome.tsx:227",className:"text-muted-foreground max-w-2xl mx-auto",children:"Explore all the premium features now available to you. Click any card to jump straight in."})]}),e.jsx("div",{"data-loc":"client/src/pages/Welcome.tsx:232",className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-6",children:P.map((t,o)=>e.jsx(a.div,{"data-loc":"client/src/pages/Welcome.tsx:234",initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{delay:1+o*.1,duration:.4},children:e.jsx(r,{"data-loc":"client/src/pages/Welcome.tsx:240",href:t.href,children:e.jsxs("div",{"data-loc":"client/src/pages/Welcome.tsx:241",className:`group relative overflow-hidden rounded-2xl border ${t.borderColor} ${t.bgColor} p-6 h-full cursor-pointer transition-all duration-300 hover:scale-[1.02] hover:shadow-lg`,children:[e.jsx("div",{"data-loc":"client/src/pages/Welcome.tsx:242",className:"absolute top-0 left-0 right-0 h-px bg-gradient-to-r from-transparent via-white/10 to-transparent"}),e.jsx("div",{"data-loc":"client/src/pages/Welcome.tsx:244",className:`w-12 h-12 ${t.bgColor} border ${t.borderColor} rounded-xl flex items-center justify-center mb-4`,children:e.jsx(t.icon,{"data-loc":"client/src/pages/Welcome.tsx:245",className:`w-6 h-6 ${t.color}`})}),e.jsx("h3",{"data-loc":"client/src/pages/Welcome.tsx:248",className:"font-heading text-lg text-foreground mb-2 group-hover:text-boxing-gold transition-colors",children:t.title}),e.jsx("p",{"data-loc":"client/src/pages/Welcome.tsx:252",className:"text-muted-foreground text-sm leading-relaxed mb-4",children:t.description}),e.jsxs("div",{"data-loc":"client/src/pages/Welcome.tsx:256",className:`inline-flex items-center gap-1.5 text-sm ${t.color} font-heading uppercase tracking-wider`,children:[t.cta,e.jsx(C,{"data-loc":"client/src/pages/Welcome.tsx:258",className:"w-3.5 h-3.5 group-hover:translate-x-1 transition-transform"})]})]})})},t.title))})]})}),e.jsx("div",{"data-loc":"client/src/pages/Welcome.tsx:269",className:"w-full px-4 sm:px-6 md:px-10 lg:px-16 py-16",children:e.jsx("div",{"data-loc":"client/src/pages/Welcome.tsx:270",className:"max-w-4xl mx-auto",children:e.jsxs(a.div,{"data-loc":"client/src/pages/Welcome.tsx:271",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:1.6,duration:.5},className:"relative overflow-hidden rounded-2xl border border-boxing-red/20 p-8 md:p-12 text-center",children:[e.jsx("div",{"data-loc":"client/src/pages/Welcome.tsx:277",className:"absolute inset-0 bg-gradient-to-r from-boxing-red/5 via-transparent to-boxing-red/5"}),e.jsx("div",{"data-loc":"client/src/pages/Welcome.tsx:278",className:"absolute top-0 left-0 right-0 h-px bg-gradient-to-r from-transparent via-boxing-red/30 to-transparent"}),e.jsxs("div",{"data-loc":"client/src/pages/Welcome.tsx:280",className:"relative",children:[e.jsx(S,{"data-loc":"client/src/pages/Welcome.tsx:281",className:"w-12 h-12 text-boxing-red mx-auto mb-4"}),e.jsx("h2",{"data-loc":"client/src/pages/Welcome.tsx:282",className:"font-heading text-2xl md:text-3xl text-foreground mb-3",children:"Where Would You Like to Start?"}),e.jsx("p",{"data-loc":"client/src/pages/Welcome.tsx:285",className:"text-muted-foreground max-w-xl mx-auto mb-8",children:"Jump into any of your Pro features, or head back to the homepage to explore the latest boxing content."}),e.jsxs("div",{"data-loc":"client/src/pages/Welcome.tsx:289",className:"flex flex-wrap items-center justify-center gap-3",children:[e.jsx(r,{"data-loc":"client/src/pages/Welcome.tsx:290",href:"/ai-chat",children:e.jsxs(i,{"data-loc":"client/src/pages/Welcome.tsx:291",className:"bg-boxing-red text-white font-heading uppercase tracking-wider hover:bg-boxing-red/90 shadow-lg shadow-boxing-red/20 px-6",children:[e.jsx(w,{"data-loc":"client/src/pages/Welcome.tsx:292",className:"h-4 w-4 mr-2"})," AI Boxing Chat"]})}),e.jsx(r,{"data-loc":"client/src/pages/Welcome.tsx:295",href:"/hub",children:e.jsxs(i,{"data-loc":"client/src/pages/Welcome.tsx:296",variant:"outline",className:"font-heading uppercase tracking-wider border-border text-muted-foreground hover:text-foreground px-6",children:[e.jsx(x,{"data-loc":"client/src/pages/Welcome.tsx:297",className:"h-4 w-4 mr-2"})," My Hub"]})}),e.jsx(r,{"data-loc":"client/src/pages/Welcome.tsx:300",href:"/",children:e.jsxs(i,{"data-loc":"client/src/pages/Welcome.tsx:301",variant:"outline",className:"font-heading uppercase tracking-wider border-border text-muted-foreground hover:text-foreground px-6",children:[e.jsx(j,{"data-loc":"client/src/pages/Welcome.tsx:302",className:"h-4 w-4 mr-2"})," Homepage"]})})]})]})]})})}),e.jsx("div",{"data-loc":"client/src/pages/Welcome.tsx:312",className:"w-full px-4 sm:px-6 md:px-10 lg:px-16 py-8 border-t border-border/30",children:e.jsx("div",{"data-loc":"client/src/pages/Welcome.tsx:313",className:"max-w-4xl mx-auto text-center",children:e.jsxs("p",{"data-loc":"client/src/pages/Welcome.tsx:314",className:"text-muted-foreground
6/50 text-xs",children:["Your Pro subscription is billed at £4.99/month. You can manage or cancel your subscription anytime from"," ",e.jsx(r,{"data-loc":"client/src/pages/Welcome.tsx:316",href:"/settings",className:"text-boxing-red/60 hover:text-boxing-red underline",children:"Account Settings"}),". Thank you for supporting British Boxers!"]})})})]})})}export{z as default};
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.