import{_ as f}from"./HtmlContent-DrkJBX3e.js";import{_ as w}from"./BlockBalanceAgreement-396E9Da8.js";import{u as d}from"./clauses-Bhz_DuFa.js";import{r as h,x as v,o as l,c as m,b as r,a as o,F as i,t as B,i as y}from"./index-Bb2UEb_P.js";import"./index-Dax_IkAt.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./ButtonDefault-CzWpVlv6.js";import"./common-U_VzDrmL.js";const C={class:"tw-px-4 md:tw-px-8 tw-mb-8"},b={class:"tw-text-xl tw-mt-4"},P={__name:"Documents",async setup(g){let t,n;const u=d(),e=h(null),_=([t,n]=v(()=>u.fetchClausesByPartition("/Documents")),t=await t,n(),t),s=Object.values(_).find(a=>a.Partition==="/Documents");return s&&(e.value={title:s.Title,html:s.Text}),(a,c)=>{const p=w,x=f;return l(),m(i,null,[r(p),o("div",C,[c[0]||(c[0]=o("h1",{class:"tw-text-xl sm:tw-text-4xl tw-mt-4"},"Документы",-1)),e.value?(l(),m(i,{key:0},[o("h2",b,B(e.value.title),1),r(x,{content:e.value.html,class:"tw-mb-4"},null,8,["content"])],64)):y("",!0)])],64)}}};export{P as default};
