1import{S as ye,i as Ce,s as Se,E as fe,d,c as $,f as e,e as pe,g as c,$ as xe,h as t,l as p,j as I,o as V,n as b,p as o,r as _,u as E,w as we}from"../chunks/Dx3CyPqA.js";import"../chunks/IHki7fMi.js";import{g as De}from"../chunks/rrbCfbZk.js";import{a as be,s as Ee}from"../chunks/DsLZCIv5.js";import _e from"../chunks/DAbwvvdc.js";function Te(y){let C,v,S,u,g,n,m,x="Your Free Consultation Has Been Scheduled!",Y,a,T,f=y[3]?`at ${y[3]}`:"",w,N,s,j="contact us",B,H,i,l,G="Your Consultation Details",oe,U,M,ce="Date:",ne,F=new Date(y[0]).toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"})+"",K,ae,D,q,ue="Time:",se,J=new Date(y[0]).toLocaleString("en-US",{hour:"2-digit",minute:"2-digit",hour12:!0})+"",Q,le,R=new Date(y[1]).toLocaleString("en-US",{hour:"2-digit",minute:"2-digit",hour12:!0})+"",X,ie,A,z,me="You are meeting with:",re,Z,de,P,he=`<h3 class="mt-8 text-center">What to expect during the initial designconsultation</h3> <p>We'll discuss the design for your ADU so we can start drafting plans, 2 as well as answer any questions you have about the design and 3 permitting process.</p>`;return{c(){C=o("meta"),v=o("meta"),S=_(),u=o("div"),g=o("div"),n=o("div"),m=o("h1"),m.textContent=x,Y=_(),a=o("p"),T=E("You should receive an email confirmation "),w=E(f),N=E(` within a few minutes. If you have any questions or need to reschedule, 4 please 5 `),s=o("a"),s.textContent=j,B=E("."),H=_(),i=o("div"),l=o("h3"),l.textContent=G,oe=_(),U=o("div"),M=o("b"),M.textContent=ce,ne=_(),K=E(F),ae=_(),D=o("div"),q=o("b"),q.textContent=ue,se=_(),Q=E(J),le=E(" - "),X=E(R),ie=_(),A=o("div"),z=o("b"),z.textContent=me,re=_(),Z=E(y[2]),de=_(),P=o("div"),P.innerHTML=he,this.h()},l(r){const h=xe("svelte-m4k8lo",document.head);C=t(h,"META",{name:!0,content:!0}),v=t(h,"META",{name:!0,content:!0}),h.forEach(d),S=p(r),u=t(r,"DIV",{class:!0});var ve=I(u);g=t(ve,"DIV",{class:!0});var ge=I(g);n=t(ge,"DIV",{class:!0});var L=I(n);m=t(L,"H1",{class:!0,"data-svelte-h":!0}),V(m)!=="svelte-o87yha"&&(m.textContent=x),Y=p(L),a=t(L,"P",{class:!0});var O=I(a);T=b(O,"You should receive an email confirmation "),w=b(O,f),N=b(O,` within a few minutes. If you have any questions or need to reschedule, 6 please 7 `),s=t(O,"A",{href:!0,"data-svelte-h":!0}),V(s)!=="svelte-1mj4pm1"&&(s.textContent=j),B=b(O,"."),O.forEach(d),H=p(L),i=t(L,"DIV",{class:!0});var k=I(i);l=t(k,"H3",{class:!0,"data-svelte-h":!0}),V(l)!=="svelte-f2wlvr"&&(l.textContent=G),oe=p(k),U=t(k,"DIV",{});var ee=I(U);M=t(ee,"B",{"data-svelte-h":!0}),V(M)!=="svelte-15ycob6"&&(M.textContent=ce),ne=p(ee),K=b(ee,F),ee.forEach(d),ae=p(k),D=t(k,"DIV",{});var W=I(D);q=t(W,"B",{"data-svelte-h":!0}),V(q)!=="svelte-yzm889"&&(q.textContent=ue),se=p(W),Q=b(W,J),le=b(W," - "),X=b(W,R),W.forEach(d),ie=p(k),A=t(k,"DIV",{});var te=I(A);z=t(te,"B",{"data-svelte-h":!0}),V(z)!=="svelte-1m0yenu"&&(z.textContent=me),re=p(te),Z=b(te,y[2]),te.forEach(d),k.forEach(d),de=p(L),P=t(L,"DIV",{class:!0,"data-svelte-h":!0}),V(P)!=="svelte-7ykagx"&&(P.innerHTML=he),L.forEach(d),ge.forEach(d),ve.forEach(d),this.h()},h(){document.title="Thank You for Scheduling Your Free Consultation | LADU",c(C,"name","description"),c(C,"content","Thank you for booking your free consultation."),c(v,"name","robots"),c(v,"content","noindex"),c(m,"class","text-4xl font-bold"),c(s,"href","/contact"),c(a,"class","max-w-2xl"),c(l,"class","mb-4"),c(i,"class","mt-6 flex flex-col gap-2 rounded-lg border border-gray-900 p-6 shadow-lg"),c(P,"class","mt-8 flex max-w-2xl flex-col gap-2"),c(n,"class","mb-96 mt-12 flex flex-col items-center"),c(g,"class","container mb-96 mt-8 flex flex-col items-center gap-3"),c(u,"class","mb-96 mt-8 flex flex-col items-center gap-3")},m(r,h){e(document.head,C),e(document.head,v),pe(r,S,h),pe(r,u,h),e(u,g),e(g,n),e(n,m),e(n,Y),e(n,a),e(a,T),e(a,w),e(a,N),e(a,s),e(a,B),e(n,H),e(n,i),e(i,l),e(i,oe),e(i,U),e(U,M),e(U,ne),e(U,K),e(i,ae),e(i,D),e(D,q),e(D,se),e(D,Q),e(D,le),e(D,X),e(i,ie),e(i,A),e(A,z),e(A,re),e(A,Z),e(n,de),e(n,P)},p(r,[h]){h&8&&f!==(f=r[3]?`at ${r[3]}`:"")&&$(w,f),h&1&&F!==(F=new Date(r[0]).toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"}
7)+"")&&$(K,F),h&1&&J!==(J=new Date(r[0]).toLocaleString("en-US",{hour:"2-digit",minute:"2-digit",hour12:!0})+"")&&$(Q,J),h&2&&R!==(R=new Date(r[1]).toLocaleString("en-US",{hour:"2-digit",minute:"2-digit",hour12:!0})+"")&&$(X,R),h&4&&$(Z,r[2])},i:fe,o:fe,d(r){r&&(d(S),d(u)),d(C),d(v)}}}function Le(y,C,v){let S="",u="",g="",n="",m="",x="",Y="",a="",T="",f="",w="";return we(async()=>{const N=be("designConsultationScheduledThisSession");N||Ee("designConsultationScheduledThisSession",!0);const s=new URLSearchParams(window.location.search);v(2,g=s.get("assigned_to")??""),v(0,S=s.get("event_start_time")??""),v(1,u=s.get("event_end_time")??""),v(3,n=s.get("invitee_email")??"");const j=s.get("event_type_uuid")??"",B=s.get("event_type_name")??"",H=s.get("invitee_uuid")??"",i=De("checkoutPropertyDetails")??"",l=JSON.parse(i);if(m=l.customerName??"",x=l.customerEmail[0]??"",Y=l.propertyId??"",a=l.propertyStreetAddress??"",T=l.propertyCity??"",f=l.propertyState??"",w=l.propertyPostalCode??"",console.log("customerName",m),console.log("customerEmail",x),console.log("streetAddress",a),console.log("city",T),console.log("state",f),console.log("postalCode",w),x&&_e.identify(x.toLowerCase().trim(),{source:"design_consultation_calendly_form",email:x.toLowerCase().trim(),name:m,streetAddress:a,city:T,state:f,postalCode:w}),N===!1){_e.capture("calendly_design_consult_booked",{page:"/design-consultation/thank-you",assignedTo:g,eventTypeUuid:j,eventTypeName:B,eventStartTime:S,eventEndTime:u,inviteeUuid:H});const G={customerData:{email:x.toLowerCase().trim(),name:m},propertyData:{id:Y,streetAddress:a,state:f,postalCode:w,city:T},calendlyEventData:{assignedTo:g??"",eventTypeUuid:j,eventTypeName:B,eventStartTime:S,eventEndTime:u,inviteeUuid:H}};await fetch("/api/zapier-webhooks/calendly/design-consult-scheduled",{method:"POST",body:JSON.stringify(G)})}}),[S,u,g,n]}class Ve extends ye{constructor(C){super(),Ce(this,C,Le,Te,Se,{})}}export{Ve as component};
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.