import{_ as m}from"./EmptyStateBlock-D6U_EDq6.js";import{_ as h}from"./BlockBalanceAgreement-2iQbaweR.js";import{u as p}from"./content-DjwNX1Ep.js";import{_ as f}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{c as r,b as u,a as t,C as v,F as _,i as g,f as k,H as y,m as L,o as n,t as a}from"./index-CipWZKo_.js";import"./contracts-CILh9uSu.js";import"./ButtonDefault-CghIUDY0.js";const B={async setup(){const o=p(),c=k(()=>Object.keys(o?.partnersList)?.map(e=>o?.partnersList[e])?.reverse()),i=async()=>{await o.fetchPartners()};return y(i),L(()=>o.partnersList,e=>{Object.keys(e).length===0&&i()}),{getPartners:c,fetchData:i}}},P={class:"section"},S={class:"container"},b={key:0,class:"list"},C={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"};function O(o,c,i,e,V,$){const l=h,d=m;return n(),r(_,null,[u(l),t("section",P,[t("div",S,[c[0]||(c[0]=t("div",{class:"section-header"},[t("h1",{class:"section-title"},"Наши партнеры")],-1)),e.getPartners&&e.getPartners.length>0?(n(),r("div",b,[(n(!0),r(_,null,g(e.getPartners,s=>(n(),r("div",{key:s?.ID,class:"list-col"},[t("div",C,[t("div",x,[t("div",R,[t("div",U,[t("img",{src:s?.LogoURL,alt:""},null,8,D)])]),t("div",N,[t("div",j,a(s?.Name),1),t("div",w,[t("a",{href:s?.SiteURL},a(s?.SiteURL),9,E),t("a",{href:"tel:"+s?.SiteURL},a(s?.Phone),9,F),t("span",null,a(s?.City),1)])])]),t("div",I,a(s?.Comment),1)])]))),128))])):(n(),v(d,{key:1,label:"Пока что нет добавленных партнеров"}))])])],64)}const K=f(B,[["render",O],["__scopeId","data-v-594d30dd"]]);export{K as default};
