import * as tslib_1 from "tslib";
import { Component } from '@angular/core';
import { Location } from '@angular/common';
import { Router, ActivatedRoute } from '@angular/router';
import { AuthService } from './../../config/auth.service';
let VerificationPage = class VerificationPage {
    constructor(router, route, location, authService) {
        this.router = router;
        this.route = route;
        this.location = location;
        this.authService = authService;
    }
    ngOnInit() {
    }
    goToPage(path, data = null) {
        this.router.navigateByUrl(path, { replaceUrl: true, queryParams: data });
        document.body.scrollTop = document.documentElement.scrollTop = 0;
    }
    goBack() {
        this.location.back();
    }
};
VerificationPage = tslib_1.__decorate([
    Component({
        selector: 'app-verification',
        templateUrl: './verification.page.html',
        styleUrls: ['./verification.page.scss'],
    }),
    tslib_1.__metadata("design:paramtypes", [Router,
        ActivatedRoute,
        Location,
        AuthService])
], VerificationPage);
export { VerificationPage };
//# sourceMappingURL=verification.page.js.map