index-legacy-1f616224-1694675857467.js 34 KB

1
  1. System.register(["./index-legacy-35b1c5cd-1694675857467.js","./index-legacy-b4bde969-1694675857467.js","./index-legacy-0c2a5b9b-1694675857467.js","./Slider-legacy-78bcbcd3-1694675857467.js","./api-legacy-a6670e6f-1694675857467.js","./api-legacy-5d5580af-1694675857467.js","./index-legacy-eadbcfa4-1694675857467.js","./state-legacy-96d0e3ba-1694675857467.js","./index-legacy-bae9617e-1694675857467.js","./index-legacy-d6165eed-1694675857467.js"],(function(e,t){"use strict";var i,l,a,s,n,o,r,d,c,g,m,_,A,p,u,h,w,v,f,y,k,b,q,C,S,I,B,x,R,D,F,L,E,U,P,Q,K,O,J,N,M,z,V,X,W,T;return{setters:[e=>{i=e.d,l=e.e,a=e.r,s=e.L,n=e.ck,o=e.y,r=e.f,d=e.t,c=e.cl,g=e.j,m=e.R,_=e.n,A=e.M,p=e.O,u=e.S,h=e.U,w=e.k,v=e.F,f=e.c,y=e.a,k=e.u,b=e.E,q=e.w,C=e.ci,S=e.cj,I=e.x,B=e.A,x=e.T,R=e.a5,D=e.v,F=e.aU},e=>{L=e.T},e=>{E=e.T,U=e.i,P=e.a},e=>{Q=e.N},e=>{K=e.c,O=e.d,J=e.e},e=>{N=e.g,M=e.s,z=e.a,V=e.b},e=>{X=e.T},e=>{W=e.s},e=>{T=e.u},null],execute:function(){var G=document.createElement("style");G.textContent="._container_11l7k_1{display:flex;flex-direction:column;height:100%}._container_11l7k_1 ._iconBack_11l7k_6{width:1.875vw;height:1.875vw}._container_11l7k_1 .n-breadcrumb>ul{display:flex;align-items:center}._container_11l7k_1 .n-breadcrumb>ul .n-breadcrumb-item{display:flex;align-items:center}._container_11l7k_1 .n-breadcrumb>ul .n-breadcrumb-item__separator{display:none}._container_11l7k_1 .n-breadcrumb>ul .n-breadcrumb-item__link{padding:.26041667vw .9375vw;background:#FFFFFF;border-radius:.83333333vw;color:#21225d;line-height:1.04166667vw}._container_11l7k_1 .n-breadcrumb .n-breadcrumb-item:last-child .n-breadcrumb-item__link{color:#fff;background:var(--product-color)}._container_11l7k_1>.n-space{height:1.875vw;flex-shrink:0}._container_11l7k_1 ._separator_11l7k_36{width:.46875vw;height:.78125vw;margin:0 .83333333vw}._wrap_11l7k_41{padding-top:.78125vw;flex:1;transition:padding .3s;overflow:hidden}._wrap_11l7k_41._wrapBottom_11l7k_47{padding-bottom:5.625vw}._content_11l7k_50{display:flex;flex-direction:column;height:100%;background:#DDF2FF;border-radius:1.04166667vw}._tools_11l7k_57{padding:1.04166667vw;display:flex;align-items:center;flex-shrink:0}._tools_11l7k_57 .n-input{margin-left:auto;width:18.80208333vw}._tools_11l7k_57 .n-input__input-el{height:100%;line-height:100%}._contentWrap_11l7k_71{flex:1;display:flex;padding:0 1.04166667vw 1.04166667vw;overflow:hidden;gap:0 1.66666667vw}._musicList_11l7k_78{background-color:#fff;border-radius:.83333333vw;width:26.66666667vw;min-width:15.3125vw;height:100%;overflow-x:hidden;overflow-y:auto;min-width:330Px}._musicList_11l7k_78::-webkit-scrollbar{width:0;display:none}._musicList_11l7k_78 ._wrapList_11l7k_92{width:26.66666667vw;min-width:15.3125vw;min-height:100%;border-radius:.83333333vw}._musicList_11l7k_78 ._empty_11l7k_98{display:flex;align-items:center;justify-content:center;height:50vh}._itemContainer_11l7k_104{width:100%;border-radius:.83333333vw;padding:.20833333vw .41666667vw}._itemContainer_11l7k_104:first-child{padding-top:.41666667vw}._itemContainer_11l7k_104:last-child{padding-bottom:.41666667vw}._item_11l7k_104{position:relative;display:flex;align-items:center;padding:.52083333vw;border-radius:.625vw;cursor:pointer}._item_11l7k_104:hover{background-color:rgba(0,0,0,.05)}._item_11l7k_104._active_11l7k_126{background-color:#ddf2ff}._item_11l7k_104._active_11l7k_126 ._arrow_11l7k_129{opacity:1}._item_11l7k_104 ._img_11l7k_132{position:relative;width:3.125vw;height:3.125vw;border-radius:.41666667vw;margin-right:.625vw;box-shadow:0 0 .52083333vw .20833333vw rgba(27,35,55,.1);overflow:hidden;flex-shrink:0}._item_11l7k_104 ._img_11l7k_132 .n-image{width:3.125vw;height:3.125vw}._item_11l7k_104 ._img_11l7k_132 img{transition:opacity .3s;opacity:0;height:100%;width:100%}._item_11l7k_104 ._img_11l7k_132 img[data-loaded=true]{opacity:1}._item_11l7k_104 ._title_11l7k_155{flex:1;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start}._item_11l7k_104 ._title_11l7k_155 ._titleName_11l7k_162{font-size:.83333333rem;font-weight:600;color:#131415;line-height:1.45833333vw;width:100%}._item_11l7k_104 ._title_11l7k_155 ._titleDes_11l7k_169{font-size:.72916667rem;font-weight:400;color:#777;line-height:1.04166667vw;max-width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}._item_11l7k_104 ._btn_11l7k_179{margin-left:auto;width:4.375vw;height:2.08333333vw;background:linear-gradient(to right,#44CAFF,#259DFE);border:none;padding:0;font-weight:700!important;flex-shrink:0;min-width:3.22916667vw;min-height:1.5625vw}._item_11l7k_104 ._btn_11l7k_179 .n-button__content>img{margin-left:.52083333vw;width:.46875vw;height:.625vw}._item_11l7k_104 ._arrow_11l7k_129{position:absolute;top:50%;right:.625vw;transform:translate(124%,-50%);opacity:0}._item_11l7k_104 ._showPlayLoading_11l7k_203{opacity:0}._loadingWrap_11l7k_206{display:flex;justify-content:center;min-height:4.16666667vw}._musicStaff_11l7k_211{display:flex;flex-direction:column;position:relative;left:-.41666667vw;flex:1;background-color:#fff;border-radius:.83333333vw;z-index:1;overflow:hidden}._musicStaff_11l7k_211::-webkit-scrollbar{width:0;display:none}._musicStaff_11l7k_211 ._goBtn_11l7k_226{position:absolute;left:50%;bottom:2.39583333vw;transform:translate(-50%);height:3.64583333vw;cursor:pointer;transition:all .2s ease-in}._musicStaff_11l7k_211 ._favitor_11l7k_235{position:absolute;top:1.04166667vw;right:1.25vw;width:2.5vw;height:2.5vw;cursor:pointer;transition:all .3s}._musicStaff_11l7k_211 ._favitor_11l7k_235:hover{transform:scale(1.1)}._musicStaff_11l7k_211 ._favitor_11l7k_235>img{display:block;width:100%;height:100%;filter:drop-shadow(0 0 .52083333vw rgba(27,35,55,.1))}._musicName_11l7k_253{padding-top:1.5625vw;font-size:1.25rem;font-weight:500;color:#333;line-height:1.25vw;text-align:center}._staffImgs_11l7k_261{flex:1;overflow-y:auto;height:100%;padding:0 1.5625vw}._staffImgs_11l7k_261>img{width:100%}.van-fade-enter-active,.van-fade-leave-active{transition:all .3s}.van-fade-enter-from,.van-fade-leave-to{opacity:0}._previewWindow_11l7k_278{width:85%;height:85vh;position:relative}._previewWindow_11l7k_278 ._previewClose_11l7k_283{position:absolute;left:2.08333333vw;top:2.08333333vw;width:3.125vw;height:3.38541667vw}._previewWindow_11l7k_278 ._previewIframe_11l7k_290{width:100%;height:85vh;background-color:#fff;border-radius:.83333333vw}._container_1ql9q_1{position:fixed;left:5.20833333vw;bottom:0;right:0;display:flex;align-items:center;height:5.625vw;padding:0 3.125vw;background-color:#fff;box-shadow:0 .10416667vw .625vw rgba(0,0,0,.1);z-index:10;transition:all .3s}._hidden_1ql9q_15{transform:translateY(100%);opacity:0}._item_1ql9q_19{position:relative;display:flex;align-items:center;width:100%}._item_1ql9q_19 ._img_1ql9q_25{position:relative;width:3.33333333vw;height:3.33333333vw;border-radius:50%;margin-right:.625vw;background-color:#000;box-shadow:0 0 .52083333vw .20833333vw rgba(27,35,55,.1);padding:.36458333vw;overflow:hidden;flex-shrink:0}._item_1ql9q_19 ._img_1ql9q_25 .n-image{border-radius:50%;width:100%;height:100%}._item_1ql9q_19 ._img_1ql9q_25 img{transition:opacity .3s;opacity:0;animation:_rotateImg_1ql9q_1 6s linear infinite}._item_1ql9q_19 ._img_1ql9q_25._imgRotate_1ql9q_47 img{animation-play-state:paused}._item_1ql9q_19 ._img_1ql9q_25 img[data-loaded=true]{opacity:1}._item_1ql9q_19 ._svgcontainer_1ql9q_53{position:fixed;z-index:-1000;pointer-events:none}._item_1ql9q_19 ._progress_1ql9q_58{position:absolute;left:.20833333vw;top:.20833333vw;width:2.91666667vw;pointer-events:none;transform:rotate(180deg)}._item_1ql9q_19 ._progress_1ql9q_58 .n-progress-graph .n-progress-graph-circle .n-progress-graph-circle-fill{stroke:url(#GradientProgress)}._item_1ql9q_19 ._title_1ql9q_69{margin-right:.78125vw;width:10.41666667vw}._item_1ql9q_19 ._title_1ql9q_69 ._titleName_1ql9q_73{font-size:.83333333rem;font-weight:600;color:#131415;line-height:1.45833333vw;white-space:nowrap}._item_1ql9q_19 ._title_1ql9q_69 ._titleDes_1ql9q_80{font-size:.72916667rem;font-weight:400;color:#777;line-height:1.04166667vw;white-space:nowrap}@keyframes _rotateImg_1ql9q_1{to{transform:rotate(360deg)}}._playBtns_1ql9q_92{margin-left:7.29166667vw;display:flex;align-items:center}._playBtns_1ql9q_92 .n-button{width:2.08333333vw;height:2.08333333vw}._playBtns_1ql9q_92 .n-button img{width:100%;height:100%}._playBtns_1ql9q_92 ._playBtn_1ql9q_92{width:2.60416667vw;height:2.60416667vw;margin:0 2.5vw;background:linear-gradient(to right bottom,#44CAFE,#007AFE)}._playBtns_1ql9q_92 ._playBtn_1ql9q_92 img{display:block;height:1.04166667vw}._timeWrap_1ql9q_115{flex:1;display:flex;align-items:center;margin-left:4.58333333vw}._timeWrap_1ql9q_115 ._timeProgress_1ql9q_121{margin-right:1.25vw;border-radius:.3125vw;--n-rail-height: .41666667vw !important}._timeWrap_1ql9q_115 ._time_1ql9q_115{width:4.6875vw;white-space:nowrap;flex-shrink:0}._audioAnimate_29dwa_1{position:absolute;left:0;right:0;top:0;bottom:0;background-color:rgba(0,0,0,.6);display:flex;justify-content:center;align-items:flex-end;padding-bottom:30%}._audioAnimate_29dwa_1 div{width:.26041667vw;height:1.04166667vw;background:linear-gradient(135deg,#34FFC5 0%,#1BD2FF 100%);transform-origin:bottom;border-radius:.26041667vw .26041667vw 0 0;margin:0 .10416667vw}._audioAnimate_29dwa_1 div:nth-child(1){animation:_musicWave_29dwa_1 .5s infinite linear both alternate}._audioAnimate_29dwa_1 div:nth-child(2){animation:_musicWave_29dwa_1 .2s infinite linear both alternate}._audioAnimate_29dwa_1 div:nth-child(3){animation:_musicWave_29dwa_1 .6s infinite linear both alternate}._audioAnimate_29dwa_1 div:nth-child(4){animation:_musicWave_29dwa_1 .3s infinite linear both alternate}@keyframes _musicWave_29dwa_1{0%{height:.26041667vw}to{height:1.04166667vw}}\n",document.head.appendChild(G);const j="_container_11l7k_1",Y="_iconBack_11l7k_6",Z="_separator_11l7k_36",H="_wrap_11l7k_41",$="_wrapBottom_11l7k_47",ee="_content_11l7k_50",te="_tools_11l7k_57",ie="_contentWrap_11l7k_71",le="_musicList_11l7k_78",ae="_wrapList_11l7k_92",se="_empty_11l7k_98",ne="_itemContainer_11l7k_104",oe="_item_11l7k_104",re="_active_11l7k_126",de="_arrow_11l7k_129",ce="_img_11l7k_132",ge="_title_11l7k_155",me="_titleName_11l7k_162",_e="_titleDes_11l7k_169",Ae="_btn_11l7k_179",pe="_showPlayLoading_11l7k_203",ue="_loadingWrap_11l7k_206",he="_musicStaff_11l7k_211",we="_goBtn_11l7k_226",ve="_favitor_11l7k_235",fe="_musicName_11l7k_253",ye="_staffImgs_11l7k_261",ke="_previewWindow_11l7k_278",be="_previewClose_11l7k_283",qe="_previewIframe_11l7k_290",Ce="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAYCAYAAAD3Va0xAAAAAXNSR0IArs4c6QAAAPxJREFUOE/NlD1KQ0EUhb9TWAVSCVmAuIlkD4KNTYqAYGNl6uwhre5ALAxkBakFuzSCpRtIII3VDSe8Kfx9b5wpvM3AvHe+uXfunSOaiIgT4EjSS9rLWRURA+ARGDXCZ+BS0joX9ABcfBK9AzNgLim6AJ3RFuj/8PMKmEh6a4MZ1HbiBriWdP8brAso6Q0y0OAvkQOy2CW6VJf8IXJBFvsq5m6GJDflEH8BJa3HY5zGpARkoDO6kXRXCkrZndUCLf4dqLg0X/ZU0m1JacXtrzKQVZ5I8aPtbCM7oFfD2BbAeQ2rPQaWwLCBPQFX2eafMomI04OvSK9t/vzd9z3mWooBqQP50QAAAABJRU5ErkJggg==",Se="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAYCAYAAAD3Va0xAAAAAXNSR0IArs4c6QAAALFJREFUOE/tlbsJQkEQRc9VBBuwAC1AwdQqTIwsz8jEKkwFLeBZgA0IolcWDPbzdBPDnXDhnFkuzIwAbI+BGdBJuoe3WuWMbK+AAzABbsBa0vGXqJexfQbmEXiRtKiISsb2ExhE4EvSsCIqGdvOIUmqiEqmiZLIeuNoGbWMssFqs5YEElbt3/ZRB0wj/VVSOARfy3bJ2N4AO2AEPICtpH1FVDKfcxR+sAROkkK3atlOmDeNFNADM6ZBwAAAAABJRU5ErkJggg==",Ie=""+new URL("icon_goXiaoku-5d0db670.png",t.meta.url).href,Be=""+new URL("icon_default-7bc33289.png",t.meta.url).href,xe=""+new URL("icon-close-1bf25bcf.png",t.meta.url).href,Re={container:"_container_1ql9q_1",hidden:"_hidden_1ql9q_15",item:"_item_1ql9q_19",img:"_img_1ql9q_25",rotateImg:"_rotateImg_1ql9q_1",imgRotate:"_imgRotate_1ql9q_47",svgcontainer:"_svgcontainer_1ql9q_53",progress:"_progress_1ql9q_58",title:"_title_1ql9q_69",titleName:"_titleName_1ql9q_73",titleDes:"_titleDes_1ql9q_80",playBtns:"_playBtns_1ql9q_92",playBtn:"_playBtn_1ql9q_92",timeWrap:"_timeWrap_1ql9q_115",timeProgress:"_timeProgress_1ql9q_121",time:"_time_1ql9q_115"},De=i({name:"playItem",props:{item:{type:Object,default:()=>({})},show:{type:Boolean,default:!1},playState:{type:String,default:"pause"}},emits:["change"],setup(e,{emit:t}){let i=null;const m=l({isFirst:!0,duration:0,currentTime:0}),_=a(),A=()=>{m.duration=_.value.duration,m.isFirst?m.isFirst=!1:"play"===e.playState&&_.value.play()},p=s((()=>`${n(m.currentTime)} / ${n(m.duration)}`));return o((()=>e.playState),(e=>{"play"===e?_.value.play():_.value.pause()})),()=>r("div",{class:[Re.container,e.show?Re.show:Re.hidden]},[r("div",{class:[Re.item]},[r("div",{class:[Re.img,"play"!==e.playState&&Re.imgRotate]},[r(d,{lazy:!0,objectFit:"cover",previewDisabled:!0,src:e.item.titleImg||"https://gyt.ks3-cn-beijing.ksyuncs.com/07/1690789356356.png",onLoad:e=>{e.target.dataset.loaded="true"}},null),r("svg",{class:Re.svgcontainer},[r("defs",null,[r("linearGradient",{id:"GradientProgress"},[r("stop",{"stop-color":"#5BECFF",offset:"0%"},null),r("stop",{"stop-color":"#259CFE",offset:"100%"},null)])])]),r(c,{type:"circle",class:Re.progress,showIndicator:!1,percentage:m.currentTime/m.duration*100},null)]),r("div",{class:Re.title},[r("div",{class:Re.titleName},[r(E,{text:e.item.musicSheetName},null)]),r("div",{class:Re.titleDes},[e.item.composer])]),r("div",{class:Re.playBtns},[r(g,{color:"rgba(246,246,246,1)",circle:!0,bordered:!1,onClick:()=>t("change","pre")},{default:()=>[r("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAB4pJREFUeF7tnd1rFVcQwGc24J69YC1taCW0tEjhhoCVPAgixDZi7JNW24o+SKHtS8UkVGv/Ax/UaBpqogFNA31Q1LZq/IDUj6QN+KTWRJAEqxUTQltTkUb3Q81Omc3e9Ca59+53sjfdAyGBPTNn9pezu7Mzc84izGIjolLDMCoBIG2aZhoR0wCwEADmE9F8RJzP5hHRKCKOAgD//EFEA5IkDQDAgCzLvyLiyGydBs7kwESkGIaxyjTNlQCwEhEXE1EgGxCRiOgmAFyWJOmyLMsXEVGbqfMKZLwbIxmQrusrAOBjAPiIiF5wI+e3DyL+AwDfA8B3QohfGLBfXW7kIgNIRLJhGJ8Q0VdEtMiNMWH3QcS7iNggy3I7Ihph62d9oQO0L9PPTdPcAQBlURjtQ+ewJEl7ZVluDfvyDhWgrutriOgbInrTx0lGLoKI9xCxXghxJqzBQgGoadobD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:!0,bordered:!1,onClick:()=>t("change","pause"===e.playState?"play":"pause")},{default:()=>[r("img",{style:{display:"pause"===e.playState?"":"none"},src:Ce},null),r("img",{style:{display:"play"===e.playState?"":"none"},src:Se},null)]}),r(g,{color:"rgba(246,246,246,1)",circle:!0,bordered:!1,onClick:()=>t("change","next")},{default:()=>[r("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAB4dJREFUeF7tndtrFlcQwGf2U/fspynFxlZCtEUrCYKJVZ+EtMYreLetij4U0vgQTSIm9fbgf1Btiyboiy0UBcW2Wn1qI6aNIIIPtQqhgWKlLaEttmiFvQTcKbPZjV8u37f37CbdA2LgO5fZ387umTMz5yxCgoWIyg3DeAMAqkzTrELEKgCYDQBlRFSGiGUsHhE9RcSnAMD//iCiPkmS+gCgT5blHxDxUVKXgeM5MBEphmGsNk1zJQCsRMRFRBRKBkQkIroPADckSbohy/J1RNTG67pCCe9FSAak6/qbAPAeALxLRC94aRe0DiL+CwBfAMDnQogeBhy0Ly/tYgNIRLJhGA1EdIiI5nkRJuo6iPgAET+UZfkzRDSi7p/7ixyg/Zg2maZ5EAAq4hA6QJ/9kiQdl2X5TNSPd6QAdV3fREQniei1ABcZexNEfIiI+4UQ16IaLBKAmqa9yuAAYHNUgsXcz1VEbFUU5dew44QGaBjG28+ePTsLAC+GFWac2z/O5XKNsix/FWbcwACJaJqmaccBoDWMACloe0pRlIOIOBBElkAAiWimruvXiGh5kEHT1gYRbwkhNiHiP35l8w2QiCp1Xf+GiBb6HSzN9RGxVwixDhF/9yOnL4C6rlcRURcRzfEzyESpi4i/IeIaIQQvEz0VzwBtzbs1WeE5tBiiEGK5V030BNB+592cbI9tMRWzH+c6L+9EV4A82+q63j1ZJgxPzyUv0QYnlnq32dkVoKqqbCBPdFPFK7eR9U7l8/n9pRqXBGgbyV8GHX0ytMvlcu+UMraLArSXZ3cn4Aoj6vv2GBFriy37igJUVfXr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PT5UxIuzuLnQYcONqxY4cVzRtZknQmSJK0NtUO1WXLllkhUXYeFCtJARxyqLJgqqqmyqXP0bmWlhZYv3696ysiKYAAMOjStwGmJqjEUTmOznGUzktJEODzoFIawpqzZs2CtrY28DvpJAXQyRe0NDDOwHqxCyzUri1btkBTUxPMmDHDi9IlPguPCqyzRJqmxZLa0dHRARcvXhwTDEfb2CCura31Dc5pkIrUDhtgLMlFAwMDlv12586dIUhsEHOUjQ1ijrqFKalJLoo7ve327dtWels+n7fS2/idF0UhIjh//nzy6W18MVmCpfstLZpgaU8mWYpvaYalU3xtLWwzTfMj93vx/6vhmmReYNJk2xxG6IfnbQ62FmYbbUYA9LzRxmmXbfUaRtDfVi/bLuSzYLLNhgDBNhsyxGy7K3BKXbDtrgWPcrbhuoTB4bpjPdvyX/pAHleAtmnDB+1kh06MoYmeANoQ+cCd7NiTkfahn/VEdvDOaFqeNdBpmh39NByib4AF78Ts8LEwR4Bmx98NamIgDSxU4uwARj+zSJG62RGgEUB0vDjZIbQhYXKIVNO0vQDwQYoOr+ANyycURTmd6mOQC9lnB3GH1MQCuzE7Cj4illYGRPYxgqhoDqaUOJ/DqC74HMYrLp/D+LPgcxg/Jf05jP8ALMM5KXFCm2sAAAAASUVORK5CYII="},null)]})]),r("div",{class:Re.timeWrap},[r(Q,{tooltip:!1,step:.01,class:Re.timeProgress,value:m.currentTime,max:m.duration,"onUpdate:value":t=>(t=>{_.value.pause(),m.currentTime=t,clearTimeout(i),i=setTimeout((()=>{_.value.currentTime=t,"play"===e.playState&&_.value.play(),i=null}),300)})(t)},null),r("div",{class:Re.time},[p.value]),r("audio",{ref:_,src:e.item.audioFileUrl||e.item.metronomeUrl,onLoadedmetadata:A,onEnded:()=>{t("change","pause")},onTimeupdate:()=>{i||(m.currentTime=_.value.currentTime)}},null)])])])}}),Fe="_audioAnimate_29dwa_1",Le=i({name:"playLoading",setup:()=>()=>r("div",{class:Fe},[r("div",null,null),r("div",null,null),r("div",null,null),r("div",null,null)])}),Ee=i({name:"music-guide",emits:["close"],setup(e,{emit:t}){const i=l({box:{height:"0px"},show:!1,steps:[{ele:"",eleRect:{},img:N("music1.png"),handStyle:{top:"0.91rem"},imgStyle:{top:m(-4),left:m(0),width:m(533),height:m(271)},btnsStyle:{bottom:m(40),left:m(159)},eleRectPadding:{left:7,top:7,width:14,height:14},boxStyle:{}},{ele:"",img:N("music2.png"),imgStyle:{top:m(-4),left:m(-205),width:m(420),height:m(228)},btnsStyle:{bottom:m(35),left:m(-48)},boxStyle:{borderRadius:"25px"},eleRectPadding:{left:7,top:7,width:14,height:14}},{ele:"",img:N("music3.png"),imgStyle:{top:"100%",left:m(-130),width:m(401),height:m(304)},btnsStyle:{bottom:m(100),left:m(30)},boxStyle:{borderRadius:"40px"},eleRectPadding:{left:7,top:7,width:14,height:14},type:"bottom"}],step:0}),s=a(!1),n=a({});(async()=>{try{const e=await z({guideTag:"teacher-guideInfo"});e.data?n.value=JSON.parse(e.data?.guideValue)||null:n.value={},n.value&&n.value.musicGuide?s.value=!1:s.value=!0}catch(e){console.log(e)}})();const o=()=>{const e=document.getElementById(`music-${i.step}`);if(e){const t=e.getBoundingClientRect();if(console.log(e.style.display,"ele"),"none"==e.style.display)return void g();const l=i.steps[i.step].eleRectPadding?.left||0,a=i.steps[i.step].eleRectPadding?.top||0,s=i.steps[i.step].eleRectPadding?.width||0,n=i.steps[i.step].eleRectPadding?.height||0;i.box={left:t.x-l+"px",top:t.y-a+"px",width:t.width+s+"px",height:t.height+n+"px"}}else g()},d=async e=>{try{if("xiaoku-music"!==e)return;n.value?n.value.musicGuide=!1:n.value={musicGuide:!1};try{await V({guideTag:"teacher-guideInfo",guideValue:JSON.stringify(n.value)})}catch(t){console.log(t)}i.step=0,o(),s.value=!0}catch{}};_((()=>{o(),window.addEventListener("resize",c),A.on("teacher-guideInfo",(e=>d(e)))}));const c=()=>{o()};p((()=>{window.removeEventListener("resize",c),A.off("teacher-guideInfo",d)}));const g=()=>{i.step>=3?f():(i.step=i.step+1,o())},f=async()=>{n.value?n.value.musicGuide=!0:n.value={musicGuide:!0};try{await V({guideTag:"teacher-guideInfo",guideValue:JSON.stringify(n.value)})}catch(e){console.log(e)}s.value=!1};return()=>r(v,null,[s.value?u(r("div",{"onUpdate:show":e=>s.value=e,class:["n-modal-mask","n-modal-mask-guide"]},[r("div",{class:M.content,onClick:()=>g()},[r("div",{class:M.backBtn,onClick:e=>{e.stopPropagation(),f()}},[w("跳过")]),r("div",{class:M.box,style:{...i.box,...i.steps[i.step].boxStyle},id:`modeType-${i.step}`},[i.steps.map(((e,t)=>r("div",{onClick:e=>e.stopPropagation(),class:M.item,style:"bottom"==e.type?{display:t===i.step?"":"none",left:`${e.eleRect?.left}px`,top:`-${e.imgStyle?.height}`}:{display:t===i.step?"":"none",left:`${e.eleRect?.left}px`,top:`${i.box?.height}`}},[r("img",{class:M.img,style:e.imgStyle,src:e.img},null),r("div",{class:M.btns,style:e.btnsStyle},[i.step+1==i.steps.length?r(v,null,[r("div",{class:[M.endBtn],onClick:()=>f()},[w("完成")]),r("div",{class:M.nextBtn,onClick:()=>{i.step=0,o()}},[w("再看一遍")])]):r("div",{class:M.btn,onClick:()=>g()},[w("下一步 ("),i.step+1,w("/"),i.steps.length,w(")")])])])))])])]),[[h,s.value,"show"]]):null])}});e("default",i({name:"XiaokuMusic",setup(){const e=f(),t=y(),i=k(),n=l({page:1,rows:20,status:!0,name:"",musicSheetCategoriesId:t.query.id||""}),o=l({loading:!1,finshed:!1,reshing:!1,tags:[],tagIndex:0,list:[],listActive:0,playState:"pause",showPlayer:!1,previewModal:!1,showPreivew:!1,previewUrl:"",showCloseBtn:!0}),c=a(!1),m=f(),A=async()=>{o.loading=!0;let e={};try{e=await K({...n,musicSubject:o.tagIndex?o.tagIndex:""})}catch(t){console.log(t)}o.reshing&&(o.list=[],o.reshing=!1),200===e?.code&&Array.isArray(e?.data?.rows)&&(o.list=[...o.list,...e.data.rows],o.finshed=e.data.rows.length<n.rows,console.log("🚀 ~ data.finshed:",o.finshed)),o.list[o.listActive]&&Q(o.list[o.listActive]),o.loading=!1,setTimeout((()=>{c.value=!0}),500)},u=()=>{o.listActive=0,o.showPlayer=!1,o.playState="pause",n.page=1,o.finshed=!1,A()},h=a(),v=e=>{"api_fingerPreView"===e.data?.api&&(o.showCloseBtn=!e.data.state)};_((async()=>{T(document.querySelector(".musicList-container"),(e=>{const t=e[0],{height:i}=t.contentRect;console.log(i,"height - 11"),document.documentElement.style.setProperty("--xiaoku-music-height",i+"px")})),(async()=>{const e=sessionStorage.getItem("musicSubjectList")?JSON.parse(sessionStorage.getItem("musicSubjectList")):[];o.tags=[{name:"全部",id:0},...e]})(),await A();const e=new IntersectionObserver((e=>{e[0].intersectionRatio>0&&(console.log(o.finshed),o.loading||o.finshed||(n.page=n.page+1,A()))}));b((()=>{e.observe(h.value)})),window.addEventListener("message",v)})),p((()=>{window.removeEventListener("message",v)}));const Q=async e=>{const t=await O({type:"MUSIC",materialId:e.id});200===t?.code&&(e.favitor=t.data)},N=s((()=>(o.list[o.listActive]&&(/(localhost|192)/.test(location.host)||location.origin,console.log(o.list[o.listActive].xmlFileUrl,"data.list[data.listActive]"),o.list[o.listActive].xmlFileUrl,m.getToken),o.list[o.listActive]||{}))),M=()=>{o.list[o.listActive].favitor=!o.list[o.listActive].favitor,J({favoriteFlag:o.list[o.listActive].favitor,type:"MUSIC",materialId:o.list[o.listActive].id})},z=e=>{const t=o.list.findIndex((t=>t.id===e.id));t>-1&&(o.listActive===t?o.playState="play"===o.playState?"pause":"play":o.playState="play",o.showPlayer=!0,o.listActive=t)},V=e=>{"play"===e?o.playState="play":"pause"===e?o.playState="pause":"pre"===e?o.list[o.listActive-1]&&z(o.list[o.listActive-1]):"next"===e?o.list[o.listActive+1]&&z(o.list[o.listActive+1]):"favitor"===e&&M()};return()=>{let l;return r("div",{class:j},[r(q,{align:"center",wrapItem:!1,size:16},{default:()=>[r("img",{style:{cursor:"pointer"},src:"data:image/png;base64,iVBORw0K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Rt2fBPJ8Zc9K/8kAdRDgMIp9lH3lLhK+6mvPOdYbKrPRM4P84xK9IHymBNAAAAABJRU5ErkJggg==",class:Y,onClick:()=>i.push({path:"/xiaoku-ai"})},null),r(C,{separator:""},{default:()=>[r(S,{onClick:()=>i.push({path:"/xiaoku-ai"})},{default:()=>[w("全部列表")]}),r("img",{class:Z,src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAeCAYAAAAhDE4sAAAAAXNSR0IArs4c6QAAAVpJREFUSEvN1DFLw0AUB/D3DsWQoqMOglNal1IQXFx0lKqDkwVBQXFw6XfIt9BFq3bsIKifwNWltHQICWQVC1qEaqXkngRJaJomdxc6eOvd/e4e73+HMKWBU3IgAhlGdUHXh1qrdfmmekAI+QhRrwLAEJFbtn33jIgkC4ZQqXS+2O9/7wcbEZll29fS2FhpR1tEbDULFoGICPP5000irozFupYVm9j+LFhijlSx1ECqYMJky2JCyI+CDCYFJWGcw6vr3j7489JQgBnGyTYArYyE9t5xal0lqFg8W/r6Ge4gh1kf4kh8fW2v1mgceNLQOAIAA02beep0rt6lS4sj3kDX5x/b7YuPsETRNyGDCG8ki6RCKkgipIpMhLIgMSgrEoHK5eqc5XweBmEDiLc4rcNhIAuF42XPw92/xWpI5EamabJ63d1gDPVcDl6azZueKGOj89JPRIT+P+gXUk8JLjLShhUAAAAASUVORK5CYII="},null),r(S,null,{default:()=>[t.query.name]})]})]}),r("div",{class:[H,o.showPlayer?$:""]},[r("div",{class:ee},[r("div",{class:te},[r(q,{style:{width:"100%"},size:[24,12],wrapItem:!1},{default:()=>{return[r("div",{id:"music-0"},[r(q,{style:{width:"100%"},size:[24,12],wrapItem:!1},(e=l=o.tags.map((e=>r(g,{round:!0,textColor:o.tagIndex===e.id?"#fff":"#000",color:o.tagIndex===e.id?"#198CFE":"#fff",onClick:()=>{o.tagIndex=e.id,o.reshing=!0,u()}},{default:()=>[e.name]}))),"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!F(e)?l:{default:()=>[l]}))])];var e}}),r(L,{style:{marginLeft:"auto"},round:!0,border:!1,onSearch:e=>{n.name=e,o.reshing=!0,u()}},null)]),r("div",{class:ie},[r("div",{class:[le,"musicList-container"]},[r("div",{class:ae},[o.list.map(((e,t)=>r("div",{class:ne},[r("div",{class:[oe,o.listActive===t&&re],onClick:()=>(e=>{const t=o.list.findIndex((t=>t.id===e.id));t>-1&&(o.listActive=t),Q(e)})(e)},[r("div",{class:ce},[r(d,{lazy:!0,objectFit:"cover",previewDisabled:!0,src:e.titleImg||Be,onLoad:e=>{e.target.dataset.loaded="true"}},null),r(Le,{class:[o.listActive===t&&"play"===o.playState?"":pe]},null)]),r("div",{class:ge},[r("div",{class:me},[r(E,{text:e.musicSheetName},null)]),r("div",{class:_e},[e.composer])]),r(g,0==t?I({color:"#259CFE",textColor:"#fff"},{id:"music-1"},{round:!0,class:Ae,type:"primary",onClick:t=>{t.stopPropagation(),z(e)}}):{color:"#259CFE",textColor:"#fff",round:!0,class:Ae,type:"primary",onClick:t=>{t.stopPropagation(),z(e)}},{default:()=>[w("试听"),r("img",{src:o.listActive===t&&"play"===o.playState?Se:Ce},null)]}),r("img",{class:de,src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGoAAABeCAYAAADLyoEsAAAAAXNSR0IArs4c6QAABt1JREFUeF7tnWnMXUMYx39jb6l9J2jtYgmxlBJVIoRoYw1CRAgShNiChNgqoiWiRO1L7DuRaCLxhfgiIRK01iZiiQQhYgv5y9PObU7v+973nnvvOXNm7p3ny5u2M2ee+f8678x5ZuY5jiE0SVsBJwAHAtsBk4CfgM+ARcCbzrm/Uuq6S8nZbr56QPOAE4HVJij/M3ALsMA590+358bw70MDStLpwD3Aej0I+z4wxzn3bQ91GimaPChJqwK3A5f2qeB3wCzn3JI+6wepljQoSRsBzwKHD6jW98BhMcNKFpSkPYFXgKkDQmpVjxpWkqAknQw8DKxdEaToYSUFStIqwM3A1RUDKj4uypGVDChJ6wNPAUfXCCn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wbJkhDbXtQYK3O45VbgyuBuj1aDE0Ias+rrpI2kU3wOV8uykq1aBbpCKg3KLzIsu4pl/bJPKGSrRoFSkHoC5WFt7I80z6rGz5F+SmlIPYPysOzS2nzg4pGWebDO9wSpL1At/yTZtv1CwLKxZCuvQM+QBgLlR9d+/mK1ZWXJ1l2BviANDMrDsrOAdszs4O5+jnSJviFVAsrDsqwsdwPnjTSKzp0fCFJloArzlkV7FwCWtSXbcgUGhlQ5KD+67KCMZW3Jx6IrglQLKA/LvjFo2Vv2H+FhVclIaulX6sZhP2JLsuwt9wFn9VM/8Todo+D99qs2UIV56yLgji4fh+zX/xjrVQ6ptl997epJmgk8NwKbkbVACgbKz1uW3cWCunvHOAwq8Kk2SEFBeVj24eKHgFMrECamR9QKKTiowrxlV0lsQ3IY0mnXDqkxUH50HQk8k/jp3CCQGgXlYW3v563dY/o9VtKXYJAaB+VhreOzwqR0dzgopChAeVj2PnctcEMCnyUKDikaUIVFxrE+W8y6JX/9hC7WCKToQPnRtbP/lKv9jMkagxQlKA/LRpRdA7IRFoM1CilaUIV560Y/d9Uek5zgf0PjkKIGVZi3jgcsB4atDkNbFJCSAOVHl71nWZzQ3rtCWTSQkgHlYdn9YotkWESjbosKUlKgPCyLDVqMcFnamZosOkjJgSrMWxZ9tyi8ReOrtCghJQvKjy7b17JPw1p6oCosWkhJg/Kw7NKCfRfEdpAHsaghJQ/Kw7JLC3Ymw85m9GOWGvTw8a5j9vOwuuo0+SJZaZ/8pQU7/Dmlhwd/AMx2zn3TQ51Gig4NKD+67FyGja45XXaPfwXm2kcynXN/N6J8j40OFajCqtCAnWS5GgD7Hr1dDbJcT5YFZRHwhnPujx61arT4/6K1MH2KPy78AAAAAElFTkSuQmCC"},null)])]))),!o.finshed&&r("div",{ref:h,class:ue},[r(B,{show:!0},null)]),!o.loading&&0===o.list.length&&r("div",{class:se},[r(X,null,null)])])]),r("div",{class:he},[r("div",{class:fe},[N.value.musicSheetName]),r("img",{id:"music-2",style:{display:N.value.id?"":"none"},class:[we],src:Ie,onClick:()=>{V("pause");const t=`${/(localhost|192)/.test(location.host)?"https://test.lexiaoya.cn":location.origin}/instrument?platform=pc&showGuide=true&id=${N.value.id}&Authorization=${e.getToken}`;window.matchMedia("(display-mode: standalone)").matches?(W.application=window.matchMedia("(display-mode: standalone)").matches,o.previewModal=!0,o.previewUrl=t,o.showPreivew=!1):window.open(t)}},null),r("div",{style:{display:N.value.id?"":"none"},class:ve,onClick:()=>M()},[r(x,{name:"favitor",mode:"out-in"},{default:()=>[N.value.favitor?r("img",{src:U,key:"1"},null):r("img",{src:P,key:"2"},null)]})]),r("div",{class:ye},[r(R,{name:"van-fade"},{default:()=>[N.value?.musicSvg||N.value?.musicImg?(N.value?.musicSvg||N.value?.musicImg)?.split(",").map(((e,t)=>r("img",{src:e,key:e},null))):r(X,null,null)]})])])])])]),0!==o.list.length&&r(De,{show:o.showPlayer,playState:o.playState,item:N.value,onChange:e=>V(e)},null),c.value?r(Ee,null,null):null,r(D,{show:o.previewModal,"onUpdate:show":[e=>o.previewModal=e,e=>{e||(o.previewUrl="")}],class:ke,showIcon:!1,displayDirective:"show"},{default:()=>[r(B,{show:o.showPreivew,style:"--n-opacity-spinning: 1;"},{default:()=>[r("img",{style:{display:o.showCloseBtn?"":"none"},src:xe,class:be,onClick:()=>{o.previewModal=!1,o.previewUrl=""}},null),r("iframe",{class:qe,onLoad:()=>{o.showPreivew=!1},frameborder:"0",src:o.previewUrl},null)]})]})])}}}))}}}));