1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9335],{81382:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/contact",function(){return s(31841)}])},82228:function(e,t,s){"use strict";var a=s(85893),r=s(60403);t.Z=e=>{let{message:t,active:s,state:i,className:l,autoHeight:n}=e;return(0,a.jsx)("div",{className:(0,r.cn)("relative mt-0 ".concat(!n&&"h-0"),l),children:(0,a.jsx)("div",{className:(0,r.cn)("transition-all ease-in-out duration-300 mt-2 w-full rounded transform overflow-hidden text-white p-3","success"==i?"text-black p-0":"bg-red-700",s?"-translate-y-0 opacity-100":"-translate-y-8 opacity-0"),children:t})})}},15589:function(e,t,s){"use strict";var a=s(85893),r=s(60403);t.Z=e=>{let{children:t,className:s,disabled:i,...l}=e;return(0,a.jsx)("div",{className:(0,r.cn)("mt-2 mb-0 text-gray-500 text-sm",i&&"text-slate-300",s),...l,children:t})}},44536:function(e,t,s){"use strict";s.d(t,{Z:function(){return l}});var a=s(85893),r=s(89755),i=s.n(r);function l(e){let{alt:t,...s}=e;return(0,a.jsx)("div",{className:"rounded-xl overflow-hidden text-[0px] text-center",children:(0,a.jsx)(i(),{alt:t,...s})})}},52289:function(e,t,s){"use strict";s.d(t,{Z:function(){return r}});var a=s(85893);function r(e){let{title:t,description:s,className:r,headingClassName:i}=e;return(0,a.jsx)("section",{className:r,children:(0,a.jsxs)("div",{className:"max-w-md mx-auto md:text-center py-4 sm:py-8 px-4",children:[(0,a.jsxs)("h1",{className:"md:text-3xl !leading-normal md:leading-relaxed text-center text-normal font-semibold tracking-wide text-black ".concat(i),children:[" ",t]}),s&&(0,a.jsx)("p",{className:"text-lg md:text-lg lg:text-2xl leading-6 md:max-w-2xl md:px-4 mx-auto text-gray-600 mt-4 lg:mt-12",children:s})]})})}},31841:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return g}});var a=s(85893),r=s(67294),i=s(52289),l=s(44536),n=s(87536),o=s(58729),c=s(15589),d=s(5204),m=s(62585),u=s(82228),x=s(90109),p=s(94646);let h=(0,x.ad)(p.l);var f=s(84193),v=s(2962),j=s(69454),b=s(55312);function g(){var e,t,s;let[p,g]=(0,r.useState)(!1),{register:y,handleSubmit:N,reset:w,formState:{errors:Z,isSubmitting:k,isSubmitSuccessful:S}}=(0,n.cI)();return(0,r.useEffect)(()=>{if(!S)return;g(!0);let e=setTimeout(()=>{g(!1)},4e3);return()=>{clearTimeout(e)}},[S]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(v.PB,{title:"Contact us",description:"Contact Space32 to discuss your part-time âHybrid Officesâ or timeshare"}),(0,a.jsx)("div",{children:(0,a.jsx)(i.Z,{title:"Contact us",description:"We'd love to hear from you."})}),(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full bg-gray-100 h-[430px] sm:h-[460px] z-[-1]"}),(0,a.jsx)("div",{className:"max-w-5xl mx-auto px-4 md:px-0",children:(0,a.jsx)("div",{className:"-mt-6",children:(0,a.jsx)(l.Z,{src:"https://picsum.photos/id/220/1024/240",alt:"Space Three Two",className:"bg-gray-200",layout:"responsive",width:1024,height:240})})}),(0,a.jsxs)("div",{className:"max-w-5xl mx-auto p-4 md:px-0 flex-wrap sm:flex-nowrap flex",children:[(0,a.jsxs)("div",{className:"py-8 sm:w-1/2",children:[(0,a.jsx)("h2",{className:"text-lg font-medium text-gray-900",children:"Address:"}),(0,a.jsx)("p",{className:"text-gray-900 text-sm my-2",children:"4 Beaconsfield Road, St Albans, Hertfordshire, AL1 3RD"})]}),(0,a.jsxs)("form",{onSubmit:N(e=>{(0,b.l)("form_submit",{formName:"contactForm"}),function(e){let t=(0,x.hJ)(h,"contact");(0,x.ET)(t,e)}(e),(0,j.G)(),w({},{keepIsSubmitted:!1})}),className:"bg-white pb-6 space-y-6 mt-4",children:[(0,a.jsx)("div",{className:"gap-6 grid grid-cols-6",children:(0,a.jsxs)("div",{className:"col-span-6 sm:col-span-6",children:[(0,a.jsx)(m.Z,{...y("fullname",{required:!0}),placeholder:"Full name",label:"Full name *",error:void 0!==Z.fullname}),(0,a.jsx)(o.Z,{condition:(null===(e=Z.fullname)||void 0===e?void 0:e.type)==="required",children:"Please enter your full name."})]})}),(0,a.jsxs)("div",{className:"col-span-6 sm:col-span-4",children:[(0,a.jsx)(m.Z,{...y("email",{required:!0}),placeholder:"Email address",label:"Email *",error:void 0!==Z.email,type:"email",autoComplete:""}),(0,a.jsx)(o.Z,{condition:(null===(t=Z.email)||void 0===t?void 0:t.type)==="required",children:"Please enter your email address."})]}),(0,a.jsxs)("div",{className:"col-span-6 sm:col-span-4",children:[(0,a.jsx)(m.Z,{...y("number",{required:!0}),placeholder:"",label:"Contact number *",error:void 0!==Z.number,type:"tel",prependText:"+44"}),(0,a.jsx)(o.Z,{condition:(null===(s=Z.number)||void 0===s?void 0:s.type)==="required",children:"Please enter a contact number."})]}),(0,a.jsxs)("fieldset",{className:"col-span-6",children:[(0,a.jsx)("legend",{className:"text-base font-medium text-gray-900",children:"Which describes you best?"}),(0,a.jsxs)("div",{className:"mt-4 space-y-4",children:[(0,a.jsx)(c.Z,{children:"Help us find a answer to your question faster by giving us a little more information."}),(0,a.jsx)(d.Z,{...y("LookingForSpace"),label:"I am looking for space.",description:"",error:void 0!==Z.LookingForSpace}),(0,a.jsx)(d.Z,{...y("SpaceToShare"),label:"I have space to share.",description:"",error:void 0!==Z.SpaceToShare}),(0,a.jsx)(d.Z,{...y("HowItWorks"),label:"I'd like to find out more about how
1it works.",description:"",error:void 0!==Z.HowItWorks}),(0,a.jsx)(d.Z,{...y("Invest"),label:"I'd like to try and invest in space three two.",description:"",error:void 0!==Z.Invest})]})]}),(0,a.jsx)(f.Z,{title:"Submit",isSubmitting:k,isSubmitSuccessful:S}),(0,a.jsx)(u.Z,{message:"Thank you, Your message has been sent succesfully.",active:p,state:"success"})]})]})]})}g.container=!1}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=81382)}),_N_E=e.O()}]);
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.