1import{u as g,t as u,e as c,j as e,X as p,B as h,s as f}from"./index-NxQPTd4y.js";import{B as l}from"./badge-og25CAu5.js";import{Z as b}from"./zap-n-XU1QQX.js";import{C as d}from"./circle-check-7MAKYWlS.js";const n=[{id:"free",name:"Free",price:"â¬0",period:"forever",desc:"For casual exploration and getting started.",highlight:!1,features:[{text:"5 leagues (delayed 24h)",included:!0},{text:"Live scores & standings",included:!0},{text:"Basic match statistics",included:!0},{text:"Data exports (CSV/JSON)",included:!1},{text:"API key access",included:!1},{text:"Live data (real-time)",included:!1},{text:"All leagues",included:!1}],cta:"Get started"},{id:"premium",name:"Premium",price:"â¬9.99",period:"per month",desc:"For journalists and analysts who need real-time data.",highlight:!0,features:[{text:"All 1,200+ leagues",included:!0},{text:"Live data (real-time)",included:!0},{text:"Deep match statistics",included:!0},{text:"Data exports (CSV/JSON)",included:!0},{text:"API key access",included:!1},{text:"Priority support",included:!0},{text:"Historical data (15 years)",included:!0}],cta:"Start Premium"},{id:"api",name:"API Access",price:"â¬29.99",period:"per month",desc:"For developers building applications on football data.",highlight:!1,features:[{text:"Everything in Premium",included:!0},{text:"Personal API keys (up to 5)",included:!0},{text:"Programmatic data access",included:!0},{text:"JSON & CSV bulk exports",included:!0},{text:"Developer documentation",included:!0},{text:"Higher rate limits",included:!0},{text:"Dedicated support",included:!0}],cta:"Start API Access"}],P=[{q:"Are there any affiliate links or gambling promotions?",a:"No. Odds247 displays odds purely for informational and analytical purposes. We have no commercial relationship with any bookmaker and will never include affiliate links."},{q:"Can I cancel at any time?",a:"Yes. You can cancel your subscription at any time. You will retain access until the end of your billing period."},{q:"What data sources does Odds247 use?",a:"All data is sourced from API-Football, one of the most comprehensive football data providers in the world, covering 1,200+ leagues and 15+ years of history."},{q:"Is the free tier really free?",a:"Yes. The free tier is permanently free with no credit card required. Data is delayed by 24 hours on the free tier."}];function w(){const{user:o,isAuthenticated:x}=g(),i=u.auth.upgradeTier.useMutation({onSuccess:()=>{c.success("Plan updated! Refresh to see changes.")},onError:t=>c.error(t.message)}),m=t=>{if(!x){f();return}i.mutate({tier:t})};return e.jsx("div",{"data-loc":"client/src/pages/Pricing.tsx:87",className:"min-h-screen py-16",children:e.jsxs("div",{"data-loc":"client/src/pages/Pricing.tsx:88",className:"container",children:[e.jsxs("div",{"data-loc":"client/src/pages/Pricing.tsx:90",className:"text-center mb-14",children:[e.jsxs(l,{"data-loc":"client/src/pages/Pricing.tsx:91",variant:"outline",className:"mb-4 text-primary border-primary/30 bg-primary/10 px-4 py-1.5 text-sm font-medium",children:[e.jsx(b,{"data-loc":"client/src/pages/Pricing.tsx:92",className:"w-3.5 h-3.5 mr-1.5"}),"Simple, transparent pricing"]}),e.jsx("h1",{"data-loc":"client/src/pages/Pricing.tsx:95",className:"text-4xl sm:text-5xl font-bold mb-4",children:"Choose your plan"}),e.jsx("p",{"data-loc":"client/src/pages/Pricing.tsx:96",className:"text-muted-foreground text-lg max-w-xl mx-auto",children:"Start free and upgrade when you need more. No hidden fees, no affiliate commissions â ever."})]}),e.jsx("div",{"data-loc":"client/src/pages/Pricing.tsx:102",className:"grid md:grid-cols-3 gap-6 max-w-5xl mx-auto mb-20",children:n.map(t=>{const s=o?.tier===t.id;return e.jsxs("div",{"data-loc":"client/src/pages/Pricing.tsx:106",className:`relative rounded-2xl border p-8 flex flex-col ${t.highlight?"border-primary/50 bg-primary/5 shadow-xl shadow-primary/10":"border-border bg-card"}`,children:[t.highlight&&e.jsx("div",{"data-loc":"client/src/pages/Pricing.tsx:115",className:"absolute -top-3.5 left-1/2 -translate-x-1/2",children:e.jsx(l,{"data-loc":"client/src/pages/Pricing.tsx:116",className:"bg-primary text-primary-foreground font-semibold px-4 shadow-lg",children:"Most popular"})}),e.jsxs("div",{"data-loc":"client/src/pages/Pricing.tsx:120",className:"mb-6",children:[e.jsx("h2",{"data-loc":"client/src/pages/Pricing.tsx:121",className:"text-xl font-bold mb-1",children:t.name}),e.jsx("p",{"data-loc":"client/src/pages/Pricing.tsx:122",className:"text-sm text-muted-foreground mb-4",children:t.desc}),e.jsxs("div",{"data-loc":"client/src/pages/Pricing.tsx:123",className:"flex items-baseline gap-1.5",children:[e.jsx("span",{"data-loc":"client/src/pages/Pricing.tsx:124",className:"text-4xl font-black",children:t.price}),e.jsx("span",{"data-loc":"client/src/pages/Pricing.tsx:125",className:"text-sm text-muted-foreground",children:t.period})]})]}),e.jsx("ul",{"data-loc":"client/src/pages/Pricing.tsx:129",className:"space-y-3 flex-1 mb-8",children:t.features.map(({text:a,included:r})=>e.jsxs("li",{"data-loc":"client/src/pages/Pricing.tsx:131",className:"flex items-start gap-2.5 text-sm",children:[r?e.jsx(d,{"data-loc":"client/src/pages/Pricing.tsx:133",className:"w-4 h-4 text-primary flex-shrink-0 mt-0.5"}):e.jsx(p,{"data-loc":"client/src/pages/Pricing.tsx:134",className:"w-4 h-4 text-muted-foreground
1/40 flex-shrink-0 mt-0.5"}),e.jsx("span",{"data-loc":"client/src/pages/Pricing.tsx:136",className:r?"text-foreground":"text-muted-foreground/60",children:a})]},a))}),e.jsx(h,{"data-loc":"client/src/pages/Pricing.tsx:141",className:"w-full font-semibold",variant:t.highlight?"default":"outline",disabled:s||i.isPending,onClick:()=>m(t.id),children:s?"Current plan":t.cta})]},t.id)})}),e.jsxs("div",{"data-loc":"client/src/pages/Pricing.tsx:155",className:"max-w-4xl mx-auto mb-20",children:[e.jsx("h2",{"data-loc":"client/src/pages/Pricing.tsx:156",className:"text-2xl font-bold text-center mb-8",children:"Full feature comparison"}),e.jsxs("div",{"data-loc":"client/src/pages/Pricing.tsx:157",className:"bg-card border border-border rounded-2xl overflow-hidden",children:[e.jsxs("div",{"data-loc":"client/src/pages/Pricing.tsx:158",className:"grid grid-cols-4 gap-0 border-b border-border",children:[e.jsx("div",{"data-loc":"client/src/pages/Pricing.tsx:159",className:"p-4 text-sm font-semibold text-muted-foreground",children:"Feature"}),n.map(t=>e.jsx("div",{"data-loc":"client/src/pages/Pricing.tsx:160",className:`p-4 text-center text-sm font-bold ${t.highlight?"text-primary":""}`,children:t.name},t.id))]}),[["Leagues","5 (delayed)","All 1,200+","All 1,200+"],["Data freshness","24h delay","Real-time","Real-time"],["Match statistics","Basic","Full","Full"],["Informational odds","â","â","â"],["Data exports","â","CSV & JSON","CSV & JSON"],["API key access","â","â","Up to 5 keys"],["Historical data","â","15 years","15 years"],["Support","Community","Priority","Dedicated"]].map(([t,...s])=>e.jsxs("div",{"data-loc":"client/src/pages/Pricing.tsx:172",className:"grid grid-cols-4 border-b border-border/50 last:border-0 hover:bg-secondary/20 transition-colors",children:[e.jsx("div",{"data-loc":"client/src/pages/Pricing.tsx:173",className:"p-4 text-sm text-muted-foreground",children:t}),s.map((a,r)=>e.jsx("div",{"data-loc":"client/src/pages/Pricing.tsx:175",className:"p-4 text-center text-sm",children:a==="â"?e.jsx(d,{"data-loc":"client/src/pages/Pricing.tsx:176",className:"w-4 h-4 text-primary mx-auto"}):a==="â"?e.jsx("span",{"data-loc":"client/src/pages/Pricing.tsx:176",className:"text-muted-foreground/40",children:"â"}):a},r))]},t))]})]}),e.jsxs("div",{"data-loc":"client/src/pages/Pricing.tsx:185",className:"max-w-2xl mx-auto",children:[e.jsx("h2",{"data-loc":"client/src/pages/Pricing.tsx:186",className:"text-2xl font-bold text-center mb-8",children:"Frequently asked questions"}),e.jsx("div",{"data-loc":"client/src/pages/Pricing.tsx:187",className:"space-y-4",children:P.map(({q:t,a:s})=>e.jsxs("div",{"data-loc":"client/src/pages/Pricing.tsx:189",className:"bg-card border border-border rounded-xl p-6",children:[e.jsx("h3",{"data-loc":"client/src/pages/Pricing.tsx:190",className:"font-semibold mb-2",children:t}),e.jsx("p",{"data-loc":"client/src/pages/Pricing.tsx:191",className:"text-sm text-muted-foreground leading-relaxed",children:s})]},t))})]})]})})}export{w 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.