import{e as m}from"./Hxx5iRvK.js";import{g as c,r as g,E as n}from"./Bh30i5oR.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};
