embed-cdn.spotifycdn.com
Open in
urlscan Pro
2a04:4e42:4f::762
Public Scan
URL:
https://embed-cdn.spotifycdn.com/_next/static/chunks/347-d63584257ebaf280.js
Submission Tags: falconsandbox
Submission: On November 21 via api from US — Scanned from DE
Submission Tags: falconsandbox
Submission: On November 21 via api from US — Scanned from DE
Form analysis
0 forms found in the DOMText Content
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="741e8a1f-edd8-488f-99d0-f4b0f99eadd5",e._sentryDebugIdIdentifier="sentry-dbid-741e8a1f-edd8-488f-99d0-f4b0f99eadd5")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[347],{97828:function(e,t,n){"use strict";n.d(t,{w:function(){return m}});var i=n(85893),a=n(96494),r=n(94184),o=n.n(r);n(67294);var s=n(9473),l=n(32091),d=n(38343),u=n(66341),c=n(43396),p=n(73636),_=n.n(p);let m=e=>{let{uri:t,className:n,mainView:r}=e,p=(0,s.v9)(e=>e.settings.isMobile),m=(0,a.EC)(t),N=(0,s.v9)(e=>e.data.entity?.isAudiobook),T=m?.type===a.JM.ARTIST||m?.type===a.JM.SHOW&&!N,E=(0,s.v9)(e=>e.settings.session.isAnonymous),I=(0,l.y)({productName:r?"embed_player_p":"embed_player_v",intent:l.U.ADD_TO_LIBRARY}),[y,h]=(0,d.Z)(t);return void 0===y?null:(0,i.jsx)("div",{"data-testid":"save-on-spotify",className:o()(_().wrapper,n),children:T?(0,i.jsx)(u.e,{isMobile:p,shouldUseDeeplink:E,links:I,saved:y[t],savedCb:h,mainView:r}):(0,i.jsx)(c.S,{isMobile:p,shouldUseDeeplink:E,links:I,saved:y[t],savedCb:h,mainView:r})})}},1861:function(e,t,n){"use strict";n.d(t,{E:function(){return T}});var i=n(85893),a=n(17296),r=n(80852),o=n(67757),s=n(5996),l=n(96494);n(67294);var d=n(9473),u=n(32091),c=n(38343),p=n(28065),_=n(17569),m=n(99992),N=n.n(m);let T=()=>{let e=(0,d.v9)(e=>e.data.entity?.type!==l.JM.ARTIST),t=(0,d.v9)(e=>e.settings.isMobile),n=(0,d.I0)(),m=(0,s.NT)(),T=(0,d.v9)(e=>e.settings.session.isAnonymous),E=(0,d.v9)(e=>e.data.entity?.isAudiobook?e.data.entity.relatedEntityUri:e.data.entity.uri),I=(0,u.y)({productName:"embed_player_p",intent:u.U.ADD_TO_LIBRARY}),[y,h]=(0,c.Z)(E);if(!e||void 0===y)return null;let k=y?m("embed.saved-on-spotify","Saved on Spotify","Button`s text that removes an item to the user`s library"):m("embed.save-on-spotify","Save on Spotify","Button`s text that adds an item to the user`s library"),A=async()=>{T?(n((0,p._)({action_type:"click",action_intent:"deeplink",action_item_id:"save-on-spotify-button"})),(0,_.M)({url:I.embeddedEntity,newWindow:!t})):(n((0,p._)({action_type:"click",action_intent:y[E]?"remove-from-spotify":"save-on-spotify"})),await h(!y[E]))};return(0,i.jsx)(a.o,{iconOnly:y[E]?r.K:o.G,"data-testid":"save-on-spotify-button",condensedAll:!0,title:k,"aria-label":k,onClick:A,semanticColor:"textBase",size:"medium",className:N().addToLibraryButton})}},66341:function(e,t,n){"use strict";n.d(t,{e:function(){return E}});var i=n(85893),a=n(28527),r=n(54472),o=n(17296),s=n(43485),l=n(5996),d=n(94184),u=n.n(d);n(67294);var c=n(9473),p=n(47229),_=n(28065),m=n(17569),N=n(9127),T=n.n(N);let E=e=>{let{saved:t,shouldUseDeeplink:n,links:d,isMobile:N,savedCb:E,mainView:I}=e,y=(0,c.I0)(),h=(0,l.NT)(),{isCompactLegacy:k}=(0,p.M)(),A=t?h("following","Following","Button`s text that adds an item to the user`s library"):h("follow","Follow","Button`s text that removes an item to the user`s library"),f=t?h("mwp.context.stop.following","Stop Following","Button`s text that removes an item to the user`s library"):h("follow_on_spotify","Follow on Spotify","Button`s text that adds an item to the user`s library"),g=async()=>{n?(y((0,_._)({action_type:"click",action_intent:"deeplink",action_item_id:"follow"})),(0,m.M)({url:I?d.embeddedEntity:d.compositeEntity,newWindow:!N})):(y((0,_._)({action_type:"click",action_intent:t?"unfollow":"follow"})),await E(!t))},O=()=>I?A:f;return(0,i.jsx)("div",{className:u()(T().followButtonWrapper,{[T().hideBorder]:!I}),children:(0,i.jsx)(o.o,{"data-testid":"follow-button",condensedAll:!0,title:O(),"aria-label":O(),onClick:g,semanticColor:"textBase",size:"medium",iconLeading:k||I?void 0:t?a.k:r.V,className:u()(T().followButtonButton,{[T().transformNone]:!I}),children:(0,i.jsx)(s.x,{variant:I?"bodySmallBold":k?"marginal":"bodySmall",className:u()(T().followButtonText,{[T().overflowMenuText]:!I}),semanticColor:"textBase","data-testid":"follow-button-label",children:O()})})})}},43396:function(e,t,n){"use strict";n.d(t,{S:function(){return E}});var i=n(85893),a=n(80852),r=n(67757),o=n(17296),s=n(43485),l=n(5996),d=n(94184),u=n.n(d);n(67294);var c=n(9473),p=n(47229),_=n(28065),m=n(17569),N=n(26040),T=n.n(N);let E=e=>{let{saved:t,shouldUseDeeplink:n,isMobile:d,savedCb:N,mainView:E,links:I}=e,y=(0,c.I0)(),h=(0,l.NT)(),k=t?h("embed.saved-on-spotify","Saved on Spotify","Button`s text that removes an item to the user`s library"):h("embed.save-on-spotify","Save on Spotify","Button`s text that adds an item to the user`s library"),A=async()=>{n?(y((0,_._)({action_type:"click",action_intent:"deeplink",action_item_id:"save-on-spotify-button"})),(0,m.M)({url:I.selectedEntity,newWindow:!d})):(y((0,_._)({action_type:"click",action_intent:t?"remove-from-spotify":"save-on-spotify"})),await N(!t))};return(0,i.jsx)(o.o,{"data-testid":"save-on-spotify-button",condensedAll:!0,title:k,"aria-label":k,iconLeading:(0,p.M)().isCompactLegacy?void 0:t?a.K:r.G,onClick:A,semanticColor:"textBase",size:"medium",className:u()(T().saveOnSpotifyButton,{[T().overflowMenu]:!E}),children:(0,i.jsx)(s.x,{"data-testid":"save-button-label",className:u()(T().saveOnSpotifyButtonText,{[T().overflowMenu]:!E}),children:k})})}},67584:function(e,t,n){"use strict";let i;n.d(t,{g:function(){return n8}});var a,r,o,s,l,d,u,c,p,_,m,N,T,E,I,y,h,k,A,f,g,O,v,S,b,R,C,P,w,L,x,D,M,U,B,G,j,F,W,V,H,Y,K,q,X,J,$,z,Q,Z,ee,et,en,ei,ea,er,eo,es,el,ed,eu,ec,ep,e_,em,eN,eT,eE,eI,ey,eh,ek,eA,ef,eg,eO,ev,eS,eb,eR,eC,eP,ew,eL,ex,eD,eM,eU,eB,eG,ej,eF,eW,eV,eH,eY,eK,eq,eX,eJ,e$,ez,eQ,eZ,e0,e9,e1,e3,e2,e5,e4,e7,e6,e8,te,tt,tn,ti,ta,tr,to,ts,tl,td,tu,tc,tp,t_,tm,tN,tT,tE,tI,ty,th,tk,tA,tf,tg,tO,tv,tS,tb,tR,tC,tP,tw,tL,tx,tD,tM,tU,tB,tG,tj,tF=n(85893),tW=n(35564),tV=n(61156),tH=n(5996),tY=n(67294),tK=n(9473);(eO||(eO={})).InvalidURI="invalid_uri",(a=ev||(ev={})).READY="ready",a.PLAYBACK_UPDATE="playback_update",a.ERROR="error",(r=eS||(eS={})).PLAY_FROM_START="play_from_start",r.PLAY="play",r.PAUSE="pause",r.RESUME="resume",r.TOGGLE_PLAY="toggle",r.SEEK="seek",r.LOAD_COMPLETE_ACK="load_complete_ack";var tq=n(5603),tX=n(28065),tJ=n(73638),t$=n(33829),tz=n(32515);(eb||(eb={})).BACKEND="backend";let tQ=()=>({type:"backend",async read(e,t,i){try{if("en"===e)return i(null,{});return i(null,await n(45009)(`./${e}/strings.json`))}catch{return i(null,{})}}});var tZ=n(23392),t0=n(96494);let t9=[{kind:"FragmentDefinition",name:{kind:"Name",value:"embedTracklistTrack"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Track"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"uri"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"contentRating"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"label"}}]}},{kind:"Field",name:{kind:"Name",value:"duration"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"totalMilliseconds"}}]}},{kind:"Field",name:{kind:"Name",value:"playability"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"playable"}}]}},{kind:"Field",name:{kind:"Name",value:"previews"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"audioPreviews"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"items"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"format"}},{kind:"Field",name:{kind:"Name",value:"url"}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"artists"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"items"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"uri"}},{kind:"Field",name:{kind:"Name",value:"profile"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"clientRestrictions"},directives:[{kind:"Directive",name:{kind:"Name",value:"include"},arguments:[{kind:"Argument",name:{kind:"Name",value:"if"},value:{kind:"Variable",name:{kind:"Name",value:"includeClientRestrictions"}}}]}]}]}}],t1=[{kind:"FragmentDefinition",name:{kind:"Name",value:"embedTracklistEpisode"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Episode"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"uri"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"contentRating"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"label"}}]}},{kind:"Field",name:{kind:"Name",value:"duration"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"totalMilliseconds"}}]}},{kind:"Field",name:{kind:"Name",value:"playability"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"playable"}}]}},{kind:"Field",name:{kind:"Name",value:"audioPreview"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"}}]}},{kind:"Field",name:{kind:"Name",value:"podcastV2"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"PodcastResponseWrapper"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"data"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Podcast"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"uri"}}]}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"clientRestrictions"},directives:[{kind:"Directive",name:{kind:"Name",value:"include"},arguments:[{kind:"Argument",name:{kind:"Name",value:"if"},value:{kind:"Variable",name:{kind:"Name",value:"includeClientRestrictions"}}}]}]}]}}];[...t9],[...t9],[...t9];let t3={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"addItemsToRootlist"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"newPosition"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"RootlistItemPositionInput"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"uris"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"addItemsToRootlist"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"newPosition"},value:{kind:"Variable",name:{kind:"Name",value:"newPosition"}}},{kind:"ObjectField",name:{kind:"Name",value:"uris"},value:{kind:"Variable",name:{kind:"Name",value:"uris"}}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}}]}}]}}]},t2={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"removePlaylistFromRootlist"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"uris"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"removeItemsFromRootlist"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"uris"},value:{kind:"Variable",name:{kind:"Name",value:"uris"}}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}}]}}]}}]};[...t1,...t9],[...t1,...t9],(o=eR||(eR={})).Affinity="AFFINITY",o.LastPlayed="LAST_PLAYED",o.PlayCount="PLAY_COUNT",(s=eC||(eC={})).LongTerm="LONG_TERM",s.MidTerm="MID_TERM",s.ShortTerm="SHORT_TERM",(l=eP||(eP={})).Album="ALBUM",l.Audiobook="AUDIOBOOK",l.Compilation="COMPILATION",l.Ep="EP",l.Podcast="PODCAST",l.Single="SINGLE",l.Unknown="UNKNOWN",(d=ew||(ew={})).Autobiography="AUTOBIOGRAPHY",d.Biography="BIOGRAPHY",(u=eL||(eL={})).DateAsc="DATE_ASC",u.DateDesc="DATE_DESC",u.NameAsc="NAME_ASC",u.NameDesc="NAME_DESC",(c=ex||(ex={})).Album="ALBUM",c.Artist="ARTIST",c.Concert="CONCERT",c.Episode="EPISODE",c.ExclusiveMerch="EXCLUSIVE_MERCH",c.Merch="MERCH",c.MusicVideo="MUSIC_VIDEO",c.Other="OTHER",c.Playlist="PLAYLIST",c.Podcast="PODCAST",c.Prerelease="PRERELEASE",c.Track="TRACK",(p=eD||(eD={})).AssocTypeUnspecified="ASSOC_TYPE_UNSPECIFIED",p.HasRelatedContent="HAS_RELATED_CONTENT",p.IsPrimarilyAbout="IS_PRIMARILY_ABOUT",(_=eM||(eM={})).BookPageRedirect="BOOK_PAGE_REDIRECT",_.Unspecified="UNSPECIFIED",(eU||(eU={})).DiscoveredDevice="DISCOVERED_DEVICE",(m=eB||(eB={})).IntegrationAiBriefPromptTest="INTEGRATION_AI_BRIEF_PROMPT_TEST",m.IntegrationAmazonAlexa="INTEGRATION_AMAZON_ALEXA",m.IntegrationAndroidAuto="INTEGRATION_ANDROID_AUTO",m.IntegrationAndroidAutomotive="INTEGRATION_ANDROID_AUTOMOTIVE",m.IntegrationAndroidClock="INTEGRATION_ANDROID_CLOCK",m.IntegrationAndroidPhone="INTEGRATION_ANDROID_PHONE",m.IntegrationAndroidSystemUi="INTEGRATION_ANDROID_SYSTEM_UI",m.IntegrationAndroidTablet="INTEGRATION_ANDROID_TABLET",m.IntegrationAndroidTv="INTEGRATION_ANDROID_TV",m.IntegrationAppleTv="INTEGRATION_APPLE_TV",m.IntegrationAppleWatch="INTEGRATION_APPLE_WATCH",m.IntegrationAsusClock="INTEGRATION_ASUS_CLOCK",m.IntegrationBixbyRoutines="INTEGRATION_BIXBY_ROUTINES",m.IntegrationBmw="INTEGRATION_BMW",m.IntegrationBmwProjected="INTEGRATION_BMW_PROJECTED",m.IntegrationBoseApp="INTEGRATION_BOSE_APP",m.IntegrationCarplay="INTEGRATION_CARPLAY",m.IntegrationCarHeadUnitProjected="INTEGRATION_CAR_HEAD_UNIT_PROJECTED",m.IntegrationCarMode="INTEGRATION_CAR_MODE",m.IntegrationCarView="INTEGRATION_CAR_VIEW",m.IntegrationComcast="INTEGRATION_COMCAST",m.IntegrationDesktop="INTEGRATION_DESKTOP",m.IntegrationFacebookPortal="INTEGRATION_FACEBOOK_PORTAL",m.IntegrationFacebookVenice="INTEGRATION_FACEBOOK_VENICE",m.IntegrationGeneralMotors="INTEGRATION_GENERAL_MOTORS",m.IntegrationGoogleClock="INTEGRATION_GOOGLE_CLOCK",m.IntegrationGoogleDrivingMode="INTEGRATION_GOOGLE_DRIVING_MODE",m.IntegrationGoogleMaps="INTEGRATION_GOOGLE_MAPS",m.IntegrationGoogleSmartDisplay="INTEGRATION_GOOGLE_SMART_DISPLAY",m.IntegrationGoogleSmartSpace="INTEGRATION_GOOGLE_SMART_SPACE",m.IntegrationHeadphones="INTEGRATION_HEADPHONES",m.IntegrationInstagramRecommendations="INTEGRATION_INSTAGRAM_RECOMMENDATIONS",m.IntegrationIosWidget="INTEGRATION_IOS_WIDGET",m.IntegrationIpad="INTEGRATION_IPAD",m.IntegrationIphone="INTEGRATION_IPHONE",m.IntegrationJlr="INTEGRATION_JLR",m.IntegrationMercedes="INTEGRATION_MERCEDES",m.IntegrationMicrosoftGameBar="INTEGRATION_MICROSOFT_GAME_BAR",m.IntegrationMobileWebPlayer="INTEGRATION_MOBILE_WEB_PLAYER",m.IntegrationOneplusClock="INTEGRATION_ONEPLUS_CLOCK",m.IntegrationOneplusShelf="INTEGRATION_ONEPLUS_SHELF",m.IntegrationOplusAquaDynamics="INTEGRATION_OPLUS_AQUA_DYNAMICS",m.IntegrationOplusShelf="INTEGRATION_OPLUS_SHELF",m.IntegrationPartnerLargeScreenExperience="INTEGRATION_PARTNER_LARGE_SCREEN_EXPERIENCE",m.IntegrationPartnerMobileExperience="INTEGRATION_PARTNER_MOBILE_EXPERIENCE",m.IntegrationPartnerMobileExperienceOplus="INTEGRATION_PARTNER_MOBILE_EXPERIENCE_OPLUS",m.IntegrationPartnerMobileExperienceStrava="INTEGRATION_PARTNER_MOBILE_EXPERIENCE_STRAVA",m.IntegrationPlaystation="INTEGRATION_PLAYSTATION",m.IntegrationPlaystationApphub="INTEGRATION_PLAYSTATION_APPHUB",m.IntegrationPlaystationMfc="INTEGRATION_PLAYSTATION_MFC",m.IntegrationPlaystationMusichome="INTEGRATION_PLAYSTATION_MUSICHOME",m.IntegrationPlaystationPs4="INTEGRATION_PLAYSTATION_PS4",m.IntegrationPlaystationPs5="INTEGRATION_PLAYSTATION_PS5",m.IntegrationPorsche="INTEGRATION_PORSCHE",m.IntegrationRecommendationsWidget="INTEGRATION_RECOMMENDATIONS_WIDGET",m.IntegrationRoku="INTEGRATION_ROKU",m.IntegrationSamsungClock="INTEGRATION_SAMSUNG_CLOCK",m.IntegrationSamsungFamilyHub="INTEGRATION_SAMSUNG_FAMILY_HUB",m.IntegrationSamsungFinder="INTEGRATION_SAMSUNG_FINDER",m.IntegrationSamsungKeyboard="INTEGRATION_SAMSUNG_KEYBOARD",m.IntegrationSamsungTv="INTEGRATION_SAMSUNG_TV",m.IntegrationSamsungWatch="INTEGRATION_SAMSUNG_WATCH",m.IntegrationSiriSuggestions="INTEGRATION_SIRI_SUGGESTIONS",m.IntegrationSky="INTEGRATION_SKY",m.IntegrationSonosApp="INTEGRATION_SONOS_APP",m.IntegrationSpeaker="INTEGRATION_SPEAKER",m.IntegrationTesla="INTEGRATION_TESLA",m.IntegrationTvApp="INTEGRATION_TV_APP",m.IntegrationUnspecified="INTEGRATION_UNSPECIFIED",m.IntegrationVolkswagen="INTEGRATION_VOLKSWAGEN",m.IntegrationVolvo="INTEGRATION_VOLVO",m.IntegrationWaze="INTEGRATION_WAZE",m.IntegrationWearOs="INTEGRATION_WEAR_OS",m.IntegrationWebosTv="INTEGRATION_WEBOS_TV",m.IntegrationWebPlayer="INTEGRATION_WEB_PLAYER",m.IntegrationXbox="INTEGRATION_XBOX",m.IntegrationXboxQuickGuide="INTEGRATION_XBOX_QUICK_GUIDE",m.IntegrationXiaomiAppVault="INTEGRATION_XIAOMI_APP_VAULT",(N=eG||(eG={})).ExperienceDriving="EXPERIENCE_DRIVING",N.ExperienceGaming="EXPERIENCE_GAMING",N.ExperienceUnspecified="EXPERIENCE_UNSPECIFIED",(T=ej||(ej={})).Compact="COMPACT",T.Default="DEFAULT",(E=eF||(eF={})).MainBrowse="MAIN_BROWSE",E.PodcastBrowse="PODCAST_BROWSE",(I=eW||(eW={})).Explicit="EXPLICIT",I.None="NONE",(y=eV||(eV={})).Gif="GIF",y.Image="IMAGE",y.Unknown="UNKNOWN",y.Video="VIDEO",y.VideoLooping="VIDEO_LOOPING",y.VideoLoopingRandom="VIDEO_LOOPING_RANDOM",(h=eH||(eH={})).Ascending="ASCENDING",h.Descending="DESCENDING",h.Unspecified="UNSPECIFIED",(k=eY||(eY={})).Albums="ALBUMS",k.Artists="ARTISTS",k.Audiobooks="AUDIOBOOKS",k.Episodes="EPISODES",k.Genres="GENRES",k.Playlists="PLAYLISTS",k.Podcasts="PODCASTS",k.TopResults="TOP_RESULTS",k.Tracks="TRACKS",k.Users="USERS",(A=eK||(eK={})).Dark="DARK",A.InvalidEnum="INVALID_ENUM",A.Light="LIGHT",(f=eq||(eq={})).DarkVibrant="DARK_VIBRANT",f.Desaturated="DESATURATED",f.LightVibrant="LIGHT_VIBRANT",f.Prominent="PROMINENT",f.Unrecognized="UNRECOGNIZED",f.Vibrant="VIBRANT",f.VibrantNonAlarming="VIBRANT_NON_ALARMING",(g=eX||(eX={})).Available="AVAILABLE",g.FewLeft="FEW_LEFT",g.SoldOut="SOLD_OUT",g.Unknown="UNKNOWN",(O=eJ||(eJ={})).EventPage="EVENT_PAGE",O.TicketPage="TICKET_PAGE",O.Unknown="UNKNOWN",(v=e$||(e$={})).Cancelled="CANCELLED",v.Postponed="POSTPONED",v.Rescheduled="RESCHEDULED",v.Unknown="UNKNOWN",(S=ez||(ez={})).Explicit="EXPLICIT",S.NineteenPlus="NINETEEN_PLUS",S.None="NONE",S.Unknown="UNKNOWN",(b=eQ||(eQ={})).ContentTypeAudiobook="CONTENT_TYPE_AUDIOBOOK",b.ContentTypeCreatorChannel="CONTENT_TYPE_CREATOR_CHANNEL",b.ContentTypePodcast="CONTENT_TYPE_PODCAST",b.ContentTypeUnspecified="CONTENT_TYPE_UNSPECIFIED",(R=eZ||(eZ={})).C="C",R.P="P",(e0||(e0={})).YourEpisodesV2="YOUR_EPISODES_V2",(C=e9||(e9={})).Curate="CURATE",C.Uncurate="UNCURATE",(P=e1||(e1={})).DanceabilityHigh="DANCEABILITY_HIGH",P.DanceabilityLow="DANCEABILITY_LOW",P.DanceabilityMedium="DANCEABILITY_MEDIUM",P.DanceabilityUnknown="DANCEABILITY_UNKNOWN",P.DanceabilityVeryHigh="DANCEABILITY_VERY_HIGH",P.DanceabilityVeryLow="DANCEABILITY_VERY_LOW",(w=e3||(e3={})).Day="DAY",w.Hour="HOUR",w.Minute="MINUTE",w.Month="MONTH",w.Year="YEAR",(L=e2||(e2={})).Internal="INTERNAL",L.InvalidUrl="INVALID_URL",L.InProgress="IN_PROGRESS",L.Ok="OK",(e5||(e5={})).YourEpisodesV2="YOUR_EPISODES_V2",(x=e4||(e4={})).EpisodeContentAudiobookChapter="EPISODE_CONTENT_AUDIOBOOK_CHAPTER",x.EpisodeContentCreatorChannelEpisode="EPISODE_CONTENT_CREATOR_CHANNEL_EPISODE",x.EpisodeContentUnknown="EPISODE_CONTENT_UNKNOWN",(D=e7||(e7={})).Audio="AUDIO",D.Unknown="UNKNOWN",D.Video="VIDEO",(M=e6||(e6={})).Completed="COMPLETED",M.InProgress="IN_PROGRESS",M.NotStarted="NOT_STARTED",(U=e8||(e8={})).Episode="EPISODE",U.PodcastEpisode="PODCAST_EPISODE",U.Unknown="UNKNOWN",(B=te||(te={})).None="NONE",B.SubscriptionDialog="SUBSCRIPTION_DIALOG",(G=tt||(tt={})).Announcement="ANNOUNCEMENT",G.Campaign="CAMPAIGN",(j=tn||(tn={})).IntegrationAmazonAlexa="INTEGRATION_AMAZON_ALEXA",j.IntegrationAndroidAuto="INTEGRATION_ANDROID_AUTO",j.IntegrationAndroidAutomotive="INTEGRATION_ANDROID_AUTOMOTIVE",j.IntegrationAndroidClock="INTEGRATION_ANDROID_CLOCK",j.IntegrationAndroidPhone="INTEGRATION_ANDROID_PHONE",j.IntegrationAndroidSystemUi="INTEGRATION_ANDROID_SYSTEM_UI",j.IntegrationAndroidTablet="INTEGRATION_ANDROID_TABLET",j.IntegrationAndroidTv="INTEGRATION_ANDROID_TV",j.IntegrationAppleTv="INTEGRATION_APPLE_TV",j.IntegrationAppleWatch="INTEGRATION_APPLE_WATCH",j.IntegrationAsusClock="INTEGRATION_ASUS_CLOCK",j.IntegrationBixbyRoutines="INTEGRATION_BIXBY_ROUTINES",j.IntegrationBmw="INTEGRATION_BMW",j.IntegrationBmwProjected="INTEGRATION_BMW_PROJECTED",j.IntegrationBoseApp="INTEGRATION_BOSE_APP",j.IntegrationCarplay="INTEGRATION_CARPLAY",j.IntegrationCarHeadUnitProjected="INTEGRATION_CAR_HEAD_UNIT_PROJECTED",j.IntegrationCarMode="INTEGRATION_CAR_MODE",j.IntegrationCarView="INTEGRATION_CAR_VIEW",j.IntegrationComcast="INTEGRATION_COMCAST",j.IntegrationDesktop="INTEGRATION_DESKTOP",j.IntegrationFacebookPortal="INTEGRATION_FACEBOOK_PORTAL",j.IntegrationFacebookVenice="INTEGRATION_FACEBOOK_VENICE",j.IntegrationGeneralMotors="INTEGRATION_GENERAL_MOTORS",j.IntegrationGoogleClock="INTEGRATION_GOOGLE_CLOCK",j.IntegrationGoogleDrivingMode="INTEGRATION_GOOGLE_DRIVING_MODE",j.IntegrationGoogleEngage="INTEGRATION_GOOGLE_ENGAGE",j.IntegrationGoogleMaps="INTEGRATION_GOOGLE_MAPS",j.IntegrationGoogleSmartDisplay="INTEGRATION_GOOGLE_SMART_DISPLAY",j.IntegrationGoogleSmartSpace="INTEGRATION_GOOGLE_SMART_SPACE",j.IntegrationHeadphones="INTEGRATION_HEADPHONES",j.IntegrationInstagramRecommendations="INTEGRATION_INSTAGRAM_RECOMMENDATIONS",j.IntegrationIosWidget="INTEGRATION_IOS_WIDGET",j.IntegrationIpad="INTEGRATION_IPAD",j.IntegrationIphone="INTEGRATION_IPHONE",j.IntegrationJlr="INTEGRATION_JLR",j.IntegrationMercedes="INTEGRATION_MERCEDES",j.IntegrationMicrosoftGameBar="INTEGRATION_MICROSOFT_GAME_BAR",j.IntegrationMobileWebPlayer="INTEGRATION_MOBILE_WEB_PLAYER",j.IntegrationMotorolaPartnerMusic="INTEGRATION_MOTOROLA_PARTNER_MUSIC",j.IntegrationNpvRecommendationsWidget="INTEGRATION_NPV_RECOMMENDATIONS_WIDGET",j.IntegrationOneplusClock="INTEGRATION_ONEPLUS_CLOCK",j.IntegrationOneplusShelf="INTEGRATION_ONEPLUS_SHELF",j.IntegrationOplusShelf="INTEGRATION_OPLUS_SHELF",j.IntegrationPartnerMobileExperience="INTEGRATION_PARTNER_MOBILE_EXPERIENCE",j.IntegrationPartnerMobileExperienceOplus="INTEGRATION_PARTNER_MOBILE_EXPERIENCE_OPLUS",j.IntegrationPartnerMobileExperienceStrava="INTEGRATION_PARTNER_MOBILE_EXPERIENCE_STRAVA",j.IntegrationPlaystation="INTEGRATION_PLAYSTATION",j.IntegrationPlaystationApphub="INTEGRATION_PLAYSTATION_APPHUB",j.IntegrationPlaystationMfc="INTEGRATION_PLAYSTATION_MFC",j.IntegrationPlaystationMusichome="INTEGRATION_PLAYSTATION_MUSICHOME",j.IntegrationPlaystationPs4="INTEGRATION_PLAYSTATION_PS4",j.IntegrationPlaystationPs5="INTEGRATION_PLAYSTATION_PS5",j.IntegrationPorsche="INTEGRATION_PORSCHE",j.IntegrationRecommendationsWidget="INTEGRATION_RECOMMENDATIONS_WIDGET",j.IntegrationRoku="INTEGRATION_ROKU",j.IntegrationSamsungClock="INTEGRATION_SAMSUNG_CLOCK",j.IntegrationSamsungFamilyHub="INTEGRATION_SAMSUNG_FAMILY_HUB",j.IntegrationSamsungFinder="INTEGRATION_SAMSUNG_FINDER",j.IntegrationSamsungKeyboard="INTEGRATION_SAMSUNG_KEYBOARD",j.IntegrationSamsungTv="INTEGRATION_SAMSUNG_TV",j.IntegrationSamsungWatch="INTEGRATION_SAMSUNG_WATCH",j.IntegrationSiriSuggestions="INTEGRATION_SIRI_SUGGESTIONS",j.IntegrationSky="INTEGRATION_SKY",j.IntegrationSonosApp="INTEGRATION_SONOS_APP",j.IntegrationSpeaker="INTEGRATION_SPEAKER",j.IntegrationTesla="INTEGRATION_TESLA",j.IntegrationTvApp="INTEGRATION_TV_APP",j.IntegrationUnspecified="INTEGRATION_UNSPECIFIED",j.IntegrationVolkswagen="INTEGRATION_VOLKSWAGEN",j.IntegrationVolvo="INTEGRATION_VOLVO",j.IntegrationWaze="INTEGRATION_WAZE",j.IntegrationWearOs="INTEGRATION_WEAR_OS",j.IntegrationWebosTv="INTEGRATION_WEBOS_TV",j.IntegrationWebPlayer="INTEGRATION_WEB_PLAYER",j.IntegrationXbox="INTEGRATION_XBOX",j.IntegrationXboxQuickGuide="INTEGRATION_XBOX_QUICK_GUIDE",j.IntegrationXiaomiAppVault="INTEGRATION_XIAOMI_APP_VAULT",(F=ti||(ti={})).ExperienceDriving="EXPERIENCE_DRIVING",F.ExperienceGaming="EXPERIENCE_GAMING",F.ExperienceUnspecified="EXPERIENCE_UNSPECIFIED",(W=ta||(ta={})).DoNotTranslate="DO_NOT_TRANSLATE",W.Translate="TRANSLATE",(V=tr||(tr={})).Jpeg="JPEG",V.Png="PNG",V.Webp="WEBP",(H=to||(to={})).ImageId="IMAGE_ID",H.ImageUrl="IMAGE_URL",(Y=ts||(ts={})).Album="ALBUM",Y.Artist="ARTIST",Y.Collection="COLLECTION",Y.CollectionNewEpisodes="COLLECTION_NEW_EPISODES",Y.CollectionYourEpisodes="COLLECTION_YOUR_EPISODES",Y.Concert="CONCERT",Y.Episode="EPISODE",Y.Folder="FOLDER",Y.LocalFiles="LOCAL_FILES",Y.LocalTrack="LOCAL_TRACK",Y.Playlist="PLAYLIST",Y.Show="SHOW",Y.Station="STATION",Y.Track="TRACK",(K=tl||(tl={})).Events="EVENTS",K.LikedSongs="LIKED_SONGS",K.LikedSongsV2="LIKED_SONGS_V2",K.Prereleases="PRERELEASES",K.YourEpisodes="YOUR_EPISODES",K.YourEpisodesV2="YOUR_EPISODES_V2",(q=td||(td={})).Facebook="FACEBOOK",q.Instagram="INSTAGRAM",q.Other="OTHER",q.Soundbetter="SOUNDBETTER",q.Twitter="TWITTER",q.Whatsapp="WHATSAPP",q.Wikipedia="WIKIPEDIA",(X=tu||(tu={})).Line="LINE",X.Text="TEXT",(J=tc||(tc={})).LineSynced="LINE_SYNCED",J.Unknown="UNKNOWN",J.Unsynced="UNSYNCED",($=tp||(tp={})).Description="DESCRIPTION",$.Guest="GUEST",$.Host="HOST",$.Lyrics="LYRICS",$.Name="NAME",$.UnknownField="UNKNOWN_FIELD",(z=t_||(t_={})).ModeMajor="MODE_MAJOR",z.ModeMinor="MODE_MINOR",z.ModeUnknown="MODE_UNKNOWN",(Q=tm||(tm={})).Airplay="AIRPLAY",Q.Automotive="AUTOMOTIVE",Q.Bluetooth="BLUETOOTH",Q.BuiltInSpeaker="BUILT_IN_SPEAKER",Q.CarProjected="CAR_PROJECTED",Q.LineOut="LINE_OUT",Q.UnknownOutputDeviceType="UNKNOWN_OUTPUT_DEVICE_TYPE",(Z=tN||(tN={})).Disabled="DISABLED",Z.Enabled="ENABLED",Z.Unavailable="UNAVAILABLE",(ee=tT||(tT={})).FailedItemInFolder="FAILED_ITEM_IN_FOLDER",ee.FailedItemLimitReached="FAILED_ITEM_LIMIT_REACHED",ee.FailedItemNotSupported="FAILED_ITEM_NOT_SUPPORTED",ee.FailedNotInYourLibrary="FAILED_NOT_IN_YOUR_LIBRARY",ee.Successful="SUCCESSFUL",(et=tE||(tE={})).AgeRestricted="AGE_RESTRICTED",et.CatalogueRestricted="CATALOGUE_RESTRICTED",et.CountryRestricted="COUNTRY_RESTRICTED",et.Explicit="EXPLICIT",et.PaymentRequired="PAYMENT_REQUIRED",et.Playable="PLAYABLE",et.Unavailable="UNAVAILABLE",et.Unknown="UNKNOWN",(en=tI||(tI={})).Control="CONTROL",en.ListenAndControl="LISTEN_AND_CONTROL",(ei=ty||(ty={})).AfterUid="AFTER_UID",ei.BeforeUid="BEFORE_UID",ei.BottomOfPlaylist="BOTTOM_OF_PLAYLIST",ei.TopOfPlaylist="TOP_OF_PLAYLIST",(ea=th||(th={})).Add="ADD",ea.Remove="REMOVE",(er=tk||(tk={})).BottomOfPlaylist="BOTTOM_OF_PLAYLIST",er.TopOfPlaylist="TOP_OF_PLAYLIST",(eo=tA||(tA={})).Blocked="BLOCKED",eo.Contributor="CONTRIBUTOR",eo.Unknown="UNKNOWN",eo.Viewer="VIEWER",(es=tf||(tf={})).NewestFirst="NEWEST_FIRST",es.OldestFirst="OLDEST_FIRST",es.Unspecified="UNSPECIFIED",(el=tg||(tg={})).External="EXTERNAL",el.Internal="INTERNAL",el.InternalAndExternal="INTERNAL_AND_EXTERNAL",el.Unknown="UNKNOWN",(ed=tO||(tO={})).Audio="AUDIO",ed.Mixed="MIXED",ed.Unknown="UNKNOWN",ed.Video="VIDEO",(eu=tv||(tv={})).Podcast="PODCAST",eu.Show="SHOW",eu.Unknown="UNKNOWN",(ec=tS||(tS={})).OneDimension="ONE_DIMENSION",ec.TwoDimension="TWO_DIMENSION",ec.ZeroDimension="ZERO_DIMENSION",(ep=tb||(tb={})).Free="FREE",ep.Premium="PREMIUM",(e_=tR||(tR={})).AddToLibrary="ADD_TO_LIBRARY",e_.Navigate="NAVIGATE",e_.NotInterested="NOT_INTERESTED",e_.Play="PLAY",e_.Share="SHARE",(em=tC||(tC={})).Album="ALBUM",em.Artist="ARTIST",em.Audiobook="AUDIOBOOK",em.Default="DEFAULT",em.Playlist="PLAYLIST",em.Podcast="PODCAST",em.Track="TRACK",em.Video="VIDEO",(eN=tP||(tP={})).TextAnnouncement="TEXT_ANNOUNCEMENT",eN.TextBase="TEXT_BASE",eN.TextBrightAccent="TEXT_BRIGHT_ACCENT",eN.TextNegative="TEXT_NEGATIVE",eN.TextPositive="TEXT_POSITIVE",eN.TextSubdued="TEXT_SUBDUED",eN.TextWarning="TEXT_WARNING",(eT=tw||(tw={})).AfterUri="AFTER_URI",eT.BeforeUri="BEFORE_URI",eT.BottomOfRootlist="BOTTOM_OF_ROOTLIST",eT.TopOfRootlist="TOP_OF_ROOTLIST",(eE=tL||(tL={})).ShowContentAudiobook="SHOW_CONTENT_AUDIOBOOK",eE.ShowContentCreatorChannel="SHOW_CONTENT_CREATOR_CHANNEL",eE.ShowContentUnknown="SHOW_CONTENT_UNKNOWN",(eI=tx||(tx={})).ShowTypeAdaptation="SHOW_TYPE_ADAPTATION",eI.ShowTypeExclusive="SHOW_TYPE_EXCLUSIVE",eI.ShowTypeOriginal="SHOW_TYPE_ORIGINAL",(ey=tD||(tD={})).Actor="ACTOR",ey.Composer="COMPOSER",ey.Conductor="CONDUCTOR",ey.Featured="FEATURED",ey.Main="MAIN",ey.Orchestra="ORCHESTRA",ey.Remixer="REMIXER",ey.Unknown="UNKNOWN",(eh=tM||(tM={})).DoNotTranslate="DO_NOT_TRANSLATE",eh.Translate="TRANSLATE",(ek=tU||(tU={})).Abp="ABP",ek.AnchorPaywall="ANCHOR_PAYWALL",ek.AudiobookDirectSales="AUDIOBOOK_DIRECT_SALES",ek.AudiobookPromotion="AUDIOBOOK_PROMOTION",ek.OapLinking="OAP_LINKING",ek.OapOtp="OAP_OTP",ek.Unknown="UNKNOWN",(eA=tB||(tB={})).ManifestId="MANIFEST_ID",eA.Url="URL",(ef=tG||(tG={})).Album="ALBUM",ef.Episode="EPISODE",ef.Unknown="UNKNOWN",ef.WhatsNewFeedNotification="WHATS_NEW_FEED_NOTIFICATION",(eg=tj||(tj={})).Hidden="HIDDEN",eg.New="NEW",eg.Seen="SEEN",eg.Unknown="UNKNOWN";let t5={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"addEntitiesToLibrary"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"uris"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"addLibraryItems"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"uris"},value:{kind:"Variable",name:{kind:"Name",value:"uris"}}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"library"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}}]}}]}}]}}]},t4={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"areAlbumsInLibrary"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"uris"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"albums"},arguments:[{kind:"Argument",name:{kind:"Name",value:"uris"},value:{kind:"Variable",name:{kind:"Name",value:"uris"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Album"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"saved"}}]}}]}}]}}]},t7={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"areArtistsInLibrary"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"uris"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"artists"},arguments:[{kind:"Argument",name:{kind:"Name",value:"uris"},value:{kind:"Variable",name:{kind:"Name",value:"uris"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Artist"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"saved"}}]}}]}}]}}]},t6={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"areTracksInLibrary"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"uris"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tracks"},arguments:[{kind:"Argument",name:{kind:"Name",value:"uris"},value:{kind:"Variable",name:{kind:"Name",value:"uris"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Track"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"saved"}}]}}]}}]}}]},t8={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"areShowsInLibrary"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"uris"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"podcasts"},arguments:[{kind:"Argument",name:{kind:"Name",value:"uris"},value:{kind:"Variable",name:{kind:"Name",value:"uris"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Audiobook"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"saved"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Podcast"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"saved"}}]}}]}}]}}]},ne={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"areEpisodesInLibrary"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"uris"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"episodes"},arguments:[{kind:"Argument",name:{kind:"Name",value:"uris"},value:{kind:"Variable",name:{kind:"Name",value:"uris"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Episode"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"saved"}}]}}]}}]}}]},nt={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"arePlaylistsInLibrary"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"uris"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"playlistsV2"},arguments:[{kind:"Argument",name:{kind:"Name",value:"uris"},value:{kind:"Variable",name:{kind:"Name",value:"uris"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Playlist"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"following"}}]}}]}}]}}]},nn={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"removeEntitiesFromLibrary"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"uris"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"removeLibraryItems"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"uris"},value:{kind:"Variable",name:{kind:"Name",value:"uris"}}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"library"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}}]}}]}}]}}]};var ni=n(44096);function na(e){return e===t0.JM.ALBUM||e===t0.JM.ARTIST||e===t0.JM.TRACK||e===t0.JM.SHOW||e===t0.JM.EPISODE||e===t0.JM.PLAYLIST_V2}function nr(e){return e.map(e=>{if("GenericError"===e.__typename||"NotFound"===e.__typename||"RestrictedContent"===e.__typename||"Chapter"===e.__typename)throw Error(`The typename: ${e.__typename} is not supported`);return"Playlist"===e.__typename?!!e?.following:!!e?.saved})}class no{constructor(e){this.requestGQL=e,this._events=new ni.S,this._cache=new Map,this._pendingRequests=new Map}getEvents(){return this._events}async add(){let e;for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];if(n.length){n.forEach(t=>{if(!(e=(0,t0.EC)(t))||!na(e.type))throw Error(`Unknown URI type: ${e?.type}`)});try{let t=e?.type===t0.JM.PLAYLIST_V2?await this.requestGQL(t3,{newPosition:{fromUri:null,moveType:tw.TopOfRootlist},uris:n}):await this.requestGQL(t5,{uris:n});if(!t||t.errors)throw Error("GraphQL query failed");if(!t?.errors)for(let e of n)this._cache.set(e,!0),this._events.emit(ni.E.UPDATE_ITEM,{uri:e,isInLibrary:!0})}catch(e){throw Error(`Error adding ${JSON.stringify(n)} to library: ${e}`)}}}async remove(){let e;for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];if(n.length){n.forEach(t=>{if(!(e=(0,t0.EC)(t))||!na(e.type))throw Error(`Unknown URI type: ${e?.type}`)});try{let t=e?.type===t0.JM.PLAYLIST_V2?await this.requestGQL(t2,{uris:n}):await this.requestGQL(nn,{uris:n});if(!t||t.errors)throw Error("GraphQL query failed");for(let e of n)this._cache.set(e,!1),this._events.emit(ni.E.UPDATE_ITEM,{uri:e,isInLibrary:!1})}catch(e){throw Error(`Error removing ${JSON.stringify(n)} from library: ${e}`)}}}async containsEntitiesOfType(e,t){if(0===t.length)return[];let n=async e=>{let n=await this.requestGQL(e,{uris:t});if(!n||n.errors)throw Error("GraphQL query failed");return n};switch(e){case t0.JM.ALBUM:return nr((await n(t4)).data.albums);case t0.JM.ARTIST:return nr((await n(t7)).data.artists);case t0.JM.TRACK:return nr((await n(t6)).data.tracks);case t0.JM.SHOW:return nr((await n(t8)).data.podcasts);case t0.JM.EPISODE:return nr((await n(ne)).data.episodes);case t0.JM.PLAYLIST_V2:return nr((await n(nt)).data.playlistsV2);default:throw Error(`Unknown URI type: ${e}`)}}containsSync(e){return this._cache.get(e)}async contains(){for(var e,t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];let a=[];{let e=[];if(n.forEach(t=>{let n=this._cache.get(t);void 0!==n?e.push(n):a.push(t)}),e.length===n.length)return e}let r=(e=e=>{let t=(0,t0.EC)(e);if(null===t||!na(t.type))throw Error(`Unknown URI type: ${t?.type}`);return t.type},a.reduce((t,n)=>{let i=e(n);return(t[i]=t[i]||[]).push(n),t},{}));return await Promise.all(Object.entries(r).map(async e=>{let t,[n,i]=e,a=i.join(",");this._pendingRequests.has(a)?t=this._pendingRequests.get(a):(t=this.containsEntitiesOfType(n,i),this._pendingRequests.set(a,t));let r=await t;i.forEach((e,t)=>{this._cache.set(e,r[t]),this._events.emit(ni.E.UPDATE_ITEM,{uri:e,isInLibrary:r[t]})}),this._pendingRequests.delete(a)})),n.map(e=>this._cache.get(e))}}var ns=n(56361);let nl=e=>{let{instance:t,children:n}=e;return(0,tF.jsx)(ns.H.Provider,{value:{instance:t},children:n})};var nd=n(33254),nu=n(47582),nc=n(63770),np=n(83454);let n_=np.env.DEBUG_EVENT_SENDER,nm=(e,t,n)=>{let i=(0,nu.createEventSender)({transport:e,suppressPersist:!1,context:[(0,nc.createClientIdContext)(t),(0,nc.createApplicationContext)({version:np.env.__BUILD_VERSION__}),(0,nc.createUserAgentContext)(),(0,nc.createCorrelationIdContext)(n)]});return n_&&(i._send=i.send,i.send=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];return console.log("EventSender.send"),console.table(e),i._send(e,...n)},i.addListeners({[nu.EventSenderEvent.UPLOAD_SUCCEEDED]:e=>{console.log(`EventSender: uploaded ${e.data.num_events} events`)},[nu.EventSenderEvent.UPLOAD_FAILED]:e=>{console.error("EventSender: upload failed",e)}})),i};var nN=n(26112),nT=n(17033);async function nE(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1e3;try{return await e()}catch(i){if(t)return await new Promise(e=>setTimeout(e,n)),nE(e,t-1,n);throw Error("Import failed after retry.",{cause:i})}}let nI=async(e,t,i)=>{if(!(0,nN.k)(t)&&await i===nT.d.FULL){let{createHarmonyPlayer:t}=await nE(()=>Promise.all([n.e(9786),n.e(5270),n.e(25),n.e(2446)]).then(n.bind(n,5690)));return t(e)}let{createOverturePlayer:a}=await nE(()=>Promise.all([n.e(5270),n.e(8585),n.e(2768)]).then(n.bind(n,44336)));return a(e,t)};var ny=n(71934),nh=n(22622);let nk=e=>{var t,n;let a;if(i)return i;let r=(0,ny.qy)({providers:{endpoints:(0,ny.uG)(),token:(t=e.tokenFromServer,n=async()=>{let e;if(t&&!(Date.now()>=t.accessTokenExpirationTimestampMs))e=t;else{if(null===(e=(await tZ.b.getInstance().build().withPath("/embed/api/token").withoutMarket().withoutAuthorization().withEndpointIdentifier("/embed/api/token").send()).body))throw Error("Token is currently unavailable.");tZ.b.setSession(e)}let{accessToken:n,accessTokenExpirationTimestampMs:i}=e;return[n,Math.floor(((i||0)-Date.now())/1e3)]},a=null,async()=>{let e;if(a)return a;a=n();try{e=await a}finally{a=null}return e})},disconnectBeforeUnload:!0,reconnectionRetries:3,requestMode:"fetch"});return e.useDealer&&r.addPlugin(nh.dv,{WebSocket:WebSocket}),r.on(ny.G0.CONNECTED,()=>{r.isAuthenticated()||r.authenticate()}),r.on(ny.G0.DISCONNECTED,()=>{r.connect()}),r.connect(),i=r,r};var nA=n(59188),nf=n(28936);let ng=(0,tY.createContext)(null),nO=e=>{let{instance:t,children:n}=e;return(0,tF.jsx)(ng.Provider,{value:t,children:n})};var nv=n(95829),nS=n(68356),nb=n(53894),nR=n(98191),nC=n(968),nP=n(62126),nw=n(49792),nL=n(1504),nx=n(93670),nD=e=>t=>{let{data:{entity:n},settings:{session:{isAnonymous:i=!1}}}=t.getState(),a=n?.uri??"";function r(t){return e.send((0,nR.l)(t))}let{osName:o,osVersion:s,browserName:l,browserVersion:d}=(0,nx.H)(),u=(0,nL.b)();return e=>n=>{let{data:c,settings:p}=t.getState(),_=(0,t0.EC)(c.embeded_entity_uri),m=c.entity?.isAudiobook?nC.p.AUDIOBOOK:_?.type,N={device_type:p.isMobile||p.isTablet?"mobile":"desktop",view_uri:a,entity_uri:_?.toURI(),entity_type:m,embed_is_video:!!p.isVideoEmbed,page_url:window.location.href,referrer:u,viewport_width:window.innerWidth,viewport_height:window.innerHeight,is_authenticated:!i,browser_name:l,browser_version:d,os_name:o,os_version:s};switch(n.type){case nw.N:r({...N,action_type:"pageview",action_intent:null,action_item_id:null,item_uri:null});break;case nP.C:r({...N,action_type:n.interactionData.action_type,action_intent:n.interactionData.action_intent,action_item_id:n.interactionData.action_item_id,item_uri:n.interactionData.item_uri})}return e(n)}},nM=n(27272),nU=n(76892);let nB={initialized:!1,showOverflowMenu:!1,playbackMode:nT.d.UNKNOWN,currentPreviewTrackIndex:0};var nG=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:nB,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case nw.q:return{...e,initialized:!0};case nU.RA:return{...e,showOverflowMenu:!0};case nU.gm:return{...e,showOverflowMenu:!1};case nT.L:return{...e,playbackMode:t.playbackMode};case t$.sV:return{...e,currentPreviewTrackIndex:t.index};default:return e}},nj=e=>(0,nS.UY)({data:()=>e.data,settings:()=>e.settings,machineState:nG});let nF=()=>nS.qC;var nW=n(54751);function nV(e){if("undefined"!=typeof TextEncoder)return new TextEncoder().encode(e);let t=new Uint8Array(e.length);for(let n=0;n<e.length;n+=1)t[n]=e.charCodeAt(n);return t}var nH=n(42474),nY=n.n(nH);let nK=async function(e){let t=nV(e);return nY().createHash("sha256").update(t).digest("hex")};class nq{static #e=this.encode=nV;static #t=this.hash=nK}var nX=n(83456);function nJ(e){return"OperationDefinition"===e.kind}let n$="https://api-partner.spotify.com/pathfinder/v1";async function nz(e){return{persistedQuery:{version:1,sha256Hash:await nq.hash(e.body)}}}async function nQ(e,t,n,i,a){let{type:r,name:o}=t;return e.build().withHost(n$).withMethod("mutation"===r?"POST":"GET").withoutMarket().withPath("/query").withJsonContentType().withRetries({retries:2,retryDelay:800,retryOn:[503]}).withQueryParameters({operationName:o,variables:JSON.stringify(n),extensions:JSON.stringify(i),...a}).withEndpointIdentifier(`/query/${o}`).send()}async function nZ(e,t,n,i,a){let{name:r,body:o}=t;return e.build().withHost(n$).withMethod("POST").withoutMarket().withPath("/query").withJsonContentType().withBody({operationName:r,variables:n,query:o,extensions:i}).withQueryParameters({...a}).withEndpointIdentifier(`/query/${r}`).send()}async function n0(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=await nz(t);try{let r=await nQ(e,t,n,a,i);if(r.body?.errors?.some(e=>"PersistedQueryNotFound"===e.message))return nZ(e,t,n,a,i);return r}catch(r){if(r instanceof nW.mk&&405===r.status)return nZ(e,t,n,a,i);throw r}}var n9=n(35775);async function n1(){let{checkPlatform:e}=await Promise.all([n.e(9786),n.e(8581)]).then(n.bind(n,68581));return e()}let n3=()=>n1().catch(()=>!1),n2=e=>{let{settings:{session:t}}=e;return!!(!t.accessToken||t.isAnonymous)},n5=e=>{let{settings:t}=e;return!!t.isMobile},n4=e=>{let{settings:t}=e;return!!t.isSafari},n7=["spotify:show:4rOoJ6Egrf8K2IrywzwOMk","spotify:show:3jtZt3VSBbBJPwrCGIeyc0"],n6=(e,t)=>{let n=(0,nN.k)(t);return n&&(e||t.data.defaultAudioFileObject.passthrough!==t$.Zq.NONE&&t.data.defaultAudioFileObject.passthroughUrl)||!n&&e&&!n2(t)&&!n5(t)&&!n4(t)||!e&&n7.includes(t.data.entity?.relatedEntityUri)&&t.data.entity?.hasVideo?nT.d.FULL:nT.d.PREVIEW},n8=e=>{let{children:t}=e,{state:n,config:i}=e,[a,r]=(0,tY.useState)((0,nM.xC)({reducer:nj(n),preloadedState:n})),[o,s]=(0,tY.useState)(null),[l,d]=(0,tY.useState)(null),[u,c]=(0,tY.useState)(null),[p]=(0,tY.useState)(()=>(0,tH.o)(e.config.strings,tQ()));return(0,nd.u)(i),(0,tY.useEffect)(()=>{var e;tZ.b.setSession(n.settings.session);let t=nk({useDealer:!n.settings.session.isAnonymous,tokenFromServer:n.settings.session}),a=n3().then(e=>n6(e,n));nI(t,n,a).then(e=>{let{playerAPI:t}=e;d(t)}),c(new no((e=tZ.b.getInstance(),async function(t,n){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=function(e){let t=e.definitions.filter(nJ);if(0===t.length)throw Error("No GraphQL operation definition found in document!");if(t.length>1)throw Error("Too many GraphQL operation definitions found in document! Expected exactly one.");let[n]=t;if(void 0===n.name)throw Error("Nameless GraphQL operations are not supported!");return{type:n.operation,name:n.name.value,body:(0,nX.S)(e)}}(t);if("subscription"===a.type)throw Error("GraphQL subscriptions are not supported!");return(await n0(e,a,n,i)).body})));let{correlationId:o,clientId:l}=i,u=nm(t,l,o);s(u);let p=function(e,t){let n=nF(),i=[nD(t),nb.Z];return(0,nM.xC)({reducer:nj(e),preloadedState:e,middleware:e=>e({immutableCheck:!1,composeEnhancer:n}).concat(i)})}(n,u);a.then(e=>(p.dispatch({type:nT.L,playbackMode:e}),e)),r(p)},[n,i]),function(e,t){let{triggerPlaybackOperation:n}=(0,tz.t)(e,t),i=(0,tY.useRef)(!1);(0,tY.useEffect)(()=>{if(!e)return()=>{};let a=i=>{let a=t.getState().settings.isVideoEmbed&&t.getState().data?.entity?.hasVideo;switch(i.data?.command){case eS.PLAY:case eS.PLAY_FROM_START:n((0,tq.hY)(a?t$.yp.VIDEO:t$.yp.AUDIO)),t.dispatch((0,tX._)({page:window.location.pathname,action_intent:"play",action_type:"iframe-api"}));break;case eS.PAUSE:n((0,tq.wO)()),t.dispatch((0,tX._)({page:window.location.pathname,action_intent:"pause",action_type:"iframe-api"}));break;case eS.RESUME:e.getState()?.hasContext?n((0,tq.v4)()):n((0,tq.hY)()),t.dispatch((0,tX._)({page:window.location.pathname,action_intent:"resume",action_type:"iframe-api"}));break;case eS.TOGGLE_PLAY:n((0,tq.Xh)()),t.dispatch((0,tX._)({page:window.location.pathname,action_intent:"toggle",action_type:"iframe-api"}));break;case eS.SEEK:{let e=parseInt(i.data?.timestamp,10);n((0,tq.O7)(1e3*e)),t.dispatch((0,tX._)({page:window.location.pathname,action_intent:"seek",action_type:"iframe-api"}))}break;case eS.LOAD_COMPLETE_ACK:t.dispatch((0,tX._)({page:window.location.pathname,action_intent:"load-episode",action_type:"iframe-api"}));break;default:return}};return window.addEventListener("message",a),i.current||(window.parent&&window.parent.postMessage({type:ev.READY},"*"),i.current=!0),()=>{window.removeEventListener("message",a)}},[e,t,n,i]),(0,tY.useEffect)(()=>(function(e){if(window.parent&&e){let t=e=>{if(e.data){let{isPaused:t,isBuffering:n,duration:i,positionAsOfTimestamp:a}=e.data;window.parent.postMessage({type:ev.PLAYBACK_UPDATE,payload:{isPaused:t,isBuffering:n,duration:i,position:a}},"*")}};return e.getEvents().addListener(tJ.rg.UPDATE,t),()=>{e.getEvents().removeListener(tJ.rg.UPDATE,t)}}return()=>{}})(e),[e])}(l,a),(0,tF.jsx)(tK.zt,{store:a,serverState:a.getState(),children:(0,tF.jsx)(nl,{instance:u,children:(0,tF.jsx)(tH.wj.Provider,{value:p,children:(0,tF.jsx)(tH.Iw,{value:e.config.locale,children:(0,tF.jsx)(nO,{instance:o,children:(0,tF.jsx)(nA.l,{reduxStore:a,playerAPI:l,children:(0,tF.jsxs)(tV.u,{children:[(0,tF.jsx)("base",{target:e.state.settings.isMobile?"_top":"_blank"}),(0,tF.jsx)(tW.xB,{styles:n9.ue}),(0,tF.jsx)(nv.b,{children:(0,tF.jsx)(nf.v,{children:t})})]})})})})})})})}},8950:function(e,t,n){"use strict";n.d(t,{D:function(){return p}});var i=n(85893),a=n(94184),r=n.n(a),o=n(67294),s=n(9473),l=n(32091),d=n(28065),u=n(48247),c=n.n(u);let p=e=>{let{className:t,onClick:n}=e,a=(0,s.I0)(),u=(0,o.useCallback)(e=>a((0,d._)(e)),[a]),p=(0,l.y)({productName:"embed_player_p"});return(0,i.jsx)("div",{onClick:()=>{n&&n(),u({action_type:"click",action_intent:"deeplink",action_item_id:"cover-art"}),window.open(p?.embeddedEntity,"_blank")},"aria-hidden":!0,className:r()(c().coverArt,t)})}},53118:function(e,t,n){"use strict";var i=n(85893),a=n(94507),r=n(67294),o=n(95829),s=n(46883),l=n.n(s);let d=e=>e>550?64:24;t.Z=e=>{let{title:t,description:n,links:s}=e,[u,c]=(0,r.useState)(32),{height:p}=(0,r.useContext)(o.h);return(0,r.useEffect)(()=>{p&&c(d(p))},[p]),(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)("div",{className:l().wrapper,children:[(0,i.jsx)("div",{className:l().icon,children:(0,i.jsx)(a.V,{iconSize:u})}),(0,i.jsxs)("div",{className:l().content,children:[(0,i.jsx)("h1",{className:l().title,children:t}),(0,i.jsx)("p",{className:l().description,children:n}),(0,i.jsx)("div",{className:l().links,children:(e=>{let t=e.map(e=>(0,i.jsx)("a",{target:"_blank",href:e.href,className:e.isPrimaryStyle?l().primary:"",children:e.title},e.href));return(0,i.jsx)(i.Fragment,{children:t.map(e=>e)})})(s)})]})]})})}},20759:function(e,t,n){"use strict";n.d(t,{R:function(){return m}});var i=n(85893),a=n(94184),r=n.n(a),o=n(67294),s=n(9473);let l=()=>!1,d=e=>{let t=(0,o.useMemo)(()=>l()?null:window.matchMedia(e),[e]),[n,i]=(0,o.useState)(()=>!t||t.matches);return(0,o.useEffect)(()=>{if(!t||!t.addEventListener)return()=>{};let e=e=>{i(e.matches)};return t.addEventListener("change",e),()=>{t.removeEventListener("change",e)}},[t]),n},u=()=>d("(prefers-reduced-motion: reduce)");var c=n(24697),p=n(25975),_=n.n(p);let m=e=>{let{children:t,title:n,speed:a=.2,pauseAtEndEdgeDurationMs:l=1200,initialMouseIntDelayMs:d=200,startAnimationOnMount:p=!0,startAnimationOnMountDelayMs:m=1e3,iterationCount:N="infinite",scrollMethod:T="transform"}=e,E=(0,o.useRef)(null),I=(0,o.useRef)(null),y=(0,o.useRef)(null),h=(0,o.useRef)(0),k=(0,o.useRef)("scrolling"),A=(0,s.v9)(e=>e.settings.rtl)?"rtl":"ltr",f=(0,o.useRef)(void 0),g=u(),O=(0,o.useRef)({initialMouseInteraction:null,animationOnMount:null}),v=(0,o.useCallback)(()=>y.current&&E.current?y.current.clientWidth-E.current.clientWidth:0,[]),S=(0,o.useCallback)(()=>f&&"rtl"===f.current?1:-1,[f]),b=(0,o.useCallback)(()=>{let e=v();return e>0&&A!==f.current?0+-1*S()*e:0},[v,A,S]),R=(0,o.useCallback)(()=>{y.current?.style.setProperty("--trans-x",`${b()}px`)},[b]),C=(0,o.useCallback)(()=>{if(g||h.current)return;let e=!1,t=0,n=1,i=!1,r=o=>{let s=v();if(s<=0)return;let d=!0,u=t;if(e){if(i?o>i+l&&(i=!1):"paused"===k.current||((u+=(o-e)*60/1e3*n*a)>s?(n*=-1,i=o,u=s):u<0&&(n*=-1,i=o,u=0,d="infinite"===N)),t=u,"transform"===T){let e=S()*t+b();y.current?.style.setProperty("--trans-x",`${e}px`),I.current.scrollLeft=0}else"scroll"===T&&(I.current.scrollLeft=t)}e=o,h.current=0,d&&(h.current=requestAnimationFrame(r))};k.current="scrolling",r(0)},[a,l,T,S,b,v,g,N]),P=(0,o.useCallback)(()=>h.current,[]),w=(0,o.useCallback)(()=>{k.current="paused"},[]),L=(0,o.useCallback)(()=>{k.current="scrolling"},[]),x=(0,o.useCallback)(()=>{cancelAnimationFrame(h.current),k.current="paused",h.current=0},[]),D=(0,o.useCallback)(()=>{Object.values(O.current).forEach(e=>e&&clearTimeout(e))},[]),M=(0,o.useCallback)(e=>{P()?w():"focus"!==e&&(O.current.initialMouseInteraction=setTimeout(C,d))},[C,w,d,P]),U=(0,o.useCallback)(()=>{O.current.initialMouseInteraction&&clearTimeout(O.current.initialMouseInteraction),P()&&L()},[L,P]);return(0,o.useEffect)(()=>{p&&(O.current.animationOnMount&&clearTimeout(O.current.animationOnMount),O.current.animationOnMount=setTimeout(C,m))},[C,m,p]),(0,o.useEffect)(()=>()=>{x(),D(),R()},[x,D,R]),(0,o.useEffect)(()=>{let e=y.current?.children[0];e&&(f.current=getComputedStyle(e).direction,"rtl"===f.current&&E.current?.classList.add(_().containerRtl)),R()},[A,b,R]),function(e){let t=(0,c.y1)(e,100,{leading:!0});(0,o.useEffect)(()=>(window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t),t.cancel()}),[t])}(()=>{x(),R()}),(0,i.jsx)("div",{ref:E,className:_().container,onMouseOver:()=>M("mouse"),onFocus:()=>M("focus"),onMouseOut:U,onBlur:U,title:g&&n?n:void 0,children:(0,i.jsx)("div",{ref:I,className:r()(_().scrollableContainer,{[_().gradient]:v()>0}),children:(0,i.jsx)("div",{ref:y,className:_().inner,children:t})})})}},71973:function(e,t,n){"use strict";n.d(t,{S:function(){return A}});var i=n(85893),a=n(94184),r=n.n(a),o=n(17296),s=n(14957),l=n(43485),d=n(5996),u=n(67294),c=n(9473),p=n(47229),_=n(23392),m=n(96494);let N=async(e,t,n)=>{let{utmParameters:i,customData:a,linkPreview:r}=n,o=await e.build().withHost("https://spclient.wg.spotify.com/url-dispenser/v1").withPath("/generate-url").withMethod("POST").withJsonContentType().withoutMarket().withEndpointIdentifier("/v1/generate-url").withBody({spotify_uri:t,custom_data:a,link_preview:r,utm_parameters:i}).send();if(201===o.status)return o.body;throw Error(`Failed to get short link for uri ${t}`)},T=async(e,t)=>(await N(e,t,{}).catch(()=>({shareable_url:m.EC(t)?.toURL()}))).shareable_url??null;var E=n(28065),I=n(26112);async function y(e){if("clipboard"in navigator)try{if("string"==typeof e)return await navigator.clipboard.writeText(e);if(navigator.clipboard.write)return await navigator.clipboard.write([new ClipboardItem({"text/plain":e.then(e=>new Blob([e],{type:"text/plain"}))})]);let t=await e;return await navigator.clipboard.writeText(t)}catch(e){throw Error(`Failed to copy to clipboard using Clipboard API. ${e.message}`)}return Promise.resolve()}var h=n(5297),k=n.n(h);let A=e=>{let{className:t}=e,n=(0,c.v9)(I.w),[a,m]=(0,u.useState)(!1),[N,h]=(0,u.useState)(null),A=(0,c.I0)(),{isCompactLegacy:f}=(0,p.M)(),g=(0,d.NT)(),O=async e=>{await y(e),A((0,E._)({action_type:"click",action_intent:"clipboard-copy"})),m(!0)},v=async()=>{if(!a&&n){if(N)await O(N);else{let e=await T(_.b.getInstance(),n);e&&await O(e),h(e)}}};return(0,u.useEffect)(()=>{a&&setTimeout(()=>m(!1),2e3)},[a]),(0,u.useEffect)(()=>{h(null)},[n]),(0,i.jsx)(o.o,{semanticColor:"textBase",disabled:!n,className:r()(t,{[k().clicked]:a}),onClick:e=>{e.stopPropagation(),v()},iconLeading:f?void 0:s.o,condensed:!0,children:(0,i.jsx)(l.x,{className:r()(k().truncator,k().copyLinkText),children:a?g("embed_success_share_link","Copied to clipboard","Text on a button when an entity link was copied to a clipboard"):g("spe.copy_link","Copy link","Text on a button that copies an entity link to a clipboard")})})}},1594:function(e,t,n){"use strict";n.d(t,{I:function(){return S}});var i=n(85893),a=n(17296),r=n(94507),o=n(96797),s=n(28527),l=n(5996),d=n(94184),u=n.n(d),c=n(54483),p=n.n(c),_=n(67294),m=n(9473),N=n(32091),T=n(47229),E=n(39911),I=n(28065),y=n(90417),h=n(26112),k=n(17033),A=n(97828),f=n(23532),g=n(71973),O=n(32404),v=n.n(O);let S=e=>{let{playOnSpotifyClick:t,visible:n}=e,d=(0,N.y)({productName:"embed_player_p"}),c=(0,l.NT)(),O=(0,E.l)(),S=(0,m.v9)(e=>e.machineState.playbackMode),b=(0,_.useRef)(null),R=(0,m.I0)(),C=()=>{R((0,y.h6)()),R((0,I._)({action_type:"click",action_intent:"close-context-menu"}))},{isCompactLegacy:P}=(0,T.M)(),w=(0,m.v9)(e=>(0,h.k)(e)||e.data.entity?.isAudiobook?e.data.entity.relatedEntityUri:e.data.entity.uri),L=c("play_on_spotify","Play on Spotify","Button that plays the viewed content in the Spotify client");return(0,i.jsx)(i.Fragment,{children:S!==k.d.UNKNOWN&&(0,i.jsx)(p(),{active:n,focusTrapOptions:{onDeactivate:C},children:(0,i.jsxs)("div",{ref:b,className:u()(v().wrapper,{[v().visible]:n}),children:[(0,i.jsxs)("div",{className:u()(v().menuContent,{[v().visible]:n}),children:[(0,i.jsxs)("ul",{className:u()(v().menu,{[v().visible]:n}),children:[(0,i.jsx)("li",{className:v().menuItem,children:(0,i.jsx)("a",{className:v().menuItemButton,tabIndex:-1,href:d.embeddedEntity,target:"_blank",children:(0,i.jsx)(a.o,{semanticColor:"textBase",className:v().menuItemButton,onClick:()=>{t&&t(),R((0,I._)({action_type:"click",action_intent:"deeplink",action_item_id:"play-on-spotify"}))},iconLeading:P?void 0:r.V,"aria-label":L,condensed:!0,children:(0,i.jsx)("div",{className:v().truncator,children:L})})})}),(0,i.jsx)("li",{className:v().menuItem,children:(0,i.jsx)(A.w,{uri:w,className:v().adaptToOverflowMenu,mainView:!1})}),(0,i.jsx)("li",{className:v().menuItem,children:(0,i.jsx)(g.S,{className:v().menuItemButton})})]}),(0,i.jsxs)("div",{className:v().policies,children:[(0,i.jsx)(o.h,{className:v().link,href:"https://www.spotify.com/legal/privacy-policy/",target:"_blank",onClick:()=>{R((0,I._)({action_type:"click",action_intent:"privacypolicy-show"}))},semanticColor:O?"textSubdued":"textBase",standalone:!0,children:c("spe.privacy_policy","Privacy Policy","Button`s text that opens privacy policy Spotify`s page")}),(0,i.jsx)(f.Z,{className:v().separator,isDynamicColor:O}),(0,i.jsx)(o.h,{className:v().link,href:"https://www.spotify.com/legal",target:"_blank",semanticColor:O?"textSubdued":"textBase",onClick:()=>{R((0,I._)({action_type:"click",action_intent:"termsandconditions-show"}))},standalone:!0,children:c("spe.terms_and_conditions","Terms & Conditions","Button`s text that opens a terms and conditions Spotify`s page")})]})]}),(0,i.jsx)("div",{className:v().closeButton,children:(0,i.jsx)(a.o,{iconOnly:s.k,"aria-label":c("close_button_action","Close","Accessibility label for a close button"),onClick:C,semanticColor:"textBase"})})]})})})}},13162:function(e,t,n){"use strict";n.d(t,{c:function(){return p}});var i=n(85893),a=n(17296),r=n(26734),o=n(5996),s=n(9473),l=n(28065),d=n(90417),u=n(38604),c=n.n(u);let p=()=>{let e=(0,s.I0)(),t=(0,o.NT)()("embed_more","More","Accessibility label for an open context menu button");return(0,i.jsx)(a.o,{condensedAll:!0,size:"small",className:c().overflowMenuButton,semanticColor:"textBase",title:t,"aria-label":t,onClick:()=>{e((0,d.Nn)()),e((0,l._)({action_type:"click",action_intent:"open-context-menu"}))},iconOnly:r.N})}},45019:function(e,t,n){"use strict";n.d(t,{J:function(){return k}});var i=n(85893),a=n(72530),r=n(95972),o=n(4864),s=n(5996),l=n(94184),d=n.n(l),u=n(67294),c=n(9473),p=n(59188),_=n(5603),m=n(28065),N=n(33829),T=n(18303),E=n.n(T),I=()=>(0,i.jsx)("div",{className:E().loadingSpinner}),y=n(34719),h=n.n(y);let k=e=>{let{maxTimeToNotShowLoading:t}=e,n=(0,c.v9)(e=>e.data.entity).isPlayable,{playbackState:l,triggerPlaybackOperation:T}=(0,u.useContext)(p.C),E=l?.isBuffering||!1,y=l?.isDisabled,k=(0,c.I0)(),A=!!l?.hasContext,f=l?.item?.uri,g=!A||(l?.isPaused??!0),O=(0,s.NT)(),v=(0,c.v9)(e=>e.settings.isVideoEmbed),[S,b]=(0,u.useState)(O("page.loading","Loading","Accessibility label for loading spinner")),R=(0,u.useRef)(!1),C=(0,u.useRef)(void 0),P=(0,u.useRef)(void 0),[w,L]=(0,u.useState)(!1);(0,u.useEffect)(()=>{R.current?(E?C.current=setTimeout(()=>{C.current=void 0,E&&L(!0)},t||200):(C&&clearTimeout(C.current),w&&!P&&setTimeout(()=>{L(!1)},300)),w&&(P.current=setTimeout(()=>{P.current=void 0,E||L(!1)},300))):R.current=!0});let x=(0,u.useRef)(null);return(0,u.useEffect)(()=>{y||!n?(b(O("spe.error_heading","Something went wrong","Accessibility label for error message")),x.current=(0,i.jsx)(a.z,{className:h().playPauseIcon,title:S,color:(0,r.TY)("textBase")})):w?(b(O("page.loading","Loading","Accessibility label for loading spinner")),x.current=(0,i.jsx)(I,{})):g?(b(O("embed_play","Play","Accessibility label for a button that plays preview of a track")),x.current=(0,i.jsx)(a.z,{className:h().playPauseIcon,title:S,color:(0,r.TY)("textBase")})):(b(O("embed_pause","Pause","Accessibility label for a button that pauses preview of a track")),x.current=(0,i.jsx)(o.p,{className:h().playPauseIcon,title:S,color:(0,r.TY)("textBase")}))},[w,g,O,S,y,n]),(0,i.jsx)("button",{"data-testid":"play-pause-button",className:d()(h().buttonWrapper,{[h().disabled]:y||!n,[h().adaptForVideo]:v}),onClick:()=>{y||(n?(T((0,_.Xh)(v?N.yp.VIDEO:N.yp.AUDIO)),k((0,m._)({action_type:"click",action_intent:!1===g?"pause":"play",action_item_id:"now-playing-bar",item_uri:f}))):k((0,m._)({action_type:"playback",action_intent:"track-not-available",action_item_id:"now-playing-bar",item_uri:f})))},"aria-label":S,tabIndex:0,children:x.current})}},97164:function(e,t,n){"use strict";n.d(t,{H:function(){return u}});var i=n(85893),a=n(47229),r=n(1861),o=n(13162),s=n(19554),l=n(52377),d=n.n(l);let u=()=>{let{isCompactLegacy:e}=(0,a.M)();return(0,i.jsxs)("div",{className:d().playerControlsWrapper,children:[e&&(0,i.jsx)("div",{className:d().addToLibraryCompactWrapper,children:(0,i.jsx)(r.E,{})}),(0,i.jsx)("div",{className:d().overflowMenuButtonWrapper,children:(0,i.jsx)(o.c,{})}),(0,i.jsx)(s.D,{})]})}},19554:function(e,t,n){"use strict";n.d(t,{D:function(){return E}});var i=n(85893),a=n(17296),r=n(72530),o=n(20652),s=n(5996),l=n(67294),d=n(9473),u=n(59188),c=n(5603),p=n(95829),_=n(28065),m=n(35775),N=n(67510),T=n.n(N);let E=()=>{let e=(0,s.NT)(),[t,n]=(0,l.useState)({left:0,right:0,animationState:0}),[N,E]=(0,l.useState)(!0),{playbackState:I,triggerPlaybackOperation:y}=(0,l.useContext)(u.C),h=I?.duration,k=I?.positionAsOfTimestamp,A=(0,d.v9)(e=>e.data.entity),f=A.isPlayable,g=I?.item?.uri,O=null===A.audioPreview||I?.isDisabled||!f,v=(0,d.I0)(),S=!I?.hasContext||I?.isPaused,b=(0,l.useRef)(!0);b.current=t.right<180;let{height:R}=l.useContext(p.h);(0,l.useEffect)(()=>{R&&E(R>=m.p4.large)},[R]),(0,l.useEffect)(()=>{if(0===k){b.current=!0,n(e=>({...e,left:0,right:0,animationState:2}));return}if(h&&k&&k>0){let e=360*k/h,t=e>180?180:e,i=e>180?e-180:0,a=b.current;n(e=>({...e,left:180===t&&a&&2===e.animationState?0:i,right:t,animationState:0===e.animationState?1:e.animationState}))}},[h,k]),(0,l.useEffect)(()=>{1===t.animationState&&n(e=>({...e,animationState:2}))},[t.animationState]);let C={zIndex:1,transform:`rotate(${t.right}deg)`,transition:0===t.right||2!==t.animationState?"none":"transform 1s ease-in-out"},P={zIndex:2,transform:`rotate(${t.left}deg)`,transition:0===t.left||2!==t.animationState?"none":"transform 1s ease-in-out"},w=()=>{O||(y((0,c.Xh)()),v((0,_._)({action_type:"click",action_intent:I?.isPaused===!1?"pause":"play",action_item_id:"now-playing-bar",item_uri:g})),f||v((0,_._)({action_type:"playback",action_intent:"track-not-available",action_item_id:"now-playing-bar",item_uri:g})))};return(0,i.jsx)("div",{className:T().circularContainer,"data-testid":"preview-play-pause",children:S?(0,i.jsx)(a.o,{disabled:O,"aria-label":e("embed_play","Play","Accessibility label for a button that plays preview of a track"),"data-testid":"play-pause-button",onClick:w,semanticColor:"textBase",condensedAll:!0,children:(0,i.jsx)(r.z,{semanticColor:"textBase",size:N?"xlarge":"large"})}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:T().rangeBarRight,children:(0,i.jsx)("div",{className:T().rangeBarProgress,style:C,"data-testid":"progress-right"})}),(0,i.jsx)("div",{className:T().rangeBarLeft,children:(0,i.jsx)("div",{className:T().rangeBarProgress,style:P,"data-testid":"progress-left"})}),(0,i.jsx)("div",{className:T().circularInner,children:(0,i.jsx)(a.o,{className:T().iconPlayingButton,"aria-label":e("embed_pause","Pause","Accessibility label for a button that pauses preview of a track"),"data-testid":"play-pause-button",onClick:w,semanticColor:"textBase",condensedAll:!0,children:(0,i.jsx)(o.k,{size:N?"large":"medium"})})})]})})}},63301:function(e,t,n){"use strict";n.d(t,{Z:function(){return R}});var i=n(85893),a=n(67294),r=n(9473),o=n(60093),s=n(5603),l=n(59188),d=n(28065),u=n(96494);function c(e){return e===u.JM.TRACK||e===u.JM.ALBUM||e===u.JM.PLAYLIST||e===u.JM.ARTIST?5e3:15e3}var p=n(5996),_=n(94184),m=n.n(_),N=n(24697);let T=e=>{let{onStepForward:t,onStepBackward:n,value:i}=e;return(0,N.y1)(e=>{parseFloat(e.target.value)>i?t?.():n?.()},100,{trailing:!1,leading:!0,maxWait:200})};var E=n(8745),I=n(98395),y=n.n(I),h=n(53606),k=n.n(h);function A(e){let{children:t,...n}=e;return(0,i.jsxs)("label",{className:k().visibleOnlyToScreenReader,children:[t,(0,i.jsx)("input",{...n})]})}function f(e,t,n){let i=e.current;if(null===i)return 0;let a=i.getBoundingClientRect();return"vertical"===n?1-Math.max(0,Math.min((t.clientY-a.top)/a.height,1)):Math.max(0,Math.min((t.clientX-a.left)/a.width,1))}let g=e=>{let{progressBarRef:t,onDragStart:n,onDragMove:i,onDragEnd:r,direction:o="horizontal"}=e,[s,l]=(0,a.useState)(!1),[d,u]=(0,a.useState)(!1),[c,p]=(0,a.useState)(0),_=(0,a.useRef)(n),m=(0,a.useRef)(i),T=(0,a.useRef)(r);_.current=n,m.current=i,T.current=r;let E=(0,N.y1)(e=>{m.current(f(t,e,o))},20,{leading:!0,maxWait:20}),I=(0,a.useCallback)(e=>{0===e.button&&(_.current(f(t,e,o)),l(!0),document.addEventListener("pointermove",E),document.addEventListener("pointerup",e=>{l(!1),E.cancel(),T.current(f(t,e,o)),document.removeEventListener("pointermove",E)},{once:!0}))},[E,t,o]),y=(0,a.useCallback)(e=>{p(f(t,e,o))},[t,o]);return{isDragging:s,onPointerDown:I,onPointerEnter:(0,a.useCallback)(()=>{u(!0),document.addEventListener("pointermove",y)},[y]),onPointerLeave:(0,a.useCallback)(()=>{u(!1),document.removeEventListener("pointermove",y)},[y]),isHovering:d,hoverPercentage:c}};var O=e=>{let{enabled:t,max:n,current:r,withOverhead:o,entityType:s,onDragStart:l,onDragMove:d,onDragEnd:u,onStepBackward:_,onStepForward:N,tooltip:I}=e,h=(0,p.NT)(),k=(0,a.useRef)(null),{isDragging:f,onPointerDown:O,onPointerEnter:v,onPointerLeave:S,isHovering:b,hoverPercentage:R}=g({progressBarRef:k,onDragStart:l,onDragMove:d,onDragEnd:u}),[C,P]=(0,a.useState)(!1),w=Math.max(0,Math.min(1,(r??0)/(n||1))),L=b?R??0:w,x={left:`${100*L}%`,zIndex:1},D={transform:`translateX(-${100-(b?R:0)*100}%)`},M=b&&n?n*R:0,U=C&&n?r??0+c(s):0,B=void 0!==n&&n>0&&(b||C),G={transform:`translateX(-${100-100*w}%)`},j=t&&b||f,F={left:`${100*w}%`},W=T({onStepForward:N,onStepBackward:_,value:r??0});return(0,i.jsxs)("div",{ref:k,onPointerDown:t?O:void 0,onPointerEnter:t?v:void 0,onPointerLeave:t?S:void 0,className:o?y().progressBarContainerWithOverhead:y().progressBarContainer,children:[(0,i.jsx)(A,{disabled:!t,type:"range",min:0,max:n,value:r??0,step:c(s),onChange:e=>(P(!0),W(e)),onKeyDown:e=>"Escape"===e.code&&P(!1),onFocus:()=>P(!0),onBlur:()=>P(!1),"aria-valuetext":` ${(0,E.Z)(r??0)} / ${(0,E.Z)(n??0)} `,children:h("playback-control.a11y.seek-slider-button","Change progress","Text read by accessibility tools explaining what the white dot on the player bar is for")}),B&&I&&(0,i.jsx)(I,{style:x,children:b?(0,E.Z)(M):(0,E.Z)(U)}),(0,i.jsxs)("div",{className:y().progressBarLineBackground,children:[(0,i.jsx)("div",{className:y().progressBarLineActive,style:D}),(0,i.jsx)("div",{"data-testid":"progress-bar-line",id:"progress-bar-line",style:G,className:y().progressBarLine})]}),(0,i.jsx)("div",{"data-testid":"progress-bar-slider",id:"progress-bar-slider",className:m()(y().progressBarSlider,{[y().visible]:j}),style:F})]})},v=n(17438),S=n.n(v);let b=e=>{let{style:t,children:n}=e;return(0,i.jsx)("div",{style:t,className:S().tooltipContainer,children:n})};var R=()=>{let e=(0,r.v9)(e=>e.data.entity),{triggerPlaybackOperation:t,playbackState:n}=(0,a.useContext)(l.C),u=e.isPlayable&&!!n?.hasContext,{metadata:p}=(0,a.useMemo)(()=>(0,o.C)(e),[e]),_=n?.duration||Number(p?.duration),m=n?.item?.uri,[N,T]=(0,a.useState)(null),[E,I]=(0,a.useState)(n?.positionAsOfTimestamp||0),y=null!==N?N:E,h=(0,r.I0)(),k=e=>{h((0,d._)(e))};(0,a.useEffect)(()=>{I(n?.positionAsOfTimestamp||0)},[n?.positionAsOfTimestamp]);let A=e=>{T(e*_)};return(0,i.jsx)(O,{onDragStart:A,onDragMove:A,onDragEnd:e=>{T(null),k({action_type:"click",action_intent:"seek-click",item_uri:m});let n=e*_;I(n),t((0,s.O7)(n))},tooltip:b,max:_,current:y,enabled:u,entityType:e.type,onStepBackward:()=>{I(y-c(e.type)),t((0,s.O7)(y-c(e.type)))},onStepForward:()=>{I(y+c(e.type)),t((0,s.O7)(y+c(e.type)))}})}},22222:function(e,t,n){"use strict";n.d(t,{r:function(){return m}});var i=n(85893),a=n(43485),r=n(5996),o=n(67294),s=n(9473),l=n(60093),d=n(59188),u=n(28065),c=n(8745),p=n(44809),_=n.n(p);let m=()=>{let e=(0,s.v9)(e=>e.data.entity),{playbackState:t}=(0,o.useContext)(d.C),{metadata:n}=(0,o.useMemo)(()=>(0,l.C)(e),[e]),p=t?.duration||Number(n?.duration),[m,N]=(0,o.useState)({dragPosition:null,showRemainingTime:!0}),T=(0,r.NT)(),{showRemainingTime:E,dragPosition:I}=m,[y,h]=(0,o.useState)(T("spe.playback-control.progress-timestamp","Progress timestamp","Accessibility label for a numeric progress display in the currently playing track, in minutes and seconds")),k=0;Number.isFinite(I)?k=I*p:t?.positionAsOfTimestamp&&(k=t?.positionAsOfTimestamp);let A="";A=t?.hasContext||t?.isPaused!==void 0?E?(0,c.Z)((k||0)-p):(0,c.Z)(k||0):(0,c.Z)(p),(0,o.useEffect)(()=>{E?h(`${A} remaining time. Toggle to elapsed.`):h(`${A} elapsed time. Toggle to remaining.`)},[A,E]);let f=A.replace(/\d/g,"0").replace(/^\d/,"-0"),g=(0,s.I0)();return(0,i.jsxs)("button",{className:_().progressTimer,onClick:()=>{N({...m,showRemainingTime:!m.showRemainingTime}),g((0,u._)({action_type:"click",action_intent:"change-time-format"}))},"aria-disabled":!t?.hasContext&&t?.isPaused===void 0||t?.isPaused,tabIndex:!t?.hasContext&&t?.isPaused===void 0||t?.isPaused?-1:0,"aria-pressed":E,"aria-label":y,children:[(0,i.jsx)("span",{className:_().progressTimeSpacer,"aria-hidden":!0,children:f}),(0,i.jsx)(a.x,{className:_().actualProgressTime,"data-testid":"progress-timestamp",semanticColor:"textBase",children:A})]})}},23532:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var i=n(85893),a=n(43485);let r=e=>{let{className:t,isDynamicColor:n=!1}=e;return(0,i.jsx)(a.x,{className:t,"aria-hidden":!0,semanticColor:n?"textSubdued":"textBase",children:"\xb7"})}},32967:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var i=n(85893),a=n(94507),r=n(5996),o=n(67294),s=n(9473),l=n(10427),d=n(32091),u=n(95829),c=n(28065),p=n(35775);let _=(e,t,n)=>e>=p.p4.large&&t>=p.Zo.medium&&!n?"large":e>=p.p4.landscape?"medium":"small";var m=e=>{let{trackListLength:t,className:n,ariaLabel:p,isVideoEntity:m}=e,N=(0,s.I0)(),[T,E]=(0,o.useState)("large"),{width:I,height:y}=o.useContext(u.h),h=(0,d.y)({productName:m?"embed_player_v":"embed_player_p"}),k=(0,r.NT)();return(0,o.useEffect)(()=>{y&&I&&!m&&E(_(y,I,t))},[y,I,t,m]),(0,i.jsx)("a",{className:n,onClick:()=>{N((0,c._)({action_type:"click",action_intent:"deeplink",action_item_id:"spotify-logo"}))},title:"logo",href:h?.embeddedEntity||l.S,role:"button","aria-label":p||k("play_on_spotify","Play on Spotify","Button that plays the viewed content in the Spotify client"),"data-testid":"spotify-logo",children:(0,i.jsx)(a.V,{size:T,semanticColor:"textBase"})})}},72593:function(e,t,n){"use strict";n.d(t,{$:function(){return T}});var i=n(85893),a=n(60182),r=n(5996),o=n(94184),s=n.n(o);n(67294);var l=n(9473),d=n(17033),u=n(94361),c=n(5394);let p=e=>{let{className:t,isPreview:n,isAudiobook:a,isTrailer:o}=e,s=(0,r.NT)(),l="";return n&&!a?l=s("embed_preview","Preview","Text on a preview tag"):o&&(l=s("track-trailer","Trailer","Text on a trailer tag"),a&&(l=s("audiobook.page.sample","Sample","Text on a sample tag"))),(0,i.jsx)(c.V,{className:t,text:l})};var _=n(5833),m=n.n(_);let N=e=>{let{className:t,isPreview:n,isExplicit:o,isAudiobook:l,isTrailer:d}=e,c=(0,r.NT)();return(0,i.jsxs)(a.d,{condensedAll:!0,className:s()(m().tagList,t),"aria-label":c("spe.tags","Tags",'Accessibility label for a list of tags such as "Explicit" and "Preview"'),children:[(0,i.jsx)(p,{isAudiobook:l,isTrailer:d,isPreview:n,className:s()(m().tag,{[m().hidden]:!(n||d)})}),(0,i.jsx)(u.t,{className:s()(m().tag,{[m().hidden]:!o})})]})},T=()=>{let e=(0,l.v9)(e=>e.data.entity?.isExplicit??!1),t=(0,l.v9)(e=>e.machineState.playbackMode),n=(0,l.v9)(e=>e.data.entity?.isAudiobook??!1),a=(0,l.v9)(e=>e.data.entity?.isTrailer??!1),r=t===d.d.PREVIEW;return e||a||n||r?(0,i.jsx)(N,{isPreview:r,isExplicit:e,isAudiobook:n,isTrailer:a,className:m().condensedTags}):null}},94361:function(e,t,n){"use strict";n.d(t,{t:function(){return o}});var i=n(85893),a=n(5996);n(67294);var r=n(5394);let o=e=>{let{className:t,fullText:n=!1}=e,o=(0,a.NT)()("card.a11y.explicit","Explicit","Label for explicit tagging, only read by accessibility tools");return(0,i.jsx)(r.V,{ariaLabel:o,text:n?o:"E",className:t})}},5394:function(e,t,n){"use strict";n.d(t,{V:function(){return u}});var i=n(85893),a=n(43485),r=n(94184),o=n.n(r),s=n(39911),l=n(97338),d=n.n(l);let u=e=>{let{text:t,ariaLabel:n=t,title:r=n,className:l}=e,u=(0,s.l)();return(0,i.jsx)(a.x,{"aria-label":n,className:o()(d().container,l,{[d().isDynamicColor]:u}),title:r,children:t})}},70285:function(e,t,n){"use strict";n.d(t,{Q:function(){return S}});var i=n(85893),a=n(43485),r=n(96797),o=n(5996),s=n(64678),l=n(94184),d=n.n(l),u=n(67294),c=n(9473),p=n(32091),_=n(39911),m=n(5383),N=n(60093),T=n(59188),E=n(5603),I=n(28065),y=n(26112),h=n(96494),k=n(10095),A=e=>{let{uri:t,name:n,onClick:a}=e,o=(0,u.useMemo)(()=>(0,k.bW)((0,h.EC)(t)??void 0,!1).toString(),[t]),s=(0,_.l)();return(0,i.jsx)(r.h,{standalone:!0,semanticColor:s?"textSubdued":"textBase",onClick:a,href:o,children:n})},f=n(20759),g=n(23532),O=n(34115),v=n.n(O);let S=e=>{let{showUpsell:t}=e,n=(0,c.v9)(e=>e.data.entity),{metadata:l}=(0,u.useMemo)(()=>(0,N.C)(n),[n]),{playbackState:h,triggerPlaybackOperation:k}=(0,u.useContext)(T.C),O=h?.isPaused,S=(0,c.v9)(e=>!!e.data.entity?.isAudiobook),b=(0,_.l)(),R=(0,c.I0)(),C=(0,u.useCallback)(e=>R((0,I._)(e)),[R]),P=l?.title||"",w=l?.subtitle||"",L=n.artists,x=new Date(l?.releaseDate||""),D=(0,p.y)({productName:"embed_player_p"}),M=(0,o.bU)(),U=(0,c.v9)(y.k),B=e=>()=>{("title"===e||"cover-art"===e)&&U&&void 0!==O&&k((0,E.wO)()),C({action_type:"click",action_intent:"deeplink",action_item_id:e})},[G,j]=(0,u.useState)(!1);return(0,u.useEffect)(()=>{j(!0)},[]),(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("h2",{className:d()(v().subtitle,{[v().alignBelowUpsell]:t,[v().isAudiobook]:S}),children:(0,i.jsx)(f.R,{title:P,speed:.2,iterationCount:"single",children:(0,i.jsxs)("span",{children:[U&&!S&&(0,i.jsxs)(i.Fragment,{children:[G&&(0,i.jsx)(a.x,{semanticColor:b?"textSubdued":"textBase",children:(0,i.jsx)(s.Id,{options:{day:"numeric",month:"short"},locale:M,date:x})}),(0,i.jsx)(g.Z,{className:v().separator,isDynamicColor:b})]}),w&&(0,i.jsx)(r.h,{standalone:!0,semanticColor:b?"textSubdued":"textBase",dir:"auto",onClick:B("subtitle"),href:D?.compositeEntity,children:w}),L?.length&&L.map((e,t)=>[t>0&&(0,m.f)(M),(0,i.jsx)(A,{uri:e.uri,name:e.name,onClick:B("artist")},e.uri)])]})},P)})})}},86526:function(e,t,n){"use strict";n.d(t,{D:function(){return I}});var i=n(85893),a=n(96797),r=n(94184),o=n.n(r),s=n(67294),l=n(9473),d=n(32091),u=n(60093),c=n(59188),p=n(5603),_=n(28065),m=n(26112),N=n(20759),T=n(34115),E=n.n(T);let I=e=>{let t,{showUpsell:n}=e,r=(0,l.v9)(e=>e.data.entity),{metadata:T}=(0,s.useMemo)(()=>(0,u.C)(r),[r]),{playbackState:I,triggerPlaybackOperation:y}=(0,s.useContext)(c.C),h=I?.isPaused,k=(0,l.I0)(),A=(0,s.useCallback)(e=>k((0,_._)(e)),[k]),f=T?.title||"",g=(0,d.y)({productName:"embed_player_p"}),O=(0,l.v9)(m.k);return(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("h1",{className:o()(E().title,{[E().alignBelowUpsell]:n}),"data-testid":"entity-title",children:(0,i.jsx)(N.R,{title:f,speed:.2,iterationCount:"single",children:(0,i.jsx)(a.h,{standalone:!0,semanticColor:"textBase",onClick:(t="title",()=>{O&&void 0!==h&&y((0,p.wO)()),A({action_type:"click",action_intent:"deeplink",action_item_id:t})}),href:g?.selectedEntity,children:f})},f)})})}},29119:function(e,t,n){"use strict";n.d(t,{Q:function(){return eo}});var i=n(85893),a=n(54483),r=n.n(a),o=n(67294),s=n(9473),l=n(96701),d=n(15384);let u=()=>{let[e,t]=(0,o.useState)(0);return{skipCount:e,incrementSkipCounter:(0,o.useCallback)(()=>{t(e+1)},[e]),resetSkipCounter:(0,o.useCallback)(()=>{t(0)},[])}};var c=n(17033),p=n(59188),_=n(23753),m=n(26112);let N=()=>{let e=(0,s.v9)(e=>{let{machineState:t}=e;return t.playbackMode})===c.d.PREVIEW,{playbackState:t}=(0,o.useContext)(p.C),n=(0,_.k)(t),i=t?.isPaused,a=t?.duration,r=t?.hasContext,l=(0,s.v9)(e=>{let{machineState:t}=e;return t.currentPreviewTrackIndex}),N=(0,s.v9)(e=>{let{data:t}=e;return!!t.entity?.isAudiobook}),T=(0,s.v9)(m.k),E=(0,d.T)(),[I,y]=(0,o.useState)(!1),[h,k]=(0,o.useState)(!1),[A,f]=(0,o.useState)(l+1),{skipCount:g,incrementSkipCounter:O,resetSkipCounter:v}=u();return(0,o.useEffect)(()=>{(l===A||l===A-2)&&(f(()=>A+1),O()),f(()=>l+1)},[l,O,A]),(0,o.useEffect)(()=>{N&&a&&(r&&null!==n&&(n>6e4&&g<1&&(y(!0),O()),n>0&&i&&y(!0)),n===a&&(y(!0),v())),r&&null!==n&&a&&(e?(n>2*a/3||n>0&&i||3===g)&&h!==E&&(k(E),y(!0),v()):T&&(n>a/2||n>0&&i)&&h!==E&&(k(E),y(!0)))},[n,a,e,i,E,r,h,g,v,N,O,T]),{showUpsell:I,setShowUpsell:y}};var T=n(28065),E=n(17296),I=n(28527),y=n(5996),h=n(94184),k=n.n(h),A=n(39911),f=n(8950),g=n(13162),O=n(45019),v=n(52377),S=n.n(v);let b=()=>(0,i.jsxs)("div",{className:S().playerControlsWrapper,children:[(0,i.jsx)("div",{className:S().overflowMenuButtonWrapper,children:(0,i.jsx)(g.c,{})}),(0,i.jsx)("div",{className:S().previewPlayPauseWrapper,children:(0,i.jsx)(O.J,{})})]});var R=n(97164),C=n(72593),P=n(70285),w=n(86526),L=n(75790),x=n.n(L);let D=()=>(0,i.jsx)("div",{className:x().backgroundCoverArt});var M=n(21481),U=n(43485),B=n(32091),G=n(95829),j=n(35775);let F=(e,t)=>e<j.p4.landscape&&t<j.Zo.small||e<j.p4.large?"small":"medium";var W=n(17569),V=n(42657),H=n.n(V);let Y=()=>{let e=(0,B.y)({productName:"embed_player_p"}),t=(0,y.NT)(),{width:n,height:a}=o.useContext(G.h),r=(0,s.I0)(),l=async()=>{r((0,T._)({action_type:"click",action_intent:"deeplink",action_item_id:"get-spotify"})),(0,W.M)({url:e.embeddedEntity})};return(0,i.jsx)("div",{className:H().getSpotifyButton,children:(0,i.jsx)(M.D,{size:F(a,n),colorSet:"invertedLight",onClick:l,children:(0,i.jsx)(U.x,{className:H().buttonText,variant:"titleSmall",children:t("get_spotify","Get Spotify","A button the user can press to download / get the Spotify application")})})})},K=e=>{try{let t=new URL(e);return t.searchParams.set("nd","1"),t.pathname=t.pathname.startsWith("/__noul__")?t.pathname:`__noul__${t.pathname}`,t.toString()}catch{throw Error("Invalid URL")}},q=()=>{let e=(0,B.y)({productName:"embed_player_p"}),t=(0,s.v9)(e=>e.settings.isMobile),n=(0,y.NT)(),{width:a,height:r}=o.useContext(G.h),l=(0,s.I0)();return(0,i.jsx)("div",{className:H().getSpotifyButton,children:(0,i.jsx)(M.D,{size:F(r,a),colorSet:"invertedLight",onClick:()=>{l((0,T._)({action_type:"click",action_intent:"deeplink",action_item_id:"buy-this-audiobook"})),(0,W.M)({url:t?K(e.embeddedEntity):e.embeddedEntity})},children:(0,i.jsx)(U.x,{className:H().buttonText,variant:"titleSmall",children:n("audiobook.embed.buy-this-audiobook","Buy this audiobook","An upsell button that a user can click to redirect them to the Spotify App and buy the book")})})})};var X=n(96494),J=n(38343);let $=()=>{let e=(0,s.v9)(e=>e.data.entity),t=(0,s.v9)(e=>e.settings.session.isAnonymous),n=(0,B.y)({productName:"embed_player_p"}),a=(0,y.NT)(),{width:r,height:l}=o.useContext(G.h),d=(0,s.I0)(),[u,c]=(0,J.Z)(e.relatedEntityUri),p=async()=>{t?(d((0,T._)({action_type:"click",action_intent:"deeplink",action_item_id:"follow"})),(0,W.M)({url:n.compositeEntity})):(d((0,T._)({action_type:"click",action_intent:u?.[e.relatedEntityUri]?"unfollow":"follow"})),await c(!u?.[e.relatedEntityUri]))};return(0,i.jsx)("div",{className:H().getSpotifyButton,children:(0,i.jsx)(M.D,{size:F(l,r),colorSet:"invertedLight",onClick:p,children:(0,i.jsx)(U.x,{className:H().buttonText,variant:"titleSmall",children:(e.type===X.JM.EPISODE||e.type===X.JM.SHOW)&&u?.[e.relatedEntityUri]?a("following","Following","Button`s text that adds an item to the user`s library"):a("follow","Follow","Button`s text that removes an item to the user`s library")})})})};var z=n(8333),Q=n.n(z);let Z=(e,t,n,i,a,r)=>{switch(e){case X.JM.EPISODE:case X.JM.SHOW:if(n)return t("audiobook.embed.upsell_cta","Hooked? Take this audiobook everywhere you go, on Spotify","Text displayed on an upsell menu after a user has listened to 60 seconds of an audiobook sample.");if(i&&!a)return t("spe.podcast_full_upsell_cta","Discover even more from {podcastName}","Text displayed after user has listened to 20 seconds of a 30 sec podcast preview.",{podcastName:r});return t("spe.upsell_cta","Discover even more podcasts on Spotify","Text displayed after user has listened to 20 seconds of a 30 sec podcast preview.");case X.JM.TRACK:return t("spe.track_upsell_cta","Listen to the full track and millions more on Spotify","Text displayed after user has listened to 20 seconds of a 30 sec track preview.");case X.JM.PLAYLIST:default:return t("spe.track_list_upsell","Listen to these tracks & millions more on Spotify","Text displayed after user has listened to 20 seconds of a 30 sec of track list preview.")}},ee=()=>{let e=(0,y.NT)(),t=(0,s.v9)(e=>e.data.entity.type),n=(0,s.v9)(t=>t.data.entity?.subtitle||e("spe.upsell_cta","Discover even more podcasts on Spotify","Text displayed after user has listened to 20 seconds of a 30 sec podcast preview.")),a=(0,s.v9)(e=>e.data.entity.isAudiobook||!1),r=(0,s.v9)(e=>e.machineState.playbackMode)===c.d.PREVIEW,o=(0,s.v9)(m.k);return(0,i.jsx)(U.x,{variant:"titleSmall",className:k()(Q().text),id:"dialogUpsellTitle",semanticColor:"textBase",children:Z(t,e,a,o,r,n)})};var et=n(62038),en=n.n(et);let ei=e=>{let{onClose:t}=e,n=(0,y.NT)(),a=(0,s.v9)(e=>{let{data:t}=e;return t.entity?.isAudiobook}),r=(0,s.v9)(e=>{let{machineState:t}=e;return t.playbackMode})===c.d.PREVIEW,o=(0,s.v9)(m.k),l=(0,s.v9)(e=>{let{data:t}=e;return!!t.entity?.trackList}),d=(0,A.l)(),u=n("close_button_action","Close","Accessibility label for a close button");return(0,i.jsxs)("div",{className:k()(en().fullscreenWrapper,{[en().playlistContainer]:l}),children:[(0,i.jsxs)("div",{className:en().ctaWrapper,children:[(0,i.jsx)(D,{}),(0,i.jsxs)("div",{className:k()(en().content,{[en().linearGradient]:d}),children:[(0,i.jsx)(ee,{}),a?(0,i.jsx)(q,{}):o&&!r?(0,i.jsx)($,{}):(0,i.jsx)(Y,{}),(0,i.jsx)(E.o,{semanticColor:"textBase",iconOnly:I.k,title:u,className:en().closeButton,onClick:t,"aria-label":u})]})]}),(0,i.jsxs)("div",{className:en().footerWrapper,children:[(0,i.jsx)("div",{className:en().coverArtWrapper,children:(0,i.jsx)(f.D,{className:en().coverArtUpsell})}),(0,i.jsxs)("div",{className:k()(en().metadataWrapper),children:[(0,i.jsx)(w.D,{}),(0,i.jsxs)("span",{className:k()(en().labelsAndSubtitle),children:[(0,i.jsx)(C.$,{}),(0,i.jsx)(P.Q,{})]})]}),(0,i.jsx)("div",{className:k()(en().playerControlsWrapper),children:r&&!a?(0,i.jsx)(R.H,{}):(0,i.jsx)(b,{})})]})]})};var ea=n(51103),er=n.n(ea);let eo=()=>{let e=(0,s.v9)(e=>{let{machineState:t}=e;return t.playbackMode}),{showUpsell:t,setShowUpsell:n}=N(),a=(0,s.I0)();(0,o.useEffect)(()=>{t&&a((0,T._)({action_intent:"open-upsell",action_type:"view"}))},[a,t]);let d=(0,o.useRef)(null);return e===c.d.UNKNOWN?null:(0,i.jsx)(l.Z,{nodeRef:d,in:t,mountOnEnter:!0,unmountOnExit:!0,timeout:200,classNames:{enter:er().transition_enter,enterActive:er().transition_enterActive,exit:er().transition_exit,exitActive:er().transition_exitActive},children:(0,i.jsx)(r(),{focusTrapOptions:{initialFocus:!1},children:(0,i.jsx)("div",{ref:d,role:"dialog","aria-labelledby":"dialogUpsellTitle",className:er().upsellContentContainer,children:(0,i.jsx)(ei,{onClose:()=>{n(!1),a((0,T._)({action_type:"click",action_intent:"close-upsell"}))}})})})})}},10427:function(e,t,n){"use strict";n.d(t,{S:function(){return i}});let i="https://open.spotify.com"},5030:function(e,t,n){"use strict";n.d(t,{p:function(){return s}});var i=n(67294),a=n(9473),r=n(28065),o=n(65298);function s(){let e=(0,a.I0)(),t=(0,i.useCallback)(()=>"ontouchstart"in document.documentElement?"touchstart":"mouseover",[]),n=(0,i.useCallback)(()=>{document.removeEventListener(t(),n),e((0,o.j)()),e((0,r._)({action_type:"interacted",action_intent:t()}))},[e,t]);(0,i.useEffect)(()=>(e((0,o.s)()),document.addEventListener(t(),n),()=>{document.removeEventListener(t(),n)}),[e,n,t])}},15384:function(e,t,n){"use strict";n.d(t,{T:function(){return s}});var i=n(67294),a=n(9473),r=n(59188),o=n(17033);let s=()=>{let e=(0,a.v9)(e=>{let{machineState:t}=e;return t.playbackMode}),t=(0,a.v9)(e=>{let{data:t}=e;return t.entity}),{playbackState:n}=(0,i.useContext)(r.C);if("artist"===t.type&&e===o.d.FULL){let e=t.trackList;return e?.find(e=>e.uri===n?.item?.uri)?.uid}return(e===o.d.FULL?n?.item?.uid:n?.context?.metadata?.uid)??void 0}},32091:function(e,t,n){"use strict";n.d(t,{U:function(){return i},y:function(){return p}});var i,a=n(96494),r=n(67294),o=n(9473),s=n(10095),l=n(59188),d=n(23753);let u=e=>{switch(e){case"episode":case"track":return!1;default:return!0}};(i||(i={})).ADD_TO_LIBRARY="1";let c=(e,t,n,i)=>{i?.playbackResumeSeconds&&e.searchParams.set("t",i.playbackResumeSeconds.toString()),i?.intent&&"1"===i.intent&&e.searchParams.set("intent","1");let a=new URL("undefined"!=typeof location&&location.href?location.href:"https://open.spotify.com");e.searchParams.has("utm_source")||e.searchParams.set("utm_source",t),e.searchParams.has("utm_medium")||e.searchParams.set("utm_medium",n?"mobile":"desktop");let r=a.searchParams.get("utm_campaign");return r&&e.searchParams.set("utm_campaign",r),e};function p(e){let{productName:t,intent:n}=e,{playbackState:i}=(0,r.useContext)(l.C),p=(0,o.v9)(e=>e.data.entity),_=(0,o.v9)(e=>e.settings.entityContext),m=(0,o.v9)(e=>e.data.embeded_entity_uri),N=(0,o.v9)(e=>e.settings.isMobile),T=Math.floor(((0,d.k)(i)??0)/1e3),[E,I]=(0,r.useState)({selectedEntity:"",compositeEntity:"",embeddedEntity:"",cta:""}),y=p?.isAudiobook||p?.isTrailer;return(0,r.useEffect)(()=>{let e=y?p.relatedEntityUri:p?.uri,i=u(_)?m:p?.relatedEntityUri,r=e=>(e?(0,a.EC)(e):null)??void 0,o={compositeEntity:{deepLink:c((0,s.bW)(r(i),!1),t,N,{intent:n}).toString(),storeLink:c((0,s.iZ)(r(i),!1),t,N,{intent:n}).toString()},selectedEntity:{deepLink:c((0,s.bW)(r(e),!1),t,N,{playbackResumeSeconds:T,intent:n}).toString(),storeLink:c((0,s.iZ)(r(e),!1),t,N,{playbackResumeSeconds:T,intent:n}).toString()}},l=u(_)?o.compositeEntity:o.selectedEntity;I({selectedEntity:o.selectedEntity.deepLink,compositeEntity:o.compositeEntity.deepLink,embeddedEntity:l.deepLink,cta:l.storeLink})},[t,p,_,m,T,N,y,n]),E}},47229:function(e,t,n){"use strict";n.d(t,{M:function(){return o}});var i=n(67294),a=n(95829),r=n(35775);function o(){let{height:e}=i.useContext(a.h);return{isCompactLegacy:!!(e&&e<r.p4.landscape),isCompactTracklist:!!(e&&e<r.p4.large)}}},39911:function(e,t,n){"use strict";n.d(t,{l:function(){return a}});var i=n(9473);let a=()=>!!(0,i.v9)(e=>e.data.entity?.visualIdentity)},38343:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var i=n(67294),a=n(9473),r=n(56361),o=n(44096);function s(e){let{instance:t}=(0,i.useContext)(r.H),n=t?.containsSync(e),s=n?{[e]:n}:void 0,[l,d]=(0,i.useState)(s),u=(0,a.v9)(e=>e.settings.session.isAnonymous),c=l&&void 0!==l[e],p=(0,i.useCallback)(async n=>{n?await t?.add(e):await t?.remove(e)},[e,t]);return(0,i.useEffect)(()=>{let n;if(t&&!u){if(c){let i=t=>{let{data:n}=t;e===n.uri&&d(t=>({...t,[e]:n.isInLibrary}))};t.getEvents().addListener(o.E.UPDATE_ITEM,i),n=()=>{t.getEvents().removeListener(o.E.UPDATE_ITEM,i)}}else t.contains(e).then(t=>{let[n]=t;return d(t=>t?{...t,[e]:n}:{[e]:n})})}return u&&d(t=>({...t,[e]:!1})),n},[t,u,e,c]),[l,p]}},5383:function(e,t,n){"use strict";var i,a;n.d(t,{f:function(){return r}}),(a=i||(i={})).AR="، ",a.FA="، ",a.EN=", ";let r=e=>{switch(e){case"ar":case"fa":return"، ";default:return", "}}},23392:function(e,t,n){"use strict";let i;n.d(t,{b:function(){return T}});var a=n(79340),r=n(54751),o=n(28599),s=n.n(o),l=n(54098),d=n(34139);let u=n.n(d)()(l.fetch);async function c(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1e4,i=new(s()),a=i.signal,o=setTimeout(()=>i.abort(),n);return(t&&void 0!==t.retries&&t.retries>0?u:l.fetch)(e,{...t,signal:a}).then(e=>(clearTimeout(o),e)).catch(i=>{if("AbortError"===i.name)throw new r.V$({timeout:n,url:e,method:t?.method??"get"});throw clearTimeout(o),i})}class p{constructor(e,t){return this.method=e,this.url=t,this.postData=null,this.queryParameters=void 0,this.responseType="json",this._retryOptions=null,this._headers={},this._includeCredentials=!1,this}withQueryParameters(e){this.queryParameters=e}withResponseType(e){this.responseType=e}withPostData(e){this.postData=e}withRetries(e){let{retries:t,retryOn:n,retryDelay:i}=e;this._retryOptions={retries:t,retryDelay:i,retryOn:n}}addHeader(e,t){return this._headers[e]=t,this}includeCredentials(){return this._includeCredentials=!0,this}async send(){let e;this.postData&&(e=this._headers["Content-Type"]?.startsWith("application/json;charset=UTF-8")?JSON.stringify(this.postData):this.postData);let t=new URLSearchParams(this.queryParameters).toString();return c(`${this.url}${t?`?${t}`:""}`,{method:this.method,body:e,credentials:this._includeCredentials?"include":void 0,headers:{"Content-Type":"text"===this.responseType?"text/plain":"application/json",...this._headers},...this._retryOptions}).then(async e=>{if(!e.ok){let t=r.mk.fromResponse(e,this.method||"GET");throw(0,a.ck)(t,new URL(this.url).hostname),t}return{body:"text"===this.responseType?await e.text():await e.json(),status:e.status}}).catch(e=>{throw e})}}class _{constructor(){this._accessToken=null,this._market="",this._headers=[],this._globalRequestHeaders=[],this._shouldSendMarket=!0,this._shouldSendGlobalHeaders=!0,this._locale=null,this._retryStatusCodes=[503],this._retryDelay=1e3,this._shouldSendLocale=!1,this._shouldSendAuthorization=!0,this._host="",this.path="",this.responseType="json",this.queryParameters=void 0,this._method="GET",this.jsonContentType=!1,this.body=null,this._endpointIdentifier=null,this._startTimestamp=null,this._includeCredentials=!1}static setRequestImplementation(e){i=e}getRequestImplementation(){return i}set accessToken(e){this._accessToken=e}get market(){return this._market}set market(e){this._market=e}get locale(){return this._locale}set locale(e){this._locale=e}get globalRequestHeaders(){return this._globalRequestHeaders}set globalRequestHeaders(e){this._globalRequestHeaders=e}get startTimestamp(){return this._startTimestamp}get host(){return this._host}get method(){return this._method}get endpointIdentifier(){return this._endpointIdentifier}withHost(e){return this._host=e,this}withPath(e){return this.path=e,this}withResponseType(e){return this.responseType=e,this}withEndpointIdentifier(e){return this._endpointIdentifier=e,this}withQueryParameters(e){return this.queryParameters=e,this}withBody(e){return this.body=e,this}withMethod(e){return this._method=e,this}withRetries(e){let{retries:t,retryOn:n,retryDelay:i}=e;return this._retryCount=t,n&&(this._retryStatusCodes=n),i&&(this._retryDelay=i),this}withoutMarket(){return this._shouldSendMarket=!1,this}withoutGlobalHeaders(){return this._shouldSendGlobalHeaders=!1,this}withoutAuthorization(){return this._shouldSendAuthorization=!1,this}withLocale(e){return this._shouldSendLocale=!0,e&&(this._locale=e),this}withJsonContentType(){return this.jsonContentType=!0,this}withHeaders(e){return this._headers=e,this}withCredentials(){return this._includeCredentials=!0,this}onBeforeSend(e){}onAfterSend(e){}async send(){let e=new i(this.method,`${this._host}${this.path}`);this._shouldSendMarket&&this.market&&(this.queryParameters={...this.queryParameters,market:this.market}),this._shouldSendLocale&&this.locale&&(this.queryParameters={...this.queryParameters,locale:this.locale}),this.locale&&e.addHeader("Accept-Language",this.locale),this._retryCount&&e.withRetries({retries:this._retryCount,retryOn:this._retryStatusCodes,retryDelay:this._retryDelay}),e.withQueryParameters(this.queryParameters),e.withResponseType(this.responseType),this._shouldSendAuthorization&&this._accessToken&&e.addHeader("Authorization",`Bearer ${this._accessToken}`),e.addHeader("Accept","application/json"),this._includeCredentials&&e.includeCredentials(),this._shouldSendGlobalHeaders&&this._globalRequestHeaders.length>0&&this._globalRequestHeaders.forEach(t=>{let[n,i]=t;e.addHeader(n,i)});for(let t=0;t<this._headers.length;t++){let n=this._headers[t];e.addHeader(n.key,n.value)}this.jsonContentType&&e.addHeader("Content-Type","application/json;charset=UTF-8"),this.body&&e.withPostData(this.body);try{this.onBeforeSend(e)}catch(e){return Promise.reject(e)}return this._startTimestamp=Date.now(),e.send().then(e=>(this.onAfterSend(),e)).catch(e=>{throw this.onAfterSend(e),e})}}class m{constructor(e){this._accessToken=null,this._market="",this._locale="",this._globalRequestHeaders=[],this._RequestImplementation=e}get accessToken(){return this._accessToken}set accessToken(e){this._accessToken=e}get globalRequestHeaders(){return this._globalRequestHeaders}set globalRequestHeaders(e){this._globalRequestHeaders=e}get market(){return this._market}set market(e){this._market=e}get locale(){return this._locale}set locale(e){this._locale=e}resetPendingRequests(){}build(){_.setRequestImplementation(this._RequestImplementation);let e=new _;return e.accessToken=this._accessToken,e.market=this.market,e.locale=this.locale,e.globalRequestHeaders=this.globalRequestHeaders,e}}let N=null;class T{static setSession(e){if(!e)return;let{accessToken:t}=e,n=this.getInstance();n.accessToken=t,t||n.resetPendingRequests()}static setLocale(e){this.getInstance().locale=e}static setGlobalRequestHeaders(e){this.getInstance().globalRequestHeaders=e}static setMarket(e){this.getInstance().market=e}static resetInstance(){N=null}static getInstance(){return N||(N=this.createNew()),N}static createNew(){return new m(p)}}},56361:function(e,t,n){"use strict";n.d(t,{H:function(){return i}});let i=(0,n(67294).createContext)({instance:null})},44096:function(e,t,n){"use strict";n.d(t,{E:function(){return i},S:function(){return r}});var i,a=n(28611);(i||(i={})).UPDATE_ITEM="update_item";class r extends a.vp{}},33254:function(e,t,n){"use strict";let i;n.d(t,{X:function(){return a},u:function(){return r}});let a=()=>{if(!i)throw Error("Config data not set");return i},r=e=>{i=e}},10095:function(e,t,n){"use strict";n.d(t,{bW:function(){return r},iZ:function(){return o}});var i=n(10427),a=n(33254);function r(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=new URL("undefined"!=typeof location&&location.href?location.href:i.S),r=null;e?(r=new URL(e.toURL()),t&&n.searchParams.forEach((e,t)=>{r.searchParams.set(t,e)})):(r=n,t||(r.search="")),r.searchParams.delete("nd"),r.searchParams.delete("fallback"),r.searchParams.set("go","1");let o=(0,a.X)();return"string"==typeof o?.correlationId&&r.searchParams.append("sp_cid",o.correlationId),r}function o(e,t){let n=r(e,t);return n.searchParams.set("fallback","getapp"),n}},60093:function(e,t,n){"use strict";n.d(t,{C:function(){return i}});let i=e=>{if(!e)throw Error("Error: Entity Unavailable");let t=e.uri,n={};return(n.title=e.title,n.subtitle=e.subtitle,n.duration=(e.duration??0)?.toString(),n.audioPreviewUrl=e.audioPreview?.url??void 0,n.videoPreviewUrl=e.videoPreview?.url??void 0,n.explicit=e.isExplicit?"true":"false","relatedEntityUri"in e)?n.releaseDate=e.releaseDate?.isoString:n.uid=e.uid,{uri:t,metadata:n}}},73638:function(e,t,n){"use strict";n.d(t,{rg:function(){return r},Bc:function(){return d}});var i,a,r,o,s=n(28611);class l{constructor(e=new s.vp){this._emitter=e,this._emitter=e||new s.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)}}(i=r||(r={})).TRACK_LOADED="track_loaded",i.TRACK_ENDED="track_ended",i.UPDATE="update",i.ERROR="error",i.ACTION="action",i.QUEUE_ACTION="queue_action",i.QUEUE_ACTION_COMPLETE="queue_action_complete",i.QUEUE_UPDATE="queue_update",i.CONTEXT_WRAPAROUND="context_wraparound",(a=o||(o={})).PLAY="play",a.PAUSE="pause",a.RESUME="resume",a.SKIP_TO_NEXT="skipToNext",a.SKIP_TO_PREVIOUS="skipToPrevious";class d extends l{emitPlaySync(e,t,n){let{defaultPrevented:i}=this.emitSync("action",{action:"play",context:e,origin:t,options:n});return i}emitPauseSync(){let{defaultPrevented:e}=this.emitSync("action",{action:"pause"});return e}emitResumeSync(){let{defaultPrevented:e}=this.emitSync("action",{action:"resume"});return e}emitSkipToNextSync(){let{defaultPrevented:e}=this.emitSync("action",{action:"skipToNext"});return e}emitSkipToPreviousSync(){let{defaultPrevented:e}=this.emitSync("action",{action:"skipToPrevious"});return e}}},59188:function(e,t,n){"use strict";n.d(t,{C:function(){return o},l:function(){return s}});var i=n(85893),a=n(67294),r=n(32515);let o=(0,a.createContext)({playbackState:null,triggerPlaybackOperation:()=>{}}),s=e=>{let{children:t,reduxStore:n,playerAPI:a}=e,{playbackState:s,triggerPlaybackOperation:l}=(0,r.t)(a,n);return(0,i.jsx)(o.Provider,{value:{playbackState:s,triggerPlaybackOperation:l},children:t})}},5603:function(e,t,n){"use strict";n.d(t,{$9:function(){return m},O7:function(){return T},WT:function(){return d},Xh:function(){return a},ax:function(){return c},ez:function(){return u},hY:function(){return r},qi:function(){return N},r0:function(){return _},v4:function(){return s},vR:function(){return p},wO:function(){return l},xu:function(){return o}});var i=n(33829);function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.yp.AUDIO;return{type:i.Nv,mediaType:e}}function r(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.yp.AUDIO;return{type:i.NH,mediaType:e}}function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.yp.AUDIO;return{type:i.Bb,index:e,mediaType:t}}function s(){return{type:i.gk}}function l(){return{type:i.E7}}function d(){return{type:i.wh}}function u(){return{type:i.Eb}}function c(){return{type:i.ry}}function p(){return{type:i.pe}}function _(){return{type:i.Q2}}function m(){return{type:i.ot}}function N(e){return{type:i.sV,index:e}}function T(e){return{type:i.tG,time:e}}},32515:function(e,t,n){"use strict";n.d(t,{t:function(){return I}});var i=n(67294),a=n(73638),r=n(17033);let o=e=>{let t=new URL(e.href).searchParams.get("t");if(t){let e=parseInt(t,10);if(e>0)return e}return null};var s=n(33254),l=n(60093),d=n(33829),u=n(5603);let c=()=>({featureIdentifier:"embed",featureVersion:"3",referrerIdentifier:"PlayerStub_UnknownReferrer",restrictionIdentifier:(0,s.X)().restrictionId?(0,s.X)().restrictionId:void 0}),p=(e,t,n,i)=>t===r.d.PREVIEW?{...e,metadata:{...e.metadata,externalResolvedUrl:i===d.yp.AUDIO?e.metadata?.audioPreviewUrl:e.metadata?.videoPreviewUrl}}:{...e,metadata:{...e.metadata,useAuthEndpoint:n?"yes":""}},_=(e,t)=>t.mediaType!==d.yp.VIDEO?e:{...e,metadata:{...e.metadata,mediaType:d.yp.VIDEO}},m=(e,t)=>e?.findIndex((e,n)=>n>t&&e.isPlayable)??-1,N=(e,t)=>{for(let n=t-1;n>=0;n--)if(e&&e[n].isPlayable)return n;return -1},T=(e,t,n)=>e?.trackList&&t===r.d.PREVIEW?(0,l.C)(e.trackList[n??0]):(0,l.C)(e);var E=function e(t,n,i){let{settings:a,machineState:s,data:{entity:l,defaultAudioFileObject:E}}=n.getState(),I=a.session.isAnonymous,y=s.playbackMode===r.d.PREVIEW,h=T(l,s.playbackMode),k=t.getState();switch(i.type){case d.Nv:if(l?.trackList&&y&&!k?.hasContext){let i=m(l?.trackList,-1);s.currentPreviewTrackIndex===l?.trackList.length-1?e(t,n,(0,u.xu)(i)):e(t,n,(0,u.xu)(s.currentPreviewTrackIndex))}else if(k?.hasContext&&k?.isPaused===!1)t.pause();else if(k?.hasContext&&k?.isPaused===!0)t.resume();else{let e=o(window.location),n=p(_(h,i),s.playbackMode,!I,i.mediaType);t.play(n,c(),{seekTo:e?1e3*e:void 0},E)}break;case d.NH:{let e=o(window.location),n=p(_(h,i),s.playbackMode,!I,i.mediaType);t.play(n,c(),{seekTo:e?1e3*e:void 0},E)}break;case d.Bb:if(y){let e=p(_(T(l,s.playbackMode,i.index),i),s.playbackMode,!I,i.mediaType);t.play(e,c(),{},E),n.dispatch((0,u.qi)(i.index))}else{let e=p(_(h,i),s.playbackMode,!I,i.mediaType);t.play(e,c(),{skipTo:{index:i.index}},E)}break;case d.gk:t.resume();break;case d.E7:t.pause();break;case d.tG:if(i.time&&Number.isFinite(i.time))t.seekTo(i.time);else if(i.percentage&&Number.isFinite(i.percentage)){let e=k?.duration||Number(h.metadata?.duration);t.seekTo(i.percentage*e)}break;case d.Eb:t.seekForward(15e3);break;case d.wh:t.seekBackward(15e3);break;case d.pe:if(y){let i=l?.trackList?.length??0;if(s.currentPreviewTrackIndex<i-1){let i=m(l?.trackList,s.currentPreviewTrackIndex);i>0&&e(t,n,(0,u.xu)(i))}else t.skipToNext()}else t.skipToNext();break;case d.ry:if(y){if(k&&null!==k.positionAsOfTimestamp&&(k.positionAsOfTimestamp>3e3||0===s.currentPreviewTrackIndex))t.seekTo(0);else if(s.currentPreviewTrackIndex>0){let i=N(l?.trackList,s.currentPreviewTrackIndex);i>=0&&e(t,n,(0,u.xu)(i))}}else t.skipToPrevious();break;case d.Q2:t.setVolume(0);break;case d.ot:t.setVolume(1)}};let I=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,[s,l]=(0,i.useState)(n),[d,c]=(0,i.useState)(!1);(0,i.useEffect)(()=>{let e=o(window.location);e&&l({...n,positionAsOfTimestamp:1e3*e})},[n]);let p=(0,i.useCallback)(n=>e&&E(e,t,n),[e,t]),{machineState:{playbackMode:_,currentPreviewTrackIndex:N},data:{entity:T}}=t.getState();return(0,i.useEffect)(()=>{if(d&&_===r.d.PREVIEW&&T?.trackList&&T.trackList.length>N+1){let e=m(T?.trackList,N);e>0&&(c(!1),p((0,u.xu)(e)))}},[d,p,_,T?.trackList,N]),(0,i.useEffect)(()=>{let t=e=>{l(t=>({...t,...e.data}))},n=e=>{l(t=>({...t,isDisabled:!0,error:{...e.data,message:e.data.message}}))},i=()=>{c(!0)};if(e){let r=e.getEvents();r.addListener(a.rg.UPDATE,t),r.addListener(a.rg.ERROR,n),r.addListener(a.rg.TRACK_ENDED,i),l(e=>({...e,isDisabled:!1}))}else l(e=>({...e,isDisabled:!0}));return()=>{if(e){let r=e.getEvents();r.removeListener(a.rg.UPDATE,t),r.removeListener(a.rg.ERROR,n),r.removeListener(a.rg.TRACK_ENDED,i)}}},[e]),{playbackState:s,triggerPlaybackOperation:p}}},28936:function(e,t,n){"use strict";n.d(t,{G:function(){return d},v:function(){return u}});var i=n(85893),a=n(67294),r=n(9473);let o=e=>e?`rgba(${e.red}, ${e.green}, ${e.blue}, ${e.alpha})`:null,s=e=>({"--dynamic-opacity":e.opacity,"--dynamic-background-base":e.backgroundBase,"--dynamic-background-tinted":e.backgroundTinted,"--dynamic-background-tinted-50":e.backgroundTinted50,"--background-base":e.backgroundBase,"--background-tinted":e.backgroundTinted,"--text-base":e.textBase,"--text-bright-accent":e.textBrightAccent,"--text-subdued":e.textSubdued}),l=e=>e?s({backgroundBase:o(e?.backgroundBase),backgroundTinted:o(e?.backgroundTintedBase),backgroundTinted50:o(e?.backgroundTintedBase?{...e.backgroundTintedBase,alpha:.5}:null),textBase:o(e?.textBase),textBrightAccent:o(e?.textBrightAccent),textSubdued:o(e?.textSubdued),opacity:e?"1":null}):{},d=(0,a.createContext)({}),u=e=>{let{children:t}=e,[n,o]=(0,a.useState)({}),s=(0,r.v9)(e=>e.data.entity?.visualIdentity);return(0,a.useEffect)(()=>{o(l(s))},[s]),(0,i.jsx)(d.Provider,{value:{...n},children:t})}},95829:function(e,t,n){"use strict";n.d(t,{b:function(){return s},h:function(){return o}});var i=n(85893),a=n(67294);let r={width:null,height:null},o=(0,a.createContext)(r),s=e=>{let{children:t}=e,[n,s]=(0,a.useState)(r);return(0,a.useEffect)(()=>{s({width:window.innerWidth,height:window.innerHeight});let e=()=>{s({width:window.innerWidth,height:window.innerHeight})};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]),(0,i.jsx)(o.Provider,{value:{...n},children:t})}},28065:function(e,t,n){"use strict";n.d(t,{_:function(){return a}});var i=n(62126);function a(e){return{type:i.C,interactionData:e}}},90417:function(e,t,n){"use strict";n.d(t,{AI:function(){return o},Nn:function(){return a},h6:function(){return r}});var i=n(76892);function a(){return{type:i.RA}}function r(){return{type:i.gm}}function o(e){return{type:i.G$,productName:e}}},65298:function(e,t,n){"use strict";n.d(t,{j:function(){return a},s:function(){return r}});var i=n(49792);function a(){return{type:i.q}}function r(){return{type:i.N}}},26112:function(e,t,n){"use strict";n.d(t,{k:function(){return a},w:function(){return r}});var i=n(96494);let a=e=>{let{data:{entity:t}}=e;return t?.type===i.JM.EPISODE},r=e=>e.data.embeded_entity_uri},76437:function(e,t,n){"use strict";function i(e){return void 0!==e.status}n.d(t,{v:function(){return i}})},54751:function(e,t,n){"use strict";n.d(t,{V$:function(){return a},mk:function(){return i}}),n(96494);class i extends Error{static fromResponse(e,t){return new i({message:e.statusText,url:e.url,method:t,status:e.status,response:e})}constructor(e){let{message:t,url:n,method:i,status:a,response:r}=e;super(t),this.name="HttpResponseError",this.requestUrl=n,this.requestMethod=i,this.status=a,this.response=r}}class a extends i{constructor(e){let{timeout:t,url:n,method:i}=e;super({message:`${i.toUpperCase()} ${n} timed out (${t}ms)`,url:n,method:i,status:503}),this.name="HttpRequestTimeoutError",this.timeout=t}}n(79340)},79340:function(e,t,n){"use strict";n.d(t,{ck:function(){return o}}),n(40361);var i=n(99374),a=n(37555);let r=e=>void 0!==e.status,o=(e,t)=>{(0,a.sQ)({metric_type:i.MetricTypes.COUNTER,what:"error",tags:{errorName:e.name??JSON.stringify(e),type:"network",serviceName:t,status:r(e)?String(e.status):"UNKNOWN_STATUS"},value:1})}},968:function(e,t,n){"use strict";var i,a,r,o;n.d(t,{p:function(){return i}}),(r=i||(i={})).ALBUM="album",r.ARTIST="artist",r.AUDIOBOOK="audiobook",r.CHAPTER="chapter",r.EPISODE="episode",r.PLAYLIST="playlist",r.PLAYLISTV2="playlist-v2",r.SHOW="show",r.TRACK="track",r.UNKNOWN="unknown",(o=a||(a={})).ALLOWED="ALLOWED",o.MANDATORY="MANDATORY",o.NONE="NONE"},62126:function(e,t,n){"use strict";n.d(t,{C:function(){return i}});let i="LOG_INTERACTION"},76892:function(e,t,n){"use strict";n.d(t,{G$:function(){return r},RA:function(){return a},gm:function(){return i}});let i="CLOSE_OVERFLOW_MENU",a="SHOW_OVERFLOW_MENU",r="PLAY_ON_SPOTIFY_CLICK"},17033:function(e,t,n){"use strict";var i,a;n.d(t,{L:function(){return r},d:function(){return i}}),(a=i||(i={})).UNKNOWN="unknown",a.FULL="full-playback",a.PREVIEW="preview-playback";let r="SET_PLAYBACK_MODE"},33829:function(e,t,n){"use strict";n.d(t,{Bb:function(){return o},E7:function(){return i},Eb:function(){return u},NH:function(){return a},Nv:function(){return r},Q2:function(){return _},Zq:function(){return E},gk:function(){return s},ot:function(){return m},pe:function(){return c},ry:function(){return p},sV:function(){return N},tG:function(){return l},wh:function(){return d},yp:function(){return T}});let i="PAUSE",a="PLAY",r="TOGGLE_PLAY",o="PLAY_INDEX",s="RESUME",l="SEEK",d="SEEK_BACK",u="SEEK_FORWARD",c="PLAY_NEXT",p="PLAY_PREVIOUS",_="MUTE",m="UNMUTE",N="SET_CURRENT_PREVIEW_TRACK_INDEX;",T={AUDIO:"audio",VIDEO:"video"},E={NONE:"NONE",ALLOWED:"ALLOWED",MANDATORY:"MANDATORY"}},49792:function(e,t,n){"use strict";n.d(t,{N:function(){return a},q:function(){return i}});let i="INITIALIZE",a="MOUNTED"},23753:function(e,t,n){"use strict";function i(e){return function(e,t){if(null===e||null===t||null===e.duration)return null;let{timestamp:n,duration:i,speed:a,hasContext:r,isPaused:o,isBuffering:s}=e;return!r||o||s?t:Math.min(t+(Date.now()-n)*(a??0),i)}(e,e?.positionAsOfTimestamp??null)}n.d(t,{k:function(){return i}})},8745:function(e,t){"use strict";let n=e=>e<10?`0${e}`:`${e}`;t.Z=e=>{let t=Math.abs(e),i=Math.floor(t/36e5),a=[i?`${i}`:"",n(Math.floor(t%36e5/6e4)||0),n(Math.floor(t%6e4/1e3)||0)].filter(e=>e).join(":");return`${e<0?"-":""}${a}`}},93670:function(e,t,n){"use strict";n.d(t,{H:function(){return r}});var i=n(51206),a=n.n(i);function r(){let e=a().getParser(window.navigator.userAgent),t=function(e){switch(e){case"macOS":return"osx";case"Chrome OS":return"chrome";default:return e}}(e.getOSName()||"not_applicable"),n=function(e,t){if("Windows"===e)switch(t){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return""}return t}(t,e.getOSVersion());return{osName:t,osVersion:n,browserName:e.getBrowserName(),browserVersion:e.getBrowserVersion()}}},17569:function(e,t,n){"use strict";n.d(t,{M:function(){return i}});let i=e=>{let{url:t,newWindow:n=!0}=e;window.open(t,n?"_blank":"_top")}},73636:function(e){e.exports={wrapper:"AddToLibrary_wrapper__FZKUv"}},99992:function(e){e.exports={addToLibraryButton:"AddToLibraryCompact_addToLibraryButton__eRbCq"}},9127:function(e){e.exports={followButtonWrapper:"FollowButton_followButtonWrapper__uMaPG",hideBorder:"FollowButton_hideBorder__OdJB_",transformNone:"FollowButton_transformNone__FHnTJ",followButtonText:"FollowButton_followButtonText__axhEd",overflowMenu:"FollowButton_overflowMenu__uoZzL"}},26040:function(e){e.exports={saveOnSpotifyButton:"SaveOnSpotifyButton_saveOnSpotifyButton__QCoJx",overflowMenu:"SaveOnSpotifyButton_overflowMenu__RgKhO",saveOnSpotifyButtonText:"SaveOnSpotifyButton_saveOnSpotifyButtonText__6Jv6P"}},48247:function(e){e.exports={coverArt:"CoverArtBase_coverArt__ne0XI"}},46883:function(e){e.exports={wrapper:"Error_wrapper__rnmqo",content:"Error_content__DLtLW",title:"Error_title__Itx4f",description:"Error_description__wJgFt",links:"Error_links__xYnxY",primary:"Error_primary__1qg4H",icon:"Error_icon__7F4I4"}},18303:function(e){e.exports={loadingSpinner:"LoadingSpinner_loadingSpinner__RhjXu",SpinAnimation:"LoadingSpinner_SpinAnimation__yiW4R"}},25975:function(e){e.exports={container:"Marquee_container__CV7du",containerRtl:"Marquee_containerRtl__1Gbu_",scrollableContainer:"Marquee_scrollableContainer__mcSox",gradient:"Marquee_gradient__dpJhe",inner:"Marquee_inner__UKCZf"}},5297:function(e){e.exports={wrapper:"CopyLink_wrapper__Pnd_6",menuItem:"CopyLink_menuItem__FGDBn",copyLinkText:"CopyLink_copyLinkText__c2yNx","in-out":"CopyLink_in-out__3Q56J",clicked:"CopyLink_clicked__O9BXe","out-in":"CopyLink_out-in__HDSDy",truncator:"CopyLink_truncator__cxtkK"}},32404:function(e){e.exports={wrapper:"OverflowMenuBase_wrapper__CyfQs",menuItem:"OverflowMenuBase_menuItem__0Ijn4",visible:"OverflowMenuBase_visible__bdlfX",menu:"OverflowMenuBase_menu__cJ12M",menuContent:"OverflowMenuBase_menuContent__Kcicz",closeButton:"OverflowMenuBase_closeButton__pATy_",menuItemButton:"OverflowMenuBase_menuItemButton__YuobD",policies:"OverflowMenuBase_policies__r_Fbu",link:"OverflowMenuBase_link__8OQFz",separator:"OverflowMenuBase_separator__l_I5t",adaptToOverflowMenu:"OverflowMenuBase_adaptToOverflowMenu__YeDTC"}},38604:function(e){e.exports={overflowMenuButton:"OverflowMenuButton_overflowMenuButton__JPKiT"}},34719:function(e){e.exports={buttonWrapper:"PlayButton_buttonWrapper___CMG4",adaptForVideo:"PlayButton_adaptForVideo__bsKjt",playPauseIcon:"PlayButton_playPauseIcon__EBXpd",disabled:"PlayButton_disabled__F2saR"}},52377:function(e){e.exports={playerControlsWrapper:"PlayerControlsShort_playerControlsWrapper__qdkr5",addToLibraryCompactWrapper:"PlayerControlsShort_addToLibraryCompactWrapper__vXwv0",overflowMenuButtonWrapper:"PlayerControlsShort_overflowMenuButtonWrapper__qNhz2",previewPlayPauseWrapper:"PlayerControlsShort_previewPlayPauseWrapper__39zQA",skipButtonsWrapper:"PlayerControlsShort_skipButtonsWrapper__8Nqc6"}},67510:function(e){e.exports={circularContainer:"PreviewPlayButton_circularContainer__IPZte",circularInner:"PreviewPlayButton_circularInner___9inH",rangeBarRight:"PreviewPlayButton_rangeBarRight__7U2dx",rangeBarLeft:"PreviewPlayButton_rangeBarLeft__QqPAO",rangeBarProgress:"PreviewPlayButton_rangeBarProgress__m16Uz",iconButton:"PreviewPlayButton_iconButton__VbRK0"}},98395:function(e){e.exports={progressBarContainer:"ProgressBar_progressBarContainer__glVHh",progressBarContainerWithOverhead:"ProgressBar_progressBarContainerWithOverhead__S9RTq",progressBarLineActive:"ProgressBar_progressBarLineActive__eawR7",progressBarLineBackground:"ProgressBar_progressBarLineBackground__S9lxG",progressBarLine:"ProgressBar_progressBarLine__a7FZb",progressBarSlider:"ProgressBar_progressBarSlider__oFBQJ",visible:"ProgressBar_visible__kkOqc"}},17438:function(e){e.exports={tooltipContainer:"ProgressBarHandler_tooltipContainer__X07ra"}},53606:function(e){e.exports={visibleOnlyToScreenReader:"ScreenReaderInput_visibleOnlyToScreenReader__TVvYo"}},44809:function(e){e.exports={progressTimeSpacer:"ProgressTimer_progressTimeSpacer__aN1q5",actualProgressTime:"ProgressTimer_actualProgressTime__kN3ww",progressTimer:"ProgressTimer_progressTimer__EIq8k"}},5833:function(e){e.exports={tagList:"Tags_tagList__6JpKG",tag:"Tags_tag__bbXTA",hidden:"Tags_hidden__IArVG",condensedTags:"Tags_condensedTags__w_NCJ"}},97338:function(e){e.exports={container:"Tag_container__ju3CN",isDynamicColor:"Tag_isDynamicColor__II_wf"}},34115:function(e){e.exports={title:"TitleAndSubtitle_title__Nwyku",subtitle:"TitleAndSubtitle_subtitle__P1cxq",separator:"TitleAndSubtitle_separator__4WdMW"}},75790:function(e){e.exports={backgroundCoverArt:"BackgroundCoverArt_backgroundCoverArt__i5yOP"}},51103:function(e){e.exports={upsellContentContainer:"Upsell_upsellContentContainer__xjlbk",transition_enter:"Upsell_transition_enter__1J8pP",transition_enterActive:"Upsell_transition_enterActive__7oD__",transition_exit:"Upsell_transition_exit__gTMji",transition_exitActive:"Upsell_transition_exitActive__MLvE3"}},42657:function(e){e.exports={getSpotifyButton:"UpsellButton_getSpotifyButton__9XE6r",buttonText:"UpsellButton_buttonText__L41pW"}},62038:function(e){e.exports={fullscreenWrapper:"UpsellContent_fullscreenWrapper__yafMY",footerWrapper:"UpsellContent_footerWrapper__M_dNe",coverArtWrapper:"UpsellContent_coverArtWrapper__O1I7x",ctaWrapper:"UpsellContent_ctaWrapper___t9Gy",closeButton:"UpsellContent_closeButton__Rxr0B",content:"UpsellContent_content__YTOSs",linearGradient:"UpsellContent_linearGradient__po4qs",metadataWrapper:"UpsellContent_metadataWrapper__iSJfD",labelsAndSubtitle:"UpsellContent_labelsAndSubtitle__2mVsp",playerControlsWrapper:"UpsellContent_playerControlsWrapper__HdcB9",overflowMenuButtonWrapper:"UpsellContent_overflowMenuButtonWrapper__Hpw__",coverArtUpsell:"UpsellContent_coverArtUpsell__bAFhO",playlistContainer:"UpsellContent_playlistContainer__ittRM"}},8333:function(e){e.exports={text:"UpsellTitle_text__28Mv1"}},45009:function(e,t,n){var i={"./af/strings.json":[91340,1340],"./am/strings.json":[81098,1098],"./ar-EG/strings.json":[52365,2365],"./ar-MA/strings.json":[70537,537],"./ar-SA/strings.json":[64623,4623],"./ar/strings.json":[45198,5198],"./az/strings.json":[14141,4141],"./bg/strings.json":[34879,4879],"./bho/strings.json":[33065,3065],"./bn/strings.json":[97550,7550],"./bs/strings.json":[26908,6908],"./ca/strings.json":[10416,416],"./cs/strings.json":[23912,3912],"./da/strings.json":[31014,1014],"./de/strings.json":[2589,2589],"./el/strings.json":[25742,5742],"./en-GB/strings.json":[47874,7874],"./es-419/strings.json":[71586,1586],"./es-AR/strings.json":[61426,1426],"./es-MX/strings.json":[7138,7138],"./es/strings.json":[62576,2576],"./et/strings.json":[42139,2139],"./eu/strings.json":[20276,276],"./fa/strings.json":[79978,9978],"./fi/strings.json":[99652,9652],"./fil/strings.json":[74383,4383],"./fr-CA/strings.json":[28725,5057],"./fr/strings.json":[42897,2897],"./gl/strings.json":[51313,1313],"./gu/strings.json":[37649,7649],"./he/strings.json":[6805,6805],"./hi/strings.json":[61521,1521],"./hr/strings.json":[57113,7113],"./hu/strings.json":[73409,3409],"./id/strings.json":[72108,2108],"./is/strings.json":[97606,7606],"./it/strings.json":[68911,8911],"./ja/strings.json":[97055,7055],"./kn/strings.json":[37608,7608],"./ko/strings.json":[42427,2427],"./lt/strings.json":[36386,6386],"./lv/strings.json":[68210,8210],"./mk/strings.json":[24254,4254],"./ml/strings.json":[90903,903],"./mr/strings.json":[62609,2609],"./ms/strings.json":[62434,5019],"./nb/strings.json":[49745,9745],"./ne/strings.json":[34123,4123],"./nl/strings.json":[11290,1290],"./or/strings.json":[38360,8360],"./pa-IN/strings.json":[7604,7604],"./pa-PK/strings.json":[29546,9546],"./pl/strings.json":[91218,1218],"./pt-BR/strings.json":[4355,4355],"./pt-PT/strings.json":[78947,8947],"./ro/strings.json":[93218,3218],"./ru/strings.json":[76722,6722],"./sk/strings.json":[51543,1543],"./sl/strings.json":[21627,1627],"./sr/strings.json":[57700,7700],"./sv/strings.json":[71616,1616],"./sw/strings.json":[95717,5717],"./ta/strings.json":[39400,9400],"./te/strings.json":[80750,750],"./th/strings.json":[53631,3631],"./tr/strings.json":[38554,8554],"./uk/strings.json":[13707,3707],"./ur/strings.json":[65151,5151],"./vi/strings.json":[20202,202],"./zh-CN/strings.json":[27517,7517],"./zh-HK/strings.json":[31885,1885],"./zh-TW/strings.json":[95867,5867],"./zu/strings.json":[9790,9790]};function a(e){if(!n.o(i,e))return Promise.resolve().then(function(){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=i[e],a=t[0];return n.e(t[1]).then(function(){return n.t(a,19)})}a.keys=function(){return Object.keys(i)},a.id=45009,e.exports=a}}]);