index-legacy.b88fd65c.js 12 KB

1
  1. !function(){function t(r){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(r)}function r(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */r=function(){return e};var e={},n=Object.prototype,o=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{s({},"")}catch(G){s=function(t,r,e){return t[r]=e}}function l(t,r,e,n){var o=r&&r.prototype instanceof h?r:h,i=Object.create(o.prototype),a=new E(n||[]);return i._invoke=function(t,r,e){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return S()}for(e.method=o,e.arg=i;;){var a=e.delegate;if(a){var u=A(a,e);if(u){if(u===d)continue;return u}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if("suspendedStart"===n)throw n="completed",e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);n="executing";var c=f(t,r,e);if("normal"===c.type){if(n=e.done?"completed":"suspendedYield",c.arg===d)continue;return{value:c.arg,done:e.done}}"throw"===c.type&&(n="completed",e.method="throw",e.arg=c.arg)}}}(t,e,a),i}function f(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(G){return{type:"throw",arg:G}}}e.wrap=l;var d={};function h(){}function p(){}function v(){}var m={};s(m,a,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(L([])));y&&y!==n&&o.call(y,a)&&(m=y);var w=v.prototype=h.prototype=Object.create(m);function _(t){["next","throw","return"].forEach((function(r){s(t,r,(function(t){return this._invoke(r,t)}))}))}function b(r,e){function n(i,a,u,c){var s=f(r[i],r,a);if("throw"!==s.type){var l=s.arg,d=l.value;return d&&"object"==t(d)&&o.call(d,"__await")?e.resolve(d.__await).then((function(t){n("next",t,u,c)}),(function(t){n("throw",t,u,c)})):e.resolve(d).then((function(t){l.value=t,u(l)}),(function(t){return n("throw",t,u,c)}))}c(s.arg)}var i;this._invoke=function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}}function A(t,r){var e=t.iterator[r.method];if(void 0===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=void 0,A(t,r),"throw"===r.method))return d;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var n=f(e,t.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,d;var o=n.arg;return o?o.done?(r[t.resultName]=o.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=void 0),r.delegate=null,d):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function x(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function z(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function L(t){if(t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var e=-1,n=function r(){for(;++e<t.length;)if(o.call(t,e))return r.value=t[e],r.done=!1,r;return r.value=void 0,r.done=!0,r};return n.next=n}}return{next:S}}function S(){return{value:void 0,done:!0}}return p.prototype=v,s(w,"constructor",v),s(v,"constructor",p),p.displayName=s(v,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===p||"GeneratorFunction"===(r.displayName||r.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,s(t,c,"GeneratorFunction")),t.prototype=Object.create(w),t},e.awrap=function(t){return{__await:t}},_(b.prototype),s(b.prototype,u,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new b(l(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},_(w),s(w,c,"Generator"),s(w,a,(function(){return this})),s(w,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var r=[];for(var e in t)r.push(e);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=L,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(z),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function e(e,n){return a.type="throw",a.arg=t,r.next=e,n&&(r.method="next",r.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n],a=i.completion;if("root"===i.tryLoc)return e("end");if(i.tryLoc<=this.prev){var u=o.call(i,"catchLoc"),c=o.call(i,"finallyLoc");if(u&&c){if(this.prev<i.catchLoc)return e(i.catchLoc,!0);if(this.prev<i.finallyLoc)return e(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return e(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return e(i.finallyLoc)}}}},abrupt:function(t,r){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=r&&r<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=r,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),d},finish:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),z(e),d}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;z(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,e){return this.delegate={iterator:L(t),resultName:r,nextLoc:e},"next"===this.method&&(this.arg=void 0),d}},e}function e(t,r,e,n,o,i,a){try{var u=t[i](a),c=u.value}catch(s){return void e(s)}u.done?r(c):Promise.resolve(c).then(n,o)}var n=document.createElement("style");n.innerHTML="._theMusicGrid_wdvuz_1 .van-grid{margin:0 -.10667rem}._theMusicGrid_wdvuz_1 .van-grid-item{width:calc(100% / 3)}._theMusicGrid_wdvuz_1 .van-grid-item__content{display:block;padding:0 .10667rem;background-color:transparent}._theMusicGrid_wdvuz_1 ._item_wdvuz_12{margin-bottom:.4rem}._theMusicGrid_wdvuz_1 ._item_wdvuz_12 ._title_wdvuz_15{font-size:.37333rem;color:#333;line-height:.53333rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:.05333rem}._theMusicGrid_wdvuz_1 ._item_wdvuz_12 ._des_wdvuz_24{font-size:.32rem;color:#999;line-height:.42667rem}._theMusicGrid_wdvuz_1 ._imgWrap_wdvuz_29{position:relative;height:29vw;border-radius:.16rem;overflow:hidden;margin-bottom:.16rem;max-height:9.46667rem}._theMusicGrid_wdvuz_1 ._imgWrap_wdvuz_29 ._albumType_wdvuz_37{position:absolute;left:0;top:0;background:linear-gradient(180deg,#ff8900 0%,#ff5100 100%);box-shadow:0 .02667rem .05333rem rgba(150,13,0,.11);border-radius:.26667rem 0;font-size:.32rem;padding:0 .16rem;line-height:.53333rem;color:#fff;z-index:9}._theMusicGrid_wdvuz_1 ._imgWrap_wdvuz_29 ._model_wdvuz_50{position:absolute;left:.10667rem;bottom:.10667rem;background:rgba(67,67,67,.6);backdrop-filter:blur(.53333rem);-webkit-backdrop-filter:blur(.53333rem);display:flex;align-items:center;padding:.10667rem .16rem;border-radius:.53333rem;font-size:.32rem;color:#fff;transform:scale(.9)}._theMusicGrid_wdvuz_1 ._imgWrap_wdvuz_29 ._num_wdvuz_65{margin-left:.08rem}\n",document.head.appendChild(n),System.register(["./index-legacy.7ef67fdb.js","./index-legacy.1bc783ea.js","./index-legacy.53298efe.js","./request-legacy.eaa5ea94.js"],(function(t){"use strict";var n,o,i,a,u,c,s,l,f,d,h,p,v,m;return{setters:[function(t){n=t.d,o=t.c,i=t.b,a=t._,u=t.r,c=t.o,s=t.F,l=t.a},function(t){f=t.G,d=t.a,h=t.T},function(t){p=t.I},function(t){v=t.T,m=t.r}],execute:function(){var g="_theMusicGrid_wdvuz_1",y="_item_wdvuz_12",w="_title_wdvuz_15",_="_des_wdvuz_24",b="_imgWrap_wdvuz_29",A="_albumType_wdvuz_37",x="_model_wdvuz_50",z="_num_wdvuz_65";var E=t("T",n({name:"TheMusicGrid",props:{list:{type:Array,default:function(){return[]}}},emits:["goto"],setup:function(t,r){var e=r.emit;return function(){var r,n;return o("div",{class:g},[o(f,{border:!1,columnNum:3},(n=r=t.list.map((function(t){return o(d,null,{default:function(){return[o("div",{class:y,onClick:function(){return e("goto",t)}},[o("div",{class:b},["CHARGE"===t.paymentType&&o("span",{class:A},[i("付费")]),o(h,{src:t.albumCoverUrl},null),o("div",{class:x},[o(p,{name:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAkCAYAAADl9UilAAAAAXNSR0IArs4c6QAAA0NJ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+Ai8A307S6M3z/iRgUSU0OgDPSD/4psofOwAL6DcUSgQAAAAASUVORK5CYII="},null),o("span",{class:z},[t.albumFavoriteCount,i("人")])])]),o("div",{class:w},[t.albumName]),o("div",{class:_},[i("共"),t.musicSheetCount,i("首")])])]}})})),"function"==typeof n||"[object Object]"===Object.prototype.toString.call(n)&&!a(n)?r:{default:function(){return[r]}}))])}}}));t("H",n({name:"hotAlbum",setup:function(){var t=l(),n=u([]),i=function(){var t,o=(t=r().mark((function t(){var e;return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,m.post("/api-website/open/music/album/list",{data:{albumStatus:1,page:1,rows:9}});case 3:(e=t.sent).data&&Array.isArray(e.data.rows)&&(n.value=e.data.rows),t.next=9;break;case 7:t.prev=7,t.t0=t.catch(0);case 9:case"end":return t.stop()}}),t,null,[[0,7]])})),function(){var r=this,n=arguments;return new Promise((function(o,i){var a=t.apply(r,n);function u(t){e(a,o,i,u,c,"next",t)}function c(t){e(a,o,i,u,c,"throw",t)}u(void 0)}))});return function(){return o.apply(this,arguments)}}();return c((function(){i()})),function(){return o(s,null,[o(v,{title:"热门专辑",onMore:function(){t.push({path:"/search"})}},null),o(E,{list:n.value,onGoto:function(r){return t.push({path:"/musicAlum",query:{id:r.id}})}},null)])}}}))}}}))}();