1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,481293,e=>{"use strict";var t=e.i(477846),r=e.i(776159);let a=(0,t.default)({projectId:r.projectId,dataset:r.dataset});e.s(["urlFor",0,e=>a.image(e)])},251161,e=>{"use strict";var t,r,a=e.i(502102),i=e.i(668110);e.i(746805);var n={exports:{}},s={},l=(r||(r=1,n.exports=function(){if(t)return s;t=1;var e=Symbol.for("react.transitional.element");function r(t,r,a){var i=null;if(void 0!==a&&(i=""+a),void 0!==r.key&&(i=""+r.key),"key"in r)for(var n in a={},r)"key"!==n&&(a[n]=r[n]);else a=r;return{$$typeof:e,type:t,key:i,ref:void 0!==(r=a.ref)?r:null,props:a}}return s.Fragment=Symbol.for("react.fragment"),s.jsx=r,s.jsxs=r,s}()),n.exports);function o(e,t){if(!e)throw Error("Invariant failed")}function d(e){return e.naturalHeight/e.naturalWidth}var c=e.i(647163),u=e.i(481293),m=e.i(558249);let x=e=>{var t;let r,{aspectRatio:a="taller",handle:n=null,handleSize:s=40,hover:c=!1,leftImage:u,leftImageAlt:m="",leftImageCss:x={},leftImageLabel:f=null,onSliderPositionChange:h,rightImage:g,rightImageAlt:p="",rightImageCss:b={},rightImageLabel:v=null,skeleton:y=null,sliderLineColor:j="#ffffff",sliderLineWidth:w=2,sliderPositionPercentage:N=.5,vertical:_=!1}=e,k=!_,[S,C]=(0,i.useState)(N),[E,L]=(0,i.useState)(!1),[$,F]=(0,i.useState)(0),[I,P]=(0,i.useState)(0),R=(t=e=>F(e),r=(0,i.useRef)(null),(0,i.useLayoutEffect)(()=>{if(!r.current)return;let e=new ResizeObserver(e=>{o(e[0],"ResizeObserver should have at least one entry"),t(e[0].contentRect.width)});return e.observe(r.current),t(r.current.getBoundingClientRect().width),()=>{e.disconnect()}},[t]),r),O=(0,i.useRef)(null),T=(0,i.useRef)(null),[A,H]=(0,i.useState)(!1),D=(0,i.useCallback)(()=>{T.current?.complete&&O.current?.complete&&H(!0)},[]);(0,i.useEffect)(()=>(D(),()=>{H(!1)}),[u,g,D]),(0,i.useEffect)(()=>{var e,t;T.current&&O.current&&0!==$&&A&&P((e=d(T.current),t=d(O.current),$*("taller"===a?Math.max(e,t):Math.min(e,t))))},[$,A,a]),(0,i.useEffect)(()=>{if(!R.current||!A)return;let e=e=>{let t,r;if(!R.current)return;let a=R.current.getBoundingClientRect();if(e instanceof TouchEvent){let a=e.touches[0];o(a),t=a.clientX,r=a.clientY}else t=e.clientX,r=e.clientY;let i=k?t-a.left:r-a.top,n=w/2,s=k?$-n:I-n,l=Math.min(Math.max(i,n),s)/(k?$:I);C(l),h?.(l)},t=t=>{L(!0),"touches"in t||t.preventDefault(),e(t),window.addEventListener("mousemove",e),window.addEventListener("touchmove",e)},r=()=>{L(!1),window.removeEventListener("mousemove",e),window.removeEventListener("touchmove",e)},a=R.current;return a.addEventListener("touchstart",t),window.addEventListener("touchend",r),c?(a.addEventListener("mousemove",e),a.addEventListener("mouseleave",r)):(a.addEventListener("mousedown",t),window.addEventListener("mouseup",r)),()=>{a.removeEventListener("touchstart",t),window.removeEventListener("touchend",r),a.removeEventListener("mousemove",e),a.removeEventListener("mouseleave",r),a.removeEventListener("mousedown",t),window.removeEventListener("mouseup",r),window.removeEventListener("mousemove",e),window.removeEventListener("touchmove",e)}},[A,a,I,$,k,c,w,R]);let z={container:{boxSizing:"border-box",position:"relative",width:"100%",height:`${I}px`,overflow:"hidden"},rightImage:{clipPath:k?`inset(0px 0px 0px ${$*S}px)`:`inset(${I*S}px 0px 0px 0px)`,display:"block",height:"100%",objectFit:"cover",position:"absolute",width:"100%",...b},leftImage:{clipPath:k?`inset(0px ${$*(1-S)}px 0px 0px)`:`inset(0px 0px ${I*(1-S)}px 0px)`,display:"block",height:"100%",objectFit:"cover",position:"absolute",width:"100%",...x},slider:{alignItems:"center",display:"flex",justifyContent:"center",position:"absolute",...k?{cursor:"ew-resize",flexDirection:"column",height:"100%",left:`${$*S-s/2}px`,top:0,width:`${s}px`}:{cursor:"ns-resize",flexDirection:"row",height:`${s}px`,left:0,top:`${I*S-s/2}px`,width:"100%"}},line:{background:j,boxShadow:"0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)",flex:"0 1 auto",height:k?"100%":`${w}px`,width:k?`${w}px`:"100%"},handleCustom:{alignItems:"center",boxSizing:"border-box",display:"flex",flex:"1 0 auto",height:"auto",justifyContent:"center",width:"auto"},handleDefault:{alignItems:"center",border:`${w}px solid ${j}`,borderRadius:"100%",boxShadow:"0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)",boxSizing:"border-box",display:"flex",flex:"1 0 auto",height:`${s}px`,justifyContent:"center",width:`${s}px`,transform:k?"none":"rotate(90deg)"},leftArrow:{border:`inset ${.15*s}px rgba(0,0,0,0)`,borderRight:`${.15*s}px solid ${j}
1`,height:"0px",marginLeft:`-${.25*s}px`,marginRight:`${.25*s}px`,width:"0px"},rightArrow:{border:`inset ${.15*s}px rgba(0,0,0,0)`,borderLeft:`${.15*s}px solid ${j}`,height:"0px",marginRight:`-${.25*s}px`,width:"0px"},leftLabel:{background:"rgba(0, 0, 0, 0.5)",color:"white",left:k?"5%":"50%",opacity:+!E,padding:"10px 20px",position:"absolute",top:k?"50%":"3%",transform:k?"translate(0,-50%)":"translate(-50%, 0)",transition:"opacity 0.1s ease-out"},rightLabel:{background:"rgba(0, 0, 0, 0.5)",color:"white",opacity:+!E,padding:"10px 20px",position:"absolute",...k?{right:"5%",top:"50%",transform:"translate(0,-50%)"}:{left:"50%",bottom:"3%",transform:"translate(-50%, 0)"},transition:"opacity 0.1s ease-out"},leftLabelContainer:{clipPath:k?`inset(0px ${$*(1-S)}px 0px 0px)`:`inset(0px 0px ${I*(1-S)}px 0px)`,height:"100%",position:"absolute",width:"100%"},rightLabelContainer:{clipPath:k?`inset(0px 0px 0px ${$*S}px)`:`inset(${I*S}px 0px 0px 0px)`,height:"100%",position:"absolute",width:"100%"}};return l.jsxs(l.Fragment,{children:[y&&!A&&l.jsx("div",{style:{...z.container},children:y}),l.jsxs("div",{style:{...z.container,display:A?"block":"none"},ref:R,"data-testid":"container",children:[l.jsx("img",{onLoad:()=>D(),alt:p,"data-testid":"right-image",ref:O,src:g,style:z.rightImage}),l.jsx("img",{onLoad:()=>D(),alt:m,"data-testid":"left-image",ref:T,src:u,style:z.leftImage}),l.jsxs("div",{style:z.slider,children:[l.jsx("div",{style:z.line}),n?l.jsx("div",{style:z.handleCustom,children:n}):l.jsxs("div",{style:z.handleDefault,children:[l.jsx("div",{style:z.leftArrow}),l.jsx("div",{style:z.rightArrow})]}),l.jsx("div",{style:z.line})]}),f&&l.jsx("div",{style:z.leftLabelContainer,children:l.jsx("div",{style:z.leftLabel,children:f})}),v&&l.jsx("div",{style:z.rightLabelContainer,children:l.jsx("div",{style:z.rightLabel,children:v})})]})]})},f=i.default.forwardRef(({beforeImage:e,afterImage:t,beforeLabel:r,afterLabel:n,className:s,...l},o)=>{let d=i.default.useRef(!1);if(!e?.asset?._ref||!t?.asset?._ref)return null;try{let i=(0,u.urlFor)(e).width(1200).height(800).fit("max").auto("format").url(),f=(0,u.urlFor)(t).width(1200).height(800).fit("max").auto("format").url();if(!i||!f)return null;return(0,a.jsx)("div",{ref:o,className:(0,c.cn)("w-full",s),...l,children:(0,a.jsx)(x,{leftImage:i,rightImage:f,leftImageLabel:r,rightImageLabel:n,sliderLineColor:"#ffffff",sliderLineWidth:2,handleSize:40,onSliderPositionChange:e=>{d.current||(d.current=!0,(0,m.trackEvent)("comparison_slider_interaction",{slider_position:Number(e.toFixed(2)),before_label:r,after_label:n}))}})})}catch(e){return console.error("Error rendering comparison slider",e),null}});f.displayName="ComparisonSlider",e.s(["ComparisonSlider",0,f],251161)},575003,e=>{"use strict";var t=e.i(502102),r=e.i(668110),a=e.i(647163);let i=r.default.forwardRef(({className:e,children:r,...i},n)=>(0,t.jsx)("div",{ref:n,className:(0,a.cn)("mx-auto max-w-7xl px-4 sm:px-6 lg:px-8",e),...i,children:r}));i.displayName="Container",e.s(["Container",0,i])},982016,e=>{"use strict";var t=e.i(502102),r=e.i(668110),a=e.i(647163);let i={1:"text-4xl sm:text-5xl lg:text-6xl font-semibold",2:"text-3xl sm:text-4xl lg:text-5xl font-semibold",3:"text-2xl sm:text-3xl lg:text-4xl font-semibold",4:"text-xl sm:text-2xl lg:text-3xl font-semibold",5:"text-lg sm:text-xl lg:text-2xl font-semibold",6:"text-base sm:text-lg lg:text-xl font-semibold"},n={1:"h1",2:"h2",3:"h3",4:"h4",5:"h5",6:"h6"},s=r.default.forwardRef(({level:e=1,align:r="left",className:s,children:l,...o},d)=>{let c=n[e];return(0,t.jsx)(c,{ref:d,className:(0,a.cn)(i[e],{left:"text-left",center:"text-center",right:"text-right"}[r],"text-neutral-900 tracking-tight",s),...o,children:l})});s.displayName="Heading",e.s(["Heading",0,s])},676525,e=>{"use strict";var t=e.i(502102),r=e.i(668110),a=e.i(647163);let i="font-medium px-5 py-3 rounded-lg transition focus:outline-none focus:ring-2 focus:ring-offset-2",n={primary:"bg-primary-600 hover:bg-primary-700 text-white focus:ring-primary-500",secondary:"bg-accent-500 hover:bg-accent-600 text-white focus:ring-accent-500",outline:"border border-primary-600 text-primary-600 hover:bg-primary-50 focus:ring-primary-500"},s=r.default.forwardRef((e,r)=>{if("a"===e.as){let{variant:s="primary",className:l,children:o,as:d,...c}=e;return(0,t.jsx)("a",{ref:r,className:(0,a.cn)(i,n[s],l),...c,children:o})}let{variant:s="primary",className:l,children:o,as:d,...c}=e;return(0,t.jsx)("button",{ref:r,className:(0,a.cn)(i,n[s],l),...c,children:o})});s.displayName="Button",e.s(["Button",0,s])},511956,e=>{"use strict";var t=e.i(668110);function r(e={}){let{threshold:a=.1,rootMargin:i="0px",triggerOnce:n=!0}=e,[s,l]=(0,t.useState)(!1),o=(0,t.useRef)(null);return(0,t.useEffect)(()=>{let e=o.current;if(!e||s&&n)return;let t=new IntersectionObserver(r=>{r.forEach(r=>{r.isIntersecting?(l(!0),n&&t.unobserve(e)):n||l(!1)})},{threshold:a,rootMargin:i});return t.observe(e),()=>{t.disconnect()}},[a,i,n]),[o,s]}e.s(["useIntersectionObserver",()=>r])},367453,e=>{"use strict";var t=e.i(502102),r=e.i(647163),a=e.i(575003),i=e.i(982016),n=e.i(676525),s=e.i(606188),l=e.i(511956);e.s(["CTASection",0,({heading:e,subtext:o,cta:d,className:c})=>{let[u,m]=(0,l.useIntersectionObserver)({threshold:.15,rootMargin:"0px",triggerOnce:!0});return(0,t.jsx)("section",{className:(0,r.cn)("py-8 sm:py-16",c),children:(0,t.jsx)(a.Container,{children:(0,t.jsxs)("div",{className:"text-center max-w-3xl mx-auto",children:[e&&(0,t.jsx)(i.Heading,{level:2,align:"center",className:(0,r.cn)("mb-4",m?"animate-[fade-in-slide-up_0.6s_ease-out_forwards]":"opacity-0","will-change-transform"),ref:u,children:e}),o&&(0,t.jsx)("p",{className:"text-lg text-neutral-600 mb-8",children:o}),(0,t.jsx)(s.LinkComponent,{link:d.link,analyticsLabel:d.text,analyticsCategory:"cta_section",analyticsData:{section_heading:e,section_type:"cta_section"},children:(0,t.jsx)(n.Button,{variant:"primary",children:d.text})})]})})})}])},370476,e=>{"use strict";var t=e.i(502102),r=e.i(668110),a=e.i(647163);let i=r.default.forwardRef(({bg:e="white",className:r,children:i,style:n,...s},l)=>{let o=n?.backgroundColor;return(0,t.jsx)("section",{ref:l,className:(0,a.cn)("py-8 sm:py-16",o?void 0:({white:"bg-white",gray:"bg-neutral-50",primary:"bg-primary-600",accent:"bg-accent-500"})[e],r),style:n,...s,children:i})});i.displayName="Section",e.s(["Section",0,i])},498780,e=>{"use strict";var t=e.i(502102),r=e.i(668110),a=e.i(676525),i=e.i(575003),n=e.i(982016),s=e.i(370476),l=e.i(558249);let o=/^[^\s@]+@[^\s@]+\.[^\s@]+$/,d=/^[\d\s\-\(\)]+$/;function c({section:e,index:c}){let[u,m]=(0,r.useState)(""),[x,f]=(0,r.useState)(""),[h,g]=(0,r.useState)(""),[p,b]=(0,r.useState)(""),[v,y]=(0,r.useState)({}),[j,w]=(0,r.useState)(!1),[N,_]=(0,r.useState)(!1),[k,S]=(0,r.useState)(!1),C=t=>{k||(S(!0),(0,l.trackFormEvent)("lead_form","start",{field:t,section_heading:e.heading,section_index:c}))},E={section_heading:e.heading,section_index:c},L=async t=>{if(t.preventDefault(),y({}),(()=>{let e={};if((u.trim()||(e.address="Address is required"),x.trim()||(e.fullName="Full name is required"),h.trim())?o.test(h)||(e.email="Please enter a valid email address"):e.email="Email is required",p.trim()){let t;(t=p.replace(/\D/g,"")).length>=10&&t.length<=15&&d.test(p)||(e.phone="Please enter a valid phone number")}else e.phone="Phone number is required";return y(e),!(Object.keys(e).length>0)||((0,l.trackFormEvent)("lead_form","validation_error",{fields:Object.keys(e).join(","),...E}),!1)})()){if((0,l.trackFormEvent)("lead_form","submit_attempt",{...E}),!e.destinationEmail){console.error("Destination email is not configured"),(0,l.trackFormEvent)("lead_form","submit_failure",{reason:"missing_destination_email",...E});return}w(!0);try{let t=await fetch("/api/lead-form",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({address:u.trim(),fullName:x.trim(),email:h.trim(),phone:p.trim(),destinationEmail
1:e.destinationEmail})}),r=await t.json();if(!t.ok){"Invalid email format"===r.error?y({email:"Please enter a valid email address"}):"Invalid phone number format"===r.error?y({phone:"Please enter a valid phone number"}):y({email:r.error||"An error occurred. Please try again."}),(0,l.trackFormEvent)("lead_form","submit_failure",{reason:r.error||"unknown_error",...E}),w(!1);return}_(!0),(0,l.trackFormEvent)("lead_form","submit_success",{...E})}catch(e){console.error("Error submitting form:",e),y({email:"An error occurred. Please try again."}),(0,l.trackFormEvent)("lead_form","submit_failure",{reason:"network_error",...E}),w(!1)}}};return N?(0,t.jsx)(s.Section,{bg:"white",children:(0,t.jsx)(i.Container,{className:"max-w-4xl",children:(0,t.jsxs)("div",{className:"flex min-h-[200px] flex-col justify-center text-center",children:[e.successHeading?(0,t.jsx)(n.Heading,{level:3,align:"center",className:"mb-4 font-bold text-neutral-800",children:e.successHeading}):null,e.successSubtext?(0,t.jsx)("p",{className:"text-center text-lg text-neutral-600",children:e.successSubtext}):null]})})},`lead-form-${c}`):(0,t.jsx)(s.Section,{bg:"white",children:(0,t.jsxs)(i.Container,{className:"max-w-4xl",children:[e.heading?(0,t.jsx)(n.Heading,{level:2,className:"text-neutral-800",children:e.heading}):null,(0,t.jsxs)("form",{onSubmit:L,className:"mt-8 grid gap-6",children:[(0,t.jsxs)("label",{className:"block",children:[(0,t.jsx)("span",{className:"text-sm font-semibold text-neutral-700",children:e.addressLabel??"Property Address"}),(0,t.jsx)("input",{type:"text",name:"address",value:u,onChange:e=>m(e.target.value),className:`mt-2 w-full rounded-lg border bg-white px-4 py-3 text-neutral-800 placeholder-neutral-400 focus:outline-none focus:ring-2 ${v.address?"border-red-500 focus:border-red-500 focus:ring-red-200":"border-neutral-200 focus:border-primary-500 focus:ring-primary-200"}`,placeholder:e.addressLabel??"Enter your address",disabled:j,onFocus:()=>C("address")}),v.address?(0,t.jsx)("p",{className:"mt-1 text-sm text-red-500",children:v.address}):null]}),(0,t.jsxs)("div",{className:"grid gap-6 md:grid-cols-3",children:[(0,t.jsxs)("label",{className:"block",children:[(0,t.jsx)("span",{className:"text-sm font-semibold text-neutral-700",children:e.fullNameLabel??"Full Name"}),(0,t.jsx)("input",{type:"text",name:"fullName",value:x,onChange:e=>f(e.target.value),className:`mt-2 w-full rounded-lg border bg-white px-4 py-3 text-neutral-800 placeholder-neutral-400 focus:outline-none focus:ring-2 ${v.fullName?"border-red-500 focus:border-red-500 focus:ring-red-200":"border-neutral-200 focus:border-primary-500 focus:ring-primary-200"}`,placeholder:e.fullNameLabel??"John Doe",disabled:j,onFocus:()=>C("fullName")}),v.fullName?(0,t.jsx)("p",{className:"mt-1 text-sm text-red-500",children:v.fullName}):null]}),(0,t.jsxs)("label",{className:"block",children:[(0,t.jsx)("span",{className:"text-sm font-semibold text-neutral-700",children:e.emailLabel??"Email"}),(0,t.jsx)("input",{type:"email",name:"email",value:h,onChange:e=>g(e.target.value),className:`mt-2 w-full rounded-lg border bg-white px-4 py-3 text-neutral-800 placeholder-neutral-400 focus:outline-none focus:ring-2 ${v.email?"border-red-500 focus:border-red-500 focus:ring-red-200":"border-neutral-200 focus:border-primary-500 focus:ring-primary-200"}`,placeholder:e.emailLabel??"[email protected]",disabled:j,onFocus:()=>C("email")}),v.email?(0,t.jsx)("p",{className:"mt-1 text-sm text-red-500",children:v.email}):null]}),(0,t.jsxs)("label",{className:"block",children:[(0,t.jsx)("span",{className:"text-sm font-semibold text-neutral-700",children:e.phoneLabel??"Phone"}),(0,t.jsx)("input",{type:"tel",name:"phone",value:p,onChange:e=>b(e.target.value),className:`mt-2 w-full rounded-lg border bg-white px-4 py-3 text-neutral-800 placeholder-neutral-400 focus:outline-none focus:ring-2 ${v.phone?"border-red-500 focus:border-red-500 focus:ring-red-200":"border-neutral-200 focus:border-primary-500 focus:ring-primary-200"}`,placeholder:e.phoneLabel??"(555) 000-0000",disabled:j,onFocus:()=>C("phone")}),v.phone?(0,t.jsx)("p",{className:"mt-1 text-sm text-red-500",children:v.phone}):null]})]}),(0,t.jsx)(a.Button,{variant:"secondary",type:"submit",className:"self-start",disabled:j,children:j?"Submitting...":e.buttonLabel??"Discuss My Option"})]})]})},`lead-form-${c}`)}e.s(["LeadForm",()=>c])},873784,e=>{"use strict";var t=e.i(502102),r=e.i(668110),a=e.i(676525),i=e.i(575003),n=e.i(982016),s=e.i(370476),l=e.i(558249);let o=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;function d({section:e,index:d}){let[c,u]=(0,r.useState)(""),[m,x]=(0,r.useState)(""),[f,h]=(0,r.useState)(""),[g,p]=(0,r.useState)({}),[b,v]=(0,r.useState)(!1),[y,j]=(0,r.useState)(!1),[w,N]=(0,r.useState)(!1),_={section_heading:e.heading,section_index:d},k=e=>{w||(N(!0),(0,l.trackFormEvent)("general_form","start",{field:e,..._}))},S=async t=>{if(t.preventDefault(),p({}),(()=>{let e={};if(c.trim()||(e.name="Name is required"),m.trim())o.test(m)||(e.email="Please enter a valid email address");else e.email="Email is required";return f.trim()||(e.message="Message is required"),p(e),!(Object.keys(e).length>0)||((0,l.trackFormEvent)("general_form","validation_error",{fields:Object.keys(e).join(","),..._}),!1)})()){if((0,l.trackFormEvent)("general_form","submit_attempt",{..._}),!e.destinationEmail){console.error("Destination email is not configured"),(0,l.trackFormEvent)("general_form","submit_failure",{reason:"missing_destination_email",..._});return}v(!0);try{let t=await fetch("/api/form",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:c.trim(),email:m.trim(),message:f.trim(),destinationEmail
1:e.destinationEmail})}),r=await t.json();if(!t.ok){"Invalid email format"===r.error?p({email:"Please enter a valid email address"}):p({email:r.error||"An error occurred. Please try again."}),(0,l.trackFormEvent)("general_form","submit_failure",{reason:r.error||"unknown_error",..._}),v(!1);return}v(!1),j(!0),(0,l.trackFormEvent)("general_form","submit_success",{..._})}catch(e){console.error("Error submitting form:",e),p({email:"An error occurred. Please try again."}),(0,l.trackFormEvent)("general_form","submit_failure",{reason:"network_error",..._}),v(!1)}}};return y?(0,t.jsx)(s.Section,{bg:"gray",children:(0,t.jsx)(i.Container,{className:"max-w-3xl",children:(0,t.jsxs)("div",{className:"flex min-h-[200px] flex-col justify-center text-center",children:[e.successHeading?(0,t.jsx)(n.Heading,{level:3,align:"center",className:"mb-4 font-bold text-neutral-800",children:e.successHeading}):(0,t.jsx)(n.Heading,{level:3,align:"center",className:"mb-4 font-bold text-neutral-800",children:"Thank you!"}),e.successSubtext?(0,t.jsx)("p",{className:"text-center text-lg text-neutral-600",children:e.successSubtext}):(0,t.jsx)("p",{className:"text-center text-lg text-neutral-600",children:"Your message has been submitted successfully."})]})})},`form-${d}`):(0,t.jsx)(s.Section,{bg:"gray",children:(0,t.jsxs)(i.Container,{className:"max-w-3xl",children:[e.heading?(0,t.jsx)(n.Heading,{level:2,align:"center",className:"mb-6",children:e.heading}):null,(0,t.jsxs)("form",{onSubmit:S,className:"mx-auto grid gap-6",children:[(0,t.jsxs)("div",{className:"grid gap-6 sm:grid-cols-2",children:[(0,t.jsxs)("label",{className:"block text-sm font-medium text-neutral-700",children:["Name",(0,t.jsx)("input",{type:"text",name:"name",value:c,onChange:e=>u(e.target.value),className:`mt-2 w-full rounded-lg border px-4 py-3 focus:outline-none focus:ring-2 ${g.name?"border-red-500 focus:border-red-500 focus:ring-red-200":"border-neutral-200 focus:border-primary-500 focus:ring-primary-200"}`,placeholder:"Your full name",disabled:b,onFocus:()=>k("name")}),g.name?(0,t.jsx)("p",{className:"mt-1 text-sm text-red-500",children:g.name}):null]}),(0,t.jsxs)("label",{className:"block text-sm font-medium text-neutral-700",children:["Email",(0,t.jsx)("input",{type:"email",name:"email",value:m,onChange:e=>x(e.target.value),className:`mt-2 w-full rounded-lg border px-4 py-3 focus:outline-none focus:ring-2 ${g.email?"border-red-500 focus:border-red-500 focus:ring-red-200":"border-neutral-200 focus:border-primary-500 focus:ring-primary-200"}`,placeholder:"[email protected]",disabled:b,onFocus:()=>k("email")}),g.email?(0,t.jsx)("p",{className:"mt-1 text-sm text-red-500",children:g.email}):null]})]}),(0,t.jsxs)("label",{className:"block text-sm font-medium text-neutral-700",children:["Message",(0,t.jsx)("textarea",{name:"message",rows:4,value:f,onChange:e=>h(e.target.value),className:`mt-2 w-full rounded-lg border px-4 py-3 focus:outline-none focus:ring-2 ${g.message?"border-red-500 focus:border-red-500 focus:ring-red-200":"border-neutral-200 focus:border-primary-500 focus:ring-primary-200"}`,placeholder:"How can we help you?",disabled:b,onFocus:()=>k("message")}),g.message?(0,t.jsx)("p",{className:"mt-1 text-sm text-red-500",children:g.message}):null]}),(0,t.jsx)(a.Button,{className:"justify-self-center",type:"submit",disabled:b,children:b?"Submitting...":e.buttonLabel??"Send"})]})]})},`form-${d}`)}e.s(["Form",()=>d])},736092,e=>{"use strict";var t=e.i(502102),r=e.i(575003),a=e.i(370476);e.s(["ImageSection",0,({image:e,className:i})=>(0,t.jsx)(a.Section,{bg:"white",className:i,children:(0,t.jsx)(r.Container,{children:(0,t.jsx)("div",{className:"w-full",children:e})})})])},545008,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={default:function(){return c},getImageProps:function(){return d}};for(var i in a)Object.defineProperty(r,i,{enumerable:!0,get:a[i]});let n=e.r(481258),s=e.r(744192),l=e.r(264596),o=n._(e.r(357546));function d(e){let{props:t}=(0,s.getImgProps)(e,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qual
1ities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let c=l.Image},506265,(e,t,r)=>{t.exports=e.r(545008)},779342,e=>{"use strict";var t=e.i(502102),r=e.i(647163),a=e.i(511956),i=e.i(506265),n=e.i(481293),s=e.i(982016);let l=({heading:e,cards:a,className:i})=>{if(!a||0===a.length)return console.warn("ThreeCardSection: No cards provided"),null;let n=a.length;return(0,t.jsxs)("div",{className:(0,r.cn)("w-full",i),children:[e&&(0,t.jsx)(s.Heading,{level:2,align:"center",className:"mb-8 sm:mb-12",children:e}),(0,t.jsx)("div",{className:1===n?"grid grid-cols-1":2===n?"grid grid-cols-1 md:grid-cols-2":"grid grid-cols-1 md:grid-cols-3",style:n>1?{gap:"1rem"}:void 0,children:a.map((e,r)=>(0,t.jsx)(o,{card:e,index:r},r))})]})},o=({card:e,index:s})=>{let[l,o]=(0,a.useIntersectionObserver)({threshold:.15,rootMargin:"0px",triggerOnce:!0}),d=e.backgroundColor||"#FAF7FF",c=e.borderColor||"#1B1F4F",u=e.animateDirection||"none";if(!e.image)return console.warn(`Card ${s} is missing image`),null;if(!e.image.asset?._ref)return console.warn(`Card ${s} image is missing asset reference`,e.image),null;let m=null;try{m=(0,n.urlFor)(e.image).url()}catch(t){return console.error(`Error rendering card ${s} image:`,t,e.image),null}return m?(0,t.jsxs)("div",{ref:l,className:(0,r.cn)("rounded-2xl overflow-hidden transition-shadow duration-300","hover:shadow-lg",(()=>{if("none"===u)return o?"animate-[fade-in_0.6s_ease-out_forwards]":"opacity-0";if(!o)return"opacity-0";switch(u){case"fromLeft":return"animate-[slide-in-left_0.6s_ease-out_forwards]";case"fromRight":return"animate-[slide-in-right_0.6s_ease-out_forwards]";case"fromTop":return"animate-[slide-in-top_0.6s_ease-out_forwards]";case"fromBottom":return"animate-[slide-in-bottom_0.6s_ease-out_forwards]";default:return"animate-[fade-in_0.6s_ease-out_forwards]"}})(),o&&"will-change-transform"),style:{backgroundColor:d,borderColor:c,borderWidth:"1px",borderStyle:"solid"},children:[(0,t.jsx)("div",{className:"relative w-full aspect-video flex items-center justify-center",children:(0,t.jsx)(i.default,{src:m,alt:e.image.alt||`Card image ${s+1}`,width:200,height:200,className:"object-contain w-[60%]",sizes:"60vw"})}),(0,t.jsx)("div",{className:"p-6",children:(0,t.jsx)("h3",{className:"text-neutral-800 text-xl sm:text-2xl font-semibold text-center",children:e.text})})]}):(console.warn(`Card ${s} failed to generate image URL`),null)};l.displayName="ThreeCardSection",e.s(["ThreeCardSection",0,l])},30777,e=>{"use strict";var t=e.i(502102),r=e.i(668110),a=e.i(647163),i=e.i(506265),n=e.i(558249);let s=({videoUrl:e,imageUrl:s,heading:l,subheading:o,className:d})=>{let[c,u]=(0,r.useState)(!1),m=(0,r.useRef)(null);return(0,r.useEffect)(()=>{c&&m.current&&m.current.play().catch(e=>{console.error("Error playing video:",e)})},[c]),(0,t.jsxs)("div",{className:(0,a.cn)("flex flex-col",d),children:[(0,t.jsx)("div",{className:"relative w-full aspect-[9/16] rounded-2xl overflow-hidden bg-neutral-200",children:c?(0,t.jsx)("video",{ref:m,src:e,className:"w-full h-full object-cover cursor-pointer",onClick:()=>{m.current&&(m.current.paused?(m.current.play(),u(!0),(0,n.trackEvent)("video_testimonial_play",{video_url:e,heading:l})):(m.current.pause(),u(!1),(0,n.trackEvent)("video_testimonial_pause",{video_url:e,heading:l})))},onEnded:()=>{u(!1),m.current&&(m.current.currentTime=0),(0,n.trackEvent)("video_testimonial_complete",{video_url:e,heading:l})},controls:!1,playsInline:!0,autoPlay:!0}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.default,{src:s,alt:l||"Video testimonial thumbnail",fill:!0,className:"object-cover",sizes:"(min-width: 768px) 33vw, 100vw"}),(0,t.jsx)("button",{onClick:()=>{u(!0),(0,n.trackEvent)("video_testimonial_play",{video_url:e,heading:l})},className:"absolute inset-0 flex items-center justify-center bg-black/20 hover:bg-black/30 transition-colors cursor-pointer","aria-label":"Play video",children:(0,t.jsx)("div",{className:"w-20 h-20 bg-white rounded-full flex items-center justify-center shadow-lg hover:scale-110 transition-transform",children:(0,t.jsx)("div",{className:"w-0 h-0 border-l-[14px] border-l-primary-600 border-t-[10px] border-t-transparent border-b-[10px] border-b-transparent translate-x-0.5","aria-hidden":"true"})})})]})}),(l||o)&&(0,t.jsxs)("div",{className:"mt-4",children:[l&&(0,t.jsx)("h3",{className:"font-bold text-neutral-900 mb
1-1",children:l}),o&&(0,t.jsx)("p",{className:"text-sm text-neutral-500",children:o})]})]})};s.displayName="RemoteVideoTestimonial",e.s(["RemoteVideoTestimonial",0,s])},161745,e=>{"use strict";var t=e.i(502102),r=e.i(668110),a=e.i(647163),i=e.i(370476),n=e.i(575003),s=e.i(982016),l=e.i(676525),o=e.i(606188),d=e.i(511956),c=e.i(558249);let u="#174a7e",m=({heading:e,subheading:r,plans:d=[],primaryCta:c,secondaryCta:m,backgroundColor:f,className:h})=>{if(!e&&!r&&0===d.length)return null;let g=f||"#ffffff",p=c?.color||u,b=m?.color||u,v=d.length,y=(r,i)=>{if(!r?.text||!r.link)return null;let n="primary"===i,s=n?{backgroundColor:p,borderColor:p}:{backgroundColor:g,borderColor:b},d=(0,a.cn)("border-2 text-base font-semibold w-full sm:w-auto",n?"text-white":"text-neutral-900");return(0,t.jsx)(o.LinkComponent,{link:r.link,analyticsLabel:r.text,analyticsCategory:"pricing_cta",analyticsData:{section_heading:e,cta_variant:i},children:(0,t.jsx)(l.Button,{variant:n?"primary":"outline",className:d,style:s,children:r.text})})},j=y(c,"primary"),w=y(m,"secondary"),N=!!(j||w);return(0,t.jsx)(i.Section,{className:(0,a.cn)("py-12 sm:py-20",h),style:{backgroundColor:g},children:(0,t.jsxs)(n.Container,{children:[(0,t.jsxs)("div",{className:"text-center max-w-3xl mx-auto",children:[e?(0,t.jsx)(s.Heading,{level:2,align:"center",className:"mb-4",children:e}):null,r?(0,t.jsx)("p",{className:"text-lg text-neutral-600 mb-10",children:r}):null]}),d.length>0?(0,t.jsx)("div",{className:"mt-12 flex flex-row flex-wrap justify-center gap-8",children:d.map((r,a)=>(0,t.jsx)(x,{plan:r,planIndex:a,planCount:v,sectionHeading:e},`${r.heading??"plan"}-${a}`))}):null,N?(0,t.jsxs)("div",{className:"mt-10 flex flex-col gap-4 sm:flex-row sm:justify-center",children:[j,w]}):null]})})};m.displayName="MultiPlanWithCTASection";let x=({plan:e,planIndex:i,planCount:n,sectionHeading:s})=>{let[l,o]=(0,d.useIntersectionObserver)({threshold:.35,rootMargin:"0px",triggerOnce:!0}),u=r.default.useRef(!1);return r.default.useEffect(()=>{o&&!u.current&&((0,c.trackEvent)("pricing_plan_view",{plan_heading:e.heading,plan_index:i,section_heading:s}),u.current=!0)},[o,e.heading,i,s]),(0,t.jsxs)("div",{ref:l,className:(0,a.cn)("rounded-2xl bg-white p-8 shadow-sm border transition hover:-translate-y-1 hover:shadow-md",{"basis-full sm:max-w-2xl":n<=1,"basis-full md:basis-1/3":2===n,"basis-full md:basis-1/2 lg:basis-1/3":3===n,"border-neutral-900":0===i,"border-neutral-200":0!==i}),children:[e.heading?(0,t.jsx)("h3",{className:"text-xl font-semibold text-neutral-900",children:e.heading}):null,e.price?(0,t.jsx)("p",{className:"mt-4 text-3xl font-semibold text-primary-600",children:e.price}):null,e.body&&e.body.length>0?(0,t.jsx)("ul",{className:"mt-6 space-y-4",children:e.body.map((r,a)=>(0,t.jsxs)("li",{className:"flex gap-3",children:[(0,t.jsx)("span",{className:"mt-0.5 flex h-6 w-6 items-center justify-center rounded-md bg-green-100 text-green-600",children:(0,t.jsx)("svg",{className:"h-4 w-4",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 0 1 0 1.414l-7.25 7.25a1 1 0 0 1-1.414 0l-3-3a1 1 0 1 1 1.414-1.414L8.5 11.086l6.543-6.543a1 1 0 0 1 1.414 0Z",clipRule:"evenodd"})})}),(0,t.jsx)("span",{className:"text-base text-neutral-700",children:r})]},`${e.heading??"plan"}-${a}`))}):null]})};e.s(["MultiPlanWithCTASection",0,m])}]);
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.