1"use strict";(self.webpackChunkingo_web=self.webpackChunkingo_web||[]).push([[6675],{51061:(e,n,l)=>{l.d(n,{A:()=>v});var s=l(65043),t=l(74117),i=l(24858),o=l(96446),a=l(11906),r=l(85865),d=l(33288),u=l(59945),c=l(27401),h=l(14607),f=l(32890),p=l(57586),m=l(68732),x=l(70579);const b={fields:{display:"flex",gap:2,mb:2},field:{root:{width:"100%"}}};function g(e){var n,l;let{isLoading:s,onSubmit:g}=e;const{t:v}=(0,t.Bd)(),{register:j,formState:{errors:A,defaultValues:y},handleSubmit:C}=(0,i.mN)({reValidateMode:"onChange",defaultValues:{countryCode:p.l}});return(0,x.jsx)("form",{onSubmit:C(g),children:(0,x.jsxs)("fieldset",{disabled:s,children:[(0,x.jsxs)(o.A,{sx:b.fields,children:[(0,x.jsx)(u.A,{sx:b.field,label:v("labels.fullName"),fullWidth:!0,error:!(null===A||void 0===A||!A.fullName),inputRef:j("fullName",f.Fy),helperText:v((null===(n=A.fullName)||void 0===n?void 0:n.message)||"")}),(0,x.jsx)(d.A,{label:v("labels.phoneNumber"),error:!(null===A||void 0===A||!A.phone),inputRef:j("phone",f.iI),codeInputRef:j("countryCode"),defaultCountryCode:y.countryCode,helperText:v((null===(l=A.phone)||void 0===l?void 0:l.message)||"")})]}),(0,x.jsxs)(o.A,{display:"flex",gap:1.5,mb:1,children:[(0,x.jsx)(h.h,{}),(0,x.jsx)(r.A,{width:"100%",variant:"caption",children:v("ingocareInsurance.requestWarnings.one")})]}),(0,x.jsxs)(o.A,{display:"flex",gap:1.5,mb:4,children:[(0,x.jsx)(h.h,{}),(0,x.jsx)(r.A,{width:"100%",variant:"caption",children:v("ingocareInsurance.requestWarnings.two")})]}),(0,x.jsx)(a.A,{fullWidth:!0,disabled:s,size:"large",variant:"primary",type:"submit",endIcon:s?(0,x.jsx)(m.A,{size:"extraSmall"}):(0,x.jsx)(c.h,{}),children:v("buttons.send")})]})})}const v=(0,s.memo)(g)},76675:(e,n,l)=>{l.r(n),l.d(n,{default:()=>m});var s=l(65043),t=l(73216),i=l(99609),o=l(51061),a=l(49741),r=l(60363),d=l(96607),u=l(47097),c=l(57586);const h=e=>{var n;const l=null===(n=c.A.find((n=>n.code===e.countryCode)))||void 0===n?void 0:n.phoneCode;return d.A.post("ingo-health/request",{...e,phone:l+e.phone})},f=()=>(0,u.n)({mutationKey:["healthAhhaRequest"],mutationFn:h});var p=l(70579);const m=function(){const e=f(),n=(0,t.Zp)(),l=(0,t.zy)(),d=(0,s.useCallback)((s=>{var t;e.mutate({...s,...null===(t=l.state)||void 0===t?void 0:t.priceData},{onSuccess:()=>{n("../".concat(r.Zn.CONFIRMATION))},onError:()=>{}})}),[e,n,l]);return(0,p.jsx)(i.A,{padding:4,form:(0,p.jsx)(o.A,{isLoading:e.isPending,onSubmit:d}),details:(0,p.jsx)(a.A,{})})}}}]); 2//# sourceMappingURL=6675.6d8d6877.chunk.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.