PageSourceSearch

https://www.cbdcollege.edu.au/_next/static/chunks/01-smc-zcp8p4.js?dpl=dpl_CEZ3LB1XT6RoF7yQkfphe4BCHtVZ

js cbdcollege.edu.au collected 2026-10-09 05:06:45 UTC 21,278 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,68033,e=>{"use strict";let t="Australia/Sydney";e.s(["formatSessionDate",0,function(e){let s=new Date(e);return{weekday:s.toLocaleDateString("en-AU",{timeZone:t,weekday:"short"}),date:s.toLocaleDateString("en-AU",{timeZone:t,day:"numeric",month:"short",year:"numeric"})}}])},71901,85007,16628,e=>{"use strict";let t={"white-card":"2026-10-05","rsa-rcg":"2026-10-26",rcg:"2026-10-26",arcg:"2026-10-26","licensee-training":"2026-10-26","advanced-licensee-training":"2026-10-26","bar-basics":"2026-10-26","barista-3hr":"2026-10-26","barista-5hr":"2026-10-26"},s=new Set(Object.keys(t));function n(e){return void 0!==e&&s.has(e)}function a(e,s="white-card"){let n=t[s];return void 0!==n&&"string"==typeof e&&/^\d{4}-\d{2}-\d{2}/.test(e)&&e.slice(0,10)>=n}function r(e,t){return e.platformUrl?e.platformUrl:n(t)&&a(e.start_date,t)&&null!==e.id&&void 0!==e.id&&Number.isFinite(e.id)?`https://students.cbdcollege.edu.au/book/vasto-${e.id}`:e.enrolment_url}function l(e,t){return!(n(e)&&a(t,e))}t["white-card"],e.s(["enrolOpensNewTab",0,l,"enrolUrl",0,r],71901),e.s(["fillingFast",0,function(e){let t=e.findIndex(e=>0!==e.places);return e.map((e,s)=>0!==e.places&&(s===t||e.places>0&&e.places<=5))}],85007);var i=e.i(43476),o=e.i(22016),d=e.i(71645),c=e.i(21101);e.s(["default",0,function({items:e,buttonClass:t,defaultTime:s,courseId:n}){let[a,m]=(0,d.useState)("");if(0===e.length)return null;let x=e=>e.start_date.slice(0,10),u=[],h="none",p=!1,b=!1;if(a){let t=e.filter(e=>x(e)===a);if(t.length>0)u=t,h="exact";else{let t=e.filter(e=>x(e)<a),s=e.filter(e=>x(e)>a),n=t.length?x(t[t.length-1]):null,r=s.length?x(s[0]):null,l=n?t.filter(e=>x(e)===n):[],i=r?s.filter(e=>x(e)===r):[];p=l.length>0,b=i.length>0,h=(u=[...l,...i]).length>0?"nearest":"none"}}let g=p&&b?"No class on that exact date — here are the closest, before and after:":p?"No class on that date — the closest one we have is:":"No class on that date — the next available is:",f=new Set(u.map(e=>e.venue).filter(Boolean)).size>1;return(0,i.jsxs)("div",{className:"mt-4 rounded-xl border border-line bg-surface p-4",children:[(0,i.jsx)("p",{className:"text-sm font-semibold text-ink",children:"Need a later date?"}),(0,i.jsx)("p",{className:"mt-1 text-sm text-muted",children:"Pick a date further ahead to enrol."}),(0,i.jsxs)("div",{className:"mt-3 flex flex-wrap items-center gap-3",children:[(0,i.jsx)("input",{type:"date",value:a,min:e[0].start_date.slice(0,10),onChange:e=>m(e.target.value),"aria-label":"Preferred date",className:"rounded-lg border border-line bg-white px-3 py-2 text-sm font-medium text-ink outline-none focus:border-brand-500"}),a&&0===u.length&&(0,i.jsxs)(o.default,{href:"/contact",className:`inline-flex items-center gap-1.5 rounded-lg px-4 py-2.5 text-sm font-bold transition-colors ${t}`,children:["Request this date",(0,i.jsx)(c.ArrowRightIcon,{className:"h-4 w-4"})]})]}),"nearest"===h&&(0,i.jsx)("p",{className:"mt-3 text-sm text-muted",children:g}),u.length>0&&(0,i.jsx)("ul",{className:"mt-3 divide-y divide-line overflow-hidden rounded-lg border border-line bg-white",children:u.map(e=>(0,i.jsxs)("li",{className:"flex flex-wrap items-center justify-between gap-3 px-4 py-2.5 text-sm",children:[(0,i.jsxs)("span",{className:"font-semibold text-ink",children:[new Date(e.start_date).toLocaleDateString("en-AU",{timeZone:"Australia/Sydney",weekday:"short",day:"numeric",month:"short",year:"numeric"}),e.time??s?(0,i.jsxs)("span",{className:"font-normal text-muted",children:[" · ",e.time??s]}):null,f&&e.venue?(0,i.jsxs)("span",{className:"font-normal text-muted",children:[" · ",e.venue]}):null,null!=e.price_a?(0,i.jsxs)("span",{className:"font-normal text-muted",children:[" · $",e.price_a]}):null]}),0===e.places?(0,i.jsx)("span",{className:"rounded-lg border border-line bg-surface px-3 py-1.5 text-xs text-muted",children:"Fully booked"}):(0,i.jsxs)("a",{href:r(e,n),...l(n,e.start_date)?{target:"_blank",rel:"noopener noreferrer"}:{},className:`inline-flex items-center gap-1.5 rounded-lg px-4 py-2 text-xs font-bold transition-colors ${t}`,children:["Enrol now",(0,i.jsx)(c.ArrowRightIcon,{className:"h-4 w-4"})]})]},e.id))})]})}],16628)},3239,e=>{"use strict";var t=e.i(43476),s=e.i(71645),n=e.i(68033),a=e.i(21101),r=e.i(71901),l=e.i(85007),i=e.i(16628);
1e.s(["default",0,function({items:e,price:o,phone:d,buttonClass:c,dateLabel:m="Date",defaultTime:x,courseId:u}){let h=`tel:+61${d.replace(/\D/g,"")}`,[p,b]=(0,s.useState)(10);if(0===e.length)return(0,t.jsxs)("div",{className:"rounded-card border border-line bg-white p-8 text-center",children:[(0,t.jsx)("p",{className:"font-medium text-ink",children:"No upcoming sessions are listed online right now."}),(0,t.jsx)("p",{className:"mt-1 text-sm text-muted",children:"Call us and we'll find a date that works for you."}),(0,t.jsxs)("a",{href:h,className:`mt-4 inline-flex items-center gap-2 rounded-lg px-6 py-2.5 text-sm font-bold transition-colors ${c}`,children:[(0,t.jsx)(a.PhoneIcon,{className:"h-4 w-4"}),d]})]});let g=e.some(e=>e.venue),f=e.slice(0,p),y=(0,l.fillingFast)(f);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"overflow-hidden rounded-card border border-line bg-white",children:[(0,t.jsx)("div",{className:"hidden overflow-x-auto sm:block",children:(0,t.jsxs)("table",{className:"w-full text-sm",children:[(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{className:"border-b border-line bg-surface text-xs uppercase tracking-wider text-muted",children:[(0,t.jsx)("th",{className:"px-5 py-3 text-left font-bold",children:m}),(0,t.jsx)("th",{className:"px-5 py-3 text-left font-bold",children:"Time"}),g&&(0,t.jsx)("th",{className:"px-5 py-3 text-left font-bold",children:"Venue"}),(0,t.jsx)("th",{className:"px-5 py-3 text-left font-bold",children:"Price"}),(0,t.jsx)("th",{className:"px-5 py-3"})]})}),(0,t.jsx)("tbody",{children:f.map((e,s)=>{let{weekday:a,date:l}=(0,n.formatSessionDate)(e.start_date),i=e.time??x,d=0===e.places,m=y[s],h=e.price_a??o;return(0,t.jsxs)("tr",{className:`border-b border-line last:border-0 ${s%2?"bg-surface/40":"bg-white"}`,children:[(0,t.jsxs)("td",{className:"px-5 py-3.5 font-semibold text-ink",children:[a," ",l]}),(0,t.jsx)("td",{className:"px-5 py-3.5 text-body",children:i??"—"}),g&&(0,t.jsx)("td",{className:"px-5 py-3.5 text-body",children:e.venue??"—"}),(0,t.jsx)("td",{className:"px-5 py-3.5 font-bold text-ink",children:null!=h?`$${h}`:"—"}),(0,t.jsx)("td",{className:"px-5 py-3.5",children:(0,t.jsxs)("div",{className:"flex items-center justify-end gap-3",children:[m&&(0,t.jsx)("span",{className:"whitespace-nowrap rounded-lg border border-danger/30 bg-danger/5 px-2 py-1 text-xs font-semibold text-danger",children:"Filling fast"}),d?(0,t.jsx)("span",{className:"rounded-lg border border-line bg-surface px-3 py-2 text-xs text-muted",children:"Fully booked"}):(0,t.jsx)("a",{href:(0,r.enrolUrl)(e,u),...(0,r.enrolOpensNewTab)(u,e.start_date)?{target:"_blank",rel:"noopener noreferrer"}:{},className:`whitespace-nowrap rounded-lg px-4 py-2.5 text-xs font-bold transition-colors ${c}`,children:"Enrol now →"})]})})]},e.id)})})]})}),(0,t.jsx)("div",{className:"divide-y divide-line sm:hidden",children:f.map((e,s)=>{let{weekday:a,date:l}=(0,n.formatSessionDate)(e.start_date),i=e.time??x,d=0===e.places,m=y[s],h=e.price_a??o;return(0,t.jsxs)("div",{className:"p-4",children:[(0,t.jsxs)("div",{className:"flex items-start justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"font-bold text-ink",children:[a," ",l]}),(0,t.jsxs)("div",{className:"mt-0.5 text-sm text-muted",children:[i??"Time TBC",e.venue?` \xb7 ${e.venue}`:""]})]}),null!=h&&(0,t.jsxs)("span",{className:"text-xl font-extrabold text-ink",children:["$",h]})]}),m&&(0,t.jsx)("p",{className:"mt-2 inline-block rounded-lg border border-danger/30 bg-danger/5 px-2 py-1 text-xs font-semibold text-danger",children:"Filling fast"}),(0,t.jsx)("div",{className:"mt-3 flex justify-end",children:d?(0,t.jsx)("span",{className:"rounded-lg border border-line bg-surface px-3 py-1.5 text-xs text-muted",children:"Fully booked"}):(0,t.jsx)("a",{href:(0,r.enrolUrl)(e,u),...(0,r.enrolOpensNewTab)(u,e.start_date)?{target:"_blank",rel:"noopener noreferrer"}:{},className:`rounded-lg px-4 py-2.5 text-xs font-bold transition-colors ${c}`,children:"Enrol now →"})})]},e.id)})}),e.length>p&&(0,t.jsx)("button",{type:"button",onClick:()=>b(e=>e+10),className:"w-full border-t border-line px-5 py-3 text-sm font-bold text-brand-700 transition-colors hover:bg-surface",children:"Load more dates"})]}),(0,t.jsx)(i.default,{items:e,buttonClass:c,defaultTime:x,courseId:u})]})}])},80152,e=>{"use strict";e.s(["trackEnquirySubmitted",0,function(e){try{window.uetq=window.uetq||[],window.uetq.push("event","submit_lead_form",{})}catch{}try{window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"enquiry_submitted",course_code:e})}catch{}}])},13769,e=>{"use strict";var t=e.i(43476),s=e.i(71645),n=e.i(61664),a=e.i(80152);e.s(["default",0,function({courseCode:e,courseLabel:r,className:l,children:i}
1){let[o,d]=(0,s.useState)(!1),[c,m]=(0,s.useState)("idle"),[x,u]=(0,s.useState)("");async function h(t){t.preventDefault();let s=new FormData(t.currentTarget);if(s.get("website")?.trim())return;m("sending"),u("");let r=new URLSearchParams(window.location.search);try{let t=await fetch(`${n.PLATFORM_URL}/api/enquiry`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({courseCode:e,firstName:s.get("firstName"),lastName:s.get("lastName"),email:s.get("email"),phone:s.get("phone"),message:s.get("message"),gclid:r.get("gclid")??r.get("hs_gclid")??"",utm_source:r.get("utm_source")??"",utm_campaign:r.get("utm_campaign")??""})}),l=await t.json();if(!t.ok||!l.ok)throw Error(l.error||"Something went wrong — please call us instead.");(0,a.trackEnquirySubmitted)(e),m("sent")}catch(e){m("error"),u(e instanceof Error?e.message:"Something went wrong — please call us instead.")}}return(0,s.useEffect)(()=>{if(!o)return;let e=e=>"Escape"===e.key&&d(!1);return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[o]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{type:"button",onClick:()=>d(!0),className:l,children:i}),o&&(0,t.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/50 px-4",onClick:()=>d(!1),children:(0,t.jsx)("div",{role:"dialog","aria-modal":"true",onClick:e=>e.stopPropagation(),className:"w-full max-w-md rounded-card bg-white p-6 shadow-xl",children:"sent"===c?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h3",{className:"text-lg font-bold text-ink",children:"Thanks — check your inbox"}),(0,t.jsxs)("p",{className:"mt-2 text-sm text-body",children:["We've just sent you the ",r," course information. Reply to that email any time with questions."]}),(0,t.jsx)("button",{type:"button",onClick:()=>d(!1),className:"mt-5 rounded-lg bg-brand-700 px-4 py-2 text-sm font-bold text-white hover:bg-brand-800",children:"Close"})]}):(0,t.jsxs)("form",{onSubmit:h,className:"grid gap-3",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsxs)("h3",{className:"text-lg font-bold text-ink",children:["Get the ",r," course info"]}),(0,t.jsx)("button",{type:"button",onClick:()=>d(!1),"aria-label":"Close",className:"text-xl leading-none text-muted hover:text-ink",children:"×"})]}),(0,t.jsx)("p",{className:"text-sm text-body",children:"We'll email you the brochure, fees and next start dates straight away."}),(0,t.jsx)("input",{type:"text",name:"website",tabIndex:-1,autoComplete:"off",className:"hidden","aria-hidden":"true"}),(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-3",children:[(0,t.jsx)("input",{name:"firstName",required:!0,placeholder:"First name",className:"rounded-lg border border-line px-3 py-2 text-sm text-ink bg-white"}),(0,t.jsx)("input",{name:"lastName",placeholder:"Last name",className:"rounded-lg border border-line px-3 py-2 text-sm text-ink bg-white"})]}),(0,t.jsx)("input",{name:"email",type:"email",required:!0,placeholder:"Email",className:"rounded-lg border border-line px-3 py-2 text-sm text-ink bg-white"}),(0,t.jsx)("input",{name:"phone",type:"tel",placeholder:"Phone (optional)",className:"rounded-lg border border-line px-3 py-2 text-sm text-ink bg-white"}),(0,t.jsx)("textarea",{name:"message",rows:2,placeholder:"Anything you'd like to ask? (optional)",className:"rounded-lg border border-line px-3 py-2 text-sm text-ink bg-white"}),"error"===c&&(0,t.jsx)("p",{className:"text-sm text-red-600",children:x}),(0,t.jsx)("button",{type:"submit",disabled:"sending"===c,className:"mt-1 rounded-lg bg-brand-700 px-4 py-2.5 text-sm font-bold text-white hover:bg-brand-800 disabled:opacity-60",children:"sending"===c?"Sending…":"Send me the info"}),(0,t.jsxs)("p",{className:"text-xs text-muted",children:["No obligation."," ",(0,t.jsx)("a",{href:"/privacy-policy",className:"underline hover:text-ink",children:"Privacy policy"}),"."]})]})})})]})}])},59067,e=>{"use strict";var t=e.i(43476),s=e.i(71645),n=e.i(61664),a=e.i(80152);e.s(["default",0,function({courseCode:e,courseLabel:r,callbackUrl:l,className:i,children:o}
1){let[d,c]=(0,s.useState)(!1),[m,x]=(0,s.useState)("idle"),[u,h]=(0,s.useState)("");async function p(t){t.preventDefault();let s=new FormData(t.currentTarget);if(s.get("website")?.trim())return;x("sending"),h("");let r=new URLSearchParams(window.location.search);try{let t=await fetch(`${n.PLATFORM_URL}/api/enquiry`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({courseCode:e,firstName:s.get("firstName"),lastName:s.get("lastName"),email:s.get("email"),phone:s.get("phone"),source:"callback",gclid:r.get("gclid")??r.get("hs_gclid")??"",utm_source:r.get("utm_source")??"",utm_campaign:r.get("utm_campaign")??""})}),l=await t.json();if(!t.ok||!l.ok)throw Error(l.error||"Something went wrong — please call us instead.");(0,a.trackEnquirySubmitted)(e),x("sent")}catch(e){x("error"),h(e instanceof Error?e.message:"Something went wrong — please call us instead.")}}return(0,s.useEffect)(()=>{if(!d)return;let e=e=>"Escape"===e.key&&c(!1);return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[d]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{type:"button",onClick:()=>c(!0),className:i,children:o}),d&&(0,t.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/50 px-4",onClick:()=>c(!1),children:(0,t.jsx)("div",{role:"dialog","aria-modal":"true",onClick:e=>e.stopPropagation(),className:"w-full max-w-md rounded-card bg-white p-6 shadow-xl",children:"sent"===m?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h3",{className:"text-lg font-bold text-ink",children:"You're almost there"}),(0,t.jsxs)("p",{className:"mt-2 text-sm text-body",children:["We've just emailed you the ",r," ","course information. Now pick a time that suits you and we'll call you then."]}),(0,t.jsx)("a",{href:l,target:"_blank",rel:"noopener noreferrer",className:"mt-5 inline-flex rounded-lg bg-brand-700 px-4 py-2 text-sm font-bold text-white hover:bg-brand-800",children:"Book your time →"}),(0,t.jsx)("button",{type:"button",onClick:()=>c(!1),className:"mt-3 block text-sm font-semibold text-muted hover:text-ink",children:"Close"})]}):(0,t.jsxs)("form",{onSubmit:p,className:"grid gap-3",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsxs)("h3",{className:"text-lg font-bold text-ink",children:["Get a callback about ",r]}),(0,t.jsx)("button",{type:"button",onClick:()=>c(!1),"aria-label":"Close",className:"text-xl leading-none text-muted hover:text-ink",children:"×"})]}),(0,t.jsx)("p",{className:"text-sm text-body",children:"Leave your details and we'll email you the course info now — then you can pick a time that suits you."}),(0,t.jsx)("input",{type:"text",name:"website",tabIndex:-1,autoComplete:"off",className:"hidden","aria-hidden":"true"}),(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-3",children:[(0,t.jsx)("input",{name:"firstName",required:!0,placeholder:"First name",className:"rounded-lg border border-line px-3 py-2 text-sm text-ink bg-white"}),(0,t.jsx)("input",{name:"lastName",placeholder:"Last name",className:"rounded-lg border border-line px-3 py-2 text-sm text-ink bg-white"})]}),(0,t.jsx)("input",{name:"email",type:"email",required:!0,placeholder:"Email",className:"rounded-lg border border-line px-3 py-2 text-sm text-ink bg-white"}),(0,t.jsx)("input",{name:"phone",type:"tel",placeholder:"Phone (optional)",className:"rounded-lg border border-line px-3 py-2 text-sm text-ink bg-white"}),"error"===m&&(0,t.jsx)("p",{className:"text-sm text-red-600",children:u}),(0,t.jsx)("button",{type:"submit",disabled:"sending"===m,className:"mt-1 rounded-lg bg-brand-700 px-4 py-2.5 text-sm font-bold text-white hover:bg-brand-800 disabled:opacity-60",children:"sending"===m?"Sending…":"Continue to book a time"}),(0,t.jsxs)("p",{className:"text-xs text-muted",children:["No obligation."," ",(0,t.jsx)("a",{href:"/privacy-policy",className:"underline hover:text-ink",children:"Privacy policy"}),"."]})]})})})]})}])},48076,e=>{"use strict";var t=e.i(43476),s=e.i(71645),n=e.i(61664),a=e.i(80152);e.s(["default",0,function({courseCode:e,courseLabel:r,className:l,children:i}
1){let[o,d]=(0,s.useState)(!1),[c,m]=(0,s.useState)("idle"),[x,u]=(0,s.useState)("");async function h(t){t.preventDefault();let s=new FormData(t.currentTarget);if(s.get("website")?.trim())return;m("sending"),u("");let r=new URLSearchParams(window.location.search);try{let t=await fetch(`${n.PLATFORM_URL}/api/enquiry`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({courseCode:e,firstName:s.get("firstName"),lastName:s.get("lastName"),email:s.get("email"),phone:s.get("phone"),message:s.get("message"),source:"question",gclid:r.get("gclid")??r.get("hs_gclid")??"",utm_source:r.get("utm_source")??"",utm_campaign:r.get("utm_campaign")??""})}),l=await t.json();if(!t.ok||!l.ok)throw Error(l.error||"Something went wrong — please call us instead.");(0,a.trackEnquirySubmitted)(e),m("sent")}catch(e){m("error"),u(e instanceof Error?e.message:"Something went wrong — please call us instead.")}}return(0,s.useEffect)(()=>{if(!o)return;let e=e=>"Escape"===e.key&&d(!1);return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[o]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{type:"button",onClick:()=>d(!0),className:l,children:i}),o&&(0,t.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/50 px-4",onClick:()=>d(!1),children:(0,t.jsx)("div",{role:"dialog","aria-modal":"true",onClick:e=>e.stopPropagation(),className:"w-full max-w-md rounded-card bg-white p-6 shadow-xl",children:"sent"===c?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h3",{className:"text-lg font-bold text-ink",children:"Thanks — we've got your question"}),(0,t.jsx)("p",{className:"mt-2 text-sm text-body",children:"We'll reply by email shortly, usually within a business day."}),(0,t.jsx)("button",{type:"button",onClick:()=>d(!1),className:"mt-5 rounded-lg bg-brand-700 px-4 py-2 text-sm font-bold text-white hover:bg-brand-800",children:"Close"})]}):(0,t.jsxs)("form",{onSubmit:h,className:"grid gap-3",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsxs)("h3",{className:"text-lg font-bold text-ink",children:["Ask us about ",r]}),(0,t.jsx)("button",{type:"button",onClick:()=>d(!1),"aria-label":"Close",className:"text-xl leading-none text-muted hover:text-ink",children:"×"})]}),(0,t.jsx)("p",{className:"text-sm text-body",children:"Ask anything about the course, dates or fees — we'll reply by email."}),(0,t.jsx)("input",{type:"text",name:"website",tabIndex:-1,autoComplete:"off",className:"hidden","aria-hidden":"true"}),(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-3",children:[(0,t.jsx)("input",{name:"firstName",required:!0,placeholder:"First name",className:"rounded-lg border border-line px-3 py-2 text-sm text-ink bg-white"}),(0,t.jsx)("input",{name:"lastName",placeholder:"Last name",className:"rounded-lg border border-line px-3 py-2 text-sm text-ink bg-white"})]}),(0,t.jsx)("input",{name:"email",type:"email",required:!0,placeholder:"Email",className:"rounded-lg border border-line px-3 py-2 text-sm text-ink bg-white"}),(0,t.jsx)("input",{name:"phone",type:"tel",placeholder:"Phone (optional)",className:"rounded-lg border border-line px-3 py-2 text-sm text-ink bg-white"}),(0,t.jsx)("textarea",{name:"message",required:!0,rows:3,placeholder:"Your question",className:"rounded-lg border border-line px-3 py-2 text-sm text-ink bg-white"}),"error"===c&&(0,t.jsx)("p",{className:"text-sm text-red-600",children:x}),(0,t.jsx)("button",{type:"submit",disabled:"sending"===c,className:"mt-1 rounded-lg bg-brand-700 px-4 py-2.5 text-sm font-bold text-white hover:bg-brand-800 disabled:opacity-60",children:"sending"===c?"Sending…":"Send my question"}),(0,t.jsxs)("p",{className:"text-xs text-muted",children:["No obligation."," ",(0,t.jsx)("a",{href:"/privacy-policy",className:"underline hover:text-ink",children:"Privacy policy"}),"."]})]})})})]})}])}]);

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.