1"use strict";(self.webpackChunkdynaminds=self.webpackChunkdynaminds||[]).push([[2452],{12452:(Le,w,d)=>{d.r(w),d.d(w,{MenteeAssessmentsModule:()=>ye});var r=d(36895),h=d(1791),_=d(99820),e=d(94650),v=d(7490),T=d(2493),M=d(27724),F=d(33826),g=d(29847),b=d(25056),y=d(36685),f=d(42680),R=d(15439),D=d(37865),P=d(97185),O=d(11481),u=d(84719),A=d(45626),x=d(3056),C=d(67734);const E=["multiSelectForTeacherFilter"],L=["pp"];function k(o,a){1&o&&(e.\u0275\u0275elementStart(0,"div",66)(1,"div",67)(2,"div",68)(3,"h3"),e.\u0275\u0275text(4," You have no enrolled assessments till now "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"button",69),e.\u0275\u0275text(6," Find Assessments "),e.\u0275\u0275elementEnd()()()())}function N(o,a){1&o&&(e.\u0275\u0275elementStart(0,"span"),e.\u0275\u0275element(1,"i",87),e.\u0275\u0275elementEnd())}function B(o,a){if(1&o){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div")(1,"div",20)(2,"div",77)(3,"h3"),e.\u0275\u0275template(4,N,2,0,"span",1),e.\u0275\u0275element(5,"img",78),e.\u0275\u0275elementStart(6,"span",79),e.\u0275\u0275text(7," Enrolled Assessments "),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(8,"div",80)(9,"div",20)(10,"div",81)(11,"div",82),e.\u0275\u0275element(12,"i",83),e.\u0275\u0275elementStart(13,"input",84),e.\u0275\u0275listener("keyup",function(n){e.\u0275\u0275restoreView(t);const i=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(i.onSearchShowData(n))}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(14,"div",81)(15,"button",85),e.\u0275\u0275text(16," Filter "),e.\u0275\u0275element(17,"i",86),e.\u0275\u0275elementEnd()()()()()()}if(2&o){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(4),e.\u0275\u0275property("ngIf",t.indicationOfBack)}}function U(o,a){1&o&&(e.\u0275\u0275elementStart(0,"span"),e.\u0275\u0275element(1,"i",87),e.\u0275\u0275elementEnd())}function q(o,a){if(1&o){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div")(1,"div",88)(2,"h3"),e.\u0275\u0275template(3,U,2,0,"span",1),e.\u0275\u0275element(4,"img",78),e.\u0275\u0275text(5," Enrolled Assessments "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"div",10)(7,"div",82),e.\u0275\u0275element(8,"i",83),e.\u0275\u0275elementStart(9,"input",89),e.\u0275\u0275listener("keyup",function(n){e.\u0275\u0275restoreView(t);const i=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(i.onSearchShowData(n))}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(10,"div",90)(11,"button",91),e.\u0275\u0275text(12," Filter "),e.\u0275\u0275element(13,"i",86),e.\u0275\u0275elementEnd()()()()}if(2&o){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",t.indicationOfBack)}}function Y(o,a){if(1&o){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"span",107)(1,"img",108),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext().$implicit,i=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(i.scheduleModel(n))}),e.\u0275\u0275elementEnd()()}}function z(o,a){if(1&o&&(e.\u0275\u0275elementStart(0,"span"),e.\u0275\u0275template(1,Y,2,0,"span",106),e.\u0275\u0275elementEnd()),2&o){const t=a.$implicit;e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",""==t.scheduledOn)}}function W(o,a){if(1&o){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"span",109)(1,"img",110),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext().$implicit,i=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(i.takeAssessment(n))}),e.\u0275\u0275elementEnd()()}if(2&o){const t=a.$implicit,s=e.\u0275\u0275nextContext(4);e.\u0275\u0275propertyInterpolate("title",s.assessementToolTipDisplay(t))}}function H(o,a){if(1&o){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"span",112)(1,"img",113),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext().$implicit,i=e.\u0275\u0275nextContext(4);
1return e.\u0275\u0275resetView(i.scheduleModel(n))}),e.\u0275\u0275elementEnd()()}}function V(o,a){if(1&o&&(e.\u0275\u0275elementStart(0,"span"),e.\u0275\u0275template(1,H,2,0,"span",111),e.\u0275\u0275elementEnd()),2&o){const t=a.$implicit;e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",""!=t.scheduledOn)}}function J(o,a){if(1&o&&(e.\u0275\u0275elementStart(0,"tr",97)(1,"td",98)(2,"span",99),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(4,"td",100)(5,"span",101),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(7,"td"),e.\u0275\u0275elementStart(8,"td")(9,"span",102),e.\u0275\u0275text(10),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(11,"td",103),e.\u0275\u0275template(12,z,2,1,"span",104),e.\u0275\u0275template(13,W,2,1,"span",105),e.\u0275\u0275template(14,V,2,1,"span",104),e.\u0275\u0275elementEnd()()),2&o){const t=a.$implicit,s=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(2),e.\u0275\u0275propertyInterpolate("title",null==(null==t?null:t.title)?"N/A":null==t?null:t.title),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",null==(null==t?null:t.title)?"N/A":null==t?null:t.title," "),e.\u0275\u0275advance(2),e.\u0275\u0275propertyInterpolate("title",null==(null==t?null:t.tagsValue)?"N/A":null==t?null:t.tagsValue),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",null==(null==t?null:t.tagsValue)?"N/A":null==t?null:t.tagsValue," "),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate1(" ",s.scheduledOn(t)," "),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngForOf",t.userAssessmentInfos.slice(0,s.index)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",t.userAssessmentInfos.slice(0,s.index)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",t.userAssessmentInfos.slice(0,s.index))}}function G(o,a){if(1&o&&(e.\u0275\u0275elementStart(0,"table",92)(1,"thead",93)(2,"tr")(3,"th",94),e.\u0275\u0275text(4,"Title"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"th",95),e.\u0275\u0275text(6,"Based On"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"th",94),e.\u0275\u0275text(8,"Difficulty Level"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"th",94),e.\u0275\u0275text(10,"Scheduled On"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(11,"th",94),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(12,"tbody"),e.\u0275\u0275template(13,J,15,8,"tr",96),e.\u0275\u0275elementEnd()()),2&o){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(13),e.\u0275\u0275property("ngForOf",t.purchasedAssessmentListData)}}function Q(o,a){1&o&&(e.\u0275\u0275elementStart(0,"div")(1,"div",114)(2,"div",68)(3,"h4",115),e.\u0275\u0275text(4,"No Records Found"),e.\u0275\u0275elementEnd()()()())}function j(o,a){if(1&o){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div"),e.\u0275\u0275template(1,B,18,1,"div",1),e.\u0275\u0275template(2,q,14,1,"div",1),e.\u0275\u0275elementStart(3,"div",70)(4,"div",71)(5,"div",72),e.\u0275\u0275template(6,G,14,1,"table",73),e.\u0275\u0275template(7,Q,5,0,"div",1),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(8,"br"),e.\u0275\u0275elementStart(9,"div",20)(10,"div",74)(11,"p-paginator",75,76),e.\u0275\u0275listener("onPageChange",function(n){e.\u0275\u0275restoreView(t);const i=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(i.paginate(n))}),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275element(13,"div"),e.\u0275\u0275elementEnd()()}if(2&o){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",t.enableResposiveNessOfScreen),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",!t.enableResposiveNessOfScreen),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngIf",(null==t.purchasedAssessmentListData?null:t.purchasedAssessmentListData.length)>0),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",0==(null==t.purchasedAssessmentListData?null:t.purchasedAssessmentListData.length)&&0==t.isLoading),e.\u0275\u0275advance(4),e.\u0275\u0275property("rows",t.numberOfRowsPerPage)("totalRecords",t.getTotalRecords())}}function K(o,a){if(1&o&&(e.\u0275\u0275elementStart(0,"div",100)(1,"span",135),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()),2&o){const t=a.$implicit;e.\u0275\u0275advance(1),e.\u0275\u0275propertyInterpolate("title",null===(null==t?null:t.tagName)?"N/A":null==t?null:t.tagName),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",null===(null==t?null:t.tagName)?"N/A":null==t?null:t.tagName," ")}}function X(o,a){if(1&o){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"span",143),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext().$implicit,i=e.\u0275\u0275nextContext(2);
1return e.\u0275\u0275resetView(i.addToCart(n))}),e.\u0275\u0275element(1,"img",144),e.\u0275\u0275text(2," Add to Cart "),e.\u0275\u0275elementEnd()}}function Z(o,a){if(1&o){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"span",143),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext().$implicit,i=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(i.purchaseFreeAssessment(n))}),e.\u0275\u0275element(1,"img",144),e.\u0275\u0275text(2," Enroll "),e.\u0275\u0275elementEnd()}}function ee(o,a){if(1&o&&(e.\u0275\u0275elementStart(0,"div",117)(1,"div",118)(2,"div",119)(3,"div",120),e.\u0275\u0275element(4,"img",121),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"div",68)(6,"div",122)(7,"p",123)(8,"b",99),e.\u0275\u0275text(9),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(10,"div",124)(11,"div",125),e.\u0275\u0275text(12,"Rating: "),e.\u0275\u0275element(13,"span",126),e.\u0275\u0275elementStart(14,"span",127),e.\u0275\u0275text(15,"4.4"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(16,"div",128)(17,"div",129)(18,"div",130),e.\u0275\u0275text(19,"Based on"),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(20,K,3,2,"div",131),e.\u0275\u0275elementStart(21,"p",130),e.\u0275\u0275text(22,"Teacher"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(23,"div",20)(24,"div",132),e.\u0275\u0275element(25,"img",133),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(26,"div",134)(27,"span",135),e.\u0275\u0275pipe(28,"titlecase"),e.\u0275\u0275text(29),e.\u0275\u0275pipe(30,"titlecase"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(31,"div",129)(32,"div",130),e.\u0275\u0275text(33,"No. of questions"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(34,"div"),e.\u0275\u0275text(35),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(36,"div",130),e.\u0275\u0275text(37,"Duration"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(38,"div",136),e.\u0275\u0275text(39),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(40,"div",137)(41,"div",130),e.\u0275\u0275text(42,"Description"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(43,"p",138),e.\u0275\u0275text(44),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(45,"div",139)(46,"span",140),e.\u0275\u0275text(47),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(48,"div",141),e.\u0275\u0275template(49,X,3,0,"span",142),e.\u0275\u0275template(50,Z,3,0,"span",142),e.\u0275\u0275elementEnd()()()()),2&o){const t=a.$implicit,s=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(4),e.\u0275\u0275property("src",s.getUserProfile(t),e.\u0275\u0275sanitizeUrl),e.\u0275\u0275advance(4),e.\u0275\u0275propertyInterpolate("title",null==(null==t?null:t.title)?"N/A":null==t?null:t.title),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",null==(null==t?null:t.title)?"N/A":null==t?null:t.title,""),e.\u0275\u0275advance(11),e.\u0275\u0275property("ngForOf",t.tags),e.\u0275\u0275advance(5),e.\u0275\u0275property("src",s.getImageOfuser(t),e.\u0275\u0275sanitizeUrl),e.\u0275\u0275advance(2),e.\u0275\u0275propertyInterpolate("title",null===(null==t||null==t.publishedByUser?null:t.publishedByUser.fullName)?"N/A":e.\u0275\u0275pipeBind1(28,15,null==t||null==t.publishedByUser?null:t.publishedByUser.fullName)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",null===(null==t||null==t.publishedByUser?null:t.publishedByUser.fullName)?"N/A":e.\u0275\u0275pipeBind1(30,17,null==t||null==t.publishedByUser?null:t.publishedByUser.fullName)," "),e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate1("",null===(null==t?null:t.totalNumberOfQuestions)?"N/A":null==t?null:t.totalNumberOfQuestions," "),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate1("",null==(null==t?null:t.durationInMinutes)?"N/A":null==t?null:t.durationInMinutes," Minutes"),e.\u0275\u0275advance(4),e.\u0275\u0275propertyInterpolate("title",null==(null==t?null:t.description)?"N/A":null==t?null:t.description),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",null==(null==t?null:t.description)?"N/A":null==t?null:t.description," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate2("",null==t?null:t.currency," ",null==t?null:t.price,""),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",null!=t.price&&t.price>0),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",null==t.price||0==t.price)}}function te(o,a){if(1&o&&(e.\u0275\u0275elementStart(0,"div",47),e.\u0275\u0275template(1,ee,51,19,"div",116),e.\u0275\u0275elementEnd()),2&o){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",t.findAssessmentListData)}}function ne(o,a){1&o&&(e.\u0275\u0275elementStart(0,"div")(1,"div",114)(2,"div",68)(3,"h3",103),e.\u0275\u0275text(4," No Records Found "),e.\u0275\u0275elementEnd()()()())}function se(o,a){if(1&o){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",33)(1,"div",34)(2,"input",145),e.\u0275\u0275listener("click",function(){const i=e.\u0275\u0275restoreView(t).$implicit,l=e.\u0275\u0275nextContext();
1return e.\u0275\u0275resetView(l.selectedOrUnSelectedtag(i,"GRADE"))}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"label",146),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd()()()}if(2&o){const t=a.$implicit,s=a.index;e.\u0275\u0275advance(2),e.\u0275\u0275propertyInterpolate1("id","grades_",s,"")("name","grades_",s,""),e.\u0275\u0275advance(1),e.\u0275\u0275propertyInterpolate1("for","grades_",s,""),e.\u0275\u0275propertyInterpolate("title",null==(null==t?null:t.tagHierarchy)?"N/A":null==t?null:t.tagHierarchy),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",null==t?null:t.tagName,"")}}function ie(o,a){if(1&o){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",33)(1,"div",34)(2,"input",145),e.\u0275\u0275listener("click",function(){const i=e.\u0275\u0275restoreView(t).$implicit,l=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(l.selectedOrUnSelectedtagForIntreseted(i,"GRADE"))}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"label",146),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd()()()}if(2&o){const t=a.$implicit,s=a.index;e.\u0275\u0275advance(2),e.\u0275\u0275propertyInterpolate1("id","grades_ForIntrestedIn",s,"")("name","grades_ForIntrestedIn",s,""),e.\u0275\u0275advance(1),e.\u0275\u0275propertyInterpolate1("for","grades_ForIntrestedIn",s,""),e.\u0275\u0275propertyInterpolate("title",null==(null==t?null:t.tagHierarchy)?"N/A":null==t?null:t.tagHierarchy),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",null==t?null:t.tagName,"")}}let le=(()=>{class o{constructor(t,s,n,i,l,c){this.apiService=t,this.activatedRoute=s,this.platformId=n,this.toaster=i,this.router=l,this.titleService=c,this.getAssessmentDataRequest=new g.iE,this.getAssessmentDataRequestForAssessmentMightIntrestedIn=new g.iE,this.getDataRequest=new b.l,this.findAssessmentDto=new F._,this.numberOfRowsPerPage=5,this.currentPageNumber=0,this.p=[],this.purchasedAssessmentListData=[],this.totalAmount=0,this.isReset=!1,this.someBooleanValue=!0,this.enableResposiveNessOfScreen=!1,this.today=(new Date).toISOString().slice(0,16),this.allTeachersForAssessemntsYouMightBeIntrestedIn=[],this.scheduleAssessmentDto=new y.m,this.allTeachersFiltersForMenteePurchasedAssessmentsDto=new b.l,this.allSubjects=[],this.selectedTagIds=[],this.selectedTagDto=[],this.selectedTagIdsForIntrestedIn=[],this.selectedTagDtoForIntrestedIn=[],this.allGrades=[],this.allChapters=[],this.allArticles=[],this.allTopics=[],this.allGradesForAssessementsIntrestedIn=[],this.allSubjectsForAssessementsIntrestedIn=[],this.allChaptersForAssessementsIntrestedIn=[],this.allArticlesForAssessementsIntrestedIn=[],this.allTopicsForAssessementsIntrestedIn=[],this.teachersFilter=[],this.teachersFilterForAssessmentsThatMightBeInterestedFor=[],this.selectedSubjectsForAssessementsIntrestedIn=[],this.selectedTopicsForAssessementsIntrestedIn=[],this.selectedChaptersForAssessementsIntrestedIn=[],this.selectedArticleForAssessementsIntrestedIn=[],this.selectedTeachers=[],this.selectedTeachersForAssessementsYouMightBeIntrestedIn=[],this.allTeachersFiltersForMenteePurchasedAssessmentsList=[],this.allTeachers=[],this.allTags=!0,this.filterDifficlultLevels=[],this.getCartDetailsRequest=new g.iE,this.cartDetails=[],this.index=1,this.settingsForSubjectsFilter={singleSelection:!1,idField:"id",textField:"tagName",enableCheckAll:!1,selectAllText:"Select all",unSelectAllText:"UnSelect all",allowSearchFilter:!0,limitSelection:-1,clearSearchFilter:!0,maxHeight:197,itemsShowLimit:6,searchPlaceholderText:"Search Subject",noDataAvailablePlaceholderText:"No Subjects Available",closeDropDownOnSelection:!1,showSelectedItemsAtTop:!1,defaultOpen:!1,allowRemoteDataSearch:!0},this.settingsForTopicsFilter={singleSelection:!1,idField:"id",textField:"tagName",enableCheckAll:!1,selectAllText:"Select all",unSelectAllText:"UnSelect all",allowSearchFilter:!0,limitSelection:-1,clearSearchFilter:!0,maxHeight:197,itemsShowLimit:6,searchPlaceholderText:"Search Topic",noDataAvailablePlaceholderText:"No Topics Available",closeDropDownOnSelection:!1,showSelectedItemsAtTop:!1,defaultOpen:!1,allowRemoteDataSearch:!0},this.settingsForChapersFilter={singleSelection:!1,idField:"id",textField:"tagName",enableCheckAll:!1,selectAllText:"Select all",unSelectAllText:"UnSelect all",allowSearchFilter:!0,limitSelection:-1,clearSearchFilter:!0,maxHeight:197,itemsShowLimit:6,searchPlaceholderText:"Search Chapters",noDataAvailablePlaceholderText:"No Chapters Available",closeDropDownOnSelection:!1,showSelectedItemsAtTop:!1,defaultOpen:!1,allowRemoteDataSearch:!0},this.settingsForArticleFilter={singleSelection:!1,idField:"id",textField:"tagName",enableCheckAll:!1,selectAllText:"Select all",unSelectAllText:"UnSelect all",allowSearchFilter:!0,limitSelection:-1,clearSearchFilter:!0,maxHeight:197,itemsShowLimit:6,searchPlaceholderText:"Search Chapters",noDataAvailablePlaceholderText:"No Art
1icles Available",closeDropDownOnSelection:!1,showSelectedItemsAtTop:!1,defaultOpen:!1,allowRemoteDataSearch:!0},this.settingsForTeacherFilter={singleSelection:!1,idField:"id",textField:"fullName",enableCheckAll:!1,selectAllText:"Select all",unSelectAllText:"UnSelect all",allowSearchFilter:!0,limitSelection:-1,clearSearchFilter:!0,maxHeight:197,itemsShowLimit:6,searchPlaceholderText:"Search Teachers",noDataAvailablePlaceholderText:"No Teachers Available",closeDropDownOnSelection:!1,showSelectedItemsAtTop:!1,defaultOpen:!1,allowRemoteDataSearch:!0},this.settingsForTeacherFilterMightIntrestedInFor={singleSelection:!1,idField:"id",textField:"fullName",enableCheckAll:!1,selectAllText:"Select all",unSelectAllText:"UnSelect all",allowSearchFilter:!0,limitSelection:-1,clearSearchFilter:!0,maxHeight:197,itemsShowLimit:6,searchPlaceholderText:"Search Teachers",noDataAvailablePlaceholderText:"No Teachers Available",closeDropDownOnSelection:!1,showSelectedItemsAtTop:!1,defaultOpen:!1,allowRemoteDataSearch:!0},this.isLoading=!1,this.onSearchShowData=m=>{m&&m.target.value?(this.getAssessmentDataRequest.searchKey=m.target.value,this.getAssessmentDataRequest.pageNumber=this.currentPageNumber):this.getAssessmentDataRequest.searchKey="",this.getAllPurchasedAssessment()},this.titleService.setTitle("Dynamind Mentee Assessment")}ngOnInit(){this.isLoading=!0,this.indicationOfBack=this.activatedRoute.snapshot.queryParams.seeAllAssessments,(0,r.NF)(this.platformId)&&window.scrollTo(0,0),this.getAssessmentDataRequest.pageNumber=0,this.getAssessmentDataRequest.pageSize=25,this.upcomingAssessmentThatMightInterestYouIn(),this.getAllTags(this.getAssessmentDataRequest.filterType="GRADE"),this.getAllTags(this.getAssessmentDataRequest.filterType="SUBJECT"),this.getAllTags(this.getAssessmentDataRequest.filterType="TOPIC"),this.getAllTags(this.getAssessmentDataRequest.filterType="CHAPTER"),this.getAllTags(this.getAssessmentDataRequest.filterType="ARTICLE"),this.getAllPurchasedAssessment(),this.hideRecaptcha(),this.getAllTeachers(),this.getMaxPriceForAssessmentsMightBeIntrestedForYouIn(),this.getMaxPriceRange(),(0,r.NF)(this.platformId)&&window.innerWidth<=991&&(this.enableResposiveNessOfScreen=!0),this.checkScreenRatio((0,r.NF)(this.platformId)?window.innerWidth:""),this.allTeachersFiltersForMenteePurchasedAssessments()}allTeachersFiltersForMenteePurchasedAssessments(){this.allTeachersFiltersForMenteePurchasedAssessmentsDto.pageSize=25,this.apiService.postService(this.apiService.apiUrls.allTeachersFiltersForMenteePurchasedAssessments,this.allTeachersFiltersForMenteePurchasedAssessmentsDto).subscribe(t=>{t&&200==t.statusCode&&t.data&&(this.allTeachersFiltersForMenteePurchasedAssessmentsList=t.data.content)},t=>{401==t.status?(this.isLoading=!1,this.toaster.show(t.message?t?.error?.message:"Something Went Wrong","Warning"),(0,r.NF)(this.platformId)&&(localStorage.clear(),window.location.href="/")):(this.isLoading=!1,this.toaster.show(t?.error?.message,"Info"))})}getMaxPriceForAssessmentsMightBeIntrestedForYouIn(){this.getDataRequest.pageSize=25,this.apiService.getService(this.apiService.apiUrls.maxPriceForUpcomingAssessmentThatMightInterestIn).subscribe(t=>{t&&200==t.statusCode&&t.data&&(this.maxPriceForAssessmentsMightBeIntrestedForYouIn=t.data)},t=>{401==t.status?(this.isLoading=!1,this.toaster.show(t.message?t?.error?.message:"Something Went Wrong","Warning"),(0,r.NF)(this.platformId)&&(localStorage.clear(),window.location.href="/")):(this.isLoading=!1,this.toaster.show(t?.error?.message,"Info"))})}getMaxPriceRange(){this.apiService.getService(this.apiService.apiUrls.getMaxRangeOfAssessments).subscribe(t=>{t&&200==t.statusCode&&(this.maxRangePriceOfAssessements=0==t.data?0:t.data)},t=>{401==t.status&&(0,r.NF)(this.platformId)?(this.isLoading=!1,this.toaster.show(t.message?t?.error?.message:"Something Went Wrong","Warning"),localStorage.clear(),window.location.href="/"):(this.isLoading=!1,this.toaster.show(t?.error?.message,"Info"))})}getAllTeachers(){this.getDataRequest.pageSize=25,this.apiService.postService(this.apiService.apiUrls.getAllFindAssessmentTeachersFilters,this.getDataRequest).subscribe(t=>{t&&200==t.statusCode&&t.data&&t.data.content?this.allTeachers=t.data.content:this.toaster.show(t?.message,"Info")},t=>{401==t.status?(this.isLoading=!1,this.toaster.show(t.message?t?.error?.message:"Something Went Wrong","Warning"),
1(0,r.NF)(this.platformId)&&(localStorage.clear(),window.location.href="/")):(this.isLoading=!1,this.toaster.show(t?.error?.message,"Info"))})}getAllTeachersForAssessmentsYouMightBeIntrestedIn(){this.getDataRequest.pageSize=25,this.apiService.postService(this.apiService.apiUrls.upcomingAssessmentThatMightInterestInAllTeachers,this.getDataRequest).subscribe(t=>{t&&200==t.statusCode&&t.data&&t.data.content?this.allTeachersForAssessemntsYouMightBeIntrestedIn=t?.data?.content:this.toaster.show(t?.message,"Info")},t=>{401==t.status?(this.isLoading=!1,this.toaster.show(t.message?t?.error?.message:"Something Went Wrong","Warning"),(0,r.NF)(this.platformId)&&(localStorage.clear(),window.location.href="/")):(this.isLoading=!1,this.toaster.show(t?.error?.message,"Info"))})}callAllTags(){this.allTags&&(this.allTags=!1,this.getAllTeachersForAssessmentsYouMightBeIntrestedIn(),this.getAllTagsForAssessmentsMightIntrestedIn(this.getDataRequest.filterType="GRADE"),this.getAllTagsForAssessmentsMightIntrestedIn(this.getDataRequest.filterType="ARTICLE"),this.getAllTagsForAssessmentsMightIntrestedIn(this.getDataRequest.filterType="SUBJECT"),this.getAllTagsForAssessmentsMightIntrestedIn(this.getDataRequest.filterType="TOPIC"),this.getAllTagsForAssessmentsMightIntrestedIn(this.getDataRequest.filterType="CHAPTER"))}TeacherFilter(t){let s=this.selectedTeachers.findIndex(n=>n==t.id);-1==s?this.selectedTeachers.push(t.id):this.selectedTeachers.splice(s,1),console.log(this.selectedTeachers)}ngAfterViewChecked(){(0,r.NF)(this.platformId)&&($('[data-toggle="tooltip"]').tooltip({trigger:"hover"}),$('[data-toggle="tooltip"]').on("mouseleave",function(){$(this).tooltip("dispose")}),$('[data-toggle="tooltip"]').on("click",function(){$(this).tooltip("dispose")}))}TeacherFilterForAssessemntsYouMightBeInterestedIn(t){let s=this.selectedTeachersForAssessementsYouMightBeIntrestedIn.findIndex(n=>n==t.id);-1==s?this.selectedTeachersForAssessementsYouMightBeIntrestedIn.push(t.id):this.selectedTeachersForAssessementsYouMightBeIntrestedIn.splice(s,1)}hideRecaptcha(){if((0,r.NF)(this.platformId)){const t=$(".grecaptcha-badge");if(t.length)return t.css({display:"none"});requestAnimationFrame(()=>this.hideRecaptcha())}}onDifficultLevelSelectForFilter(t,s){let n=this.getAssessmentDataRequest.difficultLevels.findIndex(i=>i===t);s&&-1==n?this.getAssessmentDataRequest.difficultLevels.push(t):!s&&n>=0&&this.getAssessmentDataRequest.difficultLevels.splice(n,1)}getAllPurchasedAssessment(){this.filterDifficlultLevels&&this.filterDifficlultLevels.length>0&&(this.getAssessmentDataRequest.difficultLevels=this.filterDifficlultLevels),this.getAssessmentDataRequest.pageSize=25,this.getAssessmentDataRequest.filterTagIds=this.selectedTagIds,this.apiService.postService(this.apiService.apiUrls.getAllPurchasedAssessment,this.getAssessmentDataRequest).subscribe(t=>{t&&200===t.statusCode&&(0,r.NF)(this.platformId)?(this.isReset||$("#SharedUrlFilter").modal("hide"),this.isLoading=!1,this.totalPages=t.data?t.data.totalPages:1,this.purchasedAssessmentListData=t.data.content,t.data.content.length>0&&(this.someBooleanValue=!1)):(this.isLoading=!1,this.toaster.show(t?.message,"Info"))},t=>{401==t.status?(this.isLoading=!1,this.toaster.show(t.message?t?.error?.message:"Something Went Wrong","Warning"),(0,r.NF)(this.platformId)&&(localStorage.clear(),window.location.href="/")):(this.isLoading=!1,this.toaster.show(t?.error?.message,"Info"))})}paginate(t){this.getAssessmentDataRequest.pageNumber=t.page,this.getAllPurchasedAssessment()}ispaginateFilterModel(t){this.getAssessmentDataRequest.pageNumber=t.page,this.applyFilterForQuestions()}applyFilterForQuestions(){(0,r.NF)(this.platformId)&&(this.selectedTeachers.length>0&&(this.getAssessmentDataRequest.userIds=this.selectedTeachers),this.getAssessmentDataRequest.pageNumber=0,this.getAssessmentDataRequest.pageSize=25,this.getAllPurchasedAssessment(),$("#filterSeeAll").modal("hide"))}applyFilterForAssessmentYouMightIntrestedIn(){(0,r.NF)(this.platformId)&&(this.selectedTeachersForAssessementsYouMightBeIntrestedIn.length>0&&(this.getAssessmentDataRequestForAssessmentMightIntrestedIn.userIds=this.selectedTeachersForAssessementsYouMightBeIntrestedIn),this.getAssessmentDataRequestForAssessmentMightIntrestedIn.pageNumber=0,this.upcomingAssessmentThatMightInterestYouIn(),$("#seeAllFilter").modal("hide"))}onFilterChange(t,s){this.getDataRequest.filterType=s,this.getDataRequest.searchKey=t,this.getAllTags(s),this.getDataRequest.searchKey=""}onFilterChangeForSearchTeachers(t){if(t.length>=3){let s=t;this.allTeachersFiltersForMenteePurchasedAssessmentsDto.pageNumber=this.currentPageNumber,this.allTeachersFiltersForMenteePurchasedAssessmentsDto.searchKey=s,this.allTeachersFiltersForMenteePurchasedAssessments()}else 0==t.length&&(this.allTeachersFiltersForMenteePurchasedAssessmentsDto.searchKey=t,this.allTeachersFiltersForMenteePurchasedAssessmentsDto.pageNumber=this.currentPageNumber,this.allTeachersFiltersForMenteePurchasedAssessments());console.log(t)}onFilterChangeForSearchTeachersAssessementsMight(t){if(t.length>=3){let s=t;this.getDataRequest.pageNumber=this.currentPageNumber,this.getDataRequest.searchKey=s,this.getAllTeachers()}else 0==t.length&&(this.getDataRequest.searchKey=t,this.getDataRequest.pageNumber=this.currentPageNumber,this.getAllTeachers());console.log(t)}onDropDownClose(t){}onItemSelect(t){}onDeSelect(t){}onSelectAll(t){}onDeSelectAll(t){}selectedOrUnSelectedtag(t,s){"SUBJECT"===s?t=this.allSubjects.filter(i=>i.id===t.id)[0]:"TOPIC"===s?t=this.allTopics.filter(i=>i.id===t.id)[0]:"CHAPTER"===s?t=this.allChapters.filter(i=>i.id===t.id)[0]:"ARTICLE"===s&&(t=this.allArticles.filter(i=>i.id===t.id)[0]);let n=this.selectedTagDto.findIndex(i=>i.id==t.id);-1==n?this.selectedTagDto.push(t):this.selectedTagDto.splice(n,1),this.applyFilterAndChildTagSelection(s)}applyFilterAndChildTagSelection(t){this.selectedTagIds=[];for(let s of this.selectedTagDto){let n=this.selectedTagIds.findIndex(i=>i===s.parentId);-1!=n&&this.selectedTagIds.splice(n,1),this.selectedTagIds.push(s.id)}"GRADE"===t?(this.getAllTags(this.getDataRequest.filterType="SUBJECT"),this.getAllTags(this.getDataRequest.filterType="TOPIC"),this.getAllTags(this.getDataRequest.filterType="CHAPTER")):"SUBJECT"===t?(this.getAllTags(this.getDataRequest.filterType="TOPIC"),this.getAllTags(this.getDataRequest.filterType="CHAPTER"),this.getAllTags(this.getDataRequest.filterType="ARTICLE")):"TOPIC"===t?(this.getAllTags(this.getDataRequest.filterType="CHAPTER"),this.getAllTags(this.getDataRequest.filterType="ARTICLE"),this.getAllTags(this.getDataRequest.filterType="SUBJECT")):"CHAPTER"===t?(this.getAllTags(this.getDataRequest.filterType="ARTICLE"),this.getAllTags(this.getDataRequest.filterType="SUBJECT"),this.getAllTags(this.getDataRequest.filterType="TOPIC")):"ARTICLE"===t&&(this.getAllTags(this.getDataRequest.filterType="SUBJECT"),this.getAllTags(this.getDataRequest.filterType="TOPIC"),this.getAllTags(this.getDataRequest.filterType="CHAPTER"))}selectedOrUnSelectedtagForIntreseted(t,s){"SUBJECT"===s?t=this.allSubjectsForAssessementsIntrestedIn.filter(i=>i.id===t.id)[0]:"TOPIC"===s?t=this.allTopicsForAssessementsIntrestedIn.filter(i=>i.id===t.id)[0]:"CHAPTER"===s?t=this.allChaptersForAssessementsIntrestedIn.filter(i=>i.id===t.id)[0]:"ARTICLE"===s&&(t=this.allArticlesForAssessementsIntrestedIn.filter(i=>i.id===t.id)[0]);let n=this.selectedTagDtoForIntrestedIn.findIndex(i=>i.id==t.id);-1==n?this.selectedTagDtoForIntrestedIn.push(t):this.selectedTagDtoForIntrestedIn.splice(n,1),this.applyFilterAndChildTagSelectionForIntrestedIn(s)}applyFilterAndChildTagSelectionForIntrestedIn(t){this.selectedTagIdsForIntrestedIn=[];for(let s of this.selectedTagDtoForIntrestedIn){let n=this.selectedTagIdsForIntrestedIn.findIndex(i=>i===s.parentId);-1!=n&&this.selectedTagIdsForIntrestedIn.splice(n,1),this.selectedTagIdsForIntrestedIn.push(s.id)}"GRADE"===t?(this.getAllTagsForAssessmentsMightIntrestedIn(this.getAssessmentDataRequestForAssessmentMightIntrestedIn.filterType="SUBJECT"),this.getAllTagsForAssessmentsMightIntrestedIn(this.getAssessmentDataRequestForAssessmentMightIntrestedIn.filterType="TOPIC"),this.getAllTagsForAssessmentsMightIntrestedIn(this.getAssessmentDataRequestForAssessmentMightIntrestedIn.filterType="CHAPTER")):"SUBJECT"===t?(this.getAllTagsForAssessmentsMightIntrestedIn(this.getAssessmentDataRequestForAssessmentMightIntrestedIn.filterType="TOPIC"),this.getAllTagsForAssessmentsMightIntrestedIn(this.getAssessmentDataRequestForAssessmentMightIntrestedIn.filterType="CHAPTER"),this.getAllTagsForAssessmentsMightIntrestedIn(this.getAssessmentDataRequestForAssessmentMightIntrestedIn.filterType="ARTICLE")):"TOPIC"===t?(this.getAllTagsForAssessmentsMightIntrestedIn(this.getAssessmentDataRequestForAssessmentMightIntrestedIn.filterType="CHAPTER"),this.getAllTagsForAssessmentsMightIntrestedIn(this.getAssessmentDataRequestForAssessmentMightIntrestedIn.filterType="ARTICLE"),this.getAllTagsForAssessmentsMightIntrestedIn(this.getAssessmentDataRequestForAssessmentMightIntrestedIn.filterType="SUBJECT")):"CHAPTER"===t?(this.getAllTagsForAssessmentsMightIntrestedIn(this.getAssessmentDataRequestForAssessmentMightIntrestedIn.filterType="ARTICLE"),this.getAllTagsForAssessmentsMightIntrestedIn(this.getAssessmentDataRequestForAssessmentMightIntrestedIn.filterType="SUBJECT"),this.getAllTagsForAssessmentsMightIntrestedIn(this.getAssessmentDataRequestForAssessmentMightIntrestedIn.filterType="TOPIC")):"ARTICLE"===t&&(this.getAllTagsForAssessmentsMightIntrestedIn(this.getAssessmentDataRequestForAssessmentMightIntrestedIn.filterType="SUBJECT"),this.getAllTagsForAssessmentsMightIntrestedIn(this.getAssessmentDataRequestForAssessmentMightIntrestedIn.filterType="TOPIC"),this.getAllTagsForAssessmentsMightIntrestedIn(this.getAssessmentDataRequestForAssessmentMightIntrestedIn.filterType="CHAPTER"))}getAllTags(t){this.getDataRequest.pageSize=25,this.getDataRequest.filterTagIds=this.selectedTagIds,this.getDataRequest.filterType=t,this.apiService.postService(this.apiService.apiUrls.getAllTags,this.getDataRequest).subscribe(s=>{if(s&&200==s.statusCode&&s.data&&s.data.content){let n=s.data.content;n&&("GRADE"==t?this.allGrades=n:"SUBJECT"==t?this.allSubjects=n:"TOPIC"==t?this.allTopics=n:"CHAPTER"==t?this.allChapters=n:"ARTICLE"==t&&(this.allArticles=n))}else this.toaster.show(s?.message,"Info")},s=>{401==s.status?(this.isLoading=!1,this.toaster.show(s.message?s?.error?.message:"Something Went Wrong","Warning"),
1(0,r.NF)(this.platformId)&&(localStorage.clear(),window.location.href="/")):(this.isLoading=!1,this.toaster.show(s?.error?.message,"Info"))})}getAllTagsForAssessmentsMightIntrestedIn(t){this.getAssessmentDataRequestForAssessmentMightIntrestedIn.pageSize=25,this.getAssessmentDataRequestForAssessmentMightIntrestedIn.filterTagIds=this.selectedTagIdsForIntrestedIn,this.getAssessmentDataRequestForAssessmentMightIntrestedIn.filterType=t,this.apiService.postService(this.apiService.apiUrls.getAllTags,this.getAssessmentDataRequestForAssessmentMightIntrestedIn).subscribe(s=>{if(s&&200==s.statusCode&&s.data&&s.data.content){let n=s.data.content;n&&("GRADE"==t?this.allGradesForAssessementsIntrestedIn=n:"SUBJECT"==t?this.allSubjectsForAssessementsIntrestedIn=n:"TOPIC"==t?this.allTopicsForAssessementsIntrestedIn=n:"CHAPTER"==t?this.allChaptersForAssessementsIntrestedIn=n:"ARTICLE"==t&&(this.allArticlesForAssessementsIntrestedIn=n))}else this.toaster.show(s?.message,"Info")},s=>{401==s.status?(this.isLoading=!1,this.toaster.show(s.message?s?.error?.message:"Something Went Wrong","Warning"),(0,r.NF)(this.platformId)&&(localStorage.clear(),window.location.href="/")):(this.isLoading=!1,this.toaster.show(s?.error?.message,"Info"))})}upcomingAssessmentThatMightInterestYouIn(){this.isLoading=!0,this.getAssessmentDataRequestForAssessmentMightIntrestedIn.pageSize=8,console.log(this.apiService.apiUrls.upcomingAssessmentThatMightInterestIn),this.apiService.postService(this.apiService.apiUrls.upcomingAssessmentThatMightInterestIn,this.getAssessmentDataRequestForAssessmentMightIntrestedIn).subscribe(t=>{t&&200===t.statusCode&&(0,r.NF)(this.platformId)?(this.isReset||$("#seeAllFilter").modal("hide"),this.isLoading=!1,this.findAssessmentListData=t.data.content,console.log(this.findAssessmentListData),console.log("findAssessmentListData")):(this.isLoading=!1,this.toaster.show(t?.message,"Info"))},t=>{401==t.status?(this.isLoading=!1,this.toaster.show(t.message?t?.error?.message:"Something Went Wrong","Warning"),(0,r.NF)(this.platformId)&&(localStorage.clear(),window.location.href="/")):this.isLoading=!1})}getUserProfile(t){return t&&t.photo&&null!=t?.photo?.fileId&&t.photo.filePreviewUrl?this.apiService.baseUrl+t.photo.filePreviewUrl:"./assets/assessment-image.png"}getDefaultBar(t,s){return""==t||null==t?"defaultBar":"EXTREMELY_EASY"===t?1==s?"extremelyEasy":"defaultBar":"VERY_EASY"===t?1==s||2==s?"veryEasy":"defaultBar":"EASY"===t?1==s||2==s||3==s?"easy":"defaultBar":"MODERATELY_DIFFICULT"===t?1==s||2==s||3==s||4==s?"moderatelyDifficult":"defaultBar":"HIGHLY_DIFFICULT"===t?1==s||2==s||3==s||4==s||5==s?"highlyDifficult":"defaultBar":"EXTREMELY_DIFFICULT"===t?1==s||2==s||3==s||4==s||5==s||6==s?"exremelyDifficult":"defaultBar":void 0}getTotalRecords(){return this.totalPages*this.numberOfRowsPerPage}disabledResetButtonForFilters(){return 0==this.selectedTeachers.length&&0==this.selectedTagIds.length&&0==this.getAssessmentDataRequest.difficultLevels.length}disabledResetButtonForFiltersAssessmentsYouMightBeIntrestedIn(){return 0==this.selectedTeachersForAssessementsYouMightBeIntrestedIn.length&&0==this.selectedTagIdsForIntrestedIn.length&&0==this.getAssessmentDataRequestForAssessmentMightIntrestedIn.maxPrice}resetFilterForQuestions(){(0,r.NF)(this.platformId)&&(this.getAssessmentDataRequest=new g.iE,this.selectedTagDto=[],this.selectedTagIds=[],this.selectedTeachers=[],this.filterDifficlultLevels=[],this.getAssessmentDataRequest.difficultLevels=[],this.getAssessmentDataRequest.filterTagIds=[],this.getAllPurchasedAssessment(),$("input[type=checkbox]").prop("checked",!1),this.teachersFilter=[])}resetFilterForQuestionsForIntrestedIn(){(0,r.NF)(this.platformId)&&(this.getAssessmentDataRequestForAssessmentMightIntrestedIn=new g.iE,this.selectedTagDtoForIntrestedIn=[],this.selectedTagIdsForIntrestedIn=[],this.filterDifficlultLevels=[],this.selectedTeachersForAssessementsYouMightBeIntrestedIn=[],this.getAssessmentDataRequestForAssessmentMightIntrestedIn.filterTagIds=[],this.upcomingAssessmentThatMightInterestYouIn(),$("input[type=checkbox]").prop("checked",!1),this.resetFilterMultiDropDownSelectionsForIntrestedIn())}resetFilterMultiDropDownSelectionsForIntrestedIn(){this.selectedTopicsForAssessementsIntrestedIn=[],this.selectedSubjectsForAssessementsIntrestedIn=[],this.selectedChaptersForAssessementsIntrestedIn=[],this.selectedArticleForAssessementsIntrestedIn=[],this.teachersFilterForAssessmentsThatMightBeInterestedFor=[]}takeAssessment(t){this.router.navigate(["/navigation-bar/mentee/mentee-take-assessment"],{queryParams:{id:t.id}})}addToCart(t){this.isLoading=!0;
1let s=new T.s,n=new M.$,i=new v.l;n.id=t.id,i.assessmentDto=n,s.cartDtos.push(i),this.apiService.postService(this.apiService.apiUrls.addToCart,s).subscribe(l=>{l&&200===l.statusCode?(this.isLoading=!1,this.toaster.show(l?.message,"Success"),this.upcomingAssessmentThatMightInterestYouIn()):(this.isLoading=!1,this.toaster.show(l?.message,"Info"))},l=>{401==l.status?(this.isLoading=!1,this.toaster.show(l.message?l?.error?.message:"Something Went Wrong","Warning"),(0,r.NF)(this.platformId)&&(localStorage.clear(),window.location.href="/")):(this.isLoading=!1,this.toaster.show(l?.error?.message,"Info"))})}getTagData(t){if(f.iG.isValid(t)){let s=t.map(n=>n.tagName);return f.iG.isValid(s)?s.join(","):"-"}return"-"}scheduleModel(t){this.scheduleAssessmentId=t.assessmentId,console.log(this.scheduleAssessmentId,"this.scheduleAssessmentId"),this.scheduleId=t.id,console.log(this.scheduleId,"this.scheduleId"),""==t.scheduledOn?(this.scheduledOrRescheduledAssessmentText="Schedule Assessment",this.scheduledOrRescheduledAssessmentButtonText="Schedule"):(this.scheduledOrRescheduledAssessmentText="Re-Schedule Assessment",this.scheduledOrRescheduledAssessmentButtonText="Re-Schedule")}scheduleModelClose(){this.scheduleAssessmentId=null,this.scheduleId=null,console.log(this.scheduleAssessmentId,"this.scheduleAssessmentId"),console.log(this.scheduleId,"this.scheduleId")}reloadComponent(){let t=this.router.url;this.router.routeReuseStrategy.shouldReuseRoute=()=>!1,this.router.onSameUrlNavigation="reload",this.router.navigate([t])}scheduleAssessment(t){if("Schedule"==t&&!f.iG.isValid(this.scheduleAssessmentDto.scheduledOn))return void this.toaster.show("Please select date and time to schedule the assessment.","Warning");if("Re-Schedule"==t&&!f.iG.isValid(this.scheduleAssessmentDto.scheduledOn))return void this.toaster.show("Please select date and time to Re-schedule the assessment.","Warning");let n=R(this.scheduleAssessmentDto.scheduledOn).format("DD-MM-yyyy HH:mm:ss");this.scheduleAssessmentDto.id=this.scheduleId,this.scheduleAssessmentDto.assessmentId=this.scheduleAssessmentId,this.scheduleAssessmentDto.scheduledOn=n,this.apiService.postService(this.apiService.apiUrls.scheduleAssessment,this.scheduleAssessmentDto).subscribe(i=>{i&&200==i.statusCode&&(0,r.NF)(this.platformId)&&(this.toaster.show(i.message,"Success"),$("#scheduleModal").modal("hide"),this.getAllPurchasedAssessment(),this.reloadComponent())})}totalAmountCount(){this.totalAmount=0,this.cartDetails.forEach(t=>{this.totalAmount=this.totalAmount+t.assessmentDto.price})}getCartDetails(){this.apiService.postService(this.apiService.apiUrls.getCartDetails,this.getCartDetailsRequest).subscribe(t=>{t&&200===t.statusCode&&(this.cartDetails=t.data&&null!=t.data.content?t.data.content:[],this.totalAmountCount())})}purchaseFreeAssessment(t){this.isLoading=!0,this.apiService.postService(this.apiService.apiUrls.freeAssessmentPurchase,{assessments:[{id:t.id}]}).subscribe(n=>{n&&200===n.statusCode?(this.isLoading=!1,this.toaster.show(n?.message,"Success"),this.getCartDetails(),this.getAllPurchasedAssessment(),this.upcomingAssessmentThatMightInterestYouIn()):this.toaster.show(n?.message,"Info")},n=>{401==n.status?(this.isLoading=!1,this.toaster.show(n.message?n?.error?.message:"Something Went Wrong","Warning")):(this.isLoading=!1,this.toaster.show(n?.error?.message,"Info"))})}getImageOfuser(t){return t&&t.publishedByUser&&t.publishedByUser.profilePicture?.filePreviewUrl?this.apiService.baseUrl+t.publishedByUser.profilePicture.filePreviewUrl:"./assets/assessment-image.png"}scheduledOn(t){for(let s of t.userAssessmentInfos){if(null!=s.scheduledOn&&""!=s.scheduledOn&&(0,r.NF)(this.platformId)){let n,i,l,c,m,p,Re=s.scheduledOn.split(" ")[0],S=s.scheduledOn.split(" ")[1].split(":"),I=Re.split("-");c=S[0],m=S[1],p=S[2];let Ee=c>=12?"pm":"am";return m=1==(m+"").length?`0${m}`:m,c=c>12?c-12:c,c=1==(c+"").length?`0${c}`:c,n=I[0],i=I[1],l=I[2],"01"==i?i="Jan":"02"==i?i="Feb":"03"==i?i="Mar":"04"==i?i="Apr":"05"==i?i="May":"06"==i?i="June":"07"==i?i="July":"08"==i?i="Aug":"09"==i?i="Sep":"10"==i?i="Oct":"11"==i?i="Nov":"12"==i&&(i="Dec"),`${n} ${i} ${l} - ${c}:${m}${Ee}`}return"-"}return""}onResize(t){this.checkScreenRatio(t.target.innerWidth)}checkScreenRatio(t){this.enableResposiveNessOfScreen=t<=993}assessementToolTipDisplay(t){return"NOT_STARTED"==t.userAssessmentStatus?"Take Assessment":"Re-Take Assessment"}static#e=this.\u0275fac=function(s){return new(s||o)(e.\u0275\u0275directiveInject(D.s),e.\u0275\u0275directiveInject(h.gz),e.\u0275\u0275directiveInject(e.PLATFORM_ID),e.\u0275\u0275directiveInject(P._W),e.\u0275\u0275directiveInject(h.F0),e.\u0275\u0275directiveInject(O.Dx))};static#t=this.\u0275cmp=e.\u0275\u0275defineComponent({type:o,selectors:[["app-mentee-assessment"]],viewQuery:function(s,n){if(1&s&&(e.\u0275\u0275viewQuery(E,5),e.\u0275\u0275viewQuery(L,5)),2&s){let i;e.\u0275\u0275queryRefresh(i=e.\u0275\u0275loadQuery())&&(n.multiSelectForTeacherFilter=i.first),e.\u0275\u0275queryRefresh(i=e.\u0275\u0275loadQuery())&&(n.paginator=i.first)}},hostBindings:function(s,n){1&s&&e.\u0275\u0275listener("resize",function(l){return n.onResize(l)},!1,e.\u0275\u0275resolveWindow)},inputs:{navigationValue:"navigationValue"},decls:164,vars:46,consts:[["class","mt-4",4,"ngIf"],[4,"ngIf"],[1,"row","mt-3","mb-3"],[1,"col-md-12"],["src","/assets/mentee-images/enrolled.svg","alt","","height","30px","width","30px"],[1,"d-md-flex"],[1,""],[1,"assessmentsYouMightBeIntrestedIn"],["data-toggle","modal","data-target","#seeAllFilter",1,"btn","btn-info","btnForFilter",3,"click"],[1,"bx","bx-filter-alt"],[1,"ml-auto"],["class","row mt-3",4,"ngIf"],["id","scheduleModal","data-backdrop","static","tabindex","-1","role","dialog","aria-labelledby","modelTitleId","aria-hidden","true",1,"modal","fade"],["role","document",1,"modal-dialog","modal
1-lg","modal-dialog-scrollable"],[1,"modal-content"],[1,"modal-header"],[1,"modal-title"],["type","button","data-dismiss","modal","aria-label","Close",1,"close"],["aria-hidden","true",3,"click"],[1,"modal-body"],[1,"row"],[1,"col-lg-6"],["type","datetime-local","onkeydown","return false",1,"alert-input","date-input","mr-2","form-control",3,"min","ngModel","ngModelChange"],[1,"btn","btn-info","mr-2",3,"click"],["data-backdrop","false","id","filterSeeAll","tabindex","-1","role","dialog","aria-labelledby","modelTitleId","aria-hidden","true",1,"modal","fade"],["role","document",1,"modal-dialog","modal-dialog-scrollable","modal-lg","modal-responsive"],[1,"modal-content","modalContent"],["aria-hidden","true",1,"d-flex","justify-content-end","mr-3","pt-3"],[1,"mb-2"],[1,"row","mb-2"],["class","col-lg-4 col-xs-12 col-sm-12 col-md-4 col-xl-4",4,"ngFor","ngForOf"],[1,"mt-3"],[1,"text-left"],[1,"col-lg-4","col-xs-12","col-sm-12","col-md-4","col-xl-4"],[1,"custom-control","custom-checkbox"],["type","checkbox","id","EXTREMELY_EasyDifficultyLevel","name","extremelyEasy",1,"custom-control-input",3,"change"],["for","EXTREMELY_EasyDifficultyLevel","data-placement","top","data-toggle","tooltip","title","Directly from the content",1,"custom-control-label"],["type","checkbox","id","VERY_EASYDifficultyLevel","name","veryEasy",1,"custom-control-input",3,"change"],["for","VERY_EASYDifficultyLevel","data-placement","top","data-toggle","tooltip","title","Based on Definitions and content of the article ",1,"custom-control-label"],["type","checkbox","id","EASYDifficultyLevel","name","easy",1,"custom-control-input",3,"change"],["for","EASYDifficultyLevel","data-placement","top","data-toggle","tooltip","title","Based on understanding the concept behind the article",1,"custom-control-label"],["type","checkbox","id","MODERATELY_DIFFICULTDifficultyLevel","name","ModeratelyDifficult",1,"custom-control-input",3,"change"],["for","MODERATELY_DIFFICULTDifficultyLevel","data-placement","bottom","data-toggle","tooltip","title","Based on logical interpretation of the data and concept",1,"custom-control-label"],["type","checkbox","id","HIGHLY_DIFFICULTDifficultyLevel","name","HighlyDifflicult",1,"custom-control-input",3,"change"],["for","HIGHLY_DIFFICULTDifficultyLevel","data-placement","bottom","data-toggle","tooltip","title","Based on logical interpretation of the data and concept and with other universal facts",1,"custom-control-label"],["type","checkbox","id","EXTREMELY_DIFFICULTDifficultyLevel","name","extremelyDifficult",1,"custom-control-input",3,"change"],["for","EXTREMELY_DIFFICULTDifficultyLevel","data-placement","bottom","data-toggle","tooltip","title","Based on intelligent thought process coupled with all above aspects",1,"custom-control-label"],[1,"row","mt-3"],[1,"col-12"],[3,"data","settings","disabled","placeholder","ngModel","onFilterChange","onDropDownClose","onSelect","onDeSelect","onSelectAll","onDeSelectAll","ngModelChange"],["multiSelectForTeachersFilter",""],[1,"modal-footer",2,"border-top","none"],[1,"d-flex","justify-content-end"],[1,"btn","btn-default","resetButton",3,"click"],[1,"btn","btn-info","SaveOrSubmitButtonClass","ml-3","text-light",2,"border-radius","20px !important","padding","0 30px",3,"click"],["id","seeAllFilter","tabindex","-1","role","dialog","aria-labelledby","modelTitleId","aria-hidden","true",1,"modal","fade"],["role","document",1,"modal-dialog","modal
1-dialog-scrollable","modal-lg"],[1,"form-group"],[3,"data","settings","disabled","placeholder","ngModel","onFilterChange","onDropDownClose","onSelect","onDeSelect","ngModelChange"],["multiSelectForChaptersFilter",""],[3,"settings","data","disabled","placeholder","ngModel","onFilterChange","onDropDownClose","onSelect","onDeSelect","onSelectAll","onDeSelectAll","ngModelChange"],["multiSelectForTopicsFilter",""],["multiSelectForArticlesFilter",""],["name","price","id","priceRangeInput","value","0",3,"min","disabled","max","ngModel","ngModelChange"],[1,"d-flex","justify-content-between","mx-3"],[1,"modal-footer"],[1,"mt-4"],[1,"card","text-center","py-5"],[1,"card-body"],["routerLink","/navigation-bar/mentee/assessments/assessments-see-all/assessments",1,"btn","btn-info","my-auto","btninfoFilter"],[1,"mt-3","cardCustomPaddingManage",2,"background","#F1F4F8","border-radius","10px"],[1,"cardChanges"],[1,"table-responsive"],["class","table","style","border-collapse: separate; border-spacing: 0 6px;",4,"ngIf"],[1,"col-md-12","text-right","mb-4"],[3,"rows","totalRecords","onPageChange"],["pp",""],[1,"col-sm-6","col-12","col-md-6"],["src","/assets/mentee-images/file-signature.svg","alt","","height","30px","width","30px"],[1,"EnrolledAssessmentsInSmallScreen"],[1,"col-sm-6","col-12","col-md-6","text-right"],[1,"col-sm-12","col-md-6","col-6"],[1,"inner-addon","left-addon"],[1,"bx","bx-search","searchIcon"],["type","text","placeholder","Search..",1,"searchPlacement","ml-xs-3","ml-sm-0","ml-md-0","ml-lg-0","ml-xl-0","form-control","mng-search",3,"keyup"],["type","button","data-toggle","modal","data-target","#filterSeeAll",1,"btn","btn-info","btninfoFilter","btninfoFilterForSmallDevices"],["aria-hidden","true",1,"fa","fa-filter","filter"],["routerLink","/navigation-bar/mentee/online-portal","aria-hidden","true",1,"fa","fa-arrow-left"],[1,"displayAlignment","mb-3"],["type","text","placeholder","Search..",1,"ml-xs-3","ml-sm-0","ml-md-0","ml-lg-0","ml-xl-0","form-control","mng-search",3,"keyup"],[1,"mr-3"],["type","button","data-toggle","modal","data-target","#filterSeeAll",1,"btn","btn-info","btninfoFilter"],[1,"table",2,"border-collapse","separate","border-spacing","0 6px"],[1,"thead-inverse"],[1,"border-0","text-nowrap",2,"width","20%"],[1,"border-0","text-nowrap"],["style","border-bottom: 10px solid #f1f4f8 !important;\n background: #fff !important;",4,"ngFor","ngForOf"],[2,"border-bottom","10px solid #f1f4f8 !important","background","#fff !important"],[1,"txt-ellipsis","titleFontSize"],[3,"title"],[1,"txt-ellipsis"],[1,"basedOnFontSize",3,"title"],[1,"text-left","scheduledOnFontSize","text-nowrap"],[1,"text-center"],[4,"ngFor","ngForOf"],["class","takeAssessment","id","myToolTippedElement","data-toggle","tooltip","data-placement","top",3,"title",4,"ngFor","ngForOf"],["class","scheduleAlignment","data-toggle","tooltip","data-placement","top","title","Schedule Assessment",4,"ngIf"],["data-toggle","tooltip","data-placement","top","title","Schedule Assessment",1,"scheduleAlignment"],["src","../../../../assets/schedule-assessment.png","alt","","data-toggle","modal","data-target","#scheduleModal",1,"scheduleImage",2,"cursor","pointer","width","40px","height","40px",3,"click"],["id","myToolTippedElement","data-toggle","tooltip","data-placement","top",1,"takeAssessment",3,"title"],["src","../../../../assets/take-assesment.png","alt","take-assessment","data-toggle","modal","data-target","#scheduleModal",1,"takeAssessmentImage",2,"cursor","pointer","width","40px","height","40px",3,"click"],["class","re-takeAssessment","data-toggle","tooltip","data-placement","top","title","Re-Schedule",4,"ngIf"],["data-toggle","tooltip","data-placement","top","title","Re-Schedule",1,"re-takeAssessment"],["src","../../../../assets/calender-edit.png","alt","calender-edit","data-toggle","modal","data-target","#scheduleModal",1,"img-fluid",2,"cursor","pointer","height","40px","width","40px",3,"click"],[1,"card"],[1,"mb-0","text-center"],["class","col-sm-12 col-md-6 col-lg-4 col-xl-3 col-12 mb-5 ",4,"ngFor","ngForOf"],[1,"col-sm-12","col-md-6","col-lg-4","col-xl-3","col-12","mb-5"],[1,"dropdown",2,"width","100% !important"],[1,"card",2,"border-radius","20px"],[1,"cardClass4"],[1,"img-fluid",2,"margin-bottom","15px","border-top-right-radius","20px","border-top-left-radius","20px","width","100%","height","250px",3,"src"],[1,"dropdown"],["data-toggle","dropdown",1,"txt-ellips",2,"margin","0","font-weight","400","text-transform","capitalize","cursor","pointer"],[1,"dropdown-menu","dropdownContentShow"],[2,"margin","0 35px"],[1,"fa","fa-star","checked",2,"color","#FCBB1D"],[1,"defaultColor"],[1,"row",2,"margin","0px 20px"],[1,"col-lg-6","col-xl-6","col-12"],[1,"dropdownBasedOnColor"],["class","txt-ellipsis",4,"ngFor","ngForOf"],[1,"col-lg-4","col-xl-3","col-12"],[1,"mr-2",2,"width","30px","height","30px","border-radius","50%",3,"src"],[1,"col-lg-8","col-xl-9","col-12","txt-ellipsis"],[1,"defaultColor","tagName",3,"title"],[1,"defaultColor","tagName"],[1,"description",2,"margin","0px 35px"],[1,"tagName","defaultColor","txt-ellipsisForDuration",3,"title"],[1,"my-1"],[2,"color","#05ABD2"],[1,"card-footer","text-center"],["style","font-style: normal;font-weight: normal;font-size: 15.6132px;line-height: 21px;color: #1E3757;cursor: pointer;",3,"click",4,"ngIf"],[2,"font-style","normal","font-weight","normal","font-size","15.6132px","line-height","21p
1x","color","#1E3757","cursor","pointer",3,"click"],["src","/assets/mentee-images/shopping-cart.svg","alt","","width","20px","height","20px"],["type","checkbox",1,"custom-control-input",3,"id","name","click"],["data-toggle","tooltip","data-placement","top",1,"custom-control-label",3,"for","title"]],template:function(s,n){1&s&&(e.\u0275\u0275template(0,k,7,0,"div",0),e.\u0275\u0275template(1,j,14,6,"div",1),e.\u0275\u0275elementStart(2,"div",2)(3,"div",3)(4,"h3"),e.\u0275\u0275element(5,"img",4),e.\u0275\u0275text(6," Your Scheduled Assessments "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(7,"div",3),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"div",5)(9,"div",6)(10,"h3"),e.\u0275\u0275element(11,"img",4),e.\u0275\u0275elementStart(12,"span",7),e.\u0275\u0275text(13," Assessments you might be interested in"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(14,"div",6)(15,"button",8),e.\u0275\u0275listener("click",function(){return n.callAllTags()}),e.\u0275\u0275element(16,"i",9),e.\u0275\u0275text(17," Filter"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(18,"div",10),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(19,te,2,1,"div",11),e.\u0275\u0275template(20,ne,5,0,"div",1),e.\u0275\u0275elementStart(21,"div",12)(22,"div",13)(23,"div",14)(24,"div",15)(25,"h5",16),e.\u0275\u0275text(26),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(27,"button",17)(28,"span",18),e.\u0275\u0275listener("click",function(){return n.scheduleModelClose()}),e.\u0275\u0275text(29,"\xd7"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(30,"div",19)(31,"div",20)(32,"div",21)(33,"input",22),e.\u0275\u0275listener("ngModelChange",function(l){return n.scheduleAssessmentDto.scheduledOn=l}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(34,"div",21)(35,"div")(36,"span")(37,"button",23),e.\u0275\u0275listener("click",function(){return n.scheduleAssessment(n.scheduledOrRescheduledAssessmentButtonText)}),e.\u0275\u0275text(38),e.\u0275\u0275elementEnd()()()()()()()()(),e.\u0275\u0275elementStart(39,"div",24)(40,"div",25)(41,"div",26)(42,"div")(43,"button",17)(44,"span",27),e.\u0275\u0275text(45,"\xd7"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(46,"div",19)(47,"div")(48,"h6",28),e.\u0275\u0275text(49,"Grade"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(50,"div",29),e.\u0275\u0275template(51,se,5,5,"div",30),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(52,"div",31)(53,"h6",32),e.\u0275\u0275text(54,"Difficulty level"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(55,"div",20)(56,"div",33)(57,"div",34)(58,"input",35),e.\u0275\u0275listener("change",function(l){return n.onDifficultLevelSelectForFilter("EXTREMELY_EASY",l.target.checked)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(59,"label",36),e.\u0275\u0275text(60,"Extremely Easy"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(61,"div",33)(62,"div",34)(63,"input",37),e.\u0275\u0275listener("change",function(l){return n.onDifficultLevelSelectForFilter("VERY_EASY",l.target.checked)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(64,"label",38),e.\u0275\u0275text(65,"Very Easy"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(66,"div",33)(67,"div",34)(68,"input",39),e.\u0275\u0275listener("change",function(l){return n.onDifficultLevelSelectForFilter("EASY",l.target.checked)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(69,"label",40),e.\u0275\u0275text(70,"Easy"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(71,"div",20)(72,"div",33)(73,"div",34)(74,"input",41),e.\u0275\u0275listener("change",function(l){return n.onDifficultLevelSelectForFilter("MODERATELY_DIFFICULT",l.target.checked)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(75,"label",42),e.\u0275\u0275text(76,"Moderately Difficult"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(77,"div",33)(78,"div",34)(79,"input",43),e.\u0275\u0275listener("change",function(l){return n.onDifficultLevelSelectForFilter("HIGHLY_DIFFICULT",l.target.checked)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(80,"label",44),e.\u0275\u0275text(81,"Highly Difficult"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(82,"div",33)(83,"div",34)(84,"input",45),e.\u0275\u0275listener("change",function(l){return n.onDifficultLevelSelectForFilter("EXTREMELY_DIFFICULT",l.target.checked)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(85,"label",46),e.\u0275\u0275text(86,"Extremely Difficult"),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementStart(87,"div",47)(88,"div",48)(89,"div",6)(90,"h6"),e.\u0275\u0275text(91,"Teacher"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(92,"ng-multiselect-dropdown",49,50),e.\u0275\u0275listener("onFilterChange",function(l){return n.onFilterChangeForSearchTeachers(l)})("onDropDownClose",function(l){return n.onDropDownClose(l)})("onSelect",function(l){return n.TeacherFilter(l)})("onDeSelect",function(l){return n.TeacherFilter(l)})("onSelectAll",function(l){return n.TeacherFilter(l)})("onDeSelectAll",function(l){return n.onDeSelectAll(l)})("ngModelChange",function(l){return n.teachersFilter=l}),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementStart(94,"div",51)(95,"div",52)(96,"button",53),e.\u0275\u0275listener("click",function(){return n.resetFilterForQuestions(),n.isReset=!0}),e.\u0275\u0275text(97," Reset "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(98,"button",54),e.\u0275\u0275listener("click",function(){return n.applyFilterForQuestions(),n.isReset=!1}),e.\u0275\u0275text(99," Apply "),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(100,"div",55)(101,"div",56)(102,"div",14)(103,"div")(104,"button",17)(105,"span",27),e.\u0275\u0275text(106,"\xd7"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(107,"div",19)(108,"div",20)(109,"div",48)(110,"div",57)(111,"h6"),e.\u0275\u0275text(112,"Teacher"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(113,"ng-multiselect-dropdown",58,59),e.\u0275\u0275listener("onFilterChange",function(l){return n.onFilterChangeForSearchTeachersAssessementsMight(l)}
1)("onDropDownClose",function(l){return n.onDropDownClose(l)})("onSelect",function(l){return n.TeacherFilterForAssessemntsYouMightBeInterestedIn(l)})("onDeSelect",function(l){return n.TeacherFilterForAssessemntsYouMightBeInterestedIn(l)})("ngModelChange",function(l){return n.teachersFilterForAssessmentsThatMightBeInterestedFor=l}),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(115,"h6",28),e.\u0275\u0275text(116,"Grade"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(117,"div",20),e.\u0275\u0275template(118,ie,5,5,"div",30),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(119,"div",47)(120,"div",48)(121,"div",57)(122,"h6"),e.\u0275\u0275text(123,"Subject"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(124,"ng-multiselect-dropdown",60),e.\u0275\u0275listener("onFilterChange",function(l){return n.onFilterChange(l,"SUBJECT")})("onDropDownClose",function(l){return n.onDropDownClose(l)})("onSelect",function(l){return n.selectedOrUnSelectedtagForIntreseted(l,"SUBJECT")})("onDeSelect",function(l){return n.selectedOrUnSelectedtagForIntreseted(l,"SUBJECT")})("onSelectAll",function(l){return n.selectedOrUnSelectedtagForIntreseted(l,"SUBJECT")})("onDeSelectAll",function(l){return n.onDeSelectAll(l)})("ngModelChange",function(l){return n.selectedTopicsForAssessementsIntrestedIn=l}),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(125,"div",20)(126,"div",21)(127,"div",57)(128,"h6"),e.\u0275\u0275text(129,"Topic"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(130,"ng-multiselect-dropdown",49,61),e.\u0275\u0275listener("onFilterChange",function(l){return n.onFilterChange(l,"TOPIC")})("onDropDownClose",function(l){return n.onDropDownClose(l)})("onSelect",function(l){return n.selectedOrUnSelectedtagForIntreseted(l,"TOPIC")})("onDeSelect",function(l){return n.selectedOrUnSelectedtagForIntreseted(l,"TOPIC")})("onSelectAll",function(l){return n.selectedOrUnSelectedtagForIntreseted(l,"TOPIC")})("onDeSelectAll",function(l){return n.onDeSelectAll(l)})("ngModelChange",function(l){return n.selectedSubjectsForAssessementsIntrestedIn=l}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(132,"div",21)(133,"div",57)(134,"h6"),e.\u0275\u0275text(135,"Chapters"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(136,"ng-multiselect-dropdown",49,59),e.\u0275\u0275listener("onFilterChange",function(l){return n.onFilterChange(l,"CHAPTER")})("onDropDownClose",function(l){return n.onDropDownClose(l)})("onSelect",function(l){return n.selectedOrUnSelectedtagForIntreseted(l,"CHAPTER")})("onDeSelect",function(l){return n.selectedOrUnSelectedtagForIntreseted(l,"CHAPTER")})("onSelectAll",function(l){return n.selectedOrUnSelectedtagForIntreseted(l,"CHAPTER")})("onDeSelectAll",function(l){return n.onDeSelectAll(l)})("ngModelChange",function(l){return n.selectedChaptersForAssessementsIntrestedIn=l}),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(138,"div",20)(139,"div",21)(140,"div",57)(141,"h6"),e.\u0275\u0275text(142,"Article"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(143,"ng-multiselect-dropdown",49,62),e.\u0275\u0275listener("onFilterChange",function(l){return n.onFilterChange(l,"ARTICLE")})("onDropDownClose",function(l){return n.onDropDownClose(l)})("onSelect",function(l){return n.selectedOrUnSelectedtagForIntreseted(l,"ARTICLE")})("onDeSelect",function(l){return n.selectedOrUnSelectedtagForIntreseted(l,"ARTICLE")})("onSelectAll",function(l){return n.selectedOrUnSelectedtagForIntreseted(l,"ARTICLE")})("onDeSelectAll",function(l){return n.onDeSelectAll(l)})("ngModelChange",function(l){return n.selectedArticleForAssessementsIntrestedIn=l}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275element(145,"div",21),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(146,"div",20)(147,"div",48)(148,"div")(149,"h6",31),e.\u0275\u0275text(150),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(151,"div")(152,"p-slider",63),e.\u0275\u0275listener("ngModelChange",function(l){return n.getAssessmentDataRequestForAssessmentMightIntrestedIn.maxPrice=l}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(153,"div",64)(154,"div"),e.\u0275\u0275text(155,"Free"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(156,"div"),e.\u0275\u0275text(157),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275elementStart(158,"div",65)(159,"div",52)(160,"button",53),e.\u0275\u0275listener("click",function(){return n.resetFilterForQuestionsForIntrestedIn(),n.isReset=!0}),e.\u0275\u0275text(161," Reset "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(162,"button",54),e.\u0275\u0275listener("click",function(){return n.applyFilterForAssessmentYouMightIntrestedIn(),n.isReset=!1}),e.\u0275\u0275text(163," Apply "),e.\u0275\u0275elementEnd()()()()()()),2&s&&(e.\u0275\u0275property("ngIf",1==n.someBooleanValue),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",0==n.someBooleanValue),e.\u0275\u0275advance(18),e.\u0275\u0275property("ngIf",(null==n.findAssessmentListData?null:n.findAssessmentListData.length)>0),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",0==(null==n.findAssessmentListData?null:n.findAssessmentListData.length)),e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate(n.scheduledOrRescheduledA
1ssessmentText),e.\u0275\u0275advance(7),e.\u0275\u0275property("min",n.today)("ngModel",n.scheduleAssessmentDto.scheduledOn),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1(" ",n.scheduledOrRescheduledAssessmentButtonText," "),e.\u0275\u0275advance(13),e.\u0275\u0275property("ngForOf",n.allGrades),e.\u0275\u0275advance(41),e.\u0275\u0275property("data",n.allTeachersFiltersForMenteePurchasedAssessmentsList)("settings",n.settingsForTeacherFilter)("disabled",!1)("placeholder","Select Teacher")("ngModel",n.teachersFilter),e.\u0275\u0275advance(21),e.\u0275\u0275property("data",n.allTeachersForAssessemntsYouMightBeIntrestedIn)("settings",n.settingsForTeacherFilterMightIntrestedInFor)("disabled",!1)("placeholder","Select Teacher")("ngModel",n.teachersFilterForAssessmentsThatMightBeInterestedFor),e.\u0275\u0275advance(5),e.\u0275\u0275property("ngForOf",n.allGradesForAssessementsIntrestedIn),e.\u0275\u0275advance(6),e.\u0275\u0275property("settings",n.settingsForSubjectsFilter)("data",n.allSubjectsForAssessementsIntrestedIn)("disabled",!1)("placeholder","Select Subject")("ngModel",n.selectedTopicsForAssessementsIntrestedIn),e.\u0275\u0275advance(6),e.\u0275\u0275property("data",n.allTopicsForAssessementsIntrestedIn)("settings",n.settingsForTopicsFilter)("disabled",!1)("placeholder","Select Topics")("ngModel",n.selectedSubjectsForAssessementsIntrestedIn),e.\u0275\u0275advance(6),e.\u0275\u0275property("data",n.allChaptersForAssessementsIntrestedIn)("settings",n.settingsForChapersFilter)("disabled",!1)("placeholder","Select Chapters")("ngModel",n.selectedChaptersForAssessementsIntrestedIn),e.\u0275\u0275advance(7),e.\u0275\u0275property("data",n.allArticlesForAssessementsIntrestedIn)("settings",n.settingsForArticleFilter)("disabled",!1)("placeholder","Select Article")("ngModel",n.selectedArticleForAssessementsIntrestedIn),e.\u0275\u0275advance(7),e.\u0275\u0275textInterpolate1("Price range ",n.getAssessmentDataRequestForAssessmentMightIntrestedIn.maxPrice,""),e.\u0275\u0275advance(2),e.\u0275\u0275property("min",0)("disabled",0===n.maxPriceForAssessmentsMightBeIntrestedForYouIn)("max",null==n.maxPriceForAssessmentsMightBeIntrestedForYouIn?"N/A":n.maxPriceForAssessmentsMightBeIntrestedForYouIn)("ngModel",n.getAssessmentDataRequestForAssessmentMightIntrestedIn.maxPrice),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1("\u20b9",null==n.maxPriceForAssessmentsMightBeIntrestedForYouIn?"N/A":n.maxPriceForAssessmentsMightBeIntrestedForYouIn,""))},dependencies:[r.sg,r.O5,h.rH,u.Fj,u.JJ,u.On,A.D,x.OP,C.iR,r.rS],styles:['.dropdown[_ngcontent-%COMP%]{position:relative;display:inline-block}table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{border-top-left-radius:10px;border-bottom-left-radius:10px}table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{border-top-right-radius:10px;border-bottom-right-radius:10px}.dropdown-content[_ngcontent-%COMP%]{border-radius:10px;margin:10px;padding:20px;display:none;position:absolute;right:0;background-color:#fff;min-width:300px;box-shadow:0 8px 16px #0003;z-index:999;bottom:87px}.resetButton[_ngcontent-%COMP%]{border:2.13514px solid #8796A8;border-radius:20px;color:#8796a8;padding:8px 30px;font-weight:900}.modal-responsive[_ngcontent-%COMP%]{margin-right:40px;margin-top:140px}.hidden[_ngcontent-%COMP%]{display:none}.table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000!important;background-color:#f1f4f8}.calenderEdit[_ngcontent-%COMP%]{background:#dcedf2;color:#1dd1fc}.table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-bottom:none!important;font-style:normal!important;font-weight:400!important;font-size:16px!important;line-height:19px!important;color:#8796a8!important}.btninfoFilter[_ngcontent-%COMP%]{position:relative;left:20px}tbody[_ngcontent-%COMP%]{background:#f1f4f8!important}.dropdown[_ngcontent-%COMP%]:hover .dropdown-content[_ngcontent-%COMP%]{display:block}.heytooltip[_ngcontent-%COMP%]{font-weight:500}.titleFontSize[_ngcontent-%COMP%]{font-size:18px!important;color:#1e3757}.basedOnFontSize[_ngcontent-%COMP%]{font-size:17px;color:#4f4f4f}.difficultyLevelFontSize[_ngcontent-%COMP%]{color:#1e3757;font-size:15px;white-space:nowrap}.scheduledOnFontSize[_ngcontent-%COMP%]{color:#4f4f4f;font-size:17px}.dropdown-content[_ngcontent-%COMP%]:after{content:" ";position:absolute;top:0%;left:10%;border-width:15px;border-style:solid;border-color:#040404 transparent transparent transparent}.dropdownContentShow[_ngcontent-%COMP%]{width:400px;box-shadow:0 3px 6px #0000003d;position:absolute!important;top:20px!important;
1left:20px!important;padding:30px 0!important;z-index:1}.dropdown-content[_ngcontent-%COMP%]{min-width:400px!important}.dropdownBasedOnColor[_ngcontent-%COMP%]{color:#4f4f4f;margin:5px 0;font-weight:540}.filterModalTextColor[_ngcontent-%COMP%]{color:#666}.mng-search[_ngcontent-%COMP%]{border-radius:20px;border:1px solid rgba(0,0,0,.2509803922);position:relative}.mng-search[_ngcontent-%COMP%]:focus{border:1px solid rgba(0,0,0,.2509803922)!important;outline:none!important}.enrollSearch[_ngcontent-%COMP%]{position:absolute;right:30px;top:25px}.inner-addon[_ngcontent-%COMP%]{position:relative}.inner-addon[_ngcontent-%COMP%] .searchIcon[_ngcontent-%COMP%]{position:absolute;padding:10px;pointer-events:none;z-index:99;top:2px;color:#00000040}.left-addon[_ngcontent-%COMP%] .searchIcon[_ngcontent-%COMP%]{left:0}.left-addon[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{padding-left:30px!important}.btnForFilter[_ngcontent-%COMP%]{border-radius:20px;margin-left:15px}.assessmentsYouMightBeIntrestedIn[_ngcontent-%COMP%]{position:relative;top:3px!important;font-size:20px}.seeAllAssessments[_ngcontent-%COMP%]{position:relative;top:15px;font-style:normal;font-weight:400;font-size:17px;line-height:23px;color:#00ceb1;cursor:pointer}.card-footer[_ngcontent-%COMP%]{background:#fff;border-bottom-left-radius:20px;border-bottom-right-radius:20px}h3[_ngcontent-%COMP%]{font-style:normal!important;font-weight:700!important;font-size:22px!important;line-height:31px!important;color:#1e3757!important}.defaultColor[_ngcontent-%COMP%]{color:#1e3757}.tagName[_ngcontent-%COMP%]{font-weight:800}.defaultBar[_ngcontent-%COMP%]{width:5px;height:10px;background:#e9e9e9;margin:0 2px}.extremelyEasy[_ngcontent-%COMP%]{width:5px;height:10px;background-color:#00e1ac;margin:0 2px}.veryEasy[_ngcontent-%COMP%]{width:5px;height:10px;background:#1dd1fc;margin:0 2px}.easy[_ngcontent-%COMP%]{width:5px;height:10px;background:#fcbb1d;margin:0 2px}.moderatelyDifficult[_ngcontent-%COMP%]{width:5px;height:10px;background:#ff4a4a;margin:0 2px}.highlyDifficult[_ngcontent-%COMP%]{width:5px;height:10px;background:#bd0000;margin:0 2px}.exremelyDifficult[_ngcontent-%COMP%]{width:5px;height:10px;background:red;margin:0 2px}.difficultyLevel[_ngcontent-%COMP%]{position:relative;bottom:13px;left:75px}.txt-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;max-width:150px;white-space:nowrap}.txt-ellipsisForDuration[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;max-width:300px;white-space:nowrap}.iconsAlignment[_ngcontent-%COMP%], .scheduleAlignment[_ngcontent-%COMP%], .takeAssessment[_ngcontent-%COMP%], .re-takeAssessment[_ngcontent-%COMP%]{margin:0 10px}.displayAlignment[_ngcontent-%COMP%]{display:flex}@media screen and (min-width: 280px) and (max-width: 360px){.txt-ellipsis[_ngcontent-%COMP%]{width:100%}.EnrolledAssessmentsInSmallScreen[_ngcontent-%COMP%]{font-size:19px}.displayAlignment[_ngcontent-%COMP%]{display:contents}.btninfoFilter[_ngcontent-%COMP%]{position:relative;left:0;top:10px}.dropdownContentShow[_ngcontent-%COMP%]{width:250px;box-shadow:0 3px 6px #0000003d;position:absolute!important;top:20px!important;left:0!important;padding:30px 0!important;z-index:1}.btnForFilter[_ngcontent-%COMP%]{border-radius:20px;margin-left:0}.scheduleAlignment[_ngcontent-%COMP%], .takeAssessment[_ngcontent-%COMP%], .re-takeAssessment[_ngcontent-%COMP%]{margin:0}.scheduleImage[_ngcontent-%COMP%], .takeAssessmentImage[_ngcontent-%COMP%], .reScheduleAssessment[_ngcontent-%COMP%]{width:40px;height:40px;cursor:pointer}}@media screen and (min-width: 361px) and (max-width: 420px){.EnrolledAssessmentsInSmallScreen[_ngcontent-%COMP%]{font-size:24px}}@media screen and (min-width: 421px) and (max-width: 575px){.EnrolledAssessmentsInSmallScreen[_ngcontent-%COMP%]{font-size:26px}}@media screen and (min-width: 360px) and (max-width: 576px){.txt-ellipsis[_ngcontent-%COMP%]{width:100%}.btninfoFilter[_ngcontent-%COMP%]{position:relative;left:0;top:0}.scheduleAlignment[_ngcontent-%COMP%]{margin:0;position:relative;bottom:5px}.takeAssessment[_ngcontent-%COMP%]{margin:0;position:relative;bottom:0}.re-takeAssessment[_ngcontent-%COMP%]{margin:0;position:relative;top:10px}.displayAlignment[_ngcontent-%COMP%]{display:contents}
1.btnForFilter[_ngcontent-%COMP%]{border-radius:20px;margin-left:0}.dropdownContentShow[_ngcontent-%COMP%]{width:340px;box-shadow:0 3px 6px #0000003d;position:absolute!important;top:-5px!important;left:-13px!important;padding:30px 0!important;z-index:1}.description[_ngcontent-%COMP%]{width:200px}}@media screen and (min-width: 576px) and (max-width: 767px){.txt-ellipsis[_ngcontent-%COMP%]{width:100%}.scheduleAlignment[_ngcontent-%COMP%]{margin:0;position:relative;bottom:5px}.btnForFilter[_ngcontent-%COMP%]{border-radius:20px;margin-left:0}.btninfoFilter[_ngcontent-%COMP%]{position:relative;left:0;top:10px}.takeAssessment[_ngcontent-%COMP%]{margin:0;position:relative;bottom:0}.re-takeAssessment[_ngcontent-%COMP%]{margin:0;position:relative;top:10px}.displayAlignment[_ngcontent-%COMP%]{display:contents}.dropdownContentShow[_ngcontent-%COMP%]{min-width:250px;box-shadow:0 3px 6px #0000003d;position:absolute!important;top:20px!important;left:20px!important;padding:30px 0!important;z-index:1}}@media screen and (min-width: 768px) and (max-width: 993px){.btninfoFilterForSmallDevices[_ngcontent-%COMP%]{position:relative!important;top:0!important}}@media screen and (min-width: 768px) and (max-width: 799px){.searchPlacement[_ngcontent-%COMP%]{position:relative;left:70px}.left-addon[_ngcontent-%COMP%] .searchIcon[_ngcontent-%COMP%]{left:70px}.dropdownContentShow[_ngcontent-%COMP%]{min-width:250px;box-shadow:0 3px 6px #0000003d;position:absolute!important;top:20px!important;left:-21px!important;padding:30px 0!important;z-index:1}.description[_ngcontent-%COMP%]{width:250px}}@media screen and (min-width: 800px) and (max-width: 830px){.searchPlacement[_ngcontent-%COMP%]{position:relative;left:80px}.left-addon[_ngcontent-%COMP%] .searchIcon[_ngcontent-%COMP%]{left:80px}.dropdownContentShow[_ngcontent-%COMP%]{min-width:250px;box-shadow:0 3px 6px #0000003d;position:absolute!important;top:20px!important;left:-21px!important;padding:30px 0!important;z-index:1}.description[_ngcontent-%COMP%]{width:250px}}@media screen and (min-width: 831px) and (max-width: 861px){.searchPlacement[_ngcontent-%COMP%]{position:relative;left:80px}.left-addon[_ngcontent-%COMP%] .searchIcon[_ngcontent-%COMP%]{left:80px}}@media screen and (min-width: 862px) and (max-width: 892px){.searchPlacement[_ngcontent-%COMP%]{position:relative;left:80px}.left-addon[_ngcontent-%COMP%] .searchIcon[_ngcontent-%COMP%]{left:80px}}@media screen and (min-width: 893px) and (max-width: 923px){.searchPlacement[_ngcontent-%COMP%]{position:relative;left:80px}.left-addon[_ngcontent-%COMP%] .searchIcon[_ngcontent-%COMP%]{left:80px}}@media screen and (min-width: 924px) and (max-width: 954px){.searchPlacement[_ngcontent-%COMP%]{position:relative;left:90px}.left-addon[_ngcontent-%COMP%] .searchIcon[_ngcontent-%COMP%]{left:90px}}@media screen and (min-width: 955px) and (max-width: 993px){.searchPlacement[_ngcontent-%COMP%]{position:relative;left:100px}.left-addon[_ngcontent-%COMP%] .searchIcon[_ngcontent-%COMP%]{left:100px}}@media screen and (min-width: 768px) and (max-width: 991px){.txt-ellips[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;width:150px;white-space:nowrap}.seeAllAssessments[_ngcontent-%COMP%]{position:relative;top:6px}.scheduleAlignment[_ngcontent-%COMP%]{margin:0;position:relative;bottom:5px}.btninfoFilter[_ngcontent-%COMP%]{position:relative;left:0;top:10px}.takeAssessment[_ngcontent-%COMP%]{margin:0;position:relative;bottom:0}.re-takeAssessment[_ngcontent-%COMP%]{margin:0;position:relative;top:10px}.displayAlignment[_ngcontent-%COMP%]{display:contents}.takeAssessmentImage[_ngcontent-%COMP%], .reScheduleAssessment[_ngcontent-%COMP%]{width:30px;height:30px;cursor:pointer}.dropdownContentShow[_ngcontent-%COMP%]{width:310px;box-shadow:0 3px 6px #0000003d;position:absolute!important;top:0!important;left:-3px!important;padding:30px 0!important;z-index:1}.description[_ngcontent-%COMP%]{width:260px}}@media screen and (min-width: 830px) and (max-width: 920px){.takeAssessment[_ngcontent-%COMP%], .re-takeAssessment[_ngcontent-%COMP%], .scheduleAlignment[_ngcontent-%COMP%]{margin:0 10px}.dropdownContentShow[_ngcontent-%COMP%]{width:350px;box-shadow:0 3px 6px #0000003d;position:absolute!important;top:0!important;left:-3px!important;padding:30px 0!important;z-index:1}.description[_ngcontent-%COMP%]{width:260px}}@media screen and (min-width: 921px) and (max-width: 991px){.takeAssessment[_ngcontent-%COMP%]{margin:0}.re-takeAssessment[_ngcontent-%COMP%]{margin:0;position:relative;
1left:6px;top:0}.scheduleAlignment[_ngcontent-%COMP%]{margin:0;position:relative;top:0;left:-10px}.dropdownContentShow[_ngcontent-%COMP%]{width:350px;box-shadow:0 3px 6px #0000003d;position:absolute!important;top:0!important;left:38px!important;padding:30px 0!important;z-index:1}.description[_ngcontent-%COMP%]{width:260px}}@media screen and (min-width: 992px) and (max-width: 1199px){.txt-ellips[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;width:180px;white-space:nowrap}.scheduleAlignment[_ngcontent-%COMP%], .takeAssessment[_ngcontent-%COMP%]{margin:0 2px}.seeAllAssessments[_ngcontent-%COMP%]{position:relative;top:6px}.re-takeAssessment[_ngcontent-%COMP%]{margin:0 2px}.scheduleImage[_ngcontent-%COMP%]{width:36px!important;height:36px!important}.takeAssessmentImage[_ngcontent-%COMP%], .reScheduleAssessment[_ngcontent-%COMP%]{width:36px!important;height:36px!important;cursor:pointer}.dropdownContentShow[_ngcontent-%COMP%]{width:300px;box-shadow:0 3px 6px #0000003d;position:absolute!important;top:0!important;left:-20px!important;padding:30px 0!important;z-index:1}.description[_ngcontent-%COMP%]{width:260px}}@media screen and (min-width: 1200px) and (max-width: 1399px){.txt-ellips[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;width:210px;white-space:nowrap}.scheduleAlignment[_ngcontent-%COMP%], .takeAssessment[_ngcontent-%COMP%], .re-takeAssessment[_ngcontent-%COMP%]{margin:0 5px}.seeAllAssessments[_ngcontent-%COMP%]{position:relative;top:6px}.takeAssessmentImage[_ngcontent-%COMP%], .reScheduleAssessment[_ngcontent-%COMP%]{width:48px;height:48px;cursor:pointer}.dropdownContentShow[_ngcontent-%COMP%]{width:300px;box-shadow:0 3px 6px #0000003d;position:absolute!important;top:0!important;left:-20px!important;padding:30px 0!important;z-index:1}.description[_ngcontent-%COMP%]{width:260px}}@media screen and (min-width: 1400px) and (max-width: 1599px){.txt-ellips[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;width:270px;white-space:nowrap}.scheduleAlignment[_ngcontent-%COMP%], .takeAssessment[_ngcontent-%COMP%], .re-takeAssessment[_ngcontent-%COMP%]{margin:0 6px}.seeAllAssessments[_ngcontent-%COMP%]{position:relative;top:6px}.takeAssessmentImage[_ngcontent-%COMP%], .reScheduleAssessment[_ngcontent-%COMP%]{width:50px;height:50px;cursor:pointer}.dropdownContentShow[_ngcontent-%COMP%]{width:300px;box-shadow:0 3px 6px #0000003d;position:absolute!important;top:0!important;left:0!important;padding:30px 0!important;z-index:1}.description[_ngcontent-%COMP%]{width:260px}}@media screen and (min-width: 1600px) and (max-width: 1799px){.txt-ellips[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;width:310px;white-space:nowrap}.scheduleAlignment[_ngcontent-%COMP%], .takeAssessment[_ngcontent-%COMP%], .re-takeAssessment[_ngcontent-%COMP%]{margin:0 6px}.takeAssessmentImage[_ngcontent-%COMP%]{width:50px;height:50px;cursor:pointer}.seeAllAssessments[_ngcontent-%COMP%]{position:relative;top:6px}.reScheduleAssessment[_ngcontent-%COMP%]{width:50px;height:50px;cursor:pointer}.dropdownContentShow[_ngcontent-%COMP%]{min-width:360px;box-shadow:0 3px 6px #0000003d;position:absolute!important;top:0!important;left:-21px!important;padding:30px 0!important;z-index:1}}@media screen and (min-width: 1800px) and (max-width: 2600px){.txt-ellips[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;width:350px;white-space:nowrap}.scheduleAlignment[_ngcontent-%COMP%]{margin:0 6px}.seeAllAssessments[_ngcontent-%COMP%]{position:relative;top:6px}.takeAssessment[_ngcontent-%COMP%], .re-takeAssessment[_ngcontent-%COMP%]{margin:0 6px}.takeAssessmentImage[_ngcontent-%COMP%], .reScheduleAssessment[_ngcontent-%COMP%]{width:50px;height:50px;cursor:pointer}.dropdownContentShow[_ngcontent-%COMP%]{min-width:350px;box-shadow:0 3px 6px #0000003d;position:absolute!important;top:0!important;left:-21px!important;padding:30px 0!important;z-index:1}} .ui-slider.ui-slider-horizontal{margin:18px 7px 7px!important} body .ui-slider .ui-slider-range{background:linear-gradient(90deg,#10c69b 23.49%,#03799c 72.57%)!important} body .ui-slider .ui-slider-handle:focus{box-shadow:none!important} body .ui-slider:not(.ui-state-disabled) .ui-slider-handle:hover{border:3px solid #fff!important;background:linear-gradient(90deg,#10c69b 23.49%,#03799c 72.57%)!important} body .ui-slider .ui-slider-handle{background:linear-gradient(90deg,#10c69b 23.49%,#03799c 72.57%)!important;border:3px solid #fff!important;height:1.3em!important;width:1.3em!important} body .ui-slider.ui-slider-horizontal .ui-slider-handle{margin-top:-.75em}']})}return o}
1)(),oe=(()=>{class o{constructor(){}ngOnInit(){this.hideRecaptcha()}hideRecaptcha(){const t=$(".grecaptcha-badge");if(t.length)return t.css({display:"none"});requestAnimationFrame(()=>this.hideRecaptcha())}static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275cmp=e.\u0275\u0275defineComponent({type:o,selectors:[["app-mentee-assessments"]],decls:1,vars:0,template:function(s,n){1&s&&e.\u0275\u0275element(0,"router-outlet")},dependencies:[h.lC],styles:[".grecaptcha-badge[_ngcontent-%COMP%]{display:none}"]})}return o})();var ae=d(86279),re=d(89047),de=d(14122);const ce=["pp"],me=["subjectDropDown"];function pe(o,a){1&o&&e.\u0275\u0275element(0,"app-loader")}function he(o,a){if(1&o&&(e.\u0275\u0275elementStart(0,"div",33)(1,"div",34)(2,"div",35),e.\u0275\u0275element(3,"img",36),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"div",37)(5,"div",38),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd()()()()),2&o){const t=a.$implicit,s=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(3),e.\u0275\u0275property("src",s.getAssessmentProfile(t),e.\u0275\u0275sanitizeUrl),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",null==(null==t?null:t.title)?"N/A":null==t?null:t.title," ")}}function ge(o,a){if(1&o&&(e.\u0275\u0275elementStart(0,"div",8),e.\u0275\u0275template(1,he,7,2,"div",32),e.\u0275\u0275elementEnd()),2&o){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",t.assessmentExcelledList)}}function ue(o,a){1&o&&(e.\u0275\u0275elementStart(0,"div",39)(1,"div",40)(2,"h3",41),e.\u0275\u0275text(3," No Records Found "),e.\u0275\u0275elementEnd()()())}function fe(o,a){if(1&o&&(e.\u0275\u0275elementContainerStart(0,28),e.\u0275\u0275elementStart(1,"div",8)(2,"div",29)(3,"h4"),e.\u0275\u0275text(4,"Assessment Excelled"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275template(5,ge,2,1,"div",30),e.\u0275\u0275template(6,ue,4,0,"div",31),e.\u0275\u0275elementContainerEnd()),2&o){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(5),e.\u0275\u0275property("ngIf",null!=t.assessmentExcelledList),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",null==t.assessmentExcelledList)}}function _e(o,a){if(1&o){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div")(1,"div",8)(2,"div",43)(3,"button",44),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(n.goBack())}),e.\u0275\u0275text(4," Go Back "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(5,"div",45)(6,"div",46)(7,"div",47)(8,"input",48),e.\u0275\u0275listener("keyup",function(n){e.\u0275\u0275restoreView(t);const i=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(i.onSearchShowData(n))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(9,"div",49)(10,"button",50),e.\u0275\u0275text(11," Filter "),e.\u0275\u0275element(12,"i",51),e.\u0275\u0275elementEnd()()()()()()}}function Ae(o,a){if(1&o){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div")(1,"div",52)(2,"button",53),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(n.goBack())}),e.\u0275\u0275text(3," Go Back "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"div",54)(5,"div",55)(6,"input",48),e.\u0275\u0275listener("keyup",function(n){e.\u0275\u0275restoreView(t);const i=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(i.onSearchShowData(n))}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(7,"div",56)(8,"button",50),e.\u0275\u0275text(9," Filter "),e.\u0275\u0275element(10,"i",51),e.\u0275\u0275elementEnd()()()()}}function xe(o,a){if(1&o&&(e.\u0275\u0275elementStart(0,"div",85)(1,"span",77),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()),2&o){const t=a.$implicit;e.\u0275\u0275advance(1),e.\u0275\u0275propertyInterpolate("title",null===(null==t?null:t.tagName)?"N/A":null==t?null:t.tagName),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",null===(null==t?null:t.tagName)?"N/A":null==t?null:t.tagName," ")}}function Ce(o,a){if(1&o){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"span",86),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext().$implicit,i=e.\u0275\u0275nextContext(3);
1return e.\u0275\u0275resetView(i.addToCart(n))}),e.\u0275\u0275element(1,"img",87),e.\u0275\u0275text(2," Add to Cart "),e.\u0275\u0275elementEnd()}}function Se(o,a){if(1&o){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"span",86),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const n=e.\u0275\u0275nextContext().$implicit,i=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(i.purchaseFreeAssessment(n))}),e.\u0275\u0275element(1,"img",87),e.\u0275\u0275text(2," Enroll "),e.\u0275\u0275elementEnd()}}function Ie(o,a){if(1&o&&(e.\u0275\u0275elementStart(0,"div",58)(1,"div",59)(2,"div",60)(3,"div",61),e.\u0275\u0275element(4,"img",62),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"div",40)(6,"div",63)(7,"p",64)(8,"b",65),e.\u0275\u0275text(9),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(10,"div",66)(11,"div",67),e.\u0275\u0275text(12,"Rating: "),e.\u0275\u0275element(13,"span",68),e.\u0275\u0275elementStart(14,"span",69),e.\u0275\u0275text(15,"4.4"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(16,"div",70)(17,"div",71)(18,"div",72),e.\u0275\u0275text(19,"Based on"),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(20,xe,3,2,"div",73),e.\u0275\u0275elementStart(21,"p",72),e.\u0275\u0275text(22,"Teacher"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(23,"div",8)(24,"div",74),e.\u0275\u0275element(25,"img",75),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(26,"div",76)(27,"span",77),e.\u0275\u0275pipe(28,"titlecase"),e.\u0275\u0275text(29),e.\u0275\u0275pipe(30,"titlecase"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(31,"div",71)(32,"div",72),e.\u0275\u0275text(33,"No. of questions"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(34,"div"),e.\u0275\u0275text(35),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(36,"div",72),e.\u0275\u0275text(37,"Duration"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(38,"div",78),e.\u0275\u0275text(39),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(40,"div",79)(41,"div",72),e.\u0275\u0275text(42,"Description"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(43,"p",80),e.\u0275\u0275text(44),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(45,"div",81)(46,"span",82),e.\u0275\u0275text(47),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(48,"div",83),e.\u0275\u0275template(49,Ce,3,0,"span",84),e.\u0275\u0275template(50,Se,3,0,"span",84),e.\u0275\u0275elementEnd()()()()),2&o){const t=a.$implicit,s=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(4),e.\u0275\u0275property("src",s.getUserProfile(t),e.\u0275\u0275sanitizeUrl),e.\u0275\u0275advance(4),e.\u0275\u0275propertyInterpolate("title",null==(null==t?null:t.title)?"N/A":null==t?null:t.title),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",null==(null==t?null:t.title)?"N/A":null==t?null:t.title,""),e.\u0275\u0275advance(11),e.\u0275\u0275property("ngForOf",t.tags),e.\u0275\u0275advance(5),e.\u0275\u0275property("src",s.getUserProfile(t),e.\u0275\u0275sanitizeUrl),e.\u0275\u0275advance(2),e.\u0275\u0275propertyInterpolate("title",null===(null==t||null==t.publishedByUser?null:t.publishedByUser.fullName)?"N/A":e.\u0275\u0275pipeBind1(28,15,null==t||null==t.publishedByUser?null:t.publishedByUser.fullName)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",null===(null==t||null==t.publishedByUser?null:t.publishedByUser.fullName)?"N/A":e.\u0275\u0275pipeBind1(30,17,null==t||null==t.publishedByUser?null:t.publishedByUser.fullName)," "),e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate1("",null===(null==t?null:t.totalNumberOfQuestions)?"N/A":null==t?null:t.totalNumberOfQuestions," "),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate1("",null==(null==t?null:t.durationInMinutes)?"N/A":null==t?null:t.durationInMinutes," Minutes"),e.\u0275\u0275advance(4),e.\u0275\u0275propertyInterpolate("title",null==(null==t?null:t.description)?"N/A":null==t?null:t.description),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",null==(null==t?null:t.description)?"N/A":null==t?null:t.description," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate2("",null==t?null:t.currency," ",null==t?null:t.price,""),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",null!=t.price&&t.price>0),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",null==t.price||0==t.price)}}function we(o,a){if(1&o&&(e.\u0275\u0275elementStart(0,"div",15),e.\u0275\u0275template(1,Ie,51,19,"div",57),e.\u0275\u0275elementEnd()),2&o){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",t.findAssessmentListData)}}function ve(o,a){if(1&o){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",8)(1,"div",88)(2,"p-paginator",89,90),e.\u0275\u0275listener("onPageChange",function(n){e.\u0275\u0275restoreView(t);const i=e.\u0275\u0275nextContext(2);
1return e.\u0275\u0275resetView(i.paginate(n))}),e.\u0275\u0275elementEnd()()()}if(2&o){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275property("rows",t.numberOfRowsPerPage)("totalRecords",t.getTotalRecords())}}function Te(o,a){1&o&&(e.\u0275\u0275elementStart(0,"div")(1,"div",39)(2,"div",40)(3,"h3",41),e.\u0275\u0275text(4,"No Records Found"),e.\u0275\u0275elementEnd()()()())}function Me(o,a){if(1&o&&(e.\u0275\u0275elementContainerStart(0,28),e.\u0275\u0275template(1,_e,13,0,"div",0),e.\u0275\u0275template(2,Ae,11,0,"div",0),e.\u0275\u0275elementStart(3,"div",8)(4,"div",29)(5,"h4"),e.\u0275\u0275text(6,"Assessments you might be interested in"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275template(7,we,2,1,"div",42),e.\u0275\u0275template(8,ve,4,2,"div",30),e.\u0275\u0275template(9,Te,5,0,"div",0),e.\u0275\u0275elementContainerEnd()),2&o){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",t.enableResposiveNessOfScreen),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",!t.enableResposiveNessOfScreen),e.\u0275\u0275advance(5),e.\u0275\u0275property("ngIf",(null==t.findAssessmentListData?null:t.findAssessmentListData.length)>0),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",(null==t.findAssessmentListData?null:t.findAssessmentListData.length)>0),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",0==(null==t.findAssessmentListData?null:t.findAssessmentListData.length))}}function Fe(o,a){if(1&o){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",91)(1,"div",92)(2,"input",93),e.\u0275\u0275listener("click",function(){const i=e.\u0275\u0275restoreView(t).$implicit,l=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(l.selectedOrUnSelectedtag(i,"GRADE"))}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"label",94),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd()()()}if(2&o){const t=a.$implicit,s=a.index;e.\u0275\u0275advance(2),e.\u0275\u0275propertyInterpolate1("id","grades_ForIntrestedIn",s,"")("name","grades_ForIntrestedIn",s,""),e.\u0275\u0275advance(1),e.\u0275\u0275propertyInterpolate1("for","grades_ForIntrestedIn",s,""),e.\u0275\u0275propertyInterpolate("title",null==(null==t?null:t.tagHierarchy)?"N/A":null==t?null:t.tagHierarchy),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",null==t?null:t.tagName,"")}}const De=[{path:"",component:oe,canActivate:[_.i]},{path:"mentee-assessment",component:le,canActivate:[_.i],data:{breadcrumb:"Assessments"}},{path:"assessments-see-all/:assessments",component:(()=>{class o{initPay(){this.rzp1=new Razorpay(this.options),this.rzp1.open()}constructor(t,s,n,i,l,c,m){this.apiService=t,this.toaster=s,this.router=n,this.location=i,this.platformId=l,this.activatedrouter=c,this.titleService=m,this.gradeListForFilter=[],this.subjectListForFilter=[],this.selectedSubjectsForFilterAssessementsIntrestedIn=[],this.selectedTopicsForAssessementsIntrestedIn=[],this.selectedChaptersForAssessementsIntrestedIn=[],this.selectedArticleForAssessementsIntrestedIn=[],this.teachersFilterForAssessmentsThatMightBeInterestedFor=[],this.allSubjects=[],this.allChapters=[],this.allArticles=[],this.allTopics=[],this.selectedTagIds=[],this.selectedTagDto=[],this.selectedTeachers=[],this.allGrades=[],this.enableResposiveNessOfScreen=!1,this.getAssessmentDataRequest=new g.iE,this.isReset=!1,this.findAssessmentDto=new F._,this.numberOfRowsPerPage=5,this.currentPageNumber=0,this.p=[],this.dummyAddToCartAssessment=[],this.paymentOrder=new ae.m,this.addToCartArray=[],this.totalAmount=0,this.subjectIds=[],this.gradeIds=[],this.enrolledGrades=[],this.enrolledSubjects=[],this.enrolledTopics=[],this.enrolledSubTopics=[],this.enrolledTitles=[],this.topicIds=[],this.subTopicIds=[],this.isLoading=!1,this.maxRangePriceOfAssessements=100,this.options={key:"",amount:0,currency:"INR",name:"",description:"",image:"https://example.com/your_logo",order_id:"",handler:p=>{this.getPaymentConfirmation(p.razorpay_payment_id,p.razorpay_order_id,p.razorpay_signature)},prefill:{name:"",email:"",contact:""},notes:{address:"Razorpay Corporate Office"},theme:{color:"#F37254"}},this.settingsForTeacherFilter={singleSelection:!1,idField:"id",textField:"fullName",enableCheckAll:!1,selectAllText:"Select all",unSelectAllText:"UnSelect all",allowSearchFilter:!0,limitSelection:-1,clearSearchFilter:!0,maxHeight:197,itemsShowLimit:6,searchPlaceholderText:"Search Teachers",noDataAvailablePlaceholderText:"No Teachers Available",closeDropDownOnSelection:!1,showSelectedItemsAtTop:!1,defaultOpen:!1,allowRemoteDataSearch:!0},this.settingsForSubjectsFilter={singleSelection:!1,idField:"id",textField:"tagName",enableCheckAll:!1,selectAllText:"Select all",unSelectAllText:"UnSelect all",allowSearchFilter:!0,limitSelection:-1,clearSearchFilter:!0,maxHeight:197,itemsShowLimit:6,searchPlaceholderText:"Search Subject",noDataAvailablePlaceholderText:"No Subjects Available",closeDropDownOnSelection:!1,showSelectedItemsAtTop:!1,defaultOpen:!1,allowRemoteDataSearch:!0},this.settingsForTopicsFilter={singleSelection:!1,idField:"id",textField:"tagName",enableCheckAll:!1,selectAllText:"Select all",unSelectAllText:"UnSelect all",allowSearchFilter:!0,limitSelection:-1,clearSearchFilter:!0,maxHeight:197,itemsShowLimit:6,searchPlaceholderText:"Search Topic",noDataAvailablePlaceholderText:"No Topics Available",closeDropDownOnSelection:!1,showSelectedItemsAtTop:!1,defaultOpen:!1,allowRemoteDataSearch:!0},this.settingsForChapersFilter={singleSelection:!1,idField:"id",textField:"tagName",enableCheckAll:!1,selectAllText:"Select all",unSelectAllText:"UnSelect all",allowSearchFilter:!0,limitSelection:-1,clearSearchFilter:!0,maxHeight:197,itemsShowLimit:6,searchPlaceholderText:"Search Chapters",noDataAvailablePlaceholderText:"No Chapters Available",closeDropDownOnSelection:!1,showSelectedItemsAtTop:!1,defaultOpen:!1,allowRemoteDataSearch:!0},this.settingsForArticleFilter={singleSelection:!1,idField:"id",textField:"tagName",enableCheckAll:!1,selectAllText:"Select all",unSelectAllText:"UnSelect all",allowSearchFilter:!0,limitSelection:-1,clearSearchFilter:!0,maxHeight:197,itemsShowLimit:6,searchPlaceholderText:"Search Chapters",noDataAvailablePlaceholderText:"No Art
1icles Available",closeDropDownOnSelection:!1,showSelectedItemsAtTop:!1,defaultOpen:!1,allowRemoteDataSearch:!0},this.allTeachersForAssessemntsYouMightBeIntrestedIn=[],this.filterDifficlultLevels=[],this.onSearchShowData=p=>{(p&&p.target.value.length>=3||p&&0==p.target.value.length)&&(this.getAssessmentDataRequest.searchKey=p.target.value,this.getAssessmentDataRequest.pageNumber=this.currentPageNumber,"assessments"===this.assessmentvalue?this.upcomingAssessmentThatMightInterestYouIn():this.assessmentExcelled())},this.getCartDetailsRequest=new g.iE,this.cartDetails=[],this.titleService.setTitle("Dynamind/All Assessments")}ngOnInit(){this.isLoading=!0,(0,r.NF)(this.platformId)&&window.scrollTo(0,0),console.log(this.activatedrouter.snapshot.params.assessments),console.log("assessments"),this.assessmentvalue=this.activatedrouter.snapshot.params.assessments,"assessments"==this.assessmentvalue?(this.upcomingAssessmentThatMightInterestYouIn(),setTimeout(()=>{this.getAllTeachersForAssessmentsYouMightBeIntrestedIn(),this.getMaxPriceForAssessmentsMightBeIntrestedForYouIn()},1e3)):this.assessmentExcelled(),this.getAllTags(this.getAssessmentDataRequest.filterType="GRADE"),this.getAllTags(this.getAssessmentDataRequest.filterType="SUBJECT"),this.getAllTags(this.getAssessmentDataRequest.filterType="TOPIC"),this.getAllTags(this.getAssessmentDataRequest.filterType="CHAPTER"),this.getAllTags(this.getAssessmentDataRequest.filterType="ARTICLE"),this.hideRecaptcha(),(0,r.NF)(this.platformId)&&window.innerWidth<=991&&(this.enableResposiveNessOfScreen=!0),this.checkScreenRatio((0,r.NF)(this.platformId)?window.innerWidth:"")}assessmentExcelled(){this.apiService.getService(this.apiService.apiUrls.assessmentExcelled).subscribe(t=>{t&&200==t.statusCode&&t.data?(this.assessmentExcelledList=t.data,this.isLoading=!1):(this.isLoading=!1,this.toaster.show(t?.message,"Info"))},t=>{401==t.status?(this.isLoading=!1,this.toaster.show(t.message?t?.error?.message:"Something Went Wrong","Warning"),(0,r.NF)(this.platformId)&&(localStorage.clear(),window.location.href="/")):(this.isLoading=!1,this.toaster.show(t?.error?.message,"Info"))})}getAssessmentProfile(t){return t&&t?.photo&&null!=t?.photo?.fileId&&t?.photo?.filePreviewUrl?this.apiService.baseUrl+t.photo.filePreviewUrl:"./assets/assessment-image.png"}getAllTeachersForAssessmentsYouMightBeIntrestedIn(){this.isLoading=!0,this.getAssessmentDataRequest.pageSize=25,this.apiService.postService(this.apiService.apiUrls.upcomingAssessmentThatMightInterestInAllTeachers,this.getAssessmentDataRequest).subscribe(t=>{t&&200==t.statusCode&&t.data&&t.data.content?(this.allTeachersForAssessemntsYouMightBeIntrestedIn=t?.data?.content,this.isLoading=!1):(this.isLoading=!1,this.toaster.show(t?.message,"Info"))},t=>{401==t.status?(this.isLoading=!1,this.toaster.show(t.message?t?.error?.message:"Something Went Wrong","Warning"),(0,r.NF)(this.platformId)&&(localStorage.clear(),window.location.href="/")):(this.isLoading=!1,this.toaster.show(t?.error?.message,"Info"))})}getMaxPriceForAssessmentsMightBeIntrestedForYouIn(){this.isLoading=!0,this.getAssessmentDataRequest.pageSize=25,this.apiService.getService(this.apiService.apiUrls.maxPriceForUpcomingAssessmentThatMightInterestIn).subscribe(t=>{t&&200==t.statusCode&&t.data?this.maxPriceForAssessmentsMightBeIntrestedForYouIn=t.data:(this.toaster.show(t?.message,"Info"),this.isLoading=!1)},t=>{401==t.status?(this.isLoading=!1,this.toaster.show(t.message?t?.error?.message:"Something Went Wrong","Warning"),(0,r.NF)(this.platformId)&&(localStorage.clear(),window.location.href="/")):(this.isLoading=!1,this.toaster.show(t?.error?.message,"Info"))})}hideRecaptcha(){if((0,r.NF)(this.platformId)){const t=$(".grecaptcha-badge");if(t.length)return t.css({display:"none"});requestAnimationFrame(()=>this.hideRecaptcha())}}onFilterChange(t,s){this.getAssessmentDataRequest.filterType=s,this.getAssessmentDataRequest.searchKey=t,this.getAllTags(s),this.getAssessmentDataRequest.searchKey=""}onFilterChangeForSearchTeachers(t){if(t.length>=3){let s=t;this.getAssessmentDataRequest.pageNumber=this.currentPageNumber,this.getAssessmentDataRequest.searchKey=s,this.getAllTeachersForAssessmentsYouMightBeIntrestedIn()}else 0==t.length&&(this.getAssessmentDataRequest.searchKey=t,this.getAssessmentDataRequest.pageNumber=this.currentPageNumber,this.getAllTeachersForAssessmentsYouMightBeIntrestedIn());console.log(t)}onDropDownClose(t){}onItemSelect(t){}onDeSelect(t){}onSelectAll(t){}onDeSelectAll(t){}selectedOrUnSelectedtag(t,s){"SUBJECT"===s?t=this.allSubjects.filter(i=>i.id===t.id)[0]:"TOPIC"===s?t=this.allTopics.filter(i=>i.id===t.id)[0]:"CHAPTER"===s?t=this.allChapters.filter(i=>i.id===t.id)[0]:"ARTICLE"===s&&(t=this.allArticles.filter(i=>i.id===t.id)[0]);let n=this.selectedTagDto.findIndex(i=>i.id==t.id);-1==n?this.selectedTagDto.push(t):this.selectedTagDto.splice(n,1),this.applyFilterAndChildTagSelection(s)}applyFilterAndChildTagSelection(t){this.selectedTagIds=[];for(let s of this.selectedTagDto){let n=this.selectedTagIds.findIndex(i=>i===s.parentId);-1!=n&&this.selectedTagIds.splice(n,1),this.selectedTagIds.push(s.id)}"GRADE"===t?(this.getAllTags(this.getAssessmentDataRequest.filterType="SUBJECT"),this.getAllTags(this.getAssessmentDataRequest.filterType="TOPIC"),this.getAllTags(this.getAssessmentDataRequest.filterType="CHAPTER")):"SUBJECT"===t?(this.getAllTags(this.getAssessmentDataRequest.filterType="TOPIC"),this.getAllTags(this.getAssessmentDataRequest.filterType="CHAPTER"),this.getAllTags(this.getAssessmentDataRequest.filterType="ARTICLE")):"TOPIC"===t?(this.getAllTags(this.getAssessmentDataRequest.filterType="CHAPTER"),this.getAllTags(this.getAssessmentDataRequest.filterType="ARTICLE"),this.getAllTags(this.getAssessmentDataRequest.filterType="SUBJECT")):"CHAPTER"===t?(this.getAllTags(this.getAssessmentDataRequest.filterType="ARTICLE"),this.getAllTags(this.getAssessmentDataRequest.filterType="SUBJECT"),this.getAllTags(this.getAssessmentDataRequest.filterType="TOPIC")):"ARTICLE"===t&&(this.getAllTags(this.getAssessmentDataRequest.filterType="SUBJECT"),this.getAllTags(this.getAssessmentDataRequest.filterType="TOPIC"),this.getAllTags(this.getAssessmentDataRequest.filterType="CHAPTER"))}getAllTags(t){this.getAssessmentDataRequest.pageSize=25,this.getAssessmentDataRequest.filterTagIds=this.selectedTagIds,this.getAssessmentDataRequest.filterType=t,this.apiService.postService(this.apiService.apiUrls.getAllTags,this.getAssessmentDataRequest).subscribe(s=>{if(s&&200==s.statusCode&&s.data&&s.data.content){let n=s.data.content;n&&("GRADE"==t?this.allGrades=n:"SUBJECT"==t?this.allSubjects=n:"TOPIC"==t?this.allTopics=n:"CHAPTER"==t?this.allChapters=n:"ARTICLE"==t&&(this.allArticles=n))}else this.isLoading=!1,this.toaster.show(s?.message,"Info")},s=>{401==s.status?(this.isLoading=!1,this.toaster.show(s.message?s?.error?.message:"Something Went Wrong","Warning"),
1(0,r.NF)(this.platformId)&&(localStorage.clear(),window.location.href="/")):(this.isLoading=!1,this.toaster.show(s?.error?.message,"Info"))})}upcomingAssessmentThatMightInterestYouIn(){this.isLoading=!0,this.getAssessmentDataRequest.pageSize=25,this.apiService.postService(this.apiService.apiUrls.upcomingAssessmentThatMightInterestIn,this.getAssessmentDataRequest).subscribe(t=>{t&&200===t.statusCode&&(0,r.NF)(this.platformId)?(this.isReset||$("#filterSeeAll").modal("hide"),this.findAssessmentListData=t.data.content,this.totalPages=t?.data?.totalPages,this.isLoading=!1):(this.isLoading=!1,this.toaster.show(t?.message,"Info"))},t=>{401==t.status?(this.isLoading=!1,this.toaster.show(t.message?t?.error?.message:"Something Went Wrong","Warning"),(0,r.NF)(this.platformId)&&(localStorage.clear(),window.location.href="/")):(this.isLoading=!1,this.toaster.show(t?.error?.message,"Info"))})}getUserProfile(t){return t&&t.photo&&t.photo.filePreviewUrl?this.apiService.baseUrl+t.photo.filePreviewUrl:"./assets/assessment-image.png"}goBack(){this.location.back()}addToCart(t){this.isLoading=!0;let s=new T.s,n=new M.$,i=new v.l;n.id=t.id,i.assessmentDto=n,s.cartDtos.push(i),this.apiService.postService(this.apiService.apiUrls.addToCart,s).subscribe(l=>{l&&200===l.statusCode?(this.isLoading=!1,this.toaster.show(l?.message,"Success"),this.upcomingAssessmentThatMightInterestYouIn()):(this.isLoading=!1,this.toaster.show(l?.message,"Info"))},l=>{401==l.status?(this.isLoading=!1,this.toaster.show(l.message?l?.error?.message:"Something Went Wrong","Warning"),(0,r.NF)(this.platformId)&&(localStorage.clear(),window.location.href="/")):(this.isLoading=!1,this.toaster.show(l?.error?.message,"Info"))})}paymentNow(){this.paymentOrder.paymentOption="ONLINE",this.addToCartArray.forEach(s=>{this.paymentOrder.assessments.push({id:s.id,purchasedAmount:s.price})}),this.paymentOrder.amount=this.totalAmount,this.apiService.postService(this.apiService.apiUrls.paymentAndCurrency,this.paymentOrder).subscribe(s=>{s&&200==s.statusCode&&(this.options.name="Dynaminds",this.options.description="Assessment Fee",this.options.image="https://dynamind-public.s3.ap-south-1.amazonaws.com/dynamind_payment_logo.png",this.options.order_id=s.data.id,this.options.key=s.data.keyId,this.initPay(),this.toaster.success(s?.message))},s=>{401==s.status?(this.isLoading=!1,this.toaster.show(s.message?s?.error?.message:"Something Went Wrong","Warning"),(0,r.NF)(this.platformId)&&(localStorage.clear(),window.location.href="/")):(this.isLoading=!1,this.toaster.show(s?.error?.message,"Info"))})}getPaymentConfirmation(t,s,n){this.paymentOrder.razorpayPaymentId=t,this.paymentOrder.razorpayOrderId=s,this.paymentOrder.razorpaySignature=n,this.paymentOrder.amount=this.totalAmount,this.paymentOrder.currency=this.findAssessmentListData[0].currency,this.apiService.postService(this.apiService.apiUrls.paymentUpdate,this.paymentOrder).subscribe(i=>{i&&200==i.statusCode&&(0,r.NF)(this.platformId)&&(this.toaster.show(i.message,"Success"),window.location.replace(location.origin+"/navgination-bar/orders"))},i=>{401==i.status?(this.isLoading=!1,this.toaster.show(i.message?i?.error?.message:"Something Went Wrong","Warning"),(0,r.NF)(this.platformId)&&(localStorage.clear(),window.location.href="/")):(this.isLoading=!1,this.toaster.show(i?.error?.message,"Info"))})}paginate(t){this.getAssessmentDataRequest.pageNumber=t.page,this.upcomingAssessmentThatMightInterestYouIn()}getTotalRecords(){return this.totalPages*this.numberOfRowsPerPage}onDifficultLevelSelectForFilter(t,s){let n=this.getAssessmentDataRequest.difficultLevels.findIndex(i=>i===t);s&&-1==n?this.getAssessmentDataRequest.difficultLevels.push(t):!s&&n>=0&&this.getAssessmentDataRequest.difficultLevels.splice(n,1)}disabledResetButtonForFiltersAssessmentsYouMightBeIntrestedIn(){return 0==this.selectedTeachers.length&&0==this.selectedTagIds.length&&0==this.getAssessmentDataRequest.maxPrice}resetFilterForQuestionsForIntrestedIn(){(0,r.NF)(this.platformId)&&(this.getAssessmentDataRequest=new g.iE,this.selectedTagDto=[],this.selectedTagIds=[],this.filterDifficlultLevels=[],this.getAssessmentDataRequest.filterTagIds=[],this.selectedTeachers=[],this.upcomingAssessmentThatMightInterestYouIn(),$("input[type=checkbox]").prop("checked",!1),this.resetFilterMultiDropDownSelections())}resetFilterMultiDropDownSelections(){this.selectedSubjectsForFilterAssessementsIntrestedIn=[],this.selectedChaptersForAssessementsIntrestedIn=[],this.selectedTopicsForAssessementsIntrestedIn=[],this.selectedArticleForAssessementsIntrestedIn=[],this.teachersFilterForAssessmentsThatMightBeInterestedFor=[]}TeacherFilter(t){let s=this.selectedTeachers.findIndex(n=>n==t.id);-1==s?this.selectedTeachers.push(t.id):this.selectedTeachers.splice(s,1),console.log(this.selectedTeachers)}applyFilterForAssessmentYouMightIntrestedIn(){(0,r.NF)(this.platformId)&&(this.selectedTeachers.length>0&&(this.getAssessmentDataRequest.userIds=this.selectedTeachers),this.getAssessmentDataRequest.pageNumber=0,this.getAssessmentDataRequest.pageSize=25,"assessments"===this.assessmentvalue?(this.isLoading=!0,this.upcomingAssessmentThatMightInterestYouIn()):this.assessmentExcelled(),$("#filterSeeAll").modal("hide"))}
1totalAmountCount(){this.totalAmount=0,this.cartDetails.forEach(t=>{this.totalAmount=this.totalAmount+t.assessmentDto.price})}getCartDetails(){this.apiService.postService(this.apiService.apiUrls.getCartDetails,this.getCartDetailsRequest).subscribe(t=>{t&&200===t.statusCode&&(this.cartDetails=t.data&&null!=t.data.content?t.data.content:[],this.totalAmountCount())})}purchaseFreeAssessment(t){this.isLoading=!0,this.apiService.postService(this.apiService.apiUrls.freeAssessmentPurchase,{assessments:[{id:t.id}]}).subscribe(n=>{n&&200===n.statusCode?(this.isLoading=!1,this.toaster.show(n?.message,"Success"),this.isLoading=!0,this.upcomingAssessmentThatMightInterestYouIn(),this.getCartDetails()):this.toaster.show(n?.message,"Info")},n=>{401==n.status?(this.isLoading=!1,this.toaster.show(n.message?n?.error?.message:"Something Went Wrong","Warning")):(this.isLoading=!1,this.toaster.show(n?.error?.message,"Info"))})}getImageOfuser(t){return t&&t.publishedByUser&&t.publishedByUser.profilePicture?.filePreviewUrl?this.apiService.baseUrl+t.publishedByUser.profilePicture.filePreviewUrl:"./assets/assessment-image.png"}onResize(t){this.checkScreenRatio(t.target.innerWidth)}checkScreenRatio(t){this.enableResposiveNessOfScreen=t<=993}static#e=this.\u0275fac=function(s){return new(s||o)(e.\u0275\u0275directiveInject(D.s),e.\u0275\u0275directiveInject(P._W),e.\u0275\u0275directiveInject(h.F0),e.\u0275\u0275directiveInject(r.Ye),e.\u0275\u0275directiveInject(e.PLATFORM_ID),e.\u0275\u0275directiveInject(h.gz),e.\u0275\u0275directiveInject(O.Dx))};static#t=this.\u0275cmp=e.\u0275\u0275defineComponent({type:o,selectors:[["app-mentee-see-all-assessment"]],viewQuery:function(s,n){if(1&s&&(e.\u0275\u0275viewQuery(ce,5),e.\u0275\u0275viewQuery(me,5)),2&s){let i;e.\u0275\u0275queryRefresh(i=e.\u0275\u0275loadQuery())&&(n.paginator=i.first),e.\u0275\u0275queryRefresh(i=e.\u0275\u0275loadQuery())&&(n.subjectDropDown=i.first)}},hostBindings:function(s,n){1&s&&e.\u0275\u0275listener("resize",function(l){return n.onResize(l)},!1,e.\u0275\u0275resolveWindow)},inputs:{assessmentValue:"assessmentValue"},decls:67,vars:35,consts:[[4,"ngIf"],["class","mt-5",4,"ngIf"],["id","filterSeeAll","tabindex","-1","role","dialog","aria-labelledby","modelTitleId","aria-hidden","true",1,"modal","fade"],["role","document",1,"modal-dialog","modal
1-dialog-scrollable","modal-lg"],[1,"modal-content","modalContent"],["type","button","data-dismiss","modal","aria-label","Close",1,"close"],["aria-hidden","true",1,"d-flex","justify-content-end","mr-3","pt-3"],[1,"modal-body"],[1,"row"],[1,"col-12"],[1,"form-group"],[3,"data","settings","disabled","placeholder","ngModel","onFilterChange","onDropDownClose","onSelect","onDeSelect","ngModelChange"],["multiSelectForChaptersFilter",""],[1,"mb-2","ml-3"],["class","col-lg-4 col-xs-12 col-sm-12 col-md-4 col-xl-4",4,"ngFor","ngForOf"],[1,"row","mt-3"],[3,"settings","data","disabled","placeholder","ngModel","onFilterChange","onDropDownClose","onSelect","onDeSelect","onSelectAll","onDeSelectAll","ngModelChange"],[1,"col-lg-6"],[3,"data","settings","disabled","placeholder","ngModel","onFilterChange","onDropDownClose","onSelect","onDeSelect","onSelectAll","onDeSelectAll","ngModelChange"],["multiSelectForTopicsFilter",""],["multiSelectForArticlesFilter",""],[1,"mt-3"],["name","price","id","priceRangeInput","value","0",3,"min","disabled","max","ngModel","ngModelChange"],[1,"d-flex","justify-content-between","mx-3"],[1,"modal-footer"],[1,"d-flex","justify-content-end"],[1,"btn","btn-default","resetButton",3,"click"],[1,"btn","btn-info","SaveOrSubmitButtonClass","ml-3","text-light",2,"border-radius","20px !important","padding","0 30px",3,"click"],[1,"mt-5"],[1,"col-md-12"],["class","row",4,"ngIf"],["class","card",4,"ngIf"],["class","col-md-3 mt-3 mb-3",4,"ngFor","ngForOf"],[1,"col-md-3","mt-3","mb-3"],[1,"card","rounded","border"],[2,"height","100%"],[1,"img-fluid",2,"border-top-left-radius","20px","border-top-right-radius","20px","width","100%","height","200px",3,"src"],[1,"p-2"],[1,"mt-1","ml-2","txt-ellipsis",2,"font-weight","600","color","#1e3757","font-size","20px","text-transform","capitalize"],[1,"card"],[1,"card-body"],[1,"text-center"],["class","row mt-3",4,"ngIf"],[1,"col-sm-6","col-12","col-md-6"],["type","button",1,"btn","btn-info",3,"click"],[1,"col-sm-6","col-12","col-md-6","text-right","p-0"],[1,"row","my-2","my-sm-0","my-md-0","my-lg-0","my-xl-0"],[1,"col-sm-12","col-md-6","col-6","my-auto","p-0"],["type","text","placeholder","Search ...",1,"form-control","inputField",2,"border-radius","25px",3,"keyup"],[1,"col-sm-12","col-md-6","col-6","p-0","mt-sm-4","mt-md-0","paddingRight"],["type","button","data-toggle","modal","data-target","#filterSeeAll",1,"btn","btn-info","filterButtonClass"],["aria-hidden","true",1,"fa","fa-filter","filter"],[1,"displayAlignment","mb-3"],["type","button",1,"btn","btn-info","ml-3",3,"click"],[1,"ml-auto"],[1,"inner-addon","left-addon"],[1,"mr-3"],["class","col-md-4 col-lg-4 col-xl-3 col-12 mb-5 ",4,"ngFor","ngForOf"],[1,"col-md-4","col-lg-4","col-xl-3","col-12","mb-5"],[1,"dropdown",2,"width","100% !important"],[1,"card",2,"border-radius","20px"],[1,"cardClass4"],[1,"img-fluid",2,"margin-bottom","15px","border-top-right-radius","20px","border-top-left-radius","20px","width","100%","height","250px",3,"src"],[1,"dropdown"],["data-toggle","dropdown",1,"txt-ellipsis",2,"margin","0","font-weight","400","cursor","pointer"],[3,"title"],[1,"dropdown-menu","dropdownContentShow"],[2,"margin","0 35px"],[1,"fa","fa-star","checked",2,"color","#FCBB1D"],[1,"defaultColor"],[1,"row",2,"margin","0px 20px"],[1,"col-lg-6","col-xl-6","col-12"],[1,"dropdownBasedOnColor"],["class","txt-ellipsis",4,"ngFor","ngForOf"],[1,"col-lg-4","col-xl-3","col-12","p-0"],[1,"mr-2",2,"width","30px","height","30px","border-radius","50%",3,"src"],[1,"col-lg-8","col-xl-9","col-12","txt-ellipsis"],[1,"defaultColor","tagName",3,"title"],[1,"defaultColor","tagName"],[2,"margin","0px 35px"],[1,"tagName","defaultColor","txt-ellipsisForDuration",3,"title"],[1,"my-1"],[2,"color","#05ABD2"],[1,"card-footer","text-center"],["style","font-style: normal;font-weight: normal;font-size: 15.6132px;line-height: 21px;color: #1E3757;cursor: pointer;",3,"click",4,"ngIf"],[1,"txt-ellipsis"],[2,"font-style","normal","font-weight","normal","font-size","15.6132px","line-height","21px","color","#1E3757","cursor","pointer",3,"click"],["src","/assets/mentee-images/shopping-cart.svg","alt","","width","20px","height","20px"],[1,"col-md-12","text-right","mb-4"],[3,"rows","totalRecords","onPageChange"],["pp",""],[1,"col-lg-4","col-xs-12","col-sm-12","col-md-4","col-xl-4"],[1,"custom-control","custom-checkbox"],["type","checkbox",1,"custom-control-input",3,"id","name","click"],["data-toggle","tooltip","data-
1placement","top",1,"custom-control-label",3,"for","title"]],template:function(s,n){1&s&&(e.\u0275\u0275template(0,pe,1,0,"app-loader",0),e.\u0275\u0275element(1,"app-bread-crumb"),e.\u0275\u0275template(2,fe,7,2,"ng-container",1),e.\u0275\u0275template(3,Me,10,5,"ng-container",1),e.\u0275\u0275elementStart(4,"div",2)(5,"div",3)(6,"div",4)(7,"button",5)(8,"span",6),e.\u0275\u0275text(9,"\xd7"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(10,"div",7)(11,"div",8)(12,"div",9)(13,"div",10)(14,"h6"),e.\u0275\u0275text(15,"Teacher"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(16,"ng-multiselect-dropdown",11,12),e.\u0275\u0275listener("onFilterChange",function(l){return n.onFilterChangeForSearchTeachers(l)})("onDropDownClose",function(l){return n.onDropDownClose(l)})("onSelect",function(l){return n.TeacherFilter(l)})("onDeSelect",function(l){return n.TeacherFilter(l)})("ngModelChange",function(l){return n.teachersFilterForAssessmentsThatMightBeInterestedFor=l}),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(18,"h6",13),e.\u0275\u0275text(19,"Grade"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(20,"div",8),e.\u0275\u0275template(21,Fe,5,5,"div",14),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(22,"div",15)(23,"div",9)(24,"div",10)(25,"h6"),e.\u0275\u0275text(26,"Subject"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(27,"ng-multiselect-dropdown",16),e.\u0275\u0275listener("onFilterChange",function(l){return n.onFilterChange(l,"SUBJECT")})("onDropDownClose",function(l){return n.onDropDownClose(l)})("onSelect",function(l){return n.selectedOrUnSelectedtag(l,"SUBJECT")})("onDeSelect",function(l){return n.selectedOrUnSelectedtag(l,"SUBJECT")})("onSelectAll",function(l){return n.selectedOrUnSelectedtag(l,"SUBJECT")})("onDeSelectAll",function(l){return n.onDeSelectAll(l)})("ngModelChange",function(l){return n.selectedSubjectsForFilterAssessementsIntrestedIn=l}),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(28,"div",8)(29,"div",17)(30,"div",10)(31,"h6"),e.\u0275\u0275text(32,"Topic"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(33,"ng-multiselect-dropdown",18,19),e.\u0275\u0275listener("onFilterChange",function(l){return n.onFilterChange(l,"TOPIC")})("onDropDownClose",function(l){return n.onDropDownClose(l)})("onSelect",function(l){return n.selectedOrUnSelectedtag(l,"TOPIC")})("onDeSelect",function(l){return n.selectedOrUnSelectedtag(l,"TOPIC")})("onSelectAll",function(l){return n.selectedOrUnSelectedtag(l,"TOPIC")})("onDeSelectAll",function(l){return n.onDeSelectAll(l)})("ngModelChange",function(l){return n.selectedTopicsForAssessementsIntrestedIn=l}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(35,"div",17)(36,"div",10)(37,"h6"),e.\u0275\u0275text(38,"Chapters"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(39,"ng-multiselect-dropdown",18,12),e.\u0275\u0275listener("onFilterChange",function(l){return n.onFilterChange(l,"CHAPTER")})("onDropDownClose",function(l){return n.onDropDownClose(l)})("onSelect",function(l){return n.selectedOrUnSelectedtag(l,"CHAPTER")})("onDeSelect",function(l){return n.selectedOrUnSelectedtag(l,"CHAPTER")})("onSelectAll",function(l){return n.selectedOrUnSelectedtag(l,"CHAPTER")})("onDeSelectAll",function(l){return n.onDeSelectAll(l)})("ngModelChange",function(l){return n.selectedChaptersForAssessementsIntrestedIn=l}),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(41,"div",8)(42,"div",17)(43,"div",10)(44,"h6"),e.\u0275\u0275text(45,"Article"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(46,"ng-multiselect-dropdown",18,20),e.\u0275\u0275listener("onFilterChange",function(l){return n.onFilterChange(l,"ARTICLE")})("onDropDownClose",function(l){return n.onDropDownClose(l)})("onSelect",function(l){return n.selectedOrUnSelectedtag(l,"ARTICLE")})("onDeSelect",function(l){return n.selectedOrUnSelectedtag(l,"ARTICLE")})("onSelectAll",function(l){return n.selectedOrUnSelectedtag(l,"ARTICLE")})("onDeSelectAll",function(l){return n.onDeSelectAll(l)})("ngModelChange",function(l){return n.selectedArticleForAssessementsIntrestedIn=l}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275element(48,"div",17),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(49,"div",8)(50,"div",9)(51,"div")(52,"h6",21),e.\u0275\u0275text(53),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(54,"div")(55,"p-slider",22),e.\u0275\u0275listener("ngModelChange",function(l){return n.getAssessmentDataRequest.maxPrice=l}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(56,"div",23)(57,"div"),e.\u0275\u0275text(58,"Free"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(59,"div"),e.\u0275\u0275text(60),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275elementStart(61,"div",24)(62,"div",25)(63,"button",26),e.\u0275\u0275listener("click",function(){return n.resetFilterForQuestionsForIntrestedIn(),n.isReset=!0}),e.\u0275\u0275text(64," Reset "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(65,"button",27),e.\u0275\u0275listener("click",function(){return n.applyFilterForAssessmentYouMightIntrestedIn(),n.isReset=!1}),e.\u0275\u0275text(66," Apply "),e.\u0275\u0275elementEnd()()()()()()),2&s&&(e.\u0275\u0275property("ngIf",n.isLoading),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf","excelled-assessment"==n.assessmentvalue),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf","assessments"==n.assessmentvalue),e.\u0275\u0275advance(13),e.\u0275\u0275property("data",n.allTeachersForAssessemntsYouMightBeIntrestedIn)("settings",n.settingsForTeacherFilter)("disabled",!1)("placeholder","Select Teacher")("ngModel",n.teachersFilterForAssessmentsThatMightBeInterestedFor),e.\u0275\u0275advance(5),e.\u0275\u0275property("ngForOf",n.allGrades),e.\u0275\u0275advance(6),e.\u0275\u0275property("settings",n.settingsForSubjectsFilter)("data",n.allSubjects)("disabled",!1)("placeholder","Select Subject")("ngModel",n.selectedSubjectsForFilterAssessementsIntrestedIn),e.\u0275\u0275advance(6),e.\u0275\u0275property("data",n.allTopics)("settings",n.settingsForTopicsFilter)("disabled",!1)("placeholder","Select Topics")("ngModel",n.selectedTopicsForAssessementsIntrestedIn),e.\u0275\u0275advance(6),e.\u0275\u0275property("data",n.allChapters)("settings",n.settingsForChapersFilter)("disabled",!1)("placeholder","Select Chapters")("ngModel",n.selectedChaptersForAssessementsIntrestedIn),e.\u0275\u0275advance(7),e.\u0275\u0275property("data",n.allArticles)("settings",n.settingsForArticleFilter)("disabled",!1)("placeholder","Select Article")("ngModel",n.selectedArticleForAssessementsIntrestedIn),e.\u0275\u0275advance(7),e.\u0275\u0275textInterpolate1("Price range ",n.getAssessmentDataRequest.maxPrice," "),e.\u0275\u0275advance(2),e.\u0275\u0275property("min",0)("disabled",0===n.maxPriceForAssessmentsMightBeIntrestedForYouIn)("max",null==n.maxPriceForAssessmentsMightBeIntrestedForYouIn?"N/A":n.maxPriceForAssessmentsMightBeIntrestedForYouIn)("ngModel",n.getAssessmentDataRequest.maxPrice),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1("\u20b9",null==n.maxPriceForAssessmentsMightBeIntrestedForYouIn?"N/A":n.maxPriceForAssessmentsMightBeIntrestedForYouIn,""))},dependencies:[r.sg,r.O5,u.JJ,u.On,A.D,re.R,de.N,x.OP,C.iR,r.rS],styles:['.row[_ngcontent-%COMP%]{margin:0;padding:0}.dropdown-content[_ngcontent-%COMP%]{border-radius:10px;margin:10px;padding:20px;
1display:none;position:absolute;right:0;background-color:#fff;min-width:300px;box-shadow:0 8px 16px #0003;z-index:9999;bottom:87px}.inputField[_ngcontent-%COMP%]{position:relative;left:110px}.dropdownBasedOnColor[_ngcontent-%COMP%]{color:#4f4f4f;margin:5px 0;font-weight:540}.defaultColor[_ngcontent-%COMP%]{color:#1e3757}.tagName[_ngcontent-%COMP%]{font-weight:800}.txt-ellipsisForDuration[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;max-width:300px;white-space:nowrap}.resetButton[_ngcontent-%COMP%]{border:2.13514px solid #8796A8;border-radius:20px;color:#8796a8;padding:8px 30px;font-weight:900}.dropdownContentShow[_ngcontent-%COMP%]{min-width:400px;box-shadow:0 3px 6px #0000003d;position:absolute!important;top:20px!important;left:20px!important;padding:30px 0!important}.dropdownContentShow[_ngcontent-%COMP%]:after{content:" ";position:absolute;top:-46px;left:10%;border-width:22px;border-style:dashed;border-color:transparent transparent #f0f0f0 transparent}.txt-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;max-width:150px;white-space:nowrap}.dropdown-content[_ngcontent-%COMP%]{min-width:500px!important}.dropdown[_ngcontent-%COMP%]{position:relative;display:inline-block}.dropdown-content[_ngcontent-%COMP%]{border-radius:10px;margin:10px;padding:20px;display:none;position:absolute;right:0;background-color:#fff;min-width:300px;box-shadow:0 8px 16px #0003;z-index:999;bottom:87px}.table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#000!important;background-color:#f1f4f8}.table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-bottom:none!important;font-style:normal!important;font-weight:400!important;font-size:16px!important;line-height:19px!important;color:#8796a8!important}tbody[_ngcontent-%COMP%]{background:#f1f4f8!important}.dropdown[_ngcontent-%COMP%]:hover .dropdown-content[_ngcontent-%COMP%]{display:block}.heytooltip[_ngcontent-%COMP%]{font-weight:500}.displayAlignment[_ngcontent-%COMP%]{display:flex}.dropdown-content[_ngcontent-%COMP%]:after{content:" ";position:absolute;top:100%;left:50%;border-width:15px;border-style:solid;border-color:#fff transparent transparent transparent}.dropdown-content[_ngcontent-%COMP%]{min-width:400px!important}.filterModalTextColor[_ngcontent-%COMP%]{color:#666}.mng-search[_ngcontent-%COMP%]{padding:6px 40px 6px 18px!important;border-radius:5px;border:1px solid rgba(0,0,0,.2509803922);position:relative}.mng-search[_ngcontent-%COMP%]:focus{border:1px solid rgba(0,0,0,.2509803922)!important;outline:none!important}.enrollSearch[_ngcontent-%COMP%]{position:absolute;right:30px;top:25px}.card-footer[_ngcontent-%COMP%]{background:#fff;border-bottom-left-radius:20px;border-bottom-right-radius:20px}h3[_ngcontent-%COMP%]{font-style:normal!important;font-weight:700!important;font-size:22px!important;line-height:31px!important;color:#1e3757!important}@media screen and (min-width: 280px) and (max-width: 360px){.txt-ellipsis[_ngcontent-%COMP%]{max-width:190px}.inputField[_ngcontent-%COMP%]{position:relative;left:15px}.paddingRight[_ngcontent-%COMP%]{position:relative;right:15px}}@media screen and (min-width: 360px) and (max-width: 420px){.txt-ellipsis[_ngcontent-%COMP%]{max-width:250px}.inputField[_ngcontent-%COMP%]{position:relative;left:15px}.paddingRight[_ngcontent-%COMP%]{position:relative;right:15px}}@media screen and (min-width: 421px) and (max-width: 480px){.txt-ellipsis[_ngcontent-%COMP%]{max-width:300px}.inputField[_ngcontent-%COMP%]{position:relative;left:15px}.paddingRight[_ngcontent-%COMP%]{position:relative;right:15px}}@media screen and (min-width: 481px) and (max-width: 530px){.txt-ellipsis[_ngcontent-%COMP%]{max-width:330px}.inputField[_ngcontent-%COMP%]{position:relative;left:15px}.paddingRight[_ngcontent-%COMP%]{position:relative;right:15px}}@media screen and (min-width: 531px) and (max-width: 575px){.txt-ellipsis[_ngcontent-%COMP%]{max-width:350px}.inputField[_ngcontent-%COMP%]{position:relative;left:15px}.paddingRight[_ngcontent-%COMP%]{position:relative;right:15px}}@media screen and (min-width: 576px) and (max-width: 610px){.txt-ellipsis[_ngcontent-%COMP%]{max-width:360px}.inputField[_ngcontent-%COMP%]{position:relative;
1left:-15px;top:0}.filterButtonClass[_ngcontent-%COMP%]{padding:9px 20px}.paddingRight[_ngcontent-%COMP%]{padding-right:1rem!important}}@media screen and (min-width: 611px) and (max-width: 641px){.txt-ellipsis[_ngcontent-%COMP%]{max-width:365px}.inputField[_ngcontent-%COMP%]{position:relative;left:-15px;top:0}.filterButtonClass[_ngcontent-%COMP%]{padding:9px 20px}.paddingRight[_ngcontent-%COMP%]{padding-right:1rem!important}}@media screen and (min-width: 642px) and (max-width: 672px){.txt-ellipsis[_ngcontent-%COMP%]{max-width:385px}.inputField[_ngcontent-%COMP%]{position:relative;left:-15px;top:0}.filterButtonClass[_ngcontent-%COMP%]{padding:9px 20px}.paddingRight[_ngcontent-%COMP%]{padding-right:1rem!important}}@media screen and (min-width: 673px) and (max-width: 703px){.txt-ellipsis[_ngcontent-%COMP%]{max-width:425px}.inputField[_ngcontent-%COMP%]{position:relative;left:-15px;top:0}.paddingRight[_ngcontent-%COMP%]{padding-right:1rem!important}}@media screen and (min-width: 704px) and (max-width: 734px){.txt-ellipsis[_ngcontent-%COMP%]{max-width:500px}.inputField[_ngcontent-%COMP%]{position:relative;left:-15px;top:0}.paddingRight[_ngcontent-%COMP%]{padding-right:1rem!important}}@media screen and (min-width: 735px) and (max-width: 767px){.txt-ellipsis[_ngcontent-%COMP%]{max-width:510px}.inputField[_ngcontent-%COMP%]{position:relative;left:-15px;top:0}.paddingRight[_ngcontent-%COMP%]{padding-right:1rem!important}}@media screen and (min-width: 768px) and (max-width: 830px){.txt-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;max-width:125px;white-space:nowrap}.inputField[_ngcontent-%COMP%]{position:relative;left:50px;top:0}.paddingRight[_ngcontent-%COMP%]{padding-right:1rem!important}}@media screen and (min-width: 831px) and (max-width: 860px){.txt-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;max-width:140px;white-space:nowrap}.inputField[_ngcontent-%COMP%]{position:relative;left:60px;top:0}.paddingRight[_ngcontent-%COMP%]{padding-right:1rem!important}}@media screen and (min-width: 861px) and (max-width: 890px){.txt-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;max-width:150px;white-space:nowrap}.inputField[_ngcontent-%COMP%]{position:relative;left:65px;top:0}.paddingRight[_ngcontent-%COMP%]{padding-right:1rem!important}}@media screen and (min-width: 891px) and (max-width: 921px){.txt-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;max-width:160px;white-space:nowrap}.inputField[_ngcontent-%COMP%]{position:relative;left:75px;top:0}.paddingRight[_ngcontent-%COMP%]{padding-right:1rem!important}}@media screen and (min-width: 922px) and (max-width: 952px){.txt-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;max-width:175px;white-space:nowrap}.inputField[_ngcontent-%COMP%]{position:relative;left:85px;top:0}.paddingRight[_ngcontent-%COMP%]{padding-right:1rem!important}}@media screen and (min-width: 953px) and (max-width: 991px){.txt-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;max-width:180px;white-space:nowrap}.inputField[_ngcontent-%COMP%]{position:relative;left:90px;top:0}.paddingRight[_ngcontent-%COMP%]{padding-right:1rem!important}}@media screen and (min-width: 992px) and (max-width: 1099px){.txt-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;max-width:190px;white-space:nowrap}.inputField[_ngcontent-%COMP%]{position:relative;left:-10px;top:0}}@media screen and (min-width: 1100px) and (max-width: 1199px){.txt-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;max-width:230px;white-space:nowrap}.inputField[_ngcontent-%COMP%]{position:relative;left:-10px;top:0}}@media screen and (min-width: 1200px) and (max-width: 1299px){.txt-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;max-width:210px;white-space:nowrap}.inputField[_ngcontent-%COMP%]{position:relative;left:-10px;top:0}}@media screen and (min-width: 1300px) and (max-width: 1399px){.txt-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;max-width:210px;white-space:nowrap}.inputField[_ngcontent-%COMP%]{position:relative;
1left:-10px;top:0}}@media screen and (min-width: 1400px) and (max-width: 1499px){.txt-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;max-width:270px;white-space:nowrap}.inputField[_ngcontent-%COMP%]{position:relative;left:-10px;top:0}}@media screen and (min-width: 1500px) and (max-width: 1599px){.txt-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;max-width:270px;white-space:nowrap}.inputField[_ngcontent-%COMP%]{position:relative;left:-10px;top:0}}@media screen and (min-width: 1600px) and (max-width: 1799px){.txt-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;max-width:310px;white-space:nowrap}.inputField[_ngcontent-%COMP%]{position:relative;left:-10px;top:0}}@media screen and (min-width: 1800px) and (max-width: 2600px){.txt-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;max-width:350px;white-space:nowrap}.inputField[_ngcontent-%COMP%]{position:relative;left:-10px;top:0}} .ui-slider.ui-slider-horizontal{margin:18px 7px 7px!important} body .ui-slider .ui-slider-range{background:linear-gradient(90deg,#10C69B 23.49%,#03799C 72.57%)!important} body .ui-slider .ui-slider-handle:focus{box-shadow:none!important} body .ui-slider:not(.ui-state-disabled) .ui-slider-handle:hover{border:3px solid #fff!important;background:linear-gradient(90deg,#10C69B 23.49%,#03799C 72.57%)!important} body .ui-slider .ui-slider-handle{background:linear-gradient(90deg,#10C69B 23.49%,#03799C 72.57%)!important;border:3px solid #fff!important;height:1.3em!important;width:1.3em!important} body .ui-slider.ui-slider-horizontal .ui-slider-handle{margin-top:-.75em}']})}return o})(),canActivate:[_.i],data:{breadcrumb:"Interested Assessments"}}];let Pe=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=e.\u0275\u0275defineNgModule({type:o});static#n=this.\u0275inj=e.\u0275\u0275defineInjector({imports:[h.Bz.forChild(De),h.Bz]})}return o})();var Oe=d(38314);let ye=(()=>{class o{static#e=this.\u0275fac=function(s){return new(s||o)};static#t=this.\u0275mod=e.\u0275\u0275defineNgModule({type:o});static#n=this.\u0275inj=e.\u0275\u0275defineInjector({imports:[r.ez,Pe,u.u5,u.UX,A.U,Oe.m,x.ZQ.forRoot(),C.JH]})}return o})()}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.