text: (window.webpackJsonp=window.webpackJsonp||[]).push([[7],{BIS8:function(t,e,a){var i=a("C5M+");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(i,r);i.locals&&(t.exports=i.locals)},"C5M+":function(t,e,a){(t.exports=a("I1BE")(!1)).push([t.i,':root{--color-text-primary:#fff;--color-text-secondary:hsla(0,0%,100%,0.7);--color-bg-primary:#181818;--color-bg-secondary:hsla(0,0%,100%,0.025);--color-highlight:#ff7d2e;--bg-image:none;--bg-position:center;--bg-attachment:fixed;--bg-size:cover;--font-family:system,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;--font-weight-thin:100;--font-weight-light:300;--font-weight-normal:500;--header-height:48px;--footer-height:64px;--footer-height-mobile:74px;--extra-panel-width:334px;--color-black:#181818;--color-maroon:#bf2043;--color-green:#56a052;--color-blue:#0191f7;--color-red:#c34848}:root[data-theme=violet]{--color-bg-primary:#31094e}:root[data-theme=oak]{--color-bg-primary:#560d25}:root[data-theme=slate]{--color-bg-primary:#29434e}:root[data-theme=madison]{--color-bg-primary:#0e3463;--color-highlight:#fbab18}:root[data-theme=astronaut]{--color-bg-primary:#2a3074}:root[data-theme=chocolate]{--color-bg-primary:#3f2724}:root[data-theme=laura]{--color-bg-primary:#126673;--color-highlight:rgba(10,244,255,0.64)}:root[data-theme=rose-petals]{--bg-image:url(/img/themes/bg-rose-petals.svg);--color-bg-primary:#7d083b}:root[data-theme=purple-waves]{--color-bg-primary:#44115c;--bg-image:url(/img/themes/bg-purple-waves.svg)}:root[data-theme=cat]{--bg-image:url(/img/themes/bg-cat.jpg);--bg-position:left;--color-bg-primary:#000}:root[data-theme=pop-culture]{--bg-image:url(/img/themes/bg-pop-culture.jpg);--color-bg-primary:#ad0937;--color-highlight:rgba(234,208,110,0.9)}:root[data-theme=jungle]{--bg-image:url(/img/themes/bg-jungle.jpg);--color-bg-primary:#0f0f03}:root[data-theme=mountains]{--bg-image:url(/img/themes/bg-mountains.jpg);--color-bg-primary:#0e2656}:root[data-theme=pines]{--bg-image:url(/img/themes/bg-pines.jpg);--color-bg-primary:#06090c;--color-highlight:#5984b9}:root[data-theme=nemo]{--bg-image:url(/img/themes/bg-nemo.jpg);--color-bg-primary:#031724}.item{position:relative;max-width:256px}@media only screen and (max-width:768px){.item{max-width:100%}}.item:focus-within .right,.item:hover .right{display:block!important}.item.compact{display:flex;flex-direction:row;max-width:100%;overflow:hidden;min-height:80px}.item.compact .thumbnail-wrapper{width:80px}.item.compact footer{max-height:80px;flex:1}.item.compact .info{margin-bottom:12px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.item.compact .sep,.item.compact a.artist,.item.compact a.name{display:inline;white-space:inherit}.item footer{padding:16px;background:var(--color-bg-secondary);flex:1;overflow:hidden}.item .name{font-weight:var(--font-weight-normal)}.item .meta{color:var(--color-text-secondary);margin-top:4px;font-size:.9rem;display:flex;justify-content:space-between}.item .meta .right{display:none}@media (hover:none){.item .meta .right{display:block}}.item .meta .right a{margin-left:4px}.item a.artist,.item a.name{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.item a.artist:link,.item a.artist:visited,.item a.name:link,.item a.name:visited{color:var(--color-text-primary)}.item a.artist:focus,.item a.artist:hover,.item a.name:focus,.item a.name:hover{color:var(--color-highlight)}.compact .item .info{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}',""])},VfTu:function(t,e,a){"use strict";var i=a("BIS8");a.n(i).a},irYu:function(t,e,a){"use strict";var i=a("JspL"),r=a("ilaN");e.a=i.a.extend({props:{artist:{type:Object,required:!0}},computed:{length(){return this.artist.songs.reduce((t,e)=>t+e.length,0)},fmtLength(){return Object(r.w)(this.length)},image(){return this.artist.image||(this.artist.image=Object(r.k)(),this.artist.albums.every(t=>{if(t.cover!==Object(r.k)())return this.artist.image=t.cover,!1})),this.artist.image}}})},lAVK:function(t,e,a){"use strict";a.r(e);var i=a("mF3K"),r=a("ilaN"),o=a("c8RX"),s=a("OUsP"),l=a("irYu"),n=a("uhNi"),m=Object(i.a)(l.a).extend({props:{layout:{type:String,default:"full"}},components:{ArtistThumbnail:()=>a.e(4).then(a.bind(null,"A9fp"))},filters:{pluralize:r.v},data:()=>({sharedState:o.k.state}),computed:{showing(){return Boolean((this.artist.songs.length||this.artist.albums.length)&&!o.b.isVariousArtists(this.artist))}},methods:{shuffle(){s.h.playAllByArtist(this.artist,!0)},download(){s.e.fromArtist(this.artist)},dragStart(t){Object(r.z)(t,this.artist,"Artist")},requestContextMenu(t){r.f.emit(n.b.ARTIST_CONTEXT_MENU_REQUESTED,t,this.artist)}}}),c=(a("VfTu"),a("KHd+")),h=Object(c.a)(m,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.showing?a("article",{staticClass:"item",class:t.layout,attrs:{title:t.artist.name,draggable:"true",tabindex:"0","data-test":"artist-card"},on:{dragstart:t.dragStart,contextmenu:function(e){return e.preventDefault(),t.requestContextMenu(e)},dblclick:t.shuffle}},[a("span",{staticClass:"thumbnail-wrapper"},[a("artist-thumbnail",{attrs:{entity:t.artist}})],1),t._v(" "),a("footer",[a("div",{staticClass:"info"},[a("a",{staticClass:"name",attrs:{href:"#!/artist/"+t.artist.id}},[t._v("\n        "+t._s(t.artist.name)+"\n      ")])]),t._v(" "),a("p",{staticClass:"meta"},[a("span",{staticClass:"left"},[t._v("\n        "+t._s(t._f("pluralize")(t.artist.albums.length,"album"))+"\n        •\n        "+t._s(t._f("pluralize")(t.artist.songs.length,"song"))+"\n        •\n        "+t._s(t._f("pluralize")(t.artist.playCount,"play"))+"\n      ")]),t._v(" "),a("span",{staticClass:"right"},[a("a",{staticClass:"shuffle-artist",attrs:{title:"Shuffle all songs by "+t.artist.name,href:"",role:"button"},on:{click:function(e){return e.preventDefault(),t.shuffle(e)}}},[a("i",{staticClass:"fa fa-random"})]),t._v(" "),t.sharedState.allowDownload?a("a",{staticClass:"download-artist",attrs:{title:"Download all songs by "+t.artist.name,href:"",role:"button"},on:{click:function(e){return e.preventDefault(),t.download(e)}}},[a("i",{staticClass:"fa fa-download"})]):t._e()])])])]):t._e()}),[],!1,null,null,null);e.default=h.exports}}]);