PageSourceSearch

https://www.projx.de/assets/ContactWizard-qjtpv84L.js

js projx.de collected 2026-10-06 16:19:08 UTC 23,101 bytes, 13 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/publicTeamMembers-DDM_VKTa.js","assets/client-C_bsq0ZC.js","assets/vendor-react-tWhbv76L.js"])))=>i.map(i=>d[i]);
2import{b as oe,u as de,y as ce,j as e,_ as me}from"./index-C0LF9ibf.js";import{r as x}from"./vendor-react-tWhbv76L.js";import{D as ue,a as he,b as be}from"./dialog-BoUggorC.js";import{u as ge}from"./useQuery-Bi3SoHs_.js";import{s as J}from"./client-C_bsq0ZC.js";import{i as pe,p as $}from"./expertMatching-BlzVO6Hu.js";import{X as fe}from"./x-CpRUHocF.js";import{A as ee,m as k}from"./proxy-BHqF13zB.js";import{L as B}from"./loader-circle-DiHj2lq6.js";import{C as re}from"./check-cDwvfMNR.js";import{C as xe}from"./calendar-BFMaUraS.js";import{C as F}from"./chevron-left-DpDD-Gtt.js";import{C as ye}from"./chevron-right-CKgknPja.js";import"./index-CxrTbj2z.js";import"./index-DM2Mq2Ls.js";import"./suspense-URJzfIKi.js";import"./createLucideIcon-57ceeOLD.js";const je=[{id:"goals",headline:"Was möchten Sie erreichen?",subline:"Wählen Sie alle zutreffenden Ziele",multiSelect:!0,options:[{id:"sales",label:"Mehr Umsatz generieren"},{id:"aiScale",label:"Mit KI-Automatisierung skalieren"},{id:"reach",label:"Mehr Reichweite aufbauen"},{id:"costs",label:"Prozesse automatisieren"}]},{id:"channels",headline:"Über welche Kanäle möchten Sie wachsen?",subline:"Wählen Sie alle relevanten Kanäle",multiSelect:!0,options:[{id:"ai",label:"AI & LLMs"},{id:"search",label:"Suchmaschinen (Search Everywhere Optimization / AI / SEA)"},{id:"social",label:"Social Media"},{id:"content",label:"Content & PR"}]},{id:"timeline",headline:"Wann soll es losgehen?",subline:"Wählen Sie Ihren Zeithorizont",multiSelect:!1,options:[{id:"asap",label:"Sofort – wir haben Budget"},{id:"quarter",label:"Nächstes Quartal"},{id:"info",label:"Erstmal nur informieren"}]}],we="https://calendly.com/ivan-projx/30min",ve=[{id:"partnerType",headline:"Art der Partnerschaft",subline:"Wo sehen Sie den Fit mit projx?",multiSelect:!1,options:[{id:"affiliate",label:"Affiliate & Publisher"},{id:"tech",label:"Tech & Tool-Anbieter"},{id:"referral",label:"Referral / Empfehler"}]},{id:"partnerFit",headline:"Was bringen Sie mit?",subline:"Wählen Sie alle zutreffenden Aspekte",multiSelect:!0,options:[{id:"audience",label:"Kundenzugang / Zielgruppe"},{id:"reach",label:"Traffic & Reichweite"},{id:"tech",label:"Technologie / Integration"},{id:"referral",label:"Empfehlung / Referral"}]},{id:"partnerTimeline",headline:"Zeithorizont",subline:"Wann möchten Sie starten?",multiSelect:!1,options:[{id:"asap",label:"Sofort — wir haben ein konkretes Setup"},{id:"quarter",label:"Nächstes Quartal"},{id:"explore",label:"Erstmal sondieren"}]}],Ne=b=>(b==null?void 0:b.trim().split(/\s+/)[0])||"",W=b=>b.replace(/\bWähle\b/g,"Wählen Sie").replace(/\bwähle\b/g,"wählen Sie").replace(/\bmöchtest du\b/gi,a=>a[0]==="M"?"Möchten Sie":"möchten Sie").replace(/\bwillst du\b/gi,a=>a[0]==="W"?"Wollen Sie":"wollen Sie").replace(/\bkannst du\b/gi,a=>a[0]==="K"?"Können Sie":"können Sie").replace(/\bbrauchst du\b/gi,a=>a[0]==="B"?"Brauchen Sie":"brauchen Sie").replace(/\bdu bist\b/gi,a=>(a[0]==="D","Sie sind")).replace(/\bdu hast\b/gi,a=>(a[0]==="D","Sie haben")).replace(/\bmöchtest\b/g,"möchten").replace(/\bMöchtest\b/g,"Möchten").replace(/\bwillst\b/g,"wollen").replace(/\bWillst\b/g,"Wollen").replace(/\bdeine\b/g,"Ihre").replace(/\bDeine\b/g,"Ihre").replace(/\bdeinen\b/g,"Ihren").replace(/\bDeinen\b/g,"Ihren").replace(/\bdeinem\b/g,"Ihrem").replace(/\bDeinem\b/g,"Ihrem").replace(/\bdeiner\b/g,"Ihrer").replace(/\bDeiner\b/g,"Ihrer").replace(/\bdeines\b/g,"Ihres").replace(/\bDeines\b/g,"Ihres").replace(/\bdein\b/g,"Ihr").replace(/\bDein\b/g,"Ihr").replace(/\bdir\b/g,"Ihnen").replace(/\bDir\b/g,"Ihnen").replace(/\bdich\b/g,"Sie").replace(/\bDich\b/g,"Sie").replace(/\bdu\b/g,"Sie").replace(/\bDu\b/g,"Sie"),Se=(b,a)=>{const w=b.replace(/[?.!]+$/,"");if(!a)return b;if(w.length<=52)return`${a} fragt: ${b}`;const m=w.toLowerCase();return m.includes("herausforderung")?`${a} fragt nach Ihren Herausforderungen`:m.includes("ziel")?`${a} fragt nach Ihren Zielen`:m.includes("kanal")||m.includes("kanäle")?`${a} fragt nach Ihren Kanälen`:m.includes("budget")?`${a} fragt nach Ihrem Budget`:m.includes("leistung")?`${a} fragt nach der passenden Leistung`:`${a}
2 fragt nach Ihren Prioritäten`},ke={ai:["AI","Automation","LLM","KI","ChatGPT","Gemini","Machine Learning","SEO","Performance"],search:["SEO","Google","Search","Organic","AI Overview","Rankings"],social:["Social","Paid Social","Meta","TikTok","Instagram","Facebook","LinkedIn"],content:["Content","PR","Marketing","Branding","Redaktion"]};function Fe(){var V,X;const{locale:b}=oe(),{isOpen:a,closeWizard:w,answers:m,context:r,dynamicQuestions:ne,isLoadingQuestions:C,toggleDynamicOption:se}=de(),[d,_]=x.useState(0),[v,M]=x.useState(null),[T,E]=x.useState(!1),O=!!(r!=null&&r.partner),u=O?ve:ne||je,A=u.length+1,y=d>=u.length,{data:g,isLoading:te}=ge({queryKey:["wizard-team-members",b],queryFn:async()=>{const{fetchPublicTeamMembers:n}=await me(async()=>{const{fetchPublicTeamMembers:s}=await import("./publicTeamMembers-DDM_VKTa.js");return{fetchPublicTeamMembers:s}},__vite__mapDeps([0,1,2])),{data:t}=await n(b);return t||[]},enabled:a}),D=x.useMemo(()=>{if(!(g!=null&&g.length))return null;if(O){const i=g.filter(S=>!!S.calendly_url),f=i.find(S=>/ivan/i.test(S.name));if(f)return f;const L=i.find(S=>/peter/i.test(S.name));return L||i[0]||g[0]}const n=m.dynamicResponses.channels||m.dynamicResponses.q2||m.channels;if(!n||n.length===0)return null;const t=n.flatMap(i=>ke[i]||[i]),s=g.map(i=>{const L=(i.expertise||[]).filter(S=>t.some(Y=>S.toLowerCase().includes(Y.toLowerCase())||Y.toLowerCase().includes(S.toLowerCase()))).length;return{member:i,score:L}}),c=s.filter(i=>i.score>0&&pe(i.member.name)),o=c.length>0?c:s.filter(i=>i.score>0);if(o.sort((i,f)=>f.score-i.score||$(i.member.name)-$(f.member.name)),o.length>0)return o[0].member;const h=g.filter(i=>!!i.calendly_url),p=h.find(i=>/ivan/i.test(i.name));if(p)return p;const j=h.find(i=>/peter/i.test(i.name));return j||[...g].sort((i,f)=>$(i.name)-$(f.name))[0]||g[0]},[g,m.dynamicResponses,m.channels,O]),l=x.useMemo(()=>{if(D)return D;if(g!=null&&g.length){const n=g.filter(o=>!!o.calendly_url),t=n.find(o=>/ivan/i.test(o.name));if(t)return t;const s=n.find(o=>/peter/i.test(o.name));return s||[...g].sort((o,h)=>$(o.name)-$(h.name))[0]||g[0]}return null},[D,g]),N=Ne(l==null?void 0:l.name);x.useEffect(()=>{a||setTimeout(()=>{_(0),M(null),E(!1)},300)},[a]),x.useEffect(()=>{if(!y||v||T)return;(async()=>{E(!0);try{const t=Object.entries(m.dynamicResponses).map(([h,p])=>{const j=u.find(i=>i.id===h);if(!j)return null;const P=p.map(i=>{var f;return(f=j.options.find(L=>L.id===i))==null?void 0:f.label}).filter(Boolean);return P.length>0?{question:j.headline,answers:P}:null}).filter(Boolean),s={};r!=null&&r.service&&(s.service=r.service.name),r!=null&&r.industry&&(s.industry=r.industry.name),r!=null&&r.sourcePage&&(s.sourcePage=r.sourcePage.label),l!=null&&l.name&&(s.expert=l.name);const{data:c,error:o}=await J.functions.invoke("generate-booking-summary",{body:{selections:t,context:s}});if(!o&&(c!=null&&c.summary))M(c.summary);else{const h=t.map(p=>p.answers.join(", ")).join(". ");M(h)}}catch{const t=Object.entries(m.dynamicResponses).flatMap(([s,c])=>{const o=u.find(h=>h.id===s);return c.map(h=>{var p;return(p=o==null?void 0:o.options.find(j=>j.id===h))==null?void 0:p.label}).filter(Boolean)}).join(", ");M(t||"Mandatsanfrage")}finally{E(!1)}})()},[y,v,T,m.dynamicResponses,u,r,l==null?void 0:l.name]);const K=()=>{if(d>=u.length)return!0;const n=u[d];return(m.dynamicResponses[n.id]||[]).length>0},ie=()=>{K()&&d<A-1&&_(d+1)},U=(n,t,s)=>{se(n,t,s),s||setTimeout(()=>{d<A-1&&_(d+1)},200)},q=()=>{d>0&&_(d-1)},z=x.useMemo(()=>Object.entries(m.dynamicResponses).map(([n,t])=>{const s=u.find(o=>o.id===n);if(!s)return null;const c=t.map(o=>{var h;return(h=s.options.find(p=>p.id===o))==null?void 0:h.label}).filter(Boolean);return c.length>0?{question:s.headline,answers:c}:null}).filter(Boolean),[m.dynamicResponses,u]),Q=x.useMemo(()=>{const n=z.map(s=>`${s.question} ${s.answers.join(", ")}`);r!=null&&r.sourcePage?n.push(`Quelle: ${r.sourcePage.label}`):r!=null&&r.service?n.push(`Leistung: ${r.service.name}`):r!=null&&r.industry&&n.push(`Branche: ${r.industry.name}`);let t=n.join(`
3`);if(v){const s=`${t}
4
5Kurzfassung: ${v}`;t=s.length<=950?s:t.slice(0,950)}return t.slice(0,950)},[z,r,v]),Z=x.useMemo(()=>{const n=(l==null?void 0:l.calendly_url)||we;let t="";try{t=new URL(n).hostname}catch{t=""}if(!t.endsWith("calendly.com"))return n;const s=new URLSearchParams({utm_source:"projx_website",utm_medium:"ai_wizard"}),c=[];
5Object.entries(m.dynamicResponses).forEach(([h,p])=>{const j=u.find(P=>P.id===h);j&&p.forEach(P=>{const i=j.options.find(f=>f.id===P);i&&c.push(i.label)})}),c.length>0&&s.set("utm_campaign",c.slice(0,3).join("-")),Q&&s.set("a1",Q),r!=null&&r.sourcePage?s.set("a2",`Seite: ${r.sourcePage.label}`):r!=null&&r.service?s.set("a2",`Leistung: ${r.service.name}`):r!=null&&r.industry&&s.set("a2",`Branche: ${r.industry.name}`);const o=n.includes("?")?"&":"?";return`${n}${o}${s.toString()}`},[m.dynamicResponses,r,u,Q,l==null?void 0:l.calendly_url]),ae=()=>{var t,s,c;if(z.length===0)return;let n;try{n=new URL(Z).searchParams.get("utm_campaign")??void 0}catch{}J.functions.invoke("notify-booking-request",{body:{qa:z,summary:v||void 0,sourcePage:(t=r==null?void 0:r.sourcePage)==null?void 0:t.label,serviceName:(s=r==null?void 0:r.service)==null?void 0:s.name,industryName:(c=r==null?void 0:r.industry)==null?void 0:c.name,expertName:l==null?void 0:l.name,expertSlug:l==null?void 0:l.slug,utmCampaign:n,bookingUrl:Z,locale:b}}).catch(()=>{})},R=x.useMemo(()=>{if(r!=null&&r.industry)return{title:r.industry.name,subtitle:"Ihre Branche",message:"Wir verstehen die Herausforderungen in Ihrer Branche und helfen Ihnen, Ihre Ziele zu erreichen.",type:"industry"};if(r!=null&&r.service)return{title:r.service.name,subtitle:"Ihr Interesse",message:"Sie haben sich für die richtige Leistung interessiert. Lassen Sie uns über Ihre Ziele sprechen.",type:"service"};if(r!=null&&r.sourcePage){const n=ce[r.sourcePage.type];return{title:n.title,subtitle:`Von ${n.label}`,message:n.message,type:"page"}}return null},[r]),le={enter:{x:30,opacity:0},center:{x:0,opacity:1},exit:{x:-30,opacity:0}},I=y?null:u[d],G=x.useMemo(()=>{if(y)return N?`Sondierung mit ${N}`:"Sondierungsgespräch anfragen";if(!I)return"";const n=W(I.headline);return Se(n,N)},[I,N,y]),H=x.useMemo(()=>{if(y)return N?`Wir prüfen jede Anfrage persönlich. Wählen Sie einen Zeitpunkt für die Sondierung mit ${N} – wir bestätigen nach interner Passungsprüfung.`:"Wir prüfen jede Anfrage persönlich. Wählen Sie einen Zeitpunkt für die Sondierung – wir bestätigen nach interner Passungsprüfung.";if(!I)return"";const n=W(I.headline),t=W(I.subline);return N&&n.length>52?`${n} ${t}`:t},[I,N,y]);return e.jsx(ue,{open:a,onOpenChange:n=>!n&&w(),children:e.jsx(he,{className:"w-full max-w-none sm:max-w-[860px] p-0 gap-0 overflow-hidden bg-background border-0 sm:border sm:border-border/50 sm:rounded-lg sm:shadow-xl max-h-[100svh] h-[100svh] sm:h-[min(720px,90vh)] [&>button]:hidden",children:e.jsxs("div",{className:"flex flex-col h-full",children:[e.jsxs("div",{className:"flex items-center justify-between px-5 sm:px-7 py-2.5 sm:py-4 border-b border-border/50 bg-background shrink-0",children:[e.jsx(be,{className:"text-[11px] font-semibold tracking-[0.18em] text-muted-foreground uppercase",children:"projx Mandatsanfrage"}),e.jsx("button",{onClick:w,className:"inline-flex h-9 w-9 items-center justify-center -mr-2 rounded-md hover:bg-secondary transition-colors","aria-label":"Schließen",children:e.jsx(fe,{className:"w-4 h-4 text-muted-foreground"})})]}),e.jsxs("div",{className:"flex flex-col sm:grid sm:grid-cols-[260px_minmax(0,1fr)] flex-1 overflow-hidden min-h-0",children:[e.jsxs("div",{className:"shrink-0 bg-secondary/70 px-5 py-3 sm:p-7 border-b sm:border-b-0 sm:border-r border-border/50",children:[e.jsx(ee,{mode:"wait",children:C||te&&!l?e.jsxs(k.div,{initial:{opacity:0}
5,animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},className:"flex sm:block items-center gap-3 text-left",children:[e.jsx("div",{className:"sm:mb-6",children:e.jsx(B,{className:"w-5 h-5 text-primary animate-spin"})}),e.jsxs("div",{children:[e.jsx("p",{className:"text-[11px] font-semibold tracking-[0.18em] text-muted-foreground uppercase mb-1",children:"Wird vorbereitet"}),e.jsx("h3",{className:"font-semibold text-foreground text-base sm:text-lg leading-snug",children:"Einen Moment..."})]})]},"loading"):l?e.jsx(k.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.25},children:e.jsxs("div",{className:"flex sm:flex-col items-center sm:items-start gap-3 sm:gap-5",children:[e.jsxs("div",{className:"relative shrink-0",children:[e.jsx("div",{className:"w-10 h-10 sm:w-20 sm:h-20 rounded-full overflow-hidden border border-background shadow-sm",children:e.jsx("img",{src:l.image_url||"/placeholder.svg",alt:l.name,className:"w-full h-full object-cover",decoding:"async",loading:"lazy"})}),e.jsx("div",{className:"absolute -bottom-0.5 -right-0.5 w-4 h-4 sm:w-5 sm:h-5 bg-primary rounded-full flex items-center justify-center shadow-sm",children:e.jsx(re,{className:"w-2.5 h-2.5 sm:w-3 sm:h-3 text-primary-foreground"})})]}),e.jsxs("div",{className:"min-w-0 flex-1 sm:mt-1",children:[e.jsx("p",{className:"text-[11px] font-semibold tracking-[0.18em] text-muted-foreground uppercase mb-1",children:"Ihr Ansprechpartner"}),e.jsx("h3",{className:"font-semibold text-foreground text-[15px] sm:text-xl leading-tight truncate sm:whitespace-normal",children:l.name}),e.jsx("p",{className:"text-xs sm:text-sm text-muted-foreground leading-snug truncate sm:whitespace-normal",children:l.role}),R&&e.jsx("p",{className:"hidden sm:block text-sm text-foreground/65 leading-relaxed mt-5",children:R.message})]})]})},"expert"):R?e.jsxs(k.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.25},className:"text-left",children:[e.jsx("p",{className:"text-[11px] font-semibold tracking-[0.18em] text-muted-foreground uppercase mb-1",children:R.subtitle}),e.jsx("h3",{className:"font-semibold text-foreground text-base sm:text-xl leading-tight",children:R.title}),e.jsx("p",{className:"hidden sm:block text-sm text-foreground/65 leading-relaxed mt-4",children:R.message})]},"context"):e.jsxs(k.div,{initial:{opacity:0}
5,animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},className:"text-left",children:[e.jsx("div",{className:"w-12 h-12 sm:w-20 sm:h-20 rounded-full bg-background mb-3 sm:mb-4 flex items-center justify-center border border-border/50 shadow-sm",children:e.jsx("span",{className:"text-2xl text-foreground/30 font-light",children:"?"})}),e.jsx("p",{className:"text-[11px] font-semibold tracking-[0.18em] text-muted-foreground uppercase mb-1",children:"Experten-Matching"}),e.jsx("h3",{className:"font-semibold text-foreground text-base sm:text-lg",children:"Wer passt zu Ihnen?"}),e.jsx("p",{className:"hidden sm:block text-sm text-foreground/65 mt-2 leading-relaxed",children:"Beantworten Sie die Fragen und wir zeigen Ihnen Ihren Ansprechpartner."})]},"placeholder")}),!C&&e.jsxs("div",{className:"hidden sm:block mt-10",children:[e.jsx("div",{className:"flex items-center gap-2",children:[...Array(A)].map((n,t)=>e.jsx("div",{className:`h-1 flex-1 rounded-full transition-all duration-300 ${t<=d?"bg-primary":"bg-border/60"}`},t))}),e.jsxs("p",{className:"text-xs text-muted-foreground mt-3",children:["Schritt ",d+1," von ",A]})]})]}),e.jsxs("div",{className:"flex-1 flex flex-col overflow-hidden bg-background min-h-0",children:[e.jsx("div",{className:"flex sm:hidden items-center justify-center gap-2 py-2 border-b border-border/30 shrink-0",children:[...Array(A)].map((n,t)=>e.jsx("div",{className:`h-1 rounded-full transition-all duration-300 ${t===d?"w-8 bg-primary":t<d?"w-3 bg-primary/60":"w-3 bg-border/40"}`},t))}),e.jsx("div",{className:"flex-1 overflow-y-auto min-h-0",children:e.jsx(ee,{mode:"wait",children:C?e.jsx(k.div,{initial:{opacity:0}
5,animate:{opacity:1},exit:{opacity:0},className:"flex items-center justify-center h-full p-8",children:e.jsxs("div",{className:"text-center",children:[e.jsx(B,{className:"w-6 h-6 text-muted-foreground animate-spin mx-auto mb-4"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Fragen werden vorbereitet..."})]})},"loading-content"):e.jsxs(k.div,{variants:le,initial:"enter",animate:"center",exit:"exit",transition:{type:"tween",duration:.2,ease:"easeOut"},className:"px-5 py-4 sm:p-8",children:[!y&&u[d]&&e.jsxs("div",{children:[e.jsx("h2",{className:"text-[22px] leading-[1.1] sm:text-4xl sm:leading-[1.05] font-semibold text-foreground tracking-tight mb-2 text-balance hyphens-auto",lang:"de",children:G}),e.jsx("p",{className:"text-muted-foreground text-[13px] sm:text-base leading-relaxed mb-4 sm:mb-8 max-w-xl",children:H}),e.jsx("div",{className:"flex flex-col gap-2 sm:gap-3",children:u[d].options.map(n=>{const s=(m.dynamicResponses[u[d].id]||[]).includes(n.id);return u[d].multiSelect?e.jsx(Ie,{selected:s,onClick:()=>U(u[d].id,n.id,!0),children:W(n.label)},n.id):e.jsx(Pe,{selected:s,onClick:()=>U(u[d].id,n.id,!1),children:W(n.label)},n.id)})})]}),y&&e.jsxs("div",{children:[e.jsx("h2",{className:"text-[22px] leading-[1.1] sm:text-4xl sm:leading-[1.05] font-semibold text-foreground tracking-tight mb-2 text-balance hyphens-auto",lang:"de",children:G}),e.jsx("p",{className:"text-muted-foreground text-[13px] sm:text-base leading-relaxed mb-4 sm:mb-8 max-w-xl",children:H}),e.jsxs("div",{className:"rounded-lg bg-secondary/70 p-4 sm:p-5 mb-5 sm:mb-6 border border-border/40",children:[e.jsx("p",{className:"text-[11px] font-semibold tracking-[0.18em] text-muted-foreground uppercase mb-3",children:"Zusammenfassung Ihrer Anfrage"}),T?e.jsxs("div",{className:"flex items-center gap-3 py-2",children:[e.jsx(B,{className:"w-4 h-4 text-primary animate-spin shrink-0"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Wird vorbereitet..."})]}):v?e.jsx("p",{className:"text-sm text-foreground/80 leading-relaxed",children:v}):null,e.jsxs("div",{className:"flex flex-wrap gap-2 mt-4 pt-3 border-t border-border/30",children:[(r==null?void 0:r.service)&&e.jsx("span",{className:"px-3 py-1.5 rounded-md bg-background text-foreground text-xs border border-border/50 shadow-sm",children:r.service.name}),(r==null?void 0:r.industry)&&e.jsx("span",{className:"px-3 py-1.5 rounded-md bg-background text-foreground text-xs border border-border/50 shadow-sm",children:r.industry.name}),Object.entries(m.dynamicResponses).map(([n,t])=>{const s=u.find(c=>c.id===n);return s?t.map(c=>{const o=s.options.find(h=>h.id===c);return o?e.jsx("span",{className:"px-3 py-1.5 rounded-md bg-background text-foreground text-xs border border-border/50 shadow-sm",children:W(o.label)},`${n}-${c}`):null}):null})]})]}),T?e.jsxs("div",{className:"flex items-center justify-center gap-3 w-full py-4 rounded-md bg-primary/50 text-primary-foreground/70 font-medium text-base cursor-wait shadow-md",children:[e.jsx(B,{className:"w-4 h-4 animate-spin"}),"Wird vorbereitet..."]}):e.jsxs("a",{href:Z,target:"_blank",rel:"noopener noreferrer",onClick:ae,className:"flex items-center justify-center gap-3 w-full py-4 rounded-md bg-primary text-primary-foreground font-medium text-base hover:bg-primary/90 transition-colors shadow-md",children:[e.jsx(xe,{className:"w-4 h-4"}),"Sondierungstermin anfragen"]}),e.jsx("p",{className:"text-center text-xs text-muted-foreground mt-4",children:"Wir nehmen pro Quartal eine begrenzte Anzahl neuer Mandate an. Wir melden uns innerhalb von 2 Werktagen mit einer Rückmeldung zur Passung."})]})]},d)})}),!C&&!y&&((V=u[d])==null?void 0:V.multiSelect)&&e.jsxs("div",{className:"flex items-center justify-between px-5 sm:px-8 py-2.5 sm:py-4 border-t border-border/60 bg-background/95 backdrop-blur-sm shrink-0",children:[e.jsxs("button",{onClick:q,className:`inline-flex items-center gap-1.5 h-10 px-3 -ml-3 rounded-md text-sm text-muted-foreground hover:text-foreground transition-colors ${d===0?"opacity-0 pointer-events-none":""}`,children:[e.jsx(F,{className:"w-4 h-4"}),"Zurück"]}),e.jsxs("button",{onClick:ie,disabled:!K(),className:"inline-flex items-center gap-2 h-10 px-5 rounded-full text-sm font-medium tracking-tight transition-all bg-foreground text-background hover:bg-foreground
5/90 disabled:bg-border disabled:text-muted-foreground disabled:cursor-not-allowed",children:["Weiter",e.jsx(ye,{className:"w-4 h-4"})]})]}),!C&&!y&&!((X=u[d])!=null&&X.multiSelect)&&e.jsx("div",{className:"flex items-center justify-start px-5 sm:px-8 py-2.5 sm:py-4 border-t border-border/60 bg-background/95 backdrop-blur-sm shrink-0",children:e.jsxs("button",{onClick:q,className:`inline-flex items-center gap-1.5 h-10 px-3 -ml-3 rounded-md text-sm text-muted-foreground hover:text-foreground transition-colors ${d===0?"opacity-0 pointer-events-none":""}`,children:[e.jsx(F,{className:"w-4 h-4"}),"Zurück"]})}),!C&&y&&e.jsx("div",{className:"flex items-center justify-start px-5 sm:px-8 py-2.5 sm:py-4 border-t border-border/60 bg-background/95 backdrop-blur-sm shrink-0",children:e.jsxs("button",{onClick:q,className:"inline-flex items-center gap-1.5 h-10 px-3 -ml-3 rounded-md text-sm text-muted-foreground hover:text-foreground transition-colors",children:[e.jsx(F,{className:"w-4 h-4"}),"Änderungen vornehmen"]})})]})]})]})})})}function Ie({children:b,selected:a,onClick:w}){return e.jsxs(k.button,{whileTap:{scale:.98},onClick:w,className:`
6        relative flex min-h-11 sm:min-h-14 w-full items-center justify-between gap-4 text-left font-medium rounded-md
7        transition-all duration-150 py-3 sm:py-4 px-4 sm:px-5 text-[14px] sm:text-base leading-snug shadow-sm
8        ${a?"bg-primary text-primary-foreground border-2 border-primary shadow-md":"bg-background text-foreground border-2 border-border/60 hover:border-primary/50 hover:shadow-md"}
9      `,children:[e.jsx("span",{className:"min-w-0 break-words hyphens-auto",lang:"de",children:b}),e.jsx("div",{className:`w-5 h-5 rounded-full flex shrink-0 items-center justify-center transition-all ${a?"bg-primary-foreground/20":"border-2 border-foreground
9/30 bg-background"}`,children:a&&e.jsx(re,{className:"w-3 h-3"})})]})}function Pe({children:b,selected:a,onClick:w}){return e.jsx(k.button,{whileTap:{scale:.98},onClick:w,className:`
10        relative flex min-h-11 sm:min-h-14 w-full items-center justify-center text-center font-medium rounded-md
11        transition-all duration-150 py-3 sm:py-4 px-4 sm:px-5 text-[14px] sm:text-base leading-snug shadow-sm
12        ${a?"bg-primary text-primary-foreground border-2 border-primary shadow-md":"bg-background text-foreground border-2 border-border/60 hover:border-primary/50 hover:shadow-md"}
13      `,children:e.jsx("span",{className:"break-words hyphens-auto",lang:"de",children:b})})}export{Fe 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.