1"use strict";(self.webpackChunkdemo1_app=self.webpackChunkdemo1_app||[]).push([[5362],{12678:(K,P,c)=>{c.d(P,{W:()=>J});var g=c(25309),o=c(5e3),D=c(90089),w=c(93075),S=c(66398),U=c(70900),L=c(74202),M=c(22313),R=c(57201),F=c(69808),B=c(75537),h=c(77030);function C(_,y){1&_&&(o.\u0275\u0275elementStart(0,"div",6),o.\u0275\u0275elementStart(1,"h3",7),o.\u0275\u0275text(2,"Getting Started"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementEnd())}const E=function(_){return{width:"100%",height:_}};function v(_,y){if(1&_){const p=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"div",9),o.\u0275\u0275elementStart(1,"ng-image-slider",10),o.\u0275\u0275listener("imageClick",function(){return o.\u0275\u0275restoreView(p),o.\u0275\u0275nextContext(2).videoOpen()}),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementEnd()}if(2&_){const p=o.\u0275\u0275nextContext(2);o.\u0275\u0275advance(1),o.\u0275\u0275property("videoAutoPlay",!0)("showVideoControls",!0)("images",p.videoObject)("imageSize",o.\u0275\u0275pureFunction1(4,E,p.innerHeight-200))}}function I(_,y){if(1&_&&(o.\u0275\u0275elementStart(0,"div",1),o.\u0275\u0275template(1,v,2,6,"div",8),o.\u0275\u0275elementEnd()),2&_){const p=o.\u0275\u0275nextContext();o.\u0275\u0275advance(1),o.\u0275\u0275property("ngIf",""==p.sub_module_id)}}function A(_,y){if(1&_){const p=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"div",11),o.\u0275\u0275listener("click",function(){const e=o.\u0275\u0275restoreView(p),u=e.$implicit,b=e.index;return o.\u0275\u0275nextContext().menuClick(u,b)}),o.\u0275\u0275element(1,"a",12),o.\u0275\u0275elementStart(2,"div",13),o.\u0275\u0275elementStart(3,"div",14),o.\u0275\u0275elementStart(4,"h5"),o.\u0275\u0275text(5,"STEP"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(6,"h2"),o.\u0275\u0275text(7),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(8,"div",15),o.\u0275\u0275elementStart(9,"div",16),o.\u0275\u0275elementStart(10,"h4"),o.\u0275\u0275text(11),o.\u0275\u0275elementEnd(),o.\u0275\u0275element(12,"p",17),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementEnd()}if(2&_){const p=y.$implicit,d=y.index,e=o.\u0275\u0275nextContext();o.\u0275\u0275classProp("d-none","Accordion"==e.layout||e.videoObject)("cursor-pointer",""!=p.redirect_url),o.\u0275\u0275advance(1),o.\u0275\u0275propertyInterpolate1("id","getting_",d,""),o.\u0275\u0275propertyInterpolate("routerLink",p.redirect_url),o.\u0275\u0275advance(6),o.\u0275\u0275textInterpolate1(" ",d<9?"0"+(d+1):d+1,""),o.\u0275\u0275advance(4),o.\u0275\u0275textInterpolate(p.sub_title),o.\u0275\u0275advance(1),o.\u0275\u0275property("innerHTML",p.sub_description,o.\u0275\u0275sanitizeHtml)}}function T(_,y){if(1&_&&o.\u0275\u0275element(0,"img",32),2&_){const p=o.\u0275\u0275nextContext().$implicit;o.\u0275\u0275propertyInterpolate("src",p.sub_icon,o.\u0275\u0275sanitizeUrl)}}function Q(_,y){if(1&_&&(o.\u0275\u0275elementStart(0,"mat-expansion-panel",21),o.\u0275\u0275elementStart(1,"mat-expansion-panel-header"),o.\u0275\u0275elementStart(2,"div",22),o.\u0275\u0275elementStart(3,"div",23),o.\u0275\u0275elementStart(4,"div",24),o.\u0275\u0275template(5,T,1,1,"img",25),o.\u0275\u0275elementStart(6,"div",26),o.\u0275\u0275elementStart(7,"h4",27),o.\u0275\u0275text(8),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementEnd(),o.\u0275\u0275element(9,"div",28),o.\u0275\u0275elementStart(10,"div",29),o.\u0275\u0275elementStart(11,"div",30),o.\u0275\u0275element(12,"div",31),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementEnd()),2&_){const p=y.$implicit;o.\u0275\u0275property("expanded",!!y.first),o.\u0275\u0275advance(5),o.\u0275\u0275property("ngIf",p.sub_icon),o.\u0275\u0275advance(3),o.\u0275\u0275textInterpolate1(" ",p.sub_title,""),o.\u0275\u0275advance(4),o.\u0275\u0275property("innerHTML",p.sub_description,o.\u0275\u0275sanitizeHtml)}}function z(_,y){if(1&_&&(o.\u0275\u0275elementStart(0,"div",18),o.\u0275\u0275elementStart(1,"mat-accordion",19),o.\u0275\u0275template(2,Q,13,4,"mat-expansion-panel",20),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementEnd()),2&_){const p=o.\u0275\u0275nextContext();o.\u0275\u0275advance(2),o.\u0275\u0275property("ngForOf",p.records)}}let J=(()=>{class _{constructor(p,d,e,u,b,k,V){this.userService=p,this.fb=d,this.subheader=e,this.apiService=u,this.router=b,this.sanitizer=k,this.moengageService=V,this.isReadMore=!0,this.layout="",this.sub_module_id="",this.tab_sections="",this.sop_doc_type="",this.videoObject=""}onResize(p){this.innerWidth=window.innerWidth,this.innerHeight=window.innerHeight}ngOnInit(){if(this.innerWidth=window.innerWidth,this.innerHeight=window.innerHeight,console.log(this.innerHeight,window),""==this.sub_module_id||null==this.sub_module_id)setTimeout(()=>{this.subheader.setTitle(localStorage.getItem("module_name")),this.subheader.setBreadcrumbs([{title:localStorage.getItem("module_name"),linkText:localStorage.getItem("module_name"),linkPath:"/"+localStorage.getItem("page_name")}])},1),this.moengageService.updateData("Module Clicked",{ModuleName:localStorage.getItem("module_name"),TabName:"Getting Started"}),this.userTabs=localStorage.getItem("tab_sections")?JSON.parse(localStorage.getItem("tab_sections")):[],this.page_name=localStorage.getItem("page_name")?localStorage.getItem("page_name"):"",this.module_id=localStorage.getItem("module_id")?parseInt(localStorage.getItem("module_id")):0;else{setTimeout(()=>{this.subheader.setTitle(localStorage.getItem("module_name")),this.subheader.setBreadcrumbs([{title:localStorage.getItem("module_name"),linkText:localStorage.getItem("module_name"),linkPath:"/"+localStorage.getItem("page_name")}])},1);let p=this.router.url;this.module_id=this.sub_module_id,this.page_name=p.split("/")[1],this.userTabs=this.tab_sections?this.tab_sections:[]}this.getDetails()}getDetails(){const p={module:this.module_id,essay_type:this.sop_doc_type,img_ratio:"1920_1080"};""==this.sop_doc_type&&delete p.essay_type,this.apiService.post_with_token("FAQ/getInstructions",p).subscribe(d=>{d.instruction_video&&d.featured_image&&(this.videoObject=[{video:d.instruction_video,posterImage:d.featured_image,title:""}]),this.layout=d.layout,this.records=d.data,g.d.tabs.find(u=>u.title_name===this.page_name);for(let u in this.records)this.records[u].isReadMore=!0,this.records[u].redirect_url="",this.records[u].sub_description=this.sanitizer.bypassSecurityTrustHtml(this.records[u].sub_description),"gpa_form"==this.records[u].instruction_tab?(this.records[u].instruction_tab="gpa-calculations",this.records[u].redirect_url="/gpa/gpa-calculations"):this.records[u].instruction_tab&&"null"!=this.records[u].instruction_tab&&("chatbox"==this.records[u].instruction_tab?this.records[u].redirect_url="/"+localStorage.getItem("page_name")+"/chat":"student_profile"==this.records[u].instruction_tab||"student_profile"==this.records[u].instruction_tab?this.records[u].redirect_url="/profile/personal-info":"shortedlisted_universities"==this.records[u].instruction_tab&&(this.records[u].redirect_url="/"+localStorage.getItem("page_name")+"/shortlisted-universities"))},d=>{this.apiService.toastErrorMsg(d)})}menuClick(p,d){if(""!=p.redirect_url){let e=document.getElementById("getting_"+d).getAttribute("href");this.router.navigateByUrl(e)}}showText(p){p.isReadMore=!p.isReadMore}
1videoOpen(){"Education Loan Assistance"==localStorage.getItem("module_name")&&this.moengageService.updateData("Education Loan Video Clicks",{}),"Apply to Universities"==localStorage.getItem("module_name")&&this.moengageService.updateData("Apply to University Video Clicks",{})}}return _.\u0275fac=function(p){return new(p||_)(o.\u0275\u0275directiveInject(D.e),o.\u0275\u0275directiveInject(w.qu),o.\u0275\u0275directiveInject(S.b),o.\u0275\u0275directiveInject(U.s),o.\u0275\u0275directiveInject(L.F0),o.\u0275\u0275directiveInject(M.DomSanitizer),o.\u0275\u0275directiveInject(R._))},_.\u0275cmp=o.\u0275\u0275defineComponent({type:_,selectors:[["app-getting-started-module"]],hostBindings:function(p,d){1&p&&o.\u0275\u0275listener("resize",function(u){return d.onResize(u)},!1,o.\u0275\u0275resolveWindow)},inputs:{sub_module_id:"sub_module_id",tab_sections:"tab_sections",sop_doc_type:"sop_doc_type"},decls:6,vars:4,consts:[[1,"card-body","p-25s"],[1,"row"],["class","col-12 ",4,"ngIf"],["class","row ",4,"ngIf"],["class","row step-follow",3,"d-none","cursor-pointer","click",4,"ngFor","ngForOf"],["class","col-12 faq-list ur-details universities-list myshortlist-universities university-listview pl-0 pr-0 content-css ",4,"ngIf"],[1,"col-12"],[1,"mb-5","bluetxt-clr"],["class","col-12 thumbnilsimg ",4,"ngIf"],[1,"col-12","thumbnilsimg"],[3,"videoAutoPlay","showVideoControls","images","imageSize","imageClick"],[1,"row","step-follow",3,"click"],["hidden","",3,"id","routerLink"],[1,"col-md-2"],[1,"steps"],[1,"col-md-10"],[1,"step-desc"],[3,"innerHTML"],[1,"col-12","faq-list","ur-details","universities-list","myshortlist-universities","university-listview","pl-0","pr-0","content-css"],["multi","true"],[3,"expanded",4,"ngFor","ngForOf"],[3,"expanded"],[1,"my-panel"],[1,"row","ml-0","align-items-center"],[1,"col-12","d-flex","align-items-center","pl-1"],["class","mr-5 g_img",3,"src",4,"ngIf"],[1,"pr-3"],[1,"mb-0"],[1,"row","mt-3","mb-3"],[1,"row","mt-5"],[1,"col-12","pl-8","pr-8","pb-7"],[1,"last-p-btm0",3,"innerHTML"],[1,"mr-5","g_img",3,"src"]],template:function(p,d){1&p&&(o.\u0275\u0275elementStart(0,"div",0),o.\u0275\u0275elementStart(1,"div",1),o.\u0275\u0275template(2,C,3,0,"div",2),o.\u0275\u0275elementEnd(),o.\u0275\u0275template(3,I,2,1,"div",3),o.\u0275\u0275template(4,A,13,9,"div",4),o.\u0275\u0275template(5,z,3,1,"div",5),o.\u0275\u0275elementEnd()),2&p&&(o.\u0275\u0275advance(2),o.\u0275\u0275property("ngIf",""==d.sub_module_id),o.\u0275\u0275advance(1),o.\u0275\u0275property("ngIf",d.videoObject),o.\u0275\u0275advance(1),o.\u0275\u0275property("ngForOf",d.records),o.\u0275\u0275advance(1),o.\u0275\u0275property("ngIf","Accordion"==d.layout&&!d.videoObject))},directives:[F.NgIf,F.NgForOf,B.sN,L.yS,h.pp,h.ib,h.yz],styles:['.limitTextHeight[_ngcontent-%COMP%]{height:0px;overflow:hidden}.readmorelink[_ngcontent-%COMP%]{position:absolute;content:"";right:32px;bottom:15px}.mat-expansion-panel-header[_ngcontent-%COMP%]{background:rgba(0,0,0,.04)!important}.universities-list[_ngcontent-%COMP%] .mat-expansion-panel-header[_ngcontent-%COMP%]{height:50px!important;padding:0 24px 0 16px}.g_img[_ngcontent-%COMP%]{width:35px}.ul-content[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding-left:15px!important} .ng-image-fullscreen-view .lightbox-wrapper{width:93%!important;left:6%!important;margin:0 auto} .ng-image-fullscreen-view .lightbox-wrapper .lightbox-div .lightbox-image-main .lightbox-image{width:100%!important} .thumbnilsimg img{border-radius:10px!important;left:-6px!important;-o-object-fit:cover;object-fit:cover;-o-object-position:top;object-position:top}']}),_})()},89729:(K,P,c)=>{c.d(P,{n:()=>B});var g=c(8929),o=c(5e3),D=c(29015),w=c(69808);function S(h,C){1&h&&(o.\u0275\u0275elementStart(0,"p",13),o.\u0275\u0275element(1,"img",14),o.\u0275\u0275elementEnd())}function U(h,C){1&h&&(o.\u0275\u0275elementStart(0,"p",13),o.\u0275\u0275element(1,"img",15),o.\u0275\u0275elementEnd())}function L(h,C){1&h&&(o.\u0275\u0275elementStart(0,"p",13),o.\u0275\u0275element(1,"img",16),o.\u0275\u0275elementEnd())}function M(h,C){if(1&h){const E=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"button",17),o.\u0275\u0275listener("click",function(){return o.\u0275\u0275restoreView(E),o.\u0275\u0275nextContext().onConfirm()}),o.\u0275\u0275text(1," Ok"),o.\u0275\u0275elementEnd()}}function R(h,C){if(1&h){const E=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"button",17),o.\u0275\u0275listener("click",function(){return o.\u0275\u0275restoreView(E),o.\u0275\u0275nextContext().onCancel()}),o.\u0275\u0275text(1," No"),o.\u0275\u0275elementEnd()}}function F(h,C){if(1&h){const E=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"button",17),o.\u0275\u0275listener("click",function(){return o.\u0275\u0275restoreView(E),o.\u0275\u0275nextContext().onConfirm()}),o.\u0275\u0275text(1," Yes"),o.\u0275\u0275elementEnd()}}let B=(()=>{class h{constructor(E,v){this.modalService=E,this.activeModal=v}ngOnInit(){this.onClose=new g.xQ}onConfirm(){this.activeModal.close(!0)}onCancel(){this.activeModal.close(!1)}}
1return h.\u0275fac=function(E){return new(E||h)(o.\u0275\u0275directiveInject(D.FF),o.\u0275\u0275directiveInject(D.Kz))},h.\u0275cmp=o.\u0275\u0275defineComponent({type:h,selectors:[["app-success-message"]],inputs:{type:"type",title:"title",sub_title:"sub_title",html:"html"},decls:20,vars:9,consts:[[1,"modal-header","p-4","border-0"],[1,"modal-title"],["type","button","aria-label","Close",1,"close",3,"click"],[1,"fas","fa-times"],[1,"modal-body","pt-0"],[1,"row"],[1,"col-12","text-center"],["class","mb-6",4,"ngIf"],[1,"mb-4"],[1,"mb-0"],[1,"mb-0",3,"innerHTML"],[1,"modal-footer","d-flex","justify-content-center","border-0"],["type","button","class","btn btn-primary custom-btn-1 btn-100",3,"click",4,"ngIf"],[1,"mb-6"],["src","/assets/media/images/errors.png"],["src","/assets/media/images/checkmarks.png"],["src","/assets/media/images/alert.png"],["type","button",1,"btn","btn-primary","custom-btn-1","btn-100",3,"click"]],template:function(E,v){1&E&&(o.\u0275\u0275elementStart(0,"div",0),o.\u0275\u0275elementStart(1,"h5",1),o.\u0275\u0275text(2,"\xa0"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(3,"button",2),o.\u0275\u0275listener("click",function(){return v.onCancel()}),o.\u0275\u0275element(4,"i",3),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(5,"div",4),o.\u0275\u0275elementStart(6,"div",5),o.\u0275\u0275elementStart(7,"div",6),o.\u0275\u0275template(8,S,2,0,"p",7),o.\u0275\u0275template(9,U,2,0,"p",7),o.\u0275\u0275template(10,L,2,0,"p",7),o.\u0275\u0275elementStart(11,"h2",8),o.\u0275\u0275text(12),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(13,"p",9),o.\u0275\u0275text(14),o.\u0275\u0275elementEnd(),o.\u0275\u0275element(15,"p",10),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(16,"div",11),o.\u0275\u0275template(17,M,2,0,"button",12),o.\u0275\u0275template(18,R,2,0,"button",12),o.\u0275\u0275template(19,F,2,0,"button",12),o.\u0275\u0275elementEnd()),2&E&&(o.\u0275\u0275advance(8),o.\u0275\u0275property("ngIf",1==v.type),o.\u0275\u0275advance(1),o.\u0275\u0275property("ngIf",0==v.type),o.\u0275\u0275advance(1),o.\u0275\u0275property("ngIf",2==v.type||3==v.type),o.\u0275\u0275advance(2),o.\u0275\u0275textInterpolate(v.title),o.\u0275\u0275advance(2),o.\u0275\u0275textInterpolate(v.sub_title),o.\u0275\u0275advance(1),o.\u0275\u0275property("innerHTML",v.html,o.\u0275\u0275sanitizeHtml),o.\u0275\u0275advance(2),o.\u0275\u0275property("ngIf",2!=v.type),o.\u0275\u0275advance(1),o.\u0275\u0275property("ngIf",2==v.type),o.\u0275\u0275advance(1),o.\u0275\u0275property("ngIf",2==v.type))},directives:[w.NgIf],styles:[""]}),h})()},15362:(K,P,c)=>{c.r(P),c.d(P,{CareerCounsellingModule:()=>Fn});var g=c(69808),o=c(93075),D=c(40520),w=c(69544),S=c(29015),U=c(22079),L=c(94823),M=c(60082),R=c(31279),F=c(35498),B=c(59207),h=c(93680),C=c(76554),E=c(31748),v=c(59482),I=c(59722),A=c(27021),T=c(26201),Q=c(75226),z=c(98017),J=c(51377),_=c(77030),y=c(83482),p=c(36280),d=c(74202),e=c(5e3),u=c(66398),b=c(70900),k=c(21223),V=c(36838);function ee(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"mat-option",25),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&i){const t=a.$implicit;e.\u0275\u0275property("value",t.name),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",t.name," ")}}function te(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"li"),e.\u0275\u0275elementStart(1,"a",28),e.\u0275\u0275listener("click",function(){const l=e.\u0275\u0275restoreView(t).$implicit;return e.\u0275\u0275nextContext(2).redirectDetails(l)}),e.\u0275\u0275elementStart(2,"div",29),e.\u0275\u0275elementStart(3,"div",30),e.\u0275\u0275elementStart(4,"div",2),e.\u0275\u0275element(5,"img",31),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"div",30),e.\u0275\u0275elementStart(7,"div",2),e.\u0275\u0275elementStart(8,"div",32),e.\u0275\u0275elementStart(9,"div",33),e.\u0275\u0275elementStart(10,"div",4),e.\u0275\u0275elementStart(11,"div",10),e.\u0275\u0275elementStart(12,"a",34),e.\u0275\u0275text(13),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(14,"small",35),e.\u0275\u0275text(15),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(16,"div",4),e.\u0275\u0275elementStart(17,"div",36),e.\u0275\u0275elementStart(18,"p",37),e.\u0275\u0275elementStart(19,"span",38),e.\u0275\u0275text(20),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()}if(2&i){const t=a.$implicit;e.\u0275\u0275advance(5),e.\u0275\u0275propertyInterpolate("src",t.featured_image?t.featured_image:"/assets/media/images/CareerExplorerDefault.jpg",e.\u0275\u0275sanitizeUrl),e.\u0275\u0275advance(8),e.\u0275\u0275textInterpolate1(" ",t.course_specialization," "),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(t.select_course),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1(" ",t.opt_percent_text," ")}}function ne(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",26),e.\u0275\u0275listener("scrolled",function(){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext().onScroll()}),e.\u0275\u0275elementStart(1,"ul"),e.\u0275\u0275template(2,te,21,4,"li",27),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()}if(2&i){const t=e.\u0275\u0275nextContext();e.\u0275\u0275property("infiniteScrollDistance",1)("infiniteScrollUpDistance",2)("infiniteScrollThrottle",300),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngForOf",t.records)}}function ie(i,a){1&i&&(e.\u0275\u0275elementStart(0,"div",22),e.\u0275\u0275elementStart(1,"div",10),e.\u0275\u0275elementStart(2,"div",39),e.\u0275\u0275elementStart(3,"p",40),e.\u0275\u0275text(4,"Find out which careers are trending by using the dropdown above"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd())}let re=(()=>{class i{constructor(t,n,r,l,s){this.fb=t,this.subheader=n,this.apiService=r,this.activatedRoute=l,this.router=s,this.page_no=1,this.student_id="",this.course_list=[],this.filtered_course_list=[],this.records=[],this.course_id="",localStorage.getItem("trending_careers_course_id")&&(this.course_id=localStorage.getItem("trending_careers_course_id"))}ngOnInit(){setTimeout(()=>{this.subheader.setTitle(localStorage.getItem("module_name")),this.subheader.setBreadcrumbs([{title:localStorage.getItem("module_name"),linkText:localStorage.getItem("module_name"),linkPath:"/"+localStorage.getItem("page_name")}])},1),this.getCourseList(),this.course_id&&this.getRecords(),localStorage.removeItem("trending_careers_course_id")}getCourseList(){this.apiService.post_with_token("Careers/getTrendingCoursesList",{level_type:0,search_text:"",university_id:""}).subscribe(n=>{this.course_list=n.data,this.filtered_course_list=n.data},n=>{this.apiService.toastErrorMsg(n)})}getRecords(){this.apiService.post_with_token("Careers/getTrendingCareers",{page_no:this.page_no,course:this.course_id}).subscribe(n=>{let r=n.data.list;0===r.length?this.page_no=-1:this.records=this.records.concat(r)},n=>{this.apiService.toastErrorMsg(n)})}onScroll(){-1!==this.page_no&&(this.page_no+=1,this.getRecords())}filter(){this.page_no=1,this.records=[],this.getRecords()}redirectDetails(t){this.apiService.setOption("trending_careers",t),localStorage.setItem("trending_careers_course_id",this.course_id),this.router.navigate(["/career-counselling/courses-info",t.course_id,t.specialization_id])}}return i.\u0275fac=function(t){return new(t||i)(e.\u0275\u0275directiveInject(o.qu),e.\u0275\u0275directiveInject(u.b),e.\u0275\u0275directiveInject(b.s),e.\u0275\u0275directiveInject(d.gz),e.\u0275\u0275directiveInject(d.F0))},i.\u0275cmp=e.\u0275\u0275defineComponent({type:i,selectors:[["app-trending-careers"]],decls:31,vars:7,consts:[[1,"card-body","p-25s"],[1,"row","mt-5"],[1,"col-md-12"],[1,"bg-light-blue","border-radius-10","free-university"],[1,"row"],[1,"col-xl-5","col-lg-4","col-md-4"],["src","/assets/media/images/trending-career.png",1,"res-w-100","career-trends"],[1,"col-xl-7","col-lg-8","col-md-8"],[1,"free-university-txt"],[1,"row","mb-xl-8","mb-lg-6","mb-md-5"],[1,"col-12"],[1,"titles-2"],[1,"bluetxt"],[1,"mb-0"],[1,"col-xl-9","col-lg-9","col-md-8","pr-0"],[1,"select-mat-style","lgt-blue-bg-select"],[3,"ngModel","ngModelChange"],[3,"placeholder","displayMember","array","filteredReturn"],["value",""],[3,"value",4,"ngFor","ngForOf"],[1,"col-xl-3","col-lg-3","col-md-4"],[1,"btn","btn-primary","custom-btn-1",3,"click"],[1,"row","mt-10"],["class","col-12 blogs-display p-0","infinite-scroll","",3,"infiniteScrollDistance","infiniteScrollUpDistance","infiniteScrollThrottle","scrolled",4,"ngIf"],["class","row mt-10 ",4,"ngIf"],[3,"value"],["infinite-scroll","",1,"col-12","blogs-display","p-0",3,"infiniteScrollDistance","infiniteScrollUpDistance","infiniteScrollThrottle","scrolled"],[4,"ngFor","ngForOf"],[3,"click"],[1,"box-shadows","inner-box-hgt"],[1,"row","mb-3"],["onerror","this.onerror=null;this.src='/assets/media/images/CareerExplorerDefault.jpg'",1,"thumbnil-style-4","img-fluid","w-100","hgt-auto","border-radius-0",3,"src"],[1,"p-3"],[1,"font-weight-bold","w-100"],[1,"text-dark","text-hover-primary","text-left","blogs-title","txt-darkclr","two-line"],[1,"text-secondary","text-left","dar
1kgreytxt"],[1,"col-12","mt-2"],[1,"small-font","mb-0"],[1,"bluetxt","font-weight-bold"],[1,"content-txt-hgt"],[1,"font-18","mb-0","text-center"]],template:function(t,n){1&t&&(e.\u0275\u0275elementStart(0,"div",0),e.\u0275\u0275elementStart(1,"div",1),e.\u0275\u0275elementStart(2,"div",2),e.\u0275\u0275elementStart(3,"div",3),e.\u0275\u0275elementStart(4,"div",4),e.\u0275\u0275elementStart(5,"div",5),e.\u0275\u0275element(6,"img",6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"div",7),e.\u0275\u0275elementStart(8,"div",8),e.\u0275\u0275elementStart(9,"div",9),e.\u0275\u0275elementStart(10,"div",10),e.\u0275\u0275elementStart(11,"h2",11),e.\u0275\u0275text(12,"Trending "),e.\u0275\u0275elementStart(13,"span",12),e.\u0275\u0275text(14,"Careers"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(15,"p",13),e.\u0275\u0275text(16,"Find out which careers are trending, what each career entails on several parameters including skills, qualifications, job roles, etc."),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(17,"div",4),e.\u0275\u0275elementStart(18,"div",14),e.\u0275\u0275elementStart(19,"mat-form-field",15),e.\u0275\u0275elementStart(20,"mat-select",16),e.\u0275\u0275listener("ngModelChange",function(l){return n.course_id=l}),e.\u0275\u0275elementStart(21,"mat-select-filter",17),e.\u0275\u0275listener("filteredReturn",function(l){return n.filtered_course_list=l}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(22,"mat-option",18),e.\u0275\u0275text(23,"Select Course"),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(24,ee,2,2,"mat-option",19),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(25,"div",20),e.\u0275\u0275elementStart(26,"button",21),e.\u0275\u0275listener("click",function(){return n.filter()}),e.\u0275\u0275text(27," Search"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(28,"div",22),e.\u0275\u0275template(29,ne,3,4,"div",23),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(30,ie,5,0,"div",24),e.\u0275\u0275elementEnd()),2&t&&(e.\u0275\u0275advance(20),e.\u0275\u0275property("ngModel",n.course_id),e.\u0275\u0275advance(1),e.\u0275\u0275property("placeholder","Search")("displayMember","name")("array",n.course_list),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngForOf",n.filtered_course_list),e.\u0275\u0275advance(5),e.\u0275\u0275property("ngIf",0!=n.records.length),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",0==n.records.length))},directives:[k.KE,I.gD,o.JJ,o.On,V.Fq,T.ey,g.NgForOf,g.NgIf,C.R],styles:[".content-txt-hgt[_ngcontent-%COMP%]{height:47vh;display:flex;align-items:center;justify-content:center}@media (max-width: 1400px){.content-txt-hgt[_ngcontent-%COMP%]{height:39vh}}@media (max-width: 1300px){.content-txt-hgt[_ngcontent-%COMP%]{height:41vh}}@media (max-width: 1200px){.content-txt-hgt[_ngcontent-%COMP%]{height:25vh}}"]}),i})();var oe=c(22313);function ae(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"mat-option",30),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&i){const t=a.$implicit;e.\u0275\u0275property("value",t.id),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1("",t.name," ")}}function le(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"li"),e.\u0275\u0275elementStart(1,"a",8),e.\u0275\u0275listener("click",function(){const l=e.\u0275\u0275restoreView(t).$implicit,s=e.\u0275\u0275nextContext(),m=e.\u0275\u0275reference(47);return s.redirectToDetails(m,l)}),e.\u0275\u0275elementStart(2,"div",31),e.\u0275\u0275elementStart(3,"div",32),e.\u0275\u0275elementStart(4,"div",23),e.\u0275\u0275elementStart(5,"div",33),e.\u0275\u0275element(6,"i",34),e.\u0275\u0275element(7,"img",35),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"div",12),e.\u0275\u0275elementStart(9,"div",23),e.\u0275\u0275elementStart(10,"div",36),e.\u0275\u0275elementStart(11,"div",37),e.\u0275\u0275elementStart(12,"div",12),e.\u0275\u0275elementStart(13,"div",13),e.\u0275\u0275elementStart(14,"a",38),e.\u0275\u0275text(15),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()}if(2&i){const t=a.$implicit;e.\u0275\u0275advance(7),e.\u0275\u0275propertyInterpolate("src",t.featured_image_url,e.\u0275\u0275sanitizeUrl),e.\u0275\u0275advance(8),e.\u0275\u0275textInterpolate1(" ",t.new_line_title,"")}}function se(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",39),e.\u0275\u0275elementStart(1,"button",40),e.\u0275\u0275listener("click",function(){return e.\u0275\u0275restoreView(t).dismiss("Cross click")}),e.\u0275\u0275element(2,"i",41),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"div",42),e.\u0275\u0275element(4,"div",43),e.\u0275\u0275elementEnd()}if(2&i){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(4),e.\u0275\u0275property("innerHTML",t.resource.data,e.\u0275\u0275sanitizeHtml)}}let me=(()=>{class i{constructor(t,n,r,l,s,m,f){this.modalService=t,this.fb=n,this.subheader=r,this.apiService=l,this.activatedRoute=s,this.router=m,this.sanitizer=f,this.today=new Date,this.formSubmitted=!1,this.resources=[],this.search="",this.selected_type="",this.category=[],this.userData=this.apiService.getUserData()}ngOnInit(){setTimeout(()=>{this.subheader.setTitle(localStorage.getItem("module_name")),this.subheader.setBreadcrumbs([{title:localStorage.getItem("module_name"),linkText:localStorage.getItem("module_name"),linkPath:"/"+localStorage.getItem("page_name")}])},1),this.getResourcesList()}getResourcesList(){const t={page:1,entries:16,sortby:"",sortval:"",level:"",content_group:this.selected_type,from_date:"",load_more:0,moduleId:this.apiService.getUserModuleId(),type:"ctype",type_id:5,search:this.search};this.apiService.post_with_token("Applications/getCMSListing",t).subscribe(n=>{const r=n.data;this.category=n.category,this.resources=r},n=>{this.apiService.toastErrorMsg(n)})}
1redirectToDetails(t,n){if(this.resource=n,""!=n.file){var r=document.createElement("a");r.target="_blank",r.href=n.file,document.body.appendChild(r),r.click()}else this.resource.data=this.sanitizer.bypassSecurityTrustHtml(n.sub_description),this.modalService.open(t,{size:"xl",centered:!0})}}return i.\u0275fac=function(t){return new(t||i)(e.\u0275\u0275directiveInject(S.FF),e.\u0275\u0275directiveInject(o.qu),e.\u0275\u0275directiveInject(u.b),e.\u0275\u0275directiveInject(b.s),e.\u0275\u0275directiveInject(d.gz),e.\u0275\u0275directiveInject(d.F0),e.\u0275\u0275directiveInject(oe.DomSanitizer))},i.\u0275cmp=e.\u0275\u0275defineComponent({type:i,selectors:[["app-career-resources"]],decls:48,vars:5,consts:[[1,"card-body","p-25s"],[1,"row","mb-3"],[1,"col-xl-9","col-8"],[1,"bluetxt-clr"],[1,"col-xl-3","col-4"],[1,"row","pt-1"],[1,"col-12","input-icon","inputsearchs"],["type","text","placeholder","Search","id","generalSearch",1,"form-control","h-40px","form-control-lg","form-control-solid",3,"ngModel","ngModelChange"],[3,"click"],["cacheSVG","true",1,"svg-icon","svg-icon-lg",3,"inlineSVG"],[1,"row","mb-5","status-tp-filter"],[1,"col-2"],[1,"row"],[1,"col-12"],[1,"mb-2"],[1,"form-group","mb-1"],[1,"select-mat-style"],[3,"ngModel","ngModelChange"],["value",""],[3,"value",4,"ngFor","ngForOf"],[1,"col-4","adjust-tabbtn"],["type","button",1,"btn","btn-primary","btn-skyblue","custom-btn-1",3,"click"],[1,"row","mt-8","mb-4"],[1,"col-md-12"],[1,"font-weight-bolds"],[1,"col-md-12","mt-5"],[1,"row","mt-2"],[1,"col-md-12","blogs-display","inner-blog-disp","p-0","resourse-video"],[4,"ngFor","ngForOf"],["popup",""],[3,"value"],[1,"box-shadows","inner-box-hgt1"],[1,"row","mb-1"],[1,"video-play"],[1,"far","fa-play-circle"],[1,"thumbnil-style-4","img-fluid","w-100","hgt-auto","border-radius-0","resourse-video-img",3,"src"],[1,"d-flex","mb-3","p-3"],[1,"d-flex","flex-column","font-weight-bold","w-100"],[1,"text-dark","text-hover-primary","text-left","blogs-title","txt-darkclr","two-line"],[1,"modal-header","p-4"],["type","button","aria-label","Close",1,"close",3,"click"],[1,"fas","fa-times"],[1,"modal-body"],[1,"text-center",3,"innerHTML"]],template:function(t,n){1&t&&(e.\u0275\u0275elementStart(0,"div",0),e.\u0275\u0275elementStart(1,"div",1),e.\u0275\u0275elementStart(2,"div",2),e.\u0275\u0275elementStart(3,"h3",3),e.\u0275\u0275text(4,"Resources "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"div",4),e.\u0275\u0275elementStart(6,"div",5),e.\u0275\u0275elementStart(7,"div",6),e.\u0275\u0275elementStart(8,"input",7),e.\u0275\u0275listener("ngModelChange",function(l){return n.search=l}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"span",8),e.\u0275\u0275listener("click",function(){return n.getResourcesList()}),e.\u0275\u0275element(10,"span",9),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"div",10),e.\u0275\u0275elementStart(12,"div",11),e.\u0275\u0275elementStart(13,"div",12),e.\u0275\u0275elementStart(14,"div",13),e.\u0275\u0275elementStart(15,"h5",14),e.\u0275\u0275text(16,"Category "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(17,"div",12),e.\u0275\u0275elementStart(18,"div",13),e.\u0275\u0275elementStart(19,"div",15),e.\u0275\u0275elementStart(20,"mat-form-field",16),e.\u0275\u0275elementStart(21,"mat-select",17),e.\u0275\u0275listener("ngModelChange",function(l){return n.selected_type=l})("ngModelChange",function(){return n.getResourcesList()}),e.\u0275\u0275elementStart(22,"mat-option",18),e.\u0275\u0275text(23,"Select "),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(24,ae,2,2,"mat-option",19),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(25,"div",20),e.\u0275\u0275elementStart(26,"div",12),e.\u0275\u0275elementStart(27,"div",13),e.\u0275\u0275elementStart(28,"h5",14),e.\u0275\u0275text(29,"\xa0 "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(30,"div",12),e.\u0275\u0275elementStart(31,"div",13),e.\u0275\u0275elementStart(32,"button",21),e.\u0275\u0275listener("click",function(){return n.selected_type="",n.getResourcesList()}),e.\u0275\u0275text(33," Clear "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(34,"div",22),e.\u0275\u0275elementStart(35,"div",23),e.\u0275\u0275elementStart(36,"div",12),e.\u0275\u0275elementStart(37,"div",23),e.\u0275\u0275elementStart(38,"h4",24),e.\u0275\u0275text(39," All Resources "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(40,"div",12),e.\u0275\u0275elementStart(41,"div",25),e.\u0275\u0275elementStart(42,"div",26),e.\u0275\u0275elementStart(43,"div",27),e.\u0275\u0275elementStart(44,"ul"),e.\u0275\u0275template(45,le,16,2,"li",28),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(46,se,5,1,"ng-template",null,29,e.\u0275\u0275templateRefExtractor)),2&t&&(e.\u0275\u0275advance(8),e.\u0275\u0275property("ngModel",n.search),e.\u0275\u0275advance(2),e.\u0275\u0275property("inlineSVG","./assets/media/svg/icons/General/Search1.svg"),e.\u0275\u0275advance(11),e.\u0275\u0275property("ngModel",n.selected_type),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngForOf",n.category),e.\u0275\u0275advance(21),e.\u0275\u0275property("ngForOf",n.resources))},directives:[o.Fj,o.JJ,o.On,w.d$,k.KE,I.gD,T.ey,g.NgForOf],styles:[".confirmed-btns[_ngcontent-%COMP%]{color:#2f74eb!important}.inputsearchs[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{right:11px!important}.status-tp-filter[_ngcontent-%COMP%] .col-2[_ngcontent-%COMP%]{flex:0 0 13%;max-width:13%}.status-tp-filter[_ngcontent-%COMP%] .col-4[_ngcontent-%COMP%]{flex:0 0 16%;max-width:16%}.adjust-col-4[_ngcontent-%COMP%]{flex:0 0 45%!important;max-width:45%!important}@media (max-width: 1700px){.status-tp-filter[_ngcontent-%COMP%] .col-2[_ngcontent-%COMP%]{flex:0 0 15%;max-width:15%}.status-tp-filter[_ngcontent-%COMP%] .col-4[_ngcontent-%COMP%]{flex:0 0 18%;max-width:18%}
1.adjust-col-4[_ngcontent-%COMP%]{flex:0 0 41%!important;max-width:41%!important}}.resourse-video[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{padding-right:60px;padding-left:12.5px}.font-weight-bolds[_ngcontent-%COMP%]{font-weight:700!important}@media (max-width: 1500px){.status-tp-filter[_ngcontent-%COMP%] .col-2[_ngcontent-%COMP%]{flex:0 0 18%;max-width:18%}.status-tp-filter[_ngcontent-%COMP%] .col-4[_ngcontent-%COMP%]{flex:0 0 30%;max-width:30%}.resourse-video[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{padding-right:40px;padding-left:12.5px}.adjust-col-4[_ngcontent-%COMP%]{flex:0 0 26%!important;max-width:26%!important}}@media (max-width: 1400px){.status-tp-filter[_ngcontent-%COMP%] .col-2[_ngcontent-%COMP%]{flex:0 0 18%;max-width:18%}.status-tp-filter[_ngcontent-%COMP%] .col-4[_ngcontent-%COMP%]{flex:0 0 30%;max-width:30%}.resourse-video[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{padding-right:30px;padding-left:12.5px}}@media (max-width: 1300px){.status-tp-filter[_ngcontent-%COMP%] .col-2[_ngcontent-%COMP%]{flex:0 0 18%;max-width:18%}.status-tp-filter[_ngcontent-%COMP%] .col-4[_ngcontent-%COMP%]{flex:0 0 30%;max-width:30%}.resourse-video[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{padding-right:20px;padding-left:12.5px}}@media (max-width: 1200px){.status-tp-filter[_ngcontent-%COMP%] .col-2[_ngcontent-%COMP%]{flex:0 0 28%;max-width:28%}.status-tp-filter[_ngcontent-%COMP%] .col-4[_ngcontent-%COMP%]{flex:0 0 30%;max-width:30%}.resourse-video[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{padding-right:50px;padding-left:12.5px}.adjust-col-4[_ngcontent-%COMP%]{display:none}.adjust-tabbtn[_ngcontent-%COMP%]{flex:0 0 42%!important;max-width:42%!important}}@media (max-width: 900px){.resourse-video[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{padding-right:60px;padding-left:12.5px}.adjust-tabbtn[_ngcontent-%COMP%]{flex:0 0 38%!important;max-width:38%!important}}"]}),i})();const Y=function(i){return["/career-counselling/mentor-details",i]};function ce(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"div",27),e.\u0275\u0275elementStart(1,"div",28),e.\u0275\u0275elementStart(2,"div"),e.\u0275\u0275element(3,"img",29),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"div",30),e.\u0275\u0275elementStart(5,"h3",31),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"p",32),e.\u0275\u0275element(8,"i",33),e.\u0275\u0275text(9),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"p",34),e.\u0275\u0275element(11,"i",35),e.\u0275\u0275text(12),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()),2&i){const t=a.$implicit;e.\u0275\u0275advance(1),e.\u0275\u0275property("routerLink",e.\u0275\u0275pureFunction1(5,Y,t.discourse_id)),e.\u0275\u0275advance(2),e.\u0275\u0275propertyInterpolate("src",t.image_url,e.\u0275\u0275sanitizeUrl),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",t.title,""),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",t.mentor_univ," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",t.mentor_company,"")}}function de(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"mat-expansion-panel",20),e.\u0275\u0275elementStart(1,"mat-expansion-panel-header"),e.\u0275\u0275elementStart(2,"div",21),e.\u0275\u0275elementStart(3,"div",22),e.\u0275\u0275elementStart(4,"div",23),e.\u0275\u0275elementStart(5,"h4",24),e.\u0275\u0275element(6,"img",25),e.\u0275\u0275text(7),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"div",26),e.\u0275\u0275template(9,ce,13,7,"div",19),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()),2&i){const t=a.$implicit,n=a.first;e.\u0275\u0275classProp("d-none",0==t.list.length),e.\u0275\u0275property("expanded",!!n),e.\u0275\u0275advance(6),e.\u0275\u0275propertyInterpolate("src",t.category_image,e.\u0275\u0275sanitizeUrl),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",t.category," "),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngForOf",t.list)}}function pe(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"div",27),e.\u0275\u0275elementStart(1,"div",28),e.\u0275\u0275elementStart(2,"div"),e.\u0275\u0275element(3,"img",29),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"div",30),e.\u0275\u0275elementStart(5,"h3",31),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"p",32),e.\u0275\u0275element(8,"i",33),e.\u0275\u0275text(9),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"p",34),e.\u0275\u0275element(11,"i",35),e.\u0275\u0275text(12),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()),2&i){const t=a.$implicit;e.\u0275\u0275advance(1),e.\u0275\u0275property("routerLink",e.\u0275\u0275pureFunction1(5,Y,t.discourse_id)),e.\u0275\u0275advance(2),e.\u0275\u0275propertyInterpolate("src",t.image_url,e.\u0275\u0275sanitizeUrl),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",t.title," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",t.mentor_univ," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",t.mentor_company," ")}}let ue=(()=>{class i{constructor(t,n,r,l,s,m){this.modalService=t,this.fb=n,this.subheader=r,this.apiService=l,this.activatedRoute=s,this.router=m,this.today=new Date,this.formSubmitted=!1,this.mentors=[],this.bookmarks=[],this.search="",this.userData=this.apiService.getUserData()}ngOnInit(){setTimeout(()=>{this.subheader.setTitle(localStorage.getItem("module_name")),this.subheader.setBreadcrumbs([{title:localStorage.getItem("module_name"),linkText:localStorage.getItem("module_name"),linkPath:"/"+localStorage.getItem("page_name")}])},1),this.getMentorList(),this.getBookMarkList()}getMentorList(){const t={category_id:1,is_direct_forum:0,q:this.search};""==this.search&&delete t.q,this.apiService.postApiWithToken("Discourse/getForumsList",t).subscribe(n=>{n.status&&(this.mentors=n.topics)},n=>{this.apiService.toastErrorMsg(n)})}getBookMarkList(){this.apiService.postApiWithToken("Discourse/getBookmarksList",{username:this.userData.discourse_username,category_id:1,is_direct_forum:0}).subscribe(n=>{n.user_bookmark_list&&(this.bookmarks=n.user_bookmark_list.bookmarks)},n=>{this.apiService.toastErrorMsg(n)})}}return i.\u0275fac=function(t){return new(t||i)(e.\u0275\u0275directiveInject(S.FF),e.\u0275\u0275directiveInject(o.qu),e.\u0275\u0275directiveInject(u.b),e.\u0275\u0275directiveInject(b.s),e.\u0275\u0275directiveInject(d.gz),e.\u0275\u0275directiveInject(d.F0))},i.\u0275cmp=e.\u0275\u0275defineComponent({type:i,selectors:[["app-mentor-connect"]],decls:22,vars:4,consts:[[1,"card-body","p-25s"],[1,"row","mb-3"],[1,"col-xl-9","col-8"],[1,"bluetxt-clr"],[1,"col-xl-3","col-4"],[1,"row","pt-1"],[1,"col-12","input-icon","inputsearchs"],["type","text","placeholder","Search","id","generalSearch",1,"form-control","h-40px","form-control-lg","form-control-solid",3,"ngModel","ngModelChange"],[3,"click"],["cacheSVG","true",1,"svg-icon","svg-icon-lg",3,"inlineSVG"],[1,"row","mt-3"],[1,"col-12","student-activity","admin-task-tab"],["animationDuration","0ms"],["label","Mentors"],[1,"row","mb-5"],[1,"col-12","faq-list","universities-list"],[3,"expanded","d-none",4,"ngFor","ngForOf"],["label","Bookmarks"],[1,"row"],["class","col-6 mb-7",4,"ngFor","ngForOf"],[3,"expanded"],[1,"my-panel"],[1,"row","ml-0","align-items-center"],[1,"col-12","d-flex","align-items-center","pl-0"],[1,"pt-2"],[1,"mr-4","mentor-course",3,"src"],[1,"row","mt-8"],[1,"col-6","mb-7"],[1,"border","rounded","p-4","w-100","d-flex","align-items-center","flex-row","cursor",3,"routerLink"],[1,"mentor-img","mr-6",3,"src"],[1,"w-100"],[1,"mb-3"],[1,"one-line","mb-2"],[1,"icon-xl","fas","fa-graduation-cap","font-15","mr-1"],[1,"one-line","mb-2","w-60"],[1,"icon-xl","fas","fa-suitcase","font-15","mr-2"]],template:function(t,n){1&t&&(e.\u0275\u0275elementStart(0,"div",0),e.\u0275\u0275elementStart(1,"div",1),e.\u0275\u0275elementStart(2,"div",2),e.\u0275\u0275elementStart(3,"h3",3),e.\u0275\u0275text(4,"Mentor Connect"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"div",4),e.\u0275\u0275elementStart(6,"div",5),e.\u0275\u0275elementStart(7,"div",6),e.\u0275\u0275elementStart(8,"input",7),e.\u0275\u0275listener("ngModelChange",function(l){return n.search=l}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"span",8),e.\u0275\u0275listener("click",function(){return n.getMentorList()}),e.\u0275\u0275element(10,"span",9),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"div",10),e.\u0275\u0275elementStart(12,"div",11),e.\u0275\u0275elementStart(13,"mat-tab-group",12),e.\u0275\u0275elementStart(14,"mat-tab",13),e.\u0275\u0275elementStart(15,"div",14),e.\u0275\u0275elementStart(16,"div",15),e.\u0275\u0275elementStart(17,"mat-accordion"),e.\u0275\u0275template(18,de,10,6,"mat-expansion-panel",16),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(19,"mat-tab",17),e.\u0275\u0275elementStart(20,"div",18),e.\u0275\u0275template(21,pe,13,7,"div",19),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()),2&t&&(e.\u0275\u0275advance(8),e.\u0275\u0275property("ngModel",n.search),e.\u0275\u0275advance(2),e.\u0275\u0275property("inlineSVG","./assets/media/svg/icons/General/Search1.svg"),e.\u0275\u0275advance(8),e.\u0275\u0275property("ngForOf",n.mentors),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngForOf",n.bookmarks))},directives:[o.Fj,o.JJ,o.On,w.d$,F.SP,F.uX,_.pp,g.NgForOf,_.ib,_.yz,d.rH],styles:[".cursor{cursor:pointer}.mentor-img{width:100px;height:100px;border-radius:5px;-o-object-position:top center;object-position:top center;-o-object-fit:cover;object-fit:cover}.checklist .mat-expansion-panel-header.mat-expanded,.mat-expansion-panel-header{background:rgba(0,0,0,.04)!important}.mentor-course{width:55px;height:55px;-o-object-position:top center;object-position:top center;-o-object-fit:cover;object-fit:cover;border-radius:5px}.universities-list .mat-expansion-panel-header{height:auto!important;padding-left:15px}.pull-btn-dawn{position:relative;
1margin-bottom:-58px;z-index:1}.mentor-accordion ul li{width:116px!important;margin-right:29px}.mentor-accordion ul li{padding-right:0!important;padding-left:0!important}.mentor-accordion ul li:nth-child(10n+0){margin-right:0%!important}.hgt-fixed{height:116px!important;width:116px!important;-o-object-position:center;object-position:center;-o-object-fit:cover;object-fit:cover}.bookmark-grid ul li{width:116px!important;margin-right:35px}.bookmark-grid ul li:nth-child(10n+0){margin-right:0%!important}@media (max-width: 1700px){.mentor-accordion ul li{width:116px!important;margin-right:10px}.mentor-accordion ul li:nth-child(10n+0){margin-right:10px!important}.mentor-accordion ul li:nth-child(9n+0){margin-right:0%!important}.bookmark-grid ul li:nth-child(10n+0){margin-right:15px!important}.bookmark-grid ul li:nth-child(9n+0){margin-right:0%!important}}@media (max-width: 1500px){.mentor-accordion ul li{width:116px!important;margin-right:24px}.mentor-accordion ul li:nth-child(10n+0){margin-right:24px!important}.mentor-accordion ul li:nth-child(9n+0){margin-right:24px!important}.mentor-accordion ul li:nth-child(7n+0){margin-right:0%!important}.bookmark-grid ul li:nth-child(10n+0){margin-right:32px!important}.bookmark-grid ul li:nth-child(9n+0){margin-right:32px!important}.bookmark-grid ul li:nth-child(7n+0){margin-right:0%!important}}@media (max-width: 1400px){.mentor-accordion ul li{width:116px!important;margin-right:13px}.mentor-accordion ul li:nth-child(10n+0){margin-right:13px!important}.mentor-accordion ul li:nth-child(9n+0){margin-right:13px!important}.mentor-accordion ul li:nth-child(7n+0){margin-right:0%!important}.bookmark-grid ul li:nth-child(10n+0){margin-right:20px!important}.bookmark-grid ul li:nth-child(9n+0){margin-right:20px!important}.bookmark-grid ul li:nth-child(7n+0){margin-right:0%!important}}@media (max-width: 1300px){.mentor-accordion ul li{width:116px!important;margin-right:20px}.mentor-accordion ul li:nth-child(10n+0){margin-right:20px!important}.mentor-accordion ul li:nth-child(9n+0){margin-right:20px!important}.mentor-accordion ul li:nth-child(7n+0){margin-right:20px!important}.mentor-accordion ul li:nth-child(6n+0){margin-right:0!important}.bookmark-grid ul li{margin-right:30px}.bookmark-grid ul li:nth-child(10n+0){margin-right:30px!important}.bookmark-grid ul li:nth-child(9n+0){margin-right:30px!important}.bookmark-grid ul li:nth-child(7n+0){margin-right:30px!important}.bookmark-grid ul li:nth-child(6n+0){margin-right:0%!important}}@media (max-width: 1200px){.mentor-accordion ul li{width:116px!important;margin-right:23px}.mentor-accordion ul li:nth-child(10n+0){margin-right:23px!important}.mentor-accordion ul li:nth-child(9n+0){margin-right:23px!important}.mentor-accordion ul li:nth-child(7n+0){margin-right:23px!important}.mentor-accordion ul li:nth-child(6n+0){margin-right:23px!important}.mentor-accordion ul li:nth-child(4n+0){margin-right:0!important}.bookmark-grid ul li{margin-right:38px}.bookmark-grid ul li:nth-child(10n+0){margin-right:38px!important}.bookmark-grid ul li:nth-child(9n+0){margin-right:38px!important}.bookmark-grid ul li:nth-child(7n+0){margin-right:38px!important}.bookmark-grid ul li:nth-child(6n+0){margin-right:38px!important}.bookmark-grid ul li:nth-child(4n+0){margin-right:0!important}}@media (max-width: 950px){.mentor-accordion ul li{width:116px!important;margin-right:15px}.mentor-accordion ul li:nth-child(10n+0){margin-right:15px!important}.mentor-accordion ul li:nth-child(9n+0){margin-right:15px!important}.mentor-accordion ul li:nth-child(7n+0){margin-right:15px!important}.mentor-accordion ul li:nth-child(6n+0){margin-right:15px!important}.mentor-accordion ul li:nth-child(4n+0){margin-right:15px!important}.mentor-accordion ul li:nth-child(5n+0){margin-right:0!important}.bookmark-grid ul li{margin-right:27px}.bookmark-grid ul li:nth-child(10n+0){margin-right:27px!important}.bookmark-grid ul li:nth-child(9n+0){margin-right:27px!important}.bookmark-grid ul li:nth-child(7n+0){margin-right:27px!important}.bookmark-grid ul li:nth-child(6n+0){margin-right:27px!important}.bookmark-grid ul li:nth-child(4n+0){margin-right:27px!important}.bookmark-grid ul li:nth-child(5n+0){margin-right:0!important}}\n"],encapsulation:2}),i})();function _e(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"i",31),e.\u0275\u0275listener("click",function(){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext(2).likedPost()}),e.\u0275\u0275elementEnd()}if(2&i){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275classProp("red-txt","unlike"==t.mentor_details.like_unlike)}}function ge(i,a){if(1&i&&e.\u0275\u0275element(0,"i",32),2&i){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275classProp("red-txt","unlike"==t.mentor_details.like_unlike)}}function he(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"span",39),e.\u0275\u0275element(1,"img",40),e.\u0275\u0275elementEnd()),2&i){const t=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(1),e.\u0275\u0275propertyInterpolate("src","https://admin.convergeapp.c
1o/"+(null==t?null:t.avatar_template.replace("{size}","40")),e.\u0275\u0275sanitizeUrl)}}function ve(i,a){if(1&i&&e.\u0275\u0275element(0,"img",40),2&i){const t=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275propertyInterpolate("src",null==t?null:t.avatar_template.replace("{size}","40"),e.\u0275\u0275sanitizeUrl)}}function fe(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"div",33),e.\u0275\u0275elementStart(1,"div",4),e.\u0275\u0275elementStart(2,"a",34),e.\u0275\u0275elementStart(3,"div",35),e.\u0275\u0275template(4,he,2,1,"span",36),e.\u0275\u0275template(5,ve,1,1,"ng-template",null,37,e.\u0275\u0275templateRefExtractor),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"div"),e.\u0275\u0275elementStart(8,"h4"),e.\u0275\u0275text(9),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(10,"p",38),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()),2&i){const t=a.$implicit,n=e.\u0275\u0275reference(6);e.\u0275\u0275classProp("d-none",1==t.post_number),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngIf","/"==(null==t?null:t.avatar_template.charAt(0)))("ngIfElse",n),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1(" ",t.name,""),e.\u0275\u0275advance(1),e.\u0275\u0275property("innerHTML",t.cooked,e.\u0275\u0275sanitizeHtml)}}const Se=function(){return["/career-counselling/mentor-connect"]};function xe(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",2),e.\u0275\u0275elementStart(1,"div",3),e.\u0275\u0275elementStart(2,"div",4),e.\u0275\u0275elementStart(3,"button",5),e.\u0275\u0275element(4,"i",6),e.\u0275\u0275text(5," Back"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"div",7),e.\u0275\u0275elementStart(7,"div",8),e.\u0275\u0275elementStart(8,"div"),e.\u0275\u0275element(9,"img",9),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"div",10),e.\u0275\u0275elementStart(11,"h3",11),e.\u0275\u0275text(12),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"p",12),e.\u0275\u0275element(14,"i",13),e.\u0275\u0275text(15),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(16,"p",14),e.\u0275\u0275element(17,"i",15),e.\u0275\u0275text(18),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(19,"div",7),e.\u0275\u0275elementStart(20,"div",16),e.\u0275\u0275elementStart(21,"div",17),e.\u0275\u0275elementStart(22,"div",18),e.\u0275\u0275template(23,_e,1,2,"i",19),e.\u0275\u0275template(24,ge,1,2,"i",20),e.\u0275\u0275elementStart(25,"span",21),e.\u0275\u0275text(26),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(27,"div",18),e.\u0275\u0275elementStart(28,"a",22),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const r=e.\u0275\u0275nextContext(),l=e.\u0275\u0275reference(2);return r.replyModal(l)}),e.\u0275\u0275element(29,"i",23),e.\u0275\u0275elementStart(30,"span",21),e.\u0275\u0275text(31),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(32,"div",24),e.\u0275\u0275elementStart(33,"a",25),e.\u0275\u0275listener("click",function(){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext().BookmarkPost()}),e.\u0275\u0275element(34,"i",26),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(35,"div",24),e.\u0275\u0275elementStart(36,"a",27),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const r=e.\u0275\u0275nextContext(),l=e.\u0275\u0275reference(2);return r.replyModal(l)}),e.\u0275\u0275element(37,"i",28),e.\u0275\u0275elementStart(38,"span",21),e.\u0275\u0275text(39,"Reply"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(40,"div",29),e.\u0275\u0275elementStart(41,"div",4),e.\u0275\u0275elementStart(42,"p"),e.\u0275\u0275text(43),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(44,"div"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(45,"div",7),e.\u0275\u0275elementStart(46,"div",4),e.\u0275\u0275element(47,"hr"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(48,fe,11,6,"div",30),e.\u0275\u0275elementEnd()}if(2&i){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(3),e.\u0275\u0275property("routerLink",e.\u0275\u0275pureFunction0(13,Se)),e.\u0275\u0275advance(6),e.\u0275\u0275propertyInterpolate("src",null==t.mentor_details?null:t.mentor_details.mentor_details.image_url,e.\u0275\u0275sanitizeUrl),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",null==t.mentor_details?null:t.mentor_details.mentor_details.title," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",null==t.mentor_details?null:t.mentor_details.mentor_details.mentor_univ," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",null==t.mentor_details?null:t.mentor_details.mentor_details.mentor_company,""),e.\u0275\u0275advance(5),e.\u0275\u0275property("ngIf",t.mentor_details.can_like),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",!t.mentor_details.can_like),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(null==t.mentor_details?null:t.mentor_details.like_count),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1("",t.mentor_details.posts_count-1," "),e.\u0275\u0275advance(3),e.\u0275\u0275classProp("bookmark-txt",t.mentor_details.bookmarked),e.\u0275\u0275advance(9),e.\u0275\u0275textInterpolate(null==t.mentor_details?null:t.mentor_details.mentor_details.short_description),e.\u0275\u0275advance(5),e.\u0275\u0275property("ngForOf",null==t.mentor_details||null==t.mentor_details.post_stream?null:t.mentor_details.post_stream.posts)}}function be(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",41),e.\u0275\u0275elementStart(1,"h4",42),e.\u0275\u0275text(2,"Reply"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"button",43),e.\u0275\u0275listener("click",function(){return e.\u0275\u0275restoreView(t).dismiss("Cross click")}),e.\u0275\u0275element(4,"i",44),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"div",45),e.\u0275\u0275elementStart(6,"div",46),e.\u0275\u0275elementStart(7,"div",47),e.\u0275\u0275elementStart(8,"textarea",48),e.\u0275\u0275listener("ngModelChange",function(r){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext().reply_post=r}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"div",7),e.\u0275\u0275elementStart(10,"div",49),e.\u0275\u0275elementStart(11,"button",50),e.\u0275\u0275listener("click",function(){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext().ReplyPost()}),e.\u0275\u0275element(12,"i",51),e.\u0275\u0275text(13," Reply "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(14,"button",52),e.\u0275\u0275listener("click",function(){return e.\u0275\u0275restoreView(t).dismiss("Cross click")}),e.\u0275\u0275text(15," Cancel "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()}if(2&i){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(8),e.\u0275\u0275property("ngModel",t.reply_post),e.\u0275\u0275advance(3),e.\u0275\u0275property("disabled",!t.reply_post)}}let Ce=(()=>{class i{constructor(t,n,r,l,s,m){this.modalService=t,this.fb=n,this.subheader=r,this.apiService=l,this.activatedRoute=s,this.router=m,this.today=new Date,this.formSubmitted=!1,this.search="",this.discourse_id="",this.reply_post="",this.discourse_id=this.activatedRoute.snapshot.paramMap.get("discourse_id"),this.userData=this.apiService.getUserData()}ngOnInit(){setTimeout(()=>{this.subheader.setTitle(localStorage.getItem("module_name")),this.subheader.setBreadcrumbs([{title:localStorage.getItem("module_name"),linkText:localStorage.getItem("module_name"),linkPath:"/"+localStorage.getItem("page_name")}])},1),this.getMentorDetails()}getMentorDetails(){const t=new FormData;t.append("topic_id",this.discourse_id),this.userData&&t.append("username",this.userData.discourse_username),this.apiService.postApiWithToken("Discourse/getIndTopic",t,1).subscribe(n=>{if(this.mentor_details=n,this.mentor_details.first_post=this.mentor_details.post_stream.posts.find(r=>1==r.post_number),this.mentor_details.bookmarked=this.mentor_details.first_post.bookmarked,this.mentor_details.liked=!1,this.mentor_details.can_like=!1,this.mentor_details.like_count=!1,this.mentor_details.like_unlike="",this.mentor_details.first_post.actions_summary)for(let r of this.mentor_details.first_post.actions_summary)2==r.id&&(this.mentor_details.like_count=r.count,r.acted&&r.can_undo?(this.mentor_details.can_like=!0,this.mentor_details.like_unlike="unlike"):r.can_act&&(this.mentor_details.can_like=!0));this.mentor_details.bookmarked=this.mentor_details.first_post.bookmarked},n=>{this.apiService.toastErrorMsg(n)})}likedPost(){const t=new FormData;t.append("post_id",this.mentor_details.first_post.id),t.append("post_action_type_id","2"),""!=this.mentor_details.like_unlike&&t.append("req_type",this.mentor_details.like_unlike),this.userData&&t.append("username",this.userData.discourse_username),this.apiService.postApiWithToken("Discourse/likeUnlikePost",t,1).subscribe(n=>{"OK"==n.success&&(this.apiService.toastMsg(""==this.mentor_details.like_unlike?"You have liked the mentor":"You have unliked the mentor","success"),this.getMentorDetails())},n=>{this.apiService.toastErrorMsg(n)})}BookmarkPost(){const t=new FormData;t.append("post_id",this.mentor_details.first_post.id),this.mentor_details.bookmarked&&t.append("bookmark_id",this.mentor_details.first_post.bookmark_id),this.userData&&t.append("username",this.userData.discourse_username),this.apiService.postApiWithToken("Discourse/bookmarkPost",t,1).subscribe(n=>{"OK"==n.success&&(this.apiService.toastMsg(this.mentor_details.bookmarked?"You have removed this mentor from your bookmarks":"You have bookmarked this mentor","success"),this.getMentorDetails())},n=>{this.apiService.toastErrorMsg(n)})}replyModal(t){this.reply_post="",this.modalService.open(t,{centered:!0,windowClass:"flag-modal"})}ReplyPost(){const n=new FormData;n.append("topic_id",this.discourse_id),n.append("raw",this.reply_post),n.append("category",this.mentor_details.category_id),n.append("reply_to_post_number",this.mentor_details.first_post.id),n.append("nested_post","true");for(let r of this.mentor_details.tags)n.append("tags[]",r);this.userData&&n.append("username",this.userData.discourse_username),this.apiService.postApiWithToken("Discourse/createTopicPost",n,1).subscribe(r=>{this.modalService.dismissAll(),r.errors?this.apiService.toastMsg(r.errors[0],"error"):(this.getMentorDetails(),this.reply_post="")},r=>{this.modalService.dismissAll(),this.apiService.toastErrorMsg(r)})}}return i.\u0275fac=function(t){return new(t||i)(e.\u0275\u0275directiveInject(S.FF),e.\u0275\u0275directiveInject(o.qu),e.\u0275\u0275directiveInject(u.b),e.\u0275\u0275directiveInject(b.s),e.\u0275\u0275directiveInject(d.gz),e.\u0275\u0275directiveInject(d.F0))},i.\u0275cmp=e.\u0275\u0275defineComponent({type:i,selectors:[["app-mentor-details"]],decls:3,vars:1,consts:[["class","card-body p-25s",4,"ngIf"],["reply",""],[1,"card-body","p-25s"],[1,"row","mb-7"],[1,"col-12"],["type","button",1,"btn","btn-primary","btn-trans
1parent","custom-btn-1","p-0","back-btn","border-0",3,"routerLink"],[1,"fas","fa-chevron-left"],[1,"row"],[1,"col-12","d-flex","align-items-center","flex-row"],[1,"mentor-img","mr-6",3,"src"],[1,"w-100"],[1,"mb-4"],[1,"one-line","mb-2"],[1,"icon-xl","fas","fa-graduation-cap","font-15","mr-1"],[1,"one-line","mb-2","w-60"],[1,"icon-xl","fas","fa-suitcase","font-15","mr-2"],[1,"col-12","margn-25s"],[1,"col-12","d-flex","justify-content-end","align-items-end"],[1,"onlylink","mr-9"],["title","like","class","fas fa-heart highlight-icon ",3,"red-txt","click",4,"ngIf"],["title","like","class","fas fa-heart highlight-icon ",3,"red-txt",4,"ngIf"],[1,"highlight-text"],[3,"click"],[1,"fas","fa-comment-alt","highlight-icon"],[1,"onlylink"],[1,"onlylink","mr-4",3,"click"],["title","bookmark this post",1,"fas","fa-bookmark","highlight-icon","pt-1"],[1,"onlylink","font-15",3,"click"],[1,"fas","graytxt","fa-reply","highlight-icon","mr-2"],[1,"row","mt-2"],["class","row mt-8 mb-8 bdr-btm pb-2",3,"d-none",4,"ngFor","ngForOf"],["title","like",1,"fas","fa-heart","highlight-icon",3,"click"],["title","like",1,"fas","fa-heart","highlight-icon"],[1,"row","mt-8","mb-8","bdr-btm","pb-2"],[1,"align-content"],[1,"symbol","symbol-circle","symbol-lg-50","mr-4"],["class","symbol symbol-lg-40 symbol-circle mr-2 mb-2 ng-star-inserted",4,"ngIf","ngIfElse"],["avatarelse1",""],[1,"pl-m-65",3,"innerHTML"],[1,"symbol","symbol-lg-40","symbol-circle","mr-2","mb-2","ng-star-inserted"],["alt","Pic",3,"src"],[1,"modal-header","pt-7","pl-7","pr-4","pb-0","border-0"],[1,"modal-title"],["type","button","aria-label","Close",1,"close","mts-tp15",3,"click"],[1,"fas","fa-times"],[1,"modal-body","pt-0","pb-2"],[1,"row","mt-5","mb-4"],[1,"col-md-12"],["placeholder","Enter your reply",1,"form-control","feedbak-textarea-hgt",3,"ngModel","ngModelChange"],[1,"col-xl-12","ml-auto","mr-auto","mt-2","mb-6"],["type","button",1,"btn","btn-primary","custom-btn-1","mr-3",3,"disabled","click"],[1,"fas","fa-reply"],["type","button",1,"btn","btn-primary","btn-skyblue","custom-btn-1",3,"click"]],template:function(t,n){1&t&&(e.\u0275\u0275template(0,xe,49,14,"div",0),e.\u0275\u0275template(1,be,16,2,"ng-template",null,1,e.\u0275\u0275templateRefExtractor)),2&t&&e.\u0275\u0275property("ngIf",n.mentor_details)},directives:[g.NgIf,d.rH,g.NgForOf,o.Fj,o.JJ,o.On],styles:[".w-60{width:60%}.margn-25s{margin-top:-20px}.checklist .mat-expansion-panel-header.mat-expanded,.mat-expansion-panel-header{background:rgba(0,0,0,.04)!important}.mentor-img{width:100px;height:100px;border-radius:5px;-o-object-position:top center;object-position:top center;-o-object-fit:cover;object-fit:cover}.bdr-btm{border-bottom:1px solid #f1f0f0}.highlight-icon{margin-right:10px;float:left;font-size:17px}.highlight-text{float:left;line-height:15px}.fas.red-txt{color:#ff7e84!important}a.onlylink .fas.bookmark-txt{color:#eb962f!important}.pl-lft-padding{padding-left:35px}.pr-rft-padding{padding-right:35px}.border-lft-2{border-left:2px solid #2F74EB}.pt-2-custom{padding-top:5px!important}.pb-btm-5{padding-bottom:0!important}.align-content{display:flex;flex-direction:row;cursor:auto}.align-content p{color:#3f4254!important}@media (max-width: 1700px){.pl-lft-padding{padding-left:25px}.pr-rft-padding{padding-right:25px}}@media (max-width: 1500px){.pl-lft-padding{padding-left:20px}.pr-rft-padding{padding-right:20px}}@media (max-width: 1300px){.pl-lft-padding{padding-left:15px}.pr-rft-padding{padding-right:15px}}@media (max-width: 1200px){.pl-lft-padding{padding-left:10px}.pr-rft-padding{padding-right:10px}.w-60{width:100%}.margn-25s{margin-top:0}}\n"],encapsulation:2}),i})();function Ee(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"p",8),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&i){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1("Last Updated on ",t.last_updated_date,"")}}function ye(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"mat-option",23),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&i){const t=a.$implicit;e.\u0275\u0275property("value",t.name),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",t.name," ")}}function Ie(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"mat-chip",24),e.\u0275\u0275listener("removed",function(){const l=e.\u0275\u0275restoreView(t).$implicit;return e.\u0275\u0275nextContext(2).removeSubject(l)}),e.\u0275\u0275text(1),e.\u0275\u0275elementStart(2,"mat-icon",25),e.\u0275\u0275text(3,"cancel"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()}if(2&i){const t=a.$implicit;e.\u0275\u0275property("removable",!0),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",t.subject," ")}}function ke(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",9),e.\u0275\u0275elementStart(1,"div",10),e.\u0275\u0275elementStart(2,"div",11),e.\u0275\u0275elementStart(3,"div",12),e.\u0275\u0275elementStart(4,"div",13),e.\u0275\u0275elementStart(5,"h4"),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"p",14),e.\u0275\u0275text(8,"Add subjects that you performed highly in and liked"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"div",1),e.\u0275\u0275elementStart(10,"div",12),e.\u0275\u0275elementStart(11,"div",15),e.\u0275\u0275elementStart(12,"mat-form-field",16),e.\u0275\u0275elementStart(13,"input",17,18),e.\u0275\u0275listener("input",function(r){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext().searchList(r.target.value)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(15,"mat-autocomplete",19,20),e.\u0275\u0275listener("optionSelected",function(r){const s=e.\u0275\u0275restoreView(t).$implicit,m=e.\u0275\u0275reference(14);return e.\u0275\u0275nextContext().addSubject(r,s.id),m.value=""}),e.\u0275\u0275template(17,ye,2,2,"mat-option",21),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(18,"mat-select-trigger"),e.\u0275\u0275elementStart(19,"mat-chip-list"),e.\u0275\u0275template(20,Ie,4,2,"mat-chip",22),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()}if(2&i){const t=a.$implicit,n=e.\u0275\u0275reference(16),r=e.\u0275\u0275nextContext();e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate(t.title),e.\u0275\u0275advance(7),e.\u0275\u0275property("matAutocomplete",n),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",r.subjects),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngForOf",t.subjectdet)}}let we=(()=>{class i{constructor(t,n,r,l,s,m){this.modalService=t,this.fb=n,this.subheader=r,this.apiService=l,this.activatedRoute=s,this.router=m,this.today=new Date,this.formSubmitted=!1,this.subjectList=[],this.subjects=[],this.last_updated_date="",this.userData=this.apiService.getUserData()}ngOnInit(){setTimeout(()=>{this.subheader.setTitle(localStorage.getItem("module_name")),this.subheader.setBreadcrumbs([{title:localStorage.getItem("module_name"),linkText:localStorage.getItem("module_name"),linkPath:"/"+localStorage.getItem("page_name")}])}
1,1),this.getSubjectList()}getSubjectList(){this.apiService.post_with_token("Careers/getSubjectList",{master_type_id:this.apiService.getUserModuleId()}).subscribe(t=>{if(t.status){const n=t.data;if(t.proficiencylist){this.subjectList=t.proficiencylist;for(let r of this.subjectList){let l=n.find(s=>s.title==r.title);r.subjectdet=l?l.subjectdet:[]}}}},t=>{this.apiService.toastErrorMsg(t)})}searchList(t){t.length>3&&this.apiService.post_with_token("Careers/getListingSearchAutosuggest",{level_type:0,search_text:t}).subscribe(r=>{this.subjects=r},r=>{this.apiService.toastErrorMsg(r)})}addSubject(t,n){let r=new FormData;r.append("subject_proficiency",n),r.append("subject_name[0][name]",t.option.value),this.apiService.post_form_with_token("Careers/addSubject",r).subscribe(l=>{this.apiService.toastMsg(l.message,l.status?"success":"warning"),this.getSubjectList()},l=>{this.apiService.toastErrorMsg(l)})}removeSubject(t){this.apiService.post_with_token("Careers/removeSubject",{subject:t.ids}).subscribe(r=>{this.apiService.toastMsg(r.message,r.status?"success":"warning"),this.getSubjectList()},r=>{this.apiService.toastErrorMsg(r)})}}return i.\u0275fac=function(t){return new(t||i)(e.\u0275\u0275directiveInject(S.FF),e.\u0275\u0275directiveInject(o.qu),e.\u0275\u0275directiveInject(u.b),e.\u0275\u0275directiveInject(b.s),e.\u0275\u0275directiveInject(d.gz),e.\u0275\u0275directiveInject(d.F0))},i.\u0275cmp=e.\u0275\u0275defineComponent({type:i,selectors:[["app-swot-analysis"]],decls:10,vars:2,consts:[[1,"card-body","p-25s"],[1,"row"],[1,"col-12"],[1,"bluetxt-clr"],["class","mb-6",4,"ngIf"],[1,"col-12","container-fluid"],[1,"row","m-0","mb-5","m-tabs"],["class","col-md-6 mb-5 mbs-20 clearfix ",4,"ngFor","ngForOf"],[1,"mb-6"],[1,"col-md-6","mb-5","mbs-20","clearfix"],[1,"proficiency-box"],[1,"row","mb-3"],[1,"col-md-12"],[1,"lgt-grey-bg"],[1,"mb-0"],[1,"inner-padding"],[1,"example-full-width"],["matInput","","placeholder","Type a subject ","autocomplete","off",3,"matAutocomplete","input"],["subjectInput",""],[3,"optionSelected"],["subjectAuto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"removable","removed",4,"ngFor","ngForOf"],[3,"value"],[3,"removable","removed"],["matChipRemove",""]],template:function(t,n){1&t&&(e.\u0275\u0275elementStart(0,"div",0),e.\u0275\u0275elementStart(1,"div",1),e.\u0275\u0275elementStart(2,"div",2),e.\u0275\u0275elementStart(3,"h3",3),e.\u0275\u0275text(4,"SWOT Analysis "),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(5,Ee,2,1,"p",4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"div",1),e.\u0275\u0275elementStart(7,"div",5),e.\u0275\u0275elementStart(8,"div",6),e.\u0275\u0275template(9,ke,21,4,"div",7),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()),2&t&&(e.\u0275\u0275advance(5),e.\u0275\u0275property("ngIf",n.last_updated_date),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",n.subjectList))},directives:[g.NgIf,g.NgForOf,k.KE,v.Nt,z.ZL,z.XC,I.$L,M.qn,T.ey,M.HS,R.Hw,M.qH],styles:[".lgt-grey-bg[_ngcontent-%COMP%]{background:rgba(0,0,0,.04)!important;padding:15px}.proficiency-box[_ngcontent-%COMP%]{padding:0 0 15px!important;min-height:auto!important}.inner-padding[_ngcontent-%COMP%]{padding:20px 25px!important}"]}),i})();var X=c(15439);function Me(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"p",13),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&i){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1("Last Updated on ",t.last_updated_date,"")}}function Te(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"label",26),e.\u0275\u0275elementStart(1,"input",27),e.\u0275\u0275listener("click",function(r){return r.stopPropagation()})("change",function(r){const s=e.\u0275\u0275restoreView(t).$implicit,m=e.\u0275\u0275nextContext(2).index,f=e.\u0275\u0275nextContext().index;return e.\u0275\u0275nextContext().addSelectedQuestionValueToForm(r,f,m,s)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(2,"span"),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd()}if(2&i){const t=a.$implicit,n=e.\u0275\u0275nextContext(2).index,r=e.\u0275\u0275nextContext().index,l=e.\u0275\u0275nextContext();e.\u0275\u0275advance(1),e.\u0275\u0275propertyInterpolate("value",t),e.\u0275\u0275property("checked",l.questionnaireFormControl.controls[r].controls.items.controls[n].get("value").value.includes(t)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1("",t," ")}}function Oe(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"div",24),e.\u0275\u0275template(1,Te,4,3,"label",25),e.\u0275\u0275elementEnd()),2&i){const t=e.\u0275\u0275nextContext().index,n=e.\u0275\u0275nextContext().index,r=e.\u0275\u0275nextContext();e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",r.questionnaire[n].item[t].field_type_values)}}function Fe(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"label",30),e.\u0275\u0275element(1,"input",31),e.\u0275\u0275element(2,"span"),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd()),2&i){const t=a.$implicit;e.\u0275\u0275advance(1),e.\u0275\u0275property("value",t),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(t)}}function je(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"div",28),e.\u0275\u0275template(1,Fe,4,2,"label",29),e.\u0275\u0275elementEnd()),2&i){const t=e.\u0275\u0275nextContext().index,n=e.\u0275\u0275nextContext().index,r=e.\u0275\u0275nextContext();e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",r.questionnaire[n].item[t].field_type_values)}}function Re(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"mat-option",35),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&i){const t=a.$implicit;e.\u0275\u0275property("value",t),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",t," ")}}function ze(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"mat-form-field",32),e.\u0275\u0275elementStart(1,"mat-label"),e.\u0275\u0275text(2,"Select"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"mat-select",33),e.\u0275\u0275template(4,Re,2,2,"mat-option",34),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()),2&i){const t=e.\u0275\u0275nextContext().index,n=e.\u0275\u0275nextContext().index,r=e.\u0275\u0275nextContext();e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",r.questionnaire[n].item[t].field_type_values)}}function Pe(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",1),e.\u0275\u0275elementStart(1,"div",36),e.\u0275\u0275elementStart(2,"div",37),e.\u0275\u0275elementStart(3,"input",38),e.\u0275\u0275listener("keypress",function(r){e.\u0275\u0275restoreView(t);const l=e.\u0275\u0275nextContext().index,s=e.\u0275\u0275nextContext().index,m=e.\u0275\u0275nextContext();return m.allowOnlyNumber(m.questionnaire[s].item[l].field_type,r)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()}if(2&i){const t=e.\u0275\u0275nextContext().index,n=e.\u0275\u0275nextContext().index,r=e.\u0275\u0275nextContext();e.\u0275\u0275advance(3),e.\u0275\u0275property("type",r.questionnaire[n].item[t].field_type)}}function De(i,a){1&i&&(e.\u0275\u0275elementStart(0,"div",1),e.\u0275\u0275elementStart(1,"div",36),e.\u0275\u0275elementStart(2,"div",37),e.\u0275\u0275element(3,"textarea",39),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd())}function Le(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"mat-form-field",32),e.\u0275\u0275element(1,"input",40),e.\u0275\u0275element(2,"mat-datepicker-toggle",41),e.\u0275\u0275element(3,"mat-datepicker",null,42),e.\u0275\u0275elementEnd()),2&i){const t=e.\u0275\u0275reference(4);e.\u0275\u0275advance(1),e.\u0275\u0275property("readonly",!0)("matDatepicker",t),e.\u0275\u0275advance(1),e.\u0275\u0275property("for",t)}}function Ae(i,a){1&i&&(e.\u0275\u0275elementStart(0,"mat-error"),e.\u0275\u0275text(1," Required "),e.\u0275\u0275elementEnd())}function Ve(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"div",17),e.\u0275\u0275elementStart(1,"div",2),e.\u0275\u0275elementStart(2,"h5",18),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"div",2),e.\u0275\u0275template(5,Oe,2,1,"div",19),e.\u0275\u0275template(6,je,2,1,"div",20),e.\u0275\u0275template(7,ze,5,1,"mat-form-field",21),e.\u0275\u0275template(8,Pe,4,1,"div",22),e.\u0275\u0275template(9,De,4,0,"div",22),e.\u0275\u0275template(10,Le,5,3,"mat-form-field",21),e.\u0275\u0275template(11,Ae,2,0,"mat-error",23),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()),2&i){const t=a.index,n=e.\u0275\u0275nextContext().index,r=e.\u0275\u0275nextContext();e.\u0275\u0275property("formGroupName",t),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate3("",t+1,".",r.questionnaire[n].item[t].name," ","1"==r.questionnaire[n].item[t].is_required?"*":""," "),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf","checkbox"==r.questionnaire[n].item[t].field_type),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf","radio"==r.questionnaire[n].item[t].field_type),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf","dropdown"==r.questionnaire[n].item[t].field_type),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf","text"==r.questionnaire[n].item[t].field_type||"number"==r.questionnaire[n].item[t].field_type),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf","textarea"==r.questionnaire[n].item[t].field_type),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf","date"==r.questionnaire[n].item[t].field_type),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",r.formSubmitted&&(null==r.questionnaireFormControl.controls[n].controls.items.controls[t].get("value").errors?null:r.questionnaireFormControl.controls[n].controls.items.controls[t].get("value").errors.required))}}function Ne(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"mat-expansion-panel",14),e.\u0275\u0275elementStart(1,"mat-expansion-panel-header"),e.\u0275\u0275elementStart(2,"mat-panel-title"),e.\u0275\u0275elementStart(3,"strong"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"div",15),e.\u0275\u0275template(6,Ve,12,11,"div",16),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()),2&i){const t=a.$implicit,n=a.index,r=e.\u0275\u0275nextContext();e.\u0275\u0275property("expanded",!0)("formGroupName",n),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate1("",r.questionnaire[n].group," "),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngForOf",t.controls.items.controls)}}let $e=(()=>{class i{constructor(t,n,r,l,s,m){this.modalService=t,this.fb=n,this.subheader=r,this.apiService=l,this.activatedRoute=s,this.router=m,this.today=new Date,this.formSubmitted=!1,this.questionnaire=[],this.questionAnswerList=[],this.last_updated_date="",this.userData=this.apiService.getUserData()}ngOnInit(){setTimeout(()=>{this.subheader.setTitle(localStorage.getItem("module_name")),this.subheader.setBreadcrumbs([{title:localStorage.getItem("module_name"),linkText:localStorage.getItem("module_name"),linkPath:"/"+localStorage.getItem("page_name")}])},1),this.resetForm(),this.getQuestionnaire()}resetForm(){this.questionnaireForm=this.fb.group({attribute_data:this.fb.array([])})}get questionnaireFormControl(){return this.questionnaireForm.get("attribute_data")}addQuestionnaire(t,n){this.questionnaireFormControl.push(this.fb.group({group_id:[t.group_id],items:this.fb.array([])}));for(let r of t.item)this.questionnaireFormControl.controls[n].controls.items.push(this.fb.group("0"==r.is_required?{machine_name:[r.machine_name],value:[""]}:{machine_name:[r.machine_name,[o.kI.required]],value:["",[o.kI.required]]}))}addSelectedQuestionValueToForm(t,n,r,l){let s=[];if(this.questionnaireFormControl.controls[n].controls.items.controls[r].value.value&&(s=this.questionnaireFormControl.controls[n].controls.items.controls[r].value.value),t.target.checked)s.push(l);else{let m=s.findIndex(f=>f==l);-1!=m&&s.splice(m,1)}this.questionnaireFormControl.controls[n].controls.items.controls[r].patchValue({value:s})}getQuestionnaire(){this.apiService.post_with_token("Sop/loadQuestionnaire",{master_type_id:this.apiService.getUserModuleId()}).subscribe(t=>
1{if(t.status){t.data&&(this.questionnaire=t.data);for(let n in this.questionnaire)this.addQuestionnaire(this.questionnaire[n],n);this.getAnswerList()}},t=>{this.apiService.toastErrorMsg(t)})}getAnswerList(){const t={module_id:this.apiService.getUserModuleId().toString()};this.apiService.post_with_token("Sop/loadAnswers",t).subscribe(n=>{if(this.last_updated_date=n.last_updated_date,n.status){this.questionAnswerList=n.data;let r=this.questionAnswerList;for(let l in r){let s=[];for(let m of r[l].questionnaire[1])s.push(m);for(let m in s){let f;if(s[m].checkboxanswerobject){let O=[];for(let W of s[m].checkboxanswerobject){let $=W.chechbox_answer.split("#");"true"==(!!($&&$.length>0)&&$[1])&&O.push($[0].split("_").join(" "))}f=O}else try{f=JSON.parse(s[m].answer)}catch(O){f=s[m].answer}let G=this.questionnaire.find(O=>O.group_id==r[l].category_id&&1==O.counter).item.findIndex(O=>O.machine_name==s[m].question);-1!=G&&this.questionnaireFormControl.controls[l].controls.items.controls[G].patchValue({value:f})}}}},n=>{this.apiService.toastErrorMsg(n)})}formSubmit(){if(this.formSubmitted=!0,this.questionnaireForm.invalid)return this.formSubmitted=!0,!1;this.formSubmitted=!1,this.saveQuestionnaire(0)}formSaveAsDraft(){this.formSubmitted=!1,this.saveQuestionnaire(1)}saveQuestionnaire(t){let n={is_completed:this.questionnaireForm.invalid?0:1,data:this.questionnaireForm.value.attribute_data,last_updated:X().format("DD/MM/YYYY h:mm A")};const r={module_id:this.apiService.getUserModuleId().toString()};if(0!=n.data.length)for(let l in n.data)for(let s in n.data[l].items){let m=this.questionnaire[l].item[s].field_type_values,q=n.data[l].group_id+"[1]["+n.data[l].items[s].machine_name+"]";if("checkbox"==this.questionnaire[l].item[s].field_type)for(let G of m){let W=n.data[l].items[s].value.find(Z=>Z==G),$=q+"["+G.replaceAll(" ","_")+"]";Object.assign(r,{[$]:!!W})}else Object.assign(r,{[q]:n.data[l].items[s].value})}this.apiService.post_with_token("Sop/saveQuestionnaire",r).subscribe(l=>{1==l.status?(this.last_updated_date=X().format("DD/MM/YYYY h:mm A"),this.apiService.toastMsg(1==t?"Draft Saved Successfully":l.message,"success")):this.apiService.toastMsg(l.message,"error")},l=>{this.apiService.toastErrorMsg(l)})}allowOnlyNumber(t,n){if("number"==t)return 8===n.keyCode||n.charCode>=48&&n.charCode<=57}}return i.\u0275fac=function(t){return new(t||i)(e.\u0275\u0275directiveInject(S.FF),e.\u0275\u0275directiveInject(o.qu),e.\u0275\u0275directiveInject(u.b),e.\u0275\u0275directiveInject(b.s),e.\u0275\u0275directiveInject(d.gz),e.\u0275\u0275directiveInject(d.F0))},i.\u0275cmp=e.\u0275\u0275defineComponent({type:i,selectors:[["app-career-questionnaire"]],decls:19,vars:3,consts:[[1,"card-body","p-25s"],[1,"row"],[1,"col-12"],[1,"bluetxt-clr"],["class","mb-6",4,"ngIf"],[3,"formGroup","ngSubmit"],[1,"row","mb-7"],["formArrayName","attribute_data",1,"col-12","checklist"],["class","mb-5",3,"expanded","formGroupName",4,"ngFor","ngForOf"],[1,"row","mb-8"],[1,"col-12","text-right"],["type","button",1,"btn","btn-primary","btn-skyblue","custom-btn-1",3,"click"],["type","submit",1,"btn","btn-primary","custom-btn-1","ml-3"],[1,"mb-6"],[1,"mb-5",3,"expanded","formGroupName"],["formArrayName","items",1,"mt-7"],["class","row mb-10",3,"formGroupName",4,"ngFor","ngForOf"],[1,"row","mb-10",3,"formGroupName"],[1,"mb-5"],["class","checkbox-list checkbox-inlinelist",4,"ngIf"],["class","radio-list radio-inlinelist",4,"ngIf"],["class","example-full-width",4,"ngIf"],["class","row",4,"ngIf"],[4,"ngIf"],[1,"checkbox-list","checkbox-inlinelist"],["class","checkbox",4,"ngFor","ngForOf"],[1,"checkbox"],["type","checkbox",3,"value","checked","click","change"],[1,"radio-list","radio-inlinelist"],["class","radio",4,"ngFor","ngForOf"],[1,"radio"],["type","radio","formControlName","value",3,"value"],[1,"example-full-width"],["formControlName","value"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"col-3"],[1,"form-group","mb-0"],["formControlName","value",1,"form-control",3,"type","keypress"],["formControlName","value",1,"form-control","feedbak-textarea-hgt"],["matInput","","formControlName","value",3,"readonly","matDatepicker"],["matSuffix","",3,"for"],["quesdatepicker",""]],template:function(t,n){1&t&&(e.\u0275\u0275elementStart(0,"div",0),e.\u0275\u0275elementStart(1,"div",1),e.\u0275\u0275elementStart(2,"div",2),e.\u0275\u0275elementStart(3,"h3",3),e.\u0275\u0275text(4,"Questionnaire "),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(5,Me,2,1,"p",4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"div",1),e.\u0275\u0275elementStart(7,"div",2),e.\u0275\u0275elementStart(8,"form",5),e.\u0275\u0275listener("ngSubmit",function(){return n.formSubmit()}),e.\u0275\u0275elementStart(9,"div",6),e.\u0275\u0275elementStart(10,"div",7),e.\u0275\u0275elementStart(11,"mat-accordion"),e.\u0275\u0275template(12,Ne,7,4,"mat-expansion-panel",8),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"div",9),e.\u0275\u0275elementStart(14,"div",10),e.\u0275\u0275elementStart(15,"button",11),e.\u0275\u0275listener("click",function(){return n.formSaveAsDraft()}),e.\u0275\u0275text(16," Save Draft"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(17,"button",12),e.\u0275\u0275text(18," Submit "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()),2&t&&(e.\u0275\u0275advance(5),e.\u0275\u0275property("ngIf",n.last_updated_date),e.\u0275\u0275advance(3),e.\u0275\u0275property("formGroup",n.questionnaireForm),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",n.questionnaireFormControl.controls))},directives:[g.NgIf,o._Y,o.JL,o.sg,o.CE,_.pp,g.NgForOf,_.ib,o.x0,_.yz,_.yK,o._,o.Fj,o.JJ,o.u,k.KE,k.hX,I.gD,T.ey,v.Nt,A.hl,A.nW,k.R9,A.Mq,k.TO],styles:[".checklist .mat-expansion-panel-header.mat-expanded,.mat-expansion-panel-header{background:rgba(0,0,0,.04)!important}\n"],encapsulation:2}),i})();var N=c(89729),H=c(80833),j=c(90089);function Ue(i,a){1&i&&(e.\u0275\u0275elementStart(0,"div",12),e.\u0275\u0275elementStart(1,"div",13),e.\u0275\u0275elementStart(2,"div",14),e.\u0275\u0275elementStart(3,"div",13),e.\u0275\u0275element(4,"img",15),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"div",16),e.\u0275\u0275elementStart(6,"div",13),e.\u0275\u0275elementStart(7,"h3"),e.\u0275\u0275text(8,"No courses added yet"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd())}function Be(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"span",37),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&i){const t=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1("(",t.preference,")")}}function Ge(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"p",38),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&i){const t=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate2(" Recommended By: ",t.counsellor," on ",t.date,"")}}function He(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"p",38),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&i){const t=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" Added By: You on ",t.date,"")}}function qe(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"button",39),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const r=e.\u0275\u0275nextContext().$implicit;return e.\u0275\u0275nextContext(2).redirectToTrending(r)}),e.\u0275\u0275text(1," Read "),e.\u0275\u0275elementEnd()}}function Qe(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"button",40),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const r=e.\u0275\u0275nextContext().$implicit;return e.\u0275\u0275nextContext(2).deleteCourseRecommendation(r.select_course)}
1),e.\u0275\u0275element(1,"i",41),e.\u0275\u0275elementEnd()}}function Je(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"button",42),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const r=e.\u0275\u0275nextContext().$implicit,l=e.\u0275\u0275nextContext(2),s=e.\u0275\u0275reference(14);return l.confirmCourseModal(s,r)}),e.\u0275\u0275text(1," Confirm "),e.\u0275\u0275elementEnd()}}function We(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"button",42),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const r=e.\u0275\u0275nextContext().$implicit;return e.\u0275\u0275nextContext(2).unConfirmCourse(r)}),e.\u0275\u0275text(1," Unconfirm "),e.\u0275\u0275elementEnd()}}const Ke=function(i,a){return["career-counselling/courses-info",i,a]};function Ye(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"li"),e.\u0275\u0275elementStart(1,"a"),e.\u0275\u0275elementStart(2,"div",43),e.\u0275\u0275elementStart(3,"div",44),e.\u0275\u0275elementStart(4,"div",45),e.\u0275\u0275elementStart(5,"div",46),e.\u0275\u0275elementStart(6,"button",47),e.\u0275\u0275text(7," Read "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"button",48),e.\u0275\u0275listener("click",function(){const l=e.\u0275\u0275restoreView(t).$implicit;return e.\u0275\u0275nextContext(3).deleteSpecializationRecommendation(l.ids)}),e.\u0275\u0275element(9,"i",41),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(10,"img",49),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"div",14),e.\u0275\u0275elementStart(12,"div",50),e.\u0275\u0275elementStart(13,"div",51),e.\u0275\u0275elementStart(14,"div",14),e.\u0275\u0275elementStart(15,"div",13),e.\u0275\u0275elementStart(16,"h5",52),e.\u0275\u0275text(17),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()}if(2&i){const t=a.$implicit;e.\u0275\u0275advance(6),e.\u0275\u0275property("routerLink",e.\u0275\u0275pureFunction2(3,Ke,t.course_id,t.specialization_id)),e.\u0275\u0275advance(4),e.\u0275\u0275propertyInterpolate("src",t.featured_image,e.\u0275\u0275sanitizeUrl),e.\u0275\u0275advance(7),e.\u0275\u0275textInterpolate(t.course_specialization_value)}}function Xe(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",19),e.\u0275\u0275elementStart(1,"mat-accordion"),e.\u0275\u0275elementStart(2,"mat-expansion-panel",20),e.\u0275\u0275elementStart(3,"mat-expansion-panel-header"),e.\u0275\u0275elementStart(4,"div",21),e.\u0275\u0275listener("click",function(r){return r.stopPropagation()}),e.\u0275\u0275elementStart(5,"div",22),e.\u0275\u0275elementStart(6,"div",2),e.\u0275\u0275elementStart(7,"h4",23),e.\u0275\u0275text(8),e.\u0275\u0275template(9,Be,2,1,"span",24),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(10,Ge,2,2,"p",25),e.\u0275\u0275template(11,He,2,1,"p",25),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(12,"div",26),e.\u0275\u0275template(13,qe,2,0,"button",27),e.\u0275\u0275template(14,Qe,2,0,"button",28),e.\u0275\u0275template(15,Je,2,0,"button",29),e.\u0275\u0275template(16,We,2,0,"button",30),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(17,"div",31),e.\u0275\u0275elementStart(18,"div",32),e.\u0275\u0275elementStart(19,"ul"),e.\u0275\u0275template(20,Ye,18,6,"li",33),e.\u0275\u0275elementStart(21,"li",34),e.\u0275\u0275elementStart(22,"div",35),e.\u0275\u0275elementStart(23,"button",36),e.\u0275\u0275listener("click",function(){const l=e.\u0275\u0275restoreView(t).$implicit,s=e.\u0275\u0275nextContext(2),m=e.\u0275\u0275reference(12);return s.addSpecializations(m,l)}),e.\u0275\u0275element(24,"i",6),e.\u0275\u0275text(25," Add Specializations "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()}if(2&i){const t=a.$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275property("expanded",!0),e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate1("",t.select_course," "),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",t.preference),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",t.counsellor),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",""==t.counsellor),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",0==t.specialization.length),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",!t.course_confirm||0==t.course_confirm),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",!t.course_confirm||0==t.course_confirm),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",1==t.course_confirm),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",t.specialization)}}function Ze(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"div",17),e.\u0275\u0275template(1,Xe,26,10,"div",18),e.\u0275\u0275elementEnd()),2&i){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",t.records)}}function et(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"div",71),e.\u0275\u0275elementStart(1,"div",50),e.\u0275\u0275elementStart(2,"p"),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()),2&i){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(t.courseControl.course_name.value)}}function tt(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"mat-option",74),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&i){const t=a.$implicit;e.\u0275\u0275property("value",t.id),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",t.name," ")}}function nt(i,a){1&i&&(e.\u0275\u0275elementStart(0,"mat-error"),e.\u0275\u0275text(1," Please select course "),e.\u0275\u0275elementEnd())}function it(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",71),e.\u0275\u0275elementStart(1,"div",50),e.\u0275\u0275elementStart(2,"mat-form-field",61),e.\u0275\u0275elementStart(3,"mat-label"),e.\u0275\u0275text(4,"Select Course*"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"mat-select",72),e.\u0275\u0275listener("ngModelChange",function(){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext(2).getSpecializationList()}),e.\u0275\u0275elementStart(6,"mat-select-filter",73),e.\u0275\u0275listener("filteredReturn",function(r){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext(2).courseFilterList=r}),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(7,tt,2,2,"mat-option",66),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(8,nt,2,0,"mat-error",68),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()}if(2&i){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(6),e.\u0275\u0275property("placeholder","Search..")("displayMember","name")("array",t.courseList),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",t.courseFilterList),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",t.formSubmitted&&(null==t.courseControl.course.errors?null:t.courseControl.course.errors.required))}}function rt(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"mat-option",74),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&i){const t=a.$implicit;e.\u0275\u0275property("value",t.name),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",t.name," ")}}function ot(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"mat-chip",75),e.\u0275\u0275listener("removed",function(){const l=e.\u0275\u0275restoreView(t).$implicit;return e.\u0275\u0275nextContext(2).onToppingRemoved(l,"specialization")}),e.\u0275\u0275text(1),e.\u0275\u0275elementStart(2,"mat-icon",76),e.\u0275\u0275text(3,"cancel"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()}if(2&i){const t=a.$implicit;e.\u0275\u0275property("removable",!0),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",t.name," ")}}function at(i,a){1&i&&(e.\u0275\u0275elementStart(0,"mat-error"),e.\u0275\u0275text(1," Please select Specializations "),e.\u0275\u0275elementEnd())}function lt(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",53),e.\u0275\u0275elementStart(1,"h4",54),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"button",55),e.\u0275\u0275listener("click",function(){return e.\u0275\u0275restoreView(t).dismiss("Cross click")}),e.\u0275\u0275element(4,"i",56),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"div",57),e.\u0275\u0275elementStart(6,"form",58),e.\u0275\u0275listener("ngSubmit",function(){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext().addCourseRecommendation()}),e.\u0275\u0275template(7,et,4,1,"div",59),e.\u0275\u0275template(8,it,9,5,"div",59),e.\u0275\u0275elementStart(9,"div",60),e.\u0275\u0275elementStart(10,"div",50),e.\u0275\u0275elementStart(11,"mat-form-field",61),e.\u0275\u0275elementStart(12,"input",62,63),e.\u0275\u0275listener("input",function(r){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext().filterListing(r.target.value)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(14,"mat-autocomplete",64,65),e.\u0275\u0275listener("optionSelected",function(r){e.\u0275\u0275restoreView(t);const l=e.\u0275\u0275reference(13);return e.\u0275\u0275nextContext().addOptionToInput(r,"specialization"),l.value=""}),e.\u0275\u0275template(16,rt,2,2,"mat-option",66),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(17,"mat-select-trigger"),e.\u0275\u0275elementStart(18,"mat-chip-list"),e.\u0275\u0275template(19,ot,4,2,"mat-chip",67),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(20,at,2,0,"mat-error",68),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(21,"div",14),e.\u0275\u0275elementStart(22,"div",69),e.\u0275\u0275elementStart(23,"button",70),e.\u0275\u0275text(24," Submit"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()}if(2&i){const t=e.\u0275\u0275reference(15),n=e.\u0275\u0275nextContext();e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(1==n.is_course?"Add Course":"Add Specializations"),e.\u0275\u0275advance(4),e.\u0275\u0275property("formGroup",n.course_recommendation),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",0==n.is_course),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",1==n.is_course),e.\u0275\u0275advance(4),e.\u0275\u0275property("matAutocomplete",t),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",n.specializationList),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngForOf",n.courseControl.specialization.value),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",n.formSubmitted&&(null==n.courseControl.specialization.errors?null:n.courseControl.specialization.errors.required))}}function st(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"mat-option",74),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&i){const t=a.$implicit;e.\u0275\u0275property("value",t),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate(t)}}function mt(i,a){1&i&&(e.\u0275\u0275elementStart(0,"mat-error"),e.\u0275\u0275text(1," Please select preference "),e.\u0275\u0275elementEnd())}function ct(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",53),e.\u0275\u0275elementStart(1,"h4",54),e.\u0275\u0275text(2,"Confirm Course"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"button",55),e.\u0275\u0275listener("click",function(){return e.\u0275\u0275restoreView(t).dismiss("Cross click")}),e.\u0275\u0275element(4,"i",56),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"div",57),e.\u0275\u0275elementStart(6,"form",58),e.\u0275\u0275listener("ngSubmit",function(){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext().addPreference()}),e.\u0275\u0275elementStart(7,"div",77),e.\u0275\u0275elementStart(8,"div",50),e.\u0275\u0275elementStart(9,"p"),e.\u0275\u0275text(10,"Are you sure that you want to confirm this course?"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"div",77),e.\u0275\u0275elementStart(12,"div",50),e.\u0275\u0275elementStart(13,"mat-form-field",61),e.\u0275\u0275elementStart(14,"mat-label"),e.\u0275\u0275text(15,"Select Preference"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(16,"mat-select",78),e.\u0275\u0275elementStart(17,"mat-option",79),e.\u0275\u0275text(18,"Select"),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(19,st,2,2,"mat-option",66),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(20,mt,2,0,"mat-error",68),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(21,"div",80),e.\u0275\u0275elementStart(22,"div",50),e.\u0275\u0275elementStart(23,"p"),e.\u0275\u0275text(24,"Mention your course preference "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(25,"div",14),e.\u0275\u0275elementStart(26,"div",69),e.\u0275\u0275elementStart(27,"button",70),e.\u0275\u0275text(28," Submit"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()}if(2&i){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(6),e.\u0275\u0275property("formGroup",t.preferenceForm),e.\u0275\u0275advance(13),e.\u0275\u0275property("ngForOf",t.preferences),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",t.formSubmitted&&(null==t.preferenceControl.course_preference.errors?null:t.preferenceControl.course_preference.errors.required))}}function dt(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",81),e.\u0275\u0275elementStart(1,"h5",54),e.\u0275\u0275text(2,"\xa0"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"button",82),e.\u0275\u0275listener("click",function(){return e.\u0275\u0275restoreView(t).dismiss("Cross click")}),e.\u0275\u0275element(4,"i",56),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"div",83),e.\u0275\u0275elementStart(6,"div",14),e.\u0275\u0275elementStart(7,"div",84),e.\u0275\u0275elementStart(8,"p",85),e.\u0275\u0275element(9,"img",86),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"h2",52),e.\u0275\u0275text(11,"Unconfirm"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(12,"p",87),e.\u0275\u0275text(13,"Are you sure you want to unconfirm this course?"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(14,"div",88),e.\u0275\u0275elementStart(15,"button",89),e.\u0275\u0275listener("click",function(){return e.\u0275\u0275restoreView(t).dismiss("Cross click")}),e.\u0275\u0275text(16,"No"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(17,"button",90),e.\u0275\u0275text(18,"Yes"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()}}let pt=(()=>{class i{constructor(t,n,r,l,s,m,f){this.modalService=t,this.userService=n,this.fb=r,this.subheader=l,this.apiService=s,this.activatedRoute=m,this.router=f,this.today=new Date,this.formSubmitted=!1,this.records=[],this.apiCall=!1,this.search="",this.selected_course="",this.search_course="",this.courseList=[],this.courseFilterList=[],this.specializationList=[],this.is_course=1,this.preferences=[],this.listing=["Algorithm Analysis and Design","Basics of Bioinformatics","Artificial Intelligence and Expert Systems"],this.listingFilter=["Algorithm Analysis and Design","Basics of Bioinformatics","Artificial Intelligence and Expert Systems"],this.userData=this.apiService.getUserData()}ngOnInit(){setTimeout(()=>{this.subheader.setTitle(localStorage.getItem("module_name")),this.subheader.setBreadcrumbs([{title:localStorage.getItem("module_name"),linkText:localStorage.getItem("module_name"),linkPath:"/"+localStorage.getItem("page_name")}])},1),this.getRecomm
1endationList(),this.getCourseList()}getRecommendationList(){this.apiService.post_with_token("Careers/getCompleteCourseList",{}).subscribe(n=>{this.apiCall=!0,n.status&&(this.records=n.data,this.preferences=n.preference)},n=>{this.apiCall=!0,this.apiService.toastErrorMsg(n)})}getCourseList(){this.apiService.post_with_token("Careers/getListingSearchCourseName",{search_text:this.search_course,level_type:0}).subscribe(n=>{if(n.status){const r=n.data;this.courseList=r,this.courseFilterList=r}},n=>{this.apiService.toastErrorMsg(n)})}getSpecializationList(){let t="";if(this.course_recommendation.value){const r=this.courseList.find(l=>l.id==this.course_recommendation.value.course);t=r?r.id:"",this.course_recommendation.patchValue({course_name:r?r.name:""})}this.apiService.post_with_token("Careers/getCourseList",{courseid:t}).subscribe(r=>{r.status&&(this.specializationList=r.data)},r=>{this.apiService.toastErrorMsg(r)})}resetCourseForm(){this.course_recommendation=new o.cw({course:new o.NI("",[o.kI.required]),course_name:new o.NI("",[o.kI.required]),specialization:new o.NI(""),logintype:new o.NI("1")})}get courseControl(){return this.course_recommendation.controls}addOptionToInput(t,n){const r=this.course_recommendation.value[n]?this.course_recommendation.value[n]:[],l=this.specializationList.find(m=>m.name==t.option.value);r.push(l);var s=r.reduce(function(m,f){return m.indexOf(f)<0&&m.push(f),m},[]);this.course_recommendation.get(n).setValue(s)}onToppingRemoved(t,n){const r=this.course_recommendation.value[n],l=r.indexOf(t);-1!==l&&r.splice(l,1),this.course_recommendation.get(n).setValue(r)}addCourseModal(t){this.resetCourseForm(),this.is_course=1,this.modalService.open(t,{centered:!0,windowClass:"flag-modal2"})}addSpecializations(t,n){this.resetCourseForm();let r=[];if(this.is_course=0,0!=n.specialization.length)for(let l of n.specialization)r.push({id:l.specialization_id,name:l.course_specialization_value});this.course_recommendation.patchValue({course:n.course_id,course_name:n.select_course,specialization:r}),this.getSpecializationList(),this.modalService.open(t,{centered:!0,windowClass:"flag-modal2"})}filterListing(t){let n=JSON.parse(JSON.stringify(this.listing));this.listingFilter=t?n.filter(r=>r.toLocaleLowerCase().includes(t.toLowerCase())):n}addCourseRecommendation(){if(this.formSubmitted=!0,this.course_recommendation.invalid)return this.formSubmitted=!0,!1;const t=JSON.parse(JSON.stringify(this.course_recommendation.value));let n=new FormData;n.append("select_course[0][id]",t.course),n.append("select_course[0][name]",t.course_name);for(let r in t.specialization)n.append("course_specialization["+r+"][id]",t.specialization[r].id),n.append("course_specialization["+r+"][name]",t.specialization[r].name);1==this.is_course&&n.append("is_new","1"),n.append("module_id",this.apiService.getUserModuleId().toString()),n.append("student_id",this.userData.id),n.append("user_group",this.userData.user_group),n.append("logintype","1"),this.apiService.post_form_with_token("Careers/addCourse",n).subscribe(r=>{this.modalService.dismissAll(),r.status?(this.getRecommendationList(),this.sucess("Success",r.message)):this.error("Error",r.message)},r=>{this.modalService.dismissAll(),this.apiService.toastErrorMsg(r)})}deleteCourseRecommendation(t){var n=this;const r={course_name:t};this.modalService.dismissAll();const l=this.modalService.open(H.p,{centered:!0,windowClass:"cancel-popup",size:"sm"});l.componentInstance.sub_title="Do you want to delete this course?",l.result.then(s=>{s&&n.apiService.post_with_token("Careers/deleteCourse",r).subscribe(m=>{n.apiCall=!0,m.status?(n.apiService.toastMsg(m.message,"success"),n.getRecommendationList()):n.apiService.toastMsg(m.message,"warning")},m=>{n.apiCall=!0,n.apiService.toastErrorMsg(m)})},s=>{})}deleteSpecializationRecommendation(t){var n=this;const r={courseIds:t};this.modalService.dismissAll();const l=this.modalService.open(H.p,{centered:!0,windowClass:"cancel-popup",size:"sm"});l.componentInstance.sub_title="Do you want to delete this specialization?",l.result.then(s=>{s&&n.apiService.post_with_token("Careers/deleteSpecialization",r).subscribe(m=>{m.status?(n.apiService.toastMsg(m.message,"success"),n.getRecommendationList()):n.apiService.toastMsg(m.message,"warning")},m=>{n.apiService.toastErrorMsg(m)})},s=>{})}confirmCourseModal(t,n){this.selected_course=n,this.resetPreferenceForm(),this.preferenceForm.patchValue({courseIds:n.ids}),this.modalService.open(t,{centered:!0,windowClass:"flag-modal2"})}resetPreferenceForm(){this.preferenceForm=new o.cw({courseIds:new o.NI("",[o.kI.required]),course_preference:new o.NI("",[o.kI.required])})}get preferenceControl(){return this.preferenceForm.controls}addPreference(){if(this.formSubmitted=!0,this.preferenceForm.invali
1d)return this.formSubmitted=!0,!1;let t=JSON.parse(JSON.stringify(this.preferenceForm.value));t.module_id=this.apiService.getUserModuleId(),this.apiService.post_with_token("Careers/confirmSpecialization",t).subscribe(n=>{this.modalService.dismissAll(),n.status?(this.getRecommendationList(),this.sucess("Success",n.message)):this.error("Error",n.message)},n=>{this.modalService.dismissAll(),this.apiService.toastErrorMsg(n)})}unConfirmCourse(t){var n=this;const r={courseIds:t.ids};this.modalService.dismissAll();const l=this.modalService.open(H.p,{centered:!0,windowClass:"cancel-popup",size:"sm"});l.componentInstance.is_confirm=1,l.componentInstance.title="Unconfirm",l.componentInstance.sub_title="Are you sure you want to unconfirm this course?",l.result.then(s=>{s&&n.apiService.post_with_token("Careers/unconfirmSpecialization",r).subscribe(m=>{n.apiCall=!0,m.status?(n.apiService.toastMsg(m.message,"success"),n.getRecommendationList()):n.apiService.toastMsg(m.message,"warning")},m=>{n.apiCall=!0,n.apiService.toastErrorMsg(m)})},s=>{})}redirectToTrending(t){localStorage.setItem("careers_search_course_id",t.course_id),this.router.navigate(["career-counselling/career-search"])}cancelAppointments(t){this.modalService.open(t,{size:"sm",centered:!0,windowClass:"unconfirm-new"})}sucess(t,n){this.modalService.dismissAll();const r=this.modalService.open(N.n,{centered:!0,windowClass:"cancel-popup",size:"sm"});r.componentInstance.title=t,r.componentInstance.sub_title=n,r.componentInstance.type=0,r.componentInstance.type=0,r.result.then(l=>{},l=>{})}infoMessage(t,n){this.modalService.dismissAll();const r=this.modalService.open(N.n,{centered:!0,windowClass:"cancel-popup",size:"sm"});r.componentInstance.title=t,r.componentInstance.sub_title="",r.componentInstance.type=3,r.componentInstance.html=n,r.result.then(l=>{},l=>{})}error(t,n){this.modalService.dismissAll();const r=this.modalService.open(N.n,{centered:!0,windowClass:"cancel-popup",size:"sm"});r.componentInstance.title=t,r.componentInstance.sub_title=n,r.componentInstance.type=1,r.result.then(l=>{},l=>{})}}return i.\u0275fac=function(t){return new(t||i)(e.\u0275\u0275directiveInject(S.FF),e.\u0275\u0275directiveInject(j.e),e.\u0275\u0275directiveInject(o.qu),e.\u0275\u0275directiveInject(u.b),e.\u0275\u0275directiveInject(b.s),e.\u0275\u0275directiveInject(d.gz),e.\u0275\u0275directiveInject(d.F0))},i.\u0275cmp=e.\u0275\u0275defineComponent({type:i,selectors:[["app-career-recommendation"]],decls:17,vars:2,consts:[[1,"card-body","p-25s"],[1,"row","mb-5"],[1,"col-8"],[1,"bluetxt-clr"],[1,"col-4","text-right"],["type","button",1,"btn","btn-primary","custom-btn-1","mr-2",3,"click"],[1,"fas","fa-plus"],["class","row d-flex align-items-center text-center center-no-image ",4,"ngIf"],["class","row mt-3 mb-5",4,"ngIf"],["addCourse",""],["confirmMsg",""],["cancelappointment",""],[1,"row","d-flex","align-items-center","text-center","center-no-image"],[1,"col-12"],[1,"row"],["src","/assets/media/images/no-application.png",1,"w-auto"],[1,"row","mt-8"],[1,"row","mt-3","mb-5"],["class","col-12 mb-5 faq-list universities-list career-recomendations ",4,"ngFor","ngForOf"],[1,"col-12","mb-5","faq-list","universities-list","career-recomendations"],[3,"expanded"],[1,"my-panel",3,"click"],[1,"row","d-flex","align-items-center","pt-2","pb-1"],[1,"mb-2"],["class","bluetxt font-14",4,"ngIf"],["class","mb-0 font-weight-normal",4,"ngIf"],[1,"col-4","text-right","actions-formbtn","d-flex","align-items-center","justify-content-end"],["type","button","class","btn btn-md btn-primary custom-btn-1 mr-4 btns-white ",3,"click",4,"ngIf"],["class","btn btn-icon btn-danger td-action-btn2 mr-4",3,"click",4,"ngIf"],["type","button","class","btn btn-md btn-primary custom-btn-1 ",3,"click",4,"ngIf"],["type","button","class","btn btn-md btn-primary custom-btn-1 ",3,"click",4,"ngIf"],[1,"row","mt-2"],[1,"col-md-12","mt-7","dark-blacktxt","blogs-display","career-recomendation"],[4,"ngFor","ngForOf"],[1,"dashborder","dash-min-hgt"],[1,"add-specialisation"],["type","button",1,"btn","btn-sm","btn-primary","custom-btn-1","btn-skyblue",3,"click"],[1,"bluetxt","font-14"],[1,"mb-0","font-weight-normal"],["type","button",1,"btn","btn-md","btn-primary","custom-btn-1","mr-4","btns-white",3,"click"],[1,"btn","btn-icon","btn-danger","td-action-btn2","mr-4",3,"click"],[1,"icon-xl","far","fa-tras
1h-alt"],["type","button",1,"btn","btn-md","btn-primary","custom-btn-1",3,"click"],[1,"box-shadows","inner-box-hgt1"],[1,"row","mb-5","overflow-hidden"],[1,"col-md-12","imgshover"],[1,"readbtn"],["type","button",1,"btn","btn-sm","btn-primary","custom-btn-1","whitebtn",3,"routerLink"],[1,"btn","btn-icon","btn-danger","td-action-btn2","trashredbtn",3,"click"],[1,"thumbnil-style-4","img-fluid","w-100","hgt-auto","border-radius-0",3,"src"],[1,"col-md-12"],[1,"p-3"],[1,"mb-4"],[1,"modal-header","pt-7","pl-7","pr-4","pb-0","border-0"],[1,"modal-title"],["type","button","aria-label","Close",1,"close","mts-tp15",3,"click"],[1,"fas","fa-times"],[1,"modal-body","pt-0","pb-2"],[3,"formGroup","ngSubmit"],["class","row mt-7 mb-3",4,"ngIf"],[1,"row","mt-6","mb-8"],[1,"example-full-width"],["matInput","","placeholder","Select Specializations","autocomplete","off",3,"matAutocomplete","input"],["specializationInput",""],[3,"optionSelected"],["specializationAuto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"removable","removed",4,"ngFor","ngForOf"],[4,"ngIf"],[1,"col-xl-12","ml-auto","mr-auto","mt-2","mb-6"],["type","submit",1,"btn","btn-primary","custom-btn-1","mr-2"],[1,"row","mt-7","mb-3"],["formControlName","course",3,"ngModelChange"],[3,"placeholder","displayMember","array","filteredReturn"],[3,"value"],[3,"removable","removed"],["matChipRemove",""],[1,"row","mt-6"],["formControlName","course_preference"],["value",""],[1,"row","mt-0","mb-3"],[1,"modal-header","p-4","border-0"],["type","button","aria-label","Close",1,"close",3,"click"],[1,"modal-body","pt-0"],[1,"col-12","text-center"],[1,"mb-8"],["src","/assets/media/images/uncfirm.png",1,""],[1,"mb-0"],[1,"modal-footer","d-flex","justify-content-center","border-0"],["type","button",1,"btn","btn-primary","custom-btn-1","mb-7","pl-12","pr-12","mr-4","btn-skyblue",3,"click"],["type","button",1,"btn","btn-primary","custom-btn-1","mb-7","pl-12","pr-12"]],template:function(t,n){if(1&t){const r=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",0),e.\u0275\u0275elementStart(1,"div",1),e.\u0275\u0275elementStart(2,"div",2),e.\u0275\u0275elementStart(3,"h3",3),e.\u0275\u0275text(4,"Career Recommendation "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"div",4),e.\u0275\u0275elementStart(6,"button",5),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(r);const s=e.\u0275\u0275reference(12);return n.addCourseModal(s)}),e.\u0275\u0275element(7,"i",6),e.\u0275\u0275text(8," Add Course"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(9,Ue,9,0,"div",7),e.\u0275\u0275template(10,Ze,2,1,"div",8),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(11,lt,25,8,"ng-template",null,9,e.\u0275\u0275templateRefExtractor),e.\u0275\u0275template(13,ct,29,3,"ng-template",null,10,e.\u0275\u0275templateRefExtractor),e.\u0275\u0275template(15,dt,19,0,"ng-template",null,11,e.\u0275\u0275templateRefExtractor)}2&t&&(e.\u0275\u0275advance(9),e.\u0275\u0275property("ngIf",n.apiCall&&0==n.records.length),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",0!=n.records.length))},directives:[g.NgIf,g.NgForOf,_.pp,_.ib,_.yz,d.rH,o._Y,o.JL,o.sg,k.KE,v.Nt,z.ZL,z.XC,I.$L,M.qn,k.hX,I.gD,o.JJ,o.u,V.Fq,T.ey,k.TO,M.HS,R.Hw,M.qH],styles:[".btns-white[_ngcontent-%COMP%]{background:#FFF!important;color:#333!important}.btns-white[_ngcontent-%COMP%]:hover{color:#fff!important}.dash-min-hgt[_ngcontent-%COMP%]{min-height:220px}.dashborder[_ngcontent-%COMP%]{background-image:url(\"data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' stroke='%23D8D8D8FF' stroke-width='2' stroke-dasharray='6%2c 10' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e\")}.confirmed-btns[_ngcontent-%COMP%]{color:#2f74eb!important}.mat-expansion-panel-header[_ngcontent-%COMP%]{background:rgba(0,0,0,.04)!important}.universities-list[_ngcontent-%COMP%] .mat-expansion-panel-header[_ngcontent-%COMP%]{height:auto!important;padding-top:5px;padding-bottom:8px}.btn-md[_ngcontent-%COMP%]{padding:6px 20px!important}.btn-sm[_ngcontent-%COMP%]{padding:6px 15px!important}.my-panel[_ngcontent-%COMP%]{width:98%}.readbtn[_ngcontent-%COMP%]{position:absolute;content:\"\";top:0;right:0;bottom:0;left:0;padding:20px;
1display:flex;align-items:center;flex-direction:column;justify-content:center;cursor:pointer;z-index:9}.whitebtn[_ngcontent-%COMP%]{background:#FFF!important;color:#333;line-height:15px!important;opacity:0;z-index:9}.trashredbtn[_ngcontent-%COMP%]{background:transparent!important;color:#ff5656;opacity:0;z-index:9;border:1px solid #ff5656!important;margin-top:10px;height:30px!important;width:26px!important}.trashredbtn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#ff5656!important;font-size:15px!important}.trashbtn[_ngcontent-%COMP%]{position:absolute;content:\"\";right:10px!important;bottom:10px!important;left:auto!important;top:auto!important;display:flex;align-items:center;flex-direction:column;justify-content:center;cursor:pointer;z-index:9}.whitebtn[_ngcontent-%COMP%]{background:#FFF!important;color:#333;line-height:15px!important;opacity:0;z-index:9}.add-specialisation[_ngcontent-%COMP%] .btn.btn-sm[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:11px!important}.imgshover[_ngcontent-%COMP%]:hover .trashredbtn[_ngcontent-%COMP%], .imgshover[_ngcontent-%COMP%]:hover .whitebtn[_ngcontent-%COMP%]{opacity:1}.imgshover[_ngcontent-%COMP%]:hover:after{content:\"\";width:100%;height:100%;left:0;right:0;top:0;bottom:0;background:rgba(0,0,0,.5);position:absolute;z-index:3}.btn.btn-primary.whitebtn[_ngcontent-%COMP%]:hover:not(.btn-text):not(:disabled):not(.disabled){background-color:#fff!important;border-color:#fff!important;color:#333!important}.career-recomendation[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{width:20%!important}.add-specialisation[_ngcontent-%COMP%]{margin-top:95px;text-align:center}@media (max-width: 1700px){.add-specialisation[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{padding:10px!important;font-size:13px!important}.add-specialisation[_ngcontent-%COMP%]{margin-top:80px;text-align:center}.dash-min-hgt[_ngcontent-%COMP%]{min-height:185px}}@media (max-width: 1500px){.add-specialisation[_ngcontent-%COMP%]{margin-top:65px;text-align:center}.dash-min-hgt[_ngcontent-%COMP%]{min-height:165px}}@media (max-width: 1400px){.add-specialisation[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{padding:10px!important;font-size:12px!important}.trashbtn[_ngcontent-%COMP%]{right:5px!important;bottom:5px!important}.dash-min-hgt[_ngcontent-%COMP%]{min-height:160px}}@media (max-width: 1300px){.add-specialisation[_ngcontent-%COMP%]{margin-top:58px}.dash-min-hgt[_ngcontent-%COMP%]{min-height:150px}}@media (max-width: 1200px){.career-recomendation[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{width:33.3%!important}.dash-min-hgt[_ngcontent-%COMP%]{min-height:160px}}@media (max-width: 900px){.dash-min-hgt[_ngcontent-%COMP%]{min-height:180px}.add-specialisation[_ngcontent-%COMP%]{margin-top:95px;text-align:center}}"]}),i})();function ut(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"mat-option",24),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&i){const t=a.$implicit;e.\u0275\u0275property("value",t.id),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",t.name," ")}}function _t(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"li"),e.\u0275\u0275elementStart(1,"a",27),e.\u0275\u0275listener("click",function(){const l=e.\u0275\u0275restoreView(t).$implicit;return e.\u0275\u0275nextContext(2).redirectDetails(l)}),e.\u0275\u0275elementStart(2,"div",28),e.\u0275\u0275elementStart(3,"div",29),e.\u0275\u0275elementStart(4,"div",2),e.\u0275\u0275element(5,"img",30),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"div",29),e.\u0275\u0275elementStart(7,"div",2),e.\u0275\u0275elementStart(8,"div",31),e.\u0275\u0275elementStart(9,"div",32),e.\u0275\u0275elementStart(10,"div",4),e.\u0275\u0275elementStart(11,"div",10),e.\u0275\u0275elementStart(12,"a",33),e.\u0275\u0275text(13),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(14,"div",4),e.\u0275\u0275elementStart(15,"div",34),e.\u0275\u0275elementStart(16,"p",35),e.\u0275\u0275text(17),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()}if(2&i){const t=a.$implicit;e.\u0275\u0275advance(5),e.\u0275\u0275propertyInterpolate("src",t.featured_image?t.featured_image:"/assets/media/images/CareerExplorerDefault.jpg",e.\u0275\u0275sanitizeUrl),e.\u0275\u0275advance(8),e.\u0275\u0275textInterpolate1(" ",t.specialization_name," "),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate1(" ",t.course_name," ")}}function gt(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",25),e.\u0275\u0275listener("scrolled",function(){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext().onScroll()}),e.\u0275\u0275elementStart(1,"ul"),e.\u0275\u0275template(2,_t,18,3,"li",26),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()}if(2&i){const t=e.\u0275\u0275nextContext();e.\u0275\u0275property("infiniteScrollDistance",1)("infiniteScrollUpDistance",2)("infiniteScrollThrottle",300),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngForOf",t.records)}}let ht=(()=>{class i{constructor(t,n,r,l,s,m){this.userService=t,this.fb=n,this.subheader=r,this.apiService=l,this.activatedRoute=s,this.router=m,this.subscriptions=[],this.page_no=1,this.student_id="",this.course_list=[],this.filtered_course_list=[],this.records=[],this.course_id="",this.isLoading$=this.userService.isLoadingSubject.asObservable(),localStorage.getItem("careers_search_course_id")&&(this.course_id=localStorage.getItem("careers_search_course_id"))}ngOnInit(){setTimeout(()=>{this.subheader.setTitle(localStorage.getItem("module_name")),this.subheader.setBreadcrumbs([{title:localStorage.getItem("module_name"),linkText:localStorage.getItem("module_name"),linkPath:"/"+localStorage.getItem("page_name")}])},1),this.getCourseList(),this.getRecords(),localStorage.removeItem("careers_search_course_id")}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe())}onScroll(){-1!==this.page_no&&(this.page_no+=1,this.getRecords())}filter(){this.page_no=1,this.records=[],this.getRecords()}getRecords(){this.apiService.post_with_token("Careers/getSpecCourses",{page_no:this.page_no,course_id:this.course_id}).subscribe(n=>{let r=n.data;0===r.length?this.page_no=-1:this.records=this.records.concat(r)},n=>{this.apiService.toastErrorMsg(n)})}getCourseList(){this.apiService.post_with_token("Careers/getListingSearchCourseName",{level_type:0,search_text:"",university_id:""}).subscribe(n=>{this.course_list=n.data,this.filtered_course_list=n.data},n=>{this.apiService.toastErrorMsg(n)})}redirectDetails(t){localStorage.setItem("careers_search_course_id",this.course_id),this.apiService.setOption("trending_careers",t),this.router.navigate(["/career-counselling/courses-info",t.course_id,t.specialization_id])}}return i.\u0275fac=function(t){return new(t||i)(e.\u0275\u0275directiveInject(j.e),e.\u0275\u0275directiveInject(o.qu),e.\u0275\u0275directiveInject(u.b),e.\u0275\u0275directiveInject(b.s),e.\u0275\u0275directiveInject(d.gz),e.\u0275\u0275directiveInject(d.F0))},i.\u0275cmp=e.\u0275\u0275defineComponent({type:i,selectors:[["app-career-search"]],decls:30,vars:6,consts:[[1,"card-body","p-25s"],[1,"row","mt-5"],[1,"col-md-12"],[1,"bg-light-blue","border-radius-10","free-university"],[1,"row"],[1,"col-xl-5","col-lg-4","col-md-4"],["src","/assets/media/images/explore-courses.png",1,"res-w-100","courser-explores"],[1,"col-xl-7","col-lg-8","col-md-8"],[1,"free-university-txt"],[1,"row","mb-xl-8","mb-lg-6","mb-md-5"],[1,"col-12"],[1,"titles-2"],[1,"bluetxt"],[1,"mb-0"],[1,"col-xl-9","col-lg-9","col-md-8","pr-0"],[1,"select-mat-style","lgt-blue-bg-select"],[3,"ngModel","ngModelChange"],[3,"placeholder","displayMember","array","filteredReturn"],["value",""],[3,"value",4,"ngFor","ngForOf"],[1,"col-xl-3","col-lg-3","col-md-4"],[1,"btn","btn-primary","custom-btn-1",3,"click"],[1,"row","mt-10"],["class","col-12 blogs-display p-0","infinite-scroll","",3,"infiniteScrollDistance","infiniteScrollUpDistance","infiniteScrollThrottle","scrolled",4,"ngIf"],[3,"value"],["infinite-scroll","",1,"col-12","blogs-display","p-0",3,"infiniteScrollDistance","infiniteScrollUpDistance","infiniteScrollThrottle","scrolled"],[4,"ngFor","ngForOf"],[3,"click"],[1,"box-shadows","inner-box-hgt"],[1,"row","mb-3"],["onerror","this.onerror=null;this.src='/assets/media/images/CareerExplorerDefault.jpg'",1,"thumbnil-style-4","img-fluid","w-100","hgt-auto","border-radius-0",3,"src"],[1,"p-3"],[1,"font-weight-bold","w-100"],[1,"text-dark","text-hover-primary","text-left","blogs-title","txt-darkclr","two-line"],[1,"col-12","mt-2"],[1,"small-font","mb-0","darkgreytxt"]],template:function(t,n){1&t&&(e.\u0275\u0275elementStart(0,"div",0),e.\u0275\u0275elementStart(1,"div",1),e.\u0275\u0275elementStart(2,"div",2),e.\u0275\u0275elementStart(3,"div",3),e.\u0275\u0275elementStart(4,"div",4),e.\u0275\u0275elementStart(5,"div",5),e.\u0275\u0275element(6,"img",6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"div",7),e.\u0275\u0275elementStart(8,"div",8),e.\u0275\u0275elementStart(9,"div",9),e.\u0275\u0275elementStart(10,"div",10),e.\u0275\u0275elementStart(11,"h2",11),e.\u0275\u0275text(12,"Career "),e.\u0275\u0275elementStart(13,"span",12),e.\u0275\u0275text(14,"Search"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(15,"p",13),e.\u0275\u0275text(16,"Identify your niche within the broad-spectrum career and explore the prospects of pursuing a specialization."),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(17,"div",4),e.\u0275\u0275elementStart(18,"div",14),e.\u0275\u0275elementStart(19,"mat-form-field",15),e.\u0275\u0275elementStart(20,"mat-select",16),e.\u0275\u0275listener("ngModelChange",function(l){return n.course_id=l}),e.\u0275\u0275elementStart(21,"mat-select-filter",17),e.\u0275\u0275listener("filteredReturn",function(l){return n.filtered_course_list=l}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(22,"mat-option",18),e.\u0275\u0275text(23,"Select Course"),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(24,ut,2,2,"mat-option",19),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(25,"div",20),e.\u0275\u0275elementStart(26,"button",21),e.\u0275\u0275listener("click",function(){return n.filter()}),e.\u0275\u0275text(27," Search"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(28,"div",22),e.\u0275\u0275template(29,gt,3,4,"div",23),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()),2&t&&(e.\u0275\u0275advance(20),e.\u0275\u0275property("ngModel",n.course_id),e.\u0275\u0275advance(1),e.\u0275\u0275property("placeholder","Search")("displayMember","name")("array",n.course_list),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngForOf",n.filtered_course_list),e.\u0275\u0275advance(5),e.\u0275\u0275property("ngIf",0!=n.records.length))},directives:[k.KE,I.gD,o.JJ,o.On,V.Fq,T.ey,g.NgForOf,g.NgIf,C.R],styles:[""]}),i})();const vt=function(){return["/career-counselling/explore-courses"]},x=function(){return["/career-counselling/courses-info"]};let ft=(()=>{class i{constructor(t,n,r){this.userService=t,this.fb=n,this.subheader=r,this.myControl=new o.NI,this.isLoading$=this.userService.isLoadingSubject.asObservable()}ngOnInit(){setTimeout(()=>{this.subheader.setTitle("Career Explorer"),this.subheader.setBreadcrumbs([{title:"Career Explorer",linkText:"Career Explorer",linkPath:"/career-explorer"}])},1)}}return i.\u0275fac=function(t){return new(t||i)(e.\u0275\u0275directiveInject(j.e),e.\u0275\u0275directiveInject(o.qu),e.\u0275\u0275directiveInject(u.b))},i.\u0275cmp=e.\u0275\u0275defineComponent({type:i,selectors:[["app-all-courses"]],decls:153,vars:42,consts:[[1,"card-body","p-25s"],[1,"row","mb-4"],[1,"col-12"],["type","button",1,"btn","btn-primary","btn-trans
1parent","custom-btn-1","p-0","back-btn","border-0",3,"routerLink"],[1,"fas","fa-chevron-left"],[1,"row","mb-5"],[1,"bluetxt-clr"],[1,"col-md-12"],[1,"row"],[1,"col-md-3","mb-5"],[3,"routerLink"],["src","/assets/media/images/career-webinar.jpg",1,"img-fluid","w-100","thumbnil-style-4"],[1,"row","mb-1"],[1,"mb-0"],[1,"blacktxtlink",3,"routerLink"],[1,"small-font","mb-0"]],template:function(t,n){1&t&&(e.\u0275\u0275elementStart(0,"div",0),e.\u0275\u0275elementStart(1,"div",1),e.\u0275\u0275elementStart(2,"div",2),e.\u0275\u0275elementStart(3,"button",3),e.\u0275\u0275element(4,"i",4),e.\u0275\u0275text(5," Back"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"div",5),e.\u0275\u0275elementStart(7,"div",2),e.\u0275\u0275elementStart(8,"h3",6),e.\u0275\u0275text(9,"Computer Science "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"div",1),e.\u0275\u0275elementStart(11,"div",7),e.\u0275\u0275elementStart(12,"div",8),e.\u0275\u0275elementStart(13,"div",9),e.\u0275\u0275elementStart(14,"div",1),e.\u0275\u0275elementStart(15,"div",7),e.\u0275\u0275elementStart(16,"a",10),e.\u0275\u0275element(17,"img",11),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(18,"div",12),e.\u0275\u0275elementStart(19,"div",7),e.\u0275\u0275elementStart(20,"h5",13),e.\u0275\u0275elementStart(21,"a",14),e.\u0275\u0275text(22,"Artificial Intelligence"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(23,"div",8),e.\u0275\u0275elementStart(24,"div",7),e.\u0275\u0275elementStart(25,"p",15),e.\u0275\u0275text(26," Computer Science "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(27,"div",9),e.\u0275\u0275elementStart(28,"div",1),e.\u0275\u0275elementStart(29,"div",7),e.\u0275\u0275elementStart(30,"a",10),e.\u0275\u0275element(31,"img",11),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(32,"div",12),e.\u0275\u0275elementStart(33,"div",7),e.\u0275\u0275elementStart(34,"h5",13),e.\u0275\u0275elementStart(35,"a",14),e.\u0275\u0275text(36,"Artificial Intelligence"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(37,"div",8),e.\u0275\u0275elementStart(38,"div",7),e.\u0275\u0275elementStart(39,"p",15),e.\u0275\u0275text(40," Computer Science "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(41,"div",9),e.\u0275\u0275elementStart(42,"div",1),e.\u0275\u0275elementStart(43,"div",7),e.\u0275\u0275elementStart(44,"a",10),e.\u0275\u0275element(45,"img",11),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(46,"div",12),e.\u0275\u0275elementStart(47,"div",7),e.\u0275\u0275elementStart(48,"h5",13),e.\u0275\u0275elementStart(49,"a",14),e.\u0275\u0275text(50,"Artificial Intelligence"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(51,"div",8),e.\u0275\u0275elementStart(52,"div",7),e.\u0275\u0275elementStart(53,"p",15),e.\u0275\u0275text(54," Computer Science "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(55,"div",9),e.\u0275\u0275elementStart(56,"div",1),e.\u0275\u0275elementStart(57,"div",7),e.\u0275\u0275elementStart(58,"a",10),e.\u0275\u0275element(59,"img",11),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(60,"div",12),e.\u0275\u0275elementStart(61,"div",7),e.\u0275\u0275elementStart(62,"h5",13),e.\u0275\u0275elementStart(63,"a",14),e.\u0275\u0275text(64,"Artificial Intelligence"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(65,"div",8),e.\u0275\u0275elementStart(66,"div",7),e.\u0275\u0275elementStart(67,"p",15),e.\u0275\u0275text(68," C
1omputer Science "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(69,"div",9),e.\u0275\u0275elementStart(70,"div",1),e.\u0275\u0275elementStart(71,"div",7),e.\u0275\u0275elementStart(72,"a",10),e.\u0275\u0275element(73,"img",11),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(74,"div",12),e.\u0275\u0275elementStart(75,"div",7),e.\u0275\u0275elementStart(76,"h5",13),e.\u0275\u0275elementStart(77,"a",14),e.\u0275\u0275text(78,"Artificial Intelligence"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(79,"div",8),e.\u0275\u0275elementStart(80,"div",7),e.\u0275\u0275elementStart(81,"p",15),e.\u0275\u0275text(82," Computer Science "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(83,"div",9),e.\u0275\u0275elementStart(84,"div",1),e.\u0275\u0275elementStart(85,"div",7),e.\u0275\u0275elementStart(86,"a",10),e.\u0275\u0275element(87,"img",11),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(88,"div",12),e.\u0275\u0275elementStart(89,"div",7),e.\u0275\u0275elementStart(90,"h5",13),e.\u0275\u0275elementStart(91,"a",14),e.\u0275\u0275text(92,"Artificial Intelligence"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(93,"div",8),e.\u0275\u0275elementStart(94,"div",7),e.\u0275\u0275elementStart(95,"p",15),e.\u0275\u0275text(96," Computer Science "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(97,"div",9),e.\u0275\u0275elementStart(98,"div",1),e.\u0275\u0275elementStart(99,"div",7),e.\u0275\u0275elementStart(100,"a",10),e.\u0275\u0275element(101,"img",11),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(102,"div",12),e.\u0275\u0275elementStart(103,"div",7),e.\u0275\u0275elementStart(104,"h5",13),e.\u0275\u0275elementStart(105,"a",14),e.\u0275\u0275text(106,"Artificial Intelligence"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(107,"div",8),e.\u0275\u0275elementStart(108,"div",7),e.\u0275\u0275elementStart(109,"p",15),e.\u0275\u0275text(110," Computer Science "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(111,"div",9),e.\u0275\u0275elementStart(112,"div",1),e.\u0275\u0275elementStart(113,"div",7),e.\u0275\u0275elementStart(114,"a",10),e.\u0275\u0275element(115,"img",11),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(116,"div",12),e.\u0275\u0275elementStart(117,"div",7),e.\u0275\u0275elementStart(118,"h5",13),e.\u0275\u0275elementStart(119,"a",14),e.\u0275\u0275text(120,"Artificial Intelligence"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(121,"div",8),e.\u0275\u0275elementStart(122,"div",7),e.\u0275\u0275elementStart(123,"p",15),e.\u0275\u0275text(124," Computer Science "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(125,"div",9),e.\u0275\u0275elementStart(126,"div",1),e.\u0275\u0275elementStart(127,"div",7),e.\u0275\u0275elementStart(128,"a",10),e.\u0275\u0275element(129,"img",11),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(130,"div",12),e.\u0275\u0275elementStart(131,"div",7),e.\u0275\u0275elementStart(132,"h5",13),e.\u0275\u0275elementStart(133,"a",14),e.\u0275\u0275text(134,"Artificial Intelligence"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(135,"div",8),e.\u0275\u0275elementStart(136,"div",7),e.\u0275\u0275elementStart(137,"p",15),e.\u0275\u0275text(138," Computer Science "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(139,"div",9),e.\u0275\u0275elementStart(140,"div",1),e.\u0275\u0275elementStart(141,"div",7),e.\u0275\u0275elementStart(142,"a",10),e.\u0275\u0275element(143,"img",11),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(144,"div",12),e.\u0275\u0275elementStart(145,"div",7),e.\u0275\u0275elementStart(146,"h5",13),e.\u0275\u0275elementStart(147,"a",14),e.\u0275\u0275text(148,"Artificial Intelligence"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(149,"div",8),e.\u0275\u0275elementStart(150,"div",7),e.\u0275\u0275elementStart(151,"p",15),e.\u0275\u0275text(152," Computer Science "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()),2&t&&(e.\u0275\u0275advance(3),e.\u0275\u0275property("routerLink",e.\u0275\u0275pureFunction0(21,vt)),e.\u0275\u0275advance(13),e.\u0275\u0275property("routerLink",e.\u0275\u0275pureFunction0(22,x)),e.\u0275\u0275advance(5),e.\u0275\u0275property("routerLink",e.\u0275\u0275pureFunction0(23,x)),e.\u0275\u0275advance(9),e.\u0275\u0275property("routerLink",e.\u0275\u0275pureFunction0(24,x)),e.\u0275\u0275advance(5),e.\u0275\u0275property("routerLink",e.\u0275\u0275pureFunction0(25,x)),e.\u0275\u0275advance(9),e.\u0275\u0275property("routerLink",e.\u0275\u0275pureFunction0(26,x)),e.\u0275\u0275advance(5),e.\u0275\u0275property("routerLink",e.\u0275\u0275pureFunction0(27,x)),e.\u0275\u0275advance(9),e.\u0275\u0275property("routerLink",e.\u0275\u0275pureFunction0(28,x)),e.\u0275\u0275advance(5),e.\u0275\u0275property("routerLink",e.\u0275\u0275pureFunction0(29,x)),e.\u0275\u0275advance(9),e.\u0275\u0275property("routerLink",e.\u0275\u0275pureFunction0(30,x)),e.\u0275\u0275advance(5),e.\u0275\u0275property("routerLink",e.\u0275\u0275pureFunction0(31,x)),e.\u0275\u0275advance(9),e.\u0275\u0275property("routerLink",e.\u0275\u0275pureFunction0(32,x)),e.\u0275\u0275advance(5),e.\u0275\u0275property("routerLink",e.\u0275\u0275pureFunction0(33,x)),e.\u0275\u0275advance(9),e.\u0275\u0275property("routerLink",e.\u0275\u0275pureFunction0(34,x)),e.\u0275\u0275advance(5),e.\u0275\u0275property("routerLink",e.\u0275\u0275pureFunction0(35,x)),e.\u0275\u0275advance(9),e.\u0275\u0275property("routerLink",e.\u0275\u0275pureFunction0(36,x)),e.\u0275\u0275advance(5),e.\u0275\u0275property("routerLink",e.\u0275\u0275pureFunction0(37,x)),e.\u0275\u0275advance(9),e.\u0275\u0275property("routerLink",e.\u0275\u0275pureFunction0(38,x)),e.\u0275\u0275advance(5),e.\u0275\u0275property("routerLink",e.\u0275\u0275pureFunction0(39,x)),e.\u0275\u0275advance(9),e.\u0275\u0275property("routerLink",e.\u0275\u0275pureFunction0(40,x)),e.\u0275\u0275advance(5),e.\u0275\u0275property("routerLink",e.\u0275\u0275pureFunction0(41,x)))},directives:[d.rH,d.yS],styles:[""]}),i})();function St(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"button",18),e.\u0275\u0275listener("click",function(){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext(3).addCourseRecommendation()}),e.\u0275\u0275text(1," Add Specialization"),e.\u0275\u0275elementEnd()}}function xt(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"button",18),e.\u0275\u0275listener("click",function(){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext(3).deleteSpecializationRecommendation()}),e.\u0275\u0275text(1," Remove Specialization"),e.\u0275\u0275elementEnd()}}function bt(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"div",16),e.\u0275\u0275template(1,St,2,0,"button",17),e.\u0275\u0275template(2,xt,2,0,"button",17),e.\u0275\u0275elementEnd()),2&i){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf","no"==t.record_details.is_specialization_hide),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf","yes"==t.record_details.is_specialization_hide)}}function Ct(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"div",19),e.\u0275\u0275elementStart(1,"div",4),e.\u0275\u0275elementStart(2,"div",20),e.\u0275\u0275elementStart(3,"div",4),e.\u0275\u0275element(4,"img",21),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"div",22),e.\u0275\u0275elementStart(6,"div",4),e.\u0275\u0275elementStart(7,"h3"),e.\u0275\u0275text(8),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()),2&i){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(8),e.\u0275\u0275textInterpolate1("Information on ",t.record_details.course_specialization," currently not available.")}}function Et(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"div",23),e.\u0275\u0275elementStart(1,"div",24),e.\u0275\u0275elementStart(2,"h4",25),e.\u0275\u0275text(3," About the Course "),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(4,"hr",26),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"div",27),e.\u0275\u0275element(6,"p",28),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()),2&i){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(6),e.\u0275\u0275property("innerHTML",null==t.record_details?null:t.record_details.about,e.\u0275\u0275sanitizeHtml)}}function yt(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"p",31),e.\u0275\u0275elementStart(1,"a",32),e.\u0275\u0275listener("click",function(){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext(3).allCurriculum()}),e.\u0275\u0275text(2,"View All"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()}}function It(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"a",40),e.\u0275\u0275elementStart(1,"button",41),e.\u0275\u0275text(2," View Curriculum"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()),2&i){const t=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275propertyInterpolate("href",t.program_link,e.\u0275\u0275sanitizeUrl)}}function kt(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"div",33),e.\u0275\u0275elementStart(1,"div",34),e.\u0275\u0275elementStart(2,"div"),e.\u0275\u0275element(3,"img",35),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"div"),e.\u0275\u0275elementStart(5,"h4",36),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"p",37),e.\u0275\u0275text(8),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"p",38),e.\u0275\u0275text(10),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(11,It,3,1,"a",39),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()),2&i){const t=a.$implicit;e.\u0275\u0275advance(3),e.\u0275\u0275propertyInterpolate("src",t.univ_logo,e.\u0275\u0275sanitizeUrl),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(t.specialization_name),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(t.unive_name),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1("",t.city+", "+t.state+", "+t.country," "),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",""!=t.program_link)}}function wt(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"div",23),e.\u0275\u0275elementStart(1,"div",24),e.\u0275\u0275elementStart(2,"h4",25),e.\u0275\u0275text(3," Curriculum"),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(4,yt,3,0,"p",29),e.\u0275\u0275element(5,"hr",26),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"div",27),e.\u0275\u0275template(7,kt,12,5,"div",30),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()),2&i){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(4),e.\u0275\u0275property("ngIf",0!=t.curriculums.length),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngForOf",t.curriculums)}}function Mt(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"div",23),e.\u0275\u0275elementStart(1,"div",24),e.\u0275\u0275elementStart(2,"h4",25),e.\u0275\u0275text(3,"Skills Required"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(4,"hr",26),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(5,"div",42),e.\u0275\u0275elementEnd()),2&i){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275property("innerHTML",t.record_details.skills,e.\u0275\u0275sanitizeHtml)}}const Tt=function(){return["/career-counselling/mentor-details"]};function Ot(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"div",45),e.\u0275\u0275elementStart(1,"div",46),e.\u0275\u0275elementStart(2,"div"),e.\u0275\u0275element(3,"img",47),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"div",48),e.\u0275\u0275elementStart(5,"h3",38),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"p",49),e.\u0275\u0275element(8,"i",50),e.\u0275\u0275text(9),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"p",51),e.\u0275\u0275element(11,"i",52),e.\u0275\u0275text(12),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()),2&i){const t=a.$implicit;e.\u0275\u0275advance(1),e.\u0275\u0275property("routerLink",e.\u0275\u0275pureFunction0(5,Tt)),e.\u0275\u0275advance(2),e.\u0275\u0275propertyInterpolate("src",t.image_url,e.\u0275\u0275sanitizeUrl),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",t.title," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",t.mentor_univ," "),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" ",t.mentor_company," ")}}function Ft(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"div",23),e.\u0275\u0275elementStart(1,"div",24),e.\u0275\u0275elementStart(2,"h4",25),e.\u0275\u0275text(3,"Mentor Connect"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(4,"hr",26),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"div",43),e.\u0275\u0275elementStart(6,"div",20),e.\u0275\u0275template(7,Ot,13,6,"div",44),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()),2&i){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(7),e.\u0275\u0275property("ngForOf",t.mentors)}}function jt(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"p",31),e.\u0275\u0275elementStart(1,"a",32),e.\u0275\u0275listener("click",function(){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext(3).allSalaries()}),e.\u0275\u0275text(2,"View All"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()}}function Rt(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"tr"),e.\u0275\u0275elementStart(1,"td"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td",63),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()),2&i){const t=a.$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(t.country),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1("$",t.usd_salary,"")}}function zt(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",54),e.\u0275\u0275elementStart(1,"div",55),e.\u0275\u0275elementStart(2,"div",56),e.\u0275\u0275elementStart(3,"h5",57),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"div",58),e.\u0275\u0275elementStart(6,"div",20),e.\u0275\u0275elementStart(7,"div",24),e.\u0275\u0275elementStart(8,"table",59),e.\u0275\u0275elementStart(9,"tbody"),e.\u0275\u0275template(10,Rt,5,2,"tr",60),e.\u0275\u0275pipe(11,"slice"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(12,"div",61),e.\u0275\u0275elementStart(13,"div",24),e.\u0275\u0275elementStart(14,"a",62),e.\u0275\u0275listener("click",function(){const l=e.\u0275\u0275restoreView(t).$implicit,s=e.\u0275\u0275nextContext(3),m=e.\u0275\u0275reference(2);return s.seeMoreSalaries(m,l)}),e.\u0275\u0275text(15,"See More"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u
10275elementEnd(),e.\u0275\u0275elementEnd()}if(2&i){const t=a.$implicit;e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate(t.job_title),e.\u0275\u0275advance(6),e.\u0275\u0275property("ngForOf",e.\u0275\u0275pipeBind3(11,2,t.salaries,0,4))}}function Pt(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"div",23),e.\u0275\u0275elementStart(1,"div",24),e.\u0275\u0275elementStart(2,"h4",25),e.\u0275\u0275text(3,"Salaries"),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(4,jt,3,0,"p",29),e.\u0275\u0275element(5,"hr",26),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"div",43),e.\u0275\u0275elementStart(7,"div",20),e.\u0275\u0275template(8,zt,16,6,"div",53),e.\u0275\u0275pipe(9,"slice"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()),2&i){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(4),e.\u0275\u0275property("ngIf",0!=t.salaries.length),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",e.\u0275\u0275pipeBind3(9,2,t.salaries,0,6))}}function Dt(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"p",31),e.\u0275\u0275elementStart(1,"a",32),e.\u0275\u0275listener("click",function(){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext(3).allArticles()}),e.\u0275\u0275text(2,"View All"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()}}const Lt=function(i){return["/career-counselling/article-details",i]};function At(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"li"),e.\u0275\u0275elementStart(1,"a",66),e.\u0275\u0275elementStart(2,"div",67),e.\u0275\u0275elementStart(3,"div",7),e.\u0275\u0275elementStart(4,"div",24),e.\u0275\u0275element(5,"img",68),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"div",69),e.\u0275\u0275elementStart(7,"div",24),e.\u0275\u0275elementStart(8,"div",70),e.\u0275\u0275elementStart(9,"div",71),e.\u0275\u0275element(10,"img",72),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"div",73),e.\u0275\u0275elementStart(12,"div",20),e.\u0275\u0275elementStart(13,"div",4),e.\u0275\u0275elementStart(14,"a",74),e.\u0275\u0275text(15),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(16,"div",20),e.\u0275\u0275elementStart(17,"div",75),e.\u0275\u0275elementStart(18,"p",76),e.\u0275\u0275elementStart(19,"span",77),e.\u0275\u0275text(20),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()),2&i){const t=a.$implicit,n=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(1),e.\u0275\u0275property("routerLink",e.\u0275\u0275pureFunction1(6,Lt,t.article_id)),e.\u0275\u0275advance(4),e.\u0275\u0275propertyInterpolate("src",t.featured_image?t.image:"/assets/media/default/[email protected]",e.\u0275\u0275sanitizeUrl),e.\u0275\u0275advance(5),e.\u0275\u0275propertyInterpolate("src",t.presenter_image?n.apiService.media_url+""+t.presenter_image:"./assets/media/users/300_21.jpg",e.\u0275\u0275sanitizeUrl),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1(" ",t.article_title," "),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate2("",t.likes," like",t.likes>1?"s":"","")}}function Vt(i,a){1&i&&(e.\u0275\u0275elementStart(0,"h3",78),e.\u0275\u0275text(1,"No data available"),e.\u0275\u0275elementEnd())}function Nt(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"div",23),e.\u0275\u0275elementStart(1,"div",24),e.\u0275\u0275elementStart(2,"h4",25),e.\u0275\u0275text(3," Related Articles "),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(4,Dt,3,0,"p",29),e.\u0275\u0275element(5,"hr",26),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"div",64),e.\u0275\u0275elementStart(7,"div",20),e.\u0275\u0275elementStart(8,"div",24),e.\u0275\u0275elementStart(9,"ul"),e.\u0275\u0275template(10,At,21,8,"li",60),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(11,Vt,2,0,"h3",65),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()),2&i){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(4),e.\u0275\u0275property("ngIf",0!=t.articles.length),e.\u0275\u0275advance(6),e.\u0275\u0275property("ngForOf",t.articles),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",0==t.articles.length)}}function $t(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"p",31),e.\u0275\u0275elementStart(1,"a",32),e.\u0275\u0275listener("click",function(){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext(3).allVideo()}),e.\u0275\u0275text(2,"View All"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()}}
1const Ut=function(i){return["/career-counselling/video-details",i]};function Bt(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"li"),e.\u0275\u0275elementStart(1,"a",66),e.\u0275\u0275elementStart(2,"div",67),e.\u0275\u0275elementStart(3,"div",7),e.\u0275\u0275elementStart(4,"div",24),e.\u0275\u0275elementStart(5,"div",79),e.\u0275\u0275element(6,"i",80),e.\u0275\u0275element(7,"img",81),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"div",69),e.\u0275\u0275elementStart(9,"div",24),e.\u0275\u0275elementStart(10,"div",70),e.\u0275\u0275elementStart(11,"div",73),e.\u0275\u0275elementStart(12,"div",20),e.\u0275\u0275elementStart(13,"div",4),e.\u0275\u0275elementStart(14,"a",74),e.\u0275\u0275text(15),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(16,"div",20),e.\u0275\u0275elementStart(17,"div",75),e.\u0275\u0275elementStart(18,"p",76),e.\u0275\u0275elementStart(19,"span",77),e.\u0275\u0275text(20),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()),2&i){const t=a.$implicit,n=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(1),e.\u0275\u0275property("routerLink",e.\u0275\u0275pureFunction1(4,Ut,t.topic_id)),e.\u0275\u0275advance(6),e.\u0275\u0275propertyInterpolate("src",t.video_image_url?t.video_image_url:"/assets/media/default/[email protected]",e.\u0275\u0275sanitizeUrl),e.\u0275\u0275advance(8),e.\u0275\u0275textInterpolate1(" ",t.title,""),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1("",t.views?n.apiService.abbreviateNumber(t.views):0," views")}}function Gt(i,a){1&i&&(e.\u0275\u0275elementStart(0,"h3",78),e.\u0275\u0275text(1,"No data available"),e.\u0275\u0275elementEnd())}function Ht(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"div",23),e.\u0275\u0275elementStart(1,"div",24),e.\u0275\u0275elementStart(2,"h4",25),e.\u0275\u0275text(3," Related Videos "),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(4,$t,3,0,"p",29),e.\u0275\u0275element(5,"hr",26),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"div",64),e.\u0275\u0275elementStart(7,"div",20),e.\u0275\u0275elementStart(8,"div",24),e.\u0275\u0275elementStart(9,"ul"),e.\u0275\u0275template(10,Bt,21,6,"li",60),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(11,Gt,2,0,"h3",65),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()),2&i){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(4),e.\u0275\u0275property("ngIf",0!=t.videos.length),e.\u0275\u0275advance(6),e.\u0275\u0275property("ngForOf",t.videos),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",0==t.videos.length)}}function qt(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",2),e.\u0275\u0275elementStart(1,"div",3),e.\u0275\u0275elementStart(2,"div",4),e.\u0275\u0275elementStart(3,"button",5),e.\u0275\u0275listener("click",function(){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext().back()}),e.\u0275\u0275element(4,"i",6),e.\u0275\u0275text(5," Back"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"div",7),e.\u0275\u0275elementStart(7,"div",8),e.\u0275\u0275elementStart(8,"h3",9),e.\u0275\u0275text(9),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(10,bt,3,2,"div",10),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"div",11),e.\u0275\u0275elementStart(12,"div",12),e.\u0275\u0275element(13,"img",13),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(14,Ct,9,1,"div",14),e.\u0275\u0275template(15,Et,7,1,"div",15),e.\u0275\u0275template(16,wt,8,2,"div",15),e.\u0275\u0275template(17,Mt,6,1,"div",15),e.\u0275\u0275template(18,Ft,8,1,"div",15),e.\u0275\u0275template(19,Pt,10,6,"div",15),e.\u0275\u0275template(20,Nt,12,3,"div",15),e.\u0275\u0275template(21,Ht,12,3,"div",15),e.\u0275\u0275elementEnd()}if(2&i){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(9),e.\u0275\u0275textInterpolate1("",t.record_details.course_specialization," "),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf","1"==t.record_details.is_premium),e.\u0275\u0275advance(3),e.\u0275\u0275propertyInterpolate("src",null!=t.record_details&&t.record_details.featured_image?t.record_details.featured_image:"/assets/media/default/Rectangle.png",e.\u0275\u0275sanitizeUrl),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",t.apiCall&&!t.data_exist),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",""!=t.record_details.about),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",1==t.record_details.is_premium&&0!=t.curriculums.length),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",1==t.record_details.is_premium&&""!=t.record_details.skills),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",1==t.record_details.is_premium&&0!=t.mentors.length),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",0!=t.salaries.length),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",0!=t.articles.length),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",0!=t.videos.length)}}function Qt(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"div",7),e.\u0275\u0275elementStart(1,"div",93),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"div",94),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()),2&i){const t=a.$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",t.country," "),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" $",t.usd_salary," ")}}function Jt(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",82),e.\u0275\u0275elementStart(1,"h5",83),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"button",84),e.\u0275\u0275listener("click",function(){return e.\u0275\u0275restoreView(t).dismiss("Cross click")}),e.\u0275\u0275element(4,"i",85),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"div",86),e.\u0275\u0275elementStart(6,"div",20),e.\u0275\u0275elementStart(7,"div",24),e.\u0275\u0275elementStart(8,"p",87),e.\u0275\u0275text(9,"Job Description"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(10,"p",28),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"div",88),e.\u0275\u0275elementStart(12,"div",24),e.\u0275\u0275elementStart(13,"div",89),e.\u0275\u0275elementStart(14,"div",90),e.\u0275\u0275elementStart(15,"div",91),e.\u0275\u0275template(16,Qt,5,2,"div",92),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()}if(2&i){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(null==t.salary?null:t.salary.job_title),e.\u0275\u0275advance(8),e.\u0275\u0275property("innerHTML",null==t.salary?null:t.salary.job_description,e.\u0275\u0275sanitizeHtml),e.\u0275\u0275advance(6),e.\u0275\u0275property("ngForOf",t.salary.salaries)}}let Wt=(()=>{class i{constructor(t,n,r,l,s,m,f){this.modalService=t,this.userService=n,this.fb=r,this.subheader=l,this.apiService=s,this.activatedRoute=m,this.router=f,this.articles=[],this.salaries=[],this.videos=[],this.curriculums=[],this.skills=[],this.mentors=[],this.apiCall=!1,this.data_exist=!1,this.course_id=this.activatedRoute.snapshot.paramMap.get("course_id"),this.specialization_id=this.activatedRoute.snapshot.paramMap.get("specialization_id"),this.userData=this.apiService.getUserData()}ngOnInit(){setTimeout(()=>{this.subheader.setTitle(localStorage.getItem("module_name")),this.subheader.setBreadcrumbs([{title:localStorage.getItem("module_name"),linkText:localStorage.getItem("module_name"),linkPath:"/"+localStorage.getItem("page_name")}])}
1,1),this.getDetails(),this.getSalaries(),this.getVideos(),this.getArticles()}getDetails(){this.apiService.post_with_token("Careers/getSpecializationDetailsData",{course_id:this.course_id,specialization_id:this.specialization_id}).subscribe(n=>{this.apiCall=!0,this.record_details=n.data,this.record_details.about="",this.record_details.skills="";for(let r of this.record_details.article_content)"About"===r.sub_title&&(this.record_details.about=r.sub_description,this.data_exist=!0),"Skills Required"===r.sub_title&&(this.record_details.skills=r.sub_description,this.data_exist=!0);1==this.record_details.is_premium&&(this.getCurriculum(),this.getMentorList()),this.apiCall=!0},n=>{this.apiService.toastErrorMsg(n)})}getCurriculum(){this.apiService.post_with_token("Careers/getCurriculumListByCourseSpecialization",{course_id:this.course_id,specialization_id:this.specialization_id,start:0,length:8,search:""}).subscribe(n=>{n.status&&(this.curriculums=n.data.list,0!=this.curriculums.length&&(this.data_exist=!0))},n=>{this.apiService.toastErrorMsg(n)})}loadMentors(){this.apiService.post_with_token("Careers/loadMentors",{course_id:this.course_id,specialization_id:this.specialization_id,start:0,length:8,search:""}).subscribe(n=>{this.curriculums=n.data},n=>{this.apiService.toastErrorMsg(n)})}getSalaries(){this.apiService.post_with_token("Careers/loadSalaries",{course_id:this.course_id,specialization_id:this.specialization_id}).subscribe(n=>{this.salaries=n.data,0!=this.salary.length&&(this.data_exist=!0)},n=>{this.apiService.toastErrorMsg(n)})}getVideos(){this.apiService.post_with_token("Webinar/loadCategorywiseWebiners",{query:"",page_no:1,entries:8,course_id:this.course_id,specialization_id:this.specialization_id,from_date:"",load_more:0}).subscribe(n=>{this.videos=n.data,0!=this.videos.length&&(this.data_exist=!0)},n=>{this.apiService.toastErrorMsg(n)})}getArticles(){this.apiService.post_with_token("Articles/loadCategorywiseArticles",{query:"",page_no:1,entries:8,course_id:this.course_id,specialization_id:this.specialization_id,from_date:"",load_more:0}).subscribe(n=>{this.articles=n.data,0!=this.articles.length&&(this.data_exist=!0)},n=>{this.apiService.toastErrorMsg(n)})}getMentorList(){this.apiService.postApiWithToken("Discourse/getForumsList",{category_id:1,is_direct_forum:1,course:this.record_details.select_course}).subscribe(n=>{n.status&&(this.mentors=n.topics,0!=this.mentors.length&&(this.data_exist=!0))},n=>{this.apiService.toastErrorMsg(n)})}seeMoreSalaries(t,n){this.salary=n,this.modalService.open(t,{size:"lg",centered:!0,windowClass:"salaries-popup",scrollable:!1})}allCurriculum(){this.apiService.setOption("trending_careers",this.record_details),this.router.navigate(["/career-counselling/all-curriculum",this.course_id,this.specialization_id])}allSalaries(){this.apiService.setOption("trending_careers",this.record_details),this.router.navigate(["/career-counselling/courses-salaries",this.course_id,this.specialization_id])}allArticles(){this.apiService.setOption("trending_careers",this.record_details),this.router.navigate(["/career-counselling/courses-related-article",this.course_id,this.specialization_id])}allVideo(){this.apiService.setOption("trending_careers",this.record_details),this.router.navigate(["/career-counselling/courses-related-video",this.course_id,this.specialization_id])}back(){window.history.back()}addCourseRecommendation(){const t=JSON.parse(JSON.stringify(this.record_details));let n=new FormData;n.append("select_course[0][id]",t.course_id),n.append("select_course[0][name]",t.select_course),n.append("course_specialization[0][id]",t.specialization_id),n.append("course_specialization[0][name]",t.course_specialization),n.append("module_id",this.apiService.getUserModuleId().toString()),n.append("student_id",this.userData.id),n.append("user_group",this.userData.user_group),n.append("logintype","1"),this.apiService.post_form_with_token("Careers/addCourse",n).subscribe(r=>{r.status?this.sucess("Success",r.message):this.error("Error",r.message)},r=>{this.apiService.toastErrorMsg(r)})}deleteSpecializationRecommendation(){var t=this;const n={courseIds:this.record_details.recommendation_ids};this.modalService.dismissAll();const r=this.modalService.open(H.p,{centered:!0,windowClass:"cancel-popup",size:"sm"});r.componentInstance.sub_title="Do you want to delete this specialization?",r.result.then(l=>{l&&t.apiService.post_with_token("Careers/deleteSpecialization",n).subscribe(s=>{s.status?(t.apiService.toastMsg(s.message,"success"),t.getDetails()):t.apiService.toastMsg(s.message,"warning")},s=>{t.apiService.toastErrorMsg(s)})},l=>{})}sucess(t,n){this.modalService.dismissAll();const r=this.modalService.open(N.n,{centered:!0,windowClass:"cancel-popup",size:"sm"});r.componentInstance.title=t,r.componentInstance.sub_title=n,r.componentInstance.type=0,r.componentInstance.type=0,r.result.then(l=>{},l=>{})}infoMessage(t,n){this.modalService.dismissAll();const r=this.modalService.open(N.n,{centered:!0,windowClass:"cancel-popup",size:"sm"});r.componentInstance.title=t,r.componentInstance.sub_title="",r.componentInstance.type=3,r.componentInstance.html=n,r.result.then(l=>{},l=>{})}error(t,n){this.modalService.dismissAll();const r=this.modalService.open(N.n,{centered:!0,windowClass:"cancel-popup",size:"sm"});r.componentInstance.title=t,r.componentInstance.sub_title=n,r.componentInstance.type=1,r.result.then(l=>{},l=>{})}}return i.\u0275fac=function(t){return new(t||i)(e.\u0275\u0275directiveInject(S.FF),e.\u0275\u0275directiveInject(j.e),e.\u0275\u0275directiveInject(o.qu),e.\u0275\u0275directiveInject(u.b),e.\u0275\u0275directiveInject(b.s),e.\u0275\u0275directiveInject(d.gz),e.\u0275\u0275directiveInject(d.F0))},i.\u0275cmp=e.\u0275\u0275defineComponent({type:i,selectors:[["app-courses-info"]],decls:3,vars:1,consts:[["class","card-body p-25s",4,"ngIf"],["popup",""],[1,"card-body","p-25s"],[1,"row","mb-4"],[1,"col-12"],["type","button",1,"btn","btn-primary","btn-trans
1parent","custom-btn-1","p-0","back-btn","border-0",3,"click"],[1,"fas","fa-chevron-left"],[1,"row","mb-5"],[1,"col-8"],[1,"bluetxt-clr","pt-3"],["class","col-4 text-right",4,"ngIf"],[1,"row","mb-8","pl-4","pr-4"],[1,"col-md-12","bg-light-grey","text-center","pt-4","pb-4"],["onerror","this.onerror=null;this.src='/assets/media/default/Rectangle.png'","alt","",1,"career-explorer-img",3,"src"],["class","row d-flex align-items-center text-center center-no-image ",4,"ngIf"],["class","row mb-8",4,"ngIf"],[1,"col-4","text-right"],["type","button","class","btn btn-primary custom-btn-1 ",3,"click",4,"ngIf"],["type","button",1,"btn","btn-primary","custom-btn-1",3,"click"],[1,"row","d-flex","align-items-center","text-center","center-no-image"],[1,"row"],["src","/assets/media/images/no-application.png",1,"w-auto"],[1,"row","mt-8"],[1,"row","mb-8"],[1,"col-md-12"],[1,"font-weight-normal","d-inline-block","p-4","text-white","bg-primary","border-tp-round","mb-0"],[1,"blue-hr"],[1,"col-md-12","mt-5"],[3,"innerHTML"],["class","pt-3 mb-0 float-right",4,"ngIf"],["class","row mb-12",4,"ngFor","ngForOf"],[1,"pt-3","mb-0","float-right"],[1,"grey-txtlink",3,"click"],[1,"row","mb-12"],[1,"col-12","d-flex","align-items-center","flex-row","pl-0"],[1,"mr-4","curriculum",3,"src"],[1,"mb-2"],[1,"font-weight-bold","mb-2"],[1,"mb-3"],["target","_blank",3,"href",4,"ngIf"],["target","_blank",3,"href"],["type","button",1,"btn","btn-primary","custom-btn-1","small-btns"],[1,"col-md-12","mt-5",3,"innerHTML"],[1,"col-md-12","mt-7"],["class","col-6 mb-7",4,"ngFor","ngForOf"],[1,"col-6","mb-7"],[1,"border","rounded","p-4","w-100","d-flex","align-items-center","flex-row","cursor",3,"routerLink"],[1,"mentor-img","mr-6",3,"src"],[1,"w-100"],[1,"one-line","mb-2"],[1,"icon-xl","fas","fa-graduation-cap","font-15","mr-1"],[1,"one-line","mb-2","w-60"],[1,"icon-xl","fas","fa-suitcase","font-15","mr-2"],["class","col-xl-4 col-lg-6 col-md-6 mb-8",4,"ngFor","ngForOf"],[1,"col-xl-4","col-lg-6","col-md-6","mb-8"],[1,"card"],[1,"card-header","p-5"],[1,"mb-0","font-weight-bold","bluetxt"],[1,"card-body","p-0"],[1,"salaries","table","table-borderless"],[4,"ngFor","ngForOf"],[1,"row","mt-3","mb-4","ml-1"],[1,"btn","btn-primary","custom-btn-1",3,"click"],[1,"text-right"],[1,"col-md-12","mt-7","blogs-display","inner-blog-disp","p-0"],["class","text-center",4,"ngIf"],[3,"routerLink"],[1,"box-shadows","inner-box-hgt1"],["onerror","this.onerror=null;this.src='/assets/media/default/[email protected]';",1,"thumbnil-style-4","img-fluid","w-100","hgt-auto","border-radius-0",3,"src"],[1,"row","mb-3"],[1,"d-flex","mb-3","p-3"],[1,"symbol","symbol-circle","symbol-lg-40","mr-4"],["onerror","this.onerror=null;this.src='./assets/media/users/300_21.jpg';","alt","image",3,"src"],[1,"d-flex","flex-column","font-weight-bold","w-100"],[1,"text-dark","text-hover-primary","text-left","blogs-title","txt-darkclr","two-line"],[1,"col-12","mt-2"],[1,"small-font","mb-0","txt-darkclr"],[1,"mr-1","ml-1"],[1,"text-center"],[1,"video-play"],[1,"far","fa-play-circle"],["onerror","this.onerror=null;this.src='/assets/media/default/[email protected]';",1,"thumbnil-style-4","img-fluid","w-100","hgt-auto","border-radius-0",3,"src"],[1,"modal-header","p-4"],[1,"modal-title"],["type","button","aria-label","Close",1,"close",3,"click"],[1,"fas","fa-times"],[1,"modal-body"],[1,"font-16","font-weight-bold"],[1,"row","mt-5"],[1,"card","card-custom","card-stretch","border"],[1,"card-body","p-6","pb-8"],["perfectScrollbar","",1,"scroll","salaries-hgt"],["class","row mb-5",4,"ngFor","ngForOf"],[1,"col-md-8"],[1,"col-md-4","text-right"]],template:function(t,n){1&t&&(e.\u0275\u0275template(0,qt,22,11,"div",0),e.\u0275\u0275template(1,Jt,17,3,"ng-template",null,1,e.\u0275\u0275templateRefExtractor)),2&t&&e.\u0275\u0275property("ngIf",n.record_details)},directives:[g.NgIf,g.NgForOf,d.rH,d.yS,h.$V],pipes:[g.SlicePipe],styles:[".cursor{cursor:pointer}.mentor-img{width:100px;height:100px;border-radius:5px;-o-object-position:top center;object-position:top center;-o-object-fit:cover;object-fit:cover}.pull-btn-dawn{position:relative;
1margin-bottom:-58px;z-index:1}.mentor-grid ul li{width:116px!important;margin-right:35px}.mentor-grid ul li:nth-child(10n+0){margin-right:0%!important}.mentor-grid ul li{padding-right:0!important;padding-left:0!important}.hgt-fixed{height:116px!important;width:116px!important;-o-object-position:center;object-position:center;-o-object-fit:cover;object-fit:cover}.curriculum{width:100px;height:100px;-o-object-position:top center;object-position:top center;-o-object-fit:cover;object-fit:cover}.small-btns{padding:7px 10px!important;font-size:12px!important}@media (max-width: 1700px){.mentor-grid ul li{margin-right:15px}.mentor-grid ul li:nth-child(10n+0){margin-right:15px!important}.mentor-grid ul li:nth-child(9n+0){margin-right:0%!important}}@media (max-width: 1500px){.mentor-grid ul li{margin-right:32px}.mentor-grid ul li:nth-child(10n+0){margin-right:32px!important}.mentor-grid ul li:nth-child(9n+0){margin-right:32px!important}.mentor-grid ul li:nth-child(7n+0){margin-right:0%!important}}@media (max-width: 1400px){.mentor-grid ul li{margin-right:20px}.mentor-grid ul li:nth-child(10n+0){margin-right:20px!important}.mentor-grid ul li:nth-child(9n+0){margin-right:20px!important}.mentor-grid ul li:nth-child(7n+0){margin-right:0%!important}}@media (max-width: 1300px){.mentor-grid ul li{margin-right:30px}.mentor-grid ul li:nth-child(10n+0){margin-right:30px!important}.mentor-grid ul li:nth-child(9n+0){margin-right:30px!important}.mentor-grid ul li:nth-child(7n+0){margin-right:30px!important}.mentor-grid ul li:nth-child(6n+0){margin-right:0%!important}}@media (max-width: 1200px){.mentor-grid ul li{margin-right:38px}.mentor-grid ul li:nth-child(10n+0){margin-right:38px!important}.mentor-grid ul li:nth-child(9n+0){margin-right:38px!important}.mentor-grid ul li:nth-child(7n+0){margin-right:38px!important}.mentor-grid ul li:nth-child(6n+0){margin-right:38px!important}.mentor-grid ul li:nth-child(4n+0){margin-right:0!important}}@media (max-width: 950px){.mentor-grid ul li{margin-right:27px}.mentor-grid ul li:nth-child(10n+0){margin-right:27px!important}.mentor-grid ul li:nth-child(9n+0){margin-right:27px!important}.mentor-grid ul li:nth-child(7n+0){margin-right:27px!important}.mentor-grid ul li:nth-child(6n+0){margin-right:27px!important}.mentor-grid ul li:nth-child(4n+0){margin-right:27px!important}.mentor-grid ul li:nth-child(5n+0){margin-right:0!important}}\n"],encapsulation:2}),i})();const Kt=function(i){return["/career-counselling/article-details",i]};function Yt(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"li"),e.\u0275\u0275elementStart(1,"a",17),e.\u0275\u0275elementStart(2,"div",18),e.\u0275\u0275elementStart(3,"div",5),e.\u0275\u0275elementStart(4,"div",19),e.\u0275\u0275element(5,"img",20),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"div",21),e.\u0275\u0275elementStart(7,"div",19),e.\u0275\u0275elementStart(8,"div",22),e.\u0275\u0275elementStart(9,"div",23),e.\u0275\u0275elementStart(10,"div",24),e.\u0275\u0275elementStart(11,"div",2),e.\u0275\u0275elementStart(12,"a",25),e.\u0275\u0275text(13),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(14,"div",24),e.\u0275\u0275elementStart(15,"div",26),e.\u0275\u0275elementStart(16,"p",27),e.\u0275\u0275elementStart(17,"span",28),e.\u0275\u0275text(18),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()),2&i){const t=a.$implicit;e.\u0275\u0275advance(1),e.\u0275\u0275property("routerLink",e.\u0275\u0275pureFunction1(5,Kt,t.article_id)),e.\u0275\u0275advance(4),e.\u0275\u0275propertyInterpolate("src",t.featured_image?t.image:"/assets/media/default/[email protected]",e.\u0275\u0275sanitizeUrl),e.\u0275\u0275advance(8),e.\u0275\u0275textInterpolate1(" ",t.article_title," "),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate2("",t.likes," like",t.likes>1?"s":"","")}}function Xt(i,a){1&i&&(e.\u0275\u0275elementStart(0,"h3",29),e.\u0275\u0275text(1,"No data available"),e.\u0275\u0275elementEnd())}let Zt=(()=>{class i{constructor(t,n,r,l,s,m,f){this.modalService=t,this.userService=n,this.fb=r,this.subheader=l,this.apiService=s,this.activatedRoute=m,this.router=f,this.records=[],this.search="",this.page_no=1,this.api_call=!1,this.course_id=!1,this.specialization_id=!1,this.course_id=this.activatedRoute.snapshot.paramMap.get("course_id"),this.specialization_id=this.activatedRoute.snapshot.paramMap.get("specialization_id"),this.userData=this.apiService.getUserData()}ngOnInit(){setTimeout(()=>{this.subheader.setTitle(localStorage.getItem("module_name")),this.subheader.setBreadcrumbs([{title:localStorage.getItem("module_name"),linkText:localStorage.getItem("module_name"),linkPath:"/"+localStorage.getItem("page_name")}])},1),this.getArticles()}
1getArticles(){this.api_call=!1,this.apiService.post_with_token("Articles/loadCategorywiseArticles",{query:this.search,page_no:this.page_no,entries:10,course_id:this.course_id,specialization_id:this.specialization_id,from_date:"",load_more:0}).subscribe(n=>{let r=n.data;0===r.length?this.page_no=-1:this.records=this.records.concat(r),this.api_call=!0},n=>{this.api_call=!0,this.apiService.toastErrorMsg(n)})}searchEnter(t){this.page_no=1,this.records=[],this.getArticles()}back(){window.history.back()}onScroll(){-1!=this.page_no&&(this.page_no+=1,this.getArticles())}}return i.\u0275fac=function(t){return new(t||i)(e.\u0275\u0275directiveInject(S.FF),e.\u0275\u0275directiveInject(j.e),e.\u0275\u0275directiveInject(o.qu),e.\u0275\u0275directiveInject(u.b),e.\u0275\u0275directiveInject(b.s),e.\u0275\u0275directiveInject(d.gz),e.\u0275\u0275directiveInject(d.F0))},i.\u0275cmp=e.\u0275\u0275defineComponent({type:i,selectors:[["app-courses-related-article"]],decls:21,vars:6,consts:[[1,"card-body","p-25s"],[1,"row","mb-1"],[1,"col-12"],["type","button",1,"btn","btn-primary","btn-transparent","custom-btn-1","p-0","back-btn","border-0",3,"click"],[1,"fas","fa-chevron-left"],[1,"row","mb-5"],[1,"col-8"],[1,"bluetxt-clr","pt-4"],[1,"col-4"],[1,"input-icon","seachright"],["type","text","placeholder","Search","id","generalSearch",1,"form-control","form-control-lg","form-control-solid","h-52px",3,"ngModel","ngModelChange"],["cacheSVG","true",1,"svg-icon","svg-icon-lg",3,"inlineSVG","click"],[1,"row","mb-4"],[1,"col-md-12","blogs-display","inner-blog-disp","p-0"],[4,"ngFor","ngForOf"],["class","text-center",4,"ngIf"],["infiniteScroll","",3,"infiniteScrollDistance","infiniteScrollThrottle","scrolled"],[3,"routerLink"],[1,"box-shadows","inner-box-hgt1"],[1,"col-md-12"],["onerror","this.onerror=null;this.src='/assets/media/default/[email protected]';",1,"thumbnil-style-4","img-fluid","w-100","hgt-auto","border-radius-0",3,"src"],[1,"row","mb-3"],[1,"d-flex","mb-3","p-3"],[1,"d-flex","flex-column","font-weight-bold","w-100"],[1,"row"],[1,"text-dark","text-hover-primary","text-left","blogs-title","txt-darkclr","two-line"],[1,"col-12","mt-2"],[1,"small-font","mb-0","txt-darkclr"],[1,"mr-1","ml-1"],[1,"text-center"]],template:function(t,n){1&t&&(e.\u0275\u0275elementStart(0,"div",0),e.\u0275\u0275elementStart(1,"div",1),e.\u0275\u0275elementStart(2,"div",2),e.\u0275\u0275elementStart(3,"button",3),e.\u0275\u0275listener("click",function(){return n.back()}),e.\u0275\u0275element(4,"i",4),e.\u0275\u0275text(5," Back"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"div",5),e.\u0275\u0275elementStart(7,"div",6),e.\u0275\u0275elementStart(8,"h3",7),e.\u0275\u0275text(9,"Related Articles "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"div",8),e.\u0275\u0275elementStart(11,"div",9),e.\u0275\u0275elementStart(12,"input",10),e.\u0275\u0275listener("ngModelChange",function(l){return n.search=l}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"span"),e.\u0275\u0275elementStart(14,"span",11),e.\u0275\u0275listener("click",function(){return n.searchEnter(n.search)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(15,"div",12),e.\u0275\u0275elementStart(16,"div",13),e.\u0275\u0275elementStart(17,"ul"),e.\u0275\u0275template(18,Yt,19,7,"li",14),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(19,Xt,2,0,"h3",15),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(20,"div",16),e.\u0275\u0275listener("scrolled",function(){return n.onScroll()}),e.\u0275\u0275elementEnd()),2&t&&(e.\u0275\u0275advance(12),e.\u0275\u0275property("ngModel",n.search),e.\u0275\u0275advance(2),e.\u0275\u0275property("inlineSVG","./assets/media/svg/icons/General/Search1.svg"),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",n.records),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",0==n.records.length&&n.api_call),e.\u0275\u0275advance(1),e.\u0275\u0275property("infiniteScrollDistance",2)("infiniteScrollThrottle",50))},directives:[o.Fj,o.JJ,o.On,w.d$,g.NgForOf,g.NgIf,C.R,d.yS],styles:[""]}),i})();function en(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"tr"),e.\u0275\u0275elementStart(1,"td"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td",26),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()),2&i){const t=a.$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(t.country),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1("$",t.usd_salary,"")}}function tn(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",17),e.\u0275\u0275elementStart(1,"div",18),e.\u0275\u0275elementStart(2,"div",19),e.\u0275\u0275elementStart(3,"h5",20),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"div",21),e.\u0275\u0275elementStart(6,"div",14),e.\u0275\u0275elementStart(7,"div",13),e.\u0275\u0275elementStart(8,"table",22),e.\u0275\u0275elementStart(9,"tbody"),e.\u0275\u0275template(10,en,5,2,"tr",23),e.\u0275\u0275pipe(11,"slice"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(12,"div",24),e.\u0275\u0275elementStart(13,"div",13),e.\u0275\u0275elementStart(14,"a",25),e.\u0275\u0275listener("click",function(){const l=e.\u0275\u0275restoreView(t).$implicit,s=e.\u0275\u0275nextContext(),m=e.\u0275\u0275reference(20);return s.seeMoreSalaries(m,l)}),e.\u0275\u0275text(15,"See More"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()}if(2&i){const t=a.$implicit;e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate(t.job_title),e.\u0275\u0275advance(6),e.\u0275\u0275property("ngForOf",e.\u0275\u0275pipeBind3(11,2,t.salaries,0,4))}}function nn(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"div",5),e.\u0275\u0275elementStart(1,"div",39),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"div",40),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()),2&i){const t=a.$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",t.country," "),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" $",t.usd_salary," ")}}function rn(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",27),e.\u0275\u0275elementStart(1,"h5",28),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"button",29),e.\u0275\u0275listener("click",function(){return e.\u0275\u0275restoreView(t).dismiss("Cross click")}),e.\u0275\u0275element(4,"i",30),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"div",31),e.\u0275\u0275elementStart(6,"div",14),e.\u0275\u0275elementStart(7,"div",13),e.\u0275\u0275elementStart(8,"p",32),e.\u0275\u0275text(9,"Job Description"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(10,"p",33),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"div",34),e.\u0275\u0275elementStart(12,"div",13),e.\u0275\u0275elementStart(13,"div",35),e.\u0275\u0275elementStart(14,"div",36),e.\u0275\u0275elementStart(15,"div",37),e.\u0275\u0275template(16,nn,5,2,"div",38),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()}if(2&i){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(null==t.salary?null:t.salary.job_title),e.\u0275\u0275advance(8),e.\u0275\u0275property("innerHTML",null==t.salary?null:t.salary.job_description,e.\u0275\u0275sanitizeHtml),e.\u0275\u0275advance(6),e.\u0275\u0275property("ngForOf",t.salary.salaries)}}let on=(()=>{class i{constructor(t,n,r,l,s,m){this.modalService=t,this.userService=n,this.subheader=r,this.apiService=l,this.activatedRoute=s,this.router=m,this.search="",this.page_no=1,this.api_call=!1,this.course_id=!1,this.specialization_id=!1,this.filteredSalaries=[],this.salaries=[],this.course_id=this.activatedRoute.snapshot.paramMap.get("course_id"),this.specialization_id=this.activatedRoute.snapshot.paramMap.get("specialization_id"),this.userData=this.apiService.getUserData()}ngOnInit(){setTimeout(()=>{this.subheader.setTitle(localStorage.getItem("module_name")),this.subheader.setBreadcrumbs([{title:localStorage.getItem("module_name"),linkText:localStorage.getItem("module_name"),linkPath:"/"+localStorage.getItem("page_name")}])}
1,1),this.getSalaries()}getSalaries(){this.apiService.post_with_token("Careers/loadSalaries",{course_id:this.course_id,specialization_id:this.specialization_id}).subscribe(n=>{this.salaries=n.data,this.filteredSalaries=n.data},n=>{this.apiService.toastErrorMsg(n)})}seeMoreSalaries(t,n){this.salary=n,this.modalService.open(t,{size:"lg",centered:!0,windowClass:"salaries-popup"})}searchEnter(t){const n=t.toLowerCase();this.filteredSalaries=this.salaries.filter(r=>r.job_title.toLowerCase().includes(n))}back(){window.history.back()}}return i.\u0275fac=function(t){return new(t||i)(e.\u0275\u0275directiveInject(S.FF),e.\u0275\u0275directiveInject(j.e),e.\u0275\u0275directiveInject(u.b),e.\u0275\u0275directiveInject(b.s),e.\u0275\u0275directiveInject(d.gz),e.\u0275\u0275directiveInject(d.F0))},i.\u0275cmp=e.\u0275\u0275defineComponent({type:i,selectors:[["app-courses-salaries"]],decls:21,vars:3,consts:[[1,"card-body","p-25s"],[1,"row","mb-1"],[1,"col-12"],["type","button",1,"btn","btn-primary","btn-transparent","custom-btn-1","p-0","back-btn","border-0",3,"click"],[1,"fas","fa-chevron-left"],[1,"row","mb-5"],[1,"col-8"],[1,"bluetxt-clr","pt-4"],[1,"col-4"],[1,"input-icon","seachright"],["type","text","placeholder","Search","id","generalSearch",1,"form-control","form-control-lg","form-control-solid","h-52px",3,"ngModel","ngModelChange","input"],["cacheSVG","true",1,"svg-icon","svg-icon-lg",3,"inlineSVG","click"],[1,"row","mb-4"],[1,"col-md-12"],[1,"row"],["class","col-xl-4 col-lg-6 col-md-6 mb-8",4,"ngFor","ngForOf"],["popup",""],[1,"col-xl-4","col-lg-6","col-md-6","mb-8"],[1,"card"],[1,"card-header","p-5"],[1,"mb-0","font-weight-bold","bluetxt"],[1,"card-body","p-0"],[1,"salaries","table","table-borderless"],[4,"ngFor","ngForOf"],[1,"row","mt-3","mb-4","ml-1"],[1,"btn","btn-primary","custom-btn-1",3,"click"],[1,"text-right"],[1,"modal-header","p-4"],[1,"modal-title"],["type","button","aria-label","Close",1,"close",3,"click"],[1,"fas","fa-times"],[1,"modal-body"],[1,"font-16","font-weight-bold"],[3,"innerHTML"],[1,"row","mt-5"],[1,"card","card-custom","card-stretch","border"],[1,"card-body","p-6","pb-8"],["perfectScrollbar","",1,"scroll","salaries-hgt"],["class","row mb-5",4,"ngFor","ngForOf"],[1,"col-md-8"],[1,"col-md-4","text-right"]],template:function(t,n){1&t&&(e.\u0275\u0275elementStart(0,"div",0),e.\u0275\u0275elementStart(1,"div",1),e.\u0275\u0275elementStart(2,"div",2),e.\u0275\u0275elementStart(3,"button",3),e.\u0275\u0275listener("click",function(){return n.back()}),e.\u0275\u0275element(4,"i",4),e.\u0275\u0275text(5," Back "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"div",5),e.\u0275\u0275elementStart(7,"div",6),e.\u0275\u0275elementStart(8,"h3",7),e.\u0275\u0275text(9,"Salaries "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"div",8),e.\u0275\u0275elementStart(11,"div",9),e.\u0275\u0275elementStart(12,"input",10),e.\u0275\u0275listener("ngModelChange",function(l){return n.search=l})("input",function(l){return n.searchEnter(l.target.value)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"span"),e.\u0275\u0275elementStart(14,"span",11),e.\u0275\u0275listener("click",function(){return n.searchEnter(n.search)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(15,"div",12),e.\u0275\u0275elementStart(16,"div",13),e.\u0275\u0275elementStart(17,"div",14),e.\u0275\u0275template(18,tn,16,6,"div",15),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(19,rn,17,3,"ng-template",null,16,e.\u0275\u0275templateRefExtractor)),2&t&&(e.\u0275\u0275advance(12),e.\u0275\u0275property("ngModel",n.search),e.\u0275\u0275advance(2),e.\u0275\u0275property("inlineSVG","./assets/media/svg/icons/General/Search1.svg"),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",n.filteredSalaries))},directives:[o.Fj,o.JJ,o.On,w.d$,g.NgForOf,h.$V],pipes:[g.SlicePipe],styles:[""],encapsulation:2}),i})();
1const an=function(i){return["/career-counselling/video-details",i]};function ln(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"li"),e.\u0275\u0275elementStart(1,"a",18),e.\u0275\u0275elementStart(2,"div",19),e.\u0275\u0275elementStart(3,"div",5),e.\u0275\u0275elementStart(4,"div",15),e.\u0275\u0275elementStart(5,"div",20),e.\u0275\u0275element(6,"i",21),e.\u0275\u0275element(7,"img",22),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"div",23),e.\u0275\u0275elementStart(9,"div",15),e.\u0275\u0275elementStart(10,"div",24),e.\u0275\u0275elementStart(11,"div",25),e.\u0275\u0275elementStart(12,"div",14),e.\u0275\u0275elementStart(13,"div",2),e.\u0275\u0275elementStart(14,"a",26),e.\u0275\u0275text(15),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(16,"div",14),e.\u0275\u0275elementStart(17,"div",27),e.\u0275\u0275elementStart(18,"p",28),e.\u0275\u0275elementStart(19,"span",29),e.\u0275\u0275text(20),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()),2&i){const t=a.$implicit,n=e.\u0275\u0275nextContext();e.\u0275\u0275advance(1),e.\u0275\u0275property("routerLink",e.\u0275\u0275pureFunction1(4,an,t.topic_id)),e.\u0275\u0275advance(6),e.\u0275\u0275propertyInterpolate("src",t.video_image_url?t.video_image_url:"/assets/media/default/[email protected]",e.\u0275\u0275sanitizeUrl),e.\u0275\u0275advance(8),e.\u0275\u0275textInterpolate1(" ",t.title,""),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1("",t.views?n.apiService.abbreviateNumber(t.views):0," views")}}function sn(i,a){1&i&&(e.\u0275\u0275elementStart(0,"h3",30),e.\u0275\u0275text(1,"No data available"),e.\u0275\u0275elementEnd())}let mn=(()=>{class i{constructor(t,n,r,l,s,m){this.modalService=t,this.userService=n,this.subheader=r,this.apiService=l,this.activatedRoute=s,this.router=m,this.records=[],this.search="",this.page_no=1,this.api_call=!1,this.course_id=!1,this.specialization_id=!1,this.course_id=this.activatedRoute.snapshot.paramMap.get("course_id"),this.specialization_id=this.activatedRoute.snapshot.paramMap.get("specialization_id"),this.userData=this.apiService.getUserData()}ngOnInit(){setTimeout(()=>{this.subheader.setTitle(localStorage.getItem("module_name")),this.subheader.setBreadcrumbs([{title:localStorage.getItem("module_name"),linkText:localStorage.getItem("module_name"),linkPath:"/"+localStorage.getItem("page_name")}])},1),this.getVideos()}getVideos(){this.api_call=!1,this.apiService.post_with_token("Webinar/loadCategorywiseWebiners",{query:this.search,page_no:this.page_no,entries:10,course_id:this.course_id,specialization_id:this.specialization_id,from_date:"",load_more:0}).subscribe(n=>{let r=n.data;0===r.length?this.page_no=-1:this.records=this.records.concat(r),this.api_call=!0},n=>{this.api_call=!0,this.apiService.toastErrorMsg(n)})}searchEnter(t){this.page_no=1,this.records=[],this.getVideos()}back(){window.history.back()}onScroll(){-1!=this.page_no&&(this.page_no+=1,this.getVideos())}}return i.\u0275fac=function(t){return new(t||i)(e.\u0275\u0275directiveInject(S.FF),e.\u0275\u0275directiveInject(j.e),e.\u0275\u0275directiveInject(u.b),e.\u0275\u0275directiveInject(b.s),e.\u0275\u0275directiveInject(d.gz),e.\u0275\u0275directiveInject(d.F0))},i.\u0275cmp=e.\u0275\u0275defineComponent({type:i,selectors:[["app-courses-related-video"]],decls:22,vars:4,consts:[[1,"card-body","p-25s"],[1,"row","mb-1"],[1,"col-12"],["type","button",1,"btn","btn-primary","btn-transparent","custom-btn-1","p-0","back-btn","border-0",3,"click"],[1,"fas","fa-chevron-left"],[1,"row","mb-5"],[1,"col-8"],[1,"bluetxt-clr","pt-4"],[1,"col-4"],[1,"input-icon","seachright"],["type","text","placeholder","Search","id","generalSearch",1,"form-control","form-control-lg","form-control-solid","h-52px",3,"ngModel","ngModelChange"],["cacheSVG","true",1,"svg-icon","svg-icon-lg",3,"inlineSVG","click"],[1,"row","mb-4"],[1,"col-md-12","blogs-display","inner-blog-disp","p-0"],[1,"row"],[1,"col-md-12"],[4,"ngFor","ngForOf"],["class","text-center",4,"ngIf"],[3,"routerLink"],[1,"box-shadows","inner-box-hgt1"],[1,"video-play"],[1,"far","fa-play-circle"],["onerror","this.onerror=null;this.src='/assets/media/default/[email protected]';",1,"thumbnil-style-4","img-fluid","w-100","hgt-auto","border-radius-0",3,"src"],[1,"row","mb-3"],[1,"d-flex","mb-3","p-3"],[1,"d-flex","flex-column","font-weight-bold","w-100"],[1,"text-dark","text-hover-primary","text-left","blogs-title","txt-darkclr","two-line"],[1,"col-12","mt-2"],[1,"small-font","mb-0","txt-darkclr"],[1,"mr-1","ml-1"],[1,"text-center"]],template:function(t,n){1&t&&(e.\u0275\u0275elementStart(0,"div",0),e.\u0275\u0275elementStart(1,"div",1),e.\u0275\u0275elementStart(2,"div",2),e.\u0275\u0275elementStart(3,"button",3),e.\u0275\u0275listener("click",function(){return n.back()}),e.\u0275\u0275element(4,"i",4),e.\u0275\u0275text(5," Back"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"div",5),e.\u0275\u0275elementStart(7,"div",6),e.\u0275\u0275elementStart(8,"h3",7),e.\u0275\u0275text(9,"Related Videos "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"div",8),e.\u0275\u0275elementStart(11,"div",9),e.\u0275\u0275elementStart(12,"input",10),e.\u0275\u0275listener("ngModelChange",function(l){return n.search=l}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"span"),e.\u0275\u0275elementStart(14,"span",11),e.\u0275\u0275listener("click",function(){return n.searchEnter(n.search)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(15,"div",12),e.\u0275\u0275elementStart(16,"div",13),e.\u0275\u0275elementStart(17,"div",14),e.\u0275\u0275elementStart(18,"div",15),e.\u0275\u0275elementStart(19,"ul"),e.\u0275\u0275template(20,ln,21,6,"li",16),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(21,sn,2,0,"h3",17),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()),2&t&&(e.\u0275\u0275advance(12),e.\u0275\u0275property("ngModel",n.search),e.\u0275\u0275advance(2),e.\u0275\u0275property("inlineSVG","./assets/media/svg/icons/General/Search1.svg"),e.\u0275\u0275advance(6),e.\u0275\u0275property("ngForOf",n.records),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",0==n.records.length&&n.api_call))},directives:[o.Fj,o.JJ,o.On,w.d$,g.NgForOf,g.NgIf,d.yS],styles:[""]}),i})();var cn=c(42174);function dn(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"a",23),e.\u0275\u0275elementStart(1,"button",24),e.\u0275\u0275text(2," View Curriculum"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()),2&i){const t=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275propertyInterpolate("href",t.program_link,e.\u0275\u0275sanitizeUrl)}}function pn(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"div",16),e.\u0275\u0275elementStart(1,"div",17),e.\u0275\u0275elementStart(2,"div"),e.\u0275\u0275element(3,"img",18),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"div"),e.\u0275\u0275elementStart(5,"h4",19),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"p",20),e.\u0275\u0275text(8),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"p",21),e.\u0275\u0275text(10),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(11,dn,3,1,"a",22),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()),2&i){const t=a.$implicit;e.\u0275\u0275advance(3),e.\u0275\u0275propertyInterpolate("src",t.univ_logo,e.\u0275\u0275sanitizeUrl),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(t.specialization_name),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(t.unive_name),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1("",t.city+", "+t.state+", "+t.country," "),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",""!=t.program_link)}}let un=(()=>{class i{constructor(t,n,r,l,s){this.modalService=t,this.subheader=n,this.apiService=r,this.activatedRoute=l,this.router=s,this.records=[],this.search="",this.page_no=1,this.api_call=!1,this.course_id=!1,this.specialization_id=!1,this.course_id=this.activatedRoute.snapshot.paramMap.get("course_id"),this.specialization_id=this.activatedRoute.snapshot.paramMap.get("specialization_id"),this.userData=this.apiService.getUserData()}ngOnInit(){setTimeout(()=>{this.subheader.setTitle(localStorage.getItem("module_name")),this.subheader.setBreadcrumbs([{title:localStorage.getItem("module_name"),linkText:localStorage.getItem("module_name"),linkPath:"/"+localStorage.getItem("page_name")}])},1),this.getCurriculum()}getCurriculum(){this.api_call=!1,this.apiService.post_with_token("Careers/getCurriculumListByCourseSpecialization",{course_id:this.course_id,specialization_id:this.specialization_id,start:this.page_no,length:10,search:this.search}).subscribe(n=>{if(this.api_call=!0,n.status){let r=n.data.list;0===r.length?this.page_no=-1:this.records=this.records.concat(r)}},n=>{this.api_call=!0,this.apiService.toastErrorMsg(n)})}searchEnter(t){this.page_no=1,this.records=[],this.getCurriculum()}onScroll(){-1!=this.page_no&&(this.page_no+=1,this.getCurriculum())}back(){window.history.back()}}return i.\u0275fac=function(t){return new(t||i)(e.\u0275\u0275directiveInject(S.FF),e.\u0275\u0275directiveInject(u.b),e.\u0275\u0275directiveInject(b.s),e.\u0275\u0275directiveInject(d.gz),e.\u0275\u0275directiveInject(d.F0))},i.\u0275cmp=e.\u0275\u0275defineComponent({type:i,selectors:[["app-all-curriculum"]],decls:19,vars:5,consts:[[1,"card-body","p-25s"],[1,"row","mb-1"],[1,"col-12"],["type","button",1,"btn","btn-primary","btn-trans
1parent","custom-btn-1","p-0","back-btn","border-0",3,"click"],[1,"fas","fa-chevron-left"],[1,"row","mb-3"],[1,"col-xl-9","col-8"],[1,"bluetxt-clr","pt-3"],[1,"col-xl-3","col-4"],[1,"input-icon","seachright"],["type","text","placeholder","Search","id","generalSearch",1,"form-control","form-control-lg","form-control-solid","h-52px",3,"ngModel","ngModelChange"],["cacheSVG","true",1,"svg-icon","svg-icon-lg",3,"inlineSVG","click"],[1,"row"],[1,"col-md-12","mt-5"],["class","row mb-12",4,"ngFor","ngForOf"],["infiniteScroll","",3,"infiniteScrollDistance","infiniteScrollThrottle","scrolled"],[1,"row","mb-12"],[1,"col-12","d-flex","align-items-center","flex-row","pl-0"],[1,"mr-4","curriculum",3,"src"],[1,"mb-2"],[1,"font-weight-bold","mb-2"],[1,"mb-3"],["target","_blank",3,"href",4,"ngIf"],["target","_blank",3,"href"],["type","button",1,"btn","btn-primary","custom-btn-1","small-btns"]],template:function(t,n){1&t&&(e.\u0275\u0275elementStart(0,"div",0),e.\u0275\u0275elementStart(1,"div",1),e.\u0275\u0275elementStart(2,"div",2),e.\u0275\u0275elementStart(3,"button",3),e.\u0275\u0275listener("click",function(){return n.back()}),e.\u0275\u0275element(4,"i",4),e.\u0275\u0275text(5," Back "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"div",5),e.\u0275\u0275elementStart(7,"div",6),e.\u0275\u0275elementStart(8,"h3",7),e.\u0275\u0275text(9,"Curriculum "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"div",8),e.\u0275\u0275elementStart(11,"div",9),e.\u0275\u0275elementStart(12,"input",10),e.\u0275\u0275listener("ngModelChange",function(l){return n.search=l}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"span"),e.\u0275\u0275elementStart(14,"span",11),e.\u0275\u0275listener("click",function(){return n.searchEnter(n.search)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(15,"div",12),e.\u0275\u0275elementStart(16,"div",13),e.\u0275\u0275template(17,pn,12,5,"div",14),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(18,"div",15),e.\u0275\u0275listener("scrolled",function(){return n.onScroll()}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()),2&t&&(e.\u0275\u0275advance(12),e.\u0275\u0275property("ngModel",n.search),e.\u0275\u0275advance(2),e.\u0275\u0275property("inlineSVG","./assets/media/svg/icons/General/Search1.svg"),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngForOf",n.records),e.\u0275\u0275advance(1),e.\u0275\u0275property("infiniteScrollDistance",2)("infiniteScrollThrottle",50))},directives:[o.Fj,o.JJ,o.On,w.d$,g.NgForOf,C.R,g.NgIf],styles:[".checklist .mat-expansion-panel-header.mat-expanded,.mat-expansion-panel-header{background:rgba(0,0,0,.04)!important}.mentor-course{width:55px;height:55px;-o-object-position:top center;object-position:top center;-o-object-fit:cover;object-fit:cover}.universities-list .mat-expansion-panel-header{height:auto!important;padding-left:15px}.pull-btn-dawn{position:relative;margin-bottom:-58px;z-index:1}.mentor-grid ul li{width:116px!important;margin-right:26px}.mentor-grid ul li{padding-right:0!important;padding-left:0!important}.hgt-fixed{height:116px!important;width:116px!important;-o-object-position:center;object-position:center;-o-object-fit:cover;object-fit:cover}.bookmark-grid ul li{margin-right:30px}@media (max-width: 1700px){.mentor-grid ul li{margin-right:25px}.bookmark-grid ul li{margin-right:15px}}@media (max-width: 1500px){.mentor-grid ul li{margin-right:20px}.bookmark-grid ul li{margin-right:27px}}@media (max-width: 1400px){.mentor-grid ul li{margin-right:12px}.bookmark-grid ul li{margin-right:18px}}@media (max-width: 1300px){.mentor-grid ul li{margin-right:18px}.bookmark-grid ul li{margin-right:27px}}@media (max-width: 1200px){.mentor-grid ul li{margin-right:20px}.bookmark-grid ul li{margin-right:30px}}@media (max-width: 950px){.mentor-grid ul li{margin-right:15px}.bookmark-grid ul li{margin-right:20px}}\n"],encapsulation:2}),i})();var _n=c(11575);let gn=(()=>{class i{constructor(t,n){this.userService=t,this.modalService=n,this.afuConfig={uploadAPI:{url:"https://example-file-upload-api"},hideProgressBar:!0,hideResetBtn:!0,fileNameIndex:!0,replaceTexts:{selectFileBtn:"",resetBtn:"Reset",uploadBtn:"Upload",dragNDropBox:"Drag N Drop",attachPinBtn:"Attach Files...",afterUploadMsg_success:"Successfully Uploaded !",afterUploadMsg_error:"Upload Failed !",sizeLimit:"Size Limit"}},this.user$=this.userService.currentUserSubject.asObservable()}open(t){this.modalService.open(t,{centered:!0,windowClass:"book-appointment"}).result.then(n=>{this.closeResult=`Closed with: ${n}`},n=>{this.closeResult="Dismissed ${this.getDismissReason(reason)}"})}getDismissReason(t){return t===S.If.ESC?"by pressing ESC":t===S.If.BACKDROP_CLICK?"by clicking on a backdrop":"with: ${reason}"}openLarge(t){this.modalService.open(t,{size:"lg",centered:!0,windowClass:"appointment-book"})}openSmall(t){this.modalService.open(t,{size:"sm",centered:!0,windowClass:"appointment-book"})}ngOnInit(){}}return i.\u0275fac=function(t){return new(t||i)(e.\u0275\u0275directiveInject(j.e),e.\u0275\u0275directiveInject(S.FF))},i.\u0275cmp=e.\u0275\u0275defineComponent({type:i,selectors:[["app-profile-card"]],decls:1,vars:0,template:function(t,n){1&t&&e.\u0275\u0275element(0,"app-feedback-support")},directives:[_n.O],styles:['.input-hidden{position:absolute;
1left:-9999px}.smiley-radio img{cursor:pointer}.smiley-radio{position:relative}.smiley-radio:before{content:"";position:absolute;width:80%;height:1px;background:#ccc;top:15px;left:6%}input[type=radio]+label>img{filter:grayscale(100%);width:30px;height:30px;transition:.5s all}input[type=radio]:checked+label>img,input[type=radio]:hover+label>img{filter:grayscale(0);transform:scale(1.3)}.file-uploads{padding:15px 10px 0;height:50px;border-radius:5px;border-bottom:1px solid #E4E6EF;border-left:1px solid #E4E6EF;border-right:1px solid #E4E6EF;margin-top:-5px}.file-uploads .constraints-info,.file-uploads .afu-upload-btn,.file-uploads .padMarg.sizeC,.file-uploads .col-xs-1{display:none}.file-uploads .afu-select-btn{opacity:0}.file-uploads .fas{position:absolute}.file-uploads{position:relative}.file-uploads .row.afu-valid-file{padding-left:40px;margin-top:-25px;padding-right:10px}.textarea-btm-border{border-bottom:0px;resize:none;border-bottom-left-radius:0;border-bottom-right-radius:0}\n'],encapsulation:2}),i})(),hn=(()=>{class i{constructor(t){this.subheader=t}ngOnInit(){setTimeout(()=>{this.subheader.setTitle("Career Counselling"),this.subheader.setBreadcrumbs([{title:"Career Counselling",linkText:"Career Counselling",linkPath:"/career-counselling"}])},1),document.getElementsByTagName("body")[0].classList.remove("hide-topsubheader")}}return i.\u0275fac=function(t){return new(t||i)(e.\u0275\u0275directiveInject(u.b))},i.\u0275cmp=e.\u0275\u0275defineComponent({type:i,selectors:[["app-career-counselling"]],decls:5,vars:0,consts:[[1,"d-flex","flex-row"],["id","kt_profile_aside",1,"flex-row-auto","offcanvas-mobile","w-300px","w-xl-350px"],[1,"flex-row-fluid","ml-lg-8"]],template:function(t,n){1&t&&(e.\u0275\u0275elementStart(0,"div",0),e.\u0275\u0275elementStart(1,"div",1),e.\u0275\u0275element(2,"app-profile-card"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"div",2),e.\u0275\u0275element(4,"router-outlet"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd())},directives:[gn,d.lC],styles:[""]}),i})();var vn=c(12678),fn=c(14973),Sn=c(26504),xn=c(76119),bn=c(47808),Cn=c(25408),En=c(67329),yn=c(21729),In=c(44798),kn=c(19890),wn=c(30289);const Mn=[{path:"",component:hn,children:[{path:"getting-started",component:vn.W},{path:"trending-careers",component:re},{path:"courses-info/:course_id/:specialization_id",component:Wt},{path:"all-curriculum/:course_id/:specialization_id",component:un},{path:"courses-salaries/:course_id/:specialization_id",component:on},{path:"courses-related-article/:course_id/:specialization_id",component:Zt},{path:"article-details/:id",component:xn.T},{path:"courses-related-video/:course_id/:specialization_id",component:mn},{path:"video-details/:id",component:fn.u},{path:"career-search",component:ht},{path:"career-questionnaire",component:$e},{path:"swot-analysis",component:we},{path:"mentor-connect",component:ue},{path:"mentor-details/:discourse_id",component:Ce},{path:"connect-with-counsellor",component:cn.Q},{path:"career-resources",component:me},{path:"career-recommendation",component:pt},{path:"event",component:En.E},{path:"book-webinar/:schedule_id",component:yn.r},{path:"blog",component:In.Q},{path:"alumni-experiences",component:kn.n},{path:"frequently-asked-question",component:bn.v},{path:"chat",component:Sn.m},{path:"appointment",component:Cn.I},{path:"my-appointment",component:wn.V},{path:"all-courses",component:ft},{path:"",redirectTo:"getting-started",pathMatch:"full"},{path:"**",redirectTo:"getting-started",pathMatch:"full"}]}];let Tn=(()=>{class i{}return i.\u0275fac=function(t){return new(t||i)},i.\u0275mod=e.\u0275\u0275defineNgModule({type:i}),i.\u0275inj=e.\u0275\u0275defineInjector({imports:[[d.Bz.forChild(Mn)],d.Bz]}),i})();const On={suppressScrollX:!0};let Fn=(()=>{class i{}return i.\u0275fac=function(t){return new(t||i)},i.\u0275mod=e.\u0275\u0275defineNgModule({type:i}),i.\u0275inj=e.\u0275\u0275defineInjector({providers:[{provide:h.op,useValue:On}],imports:[[g.CommonModule,D.HttpClientModule,J.ot,M.Hi,R.Ps,I.LD,Q.KP,A.FA,T.XK,T.si,v.c,_.To,U.F,F.Nh,L.bB,B.UM,S.IJ,h.Xd,C.X,E.K,o.u5,o.UX,w.vi,y.p9,z.Bb,Tn,p.Q,S.XC,S.HK,V.FF]]}),i})()}}]);
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.