1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3129],{632:(e,t,a)=>{"use strict";a.d(t,{k:()=>x});var l=a(80263),i=a(70719),s=a(32471),n=a(49685),o=a(13463),r=a(52996),c=a(10330),d=a(3638),u=a(53239),h=a(90737),m=a(54748),_=a.n(m);let x=e=>{let{className:t,genreIds:a,highlightedText:m,restUrl:x,si:p,target:k,variant:j="full",...y}=e,{t:b}=(0,o.c3)(),{data:g}=(0,h.IJ)(),v=(0,u.useMemo)(()=>a?.map(e=>g?.find(t=>t.id===e)).filter(c.vN),[g,a]);return v?.length?(0,l.jsx)("span",{className:(0,d.A)(_().root,t),...y,children:"full"===j?(0,r.po)(v.map(e=>(0,l.jsx)(s.A,{href:(0,i.zS)(e,p),inline:!0,target:k,children:(0,l.jsx)(n.z,{highlightedText:m,text:e.name})},e.id))):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(s.A,{className:v.length>1?_().ellipsis:void 0,href:(0,i.zS)(v[0],p),inline:!0,target:k,children:(0,l.jsx)(n.z,{highlightedText:m,text:v[0].name})}),v.length>1?(0,l.jsxs)(s.A,{className:_().moreButton,href:x,inline:!0,target:k,title:v?.slice(1).map(e=>e.name).join(", "),children:["\xa0",b("+ {count} more",void 0,{count:v.length-1})]}):null]})}):null}},6487:(e,t,a)=>{"use strict";a.d(t,{NC:()=>d,i0:()=>x,ZN:()=>g});var l=a(80263),i=a(50016),s=a(13463),n=a(53239),o=a(23279),r=a(35238),c=a.n(r);let d=e=>{let{resetKey:t,seed:a,topics:n}=e,{t:r}=(0,s.c3)();return(0,l.jsx)(i.V,{className:c().root,component:"div",variant:"body3",children:(0,l.jsx)(o.Z,{className:c().hint,label:r("Pro tip:"),resetKey:t,seed:a,skipKeyboardHints:!0,topics:n})})};var u=a(95041),h=a(57975),m=a(55132);let _=function(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,l=(0,n.useRef)();(0,h.T)(e,(e,i)=>{clearTimeout(l.current),i&&(l.current=setTimeout(()=>{let e=(0,m.Hc)(t.current);e?.scrollTo({behavior:"smooth",top:e.scrollHeight})},a))}),(0,n.useEffect)(()=>()=>clearTimeout(l.current),[])},x=e=>{let{children:t,isOpen:a}=e,i=(0,n.useRef)(null);return _(a,i,300),(0,l.jsx)(u.m,{duration:300,expanded:a,children:(0,l.jsx)("div",{ref:i,children:t})})};var p=a(62907),k=a(18251),j=a(3638),y=a(88572),b=a.n(y);let g=e=>{let{className:t,isOpen:a,onToggle:i}=e,{t:n}=(0,s.c3)();return(0,l.jsxs)(p.u,{"aria-expanded":a,className:(0,j.A)(b().root,t),onClick:i,children:[n("More actions"),(0,l.jsx)(k.rIS,{className:(0,j.A)(b().icon,a&&b().iconFlipped)})]})}},7570:(e,t,a)=>{"use strict";a.d(t,{CH:()=>i,DX:()=>r,SJ:()=>s,UR:()=>c,Yv:()=>o,cZ:()=>l,wi:()=>d,xF:()=>n});let l="popup",i="playlist_id",s="my_contributor_id",n="show_wizard",o="download",r="scene",c="ratio",d="template"},12734:(e,t,a)=>{"use strict";a.d(t,{R:()=>h});var l=a(80263),i=a(97930),s=a(18251),n=a(50016),o=a(13463),r=a(3638);a(53239);var c=a(51143),d=a(28718),u=a.n(d);let h=e=>{let{className:t}=e,{t:a}=(0,o.c3)(),{user:d}=(0,c.IE)();return((d?.purchase_count??0)<2||!d?.has_downloaded_tracks)&&(0,l.jsxs)(i.xA,{alignItems:"center",className:(0,r.A)(u().root,t),columns:"1fr auto",children:[(0,l.jsxs)(i.xA,{className:u().left,children:[(0,l.jsx)(n.V,{className:u().title,variant:"vividH3",children:"WAV, AIFF, FLAC, MP3"}),(0,l.jsx)(n.V,{className:u().text,variant:"body3",children:a("One purchase, all formats included","WAV, AIFF, FLAC, MP3")})]}),(0,l.jsx)("span",{className:u().icon,children:(0,l.jsx)(s.iWP,{})})]})}},13372:e=>{e.exports={root:"Actions_root__lD_kD",floatingActions:"Actions_floatingActions__wZ_IV"}},16928:(e,t,a)=>{"use strict";a.d(t,{k:()=>u});var l=a(80263),i=a(62907),s=a(97930),n=a(64296),o=a(36464),r=a(3638);a(53239);var c=a(18698),d=a.n(c);let u=e=>{let{canReorder:t,indexElement:a,isSelected:c,noPlayer:u,playLabel:h,prefix:m,reorderHandleListeners:_,reorderHandleRef:x,showCheckbox:p,showReorderHandle:k,onPlayToggle:j,onSelect:y}=e;return(0,l.jsxs)(s.xA,{alignItems:"center",autoFlow:"column",className:d().lefthand,justifyContent:"center",children:[m,p?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:(0,r.A)(d().firstComponent,d().checkboxContainer),children:(0,l.jsx)(n.L,{checked:!!c,className:d().checkbox,onChange:y})}),a]}):k?(0,l.jsx)(o.z,{disabled:u||!t,handleClassName:(0,r.A)(d().firstComponent,d().thumb),indexElement:a,innerRef:x,..._}):a?u?(0,l.jsx)("div",{className:(0,r.A)(d().firstComponent,d().index,d().staticIndex),children:a}):(0,l.jsx)(i.u,{"aria-label":h,className:(0,r.A)(d().firstComponent,d().index),tabIndex:-1,onClick:j,children:a}):null]})}},18698:e=>{e.exports={lefthand:"TrackLefthand_lefthand__bAqDm",firstComponent:"TrackLefthand_firstComponent__9YGpd",checkboxContainer:"TrackLefthand_checkboxContainer__d4cIf",checkbox:"TrackLefthand_checkbox__EfvZp",index:"TrackLefthand_index__pIcwh",thumb:"TrackLefthand_thumb__rFx5w",staticIndex:"TrackLefthand_staticIndex__o3Ymj"}},21276:e=>{e.exports={root:"ActionButtons_root__rnEx8",notFullSizeBelowSm:"ActionButtons_notFullSizeBelowSm__0letP",ctaButton:"ActionButtons_ctaButton__sks_w"}},23279:(e,t,a)=>{"use strict";a.d(t,{Z:()=>_});var l=a(80263),i=a(54613),s=a(96776),n=a(18251),o=a(13463),r=a(3638),c=a(53239),d=a(45085),u=a(51143),h=a(40271),m=a.n(h);let _=e=>{let{className:t,hideWhenNarrow:a,label:h,singleline:_,resetKey:x=0,seed:p=0,topics:k,skipKeyboardHints:j}=e,{t:y}=(0,o.c3)(),{getRandomElement:b}=(0,i.iX)(),{isLoggedIn:g,user:v}=(0,u.IE)(),f=(0,c.useMemo)(()=>(0,d.x5)(y,{isLoggedIn:g,keyStrokeClassName:m().keyStroke,skipBeforeFirstPayment:v?.has_made_payment,skipBeforeUsingPreferredGenres:!!v?.preferred_genres_ids?.length,skipBefore10Followings:v&&v.followed_artists_count+v.followed_labels_count>=10,topics:k,skipKeyboardHints:j}),[y,g,v?.has_made_payment,v?.preferred_genres_ids,v?.followed_artists_count,v?.followed_labels_count,k,j]),[C,A]=(0,c.useState)(()=>b(f,p));return((0,s.I)(()=>{A(e=>b(f.length>1?f.filter(t=>t!==e):f,`${p}${x}`))},[x,f]),C)?(0,l.jsxs)("div",{className:(0,r.A)(m().root,a&&m().hideWhenNarrow,t),children:[(0,l.jsx)(n.tBz,{className:m().icon,height:16,width:16}),(0,l.jsxs)("span",{className:(0,r.A)(m().hint,_?m().hintSingleline:m().hintMultiline),children:[void 0!==h&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{className:m().label,children:h})," "]}),C]})]}):null}},28718:e=>{e.exports={root:"FormatsBanner_root__637jx",left:"FormatsBanner_left__MERSA",title:"FormatsBanner_title__1N0ad",text:"FormatsBanner_text__yPfqh",icon:"FormatsBanner_icon__DjVdC"}},35238:e=>{e.exports={root:"BottomSheetProTip_root__oe6N0",hint:"BottomSheetProTip_hint__35Pr3"}},35599:(e,t,a)=>{"use strict";a.d(t,{T:()=>k});var l=a(80263),i=a(90244),s=a(12556),n=a(70559),o=a(13463),r=a(40377),c=a(3638),d=a(53239),u=a(33163),h=a(16928),m=a(51143),_=a(95203),x=a.n(_);let p="sticky-track-player",k=d.memo(e=>{let{t}=(0,o.c3)(),{isBelowMd:a}=(0,s.yU)(),{deregisterOffset:r,getTotalOffset:_,registerOffset:k}=(0,d.useContext)(n.X),{user:j}
1=(0,m.IE)(),{canReorder:y,className:b,indexElement:g,isSelected:v,lefthandPrefix:f,reorderHandleListeners:C,reorderHandleRef:A,showCheckbox:N,showDivider:T,showReorderHandle:w,onSelect:S,onStuckChange:B,...L}=e,F=(0,d.useCallback)(e=>{e?.edge?k({name:p,offset:e.height,position:e.edge,rank:200}):r(p),B?.(e)},[a]),P=w&&!L.readOnly,D=(0,d.useCallback)((e,a)=>N||P||g?(0,l.jsx)(h.k,{canReorder:y,indexElement:g,isSelected:v,playLabel:a?.isPlaying?t("Pause {title}",void 0,{title:(0,i.Ef)(t,(0,i.Ph)(L.track))}):t("Play {title}",void 0,{title:(0,i.Ef)(t,(0,i.Ph)(L.track))}),prefix:f,reorderHandleListeners:C,reorderHandleRef:A,showCheckbox:N,showReorderHandle:P,onPlayToggle:a?.handlePlaybackToggle,onSelect:e=>S?.(e,L.track)}):null,[y,P,g,v,f,C,A,N,t,L.track,S]);return(0,l.jsx)(u.b,{bottomOffset:_("bottom",200),canDrag:!!j,className:(0,c.A)(x().root,T&&x().withDivider,b),renderLefthand:D,topOffset:_("top",200),onStuckChange:F,...L})},(e,t)=>{let{style:a,...l}=e,{style:i,...s}=t;return(0,r.bN)(a,i)&&(0,r.bN)(l,s)});k.displayName="TrackBlock"},35612:(e,t,a)=>{"use strict";a.d(t,{o:()=>c});var l=a(80263),i=a(12556),s=a(59447),n=a(37560);let o=(0,a(61545).b)(async()=>(await Promise.all([a.e(7045),a.e(2762),a.e(4909)]).then(a.bind(a,94909))).ChangeYoutubeVideoModal),r=(0,n.C)(async()=>(await Promise.all([a.e(7045),a.e(2762),a.e(1804)]).then(a.bind(a,1804))).ChangeYoutubeVideoBottomSheet),c=e=>{let{isBelowSm:t}=(0,i.yU)();return(0,s.t)(e.open)?t?(0,l.jsx)(r,{...e}):(0,l.jsx)(o,{...e}):null}},36464:(e,t,a)=>{"use strict";a.d(t,{z:()=>u});var l=a(80263),i=a(18251),s=a(91840),n=a(13463),o=a(3638),r=a(53239),c=a(94860),d=a.n(c);let u=e=>{let{className:t,compact:a,disabled:c,handleClassName:u,indexElement:h,innerRef:m,size:_,...x}=e,{t:p}=(0,n.c3)(),k=(0,r.useCallback)(e=>{c||(document.body.style.cursor="grabbing",e.stopPropagation()),x.onMouseDown?.(e)},[c,x.onMouseDown]),j=(0,r.useCallback)(e=>{c||"grabbing"===document.body.style.cursor||(document.body.style.cursor="grab"),x.onMouseEnter?.(e)},[c,x.onMouseEnter]),y=(0,r.useCallback)(e=>{c||"grab"!==document.body.style.cursor||(document.body.style.cursor=""),x.onMouseLeave?.(e)},[c,x.onMouseLeave]),b=(0,r.useCallback)(e=>{c||(document.body.style.cursor=""),x.onMouseUp?.(e)},[c,x.onMouseUp]);return(0,l.jsxs)("div",{className:(0,o.A)(t,d().root),...x,onMouseDown:k,onMouseEnter:j,onMouseLeave:y,onMouseUp:b,children:[(0,l.jsx)(s.K,{className:(0,o.A)(d().moveButton,u),disabled:c,iconComponent:a?i.ch2:i.fRW,innerRef:m,muted:!0,size:_??"small",title:c?void 0:p("Drag to reorder"),variant:"transparent"}),h]})};u.displayName="Thumb"},39281:e=>{e.exports={counterBlock:"TrackBucketCounters_counterBlock__ygUci",count:"TrackBucketCounters_count__ywsGX",countersVerticalDivider:"TrackBucketCounters_countersVerticalDivider__R0zky"}},40271:e=>{e.exports={singleline:"RandomHint_singleline__oWH9k",multiline:"RandomHint_multiline__5o2Wm",root:"RandomHint_root__rb6RQ",hideWhenNarrow:"RandomHint_hideWhenNarrow__ERUr4",icon:"RandomHint_icon__rNYc5",hint:"RandomHint_hint__yKBd_",label:"RandomHint_label__vIOJP",hintSingleline:"RandomHint_hintSingleline__SzqPh",hintMultiline:"RandomHint_hintMultiline__7MJgl",keyStroke:"RandomHint_keyStroke__UhD7G"}},44094:(e,t,a)=>{"use strict";a.d(t,{_:()=>h});var l=a(80263),i=a(97930),s=a(18251),n=a(13463);a(53239);var o=a(32116),r=a(3638),c=a(94497),d=a.n(c);let u=e=>{let{children:t,color:a,title:i,animationDirection:s="right"}=e,[n,c]=(0,o.M)();return(0,l.jsxs)("div",{className:d().root,ref:n,style:{background:a},title:i,children:[t,(0,l.jsx)("div",{className:(0,r.A)(d().titleContainer,c&&d().visible,"left"===s&&d().titleContainerLeft),style:{background:a},children:(0,l.jsx)("div",{className:d().title,children:i})})]})},h=e=>{let{animationDirection:t,gridFlow:a="column",item:o}=e,{t:r}=(0,n.c3)();return(0,l.jsxs)(i.xA,{autoFlow:a,horizontalSpacing:1,justifyItems:"column"===a?void 0:"flex-end",verticalSpacing:1,children:[o?.featured?(0,l.jsx)(u,{animationDirection:t,color:"#ff5714",title:r("Featured"),children:(0,l.jsx)(s._z$,{height:16,width:16})}):null,o?.exclusive?(0,l.jsx)(u,{animationDirection:t,color:"#09e017",title:r("Exclusive"),children:(0,l.jsx)(s.eoj,{height:16,width:16})}):null,o?.direct||o?.volumo_direct||o?.volumo?(0,l.jsx)(u,{animationDirection:t,color:"#5800eb",title:r(o?.volumo?"Volumo team":"Volumo Direct"),children:(0,l.jsx)(s.$nJ,{height:16,width:16})}):null]})}},46917:e=>{e.exports={singleline:"BottomSheetItemHeader_singleline__R6_Xp",multiline:"BottomSheetItemHeader_multiline__K_5Wj",info:"BottomSheetItemHeader_info__n9vOg",baseText:"BottomSheetItemHeader_baseText__gdJnK",label:"BottomSheetItemHeader_label__BVczK"}},51537:e=>{e.exports={counters:"TrackBucketBottomSheetActions_counters__qxcIZ",actions:"TrackBucketBottomSheetActions_actions__ySIzS",formatsBanner:"TrackBucketBottomSheetActions_formatsBanner__s6A2p",moreActionsButton:"TrackBucketBottomSheetActions_moreActionsButton__qPlFc",moreActionsList:"TrackBucketBottomSheetActions_moreActionsList__Fe6NJ",actionLink:"TrackBucketBottomSheetActions_actionLink__DLzJ_",actionLinkDanger:"TrackBucketBottomSheetActions_actionLinkDanger__ZMBKA"}},53863:(e,t,a)=>{"use strict";a.d(t,{b:()=>v});var l=a(80263),i=a(27394),s=a(70719),n=a(90244),o=a(33698),r=a(33894),c=a(43959),d=a(96180),u=a(13463),h=a(95837),m=a(6750),_=a(61469),x=a.n(_),p=a(53239),k=a(89654),j=a(4513),y=a(7570),b=a(88847),g=a(51143);let v=(e,t)=>
1{let{api:a}=(0,k.gf)(),{t:_}=(0,u.c3)(),{openPlaylistCoverModal:v,openReportModal:f}=(0,p.useContext)(j.Bm),{isOpen:C,open:A,close:N}=(0,c.F)(),T=(0,b.$)(),w=(0,b.Nd)(),S=(0,b.zv)(),B=(0,b.bp)(),L=(0,b.ys)(),{ensureLoggedIn:F}=(0,g.JP)(),P=(0,p.useCallback)(async()=>{if(e){let t=await a.getMyContributors();t?.length?e.total_tracks_count>=5?(0,h.lO)(()=>{x().push({pathname:`${s.KW.MyCharts}/new`,query:{[y.CH]:e.id}})}):r.vF.error(_("Your playlist must have at least 5 tracks to make a chart")):(0,h.lO)(()=>x().push({pathname:s.KW.MyCharts,query:{[y.xF]:"1"}}))}},[e,_,a]),D=(0,p.useCallback)(()=>{v({playlistId:e?.id})},[e]),R=(0,p.useCallback)(()=>{e&&F(()=>f({itemId:e.id,itemType:e.type}))},[e]),z=(0,p.useCallback)(()=>{((0,i.jX)(e)||(0,i.l2)(e))&&T.mutate({playlistId:e?.id,pin:!e.pinned})},[e]),I=(0,p.useCallback)(()=>{e?.total_tracks_count&&((0,i.jX)(e)||(0,i.l2)(e))&&B.mutate({playlist:e})},[e]);return{closeChangeYoutubeVideoModal:N,handleClearPlaylist:I,handleDuplicatePlaylist:(0,p.useCallback)(()=>{L.mutate({name:e?.name??"",original_playlist_id:e?.id,source_url:x().asPath,type:"playlist"},{onSuccess(){x().push(s.KW.MyPlaylists)}})},[e]),handleMakeChart:P,handlePinPlaylist:z,handleRemovePlaylist:(0,p.useCallback)(async()=>{if(((0,i.jX)(e)||(0,i.l2)(e))&&("chart"!==e.type||await (0,o.db)({content:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{children:_("Do you really want to delete your chart?")}),(0,l.jsx)("div",{children:_("Once deleted, it's gone forever.")})]})})))try{await w.mutateAsync({playlist:e}),r.vF.success("chart"===e.type?_("The chart {name} has been deleted",void 0,{name:(0,n.Ef)(_,e?.name)??""}):_("The playlist {name} has been deleted",void 0,{name:(0,n.Ef)(_,e?.name)??""}),{countdownDuration:10*m._L,renderCustomSuffix:t=>(0,l.jsx)(d.k,{onClick:()=>{S.mutate({playlistId:e.id}),r.RP.dismissRecordByKey(t)},children:_("Undo")})}),t?.(e.id)}catch{}},[e,_,t]),handleReportPlaylist:R,handleUpdateCover:D,isChangeYoutubeVideoModalOpen:C,openChangeYoutubeVideoModal:A}}},54748:()=>{},54908:e=>{e.exports={root:"ContentLayout_root__eSdny",showLeftSidebar:"ContentLayout_showLeftSidebar__XOZAZ",main:"ContentLayout_main__ygLhy",extraBottomSpace:"ContentLayout_extraBottomSpace__DnaqP",left:"ContentLayout_left__0TFcI",right:"ContentLayout_right__YawBm",noLeftSidebar:"ContentLayout_noLeftSidebar__3FKMF"}},62017:(e,t,a)=>{"use strict";a.d(t,{s:()=>u});var l=a(80263),i=a(12556),s=a(97930),n=a(53648),o=a(13463),r=a(3638);a(53239);var c=a(54908),d=a.n(c);let u=e=>{let{allowExtraBottomSpace:t=!0,children:a,className:c,leftSidebar:u,topLine:h}=e,{t:m}=(0,o.c3)(),{isAboveMd:_}=(0,i.yU)(),x=!!(_&&u);return(0,l.jsxs)(s.xA,{className:(0,r.A)(d().root,x&&d().showLeftSidebar),horizontalSpacing:3,children:[(0,l.jsxs)("main",{className:(0,r.A)(d().main,!x&&d().noLeftSidebar,t&&d().extraBottomSpace,c),children:[h,a]}),x&&(0,l.jsx)(n.B,{"aria-label":m("Left sidebar"),className:d().left,children:u})]})};u.displayName="ContentLayout"},75143:(e,t,a)=>{"use strict";a.d(t,{n:()=>d});var l=a(80263),i=a(99435),s=a(13463),n=a(93107),o=a(6750);a(53239);var r=a(80787),c=a.n(r);let d=e=>{let{releaseStartAt:t,originalReleaseDate:a}=e,{locale:r,t:d}=(0,s.c3)();return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{title:d("Volumo release date"),children:(0,n.ZP)(t,{locale:r})}),a&&(0,o.pp)(a)!==(0,o.pp)(t)?(0,l.jsxs)(l.Fragment,{children:[" ","(",(0,l.jsx)(i.m,{anchor:(0,l.jsx)("span",{className:c().baseText,title:d("Original release date"),children:(0,n.ZP)(a,{locale:r})}),children:d("Original release date")}),")"]}):null]})}},76993:(e,t,a)=>{"use strict";a.d(t,{J:()=>u});var l=a(80263),i=a(90244),s=a(97930),n=a(13463),o=a(52996),r=a(6750);a(53239);var c=a(39281),d=a.n(c);let u=e=>{let{className:t,currentCount:a,duration:c,totalCount:u,trailingDivider:h}=e,{t:m}=(0,n.c3)(),_=void 0!==a&&a!==u?(0,o.oA)((0,i.vV)(m,"track",a,u,a),/\d+/,d().count):(0,i.B4)(m,"track",u,(0,l.jsx)("span",{className:d().count,children:u},"total tracks"));return(0,l.jsxs)(s.xA,{alignItems:"center",className:t,columns:h?"1fr auto 1fr auto":"1fr auto 1fr",children:[(0,l.jsx)("div",{className:d().counterBlock,children:_}),(0,l.jsx)("div",{className:d().countersVerticalDivider}),(0,l.jsx)("div",{className:d().counterBlock,children:(0,o.oA)((0,r.Jy)(c??void 0),/\d+/,d().count)}
1),h&&(0,l.jsx)("div",{className:d().countersVerticalDivider})]})}},80787:e=>{e.exports={baseText:"AlbumReleaseDate_baseText__6WmLf"}},88572:e=>{e.exports={root:"MoreActionsToggle_root__4xS2V",icon:"MoreActionsToggle_icon__SdJRW",iconFlipped:"MoreActionsToggle_iconFlipped__Lh_vg"}},91275:(e,t,a)=>{"use strict";a.d(t,{E:()=>ei});var l=a(80263),i=a(27394),s=a(75976),n=a(12556),o=a(43959),r=a(78852),c=a(3638),d=a(53239),u=a(85087),h=a(97930),m=a(5968),_=a(88770),x=a(30394),p=a(42852),k=a(21276),j=a.n(k);let y=e=>{let{fullSizeBelowSm:t,layoutVariant:a="compact",item:s,canRemove:o,className:r,disabled:d,trackIds:u,onRemove:k}=e,{isBelowSm:y}=(0,n.yU)(),b=(0,i.HJ)(s)?s:void 0,g=(0,i.VZ)(s)?s:void 0,v=b||g,f=!!g?.id&&!g?.total_tracks_count,C=u?.length?"selected":b?.title||g?.name;return(0,l.jsxs)(h.xA,{autoColumns:y&&t?"1fr":"auto",autoFlow:y&&t?"row":"column",className:(0,c.A)(j().root,!t&&j().notFullSizeBelowSm,r),horizontalSpacing:y?1:1.5,verticalSpacing:1,children:[b&&b.purchased&&(0,l.jsx)(p.h,{item:b,layoutVariant:a}),g&&o&&(0,l.jsx)(x.z,{disabled:d,itemTitle:C,itemTypeTitle:u?.length?"track":"chart"===g.type?"chart":"playlist",layoutVariant:a,onClick:async()=>await k?.(g.id)}),(0,l.jsx)(m.n,{disabled:f||d,layoutVariant:a,muted:!0,playlisted:b?.tracks.every(e=>!!e.playlisted),showRightPlaceholder:"full"!==a,sourceAlbum:b,sourcePlaylistId:g?.id,sourcePlaylistType:g?.type,sourceTrackIds:u}),v&&(0,l.jsx)(_.F,{className:j().ctaButton,disabled:f||d,items:[v],itemType:b?.id?"album":"playlist",layoutVariant:a,playlistId:g?.id})]})};var b=a(13372),g=a.n(b),v=a(70719),f=a(62907),C=a(67445),A=a(57975),N=a(18251),T=a(13463),w=a(553),S=a(89654),B=a(12734),L=a(6487),F=a(35612),P=a(4513),D=a(76993),R=a(53863),z=a(51143),I=a(8259),V=a(79721),H=a(90244),M=a(93107),W=a(52996),U=a(10330),E=a(75143),J=a(88196),Z=a(75830),O=a(44094),K=a(632),$=a(94276),Y=a(46917),q=a.n(Y);let X=e=>{let{item:t}=e,{locale:a,t:s}=(0,T.c3)(),n=(0,i.HJ)(t)?t:void 0,o=(0,i.VZ)(t)?t:void 0,r=n?.title??o?.name??"",d=n?n.recordlabel&&(0,l.jsx)("span",{children:s("on {label}","album has been released by this record label",{label:(0,l.jsx)(J.U,{className:q().baseText,contributor:n.recordlabel},"label")})},"label"):o?.owner&&(0,l.jsx)("span",{children:s("By {author}","By author",{author:"artist"===o.owner.type||"recordlabel"===o.owner.type?(0,l.jsx)(J.U,{className:q().baseText,contributor:{id:Number(o.owner.id),name:o.owner.name,type:o.owner.type,followed:o.owner.followed}},"owner"):(0,l.jsx)("span",{className:(0,c.A)(q().baseText,w.Yr),children:o.owner.name},"owner")})},"owner");return(0,l.jsxs)(h.xA,{verticalSpacing:2,children:[(0,l.jsxs)(h.xA,{columns:"auto 1fr",horizontalSpacing:2,children:[(0,l.jsx)(V.b,{imageUuid:t.artwork_uuid??void 0,size:156,title:s("Artwork for {title}",void 0,{title:(0,H.Ef)(s,r)}),triple:!!o,type:n?"album":o?.type==="chart"?"chart":"playlist"}),(0,l.jsx)(h.xA,{alignContent:"flex-end",justifyContent:"flex-end",children:(0,l.jsx)(O._,{animationDirection:"left",gridFlow:"row",item:t})})]}),(0,l.jsxs)(h.xA,{verticalSpacing:1,children:[(0,l.jsx)($.h,{component:"h2",title:r}),(0,l.jsx)("span",{className:q().info,children:(0,W.po)([d||void 0,n?.release_start_at?(0,l.jsx)(E.n,{originalReleaseDate:n.original_release_date,releaseStartAt:n.release_start_at},"release_date"):void 0,o?.published_at?(0,l.jsx)("span",{title:s("Publish date"),children:(0,M.ZP)(o.published_at,{locale:a})},"published_at"):void 0,n?.catalog_number?(0,l.jsx)("span",{title:s("Catalog number"),children:n.catalog_number},"cat_num"):void 0].filter(U.vN))})]}),n?.artists?.length?(0,l.jsxs)(h.xA,{alignContent:"flex-start",children:[(0,l.jsxs)("div",{className:q().label,children:[s("Artists"),":"]}),(0,l.jsx)(Z.Q,{artists:n.artists,"data-test-id":"artists",restUrl:(0,v.FD)(n),variant:"full"})]}):null,t.genres_ids?.length?(0,l.jsxs)(h.xA,{alignContent:"flex-start",children:[(0,l.jsxs)("div",{className:q().label,children:[s("Genres"),":"]}),(0,l.jsx)(K.k,{"data-test-id":"genres",genreIds:t.genres_ids,restUrl:n?(0,v.FD)(n):void 0,variant:"full"})]}):null]})};var G=a(51537),Q=a.n(G);let ee=["purchase","album"],et=["purchase","chart"],ea=["purchase","playlist"],el=e=>{let{hintResetKey:t,item:a,onCloseAttempt:n}=e,{api:r}=(0,S.gf)(),{t:u}=(0,T.c3)(),x=(0,i.HJ)(a)?a:void 0,p=(0,i.VZ)(a)?a:void 0,k=p?.type==="chart",j=(0,i.l2)(p),y=(0,i.l2)(p)&&!!p.pinned,b=!!(0,i.VZ)(a)&&!a.total_tracks_count,{isOpen:g,open:V,toggle:H}=(0,o.F)(),{expandRequestCount:M}=(0,s.zf)();(0,A.T)(M,()=>V());let{openShareUrlModal:W,openReportModal:U,openPlaylistVisibilityModal:E,openTipsModal:J}=(0,d.useContext)(P.Bm),{ensureLoggedIn:Z}=(0,z.JP)(),{closeChangeYoutubeVideoModal:O,handleClearPlaylist:K,handleDuplicatePlaylist:$,handleMakeChart:Y,handlePinPlaylist:q,handleRemovePlaylist:G,handleReportPlaylist:el,handleUpdate
1Cover:ei,isChangeYoutubeVideoModalOpen:es,openChangeYoutubeVideoModal:en}=(0,R.b)(p),[eo,er]=(0,d.useState)(!1),ec=(0,d.useRef)();(0,d.useEffect)(()=>()=>clearTimeout(ec.current),[]);let ed=(0,d.useCallback)(async()=>{if(x){let e=(0,I.x5)((0,v.FD)(x)),t=await r.createShareUrlWithSi(e,"share");W({item:x,shareText:u("Check out this album at Volumo"),url:t})}else if(p)if((0,i.l2)(p)&&"published"!==p.state)E({playlist:p});else{let e=(0,I.x5)((0,v.C$)(p)),t=await r.createShareUrlWithSi(e,"share");W({item:p,shareText:k?u("Check out this chart at Volumo"):u("Check out this playlist at Volumo"),url:t})}},[x,p,k]),eu=(0,d.useCallback)(()=>{if(x){let e=x.artists?.map(e=>e.name).join(", ");(0,w.lW)(`${e?`${e} â `:""}${x.title}${x.recordlabel?` [${x.recordlabel.name}]`:""}`),er(!0),clearTimeout(ec.current),ec.current=setTimeout(()=>er(!1),5e3)}},[x]),eh=(0,d.useCallback)(()=>{x&&Z(()=>J({item:x}))},[x]),em=(0,d.useCallback)(()=>{x?Z(()=>{n(),U({itemId:x.id,itemType:"album"})}):(n(),el())},[x,el,n]),e_=(0,d.useCallback)(()=>{Z(()=>{n(),$()})},[$,n]),ex=(0,d.useCallback)(()=>{n(),Y()},[Y,n]),ep=(0,d.useCallback)(()=>{n(),G()},[G,n]);return(0,l.jsxs)(h.xA,{children:[(0,l.jsx)(X,{item:a}),(0,l.jsx)(D.J,{className:Q().counters,duration:a.duration,totalCount:x?x.tracks_total:p?.total_tracks_count??0}),(0,l.jsxs)(h.xA,{className:Q().actions,verticalSpacing:2,children:[!a.purchased&&(0,l.jsx)(B.R,{className:Q().formatsBanner}),(0,l.jsxs)(h.xA,{verticalSpacing:1,children:[(0,l.jsx)(m.n,{disabled:b,layoutVariant:"full",muted:"inPopup",playlisted:x?.tracks.every(e=>!!e.playlisted),sourceAlbum:x,sourcePlaylistId:p?.id,sourcePlaylistType:p?.type,onAddToPlaylist:n,onRemoveFromPlaylist:n}),(0,l.jsx)(_.F,{disabled:b,inPopup:!0,items:[a],itemType:x?"album":"playlist",layoutVariant:"full",playlistId:p?.id,onAddedToCart:n,onDownload:n})]})]}),(0,l.jsx)(L.NC,{resetKey:t,seed:a.id,topics:x?ee:k?et:ea}),(0,l.jsx)(L.ZN,{className:Q().moreActionsButton,isOpen:g,onToggle:H}),(0,l.jsx)(L.i0,{isOpen:g,children:(0,l.jsxs)(h.xA,{className:Q().moreActionsList,verticalSpacing:2,children:[(0,l.jsx)(C.c,{bold:!0,variant:"zero"}),(0,l.jsxs)(f.u,{className:Q().actionLink,onClick:ed,children:[(0,l.jsx)(N.VJ,{height:20,width:20}),x?u("Share album"):k?u("Share chart"):u("Share playlist")]}),x&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(f.u,{className:Q().actionLink,onClick:eu,children:[(0,l.jsx)(N.bzS,{height:20,width:20}),eo?u("Copied!"):u("Copy release info")]}),x.purchased&&(0,l.jsxs)(f.u,{className:Q().actionLink,onClick:eh,children:[(0,l.jsx)(N.weu,{height:20,width:20}),u("Add a tip")]}),(0,l.jsx)(C.c,{bold:!0,variant:"zero"}),(0,l.jsxs)(f.u,{className:(0,c.A)(Q().actionLink,Q().actionLinkDanger),onClick:em,children:[(0,l.jsx)(N.WPE,{height:20,width:20}),u("Report album")]})]}),p&&!j&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(f.u,{className:Q().actionLink,onClick:e_,children:[(0,l.jsx)(N.bzS,{height:20,width:20}),u("Save as my playlist")]}),(0,l.jsx)(C.c,{bold:!0,variant:"zero"}),(0,l.jsxs)(f.u,{className:(0,c.A)(Q().actionLink,Q().actionLinkDanger),onClick:em,children:[(0,l.jsx)(N.WPE,{height:20,width:20}),k?u("Report chart"):u("Report playlist")]})]}),p&&j&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(C.c,{bold:!0,variant:"zero"}),!k&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(f.u,{className:Q().actionLink,onClick:q,children:[y?(0,l.jsx)(N.ccK,{height:20,width:20}):(0,l.jsx)(N.zgT,{height:20,width:20}),y?u("Unpin"):u("Pin")]}),(0,l.jsxs)(f.u,{className:Q().actionLink,onClick:ex,children:[(0,l.jsx)(N.THQ,{height:20,width:20}),u("Make it a Chart")]}),(0,l.jsxs)(f.u,{className:Q().actionLink,onClick:e_,children:[(0,l.jsx)(N.bzS,{height:20,width:20}),u("Save as my playlist")]})]}),(0,l.jsxs)(f.u,{className:Q().actionLink,onClick:ei,children:[(0,l.jsx)(N.dwH,{height:20,width:20}),u("Update cover")]}),k?(0,l.jsxs)(f.u,{className:Q().actionLink,onClick:en,children:[(0,l.jsx)(N.BnN,{height:20,width:20}),u("Update Youtube video")]}):(0,l.jsxs)(f.u,{className:Q().actionLink,onClick:K,children:[(0,l.jsx)(N.ZKr,{height:20,width:20}),u("Clear","delete all tracks from playlist")]}),(0,l.jsx)(C.c,{bold:!0,variant:"zero"}
1),(0,l.jsxs)(f.u,{className:(0,c.A)(Q().actionLink,Q().actionLinkDanger),onClick:ep,children:[(0,l.jsx)(N.CA7,{height:20,width:20}),u("Delete")]})]})]})}),p&&j&&k&&(0,l.jsx)(F.o,{open:es,playlist:p,onCloseAttempt:O})]})},ei=e=>{let{className:t,...a}=e,{isBelowSm:h}=(0,n.yU)(),{close:m,isOpen:_,open:x}=(0,o.F)(),[p,k]=(0,d.useState)(0),j=(0,i.HJ)(e.item)&&e.item.tracks.every(e=>!!e.playlisted),b=(0,d.useCallback)(()=>{k(e=>e+1),x()},[x]);return(0,l.jsx)("div",{className:(0,c.A)(g().root,t),children:h&&!e.fullSizeBelowSm&&((0,i.HJ)(e.item)||(0,i.VZ)(e.item))?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(s.Xn,{hasCloseButton:!0,open:_,openStateHash:"actions",onCloseAttempt:m,children:(0,l.jsx)(r.K,{pb:2,pl:2,pr:2,pt:2,children:(0,l.jsx)(el,{hintResetKey:p,item:e.item,onCloseAttempt:m})})}),(0,l.jsx)(u.U,{disabled:e.disabled,item:e.item,muted:!(e.item.purchased&&!e.item.downloaded),playlisted:j,onClick:b})]}):(0,l.jsx)(y,{...a})})}},94276:(e,t,a)=>{"use strict";a.d(t,{h:()=>_});var l=a(80263),i=a(12556),s=a(32471),n=a(49685),o=a(36285),r=a(50016),c=a(553),d=a(3638),u=a(53239),h=a(98579),m=a.n(h);let _=u.memo(e=>{let{className:t,component:a,highlightedText:u,href:h,playlist:_,singleLine:x,target:p,title:k,variant:j}=e,{isBelowSm:y,clientDeviceType:b}=(0,i.yU)(),g=x&&"desktop"!==b&&y,v=(0,l.jsx)(r.V,{className:(0,d.A)(m().title,j&&m()[`title--${j}`],g?m().horizontalScroll:x?m().oneline:m().multiline,c.Yr),component:a??(h?"h2":"h1"),title:k,variant:"h3",children:(0,l.jsx)(n.z,{highlightedText:u,text:k})}),f=g?(0,l.jsx)(o.C,{className:m().scrollerWrapper,fade:!0,children:v}):v;return(0,l.jsx)("div",{className:(0,d.A)(m().root,_&&m().playlistTitle,t),children:h?(0,l.jsx)(s.A,{href:h,target:p,title:k,children:f}):f})});_.displayName="Title"},94497:e=>{e.exports={root:"Bookmark_root__W0JHL",title:"Bookmark_title__PJIBL",titleContainer:"Bookmark_titleContainer__UktJz",visible:"Bookmark_visible__a56ej",titleContainerLeft:"Bookmark_titleContainerLeft__HRx7a"}},94860:e=>{e.exports={root:"Thumb_root__BMJCu",moveButton:"Thumb_moveButton__qjAqr",compact:"Thumb_compact__SOr2e"}},95203:e=>{e.exports={root:"TrackBlock_root__Bvw_S",marker:"TrackBlock_marker__6udH7",withDivider:"TrackBlock_withDivider__ZD6AH"}},98579:e=>{e.exports={singleline:"Title_singleline__v1DYb",multiline:"Title_multiline__sfxxD",root:"Title_root__8Z_tt",title:"Title_title__WcVno","title--large":"Title_title--large__QCWAJ",oneline:"Title_oneline__GtWW_",horizontalScroll:"Title_horizontalScroll__22CAN",scrollerWrapper:"Title_scrollerWrapper__RGWQy",popoverPaper:"Title_popoverPaper__CVpoJ",accentColored:"Title_accentColored__Ze_Oq",playlistTitle:"Title_playlistTitle__jZe9V",charm:"Title_charm__vrjGU",playlistCharm:"Title_playlistCharm__c9s1h",volumoPlaylist:"Title_volumoPlaylist__RDiEQ",main:"Title_main__mjsoO",tooltip:"Title_tooltip__pDFE_"}}}]);
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.