PageSourceSearch

https://heyboomer.nl/assets/demo-Ds513fpz.js

js heyboomer.nl collected 2026-10-02 02:02:46 UTC 5,282 bytes, 1 lines download raw bytes

1import{u as N,r as y,j as e}from"./index-BMqdU-EK.js";import{u as w,a as v,b as S,t as C,p as E,S as T,N as k,M as P,C as _,F as q}from"./SEO-DWYrL29I.js";import{T as p,H as b}from"./text-B321RV-L.js";import{P as O}from"./icons-BSJcS1kH.js";import{p as A}from"./alternates-rUIkO_uU.js";const j="demo-aanvraag";function D(l){return Object.keys(l).map(t=>encodeURIComponent(t)+"="+encodeURIComponent(l[t])).join("&")}const x="bg-surface-raised border-border text-primary placeholder:text-tertiary focus:border-brand-400 focus:ring-brand-200 w-full rounded-xl border px-4 py-2.5 text-sm outline-none focus:ring-2";function H(){const l=N(),t=w(),s=v(t).form,[c,r]=y.useState("idle");async function i(f){f.preventDefault(),r("submitting");const g=f.currentTarget,o=new FormData(g),d={"form-name":j};o.forEach((a,n)=>{d[n]=typeof a=="string"?a:""});try{(await fetch("/__forms.html",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:D(d)})).ok?l(C(t,"/bedankt/form")):r("error")}catch{r("error")}}return e.jsxs("form",{name:j,method:"POST","data-netlify":"true","netlify-honeypot":"bot-field",onSubmit:i,className:"flex flex-col gap-4",children:[e.jsx("input",{type:"hidden",name:"form-name",value:j}),e.jsx("p",{hidden:!0,children:e.jsxs("label",{children:[s.honeypot," ",e.jsx("input",{name:"bot-field"})]})}),e.jsxs("div",{className:"grid gap-4 sm:grid-cols-2",children:[e.jsxs("label",{className:"flex flex-col gap-1.5",children:[e.jsx("span",{className:"text-secondary text-sm font-medium",children:s.name}),e.jsx("input",{name:"naam",required:!0,autoComplete:"name",className:x})]}),e.jsxs("label",{className:"flex flex-col gap-1.5",children:[e.jsx("span",{className:"text-secondary text-sm font-medium",children:s.company}),e.jsx("input",{name:"bedrijf",required:!0,autoComplete:"organization",className:x})]})]}),e.jsxs("div",{className:"grid gap-4 sm:grid-cols-2",children:[e.jsxs("label",{className:"flex flex-col gap-1.5",children:[e.jsx("span",{className:"text-secondary text-sm font-medium",children:s.email}),e.jsx("input",{type:"email",name:"email",required:!0,autoComplete:"email",className:x})]}),e.jsxs("label",{className:"flex flex-col gap-1.5",children:[e.jsx("span",{className:"text-secondary text-sm font-medium",children:s.poolSize}),e.jsx("input",{name:"poolgrootte",placeholder:s.poolSizeHint,className:x})]})]}),e.jsxs("label",{className:"flex flex-col gap-1.5",children:[e.jsx("span",{className:"text-secondary text-sm font-medium",children:s.message}),e.jsx("textarea",{name:"bericht",rows:3,className:x})]}),e.jsx(S,{type:"submit",size:"lg",disabled:c==="submitting",children:c==="submitting"?s.submitting:s.submit}),e.jsx(p,{className:"text-tertiary text-xs",children:s.privacy}),c==="error"&&e.jsx(p,{className:"text-brand-700 text-sm",children:s.error})]})}const L="floris-lugtmeijer-fljlsx/15min",h="15min",F="+31 85 250 21 94",I="+31852502194";function K(){const l=N(),t=w(),s=v(t).demo,c=E(t),r=A("demo");return y.useEffect(()=>{(function(i,f,g){const o=function(a,n){a.q.push(n)},d=i.document;i.Cal=i.Cal||function(){const a=i.Cal,n=arguments;if(a.loaded||(a.ns={},a.q=a.q||[],d.head.appendChild(d.createElement("script")).src=f,a.loaded=!0),n[0]===g){const u=function(){o(u,arguments)},m=n[1];u.q=u.q||[],typeof m=="string"?(a.ns[m]=a.ns[m]||u,o(a.ns[m],n),o(a,["initNamespace",m])):o(a,n);return}o(a,n)}})(window,"https://app.cal.com/embed/embed.js","init"),window.Cal&&(window.Cal("init",h,{origin:"https://app.cal.com"}),window.Cal.ns[h]("inline",{elementOrSelector:"#cal-inline",config:{layout:"month_view",theme:"light"},calLink:L}),window.Cal.ns[h]("ui",{theme:"light",hideEventTypeDetails:!1,layout:"month_view"}),window.Cal.ns[h]("on",{action:"bookingSuccessful",callback:()=>{l(C(t,"/bedankt/afspraak"))}}))},[l,t]),e.jsxs(e.Fragment,{children:[e.jsx(T,{title:s.seoTitle,description:s.seoDescription,url:c.demo,alternates:r}),e.jsx(k,{alternates:r}),e.jsx(P,{children:e.jsxs(_,{className:"flex flex-col gap-12 py-16 sm:py-20",children:[e.jsxs("div",{className:"flex max-w-2xl flex-col gap-4",children:[e.jsx("span",{className:"text-brand-700 text-sm font-semibold tracking-wide uppercase",children:s.eyebrow}),e.jsx(b,{level:"h1",children:s.heading}),e.jsx(p,{size:"lg",children:s.intro})]}),e.jsxs("div",{className:"grid gap-12 lg:grid-cols-[1.3fr_1fr]",children:[e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsx(b,{level:"h4",children:s.pickTime}),e.jsx("div",{id:"cal-inline",className:"border-border min-h-[520px] overflow-hidden rounded-2xl border"})]}),e.jsxs("div",{className:"bg-surface-secondary border-border flex flex-col gap-5 rounded-2xl border p-6 sm:p-8",children:[e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsx(b,{level:"h4",children:s.mailHeading}),e.jsx(p,{children:s.mailIntro})]}),e.jsx(H,{}),e.jsxs("div",{className:"border-border flex flex-col gap-1 border-t pt-5",children:[e.jsx("span",{className:"text-primary text-sm font-semibold",children:s.bannedHeading}),e.jsxs("a",{href:`tel:${I}`,className:"text-brand-700 hover:text-brand-800 inline-flex items-center gap-2 text-base font-semibold transition-colors",children:[e.jsx(O,{className:"h-4 w-4"}),F]}),e.jsx(p,{className:"text-sm",children:s.bannedText})]})]})]})]})}),e.jsx(q,{})]})}
1export{K 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.