"use strict";(globalThis.webpackChunk_openmrs_esm_service_queues_app=globalThis.webpackChunk_openmrs_esm_service_queues_app||[]).push([["5331"],{36175:function(e,t,i){i.r(t),i.d(t,{default:()=>l});var n=i(27350),a=i.n(n),s=i(89194),u=i(68892),o=i(93798);let l=function(e){var t=e.patientUuid,i=(0,u.useTranslation)().t,n=(0,o.useVisit)(t)||{},l=n.activeVisit,r=n.isLoading;return l?r?a().createElement(s.N2B,null):a().createElement(s.laM,{itemText:i("transitionPatientAction","Transition patient"),onClick:function(){var e=(0,o.showModal)("transition-patient-to-latest-queue-modal",{closeModal:function(){return e()},activeVisit:l})}}):null}}}]);