1import{aZ as y,b8 as B,aX as F,bd as O,b9 as S,bb as V,aM as l,aN as b,aP as s,aQ as n,aT as x,aU as L,b5 as u,aR as m,a$ as M,b0 as h,aO as i,aS as q,b7 as j,be as E}from"./entry.BS0Zhhuw.js";import R from"./ZTabsLabel.BDgagU7f.js";import U from"./ZTableCol.CYHS5mNF.js";import G from"./ZTooltip.B4AL_eGI.js";import J from"./ZTableRow.D2vWXTMG.js";import Q from"./ZTable.CO6VH-co.js";import X from"./ZTabsContent.Du8hNoLB.js";import Z from"./ZTabs.DklY5hUw.js";import"./tippy.esm.CwsZR5SJ.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new a.Error().stack;o&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[o]="8d0026a0-61c2-419f-aa5b-3d74f63c5f54",a._sentryDebugIdIdentifier="sentry-dbid-8d0026a0-61c2-419f-aa5b-3d74f63c5f54")}catch{}})();const K=()=>{const a=y(()=>B().lang);return{bodyFetch:y(()=>JSON.stringify({query:`{ 2 items (filter: { 3 lang: { eq: "${a.value}" }, 4 perPage: {eq: "-1"} 5 }) { 6 id 7 title 8 date 9 file { 10 size 11 name 12 link 13 type 14 } 15 group { 16 id 17 slug 18 title 19 } 20 reportingDate 21 publicationDate 22 } 23 }`}))}},W=async a=>await $fetch("/api/graph/affiliates/",{method:"POST",body:a}),Y=()=>{const{localize:a}=F();return{text:{name:a({ru:"Ðазвание",en:"Name"}),reportingDate:a({ru:"ÐÑÑеÑÐ½Ð°Ñ Ð´Ð°Ñа",en:"Reporting date"}),publicationDate:a({ru:"ÐаÑа пÑбликаÑии",en:"Publication date"}),file:a({ru:"Файл",en:"File"}),tooltipDownload:a({ru:"СкаÑаÑÑ",en:"Download"})}}},ee={class:"affiliates affiliates--table",key:"table-templ"},te=["innerHTML"],ne=["innerHTML"],ae=["innerHTML"],se=["innerHTML"],oe=["innerHTML"],ie=["innerHTML"],le=["innerHTML"],re={class:"u-uppercase"},ue=["href"],_e={__name:"AffiliatesPage",async setup(a){let o,d;const{bodyFetch:D}=K(),{data:T}=([o,d]=S(async()=>V(async()=>await W(D.value),"$MIi0N51hCy")),o=await o,d(),o),k=y(()=>{var _;return((_=T==null?void 0:T.value)==null?void 0:_.items)||[]}),{text:p}=Y(),z=_=>_.reduce(function(t,e){return e.group&&e.group.id&&e.group.title&&(t[e.group.slug]=t[e.group.slug]||{},t[e.group.slug].name=t[e.group.slug].name||e.group.title,t[e.group.slug]["xml-id"]=t[e.group.slug]["xml-id"]||e.group.slug,t[e.group.slug].items=t[e.group.slug].items||[],t[e.group.slug].items.push(e)),t},Object.create(null)),g=y(()=>{let _=z(k.value);return Object.values(_).sort((t,e)=>e.name-t.name)});return console.log(g),(_,t)=>{var H;const e=R,r=U,v=j,w=G,N=J,I=Q,C=X,P=Z;return l(),b("div",ee,[s(P,{"initial-id":(H=u(g)[0])==null?void 0:H["xml-id"]},{label:n(()=>[(l(!0),b(x,null,L(u(g),f=>(l(),m(e,{id:f["xml-id"]},{default:n(()=>[M(h(f.name),1)]),_:2},1032,["id"]))),256))]),content:n(()=>[(l(!0),b(x,null,L(u(g),f=>(l(),m(C,{id:f["xml-id"]},{default:n(()=>[s(I,{class:"affiliates__table",colgroup:["40%","20%","20%","20%"]},{head:n(()=>[s(r,{"is-th":""},{default:n(()=>[i("span",{innerHTML:u(p).name},null,8,te)]),_:1}),s(r,{"is-th":""},{default:n(()=>[i("span",{innerHTML:u(p).reportingDate},null,8,ne)]),_:1}),s(r,{"is-th":""},{default:n(()=>[i("span",{innerHTML:u(p).publicationDate},null,8,ae)]),_:1}),s(r,{"is-th":""},{default:n(()=>[i("span",{innerHTML:u(p).file},null,8,se)]),_:1})]),default:n(()=>[(l(!0),b(x,null,L(f.items,(c,A)=>(l(),m(N,{key:A},{default:n(()=>[s(r,null,{default:n(()=>[i("span",{innerHTML:c.title},null,8,oe)]),_:2},1024),s(r,null,{default:n(()=>[i("span",{innerHTML:c.reportingDate},null,8,ie)]),_:2},1024),s(r,null,{default:n(()=>[i("span",{innerHTML:c.publicationDate},null,8,le)]),_:2},1024),s(r,null,{default:n(()=>{var $;return[($=c.file)!=null&&$.link?(l(),m(w,{key:0,theme:"light-mode"},{content:n(()=>[M(h(u(p).tooltipDownload)+" ",1),t[0]||(t[0]=i("br",null,null,-1)),t[1]||(t[1]=M()),i("span",re,h(c.file.type)+", "+h(c.file.size),1)]),trigger:n(()=>[i("a",{class:"affiliates__link",href:c.file.link,target:"_blank"},[s(v,{name:"media/press-release",width:"40",height:"40"})],8,ue)]),_:2},1024)):q("",!0)]}),_:2},1024)]),_:2},1024))),128))]),_:2},1024)]),_:2},1032,["id"]))),256))]),_:1},8,["initial-id"])])}}},ce=O(_e,[["__scopeId","data-v-51a90908"]]),Te={__name:"index",setup(a){return(o,d)=>{const D=E("dynamic-page");return l(),m(D,null,{default:n(()=>[s(ce,{theme:"table"})]),_:1})}}};export{Te as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.