(function(t){function e(e){for(var a,r,o=e[0],c=e[1],l=e[2],u=0,m=[];ue.getTime()&&"Completed"!==t.state_name})).length},activeLmsHomeworks:function(t){var e=new Date,s=t.assignments.filter((function(t){return new Date(t.start_date).getTime()e.getTime()&&"Completed"!==t.state_name}));return t.assignmentsCount=s.length,s.length>0?D.a.orderBy(s.slice(0,4),["end_date","scorm.scorm_name"],["desc","asc"]):D.a.orderBy(t.assignments.slice(0,4),["end_date","scorm.scorm_name"],["desc","asc"])}},mutations:{setPackages:function(t,e){"teacher"===t.roleType?t.freeContents=e:"student"===t.roleType&&(t.freeContents=e?e.filter((function(t){return"free"===t.package_type})):[])},setCollections:function(t,e){t.collections=e},setScorms:function(t,e){t.scorms=e},setLmsAssignments:function(t,e){var s,a=Object(g["a"])(e);try{for(a.s();!(s=a.n()).done;){var n=s.value;100===n.scorm.scorm_scores.total_score?n.state_name="Completed":0===n.scorm.scorm_scores.total_score?n.state_name="Not Started":n.state_name="Ongoing"}}catch(i){a.e(i)}finally{a.f()}e=D.a.orderBy(e,["start_date"],["desc"]),t.assignments=e},setLmsIndAssignments:function(t,e){var s,a=Object(g["a"])(e);try{for(a.s();!(s=a.n()).done;){var n=s.value;100===n.scorm.scorm_scores.total_score?n.state_name="Completed":0===n.scorm.scorm_scores.total_score?n.state_name="Not Started":n.state_name="Ongoing"}}catch(i){a.e(i)}finally{a.f()}e=D.a.orderBy(e,["start_date"],["desc"]),t.individualAssignments=e},setAssignments:function(t,e){t.assignmentss=e.data.data},setIndAssignments:function(t,e){t.individualAssignments=e.data.data}},actions:{getPackages:function(t){return Object(o["a"])(regeneratorRuntime.mark((function e(){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,$.getPackages();case 2:s=e.sent,t.commit("setPackages",s.data);case 4:case"end":return e.stop()}}),e)})))()},getCollections:function(t){return Object(o["a"])(regeneratorRuntime.mark((function e(){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,$.getCollections();case 2:s=e.sent,t.commit("setCollections",s.data);case 4:case"end":return e.stop()}}),e)})))()},getScorms:function(t){return Object(o["a"])(regeneratorRuntime.mark((function e(){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,$.getScorms();case 2:s=e.sent,t.commit("setScorms",s.data);case 4:case"end":return e.stop()}}),e)})))()},getLmsAssignments:function(t){return Object(o["a"])(regeneratorRuntime.mark((function e(){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,$.getAssignments(1,"id");case 2:s=e.sent,t.commit("setAssignments",s),t.commit("setLmsAssignments",s.data.data);case 5:case"end":return e.stop()}}),e)})))()},getLmsIndAssignments:function(t){return Object(o["a"])(regeneratorRuntime.mark((function e(){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,$.getAssignments(1,"id","individual");case 2:s=e.sent,t.commit("setLmsIndAssignments",s.data.data);case 4:case"end":return e.stop()}}),e)})))()}}},A={state:{googleCourses:[],googleCourseWorks:[],googleReady:!1},getters:{courseworks:function(t){var e,s=[],a=new Date,n=a.getUTCMonth()+1,i=a.getUTCDate(),r=a.getUTCFullYear(),o=Object(g["a"])(t.googleCourseWorks);try{for(o.s();!(e=o.n()).done;){var c=e.value;c.dueDate&&c.dueDate.year>=r&&c.dueDate.month>=n&&c.dueDate.day&&c.dueDate.day>=i&&s.push(c)}}catch(l){o.e(l)}finally{o.f()}return s.filter((function(t){return"ASSIGNMENT"===t.workType}))},courseworkCount:function(t){var e,s=[],a=new Date,n=a.getUTCMonth()+1,i=a.getUTCDate(),r=a.getUTCFullYear(),o=Object(g["a"])(t.googleCourseWorks);try{for(o.s();!(e=o.n()).done;){var c=e.value;c.dueDate&&c.dueDate.year>=r&&c.dueDate.month>=n&&c.dueDate.day&&c.dueDate.day>=i&&s.push(c)}}catch(l){o.e(l)}finally{o.f()}return s.filter((function(t){return"ASSIGNMENT"===t.workType})).length}},mutations:{setGoogleCourses:function(t,e){t.googleCourses=e},setGoogleCourseWorks:function(t,e){t.googleCourseWorks=e,t.googleReady=!0}},actions:{getGoogleClassroomData:function(t){return Object(o["a"])(regeneratorRuntime.mark((function e(){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,window.fetchCourses();case 2:s=e.sent,t.commit("setGoogleCourses",s.courses),t.commit("setGoogleCourseWorks",s.courseWorks);case 5:case"end":return e.stop()}}),e)})))()}}};a["a"].use(l["a"]);var O=D.a.merge(T,S,j,A),R=O.state,L=O.getters,P=O.mutations,I=O.actions,E=new l["a"].Store({plugins:[Object(x["a"])()],state:R,getters:L,mutations:P,actions:I}),B={login:function(t,e){return Object(o["a"])(regeneratorRuntime.mark((function s(){var a;return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:return s.prev=0,s.next=3,w().post("/authenticate",{email:t,password:e,api_key:b.a.apiKey});case 3:if(a=s.sent,"Request failed with status code 401"!==a.message){s.next=6;break}return s.abrupt("return",{success:!1});case 6:return s.next=8,f.cookie.set(b.a.global_key.tokenName,a.data.token);case 8:return s.abrupt("return",{success:!0,data:a.data});case 11:return s.prev=11,s.t0=s["catch"](0),s.abrupt("return",{success:!1,data:s.t0.message});case 14:case"end":return s.stop()}}),s,null,[[0,11]])})))()},loginSso:function(t){return Object(o["a"])(regeneratorRuntime.mark((function e(){var s,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(e.prev=0,s=null,"student"!==t.roleType.toLowerCase()){e.next=8;break}return e.next=5,w().post("/platformUserCreate",{school_id:t.school_id,campus_name:t.campus_name,first_name:t.first_name,last_name:t.last_name,username:t.username,password:t.password,api_key:b.a.apiKey,role:t.roleType,class:t.class,branch:t.branch});case 5:s=e.sent,e.next=12;break;case 8:if("teacher"!==t.roleType.toLowerCase()){e.next=12;break}return e.next=11,w().post("/platformUserCreate",{school_id:t.school_id,campus_name:t.campus_name,first_name:t.first_name,last_name:t.last_name,username:t.username,password:t.password,api_key:b.a.apiKey,role:t.roleType,classes:t.classes});case 11:s=e.sent;case 12:if(422===s.data.status_code){e.next=21;break}return e.next=15,w().post("/authenticate",{email:t.username,password:t.password,api_key:b.a.apiKey});case 15:if(a=e.sent,"Request failed with status code 401"!==a.message){e.next=18;break}return e.abrupt("return",{success:!1});case 18:return e.next=20,f.cookie.set(b.a.global_key.tokenName,a.data.token);case 20:return e.abrupt("return",{success:!0,data:a.data});case 21:return e.abrupt("return",{success:!0,data:s.data.message});case 24:return e.prev=24,e.t0=e["catch"](0),e.abrupt("return",{success:!1,data:e.t0.message});case 27:case"end":return e.stop()}}),e,null,[[0,24]])})))()},refreshToken:function(){return Object(o["a"])(regeneratorRuntime.mark((function t(){var e,s,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,e=E.state.username,s=E.state.password,t.next=5,w().post("/authenticate",{email:e,password:s,api_key:b.a.apiKey});case 5:return a=t.sent,t.next=8,f.cookie.set(b.a.global_key.tokenName,a.data.token);case 8:return t.abrupt("return",{success:!0,data:a.data});case 11:return t.prev=11,t.t0=t["catch"](0),t.abrupt("return",{success:!1,data:t.t0.message});case 14:case"end":return t.stop()}}),t,null,[[0,11]])})))()},checkSchool:function(){return Object(o["a"])(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,w().post("/organization/checkNLSchool");case 3:return e=t.sent,t.abrupt("return",{success:!0,data:e.data});case 7:return t.prev=7,t.t0=t["catch"](0),t.abrupt("return",{success:!1,data:t.t0.message});case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))()},loginLog:function(t,e){return Object(o["a"])(regeneratorRuntime.mark((function s(){var a;return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:return s.prev=0,s.next=3,w().post("/user/loginLog",{api_key:b.a.apiKey,user_agent:t,ip_address:e});case 3:return a=s.sent,s.abrupt("return",{success:!0,data:a.data});case 7:return s.prev=7,s.t0=s["catch"](0),s.abrupt("return",{success:!1,data:s.t0.message});case 10:case"end":return s.stop()}}),s,null,[[0,7]])})))()}},M={getStudentDetails:function(){return Object(o["a"])(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,B.refreshToken();case 3:return t.next=5,w().post("/user");case 5:return e=t.sent,t.abrupt("return",{success:!0,data:e.data.data});case 9:return t.prev=9,t.t0=t["catch"](0),t.abrupt("return",{success:!1,data:t.t0.message});case 12:case"end":return t.stop()}}),t,null,[[0,9]])})))()},getTimeStamp:function(){return Object(o["a"])(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,B.refreshToken();case 3:return t.next=5,w().get("/settings/datetime");case 5:return e=t.sent,t.abrupt("return",{success:!0,data:e.data});case 9:return t.prev=9,t.t0=t["catch"](0),t.abrupt("return",{success:!1,data:t.t0.message});case 12:case"end":return t.stop()}}),t,null,[[0,9]])})))()},setProfilePicture:function(t){return Object(o["a"])(regeneratorRuntime.mark((function e(){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,B.refreshToken();case 3:return e.next=5,w().post("/user/avatarUpdate",t);case 5:if(s=e.sent,!0!==s.data.success){e.next=8;break}return e.abrupt("return",!0);case 8:return e.abrupt("return",!1);case 11:return e.prev=11,e.t0=e["catch"](0),e.abrupt("return",!1);case 14:case"end":return e.stop()}}),e,null,[[0,11]])})))()},getTeacherStudents:function(t){return Object(o["a"])(regeneratorRuntime.mark((function e(){var s,a,n,i,r,o,c,l,d,u,m;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return s=[],e.next=3,B.refreshToken();case 3:a=t.filter((function(t){return"grade"===t.type})),n=Object(g["a"])(a),e.prev=5,n.s();case 7:if((i=n.n()).done){e.next=25;break}return r=i.value,o={},o.text=r.name,o.value=r.id,o.icon="fa fa-sitemap",o.type="class",o.children=[],o.selected=!1,o.opened=!1,e.next=19,w().get("organization/".concat(r.id,"/students"));case 19:c=e.sent,l=Object(g["a"])(c.data);try{for(l.s();!(d=l.n()).done;)u=d.value,m={},m.text=u.student_name,m.icon="fa fa-user",m.value=u.user_id,m.type="student",m.selected=!1,m.parentValue=r.id,o.children.push(m)}catch(_){l.e(_)}finally{l.f()}s.push(o);case 23:e.next=7;break;case 25:e.next=30;break;case 27:e.prev=27,e.t0=e["catch"](5),n.e(e.t0);case 30:return e.prev=30,n.f(),e.finish(30);case 33:return e.abrupt("return",s);case 34:case"end":return e.stop()}}),e,null,[[5,27,30,33]])})))()},createUser:function(t){return Object(o["a"])(regeneratorRuntime.mark((function e(){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,w().post("/authenticate/createuser",t);case 3:return s=e.sent,e.abrupt("return",{success:!0,data:s.data});case 7:return e.prev=7,e.t0=e["catch"](0),e.abrupt("return",{success:!1,data:e.t0.message});case 10:case"end":return e.stop()}}),e,null,[[0,7]])})))()}},N={name:"profile",data:function(){return{selectedFile:null}},computed:Object(c["a"])(Object(c["a"])({},Object(l["c"])(["profileData"])),{},{imgpath:function(){var t=this.profileData.avatar?this.profileData.avatar:"/static/img/default-avatar.png";return t}}),methods:{hideImg:function(){this.$refs.profilePicture.style.opacity=.5},showImg:function(){this.$refs.profilePicture.style.opacity=1},onFileSelected:function(t){this.selectedFile=t.target.files[0],this.upload(this.selectedFile)},upload:function(t){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function s(){var a,n;return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:return a=new FormData,a.append("avatar",t),s.next=4,M.setProfilePicture(a);case 4:n=s.sent,console.log("deneme",n),n&&e.$store.dispatch("getUserDetails");case 7:case"end":return s.stop()}}),s)})))()}}},H=N,z=s("0f04"),F=s("2877");function q(t){this["$style"]=z["default"].locals||z["default"]}var U=Object(F["a"])(H,_,p,!1,q,null,null),Y=U.exports,G={name:"headerCustom",data:function(){return{wsCode:null}},methods:{readyLibrary:function(){var t=!1;return this.collections.data?(t=this.collections.data.find((function(t){return 213===t.id})),t?1:0):t},readyResources:function(){var t=!1;return this.userDetails?(t=11558!==this.userDetails.organization.find((function(t){return"main"===t.type})).id,t?1:0):t},logout:function(){f.cookie.set(b.a.global_key.tokenName,"",0),f.cookie.set(b.a.global_key.mcourserTokenName,"",0),localStorage.clear(),window.location="/"},back:function(){this.$router.go(-1)},home:function(){this.$router.push("/home")}},props:["isHome"],computed:Object(c["a"])({},Object(l["e"])(["roleType","grade","username","password","userDetails","collections"])),components:{Profile:Y},mounted:function(){Object(m["a"])("[title]")}},V=G,J=s("c356");s("478e");function W(t){this["$style"]=J["default"].locals||J["default"]}var K=Object(F["a"])(V,d,u,!1,W,"645f9e06",null),Z=K.exports,Q=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"row pt-1",staticStyle:{background:"#ededee","border-radius":"10px","box-shadow":"0.5px 0.866px 4px 0px rgba(2, 8, 2, 0.2)","padding-bottom":"25px"}},[s("div",{staticClass:"col-md-12"},[s("span",{staticClass:"text-left",class:t.$style.title},[t._v("ASSIGNMENTS")])]),s("div",{staticClass:"col-md-12 col-sm-12 mt-1 align-self-start"},[s("div",{staticClass:"row justify-content-between",class:t.$style.outNav},[s("div",{staticClass:"col-md-5",staticStyle:{background:"white","box-shadow":"0 4px 8px 0 rgba(0, 0, 0, 0.1) !important"}},[s("vue-c3",{directives:[{name:"show",rawName:"v-show",value:t.totalCount>0,expression:"totalCount > 0"}],attrs:{handler:t.countHandler}})],1),s("div",{staticClass:"col-md-5",staticStyle:{background:"white","box-shadow":"0 4px 8px 0 rgba(0, 0, 0, 0.1) !important"}},[s("vue-c3",{directives:[{name:"show",rawName:"v-show",value:t.totalCount2>0,expression:"totalCount2 > 0"}],attrs:{handler:t.countHandler2}})],1),s("div",{directives:[{name:"show",rawName:"v-show",value:t.noContent(),expression:"noContent()"}],staticClass:"col-md-12 mb-5"},[t._v(" There is no Assignment. ")])])])])},X=[],tt=s("4533"),et=s.n(tt),st={name:"chart",data:function(){return{countHandler:new a["a"],countHandler2:new a["a"],scoreHandler:new a["a"],scoreHandler2:new a["a"],totalCount:null,totalCount2:null}},components:{VueC3:et.a},computed:Object(c["a"])({},Object(l["c"])(["stats","stats2"])),methods:{setCharts:function(){var t=this,e={data:{columns:[["Ongoing",this.stats.count.ongoing]],onclick:function(){t.$router.push("/assignments")},type:"donut"},legend:{show:!0,position:"right"},tooltip:{show:!1},size:{height:200},color:{pattern:[b.a.colors.secondaryColor]},donut:{label:{format:function(t){return t}},title:"Total: ".concat(this.stats.count.total)},title:{text:"Group"},padding:{top:5}},s={data:{columns:[["Average",parseInt(this.stats.avgScore,10)],["Remaining",100-parseInt(this.stats.avgScore,10)]],onclick:function(){t.$router.push("/assignments")},type:"donut"},legend:{show:!0,position:"right"},tooltip:{show:!1},size:{height:200},color:{pattern:[b.a.colors.primaryColor,"#dee2e6"]},donut:{label:{format:function(t){return t},show:!1},title:"".concat(parseInt(this.stats.avgScore,10),"%")},title:{text:"Average Score"},padding:{top:5}};this.countHandler.$emit("init",e),this.scoreHandler.$emit("init",s)},setCharts2:function(){var t=this,e={data:{columns:[["Ongoing",this.stats2.count.ongoing]],onclick:function(){t.$router.push({name:"teacherAssignments",params:{type:"individual"}})},type:"donut"},legend:{show:!0,position:"right"},tooltip:{show:!1},size:{height:200},color:{pattern:[b.a.colors.secondaryColor]},donut:{label:{format:function(t){return t}},title:"Total: ".concat(this.stats2.count.total)},title:{text:"Individual"},padding:{top:5}},s={data:{columns:[["Average",parseInt(this.stats2.avgScore,10)],["Remaining",100-parseInt(this.stats2.avgScore,10)]],onclick:function(){t.$router.push({name:"teacherAssignments",params:{type:"individual"}})},type:"donut"},legend:{show:!0,position:"right"},tooltip:{show:!1},size:{height:200},color:{pattern:[b.a.colors.primaryColor,"#dee2e6"]},donut:{label:{format:function(t){return t},show:!1},title:"".concat(parseInt(this.stats2.avgScore,10),"%")},title:{text:"Average Score"},padding:{top:5}};this.countHandler2.$emit("init",e),this.scoreHandler2.$emit("init",s)},noContent:function(){var t=!1;return 0===this.totalCount&&0===this.totalCount2&&(t=!0),t}},mounted:function(){this.ready=!1,this.setCharts(),this.setCharts2(),this.totalCount=this.stats.count.total,this.totalCount2=this.stats2.count.total,this.ready=!0},watch:{stats:function(){this.setCharts(),this.totalCount=this.stats.count.total,this.totalCount2=this.stats2.count.total},stats2:function(){this.setCharts2(),this.totalCount=this.stats.count.total,this.totalCount2=this.stats2.count.total}}},at=st,nt=s("2686");function it(t){this["$style"]=nt["default"].locals||nt["default"]}var rt=Object(F["a"])(at,Q,X,!1,it,null,null),ot=rt.exports,ct=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"row",staticStyle:{background:"white","border-radius":"10px","box-shadow":"0.5px 0.866px 4px 0px rgba(2, 8, 2, 0.2)","padding-bottom":"25px"}},[s("div",{staticClass:"col-md-12",class:t.$style.divColHomeworks},[s("div",{class:t.$style.divHomeworks},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-12"},[s("router-link",{class:t.$style.customLink,attrs:{to:{name:"studentAssignments"}}},[s("span",{staticClass:"float-left",class:t.$style.title},[t._v("ASSIGNMENTS")]),t.assignmentsCount>4?s("span",{staticClass:"float-right",class:t.$style.title},[t._v("Show More ("+t._s(t.activeLmsHomeworks.length)+" / "+t._s(t.assignmentsCount)+")")]):t._e()])],1)]),t.lmsLoading?s("div",{staticClass:"row mt-2",class:t.$style.customTable},t._l(t.activeLmsHomeworks,(function(t){return s("div",{key:t.scorm.scorm_id,staticClass:"col-md-3 mt-1"},[s("Card",{attrs:{contentType:"scorm",scormCode:t.scorm.scorm_code,scormTitle:t.scorm.scorm_name,id:t.scorm.scorm_id,title:t.assignment_name,packageId:t.assignment_id,imgpath:"https://www.ueslms.com/uploads/scorm-big-image"!==t.scorm.scorm_big_image?t.scorm.scorm_image:t.scorm.scorm_big_image,score:t.scorm.scorm_scores.total_score,date:t.end_date,scormDesc:t.scorm.scorm_desc,collPath:t.scorm.collection_path}})],1)})),0):s("div",{staticClass:"row",class:t.$style.customTable},[s("div",{staticClass:"col-md-10 offset-md-1",class:t.$style.divMaterialColumn},[s("div",{class:t.$style.lmsLoading})])])])])])},lt=[],dt=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"card",class:t.$style.divCard,attrs:{title:t.scormDesc}},[s("div",{class:t.$style.customCard,on:{click:function(e){return t.goToContent()}}},[s("div",{staticClass:"row",class:t.$style.topCard},[s("div",{staticClass:"col-md-12",staticStyle:{width:"100%","max-height":"185px",overflow:"hidden"}},[s("img",{staticStyle:{width:"100%"},attrs:{src:t.imgpath,alt:"Content Cover",onerror:"this.src='https://cdn0.iconfinder.com/data/icons/seo-smart-pack/128/grey_new_seo-37-512.png'"}})])]),s("div",{staticClass:"col-md-12",staticStyle:{display:"flex","flex-direction":"column"}},["teacher"==t.roleType&&1==t.isHistory?s("h4",{class:t.$style.pathTitle},[t._v(" Already assigned ")]):t._e(),"scorm"==t.contentType&&"student"==t.roleType?s("h4",{class:t.$style.pathTitle},[t._v(" "+t._s(t.collPath)+" ")]):t._e(),"details"==t.contentType&&"teacher"==t.roleType?s("h4",{class:t.$style.pathTitle},[t._v(" "+t._s(t.collPath)+" ")]):t._e(),s("h1",{class:t.$style.contentTitle},[t._v(t._s(t.scormTitle?t.scormTitle:t.title))]),s("div",{staticClass:"row justify-content-center"},[s("div",["Not Started"===t.stateName?s("span",{staticClass:"badge badge-light",class:t.$style.divState},[t._v(t._s(t.stateName))]):"Ongoing"===t.stateName?s("span",{staticClass:"badge badge-info",class:t.$style.divState},[t._v(t._s(t.stateName))]):"Completed"===t.stateName?s("span",{staticClass:"badge badge-success",class:t.$style.divState},[t._v(t._s(t.stateName))]):"Expired"===t.stateName?s("span",{staticClass:"badge badge-danger",class:t.$style.divState},[t._v(t._s(t.stateName))]):t._e()])])]),"scorm"==t.contentType&&t.title?s("div",{staticClass:"row justify-content-center",class:t.$style.progressRow},[s("div",{staticClass:"col-md-12"},[s("div",{staticClass:"progress"},[s("div",{staticClass:"progress-bar progress-bar-striped",style:this.styleObject,attrs:{role:"progressbar","aria-valuemin":"10","aria-valuemax":"100"}},[t._v(t._s(t.score?Math.floor(t.score):0)+"%")])])])]):t._e(),t.date?s("div",{staticClass:"row d-flex justify-content-bottom align-items-center mt-3",class:t.$style.bottomCard},["student"===this.$store.state.roleType&&"assignment"===this.packageType||t.date?s("span",{staticClass:"col-lg-5 offset-lg-1 col-md-5 offset-md-1 col-sm-5 offset-sm-1 col-xs-5 offset-xs-1 badge badge-info",class:[t.$style.customBadge,t.$style.customBadgeFirst]},[t._v("Due Date")]):t._e(),t.date?s("span",{staticClass:"col-lg-6 col-md-5 col-sm-5 col-xs-5 badge",class:t.$style.customBadge},[t._v(t._s(t.convertDate(t.date)))]):t._e()]):t._e()])])},ut=[],mt=(s("5319"),{name:"card",data:function(){return{routerObj:{},styleObject:{width:"",color:"#fff"},scoreCard:0}},props:["title","imgpath","score","date","contentType","id","packageType","stateName","scormTitle","scormCode","scormDesc","linkUrl","packageId","coverImageHeight","assignmentId","communityType","collPath","isHistory"],mounted:function(){this.setRouterObject(),this.setCoverImageHeight(),this.setScoreProgess()},updated:function(){this.setRouterObject(),this.setCoverImageHeight()},computed:Object(c["a"])({},Object(l["e"])(["roleType","userDetails"])),methods:{goToContent:function(){"link"===this.contentType?window.open(this.linkUrl,"_blank"):"code"===this.contentType?window.open("https://content.ueslms.com/scorms/".concat(this.linkUrl,"/index_new.html"),"_blank"):"details"===this.contentType?(this.routerObj={name:"assignmentDetails",params:{id:this.assignmentId,community:this.communityType}},this.$router.push(this.routerObj)):this.$router.push(this.routerObj)},setRouterObject:function(){"scorm"===this.contentType?(Object(m["a"])("[title]"),"student"===this.roleType?this.date&&!this.linkUrl?this.routerObj={name:"assignmentDetails",params:{id:this.packageId,community:"individual"}}:this.routerObj={name:this.contentType,params:{id:this.id,packageId:this.packageId,scormTitle:this.scormTitle,scormDesc:this.scormDesc,scormCode:this.scormCode,packageType:null,timestamp:null}}:"teacher"===this.roleType&&(this.routerObj={name:this.contentType,params:{id:this.id,packageId:this.packageId,scormTitle:this.scormTitle,scormDesc:this.scormDesc,scormCode:this.scormCode,packageType:null,timestamp:null}})):"free"===this.contentType?this.routerObj={name:"scorm",params:{id:this.id,packageId:this.packageId,scormTitle:this.scormTitle,scormDesc:this.scormDesc,scormCode:this.scormCode,timestamp:null}}:this.routerObj={name:"collectionsPackage"===this.contentType?"collections":this.contentType,params:{id:this.id,searchList:"collectionsPackage"===this.contentType?"packages":"collections"}}},setCoverImageHeight:function(){if(this.coverImageHeight){var t,e=document.getElementsByClassName("cardCoverImg"),s=Object(g["a"])(e);try{for(s.s();!(t=s.n()).done;){var a=t.value;a.style.minHeight=this.coverImageHeight,a.style.width="auto"}}catch(n){s.e(n)}finally{s.f()}}},convertDate:function(t){function e(t){return t<10?"0".concat(t):t}var s=t.replace(/-/g,"/"),a=new Date(s),n=[e(a.getDate()),e(a.getMonth()+1),a.getFullYear()].join("-");return"".concat(n)},setScoreProgess:function(){this.score<5?this.styleObject.width="10%":this.styleObject.width="".concat(this.score,"%")}}}),_t=mt,pt=s("710f");function gt(t){this["$style"]=pt["default"].locals||pt["default"]}var ht=Object(F["a"])(_t,dt,ut,!1,gt,null,null),vt=ht.exports,ft=s("c1df"),yt=s.n(ft),bt={name:"homeworks",computed:Object(c["a"])(Object(c["a"])({},Object(l["c"])(["courseworks","lmsHomeworkCount","courseworkCount","activeLmsHomeworks"])),Object(l["e"])(["assignments","assignmentsCount"])),components:{Card:vt},methods:{timetohomeworks:function(){return yt()().valueOf()yt()(this.activeLmsHomeworks[0].start_date).valueOf()}},props:["lmsLoading","googleLoading"]},Ct=bt,wt=s("f4fc");function kt(t){this["$style"]=wt["default"].locals||wt["default"]}var Dt=Object(F["a"])(Ct,ct,lt,!1,kt,null,null),xt=Dt.exports,Tt=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"row",staticStyle:{background:"#ededee","border-radius":"10px","box-shadow":"0.5px 0.866px 4px 0px rgba(2, 8, 2, 0.2)","padding-bottom":"25px"}},[s("div",{staticClass:"col-md-12 col-sm-12 mt-1"},[s("div",{staticClass:"row mt-1"}),s("div",{staticClass:"row mt-2"},[s("br"),"student"==t.roleType&&Number(this.grade)>1&&Number(this.grade)<10&&8!=Number(this.grade)?s("div",{staticClass:"col-md-6 mt-1"},[s("a",{attrs:{href:"https://www.myeduassessment.com/#/login"+t.querystingtext,target:"blank"}},[s("div",{class:t.$style.divPlatform},[s("div",{class:[t.$style.divPlatformBtnModal,t.$style.divPlatformBtnAssessment]}),s("div",{class:t.$style.txtPlatform},[t._v("myEDUASSESSMENT")])])])]):t._e(),"teacher"==t.roleType&&(this.findTeacGrade(2,7)||this.findTeacGrade(9,10))?s("div",{staticClass:"col-md-6 mt-1"},[s("a",{attrs:{href:"https://report.myeduassessment.com/#/login"+t.querystingtext,target:"_blank"}},[s("div",{class:t.$style.divPlatform},[s("div",{class:[t.$style.divPlatformBtnModal,t.$style.divPlatformBtnAssessment]}),s("div",{class:t.$style.txtPlatform},[t._v("myEDUASSESSMENT")])])])]):t._e(),Number(this.grade)>=1&&Number(this.grade)<5||this.findTeacGrade(1,4)?s("div",{staticClass:"col-md-6 mt-2"},[s("a",{attrs:{href:"https://www.kidzwonder.com"+t.querystingtext,target:"_blank"}},[s("div",{class:t.$style.divPlatform},[s("div",{class:[t.$style.divPlatformBtnModal,t.$style.divPlatformBtnKidzwonder]}),s("div",{class:t.$style.txtPlatform},[t._v("KIDZWONDER")])])])]):t._e(),Number(this.grade)>=5&&Number(this.grade)<8||this.findTeacGrade(5,7)?s("div",{staticClass:"col-md-6 mt-2"},[s("a",{attrs:{href:"https://www.hexagonia.com.tr"+t.querystingtext,target:"_blank"}},[s("div",{class:t.$style.divPlatform},[s("div",{class:[t.$style.divPlatformBtnModal,t.$style.divPlatformBtnHexagonia]}),s("div",{class:t.$style.txtPlatform},[t._v("HEXAGONIA")])])])]):t._e(),Number(this.grade)>=6&&Number(this.grade)<10&&8!=Number(this.grade)||this.findTeacGrade(6,7)||this.findTeacGrade(9,10)?s("div",{staticClass:"col-md-6 mt-2",staticStyle:{"text-align":"center"}},[s("a",{attrs:{href:"https://www.helbling-ezone.com",target:"_blank"}},[s("div",{class:t.$style.divPlatform},[s("div",{class:t.$style.divPlatformBtnModal,staticStyle:{"padding-top":"50px"}},[s("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"50",viewBox:"0 0 112.334 24"}},[s("g",{attrs:{id:"e-zone_Logo","data-name":"e-zone Logo",transform:"translate(-162.233 -96.251)"}},[s("path",{attrs:{id:"Pfad_24967","data-name":"Pfad 24967",d:"M258.028,106.129c.256-3.372,2.52-6.234,6.32-6.234a6.354,6.354,0,0,1,6.363,6.234Zm12.6,6.15c-.64,2.86-2.733,4.313-5.722,4.313-4.826,0-7-3.417-6.876-7.259h16.526c.213-5.338-2.177-12.641-9.992-12.641-6.021,0-10.376,4.869-10.376,11.487.213,6.747,3.543,11.616,10.589,11.616,4.955,0,8.456-2.648,9.438-7.515Zm-36.905,7.385h3.811V102.849h.1l10.409,16.815h4.229V96.8h-3.812v16.846h-.063L237.948,96.8h-4.227ZM220.879,99.518c4.9,0,6.95,4.325,6.95,8.713s-2.05,8.711-6.95,8.711-6.951-4.323-6.951-8.711,2.05-8.713,6.951-8.713m0-3.267c-6.854,0-10.953,5.446-10.953,11.979s4.1,11.978,10.953,11.978,10.953-5.444,10.953-11.978-4.1-11.979-10.953-11.979m-28.664,4h12.3L191.19,116.4v3.267h18.736V116.2H196.281L209.6,99.839V96.8h-17.39Zm-24.025,6.239a4.692,4.692,0,0,1,4.948-4.614c2.895,0,4.194,1.594,4.74,4.614Zm15.643,3.774c.42-6.669-3.146-12.876-10.526-12.876-6.585,0-11.073,4.948-11.073,11.449,0,6.711,4.237,11.409,11.073,11.409,4.907,0,8.471-2.18,10.149-7.3h-5.242c-.379,1.341-2.308,2.809-4.7,2.809-3.313,0-5.158-1.719-5.325-5.493Z",fill:"#3a3c3c"}}),s("path",{attrs:{id:"Pfad_24968","data-name":"Pfad 24968",d:"M222.2,123.536a3.512,3.512,0,1,0-3.513-3.513,3.514,3.514,0,0,0,3.513,3.513",transform:"translate(-32.862 -11.795)",fill:"#ea5901"}}),s("rect",{attrs:{id:"Rechteck_12508","data-name":"Rechteck 12508",width:"6.484",height:"6.484",transform:"translate(217.821 104.987)",fill:"#ea5901"}})])])]),s("div",{class:t.$style.txtPlatform},[t._v("E-Zone")])])])]):t._e(),"student"==t.roleType&&null!=this.rlpCode&&"###"!=this.rlpCode||"student"==t.roleType&&"###"==this.rlpCode?[s("div",{staticClass:"col-md-6 mt-1"},[s("a",{attrs:{"data-toggle":"modal","data-target":"#rlpDescription"}},[s("div",{class:t.$style.divPlatform},[s("div",{class:[t.$style.divPlatformBtnModal,t.$style.divPlatformBtnRLP]}),s("div",{class:t.$style.txtPlatform},[t._v("RICHMOND LEARNING PLATFORM")])])])])]:t._e(),"teacher"==t.roleType&&null!=this.rlpCode?[s("div",{staticClass:"col-md-6 mt-2"},[s("a",{attrs:{href:"https://richmondlp.com/login",target:"blank"}},[s("div",{class:t.$style.divPlatform},[s("div",{class:[t.$style.divPlatformBtnModal,t.$style.divPlatformBtnRLP]}),s("div",{class:t.$style.txtPlatform},[t._v("RICHMOND LEARNING PLATFORM")])])])])]:t._e()],2),"teacher"===t.roleType?s("div",{staticClass:"row mt-2"},[s("div",{staticClass:"col-md-6 mt-1",attrs:{"data-toggle":"modal","data-target":"#exampleModalCenter2"}},[s("a",[s("div",{class:t.$style.divPlatform},[s("div",{class:[t.$style.divPlatformBtnModal,t.$style.divPlatformBtnPdf]}),s("div",{class:t.$style.txtPlatform},[t._v("TEACHER RESOURCES")])])])]),s("div",{staticClass:"col-md-6 mt-2"},[s("a",{attrs:{href:"https://www.uesportals.com/#/login/signin"+t.querystingtext,target:"_blank"}},[s("div",{class:t.$style.divPlatform},[s("div",{class:[t.$style.divPlatformBtnModal,t.$style.divPlatformBtnReports]}),s("div",{class:t.$style.txtPlatform},[t._v("REPORT")])])])])]):t._e(),s("div",{staticClass:"modal fade",attrs:{id:"exampleModalCenter2",tabindex:"-1",role:"dialog","aria-labelledby":"exampleModalCenterTitle2","aria-hidden":"true"}},[s("div",{staticClass:"modal-dialog modal-dialog-centered",attrs:{role:"document"}},[s("div",{staticClass:"modal-content"},[t._m(0),s("div",{staticClass:"modal-body"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-12 mt-2"},[s("a",{attrs:{href:"https://drive.google.com/drive/folders/1gFAN8nbIdvDKFKysuUCfRUGSURo3JZ6c?usp=sharing",target:"_blank"}},[s("div",{class:t.$style.divPlatform},[s("div",{class:[t.$style.divPlatformBtnModal,t.$style.divPlatformBtnPdf]}),s("div",{class:t.$style.txtPlatform},[t._v("ANNOUNCEMENTS & LOCAL REPORTS")])])])]),s("div",{staticClass:"col-md-12 mt-2"},[s("a",{attrs:{href:"https://drive.google.com/drive/folders/1yB0uYF-t9FDgK3qx5PDmYvS928otBseI?usp=sharing",target:"_blank"}},[s("div",{class:t.$style.divPlatform},[s("div",{class:[t.$style.divPlatformBtnModal,t.$style.divPlatformBtnPdf]}),s("div",{class:t.$style.txtPlatform},[t._v("KINDERGARDEN")])])])]),s("div",{staticClass:"col-md-12 mt-2"},[s("a",{attrs:{href:"https://drive.google.com/drive/folders/1jawfwaAWFu-awh6LWRNOAOWuD79zdWD_?usp=sharing",target:"_blank"}},[s("div",{class:t.$style.divPlatform},[s("div",{class:[t.$style.divPlatformBtnModal,t.$style.divPlatformBtnPdf]}),s("div",{class:t.$style.txtPlatform},[t._v("PRIMARY")])])])]),s("div",{staticClass:"col-md-12 mt-2"},[s("a",{attrs:{href:"https://drive.google.com/drive/folders/1_0FXn3ecY3pAu_2dmQsppfD6AhlyPvZs?usp=sharing",target:"_blank"}},[s("div",{class:t.$style.divPlatform},[s("div",{class:[t.$style.divPlatformBtnModal,t.$style.divPlatformBtnPdf]}),s("div",{class:t.$style.txtPlatform},[t._v("MIDDLE")])])])]),s("div",{staticClass:"col-md-12 mt-2"},[s("a",{attrs:{href:"https://drive.google.com/drive/folders/1_IaKY1J1iZLRIjFGZKx-IGz-1Hg1zL7u?usp=sharing",target:"_blank"}},[s("div",{class:t.$style.divPlatform},[s("div",{class:[t.$style.divPlatformBtnModal,t.$style.divPlatformBtnPdf]}),s("div",{class:t.$style.txtPlatform},[t._v("HIGH")])])])])])]),t._m(1)])])]),s("div",{staticClass:"modal fade",attrs:{id:"exampleModalCenter",tabindex:"-1",role:"dialog","aria-labelledby":"exampleModalCenterTitle","aria-hidden":"true"}},[s("div",{staticClass:"modal-dialog modal-dialog-centered",attrs:{role:"document"}},[s("div",{staticClass:"modal-content"},[t._m(2),s("div",{staticClass:"modal-body"},[s("div",{staticClass:"row"},t._l(t.zoom,(function(e,a){return s("div",{key:a,staticClass:"col-md-12 mt-2"},[s("a",{on:{click:function(s){return t.getZoomTokenTeacher(e.id+"-"+e.name)}}},[s("div",{class:t.$style.divPlatform},[s("div",{class:[t.$style.divPlatformBtnModal,t.$style.divPlatformBtnMyEduCams]}),s("div",{class:t.$style.txtPlatform},[t._v(t._s(e.name))])])])])})),0)]),t._m(3)])])])]),s("div",{staticClass:"modal fade",attrs:{id:"rlpDescription",tabindex:"-1",role:"dialog","aria-labelledby":"exampleModalCenterTitle1","aria-hidden":"true"}},[s("div",{staticClass:"modal-dialog modal-lg modal-dialog-centered",attrs:{role:"document"}},[s("div",{staticClass:"modal-content"},[t._m(4),s("div",{staticClass:"modal-body"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-12 mt-1"},[s("div",{class:t.$style.divPlatform},[null!=this.rlpCode&&"###"!=this.rlpCode?[t._m(5),t._m(6),t._m(7),t._m(8),t._m(9),t._m(10),t._m(11)]:"###"==this.rlpCode?[t._m(12),t._m(13),t._m(14),t._m(15),t._m(16),t._m(17)]:t._e()],2)]),null!=this.rlpCode&&"###"!=this.rlpCode?s("div",{staticClass:"col-md-12 mt-1"},[s("div",{class:t.$style.divPlatform,staticStyle:{height:"auto !important"}},[s("div",{staticClass:"row mt-3 mb-3"},[s("div",{staticClass:"col-8"},[s("p",{ref:"code",staticStyle:{margin:"5px 5px 5px 5px"},on:{focus:function(t){return t.target.select()}}},[t._v(t._s(t.rlpCode))]),s("input",{attrs:{type:"hidden",id:"rlp-code"},domProps:{value:t.rlpCode}})]),s("div",{staticClass:"col-4"},[s("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:function(e){return t.copyCode()}}},[t._v("Kodu Kopyala")])])])])]):t._e(),s("div",{staticClass:"col-md-6 mt-1"},[s("a",{attrs:{target:"_blank","data-dismiss":"modal"},on:{click:function(e){return t.RLP()}}},[s("div",{class:t.$style.divPlatform},[s("div",{class:[t.$style.divPlatformBtn,t.$style.divPlatformBtnRLP]})])])]),null!=this.rlpCode&&"###"!=this.rlpCode?s("div",{staticClass:"col-md-6 mt-1"},[s("a",{attrs:{href:"https://www.youtube.com/embed/5VS7u30m_Gc?si=2K_RXLa5Y_u_L64y",target:"blank"}},[s("div",{class:t.$style.divPlatform},[s("div",{class:[t.$style.divPlatformBtn,t.$style.divPlatformBtnRLPYoutube]})])])]):t._e(),"###"==this.rlpCode?s("div",{staticClass:"col-md-6 mt-1"},[s("a",{attrs:{href:"https://www.youtube.com/embed/O2x4o_LeEqY?si=ctl_x10KvOEDzTVe",target:"blank"}},[s("div",{class:t.$style.divPlatform},[s("div",{class:[t.$style.divPlatformBtn,t.$style.divPlatformBtnRLPYoutube]})])])]):t._e()])]),t._m(18)])])])])},St=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"modal-header"},[s("h5",{staticClass:"modal-title",attrs:{id:"exampleModalLongTitle2"}},[t._v("Select Your Class")]),s("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"modal","aria-label":"Close"}},[s("span",{attrs:{"aria-hidden":"true"}},[t._v("×")])])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"modal-footer"},[s("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-dismiss":"modal"}},[t._v("Close")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"modal-header"},[s("h5",{staticClass:"modal-title",attrs:{id:"exampleModalLongTitle"}},[t._v("Select Your Class")]),s("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"modal","aria-label":"Close"}},[s("span",{attrs:{"aria-hidden":"true"}},[t._v("×")])])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"modal-footer"},[s("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-dismiss":"modal"}},[t._v("Close")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"modal-header"},[s("h5",{staticClass:"modal-title",attrs:{id:"exampleModalLongTitle1"}},[t._v("Richmond Learning Platform Aktivasyon Adımları")]),s("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"modal","aria-label":"Close"}},[s("span",{attrs:{"aria-hidden":"true"}},[t._v("×")])])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",{staticStyle:{margin:"5px 5px 5px 5px"}},[s("b",{staticStyle:{color:"red"}},[t._v("1.")]),t._v(" Platforma ilk defa erişiyorsanız, öncelikle aşağıdaki "),s("b",[t._v('"Kodu Kopyala"')]),t._v(" butonuna basarak kitap kodunuzu kopyalayınız.")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",{staticStyle:{margin:"5px 5px 5px 5px"}},[s("b",{staticStyle:{color:"red"}},[t._v("2.")]),t._v(" Altta gördüğünüz "),s("b",[t._v('"Richmond Learning Platform')]),t._v(" simgesine tıklayınız ve siteye geçiş yapınız.")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",{staticStyle:{margin:"5px 5px 5px 5px"}},[s("b",{staticStyle:{color:"red"}},[t._v("3.")]),t._v(" Ekranda "),s("b",[t._v('"MY PRODUCTS"')]),t._v(" başlığı altında bulunan "),s("b",[t._v('"ADD ACCESS CODE"')]),t._v(" butonuna basın ve kopyaladığınız kodu "),s("b",[t._v('"Please Enter a Code"')]),t._v(" alanına yapıştırınız.")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",{staticStyle:{margin:"5px 5px 5px 5px"}},[s("b",{staticStyle:{color:"red"}},[t._v("4.")]),t._v(" Kodu yapıştırdıktan sonra sağ alt bölümde görünen "),s("b",[t._v('"Add Product"')]),t._v(" butonuna tıklayınız.")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",{staticStyle:{margin:"5px 5px 5px 5px"}},[s("b",{staticStyle:{color:"red"}},[t._v("5.")]),t._v(" Ardından ekranda göreceğiniz "),s("b",[t._v('"START"')]),t._v(" butonuna tıklayınız.")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",{staticStyle:{margin:"5px 5px 5px 5px"}},[s("b",{staticStyle:{color:"red"}},[t._v("6.")]),t._v(" Artık hesabınızda kitabınız aktif edilmiştir. Platformu kullanmaya başlayabilirsiniz.")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",{staticStyle:{margin:"5px 5px 5px 5px"}},[s("b",{staticStyle:{color:"red"}},[t._v("7.")]),t._v(" Sonraki erişimlerinizde sadece "),s("b",[t._v('"Richmond Learning Platform"')]),t._v(" butonuna basıp platformu kullanabilirsiniz.")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",{staticStyle:{margin:"5px 5px 5px 5px"}},[s("b",{staticStyle:{color:"red"}},[t._v("1.")]),t._v(" Platforma ilk defa erişiyorsanız altta gördüğünüz "),s("b",[t._v('"Richmond Learning Platform')]),t._v(" simgesine tıklayınız ve siteye geçiş yapınız.")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",{staticStyle:{margin:"5px 5px 5px 5px"}},[s("b",{staticStyle:{color:"red"}},[t._v("2.")]),t._v(" Ekranda "),s("b",[t._v('"MY PRODUCTS"')]),t._v(" başlığı altında bulunan "),s("b",[t._v('"ADD ACCESS CODE"')]),t._v(" butonuna basın ve kitabınızda ön kapak içinde bulunan kodu "),s("b",[t._v('"Please Enter a Code"')]),t._v(" alanına yazınız.")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",{staticStyle:{margin:"5px 5px 5px 5px"}},[s("b",{staticStyle:{color:"red"}},[t._v("3.")]),t._v(" Kodu yazdıktan sonra sağ alt bölümde görünen "),s("b",[t._v('"Add Product"')]),t._v(" butonuna tıklayınız.")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",{staticStyle:{margin:"5px 5px 5px 5px"}},[s("b",{staticStyle:{color:"red"}},[t._v("4.")]),t._v(" Ardından ekranda göreceğiniz "),s("b",[t._v('"START"')]),t._v(" butonuna tıklayınız.")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",{staticStyle:{margin:"5px 5px 5px 5px"}},[s("b",{staticStyle:{color:"red"}},[t._v("5.")]),t._v(" Artık hesabınızda kitabınız aktif edilmiştir. Platformu kullanmaya başlayabilirsiniz.")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",{staticStyle:{margin:"5px 5px 5px 5px"}},[s("b",{staticStyle:{color:"red"}},[t._v("6.")]),t._v(" Sonraki erişimlerinizde sadece "),s("b",[t._v('"Richmond Learning Platform"')]),t._v(" butonuna basıp platformu kullanabilirsiniz.")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"modal-footer"},[s("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-dismiss":"modal"}},[t._v("Close")])])}],$t=(s("a9e3"),s("25f0"),s("14b7")),jt=s.n($t),At=s("3d20"),Ot=s.n(At),Rt=s("3452"),Lt=s.n(Rt),Pt={name:"platforms",data:function(){return{rlpUse:null,rlpCode:null,teacherGrades:[],grade:"",level:"",roleType:"",querystingtext:"",kwquerystingtext:"",hexaquerystingtext:"",zoom:"",checkTime:!0}},computed:Object(c["a"])(Object(c["a"])({},Object(l["e"])(["userDetails","username","password"])),{},{levelName:function(){return this.$store.state.userDetails.organization.find((function(t){return"level"===t.type})).name}}),beforeMount:function(){this.setData()},watch:{userDetails:function(){this.setData()}},methods:{copyCode:function(){var t=document.querySelector("#rlp-code");t.setAttribute("type","text"),t.select(),document.execCommand("copy"),t.setAttribute("type","hidden"),window.getSelection().removeAllRanges()},findTeacGrade:function(t,e){var s=this.teacherGrades.filter((function(s){return s>=t&&s<=e}));return s.length>0},timeStamp:function(){return Object(o["a"])(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,M.getTimeStamp();case 2:if(e=t.sent,!e.data.is_weekend){t.next=5;break}return t.abrupt("return",!1);case 5:return t.abrupt("return",e.data.data.split(" ")[1]>"08:00:00"&&e.data.data.split(" ")[1]<"17:00:00");case 6:case"end":return t.stop()}}),t)})))()},getZoomTokenStudent:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){var s,a,n,i,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:s=Date.now(),a=String(s).substring(0,10),n="".concat(t.userDetails.first_name," ").concat(t.userDetails.last_name),i={context:{user:{avatar:"",name:n,email:t.userDetails.email,affiliation:"member"},features:{"screen-sharing":!1}},aud:"myeducams",iss:"myeducams",sub:"myeducams.com",room:"".concat(t.zoom[0].id,"-").concat(t.zoom[0].name),moderator:!1,exp:Number(a)+60},r=jt.a.sign(i,"mysecret"),window.open("https://myeducams.com/".concat(t.zoom[0].id,"-").concat(t.zoom[0].name,"?jwt=").concat(r),"_blank");case 6:case"end":return e.stop()}}),e)})))()},getZoomTokenTeacher:function(t){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function s(){var a,n,i,r,o;return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:a=Date.now(),n=String(a).substring(0,10),i="".concat(e.userDetails.first_name," ").concat(e.userDetails.last_name),r={context:{user:{avatar:"",name:i,email:e.userDetails.email,affiliation:"owner"},features:{"screen-sharing":!0}},aud:"myeducams",iss:"myeducams",sub:"myeducams.com",room:t,moderator:!0,exp:Number(n)+60},o=jt.a.sign(r,"mysecret"),window.open("https://myeducams.com/".concat(t,"?jwt=").concat(o),"_blank");case 6:case"end":return s.stop()}}),s)})))()},setData:function(){if(this.userDetails){if(this.level=this.userDetails.organization.find((function(t){return"level"===t.type})).name,this.grade=this.userDetails.organization.find((function(t){return"grade"===t.type}))?this.userDetails.organization.find((function(t){return"grade"===t.type})).name.split("-")[0]:0,this.zoom=this.userDetails.organization.filter((function(t){return"grade"===t.type})),this.roleType=this.userDetails.role_type,this.rlpUse=this.userDetails.organization.find((function(t){return"campus"===t.type})).rlp_institute_code,this.rlpCode=this.userDetails.rlp_code?this.userDetails.rlp_code:null,"teacher"==this.roleType){var t=this.userDetails.organization.filter((function(t){return"grade"===t.type}));for(var e in t)this.teacherGrades.push(t[e].name.split("-")[0])}this.querystingtext="?username=".concat(btoa(this.username),"&password=").concat(btoa(this.password)),"en"===this.userDetails.lang?this.hexaquerystingtext="?username=".concat(btoa("steve.jobs"),"&password=").concat(btoa("090807")):this.hexaquerystingtext=this.querystingtext}this.kwquerystingtext="?username=".concat(btoa("uesnlkw_teacher"),"&password=").concat(btoa("123456"))},pb:function(){"teacher"===this.roleType?(console.log(this.userDetails),this.personalbestUser=null!=this.userDetails.compass_username?atob(this.userDetails.compass_username):"",this.personalbestPass=null!=this.userDetails.compass_password?atob(this.userDetails.compass_password):""):"student"===this.roleType&&(this.personalbestUser=null!=this.userDetails.compass_username?atob(this.userDetails.compass_username):"",this.personalbestPass=null!=this.userDetails.compass_password?atob(this.userDetails.compass_password):""),Ot.a.fire({title:"Richmond Learning Platform",html:"USERNAME:
".concat(this.personalbestUser,"
PASSWORD:
").concat(this.personalbestPass," "),showCancelButton:!0,confirmButtonColor:"#3085d6",cancelButtonColor:"#d33",confirmButtonText:"Go"}).then((function(t){t.value&&window.open("https://richmondlp.com/login","_blank")}))},RLP:function(){try{this.ready=!1;var t="VswFYGzh2k45N7Q8R9@TBuCVexFY.G2J3K4N6p7Q%9SATB-VdWeXFZHJ3m5N",e={},s={};this.userDetails&&(e.username=this.userDetails.email,e.first_name=this.userDetails.first_name,e.last_name=this.userDetails.last_name,e.role_type=this.userDetails.role_type,e.school_id=this.userDetails.organization.find((function(t){return"main"===t.type})).id,e.campus_id=this.userDetails.organization.find((function(t){return"campus"===t.type})).id,e.campus_name=this.userDetails.organization.find((function(t){return"campus"===t.type})).name,s.grade=this.userDetails.organization.find((function(t){return"grade"===t.type}))?this.userDetails.organization.find((function(t){return"grade"===t.type})).name.split("-")[0]:0,s.branch=this.userDetails.organization.find((function(t){return"grade"===t.type}))?this.userDetails.organization.find((function(t){return"grade"===t.type})).name.split("-")[1]:"",e.class=[s]);var a=JSON.stringify(e),n=decodeURIComponent(a),i=Lt.a.AES.encrypt(n,t).toString();this.ready=!0,window.open("https://service.ueslms.com/#/rlp/?sso="+btoa(i))}catch(r){console.log("err",r),Ot()("Giriş Yapılamadı!","Bir Hata Oluştu","error"),this.ready=!0}}}},It=Pt,Et=s("231d");s("2a4e");function Bt(t){this["$style"]=Et["default"].locals||Et["default"]}var Mt=Object(F["a"])(It,Tt,St,!1,Bt,"2cdbc1bb",null),Nt=Mt.exports,Ht=function(){var t=this,e=t.$createElement,s=t._self._c||e;return t.isHome?s("div",{staticClass:"row",staticStyle:{background:"white","border-radius":"10px","box-shadow":"0.5px 0.866px 4px 0px rgba(2, 8, 2, 0.2)"}},[s("div",{staticClass:"col-md-12 col-sm-12 mt-1"},[s("div",{class:t.$style.divCollectionsHome},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-12"},[s("router-link",{class:t.$style.customNavItem,attrs:{to:{name:"collections"}}},[s("span",{staticClass:"title text-left",class:t.$style.title},[t._v("RESOURCES")])])],1)]),t.ready?this.data.length>0?s("div",{class:t.$style.columns},["parent"===t.viewState?s("div",{staticClass:"row"},[t._l(t.data.filter((function(t){return 0===t.parent})).slice(0,4),(function(e,a){return s("div",{key:a,staticClass:"col-md-3 mt-1"},[s("Card2",{class:t.$style.columnHome,attrs:{contentType:t.contentType,id:e.id,title:e.name,imgpath:e.image}})],1)})),t._l(t.packageData.slice(0,4-t.data.length),(function(e){return s("div",{key:e.package_name,staticClass:"col-md-3 mt-1"},[s("Card2",{class:t.$style.columnHome,attrs:{contentType:"collectionsPackage",id:e.package_id,title:e.package_name,imgpath:e.package_image?e.package_image:"https://storage.googleapis.com/ueslmscom/uploads/collection/1560865423.jpg"}})],1)}))],2):t._e()]):s("div",[s("p",{class:t.$style.noContentHome},[t._v("There is no content here.")])]):s("div",[s("InnerLoading",{class:t.$style.divLoadingHome})],1)])])]):s("div",[s("HeaderCustom"),s("div",{staticClass:"container",class:t.$style.myContentsDiv},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-4 offset-md-4"},[s("Search")],1)]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-4"},["child"!==t.viewState||t.readers?t._e():s("button",{staticClass:"btn mt-3",staticStyle:{"background-color":"#6f2b8f",color:"white"},on:{click:function(e){return t.$router.push({name:"collections"})}}},[s("i",{staticClass:"fas fa-arrow-circle-left"}),t._v(" Back")])]),s("div",{staticClass:"col-md-4"},[s("h1",{staticClass:"title menuTitle",class:t.$style.menuTitle,staticStyle:{"font-weight":"normal"}},[t._v(t._s(t.title))])]),s("div",{staticClass:"col-md-4"})]),t.ready?this.data.length>0||this.packageData.length>0?s("div",{class:t.$style.columns},[s("hr"),"parent"===t.viewState?s("div",{staticClass:"row"},[t._l(t.data,(function(e,a){return s("div",{key:a,staticClass:"col-lg-3 col-md-4 col-6 col-sm-6 col-xs-12 mt-2",class:t.$style.column},[s("Card",{attrs:{contentType:t.contentType,id:e.id,title:e.name,imgpath:e.image?e.image:"https://storage.googleapis.com/ueslmscom/uploads/collection/1560865423.jpg"}})],1)})),t._l(t.packageData,(function(e){return s("div",{key:e.package_name,staticClass:"col-lg-3 col-md-4 col-6 col-sm-6 col-xs-12 mt-2",class:t.$style.column},[s("Card",{attrs:{contentType:"collectionsPackage",id:e.package_id,title:e.package_name,imgpath:e.package_image?e.package_image:"https://storage.googleapis.com/ueslmscom/uploads/collection/1560865423.jpg"}})],1)}))],2):"child"!==t.viewState||t.readers?s("div",{staticClass:"row"},t._l(t.packageData,(function(e,a){return s("div",{key:a,staticClass:"col-lg-2 col-md-3 col-6 col-sm-6 col-xs-12 mt-2",class:t.$style.column},[s("Card",{attrs:{contentType:"lessons",collectionId:parseInt(t.$route.params.id,10),packageType:e.package_type,id:e.package_id,title:e.package_name,imgpath:e.package_image?e.package_image:"https://storage.googleapis.com/ueslmscom/uploads/collection/1560865423.jpg",score:e.package_avg_score}})],1)})),0):s("div",{staticClass:"row"},t._l(t.data,(function(e,a){return s("div",{key:a,staticClass:"col-lg-2 col-md-3 col-6 col-sm-6 col-xs-12 mt-2",class:t.$style.column},[s("Card",{attrs:{contentType:t.contentType,collectionId:parseInt(t.$route.params.id,10),id:e.id,title:e.name,imgpath:e.image}})],1)})),0)]):s("div",[s("p",{class:t.$style.noContent},[t._v("There is no content here.")])]):s("div",[s("InnerLoading")],1)])],1)},zt=[],Ft=(s("caad"),s("2532"),function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{class:t.$style.loading},[s("p",{class:t.$style.loadingText},[t._v(t._s(t.message))])])])}),qt=[],Ut={name:"Loading",props:["message"],data:function(){return{}}},Yt=Ut,Gt=s("cf46");function Vt(t){this["$style"]=Gt["default"].locals||Gt["default"]}var Jt=Object(F["a"])(Yt,Ft,qt,!1,Vt,null,null),Wt=Jt.exports,Kt=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"card",class:t.$style.divCard,attrs:{title:t.scormDesc}},[s("div",{class:t.$style.customCard,on:{click:function(e){return t.goToContent()}}},[s("div",{staticClass:"row",class:t.$style.topCard},[s("div",{staticClass:"col-md-12",staticStyle:{width:"100%"}},[s("img",{staticStyle:{width:"100%"},attrs:{src:t.imgpath,onerror:"this.src='https://cdn0.iconfinder.com/data/icons/seo-smart-pack/128/grey_new_seo-37-512.png'"}})])]),s("div",{staticClass:"col-md-12",staticStyle:{display:"flex","flex-direction":"column"}},[s("h1",{class:t.$style.contentTitle},[t._v(t._s(t.scormTitle?t.scormTitle:t.title))])]),t.date?s("div",{staticClass:"row d-flex justify-content-bottom align-items-center mt-3",class:t.$style.bottomCard},["student"===this.$store.state.roleType&&"assignment"===this.packageType||t.date?s("span",{staticClass:"col-lg-5 offset-lg-1 col-md-5 offset-md-1 col-sm-5 offset-sm-1 col-xs-5 offset-xs-1 badge badge-info",class:[t.$style.customBadge,t.$style.customBadgeFirst]},[t._v("Due Date")]):t._e(),t.date?s("span",{staticClass:"col-lg-6 col-md-5 col-sm-5 col-xs-5 badge",class:t.$style.customBadge},[t._v(t._s(t.convertDate(t.date)))]):t._e()]):t._e()])])},Zt=[],Qt={name:"card",data:function(){return{routerObj:{}}},props:["title","imgpath","score","date","contentType","id","packageType","stateName","scormTitle","scormCode","scormDesc","linkUrl","packageId","coverImageHeight","collectionId"],mounted:function(){this.setRouterObject(),this.setCoverImageHeight()},updated:function(){this.setRouterObject(),this.setCoverImageHeight()},computed:Object(c["a"])({},Object(l["e"])(["roleType","userDetails"])),methods:{goToContent:function(){"link"===this.contentType?window.open(this.linkUrl,"_blank"):this.$router.push(this.routerObj)},setRouterObject:function(){"scorm"===this.contentType?(Object(m["a"])("[title]"),"student"===this.roleType?this.date&&!this.linkUrl?this.routerObj={name:"assignmentDetails",params:{id:this.packageId,community:"individual"}}:this.routerObj={name:this.contentType,params:{id:this.id,packageId:this.packageId,scormTitle:this.scormTitle,scormDesc:this.scormDesc,scormCode:this.scormCode,packageType:null,timestamp:null}}:"teacher"===this.roleType&&(this.routerObj={name:this.contentType,params:{id:this.id,packageId:this.packageId,scormTitle:this.scormTitle,scormDesc:this.scormDesc,scormCode:this.scormCode,packageType:null,timestamp:null}})):"free"===this.contentType?this.routerObj={name:"scorm",params:{id:this.id,packageId:this.packageId,scormTitle:this.scormTitle,scormDesc:this.scormDesc,scormCode:this.scormCode,timestamp:null}}:this.routerObj={name:"collectionsPackage"===this.contentType?"collections":this.contentType,params:{collectionId:this.collectionId,id:this.id,searchList:"collectionsPackage"===this.contentType?"packages":"collections"}}},setCoverImageHeight:function(){if(this.coverImageHeight){var t,e=document.getElementsByClassName("cardCoverImg"),s=Object(g["a"])(e);try{for(s.s();!(t=s.n()).done;){var a=t.value;a.style.minHeight=this.coverImageHeight,a.style.width="auto"}}catch(n){s.e(n)}finally{s.f()}}},convertDate:function(t){function e(t){return t<10?"0".concat(t):t}var s=t.replace(/-/g,"/"),a=new Date(s),n=[e(a.getDate()),e(a.getMonth()+1),a.getFullYear()].join("-");return"".concat(n)}}},Xt=Qt,te=s("147f");function ee(t){this["$style"]=te["default"].locals||te["default"]}var se=Object(F["a"])(Xt,Kt,Zt,!1,ee,null,null),ae=se.exports,ne=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{class:t.$style.divSearch},[s("span",{class:t.$style.searchIcon},[s("i",{staticClass:"fa fa-search fa-1x",class:t.$style.icon,attrs:{"aria-hidden":"true"}})]),this.txtSearch?s("span",{class:t.$style.removeIcon,on:{click:t.cleanText}},[s("i",{staticClass:"fa fa-remove fa-1x",class:t.$style.icon,attrs:{"aria-hidden":"true"}})]):t._e(),s("input",{directives:[{name:"model",rawName:"v-model",value:t.txtSearch,expression:"txtSearch"}],staticClass:"form-control",class:t.$style.txtSearch,attrs:{type:"text",placeholder:"Search"},domProps:{value:t.txtSearch},on:{keyup:t.search,input:function(e){e.target.composing||(t.txtSearch=e.target.value)}}})])},ie=[],re=(s("841c"),{data:function(){return{txtSearch:""}},methods:{search:function(){this.$parent.search(this.txtSearch)},cleanText:function(){this.txtSearch="",this.$parent.search(this.txtSearch)}}}),oe=re,ce=s("f488");function le(t){this["$style"]=ce["default"].locals||ce["default"]}var de=Object(F["a"])(oe,ne,ie,!1,le,null,null),ue=de.exports,me={name:"collections",data:function(){return{data:[],packageData:[],title:"",contentType:"",viewState:"",ready:!1,collectionId:0,scormTypes:[],scormLevels:[],scormCategories:[],selectedType:"all",selectedLevel:0,selectedCategory:0,searchText:"",typesOptions:"",levelsOptions:"",categoriesOptions:"",readers:!1}},watch:{$route:function(){this.setPage()},selectedType:function(){this.setDataByFilter()},selectedLevel:function(){this.setDataByFilter()},selectedCategory:function(){this.setDataByFilter()}},components:{HeaderCustom:Z,Card:ae,Search:ue,InnerLoading:Wt,Card2:vt},props:["isHome"],computed:Object(c["a"])({},Object(l["e"])(["collections","scorms","freeContents"])),beforeMount:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t.title="RESOURCES",t.isHome||t.fillDropdowns(),0!==t.freeContents.length){e.next=5;break}return e.next=5,t.getPackages();case 5:if(0!==t.collections.length){e.next=8;break}return e.next=8,t.getCollections();case 8:if(e.t0=0===t.collections.length,!e.t0){e.next=13;break}return e.next=12,t.getCollections();case 12:e.t0=e.sent;case 13:if(!e.t0){e.next=17;break}if(0!==t.scorms.length){e.next=17;break}return e.next=17,t.getScorms();case 17:t.viewState="parent",//! Eğer Collectionlardaki kırılım sayısı 2 ise direk scorms sayfasına gitmeli //! 3 ise colections sayfasına gitmeli t.contentType="collections",t.setPage(),t.ready=!0;case 21:case"end":return e.stop()}}),e)})))()},methods:Object(c["a"])(Object(c["a"])({},Object(l["b"])(["getPackages","getCollections","getScorms"])),{},{search:function(t){this.searchText=t?t.toLocaleLowerCase("tr-TR"):"",this.setDataByFilter()},fillDropdowns:function(){var t=this;this.scormTypes=D.a.uniqBy(this.scorms,"scorm_type").map((function(t){return t.scorm_type})),this.typesOptions="",this.typesOptions+='',D.a.orderBy(this.scormTypes).forEach((function(e){var s="");t.typesOptions+=s})),this.scormLevels=D.a.uniqBy(this.scorms,"scorm_level.name").filter((function(t){return t.scorm_level&&null!==t.scorm_level.id})).map((function(t){return t.scorm_level})),this.levelsOptions="",this.levelsOptions+='',D.a.orderBy(this.scormLevels,"name").forEach((function(e){var s="");t.levelsOptions+=s})),this.scormCategories=D.a.uniqBy(this.scorms,"scorm_category.name").filter((function(t){return t.scorm_category&&null!==t.scorm_category.id})).map((function(t){return t.scorm_category})),this.categoriesOptions="",this.categoriesOptions+='',D.a.orderBy(this.scormCategories,"name").forEach((function(e){var s="");t.categoriesOptions+=s}))},setDataByFilter:function(){var t=this;this.searchText?(this.setPage(),this.data=this.data.filter((function(e){return e.name.toLocaleLowerCase("tr-TR").includes(t.searchText)})),this.packageData=this.packageData.filter((function(e){return e.package_name.toLocaleLowerCase("tr-TR").includes(t.searchText)}))):this.setPage()},setPage:function(){var t=parseInt(this.$route.params.id,10);if(t){this.collectionId=t,this.viewState="child";var e=this.$route.params.searchList;this.contentType="scorms","packages"===e?(this.packageData=this.freeContents.data.filter((function(e){return e.package_parent_id===t})),this.packageData=D.a.orderBy(this.packageData,["name"]),this.data=[],this.readers=!0):"collections"===e&&(this.data=this.collections.data.filter((function(e){return e.parent===t})),this.data=D.a.orderBy(this.data,["name"]),this.packageData=[],this.readers=!1)}else this.viewState="parent",this.contentType="collections",this.data=this.collections.data.filter((function(t){return 0===t.parent&&213!==t.id})),this.data=D.a.orderBy(this.data,["name"]),this.packageData=this.freeContents.filter((function(t){return!t.package_parent_id})),this.readers=!1}})},_e=me,pe=s("7df7");function ge(t){this["$style"]=pe["default"].locals||pe["default"]}var he=Object(F["a"])(_e,Ht,zt,!1,ge,null,null),ve=he.exports,fe={name:"home",data:function(){return{ready:!1,info:null,main:null}},methods:Object(c["a"])(Object(c["a"])({},Object(l["b"])(["getPackages","getLmsAssignments","getLmsIndAssignments","getUserDetails"])),Object(l["d"])(["setFirst"])),beforeMount:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t.getUserDetails(),!(t.$store.state.freeContents.length>0&&t.$store.state.assignments.length>0)){e.next=8;break}t.ready=!0,t.getPackages(),t.getLmsAssignments(),t.getLmsIndAssignments(),e.next=15;break;case 8:return e.next=10,t.getLmsAssignments();case 10:return e.next=12,t.getLmsIndAssignments();case 12:return e.next=14,t.getPackages();case 14:t.ready=!0;case 15:case"end":return e.stop()}}),e)})))()},components:{HeaderCustom:Z,Chart:ot,Homeworks:xt,Platforms:Nt,Collections:ve},computed:Object(c["a"])(Object(c["a"])({},Object(l["e"])(["userDetails","username","password"])),{},{isStudent:function(){var t=this.$store.state.roleType;return"student"===t},isTeacher:function(){var t=this.$store.state.roleType;return"teacher"===t}})},ye=fe,be=s("baa6");function Ce(t){this["$style"]=be["default"].locals||be["default"]}var we=Object(F["a"])(ye,i,r,!1,Ce,null,null),ke=we.exports,De=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{class:t.$style.divLogin},[s("img",{staticStyle:{width:"100%",height:"100%",position:"absolute",bottom:"0"},attrs:{src:"static/img/resim.png",alt:""}}),s("div",{class:t.$style.loginform},[s("div",{staticStyle:{color:"white","text-align":"center","margin-bottom":"20px"}},[s("div",{class:t.$style.logo})]),s("div",{staticClass:"row",class:t.$style.inputs},[s("div",{staticClass:"col-md-12"},[s("i",{staticClass:"fas fa-user",staticStyle:{position:"absolute",margin:"10px",color:"#b5badd"}}),s("input",{directives:[{name:"model",rawName:"v-model",value:t.username,expression:"username"}],staticClass:"form-control mb-3",class:t.$style.inputText,staticStyle:{"padding-left":"30px",border:"none","background-color":"rgba(233, 236, 239, 0.32941176470588235) !important"},attrs:{type:"text",placeholder:"User Name"},domProps:{value:t.username},on:{input:function(e){e.target.composing||(t.username=e.target.value)}}}),s("i",{staticClass:"fas fa-unlock-alt",staticStyle:{position:"absolute",margin:"10px",color:"#b5badd"}}),s("input",{directives:[{name:"model",rawName:"v-model",value:t.password,expression:"password"}],staticClass:"form-control mb-3",class:t.$style.inputText,staticStyle:{"padding-left":"30px",border:"none","background-color":"rgba(233, 236, 239, 0.32941176470588235) !important"},attrs:{type:"password",placeholder:"Password"},domProps:{value:t.password},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.login(e)},input:function(e){e.target.composing||(t.password=e.target.value)}}}),s("button",{staticClass:"btn btn-block",class:t.$style.loginButton,on:{click:t.login}},[t._v("Login")])])])])])},xe=[],Te=s("1940"),Se=s.n(Te),$e={name:"login",data:function(){return{username:"",password:"",isChecked:!1,primaryColor:b.a.primaryColor,ipAdress:""}},beforeMount:function(){localStorage.clear()},components:{},methods:{login:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){var s,a,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.$store.dispatch("login",{username:t.username,password:t.password});case 2:if(s=e.sent,!s.success){e.next=13;break}return e.next=6,v.a.get("https://api.ipify.org?format=json").catch((function(t){console.log("err",t)}));case 6:return a=e.sent,t.ipAdress=a?a.data.ip:"127.0.0.1",n=navigator.userAgent,e.next=11,B.loginLog(n,t.ipAdress).then((function(){t.$router.push("/home")})).catch((function(t){return console.log("err",t)}));case 11:e.next=14;break;case 13:Se()("Error!","Username or Password is invalid.","error");case 14:case"end":return e.stop()}}),e)})))()}}},je=$e,Ae=s("1fc8");s("7148");function Oe(t){this["$style"]=Ae["default"].locals||Ae["default"]}var Re=Object(F["a"])(je,De,xe,!1,Oe,null,null),Le=Re.exports,Pe=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("HeaderCustom"),s("div",{staticClass:"container",class:t.$style.myContentsDiv},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-4 offset-md-4"},[s("Search",{ref:"txtSearch",attrs:{searchList:this.data},on:{search:t.search}})],1),s("div",{staticClass:"col-md-12"},[s("h1",{staticClass:"title menuTitle",class:t.$style.menuTitle,staticStyle:{"font-weight":"normal"}},[t._v(t._s(t.title))])])]),s("div",[s("ul",{staticClass:"nav nav-tabs row"},[s("li",{staticClass:"nav-item col"},[s("a",{ref:"current",staticClass:"nav-link active",class:t.$style.customNavLink,attrs:{href:"#"},on:{click:function(e){return t.updateView("current")}}},[t._v("Current Assignments")])]),s("li",{staticClass:"nav-item col"},[s("a",{ref:"past",staticClass:"nav-link",class:t.$style.customNavLink,attrs:{href:"#"},on:{click:function(e){return t.updateView("past")}}},[t._v("Past Assignments")])])]),t.ready?s("div",[t.activeDataSet.length>0?s("div",{staticClass:"row",class:t.$style.columns},[t._l(t.activeDataSet,(function(e,a){return s("div",{key:a,staticClass:"col-md-3",class:t.$style.column},[s("Card",{attrs:{contentType:t.contentType,scormCode:e.scorm.scorm_code,scormTitle:e.scorm.scorm_name,id:e.scorm.scorm_id,title:e.assignment_name,imgpath:e.scorm.scorm_image,score:e.scorm.scorm_scores.total_score,date:e.end_date,stateName:e.state_name,scormDesc:e.scorm.scorm_desc,packageId:e.assignment_id,collPath:e.scorm.collection_path}})],1)})),s("div",{staticClass:"col-md-12"},[this.pagination&&this.activeDataSet.length>0?s("lmsPagination",{attrs:{data:this.pagination},on:{goToPage:t.goToPage}}):t._e()],1)],2):s("div",[s("p",{class:t.$style.noContent},[t._v("There is no Assignment.")])])]):s("div",[s("InnerLoading")],1)])])],1)},Ie=[],Ee=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"card-body"},[s("nav",{staticClass:"d-flex justify-content-center"},[s("ul",{staticClass:"pagination mt-1 mb-1"},[t.data.last_page>0&&1===t.data.current_page?s("li",{staticClass:"page-item disabled"},[s("a",{staticClass:"page-link",attrs:{href:"javascript:void(0)"},on:{click:function(e){return t.getDataByPagination(1)}}},[t._v("«")])]):t.data.last_page>0?s("li",{staticClass:"page-item"},[s("a",{staticClass:"page-link",attrs:{href:"javascript:void(0)"},on:{click:function(e){return t.getDataByPagination(1)}}},[t._v("«")])]):t._e(),t._l(t.data.last_page,(function(e,a){return[t.data.current_page===e?s("li",{key:a,staticClass:"page-item active"},[s("a",{staticClass:"page-link current-page-link",attrs:{href:"javascript:void(0)"},on:{click:function(s){return t.getDataByPagination(e)}}},[t._v(t._s(e))])]):Number(e)<=Number(t.currentPage+5)&&Number(e)>=Number(t.currentPage-5)?s("li",{key:a,staticClass:"page-item"},[s("a",{staticClass:"page-link",attrs:{href:"javascript:void(0)"},on:{click:function(s){return t.getDataByPagination(e)}}},[t._v(t._s(e))])]):t._e()]})),t.data.last_page>0&&t.data.current_page===t.data.last_page?s("li",{staticClass:"page-item disabled"},[s("a",{staticClass:"page-link",attrs:{href:"javascript:void(0)"},on:{click:function(e){return t.getDataByPagination(t.data.last_page)}}},[t._v("»")])]):t.data.last_page>0?s("li",{staticClass:"page-item"},[s("a",{staticClass:"page-link",attrs:{href:"javascript:void(0)"},on:{click:function(e){return t.getDataByPagination(t.data.last_page)}}},[t._v("»")])]):t._e()],2)])])},Be=[],Me={name:"pagination",props:["data"],data:function(){return{currentPage:this.data.current_page}},methods:{getDataByPagination:function(t){this.currentPage=t,this.$emit("goToPage",t)}}},Ne=Me,He=(s("e345"),Object(F["a"])(Ne,Ee,Be,!1,null,"ee423f5e",null)),ze=He.exports,Fe={name:"assignments",data:function(){return{ready:!1,data:[],title:"",contentType:"",searchText:"",activeTab:"",activeDataSet:[],tabData:["current","past"],pagination:null,assignments2:null}},components:{HeaderCustom:Z,Card:vt,Search:ue,InnerLoading:Wt,lmsPagination:ze},computed:Object(c["a"])(Object(c["a"])({},Object(l["c"])(["courseworks"])),Object(l["e"])(["assignments"])),beforeMount:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.setData();case 1:case"end":return e.stop()}}),e)})))()},methods:Object(c["a"])(Object(c["a"])({},Object(l["b"])(["getLmsAssignments"])),{},{updateView:function(t){t||(t="current"),this.activeTab=t,this.setTabView(),this.setTabData()},setData:function(){var t=this.$route.query;t.page?this.getData(t.page):this.goToPage(1)},goToPage:function(t){this.$router.push({name:"studentAssignments",params:{},query:{page:t}})},getData:function(t){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function s(){var a,n,i;return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:return e.ready=!1,e.title="ASSIGNMENTS",e.activeTab="",s.next=5,$.getAssignments(t);case 5:a=s.sent,e.assignments2=a.data.data,e.pagination=a.data.pagination,e.contentType="scorm",e.updateView(),e.ready=!0,window.location.search&&window.location.search.includes("?")&&(n=window.location.search.split("?")[1],"tab"===n.split("=")[0]&&(i=n.split("=")[1],e.updateView(i)));case 12:case"end":return s.stop()}}),s)})))()},setTabView:function(){var t=this;this.tabData.forEach((function(e){t.$refs[e].classList="nav-link"})),this.$refs[this.activeTab].classList="nav-link active"},setTabData:function(){var t=this,e=new Date;"current"===this.activeTab?(this.activeDataSet=this.assignments2.filter((function(s){return t.dateFromString(s.start_date).getTime()e.getTime()&&(s.assignment_name.toLocaleLowerCase("tr-TR").includes(t.searchText)||s.scorm.scorm_name.toLocaleLowerCase("tr-TR").includes(t.searchText))})),this.activeDataSet=D.a.orderBy(this.activeDataSet,["end_date","scorm.scorm_name"],["asc","asc"])):"past"===this.activeTab&&(this.activeDataSet=this.assignments2.filter((function(s){return t.dateFromString(s.end_date).getTime()0)},on:{click:function(e){return t.remove()}}},[s("i",{staticClass:"fa fa-trash"}),t._v(" Remove")])]),s("div",{staticClass:"col-lg-2 col-md-2 col-sm-12 mt-1"},[s("button",{staticClass:"btn",class:t.$style.otherButtons,attrs:{disabled:!(this.selectedAssignments.length>0),"data-toggle":"modal","data-target":"#editAllModal"}},[s("i",{staticClass:"fas fa-pencil-alt"}),t._v(" Edit ")])]),s("div",{staticClass:"col-lg-2 offset-lg-2 col-md-2 col-sm-12 mt-1 "}),s("div",{staticClass:"col-lg-2 col-md-3 col-sm-12 mt-1 "},[s("button",{staticClass:"btn",class:t.$style.createAssignmentBtn,on:{click:function(e){return t.goTo("/assignment/create")}}},[s("i",{staticClass:"fa fa-plus-circle"}),t._v(" Create")])]),s("div",{staticClass:"col-lg-2 col-md-3 col-sm-12 mt-1"},[s("button",{staticClass:"btn",class:t.$style.createAssignmentBtn,attrs:{"data-toggle":"collapse","data-target":"#collapseExample"}},[s("i",{staticClass:"fas fa-filter"}),t._v(" Filter")])])]),s("div",{staticClass:"row collapse mt-3 mb-3 justify-content-md-center",staticStyle:{width:"100%"},attrs:{id:"collapseExample"}},[s("div",{staticClass:"col-md-2 col-6 mt-4 text-center"},[s("select",{directives:[{name:"model",rawName:"v-model",value:t.selectedFilter,expression:"selectedFilter"}],staticClass:"form-control",attrs:{name:"",id:""},on:{change:[function(e){var s=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.selectedFilter=e.target.multiple?s:s[0]},function(e){return t.filterMeth()}]}},[s("option",{attrs:{selected:"",value:"all"}},[t._v("All")]),t._l(t.filterData,(function(e){return s("option",{key:e},[t._v(t._s(e))])}))],2)]),s("div",{staticClass:"col-md-3 mt-1 text-center"},[s("span",[t._v("Start Date")]),s("datetime",{attrs:{type:"date","min-datetime":t.startDateMin,"max-datetime":t.startDateMax,onchange:t.filterMeth()},model:{value:t.startDate,callback:function(e){t.startDate=e},expression:"startDate"}})],1),s("div",{staticClass:"col-md-3 mt-1 text-center"},[s("span",[t._v("End Date")]),s("datetime",{attrs:{type:"date","min-datetime":t.startDateMin,onchange:t.filterMeth()},model:{value:t.dueDate,callback:function(e){t.dueDate=e},expression:"dueDate"}})],1),s("div",{staticClass:"col-md-1 mt-4"},[s("button",{staticClass:"btn",class:t.$style.createAssignmentBtn,attrs:{title:"Reset"},on:{click:function(e){return t.resetFilter()}}},[s("i",{staticClass:"fas fa-undo-alt"})])])]),s("ul",{staticClass:"nav nav-tabs mt-5 row"},[s("li",{staticClass:"nav-item col"},[s("a",{ref:"individual",staticClass:"nav-link",staticStyle:{cursor:"pointer"},on:{click:function(e){return t.changeData("individual")}}},[t._v("Individual Assignments")])]),s("li",{staticClass:"nav-item col"},[s("a",{ref:"group",staticClass:"nav-link active",staticStyle:{cursor:"pointer"},on:{click:function(e){return t.changeData("group")}}},[t._v("Group Assignments")])])]),t.ready?s("div",[this.activeDataSet.length>0?s("div",{staticClass:"table-responsive",class:t.$style.columns},[s("table",{staticClass:"table table-hover table-bordered",class:t.$style.customTable},[s("thead",{class:t.$style.customThead},[s("tr",[s("th",[t._v("#")]),"completed"!==t.activeTab?s("th",[s("input",{staticClass:"check",attrs:{type:"checkbox",id:"allCheckBox"},on:{click:t.cbClicked}})]):t._e(),s("th",[t._v("Assignment Name")]),s("th",[t._v("Assignee")]),s("th",[t._v("Start Date")]),s("th",[t._v("Due Date")]),s("th",[t._v("Details")]),s("th",[t._v("Edit")])])]),t._l(this.uniqData,(function(e,a){return s("tbody",{key:a},[s("tr",{staticClass:"table-light collapse-row collapsed",attrs:{"data-toggle":"collapse","data-target":"#accordion"+a}},[s("td",[t._v(t._s(a+1))]),"completed"!==t.activeTab?s("td",[s("input",{staticClass:"check",attrs:{type:"checkbox"},domProps:{value:t.removeArray(e)},on:{click:t.cbClicked}})]):t._e(),s("td",[t._v(t._s(e.assignment_name))]),s("td",[t._v(t._s(e.name))]),s("td",[t._v(t._s(t.convertDate(e.start_date)))]),s("td",[t._v(t._s(t.convertDate(e.end_date)))]),s("td",{staticStyle:{cursor:"pointer"}},[s("vue-custom-tooltip",{attrs:{label:"Assignment Details"}},[s("i",{staticClass:"fas fa-eye"})])],1),s("td",[s("vue-custom-tooltip",{attrs:{label:"Assignment Edit",position:"is-left"}},[s("a",{attrs:{"data-toggle":"modal","data-target":"#editModal"},on:{click:function(s){return t.editModal(e)}}},[s("i",{staticClass:"fas fa-pencil-alt"})])])],1)]),s("tr",[s("td",{attrs:{colspan:"7"}},[s("div",{staticClass:"collapse d-flex flex-wrap",attrs:{id:"accordion"+a}},[t._l(t.collapseOpenClose(e),(function(t,e){return[s("div",{key:e,staticClass:"col-md-3 col-6 mb-3"},[s("Card",{key:e,attrs:{contentType:"details",assignmentId:t.assignment_id,communityType:t.assignment_type,id:t.scorm.scorm_id,title:t.scorm.scorm_name,imgpath:t.scorm.scorm_image?t.scorm.scorm_image:"https://storage.googleapis.com/ueslmscom/uploads/collection/1560865423.jpg",linkUrl:t.scorm.scorm_code,collPath:t.scorm.collection_path}})],1)]}))],2)])])])}))],2),s("div",{staticClass:"modal fade",attrs:{id:"editAllModal",tabindex:"-1",role:"dialog","aria-labelledby":"exampleModalCenterTitle","aria-hidden":"true"}},[s("div",{staticClass:"modal-dialog modal-dialog-centered",attrs:{role:"document"}},[s("div",{staticClass:"modal-content"},[t._m(0),s("div",{staticClass:"modal-body"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-6 mt-1 text-center"},[s("span",[t._v("Due Date")]),s("datetime",{attrs:{type:"date",onchange:t.filterEdit()},model:{value:t.allEdit.end_date,callback:function(e){t.$set(t.allEdit,"end_date",e)},expression:"allEdit.end_date"}})],1)])]),s("div",{staticClass:"modal-footer"},[s("button",{staticClass:"btn btn-secondary",attrs:{type:"button"},on:{click:t.editAll}},[t._v("Update")])])])])]),s("div",{staticClass:"modal fade",attrs:{id:"editModal",tabindex:"-1",role:"dialog","aria-labelledby":"exampleModalCenterTitle","aria-hidden":"true"}},[s("div",{staticClass:"modal-dialog modal-dialog-centered",staticStyle:{"max-width":"90%"}},[s("div",{staticClass:"modal-content"},[s("div",{staticClass:"modal-header"},[s("h5",{staticClass:"modal-title",attrs:{id:"exampleModalLongTitle"}},[t._v("Update Assessment: "+t._s(t.selectEdit.name))]),t._m(1)]),s("div",{staticClass:"modal-body"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-6 mt-1 mb-1 text-center"},[s("span",[t._v("Assignment Name")]),s("br"),s("input",{directives:[{name:"model",rawName:"v-model",value:t.selectEdit.name,expression:"selectEdit.name"}],class:t.$style.editInput,attrs:{type:"text",width:"20"},domProps:{value:t.selectEdit.name},on:{input:function(e){e.target.composing||t.$set(t.selectEdit,"name",e.target.value)}}})]),s("div",{staticClass:"col-md-6 mt-1 mb-1 text-center"},[s("span",[t._v("Due Date")]),s("datetime",{attrs:{type:"date",name:"editDueDate",width:"300px","min-datetime":t.selectEdit.start_date,onchange:t.filterEdit()},model:{value:t.selectEdit.end_date,callback:function(e){t.$set(t.selectEdit,"end_date",e)},expression:"selectEdit.end_date"}})],1)]),s("div",{staticClass:"row"},[s("ScormAdd",{attrs:{resources:this.assignmentData.assignment_scorms?this.globalSelectedLessons:[]},on:{selectedLessons:t.onClickChild}})],1)]),s("div",{staticClass:"modal-footer"},[s("button",{staticClass:"btn btn-secondary",attrs:{type:"button"},on:{click:t.editUpdate}},[t._v("Update")])])])])]),s("div",{staticClass:"col-md-12"},[this.pagination&&this.activeDataSet.length>0?s("lmsPagination",{attrs:{data:this.pagination},on:{goToPage:t.goToPage}}):t._e()],1)]):s("div",[s("p",{class:t.$style.noContent},[t._v("There is no Assignment.")])])]):s("div",[s("InnerLoading")],1)])])],1)},We=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"modal-header"},[s("h5",{staticClass:"modal-title",attrs:{id:"exampleModalLongTitle"}},[t._v("Update Assignments")]),s("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"modal","aria-label":"Close"}},[s("span",{attrs:{"aria-hidden":"true"}},[t._v("×")])])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"modal","aria-label":"Close"}},[s("span",{attrs:{"aria-hidden":"true"}},[t._v("×")])])}],Ke=s("ade3"),Ze=s("2909"),Qe=(s("a434"),s("b64b"),function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-6"},[s("div",{staticClass:"alert alert-info",class:t.$style.customAlert},[s("small",[t._v("Please choose a course and lessons. You should select lesson card from right column to the left. If you add many resources then will be created many assignments with one resource. Please remember that students have to have access to this course.")])]),t.selectedLessons.length>0?s("div",{staticClass:"row"},t._l(t.selectedLessons,(function(e,a){return s("div",{key:a,staticClass:"col-md-10 ml-5 mr-5",class:t.$style.divSelectedLessons},[s("div",{staticClass:"row d-flex justify-content-center align-items-center"},[s("div",{staticClass:"col-lg-5 col-md-12 text-center",class:t.$style.lessonTitle},[t._v(" "+t._s(e.name)+" ")]),s("div",{staticClass:"col-lg-5 col-md-12 text-center"},[s("img",{class:t.$style.lessonImg,attrs:{src:e.big_image?e.big_image:e.image}})]),s("div",{staticClass:"col-lg-2 col-md-12"},[s("button",{staticClass:"btn btn-danger btn-block mb-3",on:{click:function(s){return t.unselectLesson(e.id)}}},[s("span",{staticClass:"fa fa-minus-circle"})])])])])})),0):t._e()]),s("div",{staticClass:"col-md-6"},[s("div",{staticClass:"row",class:t.$style.customRow},[s("div",{staticClass:"col-md-3"},[s("label",{class:t.$style.customLabel},[t._v("Collections:*")])]),s("div",{staticClass:"col-md-9"},[s("v-select",{attrs:{label:"name",options:t.parentCollections},model:{value:t.selectedCollection,callback:function(e){t.selectedCollection=e},expression:"selectedCollection"}})],1)]),s("div",{staticClass:"row",class:t.$style.customRow},[s("div",{staticClass:"col-md-3"},[s("label",{class:t.$style.customLabel},[t._v("Courses:*")])]),s("div",{staticClass:"col-md-9"},["Select a Collection"!==this.selectedCollection?s("v-select",{attrs:{label:"name",options:this.coursesArr},model:{value:t.selectedCourse,callback:function(e){t.selectedCourse=e},expression:"selectedCourse"}}):s("v-select",{attrs:{label:"name"},model:{value:t.selectedCourse,callback:function(e){t.selectedCourse=e},expression:"selectedCourse"}})],1)]),this.lessonsArr.length>0?s("div",{staticClass:"row",class:t.$style.customRow},t._l(this.lessonsArr.filter((function(t){return!1===t.isSelected})),(function(e,a){return s("div",{key:a,staticClass:"col-md-10 ml-5 mr-5",class:t.$style.lessonDiv},[s("div",{staticClass:"row d-flex justify-content-center align-items-center"},[s("div",{staticClass:"col-lg-5 col-md-12 text-center",class:t.$style.lessonTitle},[t._v(" "+t._s(e.name)+" "),e.isHistory?s("p",{staticStyle:{"font-weight":"bold","text-decoration":"underline","font-size":"10px"}},[t._v("Already assigned")]):t._e()]),s("div",{staticClass:"col-lg-5 col-md-12 text-center"},[s("img",{class:t.$style.lessonImg,attrs:{src:e.big_image?e.big_image:e.image}})]),s("div",{staticClass:"col-lg-2 col-md-12"},[s("button",{staticClass:"btn btn-success btn-block mb-3",on:{click:function(s){return t.selectLesson(e.id)}}},[s("span",{staticClass:"fa fa-plus"})])])])])})),0):t._e()])])}),Xe=[],ts=(s("c740"),function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{class:t.$style.divCard,attrs:{title:t.scormDesc}},[s("div",{class:t.$style.customCard,on:{click:function(e){return t.goToContent()}}},[s("div",{staticClass:"row",class:t.$style.topCard},[s("div",{staticClass:"col-md-12"},[s("img",{staticClass:"cardCoverImg",class:t.$style.coverImg,attrs:{src:t.imgpath,alt:"Content Cover",onerror:"this.src='https://cdn0.iconfinder.com/data/icons/seo-smart-pack/128/grey_new_seo-37-512.png'"}})]),s("div",{staticClass:"col-md-12"},[s("h1",{class:t.$style.contentTitle},[t._v(t._s(t.scormTitle?t.scormTitle:t.title))]),s("div",{staticClass:"row justify-content-center"},[s("div",["Not Started"===t.stateName?s("span",{staticClass:"badge badge-light",class:t.$style.divState},[t._v(t._s(t.stateName))]):"Ongoing"===t.stateName?s("span",{staticClass:"badge badge-info",class:t.$style.divState},[t._v(t._s(t.stateName))]):"Completed"===t.stateName?s("span",{staticClass:"badge badge-success",class:t.$style.divState},[t._v(t._s(t.stateName))]):"Expired"===t.stateName?s("span",{staticClass:"badge badge-danger",class:t.$style.divState},[t._v(t._s(t.stateName))]):t._e()])])])]),s("div",{directives:[{name:"show",rawName:"v-show",value:"scorm"===this.contentType,expression:"this.contentType === 'scorm'"}],staticClass:"row d-flex justify-content-center align-items-center mt-3",class:t.$style.bottomCard},["student"===this.$store.state.roleType&&t.score?s("span",{staticClass:"col-lg-5 offset-lg-1 col-md-5 offset-md-1 col-sm-5 offset-sm-1 col-xs-5 offset-xs-1 badge badge-primary",class:[t.$style.customBadge,t.$style.customBadgeFirst]},[t._v("Score")]):t._e(),"student"===this.$store.state.roleType&&t.score?s("span",{staticClass:"col-lg-6 col-md-5 col-sm-5 col-xs-6 badge",class:t.$style.customBadge},[t._v(t._s(parseInt(t.score))+"%")]):t._e(),"student"===this.$store.state.roleType&&"assignment"===this.packageType||t.date?s("span",{staticClass:"col-lg-5 offset-lg-1 col-md-5 offset-md-1 col-sm-5 offset-sm-1 col-xs-5 offset-xs-1 badge badge-info",class:[t.$style.customBadge,t.$style.customBadgeFirst]},[t._v("Due Date")]):t._e(),t.date?s("span",{staticClass:"col-lg-6 col-md-5 col-sm-5 col-xs-5 badge",class:t.$style.customBadge},[t._v(t._s(t.convertDate(t.date)))]):t._e()])])])}),es=[],ss={name:"card",data:function(){return{routerObj:{}}},props:["title","imgpath","score","date","contentType","id","packageType","stateName","scormTitle","scormCode","scormDesc","linkUrl","packageId","coverImageHeight"],mounted:function(){this.setRouterObject(),this.setCoverImageHeight()},updated:function(){this.setRouterObject(),this.setCoverImageHeight()},computed:Object(c["a"])({},Object(l["e"])(["roleType","userDetails"])),methods:{goToContent:function(){"link"===this.contentType?window.open(this.linkUrl,"_blank"):this.$router.push(this.routerObj)},setRouterObject:function(){"scorm"===this.contentType?(Object(m["a"])("[title]"),"student"===this.roleType?this.date&&!this.linkUrl?this.routerObj={name:"assignmentDetails",params:{id:this.packageId,community:"individual"}}:this.routerObj={name:this.contentType,params:{id:this.id,packageId:this.packageId,scormTitle:this.scormTitle,scormDesc:this.scormDesc,scormCode:this.scormCode,packageType:null,timestamp:null}}:"teacher"===this.roleType&&(this.routerObj={name:this.contentType,params:{id:this.id,packageId:this.packageId,scormTitle:this.scormTitle,scormDesc:this.scormDesc,scormCode:this.scormCode,packageType:null,timestamp:null}})):"free"===this.contentType?this.routerObj={name:"scorm",params:{id:this.id,packageId:this.packageId,scormTitle:this.scormTitle,scormDesc:this.scormDesc,scormCode:this.scormCode,timestamp:null}}:this.routerObj={name:"collectionsPackage"===this.contentType?"collections":this.contentType,params:{id:this.id,searchList:"collectionsPackage"===this.contentType?"packages":"collections"}}},setCoverImageHeight:function(){if(this.coverImageHeight){var t,e=document.getElementsByClassName("cardCoverImg"),s=Object(g["a"])(e);try{for(s.s();!(t=s.n()).done;){var a=t.value;a.style.minHeight=this.coverImageHeight,a.style.width="auto"}}catch(n){s.e(n)}finally{s.f()}}},convertDate:function(t){function e(t){return t<10?"0".concat(t):t}var s=t.replace(/-/g,"/"),a=new Date(s),n=[e(a.getDate()),e(a.getMonth()+1),a.getFullYear()].join("-");return"".concat(n)}}},as=ss,ns=s("d7bf");function is(t){this["$style"]=ns["default"].locals||ns["default"]}var rs=Object(F["a"])(as,ts,es,!1,is,null,null),os=rs.exports,cs={name:"ScormAdd",data:function(){return{selectedCollection:"Select a Collection",selectedCollectionId:0,selectedCourse:"Select a Collection",allCourses:[],globalLessonsArr:[],selectedLessons:[],parentCollections:[],childCollections:[],historyScorms:[]}},props:["resources"],beforeMount:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.resources.length>0&&(t.selectedLessons=t.resources),t.parentCollections=t.collections.data.filter((function(t){return 0===t.parent})),e.next=4,$.getHistoryScorms();case 4:s=e.sent,t.historyScorms=s.scorm_ids;case 6:case"end":return e.stop()}}),e)})))()},watch:{selectedCollection:function(t){null!==t?(this.selectedCollectionId=t.id,this.selectedCourse="Select a Course"):(this.selectedCollection="Select a Collection",this.selectedCollectionId=0,this.selectedCourse=null)},selectedCourse:function(t){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function s(){return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:null!==t&&"Select a Course"!==t?e.setGlobalLessons(t.id):0!==e.selectedCollectionId?e.selectedCourse="Select a Course":e.selectedCourse="Select a Collection";case 1:case"end":return s.stop()}}),s)})))()}},computed:Object(c["a"])(Object(c["a"])({},Object(l["e"])(["collections","scorms"])),{},{coursesArr:function(){var t=this;if(this.selectedCollectionId)return this.collections.data.filter((function(e){return e.parent===t.selectedCollectionId}))},lessonsArr:function(){return this.globalLessonsArr}}),methods:{setGlobalLessons:function(t){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function s(){var a,n,i,r,o,c,l,d,u,m,_;return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:return s.next=2,$.getScorms(t,1,200);case 2:a=s.sent,e.globalLessonsArr=a.data,n=Object(g["a"])(e.globalLessonsArr);try{for(n.s();!(i=n.n()).done;)r=i.value,e.inArray(r.id,e.historyScorms)?r.isHistory=!0:r.isHistory=!1}catch(p){n.e(p)}finally{n.f()}e.globalLessonsArr.forEach((function(t){t.isSelected=!1})),o=[],c=Object(g["a"])(e.globalLessonsArr);try{for(d=function(){var t=l.value;t.isSelected=!1;var s=e.selectedLessons.find((function(e){return e.id==t.id}));s&&o.push(t)},c.s();!(l=c.n()).done;)d()}catch(p){c.e(p)}finally{c.f()}for(u=function(){var t=_[m],s=D.a.findIndex(e.globalLessonsArr,(function(e){return e.id==t.id}));e.globalLessonsArr.splice(s,1)},m=0,_=o;m<_.length;m++)u();case 12:case"end":return s.stop()}}),s)})))()},inArray:function(t,e){for(var s=e.length,a=0;a0)){e.next=9;break}return e.next=7,$.addScorms(a,n);case 7:e.sent,Se()("Assignments","Scorm Added successfully!","success").then((function(){}));case 9:Se()("Assignments","Updated successfully!","success").then((function(){t.selectEdit=[],location.reload()}));case 10:case"end":return e.stop()}}),e)})))()},editAll:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:s={assignment_end_date:t.allEdit.end_date},t.selectedAssignments.forEach(function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,$.editAssignmentDate(e,s);case 2:t.sent;case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),Se()("Assignments","Updated successfully!","success").then((function(){t.selectEdit=[],location.reload()}));case 3:case"end":return e.stop()}}),e)})))()},collapseOpenClose:function(t){var e=this.activeDataSet.filter((function(e){return e.assignment_name===t.assignment_name&&e.name===t.name}));return D.a.orderBy(e,["scorm.scorm_name"])},editModal:function(t){var e=this.activeDataSet.filter((function(e){return e.assignment_name===t.assignment_name&&e.name===t.name}));return this.selectEdit.lessons=e,this.selectEdit.name=t.name,this.selectEdit.id=t.assignment_id,this.selectEdit.name=t.assignment_name,this.selectEdit.end_date=t.end_date,this.selectEdit.start_date=t.start_date,!0},removeArray:function(t){var e=this.activeDataSet.filter((function(e){return e.assignment_name===t.assignment_name&&e.name===t.name})).map((function(t){return t.assignment_id}));return e},changeData:function(t){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function s(){return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:if("group"!==t){s.next=6;break}e.$refs.individual.classList="nav-link",e.$refs.group.classList="nav-link active",e.setData(),s.next=16;break;case 6:return e.ready=!1,e.$refs.group.classList="nav-link",e.$refs.individual.classList="nav-link active",s.next=11,$.getAssignments(1,"id","individual");case 11:e.assignments2=s.sent,e.$store.commit("setIndAssignments",e.assignments2),e.pagination=e.assignments2.data.pagination,e.updateView("individual"),e.ready=!0;case 16:case"end":return s.stop()}}),s)})))()},setTabView:function(){},setTabData:function(){var t=this;this.activeDataSet=this.assignments2.data.data.filter((function(e){return e.assignment_type===t.activeTab&&(e.assignment_name.toLocaleLowerCase("tr-TR").includes(t.searchText)||e.scorm.scorm_name.toLocaleLowerCase("tr-TR").includes(t.searchText)||e.name.toLocaleLowerCase("tr-TR").includes(t.searchText))})),this.filterData=D.a.uniq(this.activeDataSet.map((function(t){return t.name}))),this.uniqData=D.a.uniqBy(this.activeDataSet,(function(t){return[t.assignment_name,t.name].join()})),this.uniqData.length>0&&(this.startDateMin=D.a.orderBy(this.uniqData,"start_date")[0].start_date.split(" ")[0],this.startDateMax=D.a.orderBy(this.uniqData,"start_date","desc")[0].start_date.split(" ")[0],this.dueDateMin=D.a.orderBy(this.uniqData,"end_date","desc")[0].end_date.split(" ")[0])},unselectAllSelectedLessons:function(){this.selectedAssignments=[];var t,e=document.getElementsByClassName("check"),s=Object(g["a"])(e);try{for(s.s();!(t=s.n()).done;){var a=t.value;a.checked=!1}}catch(n){s.e(n)}finally{s.f()}},goTo:function(t){this.$router.push(t)},convertDate:function(t){function e(t){return t<10?"0".concat(t):t}var s=t.replace(/-/g,"/"),a=new Date(s),n=[e(a.getDate()),e(a.getMonth()+1),a.getFullYear()].join("-");return"".concat(n)},search:function(t){this.searchText=t?t.toLocaleLowerCase("tr-TR"):"",this.updateView(this.activeTab)},cbClicked:function(t){var e=this;if("allCheckBox"===t.target.id){this.selectedAssignments=[];var s,a=document.getElementById("allCheckBox"),n=a.checked,i=document.getElementsByClassName("check"),r=Object(g["a"])(i);try{for(r.s();!(s=r.n()).done;){var o,c=s.value;if(c.checked=n,"on"!==c.value&&n)(o=this.selectedAssignments).push.apply(o,Object(Ze["a"])(c.value.split(",")))}}catch(u){r.e(u)}finally{r.f()}n||(this.selectedAssignments=[])}else{var l;if(t.target.checked)(l=this.selectedAssignments).push.apply(l,Object(Ze["a"])(t.target.value.split(",")));else if(!t.target.checked){var d=t.target.value.split(",");d.forEach((function(t){var s=e.selectedAssignments.indexOf(t);e.selectedAssignments.splice(s,1)}))}}},remove:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.ready=!1,Se()({title:"Are you sure?",text:"Once deleted, you will not be able to recover this assignments!",icon:"warning",buttons:!0,dangerMode:!0}).then((function(e){e?$.deleteAssignments(t.selectedAssignments).then((function(e){e.success?Se()("Assignments","Removed successfully!","success").then((function(){t.ready=!0,t.selectedAssignments=[],location.reload()})):(t.ready=!0,console.log("Assignment Delete Error",e.data),Se()("","An error occured while you removing assignments","error"))})):t.ready=!0}));case 2:case"end":return e.stop()}}),e)})))()},setData:function(){var t=this.$route.query;t.page?this.getData(t.page):this.goToPage(1)},goToPage:function(t){this.$router.push({name:"teacherAssignments",params:{},query:{page:t}})},getData:function(t){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function s(){return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:return e.ready=!1,e.contentType="lesson",e.title="ASSIGNMENTS",s.next=5,$.getAssignments(t,"id");case 5:return e.assignments2=s.sent,e.$store.commit("setAssignments",e.assignments2),e.pagination=e.assignments2.data.pagination,s.next=10,e.getStudentsUnselected();case 10:e.updateView(),e.ready=!0;case 12:case"end":return s.stop()}}),s)})))()},resetFilter:function(){this.ready=!1,this.selectedFilter="all",this.startDate=null,this.dueDate=null,this.uniqData=D.a.uniqBy(this.activeDataSet,"assignment_name"),this.ready=!0},filterMeth:function(){var t=this;this.uniqData=D.a.uniqBy(this.activeDataSet,(function(t){return[t.assignment_name,t.name].join()})),"all"!==this.selectedFilter&&(this.uniqData=this.uniqData.filter((function(e){return e.name===t.selectedFilter}))),this.startDate&&(this.uniqData=this.uniqData.filter((function(e){return e.start_date.split(" ")[0]>=t.startDate.split("T")[0]}))),this.dueDate&&(this.uniqData=this.uniqData.filter((function(e){return e.start_date.split(" ")[0]<=t.dueDate.split("T")[0]})))},filterEdit:function(){this.selectEdit.end_date&&(this.selectEdit.end_date=this.selectEdit.end_date.split("T")[0]),this.selectEdit.end_date&&(this.selectEdit.end_date=this.selectEdit.end_date.split("T")[0]),this.allEdit.end_date&&(this.allEdit.end_date=this.allEdit.end_date.split("T")[0])},setAssignmentData:function(t){for(var e=0,s=Object.keys(t);eyt()(this.assignmentData.start_date).valueOf()}}),beforeMount:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:"individual"===t.$route.params.community?t.setIndividualAssignment():"group"===t.$route.params.community&&t.setGroupAsssignment();case 1:case"end":return e.stop()}}),e)})))()},components:{HeaderCustom:Z,InnerLoading:Wt},watch:{$route:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("individual"!==t.$route.params.community){e.next=5;break}return e.next=3,t.setIndividualAssignment();case 3:e.next=8;break;case 5:if("group"!==t.$route.params.community){e.next=8;break}return e.next=8,t.setGroupAsssignment();case 8:case"end":return e.stop()}}),e)})))()}}}),Ds=ks,xs=(s("6f7c"),s("cc8a"));function Ts(t){this["$style"]=xs["default"].locals||xs["default"]}var Ss=Object(F["a"])(Ds,Cs,ws,!1,Ts,"7fd8632d",null),$s=Ss.exports,js=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("HeaderCustom"),s("div",{staticClass:"container"},[s("div",{class:t.$style.divCreateAssignment},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-12 col-sm-12 col-xs-12",class:t.$style.divTitle},[s("h3",[t._v("Create Assignment")])])]),s("div",{staticClass:"row",class:t.$style.divSteps},[s("div",{staticClass:"col-md-3 col-sm-3 col-xs-3 step",class:t.$style.customStep,attrs:{id:"step1"},on:{click:function(e){t.currentstep=1}}},[t._v("DETAILS")]),s("div",{staticClass:"col-md-3 col-sm-3 col-xs-3 step",class:t.$style.customStep,attrs:{id:"step2"},on:{click:function(e){t.currentstep=2}}},[t._v(" RESOURCES")]),s("div",{staticClass:"col-md-3 col-sm-3 col-xs-3 step",class:t.$style.customStep,attrs:{id:"step3"},on:{click:function(e){t.currentstep=3}}},[t._v(" ASSIGNEES")]),s("div",{staticClass:"col-md-3 col-sm-3 col-xs-3 step",class:t.$style.customStep,attrs:{id:"step4"},on:{click:function(e){t.currentstep=4}}},[t._v(" OPTIONS")])]),1===this.currentstep?s("FirstStep",{attrs:{title:this.assignmentData.assignment_name,desc:this.assignmentData.assignment_desc}}):t._e(),2===this.currentstep?s("SecondStep",{attrs:{resources:this.assignmentData.assignment_scorms?this.globalSelectedLessons:[]}}):t._e(),3===this.currentstep?s("ThirdStep"):t._e(),4===this.currentstep?s("FourthStep",{attrs:{sDate:this.assignmentData.assignment_start_date?this.assignmentData.assignment_start_date:null,dDate:this.assignmentData.assignment_end_date?this.assignmentData.assignment_end_date:null,block:!!this.assignmentData.block_after_due_date&&this.assignmentData.block_after_due_date,single:!!this.assignmentData.single_access&&this.assignmentData.single_access}}):t._e(),s("div",{staticClass:"row",class:t.$style.divBtn},[s("div",{staticClass:"col-md-2"},[1!==this.currentstep?s("button",{staticClass:"btn",class:t.$style.backBtn,on:{click:t.decreaseStep}},[s("i",{staticClass:"fa fa-arrow-left fa-3x",class:t.$style.icon,attrs:{"aria-hidden":"true"}})]):t._e()]),s("div",{staticClass:"col-md-2 offset-md-8"},[4!==this.currentstep?s("button",{staticClass:"btn",class:t.$style.nextBtn,on:{click:t.increaseStep}},[s("i",{staticClass:"fa fa-arrow-right fa-3x",class:t.$style.icon,attrs:{"aria-hidden":"true"}})]):t._e(),4===this.currentstep?s("button",{staticClass:"btn",class:t.$style.btnCreate,on:{click:t.createAssignment}},[t._v(" Create Assignment ")]):t._e()])])],1)])],1)},As=[],Os=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{staticClass:"row",class:t.$style.customRow},[s("div",{staticClass:"col-md-2 col-sm-2 col-xs-2"},[s("label",{class:t.$style.customLabel},[t._v("Title:*")])]),s("div",{staticClass:"col-md-9 col-sm-9 col-xs-9"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.assignmentTitle,expression:"assignmentTitle"}],ref:"txtTitle",staticClass:"form-control",attrs:{type:"text",placeholder:"Assignment Title (Required)"},domProps:{value:t.assignmentTitle},on:{input:function(e){e.target.composing||(t.assignmentTitle=e.target.value)}}})])]),s("div",{staticClass:"row",class:t.$style.customRow},[s("div",{staticClass:"col-md-2 col-sm-2 col-xs-2"},[s("label",{class:t.$style.customLabel},[t._v("Description:")])]),s("div",{staticClass:"col-md-9 col-sm-9 col-xs-9"},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.assignmentDesc,expression:"assignmentDesc"}],ref:"txtDesc",staticClass:"form-control",class:t.$style.customTextarea,attrs:{rows:"6",placeholder:"Assignment Description"},domProps:{value:t.assignmentDesc},on:{input:function(e){e.target.composing||(t.assignmentDesc=e.target.value)}}})])])])},Rs=[],Ls={name:"firstStep",data:function(){return{assignmentTitle:"",assignmentDesc:""}},beforeDestroy:function(){var t={};t.assignment_name=this.$refs.txtTitle.value,t.assignment_desc=this.$refs.txtDesc.value,this.$parent.setAssignmentData(t)},props:["title","desc"],beforeMount:function(){this.assignmentTitle=this.title,this.assignmentDesc=this.desc}},Ps=Ls,Is=s("af63");function Es(t){this["$style"]=Is["default"].locals||Is["default"]}var Bs=Object(F["a"])(Ps,Os,Rs,!1,Es,null,null),Ms=Bs.exports,Ns=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{class:t.$style.divSecondStep},[t.ready?s("div",{staticClass:"row m-0"},[s("div",{staticClass:"col-md-6"},[s("div",{staticClass:"alert alert-info",class:t.$style.customAlert},[s("small",[t._v("Please choose a course and lessons. You should select lesson card from right column to the left. If you add many resources then will be created many assignments with one resource. Please remember that students have to have access to this course.")])]),t.selectedLessons.length>0?s("div",{staticClass:"row text-center mt-3"},[s("div",{staticClass:"col-md-10 ml-5 mr-5"},[s("button",{staticClass:"btn btn-danger",on:{click:t.unselectAllScorms}},[t._v("Remove All Lessons")])])]):t._e(),t.selectedLessons.length>0?s("div",{staticClass:"row"},t._l(t.selectedLessons,(function(e,a){return s("div",{key:a,staticClass:"col-md-10 ml-5 mr-5",class:t.$style.divSelectedLessons},[s("div",{staticClass:"row d-flex justify-content-center align-items-center"},[s("div",{staticClass:"col-lg-5 col-md-12 text-center",class:t.$style.lessonTitle},[t._v(" "+t._s(e.name)+" ")]),s("div",{staticClass:"col-lg-5 col-md-12 text-center"},[s("img",{class:t.$style.lessonImg,attrs:{src:e.big_image?e.big_image:e.image}})]),s("div",{staticClass:"col-lg-2 col-md-12"},[s("button",{staticClass:"btn btn-danger btn-block mb-3",on:{click:function(s){return t.unselectLesson(e.id)}}},[s("span",{staticClass:"fa fa-minus-circle"})])])])])})),0):t._e()]),s("div",{staticClass:"col-md-6"},[s("div",{staticClass:"row",class:t.$style.customRow},[s("div",{staticClass:"col-md-3"},[s("label",{class:t.$style.customLabel},[t._v("Collections:*")])]),s("div",{staticClass:"col-md-9"},[s("v-select",{attrs:{label:"name",options:t.parentCollections},model:{value:t.selectedCollection,callback:function(e){t.selectedCollection=e},expression:"selectedCollection"}})],1)]),s("div",{staticClass:"row",class:t.$style.customRow},[s("div",{staticClass:"col-md-3"},[s("label",{class:t.$style.customLabel},[t._v("Courses:*")])]),s("div",{staticClass:"col-md-9"},["Select a Collection"!==this.selectedCollection?s("v-select",{attrs:{label:"name",options:this.coursesArr},model:{value:t.selectedCourse,callback:function(e){t.selectedCourse=e},expression:"selectedCourse"}}):s("v-select",{attrs:{label:"name"},model:{value:t.selectedCourse,callback:function(e){t.selectedCourse=e},expression:"selectedCourse"}})],1)]),this.lessonsArr.length>0&&this.lessonsArr.filter((function(t){return!1===t.isSelected})).length>0?s("div",{staticClass:"row text-center mt-3"},[s("div",{staticClass:"col-md-10 ml-5 mr-5"},[s("button",{staticClass:"btn btn-primary",on:{click:t.addedAllScorms}},[t._v("Select All Lessons")])])]):t._e(),this.lessonsArr.length>0?s("div",{staticClass:"row",class:t.$style.customRow},t._l(this.lessonsArr.filter((function(t){return!1===t.isSelected})),(function(e,a){return s("div",{key:a,staticClass:"col-md-10 ml-5 mr-5",class:t.$style.lessonDiv},[s("div",{staticClass:"row d-flex justify-content-center align-items-center"},[s("div",{staticClass:"col-lg-5 col-md-12 text-center",class:t.$style.lessonTitle},[t._v(" "+t._s(e.name)+" "),e.isHistory?s("p",{staticStyle:{"font-weight":"bold","text-decoration":"underline",color:"green","font-size":"10px"}},[t._v("Already assigned")]):t._e()]),s("div",{staticClass:"col-lg-5 col-md-12 text-center"},[s("img",{class:t.$style.lessonImg,attrs:{src:e.big_image?e.big_image:e.image}})]),s("div",{staticClass:"col-lg-2 col-md-12"},[s("button",{staticClass:"btn btn-success btn-block mb-3",on:{click:function(s){return t.selectLesson(e.id)}}},[s("span",{staticClass:"fa fa-plus"})])])])])})),0):t._e()])]):s("div",[s("InnerLoading",{class:t.$style.divLoadingHome})],1)])},Hs=[],zs={name:"secondStep",data:function(){return{selectedCollection:"Select a Collection",selectedCollectionId:0,selectedCourse:"Select a Collection",allCourses:[],historyScorms:[],globalLessonsArr:[],selectedLessons:[],parentCollections:[],childCollections:[],ready:!0}},props:["resources"],beforeMount:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.resources.length>0&&(t.selectedLessons=t.resources),t.parentCollections=t.collections.data.filter((function(t){return 0===t.parent})),e.next=4,$.getHistoryScorms();case 4:s=e.sent,t.historyScorms=s.scorm_ids;case 6:case"end":return e.stop()}}),e)})))()},watch:{selectedCollection:function(t){this.ready=!1,null!==t?(this.selectedCollectionId=t.id,this.selectedCourse="Select a Course"):(this.selectedCollection="Select a Collection",this.selectedCollectionId=0,this.selectedCourse=null),this.ready=!0},selectedCourse:function(t){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function s(){return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:e.ready=!1,null!==t&&"Select a Course"!==t?e.setGlobalLessons(t.id):0!==e.selectedCollectionId?e.selectedCourse="Select a Course":e.selectedCourse="Select a Collection",e.ready=!0;case 3:case"end":return s.stop()}}),s)})))()}},computed:Object(c["a"])(Object(c["a"])({},Object(l["e"])(["collections","scorms"])),{},{coursesArr:function(){var t=this;if(this.ready=!1,this.selectedCollectionId)return this.ready=!0,this.collections.data.filter((function(e){return e.parent===t.selectedCollectionId}));this.ready=!0},lessonsArr:function(){return this.globalLessonsArr}}),methods:{setGlobalLessons:function(t){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function s(){var a,n,i,r,o,c,l,d,u,m,_;return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:return e.ready=!1,s.next=3,$.getScorms(t,1,200);case 3:a=s.sent,e.globalLessonsArr=a.data,n=Object(g["a"])(e.globalLessonsArr);try{for(n.s();!(i=n.n()).done;)r=i.value,e.inArray(r.id,e.historyScorms)?r.isHistory=!0:r.isHistory=!1}catch(p){n.e(p)}finally{n.f()}e.globalLessonsArr.forEach((function(t){t.isSelected=!1})),o=[],c=Object(g["a"])(e.globalLessonsArr);try{for(d=function(){var t=l.value;t.isSelected=!1;var s=e.selectedLessons.find((function(e){return e.id==t.id}));s&&o.push(t)},c.s();!(l=c.n()).done;)d()}catch(p){c.e(p)}finally{c.f()}for(u=function(){var t=_[m],s=D.a.findIndex(e.globalLessonsArr,(function(e){return e.id==t.id}));e.globalLessonsArr.splice(s,1)},m=0,_=o;m<_.length;m++)u();e.ready=!0;case 14:case"end":return s.stop()}}),s)})))()},inArray:function(t,e){for(var s=e.length,a=0;a0&&a.length>0?(e.assignment_type="mixed",e.studentIds=a,e.groupIds=s):s.length>0?(e.assignment_type="group",e.ids=s):a.length>0&&(e.assignment_type="individual",e.ids=a),this.$parent.setAssignmentData(e)}},Ks=Ws,Zs=s("ffef");function Qs(t){this["$style"]=Zs["default"].locals||Zs["default"]}var Xs=Object(F["a"])(Ks,Vs,Js,!1,Qs,null,null),ta=Xs.exports,ea=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{staticClass:"row",class:t.$style.customRow},[t._m(0),s("div",{staticClass:"col-md-3"},[s("datetime",{attrs:{type:"date",placeholder:"Start Date (Required)","min-datetime":t.startDateMin,"max-datetime":t.startDateMax},model:{value:t.startDate,callback:function(e){t.startDate=e},expression:"startDate"}})],1),t._m(1)]),s("div",{staticClass:"row",class:t.$style.customRow},[t._m(2),s("div",{staticClass:"col-md-3"},[s("datetime",{attrs:{type:"date",placeholder:"Due Date (Required)","min-datetime":t.dueDateMin},model:{value:t.dueDate,callback:function(e){t.dueDate=e},expression:"dueDate"}})],1),t._m(3)])])},sa=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"col-md-1 offset-md-4"},[s("span",{attrs:{title:"Start Date"}},[s("i",{staticClass:"fa fa-calendar"})])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"col-md-1",attrs:{title:"If you specify this date then assignees will not have access to the assignment and will not see it on their lists before this date."}},[s("span",[s("i",{staticClass:"fa fa-question-circle"})])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"col-md-1 offset-md-4"},[s("span",{attrs:{title:"Due Date"}},[s("i",{staticClass:"fa fa-calendar"})])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"col-md-1",attrs:{title:"If you specify this date then assignees will see it as date before which they have to complete and submit the assignment."}},[s("span",[s("i",{staticClass:"fa fa-question-circle"})])])}],aa={name:"fourthstep",data:function(){return{startDate:null,dueDate:null,isBlockAfterDueDate:!1,isSingleAccess:!1,startDateMin:null,startDateMax:null,dueDateMin:null}},props:["sDate","dDate","block","single"],beforeMount:function(){var t=new Date;this.startDateMin=t.toISOString(),this.dueDateMin=t.toISOString(),this.startDate=this.sDate,this.dueDate=this.dDate,this.isBlockAfterDueDate=this.block,this.isSingleAccess=this.single},beforeDestroy:function(){var t={};t.assignment_start_date=this.startDate,t.assignment_end_date=this.dueDate,t.block_after_due_date=this.isBlockAfterDueDate,t.single_access=this.isSingleAccess,t.status=!0,this.$parent.setAssignmentData(t)},updated:function(){var t={};t.assignment_start_date=this.startDate,t.assignment_end_date=this.dueDate,t.block_after_due_date=this.isBlockAfterDueDate,t.single_access=this.isSingleAccess,t.status=!0,this.$parent.setAssignmentData(t),this.dueDate&&(this.startDateMax=this.dueDate),this.startDate&&(this.dueDateMin=this.startDate)},mounted:function(){Object(m["a"])("[title]",{placement:"right"})}},na=aa,ia=s("c32f");function ra(t){this["$style"]=ia["default"].locals||ia["default"]}var oa=Object(F["a"])(na,ea,sa,!1,ra,null,null),ca=oa.exports,la={name:"assignmentCreate",data:function(){return{currentstep:1,assignmentData:{},globalSelectedLessons:[]}},components:{HeaderCustom:Z,FirstStep:Ms,SecondStep:Gs,ThirdStep:ta,FourthStep:ca},methods:{increaseStep:function(){this.currentstep+=1},decreaseStep:function(){this.currentstep-=1},createAssignment:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){var s,a,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t.assignmentData.assignment_start_date&&t.assignmentData.assignment_end_date&&t.assignmentData.assignment_name&&0!==t.assignmentData.assignment_scorms.length&&t.assignmentData.assignment_type){e.next=4;break}Se()("Error!","The required fields must be filled.","error"),e.next=28;break;case 4:if(t.assignmentData.assignment_start_date="".concat(t.assignmentData.assignment_start_date.split("T")[0]," ").concat(t.assignmentData.assignment_start_date.split("T")[1].split(".")[0]),t.assignmentData.assignment_end_date="".concat(t.assignmentData.assignment_end_date.split("T")[0]," ").concat(t.assignmentData.assignment_end_date.split("T")[1].split(".")[0]),s=null,"mixed"!==t.assignmentData.assignment_type){e.next=24;break}return a=t.assignmentData.studentIds,n=t.assignmentData.groupIds,delete t.assignmentData.groupIds,delete t.assignmentData.studentIds,t.assignmentData.ids=a,t.assignmentData.assignment_type="individual",e.next=16,$.setAssignment(t.assignmentData);case 16:return s=e.sent,t.assignmentData.ids=n,t.assignmentData.assignment_type="group",e.next=21,$.setAssignment(t.assignmentData);case 21:s=e.sent,e.next=27;break;case 24:return e.next=26,$.setAssignment(t.assignmentData);case 26:s=e.sent;case 27:!0===s.success?Se()("Assignment","Created Successfully!","success").then((function(){t.$router.push({name:"teacherAssignments"})})):(Se()("","An error occured while you creating assignments","error"),console.log("ASSIGNMENT CREATION ERROR",s.data));case 28:case"end":return e.stop()}}),e)})))()},setAssignmentData:function(t){for(var e=0,s=Object.keys(t);e0&&"group"===t.type?s("div",{staticClass:"row",attrs:{id:"section-to-print"}},[s("div",{staticClass:"col-md-12 table-responsive"},[s("table",{staticClass:"table table-hover table-bordered",class:t.$style.customTable},[t._l(this.selectedAssignments,(function(e){return s("thead",{key:e.id},[s("tr",[s("td",{staticStyle:{color:"red"}},[t._v("#")]),s("td",{staticStyle:{color:"red"}},[t._v(t._s(e.assignment_name))])])])})),t._m(0),t._l(t.tableData,(function(e,a){return s("tbody",{key:a},[s("tr",[s("td",[t._v(t._s(a+1))]),s("td",[t._v(t._s(e.name))]),s("td",[t._v(t._s(e.total_checks_count))]),s("td",[t._v(t._s(e.total_errors_count))]),s("td",[t._v(t._s(e.total_mistake_count))]),s("td",[t._v(t._s(e.avg_score.toFixed(0))+"%")]),s("td",[t._v(t._s(t.millisToMinutesAndSeconds(e.total_time)))]),s("td",[s("vue-custom-tooltip",{attrs:{label:"Details",position:"is-left"}},[s("a",{attrs:{"data-toggle":"modal","data-target":"#editModal"},on:{click:function(s){return t.reportDetails(e.user_id)}}},[s("i",{staticClass:"fas fa-eye"})])])],1)])])}))],2)])]):t.tableData.length&&t.ready>0&&"individual"===t.type?s("div",{staticClass:"row",attrs:{id:"section-to-print"}},[s("div",{staticClass:"col-md-12 table-responsive"},[s("table",{staticClass:"table table-hover table-bordered",class:t.$style.customTable},[t._m(1),t._l(t.tableData,(function(e,a){return s("tbody",{key:a},[s("tr",[s("td",[t._v(t._s(a+1))]),s("td",[t._v(t._s(e.name))]),s("td",[t._v(t._s(e.scorm_name))]),s("td",[t._v(t._s(e.total_checks_count))]),s("td",[t._v(t._s(e.total_errors_count))]),s("td",[t._v(t._s(e.total_mistake_count))]),s("td",[t._v(t._s(e.avg_score.toFixed(0))+"%")]),s("td",[t._v(t._s(t.millisToMinutesAndSeconds(e.total_time)))]),s("td",[s("vue-custom-tooltip",{attrs:{label:"Details",position:"is-left"}},[s("a",{attrs:{"data-toggle":"modal","data-target":"#editModal"},on:{click:function(s){return t.reportDetails(e.user_id)}}},[s("i",{staticClass:"fas fa-eye"})])])],1)])])}))],2)])]):t.ready?t._e():s("div",[s("InnerLoading")],1)]),s("div",{staticClass:"modal fade",attrs:{id:"editModal",tabindex:"-1",role:"dialog","aria-labelledby":"exampleModalCenterTitle","aria-hidden":"true"}},[s("div",{staticClass:"modal-dialog modal-dialog-centered",staticStyle:{"max-width":"90%"}},[s("div",{staticClass:"modal-content"},[s("div",{staticClass:"modal-header"},[s("h5",{staticClass:"modal-title",attrs:{id:"exampleModalLongTitle"}},[t._v("Assignments Details: "+t._s(t.checkReport[0]?t.checkReport[0].report.name:"")+" ")]),t._m(2)]),s("div",{staticClass:"modal-body"},t._l(t.checkReport,(function(e,a){return s("div",{key:a,staticClass:"row",class:t.$style.customRow},[s("div",{staticClass:"jumbotron col-sm-3 col-md-3",class:t.$style.customJumbotron},[s("h6",{class:t.$style.txtLessonName},[t._v(t._s(e.scorm_name))]),s("hr"),s("img",{class:t.$style.lessonImg,attrs:{src:e.scorm_image}}),s("hr"),s("h6",{staticClass:"text-center",class:t.$style.txtLessonName},[t._v("Description")]),s("hr"),s("i",[t._v(t._s(e.scorm_desc?e.scorm_desc:"Lesson has no description."))])]),s("div",{staticClass:"jumbotron col-sm-9 col-md-9",class:t.$style.customJumbotronViceVersa},[s("div",{staticClass:"table-responsive"},[s("table",{staticClass:"table table-hover table-bordered"},[t._m(3,!0),s("tbody",[s("tr",[s("td",[t._v(" Total ")]),s("td",[t._v(t._s(Math.floor(e.report.scorm_scores.total_score)))]),s("td",[t._v(t._s(e.report.scorm_scores.total_checks_count))]),s("td",[t._v(t._s(e.report.scorm_scores.total_errors_count))]),s("td",[t._v(t._s(e.report.scorm_scores.total_mistake_count))]),s("td",[t._v(t._s(t.millisToMinutesAndSeconds(e.report.scorm_scores.total_time)))])]),t._m(4,!0)]),0===e.report.scorm_scores.paginated_results.length?s("tbody",[t._m(5,!0)]):t._l(e.report.scorm_scores.paginated_results,(function(e,a){return s("tbody",{key:a},[s("tr",[s("td",[t._v(t._s(e.page_name))]),s("td",[t._v(t._s(Math.floor(100*e.score))+"%")]),s("td",[t._v(t._s(e.checks_count))]),s("td",[t._v(t._s(e.errors_count))]),s("td",[t._v(t._s(e.mistake_count))]),s("td",[t._v(t._s(t.millisToMinutesAndSeconds(e.time))+" ")])])])}))],2)])])])})),0),t._m(6)])])])],1)},ha=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("thead",[s("tr",[s("th",[t._v("#")]),s("th",[t._v("Student Name")]),s("th",[t._v("Total Checks")]),s("th",[t._v("Total Errors")]),s("th",[t._v("Total Mistakes")]),s("th",[t._v("Average Score")]),s("th",[t._v("Total Time")]),s("th",[t._v("Details")])])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("thead",[s("tr",[s("th",[t._v("#")]),s("th",[t._v("Student Name")]),s("th",[t._v("Lesson Name")]),s("th",[t._v("Total Checks")]),s("th",[t._v("Total Errors")]),s("th",[t._v("Total Mistakes")]),s("th",[t._v("Average Score")]),s("th",[t._v("Total Time")]),s("th",[t._v("Details")])])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"modal","aria-label":"Close"}},[s("span",{attrs:{"aria-hidden":"true"}},[t._v("×")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("thead",[s("tr",[s("th",[t._v("Lesson")]),s("th",[t._v("Score")]),s("th",[t._v("Checks")]),s("th",[t._v("Errors")]),s("th",[t._v("Mistakes")]),s("th",[t._v("Time")])])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("tr",[s("td",{attrs:{colspan:"6"}},[t._v("Activities")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("tr",[s("td",{attrs:{colspan:"6"}},[t._v(" There is no activity. ")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"modal-footer"},[s("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-dismiss":"modal"}},[t._v("Close")])])}],va=(s("3ca3"),s("ddb0"),{name:"assignmentReport",data:function(){return{assignmentTypes:["group","individual"],selectedStartDate:null,selectedEndDate:null,selectedType:"Select Type",assignmentType:"group",selectedAssignee:"Select Type",assigneesArr:[],assignmentsArr:[],selectedAssignments:[],tableData:[],studentDetails:[],modalData:null,modalLoading:!1,ready:!0,type:null,reportAll:[],checkReport:[]}},computed:Object(c["a"])(Object(c["a"])(Object(c["a"])({},Object(l["e"])(["assignmentss"])),Object(l["e"])(["assignments"])),Object(l["e"])(["individualAssignments"])),components:{HeaderCustom:Z,InnerLoading:Wt,VueCustomTooltip:ps["a"]},beforeMount:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.getLmsAssignments();case 2:return e.next=4,t.getLmsIndAssignments();case 4:case"end":return e.stop()}}),e)})))()},watch:{selectedStartDate:function(t){var e=this;this.assignmentsArr=[],this.tableData=[],this.selectedAssignments=[],document.getElementById("btnReport").disabled=!0,document.getElementById("btnPrint").disabled=!0,"group"===this.selectedType?(this.assignmentsArr=this.assignments.filter((function(s){return yt()(s.start_date).format("YYYY-MM-DD")>=t&&s.name===e.selectedAssignee})).map((function(t){return{assignment_name_show:"".concat(t.assignment_name," ( ").concat(t.start_date.split(" ")[0]," )"),assignment_name:t.assignment_name,lesson_name:t.scorm.scorm_name,id:t.assignment_id,start_date:t.start_date,end_date:t.end_date}})),null!=this.selectedEndDate&&(this.assignmentsArr=this.assignmentsArr.filter((function(t){return yt()(t.start_date).format("YYYY-MM-DD")<=e.selectedEndDate}))),this.assignmentsArr=D.a.uniqBy(this.assignmentsArr,"assignment_name")):"individual"===this.selectedType&&(this.assignmentsArr=this.individualAssignments.filter((function(s){return yt()(s.start_date).format("YYYY-MM-DD")>=t&&s.name===e.selectedAssignee})).map((function(t){return{assignment_name_show:"".concat(t.assignment_name," ( ").concat(t.start_date.split(" ")[0]," )"),assignment_name:t.assignment_name,lesson_name:t.scorm.scorm_name,id:t.assignment_id,start_date:t.start_date,end_date:t.end_date}})),null!=this.selectedEndDate&&(this.assignmentsArr=this.assignmentsArr.filter((function(t){return yt()(t.start_date).format("YYYY-MM-DD")<=e.selectedEndDate}))),this.assignmentsArr=D.a.uniqBy(this.assignmentsArr,"assignment_name"))},selectedEndDate:function(t){var e=this;this.assignmentsArr=[],this.tableData=[],this.selectedAssignments=[],document.getElementById("btnReport").disabled=!0,document.getElementById("btnPrint").disabled=!0,"group"===this.selectedType?(this.assignmentsArr=this.assignments.filter((function(s){return yt()(s.start_date).format("YYYY-MM-DD")<=t&&yt()(s.start_date).format("YYYY-MM-DD")>=e.selectedStartDate&&s.name===e.selectedAssignee})).map((function(t){return{assignment_name_show:"".concat(t.assignment_name," ( ").concat(t.start_date.split(" ")[0]," )"),assignment_name:t.assignment_name,lesson_name:t.scorm.scorm_name,id:t.assignment_id,start_date:t.start_date,end_date:t.end_date}})),this.assignmentsArr=D.a.uniqBy(this.assignmentsArr,"assignment_name")):"individual"===this.selectedType&&(this.assignmentsArr=this.individualAssignments.filter((function(s){return yt()(s.start_date).format("YYYY-MM-DD")<=t&&yt()(s.start_date).format("YYYY-MM-DD")>=e.selectedStartDate&&s.name===e.selectedAssignee})).map((function(t){return{assignment_name_show:"".concat(t.assignment_name," ( ").concat(t.start_date.split(" ")[0]," )"),assignment_name:t.assignment_name,lesson_name:t.scorm.scorm_name,id:t.assignment_id,start_date:t.start_date,end_date:t.end_date}})),this.assignmentsArr=D.a.uniqBy(this.assignmentsArr,"assignment_name"))},selectedAssignee:function(t){this.tableData=[],this.selectedAssignments=[],this.selectedStartDate=null,this.selectedEndDate=null,document.getElementById("btnReport").disabled=!0,document.getElementById("btnPrint").disabled=!0,"Select an Assignee"!==t&&"group"===this.selectedType?(this.assignmentsArr=this.assignments.filter((function(e){return e.name===t})).map((function(t){return{assignment_name_show:"".concat(t.assignment_name," ( ").concat(t.start_date.split(" ")[0]," )"),assignment_name:t.assignment_name,lesson_name:t.scorm.scorm_name,id:t.assignment_id,start_date:t.start_date,end_date:t.end_date}})),this.assignmentsArr=D.a.uniqBy(this.assignmentsArr,"assignment_name")):"Select an Assignee"!==t&&"individual"===this.selectedType&&(this.assignmentsArr=this.individualAssignments.filter((function(e){return e.name===t})).map((function(t){return{assignment_name_show:"".concat(t.assignment_name," ( ").concat(t.start_date.split(" ")[0]," )"),assignment_name:t.assignment_name,lesson_name:t.scorm.scorm_name,id:t.assignment_id,start_date:t.start_date,end_date:t.end_date}})),this.assignmentsArr=D.a.uniqBy(this.assignmentsArr,"assignment_name"))}},methods:Object(c["a"])(Object(c["a"])({},Object(l["b"])(["getLmsAssignments","getLmsIndAssignments"])),{},{getNewArray:function(){if(this.tableData=[],this.selectedAssignments.assignment_name){var t=new Array(this.selectedAssignments);this.selectedAssignments=t,this.selectedAssignments[0].assignment_name?document.getElementById("btnReport").disabled=!1:document.getElementById("btnReport").disabled=!0}},dateFilter:function(t){return t.split(" 00:00:00")},newAssignees:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t.selectedAssignee=[],t.selectedStartDate=null,t.selectedEndDate=null,document.getElementById("btnReport").disabled=!0,document.getElementById("btnPrint").disabled=!0,"group"!==t.selectedType){e.next=10;break}t.assigneesArr=D.a.uniqBy(t.assignments.filter((function(t){return"group"===t.assignment_type})),"name").map((function(t){return t.name})),t.assigneesArr=t.assigneesArr.sort(),e.next=19;break;case 10:if(!t.individualAssignments){e.next=14;break}t.assigneesArr=D.a.uniqBy(t.individualAssignments.filter((function(t){return"individual"===t.assignment_type})),"name").map((function(t){return t.name})),e.next=19;break;case 14:return e.next=16,$.getAssignments(1,"id","individual");case 16:s=e.sent,t.$store.commit("setIndAssignments",s),t.assigneesArr=D.a.uniqBy(s.filter((function(t){return"individual"===t.assignment_type})),"name").map((function(t){return t.name}));case 19:case"end":return e.stop()}}),e)})))()},getReport:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){var s,a,n,i,r,o,c,l,d,u,m,_,p,h,v,f,y,b,C,w,k,x;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.ready=!1,t.tableData=[],s=[],a=null,a="group"===t.selectedType?t.assignments:t.individualAssignments,n=Object(g["a"])(t.selectedAssignments);try{for(r=function(){var e=i.value,n=a.filter((function(s){return s.assignment_name===e.assignment_name&&s.start_date===e.start_date&&s.end_date===e.end_date&&s.name===t.selectedAssignee})).map((function(t){return{assignment_name:t.assignment_name,lesson_name:t.scorm.scorm_name,id:t.assignment_id}}));s=[].concat(Object(Ze["a"])(s),Object(Ze["a"])(n))},n.s();!(i=n.n()).done;)r()}catch(T){n.e(T)}finally{n.f()}o=[],c=regeneratorRuntime.mark((function e(){var s,n,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return s=d[l],n=a.find((function(t){return t.assignment_id===s.id})),e.next=4,$.getPaginatedScores(n.assignment_id);case 4:i=e.sent,"group"===t.selectedType?i.success&&o.push(i.data):o.push(i.data);case 6:case"end":return e.stop()}}),e)})),l=0,d=s;case 10:if(!(l0?s("div",{staticClass:"row",class:t.$style.columns},t._l(this.scormData,(function(e,a){return s("div",{key:a,staticClass:"col-md-4",class:t.$style.column},[s("Card",{attrs:{contentType:"free",id:e.scorm_id,title:e.scorm_name,imgpath:e.scorm_image,score:e.scorm_scores.total_score,scormCode:e.scorm_code,scormTitle:e.scorm_name,scormDesc:e.scorm_desc,packageId:e.package_id,date:e.package_end_date}})],1)})),0):t.linkData.length>0?s("div",{staticClass:"row",class:t.$style.columns},t._l(this.linkData,(function(e,a){return s("div",{key:a,staticClass:"col-md-4",class:t.$style.column},[s("Card",{attrs:{contentType:"link",id:e.link_id,title:e.link_name,imgpath:e.thumbnail_url,linkUrl:e.link_url}})],1)})),0):t._e():s("div",[s("InnerLoading")],1)])],1)},Da=[],xa={name:"lessons",data:function(){return{scormData:[],linkData:[],title:"",ready:!1}},components:{HeaderCustom:Z,Card:os,Search:ue,InnerLoading:Wt},computed:Object(c["a"])(Object(c["a"])({},Object(l["e"])(["freeContents"])),Object(l["c"])(["freeScorms"])),beforeMount:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.getPackages();case 2:t.setPackages(),t.ready=!0;case 4:case"end":return e.stop()}}),e)})))()},watch:{freeContents:function(){this.setPackages()},freeScorms:function(){this.setPackages()}},methods:Object(c["a"])(Object(c["a"])({},Object(l["b"])(["getPackages"])),{},{search:function(t){t?this.setPackages(t):this.setPackages()},setPackages:function(t){var e=parseInt(this.$route.params.id,10);t?(this.scormData=this.freeScorms.filter((function(s){return s.package_id===e&&s.scorm_name.toLowerCase().includes(t.toLowerCase())})),this.linkData=this.freeContents.find((function(t){return t.package_id===e})).package_links.filter((function(e){return e.link_name.includes(t.toLowerCase())}))):(this.scormData=this.freeScorms.filter((function(t){return t.package_id===e})),this.linkData=this.freeContents.find((function(t){return t.package_id===e})).package_links),this.title=this.freeContents.find((function(t){return t.package_id===e})).package_name}})},Ta=xa,Sa=s("3ae6");function $a(t){this["$style"]=Sa["default"].locals||Sa["default"]}var ja=Object(F["a"])(Ta,ka,Da,!1,$a,null,null),Aa=ja.exports,Oa=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{ref:"content",attrs:{id:"content"}},[s("nav",{attrs:{role:"navigation"}},[s("div",{staticClass:"menu"},[s("div",{staticClass:"sizing-btns",on:{click:function(e){return t.fit()}}},[t._v(t._s(t.isFit?"Original Size":"Fit to Window"))]),"demo"!==this.userDetails.title?s("div",{staticClass:"save-btn",on:{click:function(e){return t.saveAndExit()}}},[t._v("Save and Exit")]):s("div",{staticClass:"save-btn",on:{click:function(e){return t.saveAndExit()}}},[t._v("Exit")])])]),t.isLoaded?s("iframe",{ref:"iframe",style:[t.styleFrame,{opacity:t.isReady?1:0}],attrs:{id:"iframe",allowfullscreen:"allowfullscreen",src:"https://content.ueslms.com/scorms/"+t.$route.params.scormCode+"/index_new.html"}}):t._e(),t.isReady?t._e():s("div",{staticClass:"loading"},[s("div",{staticClass:"icon"})])])])},Ra=[],La={name:"Scorm",props:["packageId","scormTitle","scormDesc","scormCode","timestamp","packageType"],data:function(){return{isLoaded:!1,isReady:!1,state:null,isFit:!0,styleFrame:{left:0,transform:0},scormWidth:0,scormHeight:0}},computed:Object(c["a"])({},Object(l["e"])(["userDetails"])),methods:{sentState:function(){if(this.state){var t=this.$refs.iframe.contentWindow||this.$refs.iframe.contentDocument,e="SET_STATE;|".concat(this.state);t.postMessage(e,"*"),console.log("SENT STATE (in app)")}},getState:function(){var t=this,e={user_id:Number(this.userDetails.user_id),scorm_id:Number(this.$route.params.id),stateable_type:this.$route.params.packageType?this.$route.params.packageType:"package",stateable_id:Number(this.$route.params.packageId)};$.loadState(e).then((function(e){e[0]&&(t.state=e[0].state),t.isLoaded=!0})).catch((function(t){console.log("ERR",t)}))},saveStateScore:function(t,e){var s=this,a={user_id:Number(this.userDetails.user_id),scorm_id:Number(this.$route.params.id),stateable_type:this.$route.params.packageType?this.$route.params.packageType:"package",stateable_id:Number(this.$route.params.packageId),state:t,score:'{"score": '.concat(JSON.stringify(e),"}")};"demo"!==this.userDetails.title?$.saveStateScore(a).then((function(t){s.$router.go(-1)})).catch((function(t){console.log("ERR",t)})):this.$router.go(-1)},fit:function(){this.isFit=!this.isFit,this.onResize()},onResize:function(){var t=this.$refs.content.offsetWidth,e=this.$refs.content.offsetHeight-50,s=t,a=this.scormWidth,n=this.scormWidth,i=t/this.scormWidth>e/this.scormHeight;if(this.isFit){i?(s=e,a=this.scormHeight):(s=t,a=this.scormWidth),this.styleFrame.margin="0";var r=s/a;this.styleFrame.left="".concat((t-n*r)/2,"px"),this.styleFrame.transform="scale(".concat(r,")")}else this.styleFrame.left="0",this.styleFrame.right="0",this.styleFrame.margin="auto",this.styleFrame.transform="scale(1)",this.$refs.content.style.overflowX="auto"},fillResize:function(t,e){this.$refs.iframe&&(this.scormWidth=t+40,this.scormHeight=e+40,this.$refs.iframe.style.width="".concat(this.scormWidth-20,"px"),this.$refs.iframe.style.height="".concat(this.scormHeight-20,"px"),this.onResize(),this.isReady=!0)},saveAndExit:function(){this.isReady=!1;var t=this.$refs.iframe.contentWindow||this.$refs.iframe.contentDocument;t.postMessage("SAVEANDCLOSE","*")},onMessageReceived:function(t){if(0===t.data.indexOf("LOADED"))this.isSuccess=!0,console.log("RECEIVED LOADED (in app)");else if(0===t.data.indexOf("PLAYER_LOADED"))this.sentState(),console.log("RECEIVED PLAYER LOADED (in app)");else if(0===t.data.indexOf("GET_STATE_SCORE;|")){var e=t.data.split(";|");this.saveStateScore(e[1],JSON.parse(e[2])),console.log("RECEIVED STATE AND SCORE (in app)")}else if(0===t.data.indexOf("RESIZE:")){var s=t.data.split("RESIZE:"),a=s[1].split(";")[0],n=s[1].split(";")[1];this.fillResize(parseFloat(a),parseFloat(n))}}},beforeMount:function(){this.scormCode?this.getState():this.$router.push("/")},mounted:function(){window.addEventListener("resize",this.onResize),window.addEventListener("message",this.onMessageReceived,!1)},beforeDestroy:function(){window.removeEventListener("resize",this.onResize),window.removeEventListener("message",this.onMessageReceived)}},Pa=La,Ia=(s("648a"),Object(F["a"])(Pa,Oa,Ra,!1,null,"1be4e944",null)),Ea=Ia.exports,Ba=function(){var t=this,e=this,s=e.$createElement,a=e._self._c||s;return a("div",[a("HeaderCustom"),a("div",{staticClass:"container"},[e._m(0),e.parent?[e._m(1),a("div",{staticClass:"row"},e._l(e.resources.filter((function(e){return e.package_parent_id===t.$route.params.id})),(function(t,s){return a("div",{key:s,staticClass:"col-md-4 mt-3"},[a("div",{staticClass:"row",class:e.$style.customCard,attrs:{title:t.package_name},on:{click:function(s){return e.setChild(t.package_id)}}},[a("div",{staticClass:"col-md-6 justify-content-center align-self-center"},[a("img",{class:e.$style.coverImg,staticStyle:{width:"100px"},attrs:{src:t.package_image?t.package_image:"../../../static/img/no-cover.png"}})]),a("div",{staticClass:"col-md-6 justify-content-center align-self-center"},[a("h1",{class:e.$style.contentTitle},[e._v(e._s(t.package_name))])])])])})),0)]:e.parent?e._e():[a("div",{staticClass:"row"},[a("button",{staticClass:"mt-5 ml-4 btn",staticStyle:{"background-color":"white",color:"#6f2b8f","box-shadow":"0 4px 8px 0 rgba(0, 0, 0, 0.1) !important"},attrs:{type:"button"},on:{click:function(t){e.parent=!0}}},[a("i",{staticClass:"fa-2x fas fa-arrow-alt-circle-left"})])]),a("div",{staticClass:"row"},e._l(e.childData,(function(t,s){return a("div",{key:s,staticClass:"col-md-4 mt-3"},[a("div",{staticClass:"row",class:e.$style.customCard,attrs:{title:t.link_name},on:{click:function(s){return e.openLink(t)}}},[a("div",{staticClass:"col-md-6 justify-content-center align-self-center"},[a("img",{class:e.$style.coverImg,staticStyle:{width:"100px"},attrs:{src:t.thumbnail_url?t.thumbnail_url:"../../../static/img/no-cover.png"}})]),a("div",{staticClass:"col-md-6 justify-content-center align-self-center"},[a("h1",{class:e.$style.contentTitle},[e._v(e._s(t.link_name))])])])])})),0)]],2)],1)},Ma=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"row mt-5"},[s("div",{staticClass:"col-3 mt-5"})])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"row"},[s("button",{staticClass:"mt-5 ml-4 btn",staticStyle:{"background-color":"#ededee",color:"#ededee"},attrs:{type:"button"}},[t._v("s")])])}],Na={name:"teacherResources",data:function(){return{resources:[],childData:[],parent:!0}},components:{HeaderCustom:Z},computed:{},beforeMount:function(){this.getPackages()},watch:{},methods:{getPackages:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.$route.params.id||t.$router.go(-1),e.next=3,$.getLink();case 3:s=e.sent,t.resources=s.data.data.filter((function(t){return"link"===t.package_type}));case 5:case"end":return e.stop()}}),e)})))()},openLink:function(t){window.open(t.link_url,"_blank")},setChild:function(t){var e=this.resources.find((function(e){return e.package_id===t}));this.childData=e.package_links,this.parent=!1}}},Ha=Na,za=s("b565");function Fa(t){this["$style"]=za["default"].locals||za["default"]}var qa=Object(F["a"])(Ha,Ba,Ma,!1,Fa,null,null),Ua=qa.exports,Ya=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("HeaderCustom"),s("div",{staticClass:"container",class:t.$style.myContentsDiv},[s("div",{staticClass:"row"},[t.categories.length>0?s("div",{staticClass:"col-md-4"},[s("div",{class:t.$style.divDdl},[s("select",{directives:[{name:"model",rawName:"v-model",value:t.selectedCategory,expression:"selectedCategory"}],staticClass:"form-control",class:t.$style.combobox,domProps:{innerHTML:t._s(t.categoriesOptString)},on:{change:function(e){var s=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.selectedCategory=e.target.multiple?s:s[0]}}})])]):t._e(),t.themes.length>0?s("div",{staticClass:"col-md-4"},[s("div",{class:t.$style.divDdl},[s("select",{directives:[{name:"model",rawName:"v-model",value:t.selectedTheme,expression:"selectedTheme"}],staticClass:"form-control",class:t.$style.combobox,domProps:{innerHTML:t._s(t.themesOptString)},on:{change:function(e){var s=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.selectedTheme=e.target.multiple?s:s[0]}}})])]):t._e(),t.categories.length>0&&t.themes.length>0?s("div",{staticClass:"col-md-4"},[s("div",{class:t.$style.divDdl},[s("Search",{class:t.$style.divSearch})],1)]):s("div",{staticClass:"col-md-4 offset-md-4"},[s("Search")],1)]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-3"},[s("button",{staticClass:"btn mt-3",staticStyle:{"background-color":"#6f2b8f",color:"white"},on:{click:function(e){return t.goBack()}}},[s("i",{staticClass:"fas fa-arrow-circle-left"}),t._v(" Back")])]),s("div",{staticClass:"col-md-6"},[s("h1",{staticClass:"title menuTitle",class:t.$style.menuTitle,staticStyle:{"font-weight":"normal"}},[t._v(t._s(t.title))])]),s("div",{staticClass:"col-md-3"})]),s("hr"),t.ready?t.scormData.length>0?s("div",{staticClass:"row",class:t.$style.columns},[t._l(this.scormData,(function(e,a){return s("div",{key:a,staticClass:"col-lg-3 col-md-4 col-sm-6 col-xs-12",class:t.$style.column},[s("Card",{attrs:{coverImageHeight:t.coverImgHeight,contentType:"scorm",id:e.id,scormTitle:e.name,imgpath:e.big_image?e.big_image:e.image,scormCode:e.scorm_code,scormDesc:e.scorm_details1,isHistory:e.isHistory,packageId:parseInt(t.$route.params.id,10)}})],1)})),s("div",{staticClass:"col-md-12"},[this.pagination&&this.scormData.length>0?s("lmsPagination",{attrs:{data:this.pagination},on:{goToPage:t.goToPage}}):t._e()],1)],2):s("div",[s("p",{class:t.$style.noContent},[t._v("There is no content here.")])]):s("div",[s("InnerLoading")],1)])],1)},Ga=[],Va=(s("498a"),{name:"lessons",data:function(){return{scormData:[],linkData:[],title:"",pagination:null,ready:!1,themes:[],categories:[],themesOptString:"",categoriesOptString:"",selectedTheme:0,selectedCategory:0,searchText:"",coverImgHeight:null,searchData:null,routerCollectionId:0,historyScorms:[]}},components:{HeaderCustom:Z,Card:vt,Search:ue,InnerLoading:Wt,lmsPagination:ze},computed:Object(c["a"])({},Object(l["e"])(["scorms"])),beforeMount:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){var s,a,n,i,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.routerCollectionId=t.$route.params.collectionId,s=parseInt(t.$route.params.id,10),46===s&&(t.coverImgHeight="240px"),t.title=t.$store.state.collections.data.find((function(t){return t.id===s})).name,t.setData(),e.next=7,$.getHistoryScorms();case 7:a=e.sent,t.historyScorms=a.scorm_ids,n=Object(g["a"])(t.scormData);try{for(n.s();!(i=n.n()).done;)r=i.value,t.inArray(r.id,t.historyScorms)?r.isHistory=!0:r.isHistory=!1}catch(o){n.e(o)}finally{n.f()}case 11:case"end":return e.stop()}}),e)})))()},methods:Object(c["a"])(Object(c["a"])({},Object(l["b"])(["getPackages"])),{},{search:function(t){t?(this.searchText=t.toLocaleLowerCase("tr-TR").trim(),this.setPackages()):(this.searchText="",this.setPackages())},setData:function(){var t=this.$route.query;t.page?this.getData(t.page):this.goToPage(1)},setPackages:function(){var t=this;parseInt(this.$route.params.id,10);this.scormData=this.searchData.filter((function(e){return!t.searchText||e.name.toLocaleLowerCase("tr-TR").includes(t.searchText)})).filter((function(e){return 0===Number(t.selectedTheme)||null!==e.scorm_theme&&e.scorm_theme.id===Number(t.selectedTheme)})).filter((function(e){return 0===Number(t.selectedCategory)||null!==e.scorm_category&&e.scorm_category.id===Number(t.selectedCategory)})),this.fillDropdowns()},fillDropdowns:function(){var t=this;this.themes=D.a.uniqBy(this.scormData,"scorm_theme.name").filter((function(t){return t.scorm_theme&&null!==t.scorm_theme.id})).map((function(t){return t.scorm_theme})),this.themesOptString="",this.themesOptString+='',D.a.orderBy(this.themes,"name").forEach((function(e){var s="");t.themesOptString+=s})),this.categories=D.a.uniqBy(this.scormData,"scorm_category.name").filter((function(t){return t.scorm_category&&null!==t.scorm_category.id})).map((function(t){return t.scorm_category})),this.categoriesOptString="",this.categoriesOptString+='',D.a.orderBy(this.categories,"name").forEach((function(e){var s="");t.categoriesOptString+=s}))},inArray:function(t,e){for(var s=e.length,a=0;a0?s("div",{staticClass:"col-md-4"},[s("div",{class:t.$style.divDdl},[s("select",{directives:[{name:"model",rawName:"v-model",value:t.selectedCategory,expression:"selectedCategory"}],staticClass:"form-control",class:t.$style.combobox,domProps:{innerHTML:t._s(t.categoriesOptString)},on:{change:function(e){var s=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.selectedCategory=e.target.multiple?s:s[0]}}})])]):t._e(),t.themes.length>0?s("div",{staticClass:"col-md-4"},[s("div",{class:t.$style.divDdl},[s("select",{directives:[{name:"model",rawName:"v-model",value:t.selectedTheme,expression:"selectedTheme"}],staticClass:"form-control",class:t.$style.combobox,domProps:{innerHTML:t._s(t.themesOptString)},on:{change:function(e){var s=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.selectedTheme=e.target.multiple?s:s[0]}}})])]):t._e(),t.categories.length>0&&t.themes.length>0?s("div",{staticClass:"col-md-4"},[s("div",{class:t.$style.divDdl},[s("Search",{class:t.$style.divSearch})],1)]):s("div",{staticClass:"col-md-4 offset-md-4"},[s("Search")],1)]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-12"},[s("h1",{staticClass:"title menuTitle",class:t.$style.menuTitle,staticStyle:{"font-weight":"normal"}},[t._v(t._s(t.title))]),s("hr")])]),t.ready?t.scormData.length>0?s("div",{staticClass:"row",class:t.$style.columns},[t._l(this.scormData,(function(e,a){return s("div",{key:a,staticClass:"col-lg-2 col-md-3 col-sm-6 col-xs-12",class:t.$style.column},[s("Card",{attrs:{coverImageHeight:t.coverImgHeight,contentType:"scorm",id:e.id,scormTitle:e.name,imgpath:e.big_image?e.big_image:e.image,scormCode:e.scorm_code,scormDesc:e.scorm_details1,packageId:e.collection}})],1)})),s("div",{staticClass:"col-md-12"},[this.pagination&&this.scormData.length>0?s("lmsPagination",{attrs:{data:this.pagination},on:{goToPage:t.goToPage}}):t._e()],1)],2):s("div",[s("p",{class:t.$style.noContent},[t._v("There is no content here.")])]):s("div",[s("InnerLoading")],1)])],1)},tn=[],en={name:"Library",data:function(){return{scormData:[],linkData:[],title:"",pagination:null,ready:!1,themes:[],categories:[],themesOptString:"",categoriesOptString:"",selectedTheme:0,selectedCategory:0,searchText:"",coverImgHeight:null,searchData:null}},components:{HeaderCustom:Z,Card:ae,Search:ue,InnerLoading:Wt,lmsPagination:ze},computed:Object(c["a"])({},Object(l["e"])(["scorms"])),beforeMount:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.title="myEDULIBRARY",t.setData();case 2:case"end":return e.stop()}}),e)})))()},methods:Object(c["a"])(Object(c["a"])({},Object(l["b"])(["getPackages"])),{},{search:function(t){t?(this.searchText=t.toLocaleLowerCase("tr-TR").trim(),this.setPackages()):(this.searchText="",this.setPackages())},setData:function(){this.getData(1)},setPackages:function(){var t=this;parseInt(this.$route.params.id,10);this.scormData=this.searchData.filter((function(e){return!t.searchText||e.name.toLocaleLowerCase("tr-TR").includes(t.searchText)})).filter((function(e){return 0===Number(t.selectedTheme)||null!==e.scorm_theme&&e.scorm_theme.id===Number(t.selectedTheme)})).filter((function(e){return 0===Number(t.selectedCategory)||null!==e.scorm_category&&e.scorm_category.id===Number(t.selectedCategory)})),this.fillDropdowns()},fillDropdowns:function(){var t=this;this.themes=D.a.uniqBy(this.scormData,"scorm_theme.name").filter((function(t){return t.scorm_theme&&null!==t.scorm_theme.id})).map((function(t){return t.scorm_theme})),this.themesOptString="",this.themesOptString+='',D.a.orderBy(this.themes,"name").forEach((function(e){var s="");t.themesOptString+=s})),this.categories=D.a.uniqBy(this.scormData,"scorm_category.name").filter((function(t){return t.scorm_category&&null!==t.scorm_category.id})).map((function(t){return t.scorm_category})),this.categoriesOptString="",this.categoriesOptString+='',D.a.orderBy(this.categories,"name").forEach((function(e){var s="");t.categoriesOptString+=s}))},goToPage:function(t){return null},getData:function(t){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function s(){var a;return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:return e.ready=!1,parseInt(e.$route.params.id,10),s.next=4,$.getScorms(0,t,"reader");case 4:a=s.sent,e.pagination=a.pagination,e.searchData=a.data,e.scormData=a.data,e.fillDropdowns(),setTimeout((function(){e.ready=!0}),1e3);case 10:case"end":return s.stop()}}),s)})))()}}),watch:{selectedTheme:function(){this.setPackages()},selectedCategory:function(){this.setPackages()},$route:function(){this.setData()}}},sn=en,an=s("3d64");function nn(t){this["$style"]=an["default"].locals||an["default"]}var rn=Object(F["a"])(sn,Xa,tn,!1,nn,null,null),on=rn.exports;a["a"].use(n["a"]);var cn=new n["a"]({routes:[{path:"/",name:"login",component:Le},{path:"/home",name:"home",component:ke},{path:"/assignments",name:"studentAssignments",component:Ve,beforeEnter:function(t,e,s){"teacher"===E.state.roleType&&s({name:"teacherAssignments"}),s()}},{path:"/assignments",name:"teacherAssignments",component:bs},{path:"/teacherResources",name:"teachersResources",component:Ua},{path:"/mycontents",name:"mycontents",component:ve},{path:"/mycontents/:id",name:"lessons",component:Aa},{path:"/collections/:id?/:searchList?",name:"collections",component:ve},{path:"/scorms/:id",name:"scorms",component:Qa},{path:"/library/:id?",name:"library",component:on},{path:"/scorm/:id/:packageType?/:packageId?/:scormCode/:scormTitle/:scormDesc?",name:"scorm",component:Ea,props:!0},{path:"/assignment/details/:id/:community/:userId?",name:"assignmentDetails",component:$s},{path:"/assignment/create",name:"assignmentCreate",component:pa},{path:"/assignment/report",name:"assignmentRepor",component:wa}]}),ln=cn;cn.afterEach((function(t){"login"!==t.name&&(f.cookie.get("access_token")||cn.push({name:"login"})),"login"===t.name&&f.cookie.get("access_token")&&cn.push({path:"/"})}));var dn=s("4a7a"),un=s.n(dn),mn=s("d3c8"),_n=s.n(mn),pn=s("859b"),gn=(s("d355"),function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{attrs:{id:"app"}},[s("router-view")],1)])}),hn=[];s("a7c1");var vn={name:"app"},fn=vn,yn=Object(F["a"])(fn,gn,hn,!1,null,null,null),bn=yn.exports;a["a"].config.productionTip=!1,a["a"].use(n["a"]),a["a"].use(ps["a"],{name:"VueCustomTooltip",color:"#fff",background:"#000",borderRadius:12,fontWeight:400}),a["a"].component("v-select",un.a),a["a"].component("v-jstree",_n.a),a["a"].component("datetime",pn["Datetime"]),s("ab8b"),s("3e48");var Cn="localhost"===window.location.hostname;Cn&&(window["ga-diasble-UA-127427549-9"]=!0),a["a"].config.productionTip=!1,new a["a"]({render:function(t){return t(bn)},router:ln,store:E}).$mount("#app")},6:function(t,e){},"613c":function(t,e,s){},"648a":function(t,e,s){"use strict";s("4775")},"668b":function(t,e,s){t.exports={menuTitle:"style_menuTitle_1WJQH","nav-link":"style_nav-link_20Rma",active:"style_active_2VkPD","nav-tabs":"style_nav-tabs_i2Qib","nav-item":"style_nav-item_YKDqP","v-select":"style_v-select_2pJwB","dropdown-menu":"style_dropdown-menu_oVKxr","selected-tag":"style_selected-tag_3Ma9d",highlight:"style_highlight_DlL3q","vdatetime-calendar__month__day--selected":"style_vdatetime-calendar__month__day--selected_108Bx","vdatetime-popup__actions__button":"style_vdatetime-popup__actions__button_2JLmu","vdatetime-popup__header":"style_vdatetime-popup__header_1rYLQ","swal-button--confirm":"style_swal-button--confirm_6KIye",divCreateAssignment:"style_divCreateAssignment_hGuaU",divTitle:"style_divTitle_2oKwh",divBtn:"style_divBtn_1vrSp",nextBtn:"style_nextBtn_2OMk0",backBtn:"style_backBtn_2V8zO",btnCreate:"style_btnCreate_33kTv",icon:"style_icon_zN8ko",customStep:"style_customStep_3gXh7",divSteps:"style_divSteps_14wxw",divRequiredFieldsAlert:"style_divRequiredFieldsAlert_1-lyh",fadeIn:"style_fadeIn_X5eIT",divSuccessAlert:"style_divSuccessAlert_UOtvg"}},"6b2b":function(t,e,s){"use strict";var a=s("d117"),n=s.n(a);s.d(e,"default",(function(){return n.a}))},"6f7c":function(t,e,s){"use strict";s("a1fc")},7:function(t,e){},"710f":function(t,e,s){"use strict";var a=s("3205"),n=s.n(a);s.d(e,"default",(function(){return n.a}))},7148:function(t,e,s){"use strict";s("37a9")},"71f8":function(t,e,s){t.exports={menuTitle:"style_menuTitle_3J29s","nav-link":"style_nav-link_Y7d8r",active:"style_active_noKys","nav-tabs":"style_nav-tabs_IsqH_","nav-item":"style_nav-item_k3r3_","v-select":"style_v-select_362i4","dropdown-menu":"style_dropdown-menu_2RmTS","selected-tag":"style_selected-tag_1tFXu",highlight:"style_highlight_oeP4t","vdatetime-calendar__month__day--selected":"style_vdatetime-calendar__month__day--selected_3GAUv","vdatetime-popup__actions__button":"style_vdatetime-popup__actions__button_JuCOF","vdatetime-popup__header":"style_vdatetime-popup__header_1RqsX","swal-button--confirm":"style_swal-button--confirm_XJqNB",columns:"style_columns_vpR8c",myContentsDiv:"style_myContentsDiv_1n7PE",column:"style_column_qhE98",noContent:"style_noContent_2nJiX",editInput:"style_editInput_K_KNi",btnDetails:"style_btnDetails_2cIh2",customThead:"style_customThead_3AxwJ",customTable:"style_customTable_y3laH",customSubmitCount:"style_customSubmitCount_1T7ns","modal-dialog":"style_modal-dialog_3opg0",createAssignmentBtn:"style_createAssignmentBtn_1wqHq",otherButtons:"style_otherButtons_2FcjY",divPagination:"style_divPagination_RxjyK",btnPage:"style_btnPage_a4LGO",coverImg:"style_coverImg_1CzC2",contentTitle:"style_contentTitle_1pAQ_",contentSubTitle:"style_contentSubTitle_1H7Sm",customLink:"style_customLink_gRzpz",divMaterial:"style_divMaterial_1WBUq",contentDesc:"style_contentDesc_qGEub",divDueDate:"style_divDueDate_kb0Kv",txtDueDate:"style_txtDueDate_1GNYX",customBadge:"style_customBadge_1CSP6",customCard:"style_customCard_1dtXq"}},"72e2":function(t,e,s){t.exports={menuTitle:"style_menuTitle_rgh1D","nav-link":"style_nav-link_3LuS-",active:"style_active_23x_O","nav-tabs":"style_nav-tabs_6xSrd","nav-item":"style_nav-item_1jnzP","v-select":"style_v-select_32iWE","dropdown-menu":"style_dropdown-menu_25vDM","selected-tag":"style_selected-tag_JROyx",highlight:"style_highlight_2oqCr","vdatetime-calendar__month__day--selected":"style_vdatetime-calendar__month__day--selected_15sls","vdatetime-popup__actions__button":"style_vdatetime-popup__actions__button_3WG-r","vdatetime-popup__header":"style_vdatetime-popup__header_AEbpU","swal-button--confirm":"style_swal-button--confirm_jfHoE",divPlatform:"style_divPlatform_2Y98v",divPlatformBtn:"style_divPlatformBtn_1-CVS",divPlatformBtnPersonalBest:"style_divPlatformBtnPersonalBest_BBsxy",divPlatformBtnSterling:"style_divPlatformBtnSterling_1wjQD",divPlatformBtnModal:"style_divPlatformBtnModal_KD6tv",title:"style_title_WNYoe",divPlatformBtnHexagonia:"style_divPlatformBtnHexagonia_kf32Q",divPlatformBtnPdf:"style_divPlatformBtnPdf_2_3_r",divPlatformBtnMyEduCams:"style_divPlatformBtnMyEduCams_3Djds",divPlatformBtnAssessment:"style_divPlatformBtnAssessment_2U8G2",divPlatformBtnVlp:"style_divPlatformBtnVlp_a8MgV",divPlatformBtnReports:"style_divPlatformBtnReports_3SZga",divPlatformBtnKidzwonder:"style_divPlatformBtnKidzwonder_3ZHhE",divPlatformBtnUesAssessment:"style_divPlatformBtnUesAssessment_2u_zJ",divPlatformBtnKarnevall:"style_divPlatformBtnKarnevall_3De7Y",divPlatformBtnGoogle:"style_divPlatformBtnGoogle_1oWMe",divPlatformBtnAgk:"style_divPlatformBtnAgk_1eTgG",divPlatformBtnTeachersResources:"style_divPlatformBtnTeachersResources_3nNDZ",divPlatformTeacherContents:"style_divPlatformTeacherContents_3RBPt",divPlatformBtnRLP:"style_divPlatformBtnRLP_AQIJL",divPlatformBtnRLPYoutube:"style_divPlatformBtnRLPYoutube_1wwP8",txtPlatform:"style_txtPlatform_pL5E9",disableLink:"style_disableLink_3P2TX",divPlatformBtnDisable:"style_divPlatformBtnDisable_Yu6_8"}},"7df7":function(t,e,s){"use strict";var a=s("e809"),n=s.n(a);s.d(e,"default",(function(){return n.a}))},8:function(t,e){},8237:function(t,e,s){},"83f0":function(t,e,s){t.exports={menuTitle:"style_menuTitle_3qwzD","nav-link":"style_nav-link_m1fNm",active:"style_active_3Y70g","nav-tabs":"style_nav-tabs_2MbQ5","nav-item":"style_nav-item_3_FrD","v-select":"style_v-select_14XZz","dropdown-menu":"style_dropdown-menu_1Tfcz","selected-tag":"style_selected-tag_12uzX",highlight:"style_highlight_11CHS","vdatetime-calendar__month__day--selected":"style_vdatetime-calendar__month__day--selected_3oP1Y","vdatetime-popup__actions__button":"style_vdatetime-popup__actions__button_3KJkg","vdatetime-popup__header":"style_vdatetime-popup__header_UtrDF","swal-button--confirm":"style_swal-button--confirm_221jX",coverImg:"style_coverImg_11wd6",contentTitle:"style_contentTitle_3cgqH",customCard:"style_customCard_18i-l",divExplain:"style_divExplain_39OSi",customCode:"style_customCode_3T-Yi",customBreadCrumb:"style_customBreadCrumb_38svJ","modal-dialog":"style_modal-dialog_2h6Un","modal-body":"style_modal-body_PZkNd",close:"style_close_2DOcK","modal-content":"style_modal-content_38uTA"}},"85a8":function(t,e,s){t.exports={menuTitle:"style_menuTitle_1sSvH","nav-link":"style_nav-link_jhh4A",active:"style_active_1n-1U","nav-tabs":"style_nav-tabs_1YoF3","nav-item":"style_nav-item_3BYiA","v-select":"style_v-select_au7fU","dropdown-menu":"style_dropdown-menu_2sfM6","selected-tag":"style_selected-tag_YLe8o",highlight:"style_highlight_1VYqA","vdatetime-calendar__month__day--selected":"style_vdatetime-calendar__month__day--selected_3UC5i","vdatetime-popup__actions__button":"style_vdatetime-popup__actions__button_2nJCR","vdatetime-popup__header":"style_vdatetime-popup__header_3XrDd","swal-button--confirm":"style_swal-button--confirm_pN__D",columns:"style_columns_2ZSTM",myContentsDiv:"style_myContentsDiv_1WB3y",column:"style_column_2RWqB",noContent:"style_noContent_3OeOA",btnDetails:"style_btnDetails_l2eBA",customThead:"style_customThead_1T2Vo",customTable:"style_customTable_2002y",customSubmitCount:"style_customSubmitCount_JR5Gk",createAssignmentBtn:"style_createAssignmentBtn_2l32A",otherButtons:"style_otherButtons_3bVJ0",divPagination:"style_divPagination_SWiTx",btnPage:"style_btnPage_v2mmr",coverImg:"style_coverImg_qX_ZQ",contentTitle:"style_contentTitle_2WBN1",contentSubTitle:"style_contentSubTitle_2ddmM",customLink:"style_customLink_1KlsA",divMaterial:"style_divMaterial_3SCum",contentDesc:"style_contentDesc_2_N4K",divDueDate:"style_divDueDate_2poFE",txtDueDate:"style_txtDueDate_r2Ajk",customBadge:"style_customBadge_1Oc7A",customCard:"style_customCard_1yzOd"}},"8a85":function(t,e,s){"use strict";s("0884")},9:function(t,e){},9742:function(t,e,s){t.exports={customRow:"style_customRow_2OR4z",customLabel:"style_customLabel_A5Jc8",customTextarea:"style_customTextarea_1I4ZL",column:"style_column_2b4Oe",lessonDiv:"style_lessonDiv_16XIE",divSelectedLessons:"style_divSelectedLessons_33ME7",lessonImg:"style_lessonImg_2sCvJ",lessonTitle:"style_lessonTitle__-dZ2",dropDiv:"style_dropDiv_1zB-J",divSecondStep:"style_divSecondStep_4lQBU",divCollectionsHome:"style_divCollectionsHome_TYhaL",customAlert:"style_customAlert_OUlTF","style-chooser":"style_style-chooser_3wJri",vs__search:"style_vs__search_3YTar","vs__dropdown-toggle":"style_vs__dropdown-toggle_123ox","vs__dropdown-menu":"style_vs__dropdown-menu_Gd59H",vs__clear:"style_vs__clear_1LjZb","vs__open-indicator":"style_vs__open-indicator_1-yui"}},"98b9":function(t,e,s){t.exports={menuTitle:"style_menuTitle_3BrIe","nav-link":"style_nav-link_P7BZO",active:"style_active_vqgUn","nav-tabs":"style_nav-tabs_1JVcS","nav-item":"style_nav-item_3xtFz","v-select":"style_v-select_2P6-W","dropdown-menu":"style_dropdown-menu_3GyIG","selected-tag":"style_selected-tag_2p7nB",highlight:"style_highlight_2r76F","vdatetime-calendar__month__day--selected":"style_vdatetime-calendar__month__day--selected_38gnn","vdatetime-popup__actions__button":"style_vdatetime-popup__actions__button_3NJZW","vdatetime-popup__header":"style_vdatetime-popup__header_3wfmP","swal-button--confirm":"style_swal-button--confirm_3IZ_b",divReport:"style_divReport_12QGw",title:"style_title_2w_YU",btnReport:"style_btnReport_2ZW4i",customTable:"style_customTable_1_x5j"}},a076:function(t,e,s){t.exports={menuTitle:"style_menuTitle_1OYA4","nav-link":"style_nav-link_1_BUx",active:"style_active_2Bop3","nav-tabs":"style_nav-tabs_3duAo","nav-item":"style_nav-item_39z89","v-select":"style_v-select_lqUQO","dropdown-menu":"style_dropdown-menu_3sYmJ","selected-tag":"style_selected-tag_2xnly",highlight:"style_highlight_3Nejb","vdatetime-calendar__month__day--selected":"style_vdatetime-calendar__month__day--selected_2s1FW","vdatetime-popup__actions__button":"style_vdatetime-popup__actions__button_tzZZq","vdatetime-popup__header":"style_vdatetime-popup__header_PLPIQ","swal-button--confirm":"style_swal-button--confirm_362Ef",divCard:"style_divCard_3BjKY",customCard:"style_customCard_3dlmI",coverImg:"style_coverImg_-cv8_",contentTitle:"style_contentTitle_bz-gS",topCard:"style_topCard_wWH5R",bottomCard:"style_bottomCard_1LDGy",customBadge:"style_customBadge_omnLG",customBadgeFirst:"style_customBadgeFirst_3njb8",divState:"style_divState_35266",btnPreview:"style_btnPreview_eeYgQ",heartbeat:"style_heartbeat_2Tfxz"}},a1fc:function(t,e,s){},a7c1:function(t,e,s){},af63:function(t,e,s){"use strict";var a=s("1461"),n=s.n(a);s.d(e,"default",(function(){return n.a}))},b565:function(t,e,s){"use strict";var a=s("83f0"),n=s.n(a);s.d(e,"default",(function(){return n.a}))},baa6:function(t,e,s){"use strict";var a=s("13fb"),n=s.n(a);s.d(e,"default",(function(){return n.a}))},c099:function(t,e,s){"use strict";var a=s("3e70"),n=s.n(a);s.d(e,"default",(function(){return n.a}))},c0e3:function(t,e,s){},c32f:function(t,e,s){"use strict";var a=s("c58b"),n=s.n(a);s.d(e,"default",(function(){return n.a}))},c356:function(t,e,s){"use strict";var a=s("3f57"),n=s.n(a);s.d(e,"default",(function(){return n.a}))},c58b:function(t,e,s){t.exports={customRow:"style_customRow_36IKA"}},c65c:function(t,e,s){"use strict";s("8237")},c7c8:function(t,e,s){"use strict";var a=s("71f8"),n=s.n(a);s.d(e,"default",(function(){return n.a}))},c877:function(t,e,s){"use strict";s("fde2")},c925:function(t,e,s){},cc8a:function(t,e,s){"use strict";var a=s("ed00"),n=s.n(a);s.d(e,"default",(function(){return n.a}))},cf46:function(t,e,s){"use strict";var a=s("47d2"),n=s.n(a);s.d(e,"default",(function(){return n.a}))},d117:function(t,e,s){t.exports={menuTitle:"style_menuTitle_1mppX","nav-link":"style_nav-link_2Cd66",active:"style_active_DoNqU","nav-tabs":"style_nav-tabs_1qF0Z","nav-item":"style_nav-item_vct43","v-select":"style_v-select_3tuvj","dropdown-menu":"style_dropdown-menu_v_sJh","selected-tag":"style_selected-tag_3FFnT",highlight:"style_highlight_rAhV9","vdatetime-calendar__month__day--selected":"style_vdatetime-calendar__month__day--selected_3OLBq","vdatetime-popup__actions__button":"style_vdatetime-popup__actions__button_3eRQb","vdatetime-popup__header":"style_vdatetime-popup__header_3vlmv","swal-button--confirm":"style_swal-button--confirm_W1s9L",columns:"style_columns_HBCNU",myContentsDiv:"style_myContentsDiv_MegEW",column:"style_column_1fdah",searchIcon:"style_searchIcon_2bcW6",txtSearch:"style_txtSearch_2GenR",noContent:"style_noContent_1UIgJ",divDdl:"style_divDdl_3EBZX",combobox:"style_combobox_A5J0Y",divSearch:"style_divSearch_1MmUB"}},d2a9:function(t,e,s){t.exports={menuTitle:"style_menuTitle_9FAdK","nav-link":"style_nav-link_j_DW0",active:"style_active_1c9Wm","nav-tabs":"style_nav-tabs_1VSxr","nav-item":"style_nav-item_2bccv","v-select":"style_v-select_1bGO5","dropdown-menu":"style_dropdown-menu_2BM41","selected-tag":"style_selected-tag_3SqIS",highlight:"style_highlight_2N9JU","vdatetime-calendar__month__day--selected":"style_vdatetime-calendar__month__day--selected_m0Srd","vdatetime-popup__actions__button":"style_vdatetime-popup__actions__button_aNtsb","vdatetime-popup__header":"style_vdatetime-popup__header_3fhNa","swal-button--confirm":"style_swal-button--confirm_2fXwO",loginform:"style_loginform_3CV2u",divHelpDesk:"style_divHelpDesk_3TeQz",inputs:"style_inputs_3oIeo",loginButton:"style_loginButton_2ZA2z",logo:"style_logo_1Zvyb",icon:"style_icon_MFpr3",inputText:"style_inputText_59TZd",error:"style_error_1wAjt",divLogin:"style_divLogin_-ZDVb",ssoBtn:"style_ssoBtn_1WfV9"}},d346:function(t,e,s){},d7bf:function(t,e,s){"use strict";var a=s("a076"),n=s.n(a);s.d(e,"default",(function(){return n.a}))},d973:function(t,e,s){"use strict";var a=s("98b9"),n=s.n(a);s.d(e,"default",(function(){return n.a}))},dc32:function(t,e,s){"use strict";var a=s("668b"),n=s.n(a);s.d(e,"default",(function(){return n.a}))},dd5f:function(t,e,s){t.exports={menuTitle:"style_menuTitle_1DmCC","nav-link":"style_nav-link_fc7DI",active:"style_active_1-oCd","nav-tabs":"style_nav-tabs_XCjZm","nav-item":"style_nav-item_1ldQ5","v-select":"style_v-select_k_z3S","dropdown-menu":"style_dropdown-menu_2o9bH","selected-tag":"style_selected-tag__meGV",highlight:"style_highlight_78DpH","vdatetime-calendar__month__day--selected":"style_vdatetime-calendar__month__day--selected_3is1F","vdatetime-popup__actions__button":"style_vdatetime-popup__actions__button_2UsXn","vdatetime-popup__header":"style_vdatetime-popup__header_2n9NN","swal-button--confirm":"style_swal-button--confirm_foq-2",profile:"style_profile_3_epm",divProfile:"style_divProfile_Tenco",img:"style_img_xWQ4_",contentTitleDiv:"style_contentTitleDiv_3LB1_",contentTitle:"style_contentTitle_MI2zq",uploadButton:"style_uploadButton_L_At2",fileUpload:"style_fileUpload_2pFA_",customTag:"style_customTag_3YRA0",secondTag:"style_secondTag_1mBtr",secondTagGrade:"style_secondTagGrade_1Bd29"}},e345:function(t,e,s){"use strict";s("613c")},e809:function(t,e,s){t.exports={menuTitle:"style_menuTitle_3JmvT","nav-link":"style_nav-link_1WhDh",active:"style_active_3Gb_X","nav-tabs":"style_nav-tabs_1cGrQ","nav-item":"style_nav-item_2o8Vl","v-select":"style_v-select_3R1-n","dropdown-menu":"style_dropdown-menu_2hBxH","selected-tag":"style_selected-tag_36ZsU",highlight:"style_highlight_3z9QI","vdatetime-calendar__month__day--selected":"style_vdatetime-calendar__month__day--selected_23J5e","vdatetime-popup__actions__button":"style_vdatetime-popup__actions__button_2MZ74","vdatetime-popup__header":"style_vdatetime-popup__header_1Lq48","swal-button--confirm":"style_swal-button--confirm_2Kt_n",myContentsDiv:"style_myContentsDiv_1-egV",columns:"style_columns_sdY8A",noContent:"style_noContent_1bW-q",customCardHeader:"style_customCardHeader_1v8Bs",coverImg:"style_coverImg_2vqN_",contentTitle:"style_contentTitle_2Nsg5",customLink:"style_customLink_2-Y0A",divMaterial:"style_divMaterial_3lpW-",menuTitleHome:"style_menuTitleHome_2FoOH",title:"style_title_5I6T9",divCollectionsHome:"style_divCollectionsHome_3tuox",columnHome:"style_columnHome_q42rF",noContentHome:"style_noContentHome_DnrvB",divLoadingHome:"style_divLoadingHome_VemMt",divDdl:"style_divDdl_3-0MS",combobox:"style_combobox_DW4fU",divSearch:"style_divSearch_Aj7cO"}},ed00:function(t,e,s){t.exports={menuTitle:"style_menuTitle_1kGX6","nav-link":"style_nav-link_1PvR-",active:"style_active_lXiH_","nav-tabs":"style_nav-tabs_1c9zS","nav-item":"style_nav-item_35GE9","v-select":"style_v-select_36rdF","dropdown-menu":"style_dropdown-menu_3LYwY","selected-tag":"style_selected-tag_1ori7",highlight:"style_highlight_1s4F7","vdatetime-calendar__month__day--selected":"style_vdatetime-calendar__month__day--selected_3qttA","vdatetime-popup__actions__button":"style_vdatetime-popup__actions__button_a0JXT","vdatetime-popup__header":"style_vdatetime-popup__header_14vCt","swal-button--confirm":"style_swal-button--confirm_3ktyF",customContainer:"style_customContainer_1OmW8",customJumbotron:"style_customJumbotron_1hkJ8",btnDetails:"style_btnDetails_3_6IQ",customJumbotronViceVersa:"style_customJumbotronViceVersa_2Nj-t",divNames:"style_divNames_ggj-i",customTable:"style_customTable_B9E6Z",divGroupLessonIcon:"style_divGroupLessonIcon_2VT6n",heart:"style_heart_1Qybj",heartbeat:"style_heartbeat_1pZl6",lmsLoading:"style_lmsLoading_2wufo",lessonImg:"style_lessonImg_3mh7W",txtLessonName:"style_txtLessonName_32_VT",hrColumn:"style_hrColumn_3fKbR",dateColumn:"style_dateColumn_3a_MP"}},f121:function(t,e){t.exports={global_key:{tokenName:"access_token"},colors:{primaryColor:"#dd1414",secondaryColor:"#d42e12",backgroundColor:"whitesmoke"},apiKey:"SRDsCtLQU7LoZcrVEE6x9ajyl4V623tJb9htfM5UQh0Jwws6"}},f488:function(t,e,s){"use strict";var a=s("4a58"),n=s.n(a);s.d(e,"default",(function(){return n.a}))},f4fc:function(t,e,s){"use strict";var a=s("1867"),n=s.n(a);s.d(e,"default",(function(){return n.a}))},fba0:function(t,e,s){"use strict";var a=s("9742"),n=s.n(a);s.d(e,"default",(function(){return n.a}))},fde2:function(t,e,s){},ffef:function(t,e,s){"use strict";var a=s("c925"),n=s.n(a);s.d(e,"default",(function(){return n.a}))}}); //# sourceMappingURL=app.1ecefc51.js.map