import{r,b as u,d as p,o as s,c as a,i as c,a as t,t as d,F as _,k as h,m as g,A as v,_ as f}from"./index-Cdt4oMy6.js";const L={key:0,class:"loader"},m={key:1,class:"group-page"},w={class:"h1"},k=["innerHTML"],M={class:"groups-list"},b={class:"groups-list__item-top"},x={class:"h2"},B=["href"],H=v('<span> На сайт <img src="'+f+'"><svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_6579_10254)"><path d="M20.1537 9.99935L10.3958 2.01562L9.60423 2.98307L17.4158 9.37435L7.5 9.37435V10.6243L17.4158 10.6243L9.60423 17.0156L10.3958 17.9831L20.1537 9.99935Z" fill="#314157"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M5.83398 10.625L1.66732 10.625L1.66732 9.375L5.83398 9.375L5.83398 10.625Z" fill="#017338"></path></g><defs><clipPath id="clip0_6579_10254"><rect width="20" height="20" fill="white"></rect></clipPath></defs></svg></span>',1),T=[H],V=["innerHTML"],F={__name:"GroupView",setup(y){const l=r(!0),o=r({});u(()=>{p.get("/about-group?populate=*").then(function(e){o.value=e.data.attributes,l.value=!1}).catch(function(e){console.log(e)})});const n=e=>e?g.parse(e):"";return(e,N)=>(s(),a(_,null,[l.value?(s(),a("div",L)):c("",!0),l.value?c("",!0):(s(),a("div",m,[t("h1",w,d(o.value.title),1),t("div",{innerHTML:n(o.value.description)},null,8,k),t("div",M,[(s(!0),a(_,null,h(o.value.companies,i=>(s(),a("div",{class:"groups-list__item",key:i.id},[t("div",b,[t("h2",x,d(i.title),1),t("a",{href:i.url,target:"_blank",class:"btn-all"},T,8,B)]),t("div",{innerHTML:n(i.description)},null,8,V)]))),128))])]))],64))}};export{F as default};