webpackJsonp([2],{FryR:function(t,e,n){var a=n("/whu");t.exports=function(t){return Object(a(t))}},K0pT:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={props:{parentData:{type:Object,required:!0}}},r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"o-view__content"},[n("ma-section",{attrs:{title:t.parentData.featured.message}},t._l(t.parentData.featured.playlists.items,function(t){return n("ma-box",{key:t.id,attrs:{slot:"boxes",type:t.type,primaryid:t.id,secondaryid:t.owner.id,image:t.images,title:t.name},slot:"boxes"})})),n("ma-section",{attrs:{title:t.$t("newreleases")}},t._l(t.parentData.releases.albums.items,function(t){return n("ma-box",{key:t.id,attrs:{slot:"boxes",type:t.type,primaryid:t.id,image:t.images,title:t.name,artists:t.artists},slot:"boxes"})}))],1)},i=[],s=n("XyMi"),o=!1,u=null,l=null,c=null,f=Object(s["a"])(a,r,i,o,u,l,c);e["default"]=f.exports},Y1N3:function(t,e){e.f=Object.getOwnPropertySymbols},n12u:function(t,e,n){var a=n("Ds5P");a(a.S+a.F,"Object",{assign:n("oYd7")})},oYd7:function(t,e,n){"use strict";var a=n("Qh14"),r=n("Y1N3"),i=n("Y1aA"),s=n("FryR"),o=n("Q6Nf"),u=Object.assign;t.exports=!u||n("zgIt")(function(){var t={},e={},n=Symbol(),a="abcdefghijklmnopqrst";return t[n]=7,a.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=a})?function(t,e){var n=s(t),u=arguments.length,l=1,c=r.f,f=i.f;while(u>l){var p,d=o(arguments[l++]),m=c?a(d).concat(c(d)):a(d),b=m.length,g=0;while(b>g)f.call(d,p=m[g++])&&(n[p]=d[p])}return n}:u},vhPV:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});n("n12u");var a=n("Biqn"),r=n.n(a),i=n("NYxO"),s=n("AlNC"),o=n("4KzK"),u={data:function(){return{response:{}}},computed:r()({},Object(i["c"])("auth",{spotifyBackendToken:"getSpotifyBackendToken"}),{dataToFetch:function(){var t=this,e=t.$route.params.id,n={artistInfo:function(){return Object(o["e"])({id:e})},topTracks:function(){return Object(o["t"])({id:e})},albums:function(){return Object(o["d"])({id:e,type:"album"})},singles:function(){return Object(o["d"])({id:e,type:"single"})},appearsOn:function(){return Object(o["d"])({id:e,type:"appears_on"})},relatedArtists:function(){return Object(o["r"])({id:e})}};return t.spotifyBackendToken&&(n=Object.assign({additionalArtistInfo:function(){return Object(s["a"])({id:e})}},n)),n},getStageImage:function(){var t,e=this,n=e.response,a=n.artistInfo,r=n.additionalArtistInfo;return r?t=r.headerImages:a&&(t=a.images),t},getNavigation:function(){var t=this,e=[{title:t.$t("overview"),routeName:"artist"},{title:t.$t("relatedartists"),routeName:"artistRelated"}];return t.spotifyBackendToken&&e.push({title:t.$t("about"),routeName:"artistAbout"}),e},getInfo:function(){var t=this,e=t.response,n=e.artistInfo,a=e.additionalArtistInfo,r=n.followers.total,i=[{value:r.toLocaleString(),subtitle:t.$tc("follower",r>1?0:1)}];if(t.spotifyBackendToken){var s=a.artistInsights.monthly_listeners;i.unshift({value:s.toLocaleString(),subtitle:t.$tc("monthlylisteners",0)})}return i}})},l=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("api-request",{staticClass:"o-view__parent",attrs:{resource:t.dataToFetch},model:{value:t.response,callback:function(e){t.response=e},expression:"response"}},[t.response.artistInfo?n("ma-stage",{attrs:{image:t.getStageImage,subtitle:t.$tc("artist",1),title:t.response.artistInfo.name,navigation:t.getNavigation,popularity:t.response.artistInfo.popularity,info:t.getInfo}}):t._e(),n("transition",{attrs:{name:"fade",mode:"out-in"}},[n("keep-alive",[n("router-view",{attrs:{"parent-data":t.response}})],1)],1)],1)},c=[],f=n("XyMi"),p=!1,d=null,m=null,b=null,g=Object(f["a"])(u,l,c,p,d,m,b);e["default"]=g.exports}});
//# sourceMappingURL=browse1.2.c72e464b.js.map