import{ay as e,j as i}from"./main-D6SjkSWq.js";import{A as m}from"./album-grid-item-DHIW6pPC.js";import{A as n}from"./album-list-item-BlPhBXCP.js";import{C as a}from"./content-grid-CP4fsHpZ.js";import{I as o}from"./infinite-scroll-sentinel-CjTkiVp_.js";function c({albums:t,query:r}){return e()?i.jsxs("div",{children:[i.jsx(a,{children:t.map(s=>i.jsx(m,{album:s},s.id))}),r&&i.jsx(o,{query:r})]}):i.jsxs("div",{children:[t.map(s=>i.jsx(n,{album:s,className:"mb-40"},s.id)),r&&i.jsx(o,{query:r})]})}export{c as A};
