import{_ as f}from"./EmptyStateBlock-BaR9js3E.js";import{_ as v}from"./BlockBalanceAgreement-qtspRQ_B.js";import{f as h,g as w,D as k,c as r,b as i,a as e,C as x,w as b,E as g,t as _,v as l,F as N,o as s,e as B}from"./index-CmCGXBst.js";import{u as C}from"./content-CZvpGWUh.js";import{b as T,s as y}from"./time-DenPiOX5.js";import{_ as D}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./contracts-P7YPBhEI.js";import"./ButtonDefault-BIBStZbJ.js";const S={class:"section"},A={class:"container"},E={class:"section-header"},L={class:"section-label-wrapper"},P={class:"section-title"},V={class:"section-label"},F={key:0,class:"news-content text"},H=["innerHTML"],M={__name:"ContentNewsPage",async setup(I){let o,n;const a=C(),m=w(),t=h(()=>a?.newsList[m.params.id]);return[o,n]=k(()=>a.fetchNews()),await o,n(),(R,c)=>{const p=v,d=g("router-link"),u=f;return s(),r(N,null,[i(p),e("section",S,[e("div",A,[e("div",E,[e("div",L,[i(d,{class:"section-label link",to:"/News"},{default:b(()=>c[0]||(c[0]=[B("Новости",-1)])),_:1,__:[0]})]),e("h1",P,_(t.value?.Title),1),e("div",V,_(l(T)(l(y)(t.value?.PublicDate))),1)]),t.value?(s(),r("div",F,[e("div",{innerHTML:t.value?.Text},null,8,H)])):(s(),x(u,{key:1,label:"Новость не найдена"}))])])],64)}}},Q=D(M,[["__scopeId","data-v-20431ddb"]]);export{Q as default};
