(this.__LOADABLE_LOADED_CHUNKS__=this.__LOADABLE_LOADED_CHUNKS__||[]).push([[6328],{64132:(t,e,n)=>{"use strict";n.d(e,{Z:()=>b});var a=n(17),r=n(74763),i=n(72798),s=n(77236),o=n(68062),l=n(82412),c=n(10957),p=n(96832),u=n(34853);class d extends p.PureComponent{constructor(...t){super(...t),this.asyncData=null,this.state={links:void 0},this.getInitialStateAsync=()=>{const{variety:t}=this.props,{artistId:e,ampUrl:n}=this.props;return(0,i.Z)((0,c.SF)({ampUrl:n,id:e})).then((e=>{const n=(0,l.r7)((0,a.Z)(e,["data","similarArtists"]));return n&&n[t]&&n[t].length?{links:n[t].slice(0,3).map((t=>({title:t.artistName,url:(0,o.Yy)(t.artistId,t.artistName)})))}:{}}))},this.getTruncatedLinks=t=>{const{truncate:e}=this.props,n=[];let a=15;return t.forEach((t=>{const r=t.title.length;a+r+2<=e&&(a+=r+2,n.push(t))})),n}}componentDidMount(){this.asyncData=(0,s.Z)(this.getInitialStateAsync()),this.asyncData.then((t=>this.setState(t)))}componentWillUnmount(){this.asyncData&&this.asyncData.cancel()}render(){const{links:t,translate:e,numberOfFeatures:n}=this.props,a=this.state.links||t;if(!a)return(0,u.tZ)("p",{});const i=this.getTruncatedLinks(a);return(0,u.tZ)("p",{children:e("Feat. {artistNames} and more",{artistNames:i.slice(0,n).map(((t,e)=>(0,u.BX)("span",{children:[(0,u.tZ)(r.Z,{title:t.title,to:t.url,children:t.title}),e{"use strict";n.d(e,{Z:()=>O});const a="iHeart",r="@iHeartRadio",i=290638154,s="com.clearchannel.iheartradio.controller";var o=n(89128),l=n.n(o),c=n(32420),p=n(67120),u=n(38656);const d=(t,e,n=!0)=>{const a=e||c.mT,r=(0,u.parse)(a,n);return r.host?r.protocol?a:`https:${a}`:(0,p.zt)(t,a)},f=({deeplink:t,image:e,noAltLink:n,pagePath:r,siteUrl:i})=>{const s=d(i,e),o=(0,p.zt)(i,l()),c=(0,p.zt)(i,r);return[...n||!t?[]:[{href:`android-app://com.clearchannel.iheartradio.controller/ihr/${t}`,rel:"alternate"},{href:`ios-app://290638154/ihr/${t}`,rel:"alternate"}],{href:o,rel:"search",title:a,type:"application/opensearchdescription+xml"},{href:"https://plus.google.com/+iHeartRadio",rel:"author"},{href:"https://plus.google.com/+iHeartRadio",rel:"publisher"},{href:c,rel:"canonical"},{href:s,rel:"image_src"}]};var h=n(91053);const m=t=>{var e;const{image:n=c.mT,urlEncodeImage:o=!0,description:l,metaDescription:u,legacyDeeplink:f,siteUrl:m,fbAppId:g,fbPages:y,pagePath:b,socialTitle:v,twitterCard:w="summary",twitterImage:S,facebookImage:I,title:O,ogType:T,translate:P,omitTitleEnding:_}=t,k=d(m,n,o),Z=(0,p.zt)(m,b),A=f?`ihr://${f}`:"",E=(0,h.c)(P),j=_?"":`| ${(0,p.YY)(P,"iHeart")}`,x=null===l?null:null!=(e=null==l?void 0:l.replace(/"/g,"'"))?e:"";return[{content:null===x?null:u||x||E,name:"description"},{content:g,property:"fb:app_id"},{content:y,property:"fb:pages"},...T?[{content:T,property:"og:type"}]:[],{content:k,name:"thumbnail"},{content:S||k,name:"twitter:image"},{content:I||k,property:"og:image"},...x?[{content:x,itemprop:"description"},{content:x,property:"og:description"},{content:x,name:"twitter:description"}]:[],{content:Z,property:"og:url"},{content:Z,name:"twitter:url"},{content:a,property:"og:site_name"},{content:a,name:"twitter:app:name:iphone"},{content:a,name:"twitter:app:name:ipad"},{content:a,name:"twitter:app:name:googleplay"},{content:a,name:"al:android:app_name"},{content:a,name:"al:ios:app_name"},{content:r,name:"twitter:creator"},{content:r,name:"twitter:site"},{content:w,name:"twitter:card"},{content:"iheart.com",name:"twitter:domain"},{content:i,name:"twitter:app:id:iphone"},{content:i,name:"twitter:app:id:ipad"},{content:i,name:"al:ios:app_store_id"},{content:s,name:"twitter:app:id:googleplay"},{content:s,name:"al:android:package"},{content:`${O} ${j}`,itemprop:"name"},{content:`${v||O} ${j}`,property:"og:title"},{content:`${v||O} ${j}`,name:"twitter:title"},...A?[{content:A,name:"twitter:app:url:iphone"},{content:A,name:"twitter:app:url:ipad"},{content:A,name:"twitter:app:url:googleplay"},{content:A,property:"al:android:url"},{content:A,property:"al:ios:url"}]:[]]};var g=n(90758),y=n(20755),b=n(70044),v=n(75628),w=n(12771),S=n(71130),I=n(34853);const O=({deeplink:t="",description:e,image:n,urlEncodeImage:a=!0,legacyDeeplink:r,noAltLink:i,ogType:s,omitTitleEnding:o,metaDescription:l,socialTitle:c,title:p,twitterCard:u="summary",twitterImage:d,facebookImage:h})=>{const O=(0,S.useSelector)(b.iJ),T=(0,S.useSelector)(b.hK),P=(0,S.useSelector)(y.Jz),_=(0,S.useSelector)(v.$2),k=(0,g.Z)();return(0,I.tZ)(w.q,{encodeSpecialCharacters:a,link:f({deeplink:t,image:n,noAltLink:i,pagePath:P,siteUrl:_}),meta:m({description:e,fbAppId:O,fbPages:T,image:n,urlEncodeImage:a,legacyDeeplink:r,metaDescription:l,ogType:s,omitTitleEnding:o,pagePath:P,siteUrl:_,socialTitle:c,title:p,translate:k,twitterCard:u,twitterImage:d,facebookImage:h}),title:p})}},9821:(t,e,n)=>{"use strict";n.d(e,{Z:()=>T});var a=n(35887),r=n(48199),i=n(78761),s=n(34853);function o(){return o=Object.assign?Object.assign.bind():function(t){for(var e=1;e(0,f.iG)(e)?(0,f.jX)(r,i)||n:a,I=(t,{playlistUserId:e,playlistId:n,stationType:a})=>(0,f.iG)(a)?(0,g.n1)(t,{playlistId:n,playlistUserId:e}):a,O=(0,d.zB)({allAccessPreview:h.im,canPlayAlbum:p.eU,canPlayMyMusic:p.nA,canPlayPlaylist:p.jw,canPlayPlaylistRadio:p.NO,canStartArtistRadio:p.MC,canStartSongRadio:p.Km,curated:g.o7,currentAlbumId:m.iU,currentAlbumTitle:m.dT,entitlements:p.HF,isMuted:y.rs,isTrialEligible:p.jc,profileId:b.v4,stationId:S,stationType:I,station:(t,e)=>{var n;const a=I(t,e),r=S(0,e);return null!=(n=(0,v.gs)(t,{id:r,type:a}))?n:{}},subscriptionType:p.fE}),T=(0,a.Z)((t=>e=>{const n=o({adsPlayer:(0,i.Z)()},e);return(0,s.tZ)(t,o({},n))}),(t=>e=>{const n=c({adsPlayerState:(0,l.Z)()},e);return(0,s.tZ)(t,c({},n))}),(0,u.connect)(O,{toggleMute:w.$t}))(r.Z)},91053:(t,e,n)=>{"use strict";function a(t,e=!0,n=!0){return t(e&&n?"All your favorite music, podcasts, and radio stations available for free. Listen to thousands of live radio stations or create your own artist stations and playlists. Get the latest music and trending news, from your favorite artists and bands.":e?"Stream thousands of the best live radio stations and custom artist stations for FREE - all in one app.":n?"Stream thousands of the best live radio stations for FREE, plus unlimited music on demand - all in one app.":"Stream thousands of the best live radio stations for FREE - all in one app.")}n.d(e,{c:()=>a})},77236:(t,e,n)=>{"use strict";function a(){return a=Object.assign?Object.assign.bind():function(t){for(var e=1;er});const r=function(t){let e=!1;const n=new Promise(((n,r)=>{Promise.resolve(t).then((t=>e?r({canceled:e}):n(t))).catch((t=>r(a({},t,{canceled:e}))))}));return n.cancel=()=>{e=!0},n}},20262:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>u});var a=n(46538),r=n(81249),i=n(224),s=n(20015),o=n(78743),l=n(90758),c=n(23653),p=n(34853);function u({artistId:t,artistName:e,artistUrl:n,pagePath:u}){const d=(0,l.Z)(),f=d("Stream Music from Artists Like {artistName}",{artistName:e}),h={seedId:t,seedType:c.bV.ARTIST,url:u};return t?(0,p.BX)(p.HY,{children:[(0,p.tZ)(a.Z,{artistId:t,metaTitle:f,pagePath:u,seedType:c.bV.ARTIST}),(0,p.tZ)(i.Z,{seedId:t,seedType:"artist"}),(0,p.tZ)(s.ZP,{backLink:n,dataTest:s.n3.ArtistSimilar,social:h,title:e,children:(0,p.tZ)(r.Z,{header:d("Similar Artists"),playedFrom:o.Z.PROF_ARTIST_SIMILAR,singleRow:!1,tilesHaveFixedHeight:!0,tilesInRow:3})})]}):null}},89128:t=>{t.exports="/v8.52.0/08cac9f/bundles/opensearch.xml"},85331:(t,e,n)=>{"use strict";var a=Object.assign||function(t){for(var e=1;e.*<\/title>/gi,desc:/.*<\/desc>/gi,comment://gi,defs:/.*<\/defs>/gi,width:/ +width="\d+(\.\d+)?(px)?"/gi,height:/ +height="\d+(\.\d+)?(px)?"/gi,fill:/ +fill="(none|#[0-9a-f]+)"/gi,sketchMSShapeGroup:/ +sketch:type="MSShapeGroup"/gi,sketchMSPage:/ +sketch:type="MSPage"/gi,sketchMSLayerGroup:/ +sketch:type="MSLayerGroup"/gi},u=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"render",value:function(){var t=this.props,n=t.className,r=t.component,i=t.svg,o=t.fill,c=t.width,u=t.accessibilityLabel,d=t.accessibilityDesc,f=t.classSuffix,h=t.cleanupExceptions,m=function(t,e){var n={};for(var a in t)e.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(t,a)&&(n[a]=t[a]);return n}(t,["className","component","svg","fill","width","accessibilityLabel","accessibilityDesc","classSuffix","cleanupExceptions"]),g=this.props,y=g.cleanup,b=g.height;(!0===y||0===y.length&&h.length>0)&&(y=Object.keys(p)),y=y.filter((function(t){return!(h.indexOf(t)>-1)})),c&&void 0===b&&(b=c),delete m.cleanup,delete m.height;var v,w,S,I=(0,l.default)((S=n,(w=n)in(v={SVGInline:!0,"SVGInline--cleaned":y.length})?Object.defineProperty(v,w,{value:S,enumerable:!0,configurable:!0,writable:!0}):v[w]=S,v)),O=I.split(" ").join(f+" ")+f,T=e.cleanupSvg(i,y).replace(//.exec(T)).index+P[0].length;T=T.substr(0,_)+""+d+""+T.substr(_)}if(u){var k=(P=P||//.exec(T)).index+P[0].length-1,Z="SVGInline-"+e.idCount+++"-title";T=T.substr(0,k)+' role="img" aria-labelledby="'+Z+'"'+T.substr(k,1)+''+u+""+T.substr(k+1)}return s.default.createElement(r,a({},m,{className:I,dangerouslySetInnerHTML:{__html:T}}))}}]),e}(i.Component);u.propTypes={className:o.default.string,classSuffix:o.default.string,component:o.default.oneOfType([o.default.string,o.default.func]),svg:o.default.string.isRequired,fill:o.default.string,cleanup:o.default.oneOfType([o.default.bool,o.default.array]),cleanupExceptions:o.default.array,width:o.default.string,height:o.default.string,accessibilityLabel:o.default.string,accessibilityDesc:o.default.string},u.defaultProps={component:"span",classSuffix:"-svg",cleanup:[],cleanupExceptions:[]},u.idCount=0,u.cleanupSvg=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return Object.keys(p).filter((function(t){return e.indexOf(t)>-1})).reduce((function(t,e){return t.replace(p[e],"")}),t).trim()},e.Z=u}}]); //# sourceMappingURL=Similar.www.js.map