1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="441b78a7-392f-4058-966d-07acf5c1aaff",e._sentryDebugIdIdentifier="sentry-dbid-441b78a7-392f-4058-966d-07acf5c1aaff")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1492],{2155:(e,t,a)=>{"use strict";a.d(t,{Dr:()=>m,GH:()=>c,T:()=>r,ZF:()=>u,ee:()=>l,rd:()=>d});var n=a(75155),i=a(16932),o=a(12482),s=a(75119);let r=(e,t)=>{let a,o=(0,n.c)(2);o[0]!==e?(a=(e=>{let t=["submitMechanicOfTheYear"],{mutation:a,axios:n}=e?e.mutation&&"mutationKey"in e.mutation&&e.mutation.mutationKey?e:{...e,mutation:{...e.mutation,mutationKey:t}}:{mutation:{mutationKey:t},axios:void 0};return{mutationFn:e=>{let{data:t}=null!=e?e:{};return s.A.post("/v2/AdministrationItem/SubmitMechanicOfTheYear",t,n)},...a}})(e),o[0]=e,o[1]=a):a=o[1];let r=a;return(0,i.n)(r,t)},l=(e,t)=>{let a,o=(0,n.c)(2);o[0]!==e?(a=(e=>{let t=["submitMechanicOfTheMonth"],{mutation:a,axios:n}=e?e.mutation&&"mutationKey"in e.mutation&&e.mutation.mutationKey?e:{...e,mutation:{...e.mutation,mutationKey:t}}:{mutation:{mutationKey:t},axios:void 0};return{mutationFn:e=>{let{data:t}=null!=e?e:{};return s.A.post("/v2/AdministrationItem/SubmitMechanicOfTheMonth",t,n)},...a}})(e),o[0]=e,o[1]=a):a=o[1];let r=a;return(0,i.n)(r,t)},m=(e,t)=>{let a,o=(0,n.c)(2);o[0]!==e?(a=(e=>{let t=["submitEnquiry"],{mutation:a,axios:n}=e?e.mutation&&"mutationKey"in e.mutation&&e.mutation.mutationKey?e:{...e,mutation:{...e.mutation,mutationKey:t}}:{mutation:{mutationKey:t},axios:void 0};return{mutationFn:e=>{let{data:t}=null!=e?e:{};return s.A.post("/v2/AdministrationItem/SubmitEnquiry",t,n)},...a}})(e),o[0]=e,o[1]=a):a=o[1];let r=a;return(0,i.n)(r,t)};function u(e,t,a){let n=((e,t)=>{var a;let n,{query:i,axios:o}=null!=t?t:{};return{queryKey:null!=(a=null==i?void 0:i.queryKey)?a:["/v2/AdministrationItem/MOTMResults",...(n=e)?[n]:[]],queryFn:t=>{let a,n,{signal:i}=t;return a=e,n={signal:i,...o},s.A.get("/v2/AdministrationItem/MOTMResults",{...n,params:{...a,...null==n?void 0:n.params}})},staleTime:0,...i}})(e,t),i=(0,o.I)(n,a);return i.queryKey=n.queryKey,i}function c(e,t,a){let n=((e,t)=>{var a;let n,{query:i,axios:o}=null!=t?t:{};return{queryKey:null!=(a=null==i?void 0:i.queryKey)?a:["/v2/AdministrationItem/MOTMStats",...(n=e)?[n]:[]],queryFn:t=>{let a,n,{signal:i}=t;return a=e,n={signal:i,...o},s.A.get("/v2/AdministrationItem/MOTMStats",{...n,params:{...a,...null==n?void 0:n.params}})},staleTime:0,...i}})(e,t),i=(0,o.I)(n,a);return i.queryKey=n.queryKey,i}let d=(e,t)=>{let a,o=(0,n.c)(2);o[0]!==e?(a=(e=>{let t=["verifyIntegration"],{mutation:a,axios:n}=e?e.mutation&&"mutationKey"in e.mutation&&e.mutation.mutationKey?e:{...e,mutation:{...e.mutation,mutationKey:t}}:{mutation:{mutationKey:t},axios:void 0};return{mutationFn:e=>{let{id:t}=null!=e?e:{};return s.A.put("/v2/AdministrationItem/VerifyIntegration/".concat(t),void 0,n)},...a}})(e),o[0]=e,o[1]=a):a=o[1];let r=a;return(0,i.n)(r,t)}},2890:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>N});var n=a(6029),i=a(75155),o=a(72091),s=a(6688),r=a(35197),l=a(38312),m=a(46232),u=a(43613),c=a(55729),d=a(58534);let h=new Map([["bold",c.createElement(c.Fragment,null,c.createElement("path",{d:"M216,36H40A20,20,0,0,0,20,56V160a20,20,0,0,0,20,20H216a20,20,0,0,0,20-20V56A20,20,0,0,0,216,36Zm-4,120H44V60H212Zm24,52a12,12,0,0,1-12,12H32a12,12,0,0,1,0-24H224A12,12,0,0,1,236,208ZM104,128V88a12,12,0,0,1,18.36-10.18l32,20a12,12,0,0,1,0,20.36l-32,20A12,12,0,0,1,104,128Z"}))],["duotone",c.createElement(c.Fragment,null,c.createElement("path",{d:"M216,48H40a8,8,0,0,0-8,8V168a8,8,0,0,0,8,8H216a8,8,0,0,0,8-8V56A8,8,0,0,0,216,48ZM112,144V80l48,32Z",opacity:"0.2"}),c.createElement("path",{d:"M164.44,105.34l-48-32A8,8,0,0,0,104,80v64a8,8,0,0,0,12.44,6.66l48-32a8,8,0,0,0,0-13.32ZM120,129.05V95l25.58,17ZM216,40H40A16,16,0,0,0,24,56V168a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,128H40V56H216V168Zm16,40a8,8,0,0,1-8,8H32a8,8,0,0,1,0-16H224A8,8,0,0,1,232,208Z"}))],["fill",c.createElement(c.Fragment,null,c.createElement("path",{d:"M232,208a8,8,0,0,1-8,8H32a8,8,0,0,1,0-16H224A8,8,0,0,1,232,208Zm0-152V168a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Zm-68,56a8,8,0,0,0-3.41-6.55l-40-28A8,8,0,0,0,108,84v56a8,8,0,0,0,12.59,6.55l40-28A8,8,0,0,0,164,112Z"}))],["light",c.createElement(c.Fragment,null,c.createElement("path",{d:"M163.33,107l-48-32A6,6,0,0,0,106,80v64a6,6,0,0,0,9.33,5l48-32a6,6,0,0,0,0-10ZM118,132.79V91.21L149.18,112ZM216,42H40A14,14,0,0,0,26,56V168a14,14,0,0,0,14,14H216a14,14,0,0,0,14-14V56A14,14,0,0,0,216,42Zm2,126a2,2,0,0,1-2,2H40a2,2,0,0,1-2-2V56a2,2,0,0,1,2-2H216a2,2,0,0,1,2,2Zm12,40a6,6,0,0,1-6,6H32a6,6,0,0,1,0-12H224A6,6,0,0,1,230,208Z"}))],["regular",c.createElement(c.Fragment,null,c.createElement("path",{d:"M164.44,105.34l-48-32A8,8,0,0,0,104,80v64a8,8,0,0,0,12.44,6.66l48-32a8,8,0,0,0,0-13.32ZM120,129.05V95l25.58,17ZM216,40H40A16,16,0,0,0,24,56V168a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,128H40V56H216V168Zm16,40a8,8,0,0,1-8,8H32a8,8,0,0,1,0-16H224A8,8,0,0,1,232,208Z"}))],["thin",c.createElement(c.Fragment,null,c.createElement("path",{d:"M162.22,108.67l-48-32A4,4,0,0,0,108,80v64a4,4,0,0,0,2.11,3.53,4,4,0,0,0,4.11-.2l48-32a4,4,0,0,0,0-6.66ZM116,136.53V87.47L152.79,112ZM216,44H40A12,12,0,0,0,28,56V168a12,12,0,0,0,12,12H216a12,12,0,0,0,12-12V56A12,12,0,0,0,216,44Zm4,124a4,4,0,0,1-4,4H40a4,4,0,0,1-4-4V56a4,4,0,0,1,4-4H216a4,4,0,0,1,4,4Zm8,40a4,4,0,0,1-4,4H32a4,4,0,0,1,0-8H224A4,4,0,0,1,228,208Z"}))]]),b=c.forwardRef((e,t)=>
1c.createElement(d.A,{ref:t,...e,weights:h}));b.displayName="VideoIcon";var p=a(70429),x=a(90944),g=a(1909),y=a(44981),A=a(21941),k=a(16531),f=a(82203),v=a.n(f),T=a(2155),j=a(8013),w=a(46831);let H=e=>{let{hasSubmitted:t,setHasSubmitted:a}=e,[i,r]=(0,c.useState)(!1),u=(0,c.useRef)(null),{mutateAsync:d}=(0,T.Dr)(),{t:h}=(0,x.WD)(),b=(0,j.jL)(),p=A.Ik().shape({firstName:A.Yj().required("First name is required"),lastName:A.Yj().required("Last name is required"),email:A.Yj().email().required("Email is required"),businessName:A.Yj().required("Business name is required")}),f=(0,g.mN)({defaultValues:{firstName:"",lastName:"",email:"",businessName:"",phone:""},resolver:(0,y.t)(p),context:{enterManually:i},mode:"all"}),{reset:H,watch:V,control:M,setValue:N,getValues:Z,handleSubmit:E,formState:{isSubmitting:_,isValid:I,errors:q}}=f,S=async e=>{await d({data:{businessName:e.businessName,firstName:e.firstName,lastName:e.lastName,email:e.email,phone:e.phone}}).then(()=>{a(!0),b((0,w.kw)("success",h("speakToTheTeam.thankYouForSubmittingYourEnquiry","Thank you for submitting your enquiry!"))),window.scrollTo(0,0)}).catch(()=>{})};return(0,n.jsx)(k.Op,{methods:f,children:(0,n.jsxs)(o.A,{spacing:3,ref:u,sx:{mt:2},children:[(0,n.jsx)(l.A,{}),(0,n.jsxs)(o.A,{spacing:3,sx:{},children:[(0,n.jsxs)(o.A,{spacing:2,children:[(0,n.jsx)(k.o3,{name:"firstName",label:h("vocab.firstName","First Name")+" *"}),(0,n.jsx)(k.o3,{name:"lastName",label:h("vocab.lastName","Last Name")+" *"}),(0,n.jsx)(k.o3,{name:"businessName",placeholder:h("vocab.businessName","Business Name")+" *",label:h("vocab.businessName","Business Name")+" *"}),(0,n.jsx)(k.o3,{name:"email",label:h("vocab.email","Email")+" *"}),(0,n.jsx)(k.pX,{name:"phone",placeholder:h("vocab.phone","Phone"),label:h("vocab.phone","Phone")}),(0,n.jsx)(k.o3,{name:"message",label:h("vocab.message","Message"),multiline:!0,minRows:3})]}),(0,n.jsx)(m.A,{variant:"contained",color:"secondary",size:"large",onClick:E(S),disabled:!I,loading:_,children:h("vocab.submit","Submit")}),(0,n.jsxs)(s.A,{variant:"caption",sx:{lineHeight:"14px"},children:[h("vocab.bySubmittingYouAreAgreeingToTheBikebook","By submitting you are agreeing to the bikebook")," ",(0,n.jsx)(v(),{href:"/terms",style:{textDecoration:"underline"},children:h("vocab.termsAndConditions","terms and conditions")})," ",h("vocab.andAcknowledgeOur","and acknowledge our")," ",(0,n.jsx)(v(),{href:"/terms",style:{textDecoration:"underline"},children:h("vocab.privacyStatement","privacy statement")}),"."]})]})]})})};var V=a(81278),M=a(89783);let N=()=>{let e,t,a,d,h,g,y,A,k,f,v=(0,i.c)(21),[T,j]=(0,c.useState)(!1);(0,V.useRouter)();let{t:w}=(0,x.WD)();return v[0]!==w?(e=w("speakToTheTeam.title","Speak to the team | Bikebook"),v[0]=w,v[1]=e):e=v[1],v[2]!==w?(t=w("speakToTheTeam.description","Speak to the bikebook team about getting listed on Bikebook or about our workshop tool."),v[2]=w,v[3]=t):t=v[3],v[4]===Symbol.for("react.memo_cache_sentinel")?(a={overflow:"hidden"},v[4]=a):a=v[4],v[5]===Symbol.for("react.memo_cache_sentinel")?(d={},v[5]=d):d=v[5],v[6]===Symbol.for("react.memo_cache_sentinel")?(h={py:6,mb:3},v[6]=h):h=v[6],v[7]===Symbol.for("react.memo_cache_sentinel")?(g={minHeight:"300px",boxShadow:"rgb(0 0 0 / 7%) 0px 0px 0px 1px,rgb(0 0 0 / 5%) 0px 2px 4px 0px,rgb(0 0 0 / 5%) 0px 12px 24px 0px",border:"2px solid #DEA833",borderRadius:"8px",p:{xs:2,sm:3},display:"flex",justifyContent:"center",textAlign:"center",background:"white"},v[7]=g):g=v[7],v[8]!==T||v[9]!==w?(y=!T&&(0,n.jsxs)(o.A,{spacing:1,alignItems:"center",children:[(0,n.jsx)("img",{src:"https://cdn.bikebook.co.uk/branding/new-bikebook/SVGs/BIKEBOOK%20LOGO%202024-01.svg",style:{objectFit:"cover",objectPosition:"center",margin:"0"},width:300,height:60}),(0,n.jsx)(s.A,{variant:"h3",sx:{fontWeight:"900"},color:"primary",children:w("speakToTheTeam.titleHeader","Speak to one of the team")})," ",(0,n.jsx)(s.A,{variant:"subtitle2",sx:{fontWeight:"700"},children:w("speakToTheTeam.descriptionHeader","Please provide your details and one of the team will get back to you as soon as possible.")})," ",(0,n.jsx)(H,{setHasSubmitted:j,hasSubmitted:T}),(0,n.jsx)(r.A,{sx:{width:"100%"},children:(0,n.jsx)(l.A,{sx:{width:"100%",my:3},children:"or"})}),(0,n.jsxs)(o.A,{direction:"column",spacing:2,sx:{width:"100%"},children:[(0,n.jsx)(m.A,{size:"large",variant:"outlined",color:"primary",fullWidth:!0,startIcon:(0,n.jsx)(b,{}),onClick:Z,children:w("speakToTheTeam.bookADemonstration","Book a demonstration (30 minutes)")})," ",(0,n.jsx)(m.A,{size:"large",variant:"contained",color:"primary",fullWidth:!0,startIcon:(0,n.jsx)(p.V,{}),onClick:E,children:w("speakToTheTeam.meetWithTheBikebookTeam","Meet with the bikebook team")})]})]}),v[8]=T,v[9]=w,v[10]=y):y=v[10],v[11]!==T||v[12]!==w?(A=T&&(0,n.jsxs)(o.A,{spacing:2,alignItems:"center",children:[(0,n.jsx)("img",{src:"https://cdn.bikebook.co.uk/branding/new-bikebook/SVGs/BIKEBOOK%20LOGO%202024-01.svg",style:{objectFit:"cover",objectPosition:"center",margin:"0"},width:300,height:60}),(0,n.jsx)(s.A,{variant:"h3",sx:{fontWeight:"900"},color:"primary",children:w("speakToTheTeam.successfullySubmittedRequest","You have successfully submitted your request!")})," ",(0,n.jsx)(s.A,{variant:"subtitle1",sx:{fontWeight:"700"},children:w("speakToTheTeam.weWillGetBackToYou","We will get back to you as soon as possible.")})," ",(0,n.jsx)(s.A,{variant:"body2",sx:{},children:w("speakToTheTeam.youCanAlsoBookADemonstration","You can also book a demonstration with the team with the buttons at the bottom of the page.")}),(0,n.jsx)(r.A,{sx:{width:"100%"},children:(0,n.jsx)(l.A,{sx:{width:"100%",my:2},children:"or"})}),(0,n.jsxs)(o.A,{direction:"column",spacing:2,sx:{width:"100%"},children:[(0,n.jsx)(m.A,{size:"large",variant:"outlined",color:"primary",fullWidth:!0,startIcon:(0,n.jsx)(b,{}),onClick:_,children:w("speakToTheTeam.bookADemonstration","Book a demonstration (30 minutes)")})," ",(0,n.jsx)(m.A,{size:"large",variant:"contained",color:"primary",fullWidth:!0,startIcon:(0,n.jsx)(p.V,{}),onClick:I,children:w("speakToTheTeam.meetWithTheBikebookTeam","Meet with the bikebook team")})]})]}),v[11]=T,v[12]=w,v[13]=A):A=v[13],v[14]!==y||v[15]!==A?(k=(0,n.jsx)(u.A,{sx:d,maxWidth:"sm",children:(0,n.jsx)(r.A,{sx:h,children:(0,n.jsxs)(r.A,{sx:g,children:[y," ",A]})})}),v[14]=y,v[15]=A,v[16]=k):k=v[16],v[17]!==e||v[18]!==t||v[19]!==k?(f=(0,n.jsx)(M.A,{title:e,className:"patterned-background-bikebook",description:t,style:a,children:k}),v[17]=e,v[18]=t,v[19]=k,v[20]=f):f=v[20],f};function Z(){window.open("https://calendar.app.google/bccV7YymQCCCgXsV8","_blank")}function E(){window.open("https://calendar.app.google/bccV7YymQCCCgXsV8","_blank")}function _(){window.open("https://calendar.app.google/bccV7YymQCCCgXsV8","_blank")}function I(){window.open("https://calendar.app.google/bccV7YymQCCCgXsV8","_blank")}},82952:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/speak-to-the-team",function(){return a(2890)}])}},e=>{e.O(0,[1474,8600,3761,1909,737,9610,4454,299,4148,5328,6531,6593,636,8792],()=>e(e.s=82952)),_N_E=e.O()}]); 2//# sourceMappingURL=speak-to-the-team-c966d768a3464d4d.js.map
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.