1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5746],{47330:function(e,t,n){Promise.resolve().then(n.bind(n,19665))},72107:function(e,t,n){"use strict";var i=n(24903);n.o(i,"usePathname")&&n.d(t,{usePathname:function(){return i.usePathname}}),n.o(i,"useRouter")&&n.d(t,{useRouter:function(){return i.useRouter}}),n.o(i,"useServerInsertedHTML")&&n.d(t,{useServerInsertedHTML:function(){return i.useServerInsertedHTML}})},19665:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return $}});var i=n(87756),r=n(33045),o=n(30318),a=n(72107),l=n(28153),c=n(41997),d=n(79519);let s={gaconnector_country:"country",gaconnector_fc_referrer:"firstClickReferer",gaconnector_lc_referrer:"lastClickReferer",_ga:"googleAnalyticsId",gaconnector_fc_channel:"firstClickChannel",gaconnector_fc_landing:"lastClickLanding",gaconnector_lc_campaign:"lastClickCampaign",gaconnector_fc_campaign:"firstClickCampaign",gaconnector_fc_term:"firstClickTerm",gaconnector_lc_content:"lastClickContent",gaconnector_fc_medium:"firstClickMedium",gaconnector_region:"region",gaconnector_city:"city",gaconnector_GA_Client_ID:"clientId",gaconnector_time_passed:"timePassed",gaconnector_browser:"browser",gaconnector_page_visits:"pageVisits",gaconnector_all_traffic_sources:"allTrafficSources",gaconnector_fc_source:"firstClickSource",gaconnector_country_code:"countryCode",gaconnector_lc_source:"lastClickSource",gaconnector_lc_channel:"lastClickChannel",gaconnector_time_zone:"timeZone",gaconnector_lc_landing:"lastClickLanding",gaconnector_device:"device",gaconnector_pages_visited_list:"pagesVisitedList",gaconnector_gclid:"gclid",gaconnector_OS:"os"},p=[{value:"25k-50k",label:"â¬25K - â¬50K"},{value:"50k-100k",label:"â¬50K - â¬100K"},{value:"100k-200k",label:"â¬100K - â¬200K"},{value:"200k-500k",label:"â¬200K - â¬500K"},{value:"500k-plus",label:"â¬500K+"},{value:"exploring-options",label:"I'm still exploring options / seeking investment"}],h=[{value:"asap",label:"ASAP (within 1-2 months)"},{value:"3-6-months",label:"In 3-6 months"},{value:"6-12-months",label:"In 6-12 months"},{value:"12-plus-months",label:"12+ months"},{value:"still-planning",label:"Still planning / unsure"}];function m(e){let t={};return(!e.fullName||e.fullName.length<3||e.fullName.length>50)&&(t.fullName="Full name must be between 3 and 50 characters"),e.email&&/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e.email)||(t.email="Please enter a valid business email"),(!e.phone||e.phone.length<7)&&(t.phone="Phone number must be at least 7 characters"),(!e.howDidYouHear||e.howDidYouHear.length<3||e.howDidYouHear.length>50)&&(t.howDidYouHear="This field must be between 3 and 50 characters"),(!e.projectDescription||e.projectDescription.length<5||e.projectDescription.length>5e3)&&(t.projectDescription="Project description must be between 5 and 5000 characters"),e.budgetRange||(t.budgetRange="Please select a budget range"),e.timeline||(t.timeline="Please select a timeline"),e.isPrivacyPolicyAgreementAccepted||(t.isPrivacyPolicyAgreementAccepted="You must accept the Terms of Service and Privacy Policy"),t}let u=(0,l.iv)(["font-family:var(--font-brand);"]),g=(0,l.iv)(["font-family:var(--font-brand);"]),f=l.ZP.section.withConfig({componentId:"sc-d194fd8d-0"})(["padding:0 !important;display:flex;min-height:100%;"]),b=l.ZP.div.withConfig({componentId:"sc-d194fd8d-1"})(["width:100%;padding-bottom:5rem;@media screen and (max-width:calc("," - 1px)){padding:48px 0 64px;}@media screen and (max-width:","){padding:40px 0;}@media screen and (max-width:","){padding:24px 0 30px;}"],c.AV.desktopMac,c.AV.mobileLarge,c.AV.mobile),x=l.ZP.h2.withConfig({componentId:"sc-d194fd8d-2"})(["color:",";letter-spacing:0.43px;font-weight:600;font-size:16px;line-height:24px;"],c.O9.primary),w=l.ZP.h1.withConfig({componentId:"sc-d194fd8d-3"})(["margin-top:16px;margin-bottom:32px;color:",";font-size:1.625rem;line-height:2.25rem;letter-spacing:0.18px;"],c.O9.titleDark),k=l.ZP.form.withConfig({componentId:"sc-d194fd8d-4"})(["width:100%;margin:0;@media screen and (max-width:","){padding-left:0;padding-right:0;}"],c.AV.mobile),v=l.ZP.hr.withConfig({componentId:"sc-d194fd8d-5"})(["border:none;border-bottom:1px solid #e6e6ef;margin-top:2px;margin-bottom:1.875rem;"]),y=l.ZP.div.withConfig({componentId:"sc-d194fd8d-6"})(["position:absolute;
1left:-9999px;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none;"]),j=l.ZP.div.withConfig({componentId:"sc-d194fd8d-7"})(["display:flex;justify-content:space-between;gap:30px;@media screen and (max-width:calc("," - 1px)){display:block;}@media screen and (max-width:","){display:block;}"],c.AV.desktopMac,c.AV.mobile),C=l.ZP.div.withConfig({componentId:"sc-d194fd8d-8"})(["display:flex;gap:30px;> div{width:50%;}@media screen and (max-width:","){flex-direction:column;gap:0;> div{width:100%;}}"],c.AV.tablet),_=l.ZP.div.withConfig({componentId:"sc-d194fd8d-9"})(["display:flex;flex-direction:column;gap:0.5rem;margin-bottom:7px;width:100%;.input-label{color:",";font-size:0.875rem;line-height:1.25rem;","}input{"," ","}"],e=>{let{$isError:t}=e;return t?c.O9.error:c.O9.titleDark},u,r.o3,e=>{let{$isError:t}=e;return t&&"&, &:hover, &:focus { border-color: ".concat(c.O9.error,"; }")}),P=l.ZP.div.withConfig({componentId:"sc-d194fd8d-10"})(["display:flex;flex-direction:column;gap:0.5rem;margin-bottom:7px;width:100%;.input-label{color:",";font-size:0.875rem;line-height:1.25rem;","}textarea{"," resize:vertical;","}"],e=>{let{$isError:t}=e;return t?c.O9.error:c.O9.titleDark},u,r.o3,e=>{let{$isError:t}=e;return t&&"&, &:hover, &:focus { border-color: ".concat(c.O9.error,"; }")}),A=l.ZP.div.withConfig({componentId:"sc-d194fd8d-11"})(["min-height:23px;"]),I=l.ZP.span.withConfig({componentId:"sc-d194fd8d-12"})(["color:",";font-size:15px;line-height:22px;margin-bottom:8px;",""],c.O9.error,g),O=l.ZP.span.withConfig({componentId:"sc-d194fd8d-13"})(["color:",";"],e=>{let{$isError:t}=e;return t?c.O9.error:c.O9.primary}),D=l.ZP.span.withConfig({componentId:"sc-d194fd8d-14"})(["font-size:0.8125rem;color:",";",""],c.O9.error,g),N=l.ZP.div.withConfig({componentId:"sc-d194fd8d-15"})(["width:100%;margin-bottom:1.875rem;.form-field-label{display:block;font-size:0.875rem;color:",";margin-bottom:1rem;line-height:1.5;.form-field-pre-label{color:",";margin-right:0.5rem;}}fieldset{width:100%;margin:0;border:0;padding:0;> div{display:flex;flex-direction:column;}}@media screen and (max-width:","){.form-field-label{font-size:0.875rem;margin-bottom:0.75rem;}fieldset > div{gap:0.375rem;}}"],c.O9.titleDark,c.O9.primary,c.AV.mobile),S=l.ZP.input.withConfig({componentId:"sc-d194fd8d-16"})(["position:absolute;margin:-1px;border:0;padding:0;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);text-transform:none;white-space:nowrap;"]),Z=l.ZP.label.withConfig({componentId:"sc-d194fd8d-17"})(["min-height:44px;display:flex;padding:10px 16px 10px 0;cursor:pointer;&:hover{background-color:",";}"],c.O9.backgroundLight),z=l.ZP.span.withConfig({componentId:"sc-d194fd8d-18"})(["display:flex;align-items:center;text-align:center;input:focus-visible + label &{outline:2px solid ",";outline-offset:8px;}"],c.O9.primary),L=l.ZP.span.withConfig({componentId:"sc-d194fd8d-19"})(["--radio-size:16px;height:var(--radio-size);width:var(--radio-size);margin-right:12px;display:inline-block;position:relative;flex-shrink:0;border-radius:100%;border:2px solid rgba(114,114,146,0.5);label:hover &,input:focus + label &{border-color:",";}input:checked + label &{border-color:",";}input:checked + label &::before{position:absolute;top:0;left:0;display:inline-block;width:100%;height:100%;background-color:",";border-radius:100%;transform:scale(0.68);content:'';}"],c.O9.primary,c.O9.primary,c.O9.primary),R=l.ZP.span.withConfig({componentId:"sc-d194fd8d-20"})(["font-family:var(--font-brand);font-size:0.875rem;line-height:1.25rem;text-align:left;vertical-align:unset;word-break:break-word;color:",";"],c.O9.titleDark),M=l.ZP.div.withConfig({componentId:"sc-d194fd8d-21"})(["display:flex;font-family:var(--font-brand);padding:0 0 16px;cursor:pointer;align-items:flex-start;.checkbox-label{font-size:14px;line-height:20px;margin-left:8px;color:",";vertical-align:top;cursor:pointer;}input[type='checkbox']{position:absolute;opacity:0;cursor:pointer;height:20px;width:20px;}.checkmark{height:20px;width:20px;min-width:20px;border:2px solid rgba(114,114,146,0.5);border-radius:3px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;position:relative;box-sizing:border-box;}&:hover .checkmark{border-color:",";}input[type='checkbox']:checked ~ .checkmark{background-color:",";border-color:",";}input[type='checkbox']:checked ~ .checkmark::after{content:'';display:block;width:4px;height:8px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg);}a{color:",";}"],c.O9.titleDark,c.O9.primary,c.O9.primary,c.O9.primary,c.O9.primary),H=l.ZP.p.withConfig({componentId:"sc-d194fd8d-22"})(["font-size:0.875rem;margin:0 0 1.875rem;color:",";
1"],c.O9.error),T=l.ZP.button.withConfig({componentId:"sc-d194fd8d-23"})([""," width:100%;margin-top:14px;"],(0,r.G7)()),Y=l.ZP.svg.withConfig({componentId:"sc-d194fd8d-24"})(["animation:spin 1s linear infinite;@keyframes spin{from{transform:rotate(0deg);}to{transform:rotate(360deg);}}"]);function E(){return(0,i.jsxs)(Y,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("circle",{cx:"12",cy:"12",r:"10",stroke:"white",strokeWidth:"3",strokeOpacity:"0.3"}),(0,i.jsx)("path",{d:"M12 2C6.477 2 2 6.477 2 12",stroke:"white",strokeWidth:"3",strokeLinecap:"round"})]})}function V(e){let{label:t,placeholder:n,preLabel:r,name:o,required:a,value:l,error:c,touched:d,onChange:s,onBlur:p,type:h="text"}=e,m=d&&!!c;return(0,i.jsxs)(_,{$isError:m,children:[(0,i.jsxs)("label",{className:"input-label",htmlFor:"field-".concat(o),children:[a&&(0,i.jsx)(D,{children:"*\xa0"}),(0,i.jsxs)(O,{$isError:m,children:[r,"\xa0"]}),t]}),(0,i.jsx)("input",{id:"field-".concat(o),type:h,name:o,placeholder:n,value:l,onChange:s,onBlur:p}),(0,i.jsx)(A,{children:m&&(0,i.jsx)(I,{children:c})})]})}function F(e){let{label:t,placeholder:n,preLabel:r,name:o,required:a,value:l,error:c,touched:d,onChange:s,onBlur:p}=e,h=d&&!!c;return(0,i.jsxs)(P,{$isError:h,children:[(0,i.jsxs)("label",{className:"input-label",htmlFor:"field-".concat(o),children:[a&&(0,i.jsx)(D,{children:"*\xa0"}),(0,i.jsxs)(O,{$isError:h,children:[r,"\xa0"]}),t]}),(0,i.jsx)("textarea",{id:"field-".concat(o),name:o,placeholder:n,value:l,onChange:s,onBlur:p,rows:4}),(0,i.jsx)(A,{children:h&&(0,i.jsx)(I,{children:c})})]})}function B(e){let{label:t,preLabel:n,name:r,options:o,value:a,onChange:l}=e;return(0,i.jsxs)(N,{children:[(0,i.jsxs)("label",{className:"form-field-label",children:[(0,i.jsx)(D,{children:"*\xa0"}),(0,i.jsx)("span",{className:"form-field-pre-label",children:n}),t]}),(0,i.jsx)("fieldset",{children:(0,i.jsx)("div",{children:o.map(e=>{let t="".concat(r,"-").concat(e.value);return(0,i.jsxs)("div",{children:[(0,i.jsx)(S,{type:"radio",id:t,name:r,value:e.value,checked:a===e.value,onChange:()=>l(e.value)}),(0,i.jsx)(Z,{htmlFor:t,children:(0,i.jsxs)(z,{children:[(0,i.jsx)(L,{}),(0,i.jsx)(R,{children:e.label})]})})]},e.value)})})})]})}function K(e){let{name:t,checked:n,onChange:r,children:o,error:a,touched:l}=e;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(M,{onClick:()=>r(!n),children:[(0,i.jsx)("input",{type:"checkbox",id:"checkbox-".concat(t),checked:n,onChange:e=>r(e.target.checked)}),(0,i.jsx)("span",{className:"checkmark"}),(0,i.jsx)("label",{className:"checkbox-label",htmlFor:"checkbox-".concat(t),children:o})]}),l&&!!a&&(0,i.jsx)(I,{children:a})]})}let q={fullName:"",email:"",phone:"",howDidYouHear:"",projectDescription:"",budgetRange:"",timeline:"",isPrivacyPolicyAgreementAccepted:!1,isSignNDAAccepted:!1,isMarketingAgreementAccepted:!1,website:""};function $(){let e=(0,a.useRouter)(),[t,n]=(0,o.useState)(q),[r,l]=(0,o.useState)({}),[c,u]=(0,o.useState)({}),[g,_]=(0,o.useState)(!1),P=(0,o.useCallback)((e,t)=>{n(n=>({...n,[e]:t}))},[]),A=(0,o.useCallback)(e=>{let{name:t,value:n}=e.target,i="email"===t?n.trim():n.trimStart();P(t,i)},[P]),I=(0,o.useCallback)(e=>{let{name:n}=e.target;u(e=>({...e,[n]:!0}));let i=m(t);l(e=>({...e,[n]:i[n]}))},[t]),O=async n=>{n.preventDefault();let i={};Object.keys(q).forEach(e=>{i[e]=!0}),u(i);let r=m(t);if(l(r),Object.keys(r).length>0||t.website&&""!==t.website.trim())return;_(!0);let[o,...a]=t.fullName.split(" "),c=a.join(" "),d=function(){let e=function(){if("undefined"==typeof document)return{};let e={};return document.cookie.split(";").forEach(t=>{let[n,...i]=t.split("=");n&&(e[n.trim()]=decodeURIComponent(i.join("=")))}),e}(),t={};for(let[n,i]of Object.entries(s)){let r=e[n];r&&(t[i]="_ga"===n&&r.length>6?r.substring(6):r)}return t}(),p={firstName:o,lastName:c||"-",email:t.email,phone:t.phone,howDidYouHear:t.howDidYouHear,projectDescription:t.projectDescription,budgetRange:t.budgetRange,timeline:t.timeline,isSignNDAAccepted:t.isSignNDAAccepted,isMarketingAgreementAccepted:t.isMarketingAgreementAccepted,website:t.website,...d};try{if((await fetch("https://thtnjw01oj.execute-api.eu-west-1.amazonaws.com/inbound",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(p)}
1)).ok){let n=window.dataLayer;n&&n.push({event:"submitContactForm",email:t.email}),e.push("/contact-us/thank-you/")}else e.push("/contact-us/sending-form-error/")}catch(t){e.push("/contact-us/sending-form-error/")}finally{_(!1)}},D=0===Object.keys(m(t)).length;return(0,i.jsx)(d.T,{children:(0,i.jsx)(f,{"data-testid":"contact-us-page",children:(0,i.jsxs)(b,{children:[(0,i.jsx)(x,{children:"CONTACT FORM"}),(0,i.jsx)(w,{children:"Contact details"}),(0,i.jsxs)(k,{onSubmit:O,noValidate:!0,children:[(0,i.jsx)(y,{children:(0,i.jsx)("input",{type:"text",name:"website",autoComplete:"off",tabIndex:-1,"aria-hidden":"true",value:t.website,onChange:e=>P("website",e.target.value)})}),(0,i.jsx)(v,{}),(0,i.jsxs)(j,{children:[(0,i.jsx)(V,{label:"Full name",placeholder:"Enter full name",preLabel:"01.",name:"fullName",required:!0,value:t.fullName,error:r.fullName,touched:c.fullName,onChange:A,onBlur:I}),(0,i.jsx)(V,{label:"Business e-mail",placeholder:"Enter e-mail",preLabel:"02.",name:"email",required:!0,type:"email",value:t.email,error:r.email,touched:c.email,onChange:A,onBlur:I})]}),(0,i.jsxs)(j,{children:[(0,i.jsx)(V,{label:"Phone",placeholder:"Enter phone number",preLabel:"03.",name:"phone",required:!0,value:t.phone,error:r.phone,touched:c.phone,onChange:A,onBlur:I}),(0,i.jsx)(V,{label:"How did you hear about us?",placeholder:"e.g. Google, Facebook, LinkedIn",preLabel:"04.",name:"howDidYouHear",required:!0,value:t.howDidYouHear,error:r.howDidYouHear,touched:c.howDidYouHear,onChange:A,onBlur:I})]}),(0,i.jsx)(F,{label:"Tell us more about the project",placeholder:"My project is about...",preLabel:"05.",name:"projectDescription",required:!0,value:t.projectDescription,error:r.projectDescription,touched:c.projectDescription,onChange:A,onBlur:I}),(0,i.jsxs)(C,{children:[(0,i.jsx)("div",{children:(0,i.jsx)(B,{label:"What's your approximate budget range for this project?",preLabel:"06.",name:"budgetRange",options:p,value:t.budgetRange,onChange:e=>P("budgetRange",e)})}),(0,i.jsx)("div",{children:(0,i.jsx)(B,{label:"When do you want your product ready?",preLabel:"07.",name:"timeline",options:h,value:t.timeline,onChange:e=>P("timeline",e)})})]}),(0,i.jsx)(H,{children:"* Required fields"}),(0,i.jsx)(v,{}),(0,i.jsxs)(K,{name:"isPrivacyPolicyAgreementAccepted",checked:t.isPrivacyPolicyAgreementAccepted,onChange:e=>P("isPrivacyPolicyAgreementAccepted",e),error:r.isPrivacyPolicyAgreementAccepted,touched:c.isPrivacyPolicyAgreementAccepted,children:["I accept the"," ",(0,i.jsx)("a",{href:"/terms-of-service/",target:"_blank",rel:"noopener noreferrer",children:"Terms of Service"})," ","and"," ",(0,i.jsx)("a",{href:"/privacy-policy/",target:"_blank",rel:"noopener noreferrer",children:"Privacy Policy"})]}),(0,i.jsx)(K,{name:"isSignNDAAccepted",checked:t.isSignNDAAccepted,onChange:e=>P("isSignNDAAccepted",e),children:"I would like to sign the NDA first (optional)"}),(0,i.jsx)(K,{name:"isMarketingAgreementAccepted",checked:t.isMarketingAgreementAccepted,onChange:e=>P("isMarketingAgreementAccepted",e),children:"Yes! I'd like to be the first to hear the latest news and stories from 10Clouds. (optional)"}),(0,i.jsxs)(T,{type:"submit",disabled:!D||g,"aria-busy":g||void 0,children:[(0,i.jsx)("span",{children:g?"Sending messageâ¦":"Send Message"}),g&&(0,i.jsx)(E,{"aria-hidden":"true"})]})]})]})})})}}},function(e){e.O(0,[8153,9179,999,3214,4222,1744],function(){return e(e.s=47330)}),_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.