1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[6933],{14614:(e,t,a)=>{a.r(t),a.d(t,{default:()=>O});var n=a(89526),l=a(12384),i=a(83277),s=a(92996),o=a(8449),r=a(41659),c=a(31180),m=a(30222),u=a(2248),d=a(78206),g=a(34726),_=a(22877);const p=e=>{const{album:t,modules:a,isMobile:l,forwardedImgRef:i,handleClickOnPlay:p,handleHeaderPlayEventAction:b,generateOptionsList:y,handleOption:f,handleUpdateAlbumImage:h,fetchedConfigData:E,handleGoProClick:x,handlePlayClick:v,buttonRefs:w,buttonIndices:A}=e,{id:k}=t,N=(0,n.useRef)([]),P=(0,n.useMemo)(()=>({type:"album",id:k}),[k]),L=()=>{if(t.code!==d.Kz)return t.reason===d.v8?n.createElement("div",{className:"o-box o-box--small o-box--auto u-background-js-navy u-margin-top-small@sm u-margin-top-none@lg u-margin-bottom@sm"},n.createElement("p",{className:"u-centi u-color-white"},"This album is currently unavailable in your area. ",n.createElement("a",{className:"u-color-white",href:"https://saa.vn/rights",target:"_blank"},n.createElement("strong",null,"Know Why?")))):t.reason===d.kX?n.createElement("div",{className:"o-box o-box--small o-box--auto u-background-js-navy u-margin-top-small@sm u-margin-top-none@lg u-margin-bottom@sm"},n.createElement("p",{className:"u-centi u-color-white"},n.createElement("a",{className:"u-color-white",onClick:x},n.createElement("strong",null,"Go Pro"))," to continue streaming.",n.createElement("a",{className:"u-color-white",href:"https://saa.vn/rights",target:"_blank"},n.createElement("strong",null," Know Why?")))):null},$=(e,t)=>{if(!e||!e.length)return{artists_string:"",isSingleArtist:!1};let a="",n=d.Cu,l=[];for(let t of e)if(!l.includes(t.text)&&(l.push(t.text.trim()),l.length>2))break;switch(l.length){case 1:if("Various Artists"==l[0]||""==l[0]){let e=j(t.songs);a=e.artists_string,n=e.isSingleArtist}else n=d._j,a=l[0];break;case 2:a=l.join(" and ");break;default:e.length>3?l.push("and more"):l[2]="and "+l[2],a=l.join(", ")}return{artists_string:a,isSingleArtist:n}},j=e=>{let t=[...e],a=[],n="",l=d.Cu;if(!t||!t.length)return{artists_string:"",isSingleArtist:!1};for(let e of t){for(let t of e.subtitle)if(!a.includes(t.text)&&(a.push(t.text.trim()),a.length>3))break;if(a.length>3)break}switch(a.length){case 1:l=d._j,n=a[0];break;case 2:n=a.join(" and ");break;default:a.length>3?(a.pop(),a.push("and more")):a[2]="and "+a[2],n=a.join(", ")}return{artists_string:n,isSingleArtist:l}};return n.createElement("div",{className:"o-wrapper o-wrapper--main"},n.createElement("main",{className:"c-content",role:"main"},(()=>{let e,a=!1;const s=""!=t.copyright.action?n.createElement(_.Z,{key:t.copyright.text,to:t.copyright.action,title:t.copyright.text},t.copyright.text):n.createElement("span",{key:t.copyright.text},t.copyright.text);let r=[];r=t.subtitle?.length&&t.subtitle.length>1?t.subtitle.map((e,t)=>e.action?n.createElement("span",{key:t,role:"listitem"},n.createElement(_.Z,{key:t,to:e.action,screen_name:g.j2.ALBUM,title:e.text},e.text)):n.createElement("span",{key:t},e.text)):t.subtitle.map((e,t)=>e.action?n.createElement(_.Z,{key:t,to:e.action,screen_name:g.j2.ALBUM,title:e.text},e.text):n.createElement("span",{key:t},e.text)),r.length>0?(a=!0,e=(0,u.iD)(r,", ")):e=[],t.subtitle[0].text||(a=!1);let m=void 0!==t.title.text?t.title.text:"",p={screen_name:g.j2.ALBUM,entity_id:t.id,entity_type:d.uX.ALBUM,entity_name:m},b=l?"180":"250";return n.createElement("div",{className:"o-flag o-flag--cover o-flag--column o-flag--large@lg o-flag--reset@lg u-margin-bottom-large@lg"},n.createElement("div",{className:"o-flag__img u-shadow"},n.createElement("img",{ref:i,src:t.image[0],alt:m,width:b,height:b,onError:e=>{let{currentTarget:t}=e;return h(t)}})),n.createElement("div",{className:"o-flag__body"},E&&L(),n.createElement("h1",{className:"u-h2 u-margin-bottom-tiny@sm"},m),n.createElement("p",{className:"u-color-js-gray u-ellipsis@lg u-margin-bottom@sm u-margin-bottom-tiny@lg"},1==a?"by ":""," ",n.createElement("span",{role:r.length>1?"list":void 0},e),1==a?n.createElement("br",{className:"u-hidden@lg"}):"",n.createElement("span",{className:"u-centi u-hidden@lg"},"Album   ·  ",(0,u.x6)(t.play_count)," Play",t.play_count>1&&"s"),n.createElement("span",{className:"u-visible-visually@lg"},e.length>1||1==e.length&&t.subtitle[0].text?n.createElement("span",null,"  ·  "):"",t.song_count," Song",t.song_count>1&&"s",t.play_count>=1e3&&n.createElement("span",null,"  ·  ",(0,u.x6)(t.play_count)," Play",t.play_count>1&&"s"),"  ·  ",(0,u.mr)(t.duration))),n.createElement("p",{className:"u-color-js-gray u-ellipsis@lg u-visible@lg"},s),n.createElement("ul",{className:"o-layout o-layout--auto o-layout--small@sm"},n.createElement("li",{className:"o-layout__item u-margin-bottom-none@sm"},n.createElement("a",{onClick:()=>v(),tabIndex:0,role:"button","aria-label":"Play",onKeyDown:e=>(0,u.Yq)(e,A.play,w,v,"horizontal"),ref:e=>
1w.current[0]=e,className:"c-btn c-btn--primary js-play-button","data-btn-icon":d.Wm["play-open"]},"Play")),n.createElement("li",{className:"o-layout__item u-margin-bottom-none@sm"},n.createElement(o.Z,{className:"c-btn c-btn--tertiary c-btn--ghost c-btn--icon",linkedTo:P,screen_name:g.j2.ALBUM,buttonRefs:w,buttonIndex:A.follow,direction:"horizontal"})),n.createElement("li",{className:"o-layout__item u-margin-bottom-none@sm u-visible-visually@lg"},n.createElement(c.Z,{className:"c-btn c-btn--tertiary c-btn--ghost c-btn--icon",handleOption:f,item:t,optionsGenerator:y,stream_event_item:p,tabIndexValue:0,ariaHasPopup:!0,buttonRefs:w,buttonIndex:A.overflow,direction:"horizontal"},n.createElement("i",{className:"o-icon-ellipsis o-icon--large"})))),n.createElement(c.Z,{className:"u-padding-small@sm u-hidden@lg u-page-options",handleOption:f,item:t,optionsGenerator:y,stream_event_item:p},n.createElement("i",{className:"o-icon-ellipsis o-icon--xlarge"}))))})(),n.createElement("div",{className:"u-angle"}),n.createElement("nav",{className:"c-nav c-nav--secondary u-hidden@lg"},n.createElement("ul",{className:"c-nav__list"},n.createElement("li",{className:"c-nav__item"},n.createElement(r.Z,{isHeading:d._j,modal:"download-app",btnText:"Dismiss",className:"c-nav__link",actionIcon:d.Wm.download,screen_name:g.j2.ALBUM,text:"Download"},"Download")))),a.map(e=>n.createElement(s.Z,{data:e.data,key:e.position.toString(),fetching_data:e.fetching_data,handleClickOnPlay:p,handleOption:f,isAlbumRow:d._j,optionsGenerator:y,position:e.position,screen_name:g.j2.ALBUM,scroll_type:e.scroll_type,sec_pos:e.position,sec_title:e.title,stream_entity_id:t.id,stream_entity_name:t.title.text,stream_entity_type:d.uX.ALBUM,subtitle:e.subtitle,title:e.title})),(()=>{let{song_count:e,year:a,language:l,title:i,subtitle:s}=t,{artists_string:o,isSingleArtist:r}=$(s,t),c=l.length?["a","e","i","o","u"].includes(l[d.xE].toLowerCase()):d.Cu,m=(0,u.fm)(l);if(e&&a&&m&&i.text&&o){let t=`About ${i.text}`,l=e>1,s=l?`are a total of ${e} songs in ${i.text}`:`is one song in ${i.text}`,u=`${i.text} is `+(c?"and ":"a ")+`${m} album released in ${a}. `;return u+=`There ${s}. The `+(l?"songs were ":"song was ")+"composed by "+(r?`${o}, a talented musician. `:`talented musicians such as ${o}. `),u+=`Listen to all of ${i.text} online on JioSaavn.`,n.createElement("div",null,n.createElement("hr",{className:"o-rule u-color-js-white-alt u-margin-bottom@sm"}),n.createElement("b",{className:"u-margin-bottom-large@lg"},t),n.createElement("p",{className:"u-color-js-gray u-margin-bottom-tiny@lg"},u))}return null})(),(()=>{let e=t.subtitle[0].text,a="";if(1==t.songs.length)a="The album "+t.title.text+" is a single with one song";else{let e="";if(t.songs.length){for(var l=0;l<t.songs.length-2;l++)e+=t.songs[l].title.text+", ";e+=t.songs[l].title.text+" and ",e+=t.songs[t.songs.length-1].title.text}a="The most popular songs from "+t.title.text+" are "+e+"."}const i=[{title:`When was ${t.title.text} released ?`,content:`${t.title.text} is a ${t.language} language album released in ${t.year}.`,initOpen:!0},{title:`Who is the music director of ${t.title.text} ?`,content:`${t.title.text} is composed by ${e}.`},t.songs.length>0&&{title:`What are the most popular songs from ${t.title.text} ?`,content:a},t.songs.length>1&&{title:`How many songs does the album ${t.title.text} have?`,content:`There are a total of ${t.songs.length} songs in ${t.title.text}.`},""!=t.duration&&{title:`What is the playtime duration of the album ${t.title.text} ?`,content:`The total playtime duration of ${t.title.text} is ${(0,u.mr)(t.duration)} minutes.`},{title:`How can I download songs from the album ${t.title.text} ?`,content:`All songs from ${t.title.text} can be downloaded on JioSaavn App.`}].filter(Boolean);return n.createElement("section",{className:"u-margin-bottom@sm"},n.createElement("br",null),n.createElement("h2",{className:"u-h4 u-margin-bottom-small@sm"},"FAQs for ",t.title.text),i.map((e,t)=>n.createElement(m.Z,{key:t,index:t,total:i.length,accordionRefs:N,initOpen:e.initOpen,title:e.title,content:e.content})))})()))};var b=a(1251),y=a(77456),f=a(16319),h=a(52170),E=a(24385),x=a(74245),v=a(58917),w=a(87459),A=a(50997),k=a(39489),N=a(13806);const P=(0,N.P1)([e=>e.albumView],e=>e),L=((0,N.P1)([e=>e.id],e=>e),(0,N.P1)([e=>e.player.nowPlaying.id],e=>e)),$=((0,N.P1)([e=>e.player.isPlaying],e=>e),(0,N.P1)([e=>e.player.isFull],e=>e)),j=((0,N.P1)([e=>e.player.isEmpty],e=>e),(0,N.P1)([e=>e.user.isLoggedIn],e=>e),(0,N.P1)([e=>e.user.isPro],e=>e),(0,N.P1)([e=>e.user],e=>e),(0,N.P1)([e=>e.user.isZeroStreamer],e=>e)),B=((0,N.P1)([e=>e.library.isInLibrary],e=>e),(0,N.P1)([e=>e.event.top_src],e=>e),(0,N.P1)([e=>
1e.global.globalConfig.supported_languages.radio_supported_languages],e=>e)),M=(0,N.P1)([e=>e.global.isMobile],e=>e),D=((0,N.P1)([e=>e.global.updateQueueForZeroStreamer],e=>e),(0,N.P1)([e=>e.event.top_src.screen_name],e=>e));var C=a(27751),U=a(2575);const I=()=>{const e=(0,l.I0)(),t=(0,i.s0)(),a=(0,i.TH)(),s=(0,n.useRef)(null),o=(0,n.useRef)(""),r=(0,i.UO)().id,c=(0,l.v9)(P),m=(0,l.v9)(D),_=(0,l.v9)(M,u.Xy),N=(0,l.v9)($,u.Xy),I=(0,l.v9)(j,u.Xy),O=(0,l.v9)(L),S=((0,l.v9)(B,u.Xy),(0,l.v9)(C._,u.Xy)),H=(0,l.v9)(U.T1,u.Xy),{album:R,serverSideLoad:Z,fetched_album:T,modules:X,modules_fetching:z}=c,{isLoggedIn:K,isPro:W}=S,[G,Q]=(0,n.useState)(!0),J=(0,v.Z)(r),V=(0,v.Z)(N),{pathname:q}=((0,v.Z)(T),a),F=()=>{Y("Pro"),(0,u.yv)(t,q)},Y=t=>{let a={screen_name:g.j2.ALBUM,entity_name:t,entity_id:(0,A.uM)(t),entity_type:g.JB,sec_title:g.j2.ALBUM_HEADER,sec_id:(0,A.uM)(g.j2.ALBUM_HEADER)},n=(0,A.P7)({bot_src:a,event_type:g.bQ});e((0,E.Kz)({data:n})),"Pro"==t&&e((0,E.It)({event_item:a}))},ee=(0,n.useCallback)(e=>{let t=[],a={...e,utils:{pathname:window.location.pathname,isInLibrary:e.isInLibrary,isLoggedIn:K}};if(e.code!==d.Kz&&e.id==R.id)for(let e of d.G.album.main_list)"submenu_share_item"!==e&&t.push(e);return"list"==e.parent_module&&t.push("album_more"),"album"==e.type&&e.id==R.id&&(a.songs=R.songs),(0,u.Em)(a,t)},[R,K]),te=()=>{var e={};return e.album_id=R.id,e},ae=(0,n.useCallback)(t=>{t.onerror=null,e((0,b.lf)(d.VQ.large.album))},[]),ne=(0,n.useCallback)(t=>{let{id:a,title:n,songs:l}=R;switch(t.type){case"song":const i=l.filter(e=>e.id==t.id);if(i.length){let a=l.findIndex(e=>e.id==t.id);return o.current==l[a].id?e((0,y.ID)()):e((0,y.af)({list:l,current_item_index:a,toast_title:i[0].title.text},d._j))}return e((0,y.dl)({item_id:t.id,item_type:t.type}));case"album":return t.id==a?e((0,y.af)({list:l,toast_title:n.text},d._j)):e((0,y.dl)({item_id:t.id,item_type:t.type}));case"artist":return e((0,y.dl)({item_id:t.encrypted_id,item_type:t.type,toast_title:t.title.text}));default:return}},[R]),le=(0,n.useCallback)((t,a)=>{switch(t){case"artist_follow":case"song_add_library":case"album_add_library":case"playlist_add_library":return e((0,f.WY)(a.id,a.type));case"artist_stop_following":case"song_remove_library":case"album_remove_library":case"playlist_remove_library":return e((0,f.co)(a.id,a.type));case"song_play":case"album_play":return ne(a);case"song_add_to_queue":return e((0,y.xd)({list:[a],toast_title:a.title.text}));case"album_add_to_queue":return e((0,y.OW)({toast_title:a.title.text,item_type:a.type,item_id:a.id}));case"default_artist_follow":case"default_add_to_playlist":case"default_add_to_library":K||setTimeout(()=>e((0,x.Z)({isOpen:!0,modal:"login-signup-modal"})),500);break;default:return null}},[K,R]),ie=(0,n.useRef)([]),se={play:0,follow:1,overflow:2},oe=()=>re(()=>ne({type:"album",id:R.id})),re=(0,n.useCallback)(t=>{let a={entity_name:R.title.text,entity_id:R.id,entity_type:d.uX.ALBUM,sec_title:g.j2.ALBUM_HEADER,screen_name:g.j2.ALBUM,stream_entity_type:d.uX.ALBUM,stream_entity_name:R.title.text,stream_entity_id:R.id};e((0,E.Dj)({event_item:a}));let n=(0,A.P7)({bot_src:{screen_name:g.j2.ALBUM,sec_title:g.j2.ALBUM_HEADER,entity_name:"Play",entity_id:(0,A.uM)("Play"),entity_type:g.JB},event_type:g.bQ});e((0,E.Kz)({data:n})),t()},[R]);return(0,n.useEffect)(()=>{if(Z&&s.current){const{complete:e,naturalHeight:t}=s.current;e&&0===t&&ae(s.current)}return Z?(e((0,b.Ml)()),e((0,b.zO)({isServerSideLoad:d.Cu}))):e((0,b.f9)(r)),g.zP.album_screen<g.zP[m]&&e((0,E.I8)({screen_name:"album_screen"})),ie.current=ie.current.slice(0,3),()=>{(0,k.mf)("album",e),e((0,E.Zw)({screen_name:"album_screen"})),e((0,b._T)())}},[]),(0,n.useEffect)(()=>{if(R?.title?.text){const t=`${R.title.text} - ${d.eH}`;e((0,h.x6)(`<title>${t}</title>`))}},[e,R]),(0,n.useEffect)(()=>{o.current=O},[O]),(0,w.Z)(()=>{N!==V&&(N?(0,k.mf)("album",e):_||(0,k.BB)(["album_desktop_top"],te(),W,e))},[N]),(0,n.useEffect)(()=>{void 0!==J&&r!==J&&(Q(!0),e((0,b.f9)(r)),window.scrollTo(0,0),(0,k.mf)("album",e),I&&e((0,h.Qx)(d._j)))},[r]),(0,n.useEffect)(()=>{if(!G||!T||!H)return;let t=R.title?.action.split("/")[3];r===t&&(_||(0,k.BB)(["album_desktop_top"],te(),W,e),(()=>{Q(!1);let t=(0,A.P7)({bot_src:{screen_name:g.j2.ALBUM,entity_name:R.title.text,entity_id:R.id,entity_type:d.uX.ALBUM},event_type:g.oH});e((0,E.Kz)({data:t}))})())},[T,H]),T?n.createElement(p,{album:R,fetchedConfigData:H,forwardedImgRef:s,generateOptionsList:ee,handleClickOnPlay:ne,handleHeaderPlayEventAction:re,handleOption:le,handleUpdateAlbumImage:ae,isMobile:_,modules:X,modules_fetching:z,handleGoProClick:F,handlePlayClick:oe,buttonRefs:ie,buttonIndices:se}):n.createElement("div",{className:"c-spinner c-spinner--secondary c-spinner--large c-spinner--center"})},O=n.memo(I,u.Xy)},30222:(e,t,a)=>{a.d(t,{Z:()=>i});var n=a(89526);
1const l=function(e){let{initOpen:t,title:a,content:l,id:i="",index:s,total:o,accordionRefs:r}=e;const c=(0,n.useRef)(null),[m,u]=(0,n.useState)(t||!1),[d,g]=(0,n.useState)(0);(0,n.useEffect)(()=>g(c.current?.offsetHeight+11),[]);const _=(0,n.useRef)(null),p=()=>u(e=>!e);return(0,n.useEffect)(()=>{const e=_.current;e&&(m?e.removeAttribute("aria-hidden"):(e.setAttribute("aria-hidden","true"),e.removeAttribute("tabindex")))},[m]),n.createElement("aside",{className:"c-accordion"+(m?" active":"")},n.createElement("span",{ref:e=>r.current[s]=e,role:"button",tabIndex:0,"aria-expanded":m,"aria-controls":`${s}-content`,"aria-describedby":m?`${s}-content`:void 0,id:`${s}-title`,className:"o-display-block c-accordion__title",onClick:p,onKeyDown:function(e){switch(e.key){case"ArrowDown":e.preventDefault(),r.current[(s+1)%o]?.focus();break;case"ArrowUp":e.preventDefault(),r.current[(s-1+o)%o]?.focus();break;case"Home":e.preventDefault(),r.current[0]?.focus();break;case"End":e.preventDefault(),r.current[o-1]?.focus();break;case"Enter":case" ":e.preventDefault(),p()}}},a),d?"":n.createElement("p",{style:{position:"absolute",top:-9999,left:-9999,width:"100%"},ref:c,"aria-hidden":"true"},l),n.createElement("p",{id:`${s}-content`,className:"c-accordion__content",style:{maxHeight:m?d||300:0},role:"document","aria-hidden":!m,ref:_},l))},i=n.memo(l)}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.