PageSourceSearch

https://vitaapps.dev/assets/BolzerBetaWaitlist-Sidv_KrC.js

js vitaapps.dev collected 2026-09-24 15:00:35 UTC 34,451 bytes, 1 lines download raw bytes

1import{j as e,S as L}from"./index-376A2J5H.js";import{h as M,r as n}from"./vendor-react-0R6VX6ld.js";import{g as z,v as F,s as V,a as A,i as P,b as I,c as T}from"./bolzerWaitlist-6iP9Uy3c.js";import{m as g}from"./vendor-framer-JqHIcSWX.js";import"./vendor-three-dec0Z_i3.js";import"./vendor-icons-LlCGcXb-.js";const t={primary:"#27263D",secondary:"#393654",tertiary:"#534F74",accent:"#7AB8DD",button:"#3A5B99",icon:"#7AB8DD",success:"#80C77F",divider:"#423F62",subtitle:"#B6B6B6",error:"#DC5D58"},Y=()=>{const[r]=M(),p=r.get("ref")??void 0,x=r.get("action"),m=r.get("token"),c=r.get("email"),o=r.get("unsubscribe"),[u,i]=n.useState("signup"),[b,a]=n.useState(null),[y,h]=n.useState({count:0,recentSignup:null}),[v,N]=n.useState(null),[w,l]=n.useState(!1),d=y.count;n.useEffect(()=>{z().then(h)},[]),n.useEffect(()=>{x==="verify"&&m&&c&&(i("verifying"),F(c,m).then(f=>{f.success&&f.entry?(a(f.entry),i("verified"),z().then(h)):(N(f.error??"Verifizierung fehlgeschlagen."),i("signup"))}))},[x,m,c]),n.useEffect(()=>{o&&fetch("https://gechakpvctuvhkzsaoey.supabase.co/functions/v1/waitlist/unsubscribe",{method:"POST",headers:{"Content-Type":"application/json",apikey:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImdlY2hha3B2Y3R1dmhrenNhb2V5Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3NzI3MTA2OTEsImV4cCI6MjA4ODI4NjY5MX0.17a0it0Dm2mJeR-UEuQ6-U16gpMvuK4MRx5i2nB6ipc"},body:JSON.stringify({email:o})}).then(()=>i("unsubscribed")).catch(()=>i("unsubscribed"))},[o]);const k=f=>{a(f),i("confirmation"),z().then(h),A()};return e.jsxs("div",{className:"min-h-screen text-white",style:{background:t.primary},children:[e.jsx(L,{title:"Bolzer — Die Social App für Amateurfußballer",description:"Vernetze dich mit Fußballern, teile Inhalte und tickere Spiele live. Trag dich ein und sichere dir deinen Platz.",url:"/bolzer"}),e.jsxs("header",{className:"w-full py-5 px-6 flex items-center justify-between max-w-5xl mx-auto",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("img",{src:"/assets/bolzer-icon.png",alt:"Bolzer",className:"w-9 h-9 rounded-full"}),e.jsx("span",{className:"text-lg font-bold tracking-tight",children:"Bolzer"})]}),e.jsx("div",{})]}),e.jsxs("main",{className:"max-w-5xl mx-auto px-6 pb-20",children:[u==="verifying"&&e.jsxs("div",{className:"flex flex-col items-center justify-center pt-20 gap-4",children:[e.jsx("div",{className:"w-10 h-10 border-4 rounded-full animate-spin",style:{borderColor:t.accent,borderTopColor:"transparent"}}),e.jsx("p",{style:{color:t.subtitle},children:"E-Mail wird bestätigt..."})]}),u==="signup"&&e.jsxs(e.Fragment,{children:[v&&e.jsx("div",{className:"max-w-md mx-auto mb-6 rounded-xl px-4 py-3 text-sm",style:{background:`${t.error}15`,border:`1px solid ${t.error}40`,color:t.error},children:v}),e.jsx(W,{referralCode:p,totalCount:d,recentSignup:y.recentSignup,onComplete:k,onCheckStatus:()=>l(!0)})]}),u==="confirmation"&&b&&e.jsx($,{entry:b,totalCount:d,pendingVerification:!0}),u==="verified"&&b&&e.jsx($,{entry:b,totalCount:d,pendingVerification:!1}),u==="unsubscribed"&&e.jsxs("div",{className:"flex flex-col items-center justify-center pt-20 gap-4",children:[e.jsx("div",{className:"w-12 h-12 rounded-full flex items-center justify-center",style:{background:t.secondary,border:`1px solid ${t.divider}`},children:e.jsx("svg",{className:"w-6 h-6",fill:"none",viewBox:"0 0 24 24",stroke:t.subtitle,strokeWidth:2,children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1"})})}),e.jsx("h2",{className:"text-2xl font-bold",children:"Abgemeldet"}),e.jsx("p",{style:{color:t.subtitle},children:"Du wurdest von der Warteliste entfernt."})]})]}),w&&e.jsx(R,{onClose:()=>l(!1),onFound:f=>{l(!1),a(f),i(f.verified?"verified":"confirmation")}}),e.jsx("footer",{className:"py-8 text-center text-sm",style:{borderTop:`1px solid ${t.divider}`,color:t.subtitle},children:e.jsxs("p",{children:["© ",new Date().getFullYear()," VITAAPPS SRL ·"," ",e.jsx("a",{href:"/privacy-policy",className:"underline hover:text-white",children:"Datenschutz"})," ·"," ",e.jsx("a",{href:"/imprint",className:"underline hover:text-white",children:"Impressum"})]})})]})},W=({referralCode:r,totalCount:p,recentSignup:x,onComplete:m,onCheckStatus:c})=>{const[o,u]=n.useState(""),[i,b]=n.useState(""),[a,y]=n.useState("iphone"),[h,v]=n.useState(null),[N,w]=n.useState(!1),[l,d]=n.useState(null),[k,f]=n.useState(!1),S=n.useRef(null),B=()=>{var s;return(s=S.current)==null?void 0:s.scrollIntoView({behavior:"smooth",block:"center"})},D=async s=>{if(s.preventDefault(),d(null),!o.trim()){d("Bitte Vorname eingeben.");return}if(!i.trim()||!i.includes("@")){d("Bitte gültige E-Mail eingeben.");return}if(P(i)){d("Bitte eine echte E-Mail-Adresse verwenden.");return}if(!h){d("Bitte wähle deinen Verein aus.");return}if(!k){d("Bitte stimme den Teilnahmebedingungen zu.");return}w(!0);const j=await I({email:i,firstName:o,clubId:h.id,clubName:h.name,clubLogo:h.imageUrl,device:a,referredByCode:r});w(!1),j.success&&j.entry?j.alreadyExists?d('Diese E-Mail ist bereits registriert. Nutze "Platz checken" oben rechts.'):m(j.entry):d(j.error??"Ein Fehler ist aufgetreten.")};return e.jsxs("div",{className:"pt-8 lg:pt-12",children:[e.jsxs("div",{className:"text-center max-w-4xl mx-auto pt-8 lg:pt-20 pb-16",children:[e.jsx(g.div,{initial:{opacity:0,y:20}
1,animate:{opacity:1,y:0},transition:{duration:.5},children:e.jsxs("div",{className:"inline-flex items-center gap-2 rounded-full px-4 py-1.5 mb-10",style:{background:`${t.success}12`,border:`1px solid ${t.success}25`},children:[e.jsx("span",{className:"w-2 h-2 rounded-full animate-pulse",style:{background:t.success}}),e.jsxs("span",{className:"text-sm",style:{color:t.success},children:[e.jsx("span",{className:"font-semibold",children:p.toLocaleString("de-DE")})," Fußballer warten bereits"]})]})}),e.jsxs(g.h1,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.7,delay:.1},className:"text-5xl sm:text-6xl lg:text-7xl font-extrabold leading-[1.05] tracking-tight",children:["Die erste App nur",e.jsx("br",{}),e.jsx("span",{className:"bg-gradient-to-r from-[#8EC5E8] via-[#b794f6] to-[#c084fc] bg-clip-text text-transparent",children:"für Fußballer."})]}),e.jsx(g.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.25},className:"mt-8 text-xl max-w-2xl mx-auto leading-relaxed",style:{color:t.subtitle},children:"Dein Content erreicht nur Fußballer. Dein Spielerprofil zeigt wer du bist. Live-Ticker, Spielerbörse, Chat — alles an einem Ort."}),e.jsxs(g.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.4},className:"mt-10 flex flex-col sm:flex-row gap-5 items-center justify-center",children:[e.jsx("button",{onClick:B,className:"px-10 py-4 rounded-full text-white font-semibold text-base transition-all hover:brightness-110 hover:scale-[1.02]",style:{background:`linear-gradient(135deg, ${t.button}, #6c5ce7)`},children:"Platz sichern"}),e.jsx("button",{onClick:c,className:"text-sm font-medium transition-all hover:text-white cursor-pointer",style:{color:t.subtitle,background:"transparent",border:"none",outline:"none"},children:"Bereits angemeldet? Platz checken"})]}),x&&e.jsx(g.div,{initial:{opacity:0}
1,animate:{opacity:1},transition:{duration:.5,delay:.55},className:"mt-8 inline-flex items-center gap-2 px-4 py-2 rounded-full",style:{background:`${t.accent}08`,border:`1px solid ${t.accent}15`},children:e.jsxs("span",{className:"text-sm",style:{color:t.accent},children:[x.firstName," von ",x.clubName," ist gerade beigetreten"]})})]}),e.jsxs(g.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.6},className:"mt-24 lg:mt-32 max-w-4xl mx-auto",children:[e.jsxs("h2",{className:"text-3xl sm:text-4xl font-extrabold text-center",children:["Andere Plattformen?"," ",e.jsx("span",{style:{color:t.subtitle},children:"Nicht für dich gebaut."})]}),e.jsx("p",{className:"mt-4 text-center max-w-2xl mx-auto",style:{color:t.subtitle},children:"Bolzer ist anders. Hier dreht sich alles nur um Fußball."}),e.jsx("div",{className:"mt-12 grid grid-cols-1 sm:grid-cols-3 gap-4",children:[{title:"Dein Content geht unter",desc:"Auf anderen Plattformen entscheiden Algorithmen wer dich sieht — und das sind selten Fußballer. Dein bestes Video verschwindet im Nichts."},{title:"Keine echte Fußball-Community",desc:"Dein Freistoß konkurriert mit Kochvideos und Lifestyle-Content. Es gibt keinen Ort der nur für Fußballer ist — das ändern wir."},{title:"Kein Spielerprofil",desc:"Dein Verein, deine Position, deine Stats — das existiert nirgendwo. Bei Bolzer schon. Dein Profil zeigt wer du als Fußballer bist."}].map((s,j)=>e.jsxs(g.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:j*.1},className:"rounded-xl p-5",style:{background:t.secondary,border:`1px solid ${t.divider}`},children:[e.jsx("div",{className:"w-8 h-8 rounded-lg flex items-center justify-center mb-3",style:{background:`${t.error}15`},children:e.jsx("svg",{className:"w-4 h-4",fill:"none",viewBox:"0 0 24 24",stroke:t.error,strokeWidth:2,children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})})}),e.jsx("h3",{className:"text-base font-semibold text-white",children:s.title}),e.jsx("p",{className:"text-sm mt-2 leading-relaxed",style:{color:t.subtitle},children:s.desc})]},s.title))})]}),e.jsxs(g.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.6},className:"mt-24 lg:mt-32",children:[e.jsxs("h2",{className:"text-3xl sm:text-4xl font-extrabold text-center",children:["Alles was du als Fußballer brauchst."," ",e.jsx("span",{style:{color:t.subtitle},children:"An einem Ort."})]}),e.jsx("div",{className:"mt-12 grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4",children:[{title:"Spielerprofil",desc:"Verein, Position, Stats — dein Fußball-Lebenslauf. Sichtbar für Spieler und Trainer in deiner Region.",icon:"M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"},{title:"Content-Feed",desc:"Deine Videos und Fotos erreichen nur Leute die Fußball leben. Kein Algorithmus der entscheidet wer dich sieht.",icon:"M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z"},{title:"Live-Ticker & Tabelle",desc:"Alle Spiele deines Teams, Ergebnisse in Echtzeit, Torschützenliste — direkt in der App.",icon:"M13 10V3L4 14h7v7l9-11h-7z"},{title:"Spielerbörse",desc:"Zeig dich als Spieler oder Trainer in deiner Region. Finde Vereine oder lass dich finden.",icon:"M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z M15 11a3 3 0 11-6 0 3 3 0 016 0z"},{title:"Echtzeit-Chat",desc:"Schreib mit Spielern und Trainern. Text, Sprachnachrichten, Medien.",icon:"M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"},{title:"Bolzplatz",desc:"Spontanes Spiel organisieren. Pin auf die Karte, Leute einladen, kicken gehen.",icon:"M9 20l-5.447-2.724A1 1 0 013 16.382V5.618a1 1 0 011.447-.894L9 7m0 13l6-3m-6 3V7m6 10l4.553 2.276A1 1 0 0021 18.382V7.618a1 1 0 00-.553-.894L15 4m0 13V4m0 0L9 7"}].map((s,j)=>{const C=[{initial:{opacity:0,x:-60,rotate:-3},whileInView:{opacity:1,x:0,rotate:0}},{initial:{opacity:0,y:50,scale:.85},whileInView:{opacity:1,y:0,scale:1}},{initial:{opacity:0,x:60,rotate:3},whileInView:{opacity:1,x:0,rotate:0}},{initial:{opacity:0,y:-40,scale:.9},whileInView:{opacity:1,y:0,scale:1}},{initial:{opacity:0,scale:.7,rotate:-5},whileInView:{opacity:1,scale:1,rotate:0}},{initial:{opacity:0,x:80},whileInView:{opacity:1,x:0}}],E=C[j%C.length];return e.jsxs(g.div,{initial:E.initial,whileInView:E.whileInView,viewport:{once:!0,margin:"-50px"},transition:{duration:.6,delay:j*.06,ease:[.22,1,.36,1]},whileHover:{y:-6,transition:{duration:.2}},className:"group rounded-2xl p-5 backdrop-blur-xl transition-all duration-300 hover:border-[#7AB8DD50] hover:shadow-[0_0_30px_-10px_rgba(122,184,221,0.15)]",style:{background:`${t.secondary}B0`,border:`1px solid ${t.divider}80`},children:[e.jsx(g.div,{className:"w-10 h-10 rounded-xl flex items-center justify-center mb-3 backdrop-blur-sm",style:{background:`${t.accent}12`,border:`1px solid ${t.accent}20`},whileHover:{rotate:[0,-10,10,-5,0],transition:{duration:.5}},children:e.jsx("svg",{className:"w-5 h-5",fill:"none",viewBox:"0 0 24 24",stroke:t.accent,strokeWidth:1.5,children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:s.icon})})}),e.jsx("h3",{className:"text-base font-semibold text-white",children:s.title}),e.jsx("p",{className:"text-sm mt-2 leading-relaxed",style:{color:t.subtitle},children:s.desc})]},s.title)})})]}),e.jsxs(g.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.6},className:"mt-24 lg:mt-32",children:[e.jsxs("h2",{className:"text-3xl sm:text-4xl font-extrabold text-center",children:["Die Ersten haben den größten"," ",e.jsx("span",{className:"bg-gradient-to-r from-[#8EC5E8] via-[#b794f6] to-[#c084fc] bg-clip-text text-transparent",children:"Vorsprung."})]}),e.jsx("p",{className:"mt-4 text-center text-lg max-w-2xl mx-auto",style:{color:t.subtitle}
1,children:"Bolzer ist noch jung — und genau das ist dein Vorteil. Wer jetzt dabei ist, wird von jedem neuen User gesehen. Ohne Konkurrenz. Ohne Algorithmus."}),e.jsxs("div",{className:"mt-12 relative rounded-2xl p-8 sm:p-10 overflow-hidden backdrop-blur-xl",style:{background:`${t.secondary}B0`,border:`1px solid ${t.divider}80`},children:[e.jsx("div",{className:"absolute top-0 right-0 w-[300px] h-[300px] rounded-full opacity-8 blur-[80px] pointer-events-none",style:{background:t.accent}}),e.jsxs("div",{className:"relative flex flex-col sm:flex-row gap-8 items-start",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("div",{className:"w-10 h-10 rounded-xl flex items-center justify-center mb-4",style:{background:`${t.accent}12`,border:`1px solid ${t.accent}20`},children:e.jsx("svg",{className:"w-5 h-5",fill:"none",viewBox:"0 0 24 24",stroke:t.accent,strokeWidth:1.5,children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z"})})}),e.jsx("h3",{className:"text-2xl sm:text-3xl font-extrabold text-white",children:"Bolzer Pro Lifetime gewinnen"}),e.jsx("p",{className:"text-base mt-4 leading-relaxed",style:{color:t.subtitle},children:"Unter den ersten aktiven Fußballern vergeben wir Bolzer Pro — kostenlos, für immer. Das ist kein Trial. Das bleibt bei dir."})]}),e.jsx("div",{className:"flex flex-col gap-3 sm:min-w-[240px]",children:["Verified Badge als Gründungsmitglied","Eigener BolzerShop in deinem Profil","Unbegrenzte BolzerLinks","Alle Pro-Features, für immer"].map(s=>e.jsxs("div",{className:"flex items-center gap-2.5",children:[e.jsx("svg",{className:"w-4 h-4 flex-shrink-0",fill:"none",viewBox:"0 0 24 24",stroke:t.accent,strokeWidth:2.5,children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 13l4 4L19 7"})}),e.jsx("span",{className:"text-sm text-white",children:s})]},s))})]})]}),e.jsxs("div",{className:"mt-4 grid grid-cols-1 sm:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"rounded-2xl p-6 backdrop-blur-xl",style:{background:`${t.secondary}B0`,border:`1px solid ${t.divider}80`},children:[e.jsx("div",{className:"w-10 h-10 rounded-xl flex items-center justify-center mb-4",style:{background:`${t.accent}12`,border:`1px solid ${t.accent}20`},children:e.jsx("svg",{className:"w-5 h-5",fill:"none",viewBox:"0 0 24 24",stroke:t.accent,strokeWidth:1.5,children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"})})}),e.jsx("h3",{className:"text-xl font-bold text-white",children:"Maximale Sichtbarkeit"}),e.jsx("p",{className:"text-sm mt-3 leading-relaxed",style:{color:t.subtitle},children:"Dein Profil steht ganz oben. Jeder neue User sieht deinen Content — bevor tausende nachkommen."})]}),e.jsxs("div",{className:"rounded-2xl p-6 backdrop-blur-xl",style:{background:`${t.secondary}B0`,border:`1px solid ${t.divider}80`},children:[e.jsx("div",{className:"w-10 h-10 rounded-xl flex items-center justify-center mb-4",style:{background:`${t.accent}12`,border:`1px solid ${t.accent}20`},children:e.jsx("svg",{className:"w-5 h-5",fill:"none",viewBox:"0 0 24 24",stroke:t.accent,strokeWidth:1.5,children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13 7h8m0 0v8m0-8l-8 8-4-4-6 6"})})}),e.jsx("h3",{className:"text-xl font-bold text-white",children:"Einladen & vorrücken"}),e.jsx("p",{className:"text-sm mt-3 leading-relaxed",style:{color:t.subtitle},children:"Jede bestätigte Einladung bringt dich 10 Plätze nach oben. Je weiter vorne, desto größer deine Chance auf Pro Lifetime."})]})]})]}),e.jsxs(g.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.6},className:"mt-24 lg:mt-32 relative",children:[e.jsx("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[400px] h-[400px] rounded-full opacity-10 blur-[100px] pointer-events-none",style:{background:"radial-gradient(circle, #a78bfa 0%, transparent 70%)"}}),e.jsxs("div",{className:"relative max-w-3xl mx-auto text-center",children:[e.jsx("p",{className:"text-sm font-medium tracking-wider up
1percase mb-4",style:{color:t.accent},children:"Die Geschichte dahinter"}),e.jsxs("h2",{className:"text-3xl sm:text-4xl font-extrabold",children:["Wir haben Bolzer gebaut, weil es"," ",e.jsx("span",{className:"bg-gradient-to-r from-[#8EC5E8] via-[#b794f6] to-[#c084fc] bg-clip-text text-transparent",children:"niemand sonst tut."})]}),e.jsx("p",{className:"mt-6 text-lg leading-relaxed",style:{color:t.subtitle},children:"Wir stehen selbst jeden Samstag auf dem Platz. Wir kennen das Gefühl wenn du nach dem Spiel den besten Clip deines Lebens postest — und niemand außerhalb deines Teams sieht ihn. Wir haben nach einer Plattform gesucht die nur für Fußballer ist. Die gab es nicht. Also bauen wir sie selbst."}),e.jsx("p",{className:"mt-6 text-xl font-semibold text-white",children:"Bolzer ist kein Startup-Projekt. Bolzer ist das was wir als Fußballer immer haben wollten."})]})]}),e.jsxs("div",{ref:S,className:"mt-24 lg:mt-32 max-w-lg mx-auto",children:[e.jsxs("h2",{className:"text-3xl font-extrabold text-center mb-2",children:["Dein Platz"," ",e.jsx("span",{className:"bg-gradient-to-r from-[#8EC5E8] via-[#b794f6] to-[#c084fc] bg-clip-text text-transparent",children:"wartet."})]}),e.jsx("p",{className:"text-center text-sm mb-8",style:{color:t.subtitle},children:"30 Sekunden. Dann bist du dabei."}),e.jsxs("form",{onSubmit:D,className:"rounded-2xl p-8 space-y-5 backdrop-blur-xl",style:{background:`${t.secondary}B0`,border:`1px solid ${t.divider}80`},children:[e.jsxs("div",{children:[e.jsx("label",{htmlFor:"firstName",className:"block text-sm mb-1.5",style:{color:t.subtitle},children:"Vorname"}),e.jsx("input",{id:"firstName",type:"text",value:o,onChange:s=>u(s.target.value),placeholder:"Max",className:"w-full rounded-xl px-4 py-3 text-white placeholder-gray-500 focus:outline-none transition-colors",style:{background:t.primary,border:`1px solid ${t.divider}`},onFocus:s=>s.currentTarget.style.borderColor=t.accent,onBlur:s=>s.currentTarget.style.borderColor=t.divider,autoComplete:"given-name"})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"email",className:"block text-sm mb-1.5",style:{color:t.subtitle},children:"E-Mail"}),e.jsx("input",{id:"email",type:"email",value:i,onChange:s=>b(s.target.value),placeholder:"[email protected]",className:"w-full rounded-xl px-4 py-3 text-white placeholder-gray-500 focus:outline-none transition-colors",style:{background:t.primary,border:`1px solid ${t.divider}`},onFocus:s=>s.currentTarget.style.borderColor=t.accent,onBlur:s=>s.currentTarget.style.borderColor=t.divider,autoComplete:"email"})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-sm mb-1.5",style:{color:t.subtitle},children:"Dein Verein"}),e.jsx(O,{selectedClub:h,onSelect:v})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-sm mb-1.5",style:{color:t.subtitle},children:"Gerät"}),e.jsx("div",{className:"flex gap-3",children:["iphone","android"].map(s=>e.jsx("button",{type:"button",onClick:()=>y(s),className:"flex-1 py-3 rounded-xl text-sm font-medium transition-all",style:{background:a===s?t.button:t.primary,border:`1px solid ${a===s?t.accent:t.divider}`,color:a===s?"#fff":t.subtitle},children:s==="iphone"?"iPhone":"Android"},s))})]}),e.jsxs("label",{className:"flex items-start gap-3 cursor-pointer select-none",children:[e.jsx("input",{type:"checkbox",checked:k,onChange:s=>f(s.target.checked),className:"mt-1 w-4 h-4 rounded accent-[#3A5B99] flex-shrink-0"}),e.jsxs("span",{className:"text-xs leading-relaxed",style:{color:t.subtitle},children:["Ich stimme den"," ",e.jsx("a",{href:"/datenschutz",target:"_blank",className:"underline hover:text-white",style:{color:t.accent},children:"Datenschutzhinweisen"})," ","und"," ",e.jsx("a",{href:"/privacy-policy",target:"_blank",className:"underline hover:text-white",style:{color:t.accent},children:"AGB"})," ","zu."]})]}),l&&e.jsx("p",{className:"text-sm",style:{color:t.error},children:l}),e.jsx("button",{type:"submit",disabled:N||!k,className:"w-full py-3.5 rounded-xl text-white font-semibold text-lg transition-all disabled:opacity-50 disabled:cursor-not-allowed hover:brightness-110 hover:scale-[1.01]",style:{background:`linear-gradient(135deg, ${t.button}, #6c5ce7)`},children:N?"Wird eingetragen...":"Platz sichern"}),r&&e.jsx("p",{className:"text-xs text-center",style:{color:t.subtitle},children:"Eingeladen von einem Mitspieler"})]}),e.jsxs("div",{className:"mt-4 rounded-xl p-4",style:{background:`${t.accent}08`,border:`1px solid ${t.accent}20`},children:[e.jsx("p",{className:"text-sm font-medium",style:{color:t.accent},children:"Weiter oben = früher dran"}),e.jsx("p",{className:"text-xs mt-1",style:{color:t.subtitle}
1,children:"Lade Mitspieler ein und rücke 10 Plätze pro Einladung vor. Die Ersten testen exklusiv."})]})]})]})},O=({selectedClub:r,onSelect:p})=>{const[x,m]=n.useState(""),[c,o]=n.useState([]),[u,i]=n.useState(!1),[b,a]=n.useState(!1),y=n.useRef(),h=n.useRef(null),v=n.useCallback(async l=>{if(l.length<2){o([]);return}i(!0);const d=await V(l);o(d),i(!1),a(!0)},[]),N=l=>{m(l),p(null),clearTimeout(y.current),y.current=setTimeout(()=>v(l),350)},w=l=>{p(l),m(l.name),a(!1),o([])};return n.useEffect(()=>{const l=d=>{h.current&&!h.current.contains(d.target)&&a(!1)};return document.addEventListener("mousedown",l),()=>document.removeEventListener("mousedown",l)},[]),r?e.jsxs("div",{className:"flex items-center gap-3 rounded-xl px-4 py-3",style:{background:t.primary,border:`1px solid ${t.accent}60`},children:[e.jsx("img",{src:r.imageUrl,alt:"",className:"w-8 h-8 object-contain",onError:l=>{l.target.style.display="none"}}),e.jsx("span",{className:"flex-1 text-white truncate",children:r.name}),e.jsx("button",{type:"button",onClick:()=>{p(null),m("")},className:"hover:text-white text-lg",style:{color:t.subtitle},children:"×"})]}):e.jsxs("div",{ref:h,className:"relative",children:[e.jsx("input",{type:"text",value:x,onChange:l=>N(l.target.value),onFocus:()=>c.length>0&&a(!0),placeholder:"FC Dein Verein",className:"w-full rounded-xl px-4 py-3 text-white placeholder-gray-500 focus:outline-none transition-colors",style:{background:t.primary,border:`1px solid ${t.divider}`},onFocusCapture:l=>l.currentTarget.style.borderColor=t.accent,onBlurCapture:l=>{b||(l.currentTarget.style.borderColor=t.divider)},autoComplete:"off"}),u&&e.jsx("div",{className:"absolute right-3 top-1/2 -translate-y-1/2",children:e.jsx("div",{className:"w-5 h-5 border-2 rounded-full animate-spin",style:{borderColor:t.accent,borderTopColor:"transparent"}})}),b&&c.length>0&&e.jsx("ul",{className:"absolute z-50 w-full mt-1 rounded-xl max-h-60 overflow-y-auto shadow-2xl",style:{background:t.primary,border:`1px solid ${t.divider}`},children:c.map(l=>e.jsx("li",{children:e.jsxs("button",{type:"button",onClick:()=>w(l),className:"w-full flex items-center gap-3 px-4 py-3 transition-colors text-left hover:brightness-125",style:{background:"transparent"},children:[e.jsx("img",{src:l.imageUrl,alt:"",className:"w-8 h-8 object-contain flex-shrink-0",onError:d=>{d.target.style.display="none"}}),e.jsx("span",{className:"text-white truncate",children:l.name})]})},l.id))}),b&&!u&&x.length>=2&&c.length===0&&e.jsx("div",{className:"absolute z-50 w-full mt-1 rounded-xl px-4 py-3 text-sm",style:{background:t.primary,border:`1px solid ${t.divider}`,color:t.subtitle},children:"Kein Verein gefunden"})]})},$=({entry:r,pendingVerification:p=!1})=>{const[x,m]=n.useState(!1),c=`${window.location.origin}/bolzer?ref=${r.referralCode}`,o=()=>{navigator.clipboard.writeText(c),m(!0),setTimeout(()=>m(!1),2e3)},u=()=>{const i=`Ich bin auf der Warteliste für Bolzer — die neue App für Amateurfußballer! Sichere dir auch deinen Platz: ${c}`;window.open(`https://wa.me/?text=${encodeURIComponent(i)}`,"_blank")};return e.jsxs("div",{className:"max-w-xl mx-auto pt-10 lg:pt-20 text-center",children:[e.jsx("div",{className:"w-20 h-20 mx-auto mb-8 rounded-full flex items-center justify-center",style:{background:`${t.success}15`,border:`2px solid ${t.success}`},children:e.jsx("svg",{className:"w-10 h-10",fill:"none",viewBox:"0 0 24 24",stroke:t.success,strokeWidth:2.5,children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 13l4 4L19 7"})})}),e.jsx("h1",{className:"text-4xl font-extrabold",children:p?"Fast geschafft!":`Du bist drin, ${r.firstName}!`}),p?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"mt-6 rounded-xl px-5 py-4 text-left",style:{background:`${t.accent}10`,border:`1px solid ${t.accent}30`},children:[e.jsx("p",{className:"text-sm font-medium",style:{color:t.accent},children:"Bestätige deine E-Mail"}),e.jsxs("p",{className:"text-sm mt-1",style:{color:t.subtitle},children:["Wir haben eine E-Mail an ",e.jsx("span",{className:"text-white font-medium",children:r.email})," gesendet. Klick auf den Link, um deinen Platz zu sichern."]})]}),e.jsxs("div",{className:"mt-8 rounded-xl p-6 relative overflow-hidden",style:{background:t.secondary,border:`1px solid ${t.divider}`},children:[e.jsxs("div",{className:"flex items-center justify-center gap-6",style:{filter:"blur(6px)",pointerEvents:"none"},children:[e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-3xl font-bold",style:{color:t.accent},children:"#???"}),e.jsx("div",{className:"text-xs mt-1",style:{color:t.subtitle},children:"Dein Platz"})]}),e.jsx("div",{style:{width:1,height:40,background:t.divider}}),e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-3xl font-bold text-white",children:"0"}),e.jsx("div",{className:"text-xs mt-1",style:{color:t.subtitle},children:"Eingeladen"})]}),e.jsx("div",{style:{width:1,height:40,background:t.divider}}),e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-3xl font-bold text-white",children:r.device==="iphone"?"iOS":"Android"}),e.jsx("div",{className:"text-xs mt-1",style:{color:t.subtitle},children:"Dein Gerät"})]})]}),e.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:e.jsx("div",{className:"rounded-full px-5 py-2.5",style:{background:t.button},children:e.jsx("span",{className:"text-sm font-semibold text-white",children:"E-Mail bestätigen, um Platz zu sehen"})})})]}),e.jsxs("div",{className:"mt-6 inline-flex items-center gap-3 rounded-full px-5 py-2.5",style:{background:t.secondary,border:`1px solid ${t.divider}`},children:[e.jsx("img",{src:r.clubLogo,alt:"",className:"w-6 h-6 object-contain rounded-full",onError:i=>{i.target.style.display="none"}}),e.jsx("span",{className:"text-sm",style:{color:t.subtitle},children:r.clubName}),e.jsx("span",{className:"text-sm",style:{color:t.divider},children:"|"}),e.jsx("span",{className:"text-sm",style:{color:t.subtitle},children:r.device==="iphone"?"iPhone":"Android"})]}),e.jsxs("div",{className:"mt-8 rounded-2xl p-8 text-left",style:{background:t.secondary,border:`1px solid ${t.divider}`},children:[e.jsx("h2",{className:"text-xl font-bold mb-2",children:"Lade Mitspieler ein"}),e.jsx("p",{className:"text-sm mb-6",style:{color:t.subtitle},children:"Schon jetzt teilen — jede Einladung zählt nach der Bestätigung."}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx("input",{type:"text",readOnly:!0,value:c,className:"flex-1 rounded-xl px-4 py-3 text-sm truncate",style:{background:t.primary,border:`1px solid ${t.divider}`,color:t.subtitle}}
1),e.jsx("button",{onClick:o,className:"px-5 py-3 rounded-xl text-sm font-medium transition-colors whitespace-nowrap hover:brightness-125",style:{background:t.tertiary,color:"#fff"},children:x?"Kopiert!":"Kopieren"})]}),e.jsxs("div",{className:"flex gap-3 mt-4",children:[e.jsx("button",{onClick:u,className:"flex-1 py-3 rounded-xl text-sm font-medium transition-colors",style:{background:"#25D36615",border:"1px solid #25D36630",color:"#25D366"},children:"WhatsApp teilen"}),e.jsx("button",{onClick:o,className:"flex-1 py-3 rounded-xl text-sm font-medium transition-colors hover:brightness-125",style:{background:t.primary,border:`1px solid ${t.divider}`,color:t.subtitle},children:"Link kopieren"})]})]})]}):e.jsxs(e.Fragment,{children:[e.jsxs("p",{className:"mt-2 text-xl",style:{color:t.subtitle},children:["Du stehst auf Platz ",e.jsxs("span",{className:"font-bold",style:{color:t.accent},children:["#",r.position]})]}),e.jsxs("div",{className:"mt-8 inline-flex items-center gap-3 rounded-full px-5 py-2.5",style:{background:t.secondary,border:`1px solid ${t.divider}`},children:[e.jsx("img",{src:r.clubLogo,alt:"",className:"w-6 h-6 object-contain rounded-full",onError:i=>{i.target.style.display="none"}}),e.jsx("span",{className:"text-sm",style:{color:t.subtitle},children:r.clubName}),e.jsx("span",{className:"text-sm",style:{color:t.divider},children:"|"}),e.jsx("span",{className:"text-sm",style:{color:t.subtitle},children:r.device==="iphone"?"iPhone":"Android"})]}),e.jsxs("div",{className:"mt-10 rounded-2xl p-8 text-left",style:{background:t.secondary,border:`1px solid ${t.divider}`},children:[e.jsx("h2",{className:"text-xl font-bold mb-2",children:"Lade Mitspieler ein"}),e.jsxs("p",{className:"text-sm mb-6",style:{color:t.subtitle},children:["Je mehr Fußballer du einlädst, desto weiter rückst du vor. Pro bestätigter Einladung: ",e.jsx("span",{className:"font-semibold",style:{color:t.accent},children:"10 Plätze nach oben"}),"."]}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx("input",{type:"text",readOnly:!0,value:c,className:"flex-1 rounded-xl px-4 py-3 text-sm truncate",style:{background:t.primary,border:`1px solid ${t.divider}`,color:t.subtitle}}
1),e.jsx("button",{onClick:o,className:"px-5 py-3 rounded-xl text-sm font-medium transition-colors whitespace-nowrap hover:brightness-125",style:{background:t.tertiary,color:"#fff"},children:x?"Kopiert!":"Kopieren"})]}),e.jsxs("div",{className:"flex gap-3 mt-4",children:[e.jsx("button",{onClick:u,className:"flex-1 py-3 rounded-xl text-sm font-medium transition-colors",style:{background:"#25D36615",border:"1px solid #25D36630",color:"#25D366"},children:"WhatsApp teilen"}),e.jsx("button",{onClick:o,className:"flex-1 py-3 rounded-xl text-sm font-medium transition-colors hover:brightness-125",style:{background:t.primary,border:`1px solid ${t.divider}`,color:t.subtitle},children:"Link kopieren"})]})]}),e.jsx("div",{className:"mt-8 grid grid-cols-3 gap-4",children:[{value:`#${r.position}`,label:"Dein Platz",color:t.accent},{value:`${r.invitedCount}`,label:"Eingeladen",color:"#fff"},{value:r.device==="iphone"?"iOS":"Android",label:"Dein Gerät",color:"#fff"}].map(i=>e.jsxs("div",{className:"rounded-xl p-4",style:{background:t.secondary,border:`1px solid ${t.divider}`},children:[e.jsx("div",{className:"text-2xl font-bold",style:{color:i.color},children:i.value}),e.jsx("div",{className:"text-xs mt-1",style:{color:t.subtitle},children:i.label})]},i.label))})]})]})},R=({onClose:r,onFound:p})=>{const[x,m]=n.useState(""),[c,o]=n.useState(!1),[u,i]=n.useState(null),b=async a=>{if(a.preventDefault(),!x.trim()||!x.includes("@")){i("Bitte gültige E-Mail eingeben.");return}o(!0),i(null);const y=await T(x);o(!1),y?p(y):i("Kein Eintrag mit dieser E-Mail gefunden.")};return e.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center px-6",style:{background:"rgba(0,0,0,0.6)",backdropFilter:"blur(4px)"},onClick:a=>{a.target===a.currentTarget&&r()},children:e.jsxs("div",{className:"w-full max-w-sm rounded-2xl p-8",style:{background:t.secondary,border:`1px solid ${t.divider}`},children:[e.jsxs("div",{className:"flex items-center justify-between mb-6",children:[e.jsx("h3",{className:"text-lg font-bold text-white",children:"Platz checken"}),e.jsx("button",{onClick:r,className:"text-2xl hover:brightness-150",style:{color:t.subtitle},children:"×"})]}),e.jsx("p",{className:"text-sm mb-5",style:{color:t.subtitle},children:"Gib deine E-Mail ein, um deinen aktuellen Platz auf der Warteliste zu sehen."}),e.jsxs("form",{onSubmit:b,children:[e.jsx("input",{type:"email",value:x,onChange:a=>m(a.target.value),placeholder:"[email protected]",className:"w-full rounded-xl px-4 py-3 text-white placeholder-gray-500 focus:outline-none transition-colors mb-4",style:{background:t.primary,border:`1px solid ${t.divider}`},onFocus:a=>a.currentTarget.style.borderColor=t.accent,onBlur:a=>a.currentTarget.style.borderColor=t.divider,autoFocus:!0,autoComplete:"email"}),u&&e.jsx("p",{className:"text-sm mb-4",style:{color:t.error},children:u}),e.jsx("button",{type:"submit",disabled:c,className:"w-full py-3 rounded-xl text-white font-semibold transition-all disabled:opacity-50",style:{background:t.button},children:c?"Wird gesucht...":"Platz anzeigen"})]})]})})};export{Y 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.