index-legacy-0ed208bc-1720699367816.js 49 KB

1
  1. System.register(["./index-legacy-e0181e36-1720699367816.js","./index-legacy-6cbb876b-1720699367816.js","./urlUtils-legacy-0ad6488a-1720699367816.js","./api-legacy-332c2640-1720699367816.js","./index-legacy-03e8d245-1720699367816.js","./index-legacy-4d465a36-1720699367816.js","./catchData-legacy-09d2944a-1720699367816.js","./index-legacy-ba4d191d-1720699367816.js","./index-legacy-de40bbb0-1720699367816.js","./index-legacy-e912b69e-1720699367816.js","./Scrollbar-legacy-9dfa8483-1720699367816.js"],(function(e,t){"use strict";var i,a,n,r,o,s,l,c,d,u,m,h,p,g,_,f,A,v,b,w,y,I,S,C,B,x,E,k,R,T,U,M,P,D,N,L,G,j,q,F,V,z,Q,H,K,Y,O,X,J,Z,W,$,ee,te,ie;return{setters:[e=>{i=e.af,a=e.ag,n=e.d,r=e.ab,o=e.ao,s=e.U,l=e.dd,c=e.ap,d=e.ad,u=e.de,m=e.a_,h=e.c,p=e.b,g=e.r,_=e.f,f=e.w,A=e.aN,v=e.k,b=e.F,w=e.b9,y=e.x,I=e.Z,S=e.V,C=e.j,B=e.l,x=e.m,E=e.G,k=e.ba,R=e.e,T=e.q,U=e.N,M=e.g,P=e.d8,D=e.i,N=e.aC,L=e.D,G=e.aO,j=e.A,q=e.E,F=e.t,V=e.v},e=>{z=e.C},e=>{Q=e.v},e=>{H=e.I,K=e.C,Y=e.q,O=e.r},e=>{X=e.T},e=>{J=e.T},e=>{Z=e.u},e=>{W=e.a,$=e.u},e=>{ee=e.T},e=>{te=e.u},e=>{ie=e.N}],execute:function(){var t=document.createElement("style");t.textContent="._trainType_1feah_1{display:inline-block;width:24.0625vw;background:linear-gradient(360deg,#DBF1FF 0%,#E7F9FF 100%);border-radius:.67708333vw;position:relative;overflow:hidden;border:1px solid #CAE4F4;transition:all .2s ease}._trainType_1feah_1 ._overflowBg_1feah_11{position:absolute;top:0;left:0;width:100%;height:100%;z-index:9;padding:1.04166667vw;cursor:move}._trainType_1feah_1:hover{transition:all .2s ease;border-color:#007afe;transform:scale(1.01)}._trainType_1feah_1:hover ._iconDelete_1feah_26{opacity:1;visibility:visible;transition:all .2s ease}._trainType_1feah_1:hover ._trainDisabled_1feah_31 ._iconDelete_1feah_26{display:none}._train-header_1feah_34{display:flex;align-items:center;justify-content:space-between;position:relative}._train-header_1feah_34 ._title_1feah_40{display:flex;align-items:center;font-size:max(.9375rem,13Px);font-weight:600;color:#131415}._train-header_1feah_34 ._title_1feah_40 ._title-tag_1feah_47{width:1.45833333vw;height:1.45833333vw;margin-right:.41666667vw}._train-header_1feah_34 ._title_1feah_40 ._title-text_1feah_52{max-width:10.41666667vw}._train-header_1feah_34 ._btn_1feah_55{padding:0 .625vw;height:1.66666667vw;background:linear-gradient(270deg,#23c3ff 0%,#007afe 100%);font-size:max(.83333333rem,12Px);font-weight:600;color:#fff;line-height:1.14583333vw;--n-border: 0 !important;--n-border-hover: 0 !important;--n-border-pressed: 0 !important;--n-border-focus: 0 !important}._train-header_1feah_34 ._btn_1feah_55:hover,._train-header_1feah_34 ._btn_1feah_55:active,._train-header_1feah_34 ._btn_1feah_55:visited,._train-header_1feah_34 ._btn_1feah_55:focus{border:0;color:#fff}._train-header_1feah_34 ._btn_1feah_55 img{margin-left:.52083333vw;width:.41666667vw;height:.52083333vw}._train-content_1feah_80{height:7.29166667vw;background:#ffffff;position:relative;overflow:hidden;transition:all .2s ease;cursor:pointer}._train-content_1feah_80._trainDisabled_1feah_31{cursor:default;height:12.39583333vw}._train-content_1feah_80 .n-image{width:100%;height:inherit}._train-content_1feah_80 .n-image img{width:100%;height:fit-content}._train-content_1feah_80 ._preview_1feah_100{position:absolute;opacity:0;visibility:hidden;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.7);display:flex;align-items:center;justify-content:center;transition:all .2s cubic-bezier(.175,.885,.32,1.275);cursor:pointer}._train-content_1feah_80 ._preview_1feah_100 ._previewBtn_1feah_115{background:#fff;height:2.29166667vw;padding:0 2.29166667vw;border-radius:.625vw}._train-content_1feah_80 ._disPreview_1feah_121{position:absolute;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.7);display:flex;align-items:center;flex-direction:column;justify-content:center;transition:all .2s cubic-bezier(.175,.885,.32,1.275)}._train-content_1feah_80 ._disPreview_1feah_121 ._disPreviewDivide_1feah_134{font-size:max(.78125rem,13Px);color:#fff}._train-content_1feah_80 ._disPreview_1feah_121 .n-progress-graph-circle-rail{stroke:#8b8b8b!important}._train-content_1feah_80 ._disPreview_1feah_121 .n-progress{width:max(6.25vw,105Px)!important}._train-content_1feah_80 ._disPreview_1feah_121 ._BProgress_1feah_144{color:#fff;margin-top:-.20833333vw}._train-content_1feah_80 ._disPreview_1feah_121 ._BProgress_1feah_144 h4{font-size:max(1.45833333rem,20Px);font-family:DINA;text-align:center}._train-content_1feah_80 ._disPreview_1feah_121 ._BProgress_1feah_144 h4 span{font-size:max(.67708333rem,11Px);font-weight:400;padding-left:.20833333vw}._train-content_1feah_80 ._disPreview_1feah_121 ._BProgress_1feah_144 p{font-size:max(.72916667rem,12Px)}._train-content_1feah_80:hover ._preview_1feah_100{opacity:1;visibility:visible;transition:all .3s cubic-bezier(.175,.885,.32,1.275)}._train-content_1feah_80 ._iconDelete_1feah_26{position:absolute;top:.41666667vw;right:.52083333vw;z-index:98;opacity:0;visibility:hidden;transition:all .2s ease;width:1.40625vw;height:1.40625vw;cursor:pointer}._train-footer_1feah_178{display:flex;align-items:center;justify-content:space-between;padding:.41666667vw}._train-footer_1feah_178 ._type_1feah_184{gap:.41666667vw .52083333vw!important}._train-footer_1feah_178 ._title-text_1feah_52{width:7.8125vw}._train-footer_1feah_178 ._operation_1feah_190{display:flex;height:1.77083333vw;padding:0;border-radius:50%}._train-footer_1feah_178 ._operation_1feah_190 img{height:1.875vw;width:1.875vw}._train-footer_1feah_178 ._operation_1feah_190 ._iconEdit_1feah_200{display:inline-block;width:1.77083333vw;height:1.77083333vw;background:url(data:image/png;base64,iVBORw0KGgoAA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IToliCzEmD+PHMOEVGL8PLlS0tzcucXzY8otS0bDIg/1Y2UqzTEnbv3MXX6bEsUjBAh47kiLgZ+fqWzgAYCIk5DCMumTBNVBYWFoJRo1jWKd5uocuXKmB8ZhnZt35acXAYCIk5UCYBQ0X6ZpTIXxMXj8BGq0bHS+DEB+HzAZw5Xmu2hsfNHnRARFqJkVUq1KZ3KFEAxLtk9KVBymktpsyv1d6xZv0l0qVvXLpgZYs3d2vPtTTuAhNUbLF8P9R+IUQF0A4Zqkk52C4DQycql5RD2EXQK8oTOiUJxsdWINm/WhM/kk+d59PhJviKpsPCFZaSU/b99hzKvJqKD4cplsWjUsIFqNAA4LofQM0vUFMzY5lhmzJ6HjIvWyBcd45f/FI2GDV7Dk7ynCBgzGUVFRU4HKre0nDA7L5gRACE3UFNJFQVuzp4jVuckAiRsniUUWKlSJUSGz7CkLOUAoZlBwWVndsaJJspKqgRQdBfd3ci+BXK/7alePV9MnWTN017NzMLCxQnIz8/nbQAV0tmSaMkIxRs+1aqhWdPG+LTnJ1qXCYlQVnQnAELHRk9Zpu0v4ynclVhsntJuaVDoHhlP8b/d8qnI98qYh2LM7SHm3ir4PTOKwKCxyt4vYzdTPLeY2ZsVz02I0obWc5uqxEzx3MgsdS7w3Oru4LTkeRiCY2A8j8twsJQ8D1RxFgWxeeQOPW6HHruj5JE79Lgdih657ZE7/wPE2cXEjP674AAAAABJRU5ErkJggg==) no-repeat center;background-size:contain}._train-footer_1feah_178 ._operation_1feah_190 ._iconEdit_1feah_200:hover{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAABECAYAAAA4E5OyAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAARKADAAQAAAABAAAARAAAAADA2cO/AAAIGElEQVR4Ae1ca2wUVRQ+U6A8CyiPFIQAabUlAQPlTzGgpUYDKoaISkTiowKJxsYgwYiPUKLRRv1B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P5luZCf+90HcVUz0jghB2bfQkH0fRq5qy2YPjxM2zxMZNYCLQWwYvYejTp5xxqCKktjeFKMqvWOGNT/cZSyJ5QhzkHVFq+4S4fUmt2Q1lecxb2Nvg2AkQsaWgWcwaCNtVSiqBfCSCpRappRMMGJeuuN9jWhXFG7or+nL9mmjDYE/njKuYzW2iSxFh507Xm3I2mVMZftiAB2LMWPOOM/dhI0sh3dUqK05bDQBEI7Ze8AxhjW7qIyK74e2twCQdrvWJuj2dI4leUjkm6f/NZmZnXAW6ru7uEt7gV49HmVgazdnViYTbSkL2RbVjmiDarggKq5FZHE4IfMDi0M2JWcJuk8mfysD9XWqTA4FW22IzGRQ/AXDxAagdH1iZoJhPgFK10eIJhjmE6B0faZqgmE+AUrXh8wmGNYngOn61N0KiBkGMF0/hmCCYX0CmIz+uQzHtYzVSC9hAMP78zPBvCFcCk72LizPjnhUsB4c2A+qBAYIlFaIYw0SisGFYN58ZJx7XDkhxuOan9ypRVoNOGU/ufMv9qn5fj3vnokAAAAASUVORK5CYII=) no-repeat center;background-size:contain}._trainInfo_1feah_211{max-width:82%}._trainInfo_1feah_211 ._trainName_1feah_214{display:flex;align-items:center;font-size:max(.67708333rem,12Px);font-family:PingFangSC,PingFang SC;font-weight:600;color:#131415;line-height:1.09375vw}._trainInfo_1feah_211 ._type_1feah_184{padding:0 .46875vw;display:inline-block;background-color:#ccc;border-radius:.26041667vw;font-size:max(.625rem,10Px);font-weight:600;color:#fff;height:18Px;line-height:18Px;margin-right:.36458333vw;flex-shrink:0}._trainInfo_1feah_211 ._PRACTICE_1feah_236{background:linear-gradient(270deg,#23C3FF 0%,#007AFE 100%)}._trainInfo_1feah_211 ._EVALUATION_1feah_239{background:linear-gradient(270deg,#FF7B57 0%,#FF3460 100%)}._trainInfo_1feah_211 ._tagList_1feah_242{display:flex;align-items:center;padding-top:.26041667vw;font-size:11Px;font-weight:400;color:rgba(0,0,0,.5)}._trainInfo_1feah_211 ._tagList_1feah_242 .n-divider{--n-color: rgba(0, 0, 0, .5) !important;height:11Px;margin:0 .26041667vw!important}._offShelfBg_1feah_255{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:.72916667vw;background-color:rgba(0,0,0,.7);z-index:10;display:flex;align-items:center;justify-content:center;flex-direction:column}._offShelfBg_1feah_255 ._offShelfTips_1feah_269{font-size:1.14583333rem;font-weight:600;color:#fff;line-height:1.5625vw;padding-bottom:1.66666667vw}._offShelfBg_1feah_255 ._offShelfBtn_1feah_276{height:2.29166667vw;border-radius:.52083333vw;min-width:6.45833333vw}._removeVisiable_1feah_281{width:22.5vw}._removeVisiable_1feah_281 .n-card-header{font-size:max(1.14583333rem,16Px)}._removeVisiable_1feah_281 ._studentRemove_1feah_287{padding:1.04166667vw 2.08333333vw 0}._removeVisiable_1feah_281 ._studentRemove_1feah_287 p{font-size:max(.9375rem,14Px);color:#777;line-height:1.5625vw;text-align:center}._removeVisiable_1feah_281 ._studentRemove_1feah_287 p span{color:#ea4132}._removeVisiable_1feah_281 ._btnGroupModal_1feah_299{padding:1.66666667vw 0}._removeVisiable_1feah_281 ._btnGroupModal_1feah_299 .n-button{height:2.44791667vw;min-width:8.125vw}._reportModel_1feah_306{width:62.5vw;overflow:hidden}._trainUpdate_19qoy_1{padding:1.25vw 1.5625vw}._trainUpdate_19qoy_1 ._updateBtnGroup_19qoy_4{padding:0;justify-content:center!important}._trainUpdate_19qoy_1 ._updateBtnGroup_19qoy_4 .n-button{height:2.5vw!important;min-width:8.125vw}._trainUpdate_19qoy_1 ._switch_19qoy_12{height:1.92708333vw!important;border-radius:.41666667vw}._trainUpdate_19qoy_1 ._switch_19qoy_12._active_19qoy_16{background:#198CFE;color:#fff}._trainUpdate_19qoy_1 ._difficultySpace_19qoy_20{gap:.3125vw .52083333vw}._trainUpdate_19qoy_1 .n-input-group-label{width:3.95833333vw;padding:0;text-align:center;background-color:#fff;border-radius:.41666667vw}._trainUpdate_19qoy_1 .n-input{border-radius:.41666667vw}._trainUpdate_19qoy_1 ._scoreGroup_19qoy_33{display:flex}._selectMusic_fj7p5_1{padding-bottom:.52083333vw;height:85vh}._selectMusic_fj7p5_1 .n-tabs-tab-pad{width:4.16666667vw!important}._selectMusic_fj7p5_1 .n-tabs-nav{padding:0 1.04166667vw}._selectMusic_fj7p5_1 .n-tabs-nav .n-tabs-nav-scroll-wrapper{padding:1.04166667vw 0 1.5625vw}._selectMusic_fj7p5_1 .n-tabs-tab{color:#8b8d98;font-size:max(1.14583333rem,14Px);padding-top:.625vw;padding-bottom:.3125vw;line-height:1.14583333vw}._selectMusic_fj7p5_1 .n-tabs-tab.n-tabs-tab--active{font-weight:600!important;color:#131415!important}._selectMusic_fj7p5_1 .n-tabs-tab__label{z-index:10}._selectMusic_fj7p5_1 .n-tabs-bar{height:.52083333vw;background:linear-gradient(90deg,#77BBFF 0%,rgba(163,231,255,.22) 100%);z-index:0;bottom:.10416667vw}._selectMusic_fj7p5_1 .n-tab-pane{padding-top:0!important}._selectMusic_fj7p5_1 ._close_fj7p5_37{padding:0}._selectMusic_fj7p5_1 ._close_fj7p5_37 .n-icon{font-size:var(--n-close-size);color:var(--n-close-icon-color)}._listContainer_fj7p5_44{margin-bottom:1.04166667vw;max-height:50vh}._selectMusic_1mm1o_1 ._close_1mm1o_1{padding:0}._selectMusic_1mm1o_1 ._close_1mm1o_1 .n-icon{font-size:var(--n-close-size);color:var(--n-close-icon-color)}._listContainer_1mm1o_8{margin-bottom:1.04166667vw}._listContainer_1mm1o_8 ._emptySection_1mm1o_11{display:flex;align-items:center}._list_1mm1o_8{margin-top:.52083333vw;padding:0 2.08333333vw;margin-bottom:.625vw;display:flex;flex-flow:row wrap;justify-content:flex-start;gap:1.14583333vw}._searchGroup_1mm1o_24{position:relative;padding:0 2.08333333vw}._searchGroup_1mm1o_24 .n-form-item .n-form-item-label{font-size:.88541667rem;font-weight:600;color:#131415;line-height:1.25vw}._searchGroup_1mm1o_24 .n-form-item .n-button{--n-padding: 4Px 1.04166667vw !important;height:1.66666667vw;font-size:max(.88541667rem,12Px);border-radius:8Px;color:rgba(0,0,0,.6)}._searchGroup_1mm1o_24 .n-form-item .n-button--primary-type{color:#131415}._searchGroup_1mm1o_24 .n-form-item-feedback-wrapper{min-height:.72916667vw}._inputSearch_1mm1o_47{position:absolute;top:.20833333vw;right:2.08333333vw;width:18.75vw!important;height:2.1875vw!important;font-size:.83333333rem}._inputSearch_1mm1o_47 .n-input-wrapper{padding-left:.625vw;padding-right:.20833333vw}._inputSearch_1mm1o_47 .n-input__input-el{height:2.1875vw!important}._inputSearch_1mm1o_47 ._searchBtn_1mm1o_62{height:1.77083333vw;border-radius:.41666667vw;font-size:.78125rem;font-weight:500}._popSelect_1mm1o_68{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_1mm1o_68 .n-base-select-option__content{width:80%!important}._spaceSection2_1mm1o_78{width:69%;transition:1s all ease-in}._spaceSection2_1mm1o_78>div{height:34Px!important;display:flex;align-items:center}._spaceSection2_1mm1o_78 ._textBtn_1mm1o_87{background:#fff;border-radius:8Px;padding:4Px 1.04166667vw;font-size:max(.88541667rem,12Px);color:rgba(0,0,0,.6);cursor:pointer;display:flex;align-items:center;font-weight:500;line-height:1.25vw}._spaceSection2_1mm1o_78 ._textBtn_1mm1o_87 ._iconArrow_1mm1o_99{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)}._spaceSection2_1mm1o_78 ._textBtn_1mm1o_87:hover,._spaceSection2_1mm1o_78 ._textBtn_1mm1o_87._textBtnActive_1mm1o_108{background:#D2ECFF;font-weight:500;color:#131415}._spaceSection2_1mm1o_78 ._textBtn_1mm1o_87:hover ._iconArrow_1mm1o_99{transform:rotate(0)}._spaceSection_1mm1o_78{width:71%;gap:.41666667vw .625vw!important;padding-right:2.08333333vw}._spaceSection_1mm1o_78>div{line-height:var(--n-blank-height)}._collapseWrap_1mm1o_124{width:98%;display:flex;flex-direction:row;align-items:flex-end}._collaoseGroup_1mm1o_130{height:var(--n-blank-height);position:absolute;display:flex;align-items:center;padding-left:.41666667vw}._collaoseBtn_1mm1o_137{width:1.66666667vw;height:1.66666667vw;cursor:pointer}._collaoseBtn_1mm1o_137._isStart_1mm1o_142{transform:rotate(-180deg)}._collapsSection_1mm1o_145{padding-top:.15625vw}._collapsSection_1mm1o_145._collapsSectionEmpty_1mm1o_148{opacity:0;visibility:hidden;display:none}._isHidden_1mm1o_153{overflow:hidden;transition:1s all ease-in}._hideButton_1mm1o_157{visibility:hidden;height:0!important;line-height:0!important}\n",document.head.appendChild(t);const ae=i("input-group-label","\n position: relative;\n user-select: none;\n -webkit-user-select: none;\n box-sizing: border-box;\n padding: 0 12px;\n display: inline-block;\n border-radius: var(--n-border-radius);\n background-color: var(--n-group-label-color);\n color: var(--n-group-label-text-color);\n font-size: var(--n-font-size);\n line-height: var(--n-height);\n height: var(--n-height);\n flex-shrink: 0;\n white-space: nowrap;\n transition: \n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier);\n",[a("border","\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n border-radius: inherit;\n border: var(--n-group-label-border);\n transition: border-color .3s var(--n-bezier);\n ")]),ne=Object.assign(Object.assign({},o.props),{size:{type:String,default:"medium"},bordered:{type:Boolean,default:void 0}}),re=n({name:"InputGroupLabel",props:ne,setup(e){const{mergedBorderedRef:t,mergedClsPrefixRef:i,inlineThemeDisabled:a}=r(e),n=o("Input","-input-group-label",ae,u,e,i),d=s((()=>{const{size:t}=e,{common:{cubicBezierEaseInOut:i},self:{groupLabelColor:a,borderRadius:r,groupLabelTextColor:o,lineHeight:s,groupLabelBorder:c,[l("fontSize",t)]:d,[l("height",t)]:u}}=n.value;return{"--n-bezier":i,"--n-group-label-color":a,"--n-group-label-border":c,"--n-border-radius":r,"--n-group-label-text-color":o,"--n-font-size":d,"--n-line-height":s,"--n-height":u}})),m=a?c("input-group-label",s((()=>e.size[0])),d,e):void 0;return{mergedClsPrefix:i,mergedBordered:t,cssVars:a?void 0:d,themeClass:null==m?void 0:m.themeClass,onRender:null==m?void 0:m.onRender}},render(){var e,t,i;const{mergedClsPrefix:a}=this;return null===(e=this.onRender)||void 0===e||e.call(this),d("div",{class:[`${a}-input-group-label`,this.themeClass],style:this.cssVars},null===(i=(t=this.$slots).default)||void 0===i?void 0:i.call(t),this.mergedBordered?d("div",{class:`${a}-input-group-label__border`}):null)}}),oe=e("u",m("prepare-lessons-store",{state:()=>({subjectId:null,instrumentId:null,baseCourseware:{},selectKey:"",lessonCoursewareId:"",subjectList:[],instrumentList:[],lessonCoursewareDetailId:"",treeList:[],coursewareList:[],trainList:[],tabType:"courseware",selectMusicStatus:!1,selectResourceStatus:!1,isAddResource:!1,isEditResource:!1,iseditTrain:!1,isAddTrain:!1,classGroupId:null}),getters:{getSubjectId(){return this.subjectId},getInstrumentId(){return this.instrumentId},getBaseCourseware(){return this.baseCourseware},getSelectKey(){return this.selectKey},getSelectName(){let e="";for(let t=0;t<this.getTreeList.length;t++){const i=this.getTreeList[t];i.id===this.selectKey&&(e=i.name),!e&&i.knowledgeList.length>0&&i.knowledgeList?.forEach((t=>{t.id===this.selectKey&&(e=t.name)}))}return e},getLessonCoursewareId(){return this.lessonCoursewareId},getLessonCoursewareDetailId(){return this.lessonCoursewareDetailId},getTreeList(){return this.treeList},getCoursewareList(){return this.coursewareList},getTrainList(){return this.trainList},getTabType(){return this.tabType},getSelectMusicStatus(){return this.selectMusicStatus},getSelectResourceStatus(){return this.selectResourceStatus},getIsAddResource(){return this.isAddResource},getIsEditResource(){return this.isEditResource},getIsEditTrain(){return this.iseditTrain},getIsAddTrain(){return this.isAddTrain},getSubjectList(){return this.subjectList},getInstrumentList(){return this.instrumentList},getFormatInstrumentList(){const e=[];return this.instrumentList.forEach((t=>{t.value=t.id,t.label=t.name,t.instruments&&t.instruments.length>0&&t.instruments.forEach((e=>{e.label=e.name,e.value=e.id}));const i={value:t.id,label:t.name,id:t.id,name:t.name,instruments:[]};t.instruments&&(1==t.instruments.length?(i.value=t.instruments[0].id,i.label=t.instruments[0].name,i.id=t.id,i.name=t.name):t.instruments.length>1&&t.instruments.forEach((e=>{e.label=e.name,e.value=e.id,i.instruments.push({label:e.name,value:e.id,id:e.id,name:e.name})}))),e.push(i)})),e},getSingleInstrumentList(){const e=[];return this.instrumentList.forEach((t=>{Array.isArray(t.instruments)&&t.instruments.forEach((t=>{e.push(t)}))})),e},getClassGroupId(){return this.classGroupId}},actions:{setSubjectId(e){this.subjectId=e},setInstrumentId(e){this.instrumentId=e},setBaseCourseware(e){this.baseCourseware=e},setSelectKey(e){this.selectKey=e},setLessonCoursewareId(e){this.lessonCoursewareId=e},setLessonCoursewareDetailId(e){this.lessonCoursewareDetailId=e},setTreeList(e){this.treeList=e},setCoursewareList(e){this.coursewareList=e},setTrainList(e){this.trainList=e},setTabType(e){this.tabType=e},setSelectMusicStatus(e){this.selectMusicStatus=e},setSelectResourceStatus(e){this.selectResourceStatus=e},setIsAddResource(e){this.isAddResource=e},setIsAddTrain(e){this.isAddTrain=e},setIsEditResource(e){this.isEditResource=e},setIsEditTrain(e){this.iseditTrain=e},setSubjectList(e){this.subjectList=e},setInstrumentList(e){this.instrumentList=e},setClassGroupId(e){this.classGroupId=e}}})),se={trainType:"_trainType_1feah_1",overflowBg:"_overflowBg_1feah_11",iconDelete:"_iconDelete_1feah_26",trainDisabled:"_trainDisabled_1feah_31","train-header":"_train-header_1feah_34",title:"_title_1feah_40","title-tag":"_title-tag_1feah_47","title-text":"_title-text_1feah_52",btn:"_btn_1feah_55","train-content":"_train-content_1feah_80",preview:"_preview_1feah_100",previewBtn:"_previewBtn_1feah_115",disPreview:"_disPreview_1feah_121",disPreviewDivide:"_disPreviewDivide_1feah_134",BProgress:"_BProgress_1feah_144","train-footer":"_train-footer_1feah_178",type:"_type_1feah_184",operation:"_operation_1feah_190",iconEdit:"_iconEdit_1feah_200",trainInfo:"_trainInfo_1feah_211",trainName:"_trainName_1feah_214",PRACTICE:"_PRACTICE_1feah_236",EVALUATION:"_EVALUATION_1feah_239",tagList:"_tagList_1feah_242",offShelfBg:"_offShelfBg_1feah_255",offShelfTips:"_offShelfTips_1feah_269",offShelfBtn:"_offShelfBtn_1feah_276",removeVisiable:"_removeVisiable_1feah_281",studentRemove:"_studentRemove_1feah_287",btnGroupModal:"_btnGroupModal_1feah_299",reportModel:"_reportModel_1feah_306"},le=e("i","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAv1JREFUaEPdmk3LElEUgJ+Xoi+VXmoXFlHbqIjQWhhoYAujRUofBG76C1K/ofAvtBGiD7RF5OIVUshFKREVbYsoaZcUal8U1XmZsdswztwZxzdus9M599zz3HvuuefcO0sY/iwt0P5NwBZL/yfgyyL6igpgK7Ab2AkkLMPXOQz+AQjICHgLvAY+zgs1D4CM8D5gD7Ac0pAPwCvgRdgZCgOw3jL8ILAhpOHOZt+ApxbI9yA6gwLsBY4qvh2kLx1ZcbGHwEsdYZHRBRC5NLBfV/Gccs+BHvDTT48OgLhJDtjlpyzi92+ANiDuNfPxAxDjTwHbIjZOV90QuOsF4QUg7078g5F3wslMrMxyJy+AI2vo834zImvikZvQLACJNsf9tK7x+/tu0ckNQOL8uQWGyrDcEmJvAn/tE24AskGlwvay4HZ9a8ObduMEkPRARj+qHTZqHgmpMgvTxNAJcPh32Dqk22symdxYq9UKsVhsc6VSaXa7XcltfJ9MJrNcrVYLk8nkc7lcbg4Gg6++jf4IPAEe2z+dAGeCJGbtdvt0NpuVUMtoNBqWSqVqq9V672VMPp/fXq/XK4lEYnVv6XQ6K7lc7k4AABmk224AkhKfDaCIXq93IZVKHbPb+EE4jZd2/X7/QTqdvh6kX+CWnYqrM3DAyne0dYkrNJvNy/Zoes2Em/ECXCgUrui6nmKY5EnP5LcKcBLYoW29JTjLMNWddGQC9vsOuOcEOG9VUwF1gZeBokz1+SDrxcMQqepuOAEuAs4yUBvGDWI8Hq9GpXg8Pq3Y/NaJZodSnl5TAST+lzUbzxRzg1CFIzLeVlmT/cBeAxLSSvMCSHuBaDQal9RRl/9lNorF4lW/MBvAhjow/G8AjHchmTmjF7EAGB9Gjd/IjE8ljE/mZB0YnU4LgPEFjfElpcyC0UW9ABh/rCIQRh9s2Qmh0UeLdq1g9OGuQBh9vG67ktEXHDaE0VdMapVn7CWfCmH0NasKYuxFt9vBgZGfGvidgBj1sYcfzMLe/wKQ8MpA36SweQAAAABJRU5ErkJggg=="),ce=(e("T",n({name:"train-type",props:{type:{type:String,default:"homework"},item:{type:Object,default:()=>({})},isDelete:{type:Boolean,default:!1},isDisabled:{type:Boolean,default:!1},isLarge:{type:Boolean,default:!1},offShelf:{type:Boolean,default:!1},isCLassWork:{type:Boolean,default:!1},from:{type:String,default:""}},emits:["click","delete","edit","offShelf"],setup(e,{emit:t}){const i=h(),a=p(),n=g(!1),r=g(!1),o=g({type:"MUSIC",content:e.item.musicId,title:e.item.musicName}),l=g(""),c=g(!1),d=s((()=>{const t=e.item;return!!t&&("EVALUATION"===t.trainingType?(t.trainingTimes||0)>=(t.allTimes||0):(t.trainingTimes?parseInt(t.trainingTimes/60+""):0)>=(t.allTimes||0))}));return s((()=>!(!e.isDisabled||e.isCLassWork||"EVALUATION"!==e.item.trainingType))),()=>_("div",{class:[se.trainType,"EVALUATION"===e.item.trainingType?se.evaluationType:""],onClick:()=>t("click",e.item)},[_("div",{class:[se["train-content"],e.isDisabled&&!e.isCLassWork&&se.trainDisabled,e.isLarge&&se.trainDisabled],onClick:()=>{e.isDisabled&&!e.isCLassWork||(o.value={type:"MUSIC",content:e.item.musicId,title:e.item.musicName},r.value=!0)}},[_(f,{src:e.item.coverImg,previewDisabled:!0,objectFit:"contain"},null),e.isDisabled&&!e.isCLassWork?_("div",{class:se.disPreview},[_(A,{percentage:"EVALUATION"===e.item.trainingType?Number(e.item.trainingTimes)/Number(e.item.allTimes)*100:Number(e.item.trainingTimes)/60/Number(e.item.allTimes)*100,"offset-degree":180,type:"circle","rail-color":"8b8b8b",color:d.value?"#6CFFC1":"#FF7794",style:"width: 120px; margin: 0 0 10px;"},{default:()=>[_("div",{class:se.BProgress},["EVALUATION"===e.item.trainingType?_("h4",null,[e.item.trainingTimes,_("span",null,[v("分")])]):_("h4",null,[e.item.trainingTimes?parseInt(e.item.trainingTimes/60+""):0,_("span",null,[v("分钟")])]),_("p",null,["EVALUATION"===e.item.trainingType?"学生分数":"实际练习"," "])])]}),_("p",{class:se.disPreviewDivide},["EVALUATION"===e.item.trainingType?"合格分数":"练习时长要求",e.item.allTimes,"EVALUATION"===e.item.trainingType?"分":"分钟"])]):null,e.isDelete&&_("img",{src:le,class:se.iconDelete,onClick:i=>{i.stopPropagation(),t("delete",e.item)}},null)]),_("div",{class:se["train-footer"]},[_("div",{class:se.trainInfo},[_("div",{class:se.trainName},[_("span",{class:[se.type,se[e.item.trainingType]]},["EVALUATION"===e.item.trainingType?"评测":"练习"]),_("div",{class:se["title-text"]},[_(X,{text:e.item.musicName},null)])]),_("div",{class:se.tagList},[e.item.typeList?.map(((t,i)=>_(b,null,[_("span",null,[t]),e.item.typeList.length-1>i&&_(w,{vertical:!0},null)])))])]),e.isDisabled?null:_(y,{size:12},{default:()=>[_(I("n-button"),{quaternary:!0,disabled:!e.isDelete,class:se.operation,onClick:i=>{i.stopPropagation(),t("edit",e.item)}},{default:()=>[_(S,{showArrow:!1},{trigger:()=>_("i",{class:se.iconEdit},null),default:"编辑"})]})]}),e.isDisabled&&!e.isCLassWork&&"EVALUATION"===e.item.trainingType&&e.item?.recordId?_(b,null,[_(y,{size:12},{default:()=>[_(I("n-button"),{quaternary:!0,disabled:e.isDelete,class:se.operation,onClick:t=>{t.stopPropagation(),(e=>{if(!e.id)return void a.error("暂无评测记录");const t=i.getToken;l.value=Q()+`/instrument/#/evaluat-report?id=${e.id}&Authorization=${t}`,c.value=!0})({id:e.item.recordId})}},{default:()=>[_(S,{showArrow:!1},{trigger:()=>_("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAABGCAYAAAB12zK5AAAAAXNSR0IArs4c6QAABotJREFUeF7tnF9IZUUcx7/jSvlihIGGmCiu5IOwuisokbD0sroWC2Yka6HGmiGGVA+FPahoUQ8VqwiVkn/yQW1lF5JVX0QpWmEpFUINdRVXXZVaJF+2ZXHydzrnds/x3HvOnDvneu9yfnAfrndmfjMfZ37zm9/8YfBER4CFiwfn/DSAAgDPA8gCQN+fBhCvfqgqB+pnH8AKgCUAfwCYYYzRd9fFNSCc8ycBvALgZQAvAXguxNbcBTAJYBTAj4yxf0IszzS7dCCc87MA3gbwutoD3Kg39aAhAN8yxn6TqUAaEM75iwA+PureRTIraKOscQCfMMZ+tpHWMknIQFTb0HECIIyNIzDvhmprHAPhnD8BoBHARwDIXkSCkF35DMCnjLGHTirkCAjnPEMdw+ecKA1Dnl/JhjHGVkV1CQPhnL8K4DsAT4kqC3P6vwG8xRgbEdErBIRz/t6Rz/AFAKF8IhWSnJYf+TUfMMa+sluu7YZxzmlsfmi34AhL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i27h69aoSd3VDJANRpl3XHLOtrS0FiJtRNMlAFMcs7K67zJ4iGYjiukfM4s4JKMlAlMUdBUEjYvkfAUAyQwoQzc/PIyfH0TLISdtt5Zmbm8OZM2dspTUk+i9ARH/knDsKIdJOXVZWFlZXhc+2OamwZR6K+C8uLoJ28hyILoToKMhMSm/fvq2E9E5qX1drOO3vUrQtLy/PAQslSxmdGwlpG0LTfHBwgOnpaaytkY8XfqH1zfnz55XFn0PRb0Oow0Z4o8qh8kjMpt+oUoHQoX2hrUyrlu3t7WF2dtY0FGiV1+x3Cibl5uYiMTHRSfZgeY5vZapQhDa7g2kgQ0uVp+EkU2hYEOSMDDpMLUXMN7tVIHSjQeg4RKAq9fb2orq6WkqNjYX09PSgqqpKVtmBj0PI7CW7u7tKRJ2OTMgUMqAzMzNISkqSUWzwAzMqEPJchY9UmdWO/JSNjQ2pNiQ1NdWpn2Gsor0jVSoU79CdPz7vWKZJf/cO7ppDobsx3tFuw/ChOzLe4X8DlGi+K6M1Rc71EK20KL8zYwsGtdXyvozJ8PGumBmgeJcQjROQd03VfEr2LjKbrVe8q+4B1pjeYwiBwXjPZQQYSt6DKsEiNn5P7tBzO/Tsjp0nd+i5HXp2J/qf3JERzjqJMv4Fq+ybxlEMybAAAAAASUVORK5CYII="},null),default:"评测报告"})]}),_(I("n-button"),{quaternary:!0,disabled:e.isDelete,class:se.operation,onClick:t=>{t.stopPropagation(),(async()=>{try{if(!e.item?.recordId)return void a.error("暂无数据");const{data:t}=await H({id:e.item.recordId});if(t.videoFilePath||t.recordFilePath){let i="";i=t.videoFilePath?k(t.videoFilePath):k(t.recordFilePath);const a=t.videoFilePath||t.recordFilePath;o.value.content=a,o.value.title=e.item.musicName,"video"===i?o.value.type="VIDEO":"audio"===i&&(o.value.type="SONG"),r.value=!0}else a.error("暂无数据")}catch{}})()}},{default:()=>[_(S,{showArrow:!1},{trigger:()=>_("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAABGCAYAA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6cBM9qn+AFm+fDmYF9nNgQIRmEmH7rKA8Dihs7O7wYc1VarHmjVrbIsLVOjuKLmzvQoA6enpanJHg8xk0Kp6+D4rUMkdG2il038ZQNzgCVj6z8kpiiJdIHJjcTIyAlYg0gBxVEKUWZATHhabqWp6cruE6KjI7GRxdnkDWGROYN+Ia8cQdhcmM77fjiE0tXF8UCWzSCs8/X5QpQHCpn3HR5lWFmh1zIAeZWqguHLYbXXB+nFM4z2H3Y2NjTh79uzAHnZrgPBGgyvtEFZB8WTMnjKCGV+/tkMMxC7R11T6AmNAGmY0QBi5utpS1ddC+wIkKFqqNFAC1nTnC45HZdrb24Oz6U4DhDXWUFum/tcLNe76UfRQa7d/UHhHJtT876M+g/mujGcp7lwP8Ugb5HdmLIHBtdrqhAtdMTM2tKFLiH5cMq+aB+v1kf67pqqzKaGLzP5yktBVd4NMLfQyBGNgQq/LMFCl0AtV+qp76F65wzZD9kBZeeUOe6PYBDv4X7ljVgoM1u//B38cd8bHRIVIAAAAAElFTkSuQmCC"},null),default:"查看回放"})]})]})]):""]),e.offShelf&&_("div",{class:se.offShelfBg},[_("p",{class:se.offShelfTips},[v("该资源已被下架")]),_(C,{type:"primary",class:se.offShelfBtn,onClick:()=>t("offShelf")},{default:()=>[v("确认")]})]),_(B,{maskClosable:x,show:n.value,"onUpdate:show":e=>n.value=e,preset:"card",class:["modalTitle",se.removeVisiable],title:"提示"},{default:()=>[_("div",{class:se.studentRemove},[_("p",null,[v("您确定是否删除?")]),_(y,{class:se.btnGroupModal,justify:"center"},{default:()=>[_(C,{round:!0,type:"primary",onClick:()=>{n.value=!1,t("delete",e.item)}},{default:()=>[v("确定")]}),_(C,{round:!0,onClick:()=>n.value=!1},{default:()=>[v("取消")]})]})])]}),_(z,{from:e.from,show:r.value,"onUpdate:show":e=>r.value=e,item:o.value,isDownload:!1},null),_(B,{maskClosable:x,show:c.value,"onUpdate:show":e=>c.value=e,preset:"card",class:["modalTitle background",se.reportModel],title:"评测报告"},{default:()=>[_("div",{class:se.reportContainer,style:{lineHeight:0}},[_("iframe",{width:"100%",height:"450px",frameborder:"0",onLoad:e=>{E(e.target)},src:l.value},null)])]})])}})),"_trainUpdate_19qoy_1"),de="_updateBtnGroup_19qoy_4",ue="_switch_19qoy_12",me="_active_19qoy_16",he="_difficultySpace_19qoy_20",pe="_scoreGroup_19qoy_33",ge=(e("a",n({name:"train-update",props:{item:{type:Object,default:()=>({})},type:{type:String,default:"train"}},emits:["close","confirm"],setup(e,{emit:t}){p();const i=R({id:null,uploading:!1,baseMaxScore:99,type:"PRACTICE",musicId:"",musicName:"",coursewareKnowledgeDetailId:"",minScore:null,maxScore:null,subjectId:"",coverImg:"",practiceSpeed:null,practiceTimes:null,difficulty:"BEGINNER",evaluationSpeed:null,evaluationScore:null}),a=g();return T((()=>{const t=e.item;console.log(t,"item"),t.trainId?(i.id=t.trainId,i.practiceSpeed=Number(t.practiceSpeed),i.type=t.trainingType,i.minScore=t.practiceChapterBegin,i.maxScore=t.practiceChapterEnd,"PRACTICE"===t.trainingType?i.practiceTimes=t.trainingTimes:i.evaluationScore=t.trainingTimes,i.difficulty=t.evaluateDifficult||"BEGINNER",i.evaluationSpeed=t.evaluateSpeed):(i.minScore=1,i.maxScore=t.practiceChapterMax?t.practiceChapterMax:1),i.baseMaxScore=t.practiceChapterMax||99,i.musicId=t.id,i.musicName=t.musicName,i.coursewareKnowledgeDetailId=t.coursewareKnowledgeDetailId,i.subjectId=t.subjectId,i.coverImg=t.coverImg})),()=>_("div",{class:ce},[_(U,{ref:a,model:i,labelAlign:"right",labelPlacement:"left"},{default:()=>[_(M,{label:"训练方式",path:"type",rule:[{required:!0,message:"请选择训练方式"}]},{default:()=>[_(y,null,{default:()=>[_(C,{secondary:!0,class:[ue,"PRACTICE"===i.type?me:""],onClick:()=>i.type="PRACTICE"},{default:()=>[v("练习")]}),e.item.containAccompaniment?_(C,{secondary:!0,class:[ue,"EVALUATION"===i.type?me:""],onClick:()=>i.type="EVALUATION"},{default:()=>[v("评测")]}):_(S,{showArrow:!1},{trigger:()=>_(C,{disabled:!0,secondary:!0,class:[ue]},{default:()=>[v("评测")]}),default:()=>"该曲目暂不支持评测"})]})]}),_("div",{class:pe},[_(M,{label:"PRACTICE"===i.type?"练习小节":"评测小节",path:"minScore",rule:[{required:!0,message:"请输入最小练习小节",trigger:["blur","change"],type:"number"}]},{default:()=>[_(P,{value:i.minScore,"onUpdate:value":[e=>i.minScore=e,()=>{i.maxScore=null}],showButton:!1,min:1,max:i.baseMaxScore,precision:0,placeholder:"最小练习小节",clearable:!0},null)]}),_("div",{style:{"--n-feedback-height":"24px",display:"flex",alignItems:"center",margin:"-2px 2% 0 2%",marginBottom:"var(--n-feedback-height)"}},[v("-")]),_(M,{path:"maxScore",rule:[{required:!0,message:"请输入最大练习小节",trigger:["blur","change"],type:"number"}]},{default:()=>[_(P,{value:i.maxScore,"onUpdate:value":e=>i.maxScore=e,showButton:!1,precision:0,min:i.minScore||1,max:i.baseMaxScore,placeholder:"最大练习小节",clearable:!0},null)]})]),"PRACTICE"===i.type&&_(b,null,[_(M,{label:"练习速度",path:"practiceSpeed",rule:[{required:!0,message:"请输入练习速度",trigger:["blur","change"],type:"number"}]},{default:()=>[_(P,{min:60,max:270,precision:0,showButton:!1,style:{width:"100%"},value:i.practiceSpeed,"onUpdate:value":e=>i.practiceSpeed=e,placeholder:"练习速度范围60~270",clearable:!0},null)]}),_(M,{label:"练习时长",path:"practiceTimes",rule:[{required:!0,message:"请输入练习时长",trigger:["blur","change"],type:"number"}]},{default:()=>[_(D,null,{default:()=>[_(P,{min:0,max:1e3,showButton:!1,precision:0,style:{width:"100%"},value:i.practiceTimes,"onUpdate:value":e=>i.practiceTimes=e,placeholder:"请输入练习时长",clearable:!0},null),_(re,null,{default:()=>[v("分钟")]})]})]})]),"EVALUATION"===i.type&&_(b,null,[_(M,{label:"评测难度",path:"type",rule:[{required:!0,message:"请选择评测难度"}]},{default:()=>[_(y,{class:he},{default:()=>[_(C,{secondary:!0,class:[ue,"BEGINNER"===i.difficulty?me:""],onClick:()=>i.difficulty="BEGINNER"},{default:()=>[v("入门级")]}),_(C,{secondary:!0,class:[ue,"ADVANCED"===i.difficulty?me:""],onClick:()=>i.difficulty="ADVANCED"},{default:()=>[v("进阶级")]}),_(C,{secondary:!0,class:[ue,"PERFORMER"===i.difficulty?me:""],onClick:()=>i.difficulty="PERFORMER"},{default:()=>[v("大师级")]})]})]}),_(M,{label:"合格分数",path:"evaluationScore",rule:[{required:!0,message:"请输入合格分数",trigger:["blur","change"],type:"number"}]},{default:()=>[_(D,null,{default:()=>[_(P,{min:0,max:100,precision:0,showButton:!1,style:{width:"100%"},value:i.evaluationScore,"onUpdate:value":e=>i.evaluationScore=e,placeholder:"请输入合格分数",clearable:!0},null),_(re,null,{default:()=>[v("分")]})]})]})]),_(y,{class:de},{default:()=>[_(C,{strong:!0,type:"default",round:!0,onClick:()=>t("close")},{default:()=>[v("取消")]}),_(C,{strong:!0,type:"primary",round:!0,onClick:()=>(async()=>{a.value?.validate((async e=>{if(!e){i.uploading=!0;try{const e={trainingType:i.type,musicId:i.musicId,musicName:i.musicName,coursewareKnowledgeDetailId:i.coursewareKnowledgeDetailId,subjectId:i.subjectId,id:i.id,coverImg:i.coverImg,trainingConfigJson:""},a={};a.practiceChapterBegin=i.minScore,a.practiceChapterEnd=i.maxScore,"PRACTICE"===i.type?(a.practiceSpeed=i.practiceSpeed,a.trainingTimes=i.practiceTimes):(a.evaluateDifficult=i.difficulty,a.evaluateSpeed=i.evaluationSpeed,a.trainingTimes=i.evaluationScore),a.practiceChapterMax=i.baseMaxScore,e.trainingConfigJson=a,t("close"),t("confirm",e)}catch{}i.uploading=!1}}))})()},{default:()=>[v("确认")]})]})]})])}})),{selectMusic:"_selectMusic_fj7p5_1",close:"_close_fj7p5_37",listContainer:"_listContainer_fj7p5_44"}),_e={selectMusic:"_selectMusic_1mm1o_1",close:"_close_1mm1o_1",listContainer:"_listContainer_1mm1o_8",emptySection:"_emptySection_1mm1o_11",list:"_list_1mm1o_8",searchGroup:"_searchGroup_1mm1o_24",inputSearch:"_inputSearch_1mm1o_47",searchBtn:"_searchBtn_1mm1o_62",popSelect:"_popSelect_1mm1o_68",spaceSection2:"_spaceSection2_1mm1o_78",textBtn:"_textBtn_1mm1o_87",iconArrow:"_iconArrow_1mm1o_99",textBtnActive:"_textBtnActive_1mm1o_108",spaceSection:"_spaceSection_1mm1o_78",collapseWrap:"_collapseWrap_1mm1o_124",collaoseGroup:"_collaoseGroup_1mm1o_130",collaoseBtn:"_collaoseBtn_1mm1o_137",isStart:"_isStart_1mm1o_142",collapsSection:"_collapsSection_1mm1o_145",collapsSectionEmpty:"_collapsSectionEmpty_1mm1o_148",isHidden:"_isHidden_1mm1o_153",hideButton:"_hideButton_1mm1o_157"};function fe(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!L(e)}const Ae=n({name:"ChildNodeSearch",props:{activeRow:{type:Object,default:()=>({})},list:{type:Array,default:()=>[]}},emits:["selectChildTag"],setup(e,{emit:t}){const{activeRow:i}=G(e),a=g({});return j((()=>e.activeRow),(()=>{i.value=e.activeRow,a.value={}})),()=>_(b,null,[i.value?.id&&_(b,null,[_(M,{label:i.value.columnName+":"},{default:()=>[_(y,{class:_e.spaceSection2},{default:()=>[i.value?.children.map((e=>_("span",{class:[_e.textBtn,(i.value.activeIndex||"")==e.id&&_e.textBtnActive],onClick:()=>{let n;i.value.activeIndex=e.id;let r="";e.children?(n=[{columnName:e.children[0].columnName,name:"全部",id:""},...e.children],r=e.children[0].columnName,a.value={...e,columnName:r,activeIndex:"",children:n}):a.value={},t("selectChildTag",i.value.activeIndex)}},[e.name])))]})]}),_(Ae,{activeRow:a.value,onSelectChildTag:e=>{t("selectChildTag",e||i.value.activeIndex)}},null)])])}}),ve=n({name:"search-group",props:{type:{type:String,default:""}},emits:["search","add"],setup(e,{emit:t}){const i=Z(),a=R({name:"",bookVersionId:null,musicalInstrumentId:null}),n=R({tempSubjectId:null,gradeList:[],musicCategory:[]}),r=R({selectParents:{},tags:[],tagActiveId:"",tagActive:{},childSelectId:null}),o=e=>{t("search",{...a,bookVersionId:r.childSelectId||r.tagActiveId},e)},s=W((()=>{o()}),500),l=g(),c=g([]),d=g(0),u=g(0),m=g(0),h=g(!1),p=g(!1),f=e=>{const t={};return e?.forEach((e=>{e.id===a.musicalInstrumentId&&(t.selected=!0,t.name=e.name)})),t};return T((async()=>{await i.getMusicTagTreeApi(),(()=>{const e=i.getMusicTagTree;r.tags=[{columnName:e[0].columnName,name:"全部",id:""},...e],r.tagActiveId=r.tags[0].id})(),await i.getSubjects(),d.value=l.value?.offsetHeight,u.value=l.value?.offsetHeight/m.value,(()=>{try{c.value=[...new Set(c.value)];let e=-1;c.value.forEach(((t,i)=>{0===i?(m.value=1,e=t.offsetLeft):t.offsetLeft===e&&0!=i&&m.value++,h.value?t.style.display="block":m.value>1?t.style.display="none":t.style.display="block"})),p.value=!0}catch{}})(),o("timer")})),()=>{let t,l;return _("div",{class:_e.searchGroup},[_(U,{labelAlign:"left",labelPlacement:"left"},{default:()=>[_("div",{class:[_e.collapsSection,"myResources"===e.type&&_e.collapsSectionEmpty]},[_(M,{label:r.tags[0]?.columnName+":"},{default:()=>[_(y,{class:_e.spaceSection2},fe(t=r.tags.map((e=>_("span",{class:[_e.textBtn,r.tagActiveId===e.id&&_e.textBtnActive],onClick:()=>{(e=>{let t;r.tagActiveId=e.id,r.childSelectId=null;let i="";e.children?(t=[{columnName:e.children[0].columnName,name:"全部",id:""},...e.children],i=e.children[0].columnName,r.selectParents={...e,columnName:i,activeIndex:"",children:t}):r.selectParents={},o()})(e)}},[e.name]))))?t:{default:()=>[t]})]}),_(Ae,{activeRow:r.selectParents,onSelectChildTag:e=>{r.childSelectId=e,o()}},null)]),_(M,{label:"乐器:"},{default:()=>[_(y,{class:_e.spaceSection2},fe(l=i.getSubjectInstruments.map((e=>e.instruments&&e.instruments.length>1?_(N,{options:e.instruments,trigger:"hover",scrollable:!0,value:n.tempSubjectId,"onUpdate:value":[e=>n.tempSubjectId=e,()=>{a.musicalInstrumentId=n.tempSubjectId,o()}],key:e.value,class:[_e.popSelect]},{default:()=>[_("span",{class:[_e.textBtn,f(e.instruments).selected&&_e.textBtnActive]},[f(e.instruments).name||e.name,_("i",{class:_e.iconArrow},null)])]}):_("span",{class:[_e.textBtn,a.musicalInstrumentId===e.value&&_e.textBtnActive],onClick:()=>{a.musicalInstrumentId=e.value,n.tempSubjectId=null,o()}},[e.name]))))?l:{default:()=>[l]})]}),_(J,{class:[_e.inputSearch],round:!0,onSearch:e=>{a.name=e,s()}},null)]})])}}}),be=e=>"shareResources"===e?2:"myResources"===e?3:"myCollect"===e?4:void 0,we=n({name:"select-music",props:{type:{type:String,default:""},from:{type:String,default:""}},emits:["add"],setup(e,{emit:t}){const i=oe(),a=R({searchHeight:"0px",loading:!1,finshed:!1,pagination:{page:1,rows:20},searchGroup:{name:"",type:"MUSIC",musicSheetCategoriesId:"",musicalInstrumentId:"",sourceType:be(e.type),status:1,versionFlag:!1,subjectId:null},tableList:[],show:!1,item:{},isShowAddDisabled:!i.getIsEditTrain}),n="musicSearchGroup"+ +new Date,r=async()=>{try{1===a.pagination.page&&(a.loading=!0);const{data:e}=await Y({...a.searchGroup,...a.pagination});if(a.loading=!1,1===e.current&&a.tableList.length>0)return;const t=e.rows||[],i=[];t.forEach((e=>{i.push({id:e.id,coverImg:e.coverImg||e.musicSvg,type:"MUSIC",title:e.name,isCollect:!!e.favoriteFlag,isSelected:"PLATFORM"===e.sourceFrom,refFlag:e.refFlag,content:e.id,xmlFileUrl:e.xmlFileUrl,containAccompaniment:e.containAccompaniment})})),a.tableList.push(...i),a.finshed=e.pages<=e.current}catch{a.loading=!1}},o=e=>{a.pagination.page=1,a.tableList=[],a.searchGroup=Object.assign(a.searchGroup,e),r()},s=$((e=>{o(e)}),500),l=W((()=>{a.pagination.page=a.pagination.page+1,r()}),500);return T((()=>{te(document.querySelector("."+n),(e=>{const t=e[0],{height:i}=t.contentRect;a.searchHeight=i+"px"})),"homework"===e.type&&(a.isShowAddDisabled=!1),r()})),()=>_("div",{class:_e.selectMusic},[_(ie,{class:_e.listContainer,style:{"max-height":"calc(85vh - var(--modal-lesson-tab-height) - 12px) "},onScroll:e=>{const t=e.target?.clientHeight,i=e.target?.scrollTop,n=e.target?.scrollHeight;t+i+20>=n&&!a.finshed&&!a.loading&&l()}},{default:()=>[_("div",{class:n},[_(ve,{type:e.type,onSearch:(e,t)=>{t?o(e):s(e)}},null)]),_(q,{show:a.loading,size:"small"},{default:()=>[_("div",{style:{"min-height":`calc(85vh - var(--modal-lesson-tab-height) - ${a.searchHeight} - 12px)`},class:[_e.listSection,!a.loading&&a.tableList.length<=0?_e.emptySection:""]},[a.tableList.length>0&&_("div",{class:_e.list},[a.tableList.map((e=>_(K,{isShowAdd:!0,isShowCollect:!0,item:e,onAdd:()=>t("add",e),disabledMouseHover:!1,onClick:()=>{"IMG"!==e.type&&(a.show=!0,a.item=e)},onCollect:e=>(async e=>{try{await O({materialId:e.id,favoriteFlag:e.isCollect?0:1,type:e.type}),e.isCollect=!e.isCollect}catch{}})(e)},null)))]),!a.loading&&a.tableList.length<=0&&_(ee,null,null)])]})]}),_(z,{from:e.from,show:a.show,"onUpdate:show":e=>a.show=e,item:a.item,isDownload:!1},null)])}});e("S",n({name:"select-music",props:{type:{type:String,default:"myResources"},from:{type:String,default:""}},emits:["select","add"],setup(e,{emit:t}){const{type:i}=G(e),a=g(i.value),n=Z();return T((async()=>{te(document.querySelector(".select-resource .n-tabs-nav--top"),(e=>{const t=e[0],{height:i}=t.contentRect;document.documentElement.style.setProperty("--modal-lesson-tab-height",i+"px")})),await n.getMusicSheetCategory(!0)})),()=>_("div",{class:[ge.selectMusic,"select-resource"]},[_(F,{animated:!0,value:a.value,paneClass:ge.paneTitle,justifyContent:"center",paneWrapperClass:ge.paneWrapperContainer,"onUpdate:value":e=>{a.value=e}},{default:()=>[_(V,{name:"myResources",tab:"我的曲目"},{default:()=>[_(we,{from:e.from,type:"myResources",onAdd:e=>t("add",e)},null)]}),_(V,{name:"shareResources",tab:"共享曲目"},{default:()=>[_(we,{from:e.from,type:"shareResources",onAdd:e=>t("add",e)},null)]}),_(V,{name:"myCollect",tab:"收藏曲目"},{default:()=>[_(we,{from:e.from,type:"myCollect",onAdd:e=>t("add",e)},null)]})]})])}}))}}}));