webpackJsonp([9],{PrSk:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("4KzK"),s={data:function(){return{response:{}}},computed:{dataToFetch:function(){var e=this,t=e.$route.params.id;return{categoryInfo:function(){return Object(r["g"])({id:t})},category:function(){return Object(r["h"])({id:t})}}},getInfo:function(){var e=this,t=e.response.album,a=t.tracks.total,r=new Date(t.release_date);return[{value:r.toLocaleDateString(),subtitle:e.$t("released")},{value:a,subtitle:e.$tc("track",1===a?1:0)}]}}},n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("api-request",{staticClass:"o-view__parent",attrs:{resource:e.dataToFetch},model:{value:e.response,callback:function(t){e.response=t},expression:"response"}},[e.response.categoryInfo?a("ma-stage",{attrs:{subtitle:e.$tc("category",1),title:e.response.categoryInfo.name}}):e._e(),e.response.category?a("div",{staticClass:"o-view__content"},[a("ma-section",{attrs:{actions:!1}},e._l(e.response.category.playlists.items,function(e){return a("ma-box",{key:e.id,attrs:{slot:"boxes",type:e.type,primaryid:e.id,secondaryid:e.owner.id,image:e.images,title:e.name},slot:"boxes"})}))],1):e._e()],1)},o=[],i=a("XyMi"),c=!1,l=null,u=null,p=null,d=Object(i["a"])(s,n,o,c,l,u,p);t["default"]=d.exports}});
//# sourceMappingURL=category0.9.20a76bd6.js.map