"use strict";(self.webpackChunkwheelsmart_admin_react=self.webpackChunkwheelsmart_admin_react||[]).push([[7565],{68541:(l,s,e)=>{e.r(s),e.d(s,{default:()=>j});var a=e(65043),i=e(94406),n=e(8046),d=e(36683),o=e(47419),c=e(11645),r=e(91037),m=e(83003),p=e(91688);const t=e.p+"static/media/noimg.b2f3d4d2db9e6455a9f4.png";e(86178);var h=e(79797),u=e(99861),v=e(70579);const{Option:x}=i.A;const j=function(l){var s,e,i,x;const{TabPane:j}=n.A;let{id:N}=(0,p.useParams)();(0,p.useHistory)();const g="hp-p-body hp-font-weight-600 hp-mb-6",f="hp-mt-sm-4 hp-p1-body hp-text-color-black-100 hp-text-color-dark-0",{Text:b,Title:A}=d.A,w=(0,m.wA)(),k=(0,m.d4)((l=>l.manageUsers.selectedData));return console.log(k),(0,a.useEffect)((()=>{w((0,u.Nd)({id:N,onSuccess:()=>{},onFailure:()=>{}}))}),[]),(0,v.jsxs)(o.A,{style:{width:"80%"},children:[(0,v.jsx)(h.A,{pageTitle:"User Details",goBack:!0}),(0,v.jsx)(c.A,{span:24,className:"hp-mb-16 hp-profile-content-list hp-ml-12 hp-mt-8 hp-pb-sm-0 hp-pb-20",children:null!=k.profilepicture?(0,v.jsx)(r.A,{className:"ant-upload-select-picture-card hp-preview-img",src:k.profilepicture}):(0,v.jsx)(r.A,{preview:!1,className:"ant-upload-select-picture-card hp-preview-img",src:t,alt:"noImage"})}),(0,v.jsx)(c.A,{span:24,className:"hp-mb-16 hp-profile-content-list hp-ml-12 hp-mt-8 hp-pb-sm-0 hp-pb-20",children:(0,v.jsxs)("ul",{children:[(0,v.jsxs)("li",{children:[(0,v.jsx)("span",{className:g,children:"User Name"}),(0,v.jsx)("span",{className:f,children:""==(null===k||void 0===k?void 0:k.username)||null==(null===k||void 0===k?void 0:k.username)?"-------":null===k||void 0===k?void 0:k.username})]}),(0,v.jsxs)("li",{children:[(0,v.jsx)("span",{className:g,children:"Full Name"}),(0,v.jsx)("span",{className:f,children:""==(null===k||void 0===k?void 0:k.fullname)||null==(null===k||void 0===k?void 0:k.fullname)?"-------":null===k||void 0===k?void 0:k.fullname})]}),(0,v.jsxs)("li",{className:"hp-mt-18",children:[(0,v.jsx)("span",{className:g,children:"Email"}),(0,v.jsx)("a",{className:f,href:"mailto:******@gmail.com",children:""==(null===k||void 0===k?void 0:k.email)||null==(null===k||void 0===k?void 0:k.email)?"-------":null===k||void 0===k?void 0:k.email})]}),(0,v.jsxs)("li",{className:"hp-mt-18",children:[(0,v.jsx)("span",{className:g,children:"Mobile Number"}),(0,v.jsx)("a",{className:f,href:"tel:+9999999999",children:""==(null===k||void 0===k?void 0:k.phone)||null==(null===k||void 0===k?void 0:k.phone)?"-------":null===k||void 0===k?void 0:k.phone})]}),(0,v.jsxs)("li",{className:"hp-mt-18",children:[(0,v.jsx)("span",{className:g,children:"Gender"}),(0,v.jsx)("a",{className:f,href:"tel:+9999999999",children:""==(null===k||void 0===k?void 0:k.gender_name)||null==(null===k||void 0===k?void 0:k.gender_name)?"-------":null===k||void 0===k?void 0:k.gender_name})]}),(0,v.jsxs)("li",{className:"hp-mt-18",children:[(0,v.jsx)("span",{className:g,children:"Location"}),(0,v.jsx)("span",{className:f,children:null!==k&&void 0!==k&&k.location?null===k||void 0===k||null===(s=k.location[0])||void 0===s?void 0:s.name:"-------"})]}),console.log("userData",k),(0,v.jsxs)("li",{className:"hp-mt-18",children:[(0,v.jsx)("span",{className:g,children:"Group"}),(0,v.jsx)("span",{className:f,children:null!==k&&void 0!==k&&k.groups?null===k||void 0===k||null===(e=k.groups)||void 0===e?void 0:e.name:"-------"})]}),(0,v.jsxs)("li",{className:"hp-mt-18",children:[(0,v.jsx)("span",{className:g,children:"Address"}),(0,v.jsx)("span",{className:f,children:null!==k&&void 0!==k&&k.address?null===k||void 0===k?void 0:k.address:"-------"})]}),(0,v.jsxs)("li",{className:"hp-mt-18",children:[(0,v.jsx)("span",{className:g,children:"Latitude"}),(0,v.jsx)("span",{className:f,children:null!==k&&void 0!==k&&k.latitude?null===(i=parseFloat(null===k||void 0===k?void 0:k.latitude))||void 0===i?void 0:i.toFixed(3):"-------"})]}),(0,v.jsxs)("li",{className:"hp-mt-18",children:[(0,v.jsx)("span",{className:g,children:"Longitude"}),(0,v.jsx)("span",{className:f,children:null!==k&&void 0!==k&&k.longitude?null===(x=parseFloat(null===k||void 0===k?void 0:k.longitude))||void 0===x?void 0:x.toFixed(3):"-------"})]})]})})]})}}}]);
//# sourceMappingURL=7565.ee2f40a8.chunk.js.map