1 |
- System.register(["./api-legacy-f6c76495-1734950731618.js","./index-legacy-a561af25-1734950731618.js","./index-legacy-64cb7403-1734950731618.js","./searchArray-legacy-6b8f6cdf-1734950731618.js","./catchData-legacy-786f1507-1734950731618.js","./contants-legacy-71300fc2-1734950731618.js","./index-legacy-4630884d-1734950731618.js","./index-legacy-e3a3b720-1734950731618.js","./index-legacy-d4e0b22b-1734950731618.js","./index-legacy-aa08ad2b-1734950731618.js","./index-legacy-7dba2a59-1734950731618.js","./api-legacy-3c6cf578-1734950731618.js","./index-legacy-71e7b594-1734950731618.js","./index-legacy-308e11e0-1734950731618.js","./Slider-legacy-7133cde0-1734950731618.js","./urlUtils-legacy-47a65e18-1734950731618.js","./icon_default-legacy-fa9bb009-1734950731618.js","./useSpeak-legacy-4037e929-1734950731618.js","./api-legacy-9d2d8545-1734950731618.js","./icon-pan-legacy-9492b61b-1734950731618.js","./index-legacy-60895a24-1734950731618.js","./Scrollbar-legacy-0b9059a1-1734950731618.js","./Cascader-legacy-24e30d03-1734950731618.js"],(function(e,t){"use strict";var a,l,i,s,o,n,r,c,d,u,p,m,g,h,_,f,b,v,w,y,A,S,x,C,I,P,z,G,U,k,T,R,j,B,M,E,N,F,O,W,L,Q,Y,V,K,J,D,X,Z,q;return{setters:[e=>{a=e.C,l=e.u,i=e.v,s=e.w,o=e.x,n=e.y},e=>{r=e.P},e=>{c=e.T},e=>{d=e.r},e=>{u=e.u},e=>{p=e.a},e=>{m=e.d,g=e.e,h=e.r,_=e.q,f=e.f,b=e.x,v=e.j,w=e.S,y=e.N,A=e.F,S=e.g,x=e.ay,C=e.D,I=e.aR,P=e.A,z=e.$,G=e.C,U=e.T,k=e.a0,T=e.a1,R=e.k,j=e.E,B=e.y,M=e.l,E=e.m,N=e.b,F=e.o,O=e.U,W=e.t,L=e.v},e=>{Q=e.T},e=>{Y=e.C},e=>{V=e.A},e=>{K=e.g,J=e.s},e=>{D=e.s},e=>{X=e.U,Z=e.S,q=e.f},null,null,null,null,null,null,null,null,null,null],execute:function(){var t=document.createElement("style");t.textContent="._listWrap_sirzm_1{padding:1.66666667vw 1.04166667vw;background-color:#fff;border-radius:1.04166667vw;min-height:100%}._listWrap_sirzm_1 .n-tabs-tab-pad{width:4.16666667vw!important}._listWrap_sirzm_1 .n-tabs-nav{padding:0px 1.04166667vw 1.25vw}._listWrap_sirzm_1 .n-tabs-tab{color:#8b8d98;font-size:max(1.14583333rem,14Px);padding-top:0;padding-bottom:.3125vw;line-height:1.14583333vw}._listWrap_sirzm_1 .n-tabs-tab.n-tabs-tab--active{font-weight:600!important;color:#131415!important}._listWrap_sirzm_1 .n-tabs-tab__label{z-index:10}._listWrap_sirzm_1 .n-tabs-bar{height:.52083333vw;background:linear-gradient(90deg,#77BBFF 0%,rgba(163,231,255,.22) 100%);z-index:0;bottom:.10416667vw}._listWrap_sirzm_1 .n-tab-pane{padding:0 .625vw!important}._listWrap_sirzm_1 .n-pagination{margin-top:1.875vw!important}._list_sirzm_1{margin-top:.625vw;display:flex;flex-flow:row wrap;justify-content:flex-start;gap:1.14583333vw}._searchGroup_sirzm_46{position:relative;padding:0}._searchGroup_sirzm_46 ._btnType_sirzm_50{gap:0px 1.25vw!important}._searchGroup_sirzm_46 ._btnType_sirzm_50 .n-button{height:1.92708333vw;padding:0 1.25vw;font-size:.9375rem;color:rgba(0,0,0,.6)}._searchGroup_sirzm_46 ._btnType_sirzm_50 .n-button.n-button--primary-type{font-weight:700;color:#fff}._searchGroup_sirzm_46 .n-form{position:relative}._searchGroup_sirzm_46 .n-form-item .n-form-item-label{font-size:.88541667rem;font-weight:600;color:#131415;line-height:1.25vw}._searchGroup_sirzm_46 .n-form-item .n-button{height:1.66666667vw;font-size:.88541667rem;border-radius:.41666667vw;color:rgba(0,0,0,.6)}._searchGroup_sirzm_46 .n-form-item .n-button--primary-type{color:#131415}._searchGroup_sirzm_46 .n-form-item-feedback-wrapper{min-height:.72916667vw}._searchGroup_sirzm_46 ._inputSearch_sirzm_84{position:absolute;top:.20833333vw;right:0;width:18.75vw;height:2.1875vw;font-size:.83333333rem}._searchGroup_sirzm_46 ._inputSearch_sirzm_84 .n-input-wrapper{padding-left:.625vw;padding-right:.20833333vw;height:2.1875vw!important}._searchGroup_sirzm_46 ._inputSearch_sirzm_84 .n-button{height:1.77083333vw;font-size:.78125rem;font-weight:500;width:auto}._searchGroup_sirzm_46 ._searchCatatory_sirzm_103{display:flex;justify-content:space-between;padding-bottom:1.25vw;border-bottom:1px solid #F2F2F2;margin-bottom:1.04166667vw}._searchGroup_sirzm_46 ._searchCatatory_sirzm_103 ._addTrain_sirzm_110{height:1.92708333vw;border-radius:.41666667vw;font-size:.9375rem;background-color:#e8f4ff;color:#0378ec}._searchGroup_sirzm_46 ._searchCatatory_sirzm_103 ._addTrain_sirzm_110 img{width:.83333333vw;height:.83333333vw;margin-right:.41666667vw}._list_z74lt_1{margin-top:.625vw;display:flex;flex-flow:row wrap;justify-content:flex-start;gap:1.14583333vw 0;min-height:11.45833333vw;margin-left:-.625vw;margin-right:-.625vw}._list_z74lt_1 ._itemWrap_z74lt_11{width:20%;padding-bottom:calc(100% / 5 * .73333);position:relative}._list_z74lt_1 ._itemWrap_z74lt_11 ._itemWrapBox_z74lt_16{position:absolute;left:0;top:0;width:100%;height:100%;padding:0 .625vw}._list_z74lt_1 .card-section-container{width:100%;height:100%}._searchGroup_z74lt_28{position:relative;padding:0}._searchGroup_z74lt_28 ._btnType_z74lt_32{gap:0px 1.25vw!important}._searchGroup_z74lt_28 ._btnType_z74lt_32 .n-button{height:1.92708333vw;padding:0 1.25vw;font-size:max(.9375rem,13Px);color:rgba(0,0,0,.6)}._searchGroup_z74lt_28 ._btnType_z74lt_32 .n-button.n-button--primary-type{font-weight:700;color:#fff}._searchGroup_z74lt_28 .n-form{position:relative}._searchGroup_z74lt_28 .n-form-item .n-form-item-label{font-size:max(.88541667rem,13Px);font-weight:600;color:#131415;line-height:1.25vw}._searchGroup_z74lt_28 .n-form-item .n-button{height:1.66666667vw;font-size:max(.88541667rem,12Px);border-radius:.41666667vw;color:rgba(0,0,0,.6)}._searchGroup_z74lt_28 .n-form-item .n-button--primary-type{color:#131415;background-color:#d2ecff!important}._searchGroup_z74lt_28 .n-form-item-feedback-wrapper{min-height:.72916667vw}._searchGroup_z74lt_28 ._inputSearch_z74lt_67{position:absolute;top:.20833333vw;right:0;width:18.75vw;height:2.1875vw;font-size:max(.9375rem,13Px);--n-height: 2.1875vw !important}._searchGroup_z74lt_28 ._inputSearch_z74lt_67 img{width:.9375vw;height:.9375vw}._searchGroup_z74lt_28 ._inputSearch_z74lt_67 .n-input-wrapper{padding-left:.625vw;padding-right:.20833333vw;height:2.1875vw!important}._searchGroup_z74lt_28 ._inputSearch_z74lt_67 .n-button{height:1.77083333vw;font-size:max(.83333333rem,12Px);font-weight:500;width:auto}._searchGroup_z74lt_28 ._searchCatatory_z74lt_91{display:flex;justify-content:space-between;padding-bottom:1.25vw;border-bottom:1px solid #F2F2F2;margin-bottom:1.04166667vw}._searchGroup_z74lt_28 ._searchCatatory_z74lt_91 ._addTrain_z74lt_98{height:1.92708333vw;border-radius:.41666667vw;font-size:max(.9375rem,13Px);background-color:#e8f4ff;color:#0378ec}._searchGroup_z74lt_28 ._searchCatatory_z74lt_91 ._addTrain_z74lt_98 img{width:.83333333vw;height:.83333333vw;margin-right:.41666667vw}._teachingModal_z74lt_110{width:57.29166667vw}._spaceSection_z74lt_113{width:75%;transition:1s all ease-in}._spaceSection_z74lt_113>div{height:34Px!important;display:flex!important;align-items:center;line-height:var(--n-blank-height)}._collapseWrap_z74lt_123{width:98%;display:flex;flex-direction:row;align-items:flex-end}._collaoseGroup_z74lt_129{position:absolute;display:flex;align-items:center;padding-left:.41666667vw}._collaoseBtn_z74lt_135{width:1.66666667vw;height:1.66666667vw;cursor:pointer}._collaoseBtn_z74lt_135._isStart_z74lt_140{transform:rotate(-180deg)}._isHidden_z74lt_143{overflow:hidden;transition:1s all ease-in}._hideButton_z74lt_147{visibility:hidden;height:0!important;line-height:0!important}._popSelect_z74lt_152{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_z74lt_152 .n-base-select-option__content{width:80%!important}._spaceSection2_z74lt_162{width:76%;transition:1s all ease-in;padding-right:2.08333333vw}._textBtn_z74lt_167{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}._textBtn_z74lt_167 ._iconArrow_z74lt_179{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_z74lt_167:hover,._textBtn_z74lt_167._textBtnActive_z74lt_188{background:#D2ECFF;font-weight:500;color:#131415}._textBtn_z74lt_167:hover ._iconArrow_z74lt_179{transform:rotate(0)}._list_19bf2_1{margin-top:.625vw;display:flex;flex-flow:row wrap;justify-content:flex-start;gap:1.14583333vw 0;margin-left:-.625vw;margin-right:-.625vw}._searchGroup_19bf2_10{position:relative;padding:0}._searchGroup_19bf2_10 ._btnType_19bf2_14{gap:0px 1.25vw!important}._searchGroup_19bf2_10 ._btnType_19bf2_14 .n-button{--n-height: 1.92708333vw !important;height:1.92708333vw;padding:0 1.25vw;font-size:max(.9375rem,13Px);color:rgba(0,0,0,.6)}._searchGroup_19bf2_10 ._btnType_19bf2_14 .n-button.n-button--primary-type{font-weight:700!important;color:#fff}._searchGroup_19bf2_10 .n-form{position:relative}._searchGroup_19bf2_10 .n-form-item .n-form-item-label{font-size:.88541667rem;font-weight:600;color:#131415;line-height:1.25vw}._searchGroup_19bf2_10 .n-form-item .n-button{height:1.66666667vw;font-size:max(.88541667rem,12Px);border-radius:.41666667vw;color:rgba(0,0,0,.6)}._searchGroup_19bf2_10 .n-form-item .n-button--primary-type{font-weight:400!important}._searchGroup_19bf2_10 .n-form-item .n-button--primary-type{color:#131415;font-weight:700!important;background-color:#d2ecff!important}._searchGroup_19bf2_10 .n-form-item-feedback-wrapper{min-height:.72916667vw}._searchGroup_19bf2_10 ._inputSearch_19bf2_54{position:absolute;top:.20833333vw;right:0;width:18.75vw;height:2.1875vw;font-size:max(.9375rem,13Px);--n-height: 2.1875vw !important}._searchGroup_19bf2_10 ._inputSearch_19bf2_54 img{width:.9375vw;height:.9375vw}._searchGroup_19bf2_10 ._inputSearch_19bf2_54 .n-input-wrapper{padding-left:.625vw;padding-right:.20833333vw;height:2.1875vw!important}._searchGroup_19bf2_10 ._inputSearch_19bf2_54 .n-button{height:1.77083333vw;font-size:max(.83333333rem,12Px);font-weight:500;width:auto}._searchGroup_19bf2_10 ._searchCatatory_19bf2_78{display:flex;justify-content:space-between;padding-bottom:1.25vw;border-bottom:1px solid #F2F2F2;margin-bottom:1.04166667vw}._searchGroup_19bf2_10 ._searchCatatory_19bf2_78 ._btnGroup_19bf2_85{height:1.92708333vw}._searchGroup_19bf2_10 ._searchCatatory_19bf2_78 ._addTrain_19bf2_88{--n-height: 1.92708333vw !important;height:1.92708333vw;border-radius:.41666667vw;font-size:max(.9375rem,13Px);background-color:#e8f4ff;color:#0378ec}._searchGroup_19bf2_10 ._searchCatatory_19bf2_78 ._addTrain_19bf2_88._error_19bf2_96{color:#ec3a4e;background-color:#fdebed}._searchGroup_19bf2_10 ._searchCatatory_19bf2_78 ._addTrain_19bf2_88 img{margin-right:.41666667vw}._searchGroup_19bf2_10 ._searchCatatory_19bf2_78 ._addTrain_19bf2_88 ._iconUpload_19bf2_103{width:1.19791667vw;height:.98958333vw}._searchGroup_19bf2_10 ._searchCatatory_19bf2_78 ._addTrain_19bf2_88 ._iconEdit_19bf2_107{width:1.25vw;height:1.30208333vw}._searchGroup_19bf2_10 ._searchCatatory_19bf2_78 ._addTrain_19bf2_88 ._iconSelectAll_19bf2_111{width:1.04166667vw;height:1.04166667vw}._searchGroup_19bf2_10 ._searchCatatory_19bf2_78 ._addTrain_19bf2_88 ._iconDelete_19bf2_115{width:.9375vw;height:.9375vw}._searchGroup_19bf2_10 ._searchCatatory_19bf2_78 ._addTrain_19bf2_88 ._iconPen_19bf2_119{width:1.04166667vw;height:.98958333vw}._itemWrap_19bf2_123{width:20%;padding-bottom:calc(100% / 5 * .73333);position:relative}._itemWrap_19bf2_123 ._itemWrapBox_19bf2_128{position:absolute;left:0;top:0;width:100%;height:100%;padding:0 .625vw}._itemWrap_19bf2_123 .card-section-container{width:100%;height:100%}._itemWrap_19bf2_123 ._itemBg_19bf2_140{position:absolute;left:.625vw;top:0;width:calc(100% - 1.25vw);height:100%;z-index:99;border-radius:.72916667vw}._itemWrap_19bf2_123 ._itemBg_19bf2_140._itemBgChecked_19bf2_149{background-color:rgba(0,0,0,.5)}._itemWrap_19bf2_123 ._itemBg_19bf2_140 ._resourceDefault_19bf2_152{position:absolute;top:.83333333vw;right:.83333333vw;width:1.5625vw;height:1.5625vw}._spaceSection_19bf2_159{width:76%}._spaceSection_19bf2_159>div{line-height:var(--n-blank-height)}._attendClassModal_19bf2_165{width:57.29166667vw}._attendClassModal_19bf2_165 .n-select-menu{--n-height: calc(var(--n-option-height) * 5.6) !important}._attendClassSaveModal_19bf2_171{width:31.25vw}._attendClassSaveModal_19bf2_171 .n-select-menu{--n-height: calc(var(--n-option-height) * 5.6) !important}._removeVisiable_19bf2_177{width:22.5vw}._removeVisiable_19bf2_177 .n-card-header{font-size:max(1.14583333rem,16Px)}._removeVisiable_19bf2_177 ._studentRemove_19bf2_183{padding:1.04166667vw 2.08333333vw 0}._removeVisiable_19bf2_177 ._studentRemove_19bf2_183 p{font-size:max(.9375rem,14Px);color:#777;line-height:1.5625vw;text-align:center}._removeVisiable_19bf2_177 ._studentRemove_19bf2_183 p span{color:#ea4132}._removeVisiable_19bf2_177 ._btnGroupModal_19bf2_195{padding:1.66666667vw 0}._removeVisiable_19bf2_177 ._btnGroupModal_19bf2_195 .n-button{height:2.44791667vw;min-width:8.125vw}._popSelect_19bf2_202{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_19bf2_202 .n-base-select-option__content{width:80%!important}._spaceSection2_19bf2_212{width:78%;transition:1s all ease-in}._spaceSection2_19bf2_212>div{height:34Px!important;display:flex;align-items:center}._textBtn_19bf2_221{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}._textBtn_19bf2_221 ._iconArrow_19bf2_233{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_19bf2_221:hover,._textBtn_19bf2_221._textBtnActive_19bf2_242{background:#D2ECFF;font-weight:500;color:#131415}._textBtn_19bf2_221:hover ._iconArrow_19bf2_233{transform:rotate(0)}._list_17t0f_1{margin-top:.625vw;display:flex;flex-flow:row wrap;justify-content:flex-start;gap:1.14583333vw 0;min-height:11.45833333vw;margin-left:-.625vw;margin-right:-.625vw}._list_17t0f_1 ._itemWrap_17t0f_11{width:20%;padding-bottom:calc(100% / 5 * .73333);position:relative}._list_17t0f_1 ._itemWrap_17t0f_11 ._itemWrapBox_17t0f_16{position:absolute;left:0;top:0;width:100%;height:100%;padding:0 .625vw}._list_17t0f_1 .card-section-container{width:100%;height:100%}._searchGroup_17t0f_28{position:relative;padding:0}._searchGroup_17t0f_28 ._btnType_17t0f_32{gap:0px 1.25vw!important}._searchGroup_17t0f_28 ._btnType_17t0f_32 .n-button{height:1.92708333vw;padding:0 1.25vw;font-size:max(.9375rem,13Px);color:rgba(0,0,0,.6)}._searchGroup_17t0f_28 ._btnType_17t0f_32 .n-button.n-button--primary-type{font-weight:700;color:#fff}._searchGroup_17t0f_28 .n-form{position:relative}._searchGroup_17t0f_28 .n-form-item .n-form-item-label{font-size:.88541667rem;font-weight:600;color:#131415;line-height:1.25vw}._searchGroup_17t0f_28 .n-form-item .n-button{height:1.66666667vw;font-size:max(.88541667rem,12Px);border-radius:.41666667vw;color:rgba(0,0,0,.6)}._searchGroup_17t0f_28 .n-form-item .n-button--primary-type{color:#131415;background-color:#d2ecff!important}._searchGroup_17t0f_28 .n-form-item-feedback-wrapper{min-height:.72916667vw}._searchGroup_17t0f_28 ._inputSearch_17t0f_67{position:absolute;top:.20833333vw;right:0;width:18.75vw;height:2.1875vw;font-size:max(.9375rem,13Px);--n-height: 2.1875vw !important}._searchGroup_17t0f_28 ._inputSearch_17t0f_67 img{width:.9375vw;height:.9375vw}._searchGroup_17t0f_28 ._inputSearch_17t0f_67 .n-input-wrapper{padding-left:.625vw;padding-right:.20833333vw;height:2.1875vw!important}._searchGroup_17t0f_28 ._inputSearch_17t0f_67 .n-button{height:1.77083333vw;font-size:max(.83333333rem,12Px);font-weight:500;width:auto}._searchGroup_17t0f_28 ._searchCatatory_17t0f_91{display:flex;justify-content:space-between;padding-bottom:1.25vw;border-bottom:1px solid #F2F2F2;margin-bottom:1.04166667vw}._searchGroup_17t0f_28 ._searchCatatory_17t0f_91 ._addTrain_17t0f_98{height:1.92708333vw;border-radius:.41666667vw;font-size:max(.9375rem,13Px);background-color:#e8f4ff;color:#0378ec}._searchGroup_17t0f_28 ._searchCatatory_17t0f_91 ._addTrain_17t0f_98 img{width:.83333333vw;height:.83333333vw;margin-right:.41666667vw}._spaceSection_17t0f_110{width:76%}._spaceSection_17t0f_110>div{line-height:var(--n-blank-height)}._collapseWrap_17t0f_116{width:98%;display:flex;flex-direction:row;align-items:flex-end}._collaoseGroup_17t0f_122{position:absolute;display:flex;align-items:center;padding-left:.41666667vw;height:var(--n-blank-height)}._collaoseBtn_17t0f_129{width:1.66666667vw;height:1.66666667vw;cursor:pointer}._collaoseBtn_17t0f_129._isStart_17t0f_134{transform:rotate(-180deg)}._collapsSection_17t0f_137{padding-top:.52083333vw}._isHidden_17t0f_140{overflow:hidden;transition:1s all ease-in}._hideButton_17t0f_144{visibility:hidden;height:0!important;line-height:0!important}._popSelect_17t0f_149{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_17t0f_149 .n-base-select-option__content{width:80%!important}._spaceSection2_17t0f_159{width:76%;transition:1s all ease-in;padding-right:2.08333333vw}._spaceSection2_17t0f_159>div{height:34Px!important;display:flex;align-items:center}._spaceSection2_17t0f_159>div:last-child{margin-left:-12Px}._textBtn_17t0f_172{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}._textBtn_17t0f_172 ._iconArrow_17t0f_184{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_17t0f_172:hover,._textBtn_17t0f_172._textBtnActive_17t0f_193{background:#D2ECFF;font-weight:500;color:#131415}._textBtn_17t0f_172:hover ._iconArrow_17t0f_184{transform:rotate(0)}._removeVisiable_17t0f_201{width:22.5vw}._removeVisiable_17t0f_201 .n-card-header{font-size:max(1.14583333rem,16Px)}._removeVisiable_17t0f_201 ._studentRemove_17t0f_207{padding:1.04166667vw 2.08333333vw 0}._removeVisiable_17t0f_201 ._studentRemove_17t0f_207 p{font-size:max(.9375rem,14Px);color:#777;line-height:1.5625vw;text-align:center}._removeVisiable_17t0f_201 ._studentRemove_17t0f_207 p span{color:#ea4132}._removeVisiable_17t0f_201 ._btnGroupModal_17t0f_219{padding:1.66666667vw 0}._removeVisiable_17t0f_201 ._btnGroupModal_17t0f_219 .n-button{height:2.44791667vw;min-width:8.125vw}\n",document.head.appendChild(t);const H={listWrap:"_listWrap_sirzm_1",list:"_list_sirzm_1",searchGroup:"_searchGroup_sirzm_46",btnType:"_btnType_sirzm_50",inputSearch:"_inputSearch_sirzm_84",searchCatatory:"_searchCatatory_sirzm_103",addTrain:"_addTrain_sirzm_110"},$="_list_z74lt_1",ee="_itemWrap_z74lt_11",te="_itemWrapBox_z74lt_16",ae="_searchGroup_z74lt_28",le="_btnType_z74lt_32",ie="_inputSearch_z74lt_67",se="_searchCatatory_z74lt_91",oe="_teachingModal_z74lt_110",ne="_spaceSection_z74lt_113",re="_popSelect_z74lt_152",ce="_textBtn_z74lt_167",de="_iconArrow_z74lt_179",ue="_textBtnActive_z74lt_188";function pe(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!C(e)}const me=m({name:"ChildNodeSearch",props:{activeRow:{type:Object,default:()=>({})},list:{type:Array,default:()=>[]}},emits:["selectChildTag"],setup(e,{emit:t}){const{activeRow:a}=I(e),l=h({});return P((()=>e.activeRow),(()=>{a.value=e.activeRow,l.value={}})),()=>f(A,null,[a.value?.id&&f(A,null,[f(S,{label:a.value.columnName+":"},{default:()=>[f(b,{class:ne},{default:()=>[a.value?.children.map((e=>f("span",{class:[ce,(a.value.activeIndex||"")==e.id&&ue],onClick:()=>{let i;a.value.activeIndex=e.id;let s="";e.children?(i=[{columnName:e.children[0].columnName,name:"全部",id:""},...e.children],s=e.children[0].columnName,l.value={...e,columnName:s,activeIndex:"",children:i}):l.value={},t("selectChildTag",a.value.activeIndex)}},[e.name])))]})]}),f(me,{activeRow:l.value,onSelectChildTag:e=>{t("selectChildTag",e||a.value.activeIndex)}},null)])])}}),ge=m({name:"search-group",emits:["search","add"],expose:["init"],setup(e,{emit:t}){const a=u(),l=g({type:"MUSIC",name:"",audioPlayTypes:"",bookVersionId:null,subjectId:null}),i=g({tempSubjectId:null}),s=g({audioPlayTypeList:[],selectParents:{},tags:[],tagActiveId:"",tagActive:{},childSelectId:null}),o=()=>{t("search",{...l,subjectId:"SING"!==l.audioPlayTypes?l.subjectId:null,audioPlayTypes:l.audioPlayTypes?"PLAY_SING"===l.audioPlayTypes?["PLAY","SING"]:[l.audioPlayTypes]:[],bookVersionId:s.childSelectId||s.tagActiveId})},n=h(),r=h([]),m=h(0),C=h(0),I=h(!1),P=h(!1),z=()=>{try{r.value=[...new Set(r.value)];let e=-1;r.value.forEach(((t,a)=>{0===a?(C.value=1,e=t.offsetLeft):t.offsetLeft===e&&0!=a&&C.value++,I.value?t.style.display="block":C.value>1?t.style.display="none":t.style.display="block"})),P.value=!0}catch{}},G=e=>{const t={};return e?.forEach((e=>{e.id===l.subjectId&&(t.selected=!0,t.name=e.name)})),t},U=()=>{const e=a.getSubjectInstrumentOnly;if(e.length>0){const t=e[0];t.instruments&&t.instruments.length>1?(i.tempSubjectId=t.instruments[0]?.value,l.subjectId=t.instruments[0]?.value):l.subjectId=t.value}};return _((async()=>{const e=Object.keys(p).map((e=>({value:e,name:p[e]})));s.audioPlayTypeList=[{name:"全部",value:""},...e],await a.getMusicTagTreeApi(),(()=>{const e=a.getMusicTagTree;s.tags=[{columnName:e[0].columnName,name:"全部",id:""},...e],s.tagActiveId=s.tags[0].id})(),await a.getSubjects(),U(),"MUSIC"===l.type&&(m.value=n.value?.offsetHeight,z()),o()})),()=>{let e,t,u,p;return f("div",{class:ae},[f("div",{class:[se]},[f(b,{size:"small",class:le},pe(e=d.map((e=>f(v,{type:l.type===e.value?"primary":"default",secondary:l.type!==e.value,round:!0,size:"small",focusable:!1,onClick:()=>{l.type=e.value,l.audioPlayTypes="",s.tagActiveId="",s.childSelectId=null,s.selectParents={},U(),o(),w((()=>{"MUSIC"===l.type?(m.value=n.value?.offsetHeight,z()):r.value=[]}))}},{default:()=>[e.label]}))))?e:{default:()=>[e]})]),f(y,{labelAlign:"left",labelPlacement:"left"},{default:()=>["MUSIC"===l.type&&f(A,null,[s.tags.length>0&&f(S,{label:s.tags[0]?.columnName+":"},{default:()=>[f(b,{class:ne},pe(t=s.tags.map((e=>f("span",{class:[ce,s.tagActiveId===e.id&&ue],onClick:()=>{(e=>{let t;s.tagActiveId=e.id,s.childSelectId=null;let a="";e.children?(t=[{columnName:e.children[0].columnName,name:"全部",id:""},...e.children],a=e.children[0].columnName,s.selectParents={...e,columnName:a,activeIndex:"",children:t}):s.selectParents={},o()})(e)}},[e.name]))))?t:{default:()=>[t]})]}),f(me,{activeRow:s.selectParents,onSelectChildTag:e=>{s.childSelectId=e,o()}},null)]),"MUSIC"===l.type&&f(S,{label:"场景:"},{default:()=>[f(b,{class:ne},pe(u=s.audioPlayTypeList.map((e=>f("span",{class:[ce,l.audioPlayTypes===e.value&&ue],onClick:()=>{l.audioPlayTypes=e.value,o()}},[e.name]))))?u:{default:()=>[u]})]}),"SING"!==l.audioPlayTypes&&f(S,{label:"乐器:"},{default:()=>[f(b,{class:ne},pe(p=a.getSubjectInstrumentOnly.map((e=>e.instruments&&e.instruments.length>1?f(x,{options:e.instruments,trigger:"hover",scrollable:!0,value:i.tempSubjectId,"onUpdate:value":[e=>i.tempSubjectId=e,()=>{l.subjectId=i.tempSubjectId,o()}],key:e.value,class:[re]},{default:()=>[f("span",{class:[ce,G(e.instruments).selected&&ue]},[G(e.instruments).name||e.name,f("i",{class:de},null)])]}):f("span",{class:[ce,l.subjectId===e.value&&ue],onClick:()=>{l.subjectId=e.value,i.tempSubjectId=null,o()}},[e.name]))))?p:{default:()=>[p]})]}),f(c,{class:ie,round:!0,onSearch:e=>{l.name=e,o()}},null)]})])}}}),he=m({name:"shareResources-guide",emits:["close"],setup(e,{emit:t}){const a=g({box:{height:"0px"},show:!1,steps:[{ele:"",eleRect:{},img:K("shareResources1.png"),handStyle:{top:"0.91rem"},imgStyle:{top:z(-4),left:z(-263),width:z(553),height:z(229)},btnsStyle:{bottom:z(30),left:z(-102)},eleRectPadding:{left:14,top:14,width:28,height:28},boxStyle:{borderRadius:"30px"}},{ele:"",img:K("shareResources2.png"),imgStyle:{left:z(99),width:z(618),height:z(273)},btnsStyle:{bottom:z(88),left:z(240)},eleRectPadding:{left:7,top:7,width:14,height:14},boxStyle:{borderRadius:"15px"},type:"bottom"}],step:0}),l=h(!1),i=h({});(async()=>{try{const e=localStorage.getItem("teacher-guideInfo");i.value=e?JSON.parse(e)||null:{},i.value&&i.value.shareResourcesGuide?l.value=!1:l.value=!0}catch(e){console.log(e)}})();const s=()=>{const e=document.getElementById(`shareResources-${a.step}`);if(e){const t=e.getBoundingClientRect(),l=a.steps[a.step].eleRectPadding?.left||0,i=a.steps[a.step].eleRectPadding?.top||0,s=a.steps[a.step].eleRectPadding?.width||0,o=a.steps[a.step].eleRectPadding?.height||0;"shareResources-1"==`shareResources-${a.step}`?(a.box={left:t.x-l+"px",top:t.y-i+"px",width:2*(t.width+s)+s+"px",height:t.height+o+"px"},console.log(a.box.width,"---",t.width)):a.box={left:t.x-l+"px",top:t.y-i+"px",width:t.width+s+"px",height:t.height+o+"px"}}else r()},o=async e=>{try{if("shareResources"!==e)return;i.value?i.value.classGuide=!1:i.value={classGuide:!1};try{D({guideTag:"teacher-guideInfo",guideValue:JSON.stringify(i.value)})}catch(t){console.log(t)}a.step=0,s(),l.value=!0}catch{}};_((()=>{s(),window.addEventListener("resize",n),G.on("natural-resources-guide",(e=>o(e)))}));const n=()=>{s()};U((()=>{window.removeEventListener("resize",n),G.off("natural-resources-guide",o)}));const r=()=>{a.step>=4?c():(a.step=a.step+1,s())},c=async()=>{i.value?i.value.shareResourcesGuide=!0:i.value={shareResourcesGuide:!0};try{D({guideTag:"teacher-guideInfo",guideValue:JSON.stringify(i.value)})}catch(e){console.log(e)}l.value=!1};return()=>f(A,null,[l.value?k(f("div",{"onUpdate:show":e=>l.value=e,class:["n-modal-mask","n-modal-mask-guide"]},[f("div",{class:J.content,onClick:()=>r()},[f("div",{class:J.backBtn,onClick:e=>{e.stopPropagation(),c()}},[R("跳过")]),f("div",{class:J.box,style:{...a.box,...a.steps[a.step].boxStyle},id:`modeType-${a.step}`},[a.steps.map(((e,t)=>f("div",{onClick:e=>e.stopPropagation(),class:J.item,style:"bottom"==e.type?{display:t===a.step?"":"none",left:`${e.eleRect?.left}px`,top:`-${e.imgStyle?.height}`}:{display:t===a.step?"":"none",left:`${e.eleRect?.left}px`,top:`${a.box?.height}`}},[f("img",{class:J.img,style:e.imgStyle,src:e.img},null),f("div",{class:J.btns,style:e.btnsStyle},[a.step+1==a.steps.length?f(A,null,[f("div",{class:[J.endBtn],onClick:()=>c()},[R("完成")]),f("div",{class:J.nextBtn,onClick:()=>{a.step=0,s()}},[R("再看一遍")])]):f("div",{class:J.btn,onClick:()=>r()},[R("下一步 ("),a.step+1,R("/"),a.steps.length,R(")")])])])))])])]),[[T,l.value,"show"]]):null])}}),_e=m({name:"share-resources",setup(){const e=g({searchWord:"",loading:!1,pageTotal:0,pagination:{page:1,rows:20},searchGroup:{type:"MUSIC",name:"",audioPlayTypes:[],musicalInstrumentId:null,bookVersionId:null,subjectId:null,sourceType:2},tableList:[],teachingStatus:!1,show:!1,item:{}}),t=h(!1),s=h(),o=async()=>{try{e.loading=!0;const{data:a}=await l({...e.searchGroup,...e.pagination});e.loading=!1,e.pageTotal=Number(a.total);const i=a.rows||[],s=[];i.forEach((e=>{s.push({id:e.id,coverImg:e.coverImg,type:e.type,title:e.name,isCollect:!!e.favoriteFlag,isSelected:"PLATFORM"===e.sourceFrom,refFlag:e.refFlag,audioPlayTypeArray:e.audioPlayTypes?e.audioPlayTypes.split(","):[],background:e.background,content:e.content})})),e.tableList=s||[],setTimeout((()=>{t.value=!0}),500)}catch{e.loading=!1}},n=async e=>{try{await i({materialId:e.id,favoriteFlag:e.isCollect?0:1,type:e.type}),e.isCollect=!e.isCollect}catch{}};return _((()=>{})),()=>f(A,null,[f(ge,{ref:s,onSearch:t=>(async t=>{e.pagination.page=1;const{subjectId:a,...l}=t;e.searchGroup=Object.assign(e.searchGroup,{...l,musicalInstrumentId:a,subjectId:null}),o()})(t),onAdd:()=>e.teachingStatus=!0},null),f(j,{show:e.loading,"onUpdate:show":t=>e.loading=t,style:{"min-height":"50vh"}},{default:()=>[f("div",{class:$},[e.tableList.map(((t,l)=>f("div",{class:ee},[f("div",{class:te},[f(a,0==l?B({id:"shareResources-1"},{item:t,disabledMouseHover:!1,onClick:t=>{"IMG"!==t.type&&(e.show=!0,e.item={instrumentId:e.searchGroup.musicalInstrumentId||null,...t})},onCollect:e=>n(e)}):{item:t,disabledMouseHover:!1,onClick:t=>{"IMG"!==t.type&&(e.show=!0,e.item={instrumentId:e.searchGroup.musicalInstrumentId||null,...t})},onCollect:e=>n(e)},null)])]))),!e.loading&&e.tableList.length<=0&&f(Q,{style:{minHeight:"50vh"},description:"暂无共享资源"},null)])]}),f(r,{page:e.pagination.page,"onUpdate:page":t=>e.pagination.page=t,pageSize:e.pagination.rows,"onUpdate:pageSize":t=>e.pagination.rows=t,pageTotal:e.pageTotal,"onUpdate:pageTotal":t=>e.pageTotal=t,onList:o},null),f(Y,{show:e.show,"onUpdate:show":t=>e.show=t,item:e.item,isDownload:!1},null),f(M,{maskClosable:E,show:e.teachingStatus,"onUpdate:show":t=>e.teachingStatus=t,preset:"card",showIcon:!1,class:["modalTitle background",oe],title:"自定义教材",blockScroll:!1},{default:()=>[f(V,{onClose:()=>e.teachingStatus=!1},null)]}),t.value?f(he,null,null):null])}}),fe="_list_19bf2_1",be="_searchGroup_19bf2_10",ve="_btnType_19bf2_14",we="_inputSearch_19bf2_54",ye="_searchCatatory_19bf2_78",Ae="_btnGroup_19bf2_85",Se="_addTrain_19bf2_88",xe="_error_19bf2_96",Ce="_iconUpload_19bf2_103",Ie="_iconEdit_19bf2_107",Pe="_iconSelectAll_19bf2_111",ze="_iconDelete_19bf2_115",Ge="_iconPen_19bf2_119",Ue="_itemWrap_19bf2_123",ke="_itemWrapBox_19bf2_128",Te="_itemBg_19bf2_140",Re="_itemBgChecked_19bf2_149",je="_resourceDefault_19bf2_152",Be="_attendClassModal_19bf2_165",Me="_attendClassSaveModal_19bf2_171",Ee="_removeVisiable_19bf2_177",Ne="_studentRemove_19bf2_183",Fe="_btnGroupModal_19bf2_195",Oe="_popSelect_19bf2_202",We="_spaceSection2_19bf2_212",Le="_textBtn_19bf2_221",Qe="_iconArrow_19bf2_233",Ye="_textBtnActive_19bf2_242";function Ve(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!C(e)}const Ke=m({name:"search-group",emits:["search","upload","edit","selectAll","delete","update","editOver","cancel"],setup(e,{emit:t,expose:a}){const l=h([]),i=u(),s=g({type:"MUSIC",name:"",audioPlayTypes:["PLAY"],bookVersionId:null,subjectId:null}),o=g({tempSubjectId:null,isEdit:!1,isSelectAll:!1}),n=()=>{t("search",s)},r=()=>{const e=i.getSubjectInstrumentOnly;if(e.length>0){const t=e[0];t.instruments&&t.instruments.length>1?(o.tempSubjectId=t.instruments[0]?.value,s.subjectId=t.instruments[0]?.value):s.subjectId=t.value}n()};_((async()=>{l.value=[],d.forEach((e=>{l.value.push(e)})),await i.getSubjects(),s.subjectId&&(o.tempSubjectId=s.subjectId),r()}));const p=e=>{const t={};return e?.forEach((e=>{e.id===s.subjectId&&(t.selected=!0,t.name=e.name)})),t};return a({resetStatus:()=>{o.isSelectAll=!1}}),()=>{let e,a;return f("div",{class:be},[f("div",{class:ye},[f(b,{size:"small",class:ve},Ve(e=l.value.map((e=>f(v,{type:s.type===e.value?"primary":"default",secondary:s.type!==e.value,round:!0,size:"small",focusable:!1,onClick:()=>{s.type!==e.value&&(o.isEdit=!1,o.isSelectAll=!1,t("edit",o.isEdit)),s.audioPlayTypes="MUSIC"===e.value?["PLAY"]:[],s.type=e.value,r()}},{default:()=>[e.label]}))))?e:{default:()=>[e]}),f(b,{size:"small",class:Ae},{default:()=>[o.isEdit?f(A,null,[f(v,{type:"primary",class:Se,focusable:!1,strong:!0,onClick:()=>{o.isSelectAll=!o.isSelectAll,t("selectAll",o.isSelectAll)}},{default:()=>[f("img",{src:o.isSelectAll?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAABPBJREFUWEfNWWtsU2UYft72rBfbdVu7TViMIJtGIhMSf5lMA7h/ogJuYZkmxgwkGJfo0GQ1uBVmnBohEI0JIBEVJMDEeb+gbvzgj0wlbhohW4w6Cxvt2LrTrbdzPvMd6P3QnlMurn/Pe3m+9/K87/eVUODPvGWyWpKkRxjYPcRQBUIVA6q4OQK8YPAygpdAPxmNxk/CL5eOFOKK9CjZPdOVoUjkGTCsYYwt0aNLREMgfGwxmd4SPcXjWnU1AazwMPvF0MRmRux5MNi1GleVI4jE6I0yi3P7BQ+J+WzlBWh0+9YCeBsMN+czpus7YQzA01J3+bFcelcEyBijIvdEBwM6AZb3ILrAJYSJG94a7XZuIyKmZkPV8S07mPXc+MR7AGsszLFeLTo6v9L5xGgbzWZqZgHkkRPcE4dvHLg4JDoa63auy4xkFkCh3d/JwDx6Y3At5Ankib3q2ppqKw2g0hCMeq5fzeU7BjEQa0htnARATiUTYf/wNe/WfJiyi27MaXbVxCkoAfD/TG02xmSqFYB8QsyGwyNXTcI5ouUwE1YtLoLDcikmZiNh18mQugZBtJrN1XziKNKC29/FGNuiNxta5Q0EnGotQbXTCLv5EsBQlGHDMRGHTkfUB46BumKvuDriAAf1zlat4LjcvgYbmpaaYRaSPTl4PobluwOYCqnyM/jsjnW7aolvJbFYbFiPQz2yDbUmvPmwDRV2Q0LtXEDCowdE/PhPLKcpQRBqSHD72xhj2/U41Sq7oNSA7zY4cJvTmFCZCsl4rX8Wr5+4Qv2lGCeizWR0+w6CoVmrU61yggH44slirFhUBAMvQgCSzNA3EsWD+6chyRosET4kod3Xx4DlGsR1ibhXWPHC/RY4LMnU/jkh4YG9Afw9qQWdsv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Vb/AsD+WDXRV6uuX9TfEP8CCAycy76bdMQAAAAASUVORK5CYII=",class:Pe},null),R("全选")]}),f(v,{type:"error",class:[Se,xe],focusable:!1,strong:!0,onClick:()=>t("delete")},{default:()=>[f("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAAA4NJREFUWEftmE9sG0UUxr83a5yCRJPsmguICiLOSECril3HQQIOHPA6lILgEDUXpKotpQegh0oIcaEgQYFCJS6lICGhEuL1hQMgEcdeCfFP4kxThAoXvHZaJGgTez7ktUMT2/Hf5FDJe/O89775+c3uezMj6PIpxN29SssUhRMgpaswEQplSSsuxHLed93EdBTmY0dGipd/P0NwthvBzXwEctYc3XVQvnzvWjudjkAF230d4MuDwFyPlZMx3zveNxCd5K1FSImkURURyG8QfA1SdwUookA8QvCuMF6kYoLjks/8vXkm2yiXEslEpYyF0EVwLbrDuGPnN/NBVzB1pysPT1srVyt/gBipDhkRTI1nM9m+gAI7tY/Qn69lx/K9u3uBWfMNbPfi/1mCetLy03M3FlApkbxPl9VEEzW5l8IX6xm6DOLDfjIEwXMER0MdypsQaSoBKqKXxrOZnyVwUk+R+rO+JtriIBH1tBTiyZPQeGmLtfuTU3hDgoR7J8v8SCDNS1ZbKwvEjv5maIgSXAXR8islcEEimO1YGLcEpAeRJiCSEsTdj0E8qqBeNf30mR70OroW7dRBDf0KBF9ZOW9GRLg+qAloefKJ+8uV8o/1LyuwfC/WOEsx7j5OwYiZTc81CnL//mjwZ/kZw6hcbFUAA9stELSqmhEj8sDY4hc/tQUqOtNxzcpizUn+jfneLesDCnF3BprnQquoY1Y+fWqD3XFPgzwU2iPiWFnP32C33X8A3lwdU2JMmvn53EBAgZN8m8QLdeBPYr43s14wcFyf5IPhhEoOmznv/e0FslOnCH20GyCIOhLLp08PgTZbsmGGAGn7Ug8zNMxQq0odDOtQh14WOO5bJI/VehnOWfnMgQ11yHbzBO166zhk5rwPtrVSl5xkUhNphsc040AsPx822rUnsFOvEfqEQFbFiOw2F+d+2Vagqnhxct+9Sq9Gx/KZHxq3JtXfpcnpKanw0pifvtBoL2x1t28F0MvYjQ+07CR3l4nv6y9tWd2kbhv/Nr3cSxY28y09lBrTq/ovEpGqT0Swp3HZm/fUteuXKwSjdeFfRbAAojIQlMAgMQXgnvDPQlbM0V07G69nWp46Att9h+DzAwF0CBbIu5bv1Td6151bAtU26itnQT67LVAin1q3R2fl/PmVRv2257LwGo9MaMiEkGoQOIpoBS5pkWy7673/AG2QyadOuCtAAAAAAElFTkSuQmCC",class:ze},null),R("删除")]}),"MUSIC"!==s.type&&f(v,{type:"primary",class:Se,focusable:!1,strong:!0,onClick:()=>t("update")},{default:()=>[f("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAmCAYAAAC29NkdAAAAAXNSR0IArs4c6QAABN5JREFUWEftmG1oW1UYx//POTdtZrVLcrNRQWSKAxEFQRDdsK1QN/GlnbopilNhvoAwGBNZbuswUJdsIPiCL9Mx0Olq3QS/jomgMJGNrds+WIcgOiYoNPfGdjZNmuQ8cnKT2Pd781L2xfP1Pvec3/k/b+ccwjKPNXEOXsqle4jVbSRojDhwYjrZfsHvsuTXsB47w3LuYeYhgFeC0AKmPMAGBD65Nmru/GMnTXnNu2yAst95EIq/Ajg4H4KmCHSmY3V4gxfksgBKy3kIzEfnwGUAaikp6I4pIhrpWBW5bynIpgPKAedhFPnIf3DEAGcE0XbFvAmEHjCuKiEStJJLQjYVUFrpXrD6ch6cNLrze0Kn43EWg7n0YUD1ViG1kqCzHasjPQsp2TRAOZDuQ1ENLwZXicMy5OeA6psNKb4r7I08MDdemwIorfQmqOIwCK3uAsQgTAoh79XKzV20CsmqD6i6OyNJbJtORIZn2jcMKAdSj6CAL2bD8aRgozu/N3RmsTLiQjpDYPQCvMINSXG8sDeysWmA0ko9CoWhWuEqAKF4OnQ5qxyAXaGILhaT5pqmAMoB+zEU+PA8ODK68onQiFcB1t+NmP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=",class:Ge},null),R("修改")]}),f(v,{type:"primary",class:Se,focusable:!1,strong:!0,onClick:()=>{o.isEdit=!1,o.isSelectAll=!1,t("editOver",o.isEdit)}},{default:()=>[R("完成编辑")]}),f(v,{type:"error",class:[Se,xe],focusable:!1,strong:!0,onClick:()=>{o.isEdit=!1,o.isSelectAll=!1,t("cancel",o.isEdit)}},{default:()=>[R("取消编辑")]})]):f(A,null,[f(v,B({type:"primary",class:Se,focusable:!1},{id:"myResources-0"},{strong:!0,onClick:()=>t("upload")}),{default:()=>[f("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAmCAYAAAC76qlaAAAAAXNSR0IArs4c6QAAB9dJREFUWEe1mQ2MHGUZx//POzO3V669j5mt0g8badGmRKFfVA2ijWCICAUKJbFAoygJkdAPtcnOXmuW2Ns5E6IUaSiCoJRKpdSWIn7RmIZqlBZL/Ugr6LVaS096O3PXa3vs7sy8j5m9/Zhu73Z2r8cmd7m7eT5+7/M+zzPP+x5hnD6pFIsNuf5PAfKzTJhGjKlgijHQS4STLPhgvN347btr6dx4uKSLNTKhMzMtz0hC4g4AH6hpj5AlxqsgsjzL+OPF+B4z+PTv8YT/9dnfZsYqABMahSDQTlVVvpnd0H6sUd1AfkzgQZRdiV3MWDiiU0IfMZ0EIcfAFARfzOoFskQOKcoyb0P77xqFbxi8aV1mju8hcHRp2BkBbxKJJ1Uhd7/XFX8n/Gxyiic6rnMDSSxnxm0AV/wSeQLiXtfq2NIIfEPgranT+rmcux+MWWUnhD6Fxaqc1bGNiDjKuZYYWMDkb2LmT1RsUJ5A13uWvi9Kv/S8IXDVzOxhxnUVZfqLGqMl2Yf04/U6DOQuf5Rjx046mwH+ckWPMrHm5quGUi0n67FVN7iSsJcB/EIo0j0tMW3RYKrNqcfRSDKKmdkKxvIQ/NN+t/HVeuzVBb7gCdYO/ds+DMblRaM5RcW8/Ib4kXqcjCbz4RQ3n8g5rzPzlQUZIqkQXZVP63+PslsXuNLZfwt8f1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nfTt8PF/eqTrAC3pm5hQYk4v+fkRqIrObgZuH0xEHPSu+ICpNgucTUvZ0N4c1xHzs1vnG4+F2WQu8UFPJgevA3koAB9y00RWVKsN1mPlzqUgJeJlU036FmQvTHhEOeFZ8UT3gtWSiwMdiXzUz+5lx9TAn/ZLeDyfvi03TPgHmacXO9xSpZmYdM75TioKmqjPHeklTLvBRinMskQ50mtcNXOZ6XuGNWcyM9aQlTl8t4e6v/FGYnqV3j9VJoZDGGVw1nQSztEpMwYRKxRPOcYCnF5djt7bRrP6Efnqs8OMJ3tHttA2e5p7KDEUnPEufUXhzakl7lZRcPtUQaIdr6cvqqfaRFjde4MUZajuDby9HW9BqN21sLIBfkeKmt7LOEYBnlkEENl/bZDy4N0Veo5EfD/DFKVb35e0fQCJ04qejs5v1OYdTwc1X8aN12p+UPu+tOgDsIxIr3XTHoUbgLxZcS/bPZZaPlk/+w85zQqHFbpfxp0KBhoEKUyLxs1WTHBNhDzHvZlU9LEj2SZ+nkqRZDJ4sBO3Mp/W/hu0oycwmSHy92AOO+t1G5a6x8Op3rpSSbyNQHwvuEaBeKUScPO8KJlrCjOurLkalwrQimArLTaQ6koWjF/NPwdxaV5SJBlvbaEa4mNV1/YvZ838d7B4JeshLG6mSrWKxHW/EPoiW+2n9lTDPiIflmDn4UZ/zD5dGgagFaFBnlU4mJdlLkuemeJztyFvG4bB+4aQFryfKZjEdXlao6Vs5q/Xtavma1xOq6VzD4K8AfBMYHxzB2RkibPKsuFkPSElGNTMWMx644Gw7TPsuQL8g0DOepf9hNLuRF0KBYvCPKSs7ONMnfwoLGQ9yMiabemrde9SzkODeJifysyR4CkmRUVjpNZtbj0YdLgLb/wdEzJ6QpX6LxwAAAABJRU5ErkJggg==",class:Ce},null),R("上传资源")]}),f(v,{type:"primary",class:Se,focusable:!1,strong:!0,onClick:()=>{o.isEdit=!0,t("edit",o.isEdit)}},{default:()=>[f("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAyCAY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ktRpBb09aw1u+mdq5Gmn/TK3553zBk3OySpUrpdmyzmZ9sdz0QEG35p9R8fssNbuPCt+8yCDn0l6mN62wtqziwqArEd6wdid8TzoF4/bu/lfgy4mAUROMpA4f9NiOxOrgchOIXA4x/NjiqJsyq39zNuJrFIKqf7RNkHWN9lCGTFketDu9vbn6lqUAJqNcd/kVPwUwNdmJy29agU1Y7YjFh2A7X0snxg0v2DgrhzefxYPee/PV7xddAAU3exh5hezyQq/NbvkTaOGZzQfDesJoObS4rKA2W4LPppj6IQsSZung96fC82h+pUWayzuLgtEN9hCOFvhFWljZYl2TAe1vkLG17W4W0l5fXaRyhOOrhofE9+DcUOG90SvWyHtJedZ1s1tBDwB8PL0ewauypVHreX1RFKp5IIjZwus+M19DM6sMAR8tXWjds+xdrJX6hfWXOLpv7J7oPzxqPmCw1Fb2RUTHbHD2q4E8IBpsOB9SdPojya32nbBaIk4TyUB1POKKe2bzCWfEBvyXfIlKOR26ek65+U9vCISNQ8AtEaB+kos1HIm188zKORUS5P7hvpf8lWabedbvuQl33wbVOl4SwAq9Vi95ZciUG+PVqrvP95nBmDSwCG5AAAAAElFTkSuQmCC",class:Ie},null),R("编辑资源")]})])]})]),f(y,{labelAlign:"left",labelPlacement:"left"},{default:()=>[f(S,{label:"乐器:"},{default:()=>[f(b,{class:We},Ve(a=i.getSubjectInstrumentOnly.map((e=>e.instruments&&e.instruments.length>1?f(x,{options:e.instruments,trigger:"hover",scrollable:!0,value:o.tempSubjectId,"onUpdate:value":[e=>o.tempSubjectId=e,()=>{o.tempSubjectId!==e.value&&(o.isEdit=!1,o.isSelectAll=!1,t("edit",o.isEdit)),s.subjectId=o.tempSubjectId,n()}],key:e.value,class:[Oe]},{default:()=>[f("span",{class:[Le,p(e.instruments).selected&&Ye]},[p(e.instruments).name||e.name,f("i",{class:Qe},null)])]}):f("span",{class:[Le,s.subjectId===e.value&&Ye],onClick:()=>{s.subjectId=e.value,o.tempSubjectId=null,n()}},[e.name]))))?a:{default:()=>[a]})]}),f(c,{class:we,round:!0,onSearch:e=>{s.name=e,n()}},null)]})])}}}),Je=m({name:"myResources-guide",emits:["close"],setup(e,{emit:t}){const a=g({box:{height:"0px"},show:!1,steps:[{ele:"",eleRect:{},img:K("myResourecs1.png"),handStyle:{top:"0.91rem"},imgStyle:{top:z(-4),left:z(-240),width:z(556),height:z(257)},btnsStyle:{bottom:z(30),left:z(-80)},eleRectPadding:{left:14,top:14,width:28,height:28},boxStyle:{borderRadius:"30px"}}],step:0}),l=h(!1),i=h({});(async()=>{try{const e=localStorage.getItem("teacher-guideInfo");i.value=e?JSON.parse(e)||null:{},console.log(i.value,"guideInfo.value"),i.value&&i.value.myResourcesGuide?l.value=!1:l.value=!0}catch(e){console.log(e)}})();const s=()=>{const e=document.getElementById(`myResources-${a.step}`);if(e){const t=e.getBoundingClientRect(),l=a.steps[a.step].eleRectPadding?.left||0,i=a.steps[a.step].eleRectPadding?.top||0,s=a.steps[a.step].eleRectPadding?.width||0,o=a.steps[a.step].eleRectPadding?.height||0;a.box={left:t.x-l+"px",top:t.y-i+"px",width:t.width+s+"px",height:t.height+o+"px"}}else r()},o=async e=>{try{if("myResources"!==e)return;i.value?i.value.classGuide=!1:i.value={classGuide:!1};try{D({guideTag:"teacher-guideInfo",guideValue:JSON.stringify(i.value)})}catch(t){console.log(t)}a.step=0,s(),l.value=!0}catch{}};_((()=>{s(),window.addEventListener("resize",n),G.on("natural-resources-guide",(e=>o(e)))}));const n=()=>{s()};U((()=>{window.removeEventListener("resize",n),G.off("natural-resources-guide",o)}));const r=()=>{a.step>=4?c():(a.step=a.step+1,s())},c=async()=>{i.value?i.value.myResourcesGuide=!0:i.value={myResourcesGuide:!0};try{D({guideTag:"teacher-guideInfo",guideValue:JSON.stringify(i.value)})}catch(e){console.log(e)}l.value=!1};return()=>f(A,null,[l.value?k(f("div",{"onUpdate:show":e=>l.value=e,class:["n-modal-mask","n-modal-mask-guide"]},[f("div",{class:J.content,onClick:()=>r()},[f("div",{class:J.backBtn,onClick:e=>{e.stopPropagation(),c()}},[R("跳过")]),f("div",{class:J.box,style:{...a.box,...a.steps[a.step].boxStyle},id:`modeType-${a.step}`},[a.steps.map(((e,t)=>f("div",{onClick:e=>e.stopPropagation(),class:J.item,style:"bottom"==e.type?{display:t===a.step?"":"none",left:`${e.eleRect?.left}px`,top:`-${e.imgStyle?.height}`}:{display:t===a.step?"":"none",left:`${e.eleRect?.left}px`,top:`${a.box?.height}`}},[f("img",{class:J.img,style:e.imgStyle,src:e.img},null),f("div",{class:J.btns,style:e.btnsStyle},[a.step+1==a.steps.length?f(A,null,[f("div",{class:[J.endBtn],onClick:()=>c()},[R("完成")])]):f("div",{class:J.btn,onClick:()=>r()},[R("下一步 ("),a.step+1,R("/"),a.steps.length,R(")")])])])))])])]),[[T,l.value,"show"]]):null])}}),De=m({name:"share-resources",setup(){const e=N();F();const t=g({searchWord:"",loading:!1,pageTotal:0,pagination:{page:1,rows:20},searchGroup:{type:"MUSIC",name:"",bookVersionId:null,musicalInstrumentId:null,subjectId:null,sourceType:3},tableList:[],uploadStatus:!1,saveStatus:!1,show:!1,item:{},editStatus:!1,isAdd:!1,editList:[],editIds:[],editOverIds:[],removeVisiable:!1,removeContent:"是否删除该资源?",type:"remove",removeItem:{}}),c=h(!1),d=async()=>{try{t.loading=!0;const{data:e}=await l({...t.searchGroup,...t.pagination});t.loading=!1,t.pageTotal=Number(e.total);const a=e.rows||[],i=[];a.forEach((e=>{i.push({id:e.id,coverImg:e.coverImg,type:e.type,title:e.name,isCollect:!!e.favoriteFlag,isSelected:"PLATFORM"===e.sourceFrom,refFlag:e.refFlag,content:e.content,instrumentIds:e.instrumentIds,sourceFrom:e.sourceFrom,background:e.background,audioPlayTypeArray:e.audioPlayTypes?e.audioPlayTypes.split(","):[],enableFlag:e.enableFlag?1:0,openFlag:e.openFlag})})),t.tableList=i||[],setTimeout((()=>{c.value=!0}),500)}catch{t.loading=!1}},u=O((()=>{const e=t.tableList||[];let a=0;return e.forEach((e=>{e.delFlag||a++})),!(a>0)})),p=async e=>{t.pagination.page=1;const{subjectId:a,...l}=e;t.searchGroup=Object.assign(t.searchGroup,{...l,musicalInstrumentId:a,subjectId:null}),d()},m=h();return _((()=>{})),()=>f(A,null,[f(Ke,{ref:m,onSearch:e=>p(e),onUpload:()=>{t.editList=[],t.saveStatus=!0},onUpdate:()=>{const a=[];t.tableList.forEach((e=>{t.editIds.indexOf(e.id)>-1&&1!==e.delFlag&&a.push(e)})),t.editList=a||[],t.editList.length<=0?e.error("至少选择一条资源进行编辑"):(t.uploadStatus=!0,t.isAdd=!1)},onEditOver:async a=>{t.editStatus=a;try{if(t.editOverIds.length>0){const e=[];t.tableList.forEach((a=>{t.editOverIds.includes(a.id)&&e.push({instrumentIds:a.instrumentIds,openFlag:a.openFlag,coverImg:a.coverImg,name:a.title,type:a.type,enableFlag:1,content:a.content,id:a.id||null,delFlag:a.delFlag})})),e.length>0&&("MUSIC"===t.searchGroup.type?await s(t.editIds):await o(e))}e.success("修改成功"),t.pagination.page=1,d(),t.editIds=[],t.editOverIds=[]}catch{}},onCancel:e=>{t.editStatus=e,t.pagination.page=1,t.editIds=[],t.editOverIds=[],d()},onEdit:async e=>{t.editStatus=e,t.editStatus||(t.editIds=[],t.editOverIds=[])},onSelectAll:e=>{if(e){const e=[];t.tableList.forEach((t=>{e.push(t.id)})),t.editIds=e}else t.editIds=[]},onDelete:()=>{t.editIds.length<=0?e.error("至少选择一条资源进行删除"):(t.type="delete",t.removeContent="是否删除该资源?",t.removeVisiable=!0)}},null),f(j,{show:t.loading,"onUpdate:show":e=>t.loading=e,style:{"min-height":"50vh"}},{default:()=>[f("div",{class:fe},[t.tableList.map((e=>1!==e.delFlag&&f("div",{class:Ue},[f("div",{class:ke},[f(a,{item:e,isDownload:!0,disabledMouseHover:!1,offShelf:!e.enableFlag,onOffShelf:()=>{t.type="remove",t.removeContent="该资源已下架,是否删除?",t.removeVisiable=!0,t.removeItem=e},onClick:a=>{"IMG"!==a.type&&e.enableFlag&&(t.show=!0,t.item={instrumentId:t.searchGroup.musicalInstrumentId||null,...a},console.log(t.item,"item"))},onCollect:e=>(async e=>{try{await i({materialId:e.id,favoriteFlag:e.isCollect?0:1,type:e.type}),e.isCollect=!e.isCollect}catch{}})(e)},null),t.editStatus&&f("div",{class:[Te,t.editIds.includes(e.id)?Re:""],onClick:()=>{const a=t.editIds.indexOf(e.id);a>-1?t.editIds.splice(a,1):t.editIds.push(e.id)}},[f("img",{src:t.editIds.includes(e.id)?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAABPBJREFUWEfNWWtsU2UYft72rBfbdVu7TViMIJtGIhMSf5lMA7h/ogJuYZkmxgwkGJfo0GQ1uBVmnBohEI0JIBEVJMDEeb+gbvzgj0wlbhohW4w6Cxvt2LrTrbdzPvMd6P3QnlMurn/Pe3m+9/K87/eVUODPvGWyWpKkRxjYPcRQBUIVA6q4OQK8YPAygpdAPxmNxk/CL5eOFOKK9CjZPdOVoUjkGTCsYYwt0aNLREMgfGwxmd4SPcXjWnU1AazwMPvF0MRmRux5MNi1GleVI4jE6I0yi3P7BQ+J+WzlBWh0+9YCeBsMN+czpus7YQzA01J3+bFcelcEyBijIvdEBwM6AZb3ILrAJYSJG94a7XZuIyKmZkPV8S07mPXc+MR7AGsszLFeLTo6v9L5xGgbzWZqZgHkkRPcE4dvHLg4JDoa63auy4xkFkCh3d/JwDx6Y3At5Ankib3q2ppqKw2g0hCMeq5fzeU7BjEQa0htnARATiUTYf/wNe/WfJiyi27MaXbVxCkoAfD/TG02xmSqFYB8QsyGwyNXTcI5ouUwE1YtLoLDcikmZiNh18mQugZBtJrN1XziKNKC29/FGNuiNxta5Q0EnGotQbXTCLv5EsBQlGHDMRGHTkfUB46BumKvuDriAAf1zlat4LjcvgYbmpaaYRaSPTl4PobluwOYCqnyM/jsjnW7aolvJbFYbFiPQz2yDbUmvPmwDRV2Q0LtXEDCowdE/PhP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+nQvOu1xjKVcb9ILjUdHHsD0n800zcE3XsrzodjMoux7dYCAFz5WkJ5Mso98Su3Ip9wRpasfU1F7eSXwPG/tEUFgtxfnZGV1usH+4aMvatDw0Z6+ZR5OpYt99aS62uG5gBi4HigpY1PBkJDMk81wZmK2SsW8CtoGETvVb/AsD+WDXRV6uuX9TfEP8CCAycy76bdMQAAAAASUVORK5CYII=",class:je},null)])])]))),!t.loading&&u.value&&f(Q,{style:{minHeight:"50vh"},description:"暂无资源"},null)])]}),f(r,{disabled:t.editStatus,page:t.pagination.page,"onUpdate:page":e=>t.pagination.page=e,pageSize:t.pagination.rows,"onUpdate:pageSize":e=>t.pagination.rows=e,pageTotal:t.pageTotal,"onUpdate:pageTotal":e=>t.pageTotal=e,onList:d},null),f(Y,{show:t.show,"onUpdate:show":e=>t.show=e,item:t.item},null),f(M,{maskClosable:E,show:t.uploadStatus,"onUpdate:show":e=>t.uploadStatus=e,preset:"card",showIcon:!1,class:["modalTitle background",Be],title:t.editStatus?"修改资源":"上传资源",blockScroll:!1},{default:()=>[f(X,{editStatus:t.editStatus,onClose:()=>{t.uploadStatus=!1},onConfirm:()=>{t.editIds=[],t.editList=[],t.editOverIds=[],t.saveStatus=!1,m.value?.resetStatus(),p(t.searchGroup)},list:t.editList,showDelete:t.isAdd,onEditAll:e=>{try{t.tableList.forEach((a=>{const l=e.find((e=>e.id===a.id));l&&(a.openFlag=l.openFlag,a.title=l.name,a.instrumentIds=l.instrumentIds,a.content=l.content,a.coverImg=l.coverImg,t.editOverIds.includes(a.id)||t.editOverIds.push(a.id))})),t.uploadStatus=!1}catch(a){console.log(a)}}},null)]}),f(M,{maskClosable:E,show:t.saveStatus,"onUpdate:show":e=>t.saveStatus=e,preset:"card",showIcon:!1,class:["modalTitle background",Me],title:"上传资源",blockScroll:!1},{default:()=>[f(Z,{onClose:()=>t.saveStatus=!1,onConfrim:e=>{const a=[];(e||[]).forEach((e=>{a.push({instrumentIds:null,openFlag:!1,coverImg:e.coverImg,title:e.name||"",type:q(e.content),enableFlag:1,content:e.content,id:null})})),t.editList=[...a],t.uploadStatus=!0,t.isAdd=!0,t.editStatus=!1}},null)]}),c.value?f(Je,null,null):null,f(M,{maskClosable:E,show:t.removeVisiable,"onUpdate:show":e=>t.removeVisiable=e,preset:"card",class:["modalTitle",Ee],title:"提示"},{default:()=>[f("div",{class:Ne},[f("p",null,[t.removeContent]),f(b,{class:Fe,justify:"center"},{default:()=>[f(v,{round:!0,type:"primary",onClick:()=>{"remove"===t.type?(async()=>{try{"MUSIC"===t.searchGroup.type?await s([t.removeItem.id]):await n({ids:t.removeItem.id}),e.success("删除成功"),p(t.searchGroup)}catch{}})():t.tableList.forEach((e=>{t.editIds.includes(e.id)&&(e.delFlag=1,t.editOverIds.includes(e.id)||t.editOverIds.push(e.id))})),t.removeVisiable=!1}},{default:()=>[R("确定")]}),f(v,{round:!0,onClick:()=>t.removeVisiable=!1},{default:()=>[R("取消")]})]})])]})])}}),Xe="_list_17t0f_1",Ze="_itemWrap_17t0f_11",qe="_itemWrapBox_17t0f_16",He="_searchGroup_17t0f_28",$e="_btnType_17t0f_32",et="_inputSearch_17t0f_67",tt="_searchCatatory_17t0f_91",at="_spaceSection_17t0f_110",lt="_popSelect_17t0f_149",it="_spaceSection2_17t0f_159",st="_textBtn_17t0f_172",ot="_iconArrow_17t0f_184",nt="_textBtnActive_17t0f_193",rt="_removeVisiable_17t0f_201",ct="_studentRemove_17t0f_207",dt="_btnGroupModal_17t0f_219";function ut(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!C(e)}const pt=m({name:"search-group",emits:["search"],setup(e,{emit:t}){const a=u(),l=h([]),i=g({type:"MUSIC",name:"",audioPlayTypes:"",bookVersionId:null,subjectId:null}),s=g({tempSubjectId:null}),o=g({audioPlayTypeList:[]}),n=()=>{t("search",{...i,subjectId:"SING"!==i.audioPlayTypes?i.subjectId:null,audioPlayTypes:i.audioPlayTypes?"PLAY_SING"===i.audioPlayTypes?["PLAY","SING"]:[i.audioPlayTypes]:[]})},r=h(),m=h([]),A=h(0),C=h(0),I=h(!1),P=h(!1),z=e=>{const t={};return e?.forEach((e=>{e.id===i.subjectId&&(t.selected=!0,t.name=e.name)})),t},G=()=>{const e=a.getSubjectInstrumentOnly;if(e.length>0){const t=e[0];t.instruments&&t.instruments.length>1?(s.tempSubjectId=t.instruments[0]?.value,i.subjectId=t.instruments[0]?.value):i.subjectId=t.value}};return _((async()=>{const e=Object.keys(p).map((e=>({value:e,name:p[e]})));o.audioPlayTypeList=[{name:"全部",value:""},...e],l.value=[...d],await a.getMusicSheetCategory(),await a.getSubjects(),G(),n()})),()=>{let e,t,d;return f("div",{class:He},[f("div",{class:tt},[f(b,{size:"small",class:$e},ut(e=l.value.map((e=>f(v,{type:i.type===e.value?"primary":"default",secondary:i.type!==e.value,round:!0,size:"small",focusable:!1,onClick:()=>{i.type=e.value,i.audioPlayTypes="",G(),n(),w((()=>{"MUSIC"===i.type?(A.value=r.value?.offsetHeight,(()=>{try{m.value=[...new Set(m.value)];let e=-1;m.value.forEach(((t,a)=>{0===a?(C.value=1,e=t.offsetLeft):t.offsetLeft===e&&0!=a&&C.value++,I.value?t.style.display="block":C.value>1?t.style.display="none":t.style.display="block"})),P.value=!0}catch{}})()):m.value=[]}))}},{default:()=>[e.label]}))))?e:{default:()=>[e]})]),f(y,{labelAlign:"left",labelPlacement:"left"},{default:()=>["MUSIC"===i.type&&f(S,{label:"场景:"},{default:()=>[f(b,{class:at},ut(t=o.audioPlayTypeList.map((e=>f("span",{class:[st,i.audioPlayTypes===e.value&&nt],onClick:()=>{i.audioPlayTypes=e.value,n()}},[e.name]))))?t:{default:()=>[t]})]}),"SING"!==i.audioPlayTypes&&f(S,{label:"乐器:"},{default:()=>[f(b,{class:it},ut(d=a.getSubjectInstrumentOnly.map((e=>e.instruments&&e.instruments.length>1?f(x,{options:e.instruments,trigger:"hover",scrollable:!0,value:s.tempSubjectId,"onUpdate:value":[e=>s.tempSubjectId=e,()=>{i.subjectId=s.tempSubjectId,n()}],key:e.value,class:[lt]},{default:()=>[f("span",{class:[st,z(e.instruments).selected&&nt]},[z(e.instruments).name||e.name,f("i",{class:ot},null)])]}):f("span",{class:[st,i.subjectId===e.value&&nt],onClick:()=>{i.subjectId=e.value,s.tempSubjectId=null,n()}},[e.name]))))?d:{default:()=>[d]})]}),f(c,{class:et,round:!0,onSearch:e=>{i.name=e,n()}},null)]})])}}}),mt=m({name:"myColloge-guide",emits:["close"],setup(e,{emit:t}){const a=g({box:{height:"0px"},show:!1,steps:[{ele:"",img:K("myColloge1.png"),imgStyle:{top:z(-4),left:z(630),width:z(458),height:z(291)},btnsStyle:{bottom:z(96),left:z(790)},eleRectPadding:{left:7,top:7,width:14,height:14},type:"bottom"}],step:0}),l=h(!1),i=h({});(async()=>{try{const e=localStorage.getItem("teacher-guideInfo");i.value=e?JSON.parse(e)||null:{},i.value&&i.value.myColloge?l.value=!1:l.value=!0}catch(e){console.log(e)}})();const s=()=>{const e=document.getElementById(`myColloge-${a.step}`);if(e){const t=e.getBoundingClientRect(),l=a.steps[a.step].eleRectPadding?.left||0,i=a.steps[a.step].eleRectPadding?.top||0,s=a.steps[a.step].eleRectPadding?.width||0,o=a.steps[a.step].eleRectPadding?.height||0;a.box={left:t.x-l+"px",top:t.y-i+"px",width:t.width+s+"px",height:t.height+o+"px"}}else r()},o=async e=>{try{if(console.log(e),"myCollect"!==e)return;console.log(e,"name"),i.value?i.value.myColloge=!1:i.value={myColloge:!1};try{D({guideTag:"teacher-guideInfo",guideValue:JSON.stringify(i.value)})}catch(t){console.log(t)}a.step=0,s(),l.value=!0}catch{}};_((()=>{s(),window.addEventListener("resize",n),G.on("natural-resources-guide",(e=>o(e)))}));const n=()=>{s()};U((()=>{window.removeEventListener("resize",n),G.off("natural-resources-guide",o)}));const r=()=>{a.step>=4?c():(a.step=a.step+1,s())},c=async()=>{i.value?i.value.myColloge=!0:i.value={myColloge:!0};try{D({guideTag:"teacher-guideInfo",guideValue:JSON.stringify(i.value)})}catch(e){console.log(e)}l.value=!1};return()=>f(A,null,[l.value?k(f("div",{"onUpdate:show":e=>l.value=e,class:["n-modal-mask","n-modal-mask-guide"]},[f("div",{class:J.content,onClick:()=>r()},[f("div",{class:J.backBtn,onClick:e=>{e.stopPropagation(),c()}},[R("跳过")]),f("div",{class:J.box,style:{...a.box},id:`modeType-${a.step}`},[a.steps.map(((e,t)=>f("div",{onClick:e=>e.stopPropagation(),class:J.item,style:"bottom"==e.type?{display:t===a.step?"":"none",left:`${e.eleRect?.left}px`,top:`-${e.imgStyle?.height}`}:{display:t===a.step?"":"none",left:`${e.eleRect?.left}px`,top:`${a.box?.height}`}},[f("img",{class:J.img,style:e.imgStyle,src:e.img},null),f("div",{class:J.btns,style:e.btnsStyle},[a.step+1==a.steps.length?f(A,null,[f("div",{class:[J.endBtn],onClick:()=>c()},[R("完成")])]):f("div",{class:J.btn,onClick:()=>r()},[R("下一步 ("),a.step+1,R("/"),a.steps.length,R(")")])])])))])])]),[[T,l.value,"show"]]):null])}}),gt=m({name:"share-resources",setup(){const e=N();F();const t=g({searchWord:"",loading:!1,pageTotal:0,pagination:{page:1,rows:20},searchGroup:{type:"MUSIC",name:"",bookVersionId:null,musicalInstrumentId:null,subjectId:null,sourceType:4},tableList:[],show:!1,item:{},removeVisiable:!1,removeContent:"该资源已下架,是否删除?",removeItem:{}}),s=async()=>{try{t.loading=!0;const{data:e}=await l({...t.searchGroup,...t.pagination});t.loading=!1,t.pageTotal=Number(e.total);const a=e.rows||[],i=[];a.forEach((e=>{i.push({id:e.id,coverImg:e.coverImg,type:e.type,title:e.name,isCollect:!!e.favoriteFlag,isSelected:"PLATFORM"===e.sourceFrom,refFlag:e.refFlag,content:e.content,subjectId:e.subjectIds,background:e.background,audioPlayTypeArray:e.audioPlayTypes?e.audioPlayTypes.split(","):[],enableFlag:e.enableFlag?1:0,openFlag:e.openFlag})})),t.tableList=i||[],setTimeout((()=>{o.value=!0}),500)}catch{t.loading=!1}},o=h(!1),n=async e=>{t.pagination.page=1;const{subjectId:a,...l}=e;t.searchGroup=Object.assign(t.searchGroup,{...l,musicalInstrumentId:a,subjectId:null}),s()};return _((()=>{})),()=>f(A,null,[f(pt,{onSearch:e=>n(e)},null),f(j,{show:t.loading,"onUpdate:show":e=>t.loading=e,style:{"min-height":"50vh"}},{default:()=>[f("div",{class:Xe,id:"myColloge-0"},[t.tableList.map((e=>f("div",{class:Ze},[f("div",{class:qe},[f(a,{item:e,offShelf:!e.enableFlag,onOffShelf:()=>{t.removeVisiable=!0,t.removeItem=e},disabledMouseHover:!1,onClick:a=>{"IMG"!==a.type&&e.enableFlag&&(t.show=!0,t.item={instrumentId:t.searchGroup.musicalInstrumentId||null,...a})},onCollect:e=>(async e=>{try{await i({materialId:e.id,favoriteFlag:e.isCollect?0:1,type:e.type}),e.isCollect=!e.isCollect}catch{}})(e)},null)])]))),!t.loading&&t.tableList.length<=0&&f(Q,{style:{minHeight:"50vh"},description:"暂无收藏资源"},null)])]}),f(r,{page:t.pagination.page,"onUpdate:page":e=>t.pagination.page=e,pageSize:t.pagination.rows,"onUpdate:pageSize":e=>t.pagination.rows=e,pageTotal:t.pageTotal,"onUpdate:pageTotal":e=>t.pageTotal=e,onList:s},null),f(Y,{show:t.show,"onUpdate:show":e=>t.show=e,item:t.item},null),o.value?f(mt,null,null):null,f(M,{maskClosable:E,show:t.removeVisiable,"onUpdate:show":e=>t.removeVisiable=e,preset:"card",class:["modalTitle",rt],title:"提示"},{default:()=>[f("div",{class:ct},[f("p",null,[t.removeContent]),f(b,{class:dt,justify:"center"},{default:()=>[f(v,{round:!0,type:"primary",onClick:()=>{(async()=>{try{await i({materialId:t.removeItem.id,favoriteFlag:0,type:t.removeItem.type}),e.success("删除成功"),n(t.searchGroup)}catch{}})(),t.removeVisiable=!1}},{default:()=>[R("确定")]}),f(v,{round:!0,onClick:()=>t.removeVisiable=!1},{default:()=>[R("取消")]})]})])]})])}});e("default",m({name:"student-studentList",setup(){const e=u(),t=h("myResources");return _((async()=>{G.on("teacher-guideInfo",(e=>{"natural-resources"===e&&G.emit("natural-resources-guide",t.value)})),await e.getMusicSheetCategory(!0)})),()=>f("div",{class:H.listWrap},[f(W,{defaultValue:"myResources",paneClass:H.paneTitle,justifyContent:"center",paneWrapperClass:H.paneWrapperContainer,"onUpdate:value":[e=>{t.value=e},e=>t.value=e],value:t.value},{default:()=>[f(L,{name:"myResources",tab:"我的资源"},{default:()=>[f(De,null,null)]}),f(L,{name:"shareResources",tab:"共享资源"},{default:()=>[f(_e,null,null)],tab:()=>f("span",{id:"shareResources-0"},[R("共享资源")])}),f(L,{name:"myCollect",tab:"我的收藏"},{default:()=>[f(gt,null,null)]})]})])}}))}}}));
|