1import{a0 as f,a9 as i,a1 as b,a7 as h,ab as c,a3 as a,ac as d,aa as m}from"./vendor-WhJxQAne.js";import{bH as _}from"./common-DA6v5qPI.js";import{C as p}from"./shared/CourseSelectionLastCheck/FeedbackDialogCourses-DDkOL5rl.js";import"./sdui-app-switcher-B1W1d0j_.js";import"./bootstrap-C-7OD816.js";import"./sdui-lang-de-CiT0j-u3.js";import"./sdui-tracking-DIkZmxzc.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"sdui-frontend@production-2025.1.0-ecca8ab01543e423a48c4cbd431f15a4c6ede54a"};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="81f1e7c0-e613-47ca-930a-3cadb01a0627",e._sentryDebugIdIdentifier="sentry-dbid-81f1e7c0-e613-47ca-930a-3cadb01a0627")}catch{}})();const g={name:"FeedbackDialogCourses",components:{CourseSelectionOverview:p},data:()=>({selectedCourses:[]}),computed:{courses(){return _.query().with("lessons.teachers|grades|bookables").with("course.subject").get()},selectedEntity(){return{id:this.$me.id,type:"users"}}
1,availableCourses(){return this.$store.state.timetable.available_courses||[]},deselectedCouses(){return this.availableCourses.filter(e=>!this.selectedCourses.includes(e))}},methods:{toggleCourse(e){const t=!!this.selectedCourses.find(s=>s===e),r=s=>[...new Set(s)];return this.selectedCourses=r(this.selectedCourses.filter(s=>s!==e)),!t&&this.selectedCourses.push(e)},redirectToTimetable(){this.$toastNotify({type:"success",text:this.$t("course.finished.subtitle")}),this.$router.push({name:"timetable",params:{entity:"users",id:this.$me.id}})}},mounted(){this.$store.dispatch("timetable/getTimetableChange",{userId:this.$me.id,overwrite:!0})}},C={class:"font-weight-bold"};function y(e,t,r,s,v,o){const n=i("b-col"),l=i("b-row"),u=i("course-selection-overview");return b(),h("div",null,[c(l,null,{default:a(()=>[c(n,null,{default:a(()=>[d("h1",C,m(e.$t("feedback.courses.title")),1)],void 0,!0),_:1})],void 0,!0),_:1}),d("div",null,[c(u,{"selected-entity":o.selectedEntity,"selected-courses":e.selectedCourses,"deselected-courses":o.deselectedCouses,courses:o.courses,"redirect-to-finished-screen":!1,onToggle_course:o.toggleCourse,onFinished:o.redirectToTimetable},null,8,["selected-entity","selected-courses","deselected-courses","courses","onToggle_course","onFinished"])])])}const I=f(g,[["render",y],["__scopeId","data-v-32464757"]]);export{I as default}; 2//# sourceMappingURL=FeedbackDialogCourses-BaFOJVdl.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.