import{u as p}from"./widget-jbnupkVY.js";import{h as y,_ as h}from"./app-QjDgb7aF.js";import{b as u,p as f,q as n,x as s,k as $,i as b,D as t,u as v,t as g,E as C,j as w,J as k}from"./vue-Cm77DuTi.js";import"./charts-3gEHPHRq.js";import"./media-DuCIZ-3n.js";const M={class:"_panel"},I=["src"],a="serverInfo",B=u({__name:"server-info",props:{widget:{}},emits:["updateProps"],setup(i,{expose:r,emit:c}){const l={},e=i,d=c,{configure:_}=p(a,l,e,d);return r({name:a,configure:_,id:e.widget?e.widget.id:null}),(o,j)=>{const m=C("MkA");return w(),f("div",M,[n("div",{class:s(o.$style.container),style:g({backgroundImage:`url(${o.$instance.bannerUrl})`})},[n("div",{class:s(o.$style.iconContainer)},[n("img",{src:o.$instance.iconUrl||o.$instance.faviconUrl||"/favicon.ico",alt:"Instance logo",class:s(o.$style.icon)},null,10,I)],2),n("div",{class:s(o.$style.bodyContainer)},[n("div",{class:s(o.$style.body)},[$(m,{class:s(o.$style.name),to:"/about",behavior:"window"},{default:b(()=>[k(t(o.$instance.name),1)]),_:1},8,["class"]),n("div",{class:s(o.$style.host)},t(v(y)),3)],2)],2)],6)])}}}),D="_container_t0h7o_1",N="_iconContainer_t0h7o_8",P="_icon_t0h7o_8",U="_bodyContainer_t0h7o_23",V="_body_t0h7o_23",z="_name_t0h7o_35",A="_host_t0h7o_36",E={container:D,iconContainer:N,icon:P,bodyContainer:U,body:V,name:z,host:A},S={$style:E},G=h(B,[["__cssModules",S]]);export{G as default};
//# sourceMappingURL=server-info-CpPHqs6G.js.map
