index-legacy.6c1b0360.js 39 KB

1
  1. !function(){function e(e,i){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);i&&(n=n.filter((function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable}))),t.push.apply(t,n)}return t}function i(i){for(var n=1;n<arguments.length;n++){var a=null!=arguments[n]?arguments[n]:{};n%2?e(Object(a),!0).forEach((function(e){t(i,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(a)):e(Object(a)).forEach((function(e){Object.defineProperty(i,e,Object.getOwnPropertyDescriptor(a,e))}))}return i}function t(e,i,t){return i in e?Object.defineProperty(e,i,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[i]=t,e}function n(e,i,t,n,a,r,o){try{var s=e[r](o),l=s.value}catch(u){return void t(u)}s.done?i(l):Promise.resolve(l).then(n,a)}function a(e){return function(){var i=this,t=arguments;return new Promise((function(a,r){var o=e.apply(i,t);function s(e){n(o,a,r,s,l,"next",e)}function l(e){n(o,a,r,s,l,"throw",e)}s(void 0)}))}}var r=document.createElement("style");r.innerHTML="._shareContent_1uaid_1{position:relative;width:8.93333rem;height:9.46667rem;margin:0 auto 2.02667rem}._shareContent_1uaid_1 ._shareBg_1uaid_7{position:absolute;top:0;left:0;z-index:1;width:8.93333rem;height:9.46667rem}._shareContent_1uaid_1 ._share_content__title_1uaid_15{position:relative;z-index:3;padding-top:1.44rem;padding-left:.37333rem;color:#fff;text-shadow:0 .05333rem .10667rem rgba(10,181,192,.7);width:4.53333rem}._shareContent_1uaid_1 ._share_content__title_1uaid_15 ._large_1uaid_24{font-size:.50667rem;font-weight:600;line-height:.69333rem}._shareContent_1uaid_1 ._share_content__title_1uaid_15 ._small_1uaid_29{padding-top:.16rem;font-size:.37333rem;line-height:.53333rem}._sectionFile_1uaid_34{position:relative;z-index:3;margin:.66667rem .4rem .37333rem;padding:.32rem;display:flex;background:rgba(255,255,255,.79);border-radius:.26667rem}._sectionFile_1uaid_34 ._muploader_1uaid_43{position:relative;z-index:9;width:1.49333rem;height:1.49333rem;-o-object-fit:cover;object-fit:cover;border-radius:.16rem}._sectionFile_1uaid_34 ._uploadImg_1uaid_51{position:relative;border-radius:.16rem;margin-right:.42667rem}._sectionFile_1uaid_34 ._uploadImg_1uaid_51 ._audioPan_1uaid_56{position:absolute;top:0;right:-.16rem;z-index:1;width:1.49333rem;height:1.49333rem}._sectionFile_1uaid_34 ._uploadImg_1uaid_51 ._imgLabel_1uaid_64{position:absolute;right:0;top:0;width:.74667rem;height:.37333rem;z-index:10}._sectionFile_1uaid_34 ._musicDetail_1uaid_72{display:flex;justify-content:center;flex-direction:column}._sectionFile_1uaid_34 ._musicDetail_1uaid_72 ._musicName_1uaid_77{font-size:.42667rem;font-weight:600;color:#131415;line-height:.58667rem;max-width:5.33333rem}._sectionFile_1uaid_34 ._musicDetail_1uaid_72 ._username_1uaid_84{padding-top:.10667rem;font-size:.34667rem;color:#aaa;line-height:.53333rem}._downloadSection_1uaid_90{display:flex;align-items:center;margin:0 .53333rem;position:relative;z-index:3}._downloadSection_1uaid_90 ._qrcode_1uaid_97{position:relative;width:2.24rem;height:2.24rem;padding:.08rem;border-radius:.10667rem;border:.02667rem solid #2BD1B2;flex-shrink:0;overflow:hidden}._downloadSection_1uaid_90 ._qrcode_1uaid_97 ._qrcodeCanvas_1uaid_107{width:100%!important;height:100%!important}._downloadSection_1uaid_90 ._qrcode_1uaid_97 ._qrcodeLogo_1uaid_111{position:absolute;top:50%;left:50%;z-index:10;margin-left:-.21333rem;margin-top:-.21333rem;width:.42667rem;height:.42667rem;border-radius:.10667rem}._downloadSection_1uaid_90 ._qrtips_1uaid_122{margin-left:.26667rem;padding-left:.24rem;border-left:.02667rem dashed #D8D8D8;font-weight:500;font-size:.32rem;color:#01c1b5;line-height:.48rem;padding-top:.13333rem}._downloadSection_1uaid_90 ._qrtips_1uaid_122 ._tip_1uaid_132{font-size:.32rem;color:#777;line-height:.45333rem}._downloadSection_1uaid_90 ._qrtips_1uaid_122 ._iconLogo_1uaid_137{width:1.81333rem;height:.56rem;margin:.13333rem 0 0}._downloadSection_1uaid_90 ._qrtips_1uaid_122 ._downTip_1uaid_142{font-size:.32rem;font-weight:500;color:#333;line-height:.45333rem}._shareBottom_1uaid_148{position:relative;background-color:#fff;border-radius:.32rem .32rem 0 0;padding-bottom:env(safe-area-inset-bottom)}._shareBottom_1uaid_148 ._iconClose_1uaid_154{position:absolute;top:.32rem;right:.32rem;font-size:.42667rem;color:#999}._share__header_1uaid_161{padding:.32rem .4rem .21333rem;font-size:.42667rem;color:#333;line-height:.58667rem}._gridSection_1uaid_167{--van-grid-item-icon-size: 1.17333rem;--van-grid-item-text-font-size: .32rem;--van-grid-item-text-color: #646566;--van-grid-item-content-padding: .42667rem .32rem}._btn_1uaid_173{font-size:.42667rem;color:#aaa;line-height:1.46667rem;text-align:center}\n",document.head.appendChild(r),System.register(["./ResizeObserver.es-legacy.a3d44ddf.js","./loading-legacy.f171a19d.js","./index-legacy.21ec1610.js","./index-legacy.58de274c.js","./index-legacy.1bd0c564.js","./index-legacy.fe161275.js","./index-legacy.dfaf89ff.js","./index-legacy.76b5fa6f.js","./browser-legacy.416afc8d.js","./api-legacy.5fa39b50.js","./index-legacy.c2b462f9.js","./logo-legacy.cf4b3bd2.js","./browser-legacy.2ab737c2.js","./html2canvas.esm-legacy.19f9c2b7.js","./plyr-legacy.2bfabaee.js","./plyr.min-legacy.2c76eff7.js","./index-legacy.af24b797.js","./use-tab-status-legacy.93aa5a20.js"],(function(e){"use strict";var t,n,r,o,s,l,u,c,d,m,p,f,A,v,g,h,y,w,b,x,S,_,B,k,C,I,L,P,T,z,U,E,R,O,V,D,X,F,N,H,W,M,G,j,q,Y,K,J,Q,Z,$,ee,ie,te,ne,ae,re,oe;return{setters:[function(e){t=e.d,n=e.U,r=e.S,o=e.V,s=e.j,l=e.A,u=e.N,c=e.T,d=e.p,m=e.f,p=e.P,f=e.Q,A=e.an,v=e.a3,g=e.D,h=e.n,y=e.bi,w=e.bj,b=e.bH,x=e.w,S=e.C,_=e.aS,B=e.B,k=e.$},function(e){C=e.a,I=e.m,L=e.b,P=e.v,T=e.s,z=e.c,U=e.t,E=e.d,R=e.e,O=e.f,V=e.i,D=e.g,X=e.T,F=e.h,N=e.L,H=e.j},function(e){W=e.C},function(e){M=e.C},function(e){G=e.C},function(e){j=e.I},function(e){q=e.L},function(e){Y=e.S},function(e){K=e.b,J=e.N},function(e){Q=e.a,Z=e.b,$=e.c},function(e){ee=e.G,ie=e.a},function(e){te=e.l},function(e){ne=e.b,ae=e.i},function(e){re=e.h},function(){},function(e){oe=e.P},function(){},function(){}],execute:function(){var se={shareContent:"_shareContent_1uaid_1",shareBg:"_shareBg_1uaid_7",share_content__title:"_share_content__title_1uaid_15",large:"_large_1uaid_24",small:"_small_1uaid_29",sectionFile:"_sectionFile_1uaid_34",muploader:"_muploader_1uaid_43",uploadImg:"_uploadImg_1uaid_51",audioPan:"_audioPan_1uaid_56",imgLabel:"_imgLabel_1uaid_64",musicDetail:"_musicDetail_1uaid_72",musicName:"_musicName_1uaid_77",username:"_username_1uaid_84",downloadSection:"_downloadSection_1uaid_90",qrcode:"_qrcode_1uaid_97",qrcodeCanvas:"_qrcodeCanvas_1uaid_107",qrcodeLogo:"_qrcodeLogo_1uaid_111",qrtips:"_qrtips_1uaid_122",tip:"_tip_1uaid_132",iconLogo:"_iconLogo_1uaid_137",downTip:"_downTip_1uaid_142",shareBottom:"_shareBottom_1uaid_148",iconClose:"_iconClose_1uaid_154",share__header:"_share__header_1uaid_161",gridSection:"_gridSection_1uaid_167",btn:"_btn_1uaid_173"},le=t({name:"sahre-model",props:{musicDetail:{type:Object,default:function(){}},playType:{type:String,default:""}},emits:["close"],setup:function(e,i){var t=i.emit,m=n(),p=r({saveLoading:!1,image:null,url:""}),f=function(){var e=a(regeneratorRuntime.mark((function e(){var i,t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return c.loading({message:"图片生成中...",forbidClick:!0}),setTimeout((function(){p.saveLoading=!1}),100),e.next=4,d({api:"savePicture",content:{base64:p.image}});case 4:"success"===(null==(t=e.sent)||null===(i=t.content)||void 0===i?void 0:i.status)?c.success("已保存到相册"):c.fail("保存失败");case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),A=function(){var i=a(regeneratorRuntime.mark((function i(t){var n,a;return regeneratorRuntime.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return setTimeout((function(){p.saveLoading=!1}),100),i.next=3,d({api:"shareTripartite",content:{title:"我在酷乐秀发布了演奏作品",desc:e.musicDetail.desc,video:"",type:"link",url:p.url,thumb:encodeURI(decodeURI(e.musicDetail.img)),shareType:t}});case 3:null!=(a=i.sent)&&null!==(n=a.content)&&void 0!==n&&n.status?c.success("分享成功"):c.fail("分享失败");case 5:case"end":return i.stop()}}),i)})));return function(e){return i.apply(this,arguments)}}(),v=function(e){if(!p.saveLoading)if(p.saveLoading=!0,p.image)e?A(e):f();else{var i=document.getElementById("shareContent");re(i,{allowTaint:!0,useCORS:!0,backgroundColor:null}).then(function(){var i=a(regeneratorRuntime.mark((function i(t){var n;return regeneratorRuntime.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:n=t.toDataURL("image/png"),p.image=n,e?A(e):f();case 3:case"end":return i.stop()}}),i)})));return function(e){return i.apply(this,arguments)}}()).catch((function(){c.clear(),p.saveLoading=!1}))}};return o((function(){var i=m.value;p.url=location.origin+location.pathname+"#/shareCreation?id="+e.musicDetail.id,ne.toCanvas(i,p.url,{margin:1},(function(e){e&&console.log(e),console.log("success")}))})),function(){return s("div",{class:se.shareModel},[s("div",{class:se.shareContent,id:"shareContent"},[s("img",{src:"./assets/share-bg.069e6581.png",class:se.shareBg},null),s("div",{class:se.share_content__title},[s("p",{class:se.large},[l("我在酷乐秀发布了演奏作品")]),s("p",{class:se.small},[l("赶快扫码看看吧!")])]),s("div",{class:[se.share_music__container,se.sectionFile]},[s("div",{class:se.uploadImg},[s("img",{src:C,class:se.audioPan,crossorigin:"anonymous"},null),s("img",{src:e.musicDetail.img?e.musicDetail.img+"?t"+(new Date).getTime():I,class:se.muploader,crossorigin:"anonymous"},null),s("img",{class:se.imgLabel,src:"Audio"===e.playType?L:P},null)]),s("div",{class:se.musicDetail},[s("p",{class:[se.musicName,"van-ellipsis"]},[e.musicDetail.musicSheetName]),s("p",{class:se.username},[l("演奏者:"),e.musicDetail.username])])]),s("div",{class:se.downloadSection},[s("div",{class:se.qrcode},[s("canvas",{ref:m,class:se.qrcodeCanvas},null),s("img",{src:ae,class:se.qrcodeLogo},null)]),s("div",{class:se.qrtips},[s("div",null,[l("温馨提示:")]),s("p",{class:se.tip},[l("保存图片到相册或长按识别二维码进入查看喔~")]),s("img",{src:te,class:se.iconLogo},null)])])]),s("div",{class:se.shareBottom},[s(u,{name:"cross",class:se.iconClose,onClick:function(){return t("close")}},null),s("div",{class:se.share__header},[l("海报已生成!快来分享吧!")]),s(ee,{columnNum:5,border:!1,class:se.gridSection},{default:function(){return[s(ie,{icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAABYCAMAAABGS8AGAAABxVBMVEUAAAD/i1L/gk//j1j/s1n/j1j/pmf/gU7/qWn/m2H/g0//k1r/fkz/g0//pGX/g0//qGn/nGH/ilT/pGb/ml//fUv/qWn/i1b/pGX/gk//g0//lFv/gk//k1v/qmn/fUv/pGb/g0//pGb/pWX/hVH/jFb/fUv/lFz/r2v/hlD/o2b/qmr/jlf/fEr/qmr/p2j/oGP/hlL/pWb/pGb/qmr/ml//jFX/fUv/fkz/fUv/hFD/gU7/qmv/j1n/mV//fEv/pmj/n2P/q2r/fEr/pmf/omX/q2r/e0v/q2v/mF7/j1j/fEv/nWL/iFL/fk3/qmr/m1//qWn/m2H/pWb/////oWP/n2L/ilT/h1L/hlH/m1//f0z/k1r/nWH/hFD/mV7/jlf/jVb/mV//llz/kFj/o2X/gU7/kVn/i1X/gk//pmf/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KHAAAAAElFTkSuQmCC",text:"微信好友",onClick:function(){return v("wechat")}},null),s(ie,{icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAABYCAMAAABGS8AGAAACRlBMVEUAAAB2xU6By0mx53er5XKF0E6b22Sv/4Cx5nl9yUaK0VKw5XmBzUuBzEqo4XCJ0FKX12Cy5np8yUWX2GB+yUej3mx+ykeq4XOW11+r43Ov5HaFzk2X11+Fz06p4nKN01R/zEiw53mj32uY11+X12Cu43am3m6Iz1Gz5nqBzEus4nWn33CEzE2d22av43ek3myK0FR+ykiY2GGi3muV116L0VSf3GiP01iy5XuZ2GKU1l2n4W+t5XZ9yUeZ2WOT1V2y5nqd22aQ01mn3m+IzlGAykmg3WmO1Fd9ykep4XKy53ua22WU1lx8yUew5nt9ykaw5nd8yUaS1FqR1Fqy53uy5Xuu43Ws43X///+EzU6T1VyX12CIz1Km325/y0mS1Fqr4nSf22eq4XOo4HCc2WSGzk+N0leZ2GKCzEyBy0ut43WHzlCp4XGV1l2Q01mK0FOv5Hek3myj3WyW1l+M0VWl3m2n4HCd2mah3GqL0FR9yUeDzU2P01ii3Wuu43aa2GN+ykic2mWg3Gmx5Xl8yEaa2WO445aN0Vb1+/DA557h9NP3/PL4/PWn3Xrt+OTg89Gh3Gm85ZrC6KCo3Xz8/vv7/fnz+u3k9NXR7bvF6KjG6qa65Jje8svI6ayg3Gjl9dXE6aK/55yg2XLv+eWw4oPx+urX78LO67bF6qOs33+n3nXb8ce14pKz44ek23qf2mzT7r2x4Iyr4Hui2nSh3Wrq9uHA6Jm75pO45Y6s3oWi3G2W1mOU1GPS7rjK66vB5qXo9trQ7bM6LsTSAAAAWHRSTlMABiwrIyMHBd7ex8StmV5S+O3t68/Fw6ueloB/bmdjXl5SUiwp+/v7+PTw8PDu5eXl5d/e3t7d3dLS0szLxsLCr6+vi4uLgYGBf3d3d3dubmdQ7u6enouLLmKlLgAABjxJREFUWMOtlwdXE0EURidolCoqRQTp2HvvvfeuI0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aa++W+kRspbzQKvUJs8FsI4uVeI12aGEHLBYj8UIbRzEbhBmN9wRwwblLvyP2QgvTN94w1tO3S9lHhIEN91gaBO+Le8gL2zkTtBf2cgY2gG2pLEPC6021QyxmB7CX0MpRbAO7OVW76/WmdkBWzHrhAEexG0RxquP4Owd7BfEP1kvznKOIAicyEamp+Edaf9iQN7NDzGX2f6D79bVQzqgyjzgBQjM5OIgXi2taekivZKhGTj/PEApS2GJOzjj2UmKIzaSPYEKKfgoA53IIqCjQAYk4pwYic85o+3MZ7QiLxTLMy58HAOzL4dAMaXEjdJrHII8OXn4f/vov4vCNFhdhMTa/hCx1P3h5/PWfbMAng4hw1c+IYVVPEcdsN/DyyQCx2cDhZwsRG7AYmz+w5k85vPRmgDlMCpWV0vGblREjs0FhtvWQMJU/DDBag8lkQkUBEwLv1ZLYJIph7YdKuXkYz5qUeYMWOAk0cRlgxMj8zkSb7fxkIHARX+AC1/AurgOCuICIYZ1kJt4CZT5eEGs2iq3c3AKaaisRs2brMEnI8hs1QCA2V4WeT1icS4nxx16u09z7Ti0VS/6BXIMu0wVkM5V2m1IMbU7zQJHcRvJrZgCJ+HRVfg4Mp2MxbX6b++edNCAoCfGAIjDdHWNyr2Pc3XAgoPFbLGveQYg7Xn+OdzQ2tNistZ/6/3wzMH28iiz2AzIO3JkiDgA5msDrU0KgBijQrkDlK1fEgSsI105CHvRXaAFDKBryleuhgEOM7+IYwCXEV28IUCH4sU8EAzU0wTd9IFgD1Am5dQvPuFZyIqj3Q4BbYtDoZLgZAyYgdKlz8CrCtZMwuWL6S0PBhGjDr3pNuBZ4gOagt96DGuAZfpGlao7SUvyDVkKkH/CchLWlHrI2AXiFJjagsLS0UIKcZbWAWA3wFk3CzsIJ2JlAtF6hPRLwVJWAI1rgA36ng+ey0rnBp/2A7/idPRkSGR4wt7BwbkB4ZMjJs55I/wNGissTxaMp6gAAAABJRU5ErkJggg==",text:"朋友圈",onClick:function(){return v("wechat_circle")}},null),s(ie,{icon:"data:image/png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3gdgfrs2UoxiOk5dAPDN7frRP7elpaW9vUUlF7zCIn6ivZgw1fkEaZAmp8hK/0EtmtaAWpBRco32TmvRbwWIjJ/ayiChvT8NyABR0aHtllXe22FEBag1tbW1HR21KrcnQFCYO02dK+8o8jUQRNSyFE8oBPci406tMREQxf4ZQfYdM/8zjewwc546j4Wk5KWpSiDhYs3sjeUwIsLM4gjI7Hljmj2Qs603q3e9DQqp4n5VFfkhyCR76s1TocQlVJkigYOTgkgzeiMLoFL2wwRl0JD92WPZ0JTiaW8KGA699chBsHCHPOrlwJYy+t4UuJT9dZSy4UZ+5GhqI/PhVkHCR8MSCqADl7rBWO2GVA762PyM9PrZoN+FmF6dYi7AEO5c/GBv7z/e4CB59vYO8uhaepM8/hwHwy75icVSlfLJF/tdwuhcPR4/xCNFQ5S8Ov74VXjAdnp/9JBK9P7TNnjOln/yiN+2mOhNm6JjtvkdOZmvp/Q/X6O7ru7CNzIAAAAASUVORK5CYII=",text:"复制链接",onClick:function(){return e=p.url,i=e.toString(),(t=document.querySelector("#copy-input"))||((t=document.createElement("input")).id="copy-input",t.readOnly=!0,t.style.position="fixed",t.style.left="-1000px",t.style.zIndex="-1000",document.body.appendChild(t)),t.value=i,function(e,i,t){if(e.createTextRange){var n=e.createTextRange();n.collapse(!0),n.moveStart("character",i),n.moveEnd("character",t-i),n.select()}else e.setSelectionRange(i,t),e.focus()}(t,0,i.length),console.log(document.execCommand("copy"),"execCommand"),document.execCommand("copy")&&(document.execCommand("copy"),c("复制成功")),void t.blur();var e,i,t}},null)]}}),s("div",{class:[se.btn,"van-hairline--top"],onClick:function(){return t("close")}},[l("取消")])])])}}});e("default",t({name:"creation-detail",setup:function(){var e,t,u=m(),C=u.isApp,I=u.isTablet,L=p(),P=f(),ee=n(!1),ie=n(),te=n(),ne=r({id:L.query.id,deleteStatus:!1,shareStatus:!1,playType:"",musicDetail:{},isClick:!1,list:[],listState:{dataShow:!0,loading:!1,finished:!1},params:{page:1,rows:20},_plrl:null,heightV:0,heightB:0}),ae=r({duration:0,currentTime:0,mediaTimeShow:!1,playIngShow:!0}),re=r({staffSrc:"",isShow:!1,height:"initial",speedRate:1,musicRenderType:"staff",partIndex:0}),se=n(!1),ue=n(),ce=(e=!0,t=function i(){requestAnimationFrame((function(){var t,n;null===(t=ue.value)||void 0===t||null===(n=t.contentWindow)||void 0===n||n.postMessage({api:"api_playProgress",content:{currentTime:ne._plrl.currentTime*re.speedRate}},"*"),e||i()}))},{playStaff:function(){var i,n;re.isShow&&(e=!1,null===(i=ue.value)||void 0===i||null===(n=i.contentWindow)||void 0===n||n.postMessage({api:"api_play"},"*"),t())},pauseStaff:function(){var i,t;re.isShow&&(e=!0,null===(i=ue.value)||void 0===i||null===(t=i.contentWindow)||void 0===t||t.postMessage({api:"api_paused"},"*"))},updateProgressStaff:function(e){var i,t;re.isShow&&(null===(i=ue.value)||void 0===i||null===(t=i.contentWindow)||void 0===t||t.postMessage({api:"api_updateProgress",content:{currentTime:e*re.speedRate}},"*"))}}),de=ce.playStaff,me=ce.pauseStaff,pe=ce.updateProgressStaff,fe=function(){var e=a(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,!ne.isClick){e.next=3;break}return e.abrupt("return");case 3:return ne.isClick=!0,e.next=6,Z(i({userMusicId:ne.id},ne.params));case 6:if(t=e.sent,ne.listState.loading=!1,n=t.data||{},!(ne.list.length>0&&1===n.current)){e.next=11;break}return e.abrupt("return");case 11:ne.list=ne.list.concat(n.rows||[]),ne.listState.finished=n.current>=n.pages,ne.params.page=n.current+1,ne.listState.dataShow=ne.list.length>0,ne.isClick=!1,e.next=23;break;case 18:e.prev=18,e.t0=e.catch(0),ne.listState.dataShow=!1,ne.listState.finished=!0,ne.isClick=!1;case 23:case"end":return e.stop()}}),e,null,[[0,18]])})));return function(){return e.apply(this,arguments)}}(),Ae=function(){var e=a(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,$({id:ne.id});case 3:setTimeout((function(){ne.deleteStatus=!1,c("删除成功")}),100),setTimeout((function(){C?h({api:"goBack"}):P.back()}),1200),e.next=9;break;case 7:e.prev=7,e.t0=e.catch(0);case 9:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(){return e.apply(this,arguments)}}(),ve=function(){var e=a(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d({api:"saveFile",content:{url:ne.musicDetail.videoUrl}});case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),ge=function(){console.log("滚动",123);var e=window.scrollY||document.documentElement.scrollTop;e>0&&!1===ee.value&&(ee.value=!0,he(!1)),e<=0&&(ee.value=!1,he(!0))};function he(e){h({api:"setStatusBarTextColor",content:{statusBarTextColor:e}})}var ye=A();function we(){var e="Audio"===ne.playType?"#audioMediaSrc":"#videoMediaSrc";ne._plrl=new oe(e,{controls:["play","progress","current-time","duration"],fullscreen:{enabled:!1,fallback:!1}});var i=ne._plrl;if("Audio"===ne.playType){var t=function(e,i){var t=i.getContext("2d"),n=i.getBoundingClientRect(),a=n.width,r=n.height;a=Math.ceil(a),r=Math.ceil(r),i.width=a,i.height=r;var o=function(e,i,n){var a=n.lineGap,r=n.canvWidth,o=n.canvHeight,l=n.canvFillColor,u=n.lineColor;if(i){var c=r,d=o;s(i,c,d,l);var m=e.length,p=(c/2-a*m)/m;p<1&&(p=1);for(var f=c/2,A=d/2,v=f,g=0;g<m;g++){var h=e[g]/255*A;t.fillStyle=u,0===g&&(v-=a/2),t.fillRect(v-p,A-h,p,h),t.fillRect(v-p,A,p,h),v-=p+a}for(var y=f,w=0;w<m;w++){var b=e[w]/255*A;t.fillStyle=u,0===w&&(y+=a/2),t.fillRect(y,A-b,p,b),t.fillRect(y,A,p,b),y+=p+a}}},s=function(e,i,t,n){e.clearRect(0,0,i,t),e.fillStyle=n,e.fillRect(0,0,i,t)},l=function(){var e=setInterval((function(){u?clearInterval(e):o(H(48),t,{lineGap:2,canvWidth:a,canvHeight:r,canvFillColor:"transparent",lineColor:"rgba(255, 255, 255, 0.7)"})}),300)},u=!0;return{playVisualDraw:function(){u=!1,l()},pauseVisualDraw:function(){u=!0,requestAnimationFrame((function(){t.clearRect(0,0,a,r)}))}}}(document.querySelector("#audioMediaSrc"),document.querySelector("#audioVisualizer")),n=t.pauseVisualDraw,a=t.playVisualDraw;i.on("play",(function(){a()})),i.on("pause",(function(){n()}))}i.on("timeupdate",(function(){ae.currentTime=i.currentTime})),i.on("play",(function(){ae.playIngShow=!1,de()})),i.on("pause",(function(){ae.playIngShow=!0,me()})),i.on("ended",(function(){i.currentTime=0,i.playing||setTimeout((function(){pe(i.currentTime)}),100)}));var r=function(){se.value||(ae.duration=i.duration,ae.mediaTimeShow=!0)},o=function(){ae.mediaTimeShow=!1,i.playing||pe(i.currentTime)},s=document.querySelector("#playMediaSection .plyr__controls .plyr__progress__container");s.addEventListener("mousedown",r),s.addEventListener("touchstart",r),s.addEventListener("mouseup",o),s.addEventListener("touchend",o)}function be(e){var i;null!=e&&null!==(i=e.target)&&void 0!==i&&i.matches("button.plyr__control")||(ne._plrl.playing?ne._plrl.pause():ne._plrl.play())}function xe(e){e.stopPropagation(),h({api:"setRequestedOrientation",content:{orientation:1}}),se.value=!1}function Se(e){e.stopPropagation(),se.value||(h({api:"setRequestedOrientation",content:{orientation:0}}),se.value=!0)}return v(ye,(function(e){var i;"hidden"===e&&(null===(i=ne._plrl)||void 0===i||i.pause())})),o(a(regeneratorRuntime.mark((function e(){var i,t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return document.addEventListener("scroll",ge),he(!0),e.prev=2,e.next=5,Q(ne.id);case 5:if(999!==(i=e.sent).code){e.next=9;break}return g.alert({message:i.msg,theme:"round-button",confirmButtonColor:"#2DC7AA"}).then((function(){C?h({api:"goBack"}):P.back()})),e.abrupt("return");case 9:ne.musicDetail=i.data||{};try{(t=JSON.parse(i.data.jsonConfig)).speedRate&&(re.speedRate=t.speedRate),t.musicRenderType&&(re.musicRenderType=t.musicRenderType),t["part-index"]&&(re.partIndex=t["part-index"])}catch(a){}n=void 0,n="/klx-music-score/#/simple-detail?id=".concat(ne.musicDetail.musicSheetId,"&musicRenderType=").concat(re.musicRenderType,"&part-index=").concat(re.partIndex,"&userMusicId=").concat(ne.id),re.staffSrc=n,window.addEventListener("message",(function(e){var i=e.data,t=i.api,n=i.height;"api_musicPage"===t&&(re.isShow=!0,re.height=n+"px")})),fe(),-1!==i.data.videoUrl.lastIndexOf("mp4")?ne.playType="Video":ne.playType="Audio",K.exports.nextTick((function(){we()})),e.next=19;break;case 17:e.prev=17,e.t0=e.catch(2);case 19:case"end":return e.stop()}var n}),e,null,[[2,17]])})))),y((function(){var e;document.removeEventListener("scroll",ge),null===(e=ne._plrl)||void 0===e||e.destroy()})),function(){var e,i,t,n;return s("div",{style:{"--barheight":ne.heightV+"px"},class:[T.creation,I&&T.creationTablet,ee.value&&T.isScreenScroll]},[s("div",{class:T.creationBg},null),s(W,{position:"top",onGetHeight:function(e){console.log(e,"height",e),ne.heightV=e}},{default:function(){var e;return[s(M,{color:ee.value?"#333333":"#ffffff",background:ee.value?"rgb(255,255,255":"transparent",title:null===(e=ne.musicDetail)||void 0===e?void 0:e.musicSheetName,border:!1,isBack:"ANALYSIS"!=L.query.platformType,onLeftClick:function(){he(!1)}},null)]}}),s("div",{class:T.singer},[l("演奏:"),null===(e=ne.musicDetail)||void 0===e?void 0:e.username]),s(Y,{zIndex:1e3,offsetTop:ne.heightV-1+"px"},{default:function(){var e,i,t,n,a,r;return[s("div",{class:[T.playSection,ae.mediaTimeShow&&T.mediaTimeShow,se.value&&T.isLandscapeScreen],id:"playMediaSection",onClick:be},[se.value&&s("div",{class:T.backBox},[s("img",{class:[T.backImg,"Video"===ne.playType&&T.back1Img],src:"Video"===ne.playType?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqBAMAAAA37dRoAAAAFVBMVEUAAAD///////////////////////9Iz20EAAAABnRSTlMA4yRmDtxzPoYUAAAAS0lEQVQoz2MgArAYO2ARVUwLwRRkEktLxqYUJIqpNE0Em9JEBWxKhUa0UhasSpnhSgmLIkwgbBsD06higikVkaoJ5wBEbiGcsxAAAE0FLRPQDMCfAAAAAElFTkSuQmCC":z,onClick:xe},null),s("div",{class:T.musicDetail},[s("div",{class:T.musicSheetName},[s(J,{text:null===(e=ne.musicDetail)||void 0===e?void 0:e.musicSheetName,background:"none"},null)]),s("div",{class:T.username},[l("演奏:"),null===(i=ne.musicDetail)||void 0===i?void 0:i.username])])]),"Audio"===ne.playType&&s("div",{class:T.audioBox},[s("canvas",{class:T.audioVisualizer,id:"audioVisualizer"},null),s("audio",{crossorigin:"anonymous",id:"audioMediaSrc",src:null===(t=ne.musicDetail)||void 0===t?void 0:t.videoUrl,controls:"false",preload:"metadata",playsinline:!0,"webkit-playsinline":!0},null),s("img",{src:U,class:T.tyBg},null),s("div",{class:T.audioBoxBg},[s("div",{class:[T.audioPan,ae.playIngShow&&T.imgRotate]},[s("img",{class:T.audioImg,src:ne.musicDetail.img||"./assets/music_bg.7bc33289.png"},null)]),s("i",{class:T.audioPoint},null),s("i",{class:[T.audioZhen,ae.playIngShow&&T.active]},null)])]),"Video"===ne.playType&&s("video",{id:"videoMediaSrc",class:T.videoBox,src:null===(n=ne.musicDetail)||void 0===n?void 0:n.videoUrl,"data-poster":(null===(a=ne.musicDetail)||void 0===a?void 0:a.videoImg)||E,poster:(null===(r=ne.musicDetail)||void 0===r?void 0:r.videoImg)||E,preload:"metadata",playsinline:!0,"webkit-playsinline":!0,"x5-playsinline":!0},null),s("div",{class:[T.playLarge,!ae.mediaTimeShow&&ae.playIngShow&&T.playIngShow]},null),s("div",{class:T.mediaTimeCon},[s("div",{class:T.mediaTime},[s("div",null,[w(ae.currentTime)]),s("div",{class:T.note},[l("/")]),s("div",{class:T.duration},[w(ae.duration)])])]),s("div",{class:T.landscapeScreen,onClick:Se},null),re.staffSrc&&s("div",{class:[T.staffBoxCon,re.isShow&&T.staffBoxShow]},[s("div",{class:[T.staffBox,"Video"===ne.playType&&T.staffBoxBg],style:{"--staffBoxHeight":re.height}},[s("div",{class:T.mask},null),s("iframe",{ref:ue,class:T.staff,frameborder:"0",src:re.staffSrc},null)])])])]}}),s("div",{class:T.musicSection},[s("div",{class:T.avatarInfoBox},[s("div",{class:T.avatar},[s("div",{class:T.avatarImg},[s("img",{class:[T.userLogo,"VIP"===ne.musicDetail.vipType?T.vipLogo:"PERMANENT_SVIP"===ne.musicDetail.vipType||"SVIP"===ne.musicDetail.vipType?T.svipLogo:""],src:ne.musicDetail.avatar},null),("VIP"===ne.musicDetail.vipType||"PERMANENT_SVIP"===ne.musicDetail.vipType||"SVIP"===ne.musicDetail.vipType)&&s("img",{class:T.vipIcon,src:"VIP"===ne.musicDetail.vipType?R:O},null)]),s("div",{class:T.infoCon},[s("div",{class:T.info},[s("span",{class:T.userName},[null===(i=ne.musicDetail)||void 0===i?void 0:i.username]),ne.musicDetail.vipFlag&&s("img",{src:V,class:T.iconMember},null)]),s("div",{class:T.sub},[ne.musicDetail.subjectName," ",b(ne.musicDetail.currentGradeNum-1)])])]),s("div",{class:T.linkes},[s("img",{src:D,class:T.iconZan},null),s("span",null,[ne.musicDetail.likeNum])])]),s(X,{class:T.textEllipsis,text:ne.musicDetail.desc||""},null)]),s("div",{class:T.likeSection},[s("div",{class:T.likeTitle},[l("点赞记录")]),ne.listState.dataShow?s(q,{finished:ne.listState.finished,finishedText:" ",onLoad:fe,immediateCheck:!1},(n=t=ne.list.map((function(e,i){return s(G,{class:[T.likeItem,i===ne.list.length-1&&T.likeItemLast],border:!1},{icon:function(){return s(j,{src:e.userAvatar,class:T.userLogo},null)},title:function(){return s("div",{class:T.userInfo},[s("p",{class:T.name},[e.userName]),s("p",{class:T.sub},[e.subjectName," ",b(e.currentGradeNum-1)])])},value:function(){return s("div",{class:T.time},[x(e.createTime).format("YYYY-MM-DD HH:mm")])}})})),"function"==typeof n||"[object Object]"===Object.prototype.toString.call(n)&&!k(n)?t:{default:function(){return[t]}})):s(S,{class:T.mEmpty,tips:"暂无点赞记录~",btnStatus:!1},null)]),!ee.value&&s(W,{ref:te,position:"bottom",offsetBottom:ne.heightB-1+"px"},{default:function(){return[s("div",{class:T.upward},[s("img",{src:F},null)])]}}),s(W,{ref:ie,position:"bottom",onGetHeight:function(e){console.log(e,"height",e),ne.heightB=e}},{default:function(){return[s("div",{class:T.bottomSection},[s("div",{class:T.bottomShare},[s("p",{onClick:ve},[s("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAMAAADW3miqAAAAe1BMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////NgkbwAAAAKHRSTlMAsojdB10t8oJn1dHBbGFVQh/64cu0dRcE6LerlnyujEw2KOukoQ70XD91zgAAAT9JREFUOMudktlygzAMAO2EcgVoIOQg9939/y9sbSIMGSftdF+s0ayFLKEMq1j72X+qjpxXVEslbHiJKzWDsfYQwUGcJVAoD2vIJD4CoU+KIVr1Yp8jt11V4TNKS18fF9OfMIFd/0XbNioHLx3DqD+b+vEBoPRLC6gCGx3govzSFDjZKIO19HxupeLR/R3I7XYjiKXn5mykBOk+hZs5Q+BoM1ugaSAFmNrUDVJzFkC762BOR+L+j3t7f6aUWM6xnB41a9ioJyvpEhUs5HDWwJESUlCsrH9HmsmBtTZcQzuRpL1S7G1yYp+1p2OsHCGOQmU4wv7/5siVhkYbKpmyTH9msnPgw0haVlgroZSlBUNpAWihBkqPdGbIRA0laWPAziuFV91jFDxLXv4hfY3fINJbrBTzK+HP1kfviafqT3wDyPlKoAL8QokAAAAASUVORK5CYII="},null),s("span",null,[l("下载")])]),s("p",{onClick:function(){return ne.shareStatus=!0}},[s("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAMAAADW3miqAAAAOVBMVEUAAAD///////////////////////////////////////////////////////////////////////8KOjVvAAAAEnRSTlMAshPSr7xoko0tPATK9apHJgwE7Sg/AAAAqUlEQVQ4y93USw6EIBAEUFBAwH/f/7DDQLA2XcNmVtaGUL5goqHNP5Oisy3LVIvQ9+iCIMu3yH2HLskA2VLFsnr9df5BrhijZpofZOtCDRA1sweiZrJA1BiOYDiC4QiGI5hfCKZ9aqegdYOpfz8o6GqmJ2ejn7RVgwBBXathiGeM7nuMzn0/h+gQOQaoPX09wuXU4kUcrrmeYiRiYPAkjB6agCFG4mI95wP9HBUz+mq/7gAAAABJRU5ErkJggg=="},null),s("span",null,[l("分享")])]),s("p",{onClick:function(){return ne.deleteStatus=!0}},[s("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAmCAMAAACf4xmcAAAAb1BMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8v0wLRAAAAJHRSTlMA3YiyCF3k0fKSTTn8sKcf9OnYvJ56amJWIhHOyMW/u5WRKRTOEVuXAAAAwElEQVQ4y+2UyQ6CMBQAi2BBEHHfd+f/v9FnSYQaH3IwkYNzoIc3dJKmqfG4jsKSfGV0ooAnqa4tqIhV65aAdc09oGYvz1ZkwUb12XYgf5/iB0MY2pIECGLhINNRZsyAz9i2mosGUpPA1NZ5NCcwdlFHDwLj4w86oRWpO9Qsa9SKMUdZlrBs0vqAbJdD3kILIfxrP9NSSGSZw1zXhPNuLd/NbLbp3u39kjbpvyN80TQ8bYFOXGnFFI1k7b26GqbkDsbrOOROWdxyAAAAAElFTkSuQmCC"},null),s("span",null,[l("删除")])])]),s("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAA8CAMAAADWtUEnAAAAyVBMVEUAAAABwrUAwrYAv7UAwbYBwbUBwbQBwbUBwbUBwbUBwbUBwrYBwbYCwbYCwrUCwbUAwrUAwrYAwLQAxLQAwrgA1dUBwbUBwrUBw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QU8DtF+fR+sMqe6hWM8TRrT/SKZrJszC9JbBKwVGsRmDMbwDMDuYmh78p8M2MRWEN7rO31QEENDPm7xjFwrmqMp9vvg2rPdsJkvEqPTsuH5YLyWlIu8B1Zj4t4ACIHJbwH1rEiiMSCnuS1OQI35yL9AzJ648IR4uYoXSHke/KjD+KE686WpBX/t0MDCirKAzmQvYMvy5w/rcdQecMfB0hHztdNoy7+DrmXmAgZAl/IBKY1L3ICVV658GGMi4fuGaPWp3ZoG7nMrhv6M8txhQAxf0qUPRWmfZfFI+eU39RcwlV8CVn8RXf1tCOU3ctTfClN/M1H97Vj1N7Q/wZEA9Q9VfIJjKZ/gYE92NOrqvY5GXf3haNQvUCRd1vO1pUYAAAAASUVORK5CYII=",class:T.btnEdit,onClick:function(){P.push({path:"/creation-edit",query:{id:ne.id}})}},null)])]}}),s(_,{show:ne.deleteStatus,"onUpdate:show":function(e){return ne.deleteStatus=e},round:!0,class:T.popupContainer},{default:function(){return[s("p",{class:T.popupTit},[l("温馨提示")]),s("p",{class:T.popupContent},[l("确认删除作品吗?")]),s("div",{class:T.popupBtnGroup},[s(B,{round:!0,onClick:function(){return ne.deleteStatus=!1}},{default:function(){return[l("取消")]}}),s(B,{round:!0,type:"primary",onClick:Ae},{default:function(){return[l("确认")]}})])]}}),s(_,{position:"bottom",show:ne.shareStatus,"onUpdate:show":function(e){return ne.shareStatus=e},style:{background:"transparent"}},{default:function(){return[s(le,{playType:ne.playType,musicDetail:ne.musicDetail,onClose:function(){return ne.shareStatus=!1}},null)]}}),!re.isShow&&s(N,null,null)])}}}))}}}))}();