import { Component } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
import * as i0 from "@angular/core";
import * as i1 from "@angular/router";
export class CaseSpecificAccessSuccessComponent {
    route;
    caseId;
    constructor(route) {
        this.route = route;
    }
    ngOnInit() {
        this.caseId = this.route.snapshot.params.cid;
    }
    static ɵfac = function CaseSpecificAccessSuccessComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseSpecificAccessSuccessComponent)(i0.ɵɵdirectiveInject(i1.ActivatedRoute)); };
    static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseSpecificAccessSuccessComponent, selectors: [["ccd-case-specific-access-success"]], decls: 23, vars: 1, consts: [[1, "govuk-width-container"], [1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-panel", "govuk-panel--confirmation"], [1, "govuk-panel__title"], [1, "govuk-panel__body"], [1, "govuk-heading-m"], [1, "govuk-body"], ["href", "work/my-work/my-access"]], template: function CaseSpecificAccessSuccessComponent_Template(rf, ctx) { if (rf & 1) {
            i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "h1", 4);
            i0.ɵɵtext(5, " Request sent");
            i0.ɵɵelement(6, "br")(7, "br");
            i0.ɵɵelementStart(8, "div", 5);
            i0.ɵɵtext(9, " Case reference:");
            i0.ɵɵelement(10, "br");
            i0.ɵɵtext(11);
            i0.ɵɵelementEnd()()();
            i0.ɵɵelementStart(12, "h2", 6);
            i0.ɵɵtext(13, "What happens next");
            i0.ɵɵelementEnd();
            i0.ɵɵelementStart(14, "p", 7);
            i0.ɵɵtext(15, " Your request to access this case file has been sent. ");
            i0.ɵɵelementEnd();
            i0.ɵɵelementStart(16, "p", 7);
            i0.ɵɵtext(17, " Once your request has been authorised, you\u2019ll be able to access the case through ");
            i0.ɵɵelementStart(18, "a", 8);
            i0.ɵɵtext(19, "My access");
            i0.ɵɵelementEnd();
            i0.ɵɵtext(20, ". ");
            i0.ɵɵelementEnd();
            i0.ɵɵelementStart(21, "p", 7);
            i0.ɵɵtext(22, " Your request will be logged for auditing purposes. ");
            i0.ɵɵelementEnd()()()();
        } if (rf & 2) {
            i0.ɵɵadvance(11);
            i0.ɵɵtextInterpolate1(" ", ctx.caseId, " ");
        } }, encapsulation: 2 });
}
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseSpecificAccessSuccessComponent, [{
        type: Component,
        args: [{ selector: 'ccd-case-specific-access-success', template: "<div class=\"govuk-width-container\">\n  <div class=\"govuk-grid-row\">\n    <div class=\"govuk-grid-column-two-thirds\">\n      <div class=\"govuk-panel govuk-panel--confirmation\">\n        <h1 class=\"govuk-panel__title\">\n          Request sent<br><br>\n          <div class=\"govuk-panel__body\">\n            Case reference:<br>\n            {{caseId}}\n          </div>\n        </h1>\n      </div>\n      <h2 class=\"govuk-heading-m \">What happens next</h2>\n      <p class=\"govuk-body\">\n        Your request to access this case file has been sent.\n      </p>\n      <p class=\"govuk-body\">\n        Once your request has been authorised, you\u2019ll be able to access the case through\n        <a href=\"work/my-work/my-access\">My access</a>.\n      </p>\n      <p class=\"govuk-body\">\n        Your request will be logged for auditing purposes.\n      </p>\n    </div>\n  </div>\n</div>\n" }]
    }], () => [{ type: i1.ActivatedRoute }], null); })();
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseSpecificAccessSuccessComponent, { className: "CaseSpecificAccessSuccessComponent", filePath: "lib/shared/components/case-viewer/case-specific-access-success/case-specific-access-success.component.ts", lineNumber: 8 }); })();
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FzZS1zcGVjaWZpYy1hY2Nlc3Mtc3VjY2Vzcy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2h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