import{g as i}from"./online-course.ea64e478.js";import{A as e}from"./add-course.6aeff1b9.js";import{f as n}from"./my-course.a3711b76.js";import{n as a}from"./vueComponentNormalizer.9ef17bb1.js";import"./index.51e15757.js";import"./org.c2b47d31.js";/* empty css                                                              *//* empty css                                                                   */import"./TableLayout.05a39499.js";/* empty css                                                    */import"./DialogLayout.e3af3567.js";import"./ActionBar.1725b1a3.js";/* empty css                                                     *//* empty css                                                               */import"./Preview.1248e311.js";import"./data-report.1a365133.js";import"./index.70d38b82.js";import"./button-selft.87bbc4e0.js";import"./utils.068fedb0.js";import"./PaperSelectQuestionTable.45cbe4d9.js";/* empty css                */import"./questions.7b4fcf73.js";import"./QuestionDifficultyLevelSelector.9fe5a513.js";import"./QuestionListPreview.baa07396.js";import"./QuestionItem.1944680c.js";import"./questionInfoMapJsonTrans.58e126b5.js";import"./course-disscuss.4aaeee1b.js";var m=function(){var t=this,o=t.$createElement,s=t._self._c||o;return s("div",{directives:[{name:"loading",rawName:"v-loading",value:!t.courseInfo,expression:"!courseInfo"}],staticStyle:{"min-height":"30vh"}},[t.courseInfo?s("AddCourse",{attrs:{classify:t.classifyList_map,nowCheckCourse:t.courseInfo,isStudy:!0},on:{close_addCourse:function(l){return t.$router.back()}}}):t._e()],1)},c=[];const p={components:{AddCourse:e},data:()=>({classifyList_map:[],courseInfo:null}),activated(){this.classifyList_map=[],this.courseInfo=null,this.fetchCourseInfo(this.$route.params.courseId)},methods:{async fetchCourseInfo(t){var s;const{data:o}=await n(t);this.courseInfo=o,this.getClassifyList((s=o.courseInfo)==null?void 0:s.classify)},async getClassifyList(t){const{data:o}=await i(),{map:s}=o.toTree();this.classifyList_map=[s[t]]}}},r={};var u=a(p,m,c,!1,f,null,null,null);function f(t){for(let o in r)this[o]=r[o]}const D=function(){return u.exports}();export{D as default};
