import{g as i}from"./online-course.07094acf.js";import{A as e}from"./add-course.4b5bbdd4.js";import{f as n}from"./my-course.d26f38fb.js";import{n as a}from"./vueComponentNormalizer.9ef17bb1.js";import"./index.f5168bf8.js";import"./org.23184f20.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.0aa9dcef.js";import"./data-report.0c7c73f2.js";import"./index.2adbb9ac.js";import"./button-selft.a87deecf.js";import"./utils.068fedb0.js";import"./PaperSelectQuestionTable.9e024c19.js";/* empty css                */import"./questions.7b7a7919.js";import"./QuestionDifficultyLevelSelector.b9a0d127.js";import"./QuestionListPreview.baa07396.js";import"./QuestionItem.1944680c.js";import"./questionInfoMapJsonTrans.58e126b5.js";import"./course-disscuss.1394e5b3.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};
