import{_ as h}from"./EmptyStateBlock-Dt7jmbAi.js";import{_ as p}from"./BlockBalanceAgreement-396E9Da8.js";import{u}from"./content-Be03vzee.js";import{_ as v}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{g as f,l as g,v as k,o as e,c,b as y,a as t,F as l,h as L,m as B,t as o}from"./index-Bb2UEb_P.js";import"./index-Dax_IkAt.js";import"./ButtonDefault-CzWpVlv6.js";import"./common-U_VzDrmL.js";const S={class:"section"},b={class:"container"},C={key:0,class:"list"},P={class:"list-item_client"},x={class:"list-item__header"},R={class:"list-item__header-col"},U={class:"list-item__img"},D=["src"],N={class:"list-item__header-col"},j={class:"list-item__title"},w={class:"list-item__subtitle"},E=["href"],F=["href"],I={class:"list-item__text"},O={__name:"ContentPartners",setup(V){const n=u(),i=f(()=>Object.keys(n?.partnersList)?.map(a=>n?.partnersList[a])?.reverse()),_=async()=>{await n.fetchPartners()};return g(_),k(()=>n.partnersList,a=>{Object.keys(a).length===0&&_()}),(a,r)=>{const d=p,m=h;return e(),c(l,null,[y(d),t("section",S,[t("div",b,[r[0]||(r[0]=t("div",{class:"section-header"},[t("h1",{class:"section-title"},"Наши партнеры")],-1)),i.value&&i.value.length>0?(e(),c("div",C,[(e(!0),c(l,null,L(i.value,s=>(e(),c("div",{key:s?.ID,class:"list-col"},[t("div",P,[t("div",x,[t("div",R,[t("div",U,[t("img",{src:s?.LogoURL,alt:""},null,8,D)])]),t("div",N,[t("div",j,o(s?.Name),1),t("div",w,[t("a",{href:s?.SiteURL},o(s?.SiteURL),9,E),t("a",{href:"tel:"+s?.SiteURL},o(s?.Phone),9,F),t("span",null,o(s?.City),1)])])]),t("div",I,o(s?.Comment),1)])]))),128))])):(e(),B(m,{key:1,label:"Пока что нет добавленных партнеров"}))])])],64)}}},K=v(O,[["__scopeId","data-v-f4c0c167"]]);export{K as default};
