PageSourceSearch

https://fittr.com/_next/static/chunks/pages/get-free-consultation-4e7c88de6c6a51e6.js

js fittr.com collected 2026-10-01 11:54:34 UTC 28,782 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2421],{31071:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/get-free-consultation",function(){return n(23859)}])},81495:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var i=n(32994),a=n(48601);function o(){const{translate:e}=(0,i.n)();return{validateGender:()=>a.Z_().typeError(e("validations.gender.typeError")).required(e("validations.gender.required")),validateExercise:()=>a.Z_().required(e("validations.exercise.required")),validateHeight:()=>a.Rx().nullable().typeError(e("validations.height.typeError")).required(e("validations.height.required")).min(1,e("validations.height.min")).max(999,e("validations.height.max")),validateFt:()=>a.Rx().nullable().typeError(e("validations.ft.typeError")).required(e("validations.ft.required")).min(1,e("validations.ft.min")).max(25,e("validations.ft.max")),validateInches:()=>a.Rx().typeError(e("validations.inch.typeError")).required(e("validations.inch.required")).min(0,e("validations.inch.min")).max(12,e("validations.inch.max")),validateWeight:()=>a.Rx().typeError(e("validations.weight.typeError")).required(e("validations.weight.required")).min(1,e("validations.weight.min")).max(999,e("validations.weight.max")),validateAge:()=>a.Rx().typeError(e("validations.age.typeError")).required(e("validations.age.required")).min(1,e("validations.age.min")).max(100,e("validations.age.max")),validateFatPercentage:()=>a.Rx().typeError(e("validations.fatPercentage.typeError")).required(e("validations.fatPercentage.required")).min(1,e("validations.fatPercentage.min")).max(99,e("validations.fatPercentage.max")),validateWaist:()=>a.Rx().typeError(e("validations.waist.typeError")).required(e("validations.waist.required")),validateNeck:()=>a.Rx().typeError(e("validations.neck.typeError")).required(e("validations.neck.required")),validateRepetion:()=>a.Rx().typeError(e("validations.repetitions.typeError")).required(e("validations.repetitions.required")).min(1,e("validations.repetitions.min")).max(999,e("validations.repetitions.max")),validateUserName:()=>a.Z_().required("Name is required").min(2,"Name should be minimum of 2 characters").max(20,"Name should be of maximum 20 characters").matches(/^[a-zA-Z ]{2,20}$/,"Please enter your correct name!"),validateEmail:()=>a.Z_().required("Email is required").email("Email must be a valid email address").min(3,"Please enter a valid email").max(50,"Please enter a valid email").matches(/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,}$/,"Please enter a valid email"),validateCountryCode:()=>a.Z_().required("Country code is required").matches(/\+(\d{1,4})$/,"Please enter a valid country code"),validatePhoneNumber:(e,t)=>a.Z_().required("Mobile number is required").min(e,"Enter a valid number").max(t,"Enter a valid number").matches(/^[0-9]\d*$/,"Enter a valid number"),validateMessage:()=>a.Z_().nullable(!0).max(1e3).required("Message is required")}}},15262:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var i=n(52322),a=n(5632),o=n(42921),r=n(45376),s=n(93034);function l(e){let{children:t}=e;const{pathname:n}=(0,a.useRouter)(),l="/"===n;return(0,i.jsxs)(o.Z,{sx:{display:"flex",flexDirection:"column",height:1},children:[(0,i.jsx)(s.Z,{}),(0,i.jsx)(o.Z,{component:"main",sx:{flexGrow:1,...!l&&{pt:{xs:8,md:11}}},children:t}),(0,i.jsx)(r.Z,{})]})}},23859:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return le}});var i=n(52322),a=n(24469),o=n(50251),r=n(2784),s=n(79152),l=n(4214),c=n(5632),d=n(28404),u=n(291),x=n(64199),h=n(33927),m=n(17377),g=n(46484),p=n(69290),v=n(9587),f=n(32994),b=n(81837),Z=n(1888);const j=Z.Z.t("units.height.cm"),k=Z.Z.t("units.weight.kg"),y=Z.Z.t("units.weight.lbs"),w=Z.Z.t("units.height.ft"),_=[Z.Z.t("sections.stepper.label1"),Z.Z.t("sections.stepper.label2"),Z.Z.t("sections.stepper.label3"),Z.Z.t("sections.stepper.label4"),Z.Z.t("sections.stepper.label5"),Z.Z.t("sections.stepper.label6")],C=[{id:0,title:Z.Z.t("sections.getconsultation.goal.option1"),isChecked:!1},{id:1,title:Z.Z.t("sections.getconsultation.goal.option2"),isChecked:!1},{id:2,title:Z.Z.t("sections.getconsultation.goal.option3"),isChecked:!1}
1,{id:3,title:Z.Z.t("sections.getconsultation.goal.option4"),isChecked:!1},{id:4,title:Z.Z.t("sections.getconsultation.goal.option5"),isChecked:!1},{id:5,title:Z.Z.t("sections.getconsultation.goal.option6"),isChecked:!1}],E=[{index:0,value:j},{index:1,value:w}],S=[{index:0,value:k},{index:1,value:y}],N=[{id:0,title:Z.Z.t("sections.getconsultation.gender.option1")},{id:1,title:Z.Z.t("sections.getconsultation.gender.option2")},{id:2,title:Z.Z.t("sections.getconsultation.gender.option3")}],P=[{title:Z.Z.t("sections.talktoexpert.support.phone.title"),icon:"/assets/icons/talk-to-expert/phone.svg"},{title:Z.Z.t("sections.talktoexpert.support.info.title"),icon:"/assets/icons/talk-to-expert/info.svg"},{title:Z.Z.t("sections.talktoexpert.support.doubt.title"),icon:"/assets/icons/talk-to-expert/doubt.svg"}],F=[68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,89,88,87,86,85,84,83,82,81,80,79,78,77,76,75,74,73,72,71,70,69,68,67,66,65,64,63,62];var R=n(62197),T=n(42921),B=n(41075),I=n(52616),L=n(61035),q=n(8204),O=n(11724),G=n(15262);function D(e){let{selectGoals:t,goalsArray:n,activeStep:o,valuesProvided:r,handleNext:s,handleBack:l}=e;const{translate:c}=(0,f.n)();return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(m.Z,{sx:{paddingTop:{md:3,xs:0},my:3,width:{md:"582px",xs:"343px"},margin:"auto",background:"#fff",borderRadius:"16px",border:{md:"2px solid #DFE3E8",xs:"none"}},children:[(0,i.jsxs)(R.Z,{variant:"overline",sx:{margin:{md:5,xs:0}},children:[" ","STEP ",o+1," OF ",_.length]}),(0,i.jsxs)(a.Z,{sx:{paddingLeft:{md:"16px",xs:0},paddingRight:{md:"16px",xs:0}},children:[(0,i.jsxs)(T.Z,{sx:{margin:{md:2,xs:0}},children:[(0,i.jsx)(R.Z,{variant:"h2",sx:{marginTop:"5px"},children:c("sections.getconsultation.goal.title")}),(0,i.jsx)(R.Z,{variant:"body1",sx:{marginTop:"10px"},children:c("sections.getconsultation.goal.subtitle")}),(0,i.jsx)(R.Z,{variant:"body1",sx:{marginTop:"35px",marginBottom:{md:0,xs:3}},children:c("sections.getconsultation.goal.option")})]}),(0,i.jsx)(T.Z,{sx:{margin:{md:2,xs:0}},mb:5,children:(0,i.jsx)(B.ZP,{container:!0,flexDirection:"column",children:n.map((e=>(0,i.jsx)(I.Z,{value:e.id,sx:{margin:"0px"},control:(0,i.jsxs)(B.ZP,{item:!0,display:"flex",alignItems:"center","justify-content":"flex-start",md:12,sx:{width:"100%",height:"56px",borderRadius:"8px",border:"1px solid rgba(145, 158, 171, 0.24)",padding:"5px",marginBottom:"13px","&:hover":{border:"1px solid #2D3142"}},children:[(0,i.jsx)(L.Z,{value:e.title,name:e.title,color:"primary",checked:e.isChecked,onChange:e=>t(e)}),(0,i.jsx)(R.Z,{variant:"subtitle1",children:e.title})]},e.id),label:""},e.id)))})})]})]}),(0,i.jsxs)(T.Z,{sx:{display:"flex",width:{md:582},margin:"auto",marginTop:"15px"},children:[(0,i.jsx)(q.Z,{color:"inherit",disabled:0===o,onClick:l,sx:{mr:1},children:"Back"}),(0,i.jsx)(T.Z,{sx:{flexGrow:1}}),(0,i.jsx)(q.Z,{variant:"contained",disabled:!r,endIcon:(0,i.jsx)(O.Z,{icon:"ic:round-arrow-right-alt"}),onClick:s,children:o===_.length-1?"Book your free consultation":"Next"})]})]})}D.getLayout=e=>(0,i.jsx)(G.Z,{children:e});var A=n(94380),W=n(43693),U=n(81495),V=n(6812),z=n(48601),M=n(63955);function Q(e){let{setConsultationObject:t,consultationObject:n,activeStep:o,handleNext:s,handleBack:l}=e;const{translate:c}=(0,f.n)(),[d,u]=(0,r.useState)(j),{validateHeight:g,validateFt:p,validateInches:v}=(0,U.Z)(),b=z.Ry().shape({height:z.Rx().when("heightUnit",{is:()=>d===j,then:()=>g()}),ft:z.Rx().when("heightUnit",{is:()=>d===w,then:()=>p()}),inch:z.Rx().when("heightUnit",{is:()=>d===w,then:()=>v()})}),Z=(0,M.cI)({resolver:(0,V.X)(b)}),{handleSubmit:k}=Z;return(0,i.jsxs)(W.ZP,{methods:Z,onSubmit:k((async e=>{const i=Number(e.height),a=Number(e.ft),o=Number(e.inch),r=d===j?i/100||0:Number(.3048*a+.0254*o||0);t({...n,height:r}),s(),(0,x.oQ)(x.cg.height,r.toString())})),children:[(0,i.jsxs)(m.Z,{sx:{paddingTop:{md:3,xs:0},my:3,width:{md:"582px",xs:"343px"},margin:"auto",background:"#fff",borderRadius:"16px",border:{md:"2px solid #DFE3E8",xs:"none"}},children:[(0,i.jsxs)(R.Z,{variant:"overline",sx:{margin:{md:5,xs:0}},children:[" ","STEP ",o+1," OF ",_.length]}),(0,i.jsx)(a.Z,{sx:{paddingLeft:{md:"16px",xs:0},paddingRight:{md:"16px",xs:0}},children:(0,i.jsxs)(T.Z,{sx:{margin:{md:2,xs:0}},children:[(0,i.jsx)(R.Z,{variant:"h2",sx:{marginTop:"5px",fontWeight:700,lineHeight:"64px"},children:c("sections.getconsultation.height.title")}),(0,i.jsx)(R.Z,{variant:"body1",sx:{marginTop:"10px"},children:c("sections.getconsultation.height.subtitle")}),(0,i.jsxs)(h.Z,{direction:{xs:"row",sm:"row"},mt:4,mb:5,spacing:2,children:[d===j?(0,i.jsx)(W.au,{autoFocus:!0,name:"height",type:"text",label:c("sections.getconsultation.height.heightlabel"),sx:{width:{xs:"100%",md:"100%"}}}):(0,i.jsxs)(h.Z,{direction:{xs:"column",sm:"row"},mb:3,spacing:1,children:[(0,i.jsx)(W.au,{fullWidth:!0,name:"ft",type:"text",label:c("sections.getconsultation.height.unitLabelFt"),sx:{width:{xs:"100%",md:"100%"},maxWidth:"100%"}}),(0,i.jsx)(W.au,{fullWidth:!0,name:"inch",type:"text",label:c("sections.getconsultation.height.unitLabelInch"),sx:{width:{xs:"100%",md:"100%"}}})]}),(0,i.jsx)(W.Cc,{name:"heightUnit",value:d,label:c("sections.getconsultation.height.unitLabel"),InputLabelProps:{shrink:!0},sx:{width:{xs:"50%",md:"20%"}},children:E.map((e=>(0,i.jsx)(A.Z,{value:e.value,selected:e.value===j,onClick:()=>{return t=e.value,void u(t);var t},children:e.value},e.value)))})]})]})})]}),(0,i.jsxs)(T.Z,{sx:{display:"flex",width:{md:582}
1,margin:"auto",marginTop:"15px"},children:[(0,i.jsx)(q.Z,{color:"inherit",disabled:0===o,onClick:l,sx:{mr:1},children:"Back"}),(0,i.jsx)(T.Z,{sx:{flexGrow:1}}),(0,i.jsx)(q.Z,{variant:"contained",endIcon:(0,i.jsx)(O.Z,{icon:"ic:round-arrow-right-alt"}),type:"submit",children:o===_.length-1?"Book your free consultation":"Next"})]})]})}function X(e){let{handleNext:t,handleBack:n,activeStep:o,setConsultationObject:s,consultationObject:l}=e;const{translate:c}=(0,f.n)(),[d,u]=(0,r.useState)(k),{validateWeight:g}=(0,U.Z)(),p=z.Ry().shape({weight:g()}),v=(0,M.cI)({resolver:(0,V.X)(p)}),{handleSubmit:b}=v;return(0,i.jsxs)(W.ZP,{methods:v,onSubmit:b((async e=>{const n=Number(e.weight),i="kg"===d?n:Number(n/2.2).toFixed(2);s({...l,weight:i}),t(),(0,x.oQ)(x.cg.weight,i.toString())})),children:[(0,i.jsxs)(m.Z,{sx:{paddingTop:{md:3,xs:0},my:3,width:{md:"582px",xs:"343px"},margin:"auto",background:"#fff",borderRadius:"16px",border:{md:"2px solid #DFE3E8",xs:"none"}},children:[(0,i.jsxs)(R.Z,{variant:"overline",sx:{margin:{md:5,xs:0}},children:[" ","STEP ",o+1," OF ",_.length]}),(0,i.jsx)(a.Z,{sx:{paddingLeft:{md:"16px",xs:0},paddingRight:{md:"16px",xs:0}},children:(0,i.jsxs)(T.Z,{sx:{margin:{md:2,xs:0}},children:[(0,i.jsx)(R.Z,{variant:"h2",sx:{marginTop:"5px",fontWeight:700,lineHeight:"64px"},children:c("sections.getconsultation.weight.title")}),(0,i.jsx)(R.Z,{variant:"body1",sx:{marginTop:"10px"},children:c("sections.getconsultation.weight.subtitle")}),(0,i.jsxs)(h.Z,{direction:{xs:"row",sm:"row"},mt:4,mb:5,spacing:2,children:[(0,i.jsx)(W.au,{autoFocus:!0,name:"weight",type:"text",label:c("sections.getconsultation.weight.weightlabel"),sx:{width:{xs:"100%",md:"100%"}}}),(0,i.jsx)(W.Cc,{name:"unitWeight",label:c("sections.tools.bmr.unit"),InputLabelProps:{shrink:!0},value:d,sx:{width:{xs:"50%",md:"20%"}},children:S.map((e=>(0,i.jsx)(A.Z,{value:e.value,selected:e.value===k,onClick:()=>{return t=e.value,void u(t);var t},children:e.value},e.value)))})]})]})})]}),(0,i.jsxs)(T.Z,{sx:{display:"flex",width:{md:582},margin:"auto",marginTop:"15px"},children:[(0,i.jsx)(q.Z,{color:"inherit",disabled:0===o,onClick:n,sx:{mr:1},children:"Back"}),(0,i.jsx)(T.Z,{sx:{flexGrow:1}}),(0,i.jsx)(q.Z,{variant:"contained",endIcon:(0,i.jsx)(O.Z,{icon:"ic:round-arrow-right-alt"}),type:"submit",children:o===_.length-1?"Book your free consultation":"Next"})]})]})}Q.getLayout=e=>(0,i.jsx)(G.Z,{children:e}),X.getLayout=e=>(0,i.jsx)(G.Z,{children:e});var H=n(35469);function $(e){let{handleNext:t,handleBack:n,activeStep:o,setConsultationObject:r,consultationObject:s}=e;const{translate:l}=(0,f.n)(),{validateAge:c}=(0,U.Z)(),d=z.Ry().shape({age:c()}),u=(0,M.cI)({resolver:(0,V.X)(d)}),{handleSubmit:g}=u;return(0,i.jsxs)(W.ZP,{methods:u,onSubmit:g((async e=>{r({...s,age:e.age}),(0,x.oQ)(x.cg.age,e.age),t()})),children:[(0,i.jsxs)(m.Z,{sx:{paddingTop:{md:3,xs:0},my:3,width:{md:"582px",xs:"343px"},margin:"auto",background:"#fff",borderRadius:"16px",border:{md:"2px solid #DFE3E8",xs:"none"}},children:[(0,i.jsxs)(R.Z,{variant:"overline",sx:{margin:{md:5,xs:0}},children:[" ","STEP ",o+1," OF ",_.length]}),(0,i.jsx)(a.Z,{sx:{paddingLeft:{md:"16px",xs:0},paddingRight:{md:"16px",xs:0}},children:(0,i.jsxs)(T.Z,{sx:{margin:{md:2,xs:0}},children:[(0,i.jsx)(R.Z,{variant:"h2",sx:{marginTop:"5px",fontWeight:700,lineHeight:"64px"},children:l("sections.getconsultation.age.title")}),(0,i.jsx)(R.Z,{variant:"body1",sx:{marginTop:"10px"},children:l("sections.getconsultation.age.subtitle")}),(0,i.jsx)(h.Z,{direction:{xs:"column",sm:"row"},mt:4,mb:5,spacing:2,children:(0,i.jsx)(W.au,{autoFocus:!0,name:"age",type:"text",label:l("sections.getconsultation.age.agelabel"),InputProps:{endAdornment:(0,i.jsx)(H.Z,{position:"end",children:"years"})}})})]})})]}),(0,i.jsxs)(T.Z,{sx:{display:"flex",width:{md:582},margin:"auto",marginTop:"15px"},children:[(0,i.jsx)(q.Z,{color:"inherit",disabled:0===o,onClick:n,sx:{mr:1},children:"Back"}),(0,i.jsx)(T.Z,{sx:{flexGrow:1}}),(0,i.jsx)(q.Z,{variant:"contained",endIcon:(0,i.jsx)(O.Z,{icon:"ic:round-arrow-right-alt"}),type:"submit",children:o===_.length-1?"Book your free consultation":"Next"})]})]})}$.getLayout=e=>(0,i.jsx)(G.Z,{children:e});var K=n(95319),Y=n(81676);function J(e){let{selectGender:t,selectedValue:n,handleNext:o,handleBack:r,activeStep:s,valuesProvi
1ded:l}=e;const{translate:c}=(0,f.n)();return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(m.Z,{sx:{paddingTop:{md:3,xs:0},my:3,width:{md:"582px",xs:"343px"},margin:"auto",background:"#fff",borderRadius:"16px",border:{md:"2px solid #DFE3E8",xs:"none"}},children:[(0,i.jsxs)(R.Z,{variant:"overline",sx:{margin:{md:5,xs:0}},children:[" ","STEP ",s+1," OF ",_.length]}),(0,i.jsxs)(a.Z,{sx:{paddingLeft:{md:"16px",xs:0},paddingRight:{md:"16px",xs:0},paddingBottom:{md:3,xs:0}},children:[(0,i.jsxs)(T.Z,{sx:{margin:{md:2,xs:0}},children:[(0,i.jsx)(R.Z,{variant:"h2",sx:{marginTop:"5px",fontWeight:700,lineHeight:"64px"},children:c("sections.getconsultation.gender.title")}),(0,i.jsx)(R.Z,{variant:"body1",sx:{marginTop:"10px"},children:c("sections.getconsultation.gender.subtitle")}),(0,i.jsx)(R.Z,{variant:"body1",sx:{marginTop:"30px",marginBottom:{md:0,xs:2}},children:c("sections.getconsultation.gender.option")})]}),(0,i.jsx)(T.Z,{sx:{paddingLeft:{md:3,xs:2}},mb:3,children:(0,i.jsx)(B.ZP,{container:!0,flexDirection:"column",children:N.map((e=>(0,i.jsx)(K.Z,{value:n,onChange:t,children:(0,i.jsx)(I.Z,{value:e.title,label:"",labelPlacement:"end",control:(0,i.jsxs)(B.ZP,{item:!0,display:"flex",alignItems:"center","justify-content":"flex-start",md:12,sx:{width:"100%",height:"56px",borderRadius:"8px",border:"1px solid rgba(145, 158, 171, 0.24)",padding:"5px",marginBottom:"14px","&:hover":{border:"1px solid #2D3142"}},children:[(0,i.jsx)(Y.Z,{value:e.title,size:"medium"}),(0,i.jsx)(R.Z,{children:e.title})]},e.title)})})))})})]})]}),(0,i.jsxs)(T.Z,{sx:{display:"flex",width:{md:582},margin:"auto",marginTop:"15px"},children:[(0,i.jsx)(q.Z,{color:"inherit",disabled:0===s,onClick:r,sx:{mr:1},children:"Back"}),(0,i.jsx)(T.Z,{sx:{flexGrow:1}}),(0,i.jsx)(q.Z,{variant:"contained",disabled:!l,endIcon:(0,i.jsx)(O.Z,{icon:"ic:round-arrow-right-alt"}),onClick:()=>o(),children:s===_.length-1?"Book your free consultation":"Next"})]})]})}J.getLayout=e=>(0,i.jsx)(G.Z,{children:e});var ee=n(49354),te=n(16962);function ne(e){let{activeStep:t,handleNext:n,handleBack:o}=e;var s,l;const{translate:c}=(0,f.n)(),[d,u]=(0,r.useState)(te.T0),{validateUserName:x,validateEmail:g,validateCountryCode:p,validatePhoneNumber:v}=(0,U.Z)(),b=z.Ry().shape({name:x(),email:g(),countryCode:p(),phone:v(null===(s=d)||void 0===s?void 0:s.min_digit,null===(l=d)||void 0===l?void 0:l.max_digit)}),Z=(0,M.cI)({resolver:(0,V.X)(b)}),{handleSubmit:j}=Z;return(0,i.jsxs)(W.ZP,{methods:Z,onSubmit:j(n),children:[(0,i.jsxs)(m.Z,{sx:{paddingTop:{md:3,xs:0},my:3,width:{md:"582px",xs:"343px"},margin:"auto",background:"#fff",borderRadius:"16px",border:{md:"2px solid #DFE3E8",xs:"none"}},children:[(0,i.jsxs)(R.Z,{variant:"overline",sx:{margin:{md:5,xs:0}},children:[" ","STEP ",t+1," OF ",_.length]}),(0,i.jsx)(a.Z,{sx:{paddingLeft:{md:"16px",xs:0},paddingRight:{md:"16px",xs:0}},children:(0,i.jsxs)(T.Z,{sx:{margin:{md:2,xs:0}},children:[(0,i.jsx)(R.Z,{variant:"h2",children:c("sections.getconsultation.finalStep.title")}),(0,i.jsx)(R.Z,{variant:"body1",mt:2,children:c("sections.getconsultation.finalStep.subtitle")}),(0,i.jsxs)(h.Z,{spacing:3,sx:{marginTop:4},children:[(0,i.jsx)(W.au,{name:"name",autoFocus:!0,label:c("sections.contactus.contactform.nameLabel")}),(0,i.jsx)(W.au,{fullWidth:!0,name:"email",label:c("sections.contactus.contactform.emailLabel")}),(0,i.jsx)(ee.Z,{phoneNumberFormId:"phone",countryCodeFormId:"countryCode",setSelectedCountry:u})]})]})}),(0,i.jsx)(h.Z,{spacing:2,direction:{md:"row",xs:"column"},sx:{marginTop:{xs:3,md:5},padding:{md:"0px 47px",xs:"0px"}},children:P.map((e=>(0,i.jsxs)(h.Z,{spacing:1,direction:"row",alignItems:"center",justifyContent:{xs:"flex-start",md:"center"},children:[(0,i.jsx)("img",{alt:e.title,src:e.icon,width:20,height:20}),(0,i.jsx)(R.Z,{variant:"caption",sx:{color:"#4D5164"},children:e.title})]},e.title)))}),(0,i.jsx)(h.Z,{sx:{background:"#F2F5FA",height:36,borderRadius:{md:"0px 0px 14px 14px",xs:"0px"},marginTop:4.4},children:(0,i.jsx)(R.Z,{variant:"caption",sx:{margin:"auto",color:"#4D5164"},children:c("sections.talktoexpert.caption")})})]}),(0,i.jsxs)(T.Z,{sx:{display:"flex",width:{md:582}
1,margin:"auto",marginTop:"15px"},children:[(0,i.jsx)(q.Z,{color:"inherit",disabled:0===t,onClick:o,sx:{mr:1},children:"Back"}),(0,i.jsx)(T.Z,{sx:{flexGrow:1}}),(0,i.jsx)(q.Z,{variant:"contained",endIcon:(0,i.jsx)(O.Z,{icon:"ic:round-arrow-right-alt"}),type:"submit",children:t===_.length-1?"Book your free consultation":"Next"})]})]})}function ie(){const{push:e}=(0,c.useRouter)(),{translate:t}=(0,f.n)(),{enqueueSnackbar:n}=(0,u.Ds)(),[o,Z]=(0,r.useState)(0),[j,k]=(0,r.useState)(new Set),[y,w]=(0,r.useState)(C),[E,S]=(0,r.useState)(""),[N,P]=(0,r.useState)(!1),[R,T]=(0,r.useState)(!1),[B,I]=(0,r.useState)(!1),[L,q]=(0,r.useState)({goal:"",gender:"",age:0,height:0,weight:0});(0,r.useEffect)((()=>{P(!1),0===o&&R&&P(!0),4===o&&B&&P(!0)}),[o,R,B]);const O=e=>j.has(e),G=()=>{Z((e=>e-1))},A=i=>{let a=j;O(o)&&(a=new Set(a.values()),a.delete(o)),Z((e=>e+1)),k(a);const r=y.filter((e=>e.isChecked));if(0===o&&0===r.length&&(T(!1),P(!1),n(t("sections.validations.getFreeConsultation.selectGoal"),{variant:"error"}),Z(0)),0===o&&0!==r.length&&(0,x.oQ)(x.cg.goal,L.goal),4===o&&(0,x.oQ)(x.cg.gender,L.gender),5===o){(0,x.oQ)(x.cg.details,{name:i.name,email:i.email,countryCode:i.countryCode,phoneNumber:Number(i.phone)});const t=Number((Number(L.weight)/Number(L.height*L.height)).toFixed(0)),a=F[t],o={name:i.name,email:i.email,countryCode:i.countryCode,phoneNumber:Number(i.phone),message:"NA",preferences:{goal:L.goal,height:{value:L.height,inchesValue:0,type:"METER"},weight:{value:L.weight,unit:"KG"},age:L.age,gender:L.gender,fitscore:a}};if("undefined"!==typeof o){Z(5);const t=new d.c([d.R.CLEVERTAP]),i=void 0!==localStorage.getItem("url")&&null!==localStorage.getItem("url")&&""!==localStorage.getItem("url")?localStorage.getItem("url"):"",a=localStorage.getItem("referrer")||document.referrer;let r,c,u,h;if(void 0!==i&&null!==i&&""!==i){const e=new URL(i),t=new URLSearchParams(e.search);r=void 0!==t.get("utm_source")?t.get("utm_source"):"",c=void 0!==t.get("utm_campaign")?t.get("utm_campaign"):"",u=void 0!==t.get("utm_medium")?t.get("utm_medium"):"",h=void 0!==t.get("utm_content")?t.get("utm_content"):""}const m=(0,b.Z_)();t.trackEvent("w_book_consultation_clicked",{platform:m,Name:o.name,Email:o.email,Phone_Number:o.phoneNumber,CountryCode:o.countryCode,fitnessGoal:o.preferences.goal,height:o.preferences.height.value,heightUnit:o.preferences.height.type,bodyWeight:o.preferences.weight.value,bodyWeightUnit:o.preferences.weight.unit,age:o.preferences.age,gender:o.preferences.gender,is_user_logged_in:localStorage.getItem("fittr")?"yes":"no",utm_source:r,utm_campaign:c,utm_medium:u,utm_content:h,referer:a}),(0,s.hg)(o).then((i=>{1===i.data.statusCode.code&&(n(i.data.message),e(l.ko.thankyou),(0,x.v2)(),t.identify({Site:{Email:o.email,Name:o.name,Phone:o.countryCode+o.phoneNumber,countryCode:o.countryCode,mobileNumber:o.phoneNumber}}))}),(e=>{n(e.message,{variant:"error"})}))}}};return(0,i.jsx)(a.Z,{sx:{paddingLeft:{md:"16px",xs:0},paddingRight:{md:"16px",xs:0}},children:(0,i.jsx)(h.Z,{spacing:3,children:(0,i.jsxs)(m.Z,{sx:{width:"auto"},children:[(0,i.jsx)(g.Z,{activeStep:o,alternativeLabel:!0,sx:{marginBottom:"50px"},children:_.map(((e,t)=>{const n={},a={optional:void 0};return O(t)&&(n.completed=!1),(0,i.jsx)(p.Z,{...n,children:(0,i.jsx)(v.Z,{...a,children:e})},e)}))}),o===_.length?(0,i.jsx)("div",{}):(0,i.jsxs)(i.Fragment,{children:[0===o&&(0,i.jsx)(D,{selectGoals:e=>{var t;const{name:n,checked:i}=e.target,a=null===(t=y)||void 0===t?void 0:t.map((e=>e.title===n?{...e,isChecked:i}:e)),o=a.filter((e=>e.isChecked?e.title:"")).map((e=>e.title)).toString();w(a),T(!0),q({...L,goal:o})},goalsArray:y,valuesProvided:N,handleNext:A,handleBack:G,activeStep:o}),1===o&&(0,i.jsx)(Q,{consultationObject:L,setConsultationObject:q,handleNext:A,handleBack:G,activeStep:o}),2===o&&(0,i.jsx)(X,{consultationObject:L,setConsultationObject:q,handleNext:A,handleBack:G,activeStep:o}),3===o&&(0,i.jsx)($,{consultationObject:L,setConsultationObject:q,handleNext:A,handleBack:G,activeStep:o}),4===o&&(0,i.jsx)(J,{selectGender:e=>{const{value:t}=e.target;q({...L,gender:t}),S(t),I(!0)}
1,selectedValue:E,valuesProvided:N,handleNext:A,handleBack:G,activeStep:o}),5===o&&(0,i.jsx)(ne,{handleNext:A,handleBack:G,activeStep:o})]})]})})})}function ae(){return(0,i.jsx)(a.Z,{sx:{py:5},component:o.DG,children:(0,i.jsx)(ie,{})})}ne.getLayout=e=>(0,i.jsx)(G.Z,{children:e});var oe=n(51311),re=n(18180),se=n(57456);function le(){return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(oe.Z,{title:re.v9.title,description:re.v9.description,keywords:re.v9.keywords,canonical_url:se.j7+l.ko.getFreeConsultation,image_url:re.v9.image}),(0,i.jsx)(ae,{})]})}le.getLayout=e=>(0,i.jsx)(G.Z,{children:e})},49354:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var i=n(52322),a=n(2784),o=n(33927),r=n(32994),s=n(63955),l=n(16962),c=n(43693);function d(e){let{phoneNumberFormId:t,countryCodeFormId:n,setSelectedCountry:d,handlePhoneNumberChange:u,disabled:x}=e;const{translate:h}=(0,r.n)(),[m,g]=(0,a.useState)(l.T0),[p,v]=(0,a.useState)([]),[f,b]=(0,a.useState)(""),Z=p.map((e=>({id:e.id,label:"".concat((0,l.WB)(e.code)," ").concat(e.dial_code),code:e.code,dial_code:e.dial_code,min_digit:e.min_digit,max_digit:e.max_digit}))),{setValue:j}=(0,s.Gc)();return(0,a.useEffect)((()=>{(0,l.UT)().then((e=>{v(e)}))}),[]),(0,a.useEffect)((()=>{var e;"undefined"!==typeof d&&d(m),j(n,null===(e=m)||void 0===e?void 0:e.dial_code,{shouldValidate:!0})}),[n,m,d,j]),(0,i.jsxs)(o.Z,{direction:{xs:"row",sm:"row"},spacing:2,children:[(0,i.jsx)(c.Fl,{sx:{width:{xs:"68%"}},label:h("sections.contactus.contactform.countrycodeLabel"),name:n,autoSelect:!0,value:m,onChange:(e,t)=>
1g(t),inputValue:f,onInputChange:(e,t)=>b(t),options:Z,getOptionLabel:e=>{var t;return null===(t=e)||void 0===t?void 0:t.label},isOptionEqualToValue:(e,t)=>e.id===t.id,disabled:x||!1}),(0,i.jsx)(c.au,{name:t,type:"tel",onBlur:e=>u&&u(e),sx:{width:{xs:"57%",md:"95%"}},label:h("sections.contactus.contactform.mobilenumberLabel")})]})}},81837:function(e,t,n){"use strict";n.d(t,{IV:function(){return r},P3:function(){return o},YA:function(){return s},Z_:function(){return c},hs:function(){return l}});var i=n(1888),a=n(57456);const o=[{id:1,value:i.Z.t("pages.coaching.genderOption1")},{id:2,value:i.Z.t("pages.coaching.genderOption2")},{id:3,value:i.Z.t("pages.coaching.genderOption3")}],r=12,s={FITNESS:"fitness-and-nutrition"},l=(a.mS,e=>e.trim().toLowerCase().replace(/[^a-z0-9]|\s+|\r?\n|\r/gim," ").replace(/[^\w ]+/g,"").replace(/ +/g,"-").replace(/^-+|-+$/gm,"")),c=()=>{const e=navigator.userAgent;return/android|iphone|kindle|webOS|iPod|BlackBerry|IEMobile|Opera Mini|ipad/i.test(e)?"mobileWeb":"web"}},64199:function(e,t,n){"use strict";var i;n.d(t,{pR:function(){return f},Go:function(){return k},bU:function(){return y},cg:function(){return w},Yi:function(){return p},B_:function(){return i},Wm:function(){return g},IC:function(){return v},Bz:function(){return m},jz:function(){return b},k_:function(){return s},Eo:function(){return h},mc:function(){return r},Du:function(){return l},dr:function(){return c},oQ:function(){return d},v2:function(){return u},zn:function(){return x}}),function(e){e.buttonClicked="button_clicked",e.appDownloadClicked="app_download_clicked",e.coachingButtonClicked="coaching_button_clicked",e.headerItemClicked="header_item_clicked",e.calculatorClicked="calculator_clicked",e.calculatorUsed="calculator_used",e.consultationFormSubmit="consultation_form_submit",e.consultationFormSubmitted="consultation_form_submitted",e.seePlanClicked="see_plan_clicked",e.planProceedButtonClicked="plan_proceed_button_clicked",e.wSignupLoginStatus="w_signup_login_status",e.articlePopupButtonClicked="article_popup_button_clicked"}(i||(i={}));var a=n(28404);const o=new a.c([a.R.GOOGLE_ANALYTICS,a.R.FACEBOOK_PIXEL]),r=(e,t,n)=>{const a={btn_name:e,pageSlug:t,platform:n};o.trackEvent(i.buttonClicked,a)},s=(e,t)=>{const n={app_type:t,section_name:e};o.trackEvent(i.appDownloadClicked,n)},l=(e,t)=>{const n={calculator_name:e,page:t};o.trackEvent(i.calculatorClicked,n)},c=e=>{const t={calculator_name:e};o.trackEvent(i.calculatorUsed,t)},d=(e,t)=>{const n={form_type:e,form_value:t};o.trackEvent(i.consultationFormSubmit,n)},u=()=>{o.trackEvent(i.consultationFormSubmitted)},x=(e,t,n)=>{const a={coach_type:e,coach_name:t,plan_name:n};o.trackEvent(i.planProceedButtonClicked,a)},h=e=>{const t={clickedOn:e};o.trackEvent(i.articlePopupButtonClicked,t)};var m,g,p,v,f,b,Z,j,k,y,w;!function(e){e.register="register",e.login="login"}(m||(m={})),function(e){e.mobile="mobile",e.email="email",e.facebook="fb",e.google="google"}(g||(g={})),function(e){e.desktop="Desktop",e.mobile="mobile"}(p||(p={})),function(e){e.success="success",e.failed="failed"}(v||(v={})),function(e){e.ios="ios",e.android="android"}(f||(f={})),function(e){e.hero="hero_section",e.app_rating="app_rating",e.get_the_app="get_the_app"}(b||(b={})),function(e){e.fitness_nutrition="FN",e.personal_training="PT",e.injury_rehab="Injury rehab",e.fittr_kids="Kids"}(Z||(Z={})),function(e){e.get_a_coach="get a coach",e.hart="hart",e.learn="learn",e.talk_to_fittr="talk to fittr expert",e.connect_fest="connectFest",e.academy="academy",e.fittr_care="fittr care",e.login="login",e.signup="signup"}(j||(j={})),function(e){e.one_rm="1rm",e.bmr="BMR",e.macro="Macro",e.body_fat="bFat"}(k||(k={})),function(e){e.homepage="homepage",e.calculatorpage="calculatorpage"}(y||(y={})),function(e){e.goal="goal",e.height="height",e.weight="weight",e.age="age",e.gender="gender",e.details="details"}(w||(w={}))},79152:function(e,t,n){"use strict";n.d(t,{Cl:function(){return c},Jc:function(){return d},Ve:function(){return s},cJ:function(){return l},hg:function(){return u}});var i=n(4055),a=n(57456),o=n(62447);const r=i.Z.create({baseURL:a.CV,headers:{"device-type":a.me}});r.interceptors.response.use((e=>e),(e=>Promise.reject(e.response&&e.response.data||"Something went wrong")));const s=async e=>{const t=await(0,o.Z)();return await r.post("/prospect/contactUs",e,{headers:{"x-firebase-appcheck":t.token}})},l=async e=>{const t=await(0,o.Z)();return await r.post("/prospect/corporateWellness",e,{headers:{"x-firebase-appcheck":t.token}})},c=async e=>{const t=await(0,o.Z)();return await r.post("/prospect/becomeACoach",e,{headers:{"x-firebase-appcheck":t.token}})},d=async e=>{const t=await(0,o.Z)();return await r.post("/prospect/talkToExpert",e,{headers:{"x-firebase-appcheck":t.token}})},u=async e=>{const t=await(0,o.Z)();return await r.post("prospect/getFreeConsultation",e,{headers:{"x-firebase-appcheck":t.token}})}}},function(e){e.O(0,[5520,5009,1464,1075,3955,7166,377,596,6670,3693,9774,2888,179],(function(){return t=31071,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.