PageSourceSearch

https://www.bammusic.com/_next/static/chunks/1952.1949867004329424.js

js bammusic.com collected 2026-10-04 09:01:34 UTC 95,097 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1952],{81952:(e,t,r)=>{r.r(t),r.d(t,{default:()=>ev});var i=r(6029),l=r(55729),s=r(81278),a=r(32682),d=r(74980),n=r(94145),o=r(85866),u=r(9371),y=r(62781),c=r(31593),p=r(32554),m=r(76318),v=r(93258),L=r(92887),N=r(8499),g=r(41567),b=r(48723),S=r(62581),M=r(18197);let U=n.Ay.div.withConfig({componentId:"sc-4fabe4c0-0"})(["","{width:",";min-width:",";min-height:",";}","{width:",";min-width:",";min-height:",";}","{width:",";min-width:",";min-height:",";}","{width:",";min-width:",";min-height:",";}","{width:",";min-width:",";min-height:",";}"],e=>{let{theme:t}=e;return t.mediaQueries.mobile},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledDialogWrap.mobile.width},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledDialogWrap.mobile.minWidth},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledDialogWrap.mobile.minHeight},e=>{let{theme:t}=e;return t.mediaQueries.mobileLarge},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledDialogWrap.mobileLarge.width},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledDialogWrap.mobileLarge.minWidth},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledDialogWrap.mobileLarge.minHeight},e=>{let{theme:t}=e;return t.mediaQueries.tablet},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledDialogWrap.tablet.width},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledDialogWrap.tablet.minWidth},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledDialogWrap.tablet.minHeight},e=>{let{theme:t}=e;return t.mediaQueries.desktop},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledDialogWrap.desktop.width},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledDialogWrap.desktop.minWidth},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledDialogWrap.desktop.minHeight},e=>{let{theme:t}=e;return t.mediaQueries.widescreen},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledDialogWrap.widescreen.width},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledDialogWrap.widescreen.minWidth},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledDialogWrap.widescreen.minHeight});var h=r(55279);let w=(0,n.Ay)(h.A).withConfig({componentId:"sc-d2fcd985-0"})(["color:",";text-transform:",";","{margin:",";}","{margin:",";}","{margin:",";}","{margin:",";}","{margin:",";}"],e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledHeading.color},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledHeading.textTransform},e=>{let{theme:t}=e;return t.mediaQueries.mobile},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledHeading.mobile.margin},e=>{let{theme:t}=e;return t.mediaQueries.mobileLarge},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledHeading.mobileLarge.margin},e=>{let{theme:t}=e;return t.mediaQueries.tablet},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledHeading.tablet.margin},e=>{let{theme:t}=e;return t.mediaQueries.desktop},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledHeading.desktop.margin},e=>{let{theme:t}=e;return t.mediaQueries.widescreen},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledHeading.widescreen.margin}),k=n.Ay.div.withConfig({componentId:"sc-41ab302-0"})(["display:",";align-items:",";background-color:",";@keyframes shake{0%{transform:translateX(0);}25%{transform:translateX(-5px);}50%{transform:translateX(5px);}75%{transform:translateX(-5px);}100%{transform:translateX(0);}}&.input-error{input{animation:shake 0.2s;border:",";border-radius:",";}}","{height:",";width:",";max-width:",";margin:",";padding:",";border-radius:",";border:",";border-top:",";border-right:",";border-bottom:",";border-left:",";}","{width:",";max-width:",";}","{width:",";max-width:",";}","{width:",";max-width:",";}","{width:",";max-width:",";}"],e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledInputWrap.display},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledInputWrap.alignItems},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledInputWrap.backgroundColor},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledInputWrap.borderAnimation},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledInputWrap.borderRadiusAnimation},e=>{let{theme:t}=e;return t.mediaQueries.mobile},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledInputWrap.mobile.height},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledInputWrap.mobile.width},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledInputWrap.mobile.maxWidth},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledInputWrap.mobile.margin},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledInputWrap.mobile.padding},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledInputWrap.mobile.borderRadius},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledInputWrap.mobile.border},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledInputWrap.mobile.borderTop},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledInputWrap.mobile.borderRight},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledInputWrap.mobile.borderBottom},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledInputWrap.mobile.borderLeft},e=>{let{theme:t}=e;return t.mediaQueries.mobileLarge},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledInputWrap.mobileLarge.width},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledInputWrap.mobileLarge.maxWidth},e=>{let{theme:t}=e;return t.mediaQueries.tablet},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledInputWrap.tablet.width},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledInputWrap.tablet.maxWidth},e=>{let{theme:t}=e;return t.mediaQueries.desktop},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledInputWrap.desktop.width},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledInputWrap.desktop.maxWidth},e=>{let{theme:t}=e;return t.mediaQueries.widescreen},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledInputWrap.widescreen.width},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledInputWrap.widescreen.maxWidth}),C=n.Ay.div.withConfig({componentId:"sc-5260ce59-0"})(["","{margin:",";}","{margin:",";}","{margin:",";}","{margin:",";}","{margin:",";}"],e=>{let{theme:t}=e;return t.mediaQueries.mobile},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledButton.mobile.margin},e=>{let{theme:t}=e;return t.mediaQueries.mobileLarge},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledButton.mobileLarge.margin},e=>{let{theme:t}=e;return t.mediaQueries.tablet},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledButton.tablet.margin},e=>{let{theme:t}=e;return t.mediaQueries.desktop},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledButton.desktop.margin},e=>{let{theme:t}=e;return t.mediaQueries.widescreen},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledButton.widescreen.margin}),f=n.Ay.div.withConfig({componentId:"sc-91552547-0"})(["width:",";max-width:",";display:",";justify-content:",";flex-direction:",";","{gap:",";}","{gap:",";}","{gap:",";}","{gap:",";}","{gap:",";}"],e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledButtonWrap.width},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledButtonWrap.maxWidth},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledButtonWrap.display},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledButtonWrap.justifyContent},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledButtonWrap.flexDirection},e=>{let{theme:t}=e;return t.mediaQueries.mobile},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledButtonWrap.mobile.gap},e=>{let{theme:t}=e;return t.mediaQueries.mobileLarge},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledButtonWrap.mobileLarge.gap},e=>{let{theme:t}=e;return t.mediaQueries.tablet},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledButtonWrap.tablet.gap},e=>{let{theme:t}=e;return t.mediaQueries.desktop},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledButtonWrap.desktop.gap},e=>{let{theme:t}=e;return t.mediaQueries.widescreen},e=>{let{layoutVariant:t,theme:r}=e;return r.OptsCreateNewFolder[t].StyledButtonWrap.widescreen.gap}),I=e=>{let{layoutVariant:t,toast:r}=e,o=(0,n.DP)(),u=(0,s.useRouter)(),y=(0,v.jE)(),{translation:c}=(0,d.p)(),{baseUrl:m,isLoggedIn:h,token:I}=(0,b.A)(),{resetVirtualList:P}=(0,a.e)(),[W,x]=(0,l.useState)(""),[B,D]=(0,l.useState)(!1),[F,T]=(0,l.useState)(!1),O
1=""!==W.trim(),Q=u.asPath.includes("/account/playlists")||u.asPath.includes("/account/liked-tracks"),{mutate:j,isLoading:A,isError:H,isSuccess:R}=(0,L.n)({mutationFn:e=>(0,N.$P)(m,I,{PlaylistCategoryName:e.folderName,PlaylistCategoryDescription:""}),onMutate:async e=>{await y.cancelQueries({queryKey:["getPlaylists",h,Q?u.query.sort:void 0]});let t=y.getQueryData(["getPlaylists",h,Q?u.query.sort:void 0]);return y.setQueryData(["getPlaylists",h,Q?u.query.sort:void 0],t=>t?{...t,1:{ID:"1",ObjectType:"PlaylistCategory",Name:e.folderName}}:t),T(!0),P(),{previousPlaylists:t}},onError:(e,t,r)=>{y.setQueryData(["getPlaylists",h,Q?u.query.sort:void 0],null==r?void 0:r.previousPlaylists)},onSettled:()=>{y.invalidateQueries({queryKey:["getPlaylists",h,Q?u.query.sort:void 0]}),P()}}),V=A?(0,i.jsx)("p",{children:(null==c?void 0:c.OptsCreateNewFolder.addNewFolder)||"Adding a new folder..."}):H?(0,i.jsx)("p",{children:(null==c?void 0:c.OptsCreateNewFolder.failledToAdd)||"Failed to add to new folder"}):R&&(0,i.jsxs)("p",{children:[(null==c?void 0:c.OptsCreateNewFolder.addedSuccess)||"Added"," ",(null==c?void 0:c.OptsCreateNewFolder.newFolderLink)||"new folder"]});(0,g.Lm)(A,H,R,H||R?r.close:()=>null,{description:V,duration:5e3,type:"foreground"});let z=()=>{if(""===W.trim())return E();j({folderName:W})},E=()=>{D(!0),setTimeout(()=>D(!1),200)};return F?null:(0,i.jsx)(S.A,{layoutVariant:o.OptsCreateNewFolder[t].Dialog.layoutVariant,toast:r,isLoggedIn:h,children:(0,i.jsxs)(U,{layoutVariant:t,children:[(0,i.jsx)(w,{layoutVariant:t,as:"h5",variant:o.OptsCreateNewFolder[t].StyledHeading.variant,children:(null==c?void 0:c.OptsCreateNewFolder.createNewFolderHeading)||"Create new folder"}),(0,i.jsxs)(k,{layoutVariant:t,className:B?"input-error":"",children:[(0,i.jsx)(M.A,{autoFocus:!0,required:!0,type:"text",variant:o.OptsCreateNewFolder[t].StyledInputWrap.FormInputMixed.variant,placeholder:(null==c?void 0:c.OptsCreateNewFolder.placeholderNewFolder)||"New folder name",tooltipText:"",value:W,onChange:e=>{var t;x(null==e||null==(t=e.target)?void 0:t.value)},onKeyDown:e=>{"Enter"===e.key&&z()}}),O&&(0,i.jsx)(C,{layoutVariant:t,children:(0,i.jsx)(p.A,{variant:o.OptsCreateNewFolder[t].StyledButton.ButtonClose.variant,withIcon:o.OptsCreateNewFolder[t].StyledButton.ButtonClose.withIcon,withText:o.OptsCreateNewFolder[t].StyledButton.ButtonClose.withText,iconName:o.OptsCreateNewFolder[t].StyledButton.ButtonClose.iconName,onClick:()=>x("")})}),O&&(0,i.jsx)(C,{layoutVariant:t,children:(0,i.jsx)(p.A,{variant:o.OptsCreateNewFolder[t].StyledButton.ButtonArrowRight.variant,withIcon:o.OptsCreateNewFolder[t].StyledButton.ButtonArrowRight.withIcon,withText:o.OptsCreateNewFolder[t].StyledButton.ButtonArrowRight.withText,iconName:o.OptsCreateNewFolder[t].StyledButton.ButtonArrowRight.iconName,onClick:z})})]}),(0,i.jsxs)(f,{layoutVariant:t,children:[(0,i.jsx)(p.A,{variant:o.OptsCreateNewFolder[t].StyledButton.ButtonCancel.variant,withIcon:o.OptsCreateNewFolder[t].StyledButton.ButtonCancel.withIcon,withText:o.OptsCreateNewFolder[t].StyledButton.ButtonCancel.withText,iconName:o.OptsCreateNewFolder[t].StyledButton.ButtonCancel.iconName,onClick:r.close,children:(null==c?void 0:c.OptsCreateNewFolder.cancelButton)||"Cancel"}),(0,i.jsx)(p.A,{variant:o.OptsCreateNewFolder[t].StyledButton.ButtonCreate.variant,withIcon:o.OptsCreateNewFolder[t].StyledButton.ButtonCreate.withIcon,withText:o.OptsCreateNewFolder[t].StyledButton.ButtonCreate.withText,iconName:o.OptsCreateNewFolder[t].StyledButton.ButtonCreate.iconName,iconPosition:o.OptsCreateNewFolder[t].StyledButton.ButtonCreate.iconPosition,onClick:z,children:(null==c?void 0:c.OptsCreateNewFolder.createButton)||"Create"})]})]})})};var P=r(75077),W=r(63229);let x=(0,r(66178).A)(W.q7),B=(0,n.Ay)(x).withConfig({componentId:"sc-aabe09be-0"})(["cursor:",";background:",";&[data-highlighted]{background:",";color:",";}","{border-radius:",";margin:",";padding:",";&[data-highlighted]{margin:",";padding:",";}}","{border-radius:",";margin:",";padding:",";&[data-highlighted]{margin:",";padding:",";}}","{border-radius:",";margin:",";padding:",";&[data-highlighted]{margin:",";padding:",";}}","{border-radius:",";margin:",";padding:",";&[data-highlighted]{margin:",";padding:",";}}","{border-radius:",";margin:",";padding:",";&[data-highlighted]{margin:",";padding:",";}}"],e=>{let{layoutVariant:t,theme:r}=e;
1return r.NavListUserMusic[t].DropdownMenu.StyledDropdownItem.cursor},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].DropdownMenu.StyledDropdownItem.background},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].DropdownMenu.StyledDropdownItem.dataHighlighted.background},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].DropdownMenu.StyledDropdownItem.dataHighlighted.color},e=>{let{theme:t}=e;return t.mediaQueries.mobile},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].DropdownMenu.StyledDropdownItem.mobile.borderRadius},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].DropdownMenu.StyledDropdownItem.mobile.margin},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].DropdownMenu.StyledDropdownItem.mobile.padding},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].DropdownMenu.StyledDropdownItem.mobile.dataHighlighted.margin},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].DropdownMenu.StyledDropdownItem.mobile.dataHighlighted.padding},e=>{let{theme:t}=e;return t.mediaQueries.tablet},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].DropdownMenu.StyledDropdownItem.tablet.borderRadius},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].DropdownMenu.StyledDropdownItem.tablet.margin},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].DropdownMenu.StyledDropdownItem.tablet.padding},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].DropdownMenu.StyledDropdownItem.mobileLarge.dataHighlighted.margin},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].DropdownMenu.StyledDropdownItem.mobileLarge.dataHighlighted.padding},e=>{let{theme:t}=e;return t.mediaQueries.tablet},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].DropdownMenu.StyledDropdownItem.tablet.borderRadius},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].DropdownMenu.StyledDropdownItem.tablet.margin},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].DropdownMenu.StyledDropdownItem.tablet.padding},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].DropdownMenu.StyledDropdownItem.tablet.dataHighlighted.margin},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].DropdownMenu.StyledDropdownItem.tablet.dataHighlighted.padding},e=>{let{theme:t}=e;return t.mediaQueries.desktop},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].DropdownMenu.StyledDropdownItem.desktop.borderRadius},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].DropdownMenu.StyledDropdownItem.desktop.margin},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].DropdownMenu.StyledDropdownItem.desktop.padding},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].DropdownMenu.StyledDropdownItem.desktop.dataHighlighted.margin},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].DropdownMenu.StyledDropdownItem.desktop.dataHighlighted.padding},e=>{let{theme:t}=e;return t.mediaQueries.widescreen},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].DropdownMenu.StyledDropdownItem.widescreen.borderRadius},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].DropdownMenu.StyledDropdownItem.widescreen.margin},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].DropdownMenu.StyledDropdownItem.widescreen.padding},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].DropdownMenu.StyledDropdownItem.widescreen.dataHighlighted.margin},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].DropdownMenu.StyledDropdownItem.widescreen.dataHighlighted.padding}),D=n.Ay.div.withConfig({componentId:"sc-e6b958a9-0"})(["display:",";flex-direction:",";","{gap:",";}","{gap:",";}","{gap:",";}","{gap:",";}","{gap:",";}"],e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].DropdownMenu.StyledDropdownMenuList.display},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].DropdownMenu.StyledDropdownMenuList.flexDirection},e=>{let{theme:t}=e;return t.mediaQueries.mobile},e=>{let{layoutVariant:t,theme:r}=e;
1return r.NavListUserMusic[t].DropdownMenu.StyledDropdownMenuList.mobile.gap},e=>{let{theme:t}=e;return t.mediaQueries.mobileLarge},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].DropdownMenu.StyledDropdownMenuList.mobileLarge.gap},e=>{let{theme:t}=e;return t.mediaQueries.tablet},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].DropdownMenu.StyledDropdownMenuList.tablet.gap},e=>{let{theme:t}=e;return t.mediaQueries.desktop},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].DropdownMenu.StyledDropdownMenuList.desktop.gap},e=>{let{theme:t}=e;return t.mediaQueries.widescreen},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].DropdownMenu.StyledDropdownMenuList.widescreen.gap}),F=e=>{let{layoutVariant:t}=e,r=(0,n.DP)(),{translation:s}=(0,d.p)(),a=(0,c.A)(),o=(0,c.A)(),[u,y]=(0,l.useState)(!1);return(0,i.jsxs)(l.Fragment,{children:[(0,i.jsx)(m.A,{layoutVariant:t,triggerButton:(0,i.jsx)(p.A,{variant:r.NavListUserMusic[t].DropdownMenu.TriggerButton.Button.variant,withIcon:r.NavListUserMusic[t].DropdownMenu.TriggerButton.Button.withIcon,withText:r.NavListUserMusic[t].DropdownMenu.TriggerButton.Button.withText,iconName:r.NavListUserMusic[t].DropdownMenu.TriggerButton.Button.iconName,iconPosition:r.NavListUserMusic[t].DropdownMenu.TriggerButton.Button.iconPosition,onClick:()=>y(!0),children:(null==s?void 0:s.NavListUserMusic.createButton)||"Create"}),isDropdownOpen:u,setIsDropdownOpen:y,children:(0,i.jsxs)(D,{layoutVariant:t,children:[(0,i.jsx)(B,{layoutVariant:t,onSelect:()=>y(!1),children:(0,i.jsx)(p.A,{variant:r.NavListUserMusic[t].DropdownMenu.StyledDropdownMenuButton.Button.variant,withIcon:r.NavListUserMusic[t].DropdownMenu.StyledDropdownMenuButton.Button.withIcon,withText:r.NavListUserMusic[t].DropdownMenu.StyledDropdownMenuButton.Button.withText,iconName:r.NavListUserMusic[t].DropdownMenu.StyledDropdownMenuButton.Button.iconName,iconPosition:r.NavListUserMusic[t].DropdownMenu.StyledDropdownMenuButton.Button.iconPosition,onClick:()=>a.open("1"),children:(null==s?void 0:s.NavListUserMusic.playlistButton)||"New Playlist"})}),(0,i.jsx)(B,{layoutVariant:t,onSelect:()=>y(!1),children:(0,i.jsx)(p.A,{variant:r.NavListUserMusic[t].DropdownMenu.StyledDropdownMenuButton.Button.variant,withIcon:r.NavListUserMusic[t].DropdownMenu.StyledDropdownMenuButton.Button.withIcon,withText:r.NavListUserMusic[t].DropdownMenu.StyledDropdownMenuButton.Button.withText,iconName:r.NavListUserMusic[t].DropdownMenu.StyledDropdownMenuButton.Button.iconName,iconPosition:r.NavListUserMusic[t].DropdownMenu.StyledDropdownMenuButton.Button.iconPosition,onClick:()=>o.open("1"),children:(null==s?void 0:s.NavListUserMusic.newFolder)||"New Folder"})})]})}),(null==a?void 0:a.id)==="1"&&(0,i.jsx)(P.A,{layoutVariant:"default",toast:a}),(null==o?void 0:o.id)==="1"&&(0,i.jsx)(I,{layoutVariant:"default",toast:o})]})};var T=r(6364),O=r(21120),Q=r(42607),j=r(34782),A=r(15223),H=r(52883),R=r(27655),V=r(76570);let z=(0,n.Ay)(h.A).withConfig({componentId:"sc-3397723-0"})(["color:",";","{margin:",";padding:",";}","{margin:",";padding:",";}","{margin:",";padding:",";}","{margin:",";padding:",";}","{margin:",";padding:",";}"],e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistCountWrap.StyledCreatedDate.color},e=>{let{theme:t}=e;return t.mediaQueries.mobile},e=>{let{layoutVariant:t,theme:r,isFolder:i}=e;return i?r.NavListUserMusic[t].StyledPlaylistCountWrap.StyledCreatedDate.mobile.marginFolder:r.NavListUserMusic[t].StyledPlaylistCountWrap.StyledCreatedDate.mobile.margin},e=>{let{layoutVariant:t,theme:r,isFolder:i}=e;return i?r.NavListUserMusic[t].StyledPlaylistCountWrap.StyledCreatedDate.mobile.paddingFolder:r.NavListUserMusic[t].StyledPlaylistCountWrap.StyledCreatedDate.mobile.padding},e=>{let{theme:t}=e;return t.mediaQueries.mobileLarge},e=>{let{layoutVariant:t,theme:r,isFolder:i}=e;return i?r.NavListUserMusic[t].StyledPlaylistCountWrap.StyledCreatedDate.mobileLarge.marginFolder:r.NavListUserMusic[t].StyledPlaylistCountWrap.StyledCreatedDate.mobileLarge.margin},e=>{let{layoutVariant:t,theme:r,isFolder:i}=e;return i?r.NavListUserMusic[t].StyledPlaylistCountWrap.StyledCreatedDate.mobileLarge.paddingFolder:r.NavListUserMusic[t].StyledPlaylistCountWrap.StyledCreatedDate.mobileLarge.padding},e=>{let{theme:t}=e;return t.mediaQueries.tablet},e=>{let{layoutVariant:t,theme:r,isFolder:i}=e;return i?r.NavListUserMusic[t].StyledPlaylistCountWrap.StyledCreatedDate.tablet.marginFolder:r.NavListUserMusic[t].StyledPlaylistCountWrap.StyledCreatedDate.tablet.margin},e=>{let{layoutVariant:t,theme:r,isFolder:i}=e;return i?r.NavListUserMusic[t].StyledPlaylistCountWrap.StyledCreatedDate.tablet.paddingFolder:r.NavListUserMusic[t].StyledPlaylistCountWrap.StyledCreatedDate.tablet.padding},e=>{let{theme:t}=e;return t.mediaQueries.desktop},e=>{let{layoutVariant:t,theme:r,isFolder:i}=e;return i?r.NavListUserMusic[t].StyledPlaylistCountWrap.StyledCreatedDate.desktop.marginFolder:r.NavListUserMusic[t].StyledPlaylistCountWrap.StyledCreatedDate.desktop.margin},e=>{let{layoutVariant:t,theme:r,isFolder:i}=e;return i?r.NavListUserMusic[t].StyledPlaylistCountWrap.StyledCreatedDate.desktop.paddingFolder:r.NavListUserMusic[t].StyledPlaylistCountWrap.StyledCreatedDate.desktop.padding},e=>{let{theme:t}=e;return t.mediaQueries.widescreen},e=>{let{layoutVariant:t,theme:r,isFolder:i}=e;return i?r.NavListUserMusic[t].StyledPlaylistCountWrap.StyledCreatedDate.widescreen.marginFolder:r.NavListUserMusic[t].StyledPlaylistCountWrap.StyledCreatedDate.widescreen.margin},e=>{let{layoutVariant:t,theme:r,isFolder:i}=e;return i?r.NavListUserMusic[t].StyledPlaylistCountWrap.StyledCreatedDate.widescreen.paddingFolder:r.NavListUserMusic[t].StyledPlaylistCountWrap.StyledCreatedDate.widescreen.padding}),E=n.Ay.input.withConfig({componentId:"sc-ac765ef9-0"})(["color:",";font-family:",";font-weight:",";text-transform:",";background:",";width:",";border-radius:",";@keyframes shake{0%{transform:translateX(0);}25%{transform:translateX(-5px);}50%{transform:translateX(5px);}75%{transform:translateX(-5px);}100%{transform:translateX(0);}}&.input-error{animation:shake 0.2s;border:2px solid red;}","{text-align:",";font-size:",";line-height:",";letter-spacing:",";margin:",";border:",";border-top:",";border-right:",";border-bottom:",";border-left:",";padding:",";}","{text-align:",";font-size:",";line-height:",";letter-spacing:",";margin:",";border:",";border-top:",";border-right:",";border-bottom:",";border-left:",";padding:",";}","{text-align:",";font-size:",";line-height:",";letter-spacing:",";margin:",";border:",";border-top:",";border-right:",";border-bottom:",";border-left:",";padding:",";}","{text-align:",";font-size:",";line-height:",";letter-spacing:",";margin:",";border:",";border-top:",";border-right:",";border-bottom:",";border-left:",";padding:",";}","{text-align:",";font-size:",";line-height:",";letter-spacing:",";margin:",";border:",";border-top:",";border-right:",";border-bottom:",";border-left:",";padding:",";}"],e=>{let{layoutVariant:t,theme:r}=e;
1return r.NavListUserMusic[t].StyledInput.fontColor},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.fontFamily},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.fontWeight},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.textTransform},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.background},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.width},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.borderRadius},e=>{let{theme:t}=e;return t.mediaQueries.mobile},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.mobile.textAlign},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.mobile.fontSize},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.mobile.lineHeight},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.mobile.letterSpacing},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.mobile.margin},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.mobile.border},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.mobile.borderTop},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.mobile.borderRight},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.mobile.borderBottom},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.mobile.borderLeft},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.mobile.padding},e=>{let{theme:t}=e;return t.mediaQueries.mobileLarge},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.mobileLarge.textAlign},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.mobileLarge.fontSize},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.mobileLarge.lineHeight},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.mobileLarge.letterSpacing},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.mobileLarge.margin},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.mobileLarge.border},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.mobileLarge.borderTop},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.mobileLarge.borderRight},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.mobileLarge.borderBottom},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.mobileLarge.borderLeft},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.mobileLarge.padding},e=>{let{theme:t}=e;return t.mediaQueries.tablet},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.tablet.textAlign},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.tablet.fontSize},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.tablet.lineHeight},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.tablet.letterSpacing},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.tablet.margin},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.tablet.border},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.tablet.borderTop},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.tablet.borderRight},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.tablet.borderBottom},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.tablet.borderLeft},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.tablet.padding},e=>{let{theme:t}=e;return t.mediaQueries.desktop},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.desktop.textAlign},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.desktop.fontSize},e=>{let{layoutVariant:t,theme:r}=e;
1return r.NavListUserMusic[t].StyledInput.desktop.lineHeight},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.desktop.letterSpacing},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.desktop.margin},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.desktop.border},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.desktop.borderTop},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.desktop.borderRight},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.desktop.borderBottom},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.desktop.borderLeft},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.desktop.padding},e=>{let{theme:t}=e;return t.mediaQueries.widescreen},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.widescreen.textAlign},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.widescreen.fontSize},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.widescreen.lineHeight},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.widescreen.letterSpacing},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.widescreen.margin},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.widescreen.border},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.widescreen.borderTop},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.widescreen.borderRight},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.widescreen.borderBottom},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.widescreen.borderLeft},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInput.widescreen.padding}),q=n.Ay.div.withConfig({componentId:"sc-50ce505a-0"})(["display:",";","{gap:",";margin:",";padding:",";}","{gap:",";margin:",";padding:",";}","{gap:",";margin:",";padding:",";}","{gap:",";margin:",";padding:",";}","{gap:",";margin:",";padding:",";}"],e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInputWrap.display},e=>{let{theme:t}=e;return t.mediaQueries.mobile},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInputWrap.mobile.gap},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInputWrap.mobile.margin},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInputWrap.mobile.padding},e=>{let{theme:t}=e;return t.mediaQueries.mobileLarge},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInputWrap.mobileLarge.gap},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInputWrap.mobileLarge.margin},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInputWrap.mobileLarge.padding},e=>{let{theme:t}=e;return t.mediaQueries.tablet},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInputWrap.tablet.gap},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInputWrap.tablet.margin},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInputWrap.tablet.padding},e=>{let{theme:t}=e;return t.mediaQueries.desktop},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInputWrap.desktop.gap},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInputWrap.desktop.margin},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInputWrap.desktop.padding},e=>{let{theme:t}=e;return t.mediaQueries.widescreen},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInputWrap.widescreen.gap},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInputWrap.widescreen.margin},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledInputWrap.widescreen.padding}),X=n.Ay.div.withConfig({componentId:"sc-b5aa88d2-0"})(["color:",";display:",";justify-content:",";","{gap:",";align-items:",";}","{align-items:",";}","{align-items:",";}","{align-items:",";}","{align-items:",";}"],e=>{let{layoutVariant:t,theme:r}=e;
1return r.NavListUserMusic[t].StyledPlaylistCountWrap.color},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistCountWrap.display},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistCountWrap.justifyContent},e=>{let{theme:t}=e;return t.mediaQueries.mobile},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistCountWrap.mobile.gap},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistCountWrap.mobile.alignItems},e=>{let{theme:t}=e;return t.mediaQueries.mobileLarge},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistCountWrap.mobileLarge.alignItems},e=>{let{theme:t}=e;return t.mediaQueries.tablet},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistCountWrap.tablet.alignItems},e=>{let{theme:t}=e;return t.mediaQueries.desktop},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistCountWrap.desktop.alignItems},e=>{let{theme:t}=e;return t.mediaQueries.widescreen},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistCountWrap.widescreen.alignItems}),K=n.Ay.div.withConfig({componentId:"sc-95e2dde7-0"})(["display:flex;align-items:center;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:inline-block;flex-grow:1;}","{padding:",";}","{padding:",";}","{padding:",";}","{padding:",";}","{padding:",";}"],e=>{let{theme:t}=e;return t.mediaQueries.mobile},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistName.mobile.padding},e=>{let{theme:t}=e;return t.mediaQueries.mobileLarge},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistName.mobileLarge.padding},e=>{let{theme:t}=e;return t.mediaQueries.tablet},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistName.tablet.padding},e=>{let{theme:t}=e;return t.mediaQueries.desktop},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistName.desktop.padding},e=>{let{theme:t}=e;return t.mediaQueries.widescreen},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistName.widescreen.padding}),_=n.Ay.div.withConfig({componentId:"sc-43b1f860-0"})(["display:",";z-index:",";","{}","{}","{}","{}","{}"],e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistOptsWrap.display},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistOptsWrap.zIndex},e=>{let{theme:t}=e;return t.mediaQueries.mobile},e=>{let{theme:t}=e;return t.mediaQueries.mobileLarge},e=>{let{theme:t}=e;return t.mediaQueries.tablet},e=>{let{theme:t}=e;return t.mediaQueries.desktop},e=>{let{theme:t}=e;return t.mediaQueries.widescreen}),Y=n.Ay.p.withConfig({componentId:"sc-43fbd4e8-0"})(["min-width:",";text-align:",";background:",";color:",";","{padding:",";border-radius:",";font-size:",";font-weight:",";}","{padding:",";border-radius:",";font-size:",";font-weight:",";}","{padding:",";border-radius:",";font-size:",";font-weight:",";}","{padding:",";border-radius:",";font-size:",";font-weight:",";}","{padding:",";border-radius:",";font-size:",";font-weight:",";}"],e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistsCount.minWidth},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistsCount.textAlign},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistsCount.background},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistsCount.color},e=>{let{theme:t}=e;return t.mediaQueries.mobile},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistsCount.mobile.padding},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistsCount.mobile.borderRadius},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistsCount.mobile.fontSize},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistsCount.mobile.fontWeight},e=>{let{theme:t}=e;return t.mediaQueries.mobileLarge},e=>{let{layoutVariant:t,theme:r}=e;
1return r.NavListUserMusic[t].StyledPlaylistsCount.mobileLarge.padding},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistsCount.mobileLarge.borderRadius},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistsCount.mobileLarge.fontSize},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistsCount.mobileLarge.fontWeight},e=>{let{theme:t}=e;return t.mediaQueries.tablet},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistsCount.tablet.padding},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistsCount.tablet.borderRadius},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistsCount.tablet.fontSize},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistsCount.tablet.fontWeight},e=>{let{theme:t}=e;return t.mediaQueries.desktop},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistsCount.desktop.padding},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistsCount.desktop.borderRadius},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistsCount.desktop.fontSize},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistsCount.desktop.fontWeight},e=>{let{theme:t}=e;return t.mediaQueries.widescreen},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistsCount.widescreen.padding},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistsCount.widescreen.borderRadius},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistsCount.widescreen.fontSize},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistsCount.widescreen.fontWeight}),$=l.memo(e=>{let{layoutVariant:t,item:r,menuOptionsFolder:s,isPlaylist:a,isActive:u,hasPlaylists:y,isSidebarExtended:c,isCollaboration:m,isUserOwner:g,folderWithCollaborativePlaylist:S,handleCloseSidebar:M,handleSubmenu:U}=e,h=(0,n.DP)(),w=(0,v.jE)(),{localeForDate:k}=(0,d.p)(),{baseUrl:C,token:f,isLoggedIn:I}=(0,b.A)(),[P,W]=(0,l.useState)(!1),[x,B]=(0,l.useState)(!1),[D,F]=(0,l.useState)({name:"",description:""}),T=(0,H.A)(P),{ID:O,Name:Q,folderId:j,TrackCount:A,PlaylistsCount:$,AutoSave:G,CreatedDate:J}=r,Z=(null==r?void 0:r.IsEditable)!==!1,ee=!Z&&Array.isArray(s)?s.filter(e=>"rename"!==e.name):s,et=(0,R.A)(J||new Date,10,k);(0,l.useEffect)(()=>{F({name:Q,description:""})},[Q]);let{mutate:er}=(0,L.n)({mutationFn:e=>(0,N.i5)(C,f,e.ID,{PlaylistName:e.Name,PlaylistDescription:e.Description,PlaylistTags:e.Tags,Autosave:e.AutoSave,AutosaveLimit:0,HighlightTracks:e.HighlightTracks,AutoSaveApplyToHighlightTracks:!1,PlaylistCategoryId:(null==e?void 0:e.folderId)||"",ExternalPlaylistImageUrl:"",OrderBy:"Custom_Asc"}),onMutate:async e=>{await w.cancelQueries({queryKey:["getPlaylists",I]}),await w.cancelQueries({queryKey:["getPlaylistNoTracks",O]});let t=w.getQueryData(["getPlaylists",I]),r=w.getQueryData(["getPlaylistNoTracks",O]);return w.setQueryData(["getPlaylists",I],t=>{let r={...t};return r[e.ID]&&(r[e.ID]={...r[e.ID],Name:e.Name}),r}),w.setQueryData(["getPlaylistNoTracks",O],t=>t?{...t,Name:e.Name}:t),{previousPlaylists:t,previousPlaylistsNoTracks:r}},onError:(e,t,r)=>{w.setQueryData(["getPlaylists",I],null==r?void 0:r.previousPlaylists),w.setQueryData(["getPlaylistNoTracks",O],null==r?void 0:r.previousPlaylists)},onSettled:()=>{w.invalidateQueries({queryKey:["getPlaylists",I]}),w.invalidateQueries({queryKey:["getPlaylistNoTracks",O]})}}),{mutate:ei}=(0,L.n)({mutationFn:e=>(0,N.g$)(C,f,e.ID,{PlaylistCategoryName:e.Name}),onMutate:async e=>{await w.cancelQueries({queryKey:["getPlaylists",I]});let t=w.getQueryData(["getPlaylists",I]);return w.setQueryData(["getPlaylists",I],t=>{let r={...t};return r[e.ID]&&(r[e.ID]={...r[e.ID],Name:e.Name}),r}),{previousFolder:t}},onError:(e,t,r)=>{w.setQueryData(["getPlaylists",I],null==r?void 0:r.previousFolder)},onSettled:()=>{w.invalidateQueries({queryKey:["getPlaylists",I]})}}),el=e=>{if(""===D.name.trim())return es();a?er({...e,Name:D.name}):ei({...e,Name:D.name}),W(!1)},es=()=>{B(!0),setTimeout(()=>B(!1),200)};return(0,i.jsxs)(l.Fragment,{children:[P?(0,i.jsxs)(q,{layoutVariant:t,children:[(0,i.jsx)(E,{ref:T,className:x?"input-error":"",layoutVariant:t,type:"text",value:D.name,onChange:e=>F({name:e.target.value,description:""}),onKeyDown:e=>{"Enter"===e.key&&el(r)}}),(0,i.jsx)(p.A,{variant:h.NavListUserMusic[t].StyledFolderHeadingWrap.ButtonIcon.variant,withIcon:h.NavListUserMusic[t].StyledFolderHeadingWrap.ButtonIcon.withIcon,withText:h.NavListUserMusic[t].StyledFolderHeadingWrap.ButtonIcon.withText,iconName:h.NavListUserMusic[t].StyledFolderHeadingWrap.ButtonIcon.iconName,onClick:()=>{el(r)}})]}):(0,i.jsx)(K,{layoutVariant:t,id:O,children:a?(0,i.jsx)(o.A,{href:{pathname:"/account/playlists",query:{id:O,...j&&{folderId:j}}},variant:h.NavListUserMusic[t].StyledFolderHeadingWrap.ButtonPlaylist.variant,withIcon:h.NavListUserMusic[t].StyledFolderHeadingWrap.ButtonPlaylist.withIcon,withText:h.NavListUserMusic[t].StyledFolderHeadingWrap.ButtonPlaylist.withText,isActive:u,onClick:M&&M,toolTipText:Q,children:(0,i.jsx)("span",{children:Q})}):(0,i.jsx)(p.A,{variant:h.NavListUserMusic[t].StyledFolderHeadingWrap.ButtonFolder.variant,withIcon:h.NavListUserMusic[t].StyledFolderHeadingWrap.ButtonFolder.withIcon,withText:h.NavListUserMusic[t].StyledFolderHeadingWrap.ButtonFolder.withText,iconName:u?h.NavListUserMusic[t].StyledFolderHeadingWrap.ButtonFolder.iconNameActive:h.NavListUserMusic[t].StyledFolderHeadingWrap.ButtonFolder.iconName,iconPosition:h.NavListUserMusic[t].StyledFolderHeadingWrap.ButtonFolder.iconPosition,isActive:u,toolTipText:Q,onClick:U,disabled:!y,children:(0,i.jsx)("span",{children:Q})})}),a?(0,i.jsx)(_,{layoutVariant:t,children:(0,i.jsxs)(X,{layoutVariant:t,children:[c&&(0,i.jsx)(z,{as:"p",variant:h.NavListUserMusic[t].StyledPlaylistCountWrap.StyledCreatedDate.variant,layoutVariant:t,children:et}),m?g?(0,i.jsx)(p.A,{variant:h.NavListUserMusic[t].StyledPlaylistOptsWrap.ButtonCollaboratorOwner.variant,withIcon:h.NavListUserMusic[t].StyledPlaylistOptsWrap.ButtonCollaboratorOwner.withIcon,withText:h.NavListUserMusic[t].StyledPlaylistOptsWrap.ButtonCollaboratorOwner.withText,iconName:h.NavListUserMusic[t].StyledPlaylistOptsWrap.ButtonCollaboratorOwner.iconName,iconPosition:h.NavListUserMusic[t].StyledPlaylistOptsWrap.ButtonCollaboratorOwner.iconPosition}):(0,i.jsx)(p.A,{variant:h.NavListUserMusic[t].StyledPlaylistOptsWrap.ButtonCollaboratorViewer.variant,withIcon:h.NavListUserMusic[t].StyledPlaylistOptsWrap.ButtonCollaboratorViewer.withIcon,withText:h.NavListUserMusic[t].StyledPlaylistOptsWrap.ButtonCollaboratorViewer.withText,iconName:h.NavListUserMusic[t].StyledPlaylistOptsWrap.ButtonCollaboratorViewer.iconName,iconPosition:h.NavListUserMusic[t].StyledPlaylistOptsWrap.ButtonCollaboratorViewer.iconPosition}):null,(0,i.jsx)(V.A,{layoutVariant:h.NavListUserMusic[t].StyledPlaylistCountWrap.PlaylistOpts.layoutVariant,type:"playlist",playlistId:[O],folderId:j,displayTitle:[Q],trackCount:A,currentPlaylist:r,isPlaylistHot:G,iconOptions:["addToHotPlaylist"]}),(0,i.jsx)(Y,{layoutVariant:t,children:A||0}),c&&(0,i.jsx)(V.A,{layoutVariant:h.NavListUserMusic[t].StyledPlaylistCountWrap.PlaylistOpts.layoutVariant,type:"playlist",playlistId:[O],folderId:j,displayTitle:[Q],trackCount:A,currentPlaylist:r,isPlaylistHot:G,iconOptions:["download","shareUserPlaylist"]}),(0,i.jsx)(V.A,{layoutVariant:h.NavListUserMusic[t].StyledPlaylistCountWrap.PlaylistOpts.layoutVariant,type:"playlist",playlistId:[O],folderId:j,displayTitle:[Q],trackCount:A,currentPlaylist:r,isPlaylistHot:G,menuOptions:ee,renamePlaylist:Z?W:void 0,isCollaboration:m,isUserOwner:g,folderWithCollaborativePlaylist:S})]})}):(0,i.jsx)(_,{layoutVariant:t,id:"StyledPlaylistOptsWrap",children:(0,i.jsxs)(X,{layoutVariant:t,children:[c&&(0,i.jsx)(z,{as:"p",variant:h.NavListUserMusic[t].StyledPlaylistCountWrap.StyledCreatedDate.variant,layoutVariant:t,isFolder:!0,children:et}),(0,i.jsx)(Y,{layoutVariant:t,children:$||0}),(0,i.jsx)(V.A,{layoutVariant:h.NavListUserMusic[t].StyledPlaylistCountWrap.PlaylistOpts.layoutVariant,type:"playlistFolder",playlistId:[O],displayTitle:[Q],trackCount:A,currentPlaylist:r,isPlaylistHot:G,menuOptions:ee,renamePlaylist:Z?W:void 0,isCollaboration:m,isUserOwner:null!=g&&g,folderWithCollaborativePlaylist:S})]})})]})}),G=e=>{let t=e.trim().toLowerCase();return""===t?null:t},J=(e,t,r)=>{var i;return!!e.Name.toLowerCase().includes(t)||!!r&&(null!=(i=e.Description)?i:"").toLowerCase().includes(t)},Z=(e,t,r)=>{if("latest"===r||"oldest"===r){let i=new Date(e.CreatedDate).getTime(),l=new Date(t.CreatedDate).getTime();return"latest"===r?l-i:i-l}return"ascending"===r?e.Name.localeCompare(t.Name):"descending"===r?t.Name.localeCompare(e.Name):0},ee=n.Ay.div.withConfig({componentId:"sc-2c835eef-0"})(["> div:nth-child(1){position:",";z-index:",";}
1&& [data-flex-virtual-scroll='nav-list-user-music-folder']{z-index:",";.simplebar-content-wrapper{overflow-y:"," !important;overflow-x:"," !important;scrollbar-width:none;&::-webkit-scrollbar{width:0;height:0;}}.simplebar-track.simplebar-vertical{width:",";background-color:",";border-radius:",";right:",";}.simplebar-scrollbar::before{top:",";bottom:",";left:",";right:",";opacity:",";background-color:",";border-radius:",";border:",";}.simplebar-scrollbar.simplebar-visible::before{opacity:",";}&:not(.simplebar-scrollable-y) .simplebar-track.simplebar-vertical,.simplebar-track.simplebar-vertical.simplebar-hidden{background-color:",";}&:not(.simplebar-scrollable-y) .simplebar-scrollbar::before,.simplebar-track.simplebar-vertical.simplebar-hidden .simplebar-scrollbar::before{background-color:",";opacity:",";}&:hover .simplebar-scrollbar::before{background-color:",";}}","{height:",";width:",";padding:",";}","{height:",";width:",";padding:",";}","{height:",";width:",";padding:",";}","{height:",";width:",";padding:",";}","{height:",";width:",";padding:",";}"],e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledFolderPlaylists.position},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledFolderPlaylists.zIndex},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledFolderPlaylists.zIndex},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledFolderPlaylists.overflowY},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledFolderPlaylists.overflowX},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledFolderPlaylists.webkitScrollbarWidth},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledFolderPlaylists.scrollbarTrackBgColor},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledFolderPlaylists.webkitScrollbarTrackBorderRadius},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledFolderPlaylists.simplebar.trackRight},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledFolderPlaylists.simplebar.thumbTop},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledFolderPlaylists.simplebar.thumbBottom},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledFolderPlaylists.simplebar.thumbLeft},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledFolderPlaylists.simplebar.thumbRight},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledFolderPlaylists.simplebar.thumbOpacity},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledFolderPlaylists.webkitScrollbarThumbBgColor},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledFolderPlaylists.webkitScrollbarThumbBorderRadius},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledFolderPlaylists.webkitScrollbarThumbBorder},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledFolderPlaylists.simplebar.thumbVisibleOpacity},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledFolderPlaylists.simplebar.noScrollTrackBgColor},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledFolderPlaylists.simplebar.noScrollThumbBgColor},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledFolderPlaylists.simplebar.noScrollThumbOpacity},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledFolderPlaylists.hover.webkitScrollbarThumbBgColor},e=>{let{theme:t}=e;return t.mediaQueries.mobile},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledFolderPlaylists.mobile.height},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledFolderPlaylists.mobile.width},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledFolderPlaylists.mobile.padding},e=>{let{theme:t}=e;return t.mediaQueries.mobileLarge},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledFolderPlaylists.mobileLarge.height},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledFolderPlaylists.mobileLarge.width},e=>{let{layoutVariant:t,theme:r}=e;
1return r.NavListUserMusic[t].StyledFolderPlaylists.mobileLarge.padding},e=>{let{theme:t}=e;return t.mediaQueries.tablet},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledFolderPlaylists.tablet.height},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledFolderPlaylists.tablet.width},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledFolderPlaylists.tablet.padding},e=>{let{theme:t}=e;return t.mediaQueries.desktop},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledFolderPlaylists.desktop.height},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledFolderPlaylists.desktop.width},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledFolderPlaylists.desktop.padding},e=>{let{theme:t}=e;return t.mediaQueries.widescreen},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledFolderPlaylists.widescreen.height},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledFolderPlaylists.widescreen.width},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledFolderPlaylists.widescreen.padding}),et=n.Ay.li.withConfig({componentId:"sc-ef73b59e-0"})(["position:",";background:",";z-index:",";&:hover,&:hover > div,&:hover > div > div{background:",";border-radius:",";color:",";}","{",";margin:",";border:",";border-top:",";border-bottom:",";border-left:",";border-right:",";}","{",";margin:",";border:",";border-top:",";border-bottom:",";border-left:",";border-right:",";}","{",";margin:",";border:",";border-top:",";border-bottom:",";border-left:",";border-right:",";}","{",";margin:",";border:",";border-top:",";border-bottom:",";border-left:",";border-right:",";}","{",";margin:",";border:",";border-top:",";border-bottom:",";border-left:",";border-right:",";}"],e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledListItem.position},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledListItem.background},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledListItem.zIndex},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledListItem.hoverBackground},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledListItem.hoverBorderRadius},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledListItem.hoverFontColor},e=>{let{theme:t}=e;return t.mediaQueries.mobile},e=>{let{isFolder:t,theme:r,layoutVariant:i}=e;return t?(0,n.AH)(["padding:",";"],r.NavListUserMusic[i].StyledNav.StyledListItem.mobile.paddingFloder):(0,n.AH)(["padding:",";"],r.NavListUserMusic[i].StyledNav.StyledListItem.mobile.padding)},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledListItem.mobile.margin},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledListItem.mobile.border},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledListItem.mobile.borderTop},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledListItem.mobile.borderBottom},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledListItem.mobile.borderLeft},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledListItem.mobile.borderRight},e=>{let{theme:t}=e;return t.mediaQueries.mobileLarge},e=>{let{isFolder:t,theme:r,layoutVariant:i}=e;return t?(0,n.AH)(["padding:",";"],r.NavListUserMusic[i].StyledNav.StyledListItem.mobileLarge.paddingFloder):(0,n.AH)(["padding:",";"],r.NavListUserMusic[i].StyledNav.StyledListItem.mobileLarge.padding)},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledListItem.mobileLarge.margin},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledListItem.mobileLarge.border},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledListItem.mobileLarge.borderTop},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledListItem.mobileLarge.borderBottom},e=>{let{layoutVariant:t,theme:r}=e;
1return r.NavListUserMusic[t].StyledNav.StyledListItem.mobileLarge.borderLeft},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledListItem.mobileLarge.borderRight},e=>{let{theme:t}=e;return t.mediaQueries.tablet},e=>{let{isFolder:t,theme:r,layoutVariant:i}=e;return t?(0,n.AH)(["padding:",";"],r.NavListUserMusic[i].StyledNav.StyledListItem.tablet.paddingFloder):(0,n.AH)(["padding:",";"],r.NavListUserMusic[i].StyledNav.StyledListItem.tablet.padding)},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledListItem.tablet.margin},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledListItem.tablet.border},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledListItem.tablet.borderTop},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledListItem.tablet.borderBottom},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledListItem.tablet.borderLeft},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledListItem.tablet.borderRight},e=>{let{theme:t}=e;return t.mediaQueries.desktop},e=>{let{isFolder:t,theme:r,layoutVariant:i}=e;return t?(0,n.AH)(["padding:",";"],r.NavListUserMusic[i].StyledNav.StyledListItem.desktop.paddingFloder):(0,n.AH)(["padding:",";"],r.NavListUserMusic[i].StyledNav.StyledListItem.desktop.padding)},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledListItem.desktop.margin},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledListItem.desktop.border},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledListItem.desktop.borderTop},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledListItem.desktop.borderBottom},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledListItem.desktop.borderLeft},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledListItem.desktop.borderRight},e=>{let{theme:t}=e;return t.mediaQueries.widescreen},e=>{let{isFolder:t,theme:r,layoutVariant:i}=e;return t?(0,n.AH)(["padding:",";"],r.NavListUserMusic[i].StyledNav.StyledListItem.widescreen.paddingFloder):(0,n.AH)(["padding:",";"],r.NavListUserMusic[i].StyledNav.StyledListItem.widescreen.padding)},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledListItem.widescreen.margin},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledListItem.widescreen.border},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledListItem.widescreen.borderTop},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledListItem.widescreen.borderBottom},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledListItem.widescreen.borderLeft},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledListItem.widescreen.borderRight}),er=n.Ay.div.withConfig({componentId:"sc-761c9252-0"})(["background:",";","{}","{}","{}","{}","{}"],e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledListItemFolder.background},e=>{let{theme:t}=e;return t.mediaQueries.mobile},e=>{let{theme:t}=e;return t.mediaQueries.mobileLarge},e=>{let{theme:t}=e;return t.mediaQueries.tablet},e=>{let{theme:t}=e;return t.mediaQueries.desktop},e=>{let{theme:t}=e;return t.mediaQueries.widescreen}),ei=n.Ay.div.withConfig({componentId:"sc-e41e782d-0"})(["color:",";display:",";justify-content:",";border-radius:",";&:hover{background:",";}","{margin:",";padding:",";}","{margin:",";padding:",";}","{margin:",";padding:",";}","{margin:",";padding:",";}","{margin:",";padding:",";}"],e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistHeadingWrap.color},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistHeadingWrap.display},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistHeadingWrap.justifyContent},e=>{let{layoutVariant:t,theme:r}=e;
1return r.NavListUserMusic[t].StyledPlaylistHeadingWrap.borderRadius},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistHeadingWrap.hover.background},e=>{let{theme:t}=e;return t.mediaQueries.mobile},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistHeadingWrap.mobile.margin},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistHeadingWrap.mobile.padding},e=>{let{theme:t}=e;return t.mediaQueries.mobileLarge},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistHeadingWrap.mobileLarge.margin},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistHeadingWrap.mobileLarge.padding},e=>{let{theme:t}=e;return t.mediaQueries.tablet},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistHeadingWrap.tablet.margin},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistHeadingWrap.tablet.padding},e=>{let{theme:t}=e;return t.mediaQueries.desktop},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistHeadingWrap.desktop.margin},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistHeadingWrap.desktop.padding},e=>{let{theme:t}=e;return t.mediaQueries.widescreen},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistHeadingWrap.widescreen.margin},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistHeadingWrap.widescreen.padding}),el=n.Ay.div.withConfig({componentId:"sc-fe7260a7-0"})(["position:",";","{top:",";left:",";bottom:",";right:",";transform:",";}","{top:",";left:",";bottom:",";right:",";transform:",";}","{top:",";left:",";bottom:",";right:",";transform:",";}","{top:",";left:",";bottom:",";right:",";transform:",";}","{top:",";left:",";bottom:",";right:",";transform:",";}"],e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistLoader.position},e=>{let{theme:t}=e;return t.mediaQueries.mobile},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistLoader.mobile.top},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistLoader.mobile.left},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistLoader.mobile.bottom},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistLoader.mobile.right},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistLoader.mobile.transform},e=>{let{theme:t}=e;return t.mediaQueries.mobileLarge},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistLoader.mobileLarge.top},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistLoader.mobileLarge.left},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistLoader.mobileLarge.bottom},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistLoader.mobileLarge.right},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistLoader.mobileLarge.transform},e=>{let{theme:t}=e;return t.mediaQueries.tablet},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistLoader.tablet.top},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistLoader.tablet.left},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistLoader.tablet.bottom},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistLoader.tablet.right},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistLoader.tablet.transform},e=>{let{theme:t}=e;return t.mediaQueries.desktop},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistLoader.desktop.top},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistLoader.desktop.left},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistLoader.desktop.bottom},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistLoader.desktop.right},e=>{let{layoutVariant:t,theme:r}=e;
1return r.NavListUserMusic[t].StyledPlaylistLoader.desktop.transform},e=>{let{theme:t}=e;return t.mediaQueries.widescreen},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistLoader.widescreen.top},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistLoader.widescreen.left},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistLoader.widescreen.bottom},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistLoader.widescreen.right},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledPlaylistLoader.widescreen.transform}),es="data-flex-virtual-scroll",ea=l.forwardRef((e,t)=>{let{className:r,children:l,style:s,onScroll:a,...d}=e;return(0,i.jsx)(Q.A,{...d,className:r,style:s,autoHide:!1,scrollableNodeProps:{ref:t,onScroll:a},[es]:"nav-list-user-music",children:l})});ea.displayName="NavListMainOuterElement";let ed=l.forwardRef((e,t)=>{let{className:r,children:l,style:s,onScroll:a,...d}=e;return(0,i.jsx)(Q.A,{...d,className:r,style:s,autoHide:!1,scrollableNodeProps:{ref:t,onScroll:a},[es]:"nav-list-user-music-folder",children:l})});ed.displayName="NavListFolderOuterElement";let en=e=>{let{layoutVariant:t,playlists:r,isLoading:o,searchTerm:u,sortOrder:y,isSidebarExtended:c,handleCloseSidebar:p}=e;(0,j.A)();let m=(0,n.DP)(),v=(0,s.useRouter)(),{translation:L}=(0,d.p)(),{virtualizedListRef:N,resetVirtualList:g}=(0,a.e)(),[b,S]=(0,l.useState)({}),M=v.query.id,U=m.NavListUserMusic[t].config.isDownloadDisabled,h=!m.NavListUserMusic[t].config.isPlaylistDescriptionFilterDisabled,w=m.NavListUserMusic[t].config.maxHeightPlaylistItem,k=m.NavListUserMusic[t].config.maxHeightNestedPlaylists,C=[{title:(null==L?void 0:L.NavListUserMusic.createCopy)||"Create copy",name:"createCopy"},...U?[]:[{title:(null==L?void 0:L.NavListUserMusic.download)||"Download",name:"download"}],{title:(null==L?void 0:L.NavListUserMusic.moveToFolder)||"Move to folder",name:"moveToFolder"},{title:(null==L?void 0:L.NavListUserMusic.share)||"Share",name:"shareUserPlaylist"},{title:(null==L?void 0:L.NavListUserMusic.rename)||"Rename",name:"rename"},{title:(null==L?void 0:L.NavListUserMusic.cueSheet)||"Cue sheet",name:"cueSheet"},{title:(null==L?void 0:L.NavListUserMusic.delete)||"Delete",name:"delete"}],f=[{title:(null==L?void 0:L.NavListUserMusic.renameOpts)||"Rename",name:"rename"},{title:(null==L?void 0:L.NavListUserMusic.deleteOpts)||"Delete",name:"delete"}],I=e=>{let t=x[e];if("PlaylistCategory"===t.ObjectType){var r;let e=b[t.ID]?Math.min(k,Object.keys(null!=(r=t.Playlists)?r:[]).length*w):0;return w+e}return w},P=(0,l.memo)(e=>{let{playlists:t}=e;return(0,i.jsx)(O.Ay,{children:e=>{let{height:r,width:l}=e;return(0,i.jsx)(T._m,{outerElementType:ed,height:r,width:l,itemSize:()=>w,itemCount:t.length,itemData:t,overscanCount:20,children:W})}})}),W=(0,l.memo)(e=>{let{data:r,index:l,style:s}=e;if(!r[l])return null;let{ObjectType:a}=r[l];if("PlaylistCategory"===a){let{ID:e,PlaylistsCount:a,Playlists:d,IsCollaboration:n}=r[l],o=b[e],u=o?Object.values(null!=d?d:[]):[],y=Object.values(r[l].Playlists||{}).some(e=>!0===e.IsCollaboration&&!0===e.IsOwner);return(0,i.jsxs)(er,{style:s,layoutVariant:t,children:[(0,i.jsx)(et,{layoutVariant:t,variant:m.NavListUserMusic[t].StyledFolderHeadingWrap.ButtonPlaylist.variant,isFolder:!0,children:(0,i.jsx)(ei,{layoutVariant:t,children:(0,i.jsx)($,{layoutVariant:t,item:r[l],menuOptionsFolder:f,isPlaylist:!1,isActive:o,hasPlaylists:a>0,isSidebarExtended:c,handleSubmenu:()=>((e,t)=>{"string"==typeof e&&(S(t=>({...t,[e]:!t[e]})),N.current&&N.current.resetAfterIndex(t))})(e,l),isCollaboration:n,isUserOwner:y,folderWithCollaborativePlaylist:y})})}),o&&a>0&&(0,i.jsx)(ee,{layoutVariant:t,children:(0,i.jsx)(P,{playlists:u})})]},e)}let{ID:d,IsOwner:n,IsCollaboration:o}=r[l];return(0,i.jsx)(et,{style:s,layoutVariant:t,variant:m.NavListUserMusic[t].StyledFolderHeadingWrap.ButtonPlaylist.variant,isFolder:!1,children:(0,i.jsx)(ei,{layoutVariant:t,children:(0,i.jsx)($,{layoutVariant:t,item:r[l],menuOptionsFolder:C,isPlaylist:!0,isActive:d===M,isSidebarExtended:c,handleCloseSidebar:p,isUserOwner:n,isCollaboration:o})})},d)},T.t7);if((0,l.useEffect)(()=>{g()},[g,u,y,r]),o)return(0,i.jsx)(el,{layoutVariant:t,children:(0,i.jsx)(A.A,{layoutVariant:m.NavListUserMusic[t].StyledPlaylistLoader.Loader.layoutVariant,message:(null==L?void 0:L.NavListUserMusic.loaderMessage)||""})});if(!r||(null==r?void 0:r.length)===0)return null;let x=((e,t)=>t?[...e].sort((e,r)=>Z(e,r,t)).map(e=>{if("PlaylistCategory"===e.ObjectType&&e.Playlists){let r;return{...e,Playlists:(r=e.Playlists,[...(e=>e?Array.isArray(e)?e:Object.values(e):[])(r)].sort((e,r)=>Z(e,r,t)))}}return e}):e)(((e,t,r)=>{let i=G(t);return i?e.filter(e=>((e,t,r)=>{if("Playlist"===e.ObjectType)return J(e,t,r);if("PlaylistCategory"===e.ObjectType){var i;return!!e.Name.toLowerCase().includes(t)||Object.values(null!=(i=e.Playlists)?i:[]).some(e=>J(e,t,r))}return!1})(e,i,r)):e})(r,null!=u?u:"",h),null!=y?y:"");return(0,i.jsx)(l.Fragment,{children:!!(null==x?void 0:x.length)&&(0,i.jsx)(O.Ay,{children:e=>{let{height:t,width:r}=e;return(0,i.jsx)(T._m,{outerElementType:ea,ref:N,height:t,width:r,itemData:x,itemCount:x.length,itemSize:I,overscanCount:50,children:W})}})})},eo=n.Ay.div.withConfig({componentId:"sc-4d81b224-0"})(["width:",";display:",";gap:",";justify-content:",";flex-wrap:",";margin:",";","{}","{}","{}","{}","{}"],e=>{let{layoutVariant:t,theme:r}=e;
1return r.NavListUserMusic[t].StyledButtonWrap.width},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledButtonWrap.display},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledButtonWrap.gap},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledButtonWrap.justifyContent},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledButtonWrap.flexWrap},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledButtonWrap.margin},e=>{let{theme:t}=e;return t.mediaQueries.mobile},e=>{let{theme:t}=e;return t.mediaQueries.mobileLarge},e=>{let{theme:t}=e;return t.mediaQueries.tablet},e=>{let{theme:t}=e;return t.mediaQueries.desktop},e=>{let{theme:t}=e;return t.mediaQueries.widescreen}),eu=n.Ay.div.withConfig({componentId:"sc-fa4df616-0"})(["display:",";justify-content:",";align-items:",";border-radius:",";&:hover{background:",";}","{gap:",";flex-direction:",";flex-wrap:",";margin:",";padding:",";}","{gap:",";flex-direction:",";flex-wrap:",";margin:",";padding:",";}","{gap:",";flex-direction:",";flex-wrap:",";margin:",";padding:",";}","{gap:",";flex-direction:",";flex-wrap:",";margin:",";padding:",";}","{gap:",";flex-direction:",";flex-wrap:",";margin:",";padding:",";}"],e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledLikedTrackButtonWrap.display},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledLikedTrackButtonWrap.justifyContent},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledLikedTrackButtonWrap.alignItems},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledLikedTrackButtonWrap.borderRadius},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledLikedTrackButtonWrap.hover.background},e=>{let{theme:t}=e;return t.mediaQueries.mobile},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledLikedTrackButtonWrap.mobile.gap},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledLikedTrackButtonWrap.mobile.flexDirection},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledLikedTrackButtonWrap.mobile.flexWrap},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledLikedTrackButtonWrap.mobile.margin},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledLikedTrackButtonWrap.mobile.padding},e=>{let{theme:t}=e;return t.mediaQueries.mobileLarge},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledLikedTrackButtonWrap.mobileLarge.gap},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledLikedTrackButtonWrap.mobileLarge.flexDirection},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledLikedTrackButtonWrap.mobileLarge.flexWrap},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledLikedTrackButtonWrap.mobileLarge.margin},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledLikedTrackButtonWrap.mobileLarge.padding},e=>{let{theme:t}=e;return t.mediaQueries.tablet},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledLikedTrackButtonWrap.tablet.gap},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledLikedTrackButtonWrap.tablet.flexDirection},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledLikedTrackButtonWrap.tablet.flexWrap},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledLikedTrackButtonWrap.tablet.margin},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledLikedTrackButtonWrap.tablet.padding},e=>{let{theme:t}=e;return t.mediaQueries.desktop},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledLikedTrackButtonWrap.desktop.gap},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledLikedTrackButtonWrap.desktop.flexDirection},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledLikedTrackButtonWrap.desktop.flexWrap},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledLikedTrackButtonWrap.desktop.margin},e=>{let{layoutVariant:t,theme:r}=e;
1return r.NavListUserMusic[t].StyledLikedTrackButtonWrap.desktop.padding},e=>{let{theme:t}=e;return t.mediaQueries.widescreen},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledLikedTrackButtonWrap.widescreen.gap},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledLikedTrackButtonWrap.widescreen.flexDirection},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledLikedTrackButtonWrap.widescreen.flexWrap},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledLikedTrackButtonWrap.widescreen.margin},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledLikedTrackButtonWrap.widescreen.padding}),ey=(0,n.Ay)(h.A).withConfig({componentId:"sc-d9c2833d-0"})(["color:",";","{margin:",";}","{margin:",";}","{margin:",";}","{margin:",";}","{margin:",";}"],e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledLikedTrackButtonWrap.StyledLikedTrackCount.color},e=>{let{theme:t}=e;return t.mediaQueries.mobile},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledLikedTrackButtonWrap.StyledLikedTrackCount.mobile.margin},e=>{let{theme:t}=e;return t.mediaQueries.mobileLarge},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledLikedTrackButtonWrap.StyledLikedTrackCount.mobileLarge.margin},e=>{let{theme:t}=e;return t.mediaQueries.tablet},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledLikedTrackButtonWrap.StyledLikedTrackCount.mobileLarge.margin},e=>{let{theme:t}=e;return t.mediaQueries.desktop},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledLikedTrackButtonWrap.StyledLikedTrackCount.mobileLarge.margin},e=>{let{theme:t}=e;return t.mediaQueries.widescreen},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledLikedTrackButtonWrap.StyledLikedTrackCount.widescreen.margin}),ec=n.Ay.ul.withConfig({componentId:"sc-165e8ba9-0"})(["background:",";position:",";&& [data-flex-virtual-scroll='nav-list-user-music']{z-index:",";.simplebar-content-wrapper{overflow-y:"," !important;overflow-x:"," !important;scrollbar-width:none;&::-webkit-scrollbar{width:0;height:0;}}.simplebar-track.simplebar-vertical{width:",";background-color:",";border-radius:",";right:",";}.simplebar-scrollbar::before{top:",";bottom:",";left:",";right:",";opacity:",";background-color:",";border-radius:",";border:",";}.simplebar-scrollbar.simplebar-visible::before{opacity:",";}&:not(.simplebar-scrollable-y) .simplebar-track.simplebar-vertical,.simplebar-track.simplebar-vertical.simplebar-hidden{background-color:",";}&:not(.simplebar-scrollable-y) .simplebar-scrollbar::before,.simplebar-track.simplebar-vertical.simplebar-hidden .simplebar-scrollbar::before{background-color:",";opacity:",";}&:hover .simplebar-scrollbar::before{background-color:",";}}","{width:",";height:",";min-height:",";max-height:",";overflow:",";padding:",";margin:",";border:",";border-top:",";border-right:",";border-bottom:",";border-left:",";border-radius:",";}","{width:",";height:",";min-height:",";max-height:",";overflow:",";padding:",";margin:",";border:",";border-top:",";border-right:",";border-bottom:",";border-left:",";border-radius:",";}","{width:",";height:",";min-height:",";max-height:",";overflow:",";padding:",";margin:",";border:",";border-top:",";border-right:",";border-bottom:",";border-left:",";border-radius:",";}","{width:",";height:",";min-height:",";max-height:",";overflow:",";padding:",";margin:",";border:",";border-top:",";border-right:",";border-bottom:",";border-left:",";border-radius:",";}","{width:",";height:",";min-height:",";max-height:",";overflow:",";padding:",";margin:",";border:",";border-top:",";border-right:",";border-bottom:",";border-left:",";border-radius:",";}"],e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.background},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.position},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.zIndex},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.overflowY},e=>{let{layoutVariant:t,theme:r}=e;
1return r.NavListUserMusic[t].StyledNav.StyledList.overflowX},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.webkitScrollbarWidth},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.scrollbarTrackBgColor},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.webkitScrollbarTrackBorderRadius},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.simplebar.trackRight},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.simplebar.thumbTop},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.simplebar.thumbBottom},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.simplebar.thumbLeft},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.simplebar.thumbRight},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.simplebar.thumbOpacity},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.webkitScrollbarThumbBgColor},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.webkitScrollbarThumbBorderRadius},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.webkitScrollbarThumbBorder},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.simplebar.thumbVisibleOpacity},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.simplebar.noScrollTrackBgColor},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.simplebar.noScrollThumbBgColor},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.simplebar.noScrollThumbOpacity},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.hover.webkitScrollbarThumbBgColor},e=>{let{theme:t}=e;return t.mediaQueries.mobile},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.mobile.width},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.mobile.height},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.mobile.minHeight},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.mobile.maxHeight},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.mobile.overflow},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.mobile.padding},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.mobile.margin},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.mobile.border},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.mobile.borderTop},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.mobile.borderRight},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.mobile.borderBottom},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.mobile.borderLeft},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.mobile.borderRadius},e=>{let{theme:t}=e;return t.mediaQueries.mobileLarge},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.mobileLarge.width},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.mobileLarge.height},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.mobileLarge.minHeight},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.mobileLarge.maxHeight},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.mobileLarge.overflow},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.mobileLarge.padding},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.mobileLarge.margin},e=>{let{layoutVariant:t,theme:r}=e;
1return r.NavListUserMusic[t].StyledNav.StyledList.mobileLarge.border},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.mobileLarge.borderTop},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.mobileLarge.borderRight},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.mobileLarge.borderBottom},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.mobileLarge.borderLeft},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.mobileLarge.borderRadius},e=>{let{theme:t}=e;return t.mediaQueries.tablet},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.tablet.width},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.tablet.height},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.tablet.minHeight},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.tablet.maxHeight},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.tablet.overflow},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.tablet.padding},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.tablet.margin},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.tablet.border},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.tablet.borderTop},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.tablet.borderRight},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.tablet.borderBottom},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.tablet.borderLeft},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.tablet.borderRadius},e=>{let{theme:t}=e;return t.mediaQueries.desktop},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.desktop.width},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.desktop.height},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.desktop.minHeight},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.desktop.maxHeight},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.desktop.overflow},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.desktop.padding},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.desktop.margin},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.desktop.border},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.desktop.borderTop},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.desktop.borderRight},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.desktop.borderBottom},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.desktop.borderLeft},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.desktop.borderRadius},e=>{let{theme:t}=e;return t.mediaQueries.widescreen},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.widescreen.width},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.widescreen.height},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.widescreen.minHeight},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.widescreen.maxHeight},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.widescreen.overflow},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.widescreen.padding},e=>{let{layoutVariant:t,theme:r}=e;
1return r.NavListUserMusic[t].StyledNav.StyledList.widescreen.margin},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.widescreen.border},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.widescreen.borderTop},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.widescreen.borderRight},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.widescreen.borderBottom},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.widescreen.borderLeft},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.StyledList.widescreen.borderRadius}),ep=n.Ay.div.withConfig({componentId:"sc-7d8554af-0"})(["height:",";display:",";flex-direction:",";justify-content:",";align-items:",";","{margin:",";padding:",";gap:",";border:",";border-top:",";border-right:",";border-bottom:",";border-left:",";border-radius:",";}","{margin:",";padding:",";gap:",";border:",";border-top:",";border-right:",";border-bottom:",";border-left:",";border-radius:",";}","{margin:",";padding:",";gap:",";border:",";border-top:",";border-right:",";border-bottom:",";border-left:",";border-radius:",";}","{margin:",";padding:",";gap:",";border:",";border-top:",";border-right:",";border-bottom:",";border-left:",";border-radius:",";}","{margin:",";padding:",";gap:",";border:",";border-top:",";border-right:",";border-bottom:",";border-left:",";border-radius:",";}"],e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.height},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.display},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.flexDirection},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.justifyContent},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.alignItems},e=>{let{theme:t}=e;return t.mediaQueries.mobile},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.mobile.margin},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.mobile.padding},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.mobile.gap},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.mobile.border},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.mobile.borderTop},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.mobile.borderRight},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.mobile.borderBottom},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.mobile.borderLeft},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.mobile.borderRadius},e=>{let{theme:t}=e;return t.mediaQueries.mobileLarge},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.mobileLarge.margin},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.mobileLarge.padding},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.mobileLarge.gap},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.mobileLarge.border},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.mobileLarge.borderTop},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.mobileLarge.borderRight},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.mobileLarge.borderBottom},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.mobileLarge.borderLeft},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.mobileLarge.borderRadius},e=>{let{theme:t}=e;return t.mediaQueries.tablet},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.tablet.margin},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.tablet.padding},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.tablet.gap},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.tablet.border},e=>{let{layoutVariant:t,theme:r}=e;
1return r.NavListUserMusic[t].StyledNav.tablet.borderTop},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.tablet.borderRight},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.tablet.borderBottom},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.tablet.borderLeft},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.tablet.borderRadius},e=>{let{theme:t}=e;return t.mediaQueries.desktop},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.desktop.margin},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.desktop.padding},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.desktop.gap},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.desktop.border},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.desktop.borderTop},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.desktop.borderRight},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.desktop.borderBottom},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.desktop.borderLeft},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.desktop.borderRadius},e=>{let{theme:t}=e;return t.mediaQueries.widescreen},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.widescreen.margin},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.widescreen.padding},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.widescreen.gap},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.widescreen.border},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.widescreen.borderTop},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.widescreen.borderRight},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.widescreen.borderBottom},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.widescreen.borderLeft},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNav.widescreen.borderRadius}),em=n.Ay.div.withConfig({componentId:"sc-d3cf452c-0"})(["width:",";margin:",";","{padding:",";}","{padding:",";}","{padding:",";}","{padding:",";}","{padding:",";}"],e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNavHeader.width},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNavHeader.margin},e=>{let{theme:t}=e;return t.mediaQueries.mobile},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNavHeader.mobile.padding},e=>{let{theme:t}=e;return t.mediaQueries.mobileLarge},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNavHeader.mobileLarge.padding},e=>{let{theme:t}=e;return t.mediaQueries.tablet},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNavHeader.tablet.padding},e=>{let{theme:t}=e;return t.mediaQueries.desktop},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNavHeader.desktop.padding},e=>{let{theme:t}=e;return t.mediaQueries.widescreen},e=>{let{layoutVariant:t,theme:r}=e;return r.NavListUserMusic[t].StyledNavHeader.widescreen.padding}),ev=e=>{let{layoutVariant:t,isSidebarExtended:r,handleCloseSidebar:c}=e,p=(0,n.DP)(),m=(0,s.useRouter)(),{translation:v}=(0,d.p)(),{likedTracks:L,userPlaylistsArray:N,isUserPlaylistsLoading:g}=(0,a.e)(),[b,S]=(0,l.useState)(""),[M,U]=(0,l.useState)(""),h="/account/liked-tracks"===(null==m?void 0:m.asPath),w=p.NavListUserMusic[t].config.isLikedTrackCountVisible,k=p.NavListUserMusic[t].config.isLikedTrackLinkVisible,C=!p.NavListUserMusic[t].config.isPlaylistDescriptionFilterDisabled,f=b.trim()?((e,t,r)=>{let i=G(t);return i?e.reduce((e,t)=>{let l=t.Name.toLowerCase().includes(i);if("Playlist"===t.ObjectType)return J(t,i,r)?e+1:e;if("PlaylistCategory"===t.ObjectType){var s;return e+ +!!l+Object.values(null!=(s=t.Playlists)?s:[]).filter(e=>J(e,i,r)).length}return e},0):0})(N,b,C):0,I=N.reduce((e,t)=>
1{let r=e+1;if("PlaylistCategory"===t.ObjectType){var i;let e=Object.values(null!=(i=t.Playlists)?i:[]);r+=(null==e?void 0:e.length)||0}return r},0)||0;return(0,i.jsxs)(ep,{layoutVariant:t,children:[(0,i.jsxs)(em,{layoutVariant:t,children:[(0,i.jsxs)(eo,{layoutVariant:t,children:[(0,i.jsx)(F,{layoutVariant:t}),(0,i.jsx)(y.A,{variant:p.NavListUserMusic[t].StyledNav.StyledButtonWrap.SelectMenuHM.variant,sortOrder:M,setSortOrder:e=>U(e)})]}),(0,i.jsx)(u.A,{variant:p.NavListUserMusic[t].StyledNavHeader.SearchField.variant,placeholder:(null==v?void 0:v.NavListUserMusic.filterPlaceholder)||"Filter playlists",searchTerm:b,setSearchTerm:S,searchedLength:b?f:I,originalLength:I})]}),(0,i.jsxs)(ec,{layoutVariant:t,children:[k&&(0,i.jsx)(et,{layoutVariant:t,variant:p.NavListUserMusic[t].StyledFolderHeadingWrap.ButtonPlaylist.variant,children:(0,i.jsxs)(eu,{layoutVariant:t,children:[(0,i.jsx)(o.A,{href:{pathname:"/account/liked-tracks"},variant:p.NavListUserMusic[t].StyledNav.StyledList.Button.variant,withIcon:p.NavListUserMusic[t].StyledNav.StyledList.Button.withIcon,withText:p.NavListUserMusic[t].StyledNav.StyledList.Button.withText,iconName:h?p.NavListUserMusic[t].StyledNav.StyledList.Button.iconNameActive:p.NavListUserMusic[t].StyledNav.StyledList.Button.iconName,iconPosition:p.NavListUserMusic[t].StyledNav.StyledList.Button.iconPosition,isActive:h,onClick:c||(()=>null),children:(null==v?void 0:v.NavListUserMusic.likedTracks)||"Liked tracks"}),w&&(0,i.jsx)(ey,{as:"p",variant:p.NavListUserMusic[t].StyledLikedTrackButtonWrap.StyledLikedTrackCount.variant,layoutVariant:t,children:(null==L?void 0:L.trackcount)||0})]})}),(0,i.jsx)(en,{layoutVariant:t,playlists:N,isLoading:g,searchTerm:b,sortOrder:M,isSidebarExtended:r,handleCloseSidebar:c})]})]})}}}]);

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.