| 1 |
- !function(){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t=function(){return r};var r={},n=Object.prototype,o=n.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(C){u=function(e,t,r){return e[t]=r}}function f(e,t,r,n){var o=t&&t.prototype instanceof _?t:_,a=Object.create(o.prototype),c=new S(n||[]);return i(a,"_invoke",{value:q(e,r,c)}),a}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(C){return{type:"throw",arg:C}}}r.wrap=f;var h={};function _(){}function m(){}function p(){}var g={};u(g,c,(function(){return this}));var v=Object.getPrototypeOf,y=v&&v(v(j([])));y&&y!==n&&o.call(y,c)&&(g=y);var x=p.prototype=_.prototype=Object.create(g);function b(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function w(t,r){function n(i,a,c,s){var l=d(t[i],t,a);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==e(f)&&o.call(f,"__await")?r.resolve(f.__await).then((function(e){n("next",e,c,s)}),(function(e){n("throw",e,c,s)})):r.resolve(f).then((function(e){u.value=e,c(u)}),(function(e){return n("throw",e,c,s)}))}s(l.arg)}var a;i(this,"_invoke",{value:function(e,t){function o(){return new r((function(r,o){n(e,t,r,o)}))}return a=a?a.then(o,o):o()}})}function q(e,t,r){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 B()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=k(a,r);if(c){if(c===h)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=d(e,t,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===h)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}function k(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,k(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),h;var o=d(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,h;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,h):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,h)}function I(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(I,this),this.reset(!0)}function j(e){if(e){var t=e[c];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,n=function t(){for(;++r<e.length;)if(o.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return n.next=n}}return{next:B}}function B(){return{value:void 0,done:!0}}return m.prototype=p,i(x,"constructor",{value:p,configurable:!0}),i(p,"constructor",{value:m,configurable:!0}),m.displayName=u(p,l,"GeneratorFunction"),r.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},r.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,u(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},r.awrap=function(e){return{__await:e}},b(w.prototype),u(w.prototype,s,(function(){return this})),r.AsyncIterator=w,r.async=function(e,t,n,o,i){void 0===i&&(i=Promise);var a=new w(f(e,t,n,o),i);return r.isGeneratorFunction(t)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},b(x),u(x,l,"Generator"),u(x,c,(function(){return this})),u(x,"toString",(function(){return"[object Generator]"})),r.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);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}},r.values=j,S.prototype={constructor:S,reset:function(e){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(L),!e)for(var t in this)"t"===t.charAt(0)&&o.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.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 r("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),s=o.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),L(r),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:j(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),h}},r}function r(e,t,r,n,o,i,a){try{var c=e[i](a),s=c.value}catch(l){return void r(l)}c.done?t(s):Promise.resolve(s).then(n,o)}function n(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function c(e){r(a,o,i,c,s,"next",e)}function s(e){r(a,o,i,c,s,"throw",e)}c(void 0)}))}}function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,c=[],s=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(c.push(n.value),c.length!==t);s=!0);}catch(u){l=!0,o=u}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}System.register(["./index-legacy-45dabc2d.js","./index-legacy-5c38cace.js"],(function(e,r){"use strict";var i,a,c,s,l,u,f,d,h,_,m,p,g,v,y,x,b,w,q,k,I,L,S,j,B,C,E,F,A,O,R,U,P,z,T=document.createElement("style");return T.textContent="._back_1q9x6_1{position:fixed;left:.4rem;top:.45333rem;width:.82667rem;height:.82667rem}._back_1q9x6_1>img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}._back_1q9x6_1:active{opacity:.8}._container_1q9x6_16{background:url("+new URL("icon_bg-f94bd665.png",r.meta.url).href+") no-repeat center center / cover;padding:1.25333rem .32rem .53333rem 1.44rem;height:100vh;overflow:hidden}._content_1q9x6_22{display:flex;height:calc(100vh - 1.78667rem);overflow:hidden}._opacityBg_1q9x6_27{background:linear-gradient(134deg,rgba(255,255,255,.75) 0%,rgba(255,255,255,.34) 100%);border-radius:.48rem;border:.05333rem solid #fff}._leftContent_1q9x6_32{position:relative;width:55%;display:flex}._leftBg_1q9x6_37{position:absolute;left:0;top:0;width:2.53333rem;height:100%;background:linear-gradient(48deg,#43B2FF 0%,#159AF7 100%);border:2Px solid #fff;border-radius:.48rem .24rem 0 .48rem;z-index:1}._leftBg2_1q9x6_48{position:absolute;left:0;top:0;width:calc(100% - .32rem);height:100%;background:linear-gradient(134deg,rgba(255,255,255,.75) 0%,rgba(255,255,255,.34) 100%);border-radius:.48rem;border:2Px solid #fff}._types_1q9x6_58{position:relative;top:2Px;width:2.53333rem;height:calc(100% - 4Px);padding:.10667rem 0;overflow-x:hidden;overflow-y:auto;border-radius:.48rem;z-index:1;flex-shrink:0}._types_1q9x6_58::-webkit-scrollbar{width:0;display:none}._types_1q9x6_58 ._type_1q9x6_58{position:relative;padding:.10667rem .32rem}._types_1q9x6_58 ._type_1q9x6_58._typeActive_1q9x6_78 ._typeImg_1q9x6_78{border-color:#99ffd0;animation:_scaleBtn_1q9x6_1 1s ease-in-out}._types_1q9x6_58 ._typeImg_1q9x6_78{padding:.16rem;border:.05333rem solid transparent;border-radius:.16rem;height:2.53333rem;transition:.3s}._types_1q9x6_58 ._typeImg_1q9x6_78:active{transform:scale(.8)}._types_1q9x6_58 ._typeIcon_1q9x6_92{display:block;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;box-shadow:.05333rem 1Px .02667rem #fff;filter:drop-shadow(.02667rem .16rem .16rem rgba(0,0,0,.5))}._center_1q9x6_100{flex:1;position:relative;padding-right:.32rem;height:100%}._center_1q9x6_100 .van-search{padding:.16rem .24rem;width:100%;z-index:1}._musicContent_1q9x6_111{width:100%;height:calc(100% - var(--van-search-input-height) - .32rem - 2Px);padding:.16rem .32rem .32rem;overflow-x:hidden;overflow-y:auto}._musicContent_1q9x6_111::-webkit-scrollbar{width:0;display:none}._musicItem_1q9x6_122{position:relative;display:flex;align-items:center;border:.08rem solid #fff;border-radius:.24rem;margin-bottom:.16rem;background-color:#fff;padding:.10667rem;transition:all .3s}._musicItem_1q9x6_122._disableNotic_1q9x6_133 .van-notice-bar__content{transition-duration:0s!important;transform:none!important}._musicItem_1q9x6_122._musicActive_1q9x6_137{border-width:.08rem;background:linear-gradient(180deg,#FFFFFF 0%,#BFE1FF 100%);transform:scale(1.05);box-shadow:0 .05333rem .10667rem #499fe4}._musicItem_1q9x6_122 ._musicAvtor_1q9x6_143{display:block;width:8.2vw;height:8.2vw;border-radius:8Px;-o-object-fit:cover;object-fit:cover;flex-shrink:0;margin-right:1vw}._musicItem_1q9x6_122 ._musicInfo_1q9x6_152{flex:1}._musicItem_1q9x6_122 ._musicInfo_1q9x6_152 ._musicName_1q9x6_155{font-weight:600;color:#333;margin-bottom:.08rem}._musicItem_1q9x6_122 ._musicInfo_1q9x6_152 ._noticeBar_1q9x6_160{padding:0;height:.74667rem}._musicItem_1q9x6_122 ._musicInfo_1q9x6_152 ._musicDes_1q9x6_164{width:100%;display:flex;align-items:center}._musicItem_1q9x6_122 ._musicInfo_1q9x6_152 ._musicFavitor_1q9x6_169{border:.02667rem solid #FFC5C5;color:#ff6a6a;padding:.02667rem .08rem .02667rem .37333rem;border-radius:.10667rem;background-color:#fff8f7;background-image:url("+new URL("icon_hot-954f4a46.svg",r.meta.url).href+");background-repeat:no-repeat;background-size:auto 70%;background-position:.05333rem center;margin-right:.10667rem}._musicItem_1q9x6_122 ._musicInfo_1q9x6_152 ._musicAuthor_1q9x6_181{flex:1;font-size:.32rem;font-weight:400;color:#777;line-height:.32rem;max-width:9vw}._musicItem_1q9x6_122 ._musicIcon_1q9x6_189{flex-shrink:0;margin-right:.10667rem}._right_1q9x6_193{position:relative;background:#fff;overflow:hidden;border:none;width:45%}._right-musicName_1q9x6_200{font-size:.4rem;font-weight:500;color:#131415;line-height:.53333rem;text-align:center;padding:.32rem 0}._staff_1q9x6_208{width:100%}._rightBtns_1q9x6_211{position:absolute;bottom:0;left:0;right:0;padding:0 .21333rem .48rem;display:flex;align-items:flex-end;height:2.08rem;background:#fff;background-image:linear-gradient(180deg,rgba(255,255,255,0) 0%,#C1EEFF 100%)}._rightBtns_1q9x6_211>img{margin:0 .10667rem;height:.8rem;transition:.3s}._rightBtns_1q9x6_211>img:active{transform:scale(.6)}._rightBtns_1q9x6_211>img:last-child{margin-left:auto;animation:_scaleBtn_1q9x6_1 1s ease-in-out infinite}@keyframes _scaleBtn_1q9x6_1{0%{transform:scale(1)}50%{transform:scale(1.1)}to{transform:scale(1)}}@keyframes _displayIcon_1q9x6_1{to{opacity:1}}._m-search_1oqt0_1{--van-cell-background-color: transparent}._m-search_1oqt0_1 input::-moz-placeholder{color:var(--k-gray-4)}._m-search_1oqt0_1 input::placeholder{color:var(--k-gray-4)}._m-search_1oqt0_1 .van-field__control{-webkit-user-select:text!important;-moz-user-select:text!important;user-select:text!important;font-size:.34667rem}._m-search_1oqt0_1 .van-search__field{background:transparent!important;padding:0 var(--van-padding-xs) 0 0}._m-search_1oqt0_1 .van-field__right-icon{display:flex;align-items:center;justify-content:center;padding-right:.10667rem}._m-search_1oqt0_1._default_1oqt0_22 .van-search__content{background:#f8f9fc!important}._m-search_1oqt0_1._white_1oqt0_25 .van-search__content{background:#fff!important}._m-search_1oqt0_1._transparent_1oqt0_28 .van-search__content{background:rgba(255,255,255,.16)}._m-search_1oqt0_1._transparent_1oqt0_28 .van-search__content input::-moz-placeholder{color:#fff}._m-search_1oqt0_1._transparent_1oqt0_28 .van-search__content input::placeholder{color:#fff}._m-search_1oqt0_1._transparent_1oqt0_28 .van-search__content input,._m-search_1oqt0_1._transparent_1oqt0_28 .van-search__content .van-field__clear{color:#fff}._m-search_1oqt0_1 ._searchBtn_1oqt0_40{width:1.38667rem;height:.66667rem;padding:0;font-size:.34667rem;font-weight:500;--van-button-mini-height: .74667rem;--van-font-size-xs: .32rem;background:linear-gradient(to right,#5BECFF,#259CFE);border:none}\n",document.head.appendChild(T),{setters:[function(e){i=e.f,a=e.F},function(e){c=e.c,s=e.s,l=e.d,u=e.r,f=e.Z,d=e.a2,h=e.a3,_=e.a4,m=e.w,p=e.k,g=e.a5,v=e.h,y=e.I,x=e.a6,b=e.a7,w=e.z,q=e.a8,k=e.i,I=e.q,L=e.a9,S=e.m,j=e.t,B=e.aa,C=e.ab,E=e.p,F=e.ac,A=e.M,O=e.D,R=e.F,U=e.S,P=e.C,z=e.ad}],execute:function(){var T=o(c("notice-bar"),2),N=T[0],V=T[1],G={text:String,mode:String,color:String,delay:s(1),speed:s(60),leftIcon:String,wrapable:Boolean,background:String,scrollable:{type:Boolean,default:null}},D=l({name:N,props:G,emits:["close","replay"],setup:function(e,t){var r,n=t.emit,o=t.slots,i=0,a=0,c=u(),s=u(),l=f({show:!0,offset:0,duration:0}),I=function(t){"closeable"===e.mode&&(l.show=!1,n("close",t))},L=function(){if(o["right-icon"])return o["right-icon"]();var t="closeable"===e.mode?"cross":"link"===e.mode?"arrow":void 0;return t?v(y,{name:t,class:V("right-icon"),onClick:I},null):void 0},S=function(){l.offset=i,l.duration=0,q((function(){b((function(){l.offset=-a,l.duration=(a+i)/+e.speed,n("replay")}))}))},j=function(){var t=e.delay,n=e.speed,o=e.scrollable,u=k(t)?1e3*+t:0;i=0,a=0,l.offset=0,l.duration=0,clearTimeout(r),r=setTimeout((function(){if(c.value&&s.value&&!1!==o){var e=x(c).width,t=x(s).width;(o||t>e)&&b((function(){i=e,a=t,l.offset=-a,l.duration=a/+n}))}}),u)};return d(j),h(j),_("pageshow",j),w({reset:j}),m((function(){return[e.text,e.scrollable]}),j),function(){var t,r,n=e.color,i=e.wrapable,a=e.background;return p(v("div",{role:"alert",class:V({wrapable:i}),style:{color:n,background:a}},[o["left-icon"]?o["left-icon"]():e.leftIcon?v(y,{class:V("left-icon"),name:e.leftIcon},null):void 0,(t=!1===e.scrollable&&!e.wrapable,r={transform:l.offset?"translateX(".concat(l.offset,"px)"):"",transitionDuration:"".concat(l.duration,"s")},v("div",{ref:c,role:"marquee",class:V("wrap")},[v("div",{ref:s,style:r,class:[V("content"),{"van-ellipsis":t}],onTransitionend:S},[o.default?o.default():e.text])])),L()]),[[g,l.show]])}}}),J=I(D),M=o(c("search"),3),Y=M[0],H=M[1],K=M[2],W=L({},i,{label:String,shape:S("square"),leftIcon:S("search"),clearable:j,actionText:String,background:String,showAction:Boolean}),X=l({name:Y,props:W,emits:["blur","focus","clear","search","cancel","clickInput","clickLeftIcon","clickRightIcon","update:modelValue"],setup:function(e,t){var r=t.emit,n=t.slots,o=t.attrs,c=B(),s=u(),l=function(){n.action||(r("update:modelValue",""),r("cancel"))},f=function(t){13===t.keyCode&&(F(t),r("search",e.modelValue))},d=function(){return e.id||"".concat(c,"-input")},h=function(){if(n.label||e.label)return v("label",{class:H("label"),for:d()},[n.label?n.label():e.label])},_=function(){if(e.showAction){var t=e.actionText||K("cancel");return v("div",{class:H("action"),role:"button",tabindex:0,onClick:l},[n.action?n.action():t])}},m=function(e){return r("blur",e)},p=function(e){return r("focus",e)},g=function(e){return r("clear",e)},y=function(e){return r("clickInput",e)},x=function(e){return r("clickLeftIcon",e)},b=function(e){return r("clickRightIcon",e)},q=Object.keys(i);return w({focus:function(){var e;return null==(e=s.value)?void 0:e.focus()},blur:function(){var e;return null==(e=s.value)?void 0:e.blur()}}),function(){var t,i;return v("div",{class:H({"show-action":e.showAction}),style:{background:e.background}},[null==(t=n.left)?void 0:t.call(n),v("div",{class:H("content",e.shape)},[h(),(i=L({},o,C(e,q),{id:d()}),v(a,E({ref:s,type:"search",class:H("field"),border:!1,onBlur:m,onFocus:p,onClear:g,onKeypress:f,onClickInput:y,onClickLeftIcon:x,onClickRightIcon:b,"onUpdate:modelValue":function(e){return r("update:modelValue",e)}},i),C(n,["left-icon","right-icon"])))]),_()])}}}),Z=I(X),$="_back_1q9x6_1",Q="_container_1q9x6_16",ee="_content_1q9x6_22",te="_opacityBg_1q9x6_27",re="_leftContent_1q9x6_32",ne="_leftBg_1q9x6_37",oe="_leftBg2_1q9x6_48",ie="_types_1q9x6_58",ae="_type_1q9x6_58",ce="_typeActive_1q9x6_78",se="_typeImg_1q9x6_78",le="_typeIcon_1q9x6_92",ue="_center_1q9x6_100",fe="_musicContent_1q9x6_111",de="_musicItem_1q9x6_122",he="_disableNotic_1q9x6_133",_e="_musicActive_1q9x6_137",me="_musicAvtor_1q9x6_143",pe="_musicInfo_1q9x6_152",ge="_musicName_1q9x6_155",ve="_noticeBar_1q9x6_160",ye="_musicDes_1q9x6_164",xe="_musicFavitor_1q9x6_169",be="_musicAuthor_1q9x6_181",we="_right_1q9x6_193",qe="_right-musicName_1q9x6_200",ke="_staff_1q9x6_208",Ie="_rightBtns_1q9x6_211",Le={"m-search":"_m-search_1oqt0_1",default:"_default_1oqt0_22",white:"_white_1oqt0_25",transparent:"_transparent_1oqt0_28",searchBtn:"_searchBtn_1oqt0_40"},Se=""+new URL("icon-search-d43eb2c3.svg",r.meta.url).href,je=l({name:"m-search",props:{modelValue:{type:String,default:""},shape:{type:String,default:"round"},disabled:{type:Boolean,default:!1},autofocus:{type:Boolean,default:!1},placeholder:{type:String,default:"请输入搜索关键词"},background:{type:String,default:"#fff"},inputBackground:{type:String,default:"default"}},emits:["search"],setup:function(e,t){var r=t.slots,n=t.emit,o=f({search:e.modelValue||""});return m((function(){return e.modelValue}),(function(){o.search=e.modelValue})),function(){return v(Z,{class:[Le["m-search"],Le[e.inputBackground]],shape:e.shape,background:e.background,placeholder:e.placeholder,disabled:e.disabled,autofocus:e.autofocus,autocomplete:"off",modelValue:o.search,"onUpdate:modelValue":function(e){return o.search=e},clearTrigger:"always",onClear:function(){console.log("clear"),o.search="",n("search",o.search)},onSearch:function(){return n("search",o.search)}},{left:function(){return r.left&&r.left()},"left-icon":function(){return v(y,{name:Se,class:Le.leftIcon},null)},"right-icon":function(){return v(A,{disabled:e.disabled,class:Le.searchBtn,round:!0,type:"primary",size:"mini",onClick:function(){return n("search",o.search)}},{default:function(){return[O("搜索")]}})}})}}}),Be=""+new URL("icon_back-b80c2fc2.svg",r.meta.url).href,Ce=""+new URL("icon_down-27184904.svg",r.meta.url).href,Ee=""+new URL("icon_jianpu-80bd16a8.svg",r.meta.url).href,Fe=""+new URL("icon_jianpuActive-17580202.svg",r.meta.url).href,Ae=""+new URL("icon_start-4add1f07.svg",r.meta.url).href,Oe=""+new URL("1-0aed42a1.svg",r.meta.url).href,Re=""+new URL("2-f51bb566.svg",r.meta.url).href,Ue=""+new URL("3-9fe2956a.svg",r.meta.url).href,Pe=""+new URL("1-068d7272.png",r.meta.url).href,ze=""+new URL("2-be3ea30a.png",r.meta.url).href,Te=""+new URL("3-6a1b17fd.png",r.meta.url).href,Ne=""+new URL("4-70426869.png",r.meta.url).href;e("default",l({name:"co-ai",setup:function(){var e=[Oe,Re,Ue],r=[{name:"竖笛-上学歌",auther:"人教版",hot:232,img:Pe},{name:"最伟大的作品",auther:"周杰伦",hot:132,img:ze},{name:"夏天的风",auther:"温岚",hot:112,img:Te},{name:"慢生活",auther:"李萌",hot:112,img:Ne},{name:"竖笛-上学歌",auther:"人教版",hot:232,img:Pe},{name:"最伟大的作品",auther:"周杰伦",hot:132,img:ze},{name:"夏天的风",auther:"温岚",hot:112,img:Te},{name:"慢生活",auther:"李萌",hot:112,img:Ne}],o=f({typeIndex:0,musicIndex:0,isShowJianpu:!1}),i=function(){U({api:"goBack"})},a=function(){var e=n(t().mark((function e(){var r,i,a,c;return t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=document.createElement("canvas"),i=r.getContext("2d"),a=o.isShowJianpu?o.musicIndex%2==0?"https://cloud-coach.ks3-cn-beijing.ksyuncs.com/music-sheet-first/1687673062603-1.png":"https://cloud-coach.ks3-cn-beijing.ksyuncs.com/music-sheet-first/1675232855321-1.png":o.musicIndex%2==0?"https://cloud-coach.ks3-cn-beijing.ksyuncs.com/music-sheet/1687673062488-1.png":"https://cloud-coach.ks3-cn-beijing.ksyuncs.com/music-sheet/1675232854483-2.png",(c=new Image).crossOrigin="anonymous",c.src=a+"?v="+Date.now(),c.onload=n(t().mark((function e(){var n,o;return t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r.height=c.height,r.width=c.width,null==i||i.drawImage(c,0,0,c.width,c.height),n=r.toDataURL("image/png",1),r=null,setTimeout((function(){P("保存成功")}),500),e.next=8,z({api:"savePicture",content:{base64:n}});case 8:o=e.sent,console.log("🚀 ~ res:",o);case 10:case"end":return e.stop()}}),e)})));case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return function(){return v("div",{class:Q},[v("div",{class:$,onClick:i},[v("img",{src:Be},null)]),v("div",{class:ee},[v("div",{class:[re]},[v("div",{class:oe},null),v("div",{class:ne},null),v("div",{class:ie},[new Array(10).fill(1).map((function(t,r){var n=e[r]?e[r]:e[r%3];return v("div",{class:[ae,o.typeIndex===r&&ce],onClick:function(){return o.typeIndex=r}},[v("div",{class:se},[v("img",{class:le,src:n},null)])])}))]),v("div",{class:ue},[v(je,{shape:"round",background:"transparent",placeholder:"请输入曲目名称"},null),v("div",{class:fe},[r.map((function(e,t){return v("div",{class:[de,o.musicIndex===t?_e:he],onClick:function(){return o.musicIndex=t}},[v("img",{class:me,src:e.img},null),v("div",{class:pe},[v("div",{class:ge},[v(J,{text:e.name,color:"#333",class:ve,background:"none"},null)]),v("div",{class:ye},[v("div",{class:xe},[e.hot]),v("div",{class:[be,"van-ellipsis"]},[e.auther])])])])}))])])]),v("div",{class:[te,we]},[v("div",{class:qe},[r[o.musicIndex].name]),o.isShowJianpu?v(R,null,[v("img",{style:{display:o.musicIndex%2==0?"":"none"},class:ke,src:"https://cloud-coach.ks3-cn-beijing.ksyuncs.com/music-sheet-first/1687673062603-1.png"},null),v("img",{style:{display:o.musicIndex%2!=0?"":"none"},class:ke,src:"https://cloud-coach.ks3-cn-beijing.ksyuncs.com/music-sheet-first/1675232855321-1.png"},null)]):v(R,null,[v("img",{style:{display:o.musicIndex%2==0?"":"none"},class:ke,src:"https://cloud-coach.ks3-cn-beijing.ksyuncs.com/music-sheet/1687673062488-1.png"},null),v("img",{style:{display:o.musicIndex%2!=0?"":"none"},class:ke,src:"https://cloud-coach.ks3-cn-beijing.ksyuncs.com/music-sheet/1675232854483-2.png"},null)]),v("div",{class:Ie},[v("img",{src:o.isShowJianpu?Fe:Ee,onClick:function(){return o.isShowJianpu=!o.isShowJianpu}},null),v("img",{src:Ce,onClick:a},null),v("img",{src:Ae,onClick:function(){U({api:"openAccompanyWebView",content:{url:"https://dev.kt.colexiu.com/instrument?id=43539&Authorization=bearer 529d1359-20c6-4ea2-b2ba-2694cdeda8a4",orientation:0,isHideTitle:!0,statusBarTextColor:!1,isOpenLight:!0}})}},null)])])])])}}}))}}}))}();
|