PageSourceSearch

https://www.pubandgo.de/assets/gratis-pitcher-COKkPP48.js

js pubandgo.de collected 2026-09-24 14:21:53 UTC 22,257 bytes, 2 lines download raw bytes

1import{j as e,S as O,a as D,aq as R,d as U,ar as W,r as j,f as P,L as q,aj as $,ak as K}from"./index-BwlpUMBf.js";import{u as y}from"./useServerFn-C7QMSxb7.js";import{B as V}from"./button-CQuG3pu7.js";import{L as p,I as f}from"./label-DYohrGye.js";import{D as Y,T as X}from"./DateTimePicker-C-rmXgNa.js";import{C as Z}from"./CampaignOtpStep-Dc6UfDZo.js";import{R as J}from"./ReturningUserCta-C8Mg1rX7.js";import{s as Q,v as ee}from"./registrations-otp.functions-BrhGI0kZ.js";import{p as re}from"./pitcher-friends-KXcUCDOH.js";import{p as te}from"./pub-bayreuth-wide.webp.asset-Bfw02XA9.js";import{p as se}from"./pub-bayreuth-terrace-people.webp.asset-Boi36-MN.js";import{pushLeadEvent as ne}from"./track-lead-DXsMhEfc.js";import{u as ae,a as ie,b as x,p as oe}from"./form-tracking-CrLbG3JS.js";import{O as de}from"./ops-config-3AQ_fA41.js";import{B as C}from"./beer-wMGjNt-o.js";import{C as ce}from"./calendar-check-lDdnQ3Az.js";import{S as le}from"./smartphone-CUCz527U.js";import{S as k}from"./sparkles-CBwaqh7_.js";import{C as me}from"./circle-check-Bc53nl4T.js";import{T as ue}from"./ticket-B67B2nsV.js";import{U as pe}from"./users-CtKd2H7z.js";import{L as he}from"./loader-circle-Hy0DvCJX.js";import{P as xe}from"./party-popper-B0LLHghc.js";import{S as ge}from"./shield-check-BP9LHlZL.js";import{C as fe}from"./circle-alert-BO0fukyd.js";import"./index-CGJMGMsf.js";import"./popover-DOMhF8tN.js";import"./chevron-right-B43tKEmG.js";import"./index-BI1IFMMj.js";import"./check-CbETIAv7.js";import"./clock-D-pij6Dc.js";import"./refresh-cw-D0uc_Oj7.js";const be="/assets/pitcher-group-YXt16Ykm.jpg",je=de,N="gratis_pitcher",m={formSlug:"gratis_pitcher",formName:"Gratis-Pitcher-Anfrage",leadSource:"pitcher_lp",standort:"Bayreuth"};function z(a){return a===409?"sold_out":"server"}function Ne(){if(typeof window>"u")return{};const a=new URLSearchParams(window.location.search),s=u=>{const r=a.get(u);return r?r.slice(0,120):void 0};return{utm_source:s("utm_source"),utm_medium:s("utm_medium"),utm_campaign:s("utm_campaign"),utm_content:s("utm_content"),utm_term:s("utm_term")}}function ve(a,s){return new Date(`${a}T${s}:00`).toISOString()}const ye=["3","4","5","6","7","8+"];function b(a,s,u){if(typeof window>"u")return;const r=window;try{(r.dataLayer=r.dataLayer||[]).push({event:`pitcher_inquiry_${a}`,party_size:s,campaign:"gratis_pitcher",...u?{error_message:u}:{}}),r.plausible?.("Pitcher Inquiry",{props:{status:a,party_size:s}}),a==="success"&&ne({lead_source:"pitcher_lp",campaign:"gratis_pitcher",form_id:m.formSlug,form_name:"Gratis-Pitcher-Anfrage",standort:"Bayreuth",extra:{party_size:s}})}catch{}}function B(a,s){return a===409?"Dieser Termin ist leider voll. Bitte wähle ein anderes Datum oder eine andere Uhrzeit.":a===400?s||"Bitte prüfe deine Eingaben und versuch es nochmal.":a===404?"Standort gerade nicht erreichbar. Schreib uns direkt an [email protected].":a===429?"Gerade sehr viele Anfragen. Bitte versuch es in 1–2 Minuten nochmal.":a&&a>=500?"Unser Anfrage-Service hat gerade einen Schluckauf. Versuch es gleich nochmal oder schreib uns an [email protected].":s||"Anfrage konnte nicht gesendet werden. Bitte versuch es gleich nochmal."}function or(){return e.jsxs("div",{className:"min-h-screen text-foreground overflow-x-hidden pb-24 md:pb-0",children:[e.jsx(O,{variant:"ueber"}),e.jsx(we,{}),e.jsx(Se,{}),e.jsx(_e,{}),e.jsx(ze,{}),e.jsx(D,{}),e.jsx(ke,{})]})}function ke(){return e.jsx("div",{className:"fixed inset-x-0 bottom-0 z-40 px-4 pb-4 pt-3 bg-gradient-to-t from-background via-background/95 to-transparent md:hidden",children:e.jsx("a",{href:"#buchung",className:"flex items-center justify-center gap-2 w-full max-w-md mx-auto rounded-2xl bg-gradient-brand text-primary-foreground px-6 py-4 font-bold text-base shadow-glow animate-pulse-glow",children:"🍻 Tisch & Gratis-Pitcher sichern"})})}function we(){return e.jsxs("section",{className:"relative pt-32 pb-16 md:pt-40 md:pb-24 overflow-hidden",children:[e.jsx("img",{src:R,alt:"1,5 Liter Bier-Pitcher auf einem Holztisch im Pub&Go Bayreuth",className:"absolute inset-0 -z-10 h-full w-full object-cover opacity-40",width:1920,height:1080,loading:"eager",decoding:"async",fetchpriority:"high"}),e.jsx("div",{className:"absolute inset-0 -z-10 bg-gradient-to-b from-background/70 via-background/85 to-background"}),e.jsxs("div",{className:"max-w-3xl mx-auto px-6 text-center animate-float-up",children:[e.jsxs("span",{className:"inline-flex items-center gap-2 rounded-full border border-brand/40 bg-brand/10 px-4 py-1.5 text-xs font-semibold uppercase tracking-wider text-brand",children:[e.jsx(C,{className:"h-3.5 w-3.5"})," Gratis-Pitcher Aktion"]}),e.jsxs("h1",{className:"mt-6 text-4xl md:text-6xl font-display-hh font-bold leading-tight",children:["Euer 1,5L Gratis-Pitcher"," ",e.jsx("span",{className:"text-gradient-brand",children:"wartet!"})," 🍻"]}),e.jsx("p",{className:"mt-6 text-lg md:text-xl text-muted-foreground max-w-2xl mx-auto",children:"Komm mit mindestens 2 Freunden ins Pub&Go Bayreuth und die erste Runde geht auf uns. Sicher dir jetzt euren Tisch."}),e.jsx("div",{className:"mt-10",children:e.jsx("a",{href:"#buchung",className:"inline-flex items-center justify-center rounded-full bg-gradient-brand text-primary-foreground px-7 py-4 text-base font-semibold shadow-glow hover:opacity-90 transition animate-pulse-glow",children:"Tisch & Gratis-Pitcher sichern ⬇️"})})]})]})}function _e(){const a=[{src:re,alt:"Freunde stoßen mit 1,5L Bier-Pitcher im Pub&Go Bayreuth an",caption:"Anstoßen mit dem 1,5L Pitcher"}
1,{src:U.url,alt:"Innenraum vom Pub&Go Bayreuth mit warmem Licht und Holztischen",caption:"Unser Pub in der Sophienstraße"},{src:be,alt:"Gruppe gießt Bier aus dem Pitcher in Gläser im Pub&Go",caption:"Eine Runde geht auf uns"},{src:te.url,alt:"Weiter Blick in den Pub&Go Bayreuth",caption:"Platz für deine Crew"},{src:se.url,alt:"Außenterrasse Pub&Go Bayreuth mit Gästen bei Bier, Spritz und Kaffee unter roten Sonnenschirmen",caption:"Sonnenplätze in der Sophienstraße"}];return e.jsx("section",{className:"py-20 md:py-28 bg-card/30 border-y border-border/50",children:e.jsxs("div",{className:"max-w-6xl mx-auto px-6",children:[e.jsxs("div",{className:"text-center max-w-2xl mx-auto",children:[e.jsxs("span",{className:"inline-flex items-center gap-2 rounded-full border border-brand/40 bg-brand/10 px-4 py-1.5 text-xs font-semibold uppercase tracking-wider text-brand",children:[e.jsx(k,{className:"h-3.5 w-3.5"})," So sieht's bei uns aus"]}),e.jsxs("h2",{className:"mt-4 text-3xl md:text-5xl font-display font-bold",children:["Euer Abend im ",e.jsx("span",{className:"text-gradient-brand",children:"Pub&Go Bayreuth"})]}),e.jsx("p",{className:"mt-4 text-muted-foreground",children:"Holzige Tische, warmes Licht, kaltes Bier, und mittendrin euer 1,5L Pitcher."})]}),e.jsx("div",{className:"mt-12 grid grid-cols-2 md:grid-cols-4 gap-3 md:gap-4",children:a.map((s,u)=>{const r=u===a.length-1&&a.length%2===1;return e.jsxs("figure",{className:`group relative overflow-hidden rounded-2xl border border-border bg-card shadow-elegant hover:-translate-y-1 hover:border-brand/40 transition ${r?"col-span-2 md:col-span-1 aspect-[16/9] md:aspect-[4/5]":"aspect-[4/5]"}`,children:[e.jsx("img",{src:s.src,alt:s.alt,loading:"lazy",width:800,height:1e3,className:"absolute inset-0 h-full w-full object-cover group-hover:scale-105 transition duration-500"}),e.jsx("div",{className:"absolute inset-x-0 bottom-0 bg-gradient-to-t from-background/90 via-background/40 to-transparent p-3",children:e.jsx("figcaption",{className:"text-xs md:text-sm font-semibold text-foreground",children:s.caption})})]},s.caption)})})]})})}function Se(){const a=[{icon:ce,badge:"1️⃣",title:"Tisch reservieren",text:"Buch euren Tisch für mindestens 3 Personen direkt über das Formular."},{icon:le,badge:"2️⃣",title:"App laden",text:"Hol dir nach der Buchung unsere kostenlose Pub&Go App aufs Handy."},{icon:C,badge:"3️⃣",title:"Freibier genießen",text:"Deine Pitcher-Credits sind in der App hinterlegt. Am Tisch scannen und gratis trinken!"}];return e.jsx("section",{className:"py-20 md:py-28",children:e.jsxs("div",{className:"max-w-6xl mx-auto px-6",children:[e.jsxs("div",{className:"text-center max-w-2xl mx-auto",children:[e.jsxs("h2",{className:"text-3xl md:text-5xl font-display font-bold",children:["So holt ihr euch den ",e.jsx("span",{className:"text-gradient-brand",children:"Gratis-Pitcher"})]}),e.jsx("p",{className:"mt-4 text-muted-foreground",children:"Drei einfache Schritte, kein Kleingedrucktes, kein Stress."})]}),e.jsx("div",{className:"mt-12 grid md:grid-cols-3 gap-6",children:a.map(s=>e.jsxs("div",{className:"rounded-2xl border border-border bg-card/60 backdrop-blur p-6 hover:border-brand/40 transition",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"h-12 w-12 rounded-xl bg-gradient-brand flex items-center justify-center text-primary-foreground shadow-glow",children:e.jsx(s.icon,{className:"h-6 w-6"})}),e.jsx("span",{className:"text-2xl",children:s.badge})]}),e.jsx("h3",{className:"mt-4 text-xl font-semibold",children:s.title}),e.jsx("p",{className:"mt-2 text-sm text-muted-foreground leading-relaxed",children:s.text})]},s.title))})]})})}function Pe(a){if(a.endsWith("+"))return parseInt(a,10)||8;const s=parseInt(a,10);return Number.isFinite(s)&&s>=3?s:3}function ze(){const a=y(W),s=y(Q),u=y(ee),[r,l]=j.useState({kind:"idle"}),[w,A]=j.useState({}),[n,v]=j.useState({firstName:"",lastName:"",email:"",phone:"",date:"",time:"19:00",guests:"3",zip_code:"",marketingConsent:!1});j.useEffect(()=>A(Ne()),[]);const h=d=>t=>{const c=t.target,i=c instanceof HTMLInputElement&&c.type==="checkbox"?c.checked:c.value;v(o=>({...o,[d]:i}
1))},G=()=>{const d=Pe(n.guests),t=$(n.phone);if(!K.test(t))return{error:"Bitte gib eine gültige Telefonnummer an (z. B. 0151 1234567).",field:"phone"};const c=n.firstName.trim(),i=n.lastName.trim();return!c||!i?{error:"Bitte gib Vor- und Nachname an.",field:"first_name"}:/^\d{4,5}$/.test(n.zip_code.trim())?{firstName:c,lastName:i,email:n.email.trim(),phoneRaw:n.phone.trim(),phoneNormalized:t,date:n.date,time:n.time,partySize:d,zip_code:n.zip_code.trim(),marketingConsent:n.marketingConsent}:{error:"Bitte gib eine gültige Postleitzahl an.",field:"zip_code"}},L=ae(m),_=ie(),F=async d=>{if(d.preventDefault(),!!_.begin())try{await T(d)}finally{_.end()}},T=async d=>{if(d.preventDefault(),r.kind==="sending-otp"||r.kind==="verifying")return;const t=G();if("error"in t){x(m,{error_type:"validation",error_field:t.field,error_message:t.error}),l({kind:"error",message:t.error});return}oe(m),l({kind:"sending-otp"}),b("submit",t.partySize);try{const c=await s({data:{phone:t.phoneNormalized,campaign:N}});if(c.ok)b("otp_sent",t.partySize),l({kind:"otp-pending",snapshot:t,otpError:null});else{const i=B(c.status,c.error);b("error",t.partySize,c.error),x(m,{error_type:z(c.status),error_message:i}),l({kind:"error",message:i,status:c.status})}}catch(c){console.error(c);const i="Versand fehlgeschlagen. Bitte versuch es gleich nochmal.";x(m,{error_type:"server",error_message:i}),l({kind:"error",message:i})}},E=async d=>{if(r.kind!=="otp-pending")return;const t=r.snapshot;l({kind:"verifying",snapshot:t});let c;try{const i=await a({data:{campaign:N,pub_id:je,guest_name:`${t.firstName} ${t.lastName}`.trim(),guest_email:t.email,guest_phone:t.phoneRaw,party_size:t.partySize,arrival_at:ve(t.date,t.time||"19:00"),notes:["Kampagne: Gratis-Pitcher (1,5L Bier)",`Personenanzahl laut Auswahl: ${n.guests}`,"Pitcher wird über Pub&Go App freigeschaltet (Telefonnummer muss übereinstimmen)."].join(`
2`),...w}});if(!i.ok){b("error",t.partySize,i.error);const o=B(i.status,i.error);x(m,{error_type:z(i.status),error_message:o}),l({kind:"error",message:o,status:i.status});return}c=i.confirmation_token}catch(i){console.error(i);const o="Reservierung konnte nicht gesendet werden. Bitte versuch es gleich nochmal.";x(m,{error_type:"server",error_message:o}),l({kind:"error",message:o});return}try{const i=Object.fromEntries(Object.entries(w).filter(([,g])=>typeof g=="string"&&g.length>0)),o=await u({data:{phone:t.phoneNormalized,otp:d,firstName:t.firstName,lastName:t.lastName,email:t.email,is_adult:1,zip_code:t.zip_code,marketing_consent:t.marketingConsent?1:0,campaign:N,silent:!0,...i}});if(!o.ok){const g=o.status===401||o.status===422?"Code stimmt nicht. Bitte prüfe WhatsApp/SMS und versuch es nochmal.":o.error||"Bestätigung fehlgeschlagen. Bitte versuch es nochmal.";x(m,{error_type:o.status===401||o.status===422?"validation":"server",error_field:o.status===401||o.status===422?"code":void 0,error_message:g}),l({kind:"otp-pending",snapshot:t,otpError:g});return}b("success",t.partySize),l({kind:"success",token:c,creditsHint:o.credits,userExistedInApp:o.user_existed_in_app,firstName:t.firstName})}catch(i){console.error(i);const o="Bestätigung gerade nicht möglich. Bitte versuch es gleich nochmal.";x(m,{error_type:"server",error_message:o}),l({kind:"otp-pending",snapshot:t,otpError:o})}},M=async()=>{if(r.kind==="otp-pending")try{await s({data:{phone:r.snapshot.phoneNormalized,campaign:N}})}catch(d){console.error("resend OTP failed",d)}},H=()=>l({kind:"idle"}),S=r.kind==="sending-otp"||r.kind==="verifying",I=!n.firstName||!n.lastName||!n.email||!n.phone||!n.date||!n.time||!n.zip_code||!n.marketingConsent;return r.kind==="success"?e.jsx("section",{id:"buchung",className:"py-20 md:py-28 scroll-mt-24",children:e.jsx("div",{className:"max-w-2xl mx-auto px-6",children:e.jsxs("div",{className:"rounded-3xl border border-brand/40 bg-gradient-to-br from-brand/15 via-card to-card p-8 md:p-10 text-center shadow-elegant space-y-6",children:[e.jsx("div",{className:"inline-flex h-14 w-14 rounded-2xl bg-gradient-brand items-center justify-center text-primary-foreground shadow-glow mx-auto",children:e.jsx(me,{className:"h-7 w-7"})}),e.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold",children:"🎉 Tisch ist reserviert! Letzter Schritt:"}),r.userExistedInApp?e.jsx(J,{credits:r.creditsHint??1500,firstName:r.firstName,placement:"pitcher_success_returning"}):e.jsxs(e.Fragment,{children:[e.jsxs("p",{className:"text-muted-foreground md:text-lg leading-relaxed",children:["Du bekommst ",e.jsx("strong",{className:"text-foreground",children:"1.500 Pub&Go-Credits (Wert: 15 €, genau passend für euren gratis 1,5L Bier-Pitcher!)"})," in deine App. Lade dir die Pub&Go App herunter und melde dich mit derselben Telefonnummer an, um den Pitcher freizuschalten."]}),r.creditsHint!=null&&r.creditsHint>0&&r.creditsHint!==1500?e.jsxs("p",{className:"text-sm text-brand font-semibold",children:["Du bekommst zusätzlich ",r.creditsHint," Pub&Go-Credits in der App."]}):null,e.jsx("div",{className:"flex justify-center",children:e.jsx(P,{size:"lg",variant:"brand",placement:"pitcher_success"})})]}),e.jsx("div",{className:"pt-2",children:e.jsxs(q,{to:"/kampagne/$token",params:{token:r.token},className:"inline-flex items-center justify-center gap-2 rounded-2xl border border-border bg-background hover:bg-accent/40 px-5 py-3 text-sm font-semibold transition",children:[e.jsx(ue,{className:"h-4 w-4"})," Reservierung ansehen"]})}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Du bekommst zusätzlich eine Bestätigung per E-Mail."})]})})}):r.kind==="success-full"?e.jsx("section",{id:"buchung",className:"py-20 md:py-28 scroll-mt-24",children:e.jsx("div",{className:"max-w-2xl mx-auto px-6",children:e.jsxs("div",{className:"rounded-3xl border border-[#ffbd59]/40 bg-[#ffbd59]/5 p-8 md:p-10 text-center shadow-elegant space-y-5",children:[e.jsx("div",{className:"inline-flex h-14 w-14 roun
2ded-2xl bg-[#ffbd59]/20 items-center justify-center text-[#ffbd59] mx-auto",children:e.jsx(k,{className:"h-7 w-7"})}),e.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold",children:"Termin leider voll, du bist trotzdem dabei"}),e.jsx("p",{className:"text-muted-foreground md:text-lg leading-relaxed",children:r.message}),e.jsx("div",{className:"flex justify-center",children:e.jsx(P,{size:"lg",variant:"brand",placement:"pitcher_full"})})]})})}):e.jsx("section",{id:"buchung",className:"py-20 md:py-28 scroll-mt-24",children:e.jsxs("div",{className:"max-w-2xl mx-auto px-6",children:[e.jsxs("div",{className:"text-center max-w-xl mx-auto",children:[e.jsxs("span",{className:"inline-flex items-center gap-2 rounded-full border border-brand/40 bg-brand/10 px-4 py-1.5 text-xs font-semibold uppercase tracking-wider text-brand",children:[e.jsx(pe,{className:"h-3.5 w-3.5"})," Reservierung ab 3 Personen"]}),e.jsxs("h2",{className:"mt-4 text-3xl md:text-5xl font-display font-bold",children:["Tisch & ",e.jsx("span",{className:"text-gradient-brand",children:"Gratis-Pitcher"})," sichern"]}),e.jsx("p",{className:"mt-4 text-muted-foreground",children:"Trag dich kurz ein, wir bestätigen euren Tisch per Code (WhatsApp oder SMS) und legen den Pitcher in eurer App bereit."})]}),r.kind==="otp-pending"||r.kind==="verifying"?e.jsx("div",{className:"mt-10",children:e.jsx(Z,{phoneLabel:n.phone,isSubmitting:r.kind==="verifying",onSubmit:E,onResend:M,onCancel:H,errorMessage:r.kind==="otp-pending"?r.otpError:null})}):e.jsxs("form",{id:m.formSlug,name:m.formSlug,onSubmit:F,...L.formProps,className:"mt-10 rounded-2xl border border-border bg-card/60 backdrop-blur p-6 md:p-8 space-y-5",children:[e.jsxs("div",{className:"grid sm:grid-cols-2 gap-5",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(p,{htmlFor:"firstName",children:"Vorname"}),e.jsx(f,{id:"firstName",required:!0,maxLength:80,value:n.firstName,onChange:h("firstName"),placeholder:"Max",autoComplete:"given-name"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(p,{htmlFor:"lastName",children:"Nachname"}),e.jsx(f,{id:"lastName",required:!0,maxLength:80,value:n.lastName,onChange:h("lastName"),placeholder:"Mustermann",autoComplete:"family-name"})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(p,{htmlFor:"phone",children:"Mobilfunknummer"}),e.jsx(f,{id:"phone",type:"tel",inputMode:"tel",required:!0,maxLength:40,value:n.phone,onChange:h("phone"),placeholder:"z. B. 0151 23456789",autoComplete:"tel"}),e.jsxs("p",{className:"text-sm text-muted-foreground leading-relaxed",children:[e.jsx("strong",{className:"text-foreground",children:"Wichtig:"})," Wir schicken den Bestätigungscode per WhatsApp (oder SMS, falls kein WhatsApp). Nutze dieselbe Nummer wie später in der Pub&Go App."]})]}),e.jsxs("div",{className:"grid sm:grid-cols-2 gap-5",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(p,{htmlFor:"email",children:"E-Mail-Adresse"}),e.jsx(f,{id:"email",type:"email",required:!0,maxLength:255,value:n.email,onChange:h("email"),placeholder:"[email protected]",autoComplete:"email"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(p,{htmlFor:"zip",children:"PLZ"}),e.jsx(f,{id:"zip",required:!0,inputMode:"numeric",pattern:"\\d{4,5}",maxLength:5,value:n.zip_code,onChange:h("zip_code"),placeholder:"95444",autoComplete:"postal-code"})]})]}),e.jsxs("div",{className:"grid sm:grid-cols-2 gap-5",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(p,{htmlFor:"date",children:"Datum"}),e.jsx(Y,{id:"date",required:!0,value:n.date,onChange:d=>v(t=>({...t,date:d})),placeholder:"Datum wählen"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(p,{htmlFor:"time",children:"Uhrzeit"}),e.jsx(X,{id:"time",required:!0,value:n.time,onChange:d=>v(t=>({...t,time:d})),startHour:11,endHour:23})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(p,{htmlFor:"guests",children:"Personenanzahl"}),e.jsx("select",{id:"guests",value:n.guests,onChange:h("guests"),className:"flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",children:ye.map(d=>e.jsxs("option",{value:d,className:"bg-card",children:[d," Personen"]},d))}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Mindestens 3 Personen für den Gratis-Pitcher."})]}),e.jsxs("label",{className:"flex items-start gap-3 text-sm text-foreground
2/90 cursor-pointer",children:[e.jsx("input",{type:"checkbox",checked:n.marketingConsent,onChange:h("marketingConsent"),required:!0,className:"mt-1 h-4 w-4 accent-brand"}),e.jsx("span",{children:"Ich bin 18+ und möchte Pub&Go-Aktionen per E-Mail, WhatsApp oder SMS erhalten. Abmeldung jederzeit möglich."})]}),e.jsx(V,{type:"submit",size:"lg",disabled:I||S,className:"w-full bg-gradient-brand text-primary-foreground hover:opacity-90 text-base font-semibold rounded-full h-12 disabled:opacity-50",children:S?e.jsxs(e.Fragment,{children:[e.jsx(he,{className:"h-4 w-4 mr-2 animate-spin"}),"Code wird gesendet…"]}):e.jsxs(e.Fragment,{children:[e.jsx(xe,{className:"h-4 w-4 mr-2"}),"Code anfordern & Tisch sichern"]})}),e.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-x-4 gap-y-1 text-xs text-muted-foreground pt-1",children:[e.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[e.jsx(ge,{className:"h-3.5 w-3.5 text-brand"})," Unverbindlich"]}),e.jsx("span",{className:"opacity-60",children:"·"}),e.jsx("span",{children:"Keine Anzahlung"}),e.jsx("span",{className:"opacity-60",children:"·"}),e.jsx("span",{children:"Storno per Link"})]}),r.kind==="duplicate"&&e.jsxs("div",{className:"flex items-start gap-3 rounded-2xl border border-[#ffbd59]/40 bg-[#ffbd59]/10 p-4 text-sm",children:[e.jsx(k,{className:"h-5 w-5 text-[#ffbd59] shrink-0 mt-0.5"}),e.jsxs("div",{children:[e.jsx("div",{className:"font-bold text-foreground",children:"Anfrage liegt uns schon vor 👍"}),e.jsx("p",{className:"mt-1 text-muted-foreground",children:r.message})]})]}),r.kind==="error"&&e.jsxs("div",{className:"flex items-start gap-3 rounded-2xl border border-destructive/40 bg-destructive/10 p-4 text-sm",children:[e.jsx(fe,{className:"h-5 w-5 text-destructive shrink-0 mt-0.5"}),e.jsxs("div",{children:[e.jsx("div",{className:"font-bold text-foreground",children:"Ups, das hat nicht geklappt."}),e.jsx("p",{className:"mt-1 text-muted-foreground",children:r.message}),r.status?e.jsxs("p",{className:"mt-1 text-sm text-muted-foreground/70",children:["Fehlercode: ",r.status]}):null]})]})]})]})})}export{or as component};

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.