1import{r as s,u as m,j as e}from"./index-DfbPMtFZ.js";import{P as n}from"./ProductCard-DMbfcClq.js";import{u as d}from"./useListings-BA8PmhrO.js";import"./card-DN9U93Ar.js";import"./Footer-DkkU8vMF.js";import"./Combination-DdoM_vzj.js";import"./shield-gTmsYmaS.js";import"./avatar-BJUSXNbd.js";import"./LikeButton-hgR9MF0H.js";import"./useSocial-8SE6rbm7.js";import"./imageOptimization-CudCDZ50.js";import"./map-pin-BpPyR111.js";import"./star-DebO7FFT.js";import"./calendar-AeHpRayc.js";import"./eye-CWNprXLp.js";const l=s.memo(()=>{const i=m(),{getFeaturedListings:o,loading:c}=d(),a=o(6),r=s.useDeferredValue(a);return r.length===0?e.jsx("section",{className:"py-16 bg-card min-h-[600px]",children:e.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:e.jsxs("div",{className:"text-center mb-12",children:[e.jsx("h2",{className:"text-3xl font-bold text-foreground mb-4",children:"Aktuelle Angebote"}),e.jsx("p",{className:"text-muted-foreground text-lg",children:"Noch keine Angebote verfügbar. Seien Sie der Erste, der verkauft!"})]})})}):e.jsx("section",{className:"py-16 bg-card min-h-[600px]",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"text-center mb-12",children:[e.jsx("h2",{className:"text-3xl font-bold text-foreground mb-4",children:"Aktuelle Angebote"}),e.jsx("p",{className:"text-muted-foreground text-lg",children:"Die neuesten Fitness-Geräte von unseren Verkäufern"})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:r.map(t=>e.jsx(n,{listing:t,onClick:()=>i(`/buy/${t.id}`)},t.id))})]})})});l.displayName="FeaturedProducts";export{l 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.