1import{_ as d,a as m}from"./ZcjU70g2.js";import{d as _,o as t,c as s,h as o,b as r,f,v as g,F as h,j as k,C as c,l as y,a2 as R}from"./C0_184t-.js";const L=_({__name:"TideSearchResultsList",props:{results:{default:()=>[]},perPage:{default:10},loading:{type:Boolean,default:!1},skeleton:{default:"TideSearchResultSkeleton"},skeletonProps:{default:()=>({})}},setup(a){const e=a,l=y(()=>e.loading?Array(e.perPage).fill({id:"skeleton",component:e.skeleton,props:e.skeletonProps}):e.results?.length?e.results:[]);return(x,C)=>{const u=m,i=d;return t(),s(c(a.loading?"div":"section"),null,{default:o(()=>[r(l).length?(t(),s(i,{key:0,"data-component-type":"search-listing-layout-list",class:"tide-search-result"},{default:o(()=>[(t(!0),f(h,null,g(r(l),(n,p)=>(t(),s(u,{key:`result-${p}-${n.id}`,"data-component-type":"search-result"},{default:o(()=>[(t(),s(c(n.component),R({ref_for:!0},n.props),null,16))]),_:2},1024))),128))]),_:1})):k("",!0)]),_:1})}}}),B=Object.assign(L,{__name:"TideSearchResultsList"});export{B 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.