1import{T as p}from"./CB2S93hH.js";import{C as f}from"./0XdNcerD.js";import{e as _,c as r,o as a,F as C,k as g,f as h,u as e,i as l,_ as m,b as u,g as v,t as R}from"./DDhvfqCR.js";import{u as k}from"./CJamv9pW.js";const y={class:"related-content-grid"},b=_({__name:"RelatedContentGrid",props:{cards:{default:()=>[]}},setup(o){const c=o,d=l(()=>{const n=c.cards||[],t=[];return n.forEach(s=>{t.push({type:"card",card:s})}),t});return(n,t)=>(a(),r("div",y,[(a(!0),r(C,null,g(d.value,s=>(a(),h(e(f),{key:s.card.id,card:s.card,class:"related-content-grid__item"},null,8,["card"]))),128))]))}}),x=Object.assign(m(b,[["__scopeId","data-v-42b297a8"]]),{__name:"MoleculesRelatedContentRelatedContentGrid"}),I={class:"section"},B={key:0},F={key:1,class:"error"},G=_({__name:"RelatedContent",props:{title:{},documentId:{},endpoint:{}},setup(o){const c=o,{data:d,error:n}=k(c.endpoint,"v2",{offset:0,limit:9}),t=l(()=>d.value?.list?.documents?d.value.list.documents.filter(i=>i.id!==c.documentId).slice(0,8):[]),s=l(()=>n?.value?.message||"ÐеизвеÑÑÐ½Ð°Ñ Ð¾Ñибка");return(i,M)=>(a(),r("section",I,[u(e(p),{type:"h2",title:o.title},null,8,["title"]),e(t).length>0?(a(),r("div",B,[u(e(x),{cards:e(t)},null,8,["cards"])])):e(n)?(a(),r("div",F,"ÐÑибка: "+R(e(s)),1)):v("",!0)]))}}),O=Object.assign(m(G,[["__scopeId","data-v-04a2dd6a"]]),{__name:"MoleculesRelatedContentRelatedContent"});export{O as R};
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.