creationindex-share.8259f684.js 59 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["creationindex-share"],{1785:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAMAAAC7IEhfAAAAYFBMVEUAAACXucSXusOYucObucGXusOXusOYusSXucOXucOZu8SXucOXucSXusSXu8WVvcWYusSXucOXusaYt8eXucOXusOYusOYusSYu8OXu8SZusWYucWcvc6XusOYusSXucOWA1M7AAAAH3RSTlMArVWqIaSKS/beBvzxnzQY4tY7Cup5cmldWUYfD8SUrcUn+wAAALRJREFUOMvt08kOgjAUQNGidABlngW9//+XGgIbWyoJCzfc1Ut60jRtKs7msu4llY5/sVgZAPKL31VP1hovvAJBr9sC8O1Zwm1ejyXknnMmoJazFqC3YQTjMragtqHBrKOGZBveuK/jA+RRWI3hB4ZLPQRh5nKNwS4qLadxVlf2FbrT9uO5u3hgkdx3QTOJYReMhEj/BHMhyl2QYZJeaHUQKtyl1r+vcRUIq0xdg+9kJ8529QbfpzBL1TadYgAAAABJRU5ErkJggg=="},"3be3":function(t,e,n){"use strict";n("9f6e")},6354:function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("van-popup",{staticClass:"imgCodePopup",attrs:{"close-on-click-overlay":!1,closeable:"","close-icon":"close"},on:{close:t.onClose},model:{value:t.showImgCode,callback:function(e){t.showImgCode=e},expression:"showImgCode"}},[n("div",{staticClass:"imgCode"},[n("p",{staticClass:"codeTitle"},[t._v("输入图形验证码")]),n("van-row",{attrs:{type:"flex"}},[n("van-col",{attrs:{span:"14"}},[n("van-field",{staticStyle:{background:"#f4f4f4",padding:"0.12rem 0.16rem"},attrs:{placeholder:"请输入验证码",maxlength:4,autocomplete:"off"},model:{value:t.code,callback:function(e){t.code=e},expression:"code"}})],1),n("van-col",{staticClass:"img",attrs:{span:"10"}},[n("van-image",{attrs:{src:t.identifyingCode},on:{click:function(e){return t.updateIdentifyingCode(!0)}},scopedSlots:t._u([{key:"loading",fn:function(){return[n("van-loading",{attrs:{type:"spinner",size:"20"}})]},proxy:!0}])})],1)],1),n("van-row",[n("van-col",{attrs:{span:"14"}}),n("van-col",{attrs:{span:"10"}},[n("span",{staticClass:"imgChange",on:{click:function(e){return t.updateIdentifyingCode(!0)}}},[t._v("看不清?换一换")])])],1)],1)])},i=[],o=n("b562");function a(t){return a="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},a(t)}function s(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */s=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},i=r.iterator||"@@iterator",o=r.asyncIterator||"@@asyncIterator",c=r.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(j){u=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof d?e:d,o=Object.create(i.prototype),a=new E(r||[]);return o._invoke=function(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return O()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=A(a,n);if(s){if(s===f)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=h(t,e,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===f)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}(t,n,a),o}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(j){return{type:"throw",arg:j}}}t.wrap=l;var f={};function d(){}function p(){}function v(){}var y={};u(y,i,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(L([])));g&&g!==e&&n.call(g,i)&&(y=g);var w=v.prototype=d.prototype=Object.create(y);function S(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){function r(i,o,s,c){var u=h(t[i],t,o);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==a(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,s,c)}),(function(t){r("throw",t,s,c)})):e.resolve(f).then((function(t){l.value=t,s(l)}),(function(t){return r("throw",t,s,c)}))}c(u.arg)}var i;this._invoke=function(t,n){function o(){return new e((function(e,i){r(t,n,e,i)}))}return i=i?i.then(o,o):o()}}function A(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,A(t,e),"throw"===e.method))return f;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var r=h(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,f;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function L(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:O}}function O(){return{value:void 0,done:!0}}return p.prototype=v,u(w,"constructor",v),u(v,"constructor",p),p.displayName=u(v,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,u(t,c,"GeneratorFunction")),t.prototype=Object.create(w),t},t.awrap=function(t){return{__await:t}},S(b.prototype),u(b.prototype,o,(function(){return this})),t.AsyncIterator=b,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new b(l(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(w),u(w,c,"Generator"),u(w,i,(function(){return this})),u(w,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.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(C),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=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 e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(s&&c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(a)},complete:function(t,e){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&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),C(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;C(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:L(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}function c(t,e,n,r,i,o,a){try{var s=t[o](a),c=s.value}catch(u){return void n(u)}s.done?e(c):Promise.resolve(c).then(r,i)}function u(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){c(o,r,i,a,s,"next",t)}function s(t){c(o,r,i,a,s,"throw",t)}a(void 0)}))}}var l={name:"imgCode",props:{value:Boolean,phone:String||Number},data:function(){var t=window.location.origin;return{showImgCode:this.value,identifyingCode:t+"/api-teacher/code/getLoginImage?phone="+this.phone,code:null}},mounted:function(){var t=u(s().mark((function t(){return s().wrap((function(t){while(1)switch(t.prev=t.next){case 0:case"end":return t.stop()}}),t)})));function e(){return t.apply(this,arguments)}return e}(),methods:{updateIdentifyingCode:function(){var t=u(s().mark((function t(){var e;return s().wrap((function(t){while(1)switch(t.prev=t.next){case 0:e=window.location.origin,this.identifyingCode="".concat(e,"/api-teacher/code/getLoginImage?phone=").concat(this.phone,"&token=").concat(Math.random());case 2:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),checkVerifyLoginImage:function(){var t=u(s().mark((function t(){return s().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(t.prev=0,!(this.code.length<4)){t.next=3;break}return t.abrupt("return");case 3:return t.next=5,Object(o["n"])({mobile:this.phone,code:this.code});case 5:this.$toast("验证码已发送"),this.$emit("input",!1),this.$emit("onCodeSend",!0),t.next=13;break;case 10:t.prev=10,t.t0=t["catch"](0),this.updateIdentifyingCode();case 13:case"end":return t.stop()}}),t,this,[[0,10]])})));function e(){return t.apply(this,arguments)}return e}(),onClose:function(){this.$emit("input",!1)}},watch:{code:function(t){t.length>=4&&this.checkVerifyLoginImage()}}},h=l,f=(n("8354"),n("2877")),d=Object(f["a"])(h,r,i,!1,null,"37d96341",null);e["a"]=d.exports},7982:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAMAAAC7IEhfAAAAPFBMVEUAAACYucOWusOXusOXucOXusSWusOZusWZub+XusOXucSXucSXucOYusWYucSVuMSTucGbtsiYucKXucMm9nM5AAAAE3RSTlMAqlWi+c1rTA3kwreacmNBIRyPjUAP2gAAAHRJREFUOMvt1LEOgCAMRVErICqKKP//r4JlMIK+RCcT7kTDCRttap2gc9Ny40Z/bS6/57PkWoLC5+kSJL5TLpy15KF9gPYYDIYinvsBQ6+IKDgIuQorfAGloZiCUKdJINinySK4sXSK4afvihcAXil4Sf2rHZjwJGbdGrFMAAAAAElFTkSuQmCC"},8291:function(t,e,n){},8354:function(t,e,n){"use strict";n("f00a")},"86d8":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMYAAAA8CAMAAAAKTDUQAAABoVBMVEUAAAD////////////////////////////////////////////////////////////m5ub////////////////////MzMz////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////Nzc3////////////////Nzc3////MzMzNzc3////Nzc3MzMz////////////Pz8/Nzc3Nzc3MzMzMzMz////Nzc3Nzc3MzMzNzc3Nzc3Nzc3///8BwbXMzMzs7Oz9/v7v7+/p6ekWxrsjyr+z7enp+vl43thS1c0szMIKw7j2/f1Z18/Pz88PxLn6/v3y/Puq6+aK492E4dzU1NQbyL3j+Pfc9/XV9fPm5uY+0Mc3z8Xu+/rD8e7q6urV1dVm2tP8/Pyf6OSQ5N/c3Nx94Nps3NT39/e+7+yY5uFw3NZL08vO8/Fh2dH4+Pi57uux7OnQ0NDh4eHX19dE0sl0PS15AAAAUnRSTlMA9wQL4awqQOtQS8KPa1QzCWfzV5ON/psPZC3V+3zbOhzPv6aYYSIFxVrtybqgcei1hoNNRTEmIxiKdUnz5dCxPj3cFLBqH3W9pp4vuHLp5du7HYmYcwAACFZJREFUaN7dmvlfEkEUwB+CJh5BoIggmgegoqhklpp22n0+FJPwQEXLW1OztNLu+qubg2UXmd3G7If99P18ymHR/cx35r03swfkuPTo6tMrnlFDPFduXH10G8zL9Yee7+/Wx8b/wPb6uznPw+tgTpz3PTvjCZQiMb7jue8EE3J7eG4M5UmMzQ2bMLJuP1n6gifi/dIT03k4h5fe4Al5szRstri6P/ceT8z7uftgKq57dPMilUFdtj3mqlcPdxIoJL0RjycPPunl+dIzMBG3PeMo5kOcMZtCIWOeS2AeHs0lUMyLOCe5Js7y0TtQiLfVT6gFLZ1IsIE0bR02Ww0YcrnJFgQtV9+hvsbMFPVYFs/Hz6vAKOyyK+QtYYSAYEdKJfTxY15QuNZcXkir34UECyjYXRZLqQPy6Se/UQQabqwbaEzg2jTxmEIRP25AAReQMgJNyAkA3OyijQj5itN+Ezi1qE99r6bHhHOQTw05ZgUNV7YNNXArSTxeo4D1K4UhNYSEJghmA9XSBtBMG3U+qw05ficwnC7Uoa681gk5qjUaPa3R4xqh7ghV9owZavBM/4wCnnv0QooPocthLVJCqgegFwnl1tw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emyu+sx/D3cTzZK5MmtCBxdW9U/gXWsaXRe6aLqCzX73rm3q1vj/0B9jrxXZPVqDwu3bl6Q+bl7jtmjKffnxJfd7RulsQAAAAASUVORK5CYII="},"9d8a":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALAAAAA+CAMAAAC802HEAAAA/1BMVEX///8AAAD////////8/Pz///////////////////////////////////////////////////////////////////////////////////////////////+qqqr////////f39////////////////////+srKz///////////+ysrL///////+5ubn///+rq6v////////////IyMitra3///////////+rq6urq6v///////+xsbG2trb///+tra2urq6/v7/Dw8Otra2zs7P///////////////+3t7fOzs6wsLD///+8vLzDw8Ovr6////////////////+qqqqjP22jAAAAU3RSTlMZACI3GzM1JNgnIBxDklouCTHBKR72YToyLPrKtvi+ViUVD6bp3duvSJ6Li2lgS/DThW87uz3y7+jl482UcRTNsk5GxH5lXXx3aDKmVFNCo5ZjKygyJDYAAATLSURBVGje1ZppW9pAEICndJM0SWmSBlpAoYDciKjggYKg4Nlqj8n//y3dhCDCsGDN8xTyfmjxGPd1nJ1ZksC7kCEUNvM5Fotpkf+OFouxXN78N+E809SkkZBk+f1/R5alhJFUNZZ/rbAJEduSLVvRdAZrgOma4glEwHyFsMkUQzYiDNYMi3ANhZmrhHOKJalrt/WdVclSckuFTS0pb4ruWFlOaqZY+EKRDB02Ct2QlAuRMKiyAhuHIquwWJjZUgw2kJhks0XCLJnYsHKYoCeSjAqDndig3TYLS9gwL3yhShuaXxddUi9mhU1F3sj6nRCTFXNGWJM2sD+8RJG0l8K5pAEbjpHMTYV5QYgLOHv/vd9JpzvD2iWsEd0rCl+YWSoIaP1MO8+UemtsJKrFJsKmIglEWG2sO1V+XZYZEALHMUkxfWEwVEE1lFzJ5mDUuLy873ofpHsg4qiYAZ/yyS4QgsapBvjCEVnwmzW44ekoCz5XbVe5CwI+4gf/1ftUXJCCIHFMjoyF87aoRTw0nUF25jdocuPeqoXZZzzecqkDIUicYec9YWZFhB2iNb8HS7wqLlc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Xm1h2NlCtim4NmMbl3sU2IeLe1y5A4A9UvhDij/2+IOUP5r5w579+/gFPlYvzh8AnB4AAAAASUVORK5CYII="},c541:function(t,e,n){t.exports=n.p+"img/wx_bg.bc40d55d.png"},c7a8:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("indexShareRoute",{key:t.$route.fullPath})},i=[],o=function(){var t=this,e=this,r=e.$createElement,i=e._self._c||r;return i("div",{staticClass:"creation",style:{"--heightA":e.state.heightA+"px","--navBarHeight":e.navBarHeight+"px","--creationHeight":e.creationHeight?e.creationHeight+"px":"100vh"}},[i("div",{staticClass:"creationBg"}),i("van-sticky",[e.browser().isApp?i("van-nav-bar",{staticClass:"nav",class:{isScreenScroll:e.isScreenScroll},attrs:{fixed:!1,title:e.state.musicDetail.musicSheetName,"left-arrow":""},on:{"click-left":e.goBack}}):i("div",{staticClass:"logoDownload",class:{isShareScreenScroll:e.isScreenScroll}},[i("img",{staticClass:"logoImg",attrs:{src:e.isScreenScroll?n("b468"):n("86d8")}}),i("div",{staticClass:"logTit",on:{click:e.handlerDownLoad}},[e._v("下载App")])])],1),e.isEmpty?i("div",{staticClass:"isEmpty"},[i("MEmpty",{attrs:{msg:"作品已删除~"}})],1):[i("div",{staticClass:"singerBox"},[i("div",{staticClass:"musicSheetName"},[i("van-notice-bar",{attrs:{text:e.state.musicDetail.musicSheetName,background:"none"}})],1),i("div",{staticClass:"singerName"},[e._v("演奏:"+e._s(e.state.musicDetail.username))])]),i("van-sticky",{attrs:{"offset-top":44+e.navBarHeight,"z-index":200}},[i("div",{ref:"playBoxDom",staticClass:"playBox"},[i("div",{class:["playSection",e.plyrState.mediaTimeShow&&"mediaTimeShow",e.isLandscapeScreen&&"isLandscapeScreen","Video"===e.state.playType&&"videoType"],attrs:{id:"playMediaSection"},on:{click:e.handlerClickPlay}},[e.isLandscapeScreen?i("div",{staticClass:"backBox"},[i("img",{staticClass:"backImg",attrs:{src:n("f912")},on:{click:e.handlerBack}}),i("div",{staticClass:"musicDetail"},[i("div",{staticClass:"musicSheetName"},[i("van-notice-bar",{attrs:{text:e.state.musicDetail.musicSheetName,background:"none"}})],1),i("div",{staticClass:"username"},[e._v("演奏:"+e._s(e.state.musicDetail.username))])])]):e._e(),"Audio"===e.state.playType?i("div",{staticClass:"audioBox"},[i("canvas",{staticClass:"audioVisualizer",attrs:{id:"audioVisualizer"}}),i("audio",{attrs:{crossorigin:"anonymous",id:"audioMediaSrc",src:e.state.musicDetail.videoUrl,controls:"false",preload:"metadata",playsinline:"","webkit-playsinline":""}}),i("img",{staticClass:"tyBg",attrs:{src:n("a324")}}),i("div",{staticClass:"audioBoxBg"},[i("div",{class:["audioPan",e.plyrState.playIngShow?"imgRotate":""]},[i("van-image",{staticClass:"audioImg",attrs:{src:e.state.musicDetail.img||n("a1b3")}})],1),i("i",{staticClass:"audioPoint"}),i("i",{class:["audioZhen",e.plyrState.playIngShow&&"active"]})])]):e._e(),"Video"===e.state.playType?i("video",{staticClass:"videoBox",attrs:{id:"videoMediaSrc",src:e.state.musicDetail.videoUrl,"data-poster":e.state.musicDetail.videoImg||n("409a"),poster:e.state.musicDetail.videoImg||n("409a"),preload:"metadata",playsinline:"","webkit-playsinline":"","x5-playsinline":""}}):e._e(),i("div",{class:["playLarge",!e.plyrState.mediaTimeShow&&e.plyrState.playIngShow&&"playIngShow"]}),i("div",{staticClass:"mediaTimeCon"},[i("div",{staticClass:"mediaTime"},[i("div",[e._v("\n "+e._s(e.getSecondRPM(e.plyrState.currentTime))+"\n ")]),i("div",{staticClass:"note"},[e._v("/")]),i("div",{staticClass:"duration"},[e._v("\n "+e._s(e.getSecondRPM(e.plyrState.duration))+"\n ")])])]),i("div",{staticClass:"landscapeScreen",on:{click:e.handlerLandscapeScreen}}),e.staffState.staffSrc?i("div",{class:["staffBoxCon",e.staffState.isShow&&"staffBoxShow"]},[i("div",{staticClass:"staffBox",style:{"--staffBoxHeight":e.staffState.height}},[i("div",{staticClass:"mask"}),i("iframe",{ref:"staffDom",staticClass:"staff",attrs:{frameborder:"0",src:e.staffState.staffSrc}})])]):e._e()])])]),i("div",{staticClass:"musicSection musicShareSection"},[i("div",{staticClass:"avatarInfoBox"},[i("div",{staticClass:"avatar"},[i("van-image",{staticClass:"userLogo",attrs:{src:e.state.musicDetail.avatar}}),i("div",{staticClass:"infoCon"},[i("div",{staticClass:"info"},[i("span",{staticClass:"userName"},[e._v(e._s(e.state.musicDetail.username))]),e.state.musicDetail.vipFlag?i("img",{staticClass:"iconMember",attrs:{src:n("f2e7")}}):e._e()]),i("div",{staticClass:"sub"},[e._v("\n "+e._s(e.state.musicDetail.subjectName?e.state.musicDetail.subjectName:"")+"\n ")])])],1),i("div",{staticClass:"linkes",on:{click:e.onStarChange}},[e.state.musicDetail.starFlag?i("img",{staticClass:"iconZan",attrs:{src:n("c9cd")}}):i("img",{staticClass:"iconZan",attrs:{src:n("cb84")}}),i("span",[e._v(e._s(e.state.musicDetail.likeNum))])])]),i("textEllipsis",{staticClass:"textEllipsis",attrs:{text:e.state.musicDetail.desc||""}})],1),i("div",{staticClass:"likeSection likeShareSection"},[i("div",{staticClass:"likeTitle"},[e._v("推荐作品")]),e.state.listState.dataShow?[i("van-list",{attrs:{finished:e.state.listState.finished,finishedText:" ",immediateCheck:!1}},e._l(e.state.list,(function(t,r){return i("van-cell",{key:r,class:["likeShareItem",r===e.state.list.length-1&&"likeShareItemLast"],attrs:{border:!1},on:{click:function(n){return e.onDetail(t)}},scopedSlots:e._u([{key:"icon",fn:function(){return[i("div",{staticClass:"audioImgBox"},[i("img",{staticClass:"audioPan",attrs:{src:n("71cf"),crossorigin:"anonymous"}}),i("img",{staticClass:"muploader",attrs:{src:t.img||n("bc49"),crossorigin:"anonymous"}}),i("img",{staticClass:"imgLabel",attrs:{src:t.videoUrl&&-1!==t.videoUrl.lastIndexOf("mp4")?n("9cf4"):n("09e3")}})])]},proxy:!0},{key:"title",fn:function(){return[i("div",{staticClass:"userInfo"},[i("div",{staticClass:"musicSheetName van-ellipsis"},[e._v(e._s(t.musicSheetName))]),i("div",{staticClass:"usernameCon"},[i("div",{staticClass:"likeNum"},[i("img",{attrs:{src:n("c9cd")}}),i("span",[e._v(e._s(t.likeNum))])]),i("div",{staticClass:"username van-ellipsis"},[e._v(e._s(t.username))])])])]},proxy:!0},{key:"default",fn:function(){return[i("div",{staticClass:"time"},[i("img",{staticClass:"playImg",attrs:{src:n("b870")}})])]},proxy:!0}],null,!0)})})),1),!e.state.listState.finished||e.state.params.page>2?i("div",{staticClass:"btnImg"},[i("img",{attrs:{src:n("9d8a")},on:{click:e.handleChangeList,touchstart:function(){}}})]):e._e()]:i("MEmpty",{staticClass:"mEmpty",staticStyle:{"margin-bottom":"0.5rem"},attrs:{msg:"暂无作品"}})],2),i("div",{directives:[{name:"show",rawName:"v-show",value:!e.isScreenScroll,expression:"!isScreenScroll"}],staticClass:"upward shareUpward"},[i("img",{attrs:{src:n("b94a")}})])],i("van-popup",{staticStyle:{background:"transparent",overflow:"inherit"},model:{value:e.loginStatus,callback:function(t){e.loginStatus=t},expression:"loginStatus"}},[i("LoginModel",{on:{close:function(){return t.loginStatus=!1},confirm:e.onConfirm}})],1),e.staffState.isShow?e._e():i("Loading"),e.wxStatus?i("div",{staticClass:"wxpopup",on:{click:function(){e.wxStatus=!1}}},[i("img",{attrs:{src:n("c541"),alt:""}})]):e._e()],2)},a=[],s=n("5a0c"),c=n.n(s),u=n("ff51"),l=n("ddf4"),h=n("22c6"),f=n("60d8"),d=n("b360"),p=n("d01a"),v=(n("78f6"),n("4fb8")),y=n.n(v),m=n("d678"),g=function(){var t=this,e=this,r=e.$createElement,i=e._self._c||r;return i("div",{staticClass:"loginModel"},[i("i",{staticClass:"iconClose",on:{click:function(){return t.$emit("close")}}}),i("div",{staticClass:"loginSection"},[i("div",{staticClass:"fieldSection"},[i("van-field",{attrs:{placeholder:"请输入手机号",autocomplete:"off",border:!1,type:"tel",maxlength:"11"},scopedSlots:e._u([{key:"left-icon",fn:function(){return[i("img",{staticClass:"icon",attrs:{src:n("7982")}})]},proxy:!0}]),model:{value:e.username,callback:function(t){e.username=t},expression:"username"}}),"PWD"===e.loginType?i("van-field",{attrs:{placeholder:"请输入密码",autocomplete:"off",border:!1,type:"password"},scopedSlots:e._u([{key:"left-icon",fn:function(){return[i("img",{staticClass:"icon",attrs:{src:n("1785")}})]},proxy:!0}],null,!1,2214458091),model:{value:e.password,callback:function(t){e.password=t},expression:"password"}}):i("van-field",{attrs:{placeholder:"请输入验证码",autocomplete:"off",maxlength:"6",type:"tel",border:!1},scopedSlots:e._u([{key:"left-icon",fn:function(){return[i("img",{staticClass:"icon",attrs:{src:n("1785")}})]},proxy:!0},{key:"button",fn:function(){return[i("span",{directives:[{name:"show",rawName:"v-show",value:e.countDownStatus,expression:"countDownStatus"}],staticClass:"codeText",on:{click:e.onSendCode}},[e._v("\n 获取验证码\n ")]),i("van-count-down",{directives:[{name:"show",rawName:"v-show",value:!e.countDownStatus,expression:"!countDownStatus"}],ref:"countdown",attrs:{"auto-start":!1,time:e.countDownTime,format:"ss秒"},on:{finish:e.onFinished}})]},proxy:!0}]),model:{value:e.smsCode,callback:function(t){e.smsCode=t},expression:"smsCode"}})],1),i("div",{staticClass:"btnGroup"},[i("van-button",{attrs:{round:"",block:"",color:"#2DC7AA"},on:{click:e.onLogin}},[e._v("\n 登录\n ")]),i("span",{staticClass:"btnText",on:{click:function(){"PWD"===e.loginType?(e.countDownStatus=!0,e.loginType="SMS"):e.loginType="PWD"}}},[e._v("\n "+e._s("PWD"===e.loginType?"验证码登录":"密码登录")+"\n ")])],1)]),i("MTeleport",{attrs:{to:"body"}},[e.showImgCode?i("MImgCode",{attrs:{phone:e.username},on:{close:function(){e.showImgCode=!1},onCodeSend:e.onCodeSend},model:{value:e.showImgCode,callback:function(t){e.showImgCode=t},expression:"showImgCode"}}):e._e()],1)],1)},w=[],S=n("2b7c"),b=(n("433b"),n("d399"));function A(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function x(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?A(Object(n),!0).forEach((function(e){C(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function C(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function E(t){return E="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},E(t)}var L=function(t){var e={value:i};if("string"===typeof t)e.value=t;else if("object"===E(t))return e=x(x({},e),t),!1;var n=e,r=n.value,i=void 0===r?"":r,o=n.hint,a=n.message,s=!0,c="";return i||(s=!1,c=a||"请输入手机号"),11!==i.length&&(s=!1,c=a||"请输入正确的手机号"),!1!==o&&c&&Object(b["a"])(c),s},O=n("6354"),j=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t._t("default")],2)},k=[],I={name:"teleport",props:{to:{type:String,required:!0}},mounted:function(){var t=document.querySelector(this.to);t&&t.appendChild(this.$el)},destroyed:function(){var t=document.querySelector(this.to);t&&t.removeChild(this.$el)}},T=I,D=n("2877"),z=Object(D["a"])(T,j,k,!1,null,null,null),P=z.exports;function M(t){return M="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},M(t)}function N(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */N=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},i=r.iterator||"@@iterator",o=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(L){s=function(t,e,n){return t[e]=n}}function c(t,e,n,r){var i=e&&e.prototype instanceof h?e:h,o=Object.create(i.prototype),a=new x(r||[]);return o._invoke=function(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return E()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=S(a,n);if(s){if(s===l)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=u(t,e,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}(t,n,a),o}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(L){return{type:"throw",arg:L}}}t.wrap=c;var l={};function h(){}function f(){}function d(){}var p={};s(p,i,(function(){return this}));var v=Object.getPrototypeOf,y=v&&v(v(C([])));y&&y!==e&&n.call(y,i)&&(p=y);var m=d.prototype=h.prototype=Object.create(p);function g(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function r(i,o,a,s){var c=u(t[i],t,o);if("throw"!==c.type){var l=c.arg,h=l.value;return h&&"object"==M(h)&&n.call(h,"__await")?e.resolve(h.__await).then((function(t){r("next",t,a,s)}),(function(t){r("throw",t,a,s)})):e.resolve(h).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,s)}))}s(c.arg)}var i;this._invoke=function(t,n){function o(){return new e((function(e,i){r(t,n,e,i)}))}return i=i?i.then(o,o):o()}}function S(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method))return l;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var r=u(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,l;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,l):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,l)}function b(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function x(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(b,this),this.reset(!0)}function C(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:E}}function E(){return{value:void 0,done:!0}}return f.prototype=d,s(m,"constructor",d),s(d,"constructor",f),f.displayName=s(d,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,s(t,a,"GeneratorFunction")),t.prototype=Object.create(m),t},t.awrap=function(t){return{__await:t}},g(w.prototype),s(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},g(m),s(m,a,"Generator"),s(m,i,(function(){return this})),s(m,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=C,x.prototype={constructor:x,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(A),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=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 e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(s&&c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,l):this.complete(a)},complete:function(t,e){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&&e&&(this.next=e),l},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),A(n),l}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;A(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:C(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},t}function U(t,e,n,r,i,o,a){try{var s=t[o](a),c=s.value}catch(u){return void n(u)}s.done?e(c):Promise.resolve(c).then(r,i)}function K(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){U(o,r,i,a,s,"next",t)}function s(t){U(o,r,i,a,s,"throw",t)}a(void 0)}))}}var B={components:{MImgCode:O["a"],MTeleport:P},data:function(){return{loginType:"PWD",showImgCode:!1,username:"",password:"",smsCode:"",countDownStatus:!0,countDownTime:12e4}},methods:{onSendCode:function(){var t=K(N().mark((function t(){return N().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(L(this.username)){t.next=2;break}return t.abrupt("return");case 2:this.showImgCode=!0;case 3:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),onCodeSend:function(){this.countDownStatus=!1,this.$refs.countdown.start()},onFinished:function(){this.countDownStatus=!0,this.$refs.countdown.reset()},onLogin:function(){var t=K(N().mark((function t(){var e,n,r,i,o,a;return N().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(t.prev=0,L(this.username)){t.next=3;break}return t.abrupt("return",this.$toast("请输入正确的手机号码"));case 3:if("PWD"!==this.loginType){t.next=14;break}if(this.password){t.next=6;break}return t.abrupt("return",this.$toast("请输入密码"));case 6:return t.next=8,Object(S["a"])({baseURL:"/api-auth",url:"/usernameLogin",method:"post",requestType:"form",data:{username:this.username,password:this.password,clientId:"student",clientSecret:"student"}});case 8:e=t.sent,n=e.data,r=n.authentication,Object(u["j"])(r.token_type+" "+r.access_token),t.next=22;break;case 14:if(this.smsCode){t.next=16;break}return t.abrupt("return",this.$toast("请输入验证码"));case 16:return t.next=18,Object(S["a"])({baseURL:"/api-auth",url:"/smsLogin",method:"post",data:{clientId:"student",clientSecret:"student",phone:this.username,smsCode:this.smsCode,isLessee:!!this.isRegister||void 0},requestType:"form"});case 18:i=t.sent,o=i.data,a=o.authentication,Object(u["j"])(a.token_type+" "+a.access_token);case 22:return t.next=24,this.$store.dispatch("setUserInfo");case 24:this.$emit("confirm",!0),t.next=30;break;case 27:t.prev=27,t.t0=t["catch"](0),console.log(t.t0);case 30:case"end":return t.stop()}}),t,this,[[0,27]])})));function e(){return t.apply(this,arguments)}return e}()}},R=B,q=(n("3be3"),Object(D["a"])(R,g,w,!1,null,"4c40f5e6",null)),F=q.exports;function G(t){return G="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},G(t)}function V(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Y(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?V(Object(n),!0).forEach((function(e){J(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):V(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function J(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function W(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */W=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},i=r.iterator||"@@iterator",o=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(L){s=function(t,e,n){return t[e]=n}}function c(t,e,n,r){var i=e&&e.prototype instanceof h?e:h,o=Object.create(i.prototype),a=new x(r||[]);return o._invoke=function(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return E()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=S(a,n);if(s){if(s===l)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=u(t,e,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}(t,n,a),o}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(L){return{type:"throw",arg:L}}}t.wrap=c;var l={};function h(){}function f(){}function d(){}var p={};s(p,i,(function(){return this}));var v=Object.getPrototypeOf,y=v&&v(v(C([])));y&&y!==e&&n.call(y,i)&&(p=y);var m=d.prototype=h.prototype=Object.create(p);function g(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function r(i,o,a,s){var c=u(t[i],t,o);if("throw"!==c.type){var l=c.arg,h=l.value;return h&&"object"==G(h)&&n.call(h,"__await")?e.resolve(h.__await).then((function(t){r("next",t,a,s)}),(function(t){r("throw",t,a,s)})):e.resolve(h).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,s)}))}s(c.arg)}var i;this._invoke=function(t,n){function o(){return new e((function(e,i){r(t,n,e,i)}))}return i=i?i.then(o,o):o()}}function S(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method))return l;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var r=u(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,l;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,l):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,l)}function b(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function x(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(b,this),this.reset(!0)}function C(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:E}}function E(){return{value:void 0,done:!0}}return f.prototype=d,s(m,"constructor",d),s(d,"constructor",f),f.displayName=s(d,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,s(t,a,"GeneratorFunction")),t.prototype=Object.create(m),t},t.awrap=function(t){return{__await:t}},g(w.prototype),s(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},g(m),s(m,a,"Generator"),s(m,i,(function(){return this})),s(m,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=C,x.prototype={constructor:x,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(A),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=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 e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(s&&c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,l):this.complete(a)},complete:function(t,e){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&&e&&(this.next=e),l},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),A(n),l}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;A(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:C(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},t}function Z(t,e,n,r,i,o,a){try{var s=t[o](a),c=s.value}catch(u){return void n(u)}s.done?e(c):Promise.resolve(c).then(r,i)}function H(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){Z(o,r,i,a,s,"next",t)}function s(t){Z(o,r,i,a,s,"throw",t)}a(void 0)}))}}var X={name:"creation",data:function(){return{id:this.$route.query.id,loginTag:!1,loginStatus:!1,isEmpty:!1,wxStatus:!1,state:{playType:"",musicDetail:{},isClick:!1,list:[],listState:{dataShow:!0,loading:!1,finished:!1},params:{page:1,rows:4},_plrl:null,heightA:0},plyrState:{duration:0,currentTime:0,mediaTimeShow:!1,playIngShow:!0},isLandscapeScreen:!1,isScreenScroll:!1,navBarHeight:0,staffState:{staffSrc:"",isShow:!1,height:"initial",speedRate:1,musicRenderType:"staff",partIndex:0},creationHeight:0}},components:{textEllipsis:d["a"],MEmpty:m["a"],Loading:p["a"],LoginModel:F},methods:{getSecondRPM:u["i"],browser:u["b"],onDayjs:function(t){return c()(t).format("YYYY-MM-DD HH:mm")},goBack:function(){Object(u["b"])().isApp?(this.setStatusBarTextColor(!1),Object(l["b"])({api:"setBarStatus",content:{status:1,backButtonHidden:0}}),Object(l["b"])({api:"back"})):this.$router.back()},onDetail:function(t){this.$router.push({path:"/shareCreation",query:{id:t.id}})},onStarChange:function(){var t=H(W().mark((function t(){return W().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(h["f"])({userMusicId:this.id,star:!this.state.musicDetail.starFlag});case 3:this.state.musicDetail.starFlag=!this.state.musicDetail.starFlag,this.state.musicDetail.starFlag?this.state.musicDetail.likeNum+=1:this.state.musicDetail.likeNum-=1,t.next=10;break;case 7:t.prev=7,t.t0=t["catch"](0),403===t.t0.code&&(this.loginStatus=!0);case 10:case"end":return t.stop()}}),t,this,[[0,7]])})));function e(){return t.apply(this,arguments)}return e}(),onConfirm:function(){var t=H(W().mark((function t(e){var n,r;return W().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.loginTag=e,this.loginStatus=!1,t.next=4,Object(h["a"])(this.id);case 4:n=t.sent,r=n.data,this.musicDetail=r;case 7:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),getStarList:function(){var t=H(W().mark((function t(){var e,n;return W().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(t.prev=0,!this.state.isClick){t.next=3;break}return t.abrupt("return");case 3:return this.state.isClick=!0,t.next=6,Object(h["b"])(Y({type:"FORMAL",exclusionId:this.id,sort:1},this.state.params));case 6:e=t.sent,this.state.listState.loading=!1,n=e.data||{},this.state.list=n.rows||[],this.state.listState.finished=n.current>=n.pages,this.state.params.page=n.current+1,this.state.listState.dataShow=this.state.list.length>0,this.state.isClick=!1,t.next=21;break;case 16:t.prev=16,t.t0=t["catch"](0),this.state.listState.dataShow=!1,this.state.listState.finished=!0,this.state.isClick=!1;case 21:case"end":return t.stop()}}),t,this,[[0,16]])})));function e(){return t.apply(this,arguments)}return e}(),handleChangeList:function(){this.state.listState.finished?(this.state.listState.finished=!1,this.state.params.page=1,this.getStarList()):this.getStarList()},init:function(){var t=H(W().mark((function t(){var e,n,r=this;return W().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(h["a"])(this.id);case 3:e=t.sent,this.state.musicDetail=e.data||{};try{n=JSON.parse(e.data.jsonConfig),n.speedRate&&(this.staffState.speedRate=n.speedRate),n.musicRenderType&&(this.staffState.musicRenderType=n.musicRenderType),n.partIndex&&(this.staffState.partIndex=n.partIndex)}catch(i){}this.initStaff(),this.getStarList(),-1!==e.data.videoUrl.lastIndexOf("mp4")?this.state.playType="Video":this.state.playType="Audio",this.$nextTick((function(){r.initMediaPlay()})),t.next=16;break;case 12:t.prev=12,t.t0=t["catch"](0),this.staffState.isShow=!0,999===t.t0.code&&(this.isEmpty=!0);case 16:case"end":return t.stop()}}),t,this,[[0,12]])})));function e(){return t.apply(this,arguments)}return e}(),initMediaPlay:function(){var t=this,e=this.staffMoveInstance(),n=e.playStaff,r=e.pauseStaff,i=e.updateProgressStaff,o="Audio"===this.state.playType?"#audioMediaSrc":"#videoMediaSrc";this.state._plrl=new y.a(o,{controls:["play","progress","current-time","duration"],fullscreen:{enabled:!1,fallback:!1}});var a=this.state._plrl;if("Audio"===this.state.playType){var s=document.querySelector("#audioMediaSrc"),c=document.querySelector("#audioVisualizer"),u=Object(f["a"])(s,c),l=u.pauseVisualDraw,h=u.playVisualDraw;a.on("play",(function(){h()})),a.on("pause",(function(){l()}))}a.on("timeupdate",(function(){t.plyrState.currentTime=a.currentTime})),a.on("play",(function(){t.plyrState.playIngShow=!1,n()})),a.on("pause",(function(){t.plyrState.playIngShow=!0,r()})),a.on("ended",(function(){t.plyrState.mediaTimeShow||(a.currentTime=0,a.playing||setTimeout((function(){i(a.currentTime)}),100))}));var d=function(){t.isLandscapeScreen.value||(t.plyrState.duration=a.duration,t.plyrState.mediaTimeShow=!0)},p=function(){t.plyrState.mediaTimeShow=!1,a.playing||i(a.currentTime)},v=document.querySelector("#playMediaSection .plyr__controls .plyr__progress__container");v.addEventListener("mousedown",d),v.addEventListener("touchstart",d),v.addEventListener("mouseup",p),v.addEventListener("touchend",p)},initStaff:function(){var t=this,e="".concat(Object(f["b"])(),"/gym-music-score/#/simple-detail?id=").concat(this.state.musicDetail.musicSheetId,"&musicRenderType=").concat(this.staffState.musicRenderType,"&part-index=").concat(this.staffState.partIndex);this.staffState.staffSrc=e,window.addEventListener("message",(function(e){var n=e.data,r=n.api,i=n.height;"api_musicPage"===r&&(t.staffState.isShow=!0,t.staffState.height=i+"px")}))},staffMoveInstance:function(){var t=this,e=!0,n=function n(){requestAnimationFrame((function(){var r,i;null===(r=t.$refs.staffDom)||void 0===r||null===(i=r.contentWindow)||void 0===i||i.postMessage({api:"api_playProgress",content:{currentTime:t.state._plrl.currentTime*t.staffState.speedRate}},"*"),e||n()}))},r=function(){var r,i;t.staffState.isShow&&(e=!1,null===(r=t.$refs.staffDom)||void 0===r||null===(i=r.contentWindow)||void 0===i||i.postMessage({api:"api_play"},"*"),n())},i=function(){var n,r;t.staffState.isShow&&(e=!0,null===(n=t.$refs.staffDom)||void 0===n||null===(r=n.contentWindow)||void 0===r||r.postMessage({api:"api_paused"},"*"))},o=function(e){var n,r;t.staffState.isShow&&(null===(n=t.$refs.staffDom)||void 0===n||null===(r=n.contentWindow)||void 0===r||r.postMessage({api:"api_updateProgress",content:{currentTime:e*t.staffState.speedRate}},"*"))};return{playStaff:r,pauseStaff:i,updateProgressStaff:o}},handlerClickPlay:function(t){var e;null!==t&&void 0!==t&&null!==(e=t.target)&&void 0!==e&&e.matches("button.plyr__control")||(this.state._plrl.playing?this.state._plrl.pause():this.state._plrl.play())},handleScroll:function(){if(!this.isEmpty){var t=window.scrollY||document.documentElement.scrollTop;t>0&&!1===this.isScreenScroll&&(this.isScreenScroll=!0,this.setStatusBarTextColor(!1)),t<=0&&(this.isScreenScroll=!1,this.setStatusBarTextColor(!0))}},setStatusBarTextColor:function(t){Object(l["b"])({api:"setStatusBarTextColor",content:{statusBarTextColor:t}})},handleVisibilitychange:function(){var t;document.hidden&&(null===(t=this.state._plrl)||void 0===t||t.pause())},handlerBack:function(t){t.stopPropagation(),this.verticalScreen()},landscapeScreen:function(){Object(l["b"])({api:"setRequestedOrientation",content:{orientation:0}}),this.isLandscapeScreen=!0},verticalScreen:function(){Object(l["b"])({api:"setRequestedOrientation",content:{orientation:1}}),this.isLandscapeScreen=!1},handlerLandscapeScreen:function(t){t.stopPropagation();var e=Object(u["b"])(),n=e.isApp,r=e.weixin;if(n)this.landscapeScreen();else if(r)this.wxStatus=!0;else{var i=Date.now(),o=location.href;this.shareCall(o),setTimeout((function(){Date.now()-i<3500&&window.location.replace(Object(u["k"])()+"/#/studentDownLoad")}),3e3)}},shareCall:function(t){var e=encodeURIComponent(t),n=navigator.userAgent||navigator.vendor;/(iPhone|iPad|iPod|iOS)/i.test(n)?window.location.href="StudentsDaya://linkUrl=".concat(e):/(Android)/i.test(n)?window.location.href="studentdaya://html:8888/SplashActivity?url=".concat(e):showToast("请用手机或移动设备打开")},handlerDownLoad:function(){Object(u["b"])().weixin?this.wxStatus=!0:window.location.replace(Object(u["k"])()+"/#/studentDownLoad")},setFullHeight:function(){this.creationHeight=window.innerHeight}},mounted:function(){this.state.heightA=this.$refs.playBoxDom.offsetHeight,document.addEventListener("scroll",this.handleScroll),document.addEventListener("visibilitychange",this.handleVisibilitychange),this.setFullHeight(),window.addEventListener("resize",this.setFullHeight)},destroyed:function(){var t;null===(t=this.state._plrl)||void 0===t||t.destroy(),document.removeEventListener("scroll",this.handleScroll),document.removeEventListener("visibilitychange",this.handleVisibilitychange),window.removeEventListener("resize",this.setFullHeight)},created:function(){var t=this;this.setStatusBarTextColor(!0),Object(l["b"])({api:"setBarStatus",content:{status:0,backButtonHidden:1}}),Object(l["b"])({api:"getNavHeight"},(function(e){var n=e.content,r=n.dpi||2;if(n.navHeight){var i=n.navHeight/r;t.navBarHeight=i}})),this.init()}},Q=X,_=(n("fb89"),Object(D["a"])(Q,o,a,!1,null,"9a1fec26",null)),$=_.exports,tt={name:"index-share",components:{indexShareRoute:$}},et=tt,nt=Object(D["a"])(et,r,i,!1,null,null,null);e["default"]=nt.exports},c9cd:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAAA7ZJREFUWEftl11ok1cYx39P1qYfRpNeqJVR0dQrtxI6B6Mr1Aq76NVQvFDGeqFQaGI2WFGzXhkcNElLnHSb3c1EtLtQsMwP8EKHF5vS4kBoSwdDJ5XWuoZZaNKm1TTvOHkNXZKmy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