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 n};var n={},r=Object.prototype,a=r.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(A){u=function(e,t,n){return e[t]=n}}function s(e,t,n,r){var a=t&&t.prototype instanceof f?t:f,i=Object.create(a.prototype),o=new S(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(a,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===a)throw i;return C()}for(n.method=a,n.arg=i;;){var o=n.delegate;if(o){var l=w(o,n);if(l){if(l===d)continue;return l}}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=v(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===d)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}(e,n,o),i}function v(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(A){return{type:"throw",arg:A}}}n.wrap=s;var d={};function f(){}function h(){}function g(){}var p={};u(p,o,(function(){return this}));var m=Object.getPrototypeOf,b=m&&m(m(L([])));b&&b!==r&&a.call(b,o)&&(p=b);var y=g.prototype=f.prototype=Object.create(p);function _(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function x(t,n){function r(i,o,l,c){var u=v(t[i],t,o);if("throw"!==u.type){var s=u.arg,d=s.value;return d&&"object"==e(d)&&a.call(d,"__await")?n.resolve(d.__await).then((function(e){r("next",e,l,c)}),(function(e){r("throw",e,l,c)})):n.resolve(d).then((function(e){s.value=e,l(s)}),(function(e){return r("throw",e,l,c)}))}c(u.arg)}var i;this._invoke=function(e,t){function a(){return new n((function(n,a){r(e,t,n,a)}))}return i=i?i.then(a,a):a()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return d;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var r=v(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,d;var a=r.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function k(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 z(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(a.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:C}}function C(){return{value:void 0,done:!0}}return h.prototype=g,u(y,"constructor",g),u(g,"constructor",h),h.displayName=u(g,c,"GeneratorFunction"),n.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},n.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,u(e,c,"GeneratorFunction")),e.prototype=Object.create(y),e},n.awrap=function(e){return{__await:e}},_(x.prototype),u(x.prototype,l,(function(){return this})),n.AsyncIterator=x,n.async=function(e,t,r,a,i){void 0===i&&(i=Promise);var o=new x(s(e,t,r,a),i);return n.isGeneratorFunction(t)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},_(y),u(y,c,"Generator"),u(y,o,(function(){return this})),u(y,"toString",(function(){return"[object Generator]"})),n.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},n.values=L,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(z),!e)for(var t in this)"t"===t.charAt(0)&&a.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 n(n,r){return o.type="throw",o.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],o=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var l=a.call(i,"catchLoc"),c=a.call(i,"finallyLoc");if(l&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(o)},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),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),z(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;z(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:L(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},n}function n(e,t,n,r,a,i,o){try{var l=e[i](o),c=l.value}catch(u){return void n(u)}l.done?t(c):Promise.resolve(c).then(r,a)}function r(e){return function(){var t=this,r=arguments;return new Promise((function(a,i){var o=e.apply(t,r);function l(e){n(o,a,i,l,c,"next",e)}function c(e){n(o,a,i,l,c,"throw",e)}l(void 0)}))}}function a(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||o(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,a,i=[],o=!0,l=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);o=!0);}catch(c){l=!0,a=c}finally{try{o||null==n.return||n.return()}finally{if(l)throw a}}return i}(e,t)||o(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 o(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c=document.createElement("style");c.innerHTML='._search_167tt_1 ._fixed_167tt_1{position:sticky;top:0;z-index:101}._search_167tt_1 ._top_167tt_6{height:1.33333rem;display:flex;align-items:center;padding:0 .42667rem;font-size:.42667rem;font-weight:700;color:#fff;background-color:var(--van-primary-color);overflow:hidden}._search_167tt_1 ._top_167tt_6>img{width:.66667rem;height:.66667rem;margin-right:.32rem}._search_167tt_1 ._top_167tt_6 ._topBtn_167tt_22{margin-left:auto;width:1.6rem;height:.69333rem;color:var(--van-primary-color);white-space:nowrap;flex-shrink:0}._search_167tt_1 ._tagContent_167tt_30{padding:.42667rem .42667rem 0;display:flex}._search_167tt_1 ._tagLeft_167tt_34{font-size:.37333rem;color:#000;white-space:nowrap}._search_167tt_1 ._tags_167tt_39{display:flex;flex-wrap:wrap;font-size:.37333rem;color:#666}._search_167tt_1 ._tags_167tt_39>span{line-height:.53333rem;margin:0 .13333rem .21333rem}._searchContianer_167tt_50{padding:0 .42667rem}:root{--van-cell-font-size: var(--van-font-size-md);--van-cell-line-height: .64rem;--van-cell-vertical-padding: .26667rem;--van-cell-horizontal-padding: var(--van-padding-md);--van-cell-text-color: var(--van-text-color);--van-cell-background-color: var(--van-background-color-light);--van-cell-border-color: var(--van-border-color);--van-cell-active-color: var(--van-active-color);--van-cell-required-color: var(--van-danger-color);--van-cell-label-color: var(--van-text-color-2);--van-cell-label-font-size: var(--van-font-size-sm);--van-cell-label-line-height: var(--van-line-height-sm);--van-cell-label-margin-top: var(--van-padding-base);--van-cell-value-color: var(--van-text-color-2);--van-cell-icon-size: .42667rem;--van-cell-right-icon-color: var(--van-gray-6);--van-cell-large-vertical-padding: var(--van-padding-sm);--van-cell-large-title-font-size: var(--van-font-size-lg);--van-cell-large-label-font-size: var(--van-font-size-md)}.van-cell{position:relative;display:flex;box-sizing:border-box;width:100%;padding:var(--van-cell-vertical-padding) var(--van-cell-horizontal-padding);overflow:hidden;color:var(--van-cell-text-color);font-size:var(--van-cell-font-size);line-height:var(--van-cell-line-height);background:var(--van-cell-background-color)}.van-cell:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:var(--van-padding-md);bottom:0;left:var(--van-padding-md);border-bottom:.02667rem solid var(--van-cell-border-color);transform:scaleY(.5)}.van-cell:last-child:after,.van-cell--borderless:after{display:none}.van-cell__label{margin-top:var(--van-cell-label-margin-top);color:var(--van-cell-label-color);font-size:var(--van-cell-label-font-size);line-height:var(--van-cell-label-line-height)}.van-cell__title,.van-cell__value{flex:1}.van-cell__value{position:relative;overflow:hidden;color:var(--van-cell-value-color);text-align:right;vertical-align:middle;word-wrap:break-word}.van-cell__value--alone{color:var(--van-text-color);text-align:left}.van-cell__left-icon,.van-cell__right-icon{height:var(--van-cell-line-height);font-size:var(--van-cell-icon-size);line-height:var(--van-cell-line-height)}.van-cell__left-icon{margin-right:var(--van-padding-base)}.van-cell__right-icon{margin-left:var(--van-padding-base);color:var(--van-cell-right-icon-color)}.van-cell--clickable{cursor:pointer}.van-cell--clickable:active{background-color:var(--van-cell-active-color)}.van-cell--required{overflow:visible}.van-cell--required:before{position:absolute;left:var(--van-padding-xs);color:var(--van-cell-required-color);font-size:var(--van-cell-font-size);content:"*"}.van-cell--center{align-items:center}.van-cell--large{padding-top:var(--van-cell-large-vertical-padding);padding-bottom:var(--van-cell-large-vertical-padding)}.van-cell--large .van-cell__title{font-size:var(--van-cell-large-title-font-size)}.van-cell--large .van-cell__label{font-size:var(--van-cell-large-label-font-size)}:root{--van-field-label-width: 6.2em;--van-field-label-color: var(--van-gray-7);--van-field-label-margin-right: var(--van-padding-sm);--van-field-input-text-color: var(--van-text-color);--van-field-input-error-text-color: var(--van-danger-color);--van-field-input-disabled-text-color: var(--van-text-color-3);--van-field-placeholder-text-color: var(--van-text-color-3);--van-field-icon-size: .42667rem;--van-field-clear-icon-size: .42667rem;--van-field-clear-icon-color: var(--van-gray-5);--van-field-right-icon-color: var(--van-gray-6);--van-field-error-message-color: var(--van-danger-color);--van-field-error-message-font-size: .32rem;--van-field-text-area-min-height: 1.6rem;--van-field-word-limit-color: var(--van-gray-7);--van-field-word-limit-font-size: var(--van-font-size-sm);--van-field-word-limit-line-height: .42667rem;--van-field-disabled-text-color: var(--van-text-color-3);--van-field-required-mark-color: var(--van-red)}.van-field__label{flex:none;box-sizing:border-box;width:var(--van-field-label-width);margin-right:var(--van-field-label-margin-right);color:var(--van-field-label-color);text-align:left;word-wrap:break-word}.van-field__label--center{text-align:center}.van-field__label--right{text-align:right}.van-field__label--required:before{margin-right:.05333rem;color:var(--van-field-required-mark-color);content:"*"}.van-field--disabled .van-field__label{color:var(--van-field-disabled-text-color)}.van-field__value{overflow:visible}.van-field__body{display:flex;align-items:center}.van-field__control{display:block;box-sizing:border-box;width:100%;min-width:0;margin:0;padding:0;color:var(--van-field-input-text-color);line-height:inherit;text-align:left;background-color:transparent;border:0;resize:none;-webkit-user-select:auto;user-select:auto}.van-field__control::-webkit-input-placeholder{color:var(--van-field-placeholder-text-color)}.van-field__control::placeholder{color:var(--van-field-placeholder-text-color)}.van-field__control:disabled{color:var(--van-field-input-disabled-text-color);cursor:not-allowed;opacity:1;-webkit-text-fill-color:var(--van-field-input-disabled-text-color)}.van-field__control:read-only{cursor:default}.van-field__control--center{justify-content:center;text-align:center}.van-field__control--right{justify-content:flex-end;text-align:right}.van-field__control--custom{display:flex;align-items:center;min-height:var(--van-cell-line-height)}.van-field__control--error::-webkit-input-placeholder{color:var(--van-field-input-error-text-color);-webkit-text-fill-color:currentColor}.van-field__control--error,.van-field__control--error::placeholder{color:var(--van-field-input-error-text-color);-webkit-text-fill-color:currentColor}.van-field__control--min-height{min-height:var(--van-field-text-area-min-height)}.van-field__control[type=date],.van-field__control[type=time],.van-field__control[type=datetime-local]{min-height:var(--van-cell-line-height)}.van-field__control[type=search]{-webkit-appearance:none}.van-field__clear,.van-field__icon,.van-field__button,.van-field__right-icon{flex-shrink:0}.van-field__clear,.van-field__right-icon{margin-right:calc(var(--van-padding-xs) * -1);padding:0 var(--van-padding-xs);line-height:inherit}.van-field__clear{color:var(--van-field-clear-icon-color);font-size:var(--van-field-clear-icon-size);cursor:pointer}.van-field__left-icon .van-icon,.van-field__right-icon .van-icon{display:block;font-size:var(--van-field-icon-size);line-height:inherit}.van-field__left-icon{margin-right:var(--van-padding-base)}.van-field__right-icon{color:var(--van-field-right-icon-color)}.van-field__button{padding-left:var(--van-padding-xs)}.van-field__error-message{color:var(--van-field-error-message-color);font-size:var(--van-field-error-message-font-size);text-align:left}.van-field__error-message--center{text-align:center}.van-field__error-message--right{text-align:right}.van-field__word-limit{margin-top:var(--van-padding-base);color:var(--van-field-word-limit-color);font-size:var(--van-field-word-limit-font-size);line-height:var(--van-field-word-limit-line-height);text-align:right}:root{--van-search-padding: .26667rem var(--van-padding-sm);--van-search-background-color: var(--van-background-color-light);--van-search-content-background-color: var(--van-gray-1);--van-search-input-height: .90667rem;--van-search-label-padding: 0 .13333rem;--van-search-label-color: var(--van-text-color);--van-search-label-font-size: var(--van-font-size-md);--van-search-left-icon-color: var(--van-gray-6);--van-search-action-padding: 0 var(--van-padding-xs);--van-search-action-text-color: var(--van-text-color);--van-search-action-font-size: var(--van-font-size-md)}.van-search{display:flex;align-items:center;box-sizing:border-box;padding:var(--van-search-padding);background:var(--van-search-background-color)}.van-search__content{display:flex;flex:1;padding-left:var(--van-padding-sm);background:var(--van-search-content-background-color);border-radius:var(--van-border-radius-sm)}.van-search__content--round{border-radius:var(--van-border-radius-max)}.van-search__label{padding:var(--van-search-label-padding);color:var(--van-search-label-color);font-size:var(--van-search-label-font-size);line-height:var(--van-search-input-height)}.van-search__field{flex:1;padding:.13333rem var(--van-padding-xs) .13333rem 0;background-color:transparent}.van-search__field .van-field__left-icon{color:var(--van-search-left-icon-color)}.van-search--show-action{padding-right:0}.van-search input::-webkit-search-decoration,.van-search input::-webkit-search-cancel-button,.van-search input::-webkit-search-results-button,.van-search input::-webkit-search-results-decoration{display:none}.van-search__action{padding:var(--van-search-action-padding);color:var(--van-search-action-text-color);font-size:var(--van-search-action-font-size);line-height:var(--van-search-input-height);cursor:pointer;-webkit-user-select:none;user-select:none}.van-search__action:active{background-color:var(--van-active-color)}._theSearch_14hx5_1 .van-field__left-icon{display:flex;align-items:center;margin-right:.32rem}._searchList_141ai_1 .van-tabs__nav{background:transparent}._searchList_141ai_1 .van-tabs__wrap{position:sticky;top:2.66667rem;z-index:100;background:#f8f8f8}._searchList_141ai_1 ._container_141ai_10{min-height:70vh}._searchAlbum_141ai_13,._searchMusic_141ai_16{padding:.42667rem}\n',document.head.appendChild(c),System.register(["./index-legacy.7ef67fdb.js","./index-legacy.53298efe.js","./index-legacy.578fcaba.js","./logo-1-legacy.33a78a26.js","./icon-search-legacy.c4ede18b.js","./index-legacy.f9a48ed9.js","./index-legacy.b88fd65c.js","./index-legacy.ddb124b1.js","./request-legacy.eaa5ea94.js","./index-legacy.863b202f.js","./index-legacy.9225f2d5.js","./index-legacy.75bf9d2f.js","./use-tab-status-legacy.14cce99d.js","./index-legacy.1bc783ea.js","./vue3-lottie.es-legacy.c37a67ec.js","./utils-legacy.2e55ffa8.js"],(function(e){"use strict";var n,o,l,c,u,s,v,d,f,h,g,p,m,b,y,_,x,w,k,z,S,L,C,A,j,E,T,B,q,I,P,M,V,O,N,G,F,D,H,U,W,Y,K,J,Q,R,$,X,Z,ee,te,ne,re,ae;return{setters:[function(e){n=e.v,o=e.d,l=e.c,c=e.j,u=e.s,s=e.q,v=e.m,d=e.n,f=e.r,h=e.U,g=e.y,p=e.z,m=e.a2,b=e.w,y=e.J,_=e.o,x=e.a3,w=e.B,k=e.b,z=e.S,S=e.e,L=e.u,C=e.a},function(e){A=e.c,j=e.n,E=e.t,T=e.v,B=e.q,q=e.D,I=e.I,P=e.w,M=e.O,V=e.k,O=e.m,N=e.b,G=e.Q,F=e.h,D=e.f,H=e.R,U=e.z,W=e.S},function(e){Y=e.B,K=e.T},function(e){J=e.I},function(e){Q=e.I},function(e){R=e.u,$=e.T,X=e.a},function(e){Z=e.T,ee=e.H},function(e){te=e.H},function(e){ne=e.r},function(){},function(e){re=e.L},function(e){ae=e.T},function(){},function(){},function(){},function(){}],execute:function(){var ie=i(A("cell"),2),oe=ie[0],le=ie[1],ce={icon:String,size:String,title:j,value:j,label:j,center:Boolean,isLink:Boolean,border:E,required:Boolean,iconPrefix:String,valueClass:T,labelClass:T,titleClass:T,titleStyle:null,arrowDirection:String,clickable:{type:Boolean,default:null}},ue=n({},ce,B),se=o({name:oe,props:ue,setup:function(e,t){var n=t.slots,r=q(),a=function(){if(n.label||c(e.label))return l("div",{class:[le("label"),e.labelClass]},[n.label?n.label():e.label])},i=function(){if(n.title||c(e.title))return l("div",{class:[le("title"),e.titleClass],style:e.titleStyle},[n.title?n.title():l("span",null,[e.title]),a()])},o=function(){var t=n.value||n.default;if(t||c(e.value)){var r=n.title||c(e.title);return l("div",{class:[le("value",{alone:!r}),e.valueClass]},[t?t():l("span",null,[e.value])])}},u=function(){if(n["right-icon"])return n["right-icon"]();if(e.isLink){var t=e.arrowDirection?"arrow-".concat(e.arrowDirection):"arrow";return l(I,{name:t,class:le("right-icon")},null)}};return function(){var t,a,c=e.size,s=e.center,v=e.border,d=e.isLink,f=e.required,h=null!=(t=e.clickable)?t:d,g={center:s,required:f,clickable:h,borderless:!v};return c&&(g[c]=!!c),l("div",{class:le(g),role:h?"button":void 0,tabindex:h?0:void 0,onClick:r},[n.icon?n.icon():e.icon?l(I,{name:e.icon,class:le("left-icon"),classPrefix:e.iconPrefix},null):void 0,i(),o(),u(),null==(a=n.extra)?void 0:a.call(n)])}}}),ve=P(se);function de(e,t){return(!t.required||!function(e){return Array.isArray(e)?!e.length:0!==e&&!e}(e))&&!(t.pattern&&!t.pattern.test(String(e)))}function fe(e,t){var n=t.message;return s(n)?n(e,t):n||""}function he(e){e.target.composing=!0}function ge(e){var t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}function pe(e){return a(e).length}var me=i(A("field"),2),be=me[0],ye=me[1],_e={id:String,name:String,leftIcon:String,rightIcon:String,autofocus:Boolean,clearable:Boolean,maxlength:j,formatter:Function,clearIcon:O("clear"),modelValue:N(""),inputAlign:String,placeholder:String,autocomplete:String,errorMessage:String,enterkeyhint:String,clearTrigger:O("focus"),formatTrigger:O("onChange"),error:{type:Boolean,default:null},disabled:{type:Boolean,default:null},readonly:{type:Boolean,default:null}},xe=n({},ce,_e,{rows:j,type:O("text"),rules:Array,autosize:[Boolean,Object],labelWidth:j,labelClass:T,labelAlign:String,showWordLimit:Boolean,errorMessageAlign:String,colon:{type:Boolean,default:null}}),we=o({name:be,props:xe,emits:["blur","focus","clear","keypress","click-input","end-validate","start-validate","click-left-icon","click-right-icon","update:modelValue"],setup:function(e,t){var n=t.emit,r=t.slots,i=R(),o=d({status:"unvalidated",focused:!1,validateMessage:""}),s=f(),z=f(),S=h(G).parent,L=function(){var t;return String(null!=(t=e.modelValue)?t:"")},C=function(t){return c(e[t])?e[t]:S&&c(S.props[t])?S.props[t]:void 0},A=g((function(){var t=C("readonly");if(e.clearable&&!t){var n=""!==L(),r="always"===e.clearTrigger||"focus"===e.clearTrigger&&o.focused;return n&&r}return!1})),j=g((function(){return z.value&&r.input?z.value():e.modelValue})),E=function(e){return e.reduce((function(e,t){return e.then((function(){if("failed"!==o.status){var e=j.value;return t.formatter&&(e=t.formatter(e,t)),de(e,t)?t.validator?function(e,t){return new Promise((function(n){var r=t.validator(e,t);u(r)?r.then(n):n(r)}))}(e,t).then((function(n){n&&"string"==typeof n?(o.status="failed",o.validateMessage=n):!1===n&&(o.status="failed",o.validateMessage=fe(e,t))})):void 0:(o.status="failed",void(o.validateMessage=fe(e,t)))}}))}),Promise.resolve())},T=function(){o.status="unvalidated",o.validateMessage=""},B=function(){return n("end-validate",{status:o.status})},q=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.rules;return new Promise((function(r){T(),t?(n("start-validate"),E(t).then((function(){"failed"===o.status?(r({name:e.name,message:o.validateMessage}),B()):(o.status="passed",r(),B())}))):r()}))},P=function(t){if(S&&e.rules){var n=S.props.validateTrigger,r=x(n).includes(t),a=e.rules.filter((function(e){return e.trigger?x(e.trigger).includes(t):r}));a.length&&q(a)}},O=function(t){var n=e.maxlength;if(c(n)&&pe(t)>n){var r=L();return r&&pe(r)===+n?r:function(e,t){return a(e).slice(0,t).join("")}(t,+n)}return t},N=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"onChange";if(t=O(t),"number"===e.type||"digit"===e.type){var a="number"===e.type;t=H(t,a,a)}e.formatter&&r===e.formatTrigger&&(t=e.formatter(t)),s.value&&s.value.value!==t&&(s.value.value=t),t!==e.modelValue&&n("update:modelValue",t)},Y=function(e){e.target.composing||N(e.target.value)},K=function(){var e;return null==(e=s.value)?void 0:e.blur()},J=function(){var t=s.value;"textarea"===e.type&&e.autosize&&t&&function(e,t){var n=M();e.style.height="auto";var r=e.scrollHeight;if(v(t)){var a=t.maxHeight,i=t.minHeight;void 0!==a&&(r=Math.min(r,a)),void 0!==i&&(r=Math.max(r,i))}r&&(e.style.height="".concat(r,"px"),V(n))}(t,e.autosize)},Q=function(e){o.focused=!0,n("focus",e),y(J),C("readonly")&&K()},$=function(e){C("readonly")||(o.focused=!1,N(L(),"onBlur"),n("blur",e),P("onBlur"),y(J),W())},X=function(e){return n("click-input",e)},Z=function(e){return n("click-left-icon",e)},ee=function(e){return n("click-right-icon",e)},te=function(e){U(e),n("update:modelValue",""),n("clear",e)},ne=g((function(){return"boolean"==typeof e.error?e.error:!(!S||!S.props.showError||"failed"!==o.status)||void 0})),re=g((function(){var e=C("labelWidth");if(e)return{width:F(e)}})),ae=function(t){13===t.keyCode&&(S&&S.props.submitOnEnter||"textarea"===e.type||U(t),"search"===e.type&&K());n("keypress",t)},ie=function(){return e.id||"".concat(i,"-input")},oe=function(){var t=ye("control",[C("inputAlign"),{error:ne.value,custom:!!r.input,"min-height":"textarea"===e.type&&!e.autosize}]);if(r.input)return l("div",{class:t,onClick:X},[r.input()]);var n,a={id:ie(),ref:s,name:e.name,rows:void 0!==e.rows?+e.rows:void 0,class:t,disabled:C("disabled"),readonly:C("readonly"),autofocus:e.autofocus,placeholder:e.placeholder,autocomplete:e.autocomplete,enterkeyhint:e.enterkeyhint,"aria-labelledby":e.label?"".concat(i,"-label"):void 0,onBlur:$,onFocus:Q,onInput:Y,onClick:X,onChange:ge,onKeypress:ae,onCompositionend:ge,onCompositionstart:he};return"textarea"===e.type?l("textarea",a,null):l("input",w("number"===(n=e.type)?{type:"text",inputmode:"decimal"}:"digit"===n?{type:"tel",inputmode:"numeric"}:{type:n},a),null)},le=function(){var t=r["right-icon"];if(e.rightIcon||t)return l("div",{class:ye("right-icon"),onClick:ee},[t?t():l(I,{name:e.rightIcon,classPrefix:e.iconPrefix},null)])},ce=function(){if(e.showWordLimit&&e.maxlength){var t=pe(L());return l("div",{class:ye("word-limit")},[l("span",{class:ye("word-num")},[t]),k("/"),e.maxlength])}},ue=function(){if(!S||!1!==S.props.showErrorMessage){var t=e.errorMessage||o.validateMessage;if(t){var n=r["error-message"],a=C("errorMessageAlign");return l("div",{class:ye("error-message",a)},[n?n({message:t}):t])}}},se=function(){return[l("div",{class:ye("body")},[oe(),A.value&&l(I,{name:e.clearIcon,class:ye("clear"),onTouchstart:te},null),le(),r.button&&l("div",{class:ye("button")},[r.button()])]),ce(),ue()]};return D({blur:K,focus:function(){var e;return null==(e=s.value)?void 0:e.focus()},validate:q,formValue:j,resetValidation:T,getValidationStatus:function(){return o.status}}),p(m,{customValue:z,resetValidation:T,validateWithTrigger:P}),b((function(){return e.modelValue}),(function(){N(L()),T(),P("onChange"),y(J)})),_((function(){N(L(),e.formatTrigger),y(J)})),function(){var t,n,a,o,c=C("disabled"),u=C("labelAlign"),s=(t=C("colon")?":":"",r.label?[r.label(),t]:e.label?l("label",{id:"".concat(i,"-label"),for:ie()},[e.label+t]):void 0),v=function(){var t=r["left-icon"];if(e.leftIcon||t)return l("div",{class:ye("left-icon"),onClick:Z},[t?t():l(I,{name:e.leftIcon,classPrefix:e.iconPrefix},null)])}();return l(ve,{size:e.size,icon:e.leftIcon,class:ye((n={error:ne.value,disabled:c},a="label-".concat(u),o=u,a in n?Object.defineProperty(n,a,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[a]=o,n)),center:e.center,border:e.border,isLink:e.isLink,clickable:e.clickable,titleStyle:re.value,valueClass:ye("value"),titleClass:[ye("label",[u,{required:e.required}]),e.labelClass],arrowDirection:e.arrowDirection},{icon:v?function(){return v}:null,title:s?function(){return s}:null,value:se,extra:r.extra})}}}),ke=P(we),ze=i(A("search"),3),Se=ze[0],Le=ze[1],Ce=ze[2],Ae=n({},_e,{label:String,shape:O("square"),leftIcon:O("search"),clearable:E,actionText:String,background:String,showAction:Boolean}),je=o({name:Se,props:Ae,emits:["blur","focus","clear","search","cancel","click-input","click-left-icon","click-right-icon","update:modelValue"],setup:function(e,t){var r=t.emit,a=t.slots,i=t.attrs,o=R(),c=f(),u=function(){a.action||(r("update:modelValue",""),r("cancel"))},s=function(t){13===t.keyCode&&(U(t),r("search",e.modelValue))},v=function(){return e.id||"".concat(o,"-input")},d=function(){if(a.label||e.label)return l("label",{class:Le("label"),for:v()},[a.label?a.label():e.label])},h=function(){if(e.showAction){var t=e.actionText||Ce("cancel");return l("div",{class:Le("action"),role:"button",tabindex:0,onClick:u},[a.action?a.action():t])}},g=function(e){return r("blur",e)},p=function(e){return r("focus",e)},m=function(e){return r("clear",e)},b=function(e){return r("click-input",e)},y=function(e){return r("click-left-icon",e)},_=function(e){return r("click-right-icon",e)},x=Object.keys(_e);return D({focus:function(){var e;return null==(e=c.value)?void 0:e.focus()},blur:function(){var e;return null==(e=c.value)?void 0:e.blur()}}),function(){var t,o;return l("div",{class:Le({"show-action":e.showAction}),style:{background:e.background}},[null==(t=a.left)?void 0:t.call(a),l("div",{class:Le("content",e.shape)},[d(),(o=n({},i,z(e,x),{id:v()}),l(ke,w({ref:c,type:"search",class:Le("field"),border:!1,onBlur:g,onFocus:p,onClear:m,onKeypress:s,"onClick-input":b,"onClick-left-icon":y,"onClick-right-icon":_,"onUpdate:modelValue":function(e){return r("update:modelValue",e)}},o),z(a,["left-icon","right-icon"])))]),h()])}}}),Ee=P(je),Te={search:"_search_167tt_1",fixed:"_fixed_167tt_1",top:"_top_167tt_6",topBtn:"_topBtn_167tt_22",tagContent:"_tagContent_167tt_30",tagLeft:"_tagLeft_167tt_34",tags:"_tags_167tt_39",searchContianer:"_searchContianer_167tt_50"},Be="_theSearch_14hx5_1",qe=o({name:"TheSearch",props:{keyword:{type:String,default:""}},emits:["search","blur","back"],setup:function(e,t){var n=t.emit,r=f(e.keyword);b((function(){return e.keyword}),(function(e){r.value=e}));var a={"left-icon":function(){return l(I,{name:Q,size:20},null)},action:function(){return l("div",{style:{color:"var(--van-primary-color)"},onClick:function(){return n("back")}},[k("返回")])}};return function(){return l("div",{class:Be},[l(Ee,{shape:"round","show-action":!0,modelValue:r.value,"onUpdate:modelValue":function(e){return r.value=e},placeholder:"搜索你想练习的曲谱和专辑",onSearch:function(e){return n("search",e)},onClear:function(){return n("search","")},onBlur:function(){return n("blur",r.value)}},a)])}}}),Ie="_searchList_141ai_1",Pe="_container_141ai_10",Me="_searchAlbum_141ai_13",Ve="_searchMusic_141ai_16",Oe=o({name:"searchAlbum",setup:function(){var e=L(),n=C();b(e,(function(){h.page=1,h.idAndName=e.query.search||"",u.value=!1,s.value="暂无数据",v.value=[]}));var a=i(S(!1),2),o=a[0],c=a[1],u=f(!1),s=f("暂无数据"),v=f([]),h=d({albumStatus:1,page:1,rows:33,idAndName:e.query.search||""}),g=function(){var e=r(t().mark((function e(){var n;return t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!o.value){e.next=2;break}return e.abrupt("return");case 2:return c(!0),e.prev=3,e.next=6,ne.post("/api-website/open/music/album/list",{data:h});case 6:(n=e.sent).data&&Array.isArray(n.data.rows)&&(v.value=[].concat(v.value,n.data.rows),h.page++,n.data.rows.length||(u.value=!0,s.value=1==n.data.pageNo?"暂无数据":"没有更多了")),e.next=12;break;case 10:e.prev=10,e.t0=e.catch(3);case 12:y((function(){c(!1)}));case 13:case"end":return e.stop()}}),e,null,[[3,10]])})));return function(){return e.apply(this,arguments)}}();return function(){return l("div",{class:Me},[l(re,{loading:o.value,finished:u.value,finishedText:s.value,onLoad:function(){return g()}},{default:function(){return[l(Z,{list:v.value,onGoto:function(e){return n.push({path:"/musicAlum",query:{id:e.id}})}},null)]}})])}}}),Ne=o({name:"searchMusic",setup:function(){var e=L();b(e,(function(){s.page=1,s.idAndName=e.query.search||"",c.value=!1,u.value="暂无数据",v.value=[],h()}));var n=i(S(!1),2),a=n[0],o=n[1],c=f(!1),u=f("暂无数据"),s=d({albumStatus:"PASS",page:1,rows:20,state:1,idAndName:e.query.search||""}),v=f([]),h=function(){var e=r(t().mark((function e(){var n,r;return t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!a.value){e.next=2;break}return e.abrupt("return");case 2:return o(!0),e.prev=3,e.next=6,ne.post("/api-website/open/music/sheet/list",{data:s});case 6:n=e.sent,(r=n.data)&&Array.isArray(r.rows)&&(v.value=[].concat(v.value,r.rows),s.page++,r.rows.length||(c.value=!0,u.value=1==r.pageNo?"暂无数据":"没有更多了")),e.next=13;break;case 11:e.prev=11,e.t0=e.catch(3);case 13:y((function(){o(!1)}));case 14:case"end":return e.stop()}}),e,null,[[3,11]])})));return function(){return e.apply(this,arguments)}}();return function(){return l("div",{class:Ve},[l(re,{loading:a.value,finished:c.value,finishedText:u.value,onLoad:function(){return h()}},{default:function(){return[l(ae,{list:v.value},null)]}})])}}}),Ge=o({name:"searchList",setup:function(e,t){var n=f("album");return function(){return l("div",{class:Ie},[l($,{shrink:!0,active:n.value,"onUpdate:active":function(e){return n.value=e},color:"var(--van-primary-color)","line-width":"26px",swipeable:!0,animated:!0},{default:function(){return[l(X,{title:"专辑",name:"album"},{default:function(){return[l("div",{class:Pe},[l(Oe,null,null)])]}}),l(X,{title:"曲目",name:"music"},{default:function(){return[l("div",{class:Pe},[l(Ne,null,null)])]}})]}})])}}});e("default",o({name:"Search",setup:function(){var e=L(),n=C(),a=f(e.query.search||"");b(e,(function(){a.value=e.query.search||""}));var i=f([]),o=function(){var e=r(t().mark((function e(){var n,r;return t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,ne.get("/api-website/open/music/sheet/hotTag/MUSIC");case 3:n=e.sent,r=n.data,Array.isArray(r)&&(i.value=r),e.next=10;break;case 8:e.prev=8,e.t0=e.catch(0);case 10:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(){return e.apply(this,arguments)}}();_((function(){o()}));var c=function(e){e?n.replace({path:"/search",query:{search:e}}):a.value=e||""},u=f();return function(){return l("div",{class:Te.search},[l("div",{class:Te.fixed},[l("div",{class:Te.top},[l("img",{class:Te.img,src:J},null),l("span",null,[k("打开APP看海量热门乐谱")]),l(Y,{round:!0,class:Te.topBtn,onClick:function(){var e;return null===(e=u.value)||void 0===e?void 0:e.downLoadApp()}},{default:function(){return[k("打开")]}})]),l(qe,{keyword:a.value,onSearch:function(e){return c(e)},onBlur:function(e){return c(e)},onBack:function(){n.push("/")}},null)]),l("div",{class:Te.tagContent},[l("div",{class:Te.tagLeft},[k("热门搜索:")]),l("div",{class:Te.tags},[i.value.map((function(e){return l("span",{onClick:function(){return c(e.key)}},[e.key])}))])]),a.value&&l(Ge,null,null),l("div",{style:{display:a.value?"none":"block"}},[l("div",{class:Te.searchContianer},[l(ee,null,null)]),l(te,null,null)]),l(K,{ref:u},null)])}}}))}}}))}();
|