1import{aT as T,by as x,bt as N,aV as b,bo as P,bg as D,aW as g,aX as i,aY as y,b4 as l,b2 as I,aZ as V,b5 as o,b7 as B,bk as A,bC as E,bv as F,a$ as n,bp as L,bi as $,bA as Q}from"./C8fVPhpH.js";import{P as S}from"./p2BcB1nk.js";import{L as q}from"./BxRw2_-K.js";import{N as R}from"./DTT-moyV.js";import{u as W}from"./LWZsNuPE.js";try{let t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new t.Error().stack;s&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[s]="5de5ca49-68d1-4c0d-b503-a092ea7c2b06",t._sentryDebugIdIdentifier="sentry-dbid-5de5ca49-68d1-4c0d-b503-a092ea7c2b06")}catch{}const X={class:"events-page inner-page"},Y={class:"content-wrapper"},J=T({__name:"index",async setup(t){let s,u;const{page:f,queryParams:c,updatePage:_}=W(),{get:w}=x(),{data:r,status:v}=([s,u]=N(async()=>F("restorationNewsList",async()=>{const e=await w(`/restoration/news/elements/${Q(c.value)}`);return(e==null?void 0:e.data)||null},{watch:[c]})),s=await s,u(),s),d=b(()=>{var e;return(((e=r.value)==null?void 0:e.items)||[]).map(a=>({...a,previewText:a.previewText||a.detailText||""}))}),h=b(()=>[{id:1,name:P("main","header"),url:"/"},{id:2,name:"РеÑÑавÑаÑиÑ",url:"/restoration/"},{id:3,name:"ÐовоÑÑи",url:""}]),m=D(null),k=async e=>{_(e),await $(),setTimeout(()=>{var a;(a=m.value)==null||a.scrollIntoView({behavior:"smooth",block:"start"})},300)};return(e,a)=>{var p;return n(),g("div",X,[i("div",Y,[y(V,{breadcrumbs:h.value},null,8,["breadcrumbs"]),a[0]||(a[0]=i("h1",{class:"page-title-h1"},"ÐовоÑÑи",-1)),i("div",{ref_key:"scrollTarget",ref:m},null,512),o(v)==="pending"?(n(),l(q,{key:0})):(n(),g(B,{key:1},[d.value.length?(n(),l(E,{key:0,items:d.value},{default:A(({item:C})=>[y(L,{item:C},null,8,["item"])]),_:1},8,["items"])):(n(),l(R,{key:1}))],64)),(p=o(r))!=null&&p.pageCount&&o(r).pageCount>1?(n(),l(S,{key:2,page:o(f),"page-count":o(r).pageCount,onSetCurrentPage:k},null,8,["page","page-count"])):I("",!0)])])}}});export{J 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.