import{e as m}from"./zbMs9D6X.js";import{g as c,r as g,M as n}from"./UpFGpe05.js";const u=async()=>{const{$externalConf:r}=c(),e=g(""),o=async()=>{try{const{getLogomarcas:s}=m(),a=(await s()).find(t=>t.empresa===r.siglaEmpresa);a&&a.imagem&&a.extensao?e.value=`data:image/${a.extensao};base64,${a.imagem}`:e.value="/img/header-img.png"}catch{e.value="/img/header-img.png"}};return await o(),{logoSrc:n(()=>e.value),loadLogo:o}};export{u};
