| 1 |
- System.register(["./index-legacy.368f0bff.js","./index-legacy.e9d66780.js","./index-legacy.998ece96.js","./index-legacy.c175b47e.js","./header-legacy.8e2c9d58.js","./music-legacy.8f31bf7f.js","./hooks-legacy.d7d4066c.js","./index-legacy.9080aae3.js","./use-tab-status-legacy.228d62b2.js","./index-legacy.f3e62801.js","./index-legacy.89c8cc5f.js","./index-legacy.27a1b6e0.js","./use-id-legacy.30d7ed50.js","./use-refs-legacy.caa9bb54.js","./index-legacy.67b28c7d.js","./index-legacy.537e2227.js","./index-legacy.7e6e182b.js","./select-subject-legacy.4cbf1fe7.js","./index-legacy.269c2508.js","./index-legacy.b8b064fb.js","./index-legacy.6ccf6e96.js","./index-legacy.e5fcacf1.js","./icon-xin-legacy.18ed4a9d.js","./index-legacy.9eaf3edf.js","./index-legacy.526d23fa.js","./select-tag-legacy.77fa1c6f.js","./index-legacy.150c9b95.js","./index-legacy.bb4f9094.js","./index-legacy.6e10cd37.js","./index-legacy.41386cc4.js","./index-legacy.f7fe9c2a.js","./icon_uploader-legacy.db3a8c90.js","./icon_album-legacy.d489a774.js","./icon_album_active-legacy.d2829e23.js","./icon_exquisite-legacy.178b582f.js","./icon_music_active-legacy.cc68af68.js","./icon-play-legacy.50b88257.js"],(function(e){"use strict";var n,c,a,u,i,l,f,t,s,o,d,g,r,j,y;return{setters:[function(e){n=e.d,c=e.O,a=e.P,u=e.S,i=e.U,l=e.bB,f=e.j},function(e){t=e.d},function(e){s=e.default},function(e){o=e.default},function(e){d=e.m,g=e.s},function(e){r=e.g},function(e){j=e.a,y=e.S},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){e("default",n({name:"MusicSearch",emits:["confirm"],setup:function(){localStorage.setItem("behaviorId",r());var e=c(),n=a(),v=u(e.query.keyword||""),b=u(e.query.tagids||""),m=u(),x=u(!1),h=t("music-search",[]),S=u("songe"),I=j(y.SEARCH);m.value=I.id;var p=function(e){var n,c;v.value=e;var a=h.value.indexOf(e);a>-1&&h.value.splice(a,1),e&&(h.value.unshift(e),h.value.length=Math.min(h.value.length,5)),null===(n=(c=("album"===S.value?C:T).value).onSearch)||void 0===n||n.call(c,e)},_=function(e){var n,c,a=Object.values(e).flat().filter(Boolean).join(",");b.value=a,null===(n=(c=("album"===S.value?C:T).value).onComfirm)||void 0===n||n.call(c,e),x.value=!1},q=function(e){var n,c;m.value=e.id,null===(n=(c=("album"===S.value?C:T).value).onComfirmSubject)||void 0===n||n.call(c,e)},C=u(null),T=u(null),k=function(e){S.value=e};return i((function(){d.on("changeTab",k),d.on("search",p),d.on("confirm",_),d.on("confirmSubject",q)})),l((function(){d.off("changeTab",k),d.off("search",p),d.off("confirm",_),d.off("confirmSubject",q)})),function(){return f("div",{class:g.search},["album"===S.value?f(s,{hideSearch:!0,ref:C,defauleParams:{search:v.value,tagids:b.value,albumTagIds:b.value,subjectIds:m.value}},null):f(o,{hideSearch:!0,ref:T,onItemClick:function(c){n.push({path:"/music-detail",query:{id:c.id,albumId:e.params.id}})},defauleParams:{search:v.value,tagids:b.value,musicTagIds:b.value,subjectIds:m.value}},null)])}}}))}}}));
|