System.register(["./index-legacy-2af42881-1734950731618.js","./index-legacy-4630884d-1734950731618.js","./catchData-legacy-786f1507-1734950731618.js","./contants-legacy-71300fc2-1734950731618.js","./index-legacy-02dc80cf-1734950731618.js","./index-legacy-64cb7403-1734950731618.js","./index-legacy-e3a3b720-1734950731618.js","./api-legacy-58c7196d-1734950731618.js","./urlUtils-legacy-47a65e18-1734950731618.js","./index-legacy-94101988-1734950731618.js","./Scrollbar-legacy-0b9059a1-1734950731618.js","./index-legacy-308e11e0-1734950731618.js","./Slider-legacy-7133cde0-1734950731618.js","./index-legacy-9947f42b-1734950731618.js","./index-legacy-d4e0b22b-1734950731618.js","./icon_default-legacy-fa9bb009-1734950731618.js","./useSpeak-legacy-4037e929-1734950731618.js","./api-legacy-9d2d8545-1734950731618.js","./icon-pan-legacy-9492b61b-1734950731618.js","./api-legacy-3c6cf578-1734950731618.js","./api-legacy-f6c76495-1734950731618.js","./ding-legacy-f3656c17-1734950731618.js","./searchArray-legacy-6b8f6cdf-1734950731618.js","./index-legacy-76ca2135-1734950731618.js","./index-legacy-78d44dfd-1734950731618.js","./index-legacy-4b375817-1734950731618.js","./api-legacy-ffcfe147-1734950731618.js","./api-legacy-3f65fb74-1734950731618.js","./teacherIcon-legacy-3eeb62c3-1734950731618.js","./index-legacy-83c28d0b-1734950731618.js","./api-legacy-37b6770f-1734950731618.js","./Cascader-legacy-24e30d03-1734950731618.js","./index-legacy-f6b9ad0d-1734950731618.js","./index-legacy-e2eb75b7-1734950731618.js"],(function(e,t){"use strict";var a,n,i,l,s,r,o,c,m,d,_,u,g,w,v,p,h,A,x,f,b,y,I,S,C,B,E,j,N,T,Q,k,M,P,O,G;return{setters:[e=>{a=e.C},e=>{n=e.d,i=e.e,l=e.A,s=e.U,r=e.q,o=e.f,c=e.N,m=e.g,d=e.x,_=e.ay,u=e.D,g=e.aR,w=e.r,v=e.F,p=e.a,h=e.c,A=e.T,x=e.t,f=e.v,b=e.E,y=e.k,I=e.S,S=e.z,C=e.aE,B=e.aW},e=>{E=e.u},e=>{j=e.a},e=>{N=e.a,T=e.f},e=>{Q=e.T},e=>{k=e.T},e=>{M=e.c},e=>{P=e.v},e=>{O=e.P},e=>{G=e.N},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){var V=document.createElement("style");V.textContent='._xiaokuDetail_1wvxm_1{min-height:100%;display:flex;flex-direction:column}._xiaokuDetail_1wvxm_1 img{-moz-user-select:none;-webkit-user-drag:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;-webkit-touch-callout:none}._detailContainer_1wvxm_20{flex:1 auto;background:#ffffff;border-radius:1.04166667vw}._detailContainer_1wvxm_20 .n-tabs-tab-pad{width:2.08333333vw!important}._detailContainer_1wvxm_20 .n-tabs-nav{padding:1.14583333vw 1.66666667vw .9375vw}._detailContainer_1wvxm_20 .n-tabs-tab{color:#8b8d98;font-size:max(1.04166667rem,15Px);padding-top:.41666667vw;padding-bottom:.41666667vw;line-height:1.45833333vw}._detailContainer_1wvxm_20 .n-tabs-tab.n-tabs-tab--active{font-weight:600!important;color:#131415!important}._detailContainer_1wvxm_20 .n-tabs-tab__label{z-index:10}._detailContainer_1wvxm_20 .n-tabs-bar{height:.52083333vw;background:linear-gradient(90deg,#77bbff 0%,rgba(163,231,255,.22) 100%);z-index:0;bottom:.41666667vw;transition-duration:.03}._detailContainer_1wvxm_20 .n-tabs-bar--disabled{background-color:#fff!important}._detailContainer_1wvxm_20 .n-tab-pane{padding-top:0!important}._detailContainer_1wvxm_20 ._inputSearch_1wvxm_58{width:25vw}._detailContainer_1wvxm_20 ._inputSearch_1wvxm_58 .n-button{padding:0 1.25vw;color:#fff;--n-border: none !important;background:linear-gradient(312deg,#1b7af8 0%,#3cbbff 100%)}._detailContainer_1wvxm_20 ._inputSearch_1wvxm_58 .n-input__input-el{color:#000}._detailContainer_1wvxm_20 ._searchSection_1wvxm_70{position:relative;margin:0 1.66666667vw}._detailContainer_1wvxm_20 ._searchSectionHide_1wvxm_74{visibility:hidden;opacity:0;height:0!important;line-height:0!important}._searchGroup_1wvxm_80{background:#f5f6f7;border-radius:.625vw;padding:1.04166667vw 1.25vw 1.5625vw;position:relative}._searchGroup_1wvxm_80._searchGroupOnly_1wvxm_86{padding-bottom:.3125vw}._searchGroup_1wvxm_80 ._hideItem_1wvxm_89{visibility:hidden;opacity:0;height:0!important;line-height:0!important}._searchGroup_1wvxm_80 ._btnType_1wvxm_95{gap:0px 1.25vw!important}._searchGroup_1wvxm_80 ._btnType_1wvxm_95 .n-button{height:1.92708333vw;padding:0 1.25vw;font-size:.9375rem;color:rgba(0,0,0,.6)}._searchGroup_1wvxm_80 ._btnType_1wvxm_95 .n-button.n-button--primary-type{font-weight:700;color:#fff}._searchGroup_1wvxm_80 .n-form{position:relative}._searchGroup_1wvxm_80 .n-form-item .n-form-item-label,._searchGroup_1wvxm_80 .n-form-item .n-form-item-blank{min-height:auto!important}._searchGroup_1wvxm_80 .n-form-item .n-form-item-label__text{font-size:max(.88541667rem,13Px);display:flex;align-items:center;padding:.20833333vw 0;font-weight:600;color:#131415;line-height:1.25vw}._searchGroup_1wvxm_80 .n-form-item .n-button{height:1.66666667vw;font-size:max(.88541667rem,13Px);border-radius:.41666667vw;color:rgba(0,0,0,.6)}._searchGroup_1wvxm_80 .n-form-item .n-button--primary-type{color:#131415;background-color:#d2ecff!important}._searchGroup_1wvxm_80 .n-form-item-feedback-wrapper{min-height:.72916667vw}._searchGroup_1wvxm_80 ._moreSearch_1wvxm_137{position:absolute;bottom:0;left:50%;transform:translate(-50%);font-size:max(.88541667rem,12Px);color:rgba(0,0,0,.6);cursor:pointer;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbwAAABECAYAAAD6BoAfAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABvKADAAQAAAABAAAARAAAAAAXoz9bAAAHVUlEQVR4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qb/0Sde6WdAXgsAggggAACMQR8gH1RGh97Y7/IzZ3U31HgTc01H3eu9blTd2QnRXkMAggggAAChQiI+9u50qsHxyu/bzfelqc0/XYxm5q7dsZfzewiYbcdJfcjgAACCBQusLYRyy+GrAqZtdX4m+7wwkGz9cZpdfquqntkqwLchwACCCCAQAoCIu5PcfLeRK163l+DM9/Y0/8Cb0b1fr3WfFk1f8fv6I5ufDB/I4AAAgggkLyAuEsi2fvyYOXLAyK37vUrV69eP5K7/Pnw4y+88rT/bN199+7kNwIIIIAAAr0rIHd8pv2cuey78PMfgwLcf5KeHWQAAAAASUVORK5CYII=) no-repeat center;background-size:contain;width:11.5625vw;line-height:1.77083333vw;display:flex;align-items:center;justify-content:center}._searchGroup_1wvxm_80 ._moreSearch_1wvxm_137:after{content:"";display:inline-block;width:.625vw;height:.625vw;background:url('+new URL("icon-arrow-down-fb3e9623.svg",t.meta.url).href+") no-repeat center;background-size:contain;margin-left:.3125vw;margin-top:-1px}._searchGroup_1wvxm_80 ._moreSearch_1wvxm_137:hover{color:#1677ff}._searchGroup_1wvxm_80 ._moreSearch_1wvxm_137:hover:after{background-image:url("+new URL("icon-arrow-up-f5c9a134.svg",t.meta.url).href+')}._searchGroup_1wvxm_80 ._moreSearch_1wvxm_137._activeSearch_1wvxm_169:after{transform:rotate(180deg)}._teachingModal_1wvxm_172{width:57.29166667vw}._spaceSection_1wvxm_175{width:100%;transition:1s all ease-in}._spaceSection_1wvxm_175>div{height:1.77083333vw!important;display:flex!important;align-items:center;line-height:var(--n-blank-height)}._collapseWrap_1wvxm_185{width:98%;display:flex;flex-direction:row;align-items:flex-end}._collaoseGroup_1wvxm_191{position:absolute;display:flex;align-items:center;padding-left:.41666667vw}._collaoseBtn_1wvxm_197{width:1.66666667vw;height:1.66666667vw;cursor:pointer}._collaoseBtn_1wvxm_197._isStart_1wvxm_202{transform:rotate(-180deg)}._isHidden_1wvxm_205{overflow:hidden;transition:1s all ease-in}._hideButton_1wvxm_209{visibility:hidden;height:0!important;line-height:0!important}._popSelect_1wvxm_214{font-size:.83333333rem;width:10.41666667vw;box-shadow:0 .10416667vw .83333333vw rgba(0,0,0,.08);border-radius:.57291667vw;--n-option-height: 1.77083333vw}._popSelect_1wvxm_214 .n-base-select-option__content{width:80%!important}._spaceSection2_1wvxm_224{width:100%;transition:1s all ease-in;padding-right:2.08333333vw}._textBtn_1wvxm_229{background:transparent;border-radius:.41666667vw;padding:.20833333vw 1.04166667vw;font-size:max(.88541667rem,13Px);color:rgba(0,0,0,.6);cursor:pointer;display:flex;align-items:center;font-weight:500;line-height:1.25vw}._textBtn_1wvxm_229 ._iconArrow_1wvxm_241{display:inline-block;margin-left:.41666667vw;width:.41666667vw;height:.26041667vw;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAKCAYAAAC5Sw6hAAAAAXNSR0IArs4c6QAAAQBJREFUKFOVkbFOAkEQhuffCx3l7VwsNCY8wnZUNNjwCMbnMBRWJob3MD4CjTRUdvsIJEYLs7NX0pHbMUdOgnocMN1kvvlmMgM6Esx8UyMi8tqFoquYM99q0ueagcFdKfJyiD8oYuZxlXRORL2meZMZTERk0SZrFeX5hSNUS1Xt7zcBWJNmo7L88n9l/0TMPEhKb6rKrZMBMaChiKx+DdlPiqLgKmktGXQeFlhlBsMQgvxwu42stX1VWiqRO/bJ7fGJPECjGOO6yYmcc733j885qY5PkewYYHF9dTnx3m+2G1lbzJKm+7MkDWxgZjGGaSOy06T0SETZmbJkYB5iDE/f85tbC9QPlh0AAAAASUVORK5CYII=) no-repeat center center / contain;transform:rotate(180deg)}._textBtn_1wvxm_229:hover,._textBtn_1wvxm_229._textBtnActive_1wvxm_250{background:#d2ecff;font-weight:500;color:#131415}._textBtn_1wvxm_229:hover ._iconArrow_1wvxm_241{transform:rotate(0)}._sectionContainer_1wvxm_258{padding:1.25vw 1.66666667vw;gap:1.25vw;flex:1 auto;display:flex;flex-wrap:wrap}._sectionContainer_1wvxm_258._noSearchContainer_1wvxm_265{padding-top:0}._wrapList_1wvxm_268{min-height:100%;height:calc(100vh - 13.75vw)}._wrapList_1wvxm_268._wrapListEmpty_1wvxm_272 .n-scrollbar-content{min-height:100%;display:flex;flex-direction:column}._wrapList_1wvxm_268._wrapListEmpty_1wvxm_272 ._empty_1wvxm_277{height:100%;flex:1 auto}._wrapList_1wvxm_268 ._loadingSection_1wvxm_281{min-height:calc(100vh - 13.75vw)}._wrapList_1wvxm_268 ._loadingSectionEmpty_1wvxm_284{display:flex;flex-direction:column}._empty_1wvxm_277{display:flex;align-items:center;justify-content:center}._loadingWrap_1wvxm_293{display:flex;justify-content:center;min-height:4.16666667vw;position:relative}._loadingWrap_1wvxm_293._showLoading_1wvxm_299{height:0;opacity:0;min-height:0;display:none}._sectionItem_1wvxm_305{display:flex;align-items:center;padding:1.04166667vw;border-radius:.625vw;width:20.9375vw;background:#f5f6f7;cursor:pointer;transition:all .2s ease;border:.10416667vw solid #f7f8f9;box-sizing:border-box}._sectionItem_1wvxm_305:hover{transform:scale(1.01);border:.10416667vw solid #007afe;transition:all .2s ease}._sectionItem_1wvxm_305 ._img_1wvxm_322{width:3.125vw;height:3.125vw;background:#ddf2ff;border-radius:.41666667vw;overflow:hidden;margin-right:.83333333vw}._sectionItem_1wvxm_305 ._img_1wvxm_322 img{width:inherit;height:inherit}._sectionItem_1wvxm_305 ._infos_1wvxm_334{display:flex;flex-direction:column}._sectionItem_1wvxm_305 ._infos_1wvxm_334 ._topName_1wvxm_338{font-weight:600;font-size:max(1.04166667rem,14Px);color:#131415;line-height:1.45833333vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:14.0625vw}._sectionItem_1wvxm_305 ._infos_1wvxm_334 ._topName_1wvxm_338 span{color:#198cfe;font-weight:700}._sectionItem_1wvxm_305 ._infos_1wvxm_334 ._types_1wvxm_352{display:flex;padding-top:.20833333vw}._sectionItem_1wvxm_305 ._infos_1wvxm_334 ._types_1wvxm_352>div{margin-right:.20833333vw}._sectionItem_1wvxm_305 ._infos_1wvxm_334 ._types_1wvxm_352 ._hot_1wvxm_359{background:#fff3f3;border-radius:.15625vw;border:1px solid rgba(254,67,67,.5);font-size:max(.625rem,11Px);color:#fe4343;padding:0 .26041667vw;line-height:14Px;display:flex;align-items:center}._sectionItem_1wvxm_305 ._infos_1wvxm_334 ._types_1wvxm_352 ._hot_1wvxm_359:before{content:"";display:inline-block;width:.52083333vw;height:.625vw;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAYCAMAAADNlS1EAAAA9lBMVEUAAAD/bGb/Ul7/bnr/VF3/Q17/TF//X1//Tl7/P1//b1n/Ol//P1//a1r/alr/OWD/UV3/Z1r/WF7/SWD/OmD/b1v/XVz/UWH/SWb/VF3/Y1v/YFr/alv/QF//ZFr/YVz/WF3/aVr/SF7/XFz/TF7/ZVr/VF3/T1z/aFr/cVn/XVz/P17/UV3/d1j/S13/c1n/V1z/aFz/OGD/XVv/Tl3/WV3/SV3/dVn/cFr/b1n/cV3/OGH/X1r/VFz/T1z/Z1n/Wlv/WFv/XFv/ZFr/V1z/UVz/Ylr/SF3/Ol//RV7/Pl7/Ql7/YVr/bFn/aVn/TF3/Sl3/cFgC4AhdAAAAPHRSTlMACjwF9qFbF/Hq593NsaOaj4BaU1NCLR8R+vr29fLr6ufm49XPx8XBvb23s62tqqaYjo2MhnlwbWBTNDJyAgToAAABBklEQVQY02XR13KDMBAF0AUb3LvjOL333ptAVCPAYPz/P5NVYSaO90lz5nLZkUBO5e5Dg7V5WDY/1/BqmWXd/+FmluW0s2ob3Kg/WMFOnlN/Ntup/bEvbv6ckBcAXTV/71LMzYnnncBjVVrtqDTHfbMUdrkR4jmOG1hhuIk0mFBfGpIV2vYrLkMv8VNhrrBFXYMnWlogrYhGcIYmCOvQiiiKDdhXdcF5H2Pc4jZsl3U69KWle3Cg6m4B4F5Y0oBruV2dbzc9jtM0SVowlL81gY/JjfVAO8ScfaFepYHGfgD0LdzEBDk3jLFnfhhW7YWu0GCsVxGnyWnxrrDdGkM5I0Ne+XQsYr8qIkCzZAWpZAAAAABJRU5ErkJggg==) no-repeat center;background-size:contain;margin-right:.15625vw;vertical-align:middle}._sectionItem_1wvxm_305 ._infos_1wvxm_334 ._types_1wvxm_352 ._hot_1wvxm_359 span{vertical-align:text-top}._sectionItem_1wvxm_305 ._infos_1wvxm_334 ._types_1wvxm_352 ._sing_1wvxm_383,._sectionItem_1wvxm_305 ._infos_1wvxm_334 ._types_1wvxm_352 ._song_1wvxm_384{background:#ffffff;font-size:max(.625rem,11Px);border-radius:.15625vw;line-height:16Px;padding:0 .20833333vw;line-height:1;display:flex;align-items:center}._sectionItem_1wvxm_305 ._infos_1wvxm_334 ._types_1wvxm_352 ._sing_1wvxm_383{border:1px solid rgba(243,130,26,.5);color:#f3821a}._sectionItem_1wvxm_305 ._infos_1wvxm_334 ._types_1wvxm_352 ._song_1wvxm_384{border:1px solid rgba(21,178,253,.5);color:#00adff}._sectionItem_1wvxm_305 ._infos_1wvxm_334 ._types_1wvxm_352 ._author_1wvxm_402{color:#777;font-size:max(.72916667rem,12Px);display:flex;align-items:center;line-height:1}\n',document.head.appendChild(V);const z={xiaokuDetail:"_xiaokuDetail_1wvxm_1",detailContainer:"_detailContainer_1wvxm_20",inputSearch:"_inputSearch_1wvxm_58",searchSection:"_searchSection_1wvxm_70",searchSectionHide:"_searchSectionHide_1wvxm_74",searchGroup:"_searchGroup_1wvxm_80",searchGroupOnly:"_searchGroupOnly_1wvxm_86",hideItem:"_hideItem_1wvxm_89",btnType:"_btnType_1wvxm_95",moreSearch:"_moreSearch_1wvxm_137",activeSearch:"_activeSearch_1wvxm_169",teachingModal:"_teachingModal_1wvxm_172",spaceSection:"_spaceSection_1wvxm_175",collapseWrap:"_collapseWrap_1wvxm_185",collaoseGroup:"_collaoseGroup_1wvxm_191",collaoseBtn:"_collaoseBtn_1wvxm_197",isStart:"_isStart_1wvxm_202",isHidden:"_isHidden_1wvxm_205",hideButton:"_hideButton_1wvxm_209",popSelect:"_popSelect_1wvxm_214",spaceSection2:"_spaceSection2_1wvxm_224",textBtn:"_textBtn_1wvxm_229",iconArrow:"_iconArrow_1wvxm_241",textBtnActive:"_textBtnActive_1wvxm_250",sectionContainer:"_sectionContainer_1wvxm_258",noSearchContainer:"_noSearchContainer_1wvxm_265",wrapList:"_wrapList_1wvxm_268",wrapListEmpty:"_wrapListEmpty_1wvxm_272",empty:"_empty_1wvxm_277",loadingSection:"_loadingSection_1wvxm_281",loadingSectionEmpty:"_loadingSectionEmpty_1wvxm_284",loadingWrap:"_loadingWrap_1wvxm_293",showLoading:"_showLoading_1wvxm_299",sectionItem:"_sectionItem_1wvxm_305",img:"_img_1wvxm_322",infos:"_infos_1wvxm_334",topName:"_topName_1wvxm_338",types:"_types_1wvxm_352",hot:"_hot_1wvxm_359",sing:"_sing_1wvxm_383",song:"_song_1wvxm_384",author:"_author_1wvxm_402"};function F(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!u(e)}const W=n({name:"ChildNodeSearch",props:{activeRow:{type:Object,default:()=>({})},list:{type:Array,default:()=>[]},isHide:{type:Boolean,default:!1}},emits:["selectChildTag"],setup(e,{emit:t}){const{activeRow:a}=g(e),n=w({});return l((()=>e.activeRow),(()=>{a.value=e.activeRow,n.value={}})),()=>o(v,null,[a.value?.id&&o(v,null,[o(m,{label:a.value.columnName+":",class:e.isHide&&z.hideItem},{default:()=>[o(d,{class:z.spaceSection},{default:()=>[a.value?.children.map((e=>o("span",{class:[z.textBtn,(a.value.activeIndex||"")==e.id&&z.textBtnActive],onClick:()=>{let i;a.value.activeIndex=e.id;let l="";e.children?(i=[{columnName:e.children[0].columnName,name:"全部",id:""},...e.children],l=e.children[0].columnName,n.value={...e,columnName:l,activeIndex:"",children:i}):n.value={},t("selectChildTag",a.value.activeIndex)}},[e.name])))]})]}),o(W,{isHide:e.isHide,activeRow:n.value,onSelectChildTag:e=>{t("selectChildTag",e||a.value.activeIndex)}},null)])])}}),R=n({name:"search-group",props:{type:{type:String,default:""},musicalInstrumentId:{type:String,default:""}},emits:["search","add"],expose:["init"],setup(e,{emit:t}){const a=E(),n=i({musicTagIds:"",audioPlayTypes:"",bookVersionId:null,subjectId:null}),u=i({showMore:!1,tempSubjectId:null}),g=i({audioPlayTypeList:[],selectParents:{},newTags:[],tags:[],tagActiveId:"",tagActive:{},childSelectId:null});l((()=>e.musicalInstrumentId),(()=>{e.musicalInstrumentId?x():A()})),l((()=>e.type),(()=>{e.musicalInstrumentId||(A(),v())}));const w=s((()=>!!e.type)),v=()=>{t("search",{...n,subjectId:"SING"!==n.audioPlayTypes?n.subjectId:null,audioPlayTypes:n.audioPlayTypes?"PLAY_SING"===n.audioPlayTypes?["PLAY","SING"]:[n.audioPlayTypes]:[],bookVersionId:g.childSelectId||g.tagActiveId})},p=()=>{u.showMore=!u.showMore},h=e=>{const t={};return e?.forEach((e=>{e.id===n.subjectId&&(t.selected=!0,t.name=e.name)})),t},A=()=>{const e=a.getSubjectInstrumentOnly;if(e.length>0){const t=e[0];t.instruments&&t.instruments.length>1?(u.tempSubjectId=t.instruments[0]?.value,n.subjectId=t.instruments[0]?.value):n.subjectId=t.value}},x=()=>{let t=[];a.getSubjectInstrumentOnly.forEach((a=>{e.musicalInstrumentId===a.value?(t=a.instruments||[],n.subjectId=e.musicalInstrumentId,u.tempSubjectId=e.musicalInstrumentId):Array.isArray(a.instruments)&&a.instruments.forEach((i=>{e.musicalInstrumentId===i.value&&(t=a.instruments||[],n.subjectId=e.musicalInstrumentId,u.tempSubjectId=e.musicalInstrumentId)}))})),t.length>0&&h(t)};return r((async()=>{const t=Object.keys(j).map((e=>({value:e,name:j[e]})));g.audioPlayTypeList=[{name:"全部",value:""},...t],await(async()=>{try{const e=(await N()).data||[];g.newTags=[{name:"全部",id:""},...e.map((e=>({name:e.name,id:e.id})))]}catch{}})(),await a.getMusicTagTreeApi(),(()=>{const e=a.getMusicTagTree;e.forEach((e=>{if(e.children&&e.children.length>0){const t=e.children;t?.forEach((e=>{e.children=null}))}})),g.tags=[{columnName:e[0].columnName,name:"全部",id:""},...e],g.tagActiveId=g.tags[0].id})(),await a.getSubjects(),e.musicalInstrumentId?x():A(),v()})),()=>{let e,t,i,l;return o("div",{class:[z.searchGroup,w.value&&z.searchGroupOnly]},[o(c,{labelAlign:"left",labelPlacement:"left"},{default:()=>[g.newTags.length>1&&o(m,{label:"标签:",class:w.value&&z.hideItem},{default:()=>[o(d,{class:z.spaceSection},F(e=g.newTags.map((e=>o("span",{class:[z.textBtn,n.musicTagIds===e.id&&z.textBtnActive],onClick:()=>{n.musicTagIds=e.id,v()}},[e.name]))))?e:{default:()=>[e]})]}),g.tags.length>0&&o(m,{label:g.tags[0]?.columnName+":",class:w.value&&z.hideItem},{default:()=>[o(d,{class:z.spaceSection},F(t=g.tags.map((e=>o("span",{class:[z.textBtn,g.tagActiveId===e.id&&z.textBtnActive],onClick:()=>{(e=>{let t;g.tagActiveId=e.id,g.childSelectId=null;let a="";e.children?(t=[{columnName:e.children[0].columnName,name:"全部",id:""},...e.children],a=e.children[0].columnName,g.selectParents={...e,columnName:a,activeIndex:"",children:t}):g.selectParents={},v()})(e)}},[e.name]))))?t:{default:()=>[t]})]}),o(W,{isHide:w.value,activeRow:g.selectParents,onSelectChildTag:e=>{g.childSelectId=e,v()}},null),o(m,{label:"场景:",class:[!u.showMore&&z.hideItem,w.value&&z.hideItem]},{default:()=>[o(d,{class:z.spaceSection},F(i=g.audioPlayTypeList.map((e=>o("span",{class:[z.textBtn,n.audioPlayTypes===e.value&&z.textBtnActive],onClick:()=>{n.audioPlayTypes=e.value,v()}},[e.name]))))?i:{default:()=>[i]})]}),("SING"!==n.audioPlayTypes||w.value)&&o(m,{label:"乐器:",class:!u.showMore&&!w.value&&z.hideItem},{default:()=>[o(d,{class:z.spaceSection},F(l=a.getSubjectInstrumentOnly.map((e=>e.instruments&&e.instruments.length>1?o(_,{options:e.instruments,trigger:"hover",scrollable:!0,value:u.tempSubjectId,"onUpdate:value":[e=>u.tempSubjectId=e,()=>{n.subjectId=u.tempSubjectId,v()}],key:e.value,class:[z.popSelect]},{default:()=>[o("span",{class:[z.textBtn,h(e.instruments).selected&&z.textBtnActive]},[h(e.instruments).name||e.name,o("i",{class:z.iconArrow},null)])]}):o("span",{class:[z.textBtn,n.subjectId===e.value&&z.textBtnActive],onClick:()=>{n.subjectId=e.value,u.tempSubjectId=null,v()}},[e.name]))))?l:{default:()=>[l]})]})]}),!w.value&&o("div",{class:[z.moreSearch,u.showMore?z.activeSearch:""],onClick:p},[u.showMore?"收起选项":"展开更多"])])}}});e("default",n({name:"xiaoku-detail",setup(){const e=p(),t=h(),n=w([{name:"AI学练",path:"/xiaoku-list"},{name:"曲目列表",path:""}]),l=i({page:1,rows:32,status:!0,searchType:""}),c=i({countPage:1,loading:!0,finshed:!1,reshing:!1,tabName:"",list:[],allSearch:{name:"",musicTagIds:"",audioPlayTypes:null,bookVersionId:null,musicalInstrumentId:null,subjectId:null},hotSearch:{name:"",musicalInstrumentId:null},newSearch:{name:"",musicalInstrumentId:null},recommendSearch:{name:"",musicalInstrumentId:null},previewModal:!1,previewParams:{type:"",src:""}}),m=s((()=>"RECOMMEND"===c.tabName?c.recommendSearch.name:"HOT"===c.tabName?c.hotSearch.name:"NEW"===c.tabName?c.newSearch.name:c.allSearch.name)),d=s((()=>{let e=c.allSearch.musicalInstrumentId;return"RECOMMEND"===c.tabName?e=c.recommendSearch.musicalInstrumentId:"HOT"===c.tabName?e=c.hotSearch.musicalInstrumentId:"NEW"===c.tabName&&(e=c.newSearch.musicalInstrumentId),e}));w();const _=async()=>{1==l.page&&(c.loading=!0);let e={};const{...t}=l;let a={...t,searchType:c.tabName};if("RECOMMEND"===c.tabName)a=Object.assign(a,c.recommendSearch),a.rows=60,a.page=1;else if("HOT"===c.tabName)a=Object.assign(a,c.hotSearch),a.rows=60,a.page=1;else if("NEW"===c.tabName)a=Object.assign(a,c.newSearch),a.rows=60,a.page=1;else{a.name=c.allSearch.name;const{...e}=c.allSearch;a=Object.assign(a,{...e})}try{e=await M(a)}catch(n){console.log(n)}c.reshing&&(c.list=[],c.reshing=!1),200===e?.code&&Array.isArray(e?.data?.rows)?((e?.data?.rows||[]).forEach((e=>{if(e.audioPlayTypeArray=e.audioPlayTypes?e.audioPlayTypes.split(","):[],e.musicSheetName){const t=new RegExp(a.name,"gi"),n=e.musicSheetName.replace(t,"$&");e.musicNameReg=n}})),c.list=[...c.list,...e.data.rows],c.finshed=l.page>=e.data.pages,c.countPage=e.data.pages):c.finshed=!0,c.loading=!1},u=e=>{"back"===e.data?.api&&(B(),c.previewModal=!c.previewModal)};return r((async()=>{e.query.type&&(c.tabName=e.query.type),window.addEventListener("message",u)})),A((()=>{window.removeEventListener("message",u)})),()=>o("div",{class:z.xiaokuDetail},[o(a,{list:n.value},null),o("div",{class:z.detailContainer},[o(x,{paneClass:z.paneTitle,justifyContent:"start",paneWrapperClass:z.paneWrapperContainer,value:c.tabName,"onUpdate:value":[e=>c.tabName=e,e=>{l.page=1,c.finshed=!1,c.reshing=!0,c.list=[],d.value&&_()}]},{default:()=>[o(f,{name:"",tab:"全部曲目"},null),o(f,{name:"RECOMMEND",tab:"推荐曲目"},null),o(f,{name:"HOT",tab:"热门曲目"},null),o(f,{name:"NEW",tab:"最新曲目"},null)],suffix:()=>o(Q,{placeholder:"请输入曲目名称",round:!0,value:m.value,class:z.inputSearch,onSearch:e=>{"RECOMMEND"===c.tabName?c.recommendSearch.name=e:"HOT"===c.tabName?c.hotSearch.name=e:"NEW"===c.tabName?c.newSearch.name=e:c.allSearch.name=e,l.page=1,c.finshed=!1,c.list=[],_()}},null)}),o(G,{class:[[z.wrapList,!c.loading&&0===c.list.length&&z.wrapListEmpty]],onScroll:async e=>{if(c.tabName)return;const t=e.target?.clientHeight,a=e.target?.scrollTop,n=e.target?.scrollHeight;if(t+a+20>=n&&!c.finshed&&!c.loading){if(l.page>=c.countPage)return;l.page=l.page+1,await _()}}},{default:()=>[o(b,{show:c.loading},{default:()=>[o("div",{class:[z.loadingSection,!c.loading&&0===c.list.length&&z.loadingSectionEmpty]},[o("div",{class:[z.searchSection]},[o(R,{type:c.tabName,musicalInstrumentId:d.value,onSearch:e=>{(async e=>{l.page=1,c.reshing=!0,c.finshed=!1;const{subjectId:t,...a}=e;"HOT"===c.tabName?c.hotSearch=Object.assign(c.hotSearch,{musicalInstrumentId:t}):"NEW"==c.tabName?c.newSearch=Object.assign(c.newSearch,{musicalInstrumentId:t}):"RECOMMEND"===c.tabName?c.recommendSearch=Object.assign(c.recommendSearch,{musicalInstrumentId:t}):c.allSearch=Object.assign(c.allSearch,{...a,musicalInstrumentId:t,subjectId:null}),_(),I((()=>{}))})(e)}},null)]),c.list.length>0&&o("div",{class:[z.sectionContainer]},[c.list.map((e=>o("div",{class:z.sectionItem,onClick:()=>(e=>{const a="FIRST"===e.scoreType?"firstTone":"JIAN"===e.scoreType?"fixedTone":"STAVE"===e.scoreType?"staff":"firstTone";let n=`${P()}/instrument?v=${+new Date}&platform=pc&id=${e.id}&Authorization=${t.getToken}&musicRenderType=${a}&showGuide=true&part-index=0`,i="";i="RECOMMEND"===c.tabName?c.recommendSearch.musicalInstrumentId:"HOT"===c.tabName?c.hotSearch.musicalInstrumentId:"NEW"===c.tabName?c.newSearch.musicalInstrumentId:c.allSearch.musicalInstrumentId,i&&(n+="&instrumentId="+i),window.matchMedia("(display-mode: standalone)").matches?(S.application=window.matchMedia("(display-mode: standalone)").matches,c.previewModal=!0,C(),c.previewParams={type:"music",src:n}):window.open(n,+new Date+"")})(e)},[o("div",{class:z.img},[o("img",{referrerpolicy:"no-referrer",src:e.titleImg},null)]),o("div",{class:z.infos},[o("div",{class:z.topName,innerHTML:e.musicNameReg},null),o("div",{class:z.types},[o("div",{class:z.hot},[o("span",null,[T(e.usedNum)])]),e.audioPlayTypes?.includes("SING")&&o("div",{class:z.sing},[y("演唱")]),e.audioPlayTypes?.includes("PLAY")&&o("div",{class:z.song},[y("演奏")]),o("div",{class:z.author},[e.composer])])])])))]),!c.loading&&0===c.list.length&&o("div",{class:z.empty},[o(k,null,null)])])]})]})]),o(O,{show:c.previewModal,"onUpdate:show":e=>c.previewModal=e,type:"music",params:c.previewParams},null)])}}))}}}));