"use strict";(globalThis.webpackChunk_openmrs_esm_patient_registration_app=globalThis.webpackChunk_openmrs_esm_patient_registration_app||[]).push([["7649"],{10545(t,e,n){n.d(e,{A:()=>l});var i=n(71452),a=n.n(i),s=n(34567),o=n.n(s)()(a());o.push([t.id,".-esm-patient-registration__edit-patient-details-button__menuitem___V8gGB{max-width:none}","",{version:3,sources:["webpack://./src/widgets/edit-patient-details-button.scss"],names:[],mappings:"AAAA,0EACE,cAAA",sourcesContent:[".menuitem {\n  max-width: none;\n}\n"],sourceRoot:""}]),o.locals={menuitem:"-esm-patient-registration__edit-patient-details-button__menuitem___V8gGB"};let l=o},45336(t,e,n){n.r(e),n.d(e,{default:()=>T});var i=n(97125),a=n.n(i),s=n(75921),o=n(23553),l=n(82895),r=n(72591),m=n.n(r),u=n(1740),p=n.n(u),_=n(88128),c=n.n(_),d=n(30855),A=n.n(d),g=n(93051),b=n.n(g),h=n(73656),k=n.n(h),v=n(10545),w={};w.styleTagTransform=k(),w.setAttributes=A(),w.insert=c().bind(null,"head"),w.domAPI=p(),w.insertStyleElement=b(),m()(v.A,w);let C=v.A&&v.A.locals?v.A.locals:void 0,T=function(t){var e=t.patientUuid,n=t.closeMenu,r=(0,s.useTranslation)().t,m=(0,i.useCallback)(function(){(0,l.navigate)({to:"${openmrsSpaBase}/patient/".concat(e,"/edit")})},[e]);return a().createElement(o.XSD,{className:C.menuitem,closeMenu:n,itemText:r("editPatientDetails","Edit patient details"),onClick:m})}}}]);