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AAC,CAAC,CAAC;SACJ;IACH,CAAC;;0FA/BU,qBAAqB;mHAArB,qBAAqB;QCZlC,yEAAiB;QAET,uEAAY;QAAA,4DAAK;QAErB,oEAAG;QACD,+LAEF;QAAA,4DAAI;QACJ,oEAAG;QACD,uDAEF;QAAA,4DAAI;QACJ,oEAAG;QACD,wIAEF;QAAA,4DAAI;QACJ,qEAAG;QACD,wDACF;QAAA,4DAAI;QAIR,mHAIM;;QAjBA,0DAEF;QAFE,uLAEF;QAME,0DACF;QADE,6KACF;QAIE,0DAAY;QAAZ,4EAAY;;;;;;;;;;;;;;;;;;;;;;ACrB6B;AAEkB;AACZ;AACqB;AACmC;;AAWtG,MAAM,kBAAkB;;oFAAlB,kBAAkB;+GAAlB,kBAAkB;mHAPpB;YACP,yDAAY;YACZ,+DAAmB;YACnB,mFAAyB;YACzB,uHAAqB;SACtB;mIAEU,kBAAkB,mBARd,0EAAqB,aAElC,yDAAY;QACZ,+DAAmB;QACnB,mFAAyB;QACzB,uHAAqB","sources":["./src/app/views/loan/confirmation/confirmation-routing.module.ts","./src/app/views/loan/confirmation/confirmation.component.ts","./src/app/views/loan/confirmation/confirmation.component.html","./src/app/views/loan/confirmation/confirmation.module.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\nimport { RouterModule, Routes } from '@angular/router';\n\nimport { ConfirmationComponent } from './confirmation.component';\n\nconst routes: Routes = [\n {\n path: '',\n component: ConfirmationComponent,\n },\n];\n\n@NgModule({\n declarations: [],\n imports: [RouterModule.forChild(routes)],\n exports: [RouterModule],\n})\nexport class ConfirmationRoutingModule {}\n","import { Component, OnDestroy, OnInit } from '@angular/core';\nimport { Title } from '@angular/platform-browser';\nimport { Subscription } from 'rxjs';\nimport { Branch } from 'src/app/services/branch/branch.model';\n\nimport { BranchService } from 'src/app/services/branch/branch.service';\n\n@Component({\n selector: 'app-confirmation',\n templateUrl: './confirmation.component.html',\n styleUrls: ['./confirmation.component.scss'],\n})\nexport class ConfirmationComponent implements OnInit, OnDestroy {\n branch: Branch | null = null;\n\n private subscriptions: Array = [];\n\n constructor(\n private branchService: BranchService,\n private titleService: Title\n ) {\n this.titleService.setTitle('Eagle Loan | Confirmation');\n this.branchService.setShowInfoButton(false);\n }\n\n ngOnInit(): void {\n this.subscriptions.push(\n this.branchService.selectedBranch.subscribe((data: Branch | null) => {\n this.branch = null;\n\n if (data) {\n this.branch = { ...data };\n }\n })\n );\n }\n\n ngOnDestroy(): void {\n if (this.subscriptions.length > 0) {\n this.subscriptions.forEach((sub) => {\n sub.unsubscribe();\n });\n }\n }\n}\n","
\n
\n

Confirmation

\n\n

\n Thank you! You have successfully submitted your application. A\n representative from Eagle will contact you within one business day.\n

\n

\n For reference, your application was sent to our\n {{ branch?.LocationName }} branch.\n

\n

\n If approved, you will need to visit one of our branches to close your\n loan.\n

\n

\n Questions? Contact {{ branch?.LocationName }} - we’re here to help!\n

\n
\n
\n\n
\n
\n \n
\n
\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { ConfirmationComponent } from './confirmation.component';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { ConfirmationRoutingModule } from './confirmation-routing.module';\nimport { BranchSelectionModule } from 'src/app/components/branches/branch-selection/branch-selection.module';\n\n@NgModule({\n declarations: [ConfirmationComponent],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n ConfirmationRoutingModule,\n BranchSelectionModule,\n ],\n})\nexport class ConfirmationModule {}\n"],"names":[],"sourceRoot":"webpack:///"}