1(this["webpackJsonplisfarma-admin"]=this["webpackJsonplisfarma-admin"]||[]).push([[91],{471:function(e,t,a){"use strict";a.r(t);var s=a(125),c=a(0),i=(a(12),a(158)),r=a(331),n=a(40),l=a(2),d=a(4);const o={address:"",birthday:"",caregiver:!1,cellPhone:"",country:"",email:"",emergencyContact:"",firstName:"",maternalName:"",paternalName:"",personalId:"",phone:"",state:"",taxId:"",town:"",zipCode:"",caregiverName:"",caregiverEmail:"",caregiverPhone:"",caregiverDirection:"",caregiverRelation:"",relation:""};t.default=()=>{const e=Object(i.a)().t,t=Object(c.useState)(null),a=Object(s.a)(t,2),b=(a[0],a[1]),j=Object(c.useState)(!1),m=Object(s.a)(j,2),h=m[0],O=m[1],u=Object(c.useState)(o),p=Object(s.a)(u,2),g=p[0],v=p[1],x=Object(l.i)().id,f=Object(c.useState)(""),y=Object(s.a)(f,2),N=(y[0],y[1]),S=Object(c.useState)(""),P=Object(s.a)(S,2),w=(P[0],P[1]);return Object(c.useEffect)(()=>{(async()=>{try{const t=await n.a.getUserById(x);v(t),w(e("user-details-fetch-success")),setTimeout(()=>{w("")},3e3)}catch(t){N(t.message)}})().then()},[]),Object(d.jsx)("div",{children:Object(d.jsxs)("div",{className:"l-app",children:[Object(d.jsx)("div",{className:"medical-history-header p-2 bg-gray",children:Object(d.jsx)("div",{className:"text-2xl text-gray-800 font-bold",children:e("edit-patient")})}),Object(d.jsx)("div",{className:"tabs-container px-3 pt-4",children:Object(d.jsx)(r.a,{onPatientDetailsGet:e=>{b(e)},searchUser:g,setSearchUser:v,initialState:o,selectRegisterPatient:h,setSelectRegisterPatient:O,title:e("personal-information"),isEdit:!0,userId:x})})]})})}}}]);
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.