1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,54940,e=>{"use strict";var i=e.i(44326),a=e.i(27809),t=e.i(36204),r=e.i(20519),n=e.i(75679);let s=["Product demos","Onboarding and support","Both demos and customer guidance","Iâm still exploring"];e.s(["default",0,function(){let[e,o]=(0,a.useState)("idle"),[l,u]=(0,a.useState)(""),c=async e=>{e.preventDefault();let i=e.currentTarget;if(!i.reportValidity())return;let a=new FormData(i),t=e=>String(a.get(e)??"").trim(),s=t("name"),l=t("email"),c=t("company"),m=t("usecase"),d=t("message"),h=l.split("@")[1]||"";o("submitting"),u("");try{let e=await fetch("https://app.raykolabs.com/api/pricing-inquiry",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:s,email:l,company:c,useCase:m,message:d,source:"website"})}),i=await e.json().catch(()=>({}));if(!e.ok)throw Error(i.error||"Failed to submit enquiry");(0,n.trackEvent)("pricing_inquiry_submit",{email_domain:h,has_company:!!c,use_case:m}),r.rayko.identify(l,{email:l,name:s,company:c}),r.rayko.track("pricing_inquiry_submitted",{email_domain:h,use_case:m,source:"website"}),o("sent")}catch(e){u(e instanceof Error?e.message:"Something went wrong. Please try again."),o("error")}};if("sent"===e)return(0,i.jsxs)("div",{className:"enquiry-form enquiry-sent",role:"status",children:[(0,i.jsx)("span",{className:"eyebrow",children:"ENQUIRY RECEIVED"}),(0,i.jsx)("h2",{children:"Thank you."}),(0,i.jsx)("p",{children:"Our team will be in touch with you shortly to talk about your product and pricing."})]});let m="submitting"===e;return(0,i.jsxs)("form",{className:"enquiry-form",id:"pricing-enquiry",onSubmit:c,children:[(0,i.jsxs)("div",{className:"enquiry-grid",children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("label",{htmlFor:"name",children:"Your name"}),(0,i.jsx)("input",{autoComplete:"name",id:"name",maxLength:120,name:"name",required:!0})]}),(0,i.jsxs)("div",{children:[(0,i.jsx)("label",{htmlFor:"email",children:"Work email"}),(0,i.jsx)("input",{autoComplete:"email",id:"email",maxLength:254,name:"email",required:!0,type:"email"})]})]}),(0,i.jsx)("label",{htmlFor:"company",children:"Company"}),(0,i.jsx)("input",{autoComplete:"organization",id:"company",maxLength:160,name:"company",required:!0}),(0,i.jsx)("label",{htmlFor:"usecase",children:"What would you like Rayko to help with?"}),(0,i.jsxs)("select",{defaultValue:"",id:"usecase",name:"usecase",required:!0,children:[(0,i.jsx)("option",{value:"",children:"Select an option"}),s.map(e=>(0,i.jsx)("option",{children:e},e))]}),(0,i.jsxs)("label",{htmlFor:"message",children:["Anything else we should know? ",(0,i.jsx)("span",{children:"(optional)"})]}),(0,i.jsx)("textarea",{id:"message",maxLength:2e3,name:"message",placeholder:"Tell us about your product, audience, or expected usage.",rows:4}),(0,i.jsx)("button",{className:"button primary",disabled:m,type:"submit",children:m?"Sendingâ¦":"Send enquiry"}),(0,i.jsxs)("p",{className:"form-note",children:["Read our ",(0,i.jsx)(t.default,{href:"/privacy",children:"Privacy Policy"}),"."]}),(0,i.jsx)("p",{id:"enquiry-status",role:"status",children:"error"===e&&l})]})}],54940)}]);
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.