1import{u,w,x as f,r as j,y as N,s as v,P as i,j as e,n as k,z as m,G as y,O as p,Z as P,L as x,l as _,B as C}from"./index-D7ltl4j7.js";import{P as A}from"./PageBackground-CbAPR4PV.js";import{P as M}from"./PageHeader-CwbP3lX0.js";const O=[{name:"Windows",detail:".exe installer",icon:i.windows},{name:"Mac",detail:".dmg installer",icon:i.apple},{name:"Android",detail:".apk installer",icon:i.android},{name:"Google Play",detail:"Android store",icon:i.googlePlay},{name:"Apple Store",detail:"iOS & iPadOS",icon:i.apple},{name:"Epic Games",detail:"PC edition",icon:i.epic},{name:"Amazon",detail:"Fire TV & tablets",icon:i.amazon,invert:!0},{name:"Snapcraft",detail:"Linux",icon:i.snapcraft,invert:!0}],S=({title:a,price:r,note:o,href:c,featured:n=!1})=>e.jsxs("article",{className:`relative flex min-h-[245px] flex-col overflow-hidden rounded-2xl border p-5 text-center transition duration-300 hover:-translate-y-1 md:p-6 ${n?"border-ant-pink/70 bg-gradient-to-b from-ant-purple/35 to-black/50 shadow-[0_18px_55px_rgba(200,0,227,0.22)]":"border-white/10 bg-black/35 hover:border-white/25"}`,children:[n&&e.jsx("span",{className:"absolute right-3 top-3 rounded-full bg-ant-pink px-2.5 py-1 text-[9px] font-black uppercase tracking-widest text-white",children:"Best value"}),e.jsx("h3",{className:"mt-3 text-sm font-black uppercase tracking-[0.14em] text-white/75",children:a}),e.jsx("p",{className:"mt-6 font-body text-4xl font-black tracking-tight text-white",children:r}),e.jsx("p",{className:"mt-2 min-h-10 text-sm font-semibold leading-snug text-white/50",children:o}),e.jsx(p,{href:c,target:"_blank",rel:"noopener noreferrer",className:`mt-auto inline-flex w-full items-center justify-center rounded-full px-4 py-3 text-sm font-black uppercase transition hover:scale-[1.02] ${n?"bg-ant-purple-vivid text-white":"bg-white/10 text-white hover:bg-white/20"}`,label:`${a} Membership - Pricing Page`,children:"Join now"})]}),L=()=>{const{t:a}=u(),r=w(),{plans:o,platforms:c}=f(),n=j.useMemo(()=>c.map(t=>({...t,icons:t.icons.map(s=>i[s]).filter(Boolean),link:t.link.includes("live.antstream.com")?v(t.link):t.link,pricing:N(r,t.tiers)})),[r,c]),l=n[0],h=n.slice(1),b=[a("pricingPage.features.playOnPC"),a("pricingPage.features.playOnMobile"),a("pricingPage.features.monthlyNewGames"),a("pricingPage.features.tournaments"),a("pricingPage.features.challengeModes"),a("pricingPage.features.couchCoOp"),a("pricingPage.features.crossPlay")],g=[a("pricingPage.features.monthlyNewGames"),a("pricingPage.features.tournaments"),a("pricingPage.features.challengeModes"),a("pricingPage.features.couchCoOp")];return e.jsxs("div",{className:"min-h-screen overflow-hidden bg-ant-darker text-white",children:[e.jsxs("section",{className:"relative pb-14 pt-36 md:pb-20 md:pt-44",children:[e.jsx(A,{}),e.jsx("div",{className:"pointer-events-none absolute inset-0 bg-[radial-gradient(circle_at_50%_35%,rgba(200,0,227,0.2),transparent_38%)]"}),e.jsxs("div",{className:"relative z-10 mx-auto max-w-6xl px-4 text-center sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"mb-5 inline-flex items-center gap-2 rounded-full border border-white/15 bg-white/10 px-4 py-2 text-xs font-black uppercase tracking-[0.18em] text-white/80 backdrop-blur-md",children:[e.jsx(k,{className:"h-4 w-4 text-ant-pink"}),"Memberships"]}),e.jsx(M,{title:a("pricingPage.membershipTitle",{defaultValue:"Memberships & Pricing"}),accentWord:a("pricingPage.membershipAccent",{defaultValue:"Pricing"}),subtitle:a("pricingPage.membershipSubtitle",{defaultValue:"Create a free account, or unlock the full Antstream experience with a membership that suits how you play."}),subtitleClassName:"mx-auto max-w-3xl !tracking-normal"})]})]}),e.jsx("section",{className:"relative bg-[#0b0611] pb-16 md:pb-24","aria-labelledby":"premium-membership-heading",children:e.jsx("div",{className:"mx-auto max-w-7xl px-4 sm:px-6 lg:px-8",children:e.jsxs("div",{className:"overflow-hidden rounded-3xl border border-white/10 bg-white/[0.035] shadow-2xl",children:[e.jsxs("div",{className:"flex flex-col gap-5 border-b border-white/10 bg-gradient-to-r from-ant-purple/30 via-ant-purple/10 to-transparent px-6 py-6 sm:flex-row sm:items-center sm:justify-between md:px-8",children:[e.jsxs("div",{children:[e.jsx("span",{className:"text-xs font-black uppercase tracking-[0.2em] text-ant-pink",children:"Play across your devices"}),e.jsx("h2",{id:"premium-membership-heading",className:"mt-2 font-body text-2xl font-black uppercase text-white md:text-4xl",children:l.name}),e.jsx("p",{className:"mt-1 font-semibold text-white/55",children:l.subt
1itle})]}),e.jsx("div",{className:"flex items-center gap-3","aria-label":"Available on Windows, Apple and Android",children:l.icons.map((t,s)=>e.jsx("span",{className:"grid h-12 w-12 place-items-center rounded-xl border border-white/10 bg-black/30",children:e.jsx("img",{src:t,alt:["Windows","Apple","Android"][s],className:"h-6 w-6 object-contain"})},t))})]}),e.jsxs("div",{className:"grid gap-8 p-6 md:p-8 lg:grid-cols-[280px_1fr] lg:gap-10",children:[e.jsxs("div",{className:"rounded-2xl border border-white/10 bg-black/25 p-5 md:p-6",children:[e.jsx("h3",{className:"text-xs font-black uppercase tracking-[0.18em] text-white/45",children:"Everything included"}),e.jsx("ul",{className:"mt-5 space-y-1",children:b.map(t=>e.jsxs("li",{className:"flex items-center justify-between gap-4 border-b border-white/[0.08] py-3 text-sm font-bold text-white/80 last:border-0",children:[e.jsx("span",{children:t}),e.jsx("span",{className:"grid h-5 w-5 flex-none place-items-center rounded-full bg-ant-purple-vivid",children:e.jsx(m,{className:"h-3.5 w-3.5 text-white",strokeWidth:3})})]},t))})]}),e.jsx("div",{className:"grid gap-4 sm:grid-cols-3",children:o.map(t=>{const s=l.pricing[t.id];return s?e.jsx(S,{title:t.title,price:s,note:t.note,href:l.link,featured:t.featured},t.id):null})})]})]})})}),e.jsxs("section",{className:"relative overflow-hidden bg-gradient-to-b from-[#160a22] to-ant-darker py-16 md:py-24","aria-labelledby":"platform-editions-heading",children:[e.jsx("div",{className:"pointer-events-none absolute inset-0 bg-[radial-gradient(circle_at_85%_20%,rgba(254,1,123,0.12),transparent_28%)]"}),e.jsxs("div",{className:"relative mx-auto max-w-7xl px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"mx-auto mb-10 max-w-2xl text-center md:mb-14",children:[e.jsx(y,{className:"mx-auto mb-4 h-7 w-7 text-ant-pink"}),e.jsx("h2",{id:"platform-editions-heading",className:"font-body text-3xl font-black uppercase text-white md:text-5xl",children:"Console & store editions"}),e.jsx("p",{className:"mt-4 text-base font-semibold leading-relaxed text-white/60 md:text-lg",children:"Prefer to play through your console or a dedicated PC store? Choose the edition built for your platform."})]}),e.jsx("div",{className:"grid gap-5 lg:grid-cols-3",children:h.map(t=>e.jsxs("article",{className:"flex flex-col overflow-hidden rounded-2xl border border-white/10 bg-black/35 shadow-xl",children:[e.jsxs("div",{className:"flex min-h-28 items-center justify-between gap-5 p-6",style:{backgroundColor:t.color},children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-xl font-black uppercase text-white",children:t.name}),e.jsx("p",{className:"mt-1 text-sm font-semibold text-white/75",children:t.subtitle})]}),e.jsx("div",{className:"flex h-14 min-w-14 items-center justify-center rounded-xl bg-black/20 px-3",children:t.icons.map(s=>e.jsx("img",{src:s,alt:"",className:"h-8 w-auto object-contain"},s))})]}),e.jsxs("div",{className:"flex flex-1 flex-col p-6",children:[e.jsx("ul",{className:"space-y-3",children:g.map(s=>e.jsxs("li",{className:"flex items-center gap-3 text-sm font-bold text-white/70",children:[e.jsx("span",{className:"grid h-5 w-5 flex-none place-items-center rounded-full",style:{backgroundColor:t.color},children:e.jsx(m,{className:"h-3.5 w-3.5 text-white",strokeWidth:3})}),s]},s))}),e.jsx("div",{className:"my-6 flex flex-wrap gap-2 border-t border-white/10 pt-5",children:["monthly","annual","lifetime"].map(s=>{const d=t.pricing[s];return d?e.jsxs("div",{className:"flex-1 rounded-xl border border-white/10 bg-white/[0.055] px-3 py-3 text-center",children:[e.jsx("span",{className:"block text-lg font-black text-white",children:d}),e.jsx("span",{className:"mt-0.5 block text-[10px] font-black uppercase tracking-widest text-white/45",children:a(`pricingPage.${s}`)})]},s):null})}),e.jsx(p,{href:t.link,target:"_blank",rel:"noopener noreferrer",className:"mt-auto block w-full rounded-full py-3 text-center text-sm font-black uppercase text-white transition hover:brightness-110",style:{backgroundColor:t.color},label:`${t.name} - Memberships Page`,children:a(`pricingPage.cta.${t.id}`)})]})]},t.id))})]})]}),e.jsxs("section",{className:"relative overflow-hidden bg-[#0b0611] py-16 md:py-24","aria-labelledby":"membership-download-heading",children:[e.jsx("div",{className:"pointer-events-none absolute inset-0 bg-[radial-gradient(circle_at_50%_0%,rgba(200,0,227,0.18),transparent_42%)]"}),e.jsxs("div",{className:"relative mx-auto max-w-6xl px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"mx-auto mb-10 max-w-2xl text-center",children:[e.jsx(P,{className:"mx-auto mb-4 h-8 w-8 fill-ant-pink text-ant-pink"}),e.jsx("h2",{id:"membership-download-heading",className:"font-body text-3xl font-black uppercase text-white md:text-5xl",children:"Download Antstream"}),e.jsx("p",{className:"mt-4 text-base font-semibold text-white/60 md:text-lg",children:"Install the app or continue through one of our platform partners."})]}),e.jsx("div",{className:"grid gap-3 sm:grid-cols-2 lg:grid-cols-4",children:O.map(t=>e.jsxs(x,{to:"/download",className:"group flex items-center gap-4 roun
1ded-xl border border-white/10 bg-white/[0.045] p-4 transition hover:-translate-y-0.5 hover:border-ant-purple/60 hover:bg-white/[0.08] focus:outline-none focus-visible:ring-2 focus-visible:ring-ant-pink",children:[e.jsx("span",{className:"grid h-11 w-11 flex-none place-items-center rounded-lg bg-black/30",children:e.jsx("img",{src:t.icon,alt:"",className:`h-6 w-6 object-contain ${t.invert?"brightness-0 invert":""}`})}),e.jsxs("span",{className:"min-w-0",children:[e.jsx("span",{className:"block text-sm font-black uppercase text-white",children:t.name}),e.jsx("span",{className:"mt-0.5 block text-xs font-semibold text-white/45",children:t.detail})]})]},t.name))}),e.jsx("div",{className:"mt-10 flex justify-center",children:e.jsxs(_,{as:x,to:"/download",size:"sm",children:[e.jsx(C,{className:"h-4 w-4"})," View all downloads"]})})]})]})]})};export{L 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.