1import{c as N,r as l,j as e,X as S,S as E,L,B as M}from"./main-Ca248qiB.js";import{l as C}from"./scribamed-logo-transparent.png.asset-NL05yDnz.js";import{C as _}from"./clock-LWljKOHu.js";import{U as D}from"./users-3Zj22XhD.js";const z=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],A=N("map-pin",z),p="scribamed:soft-cta-popup:v2",I=8e3,O=9e4,T=1e4;function P({title:g="Bereit, spürbar Zeit zu sparen?",subtitle:h="Kostenlos starten â ohne Zahlungsdaten, jederzeit erweiterbar.",ctaLabel:b="Kostenlos starten",ctaHref:w="/auth",ctaSearch:j={mode:"signup"}}){const[a,r]=l.useState(!1);return l.useEffect(()=>{if(typeof window>"u")return;try{if(window.localStorage.getItem(p))return}catch{return}if(document.documentElement.dataset.noTracking==="true")return;const t=Date.now();let o=!1,d=window.scrollY,c=t;const s=()=>{if(!o&&!(Date.now()-t<I)){o=!0,r(!0);try{window.localStorage.setItem(p,String(Date.now()))}catch{}x()}},m=n=>{n.relatedTarget||n.toElement||n.clientY>0||s()},u=()=>{document.visibilityState==="hidden"&&(Date.now()-t<T||s())},f=()=>{const n=Date.now(),i=window.scrollY,v=d-i,k=n-c;d=i,c=n,i<200&&v>120&&k<250&&s()},y=window.setTimeout(s,O);document.addEventListener("mouseout",m),document.addEventListener("visibilitychange",u),window.addEventListener("scroll",f,{passive:!0});function x(){window.clearTimeout(y),document.removeEventListener("mouseout",m),document.removeEventListener("visibilitychange",u),window.removeEventListener("scroll",f)}return x},[]),l.useEffect(()=>{if(!a)return;const t=o=>{o.key==="Escape"&&r(!1)};return window.addEventListener("keydown",t),()=>window.removeEventListener("keydown",t)},[a]),a?e.jsx("div",{role:"dialog","aria-modal":"true","aria-labelledby":"soft-cta-title",className:"fixed inset-0 z-50 flex items-end justify-center bg-black/30 p-3 backdrop-blur-sm sm:items-center sm:p-6 motion-safe:animate-in motion-safe:fade-in motion-safe:duration-200",onClick:()=>r(!1),children:e.jsxs("div",{onClick:t=>t.stopPropagation(),className:"relative w-full max-w-md rounded-2xl border border-border bg-card p-6 shadow-glow motion-safe:animate-in motion-safe:slide-in-from-bottom-4 motion-safe:duration-200",children:[e.jsx("button",{type:"button","aria-label":"SchlieÃen",onClick:()=>r(!1),className:"absolute right-3 top-3 rounded-md p-1.5 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground",children:e.jsx(S,{className:"h-4 w-4"})}),e.jsx("img",{src:C.url,alt:"Scribamed",width:1001,height:351,decoding:"async",className:"block h-9 w-auto max-w-[45%] object-contain"}),e.jsx("h2",{id:"soft-cta-title",className:"mt-4 text-xl font-semibold leading-tight",children:g}),e.jsx("p",{className:"mt-2 text-sm text-muted-foreground",children:h}),e.jsxs("ul",{className:"mt-5 grid grid-cols-2 gap-2 text-xs",children:[e.jsxs("li",{className:"flex items-center gap-2 rounded-lg border border-border bg-background px-3 py-2",children:[e.jsx(_,{className:"h-4 w-4 text-primary"}),e.jsx("span",{children:"2 Std./Tag sparen"})]}),e.jsxs("li",{className:"flex items-center gap-2 rounded-lg border border-border bg-background px-3 py-2",children:[e.jsx(E,{className:"h-4 w-4 text-primary"}),e.jsx("span",{children:"DSGVO-konform"})]}),e.jsxs("li",{className:"flex items-center gap-2 rounded-lg border border-border bg-background px-3 py-2",children:[e.jsx(A,{className:"h-4 w-4 text-primary"}),e.jsx("span",{children:"Made in Germany"})]}),e.jsxs("li",{className:"flex items-center gap-2 rounded-lg border border-border bg-background px-3 py-2",children:[e.jsx(D,{className:"h-4 w-4 text-primary"}),e.jsx("span",{children:"Ãrzt:innen & MFA"})]})]}),e.jsxs("div",{className:"mt-6 flex flex-col-reverse gap-2 sm:flex-row sm:items-center sm:justify-between",children:[e.jsx("button",{type:"button",onClick:()=>r(!1),className:"text-xs text-muted-foreground underline-offset-4 hover:text-foreground hover:underline",children:"Später"}),e.jsx(L,{to:w,search:j,onClick:()=>r(!1),children:e.jsx(M,{size:"lg",className:"w-full shadow-glow sm:w-auto",children:b})})]}),e.jsx("p",{className:"mt-3 text-[11px] text-muted-foreground",children:"Zahlungsmethode im Onboarding · Jederzeit kündbar · Wird nur einmal angezeigt."})]})}):null}export{A as M,P as S};
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.