index-legacy-6a73ea56-1731319840132.js 34 KB

1
  1. System.register(["./index-legacy-bb6bf184-1731319840132.js","./icon_back-legacy-a8ad0d25-1731319840132.js","./icon_separator-legacy-74573619-1731319840132.js","./index-legacy-203d0fcc-1731319840132.js","./index-legacy-8b2185d7-1731319840132.js","./icon_default-legacy-fa9bb009-1731319840132.js","./catchData-legacy-4a4f9fbe-1731319840132.js","./api-legacy-60137c97-1731319840132.js","./index-legacy-7dba2a59-1731319840132.js","./api-legacy-a9e15595-1731319840132.js","./index-legacy-aabee6fc-1731319840132.js","./index-legacy-cf53cd1b-1731319840132.js","./urlUtils-legacy-0ad6488a-1731319840132.js","./contants-legacy-8af64912-1731319840132.js","./index-legacy-6a7917db-1731319840132.js","./Slider-legacy-cbf44307-1731319840132.js","./index-legacy-1ce90d5a-1731319840132.js","./Scrollbar-legacy-0c52b7af-1731319840132.js"],(function(e,t){"use strict";var i,a,s,n,o,l,r,c,d,u,m,_,p,v,g,h,w,f,y,b,A,x,S,I,k,P,B,T,C,L,R,E,z,U,j,F,H,Q,N,G,M,W,D,V,O,q,X,K,Z,J,Y;return{setters:[e=>{i=e.d,a=e.e,s=e.$,n=e.r,o=e.q,l=e.C,r=e.T,c=e.f,d=e.a0,u=e.a1,m=e.k,_=e.F,p=e.c,v=e.a,g=e.u,h=e.U,w=e.A,f=e.x,y=e.aS,b=e.aT,A=e.j,x=e.w,S=e.E,I=e.z,k=e.ay,P=e._,B=e.l,T=e.m,C=e.D,L=e.aU,R=e.aV},e=>{E=e.i},e=>{z=e.i},e=>{U=e.T},e=>{j=e.P,F=e.T,H=e.i,Q=e.a},e=>{N=e.i},e=>{G=e.u},e=>{M=e.c,W=e.d,D=e.e},e=>{V=e.g,O=e.s},e=>{q=e.s},e=>{X=e.T},e=>{K=e.u},e=>{Z=e.v},e=>{J=e.a},e=>{Y=e.C},null,null,null],execute:function(){var $=document.createElement("style");$.textContent="._container_123a5_1{display:flex;flex-direction:column;height:100%}._container_123a5_1 ._iconBack_123a5_6{width:1.875vw;height:1.875vw}._container_123a5_1 .n-breadcrumb .n-breadcrumb-item{font-size:max(.83333333rem,12Px)!important}._container_123a5_1 .n-breadcrumb>ul{display:flex;align-items:center}._container_123a5_1 .n-breadcrumb>ul .n-breadcrumb-item{display:flex;align-items:center}._container_123a5_1 .n-breadcrumb>ul .n-breadcrumb-item__separator{display:none}._container_123a5_1 .n-breadcrumb>ul .n-breadcrumb-item__link{padding:.26041667vw .9375vw;background:#FFFFFF;border-radius:.83333333vw;color:#21225d;line-height:1.04166667vw}._container_123a5_1 .n-breadcrumb .n-breadcrumb-item:last-child .n-breadcrumb-item__link{color:#fff;background:var(--product-color)}._container_123a5_1>.n-space{height:1.875vw;flex-shrink:0}._container_123a5_1 ._separator_123a5_39{width:.46875vw;height:.78125vw;margin:0 .83333333vw}._wrap_123a5_44{padding-top:.78125vw;flex:1;transition:padding .3s;overflow:hidden}._wrap_123a5_44._wrapBottom_123a5_50{padding-bottom:5.625vw}._content_123a5_53{display:flex;flex-direction:column;height:100%;background:#DDF2FF;border-radius:1.04166667vw}._tools_123a5_60{padding:1.04166667vw;display:flex;align-items:center;flex-shrink:0}._tools_123a5_60 .n-input{margin-left:auto;width:18.80208333vw}._tools_123a5_60 .n-input__input-el{height:100%;line-height:100%}._tools_123a5_60 .n-button{--n-height: 1.92708333vw !important;height:1.92708333vw;padding:0 1.25vw;font-size:max(.9375rem,13Px)}._tools_123a5_60 .n-button.n-button--primary-type{font-weight:700!important;color:#fff}._contentWrap_123a5_84{flex:1;display:flex;padding:0 1.04166667vw 1.04166667vw;overflow:hidden;gap:0 1.66666667vw}._musicList_123a5_91{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_123a5_91::-webkit-scrollbar{width:0;display:none}._musicList_123a5_91 ._wrapList_123a5_105{width:26.66666667vw;min-width:15.3125vw;min-height:100%;border-radius:.83333333vw}._musicList_123a5_91 ._empty_123a5_111{display:flex;align-items:center;justify-content:center;height:50vh}._searchSection_123a5_117{position:sticky;top:0;left:0;z-index:9;padding:1.25vw;background-color:#fff;display:flex;align-items:center}._searchSection_123a5_117 .TheSearch{background:#F5F6FA;--n-color-focus: #F5F6FA !important}._searchSection_123a5_117 .nBaseCascaser{border-radius:5.20833333vw;width:8.85416667vw;background:#F5F6FA;margin-right:.83333333vw}._searchSection_123a5_117 .nBaseCascaser .n-base-selection__border{border-color:#f5f6fa}._itemContainer_123a5_140{width:100%;border-radius:.83333333vw;padding:.20833333vw .41666667vw}._itemContainer_123a5_140:first-child{padding-top:.41666667vw}._itemContainer_123a5_140:last-child{padding-bottom:.41666667vw}._item_123a5_140{position:relative;display:flex;align-items:center;padding:.52083333vw;border-radius:.625vw;cursor:pointer}._item_123a5_140:hover{background-color:rgba(0,0,0,.05)}._item_123a5_140._active_123a5_162{background-color:#ddf2ff}._item_123a5_140._active_123a5_162 ._arrow_123a5_165{opacity:1}._item_123a5_140 ._img_123a5_168{position:relative;width:3.125vw;height:3.125vw;border-radius:.41666667vw;margin-right:.625vw;overflow:hidden;flex-shrink:0}._item_123a5_140 ._img_123a5_168 .n-image{width:3.125vw;height:3.125vw}._item_123a5_140 ._img_123a5_168 img{transition:opacity .3s;opacity:0;height:100%;width:100%}._item_123a5_140 ._img_123a5_168 img[data-loaded=true]{opacity:1}._item_123a5_140 ._title_123a5_190{flex:1;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start}._item_123a5_140 ._title_123a5_190 ._titleName_123a5_197{font-size:max(.9375rem,13Px);font-weight:600;color:#131415;line-height:1.45833333vw;width:100%}._item_123a5_140 ._title_123a5_190 ._titleDes_123a5_204{font-size:max(.72916667rem,11Px);font-weight:400;color:#777;line-height:1.04166667vw;max-width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;padding:.15625vw 0;display:flex;align-items:center;justify-content:center}._item_123a5_140 ._title_123a5_190 ._iconType_123a5_218{background:#fff;border-radius:.15625vw;padding:1px .15625vw;font-size:max(.625rem,9Px);text-align:center;font-weight:400;line-height:1;border:1px solid transparent;margin-right:.26041667vw}._item_123a5_140 ._title_123a5_190 ._iconPlay_123a5_229{border:1px solid #15B2FD;color:#00adff}._item_123a5_140 ._title_123a5_190 ._iconSing_123a5_233{border:1px solid #CD8613;color:#ce8208}._item_123a5_140 ._btn_123a5_237{margin-left:auto;width:4.375vw;height:1.875vw;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;font-size:max(.9375rem,12Px)}._item_123a5_140 ._btn_123a5_237 .n-button__content>img{margin-left:.52083333vw;width:.46875vw;height:.625vw}._item_123a5_140 ._arrow_123a5_165{position:absolute;top:50%;right:.625vw;transform:translate(124%,-50%);opacity:0}._item_123a5_140 ._showPlayLoading_123a5_262{opacity:0}._loadingWrap_123a5_265{display:flex;justify-content:center;min-height:4.16666667vw}._loadingWrap_123a5_265._showLoading_123a5_270{height:0;opacity:0;min-height:0;display:none}._musicStaff_123a5_276{display:flex;flex-direction:column;position:relative;left:-.41666667vw;flex:1;background-color:#fff;border-radius:.83333333vw;z-index:1;overflow:hidden}._musicStaff_123a5_276::-webkit-scrollbar{width:0;display:none}._musicStaff_123a5_276 ._goBtn_123a5_291{position:absolute;left:50%;bottom:2.39583333vw;transform:translate(-50%);height:3.64583333vw;cursor:pointer;transition:all .2s ease-in}._musicStaff_123a5_276 ._rightBtns_123a5_300{position:absolute;top:1.04166667vw;right:1.25vw;display:flex;align-items:center}._musicStaff_123a5_276 ._rightBtns_123a5_300 ._textBtn_123a5_307{margin-right:1.25vw;padding:1px .83333333vw!important;line-height:1.92708333vw!important;height:1.92708333vw!important;background:#F5F6FA;--n-border: #F5F6FA !important}._musicStaff_123a5_276 ._rightBtns_123a5_300 ._transBtn_123a5_315{width:2.34375vw;height:2.34375vw;cursor:pointer;margin-right:.78125vw}._musicStaff_123a5_276 ._rightBtns_123a5_300 ._transBtn_123a5_315:hover{opacity:.7}._musicStaff_123a5_276 ._favitor_123a5_324{width:2.5vw;height:2.5vw;cursor:pointer;transition:all .3s}._musicStaff_123a5_276 ._favitor_123a5_324:hover img{opacity:.7}._musicStaff_123a5_276 ._favitor_123a5_324>img{display:block;width:100%;height:100%}._musicName_123a5_338{padding-top:1.5625vw;font-size:1.35416667rem;font-weight:500;color:#333;line-height:1.25vw;text-align:center}._staffImgs_123a5_346{flex:1;overflow-y:auto;height:100%;padding:0 1.5625vw}._staffImgs_123a5_346>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_123a5_363{width:85%;height:85vh;position:relative;box-shadow:none!important}._previewWindow_123a5_363 ._previewClose_123a5_369{position:absolute;right:-4.16666667vw;top:0;width:3.125vw;height:3.38541667vw;cursor:pointer}._previewWindow_123a5_363 ._previewIframe_123a5_377{width:100%;height:85vh;background-color:#234892;border-radius:.83333333vw}._popSelect_123a5_383{font-size:.83333333rem;width:15.625vw;max-height:26.04166667vw;overflow-y:scroll;box-shadow:0 .10416667vw .83333333vw rgba(0,0,0,.08);border-radius:.57291667vw;--n-option-height: 1.77083333vw}._popSelect_123a5_383 .n-base-select-option__content{width:80%!important}._popSelect1_123a5_395{font-size:.83333333rem;width:12.5vw;box-shadow:0 .10416667vw .83333333vw rgba(0,0,0,.08);border-radius:.57291667vw;--n-option-height: 1.77083333vw}._popSelect1_123a5_395 .n-base-select-option__content{width:80%!important}._popTrans_123a5_405{font-size:.83333333rem;width:10.41666667vw;overflow-y:scroll;box-shadow:0 2 .83333333vw rgba(0,0,0,.08);border-radius:.57291667vw;--n-option-height: 1.77083333vw}._popTrans_123a5_405 .n-base-select-option__content{width:80%!important}._textBtn_123a5_307 ._iconArrow_123a5_416{display:inline-block;margin-left:.41666667vw;margin-top:.10416667vw;width:.41666667vw;height:.26041667vw;background:url("+new URL("icon-arrow-8824ea53.svg",t.meta.url).href+") no-repeat center center / contain;transform:rotate(180deg);color:#131415;fill:#131415}._textBtn_123a5_307:hover{opacity:.7}._textBtn_123a5_307:hover,._textBtn_123a5_307._textBtnActive_123a5_431{background:#F5F6FA;--n-border: #F5F6FA !important;--n-border-hover: #F5F6FA !important;font-weight:600!important;color:#131415!important}._textBtn_123a5_307:hover ._iconArrow_123a5_416,._textBtn_123a5_307._textBtnActive_123a5_431 ._iconArrow_123a5_416{transform:rotate(0);background:url("+new URL("icon-arrow-8824ea53.svg",t.meta.url).href+") no-repeat center center / contain;color:#131415;fill:#131415;margin-top:0}\n",document.head.appendChild($);const ee={container:"_container_123a5_1",iconBack:"_iconBack_123a5_6",separator:"_separator_123a5_39",wrap:"_wrap_123a5_44",wrapBottom:"_wrapBottom_123a5_50",content:"_content_123a5_53",tools:"_tools_123a5_60",contentWrap:"_contentWrap_123a5_84",musicList:"_musicList_123a5_91",wrapList:"_wrapList_123a5_105",empty:"_empty_123a5_111",searchSection:"_searchSection_123a5_117",itemContainer:"_itemContainer_123a5_140",item:"_item_123a5_140",active:"_active_123a5_162",arrow:"_arrow_123a5_165",img:"_img_123a5_168",title:"_title_123a5_190",titleName:"_titleName_123a5_197",titleDes:"_titleDes_123a5_204",iconType:"_iconType_123a5_218",iconPlay:"_iconPlay_123a5_229",iconSing:"_iconSing_123a5_233",btn:"_btn_123a5_237",showPlayLoading:"_showPlayLoading_123a5_262",loadingWrap:"_loadingWrap_123a5_265",showLoading:"_showLoading_123a5_270",musicStaff:"_musicStaff_123a5_276",goBtn:"_goBtn_123a5_291",rightBtns:"_rightBtns_123a5_300",textBtn:"_textBtn_123a5_307",transBtn:"_transBtn_123a5_315",favitor:"_favitor_123a5_324",musicName:"_musicName_123a5_338",staffImgs:"_staffImgs_123a5_346",previewWindow:"_previewWindow_123a5_363",previewClose:"_previewClose_123a5_369",previewIframe:"_previewIframe_123a5_377",popSelect:"_popSelect_123a5_383",popSelect1:"_popSelect1_123a5_395",popTrans:"_popTrans_123a5_405",iconArrow:"_iconArrow_123a5_416",textBtnActive:"_textBtnActive_123a5_431"},te=""+new URL("icon_goXiaoku-5d0db670.png",t.meta.url).href,ie=""+new URL("icon-collect-active-5b621440.png",t.meta.url).href,ae=""+new URL("icon-close-1bf25bcf.png",t.meta.url).href,se=i({name:"music-guide",emits:["close"],setup(e,{emit:t}){const i=a({box:{height:"0px"},show:!1,steps:[{ele:"",eleRect:{},img:V("music1.png"),handStyle:{top:"0.91rem"},imgStyle:{top:s(-4),left:s(0),width:s(533),height:s(271)},btnsStyle:{bottom:s(40),left:s(-10)},eleRectPadding:{left:7,top:7,width:14,height:14},boxStyle:{}},{ele:"",img:V("music2.png"),imgStyle:{top:s(-4),left:s(-205),width:s(420),height:s(228)},btnsStyle:{bottom:s(35),left:s(-48)},boxStyle:{borderRadius:"25px"},eleRectPadding:{left:7,top:7,width:14,height:14}},{ele:"",img:V("music3.png"),imgStyle:{top:"100%",left:s(-130),width:s(401),height:s(304)},btnsStyle:{bottom:s(100),left:s(30)},boxStyle:{borderRadius:"40px"},eleRectPadding:{left:7,top:7,width:14,height:14},type:"bottom"}],step:0}),p=n(!1),v=n({});(async()=>{try{const e=localStorage.getItem("teacher-guideInfo");v.value=e?JSON.parse(e)||null:{},v.value&&v.value.musicGuide?p.value=!1:p.value=!0}catch(e){console.log(e)}})();const g=()=>{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 f();const a=i.steps[i.step].eleRectPadding?.left||0,s=i.steps[i.step].eleRectPadding?.top||0,n=i.steps[i.step].eleRectPadding?.width||0,o=i.steps[i.step].eleRectPadding?.height||0;i.box={left:t.x-a+"px",top:t.y-s+"px",width:t.width+n+"px",height:t.height+o+"px"}}else f()},h=async e=>{try{if("xiaoku-music"!==e)return;v.value?v.value.musicGuide=!1:v.value={musicGuide:!1};try{q({guideTag:"teacher-guideInfo",guideValue:JSON.stringify(v.value)})}catch(t){console.log(t)}i.step=0,g(),p.value=!0}catch{}};o((()=>{g(),window.addEventListener("resize",w),l.on("teacher-guideInfo",h)}));const w=()=>{g()};r((()=>{window.removeEventListener("resize",w),l.off("teacher-guideInfo",h)}));const f=()=>{i.step>=3?y():(i.step=i.step+1,g())},y=async()=>{v.value?v.value.musicGuide=!0:v.value={musicGuide:!0};try{q({guideTag:"teacher-guideInfo",guideValue:JSON.stringify(v.value)})}catch(e){console.log(e)}p.value=!1};return()=>c(_,null,[p.value?d(c("div",{"onUpdate:show":e=>p.value=e,class:["n-modal-mask","n-modal-mask-guide"]},[c("div",{class:O.content,onClick:()=>f()},[c("div",{class:O.backBtn,onClick:e=>{e.stopPropagation(),y()}},[m("跳过")]),c("div",{class:O.box,style:{...i.box,...i.steps[i.step].boxStyle},id:`modeType-${i.step}`},[i.steps.map(((e,t)=>c("div",{onClick:e=>e.stopPropagation(),class:O.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}`}},[c("img",{class:O.img,style:e.imgStyle,src:e.img},null),c("div",{class:O.btns,style:e.btnsStyle},[i.step+1==i.steps.length?c(_,null,[c("div",{class:[O.endBtn],onClick:()=>y()},[m("完成")])]):c("div",{class:O.btn,onClick:()=>f()},[m("下一步 ("),i.step+1,m("/"),i.steps.length,m(")")])])])))])])]),[[u,p.value,"show"]]):null])}});e("default",i({name:"XiaokuMusic",setup(){const e=G(),t=p(),i=v(),s=g(),l=a({page:1,rows:20,status:!0,name:"",audioPlayTypes:"",musicSheetCategoriesId:i.query.id||""}),d=a({loading:!1,finshed:!1,reshing:!1,tags:[],tagIndex:0,musicalInstrumentId:"",musicSubject:"",list:[],listActive:0,musicInstrumentIndex:0,playState:"pause",showPlayer:!1,previewModal:!1,showPreivew:!1,previewUrl:"",showCloseBtn:!0,audioPlayTypeList:[],musicPdfUrl:"",iframeSrc:"",showMusicImg:"staff",trackList:[],showTransBtn:!0,trackName:"切换声部"}),u=n(""),V=n(!1),O=p(),q=e=>{for(const t of e)t.instruments&&t.instruments.length>0&&(t.instruments.forEach((e=>{e.columnName="乐器"})),t.children=t.instruments,q(t.instruments))},$=async()=>{d.loading=!0;let e={};try{const{audioPlayTypes:t,...i}=l;e=await M({...i,audioPlayTypes:t?"PLAY_SING"===t?["PLAY","SING"]:[t]:[],musicSubject:d.musicSubject,musicalInstrumentId:d.musicalInstrumentId})}catch(t){console.log(t)}if(d.reshing&&(d.list=[],d.reshing=!1),200===e?.code&&Array.isArray(e?.data?.rows)){(e?.data?.rows||[]).forEach((e=>{e.audioPlayTypeArray=e.audioPlayTypes?e.audioPlayTypes.split(","):[]})),d.list=[...d.list,...e.data.rows],d.finshed=l.page>=e.data.pages;const t=d.list[d.listActive];t&&t.isScoreRender&&0===d.listActive&&(d.musicInstrumentIndex=999),await he(),pe()}else d.finshed=!0;d.list[d.listActive]&&re(d.list[d.listActive]),d.loading=!1,setTimeout((()=>{V.value=!0}),500)},ne=async()=>{d.listActive=0,d.showPlayer=!1,d.playState="pause",l.page=1,d.finshed=!1,await $()},oe=n(),le=e=>{"api_fingerPreView"===e.data?.api&&(d.showCloseBtn=!e.data.state)};o((async()=>{const t=Object.keys(J).map((e=>({value:e,label:J[e]})));d.audioPlayTypeList=[{label:"全部",value:""},...t],await e.getSubjects(),K(document.querySelector(".musicList-container"),(e=>{const t=e[0],{height:i}=t.contentRect;document.documentElement.style.setProperty("--xiaoku-music-height",i+"px")})),(async()=>{const t=e.getSubjectList,i=sessionStorage.getItem("musicSubjectList")?JSON.parse(sessionStorage.getItem("musicSubjectList")):[],a=[];t.forEach((e=>{i.find((t=>t.id===e.id))&&a.push(e)})),q(a),d.tags=[{columnName:"声部",name:"全部声部",id:""},...a]})(),await $(),new IntersectionObserver((e=>{e[0].intersectionRatio>0&&(d.loading||d.finshed||(l.page=l.page+1,$()))})).observe(oe.value),window.addEventListener("message",le)})),r((()=>{window.removeEventListener("message",le)}));const re=async e=>{const t=await W({type:"MUSIC",materialId:e.id});200===t?.code&&(e.favitor=t.data)},ce=h((()=>(d.list[d.listActive]&&(Z(),d.list[d.listActive]?.xmlFileUrl,O.getToken),d.list[d.listActive]||{}))),de=()=>{d.list[d.listActive].favitor=!d.list[d.listActive].favitor,D({favoriteFlag:d.list[d.listActive].favitor,type:"MUSIC",materialId:d.list[d.listActive].id})},ue=e=>{const t=d.list.findIndex((t=>t.id===e.id));t>-1&&(d.listActive===t?d.playState="play"===d.playState?"pause":"play":d.playState="play",d.showPlayer=!0,d.listActive=t)};h((()=>{const e=d.list[d.listActive],t=[];return(e?.musicalInstruments||[]).forEach(((e,i)=>{t.push({label:e.name,value:i})})),t}));const me=h((()=>{if(d.list.length){const e=d.list[d.listActive]?.musicSheetType;return"SINGLE"!==e}return!1})),_e=(e,t)=>!!(e||""===e||null==e||["JIAN","FIRST"].includes(t)&&!e),pe=()=>{const e=O.getToken,t=d.list[d.listActive];if(!t?.id)return void(d.iframeSrc="");const i="first"===d.showMusicImg?"firstTone":"fixed"===d.showMusicImg?"fixedTone":(d.showMusicImg,"staff"),a=t?.musicSheetType;let s="";if("SINGLE"===a||999===d.musicInstrumentIndex)s="first"===d.showMusicImg?t?.firstPdfUrl:"fixed"===d.showMusicImg?t?.jianPdfUrl:t?.musicPdfUrl;else{const e=(d.trackList||[]).find((e=>e.value===d.musicInstrumentIndex)),i=(t?.background||[]).find((t=>t.track===e?.track&&"PLAY"===t.audioPlayType));i&&(s="first"===d.showMusicImg?i.firstPdfUrl:"fixed"===d.showMusicImg?i.jianPdfUrl:i.musicPdfUrl)}d.musicPdfUrl=s,d.iframeSrc=s?`${location.origin}/classroom-app/pdf/web/viewer.html?file=${encodeURIComponent(d.musicPdfUrl)}&t=${Date.now()}`:`${Z()}/instrument/?id=${t?.id}&modelType=practise&modeType=json&Authorization=${e}&isPreView=true&part-index=${d.musicInstrumentIndex}&musicRenderType=${i}`,console.log(d.iframeSrc,"iframeSrc")},ve=e=>{"play"===e?d.playState="play":"pause"===e?d.playState="pause":"pre"===e?d.list[d.listActive-1]&&ue(d.list[d.listActive-1]):"next"===e?d.list[d.listActive+1]&&ue(d.list[d.listActive+1]):"favitor"===e&&de()},ge=h((()=>{const e=d.list[d.listActive],{scoreType:t,isConvertibleScore:i}=e||{},a=[{value:"first",label:"首调"},{value:"fixed",label:"固定调"}];return["JIAN","FIRST"].includes(t)&&!1===i||null==i||a.unshift({value:"staff",label:"五线谱"}),a})),he=async e=>{const t=d.list[d.listActive];if("CONCERT"===t?.musicSheetType){if(t.xmlFileUrl){const i=await fetch(t.xmlFileUrl).then((e=>e.text()));we(i,e)}}else{const{scoreType:e,isConvertibleScore:i}=t||{};let a="first";a="STAVE"===e?"staff":"JIAN"===e?"fixed":"first",d.showMusicImg=a,d.showTransBtn=_e(i,e)}},we=(e,t)=>{const i=(new DOMParser).parseFromString(e,"text/xml"),a=i.getElementsByTagName("part-list")?.[0]?.getElementsByTagName("score-part")||[],s=Array.from(a).map((e=>e.getElementsByTagName("part-name")?.[0]?.textContent?.trim()||e.getAttribute("id")||""));"COMMON"===s[0]?.toLocaleUpperCase?.()&&s.shift();const n=d.list[d.listActive]?.multiTracksSelection,o=n?n?.split(","):[],l=s.map(((e,t)=>{const i=!(0!=o.length&&!o.includes(e)),a=L(e);return{label:e+(a?`(${a})`:""),value:t,sortId:R(a,t),canselect:i,track:e}})).filter((e=>e.canselect));d.trackList=l;const r=d.list[d.listActive];r&&r.isScoreRender&&d.trackList.unshift({label:"总谱",value:999,sortId:0,canselect:!0,track:999});const c=d.list[d.listActive],{scoreType:u,isConvertibleScore:m}=c||{};if(!t){let e="first";e="STAVE"===u?"staff":"JIAN"===u?"fixed":"first",d.showMusicImg=e}d.showTransBtn=_e(m,u)};w((()=>d.listActive),(async()=>{d.musicInstrumentIndex=0,he()}));const fe=h((()=>{let e=[];if("first"===d.showMusicImg){const t=ce.value?.musicFirstImg;e=t?t.split(","):[]}else if("fixed"===d.showMusicImg){const t=ce.value?.musicJianImg;e=t?t.split(","):[]}else if("staff"===d.showMusicImg){const t=ce.value?.musicImg||ce.value?.musicSvg;e=t?t.split(","):[]}return e}));return()=>{let e;return c("div",{class:ee.container},[c(f,{align:"center",wrapItem:!1,size:16},{default:()=>[c("img",{style:{cursor:"pointer"},src:E,class:ee.iconBack,onClick:()=>s.push({path:"/xiaoku-ai"})},null),c(y,{separator:""},{default:()=>[c(b,{onClick:()=>s.push({path:"/xiaoku-ai"})},{default:()=>[m("全部列表")]}),c("img",{class:ee.separator,src:z},null),c(b,null,{default:()=>[i.query.name]})]})]}),c("div",{class:[ee.wrap,d.showPlayer?ee.wrapBottom:""]},[c("div",{class:ee.content},[c("div",{class:ee.tools},[c(f,{style:{width:"100%"},size:[12,6],wrapItem:!1},(a=e=d.audioPlayTypeList.map((e=>c(A,{round:!0,textColor:l.audioPlayTypes===e.value?"#fff":"#000",color:l.audioPlayTypes===e.value?"#198CFE":"#fff",type:l.audioPlayTypes===e.value?"primary":"default",onClick:async()=>{l.audioPlayTypes=e.value||"","SING"===e.value&&(d.musicalInstrumentId="",d.musicSubject=""),d.reshing=!0,document.querySelector(".musicList-container")?.scroll(0,0),await ne()}},{default:()=>[e.label]}))),"function"==typeof a||"[object Object]"===Object.prototype.toString.call(a)&&!C(a)?e:{default:()=>[e]}))]),c("div",{class:ee.contentWrap},[c("div",{class:[ee.musicList,"musicList-container"]},[c("div",{class:ee.searchSection},["SING"!==l.audioPlayTypes&&c(Y,{placeholder:"全部乐器",arrowType:"small",childShowAllCheck:!1,class:ee.instrumentSection,value:u.value,"onUpdate:value":e=>u.value=e,options:d.tags,onMoreId:async e=>{d.loading||(d.musicalInstrumentId=e.childId,d.musicSubject=e.parentId,d.reshing=!0,document.querySelector(".musicList-container")?.scroll(0,0),await ne())}},null),c(U,{style:{marginLeft:"auto"},round:!0,border:!1,onSearch:e=>{d.loading||(l.name=e,d.reshing=!0,document.querySelector(".musicList-container")?.scroll(0,0),ne())}},null)]),c("div",{class:[ee.wrapList,"music-wrap-list"]},[d.list.map(((e,t)=>c("div",{class:ee.itemContainer},[c("div",{class:[ee.item,d.listActive===t&&ee.active],onClick:async()=>{(e=>{const t=d.list.findIndex((t=>t.id===e.id));t>-1&&(d.listActive=t),re(e)})(e),await he();const t=d.list[d.listActive];t&&t.isScoreRender?d.musicInstrumentIndex=999:d.musicInstrumentIndex=0,pe()}},[c("div",{class:ee.img},[c(x,{lazy:!0,objectFit:"cover",previewDisabled:!0,src:e.titleImg||N,onLoad:e=>{e.target.dataset.loaded="true"}},null),c(j,{class:[d.listActive===t&&"play"===d.playState?"":ee.showPlayLoading]},null)]),c("div",{class:ee.title},[c("div",{class:ee.titleName},[c(F,{text:e.musicSheetName},null)]),c("div",{class:ee.titleDes},[e.audioPlayTypeArray?.includes("SING")&&c("span",{class:[ee.iconType,ee.iconSing]},[m("演唱")]),e.audioPlayTypeArray?.includes("PLAY")&&c("span",{class:[ee.iconType,ee.iconPlay]},[m("演奏")]),c("span",{class:ee.composer},[e.composer])])]),c("img",{class:ee.arrow,src:H},null)])]))),c("div",{ref:oe,class:[ee.loadingWrap,d.finshed&&ee.showLoading]},[c(S,{show:!0},null)]),!d.loading&&0===d.list.length&&c("div",{class:ee.empty},[c(X,null,null)])])]),c("div",{class:ee.musicStaff},[!d.musicPdfUrl&&c("div",{class:ee.musicName},[ce.value.musicSheetName]),c("img",{id:"music-2",style:{display:ce.value.id?"":"none"},class:[ee.goBtn],src:te,onClick:()=>{ve("pause");let e="staff";"first"===d.showMusicImg?e="firstTone":"fixed"===d.showMusicImg?e="fixedTone":"staff"===d.showMusicImg&&(e="staff");let i=`${Z()}/instrument?v=${+new Date}&platform=pc&id=${ce.value.id}&Authorization=${t.getToken}&musicRenderType=${e}&showGuide=true&part-index=${d.musicInstrumentIndex}`;d.musicalInstrumentId&&(i+="&instrumentId="+d.musicalInstrumentId),window.matchMedia("(display-mode: standalone)").matches?(I.application=window.matchMedia("(display-mode: standalone)").matches,d.previewModal=!0,d.previewUrl=i,d.showPreivew=!1):window.open(i)}},null),c("div",{class:ee.rightBtns,style:{display:ce.value.id?"":"none"}},[me.value&&c(k,{options:d.trackList,trigger:"hover",value:d.musicInstrumentIndex,"onUpdate:value":[e=>d.musicInstrumentIndex=e,async e=>{await he(!0),d.trackName=d.trackList.find((e=>e.value===d.musicInstrumentIndex))?.label||"切换声部",pe()}],class:[ee.popSelect]},{default:()=>[c(A,{round:!0,class:[ee.textBtn]},{default:()=>[d.trackList.find((e=>e.value===d.musicInstrumentIndex))?.label||"切换声部",c("i",{class:ee.iconArrow},null)]})]}),d.showTransBtn&&c(k,{options:ge.value,trigger:"hover",value:d.showMusicImg,"onUpdate:value":[e=>d.showMusicImg=e,async e=>{d.showMusicImg=e,pe()}],class:[ee.popTrans]},{default:()=>[c("img",{class:[ee.transBtn],src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAMAAADVRocKAAABDlBMVEUAAAD29/v39/z////19vv19/r19vr29/r29vv39/z4+Pz29/v29/v19vv29/r29/r29vv29/v19/r19/v1+fz4+Pv29vv1+vr1+vr39//////29/v29/v19voTFBXW19rv8PTf4OR+f4JmZ2pKS0wqKyzy8/fLzM9iY2W/wMMkJCYdHh+Sk5ZVVlg3ODq6vL8ZGhurq66WlpmUlJiJi42kpqhvb3Jqa21OT1EmJygXGBlBQkPr7PDj5Ojh4ubc3eDY2dzNztGmp6qbm5+DhIc6Oz0vMDLn6OzQ0dRaW13IyM2ztLd5eXx1d3g9PkAhIiPT1NjFxcnCw8agoaQ1Nje2t7qwsbVdX2GNj5FERke8i+SaAAAAHXRSTlMA+loO7dPQqY5jS/fz69/bycGdgk9GOjU0IBTFxvEjl0gAAATrSURBVGjezdrnVhpBAAXgoStJjDUxMfcKShGRYkSQjlFAjV2jyfu/SHZXs5SdGfqJ3y+OR/ay03dmxXA86+6VwIZvwetyeRd8G4EV97pHTIsnOOeHhH8uOIUQz/ySC0qupfnJMoKBdxjgXSAoxuX2YSg+txjH/EcM7eO8GNUnP0bi/yRG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ex+EWSTsdQujZLSNKPl5TL93M6/YDKIQ0FOM0rH0BQCxsyJDNh02ZWs5wPm1WcrcMkewARAV3RhmDZVQeE/tBwCaeA/RCokCNbGBRQOaeh2Ja2oVc+yG2TqUEB9TINpQScfAM3G8vkpT4gdlKk6QES7t6tBHljPdEFVB/StEj7yEf9ZoihTjKhCIj/2LuM8EX2ATLzA7dzzFZalQcU2BG9h4xftyFVC5ty5E341Q2ZC4dj9r3ZkqcVSH3SbKmVqXBThaVq//rLGuSWNZuCNSr9xIuDLJOPka07qHi/arY1Q0UqlM7s/2lDa1W7MRtqbMq1MaS5WW8tz3xzfNbb+7M+oJj1EcusD4lmfcw164O6/3/UONFh6Vs57h33wPotHbmP/tLAW3ztYfgXN97yqyezf3lm8td//gIiGGYI8PHpugAAAABJRU5ErkJggg=="},null)]}),c("div",{class:ee.favitor,onClick:()=>de()},[c(P,{name:"favitor",mode:"out-in"},{default:()=>[ce.value.favitor?c("img",{src:ie,key:"1"},null):c("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAAAXNSR0IArs4c6QAAD1NJREFUeF7tXXucjNUb/z7vzNqZ2ZaS7oRuS0o/lXKLrH6KRVLyEXItpUR8ShQiKfXBSjeVRchHIrEoZUVZIooS241Kfl3otnZmdmfmPb/PM3tpd96Zed935j1jyzx/7WfnPJdzvu+5Pc9zziFUUxJCpLt9vgwloGSoEBkEkQFQXQGRTkC6EJROhHQ2XwgUEolCARQSqBAQhwSoQAEVqDa1wJWSUkDE/69+RNXFJCFEzeLiQFtVFZkCoj0RXSaEsMQ+IhJCiN0E2qgolJeaattMRH9Vh7pbUsFYKyKEqOX1BnoKiH4AWgshbLHKMsNHRAEAWwi00OGwLSOiP83wW1k24QDwV11cHOikCrU/QN2EEA4rK2RWFhF5AbFKIWVBaqptHfcWszLiKZ8wAPjr9noDvVSo4yDQJB6jpfES9ipQpjoctqVlvUSaqnLB0gEoa/gBAupDQuAC6TWyQAER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qfT/qCR92GMwGIZABVDUvI5WyPtXlHGcgAqvKjJB50NASEFgEpOvOST5jowSAWgrDfYvN7AAAH1oUS+SWDo84tQiAPoBOVJh8M2P9yrF/HIDuWVDkC5Qs628HoDvVSo42Rfjx9zAxH2KlCmOhy2pbIbvtzGhAFQCQgqLg50UoXaH6Busi4LNwoC52oCYpVCyoLUVNu6ynf7G5URT7mEA1DZWE4I9noDPQUEH9ptLevqZE23L31GZAuBFjoctmXlN5nH05Cx8h5XAELAqFlcHGirqiJTQGQSUVOr7jLlr1oIsYdAeYpCeampts18b3OsjWYlX7UBILRSfHrT7fNlKAElQ4XIIIgMgOoKiHQC0oWgdCIEH5IRAoVEolAAhQQqBMQhASpQQAWqTS1wpaQUEPH/qx/9H/I1mUEEuLtxAAAAAElFTkSuQmCC",key:"2"},null)]})])]),c("div",{class:ee.staffImgs},[d.iframeSrc&&(me.value||d.musicPdfUrl||0===fe.value.length)?d.musicPdfUrl?c("iframe",{id:"staffIframeRef",style:{width:"100%",height:"100%"},src:d.iframeSrc,onLoad:()=>{}},null):c("iframe",{id:"staffIframeRef",style:{width:"100%",height:"100%",paddingTop:"20px"},src:d.iframeSrc,onLoad:()=>{}},null):c(_,null,[fe.value.length>0?fe.value.map((e=>c("img",{src:e,key:e},null))):c(X,null,null)])])])])])]),0!==d.list.length&&c(Q,{show:d.showPlayer,playState:d.playState,item:ce.value,onChange:e=>ve(e),onShow:e=>{d.showPlayer=e}},null),V.value?c(se,null,null):null,c(B,{maskClosable:T,show:d.previewModal,"onUpdate:show":[e=>d.previewModal=e,e=>{e||(d.previewUrl="")}],class:ee.previewWindow,showIcon:!1,displayDirective:"show"},{default:()=>[c(S,{show:d.showPreivew,style:"--n-opacity-spinning: 1;"},{default:()=>[c("img",{style:{display:d.showCloseBtn?"":"none"},src:ae,class:ee.previewClose,onClick:()=>{d.previewModal=!1,d.previewUrl=""}},null),c("iframe",{class:ee.previewIframe,onLoad:()=>{d.showPreivew=!1},frameborder:"0",src:d.previewUrl},null)]})]})]);var a}}}))}}}));