1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/YouTubePromoSidebar-t3rNh1eN.js","assets/vendor-query-REUEbryQ.js","assets/vendor-react-tIoPkRwd.js","assets/useYouTubePromo-BOwl3JTF.js","assets/index--0ud_HHy.js","assets/vendor-ui-BVtOlGvj.js","assets/vendor-supabase-BcbvpzCe.js","assets/index-gpAjFxYo.css","assets/en-US-Nb5ScI76.js","assets/external-link-D4r3JqVx.js","assets/format-C1XcpiVr.js"])))=>i.map(i=>d[i]); 2import{_ as e,e as s,B as r}from"./index--0ud_HHy.js";import{j as o}from"./vendor-query-REUEbryQ.js";import{r as t,L as n}from"./vendor-react-tIoPkRwd.js";import{u as a,T as i,V as d}from"./VyrePacksSidebar-BWS9WVlV.js";import{d as m}from"./useArticles-CQKTGEn0.js";import{S as c}from"./sparkles-B8pZP29O.js";import"./vendor-ui-BVtOlGvj.js";import"./vendor-supabase-BcbvpzCe.js";import"./imageUtils-BNh51NXU.js";import"./badge-CSsjGdxs.js";import"./skeleton-BQnhrlZN.js";import"./collapsible-xXu4YPHd.js";import"./constants-DPfX1E16.js";import"./vendor-motion-jsdmc_-s.js";import"./chevron-down-D56Is0vg.js";import"./useVyreExpansions-78Z_uhHg.js";import"./memberCodes-D8CLuRSK.js";const l=t.lazy(()=>e(()=>import("./YouTubePromoSidebar-t3rNh1eN.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10])));function x({isSubscribed:e}){const{openSubscriptionModal:x}=s(),{data:u,isLoading:p}=a(10),{data:b}=m(8);return o.jsxs("div",{className:"space-y-5",children:[o.jsx(t.Suspense,{fallback:null,children:o.jsx(l,{})}),!e&&o.jsxs("div",{className:"bg-primary/5 border border-primary/20 rounded-xl p-4",children:[o.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[o.jsx(c,{className:"w-5 h-5 text-primary"}),o.jsx("h3",{className:"font-bold text-foreground text-sm",children:"Music-Prod+"})]}),o.jsx("p",{className:"text-xs text-muted-foreground mb-3",children:"Get unlimited access to all sample packs, VYRE presets, courses, and producer tools."}),o.jsx(r,{size:"sm",className:"w-full",onClick:x,children:"Get Unlimited Access"})]}),o.jsx(i,{packs:u,isLoading:p}),o.jsx(d,{limit:5}),b&&b.length>0&&o.jsxs("div",{className:"bg-card border border-border rounded-lg p-4",children:[o.jsx("h3",{className:"font-bold text-sm mb-3 bg-primary text-primary-foreground px-3 py-1.5 rounded -mx-4 -mt-4 rounded-b-none",children:"Recent Articles"}),o.jsx("div",{className:"space-y-3 mt-3",children:b.slice(0,8).map(e=>o.jsxs(n,{to:`/articles/${e.slug}`,className:"block text-sm text-muted-foreground hover:text-foreground transition-colors",children:["⢠",e.title,e.comment_count>0&&o.jsxs("span",{className:"text-xs ml-1",children:["(",e.comment_count,")"]})]},e.id))})]}),o.jsxs("div",{className:"bg-card border border-border rounded-lg p-4",children:[o.jsx("h3",{className:"font-bold text-sm mb-3 bg-primary text-primary-foreground px-3 py-1.5 rounded -mx-4 -mt-4 rounded-b-none",children:"Quick Links"}),o.jsxs("div",{className:"space-y-2 mt-3",children:[o.jsx(n,{to:"/?tab=instruments",className:"block text-sm text-muted-foreground hover:text-foreground transition-colors",children:"â Browse by Instrument"}),o.jsx(n,{to:"/?tab=genres",className:"block text-sm text-muted-foreground hover:text-foreground transition-colors",children:"â Browse by Genre"}),o.jsx(n,{to:"/midi-packs",className:"block text-sm text-muted-foreground hover:text-foreground transition-colors",children:"â MIDI Packs"}),o.jsx(n,{to:"/tools",className:"block text-sm text-muted-foreground hover:text-foreground transition-colors",children:"â Free Tools"}),o.jsx(n,{to:"/community",className:"block text-sm text-muted-foreground hover:text-foreground transition-colors",children:"â Community"})]})]})]})}export{x as HomeSidebar};
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.