{"version":3,"sources":["webpack:///./src/$_lazy_route_resource lazy namespace object","webpack:///./src/app/app.component.html","webpack:///./src/app/app.component.scss","webpack:///./src/app/app.component.ts","webpack:///./src/app/app.module.ts","webpack:///./src/app/components/background-question/background-question.component.html","webpack:///./src/app/components/background-question/background-question.component.scss","webpack:///./src/app/components/background-question/background-question.component.ts","webpack:///./src/app/components/competency-question/competency-question.component.html","webpack:///./src/app/components/competency-question/competency-question.component.scss","webpack:///./src/app/components/competency-question/competency-question.component.ts","webpack:///./src/app/components/job-description/job-description.component.html","webpack:///./src/app/components/job-description/job-description.component.scss","webpack:///./src/app/components/job-description/job-description.component.ts","webpack:///./src/app/components/navigation/navigation.component.html","webpack:///./src/app/components/navigation/navigation.component.scss","webpack:///./src/app/components/navigation/navigation.component.ts","webpack:///./src/app/components/profile/applicant-language/applicant-language.component.html","webpack:///./src/app/components/profile/applicant-language/applicant-language.component.scss","webpack:///./src/app/components/profile/applicant-language/applicant-language.component.ts","webpack:///./src/app/components/profile/certification/certification.component.html","webpack:///./src/app/components/profile/certification/certification.component.scss","webpack:///./src/app/components/profile/certification/certification.component.ts","webpack:///./src/app/components/profile/qualification/qualification.component.html","webpack:///./src/app/components/profile/qualification/qualification.component.scss","webpack:///./src/app/components/profile/qualification/qualification.component.ts","webpack:///./src/app/components/profile/reference/reference.component.html","webpack:///./src/app/components/profile/reference/reference.component.scss","webpack:///./src/app/components/profile/reference/reference.component.ts","webpack:///./src/app/components/profile/work-history/work-history.component.html","webpack:///./src/app/components/profile/work-history/work-history.component.scss","webpack:///./src/app/components/profile/work-history/work-history.component.ts","webpack:///./src/app/components/slide-panel/slide-panel.component.html","webpack:///./src/app/components/slide-panel/slide-panel.component.scss","webpack:///./src/app/components/slide-panel/slide-panel.component.ts","webpack:///./src/app/components/toolbar/toolbar.component.html","webpack:///./src/app/components/toolbar/toolbar.component.scss","webpack:///./src/app/components/toolbar/toolbar.component.ts","webpack:///./src/app/containers/edit-profile/edit-profile.component.html","webpack:///./src/app/containers/edit-profile/edit-profile.component.scss","webpack:///./src/app/containers/edit-profile/edit-profile.component.ts","webpack:///./src/app/containers/job-application/job-application.component.html","webpack:///./src/app/containers/job-application/job-application.component.scss","webpack:///./src/app/containers/job-application/job-application.component.ts","webpack:///./src/app/containers/job-vacancies/job-vacancies.component.html","webpack:///./src/app/containers/job-vacancies/job-vacancies.component.scss","webpack:///./src/app/containers/job-vacancies/job-vacancies.component.ts","webpack:///./src/app/containers/log-in/log-in.component.html","webpack:///./src/app/containers/log-in/log-in.component.scss","webpack:///./src/app/containers/log-in/log-in.component.ts","webpack:///./src/app/containers/log-out/log-out.component.html","webpack:///./src/app/containers/log-out/log-out.component.scss","webpack:///./src/app/containers/log-out/log-out.component.ts","webpack:///./src/app/containers/previous-applications/previous-applications.component.html","webpack:///./src/app/containers/previous-applications/previous-applications.component.scss","webpack:///./src/app/containers/previous-applications/previous-applications.component.ts","webpack:///./src/app/containers/profile/profile.component.html","webpack:///./src/app/containers/profile/profile.component.scss","webpack:///./src/app/containers/profile/profile.component.ts","webpack:///./src/app/containers/register/register.component.html","webpack:///./src/app/containers/register/register.component.scss","webpack:///./src/app/containers/register/register.component.ts","webpack:///./src/app/functions/only-unique.function.ts","webpack:///./src/app/guards/is-authenticated.guard.ts","webpack:///./src/app/guards/job-application-resolver/job-application-resolver.service.ts","webpack:///./src/app/guards/redirect.guard.ts","webpack:///./src/app/guards/web-accounts-redirect.guard.ts","webpack:///./src/app/models/Answer.model.ts","webpack:///./src/app/models/applicant-language.model.ts","webpack:///./src/app/models/applicant-profile.model.ts","webpack:///./src/app/models/application.model.ts","webpack:///./src/app/models/certification.model.ts","webpack:///./src/app/models/criteria-results.model.ts","webpack:///./src/app/models/file-base.model.ts","webpack:///./src/app/models/job-vacancy.model.ts","webpack:///./src/app/models/qualification-model.ts","webpack:///./src/app/models/reference.model.ts","webpack:///./src/app/models/work-history.model.ts","webpack:///./src/app/modules/app-components.module.ts","webpack:///./src/app/modules/app-controls.module.ts","webpack:///./src/app/modules/app-routing.module.ts","webpack:///./src/app/modules/app-services.module.ts","webpack:///./src/app/services/api/api.service.ts","webpack:///./src/app/services/applicant-language/applicant-language.service.ts","webpack:///./src/app/services/applicant-profile/applicant-profile.service.ts","webpack:///./src/app/services/application/application.service.ts","webpack:///./src/app/services/auth/web-accounts.service.ts","webpack:///./src/app/services/certification/certification.service.ts","webpack:///./src/app/services/graph/graph.service.ts","webpack:///./src/app/services/job-vacancies/job-vacancies.service.ts","webpack:///./src/app/services/job-vacancy-criteria/job-vacancy-criteria.service.ts","webpack:///./src/app/services/navigation/navigation.service.ts","webpack:///./src/app/services/profile/profile.service.ts","webpack:///./src/app/services/qualification/qualification.service.ts","webpack:///./src/app/services/reference/reference.service.ts","webpack:///./src/app/services/selected-.Job/selected-job-service.service.ts","webpack:///./src/app/services/sharepoint-listdata/sp-list-data.service.ts","webpack:///./src/app/services/sp-list-data/sp-list-data.service.ts","webpack:///./src/app/services/spinner/spinner.service.ts","webpack:///./src/app/services/work-history/work-history.service.ts","webpack:///./src/environments/environment.ts","webpack:///./src/main.ts"],"names":[],"mappings":";;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA,4CAA4C,WAAW;AACvD;AACA;AACA,4E;;;;;;;;;;;ACZA,+CAA+C,mCAAmC,kDAAkD,sBAAsB,+BAA+B,OAAO,iL;;;;;;;;;;;ACAhM,kCAAkC,8BAA8B,EAAE,iBAAiB,uBAAuB,WAAW,YAAY,cAAc,aAAa,iBAAiB,uBAAuB,mBAAmB,yCAAyC,iBAAiB,uBAAuB,WAAW,YAAY,cAAc,aAAa,iBAAiB,0CAA0C,mBAAmB,EAAE,+CAA+C,utC;;;;;;;;;;;;;;;;;ACA/a;AAO1C;IAAA;IACA,CAAC;IADY,YAAY;QALxB,+DAAS,CAAC;YACT,QAAQ,EAAE,UAAU;YACpB,yFAAmC;;SAEpC,CAAC;OACW,YAAY,CACxB;IAAD,mBAAC;CAAA;AADwB;;;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kB,GAAG,kBAAkB,CAAC;YAChD,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;SAC5C;IACH,CAAC;IAEM,0CAAa,GAApB,UAAqB,EAAmB;QACtC,OAAO,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;IAC1C,CAAC;IAlBU,kBAAkB;QAH9B,gEAAU,CAAC;YACV,UAAU,EAAE,MAAM;SACnB,CAAC;+EAMe,2DAAU;OALd,kBAAkB,CAmB9B;IAAD,yBAAC;CAAA;AAnB8B;;;;;;;;;;;;;ACR/B;AAAA;AAAO,IAAM,WAAW,GAAG;IACzB,UAAU,EAAE,KAAK;IACjB,cAAc,EAAE;QACd,QAAQ,EAAE,sCAAsC;QAChD,QAAQ,EAAE,QAAQ;QAClB,WAAW,EAAE,6BAA6B;KAC3C;IACD,KAAK,EAAE;QACL,MAAM,EAAE;YACN,WAAW;SACZ;QACD,GAAG,EAAE,mCAAmC;KACzC;IACD,GAAG,EAAE;QACH,MAAM,EAAE;YACN,8DAA8D;SAC/D;QACD,OAAO,EAAE,OAAO;KACjB;CACF,CAAC;;;;;;;;;;;;;ACnBF;AAAA;AAAA;AAAA;AAAA;AAA+C;AAC4B;AAE9B;AACY;AAEzD,IAAI,qEAAW,CAAC,UAAU,EAAE;IAC1B,oEAAc,EAAE,CAAC;CAClB;AAED,gGAAsB,EAAE,CAAC,eAAe,CAAC,yDAAS,CAAC;KAChD,KAAK,CAAC,aAAG,IAAI,cAAO,CAAC,KAAK,CAAC,GAAG,CAAC,EAAlB,CAAkB,CAAC,CAAC","file":"main.js","sourcesContent":["function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = \"./src/$$_lazy_route_resource lazy recursive\";","module.exports = \"\\r\\n\\r\\n\\r\\n
\\r\\n\\r\\n\"","module.exports = \"app-navigation {\\n height: calc(100% - 64px); }\\n\\nmat-spinner {\\n position: absolute;\\n top: 0;\\n left: 0;\\n bottom: 0;\\n right: 0;\\n margin: auto;\\n visibility: hidden;\\n z-index: 20000;\\n /* dialog window is z-index 1000 */ }\\n\\n.lockScreen {\\n position: absolute;\\n top: 0;\\n left: 0;\\n bottom: 0;\\n right: 0;\\n margin: auto;\\n background: rgba(255, 255, 255, 0.25);\\n z-index: 19999; }\\n\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvQzpcXFVzZXJzXFxTaW1vbkNvd2dpbGxcXHNvdXJjZVxcSU1PXFxpbW8tYXBwbGljYW50LXRyYWNraW5nLXN5c3RlbS13ZmVcXFRlc3RXZWJBY2NvdW50c1xcQ2xpZW50QXBwL3NyY1xcYXBwXFxhcHAuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDRSx5QkFBeUIsRUFBQTs7QUFHM0I7RUFDRSxrQkFBa0I7RUFDbEIsTUFBTTtFQUFFLE9BQU87RUFBRSxTQUFTO0VBQUUsUUFBUTtFQUNwQyxZQUFZO0VBQ1osa0JBQWtCO0VBQ2xCLGNBQWM7RUFBRSxrQ0FBQSxFQUFtQzs7QUFHckQ7RUFDRSxrQkFBa0I7RUFDbEIsTUFBTTtFQUNOLE9BQU87RUFDUCxTQUFTO0VBQ1QsUUFBUTtFQUNSLFlBQVk7RUFDWixxQ0FBcUM7RUFDckMsY0FBYyxFQUFBIiwiZmlsZSI6InNyYy9hcHAvYXBwLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiYXBwLW5hdmlnYXRpb24ge1xyXG4gIGhlaWdodDogY2FsYygxMDAlIC0gNjRweCk7XHJcbn1cclxuXHJcbm1hdC1zcGlubmVyIHtcclxuICBwb3NpdGlvbjogYWJzb2x1dGU7IFxyXG4gIHRvcDogMDsgbGVmdDogMDsgYm90dG9tOiAwOyByaWdodDogMDtcclxuICBtYXJnaW46IGF1dG87XHJcbiAgdmlzaWJpbGl0eTogaGlkZGVuO1xyXG4gIHotaW5kZXg6IDIwMDAwOyAvKiBkaWFsb2cgd2luZG93IGlzIHotaW5kZXggMTAwMCAqL1xyXG59XHJcblxyXG4ubG9ja1NjcmVlbiB7XHJcbiAgcG9zaXRpb246IGFic29sdXRlO1xyXG4gIHRvcDogMDtcclxuICBsZWZ0OiAwO1xyXG4gIGJvdHRvbTogMDtcclxuICByaWdodDogMDtcclxuICBtYXJnaW46IGF1dG87XHJcbiAgYmFja2dyb3VuZDogcmdiYSgyNTUsIDI1NSwgMjU1LCAwLjI1KTtcclxuICB6LWluZGV4OiAxOTk5OTtcclxufSJdfQ== */\"","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-root',\r\n templateUrl: './app.component.html',\r\n styleUrls: ['./app.component.scss']\r\n})\r\nexport class AppComponent {\r\n}\r\n","import { BrowserModule } from '@angular/platform-browser';\r\nimport { NgModule } from '@angular/core';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\n\r\nimport { AppRoutingModule } from './modules/app-routing.module';\r\nimport { AppComponent } from './app.component';\r\n\r\nimport { environment } from 'src/environments/environment';\r\nimport { MsalModule } from '@azure/msal-angular';\r\nimport { AppServicesModule } from 'src/app/modules/app-services.module';\r\nimport { AppComponentsModule } from 'src/app/modules/app-components.module';\r\nimport { MAT_DATE_LOCALE } from '@angular/material';\r\nimport { RegisterComponent } from './containers/register/register.component';\r\nimport { BackgroundQuestionComponent } from './components/background-question/background-question.component';\r\nimport { CompetencyQuestionComponent } from './components/competency-question/competency-question.component';\r\nimport { MultiDatepickerModule } from './components/multidatepicker/multidatepicker.module';\r\n\r\n@NgModule({\r\n declarations: [\r\n AppComponent,\r\n RegisterComponent,\r\n ],\r\n imports: [\r\n BrowserModule,\r\n BrowserAnimationsModule,\r\n AppRoutingModule,\r\n AppServicesModule,\r\n AppComponentsModule,\r\n MsalModule.forRoot({\r\n clientID: environment.authentication.clientId,\r\n authority: 'https://login.microsoftonline.com/' + environment.authentication.tenantId + '/',\r\n redirectUri: environment.authentication.redirectUri,\r\n consentScopes: [...environment.api.scopes]\r\n })\r\n ],\r\n providers: [\r\n { provide: MAT_DATE_LOCALE, useValue: 'en-GB' },\r\n ],\r\n bootstrap: [AppComponent]\r\n})\r\nexport class AppModule { }\r\n","module.exports = \"

\\r\\n background-question works!\\r\\n

\\r\\n\"","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2NvbXBvbmVudHMvYmFja2dyb3VuZC1xdWVzdGlvbi9iYWNrZ3JvdW5kLXF1ZXN0aW9uLmNvbXBvbmVudC5zY3NzIn0= */\"","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-background-question',\r\n templateUrl: './background-question.component.html',\r\n styleUrls: ['./background-question.component.scss']\r\n})\r\nexport class BackgroundQuestionComponent implements OnInit {\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","module.exports = \"{{question}}\\r\\n\\r\\n123\\r\\n\"","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2NvbXBvbmVudHMvY29tcGV0ZW5jeS1xdWVzdGlvbi9jb21wZXRlbmN5LXF1ZXN0aW9uLmNvbXBvbmVudC5zY3NzIn0= */\"","import { Component, OnInit, Input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-competency-question',\r\n templateUrl: './competency-question.component.html',\r\n styleUrls: ['./competency-question.component.scss']\r\n})\r\nexport class CompetencyQuestionComponent implements OnInit {\r\n\r\n @Input()\r\n public question:string;\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","module.exports = \"
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n {{vacancy.title}}\\r\\n {{vacancy.location}}\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
Classification Grade
{{vacancy.classification}}
\\r\\n
\\r\\n
\\r\\n
Vacancy Announcement
{{vacancy.vacancyannouncement}}
\\r\\n
\\r\\n
\\r\\n
Admin Number
{{vacancy.adminnumber}}
\\r\\n
\\r\\n
\\r\\n
Post Number
{{vacancy.postnumber}}
\\r\\n
\\r\\n
\\r\\n
Date of Issue
{{vacancy.dateofissue}}
\\r\\n
\\r\\n
\\r\\n
Deadline for Applications
{{vacancy.deadlineforapplications}}
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n Contract Information\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n Salary\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n Purpose of the Post\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n Main Duties and Responsibilities\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n Required Competencies\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n Professional Experience\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n Education\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n Language Skills\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n Other Skills\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\"","module.exports = \"mat-card-content {\\n margin-left: 16px; }\\n\\n.vacancy-image {\\n background-position: center;\\n background-repeat: no-repeat;\\n background-size: contain; }\\n\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9qb2ItZGVzY3JpcHRpb24vQzpcXFVzZXJzXFxTaW1vbkNvd2dpbGxcXHNvdXJjZVxcSU1PXFxpbW8tYXBwbGljYW50LXRyYWNraW5nLXN5c3RlbS13ZmVcXFRlc3RXZWJBY2NvdW50c1xcQ2xpZW50QXBwL3NyY1xcYXBwXFxjb21wb25lbnRzXFxqb2ItZGVzY3JpcHRpb25cXGpvYi1kZXNjcmlwdGlvbi5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLGlCQUFpQixFQUFBOztBQUduQjtFQUNFLDJCQUEyQjtFQUMzQiw0QkFBNEI7RUFDNUIsd0JBQXdCLEVBQUEiLCJmaWxlIjoic3JjL2FwcC9jb21wb25lbnRzL2pvYi1kZXNjcmlwdGlvbi9qb2ItZGVzY3JpcHRpb24uY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyJtYXQtY2FyZC1jb250ZW50IHtcclxuICBtYXJnaW4tbGVmdDogMTZweDtcclxufVxyXG5cclxuLnZhY2FuY3ktaW1hZ2UgeyBcclxuICBiYWNrZ3JvdW5kLXBvc2l0aW9uOiBjZW50ZXI7XHJcbiAgYmFja2dyb3VuZC1yZXBlYXQ6IG5vLXJlcGVhdDsgXHJcbiAgYmFja2dyb3VuZC1zaXplOiBjb250YWluOyBcclxufVxyXG4iXX0= */\"","import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';\r\nimport { JobVacancy } from 'src/app/models/job-vacancy.model';\r\nimport { JobVacanciesService } from '../../services/job-vacancies/job-vacancies.service';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { SelectedJobService } from '../../services/selected-.Job/selected-job-service.service';\r\n\r\n@Component({\r\n selector: 'app-job-description',\r\n templateUrl: './job-description.component.html',\r\n styleUrls: ['./job-description.component.scss']\r\n})\r\nexport class JobDescriptionComponent implements OnInit {\r\n @Input()\r\n public vacancy: JobVacancy;\r\n\r\n @Output()\r\n private cancel = new EventEmitter();\r\n\r\n constructor(\r\n private jobVacanciesService: JobVacanciesService,\r\n private route: ActivatedRoute\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.route.paramMap.subscribe(paramMap => {\r\n this.jobVacanciesService.getVacancyById(parseInt(paramMap.get('id'))).subscribe(vac => {\r\n this.vacancy = vac;\r\n });\r\n });\r\n }\r\n\r\n public back(): void {\r\n this.cancel.emit();\r\n }\r\n\r\n}\r\n","module.exports = \"\\r\\n \\r\\n \\r\\n \\r\\n home\\r\\n Home\\r\\n \\r\\n \\r\\n settings\\r\\n SharePoint\\r\\n \\r\\n \\r\\n settings\\r\\n API\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\"","module.exports = \".content {\\n margin: 20px; }\\n\\n.nav-menu {\\n width: 20%; }\\n\\n.right-nav {\\n margin: 10px;\\n height: calc(100% - 20px); }\\n\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9uYXZpZ2F0aW9uL0M6XFxVc2Vyc1xcU2ltb25Db3dnaWxsXFxzb3VyY2VcXElNT1xcaW1vLWFwcGxpY2FudC10cmFja2luZy1zeXN0ZW0td2ZlXFxUZXN0V2ViQWNjb3VudHNcXENsaWVudEFwcC9zcmNcXGFwcFxcY29tcG9uZW50c1xcbmF2aWdhdGlvblxcbmF2aWdhdGlvbi5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLFlBQVksRUFBQTs7QUFHZDtFQUNFLFVBQVUsRUFBQTs7QUFHWjtFQUNFLFlBQVk7RUFDWix5QkFBeUIsRUFBQSIsImZpbGUiOiJzcmMvYXBwL2NvbXBvbmVudHMvbmF2aWdhdGlvbi9uYXZpZ2F0aW9uLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLmNvbnRlbnQge1xyXG4gIG1hcmdpbjogMjBweDtcclxufVxyXG5cclxuLm5hdi1tZW51IHtcclxuICB3aWR0aDogMjAlO1xyXG59XHJcblxyXG4ucmlnaHQtbmF2IHtcclxuICBtYXJnaW46IDEwcHg7XHJcbiAgaGVpZ2h0OiBjYWxjKDEwMCUgLSAyMHB4KTtcclxufSJdfQ== */\"","import { Component, OnInit, ViewChild, OnDestroy } from '@angular/core';\r\nimport { MatSidenav } from '@angular/material';\r\nimport { NavigationService } from 'src/app/services/navigation/navigation.service';\r\nimport { Subscription } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'app-navigation',\r\n templateUrl: './navigation.component.html',\r\n styleUrls: ['./navigation.component.scss']\r\n})\r\nexport class NavigationComponent implements OnInit, OnDestroy {\r\n\r\n @ViewChild('leftSidenav') leftSidenavElement: MatSidenav;\r\n @ViewChild('rightSidenav') rightSidenavElement: MatSidenav;\r\n\r\n constructor(private navigationService: NavigationService) { }\r\n\r\n private subscriptions: Array;\r\n\r\n public rightNav = 'none';\r\n\r\n ngOnInit() {\r\n this.subscriptions = [];\r\n const leftNavSubscription = this.navigationService.leftNavOpen$.subscribe(((show) => {\r\n if (show) {\r\n this.leftSidenavElement.toggle();\r\n }\r\n }));\r\n\r\n const rightNavSubscription = this.navigationService.rightNavOpen$.subscribe(((show) => {\r\n if (show) {\r\n this.rightNav = show;\r\n this.rightSidenavElement.toggle();\r\n }\r\n }));\r\n\r\n this.subscriptions.push(leftNavSubscription);\r\n this.subscriptions.push(rightNavSubscription);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n if (this.subscriptions) {\r\n this.subscriptions.forEach(subscription => subscription.unsubscribe());\r\n }\r\n }\r\n\r\n}\r\n","module.exports = \"
\\r\\n\\r\\n \\r\\n \\r\\n --\\r\\n {{option.value}}\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n --\\r\\n {{option}}\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n --\\r\\n {{option}}\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n --\\r\\n {{option}}\\r\\n \\r\\n \\r\\n
\\r\\n\"","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2NvbXBvbmVudHMvcHJvZmlsZS9hcHBsaWNhbnQtbGFuZ3VhZ2UvYXBwbGljYW50LWxhbmd1YWdlLmNvbXBvbmVudC5zY3NzIn0= */\"","import { Component, OnInit, Input } from '@angular/core';\r\nimport { ApplicantLanguage } from '../../../models/applicant-language.model';\r\nimport { SpListDataService } from '../../../services/sharepoint-listdata/sp-list-data.service';\r\nimport { Observable } from 'rxjs';\r\nimport { ListDataModel } from '../../../models/list-data-model.model';\r\n\r\n@Component({\r\n selector: 'app-applicant-language',\r\n templateUrl: './applicant-language.component.html',\r\n styleUrls: ['./applicant-language.component.scss']\r\n})\r\nexport class ApplicantLanguageComponent implements OnInit {\r\n\r\n\r\n @Input()\r\n public applicantLanguage: ApplicantLanguage;\r\n public $languages: Observable;\r\n\r\n constructor(\r\n private listDataService: SpListDataService\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.$languages = this.listDataService.getListData(\"ApplicantLanguages\", \"PSLanguage\")\r\n }\r\n\r\n}\r\n","module.exports = \"
\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n\"","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2NvbXBvbmVudHMvcHJvZmlsZS9jZXJ0aWZpY2F0aW9uL2NlcnRpZmljYXRpb24uY29tcG9uZW50LnNjc3MifQ== */\"","import { Component, OnInit, Input } from '@angular/core';\r\nimport { Certification } from '../../../models/certification.model';\r\n\r\n@Component({\r\n selector: 'app-certification',\r\n templateUrl: './certification.component.html',\r\n styleUrls: ['./certification.component.scss']\r\n})\r\nexport class CertificationComponent implements OnInit {\r\n\r\n\r\n @Input()\r\n public certification: Certification;\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","module.exports = \"
\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n --\\r\\n {{option.value}}\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n --\\r\\n {{option.value}}\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n --\\r\\n {{option.value}}\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n\\r\\n
\\r\\n\"","module.exports = \".quals-container {\\n display: flex;\\n flex-direction: column; }\\n\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9wcm9maWxlL3F1YWxpZmljYXRpb24vQzpcXFVzZXJzXFxTaW1vbkNvd2dpbGxcXHNvdXJjZVxcSU1PXFxpbW8tYXBwbGljYW50LXRyYWNraW5nLXN5c3RlbS13ZmVcXFRlc3RXZWJBY2NvdW50c1xcQ2xpZW50QXBwL3NyY1xcYXBwXFxjb21wb25lbnRzXFxwcm9maWxlXFxxdWFsaWZpY2F0aW9uXFxxdWFsaWZpY2F0aW9uLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0ksYUFBYTtFQUNiLHNCQUFzQixFQUFBIiwiZmlsZSI6InNyYy9hcHAvY29tcG9uZW50cy9wcm9maWxlL3F1YWxpZmljYXRpb24vcXVhbGlmaWNhdGlvbi5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5xdWFscy1jb250YWluZXIge1xyXG4gICAgZGlzcGxheTogZmxleDtcclxuICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XHJcbn0iXX0= */\"","import { Component, OnInit, Input, ViewChild } from '@angular/core';\r\nimport { Qualification } from 'src/app/models/qualification-model';\r\nimport { ListDataModel } from '../../../models/list-data-model.model';\r\nimport { SpListDataService } from '../../../services/sp-list-data/sp-list-data.service';\r\nimport { Observable } from 'rxjs';\r\nimport { MatDatepicker, MatDatepickerInputEvent, MAT_DATE_FORMATS, NativeDateAdapter, DateAdapter } from '@angular/material';\r\nimport { provideForRootGuard } from '@angular/router/src/router_module';\r\n\r\nexport const PICK_FORMATS = {\r\n parse: { dateInput: { month: 'short', year: 'numeric', day: 'numeric' } },\r\n display: {\r\n dateInput: 'input',\r\n monthYearLabel: { year: 'numeric', month: 'short' },\r\n dateA11yLabel: { year: 'numeric', month: 'long', day: 'numeric' },\r\n monthYearA11yLabel: { year: 'numeric', month: 'long' }\r\n }\r\n};\r\n\r\nclass PickDateAdapter extends NativeDateAdapter {\r\n format(date: Date, displayFormat: Object): string {\r\n if (displayFormat === 'input') {\r\n return date.getFullYear().toString();\r\n } else {\r\n return date.toDateString();\r\n }\r\n }\r\n}\r\n\r\n@Component({\r\n selector: 'app-qualification',\r\n templateUrl: './qualification.component.html',\r\n styleUrls: ['./qualification.component.scss'],\r\n providers: [\r\n { provide: DateAdapter, useClass: PickDateAdapter },\r\n { provide: MAT_DATE_FORMATS, useValue: PICK_FORMATS }\r\n ]\r\n})\r\nexport class QualificationComponent implements OnInit {\r\n\r\n @Input()\r\n public qualification: Qualification;\r\n $obtainedQualification: Observable;\r\n $educationLevel: Observable;\r\n $currentAddressCountry: Observable;\r\n\r\n\r\n constructor(private listService: SpListDataService) { }\r\n\r\n ngOnInit() {\r\n\r\n this.$educationLevel = this.listService.getListData('ApplicantQualifications', 'EducationLevel')\r\n this.$obtainedQualification = this.listService.getListData('ApplicantQualifications', 'ObtainedQualification')\r\n\r\n this.$currentAddressCountry = this.listService.getListData('ApplicationDatabase', 'CurrentAddressCountry')\r\n }\r\n\r\n close(elem: MatDatepicker, event: MatDatepickerInputEvent) {\r\n elem.close();\r\n this.qualification.dateAwarded = new Date(event.toString());\r\n }\r\n\r\n\r\n}\r\n","module.exports = \"
\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n --\\r\\n Yes\\r\\n No\\r\\n \\r\\n \\r\\n\\r\\n
\\r\\n\"","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2NvbXBvbmVudHMvcHJvZmlsZS9yZWZlcmVuY2UvcmVmZXJlbmNlLmNvbXBvbmVudC5zY3NzIn0= */\"","import { Component, OnInit, Input } from '@angular/core';\r\nimport { Reference } from 'src/app/models/reference.model';\r\n\r\n@Component({\r\n selector: 'app-reference',\r\n templateUrl: './reference.component.html',\r\n styleUrls: ['./reference.component.scss']\r\n})\r\nexport class ReferenceComponent implements OnInit {\r\n\r\n @Input()\r\n public reference: Reference;\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","module.exports = \"
\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n --\\r\\n {{option.value}}\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n --\\r\\n {{option.value}}\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n\"","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2NvbXBvbmVudHMvcHJvZmlsZS93b3JrLWhpc3Rvcnkvd29yay1oaXN0b3J5LmNvbXBvbmVudC5zY3NzIn0= */\"","import { Component, OnInit, Input } from '@angular/core';\r\nimport { WorkHistory } from 'src/app/models/work-history.model';\r\nimport { SpListDataService } from '../../../services/sp-list-data/sp-list-data.service';\r\nimport { Observable } from 'rxjs';\r\nimport { ListDataModel } from '../../../models/list-data-model.model';\r\n\r\n@Component({\r\n selector: 'app-work-history',\r\n templateUrl: './work-history.component.html',\r\n styleUrls: ['./work-history.component.scss']\r\n})\r\nexport class WorkHistoryComponent implements OnInit {\r\n\r\n @Input()\r\n public workHistory: WorkHistory;\r\n $contractType: Observable;\r\n $modeOfEmployment: Observable;\r\n\r\n constructor(private listService: SpListDataService) { }\r\n\r\n ngOnInit() {\r\n this.$contractType = this.listService.getListData('ApplicantWorkHistories', 'ContractType')\r\n this.$modeOfEmployment = this.listService.getListData('ApplicantWorkHistories', 'ModeOfEmployment')\r\n }\r\n\r\n}\r\n","module.exports = \"
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\"","module.exports = \":host {\\n display: block;\\n overflow: hidden;\\n /* Hide everything that doesn't fit compoennt */ }\\n\\n.panes {\\n height: 100%;\\n width: 200%;\\n /* Make the parent element to take up twice\\r\\n of the component's width */\\n display: flex;\\n /* Align all children in a row */\\n /* Evenly divide width between children */ }\\n\\n.panes div {\\n flex: 1; }\\n\\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9zbGlkZS1wYW5lbC9DOlxcVXNlcnNcXFNpbW9uQ293Z2lsbFxcc291cmNlXFxJTU9cXGltby1hcHBsaWNhbnQtdHJhY2tpbmctc3lzdGVtLXdmZVxcVGVzdFdlYkFjY291bnRzXFxDbGllbnRBcHAvc3JjXFxhcHBcXGNvbXBvbmVudHNcXHNsaWRlLXBhbmVsXFxzbGlkZS1wYW5lbC5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvY29tcG9uZW50cy9zbGlkZS1wYW5lbC9zbGlkZS1wYW5lbC5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLGNBQWM7RUFDZCxnQkFBZ0I7RUFBRSwrQ0FBQSxFQUFnRDs7QUFHcEU7RUFDRSxZQUFZO0VBQ1osV0FBVztFQUFPO2lEQ0U2QjtFREEvQyxhQ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G4gIC8qIEFsaWduIGFsbCBjaGlsZHJlbiBpbiBhIHJvdyAqL1xuICAvKiBFdmVubHkgZGl2aWRlIHdpZHRoIGJldHdlZW4gY2hpbGRyZW4gKi8gfVxuICAucGFuZXMgZGl2IHtcbiAgICBmbGV4OiAxOyB9XG4iXX0= */\"","import { Component, ChangeDetectionStrategy, Input } from '@angular/core';\r\nimport { trigger, state, style, transition, animate } from '@angular/animations';\r\nimport { ViewportScroller } from '@angular/common';\r\n\r\ntype PaneType = 'left' | 'right';\r\n\r\n@Component({\r\n selector: 'app-slide-panel',\r\n templateUrl: './slide-panel.component.html',\r\n styleUrls: ['./slide-panel.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n animations: [\r\n trigger('slide', [\r\n state('left', style({ transform: 'translateX(0)' })),\r\n state('right', style({ transform: 'translateX(-50%)' })),\r\n transition('* => *', animate(300))\r\n ])]\r\n})\r\nexport class SlidePanelComponent {\r\n @Input() activePane: PaneType = 'left';\r\n\r\n constructor(private viewportScroller: ViewportScroller) { }\r\n\r\n onAnimationEnd($event) {\r\n this.viewportScroller.scrollToPosition([0, 0]);\r\n this.viewportScroller.scrollToAnchor(\"right-panel\");\r\n }\r\n}\r\n\r\n","module.exports = \"\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n

Create or edit profile (click person icon)

\\r\\n \\r\\n
\\r\\n
\\r\\n\"","module.exports = \".mat-elevation-z4 {\\n position: relative;\\n z-index: 2; }\\n\\n.content {\\n height: 100%; }\\n\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy90b29sYmFyL0M6XFxVc2Vyc1xcU2ltb25Db3dnaWxsXFxzb3VyY2VcXElNT1xcaW1vLWFwcGxpY2FudC10cmFja2luZy1zeXN0ZW0td2ZlXFxUZXN0V2ViQWNjb3VudHNcXENsaWVudEFwcC9zcmNcXGFwcFxcY29tcG9uZW50c1xcdG9vbGJhclxcdG9vbGJhci5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLGtCQUFrQjtFQUNsQixVQUFVLEVBQUE7O0FBR1o7RUFDRSxZQUFZLEVBQUEiLCJmaWxlIjoic3JjL2FwcC9jb21wb25lbnRzL3Rvb2xiYXIvdG9vbGJhci5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5tYXQtZWxldmF0aW9uLXo0IHtcclxuICBwb3NpdGlvbjogcmVsYXRpdmU7XHJcbiAgei1pbmRleDogMjtcclxufVxyXG5cclxuLmNvbnRlbnQge1xyXG4gIGhlaWdodDogMTAwJTtcclxufSJdfQ== */\"","import { Component, OnInit } from '@angular/core';\r\nimport { NavigationService } from 'src/app/services/navigation/navigation.service';\r\n\r\n@Component({\r\n selector: 'app-toolbar',\r\n templateUrl: './toolbar.component.html',\r\n styleUrls: ['./toolbar.component.scss']\r\n})\r\nexport class ToolbarComponent implements OnInit {\r\n\r\n constructor(private navigationService: NavigationService) { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n openNavMenu() {\r\n this.navigationService.toggleLeftNav();\r\n }\r\n\r\n openProfile() {\r\n this.navigationService.openRightNav('profile');\r\n }\r\n\r\n}\r\n","module.exports = \"
\\r\\n
\\r\\n \\r\\n

Manage My Profile

\\r\\n\\r\\n\\r\\n
\\r\\n\\r\\n \\r\\n \\r\\n
\\r\\n

\\r\\n Please provide your profile information as printed on your national passport or, in the absence of a passport,\\r\\n on your birth certificate/national ID card. You can update your name, address, phone number and email here.\\r\\n Please note that all future job applications will be updated with any changes made to your details.\\r\\n

\\r\\n \\r\\n \\r\\n --\\r\\n {{option.value}}\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Current Address\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n --\\r\\n {{option.value}}\\r\\n \\r\\n \\r\\n \\r\\n Permanent Address (If different from Current Address)\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Phone number (include a country code):\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n --\\r\\n {{option.value}}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n --\\r\\n {{option.value}}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n --\\r\\n {{option.value}}\\r\\n \\r\\n \\r\\n\\r\\n\\r\\n
\\r\\n \\r\\n \\r\\n --\\r\\n {{option.value}}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n --\\r\\n {{option.value}}\\r\\n \\r\\n \\r\\n\\r\\n\\r\\n \\r\\n \\r\\n --\\r\\n {{option.value}}\\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n

\\r\\n Nationality is subject to validation of eligibility criteria, including the individual's ties with that country and possession of a valid passport.\\r\\n

\\r\\n\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n\\r\\n \\r\\n Highest Education Level\\r\\n \\r\\n --\\r\\n {{option.value}}\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n Are you currently employed at IMO?\\r\\n \\r\\n --\\r\\n \\r\\n {{currentlyEmployedByIMOOption}}\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n Please indicate your contract type\\r\\n \\r\\n --\\r\\n {{option.value}}\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n If not employed by IMO, are you employed by another UN organisation?\\r\\n \\r\\n --\\r\\n \\r\\n {{employedOtherUN}}\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n --\\r\\n \\r\\n {{option.value}}\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n --\\r\\n \\r\\n {{option.value}}\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n --\\r\\n {{option.value}}\\r\\n \\r\\n \\r\\n\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n

Education

\\r\\n

Please add most recent first

\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Qualifications ({{profile.qualifications.length}})\\r\\n \\r\\n \\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n Certifications ({{profile.certifications.length}})\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n Professional Societies & Publications\\r\\n \\r\\n \\r\\n

List professional memberships and publications.

\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n \\r\\n

Work Experience

\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n \\r\\n\\r\\n \\r\\n

Work References

\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n

1) All final appointments are subject to a satisfactory medical examination. Are you willing to undergo a medical examination in the context of the recruitment process?

\\r\\n \\r\\n \\r\\n --\\r\\n {{option}}\\r\\n \\r\\n \\r\\n\\r\\n

2) Are any members of your family employed by IMO or another UN Agency? Yes, No. Please provide the name(s), relationship(s) and duty station(s)

\\r\\n \\r\\n \\r\\n --\\r\\n {{option}}\\r\\n \\r\\n \\r\\n\\r\\n
\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n

3) Employment at IMO may require international travel. Are you willing to travel in the course of your duties?

\\r\\n \\r\\n \\r\\n --\\r\\n {{option}}\\r\\n \\r\\n \\r\\n\\r\\n

4) Recruitment to sensitive functions may be subject to passing a background check. Are you willing to undergo such a background check if necessary?

\\r\\n \\r\\n \\r\\n --\\r\\n {{option}}\\r\\n \\r\\n \\r\\n\\r\\n

5) Have you ever been arrested, indicted or summoned into court as a defendant in a criminal proceeding or convicted, fined or imprisoned for the violation of any law (excluding minor traffic violations)? If yes- Please provide full particulars of each case in an attached statement

\\r\\n \\r\\n \\r\\n --\\r\\n {{option}}\\r\\n \\r\\n \\r\\n\\r\\n
\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n
\\r\\n\\r\\n

6) Have you ever been the subject of an investigation into misconduct, charged with misconduct or disciplined for misconduct? If “yes”, please provide the relevant details (if you were cleared after the investigation or after charges had been levied, you may state “no”). Please note that IMO reserves the right to contact your former employer/employing organization.

\\r\\n \\r\\n \\r\\n --\\r\\n {{option}}\\r\\n \\r\\n \\r\\n\\r\\n\\r\\n
\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n
\\r\\n\\r\\n

7) Are you now, or have you ever been a permanent civil servant in your government? If yes- please provide details.

\\r\\n \\r\\n \\r\\n --\\r\\n {{option}}\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\"","module.exports = \".tab-content {\\n margin: 10px; }\\n\\n.mat-divider {\\n margin-bottom: 20px !important; }\\n\\n.remove {\\n border-radius: 3px; }\\n\\n.defaultDOB {\\n color: red; }\\n\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29udGFpbmVycy9lZGl0LXByb2ZpbGUvQzpcXFVzZXJzXFxTaW1vbkNvd2dpbGxcXHNvdXJjZVxcSU1PXFxpbW8tYXBwbGljYW50LXRyYWNraW5nLXN5c3RlbS13ZmVcXFRlc3RXZWJBY2NvdW50c1xcQ2xpZW50QXBwL3NyY1xcYXBwXFxjb250YWluZXJzXFxlZGl0LXByb2ZpbGVcXGVkaXQtcHJvZmlsZS5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLFlBQVksRUFBQTs7QUFHZDtFQUNFLDhCQUE4QixFQUFBOztBQUdoQztFQUNFLGtCQUFrQixFQUFBOztBQUdwQjtFQUNJLFVBQVUsRUFBQSIsImZpbGUiOiJzcmMvYXBwL2NvbnRhaW5lcnMvZWRpdC1wcm9maWxlL2VkaXQtcHJvZmlsZS5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi50YWItY29udGVudCB7XHJcbiAgbWFyZ2luOiAxMHB4O1xyXG59XHJcblxyXG4ubWF0LWRpdmlkZXIge1xyXG4gIG1hcmdpbi1ib3R0b206IDIwcHggIWltcG9ydGFudDtcclxufVxyXG5cclxuLnJlbW92ZSB7XHJcbiAgYm9yZGVyLXJhZGl1czogM3B4O1xyXG59XHJcblxyXG4uZGVmYXVsdERPQiB7XHJcbiAgICBjb2xvcjogcmVkO1xyXG59XHJcbiJdfQ== */\"","import { Component, OnInit, OnDestroy } from '@angular/core';\r\nimport { Location } from '@angular/common';\r\nimport { ApplicantProfileService } from 'src/app/services/applicant-profile/applicant-profile.service';\r\nimport { ApplicantProfile } from 'src/app/models/applicant-profile.model';\r\nimport { Subscription, Observable } from 'rxjs';\r\nimport { MatSnackBar, MatTabChangeEvent } from '@angular/material';\r\nimport { Router } from '@angular/router';\r\nimport { WorkHistoryService } from 'src/app/services/work-history/work-history.service';\r\nimport 'rxjs/add/observable/forkJoin';\r\nimport { QualificationService } from 'src/app/services/qualification/qualification.service';\r\nimport { ReferenceService } from 'src/app/services/reference/reference.service';\r\nimport { WorkHistory } from 'src/app/models/work-history.model';\r\nimport { Qualification } from 'src/app/models/qualification-model';\r\nimport { Reference } from 'src/app/models/reference.model';\r\nimport { SpinnerService } from 'src/app/services/spinner/spinner.service';\r\nimport { share } from 'rxjs/operators';\r\nimport { Certification } from '../../models/certification.model';\r\nimport { CertificationService } from '../../services/certification/certification.service';\r\nimport { SpListDataService } from '../../services/sp-list-data/sp-list-data.service';\r\nimport { ListDataModel } from '../../models/list-data-model.model';\r\nimport { ApplicantLanguage } from '../../models/applicant-language.model';\r\nimport { ApplicantLanguageService } from '../../services/applicant-language/applicant-language.service';\r\nimport { SelectedJobService } from '../../services/selected-.Job/selected-job-service.service';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\n\r\n@Component({\r\n selector: 'app-edit-profile',\r\n templateUrl: './edit-profile.component.html',\r\n styleUrls: ['./edit-profile.component.scss']\r\n})\r\n\r\nexport class EditProfileComponent implements OnInit, OnDestroy {\r\n\r\n public selectedIndex = 0;\r\n public tabChange(event: MatTabChangeEvent) { // incase they manually change tab\r\n this.selectedIndex = event.index;\r\n }\r\n public nextTab() {\r\n if (this.selectedIndex == 7) {\r\n if (this.selectedJobService.job) {\r\n this.router.navigate(['application', this.selectedJobService.job.jobVacancyId])\r\n } else {\r\n this.router.navigate(['/vacancies']);\r\n }\r\n } else {\r\n this.selectedIndex++;\r\n }\r\n }\r\n\r\n public profile: ApplicantProfile = new ApplicantProfile();\r\n\r\n private subscription: Subscription;\r\n\r\n private confirmMessage = 'Are you sure you want to delete this record?';\r\n\r\n public isSpinnerActive: boolean = false;\r\n $salutations: Observable;\r\n $gender: Observable;\r\n $civilStatus: Observable;\r\n $employmentTypes: Observable;\r\n $availability: Observable;\r\n $highestQualification: Observable;\r\n $contractType: Observable;\r\n $modeOfEmployment: Observable;\r\n $educationLevel: Observable;\r\n $obtainedQualification: Observable;\r\n $nationalities: Observable;\r\n $languages: Observable;\r\n $currentAddressCountry: Observable;\r\n\r\n constructor(private profileService: ApplicantProfileService,\r\n private spinnerService: SpinnerService,\r\n private workHistoryService: WorkHistoryService,\r\n private qualifictionService: QualificationService,\r\n private referenceService: ReferenceService,\r\n private location: Location,\r\n private snackBar: MatSnackBar,\r\n private router: Router,\r\n private certificationService: CertificationService,\r\n private listService: SpListDataService,\r\n private applicantLanguagesService: ApplicantLanguageService,\r\n\r\n private selectedJobService: SelectedJobService\r\n\r\n ) { }\r\n\r\n ngOnInit() {\r\n\r\n\r\n this.getProfile();\r\n this.$salutations = this.listService.getListData('ApplicationDatabase', 'Salutation')\r\n this.$gender = this.listService.getListData('ApplicationDatabase', 'Gender')\r\n this.$civilStatus = this.listService.getListData('ApplicationDatabase', 'CivilStatus')\r\n this.$employmentTypes = this.listService.getListData('ApplicationDatabase', 'EmploymentType')\r\n this.$availability = this.listService.getListData('ApplicationDatabase', 'Availability')\r\n this.$highestQualification = this.listService.getListData('ApplicationDatabase', 'HighestQualification')\r\n this.$contractType = this.listService.getListData('ApplicationDatabase', 'ContractType')\r\n this.$nationalities = this.listService.getListData('ApplicationDatabase', 'Nationality')\r\n this.$currentAddressCountry = this.listService.getListData('ApplicationDatabase', 'CurrentAddressCountry')\r\n\r\n this.$languages = this.listService.getListData('ApplicationDatabase', 'NativeLanguage')\r\n\r\n }\r\n\r\n private getProfile(): void {\r\n this.unsubscribe();\r\n\r\n this.subscription = this.profileService.getProfile().pipe(share()).subscribe((profile) => {\r\n if (profile) {\r\n this.profile = profile;\r\n console.log(this.profile);\r\n }\r\n });\r\n\r\n this.spinnerService.deactivate();\r\n }\r\n\r\n private unsubscribe() {\r\n if (this.subscription) {\r\n this.subscription.unsubscribe();\r\n }\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.unsubscribe();\r\n }\r\n\r\n public saveProfile(index) {\r\n\r\n if (this.CheckValidity(index)) {\r\n\r\n console.log(\"Profile\", this.profile);\r\n\r\n this.spinnerService.activate();\r\n this.profileService.saveProfile(this.profile).subscribe((profile) => {\r\n if (profile) {\r\n this.profile.applicantProfileId = profile.applicantProfileId;\r\n }\r\n\r\n this.snackBar.open('Profile successfully updated', null, {\r\n duration: 10000,\r\n });\r\n\r\n this.spinnerService.deactivate();\r\n this.nextTab();\r\n });\r\n\r\n if (index == 4) {\r\n this.saveQualifications();\r\n this.saveCertifications();\r\n }\r\n\r\n this.getProfile();\r\n\r\n }\r\n }\r\n\r\n CheckValidity(index: number): any {\r\n\r\n switch (index) {\r\n case 0:\r\n if (\r\n this.profile.salutation &&\r\n this.profile.firstName &&\r\n this.profile.lastName &&\r\n this.profile.addressLine1 &&\r\n this.profile.townCity &&\r\n this.profile.postCode &&\r\n //this.profile.county &&\r\n this.profile.currentAddressCountry &&\r\n this.profile.emailAddress &&\r\n this.profile.cellPhone\r\n ) {\r\n\r\n var regExp = new RegExp('[a-zA-Z0-9.-_]{1,}@[a-zA-Z.-]{2,}[.]{1}[a-zA-Z]{2,}');\r\n var numEmails = ((this.profile.emailAddress.match(/@/g) || []).length);\r\n var testEmailAddress = regExp.test(this.profile.emailAddress);\r\n if (!testEmailAddress || numEmails > 1)\r\n {\r\n this.snackBar.open(\"Email address is invalid. Only one valid email address is permitted.\", null, { duration: 4000 });\r\n return false;\r\n }\r\n\r\n return true;\r\n }\r\n break;\r\n case 1:\r\n if (\r\n this.profile.gender &&\r\n this.profile.dateOfBirth &&\r\n this.profile.countryOfBirth &&\r\n this.profile.nationality\r\n ) {\r\n return true;\r\n }\r\n\r\n if (!this.profile.dateOfBirth || this.profile.dateOfBirth < \"1900-01-01\"){\r\n this.snackBar.open(\"Date of Birth is invalid.\", null, { duration: 4000 });\r\n return false;\r\n }\r\n break;\r\n case 2:\r\n if (\r\n this.profile.highestQualification &&\r\n this.profile.currentlyEmployedIMO &&\r\n this.profile.motherTongue1 &&\r\n //this.profile.motherTongue2 &&\r\n //this.profile.unProficiencyExam &&\r\n this.profile.availability\r\n ) {\r\n return true;\r\n }\r\n break;\r\n case 3:\r\n if (\r\n this.profile.competencies\r\n ) {\r\n return true;\r\n }\r\n break;\r\n case 4:\r\n var allValid = true;\r\n if (\r\n this.profile.qualifications.some(s => s.placeOfStudy == \"\" || s.qualificationTitle == \"\" || s.educationLevel == \"\" || (s.obtainedQualification === 'Yes' && s.dateAwarded == null))\r\n ) { allValid = false; } else { }\r\n\r\n if (\r\n this.profile.certifications.some(s => !s.titleOfCertification || (s.issueYear == null || s.issueYear == 0) || !s.issueOrganisation)\r\n ) { allValid = false; } else { }\r\n\r\n return allValid;\r\n case 4.1:\r\n if (\r\n this.profile.qualifications.some(s => s.placeOfStudy == \"\" || s.qualificationTitle == \"\" || s.educationLevel == \"\" || (s.obtainedQualification === 'Yes' && s.dateAwarded == null))\r\n ) { } else { return true; }\r\n break;\r\n case 4.2:\r\n if (\r\n this.profile.certifications.some(s => !s.titleOfCertification || (s.issueYear == null || s.issueYear == 0) || !s.issueOrganisation)\r\n ) { } else { return true; }\r\n break;\r\n case 5.1:\r\n if (\r\n this.profile.workHistories.some(s => !s.nameOfEmployer\r\n || !s.contractType || !s.registeredAddressOfEmployer || !s.historyStartDate\r\n || !s.modeOfEmployment || !s.numberOfEmployeesSupervised || !s.jobHistoryDescription\r\n || !s.historyLeavingReason || !s.positionGrade || !s.sectorIndustry)\r\n ) { } else { return true; }\r\n break;\r\n case 6:\r\n if (\r\n this.profile.references.some(s =>\r\n !s.referenceName ||\r\n !s.organisation ||\r\n !s.referenceRelation ||\r\n !s.referenceNumber ||\r\n !s.referenceAddress ||\r\n !s.dateSupervisedFrom ||\r\n !s.referenceContact\r\n )\r\n ) { } else { return true; }\r\n break;\r\n case 7:\r\n return true;\r\n break;\r\n }\r\n this.snackBar.open(\"Please fill in all the required fields\", null, { duration: 4000 })\r\n return false;\r\n }\r\n\r\n public saveHistory() {\r\n if (this.CheckValidity(5.1)) {\r\n\r\n if (!this.profile.applicantProfileId) {\r\n this.snackBar.open('Please complete and save applicant details before entering Work History', null, {\r\n duration: 4000,\r\n });\r\n\r\n return;\r\n }\r\n\r\n this.spinnerService.activate();\r\n\r\n let observables = [];\r\n this.profile.workHistories.forEach((history) => { observables.push(this.workHistoryService.saveHistory(this.profile.applicantProfileId, history)); })\r\n Observable.forkJoin(observables).subscribe((results) => {\r\n this.snackBar.open('Work History successfully updated', null, {\r\n duration: 10000,\r\n });\r\n this.spinnerService.deactivate();\r\n this.nextTab();\r\n });\r\n }\r\n }\r\n\r\n public saveQualifications() {\r\n if (this.CheckValidity(4.1)) {\r\n if (!this.profile.applicantProfileId) {\r\n this.snackBar.open('Please complete and save applicant details before entering Qualifications', null, {\r\n duration: 4000,\r\n });\r\n\r\n return;\r\n }\r\n\r\n this.spinnerService.activate();\r\n\r\n let observables = [];\r\n this.profile.qualifications.forEach((qualification) => {\r\n observables.push(this.qualifictionService.saveQualification(this.profile.applicantProfileId, qualification));\r\n })\r\n Observable.forkJoin(observables).subscribe((results) => {\r\n this.snackBar.open('Qualifications successfully updated', null, {\r\n duration: 10000,\r\n });\r\n this.spinnerService.deactivate();\r\n });\r\n }\r\n }\r\n\r\n public saveCertifications() {\r\n if (this.CheckValidity(4.2)) {\r\n if (!this.profile.applicantProfileId) {\r\n this.snackBar.open('Please complete and save applicant details before entering Certifications', null, {\r\n duration: 4000,\r\n });\r\n\r\n return;\r\n }\r\n\r\n this.spinnerService.activate();\r\n\r\n let observables = [];\r\n this.profile.certifications.forEach((certification) => { observables.push(this.certificationService.saveCertification(this.profile.applicantProfileId, certification)); })\r\n Observable.forkJoin(observables).subscribe((results) => {\r\n this.snackBar.open('Certifications successfully updated', null, {\r\n duration: 10000,\r\n });\r\n this.spinnerService.deactivate();\r\n });\r\n }\r\n }\r\n\r\n public saveReferences() {\r\n if (this.CheckValidity(6)) {\r\n\r\n if (!this.profile.applicantProfileId) {\r\n this.snackBar.open('Please complete and save applicant details before entering References', null, {\r\n duration: 4000,\r\n });\r\n\r\n return;\r\n }\r\n\r\n this.spinnerService.activate();\r\n\r\n let observables = [];\r\n this.profile.references.forEach((reference) => { observables.push(this.referenceService.saveReference(this.profile.applicantProfileId, reference)); })\r\n Observable.forkJoin(observables).subscribe((results) => {\r\n this.snackBar.open('References successfully updated.', null, {\r\n duration: 10000,\r\n });\r\n this.spinnerService.deactivate();\r\n this.nextTab();\r\n });\r\n }\r\n }\r\n\r\n\r\n saveApplicantLanguages() {\r\n if (!this.profile.applicantProfileId) {\r\n this.snackBar.open('Please complete and save applicant details before entering References', null, {\r\n duration: 4000,\r\n });\r\n\r\n return;\r\n }\r\n\r\n this.spinnerService.activate();\r\n\r\n let observables = [];\r\n this.profile.applicantLanguages.forEach((language) => { observables.push(this.applicantLanguagesService.saveLanguage(this.profile.applicantProfileId, language)); })\r\n Observable.forkJoin(observables).subscribe((results) => {\r\n this.snackBar.open('Languages successfully updated', null, {\r\n duration: 10000,\r\n });\r\n this.spinnerService.deactivate();\r\n\r\n });\r\n }\r\n\r\n public cancel() {\r\n this.redirect();\r\n }\r\n\r\n private redirect(): void {\r\n const url = sessionStorage.getItem('msal.login.redirect');\r\n\r\n if (url) {\r\n sessionStorage.removeItem('msal.login.redirect');\r\n this.router.navigate([url]);\r\n } else {\r\n this.location.back();\r\n }\r\n\r\n }\r\n\r\n public addApplicantLanguage() {\r\n this.profile.applicantLanguages.push(new ApplicantLanguage());\r\n }\r\n\r\n public addWorkHistory() {\r\n this.profile.workHistories.push(new WorkHistory());\r\n }\r\n\r\n public addQualification() {\r\n this.profile.qualifications.push(new Qualification());\r\n }\r\n\r\n public addReference() {\r\n this.profile.references.push(new Reference());\r\n }\r\n\r\n public addCertification() {\r\n this.profile.certifications.push(new Certification());\r\n }\r\n\r\n\r\n removeHistory(history: WorkHistory) {\r\n if (window.confirm(this.confirmMessage)) {\r\n\r\n let index = this.profile.workHistories.indexOf(history);\r\n this.profile.workHistories.splice(index, 1);\r\n\r\n if (history.workHistoryId) {\r\n this.spinnerService.activate();\r\n\r\n this.workHistoryService.deleteHistory(history.workHistoryId).subscribe((history) => {\r\n this.snackBar.open('Work History removed successfully', null, {\r\n duration: 4000,\r\n });\r\n this.spinnerService.deactivate();\r\n\r\n });\r\n }\r\n }\r\n }\r\n\r\n removeLanguage(language: ApplicantLanguage) {\r\n if (window.confirm(this.confirmMessage)) {\r\n\r\n let index = this.profile.applicantLanguages.indexOf(language);\r\n this.profile.applicantLanguages.splice(index, 1);\r\n\r\n if (language.applicantLanguageId) {\r\n this.spinnerService.activate();\r\n\r\n this.applicantLanguagesService.deleteCertification(language.applicantLanguageId).subscribe(() => {\r\n this.snackBar.open('Language removed successfully', null, {\r\n duration: 4000,\r\n });\r\n this.spinnerService.deactivate();\r\n\r\n });\r\n }\r\n }\r\n }\r\n\r\n removeQualification(qualification: Qualification) {\r\n if (window.confirm(this.confirmMessage)) {\r\n\r\n let index = this.profile.qualifications.indexOf(qualification);\r\n this.profile.qualifications.splice(index, 1);\r\n\r\n if (qualification.qualificationId) {\r\n this.spinnerService.activate();\r\n\r\n this.qualifictionService.deleteQualification(qualification.qualificationId).subscribe((qualification) => {\r\n this.snackBar.open('Qualification removed successfully', null, {\r\n duration: 4000,\r\n });\r\n this.spinnerService.deactivate();\r\n\r\n });\r\n }\r\n }\r\n }\r\n\r\n removeCertification(certification: Certification) {\r\n if (window.confirm(this.confirmMessage)) {\r\n\r\n let index = this.profile.certifications.indexOf(certification);\r\n this.profile.certifications.splice(index, 1);\r\n\r\n if (certification.certificationId) {\r\n this.spinnerService.activate();\r\n\r\n this.certificationService.deleteCertification(certification.certificationId).subscribe(() => {\r\n this.snackBar.open('Certification removed successfully', null, {\r\n duration: 4000,\r\n });\r\n this.spinnerService.deactivate();\r\n\r\n });\r\n }\r\n }\r\n }\r\n\r\n removeReference(reference: Reference) {\r\n if (window.confirm(this.confirmMessage)) {\r\n\r\n let index = this.profile.references.indexOf(reference);\r\n this.profile.references.splice(index, 1);\r\n\r\n if (reference.referenceId) {\r\n this.spinnerService.activate();\r\n\r\n this.referenceService.deleteReference(reference.referenceId).subscribe((reference) => {\r\n this.snackBar.open('Reference removed successfully', null, {\r\n duration: 4000,\r\n });\r\n this.spinnerService.deactivate();\r\n\r\n });\r\n }\r\n }\r\n }\r\n}\r\n\r\n/* TODO:\r\n * Auto-save on each tab navigation / prevent other tabs without saving\r\n */\r\n","module.exports = \"
\\r\\n
\\r\\n \\r\\n \\r\\n Apply for Role\\r\\n {{application.jobTitle}}\\r\\n \\r\\n
\\r\\n \\r\\n\\r\\n
\\r\\n\\r\\n \\r\\n\\r\\n

Create or edit profile

\\r\\n\\r\\n
\\r\\n
\\r\\n Click the button below to create or update your profile.\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n

\\r\\n Your Profile is not complete, to apply for this role please ensure all required fields are completed in your profile.\\r\\n

\\r\\n
\\r\\n
\\r\\n

\\r\\n Date of Birth is invalid. Please update your profile.\\r\\n

\\r\\n
\\r\\n
\\r\\n
\\r\\n To avoid loss of information start by completing your profile before completing the rest of the application\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n How did you hear about this vacancy?\\r\\n \\r\\n \\r\\n {{pSEmployeeSource}}\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n\\r\\n

Profile confirmation

\\r\\n\\r\\n
\\r\\n\\r\\n \\r\\n  I certify that the information in my profile is true, complete, and correct. I understand that any false or withheld information may give grounds for the withdrawal of any offer of appointment or summary dismissal, if an appointment has been accepted.\\r\\n
\\r\\n\\r\\n \\r\\n\\r\\n
0\\\">\\r\\n

Background Questions

\\r\\n\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ option }}\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n \\r\\n\\r\\n
\\r\\n\\r\\n

Statement of motivation

\\r\\n
\\r\\n
\\r\\n Please write in the field below, a statement of motivation to support your application. DO NOT include your name in the statement or in any attached document.\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n \\r\\n\\r\\n

Upload documents

\\r\\n\\r\\n
\\r\\n \\r\\n
\\r\\n Any supporting documentation must be anonymized and uploaded here.
\\r\\n Only Word and pdf file types are supported, any other file types selected will NOT be uploaded.\\r\\n
\\r\\n \\r\\n
Your files will appear here.
\\r\\n
0\\\">\\r\\n
\\r\\n \\r\\n delete\\r\\n {{file.fileName}}\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n\\r\\n
\\r\\n\\r\\n I certify that the information in my application is true, complete, and correct. I understand that any false or withheld information may give grounds for the withdrawal of any offer of appointment or summary dismissal, if an appointment has been accepted.\\r\\n  \\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n \\r\\n\\r\\n\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\"","module.exports = \"mat-card-content {\\n margin-left: 16px; }\\n\\n.tab-content {\\n margin-top: 20px;\\n margin-bottom: 20px; }\\n\\n.mat-divider {\\n margin-bottom: 20px !important; }\\n\\nmat-form-field {\\n width: 100%; }\\n\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29udGFpbmVycy9qb2ItYXBwbGljYXRpb24vQzpcXFVzZXJzXFxTaW1vbkNvd2dpbGxcXHNvdXJjZVxcSU1PXFxpbW8tYXBwbGljYW50LXRyYWNraW5nLXN5c3RlbS13ZmVcXFRlc3RXZWJBY2NvdW50c1xcQ2xpZW50QXBwL3NyY1xcYXBwXFxjb250YWluZXJzXFxqb2ItYXBwbGljYXRpb25cXGpvYi1hcHBsaWNhdGlvbi5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLGlCQUFpQixFQUFBOztBQUduQjtFQUNFLGdCQUFnQjtFQUNoQixtQkFBbUIsRUFBQTs7QUFHckI7RUFDRSw4QkFBOEIsRUFBQTs7QUFHaEM7RUFDRSxXQUFXLEVBQUEiLCJmaWxlIjoic3JjL2FwcC9jb250YWluZXJzL2pvYi1hcHBsaWNhdGlvbi9qb2ItYXBwbGljYXRpb24uY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyJtYXQtY2FyZC1jb250ZW50IHtcclxuICBtYXJnaW4tbGVmdDogMTZweDtcclxufVxyXG5cclxuLnRhYi1jb250ZW50IHtcclxuICBtYXJnaW4tdG9wOiAyMHB4O1xyXG4gIG1hcmdpbi1ib3R0b206IDIwcHg7XHJcbn1cclxuXHJcbi5tYXQtZGl2aWRlciB7XHJcbiAgbWFyZ2luLWJvdHRvbTogMjBweCAhaW1wb3J0YW50O1xyXG59XHJcblxyXG5tYXQtZm9ybS1maWVsZCB7XHJcbiAgd2lkdGg6IDEwMCU7XHJcbn0iXX0= */\"","import { Component, OnInit, OnDestroy } from \"@angular/core\";\r\nimport { ActivatedRoute, Router } from \"@angular/router\";\r\nimport { Subscription } from \"rxjs\";\r\nimport { Application } from \"src/app/models/application.model\";\r\nimport { ApplicationService } from \"src/app/services/application/application.service\";\r\nimport { map } from \"rxjs/operators\";\r\nimport { MatSnackBar } from \"@angular/material\";\r\nimport { JobVacancyCriteriaService } from \"src/app/services/job-vacancy-criteria/job-vacancy-criteria.service\";\r\nimport { JobVacancyCriteria } from \"src/app/models/job-vacancy-criteria.model\";\r\nimport { CriteriaResults } from \"src/app/models/criteria-results.model\";\r\nimport { SpinnerService } from \"src/app/services/spinner/spinner.service\";\r\nimport { FileBase } from \"src/app/models/file-base.model\";\r\nimport { JobVacanciesService } from '../../services/job-vacancies/job-vacancies.service';\r\nimport { JobVacancy } from 'src/app/models/job-vacancy.model';\r\nimport { Answer } from '../../models/Answer.model';\r\nimport { SelectedJobService } from '../../services/selected-.Job/selected-job-service.service';\r\nimport { ProfileService } from '../../services/profile/profile.service';\r\nimport { ApplicantProfileService } from '../../services/applicant-profile/applicant-profile.service';\r\nimport { ApplicantProfile} from '../../models/applicant-profile.model';\r\n\r\n@Component({\r\n selector: \"app-job-application\",\r\n templateUrl: \"./job-application.component.html\",\r\n styleUrls: [\"./job-application.component.scss\"]\r\n})\r\nexport class JobApplicationComponent implements OnInit, OnDestroy {\r\n private subscriptions: Array = [];\r\n\r\n public application: Application;\r\n\r\n public vacancyCriteria: Array = [];\r\n\r\n public profileConfirmation: boolean = false;\r\n public applicationConfirmation: boolean = false;\r\n public criteriaResults: Array = [];\r\n public placeholder: Array = [];\r\n public additionalInformation: string = \"\";\r\n public pSEmployeeSource: string;\r\n\r\n\r\n public formError: boolean = false;\r\n\r\n public selectedCriteria: Array = [];\r\n\r\n public dropdownSettings = {\r\n singleSelection: false,\r\n selectAllText: \"Select All\",\r\n unSelectAllText: \"Unselect All\",\r\n enableSearchFilter: true\r\n };\r\n\r\n public files: Array = [];\r\n\r\n\r\n public jobVacancy: JobVacancy = new JobVacancy();\r\n public competencyAnswers: Answer[] = [];\r\n public backgroundAnswers: Answer[] = [];\r\n public profile: ApplicantProfile;\r\n public profileComplete: boolean;\r\n public qualificationsComplete: boolean;\r\n public certificationsComplete: boolean;\r\n public workHistoryComplete: boolean;\r\n public referencesComplete: boolean;\r\n public dateOfBirthValid: boolean;\r\n\r\n removeDocument(file) {\r\n var index = this.files.findIndex(f => f.fileName == file.fileName);\r\n this.files.splice(index, 1);\r\n }\r\n // application/msword - doc\r\n // application/vnd.openxmlformats-officedocument.wordprocessingml.document - docx\r\n // application/pdf - pdf\r\n public supportedFileTypes: Array = [\r\n \"application/msword\",\r\n \"application/vnd.openxmlformats-officedocument.wordprocessingml.document\",\r\n \"application/pdf\"\r\n ];\r\n\r\n constructor(\r\n private route: ActivatedRoute,\r\n private router: Router,\r\n private applicationService: ApplicationService,\r\n private jobVacancyCriteriaService: JobVacancyCriteriaService,\r\n private spinnerService: SpinnerService,\r\n private snackBar: MatSnackBar,\r\n private jobVacancies: JobVacanciesService,\r\n\r\n private selectedJobService: SelectedJobService,\r\n\r\n private profileService: ApplicantProfileService\r\n ) { }\r\n\r\n ngOnInit() {\r\n\r\n this.profileService.getProfile().subscribe(profile => {\r\n this.profile = profile;\r\n\r\n if (this.profile.salutation &&\r\n this.profile.firstName &&\r\n this.profile.lastName &&\r\n this.profile.addressLine1 &&\r\n this.profile.townCity &&\r\n this.profile.postCode &&\r\n //this.profile.county &&\r\n this.profile.currentAddressCountry &&\r\n this.profile.emailAddress &&\r\n this.profile.cellPhone\r\n &&\r\n this.profile.gender &&\r\n this.profile.dateOfBirth &&\r\n this.profile.countryOfBirth &&\r\n this.profile.nationality\r\n &&\r\n this.profile.highestQualification &&\r\n this.profile.currentlyEmployedIMO &&\r\n this.profile.motherTongue1 &&\r\n //this.profile.motherTongue2 &&\r\n //this.profile.unProficiencyExam &&\r\n this.profile.availability\r\n &&\r\n this.profile.competencies\r\n &&\r\n this.profile.willingToUnderTakeMedical &&\r\n this.profile.familyMemberEmployedByIMOOrUNOrg &&\r\n (this.profile.familyMemberEmployedByIMOOrUNOrg == \"No\" ||\r\n (\r\n this.profile.employedFamilyMemberName &&\r\n this.profile.employedFamilyMemberRelationship &&\r\n this.profile.employedFamilyMemberDutyStation\r\n )\r\n ) &&\r\n this.profile.willingToTravelInternationally &&\r\n this.profile.willingToUndergoBackgroundCheck &&\r\n this.profile.criminalConvictions &&\r\n (this.profile.criminalConvictions == \"No\" ||\r\n (\r\n this.profile.convictionStatement\r\n )\r\n ) &&\r\n this.profile.everInvestigatedOrDisciplinedForMisconduct &&\r\n (this.profile.everInvestigatedOrDisciplinedForMisconduct == \"No\" ||\r\n (\r\n this.profile.misconductStatement\r\n )\r\n ) &&\r\n this.profile.civilServentInOwnGovernment &&\r\n (this.profile.civilServentInOwnGovernment == \"No\" ||\r\n (\r\n this.profile.civilServentInOwnGovernmentDetails\r\n )\r\n )\r\n ) {\r\n this.profileComplete = true;\r\n }\r\n \r\n this.dateOfBirthValid = true;\r\n if (this.profile.dateOfBirth && this.profile.dateOfBirth < \"1900-01-01\"){\r\n this.profileComplete = false;\r\n this.dateOfBirthValid = false;\r\n }\r\n });\r\n\r\n this.subscriptions.push(\r\n this.route.data.subscribe((data: { application: Application }) => {\r\n\r\n this.jobVacancies.getVacancyById(data.application.jobVacancyId).subscribe(s => {\r\n this.jobVacancy = s;\r\n this.selectedJobService.SetJob(s);\r\n //this.competencyAnswers = new [s.competencyQuestions.length];\r\n s.competencyQuestions.map(m => { this.competencyAnswers.push(new Answer(m)) });\r\n s.backgroundQuestions.map(m => { this.backgroundAnswers.push(new Answer(m)) });\r\n });\r\n\r\n this.application = data.application;\r\n\r\n this.qualificationsComplete = true;\r\n if (this.application.qualifications.length > 0) {\r\n if (\r\n this.application.qualifications.some(s => s.placeOfStudy == null || s.placeOfStudy.length == 0) ||\r\n this.application.qualifications.some(s => s.qualificationTitle == null || s.qualificationTitle.length == 0) ||\r\n this.application.qualifications.some(s => s.specialisation == null || s.specialisation.length == 0) ||\r\n this.application.qualifications.some(s => s.educationLevel == null || s.educationLevel.length == 0) ||\r\n this.application.qualifications.some(s => s.country == null || s.country.length == 0) ||\r\n this.application.qualifications.some(s => s.obtainedQualification == \"Yes\" && s.dateAwarded == null )\r\n ) {\r\n this.qualificationsComplete = false;\r\n }\r\n }\r\n\r\n this.certificationsComplete = true;\r\n if (this.application.certifications.length > 0) {\r\n if (\r\n this.application.certifications.some(s => s.titleOfCertification == null || s.titleOfCertification.length == 0) ||\r\n this.application.certifications.some(s => s.issueYear == null || s.issueYear == 0) ||\r\n this.application.certifications.some(s => s.issueOrganisation == null || s.issueOrganisation.length == 0)\r\n ) {\r\n this.certificationsComplete = false;\r\n }\r\n }\r\n\r\n this.workHistoryComplete = true;\r\n if (this.application.workHistories.length > 0) {\r\n if (\r\n this.application.workHistories.some(s => s.nameOfEmployer == null || s.nameOfEmployer.length == 0) ||\r\n this.application.workHistories.some(s => s.contractType == null || s.contractType.length == 0) ||\r\n this.application.workHistories.some(s => s.positionGrade == null || s.positionGrade.length == 0) ||\r\n this.application.workHistories.some(s => s.registeredAddressOfEmployer == null || s.registeredAddressOfEmployer.length == 0) ||\r\n this.application.workHistories.some(s => s.sectorIndustry == null || s.sectorIndustry.length == 0) ||\r\n this.application.workHistories.some(s => s.historyStartDate == null) ||\r\n this.application.workHistories.some(s => s.modeOfEmployment == null || s.modeOfEmployment.length == 0) ||\r\n this.application.workHistories.some(s => s.numberOfEmployeesSupervised == null || s.numberOfEmployeesSupervised.length == 0) ||\r\n this.application.workHistories.some(s => s.historyLeavingReason == null || s.historyLeavingReason.length == 0) \r\n ) {\r\n this.workHistoryComplete = false;\r\n }\r\n }\r\n\r\n this.referencesComplete = true;\r\n if (this.application.references.length > 0) {\r\n if (\r\n this.application.references.some(s => s.referenceName == null || s.referenceName.length == 0) ||\r\n this.application.references.some(s => s.organisation == null || s.organisation.length == 0) ||\r\n this.application.references.some(s => s.referenceRelation == null || s.referenceRelation.length == 0) ||\r\n this.application.references.some(s => s.referenceNumber == null || s.referenceNumber.length == 0) ||\r\n this.application.references.some(s => s.referenceAddress == null || s.referenceAddress.length == 0) ||\r\n this.application.references.some(s => s.dateSupervisedFrom == null) ||\r\n this.application.references.some(s => s.referenceContact == null || s.referenceContact.length == 0) \r\n ) {\r\n this.referencesComplete = false;\r\n }\r\n }\r\n\r\n const ids = this.application.jobVacancyCriteria.map(m => m.lookupId);\r\n this.subscriptions.push(\r\n this.jobVacancyCriteriaService\r\n .getByIds(ids)\r\n .subscribe((vacancyData: Array) => {\r\n this.vacancyCriteria = vacancyData;\r\n\r\n this.criteriaResults = vacancyData.map(\r\n item => new CriteriaResults(item)\r\n );\r\n })\r\n );\r\n })\r\n );\r\n }\r\n\r\n ngOnDestroy(): void {\r\n if (this.subscriptions) {\r\n this.subscriptions.forEach(subscription => subscription.unsubscribe());\r\n }\r\n }\r\n\r\n manageProfile() {\r\n if (\r\n window.confirm(\r\n \"Editing your profile will de-select any documents you have chosen and reset any information that you have entered into the application.\\n\" +\r\n \"Are you sure you wish to proceed?\"\r\n )\r\n ) {\r\n this.spinnerService.activate();\r\n this.router.navigate([\"/manageprofile\"]);\r\n }\r\n }\r\n\r\n apply() {\r\n //var expiryDate = new Date();\r\n //if (this.jobVacancy.internalExternal == \"Internal\")\r\n //{\r\n // expiryDate = new Date(this.jobVacancy.jobCloseDateInternal);\r\n //}\r\n //else\r\n //{\r\n // expiryDate = new Date(this.jobVacancy.jobCloseDateExternal);\r\n //}\r\n //var todaysDate = new Date();\r\n //todaysDate.setHours(0, 0, 0, 0);\r\n\r\n //if (expiryDate < todaysDate) {\r\n // this.snackBar.open(\r\n // \"Sorry, you have missed the deadline for applications\",\r\n // null,\r\n // {\r\n // duration: 4000,\r\n // }\r\n // );\r\n // return;\r\n //}\r\n \r\n if (!this.applicationConfirmation) {\r\n this.snackBar.open(\r\n \"Please confirm that your application is correct and completed in full\",\r\n null,\r\n {\r\n duration: 4000\r\n }\r\n );\r\n\r\n return;\r\n }\r\n if (!this.additionalInformation) {\r\n this.snackBar.open(\r\n \"Please provide a statement of motivation, this should be entered in the Additional Information field.\",\r\n null,\r\n {\r\n duration: 4000\r\n }\r\n );\r\n\r\n return;\r\n }\r\n if (!this.profileConfirmation) {\r\n this.snackBar.open(\r\n \"Please confirm that your profile details are correct before applying\",\r\n null,\r\n {\r\n duration: 4000\r\n }\r\n );\r\n\r\n return;\r\n }\r\n\r\n if (this.criteriaResults.some(s => s.answer === \"\")) {\r\n this.formError = true;\r\n this.snackBar.open(\r\n \"Please ensure all criteria questions have been answered\",\r\n null,\r\n {\r\n duration: 4000\r\n }\r\n );\r\n\r\n return;\r\n }\r\n\r\n this.snackBar.open(\r\n \"Your application is being submitted. This may take a short while and during this time, please do not refresh your browser or try to navigate away from this page. Thank You.\",\r\n null,\r\n { duration: 10000 }\r\n );\r\n this.spinnerService.activate();\r\n\r\n this.subscriptions.push(\r\n this.applicationService\r\n .createApplication(\r\n this.application,\r\n this.criteriaResults,\r\n this.additionalInformation,\r\n this.files,\r\n this.backgroundAnswers,\r\n this.competencyAnswers\r\n )\r\n .subscribe(() => {\r\n this.snackBar.open(\"Application successfully sent\", null, {\r\n duration: 10000\r\n });\r\n this.router.navigate([\"/vacancies\"]);\r\n })\r\n );\r\n }\r\n\r\n cancel() {\r\n if (\r\n window.confirm(\r\n \"Leaving this page will lose your attachments and criteria answers. Are you sure?\"\r\n )\r\n ) {\r\n this.router.navigate([\"/vacancies\"]);\r\n }\r\n }\r\n\r\n filesSelected(fileInputEvent: any) {\r\n let files = fileInputEvent.target.files;\r\n\r\n for (let index = 0; index < files.length; index++) {\r\n const file: File = files[index];\r\n console.log(file);\r\n\r\n if (!this.supportedFileTypes.some(s => s === file.type)) {\r\n continue;\r\n }\r\n\r\n if (!this.files.some(a => a.fileName === file.name)) {\r\n let reader = new FileReader();\r\n reader.readAsDataURL(file);\r\n reader.onload = () => {\r\n this.files.push(\r\n new FileBase(file.name, file.type, reader.result as string)\r\n );\r\n };\r\n }\r\n }\r\n }\r\n\r\n updateCollection(criteriaId: number, answer: string) {\r\n let existingAnswer = this.criteriaResults.find(f => f.id === criteriaId);\r\n existingAnswer.correct = existingAnswer.criteria.criteriaAnswers.some(\r\n s => s === answer\r\n );\r\n existingAnswer.answer = answer;\r\n }\r\n}\r\n","module.exports = \"\\r\\n
\\r\\n
\\r\\n
\\r\\n

Vacancies

\\r\\n
\\r\\n\\r\\n
\\r\\n

Refine Search

\\r\\n\\r\\n
\\r\\n \\r\\n Job Role\\r\\n \\r\\n \\r\\n {{role}}\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n
\\r\\n clear\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Job Location\\r\\n \\r\\n \\r\\n {{location}}\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n
\\r\\n clear\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n {{vacancy.title}}\\r\\n {{vacancy.location}} - {{vacancy.role}}\\r\\n \\r\\n \\r\\n
Contract Type - {{vacancy.contractType}}
\\r\\n
Job Close Date - {{vacancy.deadlineforapplications}}
\\r\\n
Vacancy Reference - {{vacancy.vacancyReference}}
\\r\\n
\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n\"","module.exports = \".vacancy-image {\\n background-position: top left;\\n background-repeat: no-repeat;\\n background-size: contain; }\\n\\nmat-card-content {\\n margin-left: 16px;\\n margin-bottom: 0px; }\\n\\nmat-card-actions {\\n padding: 0px;\\n margin-bottom: 0px; }\\n\\n.pane {\\n padding-bottom: 10px; }\\n\\nmat-icon:hover {\\n cursor: pointer; }\\n\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29udGFpbmVycy9qb2ItdmFjYW5jaWVzL0M6XFxVc2Vyc1xcU2ltb25Db3dnaWxsXFxzb3VyY2VcXElNT1xcaW1vLWFwcGxpY2FudC10cmFja2luZy1zeXN0ZW0td2ZlXFxUZXN0V2ViQWNjb3VudHNcXENsaWVudEFwcC9zcmNcXGFwcFxcY29udGFpbmVyc1xcam9iLXZhY2FuY2llc1xcam9iLXZhY2FuY2llcy5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLDZCQUE2QjtFQUM3Qiw0QkFBNEI7RUFDNUIsd0JBQXdCLEVBQUE7O0FBRzFCO0VBQ0UsaUJBQWlCO0VBQ2pCLGtCQUFrQixFQUFBOztBQUdwQjtFQUNFLFlBQVk7RUFDWixrQkFBa0IsRUFBQTs7QUFHcEI7RUFDRSxvQkFBb0IsRUFBQTs7QUFHdEI7RUFDRSxlQUFlLEVBQUEiLCJmaWxlIjoic3JjL2FwcC9jb250YWluZXJzL2pvYi12YWNhbmNpZXMvam9iLXZhY2FuY2llcy5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi52YWNhbmN5LWltYWdlIHsgXHJcbiAgYmFja2dyb3VuZC1wb3NpdGlvbjogdG9wIGxlZnQ7XHJcbiAgYmFja2dyb3VuZC1yZXBlYXQ6IG5vLXJlcGVhdDsgXHJcbiAgYmFja2dyb3VuZC1zaXplOiBjb250YWluOyBcclxufVxyXG5cclxubWF0LWNhcmQtY29udGVudCB7XHJcbiAgbWFyZ2luLWxlZnQ6IDE2cHg7XHJcbiAgbWFyZ2luLWJvdHRvbTogMHB4O1xyXG59XHJcblxyXG5tYXQtY2FyZC1hY3Rpb25zIHsgXHJcbiAgcGFkZGluZzogMHB4O1xyXG4gIG1hcmdpbi1ib3R0b206IDBweDtcclxufVxyXG5cclxuLnBhbmUge1xyXG4gIHBhZGRpbmctYm90dG9tOiAxMHB4O1xyXG59XHJcblxyXG5tYXQtaWNvbjpob3ZlciB7XHJcbiAgY3Vyc29yOiBwb2ludGVyO1xyXG59XHJcbiJdfQ== */\"","import { Component, OnInit } from '@angular/core';\r\nimport { JobVacanciesService } from 'src/app/services/job-vacancies/job-vacancies.service';\r\nimport { Observable } from 'rxjs';\r\nimport { JobVacancy } from 'src/app/models/job-vacancy.model';\r\nimport { map, share } from 'rxjs/operators';\r\nimport { onlyUnique } from '../../functions/only-unique.function';\r\nimport { SpinnerService } from 'src/app/services/spinner/spinner.service';\r\n\r\n@Component({\r\n selector: 'app-job-vacancies',\r\n templateUrl: './job-vacancies.component.html',\r\n styleUrls: ['./job-vacancies.component.scss']\r\n})\r\nexport class JobVacanciesComponent implements OnInit {\r\n\r\n public sourceVacancies$: Observable>;\r\n public vacancies$: Observable>;\r\n\r\n public roles$: Observable>;\r\n public location$: Observable>;\r\n\r\n public selectedRole: string = '';\r\n public selectedLocation: string = '';\r\n\r\n public detailSelected = false;\r\n public selectedVacancy: JobVacancy;\r\n\r\n constructor(\r\n private jobVacancies: JobVacanciesService,\r\n private spinnerService: SpinnerService) { }\r\n\r\n ngOnInit() {\r\n this.spinnerService.activate();\r\n this.sourceVacancies$ = this.jobVacancies.getLiveVacancies().pipe(map(vacancies => vacancies.sort((a, b) => {\r\n if (a.title < b.title) {\r\n return 1;\r\n } else if (a.title > b.title) {\r\n return -1;\r\n } else {\r\n return 0;\r\n }\r\n }))).pipe(share());\r\n\r\n this.vacancies$ = this.sourceVacancies$;\r\n this.vacancies$.subscribe(() => this.spinnerService.deactivate());\r\n\r\n this.roles$ = this.vacancies$.pipe(map(vacancies => vacancies.map(m => m.role).filter(onlyUnique).sort()));\r\n this.location$ = this.vacancies$.pipe(map(vacancies => vacancies.map(m => m.location).filter(onlyUnique).sort()));\r\n\r\n }\r\n\r\n public selectVacancy(vacancy: JobVacancy): void {\r\n this.detailSelected = true;\r\n this.selectedVacancy = vacancy;\r\n }\r\n\r\n public returnToMain(): void {\r\n this.detailSelected = false;\r\n this.selectedVacancy = null;\r\n }\r\n\r\n clearRole() {\r\n this.spinnerService.activate();\r\n\r\n this.selectedRole = '';\r\n this.vacancies$ = this.sourceVacancies$.pipe(map(vacancies => {\r\n this.spinnerService.deactivate();\r\n\r\n if (this.selectedLocation !== '') {\r\n return vacancies.filter(f => f.location === this.selectedLocation);\r\n } else {\r\n return vacancies;\r\n }\r\n }));\r\n }\r\n\r\n clearLocation() {\r\n this.spinnerService.activate();\r\n\r\n this.selectedLocation = '';\r\n this.vacancies$ = this.sourceVacancies$.pipe(map(vacancies => {\r\n this.spinnerService.deactivate();\r\n\r\n if (this.selectedRole !== '') {\r\n return vacancies.filter(f => f.role === this.selectedRole);\r\n } else {\r\n return vacancies;\r\n }\r\n }));\r\n }\r\n\r\n filterVacancies() {\r\n this.spinnerService.activate();\r\n\r\n this.vacancies$ = this.sourceVacancies$.pipe(map(vacancies => {\r\n this.spinnerService.deactivate();\r\n\r\n if (this.selectedRole === '') {\r\n return vacancies.filter(f => f.location === this.selectedLocation);\r\n } else if (this.selectedLocation === '') {\r\n return vacancies.filter(f => f.role === this.selectedRole);\r\n } else {\r\n return vacancies.filter(f => f.role === this.selectedRole && f.location === this.selectedLocation);\r\n }\r\n\r\n }));\r\n }\r\n}\r\n","module.exports = \"
\\r\\n
\\r\\n \\r\\n \\r\\n Connecting...\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\"","module.exports = \"mat-card-content {\\n margin-left: 16px; }\\n\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29udGFpbmVycy9sb2ctaW4vQzpcXFVzZXJzXFxTaW1vbkNvd2dpbGxcXHNvdXJjZVxcSU1PXFxpbW8tYXBwbGljYW50LXRyYWNraW5nLXN5c3RlbS13ZmVcXFRlc3RXZWJBY2NvdW50c1xcQ2xpZW50QXBwL3NyY1xcYXBwXFxjb250YWluZXJzXFxsb2ctaW5cXGxvZy1pbi5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLGlCQUFpQixFQUFBIiwiZmlsZSI6InNyYy9hcHAvY29udGFpbmVycy9sb2ctaW4vbG9nLWluLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsibWF0LWNhcmQtY29udGVudCB7XHJcbiAgbWFyZ2luLWxlZnQ6IDE2cHg7XHJcbn0iXX0= */\"","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-log-in',\r\n templateUrl: './log-in.component.html',\r\n styleUrls: ['./log-in.component.scss']\r\n})\r\nexport class LogInComponent implements OnInit {\r\n\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","module.exports = \"
\\r\\n
\\r\\n \\r\\n Logging out...\\r\\n \\r\\n
\\r\\n
\"","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2NvbnRhaW5lcnMvbG9nLW91dC9sb2ctb3V0LmNvbXBvbmVudC5zY3NzIn0= */\"","import { Component, OnInit } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { MsalService } from '@azure/msal-angular';\r\n\r\n@Component({\r\n selector: 'app-log-out',\r\n templateUrl: './log-out.component.html',\r\n styleUrls: ['./log-out.component.scss']\r\n})\r\nexport class LogOutComponent implements OnInit {\r\n\r\n constructor(private router: Router,\r\n private auth: MsalService) { }\r\n\r\n ngOnInit() {\r\n this.logout();\r\n }\r\n\r\n private logout() {\r\n this.auth.logout();\r\n }\r\n\r\n}\r\n","module.exports = \"

Previous applications

\\r\\n
\\r\\n

Please note changes to your profile will not be made to submitted applications e.g. if contact details have changed please email recruitment@imo.org

\\r\\n
\\r\\n refresh\\r\\n
\\r\\n
\\r\\n\\r\\n
0\\\" fxLayout=\\\"column\\\" fxLayoutAlign=\\\"start stretch\\\" fxLayoutGap=\\\"5px\\\">\\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n
Position {{application.jobTitle}} Applied On {{application.applicationDate | date:'dd/MM/yyyy'}} Status {{application.status}}
\\r\\n
\\r\\n\\r\\n
\\r\\n You do not currently have any active applications with us. We look forward to receiving one from you soon!\\r\\n
\\r\\n\\r\\n
\\r\\n Retrieving your applications, please wait...\\r\\n
\\r\\n\"","module.exports = \"td.mat-cell {\\n padding: 5px !important; }\\n\\nmat-icon {\\n cursor: pointer; }\\n\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29udGFpbmVycy9wcmV2aW91cy1hcHBsaWNhdGlvbnMvQzpcXFVzZXJzXFxTaW1vbkNvd2dpbGxcXHNvdXJjZVxcSU1PXFxpbW8tYXBwbGljYW50LXRyYWNraW5nLXN5c3RlbS13ZmVcXFRlc3RXZWJBY2NvdW50c1xcQ2xpZW50QXBwL3NyY1xcYXBwXFxjb250YWluZXJzXFxwcmV2aW91cy1hcHBsaWNhdGlvbnNcXHByZXZpb3VzLWFwcGxpY2F0aW9ucy5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLHVCQUF1QixFQUFBOztBQUd6QjtFQUNFLGVBQWUsRUFBQSIsImZpbGUiOiJzcmMvYXBwL2NvbnRhaW5lcnMvcHJldmlvdXMtYXBwbGljYXRpb25zL3ByZXZpb3VzLWFwcGxpY2F0aW9ucy5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbInRkLm1hdC1jZWxsIHtcclxuICBwYWRkaW5nOiA1cHggIWltcG9ydGFudDtcclxufVxyXG5cclxubWF0LWljb24ge1xyXG4gIGN1cnNvcjogcG9pbnRlcjtcclxufVxyXG4iXX0= */\"","import { Component, OnInit, Input } from '@angular/core';\r\nimport { ApplicationService } from 'src/app/services/application/application.service';\r\nimport { PreviousApplication } from 'src/app/models/previous-application.model';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'app-previous-applications',\r\n templateUrl: './previous-applications.component.html',\r\n styleUrls: ['./previous-applications.component.scss']\r\n})\r\nexport class PreviousApplicationsComponent implements OnInit {\r\n\r\n @Input()\r\n public userId: string;\r\n\r\n public applicationLoading: boolean;\r\n\r\n public applications: Array;\r\n\r\n public displayedColumns = ['title', 'applied', 'status'];\r\n\r\n constructor(\r\n private applicationService: ApplicationService\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.applicationLoading = true;\r\n this.getApplications();\r\n }\r\n\r\n refreshApplications() {\r\n this.applicationLoading = true;\r\n this.getApplications();\r\n }\r\n\r\n private getApplications() {\r\n this.applicationService.getApplicationsByUserId(this.userId).subscribe((applications) => {\r\n this.applications = applications;\r\n this.applicationLoading = false;\r\n })\r\n }\r\n\r\n}\r\n","module.exports = \"
\\r\\n
\\r\\n
\\r\\n
\\r\\n

{{profile.firstName}} {{profile.lastName}}

\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n
You haven't set up your applicant profile yet, to do so click the button below.
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n\\r\\n
\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n
\\r\\n
To view or modify your applicant profile please sign in using the below button.
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\"","module.exports = \".wrapper {\\n margin-left: 10px;\\n margin-right: 10px; }\\n\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29udGFpbmVycy9wcm9maWxlL0M6XFxVc2Vyc1xcU2ltb25Db3dnaWxsXFxzb3VyY2VcXElNT1xcaW1vLWFwcGxpY2FudC10cmFja2luZy1zeXN0ZW0td2ZlXFxUZXN0V2ViQWNjb3VudHNcXENsaWVudEFwcC9zcmNcXGFwcFxcY29udGFpbmVyc1xccHJvZmlsZVxccHJvZmlsZS5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLGlCQUFpQjtFQUNqQixrQkFBa0IsRUFBQSIsImZpbGUiOiJzcmMvYXBwL2NvbnRhaW5lcnMvcHJvZmlsZS9wcm9maWxlLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLndyYXBwZXIge1xyXG4gIG1hcmdpbi1sZWZ0OiAxMHB4O1xyXG4gIG1hcmdpbi1yaWdodDogMTBweDtcclxufSJdfQ== */\"","import { Component, OnInit } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { ProfileService } from 'src/app/services/profile/profile.service';\r\nimport { ApplicantProfile } from 'src/app/models/applicant-profile.model';\r\nimport { ApplicantProfileService } from 'src/app/services/applicant-profile/applicant-profile.service';\r\n//import { MsalService } from '@azure/msal-angular';\r\nimport { environment } from 'src/environments/environment';\r\nimport { NavigationService } from 'src/app/services/navigation/navigation.service';\r\nimport { Router } from '@angular/router';\r\nimport { AuthService } from '../../services/auth/web-accounts.service';\r\nimport { switchMap, map } from 'rxjs/operators';\r\n\r\n@Component({\r\n selector: 'app-profile',\r\n templateUrl: './profile.component.html',\r\n styleUrls: ['./profile.component.scss']\r\n})\r\nexport class ProfileComponent implements OnInit {\r\n\r\n public profile$: Observable;\r\n\r\n public isSignedIn = false;\r\n\r\n constructor(private auth: AuthService,\r\n private profileService: ApplicantProfileService,\r\n private navigationService: NavigationService,\r\n private router: Router) { }\r\n\r\n ngOnInit() {\r\n this.getProfile();\r\n }\r\n\r\n private getProfile(): void {\r\n this.auth.authenticate().subscribe(isAuth => {\r\n if (isAuth) {\r\n this.isSignedIn = true;\r\n this.profile$ = this.profileService.getProfile();\r\n this.profile$.subscribe(profile => console.log(profile));\r\n } else {\r\n this.isSignedIn = false;\r\n }\r\n });\r\n }\r\n\r\n public closeMenu(): void {\r\n this.navigationService.openRightNav('profile');\r\n }\r\n\r\n public logOut(): void {\r\n window.location.href = \"https://webaccounts.imo.org/Logout.aspx\";\r\n }\r\n}\r\n","module.exports = \"
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n Register\\r\\n \\r\\n \\r\\n
\\r\\n If this is your first time applying for a job with us then you will need to register and create an applicant\\r\\n profile. Note that the app uses a microsoft account (outlook, skype, xbox etc.) to verify your identity when\\r\\n you register.\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n Log In\\r\\n \\r\\n \\r\\n
\\r\\n If you have registered before and want to apply for a vacancy, edit your profile or review your current\\r\\n applications then please log in using the same microsoft account you used to register.\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n
\"","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2NvbnRhaW5lcnMvcmVnaXN0ZXIvcmVnaXN0ZXIuY29tcG9uZW50LnNjc3MifQ== */\"","import { Component, OnInit } from '@angular/core';\r\nimport { MsalService } from '@azure/msal-angular';\r\nimport { Router } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'app-register',\r\n templateUrl: './register.component.html',\r\n styleUrls: ['./register.component.scss']\r\n})\r\nexport class RegisterComponent implements OnInit {\r\n\r\n constructor(private auth: MsalService,\r\n private router: Router) { }\r\n\r\n ngOnInit() {\r\n if (this.auth.getUser()) {\r\n this.router.navigate(['/vacancies']);\r\n }\r\n }\r\n}\r\n","export function onlyUnique(value, index, self) {\r\n return self.indexOf(value) === index;\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, Router } from '@angular/router';\r\nimport { MsalService } from '@azure/msal-angular';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class IsAuthenticated implements CanActivate {\r\n\r\n constructor(private router: Router,\r\n private auth: MsalService) {\r\n }\r\n\r\n canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean {\r\n const user = this.auth.getUser();\r\n\r\n if (user) {\r\n return true;\r\n } else {\r\n sessionStorage.setItem('msal.login.redirect', state.url);\r\n this.router.navigate(['/register']);\r\n return false;\r\n }\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { ActivatedRouteSnapshot, RouterStateSnapshot, Router, Resolve } from '@angular/router';\r\nimport { Application } from 'src/app/models/application.model';\r\nimport { Observable, EMPTY } from 'rxjs';\r\nimport { ApplicantProfileService } from 'src/app/services/applicant-profile/applicant-profile.service';\r\nimport { JobVacanciesService } from 'src/app/services/job-vacancies/job-vacancies.service';\r\nimport { mergeMap, map, take, share } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class JobApplicationResolverService implements Resolve {\r\n\r\n constructor(private applicantProfileService: ApplicantProfileService,\r\n private jobVacancyService: JobVacanciesService,\r\n private router: Router\r\n ) { }\r\n\r\n resolve(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable | Observable {\r\n const id = route.paramMap.get('id');\r\n\r\n return this.jobVacancyService.getVacancyById(parseInt(id, 10)).pipe(\r\n take(1),\r\n mergeMap((vacancy) => {\r\n if (vacancy) {\r\n return this.applicantProfileService.getProfile().pipe(\r\n map((profile) => {\r\n if (profile) {\r\n const application = new Application();\r\n application.setDetails(vacancy, profile);\r\n return application;\r\n } else {\r\n this.router.navigate(['/vacancies']);\r\n return null;\r\n }\r\n })\r\n ).pipe(share());\r\n } else {\r\n this.router.navigate(['/vacancies']);\r\n return EMPTY;\r\n }\r\n })\r\n );\r\n }\r\n}\r\n\r\n","import { Injectable, OnDestroy } from '@angular/core';\r\nimport { CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, Router } from '@angular/router';\r\nimport { MsalService, MsalGuard } from '@azure/msal-angular';\r\nimport { Subscription } from 'rxjs';\r\nimport { ApplicantProfileService } from 'src/app/services/applicant-profile/applicant-profile.service';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class Redirect implements CanActivate, OnDestroy {\r\n\r\n private subscription: Subscription;\r\n\r\n constructor(private router: Router,\r\n private auth: MsalService,\r\n private msalGuard: MsalGuard,\r\n private profileService: ApplicantProfileService) {\r\n }\r\n\r\n canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean | Promise {\r\n\r\n return Promise.resolve(this.msalGuard.canActivate(route, state)).then((canActivate) => {\r\n if (canActivate) {\r\n this.subscription = this.profileService.getProfile().subscribe((profile) => {\r\n if (profile && profile.applicantProfileId && profile.applicantProfileId > 0) {\r\n const url = sessionStorage.getItem('msal.login.redirect');\r\n sessionStorage.removeItem('msal.login.redirect');\r\n this.router.navigate([url]);\r\n } else {\r\n this.router.navigate(['/manageprofile']);\r\n }\r\n\r\n return false;\r\n });\r\n } else {\r\n return false;\r\n }\r\n\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {\r\n if (this.subscription) {\r\n this.subscription.unsubscribe();\r\n }\r\n }\r\n}\r\n","import { Injectable, OnDestroy } from '@angular/core';\r\nimport { CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, Router } from '@angular/router';\r\nimport { Subscription, Observable } from 'rxjs';\r\nimport { ApplicantProfileService } from 'src/app/services/applicant-profile/applicant-profile.service';\r\nimport { AuthService } from '../services/auth/web-accounts.service';\r\nimport { map } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class WebAccountsRedirect implements CanActivate, OnDestroy {\r\n\r\n private subscription: Subscription;\r\n\r\n constructor(private router: Router,\r\n private authService: AuthService) {\r\n }\r\n\r\n canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable {\r\n\r\n return this.authService.authenticate().pipe(\r\n map((isAuthenticated) => {\r\n if (isAuthenticated) {\r\n return true;\r\n }\r\n window.location.href = \"/api/Account\"\r\n //this.router.navigate(['/login/failed']);\r\n return false;\r\n }));\r\n\r\n }\r\n\r\n ngOnDestroy(): void {\r\n if (this.subscription) {\r\n this.subscription.unsubscribe();\r\n }\r\n }\r\n}\r\n","export class Answer {\r\n\r\n public question: string;\r\n\r\n public answer: string;\r\n\r\n constructor(question: string) {\r\n this.question = question;\r\n }\r\n\r\n}\r\n","export class ApplicantLanguage {\r\n\r\n public applicantLanguageId: number;\r\n\r\n public language: string;\r\n public reading: string;\r\n public speaking: string;\r\n public writing: string;\r\n public applicantProfileId: number;\r\n\r\n}\r\n","import { WorkHistory } from './work-history.model';\r\nimport { Qualification } from './qualification-model';\r\nimport { Reference } from './reference.model';\r\nimport { Certification } from './certification.model';\r\nimport { ApplicantLanguage } from './applicant-language.model';\r\n\r\nexport class ApplicantProfile {\r\n\r\n\r\n // Personal information tab\r\n public applicantProfileId: number;\r\n public userId: string;\r\n public salutation: string;\r\n public firstName: string;\r\n public middleName: string;\r\n public lastName: string;\r\n public maidenName: string;\r\n public addressLine1: string\r\n public addressLine2: string;\r\n public townCity: string;\r\n public postCode: string;\r\n public county: string;\r\n public currentAddressCountry: string;\r\n public permanentAddressLine1: string;\r\n public permanentAddressLine2: string;\r\n public permanentAddressCity: string;\r\n public permanentAddressPostCode: string;\r\n public permanentAddressStateCounty: string;\r\n public permanentAddressCountry: string;\r\n public emailAddress: string;\r\n public homePhone: string;\r\n public cellPhone: string;\r\n public businessPhone: string;\r\n public pSEmployeeSource: string;\r\n\r\n // Equality and diversity tab\r\n public gender: string;\r\n public civilStatus: string;\r\n public placeOfBirth: string;\r\n public countryOfBirth: string;\r\n public nationality: string;\r\n public secondNationality: string;\r\n public thirdNationality: string;\r\n public competencies: string;\r\n\r\n // Basic profile information tab\r\n public contractType: string;\r\n public employedByAnotherAgency: string;\r\n public currentlyEmployedIMO: string;\r\n\r\n public motherTongue1: string;\r\n public motherTongue2: string;\r\n\r\n public highestQualification: number;\r\n public availability: string;\r\n public dateOfBirth: string;\r\n\r\n public employmentType: string;\r\n public employedOtherUN: string;\r\n //public specifyAgency: string;\r\n public unProficiencyExam: string;\r\n\r\n public willingToUnderTakeMedical: string;\r\n public familyMemberEmployedByIMOOrUNOrg: string;\r\n public employedFamilyMemberName: string;\r\n public employedFamilyMemberRelationship: string;\r\n public employedFamilyMemberDutyStation: string;\r\n public willingToTravelInternationally: string;\r\n public willingToUndergoBackgroundCheck: string;\r\n public criminalConvictions: string;\r\n public convictionStatement: string;\r\n public misconductStatement: string;\r\n public everInvestigatedOrDisciplinedForMisconduct: string;\r\n public civilServentInOwnGovernment: string;\r\n public civilServentInOwnGovernmentDetails: string;\r\n\r\n public professionalSocietiesPublications: string;\r\n\r\n public workHistories: Array;\r\n public qualifications: Array;\r\n public references: Array;\r\n public certifications: Array\r\n public applicantLanguages: Array;\r\n\r\n public constructor() {\r\n this.workHistories = new Array();\r\n this.qualifications = new Array();\r\n this.references = new Array();\r\n this.certifications = new Array();\r\n this.applicantLanguages = new Array();\r\n }\r\n\r\n}\r\n","import { JobVacancy, ILookup } from 'src/app/models/job-vacancy.model';\r\nimport { ApplicantProfile } from 'src/app/models/applicant-profile.model';\r\nimport { WorkHistory } from './work-history.model';\r\nimport { Qualification } from './qualification-model';\r\nimport { Reference } from './reference.model';\r\nimport { Certification } from './certification.model';\r\nimport { ApplicantLanguage } from './applicant-language.model';\r\n\r\nexport class Application {\r\n\r\n public userId: string;\r\n public salutation: string;\r\n public firstName: string;\r\n public middleName: string;\r\n public lastName: string;\r\n public maidenName: string;\r\n public addressLine1: string\r\n public addressLine2: string;\r\n public townCity: string;\r\n public postCode: string;\r\n public county: string;\r\n public currentAddressCountry: string;\r\n public permanentAddressLine1: string;\r\n public permanentAddressLine2: string;\r\n public permanentAddressCity: string;\r\n public permanentAddressPostCode: string;\r\n public permanentAddressStateCounty: string;\r\n public permanentAddressCountry: string;\r\n public emailAddress: string;\r\n public homePhone: string;\r\n public cellPhone: string;\r\n public businessPhone: string;\r\n public pSEmployeeSource: string;\r\n\r\n public professionalSocietiesPublications: string;\r\n public competencies: string;\r\n\r\n public willingToUnderTakeMedical: string;\r\n public familyMemberEmployedByIMOOrUNOrg: string;\r\n public employedFamilyMemberName: string;\r\n public employedFamilyMemberRelationship: string;\r\n public employedFamilyMemberDutyStation: string;\r\n public willingToTravelInternationally: string;\r\n public willingToUndergoBackgroundCheck: string;\r\n public criminalConvictions: string;\r\n public convictionStatement: string;\r\n public everInvestigatedOrDisciplinedForMisconduct: string;\r\n public misconductStatement: string;\r\n public civilServentInOwnGovernment: string;\r\n public civilServentInOwnGovernmentDetails: string;\r\n\r\n // criteria\r\n public jobVacancyCriteria: Array;\r\n public workHistories: Array;\r\n public qualifications: Array;\r\n public references: Array;\r\n public certifications: Array;\r\n public applicantLanguages: Array;\r\n\r\n\r\n // job vacancy details\r\n\r\n public jobVacancyId: number;\r\n public applicationDate: Date;\r\n public jobDescription: string;\r\n public jobTitle: string;\r\n\r\n public highestQualification: number;\r\n public currentlyEmployedIMO: string;\r\n public employmentType: string;\r\n public employedOtherUN: string;\r\n //public specifyAgency: string;\r\n public motherTongue1: string;\r\n public motherTongue2: string;\r\n public unProficiencyExam: string;\r\n\r\n public availability: string;\r\n public gender: string;\r\n public dateOfBirth: string;\r\n public secondNationality: string;\r\n public nationality: string;\r\n public thirdNationality: string;\r\n\r\n setDetails(vacancy: JobVacancy, profile: ApplicantProfile) {\r\n this.nationality = profile.nationality\r\n this.secondNationality = profile.secondNationality\r\n this.thirdNationality = profile.thirdNationality\r\n this.highestQualification = profile.highestQualification\r\n this.currentlyEmployedIMO = profile.currentlyEmployedIMO\r\n this.employmentType = profile.employmentType\r\n this.employedOtherUN = profile.employedOtherUN\r\n //this.specifyAgency = profile.specifyAgency\r\n this.motherTongue1 = profile.motherTongue1\r\n this.motherTongue2 = profile.motherTongue2\r\n this.unProficiencyExam = profile.unProficiencyExam\r\n this.gender = profile.gender\r\n this.dateOfBirth = profile.dateOfBirth\r\n\r\n this.availability = profile.availability;\r\n\r\n this.professionalSocietiesPublications = profile.professionalSocietiesPublications;\r\n\r\n this.jobVacancyId = vacancy.jobVacancyId;\r\n this.jobTitle = vacancy.title;\r\n this.jobDescription = vacancy.jobDescription;\r\n\r\n this.applicationDate = new Date();\r\n\r\n this.userId = profile.userId;\r\n this.salutation = profile.salutation;\r\n this.firstName = profile.firstName;\r\n this.middleName = profile.middleName;\r\n this.lastName = profile.lastName;\r\n this.maidenName = profile.maidenName;\r\n this.addressLine1 = profile.addressLine1;\r\n this.addressLine2 = profile.addressLine2;\r\n this.townCity = profile.townCity;\r\n this.county = profile.county;\r\n this.postCode = profile.postCode;\r\n this.currentAddressCountry = profile.currentAddressCountry;\r\n this.permanentAddressLine1 = profile.permanentAddressLine1;\r\n this.permanentAddressLine2 = profile.permanentAddressLine2;\r\n this.permanentAddressCity = profile.permanentAddressCity;\r\n this.permanentAddressPostCode = profile.permanentAddressPostCode;\r\n this.permanentAddressStateCounty = profile.permanentAddressStateCounty;\r\n this.permanentAddressCountry = profile.permanentAddressCountry;\r\n this.emailAddress = profile.emailAddress;\r\n this.homePhone = profile.homePhone;\r\n this.cellPhone = profile.cellPhone;\r\n this.businessPhone = profile.businessPhone;\r\n\r\n this.competencies = profile.competencies;\r\n\r\n this.jobVacancyCriteria = vacancy.jobCriteriaCategories;\r\n\r\n this.willingToUnderTakeMedical = profile.willingToUnderTakeMedical;\r\n this.familyMemberEmployedByIMOOrUNOrg = profile.familyMemberEmployedByIMOOrUNOrg;\r\n this.employedFamilyMemberName = profile.employedFamilyMemberName;\r\n this.employedFamilyMemberRelationship = profile.employedFamilyMemberRelationship;\r\n this.employedFamilyMemberDutyStation = profile.employedFamilyMemberDutyStation;\r\n this.willingToTravelInternationally = profile.willingToTravelInternationally;\r\n this.willingToUndergoBackgroundCheck = profile.willingToUndergoBackgroundCheck;\r\n this.criminalConvictions = profile.criminalConvictions;\r\n this.convictionStatement = profile.convictionStatement;\r\n this.everInvestigatedOrDisciplinedForMisconduct = profile.everInvestigatedOrDisciplinedForMisconduct;\r\n this.misconductStatement = profile.misconductStatement;\r\n this.civilServentInOwnGovernment = profile.civilServentInOwnGovernment;\r\n this.civilServentInOwnGovernmentDetails = profile.civilServentInOwnGovernmentDetails;\r\n\r\n this.workHistories = profile.workHistories;\r\n this.qualifications = profile.qualifications;\r\n this.references = profile.references;\r\n\r\n this.certifications = profile.certifications;\r\n this.applicantLanguages = profile.applicantLanguages;\r\n\r\n }\r\n\r\n}\r\n","export class Certification {\r\n\r\n public certificationId: number;\r\n\r\n public titleOfCertification: string;\r\n\r\n public issueYear: number;\r\n\r\n public issueOrganisation: string;\r\n\r\n public applicantProfileId: number;\r\n}\r\n","import { JobVacancyCriteria } from './job-vacancy-criteria.model';\r\n\r\nexport class CriteriaResults {\r\n id: number;\r\n criteria: JobVacancyCriteria;\r\n answer: string;\r\n correct: boolean;\r\n\r\n constructor(criteria: JobVacancyCriteria) {\r\n this.id = criteria.id;\r\n this.criteria = criteria;\r\n this.answer = '';\r\n this.correct = false;\r\n }\r\n}\r\n","export class FileBase {\r\n public fileName: string;\r\n public fileType: string;\r\n public value: string;\r\n\r\n constructor(name: string, type: string, baseValue: string) {\r\n this.fileName = name;\r\n this.fileType = type;\r\n this.value = baseValue;\r\n }\r\n}","export class JobVacancy {\r\n\r\n public jobVacancyId: number;\r\n\r\n public vacancyReference: string;\r\n\r\n public jobDescription: string;\r\n\r\n public title: string;\r\n\r\n public location: string;\r\n\r\n public imageUrl: string;\r\n\r\n public contractHours: string;\r\n\r\n public contractType: string;\r\n \r\n public internalExternal: string;\r\n \r\n public salary: string;\r\n\r\n public jobCloseDateExternal: Date;\r\n\r\n public jobCloseDateInternal: Date;\r\n\r\n public role: string;\r\n\r\n public classification: string;\r\n\r\n public jobCriteriaCategories: Array;\r\n\r\n\r\n //Additional\r\n public vacancyannouncement: string;\r\n public adminnumber: string;\r\n public postnumber: string;\r\n public contractInformation: string;\r\n public dateofissue: string;\r\n public deadlineforapplications: string;\r\n public salaryinformation: string;\r\n public purposeforthepost: string;\r\n public requiredcompetencies: string;\r\n public professionalexperience: string;\r\n public education: string;\r\n public languageskills: string;\r\n public otherskills: string;\r\n public maindutiesandresponsibilities: string;\r\n public circularNumber: string;\r\n\r\n public backgroundQuestions: string[];\r\n public competencyQuestions: string[];\r\n\r\n}\r\n\r\nexport interface ILookup {\r\n lookupId: number;\r\n lookupValue: string;\r\n}\r\n","export class Qualification {\r\n public qualificationId: string;\r\n\r\n public placeOfStudy: string;\r\n\r\n public qualificationTitle: string;\r\n\r\n public educationLevel: string;\r\n\r\n public dateAwarded: Date;\r\n\r\n public dateOfExpiry: Date;\r\n\r\n public country: string;\r\n\r\n public specialisation: string;\r\n\r\n public obtainedQualification: string;\r\n \r\n public applicantProfileId: number;\r\n\r\n}\r\n","export class Reference {\r\n public referenceId: string;\r\n \r\n public referenceName: string;\r\n\r\n public organisation: string;\r\n\r\n public referenceRelation: string;\r\n \r\n public referenceNumber: string;\r\n\r\n public referenceAddress: string;\r\n \r\n public dateSupervisedFrom: Date;\r\n\r\n public dateSupervisedTo: Date;\r\n \r\n public referenceContact: string;\r\n \r\n public applicantProfileId: number;\r\n \r\n }\r\n","export class WorkHistory {\r\n\r\n public workHistoryId: string;\r\n \r\n public nameOfEmployer: string;\r\n\r\n public contractType: string;\r\n\r\n public positionGrade: string;\r\n\r\n public registeredAddressOfEmployer: string;\r\n\r\n public sectorIndustry: string;\r\n\r\n public historyStartDate: Date;\r\n \r\n public historyEndDate: Date;\r\n\r\n public modeOfEmployment: string;\r\n\r\n public supervisorsName: string;\r\n\r\n public supervisorsTitle: string;\r\n\r\n public numberOfEmployeesSupervised: string;\r\n\r\n public jobHistoryDescription: string;\r\n \r\n public historyLeavingReason: string;\r\n \r\n public applicantProfileId: number;\r\n }\r\n","import { NgModule } from '@angular/core';\r\nimport { ToolbarComponent } from 'src/app/components/toolbar/toolbar.component';\r\nimport { NavigationComponent } from 'src/app/components/navigation/navigation.component';\r\nimport { AppControlsModule } from 'src/app/modules/app-controls.module';\r\nimport { RouterModule } from '@angular/router';\r\nimport { FlexLayoutModule } from '@angular/flex-layout';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { ProfileComponent } from 'src/app/containers/profile/profile.component';\r\nimport { JobVacanciesComponent } from 'src/app/containers/job-vacancies/job-vacancies.component';\r\nimport { JobApplicationComponent } from 'src/app/containers/job-application/job-application.component';\r\nimport { JobDescriptionComponent } from 'src/app/components/job-description/job-description.component';\r\nimport { EditProfileComponent } from 'src/app/containers/edit-profile/edit-profile.component';\r\nimport { LogInComponent } from 'src/app/containers/log-in/log-in.component';\r\nimport { LogOutComponent } from 'src/app/containers/log-out/log-out.component';\r\nimport { SlidePanelComponent } from 'src/app/components/slide-panel/slide-panel.component';\r\nimport { PreviousApplicationsComponent } from 'src/app/containers/previous-applications/previous-applications.component';\r\nimport { QualificationComponent } from 'src/app/components/profile/qualification/qualification.component';\r\nimport { WorkHistoryComponent } from 'src/app/components/profile/work-history/work-history.component';\r\nimport { ReferenceComponent } from 'src/app/components/profile/reference/reference.component';\r\nimport { CertificationComponent } from '../components/profile/certification/certification.component';\r\nimport { ApplicantLanguageComponent } from '../components/profile/applicant-language/applicant-language.component';\r\nimport { BackgroundQuestionComponent } from '../components/background-question/background-question.component';\r\nimport { CompetencyQuestionComponent } from '../components/competency-question/competency-question.component';\r\nimport { MultiDatepickerComponent } from '../components/multidatepicker/multidatepicker.component';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n AppControlsModule,\r\n RouterModule,\r\n FlexLayoutModule,\r\n FormsModule,\r\n ReactiveFormsModule\r\n ],\r\n declarations: [\r\n ToolbarComponent,\r\n NavigationComponent,\r\n ProfileComponent,\r\n JobVacanciesComponent,\r\n JobApplicationComponent,\r\n JobDescriptionComponent,\r\n EditProfileComponent,\r\n LogInComponent,\r\n LogOutComponent,\r\n SlidePanelComponent,\r\n PreviousApplicationsComponent,\r\n QualificationComponent,\r\n WorkHistoryComponent,\r\n ReferenceComponent,\r\n CertificationComponent,\r\n ApplicantLanguageComponent,\r\n\r\n BackgroundQuestionComponent,\r\n CompetencyQuestionComponent,\r\n ],\r\n exports: [\r\n ToolbarComponent,\r\n NavigationComponent,\r\n ProfileComponent,\r\n JobVacanciesComponent,\r\n JobApplicationComponent,\r\n JobDescriptionComponent,\r\n EditProfileComponent,\r\n LogInComponent,\r\n LogOutComponent,\r\n SlidePanelComponent,\r\n PreviousApplicationsComponent,\r\n AppControlsModule,\r\n FlexLayoutModule,\r\n CommonModule,\r\n FormsModule,\r\n ]\r\n})\r\nexport class AppComponentsModule { }\r\n","import { NgModule } from '@angular/core';\r\n\r\nimport {\r\n MatButtonModule,\r\n MatToolbarModule,\r\n MatCardModule,\r\n MatSidenavModule,\r\n MatSlideToggleModule,\r\n MatSelectModule,\r\n MatTabsModule,\r\n MatListModule,\r\n MatIconModule,\r\n MatStepperModule,\r\n MatRadioModule,\r\n MatFormFieldModule,\r\n MatDatepickerModule,\r\n MatNativeDateModule,\r\n MatInputModule,\r\n MatTableModule,\r\n MatSnackBarModule,\r\n MatDialogModule,\r\n MatExpansionModule,\r\n MatMenuModule,\r\n MatCheckboxModule,\r\n MatTreeModule,\r\n MatGridListModule,\r\n MatTooltipModule,\r\n MatProgressBarModule,\r\n MatBadgeModule,\r\n MatButtonToggleModule,\r\n MatPaginatorModule,\r\n MatSortModule,\r\n MatProgressSpinnerModule\r\n} from '@angular/material';\r\n\r\n@NgModule({\r\n imports: [\r\n MatButtonModule,\r\n MatToolbarModule,\r\n MatCardModule,\r\n MatSidenavModule,\r\n MatSlideToggleModule,\r\n MatSelectModule,\r\n MatTabsModule,\r\n MatListModule,\r\n MatIconModule,\r\n MatStepperModule,\r\n MatRadioModule,\r\n MatFormFieldModule,\r\n MatDatepickerModule,\r\n MatNativeDateModule,\r\n MatInputModule,\r\n MatTableModule,\r\n MatSnackBarModule,\r\n MatDialogModule,\r\n MatExpansionModule,\r\n MatMenuModule,\r\n MatCheckboxModule,\r\n MatTreeModule,\r\n MatGridListModule,\r\n MatTooltipModule,\r\n MatProgressBarModule,\r\n MatBadgeModule,\r\n MatButtonToggleModule,\r\n MatPaginatorModule,\r\n MatSortModule,\r\n MatProgressSpinnerModule\r\n ],\r\n exports: [\r\n MatButtonModule,\r\n MatToolbarModule,\r\n MatCardModule,\r\n MatSidenavModule,\r\n MatSlideToggleModule,\r\n MatSelectModule,\r\n MatTabsModule,\r\n MatListModule,\r\n MatIconModule,\r\n MatStepperModule,\r\n MatRadioModule,\r\n MatFormFieldModule,\r\n MatDatepickerModule,\r\n MatNativeDateModule,\r\n MatInputModule,\r\n MatTableModule,\r\n MatSnackBarModule,\r\n MatDialogModule,\r\n MatExpansionModule,\r\n MatMenuModule,\r\n MatCheckboxModule,\r\n MatTreeModule,\r\n MatGridListModule,\r\n MatTooltipModule,\r\n MatProgressBarModule,\r\n MatBadgeModule,\r\n MatButtonToggleModule,\r\n MatPaginatorModule,\r\n MatSortModule,\r\n MatProgressSpinnerModule,\r\n ],\r\n declarations: [\r\n ]\r\n})\r\nexport class AppControlsModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule } from '@angular/router';\r\nimport { JobVacanciesComponent } from 'src/app/containers/job-vacancies/job-vacancies.component';\r\nimport { JobApplicationComponent } from 'src/app/containers/job-application/job-application.component';\r\nimport { LogInComponent } from 'src/app/containers/log-in/log-in.component';\r\nimport { LogOutComponent } from 'src/app/containers/log-out/log-out.component';\r\nimport { EditProfileComponent } from 'src/app/containers/edit-profile/edit-profile.component';\r\nimport { IsAuthenticated } from 'src/app/guards/is-authenticated.guard';\r\nimport { JobApplicationResolverService } from 'src/app/guards/job-application-resolver/job-application-resolver.service';\r\nimport { MsalGuard } from '@azure/msal-angular';\r\nimport { RegisterComponent } from 'src/app/containers/register/register.component';\r\nimport { Redirect } from 'src/app/guards/redirect.guard';\r\nimport { WebAccountsRedirect } from '../guards/web-accounts-redirect.guard';\r\nimport { JobDescriptionComponent } from '../components/job-description/job-description.component';\r\n\r\nconst routes: Routes = [\r\n {\r\n path: '', children: [\r\n { path: '', redirectTo: 'vacancies', pathMatch: 'full' },\r\n { path: 'home', redirectTo: 'vacancies', pathMatch: 'full' },\r\n { path: 'vacancies', component: JobVacanciesComponent },\r\n { path: 'vacancies/:id', component: JobDescriptionComponent },\r\n {\r\n path: 'application/:id',\r\n component: JobApplicationComponent,\r\n canActivate: [WebAccountsRedirect],\r\n resolve: { application: JobApplicationResolverService }\r\n },\r\n //{ path: 'login', component: LogInComponent, canActivate: [Redirect] },\r\n //{ path: 'register', component: RegisterComponent },\r\n //{ path: 'logout', component: LogOutComponent },\r\n { path: 'manageprofile', component: EditProfileComponent, canActivate: [WebAccountsRedirect] }\r\n ]\r\n }\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forRoot(routes, { scrollPositionRestoration: 'enabled'})],\r\n exports: [RouterModule]\r\n})\r\nexport class AppRoutingModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { HttpClientModule } from '@angular/common/http';\r\n\r\nimport { GraphService } from 'src/app/services/graph/graph.service';\r\nimport { ProfileService } from 'src/app/services/profile/profile.service';\r\nimport { NavigationService } from 'src/app/services/navigation/navigation.service';\r\nimport { ApiService } from 'src/app/services/api/api.service';\r\nimport { IsAuthenticated } from 'src/app/guards/is-authenticated.guard';\r\nimport { ApplicationService } from 'src/app/services/application/application.service';\r\nimport { Redirect } from 'src/app/guards/redirect.guard';\r\nimport { AuthService } from '../services/auth/web-accounts.service';\r\nimport { SelectedJobService } from '../services/selected-.Job/selected-job-service.service';\r\n\r\n@NgModule({\r\n imports: [\r\n HttpClientModule,\r\n ],\r\n providers: [\r\n GraphService,\r\n ProfileService,\r\n NavigationService,\r\n ApiService,\r\n ApplicationService,\r\n IsAuthenticated,\r\n Redirect,\r\n AuthService,\r\n SelectedJobService\r\n ]\r\n})\r\nexport class AppServicesModule { }\r\n","import { Injectable, OnDestroy } from '@angular/core';\r\nimport { MsalService, BroadcastService } from '@azure/msal-angular';\r\nimport { environment } from 'src/environments/environment';\r\nimport { Observable, from, of } from 'rxjs';\r\nimport { HttpHeaders, HttpClient } from '@angular/common/http';\r\nimport { map, switchMap } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ApiService implements OnDestroy {\r\n\r\n constructor(private http: HttpClient,\r\n private msal: MsalService,\r\n private broadcastService: BroadcastService) {\r\n }\r\n\r\n private subscription = this.broadcastService.subscribe('msal:acquireTokenFailure', () => {\r\n this.msal.acquireTokenRedirect(environment.api.scopes);\r\n });\r\n\r\n ngOnDestroy(): void {\r\n this.subscription.unsubscribe();\r\n }\r\n\r\n private getHeaders(): Observable {\r\n return of(new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n }));\r\n }\r\n\r\n public get(url: string): Observable> {\r\n const request = environment.api.baseUrl + url;\r\n\r\n return this.getHeaders().pipe(\r\n switchMap((headers) => {\r\n return this.http.get>(request, {\r\n headers: headers\r\n });\r\n })\r\n );\r\n }\r\n\r\n public post(url: string, model: T): Observable {\r\n const request = environment.api.baseUrl + url;\r\n\r\n return this.getHeaders().pipe(\r\n switchMap((headers) => {\r\n return this.http.post(request, model, {\r\n headers: headers\r\n });\r\n })\r\n );\r\n }\r\n\r\n public put(url: string, model: T, id: string | number): Observable {\r\n const request = environment.api.baseUrl + url + '/' + id;\r\n\r\n return this.getHeaders().pipe(\r\n switchMap((headers) => {\r\n return this.http.put(request, model, {\r\n headers: headers\r\n });\r\n })\r\n );\r\n }\r\n\r\n public delete(url: string, id: string | number): Observable {\r\n const request = environment.api.baseUrl + url + '/' + id;\r\n\r\n return this.getHeaders().pipe(\r\n switchMap((headers) => {\r\n return this.http.delete(request, {\r\n headers: headers\r\n });\r\n })\r\n );\r\n }\r\n\r\n public getById(url: string, id: number | string): Observable {\r\n const request = environment.api.baseUrl + url + '/' + id;\r\n\r\n return this.getHeaders().pipe(\r\n switchMap((headers) => {\r\n return this.http.get(request, {\r\n headers: headers\r\n });\r\n }));\r\n }\r\n}\r\n","\r\nimport { Injectable } from '@angular/core';\r\nimport { ApiService } from '../api/api.service';\r\nimport { Certification } from '../../models/certification.model';\r\nimport { Observable } from 'rxjs';\r\nimport { ApplicantLanguage } from '../../models/applicant-language.model';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ApplicantLanguageService {\r\n private apiUrl = 'ApplicantLanguages';\r\n constructor(\r\n private api: ApiService\r\n ) { }\r\n\r\n\r\n public saveLanguage(applicantProfileId: number, language: ApplicantLanguage): Observable {\r\n if (language.applicantLanguageId) {\r\n return this.api.put(this.apiUrl, language, language.applicantLanguageId);\r\n } else {\r\n language.applicantProfileId = applicantProfileId;\r\n return this.api.post(this.apiUrl, language);\r\n }\r\n }\r\n\r\n public deleteCertification(id: number | string): Observable {\r\n return this.api.delete(this.apiUrl, id);\r\n }\r\n}\r\n","import { Injectable, OnDestroy } from '@angular/core';\r\nimport { Observable, Subscription, of, EMPTY } from 'rxjs';\r\nimport { ApiService } from 'src/app/services/api/api.service';\r\nimport { ApplicantProfile } from 'src/app/models/applicant-profile.model';\r\nimport { catchError, map, switchMap } from 'rxjs/operators';\r\n//import { MsalService } from '@azure/msal-angular/dist/msal.service';\r\nimport { AuthService } from '../auth/web-accounts.service';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ApplicantProfileService implements OnDestroy {\r\n\r\n private apiUrl = 'ApplicantProfiles';\r\n\r\n private profile: ApplicantProfile;\r\n\r\n private subscription: Subscription;\r\n\r\n constructor(private auth: AuthService,\r\n private api: ApiService) { }\r\n\r\n public getProfile(): Observable {\r\n return this.auth.getUser().pipe(switchMap(user => {\r\n /* if (this.profile) {\r\n return of(this.profile);\r\n } */\r\n\r\n const filter = '?$filter=UserId eq \\'' + user.displayableId + '\\'';\r\n\r\n const profileReturn = this.api.get(this.apiUrl + filter).pipe(\r\n map(profiles => {\r\n if (profiles.length) {\r\n return profiles[0];\r\n } else {\r\n return new ApplicantProfile();\r\n }\r\n }),\r\n catchError(() => {\r\n return of(new ApplicantProfile());\r\n }));\r\n\r\n\r\n this.subscription = profileReturn.subscribe(profile => {\r\n this.profile = profile;\r\n });\r\n\r\n return profileReturn;\r\n }));\r\n }\r\n\r\n public saveProfile(profile: ApplicantProfile): Observable {\r\n return this.auth.getUser().pipe(switchMap(user => {\r\n if (profile.applicantProfileId) {\r\n return this.api.put(this.apiUrl, profile, profile.applicantProfileId);\r\n } else {\r\n profile.userId = user.displayableId;\r\n this.profile = profile;\r\n return this.api.post(this.apiUrl, profile);\r\n }\r\n }));\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.subscription.unsubscribe();\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { ApiService } from 'src/app/services/api/api.service';\r\nimport { Application } from 'src/app/models/application.model';\r\nimport { Observable, ObservableInput } from 'rxjs';\r\nimport { CriteriaResults } from 'src/app/models/criteria-results.model';\r\nimport { WorkHistory } from 'src/app/models/work-history.model';\r\nimport { Qualification } from 'src/app/models/qualification-model';\r\nimport { Reference } from 'src/app/models/reference.model';\r\nimport { PreviousApplication } from 'src/app/models/previous-application.model';\r\nimport { FileBase } from 'src/app/models/file-base.model';\r\nimport { Certification } from '../../models/certification.model';\r\nimport { ApplicantLanguage } from '../../models/applicant-language.model';\r\nimport { Answer } from '../../models/Answer.model';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ApplicationService {\r\n\r\n private apiUrl = 'Applications';\r\n\r\n constructor(\r\n private apiCreation: ApiService,\r\n private apiPrevious: ApiService) { }\r\n\r\n public getApplicationsByUserId(userId: string): Observable> {\r\n const request = this.apiUrl + `?userId=${userId}`;\r\n return this.apiPrevious.get(request);\r\n }\r\n\r\n public createApplication(application: Application, criteriaResults: CriteriaResults[], additionalInformation: string, files: Array, backgroundAnswers: Answer[], competencyAnswers: Answer[] ): Observable {\r\n var model: IApplicationViewModel = {\r\n Application: application,\r\n WorkHistories: application.workHistories,\r\n Qualifications: application.qualifications,\r\n References: application.references,\r\n Certifications: application.certifications,\r\n Languages: application.applicantLanguages,\r\n CriteriaResults: criteriaResults,\r\n AdditionalInformation: additionalInformation,\r\n Files: files,\r\n BackgroundAnswers: backgroundAnswers,\r\n CompetencyAnswers: competencyAnswers\r\n };\r\n\r\n return this.apiCreation.post(this.apiUrl, model);\r\n }\r\n}\r\n\r\nexport interface IApplicationViewModel {\r\n Application: Application;\r\n WorkHistories: WorkHistory[];\r\n Qualifications: Qualification[];\r\n References: Reference[];\r\n CriteriaResults: CriteriaResults[];\r\n Certifications: Certification[];\r\n Languages: ApplicantLanguage[]\r\n AdditionalInformation: string;\r\n Files: Array;\r\n BackgroundAnswers: Answer[];\r\n CompetencyAnswers: Answer[];\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpHeaders } from '@angular/common/http';\r\nimport { Observable, from, of } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AuthService {\r\n\r\n constructor(\r\n private http: HttpClient\r\n ) { }\r\n\r\n private getHeaders(): HttpHeaders {\r\n return new HttpHeaders({\r\n 'Content-Type': 'application/json'\r\n });\r\n }\r\n\r\n public authenticate(): Observable {\r\n\r\n //return of(true);\r\n\r\n\r\n\r\n\r\n const request = '/api/auth'; // auth endpoint\r\n\r\n return this.http.get(request);\r\n // , {\r\n // headers: this.getHeaders()\r\n // });\r\n }\r\n public getUser(): Observable {\r\n\r\n let fakeUser = new WebAccountsUser();\r\n fakeUser.displayableId = 'test';\r\n fakeUser.firstName = 'test';\r\n fakeUser.surname = 'test';\r\n //return of(fakeUser);\r\n\r\n const request = '/api/user'\r\n return this.http.get(request);\r\n }\r\n}\r\n\r\nexport class WebAccountsUser {\r\n displayableId: string;\r\n firstName: string;\r\n surname: string;\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { ApiService } from '../api/api.service';\r\nimport { Certification } from '../../models/certification.model';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class CertificationService {\r\n private apiUrl = 'Certifications';\r\n constructor(\r\n private api: ApiService\r\n ) { }\r\n\r\n\r\n public saveCertification(applicantProfileId: number, certification: Certification): Observable {\r\n if (certification.certificationId) {\r\n return this.api.put(this.apiUrl, certification, certification.certificationId);\r\n } else {\r\n certification.applicantProfileId = applicantProfileId;\r\n return this.api.post(this.apiUrl, certification);\r\n }\r\n }\r\n\r\n public deleteCertification(id: number | string): Observable {\r\n return this.api.delete(this.apiUrl, id);\r\n }\r\n}\r\n","import { Injectable, OnDestroy } from '@angular/core';\r\nimport { HttpClient, HttpHeaders } from '@angular/common/http';\r\nimport { Observable, from } from 'rxjs';\r\nimport { map, switchMap } from 'rxjs/operators';\r\nimport { MsalService, BroadcastService } from '@azure/msal-angular';\r\nimport { environment } from 'src/environments/environment';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class GraphService implements OnDestroy {\r\n\r\n constructor(private http: HttpClient,\r\n private msal: MsalService,\r\n private broadcastService: BroadcastService) {\r\n }\r\n\r\n private subscription = this.broadcastService.subscribe('msal:acquireTokenFailure', () => {\r\n this.msal.acquireTokenRedirect(environment.graph.scopes);\r\n });\r\n\r\n ngOnDestroy(): void {\r\n this.subscription.unsubscribe();\r\n }\r\n\r\n private getHeaders(): Observable {\r\n return from(this.msal.acquireTokenSilent(environment.graph.scopes)).pipe(\r\n map((token) => {\r\n return new HttpHeaders({\r\n 'Content-Type': 'application/json',\r\n 'Authorization': 'Bearer ' + token\r\n });\r\n }));\r\n }\r\n\r\n public get(url: string, select?: string, filter?: string, expand?: string): Observable {\r\n let request = environment.graph.url + url + '?';\r\n\r\n if (select) {\r\n request += '$select=' + select + '&';\r\n }\r\n\r\n if (filter) {\r\n request += '$filter=' + filter + '&';\r\n }\r\n\r\n if (expand) {\r\n request += '$expand=' + expand;\r\n }\r\n\r\n return this.getHeaders().pipe(\r\n switchMap((headers) => {\r\n return this.http.get(request, {\r\n headers: headers\r\n });\r\n })\r\n );\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { JobVacancy } from 'src/app/models/job-vacancy.model';\r\nimport { Observable, of } from 'rxjs';\r\nimport { ApiService } from 'src/app/services/api/api.service';\r\nimport { map } from 'rxjs/operators';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { environment } from 'src/environments/environment';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class JobVacanciesService {\r\n\r\n private apiUrl = 'JobVacancies';\r\n\r\n constructor(private http: HttpClient) { }\r\n\r\n public getLiveVacancies(): Observable> {\r\n const request = environment.api.baseUrl + this.apiUrl;\r\n\r\n return this.http.get>(request);\r\n }\r\n\r\n public getVacancyById(vacancyId: number): Observable {\r\n return this.getLiveVacancies().pipe(map(vacancies => vacancies.find(f => f.jobVacancyId === vacancyId)));\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { JobVacancy } from 'src/app/models/job-vacancy.model';\r\nimport { environment } from 'src/environments/environment';\r\nimport { JobVacancyCriteria } from 'src/app/models/job-vacancy-criteria.model';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class JobVacancyCriteriaService {\r\n\r\n private apiUrl = 'JobVacancyCriteria';\r\n\r\n constructor(\r\n private http: HttpClient\r\n ) { }\r\n\r\n public getByIds(ids: Array): Observable> {\r\n let request = environment.api.baseUrl + this.apiUrl + '?';\r\n\r\n ids.forEach(element => {\r\n request += `ids=${element}&`\r\n });\r\n\r\n request = request.slice(0, -1);\r\n\r\n return this.http.get>(request);\r\n\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { BehaviorSubject } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class NavigationService {\r\n\r\n private leftNav = new BehaviorSubject(false);\r\n public leftNavOpen$ = this.leftNav.asObservable();\r\n\r\n private rightNav = new BehaviorSubject('');\r\n public rightNavOpen$ = this.rightNav.asObservable();\r\n\r\n constructor() { }\r\n\r\n toggleLeftNav() {\r\n this.leftNav.next(true);\r\n }\r\n\r\n openRightNav(type: string) {\r\n this.rightNav.next(type);\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { GraphService } from 'src/app/services/graph/graph.service';\r\nimport { Observable } from 'rxjs';\r\nimport { User } from 'src/app/models/user.model';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ProfileService {\r\n\r\n constructor(private graphService: GraphService) { }\r\n\r\n public getProfile(): Observable {\r\n const url = 'me';\r\n\r\n return this.graphService.get(url);\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { ApiService } from '../api/api.service';\r\nimport { Observable } from 'rxjs';\r\nimport { Qualification } from 'src/app/models/qualification-model';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class QualificationService {\r\n\r\n private apiUrl = 'Qualifications';\r\n\r\n constructor(\r\n private api: ApiService\r\n ) { }\r\n\r\n public saveQualification(applicantProfileId: number, qualification: Qualification): Observable {\r\n if (qualification.qualificationId) {\r\n return this.api.put(this.apiUrl, qualification, qualification.qualificationId);\r\n } else {\r\n qualification.applicantProfileId = applicantProfileId;\r\n return this.api.post(this.apiUrl, qualification);\r\n }\r\n }\r\n\r\n public deleteQualification(id: number | string): Observable {\r\n return this.api.delete(this.apiUrl, id);\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { ApiService } from '../api/api.service';\r\nimport { Observable } from 'rxjs';\r\nimport { Reference } from 'src/app/models/reference.model';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ReferenceService {\r\n\r\n private apiUrl = 'References';\r\n\r\n constructor(\r\n private api: ApiService\r\n ) { }\r\n\r\n public saveReference(applicantProfileId: number, reference: Reference): Observable {\r\n if (reference.referenceId) {\r\n return this.api.put(this.apiUrl, reference, reference.referenceId);\r\n } else {\r\n reference.applicantProfileId = applicantProfileId;\r\n return this.api.post(this.apiUrl, reference);\r\n }\r\n }\r\n\r\n public deleteReference(id: number | string): Observable {\r\n return this.api.delete(this.apiUrl, id);\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { JobVacancy } from '../../models/job-vacancy.model';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class SelectedJobService {\r\n job: JobVacancy;\r\n\r\n SetJob(vac: JobVacancy): void {\r\n this.job = vac;\r\n }\r\n\r\n constructor() { }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { ApiService } from '../api/api.service';\r\nimport { ListDataModel } from 'src/app/models/list-data-model.model';\r\nimport { Observable, from, of } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class SpListDataService {\r\n\r\n private apiUrl = 'SharePointList';\r\n\r\n constructor(\r\n private api: ApiService\r\n ) { }\r\n\r\n public getListData(listName: string, columnName: string): Observable {\r\n const request = this.apiUrl + `?listName=${listName}&columnName=${columnName}`;\r\n\r\n return this.api.get(request);\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { ApiService } from '../api/api.service';\r\nimport { ListDataModel } from 'src/app/models/list-data-model.model';\r\nimport { Observable, from, of } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class SpListDataService {\r\n\r\n private apiUrl = 'SharePointList';\r\n\r\n constructor(\r\n private api: ApiService\r\n ) { }\r\n\r\n public getListData(listName: string, columnName: string): Observable {\r\n const request = this.apiUrl + `?listName=${listName}&columnName=${columnName}`;\r\n\r\n return this.api.get(request);\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\n\r\nexport class SpinnerService {\r\n\r\n private _spinner: HTMLElement = document.querySelector('#spinner');\r\n private _overlay: HTMLElement = document.querySelector('#overlay');\r\n\r\n constructor() {\r\n }\r\n\r\n activate() {\r\n this._spinner.style.visibility = 'visible';\r\n this._overlay.classList.add('lockScreen');\r\n\r\n }\r\n\r\n deactivate() {\r\n this._spinner.style.visibility = 'hidden';\r\n this._overlay.classList.remove('lockScreen');\r\n\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { ApiService } from '../api/api.service';\r\nimport { Observable } from 'rxjs';\r\nimport { WorkHistory } from 'src/app/models/work-history.model';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class WorkHistoryService {\r\n\r\n private apiUrl = 'WorkHistories';\r\n\r\n constructor(\r\n private api: ApiService) { }\r\n\r\n public saveHistory(applicantProfileId: number, history: WorkHistory): Observable {\r\n if (history.workHistoryId) {\r\n return this.api.put(this.apiUrl, history, history.workHistoryId);\r\n } else {\r\n history.applicantProfileId = applicantProfileId;\r\n return this.api.post(this.apiUrl, history);\r\n }\r\n }\r\n\r\n public deleteHistory(id: number | string): Observable {\r\n return this.api.delete(this.apiUrl, id);\r\n }\r\n}\r\n","export const environment = {\r\n production: false,\r\n authentication: {\r\n clientId: '3f5ed049-2718-4bb5-9486-5297f624251d',\r\n tenantId: 'common',\r\n redirectUri: 'http://localhost:4200/login'\r\n },\r\n graph: {\r\n scopes: [\r\n 'User.Read'\r\n ],\r\n url: 'https://graph.microsoft.com/v1.0/'\r\n },\r\n api: {\r\n scopes: [\r\n 'api://091b5374-5cde-47e2-a2fa-97d215c5fcac/Profile.ReadWrite'\r\n ],\r\n baseUrl: '/api/'\r\n }\r\n};\r\n","import { enableProdMode } from '@angular/core';\r\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\r\n\r\nimport { AppModule } from './app/app.module';\r\nimport { environment } from './environments/environment';\r\n\r\nif (environment.production) {\r\n enableProdMode();\r\n}\r\n\r\nplatformBrowserDynamic().bootstrapModule(AppModule)\r\n .catch(err => console.error(err));\r\n"],"sourceRoot":""}