1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1522],{42225:(e,r,t)=>{t.d(r,{mY:()=>n,yA:()=>s});var i=t(19703);let a=(0,i.createContext)(null);function n(){return(0,i.useContext)(a)}function s(){let e=n();if(!e)throw Error("useAiMusicPlayer must be used within an AiMusicPlayerProvider.");return e}},51522:(e,r,t)=>{t.r(r),t.d(r,{MusicShowcasePlayerEntry:()=>u});var i=t(45279),a=t(74809),n=t(5657),s=t(42225),l=t(33419),o=t(87893),c=t(84532);function u(e){let r,t,u,d,h,f=(0,a.c)(21),{track:b,tracks:p,index:v,children:y}=e,g=(0,s.mY)(),m=(0,c.c)("landing.blocks.music_showcase_gallery"),w=g?.currentTrack?.id===b.id,x=!!(w&&g?.isPlaying),k=w&&"border-selected ring-primary/20 ring-2";f[0]!==k?(r=(0,n.cn)("group bg-card text-card-foreground focus-visible:ring-ring/50 hover:border-foreground/25 transition-interactive focus-visible:focus-ring disabled:opacity-disabled [container-type:inline-size] relative min-w-0 overflow-hidden rounded-xl border text-start shadow-sm hover:-translate-y-0.5 hover:shadow-md focus-visible:outline-none",k),f[0]=k,f[1]=r):r=f[1],f[2]!==x||f[3]!==m||f[4]!==b.title?(t=m(x?"pause":"play",{title:b.title}),f[2]=x,f[3]=m,f[4]=b.title,f[5]=t):t=f[5];let N=!g?.audio;return f[6]!==v||f[7]!==w||f[8]!==g||f[9]!==p?(u=()=>{if(g){if(w)return void g.togglePlay();g.playTracks(p,{index:v,autoplay:!0})}},f[6]=v,f[7]=w,f[8]=g,f[9]=p,f[10]=u):u=f[10],f[11]!==x?(d=(0,i.jsx)("span",{className:"media-chip transition-interactive pointer-events-none absolute top-[50cqw] left-1/2 z-10 grid size-11 -translate-x-1/2 -translate-y-1/2 place-items-center rounded-full border shadow-md group-hover:scale-105","aria-hidden":"true",children:x?(0,i.jsx)(l.A,{className:"size-4 fill-current"}):(0,i.jsx)(o.A,{className:"ms-0.5 size-4 fill-current"})}),f[11]=x,f[12]=d):d=f[12],f[13]!==y||f[14]!==x||f[15]!==r||f[16]!==t||f[17]!==N||f[18]!==u||f[19]!==d?(h=(0,i.jsxs)("button",{type:"button",className:r,"aria-label":t,"aria-pressed":x,disabled:N,onClick:u,children:[y,d]}),f[13]=y,f[14]=x,f[15]=r,f[16]=t,f[17]=N,f[18]=u,f[19]=d,f[20]=h):h=f[20],h}},84532:(e,r,t)=>{t.d(r,{c:()=>n});var i=t(97720);function a(e,r){return(...e)=>{try{return r(...e)}catch{throw Error(void 0)}}}let n=a(0,i.c3);a(0,i.kc)}}]);
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.