PageSourceSearch

https://convergeapp.co/5311.011d745e5632862b.js

js convergeapp.co collected 2026-10-07 19:40:27 UTC 45,237 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkdemo1_app=self.webpackChunkdemo1_app||[]).push([[5311],{25311:(O,v,o)=>{o.r(v),o.d(v,{GpaCalculatorModule:()=>Pe});var c=o(69808),u=o(74202),e=o(5e3),p=o(29015),_=o(90089),C=o(11575);let g=(()=>{class n{constructor(t,a){this.userService=t,this.modalService=a,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(a=>{this.closeResult=`Closed with: ${a}`},a=>{this.closeResult="Dismissed ${this.getDismissReason(reason)}"})}getDismissReason(t){return t===p.If.ESC?"by pressing ESC":t===p.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 n.\u0275fac=function(t){return new(t||n)(e.\u0275\u0275directiveInject(_.e),e.\u0275\u0275directiveInject(p.FF))},n.\u0275cmp=e.\u0275\u0275defineComponent({type:n,selectors:[["app-profile-card"]],decls:1,vars:0,template:function(t,a){1&t&&e.\u0275\u0275element(0,"app-feedback-support")},directives:[C.O],styles:['.input-hidden{position:absolute;left:-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}
1.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}),n})(),x=(()=>{class n{constructor(){}ngOnInit(){}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.\u0275\u0275defineComponent({type:n,selectors:[["app-gpa-calculator"]],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,a){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:[g,u.lC],styles:[""]}),n})();var V=o(80833),s=o(93075),D=o(66398),G=o(70900),f=o(77030),b=o(69544),N=o(45729);function L(n,i){if(1&n){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"button",26),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const l=e.\u0275\u0275nextContext().$implicit;return e.\u0275\u0275nextContext().deleteGPA(l)}),e.\u0275\u0275element(1,"span",27),e.\u0275\u0275elementEnd()}if(2&n){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275property("disabled",t.submit_form),e.\u0275\u0275advance(1),e.\u0275\u0275property("inlineSVG","./assets/media/svg/icons/General/trash-action-icon.svg")}}const R=function(n){return["/gpa-calculator/edit-gpa-calculations",n]};function B(n,i){if(1&n&&(e.\u0275\u0275elementStart(0,"button",28),e.\u0275\u0275element(1,"span",27),e.\u0275\u0275elementEnd()),2&n){const t=e.\u0275\u0275nextContext().$implicit,a=e.\u0275\u0275nextContext();e.\u0275\u0275property("routerLink",e.\u0275\u0275pureFunction1(3,R,t.gpa_id))("disabled",a.submit_form),e.\u0275\u0275advance(1),e.\u0275\u0275property("inlineSVG","./assets/media/svg/icons/General/edit-action-icon.svg")}}function j(n,i){1&n&&(e.\u0275\u0275elementStart(0,"div",8),e.\u0275\u0275element(1,"hr"),e.\u0275\u0275elementEnd())}function z(n,i){if(1&n&&(e.\u0275\u0275elementStart(0,"div",7),e.\u0275\u0275elementStart(1,"div",8),e.\u0275\u0275elementStart(2,"mat-accordion",9),e.\u0275\u0275elementStart(3,"mat-expansion-panel",10),e.\u0275\u0275elementStart(4,"mat-expansion-panel-header"),e.\u0275\u0275elementStart(5,"mat-panel-title"),e.\u0275\u0275elementStart(6,"div",11),e.\u0275\u0275listener("click",function(a){return a.stopPropagation()}),e.\u0275\u0275elementStart(7,"div",12),e.\u0275\u0275elementStart(8,"div",13),e.\u0275\u0275elementStart(9,"h4",14),e.\u0275\u0275text(10),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"div",15),e.\u0275\u0275template(12,L,2,2,"button",16),e.\u0275\u0275template(13,B,2,5,"button",17),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(14,"div",18),e.\u0275\u0275elementStart(15,"div",7),e.\u0275\u0275elementStart(16,"div",19),e.\u0275\u0275elementStart(17,"p",20),e.\u0275\u0275text(18,"Degree"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(19,"p",21),e.\u0275\u0275text(20),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(21,"div",19),e.\u0275\u0275elementStart(22,"p",20),e.\u0275\u0275text(23,"Institute Name"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(24,"p",21),e.\u0275\u0275text(25),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(26,"div",7),e.\u0275\u0275elementStart(27,"div",19),e.\u0275\u0275elementStart(28,"p",20),e.\u0275\u0275text(29,"Graduation Date"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(30,"p",21),e.\u0275\u0275text(31),e.\u0275\u0275pipe(32,"momentPipe"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(33,"div",19),e.\u0275\u0275elementStart(34,"p",20),e.\u0275\u0275text(35,"Grading Scale"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(36,"p",21),e.\u0275\u0275text(37),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(38,"div",7),e.\u0275\u0275elementStart(39,"div",19),e.\u0275\u0275elementStart(40,"p",20),e.\u0275\u0275text(41,"Highest Score in Class"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(42,"p",21),e.\u0275\u0275text(43),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(44,"div",19),e.\u0275\u0275elementStart(45,"p",20),e.\u0275\u0275text(46,"Number of Students in Class "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(47,"p",21),e.\u0275\u0275text(48),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(49,"div",7),e.\u0275\u0275elementStart(50,"div",19),e.\u0275\u0275elementStart(51,"p",20),e.\u0275\u0275text(52,"Backlogs"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(53,"p",21),e.\u0275\u0275text(54),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(55,"div",22),e.\u0275\u0275elementStart(56,"h4"),e.\u0275\u0275text(57,"Calculated GPA"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(58,"div",8),e.\u0275\u0275elementStart(59,"mat-accordion",9),e.\u0275\u0275elementStart(60,"mat-expansion-panel",10),e.\u0275\u0275elementStart(61,"mat-expansion-panel-header"),e.\u0275\u0275elementStart(62,"mat-panel-title"),e.\u0275\u0275elementStart(63,"div",23),e.\u0275\u0275elementStart(64,"div",12),e.\u0275\u0275elementStart(65,"div",8),e.\u0275\u0275elementStart(66,"h4",14),e.\u0275\u0275text(67),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(68,"div",8),e.\u0275\u0275elementStart(69,"p",24),e.\u0275\u0275text(70),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(71,"div",18),e.\u0275\u0275elementStart(72,"div",7),e.\u0275\u0275elementStart(73,"div",19),e.\u0275\u0275elementStart(74,"p",20),e.\u0275\u0275text(75,"Overall"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(76,"p",21),e.\u0275\u0275text(77),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(78,j,2,0,"div",25),e.\u0275\u0275elementEnd()),2&n){const t=i.$implicit,a=i.last,l=e.\u0275\u0275nextContext();e.\u0275\u0275advance(3),e.\u0275\u0275property("expanded",!0),e.\u0275\u0275advance(7),e.\u0275\u0275textInterpolate(t.edname),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",1==t.action.delete),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",1==t.action.edit),e.\u0275\u0275advance(7),e.\u0275\u0275textInterpolate(t.gpa_selected_course?t.gpa_selected_course:"-"),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(t.gpa_selected_institute?t.gpa_selected_institute:"-"),e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate(t.gpa_month_year_of_graduation?e.\u0275\u0275pipeBind2(32,16,t.gpa_month_year_of_graduation,"MMM YYYY"):"-"),e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate(t.grading_scale_value?t.grading_scale_value:"-"),e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate(t.gpa_overall_highest_score?t.gpa_overall_highest_score:"-"),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(t.gpa_overall_no_students?t.gpa_overall_no_students:"-"),e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate(t.gpa_overall_kts?t.gpa_overall_kts:"-"),e.\u0275\u0275advance(6),e.\u0275\u0275property("expanded",!0),e.\u0275\u0275advance(7),e.\u0275\u0275textInterpolate(t.edname),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(t.gpa_selected_institute?t.gpa_selected_institute:"-"),e.\u0275\u0275advance(7),e.\u0275\u0275textInterpolate(""!==t.finalgparange.overall?l.towDecimals(t.finalgparange.overall):"-"),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",!a)}}const Y=function(){return["../add-gpa"]};let U=(()=>{class n{constructor(t,a,l,r,d,m,I){this.modalService=t,this.userService=a,this.fb=l,this.subheader=r,this.apiService=d,this.activatedRoute=m,this.router=I,this.module_id="",this.machine_name="",this.apiCall=!1,this.submit_form=!1,this.submit_api="",this.dataSource=[],this.userData=this.apiService.getUserData()}ngOnInit(){this.module_id=localStorage.getItem("module_id"),this.machine_name=localStorage.getItem("machine_name"),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.getGpaList()}getGpaList(){let t={student_id:this.userData.id,module_id:this.module_id,user_group:this.userData.user_group};var a=new FormData;
1for(var l in t)""!=t[l]&&a.append(l,"."==t[l]?"":t[l]);this.apiService.post_form_with_token("Gpa/loadGpaList",a).subscribe(r=>{this.apiCall=!0,r.status&&r.data&&r.data.gap_list?(this.dataSource=r.data.gap_list,0==this.dataSource.length&&this.router.navigate(["/gpa-calculator/add-gpa"])):this.router.navigate(["/gpa-calculator/add-gpa"])},r=>{this.router.navigate(["/gpa-calculator/add-gpa"]),this.apiCall=!0,this.apiService.toastErrorMsg(r)})}deleteGPA(t){var a=this;const l={ids:t.id,module_id:this.module_id,student_id:this.userData.id,listingtype:2,user_group:this.userData.user_group};this.modalService.dismissAll();const r=this.modalService.open(V.p,{centered:!0,windowClass:"cancel-popup",size:"sm"});r.componentInstance.title="Delete",r.componentInstance.sub_title="Are you sure you want to delete this GPA?",r.componentInstance.action_btn_name="Delete",r.result.then(d=>{d&&(a.submit_form=!0,null!=a.submit_api&&""!=a.submit_api&&a.submit_api.unsubscribe(),a.submit_api=a.apiService.post_with_token("Gpa/addDegreeCourse",l).subscribe(m=>{a.submit_form=!1,m.status?(a.apiService.toastMsg(m.message,"success"),a.getGpaList()):a.apiService.toastMsg(m.message,"warning")},m=>{a.submit_form=!1,a.apiService.toastErrorMsg(m)}))},d=>{})}towDecimals(t){let a=t;if(t){let l=t.split("to");a=Number(l[0]).toFixed(2)+" to "+Number(l[1]).toFixed(2)}return a}}return n.\u0275fac=function(t){return new(t||n)(e.\u0275\u0275directiveInject(p.FF),e.\u0275\u0275directiveInject(_.e),e.\u0275\u0275directiveInject(s.qu),e.\u0275\u0275directiveInject(D.b),e.\u0275\u0275directiveInject(G.s),e.\u0275\u0275directiveInject(u.gz),e.\u0275\u0275directiveInject(u.F0))},n.\u0275cmp=e.\u0275\u0275defineComponent({type:n,selectors:[["app-gpa-calculator-list"]],decls:9,vars:3,consts:[[1,"card-body","p-25s"],[1,"row","mb-6"],[1,"col-8"],[1,"mb-5","bluetxt-clr"],[1,"col-4","text-right"],["type","button",1,"btn","btn-primary","custom-btn-1",3,"routerLink"],["class","row",4,"ngFor","ngForOf"],[1,"row"],[1,"col-12"],["multi","true"],["hideToggle","",3,"expanded"],[1,"my-panel","w-100",3,"click"],[1,"row","ml-0","align-items-center"],[1,"col-4","d-flex","align-items-center"],[1,"mb-0","title-type"],[1,"col-8","pr-0","text-right"],["type","button","class","btn",3,"disabled","click",4,"ngIf"],["type","button","class","btn pr-0",3,"routerLink","disabled",4,"ngIf"],[1,"mt-5"],[1,"col-6"],[1,"mb-1","main-title"],[1,"sub-title"],[1,"col-12","mb-2"],[1,"my-panel","w-100"],[1,"mb-0","one-line"],["class","col-12",4,"ngIf"],["type","button",1,"btn",3,"disabled","click"],["cacheSVG","true",1,"",3,"inlineSVG"],["type","button",1,"btn","pr-0",3,"routerLink","disabled"]],template:function(t,a){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," GPA Calculator "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"div",4),e.\u0275\u0275elementStart(6,"button",5),e.\u0275\u0275text(7," Add GPA"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(8,z,79,19,"div",6),e.\u0275\u0275elementEnd()),2&t&&(e.\u0275\u0275advance(6),e.\u0275\u0275property("routerLink",e.\u0275\u0275pureFunction0(2,Y)),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngForOf",a.dataSource))},directives:[u.rH,c.NgForOf,f.pp,f.ib,f.yz,f.yK,c.NgIf,b.d$],pipes:[N.d],styles:[".mat-expansion-panel-header[_ngcontent-%COMP%]{background:#e7f2ff!important;padding:0 10px!important;cursor:default!important}.mat-accordion[_ngcontent-%COMP%]   .mat-expansion-panel[_ngcontent-%COMP%]{margin-bottom:15px;box-shadow:none;border:1px solid #e4e6ef}.title-type[_ngcontent-%COMP%]{color:#0c7bfd}.main-title[_ngcontent-%COMP%]{font-size:13px;color:#101828;font-weight:600}.sub-title[_ngcontent-%COMP%]{font-size:13px;color:#979797}"]}),n})();var h=o(15439),$=o(57201),E=o(35498),S=o(21223),T=o(59722),k=o(36838),A=o(59482),y=o(28545),M=o(31279),w=o(51377),H=o(26201);function K(n,i){1&n&&e.\u0275\u0275elementContainer(0)}function J(n,i){1&n&&e.\u0275\u0275elementContainer(0)}function X(n,i){1&n&&e.\u0275\u0275elementContainer(0)}function W(n,i){if(1&n&&(e.\u0275\u0275elementStart(0,"p",45),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&n){const t=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate(t.gpa_description.educational_details)}}
1function Q(n,i){if(1&n&&(e.\u0275\u0275elementStart(0,"div",13),e.\u0275\u0275elementStart(1,"div",42),e.\u0275\u0275elementStart(2,"h4"),e.\u0275\u0275element(3,"span",43),e.\u0275\u0275text(4,"Education Details"),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(5,W,2,1,"p",44),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()),2&n){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(3),e.\u0275\u0275property("inlineSVG","./assets/media/svg/icons/General/gpa-calculator-premium-icon.svg"),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",t.gpa_description)}}function Z(n,i){if(1&n&&(e.\u0275\u0275elementStart(0,"mat-option",46),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&n){const t=i.$implicit;e.\u0275\u0275property("value",t.name),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",t.name," ")}}function q(n,i){1&n&&(e.\u0275\u0275elementStart(0,"mat-error"),e.\u0275\u0275text(1," Please select the Degree "),e.\u0275\u0275elementEnd())}function ee(n,i){if(1&n){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"mat-select-filter",20),e.\u0275\u0275listener("filteredReturn",function(l){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext(2).searchInstitutes=l}),e.\u0275\u0275elementEnd()}if(2&n){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275property("placeholder","Search..")("displayMember","name")("array",t.institutes)}}function te(n,i){if(1&n&&(e.\u0275\u0275elementStart(0,"mat-option",46),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&n){const t=i.$implicit;e.\u0275\u0275property("value",t.name),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",t.name," ")}}function ae(n,i){1&n&&(e.\u0275\u0275elementStart(0,"mat-error"),e.\u0275\u0275text(1," Please select the Institution "),e.\u0275\u0275elementEnd())}function ne(n,i){1&n&&(e.\u0275\u0275elementStart(0,"mat-error"),e.\u0275\u0275text(1," Please select the Graduation Date "),e.\u0275\u0275elementEnd())}function le(n,i){if(1&n&&(e.\u0275\u0275elementStart(0,"mat-option",46),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&n){const t=i.$implicit;e.\u0275\u0275property("value",t.value),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate(t.label)}}function re(n,i){1&n&&(e.\u0275\u0275elementStart(0,"mat-error"),e.\u0275\u0275text(1," Please select the Grading Scale "),e.\u0275\u0275elementEnd())}function oe(n,i){1&n&&(e.\u0275\u0275elementStart(0,"mat-error"),e.\u0275\u0275text(1," Please enter your Average Score "),e.\u0275\u0275elementEnd())}function ie(n,i){if(1&n&&(e.\u0275\u0275elementStart(0,"mat-error"),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&n){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" Average Score must between the selected Grading Scale ",t.grading_scale," ")}}function se(n,i){1&n&&(e.\u0275\u0275elementStart(0,"mat-error"),e.\u0275\u0275text(1," Please enter your Rank "),e.\u0275\u0275elementEnd())}function de(n,i){1&n&&(e.\u0275\u0275elementStart(0,"mat-error"),e.\u0275\u0275text(1," Rank can not be greater than the total number of students "),e.\u0275\u0275elementEnd())}function me(n,i){1&n&&(e.\u0275\u0275elementStart(0,"mat-error"),e.\u0275\u0275text(1," Please enter the Highest Class Score "),e.\u0275\u0275elementEnd())}function pe(n,i){1&n&&(e.\u0275\u0275elementStart(0,"mat-error"),e.\u0275\u0275text(1," Highest Score in Class- can not be lower than the Average Score "),e.\u0275\u0275elementEnd())}function ce(n,i){1&n&&(e.\u0275\u0275elementStart(0,"mat-error"),e.\u0275\u0275text(1," Please enter Total Students in Class "),e.\u0275\u0275elementEnd())}function ue(n,i){1&n&&(e.\u0275\u0275elementStart(0,"mat-error"),e.\u0275\u0275text(1," Please enter your Backlogs "),e.\u0275\u0275elementEnd())}const _e=function(){return{minMode:"month",adaptivePosition:!0,dateInputFormat:"MMM YYYY"}};function ge(n,i){if(1&n){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275template(0,Q,6,2,"div",12),e.\u0275\u0275elementStart(1,"div",13),e.\u0275\u0275elementStart(2,"div",2),e.\u0275\u0275elementStart(3,"form",14),e.\u0275\u0275listener("ngSubmit",function(){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext().formSubmit(1)}),e.\u0275\u0275elementStart(4,"div",15),e.\u0275\u0275elementStart(5,"div",16),e.\u0275\u0275elementStart(6,"div",17),e.\u0275\u0275elementStart(7,"mat-form-field",18),e.\u0275\u0275elementStart(8,"mat-label"),e.\u0275\u0275text(9,"Degree "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"mat-select",19),e.\u0275\u0275elementStart(11,"mat-select-filter",20),e.\u0275\u0275listener("filteredReturn",function(l){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext().degreeSearchList=l}),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(12,Z,2,2,"mat-option",21),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(13,q,2,0,"mat-error",22),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(14,"div",17),e.\u0275\u0275elementStart(15,"mat-form-field",18),e.\u0275\u0275elementStart(16,"mat-label"),e.\u0275\u0275text(17,"Institute Name "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(18,"mat-select",23,24),e.\u0275\u0275template(20,ee,1,3,"mat-select-filter",25),e.\u0275\u0275template(21,te,2,2,"mat-option",21),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(22,ae,2,0,"mat-error",22),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(23,"div",26),e.\u0275\u0275elementStart(24,"div",17),e.\u0275\u0275elementStart(25,"mat-form-field",27),e.\u0275\u0275elementStart(26,"mat-label"),e.\u0275\u0275text(27,"Graduation Date"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(28,"input",28,29),e.\u0275\u0275listener("bsValueChange",function(l){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext().graduationDateCheck(l)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(30,"mat-icon",30),e.\u0275\u0275listener("click",function(){return e.\u0275\u0275restoreView(t),e.\u0275\u0275reference(29).click()}),e.\u0275\u0275text(31,"calendar_today"),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(32,ne,2,0,"mat-error",22),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(33,"div",17),e.\u0275\u0275elementStart(34,"mat-form-field",18),e.\u0275\u0275elementStart(35,"mat-label"),e.\u0275\u0275text(36,"Grading Scale "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(37,"mat-select",31),e.\u0275\u0275listener("ngModelChange",function(){e.\u0275\u0275restoreView(t);const l=e.\u0275\u0275nextContext();return l.addAverageScoreValidation(l.educationalDetailsControl.grading_scale.value)}),e.\u0275\u0275template(38,le,2,2,"mat-option",21),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(39,re,2,0,"mat-error",22),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(40,"div",32),e.\u0275\u0275elementStart(41,"div",26),e.\u0275\u0275elementStart(42,"div",33),e.\u0275\u0275elementStart(43,"h4"),e.\u0275\u0275text(44,"Enter the aggregate score of all your \u201dCompleted\u201d semester"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(45,"div",17),e.\u0275\u0275elementStart(46,"mat-form-field",18),e.\u0275\u0275elementStart(47,"mat-label"),e.\u0275\u0275text(48,"Average Score"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(49,"input",34),e.\u0275\u0275listener("input",function(){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext().addHighestScoreValidation(4)})("keypress",function(l){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext().allowOnlyNumber("number",l)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(50,oe,2,0,"mat-error",22),e.\u0275\u0275template(51,ie,2,1,"mat-error",22),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(52,"div",17),e.\u0275\u0275elementStart(53,"mat-form-field",18),e.\u0275\u0275elementStart(54,"mat-label"),e.\u0275\u0275text(55,"Rank (Approx)"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(56,"input",35),e.\u0275\u0275listener("keydown",function(l){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext().restrictToZero(l)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(57,se,2,0,"mat-error",22),e.\u0275\u0275template(58,de,2,0,"mat-error",22),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(59,"div",26),e.\u0275\u0275elementStart(60,"div",17),e.\u0275\u0275elementStart(61,"mat-form-field",18),e.\u0275\u0275elementStart(62,"mat-label"),e.\u0275\u0275text(63,"Highest Score in class"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(64,"input",36),e.\u0275\u0275listener("keypress",function(l){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext().allowOnlyNumber("number",l)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(65,me,2,0,"mat-error",22),e.\u0275\u0275template(66,pe,2,0,"mat-error",22),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(67,"div",17),e.\u0275\u0275elementStart(68,"mat-form-field",18),e.\u0275\u0275elementStart(69,"mat-label"),e.\u0275\u0275text(70,"Number of students in class"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(71,"input",37),e.\u0275\u0275listener("keydown",function(l){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext().restrictToZero(l)})("input",function(){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext().addRankValidation(4)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(72,ce,2,0,"mat-error",22),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(73,"div",13),e.\u0275\u0275elementStart(74,"div",17),e.\u0275\u0275elementStart(75,"mat-form-field",18),e.\u0275\u0275elementStart(76,"mat-label"),e.\u0275\u0275text(77,"Backlogs"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(78,"input",38),e.\u0275\u0275template(79,ue,2,0,"mat-error",22),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(80,"div",39),e.\u0275\u0275elementStart(81,"div",40),e.\u0275\u0275elementStart(82,"button",41),e.\u0275\u0275text(83,"Submit"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()}if(2&n){const t=e.\u0275\u0275reference(19),a=e.\u0275\u0275nextContext();e.\u0275\u0275property("ngIf",a.gpa_educational_level),e.\u0275\u0275advance(3),e.\u0275\u0275property("formGroup",a.educationDetail
1s),e.\u0275\u0275advance(8),e.\u0275\u0275property("placeholder","Search..")("displayMember","name")("array",a.degreeList),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",a.degreeSearchList),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",a.formSubmitted&&(null==a.educationalDetailsControl.gpa_selected_course.errors?null:a.educationalDetailsControl.gpa_selected_course.errors.required)),e.\u0275\u0275advance(7),e.\u0275\u0275property("ngIf",t.focused),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",a.searchInstitutes),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",a.formSubmitted&&(null==a.educationalDetailsControl.gpa_selected_institute.errors?null:a.educationalDetailsControl.gpa_selected_institute.errors.required)),e.\u0275\u0275advance(6),e.\u0275\u0275property("readonly",!0)("bsConfig",e.\u0275\u0275pureFunction0(26,_e)),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngIf",a.formSubmitted&&(null==a.educationalDetailsControl.gpa_month_year_of_graduation.errors?null:a.educationalDetailsControl.gpa_month_year_of_graduation.errors.required)),e.\u0275\u0275advance(6),e.\u0275\u0275property("ngForOf",a.grades.search),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",a.formSubmitted&&(null==a.educationalDetailsControl.grading_scale.errors?null:a.educationalDetailsControl.grading_scale.errors.required)),e.\u0275\u0275advance(10),e.\u0275\u0275property("min",0),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",a.formSubmitted&&(null==a.educationalDetailsControl.gpa_overall_avg_score.errors?null:a.educationalDetailsControl.gpa_overall_avg_score.errors.required)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",a.formSubmitted&&((null==a.educationalDetailsControl.gpa_overall_avg_score.errors?null:a.educationalDetailsControl.gpa_overall_avg_score.errors.min)||(null==a.educationalDetailsControl.gpa_overall_avg_score.errors?null:a.educationalDetailsControl.gpa_overall_avg_score.errors.max))),e.\u0275\u0275advance(6),e.\u0275\u0275property("ngIf",a.formSubmitted&&(null==a.educationalDetailsControl.gpa_overall_rank.errors?null:a.educationalDetailsControl.gpa_overall_rank.errors.required)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",a.formSubmitted&&(null==a.educationalDetailsControl.gpa_overall_rank.errors?null:a.educationalDetailsControl.gpa_overall_rank.errors.max)),e.\u0275\u0275advance(6),e.\u0275\u0275property("min",0),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",a.formSubmitted&&(null==a.educationalDetailsControl.gpa_overall_highest_score.errors?null:a.educationalDetailsControl.gpa_overall_highest_score.errors.required)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",a.formSubmitted&&(null==a.educationalDetailsControl.gpa_overall_highest_score.errors?null:a.educationalDetailsControl.gpa_overall_highest_score.errors.min)),e.\u0275\u0275advance(6),e.\u0275\u0275property("ngIf",a.formSubmitted&&(null==a.educationalDetailsControl.gpa_overall_no_students.errors?null:a.educationalDetailsControl.gpa_overall_no_students.errors.required)),e.\u0275\u0275advance(7),e.\u0275\u0275property("ngIf",a.formSubmitted&&(null==a.educationalDetailsControl.gpa_overall_kts.errors?null:a.educationalDetailsControl.gpa_overall_kts.errors.required)),e.\u0275\u0275advance(3),e.\u0275\u0275property("disabled",a.submit_form)}}let P=(()=>{class n{constructor(t,a,l,r,d,m,I,Fe){this.modalService=t,this.userService=a,this.fb=l,this.subheader=r,this.apiService=d,this.activatedRoute=m,this.router=I,this.moengageService=Fe,this.formSubmitted=!1,this.form_step=1,this.gpa_educational_level="",this.gpa_id="",this.module_id="",this.machine_name="",this.degreeList=[],this.degreeSearchList=[],this.institutes=[],this.searchInstitutes=[],this.grades={data:[],search:[]},this.start=new Date((new Date).getFullYear(),(new Date).getMonth()-1,(new Date).getDate()),this.select_tab_index=0,this.not_saved=0,this.grading_scale="",this.submit_form=!1,this.submit_api="",this.is_hide=!1,this.edit=!1,this.userData=this.apiService.getUserData(),this.activatedRoute.snapshot.paramMap.get("id")&&(this.gpa_id=this.activatedRoute.snapshot.paramMap.get("id"))}ngOnInit(){this.module_id=localStorage.getItem("module_id"),this.machine_name=localStorage.getItem("machine_name"),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.getInstitutes(),this.getGradingScale(),this.activatedRoute.snapshot.paramMap.get("id")?this.getGpaDetails():(this.selectType({selectedIndex:0,tab:{ariaLabel:"Diploma"}}),this.moengageService.updateData("Module Tab Clicked",{TabName:"GPA Calculator",selectTab:"Diploma"}))}selectType(t){this.select_tab_index=t.index,0==this.select_tab_index&&this.moengageService.updateData("Module Tab Clicked",{TabName:"GPA Calculator",selectTab:"Diploma"}),1==this.select_tab_index&&this.moengageService.updateData("Module Tab Clicked",{TabName:"GPA Calculator",selectTab:"Bachelors"}),2==this.select_tab_index&&this.moengageService.updateData("Module Tab Clicked",{TabName:"GPA Calculator",selectTab:"Masters"}),this.formSubmitted=!1,this.gpa_educational_level=t.tab.ariaLabel,this.edit?this.edit=!1:(this.resetForm(),this.getDegrees(t.tab.ariaLabel))}getDegrees(t){let a=new FormData;a.append("user_group",this.userData.user_group),a.append("qualification",t),this.apiService.post_form_with_token("Profile/getQualification",a).subscribe(l=>{this.degreeList=l.data,this.degreeSearchList=l.data})}getInstitutes(){let t=new FormData;t.append("user_group",this.userData.user_group),this.apiService.post_form_with_token("Profile/getInstitution",t).subscribe(a=>{this.institutes=a.data,this.searchInstitutes=a.data})}getGradingScale(){let t=new FormData;t.append("user_group",this.userData.user_group),this.apiService.get("Gpa/getScales",t).subscribe(a=>{this.grades.data=a.data,this.grades.search=a.data,this.gpa_description=a.gpa_description})}getGpaDetails(){this.not_saved=0,this.apiService.post_with_token("Gpa/getAllEducational",{student_id:this.userData.id,module_id:this.module_id,user_group:this.userData.user_group,educationalids:this.gpa_id}).subscribe(a=>
1{a.status&&(this.applicationDetails=a.data,this.gpa_educational_level=a.data.gpa_selected_educational_level?a.data.gpa_selected_educational_level:"","Diploma"==this.gpa_educational_level?this.select_tab_index=0:"Bachelors"==this.gpa_educational_level?this.select_tab_index=1:"Masters"==this.gpa_educational_level&&(this.select_tab_index=2),this.edit=!0,this.applyDefaultValue())},a=>{this.apiService.toastErrorMsg(a)})}applyDefaultValue(){if(this.applicationDetails){const t=this.applicationDetails;this.gpa_educational_level=t.gpa_selected_educational_level?t.gpa_selected_educational_level:"",this.getDegrees(this.gpa_educational_level),this.applicationDetails.gpa_selected_institute&&this.educationDetails.patchValue({gpa_selected_course:t.gpa_selected_course?t.gpa_selected_course:"",gpa_selected_institute:t.gpa_selected_institute?t.gpa_selected_institute:"",gpa_month_year_of_graduation:t.gpa_month_year_of_graduation?new Date(t.gpa_month_year_of_graduation):"",grading_scale:t.grading_scale?parseInt(t.grading_scale):""}),this.applicationDetails.gpa_overall_avg_score&&this.educationDetails.patchValue({gpa_overall_avg_score:t.gpa_overall_avg_score?t.gpa_overall_avg_score:"",gpa_overall_rank:t.gpa_overall_rank?t.gpa_overall_rank:"",gpa_overall_highest_score:t.gpa_overall_highest_score?t.gpa_overall_highest_score:"",gpa_overall_no_students:t.gpa_overall_no_students?t.gpa_overall_no_students:"",gpa_overall_kts:t.gpa_overall_kts?t.gpa_overall_kts:"",gpa_overall_remarks:t.gpa_overall_remarks?t.gpa_overall_remarks:""})}}resetForm(){this.educationDetails=this.fb.group({gpa_selected_course:["",[s.kI.required]],gpa_selected_institute:["",[s.kI.required]],gpa_month_year_of_graduation:["",[s.kI.required]],grading_scale:["",[s.kI.required]],gpa_overall_avg_score:["",[s.kI.required]],gpa_overall_rank:["",[s.kI.required]],gpa_overall_highest_score:["",[s.kI.required]],gpa_overall_no_students:["",[s.kI.required]],gpa_overall_kts:[""],gpa_overall_remarks:[""]})}get educationalDetailsControl(){return this.educationDetails.controls}addAverageScoreValidation(t){let a=this.grades.data.find(l=>l.value==t);if(a){this.grading_scale=a.label;let l=a.label;l=l.split("-");let r=parseInt(l[0]),d=parseInt(l[1]);this.educationDetails.get("gpa_overall_avg_score").setValidators([s.kI.required,s.kI.min(r),s.kI.max(d)])}else this.educationDetails.get("gpa_overall_avg_score").setValidators(null),this.educationDetails.get("gpa_overall_avg_score").setErrors(null)}addHighestScoreValidation(t){const a=JSON.parse(JSON.stringify(this.educationDetails.value)),l=parseInt(a.gpa_overall_avg_score);this.educationDetails.get("gpa_overall_highest_score").setValidators([s.kI.required,s.kI.min(l)])}addRankValidation(t){const a=JSON.parse(JSON.stringify(this.educationDetails.value)),l=parseInt(a.gpa_overall_no_students);this.educationDetails.get("gpa_overall_rank").setValidators([s.kI.required,s.kI.max(l)]),this.educationDetails.get("gpa_overall_rank").updateValueAndValidity()}formSubmit(t){if(this.formSubmitted=!1,this.form_step=t,this.educationDetails.invalid)return this.formSubmitted=!0,!1;this.add()}add(){let t={gpa_educational_level:this.gpa_educational_level,student_id:this.userData.id,module_id:this.module_id,user_group:this.userData.user_group,gpa_id:this.gpa_id};""==this.gpa_id&&delete t.gpa_id;let a,l=JSON.parse(JSON.stringify(this.educationDetails.value));l.gpa_month_year_of_graduation&&(l.gpa_month_year_of_graduation=h(l.gpa_month_year_of_graduation).format("YYYY/MM/DD")),a=Object.assign(t,l),this.submit_form=!0,null!=this.submit_api&&""!=this.submit_api&&this.submit_api.unsubscribe(),this.submit_api=this.apiService.post_with_token("Gpa/addGpaCalculation",a).subscribe(r=>{this.submit_form=!1,r.status?(this.not_saved=0,console.log(t.gpa_id),this.moengageService.updateData(null==t.gpa_id?"GPA Score Submitted":"GPA Score Updated",{}),this.apiService.toastMsg(r.message,"success"),this.router.navigate(["/gpa-calculator/gpa-calculator-list"])):this.apiService.toastMsg(r.message,"error")},r=>{this.submit_form=!1,this.apiService.toastErrorMsg(r)})}allowOnlyNumber(t,a){if("number"==t){var l=a.which?a.which:a.keyCode;if(l>31&&(l<48||l>57)&&46!=l)return!1;var r=a.target.value.length,d=a.target.value.indexOf(".");if(d>0&&46==l)return!1;if(d>0&&r+1-d>3)return!1}}
1restrictCharacters(t,a){let r;a||(a=window.event),a.keyCode?r=a.keyCode:a.which&&(r=a.which);let d=String.fromCharCode(r);return 27!=r&&(a.ctrlKey||9==r||8==r||36==r||37==r||38==r||39==r&&(39!=r||"'"!=d)||40==r?void 0:!!d.match(/[0-9\.]/g))}blockSpecialCharacters(t){let a=t.key,l=a.charCodeAt(0);return(l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122)&&a}restrictToZero(t){0===t.target.value.length&&"0"===t.key&&t.preventDefault()}goBack(){window.history.back()}graduationDateCheck(t){if(t){var a=t;this.is_hide=!!h(a).isSame(h(),"month")||!!h(a).isBefore(h(),"month")}}}return n.\u0275fac=function(t){return new(t||n)(e.\u0275\u0275directiveInject(p.FF),e.\u0275\u0275directiveInject(_.e),e.\u0275\u0275directiveInject(s.qu),e.\u0275\u0275directiveInject(D.b),e.\u0275\u0275directiveInject(G.s),e.\u0275\u0275directiveInject(u.gz),e.\u0275\u0275directiveInject(u.F0),e.\u0275\u0275directiveInject($._))},n.\u0275cmp=e.\u0275\u0275defineComponent({type:n,selectors:[["app-add-gpa-calculator"]],decls:22,vars:5,consts:[[1,"card-body","p-25s"],[1,"row","mb-3"],[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,"mb-5","bluetxt-clr"],["animationDuration","0ms",3,"selectedIndex","selectedIndexChange","selectedTabChange"],["label","Diploma","aria-label","Diploma"],[4,"ngTemplateOutlet"],["label","Bachelors","aria-label","Bachelors"],["label","Masters","aria-label","Masters"],["tabContent",""],["class","row",4,"ngIf"],[1,"row"],["autocomplete","off",3,"formGroup","ngSubmit"],[1,"mt-6"],[1,"row","mt-3","mb-5"],[1,"col-md-6"],["appearance","outline",1,"example-full-width"],["formControlName","gpa_selected_course"],[3,"placeholder","displayMember","array","filteredReturn"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],["formControlName","gpa_selected_institute"],["institutionselect1",""],[3,"placeholder","displayMember","array","filteredReturn",4,"ngIf"],[1,"row","mb-5"],["appearance","outline",1,"example-full-width","gpa-score-date"],["matInput","","formControlName","gpa_month_year_of_graduation","placeholder","Select Graduation Date","bsDatepicker","",3,"readonly","bsConfig","bsValueChange"],["myInput",""],["matSuffix","",3,"click"],["formControlName","grading_scale",3,"ngModelChange"],[1,"mt-5"],[1,"col-12","mb-6"],["matInput","","placeholder","Average Score","formControlName","gpa_overall_avg_score","type","number",3,"min","input","keypress"],["matInput","","formControlName","gpa_overall_rank","min","1","step","1","type","number","onkeypress","return event.charCode >= 48 && event.charCode <= 57",3,"keydown"],["matInput","","placeholder","Highest Score in class","formControlName","gpa_overall_highest_score","type","number",3,"min","keypress"],["matInput","","formControlName","gpa_overall_no_students","min","1","step","1","type","number","onkeypress","return event.charCode >= 48 && event.charCode <= 57",3,"keydown","input"],["matInput","","placeholder","Backlogs","formControlName","gpa_overall_kts","min","0","step","1","type","number","onkeypress","return event.charCode >= 48 && event.charCode <= 57"],[1,"row","mt-9"],[1,"col-12","text-right"],["mat-button","","type","submit",1,"btn","btn-primary","custom-btn-1","wdth-150",3,"disabled"],[1,"col-12","mb-2","desc_details_section"],["cacheSVG","true",1,"mr-2",3,"inlineSVG"],["class","mb-0",4,"ngIf"],[1,"mb-0"],[3,"value"]],template:function(t,a){if(1&t&&(e.\u0275\u0275elementStart(0,"div",0),e.\u0275\u0275elementStart(1,"div"),e.\u0275\u0275elementStart(2,"div",1),e.\u0275\u0275elementStart(3,"div",2),e.\u0275\u0275elementStart(4,"button",3),e.\u0275\u0275listener("click",function(){return a.goBack()}),e.\u0275\u0275element(5,"i",4),e.\u0275\u0275text(6," Back "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"div",1),e.\u0275\u0275elementStart(8,"div",2),e.\u0275\u0275elementStart(9,"h3",5),e.\u0275\u0275text(10),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"div",1),e.\u0275\u0275elementStart(12,"div",2),e.\u0275\u0275elementStart(13,"mat-tab-group",6),e.\u0275\u0275listener("selectedIndexChange",function(r){return a.select_tab_index=r})("selectedTabChange",function(r){return a.selectType(r)}),e.\u0275\u0275elementStart(14,"mat-tab",7),e.\u0275\u0275template(15,K,1,0,"ng-container",8),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(16,"mat-tab",9),e.\u0275\u0275template(17,J,1,0,"ng-container",8),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(18,"mat-tab",10),e.\u0275\u0275template(19,X,1,0,"ng-container",8),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(20,ge,84,27,"ng-template",null,11,e.\u0275\u0275templateRefExtractor),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()),2&t){const l=e.\u0275\u0275reference(21);e.\u0275\u0275advance(10),e.\u0275\u0275textInterpolate1("",a.gpa_id?"Edit":"Add"," GPA Calculator"),e.\u0275\u0275advance(3),e.\u0275\u0275property("selectedIndex",a.select_tab_index),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngTemplateOutlet",l),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngTemplateOutlet",l),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngTemplateOutlet",l)}},directives:[E.SP,E.uX,c.NgTemplateOutlet,c.NgIf,s._Y,s.JL,s.sg,S.KE,S.hX,T.gD,s.JJ,s.u,k.Fq,c.NgForOf,A.Nt,s.Fj,y.Y5,y.Np,M.Hw,S.R9,s.wV,s.qQ,w.lW,b.d$,H.ey,S.TO],styles:[".mat-form-field-should-float .mat-form-field-label-wrapper{top:-1.1em!important}  .mat-form-field-label-wrapper{top:-1em!important}.desc_details_section[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-left:30px}  .mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{font-size:18px!important;padding-left:20px;color:#a3a4a7;font-weight:400}  .mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label mat-label{background:#FFFFFF}  .mat-form-field-empty.mat-form-field-label{padding-left:20px;color:#a3a4a7;font-weight:400}  .mat-form-field-appearance-outline .mat-form-field-infix{padding-left:16px}.mat-input-element[_ngcontent-%COMP%]{font-size:13px}  .mat-select-value{font-size:13px}.material-icons[_ngcontent-%COMP%]{font-size:15px!important;color:#a3a4a7}input[matinput][_ngcontent-%COMP%]::-webkit-outer-spin-button, input[matinput][_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[matinput][type=number][_ngcontent-%COMP%]{-moz-appearance:textfield}"]}),n})();const fe=[{path:"",component:x,children:[{path:"gpa-calculator-list",component:U},{path:"add-gpa",component:P},{path:"edit-gpa-calculations/:id",component:P},{path:"",redirectTo:"lor-getting-started",pathMatch:"full"},{path:"**",redirectTo:"lor-getting-started",pathMatch:"full"}]}];let he=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.\u0275\u0275defineNgModule({type:n}),n.\u0275inj=e.\u0275\u0275defineInjector({imports:[[u.Bz.forChild(fe)],u.Bz]}),n})();var F=o(93680),ve=o(31748),Se=o(40520),Ce=o(50282),xe=o(75226),be=o(37694),Ee=o(22079),ye=o(27021),Ie=o(94823),De=o(51149),Ge=o(83482),Te=o(98017),ke=o(22579),Ae=o(36280),Me=o(76554);const we={suppressScrollX:!0};let Pe=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.\u0275\u0275defineNgModule({type:n}),n.\u0275inj=e.\u0275\u0275defineInjector({providers:[{provide:F.op,useValue:we}],imports:[[c.CommonModule,he,ve.K,Se.HttpClientModule,Ce.fA,w.ot,T.LD,xe.KP,A.c,be.T5,f.To,Ee.F,ye.FA,Ie.bB,E.Nh,p.IJ,F.Xd,M.Ps,De.p0,s.u5,s.UX,b.vi,Ge.p9,Te.Bb,ke.TU,Ae.Q,p.XC,p.HK,k.FF,Me.X,y.kn]]}),n})()},45729:(O,v,o)=>{o.d(v,{d:()=>p});var c=o(15439),e=o(5e3);let p=(()=>{class _{constructor(){}transform(g,x){return c(g).format(x)}}return _.\u0275fac=function(g){return new(g||_)},_.\u0275pipe=e.\u0275\u0275definePipe({name:"momentPipe",type:_,pure:!1}),_})()}}]);

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.