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