{"code":"__filename=\"/opt/canhelp/apps/api/src/lib/nameUtils.ts\";(()=>{\n\"use strict\";var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __hasOwnProp=Object.prototype.hasOwnProperty;var __name=(target,value)=>__defProp(target,\"name\",{value,configurable:true});var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:true})};var __copyProps=(to,from,except,desc)=>{if(from&&typeof from===\"object\"||typeof from===\"function\"){for(let key of __getOwnPropNames(from))if(!__hasOwnProp.call(to,key)&&key!==except)__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable})}return to};var __toCommonJS=mod=>__copyProps(__defProp({},\"__esModule\",{value:true}),mod);var nameUtils_exports={};__export(nameUtils_exports,{abbrevName:()=>abbrevName});module.exports=__toCommonJS(nameUtils_exports);function abbrevName(firstName,lastName,fallback){if(firstName?.trim()){const l=lastName?.trim();return l?`${firstName.trim()} ${l[0].toUpperCase()}.`:firstName.trim()}if(fallback?.trim()){const parts=fallback.trim().split(/\\s+/);if(parts.length>=2&&parts[1]){return`${parts[0]} ${parts[1][0].toUpperCase()}.`}return parts[0]}return\"\"}__name(abbrevName,\"abbrevName\");0&&(module.exports={abbrevName});\n})()\n","warnings":[],"map":{"version":3,"mappings":";mvBAAA,gIAIO,SAAS,WACd,UACA,SACA,SACQ,CACR,GAAI,WAAW,KAAK,EAAG,CACrB,MAAM,EAAI,UAAU,KAAK,EACzB,OAAO,EAAI,GAAG,UAAU,KAAK,CAAC,IAAI,EAAE,CAAC,EAAE,YAAY,CAAC,IAAM,UAAU,KAAK,CAC3E,CACA,GAAI,UAAU,KAAK,EAAG,CAEpB,MAAM,MAAQ,SAAS,KAAK,EAAE,MAAM,KAAK,EACzC,GAAI,MAAM,QAAU,GAAK,MAAM,CAAC,EAAG,CACjC,MAAO,GAAG,MAAM,CAAC,CAAC,IAAI,MAAM,CAAC,EAAE,CAAC,EAAE,YAAY,CAAC,GACjD,CACA,OAAO,MAAM,CAAC,CAChB,CACA,MAAO,EACT,CAlBgB","names":[],"ignoreList":[],"sources":["/opt/canhelp/apps/api/src/lib/nameUtils.ts"],"sourcesContent":[null]}}