"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.getDisplayText=function(t){var e,n=t.intrudeListenStatus,o=t.displayName,i=t.incoming,l=t.t;return(null==n?void 0:n.isIntrude)?{type:"text",content:(e=null==n?void 0:n.isIntrudeExtension)&&""!==e?"".concat(l("Common.Intrude"),"-").concat(e):l("Common.Intrude")}:(null==n?void 0:n.isListen)?{type:"text",content:(e=null==n?void 0:n.isListenExtension)&&""!==e?"".concat(l("Common.Listen"),"-").concat(e):l("Common.Listen")}:o&&"<unknown>"===o?{type:"text",content:"PBX"}:o?{type:"scroll",content:o}:{type:"text",content:i?l("Call.Incoming call")||"-":l("Call.Outgoing call")||"-"}},exports.getTextClassName=function(){return"pi-relative pi-block pi-max-w-full pi-font-medium pi-text-primaryNeutral dark:pi-text-primaryNeutralDark"};
//# sourceMappingURL=DisplayNameUtils.js.map
