import{_ as h}from"./EmptyStateBlock-BaR9js3E.js";import{_ as p}from"./BlockBalanceAgreement-qtspRQ_B.js";import{u}from"./content-CZvpGWUh.js";import{_ as f}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{f as v,H as g,m as k,c,b as y,a as t,C as L,F as l,i as b,o as e,t as o}from"./index-CmCGXBst.js";import"./contracts-P7YPBhEI.js";import"./ButtonDefault-BIBStZbJ.js";const B={class:"section"},S={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=v(()=>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",B,[t("div",S,[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,b(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(),L(m,{key:1,label:"Пока что нет добавленных партнеров"}))])])],64)}}},J=f(O,[["__scopeId","data-v-ba5b7586"]]);export{J as default};
