1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="5c4e1f8c-9197-41db-a0e1-0d3040ef8a0b",e._sentryDebugIdIdentifier="sentry-dbid-5c4e1f8c-9197-41db-a0e1-0d3040ef8a0b")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7795],{114:(e,t,i)=>{"use strict";i.d(t,{A:()=>l});var n=i(13875),s=i(11758);let l=n.Ay.div.withConfig({componentId:"sc-6aae9f5d-0"})(["display:grid;width:100%;height:calc( 100vh - ","px );@supports (height:1dvh){height:calc( 100dvh - ","px );}","{height:calc( 100vh - ","px );@supports (height:1dvh){height:calc( 100dvh - ","px );}}"],e=>e.theme.topbarHeightMobile+e.theme.largeSpacer+e.theme.iconNavHeight,e=>e.theme.topbarHeightMobile+e.theme.largeSpacer+e.theme.iconNavHeight,s.f.desktop,e=>e.theme.topbarHeightDesktop+e.theme.xlargeSpacer,e=>e.theme.topbarHeightDesktop+e.theme.xlargeSpacer)},10197:(e,t,i)=>{"use strict";i.d(t,{hu:()=>a,q5:()=>r,qO:()=>s,wG:()=>o,xJ:()=>l});var n=i(62180);let s=(e,t)=>e?t?(0,n.A)(e).format({thousandSeparated:!0}):e>9999||e<-9999?(0,n.A)(e).format({thousandSeparated:!0,mantissa:1,trimMantissa:!0,average:!0,lowPrecision:!1}):(0,n.A)(e).format({thousandSeparated:!0,mantissa:1,trimMantissa:!0,average:!1}):"-",l=e=>e?(0,n.A)(e).format({thousandSeparated:!0,average:!0,trimMantissa:!0,mantissa:2}):"-",r=e=>e?(0,n.A)(e).format({thousandSeparated:!0,mantissa:0}):"-",a=e=>e?(0,n.A)(e).format({mantissa:2,roundingFunction:Math.floor}):"-",o=e=>e||0===e?(0,n.A)(e).format({mantissa:1,trimMantissa:!0,average:e>999||e<-999}):"-"},25565:(e,t,i)=>{"use strict";i.d(t,{n:()=>r});var n=i(44825),s=i(15092),l=i(62436);let r=({limit:e,orderBy:t,filter:i})=>{let{actId:r}=(0,l.A)(),a=new URLSearchParams({filter:i});e&&a.append("limit",e.toString()),t&&a.append("orderBy",t);let o=`insights/${r}/playlistsV2?${a.toString()}`,{data:d,error:c}=(0,n.A)(r?o:null,async()=>(0,s.A)(o));return c&&console.error(c),{loading:!c&&!d,relatedArtistPlaylists:d?.relatedArtistPlaylists||[],artistPlaylists:d?.artistPlaylists||[]}}},28020:(e,t,i)=>{"use strict";i.d(t,{Dy:()=>f,Ik:()=>u,WI:()=>y,df:()=>v,eX:()=>d,f5:()=>g,kP:()=>p,oR:()=>h,r4:()=>a,sR:()=>o,sq:()=>c,sv:()=>m});var n=i(27923),s=i(78145);let l=[{platform:n.i9y.SPOTIFY,isStreamingKpi:!0,isUsedInInsights:!0,isEarnPoints:!0,isOAuth:!1,isDsp:!0,isOnLandingPages:!0,previewLinkScope:"full"},{platform:n.i9y.INSTAGRAM,isSocial:!0,isJoinLeaderboardOnboarding:!1,isVerificationPlatform:!1,isUsedInInsights:!0,isEarnPoints:!0,isOnLandingPages:!0,previewLinkScope:"none"},{platform:n.i9y.FACEBOOK,isSocial:!0,isJoinLeaderboardOnboarding:!0,isVerificationPlatform:!0,isUsedInInsights:!0,isEarnPoints:!0,previewLinkScope:"none"},{platform:n.i9y.TIKTOK,isJoinLeaderboardOnboarding:!0,isVerificationPlatform:!1,isUsedInInsights:!0,isEarnPoints:!0,isSocial:!0,isDsp:!0,isOAuth:!0,previewLinkScope:"none",isOnLandingPages:!0},{platform:n.i9y.TWITTER,isUsedInInsights:!0,isSocial:!0},{platform:n.i9y.YOUTUBE,isStreamingKpi:!0,isUsedInInsights:!0,isEarnPoints:!0,previewLinkScope:"full"},{platform:n.i9y.SOUNDCLOUD,isStreamingKpi:!0,isUsedInInsights:!0,isOtherSocial:!0,previewLinkScope:"full"},{platform:n.i9y.BANDSINTOWN,isSocial:!0,isUsedInInsights:!0,isOtherSocial:!0,previewLinkScope:"full"},{platform:n.i9y.SONGKICK,isUsedInInsights:!0,previewLinkScope:"full"},{platform:n.i9y.TWITCH,isSocial:!0,isOtherSocial:!0,isUsedInInsights:!0,previewLinkScope:"full"},{platform:n.i9y.APPLE_MUSIC,isStreamingKpi:!0,isUsedInInsights:!0,withLink:!0,isDsp:!0,isOtherStreaming:!0,isOnLandingPages:!0,previewLinkScope:"title-only"},{platform:n.i9y.YOUTUBE_MUSIC,isStreamingKpi:!0,isUsedInInsights:!0,withLink:!0,isDsp:!0,isOtherStreaming:!0,isOnLandingPages:!0},{platform:n.i9y.AMAZON_MUSIC,isStreamingKpi:!0,isUsedInInsights:!0,withLink:!0,isDsp:!0,isOtherStreaming:!0,isOnLandingPages:!0,previewLinkScope:"title-only"},{platform:n.i9y.DEEZER,isStreamingKpi:!1,isUsedInInsights:!0,isSocial:!0,isDsp:!0,isOtherStreaming:!0,previewLinkScope:"full"},{platform:n.i9y.GENIUS,isStreamingKpi:!1,isUsedInInsights:!0,isSocial:!0,isOtherStreaming:!0,previewLinkScope:"full"},{platform:n.i9y.JIO_SAAVN,isUsedInInsights:!0,isDsp:!0,isOnLandingPages:!0},{platform:n.i9y.HUNGAMA,isDsp:!0},{platform:n.i9y.GAANA,isUsedInInsights:!0,previewLinkScope:"full"},{platform:n.i9y.SHAZAM},{platform:n.i9y.SEVEN_DIGITAL},{platform:n.i9y.JOOX},{platform:n.i9y.ANGHAMI},{platform:n.i9y.PELOTON},{platform:n.i9y.BOOMPLAY},{platform:n.i9y.AUDIOMACK,isOnLandingPages:!0,isUsedInInsights:!0},{platform:n.i9y.FACEBOOK_AND_INSTAGRAM},{platform:n.i9y.NAPSTER,isUsedInInsights:!0,isDsp:!0,previewLinkScope:"full"},{platform:n.i9y.TIDAL,isDsp:!0,previewLinkScope:"full"},{platform:n.i9y.PANDORA,isUsedInInsights:!0,isDsp:!0},{platform:n.i9y.SOUNDTRACK_YOUR_BAND,isDsp:!0},{platform:n.i9y.RHAPSODY,isDsp:!0},{platform:n.i9y.GOOGLE_MUSIC,isDsp:!0},{platform:n.i9y.BANDCAMP,previewLinkScope:"full"},{platform:n.i9y.APPLE,previewLinkScope:"none"},{platform:n.i9y.ITUNES_STORE,previewLinkScope:"none"}],r=s.cG.platforms?.length&&s.cG.platforms.length>0?s.cG.platforms.map(e=>l.find(t=>t.platform===e)).filter(e=>void 0!==e):l,a=r.filter(e=>s.cG.platforms?.length?e.isOnLandingPages:e.isDsp),o=new Map(r.map((e,t)=>[e.platform,t])),d=r.filter(e=>e.isSocial).map(e=>e.platform),c=r.filter(e=>[n.i9y.INSTAGRAM,n.i9y.FACEBOOK,n.i9y.TIKTOK,n.i9y.YOUTUBE].includes(e.platform));r.filter(e=>e.isStreamingKpi).map(e=>e.platform),r.filter(e=>e.isStreamingKpi&&e.withLink).map(e=>e.platform);let p=r.filter(e=>e.isJoinLeaderboardOnboarding&&!s.cG.disabledPlatforms?.find(t=>t===e.platform)).map(e=>e.platform),u=r.filter(e=>e.isVerificationPlatform&&!s.cG.disabledPlatforms?.find(t=>t===e.platform)).map(e=>e.platform),m=r.filter(e=>e.isUsedInInsights).map(e=>e.platform),h=r.filter(e=>e.isEarnPoints).map(e=>e.platform),g=r.filter(e=>e.isDsp).map(({platform:e})=>({value:e,label:n._S0[e]||e})),f=r.filter(e=>e.isOtherSocial).map(e=>e.platform),y=r.filter(e=>e.isOtherStreaming).map(e=>e.platform),v=e=>{let t=r.find(t=>t.platform===e);return t?.previewLinkScope||"none"}},34155:(e,t,i)=>{"use strict";i.d(t,{A:()=>p});var n=i(6029),s=i(13875),l=i(34694),r=i(12555),a=i(65199);let o=s.Ay.div.withConfig({componentId:"sc-7309bdb2-0"})(["display:flex;justify-content:center;padding:","px;"],e=>e.theme.largeSpacer),d=e=>{let{isWebView:t}=(0,a.A)(),i=(0,n.jsx)(o,{id:"pull-down-content",children:(0,n.jsx)(r.MD,{style:{color:"white"},children:"Pull down to refresh"})});return t?(0,n.jsx)(l.A,{onRefresh:()=>new Promise(e=>{setTimeout(()=>{window?.ReactNativeWebView?.postMessage(JSON.stringify({method:"refresh"})),e()},1e3)}),pullingContent:i,pullDownThreshold:100,maxPullDownDistance:100,resistance:3,children:e.children}):e.children},c=s.Ay.div.withConfig({componentId:"sc-3e499738-0"})(["display:flex;position:relative;flex-direction:column;",""],e=>e.bgColour&&`background-color: ${e.theme[e.bgColour]||e.bgColour};`),p=e=>(0,n.jsx)(d,{children:(0,n.jsx)(c,{bgColour:e.bgColour,children:e.children})})},34694:(e,t,i)=>{"use strict";i.d(t,{A:()=>d});var n,s,l=i(55729);function r(e,t){void 0===t&&(t={});var i=t.insertAt;if(e&&"u">typeof document){var n=document.head||document.getElementsByTagName("head")[0],s=document.createElement("style");s.type="text/css","top"===i&&n.firstChild?n.insertBefore(s,n.firstChild):n.appendChild(s),s.styleSheet?s.styleSheet.cssText=e:s.appendChild(document.createTextNode(e))}}(n=s||(s={}))[n.UP=-1]="UP",n[n.DOWN=1]="DOWN",r(".lds-ellipsis {\n display: inline-block;\n position: relative;\n width: 64px;\n height: 64px;\n}\n\n.lds-ellipsis div {\n position: absolute;\n top: 27px;\n width: 11px;\n height: 11px;\n border-radius: 50%;\n background: rgb(54, 54, 54);\n animation-timing-function: cubic-bezier(0, 1, 1, 0);\n}
1\n\n.lds-ellipsis div:nth-child(1) {\n left: 6px;\n animation: lds-ellipsis1 0.6s infinite;\n}\n\n.lds-ellipsis div:nth-child(2) {\n left: 6px;\n animation: lds-ellipsis2 0.6s infinite;\n}\n\n.lds-ellipsis div:nth-child(3) {\n left: 26px;\n animation: lds-ellipsis2 0.6s infinite;\n}\n\n.lds-ellipsis div:nth-child(4) {\n left: 45px;\n animation: lds-ellipsis3 0.6s infinite;\n}\n\n@keyframes lds-ellipsis1 {\n 0% {\n transform: scale(0);\n }\n 100% {\n transform: scale(1);\n }\n}\n@keyframes lds-ellipsis3 {\n 0% {\n transform: scale(1);\n }\n 100% {\n transform: scale(0);\n }\n}\n@keyframes lds-ellipsis2 {\n 0% {\n transform: translate(0, 0);\n }\n 100% {\n transform: translate(19px, 0);\n }\n}");var a=function(){return l.createElement("div",{className:"lds-ellipsis"},l.createElement("div",null),l.createElement("div",null),l.createElement("div",null),l.createElement("div",null))},o=function(){return l.createElement("div",null,l.createElement("p",null,"â§\xa0\xa0pull to refresh\xa0\xa0â§"))};r(".ptr,\n.ptr__children {\n height: 100%;\n width: 100%;\n overflow: hidden;\n -webkit-overflow-scrolling: touch;\n position: relative;\n}\n\n.ptr.ptr--fetch-more-treshold-breached .ptr__fetch-more {\n display: block;\n}\n\n.ptr__fetch-more {\n display: none;\n}\n\n/**\n * Pull down transition \n */\n.ptr__children,\n.ptr__pull-down {\n transition: transform 0.2s cubic-bezier(0, 0, 0.31, 1);\n}\n\n.ptr__pull-down {\n position: absolute;\n overflow: hidden;\n left: 0;\n right: 0;\n top: 0;\n visibility: hidden;\n}\n.ptr__pull-down > div {\n display: none;\n}\n\n.ptr--dragging {\n /**\n * Hide PullMore content is treshold breached\n */\n}\n.ptr--dragging.ptr--pull-down-treshold-breached .ptr__pull-down--pull-more {\n display: none;\n}\n.ptr--dragging {\n /**\n * Otherwize, display content\n */\n}\n.ptr--dragging .ptr__pull-down--pull-more {\n display: block;\n}\n\n.ptr--pull-down-treshold-breached {\n /**\n * Force opacity to 1 is pull down trashold breached\n */\n}\n.ptr--pull-down-treshold-breached .ptr__pull-down {\n opacity: 1 !important;\n}\n.ptr--pull-down-treshold-breached {\n /**\n * And display loader\n */\n}\n.ptr--pull-down-treshold-breached .ptr__pull-down--loading {\n display: block;\n}\n\n.ptr__loader {\n margin: 0 auto;\n text-align: center;\n}");let d=function(e){var t=e.isPullable,i=void 0===t||t,n=e.canFetchMore,r=void 0!==n&&n,d=e.onRefresh,c=e.onFetchMore,p=e.refreshingContent,u=void 0===p?l.createElement(a,null):p,m=e.pullingContent,h=void 0===m?l.createElement(o,null):m,g=e.children,f=e.pullDownThreshold,y=void 0===f?67:f,v=e.fetchMoreThreshold,w=void 0===v?100:v,b=e.maxPullDownDistance,x=void 0===b?95:b,S=e.resistance,A=void 0===S?1:S,I=e.backgroundColor,E=e.className,_=(0,l.useRef)(null),P=(0,l.useRef)(null),L=(0,l.useRef)(null),O=(0,l.useRef)(null),k=!1,D=!1,C=!1,T=0,M=0;(0,l.useEffect)(function(){if(i&&P&&P.current){var e=P.current;return e.addEventListener("touchstart",j,{passive:!0}),e.addEventListener("mousedown",j),e.addEventListener("touchmove",R,{passive:!1}),e.addEventListener("mousemove",R),window.addEventListener("scroll",F),e.addEventListener("touchend",B),e.addEventListener("mouseup",B),document.body.addEventListener("mouseleave",B),function(){e.removeEventListener("touchstart",j),e.removeEventListener("mousedown",j),e.removeEventListener("touchmove",R),e.removeEventListener("mousemove",R),window.removeEventListener("scroll",F),e.removeEventListener("touchend",B),e.removeEventListener("mouseup",B),document.body.removeEventListener("mouseleave",B)}}},[g,i,d,y,x,r,w]),(0,l.useEffect)(function(){(null==_?void 0:_.current)&&!_.current.classList.contains("ptr--fetch-more-treshold-breached")&&r&&N()<w&&c&&(_.current.classList.add("ptr--fetch-more-treshold-breached"),D=!0,c().then(U).catch(U))},[r,g]);var N=function(){if(!P||!P.current)return -1;var e=window.scrollY;return P.current.scrollHeight-e-window.innerHeight},U=function(){requestAnimationFrame(function(){P.current&&(P.current.style.overflowX="hidden",P.current.style.overflowY="auto",P.current.style.transform="unset"),L.current&&(L.current.style.opacity="0"),_.current&&(_.current.classList.remove("ptr--pull-down-treshold-breached"),_.current.classList.remove("ptr--dragging"),_.current.classList.remove("ptr--fetch-more-treshold-breached")),k&&(k=!1),D&&(D=!1)})},j=function(e){C=!1,e instanceof MouseEvent&&(T=e.pageY),window.TouchEvent&&e instanceof TouchEvent&&(T=e.touches[0].pageY),M=T,"touchstart"===e.type&&function e(t,i){return!!function(e,t){var i;if(i=getComputedStyle(e).overflowY,(e!==document.scrollingElement||"visible"!==i)&&("scroll"!==i&&"auto"!==i||0))return!1;if(t===s.DOWN)return e.scrollTop+e.clientHeight<e.scrollHeight;if(t===s.UP)return e.scrollTop>0;throw Error("unsupported direction")}(t,i)||null!=t.parentElement&&e(t.parentElement,i)}(e.target,s.UP)||P.current.getBoundingClientRect().top<0||(C=!0)},R=function(e){if(C){if(M=window.TouchEvent&&e instanceof TouchEvent?e.touches[0].pageY:e.pageY,_.current.classList.add("ptr--dragging"),M<T){C=!1;return}e.cancelable&&e.preventDefault();var t=Math.min((M-T)/A,x);t>=y&&(C=!0,k=!0,_.current.classList.remove("ptr--dragging"),_.current.classList.add("ptr--pull-down-treshold-breached")),t>=x||(L.current.style.opacity=(t/65).toString(),P.current.style.overflow="visible",P.current.style.transform="translate(0px, "+t+"px)",L.current.style.visibility="visible")}},F=function(e){!D&&r&&N()<w&&c&&(D=!0,_.current.classList.add("ptr--fetch-more-treshold-breached"),c().then(U).catch(U))},B=function(){if(C=!1,T=0,M=0,!k){L.current&&(L.current.style.visibility="hidden"),U();return}P.current&&(P.current.style.overflow="visible",P.current.style.transform="translate(0px, "+y+"px)"),d().then(U).catch(U)};return l.createElement("div",{className:"ptr "+(void 0===E?"":E),style:{backgroundColor:I},ref:_},l.createElement("div",{className:"ptr__pull-down",ref:L},l.createElement("div",{className:"ptr__loader ptr__pull-down--loading"},u),l.createElement("div",{className:"ptr__pull-down--pull-more"},h)),l.createElement("div",{className:"ptr__children",ref:P},g,l.createElement("div",{className:"ptr__fetch-more",ref:O},l.createElement("div",{className:"ptr__loader ptr__fetch-more--loading"},u))))}},41031:(e,t,i)=>{"use strict";i.d(t,{A:()=>I});var n=i(6029),s=i(55729),l=i(22286),r=i(83323),a=i(39191),o=i(92334),d=i(26638),c=i(91963),p=i(15092),u=i(93852),m=i(36263),h=i(25565),g=i(53876),f=i(18298),y=i(62436),v=i(88584),w=i(11769),b=i(44727),x=i(114),S=i(86005),A=i(27923);let I=e=>{let{t}=(0,l.Bd)("insights"),{playlistsMoreDrillthrough:i}=(0,v.D)(),{actId:I}=(0,y.A)(),{getSavedProfile:E}=(0,f.A)(),_=(0,w.Zp)(),P=[{value:"followers",label:t("playlists.mostFollowers")},{value:"best_rank",label:t("playlists.highestRank")}],L=[{value:"all",label:t("playlists.allPlaylists")}
1,{value:"newly_added",label:t("playlists.newPlaylists")},{value:"removed",label:t("playlists.removedPlaylists")},{value:"algorithmic",label:t("playlists.algorithmicPlaylists")},{value:"spotify_only",label:t("playlists.spotifyPlaylists")}],[O,k]=(0,s.useState)(P[0]),[D,C]=(0,s.useState)(L[0]),{loading:T,artistPlaylists:M}=(0,h.n)({limit:e.isPage?void 0:10,orderBy:O.value,filter:D.value}),{hasPublishedRelease:N,loading:U}=(0,g.A)(),[j,R]=(0,s.useState)(""),[F,B]=(0,s.useState)(!1),{data:K,columns:G}=(0,S.A)(M,!1),H=E(A.i9y.SPOTIFY)?.url,Y=!K.length&&!F;(0,s.useEffect)(()=>{e.setIsPlaylistsInsufficientData&&e.setIsPlaylistsInsufficientData(Y)},[K,F]);let $=async()=>{let e=j;if(!e){let i;B(!0);try{i=await (0,p.A)(`insights/${I}/playlistsCSV`)}catch(e){console.error("Failed to download playlist CSV",e),(0,m.H)(e),u.A.error(t("playlists.downloadCsvError"));return}B(!1),R(i.url),e=i.url}(0,a.A)(e),u.A.success(t("playlists.downloadCsvSuccess"))};return(0,n.jsx)(r.A,{condition:e.isPage,wrapperElement:(0,n.jsx)(x.A,{children:"children"}),children:(0,n.jsx)(b.A,{dataTestId:"insights-carousel-playlists",heading:t("playlists.title"),subheading:t("playlists.subtitle"),tooltip:"insights.playlists.carousel",loading:T,loadingMessage:t("common.loading.playlists"),data:K,columns:G,isPage:e.isPage,isList:!0,emptyStateOptions:(()=>{if(!K.length)return"all"===D.value?H?U||N?{message:t("playlists.noPlaylists")}:{buttonText:t("playlists.promoteRelease"),onPress:()=>_("/hypelinks")}:{buttonText:`${t("common.connect")} ${A._S0[A.i9y.SPOTIFY]}`,onPress:()=>_("/insights/spotify")}:{message:t("playlists.noResults")};return{message:""}})(),isMoreButtonDisabled:!i,headerElement:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(d.A,{value:[O],options:P,onChange:k,isSearchable:!1}),(0,n.jsx)(d.A,{value:[D],options:L,onChange:C,isSearchable:!1}),(0,n.jsx)(c.A,{id:"download-all-playlist-data-btn",text:t("playlists.downloadCsv"),children:(0,n.jsx)(o.A,{icon:"download",iconOnly:!0,grey:!0,onPress:$,loading:F})})]}),path:"/insights/playlists"})})}},43712:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o});var n=i(6029),s=i(34155),l=i(62449),r=i(41031);let a=()=>(0,n.jsx)(s.A,{children:(0,n.jsx)(l.A,{shouldTrackFeatureEngagement:!0,children:(0,n.jsx)(r.A,{isPage:!0})})}),o=a;a.auth=!0},45468:(e,t,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/insights/playlists",function(){return i(43712)}])},53876:(e,t,i)=>{"use strict";i.d(t,{A:()=>r});var n=i(57165),s=i(15092),l=i(62436);let r=()=>{let{actId:e}=(0,l.A)(),t=`artist/${e}/flags`,{data:i,error:r,mutate:a}=(0,n.Ay)(e?t:null,async()=>(0,s.A)(t));return r&&console.error(r),{loading:!!e&&!i&&!r,hasSpotify:i?.hasSpotify??!1,hasReleases:i?.hasReleases??!1,hasPublishedRelease:i?.hasPublishedRelease??!1,mutate:a}}},55219:(e,t,i)=>{"use strict";i.d(t,{A:()=>b});var n=i(6029),s=i(55729),l=i(91963),r=i(12555),a=i(65199),o=i(13875);let d=o.Ay.div.withConfig({componentId:"sc-d821fa11-0"})(["height:",";width:",";flex-shrink:0;img{object-position:left top;}"],e=>e.isMobile?"48px":"64px",e=>e.isMobile?"48px":"64px"),c=o.Ay.video.withConfig({componentId:"sc-d821fa11-1"})(["height:",";width:",";flex-shrink:0;"],e=>e.isMobile?"48px":"64px",e=>e.isMobile?"48px":"64px");var p=i(44621);let u=e=>e.url?.includes(".mp4")||e.url?.includes(".mov")?(0,n.jsx)(c,{isMobile:e.isMobile,src:e.url}):(0,n.jsx)(d,{isMobile:e.isMobile,children:(0,n.jsx)(p.A,{src:e.url,alt:"thumbnail",maxWidth:e.isMobile?"48px":"64px",priority:!1,onError:e.onError})});var m=i(68641),h=i(81929);let g=o.Ay.div.withConfig({componentId:"sc-2b1726c6-0"})(["display:grid;grid-auto-flow:column;grid-gap:","px;justify-content:space-between;align-items:center;"," "," ",""],e=>e.theme.largeSpacer,e=>e.isCompact&&` 2 @media screen and (max-width: 1225px) { 3 grid-auto-flow: row; 4 }`,e=>e.hasThumb&&`justify-content: flex-start; 5 grid-template-columns: 1fr;`,e=>e.isMobile&&`justify-content: unset; 6 grid-auto-flow: row;`),f=o.Ay.div.withConfig({componentId:"sc-2b1726c6-1"})(["display:grid;grid-auto-flow:column;grid-gap:","px;justify-content:flex-start;"],e=>e.theme.largeSpacer),y=o.Ay.div.withConfig({componentId:"sc-2b1726c6-2"})(["display:grid;grid-gap:","px;width:100%;"],e=>e.theme.smallSpacer),v=o.Ay.div.withConfig({componentId:"sc-2b1726c6-3"})(["display:grid;grid-auto-flow:column;grid-template-columns:minmax(190px,max-content);grid-auto-columns:minmax(190px,max-content) auto;grid-gap:","px;justify-content:end;width:100%;"," "," @media screen and (max-width:432px){grid-auto-flow:row;grid-auto-columns:1fr;grid-template-columns:1fr;}"],e=>e.theme.largeSpacer,e=>e.columns&&`grid-template-columns: ${e.columns};`,e=>e.isCompact&&` 7 @media screen and (max-width: 1225px) { 8 grid-template-columns: 1fr; 9 }; 10 `),w=o.Ay.div.withConfig({componentId:"sc-2b1726c6-4"})(["display:grid;align-items:center;grid-template-columns:",";justify-content:flex-start;grid-gap:","px;"],e=>e.isMobile?"1fr auto":"auto min-content",e=>e.theme.largeSpacer);o.Ay.div.withConfig({componentId:"sc-2b1726c6-5"})(["",""],e=>e.isMobile&&"margin-left: auto;");let b=e=>{let{isMobile:t}
10=(0,a.A)(),[i,o]=(0,s.useState)(e.imageUrl);return(0,n.jsxs)(g,{"data-testid":"panel-header",isMobile:t&&!!e.children&&!e.isRow,hasThumb:!!i,isCompact:e.isCompact,children:[(0,n.jsxs)(f,{children:[i&&(0,n.jsx)(u,{url:i,isMobile:t,onError:()=>o("")}),(0,n.jsxs)(y,{children:[(0,n.jsxs)(w,{isMobile:t,children:[(0,n.jsxs)(h._,{alignItems:"center",isSmallGap:!0,children:[e.isSmallHeading?(0,n.jsx)(r.DZ,{children:e.heading}):(0,n.jsx)(r.OU,{children:e.heading}),e.isAi&&(0,n.jsx)(m.A,{name:"magic",size:"lg"})]}),e.tooltip&&(0,n.jsx)(l.A,{id:e.tooltip,text:e.tooltipText,place:"right"})]}),(0,n.jsxs)(h._,{alignItems:"center",isXSmallGap:!0,children:[e.subheadingElement&&(0,n.jsx)(n.Fragment,{children:e.subheadingElement}),e.isSmallSubheading?(0,n.jsx)(r.MD,{children:e.subheading}):(0,n.jsx)(r.tE,{children:e.subheading})]})]})]}),e.children&&(0,n.jsx)(v,{columns:e.actionsColumns,isCompact:e.isCompact,children:e.children})]})}},62449:(e,t,i)=>{"use strict";i.d(t,{A:()=>u});var n=i(6029),s=i(13875),l=i(11758);let r=s.Ay.div.withConfig({componentId:"sc-29c54445-0"})(["display:flex;flex-direction:column;overflow-x:hidden;",""],e=>e.isScrollable&&"overflow-y: auto;"),a=s.Ay.div.withConfig({componentId:"sc-29c54445-1"})(["padding:0 ","px ","px;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;position:relative;width:100%;","{padding:0 ","px ","px;}"],e=>e.theme.largeSpacer,e=>e.theme.largeSpacer,l.f.xl,e=>e.theme.xlargeSpacer,e=>e.theme.xlargeSpacer);var o=i(55729),d=i(39048),c=i(67962),p=i(11769);let u=e=>{let{pathname:t}=(0,p.zy)(),i=e.featureNameForEngagementTracking||t.split("/")[1];return(({featureName:e,userJourneyFlag:t,minEngagementTimeSeconds:i=10,rootFeature:n,shouldTrack:s=!0})=>{let{updateUserJourneyFlags:l,loading:r}=(0,c.A)(),a=`feature_engagement_${n||e}`;(0,o.useEffect)(()=>{if(!s)return;let r=Date.now(),o=parseInt(localStorage.getItem(a)||"0",10),c=async()=>{let s=o+Math.floor((Date.now()-r)/1e3);s>=i?((0,d.Ay)(`${(n||e).charAt(0).toUpperCase()+(n||e).slice(1)}: User engaged`,{engagementTimeSeconds:s,subFeature:n?e:void 0}),t&&l(t),localStorage.removeItem(a)):localStorage.setItem(a,s.toString())},p=setInterval(()=>{o+Math.floor((Date.now()-r)/1e3)>=i&&(clearInterval(p),c())},1e3);return()=>{clearInterval(p),c()}},[e,n,t,i,a,r,s])})({featureName:i,userJourneyFlag:i?`view${i.charAt(0).toUpperCase()}${i.slice(1)}`:void 0,rootFeature:e.featureNameForEngagementTracking||i,shouldTrack:e.shouldTrackFeatureEngagement&&!!i}),(0,n.jsx)(r,{isScrollable:e.isScrollable,children:(0,n.jsx)(a,{children:e.children})})}},70788:(e,t,i)=>{"use strict";i.d(t,{A:()=>s});var n=i(28020);let s=e=>e.sort((e,t)=>{let i="string"==typeof e?e:e.platform,s="string"==typeof t?t:t.platform,l=n.sR.get(i),r=n.sR.get(s);return void 0===l&&void 0===r?0:void 0===l?1:void 0===r?-1:l-r})},83323:(e,t,i)=>{"use strict";i.d(t,{A:()=>s});var n=i(55729);let s=({condition:e,wrapper:t,wrapperElement:i,children:s})=>t?e?t(s):s:i&&e?n.cloneElement(i,{},s):s},86005:(e,t,i)=>{"use strict";i.d(t,{A:()=>l});var n=i(22286),s=i(39191);let l=(e,t,i)=>{let{t:l}=(0,n.Bd)("insights");return{data:e?.map(e=>({platform:(e.provider||"").toLowerCase().replace(/ /g,""),heading:e.name,subtitle:e.owner_name,image:e.image_url,hideMoreButton:!(e.external_url||e.url),external_url:e.external_url||e.url,stats:[e.followers&&{name:l("playlistData.followers"),current:e.followers},e.best_rank&&{name:l("playlistData.rank"),current:e.best_rank},e.tracks&&{name:l("playlistData.trackCount"),current:e.tracks},e.plays&&{name:l("playlistData.recentPlays"),current:e.plays},e.related_artists_count&&{name:l("playlistData.relatedArtists"),current:e.related_artists_count}].filter(Boolean),tag:e.newly_added?{label:l("playlists.badges.new"),colour:"secondary"}:e.algorithmic?{label:l("playlists.badges.algorithmic"),colour:"secondary"}:"spotify"===e.owner_id?{label:l("playlists.badges.editorial"),colour:"secondary"}:e.removed&&t&&!i?{label:l("playlists.badges.removed"),colour:"error"}:void 0,clickHandler:()=>e.external_url||e.url?(0,s.A)(e.external_url||e.url):void 0,tagTooltip:e.algorithmic?l("playlist.algorithmicDescription",{ownerName:e.owner_name,playlistName:e.name}):void 0})),columns:[{name:"title",header:l("playlistData.nameOwnerHeader")},{name:"stats"}
10].filter(Boolean)}}}},e=>{e.O(0,[7108,636,6593,8792],()=>e(e.s=45468)),_N_E=e.O()}]);
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.