{"version":3,"sources":["./$_lazy_route_resource lazy namespace object","./src/app/app-routing.module.ts","./src/app/app.component.html","./src/app/confirmation-dialog.html","./src/app/error-dialog.html","./src/app/app.component.ts","./src/app/app.module.ts","./src/app/mask.ts","./src/app/searchCounty.pipe.ts","./src/app/services/auth.service.ts","./src/app/services/registerTeacher.service.ts","./src/environments/environment.ts","./src/main.ts"],"names":[],"mappings":";;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA,4CAA4C,WAAW;AACvD;AACA;AACA,wE;;;;;;;;;;;;ACRA;AAAA;AAAA,IAAM,MAAM,GAAW,EAAE,CAAC;AAE1B;IAAA;IAIgC,CAAC;IAAD,uBAAC;AAAD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kGCcjB,yJAGC,6YAOD;kGAEF;;;;;;isBAGG,4EAAiB,2BADlB,kBAAqB,yBAFvB,YAGG,EADD,SAAqB,2BAFvB,uxBAGG,qEAAiB;kGAepB;;;;;;isBAGG,4EAAqB,2BADtB,kBAAyB,yBAF3B,YAGG,EADD,SAAyB,2BAF3B,uxBAGG,qEAAqB;kGAetB,yJAGC,gZAOD;kGAEF;;;;;;isBAA+D,4EAE7D,2BAF0C,kBAAkB,yBAA9D,YAA+D,EAAnB,SAAkB,2BAA9D,uxBAA+D,qEAE7D;kGAeF;;;;;;isBAGG,4EAAmB,2BADpB,kBAAuB,yBAFzB,YAGG,EADD,SAAuB,2BAFzB,uxBAGG,qEAAmB;kGAgBtB;;;;;;isBAGG,4EAAiB,2BADlB,kBAAqB,yBAFvB,YAGG,EADD,SAAqB,2BAFvB,uxBAGG,qEAAiB;kGAkBtB,oVAEC,+FACc,gIAAQ,uFAAK,iCAH5B,qGAEC;mGAcD,oVAKC,0HAED,iCAPA,qGAKC;mGAGD,oVAEC,mFACO,gIAAQ,uFAA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AAA+C;AAIU;;;AAEzD,IAAI,qEAAW,CAAC,UAAU,EAAE;IAC1B,oEAAc,EAAE,CAAC;CAClB;AAED,2EAAwB,uBAAgB,CAAC,6EAAU;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 = \"./$$_lazy_route_resource lazy recursive\";","import { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule } from '@angular/router';\r\n\r\n\r\nconst routes: Routes = [];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forRoot(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class AppRoutingModule { }\r\n","
\r\n \r\n \r\n \r\n

Skapa konto

\r\n
\r\n \r\n
\r\n \r\n Var arbetar du?\r\n \r\n \r\n {{\r\n this.TeacherForm.get(\"schools\").value\r\n ? this.TeacherForm.get(\"schools\").value[0]\r\n : \"\"\r\n }}\r\n 1\"\r\n class=\"additional-selection\"\r\n >\r\n (+{{ this.TeacherForm.get(\"schools\").value.length - 1 }}\r\n {{\r\n this.TeacherForm.get(\"schools\").value?.length === 2\r\n ? \"annan\"\r\n : \"andra\"\r\n }})\r\n \r\n \r\n {{ school.text }}\r\n \r\n \r\n
\r\n \r\n Vad jobbar du som?\r\n \r\n \r\n {{\r\n this.TeacherForm.get(\"occupations\").value\r\n ? this.TeacherForm.get(\"occupations\").value\r\n : \"\"\r\n }}\r\n \r\n {{ occupation.text }}\r\n \r\n \r\n
\r\n\r\n \r\n I vilka ämnen undervisar du?\r\n \r\n \r\n {{\r\n this.TeacherForm.get(\"subjects\").value\r\n ? this.TeacherForm.get(\"subjects\").value[0]\r\n : \"\"\r\n }}\r\n 1\"\r\n class=\"additional-selection\"\r\n >\r\n (+{{ this.TeacherForm.get(\"subjects\").value.length - 1 }}\r\n {{\r\n this.TeacherForm.get(\"subjects\").value?.length === 2\r\n ? \"annan\"\r\n : \"andra\"\r\n }})\r\n \r\n \r\n {{\r\n sub.text\r\n }}\r\n \r\n \r\n
\r\n\r\n \r\n Vem är du anställd av?\r\n \r\n \r\n {{\r\n this.TeacherForm.get(\"employers\").value\r\n ? this.TeacherForm.get(\"employers\").value\r\n : \"\"\r\n }}\r\n \r\n {{ employer.text }}\r\n \r\n \r\n
\r\n\r\n \r\n I vilket län ligger din arbetsplats?\r\n \r\n \r\n {{\r\n this.TeacherForm.get(\"counties\").value\r\n ? this.TeacherForm.get(\"counties\").value\r\n : \"\"\r\n }}\r\n \r\n {{ county.text }}\r\n \r\n \r\n
\r\n\r\n \r\n Födelsedatum\r\n \r\n \r\n Födelsedatum krävs\r\n \r\n \r\n\r\n \r\n Email\r\n \r\n \r\n Vänligen mata in en giltig email adress\r\n \r\n \r\n Email krävs\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n {{ gender.text }}\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n \r\n Registrera\r\n \r\n \r\n
\r\n
\r\n \r\n

Tack för din registrering!

\r\n

\r\n Du kommer nu att få ett mail (kolla gärna skräpposten) med en länk.\r\n Klicka på länken för att bekräfta ditt medlemskap.\r\n

\r\n

\r\n Därefter behöver du inte göra någonting, bara invänta kommande\r\n undersökningar.\r\n

\r\n
\r\n
\r\n
\r\n","

Registrering godkänd!

\r\n
\r\n
Rutan stängs automatiskt efter 5 sekunder eller klicka på stäng.
\r\n
\r\n
\r\n \r\n
","

Registrering ej godkänd!

\r\n
\r\n
Vänligen försök igen.
\r\n
\r\n
\r\n \r\n
","import { Component, ChangeDetectorRef } from \"@angular/core\";\r\nimport {\r\n FormControl,\r\n FormGroupDirective,\r\n NgForm,\r\n Validators,\r\n FormBuilder,\r\n FormGroup,\r\n FormArray,\r\n AbstractControl,\r\n} from \"@angular/forms\";\r\nimport { RegisterTeacherService } from \"../app/services/registerTeacher.service\";\r\nimport { AuthService } from \"./services/auth.service\";\r\nimport { IRegisterTeacher } from \"../app/models/registerTeacher.model\";\r\nimport { ITeacherFormData } from \"../app/models/teacherFormData.model\";\r\nimport { MatDialog } from \"@angular/material/dialog\";\r\nimport { variable } from \"@angular/compiler/src/output/output_ast\";\r\nimport { ErrorStateMatcher } from \"@angular/material/core\";\r\nimport { environment } from \"environments/environment\";\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 beforeViewInit = true;\r\n // TeacherForm: FormGroup;\r\n FormGroupDirective: FormGroupDirective;\r\n browser: boolean = false;\r\n IRegisterTeacher: IRegisterTeacher;\r\n\r\n TeacherForm = new FormGroup({\r\n schools: new FormControl(\"\", [Validators.required]),\r\n occupations: new FormControl(\"\", [Validators.required]),\r\n subjects: new FormControl(\"\", [Validators.required]),\r\n employers: new FormControl(\"\", [Validators.required]),\r\n date_of_birth: new FormControl(\"\", [Validators.required]),\r\n counties: new FormControl(\"\", [Validators.required]),\r\n genders: new FormControl(\"\", [Validators.required]),\r\n email: new FormControl(\"\", [Validators.required, Validators.email]),\r\n recaptcha: new FormControl(\"\", [Validators.required]),\r\n });\r\n\r\n showDiv = {\r\n previous: true,\r\n next: false,\r\n };\r\n\r\n buttonVisibility: string = \"none\";\r\n reCaptchaVisibility: string = \"block\";\r\n recaptchaResponse: string;\r\n recaptchaDataSize: string = \"normal\";\r\n\r\n matcher = new MyErrorStateMatcher();\r\n\r\n\r\n constructor(\r\n private RegisterTeacherService: RegisterTeacherService,\r\n private formBuilder: FormBuilder,\r\n public dialog: MatDialog,\r\n private ref: ChangeDetectorRef,\r\n private AuthService: AuthService\r\n ) {\r\n // this.createForm();\r\n AuthService.login(environment.authApiUser, environment.authApiUserPwd);\r\n }\r\n\r\n countyList = [\r\n { id: 96063333, text: \"Blekinge län\" },\r\n { id: 96063334, text: \"Dalarnas län\" },\r\n { id: 96063335, text: \"Gotlands län\" },\r\n { id: 96063336, text: \"Gävleborgs län\" },\r\n { id: 96063337, text: \"Hallands län\" },\r\n { id: 96063338, text: \"Jämtlands län\" },\r\n { id: 96063339, text: \"Jönköpings län\" },\r\n { id: 96063340, text: \"Kalmar län\" },\r\n { id: 96063341, text: \"Kronobergs län\" },\r\n { id: 96063342, text: \"Norrbottens län\" },\r\n { id: 96063343, text: \"Skåne län\" },\r\n { id: 96063344, text: \"Stockholms län\" },\r\n { id: 96063345, text: \"Södermanlands län\" },\r\n { id: 96063346, text: \"Uppsala län\" },\r\n { id: 96063347, text: \"Värmlands län\" },\r\n { id: 96063348, text: \"Västerbottens län\" },\r\n { id: 96063349, text: \"Västernorrlands län\" },\r\n { id: 96063350, text: \"Västmanlands län\" },\r\n { id: 96063351, text: \"Västra Götalands län\" },\r\n { id: 96063352, text: \"Örebro län\" },\r\n { id: 96063353, text: \"Östergötlands län\" },\r\n ];\r\n genderList = [\r\n { id: \"m\", text: \"Man\" },\r\n { id: \"f\", text: \"Kvinna\" },\r\n { id: \"u\", text: \"Annat\" },\r\n ];\r\n experienceList = [\r\n { id: 79390211, text: \"0-3 år\" },\r\n { id: 79390212, text: \"4-9 år\" },\r\n { id: 79390213, text: \"10-19 år\" },\r\n { id: 79390214, text: \"20 år eller mer\" },\r\n { id: 79390215, text: \"Vet ej\" },\r\n ];\r\n employerList = [\r\n { id: 96058360, text: \"Kommun\" },\r\n { id: 96058361, text: \"Region/Landsting\" },\r\n { id: 96058362, text: \"Statlig\" },\r\n { id: 96058363, text: \"Privat/Enskild\" },\r\n ];\r\n schoolList = [\r\n { id: 96058329, text: \"Förskola\" },\r\n { id: 96058330, text: \"Fritidshem\" },\r\n { id: 96058331, text: \"Förskoleklass\" },\r\n { id: 96058332, text: \"Grundskola, årskurs 1-3\" },\r\n { id: 96058333, text: \"Grundskola, årskurs 4-6\" },\r\n { id: 96058334, text: \"Grundskola, årskurs 7-9\" },\r\n { id: 96063260, text: \"Grundsärskola\" },\r\n { id: 96063261, text: \"Gymnasium\" },\r\n { id: 96063262, text: \"Gymnasiesärskola\" },\r\n { id: 96063263, text: \"Vuxenutbildning\" },\r\n { id: 96063264, text: \"Högskola\" },\r\n { id: 96063265, text: \"Universitet\" },\r\n { id: 96063266, text: \"Folkhögskola\" },\r\n { id: 96063267, text: \"Annat\" },\r\n ];\r\n occupationList = [\r\n { id: 96214007, text: \"Barnskötare\" },\r\n { id: 96214008, text: \"Förskollärare\" },\r\n { id: 96214009, text: \"Fritidspedagog/lärare i fritidshem\" },\r\n { id: 96214010, text: \"Lärare i förskoleklass\" },\r\n { id: 96214011, text: \"Lärare, grundskola\" },\r\n { id: 96214012, text: \"Lärare, grundsärskola\" },\r\n { id: 96214013, text: \"Speciallärare\" },\r\n { id: 96214014, text: \"Specialpedagog\" },\r\n { id: 96214015, text: \"Resurspersonal/elevassistent\" },\r\n { id: 96214017, text: \"Lärare, gymnasielärare\" },\r\n { id: 96214018, text: \"Lärare, gymnasiesärskola\" },\r\n { id: 96214019, text: \"Lärare, vuxenutbildning\" },\r\n { id: 96214020, text: \"SFI-lärare\" },\r\n { id: 96214021, text: \"Högskolelärare\" },\r\n { id: 96214022, text: \"Universitetslärare\" },\r\n { id: 96214023, text: \"Lärare på folkhögskola\" },\r\n { id: 96214024, text: \"Skolledare/rektor/biträdande rektor\" },\r\n { id: 96214025, text: \"Annat\" },\r\n ];\r\n\r\n subjectList = [\r\n { id: 96058341, text: \"Arbetar INTE SOM LÄRARE på grund- eller gymnasieskola\" },\r\n { id: 96058342, text: \"Svenska eller svenska som andraspråk\" },\r\n { id: 96058343, text: \"Engelska\" },\r\n { id: 96058344, text: \"Matematik\" },\r\n { id: 96058345, text: \"Bild\" },\r\n { id: 96058346, text: \"Hem- och konsumentkunskap\" },\r\n { id: 96058347, text: \"Idrott och hälsa\" },\r\n { id: 96058348, text: \"Musik\" },\r\n { id: 96058349, text: \"Slöjd\" },\r\n { id: 96058350, text: \"Biologi\" },\r\n { id: 96058351, text: \"Kemi\" },\r\n { id: 96058352, text: \"Teknik\" },\r\n { id: 96058353, text: \"Geografi\" },\r\n { id: 96058354, text: \"Historia\" },\r\n { id: 96058355, text: \"Religionskunskap\" },\r\n { id: 96058356, text: \"Samhällskunskap\" },\r\n { id: 96058357, text: \"Moderna språk\" },\r\n { id: 96058358, text: \"Annat ämne på teoretiskt gymnasium\" },\r\n { id: 96058359, text: \"Annat ämne på yrkesförberedande gymnasium\" },\r\n ];\r\n\r\n checkBrowser() {\r\n let isIEOrEdge = /msie\\s|trident\\/|edge\\//i.test(\r\n window.navigator.userAgent\r\n );\r\n if (isIEOrEdge === true) {\r\n this.browser = true;\r\n }\r\n }\r\n\r\n handleSuccess(token: string) {\r\n this.buttonVisibility = \"block\";\r\n this.reCaptchaVisibility = \"none\";\r\n this.recaptchaResponse = token;\r\n }\r\n\r\n handleExpire() {\r\n this.buttonVisibility = \"none\";\r\n this.reCaptchaVisibility = \"block\";\r\n }\r\n\r\n title = \"teacher-form\";\r\n siteKey: string = environment.recaptchaKey;\r\n\r\n onSubmit(data) {\r\n let teacher: IRegisterTeacher = {\r\n email_address: this.TeacherForm.get(\"email\").value,\r\n gender: this.TeacherForm.get(\"genders\").value,\r\n date_of_birth: new Date(\r\n this.TeacherForm.get(\"date_of_birth\").value as string\r\n ),\r\n variables: new Array(),\r\n recaptchaResponse: this.recaptchaResponse,\r\n };\r\n\r\n for (let i of this.TeacherForm.get(\"schools\").value) {\r\n let id: number = this.schoolList\r\n .filter((s) => s.text === (i as string))\r\n .map((s) => s.id)[0];\r\n\r\n teacher.variables.push(id);\r\n }\r\n\r\n let id: number = this.occupationList\r\n .filter(\r\n (s) => s.text === (this.TeacherForm.get(\"occupations\").value as string)\r\n )\r\n .map((s) => s.id)[0];\r\n\r\n teacher.variables.push(id);\r\n\r\n for (let i of this.TeacherForm.get(\"subjects\").value) {\r\n let id: number = this.subjectList\r\n .filter((s) => s.text === (i as string))\r\n .map((s) => s.id)[0];\r\n\r\n teacher.variables.push(id);\r\n }\r\n\r\n let empId: number = this.employerList\r\n .filter(\r\n (s) => s.text === (this.TeacherForm.get(\"employers\").value as string)\r\n )\r\n .map((s) => s.id)[0];\r\n\r\n teacher.variables.push(empId);\r\n\r\n let countyId: number = this.countyList\r\n .filter(\r\n (s) => s.text === (this.TeacherForm.get(\"counties\").value as string)\r\n )\r\n .map((s) => s.id)[0];\r\n\r\n teacher.variables.push(countyId);\r\n\r\n this.RegisterTeacherService.postTeacherRegistration(teacher).subscribe(\r\n (result) => {\r\n (data = this.TeacherForm.value), result;\r\n if (result) {\r\n if (result.code === 201) {\r\n this.dialog.open(ConfirmationDialog);\r\n setTimeout(() => {\r\n this.dialog.closeAll();\r\n this.showDiv.previous = false;\r\n this.showDiv.next = true;\r\n this.TeacherForm.reset();\r\n }, 3000);\r\n console.log(data);\r\n }\r\n } else {\r\n this.dialog.open(ErrorDialog);\r\n setTimeout(() => {\r\n this.dialog.closeAll();\r\n }, 3000);\r\n }\r\n }\r\n );\r\n }\r\n\r\n ngOnInit() {\r\n this.checkBrowser();\r\n if (window.innerWidth <= 480) {\r\n this.recaptchaDataSize = \"compact\";\r\n }\r\n }\r\n}\r\n\r\n@Component({\r\n selector: \"confirmation-dialog\",\r\n templateUrl: \"confirmation-dialog.html\",\r\n styleUrls: [\"./app.component.scss\"],\r\n})\r\nexport class ConfirmationDialog {\r\n constructor(private dialogRef: MatDialog) {}\r\n onClick() {\r\n this.dialogRef.closeAll();\r\n }\r\n}\r\n\r\n@Component({\r\n selector: \"error-dialog\",\r\n templateUrl: \"error-dialog.html\",\r\n styleUrls: [\"./app.component.scss\"],\r\n})\r\nexport class ErrorDialog {\r\n constructor(private dialogRef: MatDialog) {}\r\n onClick() {\r\n this.dialogRef.closeAll();\r\n }\r\n}\r\n\r\n/** Error when invalid control is dirty, touched, or submitted. */\r\nexport class MyErrorStateMatcher implements ErrorStateMatcher {\r\n isErrorState(\r\n control: FormControl | null,\r\n form: FormGroupDirective | NgForm | null\r\n ): boolean {\r\n const isSubmitted = form && form.submitted;\r\n return !!(\r\n control &&\r\n control.invalid &&\r\n (control.dirty || control.touched || isSubmitted)\r\n );\r\n }\r\n}\r\n","import { BrowserModule } from \"@angular/platform-browser\";\r\nimport { NgModule } from \"@angular/core\";\r\n\r\nimport { AppRoutingModule } from \"./app-routing.module\";\r\nimport { AppComponent, ConfirmationDialog, ErrorDialog } from \"./app.component\";\r\nimport { BrowserAnimationsModule } from \"@angular/platform-browser/animations\";\r\nimport { HttpClientModule } from \"@angular/common/http\";\r\nimport { JwtHelperService, JWT_OPTIONS } from '@auth0/angular-jwt';\r\n\r\n//Angular material\r\nimport { MatCardModule } from \"@angular/material/card\";\r\nimport { MatInputModule } from \"@angular/material/input\";\r\nimport { FormsModule, ReactiveFormsModule } from \"@angular/forms\";\r\nimport { MatFormFieldModule } from \"@angular/material/form-field\";\r\nimport { MatButtonModule } from \"@angular/material/button\";\r\nimport { MatRadioModule } from \"@angular/material/radio\";\r\nimport { MatCheckboxModule } from \"@angular/material/checkbox\";\r\nimport { MatSnackBarModule } from \"@angular/material/snack-bar\";\r\nimport { MatSelectModule } from \"@angular/material/select\";\r\nimport { MatListModule } from \"@angular/material/list\";\r\nimport { MatExpansionModule } from \"@angular/material/expansion\";\r\nimport { DobDirective } from \"./mask\";\r\nimport { MatDialogModule } from \"@angular/material/dialog\";\r\nimport { SearchCounty } from \"./searchCounty.pipe\";\r\n\r\n//Recaptcha\r\nimport { NgxCaptchaModule } from \"ngx-captcha\";\r\n\r\n@NgModule({\r\n declarations: [\r\n AppComponent,\r\n DobDirective,\r\n ConfirmationDialog,\r\n SearchCounty,\r\n ErrorDialog,\r\n ],\r\n imports: [\r\n BrowserModule,\r\n HttpClientModule,\r\n AppRoutingModule,\r\n MatCardModule,\r\n MatInputModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n NgxCaptchaModule,\r\n MatFormFieldModule,\r\n BrowserAnimationsModule,\r\n MatButtonModule,\r\n MatRadioModule,\r\n MatCheckboxModule,\r\n MatSelectModule,\r\n MatSnackBarModule,\r\n MatListModule,\r\n MatExpansionModule,\r\n MatDialogModule,\r\n ],\r\n providers: [SearchCounty, { provide: JWT_OPTIONS, useValue: JWT_OPTIONS }, JwtHelperService],\r\n entryComponents: [ConfirmationDialog, ErrorDialog],\r\n bootstrap: [AppComponent],\r\n})\r\nexport class AppModule {}\r\n","import {Directive,HostListener} from '@angular/core'\r\n\r\n@Directive({\r\nselector: '[dobMask]'\r\n})\r\nexport class DobDirective {\r\n\r\n@HostListener('input', ['$event'])\r\n onKeyDown(event: KeyboardEvent) {\r\n const input = event.target as HTMLInputElement;\r\n\r\n let trimmed = input.value.replace(/\\s+/g, '');\r\n\r\n if (trimmed.length > 10) {\r\n trimmed = trimmed.substr(0, 10);\r\n }\r\n\r\n\r\n trimmed = trimmed.replace(/-/g,'');\r\n\r\n let numbers = [];\r\n \r\n numbers.push(trimmed.substr(0,4));\r\n if(trimmed.substr(4,2)!==\"\")\r\n numbers.push(trimmed.substr(4,2));\r\n if(trimmed.substr(6,2)!=\"\")\r\n numbers.push(trimmed.substr(6,4));\r\n\r\n\r\n input.value = numbers.join('-');\r\n\r\n }\r\n}","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({ name: 'searchCounty' })\r\nexport class SearchCounty implements PipeTransform {\r\n public transform(counties: any[], searchText: any): any {\r\n if (searchText == null || counties == null) {\r\n return counties;\r\n }\r\n return counties.filter(county => county.text.toLowerCase().indexOf(searchText.toLowerCase()) !== -1);\r\n }\r\n}","import { HttpHeaders } from '@angular/common/http';\r\nimport { IUserCredentials } from './../models/userCredentials.model';\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { environment } from '../../environments/environment';\r\nimport { JwtHelperService } from '@auth0/angular-jwt';\r\n\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n })\r\n\r\nexport class AuthService {\r\n\r\n constructor(private http: HttpClient, private jwtHelper: JwtHelperService) {\r\n }\r\n\r\n async login(userName: string, password: string ) {\r\n\r\n return this.http.post(environment.authApiUrl,\r\n { userName, password })\r\n .subscribe(res => {\r\n const token = (res as any).token;\r\n this.setSession(token);\r\n });\r\n }\r\n\r\n private setSession(authResult) {\r\n const tokenPayload = JSON.stringify(this.jwtHelper.isTokenExpired(authResult));\r\n\r\n const expiresAt = new Date().setSeconds(authResult.expiresIn);\r\n\r\n sessionStorage.setItem('id_token', authResult);\r\n }\r\n\r\n logout() {\r\n sessionStorage.removeItem('id_token');\r\n }\r\n\r\n public isLoggedIn() {\r\n return !this.isLoggedOut();\r\n }\r\n\r\n public getToken() {\r\n return sessionStorage.getItem('id_token');\r\n }\r\n\r\n isLoggedOut() {\r\n return this.jwtHelper.isTokenExpired(this.getToken());\r\n }\r\n}\r\n","import { Injectable, EventEmitter } from \"@angular/core\";\r\nimport { Subject, Observable, of } from \"rxjs\";\r\nimport { HttpClient, HttpHeaders } from \"@angular/common/http\";\r\nimport { catchError, finalize, tap } from \"rxjs/operators\";\r\nimport { IRegisterTeacher } from \"../models/registerTeacher.model\";\r\nimport { environment } from \"../../environments/environment\";\r\nimport { AuthService } from \"./auth.service\";\r\n\r\n@Injectable({\r\n providedIn: \"root\",\r\n})\r\n\r\nexport class RegisterTeacherService {\r\n constructor(private http: HttpClient, private authService: AuthService) {}\r\n postTeacherRegistration(\r\n RegisterTeacher: IRegisterTeacher\r\n ): Observable {\r\n let headers = new HttpHeaders({\r\n \"Content-Type\": \"application/json\",\r\n 'Authorization': 'Bearer ' + this.authService.getToken()\r\n });\r\n let options = { headers: headers };\r\n\r\n return this.http\r\n .post(environment.apiUrl, RegisterTeacher, options)\r\n .pipe(\r\n tap(() => this.authService.logout()),\r\n catchError(\r\n this.handleError(\"postTeacherRegistration\", null)\r\n )\r\n );\r\n }\r\n private handleError(operation = \"operation\", result?: T) {\r\n return (error: any): Observable => {\r\n console.error(error);\r\n return of(result as T);\r\n };\r\n }\r\n}\r\n","// This file can be replaced during build by using the `fileReplacements` array.\r\n// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.\r\n// The list of file replacements can be found in `angular.json`.\r\n\r\nexport const environment = {\r\n production: true,\r\n apiUrl: \"https://lararpanelen.pfmresearch.se/api/RegisterTeacher\",\r\n authApiUrl: \"https://lararpanelen.pfmresearch.se/api/Authenticate\",\r\n authApiUser: \"regcint\",\r\n authApiUserPwd: \"MaiB4LOwvHC8UEfw_u8\",\r\n recaptchaKey: \"6LdcVv0pAAAAALSQ5oJnD0-b7V6qLZQiN-aUpcjB\"\r\n};\r\n\r\n/*\r\n * For easier debugging in development mode, you can import the following file\r\n * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.\r\n *\r\n * This import should be commented out in production mode because it will have a negative impact\r\n * on performance if an error is thrown.\r\n */\r\n// import 'zone.js/dist/zone-error'; // Included with Angular CLI.\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":"webpack:///"}