(()=>{var e,t,n,a,r,i={4461:(e,t,n)=>{"use strict";n.d(t,{_:()=>b});n(6277);var a=n(1586),r=n(8109),i=n(46),o=n(5812);function s(e,t){throw new Error(t??`Unexpectedly hit unreachable code! Unhandled discriminated union member: ${JSON.stringify(e)}`)}var l=n(411),u=n(1527);const c=({item:e,onClick:t})=>(0,u.jsx)(u.Fragment,{children:e.artists.map(((n,o)=>{const s=(0,a.EC)(n.uri)?.toURLPath(!0);return(0,u.jsxs)("span",{children:[o>0?r.ag.getSeparator():null,s?(0,u.jsx)(i.Z,{to:s,"data-testid":`context-item-info-${e.type}`,dir:"auto",onClick:t,children:n.name}):(0,u.jsx)("span",{dir:"auto",children:n.name})]},o)}))}),d=({item:e,onClick:t})=>{const{show:n}=e,r=(0,a.EC)(n.uri)?.toURLPath(!0);return r?(0,u.jsx)(i.Z,{to:r,"data-testid":"context-item-info-show",dir:"auto",onClick:t,children:n.name}):(0,u.jsx)("span",{dir:"auto",children:n.name})},p=({item:e,onClick:t})=>{const{book:n}=e,r=(0,a.EC)(n.uri)?.toURLPath(!0);return r?(0,u.jsx)(i.Z,{to:r,"data-testid":"context-item-info-book",dir:"auto",onClick:t,children:n.name}):(0,u.jsx)("span",{dir:"auto",children:n.name})},m={"data-testid":"context-item-info-ad-subtitle"},f=({item:e,onClick:t})=>{const n=(0,l.B7)(e);return n.url?(0,u.jsx)("a",{...m,onClick:e=>{t?.(e,n.url||void 0)},href:n.url??void 0,rel:"noopener noreferrer",target:"_blank",dir:"auto",children:n.subtitle}):(0,u.jsx)("span",{dir:"auto",children:n.subtitle})},b=({item:e,onClick:t})=>(0,o.G_)(e)||(0,o.RB)(e)?(0,u.jsx)(c,{item:e,onClick:t}):(0,o.iw)(e)?(0,u.jsx)(d,{item:e,onClick:t}):(0,o.G7)(e)?(0,u.jsx)(p,{item:e,onClick:t}):(0,o.k6)(e)?(0,u.jsx)(f,{item:e,onClick:t}):s(e)},46:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var a=n(959),r=n(6275),i=n(1586),o=n(2800),s=n(8570),l=n(6529),u=n(282),c=n(8356),d=n(1527);function p(e){return!!e&&"string"!=typeof e}const m=(0,a.memo)((0,a.forwardRef)((function(e,t){const{to:n,pageId:m,onClick:f,children:b,draggable:E=!1,state:h,search:A,pathname:T,tabIndex:g,...P}=e,S=(0,c.o)(),L=(0,s.g)(),D=(0,a.useContext)(o.DJ),_=T||(0,i.EC)(n,{parseUnknown:!0}),N=p(_)?_.toURLPath(!0):_,I=(0,i.EC)(N,{parseUnknown:!0}),O=(0,u.k)({uri:I?.toURI(),type:"link"}),R={onClick:(0,a.useCallback)((e=>{S({intent:"navigate",type:"click",targetUri:n}),f&&f(e,(0,i.EC)(n,{parseUnknown:!0})?.toURI())}),[S,n,f]),draggable:E,...P},v={pageId:m,...h,referrer:e.referrer||D||L.getReferrer()};if(_){let e,n;e=p(_)?O?(0,l.is)(_.toURLPath(!0)):_.toURLPath(!0):O?(0,l.is)(_):_;const a=e.split("?");return a.length>1&&(e=a[0],n=a[1]),(0,d.jsx)(r.rU,{...R,ref:t,to:{pathname:e,search:A??n},state:v,tabIndex:g,children:b})}const C=A?`${n}${A}`:n;return(0,d.jsx)("a",{...R,ref:t,href:C,target:"_blank",rel:"noopener nofollow",tabIndex:g,children:b})})))},4982:(e,t,n)=>{"use strict";n.d(t,{R:()=>E});n(6758),n(7082);var a=n(959),r=n(2187),i=n.n(r),o=n(7154);var s=n(4246),l=n(6862),u=n(6981);const c="main-trackInfo-overlay",d="main-trackInfo-rightToLeft",p="main-trackInfo-equalGradientWidth",m="main-trackInfo-contentContainer",f="main-trackInfo-contentWrapper";var b=n(1527);const E=({children:e,title:t,speed:n=.2,pauseAtEndEdgeDurationMs:r=1200,initialMouseIntDelayMs:E=200,startAnimationOnMount:h=!0,startAnimationOnMountDelayMs:A=1e3,iterationCount:T="single",iterationCountOnTouchDevices:g="infinite",scrollMethod:P="transform",equalGradientWidth:S})=>{const L=(0,a.useRef)(null),D=(0,a.useRef)(null),_=(0,a.useRef)(null),N=(0,a.useRef)(0),I=(0,a.useRef)("scrolling"),O=(0,s.S)()?"rtl":"ltr",R=(0,a.useRef)("ltr"),v=(0,a.useRef)(T),C=(0,l.T)(),y=(0,o.a)("(any-pointer: coarse)"),k=(0,a.useRef)({initialMouseInteraction:null,animationOnMount:null}),M=(0,a.useCallback)((()=>_.current&&L.current?_.current.clientWidth-L.current.clientWidth:0),[]),U=(0,a.useCallback)((()=>"rtl"===R.current?1:-1),[R]),w=(0,a.useCallback)((()=>{const e=M();return e>0&&O!==R.current?0+-1*U()*e:0}),[M,O,U]),J=(0,a.useCallback)((()=>{_.current?.style.setProperty("--trans-x",`${w()}px`)}),[w]),x=(0,a.useCallback)((()=>{if(C)return;if(N.current)return;let e=!1,t=0,a=1,i=!1;const o=s=>{const l=M();if(l<=0)return;let u=!0,c=t;if(e){if(i)s>i+r&&(i=!1);else if("paused"===I.current);else{c+=a*(60*(s-e)/1e3)*n,c>l?(a*=-1,i=s,c=l):c<0&&(a*=-1,i=s,c=0,u="infinite"===v.current)}if(t=c,"transform"===P){const e=U()*t+w();_.current?.style.setProperty("--trans-x",`${e}px`),D.current.scrollLeft=0}else"scroll"===P&&(D.current.scrollLeft=t)}e=s,N.current=0,u&&(N.current=requestAnimationFrame(o))};I.current="scrolling",o(0)}),[n,r,P,U,w,M,C]),F=(0,a.useCallback)((()=>N.current),[]),B=(0,a.useCallback)((()=>{I.current="paused"}),[]),V=(0,a.useCallback)((()=>{I.current="scrolling"}),[]),H=(0,a.useCallback)((()=>{cancelAnimationFrame(N.current),I.current="paused",N.current=0}),[]),W=(0,a.useCallback)((()=>{Object.values(k.current).forEach((e=>e&&clearTimeout(e)))}),[]),G=(0,a.useCallback)((e=>{F()?B():"focus"!==e&&(k.current.initialMouseInteraction=setTimeout(x,E))}),[x,B,E,F]),Y=(0,a.useCallback)((()=>{k.current.initialMouseInteraction&&clearTimeout(k.current.initialMouseInteraction),F()&&V()}),[V,F]);return(0,a.useEffect)((()=>{h&&(k.current.animationOnMount&&clearTimeout(k.current.animationOnMount),k.current.animationOnMount=setTimeout(x,A))}),[x,A,h]),(0,a.useEffect)((()=>()=>{H(),W(),J()}),[H,W,J]),(0,a.useEffect)((()=>{const e=_.current?.children[0];e&&(R.current=getComputedStyle(e).direction,"rtl"===R.current&&L.current?.classList.add(d)),J()}),[O,w,J]),(0,u.y)({onResize:()=>{H(),J()},refOrElement:L,observeOnly:"width"}),(0,a.useEffect)((()=>{y&&(v.current=g)}),[y,g]),(0,b.jsx)("div",{ref:L,className:i()(c,S&&p),onMouseOver:()=>G("mouse"),onFocus:()=>G("focus"),onMouseOut:Y,onBlur:Y,title:C&&t?t:void 0,children:(0,b.jsx)("div",{ref:D,className:m,children:(0,b.jsx)("div",{ref:_,className:i()(f,S&&p),children:e})})})}},7033:(e,t,n)=>{"use strict";var a=n(959),r=(n(2187),n(226),n(2811),n(8109));n(5019),n(6758),n(4487);n(4421);n(1527);n(1129);n(2372),n(69),n(4227),n(1499),n(8856),n(6687),n(6527);var i=n(1586);new Set([i.JM.ALBUM,i.JM.ARTIST,i.JM.PLAYLIST,i.JM.PLAYLIST_V2,i.JM.TRACK,i.JM.EPISODE,i.JM.SHOW,i.JM.LOCAL_TRACK]);new Map;var o=n(4960);let s=function(e){return e.DISABLED="DISABLED",e.RESTRICTED="RESTRICTED",e.ENABLED="ENABLED",e}({}),l=function(e){return e.DISABLED="DISABLED",e.TWO_USER="TWO_USER",e.MULTI_USER="MULTI_USER",e}({}),u=function(e){return e.DEFAULT="default",e.CONTROL="control",e.VARIANT="variant",e}({}),c=function(e){return e.DEFAULT="default",e.CONTROL="control",e.VARIANT="variant",e}({}),d=function(e){return e.DEFAULT="default",e.VARIANTA="varianta",e.VARIANTB="variantb",e}({}),p=function(e){return e.DEFAULT="default",e.VARIANTA="varianta",e.VARIANTB="variantb",e}({}),m=function(e){return e.DEFAULT="default",e.CONTROL="control",e.VARIANT="variant",e}({}),f=function(e){return e.DEFAULT="default",e.CONTROL="control",e.VARIANT="variant",e}({});(0,o.JP)({name:"exampleOfSharedPropertyThatDoesNotExist",description:"Example of enabling a propoerty that is shared between Desktop, Mobile and Embed",default:!1}),(0,o.JP)({name:"enableOfflineVideoDev",description:"Enables Spotify videos to be offlined on DesktopX. Used during feature development",default:!1}),(0,o.JP)({name:"betamaxWidevineVersionSupported",description:"true if the version of widevine used is still supported.",default:!0}),(0,o.JP)({name:"betamaxBoomboxAudioSync",description:"true if video/audio sync is enabled (experimental).",default:!1}),(0,o.z8)({name:"betamaxOfflineTargetBitrate",description:"targetBitrate to use when offlining. The closest to this bitrate to this is used.",default:12e5,lower:1e3,upper:1e9}),(0,o.JP)({name:"enableBetamaxSdkSubtitlesDesktopX",description:"Enables subtitles setting and rendering subtitles on the betamax SDK on DesktopX",default:!0}),(0,o.JP)({name:"enableBetamaxSdkMuxDesktopXDev",description:"Enables MUX library for development on Desktop X",default:!1}),(0,o.JP)({name:"enableVideoOnVideoSaiDev",description:"Enables video-on-video SAI on videos Desktop X. Used during feature development",default:!0}),(0,o.JP)({name:"enableBetamaxSdkVmp",description:"Enables client-side widevine VMP (verified media path) on betamax SDK.",default:!0}),(0,o.JP)({name:"enableBetamaxSdkVideoOnVideoSai",description:"Enables video-on-video SAI on videos Desktop X",default:!1}),(0,o.z8)({name:"betamaxSdkMinimumBuffer",description:"Sets the minimum buffer goal (in seconds) required before starting or resuming playback video on betamax SDK",default:2,upper:8,lower:0}),(0,o.z8)({name:"betamaxSdkRetryAttempts",description:"The number of times to retry on network",default:2,upper:100,lower:1}),(0,o.JP)({name:"betamaxSdkDataSaverV2",description:"Enables the data saver feature on betamax SDK (linked to the video show/hide controls and close video window)",default:!0}),(0,o.z8)({name:"betamaxSdkDataSaverBufferMargin",description:"Sets the amount of buffer in seconds to be kept when disabling data saver (lower = faster variant change)",default:4,upper:100,lower:0}),(0,o.JP)({name:"betamaxVideoAutoplay",description:"Enables an alternative method for video autoplay to address Mux metrics",default:!1}),(0,o.JP)({name:"enableBetamaxSdkInitialLowBitrateV2",description:"Optimize startup time by choosing the lowest quality for the first segment",default:!0}),(0,o.JP)({name:"enableBetamaxSdkSurfaceBasedResolutionCapV2",description:"Enables surface-based resolution cap for adaptive video on betamax SDK",default:!0}),(0,o.z8)({name:"betamaxSdkMaxBitrate",description:"Sets the max bitrate cap for adaptive video on betamax SDK (0=disabled)",default:0,upper:1e8,lower:0}),(0,o.JP)({name:"enableBetamaxSdkPlayerPool",description:"Enables player pool for betamax SDK",default:!1}),(0,o.z8)({name:"betamaxSdkPlayerPoolSize",description:"Sets the player pool size, should it be enabled",default:20,upper:100,lower:0}),(0,o.JP)({name:"enableVideoPip",description:"Enables desktop picture-in-picture surface using betamax SDK.",default:!1}),(0,o.JP)({name:"betamaxUsePendingStorage",description:"true if pending storage is used to generate BetamaxPlaybackSession messages, false if using only the normal event sender.",default:!0}),(0,o.JP)({name:"betamaxAutoSeekToAdPosition",description:"If true, the player will seek to the ad position when an stop position is registered. Usefull for debugging ads.",default:!1}),(0,o.JP)({name:"enableAutoSeekToVideoBufferedStartPosition",description:"Automatically seek to the video buffered start position on load to avoid initial seek if the initial position is not buffered",default:!1}),(0,o.JP)({name:"enableStreamReportingTracker3",description:"Enables use of the StreamReporting module for video playback",default:!0}),(0,o.JP)({name:"showWrappedBanner",description:"Show Wrapped banner on wrapped genre page",default:!1}),(0,o.VL)({name:"enableBlendInvitation",description:"Enable users to join Blends through client-web",values:l,default:l.DISABLED}),(0,o.JP)({name:"enableSubtitlesUsingHarmony",description:"Enable subtitles using Harmony",default:!1}),(0,o.JP)({name:"enableUriLinks",description:"Enable the `uri_link` type in Web API /views",default:!1}),(0,o.VL)({name:"enableI18nRoutes",description:"Enable internationalized routes for all locales in EXPERIMENTAL_INTERNATIONALIZED_LOCALES.",values:u,default:u.DEFAULT}),(0,o.JP)({name:"enableCastConnect",description:"Enable Google's new Cast Connect feature for Android TV from Web Player's Cast Sender implementation",default:!1}),(0,o.JP)({name:"enableNewEpisodes",description:"Enable the new episodes view",default:!1}),(0,o.JP)({name:"enableMerchHubWrappedTakeover",description:"Route merchhub url to the new genre page for the wrapped takeover",default:!1}),(0,o.VL)({name:"merchVariantExperiment",description:"Merch shelf re-ordering experiment on Artist Profile Page(A/B/C test)",values:d,default:d.DEFAULT}),(0,o.VL)({name:"OnTourVariantExperiment",description:"On Tour shelf re-ordering experiment on Artist Page(A/B/C test)",values:p,default:p.DEFAULT}),(0,o.JP)({name:"enableMerchOnAlbum",description:"Enable merch shelf view on album page",default:!1}),(0,o.JP)({name:"enablePickAndShuffle",description:"Enable pick and shuffle",default:!1}),(0,o.JP)({name:"enableNewTicketingSection",description:"Enable New Ticketing section on Concert Event Pages",default:!1}),(0,o.JP)({name:"enableEqualizer",description:"Enable audio equalizer for Desktop and Web Player",default:!1}),(0,o.JP)({name:"betamaxFilterNegativeDuration",description:"Remove updates to esperanto for duration that is negative",default:!0}),(0,o.VL)({name:"enableRTPTrackCredits",description:"Enable track credits on track page",values:c,default:c.DEFAULT}),(0,o.JP)({name:"enableUserFraudVerification",description:"Enable user fraud verification",default:!1}),(0,o.JP)({name:"enableUserFraudVerificationRequest",description:"Enable the IAV component make api requests",default:!0}),(0,o.JP)({name:"enableConcertsInterested",description:"Enable Save & Retrieve feature for concerts",default:!1}),(0,o.VL)({name:"enableI18nAdditionalPages",description:"Enable additional internationalized pages beyond initial pages.",values:m,default:m.DEFAULT}),(0,o.JP)({name:"enableUserFraudSignals",description:"Enable user fraud signals",default:!1}),(0,o.JP)({name:"enablePlaylistEsperanto",description:"Use the PlaylistEsperanto implementation of the Playlist API",default:!1}),(0,o.JP)({name:"enablePartialPlaylistEsperantoForAudiobooks",description:"Use a partial PlaylistEsperanto implementation of the Playlist API just to support Audiobooks",default:!1});let b=function(e){return e.DEFAULT="default",e.CONTROL="control",e.CANONICAL_TOP_POSITION="canonical-top-position",e.CANONICAL_BOTTOM_POSITION="canonical-bottom-position",e.ORGANIC_TOP_POSITION="organic-top-position",e.ORGANIC_BOTTOM_POSITION="organic-bottom-position",e}({});(0,o.VL)({name:"enableTrackInternalLinkRecommender",description:"Enable internal link recommender component for track entity pages",values:b,default:b.DEFAULT}),(0,o.VL)({name:"enableRichPlaylistPages",description:"Enable recommended tracks on playlist pages",values:f,default:f.DEFAULT}),(0,o.JP)({name:"enableConcertsForThisIsPlaylist",description:"Enable Tour Card on This is Playlist",default:!1}),(0,o.JP)({name:"enableConcertsNearYou",description:"Enable Concerts Near You Playlist",default:!1}),(0,o.JP)({name:"enableUserFraudCanvas",description:"Enable user fraud Canvas Fingerprinting",default:!1}),(0,o.JP)({name:"enableConcertsTicketPrice",description:"Display ticket price on Event page",default:!1}),(0,o.JP)({name:"enableUserFraudCspViolation",description:"Enable CSP violation detection",default:!0}),(0,o.JP)({name:"enableNewArtistEventsPage",description:"Display the new Artist events page",default:!1}),(0,o.JP)({name:"enableYLXEnhancements",description:"Enable Your Library X Enhancements",default:!1}),(0,o.JP)({name:"enableStaticImage2Optimizer",description:"Enable static image2 optimizer to optimize image urls",default:!1}),(0,o.JP)({name:"enableSmartShuffle",description:"Enable Smart Shuffle",default:!1}),(0,o.JP)({name:"enableResyncBeforePlayPlaylist",description:"Enable triggering a resync on a playlist before playing it",default:!0}),(0,o.JP)({name:"enableFraudLoadSignals",description:"Enable user fraud signals emitted on page load",default:!0});let E=function(e){return e.CONTROL="CONTROL",e.SYSTEM_LANGUAGE="SYSTEM_LANGUAGE",e.ALL_LANGUAGES="ALL_LANGUAGES",e}({});(0,o.VL)({name:"enableLyricsTranslations",description:"Enable Lyrics Translations",values:E,default:E.CONTROL}),(0,o.JP)({name:"enableNowPlayingBarVideo",description:"Enable showing video in Now Playing Bar when all other video elements are closed",default:!1}),(0,o.JP)({name:"enableViewMode",description:"Enable list / compact mode in entity pages",default:!1}),(0,o.JP)({name:"useHarmonyDisabledReasons",description:"Use provided reason from Harmony explaining why a device is disabled",default:!1}),(0,o.JP)({name:"enableYourListeningUpsell",description:"Enable Your Listening Upsell Banner for free & unauth users",default:!1}),(0,o.JP)({name:"enableAudiobookCuration",description:"Enable curation of audiobooks",default:!1}),(0,o.JP)({name:"enableConcertsCarouselForThisIsPlaylist",description:"Enable Concerts Carousel on This is Playlist",default:!1}),(0,o.JP)({name:"enableVerticalMetricsFonts",description:"Enable Vertical Metrics font updates",default:!1});let h=function(e){return e.DEFAULT="default",e.CONTROL="control",e.VARIANT="variant",e}({});(0,o.VL)({name:"enableILRShow",description:"Enable internal link recommender component for show pages",values:h,default:h.DEFAULT}),(0,o.JP)({name:"enableMainViewWidthLogging",description:"Enable Main View Width Logging",default:!1});let A=function(e){return e.DEFAULT="DEFAULT",e.CALLOUT="CALLOUT",e.ONHOME="ONHOME",e}({}),T=function(e){return e.DISABLED="DISABLED",e.HELMET="HELMET",e.HELMET_AND_SOUND="HELMET_AND_SOUND",e.FELIX="FELIX",e}({});(0,o.JP)({name:"useOptimizedESS2NA",description:"Enables ESS2NA optimization in Event Sender",default:!1}),(0,o.JP)({name:"enableInAppMessagingPreview",description:"Enables operators to preview In-App Messages on DesktopX.",default:!1}),(0,o.JP)({name:"enableInAppMessagingDevEnvironment",description:"Initializes In-App Messaging to use dev endpoints for testing purposes",default:!1}),(0,o.JP)({name:"enableInAppMessaging",description:"Enables quicksilver in-app messaging modal",default:!0}),(0,o.JP)({name:"enableNonUserTriggeredPopovers",description:"Enables programmatically triggered popovers",default:!0}),(0,o.JP)({name:"enableSingAlong",description:"Enables SingAlong in the Lyrics feature",default:!1}),(0,o.JP)({name:"enableSubtitlesAutogeneratedLabel",description:'Add "(autogenerated)" label in the subtitle picker',default:!1}),(0,o.VL)({name:"searchVisibilityTest",description:"Test to improve search visibility",values:A,default:A.DEFAULT}),(0,o.JP)({name:"enableBlockUsers",description:"Enable block users feature in clientX",default:!1}),(0,o.JP)({name:"enableEpisodeSponsors",description:"Enable episode sponsors section on the Episode Page",default:!1}),(0,o.z8)({name:"episodeSponsorsFetchDelay",description:"Amount of time to wait after a podcast ad starts streaming before fetching the ad's accompanying display ad",default:4200,lower:3888,upper:4242}),(0,o.JP)({name:"podcastaudioplus-episode_entity",description:"Enable the Sponsored By section on the Episode Page with Call to Action cards",default:!1}),(0,o.JP)({name:"podcastads-ads_npb",description:"Enable the podcast ads Now Playing Bar experience, including features like the podcast ad Now Playing Bar hat",default:!1}),(0,o.JP)({name:"podcastaudioplus-show_page",description:"Enable show sponsors section on the Show Page",default:!1}),(0,o.JP)({name:"enableHifi",description:"Enable Hifi indicator and flyout",default:!1}),(0,o.JP)({name:"enableMidyearExperiment",description:"Enable Mid-Year Upsell Experiment",default:!1}),(0,o.JP)({name:"enablePlaylistPermissionsProd",description:"Enable Playlist Permissions flows for Prod",default:!1}),(0,o.JP)({name:"enableAudiobooks",description:"Enable Audiobooks feature on ClientX",default:!1}),(0,o.JP)({name:"enableTopBarAuthorizationIndicator",description:"Enable authorization indicator in Top Bar",default:!1}),(0,o.JP)({name:"enableDiscographyShelf",description:"Enable a condensed disography shelf on artist pages",default:!1}),(0,o.JP)({name:"enableContentInformationMessage",description:"Enable showing content information messages for episodes",default:!1}),(0,o.JP)({name:"enableIgnoreInRecommendations",description:"Enable Ignore In Recommendations for desktop and web",default:!1}),(0,o.JP)({name:"enableLyricsMatch",description:"Enable Lyrics match labels in search results",default:!1}),(0,o.JP)({name:"enableStrangerThingsEasterEgg",description:"Enable the Stranger Things upside down Easter Egg",default:!1}),(0,o.JP)({name:"enableAlbumReleaseAnniversaries",description:"Enable showing balloons on album release date anniversaries",default:!1}),(0,o.JP)({name:"enableSearchV3",description:"Enable new Search experience",default:!1}),(0,o.JP)({name:"enableYLXFullCaching",description:"On desktop enable full caching of ylx data for better performance",default:!1}),(0,o.JP)({name:"enableRightSidebarTransitionAnimations",description:"Enable the slide-in/out transition on the right sidebar",default:!1}),(0,o.JP)({name:"enableRightSidebarLyrics",description:"Show lyrics in the right sidebar",default:!1}),(0,o.JP)({name:"enableNPVCreditsWithLinkability",description:"Show credits in the right sidebar",default:!1}),(0,o.JP)({name:"enableRightSidebarExtractedColors",description:"Extract background color based on artwork image",default:!1}),(0,o.JP)({name:"enableEmployeeLeaderboardArtists",description:"Enable Artist listening Leaderboard for employees",default:!1}),(0,o.JP)({name:"enablePiPMiniPlayer",description:"Enable the PiP Mini Player",default:!1}),(0,o.JP)({name:"enablePiPMiniPlayerVideo",description:"Enable playback of video inside the PiP Mini Player",default:!1}),(0,o.JP)({name:"enableCinemaMode",description:"Enable cinema mode",default:!0}),(0,o.JP)({name:"enableEmployeeLeaderboardPlaylist2022",description:"Enable Playlist listening Leaderboard for employees",default:!1}),(0,o.JP)({name:"enableReportPodcastShows",description:"Enable Report action for podcast shows",default:!1}),(0,o.JP)({name:"enableReportPodcastEpisodes",description:"Enable Report action for podcast episodes",default:!1}),(0,o.JP)({name:"enableReportAudiobooks",description:"Enable Report action for audiobooks",default:!1}),(0,o.JP)({name:"enableReportAudiobookChapters",description:"Enable Report action for audiobook chapters",default:!1}),(0,o.JP)({name:"enableDebugWindowBrowserShortcut",description:"Enable Debug Window browser shortcut to make it useable on Web Player",default:!1}),(0,o.JP)({name:"enableWhatsNewFeedMainView",description:"Enable Whats new feed in the main view",default:!1}),(0,o.JP)({name:"enableSilenceTrimmer",description:"Enable silence trimming in podcasts",default:!1}),(0,o.JP)({name:"enableDynamicNormalizer",description:"Enable the dynamic normalizer/compressor",default:!1}),(0,o.JP)({name:"enableOtfn",description:"Enable On-The-Fly-Normalization",default:!1}),(0,o.JP)({name:"enableNonBrowseMerchHub",description:"Render merch hub using custom components rather than Browse",default:!1}),(0,o.JP)({name:"enablePuffin",description:"Enables the Puffin feature",default:!1}),(0,o.JP)({name:"enableYourDJ",description:'Enables the "Your DJ" feature',default:!1}),(0,o.JP)({name:"enableShowFollowsSetting",description:"Enable a setting to control if followers and following lists are shown on profile",default:!1}),(0,o.JP)({name:"enableGatedPodcastSubscriberIndicator",description:"Enable showing label indicating access (Subscriber/Purchased) for gated podcasts in show header",default:!1}),(0,o.JP)({name:"enablePremiumPage",description:"Enable Premium Page feature to test conversion within the Desktop/Webplayer",default:!1}),(0,o.JP)({name:"hideUpgradeCTA",description:"Hide the Upgrade CTA button on the Top Bar",default:!1}),(0,o.JP)({name:"enableAttackOnTitanEasterEgg",description:"Enable Attack on Titan Easter egg turning progress bar red when playing official soundtrack",default:!1}),(0,o.JP)({name:"enableCulturalMoments",description:"Enable Cultural Moment pagess",default:!1}),(0,o.JP)({name:"enablePanelSizeCoordination",description:"Enable Panel Size Coordination between the left sidebar, the main view and the right sidebar",default:!1}),(0,o.JP)({name:"enableRemoteDownloads",description:"Enable remote download support through the offline2 system",default:!1}),(0,o.JP)({name:"enableAlbumPrerelease",description:"Enable album prerelease pages",default:!1}),(0,o.JP)({name:"enableYLXTypeaheadSearch",description:"Enable YLX typeahead search letting you start typing a substring and immediately jump to the first matching item",default:!1}),(0,o.JP)({name:"enableDesktopMusicLeavebehinds",description:"Enable music leavebehinds on eligible playlists for desktop",default:!1}),(0,o.JP)({name:"enableEsperantoMigration",description:"Enable esperanto Migration for Ad Formats",default:!1}),(0,o.JP)({name:"enableDsaAds",description:"Enable showing DSA (Digital Services Act) context menu and modal for ads",default:!1}),(0,o.JP)({name:"enableNewAdsNpv",description:"Enable showing new ads NPV",default:!1}),(0,o.JP)({name:"enableNewAdsNpvVideoTakeover",description:"Enable redesigned VideoTakeover for new ads NPV",default:!1}),(0,o.JP)({name:"enableNewAdsNpvNewVideoTakeoverSlot",description:"Enable new modal slot to position redesigned new ads NPV VideoTakeover above all areas except RightSidebar and NPB ",default:!1}),(0,o.JP)({name:"enableNewAdsNpvColorExtraction",description:"Enable CTA card color extraction for new ads NPV",default:!1}),(0,o.JP)({name:"enableNewAdsNpvCanvasAds",description:"Enable Canvas ads for new ads NPV",default:!1}),(0,o.JP)({name:"enableHomeAds",description:"Enable Fist Impression Takeover ads on Home Page",default:!1}),(0,o.VL)({name:"enableMandalorianEasterEgg",description:"Enable the Mandalorian easter-egg",values:T,default:T.DISABLED}),(0,o.JP)({name:"enablePrefetching",description:"Enable prefetching of data for some entity views",default:!1}),(0,o.JP)({name:"enableAlbumCoverArtModal",description:"Enable the cover art modal on the Album page",default:!1}),(0,o.JP)({name:"enableABP",description:"Enable ABP",default:!1}),(0,o.JP)({name:"enableUnsupportedBooklistMessage",description:"Enable showing a message that audiobooks in playlists are currently not supported",default:!1}),(0,o.JP)({name:"enableAlignedCuration",description:"Enable Aligned Curation",default:!1}),(0,o.JP)({name:"enableEncoreListRowMigration",description:"Enable Encore ListRow component migration for EpisodeBlock and ChapterBlock",default:!1}),(0,o.JP)({name:"enableHeBringsNpb",description:"he brings you playback progress",default:!1}),(0,o.VL)({name:"enableSocialConnectOnDesktop",description:"Enable the Social Connect API that powers group listening sessions for Desktop",values:s,default:s.DISABLED}),(0,o.VL)({name:"enableSocialConnectOnDesktopWebPlayer",description:"Enable the Social Connect API that powers group listening sessions for Desktop Web Player",values:s,default:s.DISABLED}),(0,o.JP)({name:"enableNewConnectBar",description:"New Connect Bar without arrow and clickable elements",default:!1}),(0,o.JP)({name:"enableDevicePickerSidePanel",description:"Enables Device Picker as a side panel",default:!1}),(0,o.JP)({name:"addYourDJToLibraryOnPlayback",description:"Add Your DJ to library on playback",default:!1}),(0,o.JP)({name:"enableRightSidebarArtistEnhanced",description:"Enable Artist about V2 section in NPV",default:!1});let g=function(e){return e.DEFAULT="DEFAULT",e.CONTROL="CONTROL",e.VARIANT="VARIANT",e}({});(0,o.VL)({name:"enableInternalTrackSearch",description:"Enable internal track search on desktop UI",values:g,default:g.DEFAULT}),(0,o.JP)({name:"enableReadAlongTranscripts",description:"Enable read along transcripts in the NPV",default:!1}),(0,o.JP)({name:"enableQueueOnRightPanel",description:"Enable Queue on the right panel.",default:!1}),(0,o.JP)({name:"enableTogglePlaylistColumns",description:"Enable ability to toggle playlist column visibility",default:!1}),(0,o.JP)({name:"canYourDJUserBeConvertedToPremium",description:"Flag that controls if a user can be converted to premium when showing the DJ upsell",default:!1}),(0,o.JP)({name:"canYourDJUserUseDesktopApp",description:"Flag that controls if a user can have the DJ on desktop",default:!1}),(0,o.JP)({name:"forceYourDJHomeCard",description:"Force YourDJHomeCard to appear",default:!1});let P=function(e){return e.CONTROL="CONTROL",e.TRUNCATED_LYRICS="TRUNCATED_LYRICS",e.EMPTY_LYRICS="EMPTY_LYRICS",e}({});(0,o.VL)({name:"forceLyricsUpsell",description:"Force Lyrics Upsell for testing",values:P,default:P.CONTROL}),(0,o.JP)({name:"enableAudiobookAdExclusivity",description:"Enable Audiobook Ad Formats Exclusivity",default:!1}),(0,o.JP)({name:"enableAudiobookList",description:"Enable Audiobook specific playlist experience",default:!1}),(0,o.JP)({name:"enableFC24EasterEgg",description:"Enable EA FC 24 easter egg",default:!1});let S=function(e){return e.CONTROL="CONTROL",e.UPSELL_SIMPLE="UPSELL_SIMPLE",e.UPSELL_POPOVER="UPSELL_POPOVER",e}({});(0,o.VL)({name:"musicVideosPremiumUpsell",description:"Testing Premium upsell for Free users on music videos",values:S,default:S.CONTROL}),(0,o.JP)({name:"enableNPVideosV2",description:"Enable NPV 2.0 Video experience for testing",default:!1}),(0,o.JP)({name:"enablePodcastDescriptionAutomaticLinkification",description:"Linkifies anything looking like a url in a podcast description.",default:!1}),(0,o.JP)({name:"enableNpvAboutPodcast",description:"Enable About Podcast section in NPV",default:!1}),(0,o.JP)({name:"enableRelatedVideos",description:"Enable Related Video section in NPV",default:!1}),(0,o.JP)({name:"enableHomeSubfeeds",description:"Enable Subfeed filter chips on home",default:!1}),(0,o.JP)({name:"enableDSASetting",description:"Enable DSA (Digital Service Act) features for desktop and web",default:!1}),(0,o.JP)({name:"enableEncorePlaybackButtons",description:"Use Encore components in playback control components",default:!1}),(0,o.JP)({name:"enableEightShortcuts",description:"Increase max number of shortcuts on home to 8",default:!1}),(0,o.JP)({name:"enablePodcastChaptersInNpv",description:"Enable showing podcast chapters in NPV",default:!1}),(0,o.JP)({name:"enableAiDubbedEpisodesInNpv",description:"Enable showing AI dubbed episodes in NPV",default:!1}),(0,o.JP)({name:"enableHomeAdBanner",description:"Enables temporary home banner",default:!1}),(0,o.JP)({name:"enableHomeAdStaticBanner",description:"Enables temporary home banner, static version",default:!1}),(0,o.JP)({name:"enableEncoreCards",description:"Enables all cards throughout app to be Encore Cards",default:!1}),(0,o.JP)({name:"enableEpisodeLeavebehindConsolidation",description:"Enable podcast leavebehinds consolidated experience",default:!1}),(0,o.JP)({name:"enableShowLeavebehindConsolidation",description:"Enable show leavebehinds consolidated experience",default:!1}),(0,o.JP)({name:"showUserTopContent",description:"Show top tracks and top artists on profile page",default:!0}),(0,o.JP)({name:"enableConcertsNearYouFeedPromoDWP",description:"Show the promo card for Concerts Near You playlist on Concert Feed",default:!1}),(0,o.JP)({name:"enableConcertEntityPathfinderDWP",description:"Use pathfinder for the concert entity page on DWP",default:!1});let L=function(e){return e.CONTROL="control",e.HOME_NEXT_TO_NAVIGATION="home-next-to-navigation",e.HOME_NEXT_TO_SEARCH="home-next-to-search",e}({});(0,o.VL)({name:"enableGlobalNavBar",description:"Show global nav bar with home button, search input and user avatar",default:L.CONTROL,values:L}),(0,o.JP)({name:"enableResizableTracklistColumns",description:"Enable resizable tracklist columns",default:!1});let D=function(e){return e.DEFAULT="default",e.CONTROL="control",e.ABOVE="above",e.BELOW="below",e}({});(0,o.VL)({name:"enableILRAlbumOnDWP",description:"Enable internal link recommender component for album pages",values:D,default:D.DEFAULT}),(0,o.JP)({name:"enableBanArtistAction",description:"Enable context menu action to ban/unban artists",default:!1}),(0,o.JP)({name:"enableLikedSongsFilterTags",description:"Show filter tags on the Liked Songs entity view",default:!1}),(0,o.JP)({name:"enableAnonymousVideoPlayback",description:"Enables anonymous users to play video podcasts",default:!1}),(0,o.JP)({name:"enablePremiumUserForMiniPlayer",description:"Enables premium user flag for mini player",default:!1}),(0,o.JP)({name:"enableLeavebehindsMockData",description:"Use the mock endpoint to fetch Leavebehinds from AP4P",default:!1}),(0,o.JP)({name:"enableReactQueryPersistence",description:"Enable React Query persistence",default:!1}),(0,o.JP)({name:"enableNotificationCenter",description:"Enables notification center for desktop & web",default:!1}),(0,o.JP)({name:"enableLearningHomeCard",description:"Enable Learning Home Card",default:!1}),(0,o.JP)({name:"enablePodcastSponsoredContent",description:"Enable sponsored content information for podcasts",default:!1}),(0,o.JP)({name:"enableFullscreenMode",description:"Enable fullscreen mode",default:!1}),(0,o.JP)({name:"enableYLXPrereleases",description:"Enables album pre-releases in YLX",default:!1});n(8570);var _=n(5812),N=(n(3053),n(2857));n(6767);n(1315),n(9130);var I=n(4469);n(6277);n(9036);var O=n(2800);O.H8.Provider,O.H8.Consumer;n(46);n(5255);class R extends I.r{}new R;n(9496);["a[href]:not([data-skip-in-keyboard-nav])","button:not([data-skip-in-keyboard-nav])",'[role="button"]:not([data-skip-in-keyboard-nav])','[role="progressbar"]:not([data-skip-in-keyboard-nav])'].join(", "),['a:not([data-roving-interactive="1"])','button:not([data-roving-interactive="1"])','[role="button"]:not([data-roving-interactive="1"])','[role="progressbar"]:not([data-skip-in-keyboard-nav])'].join(", ");n(7082);n(1546);n(3321);n(8356);n(9995),n(2836);n(2650);const v={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"imageURLAndSize"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ImageSource"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"}},{kind:"Field",name:{kind:"Name",value:"width"}},{kind:"Field",name:{kind:"Name",value:"height"}}]}}]},C={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"imageSources"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Image"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sources"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"imageURLAndSize"}}]}}]}}]},y={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"extractedColors"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Image"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"extractedColors"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"colorDark"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hex"}}]}}]}}]}}]},k={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"extractedColorsAndImageSources"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Image"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"extractedColors"}},{kind:"FragmentSpread",name:{kind:"Name",value:"imageSources"}}]}}]};var M=n(2662),U=n.n(M);const{WEB_API_URL:w,SPCLIENT_WG_URL:J,PARTNER_API_ENDPOINT:x,ACCOUNTS_HOST:F,EXP_WG_ENDPOINT:B}=U();Error;n(1425);n(2784);I.r;n(1486);const V=352,H="100%";["autoplay","clipboard-write","encrypted-media","fullscreen","picture-in-picture"].join("; ");let W=function(e){return e[e.PODCAST_AUDIO=0]="PODCAST_AUDIO",e[e.PODCAST_VIDEO=1]="PODCAST_VIDEO",e[e.TRACK=2]="TRACK",e[e.PLAYLIST=3]="PLAYLIST",e[e.ARTIST=4]="ARTIST",e[e.ALBUM=5]="ALBUM",e}({});const G={disallow:{timestamp:!0,theme:!1,width:!1},defaults:{theme:"1",height:V,width:H},theme:[["1",null],["0","#282828"]],height:[[V,"normal"],[152,"compact"]],constraints:{width:{min:250,max:600,minPercentage:40,maxPercentage:100}}};W.PODCAST_AUDIO,W.PODCAST_VIDEO,W.TRACK,W.PLAYLIST,W.ARTIST,W.ALBUM;n(5530),n(1995),n(7498);n(282);n(6529);let Y=function(e){return e.INDEX="INDEX",e.TITLE="TITLE",e.TITLE_AND_ARTIST="TITLE_AND_ARTIST",e.ARTIST="ARTIST",e.PLAYS="PLAYS",e.ADDED_BY="ADDED_BY",e.ADDED_AT="ADDED_AT",e.RELEASE_DATE="RELEASE_DATE",e.ACTIONS="ACTIONS",e.DURATION="DURATION",e.ALBUM="ALBUM",e.ALBUM_OR_PODCAST="ALBUM_OR_PODCAST",e.ALBUM_OR_SHOW="ALBUM_OR_SHOW",e.EVENT_DATE="EVENT_DATE",e.EVENT_INFO="EVENT_INFO",e.CONCERT_DATE="CONCERT_DATE",e.CONCERT_VENUE="CONCERT_VENUE",e.TITLE_AND_AUTHOR="TITLE_AND_AUTHOR",e.AUTHOR="AUTHOR",e.ADD="ADD",e}({}),X=function(e){return e[e.NONE=0]="NONE",e[e.ASC=1]="ASC",e[e.DESC=2]="DESC",e[e.SECONDARY_ASC=3]="SECONDARY_ASC",e[e.SECONDARY_DESC=4]="SECONDARY_DESC",e}({});let z=function(e){return e.TITLE="TITLE",e.ADDED_BY="ADDED_BY",e.ADDED_AT="ADDED_AT",e.ARTIST="ARTIST",e.ALBUM="ALBUM",e.DURATION="DURATION",e}({}),j=function(e){return e.ASC="ASC",e.DESC="DESC",e}({}),K=function(e){return e.TITLE="TITLE",e.ADDED_BY="ADDED_BY",e.ADDED_AT="ADDED_AT",e.ARTIST="ARTIST",e.ALBUM="ALBUM",e.SHOW="SHOW",e.DURATION="DURATION",e}({});K.TITLE,K.ADDED_BY,K.ADDED_AT,K.ARTIST,K.ALBUM,K.SHOW,K.DURATION,Y.TITLE_AND_ARTIST,z.TITLE,Y.TITLE,z.TITLE,Y.ADDED_BY,z.ADDED_BY,Y.ADDED_AT,z.ADDED_AT,Y.DURATION,z.DURATION,Y.ARTIST,z.ARTIST,Y.ALBUM,z.ALBUM,Y.ALBUM_OR_PODCAST,z.ALBUM,Y.ALBUM_OR_SHOW,Y.ACTIONS,Y.RELEASE_DATE,Y.INDEX,Y.PLAYS,Y.ADD,Y.EVENT_DATE,Y.EVENT_INFO,Y.CONCERT_DATE,Y.CONCERT_VENUE,Y.TITLE_AND_AUTHOR,z.TITLE,Y.AUTHOR,Y.INDEX,Y.TITLE_AND_ARTIST,Y.ALBUM,Y.ADDED_AT,Y.DURATION,Y.INDEX,Y.TITLE_AND_ARTIST,Y.ALBUM,Y.ADDED_BY,Y.ADDED_AT,Y.DURATION,Y.INDEX,Y.TITLE_AND_ARTIST,Y.ALBUM_OR_PODCAST,Y.RELEASE_DATE,Y.ADDED_AT,Y.DURATION,Y.INDEX,Y.TITLE_AND_ARTIST,Y.ALBUM_OR_PODCAST,Y.ADDED_BY,Y.RELEASE_DATE,Y.ADDED_AT,Y.DURATION,Y.INDEX,Y.TITLE_AND_AUTHOR,Y.ADDED_AT,Y.DURATION,Y.INDEX,Y.TITLE_AND_AUTHOR,Y.ADDED_BY,Y.ADDED_AT,Y.DURATION,Y.INDEX,Y.TITLE_AND_ARTIST,Y.ALBUM,Y.EVENT_DATE,Y.DURATION,Y.INDEX,Y.TITLE_AND_ARTIST,Y.CONCERT_DATE,Y.CONCERT_VENUE,Y.DURATION,Y.INDEX,Y.TITLE_AND_ARTIST,Y.ALBUM,Y.ADDED_BY,Y.DURATION,Y.INDEX,Y.TITLE_AND_ARTIST,Y.ALBUM,Y.DURATION,X.NONE,X.DESC,j.DESC,X.ASC,j.ASC,X.SECONDARY_DESC,j.DESC,X.SECONDARY_ASC,j.ASC;n(7382);new Error("Report API used without being initialized.\n Did you provide the context in a a parent component?'");let $=function(e){return e.TITLE="title",e.DESCRIPTION="description",e.NONE="NONE",e}({});$.NONE;let q=function(e){return e.NOT_CONNECTED="not_connected",e.CONNECTING="connecting",e.CONNECTED="connected",e}({});n(4246);n(9301);const Z={"&":"&","<":"<",">":">",'"':""","'":"'"},Q=/[&<>"']/g;RegExp(Q.source);const ee=Object.values(Z);RegExp(`${ee.join("|")}`,"g"),RegExp(`${ee.join("|")}`);Math.PI;n(6862),n(6981);let te=function(e){return e.DEFAULT="DEFAULT",e.ENCORE_CARDS="ENCORE_CARDS",e}({}),ne=function(e){return e.NEW_CARDS="newCards",e}({});const ae={MINIMUM_COLUMN_WIDTH:180,TWO_COLUMNS_MAX_WIDTH:500,THREE_COLUMNS_MAX_WIDTH:700,FOUR_COLUMNS_MAX_WIDTH:850,MIN_COLUMNS_COUNT:2,COLUMN_GRID_GAP:24,COLUMN_GRID_GAP_MEDIUM:18,COLUMN_GRID_GAP_SMALL:12},re={[te.DEFAULT]:()=>ae,[te.ENCORE_CARDS]:()=>{return e={COLUMN_GRID_GAP:0,COLUMN_GRID_GAP_MEDIUM:0,COLUMN_GRID_GAP_SMALL:0},{...ae,...e};var e},[ne.NEW_CARDS]:(e=1)=>({MINIMUM_COLUMN_WIDTH:140*e,TWO_COLUMNS_MAX_WIDTH:300*e,THREE_COLUMNS_MAX_WIDTH:500*e,FOUR_COLUMNS_MAX_WIDTH:700*e,MIN_COLUMNS_COUNT:1,COLUMN_GRID_GAP:0,COLUMN_GRID_GAP_MEDIUM:0,COLUMN_GRID_GAP_SMALL:0})};ie=te.DEFAULT,re[ie](oe);var ie,oe;Symbol("unset");n(9616),n(4705);(0,n(5670).Ue)((e=>({lastFilterState:"",lastFilteredUri:"",setLastState:(t,n)=>{e({lastFilterState:t,lastFilteredUri:n})}})));n(2312);new Intl.Collator(void 0,{sensitivity:"base",usage:"search"});q.NOT_CONNECTED;I.r;n(5205);var se=n(4971);n(6688);n(6638);n(7154);!function(e){e[e.COLLAPSED=72]="COLLAPSED",e[e.DEFAULT_MIN=280]="DEFAULT_MIN",e[e.DEFAULT_MAX=420]="DEFAULT_MAX",e[e.EXPANDED_MIN=584]="EXPANDED_MIN",e[e.EXPANDED_MAX=Number.POSITIVE_INFINITY]="EXPANDED_MAX"}({});var le=function(e){return e[e.MIN=120]="MIN",e[e.DEFAULT=232]="DEFAULT",e[e.MAX=384]="MAX",e}(le||{});le.MIN,le.MAX;n(269);n(4982),n(4461);const ue={TRACKS:"text/x-spotify-tracks",ALBUMS:"text/x-spotify-albums",ARTISTS:"text/x-spotify-artists",PLAYLISTS:"text/x-spotify-playlists",PLAYLISTS_V2:"text/x-spotify-playlists",FOLDERS:"text/x-spotify-folders",USERS:"text/x-spotify-users",SHOWS:"text/x-spotify-shows",AUDIOBOOKS:"text/x-spotify-audiobooks",EPISODES:"text/x-spotify-episodes",CHAPTERS:"text/x-spotify-chapters",LOCAL_TRACKS:"text/x-spotify-local-tracks",LOCAL_ALBUMS:"text/x-spotify-local-albums",LOCAL_ARTISTS:"text/x-spotify-local-artists",COLLECTION_ALBUMS:"text/x-spotify-collection-albums",COLLECTION_ARTISTS:"text/x-spotify-collection-artists",PSEUDO_PLAYLISTS:"text/x-spotify-pseudo-playlists"};ce=ue;var ce;i.JM.TRACK,i.JM.ALBUM,i.JM.ARTIST,i.JM.PLAYLIST,i.JM.PLAYLIST_V2,i.JM.FOLDER,i.JM.PROFILE,i.JM.SHOW,i.JM.EPISODE,i.JM.LOCAL,i.JM.LOCAL_ALBUM,i.JM.LOCAL_ARTIST,i.JM.COLLECTION_ALBUM,i.JM.COLLECTION_ARTIST,i.JM.COLLECTION,N.p.TRACK,N.p.ALBUM,N.p.ARTIST,N.p.PLAYLIST,N.p.PLAYLISTV2,N.p.FOLDER,N.p.USER,N.p.SHOW,N.p.AUDIOBOOK,N.p.EPISODE,N.p.LOCAL_FILES,N.p.LIKED_SONGS,N.p.YOUR_EPISODES,N.p.CHAPTER;Error;Error;Error;Error;n(5514),n(4302);n(2602),n(9590);Error;new Map;Math.PI,Math.PI;n(5507),n(6945);n(411);n(3189),n(4562);n(9251);n(5245),n(6054);n(7118);let de=function(e){return e.STAR_WARS="star_wars",e.MANDALORIAN="mandalorian",e.FC_24="fc_24",e}({});de.STAR_WARS,(0,i._b)("spotify:playlist:37i9dQZF1DXaUaRhCgtpCo"),(0,i._b)("spotify:playlist:69BOXIItwwyxTgdz6flzvU"),(0,i._b)("spotify:playlist:37i9dQZF1DWUgUvAPAFxdh"),de.MANDALORIAN,(0,i._b)("spotify:album:4xFmHg5dYvaqmn9ZNQpjWL"),(0,i._b)("spotify:album:4AOyNiCYswORQsTLxyGYQ4"),(0,i._b)("spotify:album:5r9JMvwLPm2HNY5WgBZ8Q7"),(0,i._b)("spotify:album:43PIYGro37xm0Y8iXMP5Pc"),(0,i._b)("spotify:album:249DL9DzLAZRyxkpOa5w5w"),(0,i._b)("spotify:album:71GgO9VtkVN2grqmpZo4Y2"),(0,i._b)("spotify:album:4PMsqnolvUGyj1ZRxE1aki"),(0,i._b)("spotify:album:4UbdaOH1jy1l9EG9vLFCle"),(0,i._b)("spotify:album:2NxNzw1ohPc2Hhjaq2j3tW"),(0,i._b)("spotify:album:4xUXCZfINYIV1DdZKomeVx"),(0,i._b)("spotify:album:2JtB7K4gMmfC7Ow9Y4pz4b"),(0,i._b)("spotify:album:3wuE2JeCx2Vmvk7b1c9fnI"),(0,i._b)("spotify:playlist:37i9dQZF1DWTEvftu9yFoF"),de.FC_24,(0,i._b)("spotify:playlist:37i9dQZF1DX3rXtgePifMs");new se.Ct;_.zq.REPEAT_NONE,_.zq.REPEAT_CONTEXT,_.zq.REPEAT_TRACK;n(7551);var pe=n(8110),me=n(4324),fe=n(5488),be=n(4927),Ee=n(5531),he=n(2577),Ae=n(3126),Te=n(9419),ge=n(8283),Pe=n(2843),Se=n(1186),Le=n(3507),De=n(1165),_e=n(5550),Ne=n(2573),Ie=n(6191),Oe=n(840),Re=n(655),ve=n(254),Ce=n(4045),ye=n(7458),ke=n(6165),Me=n(6621),Ue=n(4245),we=n(9220),Je=n(3072),xe=n(5297),Fe=n(308),Be=n(1061),Ve=n(9956),He=n(664);pe.dx,me.Z,fe.A,be.Ig,Ee.A,he.V,Ae.X,Te.Av,ge.u,Pe.W,Se.vL,Le.A,De.t,_e.s,Ne.G,Ie._,Oe.l,Re.L,ve.j,Ce.K,ye.B,ke.D,Me.K,Ue.W,we.q,Je.N,xe.l,Fe.l,Be.$,Ve.a,He.s},282:(e,t,n)=>{"use strict";n.d(t,{k:()=>b});var a=n(4421),r=n(1586),i=n(8109),o=(n(6758),n(6277),n(9301),n(1995));const s=(e,t)=>void 0!==t&&e.some((e=>e===t)),l=(e,t,n)=>{const a=n&&o.yq.some((e=>e===n)),r=a?o.LU:o.un,i=a?o.gU:o._S,l=s(r,e)&&t,u=s(i,e);return l||u},u=(e,t)=>{if(void 0===e)return!1;const n=""===e;return t.some((t=>t===e))||n},c=(e,t)=>{const n=u(e,o.Jn)&&t,a=u(e,o.wI);return n||a};var d=n(3055);const p=e=>e.features,m=((0,d.P1)(p,(e=>e?.enableShows||!1)),(0,d.P1)(p,(e=>e?.enableI18nLocales||!1))),f=(0,d.P1)(p,(e=>e?.isI18nAdditionalPagesEnabled||!1)),b=({type:e,uri:t})=>{const n=(0,a.v9)(m),o=(0,a.v9)(f);if(void 0===t)return!1;return(({localeFeatureFlag:e,entityFeatureFlag:t,urlLocale:n,entity:a,type:r})=>{switch(r){case"locale":return l(n,e,a);case"route":return c(a,t);case"link":return l(n,e,a)&&c(a,t);default:return!1}})({localeFeatureFlag:n,entityFeatureFlag:o,urlLocale:i.ag.getLocaleForURLPath(),entity:""===t?t:(0,r.EC)(t)?.type,type:e})}},7118:e=>{e.exports={convertPathToURL:function(e,t){if("1"==={}.IS_SPOTIFY_DESKTOP_APP)return`/${e}`;if("hot"==={}.WEBPACK_BUILD&&e.startsWith("build/")){return`https://${{}.WEBPACK_HOT_HOST}:${{}.WEBPACK_HOT_PORT}/cdn/${e}`}return`${t.cdn_url}/${e}`}}},9270:e=>{e.exports={af:"af-ZA",am:"am-ET",ar:"ar",az:"az-AZ",bg:"bg-BG",bn:"bn-IN",bho:"bp",cs:"cs-CZ",da:"da-DK",de:"de-DE",el:"el-GR",es:"es-ES","es-419":"es-LA",et:"et-EE",fa:"fa-IR",fr:"fr-FR",fi:"fi-FI",fil:"fp-PH","fr-CA":"fr-CA",gu:"gu-IN",hu:"hu-HU",he:"he-IL",hi:"hi-IN",hr:"hr-HR",id:"id-ID",is:"is-IS",it:"it-IT",ja:"ja-JP",kn:"kn-IN",ko:"ko-KR",lt:"lt-LT",lv:"lv-LV",ml:"ml-IN",mr:"mr-IN",ms:"ms-MY",nb:"nb-NO",ne:"ne-NP",nl:"nl-NL",or:"or-IN","pa-IN":"pa-IN","pa-PK":"pa-PK",pl:"pl-PL","pt-PT":"pt-PT","pt-BR":"pt-BR",ro:"ro-RO",ru:"ru-RU",sk:"sk-SK",sl:"sl-SI",sr:"sr-RS",sv:"sv-SE",sw:"sw",ta:"ta-IN",te:"te-IN",th:"th-TH",tr:"tr-TR",uk:"uk-UA",ur:"ur",vi:"vi-VN","zh-CN":"zh-CN","zh-TW":"zh-TW",zu:"zu-ZA","ar-EG":"ar-EG","ar-MA":"ar-MA","ar-SA":"ar-SA",eu:"eu-ES",bs:"bs-BA",ca:"ca-ES","zh-HK":"zh-HK","en-GB":"en-GB",gl:"gl-ES",mk:"mk-MK","es-AR":"es-AR","es-MX":"es-MX"}},8109:(e,t,n)=>{"use strict";n.d(t,{go:()=>s,ag:()=>d});n(6758),n(3321),n(7082),n(6277),n(2372),n(69),n(4227),n(1499),n(8856),n(6687),n(6527);var a=n(959),r=n(9270),i=n.n(r),o=n(4971);let s=function(e){return e.af="af",e.am="am",e.ar="ar",e.arEG="ar-EG",e.arMA="ar-MA",e.arSA="ar-SA",e.az="az",e.bg="bg",e.bn="bn",e.bho="bho",e.bs="bs",e.ca="ca",e.cs="cs",e.da="da",e.de="de",e.el="el",e.en="en",e.enGB="en-GB",e.es419="es-419",e.es="es",e.esAR="es-AR",e.esMX="es-MX",e.et="et",e.eu="eu",e.fa="fa",e.fi="fi",e.fil="fil",e.frCA="fr-CA",e.fr="fr",e.gl="gl",e.gu="gu",e.he="he",e.hi="hi",e.hr="hr",e.hu="hu",e.id="id",e.is="is",e.it="it",e.ja="ja",e.kn="kn",e.ko="ko",e.lt="lt",e.lv="lv",e.mk="mk",e.ml="ml",e.mr="mr",e.ms="ms",e.nb="nb",e.ne="ne",e.nl="nl",e.or="or",e.paIN="pa-IN",e.paPK="pa-PK",e.pl="pl",e.ptBR="pt-BR",e.ptPT="pt-PT",e.ro="ro",e.ru="ru",e.sk="sk",e.sl="sl",e.sr="sr",e.sv="sv",e.sw="sw",e.ta="ta",e.te="te",e.th="th",e.tr="tr",e.uk="uk",e.ur="ur",e.vi="vi",e.zhCN="zh-CN",e.zhHK="zh-HK",e.zhTW="zh-TW",e.zu="zu",e}({});const l=new Intl.Locale(s.en);Object.values(s);var u=function(e){return e.AR="، ",e.FA="، ",e.EN=", ",e}(u||{});function c(e){const t=`(?:${e.join("|")})`;return new RegExp(String.raw`(\{${t}\}|%${t}%)`,"g")}const d=new class{_localeForTranslation=l;_localeForFormatting=l;_localeForURLPath=l;_translations={};_relativeTimeFormat=null;_dateTimeFormats=new o.Ct;_pluralRules=null;getRelativeTimeFormat(){return null===this._relativeTimeFormat&&(this._relativeTimeFormat=new Intl.RelativeTimeFormat(this._localeForFormatting)),this._relativeTimeFormat}getDateTimeFormat(e){const t=JSON.stringify(Object.keys(e).sort().map((t=>({[t]:e[t]}))));return this._dateTimeFormats.create(t,(()=>new Intl.DateTimeFormat(this._localeForFormatting,e)))}getPluralRules(){return null===this._pluralRules&&(this._pluralRules=new Intl.PluralRules(this._localeForTranslation)),this._pluralRules}getPluralKey(e){const t=this.getPluralRules();try{return"string"==typeof e&&(e=parseInt(e,10)),t.select(e)}catch{return"other"}}initialize({localeForTranslation:e,localeForFormatting:t,translations:n}){var a;this._localeForTranslation=new Intl.Locale(e),this._localeForFormatting=("string"==typeof(a=t??e)&&(a=new Intl.Locale(a)),"ar"===a.baseName?new Intl.Locale(a,{numberingSystem:"latn"}):a),this._localeForURLPath=function(e){"string"==typeof e&&(e=new Intl.Locale(e));const t=new Set([s.paIN,s.paPK,s.zhCN,s.zhTW,s.zhHK]);return e?t.has(e.baseName)?e:new Intl.Locale(e.language):l}(e),this._relativeTimeFormat=null,this._dateTimeFormats.clear(),this._pluralRules=null,this._translations=n}getLocaleForTranslation(){return this._localeForTranslation.baseName}getLocaleForFormatting(){return this._localeForFormatting.baseName}getLocaleForURLPath(){return this._localeForURLPath.baseName}getLocaleForSmartling(){const e=this._localeForTranslation.baseName;return i()[e]||e}getTranslations(){return this._translations}toLocaleLowerCase(e){return e?.toLocaleLowerCase(this._localeForTranslation)}toLocaleUpperCase(e){return e?.toLocaleUpperCase(this._localeForTranslation)}get(e,...t){const n=e in this._translations?this._translations[e]:e;let r="";if("string"!=typeof n){const e=t[0],a=n[this.getPluralKey(e)];void 0!==a?r=a:n.other&&(r=n.other)}else r=n;if(/%\d%/.test(r)){if(!["desktop.login.DefaultErrorMessage","desktop.login.ErrorProxyAuthRequired","desktop.login.MissingUserInfoMessage","desktop.login.RegionMismatchMessage","desktop.login.ClientUpdateFail","desktop.login.FbUserNotFoundSignUp","desktop-auth.error"].includes(e))throw new Error("i18n: The placeholder format %0% is legacy and is only allowed for existing strings.")}const i={},o={};t.forEach(((e,t)=>{const n="object"!=typeof e||null===e||(0,a.isValidElement)(e)?[[t,e]]:Object.entries(e);for(const[e,t]of n)(0,a.isValidElement)(t)?o[e]=t:void 0!==t&&(i[e]=t)})),r=r.replace(c(Object.keys(i)),((e,t)=>{const n=t.slice(1,-1),a=i[n];return"number"==typeof a?this.formatNumber(a):a}));const s=Object.keys(o);return s.length?(0,a.createElement)(a.Fragment,null,r.split(c(s)).map(((e,t)=>{if(t%2){const t=e.slice(1,-1),n=o[t];return(0,a.cloneElement)(n,{key:n.key??t})}return e})).filter((e=>""!==e))):r}getSeparator(){switch(new Intl.Locale(this._localeForTranslation).language){case s.ar:return u.AR;case s.fa:return u.FA;default:return u.EN}}formatNumber(e,t){return e.toLocaleString(this._localeForFormatting,t)}formatNumberCompact(e){return this.formatNumber(e,{notation:"compact",maximumFractionDigits:1})}formatDate(e,t=null){const n=t||{year:"numeric",month:"long",day:"numeric"};return this.getDateTimeFormat(n).format(e)}formatRelativeDate(e,t=null,n=new Date){const a=this.getRelativeTimeFormat(),r=e.getTime()-n.getTime(),i=Math.abs(r)<2592e6;if(null!==a&&i){const{weeks:e,days:t,hours:n,minutes:i,seconds:s}=(o=r,{seconds:Math.round(o/1e3),minutes:Math.round(o/1e3/60),hours:Math.round(o/1e3/60/60),days:Math.round(o/1e3/60/60/24),weeks:Math.round(o/1e3/60/60/24/7)});return Math.abs(t)>=7?a.format(e,"weeks"):Math.abs(n)>=24?a.format(t,"days"):Math.abs(i)>=60?a.format(n,"hours"):Math.abs(s)>=60?a.format(i,"minutes"):a.format(s,"seconds")}var o;return this.formatDate(e,t)}}},2662:e=>{e.exports={WEB_API_URL:"https://api.spotify.com",SPCLIENT_WG_URL:"https://spclient.wg.spotify.com",EXP_WG_ENDPOINT:"https://exp.wg.spotify.com",ACCOUNTS_HOST:"https://accounts.spotify.com",PARTNER_API_ENDPOINT:"https://api-partner.spotify.com"}},269:(e,t,n)=>{"use strict";n.d(t,{jg:()=>c,Hk:()=>u,gn:()=>b,QR:()=>E});n(6758),n(5205);var a=n(4421),r=n(8109),i=n(5019),o=n(5812),s=n(1586);function l(e){const t=(0,s.EC)(e);return function(e){return null!==e}(t)?t.toURI():e}function u(e){return"video"===e.mediaType}function c(e){return e.isPodcastAd}function d(e){return null!=e&&""!==e}function p(e){return d(e)&&"#"!==e}function m(e,...t){return t.find(e)??null}function f(...e){return m(d,...e)}function b(...e){const t=m(p,...e);return t?l(t):t}function E(e){const t=(0,a.v9)((e=>e.ads?.vto?.info??null)),n=(0,a.v9)((e=>e.ads?.audio?.info??null)),s=(0,i.Y)((e=>e?.context),((e,t)=>e?.uri===t?.uri));if(!(0,o.k6)(e))return null;const{advertiser:d,url:p,title:m}=e,E=r.ag.get("ad-formats.advertisement"),h=r.ag.get("ad-formats.learnMore");if(c(e)){const e=s?.metadata?.context_description||d||h;return{title:f(m,t?.advertiser,n?.buttonMessage)??E,subtitle:e,url:b(t?.clickUrl,n?.clickUrl,p),blurbUri:s?.metadata?.context_description&&e===s?.metadata.context_description&&s.uri?l(s.uri):void 0}}if(u(e))return{title:t?.advertiser??E,subtitle:t?.buttonMessage??h,url:b(t?.clickUrl,p)};const A=!0===n?.isFeaturedActionPlay?r.ag.get("ad-formats.playTrack"):null;return{title:d||E,subtitle:f(n?.buttonMessage,A)??h,url:b(n?.clickUrl,p)}}},411:(e,t,n)=>{"use strict";n.d(t,{B7:()=>l});var a=n(8109),r=n(959);n(1527);const i=(0,r.createContext)(null),o=()=>{const e=(0,r.useContext)(i);if(null===e)throw new Error("useInStreamAdsAPI must be used within a AdsAPIProvider");return e.inStreamApi};var s=n(269);function l(e){const t=o().getInStreamAd(),n=t?.metadata?.logoImage,r=t?.metadata?.buttonMessage,i=t?.metadata?.tagline,l=t?.clickthroughUrl,{url:u}=e,c=e.metadata?.advertiser,d=c||null,p=a.ag.get("ad-formats.advertisement");if((0,s.jg)(e)){return{title:d,subtitle:p,url:(0,s.gn)(l,u),tagline:i,buttonMessage:r,logoImage:n}}return(0,s.Hk)(e),{title:d,subtitle:p,url:(0,s.gn)(l,u),tagline:i,buttonMessage:r,logoImage:n}}},5514:(e,t,n)=>{"use strict";n.d(t,{A:()=>r,T:()=>a});let a=function(e){return e.ADVERTISER_SUBTITLE="advertiser_subtitle",e.ADVERTISER_TITLE="advertiser_title",e.CTA_BUTTON="cta_button",e.COMPANION_CARD="companion_card",e.VIDEO_PLAYER="video_player",e.COVER_ART="cover_art",e.AD_LOGO="ad_logo",e.COVER_ART_EXPANDED="cover_art_expanded",e.COVER_ART_COLLAPSED="cover_art_collapsed",e.MINIMIZED_VIDEO_TAKEOVER="minimized_video_takeover",e}({}),r=function(e){return e.AD_NPV="ad_npv",e.NPB="npb",e.VIDEO_PLAYER="video_player",e}({})},4302:(e,t,n)=>{"use strict";n.d(t,{nX:()=>r});const a="LOG_NOW_PLAYING_AD_CLICK",r=(e,t)=>({type:a,eventReason:e,eventSource:t})},8356:(e,t,n)=>{"use strict";n.d(t,{o:()=>c});var a=n(959),r=n(4421),i=n(5802),o=n(2800);n(6758),n(3321);const s=(e,t)=>n=>{const{intent:a,type:r,targetUri:i,itemIdSuffix:o,pathNameOverride:s}=n,l=o?`${t}/${o}`:t,u=s||e;return{page:u.split(/\//).filter((e=>""!==e)).shift(),view_uri:u,action_intent:a,action_type:r,target_uri:i,item_id:l}},l="LOG_INTERACTION",u=e=>({type:l,logData:e});function c(){const e=(0,a.useContext)(o.H8),t=(0,r.I0)(),{pathname:n}=(0,i.TH)();return(0,a.useCallback)((a=>{const r=s(n,e);t(u(r(a)))}),[t,n,e])}},4246:(e,t,n)=>{"use strict";n.d(t,{S:()=>r});var a=n(4421);function r(){return(0,a.v9)((e=>e.ui?.textDirection?.isRTL))}},1995:(e,t,n)=>{"use strict";n.d(t,{F0:()=>i,Jn:()=>d,LU:()=>u,ZW:()=>l,_S:()=>s,gU:()=>c,un:()=>o,wI:()=>p,yq:()=>m});var a=n(8109),r=n(2857);const i="intl-",o=(new RegExp(`${`/${i}`}([a-zA-Z0-9-]+)`),[]),s=[a.go.id,a.go.de,"pt",a.go.ja,a.go.fr,a.go.ar,a.go.es,a.go.tr,a.go.it],l=a.go.en,u=[],c=[],d=[],p=[r.p.ALBUM,r.p.ARTIST,r.p.TRACK,r.p.PREMIUM],m=[r.p.CONCERT,r.p.CONCERTS],[f]=(o.length>0?o[0]:s[0],a.go.hu,s);o.length||a.go.ca,a.go.zhCN,a.go.es419,a.go.es},2800:(e,t,n)=>{"use strict";n.d(t,{DJ:()=>i,H8:()=>r});var a=n(959);const r=(0,a.createContext)(""),i=(0,a.createContext)(null)},7154:(e,t,n)=>{"use strict";n.d(t,{a:()=>i});var a=n(959),r=n(6260);const i=e=>{const t=(0,a.useMemo)((()=>(0,r.O)()?null:window.matchMedia(e)),[e]),[n,i]=(0,a.useState)((()=>!t||t.matches));return(0,a.useEffect)((()=>{if(!t||!t.addEventListener)return()=>{};const e=e=>{i(e.matches)};return t.addEventListener("change",e),()=>{t.removeEventListener("change",e)}}),[t]),n}},6862:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});var a=n(7154);const r=()=>(0,a.a)("(prefers-reduced-motion: reduce)")},6981:(e,t,n)=>{"use strict";n.d(t,{y:()=>l});n(6758),n(7082),n(2372),n(69),n(4227),n(1499),n(8856),n(6687),n(6527);var a=n(959),r=n(6260);function i(e){return!(0,r.O)()&&e instanceof HTMLElement}let o;const s={subscribersByElement:new WeakMap,get resizeObserver(){return o||(o=new ResizeObserver((e=>{Array.isArray(e)&&e.forEach((t=>{const n={width:Math.round(t.contentRect.width),height:Math.round(t.contentRect.height)};(s.subscribersByElement.get(t.target)??new Set).forEach((a=>{a(n,t,e)}))}))}))),o}};function l({onResize:e,refOrElement:t,observeOnly:n,observeOnMount:r=!1}){const o=(0,a.useRef)(e);o.current=e;const l=(0,a.useRef)(n);l.current=n;const u=(0,a.useRef)({width:-1,height:-1}),c=(0,a.useCallback)(((e,t,n)=>{if(!o.current)return;const a=u.current.width!==e.width,r=u.current.height!==e.height;("width"===l.current&&a||"height"===l.current&&r||!l.current&&(a||r))&&o.current(e,t,n),u.current.width=e.width,u.current.height=e.height}),[]),d=function({refOrElement:e,subscriber:t}){let n=null;const r=(0,a.useRef)(null),o=(0,a.useRef)(null),s=(0,a.useRef)(null),l=(0,a.useRef)(),u=(0,a.useRef)(t);u.current=t;const c=(0,a.useCallback)((()=>{let t=null;o.current?t=o.current:r.current?t=r.current:i(e)&&(t=e),s.current!==t&&(l.current&&(l.current(),l.current=null),s.current=t,t&&u.current&&(l.current=u.current(t)))}),[e]),d=(0,a.useCallback)((e=>{o.current=e,c()}),[c]);return e&&!i(e)&&(n=e),(0,a.useEffect)((()=>{n&&(r.current=n.current),c()}),[n,n?.current,c]),(0,a.useEffect)((()=>()=>{l?.current?.()}),[]),d}({refOrElement:t,subscriber:e=>(r&&c({width:e.offsetWidth,height:e.offsetHeight},null,[]),s.subscribersByElement.has(e)||(s.resizeObserver.observe(e),s.subscribersByElement.set(e,new Set)),s.subscribersByElement.get(e)?.add(c),()=>{s.subscribersByElement.get(e)?.delete(c),0===s.subscribersByElement.get(e)?.size&&(s.resizeObserver.unobserve(e),s.subscribersByElement.delete(e))})});return d}},4971:(e,t,n)=>{"use strict";n.d(t,{Ct:()=>r});n(6758),n(7082);const a=864e5;class r{_cache=new Map;constructor(e=null){if(this._ttl=e,null!==e&&(e<1||e>a))throw new Error("TTL should be between 1 (1 ms) and 86400000 (1 day).")}isExpired(e){return null!==e.expiry&&e.expiry{this.isExpired(e)&&this._cache.delete(t)}))}}},4562:(e,t,n)=>{"use strict";n.d(t,{ab:()=>o});n(6758),n(4487),n(7082),n(6277);var a=n(9505),r=n(3189);n(2650);function i(e){return r.Il.fromHex(e)}new(n(4971).Ct);const o={colorRaw:i(a.Sns),colorDark:i(a.Sns),colorLight:i(a.Sns)}},3189:(e,t,n)=>{"use strict";n.d(t,{Il:()=>p});let a=function(e){return e[e.HEX=0]="HEX",e[e.HEXA=1]="HEXA",e[e.RGB=2]="RGB",e[e.RGBA=3]="RGBA",e[e.HSL=4]="HSL",e[e.HSLA=5]="HSLA",e}({});function r(e,t,n=1e-6){return Math.abs(e-t)[a-f\d]{2})(?[a-f\d]{2})(?[a-f\d]{2})(?[a-f\d]{2})?$/i.exec(e),n=t?.groups?.r,a=t?.groups?.g,r=t?.groups?.b,i=t?.groups?.a;if(void 0===n||void 0===a||void 0===r)throw new Error(`Invalid hex color code "${e}"`);return{r:n,g:a,b:r,a:i}}function l(e){const{a:t}=s(e);if(!t)return 1;return function(e,t,n){const a=e.toLocaleString("en",{useGrouping:!1,minimumFractionDigits:t,maximumFractionDigits:n});return Number(a)}(parseInt(t,16)/255,0,2)}function u(e){return e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}function c({rgb:{r:e,g:t,b:n}}){return.2126*u(e/255)+.7152*u(t/255)+.0722*u(n/255)}function d(e,t){const n=c(e),a=c(t);return(Math.max(n,a)+.05)/(Math.min(n,a)+.05)}class p{constructor(e,t,n,a=1){this.rgb=e,this.hsl=t,this.hsv=n,this.a=a}static BLACK=p.fromRGB({r:0,g:0,b:0});static WHITE=p.fromRGB({r:255,g:255,b:255});static fromRGB(e,t){if(e.r<0||e.g<0||e.b<0||e.r>255||e.g>255||e.b>255||t&&t<0||t&&t>1)throw Error(`Invalid RGB color: ${JSON.stringify(e)}, alpha: ${t}`);const n=function({r:e,g:t,b:n}){const a=e/255,i=t/255,o=n/255,s=Math.max(a,i,o),l=Math.min(a,i,o),u=s-l;let c;const d=(s+l)/2,p=s;c=r(u,0)?0:r(p,a)?60*(0+(i-o)/u):r(p,i)?60*(2+(o-a)/u):60*(4+(a-i)/u),c%=360,c<0&&(c+=360);const m=0===d||1===d?0:(p-d)/Math.min(d,1-d);return{h:Math.round(c),s:m,l:d}}(e),a=function({r:e,g:t,b:n}){const a=e/255,i=t/255,o=n/255,s=Math.max(a,i,o),l=s-Math.min(a,i,o);let u;const c=s;u=r(l,0)?0:r(c,a)?60*(0+(i-o)/l):r(c,i)?60*(2+(o-a)/l):60*(4+(a-i)/l),u%=360,u<0&&(u+=360);const d=0===c?0:l/c;return{h:Math.round(u),s:d,v:c}}(e);return new p(e,n,a,t)}static fromHex(e,t){const n=function(e){const{r:t,g:n,b:a}=s(e);return{r:parseInt(t,16),g:parseInt(n,16),b:parseInt(a,16)}}(e),a=l(e);return p.fromRGB(n,t??a)}static fromHSV(e,t){const n=function({h:e,s:t,v:n}){const a=n*t,r=e/60,i=a*(1-Math.abs(r%2-1));let o;o=r>=0&&r<=1?[a,i,0]:r>1&&r<=2?[i,a,0]:r>2&&r<=3?[0,a,i]:r>3&&r<=4?[0,i,a]:r>4&&r<=5?[i,0,a]:r>5&&r<=6?[a,0,i]:[0,0,0];const s=n-a;return{r:Math.round(255*(o[0]+s)),g:Math.round(255*(o[1]+s)),b:Math.round(255*(o[2]+s))}}(e);return p.fromRGB(n,t)}static fromHSL(e,t){const n=function({h:e,s:t,l:n}){const a=(1-Math.abs(2*n-1))*t,r=e/60,i=a*(1-Math.abs(r%2-1));let o;o=r>=0&&r<=1?[a,i,0]:r>1&&r<=2?[i,a,0]:r>2&&r<=3?[0,a,i]:r>3&&r<=4?[0,i,a]:r>4&&r<=5?[i,0,a]:r>5&&r<=6?[a,0,i]:[0,0,0];const s=n-a/2;return{r:Math.round(255*(o[0]+s)),g:Math.round(255*(o[1]+s)),b:Math.round(255*(o[2]+s))}}(e);return p.fromRGB(n,t)}static fromInt(e,t){const n=function(e){return{r:e>>16&255,g:e>>8&255,b:255&e}}(e);return p.fromRGB(n,t)}static fromCSS(e,t){const n=function(e,t){const n=e.match(/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d+(?:\.\d+)?))?\)$/);if(n){const[e,a,r,i]=n.slice(1),o=t??parseFloat(i);return p.fromRGB({r:parseInt(e,10),g:parseInt(a,10),b:parseInt(r,10)},Number.isNaN(o)?void 0:o)}return null}(e,t);if(n)return n;const a=function(e,t){const n=e.match(/^#([0-9a-f]{3}|[0-9a-f]{6}|[0-9a-f]{8})$/i);if(n){const e=n[1];return p.fromHex(e,t)}return null}(e,t);if(a)return a;const r=function(e,t){const n=e.match(/^hsla?\((\d+),\s*(\d+)%,\s*(\d+)%(?:,\s*(\d*(?:\.\d+)?))?\)$/);if(n){const[e,a,r,i]=n.slice(1),o=t??parseFloat(i);return p.fromHSL({h:parseInt(e,10),s:parseInt(a,10)/100,l:parseInt(r,10)/100},Number.isNaN(o)?void 0:o)}return null}(e,t);if(r)return r;throw new Error(`Invalid or unsupported CSS color: ${e}`)}toCSS(e){switch(e){case a.HEX:return`#${i((t=this).rgb.r)}${i(t.rgb.g)}${i(t.rgb.b)}`;case a.HEXA:return function(e){return`#${i(e.rgb.r)}${i(e.rgb.g)}${i(e.rgb.b)}${i(Math.floor(255*e.a))}`}(this);case a.RGB:return function(e){return`rgb(${e.rgb.r}, ${e.rgb.g}, ${e.rgb.b})`}(this);case a.RGBA:return function(e){return`rgba(${e.rgb.r}, ${e.rgb.g}, ${e.rgb.b}, ${e.a})`}(this);case a.HSL:return function(e){const{h:t,s:n,l:a}=e.hsl;return`hsl(${t}, ${o(n)}, ${o(a)})`}(this);case a.HSLA:return function(e){const{h:t,s:n,l:a}=e.hsl;return`hsla(${t}, ${o(n)}, ${o(a)}, ${e.a})`}(this);default:throw new Error("Invalid or unsupported CSSColorFormat!")}var t}contrastAdjust(e,t=4.5){let n=p.BLACK;return"light"===e&&(n=p.WHITE),function(e,t,n){if(t!==p.BLACK&&t!==p.WHITE)throw new Error("Only supports contrast calculation between black and white.");let a=d(e,t);if(a>=n)return e;let r=e.hsv.v,i=t===p.WHITE?-.02:.02,o=Number.MAX_VALUE,s=null;for(let t=0;t<100&&o>.07&&r>=0&&r<=1;t++){r=Math.min(r+i,1),s=p.fromHSV({h:e.hsv.h,s:e.hsl.s,v:r}),a=d(s,p.WHITE);const t=Math.round(10*Math.abs(a-n))/10;t>o&&(i*=-.5),o=t}return null===s?e:s}(this,n,t)}toString(){return`${this.rgb.r},${this.rgb.g},${this.rgb.b},${this.a}`}stringify(){return JSON.stringify(this)}static parse(e){const{rgb:t,hsl:n,hsv:a,a:r}=JSON.parse(e);return new p(t,n,a,r)}}},4469:(e,t,n)=>{"use strict";n.d(t,{r:()=>r});var a=n(7909);class r{constructor(e=new a.vp){this._emitter=e,this._emitter=e||new a.vp}addListener(e,t,n){return this._emitter.addListener(e,t,n),this}removeListener(e,t,n){return this._emitter.removeListener(e,t,n),this}onAddListener(e,t){return this._emitter.onAddListener(e,t),this}onRemoveListener(e,t){return this._emitter.onRemoveListener(e,t),this}emit(e,t){return this._emitter.emit(e,t)}emitSync(e,t){return this._emitter.emitSync(e,t)}}},2784:(e,t,n)=>{"use strict"},1425:(e,t,n)=>{"use strict";n(6758),n(3321)},2650:(e,t,n)=>{"use strict";n(959),n(2784),n(1425)},5507:(e,t,n)=>{"use strict";n.d(t,{rg:()=>a});n(4469);let a=function(e){return e.UPDATE="update",e.ERROR="error",e.ACTION="action",e.QUEUE_ACTION="queue_action",e.QUEUE_ACTION_COMPLETE="queue_action_complete",e.QUEUE_UPDATE="queue_update",e.CONTEXT_WRAPAROUND="context_wraparound",e}({})},8570:(e,t,n)=>{"use strict";n.d(t,{g:()=>i});var a=n(959);const r=(0,a.createContext)(null);function i(){const e=(0,a.useContext)(r);if(null===e)throw new Error("Trying to use 'PlayerContext' without 'PlayerProvider'!");return e}},6945:(e,t,n)=>{"use strict";n.d(t,{G:()=>i});var a=n(959),r=n(8570);function i(e,t){const n=(0,a.useRef)(t),i=(0,r.g)(),o=function(){const e=(0,a.useRef)(!1);return(0,a.useEffect)((()=>(e.current=!0,()=>{e.current=!1})),[]),(0,a.useCallback)((()=>e.current),[])}();(0,a.useLayoutEffect)((()=>{n.current=t})),(0,a.useEffect)((()=>{const t=i.getEvents(),a=e=>{o()&&n.current(e)};return t.addListener(e,a),()=>{t.removeListener(e,a)}}),[e,o,i])}},5019:(e,t,n)=>{"use strict";n.d(t,{Y:()=>s});var a=n(959),r=n(5507),i=n(8570),o=n(6945);function s(e,t=((e,t)=>e===t)){const n=(0,i.g)().getState(),[s,l]=(0,a.useState)(e(n));return(0,o.G)(r.rg.UPDATE,(n=>{const a=e(n.data);t(s,a)||l(a)})),s}},6767:(e,t,n)=>{"use strict"},5245:(e,t,n)=>{"use strict";n.d(t,{i:()=>r});var a=n(2857);function r(e){return e?.type===a.p.EPISODE}},6054:(e,t,n)=>{"use strict";n.d(t,{G:()=>r});var a=n(2857);function r(e){return e?.type===a.p.TRACK}},3053:(e,t,n)=>{"use strict"},5812:(e,t,n)=>{"use strict";n.d(t,{zq:()=>u,k6:()=>r,G7:()=>i,iw:()=>o.i,G_:()=>s.G,RB:()=>l});n(6767);var a=n(2857);function r(e){return e?.type===a.p.AD}function i(e){return e?.type===a.p.CHAPTER}var o=n(5245),s=n(6054);function l(e){return e?.type===a.p.UNKNOWN}a.p.UNKNOWN,a.p.ALBUM,a.p.ARTIST;n(3053);let u=function(e){return e[e.REPEAT_NONE=0]="REPEAT_NONE",e[e.REPEAT_CONTEXT=1]="REPEAT_CONTEXT",e[e.REPEAT_TRACK=2]="REPEAT_TRACK",e}({})},2857:(e,t,n)=>{"use strict";n.d(t,{p:()=>a});let a=function(e){return e.AD="ad",e.ALBUM="album",e.ARTIST="artist",e.ARTIST_CONCERTS="artist-concerts",e.AUDIOBOOK="audiobook",e.CHAPTER="chapter",e.CONCERT="concert",e.CONCERTS="concerts",e.EPISODE="episode",e.PODCAST_SHORT="podcast-short",e.GENRE="genre",e.VIEW="view",e.PLAYLIST="playlist",e.PLAYLISTV2="playlist-v2",e.PRE_RELEASE="pre-release",e.SHOW="show",e.TRACK="track",e.UNKNOWN="unknown",e.USER="user",e.LIKED_SONGS="liked-songs",e.LOCAL_FILES="local-files",e.YOUR_EPISODES="your-episodes",e.FOLDER="folder",e.PREMIUM="premium",e}({})},6260:(e,t,n)=>{"use strict";n.d(t,{O:()=>a});const a=()=>"undefined"==typeof window},6529:(e,t,n)=>{"use strict";n.d(t,{is:()=>i});var a=n(8109),r=n(1995);const i=(e,t)=>{const n=t||a.ag.getLocaleForURLPath();if(!e)return"";const i=e.split("/")[1];if(!n||n===r.ZW||i.includes(r.F0))return e;const o="/"===e?"":e;return`/${r.F0}${n}${o}`}}},o={};function s(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={exports:{}};return i[e].call(n.exports,n,n.exports,s),n.exports}s.m=i,e=[],s.O=(t,n,a,r)=>{if(!n){var i=1/0;for(c=0;c=r)&&Object.keys(s.O).every((e=>s.O[e](n[l])))?n.splice(l--,1):(o=!1,r0&&e[c-1][2]>r;c--)e[c]=e[c-1];e[c]=[n,a,r]},s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,s.t=function(e,a){if(1&a&&(e=this(e)),8&a)return e;if("object"==typeof e&&e){if(4&a&&e.__esModule)return e;if(16&a&&"function"==typeof e.then)return e}var r=Object.create(null);s.r(r);var i={};t=t||[null,n({}),n([]),n(n)];for(var o=2&a&&e;"object"==typeof o&&!~t.indexOf(o);o=n(o))Object.getOwnPropertyNames(o).forEach((t=>i[t]=()=>e[t]));return i.default=()=>e,s.d(r,i),r},s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce(((t,n)=>(s.f[n](e,t),t)),[])),s.u=e=>(452===e?"xpui-playback-handle-icons":e)+".js",s.miniCssF=e=>{},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a={},r="client-web:",s.l=(e,t,n,i)=>{if(a[e])a[e].push(t);else{var o,l;if(void 0!==n)for(var u=document.getElementsByTagName("script"),c=0;c{o.onerror=o.onload=null,clearTimeout(m);var r=a[e];if(delete a[e],o.parentNode&&o.parentNode.removeChild(o),r&&r.forEach((e=>e(n))),t)return t(n)},m=setTimeout(p.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=p.bind(null,o.onerror),o.onload=p.bind(null,o.onload),l&&document.head.appendChild(o)}},s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.p="/",(()=>{var e={924:0};s.f.j=(t,n)=>{var a=s.o(e,t)?e[t]:void 0;if(0!==a)if(a)n.push(a[2]);else{var r=new Promise(((n,r)=>a=e[t]=[n,r]));n.push(a[2]=r);var i=s.p+s.u(t),o=new Error;s.l(i,(n=>{if(s.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var r=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;o.message="Loading chunk "+t+" failed.\n("+r+": "+i+")",o.name="ChunkLoadError",o.type=r,o.request=i,a[1](o)}}),"chunk-"+t,t)}},s.O.j=t=>0===e[t];var t=(t,n)=>{var a,r,[i,o,l]=n,u=0;if(i.some((t=>0!==e[t]))){for(a in o)s.o(o,a)&&(s.m[a]=o[a]);if(l)var c=l(s)}for(t&&t(n);us(7033)));l=s.O(l)})(); //# sourceMappingURL=pip-mini-player.js.map